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I,SAASQ,GAAW,OAAoC,IAA7BkC,EAAgBlC,EAAgB,EAGrF,IAAI0C,EAAuB,SAASC,EAA4B5tC,GAC/D,IAKI2pC,EAAUsB,EALVd,EAAWnqC,EAAK,GAChB6tC,EAAc7tC,EAAK,GACnB8tC,EAAU9tC,EAAK,GAGIgtB,EAAI,EAC3B,GAAGmd,EAASj2B,MAAK,SAAS1P,GAAM,OAA+B,IAAxB2oC,EAAgB3oC,EAAW,IAAI,CACrE,IAAImlC,KAAYkE,EACZ1E,EAAoBl+B,EAAE4iC,EAAalE,KACrCR,EAAoBY,EAAEJ,GAAYkE,EAAYlE,IAGhD,GAAGmE,EAAS,IAAI5D,EAAS4D,EAAQ3E,EAClC,CAEA,IADGyE,GAA4BA,EAA2B5tC,GACrDgtB,EAAImd,EAASxnC,OAAQqqB,IACzBie,EAAUd,EAASnd,GAChBmc,EAAoBl+B,EAAEkiC,EAAiBlC,IAAYkC,EAAgBlC,IACrEkC,EAAgBlC,GAAS,KAE1BkC,EAAgBlC,GAAW,EAE5B,OAAO9B,EAAoBc,EAAEC,EAC9B,EAEI6D,EAAqBC,KAAK,sBAAwBA,KAAK,uBAAyB,GACpFD,EAAmB9lC,QAAQ0lC,EAAqBb,KAAK,KAAM,IAC3DiB,EAAmBlrC,KAAO8qC,EAAqBb,KAAK,KAAMiB,EAAmBlrC,KAAKiqC,KAAKiB,G,ICpFvF,IAAIE,EAAsB9E,EAAoBc,OAAE7sC,EAAW,CAAC,MAAM,WAAa,OAAO+rC,EAAoB,KAAO,IACjH8E,EAAsB9E,EAAoBc,EAAEgE,E","sources":["webpack://client/./src/components/Center.vue","webpack://client/./src/components/Center.vue?54ac","webpack://client/./src/views/404View.vue?3fb4","webpack://client/./src/views/404View.vue","webpack://client/./src/types/symbols/provideCompanyFormInfo.ts","webpack://client/./src/pinia/appStore.ts","webpack://client/./src/publicFormApi/publicFormApiAxios.ts","webpack://client/./src/publicFormApi/apiResponse.ts","webpack://client/./src/publicFormApi/calls/callGeneral.ts","webpack://client/./src/publicFormApi/calls/callCompanyForm.ts","webpack://client/./src/publicFormApi/calls/callForm.ts","webpack://client/./src/publicFormApi/calls/callPersonForm.ts","webpack://client/./src/publicFormApi/calls/callValidation.ts","webpack://client/./src/publicFormApi/calls/callCompanyUpdateForm.ts","webpack://client/./src/publicFormApi/index.ts","webpack://client/./src/i18n.ts","webpack://client/./src/helpers.ts","webpack://client/./src/components/form/FormSection.vue","webpack://client/./src/components/form/FormSection.vue?56bd","webpack://client/./src/components/ClassificationInformationsSelect.vue?344a","webpack://client/./src/components/ClassificationInformationsSelect.vue","webpack://client/./src/components/CompanyRoleField.vue?798a","webpack://client/./src/components/CompanyRoleField.vue","webpack://client/../CrmApi/TS/error-code.ts","webpack://client/./src/types/symbols/PropertyPathPrefixKey.ts","webpack://client/./src/types/symbols/ValidationErrorsKey.ts","webpack://client/./src/types/symbols/ValidationStateMapKey.ts","webpack://client/./src/types/symbols/ValidatePropsKey.ts","webpack://client/./src/composables/fields.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/entity-field-types.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/activity-states.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/classification-information-types.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/party-types.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/person-types.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/person-user-role-ids.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/activity-field-categories.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/activity-fields.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/person-field-categories.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/person-fields.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/business-idea-field-categories.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/business-idea-fields.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/company-field-categories.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/company-fields.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/language-skill-level.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/genders.ts","webpack://client/../Crm2DBContext/Crm2Context/TS/contact-data-type.ts","webpack://client/./src/types/enums/dbEnums.ts","webpack://client/./src/components/form/Field.vue?c38e","webpack://client/./src/components/form/Validation.vue?b2e6","webpack://client/./src/components/form/Validation.vue","webpack://client/./src/components/form/Field.vue?29e0","webpack://client/./src/components/form/Field.vue","webpack://client/./src/components/form/FormFields.vue?1a25","webpack://client/./src/components/form/FormFields.vue","webpack://client/./src/components/form/FormSectionHeader.vue","webpack://client/./src/components/form/FormSectionHeader.vue?30a6","webpack://client/./src/components/form/companyForm/fields/CompanyFormBasicFields.vue?1caa","webpack://client/./src/components/form/companyForm/fields/CompanyFormBasicFields.vue","webpack://client/./src/components/select.ts","webpack://client/./src/components/SelectBase.vue?d576","webpack://client/./src/components/SelectBase.vue","webpack://client/./src/components/LanguageSelect.vue?e2e4","webpack://client/./src/components/LanguageSelect.vue","webpack://client/./src/components/form/companyForm/fields/CompanyFormContactPersonFields.vue?6392","webpack://client/./src/components/form/companyForm/fields/CompanyFormContactPersonFields.vue","webpack://client/./src/components/CompanySoMesField.vue?73c0","webpack://client/./src/components/CompanySoMesField.vue","webpack://client/./src/components/CountrySelect.vue?7ae6","webpack://client/./src/components/CountrySelect.vue","webpack://client/./src/components/MunicipalitySelect.vue?ae14","webpack://client/./src/components/MunicipalitySelect.vue","webpack://client/./src/components/AddressBlock.vue?106d","webpack://client/./src/components/AddressBlock.vue","webpack://client/./src/components/form/companyForm/fields/CompanyFormContactFields.vue?2b2f","webpack://client/./src/components/form/companyForm/fields/CompanyFormContactFields.vue","webpack://client/./src/components/form/companyForm/fields/CompanyFormContactReasonFields.vue?a136","webpack://client/./src/components/form/companyForm/fields/CompanyFormContactReasonFields.vue","webpack://client/./src/components/Tol2008Item.vue?43b4","webpack://client/./src/components/Tol2008Item.vue","webpack://client/./src/components/Tol2008Select.vue?e29e","webpack://client/./src/components/Tol2008Select.vue","webpack://client/./src/components/form/companyForm/fields/CompanyFormOtherFields.vue?ba3a","webpack://client/./src/components/form/companyForm/fields/CompanyFormOtherFields.vue","webpack://client/./src/components/form/companyForm/CompanyFormFields.vue?5df5","webpack://client/./src/components/form/companyForm/CompanyFormFields.vue","webpack://client/./src/components/form/companyForm/CompanyForm.vue?0eba","webpack://client/./src/components/form/companyForm/CompanyForm.vue","webpack://client/./src/components/LanguageSelection.vue?37b0","webpack://client/./src/components/LanguageSelection.vue","webpack://client/./src/composables/logoUrl.ts","webpack://client/./src/views/CompanyFormView.vue?25bd","webpack://client/./src/views/CompanyFormView.vue","webpack://client/./src/types/symbols/providePersonFormInfo.ts","webpack://client/./src/components/LanguageSkillsField.vue?1380","webpack://client/./src/components/LanguageSkillsField.vue","webpack://client/./src/components/RadioField.vue?ef53","webpack://client/./src/components/RadioField.vue?5bef","webpack://client/./src/components/RadioField.vue","webpack://client/./src/components/form/startupperForm/fields/StartupperFormBasicFields.vue?7c62","webpack://client/./src/components/form/startupperForm/fields/StartupperFormBasicFields.vue","webpack://client/./src/components/form/startupperForm/fields/StartupperFormContactFields.vue?601c","webpack://client/./src/components/form/startupperForm/fields/StartupperFormContactFields.vue","webpack://client/./src/components/form/startupperForm/fields/StartupperFormAdditionalFields.vue?7ff3","webpack://client/./src/components/form/startupperForm/fields/StartupperFormAdditionalFields.vue","webpack://client/./src/components/Tol2008PickerList.vue?1d64","webpack://client/./src/components/Tol2008PickerList.vue","webpack://client/./src/components/Tol2008Picker.vue?df4c","webpack://client/./src/components/Tol2008Picker.vue","webpack://client/./src/components/form/startupperForm/fields/StartupperFormBusinessIdeaBasicFields.vue?449d","webpack://client/./src/components/form/startupperForm/fields/StartupperFormBusinessIdeaBasicFields.vue","webpack://client/./src/components/form/startupperForm/fields/StartupperFormBusinessIdeaBackgroundFields.vue?6c64","webpack://client/./src/components/form/startupperForm/fields/StartupperFormBusinessIdeaBackgroundFields.vue","webpack://client/./src/types/symbols/provideBusinessIdeaFieldCategoriesInfo.ts","webpack://client/./src/components/form/startupperForm/StartupperFormFields.vue?3b7c","webpack://client/./src/components/form/startupperForm/StartupperFormFields.vue","webpack://client/./src/components/form/startupperForm/StartupperForm.vue?64a7","webpack://client/./src/components/form/startupperForm/StartupperForm.vue","webpack://client/./src/views/StartupperFormView.vue?1d0b","webpack://client/./src/views/StartupperFormView.vue","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormBasicFields.vue?4cf4","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormBasicFields.vue","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormContactFields.vue?3666","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormContactFields.vue","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormIntegrationFields.vue?3c1e","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormIntegrationFields.vue","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormFamilyFields.vue?a0b2","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormFamilyFields.vue","webpack://client/./src/components/OccupationalCompetenceSelect.vue?db47","webpack://client/./src/components/OccupationalCompetenceSelect.vue","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormSkillsFields.vue?8670","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormSkillsFields.vue","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormWorkFields.vue?9875","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormWorkFields.vue","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormEducationFields.vue?3268","webpack://client/./src/components/form/immigrantForm/fields/ImmigrantFormEducationFields.vue","webpack://client/./src/components/form/immigrantForm/ImmigrantFormFields.vue?c378","webpack://client/./src/components/form/immigrantForm/ImmigrantFormFields.vue","webpack://client/./src/components/form/immigrantForm/ImmigrantForm.vue?5896","webpack://client/./src/components/form/immigrantForm/ImmigrantForm.vue","webpack://client/./src/views/ImmigrantFormView.vue?4a39","webpack://client/./src/views/ImmigrantFormView.vue","webpack://client/./src/components/form/ThankYou.vue","webpack://client/./src/components/form/ThankYou.vue?f8fd","webpack://client/./src/views/ThankYouView.vue?ec87","webpack://client/./src/views/ThankYouView.vue","webpack://client/./src/components/form/SaveFailed.vue","webpack://client/./src/components/form/SaveFailed.vue?42ef","webpack://client/./src/views/SaveFailedView.vue?87e5","webpack://client/./src/views/SaveFailedView.vue","webpack://client/./src/components/ClassificationInformationsSelect2.vue?d920","webpack://client/./src/components/ClassificationInformationsSelect2.vue","webpack://client/./src/components/form/companyUpdateForm/fields/CompanyUpdateFormBasicFields.vue?ad26","webpack://client/./src/components/form/companyUpdateForm/fields/CompanyUpdateFormBasicFields.vue","webpack://client/./src/components/PersonContactDataEditor.vue?67e4","webpack://client/./src/components/PersonContactDataEditor.vue","webpack://client/./src/components/form/companyUpdateForm/fields/CompanyUpdateFormPersonsFields.vue?3662","webpack://client/./src/components/form/companyUpdateForm/fields/CompanyUpdateFormPersonsFields.vue","webpack://client/./src/components/form/companyUpdateForm/fields/CompanyUpdateFormContactFields.vue?fb71","webpack://client/./src/components/form/companyUpdateForm/fields/CompanyUpdateFormContactFields.vue","webpack://client/./src/components/form/companyUpdateForm/fields/CompanyUpdateFormOtherFields.vue?5c95","webpack://client/./src/components/form/companyUpdateForm/fields/CompanyUpdateFormOtherFields.vue","webpack://client/./src/components/form/companyUpdateForm/CompanyUpdateFormFields.vue?f364","webpack://client/./src/components/form/companyUpdateForm/CompanyUpdateFormFields.vue","webpack://client/./src/components/form/companyUpdateForm/CompanyUpdateForm.vue?1846","webpack://client/./src/components/form/companyUpdateForm/CompanyUpdateForm.vue","webpack://client/./src/views/CompanyUpdateFormView.vue?3817","webpack://client/./src/views/CompanyUpdateFormView.vue","webpack://client/./src/components/form/jobSeekerForm/fields/JobSeekerFormBasicFields.vue?755d","webpack://client/./src/components/form/jobSeekerForm/fields/JobSeekerFormBasicFields.vue","webpack://client/./src/components/form/jobSeekerForm/fields/JobSeekerFormContactFields.vue?eb16","webpack://client/./src/components/form/jobSeekerForm/fields/JobSeekerFormContactFields.vue","webpack://client/./src/components/form/jobSeekerForm/fields/JobSeekerFormSkillsFields.vue?484a","webpack://client/./src/components/form/jobSeekerForm/fields/JobSeekerFormSkillsFields.vue","webpack://client/./src/components/form/jobSeekerForm/fields/JobSeekerFormWorkFields.vue?57dc","webpack://client/./src/components/form/jobSeekerForm/fields/JobSeekerFormWorkFields.vue","webpack://client/./src/components/form/jobSeekerForm/fields/JobSeekerFormEducationFields.vue?e084","webpack://client/./src/components/form/jobSeekerForm/fields/JobSeekerFormEducationFields.vue","webpack://client/./src/components/form/jobSeekerForm/JobSeekerFormFields.vue?aea7","webpack://client/./src/components/form/jobSeekerForm/JobSeekerFormFields.vue","webpack://client/./src/components/form/jobSeekerForm/JobSeekerForm.vue?33f9","webpack://client/./src/components/form/jobSeekerForm/JobSeekerForm.vue","webpack://client/./src/views/JobSeekerFormView.vue?3732","webpack://client/./src/views/JobSeekerFormView.vue","webpack://client/./src/router/index.ts","webpack://client/./src/App.vue?2a5e","webpack://client/./src/App.vue","webpack://client/./src/pinia/index.ts","webpack://client/./src/main.ts","webpack://client/./src/locales/ lazy ^\\.\\/.*\\.json$ chunkName: lang-[request] namespace object","webpack://client/webpack/bootstrap","webpack://client/webpack/runtime/chunk loaded","webpack://client/webpack/runtime/compat get default export","webpack://client/webpack/runtime/define property getters","webpack://client/webpack/runtime/ensure chunk","webpack://client/webpack/runtime/get javascript chunk filename","webpack://client/webpack/runtime/get mini-css chunk filename","webpack://client/webpack/runtime/global","webpack://client/webpack/runtime/hasOwnProperty shorthand","webpack://client/webpack/runtime/load script","webpack://client/webpack/runtime/make namespace object","webpack://client/webpack/runtime/node module decorator","webpack://client/webpack/runtime/publicPath","webpack://client/webpack/runtime/jsonp chunk loading","webpack://client/webpack/startup"],"sourcesContent":["\n\n\n\n\n","import { render } from \"./Center.vue?vue&type=template&id=7b90f82f&scoped=true\"\nconst script = {}\n\nimport \"./Center.vue?vue&type=style&index=0&id=7b90f82f&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7b90f82f\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"containedr\" }\nconst _hoisted_2 = { class: \"card\" }\nconst _hoisted_3 = { class: \"card-body\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"h1\", null, \"404\", -1)\n\nimport Center from \"@/components/Center.vue\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: '404View',\n setup(__props) {\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Center, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"generic.pageNotFound\")), 1)\n ])\n ])\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./404View.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./404View.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { FormDataDto } from \"@api/form-data-dto\";\nimport { CompanyFieldCategoryDto } from \"@api/company-field-category-dto\";\nimport { InjectionKey, Ref } from \"vue\";\n\nexport default Symbol(\"Company form info (PublicForm && FieldCategories)\") as InjectionKey<\n\tRef | null>\n>;\n","import { defineStore } from \"pinia\";\nimport publicFormApi from \"@/publicFormApi\";\n// import { useRouter } from \"vue-router\";\nimport router from \"@/router\";\nimport { computed, ref, watch } from \"vue\";\nimport { OrganizationInfoDto } from \"@api/organization-info-dto\";\n\nexport const useAppStore = defineStore(\"app\", () => {\n\t// state\n\tconst organizationInfo = ref(null);\n\tconst formSentSuccesfully = ref(false);\n\n\t// getters\n\tconst organizationIdentifierFromRoute = computed(() => {\n\t\t// const router = useRouter();\n\t\tif (!router) {\n\t\t\treturn \"\";\n\t\t}\n\n\t\tconst route = router.currentRoute.value;\n\t\tif (!route) {\n\t\t\treturn \"\";\n\t\t}\n\n\t\tconst orgParam = route.params.org;\n\t\tif (Array.isArray(orgParam)) {\n\t\t\treturn orgParam[0];\n\t\t} else if (orgParam) {\n\t\t\treturn orgParam;\n\t\t} else {\n\t\t\treturn null;\n\t\t}\n\t});\n\n\t// Watch for changes in the organization identifier\n\twatch(organizationIdentifierFromRoute, (organization) => {\n\t\tif (organization) {\n\t\t\tgetOrganizationInfo(organization);\n\t\t}\n\t});\n\n\t// actions\n\tconst getOrganizationInfo = async (organization: string | null = null) => {\n\t\torganizationInfo.value = null;\n\n\t\tpublicFormApi.call.general.get.orgInfo(organization).then((r) => {\n\t\t\tif (r.isSuccessful && r.data) {\n\t\t\t\torganizationInfo.value = r.data;\n\t\t\t} else {\n\t\t\t\tconsole.error(\"Failed to get organization info\", r.error);\n\t\t\t}\n\t\t});\n\t};\n\n\treturn {\n\t\t// state\n\t\torganizationInfo,\n\t\tformSentSuccesfully,\n\n\t\t// getters\n\t\torganizationIdentifierFromRoute,\n\n\t\t// actions\n\t\tgetOrganizationInfo,\n\t};\n});\n","import axios from \"axios\";\nimport { parseISO } from \"date-fns\";\nimport { useRoute } from \"vue-router\";\nimport { useAppStore } from \"@/pinia/appStore\";\n\nconst publicFormAxios = axios.create({\n\tbaseURL: process.env[\"VUE_APP_PUBLICFORMAPI\"],\n\twithCredentials: false,\n});\n\nconst isoDateFormat = /^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d*)?(?:[-+]\\d{2}:?\\d{2}|Z)?$/;\n\nfunction isIsoDateString(value: string): boolean {\n\treturn (value && typeof value === \"string\" && isoDateFormat.test(value)) || false;\n}\n\nexport function handleDates(body: { [key: string]: unknown }) {\n\tif (body === null || body === undefined || typeof body !== \"object\") return body;\n\n\tfor (const key of Object.keys(body)) {\n\t\tconst value = body[key];\n\t\tif (isIsoDateString(value as string)) body[key] = parseISO(value as string);\n\t\telse if (typeof value === \"object\") handleDates(value as { [key: string]: unknown });\n\t}\n}\n\npublicFormAxios.interceptors.response.use((resp) => {\n\thandleDates(resp.data);\n\treturn resp;\n});\n\npublicFormAxios.interceptors.request.use((config) => {\n\tconst appStore = useAppStore();\n\n\tconst organization = appStore.organizationIdentifierFromRoute;\n\tif (organization) {\n\t\tconfig.headers.organization = organization;\n\t}\n\n\treturn config;\n});\n\nexport default publicFormAxios;\n","import ResponseError from \"@/types/interfaces/ResponseError\";\nimport type { AxiosError, AxiosRequestConfig } from \"axios\";\nimport publicFormApiAxios from \"./publicFormApiAxios\";\n/**\n * ApiResponse object. Contains either the data or error object.\n * Check the `isOk` & `isHardFailure` to check if response is an error.\n * `isHardFailure` means that server returned 500 (server error).\n * In that case, the error object will be null.\n */\nexport class ApiResponse {\n\t/**\n\t * Contains Response Data, if there are no errors\n\t */\n\treadonly data: T | null;\n\t/**\n\t * True, if there is any kind of failure.\n\t */\n\treadonly isFailure: boolean;\n\t/**\n\t * True, if the server crashed (500 internal server error).\n\t */\n\treadonly isHardFailure: boolean;\n\t/**\n\t * Array of errors\n\t */\n\treadonly errors: ResponseError[] | null;\n\n\t/**\n\t * Gets the first error of errors array.\n\t */\n\tget error() {\n\t\tif (this.errors) {\n\t\t\treturn this.errors[0];\n\t\t}\n\t\treturn null;\n\t}\n\n\t/**\n\t * Same as isFailure but reversed.\n\t */\n\tget isSuccessful() {\n\t\treturn !this.isFailure;\n\t}\n\n\t/**\n\t * Returns true if `isFailure` is true and `isHardFailure` is false.\n\t */\n\tget isHandledFailure() {\n\t\treturn this.isFailure && !this.isHardFailure;\n\t}\n\n\tconstructor(\n\t\tdata: T | null,\n\t\tisFailure: boolean,\n\t\tisHardFailure: boolean,\n\t\terrors: ResponseError[] | null\n\t) {\n\t\tthis.data = data;\n\t\tthis.isFailure = isFailure;\n\t\tthis.isHardFailure = isHardFailure;\n\t\tthis.errors = errors;\n\t}\n}\n\n/**\n * Class that generates ApiResponse objects.\n */\nexport default class ApiRespGen {\n\t/**\n\t * Request was succesful\n\t * @param data - The data object that server is returning\n\t */\n\tsuccess(data: T): ApiResponse {\n\t\treturn new ApiResponse(data, false, false, null);\n\t}\n\n\t/**\n\t * Request wasn't successful, server returned an handled error.\n\t * @param error - ResponseError object. API should return this on 4XX responses.\n\t */\n\tfailure(errors: ResponseError[]): ApiResponse {\n\t\treturn new ApiResponse(null, true, false, errors);\n\t}\n\n\t/**\n\t * Hard fail, usually meaning server returns 500\n\t */\n\tfailureHard(): ApiResponse {\n\t\treturn new ApiResponse(null, true, true, null);\n\t}\n\n\t/**\n\t * Automatically handles the error object from try-catch\n\t * @param ex - Error object, possibly AxiosError\n\t */\n\tautoDetectFailure(ex: any): ApiResponse {\n\t\tif (ex.response && ex.response.status) {\n\t\t\tconst axiosErr = ex as AxiosError;\n\n\t\t\tconst responseData = axiosErr.response!.data as ResponseError;\n\t\t\tlet errArray = [] as ResponseError[];\n\t\t\tif (responseData) {\n\t\t\t\tif (\n\t\t\t\t\tArray.isArray(responseData) &&\n\t\t\t\t\tresponseData.length > 0 &&\n\t\t\t\t\tresponseData[0].codeName\n\t\t\t\t) {\n\t\t\t\t\terrArray = responseData;\n\t\t\t\t} else if (responseData.codeName) {\n\t\t\t\t\terrArray.push(responseData);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (axiosErr.response!.status < 500 && errArray.length > 0) {\n\t\t\t\treturn this.failure(errArray);\n\t\t\t}\n\t\t}\n\n\t\treturn this.failureHard();\n\t}\n}\n\nexport async function simpleCall(\n\tmethod: \"get\" | \"post\" | \"patch\" | \"delete\",\n\turl: string,\n\tconfig: AxiosRequestConfig | null = null\n) {\n\ttry {\n\t\tconst axiosConfig = config || {};\n\t\taxiosConfig.method = method;\n\n\t\tconst response = await publicFormApiAxios(url, axiosConfig);\n\t\tconst data = response.data as T;\n\t\treturn new ApiRespGen().success(data);\n\t} catch (ex: unknown) {\n\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t}\n}\n","import { OrganizationInfoDto } from \"@api/organization-info-dto\";\nimport ApiRespGen, { ApiResponse } from \"../apiResponse\";\nimport publicFormApiAxios from \"../publicFormApiAxios\";\nimport { AxiosRequestConfig } from \"axios\";\n\nconst controller = \"public/publicForm/publicForm\";\n\nexport default {\n\tgeneral: {\n\t\tget: {\n\t\t\tasync orgInfo(\n\t\t\t\torganization: string | null = null\n\t\t\t): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst config = {} as AxiosRequestConfig;\n\t\t\t\t\tif (organization) {\n\t\t\t\t\t\tconfig.headers![\"Organization\"] = organization;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Organization`, config\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync test(): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(`${controller}/`);\n\n\t\t\t\t\tconst data = response.data;\n\n\t\t\t\t\treturn new ApiRespGen().success(data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n};\n","import { AxiosRequestConfig } from \"axios\";\nimport { DraftCompanyDto } from \"@api/draft-company-dto\";\nimport { DraftCompanyFormDataDto } from \"@api/draft-company-form-data-dto\";\nimport { FormDataDto } from \"@api/form-data-dto\";\nimport { NetboxCompany } from \"@api/netbox-company\";\nimport { NetboxCompanyShort } from \"@api/netbox-company-short\";\nimport { CompanyFieldCategoryDto } from \"@api/company-field-category-dto\";\nimport ApiRespGen, { ApiResponse } from \"../apiResponse\";\nimport publicFormApiAxios from \"../publicFormApiAxios\";\nimport { SoMeDto } from \"@api/so-me-dto\";\nimport { CompanyFormDto } from \"@api/company-form-dto\";\nimport { LanguageDto } from \"@api/language-dto\";\nimport { Tol2008TreeDto } from \"@api/tol2008-tree-dto\";\nimport { CompanyRoleDto } from \"@api/company-role-dto\";\n\nconst controller = \"public/publicForm/companyForm\";\n\nexport default {\n\tcompanyForm: {\n\t\tget: {\n\t\t\tasync getFormInfo(): Promise>> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get>(\n\t\t\t\t\t\t`${controller}/`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen>().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen>().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync getDraft(): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Draft`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync fields(): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Fields`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync netboxSearchByName(search: string) {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tname: search,\n\t\t\t\t\t\t},\n\t\t\t\t\t} as AxiosRequestConfig;\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/SearchNetboxName`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync netboxSearchByBusinessId(search: string) {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tbusinessId: search,\n\t\t\t\t\t\t},\n\t\t\t\t\t} as AxiosRequestConfig;\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/SearchNetboxVat`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync somes() {\n\t\t\t\ttry {\n\t\t\t\t\tconst resp = await publicFormApiAxios.get(`${controller}/somes`);\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync matchNetboxCompanyForm(form: string) {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tform: form,\n\t\t\t\t\t\t},\n\t\t\t\t\t};\n\t\t\t\t\tconst resp = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/matchNetboxCompanyForm`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync matchNetboxLanguage(lang: string) {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tlang: lang,\n\t\t\t\t\t\t},\n\t\t\t\t\t};\n\t\t\t\t\tconst resp = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/matchNetboxLanguage`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync matchNetboxTol(code: string) {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tcode: code,\n\t\t\t\t\t\t},\n\t\t\t\t\t};\n\t\t\t\t\tconst resp = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/matchNetboxTOL`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync companyRoles() {\n\t\t\t\ttry {\n\t\t\t\t\tconst resp = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/companyRoles`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t\tpost: {\n\t\t\tasync default(formData: DraftCompanyFormDataDto): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst resp = await publicFormApiAxios.post(\n\t\t\t\t\t\t`${controller}/Draft`,\n\t\t\t\t\t\tformData\n\t\t\t\t\t);\n\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n};\n","import { LanguageDto } from \"@api/language-dto\";\nimport { MunicipalityDto } from \"@api/municipality-dto\";\nimport { PostalCodeDto } from \"@api/postal-code-dto\";\nimport { AxiosRequestConfig } from \"axios\";\nimport ApiRespGen, { ApiResponse } from \"../apiResponse\";\nimport publicFormApiAxios from \"../publicFormApiAxios\";\nimport { CountryDto } from \"@api/country-dto\";\nimport { Tol2008TreeDto } from \"@api/tol2008-tree-dto\";\nimport { OrganizationCommunicationLanguageDto } from \"@api/organization-communication-language-dto\";\n\nconst controller = \"public/publicForm/publicForm\";\n\nexport default {\n\tform: {\n\t\tget: {\n\t\t\tasync getClassificationInformationsSingleLevel(\n\t\t\t\ttable: string,\n\t\t\t\ttranslationTable: string,\n\t\t\t\ttranslationProperties: string[],\n\t\t\t\tsearch?: string\n\t\t\t) {\n\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\tparams: {\n\t\t\t\t\t\ttableName: table,\n\t\t\t\t\t\ttranslationsTableName: translationTable,\n\t\t\t\t\t\ttranslationKeys: translationProperties,\n\t\t\t\t\t\tsearch: search,\n\t\t\t\t\t},\n\t\t\t\t} as AxiosRequestConfig;\n\n\t\t\t\tconst url = `${controller}/ClassificationInformationsSingleLevel`;\n\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(url, axiosReqConfig);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: any) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync getClassificationInformationsSingleLevel2(\n\t\t\t\ttable: string,\n\t\t\t\ttranslationTable: string,\n\t\t\t\ttranslationProperties: string[],\n\t\t\t\tsearch?: string,\n\t\t\t\tincludeInactive?: boolean\n\t\t\t) {\n\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\tparams: {\n\t\t\t\t\t\ttableName: table,\n\t\t\t\t\t\ttranslationsTableName: translationTable,\n\t\t\t\t\t\ttranslationKeys: translationProperties,\n\t\t\t\t\t\tsearch: search,\n\t\t\t\t\t\tincludeInactive: includeInactive,\n\t\t\t\t\t},\n\t\t\t\t} as AxiosRequestConfig;\n\n\t\t\t\tconst url = `${controller}/ClassificationInformationsSingleLevel2`;\n\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(url, axiosReqConfig);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: any) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync languages(search?: string, page?: number): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tsearch,\n\t\t\t\t\t\t\tpage,\n\t\t\t\t\t\t},\n\t\t\t\t\t} as AxiosRequestConfig;\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Search/Languages`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync allCommunicationLanguages(role?: number) {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\trole,\n\t\t\t\t\t\t},\n\t\t\t\t\t} as AxiosRequestConfig;\n\t\t\t\t\tconst response = await publicFormApiAxios.get<\n\t\t\t\t\t\tOrganizationCommunicationLanguageDto[]\n\t\t\t\t\t>(`${controller}/AllCommunicationLanguages`, axiosReqConfig);\n\t\t\t\t\treturn new ApiRespGen().success(\n\t\t\t\t\t\tresponse.data\n\t\t\t\t\t);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(\n\t\t\t\t\t\tex\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync searchCommunicationLanguages(search: string, role?: number) {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tsearch,\n\t\t\t\t\t\t\trole,\n\t\t\t\t\t\t},\n\t\t\t\t\t} as AxiosRequestConfig;\n\t\t\t\t\tconst response = await publicFormApiAxios.get<\n\t\t\t\t\t\tOrganizationCommunicationLanguageDto[]\n\t\t\t\t\t>(`${controller}/Search/CommunicationLanguages`, axiosReqConfig);\n\t\t\t\t\treturn new ApiRespGen().success(\n\t\t\t\t\t\tresponse.data\n\t\t\t\t\t);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(\n\t\t\t\t\t\tex\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync languagesForSkills(search: string): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tsearch,\n\t\t\t\t\t\t},\n\t\t\t\t\t} as AxiosRequestConfig;\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Search/LanguagesForSkills`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync postalCodes(search: string, page?: number): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tsearch,\n\t\t\t\t\t\t\tpage,\n\t\t\t\t\t\t},\n\t\t\t\t\t} as AxiosRequestConfig;\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Search/PostalCodes`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync municipalities(\n\t\t\t\tsearch: string,\n\t\t\t\tpage?: number\n\t\t\t): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tsearch,\n\t\t\t\t\t\t\tpage,\n\t\t\t\t\t\t},\n\t\t\t\t\t} as AxiosRequestConfig;\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Search/MunicipalitiesPaginated`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync municipality(cityName: string): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tcityName,\n\t\t\t\t\t\t},\n\t\t\t\t\t} as AxiosRequestConfig;\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Search/Municipality`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync postalCode(postalcode: string): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tpostalcode,\n\t\t\t\t\t\t},\n\t\t\t\t\t} as AxiosRequestConfig;\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Search/PostalCode`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync postalCodeMunicipality(search: string): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tsearch,\n\t\t\t\t\t\t},\n\t\t\t\t\t} as AxiosRequestConfig;\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Search/PostalCodeMunicipality`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync countriesSearch(search?: string, page?: number) {\n\t\t\t\ttry {\n\t\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\tsearch,\n\t\t\t\t\t\t\tpage,\n\t\t\t\t\t\t},\n\t\t\t\t\t} as AxiosRequestConfig;\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Search/Countries`,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync country(id: number): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Search/Country/${id}`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync searchTol2008ByCode(search: string) {\n\t\t\t\ttry {\n\t\t\t\t\tconst resp = await publicFormApiAxios.get(\n\t\t\t\t\t\tcontroller + \"/tol2008ByCode/\" + search\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync searchTol2008ByName(search: string) {\n\t\t\t\ttry {\n\t\t\t\t\tconst resp = await publicFormApiAxios.get(\n\t\t\t\t\t\tcontroller + \"/tol2008ByName/\" + search\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync tol2008ByRootCode(rootCode: string) {\n\t\t\t\ttry {\n\t\t\t\t\tconst config = { params: { rootCode: rootCode } } as AxiosRequestConfig;\n\t\t\t\t\tconst resp = await publicFormApiAxios.get(\n\t\t\t\t\t\tcontroller + \"/tol2008BottomLevelByRootCode\",\n\t\t\t\t\t\tconfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync tol2008ById(id: number) {\n\t\t\t\ttry {\n\t\t\t\t\tconst url = `${controller}/tol2008`;\n\t\t\t\t\tconst config = { params: { id: id } } as AxiosRequestConfig;\n\t\t\t\t\tconst resp = await publicFormApiAxios.get(url, config);\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync tol2008TopLevel() {\n\t\t\t\ttry {\n\t\t\t\t\tconst url = `${controller}/tol2008TopLevel`;\n\t\t\t\t\tconst config = {} as AxiosRequestConfig;\n\t\t\t\t\tconst resp = await publicFormApiAxios.get(url, config);\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync tol2008ByParentId(parentId: number) {\n\t\t\t\ttry {\n\t\t\t\t\tconst url = `${controller}/tol2008ByParentId`;\n\t\t\t\t\tconst config = { params: { parentId: parentId } } as AxiosRequestConfig;\n\t\t\t\t\tconst resp = await publicFormApiAxios.get(url, config);\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n};\n","import { DraftStartupperDto } from \"@api/draft-startupper-dto\";\nimport { DraftStartupperFormDataDto } from \"@api/draft-startupper-form-data-dto\";\nimport { FormDataDto } from \"@api/form-data-dto\";\nimport ApiRespGen, { ApiResponse } from \"../apiResponse\";\nimport publicFormApiAxios from \"../publicFormApiAxios\";\nimport { PersonFieldCategoryDto } from \"@api/person-field-category-dto\";\nimport { BusinessIdeaFieldCategoryDto } from \"@api/business-idea-field-category-dto\";\nimport { DraftImmigrantFormDataDto } from \"@api/draft-immigrant-form-data-dto\";\nimport { DraftImmigrantDto } from \"@api/draft-immigrant-dto\";\nimport { DraftJobSeekerFormDataDto } from \"@api/draft-job-seeker-form-data-dto\";\nimport { DraftJobSeekerDto } from \"@api/draft-job-seeker-dto\";\n\nconst controller = \"public/publicForm/PersonForm\";\n\nexport default {\n\tpersonForm: {\n\t\tget: {\n\t\t\tasync getFormInfo(\n\t\t\t\tformName: string\n\t\t\t): Promise>> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get>(\n\t\t\t\t\t\t`${controller}/${formName}`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen>().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen>().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync getStartupperDraft(): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/StartupperDraft`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync getImmigrantDraft(): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/ImmigrantDraft`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync getJobSeekerDraft(): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/JobSeekerDraft`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync fields(formName: string): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Fields/${formName}`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync businessIdeaFields(): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/BusinessIdeaFields`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t\tpost: {\n\t\t\tasync saveStartupper(\n\t\t\t\tformData: DraftStartupperFormDataDto\n\t\t\t): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst resp = await publicFormApiAxios.post(\n\t\t\t\t\t\t`${controller}/DraftStartupper`,\n\t\t\t\t\t\tformData\n\t\t\t\t\t);\n\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync saveImmigrant(\n\t\t\t\tformData: DraftImmigrantFormDataDto\n\t\t\t): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst resp = await publicFormApiAxios.post(\n\t\t\t\t\t\t`${controller}/DraftImmigrant`,\n\t\t\t\t\t\tformData\n\t\t\t\t\t);\n\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync saveJobSeeker(\n\t\t\t\tformData: DraftJobSeekerFormDataDto\n\t\t\t): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst resp = await publicFormApiAxios.post(\n\t\t\t\t\t\t`${controller}/DraftJobSeeker`,\n\t\t\t\t\t\tformData\n\t\t\t\t\t);\n\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n};\n","import { DraftImmigrantFormDataDto } from \"@api/draft-immigrant-form-data-dto\";\nimport { DraftJobSeekerFormDataDto } from \"@api/draft-job-seeker-form-data-dto\";\nimport { AxiosRequestConfig } from \"axios\";\nimport ApiRespGen from \"../apiResponse\";\nimport publicFormApiAxios from \"../publicFormApiAxios\";\nimport { DraftStartupperFormDataDto } from \"@api/draft-startupper-form-data-dto\";\nimport { DraftCompanyFormDataDto } from \"@api/draft-company-form-data-dto\";\nimport { CompanyUpdateFormDataDto } from \"@api/company-update-form-data-dto\";\n\nconst baseUrl = \"public/publicForm/publicFormValidation\";\n\nexport default {\n\tvalidation: {\n\t\tpost: {\n\t\t\tasync validateImmigrantProperties(\n\t\t\t\tdraftImmigrantForm: DraftImmigrantFormDataDto | null,\n\t\t\t\tpropertyPaths: string[]\n\t\t\t) {\n\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\tparams: {\n\t\t\t\t\t\tpropertyPaths: propertyPaths,\n\t\t\t\t\t},\n\t\t\t\t} as AxiosRequestConfig;\n\n\t\t\t\ttype returnType = null;\n\t\t\t\tconst url = `${baseUrl}/ImmigrantProperties`;\n\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.post(\n\t\t\t\t\t\turl,\n\t\t\t\t\t\tdraftImmigrantForm,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: any) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync validateJobSeekerProperties(\n\t\t\t\tdraftJobSeekerForm: DraftJobSeekerFormDataDto | null,\n\t\t\t\tpropertyPaths: string[]\n\t\t\t) {\n\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\tparams: {\n\t\t\t\t\t\tpropertyPaths: propertyPaths,\n\t\t\t\t\t},\n\t\t\t\t} as AxiosRequestConfig;\n\n\t\t\t\ttype returnType = null;\n\t\t\t\tconst url = `${baseUrl}/JobSeekerProperties`;\n\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.post(\n\t\t\t\t\t\turl,\n\t\t\t\t\t\tdraftJobSeekerForm,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: any) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync validateStartupperProperties(\n\t\t\t\tdraftStartupperForm: DraftStartupperFormDataDto | null,\n\t\t\t\tpropertyPaths: string[]\n\t\t\t) {\n\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\tparams: {\n\t\t\t\t\t\tpropertyPaths: propertyPaths,\n\t\t\t\t\t},\n\t\t\t\t} as AxiosRequestConfig;\n\n\t\t\t\ttype returnType = null;\n\t\t\t\tconst url = `${baseUrl}/StartupperProperties`;\n\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.post(\n\t\t\t\t\t\turl,\n\t\t\t\t\t\tdraftStartupperForm,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: any) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync validateCompanyProperties(\n\t\t\t\tdraftCompanyForm: DraftCompanyFormDataDto | null,\n\t\t\t\tpropertyPaths: string[]\n\t\t\t) {\n\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\tparams: {\n\t\t\t\t\t\tpropertyPaths: propertyPaths,\n\t\t\t\t\t},\n\t\t\t\t} as AxiosRequestConfig;\n\n\t\t\t\ttype returnType = null;\n\t\t\t\tconst url = `${baseUrl}/CompanyProperties`;\n\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.post(\n\t\t\t\t\t\turl,\n\t\t\t\t\t\tdraftCompanyForm,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: any) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync validateCompanyUpdateProperties(\n\t\t\t\tcompanyUpdateForm: CompanyUpdateFormDataDto | null,\n\t\t\t\tpropertyPaths: string[]\n\t\t\t) {\n\t\t\t\tconst axiosReqConfig = {\n\t\t\t\t\tparams: {\n\t\t\t\t\t\tpropertyPaths: propertyPaths,\n\t\t\t\t\t},\n\t\t\t\t} as AxiosRequestConfig;\n\n\t\t\t\ttype returnType = null;\n\t\t\t\tconst url = `${baseUrl}/CompanyUpdateProperties`;\n\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.post(\n\t\t\t\t\t\turl,\n\t\t\t\t\t\tcompanyUpdateForm,\n\t\t\t\t\t\taxiosReqConfig\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: any) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n};\n","import { CompanyFieldCategoryDto } from \"@api/company-field-category-dto\";\nimport { FormDataDto } from \"@api/form-data-dto\";\nimport ApiRespGen, { ApiResponse } from \"../apiResponse\";\nimport publicFormApiAxios from \"../publicFormApiAxios\";\nimport { CompanyUpdateFormDataDto } from \"@api/company-update-form-data-dto\";\nimport { CompanyDto } from \"@api/company-dto\";\n\nconst controller = \"public/publicForm/companyUpdateForm\";\n\nexport default {\n\tcompanyUpdateForm: {\n\t\tget: {\n\t\t\tasync getFormInfo(): Promise>> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get>(\n\t\t\t\t\t\t`${controller}/`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen>().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen>().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync getCompanyData(token: string): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/${token}`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync fields(): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/Fields`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tasync orgUsingCompanyDirectory(): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = await publicFormApiAxios.get(\n\t\t\t\t\t\t`${controller}/OrgUsingCompanyDirectory`\n\t\t\t\t\t);\n\t\t\t\t\treturn new ApiRespGen().success(response.data);\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t\tpost: {\n\t\t\tasync default(formData: CompanyUpdateFormDataDto): Promise> {\n\t\t\t\ttry {\n\t\t\t\t\tconst resp = await publicFormApiAxios.post(\n\t\t\t\t\t\t`${controller}/Save`,\n\t\t\t\t\t\tformData\n\t\t\t\t\t);\n\n\t\t\t\t\treturn new ApiRespGen().success(resp.data);\n\t\t\t\t} catch (ex) {\n\t\t\t\t\treturn new ApiRespGen().autoDetectFailure(ex);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n};\n","import { AxiosInstance } from \"axios\";\nimport { App, Plugin } from \"vue\";\nimport publicFormApiAxios from \"./publicFormApiAxios\";\nimport callGeneral from \"./calls/callGeneral\";\nimport callCompanyForm from \"./calls/callCompanyForm\";\nimport callForm from \"./calls/callForm\";\nimport callPersonForm from \"./calls/callPersonForm\";\nimport callValidation from \"./calls/callValidation\";\nimport callCompanyUpdateForm from \"./calls/callCompanyUpdateForm\";\n\nclass PublicFormApi {\n\taxios: AxiosInstance;\n\n\tconstructor() {\n\t\tthis.axios = publicFormApiAxios;\n\t}\n\n\t// Only generate this object once\n\tprivate callObjects = {\n\t\t...callGeneral,\n\t\t...callCompanyForm,\n\t\t...callForm,\n\t\t...callPersonForm,\n\t\t...callValidation,\n\t\t...callCompanyUpdateForm,\n\t\t...callCompanyForm,\n\t};\n\n\tprivate functionObjects = {};\n\n\t/**\n\t * Returns the 'call' object. Usage: `call.controller.method.action()`\n\t */\n\tget call() {\n\t\treturn this.callObjects;\n\t}\n\n\tget functions() {\n\t\treturn this.functionObjects;\n\t}\n}\n\nexport const publicFormApi = new PublicFormApi();\n\nexport const apiVuePlugin = {\n\tinstall(app: App) {\n\t\tapp.config.globalProperties.$apiBaseUrl = publicFormApiAxios.defaults.baseURL || \"\";\n\t\tapp.config.globalProperties.$api = publicFormApi;\n\t},\n} as Plugin;\n\ndeclare module \"@vue/runtime-core\" {\n\t//Bind to `this` keyword\n\tinterface ComponentCustomProperties {\n\t\t$apiBaseUrl: string;\n\t\t$api: PublicFormApi;\n\t}\n}\n\nexport default publicFormApi;\n","import { createI18n } from \"vue-i18n\";\nimport axios from \"axios\";\nimport publicFormAxios from \"./publicFormApi/publicFormApiAxios\";\nimport { config } from \"@hakosalo/hakolib\";\n\nconst loadedLanguages = [] as string[];\n\nconst i18n = createI18n({\n\tlocale: process.env.VUE_APP_I18N_LOCALE || \"fi\",\n\tfallbackLocale: process.env.VUE_APP_I18N_FALLBACK_LOCALE || \"fi\",\n\n\tmessages: {},\n});\n\nfunction setI18nLanguage(lang: \"fi\" | \"sv\" | \"en\") {\n\ti18n.global.locale = lang;\n\taxios.defaults.headers.common[\"Accept-Language\"] = lang;\n\tdocument.querySelector(\"html\")?.setAttribute(\"lang\", lang);\n\tconfig.language = lang;\n\treturn lang;\n}\n\nconst setLanguageAsync = async (code: \"fi\" | \"sv\" | \"en\") => {\n\tpublicFormAxios.defaults.headers.Language = code;\n\treturn import(/* webpackChunkName: \"lang-[request]\" */ `@/locales/${code}.json`).then(\n\t\t(messages) => {\n\t\t\ti18n.global.setLocaleMessage(code, messages.default);\n\t\t\tloadedLanguages.push(code);\n\t\t\treturn setI18nLanguage(code);\n\t\t}\n\t);\n};\n\nexport { i18n, setLanguageAsync };\n","import { computed, ref } from \"vue\";\nimport { i18n } from \"./i18n\";\nimport mobile from \"is-mobile\";\nimport { LanguageDto } from \"../../CrmApi/TS/language-dto\";\nimport { MunicipalityDto } from \"@api/municipality-dto\";\nimport { FormDataDto } from \"@api/form-data-dto\";\nimport { useAppStore } from \"./pinia/appStore\";\n\nexport interface TranslationThing {\n\tlanguageCode: string;\n\t[key: string]: string;\n}\n\nexport const getEntityTranslation = (\n\ttranslations: unknown | undefined,\n\tkey: string,\n\tlanguageCode?: string\n) => {\n\tif (typeof translations == \"undefined\") {\n\t\treturn undefined;\n\t}\n\n\tconst _translations: TranslationThing[] = translations as unknown as TranslationThing[];\n\n\tif (_translations.length <= 0) {\n\t\treturn undefined;\n\t}\n\n\tlet code = i18n.global.locale;\n\tif (languageCode) {\n\t\tcode = languageCode;\n\t}\n\n\tlet translationObj = _translations.filter((r) => r.languageCode == code).shift();\n\n\tif (!translationObj || !translationObj[key]) {\n\t\ttranslationObj = _translations.filter((r) => r.languageCode == \"fi\").shift();\n\t}\n\n\tif (translationObj && translationObj[key]) {\n\t\treturn translationObj[key];\n\t}\n\n\t// return _translations;\n\treturn \"Translation missing (\" + code + \")\";\n};\n\nexport const getLanguageTranslation = (\n\tlanguage: LanguageDto | undefined | null,\n\ttargetLanguageCode?: string\n) => {\n\tif (language == null || typeof language == \"undefined\") {\n\t\treturn undefined;\n\t}\n\n\tconst l = language;\n\tlet code = i18n.global.locale;\n\tif (targetLanguageCode) {\n\t\tcode = targetLanguageCode;\n\t}\n\n\tif (code == \"fi\") {\n\t\treturn l.finnish;\n\t} else if (code == \"sv\") {\n\t\treturn l.swedish;\n\t} else {\n\t\tif (l.english != l.native) {\n\t\t\treturn l.english + \", \" + l.native;\n\t\t} else {\n\t\t\treturn l.english;\n\t\t}\n\t}\n\n\t// switch (code) {\n\t// \tcase \"fi\":\n\t// \t\treturn language.finnish;\n\t// \tcase \"en\":\n\t// \t\treturn language.english;\n\t// \t// case \"sv\":\n\t// \t// \treturn language.swedish;\n\t// \tcase \"native\":\n\t// \t\treturn language.native;\n\t// \tdefault:\n\t// \t\treturn language.finnish;\n\t// }\n};\n\nexport const getMunicipalityTranslation = (\n\tmunicipality: MunicipalityDto | undefined | null,\n\ttargetLanguageCode?: string\n) => {\n\tif (municipality == null || typeof municipality == \"undefined\") {\n\t\treturn undefined;\n\t}\n\n\tlet code = i18n.global.locale;\n\tif (targetLanguageCode) {\n\t\tcode = targetLanguageCode;\n\t}\n\n\tswitch (code) {\n\t\tcase \"fi\":\n\t\t\treturn municipality.finnish;\n\t\tdefault:\n\t\t\tif (municipality.swedish == municipality.finnish) {\n\t\t\t\treturn municipality.swedish;\n\t\t\t} else {\n\t\t\t\treturn municipality.swedish + \" (\" + municipality.finnish + \")\";\n\t\t\t}\n\t}\n};\n\nexport const getOrganizationNameTranslation = (\n\tformData: FormDataDto | undefined | null,\n\ttargetLanguageCode?: string\n) => {\n\tlet name = \"\";\n\tif (formData?.publicForm?.translations) {\n\t\t[targetLanguageCode, i18n.global.locale].forEach((lang) => {\n\t\t\tif (!name)\n\t\t\t\tname =\n\t\t\t\t\tformData.publicForm.translations.find((x) => x.languageCode == lang)\n\t\t\t\t\t\t?.publicOrganizationName ?? \"\";\n\t\t});\n\t}\n\n\tif (!name) {\n\t\tconst org = useAppStore().organizationInfo;\n\t\tif (org) {\n\t\t\t[targetLanguageCode, i18n.global.locale, \"fi\"].forEach((lang) => {\n\t\t\t\tif (!name) name = org.translations.find((x) => x.languageCode == lang)?.name ?? \"\";\n\t\t\t});\n\t\t}\n\t}\n\n\treturn name;\n};\n\nexport const isMobile = () => {\n\tlet isDesktop = !mobile();\n\n\tif (isDesktop && window.innerWidth <= 768) {\n\t\tisDesktop = false;\n\t}\n\n\treturn !isDesktop;\n};\n\nconst isMobileRef = ref(isMobile());\n\nexport const isMobileReactive = computed(() => isMobileRef.value);\n\nwindow.addEventListener(\n\t\"resize\",\n\tfunction () {\n\t\tisMobileRef.value = isMobile();\n\t},\n\ttrue\n);\n","\n\n\n\n\n","import { render } from \"./FormSection.vue?vue&type=template&id=d802ef92\"\nconst script = {}\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, unref as _unref } from \"vue\"\n\nconst _hoisted_1 = { ref: \"showbtn\" }\nconst _hoisted_2 = { class: \"selected-items mt-2\" }\nconst _hoisted_3 = [\"onChange\"]\n\nimport { getEntityTranslation } from \"@/helpers\";\nimport { IMultiLevelSelectOption, ISelectOption } from \"@hakosalo/hakolib\";\nimport { computed, onMounted, Ref, ref } from \"vue\";\nimport publicFormApi from \"@/publicFormApi\";\nimport { ClassificationInformationSingleLevelBaseDto } from \"@api/classification-information-single-level-base-dto\";\nimport { Field } from \"@/types/interfaces/field\";\n\ntype OptionType = any & {\n\tid: number | null;\n\tparentId?: number | null;\n\tchildren?: any[];\n\tenabled: boolean;\n\ttranslations: Array<{ languageCode: string }> | null;\n};\n\ntype OptionsType = Array;\n\ninterface Props {\n\tfield?: Field;\n\tvalueSingle?: OptionType | null;\n\tvalueSingleId?: number | null;\n\tvalueMulti?: OptionType[];\n\tinfoTable: string;\n\ttranslationsTable: string;\n\ttranslationProperty: string;\n\tisInvalid?: boolean | null;\n\ttree?: boolean;\n\tajax?: boolean;\n\toptionFilter?: (option: OptionType) => boolean;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ClassificationInformationsSelect',\n props: {\n field: {},\n valueSingle: {},\n valueSingleId: {},\n valueMulti: {},\n infoTable: {},\n translationsTable: {},\n translationProperty: { default: \"name\" },\n isInvalid: { type: [Boolean, null], default: null },\n tree: { type: Boolean, default: false },\n ajax: { type: Boolean, default: false },\n optionFilter: {}\n },\n emits: [\n\t\"update:valueSingle\",\n\t\"update:valueSingleId\",\n\t\"update:valueMulti\",\n\t\"blur\",\n],\n setup(__props: any, { emit: __emit }) {\n\nconst emit = __emit;\n\n// type OptionType = T & {\n// \tid: number | null;\n// \tparentId?: number | null;\n// \tchildren?: T[];\n// \tenabled: boolean;\n// \ttranslations: Array<{ languageCode: string }> | null;\n// };\nconst props = __props;\n\n// I dont know why this is needed\nconst cField = computed(() => {\n\treturn props.field;\n});\n\nconst options = ref([]) as Ref;\n\nconst cValueSingle = computed({\n\tget() {\n\t\treturn props.valueSingle as OptionType;\n\t},\n\tset(newVal: OptionType) {\n\t\temit(\"update:valueSingleId\", newVal?.id || null);\n\t\temit(\"update:valueSingle\", newVal);\n\t},\n});\n\nconst cValueMulti = computed({\n\tget() {\n\t\treturn props.valueMulti as OptionType[];\n\t},\n\tset(newVal: OptionType[]) {\n\t\temit(\"update:valueMulti\", newVal);\n\t},\n});\n\n// internal use only\n// const _cAllValues = computed(\n// \t() => [...(cValueMulti.value || []), cValueSingle.value].filter((r) => !!r) as OptionType[]\n// );\n\n// const removeSelection = (option: ISelectOption) => {\n// \tconst index = cValueMulti.value.findIndex((o) => o.id === option.value.id);\n// \tif (index > -1) {\n// \t\tcValueMulti.value.splice(index, 1);\n// \t}\n// };\n\nconst fnValueToOption = (val: OptionType) => {\n\tif (!val) {\n\t\treturn null;\n\t}\n\treturn {\n\t\ttext: getEntityTranslation(val.translations, props.translationProperty),\n\t\tvalue: val,\n\t} as ISelectOption;\n};\n\n// const cOptions = computed(() => {\n// \tif (props.tree) {\n// \t\treturn [];\n// \t}\n// \tconst selectedVals = _cAllValues.value\n// \t\t.filter((r) => !!r)\n// \t\t.map((o: OptionType) => fnValueToOption(o)) as ISelectOption[];\n\n// \tconst opts = options.value\n// \t\t.filter((r) => !!r)\n// \t\t.map((o: OptionType) => fnValueToOption(o)) as ISelectOption[];\n\n// \tconst combinedOptions = [...selectedVals, ...opts];\n\n// \treturn uniqBy(combinedOptions, (r) => r.value.id);\n// });\n\nconst mapToMultiLevelSelectOption = (options: OptionType[]) => {\n\treturn options.map((item) => {\n\t\tconst option = {\n\t\t\tkey: item.id,\n\t\t\tobj: item,\n\t\t\tvalue: item.id,\n\t\t\ttext: getEntityTranslation(item.translations, props.translationProperty),\n\t\t\tdisabled: false,\n\t\t\tchildren: [] as IMultiLevelSelectOption[],\n\t\t} as IMultiLevelSelectOption;\n\n\t\tif (Array.isArray(item.children) && item.children.length > 0) {\n\t\t\toption.children = mapToMultiLevelSelectOption(item.children as OptionType[]);\n\t\t}\n\t\treturn option;\n\t});\n};\n\nconst cSelectedItems = computed({\n\tget() {\n\t\treturn cValueMulti.value.map((item) => {\n\t\t\treturn {\n\t\t\t\tkey: item.id,\n\t\t\t\tobj: item,\n\t\t\t\tvalue: item.id,\n\t\t\t\ttext: getEntityTranslation(item.translations, props.translationProperty),\n\t\t\t\tdisabled: false,\n\t\t\t\tchildren: [] as IMultiLevelSelectOption[],\n\t\t\t} as IMultiLevelSelectOption;\n\t\t});\n\t},\n\tset(val: IMultiLevelSelectOption[]) {\n\t\temit(\n\t\t\t\"update:valueMulti\",\n\t\t\tval.map((x) => x.obj)\n\t\t);\n\t},\n});\n\nconst showTreeWindow = ref(false);\n\nconst removeTreeSelection = (option: IMultiLevelSelectOption) => {\n\tcValueMulti.value = cValueMulti.value.filter((o) => o.id !== option.obj.id);\n};\n\nconst cTreeOptions = computed(() => {\n\tif (!props.tree) {\n\t\treturn [];\n\t}\n\treturn mapToMultiLevelSelectOption(options.value);\n});\n\n// const selectedMultiValueAsOptions = computed(() => {\n// \tif (!props.valueMulti) {\n// \t\treturn [];\n// \t}\n// \treturn props.valueMulti\n// \t\t.map((o: OptionType) => fnValueToOption(o))\n// \t\t.filter((r) => !!r) as ISelectOption[];\n// });\n\nconst getOptions = (search?: string) => {\n\tpublicFormApi.call.form.get\n\t\t.getClassificationInformationsSingleLevel(\n\t\t\tprops.infoTable,\n\t\t\tprops.translationsTable,\n\t\t\t[props.translationProperty],\n\t\t\tsearch\n\t\t)\n\t\t.then((res) => {\n\t\t\tif (res.data) {\n\t\t\t\toptions.value = res.data as unknown as OptionsType;\n\t\t\t\tif (props.optionFilter) {\n\t\t\t\t\toptions.value = options.value.filter(props.optionFilter);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n};\n\nconst loadOptions = async (search?: string, page?: number) => {\n\tconst data =\n\t\tawait publicFormApi.call.form.get.getClassificationInformationsSingleLevel(\n\t\t\tprops.infoTable,\n\t\t\tprops.translationsTable,\n\t\t\t[props.translationProperty],\n\t\t\tsearch\n\t\t);\n\tif (data && data.data) {\n\t\treturn data.data as unknown as OptionsType[];\n\t}\n\n\treturn [] as OptionsType[];\n};\n\nonMounted(() => {\n\tif (!props.ajax) {\n\t\tgetOptions();\n\t}\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoSingleSelect2 = _resolveComponent(\"HakoSingleSelect2\")!\n const _component_HakoMultiselect2 = _resolveComponent(\"HakoMultiselect2\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n const _component_HakoMultiLevelSelect = _resolveComponent(\"HakoMultiLevelSelect\")!\n const _component_HakoWindow = _resolveComponent(\"HakoWindow\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (cValueSingle.value !== undefined)\n ? (_openBlock(), _createBlock(_component_HakoSingleSelect2, {\n key: 0,\n modelValue: cValueSingle.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((cValueSingle).value = $event)),\n useAjax: _ctx.ajax,\n onBlur: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('blur'))),\n isInvalid: _ctx.isInvalid,\n optionGenerator: fnValueToOption,\n optionComparer: (r) => r.id,\n optionLoader: loadOptions,\n useWindowMenu: \"\"\n }, null, 8, [\"modelValue\", \"useAjax\", \"isInvalid\", \"optionComparer\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.tree)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n (cValueMulti.value !== undefined)\n ? (_openBlock(), _createBlock(_component_HakoMultiselect2, {\n key: 0,\n modelValue: cValueMulti.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((cValueMulti).value = $event)),\n useAjax: _ctx.ajax,\n onBlur: _cache[3] || (_cache[3] = ($event: any) => (_ctx.$emit('blur'))),\n isInvalid: _ctx.isInvalid,\n optionGenerator: fnValueToOption,\n optionComparer: (r) => r.id,\n optionLoader: loadOptions,\n useWindowMenu: \"\"\n }, null, 8, [\"modelValue\", \"useAjax\", \"isInvalid\", \"optionComparer\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 2 }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_HakoButton, {\n onClick: _cache[4] || (_cache[4] = ($event: any) => (showTreeWindow.value = true))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.changeSelections\")), 1)\n ]),\n _: 1\n })\n ], 512),\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(cSelectedItems.value, (item) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: item.value\n }, [\n _createElementVNode(\"input\", {\n type: \"checkbox\",\n checked: \"\",\n onChange: ($event: any) => (removeTreeSelection(item))\n }, null, 40, _hoisted_3),\n _createTextVNode(\" \" + _toDisplayString(item.text), 1)\n ]))\n }), 128))\n ]),\n _createVNode(_component_HakoWindow, {\n modelValue: showTreeWindow.value,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((showTreeWindow).value = $event)),\n title: (cField.value && _unref(getEntityTranslation)(cField.value.translations, 'name')) || '',\n \"position-under-element\": (_ctx.$refs.showbtn as HTMLElement),\n size: \"m\",\n style: {\"z-index\":\"9999\"}\n }, {\n default: _withCtx(() => [\n (cValueMulti.value !== undefined && _ctx.tree && showTreeWindow.value)\n ? (_openBlock(), _createBlock(_component_HakoMultiLevelSelect, {\n key: 0,\n title: (cField.value && _unref(getEntityTranslation)(cField.value.translations, 'name')) || '',\n items: cTreeOptions.value,\n modelValue: cSelectedItems.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((cSelectedItems).value = $event)),\n onSave: _cache[6] || (_cache[6] = ($event: any) => (showTreeWindow.value = false)),\n onCancel: _cache[7] || (_cache[7] = ($event: any) => (showTreeWindow.value = false))\n }, null, 8, [\"title\", \"items\", \"modelValue\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"title\", \"position-under-element\"])\n ], 64))\n ]))\n}\n}\n\n})","import script from \"./ClassificationInformationsSelect.vue?vue&type=script&setup=true&lang=ts&generic=T%20extends%20ClassificationInformationSingleLevelBaseDto\"\nexport * from \"./ClassificationInformationsSelect.vue?vue&type=script&setup=true&lang=ts&generic=T%20extends%20ClassificationInformationSingleLevelBaseDto\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nimport { computed, PropType, ref, watch } from \"vue\";\nimport { getEntityTranslation } from \"@/helpers\";\nimport _ from \"lodash\";\nimport { CompanyRoleDto } from \"@api/company-role-dto\";\nimport publicFormApi from \"@/publicFormApi\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyRoleField',\n props: {\n\tmodelValue: {\n\t\ttype: Array as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\", \"blur\"],\n setup(__props, { emit: __emit }) {\n\nconst props = __props;\nconst emit = __emit;\n\nconst companyRoles = ref([] as CompanyRoleDto[]);\nconst selectedCompanyRoleIds = ref([] as number[]);\nif (props.modelValue) {\n\tselectedCompanyRoleIds.value = props.modelValue.map((r) => r.id!);\n}\n\nconst getCompanyRoles = async () => {\n\tconst resp = await publicFormApi.call.companyForm.get.companyRoles();\n\tif (resp.isSuccessful && resp.data) {\n\t\tcompanyRoles.value = _.cloneDeep(resp.data);\n\t}\n};\ngetCompanyRoles();\nwatch(\n\tselectedCompanyRoleIds,\n\t(newVal) => {\n\t\tif (!Array.isArray(newVal)) return;\n\t\tcModelValue.value = companyRoles.value.filter((r) => newVal.includes(r.id!));\n\t},\n\t{ deep: true }\n);\n\nconst cModelValue = computed({\n\tget() {\n\t\treturn props.modelValue as CompanyRoleDto[];\n\t},\n\tset(newVal: CompanyRoleDto[]) {\n\t\temit(\"update:modelValue\", newVal);\n\t},\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (companyRoles.value)\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(companyRoles.value, (role) => {\n return (_openBlock(), _createBlock(_component_HakoCheckbox, {\n key: role.id!,\n modelValue: selectedCompanyRoleIds.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((selectedCompanyRoleIds).value = $event)),\n value: role.id,\n inline: \"\",\n onBlur: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('blur')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(role.translations, \"name\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"value\"]))\n }), 128))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./CompanyRoleField.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyRoleField.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum ErrorCode {\n\tInvalidAuthorization = \"InvalidAuthorization\",\n\tInvalidOrganization = \"InvalidOrganization\",\n\tInvalidRequest = \"InvalidRequest\",\n\tUnauthorized = \"Unauthorized\",\n\tMissingAppSettingConfig = \"MissingAppSettingConfig\",\n\tFieldIsRequired = \"FieldIsRequired\",\n\tActivityDoneCantBeFuture = \"ActivityDoneCantBeFuture\",\n\tImageManipulationFailed = \"ImageManipulationFailed\",\n\tNotFound = \"NotFound\",\n\tPersonCreateFailed = \"PersonCreateFailed\",\n\tValidationError = \"ValidationError\",\n\tArrayIsEmpty = \"ArrayIsEmpty\",\n\tListBuildFailed = \"ListBuildFailed\",\n\tListColumnDoesNotHaveFilterOptions = \"ListColumnDoesNotHaveFilterOptions\",\n\tListInvalidStringId = \"ListInvalidStringId\",\n\tListLoadDeserializationFailed = \"ListLoadDeserializationFailed\",\n\tCompanyIdMissing = \"CompanyIdMissing\",\n\tCompanyPersonSaveFailed = \"CompanyPersonSaveFailed\",\n\tAttachmentTooLarge = \"AttachmentTooLarge\",\n\tAttachmentInvalidType = \"AttachmentInvalidType\",\n\tAttachmentNotFound = \"AttachmentNotFound\",\n\tPasswordIncorrect = \"PasswordIncorrect\",\n\tPasswordCantBeSame = \"PasswordCantBeSame\",\n\tPasswordsMustMatch = \"PasswordsMustMatch\",\n\tUsernameExists = \"UsernameExists\",\n\tUserEmailExists = \"UserEmailExists\",\n\tEmailMissing = \"EmailMissing\",\n\tSurveyHasAnswers = \"SurveyHasAnswers\",\n\tSurveyNoAutoDeliveries = \"SurveyNoAutoDeliveries\",\n\tSurveyAutoDeliveryError = \"SurveyAutoDeliveryError\",\n\tInvalidTwoFACode = \"InvalidTwoFACode\",\n\tPersonHasActivities = \"PersonHasActivities\",\n\tPersonDeleteFailed = \"PersonDeleteFailed\",\n\tInvalidPassword = \"InvalidPassword\",\n\tNoRecipientsOnDelivery = \"NoRecipientsOnDelivery\",\n\tVentureDateMissing = \"VentureDateMissing\",\n\tEntityHasActivities = \"EntityHasActivities\",\n\tEntityHasServiceRequests = \"EntityHasServiceRequests\",\n\tEntityHasBusinessIdeas = \"EntityHasBusinessIdeas\",\n\tEntityHasDocuments = \"EntityHasDocuments\",\n\tEntityNotFound = \"EntityNotFound\",\n\tCompanyHasPersonnel = \"CompanyHasPersonnel\",\n\tApplicationFormMustHaveStatuses = \"ApplicationFormMustHaveStatuses\",\n\tFieldMustHavePage = \"FieldMustHavePage\",\n\tApplicationHasAnswers = \"ApplicationHasAnswers\",\n\tEmailInvalidDkim = \"EmailInvalidDkim\",\n\tEmailInvalidSpf = \"EmailInvalidSpf\",\n\tEmailIntegrationMailboxNotFound = \"EmailIntegrationMailboxNotFound\",\n\tForbidden = \"Forbidden\",\n\tLastStartupperForBusinessIdea = \"LastStartupperForBusinessIdea\",\n\tDuplicate = \"Duplicate\",\n\tEmailSendFailure = \"EmailSendFailure\",\n\tEmploymentAreaAccessDenied = \"EmploymentAreaAccessDenied\",\n\tRequiresSuper = \"RequiresSuper\",\n\tEmploymentAreaInvalidUsers = \"EmploymentAreaInvalidUsers\",\n\tEmploymentAreaNotFound = \"EmploymentAreaNotFound\",\n\tRequiresAdmin = \"RequiresAdmin\",\n\tInvalidUser = \"InvalidUser\",\n\tEmploymentAreaOrganizationNotDeletable = \"EmploymentAreaOrganizationNotDeletable\",\n\tNoMunicipalitiesSelected = \"NoMunicipalitiesSelected\",\n\tActivityLockedByOther = \"ActivityLockedByOther\",\n}\n","import { ComputedRef, InjectionKey } from \"vue\";\n\nexport default Symbol() as InjectionKey | null>;\n","import { ValidationFailureDto } from \"@api/validation-failure-dto\";\nimport { InjectionKey, Ref } from \"vue\";\n\nexport default Symbol(\"General validation failure provide key\") as InjectionKey<\n\tRef\n>;\n","import { ValidationStateMap } from \"./../interfaces/field/index\";\nimport { InjectionKey, Ref } from \"vue\";\n\nexport default Symbol() as InjectionKey>;\n","import { InjectionKey } from \"vue\";\n\nexport default Symbol() as InjectionKey<(props: string[]) => void | null>;\n","// Copied from CRM2 Client at 13.12.2023\nimport { ApiResponse } from \"../publicFormApi/apiResponse\";\nimport PropertyPathPrefixKey from \"@/types/symbols/PropertyPathPrefixKey\";\nimport ValidationErrorsKey from \"@/types/symbols/ValidationErrorsKey\";\nimport ValidationStateMapKey from \"@/types/symbols/ValidationStateMapKey\";\nimport { flatten, keyBy, keys, uniq, uniqBy } from \"lodash\";\nimport {\n\tcomputed,\n\tComputedRef,\n\tinject,\n\tnextTick,\n\tprovide,\n\tref,\n\tRef,\n\twatch,\n\tWritableComputedRef,\n} from \"vue\";\nimport { FieldCategory, ValidationStateMap } from \"./../types/interfaces/field/index\";\nimport ValidatePropsKey from \"@/types/symbols/ValidatePropsKey\";\nimport { ValidationFailureDto } from \"@api/validation-failure-dto\";\nimport { ErrorCode } from \"../../../CrmApi/TS/error-code\"; // Didn't work with @api for some reason...\n\nexport const useFields = (options: {\n\tcategory?: string;\n\tfieldCatsComputed: ComputedRef;\n\twhiteListComputed?: ComputedRef;\n}) => {\n\tconst fieldCategories = options.fieldCatsComputed;\n\n\tconst fieldCategoriesFiltered = computed(() => {\n\t\tif (\n\t\t\toptions.whiteListComputed &&\n\t\t\toptions.whiteListComputed.value &&\n\t\t\toptions.whiteListComputed.value.length > 0\n\t\t) {\n\t\t\tconst cats = fieldCategories.value\n\t\t\t\t.filter((r) => (options.category && r.id == options.category) || !options.category)\n\t\t\t\t.map((c) => {\n\t\t\t\t\tconst cat = { ...c };\n\t\t\t\t\tcat.fields = cat.fields.filter((f) =>\n\t\t\t\t\t\toptions.whiteListComputed?.value.includes(f.id)\n\t\t\t\t\t);\n\t\t\t\t\treturn cat;\n\t\t\t\t});\n\n\t\t\treturn cats;\n\t\t}\n\n\t\treturn fieldCategories.value.filter(\n\t\t\t(r) => (options.category && r.id == options.category) || !options.category\n\t\t);\n\t});\n\n\tconst fieldCategoriesMap = computed(() => {\n\t\treturn keyBy(fieldCategoriesFiltered.value, (r) => r.id) as unknown as FieldCategoryMapType;\n\t});\n\n\tconst fieldsFlat = computed(() => {\n\t\treturn flatten(fieldCategoriesFiltered.value.map((r) => r.fields));\n\t});\n\n\treturn {\n\t\tfieldCategoriesMap,\n\t\tfieldCategoriesFiltered,\n\t\tfieldsFlat,\n\t};\n};\n\nexport const useValidationErrors = (propertyNames: string[], matchCustomStateValue?: string) => {\n\tconst allValidationErrors = inject(ValidationErrorsKey, null);\n\tconst propertyPathPrefixKey = inject(PropertyPathPrefixKey, null);\n\n\treturn {\n\t\tvalidationErrors: computed(() => {\n\t\t\tconst scopedErrors =\n\t\t\t\tallValidationErrors?.value.filter((r) => {\n\t\t\t\t\tif (r.customState !== null && matchCustomStateValue !== r.customState) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\tconst prefix = propertyPathPrefixKey?.value || \"\";\n\t\t\t\t\tconst prefixedPropertyNames = propertyNames.map((r) => {\n\t\t\t\t\t\tconst searchPath = prefix + r;\n\t\t\t\t\t\treturn searchPath;\n\t\t\t\t\t});\n\t\t\t\t\treturn prefixedPropertyNames.includes(r.propertyName);\n\t\t\t\t}) || [];\n\n\t\t\t//return scopedErrors;\n\t\t\treturn uniqBy(scopedErrors, (r) => r.propertyName);\n\t\t}),\n\t};\n};\n\nexport const useValidation = () => {\n\tconst validationErrors = ref([]);\n\tprovide(ValidationErrorsKey, validationErrors);\n\n\twatch(validationErrors, () => {\n\t\tvalidationErrors.value.forEach((e) => {\n\t\t\tvalidationStateMap.value[e.propertyName] = false;\n\t\t});\n\t});\n\n\tconst validationStateMap = ref<{ [key: string]: boolean | null }>({});\n\tprovide(ValidationStateMapKey, validationStateMap);\n\n\tconst handleResponseValidation = async (\n\t\tresp: ApiResponse,\n\t\tcallbacks?: {\n\t\t\tsuccess?: () => void;\n\t\t\tvalidationError?: () => void;\n\t\t\totherError?: () => void;\n\t\t\tunhandled?: () => void;\n\t\t}\n\t) => {\n\t\tconst validationStateKeys = keys(validationStateMap.value);\n\t\tvalidationStateKeys.forEach((k) => {\n\t\t\tvalidationStateMap.value[k] = true;\n\t\t});\n\n\t\tif (resp.isSuccessful) {\n\t\t\tvalidationErrors.value = [];\n\t\t\tif (callbacks?.success) {\n\t\t\t\tcallbacks.success();\n\t\t\t}\n\t\t\treturn true;\n\t\t} else {\n\t\t\tif (resp.error?.codeName == ErrorCode.ValidationError) {\n\t\t\t\tconst errors = resp.error.data as ValidationFailureDto[];\n\n\t\t\t\tconst errorProps = uniq(errors.map((r) => r.propertyName));\n\n\t\t\t\tconst previousErrorProps = validationStateKeys.filter((k) => !errorProps.includes(k));\n\t\t\t\tpreviousErrorProps.forEach((p) => (validationStateMap.value[p] = true));\n\n\t\t\t\tvalidationErrors.value = errors;\n\n\t\t\t\tif (callbacks?.validationError) {\n\t\t\t\t\tcallbacks.validationError();\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t} else {\n\t\t\t\tif (callbacks?.otherError) {\n\t\t\t\t\tcallbacks.otherError();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn undefined;\n\t};\n\n\treturn {\n\t\tvalidationErrors,\n\t\tvalidationStateMap,\n\t\thandleResponseValidation,\n\t};\n};\n\nexport const useLiveValidation = (\n\tapiCall: (data: T, propertyNames: string[]) => Promise>,\n\tdata: WritableComputedRef | ComputedRef | Ref,\n\tvalidationErrors: Ref,\n\tvalidationStateMap: Ref\n) => {\n\tconst validateProps = (propertyNames: string[]) => {\n\t\tif (!validationStateMap) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!validationErrors) {\n\t\t\treturn;\n\t\t}\n\n\t\tapiCall(data.value, propertyNames).then((r) => {\n\t\t\tvalidationErrors.value = validationErrors.value.filter(\n\t\t\t\t(r) => !propertyNames.includes(r.propertyName)\n\t\t\t);\n\t\t\tif (r.isSuccessful) {\n\t\t\t\tpropertyNames.forEach((p) => {\n\t\t\t\t\tvalidationStateMap.value[p] = true;\n\t\t\t\t\tvalidationErrors.value = validationErrors.value.filter(\n\t\t\t\t\t\t(r) => !propertyNames.includes(r.propertyName)\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tif (r.error?.codeName == ErrorCode.ValidationError) {\n\t\t\t\t\tconst errors = r.error.data as ValidationFailureDto[];\n\n\t\t\t\t\tvalidationErrors.value = uniqBy([...validationErrors.value, ...errors], (r) =>\n\t\t\t\t\t\tJSON.stringify(r)\n\t\t\t\t\t);\n\n\t\t\t\t\tconst invalidPaths = errors.map((r) => r.propertyName);\n\n\t\t\t\t\tconst validPaths = propertyNames.filter((r) => !invalidPaths.includes(r));\n\n\t\t\t\t\tinvalidPaths.forEach((r) => (validationStateMap.value[r] = false));\n\t\t\t\t\tvalidPaths.forEach((r) => (validationStateMap.value[r] = true));\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t};\n\n\tprovide(ValidatePropsKey, validateProps);\n\n\treturn {\n\t\tvalidateProps,\n\t};\n};\n\nexport const useValidateProps = () => {\n\tconst validateProps = inject(ValidatePropsKey, () => {\n\t\tconsole.info(\"ValidateProps function not provided\");\n\t});\n\treturn validateProps;\n};\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum EntityFieldTypes {\n\tText = \"Text\",\n\tTextArea = \"TextArea\",\n\tNumber = \"Number\",\n\tRadio = \"Radio\",\n\tRadioInline = \"RadioInline\",\n\tCheckbox = \"Checkbox\",\n\tCheckboxInline = \"CheckboxInline\",\n\tSingleSelect = \"SingleSelect\",\n\tMultiSelect = \"MultiSelect\",\n\tDatePicker = \"DatePicker\",\n\tMunicipalitySelect = \"MunicipalitySelect\",\n\tPostalCodeSelect = \"PostalCodeSelect\",\n\tAddressBlock = \"AddressBlock\",\n\tClassificationInformationsMultiselect = \"ClassificationInformationsMultiselect\",\n\tClassificationInformationsTreeMultiselect = \"ClassificationInformationsTreeMultiselect\",\n\tSwitch = \"Switch\",\n\tPartyMultiselect = \"PartyMultiselect\",\n\tPersonMultiselect = \"PersonMultiselect\",\n\tPartyPersonMultiselect = \"PartyPersonMultiselect\",\n\tDateTimePicker = \"DateTimePicker\",\n\tActivityTimeField = \"ActivityTimeField\",\n\tActivityDescriptionField = \"ActivityDescriptionField\",\n\tActivityVisibilityField = \"ActivityVisibilityField\",\n\tRichText = \"RichText\",\n\tPersonTypesField = \"PersonTypesField\",\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum ActivityStates {\n\tBooked = 1,\n\tDone = 2,\n\tCanceled = 3,\n\tPlanned = 4,\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum ClassificationInformationTypes {\n\tSERVICES = 1,\n\tCOMPANY_ROLES = 2,\n\tEMPLOYMENT_STATUSES = 3,\n\tEDUCATIONAL_CLASSIFICATIONS = 4,\n\tCUSTOMERGROUPS = 5,\n\tSERVICEDIRECTORIES = 6,\n\tASSOCIATIONDIRECTORIES = 7,\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum PartyTypes {\n\tCompany = 1,\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum PersonTypes {\n\tUser = 1,\n\tCompanyPerson = 2,\n\tStartUpper = 3,\n\tJobSeeker = 4,\n\tStudent = 5,\n\tYoung = 6,\n\tImmigrant = 7,\n\tLeaderGroupPerson = 8,\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum PersonUserRoleIds {\n\tPerusrooli = 1,\n\tElinkeino = 2,\n\tAlkavatYrittajat = 3,\n\tHakemus = 4,\n\tKunta = 5,\n\tNuori = 6,\n\tOppilaitos = 7,\n\tTyollisyys = 8,\n\tKotoutuminen = -9,\n\tHanke = -10,\n\tLeaderGroup = -11,\n\tSijoittumispalvelut = -12,\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum ActivityFieldCategories {\n\tBasic = \"Basic\",\n\tAttendees = \"Attendees\",\n\tServiceAreas = \"ServiceAreas\",\n\tLeaderProcesses = \"LeaderProcesses\",\n\tOutlook = \"Outlook\",\n\tLinking = \"Linking\",\n\tDescription = \"Description\",\n\tVisibilityAndInforming = \"VisibilityAndInforming\",\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum ActivityFields {\n\tState = \"State\",\n\tSubject = \"Subject\",\n\tTime = \"Time\",\n\tLocation = \"Location\",\n\tSpecification = \"Specification\",\n\tExperts = \"Experts\",\n\tAttendees_OwnPersonnel = \"Attendees_OwnPersonnel\",\n\tAttendees_OrganizationsAndContactPersons = \"Attendees_OrganizationsAndContactPersons\",\n\tAttendees_StartUppers = \"Attendees_StartUppers\",\n\tAttendees_Immigrants = \"Attendees_Immigrants\",\n\tAttendees_JobSeekers = \"Attendees_JobSeekers\",\n\tAttendees_LeaderGroupPersons = \"Attendees_LeaderGroupPersons\",\n\tOutlook_Attendees = \"Outlook_Attendees\",\n\tOutlook_Description = \"Outlook_Description\",\n\tLinking_Services = \"Linking_Services\",\n\tLinking_Projects = \"Linking_Projects\",\n\tLinking_Ventures = \"Linking_Ventures\",\n\tLinking_StartedServiceAreas = \"Linking_StartedServiceAreas\",\n\tLinking_LeaderProcesses = \"Linking_LeaderProcesses\",\n\tInformUsers = \"InformUsers\",\n\tInformUserGroups = \"InformUserGroups\",\n\tDescription = \"Description\",\n\tLongDescription = \"LongDescription\",\n\tExpertEmailText = \"ExpertEmailText\",\n\tStartupperEmailText = \"StartupperEmailText\",\n\tVisibility = \"Visibility\",\n\tAttachments = \"Attachments\",\n\tSurveyAnswer = \"SurveyAnswer\",\n\tSurveyName = \"SurveyName\",\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum PersonFieldCategories {\n\tPerson = \"Person\",\n\tCompanyData = \"CompanyData\",\n\tCompanyPersonContactInfo = \"CompanyPersonContactInfo\",\n\tUserBasicInfo = \"UserBasicInfo\",\n\tUserAccountInfo = \"UserAccountInfo\",\n\tStartupperBasicInfo = \"StartupperBasicInfo\",\n\tStartupperContactInfo = \"StartupperContactInfo\",\n\tStartupperAdditionalInfo = \"StartupperAdditionalInfo\",\n\tImmigrantBasicInfo = \"ImmigrantBasicInfo\",\n\tImmigrantContactInfo = \"ImmigrantContactInfo\",\n\tImmigrantResidenceInfo = \"ImmigrantResidenceInfo\",\n\tImmigrantIntegrationInfo = \"ImmigrantIntegrationInfo\",\n\tImmigrantFamily = \"ImmigrantFamily\",\n\tImmigrantExperienceAndSkills = \"ImmigrantExperienceAndSkills\",\n\tImmigrantWorkExperience = \"ImmigrantWorkExperience\",\n\tImmigrantEducation = \"ImmigrantEducation\",\n\tJobSeekerBasicInfo = \"JobSeekerBasicInfo\",\n\tJobSeekerContactInfo = \"JobSeekerContactInfo\",\n\tJobSeekerUnemploymentInfo = \"JobSeekerUnemploymentInfo\",\n\tJobSeekerExperienceAndSkills = \"JobSeekerExperienceAndSkills\",\n\tJobSeekerWorkExperience = \"JobSeekerWorkExperience\",\n\tJobSeekerEducation = \"JobSeekerEducation\",\n\tJobSeekerOtherInfo = \"JobSeekerOtherInfo\",\n\tJobSeekerSkillwords = \"JobSeekerSkillwords\",\n\tLeaderBasicInfo = \"LeaderBasicInfo\",\n\tLeaderContactInfo = \"LeaderContactInfo\",\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum PersonFields {\n\tPersonFirstName = \"PersonFirstName\",\n\tPersonSecondNames = \"PersonSecondNames\",\n\tPersonLastName = \"PersonLastName\",\n\tPersonDateOfBirth = \"PersonDateOfBirth\",\n\tPersonLanguage = \"PersonLanguage\",\n\tPersonGender = \"PersonGender\",\n\tCompanyPersonFirstName = \"CompanyPersonFirstName\",\n\tCompanyPersonSecondNames = \"CompanyPersonSecondNames\",\n\tCompanyPersonLastName = \"CompanyPersonLastName\",\n\tCompanyPersonDateOfBirth = \"CompanyPersonDateOfBirth\",\n\tCompanyPersonLanguage = \"CompanyPersonLanguage\",\n\tCompanyPersonHomeMunicipality = \"CompanyPersonHomeMunicipality\",\n\tCompanyPersonGender = \"CompanyPersonGender\",\n\tCompanyPersonEmail = \"CompanyPersonEmail\",\n\tCompanyPersonPhone = \"CompanyPersonPhone\",\n\tCompanyPersonTitle = \"CompanyPersonTitle\",\n\tCompanyPersonIsElectronicCommunicationAllowed = \"CompanyPersonIsElectronicCommunicationAllowed\",\n\tCompanyPersonIsInfoUpdateRequestRecipient = \"CompanyPersonIsInfoUpdateRequestRecipient\",\n\tCompanyPersonIsActive = \"CompanyPersonIsActive\",\n\tCompanyPersonIsVisiblePublicly = \"CompanyPersonIsVisiblePublicly\",\n\tCompanyPersonAdditionalInfo = \"CompanyPersonAdditionalInfo\",\n\tCompanyPersonPostalAddress = \"CompanyPersonPostalAddress\",\n\tCompanyPersonSpecialGroup = \"CompanyPersonSpecialGroup\",\n\tStartupperCardIsActive = \"StartupperCardIsActive\",\n\tStartupperFirstName = \"StartupperFirstName\",\n\tStartupperSecondNames = \"StartupperSecondNames\",\n\tStartupperLastName = \"StartupperLastName\",\n\tStartupperDateOfBirth = \"StartupperDateOfBirth\",\n\tStartupperBirthYear = \"StartupperBirthYear\",\n\tStartupperAge = \"StartupperAge\",\n\tStartupperLanguageSkills = \"StartupperLanguageSkills\",\n\tStartupperCommunicationLanguage = \"StartupperCommunicationLanguage\",\n\tStartupperGender = \"StartupperGender\",\n\tStartupperEmail = \"StartupperEmail\",\n\tStartupperPhone = \"StartupperPhone\",\n\tStartupperTitle = \"StartupperTitle\",\n\tStartupperIsElectronicCommunicationAllowed = \"StartupperIsElectronicCommunicationAllowed\",\n\tStartupperIsContactAdmitAllowed = \"StartupperIsContactAdmitAllowed\",\n\tStartupperNationality = \"StartupperNationality\",\n\tStartupperPostalAddress = \"StartupperPostalAddress\",\n\tStartupperHomeMunicipality = \"StartupperHomeMunicipality\",\n\tStartupperAdditionalInfo = \"StartupperAdditionalInfo\",\n\tStartupperResponsibleUser = \"StartupperResponsibleUser\",\n\tStartupperCountryOfBirth = \"StartupperCountryOfBirth\",\n\tUserUsername = \"UserUsername\",\n\tUserPassword = \"UserPassword\",\n\tUserPhone = \"UserPhone\",\n\tUserEmail = \"UserEmail\",\n\tUserSecondaryEmail = \"UserSecondaryEmail\",\n\tUserIsAdmin = \"UserIsAdmin\",\n\tUserIsSuper = \"UserIsSuper\",\n\tUserRoles = \"UserRoles\",\n\tUserTitle = \"UserTitle\",\n\tUserProfilePicture = \"UserProfilePicture\",\n\tUserAddress = \"UserAddress\",\n\tUserServiceAreas = \"UserServiceAreas\",\n\tUserSystemLanguage = \"UserSystemLanguage\",\n\tUserUserGroups = \"UserUserGroups\",\n\tUserIsActive = \"UserIsActive\",\n\tUserCountry = \"UserCountry\",\n\tUserServices = \"UserServices\",\n\tImmigrantFirstName = \"ImmigrantFirstName\",\n\tImmigrantLastName = \"ImmigrantLastName\",\n\tImmigrantSecondNames = \"ImmigrantSecondNames\",\n\tImmigrantCardActive = \"ImmigrantCardActive\",\n\tImmigrantElectronicCommunicationAllowed = \"ImmigrantElectronicCommunicationAllowed\",\n\tImmigrantDateOfBirth = \"ImmigrantDateOfBirth\",\n\tImmigrantSocialNumber = \"ImmigrantSocialNumber\",\n\tImmigrantGender = \"ImmigrantGender\",\n\tImmigrantCommunicationLanguage = \"ImmigrantCommunicationLanguage\",\n\tImmigrantPrimaryLanguage = \"ImmigrantPrimaryLanguage\",\n\tImmigrantTranslatorNeed = \"ImmigrantTranslatorNeed\",\n\tImmigrantTranslatorNeedLanguages = \"ImmigrantTranslatorNeedLanguages\",\n\tImmigrantOccupation = \"ImmigrantOccupation\",\n\tImmigrantResponsibleUsers = \"ImmigrantResponsibleUsers\",\n\tImmigrantResidencePermitType = \"ImmigrantResidencePermitType\",\n\tImmigrantCitizenship = \"ImmigrantCitizenship\",\n\tImmigrantBasicInfoLanguageSkills = \"ImmigrantBasicInfoLanguageSkills\",\n\tImmigrantExtraInfo = \"ImmigrantExtraInfo\",\n\tImmigrantUMACustomerNumber = \"ImmigrantUMACustomerNumber\",\n\tImmigrantPhoneNumber = \"ImmigrantPhoneNumber\",\n\tImmigrantEmail = \"ImmigrantEmail\",\n\tImmigrantAddress = \"ImmigrantAddress\",\n\tImmigrantFirstResidenceMunicipality = \"ImmigrantFirstResidenceMunicipality\",\n\tImmigrantFirstResidenceMunicipalityRecordDate = \"ImmigrantFirstResidenceMunicipalityRecordDate\",\n\tImmigrantCurrentResidenceMunicipality = \"ImmigrantCurrentResidenceMunicipality\",\n\tImmigrantCalculatedCompensation = \"ImmigrantCalculatedCompensation\",\n\tImmigrantCalculatedCompensationEndDate = \"ImmigrantCalculatedCompensationEndDate\",\n\tImmigrantArrivalDate = \"ImmigrantArrivalDate\",\n\tImmigrantMunicipalityDecisionDate = \"ImmigrantMunicipalityDecisionDate\",\n\tImmigrantIntegrationPeriod = \"ImmigrantIntegrationPeriod\",\n\tImmigrantIntegrationPeriodStartDate = \"ImmigrantIntegrationPeriodStartDate\",\n\tImmigrantIntegrationPeriodEndDate = \"ImmigrantIntegrationPeriodEndDate\",\n\tImmigrantIntegrationPlanCanBeDone = \"ImmigrantIntegrationPlanCanBeDone\",\n\tImmigrantResidencePermits = \"ImmigrantResidencePermits\",\n\tImmigrantActiveResidencePermit = \"ImmigrantActiveResidencePermit\",\n\tImmigrantTravelDocuments = \"ImmigrantTravelDocuments\",\n\tImmigrantStatus = \"ImmigrantStatus\",\n\tImmigrantMaritalStatus = \"ImmigrantMaritalStatus\",\n\tImmigrantPartnerInfo = \"ImmigrantPartnerInfo\",\n\tImmigrantChildren = \"ImmigrantChildren\",\n\tImmigrantUnderageChildrenExtraInfo = \"ImmigrantUnderageChildrenExtraInfo\",\n\tImmigrantFamilyLeaveAndBenefitInfo = \"ImmigrantFamilyLeaveAndBenefitInfo\",\n\tImmigrantIsNecessaryToMakeFamilyIntegrationPlan = \"ImmigrantIsNecessaryToMakeFamilyIntegrationPlan\",\n\tImmigrantFamilyIntegrationPlanDetails = \"ImmigrantFamilyIntegrationPlanDetails\",\n\tImmigrantSocialNetworks = \"ImmigrantSocialNetworks\",\n\tImmigrantHobbiesOrOrganizationalActivities = \"ImmigrantHobbiesOrOrganizationalActivities\",\n\tImmigrantHasBeenGivenGuidanceForSocialOrOrganizationServices = \"ImmigrantHasBeenGivenGuidanceForSocialOrOrganizationServices\",\n\tImmigrantGuidanceGuidanceExtraInfo = \"ImmigrantGuidanceGuidanceExtraInfo\",\n\tImmigrantOfficerDescriptionOfSkills = \"ImmigrantOfficerDescriptionOfSkills\",\n\tImmigrantSearchProfessions = \"ImmigrantSearchProfessions\",\n\tImmigrantLanguageSkills = \"ImmigrantLanguageSkills\",\n\tImmigrantLanguageSkillsDescription = \"ImmigrantLanguageSkillsDescription\",\n\tImmigrantDrivingLicenseClasses = \"ImmigrantDrivingLicenseClasses\",\n\tImmigrantDrivingLicenseOccupationalCompetence = \"ImmigrantDrivingLicenseOccupationalCompetence\",\n\tImmigrantOwnsCar = \"ImmigrantOwnsCar\",\n\tImmigrantITSkills = \"ImmigrantITSkills\",\n\tImmigrantITSkillsDescription = \"ImmigrantITSkillsDescription\",\n\tImmigrantHobbies = \"ImmigrantHobbies\",\n\tImmigrantWorkExperienceYears = \"ImmigrantWorkExperienceYears\",\n\tImmigrantWorkExperienceDescription = \"ImmigrantWorkExperienceDescription\",\n\tImmigrantWorkExperiences = \"ImmigrantWorkExperiences\",\n\tImmigrantEducationAndQualificationLevels = \"ImmigrantEducationAndQualificationLevels\",\n\tImmigrantEducationDescription = \"ImmigrantEducationDescription\",\n\tImmigrantPermitAndCardTrainings = \"ImmigrantPermitAndCardTrainings\",\n\tImmigrantPermitAndCardTrainingsOccupationalCompetence = \"ImmigrantPermitAndCardTrainingsOccupationalCompetence\",\n\tImmigrantEducationInfos = \"ImmigrantEducationInfos\",\n\tJobSeekerFirstName = \"JobSeekerFirstName\",\n\tJobSeekerLastName = \"JobSeekerLastName\",\n\tJobSeekerSecondNames = \"JobSeekerSecondNames\",\n\tJobSeekerCardActive = \"JobSeekerCardActive\",\n\tJobSeekerElectronicCommunicationAllowed = \"JobSeekerElectronicCommunicationAllowed\",\n\tJobSeekerAllowInformationDisclosure = \"JobSeekerAllowInformationDisclosure\",\n\tJobSeekerDateOfBirth = \"JobSeekerDateOfBirth\",\n\tJobSeekerSocialNumber = \"JobSeekerSocialNumber\",\n\tJobSeekerGender = \"JobSeekerGender\",\n\tJobSeekerCommunicationLanguage = \"JobSeekerCommunicationLanguage\",\n\tJobSeekerTranslatorNeed = \"JobSeekerTranslatorNeed\",\n\tJobSeekerTranslatorNeedLanguages = \"JobSeekerTranslatorNeedLanguages\",\n\tJobSeekerOccupation = \"JobSeekerOccupation\",\n\tJobSeekerOccupationClassification = \"JobSeekerOccupationClassification\",\n\tJobSeekerResponsibleUsers = \"JobSeekerResponsibleUsers\",\n\tJobSeekerCitizenship = \"JobSeekerCitizenship\",\n\tJobSeekerCustomerGroups = \"JobSeekerCustomerGroups\",\n\tJobSeekerPhoneNumber = \"JobSeekerPhoneNumber\",\n\tJobSeekerEmail = \"JobSeekerEmail\",\n\tJobSeekerAddress = \"JobSeekerAddress\",\n\tJobSeekerUnemploymentBenefitType = \"JobSeekerUnemploymentBenefitType\",\n\tJobSeekerOfficerDescriptionOfSkills = \"JobSeekerOfficerDescriptionOfSkills\",\n\tJobSeekerDescriptionOfSkills = \"JobSeekerDescriptionOfSkills\",\n\tJobSeekerSearchProfessions = \"JobSeekerSearchProfessions\",\n\tJobSeekerLanguageSkills = \"JobSeekerLanguageSkills\",\n\tJobSeekerLanguageSkillsDescription = \"JobSeekerLanguageSkillsDescription\",\n\tJobSeekerDrivingLicenseClasses = \"JobSeekerDrivingLicenseClasses\",\n\tJobSeekerDrivingLicenseOccupationalCompetence = \"JobSeekerDrivingLicenseOccupationalCompetence\",\n\tJobSeekerOwnsCar = \"JobSeekerOwnsCar\",\n\tJobSeekerITSkills = \"JobSeekerITSkills\",\n\tJobSeekerITSkillsDescription = \"JobSeekerITSkillsDescription\",\n\tJobSeekerHobbies = \"JobSeekerHobbies\",\n\tJobSeekerWorkExperienceYears = \"JobSeekerWorkExperienceYears\",\n\tJobSeekerWorkExperienceDescription = \"JobSeekerWorkExperienceDescription\",\n\tJobSeekerWorkExperiences = \"JobSeekerWorkExperiences\",\n\tJobSeekerEducationAndQualificationLevels = \"JobSeekerEducationAndQualificationLevels\",\n\tJobSeekerEducationDescription = \"JobSeekerEducationDescription\",\n\tJobSeekerPermitAndCardTrainings = \"JobSeekerPermitAndCardTrainings\",\n\tJobSeekerPermitAndCardTrainingsOccupationalCompetence = \"JobSeekerPermitAndCardTrainingsOccupationalCompetence\",\n\tJobSeekerEducationInfos = \"JobSeekerEducationInfos\",\n\tJobSeekerExtraInfo = \"JobSeekerExtraInfo\",\n\tJobSeekerHealthLimitations = \"JobSeekerHealthLimitations\",\n\tJobSeekerSkillwords = \"JobSeekerSkillwords\",\n\tLeaderFirstName = \"LeaderFirstName\",\n\tLeaderSecondNames = \"LeaderSecondNames\",\n\tLeaderLastName = \"LeaderLastName\",\n\tLeaderResponsibleUsers = \"LeaderResponsibleUsers\",\n\tLeaderDateOfBirth = \"LeaderDateOfBirth\",\n\tLeaderPersonalIdentityCode = \"LeaderPersonalIdentityCode\",\n\tLeaderAge = \"LeaderAge\",\n\tLeaderGender = \"LeaderGender\",\n\tLeaderNationality = \"LeaderNationality\",\n\tLeaderHomeMunicipality = \"LeaderHomeMunicipality\",\n\tLeaderOccupation = \"LeaderOccupation\",\n\tLeaderAdditionalInfo = \"LeaderAdditionalInfo\",\n\tLeaderCardActive = \"LeaderCardActive\",\n\tLeaderElectronicCommunicationAllowed = \"LeaderElectronicCommunicationAllowed\",\n\tLeaderContactInformationSharingPermitted = \"LeaderContactInformationSharingPermitted\",\n\tLeaderPhoneNumber = \"LeaderPhoneNumber\",\n\tLeaderEmail = \"LeaderEmail\",\n\tLeaderPostalAddress = \"LeaderPostalAddress\",\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum BusinessIdeaFieldCategories {\n\tBasic = \"Basic\",\n\tStartuppers = \"Startuppers\",\n\tBackgroundInfo = \"BackgroundInfo\",\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum BusinessIdeaFields {\n\tName = \"Name\",\n\tDescription = \"Description\",\n\tFirstVisit = \"FirstVisit\",\n\tMunicipality = \"Municipality\",\n\tStartuppers = \"Startuppers\",\n\tBusinessPremiseRequirement = \"BusinessPremiseRequirement\",\n\tBusinessFieldGroup = \"BusinessFieldGroup\",\n\tBusinessField = \"BusinessField\",\n\tTol2008 = \"Tol2008\",\n\tEmploymentClassification = \"EmploymentClassification\",\n\tEmploymentDescription = \"EmploymentDescription\",\n\tWorkExperienceDescription = \"WorkExperienceDescription\",\n\tIsFullTime = \"IsFullTime\",\n\tEducationClassification = \"EducationClassification\",\n\tEducationDescription = \"EducationDescription\",\n\tSchools = \"Schools\",\n\tHeardFromUs = \"HeardFromUs\",\n\tHeardFromUsWhere = \"HeardFromUsWhere\",\n\tBusinessIdeaType = \"BusinessIdeaType\",\n\tIsContinuer = \"IsContinuer\",\n\tEmploysTotal = \"EmploysTotal\",\n\tEmploysEntrepreneurs = \"EmploysEntrepreneurs\",\n\tEmploysFullTime = \"EmploysFullTime\",\n\tEmploysPartTime = \"EmploysPartTime\",\n\tEmploysJobSearchers = \"EmploysJobSearchers\",\n\tEmploysWomen = \"EmploysWomen\",\n\tEmploysYouth = \"EmploysYouth\",\n\tCompanyName = \"CompanyName\",\n\tNetboxSearch = \"NetboxSearch\",\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum CompanyFieldCategories {\n\tParty = \"Party\",\n\tCompanyBasic = \"CompanyBasic\",\n\tCompanyContactInfo = \"CompanyContactInfo\",\n\tCompanyOtherInfo = \"CompanyOtherInfo\",\n\tDraftCompanyContactPersonInfo = \"DraftCompanyContactPersonInfo\",\n\tDraftCompanyContactReasonInfo = \"DraftCompanyContactReasonInfo\",\n\tCompanyUpdatePersonsInfo = \"CompanyUpdatePersonsInfo\",\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum CompanyFields {\n\tName = \"Name\",\n\tShortName = \"ShortName\",\n\tBusinessId = \"BusinessId\",\n\tState = \"State\",\n\tLanguage = \"Language\",\n\tRoles = \"Roles\",\n\tExpertises = \"Expertises\",\n\tCustomerGroup = \"CustomerGroup\",\n\tIsElectronicCommunicationAllowed = \"IsElectronicCommunicationAllowed\",\n\tPostalAddress = \"PostalAddress\",\n\tVisitingAddress = \"VisitingAddress\",\n\tBillingAddress = \"BillingAddress\",\n\tWebsite = \"Website\",\n\tOnlineStore = \"OnlineStore\",\n\tPhone = \"Phone\",\n\tEmail = \"Email\",\n\tSome = \"Some\",\n\tEstablishedAt = \"EstablishedAt\",\n\tTerminatedAt = \"TerminatedAt\",\n\tTerminationReason = \"TerminationReason\",\n\tHomeMunicipality = \"HomeMunicipality\",\n\tMunicipality = \"Municipality\",\n\tDistrict = \"District\",\n\tType = \"Type\",\n\tTurnoverClass = \"TurnoverClass\",\n\tStaffSizeClass = \"StaffSizeClass\",\n\tTOL2008 = \"TOL2008\",\n\tServiceDirectory = \"ServiceDirectory\",\n\tAssociationDirectory = \"AssociationDirectory\",\n\tHomeland = \"Homeland\",\n\tDescription = \"Description\",\n\tProductsAndServices = \"ProductsAndServices\",\n\tAdditionalInformation = \"AdditionalInformation\",\n\tDraftCompanyContactPersonFirstName = \"DraftCompanyContactPersonFirstName\",\n\tDraftCompanyContactPersonLastName = \"DraftCompanyContactPersonLastName\",\n\tDraftCompanyContactPersonTitle = \"DraftCompanyContactPersonTitle\",\n\tDraftCompanyContactPersonDateOfBirth = \"DraftCompanyContactPersonDateOfBirth\",\n\tDraftCompanyContactPersonPhoneNumber = \"DraftCompanyContactPersonPhoneNumber\",\n\tDraftCompanyContactPersonEmail = \"DraftCompanyContactPersonEmail\",\n\tDraftCompanyContactPersonLanguage = \"DraftCompanyContactPersonLanguage\",\n\tDraftCompanyContactReason = \"DraftCompanyContactReason\",\n\tCompanyUpdatePersonFirstName = \"CompanyUpdatePersonFirstName\",\n\tCompanyUpdatePersonSecondNames = \"CompanyUpdatePersonSecondNames\",\n\tCompanyUpdatePersonLastName = \"CompanyUpdatePersonLastName\",\n\tCompanyUpdatePersonTitle = \"CompanyUpdatePersonTitle\",\n\tCompanyUpdatePersonDateOfBirth = \"CompanyUpdatePersonDateOfBirth\",\n\tCompanyUpdatePersonEmails = \"CompanyUpdatePersonEmails\",\n\tCompanyUpdatePersonPhoneNumbers = \"CompanyUpdatePersonPhoneNumbers\",\n\tCompanyUpdatePersonLanguage = \"CompanyUpdatePersonLanguage\",\n\tCompanyUpdatePersonIsInfoUpdateRequestRecipient = \"CompanyUpdatePersonIsInfoUpdateRequestRecipient\",\n\tCompanyUpdatePersonIsVisiblePublicly = \"CompanyUpdatePersonIsVisiblePublicly\",\n\tCompanyUpdatePersonIsElectronicCommunicationAllowed = \"CompanyUpdatePersonIsElectronicCommunicationAllowed\",\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum LanguageSkillLevel {\n\tNative = 0,\n\tC2 = 1,\n\tC1 = 2,\n\tB2 = 3,\n\tB1 = 4,\n\tA2 = 5,\n\tA1 = 6,\n\tOther = 7,\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum Genders {\n\tMan = 0,\n\tWoman = 1,\n\tOther = 2,\n}\n","/**\n * This is a TypeGen auto-generated file.\n * Any changes made to this file can be lost when this file is regenerated.\n */\n\nexport enum ContactDataType {\n\tPhone = \"Phone\",\n\tEmail = \"Email\",\n}\n","import { EntityFieldTypes } from \"../../../../Crm2DBContext/Crm2Context/TS/entity-field-types\";\nimport { ActivityStates } from \"../../../../Crm2DBContext/Crm2Context/TS/activity-states\";\nimport { ClassificationInformationTypes } from \"../../../../Crm2DBContext/Crm2Context/TS/classification-information-types\";\nimport { PartyTypes } from \"../../../../Crm2DBContext/Crm2Context/TS/party-types\";\nimport { PersonTypes } from \"../../../../Crm2DBContext/Crm2Context/TS/person-types\";\nimport { PersonUserRoleIds as PersonUserRoles } from \"../../../../Crm2DBContext/Crm2Context/TS/person-user-role-ids\";\nimport { ActivityFieldCategories } from \"../../../../Crm2DBContext/Crm2Context/TS/activity-field-categories\";\nimport { ActivityFields } from \"../../../../Crm2DBContext/Crm2Context/TS/activity-fields\";\nimport { PersonFieldCategories } from \"../../../../Crm2DBContext/Crm2Context/TS/person-field-categories\";\nimport { PersonFields } from \"../../../../Crm2DBContext/Crm2Context/TS/person-fields\";\nimport { BusinessIdeaFieldCategories } from \"../../../../Crm2DBContext/Crm2Context/TS/business-idea-field-categories\";\nimport { BusinessIdeaFields } from \"../../../../Crm2DBContext/Crm2Context/TS/business-idea-fields\";\nimport { CompanyFieldCategories } from \"../../../../Crm2DBContext/Crm2Context/TS/company-field-categories\";\nimport { CompanyFields } from \"../../../../Crm2DBContext/Crm2Context/TS/company-fields\";\nimport { LanguageSkillLevel } from \"../../../../Crm2DBContext/Crm2Context/TS/language-skill-level\";\nimport { Genders } from \"../../../../Crm2DBContext/Crm2Context/TS/genders\";\nimport { PersonUserRoleIds } from \"../../../../Crm2DBContext/Crm2Context/TS/person-user-role-ids\";\nimport { ContactDataType } from \"../../../../Crm2DBContext/Crm2Context/TS/contact-data-type\";\n\nexport const dbEnums = {\n\tEntityFieldTypes,\n\tActivityStates,\n\tClassificationInformationTypes,\n\tPartyTypes,\n\tPersonTypes,\n\tPersonUserRoles,\n\tActivityFieldCategories,\n\tActivityFields,\n\tPersonFieldCategories,\n\tPersonFields,\n\tCompanyFieldCategories,\n\tCompanyFields,\n\tBusinessIdeaFieldCategories,\n\tBusinessIdeaFields,\n\tLanguageSkillLevel,\n\tGenders,\n\tPersonUserRoleIds,\n\tContactDataType,\n};\n\nexport type CompanyFieldCategoriesENUM = CompanyFieldCategories;\nexport type ActivityFieldCategoriesENUM = ActivityFieldCategories;\nexport type ActivityFieldsENUM = ActivityFields;\nexport type PersonFieldCategoriesENUM = PersonFieldCategories;\nexport type BusinessIdeaFieldCategoriesENUM = BusinessIdeaFieldCategories;\nexport type ClassificationInformationTypesENUM = ClassificationInformationTypes;\n","import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, Fragment as _Fragment, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { key: 1 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Validation = _resolveComponent(\"Validation\")!\n const _component_LabelControl = _resolveComponent(\"LabelControl\")!\n\n return (!_ctx.noLabel)\n ? (_openBlock(), _createBlock(_component_LabelControl, {\n key: 0,\n for: _ctx.cUniqueId,\n \"col-size\": 2,\n block: _ctx.cBlock,\n required: \n\t\t\t_ctx.required ||\n\t\t\t(_ctx.field &&\n\t\t\t\t(_ctx.isUpdateForm ? _ctx.field.isRequiredOnCompanyUpdateForm : _ctx.field.isRequiredOnPublicForm)) ||\n\t\t\tfalse\n\t\t,\n alignContent: _ctx.alignContent\n }, {\n label: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"label\"),\n (!_ctx.$slots.label)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(_toDisplayString(_ctx.fieldLabel) + \" \", 1),\n (_ctx.isUpdateForm && _ctx.orgUsingPublicDirectory)\n ? (_openBlock(), _createElementBlock(\"i\", {\n key: 0,\n class: \"show-public-icon\",\n style: _normalizeStyle(\n\t\t\t\t\t\t_ctx.field?.isDisplayedInPublicDirectory\n\t\t\t\t\t\t\t? 'background-color: #32b769'\n\t\t\t\t\t\t\t: 'background-color: gray'\n\t\t\t\t\t)\n }, null, 4))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n _createVNode(_component_Validation, {\n fieldName: _ctx.fieldLabel || 'missing label',\n propertyPaths: _ctx.cPropertyPaths,\n matchCustomStateValue: _ctx.matchCustomStateValue\n }, {\n default: _withCtx(({ isInvalid, propertyPaths }) => [\n (_openBlock(), _createElementBlock(\"div\", {\n key: _ctx.router.currentRoute.value.fullPath\n }, [\n _renderSlot(_ctx.$slots, \"default\", {\n isInvalid: isInvalid,\n propertyPaths: propertyPaths,\n elementId: _ctx.cUniqueId,\n id: _ctx.cUniqueId,\n fieldLabel: _ctx.fieldLabel\n })\n ]))\n ]),\n _: 3\n }, 8, [\"fieldName\", \"propertyPaths\", \"matchCustomStateValue\"])\n ]),\n _: 3\n }, 8, [\"for\", \"block\", \"required\", \"alignContent\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_Validation, {\n fieldName: _ctx.fieldLabel || 'missing label',\n propertyPaths: _ctx.cPropertyPaths,\n matchCustomStateValue: _ctx.matchCustomStateValue\n }, {\n default: _withCtx(({ isInvalid, propertyPaths }) => [\n _renderSlot(_ctx.$slots, \"default\", {\n isInvalid: isInvalid,\n propertyPaths: propertyPaths,\n elementId: _ctx.cUniqueId,\n id: _ctx.cUniqueId,\n fieldLabel: _ctx.fieldLabel\n })\n ]),\n _: 3\n }, 8, [\"fieldName\", \"propertyPaths\", \"matchCustomStateValue\"])\n ]))\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"invalid-feedback\",\n style: {\"display\":\"block\"}\n}\n\nimport { useValidationErrors } from \"@/composables/fields\";\nimport PropertyPathPrefixKey from \"@/types/symbols/PropertyPathPrefixKey\";\nimport ValidationStateMapKey from \"@/types/symbols/ValidationStateMapKey\";\nimport { computed, inject, PropType } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Validation',\n props: {\n\tpropertyPaths: {\n\t\ttype: Array as PropType,\n\t\trequired: true,\n\t},\n\tmatchCustomStateValue: {\n\t\ttype: String,\n\t\trequired: false,\n\t},\n\tfieldName: {\n\t\ttype: String,\n\t\trequired: true,\n\t},\n},\n setup(__props) {\n\nconst props = __props;\n\nconst myValidationErrors = useValidationErrors(\n\tprops.propertyPaths,\n\tprops.matchCustomStateValue\n).validationErrors;\n\nconst propertyPathPrefixKey = inject(PropertyPathPrefixKey, null);\nconst validationStateMap = inject(ValidationStateMapKey, null);\n\nconst prefixedPropertyPaths = computed(() => {\n\tconst prefix = propertyPathPrefixKey?.value || \"\";\n\t//const prefix = \"\";\n\n\treturn props.propertyPaths.map((r) => {\n\t\tconst searchPath = prefix + r;\n\t\treturn searchPath;\n\t});\n});\n\nconst myValidationErrorsRenamed = computed(() => {\n\tif (!myValidationErrors) {\n\t\treturn [];\n\t}\n\treturn myValidationErrors.value\n\t\t.filter((r) => prefixedPropertyPaths.value.includes(r.propertyName))\n\t\t.map((r) => {\n\t\t\tconst lastPart = r.propertyName.split(\".\").pop();\n\t\t\tconst msg = r.errorMessage.replace('\"' + lastPart + '\"', `\"${props.fieldName}\"`);\n\n\t\t\treturn {\n\t\t\t\t...r,\n\t\t\t\terrorMessage: msg,\n\t\t\t};\n\t\t});\n});\n\nconst isInvalid = computed(() => {\n\tif (validationStateMap) {\n\t\tif (prefixedPropertyPaths.value.every((p) => validationStateMap.value[p] === true)) {\n\t\t\treturn false;\n\t\t} else if (prefixedPropertyPaths.value.some((p) => validationStateMap.value[p] === false)) {\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tif (myValidationErrors.value.length > 0) {\n\t\treturn true;\n\t}\n\n\treturn null;\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _renderSlot(_ctx.$slots, \"default\", {\n isInvalid: isInvalid.value,\n propertyPaths: prefixedPropertyPaths.value\n }),\n (_unref(myValidationErrors) && _unref(myValidationErrors).length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(myValidationErrorsRenamed.value, (err) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: err.errorMessage\n }, _toDisplayString(err.errorMessage), 1))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./Validation.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Validation.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\nimport { getEntityTranslation, isMobileReactive } from \"@/helpers\";\nimport { Field } from \"@/types/interfaces/field/index\";\nimport { LabelControl } from \"@hakosalo/hakolib\";\nimport { defineComponent, PropType, computed, inject } from \"vue\";\nimport Validation from \"./Validation.vue\";\nimport { v4 } from \"uuid\";\nimport { useRoute, useRouter } from \"vue-router\";\n\nexport default defineComponent({\n\tprops: {\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t},\n\t\tnoLabel: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\tfield: {\n\t\t\ttype: Object as PropType,\n\t\t\trequired: false,\n\t\t},\n\t\tid: {\n\t\t\ttype: String,\n\t\t},\n\t\tblock: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: undefined,\n\t\t},\n\t\trequired: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: false,\n\t\t},\n\t\tpropertyPaths: {\n\t\t\ttype: Array as PropType,\n\t\t\tdefault: () => [],\n\t\t},\n\t\tpropertyPath: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t},\n\t\tmatchCustomStateValue: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t},\n\t\tinfoidentifier: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t},\n\t\talignContent: {\n\t\t\ttype: Boolean,\n\t\t},\n\t\tlabelAdditionalInfoText: {\n\t\t\ttype: String,\n\t\t\trequired: false,\n\t\t},\n\t\tisUpdateForm: {\n\t\t\ttype: Boolean,\n\t\t\trequired: false,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\tsetup(props) {\n\t\tconst cUniqueId = computed(() => {\n\t\t\treturn `${props.id || props.field?.id || \"noFieldId\"}_${v4()}`;\n\t\t});\n\n\t\tconst cPropertyPaths = computed(() => {\n\t\t\tlet paths = [...props.propertyPaths];\n\n\t\t\tif (props.propertyPath) {\n\t\t\t\tpaths = [...paths, props.propertyPath];\n\t\t\t}\n\n\t\t\treturn paths;\n\t\t});\n\n\t\tconst fieldLabel = computed(() => {\n\t\t\tconst label =\n\t\t\t\tprops.label ||\n\t\t\t\t(props.field && getEntityTranslation(props.field.translations, \"name\")) ||\n\t\t\t\tundefined;\n\t\t\treturn label;\n\t\t});\n\n\t\tconst cBlock = computed(() => {\n\t\t\tif (props.block !== undefined) return props.block;\n\n\t\t\treturn true;\n\n\t\t\t// return isMobileReactive.value;\n\t\t});\n\n\t\tconst router = useRouter();\n\n\t\tconst orgUsingPublicDirectory = inject(\"orgUsingPublicDirectory\", false);\n\n\t\treturn { cPropertyPaths, fieldLabel, cUniqueId, cBlock, router, orgUsingPublicDirectory };\n\t},\n\tcomponents: { LabelControl, Validation },\n});\n","import { render } from \"./Field.vue?vue&type=template&id=1c0c8e0c&ts=true\"\nimport script from \"./Field.vue?vue&type=script&lang=ts\"\nexport * from \"./Field.vue?vue&type=script&lang=ts\"\n\nimport \"./Field.vue?vue&type=style&index=0&id=1c0c8e0c&lang=scss\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { Field } from \"@/types/interfaces/field\";\nimport { PropType } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FormFields',\n props: {\n\tfields: {\n\t\ttype: Array as PropType,\n\t\trequired: true,\n\t},\n},\n setup(__props) {\n\n\n\n/* const validationErrors = inject(ValidationErrorsKey);\n\nconst getFieldValidationErrors = (field: Field) => {\n\treturn validationErrors?.value.filter((r) => r.propertyName == field.id) || [];\n}; */\n\nconst isFieldInvalid = (field: Field) => {\n\t// console.log(\"field :>> \", field);\n\t/* let state: null | true | false = null;\n\tif (getFieldValidationErrors(field).length > 0) {\n\t\tstate = true;\n\t}\n\treturn state; */\n\treturn false;\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _renderSlot(_ctx.$slots, \"before\"),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.fields, (field) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _renderSlot(_ctx.$slots, field.id + '_before', {\n field: field,\n isInvalid: isFieldInvalid(field)\n }),\n _renderSlot(_ctx.$slots, field.id, {\n field: field,\n isInvalid: isFieldInvalid(field)\n }),\n _renderSlot(_ctx.$slots, field.id + '_after', {\n field: field,\n isInvalid: isFieldInvalid(field)\n })\n ], 64))\n }), 256)),\n _renderSlot(_ctx.$slots, \"after\")\n ], 64))\n}\n}\n\n})","import script from \"./FormFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FormFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./FormSectionHeader.vue?vue&type=template&id=0f3bdc1c&scoped=true\"\nconst script = {}\n\nimport \"./FormSectionHeader.vue?vue&type=style&index=0&id=0f3bdc1c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0f3bdc1c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport CompanyRoleField from \"@/components/CompanyRoleField.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftCompanyDto } from \"@api/draft-company-dto\";\nimport { PropType, computed } from \"vue\";\nimport { CompanyFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport { isMobileReactive } from \"@/helpers\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyFormBasicFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst fields = dbEnums.CompanyFields;\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst getValidityClasses = (isInvalid: boolean) => {\n\tif (isInvalid) return \"is-invalid\";\n\telse return \"is-valid\";\n};\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"companyForm.sectionBasic.header\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.CompanyBasic)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.CompanyBasic.fields\n }, {\n [_unref(fields).Name]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.name\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.name) = $event)),\n id: elementId,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ShortName]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.shortName\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.shortName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.shortName) = $event)),\n id: elementId,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).BusinessId]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.businessId\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.businessId,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.businessId) = $event)),\n id: elementId,\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Roles]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.companyRoles\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass(getValidityClasses(isInvalid))\n }, [\n _createVNode(CompanyRoleField, {\n modelValue: formDataComputed.value.companyRoles,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.companyRoles) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ], 2)\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Type]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.companyFormId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.companyForm,\n \"onUpdate:valueSingle\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.companyForm) = $event)),\n valueSingleId: formDataComputed.value.companyFormId,\n \"onUpdate:valueSingleId\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.companyFormId) = $event)),\n infoTable: \"CompanyForms\",\n translationsTable: \"CompanyFormTranslations\",\n translationProperty: \"name\",\n ajax: false,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./CompanyFormBasicFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyFormBasicFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { ISelectOption } from \"@hakosalo/hakolib\";\nimport { Ref, computed, onMounted, ref } from \"vue\";\nimport { ApiResponse } from \"../publicFormApi/apiResponse\";\n\nexport const useSelectField = (\n\tsingle: Ref,\n\tmulti: Ref,\n\tajax: Ref,\n\tupdateSingle: (value: T | null | undefined) => void,\n\tupdateSingleId: (value: T | null | undefined) => void,\n\tupdateMulti: (value: T[] | null | undefined) => void,\n\tapiGetter: (search?: string, page?: number) => Promise>,\n\toptionGenerator: (entity: T) => ISelectOption,\n\toptionIdentifier: (entity: T) => string | number | null | undefined,\n\toptionsFilter: (entity: T) => boolean = () => true\n) => {\n\tconst cValueSingle = computed({\n\t\tget: () => single.value,\n\t\tset: (value) => {\n\t\t\tupdateSingle(value);\n\t\t\tupdateSingleId(value);\n\t\t},\n\t});\n\n\tconst cValueMulti = computed({\n\t\tget: () => multi.value || [],\n\t\tset: (value) => updateMulti(value),\n\t});\n\n\tconst nonAjaxOptions = ref(undefined) as Ref;\n\n\tconst optionsGetter = async (search?: string, page?: number) => {\n\t\tif ((search !== undefined && ajax.value) || !ajax.value) {\n\t\t\tconst r = await apiGetter(search, page);\n\t\t\tif (r.isSuccessful && r.data) {\n\t\t\t\treturn r.data as T[];\n\t\t\t}\n\t\t}\n\t\treturn [] as T[];\n\t};\n\n\tonMounted(() => {\n\t\tif (multi.value === null) {\n\t\t\tcValueMulti.value = [];\n\t\t}\n\n\t\tif (ajax.value == false) {\n\t\t\toptionsGetter().then((r) => (nonAjaxOptions.value = r));\n\t\t} else {\n\t\t\tnonAjaxOptions.value = undefined;\n\t\t}\n\t});\n\n\treturn {\n\t\tcValueSingle,\n\t\tcValueMulti,\n\t\toptionGenerator,\n\t\toptionIdentifier,\n\t\toptionsGetter,\n\t\tnonAjaxOptions,\n\t};\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, resolveComponent as _resolveComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { key: 1 }\n\nimport { computed, PropType } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SelectBase',\n props: {\n\tvalueSingle: {\n\t\ttype: [Object, null] as PropType,\n\t},\n\tvalueMulti: {\n\t\ttype: [Array, null] as PropType,\n\t},\n\tajax: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t},\n\t/* options: {\n\t\ttype: Array as PropType,\n\t\trequired: true,\n\t}, */\n\t/* selectedOptions: {\n\t\ttype: Array as PropType,\n\t\trequired: true,\n\t}, */\n\t/* objectKeyProp: {\n\t\ttype: String,\n\t\trequired: true,\n\t}, */\n\tavatar: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t},\n\n\tisInvalid: {\n\t\ttype: Boolean,\n\t\tdefault: undefined,\n\t},\n\n\tid: {\n\t\ttype: String,\n\t},\n\n\toptionGenerator: {\n\t\ttype: Function as PropType<(option: any) => any>,\n\t\trequired: true,\n\t},\n\toptionComparer: {\n\t\ttype: Function as PropType<(a: any) => any>,\n\t\trequired: true,\n\t},\n\toptionLoader: {\n\t\ttype: Function as PropType<(search?: string, page?: number) => Promise> | undefined,\n\t\trequired: false,\n\t},\n\toptions: {\n\t\ttype: Array as PropType,\n\t},\n\tplaceholder: {\n\t\ttype: String,\n\t},\n},\n emits: [\"update:valueSingle\", \"update:valueMulti\", \"search\", \"remove\", \"blur\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst cValueSingle = computed({\n\tget: () => props.valueSingle,\n\tset: (value) => emit(\"update:valueSingle\", value),\n});\n\nconst cValueMulti = computed({\n\tget: () => props.valueMulti || [],\n\tset: (value) => emit(\"update:valueMulti\", value),\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoSingleSelect2 = _resolveComponent(\"HakoSingleSelect2\")!\n const _component_HakoMultiselect2 = _resolveComponent(\"HakoMultiselect2\")!\n\n return (__props.valueSingle !== undefined)\n ? (_openBlock(), _createBlock(_component_HakoSingleSelect2, {\n key: 0,\n modelValue: cValueSingle.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((cValueSingle).value = $event)),\n useAvatar: __props.avatar,\n useAjax: __props.ajax,\n onBlur: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('blur'))),\n isInvalid: __props.isInvalid,\n id: __props.id,\n optionGenerator: __props.optionGenerator,\n optionComparer: __props.optionComparer,\n optionLoader: __props.optionLoader,\n options: __props.options,\n useWindowMenu: \"\",\n placeholder: __props.placeholder,\n startSearchLimit: 0\n }, {\n default: _withCtx(({ openMenu }) => [\n _renderSlot(_ctx.$slots, \"default\", { openMenu: openMenu })\n ]),\n _: 3\n }, 8, [\"modelValue\", \"useAvatar\", \"useAjax\", \"isInvalid\", \"id\", \"optionGenerator\", \"optionComparer\", \"optionLoader\", \"options\", \"placeholder\"]))\n : (__props.valueMulti !== undefined)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_HakoMultiselect2, {\n modelValue: cValueMulti.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((cValueMulti).value = $event)),\n useAvatar: __props.avatar,\n useAjax: __props.ajax,\n onBlur: _cache[3] || (_cache[3] = ($event: any) => (_ctx.$emit('blur'))),\n isInvalid: __props.isInvalid,\n id: __props.id,\n optionGenerator: __props.optionGenerator,\n optionComparer: __props.optionComparer,\n optionLoader: __props.optionLoader,\n options: __props.options,\n useWindowMenu: \"\",\n placeholder: __props.placeholder,\n startSearchLimit: 0\n }, {\n default: _withCtx(({ openMenu }) => [\n _renderSlot(_ctx.$slots, \"default\", { openMenu: openMenu })\n ]),\n _: 3\n }, 8, [\"modelValue\", \"useAvatar\", \"useAjax\", \"isInvalid\", \"id\", \"optionGenerator\", \"optionComparer\", \"optionLoader\", \"options\", \"placeholder\"])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./SelectBase.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SelectBase.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot, isRef as _isRef, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { LanguageDto } from \"@api/language-dto\";\nimport { PropType, computed, toRef } from \"vue\";\nimport { useSelectField } from \"./select\";\nimport SelectBase from \"./SelectBase.vue\";\nimport publicFormApi from \"@/publicFormApi\";\nimport { ApiResponse } from \"@/publicFormApi/apiResponse\";\nimport { getLanguageTranslation } from \"@/helpers\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LanguageSelect',\n props: {\n\tvalueSingle: {\n\t\ttype: [Object, null] as PropType,\n\t},\n\tvalueSingleId: {\n\t\ttype: [Number, String, null] as PropType,\n\t},\n\tvalueMulti: {\n\t\ttype: [Array, null] as PropType,\n\t},\n\tajax: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t},\n\tisInvalid: {\n\t\ttype: Boolean,\n\t},\n\tid: {\n\t\ttype: String,\n\t},\n\tcommunicationRole: {\n\t\ttype: Number as PropType,\n\t\trequired: false,\n\t},\n\tplaceholder: {\n\t\ttype: String,\n\t},\n},\n emits: [\n\t\"update:valueSingle\",\n\t\"update:valueSingleId\",\n\t\"update:valueMulti\",\n\t\"blur\",\n],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst {\n\tcValueSingle,\n\tcValueMulti,\n\toptionGenerator,\n\toptionIdentifier,\n\toptionsGetter,\n\tnonAjaxOptions,\n} = useSelectField(\n\ttoRef(() => props.valueSingle),\n\ttoRef(() => props.valueMulti),\n\ttoRef(() => props.ajax),\n\t(val) => emit(\"update:valueSingle\", val),\n\t(val) => emit(\"update:valueSingleId\", val?.code || null),\n\t(val) => emit(\"update:valueMulti\", val),\n\t(search?: string, page?: number) => {\n\t\tif (!props.communicationRole) {\n\t\t\treturn publicFormApi.call.form.get.languages(search, page);\n\t\t}\n\n\t\tconst getCommLangs = async () => {\n\t\t\tif (props.ajax) {\n\t\t\t\tconst response = await publicFormApi.call.form.get.searchCommunicationLanguages(\n\t\t\t\t\tsearch || \"\",\n\t\t\t\t\tprops.communicationRole\n\t\t\t\t);\n\n\t\t\t\tif (response.isSuccessful && response.data) {\n\t\t\t\t\treturn new ApiResponse(\n\t\t\t\t\t\tresponse.data.map((r) => r.language!) as LanguageDto[],\n\t\t\t\t\t\tfalse,\n\t\t\t\t\t\tfalse,\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn response as unknown as ApiResponse;\n\t\t\t} else {\n\t\t\t\tconst response = await publicFormApi.call.form.get.allCommunicationLanguages(\n\t\t\t\t\tprops.communicationRole\n\t\t\t\t);\n\n\t\t\t\tif (response.isSuccessful && response.data) {\n\t\t\t\t\treturn new ApiResponse(\n\t\t\t\t\t\tresponse.data.map((r) => r.language!) as LanguageDto[],\n\t\t\t\t\t\tfalse,\n\t\t\t\t\t\tfalse,\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn response as unknown as ApiResponse;\n\t\t\t}\n\t\t};\n\n\t\treturn getCommLangs();\n\t},\n\t(lang: LanguageDto) => {\n\t\treturn {\n\t\t\ttext: getLanguageTranslation(lang) ?? \"\",\n\t\t\tvalue: lang,\n\t\t};\n\t},\n\t(val) => val.code\n);\n\nconst optionsGetterIfAjax = computed(() => {\n\tif (props.ajax) {\n\t\treturn optionsGetter;\n\t}\n\treturn undefined;\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(SelectBase, {\n valueMulti: _unref(cValueMulti),\n \"onUpdate:valueMulti\": _cache[0] || (_cache[0] = ($event: any) => (_isRef(cValueMulti) ? (cValueMulti).value = $event : null)),\n valueSingle: _unref(cValueSingle),\n \"onUpdate:valueSingle\": _cache[1] || (_cache[1] = ($event: any) => (_isRef(cValueSingle) ? (cValueSingle).value = $event : null)),\n ajax: __props.ajax,\n onBlur: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('blur'))),\n id: __props.id,\n optionGenerator: _unref(optionGenerator),\n optionComparer: _unref(optionIdentifier),\n optionLoader: optionsGetterIfAjax.value,\n options: _unref(nonAjaxOptions),\n placeholder: __props.placeholder\n }, {\n default: _withCtx(({ openMenu }) => [\n _renderSlot(_ctx.$slots, \"default\", { openMenu: openMenu })\n ]),\n _: 3\n }, 8, [\"valueMulti\", \"valueSingle\", \"ajax\", \"id\", \"optionGenerator\", \"optionComparer\", \"optionLoader\", \"options\", \"placeholder\"]))\n}\n}\n\n})","import script from \"./LanguageSelect.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LanguageSelect.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport LanguageSelect from \"@/components/LanguageSelect.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftCompanyDto } from \"@api/draft-company-dto\";\nimport { PropType, computed } from \"vue\";\nimport { CompanyFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport { isMobileReactive } from \"@/helpers\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyFormContactPersonFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst fields = dbEnums.CompanyFields;\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoDatePicker = _resolveComponent(\"HakoDatePicker\")!\n const _component_HakoTeleInput = _resolveComponent(\"HakoTeleInput\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"companyForm.sectionContactPerson.header\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.DraftCompanyContactPersonInfo)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.DraftCompanyContactPersonInfo.fields\n }, {\n [_unref(fields).DraftCompanyContactPersonFirstName]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.contactPersonFirstName\"\n }, {\n default: _withCtx(({ elementId, isInvalid, propertyPaths }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.contactPersonFirstName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.contactPersonFirstName) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).DraftCompanyContactPersonLastName]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.contactPersonLastName\"\n }, {\n default: _withCtx(({ elementId, isInvalid, propertyPaths }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.contactPersonLastName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.contactPersonLastName) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).DraftCompanyContactPersonTitle]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.contactPersonTitle\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.contactPersonTitle,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.contactPersonTitle) = $event)),\n id: elementId,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).DraftCompanyContactPersonDateOfBirth]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.contactPersonDateOfBirth\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: formDataComputed.value.contactPersonDateOfBirth,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.contactPersonDateOfBirth) = $event)),\n allowEmpty: true,\n id: elementId,\n style: {\"max-width\":\"250px\"},\n placeholder: _ctx.$t('generic.datePlaceholder'),\n forceUtcMidnight: \"\"\n }, null, 8, [\"modelValue\", \"id\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).DraftCompanyContactPersonEmail]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.contactPersonEmail\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.contactPersonEmail,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.contactPersonEmail) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).DraftCompanyContactPersonPhoneNumber]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.contactPersonPhoneNumber\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTeleInput, {\n modelValue: formDataComputed.value.contactPersonPhoneNumber,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.contactPersonPhoneNumber) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).DraftCompanyContactPersonLanguage]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.contactPersonLanguageId\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(LanguageSelect, {\n valueSingle: formDataComputed.value.contactPersonLanguage,\n \"onUpdate:valueSingle\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.contactPersonLanguage) = $event)),\n valueSingleId: formDataComputed.value.contactPersonLanguageId,\n \"onUpdate:valueSingleId\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.contactPersonLanguageId) = $event)),\n communicationRole: _unref(dbEnums).PersonUserRoleIds.Elinkeino,\n id: elementId,\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"communicationRole\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./CompanyFormContactPersonFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyFormContactPersonFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, unref as _unref, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, Fragment as _Fragment, renderList as _renderList, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e829c49a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"src\"]\n\nimport { getEntityTranslation } from \"@/helpers\";\nimport { Field } from \"@/types/interfaces/field\";\nimport { SoMeDto } from \"@api/so-me-dto\";\nimport { DraftCompanySoMeDto } from \"@api/draft-company-so-me-dto\";\nimport { computed, inject, PropType, ref, watch } from \"vue\";\nimport _ from \"lodash\";\nimport publicFormApi from \"@/publicFormApi\";\nimport { CompanySoMeDto } from \"@api/company-so-me-dto\";\nimport { CompanyFieldDto } from \"@api/company-field-dto\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanySoMesField',\n props: {\n\tmodelValue: {\n\t\ttype: Array as PropType,\n\t\trequired: true,\n\t},\n\tfield: {\n\t\ttype: Object as PropType,\n\t\trequired: false,\n\t},\n\tisUpdateForm: {\n\t\ttype: Boolean as PropType,\n\t\tdefault: false,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst props = __props;\nconst emit = __emit;\n\nconst somes = ref([] as SoMeDto[]);\nconst orgUsingPublicDirectory = inject(\"orgUsingPublicDirectory\", false);\n\nconst selectedSomeIds = ref([] as number[]);\nif (props.modelValue) {\n\tselectedSomeIds.value = props.modelValue.map((r) => r.soMeId);\n}\n\nconst getSomes = async () => {\n\tconst resp = await publicFormApi.call.companyForm.get.somes();\n\tif (resp.isSuccessful && resp.data) {\n\t\tsomes.value = _.cloneDeep(resp.data);\n\t}\n};\ngetSomes();\n\nwatch(\n\tselectedSomeIds,\n\t(newVal) => {\n\t\tif (!Array.isArray(newVal)) return;\n\n\t\tnewVal.forEach((someId) => {\n\t\t\tif (cModelValue.value.findIndex((x) => x.soMeId == someId) == -1) {\n\t\t\t\tconst some: SoMeDto | undefined = somes.value.filter((r) => r.id == someId).pop();\n\t\t\t\tif (some) {\n\t\t\t\t\tlet newCompanySome;\n\t\t\t\t\tif (props.isUpdateForm) {\n\t\t\t\t\t\tnewCompanySome = {\n\t\t\t\t\t\t\tsoMe: some,\n\t\t\t\t\t\t\tsoMeId: some.id,\n\t\t\t\t\t\t\turl: \"\",\n\t\t\t\t\t\t\tcompanyId: 0,\n\t\t\t\t\t\t} as unknown as CompanySoMeDto;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnewCompanySome = {\n\t\t\t\t\t\t\tsoMe: some,\n\t\t\t\t\t\t\tsoMeId: some.id,\n\t\t\t\t\t\t\turl: \"\",\n\t\t\t\t\t\t\tdraftCompanyId: 0,\n\t\t\t\t\t\t} as unknown as DraftCompanySoMeDto;\n\t\t\t\t\t}\n\n\t\t\t\t\tcModelValue.value.push(newCompanySome);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tif (newVal.length == 0) {\n\t\t\tcModelValue.value = [] as DraftCompanySoMeDto[];\n\t\t} else {\n\t\t\tcModelValue.value = cModelValue.value.filter((x) => newVal.includes(x.soMeId));\n\t\t}\n\t},\n\t{ deep: true }\n);\n\nconst cModelValue = computed({\n\tget() {\n\t\tif (props.isUpdateForm) return props.modelValue as CompanySoMeDto[];\n\t\telse return props.modelValue as DraftCompanySoMeDto[];\n\t},\n\tset(newVal: DraftCompanySoMeDto[] | CompanySoMeDto[]) {\n\t\temit(\"update:modelValue\", newVal);\n\t},\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n const _component_HakoLabelControl = _resolveComponent(\"HakoLabelControl\")!\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (somes.value)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createVNode(_component_HakoLabelControl, {\n block: true,\n \"col-size\": 2,\n required: \n\t\t\t\t\t(__props.isUpdateForm\n\t\t\t\t\t\t? (__props.field as CompanyFieldDto)?.isRequiredOnCompanyUpdateForm\n\t\t\t\t\t\t: __props.field?.isRequiredOnPublicForm) ?? false\n\t\t\t\t,\n for: \"soMeCheckboxes\"\n }, {\n label: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"label\"),\n (!_ctx.$slots.label)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(__props.field?.translations, \"name\")) + \" \", 1),\n (__props.isUpdateForm && _unref(orgUsingPublicDirectory))\n ? (_openBlock(), _createElementBlock(\"i\", {\n key: 0,\n class: \"show-public-icon\",\n style: _normalizeStyle(\n\t\t\t\t\t\t\t\t__props.field?.isDisplayedInPublicDirectory\n\t\t\t\t\t\t\t\t\t? 'background-color: #32b769'\n\t\t\t\t\t\t\t\t\t: 'background-color: gray'\n\t\t\t\t\t\t\t)\n }, null, 4))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(somes.value, (s) => {\n return (_openBlock(), _createBlock(_component_HakoCheckbox, {\n key: `somekey_${s.id}`,\n for: `someid_${s.id}`,\n id: `someid_${s.id}`,\n inline: \"\",\n value: s.id,\n modelValue: selectedSomeIds.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((selectedSomeIds).value = $event))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(s.name) + \" \", 1),\n _createElementVNode(\"img\", {\n src: s.iconUrl,\n class: \"some-icon\"\n }, null, 8, _hoisted_1)\n ]),\n _: 2\n }, 1032, [\"for\", \"id\", \"value\", \"modelValue\"]))\n }), 128))\n ]),\n _: 3\n }, 8, [\"required\"]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(props.modelValue, (x) => {\n return (_openBlock(), _createBlock(_component_HakoLabelControl, {\n key: `someurlfield_${x.someId}`,\n \"col-size\": 2,\n block: true,\n label: x.soMe.name,\n for: `someurl_${x.soMeId}`\n }, {\n default: _withCtx(() => [\n _createVNode(_component_HakoInput, {\n id: `someurl_${x.soMeId}`,\n type: \"text\",\n modelValue: x.url,\n \"onUpdate:modelValue\": ($event: any) => ((x.url) = $event),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"id\", \"modelValue\", \"onUpdate:modelValue\"])\n ]),\n _: 2\n }, 1032, [\"label\", \"for\"]))\n }), 128))\n ], 64))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./CompanySoMesField.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanySoMesField.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CompanySoMesField.vue?vue&type=style&index=0&id=e829c49a&scoped=true&lang=css\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-e829c49a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, isRef as _isRef, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { CountryDto } from \"@api/country-dto\";\nimport { PropType, toRef } from \"vue\";\nimport { useSelectField } from \"./select\";\nimport SelectBase from \"./SelectBase.vue\";\nimport publicFormApi from \"@/publicFormApi\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CountrySelect',\n props: {\n\tvalueSingle: {\n\t\ttype: [Object, null] as PropType,\n\t},\n\tvalueMulti: {\n\t\ttype: [Array, null] as PropType,\n\t},\n\tajax: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t},\n\tisInvalid: {\n\t\ttype: Boolean,\n\t},\n\tid: {\n\t\ttype: String,\n\t},\n\tlowercase: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t},\n},\n emits: [\n\t\"update:valueSingle\",\n\t\"update:valueSingleId\",\n\t\"update:valueMulti\",\n\t\"blur\",\n],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst {\n\tcValueSingle,\n\tcValueMulti,\n\toptionGenerator,\n\toptionIdentifier,\n\toptionsGetter,\n\tnonAjaxOptions,\n} = useSelectField(\n\ttoRef(() => props.valueSingle),\n\ttoRef(() => props.valueMulti),\n\ttoRef(() => props.ajax),\n\t(val) => emit(\"update:valueSingle\", val),\n\t(val) => emit(\"update:valueSingleId\", val?.id || null),\n\t(val) => emit(\"update:valueMulti\", val),\n\t(search?: string, page?: number) => publicFormApi.call.form.get.countriesSearch(search, page),\n\t(country: CountryDto) => {\n\t\tlet text = \"\";\n\t\tif (country.finName != country.engName) {\n\t\t\ttext = country.finName + \" (\" + country.engName + \")\";\n\t\t} else {\n\t\t\ttext = country.finName || \"\";\n\t\t}\n\n\t\tif (props.lowercase) {\n\t\t\ttext = text.toLowerCase();\n\t\t}\n\n\t\treturn {\n\t\t\ttext,\n\t\t\tvalue: country,\n\t\t};\n\t},\n\t(val) => val.id\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(SelectBase, {\n valueMulti: _unref(cValueMulti),\n \"onUpdate:valueMulti\": _cache[0] || (_cache[0] = ($event: any) => (_isRef(cValueMulti) ? (cValueMulti).value = $event : null)),\n valueSingle: _unref(cValueSingle),\n \"onUpdate:valueSingle\": _cache[1] || (_cache[1] = ($event: any) => (_isRef(cValueSingle) ? (cValueSingle).value = $event : null)),\n ajax: __props.ajax,\n onBlur: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('blur'))),\n id: __props.id,\n optionGenerator: _unref(optionGenerator),\n optionComparer: _unref(optionIdentifier),\n optionLoader: _unref(optionsGetter),\n options: _unref(nonAjaxOptions)\n }, null, 8, [\"valueMulti\", \"valueSingle\", \"ajax\", \"id\", \"optionGenerator\", \"optionComparer\", \"optionLoader\", \"options\"]))\n}\n}\n\n})","import script from \"./CountrySelect.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CountrySelect.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, isRef as _isRef, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { PropType, toRef } from \"vue\";\nimport { useSelectField } from \"./select\";\nimport SelectBase from \"./SelectBase.vue\";\nimport { MunicipalityDto } from \"@api/municipality-dto\";\nimport publicFormApi from \"@/publicFormApi\";\nimport { getMunicipalityTranslation } from \"@/helpers\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MunicipalitySelect',\n props: {\n\tvalueSingle: {\n\t\ttype: [Object, null] as PropType,\n\t},\n\tvalueSingleId: {\n\t\ttype: [Number, String, null] as PropType,\n\t},\n\tvalueMulti: {\n\t\ttype: [Array, null] as PropType,\n\t},\n\tajax: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t},\n\tisInvalid: {\n\t\ttype: Boolean,\n\t},\n\tid: {\n\t\ttype: String,\n\t},\n},\n emits: [\n\t\"update:valueSingle\",\n\t\"update:valueSingleId\",\n\t\"update:valueMulti\",\n\t\"blur\",\n],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst {\n\tcValueSingle,\n\tcValueMulti,\n\toptionGenerator,\n\toptionIdentifier,\n\toptionsGetter,\n\tnonAjaxOptions,\n} = useSelectField(\n\ttoRef(() => props.valueSingle),\n\ttoRef(() => props.valueMulti),\n\ttoRef(() => props.ajax),\n\t(val) => emit(\"update:valueSingle\", val),\n\t(val) => emit(\"update:valueSingleId\", val?.code || null),\n\t(val) => emit(\"update:valueMulti\", val),\n\t(search?: string, page?: number) =>\n\t\tpublicFormApi.call.form.get.municipalities(search || \"\", page),\n\t(municipality: MunicipalityDto) => {\n\t\treturn {\n\t\t\ttext: getMunicipalityTranslation(municipality) ?? \"\",\n\t\t\tvalue: municipality,\n\t\t};\n\t},\n\t(val) => val.code\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(SelectBase, {\n valueMulti: _unref(cValueMulti),\n \"onUpdate:valueMulti\": _cache[0] || (_cache[0] = ($event: any) => (_isRef(cValueMulti) ? (cValueMulti).value = $event : null)),\n valueSingle: _unref(cValueSingle),\n \"onUpdate:valueSingle\": _cache[1] || (_cache[1] = ($event: any) => (_isRef(cValueSingle) ? (cValueSingle).value = $event : null)),\n ajax: __props.ajax,\n onBlur: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('blur'))),\n id: __props.id,\n optionGenerator: _unref(optionGenerator),\n optionComparer: _unref(optionIdentifier),\n optionLoader: _unref(optionsGetter),\n options: _unref(nonAjaxOptions)\n }, null, 8, [\"valueMulti\", \"valueSingle\", \"ajax\", \"id\", \"optionGenerator\", \"optionComparer\", \"optionLoader\", \"options\"]))\n}\n}\n\n})","import script from \"./MunicipalitySelect.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MunicipalitySelect.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, unref as _unref, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, Fragment as _Fragment, createVNode as _createVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-737c48f3\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"form-block\"\n}\nconst _hoisted_2 = { class: \"mb-2\" }\nconst _hoisted_3 = { class: \"mb-2\" }\n\nimport { useValidateProps } from \"@/composables/fields\";\nimport { HakoInput, LabelControl } from \"@hakosalo/hakolib\";\nimport { computed, inject, PropType } from \"vue\";\nimport { getMunicipalityTranslation } from \"@/helpers\";\nimport Validation from \"./form/Validation.vue\";\nimport { AddressDto } from \"@api/address-dto\";\nimport { PostalCodeDto } from \"@api/postal-code-dto\";\nimport { MunicipalityDto } from \"@api/municipality-dto\";\nimport publicFormApi from \"@/publicFormApi\";\nimport { Field } from \"@/types/interfaces/field\";\n\nexport interface Address {\n\tstreetAddress: string;\n\tmunicipalityId: number;\n\tpostalCodeId: number;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'AddressBlock',\n props: {\n\tlabel: String,\n\tinfoidentifier: String,\n\tidPrefix: {\n\t\ttype: String,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tparentPath: {\n\t\ttype: String,\n\t\tdefault: \"\",\n\t},\n\tmaxwidth: String,\n\tfield: {\n\t\ttype: Object as PropType,\n\t\trequired: false,\n\t},\n\tisUpdateForm: {\n\t\ttype: Boolean,\n\t\trequired: false,\n\t\tdefault: false,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst validateProps = useValidateProps();\nconst orgUsingPublicDirectory = inject(\"orgUsingPublicDirectory\", false);\n\nconst vModel = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(newVal: AddressDto | null) {\n\t\temit(\"update:modelValue\", newVal);\n\t},\n});\n\nconst getPropPath = (localPath: string) => {\n\tif (props.parentPath) {\n\t\treturn props.parentPath + \".\" + localPath;\n\t}\n\n\treturn localPath;\n};\n\nconst onPostalcodeChange = async (e: PostalCodeDto | null) => {\n\tvModel.value!.postalCodeId = e?.id || null;\n\tif (vModel.value!.postalCodeId && vModel.value && e) {\n\t\tif (e.municipality) {\n\t\t\tvModel.value!.municipalityId = e.municipality.code;\n\t\t\tvModel.value!.municipality = e.municipality;\n\t\t}\n\t}\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoSingleSelect2 = _resolveComponent(\"HakoSingleSelect2\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (__props.modelValue)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_unref(LabelControl), {\n for: __props.idPrefix + '_streetAddress',\n block: true,\n \"col-size\": 2,\n infoidentifier: __props.infoidentifier,\n required: \n\t\t\t\t\t\t(__props.field &&\n\t\t\t\t\t\t\t(__props.isUpdateForm\n\t\t\t\t\t\t\t\t? __props.field?.isRequiredOnCompanyUpdateForm\n\t\t\t\t\t\t\t\t: __props.field?.isRequiredOnPublicForm)) ||\n\t\t\t\t\t\tfalse\n\t\t\t\t\t\n }, {\n label: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"label\"),\n (!_ctx.$slots.label)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(_toDisplayString(__props.label || _ctx.$t(\"generic.streetAddress\")) + \" \", 1),\n (__props.isUpdateForm && _unref(orgUsingPublicDirectory))\n ? (_openBlock(), _createElementBlock(\"i\", {\n key: 0,\n class: \"show-public-icon\",\n style: _normalizeStyle(\n\t\t\t\t\t\t\t\t\t__props.field?.isDisplayedInPublicDirectory\n\t\t\t\t\t\t\t\t\t\t? 'background-color: #32b769'\n\t\t\t\t\t\t\t\t\t\t: 'background-color: gray'\n\t\t\t\t\t\t\t\t)\n }, null, 4))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n _createVNode(Validation, {\n fieldName: _ctx.$t('generic.streetAddress'),\n propertyPaths: [getPropPath('streetAddress')]\n }, {\n default: _withCtx(({}) => [\n _createVNode(_unref(HakoInput), {\n id: __props.idPrefix + '_streetAddress',\n noFloat: \"\",\n modelValue: vModel.value!.streetAddress,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((vModel.value!.streetAddress) = $event))\n }, null, 8, [\"id\", \"modelValue\"])\n ]),\n _: 1\n }, 8, [\"fieldName\", \"propertyPaths\"])\n ]),\n _: 3\n }, 8, [\"for\", \"infoidentifier\", \"required\"])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_unref(LabelControl), {\n for: __props.idPrefix + '_postalCode',\n block: true,\n \"col-size\": 2,\n required: \n\t\t\t\t\t\t(__props.field &&\n\t\t\t\t\t\t\t(__props.isUpdateForm\n\t\t\t\t\t\t\t\t? __props.field?.isRequiredOnCompanyUpdateForm\n\t\t\t\t\t\t\t\t: __props.field?.isRequiredOnPublicForm)) ||\n\t\t\t\t\t\tfalse\n\t\t\t\t\t\n }, {\n label: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"label\"),\n (!_ctx.$slots.label)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.postalCodeAndMunicipality\")) + \" \", 1),\n (__props.isUpdateForm && _unref(orgUsingPublicDirectory))\n ? (_openBlock(), _createElementBlock(\"i\", {\n key: 0,\n class: \"show-public-icon\",\n style: _normalizeStyle(\n\t\t\t\t\t\t\t\t\t__props.field?.isDisplayedInPublicDirectory\n\t\t\t\t\t\t\t\t\t\t? 'background-color: #32b769'\n\t\t\t\t\t\t\t\t\t\t: 'background-color: gray'\n\t\t\t\t\t\t\t\t)\n }, null, 4))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", {\n class: \"d-flex gap-2\",\n style: _normalizeStyle(__props.maxwidth ? 'max-width:' + __props.maxwidth : '')\n }, [\n _createElementVNode(\"div\", null, [\n _createVNode(Validation, {\n fieldName: _ctx.$t('generic.postalCode'),\n propertyPaths: [getPropPath('postalCodeId')]\n }, {\n default: _withCtx(() => [\n _createVNode(_component_HakoSingleSelect2, {\n useWindowMenu: \"\",\n modelValue: vModel.value!.postalCode,\n \"onUpdate:modelValue\": [\n _cache[1] || (_cache[1] = ($event: any) => ((vModel.value!.postalCode) = $event)),\n _cache[2] || (_cache[2] = (e) => {\n\t\t\t\t\t\t\t\t\t\tonPostalcodeChange(e)\n\t\t\t\t\t\t\t\t\t})\n ],\n optionGenerator: (o) => ({\n\t\t\t\t\t\t\t\t\t\ttext: o.postcode,\n\t\t\t\t\t\t\t\t\t\tvalue: o\n\t\t\t\t\t\t\t\t\t}),\n optionLoader: \n\t\t\t\t\t\t\t\t\t\tasync (s, page) => {\n\t\t\t\t\t\t\t\t\t\t\tvar r = await _unref(publicFormApi).call.form.get.postalCodes(s, page);\n\t\t\t\t\t\t\t\t\t\t\treturn r.data || [];\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t,\n optionComparer: (o) => o.id\n }, null, 8, [\"modelValue\", \"optionGenerator\", \"optionLoader\", \"optionComparer\"])\n ]),\n _: 1\n }, 8, [\"fieldName\", \"propertyPaths\"])\n ]),\n _createElementVNode(\"div\", null, [\n _createVNode(Validation, {\n fieldName: _ctx.$t('generic.postalMunicipality'),\n propertyPaths: [getPropPath('municipalityId')]\n }, {\n default: _withCtx(() => [\n _createVNode(_component_HakoSingleSelect2, {\n modelValue: vModel.value!.municipality,\n \"onUpdate:modelValue\": [\n _cache[3] || (_cache[3] = ($event: any) => ((vModel.value!.municipality) = $event)),\n _cache[4] || (_cache[4] = (e) => {\n\t\t\t\t\t\t\t\t\t\tvModel.value!.municipalityId = (e?.code || null)\n\t\t\t\t\t\t\t\t\t})\n ],\n optionGenerator: (o) => ({\n\t\t\t\t\t\t\t\t\t\ttext: _unref(getMunicipalityTranslation)(o) ?? '',\n\t\t\t\t\t\t\t\t\t\tvalue: o\n\t\t\t\t\t\t\t\t\t}),\n optionLoader: \n\t\t\t\t\t\t\t\t\t\tasync (s, page) => {\n\t\t\t\t\t\t\t\t\t\t\tvar r = await _unref(publicFormApi).call.form.get.municipalities(s, page);\n\t\t\t\t\t\t\t\t\t\t\treturn r.data || [];\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t,\n optionComparer: (o) => o.code\n }, null, 8, [\"modelValue\", \"optionGenerator\", \"optionLoader\", \"optionComparer\"])\n ]),\n _: 1\n }, 8, [\"fieldName\", \"propertyPaths\"])\n ])\n ], 4)\n ]),\n _: 3\n }, 8, [\"for\", \"required\"])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./AddressBlock.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AddressBlock.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./AddressBlock.vue?vue&type=style&index=0&id=737c48f3&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-737c48f3\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"mt-4\" }\n\nimport CompanySoMesField from \"@/components/CompanySoMesField.vue\";\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport CountrySelect from \"@/components/CountrySelect.vue\";\nimport MunicipalitySelect from \"@/components/MunicipalitySelect.vue\";\nimport AddressBlock from \"@/components/AddressBlock.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftCompanyDto } from \"@api/draft-company-dto\";\nimport { PropType, computed } from \"vue\";\nimport { CompanyFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport { isMobileReactive } from \"@/helpers\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyFormContactFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst fields = dbEnums.CompanyFields;\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoTeleInput = _resolveComponent(\"HakoTeleInput\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"companyForm.sectionContact.header\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.CompanyContactInfo?.fields)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.CompanyContactInfo.fields\n }, {\n [_unref(fields).PostalAddress]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n noLabel: \"\"\n }, {\n default: _withCtx(({ fieldLabel }) => [\n _createVNode(AddressBlock, {\n idPrefix: field.id,\n modelValue: formDataComputed.value.postalAddress,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.postalAddress) = $event)),\n parentPath: \"draftCompanyData.postalAddress\",\n label: fieldLabel,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"idPrefix\", \"modelValue\", \"label\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).VisitingAddress]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n noLabel: \"\"\n }, {\n default: _withCtx(({ fieldLabel }) => [\n _createVNode(AddressBlock, {\n idPrefix: field.id,\n modelValue: formDataComputed.value.visitingAddress,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.visitingAddress) = $event)),\n parentPath: \"draftCompanyData.visitingAddress\",\n label: fieldLabel,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"idPrefix\", \"modelValue\", \"label\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).BillingAddress]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.billingAddress\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.billingAddress,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.billingAddress) = $event)),\n id: elementId\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Website]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.website\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.website,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.website) = $event)),\n id: elementId,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).OnlineStore]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.onlineStore\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoInput, {\n type: \"url\",\n modelValue: formDataComputed.value.onlineStore,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.onlineStore) = $event)),\n id: elementId,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Email]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.email\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.email,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.email) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Phone]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.phone\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTeleInput, {\n modelValue: formDataComputed.value.phone,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.phone) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Some]: _withCtx(({ field }) => [\n _createVNode(Field, {\n noLabel: \"\",\n field: field,\n propertyPath: \"draftCompanyData.companySoMes\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(CompanySoMesField, {\n field: field,\n modelValue: formDataComputed.value.companySoMes,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.companySoMes) = $event)),\n id: elementId\n }, null, 8, [\"field\", \"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Homeland]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.homelandId\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(CountrySelect, {\n valueSingle: formDataComputed.value.homeland,\n \"onUpdate:valueSingle\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.homeland) = $event)),\n valueSingleId: formDataComputed.value.homelandId,\n \"onUpdate:valueSingleId\": _cache[9] || (_cache[9] = ($event: any) => ((formDataComputed.value.homelandId) = $event)),\n ajax: true,\n id: elementId,\n lowercase: \"\",\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).HomeMunicipality]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.homeMunicipalityId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(MunicipalitySelect, {\n valueSingle: formDataComputed.value.homeMunicipality,\n \"onUpdate:valueSingle\": _cache[10] || (_cache[10] = ($event: any) => ((formDataComputed.value.homeMunicipality) = $event)),\n valueSingleId: formDataComputed.value.homeMunicipalityId,\n \"onUpdate:valueSingleId\": _cache[11] || (_cache[11] = ($event: any) => ((formDataComputed.value.homeMunicipalityId) = $event)),\n ajax: \"\",\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).IsElectronicCommunicationAllowed]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.isElectronicCommunicationAllowed\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formDataComputed.value.isElectronicCommunicationAllowed,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((formDataComputed.value.isElectronicCommunicationAllowed) = $event)),\n for: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"for\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).Municipality]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.municipalityId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(MunicipalitySelect, {\n valueSingle: formDataComputed.value.municipality,\n \"onUpdate:valueSingle\": _cache[13] || (_cache[13] = ($event: any) => ((formDataComputed.value.municipality) = $event)),\n valueSingleId: formDataComputed.value.municipalityId,\n \"onUpdate:valueSingleId\": _cache[14] || (_cache[14] = ($event: any) => ((formDataComputed.value.municipalityId) = $event)),\n ajax: \"\",\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).District]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.companyDistrict\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.companyDistrict,\n \"onUpdate:valueSingle\": _cache[15] || (_cache[15] = ($event: any) => ((formDataComputed.value.companyDistrict) = $event)),\n valueSingleId: formDataComputed.value.companyDistrictId,\n \"onUpdate:valueSingleId\": _cache[16] || (_cache[16] = ($event: any) => ((formDataComputed.value.companyDistrictId) = $event)),\n infoTable: \"CompanyDistricts\",\n translationsTable: \"CompanyDistrictTranslations\",\n translationProperty: \"name\",\n ajax: false,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./CompanyFormContactFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyFormContactFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = [\"value\", \"id\", \"isInvalid\", \"onBlur\"]\nconst _hoisted_4 = [\"for\"]\nconst _hoisted_5 = {\n class: \"mt-2\",\n for: \"crAdditionalInfo\"\n}\n\nimport { computed, PropType } from \"vue\";\nimport { CompanyFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftCompanyDto } from \"@api/draft-company-dto\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport { getEntityTranslation } from \"@/helpers\";\nimport { PublicFormContactReasonOptionDto } from \"@api/public-form-contact-reason-option-dto\";\nimport { useValidateProps } from \"@/composables/fields\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyFormContactReasonFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tcontactReasonOptions: {\n\t\ttype: Array as PropType,\n\t\trequired: false,\n\t\tdefault: () => [],\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst fields = dbEnums.CompanyFields;\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst getValidityClasses = (isInvalid: boolean) => {\n\tif (isInvalid) return \"is-invalid\";\n\telse return \"is-valid\";\n};\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"companyForm.sectionContactReason.header\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.DraftCompanyContactReasonInfo)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.DraftCompanyContactReasonInfo.fields\n }, {\n [_unref(fields).DraftCompanyContactReason]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.contactReasons\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass(getValidityClasses(isInvalid))\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.contactReasonOptions, (opt, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index,\n class: \"form-check\"\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n class: \"form-check-input\",\n value: opt,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.contactReasons) = $event)),\n id: field.id + index,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 40, _hoisted_3), [\n [_vModelCheckbox, formDataComputed.value.contactReasons]\n ]),\n _createElementVNode(\"label\", {\n for: field.id + index,\n class: \"form-check-label\"\n }, _toDisplayString(_unref(getEntityTranslation)(opt.translations, \"name\")), 9, _hoisted_4)\n ]))\n }), 128)),\n _createElementVNode(\"label\", _hoisted_5, _toDisplayString(_ctx.$t(\"generic.additionalInfo\")), 1),\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.contactReasonsAdditionalInfo,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.contactReasonsAdditionalInfo) = $event)),\n id: \"crAdditionalInfo\"\n }, null, 8, [\"modelValue\"])\n ], 2)\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./CompanyFormContactReasonFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyFormContactReasonFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, unref as _unref, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withModifiers as _withModifiers, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4cbc34f3\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"ms-1\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = {\n key: 1,\n style: {\"cursor\":\"pointer\"}\n}\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { key: 1 }\nconst _hoisted_8 = { class: \"card mt-2\" }\nconst _hoisted_9 = { class: \"card-body\" }\nconst _hoisted_10 = { class: \"header\" }\nconst _hoisted_11 = { class: \"d-flex\" }\nconst _hoisted_12 = { class: \"col\" }\nconst _hoisted_13 = { class: \"d-flex justify-content-between\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1))\nconst _hoisted_15 = { key: 0 }\nconst _hoisted_16 = [\"textContent\"]\nconst _hoisted_17 = { key: 1 }\nconst _hoisted_18 = [\"textContent\"]\nconst _hoisted_19 = { key: 2 }\nconst _hoisted_20 = [\"textContent\"]\nconst _hoisted_21 = { key: 3 }\nconst _hoisted_22 = [\"textContent\"]\n\nimport { getEntityTranslation } from \"@/helpers\";\nimport { Tol2008TreeDto } from \"@api/tol2008-tree-dto\";\nimport { computed } from \"vue\";\nimport { PropType, ref } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Tol2008Item',\n props: {\n\ttol2008Item: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tloadedTols: {\n\t\ttype: Array as PropType,\n\t\trequired: true,\n\t},\n\tselectionSingle: {\n\t\ttype: Number as PropType,\n\t\trequired: true,\n\t},\n\tselectionMulti: {\n\t\ttype: Array as PropType,\n\t\tdefault: () => [],\n\t},\n},\n emits: [\"expand\", \"close\", \"select\", \"removeSelection\"],\n setup(__props, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst myChildren = computed(() =>\n\tprops.loadedTols.filter((r) => r.parentId == props.tol2008Item.id)\n);\n\nconst isLoading = computed(() => props.tol2008Item.isLoading);\n\nconst isSelected = computed(() => {\n\tif (props.selectionSingle == props.tol2008Item.id) {\n\t\treturn true;\n\t}\n\n\tif (props.selectionMulti?.some((r) => r.id == props.tol2008Item.id)) {\n\t\treturn true;\n\t}\n\n\treturn false;\n});\n\nconst showInfo = ref(false);\n\nconst click = () => {\n\tif (props.tol2008Item.isLeaf) {\n\t\tshowInfo.value = !showInfo.value;\n\t} else {\n\t\tif (props.tol2008Item.isOpen) {\n\t\t\temit(\"close\", props.tol2008Item);\n\t\t} else {\n\t\t\temit(\"expand\", props.tol2008Item);\n\t\t}\n\t}\n};\n\nconst fixTranslation = (txt: string | undefined) => {\n\tif (txt == undefined) {\n\t\treturn undefined;\n\t}\n\ttxt = txt.replaceAll(\"- -\", \" -\");\n\treturn txt;\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n const _component_Tol2008Item = _resolveComponent(\"Tol2008Item\", true)!\n const _component_HakoSpinner = _resolveComponent(\"HakoSpinner\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n const _component_HakoCollapse = _resolveComponent(\"HakoCollapse\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"d-flex align-items-center\", { 'tol': true, 'is-open': __props.tol2008Item.isOpen || showInfo.value }])\n }, [\n _createElementVNode(\"div\", {\n style: _normalizeStyle({ width: `${__props.tol2008Item.level * 10}px`, height: '24px' })\n }, null, 4),\n _createElementVNode(\"div\", {\n class: \"d-flex align-items-center\",\n style: {\"cursor\":\"pointer\"},\n onClick: _withModifiers(click, [\"stop\",\"prevent\"])\n }, [\n _createTextVNode(_toDisplayString(__props.tol2008Item.rootCode) + \" \" + _toDisplayString(__props.tol2008Item.code) + \": \" + _toDisplayString(_unref(getEntityTranslation)(__props.tol2008Item.translations, \"name\")) + \" \", 1),\n _createElementVNode(\"span\", _hoisted_1, [\n (\n\t\t\t\t\t\t\t(!__props.tol2008Item.isLeaf && !__props.tol2008Item.isOpen) ||\n\t\t\t\t\t\t\t(__props.tol2008Item.isLeaf && !showInfo.value)\n\t\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, [\n _createVNode(_component_HakoBsIcon, { icon: \"plus-square\" })\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_3, [\n _createVNode(_component_HakoBsIcon, { icon: \"dash-square\" })\n ]))\n ])\n ])\n ], 2),\n (!__props.tol2008Item.isLeaf)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n (myChildren.value.length > 0 && __props.tol2008Item.isOpen)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(myChildren.value, (c) => {\n return (_openBlock(), _createBlock(_component_Tol2008Item, {\n key: c.id?.toString(),\n tol2008Item: c,\n loadedTols: __props.loadedTols,\n onClose: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('close', $event))),\n onExpand: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('expand', $event))),\n onSelect: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('select', $event))),\n onRemoveSelection: _cache[3] || (_cache[3] = ($event: any) => (_ctx.$emit('removeSelection', $event))),\n selectionSingle: __props.selectionSingle,\n selectionMulti: __props.selectionMulti\n }, null, 8, [\"tol2008Item\", \"loadedTols\", \"selectionSingle\", \"selectionMulti\"]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (isLoading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(_component_HakoSpinner, { sm: \"\" })\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createVNode(_component_HakoCollapse, { show: showInfo.value }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h5\", null, _toDisplayString(__props.tol2008Item.rootCode) + \" \" + _toDisplayString(__props.tol2008Item.code) + \" \" + _toDisplayString(_unref(getEntityTranslation)(__props.tol2008Item.translations, \"name\")), 1)\n ]),\n _createElementVNode(\"div\", null, [\n (!isSelected.value)\n ? (_openBlock(), _createBlock(_component_HakoButton, {\n key: 0,\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.$emit('select', __props.tol2008Item))),\n isBlock: \"\",\n sm: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.select\")), 1)\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(_component_HakoButton, {\n key: 1,\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.$emit('removeSelection', __props.tol2008Item))),\n theme: \"danger\",\n isBlock: \"\",\n sm: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.removeSelection\")), 1)\n ]),\n _: 1\n })),\n _createVNode(_component_HakoButton, {\n theme: \"light\",\n class: \"mt-2\",\n isBlock: \"\",\n sm: \"\",\n onClick: _withModifiers(click, [\"stop\",\"prevent\"])\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.close\")), 1)\n ]),\n _: 1\n })\n ])\n ])\n ])\n ])\n ]),\n _hoisted_14,\n (_unref(getEntityTranslation)(__props.tol2008Item.translations, 'generalNote'))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_15, [\n _createElementVNode(\"h6\", null, _toDisplayString(_ctx.$t(\"tol.info\")) + \":\", 1),\n _createElementVNode(\"pre\", {\n textContent: _toDisplayString(\n\t\t\t\t\t\t\t\t\tfixTranslation(\n\t\t\t\t\t\t\t\t\t\t_unref(getEntityTranslation)(__props.tol2008Item.translations, 'generalNote')\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n }, null, 8, _hoisted_16)\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(getEntityTranslation)(__props.tol2008Item.translations, 'includes'))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _createElementVNode(\"h6\", null, _toDisplayString(_ctx.$t(\"tol.includes\")) + \":\", 1),\n _createElementVNode(\"pre\", {\n textContent: _toDisplayString(\n\t\t\t\t\t\t\t\t\tfixTranslation(\n\t\t\t\t\t\t\t\t\t\t_unref(getEntityTranslation)(__props.tol2008Item.translations, 'includes')\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n }, null, 8, _hoisted_18)\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(getEntityTranslation)(__props.tol2008Item.translations, 'includesAlso'))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_19, [\n _createElementVNode(\"h6\", null, _toDisplayString(_ctx.$t(\"tol.includesAlso\")) + \":\", 1),\n _createElementVNode(\"pre\", {\n textContent: _toDisplayString(\n\t\t\t\t\t\t\t\t\tfixTranslation(\n\t\t\t\t\t\t\t\t\t\t_unref(getEntityTranslation)(__props.tol2008Item.translations, 'includesAlso')\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n }, null, 8, _hoisted_20)\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(getEntityTranslation)(__props.tol2008Item.translations, 'excludes'))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_21, [\n _createElementVNode(\"h6\", null, _toDisplayString(_ctx.$t(\"tol.excludes\")) + \":\", 1),\n _createElementVNode(\"pre\", {\n textContent: _toDisplayString(\n\t\t\t\t\t\t\t\t\tfixTranslation(\n\t\t\t\t\t\t\t\t\t\t_unref(getEntityTranslation)(__props.tol2008Item.translations, 'excludes')\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n }, null, 8, _hoisted_22)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"show\"])\n ]))\n ]))\n}\n}\n\n})","import script from \"./Tol2008Item.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Tol2008Item.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Tol2008Item.vue?vue&type=style&index=0&id=4cbc34f3&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4cbc34f3\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, unref as _unref, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, withModifiers as _withModifiers, normalizeClass as _normalizeClass, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f3c77c10\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"d-flex align-items-center\" }\nconst _hoisted_3 = {\n key: 1,\n ref: \"showbtn\"\n}\nconst _hoisted_4 = [\"onClick\"]\nconst _hoisted_5 = { class: \"col\" }\nconst _hoisted_6 = {\n key: 0,\n style: {\"cursor\":\"pointer\"}\n}\nconst _hoisted_7 = {\n key: 1,\n style: {\"cursor\":\"pointer\"}\n}\nconst _hoisted_8 = { key: 0 }\nconst _hoisted_9 = {\n key: 0,\n class: \"sadams-4\"\n}\n\nimport { getEntityTranslation } from \"@/helpers\";\nimport { Tol2008TreeDto } from \"@api/tol2008-tree-dto\";\nimport { computed } from \"vue\";\nimport { uniqBy } from \"lodash\";\nimport { onMounted, PropType, ref, watch } from \"vue\";\nimport Tol2008Item from \"./Tol2008Item.vue\";\nimport publicFormApi from \"@/publicFormApi\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Tol2008Select',\n props: {\n\tmodelValue: {\n\t\ttype: [Number, Array, null] as PropType,\n\t\trequired: true,\n\t},\n\tmulti: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst isOpen = ref(false);\n\nwatch(isOpen, (newVal) => {\n\tif (newVal) {\n\t\tselectedTopLevelTol.value = null;\n\t\tcloseAll();\n\t}\n});\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst expand = (tol: Tol2008TreeDto) => {\n\tif (loadedTols.value.some((r) => r.parentId == tol.id)) {\n\t\tconst loadedTol = loadedTols.value.filter((r) => r.id == tol.id)[0];\n\t\tif (loadedTol) {\n\t\t\tloadedTol.isOpen = true;\n\t\t}\n\t} else {\n\t\tconst loadedTol = loadedTols.value.filter((r) => r.id == tol.id)[0];\n\t\tif (loadedTol) {\n\t\t\tloadedTol.isLoading = true;\n\t\t}\n\n\t\tif (!tol.id) {\n\t\t\treturn;\n\t\t}\n\n\t\tpublicFormApi.call.form.get.tol2008ByParentId(tol.id).then((r) => {\n\t\t\tif (r.isSuccessful && r.data) {\n\t\t\t\tloadedTols.value.push(...r.data);\n\t\t\t\tuniqLoadedTols();\n\t\t\t\tconst loadedTol = loadedTols.value.filter((l) => l.id == tol.id)[0];\n\t\t\t\tif (loadedTol) {\n\t\t\t\t\tloadedTol.isOpen = true;\n\t\t\t\t\tloadedTol.isLoading = false;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n};\n\nconst uniqLoadedTols = () => {\n\tloadedTols.value = uniqBy(loadedTols.value, (r) => r.id);\n};\n\nconst close = (tol: Tol2008TreeDto) => {\n\tconst loadedTol = loadedTols.value.filter((r) => r.id == tol.id)[0];\n\tif (loadedTol) {\n\t\tloadedTol.isOpen = false;\n\t}\n};\n\nconst closeAll = () => {\n\tloadedTols.value.forEach((r) => (r.isOpen = false));\n};\n\nconst select = (tol: Tol2008TreeDto) => {\n\tif (props.multi) {\n\t\tmodelValueAsMulti.value.push(tol);\n\t} else {\n\t\tmodelValueAsSingle.value = tol.id;\n\t}\n};\n\nconst removeSelection = (tol: Tol2008TreeDto) => {\n\tif (props.multi) {\n\t\tmodelValueAsMulti.value = modelValueAsMulti.value.filter((r) => r.id != tol.id);\n\t} else {\n\t\tmodelValueAsSingle.value = null;\n\t}\n};\n\nconst loadedTols = ref([]);\n\nconst topLevelTols = computed(() => loadedTols.value.filter((r) => r.parentId == null));\n\nconst selectedTopLevelTol = ref(null);\n\nconst clickTopLevelTol = (tol: Tol2008TreeDto) => {\n\tif (selectedTopLevelTol.value && tol.id == selectedTopLevelTol.value.id) {\n\t\tselectedTopLevelTol.value = null;\n\t\tloadedTols.value.forEach((r) => {\n\t\t\tr.isOpen = false;\n\t\t});\n\t\treturn;\n\t} else {\n\t\tloadedTols.value.forEach((r) => {\n\t\t\tr.isOpen = false;\n\t\t});\n\t\tselectedTopLevelTol.value = tol;\n\t}\n\n\tconst hasLoadedChildren = loadedTols.value.some((r) => r.parentId == tol.id);\n\n\tif (!hasLoadedChildren) {\n\t\tif (!tol.id) {\n\t\t\treturn;\n\t\t}\n\t\tpublicFormApi.call.form.get.tol2008ByParentId(tol.id).then((r) => {\n\t\t\tif (\n\t\t\t\tr.isSuccessful &&\n\t\t\t\tr.data &&\n\t\t\t\tselectedTopLevelTol.value &&\n\t\t\t\tselectedTopLevelTol.value.id == tol.id\n\t\t\t) {\n\t\t\t\tselectedTopLevelTol.value.children = r.data;\n\t\t\t\tloadedTols.value.push(...r.data);\n\t\t\t}\n\t\t});\n\t}\n};\n\nonMounted(() => {\n\tpublicFormApi.call.form.get.tol2008TopLevel().then((r) => {\n\t\tif (r.isSuccessful && r.data) {\n\t\t\tloadedTols.value = r.data;\n\t\t}\n\t});\n});\n\nconst fixedTols = ref([]);\n\nconst modelValueComputed = computed(() => props.modelValue);\n\nwatch(\n\tmodelValueComputed,\n\t(newVal) => {\n\t\tif (Array.isArray(newVal)) {\n\t\t\t//\n\t\t} else if (newVal != null) {\n\t\t\tpublicFormApi.call.form.get.tol2008ById(newVal).then((r) => {\n\t\t\t\tif (r.isSuccessful && r.data) {\n\t\t\t\t\tfixedTols.value = [r.data];\n\t\t\t\t\tsingleValueObj.value = r.data;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t},\n\t{ immediate: true }\n);\n\nconst modelValueAsSingle = computed({\n\tget() {\n\t\tif (props.multi) {\n\t\t\treturn null;\n\t\t}\n\t\treturn props.modelValue as number | null;\n\t},\n\tset(newVal: number | null) {\n\t\temit(\"update:modelValue\", newVal);\n\t},\n});\n\nconst singleValueObj = ref(null);\n\nwatch(modelValueAsSingle, (newVal) => {\n\tif (!newVal) {\n\t\tsingleValueObj.value = null;\n\t\treturn;\n\t}\n\tpublicFormApi.call.form.get.tol2008ById(newVal).then((r) => {\n\t\tif (r.isSuccessful && r.data) {\n\t\t\tsingleValueObj.value = r.data;\n\t\t}\n\t});\n});\n\nconst modelValueAsMulti = computed({\n\tget() {\n\t\tif (!props.multi) {\n\t\t\treturn [];\n\t\t}\n\t\treturn (props.modelValue || []) as Tol2008TreeDto[];\n\t},\n\tset(newVal: Tol2008TreeDto[]) {\n\t\temit(\"update:modelValue\", newVal);\n\t},\n});\n\n//const openSelectionBtn = ref(null);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n const _component_HakoSpinner = _resolveComponent(\"HakoSpinner\")!\n const _component_HakoWindow = _resolveComponent(\"HakoWindow\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (!__props.multi && singleValueObj.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", null, _toDisplayString(singleValueObj.value.rootCode) + \" \" + _toDisplayString(singleValueObj.value.code) + \" \" + _toDisplayString(_unref(getEntityTranslation)(singleValueObj.value.translations, \"name\")), 1),\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"btn-close ms-2\",\n \"aria-label\": \"Close\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (removeSelection(singleValueObj.value)))\n })\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (!__props.multi && !singleValueObj.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createVNode(_component_HakoButton, {\n ref: \"openSelectionBtn\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (isOpen.value = true))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.selectTol2008\")), 1)\n ]),\n _: 1\n }, 512)\n ], 512))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_HakoWindow, {\n modelValue: isOpen.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((isOpen).value = $event)),\n title: \"Tol2008\",\n size: \"l\",\n positionUnderElement: (_ctx.$refs.showbtn as HTMLElement)\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(topLevelTols.value, (topLevelTol) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: topLevelTol.id?.toString()\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"d-flex\", {\n\t\t\t\t\t\t'tol': true,\n\t\t\t\t\t\t'is-open': selectedTopLevelTol.value && selectedTopLevelTol.value.id == topLevelTol.id,\n\t\t\t\t\t}]),\n onClick: _withModifiers(($event: any) => (clickTopLevelTol(topLevelTol)), [\"stop\",\"prevent\"]),\n style: {\"cursor\":\"pointer\"}\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createTextVNode(_toDisplayString(topLevelTol.code) + \": \" + _toDisplayString(_unref(getEntityTranslation)(topLevelTol.translations, \"name\")) + \" \", 1),\n (topLevelTol != selectedTopLevelTol.value)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, [\n _createVNode(_component_HakoBsIcon, { icon: \"plus-square\" })\n ]))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_7, [\n _createVNode(_component_HakoBsIcon, { icon: \"dash-square\" })\n ]))\n ])\n ], 10, _hoisted_4),\n (selectedTopLevelTol.value == topLevelTol)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n (selectedTopLevelTol.value.children && selectedTopLevelTol.value.children.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(selectedTopLevelTol.value.children, (tol) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: tol.id?.toString()\n }, [\n _createVNode(Tol2008Item, {\n tol2008Item: tol,\n loadedTols: loadedTols.value,\n onExpand: expand,\n onClose: close,\n onSelect: select,\n onRemoveSelection: removeSelection,\n selectionMulti: modelValueAsMulti.value,\n selectionSingle: modelValueAsSingle.value\n }, null, 8, [\"tol2008Item\", \"loadedTols\", \"selectionMulti\", \"selectionSingle\"])\n ]))\n }), 128))\n ]))\n : (_openBlock(), _createBlock(_component_HakoSpinner, { key: 1 }))\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ]),\n _: 1\n }, 8, [\"modelValue\", \"positionUnderElement\"])\n ]))\n}\n}\n\n})","import script from \"./Tol2008Select.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Tol2008Select.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Tol2008Select.vue?vue&type=style&index=0&id=f3c77c10&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f3c77c10\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport Tol2008Select from \"@/components/Tol2008Select.vue\";\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport LanguageSelect from \"@/components/LanguageSelect.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftCompanyDto } from \"@api/draft-company-dto\";\nimport { PropType, computed } from \"vue\";\nimport { CompanyFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyFormOtherFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst fields = dbEnums.CompanyFields;\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoDatePicker = _resolveComponent(\"HakoDatePicker\")!\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"companyForm.sectionOther.header\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.CompanyOtherInfo?.fields)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.CompanyOtherInfo.fields\n }, {\n [_unref(fields).EstablishedAt]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.establishedDate\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: formDataComputed.value.establishedDate,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.establishedDate) = $event)),\n allowEmpty: \"\",\n id: elementId,\n style: {\"max-width\":\"250px\"},\n placeholder: _ctx.$t('generic.datePlaceholder'),\n \"force-utc-midnight\": \"\"\n }, null, 8, [\"modelValue\", \"id\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).TurnoverClass]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.turnoverClassId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.turnoverClass,\n \"onUpdate:valueSingle\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.turnoverClass) = $event)),\n valueSingleId: formDataComputed.value.turnoverClassId,\n \"onUpdate:valueSingleId\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.turnoverClassId) = $event)),\n infoTable: \"TurnoverClasses\",\n translationsTable: \"TurnoverClassTranslations\",\n translationProperty: \"name\",\n ajax: false,\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Language]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.languageId\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(LanguageSelect, {\n valueSingle: formDataComputed.value.language,\n \"onUpdate:valueSingle\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.language) = $event)),\n valueSingleId: formDataComputed.value.languageId,\n \"onUpdate:valueSingleId\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.languageId) = $event)),\n communicationRole: _unref(dbEnums).PersonUserRoleIds.Elinkeino,\n id: elementId,\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"communicationRole\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StaffSizeClass]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.staffSizeClassId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.staffSizeClass,\n \"onUpdate:valueSingle\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.staffSizeClass) = $event)),\n valueSingleId: formDataComputed.value.staffSizeClassId,\n \"onUpdate:valueSingleId\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.staffSizeClassId) = $event)),\n infoTable: \"StaffSizeClasses\",\n translationsTable: \"StaffSizeClassTranslations\",\n translationProperty: \"name\",\n ajax: false,\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).AdditionalInformation]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.additionalInformation\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.additionalInformation,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.additionalInformation) = $event)),\n id: elementId\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Description]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.description\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.description,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.description) = $event)),\n id: elementId\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ProductsAndServices]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.productsAndServices\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.productsAndServices,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((formDataComputed.value.productsAndServices) = $event)),\n id: elementId\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).TOL2008]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftCompanyData.tol2008Id\"\n }, {\n default: _withCtx(() => [\n _createVNode(Tol2008Select, {\n modelValue: formDataComputed.value.tol2008Id,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((formDataComputed.value.tol2008Id) = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./CompanyFormOtherFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyFormOtherFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { keyBy } from \"lodash\";\nimport { computed, PropType, inject } from \"vue\";\n\nimport { CompanyFieldCategoryMap } from \".\";\nimport CompanyFormBasicFields from \"./fields/CompanyFormBasicFields.vue\";\nimport { DraftCompanyDto } from \"@api/draft-company-dto\";\nimport provideCompanyFormInfo from \"@/types/symbols/provideCompanyFormInfo\";\nimport CompanyFormContactPersonFields from \"./fields/CompanyFormContactPersonFields.vue\";\nimport CompanyFormContactFields from \"./fields/CompanyFormContactFields.vue\";\nimport CompanyFormContactReasonFields from \"./fields/CompanyFormContactReasonFields.vue\";\nimport CompanyFormOtherFields from \"./fields/CompanyFormOtherFields.vue\";\nimport { PublicFormContactReasonOptionDto } from \"@api/public-form-contact-reason-option-dto\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyFormFields',\n props: {\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\n\tcontactReasonOptions: {\n\t\ttype: Array as PropType,\n\t\trequired: false,\n\t\tdefault: () => [],\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst formInfo = inject(provideCompanyFormInfo);\n\nconst cats = computed(() => {\n\treturn formInfo?.value?.fieldCategories || [];\n});\n\nconst fieldsMap = computed(() => {\n\treturn keyBy(cats.value, (r) => r.id) as unknown as CompanyFieldCategoryMap;\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n ((fieldsMap.value.CompanyBasic?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(CompanyFormBasicFields, {\n key: 0,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.CompanyContactInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(CompanyFormContactFields, {\n key: 1,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.CompanyOtherInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(CompanyFormOtherFields, {\n key: 2,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.DraftCompanyContactPersonInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(CompanyFormContactPersonFields, {\n key: 3,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.DraftCompanyContactPersonInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(CompanyFormContactReasonFields, {\n key: 4,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed).value = $event)),\n contactReasonOptions: __props.contactReasonOptions,\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"contactReasonOptions\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./CompanyFormFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyFormFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"container-fluid\" }\nconst _hoisted_3 = { class: \"container-fluid\" }\nconst _hoisted_4 = { class: \"row\" }\nconst _hoisted_5 = { class: \"col\" }\nconst _hoisted_6 = { class: \"d-flex w-100\" }\nconst _hoisted_7 = [\"href\"]\nconst _hoisted_8 = {\n key: 0,\n style: {\"color\":\"red\"}\n}\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1)\nconst _hoisted_10 = { class: \"mt-2\" }\nconst _hoisted_11 = {\n key: 0,\n style: {\"color\":\"red\"}\n}\nconst _hoisted_12 = { class: \"container-fluid\" }\nconst _hoisted_13 = { class: \"row\" }\nconst _hoisted_14 = { class: \"col-6\" }\nconst _hoisted_15 = { class: \"col-6\" }\nconst _hoisted_16 = { key: 1 }\nconst _hoisted_17 = { class: \"row\" }\nconst _hoisted_18 = { class: \"col-sm-12 col-md-auto mb-2\" }\nconst _hoisted_19 = { class: \"col-sm-12 col-md-auto mb-2\" }\nconst _hoisted_20 = { class: \"col-sm-12 col-md-auto mb-2\" }\nconst _hoisted_21 = { clas: \"row\" }\nconst _hoisted_22 = { class: \"col\" }\nconst _hoisted_23 = /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1)\nconst _hoisted_24 = { key: 0 }\nconst _hoisted_25 = { class: \"card-body\" }\nconst _hoisted_26 = { class: \"card-footer\" }\nconst _hoisted_27 = {\n key: 1,\n class: \"table table-striped\"\n}\nconst _hoisted_28 = { style: {\"min-width\":\"100px\"} }\nconst _hoisted_29 = /*#__PURE__*/_createElementVNode(\"th\", null, null, -1)\n\nimport { getEntityTranslation, isMobileReactive } from \"@/helpers\";\nimport provideCompanyFormInfo from \"@/types/symbols/provideCompanyFormInfo\";\nimport { AlertManager, NotificationManager } from \"@hakosalo/hakolib\";\nimport { inject, nextTick, onMounted, ref, watch } from \"vue\";\nimport FormSection from \"../FormSection.vue\";\nimport CompanyFormFields from \"./CompanyFormFields.vue\";\n\nimport publicFormApi from \"@/publicFormApi\";\nimport { DraftCompanyFormDataDto } from \"@api/draft-company-form-data-dto\";\nimport { ValidationFailureDto } from \"@api/validation-failure-dto\";\nimport { cloneDeep, values } from \"lodash\";\nimport { computed } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport FormSectionHeader from \"../FormSectionHeader.vue\";\n\nimport { useLiveValidation, useValidation } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { Field } from \"@/types/interfaces/field\";\nimport { NetboxCompany } from \"@api/netbox-company\";\nimport { NetboxCompanyShort } from \"@api/netbox-company-short\";\nimport { flatten, keyBy, take } from \"lodash\";\n\ninterface PrivacyPolicyAccepts {\n\t[key: number]: boolean;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyForm',\n emits: [\"saveSuccess\", \"saveFailed\"],\n setup(__props, { emit: __emit }) {\n\nconst { t } = useI18n();\n\nconst emit = __emit;\n\nconst makeHttps = (url: string) => {\n\turl = url.indexOf(\"://\") === -1 ? \"https://\" + url : url;\n\treturn url;\n};\n\nconst blankDraft = ref(null);\n\nconst resetFormData = () => {\n\tformData.value = cloneDeep(blankDraft.value);\n};\n\nonMounted(() => {\n\tpublicFormApi.call.companyForm.get.getDraft().then((r) => {\n\t\tif (r.isSuccessful) {\n\t\t\tformData.value = r.data;\n\t\t\tblankDraft.value = cloneDeep(r.data);\n\t\t}\n\t});\n});\n\nconst isSaving = ref(false);\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn formData.value;\n\t},\n\tset(v) {\n\t\tformData.value = v;\n\t},\n});\n\n// Inject validation system\nconst { validationErrors, validationStateMap } = useValidation();\n\nconst validationEndpoint = publicFormApi.call.validation.post.validateCompanyProperties;\n\nuseLiveValidation(\n\tvalidationEndpoint,\n\tformDataComputed,\n\tvalidationErrors,\n\tvalidationStateMap\n);\n\nconst save = () => {\n\tif (!formData.value) {\n\t\treturn;\n\t}\n\tisSaving.value = true;\n\tpublicFormApi.call.companyForm.post\n\t\t.default(formData.value)\n\t\t.then(async (r) => {\n\t\t\tif (r.isSuccessful && r.data) {\n\t\t\t\temit(\"saveSuccess\");\n\t\t\t\treturn;\n\t\t\t} else if (r.isHandledFailure && r.error && r.error.codeName == \"ValidationError\") {\n\t\t\t\tawait AlertManager.alert(t(\"generic.checkFields\"), t(\"generic.fixInvalidInputs\"));\n\n\t\t\t\tvalidationErrors.value =\n\t\t\t\t\t(r.error.data as ValidationFailureDto[]) || ([] as ValidationFailureDto[]);\n\n\t\t\t\tnextTick(() => {\n\t\t\t\t\t// from dom search all elements with class invalid-feedback that have display:block\n\t\t\t\t\tconst invalidFeedbacks = Array.from(document.querySelectorAll(\".invalid-feedback\"));\n\n\t\t\t\t\t// Filter elements that have display:block\n\t\t\t\t\tconst visibleInvalidFeedbacks = invalidFeedbacks.filter(\n\t\t\t\t\t\t(el) => window.getComputedStyle(el).display === \"block\"\n\t\t\t\t\t);\n\n\t\t\t\t\tif (visibleInvalidFeedbacks.length > 0) {\n\t\t\t\t\t\t// Select parent of the first element\n\t\t\t\t\t\tconst parent = visibleInvalidFeedbacks[0].parentElement;\n\n\t\t\t\t\t\tif (parent) {\n\t\t\t\t\t\t\t// Select first input inside the parent\n\t\t\t\t\t\t\tconst input = parent.querySelector(\"input\");\n\n\t\t\t\t\t\t\tif (input) {\n\t\t\t\t\t\t\t\t// Scroll to the first input\n\t\t\t\t\t\t\t\tinput.scrollIntoView({ block: \"center\" });\n\t\t\t\t\t\t\t\tinput.focus();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\t\t\temit(\"saveFailed\");\n\t\t})\n\t\t.finally(() => {\n\t\t\tisSaving.value = false;\n\t\t});\n};\n\nconst clear = async () => {\n\ttry {\n\t\tawait AlertManager.confirm(t(\"generic.warning\"), t(\"generic.clearAreYouSure\"));\n\t\tresetFormData();\n\t} catch {\n\t\t// Too bad\n\t}\n};\n\nconst formData = ref(null);\n\nconst formInfo = inject(provideCompanyFormInfo);\n\nconst privacyPolicyAccepts = ref({});\n\nconst privacyPolicies = computed(() => {\n\tif (!formInfo || !formInfo.value) {\n\t\treturn [];\n\t}\n\treturn formInfo.value.publicForm.privacyPolicies;\n});\n\nwatch(\n\tprivacyPolicies,\n\t() => {\n\t\tprivacyPolicyAccepts.value = {};\n\t\tprivacyPolicies.value.forEach((pp) => {\n\t\t\tprivacyPolicyAccepts.value[pp.id] = false;\n\t\t});\n\t},\n\t{ immediate: true }\n);\n\nconst enabledFields = computed(() => {\n\tlet fields: Field[] = [];\n\tif (!formInfo || !formInfo.value) {\n\t\treturn fields;\n\t}\n\n\tfields = flatten(formInfo.value.fieldCategories.map((r) => r.fields));\n\treturn fields;\n});\n\nconst isEnabled = (fieldId: string) => {\n\tif (enabledFields.value.some((r) => r.id == fieldId)) {\n\t\treturn true;\n\t}\n\treturn false;\n};\n\nconst allowSave = computed(() => {\n\tif (!formData.value) {\n\t\treturn false;\n\t}\n\n\tif (!formData.value.acceptDataSaving) {\n\t\treturn false;\n\t}\n\n\tif (values(formData.value.privacyPolicyConfirms).some((r) => r == false)) {\n\t\treturn false;\n\t}\n\n\treturn true;\n});\n\n// netbox stuff\n\nconst netboxModalOpen = ref(false);\nconst netboxLoading = ref(false);\nconst netboxName = ref(\"\");\nconst netboxShortResults = ref([]);\nconst netboxBusinessId = ref(\"\");\nconst netboxResult = ref(null);\n\nconst modalSearch = ref(\"\");\nconst modalShowAmount = ref(15);\n\nconst netboxShortResultsComputed = computed(() => {\n\treturn take(\n\t\tnetboxShortResults.value.filter(\n\t\t\t(r) => r.name.toLocaleLowerCase().indexOf(modalSearch.value.toLocaleLowerCase()) >= 0\n\t\t),\n\t\tmodalShowAmount.value\n\t);\n});\n\nconst showLess = () => {\n\tmodalShowAmount.value = 15;\n};\n\nconst showMore = () => {\n\tmodalShowAmount.value += 15;\n};\n\nconst showAll = () => {\n\tmodalShowAmount.value = netboxShortResults.value.length;\n};\n\nconst fillCompany = (businessId: string) => {\n\tnetboxModalOpen.value = false;\n\tnetboxBusinessId.value = businessId;\n\tvalidationErrors.value = [];\n\tsearchNetbox();\n};\n\nconst searchNetbox = () => {\n\tif (netboxBusinessId.value) {\n\t\tnetboxLoading.value = true;\n\t\tpublicFormApi.call.companyForm.get\n\t\t\t.netboxSearchByBusinessId(netboxBusinessId.value)\n\t\t\t.then((r) => {\n\t\t\t\tif (r.isSuccessful && r.data) {\n\t\t\t\t\tnetboxResult.value = r.data;\n\t\t\t\t\tfillFromNetboxCompany(r.data);\n\t\t\t\t}\n\t\t\t});\n\t} else if (netboxName.value) {\n\t\tnetboxShortResults.value = [];\n\t\tnetboxModalOpen.value = true;\n\t\tnetboxLoading.value = true;\n\t\tpublicFormApi.call.companyForm.get\n\t\t\t.netboxSearchByName(netboxName.value)\n\t\t\t.then((r) => {\n\t\t\t\tif (r.isSuccessful && r.data) {\n\t\t\t\t\tnetboxShortResults.value = r.data;\n\t\t\t\t}\n\t\t\t})\n\t\t\t.finally(() => (netboxLoading.value = false));\n\t}\n};\n\nconst fillFromNetboxCompany = async (netboxCompany: NetboxCompany) => {\n\tif (!formData.value) {\n\t\treturn;\n\t}\n\tresetFormData();\n\tawait nextTick();\n\tnetboxLoading.value = true;\n\tformData.value.draftCompanyData.businessId = netboxCompany.vat_identifier;\n\tformData.value.draftCompanyData.name =\n\t\tnetboxCompany.names.filter((r) => r.type == \"primary\").shift()?.name || \"\";\n\n\tif (netboxCompany.domicile && isEnabled(dbEnums.CompanyFields.HomeMunicipality)) {\n\t\ttry {\n\t\t\tconst municipalityResp = await publicFormApi.call.form.get.municipality(\n\t\t\t\tnetboxCompany.domicile\n\t\t\t);\n\t\t\tif (municipalityResp.isSuccessful && municipalityResp.data) {\n\t\t\t\tformData.value.draftCompanyData.homeMunicipalityId = municipalityResp.data.code;\n\t\t\t\tformData.value.draftCompanyData.homeMunicipality = municipalityResp.data;\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tconsole.error(error);\n\t\t}\n\t}\n\n\tconst contactMap = keyBy(netboxCompany.contact, \"code\");\n\n\tif (contactMap.sms?.value && isEnabled(dbEnums.CompanyFields.Phone)) {\n\t\tformData.value.draftCompanyData.phone = contactMap.sms.value;\n\t}\n\tif (contactMap.phone?.value && isEnabled(dbEnums.CompanyFields.Phone)) {\n\t\tformData.value.draftCompanyData.phone = contactMap.phone.value;\n\t}\n\tif (contactMap.www?.value && isEnabled(dbEnums.CompanyFields.Website)) {\n\t\tformData.value.draftCompanyData.website = contactMap.www.value;\n\t}\n\tif (contactMap.email?.value && isEnabled(dbEnums.CompanyFields.Email)) {\n\t\tformData.value.draftCompanyData.email = contactMap.email.value;\n\t}\n\n\tconst addressMap = keyBy(netboxCompany.addresses, \"type\");\n\n\tif (addressMap.visiting?.street && isEnabled(dbEnums.CompanyFields.VisitingAddress)) {\n\t\tformData.value.draftCompanyData.visitingAddress!.streetAddress = addressMap.visiting.street;\n\t}\n\tif (addressMap.visiting?.zipcode && isEnabled(dbEnums.CompanyFields.VisitingAddress)) {\n\t\ttry {\n\t\t\tconst visitingAddressResp = await publicFormApi.call.form.get.postalCode(\n\t\t\t\taddressMap.visiting.zipcode\n\t\t\t);\n\t\t\tif (visitingAddressResp.isSuccessful && visitingAddressResp.data) {\n\t\t\t\tformData.value.draftCompanyData.visitingAddress!.postalCodeId =\n\t\t\t\t\tvisitingAddressResp.data.id;\n\t\t\t\tformData.value.draftCompanyData.visitingAddress!.postalCode = visitingAddressResp.data;\n\t\t\t\tformData.value.draftCompanyData.visitingAddress!.municipalityId =\n\t\t\t\t\tvisitingAddressResp.data.municipalityId;\n\t\t\t\tformData.value.draftCompanyData.visitingAddress!.municipality =\n\t\t\t\t\tvisitingAddressResp.data.municipality!;\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tconsole.error(error);\n\t\t}\n\t}\n\tif (addressMap.postal?.street && isEnabled(dbEnums.CompanyFields.PostalAddress)) {\n\t\tformData.value.draftCompanyData.postalAddress!.streetAddress = addressMap.postal.street;\n\t}\n\tif (addressMap.postal?.zipcode && isEnabled(dbEnums.CompanyFields.PostalAddress)) {\n\t\ttry {\n\t\t\tconst postalCodeResp = await publicFormApi.call.form.get.postalCode(\n\t\t\t\taddressMap.postal.zipcode\n\t\t\t);\n\t\t\tif (postalCodeResp.isSuccessful && postalCodeResp.data) {\n\t\t\t\tformData.value.draftCompanyData.postalAddress!.postalCodeId = postalCodeResp.data.id;\n\t\t\t\tformData.value.draftCompanyData.postalAddress!.postalCode = postalCodeResp.data;\n\t\t\t\tformData.value.draftCompanyData.postalAddress!.municipalityId =\n\t\t\t\t\tpostalCodeResp.data.municipalityId;\n\t\t\t\tformData.value.draftCompanyData.postalAddress!.municipality =\n\t\t\t\t\tpostalCodeResp.data.municipality!;\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tconsole.error(error);\n\t\t}\n\t}\n\tif (netboxCompany.type?.name && isEnabled(dbEnums.CompanyFields.Type)) {\n\t\ttry {\n\t\t\tconst formResp = await publicFormApi.call.companyForm.get.matchNetboxCompanyForm(\n\t\t\t\tnetboxCompany.type.name\n\t\t\t);\n\t\t\tif (formResp.isSuccessful && formResp.data) {\n\t\t\t\tformData.value.draftCompanyData.companyFormId = formResp.data.id;\n\t\t\t\tformData.value.draftCompanyData.companyForm = formResp.data;\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tconsole.error(error);\n\t\t}\n\t}\n\tif (netboxCompany.language?.code && isEnabled(dbEnums.CompanyFields.Language)) {\n\t\ttry {\n\t\t\tconst formResp = await publicFormApi.call.companyForm.get.matchNetboxLanguage(\n\t\t\t\tnetboxCompany.language.code\n\t\t\t);\n\t\t\tif (formResp.isSuccessful && formResp.data) {\n\t\t\t\tformData.value.draftCompanyData.languageId = formResp.data.code;\n\t\t\t\tformData.value.draftCompanyData.language = formResp.data;\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tconsole.error(error);\n\t\t}\n\t}\n\tif (netboxCompany.industry && isEnabled(dbEnums.CompanyFields.TOL2008)) {\n\t\tconst maxLevelTol = netboxCompany.industry.reduce(function (prev, current) {\n\t\t\treturn prev && prev.level > current.level ? prev : current;\n\t\t});\n\t\tif (maxLevelTol) {\n\t\t\ttry {\n\t\t\t\tconst formResp = await publicFormApi.call.companyForm.get.matchNetboxTol(\n\t\t\t\t\tmaxLevelTol.code\n\t\t\t\t);\n\t\t\t\tif (formResp.isSuccessful && formResp.data) {\n\t\t\t\t\tformData.value.draftCompanyData.tol2008Id = formResp.data.id;\n\t\t\t\t\tformData.value.draftCompanyData.tol2008 = formResp.data;\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error(error);\n\t\t\t}\n\t\t}\n\t}\n\n\tnetboxLoading.value = false;\n\n\tNotificationManager.quickSuccess(\n\t\tt(\"companyForm.sectionNetbox.fillSuccess\"),\n\t\tt(\"companyForm.sectionNetbox.fillSuccessTxt\")\n\t);\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoLabelControl = _resolveComponent(\"HakoLabelControl\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n const _component_HakoSpinner = _resolveComponent(\"HakoSpinner\")!\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n const _component_HakoModal = _resolveComponent(\"HakoModal\")!\n const _component_HakoFullscreenSpinner = _resolveComponent(\"HakoFullscreenSpinner\")!\n\n return (_unref(formInfo) && formData.value && formData.value.draftCompanyData)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"companyForm.sectionNetbox.header\")), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"companyForm.sectionNetbox.searchParagraph\")), 1),\n _createVNode(_component_HakoLabelControl, {\n block: \"\",\n label: _ctx.$t('companyForm.sectionNetbox.businessIdLabel'),\n for: \"netboxBusinessId\",\n class: \"form-field-label\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_HakoInput, {\n id: \"netboxBusinessId\",\n modelValue: netboxBusinessId.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((netboxBusinessId).value = $event)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_HakoLabelControl, {\n block: \"\",\n label: _ctx.$t('companyForm.sectionNetbox.nameLabel'),\n for: \"netboxName\",\n class: \"form-field-label\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_HakoInput, {\n id: \"netboxName\",\n modelValue: netboxName.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((netboxName).value = $event)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"label\"]),\n _createVNode(_component_HakoButton, {\n onClick: _withModifiers(searchNetbox, [\"prevent\"])\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.search\")), 1)\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }),\n (netboxLoading.value)\n ? (_openBlock(), _createBlock(_component_HakoSpinner, { key: 0 }))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createVNode(CompanyFormFields, {\n modelValue: formData.value.draftCompanyData,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formData.value.draftCompanyData) = $event)),\n contactReasonOptions: formData.value.contactReasonOptions\n }, null, 8, [\"modelValue\", \"contactReasonOptions\"]),\n _createVNode(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.sectionPrivacy\")), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(privacyPolicies.value, (pp) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: pp.id,\n class: \"my-3\"\n }, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formData.value.privacyPolicyConfirms[pp.id],\n \"onUpdate:modelValue\": ($event: any) => ((formData.value.privacyPolicyConfirms[pp.id]) = $event)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.haveReadAndAccept\")) + \" \", 1),\n _createElementVNode(\"a\", {\n class: \"mx-3\",\n href: makeHttps(pp.url),\n target: \"_blank\"\n }, [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(pp.translations, \"name\")) + \" \", 1),\n _createVNode(_component_HakoBsIcon, {\n icon: \"box-arrow-up-right\",\n size: 90\n })\n ], 8, _hoisted_7),\n (!formData.value.privacyPolicyConfirms[pp.id])\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_8, _toDisplayString(_ctx.$t(\"generic.required\")), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]))\n }), 128)),\n _hoisted_9,\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formData.value.acceptDataSaving,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formData.value.acceptDataSaving) = $event))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(\n\t\t\t\t\t\t\t\t\t\t\t_unref(formInfo).publicForm.translations,\n\t\t\t\t\t\t\t\t\t\t\t\"acceptSaveData\"\n\t\t\t\t\t\t\t\t\t\t)) + \" \", 1),\n (!formData.value.acceptDataSaving)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_11, _toDisplayString(_ctx.$t(\"generic.required\")), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ])\n ])\n ])\n ])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_HakoButton, {\n onClick: save,\n disabled: !allowSave.value,\n isBlock: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.send\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_HakoButton, {\n onClick: clear,\n isBlock: \"\",\n theme: \"danger\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.clear\")), 1)\n ]),\n _: 1\n })\n ])\n ])\n ])\n ], 64)),\n _createVNode(_component_HakoModal, {\n modelValue: netboxModalOpen.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((netboxModalOpen).value = $event)),\n size: \"md\"\n }, {\n default: _withCtx(() => [\n (netboxLoading.value)\n ? (_openBlock(), _createBlock(_component_HakoSpinner, { key: 0 }))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_HakoButton, {\n sm: \"\",\n onClick: showMore,\n isBlock: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.showMore\")), 1)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(_component_HakoButton, {\n sm: \"\",\n onClick: showAll,\n isBlock: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.showAll\")) + \" (\" + _toDisplayString(netboxShortResults.value.length) + \" kpl)\", 1)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_20, [\n _createVNode(_component_HakoButton, {\n class: \"col col-auto\",\n sm: \"\",\n onClick: showLess,\n isBlock: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.showLess\")), 1)\n ]),\n _: 1\n })\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(_component_HakoInput, {\n modelValue: modalSearch.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((modalSearch).value = $event)),\n placeholder: _ctx.$t('generic.typeToSearch')\n }, null, 8, [\"modelValue\", \"placeholder\"])\n ])\n ]),\n _hoisted_23,\n (_unref(isMobileReactive))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_24, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(netboxShortResultsComputed.value, (r) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"card mb-3\",\n key: r.vat_identifier\n }, [\n _createElementVNode(\"div\", _hoisted_25, [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"companyForm.sectionNetbox.nameLabel\")) + \": \", 1),\n _createTextVNode(\" \" + _toDisplayString(r.name), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"companyForm.sectionNetbox.businessIdLabel\")) + \": \", 1),\n _createTextVNode(\" \" + _toDisplayString(r.vat_identifier), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"companyForm.sectionNetbox.municipalityLabel\")) + \": \", 1),\n _createTextVNode(\" \" + _toDisplayString(r.domicile), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _createVNode(_component_HakoButton, {\n theme: \"success\",\n sm: \"\",\n onClick: ($event: any) => (fillCompany(r.vat_identifier)),\n isBlock: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.select\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ])\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (!_unref(isMobileReactive))\n ? (_openBlock(), _createElementBlock(\"table\", _hoisted_27, [\n _createElementVNode(\"thead\", null, [\n _createElementVNode(\"tr\", null, [\n _createElementVNode(\"th\", null, _toDisplayString(_ctx.$t(\"companyForm.sectionNetbox.nameLabel\")), 1),\n _createElementVNode(\"th\", _hoisted_28, _toDisplayString(_ctx.$t(\"companyForm.sectionNetbox.businessIdLabel\")), 1),\n _createElementVNode(\"th\", null, _toDisplayString(_ctx.$t(\"companyForm.sectionNetbox.municipalityLabel\")), 1),\n _hoisted_29\n ])\n ]),\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(netboxShortResultsComputed.value, (r) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: r.vat_identifier\n }, [\n _createElementVNode(\"td\", null, _toDisplayString(r.name), 1),\n _createElementVNode(\"td\", null, _toDisplayString(r.vat_identifier), 1),\n _createElementVNode(\"td\", null, _toDisplayString(r.domicile), 1),\n _createElementVNode(\"td\", null, [\n _createVNode(_component_HakoButton, {\n theme: \"success\",\n sm: \"\",\n onClick: ($event: any) => (fillCompany(r.vat_identifier))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.select\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ])\n ]))\n }), 128))\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_HakoFullscreenSpinner, {\n modelValue: netboxLoading.value,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((netboxLoading).value = $event))\n }, null, 8, [\"modelValue\"])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./CompanyForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyForm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, vModelSelect as _vModelSelect, withDirectives as _withDirectives } from \"vue\"\n\nconst _hoisted_1 = [\"value\"]\n\nimport { LanguageDto } from \"@api/language-dto\";\nimport { PropType, computed, ref, watch } from \"vue\";\nimport { useRoute } from \"vue-router\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LanguageSelection',\n props: {\n\tlanguages: {\n\t\ttype: Array as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"langChanged\"],\n setup(__props, { emit: __emit }) {\n\n\n\nconst emit = __emit;\n\nconst route = useRoute();\n\nconst org = computed((): string => {\n\tconst orgParam = route.params.org;\n\tif (Array.isArray(orgParam)) {\n\t\treturn orgParam[0];\n\t} else {\n\t\treturn orgParam;\n\t}\n});\n\nconst lang = computed((): string => {\n\tconst orgParam = route.params.lang;\n\tif (Array.isArray(orgParam)) {\n\t\treturn orgParam[0];\n\t} else {\n\t\treturn orgParam;\n\t}\n});\n\nconst value = ref(lang.value);\n\nwatch(\n\tvalue,\n\t() => {\n\t\temit(\"langChanged\", value.value, org.value);\n\t},\n\t{ immediate: true }\n);\n\nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"select\", {\n class: \"form-select\",\n \"aria-label\": \"Display language selection\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((value).value = $event))\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(__props.languages, (lang) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: lang.code,\n value: lang.code\n }, _toDisplayString(`${lang.finnish} / ${lang.english}`), 9, _hoisted_1))\n }), 128))\n ], 512)), [\n [_vModelSelect, value.value]\n ])\n}\n}\n\n})","import script from \"./LanguageSelection.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LanguageSelection.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { useAppStore } from \"@/pinia/appStore\";\nimport { computed } from \"vue\";\nimport { useRouter } from \"vue-router\";\nimport router from \"@/router\";\n\nconst logoUrl = computed(() => {\n\tconst appStore = useAppStore();\n\t// const router = useRouter();\n\n\tif (!router) {\n\t\treturn \"r\";\n\t}\n\n\tconst route = router.currentRoute.value;\n\n\tif (!route) {\n\t\treturn \"x\";\n\t}\n\n\tlet formName = route.meta.formName;\n\tif (!formName) {\n\t\tformName = \"companyForm\";\n\t}\n\n\tconst identifier = appStore.organizationInfo?.organizationIdentifier;\n\tif (!identifier) {\n\t\treturn \"y\";\n\t}\n\n\t// /public/publicform/publicform/logo/companyForm/crm2_jussi_conversiontool\n\tconst apiUrl = process.env[\"VUE_APP_PUBLICFORMAPI\"];\n\treturn `${apiUrl}/public/publicForm/publicForm/logo/${formName}/${identifier}`;\n});\n\nexport { logoUrl };\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vShow as _vShow, withDirectives as _withDirectives, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-11948372\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container mb-4\" }\nconst _hoisted_2 = { class: \"container-fluid\" }\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col-md-8 col-lg-8\" }\nconst _hoisted_5 = { class: \"logo\" }\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = { class: \"mt-4\" }\nconst _hoisted_8 = { class: \"mt-4\" }\nconst _hoisted_9 = { class: \"col-lg-4 col-md-4\" }\nconst _hoisted_10 = { class: \"row\" }\nconst _hoisted_11 = { class: \"col-md-12\" }\nconst _hoisted_12 = {\n class: \"mt-4\",\n style: {\"white-space\":\"pre-wrap\"}\n}\n\nimport provideCompanyFormInfo from \"@/types/symbols/provideCompanyFormInfo\";\nimport { CompanyFieldCategoryDto } from \"@api/company-field-category-dto\";\nimport { onMounted, ref, computed, provide, watch } from \"vue\";\nimport publicFormApi from \"@/publicFormApi\";\nimport CompanyForm from \"@/components/form/companyForm/CompanyForm.vue\";\nimport FormSection from \"@/components/form/FormSection.vue\";\nimport { FormDataDto } from \"@api/form-data-dto\";\nimport { getEntityTranslation, getOrganizationNameTranslation } from \"@/helpers\";\nimport LanguageSelection from \"@/components/LanguageSelection.vue\";\nimport router from \"@/router\";\nimport { useAppStore } from \"@/pinia/appStore\";\nimport { defaultTitle } from \"@/router\";\nimport { logoUrl } from \"@/composables/logoUrl\";\nimport { useI18n } from \"vue-i18n\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyFormView',\n setup(__props) {\n\nconst i18n = useI18n();\n\nconst orgInfo = computed(() => useAppStore().organizationInfo);\nconst formInfo = ref | null>(null);\nconst fieldCategories = ref([]);\n\nprovide(provideCompanyFormInfo, formInfo);\n\nconst session = useAppStore();\n\nconst onSuccess = () => {\n\tsession.$state.formSentSuccesfully = true;\n\trouter.push({ name: \"CompanyFormSuccess\" });\n};\n\nconst onFailed = () => {\n\tsession.$state.formSentSuccesfully = false;\n\trouter.push({ name: \"CompanyFormFailed\" });\n};\n\nconst titleComputed = computed(() => {\n\tif (formInfo.value) {\n\t\tconst t = getEntityTranslation(formInfo.value.publicForm.translations, \"name\");\n\t\tif (t) {\n\t\t\treturn t;\n\t\t}\n\t}\n\treturn null;\n});\n\n// const organizationName = computed(() => {\n// \tconst currentLocale = useI18n().locale.value;\n// \tconst translationName = formInfo.value?.publicForm.translations.filter(\n// \t\t(t) => t.languageCode === currentLocale\n// \t);\n\n// \tif (translationName && translationName[0] && translationName[0].publicOrganizationName) {\n// \t\treturn translationName[0].publicOrganizationName;\n// \t}\n\n// \t// Fallback\n// \treturn formInfo.value?.publicForm.publicOrganizationName;\n// });\n\nwatch(titleComputed, (newTitle) => {\n\tif (newTitle) {\n\t\twindow.document.title = newTitle;\n\t\treturn;\n\t}\n\twindow.document.title = defaultTitle;\n});\n\nonMounted(() => {\n\tsession.$state.formSentSuccesfully = false;\n\n\tpublicFormApi.call.companyForm.get.fields().then((resp) => {\n\t\tif (resp.isSuccessful && resp.data) {\n\t\t\tfieldCategories.value = resp.data;\n\t\t}\n\t});\n\n\tpublicFormApi.call.companyForm.get.getFormInfo().then((resp) => {\n\t\tif (resp.isSuccessful && resp.data) {\n\t\t\tformInfo.value = resp.data;\n\n\t\t\t// const t = getEntityTranslation(resp.data.publicForm.translations, \"name\");\n\t\t}\n\t});\n});\n\nwatch(\n\t() => i18n.locale.value,\n\t() => {\n\t\tpublicFormApi.call.companyForm.get.getFormInfo().then((resp) => {\n\t\t\tif (resp.isSuccessful && resp.data) {\n\t\t\t\tconst data = resp.data;\n\n\t\t\t\t// Update translations\n\t\t\t\tif (formInfo.value) {\n\t\t\t\t\tformInfo.value.publicForm.translations = data.publicForm.translations;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n);\n\nconst updateUrl = (lang: string, org: string) => {\n\trouter.replace({\n\t\tname: \"CompanyForm\",\n\t\tparams: {\n\t\t\torg: org,\n\t\t\tlang: lang,\n\t\t},\n\t});\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (formInfo.value)\n ? (_openBlock(), _createBlock(FormSection, { key: 0 }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"img\", { src: _unref(logoUrl) }, null, 8, _hoisted_6)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"h1\", null, _toDisplayString(_unref(getEntityTranslation)(formInfo.value.publicForm.translations, \"name\")), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h2\", _hoisted_8, _toDisplayString(_unref(getOrganizationNameTranslation)(formInfo.value)), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(LanguageSelection, {\n languages: formInfo.value.publicForm.languages,\n onLangChanged: updateUrl\n }, null, 8, [\"languages\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"p\", _hoisted_12, _toDisplayString(_unref(getEntityTranslation)(formInfo.value.publicForm.translations, \"publicDescription\")), 1)\n ])\n ])\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (formInfo.value)\n ? (_openBlock(), _createBlock(CompanyForm, {\n key: 1,\n onSaveSuccess: onSuccess,\n onSaveFailed: onFailed\n }))\n : _createCommentVNode(\"\", true)\n ], 512)), [\n [_vShow, orgInfo.value]\n ])\n}\n}\n\n})","import script from \"./CompanyFormView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyFormView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CompanyFormView.vue?vue&type=style&index=0&id=11948372&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-11948372\"]])\n\nexport default __exports__","import { FormDataDto } from \"@api/form-data-dto\";\nimport { PersonFieldCategoryDto } from \"@api/person-field-category-dto\";\nimport { InjectionKey, Ref } from \"vue\";\n\nexport default Symbol(\"Person form info (PublicForm && FieldCategories)\") as InjectionKey<\n\tRef | null>\n>;\n","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, unref as _unref, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"mb-2\" }\nconst _hoisted_2 = [\"href\"]\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"span\", null, \" (europass.europa.eu)\", -1)\nconst _hoisted_4 = { class: \"d-flex justify-content-between align-items-center\" }\nconst _hoisted_5 = { class: \"d-flex align-items-center\" }\nconst _hoisted_6 = {\n class: \"me-3\",\n style: {\"min-width\":\"80px\"}\n}\n\nimport LanguageSelect from \"./LanguageSelect.vue\";\n\nimport { useValidateProps } from \"@/composables/fields\";\nimport { computed, nextTick, PropType, ref } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport Field from \"./form/Field.vue\";\nimport { LanguageDto } from \"@api/language-dto\";\nimport { LanguageSkillDto } from \"@api/language-skill-dto\";\nimport { LanguageSkillLevel } from \"@db/language-skill-level\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { getLanguageTranslation } from \"@/helpers\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LanguageSkillsField',\n props: {\n\tmodelValue: {\n\t\ttype: [Array, null] as PropType,\n\t\trequired: true,\n\t},\n\tpropertyPath: {\n\t\ttype: String,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst { t } = useI18n();\n\nconst props = __props;\n\nconst refTempLang = ref(null as LanguageDto | null);\n\nconst cValue = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(newValue: LanguageSkillDto[] | null) {\n\t\temit(\"update:modelValue\", newValue);\n\t},\n});\n\nconst cSkillLevels = computed(() => {\n\tconst levels = [] as string[];\n\n\tconst enumLevels = Object.keys(dbEnums.LanguageSkillLevel).filter((v) => isNaN(Number(v)));\n\n\tenumLevels.forEach((r) => levels.push(r));\n\n\treturn levels;\n});\n\nconst fnTransformName = (name: string) => {\n\tif (name == \"Native\") return t(\"generic.nativeLanguageSkill\");\n\tif (name == \"Other\") return \"-\";\n\treturn name;\n};\n\nconst validateProps = useValidateProps();\n\nconst addLanguageSkill = (lang: LanguageDto) => {\n\tif (lang === null) return;\n\tif (!cValue.value) cValue.value = [] as LanguageSkillDto[];\n\n\tcValue.value.push({\n\t\tid: 0,\n\t\tlanguageCode: lang.code,\n\t\tlanguage: lang,\n\t\tskillLevel: \"Other\" as unknown as LanguageSkillLevel,\n\t\tpersonImmigrantDataId: null,\n\t} as LanguageSkillDto);\n\n\tnextTick(() => {\n\t\trefTempLang.value = null;\n\t});\n};\n\nconst removeLanguageSkill = (index: number) => {\n\tif (cValue.value) {\n\t\tcValue.value.splice(index, 1);\n\t}\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoRadio = _resolveComponent(\"HakoRadio\")!\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"i\", null, [\n _createElementVNode(\"a\", {\n href: \n\t\t\t\t\t\t'https://europass.europa.eu/system/files/2020-05/CEFR%20self-assessment%20grid%20' +\n\t\t\t\t\t\t_ctx.$i18n.locale.toUpperCase() +\n\t\t\t\t\t\t'.pdf'\n\t\t\t\t\t,\n target: \"_blank\"\n }, _toDisplayString(_ctx.$t(\"generic.showLanguageSkillDescription\")), 9, _hoisted_2),\n _hoisted_3\n ])\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(cValue.value, (skill, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"card px-3 py-2 mb-2\",\n key: i\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(Field, {\n propertyPath: `${__props.propertyPath}[${i}].skillLevel`,\n label: _ctx.$t('generic.skillLevel'),\n noLabel: \"\"\n }, {\n default: _withCtx(({ propertyPaths }) => [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"strong\", null, _toDisplayString(_unref(getLanguageTranslation)(skill.language) || skill.languageCode), 1)\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(cSkillLevels.value, (level) => {\n return (_openBlock(), _createBlock(_component_HakoRadio, {\n key: level,\n modelValue: skill.skillLevel,\n \"onUpdate:modelValue\": [($event: any) => ((skill.skillLevel) = $event), ($event: any) => (_unref(validateProps)(propertyPaths))],\n inline: \"\",\n value: level\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(fnTransformName(level)), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"value\"]))\n }), 128))\n ])\n ]),\n _: 2\n }, 1032, [\"propertyPath\", \"label\"]),\n _createVNode(_component_HakoBsIcon, {\n style: {\"cursor\":\"pointer\"},\n class: \"text-danger\",\n icon: \"trash-fill\",\n onClick: () => removeLanguageSkill(i)\n }, null, 8, [\"onClick\"])\n ])\n ]))\n }), 128)),\n _createVNode(LanguageSelect, {\n valueSingle: refTempLang.value,\n \"onUpdate:valueSingle\": [\n _cache[0] || (_cache[0] = ($event: any) => ((refTempLang).value = $event)),\n addLanguageSkill\n ],\n ajax: \"\",\n isInvalid: undefined,\n placeholder: _ctx.$t('generic.searchLanguage')\n }, {\n default: _withCtx(({ openMenu }) => [\n _createVNode(_component_HakoButton, {\n onClick: openMenu,\n theme: \"success\",\n uncapitalize: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.addLanguageSkill\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"valueSingle\", \"placeholder\"])\n ]))\n}\n}\n\n})","import script from \"./LanguageSkillsField.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LanguageSkillsField.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, vModelRadio as _vModelRadio, createElementVNode as _createElementVNode, withDirectives as _withDirectives, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"entity-field-radio\" }\nconst _hoisted_2 = [\"id\", \"name\", \"value\", \"disabled\"]\nconst _hoisted_3 = [\"for\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.options, (option, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: option.value?.toString(),\n class: _normalizeClass([\"form-check\", {\n\t\t\t\t'form-check-inline': _ctx.inline,\n\t\t\t}])\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n class: \"form-check-input\",\n type: \"radio\",\n id: `efr-${_ctx.id}-${index}`,\n name: `efr-${_ctx.id}-${index}`,\n value: option.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.modelValueComputed) = $event)),\n disabled: option.disabled === true\n }, null, 8, _hoisted_2), [\n [_vModelRadio, _ctx.modelValueComputed]\n ]),\n _createElementVNode(\"label\", {\n class: \"form-check-label\",\n for: `efr-${_ctx.id}-${index}`\n }, _toDisplayString(option.text), 9, _hoisted_3)\n ], 2))\n }), 128))\n ]))\n}","\nimport { defineComponent, PropType } from \"vue\";\nimport { SelectOption } from \"@/types/interfaces/field\";\n\nexport default defineComponent({\n\tprops: {\n\t\tmodelValue: {\n\t\t\trequired: true,\n\t\t},\n\t\toptions: {\n\t\t\ttype: Array as PropType,\n\t\t\trequired: true,\n\t\t},\n\t\tinline: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\tcomputed: {\n\t\tmodelValueComputed: {\n\t\t\tget(): any {\n\t\t\t\treturn this.modelValue as any;\n\t\t\t},\n\t\t\tset(newVal: any) {\n\t\t\t\tthis.$emit(\"update:modelValue\", newVal);\n\t\t\t},\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tid: new Date().valueOf(),\n\t\t};\n\t},\n});\n","import { render } from \"./RadioField.vue?vue&type=template&id=219b86fc&ts=true\"\nimport script from \"./RadioField.vue?vue&type=script&lang=ts\"\nexport * from \"./RadioField.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"mt-4\" }\nconst _hoisted_4 = { class: \"mt-4\" }\nconst _hoisted_5 = { class: \"mt-4\" }\nconst _hoisted_6 = { class: \"mt-4\" }\n\nimport MunicipalitySelect from \"@/components/MunicipalitySelect.vue\";\nimport CountrySelect from \"@/components/CountrySelect.vue\";\nimport LanguageSelect from \"@/components/LanguageSelect.vue\";\nimport LanguageSkillsField from \"@/components/LanguageSkillsField.vue\";\nimport RadioField from \"@/components/RadioField.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { isMobileReactive } from \"@/helpers\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { SelectOption } from \"@/types/interfaces/field\";\nimport { DraftStartupperDto } from \"@api/draft-startupper-dto\";\nimport { PropType, computed, ref } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'StartupperFormBasicFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\nconst { t } = useI18n();\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\nconst genderOptions = computed(\n\t() =>\n\t\t[\n\t\t\t{ text: t(\"genders.man\"), value: dbEnums.Genders.Man },\n\t\t\t{ text: t(\"genders.woman\"), value: dbEnums.Genders.Woman },\n\t\t\t{ text: t(\"genders.other\"), value: dbEnums.Genders.Other },\n\t\t\t{ text: t(\"genders.unknown\"), value: null },\n\t\t] as SelectOption[]\n);\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n const _component_HakoDatePicker = _resolveComponent(\"HakoDatePicker\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"startupperForm.sectionHeaders.basicInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.StartupperBasicInfo)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.StartupperBasicInfo.fields\n }, {\n [_unref(fields).StartupperFirstName]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.firstName\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.firstName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.firstName) = $event)),\n id: elementId,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StartupperSecondNames]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.secondNames\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.secondNames,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.secondNames) = $event)),\n id: elementId,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StartupperLastName]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.lastName\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.lastName,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.lastName) = $event)),\n id: elementId,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StartupperCommunicationLanguage]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.communicationLanguageId\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(LanguageSelect, {\n valueSingle: formDataComputed.value.communicationLanguage,\n \"onUpdate:valueSingle\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.communicationLanguage) = $event)),\n valueSingleId: formDataComputed.value.communicationLanguageId,\n \"onUpdate:valueSingleId\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.communicationLanguageId) = $event)),\n communicationRole: _unref(dbEnums).PersonUserRoleIds.AlkavatYrittajat,\n id: elementId,\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"communicationRole\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StartupperIsElectronicCommunicationAllowed]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.isElectronicCommunicationAllowed\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formDataComputed.value.isElectronicCommunicationAllowed,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.isElectronicCommunicationAllowed) = $event)),\n for: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"for\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).StartupperLanguageSkills]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"languageSkills\"\n }, {\n default: _withCtx(() => [\n _createVNode(LanguageSkillsField, {\n modelValue: formDataComputed.value.languageSkills,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.languageSkills) = $event)),\n propertyPath: \"draftStartupperData.languageSkills\",\n style: {\"max-width\":\"750px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StartupperTitle]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.title\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.title,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.title) = $event)),\n id: elementId,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StartupperIsContactAdmitAllowed]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.isContactInfoAdmitAllowed\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formDataComputed.value.isContactInfoAdmitAllowed,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.isContactInfoAdmitAllowed) = $event)),\n for: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.dataDisclosureToThirdParty\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"for\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).StartupperDateOfBirth]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.birthday\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: formDataComputed.value.birthday,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((formDataComputed.value.birthday) = $event)),\n allowEmpty: \"\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"},\n placeholder: _ctx.$t('generic.datePlaceholder'),\n forceUtcMidnight: \"\"\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StartupperGender]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.genderId\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(RadioField, {\n modelValue: formDataComputed.value.genderId,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((formDataComputed.value.genderId) = $event)),\n inline: !_unref(isMobileReactive),\n options: genderOptions.value,\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"inline\", \"options\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StartupperCountryOfBirth]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.countryOfBirth\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(CountrySelect, {\n valueSingleId: formDataComputed.value.countryOfBirthId,\n \"onUpdate:valueSingleId\": _cache[11] || (_cache[11] = ($event: any) => ((formDataComputed.value.countryOfBirthId) = $event)),\n valueSingle: formDataComputed.value.countryOfBirth,\n \"onUpdate:valueSingle\": _cache[12] || (_cache[12] = ($event: any) => ((formDataComputed.value.countryOfBirth) = $event)),\n ajax: true,\n id: elementId,\n lowercase: \"\",\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingleId\", \"valueSingle\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).StartupperNationality]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.nationality\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(CountrySelect, {\n valueSingle: formDataComputed.value.nationality,\n \"onUpdate:valueSingle\": _cache[13] || (_cache[13] = ($event: any) => ((formDataComputed.value.nationality) = $event)),\n valueSingleId: formDataComputed.value.nationalityId,\n \"onUpdate:valueSingleId\": _cache[14] || (_cache[14] = ($event: any) => ((formDataComputed.value.nationalityId) = $event)),\n ajax: true,\n id: elementId,\n lowercase: \"\",\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).StartupperHomeMunicipality]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.homeMunicipalityId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(MunicipalitySelect, {\n valueSingle: formDataComputed.value.homeMunicipality,\n \"onUpdate:valueSingle\": _cache[15] || (_cache[15] = ($event: any) => ((formDataComputed.value.homeMunicipality) = $event)),\n valueSingleId: formDataComputed.value.homeMunicipalityId,\n \"onUpdate:valueSingleId\": _cache[16] || (_cache[16] = ($event: any) => ((formDataComputed.value.homeMunicipalityId) = $event)),\n ajax: \"\",\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./StartupperFormBasicFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StartupperFormBasicFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport MunicipalitySelect from \"@/components/MunicipalitySelect.vue\";\nimport AddressBlock from \"@/components/AddressBlock.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftStartupperDto } from \"@api/draft-startupper-dto\";\nimport { PropType, computed } from \"vue\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport { isMobileReactive } from \"@/helpers\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'StartupperFormContactFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoTeleInput = _resolveComponent(\"HakoTeleInput\")!\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"startupperForm.sectionHeaders.contactInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.StartupperContactInfo)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.StartupperContactInfo.fields\n }, {\n [_unref(fields).StartupperPhone]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.phone\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTeleInput, {\n modelValue: formDataComputed.value.phone,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.phone) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StartupperEmail]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.email\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.email,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.email) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StartupperPostalAddress]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n noLabel: \"\"\n }, {\n default: _withCtx(({ fieldLabel }) => [\n _createVNode(AddressBlock, {\n modelValue: formDataComputed.value.postalAddress,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.postalAddress) = $event)),\n idPrefix: field.id,\n parentPath: \"draftStartupperData.postalAddress\",\n label: fieldLabel,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"idPrefix\", \"label\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StartupperHomeMunicipality]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.homeMunicipalityId\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(MunicipalitySelect, {\n valueSingle: formDataComputed.value.homeMunicipality,\n \"onUpdate:valueSingle\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.homeMunicipality) = $event)),\n valueSingleId: formDataComputed.value.homeMunicipalityId,\n \"onUpdate:valueSingleId\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.homeMunicipalityId) = $event)),\n ajax: \"\",\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./StartupperFormContactFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StartupperFormContactFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"mt-4\" }\n\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftStartupperDto } from \"@api/draft-startupper-dto\";\nimport { PropType, computed } from \"vue\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'StartupperFormAdditionalFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"startupperForm.sectionHeaders.additionalInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.StartupperAdditionalInfo)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.StartupperAdditionalInfo.fields\n }, {\n [_unref(fields).StartupperAdditionalInfo]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.additionalInfo\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.additionalInfo,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.additionalInfo) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./StartupperFormAdditionalFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StartupperFormAdditionalFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, unref as _unref, withModifiers as _withModifiers, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"d-flex gap-2 mb-1\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = [\"onClick\"]\nconst _hoisted_4 = { key: 1 }\nconst _hoisted_5 = {\n key: 0,\n class: \"mb-2\"\n}\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"span\", null, \" > \", -1)\nconst _hoisted_7 = /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1)\nconst _hoisted_8 = [\"onClick\"]\nconst _hoisted_9 = { key: 2 }\n\nimport { ref } from \"vue\";\nimport type { Tol2008TreeDto } from \"@api/tol2008-tree-dto\";\nimport { getEntityTranslation } from \"@/helpers\";\nimport { watch } from \"vue\";\nimport publicFormApi from \"@/publicFormApi\";\nimport { onMounted } from \"vue\";\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Tol2008PickerList',\n emits: [\"pick\"],\n setup(__props, { emit: __emit }) {\n\nconst loading = ref(false as boolean);\nconst topLevelTols = ref([] as Tol2008TreeDto[]);\nconst selectedTolList = ref([] as Tol2008TreeDto[]);\nconst selectedTopLevel = ref(null as null | Tol2008TreeDto);\nconst codeSearch = ref(\"\" as string);\nconst nameSearch = ref(\"\" as string);\nconst emit = __emit;\n\nonMounted(() => {\n\tgetTopLevelTols();\n});\nconst getTopLevelTols = async () => {\n\tloading.value = true;\n\tconst resp = await publicFormApi.call.form.get.tol2008TopLevel();\n\tif (resp.isSuccessful && resp.data) {\n\t\ttopLevelTols.value = resp.data;\n\t}\n\tloading.value = false;\n};\nconst backToTopLevel = () => {\n\tselectedTopLevel.value = null;\n\tcodeSearch.value = \"\";\n\tnameSearch.value = \"\";\n};\nconst pickTol = (tol: Tol2008TreeDto) => {\n\tbackToTopLevel();\n\temit(\"pick\", tol);\n};\nconst searchTol2008ByCode = async (search: string) => {\n\tif (search.length == 0) {\n\t\tbackToTopLevel();\n\t\treturn;\n\t}\n\tnameSearch.value = \"\";\n\tloading.value = true;\n\tconst resp = await publicFormApi.call.form.get.searchTol2008ByCode(search);\n\tif (resp.isSuccessful && resp.data) {\n\t\tselectedTolList.value = resp.data;\n\t}\n\tloading.value = false;\n};\nconst searchTol2008ByName = async (search: string) => {\n\tif (search.length == 0) {\n\t\tbackToTopLevel();\n\t\treturn;\n\t}\n\tif (search.length < 3) return; //short-circuit\n\tcodeSearch.value = \"\";\n\tloading.value = true;\n\tconst resp = await publicFormApi.call.form.get.searchTol2008ByName(search);\n\tif (resp.isSuccessful && resp.data) {\n\t\tselectedTolList.value = resp.data;\n\t}\n\tloading.value = false;\n};\nconst searchTol2008ByRootCode = (search: string) => {\n\tloading.value = true;\n\tselectedTolList.value = [];\n\tpublicFormApi.call.form.get\n\t\t.tol2008ByRootCode(search)\n\t\t.then((r) => {\n\t\t\tif (r.isSuccessful && r.data) {\n\t\t\t\tselectedTolList.value = r.data;\n\t\t\t}\n\t\t})\n\t\t.finally(() => (loading.value = false));\n};\n\nwatch(selectedTopLevel, (newval) => {\n\tif (newval) {\n\t\tsearchTol2008ByRootCode(newval.code);\n\t}\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoSpinner = _resolveComponent(\"HakoSpinner\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_HakoInput, {\n placeholder: \"Hae koodilla\",\n modelValue: codeSearch.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((codeSearch).value = $event)),\n onDebounce: _cache[1] || (_cache[1] = ($event: any) => (searchTol2008ByCode(codeSearch.value)))\n }, null, 8, [\"modelValue\"]),\n _createVNode(_component_HakoInput, {\n placeholder: \"Hae nimellä\",\n modelValue: nameSearch.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((nameSearch).value = $event)),\n onDebounce: _cache[3] || (_cache[3] = ($event: any) => (searchTol2008ByName(nameSearch.value)))\n }, null, 8, [\"modelValue\"])\n ]),\n (!selectedTopLevel.value && codeSearch.value.length == 0 && nameSearch.value.length == 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(topLevelTols.value, (topTol) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: topTol.code\n }, [\n _createElementVNode(\"a\", {\n onClick: _withModifiers(($event: any) => (selectedTopLevel.value = topTol), [\"prevent\"]),\n href: \"#\"\n }, _toDisplayString(topTol.code) + \" \" + _toDisplayString(_unref(getEntityTranslation)(topTol.translations, \"name\")), 9, _hoisted_3)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (selectedTopLevel.value || codeSearch.value.length > 0 || nameSearch.value.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n (selectedTopLevel.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: _cache[4] || (_cache[4] = _withModifiers(($event: any) => (backToTopLevel()), [\"prevent\"]))\n }, \"Päätasot\"),\n _hoisted_6,\n _createTextVNode(\" \" + _toDisplayString(_unref(getEntityTranslation)(selectedTopLevel.value.translations, \"name\")), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_7,\n (loading.value)\n ? (_openBlock(), _createBlock(_component_HakoSpinner, { key: 1 }))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(selectedTolList.value, (tol2008) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: tol2008.code\n }, [\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: _withModifiers(($event: any) => (pickTol(tol2008)), [\"prevent\"])\n }, _toDisplayString(tol2008.rootCode) + \" \" + _toDisplayString(tol2008.code) + \" \" + _toDisplayString(_unref(getEntityTranslation)(tol2008.translations, \"name\")), 9, _hoisted_8)\n ]))\n }), 128)),\n (selectedTolList.value.length === 0 && !loading.value)\n ? (_openBlock(), _createElementBlock(\"i\", _hoisted_9, _toDisplayString(_ctx.$t(\"generic.noSearchResults\")), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","import script from \"./Tol2008PickerList.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Tol2008PickerList.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, unref as _unref, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, createVNode as _createVNode, resolveComponent as _resolveComponent, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"d-flex align-items-center\"\n}\n\nimport { ref, type PropType } from \"vue\";\nimport type { Tol2008TreeDto } from \"@api/tol2008-tree-dto\";\nimport Tol2008PickerList from \"./Tol2008PickerList.vue\";\nimport { getEntityTranslation } from \"@/helpers\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Tol2008Picker',\n props: {\n\tmodelValue: {\n\t\ttype: [Object, null] as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst props = __props;\nconst isOpen = ref(false as boolean);\nconst showbtn = ref(null as null | HTMLElement);\nconst emit = __emit;\nconst selectTol2008 = (ev: Tol2008TreeDto) => {\n\temit(\"update:modelValue\", ev);\n\tisOpen.value = false;\n};\nconst removeSelection = () => {\n\temit(\"update:modelValue\", null);\n};\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoWindow = _resolveComponent(\"HakoWindow\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (props.modelValue)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", null, _toDisplayString(props.modelValue.rootCode) + \" \" + _toDisplayString(props.modelValue.code) + \" - \" + _toDisplayString(_unref(getEntityTranslation)(props.modelValue.translations, \"name\")), 1),\n _createElementVNode(\"button\", {\n type: \"button\",\n class: \"btn-close ms-2\",\n \"aria-label\": \"Close\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (removeSelection()))\n })\n ]))\n : _createCommentVNode(\"\", true),\n (!props.modelValue)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n ref_key: \"showbtn\",\n ref: showbtn\n }, [\n _createElementVNode(\"a\", {\n href: \"#\",\n onClick: _cache[1] || (_cache[1] = _withModifiers(($event: any) => (isOpen.value = true), [\"prevent\",\"stop\"]))\n }, _toDisplayString(_ctx.$t(\"tol.openSelection\")), 1)\n ], 512))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_HakoWindow, {\n modelValue: isOpen.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((isOpen).value = $event)),\n title: \"Tol2008\",\n size: \"l\",\n positionUnderElement: showbtn.value\n }, {\n default: _withCtx(() => [\n _createVNode(Tol2008PickerList, {\n onPick: _cache[2] || (_cache[2] = ($event: any) => (selectTol2008($event)))\n })\n ]),\n _: 1\n }, 8, [\"modelValue\", \"positionUnderElement\"])\n ]))\n}\n}\n\n})","import script from \"./Tol2008Picker.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Tol2008Picker.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, renderSlot as _renderSlot, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport MunicipalitySelect from \"@/components/MunicipalitySelect.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftStartupperDto } from \"@api/draft-startupper-dto\";\nimport { PropType, computed, watch } from \"vue\";\nimport { BusinessIdeaFieldCategoryMap } from \"..\";\nimport { isMobileReactive } from \"@/helpers\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport Tol2008Picker from \"@/components/Tol2008Picker.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'StartupperFormBusinessIdeaBasicFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tnoBusinessIdea: {\n\t\ttype: Boolean as PropType,\n\t\trequired: false,\n\t\tdefault: () => false,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst fields = dbEnums.BusinessIdeaFields;\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nwatch(\n\t() => props.noBusinessIdea,\n\t(val) => {\n\t\tif (val) formDataComputed.value.businessIdeaName = \"Ei yritysideaa\";\n\t\telse formDataComputed.value.businessIdeaName = \"\";\n\t},\n\t{ immediate: false }\n);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"startupperForm.sectionHeaders.businessIdeaBasicInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n _renderSlot(_ctx.$slots, \"default\"),\n (!__props.noBusinessIdea && __props.fieldsMap.Basic)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.Basic.fields\n }, {\n [_unref(fields).Name]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.businessIdeaName\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.businessIdeaName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.businessIdeaName) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Description]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.businessIdeaDescription\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.businessIdeaDescription,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.businessIdeaDescription) = $event)),\n id: elementId\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Municipality]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.businessIdeaMunicipalityId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(MunicipalitySelect, {\n valueSingle: formDataComputed.value.businessIdeaMunicipality,\n \"onUpdate:valueSingle\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.businessIdeaMunicipality) = $event)),\n valueSingleId: formDataComputed.value.businessIdeaMunicipalityId,\n \"onUpdate:valueSingleId\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.businessIdeaMunicipalityId) = $event)),\n ajax: \"\",\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).BusinessPremiseRequirement]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.businessIdeaPremiseRequirementId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.businessIdeaBusinessPremiseRequirement,\n \"onUpdate:valueSingle\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.businessIdeaBusinessPremiseRequirement) = $event)),\n valueSingleId: \n\t\t\t\t\t\t\t\tformDataComputed.value.businessIdeaBusinessPremiseRequirementId\n\t\t\t\t\t\t\t,\n \"onUpdate:valueSingleId\": _cache[5] || (_cache[5] = ($event: any) => ((\n\t\t\t\t\t\t\t\tformDataComputed.value.businessIdeaBusinessPremiseRequirementId\n\t\t\t\t\t\t\t) = $event)),\n infoTable: \"BusinessPremiseRequirements\",\n translationsTable: \"BusinessPremiseRequirementTranslations\",\n translationProperty: \"name\",\n ajax: false,\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).BusinessFieldGroup]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.businessIdeaBusinessFieldGroupId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.businessIdeaBusinessFieldGroup,\n \"onUpdate:valueSingle\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.businessIdeaBusinessFieldGroup) = $event)),\n valueSingleId: formDataComputed.value.businessIdeaBusinessFieldGroupId,\n \"onUpdate:valueSingleId\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.businessIdeaBusinessFieldGroupId) = $event)),\n infoTable: \"BusinessFieldGroups\",\n translationsTable: \"BusinessFieldGroupTranslations\",\n translationProperty: \"name\",\n ajax: false,\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).BusinessField]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.businessIdeaBusinessFieldId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.businessIdeaBusinessField,\n \"onUpdate:valueSingle\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.businessIdeaBusinessField) = $event)),\n valueSingleId: formDataComputed.value.businessIdeaBusinessFieldId,\n \"onUpdate:valueSingleId\": _cache[9] || (_cache[9] = ($event: any) => ((formDataComputed.value.businessIdeaBusinessFieldId) = $event)),\n infoTable: \"BusinessFields\",\n translationsTable: \"BusinessFieldTranslations\",\n translationProperty: \"name\",\n ajax: false,\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Tol2008]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.businessIdeaTol2008\"\n }, {\n default: _withCtx(() => [\n _createVNode(Tol2008Picker, {\n modelValue: formDataComputed.value.businessIdeaTol2008,\n \"onUpdate:modelValue\": [\n _cache[10] || (_cache[10] = ($event: any) => ((formDataComputed.value.businessIdeaTol2008) = $event)),\n _cache[11] || (_cache[11] = ($event: any) => (\n\t\t\t\t\t\t\t\tformDataComputed.value.businessIdeaTol2008Id = $event?.id ?? null\n\t\t\t\t\t\t\t))\n ]\n }, null, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).BusinessIdeaType]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.businessIdeaTypeId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.businessIdeaType,\n \"onUpdate:valueSingle\": _cache[12] || (_cache[12] = ($event: any) => ((formDataComputed.value.businessIdeaType) = $event)),\n valueSingleId: formDataComputed.value.businessIdeaTypeId,\n \"onUpdate:valueSingleId\": _cache[13] || (_cache[13] = ($event: any) => ((formDataComputed.value.businessIdeaTypeId) = $event)),\n infoTable: \"BusinessIdeaTypes\",\n translationsTable: \"BusinessIdeaTypeTranslations\",\n translationProperty: \"name\",\n ajax: false,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).EmploysTotal]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n \"property-path\": \"draftStartupperData.employsTotal\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(_component_HakoInput, {\n type: \"number\",\n modelValue: formDataComputed.value.employsTotal,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((formDataComputed.value.employsTotal) = $event)),\n modelModifiers: { number: true }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).EmploysEntrepreneurs]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n \"property-path\": \"draftStartupperData.employsEntrepreneurs\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(_component_HakoInput, {\n type: \"number\",\n modelValue: formDataComputed.value.employsEntrepreneurs,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((formDataComputed.value.employsEntrepreneurs) = $event)),\n modelModifiers: { number: true }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).EmploysFullTime]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n \"property-path\": \"draftStartupperData.employsFulltime\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(_component_HakoInput, {\n type: \"number\",\n modelValue: formDataComputed.value.employsFulltime,\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => ((formDataComputed.value.employsFulltime) = $event)),\n modelModifiers: { number: true }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).EmploysPartTime]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n \"property-path\": \"draftStartupperData.employsParttime\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(_component_HakoInput, {\n type: \"number\",\n modelValue: formDataComputed.value.employsParttime,\n \"onUpdate:modelValue\": _cache[17] || (_cache[17] = ($event: any) => ((formDataComputed.value.employsParttime) = $event)),\n modelModifiers: { number: true }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).EmploysJobSearchers]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n \"property-path\": \"draftStartupperData.employsUnemployed\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(_component_HakoInput, {\n type: \"number\",\n modelValue: formDataComputed.value.employsUnemployed,\n \"onUpdate:modelValue\": _cache[18] || (_cache[18] = ($event: any) => ((formDataComputed.value.employsUnemployed) = $event)),\n modelModifiers: { number: true }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).EmploysWomen]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n \"property-path\": \"draftStartupperData.employsWomen\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(_component_HakoInput, {\n type: \"number\",\n modelValue: formDataComputed.value.employsWomen,\n \"onUpdate:modelValue\": _cache[19] || (_cache[19] = ($event: any) => ((formDataComputed.value.employsWomen) = $event)),\n modelModifiers: { number: true }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).EmploysYouth]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n \"property-path\": \"draftStartupperData.employsYouth\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(_component_HakoInput, {\n type: \"number\",\n modelValue: formDataComputed.value.employsYouth,\n \"onUpdate:modelValue\": _cache[20] || (_cache[20] = ($event: any) => ((formDataComputed.value.employsYouth) = $event)),\n modelModifiers: { number: true }\n }, null, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 3\n }))\n}\n}\n\n})","import script from \"./StartupperFormBusinessIdeaBasicFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StartupperFormBusinessIdeaBasicFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftStartupperDto } from \"@api/draft-startupper-dto\";\nimport { PropType, computed } from \"vue\";\nimport { BusinessIdeaFieldCategoryMap } from \"..\";\nimport { isMobileReactive } from \"@/helpers\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'StartupperFormBusinessIdeaBackgroundFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst fields = dbEnums.BusinessIdeaFields;\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n const _component_HakoRadio = _resolveComponent(\"HakoRadio\")!\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"startupperForm.sectionHeaders.businessIdeaBackgroundInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.Basic)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.BackgroundInfo!.fields\n }, {\n [_unref(fields).EducationClassification]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.educationAndQualificationLevelId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.educationAndQualificationLevel,\n \"onUpdate:valueSingle\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.educationAndQualificationLevel) = $event)),\n valueSingleId: formDataComputed.value.educationAndQualificationLevelId,\n \"onUpdate:valueSingleId\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.educationAndQualificationLevelId) = $event)),\n infoTable: \"EducationAndQualificationLevels\",\n translationsTable: \"EducationAndQualificationLevelTranslations\",\n translationProperty: \"name\",\n ajax: false,\n style: {\"max-width\":\"750px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).EducationDescription]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.educationDescription\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.educationDescription,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.educationDescription) = $event)),\n id: elementId\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).EmploymentClassification]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.employmentStatusId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.employmentStatus,\n \"onUpdate:valueSingle\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.employmentStatus) = $event)),\n valueSingleId: formDataComputed.value.employmentStatusId,\n \"onUpdate:valueSingleId\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.employmentStatusId) = $event)),\n infoTable: \"EmploymentStatuses\",\n translationsTable: \"EmploymentStatusTranslations\",\n translationProperty: \"name\",\n ajax: false,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).EmploymentDescription]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.employmentDescription\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.employmentDescription,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.employmentDescription) = $event)),\n id: elementId\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).WorkExperienceDescription]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.workExperienceDescription\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.workExperienceDescription,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.workExperienceDescription) = $event)),\n id: elementId\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Schools]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.schools\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.schools,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.schools) = $event)),\n id: elementId\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).IsFullTime]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.isFullTime\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_HakoRadio, {\n value: true,\n inline: \"\",\n name: \"isFullTime\",\n modelValue: formDataComputed.value.isFullTime,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.isFullTime) = $event))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"businessidea.fulltime\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_HakoRadio, {\n value: false,\n inline: \"\",\n name: \"isFullTime\",\n modelValue: formDataComputed.value.isFullTime,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((formDataComputed.value.isFullTime) = $event))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"businessidea.parttime\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_HakoRadio, {\n value: null,\n inline: \"\",\n name: \"isFullTime\",\n modelValue: formDataComputed.value.isFullTime,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((formDataComputed.value.isFullTime) = $event))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.noChoice\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).HeardFromUs]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftStartupperData.heardFromUsId\"\n }, {\n default: _withCtx(({}) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.heardFromUs,\n \"onUpdate:valueSingle\": _cache[11] || (_cache[11] = ($event: any) => ((formDataComputed.value.heardFromUs) = $event)),\n valueSingleId: formDataComputed.value.heardFromUsId,\n \"onUpdate:valueSingleId\": _cache[12] || (_cache[12] = ($event: any) => ((formDataComputed.value.heardFromUsId) = $event)),\n infoTable: \"HeardFromUs\",\n translationsTable: \"HeardFromUsTranslations\",\n translationProperty: \"name\",\n ajax: false,\n style: {\"max-width\":\"750px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).HeardFromUsWhere]: _withCtx(({ field }) => [\n (formDataComputed.value.heardFromUsId == -10)\n ? (_openBlock(), _createBlock(Field, {\n key: 0,\n field: field,\n propertyPath: \"draftStartupperData.heardFromUsWhere\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.heardFromUsWhere,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((formDataComputed.value.heardFromUsWhere) = $event)),\n id: elementId\n }, null, 8, [\"modelValue\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./StartupperFormBusinessIdeaBackgroundFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StartupperFormBusinessIdeaBackgroundFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { BusinessIdeaFieldCategoryDto } from \"@api/business-idea-field-category-dto\";\nimport { InjectionKey, Ref } from \"vue\";\n\nexport default Symbol(\"BusinessIdea field categories\") as InjectionKey<\n\tRef\n>;\n","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"my-3\" }\n\nimport { keyBy } from \"lodash\";\nimport { computed, PropType, inject, ref } from \"vue\";\n\nimport { BusinessIdeaFieldCategoryMap, PersonFieldCategoryMap } from \".\";\nimport providePersonFormInfo from \"@/types/symbols/providePersonFormInfo\";\nimport { DraftStartupperDto } from \"@api/draft-startupper-dto\";\nimport StartupperFormBasicFields from \"./fields/StartupperFormBasicFields.vue\";\nimport StartupperFormContactFields from \"./fields/StartupperFormContactFields.vue\";\nimport StartupperFormAdditionalFields from \"./fields/StartupperFormAdditionalFields.vue\";\nimport StartupperFormBusinessIdeaBasicFields from \"./fields/StartupperFormBusinessIdeaBasicFields.vue\";\nimport StartupperFormBusinessIdeaBackgroundFields from \"./fields/StartupperFormBusinessIdeaBackgroundFields.vue\";\nimport provideBusinessIdeaFieldCategoriesInfo from \"@/types/symbols/provideBusinessIdeaFieldCategoriesInfo\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'StartupperFormFields',\n props: {\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst formInfo = inject(providePersonFormInfo);\nconst businessIdeaFieldCategories = inject(provideBusinessIdeaFieldCategoriesInfo);\n\nconst cats = computed(() => {\n\treturn formInfo?.value?.fieldCategories || [];\n});\n\nconst fieldsMap = computed(() => {\n\treturn keyBy(cats.value, (r) => r.id) as unknown as PersonFieldCategoryMap;\n});\n\nconst businessIdeaFieldsMap = computed(() => {\n\treturn keyBy(\n\t\tbusinessIdeaFieldCategories?.value,\n\t\t(r) => r.id\n\t) as unknown as BusinessIdeaFieldCategoryMap;\n});\n\nconst doNotAddBusinessIdea = ref(false);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n ((fieldsMap.value.StartupperBasicInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(StartupperFormBasicFields, {\n key: 0,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.StartupperContactInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(StartupperFormContactFields, {\n key: 1,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.StartupperAdditionalInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(StartupperFormAdditionalFields, {\n key: 2,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((businessIdeaFieldsMap.value.Basic?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(StartupperFormBusinessIdeaBasicFields, {\n key: 3,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: businessIdeaFieldsMap.value,\n noBusinessIdea: doNotAddBusinessIdea.value\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_HakoCheckbox, {\n modelValue: doNotAddBusinessIdea.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((doNotAddBusinessIdea).value = $event))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"startupperForm.doNotAddBusinessIdea\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"fieldsMap\", \"noBusinessIdea\"]))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t!doNotAddBusinessIdea.value && (businessIdeaFieldsMap.value.BackgroundInfo?.fields ?? []).length > 0\n\t\t\t)\n ? (_openBlock(), _createBlock(StartupperFormBusinessIdeaBackgroundFields, {\n key: 4,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: businessIdeaFieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./StartupperFormFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StartupperFormFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"container-fluid\" }\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col\" }\nconst _hoisted_5 = { class: \"d-flex w-100\" }\nconst _hoisted_6 = [\"href\"]\nconst _hoisted_7 = {\n key: 0,\n style: {\"color\":\"red\"}\n}\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1)\nconst _hoisted_9 = { class: \"mt-2\" }\nconst _hoisted_10 = { key: 0 }\nconst _hoisted_11 = { style: {\"color\":\"red\"} }\nconst _hoisted_12 = { class: \"container-fluid\" }\nconst _hoisted_13 = { class: \"row\" }\nconst _hoisted_14 = { class: \"col-6\" }\nconst _hoisted_15 = { class: \"col-6\" }\n\nimport { getEntityTranslation } from \"@/helpers\";\nimport providePersonFormInfo from \"@/types/symbols/providePersonFormInfo\";\nimport { AlertManager } from \"@hakosalo/hakolib\";\nimport { inject, nextTick, onMounted, ref, watch } from \"vue\";\nimport FormSection from \"../FormSection.vue\";\nimport StartupperFormFields from \"./StartupperFormFields.vue\";\n\nimport publicFormApi from \"@/publicFormApi\";\nimport { ValidationFailureDto } from \"@api/validation-failure-dto\";\nimport { cloneDeep, values } from \"lodash\";\nimport { computed } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport FormSectionHeader from \"../FormSectionHeader.vue\";\n\nimport { useLiveValidation, useValidation } from \"@/composables/fields\";\nimport { DraftStartupperFormDataDto } from \"@api/draft-startupper-form-data-dto\";\n\ninterface PrivacyPolicyAccepts {\n\t[key: number]: boolean;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'StartupperForm',\n emits: [\"saveSuccess\", \"saveFailed\"],\n setup(__props, { emit: __emit }) {\n\nconst { t } = useI18n();\n\nconst emit = __emit;\n\nconst makeHttps = (url: string) => {\n\turl = url.indexOf(\"://\") === -1 ? \"https://\" + url : url;\n\treturn url;\n};\n\nconst blankDraft = ref(null);\n\nconst resetFormData = () => {\n\tformData.value = cloneDeep(blankDraft.value);\n};\n\nonMounted(() => {\n\tpublicFormApi.call.personForm.get.getStartupperDraft().then((r) => {\n\t\tif (r.isSuccessful) {\n\t\t\tformData.value = r.data;\n\t\t\tblankDraft.value = cloneDeep(r.data);\n\t\t}\n\t});\n});\n\nconst isSaving = ref(false);\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn formData.value;\n\t},\n\tset(v) {\n\t\tformData.value = v;\n\t},\n});\n\n// Inject validation system\nconst { validationErrors, validationStateMap } = useValidation();\n\nconst validationEndpoint = publicFormApi.call.validation.post.validateStartupperProperties;\n\nuseLiveValidation(\n\tvalidationEndpoint,\n\tformDataComputed,\n\tvalidationErrors,\n\tvalidationStateMap\n);\n\nconst save = () => {\n\tif (!formData.value) {\n\t\treturn;\n\t}\n\n\tisSaving.value = true;\n\tpublicFormApi.call.personForm.post\n\t\t.saveStartupper(formData.value)\n\t\t.then(async (r) => {\n\t\t\tif (r.isSuccessful && r.data) {\n\t\t\t\temit(\"saveSuccess\");\n\t\t\t\treturn;\n\t\t\t} else if (r.isHandledFailure && r.error && r.error.codeName == \"ValidationError\") {\n\t\t\t\tawait AlertManager.alert(t(\"generic.checkFields\"), t(\"generic.fixInvalidInputs\"));\n\n\t\t\t\tvalidationErrors.value =\n\t\t\t\t\t(r.error.data as ValidationFailureDto[]) || ([] as ValidationFailureDto[]);\n\n\t\t\t\tnextTick(() => {\n\t\t\t\t\t// from dom search all elements with class invalid-feedback that have display:block\n\t\t\t\t\tconst invalidFeedbacks = Array.from(document.querySelectorAll(\".invalid-feedback\"));\n\n\t\t\t\t\t// Filter elements that have display:block\n\t\t\t\t\tconst visibleInvalidFeedbacks = invalidFeedbacks.filter(\n\t\t\t\t\t\t(el) => window.getComputedStyle(el).display === \"block\"\n\t\t\t\t\t);\n\n\t\t\t\t\tif (visibleInvalidFeedbacks.length > 0) {\n\t\t\t\t\t\t// Select parent of the first element\n\t\t\t\t\t\tconst parent = visibleInvalidFeedbacks[0].parentElement;\n\n\t\t\t\t\t\tif (parent) {\n\t\t\t\t\t\t\t// Select first input inside the parent\n\t\t\t\t\t\t\tconst input = parent.querySelector(\"input\");\n\n\t\t\t\t\t\t\tif (input) {\n\t\t\t\t\t\t\t\t// Scroll to the first input\n\t\t\t\t\t\t\t\tinput.scrollIntoView({ block: \"center\" });\n\t\t\t\t\t\t\t\tinput.focus();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\t\t\temit(\"saveFailed\");\n\t\t})\n\t\t.finally(() => {\n\t\t\tisSaving.value = false;\n\t\t});\n};\n\nconst clear = async () => {\n\ttry {\n\t\tawait AlertManager.confirm(t(\"generic.warning\"), t(\"generic.clearAreYouSure\"));\n\t\tresetFormData();\n\t} catch {\n\t\t// Too bad\n\t}\n};\n\nconst formData = ref(null);\n\nconst formInfo = inject(providePersonFormInfo);\n\nconst privacyPolicyAccepts = ref({});\n\nconst privacyPolicies = computed(() => {\n\tif (!formInfo || !formInfo.value) {\n\t\treturn [];\n\t}\n\treturn formInfo.value.publicForm.privacyPolicies;\n});\n\nwatch(\n\tprivacyPolicies,\n\t() => {\n\t\tprivacyPolicyAccepts.value = {};\n\t\tprivacyPolicies.value.forEach((pp) => {\n\t\t\tprivacyPolicyAccepts.value[pp.id] = false;\n\t\t});\n\t},\n\t{ immediate: true }\n);\n\nconst allowSave = computed(() => {\n\tif (!formData.value) {\n\t\treturn false;\n\t}\n\n\tif (!formData.value.acceptDataSaving) {\n\t\treturn false;\n\t}\n\n\tif (values(formData.value.privacyPolicyConfirms).some((r) => r == false)) {\n\t\treturn false;\n\t}\n\n\treturn true;\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n\n return (_unref(formInfo) && formData.value && formData.value.draftStartupperData)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(StartupperFormFields, {\n modelValue: formData.value.draftStartupperData,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formData.value.draftStartupperData) = $event))\n }, null, 8, [\"modelValue\"]),\n _createVNode(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.sectionPrivacy\")), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(privacyPolicies.value, (pp) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: pp.id,\n class: \"my-3\"\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formData.value.privacyPolicyConfirms[pp.id],\n \"onUpdate:modelValue\": ($event: any) => ((formData.value.privacyPolicyConfirms[pp.id]) = $event)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.haveReadAndAccept\")) + \" \", 1),\n _createElementVNode(\"a\", {\n class: \"mx-3\",\n href: makeHttps(pp.url),\n target: \"_blank\"\n }, [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(pp.translations, \"name\")) + \" \", 1),\n _createVNode(_component_HakoBsIcon, {\n icon: \"box-arrow-up-right\",\n size: 90\n })\n ], 8, _hoisted_6),\n (!formData.value.privacyPolicyConfirms[pp.id])\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_7, _toDisplayString(_ctx.$t(\"generic.required\")), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]))\n }), 128)),\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formData.value.acceptDataSaving,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formData.value.acceptDataSaving) = $event))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(_unref(formInfo).publicForm.translations, \"acceptSaveData\")) + \" \", 1),\n (!formData.value.acceptDataSaving)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"small\", _hoisted_11, _toDisplayString(_ctx.$t(\"generic.dataSavingMustAccept\")), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ])\n ])\n ])\n ])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_HakoButton, {\n onClick: save,\n disabled: !allowSave.value,\n isBlock: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.send\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_HakoButton, {\n onClick: clear,\n isBlock: \"\",\n theme: \"danger\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.clear\")), 1)\n ]),\n _: 1\n })\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./StartupperForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StartupperForm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vShow as _vShow, withDirectives as _withDirectives, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-cca73df4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container mb-4\" }\nconst _hoisted_2 = { class: \"container-fluid\" }\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col-md-8 col-lg-8\" }\nconst _hoisted_5 = { class: \"logo\" }\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = { class: \"mt-4\" }\nconst _hoisted_8 = { class: \"mt-4\" }\nconst _hoisted_9 = { class: \"col-lg-4 col-md-4\" }\nconst _hoisted_10 = { class: \"row\" }\nconst _hoisted_11 = { class: \"col-md-12\" }\nconst _hoisted_12 = {\n class: \"mt-4\",\n style: {\"white-space\":\"pre-wrap\"}\n}\n\nimport providePersonFormInfo from \"@/types/symbols/providePersonFormInfo\";\nimport { onMounted, ref, computed, provide, watch } from \"vue\";\nimport publicFormApi from \"@/publicFormApi\";\nimport StartupperForm from \"@/components/form/startupperForm/StartupperForm.vue\";\nimport FormSection from \"@/components/form/FormSection.vue\";\nimport { FormDataDto } from \"@api/form-data-dto\";\nimport { getEntityTranslation, getOrganizationNameTranslation } from \"@/helpers\";\nimport LanguageSelection from \"@/components/LanguageSelection.vue\";\nimport router from \"@/router\";\nimport { useAppStore } from \"@/pinia/appStore\";\nimport { defaultTitle } from \"@/router\";\nimport { PersonFieldCategoryDto } from \"@api/person-field-category-dto\";\nimport { BusinessIdeaFieldCategoryDto } from \"@api/business-idea-field-category-dto\";\nimport provideBusinessIdeaFieldCategoriesInfo from \"@/types/symbols/provideBusinessIdeaFieldCategoriesInfo\";\nimport { logoUrl } from \"@/composables/logoUrl\";\nimport { useI18n } from \"vue-i18n\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'StartupperFormView',\n setup(__props) {\n\nconst i18n = useI18n();\n\nconst orgInfo = computed(() => useAppStore().organizationInfo);\nconst formInfo = ref | null>(null);\nconst fieldCategories = ref([]);\nconst businessIdeaFieldCategories = ref([]);\n\nprovide(providePersonFormInfo, formInfo);\nprovide(provideBusinessIdeaFieldCategoriesInfo, businessIdeaFieldCategories);\n\nconst session = useAppStore();\n\nconst onSuccess = () => {\n\tsession.$state.formSentSuccesfully = true;\n\trouter.push({ name: \"StartupperFormSuccess\" });\n};\n\nconst onFailed = () => {\n\tsession.$state.formSentSuccesfully = false;\n\trouter.push({ name: \"StartupperFormFailed\" });\n};\n\nconst titleComputed = computed(() => {\n\tif (formInfo.value) {\n\t\tconst t = getEntityTranslation(formInfo.value.publicForm.translations, \"name\");\n\t\tif (t) {\n\t\t\treturn t;\n\t\t}\n\t}\n\treturn null;\n});\n\nwatch(titleComputed, (newTitle) => {\n\tif (newTitle) {\n\t\twindow.document.title = newTitle;\n\t\treturn;\n\t}\n\twindow.document.title = defaultTitle;\n});\n\nonMounted(() => {\n\tsession.$state.formSentSuccesfully = false;\n\n\tpublicFormApi.call.personForm.get.fields(\"startupperForm\").then((resp) => {\n\t\tif (resp.isSuccessful && resp.data) {\n\t\t\tfieldCategories.value = resp.data;\n\t\t}\n\t});\n\n\tpublicFormApi.call.personForm.get.businessIdeaFields().then((resp) => {\n\t\tif (resp.isSuccessful && resp.data) {\n\t\t\tbusinessIdeaFieldCategories.value = resp.data;\n\t\t}\n\t});\n\n\tpublicFormApi.call.personForm.get.getFormInfo(\"startupperForm\").then((resp) => {\n\t\tif (resp.isSuccessful && resp.data) {\n\t\t\tformInfo.value = resp.data;\n\t\t}\n\t});\n});\n\nwatch(\n\t() => i18n.locale.value,\n\t() => {\n\t\tpublicFormApi.call.personForm.get.getFormInfo(\"startupperForm\").then((resp) => {\n\t\t\tif (resp.isSuccessful && resp.data) {\n\t\t\t\tconst data = resp.data;\n\n\t\t\t\t// Update translations\n\t\t\t\tif (formInfo.value) {\n\t\t\t\t\tformInfo.value.publicForm.translations = data.publicForm.translations;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n);\n\nasync function updateUrl(lang: string, org: string) {\n\tawait router.replace({\n\t\tname: \"StartupperForm\",\n\t\tparams: {\n\t\t\torg: org,\n\t\t\tlang: lang,\n\t\t},\n\t});\n}\n\nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (formInfo.value)\n ? (_openBlock(), _createBlock(FormSection, { key: 0 }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"img\", { src: _unref(logoUrl) }, null, 8, _hoisted_6)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"h1\", null, _toDisplayString(_unref(getEntityTranslation)(formInfo.value.publicForm.translations, \"name\")), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h2\", _hoisted_8, _toDisplayString(_unref(getOrganizationNameTranslation)(formInfo.value)), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(LanguageSelection, {\n languages: formInfo.value.publicForm.languages,\n onLangChanged: updateUrl\n }, null, 8, [\"languages\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"p\", _hoisted_12, _toDisplayString(_unref(getEntityTranslation)(formInfo.value.publicForm.translations, \"publicDescription\")), 1)\n ])\n ])\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (formInfo.value)\n ? (_openBlock(), _createBlock(StartupperForm, {\n key: 1,\n onSaveSuccess: onSuccess,\n onSaveFailed: onFailed\n }))\n : _createCommentVNode(\"\", true)\n ], 512)), [\n [_vShow, orgInfo.value]\n ])\n}\n}\n\n})","import script from \"./StartupperFormView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./StartupperFormView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./StartupperFormView.vue?vue&type=style&index=0&id=cca73df4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-cca73df4\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, vModelText as _vModelText, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"mt-4\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"d-flex\"\n}\nconst _hoisted_5 = { class: \"input-group\" }\nconst _hoisted_6 = { class: \"input-group-text\" }\nconst _hoisted_7 = [\"id\", \"isInvalid\", \"onBlur\"]\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = { class: \"alert alert-danger\" }\nconst _hoisted_10 = { class: \"mt-4\" }\nconst _hoisted_11 = { class: \"mt-4\" }\nconst _hoisted_12 = { class: \"mt-4\" }\nconst _hoisted_13 = { class: \"mt-4\" }\n\nimport CountrySelect from \"@/components/CountrySelect.vue\";\nimport LanguageSelect from \"@/components/LanguageSelect.vue\";\nimport RadioField from \"@/components/RadioField.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { isMobileReactive } from \"@/helpers\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { SelectOption } from \"@/types/interfaces/field\";\nimport { DraftImmigrantDto } from \"@api/draft-immigrant-dto\";\nimport { format } from \"date-fns\";\nimport { PropType, computed } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ImmigrantFormBasicFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\nconst { t } = useI18n();\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\nconst genderOptions = [\n\t{ text: t(\"genders.man\"), value: dbEnums.Genders.Man },\n\t{ text: t(\"genders.woman\"), value: dbEnums.Genders.Woman },\n\t{ text: t(\"genders.other\"), value: dbEnums.Genders.Other },\n\t{ text: t(\"genders.unknown\"), value: null },\n] as SelectOption[];\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst socialSecuritySign = computed(() => {\n\tif (!formDataComputed.value.birthday) {\n\t\treturn \"\";\n\t}\n\tconst birthday = formDataComputed.value.birthday;\n\tif (birthday >= new Date(1800, 0, 1) && birthday <= new Date(1899, 11, 31)) {\n\t\treturn \"+\";\n\t} else if (birthday >= new Date(1900, 0, 1) && birthday <= new Date(1999, 11, 31)) {\n\t\treturn \"-\";\n\t} else if (birthday >= new Date(2000, 0, 1)) {\n\t\treturn \"A\";\n\t} else {\n\t\treturn \"\";\n\t}\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n const _component_HakoDatePicker = _resolveComponent(\"HakoDatePicker\")!\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.sectionHeaders.basicInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.ImmigrantBasicInfo)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.ImmigrantBasicInfo.fields\n }, {\n [_unref(fields).ImmigrantFirstName]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.firstName\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.firstName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.firstName) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantSecondNames]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.secondNames\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.secondNames,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.secondNames) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantLastName]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.lastName\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.lastName,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.lastName) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantCommunicationLanguage]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.communicationLanguageId\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(LanguageSelect, {\n valueSingle: formDataComputed.value.communicationLanguage,\n \"onUpdate:valueSingle\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.communicationLanguage) = $event)),\n valueSingleId: formDataComputed.value.communicationLanguageId,\n \"onUpdate:valueSingleId\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.communicationLanguageId) = $event)),\n communicationRole: _unref(dbEnums).PersonUserRoleIds.Kotoutuminen,\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"communicationRole\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantElectronicCommunicationAllowed]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.isElectronicCommunicationAllowed\",\n alignContent: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formDataComputed.value.isElectronicCommunicationAllowed,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.isElectronicCommunicationAllowed) = $event)),\n for: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"for\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).ImmigrantDateOfBirth]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.birthday\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: formDataComputed.value.birthday,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.birthday) = $event)),\n allowEmpty: \"\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"},\n placeholder: _ctx.$t('generic.datePlaceholder'),\n forceUtcMidnight: \"\"\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantSocialNumber]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.socialSecurityEndPart\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n (formDataComputed.value.birthday)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(_unref(format)(formDataComputed.value.birthday!, \"ddMMyy\") + socialSecuritySign.value), 1),\n _withDirectives(_createElementVNode(\"input\", {\n type: \"text\",\n class: \"form-control\",\n style: {\"max-width\":\"80px\"},\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.socialSecurityEndPart) = $event)),\n maxlength: \"4\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 40, _hoisted_7), [\n [_vModelText, formDataComputed.value.socialSecurityEndPart]\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString(_unref(t)(\"immigrantForm.dateOfBirthMustBeGiven\")), 1)\n ]))\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantGender]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.gender\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(RadioField, {\n modelValue: formDataComputed.value.genderId,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.genderId) = $event)),\n inline: !_unref(isMobileReactive),\n options: genderOptions,\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"inline\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantCitizenship]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.citizenshipId\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(CountrySelect, {\n valueSingle: formDataComputed.value.citizenship,\n \"onUpdate:valueSingle\": _cache[9] || (_cache[9] = ($event: any) => ((formDataComputed.value.citizenship) = $event)),\n valueSingleId: formDataComputed.value.citizenshipId,\n \"onUpdate:valueSingleId\": _cache[10] || (_cache[10] = ($event: any) => ((formDataComputed.value.citizenshipId) = $event)),\n ajax: true,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n id: elementId,\n lowercase: \"\",\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).ImmigrantOccupation]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.occupation\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.occupation,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((formDataComputed.value.occupation) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).ImmigrantUMACustomerNumber]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.umaCustomerNumber\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.umaCustomerNumber,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((formDataComputed.value.umaCustomerNumber) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).ImmigrantExtraInfo]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.extraInfo\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.extraInfo,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((formDataComputed.value.extraInfo) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ImmigrantFormBasicFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ImmigrantFormBasicFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport AddressBlock from \"@/components/AddressBlock.vue\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftImmigrantDto } from \"@api/draft-immigrant-dto\";\nimport { PropType, computed } from \"vue\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ImmigrantFormContactFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoTeleInput = _resolveComponent(\"HakoTeleInput\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.sectionHeaders.contactInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.ImmigrantContactInfo)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.ImmigrantContactInfo.fields\n }, {\n [_unref(fields).ImmigrantEmail]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.email\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.email,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.email) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantPhoneNumber]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.phone\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTeleInput, {\n modelValue: formDataComputed.value.phone,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.phone) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantAddress]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n noLabel: \"\"\n }, {\n default: _withCtx(({ fieldLabel }) => [\n _createVNode(AddressBlock, {\n modelValue: formDataComputed.value.address,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.address) = $event)),\n idPrefix: field.id,\n parentPath: \"draftImmigrantData.address\",\n label: fieldLabel,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"idPrefix\", \"label\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ImmigrantFormContactFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ImmigrantFormContactFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"mt-4\" }\nconst _hoisted_4 = { class: \"mt-4\" }\nconst _hoisted_5 = { class: \"p-3\" }\nconst _hoisted_6 = { class: \"d-flex justify-content-end\" }\n\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport MunicipalitySelect from \"@/components/MunicipalitySelect.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { isMobileReactive } from \"@/helpers\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftImmigrantDto } from \"@api/draft-immigrant-dto\";\nimport { ResidencePermitDto } from \"@api/residence-permit-dto\";\nimport { PropType, computed } from \"vue\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ImmigrantFormIntegrationFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst addResidencePermit = () => {\n\tif (!formDataComputed.value.residencePermits) {\n\t\tformDataComputed.value.residencePermits = [];\n\t}\n\n\tformDataComputed.value.residencePermits.push({\n\t\tid: 0,\n\t\tissueDate: null,\n\t\tendDate: null,\n\t\tdraftImmigrantId: 0,\n\t\tdraftImmigrant: null,\n\t\tresidencePermitOtherBasis: \"\",\n\t\tresidencePermitBasisId: null,\n\t\tresidencePermitBasis: null,\n\t\ttypeId: null,\n\t\ttype: null,\n\t} as unknown as ResidencePermitDto);\n};\n\nconst removeResidencePermit = (index: number) => {\n\tif (formDataComputed.value.residencePermits) {\n\t\tformDataComputed.value.residencePermits?.splice(index, 1);\n\t}\n};\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n const _component_HakoDatePicker = _resolveComponent(\"HakoDatePicker\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.sectionHeaders.immigrationInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.ImmigrantIntegrationInfo)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.ImmigrantIntegrationInfo.fields\n }, {\n [_unref(fields).ImmigrantFirstResidenceMunicipality]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.firstResidenceMunicipalityId\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass({ 'd-flex gap-3 align-items-center': !_unref(isMobileReactive) })\n }, [\n _createVNode(MunicipalitySelect, {\n valueSingle: formDataComputed.value.firstResidenceMunicipality,\n \"onUpdate:valueSingle\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.firstResidenceMunicipality) = $event)),\n valueSingleId: formDataComputed.value.firstResidenceMunicipalityId,\n \"onUpdate:valueSingleId\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.firstResidenceMunicipalityId) = $event)),\n ajax: \"\",\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\"]),\n _createVNode(_component_HakoBsIcon, {\n class: _normalizeClass([\"duration-arrow\", { 'mx-3': _unref(isMobileReactive) }]),\n size: 150,\n icon: \"arrow-right\"\n }, null, 8, [\"class\"]),\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"generic.recordDate\")), 1),\n _createVNode(_component_HakoDatePicker, {\n modelValue: formDataComputed.value.firstResidenceMunicipalityRecordDate,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.firstResidenceMunicipalityRecordDate) = $event)),\n allowEmpty: \"\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder'),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ], 2)\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantCalculatedCompensation]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.calculatedCompensationId\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass({ 'd-flex gap-3 align-items-center': !_unref(isMobileReactive) })\n }, [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.calculatedCompensation,\n \"onUpdate:valueSingle\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.calculatedCompensation) = $event)),\n valueSingleId: formDataComputed.value.calculatedCompensationId,\n \"onUpdate:valueSingleId\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.calculatedCompensationId) = $event)),\n infoTable: \"CalculatedCompensations\",\n translationsTable: \"CalculatedCompensationTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"750px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\"]),\n _createVNode(_component_HakoBsIcon, {\n class: _normalizeClass([\"duration-arrow\", { 'mx-3': _unref(isMobileReactive) }]),\n size: 150,\n icon: \"arrow-right\"\n }, null, 8, [\"class\"]),\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"generic.endingDate\")), 1),\n _createVNode(_component_HakoDatePicker, {\n modelValue: formDataComputed.value.calculatedCompensationEndDate,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.calculatedCompensationEndDate) = $event)),\n allowEmpty: \"\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder'),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ], 2)\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantMunicipalityDecisionDate]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.municipalitySpotDecisionDate\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: formDataComputed.value.municipalitySpotDecisionDate,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.municipalitySpotDecisionDate) = $event)),\n allowEmpty: \"\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder'),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).ImmigrantResidencePermits]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.residencePermits\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(formDataComputed.value.residencePermits, (permit, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"card mb-2\",\n key: i\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(Field, {\n field: field,\n propertyPath: `draftImmigrantData.residencePermits[${i}].issueDate`,\n label: _ctx.$t('immigrantForm.residencePermitDate')\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: permit.issueDate,\n \"onUpdate:modelValue\": ($event: any) => ((permit.issueDate) = $event),\n allowEmpty: \"\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder'),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\", \"label\"]),\n _createVNode(Field, {\n field: field,\n propertyPath: `draftImmigrantData.residencePermits[${i}].typeId`,\n label: _ctx.$t('immigrantForm.residencePermitType')\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: permit.type,\n \"onUpdate:valueSingle\": ($event: any) => ((permit.type) = $event),\n valueSingleId: permit.typeId,\n \"onUpdate:valueSingleId\": ($event: any) => ((permit.typeId) = $event),\n infoTable: \"ResidencePermitOptions\",\n translationsTable: \"ResidencePermitOptionTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"onUpdate:valueSingle\", \"valueSingleId\", \"onUpdate:valueSingleId\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\", \"label\"]),\n _createVNode(Field, {\n field: field,\n propertyPath: `draftImmigrantData.residencePermits[${i}].residencePermitBasisId`,\n label: _ctx.$t('immigrantForm.residencePermitBasis')\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: permit.residencePermitBasis,\n \"onUpdate:valueSingle\": ($event: any) => ((permit.residencePermitBasis) = $event),\n valueSingleId: permit.residencePermitBasisId,\n \"onUpdate:valueSingleId\": ($event: any) => ((permit.residencePermitBasisId) = $event),\n infoTable: \"ResidencePermitBasises\",\n translationsTable: \"ResidencePermitBasisTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"onUpdate:valueSingle\", \"valueSingleId\", \"onUpdate:valueSingleId\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\", \"label\"]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_HakoButton, {\n theme: \"danger\",\n onClick: () => removeResidencePermit(i)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.removeResidencePermit\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ])\n ])\n ]))\n }), 128)),\n _createVNode(_component_HakoButton, { onClick: addResidencePermit }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.addResidencePermit\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).ImmigrantTravelDocuments]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.travelDocumentTypeId\",\n label: _ctx.$t('immigrantForm.travelDocumentType')\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.travelDocumentType,\n \"onUpdate:valueSingle\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.travelDocumentType) = $event)),\n valueSingleId: formDataComputed.value.travelDocumentTypeId,\n \"onUpdate:valueSingleId\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.travelDocumentTypeId) = $event)),\n infoTable: \"TravelDocumentTypes\",\n translationsTable: \"TravelDocumentTypeTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\"]),\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.travelDocumentStartDate\",\n label: _ctx.$t('immigrantForm.travelDocumentStartDate')\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: formDataComputed.value.travelDocumentStartDate,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((formDataComputed.value.travelDocumentStartDate) = $event)),\n allowEmpty: \"\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder'),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\"]),\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.travelDocumentEndDate\",\n label: _ctx.$t('immigrantForm.travelDocumentEndDate')\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: formDataComputed.value.travelDocumentEndDate,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((formDataComputed.value.travelDocumentEndDate) = $event)),\n allowEmpty: \"\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder'),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\"]),\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.travelDocumentDescription\",\n label: _ctx.$t('immigrantForm.travelDocumentDescription')\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.travelDocumentDescription,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((formDataComputed.value.travelDocumentDescription) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ImmigrantFormIntegrationFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ImmigrantFormIntegrationFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"p-3\" }\nconst _hoisted_4 = { class: \"d-flex justify-content-end\" }\n\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftImmigrantDto } from \"@api/draft-immigrant-dto\";\nimport _, { cloneDeep } from \"lodash\";\nimport { PropType, computed, onMounted, ref } from \"vue\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport publicFormApi from \"@/publicFormApi\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ImmigrantFormFamilyFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst childDraft = ref(null as DraftImmigrantDto | null);\nonMounted(() => {\n\tpublicFormApi.call.personForm.get.getImmigrantDraft().then((r) => {\n\t\tif (r.isSuccessful && r.data) {\n\t\t\tchildDraft.value = r.data.draftImmigrantData;\n\t\t}\n\t});\n});\n\nconst addChild = () => {\n\tif (!formDataComputed.value.children) {\n\t\tformDataComputed.value.children = [];\n\t}\n\tif (childDraft.value) {\n\t\tconst newChild = _.cloneDeep(childDraft.value);\n\t\tif (formDataComputed.value.municipalitySpotDecisionDate) {\n\t\t\tnewChild.municipalitySpotDecisionDate = new Date(\n\t\t\t\tformDataComputed.value.municipalitySpotDecisionDate\n\t\t\t);\n\t\t}\n\t\tformDataComputed.value.children.push(newChild);\n\t}\n};\n\nconst removeChild = (index: number) => {\n\tif (formDataComputed.value.children) {\n\t\tformDataComputed.value.children?.splice(index, 1);\n\t}\n};\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoDatePicker = _resolveComponent(\"HakoDatePicker\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.sectionHeaders.familyInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.ImmigrantFamily)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.ImmigrantFamily.fields\n }, {\n [_unref(fields).ImmigrantMaritalStatus]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.maritalStatusId\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueSingle: formDataComputed.value.maritalStatus,\n \"onUpdate:valueSingle\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.maritalStatus) = $event)),\n valueSingleId: formDataComputed.value.maritalStatusId,\n \"onUpdate:valueSingleId\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.maritalStatusId) = $event)),\n infoTable: \"MaritalStatuses\",\n translationsTable: \"MaritalStatusTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantPartnerInfo]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.partnerInfo\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.partnerInfo,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.partnerInfo) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantChildren]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.children\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(formDataComputed.value.children, (child, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"card mb-2\",\n key: i\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Field, {\n field: field,\n propertyPath: `draftImmigrantData.children[${i}].firstName`,\n label: _ctx.$t('generic.firstName')\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: child.firstName,\n \"onUpdate:modelValue\": ($event: any) => ((child.firstName) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\", \"label\"]),\n _createVNode(Field, {\n field: field,\n propertyPath: `draftImmigrantData.children[${i}].lastName`,\n label: _ctx.$t('generic.lastName')\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: child.lastName,\n \"onUpdate:modelValue\": ($event: any) => ((child.lastName) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\", \"label\"]),\n _createVNode(Field, {\n field: field,\n propertyPath: `draftImmigrantData.children[${i}].birthday`,\n label: _ctx.$t('generic.birthday')\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: child.birthday,\n \"onUpdate:modelValue\": ($event: any) => ((child.birthday) = $event),\n \"allow-empty\": \"\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder'),\n style: {\"max-width\":\"250px\"},\n forceUtcMidnight: \"\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\", \"label\"]),\n _createVNode(Field, {\n field: field,\n propertyPath: `draftImmigrantData.children[${i}].municipalitySpotDecisionDate`,\n label: _ctx.$t('immigrantForm.municipalitySpotDecisionDate')\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: child.municipalitySpotDecisionDate,\n \"onUpdate:modelValue\": ($event: any) => ((child.municipalitySpotDecisionDate) = $event),\n \"allow-empty\": \"\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder'),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\", \"label\"]),\n _createElementVNode(\"div\", _hoisted_4, [\n (child.id <= 0)\n ? (_openBlock(), _createBlock(_component_HakoButton, {\n key: 0,\n theme: \"danger\",\n onClick: () => removeChild(i)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.removeChild\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n }), 128)),\n _createVNode(_component_HakoButton, { onClick: addChild }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.addChild\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantUnderageChildrenExtraInfo]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.underageChildrenExtraInfo\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.underageChildrenExtraInfo,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.underageChildrenExtraInfo) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantFamilyLeaveAndBenefitInfo]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.familyLeaveAndBenefitInfo\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.familyLeaveAndBenefitInfo,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.familyLeaveAndBenefitInfo) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantIsNecessaryToMakeFamilyIntegrationPlan]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.isNecessaryToMakeFamilyIntegrationPlan\",\n \"align-content\": \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formDataComputed.value.isNecessaryToMakeFamilyIntegrationPlan,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.isNecessaryToMakeFamilyIntegrationPlan) = $event)),\n for: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"for\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantFamilyIntegrationPlanDetails]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.familyIntegrationPlanDetails\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.familyIntegrationPlanDetails,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.familyIntegrationPlanDetails) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantSocialNetworks]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.socialNetworks\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.socialNetworks,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.socialNetworks) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantHobbiesOrOrganizationalActivities]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.hobbiesOrOrganizationalActivities\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.hobbiesOrOrganizationalActivities,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.hobbiesOrOrganizationalActivities) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantHasBeenGivenGuidanceForSocialOrOrganizationServices]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.hasBeenGivenGuidanceForSocialOrOrganizationServices\",\n \"align-content\": \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formDataComputed.value.hasBeenGivenGuidanceForSocialOrOrganizationServices,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((formDataComputed.value.hasBeenGivenGuidanceForSocialOrOrganizationServices) = $event)),\n for: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"for\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantGuidanceGuidanceExtraInfo]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.guidanceExtraInfo\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.guidanceExtraInfo,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((formDataComputed.value.guidanceExtraInfo) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ImmigrantFormFamilyFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ImmigrantFormFamilyFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, unref as _unref, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, createTextVNode as _createTextVNode, createCommentVNode as _createCommentVNode } from \"vue\"\n\nimport { getEntityTranslation } from \"@/helpers\";\nimport { DriverLicenseClassDto } from \"@api/driver-license-class-dto\";\nimport { DriverLicenseOccupationalCompetenceDto } from \"@api/driver-license-occupational-competence-dto\";\nimport { PermitAndCardTrainingDto } from \"@api/permit-and-card-training-dto\";\nimport { PermitAndCardTrainingOccupationalCompetenceDto } from \"@api/permit-and-card-training-occupational-competence-dto\";\nimport _ from \"lodash\";\nimport { computed, type PropType, watch } from \"vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'OccupationalCompetenceSelect',\n props: {\n\tvalueMulti: {\n\t\ttype: Array as PropType,\n\t},\n\toptions: {\n\t\ttype: Array as PropType,\n\t\tdefault: () => [],\n\t},\n\ttype: {\n\t\ttype: String as PropType<\"DrivingLicense\" | \"PermitAndCard\">,\n\t},\n\tisInvalid: {\n\t\ttype: Boolean,\n\t\trequired: false,\n\t\tdefault: undefined,\n\t},\n},\n emits: [\"update:valueMulti\", \"blur\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst cUnselectedOptions = computed(() => {\n\tif (props.type == \"DrivingLicense\") {\n\t\treturn props.options\n\t\t\t.filter((x) => !isSelected(x))\n\t\t\t.map(\n\t\t\t\t(x) =>\n\t\t\t\t\t({\n\t\t\t\t\t\tdriverLicenseClassId: x.id,\n\t\t\t\t\t\tdriverLicenseClass: x,\n\t\t\t\t\t\thasOccupationalCompetence: false,\n\t\t\t\t\t\thasOccupationalCompetenceUntil: null,\n\t\t\t\t\t} as DriverLicenseOccupationalCompetenceDto)\n\t\t\t);\n\t} else if (props.type == \"PermitAndCard\") {\n\t\treturn props.options\n\t\t\t.filter((x) => !isSelected(x))\n\t\t\t.map(\n\t\t\t\t(x) =>\n\t\t\t\t\t({\n\t\t\t\t\t\tpermitAndCardTrainingId: x.id,\n\t\t\t\t\t\tpermitAndCardTraining: x,\n\t\t\t\t\t\thasOccupationalCompetence: false,\n\t\t\t\t\t\thasOccupationalCompetenceUntil: null,\n\t\t\t\t\t} as PermitAndCardTrainingOccupationalCompetenceDto)\n\t\t\t);\n\t} else return [];\n});\n\nconst isSelected = (dto: DriverLicenseClassDto | PermitAndCardTrainingDto) => {\n\tif (props.type == \"DrivingLicense\")\n\t\treturn props.valueMulti?.some(\n\t\t\t(x: DriverLicenseOccupationalCompetenceDto) => x.driverLicenseClassId == dto.id\n\t\t);\n\tif (props.type == \"PermitAndCard\")\n\t\treturn props.valueMulti?.some(\n\t\t\t(x: PermitAndCardTrainingOccupationalCompetenceDto) => x.permitAndCardTrainingId == dto.id\n\t\t);\n};\n\nconst isAvailableOption = (\n\tdto: DriverLicenseOccupationalCompetenceDto | PermitAndCardTrainingOccupationalCompetenceDto\n) => {\n\tif (props.type == \"DrivingLicense\")\n\t\treturn props.options?.some(\n\t\t\t(x: DriverLicenseClassDto) =>\n\t\t\t\tx.id == (dto as DriverLicenseOccupationalCompetenceDto).driverLicenseClassId\n\t\t);\n\tif (props.type == \"PermitAndCard\")\n\t\treturn props.options?.some(\n\t\t\t(x: PermitAndCardTrainingDto) =>\n\t\t\t\tx.id == (dto as PermitAndCardTrainingOccupationalCompetenceDto).permitAndCardTrainingId\n\t\t);\n};\n\nconst cValues = computed({\n\tget: () => (props.valueMulti || []).concat(cUnselectedOptions.value),\n\tset: (\n\t\tvalue:\n\t\t\t| DriverLicenseOccupationalCompetenceDto[]\n\t\t\t| PermitAndCardTrainingOccupationalCompetenceDto[]\n\t) => {\n\t\tcValues.value = value;\n\t},\n});\n\nwatch(\n\t() => props.options,\n\t() => {\n\t\tupdateValue(cValues.value);\n\t},\n\t{ deep: true }\n);\n\nconst updateValue = (\n\tvalues:\n\t\t| DriverLicenseOccupationalCompetenceDto[]\n\t\t| PermitAndCardTrainingOccupationalCompetenceDto[]\n) => {\n\tconsole.log(values);\n\temit(\n\t\t\"update:valueMulti\",\n\t\tvalues.filter((x) => x.hasOccupationalCompetence && isAvailableOption(x))\n\t);\n};\n\nconst cOrderedValuesDrivingLicense = computed(() => {\n\tif (props.type == \"DrivingLicense\") {\n\t\treturn _.orderBy(\n\t\t\tcValues.value as DriverLicenseOccupationalCompetenceDto[],\n\t\t\t(x) => x.driverLicenseClass.order\n\t\t);\n\t}\n\n\treturn [];\n});\n\nconst cOrderedValuesPermitAndCard = computed(() => {\n\tif (props.type == \"PermitAndCard\") {\n\t\treturn _.orderBy(cValues.value as PermitAndCardTrainingOccupationalCompetenceDto[], [\n\t\t\t(x) => x.permitAndCardTraining.order,\n\t\t\t(x) => x.permitAndCardTraining.technicalName,\n\t\t]);\n\t}\n\n\treturn [];\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n const _component_HakoDatePicker = _resolveComponent(\"HakoDatePicker\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (__props.type == 'DrivingLicense')\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 0 }, _renderList(cOrderedValuesDrivingLicense.value, (value) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: value.driverLicenseClassId,\n class: \"single-row m-0\"\n }, [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(value.driverLicenseClass.translations, \"name\")) + \" \", 1),\n _createVNode(_component_HakoCheckbox, {\n inline: \"\",\n modelValue: value.hasOccupationalCompetence,\n \"onUpdate:modelValue\": ($event: any) => ((value.hasOccupationalCompetence) = $event),\n onBlur: _cache[0] || (_cache[0] = ($event: any) => (updateValue(cValues.value))),\n class: \"ms-2\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n _createVNode(_component_HakoBsIcon, {\n class: \"duration-arrow me-2\",\n size: 150,\n icon: \"arrow-right\"\n }),\n _createVNode(_component_HakoDatePicker, {\n modelValue: value.hasOccupationalCompetenceUntil,\n \"onUpdate:modelValue\": ($event: any) => ((value.hasOccupationalCompetenceUntil) = $event),\n allowEmpty: \"\",\n \"force-utc-midnight\": \"\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ]))\n }), 128))\n : _createCommentVNode(\"\", true),\n (__props.type == 'PermitAndCard')\n ? (_openBlock(true), _createElementBlock(_Fragment, { key: 1 }, _renderList(cOrderedValuesPermitAndCard.value, (value) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: value.permitAndCardTrainingId,\n class: \"single-row m-0\"\n }, [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(value.permitAndCardTraining.translations, \"name\")) + \" \", 1),\n _createVNode(_component_HakoCheckbox, {\n inline: \"\",\n modelValue: value.hasOccupationalCompetence,\n \"onUpdate:modelValue\": ($event: any) => ((value.hasOccupationalCompetence) = $event),\n onBlur: _cache[1] || (_cache[1] = ($event: any) => (updateValue(cValues.value))),\n class: \"ms-2\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]),\n _createVNode(_component_HakoBsIcon, {\n class: \"duration-arrow me-2\",\n size: 150,\n icon: \"arrow-right\"\n }),\n _createVNode(_component_HakoDatePicker, {\n modelValue: value.hasOccupationalCompetenceUntil,\n \"onUpdate:modelValue\": ($event: any) => ((value.hasOccupationalCompetenceUntil) = $event),\n allowEmpty: \"\",\n \"force-utc-midnight\": \"\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"])\n ]))\n }), 128))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./OccupationalCompetenceSelect.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./OccupationalCompetenceSelect.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./OccupationalCompetenceSelect.vue?vue&type=style&index=0&id=2fe1d64e&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2fe1d64e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftImmigrantDto } from \"@api/draft-immigrant-dto\";\nimport { PropType, computed } from \"vue\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport LanguageSkillsField from \"@/components/LanguageSkillsField.vue\";\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport OccupationalCompetenceSelect from \"@/components/OccupationalCompetenceSelect.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ImmigrantFormSkillsFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.sectionHeaders.skillsInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.ImmigrantExperienceAndSkills)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.ImmigrantExperienceAndSkills.fields\n }, {\n [_unref(fields).ImmigrantSearchProfessions]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.searchProfessions\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueMulti: formDataComputed.value.searchProfessions,\n \"onUpdate:valueMulti\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.searchProfessions) = $event)),\n infoTable: \"SearchProfessions\",\n translationsTable: \"SearchProfessionTranslations\",\n translationProperty: \"name\",\n ajax: false,\n tree: \"\",\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"valueMulti\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantLanguageSkills]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.languageSkills\"\n }, {\n default: _withCtx(() => [\n _createVNode(LanguageSkillsField, {\n modelValue: formDataComputed.value.languageSkills,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.languageSkills) = $event)),\n propertyPath: \"draftImmigrantData.languageSkills\",\n style: {\"max-width\":\"750px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantLanguageSkillsDescription]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.languageSkillsDescription\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.languageSkillsDescription,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.languageSkillsDescription) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantDrivingLicenseClasses]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.driverLicenseClasses\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueMulti: formDataComputed.value.driverLicenseClasses,\n \"onUpdate:valueMulti\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.driverLicenseClasses) = $event)),\n infoTable: \"DriverLicenseClasses\",\n translationsTable: \"DriverLicenseClassTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueMulti\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantDrivingLicenseOccupationalCompetence]: _withCtx(({ field }) => [\n (formDataComputed.value.driverLicenseClasses.length > 0)\n ? (_openBlock(), _createBlock(Field, {\n key: 0,\n field: field,\n propertyPath: \"draftImmigrantData.driverLicenseOccupationalCompetence\"\n }, {\n default: _withCtx(({ isInvalid }) => [\n _createVNode(OccupationalCompetenceSelect, {\n valueMulti: formDataComputed.value.driverLicenseOccupationalCompetences,\n \"onUpdate:valueMulti\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.driverLicenseOccupationalCompetences) = $event)),\n type: \"DrivingLicense\",\n options: formDataComputed.value.driverLicenseClasses,\n isInvalid: isInvalid\n }, null, 8, [\"valueMulti\", \"options\", \"isInvalid\"])\n ]),\n _: 2\n }, 1032, [\"field\"]))\n : _createCommentVNode(\"\", true)\n ]),\n [_unref(fields).ImmigrantOwnsCar]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.ownsCar\",\n \"align-content\": \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formDataComputed.value.ownsCar,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.ownsCar) = $event)),\n for: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"for\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantITSkills]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.itSkills\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueMulti: formDataComputed.value.itSkills,\n \"onUpdate:valueMulti\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.itSkills) = $event)),\n infoTable: \"ITSkills\",\n translationsTable: \"ITSkillTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueMulti\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantITSkillsDescription]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.itSkillsDescription\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.itSkillsDescription,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.itSkillsDescription) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantHobbies]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.hobbies\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.hobbies,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.hobbies) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ImmigrantFormSkillsFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ImmigrantFormSkillsFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"mt-4\" }\nconst _hoisted_4 = { class: \"p-3\" }\nconst _hoisted_5 = { class: \"d-flex justify-content-end\" }\n\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftImmigrantDto } from \"@api/draft-immigrant-dto\";\nimport { PropType, computed } from \"vue\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport { WorkExperienceDto } from \"@api/work-experience-dto\";\nimport { useValidateProps } from \"@/composables/fields\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ImmigrantFormWorkFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst addWorkExperience = () => {\n\tif (!formDataComputed.value.workExperiences) {\n\t\tformDataComputed.value.workExperiences = [];\n\t}\n\tformDataComputed.value.workExperiences.push({\n\t\tid: 0,\n\t\tcompanyName: \"\",\n\t\tjobTitle: \"\",\n\t\tdraftImmigrantId: 0,\n\n\t\tstartDate: new Date(),\n\t\tendDate: new Date(),\n\t} as WorkExperienceDto);\n};\n\nconst removeWorkExperience = (index: number) => {\n\tif (formDataComputed.value.workExperiences) {\n\t\tformDataComputed.value.workExperiences?.splice(index, 1);\n\t}\n};\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n const _component_HakoDatePicker = _resolveComponent(\"HakoDatePicker\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.sectionHeaders.workInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.ImmigrantWorkExperience)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.ImmigrantWorkExperience.fields\n }, {\n [_unref(fields).ImmigrantWorkExperienceYears]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.workExperienceYears\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n type: \"number\",\n modelValue: formDataComputed.value.workExperienceYears,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.workExperienceYears) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantWorkExperienceDescription]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.workExperienceDescription\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.workExperienceDescription,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.workExperienceDescription) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantWorkExperiences]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.workExperiences\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(formDataComputed.value.workExperiences, (workExperience, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"card mb-2\",\n key: i\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('immigrantForm.workExperienceCompany'),\n propertyPath: `draftImmigrantData.workExperiences[${i}].companyName`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: workExperience.companyName,\n \"onUpdate:modelValue\": ($event: any) => ((workExperience.companyName) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('immigrantForm.workExperienceJobTitle'),\n propertyPath: `draftImmigrantData.workExperiences[${i}].jobTitle`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: workExperience.jobTitle,\n \"onUpdate:modelValue\": ($event: any) => ((workExperience.jobTitle) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('immigrantForm.workExperienceStartDate'),\n propertyPath: `draftImmigrantData.workExperiences[${i}].startDate`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: workExperience.startDate,\n \"onUpdate:modelValue\": ($event: any) => ((workExperience.startDate) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder'),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('immigrantForm.workExperienceEndDate'),\n propertyPath: `draftImmigrantData.workExperiences[${i}].endDate`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: workExperience.endDate,\n \"onUpdate:modelValue\": ($event: any) => ((workExperience.endDate) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder'),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_HakoButton, {\n theme: \"danger\",\n onClick: () => removeWorkExperience(i)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.removeWorkExperience\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ])\n ])\n ]))\n }), 128)),\n _createVNode(_component_HakoButton, { onClick: addWorkExperience }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.addWorkExperience\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ImmigrantFormWorkFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ImmigrantFormWorkFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"mt-4\" }\nconst _hoisted_4 = { class: \"p-3\" }\nconst _hoisted_5 = { class: \"d-flex justify-content-end\" }\n\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftImmigrantDto } from \"@api/draft-immigrant-dto\";\nimport { PropType, computed } from \"vue\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport { EducationInfoDto } from \"@api/education-info-dto\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport OccupationalCompetenceSelect from \"@/components/OccupationalCompetenceSelect.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ImmigrantFormEducationFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst addEducationInfo = () => {\n\tif (!formDataComputed.value.educationInfos) {\n\t\tformDataComputed.value.educationInfos = [];\n\t}\n\tformDataComputed.value.educationInfos.push({\n\t\tdegree: \"\",\n\t\tinstitution: \"\",\n\t\tgraduationYear: null,\n\t\tmunicipalityFreeText: \"\",\n\t\tmunicipalityId: null,\n\t\tmunicipality: null,\n\t\tid: 0,\n\t\tdraftImmigrantId: 0,\n\t} as EducationInfoDto);\n};\n\nconst removeEducationInfo = (index: number) => {\n\tif (formDataComputed.value.educationInfos) {\n\t\tformDataComputed.value.educationInfos?.splice(index, 1);\n\t}\n};\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.sectionHeaders.educationInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.ImmigrantEducation)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.ImmigrantEducation.fields\n }, {\n [_unref(fields).ImmigrantEducationAndQualificationLevels]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.educationAndQualificationLevels\"\n }, {\n default: _withCtx(({ isInvalid, propertyPaths }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueMulti: formDataComputed.value.educationAndQualificationLevels,\n \"onUpdate:valueMulti\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.educationAndQualificationLevels) = $event)),\n infoTable: \"EducationAndQualificationLevels\",\n translationsTable: \"EducationAndQualificationLevelTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueMulti\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantEducationDescription]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.educationDescription\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.educationDescription,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.educationDescription) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantPermitAndCardTrainings]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftImmigrantData.permitAndCardTrainings\"\n }, {\n default: _withCtx(({ isInvalid, propertyPaths }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueMulti: formDataComputed.value.permitAndCardTrainings,\n \"onUpdate:valueMulti\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.permitAndCardTrainings) = $event)),\n infoTable: \"PermitAndCardTrainings\",\n translationsTable: \"PermitAndCardTrainingTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueMulti\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ImmigrantPermitAndCardTrainingsOccupationalCompetence]: _withCtx(({ field }) => [\n (formDataComputed.value.permitAndCardTrainings.length > 0)\n ? (_openBlock(), _createBlock(Field, {\n key: 0,\n field: field,\n propertyPath: \"draftImmigrantData.permitAndCardTrainingsOccupationalCompetence\"\n }, {\n default: _withCtx(({ isInvalid }) => [\n _createVNode(OccupationalCompetenceSelect, {\n valueMulti: \n\t\t\t\t\t\t\t\tformDataComputed.value.permitAndCardTrainingOccupationalCompetences\n\t\t\t\t\t\t\t,\n \"onUpdate:valueMulti\": _cache[3] || (_cache[3] = ($event: any) => ((\n\t\t\t\t\t\t\t\tformDataComputed.value.permitAndCardTrainingOccupationalCompetences\n\t\t\t\t\t\t\t) = $event)),\n type: \"PermitAndCard\",\n options: formDataComputed.value.permitAndCardTrainings,\n isInvalid: isInvalid\n }, null, 8, [\"valueMulti\", \"options\", \"isInvalid\"])\n ]),\n _: 2\n }, 1032, [\"field\"]))\n : _createCommentVNode(\"\", true)\n ]),\n [_unref(fields).ImmigrantEducationInfos]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Field, { field: field }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(formDataComputed.value.educationInfos, (educationInfo, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"card mb-2\",\n key: i\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('immigrantForm.educationInfoDegree'),\n propertyPath: `draftImmigrantData.educationInfos[${i}].degree`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: educationInfo.degree,\n \"onUpdate:modelValue\": ($event: any) => ((educationInfo.degree) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('immigrantForm.educationInfoInstitution'),\n propertyPath: `draftImmigrantData.educationInfos[${i}].institution`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n id: elementId,\n modelValue: educationInfo.institution,\n \"onUpdate:modelValue\": ($event: any) => ((educationInfo.institution) = $event),\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"id\", \"modelValue\", \"onUpdate:modelValue\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('immigrantForm.educationInfoGraduationYear'),\n propertyPath: `draftImmigrantData.educationInfos[${i}].graduationYear`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n id: elementId,\n type: \"number\",\n modelValue: educationInfo.graduationYear,\n \"onUpdate:modelValue\": ($event: any) => ((educationInfo.graduationYear) = $event),\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"id\", \"modelValue\", \"onUpdate:modelValue\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('immigrantForm.educationInfoMunicipalityFreeText'),\n propertyPath: `draftImmigrantData.educationInfos[${i}].municipalityFreeText`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n id: elementId,\n modelValue: educationInfo.municipalityFreeText,\n \"onUpdate:modelValue\": ($event: any) => ((educationInfo.municipalityFreeText) = $event),\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"id\", \"modelValue\", \"onUpdate:modelValue\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_HakoButton, {\n theme: \"danger\",\n onClick: () => removeEducationInfo(i)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.removeEducationInfo\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ])\n ])\n ]))\n }), 128)),\n _createVNode(_component_HakoButton, { onClick: addEducationInfo }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"immigrantForm.addEducationInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ImmigrantFormEducationFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ImmigrantFormEducationFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { keyBy } from \"lodash\";\nimport { computed, PropType, inject } from \"vue\";\n\nimport { PersonFieldCategoryMap } from \".\";\nimport providePersonFormInfo from \"@/types/symbols/providePersonFormInfo\";\nimport { DraftImmigrantDto } from \"@api/draft-immigrant-dto\";\nimport ImmigrantFormBasicFields from \"./fields/ImmigrantFormBasicFields.vue\";\nimport ImmigrantFormContactFields from \"./fields/ImmigrantFormContactFields.vue\";\nimport ImmigrantFormIntegrationFields from \"./fields/ImmigrantFormIntegrationFields.vue\";\nimport ImmigrantFormFamilyFields from \"./fields/ImmigrantFormFamilyFields.vue\";\nimport ImmigrantFormSkillsFields from \"./fields/ImmigrantFormSkillsFields.vue\";\nimport ImmigrantFormWorkFields from \"./fields/ImmigrantFormWorkFields.vue\";\nimport ImmigrantFormEducationFields from \"./fields/ImmigrantFormEducationFields.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ImmigrantFormFields',\n props: {\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst formInfo = inject(providePersonFormInfo);\n\nconst cats = computed(() => {\n\treturn formInfo?.value?.fieldCategories || [];\n});\n\nconst fieldsMap = computed(() => {\n\treturn keyBy(cats.value, (r) => r.id) as unknown as PersonFieldCategoryMap;\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n ((fieldsMap.value.ImmigrantBasicInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(ImmigrantFormBasicFields, {\n key: 0,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.ImmigrantContactInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(ImmigrantFormContactFields, {\n key: 1,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.ImmigrantIntegrationInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(ImmigrantFormIntegrationFields, {\n key: 2,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.ImmigrantIntegrationInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(ImmigrantFormFamilyFields, {\n key: 3,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.ImmigrantExperienceAndSkills?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(ImmigrantFormSkillsFields, {\n key: 4,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.ImmigrantWorkExperience?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(ImmigrantFormWorkFields, {\n key: 5,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.ImmigrantWorkExperience?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(ImmigrantFormEducationFields, {\n key: 6,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./ImmigrantFormFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ImmigrantFormFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"container-fluid\" }\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col\" }\nconst _hoisted_5 = { class: \"d-flex w-100\" }\nconst _hoisted_6 = [\"href\"]\nconst _hoisted_7 = {\n key: 0,\n style: {\"color\":\"red\"}\n}\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1)\nconst _hoisted_9 = { class: \"mt-2\" }\nconst _hoisted_10 = { key: 0 }\nconst _hoisted_11 = { style: {\"color\":\"red\"} }\nconst _hoisted_12 = { class: \"container-fluid\" }\nconst _hoisted_13 = { class: \"row\" }\nconst _hoisted_14 = { class: \"col-6\" }\nconst _hoisted_15 = { class: \"col-6\" }\n\nimport { getEntityTranslation } from \"@/helpers\";\nimport providePersonFormInfo from \"@/types/symbols/providePersonFormInfo\";\nimport { AlertManager } from \"@hakosalo/hakolib\";\nimport { inject, nextTick, onMounted, ref, watch } from \"vue\";\nimport FormSection from \"../FormSection.vue\";\nimport ImmigrantFormFields from \"./ImmigrantFormFields.vue\";\n\nimport publicFormApi from \"@/publicFormApi\";\nimport { ValidationFailureDto } from \"@api/validation-failure-dto\";\nimport { cloneDeep, values } from \"lodash\";\nimport { computed } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport FormSectionHeader from \"../FormSectionHeader.vue\";\n\nimport { useLiveValidation, useValidation } from \"@/composables/fields\";\nimport { DraftImmigrantFormDataDto } from \"@api/draft-immigrant-form-data-dto\";\n\ninterface PrivacyPolicyAccepts {\n\t[key: number]: boolean;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ImmigrantForm',\n emits: [\"saveSuccess\", \"saveFailed\"],\n setup(__props, { emit: __emit }) {\n\nconst { t } = useI18n();\n\nconst emit = __emit;\n\nconst makeHttps = (url: string) => {\n\turl = url.indexOf(\"://\") === -1 ? \"https://\" + url : url;\n\treturn url;\n};\n\nconst blankDraft = ref(null);\n\nconst resetFormData = () => {\n\tformData.value = cloneDeep(blankDraft.value);\n};\n\nonMounted(() => {\n\tpublicFormApi.call.personForm.get.getImmigrantDraft().then((r) => {\n\t\tif (r.isSuccessful) {\n\t\t\tformData.value = r.data;\n\t\t\tblankDraft.value = cloneDeep(r.data);\n\t\t}\n\t});\n});\n\nconst isSaving = ref(false);\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn formData.value;\n\t},\n\tset(v) {\n\t\tformData.value = v;\n\t},\n});\n\n// Inject validation system\nconst { validationErrors, validationStateMap } = useValidation();\n\nconst validationEndpoint = publicFormApi.call.validation.post.validateImmigrantProperties;\n\nuseLiveValidation(\n\tvalidationEndpoint,\n\tformDataComputed,\n\tvalidationErrors,\n\tvalidationStateMap\n);\n\nconst save = () => {\n\tif (!formData.value) {\n\t\treturn;\n\t}\n\n\tisSaving.value = true;\n\tpublicFormApi.call.personForm.post\n\t\t.saveImmigrant(formData.value)\n\t\t.then(async (r) => {\n\t\t\tif (r.isSuccessful && r.data) {\n\t\t\t\temit(\"saveSuccess\");\n\t\t\t\treturn;\n\t\t\t} else if (r.isHandledFailure && r.error && r.error.codeName == \"ValidationError\") {\n\t\t\t\tawait AlertManager.alert(t(\"generic.checkFields\"), t(\"generic.fixInvalidInputs\"));\n\n\t\t\t\tvalidationErrors.value =\n\t\t\t\t\t(r.error.data as ValidationFailureDto[]) || ([] as ValidationFailureDto[]);\n\n\t\t\t\tnextTick(() => {\n\t\t\t\t\t// from dom search all elements with class invalid-feedback that have display:block\n\t\t\t\t\tconst invalidFeedbacks = Array.from(document.querySelectorAll(\".invalid-feedback\"));\n\n\t\t\t\t\t// Filter elements that have display:block\n\t\t\t\t\tconst visibleInvalidFeedbacks = invalidFeedbacks.filter(\n\t\t\t\t\t\t(el) => window.getComputedStyle(el).display === \"block\"\n\t\t\t\t\t);\n\n\t\t\t\t\tif (visibleInvalidFeedbacks.length > 0) {\n\t\t\t\t\t\t// Select parent of the first element\n\t\t\t\t\t\tconst parent = visibleInvalidFeedbacks[0].parentElement;\n\n\t\t\t\t\t\tif (parent) {\n\t\t\t\t\t\t\t// Select first input inside the parent\n\t\t\t\t\t\t\tconst input = parent.querySelector(\"input\");\n\n\t\t\t\t\t\t\tif (input) {\n\t\t\t\t\t\t\t\t// Scroll to the first input\n\t\t\t\t\t\t\t\tinput.scrollIntoView({ block: \"center\" });\n\t\t\t\t\t\t\t\tinput.focus();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\t\t\temit(\"saveFailed\");\n\t\t})\n\t\t.finally(() => {\n\t\t\tisSaving.value = false;\n\t\t});\n};\n\nconst clear = async () => {\n\ttry {\n\t\tawait AlertManager.confirm(t(\"generic.warning\"), t(\"generic.clearAreYouSure\"));\n\t\tresetFormData();\n\t} catch {\n\t\t// Too bad\n\t}\n};\n\nconst formData = ref(null);\n\nconst formInfo = inject(providePersonFormInfo);\n\nconst privacyPolicyAccepts = ref({});\n\nconst privacyPolicies = computed(() => {\n\tif (!formInfo || !formInfo.value) {\n\t\treturn [];\n\t}\n\treturn formInfo.value.publicForm.privacyPolicies;\n});\n\nwatch(\n\tprivacyPolicies,\n\t() => {\n\t\tprivacyPolicyAccepts.value = {};\n\t\tprivacyPolicies.value.forEach((pp) => {\n\t\t\tprivacyPolicyAccepts.value[pp.id] = false;\n\t\t});\n\t},\n\t{ immediate: true }\n);\n\nconst allowSave = computed(() => {\n\tif (!formData.value) {\n\t\treturn false;\n\t}\n\n\tif (!formData.value.acceptDataSaving) {\n\t\treturn false;\n\t}\n\n\tif (values(formData.value.privacyPolicyConfirms).some((r) => r == false)) {\n\t\treturn false;\n\t}\n\n\treturn true;\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n\n return (_unref(formInfo) && formData.value && formData.value.draftImmigrantData)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(ImmigrantFormFields, {\n modelValue: formData.value.draftImmigrantData,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formData.value.draftImmigrantData) = $event))\n }, null, 8, [\"modelValue\"]),\n _createVNode(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.sectionPrivacy\")), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(privacyPolicies.value, (pp) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: pp.id,\n class: \"my-3\"\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formData.value.privacyPolicyConfirms[pp.id],\n \"onUpdate:modelValue\": ($event: any) => ((formData.value.privacyPolicyConfirms[pp.id]) = $event)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.haveReadAndAccept\")) + \" \", 1),\n _createElementVNode(\"a\", {\n class: \"mx-3\",\n href: makeHttps(pp.url),\n target: \"_blank\"\n }, [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(pp.translations, \"name\")) + \" \", 1),\n _createVNode(_component_HakoBsIcon, {\n icon: \"box-arrow-up-right\",\n size: 90\n })\n ], 8, _hoisted_6),\n (!formData.value.privacyPolicyConfirms[pp.id])\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_7, _toDisplayString(_ctx.$t(\"generic.required\")), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]))\n }), 128)),\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formData.value.acceptDataSaving,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formData.value.acceptDataSaving) = $event))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(_unref(formInfo).publicForm.translations, \"acceptSaveData\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (!formData.value.acceptDataSaving)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"small\", _hoisted_11, _toDisplayString(_ctx.$t(\"generic.dataSavingMustAccept\")), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_HakoButton, {\n onClick: save,\n disabled: !allowSave.value,\n isBlock: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.send\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_HakoButton, {\n onClick: clear,\n isBlock: \"\",\n theme: \"danger\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.clear\")), 1)\n ]),\n _: 1\n })\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./ImmigrantForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ImmigrantForm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vShow as _vShow, withDirectives as _withDirectives, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-a36af768\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container mb-4\" }\nconst _hoisted_2 = { class: \"container-fluid\" }\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col-md-6 col-lg-4 order-first order-md-last d-flex align-items-center\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex-grow-1\" }, null, -1))\nconst _hoisted_6 = { class: \"logo\" }\nconst _hoisted_7 = [\"src\"]\nconst _hoisted_8 = { class: \"col\" }\nconst _hoisted_9 = { class: \"row\" }\nconst _hoisted_10 = { class: \"col\" }\nconst _hoisted_11 = {\n class: \"mt-4\",\n style: {\"white-space\":\"pre-wrap\"}\n}\nconst _hoisted_12 = { class: \"col-md-4 col-lg-3\" }\n\nimport providePersonFormInfo from \"@/types/symbols/providePersonFormInfo\";\nimport { onMounted, ref, computed, provide, watch } from \"vue\";\nimport publicFormApi from \"@/publicFormApi\";\nimport ImmigrantForm from \"@/components/form/immigrantForm/ImmigrantForm.vue\";\nimport FormSection from \"@/components/form/FormSection.vue\";\nimport { FormDataDto } from \"@api/form-data-dto\";\nimport { getEntityTranslation, getOrganizationNameTranslation } from \"@/helpers\";\nimport LanguageSelection from \"@/components/LanguageSelection.vue\";\nimport router from \"@/router\";\nimport { useAppStore } from \"@/pinia/appStore\";\nimport { defaultTitle } from \"@/router\";\nimport { PersonFieldCategoryDto } from \"@api/person-field-category-dto\";\nimport { BusinessIdeaFieldCategoryDto } from \"@api/business-idea-field-category-dto\";\nimport provideBusinessIdeaFieldCategoriesInfo from \"@/types/symbols/provideBusinessIdeaFieldCategoriesInfo\";\nimport { logoUrl } from \"@/composables/logoUrl\";\nimport { useI18n } from \"vue-i18n\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ImmigrantFormView',\n setup(__props) {\n\nconst i18n = useI18n();\n\nconst orgInfo = computed(() => useAppStore().organizationInfo);\nconst formInfo = ref | null>(null);\nconst fieldCategories = ref([]);\nconst businessIdeaFieldCategories = ref([]);\n\nprovide(providePersonFormInfo, formInfo);\nprovide(provideBusinessIdeaFieldCategoriesInfo, businessIdeaFieldCategories);\n\nconst session = useAppStore();\n\nconst onSuccess = () => {\n\tsession.$state.formSentSuccesfully = true;\n\trouter.push({ name: \"ImmigrantFormSuccess\" });\n};\n\nconst onFailed = () => {\n\tsession.$state.formSentSuccesfully = false;\n\trouter.push({ name: \"ImmigrantFormFailed\" });\n};\n\nconst titleComputed = computed(() => {\n\tif (formInfo.value) {\n\t\tconst t = getEntityTranslation(formInfo.value.publicForm.translations, \"name\");\n\t\tif (t) {\n\t\t\treturn t;\n\t\t}\n\t}\n\treturn null;\n});\n\nwatch(titleComputed, (newTitle) => {\n\tif (newTitle) {\n\t\twindow.document.title = newTitle;\n\t\treturn;\n\t}\n\twindow.document.title = defaultTitle;\n});\n\nonMounted(() => {\n\tsession.$state.formSentSuccesfully = false;\n\n\tpublicFormApi.call.personForm.get.fields(\"immigrantForm\").then((resp) => {\n\t\tif (resp.isSuccessful && resp.data) {\n\t\t\tfieldCategories.value = resp.data;\n\t\t}\n\t});\n\n\tpublicFormApi.call.personForm.get.getFormInfo(\"integrationForm\").then((resp) => {\n\t\tif (resp.isSuccessful && resp.data) {\n\t\t\tformInfo.value = resp.data;\n\t\t}\n\t});\n});\n\nwatch(\n\t() => i18n.locale.value,\n\t() => {\n\t\tpublicFormApi.call.personForm.get.getFormInfo(\"integrationForm\").then((resp) => {\n\t\t\tif (resp.isSuccessful && resp.data) {\n\t\t\t\tconst data = resp.data;\n\n\t\t\t\t// Update translations\n\t\t\t\tif (formInfo.value) {\n\t\t\t\t\tformInfo.value.publicForm.translations = data.publicForm.translations;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n);\n\nconst updateUrl = (lang: string, org: string) => {\n\trouter.replace({\n\t\tname: \"ImmigrantForm\",\n\t\tparams: {\n\t\t\torg: org,\n\t\t\tlang: lang,\n\t\t},\n\t});\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (formInfo.value)\n ? (_openBlock(), _createBlock(FormSection, { key: 0 }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"img\", { src: _unref(logoUrl) }, null, 8, _hoisted_7)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"h1\", null, _toDisplayString(_unref(getEntityTranslation)(formInfo.value.publicForm.translations, \"name\")), 1),\n _createElementVNode(\"h5\", null, _toDisplayString(_unref(getOrganizationNameTranslation)(formInfo.value)), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"p\", _hoisted_11, _toDisplayString(_unref(getEntityTranslation)(formInfo.value.publicForm.translations, \"publicDescription\")), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(LanguageSelection, {\n languages: formInfo.value.publicForm.languages,\n onLangChanged: updateUrl\n }, null, 8, [\"languages\"])\n ])\n ])\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (formInfo.value)\n ? (_openBlock(), _createBlock(ImmigrantForm, {\n key: 1,\n onSaveSuccess: onSuccess,\n onSaveFailed: onFailed\n }))\n : _createCommentVNode(\"\", true)\n ], 512)), [\n [_vShow, orgInfo.value]\n ])\n}\n}\n\n})","import script from \"./ImmigrantFormView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ImmigrantFormView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ImmigrantFormView.vue?vue&type=style&index=0&id=a36af768&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-a36af768\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./ThankYou.vue?vue&type=template&id=3fe597b7\"\nconst script = {}\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-baccab7e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\n\nimport Center from \"@/components/Center.vue\";\nimport ThankYou from \"@/components/form/ThankYou.vue\";\nimport { useAppStore } from \"@/pinia/appStore\";\nimport { onMounted } from \"vue\";\nimport { useRouter } from \"vue-router\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ThankYouView',\n setup(__props) {\n\nconst router = useRouter();\nconst session = useAppStore();\nonMounted(() => {\n\tif (!session.$state.formSentSuccesfully) {\n\t\tsession.$state.formSentSuccesfully = false;\n\t\trouter.push({ name: \"home\" });\n\t}\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(session).$state.formSentSuccesfully)\n ? (_openBlock(), _createBlock(Center, { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(ThankYou)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./ThankYouView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ThankYouView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ThankYouView.vue?vue&type=style&index=0&id=baccab7e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-baccab7e\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./SaveFailed.vue?vue&type=template&id=6f2a243a\"\nconst script = {}\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport Center from \"@/components/Center.vue\";\nimport SaveFailed from \"@/components/form/SaveFailed.vue\";\n/* import { useRouter } from \"vue-router\";\n\nconst router = useRouter();\nconst session = useSessionStore();\nonMounted(() => {\n\tif (!session.$state.formSentSuccesfully) {\n\t\tsession.$state.formSentSuccesfully = false;\n\t\trouter.push({ name: \"home\" });\n\t}\n}); */\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SaveFailedView',\n setup(__props) {\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Center, null, {\n default: _withCtx(() => [\n _createVNode(SaveFailed)\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./SaveFailedView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SaveFailedView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./SaveFailedView.vue?vue&type=style&index=0&id=37e0788b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-37e0788b\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, unref as _unref } from \"vue\"\n\nimport type { ClassificationInformationSingleLevelBaseDto } from \"@api/classification-information-single-level-base-dto\";\nimport { getEntityTranslation } from \"@/helpers\";\nimport publicFormApi from \"@/publicFormApi\";\nimport type { IMultiLevelSelectOption, ISelectOption } from \"@hakosalo/hakolib\";\nimport type { Ref } from \"vue\";\nimport { computed, onMounted, ref } from \"vue\";\nimport { Field } from \"@/types/interfaces/field\";\n\ntype OptionType = T & {\n\tid: number | null;\n\tparentId?: number | null;\n\tchildren?: T[];\n\tenabled: boolean;\n\ttranslations: Array<{ languageCode: string }> | null;\n};\n\ntype OptionTypeNotNull = Omit & { id: number };\n\ntype OptionsType = Array;\n\ninterface Props {\n\tfield?: Field;\n\tvalueSingle?: OptionType | null;\n\tvalueSingleId?: number | null;\n\tvalueMulti?: OptionType[];\n\tinfoTable?: string;\n\ttranslationsTable?: string;\n\ttranslationProperty?: string;\n\tisInvalid?: boolean | null;\n\ttree?: boolean;\n\tajax?: boolean;\n\toptionFilter?: (option: OptionType) => boolean;\n\tnoCascade?: boolean;\n\tdisableTopLevelSelection?: boolean;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ClassificationInformationsSelect2',\n props: {\n field: {},\n valueSingle: {},\n valueSingleId: {},\n valueMulti: {},\n infoTable: {},\n translationsTable: {},\n translationProperty: { default: \"name\" },\n isInvalid: { type: [Boolean, null], default: null },\n tree: { type: Boolean, default: false },\n ajax: { type: Boolean, default: false },\n optionFilter: {},\n noCascade: { type: Boolean },\n disableTopLevelSelection: { type: Boolean }\n },\n emits: [\n\t\"update:valueSingle\",\n\t\"update:valueSingleId\",\n\t\"update:valueMulti\",\n\t\"blur\",\n],\n setup(__props: any, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst options = ref([]) as Ref;\n\nconst cValueSingle = computed({\n\tget() {\n\t\treturn props.valueSingle as OptionType;\n\t},\n\tset(newVal: OptionType) {\n\t\temit(\"update:valueSingleId\", newVal?.id || null);\n\t\temit(\"update:valueSingle\", newVal);\n\t},\n});\n\nconst cValueMulti = computed({\n\tget() {\n\t\treturn props.valueMulti as OptionType[];\n\t},\n\tset(newVal: OptionType[]) {\n\t\temit(\"update:valueMulti\", newVal);\n\t},\n});\n\nconst fnValueToOption = (val: OptionType) => {\n\tif (!val) {\n\t\treturn null;\n\t}\n\treturn {\n\t\ttext: getEntityTranslation(val.translations, props.translationProperty),\n\t\tvalue: val,\n\t} as ISelectOption;\n};\n\nconst mapToMultiLevelSelectOption = (options: OptionType[]) => {\n\treturn options.map((item) => {\n\t\tconst option = {\n\t\t\tkey: item.id,\n\t\t\tobj: item,\n\t\t\tvalue: item.id,\n\t\t\ttext: getEntityTranslation(item.translations, props.translationProperty),\n\t\t\tdisabled: false,\n\t\t\tchildren: [] as IMultiLevelSelectOption[],\n\t\t} as IMultiLevelSelectOption;\n\n\t\tif (Array.isArray(item.children) && item.children.length > 0) {\n\t\t\toption.children = mapToMultiLevelSelectOption(item.children as OptionType[]);\n\t\t}\n\t\treturn option;\n\t});\n};\n\nconst getOptions = (search?: string) => {\n\tif (props.infoTable && props.translationsTable) {\n\t\tpublicFormApi.call.form.get\n\t\t\t.getClassificationInformationsSingleLevel2(\n\t\t\t\tprops.infoTable,\n\t\t\t\tprops.translationsTable,\n\t\t\t\t[props.translationProperty],\n\t\t\t\tsearch\n\t\t\t)\n\t\t\t.then((res) => {\n\t\t\t\tif (res.data) {\n\t\t\t\t\toptions.value = res.data as unknown as OptionsType;\n\t\t\t\t\tif (props.optionFilter) {\n\t\t\t\t\t\toptions.value = options.value.filter(props.optionFilter);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t}\n};\n\nconst loadOptions = async (search?: string, page?: number) => {\n\tif (props.infoTable && props.translationsTable) {\n\t\tconst data =\n\t\t\tawait publicFormApi.call.form.get.getClassificationInformationsSingleLevel2(\n\t\t\t\tprops.infoTable,\n\t\t\t\tprops.translationsTable,\n\t\t\t\t[props.translationProperty],\n\t\t\t\tsearch\n\t\t\t);\n\t\tif (data && data.data) {\n\t\t\treturn data.data as unknown as OptionsType[];\n\t\t}\n\t}\n\treturn [] as OptionsType[];\n};\n\nonMounted(() => {\n\tif (!props.ajax) {\n\t\tgetOptions();\n\t}\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoSingleSelect2 = _resolveComponent(\"HakoSingleSelect2\")!\n const _component_HakoMultiselect2 = _resolveComponent(\"HakoMultiselect2\")!\n const _component_HakoTreeSelect = _resolveComponent(\"HakoTreeSelect\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (cValueSingle.value !== undefined)\n ? (_openBlock(), _createBlock(_component_HakoSingleSelect2, {\n key: 0,\n modelValue: cValueSingle.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((cValueSingle).value = $event)),\n useAjax: _ctx.ajax,\n onBlur: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('blur'))),\n isInvalid: _ctx.isInvalid,\n optionGenerator: fnValueToOption,\n optionComparer: (r) => r.id.toString(),\n optionLoader: loadOptions,\n optionFilter: props.optionFilter,\n useWindowMenu: \"\"\n }, null, 8, [\"modelValue\", \"useAjax\", \"isInvalid\", \"optionComparer\", \"optionFilter\"]))\n : _createCommentVNode(\"\", true),\n (!_ctx.tree)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n (cValueMulti.value !== undefined)\n ? (_openBlock(), _createBlock(_component_HakoMultiselect2, {\n key: 0,\n modelValue: cValueMulti.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((cValueMulti).value = $event)),\n useAjax: _ctx.ajax,\n onBlur: _cache[3] || (_cache[3] = ($event: any) => (_ctx.$emit('blur'))),\n isInvalid: _ctx.isInvalid,\n optionGenerator: fnValueToOption,\n optionComparer: (r) => r.id.toString(),\n optionLoader: loadOptions,\n optionFilter: props.optionFilter,\n useWindowMenu: \"\"\n }, null, 8, [\"modelValue\", \"useAjax\", \"isInvalid\", \"optionComparer\", \"optionFilter\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n : (_openBlock(), _createBlock(_component_HakoTreeSelect, {\n key: 2,\n modelValue: cValueMulti.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((cValueMulti).value = $event)),\n options: options.value,\n \"option-generator\": \n\t\t\t\t\t(o) => ({\n\t\t\t\t\t\tkey: o.id!.toString(),\n\t\t\t\t\t\tparentKey: o.parentId == null ? null : o.parentId!.toString(),\n\t\t\t\t\t\thasChildren: Array.isArray(o.children) && o.children!.length > 0,\n\t\t\t\t\t\ttext: _unref(getEntityTranslation)(o.translations, props.translationProperty) || '',\n\t\t\t\t\t\tisHeader:\n\t\t\t\t\t\t\t(_ctx.disableTopLevelSelection || false) == true && o.parentId == null\n\t\t\t\t\t\t\t\t? true\n\t\t\t\t\t\t\t\t: false,\n\t\t\t\t\t})\n\t\t\t\t,\n noCascade: _ctx.noCascade || undefined\n }, null, 8, [\"modelValue\", \"options\", \"option-generator\", \"noCascade\"]))\n ]))\n}\n}\n\n})","import script from \"./ClassificationInformationsSelect2.vue?vue&type=script&setup=true&lang=ts&generic=T%20extends%20ClassificationInformationSingleLevelBaseDto\"\nexport * from \"./ClassificationInformationsSelect2.vue?vue&type=script&setup=true&lang=ts&generic=T%20extends%20ClassificationInformationSingleLevelBaseDto\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, normalizeClass as _normalizeClass, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport ClassificationInformationsSelect2 from \"@/components/ClassificationInformationsSelect2.vue\";\nimport CompanyRoleField from \"@/components/CompanyRoleField.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { CompanyDto } from \"@api/company-dto\";\nimport { PropType, computed } from \"vue\";\nimport { CompanyFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyUpdateFormBasicFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst fields = dbEnums.CompanyFields;\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst getValidityClasses = (isInvalid: boolean) => {\n\tif (isInvalid) return \"is-invalid\";\n\telse return \"is-valid\";\n};\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"companyForm.sectionBasic.header\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.CompanyBasic)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.CompanyBasic.fields\n }, {\n [_unref(fields).Name]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"name\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.name,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.name) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"},\n disabled: \"\"\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ShortName]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"shortName\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.shortName,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.shortName) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).BusinessId]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"businessId\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.businessId,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.businessId) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"},\n disabled: \"\"\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Roles]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"companyRoles\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createElementVNode(\"div\", {\n class: _normalizeClass(getValidityClasses(isInvalid))\n }, [\n _createVNode(CompanyRoleField, {\n modelValue: formDataComputed.value.companyRoles,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.companyRoles) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ], 2)\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Type]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"companyFormId\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect2, {\n valueSingle: formDataComputed.value.companyForm,\n \"onUpdate:valueSingle\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.companyForm) = $event)),\n valueSingleId: formDataComputed.value.companyFormId,\n \"onUpdate:valueSingleId\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.companyFormId) = $event)),\n infoTable: \"CompanyForms\",\n translationsTable: \"CompanyFormTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./CompanyUpdateFormBasicFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyUpdateFormBasicFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, renderSlot as _renderSlot, resolveComponent as _resolveComponent, normalizeStyle as _normalizeStyle, createVNode as _createVNode, createElementVNode as _createElementVNode, vShow as _vShow, withDirectives as _withDirectives, unref as _unref, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"person-contact-data-editor\" }\nconst _hoisted_2 = { class: \"d-flex\" }\nconst _hoisted_3 = { class: \"is-primary-selector me-2\" }\nconst _hoisted_4 = [\"checked\", \"onChange\"]\nconst _hoisted_5 = { class: \"flex-fill\" }\nconst _hoisted_6 = { class: \"mt-2\" }\n\nimport { PersonContactDataDto } from \"@api/person-contact-data-dto\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { getEntityTranslation } from \"@/helpers\";\nimport { PropType } from \"vue\";\nimport { computed, nextTick, onBeforeMount } from \"vue\";\nimport Validation from \"./form/Validation.vue\";\nimport { Field } from \"@/types/interfaces/field\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { ContactDataType } from \"@api/contact-data-type\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'PersonContactDataEditor',\n props: {\n\ttype: {\n\t\ttype: String as PropType,\n\t\trequired: true,\n\t},\n\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\n\tfield: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\n\tpropertyPathBase: {\n\t\ttype: String,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\", \"validate\"],\n setup(__props, { emit: __emit }) {\n\nconst props = __props;\n\nconst emits = __emit;\n\nconst currentTypeDatas = computed(() => {\n\treturn props.modelValue.filter((x) => x.type == props.type);\n});\n\nconst dataCount = computed(() => {\n\treturn props.modelValue.filter((x) => x.type == props.type).length;\n});\n\nonBeforeMount(() => {\n\tconst isEmpty = dataCount.value == 0;\n\tif (isEmpty) {\n\t\taddNewData();\n\t}\n});\n\nconst addNewData = (fromBtn = false) => {\n\tconst mv = [...props.modelValue];\n\n\tconst newData = {\n\t\tid: (mv.length + 1) * -1,\n\t\ttype: props.type,\n\t\tdata: \"\",\n\t\tisPrimary: dataCount.value == 0,\n\t} as PersonContactDataDto;\n\n\tmv.push(newData);\n\n\temits(\"update:modelValue\", mv);\n\n\tif (fromBtn) {\n\t\tnextTick(() => {\n\t\t\tdocument.getElementById(\"pcde-\" + newData.id)?.focus();\n\t\t});\n\t}\n};\n\nconst onInputBlur = (obj: PersonContactDataDto, propNames: string[]) => {\n\tremoveIfEmpty(obj);\n\tnextTick(() => {\n\t\t/* const index = currentTypeDatas.value.indexOf(obj); */\n\t\t// emits(\"validate\", generatePropertyPathForIndex(index));\n\t\tvalidateProps(propNames);\n\t});\n};\n\nconst removeIfEmpty = (obj: PersonContactDataDto) => {\n\tif (obj.data.trim() == \"\" && dataCount.value > 1) {\n\t\tlet mv = [...props.modelValue];\n\t\tmv = mv.filter((x) => x.id != obj.id);\n\t\temits(\"update:modelValue\", mv);\n\t}\n};\n\nconst onChangePrimary = (obj: PersonContactDataDto) => {\n\tcurrentTypeDatas.value.forEach((d) => (d.isPrimary = false));\n\tobj.isPrimary = true;\n};\n\nconst validateProps = useValidateProps();\n\nconst generatePropertyPathForIndex = (index: number) => {\n\treturn `${props.propertyPathBase}.contactDatas[${index}].${props.type.toLowerCase()}`;\n};\n\nconst fieldLabel = computed(() => {\n\tconst label =\n\t\t(props.field && getEntityTranslation(props.field.translations, \"name\")) || \"Missing label\";\n\treturn label;\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoTeleInput = _resolveComponent(\"HakoTeleInput\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(currentTypeDatas.value, (dataRow, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: dataRow.id!,\n class: _normalizeClass({ 'mt-1': index > 0 })\n }, [\n (dataRow.type == __props.type)\n ? (_openBlock(), _createBlock(Validation, {\n key: 0,\n fieldName: fieldLabel.value,\n propertyPaths: [generatePropertyPathForIndex(index)],\n matchCustomStateValue: __props.type.toLowerCase()\n }, {\n default: _withCtx(({ isInvalid, propertyPaths }) => [\n _renderSlot(_ctx.$slots, \"default\", { isInvalid: isInvalid }, () => [\n _createElementVNode(\"div\", _hoisted_2, [\n _withDirectives(_createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_HakoBsIcon, {\n class: \"me-1\",\n icon: dataRow.isPrimary ? 'star-fill' : 'star',\n style: _normalizeStyle({ opacity: dataRow.isPrimary ? 1 : 0.25 })\n }, null, 8, [\"icon\", \"style\"]),\n _createElementVNode(\"input\", {\n type: \"radio\",\n checked: dataRow.isPrimary,\n onChange: ($event: any) => (onChangePrimary(dataRow))\n }, null, 40, _hoisted_4)\n ], 512), [\n [_vShow, dataCount.value > 1]\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (__props.type == _unref(dbEnums).ContactDataType.Email)\n ? (_openBlock(), _createBlock(_component_HakoInput, {\n key: 0,\n type: \"email\",\n modelValue: dataRow.data,\n \"onUpdate:modelValue\": ($event: any) => ((dataRow.data) = $event),\n id: 'pcde-' + dataRow.id,\n onBlur: ($event: any) => (onInputBlur(dataRow, propertyPaths)),\n isInvalid: isInvalid\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"onBlur\", \"isInvalid\"]))\n : (__props.type == _unref(dbEnums).ContactDataType.Phone)\n ? (_openBlock(), _createBlock(_component_HakoTeleInput, {\n key: 1,\n modelValue: dataRow.data,\n \"onUpdate:modelValue\": ($event: any) => ((dataRow.data) = $event),\n id: 'pcde-' + dataRow.id,\n onBlur: ($event: any) => (onInputBlur(dataRow, propertyPaths)),\n isInvalid: isInvalid\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"onBlur\", \"isInvalid\"]))\n : (_openBlock(), _createBlock(_component_HakoInput, {\n key: 2,\n modelValue: dataRow.data,\n \"onUpdate:modelValue\": ($event: any) => ((dataRow.data) = $event),\n id: 'pcde-' + dataRow.id,\n onBlur: ($event: any) => (onInputBlur(dataRow, propertyPaths)),\n isInvalid: isInvalid\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"onBlur\", \"isInvalid\"]))\n ])\n ])\n ])\n ]),\n _: 2\n }, 1032, [\"fieldName\", \"propertyPaths\", \"matchCustomStateValue\"]))\n : _createCommentVNode(\"\", true)\n ], 2))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_HakoButton, {\n sm: \"\",\n theme: \"success\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (addNewData(true)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.addNew\")), 1)\n ]),\n _: 1\n })\n ])\n ]))\n}\n}\n\n})","import script from \"./PersonContactDataEditor.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./PersonContactDataEditor.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./PersonContactDataEditor.vue?vue&type=style&index=0&id=6633548d&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid d-flex flex-column\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"me-3\" }\n\nimport PersonContactDataEditor from \"@/components/PersonContactDataEditor.vue\";\nimport LanguageSelect from \"@/components/LanguageSelect.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { CompanyDto } from \"@api/company-dto\";\nimport { PropType, computed } from \"vue\";\nimport { CompanyFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport { PersonCompanyDataDto } from \"@api/person-company-data-dto\";\nimport { PersonContactDataDto } from \"@api/person-contact-data-dto\";\nimport { PersonDto } from \"@api/person-dto\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyUpdateFormPersonsFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst fields = dbEnums.CompanyFields;\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst cPersonCount = computed(() => {\n\treturn formDataComputed.value.personCompanyDatas?.filter((x) => x.id > 0).length ?? 0;\n});\n\nconst addNewCompanyPerson = () => {\n\tformDataComputed.value.personCompanyDatas?.push({\n\t\tcompanyId: formDataComputed.value.id,\n\t\tcontactDatas: [] as PersonContactDataDto[],\n\t\ttitle: \"\",\n\t\tphoneNumber: \"\",\n\t\tpostalAddress: {},\n\t\tisCompanyInfoUpdateRequestRecipient: false,\n\t\tpersonId: 0,\n\t\tperson: {\n\t\t\tid: 0,\n\t\t\tfirstName: \"\",\n\t\t\tlastName: \"\",\n\t\t\tsecondNames: \"\",\n\t\t\tisActive: true,\n\t\t\tisElectronicCommunicationAllowed: true,\n\t\t\tcommunicationLanguageId: null,\n\t\t\tcommunicationLanguage: null,\n\t\t\tbirthday: null,\n\t\t} as unknown as PersonDto,\n\t} as PersonCompanyDataDto);\n};\n\nconst removeNewCompanyPerson = (index: number) => {\n\tformDataComputed.value.personCompanyDatas?.splice(index, 1);\n};\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoDatePicker = _resolveComponent(\"HakoDatePicker\")!\n const _component_HakoContentBlock = _resolveComponent(\"HakoContentBlock\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"companyForm.sectionPersons.header\")), 1)\n ]),\n _: 1\n })\n ]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(formDataComputed.value.personCompanyDatas, (person, index) => {\n return (_openBlock(), _createBlock(_component_HakoContentBlock, {\n key: 'person' + index,\n label: \n\t\t\t\t\tperson.personId\n\t\t\t\t\t\t? person.person.fullName\n\t\t\t\t\t\t: _ctx.$t('companyForm.newPerson') + ' #' + (index - cPersonCount.value + 1)\n\t\t\t\t,\n theme: person.isActive ? 'contact' : 'secondary',\n class: \"mb-3\",\n collapsed: \"\"\n }, {\n header: _withCtx(() => [\n (!person.personId)\n ? (_openBlock(), _createBlock(_component_HakoButton, {\n key: 0,\n onClick: ($event: any) => (removeNewCompanyPerson(index)),\n theme: \"danger\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.delete\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : (_openBlock(), _createBlock(_component_HakoCheckbox, {\n key: 1,\n \"model-value\": !person.isActive,\n \"onUpdate:modelValue\": ($event: any) => (person.isActive = !$event)\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(_ctx.$t(\"generic.isActive\")), 1)\n ]),\n _: 2\n }, 1032, [\"model-value\", \"onUpdate:modelValue\"]))\n ]),\n default: _withCtx(() => [\n (__props.fieldsMap.CompanyUpdatePersonsInfo)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.CompanyUpdatePersonsInfo.fields\n }, {\n [_unref(fields).CompanyUpdatePersonFirstName]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: `personCompanyDatas[${index}].person.firstName`,\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: person.person.firstName,\n \"onUpdate:modelValue\": ($event: any) => ((person.person.firstName) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\"])\n ]),\n [_unref(fields).CompanyUpdatePersonSecondNames]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: `personCompanyDatas[${index}].person.secondNames`,\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: person.person.secondNames,\n \"onUpdate:modelValue\": ($event: any) => ((person.person.secondNames) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\"])\n ]),\n [_unref(fields).CompanyUpdatePersonLastName]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: `personCompanyDatas[${index}].person.lastName`,\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: person.person.lastName,\n \"onUpdate:modelValue\": ($event: any) => ((person.person.lastName) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\"])\n ]),\n [_unref(fields).CompanyUpdatePersonIsElectronicCommunicationAllowed]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: `personCompanyDatas[${index}].person.isElectronicCommunicationAllowed`,\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: person.person.isElectronicCommunicationAllowed,\n \"onUpdate:modelValue\": ($event: any) => ((person.person.isElectronicCommunicationAllowed) = $event),\n for: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"for\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\"])\n ]),\n [_unref(fields).CompanyUpdatePersonTitle]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: `personCompanyDatas[${index}].title`,\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: person.title,\n \"onUpdate:modelValue\": ($event: any) => ((person.title) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\"])\n ]),\n [_unref(fields).CompanyUpdatePersonDateOfBirth]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: `personCompanyDatas[${index}].person.birthday`,\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: person.person.birthday,\n \"onUpdate:modelValue\": ($event: any) => ((person.person.birthday) = $event),\n allowEmpty: true,\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder'),\n style: {\"max-width\":\"250px\"},\n forceUtcMidnight: \"\"\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\"])\n ]),\n [_unref(fields).CompanyUpdatePersonEmails]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n isUpdateForm: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(PersonContactDataEditor, {\n modelValue: person.contactDatas,\n \"onUpdate:modelValue\": ($event: any) => ((person.contactDatas) = $event),\n type: _unref(dbEnums).ContactDataType.Email,\n field: field,\n onValidate: _unref(validateProps),\n propertyPathBase: `personCompanyDatas[${index}]`,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"type\", \"field\", \"onValidate\", \"propertyPathBase\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).CompanyUpdatePersonPhoneNumbers]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n isUpdateForm: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(PersonContactDataEditor, {\n modelValue: person.contactDatas,\n \"onUpdate:modelValue\": ($event: any) => ((person.contactDatas) = $event),\n type: _unref(dbEnums).ContactDataType.Phone,\n field: field,\n onValidate: _unref(validateProps),\n propertyPathBase: `personCompanyDatas[${index}]`,\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"type\", \"field\", \"onValidate\", \"propertyPathBase\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).CompanyUpdatePersonLanguage]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: `personCompanyDatas[${index}].person.communicationLanguageId`,\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(LanguageSelect, {\n valueSingle: person.person.communicationLanguage,\n \"onUpdate:valueSingle\": ($event: any) => ((person.person.communicationLanguage) = $event),\n valueSingleId: person.person.communicationLanguageId,\n \"onUpdate:valueSingleId\": ($event: any) => ((person.person.communicationLanguageId) = $event),\n communicationRole: _unref(dbEnums).PersonUserRoleIds.Elinkeino,\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"onUpdate:valueSingle\", \"valueSingleId\", \"onUpdate:valueSingleId\", \"communicationRole\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\"])\n ]),\n [_unref(fields).CompanyUpdatePersonIsInfoUpdateRequestRecipient]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: `personCompanyDatas[${index}].isCompanyInfoUpdateRequestRecipient`,\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: person.isCompanyInfoUpdateRequestRecipient,\n \"onUpdate:modelValue\": ($event: any) => ((person.isCompanyInfoUpdateRequestRecipient) = $event),\n for: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\", \"for\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"propertyPath\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"label\", \"theme\"]))\n }), 128)),\n _createVNode(_component_HakoButton, {\n theme: \"success\",\n onClick: addNewCompanyPerson,\n class: \"mt-3 ms-auto\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"companyForm.addNewCompanyPerson\")), 1)\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./CompanyUpdateFormPersonsFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyUpdateFormPersonsFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"mt-4\" }\n\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport ClassificationInformationsSelect2 from \"@/components/ClassificationInformationsSelect2.vue\";\nimport CompanySoMesField from \"@/components/CompanySoMesField.vue\";\nimport CountrySelect from \"@/components/CountrySelect.vue\";\nimport MunicipalitySelect from \"@/components/MunicipalitySelect.vue\";\nimport AddressBlock from \"@/components/AddressBlock.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { CompanyDto } from \"@api/company-dto\";\nimport { PropType, computed } from \"vue\";\nimport { CompanyFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport LanguageSelect from \"@/components/LanguageSelect.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyUpdateFormContactFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst fields = dbEnums.CompanyFields;\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoTeleInput = _resolveComponent(\"HakoTeleInput\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"companyForm.sectionContact.header\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.CompanyContactInfo?.fields)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.CompanyContactInfo.fields\n }, {\n [_unref(fields).PostalAddress]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n noLabel: \"\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ fieldLabel }) => [\n _createVNode(AddressBlock, {\n idPrefix: field.id,\n modelValue: formDataComputed.value.postalAddress,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.postalAddress) = $event)),\n parentPath: \"postalAddress\",\n label: fieldLabel,\n field: field,\n style: {\"max-width\":\"500px\"},\n isUpdateForm: \"\"\n }, null, 8, [\"idPrefix\", \"modelValue\", \"label\", \"field\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).VisitingAddress]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n noLabel: \"\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ fieldLabel }) => [\n _createVNode(AddressBlock, {\n idPrefix: field.id,\n modelValue: formDataComputed.value.visitingAddress,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.visitingAddress) = $event)),\n parentPath: \"visitingAddress\",\n label: fieldLabel,\n style: {\"max-width\":\"500px\"},\n field: field,\n isUpdateForm: \"\"\n }, null, 8, [\"idPrefix\", \"modelValue\", \"label\", \"field\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).BillingAddress]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"billingAddress\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.billingAddress,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.billingAddress) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Website]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"website\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.website,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.website) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).OnlineStore]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"onlineStore\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n type: \"url\",\n modelValue: formDataComputed.value.onlineStore,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.onlineStore) = $event)),\n id: elementId,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n isInvalid: isInvalid,\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"onBlur\", \"isInvalid\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Email]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"email\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.email,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.email) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Phone]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"phone\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTeleInput, {\n modelValue: formDataComputed.value.phone,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.phone) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Some]: _withCtx(({ field }) => [\n _createVNode(Field, {\n noLabel: \"\",\n field: field,\n propertyPath: \"companySoMes\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(CompanySoMesField, {\n field: field,\n modelValue: formDataComputed.value.companySoMes,\n \"onUpdate:modelValue\": [\n _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.companySoMes) = $event)),\n ($event: any) => (_unref(validateProps)(propertyPaths))\n ],\n id: elementId,\n isInvalid: isInvalid,\n isUpdateForm: \"\"\n }, null, 8, [\"field\", \"modelValue\", \"id\", \"isInvalid\", \"onUpdate:modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).IsElectronicCommunicationAllowed]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"isElectronicCommunicationAllowed\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formDataComputed.value.isElectronicCommunicationAllowed,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.isElectronicCommunicationAllowed) = $event)),\n for: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"for\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).HomeMunicipality]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"homeMunicipalityId\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(MunicipalitySelect, {\n valueSingle: formDataComputed.value.homeMunicipality,\n \"onUpdate:valueSingle\": _cache[9] || (_cache[9] = ($event: any) => ((formDataComputed.value.homeMunicipality) = $event)),\n valueSingleId: formDataComputed.value.homeMunicipalityId,\n \"onUpdate:valueSingleId\": _cache[10] || (_cache[10] = ($event: any) => ((formDataComputed.value.homeMunicipalityId) = $event)),\n ajax: \"\",\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Municipality]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"municipalityId\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(MunicipalitySelect, {\n valueSingle: formDataComputed.value.municipality,\n \"onUpdate:valueSingle\": _cache[11] || (_cache[11] = ($event: any) => ((formDataComputed.value.municipality) = $event)),\n valueSingleId: formDataComputed.value.municipalityId,\n \"onUpdate:valueSingleId\": _cache[12] || (_cache[12] = ($event: any) => ((formDataComputed.value.municipalityId) = $event)),\n ajax: \"\",\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).District]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"companyDistrictId\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect2, {\n valueSingle: formDataComputed.value.companyDistrict,\n \"onUpdate:valueSingle\": _cache[13] || (_cache[13] = ($event: any) => ((formDataComputed.value.companyDistrict) = $event)),\n valueSingleId: formDataComputed.value.companyDistrictId,\n \"onUpdate:valueSingleId\": _cache[14] || (_cache[14] = ($event: any) => ((formDataComputed.value.companyDistrictId) = $event)),\n infoTable: \"CompanyDistricts\",\n translationsTable: \"CompanyDistrictTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Homeland]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"homelandId\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(CountrySelect, {\n valueSingle: formDataComputed.value.homeland,\n \"onUpdate:valueSingle\": _cache[15] || (_cache[15] = ($event: any) => ((formDataComputed.value.homeland) = $event)),\n valueSingleId: formDataComputed.value.homelandId,\n \"onUpdate:valueSingleId\": _cache[16] || (_cache[16] = ($event: any) => ((formDataComputed.value.homelandId) = $event)),\n ajax: true,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n id: elementId,\n lowercase: \"\",\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Language]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"companyFormId\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(LanguageSelect, {\n valueSingle: formDataComputed.value.language,\n \"onUpdate:valueSingle\": _cache[17] || (_cache[17] = ($event: any) => ((formDataComputed.value.language) = $event)),\n valueSingleId: formDataComputed.value.languageId,\n \"onUpdate:valueSingleId\": _cache[18] || (_cache[18] = ($event: any) => ((formDataComputed.value.languageId) = $event)),\n communicationRole: _unref(dbEnums).PersonUserRoleIds.Elinkeino,\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"500px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"communicationRole\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./CompanyUpdateFormContactFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyUpdateFormContactFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, resolveDirective as _resolveDirective, withDirectives as _withDirectives, vShow as _vShow, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport Tol2008Select from \"@/components/Tol2008Select.vue\";\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport ClassificationInformationsSelect2 from \"@/components/ClassificationInformationsSelect2.vue\";\nimport LanguageSelect from \"@/components/LanguageSelect.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { CompanyDto } from \"@api/company-dto\";\nimport { PropType, computed, watch, ref, onMounted } from \"vue\";\nimport { CompanyFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport type { CompanyFormDto } from \"@api/company-form-dto\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyUpdateFormOtherFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst fields = dbEnums.CompanyFields;\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nconst showAssociationDirectoryMenu = ref(false);\nconst associationTypeCompanyForms = ref([\n\t\"Aatteellinen yhdistys\",\n\t\"Ulkomainen yhteisö\",\n\t\"Kotimainen yhteisö\",\n\t\"Yhdistys\",\n\t\"Kotimainen tai ulkomainen yhteisö\",\n\t\"Muu yhdistys\",\n]);\n\n// onMounted(() => {\n// \tif (formDataComputed.value.companyForm != null) {\n// \t\tif (\n// \t\t\tassociationTypeCompanyForms.value.includes(\n// \t\t\t\tformDataComputed.value.companyForm.technicalName\n// \t\t\t)\n// \t\t) {\n// \t\t\tshowAssociationDirectoryMenu.value = true;\n// \t\t}\n// \t}\n// });\n\nwatch(\n\t() => formDataComputed.value.companyForm,\n\t(newVal: CompanyFormDto | null) => {\n\t\tshowAssociationDirectoryMenu.value = false;\n\t\tif (newVal != null) {\n\t\t\tif (associationTypeCompanyForms.value.includes(newVal.technicalName)) {\n\t\t\t\tshowAssociationDirectoryMenu.value = true;\n\t\t\t}\n\t\t}\n\t},\n\t{ deep: true, immediate: true }\n);\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoDatePicker = _resolveComponent(\"HakoDatePicker\")!\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n const _directive_fieldMaxWidth = _resolveDirective(\"fieldMaxWidth\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"companyForm.sectionOther.header\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.CompanyOtherInfo?.fields)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.CompanyOtherInfo.fields\n }, {\n [_unref(fields).EstablishedAt]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"establishedDate\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: formDataComputed.value.establishedDate,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.establishedDate) = $event)),\n allowEmpty: \"\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"},\n placeholder: _ctx.$t('generic.datePlaceholder'),\n \"force-utc-midnight\": \"\"\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).TurnoverClass]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"turnoverClassId\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect2, {\n valueSingle: formDataComputed.value.turnoverClass,\n \"onUpdate:valueSingle\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.turnoverClass) = $event)),\n valueSingleId: formDataComputed.value.turnoverClassId,\n \"onUpdate:valueSingleId\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.turnoverClassId) = $event)),\n infoTable: \"TurnoverClasses\",\n translationsTable: \"TurnoverClassTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).StaffSizeClass]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"staffSizeClassId\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect2, {\n valueSingle: formDataComputed.value.staffSizeClass,\n \"onUpdate:valueSingle\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.staffSizeClass) = $event)),\n valueSingleId: formDataComputed.value.staffSizeClassId,\n \"onUpdate:valueSingleId\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.staffSizeClassId) = $event)),\n infoTable: \"StaffSizeClasses\",\n translationsTable: \"StaffSizeClassTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).AdditionalInformation]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"additionalInformation\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.additionalInformation,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.additionalInformation) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).Description]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"description\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.description,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.description) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ProductsAndServices]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"productsAndServices\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.productsAndServices,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.productsAndServices) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).TOL2008]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"tol2008Id\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(Tol2008Select, {\n id: elementId,\n modelValue: formDataComputed.value.tol2008Id,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.tol2008Id) = $event)),\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"id\", \"modelValue\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).TerminatedAt]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"terminationDate\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n id: elementId,\n modelValue: formDataComputed.value.terminationDate,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((formDataComputed.value.terminationDate) = $event)),\n allowEmpty: \"\",\n \"force-utc-midnight\": \"\",\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"id\", \"modelValue\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).ServiceDirectory]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n infoidentifier: \"company.serviceDirectories\",\n isUpdateForm: \"\"\n }, {\n default: _withCtx(({ isInvalid, propertyPaths }) => [\n _withDirectives(_createVNode(ClassificationInformationsSelect2, {\n valueMulti: formDataComputed.value.serviceDirectories,\n \"onUpdate:valueMulti\": _cache[10] || (_cache[10] = ($event: any) => ((formDataComputed.value.serviceDirectories) = $event)),\n infoTable: \"ServiceDirectories\",\n translationsTable: \"ServiceDirectoryTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n tree: \"\",\n noCascade: true,\n disableTopLevelSelection: true,\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueMulti\", \"isInvalid\", \"onBlur\"]), [\n [_directive_fieldMaxWidth, 'lg']\n ])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).AssociationDirectory]: _withCtx(({ field }) => [\n _withDirectives(_createVNode(Field, {\n field: field,\n infoidentifier: \"company.associationDirectories\"\n }, {\n default: _withCtx(({ isInvalid, propertyPaths }) => [\n _withDirectives(_createVNode(ClassificationInformationsSelect2, {\n valueMulti: formDataComputed.value.associationDirectories,\n \"onUpdate:valueMulti\": _cache[11] || (_cache[11] = ($event: any) => ((formDataComputed.value.associationDirectories) = $event)),\n infoTable: \"AssociationDirectories\",\n translationsTable: \"AssociationDirectoryTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n tree: \"\",\n noCascade: true,\n style: {\"max-width\":\"250px\"}\n }, null, 8, [\"valueMulti\", \"isInvalid\", \"onBlur\"]), [\n [_directive_fieldMaxWidth, 'lg']\n ])\n ]),\n _: 2\n }, 1032, [\"field\"]), [\n [_vShow, showAssociationDirectoryMenu.value]\n ])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./CompanyUpdateFormOtherFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyUpdateFormOtherFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { keyBy } from \"lodash\";\nimport { computed, PropType, inject } from \"vue\";\nimport CompanyUpdateFormBasicFields from \"./fields/CompanyUpdateFormBasicFields.vue\";\nimport CompanyUpdateFormPersonsFields from \"./fields/CompanyUpdateFormPersonsFields.vue\";\nimport CompanyUpdateFormContactFields from \"./fields/CompanyUpdateFormContactFields.vue\";\nimport CompanyUpdateFormOtherFields from \"./fields/CompanyUpdateFormOtherFields.vue\";\nimport { CompanyFieldCategoryMap } from \".\";\nimport provideCompanyFormInfo from \"@/types/symbols/provideCompanyFormInfo\";\nimport { CompanyDto } from \"@api/company-dto\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyUpdateFormFields',\n props: {\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst formInfo = inject(provideCompanyFormInfo);\n\nconst cats = computed(() => {\n\treturn formInfo?.value?.fieldCategories || [];\n});\n\nconst fieldsMap = computed(() => {\n\treturn keyBy(cats.value, (r) => r.id) as unknown as CompanyFieldCategoryMap;\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n ((fieldsMap.value.CompanyBasic?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(CompanyUpdateFormBasicFields, {\n key: 0,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.CompanyContactInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(CompanyUpdateFormContactFields, {\n key: 1,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.CompanyOtherInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(CompanyUpdateFormOtherFields, {\n key: 2,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.CompanyUpdatePersonsInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(CompanyUpdateFormPersonsFields, {\n key: 3,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./CompanyUpdateFormFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyUpdateFormFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, resolveComponent as _resolveComponent, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, vShow as _vShow, withDirectives as _withDirectives } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"container-fluid\" }\nconst _hoisted_3 = { class: \"container-fluid\" }\nconst _hoisted_4 = { class: \"row\" }\nconst _hoisted_5 = { class: \"col\" }\nconst _hoisted_6 = { class: \"d-flex w-100\" }\nconst _hoisted_7 = [\"href\"]\nconst _hoisted_8 = {\n key: 0,\n style: {\"color\":\"red\"}\n}\nconst _hoisted_9 = /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1)\nconst _hoisted_10 = { class: \"mt-2\" }\nconst _hoisted_11 = { key: 0 }\nconst _hoisted_12 = { style: {\"color\":\"red\"} }\nconst _hoisted_13 = { class: \"container-fluid\" }\nconst _hoisted_14 = { class: \"row\" }\nconst _hoisted_15 = { class: \"col-6\" }\nconst _hoisted_16 = { class: \"col-6\" }\n\nimport { getEntityTranslation } from \"@/helpers\";\nimport provideCompanyFormInfo from \"@/types/symbols/provideCompanyFormInfo\";\nimport { AlertManager } from \"@hakosalo/hakolib\";\nimport { PropType, inject, nextTick, onMounted, ref, watch } from \"vue\";\nimport FormSection from \"../FormSection.vue\";\nimport FormSectionHeader from \"../FormSectionHeader.vue\";\nimport CompanyUpdateFormFields from \"./CompanyUpdateFormFields.vue\";\nimport Field from \"../Field.vue\";\n\nimport { useLiveValidation, useValidation } from \"@/composables/fields\";\nimport publicFormApi from \"@/publicFormApi\";\nimport { CompanyUpdateFormDataDto } from \"@api/company-update-form-data-dto\";\nimport { ValidationFailureDto } from \"@api/validation-failure-dto\";\nimport { cloneDeep, values } from \"lodash\";\nimport { computed } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\n\ninterface PrivacyPolicyAccepts {\n\t[key: number]: boolean;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyUpdateForm',\n props: {\n\ttoken: {\n\t\ttype: String as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"saveSuccess\", \"saveFailed\"],\n setup(__props, { emit: __emit }) {\n\nconst { t } = useI18n();\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst makeHttps = (url: string) => {\n\turl = url.indexOf(\"://\") === -1 ? \"https://\" + url : url;\n\treturn url;\n};\n\nconst blankDraft = ref(null);\n\nconst resetFormData = () => {\n\tformData.value = cloneDeep(blankDraft.value);\n};\n\nonMounted(() => {\n\tpublicFormApi.call.companyUpdateForm.get.getCompanyData(props.token).then((r) => {\n\t\tif (r.isSuccessful) {\n\t\t\tformData.value = r.data;\n\t\t\tblankDraft.value = cloneDeep(r.data);\n\t\t}\n\t});\n});\n\nconst isSaving = ref(false);\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn formData.value;\n\t},\n\tset(v) {\n\t\tformData.value = v;\n\t},\n});\n\n// Inject validation system\nconst { validationErrors, validationStateMap } = useValidation();\n\nconst validationEndpoint = publicFormApi.call.validation.post.validateCompanyUpdateProperties;\n\nuseLiveValidation(\n\tvalidationEndpoint,\n\tformDataComputed,\n\tvalidationErrors,\n\tvalidationStateMap\n);\n\nconst save = () => {\n\tif (!formData.value) {\n\t\treturn;\n\t}\n\tisSaving.value = true;\n\tpublicFormApi.call.companyUpdateForm.post\n\t\t.default(formData.value)\n\t\t.then(async (r) => {\n\t\t\tif (r.isSuccessful && r.data) {\n\t\t\t\temit(\"saveSuccess\");\n\t\t\t\treturn;\n\t\t\t} else if (r.isHandledFailure && r.error && r.error.codeName == \"ValidationError\") {\n\t\t\t\tawait AlertManager.alert(t(\"generic.checkFields\"), t(\"generic.fixInvalidInputs\"));\n\n\t\t\t\tvalidationErrors.value =\n\t\t\t\t\t(r.error.data as ValidationFailureDto[]) || ([] as ValidationFailureDto[]);\n\t\t\t\tvalidationErrors.value.forEach(\n\t\t\t\t\t(x) => (x.propertyName = x.propertyName.replace(\"companyData.\", \"\"))\n\t\t\t\t);\n\n\t\t\t\tnextTick(() => {\n\t\t\t\t\t// from dom search all elements with class invalid-feedback that have display:block\n\t\t\t\t\tconst invalidFeedbacks = Array.from(document.querySelectorAll(\".invalid-feedback\"));\n\n\t\t\t\t\t// Filter elements that have display:block\n\t\t\t\t\tconst visibleInvalidFeedbacks = invalidFeedbacks.filter(\n\t\t\t\t\t\t(el) => window.getComputedStyle(el).display === \"block\"\n\t\t\t\t\t);\n\n\t\t\t\t\tif (visibleInvalidFeedbacks.length > 0) {\n\t\t\t\t\t\t// Select parent of the first element\n\t\t\t\t\t\tconst parent = visibleInvalidFeedbacks[0].parentElement;\n\n\t\t\t\t\t\tif (parent) {\n\t\t\t\t\t\t\t// Select first input inside the parent\n\t\t\t\t\t\t\tconst input = parent.querySelector(\"input\");\n\n\t\t\t\t\t\t\tif (input) {\n\t\t\t\t\t\t\t\t// Scroll to the first input\n\t\t\t\t\t\t\t\tinput.scrollIntoView({ block: \"center\" });\n\t\t\t\t\t\t\t\tinput.focus();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\t\t\temit(\"saveFailed\");\n\t\t})\n\t\t.finally(() => {\n\t\t\tisSaving.value = false;\n\t\t});\n};\n\nconst clear = async () => {\n\ttry {\n\t\tawait AlertManager.confirm(t(\"generic.warning\"), t(\"generic.clearAreYouSure\"));\n\t\tresetFormData();\n\t} catch {\n\t\t// Too bad\n\t}\n};\n\nconst formData = ref(null);\n\nconst formInfo = inject(provideCompanyFormInfo);\n\nconst privacyPolicyAccepts = ref({});\n\nconst privacyPolicies = computed(() => {\n\tif (!formInfo || !formInfo.value) {\n\t\treturn [];\n\t}\n\treturn formInfo.value.publicForm.privacyPolicies;\n});\n\nwatch(\n\tprivacyPolicies,\n\t() => {\n\t\tprivacyPolicyAccepts.value = {};\n\t\tprivacyPolicies.value.forEach((pp) => {\n\t\t\tprivacyPolicyAccepts.value[pp.id] = false;\n\t\t});\n\t},\n\t{ immediate: true }\n);\n\n// const enabledFields = computed(() => {\n// \tlet fields: Field[] = [];\n// \tif (!formInfo || !formInfo.value) {\n// \t\treturn fields;\n// \t}\n\n// \tfields = flatten(formInfo.value.fieldCategories.map((r) => r.fields));\n// \treturn fields;\n// });\n\n// const isEnabled = (fieldId: string) => {\n// \tif (enabledFields.value.some((r) => r.id == fieldId)) {\n// \t\treturn true;\n// \t}\n// \treturn false;\n// };\n\nconst allowSave = computed(() => {\n\tif (!formData.value) {\n\t\treturn false;\n\t}\n\n\tif (!formData.value.acceptDataSaving) {\n\t\treturn false;\n\t}\n\n\tif (values(formData.value.privacyPolicyConfirms).some((r) => r == false)) {\n\t\treturn false;\n\t}\n\n\treturn true;\n});\n\n// netbox stuff\n\n// const netboxModalOpen = ref(false);\n// const netboxLoading = ref(false);\n// const netboxName = ref(\"\");\n// const netboxShortResults = ref([]);\n// const netboxBusinessId = ref(\"\");\n// const netboxResult = ref(null);\n\n// const modalSearch = ref(\"\");\n// const modalShowAmount = ref(15);\n\n// const netboxShortResultsComputed = computed(() => {\n// \treturn take(\n// \t\tnetboxShortResults.value.filter(\n// \t\t\t(r) => r.name.toLocaleLowerCase().indexOf(modalSearch.value.toLocaleLowerCase()) >= 0\n// \t\t),\n// \t\tmodalShowAmount.value\n// \t);\n// });\n\n// const showLess = () => {\n// \tmodalShowAmount.value = 15;\n// };\n\n// const showMore = () => {\n// \tmodalShowAmount.value += 15;\n// };\n\n// const showAll = () => {\n// \tmodalShowAmount.value = netboxShortResults.value.length;\n// };\n\n// const fillCompany = (businessId: string) => {\n// \tnetboxModalOpen.value = false;\n// \tnetboxBusinessId.value = businessId;\n// \tvalidationErrors.value = [];\n// \tsearchNetbox();\n// };\n\n// const searchNetbox = () => {\n// \tif (netboxBusinessId.value) {\n// \t\tnetboxLoading.value = true;\n// \t\tpublicFormApi.call.companyForm.get\n// \t\t\t.netboxSearchByBusinessId(netboxBusinessId.value)\n// \t\t\t.then((r) => {\n// \t\t\t\tif (r.isSuccessful && r.data) {\n// \t\t\t\t\tnetboxResult.value = r.data;\n// \t\t\t\t\tfillFromNetboxCompany(r.data);\n// \t\t\t\t}\n// \t\t\t});\n// \t} else if (netboxName.value) {\n// \t\tnetboxShortResults.value = [];\n// \t\tnetboxModalOpen.value = true;\n// \t\tnetboxLoading.value = true;\n// \t\tpublicFormApi.call.companyForm.get\n// \t\t\t.netboxSearchByName(netboxName.value)\n// \t\t\t.then((r) => {\n// \t\t\t\tif (r.isSuccessful && r.data) {\n// \t\t\t\t\tnetboxShortResults.value = r.data;\n// \t\t\t\t}\n// \t\t\t})\n// \t\t\t.finally(() => (netboxLoading.value = false));\n// \t}\n// };\n\n// const fillFromNetboxCompany = async (netboxCompany: NetboxCompany) => {\n// \tif (!formData.value) {\n// \t\treturn;\n// \t}\n// \tresetFormData();\n// \tawait nextTick();\n// \tnetboxLoading.value = true;\n// \tformData.value.draftCompanyData.businessId = netboxCompany.vat_identifier;\n// \tformData.value.draftCompanyData.name =\n// \t\tnetboxCompany.names.filter((r) => r.type == \"primary\").shift()?.name || \"\";\n\n// \tif (netboxCompany.domicile && isEnabled(dbEnums.CompanyFields.HomeMunicipality)) {\n// \t\ttry {\n// \t\t\tconst municipalityResp = await publicFormApi.call.form.get.municipality(\n// \t\t\t\tnetboxCompany.domicile\n// \t\t\t);\n// \t\t\tif (municipalityResp.isSuccessful && municipalityResp.data) {\n// \t\t\t\tformData.value.draftCompanyData.homeMunicipalityId = municipalityResp.data.code;\n// \t\t\t\tformData.value.draftCompanyData.homeMunicipality = municipalityResp.data;\n// \t\t\t}\n// \t\t} catch (error) {\n// \t\t\tconsole.error(error);\n// \t\t}\n// \t}\n\n// \tconst contactMap = keyBy(netboxCompany.contact, \"code\");\n\n// \tif (contactMap.sms?.value && isEnabled(dbEnums.CompanyFields.Phone)) {\n// \t\tformData.value.draftCompanyData.phone = contactMap.sms.value;\n// \t}\n// \tif (contactMap.phone?.value && isEnabled(dbEnums.CompanyFields.Phone)) {\n// \t\tformData.value.draftCompanyData.phone = contactMap.phone.value;\n// \t}\n// \tif (contactMap.www?.value && isEnabled(dbEnums.CompanyFields.Website)) {\n// \t\tformData.value.draftCompanyData.website = contactMap.www.value;\n// \t}\n// \tif (contactMap.email?.value && isEnabled(dbEnums.CompanyFields.Email)) {\n// \t\tformData.value.draftCompanyData.email = contactMap.email.value;\n// \t}\n\n// \tconst addressMap = keyBy(netboxCompany.addresses, \"type\");\n\n// \tif (addressMap.visiting?.street && isEnabled(dbEnums.CompanyFields.VisitingAddress)) {\n// \t\tformData.value.draftCompanyData.visitingAddress!.streetAddress = addressMap.visiting.street;\n// \t}\n// \tif (addressMap.visiting?.zipcode && isEnabled(dbEnums.CompanyFields.VisitingAddress)) {\n// \t\ttry {\n// \t\t\tconst visitingAddressResp = await publicFormApi.call.form.get.postalCode(\n// \t\t\t\taddressMap.visiting.zipcode\n// \t\t\t);\n// \t\t\tif (visitingAddressResp.isSuccessful && visitingAddressResp.data) {\n// \t\t\t\tformData.value.draftCompanyData.visitingAddress!.postalCodeId =\n// \t\t\t\t\tvisitingAddressResp.data.id;\n// \t\t\t\tformData.value.draftCompanyData.visitingAddress!.postalCode = visitingAddressResp.data;\n// \t\t\t\tformData.value.draftCompanyData.visitingAddress!.municipalityId =\n// \t\t\t\t\tvisitingAddressResp.data.municipalityId;\n// \t\t\t\tformData.value.draftCompanyData.visitingAddress!.municipality =\n// \t\t\t\t\tvisitingAddressResp.data.municipality!;\n// \t\t\t}\n// \t\t} catch (error) {\n// \t\t\tconsole.error(error);\n// \t\t}\n// \t}\n// \tif (addressMap.postal?.street && isEnabled(dbEnums.CompanyFields.PostalAddress)) {\n// \t\tformData.value.draftCompanyData.postalAddress!.streetAddress = addressMap.postal.street;\n// \t}\n// \tif (addressMap.postal?.zipcode && isEnabled(dbEnums.CompanyFields.PostalAddress)) {\n// \t\ttry {\n// \t\t\tconst postalCodeResp = await publicFormApi.call.form.get.postalCode(\n// \t\t\t\taddressMap.postal.zipcode\n// \t\t\t);\n// \t\t\tif (postalCodeResp.isSuccessful && postalCodeResp.data) {\n// \t\t\t\tformData.value.draftCompanyData.postalAddress!.postalCodeId = postalCodeResp.data.id;\n// \t\t\t\tformData.value.draftCompanyData.postalAddress!.postalCode = postalCodeResp.data;\n// \t\t\t\tformData.value.draftCompanyData.postalAddress!.municipalityId =\n// \t\t\t\t\tpostalCodeResp.data.municipalityId;\n// \t\t\t\tformData.value.draftCompanyData.postalAddress!.municipality =\n// \t\t\t\t\tpostalCodeResp.data.municipality!;\n// \t\t\t}\n// \t\t} catch (error) {\n// \t\t\tconsole.error(error);\n// \t\t}\n// \t}\n// \tif (netboxCompany.type?.name && isEnabled(dbEnums.CompanyFields.Type)) {\n// \t\ttry {\n// \t\t\tconst formResp = await publicFormApi.call.companyForm.get.matchNetboxCompanyForm(\n// \t\t\t\tnetboxCompany.type.name\n// \t\t\t);\n// \t\t\tif (formResp.isSuccessful && formResp.data) {\n// \t\t\t\tformData.value.draftCompanyData.companyFormId = formResp.data.id;\n// \t\t\t\tformData.value.draftCompanyData.companyForm = formResp.data;\n// \t\t\t}\n// \t\t} catch (error) {\n// \t\t\tconsole.error(error);\n// \t\t}\n// \t}\n// \tif (netboxCompany.language?.code && isEnabled(dbEnums.CompanyFields.Language)) {\n// \t\ttry {\n// \t\t\tconst formResp = await publicFormApi.call.companyForm.get.matchNetboxLanguage(\n// \t\t\t\tnetboxCompany.language.code\n// \t\t\t);\n// \t\t\tif (formResp.isSuccessful && formResp.data) {\n// \t\t\t\tformData.value.draftCompanyData.languageId = formResp.data.code;\n// \t\t\t\tformData.value.draftCompanyData.language = formResp.data;\n// \t\t\t}\n// \t\t} catch (error) {\n// \t\t\tconsole.error(error);\n// \t\t}\n// \t}\n// \tif (netboxCompany.industry && isEnabled(dbEnums.CompanyFields.TOL2008)) {\n// \t\tconst maxLevelTol = netboxCompany.industry.reduce(function (prev, current) {\n// \t\t\treturn prev && prev.level > current.level ? prev : current;\n// \t\t});\n// \t\tif (maxLevelTol) {\n// \t\t\ttry {\n// \t\t\t\tconst formResp = await publicFormApi.call.companyForm.get.matchNetboxTol(\n// \t\t\t\t\tmaxLevelTol.code\n// \t\t\t\t);\n// \t\t\t\tif (formResp.isSuccessful && formResp.data) {\n// \t\t\t\t\tformData.value.draftCompanyData.tol2008Id = formResp.data.id;\n// \t\t\t\t\tformData.value.draftCompanyData.tol2008 = formResp.data;\n// \t\t\t\t}\n// \t\t\t} catch (error) {\n// \t\t\t\tconsole.error(error);\n// \t\t\t}\n// \t\t}\n// \t}\n\n// \tnetboxLoading.value = false;\n\n// \tNotificationManager.quickSuccess(\n// \t\tt(\"companyForm.sectionNetbox.fillSuccess\"),\n// \t\tt(\"companyForm.sectionNetbox.fillSuccessTxt\")\n// \t);\n// };\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoRadio = _resolveComponent(\"HakoRadio\")!\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(formInfo) && formData.value && formData.value.companyData)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(CompanyUpdateFormFields, {\n modelValue: formData.value.companyData,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formData.value.companyData) = $event)),\n contactReasonOptions: formData.value.contactReasonOptions\n }, null, 8, [\"modelValue\", \"contactReasonOptions\"]),\n (formData.value.organizationHasPublicDirectory)\n ? (_openBlock(), _createBlock(FormSection, { key: 0 }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"companyUpdateForm.publicDirectorySectionHeader\")), 1)\n ]),\n _: 1\n }),\n _createVNode(Field, {\n label: _ctx.$t('companyUpdateForm.showInPublicDirectoryLabel')\n }, {\n default: _withCtx(() => [\n _createVNode(_component_HakoRadio, {\n modelValue: formData.value.companyData.showInCompanyRegister,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formData.value.companyData.showInCompanyRegister) = $event)),\n value: true\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n _createVNode(_component_HakoRadio, {\n modelValue: formData.value.companyData.showInCompanyRegister,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formData.value.companyData.showInCompanyRegister) = $event)),\n value: false\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.no\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"label\"])\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.sectionPrivacy\")), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(privacyPolicies.value, (pp) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: pp.id,\n class: \"my-3\"\n }, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formData.value.privacyPolicyConfirms[pp.id],\n \"onUpdate:modelValue\": ($event: any) => ((formData.value.privacyPolicyConfirms[pp.id]) = $event)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.haveReadAndAccept\")) + \" \", 1),\n _createElementVNode(\"a\", {\n class: \"mx-3\",\n href: makeHttps(pp.url),\n target: \"_blank\"\n }, [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(pp.translations, \"name\")) + \" \", 1),\n _createVNode(_component_HakoBsIcon, {\n icon: \"box-arrow-up-right\",\n size: 90\n })\n ], 8, _hoisted_7),\n (!formData.value.privacyPolicyConfirms[pp.id])\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_8, _toDisplayString(_ctx.$t(\"generic.required\")), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]))\n }), 128)),\n _hoisted_9,\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formData.value.acceptDataSaving,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formData.value.acceptDataSaving) = $event))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(_unref(formInfo).publicForm.translations, \"acceptSaveData\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (!formData.value.acceptDataSaving)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createElementVNode(\"small\", _hoisted_12, _toDisplayString(_ctx.$t(\"generic.dataSavingMustAccept\")), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_HakoButton, {\n onClick: save,\n disabled: !allowSave.value,\n isBlock: \"\",\n \"is-loading\": isSaving.value\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.send\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"is-loading\"])\n ]),\n _createElementVNode(\"div\", _hoisted_16, [\n _createVNode(_component_HakoButton, {\n onClick: clear,\n isBlock: \"\",\n theme: \"danger\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.clearChanges\")), 1)\n ]),\n _: 1\n })\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createElementVNode(\"div\", { class: \"alert alert-primary\" }, _toDisplayString(_ctx.$t(\"companyForm.noDataFoundWithToken\")), 513), [\n [_vShow, _unref(formInfo) && formData.value && !formData.value.companyData]\n ])\n ], 64))\n}\n}\n\n})","import script from \"./CompanyUpdateForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyUpdateForm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, vShow as _vShow, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5c10d272\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container mb-4\" }\nconst _hoisted_2 = { class: \"container-fluid\" }\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col-md-8 col-lg-8\" }\nconst _hoisted_5 = { class: \"logo\" }\nconst _hoisted_6 = [\"src\"]\nconst _hoisted_7 = { class: \"mt-4\" }\nconst _hoisted_8 = { class: \"mt-4\" }\nconst _hoisted_9 = { class: \"col-lg-4 col-md-4\" }\nconst _hoisted_10 = { class: \"row\" }\nconst _hoisted_11 = { class: \"col-md-12\" }\nconst _hoisted_12 = {\n class: \"mt-4\",\n style: {\"white-space\":\"pre-wrap\"}\n}\nconst _hoisted_13 = { key: 1 }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", {\n class: \"show-public-icon\",\n style: {\"background-color\":\"#32b769\"}\n}, null, -1))\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", {\n class: \"show-public-icon ms-4\",\n style: {\"background-color\":\"gray\"}\n}, null, -1))\n\nimport provideCompanyFormInfo from \"@/types/symbols/provideCompanyFormInfo\";\nimport { CompanyFieldCategoryDto } from \"@api/company-field-category-dto\";\nimport { onMounted, ref, computed, provide, watch, PropType } from \"vue\";\nimport publicFormApi from \"@/publicFormApi\";\nimport CompanyUpdateForm from \"@/components/form/companyUpdateForm/CompanyUpdateForm.vue\";\nimport FormSection from \"@/components/form/FormSection.vue\";\nimport { FormDataDto } from \"@api/form-data-dto\";\nimport { getEntityTranslation, getOrganizationNameTranslation } from \"@/helpers\";\nimport LanguageSelection from \"@/components/LanguageSelection.vue\";\nimport router from \"@/router\";\nimport { useAppStore } from \"@/pinia/appStore\";\nimport { defaultTitle } from \"@/router\";\nimport { logoUrl } from \"@/composables/logoUrl\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CompanyUpdateFormView',\n props: {\n\ttoken: {\n\t\ttype: String as PropType,\n\t\trequired: true,\n\t},\n},\n setup(__props) {\n\nconst orgInfo = computed(() => useAppStore().organizationInfo);\nconst formInfo = ref | null>(null);\nconst fieldCategories = ref([]);\nconst orgUsingPublicDirectory = ref(false);\n\nprovide(provideCompanyFormInfo, formInfo);\nprovide(\"orgUsingPublicDirectory\", orgUsingPublicDirectory);\n\nconst props = __props;\n\nconst session = useAppStore();\n\nconst onSuccess = () => {\n\tsession.$state.formSentSuccesfully = true;\n\trouter.push({ name: \"CompanyFormSuccess\" });\n};\n\nconst onFailed = () => {\n\t// alert(\"Ei toimi\");\n\tsession.$state.formSentSuccesfully = false;\n\trouter.push({ name: \"CompanyFormFailed\" });\n};\n\nconst titleComputed = computed(() => {\n\tif (formInfo.value) {\n\t\tconst t = getEntityTranslation(formInfo.value.publicForm.translations, \"name\");\n\t\tif (t) {\n\t\t\treturn t;\n\t\t}\n\t}\n\treturn null;\n});\n\nwatch(titleComputed, (newTitle) => {\n\tif (newTitle) {\n\t\twindow.document.title = newTitle;\n\t\treturn;\n\t}\n\twindow.document.title = defaultTitle;\n});\n\nonMounted(() => {\n\tsession.$state.formSentSuccesfully = false;\n\n\tpublicFormApi.call.companyUpdateForm.get.fields().then((resp) => {\n\t\tif (resp.isSuccessful && resp.data) {\n\t\t\tfieldCategories.value = resp.data;\n\t\t}\n\t});\n\n\tpublicFormApi.call.companyUpdateForm.get.getFormInfo().then((resp) => {\n\t\tif (resp.isSuccessful && resp.data) {\n\t\t\tformInfo.value = resp.data;\n\t\t}\n\t});\n\n\tpublicFormApi.call.companyUpdateForm.get.orgUsingCompanyDirectory().then((resp) => {\n\t\tif (resp.isSuccessful && resp.data) {\n\t\t\torgUsingPublicDirectory.value = resp.data;\n\t\t}\n\t});\n});\n\nasync function updateUrl(lang: string, org: string) {\n\tawait router.replace({\n\t\tname: \"CompanyUpdateForm\",\n\t\tparams: {\n\t\t\torg: org,\n\t\t\tlang: lang,\n\t\t\ttoken: props.token,\n\t\t},\n\t});\n}\n\nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (formInfo.value)\n ? (_openBlock(), _createBlock(FormSection, { key: 0 }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"img\", { src: _unref(logoUrl) }, null, 8, _hoisted_6)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"h1\", null, _toDisplayString(_unref(getEntityTranslation)(formInfo.value.publicForm.translations, \"name\")), 1)\n ]),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"h2\", _hoisted_8, _toDisplayString(_unref(getOrganizationNameTranslation)(formInfo.value)), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(LanguageSelection, {\n languages: formInfo.value.publicForm.languages,\n onLangChanged: updateUrl\n }, null, 8, [\"languages\"])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"p\", _hoisted_12, _toDisplayString(_unref(getEntityTranslation)(formInfo.value.publicForm.translations, \"publicDescription\")), 1)\n ])\n ])\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (orgUsingPublicDirectory.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _hoisted_14,\n _createElementVNode(\"span\", null, _toDisplayString(\" = \" + _ctx.$t(\"companyUpdateForm.shownInPublicDirectory\")), 1),\n _hoisted_15,\n _createElementVNode(\"span\", null, _toDisplayString(\" = \" + _ctx.$t(\"companyUpdateForm.notShownInPublicDirectory\")), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (formInfo.value)\n ? (_openBlock(), _createBlock(CompanyUpdateForm, {\n key: 2,\n token: props.token,\n orgUsingPublicDirectory: \"\",\n onSaveSuccess: onSuccess,\n onSaveFailed: onFailed\n }, null, 8, [\"token\"]))\n : _createCommentVNode(\"\", true)\n ], 512)), [\n [_vShow, orgInfo.value]\n ])\n}\n}\n\n})","import script from \"./CompanyUpdateFormView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CompanyUpdateFormView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CompanyUpdateFormView.vue?vue&type=style&index=0&id=5c10d272&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5c10d272\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, vModelText as _vModelText, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"mt-4\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"d-flex\"\n}\nconst _hoisted_5 = { class: \"input-group\" }\nconst _hoisted_6 = { class: \"input-group-text\" }\nconst _hoisted_7 = [\"id\", \"isInvalid\", \"onBlur\"]\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = { class: \"alert alert-danger\" }\nconst _hoisted_10 = { class: \"mt-4\" }\nconst _hoisted_11 = { class: \"mt-4\" }\nconst _hoisted_12 = { class: \"mt-4\" }\n\nimport CountrySelect from \"@/components/CountrySelect.vue\";\nimport LanguageSelect from \"@/components/LanguageSelect.vue\";\nimport RadioField from \"@/components/RadioField.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\nimport { isMobileReactive } from \"@/helpers\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { SelectOption } from \"@/types/interfaces/field\";\nimport { DraftJobSeekerDto } from \"@api/draft-job-seeker-dto\";\nimport { format } from \"date-fns\";\nimport { PropType, computed } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'JobSeekerFormBasicFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\nconst { t } = useI18n();\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\nconst genderOptions = [\n\t{ text: t(\"genders.man\"), value: dbEnums.Genders.Man },\n\t{ text: t(\"genders.woman\"), value: dbEnums.Genders.Woman },\n\t{ text: t(\"genders.other\"), value: dbEnums.Genders.Other },\n\t{ text: t(\"genders.unknown\"), value: null },\n] as SelectOption[];\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst socialSecuritySign = computed(() => {\n\tif (!formDataComputed.value.birthday) {\n\t\treturn \"\";\n\t}\n\tconst birthday = formDataComputed.value.birthday;\n\tif (birthday >= new Date(1800, 0, 1) && birthday <= new Date(1899, 11, 31)) {\n\t\treturn \"+\";\n\t} else if (birthday >= new Date(1900, 0, 1) && birthday <= new Date(1999, 11, 31)) {\n\t\treturn \"-\";\n\t} else if (birthday >= new Date(2000, 0, 1)) {\n\t\treturn \"A\";\n\t} else {\n\t\treturn \"\";\n\t}\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n const _component_HakoDatePicker = _resolveComponent(\"HakoDatePicker\")!\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"jobSeekerForm.sectionHeaders.basicInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.JobSeekerBasicInfo)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.JobSeekerBasicInfo.fields\n }, {\n [_unref(fields).JobSeekerFirstName]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.firstName\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.firstName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.firstName) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerSecondNames]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.secondNames\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.secondNames,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.secondNames) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerLastName]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.lastName\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.lastName,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.lastName) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerCommunicationLanguage]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.communicationLanguageId\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(LanguageSelect, {\n valueSingle: formDataComputed.value.communicationLanguage,\n \"onUpdate:valueSingle\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.communicationLanguage) = $event)),\n valueSingleId: formDataComputed.value.communicationLanguageId,\n \"onUpdate:valueSingleId\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.communicationLanguageId) = $event)),\n communicationRole: _unref(dbEnums).PersonUserRoleIds.Kotoutuminen,\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"communicationRole\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerElectronicCommunicationAllowed]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.isElectronicCommunicationAllowed\",\n alignContent: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formDataComputed.value.isElectronicCommunicationAllowed,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.isElectronicCommunicationAllowed) = $event)),\n for: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"for\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).JobSeekerDateOfBirth]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.birthday\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: formDataComputed.value.birthday,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.birthday) = $event)),\n allowEmpty: \"\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n style: 'max-width: 20rem',\n placeholder: _ctx.$t('generic.datePlaceholder'),\n forceUtcMidnight: \"\"\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerSocialNumber]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.socialSecurityEndPart\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n (formDataComputed.value.birthday)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"span\", _hoisted_6, _toDisplayString(_unref(format)(formDataComputed.value.birthday!, \"ddMMyy\") + socialSecuritySign.value), 1),\n _withDirectives(_createElementVNode(\"input\", {\n type: \"text\",\n class: \"form-control\",\n style: {\"max-width\":\"80px\"},\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.socialSecurityEndPart) = $event)),\n maxlength: \"4\",\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 40, _hoisted_7), [\n [_vModelText, formDataComputed.value.socialSecurityEndPart]\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString(_unref(t)(\"jobSeekerForm.dateOfBirthMustBeGiven\")), 1)\n ]))\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerGender]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.gender\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(RadioField, {\n modelValue: formDataComputed.value.genderId,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.genderId) = $event)),\n inline: !_unref(isMobileReactive),\n options: genderOptions,\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"inline\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerCitizenship]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.citizenshipId\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(CountrySelect, {\n valueSingle: formDataComputed.value.citizenship,\n \"onUpdate:valueSingle\": _cache[9] || (_cache[9] = ($event: any) => ((formDataComputed.value.citizenship) = $event)),\n valueSingleId: formDataComputed.value.citizenshipId,\n \"onUpdate:valueSingleId\": _cache[10] || (_cache[10] = ($event: any) => ((formDataComputed.value.citizenshipId) = $event)),\n ajax: true,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n id: elementId,\n lowercase: \"\"\n }, null, 8, [\"valueSingle\", \"valueSingleId\", \"isInvalid\", \"onBlur\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).JobSeekerOccupation]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.occupation\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.occupation,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((formDataComputed.value.occupation) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).JobSeekerExtraInfo]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.extraInfo\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.extraInfo,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((formDataComputed.value.extraInfo) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n [_unref(fields).JobSeekerTranslatorNeed]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"isTranslatorNeeded\",\n infoidentifier: \"personJobSeekerData.isTranslatorNeeded\",\n alignContent: \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formDataComputed.value.isTranslatorNeeded,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((formDataComputed.value.isTranslatorNeeded) = $event)),\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n isInvalid: isInvalid,\n id: elementId\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onBlur\", \"isInvalid\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerTranslatorNeedLanguages]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.translatorNeedLanguages\",\n infoidentifier: \"draftJobSeekerData.translatorNeedLanguages\"\n }, {\n default: _withCtx(({ elementId }) => [\n _createVNode(LanguageSelect, {\n valueMulti: formDataComputed.value.translatorNeedLanguages,\n \"onUpdate:valueMulti\": _cache[14] || (_cache[14] = ($event: any) => ((formDataComputed.value.translatorNeedLanguages) = $event)),\n id: elementId\n }, null, 8, [\"valueMulti\", \"id\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./JobSeekerFormBasicFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./JobSeekerFormBasicFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport AddressBlock from \"@/components/AddressBlock.vue\";\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftJobSeekerDto } from \"@api/draft-job-seeker-dto\";\nimport { PropType, computed } from \"vue\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'JobSeekerFormContactFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoTeleInput = _resolveComponent(\"HakoTeleInput\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"jobSeekerForm.sectionHeaders.contactInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.JobSeekerContactInfo)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.JobSeekerContactInfo.fields\n }, {\n [_unref(fields).JobSeekerEmail]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.email\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: formDataComputed.value.email,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.email) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerPhoneNumber]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.phone\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTeleInput, {\n modelValue: formDataComputed.value.phone,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.phone) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerAddress]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n noLabel: \"\"\n }, {\n default: _withCtx(({ fieldLabel }) => [\n _createVNode(AddressBlock, {\n modelValue: formDataComputed.value.address,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.address) = $event)),\n idPrefix: field.id,\n parentPath: \"draftJobSeekerData.address\",\n label: fieldLabel\n }, null, 8, [\"modelValue\", \"idPrefix\", \"label\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./JobSeekerFormContactFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./JobSeekerFormContactFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\n\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftJobSeekerDto } from \"@api/draft-job-seeker-dto\";\nimport { PropType, computed } from \"vue\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport LanguageSkillsField from \"@/components/LanguageSkillsField.vue\";\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport OccupationalCompetenceSelect from \"@/components/OccupationalCompetenceSelect.vue\";\nimport { useValidateProps } from \"@/composables/fields\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'JobSeekerFormSkillsFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"jobSeekerForm.sectionHeaders.skillsInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.JobSeekerExperienceAndSkills)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.JobSeekerExperienceAndSkills.fields\n }, {\n [_unref(fields).JobSeekerSearchProfessions]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.searchProfessions\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueMulti: formDataComputed.value.searchProfessions,\n \"onUpdate:valueMulti\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.searchProfessions) = $event)),\n infoTable: \"SearchProfessions\",\n translationsTable: \"SearchProfessionTranslations\",\n translationProperty: \"name\",\n ajax: false,\n tree: \"\",\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"valueMulti\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerLanguageSkills]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.languageSkills\"\n }, {\n default: _withCtx(() => [\n _createVNode(LanguageSkillsField, {\n modelValue: formDataComputed.value.languageSkills,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.languageSkills) = $event)),\n propertyPath: \"draftJobSeekerData.languageSkills\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerLanguageSkillsDescription]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.languageSkillsDescription\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.languageSkillsDescription,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.languageSkillsDescription) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerDrivingLicenseClasses]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.driverLicenseClasses\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueMulti: formDataComputed.value.driverLicenseClasses,\n \"onUpdate:valueMulti\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed.value.driverLicenseClasses) = $event)),\n infoTable: \"DriverLicenseClasses\",\n translationsTable: \"DriverLicenseClassTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"valueMulti\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerOwnsCar]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.ownsCar\",\n \"align-content\": \"\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formDataComputed.value.ownsCar,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed.value.ownsCar) = $event)),\n for: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.yes\")), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"for\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerDrivingLicenseOccupationalCompetence]: _withCtx(({ field }) => [\n (formDataComputed.value.driverLicenseClasses.length > 0)\n ? (_openBlock(), _createBlock(Field, {\n key: 0,\n field: field,\n propertyPath: \"driverLicenseOccupationalCompetence\",\n infoidentifier: \"personJobSeekerData.driverLicenseOccupationalCompetence\"\n }, {\n default: _withCtx(({ isInvalid }) => [\n _createVNode(OccupationalCompetenceSelect, {\n valueMulti: formDataComputed.value.driverLicenseOccupationalCompetences,\n \"onUpdate:valueMulti\": _cache[5] || (_cache[5] = ($event: any) => ((formDataComputed.value.driverLicenseOccupationalCompetences) = $event)),\n type: \"DrivingLicense\",\n options: formDataComputed.value.driverLicenseClasses,\n isInvalid: isInvalid\n }, null, 8, [\"valueMulti\", \"options\", \"isInvalid\"])\n ]),\n _: 2\n }, 1032, [\"field\"]))\n : _createCommentVNode(\"\", true)\n ]),\n [_unref(fields).JobSeekerITSkills]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.itSkills\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueMulti: formDataComputed.value.itSkills,\n \"onUpdate:valueMulti\": _cache[6] || (_cache[6] = ($event: any) => ((formDataComputed.value.itSkills) = $event)),\n infoTable: \"ITSkills\",\n translationsTable: \"ITSkillTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"valueMulti\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerITSkillsDescription]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.itSkillsDescription\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.itSkillsDescription,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((formDataComputed.value.itSkillsDescription) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerHobbies]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.hobbies\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.hobbies,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((formDataComputed.value.hobbies) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./JobSeekerFormSkillsFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./JobSeekerFormSkillsFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"mt-4\" }\nconst _hoisted_4 = { class: \"p-3\" }\nconst _hoisted_5 = { class: \"d-flex justify-content-end\" }\n\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftJobSeekerDto } from \"@api/draft-job-seeker-dto\";\nimport { PropType, computed } from \"vue\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport { WorkExperienceDto } from \"@api/work-experience-dto\";\nimport { useValidateProps } from \"@/composables/fields\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'JobSeekerFormWorkFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst addWorkExperience = () => {\n\tif (!formDataComputed.value.workExperiences) {\n\t\tformDataComputed.value.workExperiences = [];\n\t}\n\tformDataComputed.value.workExperiences.push({\n\t\tid: 0,\n\t\tcompanyName: \"\",\n\t\tjobTitle: \"\",\n\t\tdraftJobSeekerId: 0,\n\n\t\tstartDate: new Date(),\n\t\tendDate: new Date(),\n\t} as WorkExperienceDto);\n};\n\nconst removeWorkExperience = (index: number) => {\n\tif (formDataComputed.value.workExperiences) {\n\t\tformDataComputed.value.workExperiences?.splice(index, 1);\n\t}\n};\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n const _component_HakoDatePicker = _resolveComponent(\"HakoDatePicker\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"jobSeekerForm.sectionHeaders.workInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.JobSeekerWorkExperience)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.JobSeekerWorkExperience.fields\n }, {\n [_unref(fields).JobSeekerWorkExperienceYears]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.workExperienceYears\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n type: \"number\",\n modelValue: formDataComputed.value.workExperienceYears,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.workExperienceYears) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerWorkExperienceDescription]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.workExperienceDescription\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.workExperienceDescription,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.workExperienceDescription) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerWorkExperiences]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.workExperiences\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(formDataComputed.value.workExperiences, (workExperience, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"card mb-2\",\n key: i\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('jobSeekerForm.workExperienceCompany'),\n propertyPath: `draftJobSeekerData.workExperiences[${i}].companyName`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: workExperience.companyName,\n \"onUpdate:modelValue\": ($event: any) => ((workExperience.companyName) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('jobSeekerForm.workExperienceJobTitle'),\n propertyPath: `draftJobSeekerData.workExperiences[${i}].jobTitle`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: workExperience.jobTitle,\n \"onUpdate:modelValue\": ($event: any) => ((workExperience.jobTitle) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('jobSeekerForm.workExperienceStartDate'),\n propertyPath: `draftJobSeekerData.workExperiences[${i}].startDate`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: workExperience.startDate,\n \"onUpdate:modelValue\": ($event: any) => ((workExperience.startDate) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder')\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('jobSeekerForm.workExperienceEndDate'),\n propertyPath: `draftJobSeekerData.workExperiences[${i}].endDate`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoDatePicker, {\n modelValue: workExperience.endDate,\n \"onUpdate:modelValue\": ($event: any) => ((workExperience.endDate) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths)),\n placeholder: _ctx.$t('generic.datePlaceholder')\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\", \"placeholder\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_HakoButton, {\n theme: \"danger\",\n onClick: () => removeWorkExperience(i)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"jobSeekerForm.removeWorkExperience\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ])\n ])\n ]))\n }), 128)),\n _createVNode(_component_HakoButton, { onClick: addWorkExperience }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"jobSeekerForm.addWorkExperience\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./JobSeekerFormWorkFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./JobSeekerFormWorkFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"container-fluid\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"mt-4\" }\nconst _hoisted_4 = { class: \"p-3\" }\nconst _hoisted_5 = { class: \"d-flex justify-content-end\" }\n\nimport { dbEnums } from \"@/types/enums/dbEnums\";\nimport { DraftJobSeekerDto } from \"@api/draft-job-seeker-dto\";\nimport { PropType, computed } from \"vue\";\nimport { PersonFieldCategoryMap } from \"..\";\nimport Field from \"../../Field.vue\";\nimport FormFields from \"../../FormFields.vue\";\nimport FormSection from \"../../FormSection.vue\";\nimport FormSectionHeader from \"../../FormSectionHeader.vue\";\nimport ClassificationInformationsSelect from \"@/components/ClassificationInformationsSelect.vue\";\nimport OccupationalCompetenceSelect from \"@/components/OccupationalCompetenceSelect.vue\";\nimport { EducationInfoDto } from \"@api/education-info-dto\";\nimport { useValidateProps } from \"@/composables/fields\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'JobSeekerFormEducationFields',\n props: {\n\tfieldsMap: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst emit = __emit;\n\nconst props = __props;\n\nconst fields = dbEnums.PersonFields;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst addEducationInfo = () => {\n\tif (!formDataComputed.value.educationInfos) {\n\t\tformDataComputed.value.educationInfos = [];\n\t}\n\tformDataComputed.value.educationInfos.push({\n\t\tdegree: \"\",\n\t\tinstitution: \"\",\n\t\tgraduationYear: null,\n\t\tmunicipalityFreeText: \"\",\n\t\tmunicipalityId: null,\n\t\tmunicipality: null,\n\t\tid: 0,\n\t\tdraftJobSeekerId: 0,\n\t} as EducationInfoDto);\n};\n\nconst removeEducationInfo = (index: number) => {\n\tif (formDataComputed.value.educationInfos) {\n\t\tformDataComputed.value.educationInfos?.splice(index, 1);\n\t}\n};\n\nconst validateProps = useValidateProps();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n\n return (_openBlock(), _createBlock(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"jobSeekerForm.sectionHeaders.educationInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n (__props.fieldsMap.JobSeekerEducation)\n ? (_openBlock(), _createBlock(FormFields, {\n key: 0,\n fields: __props.fieldsMap.JobSeekerEducation.fields\n }, {\n [_unref(fields).JobSeekerEducationAndQualificationLevels]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.educationAndQualificationLevels\"\n }, {\n default: _withCtx(({ isInvalid, propertyPaths }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueMulti: formDataComputed.value.educationAndQualificationLevels,\n \"onUpdate:valueMulti\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed.value.educationAndQualificationLevels) = $event)),\n infoTable: \"EducationAndQualificationLevels\",\n translationsTable: \"EducationAndQualificationLevelTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"valueMulti\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerEducationDescription]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.educationDescription\"\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoTextArea, {\n modelValue: formDataComputed.value.educationDescription,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed.value.educationDescription) = $event)),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerPermitAndCardTrainings]: _withCtx(({ field }) => [\n _createVNode(Field, {\n field: field,\n propertyPath: \"draftJobSeekerData.permitAndCardTrainings\"\n }, {\n default: _withCtx(({ isInvalid, propertyPaths }) => [\n _createVNode(ClassificationInformationsSelect, {\n valueMulti: formDataComputed.value.permitAndCardTrainings,\n \"onUpdate:valueMulti\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed.value.permitAndCardTrainings) = $event)),\n infoTable: \"PermitAndCardTrainings\",\n translationsTable: \"PermitAndCardTrainingTranslations\",\n translationProperty: \"name\",\n ajax: false,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"valueMulti\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\"])\n ]),\n [_unref(fields).JobSeekerPermitAndCardTrainingsOccupationalCompetence]: _withCtx(({ field }) => [\n (formDataComputed.value.permitAndCardTrainings.length > 0)\n ? (_openBlock(), _createBlock(Field, {\n key: 0,\n field: field,\n propertyPath: \"permitAndCardTrainingsOccupationalCompetence\",\n infoidentifier: \"personJobSeekerData.permitAndCardTrainingsOccupationalCompetence\"\n }, {\n default: _withCtx(({ isInvalid }) => [\n _createVNode(OccupationalCompetenceSelect, {\n valueMulti: \n\t\t\t\t\t\t\t\tformDataComputed.value.permitAndCardTrainingOccupationalCompetences\n\t\t\t\t\t\t\t,\n \"onUpdate:valueMulti\": _cache[3] || (_cache[3] = ($event: any) => ((\n\t\t\t\t\t\t\t\tformDataComputed.value.permitAndCardTrainingOccupationalCompetences\n\t\t\t\t\t\t\t) = $event)),\n type: \"PermitAndCard\",\n options: formDataComputed.value.permitAndCardTrainings,\n isInvalid: isInvalid\n }, null, 8, [\"valueMulti\", \"options\", \"isInvalid\"])\n ]),\n _: 2\n }, 1032, [\"field\"]))\n : _createCommentVNode(\"\", true)\n ]),\n [_unref(fields).JobSeekerEducationInfos]: _withCtx(({ field }) => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(Field, { field: field }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(formDataComputed.value.educationInfos, (educationInfo, i) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"card mb-2\",\n key: i\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('jobSeekerForm.educationInfoDegree'),\n propertyPath: `draftJobSeekerData.educationInfos[${i}].degree`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n modelValue: educationInfo.degree,\n \"onUpdate:modelValue\": ($event: any) => ((educationInfo.degree) = $event),\n id: elementId,\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\", \"id\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('jobSeekerForm.educationInfoInstitution'),\n propertyPath: `draftJobSeekerData.educationInfos[${i}].institution`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n id: elementId,\n modelValue: educationInfo.institution,\n \"onUpdate:modelValue\": ($event: any) => ((educationInfo.institution) = $event),\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"id\", \"modelValue\", \"onUpdate:modelValue\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('jobSeekerForm.educationInfoGraduationYear'),\n propertyPath: `draftJobSeekerData.educationInfos[${i}].graduationYear`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n id: elementId,\n type: \"number\",\n modelValue: educationInfo.graduationYear,\n \"onUpdate:modelValue\": ($event: any) => ((educationInfo.graduationYear) = $event),\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"id\", \"modelValue\", \"onUpdate:modelValue\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createVNode(Field, {\n field: field,\n label: _ctx.$t('jobSeekerForm.educationInfoMunicipalityFreeText'),\n propertyPath: `draftJobSeekerData.educationInfos[${i}].municipalityFreeText`\n }, {\n default: _withCtx(({ propertyPaths, isInvalid, elementId }) => [\n _createVNode(_component_HakoInput, {\n id: elementId,\n modelValue: educationInfo.municipalityFreeText,\n \"onUpdate:modelValue\": ($event: any) => ((educationInfo.municipalityFreeText) = $event),\n isInvalid: isInvalid,\n onBlur: ($event: any) => (_unref(validateProps)(propertyPaths))\n }, null, 8, [\"id\", \"modelValue\", \"onUpdate:modelValue\", \"isInvalid\", \"onBlur\"])\n ]),\n _: 2\n }, 1032, [\"field\", \"label\", \"propertyPath\"]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_HakoButton, {\n theme: \"danger\",\n onClick: () => removeEducationInfo(i)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"jobSeekerForm.removeEducationInfo\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ])\n ])\n ]))\n }), 128)),\n _createVNode(_component_HakoButton, { onClick: addEducationInfo }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"jobSeekerForm.addEducationInfo\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 2\n }, 1032, [\"field\"])\n ])\n ]),\n _: 2\n }, 1032, [\"fields\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./JobSeekerFormEducationFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./JobSeekerFormEducationFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { keyBy } from \"lodash\";\nimport { computed, PropType, inject } from \"vue\";\n\nimport { PersonFieldCategoryMap } from \".\";\nimport providePersonFormInfo from \"@/types/symbols/providePersonFormInfo\";\nimport { DraftJobSeekerDto } from \"@api/draft-job-seeker-dto\";\nimport JobSeekerFormBasicFields from \"./fields/JobSeekerFormBasicFields.vue\";\nimport JobSeekerFormContactFields from \"./fields/JobSeekerFormContactFields.vue\";\nimport JobSeekerFormSkillsFields from \"./fields/JobSeekerFormSkillsFields.vue\";\nimport JobSeekerFormWorkFields from \"./fields/JobSeekerFormWorkFields.vue\";\nimport JobSeekerFormEducationFields from \"./fields/JobSeekerFormEducationFields.vue\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'JobSeekerFormFields',\n props: {\n\tmodelValue: {\n\t\ttype: Object as PropType,\n\t\trequired: true,\n\t},\n},\n emits: [\"update:modelValue\"],\n setup(__props, { emit: __emit }) {\n\nconst props = __props;\n\nconst emit = __emit;\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn props.modelValue;\n\t},\n\tset(v) {\n\t\temit(\"update:modelValue\", v);\n\t},\n});\n\nconst formInfo = inject(providePersonFormInfo);\n\nconst cats = computed(() => {\n\treturn formInfo?.value?.fieldCategories || [];\n});\n\nconst fieldsMap = computed(() => {\n\treturn keyBy(cats.value, (r) => r.id) as unknown as PersonFieldCategoryMap;\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n ((fieldsMap.value.JobSeekerBasicInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(JobSeekerFormBasicFields, {\n key: 0,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.JobSeekerContactInfo?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(JobSeekerFormContactFields, {\n key: 1,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.JobSeekerExperienceAndSkills?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(JobSeekerFormSkillsFields, {\n key: 2,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.JobSeekerWorkExperience?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(JobSeekerFormWorkFields, {\n key: 3,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true),\n ((fieldsMap.value.JobSeekerWorkExperience?.fields ?? []).length > 0)\n ? (_openBlock(), _createBlock(JobSeekerFormEducationFields, {\n key: 4,\n modelValue: formDataComputed.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((formDataComputed).value = $event)),\n fieldsMap: fieldsMap.value\n }, null, 8, [\"modelValue\", \"fieldsMap\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./JobSeekerFormFields.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./JobSeekerFormFields.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"container-fluid\" }\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col\" }\nconst _hoisted_5 = { class: \"d-flex w-100\" }\nconst _hoisted_6 = [\"href\"]\nconst _hoisted_7 = {\n key: 0,\n style: {\"color\":\"red\"}\n}\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1)\nconst _hoisted_9 = { class: \"mt-2\" }\nconst _hoisted_10 = { key: 0 }\nconst _hoisted_11 = { style: {\"color\":\"red\"} }\nconst _hoisted_12 = { class: \"container-fluid\" }\nconst _hoisted_13 = { class: \"row\" }\nconst _hoisted_14 = { class: \"col-6\" }\nconst _hoisted_15 = { class: \"col-6\" }\n\nimport { getEntityTranslation } from \"@/helpers\";\nimport providePersonFormInfo from \"@/types/symbols/providePersonFormInfo\";\nimport { AlertManager } from \"@hakosalo/hakolib\";\nimport { inject, nextTick, onMounted, ref, watch } from \"vue\";\nimport FormSection from \"../FormSection.vue\";\nimport JobSeekerFormFields from \"./JobSeekerFormFields.vue\";\n\nimport publicFormApi from \"@/publicFormApi\";\nimport { ValidationFailureDto } from \"@api/validation-failure-dto\";\nimport { cloneDeep, values } from \"lodash\";\nimport { computed } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\nimport FormSectionHeader from \"../FormSectionHeader.vue\";\n\nimport { useLiveValidation, useValidation } from \"@/composables/fields\";\nimport { DraftJobSeekerFormDataDto } from \"@api/draft-job-seeker-form-data-dto\";\n\ninterface PrivacyPolicyAccepts {\n\t[key: number]: boolean;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'JobSeekerForm',\n emits: [\"saveSuccess\", \"saveFailed\"],\n setup(__props, { emit: __emit }) {\n\nconst { t } = useI18n();\n\nconst emit = __emit;\n\nconst makeHttps = (url: string) => {\n\turl = url.indexOf(\"://\") === -1 ? \"https://\" + url : url;\n\treturn url;\n};\n\nconst blankDraft = ref(null);\n\nconst resetFormData = () => {\n\tformData.value = cloneDeep(blankDraft.value);\n};\n\nonMounted(() => {\n\tpublicFormApi.call.personForm.get.getJobSeekerDraft().then((r) => {\n\t\tif (r.isSuccessful) {\n\t\t\tformData.value = r.data;\n\t\t\tblankDraft.value = cloneDeep(r.data);\n\t\t}\n\t});\n});\n\nconst isSaving = ref(false);\n\nconst formDataComputed = computed({\n\tget() {\n\t\treturn formData.value;\n\t},\n\tset(v) {\n\t\tformData.value = v;\n\t},\n});\n\n// Inject validation system\nconst { validationErrors, validationStateMap } = useValidation();\n\nconst validationEndpoint = publicFormApi.call.validation.post.validateJobSeekerProperties;\n\nuseLiveValidation(\n\tvalidationEndpoint,\n\tformDataComputed,\n\tvalidationErrors,\n\tvalidationStateMap\n);\n\nconst save = () => {\n\tif (!formData.value) {\n\t\treturn;\n\t}\n\n\tisSaving.value = true;\n\tpublicFormApi.call.personForm.post\n\t\t.saveJobSeeker(formData.value)\n\t\t.then(async (r) => {\n\t\t\tif (r.isSuccessful && r.data) {\n\t\t\t\temit(\"saveSuccess\");\n\t\t\t\treturn;\n\t\t\t} else if (r.isHandledFailure && r.error && r.error.codeName == \"ValidationError\") {\n\t\t\t\tawait AlertManager.alert(t(\"generic.checkFields\"), t(\"generic.fixInvalidInputs\"));\n\n\t\t\t\tvalidationErrors.value =\n\t\t\t\t\t(r.error.data as ValidationFailureDto[]) || ([] as ValidationFailureDto[]);\n\n\t\t\t\tnextTick(() => {\n\t\t\t\t\t// from dom search all elements with class invalid-feedback that have display:block\n\t\t\t\t\tconst invalidFeedbacks = Array.from(document.querySelectorAll(\".invalid-feedback\"));\n\n\t\t\t\t\t// Filter elements that have display:block\n\t\t\t\t\tconst visibleInvalidFeedbacks = invalidFeedbacks.filter(\n\t\t\t\t\t\t(el) => window.getComputedStyle(el).display === \"block\"\n\t\t\t\t\t);\n\n\t\t\t\t\tif (visibleInvalidFeedbacks.length > 0) {\n\t\t\t\t\t\t// Select parent of the first element\n\t\t\t\t\t\tconst parent = visibleInvalidFeedbacks[0].parentElement;\n\n\t\t\t\t\t\tif (parent) {\n\t\t\t\t\t\t\t// Select first input inside the parent\n\t\t\t\t\t\t\tconst input = parent.querySelector(\"input\");\n\n\t\t\t\t\t\t\tif (input) {\n\t\t\t\t\t\t\t\t// Scroll to the first input\n\t\t\t\t\t\t\t\tinput.scrollIntoView({ block: \"center\" });\n\t\t\t\t\t\t\t\tinput.focus();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\t\t\temit(\"saveFailed\");\n\t\t})\n\t\t.finally(() => {\n\t\t\tisSaving.value = false;\n\t\t});\n};\n\nconst clear = async () => {\n\ttry {\n\t\tawait AlertManager.confirm(t(\"generic.warning\"), t(\"generic.clearAreYouSure\"));\n\t\tresetFormData();\n\t} catch {\n\t\t// Too bad\n\t}\n};\n\nconst formData = ref(null);\n\nconst formInfo = inject(providePersonFormInfo);\n\nconst privacyPolicyAccepts = ref({});\n\nconst privacyPolicies = computed(() => {\n\tif (!formInfo || !formInfo.value) {\n\t\treturn [];\n\t}\n\treturn formInfo.value.publicForm.privacyPolicies;\n});\n\nwatch(\n\tprivacyPolicies,\n\t() => {\n\t\tprivacyPolicyAccepts.value = {};\n\t\tprivacyPolicies.value.forEach((pp) => {\n\t\t\tprivacyPolicyAccepts.value[pp.id] = false;\n\t\t});\n\t},\n\t{ immediate: true }\n);\n\nconst allowSave = computed(() => {\n\tif (!formData.value) {\n\t\treturn false;\n\t}\n\n\tif (!formData.value.acceptDataSaving) {\n\t\treturn false;\n\t}\n\n\tif (values(formData.value.privacyPolicyConfirms).some((r) => r == false)) {\n\t\treturn false;\n\t}\n\n\treturn true;\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n const _component_HakoCheckbox = _resolveComponent(\"HakoCheckbox\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n\n return (_unref(formInfo) && formData.value && formData.value.draftJobSeekerData)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(JobSeekerFormFields, {\n modelValue: formData.value.draftJobSeekerData,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((formData.value.draftJobSeekerData) = $event))\n }, null, 8, [\"modelValue\"]),\n _createVNode(FormSection, null, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(FormSectionHeader, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.sectionPrivacy\")), 1)\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(privacyPolicies.value, (pp) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: pp.id,\n class: \"my-3\"\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formData.value.privacyPolicyConfirms[pp.id],\n \"onUpdate:modelValue\": ($event: any) => ((formData.value.privacyPolicyConfirms[pp.id]) = $event)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.haveReadAndAccept\")) + \" \", 1),\n _createElementVNode(\"a\", {\n class: \"mx-3\",\n href: makeHttps(pp.url),\n target: \"_blank\"\n }, [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(pp.translations, \"name\")) + \" \", 1),\n _createVNode(_component_HakoBsIcon, {\n icon: \"box-arrow-up-right\",\n size: 90\n })\n ], 8, _hoisted_6),\n (!formData.value.privacyPolicyConfirms[pp.id])\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_7, _toDisplayString(_ctx.$t(\"generic.required\")), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"onUpdate:modelValue\"])\n ])\n ]))\n }), 128)),\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_HakoCheckbox, {\n modelValue: formData.value.acceptDataSaving,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((formData.value.acceptDataSaving) = $event))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_unref(getEntityTranslation)(_unref(formInfo).publicForm.translations, \"acceptSaveData\")), 1)\n ]),\n _: 1\n }, 8, [\"modelValue\"]),\n (!formData.value.acceptDataSaving)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createElementVNode(\"small\", _hoisted_11, _toDisplayString(_ctx.$t(\"generic.dataSavingMustAccept\")), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ])\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(_component_HakoButton, {\n onClick: save,\n disabled: !allowSave.value,\n isBlock: \"\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.send\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createVNode(_component_HakoButton, {\n onClick: clear,\n isBlock: \"\",\n theme: \"danger\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"generic.clear\")), 1)\n ]),\n _: 1\n })\n ])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./JobSeekerForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./JobSeekerForm.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, vShow as _vShow, withDirectives as _withDirectives, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-83aee872\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container mb-4\" }\nconst _hoisted_2 = { class: \"container-fluid\" }\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col-md-6 col-lg-4 order-first order-md-last d-flex align-items-center\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex-grow-1\" }, null, -1))\nconst _hoisted_6 = { class: \"logo\" }\nconst _hoisted_7 = [\"src\"]\nconst _hoisted_8 = { class: \"col\" }\nconst _hoisted_9 = { class: \"row\" }\nconst _hoisted_10 = { class: \"col\" }\nconst _hoisted_11 = {\n class: \"mt-4\",\n style: {\"white-space\":\"pre-wrap\"}\n}\nconst _hoisted_12 = { class: \"col-md-4 col-lg-3\" }\n\nimport providePersonFormInfo from \"@/types/symbols/providePersonFormInfo\";\nimport { onMounted, ref, computed, provide, watch } from \"vue\";\nimport publicFormApi from \"@/publicFormApi\";\nimport JobSeekerForm from \"@/components/form/jobSeekerForm/JobSeekerForm.vue\";\nimport FormSection from \"@/components/form/FormSection.vue\";\nimport { FormDataDto } from \"@api/form-data-dto\";\nimport { getEntityTranslation, getOrganizationNameTranslation } from \"@/helpers\";\nimport LanguageSelection from \"@/components/LanguageSelection.vue\";\nimport router from \"@/router\";\nimport { useAppStore } from \"@/pinia/appStore\";\nimport { defaultTitle } from \"@/router\";\nimport { PersonFieldCategoryDto } from \"@api/person-field-category-dto\";\nimport { BusinessIdeaFieldCategoryDto } from \"@api/business-idea-field-category-dto\";\nimport provideBusinessIdeaFieldCategoriesInfo from \"@/types/symbols/provideBusinessIdeaFieldCategoriesInfo\";\nimport { logoUrl } from \"@/composables/logoUrl\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'JobSeekerFormView',\n setup(__props) {\n\nconst orgInfo = computed(() => useAppStore().organizationInfo);\nconst formInfo = ref | null>(null);\nconst fieldCategories = ref([]);\nconst businessIdeaFieldCategories = ref([]);\n\nprovide(providePersonFormInfo, formInfo);\nprovide(provideBusinessIdeaFieldCategoriesInfo, businessIdeaFieldCategories);\n\nconst session = useAppStore();\n\nconst onSuccess = () => {\n\tsession.$state.formSentSuccesfully = true;\n\trouter.push({ name: \"JobSeekerFormSuccess\" });\n};\n\nconst onFailed = () => {\n\tsession.$state.formSentSuccesfully = false;\n\trouter.push({ name: \"JobSeekerFormFailed\" });\n};\n\nconst titleComputed = computed(() => {\n\tif (formInfo.value) {\n\t\tconst t = getEntityTranslation(formInfo.value.publicForm.translations, \"name\");\n\t\tif (t) {\n\t\t\treturn t;\n\t\t}\n\t}\n\treturn null;\n});\n\nwatch(titleComputed, (newTitle) => {\n\tif (newTitle) {\n\t\twindow.document.title = newTitle;\n\t\treturn;\n\t}\n\twindow.document.title = defaultTitle;\n});\n\nonMounted(() => {\n\tsession.$state.formSentSuccesfully = false;\n\n\tpublicFormApi.call.personForm.get.fields(\"jobSeekerForm\").then((resp) => {\n\t\tif (resp.isSuccessful && resp.data) {\n\t\t\tfieldCategories.value = resp.data;\n\t\t}\n\t});\n\n\tpublicFormApi.call.personForm.get.getFormInfo(\"jobSeekerForm\").then((resp) => {\n\t\tif (resp.isSuccessful && resp.data) {\n\t\t\tformInfo.value = resp.data;\n\t\t}\n\t});\n});\n\nconst updateUrl = (lang: string, org: string) => {\n\trouter.replace({\n\t\tname: \"JobSeekerForm\",\n\t\tparams: {\n\t\t\torg: org,\n\t\t\tlang: lang,\n\t\t},\n\t});\n};\n\nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (formInfo.value)\n ? (_openBlock(), _createBlock(FormSection, { key: 0 }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _hoisted_5,\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"img\", { src: _unref(logoUrl) }, null, 8, _hoisted_7)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"h1\", null, _toDisplayString(_unref(getEntityTranslation)(formInfo.value.publicForm.translations, \"name\")), 1),\n _createElementVNode(\"h5\", null, _toDisplayString(_unref(getOrganizationNameTranslation)(formInfo.value)), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"p\", _hoisted_11, _toDisplayString(_unref(getEntityTranslation)(formInfo.value.publicForm.translations, \"publicDescription\")), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(LanguageSelection, {\n languages: formInfo.value.publicForm.languages,\n onLangChanged: updateUrl\n }, null, 8, [\"languages\"])\n ])\n ])\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (formInfo.value)\n ? (_openBlock(), _createBlock(JobSeekerForm, {\n key: 1,\n onSaveSuccess: onSuccess,\n onSaveFailed: onFailed\n }))\n : _createCommentVNode(\"\", true)\n ], 512)), [\n [_vShow, orgInfo.value]\n ])\n}\n}\n\n})","import script from \"./JobSeekerFormView.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./JobSeekerFormView.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./JobSeekerFormView.vue?vue&type=style&index=0&id=83aee872&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/public_form_client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-83aee872\"]])\n\nexport default __exports__","import { createRouter, createWebHistory, RouteRecordRaw } from \"vue-router\";\nimport PageNotFound from \"../views/404View.vue\";\nimport CompanyFormView from \"../views/CompanyFormView.vue\";\nimport StartupperFormView from \"../views/StartupperFormView.vue\";\nimport ImmigrantFormView from \"../views/ImmigrantFormView.vue\";\nimport ThankYouView from \"../views/ThankYouView.vue\";\nimport SaveFailedView from \"../views/SaveFailedView.vue\";\nimport { i18n, setLanguageAsync } from \"@/i18n\";\nimport CompanyUpdateFormView from \"@/views/CompanyUpdateFormView.vue\";\nimport JobSeekerFormView from \"@/views/JobSeekerFormView.vue\";\n\nexport const defaultTitle = \"Hakosalo lomake\";\n\n// Hard-type meta object.\ndeclare module \"vue-router\" {\n\tinterface RouteMeta {\n\t\tformName?: string;\n\t}\n}\n\nconst routes: Array = [\n\t{\n\t\tpath: \"/:lang/\",\n\t\tname: \"home\",\n\t\tcomponent: PageNotFound,\n\t},\n\t{\n\t\tpath: \"/:lang/:org/CompanyForm\",\n\t\tname: \"CompanyForm\",\n\t\tcomponent: CompanyFormView,\n\t\tmeta: {\n\t\t\tformName: \"companyForm\",\n\t\t},\n\t},\n\t{\n\t\tpath: \"/:lang/:org/CompanyForm/success\",\n\t\tname: \"CompanyFormSuccess\",\n\t\tcomponent: ThankYouView,\n\t\tmeta: {\n\t\t\tformName: \"companyForm\",\n\t\t},\n\t},\n\t{\n\t\tpath: \"/:lang/:org/CompanyForm/saveFailed\",\n\t\tname: \"CompanyFormFailed\",\n\t\tcomponent: SaveFailedView,\n\t\tmeta: {\n\t\t\tformName: \"companyForm\",\n\t\t},\n\t},\n\t{\n\t\tpath: \"/:lang/:org/StartupperForm\",\n\t\tname: \"StartupperForm\",\n\t\tcomponent: StartupperFormView,\n\t\tmeta: {\n\t\t\tformName: \"startupperForm\",\n\t\t},\n\t},\n\t{\n\t\tpath: \"/:lang/:org/StartupperForm/success\",\n\t\tname: \"StartupperFormSuccess\",\n\t\tcomponent: ThankYouView,\n\t\tmeta: {\n\t\t\tformName: \"startupperForm\",\n\t\t},\n\t},\n\t{\n\t\tpath: \"/:lang/:org/StartupperForm/saveFailed\",\n\t\tname: \"StartupperFormFailed\",\n\t\tcomponent: SaveFailedView,\n\t\tmeta: {\n\t\t\tformName: \"startupperForm\",\n\t\t},\n\t},\n\t{\n\t\tpath: \"/:lang/:org/IntegrationForm\",\n\t\tname: \"ImmigrantForm\",\n\t\tcomponent: ImmigrantFormView,\n\t\tmeta: {\n\t\t\tformName: \"integrationForm\",\n\t\t},\n\t},\n\t{\n\t\tpath: \"/:lang/:org/IntegrationForm/success\",\n\t\tname: \"ImmigrantFormSuccess\",\n\t\tcomponent: ThankYouView,\n\t\tmeta: {\n\t\t\tformName: \"integrationForm\",\n\t\t},\n\t},\n\t{\n\t\tpath: \"/:lang/:org/IntegrationForm/saveFailed\",\n\t\tname: \"ImmigrantFormFailed\",\n\t\tcomponent: SaveFailedView,\n\t\tmeta: {\n\t\t\tformName: \"integrationForm\",\n\t\t},\n\t},\n\t{\n\t\tpath: \"/:lang/:org/JobSeekerForm\",\n\t\tname: \"JobSeekerForm\",\n\t\tcomponent: JobSeekerFormView,\n\t\tmeta: {\n\t\t\tformName: \"jobSeekerForm\",\n\t\t},\n\t},\n\t{\n\t\tpath: \"/:lang/:org/JobSeekerForm/success\",\n\t\tname: \"JobSeekerFormSuccess\",\n\t\tcomponent: ThankYouView,\n\t\tmeta: {\n\t\t\tformName: \"jobSeekerForm\",\n\t\t},\n\t},\n\t{\n\t\tpath: \"/:lang/:org/JobSeekerForm/saveFailed\",\n\t\tname: \"JobSeekerFormFailed\",\n\t\tcomponent: SaveFailedView,\n\t\tmeta: {\n\t\t\tformName: \"jobSeekerForm\",\n\t\t},\n\t},\n\t{\n\t\tpath: \"/:lang/:org/CompanyUpdateForm/:token\",\n\t\tname: \"CompanyUpdateForm\",\n\t\tcomponent: CompanyUpdateFormView,\n\t\tprops: true,\n\t\tmeta: {\n\t\t\tformName: \"companyUpdateForm\",\n\t\t},\n\t},\n];\n\nconst router = createRouter({\n\thistory: createWebHistory(process.env.BASE_URL),\n\troutes,\n});\n\nrouter.beforeEach((to) => {\n\tif (!to.params.lang) {\n\t\trouter.push({\n\t\t\tname: \"home\",\n\t\t\tparams: {\n\t\t\t\tlang: \"fi\",\n\t\t\t},\n\t\t});\n\t} else {\n\t\tif (i18n.global.locale != to.params.lang) {\n\t\t\tsetLanguageAsync(to.params.lang as \"fi\" | \"sv\" | \"en\");\n\t\t}\n\t}\n});\n\nexport default router;\n","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { useAppStore } from \"./pinia/appStore\";\nimport { useRouter } from \"vue-router\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'App',\n setup(__props) {\n\nconst router = useRouter();\n\nconst appStore = useAppStore();\nappStore.getOrganizationInfo();\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_view = _resolveComponent(\"router-view\")!\n const _component_HakoAlertVueManager = _resolveComponent(\"HakoAlertVueManager\")!\n const _component_HakoNotificationVueManager = _resolveComponent(\"HakoNotificationVueManager\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_router_view),\n _createVNode(_component_HakoAlertVueManager),\n _createVNode(_component_HakoNotificationVueManager)\n ], 64))\n}\n}\n\n})","import script from \"./App.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./App.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./App.vue?vue&type=style&index=0&id=1bcc8846&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { createPinia } from \"pinia\";\nexport const pinia = createPinia();\n","import { defaultTitle } from \"@/router\";\nimport { createApp } from \"vue\";\nimport App from \"./App.vue\";\nimport router from \"./router\";\nimport { pinia } from \"./pinia\";\nimport { i18n, setLanguageAsync } from \"./i18n\";\nimport { hakoLibVuePlugin } from \"@hakosalo/hakolib\";\n\nconst app = createApp(App).use(router).use(pinia).use(i18n).use(hakoLibVuePlugin);\n\n(async () => {\n\tawait setLanguageAsync(\"fi\");\n\n\twindow.document.title = defaultTitle;\n\tapp.mount(\"#app\");\n})();\n","var map = {\n\t\"./en.json\": [\n\t\t3482,\n\t\t627\n\t],\n\t\"./fi.json\": [\n\t\t3661,\n\t\t403\n\t],\n\t\"./sv.json\": [\n\t\t1169,\n\t\t914\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 2695;\nmodule.exports = webpackAsyncContext;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + {\"403\":\"lang-fi-json\",\"627\":\"lang-en-json\",\"914\":\"lang-sv-json\"}[chunkId] + \".\" + {\"403\":\"6e35dc5d\",\"627\":\"5968977b\",\"914\":\"c33cdbff\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"client:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkclient\"] = self[\"webpackChunkclient\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(8494); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["class","_createElementBlock","_hoisted_1","_createElementVNode","_renderSlot","_ctx","$slots","undefined","script","__exports__","render","_hoisted_2","_hoisted_3","_hoisted_4","_defineComponent","__name","setup","__props","_cache","_openBlock","_createVNode","Center","default","_withCtx","_toDisplayString","$t","_","Symbol","useAppStore","defineStore","organizationInfo","ref","formSentSuccesfully","organizationIdentifierFromRoute","computed","router","route","orgParam","params","org","Array","isArray","watch","organization","getOrganizationInfo","async","value","publicFormApi","then","r","isSuccessful","data","console","error","publicFormAxios","axios","baseURL","process","withCredentials","isoDateFormat","isIsoDateString","test","handleDates","body","key","Object","keys","parseISO","interceptors","response","use","resp","request","config","appStore","headers","ApiResponse","this","errors","isFailure","isHandledFailure","isHardFailure","constructor","_defineProperty","ApiRespGen","success","failure","failureHard","autoDetectFailure","ex","status","axiosErr","responseData","errArray","length","codeName","push","controller","general","get","publicFormApiAxios","companyForm","search","axiosReqConfig","name","businessId","form","lang","code","post","formData","table","translationTable","translationProperties","tableName","translationsTableName","translationKeys","url","includeInactive","page","role","cityName","postalcode","id","rootCode","parentId","personForm","formName","baseUrl","validation","draftImmigrantForm","propertyPaths","draftJobSeekerForm","draftStartupperForm","draftCompanyForm","companyUpdateForm","token","PublicFormApi","callGeneral","callCompanyForm","callForm","callPersonForm","callValidation","callCompanyUpdateForm","call","callObjects","functions","functionObjects","loadedLanguages","i18n","createI18n","locale","fallbackLocale","messages","setI18nLanguage","global","document","querySelector","setAttribute","setLanguageAsync","setLocaleMessage","getEntityTranslation","translations","languageCode","_translations","translationObj","filter","shift","getLanguageTranslation","language","targetLanguageCode","l","finnish","swedish","english","native","getMunicipalityTranslation","municipality","getOrganizationNameTranslation","publicForm","forEach","find","x","publicOrganizationName","isMobile","isDesktop","mobile","window","innerWidth","isMobileRef","isMobileReactive","addEventListener","props","field","valueSingle","valueSingleId","valueMulti","infoTable","translationsTable","translationProperty","isInvalid","type","Boolean","tree","ajax","optionFilter","emits","emit","__emit","cField","options","cValueSingle","set","newVal","cValueMulti","fnValueToOption","val","text","mapToMultiLevelSelectOption","map","item","option","obj","disabled","children","cSelectedItems","showTreeWindow","removeTreeSelection","o","cTreeOptions","getOptions","res","loadOptions","onMounted","_component_HakoSingleSelect2","_resolveComponent","_component_HakoMultiselect2","_component_HakoButton","_component_HakoMultiLevelSelect","_component_HakoWindow","_createBlock","modelValue","$event","useAjax","onBlur","$emit","optionGenerator","optionComparer","optionLoader","useWindowMenu","_createCommentVNode","_Fragment","onClick","_createTextVNode","_renderList","checked","onChange","title","_unref","$refs","showbtn","size","style","items","onSave","onCancel","required","companyRoles","selectedCompanyRoleIds","getCompanyRoles","cModelValue","includes","deep","_component_HakoCheckbox","inline","ErrorCode","useValidationErrors","propertyNames","matchCustomStateValue","allValidationErrors","inject","ValidationErrorsKey","propertyPathPrefixKey","PropertyPathPrefixKey","validationErrors","scopedErrors","customState","prefix","prefixedPropertyNames","searchPath","propertyName","uniqBy","useValidation","provide","e","validationStateMap","ValidationStateMapKey","handleResponseValidation","callbacks","validationStateKeys","k","ValidationError","errorProps","uniq","previousErrorProps","p","validationError","otherError","useLiveValidation","apiCall","validateProps","JSON","stringify","invalidPaths","validPaths","ValidatePropsKey","useValidateProps","info","EntityFieldTypes","ActivityStates","ClassificationInformationTypes","PartyTypes","PersonTypes","PersonUserRoleIds","ActivityFieldCategories","ActivityFields","PersonFieldCategories","PersonFields","BusinessIdeaFieldCategories","BusinessIdeaFields","CompanyFieldCategories","CompanyFields","LanguageSkillLevel","Genders","ContactDataType","dbEnums","PersonUserRoles","$props","$setup","$data","$options","_component_Validation","_component_LabelControl","noLabel","fieldName","fieldLabel","cPropertyPaths","elementId","cUniqueId","for","block","cBlock","isUpdateForm","isRequiredOnCompanyUpdateForm","isRequiredOnPublicForm","alignContent","label","orgUsingPublicDirectory","_normalizeStyle","isDisplayedInPublicDirectory","currentRoute","fullPath","String","myValidationErrors","prefixedPropertyPaths","myValidationErrorsRenamed","lastPart","split","pop","msg","errorMessage","replace","every","some","err","defineComponent","propertyPath","infoidentifier","labelAdditionalInfoText","v4","paths","useRouter","components","LabelControl","Validation","fields","isFieldInvalid","fieldsMap","formDataComputed","v","getValidityClasses","_component_HakoInput","FormSection","FormSectionHeader","CompanyBasic","FormFields","Name","Field","ShortName","shortName","BusinessId","Roles","_normalizeClass","CompanyRoleField","Type","ClassificationInformationsSelect","companyFormId","useSelectField","single","multi","updateSingle","updateSingleId","updateMulti","apiGetter","optionIdentifier","optionsFilter","nonAjaxOptions","optionsGetter","avatar","Function","placeholder","useAvatar","startSearchLimit","openMenu","Number","communicationRole","toRef","getCommLangs","optionsGetterIfAjax","SelectBase","_isRef","_component_HakoDatePicker","_component_HakoTeleInput","DraftCompanyContactPersonInfo","DraftCompanyContactPersonFirstName","contactPersonFirstName","DraftCompanyContactPersonLastName","contactPersonLastName","DraftCompanyContactPersonTitle","contactPersonTitle","DraftCompanyContactPersonDateOfBirth","contactPersonDateOfBirth","allowEmpty","forceUtcMidnight","DraftCompanyContactPersonEmail","contactPersonEmail","DraftCompanyContactPersonPhoneNumber","contactPersonPhoneNumber","DraftCompanyContactPersonLanguage","LanguageSelect","contactPersonLanguage","contactPersonLanguageId","Elinkeino","somes","selectedSomeIds","soMeId","getSomes","someId","findIndex","newCompanySome","soMe","companyId","draftCompanyId","_component_HakoLabelControl","s","src","iconUrl","lowercase","country","finName","engName","toLowerCase","idPrefix","parentPath","maxwidth","vModel","getPropPath","localPath","onPostalcodeChange","postalCodeId","municipalityId","HakoInput","noFloat","streetAddress","postalCode","postcode","postalCodes","municipalities","_component_HakoTextArea","CompanyContactInfo","PostalAddress","AddressBlock","postalAddress","VisitingAddress","visitingAddress","BillingAddress","billingAddress","Website","website","OnlineStore","onlineStore","Email","email","Phone","phone","Some","CompanySoMesField","companySoMes","Homeland","CountrySelect","homeland","homelandId","HomeMunicipality","MunicipalitySelect","homeMunicipality","homeMunicipalityId","IsElectronicCommunicationAllowed","isElectronicCommunicationAllowed","Municipality","District","companyDistrict","companyDistrictId","_hoisted_5","contactReasonOptions","DraftCompanyContactReasonInfo","DraftCompanyContactReason","opt","index","_withDirectives","contactReasons","_vModelCheckbox","contactReasonsAdditionalInfo","_withScopeId","n","_pushScopeId","_popScopeId","_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","_hoisted_22","tol2008Item","loadedTols","selectionSingle","selectionMulti","myChildren","isLoading","isSelected","showInfo","click","isLeaf","isOpen","fixTranslation","txt","replaceAll","_component_HakoBsIcon","_component_Tol2008Item","_component_HakoSpinner","_component_HakoCollapse","width","level","height","_withModifiers","icon","show","theme","isBlock","sm","textContent","c","toString","onClose","onExpand","onSelect","onRemoveSelection","selectedTopLevelTol","closeAll","expand","tol","loadedTol","uniqLoadedTols","close","select","modelValueAsMulti","modelValueAsSingle","removeSelection","topLevelTols","clickTopLevelTol","hasLoadedChildren","fixedTols","modelValueComputed","singleValueObj","immediate","positionUnderElement","topLevelTol","Tol2008Item","CompanyOtherInfo","EstablishedAt","establishedDate","TurnoverClass","turnoverClass","turnoverClassId","Language","languageId","StaffSizeClass","staffSizeClass","staffSizeClassId","AdditionalInformation","additionalInformation","Description","description","ProductsAndServices","productsAndServices","TOL2008","Tol2008Select","tol2008Id","formInfo","provideCompanyFormInfo","cats","fieldCategories","keyBy","CompanyFormBasicFields","CompanyFormContactFields","CompanyFormOtherFields","CompanyFormContactPersonFields","CompanyFormContactReasonFields","clas","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","t","useI18n","makeHttps","indexOf","blankDraft","resetFormData","cloneDeep","isSaving","validationEndpoint","save","AlertManager","nextTick","invalidFeedbacks","from","querySelectorAll","visibleInvalidFeedbacks","el","getComputedStyle","display","parent","parentElement","input","scrollIntoView","focus","finally","clear","privacyPolicyAccepts","privacyPolicies","pp","enabledFields","flatten","isEnabled","fieldId","allowSave","acceptDataSaving","values","privacyPolicyConfirms","netboxModalOpen","netboxLoading","netboxName","netboxShortResults","netboxBusinessId","netboxResult","modalSearch","modalShowAmount","netboxShortResultsComputed","take","toLocaleLowerCase","showLess","showMore","showAll","fillCompany","searchNetbox","fillFromNetboxCompany","draftCompanyData","netboxCompany","vat_identifier","names","domicile","municipalityResp","contactMap","contact","sms","www","addressMap","addresses","visiting","street","zipcode","visitingAddressResp","postal","postalCodeResp","formResp","industry","maxLevelTol","reduce","prev","current","tol2008","NotificationManager","_component_HakoModal","_component_HakoFullscreenSpinner","CompanyFormFields","href","target","languages","useRoute","_vModelSelect","logoUrl","meta","identifier","organizationIdentifier","apiUrl","orgInfo","session","onSuccess","$state","onFailed","titleComputed","newTitle","defaultTitle","updateUrl","LanguageSelection","onLangChanged","CompanyForm","onSaveSuccess","onSaveFailed","_vShow","refTempLang","cValue","newValue","cSkillLevels","levels","enumLevels","isNaN","fnTransformName","addLanguageSkill","skillLevel","personImmigrantDataId","removeLanguageSkill","splice","_component_HakoRadio","$i18n","toUpperCase","skill","i","uncapitalize","_vModelRadio","Date","valueOf","genderOptions","Man","Woman","Other","StartupperBasicInfo","StartupperFirstName","firstName","StartupperSecondNames","secondNames","StartupperLastName","lastName","StartupperCommunicationLanguage","communicationLanguage","communicationLanguageId","AlkavatYrittajat","StartupperIsElectronicCommunicationAllowed","StartupperLanguageSkills","LanguageSkillsField","languageSkills","StartupperTitle","StartupperIsContactAdmitAllowed","isContactInfoAdmitAllowed","StartupperDateOfBirth","birthday","StartupperGender","RadioField","genderId","StartupperCountryOfBirth","countryOfBirthId","countryOfBirth","StartupperNationality","nationality","nationalityId","StartupperHomeMunicipality","StartupperContactInfo","StartupperPhone","StartupperEmail","StartupperPostalAddress","StartupperAdditionalInfo","additionalInfo","loading","selectedTolList","selectedTopLevel","codeSearch","nameSearch","getTopLevelTols","backToTopLevel","pickTol","searchTol2008ByCode","searchTol2008ByName","searchTol2008ByRootCode","newval","onDebounce","topTol","selectTol2008","ev","ref_key","Tol2008PickerList","onPick","noBusinessIdea","businessIdeaName","Basic","businessIdeaDescription","businessIdeaMunicipality","businessIdeaMunicipalityId","BusinessPremiseRequirement","businessIdeaBusinessPremiseRequirement","businessIdeaBusinessPremiseRequirementId","BusinessFieldGroup","businessIdeaBusinessFieldGroup","businessIdeaBusinessFieldGroupId","BusinessField","businessIdeaBusinessField","businessIdeaBusinessFieldId","Tol2008","Tol2008Picker","businessIdeaTol2008","businessIdeaTol2008Id","BusinessIdeaType","businessIdeaType","businessIdeaTypeId","EmploysTotal","employsTotal","modelModifiers","number","EmploysEntrepreneurs","employsEntrepreneurs","EmploysFullTime","employsFulltime","EmploysPartTime","employsParttime","EmploysJobSearchers","employsUnemployed","EmploysWomen","employsWomen","EmploysYouth","employsYouth","BackgroundInfo","EducationClassification","educationAndQualificationLevel","educationAndQualificationLevelId","EducationDescription","educationDescription","EmploymentClassification","employmentStatus","employmentStatusId","EmploymentDescription","employmentDescription","WorkExperienceDescription","workExperienceDescription","Schools","schools","IsFullTime","isFullTime","HeardFromUs","heardFromUs","heardFromUsId","HeardFromUsWhere","heardFromUsWhere","providePersonFormInfo","businessIdeaFieldCategories","provideBusinessIdeaFieldCategoriesInfo","businessIdeaFieldsMap","doNotAddBusinessIdea","StartupperFormBasicFields","StartupperFormContactFields","StartupperFormAdditionalFields","StartupperFormBusinessIdeaBasicFields","StartupperFormBusinessIdeaBackgroundFields","draftStartupperData","StartupperFormFields","StartupperForm","socialSecuritySign","ImmigrantBasicInfo","ImmigrantFirstName","ImmigrantSecondNames","ImmigrantLastName","ImmigrantCommunicationLanguage","Kotoutuminen","ImmigrantElectronicCommunicationAllowed","ImmigrantDateOfBirth","ImmigrantSocialNumber","format","socialSecurityEndPart","maxlength","_vModelText","ImmigrantGender","ImmigrantCitizenship","citizenship","citizenshipId","ImmigrantOccupation","occupation","ImmigrantUMACustomerNumber","umaCustomerNumber","ImmigrantExtraInfo","extraInfo","ImmigrantContactInfo","ImmigrantEmail","ImmigrantPhoneNumber","ImmigrantAddress","address","addResidencePermit","residencePermits","issueDate","endDate","draftImmigrantId","draftImmigrant","residencePermitOtherBasis","residencePermitBasisId","residencePermitBasis","typeId","removeResidencePermit","ImmigrantIntegrationInfo","ImmigrantFirstResidenceMunicipality","firstResidenceMunicipality","firstResidenceMunicipalityId","firstResidenceMunicipalityRecordDate","ImmigrantCalculatedCompensation","calculatedCompensation","calculatedCompensationId","calculatedCompensationEndDate","ImmigrantMunicipalityDecisionDate","municipalitySpotDecisionDate","ImmigrantResidencePermits","permit","ImmigrantTravelDocuments","travelDocumentType","travelDocumentTypeId","travelDocumentStartDate","travelDocumentEndDate","travelDocumentDescription","childDraft","draftImmigrantData","addChild","newChild","removeChild","ImmigrantFamily","ImmigrantMaritalStatus","maritalStatus","maritalStatusId","ImmigrantPartnerInfo","partnerInfo","ImmigrantChildren","child","ImmigrantUnderageChildrenExtraInfo","underageChildrenExtraInfo","ImmigrantFamilyLeaveAndBenefitInfo","familyLeaveAndBenefitInfo","ImmigrantIsNecessaryToMakeFamilyIntegrationPlan","isNecessaryToMakeFamilyIntegrationPlan","ImmigrantFamilyIntegrationPlanDetails","familyIntegrationPlanDetails","ImmigrantSocialNetworks","socialNetworks","ImmigrantHobbiesOrOrganizationalActivities","hobbiesOrOrganizationalActivities","ImmigrantHasBeenGivenGuidanceForSocialOrOrganizationServices","hasBeenGivenGuidanceForSocialOrOrganizationServices","ImmigrantGuidanceGuidanceExtraInfo","guidanceExtraInfo","cUnselectedOptions","driverLicenseClassId","driverLicenseClass","hasOccupationalCompetence","hasOccupationalCompetenceUntil","permitAndCardTrainingId","permitAndCardTraining","dto","isAvailableOption","cValues","concat","updateValue","log","cOrderedValuesDrivingLicense","order","cOrderedValuesPermitAndCard","technicalName","ImmigrantExperienceAndSkills","ImmigrantSearchProfessions","searchProfessions","ImmigrantLanguageSkills","ImmigrantLanguageSkillsDescription","languageSkillsDescription","ImmigrantDrivingLicenseClasses","driverLicenseClasses","ImmigrantDrivingLicenseOccupationalCompetence","OccupationalCompetenceSelect","driverLicenseOccupationalCompetences","ImmigrantOwnsCar","ownsCar","ImmigrantITSkills","itSkills","ImmigrantITSkillsDescription","itSkillsDescription","ImmigrantHobbies","hobbies","addWorkExperience","workExperiences","companyName","jobTitle","startDate","removeWorkExperience","ImmigrantWorkExperience","ImmigrantWorkExperienceYears","workExperienceYears","ImmigrantWorkExperienceDescription","ImmigrantWorkExperiences","workExperience","addEducationInfo","educationInfos","degree","institution","graduationYear","municipalityFreeText","removeEducationInfo","ImmigrantEducation","ImmigrantEducationAndQualificationLevels","educationAndQualificationLevels","ImmigrantEducationDescription","ImmigrantPermitAndCardTrainings","permitAndCardTrainings","ImmigrantPermitAndCardTrainingsOccupationalCompetence","permitAndCardTrainingOccupationalCompetences","ImmigrantEducationInfos","educationInfo","ImmigrantFormBasicFields","ImmigrantFormContactFields","ImmigrantFormIntegrationFields","ImmigrantFormFamilyFields","ImmigrantFormSkillsFields","ImmigrantFormWorkFields","ImmigrantFormEducationFields","ImmigrantFormFields","ImmigrantForm","ThankYou","SaveFailed","noCascade","disableTopLevelSelection","_component_HakoTreeSelect","parentKey","hasChildren","isHeader","ClassificationInformationsSelect2","propertyPathBase","currentTypeDatas","dataCount","onBeforeMount","isEmpty","addNewData","fromBtn","mv","newData","isPrimary","getElementById","onInputBlur","propNames","removeIfEmpty","trim","onChangePrimary","d","generatePropertyPathForIndex","dataRow","opacity","cPersonCount","personCompanyDatas","addNewCompanyPerson","contactDatas","phoneNumber","isCompanyInfoUpdateRequestRecipient","personId","person","isActive","removeNewCompanyPerson","_component_HakoContentBlock","fullName","collapsed","header","CompanyUpdatePersonsInfo","CompanyUpdatePersonFirstName","CompanyUpdatePersonSecondNames","CompanyUpdatePersonLastName","CompanyUpdatePersonIsElectronicCommunicationAllowed","CompanyUpdatePersonTitle","CompanyUpdatePersonDateOfBirth","CompanyUpdatePersonEmails","PersonContactDataEditor","onValidate","CompanyUpdatePersonPhoneNumbers","CompanyUpdatePersonLanguage","CompanyUpdatePersonIsInfoUpdateRequestRecipient","showAssociationDirectoryMenu","associationTypeCompanyForms","_directive_fieldMaxWidth","_resolveDirective","TerminatedAt","terminationDate","ServiceDirectory","serviceDirectories","AssociationDirectory","associationDirectories","CompanyUpdateFormBasicFields","CompanyUpdateFormContactFields","CompanyUpdateFormOtherFields","CompanyUpdateFormPersonsFields","companyData","CompanyUpdateFormFields","organizationHasPublicDirectory","showInCompanyRegister","CompanyUpdateForm","JobSeekerBasicInfo","JobSeekerFirstName","JobSeekerSecondNames","JobSeekerLastName","JobSeekerCommunicationLanguage","JobSeekerElectronicCommunicationAllowed","JobSeekerDateOfBirth","JobSeekerSocialNumber","JobSeekerGender","JobSeekerCitizenship","JobSeekerOccupation","JobSeekerExtraInfo","JobSeekerTranslatorNeed","isTranslatorNeeded","JobSeekerTranslatorNeedLanguages","translatorNeedLanguages","JobSeekerContactInfo","JobSeekerEmail","JobSeekerPhoneNumber","JobSeekerAddress","JobSeekerExperienceAndSkills","JobSeekerSearchProfessions","JobSeekerLanguageSkills","JobSeekerLanguageSkillsDescription","JobSeekerDrivingLicenseClasses","JobSeekerOwnsCar","JobSeekerDrivingLicenseOccupationalCompetence","JobSeekerITSkills","JobSeekerITSkillsDescription","JobSeekerHobbies","draftJobSeekerId","JobSeekerWorkExperience","JobSeekerWorkExperienceYears","JobSeekerWorkExperienceDescription","JobSeekerWorkExperiences","JobSeekerEducation","JobSeekerEducationAndQualificationLevels","JobSeekerEducationDescription","JobSeekerPermitAndCardTrainings","JobSeekerPermitAndCardTrainingsOccupationalCompetence","JobSeekerEducationInfos","JobSeekerFormBasicFields","JobSeekerFormContactFields","JobSeekerFormSkillsFields","JobSeekerFormWorkFields","JobSeekerFormEducationFields","draftJobSeekerData","JobSeekerFormFields","JobSeekerForm","routes","path","component","PageNotFound","CompanyFormView","ThankYouView","SaveFailedView","StartupperFormView","ImmigrantFormView","JobSeekerFormView","CompanyUpdateFormView","createRouter","history","createWebHistory","beforeEach","to","_component_router_view","_component_HakoAlertVueManager","_component_HakoNotificationVueManager","pinia","createPinia","app","createApp","App","hakoLibVuePlugin","mount","webpackAsyncContext","req","__webpack_require__","Promise","resolve","Error","ids","module","exports","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","getter","__esModule","a","definition","defineProperty","enumerable","f","chunkId","all","promises","u","miniCssF","g","globalThis","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","done","needAttach","scripts","getElementsByTagName","getAttribute","createElement","charset","timeout","nc","onScriptComplete","event","onerror","onload","clearTimeout","doneFns","parentNode","setTimeout","bind","head","appendChild","toStringTag","nmd","installedChunks","installedChunkData","promise","reject","loadingEnded","errorType","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}