{"version":3,"sources":["webpack:///./src/components/tab/Tab.vue?cd80","webpack:///src/components/tab/Tab.vue","webpack:///./src/components/tab/Tab.vue?3070","webpack:///./src/components/tab/Tab.vue","webpack:///./src/components/tab/Tabs.vue?4f26","webpack:///./src/services/expiringStorage.js","webpack:///src/components/tab/Tabs.vue","webpack:///./src/components/tab/Tabs.vue?6be9","webpack:///./src/components/tab/Tabs.vue","webpack:///./src/components/tab/CustomTabs.js","webpack:///./node_modules/core-js/modules/es6.array.find-index.js","webpack:///./src/components/person/PersonDetails.vue?0d88","webpack:///./src/components/common/FileDownload.vue?1aab","webpack:///./src/components/common/FileDownload.vue?578b","webpack:///src/components/common/FileDownload.vue","webpack:///./src/components/common/FileDownload.vue?7754","webpack:///./src/components/common/FileDownload.vue?6e09","webpack:///./src/components/dynamic/AuxiliaryRegister.vue?619b","webpack:///./src/components/address/Address.vue?9467","webpack:///src/components/address/Address.vue","webpack:///./src/components/address/Address.vue?51b1","webpack:///./src/components/address/Address.vue","webpack:///./src/components/person/PersonIdentificationDetails.vue?8fa3","webpack:///./src/views/registers/mentors/Mentor.vue?a5c1","webpack:///./src/buses/register-bus.js","webpack:///./src/components/datepicker/DatePicker.vue?877f","webpack:///src/components/datepicker/DatePicker.vue","webpack:///./src/components/datepicker/DatePicker.vue?5e04","webpack:///./src/components/datepicker/DatePicker.vue","webpack:///./src/components/dynamic/DynamicRegisterDropdown.vue?1db3","webpack:///./src/components/dynamic/DynamicRegisterMultiSelect.vue?d992","webpack:///src/components/dynamic/DynamicRegisterMultiSelect.vue","webpack:///./src/components/dynamic/DynamicRegisterMultiSelect.vue?d03e","webpack:///./src/components/dynamic/DynamicRegisterMultiSelect.vue","webpack:///src/components/dynamic/DynamicRegisterDropdown.vue","webpack:///./src/components/dynamic/DynamicRegisterDropdown.vue?305b","webpack:///./src/components/dynamic/DynamicRegisterDropdown.vue","webpack:///./node_modules/vue-star-rating/dist/star-rating.min.js","webpack:///./src/components/dynamic/Panel.vue?0f3d","webpack:///./src/components/dynamic/Input.vue?18c9","webpack:///src/components/dynamic/Input.vue","webpack:///./src/components/dynamic/Input.vue?dec9","webpack:///./src/components/dynamic/Input.vue","webpack:///./src/components/dynamic/Toggle.vue?3952","webpack:///src/components/dynamic/Toggle.vue","webpack:///./src/components/dynamic/Toggle.vue?0297","webpack:///./src/components/dynamic/Toggle.vue","webpack:///./src/components/dynamic/Datepicker.vue?0101","webpack:///src/components/dynamic/Datepicker.vue","webpack:///./src/components/dynamic/Datepicker.vue?68ee","webpack:///./src/components/dynamic/Datepicker.vue","webpack:///./src/components/dynamic/Dropdown.vue?21ff","webpack:///./src/components/dynamic/NomenclatureDropdown.vue?7c27","webpack:///./src/components/dynamic/NomenclatureMultiSelect.vue?6d7d","webpack:///src/components/dynamic/NomenclatureMultiSelect.vue","webpack:///./src/components/dynamic/NomenclatureMultiSelect.vue?3a4d","webpack:///./src/components/dynamic/NomenclatureMultiSelect.vue","webpack:///src/components/dynamic/NomenclatureDropdown.vue","webpack:///./src/components/dynamic/NomenclatureDropdown.vue?bd71","webpack:///./src/components/dynamic/NomenclatureDropdown.vue","webpack:///./src/components/dynamic/StaticRegisterDropdown.vue?a67b","webpack:///./src/components/dynamic/StaticRegisterMultiSelect.vue?7ffa","webpack:///src/components/dynamic/StaticRegisterMultiSelect.vue","webpack:///./src/components/dynamic/StaticRegisterMultiSelect.vue?8b4b","webpack:///./src/components/dynamic/StaticRegisterMultiSelect.vue","webpack:///src/components/dynamic/StaticRegisterDropdown.vue","webpack:///./src/components/dynamic/StaticRegisterDropdown.vue?1e09","webpack:///./src/components/dynamic/StaticRegisterDropdown.vue","webpack:///src/components/dynamic/Dropdown.vue","webpack:///./src/components/dynamic/Dropdown.vue?7749","webpack:///./src/components/dynamic/Dropdown.vue","webpack:///./src/components/dynamic/FileUpload.vue?129f","webpack:///src/components/dynamic/FileUpload.vue","webpack:///./src/components/dynamic/FileUpload.vue?3d38","webpack:///./src/components/dynamic/FileUpload.vue","webpack:///./src/components/dynamic/Person.vue?760d","webpack:///src/components/dynamic/Person.vue","webpack:///./src/components/dynamic/Person.vue?408a","webpack:///./src/components/dynamic/Person.vue","webpack:///./src/components/dynamic/Address.vue?9ab0","webpack:///src/components/dynamic/Address.vue","webpack:///./src/components/dynamic/Address.vue?fe38","webpack:///./src/components/dynamic/Address.vue","webpack:///./src/components/dynamic/StarRating.vue?af66","webpack:///src/components/dynamic/StarRating.vue","webpack:///./src/components/dynamic/StarRating.vue?3130","webpack:///./src/components/dynamic/StarRating.vue","webpack:///src/components/dynamic/Panel.vue","webpack:///./src/components/dynamic/Panel.vue?6138","webpack:///./src/components/dynamic/Panel.vue","webpack:///./src/components/dynamic/AuxiliaryRegister.vue?190f","webpack:///src/components/dynamic/AuxiliaryRegister.vue","webpack:///./src/components/dynamic/AuxiliaryRegister.vue?e9ce","webpack:///./src/components/dynamic/AuxiliaryRegister.vue","webpack:///./src/components/person/PersonDetails.vue?9e96","webpack:///./src/components/person/PersonIdentificationDetails.vue?f33c","webpack:///src/components/person/PersonIdentificationDetails.vue","webpack:///./src/components/person/PersonIdentificationDetails.vue?342b","webpack:///./src/components/person/PersonIdentificationDetails.vue?1d13","webpack:///src/components/person/PersonDetails.vue","webpack:///./src/components/person/PersonDetails.vue?a95b","webpack:///./src/components/person/PersonDetails.vue?47c9","webpack:///./src/services/dynamicFieldChangeHandler.service.js","webpack:///./src/views/registers/mentors/Mentor.vue?3555","webpack:///src/views/registers/mentors/Mentor.vue","webpack:///./src/views/registers/mentors/Mentor.vue?88e2","webpack:///./src/views/registers/mentors/Mentor.vue?760c"],"names":["render","_vm","this","_h","$createElement","_c","_self","directives","name","rawName","value","expression","staticClass","attrs","isActive","computedId","_t","staticRenderFns","inject","props","id","default","required","prefix","suffix","isDisabled","data","isVisible","computed","header","hash","component","_l","tab","i","key","class","domProps","_s","on","$event","selectTab","ExpiringStorage","cached","JSON","parse","localStorage","getItem","expires","Date","removeItem","lifeTimeInMinutes","currentTime","getTime","setItem","cacheLifetime","options","type","useUrlFragment","defaultTabHash","loadSavedTab","tabs","activeTabHash","activeTabIndex","lastActiveTabHash","storageKey","created","mounted","window","methods","findTab","selectedTabHash","event","expiringStorage","setTabVisible","visible","getTabIndex","getTabHash","index","getActiveTab","getActiveTabIndex","install","Vue","Tab","Tabs","$export","$find","KEY","forced","Array","P","F","findIndex","callbackfn","arguments","length","undefined","loading","showDescription","stopPropagation","download","_v","file","fileName","target","composing","$set","_e","path","baseUrl","responseType","then","link","document","catch","color","title","text","_uid","$t","ref","contriesSort","isAddressDetails","editing","model","address","callback","$$v","errors","has","first","countryId","countries","BG","cityChanged","areaOfAppeal","coordsLoading","addressLoading","getCoords","openForEdit","saving","createOrEdit","cancelEdit","isNew","contactAddressId","allowEdit","loadCurrentUserAddress","showAreaOfAppeal","Boolean","userId","profileData","components","cityDropdownSearch","dropdownSearch","oldValue","isEnVersion","post","response","time","notificationDuration","put","getCurrentUserContactAddress","getAddress2","get","getAddress","params","fullAddress","fillProfileData","console","watch","handler","deep","immediate","RegisterEventBus","uid","staticStyle","customFormat","timeFormat","datepickerStart","datepickerDepth","readonly","dateMinVal","dateMaxVal","fieldName","inputChanged","dateValue","format","showTime","min","max","showOnlyYear","convertToLocalTime","useUtcTime","changedFromPicker","defaultDateMinVal","defaultDateMaxVal","convertFromUtcToLocal","dateUtc","newVal","oldVal","kendo","isMultiDropdown","items","filterPattern","details","isReadOnly","optionLabel","nomDropdownSettings","showFooterTemplate","footerTemplate","height","selectedId","showSettings","fieldValue","isRequired","selectedValues","DropdownSettings","loaded","init","populateStringValueById","ids","stringValues","template","templateArgs","e","btns","tooltip","icon","show","clickHandler","mapGetters","loadDropdownData","t","module","exports","n","r","l","call","m","c","d","o","Object","defineProperty","configurable","enumerable","__esModule","prototype","hasOwnProperty","p","s","btoa","concat","sources","map","sourceRoot","join","unescape","encodeURIComponent","stringify","toString","a","push","u","_scopeId","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","functional","beforeCreate","esModule","refs","parts","createElement","appendChild","querySelector","h","g","parentNode","removeChild","v","f","bind","css","media","sourceMap","styleSheet","cssText","createTextNode","childNodes","insertBefore","setAttribute","firstChild","DEBUG","Error","head","getElementsByTagName","navigator","test","userAgent","toLowerCase","filter","star","prop","increment","Number","rating","roundStartRating","activeColor","String","inactiveColor","maxRating","starPoints","starSize","showRating","readOnly","textClass","inline","borderColor","borderWidth","roundedCorners","padding","rtl","fixedPoints","glow","glowColor","step","currentRating","selectedRating","createStars","setRating","position","toFixed","$emit","ratingSelected","resetRating","shouldRound","round","fillLevel","Math","ceil","formattedRating","margin","fill","points","size","starId","calculatePoints","grad","getRandomId","glowId","starPointsToString","getGradId","getSize","parseInt","border","getFill","getBorderColor","maxSize","reduce","viewBox","mouseMoving","getPosition","offsetX","selected","random","substring","width","mousemove","click","x1","x2","y1","y2","offset","filterUnits","stdDeviation","result","in","stroke","mouseleave","style","locals","panel","labelEn","label","fieldType","tag","allowAnonymous","isEvaluationPanel","deleteSavedFile","labelClasses","inputType","fieldCode","initialValue","isArray","_i","$$a","$$el","$$c","checked","$$i","slice","_q","descriptionEn","description","validations","addValidations","addValidation","validation","addTextValidations","addNumberValidations","addIntValidations","addDecimalValidations","loadInitialValue","stringValueChanged","selectedValue","Toggle","stringValue","datetimeMinValue","datetimeMaxValue","selectedDate","DatetimePicker","setEventDate","date","componentReset","destroyed","dropdownComponent","nomenclatureName","dropdownIsCity","multiSelectValue","showNoDataTemplate","noDataTemplate","showNomCreate","cancelPrompt","nomParentSort","nomParentType","nomEditCancel","nomEditSave","NomenclatureEditCard","url","indexOf","split","parsedValues","templateBtns","NodataTemplate","noDataFound","createQuestion","FooterTemplate","addNomenclature","args","showNewNomenclatureModal","clearFilterAndText","dropdown","selectContextMenu","hasCreateRights","dropdownId","Dropdown","MultiSelect","CityDropdownSearch","StaticRegisterMultiSelect","NomenclatureDropdown","StaticRegisterDropdown","DynamicRegisterDropdown","addProperDropdown","$index","docTypeCode","fileChanged","fileRemoved","files","FileDownload","filesForDownload","activePrompt","originalModel","filePath","content","fileDescription","registerEntityFieldValueId","fileToRemove","getSeparatedFileNames","fileNames","fileId","fileIndex","checkForSavedFiles","person","requiredIdentification","validateUniqueIdNumber","validateEgn","PersonComponent","hasSavedPerson","fieldId","AddressComponent","intMaxValue","intValue","StarRating","setInitialValue","Input","Datepicker","FileUpload","Person","Address","claims","auxiliaryRegister","register","registerId","entryId","registerName","Panel","pageLoaded","isSaved","areObjectsEqual","dynamicFieldChangeHandler","newValue","DynamicFieldChangeHandler","loadEmptyRegisterStructure","loadRegisterStructureWithEntities","getDynamicRegisterModelForSubmit","fieldsValues","fieldValues","registerEntityExtension","handleResize","isBgCulture","personIdentification","positionEn","institutionDetails","institutionLocationDetails","identification","showPosition","PersonIdentificationDetails","DateOnlyPicker","store","getters","appSettings","recalcSubscriptionDates","panels","j","FieldCodes","EventSubscriptionStartDate","datetimeValue","moment","utc","utcStr","toISOString","replace","EventSubscriptionEndDate","AccommodationType","WithourAccommodation","setComponentWithCodeToReadonly","LastDayForBooking","EventAccommodationPlaceName","AccommodationAddress","EventStayFrom","EventStayTo","EventDailyAllowanceFrom","EventDailyAllowanceTo","code","isReadonly","getFieldCode","EventStartDate","eventStartDateChangeHandler","EventEndDate","eventEndDateChangeHandler","eventAccommodationTypeChangeHandler","backToRegister","mentor","nomenclature","Directorate","participant","removeParticipantDetails","personTypeSearch","removeParticipant","participants","participantsDetails","addParticipant","AuxiliaryRegisters","Mentors","auxRegisterEntityId","onSubmit","PersonDetails","PageTitle","AuxiliaryRegister","institution","edit","create","loadData"],"mappings":"2IAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOT,EAAY,SAAEU,WAAW,aAAaC,YAAY,uBAAuBC,MAAM,CAAC,eAAgB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ACA1C,gBACA2C,sBACAC,uBAEA,YACA,gBAEA7C,OAAA,YACA,cACAE,WACA,2BACA,+BAEAC,6BACAF,eACA2C,sBACAC,uBAEA,oBAMApB,YA1FA,WA2FA,gBACA,wCAEAG,WA9FA,WA+FA,gBACA,4BAEAmB,6BAlGA,aA6GAC,YA7GA,WA6GA,WACA,WACAC,IADA,uCACA,kBACApD,MAAA,YACA,gCAEAG,OAAA,YACA,cACAE,WACA,2BACA,+BAEAC,6BACAF,eACA2C,iDAIAM,WA/HA,WA+HA,WACA,qCAYA,uBAEA,WACAD,IACA,gDACA,iBADA,YACA,oBAEApD,MAAA,YACA,cACAK,wBACAC,QACAF,eACA2C,6CAGA,uBAEA5C,OAAA,YACA,cACAE,WACA,2BACA,+BAEAC,6BACAF,eACA2C,6CAGA,wBAvCA,iBACA1C,MACA,wDACAC,QACAF,gBACA2C,iDAqCApB,UA3KA,WA2KA,WACA,uBAYA,4DACA,0BAaA,4DACA,wBAYA,oBAWA,kBAWA,sBAEA,WACAyB,IADA,qCACA,CACAE,QACAxC,8BAGAd,MAAA,YACA,0BAEA,iBACA,8BAGA,iBACA,+BAGA,sBAEAG,OAAA,YACA,cACAE,WACA,2BACA,+BAEAC,6BACAF,eACA2C,6CAGA,uBA1CA,iBACA1C,2CACAC,QACAF,gBACA2C,gDAfA,iBACA1C,+CACAC,QACAF,gBACA2C,gDAfA,iBACA1C,wDACAC,QACAF,gBACA2C,gDAlBA,iBACA1C,wDACAC,QACAF,gBACA2C,gDAlBA,iBACA1C,iDACAC,QACAF,gBACA2C,iDA2FAQ,YA5QA,WA6QA,+CACA,EACA,2DACA,4CACA,wBACA,sBACA,mBAEA,iEAEAhC,YAvRA,WAuRA,WACA,uBAIA,WACA6B,IACA,yCACA,4BAEApD,MAAA,YACA,kCACA8C,wBAGA3C,OAAA,YACA,cACAE,WACA,2BACA,+BAEAC,6BACAF,eACA2C,iDAIAS,gBAlTA,SAkTA7I,GACA,GAIA8I,iBAGAC,OACAnB,aACA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,cAGAkI,YACAiE,yBAEA9L,KA1BA,WA2BA,OACA+L,UACAF,kBACAb,SACAU,gBACAT,mBAGAtI,SACAqJ,KADA,WACA,WACA,WACAvD,IADA,wDAEA,cAFA,qBAEA,WAFA,6CAGA,qHAEApD,MAAA,YACA,eACA,oDACA,KAEA,+CAEAG,OAAA,YACA,cACAE,WACA,2BACA,+BAEAC,6BACAF,eACA2C,gDAGA/C,MAAA,WACA,gBAGAyE,aA7BA,SA6BAhH,GACA,iCACA,sBACA,gDAEAmJ,wBAlCA,SAkCAC,GACA,gBAIA,SACA,OACAA,uBAEA,oDACA,eACAC,qBAGA,aACA,iDAGAZ,2BAAA,WACA,OACAa,oDACAC,+BACAC,EADA,CAEAC,MACA,CACAzN,0CACA6G,yCACA6G,4CACA9L,0BACA+L,kBACAC,2CACAC,wBACA,0BAQA5D,OACA0C,yBACA,wBAGAvL,2BACA0M,yCAEAnK,QArHA,WAsHA,iEACA,cC9JmX,I,YCO/WpC,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,KACA,MAIa,EAAAA,E,oBCkCA,GACfb,sBACAC,OACAT,sBACAkH,aACAkF,mBACAF,SACAnJ,aACApC,YAEAC,UACAmC,aACApC,YAEAkK,WACA9H,YACAnC,YACAD,mBAEA6L,QACAzJ,YACApC,cAGAkI,YACA,kCACAiE,yBAEA9L,KA5BA,WA6BA,OACAyL,0BACAT,SACAe,UACAL,gBACAT,mBAGAtI,SACAkK,iBADA,WACA,WACA,WACApE,IADA,wDAEA,iCAFA,qBAEA,WAFA,6CAGA,qHAEApD,MAAA,YACA,eACA,2CAEAG,OAAA,YACA,cACAE,WACA,2BACA,+BAEAC,6BACAF,eACA2C,gDAGA/C,MAAA,WACA,gBAGA4G,wBA1BA,SA0BAvM,GAEA,uDACA,gBACA,8CAGA6L,2BAAA,WACA,OACAa,oDACAC,+BACAC,EADA,CAEAC,MACA,CACAzN,uCACA6G,yCACA6G,4CACA9L,0BACA+L,kBACAC,2CACAC,wBACA,0BAQA5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iEP,GACfxF,OACAT,sBACA+C,YAEA8H,iBACA3D,aACAmB,OACAtF,aACApC,YAEAuL,SACAnJ,aACApC,YAEA6L,QACAzJ,YACApC,cAGAkI,YACAqS,4BACApO,yBAEA9L,KAxBA,WAyBA,OACAgL,SACAa,kBACAE,UACA6N,iBACAE,gBACAC,wBACArO,gBACAT,mBAGAtI,SACAqJ,KADA,WACA,WACA,wJACA,WACAvD,IAAA0R,GACA9U,MAAA,YAIA,GAHA,eACA,aAKA,IAFA,6BACAsJ,WACAyL,QAAA,KACA,CACA,mCACAzL,WACA0L,MAAA,KACAC,uBACA,sCAGA,sCACA,qBACA,+BAKA,IACA,kBACA,0BACA,QACA,CACA,+BACA3L,WACA0L,MAAA,KACAC,uBACA,iCAIA,+CAEA9U,OAAA,YACA,cACAE,WACA,2BACA,+BAEAC,6BACAF,eACA2C,gDAGA/C,MAAA,WACA,iBAGAyE,aA1DA,SA0DAhH,GACA,iCACA,kCACA,sBACA,gDAEAmJ,wBAhEA,SAgEAC,GACA,gBAIA,SACA,OACA,GACAA,uBACA,qDACA,eACAC,qBAIA,aACA,iDAGAoO,aAnFA,SAmFAjO,GACA,OACA,qBACA,CACAxN,uBACA6G,oCACA6G,uCACA9L,0BACA+L,0BACAC,QACAC,mCAEA,KAGAgN,2BACA,iCACA,GACA,CACAvN,gCACAoO,YACAA,QAEAnO,+BACAC,EADA,CAEAmO,gDACAC,uBACA,+BAEAnO,8BAIAhB,2BAAA,WACA,iCACA,GACA,CACAa,gCACAuO,YACAA,QAEAtO,+BACAC,EADA,CAEAC,qDACA,CACAzN,yCACA6G,yCACA6G,4CACA9L,0BACA+L,kBACAC,2CACAC,wBACA,0BAOAiO,gBA9IA,SA8IAC,GACA,sBAKA,kCAEAC,yBAtJA,WAuJA,uBAEAC,mBAzJA,WA0JA,6DACA,IACAC,wBACA,wCACAA,6BAIAhB,cAlKA,WAmKA,0BACA,uBAEAC,YAtKA,WAuKA,0BACA,sBACA,kBAEAJ,aA3KA,WA4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ACA,oHACA,WACAvD,IAAA0R,GACA9U,MAAA,YACA,eACA,oDACA,KAEA,4CACA,eAEAG,OAAA,YACA,cACAE,WACA,2BACA,+BAEAC,6BACAF,gBACA2C,iDAIA0B,aA1BA,SA0BAhH,GACA,iCACA,sBACA,gDAEAmJ,wBA/BA,SA+BAC,GACA,gBAIA,SACA,OACAA,uBAEA,oDACA,eACAC,qBAGA,aACA,iDAGAZ,2BAAA,WACA,OACAa,oDACAC,+BACAC,EADA,CAEAC,MACA,CACAzN,yCACA6G,yCACA6G,4CACA9L,0BACA+L,kBACAC,2CACAC,wBACA,0BAQAzM,2BACA0M,yCAEAnK,QArGA,WAsGA,iEACA,cC9IkX,MCO9W,GAAY,eACd,GACA,GACA,IACA,EACA,KACA,KACA,MAIa,M,QC6BA,IACfjD,sBACAC,OACAT,sBACAkH,aACAgF,SACAnJ,aACApC,YAEA6L,QACAzJ,YACApC,cAGAkI,YACA0T,6BACAzP,yBAEA9L,KAlBA,WAmBA,OACAyL,0BACAT,SACAe,UACAxH,WACAkV,oBACA/N,gBACAT,mBAGAtI,SACAkK,iBADA,WACA,WACA,gBACA,WACApE,IADA,0DAEA,sBAFA,qBAEA,WAFA,6CAGA,qHAEApD,MAAA,YACA,eACA,2CAEAG,OAAA,YACA,cACAE,WACA,2BACA,+BAEAC,6BACAF,gBACA2C,gDAGA/C,MAAA,WACA,YACA,iBAGA4G,wBA5BA,SA4BAvM,GAEA,uDACA,gBACA,8CAGA6L,2BAAA,WACA,OACAa,oDACAC,+BACAC,EADA,CAEAC,MACA,CACAzN,sCACA6G,yCACA6G,4CACA9L,0BACA+L,kBACAC,2CACAC,wBACA,0BAQA5D,OACA0C,yBACA,sBACAtC,oDACA,kCAGAnK,oBACA,4BACA,wBACA,mCAEA,mBAGAya,iBAfA,SAeA7O,EAAAC,GACA,oCAGA3K,2BACA0M,uDAEAnK,QA5GA,WA6GA,2BAIA,iBAHA,iEACA,2BC9J+W,MCO3W,GAAY,eACd,GACA,GACA,IACA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ACAke,4BAGA9f,SACAigB,SADA,WACA,WACA,gDACA,IACA,0FACA,KACA,SAEA,gBAKAJ,eAbA,WAcA,4CAEAH,kBAhBA,SAgBAjf,GACA,sCAEA+e,yBAnBA,SAmBApF,EAAA3Z,GACA,4CACA,4CAEA0e,eAvBA,WAwBA,wCAEAmB,KA1BA,WA0BA,WACA,gBACA,4DACA,aACA,cACAvd,oCACAC,+CACA2N,sBACA7N,kBAEA,sBACAD,OAAA,YACA,aACA,cACAE,qEACAC,6BACAF,eACA2C,iDAIA8a,OA/CA,WA+CA,WACA,gBACA,6DACA,aACA,cACAxd,oCACAC,+CACA2N,sBACA7N,kBAEA,sBACAD,OAAA,YACA,aACA,cACAE,qEACAC,6BACAF,eACA2C,iDAIA+a,SApEA,WAoEA,WACA,gBACA,iEACA,6BACA,gBACA3d,OAAA,YACA,kBAKAuD,OACA,uBADA,SACA6B,EAAAC,GAAA,gBACA,+BACA,gCACA,iCACA,mGACA,qCAGA,QACA,+BAGA,4BAbA,SAaAD,EAAAC,GACA,gCACA,gCACA,+BACA,4BACA,oCAEA,wCAIApI,QA5HA,WA6HA,8BACA,SACA,kBChQ8W,I,wBCQ1WpC,EAAY,eACd,EACA/B,EACAiB,GACA,EACA,KACA,WACA,MAIa,aAAAc,E","file":"js/chunk-3e5d0894.f26ae32b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isActive),expression:\"isActive\"}],staticClass:\"tabs-component-panel\",attrs:{\"aria-hidden\":! _vm.isActive,\"id\":_vm.computedId,\"role\":\"tabpanel\"}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <section v-show=\"isActive\"\r\n :aria-hidden=\"! isActive\"\r\n class=\"tabs-component-panel\"\r\n :id=\"computedId\"\r\n role=\"tabpanel\">\r\n <slot />\r\n </section>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n inject: ['$validator'],\r\n props: {\r\n id: { default: null },\r\n name: { required: true },\r\n prefix: { default: '' },\r\n suffix: { default: '' },\r\n isDisabled:{ default: false },\r\n },\r\n data: () => ({\r\n isActive: false,\r\n isVisible: true,\r\n }),\r\n computed: {\r\n header() {\r\n return this.prefix + this.name + this.suffix;\r\n },\r\n computedId() {\r\n return this.id ? this.id : this.name.toLowerCase().replace(/ /g, '-');\r\n },\r\n hash() {\r\n if (this.isDisabled) {\r\n return '#';\r\n }\r\n return '#' + this.computedId;\r\n },\r\n },\r\n };\r\n</script>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tab.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tab.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Tab.vue?vue&type=template&id=0c758c23&\"\nimport script from \"./Tab.vue?vue&type=script&lang=js&\"\nexport * from \"./Tab.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tabs-component\"},[_c('ul',{staticClass:\"tabs-component-tabs\",attrs:{\"role\":\"tablist\"}},_vm._l((_vm.tabs),function(tab,i){return _c('li',{directives:[{name:\"show\",rawName:\"v-show\",value:(tab.isVisible),expression:\"tab.isVisible\"}],key:i,staticClass:\"tabs-component-tab\",class:{ 'is-active': tab.isActive, 'is-disabled': tab.isDisabled },attrs:{\"role\":\"presentation\"}},[_c('a',{staticClass:\"tabs-component-tab-a\",attrs:{\"aria-controls\":tab.hash,\"aria-selected\":tab.isActive,\"href\":tab.hash,\"role\":\"tab\"},domProps:{\"innerHTML\":_vm._s(tab.header)},on:{\"click\":function($event){return _vm.selectTab(tab.hash, $event)}}})])}),0),_c('div',{staticClass:\"tabs-component-panels\"},[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","class ExpiringStorage {\r\n get(key) {\r\n const cached = JSON.parse(\r\n localStorage.getItem(key)\r\n );\r\n\r\n if (! cached) {\r\n return null;\r\n }\r\n\r\n const expires = new Date(cached.expires);\r\n\r\n if (expires < new Date()) {\r\n localStorage.removeItem(key);\r\n return null;\r\n }\r\n\r\n return cached.value;\r\n }\r\n\r\n set(key, value, lifeTimeInMinutes) {\r\n const currentTime = new Date().getTime();\r\n\r\n const expires = new Date(currentTime + lifeTimeInMinutes * 60000);\r\n\r\n localStorage.setItem(key, JSON.stringify({ value, expires }));\r\n }\r\n}\r\n\r\nexport default new ExpiringStorage();","<template>\r\n <div class=\"tabs-component\">\r\n <ul role=\"tablist\" class=\"tabs-component-tabs\">\r\n <li\r\n v-for=\"(tab, i) in tabs\"\r\n :key=\"i\"\r\n :class=\"{ 'is-active': tab.isActive, 'is-disabled': tab.isDisabled }\"\r\n class=\"tabs-component-tab\"\r\n role=\"presentation\"\r\n v-show=\"tab.isVisible\">\r\n <a v-html=\"tab.header\"\r\n :aria-controls=\"tab.hash\"\r\n :aria-selected=\"tab.isActive\"\r\n @click=\"selectTab(tab.hash, $event)\"\r\n :href=\"tab.hash\"\r\n class=\"tabs-component-tab-a\"\r\n role=\"tab\"\r\n ></a>\r\n </li>\r\n </ul>\r\n <div class=\"tabs-component-panels\">\r\n <slot/>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import expiringStorage from '../../services/expiringStorage';\r\n export default {\r\n inject: ['$validator'],\r\n props: {\r\n cacheLifetime: {\r\n default: 5,\r\n },\r\n options: {\r\n type: Object,\r\n required: false,\r\n default: () => ({\r\n useUrlFragment: true,\r\n defaultTabHash: null,\r\n loadSavedTab: true\r\n }),\r\n }\r\n },\r\n data: () => ({\r\n tabs: [],\r\n activeTabHash: '',\r\n activeTabIndex: 0,\r\n lastActiveTabHash: '',\r\n }),\r\n computed: {\r\n storageKey() {\r\n return `vue-tabs-component.cache.${window.location.host}${window.location.pathname}`;\r\n },\r\n },\r\n created() {\r\n this.tabs = this.$children;\r\n },\r\n mounted() {\r\n window.addEventListener('hashchange', () => this.selectTab(window.location.hash));\r\n if (this.findTab(window.location.hash)) {\r\n this.selectTab(window.location.hash);\r\n return;\r\n }\r\n\r\n if (this.options.loadSavedTab) {\r\n const previousSelectedTabHash = expiringStorage.get(this.storageKey);\r\n if (this.findTab(previousSelectedTabHash)) {\r\n this.selectTab(previousSelectedTabHash);\r\n return;\r\n }\r\n }\r\n\r\n if(this.options.defaultTabHash !== null && this.findTab(\"#\" + this.options.defaultTabHash)) {\r\n this.selectTab(\"#\" + this.options.defaultTabHash);\r\n return;\r\n }\r\n if (this.tabs.length) {\r\n this.selectTab(this.tabs[0].hash);\r\n }\r\n \r\n },\r\n methods: {\r\n findTab(hash) {\r\n return this.tabs.find(tab => tab.hash === hash);\r\n },\r\n selectTab(selectedTabHash, event) {\r\n // See if we should store the hash in the url fragment.\r\n if (event && !this.options.useUrlFragment) {\r\n event.preventDefault();\r\n }\r\n const selectedTab = this.findTab(selectedTabHash);\r\n if (! selectedTab) {\r\n return;\r\n }\r\n if (selectedTab.isDisabled) {\r\n event.preventDefault();\r\n return;\r\n }\r\n if (this.lastActiveTabHash === selectedTab.hash) {\r\n this.$emit('clicked', { tab: selectedTab });\r\n return;\r\n }\r\n this.tabs.forEach(tab => {\r\n tab.isActive = (tab.hash === selectedTab.hash);\r\n });\r\n this.$emit('changed', { tab: selectedTab });\r\n this.activeTabHash = selectedTab.hash;\r\n this.activeTabIndex = this.getTabIndex(selectedTabHash);\r\n this.lastActiveTabHash = this.activeTabHash = selectedTab.hash;\r\n expiringStorage.set(this.storageKey, selectedTab.hash, this.cacheLifetime);\r\n },\r\n setTabVisible(hash, visible) {\r\n const tab = this.findTab(hash);\r\n if (! tab) {\r\n return;\r\n }\r\n tab.isVisible = visible;\r\n if (tab.isActive) {\r\n // If tab is active, set a different one as active.\r\n tab.isActive = visible;\r\n this.tabs.every((tab, index, array) => {\r\n if (tab.isVisible) {\r\n tab.isActive = true;\r\n return false;\r\n }\r\n return true;\r\n });\r\n }\r\n },\r\n \r\n getTabIndex(hash){\r\n \tconst tab = this.findTab(hash);\r\n \t\r\n \treturn this.tabs.indexOf(tab);\r\n },\r\n \r\n\t\t\tgetTabHash(index){\r\n \tconst tab = this.tabs.find(tab => this.tabs.indexOf(tab) === index);\r\n \t\r\n \tif (!tab) {\r\n\t\t\t\t\treturn;\r\n }\r\n \r\n return tab.hash;\r\n\t\t\t},\r\n \r\n getActiveTab(){\r\n \treturn this.findTab(this.activeTabHash);\r\n },\r\n \r\n\t\t\tgetActiveTabIndex() {\r\n \treturn this.getTabIndex(this.activeTabHash);\r\n },\r\n },\r\n };\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tabs.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tabs.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Tabs.vue?vue&type=template&id=5240e0c0&\"\nimport script from \"./Tabs.vue?vue&type=script&lang=js&\"\nexport * from \"./Tabs.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Tab from './Tab';\r\nimport Tabs from './Tabs';\r\n\r\nexport default {\r\n install(Vue) {\r\n Vue.component('tab', Tab);\r\n Vue.component('tabs', Tabs);\r\n },\r\n};\r\n\r\nexport { Tab, Tabs };\r\n","'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonDetails.vue?vue&type=style&index=0&id=561e897e&prod&scoped=true&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileDownload.vue?vue&type=style&index=0&id=09099646&prod&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"smallLoader\"}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.loading),expression:\"!loading\"}],staticClass:\"row\",class:!_vm.showDescription ? 'col-lg-6' : ''},[_c('button',{staticClass:\"btn btn-link btn-primary text-left col-6 m-0\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.download($event)}}},[_c('i',{staticClass:\"fas fa-download\"}),_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.file.name || _vm.file.fileName)+\"\\n\\t\\t\")]),(_vm.showDescription)?_c('div',{staticClass:\"col-lg-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.file.description),expression:\"file.description\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"readonly\":\"\"},domProps:{\"value\":(_vm.file.description)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.file, \"description\", $event.target.value)}}})]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n\t<div>\r\n\t\t<div class=\"smallLoader\" v-show=\"loading\"></div>\r\n\t\t<div v-show=\"!loading\" class=\"row\" :class=\"!showDescription ? 'col-lg-6' : ''\">\r\n\t\t\t<button type=\"button\"\r\n\t\t\t\t\tclass=\"btn btn-link btn-primary text-left col-6 m-0\"\r\n\t\t\t\t\t@click.stop=\"download\">\r\n\t\t\t\t<i class=\"fas fa-download\"></i>\r\n\t\t\t\t{{ file.name || file.fileName }}\r\n\t\t\t</button>\r\n\t\t\t<div class=\"col-lg-6\" v-if=\"showDescription\">\r\n\t\t\t\t<input type=\"text\" class=\"form-control\" v-model=\"file.description\" readonly />\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n\tprops: {\r\n\t\tfile: Object,\r\n\t\tshowDescription: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: true\r\n\t\t},\r\n\t\tpath: {\r\n\t\t\ttype: String,\r\n default: 'api/file/download'\r\n\t\t},\r\n type: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: ''\r\n }\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tbaseUrl: this.$store.getters.baseUrl,\r\n\t\t\tloading: false\r\n\t\t};\r\n\t},\r\n methods: {\r\n download() {\r\n this.loading = true;\r\n const downloadUri = `${this.$store.getters.baseUrl}/${this.path}?id=${this.file.id}&type=${this.type}&hash=${this.file.hash}`;\r\n\r\n this.$http.get(downloadUri, { responseType: 'blob' })\r\n\t\t\t\t.then(response => {\r\n\t\t\t\t\tconst blob = new Blob([response.data]);\r\n\t\t\t\t\tconst url = window.URL.createObjectURL(blob);\r\n\t\t\t\t\tconst link = document.createElement('a');\r\n\t\t\t\t\tlink.href = url;\r\n link.target = \"_blank\";\r\n\t\t\t\t\tlink.setAttribute('download', (this.file.name || this.file.fileName)); // or any other extension\r\n\t\t\t\t\tdocument.body.appendChild(link);\r\n\t\t\t\t\tlink.click();\r\n\t\t\t\t\twindow.URL.revokeObjectURL(url);\r\n\t\t\t\t})\r\n\t\t\t\t.catch(err => {\r\n\t\t\t\t\tthis.$vs.notify({\r\n\t\t\t\t\t\tcolor: 'danger',\r\n\t\t\t\t\t\ttitle: this.$t('notifications.error'),\r\n\t\t\t\t\t\ttext: this.$helpers.errorText(err)\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t\t.then(() => { this.loading = false; });\r\n }\r\n }\r\n};\r\n</script>\r\n\r\n<style scoped>\r\ninput[readonly] {\r\n\tbackground-color: whitesmoke;\r\n}\r\n\r\ntextarea[readonly] {\r\n\tbackground-color: whitesmoke;\r\n}\r\n\r\n.row {\r\n\tmargin-bottom: 5px;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileDownload.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileDownload.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FileDownload.vue?vue&type=template&id=09099646&scoped=true&\"\nimport script from \"./FileDownload.vue?vue&type=script&lang=js&\"\nexport * from \"./FileDownload.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FileDownload.vue?vue&type=style&index=0&id=09099646&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"09099646\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuxiliaryRegister.vue?vue&type=style&index=0&id=3c735a91&prod&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('h3',[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"form-group col-md-4\"},[_c('label',{staticClass:\"font-weight-bold required\",attrs:{\"for\":'country' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('address.country')))]),_c('dropdown-search',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],ref:\"countryDropdown\",attrs:{\"loadByParentSort\":true,\"parentSort\":_vm.contriesSort,\"id\":'country' + _vm._uid,\"name\":'country' + _vm._uid,\"data-vv-as\":_vm.$t('address.country'),\"disabled\":_vm.isAddressDetails && !_vm.editing},model:{value:(_vm.address.countryId),callback:function ($$v) {_vm.$set(_vm.address, \"countryId\", $$v)},expression:\"address.countryId\"}}),(_vm.errors.has('country' + _vm._uid))?_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first('country' + _vm._uid)))]):_vm._e()],1),_c('div',{staticClass:\"form-group col-md-8\"},[_c('label',{staticClass:\"font-weight-bold required\",attrs:{\"for\":'settlement' + _vm._uid}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('address.settlement'))+\"\\n \")]),(_vm.address.countryId == _vm.countries.BG)?_c('div',[_c('city-dropdown-search',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.address.countryId == _vm.countries.BG ? 'required' : ''),expression:\"address.countryId == countries.BG ? 'required' : ''\"}],ref:\"settlementDropdown\",attrs:{\"id\":'settlement' + _vm._uid,\"name\":'settlementId' + _vm._uid,\"data-vv-as\":_vm.$t('address.settlement'),\"disabled\":_vm.isAddressDetails && !_vm.editing,\"aria-describedby\":\"SettlementIdHelper\"},on:{\"input\":_vm.cityChanged},model:{value:(_vm.address.settlementId),callback:function ($$v) {_vm.$set(_vm.address, \"settlementId\", $$v)},expression:\"address.settlementId\"}}),_c('small',{staticClass:\"form-text text-muted\",attrs:{\"id\":\"SettlementIdHelper\"}},[_vm._v(_vm._s(_vm.$t('address.settlementIdHelper')))]),(_vm.errors.has('settlementId' + _vm._uid))?_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first('settlementId' + _vm._uid)))]):_vm._e()],1):_vm._e(),(_vm.address.countryId != _vm.countries.BG)?_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.address.settlement),expression:\"address.settlement\"},{name:\"validate\",rawName:\"v-validate\",value:(_vm.address.countryId != _vm.countries.BG ? 'required' : ''),expression:\"address.countryId != countries.BG ? 'required' : ''\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"id\":'settlement' + _vm._uid,\"name\":'settlement' + _vm._uid,\"data-vv-as\":_vm.$t('address.settlement'),\"readonly\":_vm.isAddressDetails && !_vm.editing,\"aria-describedby\":\"SettlementHelper\"},domProps:{\"value\":(_vm.address.settlement)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.address, \"settlement\", $event.target.value)}}}),_c('small',{staticClass:\"form-text text-muted\",attrs:{\"id\":\"SettlementHelper\"}},[_vm._v(_vm._s(_vm.$t('address.settlementHelper')))]),(_vm.errors.has('settlement' + _vm._uid))?_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first('settlement' + _vm._uid)))]):_vm._e()]):_vm._e()]),_c('div',{staticClass:\"form-group col-md-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'postCode' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('address.postCode')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.address.postCode),expression:\"address.postCode\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"id\":'portCode' + _vm._uid,\"readonly\":_vm.isAddressDetails && !_vm.editing},domProps:{\"value\":(_vm.address.postCode)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.address, \"postCode\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group col-md-4\"},[_c('label',{staticClass:\"font-weight-bold\",class:_vm.required?'required':'',attrs:{\"for\":'street' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('address.street')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.address.street),expression:\"address.street\"},{name:\"validate\",rawName:\"v-validate\",value:(_vm.required?'required':''),expression:\"required?'required':''\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":'street' + _vm._uid,\"data-vv-as\":_vm.$t('address.street'),\"id\":'street' + _vm._uid,\"readonly\":_vm.isAddressDetails && !_vm.editing},domProps:{\"value\":(_vm.address.street)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.address, \"street\", $event.target.value)}}}),(_vm.errors.has('street' + _vm._uid))?_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first('street' + _vm._uid)))]):_vm._e()]),_c('div',{staticClass:\"form-group col-md-4\"},[_c('label',{staticClass:\"font-weight-bold\",class:_vm.required?'required':'',attrs:{\"for\":'streetNum' + _vm._uid}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('address.streetNum'))+\"\\n \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.address.num),expression:\"address.num\"},{name:\"validate\",rawName:\"v-validate\",value:(_vm.required ? 'required' : ''),expression:\"required ? 'required' : ''\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":'streetNum' + _vm._uid,\"data-vv-as\":_vm.$t('address.streetNum'),\"id\":'streetNum' + _vm._uid,\"readonly\":_vm.isAddressDetails && !_vm.editing},domProps:{\"value\":(_vm.address.num)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.address, \"num\", $event.target.value)}}}),(_vm.errors.has('streetNum' + _vm._uid))?_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first('streetNum' + _vm._uid)))]):_vm._e()]),(_vm.showAreaOfAppeal)?_c('div',{staticClass:\"form-group col-md-12\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'areaOfAppeal' + _vm._uid}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('address.areaOfAppeal'))+\"\\n \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.areaOfAppeal),expression:\"areaOfAppeal\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":'areaOfAppeal' + _vm._uid,\"data-vv-as\":_vm.$t('address.streetNum'),\"id\":'areaOfAppeal' + _vm._uid,\"readonly\":true},domProps:{\"value\":(_vm.areaOfAppeal)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.areaOfAppeal=$event.target.value}}})]):_vm._e(),_c('div',{staticClass:\"form-group col-md-12\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'coords' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('address.coords')))]),_c('div',{staticClass:\"form-row\",attrs:{\"id\":'coords' + _vm._uid}},[_c('div',{staticClass:\"form-group col-md-4\"},[_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-sm-3 col-form-label\",attrs:{\"for\":'lat' + _vm._uid}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('address.lat'))+\"\\n \")]),_c('div',{staticClass:\"col-sm-9\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.address.lat),expression:\"address.lat\"}],staticClass:\"form-control\",attrs:{\"type\":\"number\",\"id\":'lat' + _vm._uid,\"readonly\":_vm.isAddressDetails && !_vm.editing},domProps:{\"value\":(_vm.address.lat)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.address, \"lat\", $event.target.value)}}})])])]),_c('div',{staticClass:\"form-group col-md-4\"},[_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-sm-3 col-form-label\",attrs:{\"for\":'long' + _vm._uid}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('address.long'))+\"\\n \")]),_c('div',{staticClass:\"col-sm-9\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.address.long),expression:\"address.long\"}],staticClass:\"form-control\",attrs:{\"type\":\"number\",\"id\":'long' + _vm._uid,\"readonly\":_vm.isAddressDetails && !_vm.editing},domProps:{\"value\":(_vm.address.long)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.address, \"long\", $event.target.value)}}})])])]),_c('div',{staticClass:\"form-group col-md-4\"},[(_vm.coordsLoading || _vm.addressLoading)?_c('div',{staticClass:\"loader\"}):_c('div',{staticClass:\"btn-group\",attrs:{\"role\":\"group\",\"aria-label\":\"address-btns\"}},[_c('button',{staticClass:\"btn btn-sm btn-secondary\",attrs:{\"type\":\"button\",\"disabled\":_vm.isAddressDetails && !_vm.editing},on:{\"click\":function($event){$event.stopPropagation();return _vm.getCoords($event)}}},[_vm._v(_vm._s(_vm.$t('address.coordsFromAddress'))+\"\\n \")])])])])]),(_vm.allowEdit)?_c('div',{staticClass:\"form-group col-12\"},[(!_vm.isAddressDetails)?_c('button',{staticClass:\"btn btn-primary btn\",class:_vm.saving ? 'disabled' : '',attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.createOrEdit($event)}}},[(_vm.saving)?_c('i',{staticClass:\"fas fa-spinner fa-spin\"}):_c('i',{staticClass:\"fas fa-save\"}),_vm._v(\"\\n \"+_vm._s(_vm.isNew ? _vm.$t('buttons.save.btnText') : _vm.$t('buttons.edit.btnText'))+\"\\n \")]):_c('div',{staticClass:\"btn-group\"},[(!_vm.editing)?_c('button',{staticClass:\"btn btn-primary btn\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.openForEdit($event)}}},[_c('i',{staticClass:\"fas fa-edit\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('buttons.edit.btnText'))+\"\\n \")]):_vm._e(),(_vm.editing)?_c('button',{staticClass:\"btn btn-primary btn\",class:_vm.saving ? 'disabled' : '',attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.createOrEdit($event)}}},[(_vm.saving)?_c('i',{staticClass:\"fas fa-spinner fa-spin\"}):_c('i',{staticClass:\"fas fa-save\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('buttons.save.btnText'))+\"\\n \")]):_vm._e(),(_vm.editing)?_c('button',{staticClass:\"btn btn-danger btn\",class:_vm.saving ? 'disabled' : '',attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.cancelEdit($event)}}},[_c('i',{staticClass:\"fas fa-ban\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('buttons.cancel'))+\"\\n \")]):_vm._e()])]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <h3>{{title}}</h3>\r\n <div class=\"row\">\r\n <div class=\"form-group col-md-4\">\r\n <label class=\"font-weight-bold required\" :for=\"'country' + _uid\">{{ $t('address.country') }}</label>\r\n <dropdown-search ref=\"countryDropdown\"\r\n :loadByParentSort=\"true\"\r\n :parentSort=\"contriesSort\"\r\n :id=\"'country' + _uid\"\r\n v-model=\"address.countryId\"\r\n v-validate=\"'required'\"\r\n :name=\"'country' + _uid\"\r\n :data-vv-as=\"$t('address.country')\"\r\n :disabled=\"isAddressDetails && !editing\"></dropdown-search>\r\n <span class=\"text-danger\"\r\n v-if=\"errors.has('country' + _uid)\">{{ errors.first('country' + _uid) }}</span>\r\n </div>\r\n <div class=\"form-group col-md-8\">\r\n <label class=\"font-weight-bold required\" :for=\"'settlement' + _uid\">\r\n {{\r\n $t('address.settlement')\r\n }}\r\n </label>\r\n <div v-if=\"address.countryId == countries.BG\">\r\n <city-dropdown-search ref=\"settlementDropdown\"\r\n :id=\"'settlement' + _uid\"\r\n v-model=\"address.settlementId\"\r\n v-validate=\"address.countryId == countries.BG ? 'required' : ''\"\r\n :name=\"'settlementId' + _uid\"\r\n @input=\"cityChanged\"\r\n :data-vv-as=\"$t('address.settlement')\"\r\n :disabled=\"isAddressDetails && !editing\"\r\n aria-describedby=\"SettlementIdHelper\"></city-dropdown-search>\r\n <small id=\"SettlementIdHelper\"\r\n class=\"form-text text-muted\">{{$t('address.settlementIdHelper')}}</small>\r\n <span class=\"text-danger\" v-if=\"errors.has('settlementId' + _uid)\">{{ errors.first('settlementId' + _uid) }}</span>\r\n </div>\r\n <div v-if=\"address.countryId != countries.BG\">\r\n <input type=\"text\"\r\n class=\"form-control\"\r\n :id=\"'settlement' + _uid\"\r\n v-model=\"address.settlement\"\r\n v-validate=\"address.countryId != countries.BG ? 'required' : ''\"\r\n :name=\"'settlement' + _uid\"\r\n :data-vv-as=\"$t('address.settlement')\"\r\n :readonly=\"isAddressDetails && !editing\"\r\n aria-describedby=\"SettlementHelper\"/>\r\n <small id=\"SettlementHelper\" class=\"form-text text-muted\">{{$t('address.settlementHelper')}}</small>\r\n <span class=\"text-danger\" v-if=\"errors.has('settlement' + _uid)\">{{ errors.first('settlement' + _uid) }}</span>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-md-4\">\r\n <label class=\"font-weight-bold\" :for=\"'postCode' + _uid\">{{$t('address.postCode') }}</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"address.postCode\" :id=\"'portCode' + _uid\"\r\n :readonly=\"isAddressDetails && !editing\"/>\r\n </div>\r\n <div class=\"form-group col-md-4\">\r\n <label class=\"font-weight-bold\" :class=\"required?'required':''\" :for=\"'street' + _uid\">{{\r\n $t('address.street') }}</label>\r\n <input type=\"text\"\r\n class=\"form-control\"\r\n v-model=\"address.street\"\r\n v-validate=\"required?'required':''\"\r\n :name=\"'street' + _uid\"\r\n :data-vv-as=\"$t('address.street')\"\r\n :id=\"'street' + _uid\"\r\n :readonly=\"isAddressDetails && !editing\"/>\r\n <span class=\"text-danger\" v-if=\"errors.has('street' + _uid)\">{{ errors.first('street' + _uid) }}</span>\r\n </div>\r\n <div class=\"form-group col-md-4\">\r\n <label class=\"font-weight-bold\" :class=\"required?'required':''\" :for=\"'streetNum' + _uid\">\r\n {{\r\n $t('address.streetNum')\r\n }}\r\n </label>\r\n <input type=\"text\"\r\n class=\"form-control\"\r\n v-model=\"address.num\"\r\n v-validate=\"required ? 'required' : ''\"\r\n :name=\"'streetNum' + _uid\"\r\n :data-vv-as=\"$t('address.streetNum')\"\r\n :id=\"'streetNum' + _uid\"\r\n :readonly=\"isAddressDetails && !editing\"/>\r\n <span class=\"text-danger\"\r\n v-if=\"errors.has('streetNum' + _uid)\">{{ errors.first('streetNum' + _uid) }}</span>\r\n </div>\r\n\r\n <div class=\"form-group col-md-12\" v-if=\"showAreaOfAppeal\">\r\n <label class=\"font-weight-bold\" :for=\"'areaOfAppeal' + _uid\">\r\n {{\r\n $t('address.areaOfAppeal')\r\n }}\r\n </label>\r\n <input type=\"text\"\r\n class=\"form-control\"\r\n v-model=\"areaOfAppeal\"\r\n :name=\"'areaOfAppeal' + _uid\"\r\n :data-vv-as=\"$t('address.streetNum')\"\r\n :id=\"'areaOfAppeal' + _uid\"\r\n :readonly=\"true\"/>\r\n </div>\r\n\r\n <div class=\"form-group col-md-12\">\r\n <label class=\"font-weight-bold\" :for=\"'coords' + _uid\">{{ $t('address.coords') }}</label>\r\n\r\n <div class=\"form-row\" :id=\"'coords' + _uid\">\r\n <div class=\"form-group col-md-4\">\r\n <div class=\"form-group row\">\r\n <label class=\"col-sm-3 col-form-label\" :for=\"'lat' + _uid\">\r\n {{\r\n $t('address.lat')\r\n }}\r\n </label>\r\n <div class=\"col-sm-9\">\r\n <input type=\"number\" class=\"form-control\" v-model=\"address.lat\" :id=\"'lat' + _uid\"\r\n :readonly=\"isAddressDetails && !editing\"/>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-md-4\">\r\n <div class=\"form-group row\">\r\n <label class=\"col-sm-3 col-form-label\" :for=\"'long' + _uid\">\r\n {{\r\n $t('address.long')\r\n }}\r\n </label>\r\n <div class=\"col-sm-9\">\r\n <input type=\"number\" class=\"form-control\" v-model=\"address.long\" :id=\"'long' + _uid\"\r\n :readonly=\"isAddressDetails && !editing\"/>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"form-group col-md-4\">\r\n <div class=\"loader\" v-if=\"coordsLoading || addressLoading\"></div>\r\n <div v-else class=\"btn-group\" role=\"group\" aria-label=\"address-btns\">\r\n <button type=\"button\" class=\"btn btn-sm btn-secondary\" @click.stop=\"getCoords\"\r\n :disabled=\"isAddressDetails && !editing\">{{ $t('address.coordsFromAddress') }}\r\n </button>\r\n <!--<button type=\"button\" class=\"btn btn-sm btn-secondary\"\r\n @click.stop=\"getAddress\">\r\n ÐÐ´Ñ€ÐµÑ Ð¾Ñ‚ координати\r\n </button>-->\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-group col-12\" v-if=\"allowEdit\">\r\n <button v-if=\"!isAddressDetails\" type=\"button\" class=\"btn btn-primary btn\"\r\n :class=\"saving ? 'disabled' : ''\" @click.stop=\"createOrEdit\">\r\n <i class=\"fas fa-spinner fa-spin\" v-if=\"saving\"></i>\r\n <i class=\"fas fa-save\" v-else></i>\r\n {{ isNew ? $t('buttons.save.btnText') : $t('buttons.edit.btnText') }}\r\n </button>\r\n <div v-else class=\"btn-group\">\r\n <button v-if=\"!editing\" type=\"button\" class=\"btn btn-primary btn\" @click.stop=\"openForEdit\">\r\n <i class=\"fas fa-edit\"></i>\r\n {{ $t('buttons.edit.btnText') }}\r\n </button>\r\n <button v-if=\"editing\" type=\"button\" class=\"btn btn-primary btn\"\r\n :class=\"saving ? 'disabled' : ''\" @click.stop=\"createOrEdit\">\r\n <i class=\"fas fa-spinner fa-spin\" v-if=\"saving\"></i>\r\n <i class=\"fas fa-save\" v-else></i>\r\n {{ $t('buttons.save.btnText') }}\r\n </button>\r\n <button v-if=\"editing\" type=\"button\" class=\"btn btn-danger btn\"\r\n :class=\"saving ? 'disabled' : ''\" @click.stop=\"cancelEdit\">\r\n <i class=\"fas fa-ban\"></i>\r\n {{ $t('buttons.cancel') }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import dropdownSearch from '../dropdown/DropdownSearch';\r\n import cityDropdownSearch from '../dropdown/CityDropdownSearch';\r\n import { Address, AreaOfAppeal } from './../../models/models';\r\n import { Countries, NomenclatureParentBySort } from '../../models/enums';\r\n\r\n export default {\r\n inject: ['$validator'],\r\n props: {\r\n contactAddressId: {\r\n type: Number,\r\n default: 0\r\n },\r\n address: Address,\r\n title: String,\r\n allowEdit: {\r\n default: false,\r\n type: Boolean\r\n },\r\n loadCurrentUserAddress: {\r\n default: false,\r\n type: Boolean\r\n },\r\n showAreaOfAppeal: {\r\n Boolean,\r\n default: false\r\n },\r\n isAddressDetails: {\r\n type: Boolean,\r\n default: false\r\n },\r\n userId: {\r\n type: String,\r\n default: null\r\n },\r\n required: {\r\n type: Boolean,\r\n default: true\r\n },\r\n profileData: {\r\n type: Object,\r\n default() {\r\n return null;\r\n }\r\n }\r\n },\r\n components: {\r\n cityDropdownSearch,\r\n dropdownSearch\r\n },\r\n data() {\r\n return {\r\n countries: Countries,\r\n coordsLoading: false,\r\n addressLoading: false,\r\n saving: false,\r\n editing: false,\r\n oldValue: new Address(),\r\n contriesSort: NomenclatureParentBySort.Countries\r\n };\r\n },\r\n created() {\r\n if (!this.address) {\r\n this.address = new Address();\r\n }\r\n },\r\n mounted: function () {\r\n if (this.loadCurrentUserAddress || this.userId) {\r\n this.getAddress2();\r\n }\r\n },\r\n computed: {\r\n isEnVersion() {\r\n return this.$store.getters.currentCulture === 'en';\r\n },\r\n areaOfAppeal() {\r\n if (!this.address.areaOfAppeal) {\r\n return '';\r\n }\r\n\r\n return `${\r\n this.isEnVersion\r\n ? this.address.areaOfAppeal.nameEn\r\n : this.address.areaOfAppeal.name\r\n } \\ ${this.address.areaOfAppeal.districtCode}`;\r\n },\r\n isNew() {\r\n return !this.address || this.address.id <= 0;\r\n }\r\n },\r\n methods: {\r\n createOrEdit() {\r\n this.$validator.validateAll().then(result => {\r\n if (result) {\r\n this.saving = true;\r\n if (this.isNew) {\r\n if (this.userId) {\r\n this.address.userId = this.userId;\r\n }\r\n\r\n this.$http\r\n .post('/api/Address', this.address)\r\n .then(response => {\r\n this.$vs.notify({\r\n title: response.request\r\n ? this.$t(\r\n 'request.response.status.' +\r\n response.request.status\r\n )\r\n : this.$t(\r\n 'request.response.status.200'\r\n ),\r\n text: response.data.message\r\n ? response.data.message\r\n : response.request.statusText\r\n ? response.request.statusText\r\n : response.message,\r\n color: 'success',\r\n time: this.$store.getters\r\n .notificationDuration\r\n });\r\n this.saving = false;\r\n this.editing = false;\r\n })\r\n .catch(error => {\r\n this.$vs.notify({\r\n title: this.$t(\r\n 'request.response.status.' +\r\n this.$helpers.errorStatusCode(error)\r\n ),\r\n text: this.$helpers.errorText(error),\r\n color: 'danger',\r\n time: this.$store.getters\r\n .notificationDuration\r\n });\r\n\r\n this.saving = false;\r\n });\r\n } else {\r\n this.$http\r\n .put('/api/Address', this.address)\r\n .then(response => {\r\n this.$vs.notify({\r\n title: response.request\r\n ? this.$t(\r\n 'request.response.status.' +\r\n response.request.status\r\n )\r\n : this.$t(\r\n 'request.response.status.200'\r\n ),\r\n text: response.data.message\r\n ? response.data.message\r\n : response.request.statusText\r\n ? response.request.statusText\r\n : response.message,\r\n color: 'success',\r\n time: this.$store.getters\r\n .notificationDuration\r\n });\r\n this.saving = false;\r\n this.editing = false;\r\n })\r\n .catch(error => {\r\n this.$vs.notify({\r\n title: this.$t(\r\n 'request.response.status.' +\r\n this.$helpers.errorStatusCode(error)\r\n ),\r\n text: this.$helpers.errorText(error),\r\n color: 'danger',\r\n time: this.$store.getters\r\n .notificationDuration\r\n });\r\n this.saving = false;\r\n });\r\n }\r\n }\r\n });\r\n },\r\n openForEdit() {\r\n this.editing = true;\r\n this.oldValue = new Address(this.address);\r\n },\r\n cancelEdit() {\r\n this.editing = false;\r\n this.address = this.oldValue;\r\n },\r\n getCurrentUserContactAddress() {\r\n // this.$http.get(`/api/Person/AuthenticatedPersonAddress`).then(result => {\r\n // this.contactAddressId = result.data.contactAddressId;\r\n // }).catch(error => {this.$vs.notify({\r\n // title: this.$t('request.response.status.' + this.$helpers.errorStatusCode(error)),\r\n // text: this.$helpers.errorText(error),\r\n // color: 'danger',\r\n // time: this.$store.getters.notificationDuration\r\n // });\r\n // });\r\n },\r\n getAddress2() {\r\n this.$http\r\n .get(`/api/Address/AddressByUserId/${this.userId || ''}`)\r\n .then(result => {\r\n this.address = new Address(result.data);\r\n })\r\n .catch(error => {\r\n this.$vs.notify({\r\n title: this.$t(\r\n 'request.response.status.' +\r\n this.$helpers.errorStatusCode(error)\r\n ),\r\n text: this.$helpers.errorText(error),\r\n color: 'danger',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n });\r\n },\r\n getAddress() {\r\n if (!this.address.lat || !this.address.long) {\r\n this.$vs.notify({\r\n title:\r\n 'Полето \"Ширина\" и \"Дължина\" Ñа без въведена ÑтойноÑÑ‚!',\r\n text: '',\r\n color: 'warning',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n\r\n return;\r\n }\r\n\r\n this.addressLoading = true;\r\n\r\n this.$http\r\n .get(\r\n '/api/services/getAddressFromCoords/' +\r\n `${this.address.lat},${this.address.long}`\r\n )\r\n .then(response => {\r\n this.$vs.notify({\r\n title: 'Not implemented',\r\n text: '',\r\n color: 'danger',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n\r\n this.addressLoading = false;\r\n })\r\n .catch(error => {\r\n this.$vs.notify({\r\n title: this.$t(\r\n 'request.response.status.' +\r\n this.$helpers.errorStatusCode(error)\r\n ),\r\n text: this.$helpers.errorText(error),\r\n color: 'danger',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n\r\n this.addressLoading = false;\r\n });\r\n },\r\n getCoords() {\r\n if (!this.address.countryId) {\r\n this.$vs.notify({\r\n title: 'Полето \"Държава\" е без избрана ÑтойноÑÑ‚!',\r\n text: '',\r\n color: 'warning',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n\r\n return;\r\n }\r\n\r\n if (\r\n this.address.countryId === this.$store.getters.bulgariaNomId &&\r\n !this.address.settlementId\r\n ) {\r\n this.$vs.notify({\r\n title: 'Полето \"ÐаÑелено мÑÑто\" е без избрана ÑтойноÑÑ‚!',\r\n text: '',\r\n color: 'warning',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n\r\n return;\r\n }\r\n\r\n if (\r\n this.address.countryId !== this.$store.getters.bulgariaNomId &&\r\n !this.address.settlement\r\n ) {\r\n this.$vs.notify({\r\n title: 'Полето \"ÐаÑелено мÑÑто\" е без въвдена ÑтойноÑÑ‚!',\r\n text: '',\r\n color: 'warning',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n\r\n return;\r\n }\r\n\r\n if (!this.address.street) {\r\n this.$vs.notify({\r\n title: 'Полето \"Улица\" е без въвдена ÑтойноÑÑ‚!',\r\n text: '',\r\n color: 'warning',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n\r\n return;\r\n }\r\n\r\n if (!this.address.num) {\r\n this.$vs.notify({\r\n title: 'Полето \"â„–\" е без въвдена ÑтойноÑÑ‚!',\r\n text: '',\r\n color: 'warning',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n\r\n return;\r\n }\r\n\r\n this.coordsLoading = true;\r\n\r\n this.$http\r\n .get(`/api/services/getCoordsFromAddress`, {\r\n params: {\r\n address: this.fullAddress()\r\n }\r\n })\r\n .then(response => {\r\n let searchResult = response.data.searchResult;\r\n\r\n if (searchResult.position.lat) {\r\n this.address.lat = searchResult.position.lat;\r\n }\r\n\r\n if (searchResult.position.lon) {\r\n this.address.long = searchResult.position.lon;\r\n }\r\n\r\n this.coordsLoading = false;\r\n })\r\n .catch(error => {\r\n this.$vs.notify({\r\n title: this.$t(\r\n 'request.response.status.' +\r\n this.$helpers.errorStatusCode(error)\r\n ),\r\n text: this.$helpers.errorText(error),\r\n color: 'danger',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n\r\n this.coordsLoading = false;\r\n });\r\n },\r\n fullAddress() {\r\n let country = this.$refs.countryDropdown.selected.text;\r\n let settlement =\r\n this.address.countryId === this.$store.getters.bulgariaNomId\r\n ? this.$refs.settlementDropdown.selected.text\r\n : this.address.settlement;\r\n let street = this.address.street;\r\n let streetNum = this.address.num;\r\n\r\n return `${country}, ${settlement}, ${street}, ${streetNum}`;\r\n },\r\n cityChanged() {\r\n if (!this.showAreaOfAppeal) {\r\n return;\r\n }\r\n\r\n this.$http\r\n .get(\r\n '/api/cities/getAreaOfAppeal/' +\r\n `${this.address.settlementId}`\r\n )\r\n .then(response => {\r\n this.address.areaOfAppeal = new AreaOfAppeal(\r\n response.data.areaOfAppeal\r\n );\r\n })\r\n .catch(error => {\r\n this.$vs.notify({\r\n title: this.$t(\r\n 'request.response.status.' +\r\n this.$helpers.errorStatusCode(error)\r\n ),\r\n text: this.$helpers.errorText(error),\r\n color: 'danger',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n });\r\n },\r\n fillProfileData(data) {\r\n if (!data) {\r\n return;\r\n }\r\n\r\n console.log(data);\r\n }\r\n },\r\n watch: {\r\n profileData: {\r\n handler: function (newVal, oldVal) {\r\n this.fillProfileData(newVal);\r\n },\r\n deep: true,\r\n immediate: true,\r\n },\r\n }\r\n };\r\n</script>\r\n\r\n<style scoped>\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Address.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Address.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Address.vue?vue&type=template&id=75622781&scoped=true&\"\nimport script from \"./Address.vue?vue&type=script&lang=js&\"\nexport * from \"./Address.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"75622781\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonIdentificationDetails.vue?vue&type=style&index=0&id=23e0fe98&prod&scoped=true&lang=css&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Mentor.vue?vue&type=style&index=0&id=78ca3782&prod&scoped=true&lang=css&\"","import Vue from 'vue';\r\nexport const RegisterEventBus = new Vue();\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('kendo-datetimepicker',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.required ? 'required' : ''),expression:\"required ? 'required' : ''\"}],ref:'datepicker' + _vm.uid,staticStyle:{\"width\":\"100%\"},attrs:{\"format\":_vm.customFormat,\"time-format\":_vm.timeFormat,\"name\":'datetimepicker' + _vm.uid,\"start\":_vm.datepickerStart,\"depth\":_vm.datepickerDepth,\"disabled\":_vm.readonly,\"min\":_vm.dateMinVal,\"max\":_vm.dateMaxVal,\"data-vv-as\":_vm.fieldName,\"interval\":5},on:{\"change\":_vm.inputChanged},model:{value:(_vm.dateValue),callback:function ($$v) {_vm.dateValue=$$v},expression:\"dateValue\"}}),(_vm.errors.has('datetimepicker' + _vm.uid))?_c('span',{staticClass:\"text-danger col-12\"},[_vm._v(_vm._s(_vm.errors.first('datetimepicker' + _vm.uid)))]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <kendo-datetimepicker\r\n :ref=\"'datepicker' + uid\"\r\n v-model=\"dateValue\"\r\n @change=\"inputChanged\"\r\n :format=\"customFormat\"\r\n :time-format=\"timeFormat\"\r\n :name=\"'datetimepicker' + uid\"\r\n v-validate=\"required ? 'required' : ''\"\r\n style=\"width: 100%;\"\r\n :start=\"datepickerStart\"\r\n :depth=\"datepickerDepth\"\r\n :disabled=\"readonly\"\r\n :min=\"dateMinVal\"\r\n :max=\"dateMaxVal\"\r\n :data-vv-as=\"fieldName\"\r\n :interval=\"5\"\r\n ></kendo-datetimepicker>\r\n <span class=\"text-danger col-12\" v-if=\"errors.has('datetimepicker' + uid)\">{{ errors.first('datetimepicker' + uid) }}</span>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n inject: ['$validator'],\r\n props: {\r\n value: [Date, String],\r\n required: {\r\n type: Boolean,\r\n default: false\r\n },\r\n format: {\r\n type: String\r\n },\r\n timeFormat: {\r\n type: String,\r\n default: 'HH:mm'\r\n },\r\n showTime: {\r\n type: [Boolean, String],\r\n default: true\r\n },\r\n readonly: {\r\n type: Boolean,\r\n default: false\r\n },\r\n min: {\r\n type: [Date, String],\r\n required: false\r\n },\r\n max: {\r\n type: [Date, String],\r\n required: false\r\n },\r\n showOnlyYear: {\r\n type: Boolean,\r\n default: false\r\n },\r\n fieldName: String,\r\n convertToLocalTime: {\r\n type: Boolean,\r\n default: true\r\n },\r\n useUtcTime: {\r\n type: Boolean,\r\n default: true\r\n }\r\n },\r\n data() {\r\n return {\r\n uid: Math.floor(Math.random() * 0x10000).toString(16),\r\n dateValue: '',\r\n changedFromPicker: false,\r\n defaultDateMinVal: new Date(1900, 0, 1),\r\n defaultDateMaxVal: new Date(2159, 0, 1),\r\n customFormat: ''\r\n };\r\n },\r\n methods: {\r\n inputChanged(event) {\r\n this.changedFromPicker = true;\r\n if (event.sender.value()) {\r\n if (this.useUtcTime) {\r\n this.$emit('input', event.sender.value().toUTCString());\r\n } else {\r\n this.$emit('input', event.sender.value());\r\n }\r\n } else {\r\n this.$emit('input', event.sender.value());\r\n }\r\n },\r\n convertFromUtcToLocal() {\r\n if (this.value) {\r\n let dateUtc = new Date(this.value);\r\n if (dateUtc && (dateUtc.getTimezoneOffset() > 0 || dateUtc.getTimezoneOffset() < 0)) {\r\n this.dateValue = new Date(\r\n Date.UTC(\r\n dateUtc.getFullYear(),\r\n dateUtc.getMonth(),\r\n dateUtc.getDate(),\r\n dateUtc.getHours(),\r\n dateUtc.getMinutes(),\r\n dateUtc.getSeconds()\r\n )\r\n );\r\n } else {\r\n this.dateValue = dateUtc;\r\n }\r\n }\r\n }\r\n },\r\n watch: {\r\n value: {\r\n immediate: true,\r\n handler(newVal, oldVal) {\r\n // let dt = this.$refs['' + this.uid];\r\n // if (dt) {\r\n // dt.kendoWidget().trigger(\"change\");\r\n // }\r\n\r\n if (this.changedFromPicker) {\r\n this.changedFromPicker = false;\r\n return;\r\n }\r\n\r\n if (newVal) {\r\n if (this.convertToLocalTime) {\r\n this.convertFromUtcToLocal();\r\n } else {\r\n if (this.value) {\r\n if (this.value instanceof (Date)) {\r\n this.dateValue = this.value;\r\n } else {\r\n this.dateValue = new Date(this.value);\r\n }\r\n }\r\n }\r\n } else {\r\n this.dateValue = this.value;\r\n }\r\n }\r\n }\r\n },\r\n computed: {\r\n // ТрÑбва да Ñе направи така понеже ако подадем new Date() Ñлага ÑÐµÐ³Ð°ÑˆÐ½Ð¸Ñ Ñ‡Ð°Ñ\r\n // и прави интервалите от по 5 минути от него нататък\r\n dateMinVal() {\r\n var d = this.min || this.defaultDateMinVal;\r\n return new Date(d.getFullYear(), d.getMonth(), d.getDate());\r\n },\r\n dateMaxVal() {\r\n var d = this.max || this.defaultDateMaxVal;\r\n return new Date(d.getFullYear(), d.getMonth(), d.getDate());\r\n },\r\n datepickerStart() {\r\n return this.showOnlyYear ? 'decade' : 'month'; // mounth is default value\r\n },\r\n datepickerDepth() {\r\n return this.showOnlyYear ? 'decade' : '';\r\n }\r\n },\r\n mounted() {\r\n kendo.culture('bg-BG');\r\n\r\n // const dp = this.$refs[`datepicker${this.uid}`].kendoWidget();\r\n // if (dp) {\r\n //\tlet options = dp.options;\r\n //\toptions.parseFormats = [\r\n //\t\t...dp.options.parseFormats,\r\n //\t\t'yyyy',\r\n //\t\t'dd.MM.yyyy',\r\n //\t\t'dd.MM.yyyy HH:mm',\r\n //\t\t'dd.MM.yyyy HH:mm:ss',\r\n //\t\t'dd.MM.yyyy tt',\r\n //\t\t'dd.MM.yyyy HH:mm tt',\r\n //\t\t'dd.MM.yyyy HH:mm:ss tt',\r\n //\t\tkendo.culture().calendar.patterns['d']\r\n //\t];\r\n //\tdp.setOptions(options);\r\n\r\n //\toptions = dp.options;\r\n // }\r\n\r\n if (!this.format) {\r\n if (this.showOnlyYear) {\r\n this.customFormat = 'yyyy';\r\n } else {\r\n if (!this.showTime) {\r\n this.customFormat = 'dd.MM.yyyy';\r\n } else {\r\n this.customFormat = 'dd.MM.yyyy HH:mm';\r\n }\r\n }\r\n } else {\r\n this.customFormat = this.format;\r\n }\r\n\r\n if (this.convertToLocalTime) {\r\n this.convertFromUtcToLocal();\r\n } else {\r\n if (this.value) {\r\n if (this.value instanceof (Date)) {\r\n this.dateValue = this.value;\r\n } else {\r\n this.dateValue = new Date(this.value);\r\n }\r\n }\r\n }\r\n }\r\n };\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=08f58b04&\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=js&\"\nexport * from \"./DatePicker.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.model.isMultiDropdown)?_c('div',[(_vm.loaded)?_c('kendo-dropdownlist',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.required ? 'required' : ''),expression:\"required ? 'required' : ''\"}],staticStyle:{\"width\":\"100%\"},attrs:{\"id\":'dropdown' + _vm._uid,\"name\":'dropdown' + _vm._uid,\"data-vv-as\":_vm.fieldName,\"data-source\":_vm.items,\"data-text-field\":'text',\"data-value-field\":'id',\"filter\":_vm.filterPattern,\"disabled\":_vm.details || _vm.model.isReadOnly,\"optionLabel\":_vm.optionLabel ? _vm.optionLabel : _vm.$t('choose'),\"footer-template\":_vm.nomDropdownSettings.showFooterTemplate ? _vm.footerTemplate : '',\"height\":_vm.height},model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:\"selectedId\"}}):_vm._e(),(_vm.loaded)?_c('DropdownSettings',{attrs:{\"filterPattern\":_vm.filterPattern,\"show\":_vm.showSettings},on:{\"update:filterPattern\":function($event){_vm.filterPattern=$event},\"update:filter-pattern\":function($event){_vm.filterPattern=$event},\"update:show\":function($event){_vm.showSettings=$event}}}):_vm._e()],1):_vm._e(),(_vm.model.isMultiDropdown)?_c('div',[_c('dynamic-register-multi-select',{attrs:{\"details\":_vm.details,\"model\":_vm.model,\"required\":_vm.required,\"fieldName\":_vm.fieldName,\"height\":_vm.height},model:{value:(_vm.model.fieldValue.textValue),callback:function ($$v) {_vm.$set(_vm.model.fieldValue, \"textValue\", $$v)},expression:\"model.fieldValue.textValue\"}})],1):_vm._e(),(_vm.errors.has('dropdown' + _vm._uid))?_c('span',{staticClass:\"text-danger col-12\"},[_vm._v(_vm._s(_vm.errors.first('dropdown' + _vm._uid)))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loaded)?_c('kendo-multiselect',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.model.isRequired || _vm.required ? 'required' : ''),expression:\"model.isRequired || required ? 'required' : ''\"}],staticStyle:{\"width\":\"100%\"},attrs:{\"data-source\":_vm.items,\"data-text-field\":'text',\"data-value-field\":'id',\"disabled\":_vm.details,\"id\":'dropdown' + _vm._uid,\"name\":'dropdown' + _vm._uid,\"data-vv-as\":_vm.fieldName,\"filter\":_vm.filterPattern,\"height\":_vm.height,\"footer-template\":_vm.nomDropdownSettings.showFooterTemplate ? _vm.footerTemplate : ''},on:{\"change\":_vm.inputChanged},model:{value:(_vm.selectedValues),callback:function ($$v) {_vm.selectedValues=$$v},expression:\"selectedValues\"}}):_vm._e(),(_vm.errors.has('dropdown' + _vm._uid))?_c('span',{staticClass:\"text-danger col-12\"},[_vm._v(_vm._s(_vm.errors.first('dropdown' + _vm._uid)))]):_vm._e(),(_vm.loaded)?_c('DropdownSettings',{attrs:{\"filterPattern\":_vm.filterPattern,\"show\":_vm.showSettings},on:{\"update:filterPattern\":function($event){_vm.filterPattern=$event},\"update:filter-pattern\":function($event){_vm.filterPattern=$event},\"update:show\":function($event){_vm.showSettings=$event}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <kendo-multiselect\r\n v-if=\"loaded\"\r\n v-model=\"selectedValues\"\r\n :data-source=\"items\"\r\n :data-text-field=\"'text'\"\r\n :data-value-field=\"'id'\"\r\n :disabled=\"details\"\r\n @change=\"inputChanged\"\r\n :id=\"'dropdown' + _uid\"\r\n :name=\"'dropdown' + _uid\"\r\n :data-vv-as=\"fieldName\"\r\n :filter=\"filterPattern\"\r\n :height=\"height\"\r\n :footer-template=\"nomDropdownSettings.showFooterTemplate ? footerTemplate : ''\"\r\n v-validate=\"model.isRequired || required ? 'required' : ''\"\r\n style=\"width: 100%;\"\r\n ></kendo-multiselect>\r\n <span\r\n class=\"text-danger col-12\"\r\n v-if=\"errors.has('dropdown' + _uid)\"\r\n >{{ errors.first('dropdown' + _uid) }}</span>\r\n\r\n <DropdownSettings\r\n v-if=\"loaded\"\r\n :filterPattern.sync=\"filterPattern\"\r\n :show.sync=\"showSettings\"\r\n ></DropdownSettings>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport Vue from \"vue\";\r\nimport FooterTemplate from \"../../components/grid/NomenclatureDropdownFooterTemplate\";\r\nimport DropdownSettings from \"../../components/common/DropdownSettings\";\r\nimport { EditorComponentModel } from \"../../models/models\";\r\nimport { mapGetters } from \"vuex\";\r\n\r\nexport default {\r\n inject: [\"$validator\"],\r\n props: {\r\n value: String,\r\n model: EditorComponentModel,\r\n details: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n required: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n fieldName: {\r\n type: String,\r\n required: false,\r\n default: \"Unknown\",\r\n },\r\n height: {\r\n type: Number,\r\n default: 400, // 200 - Default value for Kendo DropdownList\r\n },\r\n },\r\n components: {\r\n DropdownSettings,\r\n },\r\n data() {\r\n return {\r\n loaded: false,\r\n selectedValues: \"\",\r\n items: [],\r\n showSettings: false,\r\n filterPattern: \"\",\r\n };\r\n },\r\n methods: {\r\n init() {\r\n this.$http\r\n .get(\r\n `/api/Dropdown/GetDynamicRegisterItems?fieldId=${this.model.id}&selected=${this.value}\r\n &updateTime=${this.model.fieldValue.updateTime? new Date(this.model.fieldValue.updateTime).toISOString() : new Date().toISOString()}`\r\n )\r\n .then((result) => {\r\n this.items = result.data;\r\n this.selectedValues = this.model.fieldValue.textValue.split(\r\n \"|\"\r\n );\r\n this.populateStringValueById(this.selectedValues);\r\n })\r\n .catch((error) => {\r\n this.$vs.notify({\r\n title: this.$t(\r\n \"request.response.status.\" +\r\n this.$helpers.errorStatusCode(error)\r\n ),\r\n text: this.$helpers.errorText(error),\r\n color: \"danger\",\r\n time: this.$store.getters.notificationDuration,\r\n });\r\n })\r\n .then(() => {\r\n this.loaded = true;\r\n });\r\n },\r\n inputChanged(event) {\r\n let valueToEmit = event.sender.value().join(\"|\");\r\n this.$emit(\"input\", valueToEmit);\r\n this.populateStringValueById(event.sender.value());\r\n },\r\n populateStringValueById(ids) {\r\n if (Array.isArray(ids) === false) {\r\n return;\r\n }\r\n\r\n let stringValues = [];\r\n let vm = this;\r\n ids.forEach((id) => {\r\n // eslint-disable-next-line eqeqeq\r\n const val = vm.items.filter((item) => item.id == id);\r\n if (val && val.length > 0) {\r\n stringValues.push(val[0].text);\r\n }\r\n });\r\n if (stringValues.length > 0) {\r\n this.model.fieldValue.stringValue = stringValues.join(\",\");\r\n }\r\n },\r\n footerTemplate: function (e) {\r\n return {\r\n template: Vue.component(FooterTemplate.name, FooterTemplate),\r\n templateArgs: {\r\n ...e,\r\n btns: [\r\n {\r\n name: \"dynamicRegisterMultiSelectSettings\",\r\n text: this.$t(\"buttons.settings.btnText\"),\r\n tooltip: this.$t(\"buttons.settings.btnText\"),\r\n class: \"btn btn-secondary\",\r\n icon: \"fas fa-cog\",\r\n show: this.nomDropdownSettings.showSettings,\r\n clickHandler: () => {\r\n this.showSettings = true;\r\n },\r\n },\r\n ],\r\n },\r\n };\r\n },\r\n },\r\n watch: {\r\n selectedId: function (newVal, oldVal) {\r\n this.$emit(\"input\", newVal);\r\n },\r\n },\r\n computed: {\r\n ...mapGetters([\"nomDropdownSettings\"]),\r\n },\r\n mounted() {\r\n this.filterPattern = this.nomDropdownSettings.defaultFilterPattern;\r\n this.init();\r\n },\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DynamicRegisterMultiSelect.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DynamicRegisterMultiSelect.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DynamicRegisterMultiSelect.vue?vue&type=template&id=dba4b0ac&\"\nimport script from \"./DynamicRegisterMultiSelect.vue?vue&type=script&lang=js&\"\nexport * from \"./DynamicRegisterMultiSelect.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div>\r\n <div v-if=\"!model.isMultiDropdown\">\r\n <kendo-dropdownlist\r\n v-if=\"loaded\"\r\n :id=\"'dropdown' + _uid\"\r\n :name=\"'dropdown' + _uid\"\r\n v-model=\"selectedId\"\r\n :data-vv-as=\"fieldName\"\r\n v-validate=\"required ? 'required' : ''\"\r\n :data-source=\"items\"\r\n :data-text-field=\"'text'\"\r\n :data-value-field=\"'id'\"\r\n :filter=\"filterPattern\"\r\n :disabled=\"details || model.isReadOnly\"\r\n :optionLabel=\"optionLabel ? optionLabel : $t('choose')\"\r\n :footer-template=\"nomDropdownSettings.showFooterTemplate ? footerTemplate : ''\"\r\n :height=\"height\"\r\n style=\"width: 100%;\"\r\n ></kendo-dropdownlist>\r\n\r\n <DropdownSettings\r\n v-if=\"loaded\"\r\n :filterPattern.sync=\"filterPattern\"\r\n :show.sync=\"showSettings\"\r\n ></DropdownSettings>\r\n </div>\r\n <div v-if=\"model.isMultiDropdown\">\r\n <dynamic-register-multi-select\r\n v-model=\"model.fieldValue.textValue\"\r\n :details=\"details\"\r\n :model=\"model\"\r\n :required=\"required\"\r\n :fieldName=\"fieldName\"\r\n :height=\"height\"\r\n ></dynamic-register-multi-select>\r\n </div>\r\n <span\r\n class=\"text-danger col-12\"\r\n v-if=\"errors.has('dropdown' + _uid)\"\r\n >{{ errors.first('dropdown' + _uid) }}</span>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport Vue from \"vue\";\r\nimport DynamicRegisterMultiSelect from \"../dynamic/DynamicRegisterMultiSelect\";\r\nimport FooterTemplate from \"../../components/grid/NomenclatureDropdownFooterTemplate\";\r\nimport DropdownSettings from \"../../components/common/DropdownSettings\";\r\nimport { mapGetters } from \"vuex\";\r\nimport { RegisterEventBus } from '@/buses/register-bus.js';\r\n\r\nexport default {\r\n inject: [\"$validator\"],\r\n props: {\r\n value: [String, Number],\r\n model: Object,\r\n optionLabel: Object,\r\n details: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n required: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n fieldName: {\r\n type: String,\r\n required: false,\r\n default: \"Unknown\",\r\n },\r\n height: {\r\n type: Number,\r\n default: 400, // 200 - Default value for Kendo DropdownList\r\n }\r\n },\r\n components: {\r\n \"dynamic-register-multi-select\": DynamicRegisterMultiSelect,\r\n DropdownSettings,\r\n },\r\n data() {\r\n return {\r\n selectedId: this.value || \"\",\r\n items: [],\r\n loaded: false,\r\n showSettings: false,\r\n filterPattern: \"\",\r\n };\r\n },\r\n methods: {\r\n loadDropdownData() {\r\n this.$http\r\n .get(\r\n `/api/Dropdown/GetDynamicRegisterItems?fieldId=${this.model.dropdownDisplayMember}&selected=${this.value}\r\n &updateTime=${this.model.fieldValue.updateTime? new Date(this.model.fieldValue.updateTime).toISOString() : new Date().toISOString()}`\r\n )\r\n .then((result) => {\r\n this.items = result.data;\r\n this.populateStringValueById(this.selectedId);\r\n })\r\n .catch((error) => {\r\n this.$vs.notify({\r\n title: this.$t(\r\n \"request.response.status.\" +\r\n this.$helpers.errorStatusCode(error)\r\n ),\r\n text: this.$helpers.errorText(error),\r\n color: \"danger\",\r\n time: this.$store.getters.notificationDuration,\r\n });\r\n })\r\n .then(() => {\r\n this.loaded = true;\r\n });\r\n },\r\n populateStringValueById(id) {\r\n // eslint-disable-next-line eqeqeq\r\n const val = this.items.filter((item) => item.id == id);\r\n if (val && val.length > 0) {\r\n this.model.fieldValue.stringValue = val[0].text;\r\n }\r\n },\r\n footerTemplate: function (e) {\r\n return {\r\n template: Vue.component(FooterTemplate.name, FooterTemplate),\r\n templateArgs: {\r\n ...e,\r\n btns: [\r\n {\r\n name: \"dynamicRegisterDropdownSettings\",\r\n text: this.$t(\"buttons.settings.btnText\"),\r\n tooltip: this.$t(\"buttons.settings.btnText\"),\r\n class: \"btn btn-secondary\",\r\n icon: \"fas fa-cog\",\r\n show: this.nomDropdownSettings.showSettings,\r\n clickHandler: () => {\r\n this.showSettings = true;\r\n },\r\n },\r\n ],\r\n },\r\n };\r\n },\r\n },\r\n watch: {\r\n selectedId: function (newVal, oldVal) {\r\n this.model.fieldValue.intValue = newVal;\r\n this.$emit(\"input\", newVal);\r\n RegisterEventBus.$emit('dynamic-field-change', newVal, oldVal, this.model);\r\n this.populateStringValueById(newVal);\r\n },\r\n value: function (newVal, oldVal) {\r\n this.selectedId = newVal;\r\n },\r\n required: function (val) {},\r\n },\r\n computed: {\r\n ...mapGetters([\"isEnVersion\", \"nomDropdownSettings\"]),\r\n },\r\n mounted() {\r\n if (!this.model.isMultiDropdown) {\r\n this.filterPattern = this.nomDropdownSettings.defaultFilterPattern;\r\n this.loadDropdownData();\r\n }\r\n },\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DynamicRegisterDropdown.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DynamicRegisterDropdown.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DynamicRegisterDropdown.vue?vue&type=template&id=6ca70552&\"\nimport script from \"./DynamicRegisterDropdown.vue?vue&type=script&lang=js&\"\nexport * from \"./DynamicRegisterDropdown.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","!function(t,e){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(\"VueStarRating\",[],e):\"object\"==typeof exports?exports.VueStarRating=e():t.VueStarRating=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var r={};return e.m=t,e.c=r,e.i=function(t){return t},e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,\"a\",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p=\"/dist/\",e(e.s=4)}([function(t,e){function r(t,e){var r=t[1]||\"\",i=t[3];if(!i)return r;if(e&&\"function\"==typeof btoa){var o=n(i);return[r].concat(i.sources.map(function(t){return\"/*# sourceURL=\"+i.sourceRoot+t+\" */\"})).concat([o]).join(\"\\n\")}return[r].join(\"\\n\")}function n(t){return\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,\"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+\" */\"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=r(e,t);return e[2]?\"@media \"+e[2]+\"{\"+n+\"}\":n}).join(\"\")},e.i=function(t,r){\"string\"==typeof t&&(t=[[null,t,\"\"]]);for(var n={},i=0;i<this.length;i++){var o=this[i][0];\"number\"==typeof o&&(n[o]=!0)}for(i=0;i<t.length;i++){var a=t[i];\"number\"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]=\"(\"+a[2]+\") and (\"+r+\")\"),e.push(a))}},e}},function(t,e){t.exports=function(t,e,r,n,i){var o,a=t=t||{},s=typeof t.default;\"object\"!==s&&\"function\"!==s||(o=t,a=t.default);var u=\"function\"==typeof a?a.options:a;e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns),n&&(u._scopeId=n);var d;if(i?(d=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||\"undefined\"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},u._ssrRegister=d):r&&(d=r),d){var l=u.functional,c=l?u.render:u.beforeCreate;l?u.render=function(t,e){return d.call(e),c(t,e)}:u.beforeCreate=c?[].concat(c,d):[d]}return{esModule:o,exports:a,options:u}}},function(t,e,r){function n(t){for(var e=0;e<t.length;e++){var r=t[e],n=l[r.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](r.parts[i]);for(;i<r.parts.length;i++)n.parts.push(o(r.parts[i]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{for(var a=[],i=0;i<r.parts.length;i++)a.push(o(r.parts[i]));l[r.id]={id:r.id,refs:1,parts:a}}}}function i(){var t=document.createElement(\"style\");return t.type=\"text/css\",c.appendChild(t),t}function o(t){var e,r,n=document.querySelector('style[data-vue-ssr-id~=\"'+t.id+'\"]');if(n){if(h)return g;n.parentNode.removeChild(n)}if(v){var o=p++;n=f||(f=i()),e=a.bind(null,n,o,!1),r=a.bind(null,n,o,!0)}else n=i(),e=s.bind(null,n),r=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else r()}}function a(t,e,r,n){var i=r?\"\":n.css;if(t.styleSheet)t.styleSheet.cssText=m(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function s(t,e){var r=e.css,n=e.media,i=e.sourceMap;if(n&&t.setAttribute(\"media\",n),i&&(r+=\"\\n/*# sourceURL=\"+i.sources[0]+\" */\",r+=\"\\n/*# sourceMappingURL=data:application/json;base64,\"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+\" */\"),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var u=\"undefined\"!=typeof document;if(\"undefined\"!=typeof DEBUG&&DEBUG&&!u)throw new Error(\"vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\");var d=r(14),l={},c=u&&(document.head||document.getElementsByTagName(\"head\")[0]),f=null,p=0,h=!1,g=function(){},v=\"undefined\"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,r){h=r;var i=d(t,e);return n(i),function(e){for(var r=[],o=0;o<i.length;o++){var a=i[o],s=l[a.id];s.refs--,r.push(s)}e?(i=d(t,e),n(i)):i=[];for(var o=0;o<r.length;o++){var s=r[o];if(0===s.refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete l[s.id]}}}};var m=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join(\"\\n\")}}()},function(t,e,r){function n(t){r(13)}var i=r(1)(r(5),r(11),n,\"data-v-34cbeed1\",null);t.exports=i.exports},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var n=r(3),i=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=i.default},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var n=r(9),i=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default={components:{star:i.default},model:{prop:\"rating\",event:\"rating-selected\"},props:{increment:{type:Number,default:1},rating:{type:Number,default:0},roundStartRating:{type:Boolean,default:!0},activeColor:{type:String,default:\"#ffd055\"},inactiveColor:{type:String,default:\"#d8d8d8\"},maxRating:{type:Number,default:5},starPoints:{type:Array,default:function(){return[]}},starSize:{type:Number,default:50},showRating:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},textClass:{type:String,default:\"\"},inline:{type:Boolean,default:!1},borderColor:{type:String,default:\"#999\"},borderWidth:{type:Number,default:0},roundedCorners:{type:Boolean,default:!1},padding:{type:Number,default:0},rtl:{type:Boolean,default:!1},fixedPoints:{type:Number,default:null},glow:{type:Number,default:0},glowColor:{type:String,default:\"#fff\"}},created:function(){this.step=100*this.increment,this.currentRating=this.rating,this.selectedRating=this.currentRating,this.createStars(this.roundStartRating)},methods:{setRating:function(t,e){if(!this.readOnly){var r=this.rtl?(100-t.position)/100:t.position/100;this.currentRating=(t.id+r-1).toFixed(2),this.currentRating=this.currentRating>this.maxRating?this.maxRating:this.currentRating,this.createStars(),e?(this.selectedRating=this.currentRating,this.$emit(\"rating-selected\",this.selectedRating),this.ratingSelected=!0):this.$emit(\"current-rating\",this.currentRating)}},resetRating:function(){this.readOnly||(this.currentRating=this.selectedRating,this.createStars(this.shouldRound))},createStars:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.round();for(var t=0;t<this.maxRating;t++){var e=0;t<this.currentRating&&(e=this.currentRating-t>1?100:100*(this.currentRating-t)),this.$set(this.fillLevel,t,Math.round(e))}},round:function(){var t=1/this.increment;this.currentRating=Math.min(this.maxRating,Math.ceil(this.currentRating*t)/t)}},computed:{formattedRating:function(){return null===this.fixedPoints?this.currentRating:this.currentRating.toFixed(this.fixedPoints)},shouldRound:function(){return this.ratingSelected||this.roundStartRating},margin:function(){return this.padding+this.borderWidth}},watch:{rating:function(t){this.currentRating=t,this.selectedRating=t,this.createStars(this.shouldRound)}},data:function(){return{step:0,fillLevel:[],currentRating:0,selectedRating:0,ratingSelected:!1}}}},function(t,e,r){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default={props:{fill:{type:Number,default:0},points:{type:Array,default:function(){return[]}},size:{type:Number,default:50},starId:{type:Number,required:!0},activeColor:{type:String,required:!0},inactiveColor:{type:String,required:!0},borderColor:{type:String,default:\"#000\"},borderWidth:{type:Number,default:0},roundedCorners:{type:Boolean,default:!1},rtl:{type:Boolean,default:!1},glow:{type:Number,default:0},glowColor:{type:String,required:!1}},created:function(){this.starPoints=this.points.length?this.points:this.starPoints,this.calculatePoints(),this.grad=this.getRandomId(),this.glowId=this.getRandomId()},computed:{starPointsToString:function(){return this.starPoints.join(\",\")},getGradId:function(){return\"url(#\"+this.grad+\")\"},getSize:function(){var t=this.roundedCorners&&this.borderWidth<=0?parseInt(this.size)-parseInt(this.border):this.size;return parseInt(t)+parseInt(this.border)},getFill:function(){return this.rtl?100-this.fill+\"%\":this.fill+\"%\"},border:function(){return this.roundedCorners&&this.borderWidth<=0?6:this.borderWidth},getBorderColor:function(){return this.roundedCorners&&this.borderWidth<=0?this.fill<=0?this.inactiveColor:this.activeColor:this.borderColor},maxSize:function(){return this.starPoints.reduce(function(t,e){return Math.max(t,e)})},viewBox:function(){return\"0 0 \"+this.maxSize+\" \"+this.maxSize}},methods:{mouseMoving:function(t){this.$emit(\"star-mouse-move\",{event:t,position:this.getPosition(t),id:this.starId})},getPosition:function(t){var e=.92*this.size,r=this.rtl?Math.min(t.offsetX,45):Math.max(t.offsetX,1),n=Math.round(100/e*r);return Math.min(n,100)},selected:function(t){this.$emit(\"star-selected\",{id:this.starId,position:this.getPosition(t)})},getRandomId:function(){return Math.random().toString(36).substring(7)},calculatePoints:function(){var t=this;this.starPoints=this.starPoints.map(function(e){return t.size/t.maxSize*e+1.5*t.border})}},data:function(){return{starPoints:[19.8,2.2,6.6,43.56,39.6,17.16,0,17.16,33,43.56],grad:\"\",glowId:\"\"}}}},function(t,e,r){e=t.exports=r(0)(void 0),e.push([t.i,\".vue-star-rating-star[data-v-21f5376e]{overflow:visible!important}\",\"\"])},function(t,e,r){e=t.exports=r(0)(void 0),e.push([t.i,\".vue-star-rating-star[data-v-34cbeed1]{display:inline-block}.vue-star-rating-pointer[data-v-34cbeed1]{cursor:pointer}.vue-star-rating[data-v-34cbeed1]{display:flex;align-items:center}.vue-star-rating-inline[data-v-34cbeed1]{display:inline-flex}.vue-star-rating-rating-text[data-v-34cbeed1]{margin-top:7px;margin-left:7px}.vue-star-rating-rtl[data-v-34cbeed1]{direction:rtl}.vue-star-rating-rtl .vue-star-rating-rating-text[data-v-34cbeed1]{margin-right:10px;direction:rtl}\",\"\"])},function(t,e,r){function n(t){r(12)}var i=r(1)(r(6),r(10),n,\"data-v-21f5376e\",null);t.exports=i.exports},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r(\"svg\",{staticClass:\"vue-star-rating-star\",attrs:{height:t.getSize,width:t.getSize,viewBox:t.viewBox},on:{mousemove:t.mouseMoving,click:t.selected}},[r(\"linearGradient\",{attrs:{id:t.grad,x1:\"0\",x2:\"100%\",y1:\"0\",y2:\"0\"}},[r(\"stop\",{attrs:{offset:t.getFill,\"stop-color\":t.rtl?t.inactiveColor:t.activeColor}}),t._v(\" \"),r(\"stop\",{attrs:{offset:t.getFill,\"stop-color\":t.rtl?t.activeColor:t.inactiveColor}})],1),t._v(\" \"),r(\"filter\",{attrs:{id:t.glowId,height:\"130%\",width:\"130%\",filterUnits:\"userSpaceOnUse\"}},[r(\"feGaussianBlur\",{attrs:{stdDeviation:t.glow,result:\"coloredBlur\"}}),t._v(\" \"),r(\"feMerge\",[r(\"feMergeNode\",{attrs:{in:\"coloredBlur\"}}),t._v(\" \"),r(\"feMergeNode\",{attrs:{in:\"SourceGraphic\"}})],1)],1),t._v(\" \"),r(\"polygon\",{directives:[{name:\"show\",rawName:\"v-show\",value:t.fill>1,expression:\"fill > 1\"}],attrs:{points:t.starPointsToString,fill:t.getGradId,stroke:t.glowColor,filter:\"url(#\"+this.glowId+\")\"}}),t._v(\" \"),r(\"polygon\",{attrs:{points:t.starPointsToString,fill:t.getGradId,stroke:t.getBorderColor,\"stroke-width\":t.border,\"stroke-linejoin\":t.roundedCorners?\"round\":\"miter\"}}),t._v(\" \"),r(\"polygon\",{attrs:{points:t.starPointsToString,fill:t.getGradId}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r(\"div\",{class:[\"vue-star-rating\",{\"vue-star-rating-rtl\":t.rtl},{\"vue-star-rating-inline\":t.inline}]},[r(\"div\",{staticClass:\"vue-star-rating\",on:{mouseleave:t.resetRating}},[t._l(t.maxRating,function(e){return r(\"span\",{key:e,class:[{\"vue-star-rating-pointer\":!t.readOnly},\"vue-star-rating-star\"],style:{\"margin-right\":t.margin+\"px\"}},[r(\"star\",{attrs:{fill:t.fillLevel[e-1],size:t.starSize,points:t.starPoints,\"star-id\":e,step:t.step,\"active-color\":t.activeColor,\"inactive-color\":t.inactiveColor,\"border-color\":t.borderColor,\"border-width\":t.borderWidth,\"rounded-corners\":t.roundedCorners,rtl:t.rtl,glow:t.glow,\"glow-color\":t.glowColor},on:{\"star-selected\":function(e){t.setRating(e,!0)},\"star-mouse-move\":t.setRating}})],1)}),t._v(\" \"),t.showRating?r(\"span\",{class:[\"vue-star-rating-rating-text\",t.textClass]},[t._v(\" \"+t._s(t.formattedRating))]):t._e()],2)])},staticRenderFns:[]}},function(t,e,r){var n=r(7);\"string\"==typeof n&&(n=[[t.i,n,\"\"]]),n.locals&&(t.exports=n.locals);r(2)(\"0ab8a16d\",n,!0)},function(t,e,r){var n=r(8);\"string\"==typeof n&&(n=[[t.i,n,\"\"]]),n.locals&&(t.exports=n.locals);r(2)(\"2e648ff1\",n,!0)},function(t,e){t.exports=function(t,e){for(var r=[],n={},i=0;i<e.length;i++){var o=e[i],a=o[0],s=o[1],u=o[2],d=o[3],l={id:t+\":\"+i,css:s,media:u,sourceMap:d};n[a]?n[a].parts.push(l):r.push(n[a]={id:a,parts:[l]})}return r}}])});\n//# sourceMappingURL=star-rating.min.js.map","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card mt-3\"},[_c('div',{staticClass:\"card-header bg-primary text-white\"},[_c('div',{staticClass:\"card-title h5 m-0\"},[_vm._v(\"\\n \"+_vm._s(_vm.isEnVersion ? _vm.panel.labelEn : _vm.panel.label)+\"\\n \")])]),_c('div',{staticClass:\"card-body row\"},_vm._l((_vm.panel.components),function(component,index){return _c(component.fieldType,{key:index,tag:\"component\",attrs:{\"type\":component.type,\"model\":component,\"details\":_vm.details,\"allowAnonymous\":_vm.allowAnonymous,\"requiredIdentification\":false,\"validateUniqueIdNumber\":false,\"validateEgn\":true,\"isNew\":_vm.isNew,\"profile-data\":_vm.profileData,\"is-evaluation-panel\":_vm.panel.isEvaluationPanel},on:{\"deleteSavedFile\":_vm.deleteSavedFile}})}),1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\",class:_vm.model.size},[_c('label',{staticClass:\"font-weight-bold\",class:_vm.labelClasses,attrs:{\"for\":'input' + _vm._uid}},[_vm._v(\"\\n \"+_vm._s(_vm.isEnVersion ? _vm.model.labelEn : _vm.model.label)+\"\\n \")]),(_vm.model.inputType === 'textarea')?_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.initialValue),expression:\"initialValue\"},{name:\"validate\",rawName:\"v-validate\",value:(_vm.validations),expression:\"validations\"}],staticClass:\"form-control\",class:_vm.model.fieldCode,attrs:{\"id\":'input' + _vm._uid,\"name\":'input' + _vm._uid,\"rows\":\"5\",\"data-vv-as\":_vm.model.label,\"readonly\":_vm.model.isReadOnly || _vm.details,\"aria-describedby\":\"descriptionHelp\"},domProps:{\"value\":(_vm.initialValue)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.initialValue=$event.target.value},_vm.inputChanged]}}):((_vm.model.inputType)==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.initialValue),expression:\"initialValue\"},{name:\"validate\",rawName:\"v-validate\",value:(_vm.validations),expression:\"validations\"}],staticClass:\"form-control\",class:_vm.model.fieldCode,attrs:{\"id\":'input' + _vm._uid,\"name\":'input' + _vm._uid,\"data-vv-as\":_vm.model.label,\"readonly\":_vm.model.isReadOnly || _vm.details,\"aria-describedby\":\"descriptionHelp\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.initialValue)?_vm._i(_vm.initialValue,null)>-1:(_vm.initialValue)},on:{\"input\":_vm.inputChanged,\"change\":function($event){var $$a=_vm.initialValue,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.initialValue=$$a.concat([$$v]))}else{$$i>-1&&(_vm.initialValue=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.initialValue=$$c}}}}):((_vm.model.inputType)==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.initialValue),expression:\"initialValue\"},{name:\"validate\",rawName:\"v-validate\",value:(_vm.validations),expression:\"validations\"}],staticClass:\"form-control\",class:_vm.model.fieldCode,attrs:{\"id\":'input' + _vm._uid,\"name\":'input' + _vm._uid,\"data-vv-as\":_vm.model.label,\"readonly\":_vm.model.isReadOnly || _vm.details,\"aria-describedby\":\"descriptionHelp\",\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.initialValue,null)},on:{\"input\":_vm.inputChanged,\"change\":function($event){_vm.initialValue=null}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.initialValue),expression:\"initialValue\"},{name:\"validate\",rawName:\"v-validate\",value:(_vm.validations),expression:\"validations\"}],staticClass:\"form-control\",class:_vm.model.fieldCode,attrs:{\"id\":'input' + _vm._uid,\"name\":'input' + _vm._uid,\"data-vv-as\":_vm.model.label,\"readonly\":_vm.model.isReadOnly || _vm.details,\"aria-describedby\":\"descriptionHelp\",\"type\":_vm.model.inputType},domProps:{\"value\":(_vm.initialValue)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.initialValue=$event.target.value},_vm.inputChanged]}}),(_vm.errors.has('input' + _vm._uid))?_c('div',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first('input' + _vm._uid)))]):_vm._e(),_c('small',{staticClass:\"form-text text-muted\",attrs:{\"id\":\"descriptionHelp\"}},[_vm._v(_vm._s(_vm.isEnVersion ? _vm.model.descriptionEn : _vm.model.description))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"form-group\" :class=\"model.size\">\r\n <label class=\"font-weight-bold\" :class=\"labelClasses\" :for=\"'input' + _uid\">\r\n {{ isEnVersion ? model.labelEn : model.label }}\r\n </label>\r\n <textarea v-if=\"model.inputType === 'textarea'\"\r\n class=\"form-control\"\r\n :class=\"model.fieldCode\"\r\n v-model=\"initialValue\"\r\n :id=\"'input' + _uid\"\r\n :name=\"'input' + _uid\"\r\n rows=\"5\"\r\n :data-vv-as=\"model.label\"\r\n v-validate=\"validations\"\r\n @input=\"inputChanged\"\r\n :readonly=\"model.isReadOnly || details\"\r\n aria-describedby=\"descriptionHelp\"></textarea>\r\n <input v-else\r\n class=\"form-control\"\r\n :class=\"model.fieldCode\"\r\n :type=\"model.inputType\"\r\n v-model=\"initialValue\"\r\n :id=\"'input' + _uid\"\r\n :name=\"'input' + _uid\"\r\n :data-vv-as=\"model.label\"\r\n v-validate=\"validations\"\r\n @input=\"inputChanged\"\r\n :readonly=\"model.isReadOnly || details\"\r\n aria-describedby=\"descriptionHelp\">\r\n <div class=\"text-danger\" v-if=\"errors.has('input' + _uid)\">{{ errors.first('input' + _uid) }}</div>\r\n <small id=\"descriptionHelp\" class=\"form-text text-muted\">{{ isEnVersion ? model.descriptionEn : model.description }}</small>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import { InputType, NumberType } from '../../models/enums';\r\n import { EditorComponentModel } from '../../models/models';\r\n import { mapGetters } from 'vuex';\r\n import { RegisterEventBus } from '@/buses/register-bus.js';\r\n\r\n export default {\r\n inject: ['$validator'],\r\n props: {\r\n model: {\r\n type: EditorComponentModel\r\n },\r\n value: [String, Number],\r\n details: {\r\n type: Boolean,\r\n default: false\r\n },\r\n allowAnonymous: {\r\n type: Boolean,\r\n default: true\r\n },\r\n profileData: {\r\n type: Object,\r\n default() {\r\n return null;\r\n }\r\n },\r\n isEvaluationPanel: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n data() {\r\n return {\r\n validations: '',\r\n initialValue: '',\r\n labelClasses: ''\r\n }\r\n },\r\n methods: {\r\n inputChanged(event) {\r\n if (this.model.inputType === InputType.Text || this.model.inputType === InputType.TextArea) {\r\n this.model.fieldValue.textValue = event.target.value;\r\n } else {\r\n if (this.model.numberType === NumberType.Int) {\r\n this.model.fieldValue.intValue = event.target.value;\r\n } else {\r\n this.model.fieldValue.decimalValue = event.target.value;\r\n }\r\n }\r\n this.$emit('input', event.target.value);\r\n RegisterEventBus.$emit('dynamic-field-change', event.target.value, event.target.value, this.model);\r\n this.model.fieldValue.stringValue = event.target.value;\r\n },\r\n addValidations() {\r\n if (this.model.isRequired) {\r\n this.addValidation('required');\r\n this.labelClasses += 'required';\r\n }\r\n\r\n if (this.model.inputType === InputType.Text || this.model.inputType === InputType.TextArea) {\r\n this.addTextValidations();\r\n } else {\r\n this.addNumberValidations();\r\n }\r\n },\r\n addValidation(validation) {\r\n if (this.validations.length > 0) {\r\n this.validations += '|';\r\n }\r\n this.validations += validation;\r\n },\r\n addTextValidations() {\r\n if (this.model.textMinLength && !isNaN(parseInt(this.model.textMinLength))) {\r\n this.addValidation(`min:${this.model.textMinLength}`);\r\n }\r\n if (this.model.textMaxLength && !isNaN(parseInt(this.model.textMaxLength))) {\r\n this.addValidation(`max:${this.model.textMaxLength}`);\r\n }\r\n },\r\n addNumberValidations() {\r\n if (this.model.numberType === NumberType.Int) {\r\n this.addIntValidations();\r\n } else {\r\n this.addDecimalValidations();\r\n }\r\n },\r\n addIntValidations() {\r\n if (this.model.intMinValue && !isNaN(parseInt(this.model.intMinValue))) {\r\n this.addValidation(`min_value:${this.model.intMinValue}`);\r\n }\r\n if (this.model.intMaxValue && !isNaN(parseInt(this.model.intMaxValue))) {\r\n this.addValidation(`max_value:${this.model.intMaxValue}`);\r\n }\r\n },\r\n addDecimalValidations() {\r\n if (this.model.decimalPrecision) {\r\n this.addValidation(`decimal:${this.model.decimalPrecision}`);\r\n }\r\n if (!isNaN(parseInt(this.model.decimalMinValue))) {\r\n this.addValidation(`min_value:${this.model.decimalMinValue}`);\r\n }\r\n if (this.model.decimalMaxValue && !isNaN(parseInt(this.model.decimalMaxValue))) {\r\n this.addValidation(`max_value:${this.model.decimalMaxValue}`);\r\n }\r\n },\r\n loadInitialValue() {\r\n if (this.model.inputType === InputType.Text || this.model.inputType === InputType.TextArea) {\r\n this.initialValue = this.model.fieldValue.textValue ? this.model.fieldValue.textValue : this.model.textDefaultValue;\r\n this.model.fieldValue.textValue = this.initialValue;\r\n this.model.fieldValue.stringValue = this.initialValue;\r\n } else {\r\n if (this.model.numberType === NumberType.Int) {\r\n this.initialValue = this.model.fieldValue.intValue ?\r\n this.model.fieldValue.intValue : this.model.intDefaultValue;\r\n this.model.fieldValue.intValue = this.initialValue;\r\n this.model.fieldValue.stringValue = this.initialValue;\r\n } else {\r\n this.initialValue = this.model.fieldValue.decimalValue ?\r\n this.model.fieldValue.decimalValue : this.model.decimalDefaultValue;\r\n this.model.fieldValue.decimalValue = this.initialValue;\r\n this.model.fieldValue.stringValue = this.initialValue;\r\n }\r\n }\r\n },\r\n fillProfileData(data) {\r\n if (!data) {\r\n return;\r\n }\r\n\r\n const value = this.$helpers.fillProfileDataToDynamicForm(this.model, data);\r\n if (!value) {\r\n this.$emit('input', value);\r\n }\r\n }\r\n },\r\n mounted() {\r\n this.addValidations();\r\n this.loadInitialValue();\r\n\r\n this.model.uid = this._uid;\r\n this.model.isEvaluationPanel = this.isEvaluationPanel;\r\n },\r\n computed: {\r\n ...mapGetters(['isEnVersion']),\r\n },\r\n watch: {\r\n 'model.fieldValue.textValue': function(newVal, oldVal) {\r\n if (newVal !== oldVal) {\r\n this.initialValue = newVal;\r\n }\r\n },\r\n profileData: {\r\n handler: function (newVal, oldVal) {\r\n this.fillProfileData(newVal);\r\n },\r\n deep: true,\r\n immediate: true,\r\n },\r\n }\r\n }\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Input.vue?vue&type=template&id=5e30aa8a&\"\nimport script from \"./Input.vue?vue&type=script&lang=js&\"\nexport * from \"./Input.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\",class:_vm.model.size},[_c('label',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.isEnVersion ? _vm.model.labelEn : _vm.model.label))]),_c('div',{attrs:{\"aria-describedby\":\"descriptionHelp\"}},[_c('toggle',{class:_vm.model.fieldCode,attrs:{\"disabled\":_vm.model.isReadOnly || _vm.details},on:{\"input\":_vm.inputChanged,\"stringValueChanged\":_vm.stringValueChanged},model:{value:(_vm.selectedValue),callback:function ($$v) {_vm.selectedValue=$$v},expression:\"selectedValue\"}})],1),_c('small',{staticClass:\"form-text text-muted\",attrs:{\"id\":\"descriptionHelp\"}},[_vm._v(_vm._s(_vm.isEnVersion ? _vm.model.descriptionEn : _vm.model.description))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"form-group\" :class=\"model.size\">\r\n <label class=\"font-weight-bold\">{{ isEnVersion ? model.labelEn : model.label }}</label>\r\n <div aria-describedby=\"descriptionHelp\">\r\n <toggle v-model=\"selectedValue\"\r\n @input=\"inputChanged\"\r\n @stringValueChanged=\"stringValueChanged\"\r\n :class=\"model.fieldCode\"\r\n :disabled=\"model.isReadOnly || details\"></toggle>\r\n </div>\r\n <small id=\"descriptionHelp\" class=\"form-text text-muted\">{{ isEnVersion ? model.descriptionEn : model.description }}</small>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import Toggle from '@/components/toggle/Toggle';\r\n import { DynamicRegisterFieldValueModel, EditorComponentModel } from '../../models/models';\r\n import { mapGetters } from 'vuex';\r\n import { RegisterEventBus } from '@/buses/register-bus.js';\r\n\r\n export default {\r\n inject: ['$validator'],\r\n props: {\r\n model: EditorComponentModel,\r\n value: DynamicRegisterFieldValueModel,\r\n details: {\r\n type: Boolean,\r\n default: false\r\n },\r\n allowAnonymous: {\r\n type: Boolean,\r\n default: true\r\n },\r\n profileData: {\r\n type: Object,\r\n default() {\r\n return null;\r\n }\r\n },\r\n isEvaluationPanel: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n components: {\r\n Toggle\r\n },\r\n data() {\r\n return {\r\n selectedValue: this.model.fieldValue.booleanValue\r\n ? this.model.fieldValue.booleanValue : this.model.booleanDefaultValue\r\n }\r\n },\r\n methods: {\r\n inputChanged(event) {\r\n this.model.fieldValue.booleanValue = event;\r\n this.$emit('input', this.model.fieldValue);\r\n RegisterEventBus.$emit('dynamic-field-change', event, event, this.model);\r\n },\r\n stringValueChanged(stringValue) {\r\n this.model.fieldValue.stringValue = stringValue;\r\n },\r\n fillProfileData(data) {\r\n if (!data) {\r\n return;\r\n }\r\n\r\n // Todo\r\n }\r\n },\r\n mounted() {\r\n this.model.fieldValue.booleanValue = this.selectedValue;\r\n this.model.uid = this._uid;\r\n this.model.isEvaluationPanel = this.isEvaluationPanel;\r\n },\r\n computed: {\r\n ...mapGetters(['isEnVersion']),\r\n },\r\n watch: {\r\n profileData: {\r\n handler: function (newVal, oldVal) {\r\n this.fillProfileData(newVal);\r\n },\r\n deep: true,\r\n immediate: true,\r\n },\r\n }\r\n }\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toggle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Toggle.vue?vue&type=template&id=f354d6a4&\"\nimport script from \"./Toggle.vue?vue&type=script&lang=js&\"\nexport * from \"./Toggle.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\",class:_vm.model.size},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'datepicker' + _vm._uid}},[_vm._v(\"\\n \"+_vm._s(_vm.isEnVersion ? _vm.model.labelEn : _vm.model.label)+\"\\n \")]),_c('div',{attrs:{\"aria-describedby\":\"descriptionHelp\"}},[_c('datetime-picker',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.validations),expression:\"validations\"}],class:_vm.model.fieldCode,attrs:{\"min\":_vm.model.datetimeMinValue,\"max\":_vm.model.datetimeMaxValue,\"format\":_vm.format,\"time-format\":_vm.timeFormat,\"name\":'datetimepicker' + _vm._uid,\"data-vv-as\":_vm.model.label,\"showTime\":_vm.showTime,\"readonly\":_vm.model.isReadOnly || _vm.details},model:{value:(_vm.selectedDate),callback:function ($$v) {_vm.selectedDate=$$v},expression:\"selectedDate\"}})],1),_c('small',{staticClass:\"form-text text-muted\",attrs:{\"id\":\"descriptionHelp\"}},[_vm._v(_vm._s(_vm.isEnVersion ? _vm.model.descriptionEn : _vm.model.description))]),(_vm.errors.has('datetimepicker' + _vm._uid))?_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first('datetimepicker' + _vm._uid)))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"form-group\" :class=\"model.size\">\r\n <label class=\"font-weight-bold\" :for=\"'datepicker' + _uid\">\r\n {{ isEnVersion ? model.labelEn : model.label }}\r\n </label>\r\n <div aria-describedby=\"descriptionHelp\">\r\n <datetime-picker v-model=\"selectedDate\"\r\n :min=\"model.datetimeMinValue\"\r\n :max=\"model.datetimeMaxValue\"\r\n :format=\"format\"\r\n :time-format=\"timeFormat\"\r\n :name=\"'datetimepicker' + _uid\"\r\n :data-vv-as=\"model.label\"\r\n :showTime=\"showTime\"\r\n :class=\"model.fieldCode\"\r\n :readonly=\"model.isReadOnly || details\"\r\n v-validate=\"validations\">\r\n </datetime-picker>\r\n </div>\r\n <small id=\"descriptionHelp\" class=\"form-text text-muted\">{{ isEnVersion ? model.descriptionEn : model.description }}</small>\r\n <span class=\"text-danger\" v-if=\"errors.has('datetimepicker' + _uid)\">{{ errors.first('datetimepicker' + _uid) }}</span>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import DatetimePicker from '../../components/datepicker/DatePicker';\r\n import { mapGetters } from 'vuex';\r\n import { RegisterEventBus } from '@/buses/register-bus.js';\r\n\r\n export default {\r\n inject: ['$validator'],\r\n props: {\r\n value: String,\r\n model: Object,\r\n details: {\r\n type: Boolean,\r\n default: false\r\n },\r\n allowAnonymous: {\r\n type: Boolean,\r\n default: true\r\n },\r\n showTime: {\r\n type: Boolean,\r\n default: true\r\n },\r\n profileData: {\r\n type: Object,\r\n default() {\r\n return null;\r\n }\r\n },\r\n isEvaluationPanel: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n components: {\r\n DatetimePicker\r\n },\r\n data() {\r\n return {\r\n selectedDate: '',\r\n validations: '',\r\n format: 'dd.MM.yyyy HH:mm',\r\n timeFormat: 'HH:mm'\r\n }\r\n },\r\n methods: {\r\n addValidations() {\r\n if (this.model.isRequired) {\r\n this.addValidation('required');\r\n }\r\n\r\n if (this.model.datetimeMinValue && this.model.datetimeMaxValue) {\r\n const rules = `data_format=${this.format}|date_between:${this.model.datetimeMinValue},${this.model.datetimeMaxValue}`;\r\n this.addValidation(rules);\r\n }\r\n },\r\n addValidation(validation) {\r\n if (this.validations.length > 0) {\r\n this.validations += '|';\r\n }\r\n this.validations += validation;\r\n },\r\n loadInitialValue() {\r\n this.selectedDate = this.model.fieldValue.datetimeValue\r\n ? this.model.fieldValue.datetimeValue : this.model.datetimeDefaultValue;\r\n this.model.fieldValue.datetimeValue = this.selectedDate;\r\n this.model.fieldValue.stringValue = this.selectedDate;\r\n this.setEventDate(this.selectedDate);\r\n },\r\n setEventDate(date) {\r\n if (this.model.fieldCode === 'Event_start') {\r\n this.$parent.$parent.$parent.eventDateFrom = date;\r\n } else if (this.model.fieldCode === 'Event_end') {\r\n this.$parent.$parent.$parent.eventDateTo = date;\r\n }\r\n },\r\n componentReset() {\r\n this.loadInitialValue();\r\n },\r\n fillProfileData(data) {\r\n if (!data) {\r\n return;\r\n }\r\n\r\n this.$helpers.fillProfileDataToDynamicForm(this.model, data);\r\n }\r\n },\r\n watch: {\r\n selectedDate: function (newVal, oldVal) {\r\n this.model.fieldValue.datetimeValue = this.selectedDate;\r\n this.setEventDate(newVal);\r\n this.$emit('input', this.selectedDate);\r\n RegisterEventBus.$emit('dynamic-field-change', newVal, oldVal, this.model, this);\r\n this.model.fieldValue.stringValue = this.selectedDate;\r\n },\r\n profileData: {\r\n handler: function (newVal, oldVal) {\r\n this.fillProfileData(newVal);\r\n },\r\n deep: true,\r\n immediate: true,\r\n },\r\n },\r\n mounted() {\r\n this.addValidations();\r\n this.loadInitialValue();\r\n this.model.uid = this._uid;\r\n this.model.isEvaluationPanel = this.isEvaluationPanel;\r\n },\r\n created() {\r\n RegisterEventBus.$on(`component-${this.model.fieldCode}-${this.model.id}-reset`, this.componentReset);\r\n },\r\n destroyed() {\r\n RegisterEventBus.$off(`component-${this.model.fieldCode}-${this.model.id}-reset`, this.componentReset);\r\n },\r\n computed: {\r\n ...mapGetters(['isEnVersion']),\r\n }\r\n }\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Datepicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Datepicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Datepicker.vue?vue&type=template&id=5eeafc33&\"\nimport script from \"./Datepicker.vue?vue&type=script&lang=js&\"\nexport * from \"./Datepicker.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\",class:_vm.model.size},[_c('label',{staticClass:\"font-weight-bold\",class:_vm.labelClasses},[_vm._v(\"\\n \"+_vm._s(_vm.isEnVersion ? _vm.model.labelEn : _vm.model.label)+\"\\n \")]),_c(_vm.dropdownComponent,{directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.validations),expression:\"validations\"}],tag:\"component\",class:_vm.model.fieldCode,attrs:{\"model\":_vm.model,\"name\":'dropdown' + _vm._uid,\"data-vv-as\":_vm.model.label,\"filter\":'contains',\"details\":_vm.details,\"isNew\":_vm.isNew,\"aria-describedby\":\"descriptionHelp\"},model:{value:(_vm.selectedValue),callback:function ($$v) {_vm.selectedValue=$$v},expression:\"selectedValue\"}}),_c('small',{staticClass:\"form-text text-muted\",attrs:{\"id\":\"descriptionHelp\"}},[_vm._v(_vm._s(_vm.isEnVersion ? _vm.model.descriptionEn : _vm.model.description))]),(_vm.errors.has('dropdown' + _vm._uid))?_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first('dropdown' + _vm._uid)))]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading)?_c('div',{staticClass:\"loader\"}):_vm._e(),(!_vm.loading)?_c('div',[(!_vm.model.isMultiDropdown)?_c('div',[(_vm.model.dropdownIsCity)?_c('div',[_c('city-dropdown-search',{attrs:{\"disabled\":_vm.details || _vm.model.isReadOnly},model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:\"selectedId\"}})],1):_c('div',[_c('dropdown',{attrs:{\"type\":_vm.nomenclatureName,\"isCity\":_vm.model.dropdownIsCity,\"fieldName\":_vm.isEnVersion ? _vm.model.labelEn : _vm.model.label,\"disabled\":_vm.details || _vm.model.isReadOnly},model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:\"selectedId\"}})],1)]):_vm._e(),(_vm.model.isMultiDropdown)?_c('div',[_c('multi-select',{attrs:{\"type\":_vm.nomenclatureName,\"model\":_vm.model,\"details\":_vm.details || _vm.model.isReadOnly,\"fieldName\":_vm.isEnVersion ? _vm.model.labelEn : _vm.model.label},model:{value:(_vm.multiSelectValue),callback:function ($$v) {_vm.multiSelectValue=$$v},expression:\"multiSelectValue\"}})],1):_vm._e()]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loaded)?_c('kendo-multiselect',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.model.isRequired ? 'required' : ''),expression:\"model.isRequired ? 'required' : ''\"}],ref:'multiNomDropdown' + _vm._uid,staticStyle:{\"width\":\"100%\"},attrs:{\"id\":'multiNomDropdown' + _vm._uid,\"data-source\":_vm.items,\"data-text-field\":_vm.isEnVersion ? 'textEn' : 'text',\"data-value-field\":'id',\"filter\":_vm.filterPattern,\"optionLabel\":_vm.$t('choose'),\"name\":'dropdown' + _vm._uid,\"data-vv-as\":_vm.fieldName,\"no-data-template\":_vm.nomDropdownSettings.showNoDataTemplate ? _vm.noDataTemplate : '',\"footer-template\":_vm.nomDropdownSettings.showFooterTemplate ? _vm.footerTemplate : '',\"disabled\":_vm.details,\"height\":_vm.height},on:{\"change\":_vm.inputChanged},model:{value:(_vm.selectedValues),callback:function ($$v) {_vm.selectedValues=$$v},expression:\"selectedValues\"}}):_vm._e(),(_vm.errors.has('dropdown' + _vm._uid))?_c('span',{staticClass:\"text-danger col-12\"},[_vm._v(_vm._s(_vm.errors.first('dropdown' + _vm._uid)))]):_vm._e(),_c('vs-prompt',{attrs:{\"title\":_vm.$t('registers.nomenclatures.add'),\"active\":_vm.showNomCreate,\"buttons-hidden\":true,\"color\":\"primary\"},on:{\"update:active\":function($event){_vm.showNomCreate=$event},\"cancel\":_vm.cancelPrompt,\"close\":_vm.cancelPrompt}},[_c('div',[_c('NomenclatureEditCard',{key:_vm.nomParentSort,attrs:{\"nomSort\":_vm.nomParentSort,\"nomName\":_vm.nomParentType,\"create\":true},on:{\"nomEditCancel\":_vm.nomEditCancel,\"nomEditSave\":_vm.nomEditSave}}),_c('div',{staticClass:\"clearfix\"})],1)]),(_vm.loaded)?_c('DropdownSettings',{attrs:{\"filterPattern\":_vm.filterPattern,\"show\":_vm.showSettings},on:{\"update:filterPattern\":function($event){_vm.filterPattern=$event},\"update:filter-pattern\":function($event){_vm.filterPattern=$event},\"update:show\":function($event){_vm.showSettings=$event}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <kendo-multiselect\r\n :ref=\"'multiNomDropdown' + _uid\"\r\n :id=\"'multiNomDropdown' + _uid\"\r\n v-if=\"loaded\"\r\n v-model=\"selectedValues\"\r\n :data-source=\"items\"\r\n :data-text-field=\"isEnVersion ? 'textEn' : 'text'\"\r\n :data-value-field=\"'id'\"\r\n :filter=\"filterPattern\"\r\n :optionLabel=\"$t('choose')\"\r\n @change=\"inputChanged\"\r\n :name=\"'dropdown' + _uid\"\r\n :data-vv-as=\"fieldName\"\r\n :no-data-template=\"nomDropdownSettings.showNoDataTemplate ? noDataTemplate : ''\"\r\n :footer-template=\"nomDropdownSettings.showFooterTemplate ? footerTemplate : ''\"\r\n :disabled=\"details\"\r\n :height=\"height\"\r\n v-validate=\"model.isRequired ? 'required' : ''\"\r\n style=\"width: 100%;\"\r\n >\r\n </kendo-multiselect>\r\n\r\n <span\r\n class=\"text-danger col-12\"\r\n v-if=\"errors.has('dropdown' + _uid)\"\r\n >{{ errors.first('dropdown' + _uid) }}</span>\r\n\r\n <vs-prompt\r\n :title=\"$t('registers.nomenclatures.add')\"\r\n :active.sync=\"showNomCreate\"\r\n :buttons-hidden=\"true\"\r\n @cancel=\"cancelPrompt\"\r\n @close=\"cancelPrompt\"\r\n color=\"primary\"\r\n >\r\n <div>\r\n <NomenclatureEditCard\r\n :nomSort=\"nomParentSort\"\r\n :nomName=\"nomParentType\"\r\n :create=\"true\"\r\n :key=\"nomParentSort\"\r\n @nomEditCancel=\"nomEditCancel\"\r\n @nomEditSave=\"nomEditSave\"\r\n ></NomenclatureEditCard>\r\n <div class=\"clearfix\"></div>\r\n </div>\r\n </vs-prompt>\r\n\r\n <DropdownSettings v-if=\"loaded\"\r\n :filterPattern.sync=\"filterPattern\"\r\n :show.sync=\"showSettings\">\r\n </DropdownSettings>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport Vue from \"vue\";\r\nimport NomenclatureEditCard from \"../dropdown/NomenclatureEditCard\";\r\nimport NodataTemplate from \"../../components/grid/NomenclatureDropdownNodataTemplate\";\r\nimport FooterTemplate from \"../../components/grid/NomenclatureDropdownFooterTemplate\";\r\nimport DropdownSettings from \"../../components/common/DropdownSettings\";\r\nimport { EditorComponentModel } from \"../../models/models\";\r\nimport { mapGetters } from \"vuex\";\r\n\r\nexport default {\r\n props: {\r\n value: [String, Number],\r\n type: String,\r\n // Името което показва vee-validate\r\n fieldName: String,\r\n model: EditorComponentModel,\r\n isNew: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n details: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n height: {\r\n type: Number,\r\n default: 400, // 200 - Default value for Kendo DropdownList\r\n },\r\n },\r\n components: {\r\n NomenclatureEditCard,\r\n DropdownSettings\r\n },\r\n data() {\r\n return {\r\n items: [],\r\n selectedValues: [],\r\n loaded: false,\r\n showNomCreate: false,\r\n nomParentSort: 0,\r\n nomParentType: this.type,\r\n showSettings: false,\r\n filterPattern: '',\r\n };\r\n },\r\n methods: {\r\n init() {\r\n const url = `/api/search/GetNomenclatureItemsById?id=${this.model.dropdownId}&isCity=${this.model.dropdownIsCity}&selected=${this.value}`;\r\n this.$http\r\n .get(url)\r\n .then((result) => {\r\n this.items = result.data;\r\n this.loaded = true;\r\n\r\n if (\r\n this.model.fieldValue.textValue\r\n .toString()\r\n .indexOf(\"|\") !== -1\r\n ) {\r\n const parsedValues = this.model.fieldValue.textValue\r\n .toString()\r\n .split(\"|\");\r\n parsedValues.forEach((value) => {\r\n this.selectedValues.push(parseInt(value));\r\n });\r\n } else {\r\n if (!isNaN(this.model.fieldValue.textValue)) {\r\n this.selectedValues = parseInt(\r\n this.model.fieldValue.textValue\r\n );\r\n }\r\n }\r\n\r\n if (\r\n !this.selectedValues &&\r\n this.model.textDefaultValue &&\r\n this.isNew\r\n ) {\r\n const parsedValues = this.model.textDefaultValue\r\n .toString()\r\n .split(\"|\");\r\n parsedValues.forEach((value) => {\r\n this.selectedValues.push(parseInt(value));\r\n });\r\n }\r\n\r\n this.populateStringValueById(this.selectedValues);\r\n })\r\n .catch((error) => {\r\n this.$vs.notify({\r\n title: this.$t(\r\n \"request.response.status.\" +\r\n this.$helpers.errorStatusCode(error)\r\n ),\r\n text: this.$helpers.errorText(error),\r\n color: \"danger\",\r\n time: this.$store.getters.notificationDuration,\r\n });\r\n })\r\n .then(() => {\r\n this.loading = false;\r\n });\r\n },\r\n inputChanged(event) {\r\n let valueToEmit = event.sender.value().join(\"|\");\r\n this.model.fieldValue.textValue = valueToEmit;\r\n this.$emit(\"input\", valueToEmit);\r\n this.populateStringValueById(event.sender.value());\r\n },\r\n populateStringValueById(ids) {\r\n if (Array.isArray(ids) === false) {\r\n return;\r\n }\r\n\r\n let stringValues = [];\r\n let vm = this;\r\n if (ids) {\r\n ids.forEach((id) => {\r\n const val = vm.items.filter((item) => item.id === id);\r\n if (val && val.length > 0) {\r\n stringValues.push(val[0].text);\r\n }\r\n });\r\n }\r\n if (stringValues.length > 0) {\r\n this.model.fieldValue.stringValue = stringValues.join(\",\");\r\n }\r\n },\r\n templateBtns(e) {\r\n return [\r\n this.hasCreateRights\r\n ? {\r\n name: \"addNomenclature\",\r\n text: this.$t(\"buttons.add.btnText\"),\r\n tooltip: this.$t(\"buttons.add.btnText\"),\r\n class: \"btn btn-secondary\",\r\n icon: \"far fa-plus-square\",\r\n show: true,\r\n clickHandler: this.addNomenclature,\r\n }\r\n : {},\r\n ];\r\n },\r\n noDataTemplate: function (e) {\r\n return this.model.dropdownIsCity\r\n ? {}\r\n : {\r\n template: Vue.component(\r\n NodataTemplate.name,\r\n NodataTemplate\r\n ),\r\n templateArgs: {\r\n ...e,\r\n noDataFound: this.$t(\"dropdownList.noDataFound\"),\r\n createQuestion: this.$t(\r\n \"dropdownList.createQuestion\"\r\n ),\r\n btns: this.templateBtns(e),\r\n },\r\n };\r\n },\r\n footerTemplate: function (e) {\r\n return this.model.dropdownIsCity\r\n ? {}\r\n : {\r\n template: Vue.component(\r\n FooterTemplate.name,\r\n FooterTemplate\r\n ),\r\n templateArgs: {\r\n ...e,\r\n btns: [...this.templateBtns(e),\r\n {\r\n name: \"nomenclatureMultiDropdownSettings\",\r\n text: this.$t(\"buttons.settings.btnText\"),\r\n tooltip: this.$t(\"buttons.settings.btnText\"),\r\n class: \"btn btn-secondary\",\r\n icon: \"fas fa-cog\",\r\n show: this.nomDropdownSettings.showSettings,\r\n clickHandler: () => {\r\n this.showSettings = true;\r\n },\r\n }\r\n ],\r\n },\r\n };\r\n },\r\n addNomenclature(args) {\r\n if (!this.hasCreateRights) {\r\n // Todo: show message\r\n return;\r\n }\r\n\r\n this.showNewNomenclatureModal(args);\r\n },\r\n showNewNomenclatureModal() {\r\n this.showNomCreate = true;\r\n },\r\n clearFilterAndText() {\r\n var dropdown = this.$refs[\"multiNomDropdown\" + this._uid].kendoWidget();\r\n if (dropdown) {\r\n dropdown.dataSource.filter({});\r\n if (dropdown.filterInput && dropdown.filterInput.length > 0) {\r\n dropdown.filterInput[0].value = \"\";\r\n }\r\n }\r\n },\r\n nomEditCancel() {\r\n this.clearFilterAndText();\r\n this.showNomCreate = false;\r\n },\r\n nomEditSave() {\r\n this.clearFilterAndText();\r\n this.showNomCreate = false;\r\n this.loadItems();\r\n },\r\n cancelPrompt() {\r\n this.clearFilterAndText();\r\n this.showNomCreate = false;\r\n },\r\n selectContextMenu(e) {\r\n if (btnId === 'settings') {\r\n this.showSettings = true;\r\n }\r\n },\r\n },\r\n computed: {\r\n ...mapGetters(['isEnVersion', 'claims', 'nomDropdownSettings']),\r\n hasCreateRights() {\r\n return this.claims.nomenclature.create;\r\n },\r\n },\r\n watch: {\r\n value: function (newVal, oldVal) {\r\n this.model.fieldValue.textValue = newVal;\r\n },\r\n },\r\n mounted() {\r\n this.filterPattern = this.nomDropdownSettings.defaultFilterPattern;\r\n this.init();\r\n },\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NomenclatureMultiSelect.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NomenclatureMultiSelect.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./NomenclatureMultiSelect.vue?vue&type=template&id=0fe1ec32&\"\nimport script from \"./NomenclatureMultiSelect.vue?vue&type=script&lang=js&\"\nexport * from \"./NomenclatureMultiSelect.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div>\r\n <div class=\"loader\" v-if=\"loading\"></div>\r\n <div v-if=\"!loading\">\r\n <div v-if=\"!model.isMultiDropdown\">\r\n <div v-if=\"model.dropdownIsCity\">\r\n <city-dropdown-search v-model=\"selectedId\" :disabled=\"details || model.isReadOnly\"></city-dropdown-search>\r\n </div>\r\n <div v-else>\r\n <dropdown :type=\"nomenclatureName\"\r\n :isCity=\"model.dropdownIsCity\"\r\n :fieldName=\"isEnVersion ? model.labelEn : model.label\"\r\n :disabled=\"details || model.isReadOnly\"\r\n v-model=\"selectedId\"></dropdown>\r\n </div>\r\n </div>\r\n <div v-if=\"model.isMultiDropdown\">\r\n <multi-select v-model=\"multiSelectValue\"\r\n :type=\"nomenclatureName\"\r\n :model=\"model\"\r\n :details=\"details || model.isReadOnly\"\r\n :fieldName=\"isEnVersion ? model.labelEn : model.label\"></multi-select>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import Dropdown from '../dropdown/NomenclatureDropdown';\r\n import MultiSelect from './NomenclatureMultiSelect';\r\n import CityDropdownSearch from '../dropdown/CityDropdownSearch';\r\n import { mapGetters } from 'vuex';\r\n import { RegisterEventBus } from '@/buses/register-bus.js';\r\n\r\n export default {\r\n inject: ['$validator'],\r\n props: {\r\n value: [String, Number],\r\n model: Object,\r\n isNew: {\r\n type: Boolean,\r\n default: false\r\n },\r\n dropdownId: Number,\r\n details: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n components: {\r\n Dropdown,\r\n MultiSelect,\r\n CityDropdownSearch\r\n },\r\n data() {\r\n return {\r\n nomenclatureName: '',\r\n selectedId: '',\r\n loading: true,\r\n multiSelectValue: ''\r\n }\r\n },\r\n methods: {\r\n init() {\r\n this.$http.get(`/api/Dropdown/GetNomenclatureName?nomenclatureId=${this.model.dropdownId ? this.model.dropdownId : 0}`).then(result => {\r\n this.nomenclatureName = result.data;\r\n this.model.fieldValue.stringValue = this.nomenclatureName;\r\n\r\n if (!this.selectedId && this.model.textDefaultValue /* .intDefaultValue) */ && this.isNew) {\r\n this.selectedId = this.model.textDefaultValue; // this.model.intDefaultValue;\r\n }\r\n\r\n this.loading = false;\r\n }).catch(error => {\r\n this.$vs.notify({\r\n title: this.$t('notifications.error'),\r\n text: this.$t('notifications.errorLoadingData'),\r\n color: 'danger'\r\n });\r\n this.loading = false;\r\n });\r\n },\r\n populateStringValueById(id) {\r\n // eslint-disable-next-line eqeqeq\r\n const val = this.items.filter(item => item.id == id);\r\n if (val && val.length > 0) {\r\n this.model.fieldValue.stringValue = val[0].text;\r\n }\r\n }\r\n },\r\n watch: {\r\n selectedId(newVal, oldVal) {\r\n this.$emit('input', newVal);\r\n RegisterEventBus.$emit('dynamic-field-change', newVal, oldVal, this.model);\r\n this.model.fieldValue.intValue = newVal;\r\n this.model.defaultTextValue = '';\r\n },\r\n value: {\r\n immediate: true,\r\n handler(newVal, oldVal) {\r\n if (this.model.isMultiDropdown) {\r\n this.multiSelectValue = newVal;\r\n this.model.fieldValue.textValue = newVal;\r\n } else {\r\n this.selectedId = newVal;\r\n }\r\n }\r\n },\r\n multiSelectValue(newVal, oldVal) {\r\n this.model.fieldValue.textValue = newVal;\r\n this.model.defaultTextValue = '';\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(['isEnVersion']),\r\n },\r\n mounted() {\r\n this.init();\r\n this.model.fieldValue.textValue = this.value;\r\n }\r\n }\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NomenclatureDropdown.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NomenclatureDropdown.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./NomenclatureDropdown.vue?vue&type=template&id=dca2e6c6&\"\nimport script from \"./NomenclatureDropdown.vue?vue&type=script&lang=js&\"\nexport * from \"./NomenclatureDropdown.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.model.isMultiDropdown)?_c('div',[(!_vm.loading)?_c('kendo-dropdownlist',{staticStyle:{\"width\":\"100%\"},attrs:{\"data-source\":_vm.items,\"data-text-field\":'text',\"data-value-field\":'id',\"optionLabel\":_vm.$t('choose'),\"filter\":_vm.filterPattern,\"disabled\":_vm.details || _vm.model.isReadOnly,\"height\":_vm.height,\"footer-template\":_vm.nomDropdownSettings.showFooterTemplate ? _vm.footerTemplate : ''},model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:\"selectedId\"}}):_vm._e(),(_vm.loaded)?_c('DropdownSettings',{attrs:{\"filterPattern\":_vm.filterPattern,\"show\":_vm.showSettings},on:{\"update:filterPattern\":function($event){_vm.filterPattern=$event},\"update:filter-pattern\":function($event){_vm.filterPattern=$event},\"update:show\":function($event){_vm.showSettings=$event}}}):_vm._e()],1):_vm._e(),(_vm.model.isMultiDropdown)?_c('div',[_c('static-register-multi-select',{attrs:{\"details\":_vm.details,\"model\":_vm.model,\"field-name\":_vm.isEnVersion ? _vm.model.labelEn : _vm.model.label,\"height\":_vm.height},model:{value:(_vm.model.fieldValue.textValue),callback:function ($$v) {_vm.$set(_vm.model.fieldValue, \"textValue\", $$v)},expression:\"model.fieldValue.textValue\"}})],1):_vm._e(),(_vm.errors.has('dropdown' + _vm._uid))?_c('span',{staticClass:\"text-danger col-12\"},[_vm._v(_vm._s(_vm.errors.first('dropdown' + _vm._uid)))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loaded)?_c('kendo-multiselect',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.model.isRequired ? 'required' : ''),expression:\"model.isRequired ? 'required' : ''\"}],staticStyle:{\"width\":\"100%\"},attrs:{\"data-source\":_vm.items,\"data-text-field\":'text',\"disabled\":_vm.details || _vm.model.isReadOnly,\"data-value-field\":'id',\"data-placeholder\":_vm.$t('choose'),\"name\":'dropdown' + _vm._uid,\"filter\":_vm.filterPattern,\"data-vv-as\":_vm.fieldName,\"height\":_vm.height,\"footer-template\":_vm.nomDropdownSettings.showFooterTemplate ? _vm.footerTemplate : ''},on:{\"change\":_vm.inputChanged},model:{value:(_vm.selectedValues),callback:function ($$v) {_vm.selectedValues=$$v},expression:\"selectedValues\"}}):_vm._e(),(_vm.errors.has('dropdown' + _vm._uid))?_c('span',{staticClass:\"text-danger col-12\"},[_vm._v(_vm._s(_vm.errors.first('dropdown' + _vm._uid)))]):_vm._e(),(_vm.loaded)?_c('DropdownSettings',{attrs:{\"filterPattern\":_vm.filterPattern,\"show\":_vm.showSettings},on:{\"update:filterPattern\":function($event){_vm.filterPattern=$event},\"update:filter-pattern\":function($event){_vm.filterPattern=$event},\"update:show\":function($event){_vm.showSettings=$event}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <kendo-multiselect\r\n v-if=\"loaded\"\r\n v-model=\"selectedValues\"\r\n :data-source=\"items\"\r\n :data-text-field=\"'text'\"\r\n :disabled=\"details || model.isReadOnly\"\r\n :data-value-field=\"'id'\"\r\n :data-placeholder=\"$t('choose')\"\r\n @change=\"inputChanged\"\r\n :name=\"'dropdown' + _uid\"\r\n :filter=\"filterPattern\"\r\n :data-vv-as=\"fieldName\"\r\n v-validate=\"model.isRequired ? 'required' : ''\"\r\n :height=\"height\"\r\n style=\"width: 100%;\"\r\n :footer-template=\"nomDropdownSettings.showFooterTemplate ? footerTemplate : ''\"\r\n ></kendo-multiselect>\r\n <span\r\n class=\"text-danger col-12\"\r\n v-if=\"errors.has('dropdown' + _uid)\"\r\n >{{ errors.first('dropdown' + _uid) }}</span>\r\n\r\n <DropdownSettings\r\n v-if=\"loaded\"\r\n :filterPattern.sync=\"filterPattern\"\r\n :show.sync=\"showSettings\"\r\n ></DropdownSettings>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport Vue from \"vue\";\r\nimport FooterTemplate from \"../../components/grid/NomenclatureDropdownFooterTemplate\";\r\nimport DropdownSettings from \"../../components/common/DropdownSettings\";\r\nimport { EditorComponentModel } from \"../../models/models\";\r\nimport { mapGetters } from \"vuex\";\r\n\r\nexport default {\r\n inject: [\"$validator\"],\r\n props: {\r\n value: [String, Number],\r\n fieldName: String,\r\n model: EditorComponentModel,\r\n details: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n height: {\r\n type: Number,\r\n default: 400, // 200 - Default value for Kendo DropdownList\r\n },\r\n },\r\n components: {\r\n DropdownSettings,\r\n },\r\n data() {\r\n return {\r\n loaded: false,\r\n items: [],\r\n selectedValues: [],\r\n showSettings: false,\r\n filterPattern: \"\",\r\n };\r\n },\r\n methods: {\r\n init() {\r\n const url = `/api/Dropdown/GetStaticRegisterItems?registerId=${this.model.dropdownId}&selected=${this.value}\r\n &updateTime=${this.model.fieldValue.updateTime ? new Date(this.model.fieldValue.updateTime).toISOString() : new Date().toISOString()}`;\r\n this.$http\r\n .get(url)\r\n .then((result) => {\r\n this.items = result.data;\r\n this.selectedValues = this.model.fieldValue.textValue.split(\r\n \"|\"\r\n );\r\n this.populateStringValueById(this.selectedValues);\r\n this.loaded = true;\r\n })\r\n .catch((error) => {\r\n this.$vs.notify({\r\n title: this.$t(\r\n \"request.response.status.\" +\r\n this.$helpers.errorStatusCode(error)\r\n ),\r\n text: this.$helpers.errorText(error),\r\n color: \"warning\",\r\n time: this.$store.getters.notificationDuration,\r\n });\r\n });\r\n },\r\n inputChanged(event) {\r\n let valueToEmit = event.sender.value().join(\"|\");\r\n this.$emit(\"input\", valueToEmit);\r\n this.populateStringValueById(event.sender.value());\r\n },\r\n populateStringValueById(ids) {\r\n if (Array.isArray(ids) === false) {\r\n return;\r\n }\r\n\r\n let stringValues = [];\r\n let vm = this;\r\n ids.forEach((id) => {\r\n // eslint-disable-next-line eqeqeq\r\n const val = vm.items.filter((item) => item.id == id);\r\n if (val && val.length > 0) {\r\n stringValues.push(val[0].text);\r\n }\r\n });\r\n if (stringValues.length > 0) {\r\n this.model.fieldValue.stringValue = stringValues.join(\",\");\r\n }\r\n },\r\n footerTemplate: function (e) {\r\n return {\r\n template: Vue.component(FooterTemplate.name, FooterTemplate),\r\n templateArgs: {\r\n ...e,\r\n btns: [\r\n {\r\n name: \"staticRegisterMultiSelectSettings\",\r\n text: this.$t(\"buttons.settings.btnText\"),\r\n tooltip: this.$t(\"buttons.settings.btnText\"),\r\n class: \"btn btn-secondary\",\r\n icon: \"fas fa-cog\",\r\n show: this.nomDropdownSettings.showSettings,\r\n clickHandler: () => {\r\n this.showSettings = true;\r\n },\r\n },\r\n ],\r\n },\r\n };\r\n },\r\n },\r\n computed: {\r\n ...mapGetters(['nomDropdownSettings']),\r\n },\r\n mounted() {\r\n this.filterPattern = this.nomDropdownSettings.defaultFilterPattern;\r\n this.init();\r\n },\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StaticRegisterMultiSelect.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StaticRegisterMultiSelect.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./StaticRegisterMultiSelect.vue?vue&type=template&id=2234257f&\"\nimport script from \"./StaticRegisterMultiSelect.vue?vue&type=script&lang=js&\"\nexport * from \"./StaticRegisterMultiSelect.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div>\r\n <div v-if=\"!model.isMultiDropdown\">\r\n <kendo-dropdownlist\r\n v-if=\"!loading\"\r\n v-model=\"selectedId\"\r\n :data-source=\"items\"\r\n :data-text-field=\"'text'\"\r\n :data-value-field=\"'id'\"\r\n :optionLabel=\"$t('choose')\"\r\n :filter=\"filterPattern\"\r\n :disabled=\"details || model.isReadOnly\"\r\n :height=\"height\"\r\n :footer-template=\"nomDropdownSettings.showFooterTemplate ? footerTemplate : ''\"\r\n style=\"width: 100%;\"\r\n ></kendo-dropdownlist>\r\n\r\n <DropdownSettings\r\n v-if=\"loaded\"\r\n :filterPattern.sync=\"filterPattern\"\r\n :show.sync=\"showSettings\"\r\n ></DropdownSettings>\r\n </div>\r\n <div v-if=\"model.isMultiDropdown\">\r\n <static-register-multi-select\r\n v-model=\"model.fieldValue.textValue\"\r\n :details=\"details\"\r\n :model=\"model\"\r\n :field-name=\"isEnVersion ? model.labelEn : model.label\"\r\n :height=\"height\"\r\n ></static-register-multi-select>\r\n </div>\r\n <span\r\n class=\"text-danger col-12\"\r\n v-if=\"errors.has('dropdown' + _uid)\"\r\n >{{ errors.first('dropdown' + _uid) }}</span>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport Vue from \"vue\";\r\nimport StaticRegisterMultiSelect from \"./StaticRegisterMultiSelect\";\r\nimport FooterTemplate from \"../../components/grid/NomenclatureDropdownFooterTemplate\";\r\nimport DropdownSettings from \"../../components/common/DropdownSettings\";\r\nimport { mapGetters } from \"vuex\";\r\nimport { RegisterEventBus } from '@/buses/register-bus.js';\r\n\r\nexport default {\r\n inject: [\"$validator\"],\r\n props: {\r\n value: [String, Number],\r\n model: Object,\r\n details: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n height: {\r\n type: Number,\r\n default: 400, // 200 - Default value for Kendo DropdownList\r\n }\r\n },\r\n components: {\r\n StaticRegisterMultiSelect,\r\n DropdownSettings,\r\n },\r\n data() {\r\n return {\r\n selectedId: this.value || \"\",\r\n items: [],\r\n loaded: false,\r\n loading: true,\r\n multiSelectValue: \"\",\r\n showSettings: false,\r\n filterPattern: \"\",\r\n };\r\n },\r\n methods: {\r\n loadDropdownData() {\r\n this.loading = true;\r\n this.$http\r\n .get(\r\n `/api/Dropdown/GetStaticRegisterItems?registerId=${this.model.dropdownId}&selected=${this.value}\r\n &updateTime=${this.model.fieldValue.updateTime ? new Date(this.model.fieldValue.updateTime).toISOString() : new Date().toISOString()}`\r\n )\r\n .then((result) => {\r\n this.items = result.data;\r\n this.populateStringValueById(this.selectedId);\r\n })\r\n .catch((error) => {\r\n this.$vs.notify({\r\n title: this.$t(\r\n \"request.response.status.\" +\r\n this.$helpers.errorStatusCode(error)\r\n ),\r\n text: this.$helpers.errorText(error),\r\n color: \"warning\",\r\n time: this.$store.getters.notificationDuration,\r\n });\r\n })\r\n .then(() => {\r\n this.loaded = true;\r\n this.loading = false;\r\n });\r\n },\r\n populateStringValueById(id) {\r\n // eslint-disable-next-line eqeqeq\r\n const val = this.items.filter((item) => item.id == id);\r\n if (val && val.length > 0) {\r\n this.model.fieldValue.stringValue = val[0].text;\r\n }\r\n },\r\n footerTemplate: function (e) {\r\n return {\r\n template: Vue.component(FooterTemplate.name, FooterTemplate),\r\n templateArgs: {\r\n ...e,\r\n btns: [\r\n {\r\n name: \"staticRegisterDropdownSettings\",\r\n text: this.$t(\"buttons.settings.btnText\"),\r\n tooltip: this.$t(\"buttons.settings.btnText\"),\r\n class: \"btn btn-secondary\",\r\n icon: \"fas fa-cog\",\r\n show: this.nomDropdownSettings.showSettings,\r\n clickHandler: () => {\r\n this.showSettings = true;\r\n },\r\n },\r\n ],\r\n },\r\n };\r\n },\r\n },\r\n watch: {\r\n selectedId: function (newVal, oldVal) {\r\n this.$emit(\"input\", newVal);\r\n RegisterEventBus.$emit('dynamic-field-change', newVal, oldVal, this.model);\r\n this.model.fieldValue.intValue = newVal;\r\n // this.populateStringValueById(newVal);\r\n },\r\n value: function (newVal, oldVal) {\r\n if (this.model.isMultiDropdown) {\r\n this.multiSelectValue = newVal;\r\n this.model.fieldValue.textValue = newVal;\r\n } else {\r\n this.selectedId = newVal;\r\n }\r\n },\r\n multiSelectValue(newVal, oldVal) {\r\n this.model.fieldValue.textValue = newVal;\r\n },\r\n },\r\n computed: {\r\n ...mapGetters(['isEnVersion', 'nomDropdownSettings']),\r\n },\r\n mounted() {\r\n if (!this.model.isMultiDropdown) {\r\n this.filterPattern = this.nomDropdownSettings.defaultFilterPattern;\r\n this.loadDropdownData();\r\n } else {\r\n this.loading = false;\r\n }\r\n },\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StaticRegisterDropdown.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StaticRegisterDropdown.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./StaticRegisterDropdown.vue?vue&type=template&id=78f16df0&\"\nimport script from \"./StaticRegisterDropdown.vue?vue&type=script&lang=js&\"\nexport * from \"./StaticRegisterDropdown.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"form-group\" :class=\"model.size\">\r\n <label class=\"font-weight-bold\" :class=\"labelClasses\">\r\n {{ isEnVersion ? model.labelEn : model.label }}\r\n </label>\r\n <component :is=\"dropdownComponent\"\r\n :model=\"model\"\r\n :name=\"'dropdown' + _uid\"\r\n :data-vv-as=\"model.label\"\r\n v-validate=\"validations\"\r\n :filter=\"'contains'\"\r\n v-model=\"selectedValue\"\r\n :details=\"details\"\r\n :isNew=\"isNew\"\r\n :class=\"model.fieldCode\"\r\n aria-describedby=\"descriptionHelp\">\r\n </component>\r\n <small id=\"descriptionHelp\" class=\"form-text text-muted\">{{ isEnVersion ? model.descriptionEn : model.description }}</small>\r\n <span class=\"text-danger\" v-if=\"errors.has('dropdown' + _uid)\">{{ errors.first('dropdown' + _uid) }}</span>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import NomenclatureDropdown from '../dynamic/NomenclatureDropdown';\r\n import StaticRegisterDropdown from '../dynamic/StaticRegisterDropdown';\r\n import DynamicRegisterDropdown from '../dynamic/DynamicRegisterDropdown';\r\n import { DropdownType } from '../../models/enums';\r\n import { EditorComponentModel } from '../../models/models';\r\n import { mapGetters } from 'vuex';\r\n\r\n export default {\r\n inject: ['$validator'],\r\n props: {\r\n model: EditorComponentModel, // TODO:\r\n isNew: {\r\n type: Boolean,\r\n default: false\r\n },\r\n details: {\r\n type: Boolean,\r\n default: false\r\n },\r\n allowAnonymous: {\r\n type: Boolean,\r\n default: true\r\n },\r\n profileData: {\r\n type: Object,\r\n default() {\r\n return null;\r\n }\r\n },\r\n isEvaluationPanel: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n components: {\r\n NomenclatureDropdown,\r\n StaticRegisterDropdown,\r\n DynamicRegisterDropdown\r\n },\r\n data() {\r\n return {\r\n dropdownComponent: '',\r\n labelClasses: '',\r\n validations: '',\r\n selectedValue: ''\r\n }\r\n },\r\n methods: {\r\n addProperDropdown() {\r\n switch (this.model.dropdownType) {\r\n case DropdownType.Nomenclature:\r\n this.dropdownComponent = NomenclatureDropdown;\r\n break;\r\n case DropdownType.Register:\r\n this.dropdownComponent = StaticRegisterDropdown;\r\n break;\r\n case DropdownType.DynamicRegister:\r\n this.dropdownComponent = DynamicRegisterDropdown;\r\n break\r\n }\r\n },\r\n addValidations() {\r\n if (this.model.isRequired && !(this.model.dropdownType === DropdownType.Register)) {\r\n this.labelClasses = 'required';\r\n this.addValidation('required');\r\n }\r\n },\r\n addValidation(validation) {\r\n if (this.validations.length > 0) {\r\n this.validations += '|';\r\n }\r\n this.validations += validation;\r\n },\r\n fillProfileData(data) {\r\n if (!data) {\r\n return;\r\n }\r\n\r\n this.$helpers.fillProfileDataToDynamicForm(this.model, data);\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(['isEnVersion']),\r\n },\r\n watch: {\r\n 'model.fieldValue.textValue': function(newVal, oldVal) {\r\n this.selectedValue = newVal;\r\n/* if (this.model.isMultiDropdown) {\r\n this.model.fieldValue.textValue = newVal;\r\n } else {\r\n this.model.fieldValue.intValue = newVal;\r\n } */\r\n },\r\n 'model.fieldValue.intValue': function(newVal, oldVal) {\r\n this.selectedValue = newVal;\r\n if (this.model.isMultiDropdown) {\r\n this.model.fieldValue.textValue = newVal;\r\n }\r\n /* else {\r\n this.model.fieldValue.intValue = newVal;\r\n } */\r\n },\r\n profileData: {\r\n handler: function (newVal, oldVal) {\r\n this.fillProfileData(newVal);\r\n },\r\n deep: true,\r\n immediate: true,\r\n },\r\n },\r\n mounted() {\r\n if (this.model.fieldCode === 'Event_Main_Activity') {\r\n // console.log(this.model);\r\n }\r\n this.selectedValue = this.model.isMultiDropdown ? this.model.fieldValue.textValue : this.model.fieldValue.intValue;\r\n this.addProperDropdown();\r\n this.addValidations();\r\n this.model.uid = this._uid;\r\n this.model.isEvaluationPanel = this.isEvaluationPanel;\r\n }\r\n }\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dropdown.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dropdown.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Dropdown.vue?vue&type=template&id=d47dc520&\"\nimport script from \"./Dropdown.vue?vue&type=script&lang=js&\"\nexport * from \"./Dropdown.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col-12\"},[_vm._l((_vm.filesForDownload),function(file,$index){return _c('div',{key:$index},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-11\"},[(file.id)?_c('file-download',{attrs:{\"file\":file,\"type\":file.docTypeCode}}):_vm._e()],1),(!_vm.details)?_c('div',{staticClass:\"col-1\"},[_c('i',{staticClass:\"fas fa-trash text-danger pointer\",on:{\"click\":function($event){return _vm.deleteSavedFile(file.id, $index)}}})]):_vm._e()])])}),(!_vm.details)?_c('div',[_c('vs-upload',{ref:\"dynamicFileUploadRef\",attrs:{\"multiple\":\"\",\"text\":_vm.$t('addFile'),\"showUploadButton\":false,\"aria-describedby\":\"descriptionHelp\"},on:{\"change\":_vm.fileChanged,\"on-delete\":_vm.fileRemoved}})],1):_vm._e(),_c('transition-group',{staticClass:\"col-12\",attrs:{\"name\":\"fileDescriptionAnimation\",\"enter-active-class\":\"animated zoomInDown\",\"leave-active-class\":\"animated zoomOutUp\"}},_vm._l((_vm.model.fieldValue.files),function(file){return _c('div',{key:file.fileName,staticClass:\"col-12 mt-2 border border-secondary rounded fileDescription\"},[_c('label',[_vm._v(_vm._s(file.fileName))]),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(file.fileDescription),expression:\"file.fileDescription\"}],staticClass:\"form-control\",attrs:{\"placeholder\":_vm.$t('description')},domProps:{\"value\":(file.fileDescription)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(file, \"fileDescription\", $event.target.value)}}})])])}),0),_c('small',{staticClass:\"form-text text-muted\",attrs:{\"id\":\"descriptionHelp\"}},[_vm._v(_vm._s(_vm.isEnVersion ? _vm.model.descriptionEn :\n _vm.model.description))])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"col-12\">\r\n <div class=\"\" v-for=\"(file, $index) in filesForDownload\" :key=\"$index\">\r\n <div class=\"row\">\r\n <div class=\"col-11\">\r\n <file-download v-if=\"file.id\"\r\n :file=\"file\"\r\n :type=\"file.docTypeCode\">\r\n </file-download>\r\n </div>\r\n <div class=\"col-1\" v-if=\"!details\">\r\n <i class=\"fas fa-trash text-danger pointer\" @click=\"deleteSavedFile(file.id, $index)\"></i>\r\n </div>\r\n </div>\r\n </div>\r\n <div v-if=\"!details\">\r\n <vs-upload ref=\"dynamicFileUploadRef\"\r\n multiple\r\n :text=\"$t('addFile')\"\r\n\r\n :showUploadButton=\"false\"\r\n @change=\"fileChanged\"\r\n @on-delete=\"fileRemoved\"\r\n aria-describedby=\"descriptionHelp\">\r\n </vs-upload>\r\n </div>\r\n <transition-group name=\"fileDescriptionAnimation\" enter-active-class=\"animated zoomInDown\"\r\n leave-active-class=\"animated zoomOutUp\" class=\"col-12\">\r\n <div class=\"col-12 mt-2 border border-secondary rounded fileDescription\"\r\n v-for=\"file in model.fieldValue.files\"\r\n :key=\"file.fileName\">\r\n <label>{{ file.fileName }}</label>\r\n <div><input class=\"form-control\" :placeholder=\"$t('description')\" v-model=\"file.fileDescription\"/></div>\r\n </div>\r\n </transition-group>\r\n <small id=\"descriptionHelp\" class=\"form-text text-muted\">{{ isEnVersion ? model.descriptionEn :\r\n model.description }}</small>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import { EditorComponentModel, File as FileModel, FileDetails } from '../../models/models';\r\n import FileDownload from '../common/FileDownload';\r\n import { mapGetters } from 'vuex';\r\n\r\n export default {\r\n props: {\r\n value: String,\r\n model: {\r\n type: EditorComponentModel\r\n },\r\n files: Array,\r\n details: {\r\n type: Boolean,\r\n default: false\r\n },\r\n allowAnonymous: {\r\n type: Boolean,\r\n default: true\r\n },\r\n isEvaluationPanel: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n components: {\r\n FileDownload\r\n },\r\n data() {\r\n return {\r\n filesForDownload: [],\r\n activePrompt: false,\r\n originalModel: new EditorComponentModel(),\r\n }\r\n },\r\n methods: {\r\n fileChanged(filePath) {\r\n for (let i = 0; i < this.$refs.dynamicFileUploadRef.$refs.fileInput.files.length; i++) {\r\n let file = this.$refs.dynamicFileUploadRef.$refs.fileInput.files[i];\r\n if (file.added) {\r\n continue;\r\n }\r\n file.added = true;\r\n\r\n this.model.fieldValue.files.push(new FileModel({\r\n fileName: file.name,\r\n content: file,\r\n uid: this._uid,\r\n fileDescription: '',\r\n registerEntityFieldValueId: this.model.fieldValue.id\r\n }));\r\n }\r\n\r\n this.model.fieldValue.textValue = this.getSeparatedFileNames();\r\n },\r\n fileRemoved(fileToRemove) {\r\n const indexToDelete = this.files.findIndex(x => x.name === fileToRemove.name);\r\n this.model.fieldValue.files.splice(indexToDelete, 1);\r\n this.model.fieldValue.textValue = this.getSeparatedFileNames();\r\n },\r\n getSeparatedFileNames() {\r\n let fileNames = [];\r\n this.model.fieldValue.files.forEach(file => {\r\n fileNames.push(file.fileName);\r\n });\r\n\r\n return fileNames.join('|');\r\n },\r\n deleteSavedFile(fileId, fileIndex) {\r\n this.$emit('deleteSavedFile', fileId);\r\n this.filesForDownload.splice(fileIndex, 1);\r\n },\r\n async checkForSavedFiles() {\r\n try {\r\n if (this.model.fieldValue.id && this.model.fieldValue.id > 0) {\r\n const result = await this.$http.get(`/api/DynamicRegisters/GetFilesDetailsForDownload/${this.model.fieldValue.id}`);\r\n if (result) {\r\n result.data.forEach(detailsInfo => {\r\n this.filesForDownload.push(new FileDetails(detailsInfo));\r\n });\r\n }\r\n }\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n }\r\n },\r\n mounted() {\r\n this.model.fieldValue.uid = this._uid;\r\n this.checkForSavedFiles();\r\n this.model.uid = this._uid;\r\n this.model.isEvaluationPanel = this.isEvaluationPanel;\r\n },\r\n computed: {\r\n ...mapGetters(['isEnVersion']),\r\n }\r\n }\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileUpload.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileUpload.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FileUpload.vue?vue&type=template&id=eda9d800&\"\nimport script from \"./FileUpload.vue?vue&type=script&lang=js&\"\nexport * from \"./FileUpload.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"px-3\"},[_c('div',{attrs:{\"aria-describedby\":\"descriptionHelp\"}},[_c('person-component',{class:_vm.model.fieldCode,attrs:{\"person\":_vm.person,\"allowAnonymous\":_vm.allowAnonymous,\"requiredIdentification\":_vm.requiredIdentification,\"validateUniqueIdNumber\":_vm.validateUniqueIdNumber,\"validateEgn\":_vm.validateEgn,\"isProfileDetails\":_vm.details,\"profile-data\":_vm.profileData}})],1),_c('small',{staticClass:\"form-text text-muted\",attrs:{\"id\":\"descriptionHelp\"}},[_vm._v(_vm._s(_vm.isEnVersion ? _vm.model.descriptionEn : _vm.model.description))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"px-3\">\r\n <div aria-describedby=\"descriptionHelp\">\r\n <person-component :person=\"person\"\r\n :class=\"model.fieldCode\"\r\n :allowAnonymous=\"allowAnonymous\"\r\n :requiredIdentification=\"requiredIdentification\"\r\n :validateUniqueIdNumber=\"validateUniqueIdNumber\"\r\n :validateEgn=\"validateEgn\"\r\n :isProfileDetails=\"details\"\r\n :profile-data=\"profileData\" />\r\n </div>\r\n <small id=\"descriptionHelp\" class=\"form-text text-muted\">{{ isEnVersion ? model.descriptionEn : model.description }}</small>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import PersonComponent from '../person/Person';\r\n import {\r\n DynamicRegisterPersonModel,\r\n EditorComponentModel,\r\n Person\r\n } from '../../models/models';\r\n import { mapGetters } from 'vuex';\r\n\r\n export default\r\n {\r\n inject: ['$validator'],\r\n props: {\r\n model: {\r\n type: EditorComponentModel\r\n },\r\n details: {\r\n type: Boolean,\r\n default: false\r\n },\r\n allowAnonymous: {\r\n type: Boolean,\r\n default: true\r\n },\r\n requiredIdentification: {\r\n default: true,\r\n type: Boolean\r\n },\r\n validateUniqueIdNumber: {\r\n type: Boolean,\r\n default: true\r\n },\r\n validateEgn: {\r\n type: Boolean,\r\n default: false\r\n },\r\n profileData: {\r\n type: Object,\r\n default() {\r\n return null;\r\n }\r\n },\r\n isEvaluationPanel: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n components: {\r\n PersonComponent\r\n },\r\n data() {\r\n return {\r\n person: new Person()\r\n };\r\n },\r\n mounted() {\r\n let hasSavedPerson = false;\r\n try {\r\n console.log(this.$parent.$parent.$parent.$parent)\r\n this.$parent.$parent.$parent.$parent.people.forEach(p => {\r\n if (p.fieldId === this.model.id) {\r\n this.person = p.person;\r\n hasSavedPerson = true;\r\n }\r\n });\r\n\r\n if (!hasSavedPerson) {\r\n this.$parent.$parent.$parent.$parent.people.push(\r\n new DynamicRegisterPersonModel({\r\n fieldId: this.model.id,\r\n person: this.person\r\n })\r\n );\r\n }\r\n } catch (error) {\r\n console.error(\r\n '\"this.$parent.$parent.people\" не работи в components/dynamic/Person.vue'\r\n );\r\n }\r\n\r\n this.model.uid = this._uid;\r\n this.model.isEvaluationPanel = this.isEvaluationPanel;\r\n },\r\n computed: {\r\n ...mapGetters(['isEnVersion']),\r\n }\r\n };\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Person.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Person.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Person.vue?vue&type=template&id=7bdb8640&\"\nimport script from \"./Person.vue?vue&type=script&lang=js&\"\nexport * from \"./Person.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"px-3\"},[_c('div',{attrs:{\"aria-describedby\":\"descriptionHelp\"}},[_c('address-component',{class:_vm.model.fieldCode,attrs:{\"address\":_vm.address,\"isAddressDetails\":_vm.details,\"profile-data\":_vm.profileData}})],1),_c('small',{staticClass:\"form-text text-muted\",attrs:{\"id\":\"descriptionHelp\"}},[_vm._v(_vm._s(_vm.isEnVersion ? _vm.model.descriptionEn : _vm.model.description))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"px-3\">\r\n <div aria-describedby=\"descriptionHelp\">\r\n <address-component\r\n :address=\"address\"\r\n :isAddressDetails=\"details\"\r\n :class=\"model.fieldCode\"\r\n :profile-data=\"profileData\"/>\r\n </div>\r\n <small id=\"descriptionHelp\" class=\"form-text text-muted\">{{ isEnVersion ? model.descriptionEn : model.description }}</small>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import AddressComponent from '../address/Address';\r\n import { Address, DynamicRegisterAddressModel, EditorComponentModel } from '../../models/models';\r\n import { mapGetters } from 'vuex';\r\n\r\n export default {\r\n props: {\r\n model: {\r\n type: EditorComponentModel\r\n },\r\n details: {\r\n type: Boolean,\r\n default: false\r\n },\r\n allowAnonymous: {\r\n type: Boolean,\r\n default: true\r\n },\r\n profileData: {\r\n type: Object,\r\n default() {\r\n return null;\r\n }\r\n },\r\n isEvaluationPanel: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n components: {\r\n AddressComponent,\r\n },\r\n data() {\r\n return {\r\n address: new Address()\r\n }\r\n },\r\n mounted () {\r\n this.$parent.$parent.addresses.push(new DynamicRegisterAddressModel({\r\n fieldId: this.model.id,\r\n address: this.address\r\n }));\r\n\r\n this.model.uid = this._uid;\r\n this.model.isEvaluationPanel = this.isEvaluationPanel;\r\n },\r\n computed: {\r\n ...mapGetters(['isEnVersion']),\r\n }\r\n }\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Address.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Address.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Address.vue?vue&type=template&id=286da6b5&\"\nimport script from \"./Address.vue?vue&type=script&lang=js&\"\nexport * from \"./Address.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\",class:_vm.model.size},[_c('label',{staticClass:\"font-weight-bold\",class:_vm.labelClasses,attrs:{\"for\":'starRating' + _vm._uid}},[_vm._v(\"\\n \"+_vm._s(_vm.isEnVersion ? _vm.model.labelEn : _vm.model.label)+\"\\n \")]),_c('div',{attrs:{\"aria-describedby\":\"descriptionHelp\"}},[_c('star-rating',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.validations),expression:\"validations\"}],class:_vm.model.fieldCode,attrs:{\"id\":'starRating' + _vm._uid,\"name\":'starRating' + _vm._uid,\"star-size\":30,\"max-rating\":_vm.model.intMaxValue,\"show-rating\":true,\"increment\":1,\"round-start-rating\":false,\"data-vv-as\":_vm.model.label,\"read-only\":_vm.model.isReadOnly || _vm.details,\"clearable\":true,\"inline\":\"\"},on:{\"rating-selected\":_vm.ratingSelected},model:{value:(_vm.model.fieldValue.intValue),callback:function ($$v) {_vm.$set(_vm.model.fieldValue, \"intValue\", $$v)},expression:\"model.fieldValue.intValue\"}}),(_vm.model.fieldValue.intValue && !_vm.model.isReadOnly && !_vm.details)?_c('button',{staticClass:\"btn btn-link btn-xm my-0 mt-1\",on:{\"click\":function($event){$event.stopPropagation();_vm.model.fieldValue.intValue = null}}},[_c('i',{staticClass:\"fas fa-times text-danger\"})]):_vm._e()],1),_c('small',{staticClass:\"form-text text-muted\",attrs:{\"id\":\"descriptionHelp\"}},[_vm._v(_vm._s(_vm.isEnVersion ? _vm.model.descriptionEn : _vm.model.description))]),(_vm.errors.has('starRating' + _vm._uid))?_c('div',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.errors.first('starRating' + _vm._uid)))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"form-group\" :class=\"model.size\">\r\n <label class=\"font-weight-bold\" :class=\"labelClasses\" :for=\"'starRating' + _uid\">\r\n {{ isEnVersion ? model.labelEn : model.label }}\r\n </label>\r\n <div aria-describedby=\"descriptionHelp\">\r\n <star-rating v-model=\"model.fieldValue.intValue\"\r\n :id=\"'starRating' + _uid\"\r\n :name=\"'starRating' + _uid\"\r\n :class=\"model.fieldCode\"\r\n :star-size=\"30\"\r\n :max-rating=\"model.intMaxValue\"\r\n :show-rating=\"true\"\r\n :increment=\"1\"\r\n :round-start-rating=\"false\"\r\n :data-vv-as=\"model.label\"\r\n v-validate=\"validations\"\r\n :read-only=\"model.isReadOnly || details\"\r\n :clearable=\"true\"\r\n inline\r\n @rating-selected=\"ratingSelected\">\r\n </star-rating>\r\n <button class=\"btn btn-link btn-xm my-0 mt-1\" v-if=\"model.fieldValue.intValue && !model.isReadOnly && !details\"\r\n @click.stop=\"model.fieldValue.intValue = null\">\r\n <i class=\"fas fa-times text-danger\"></i>\r\n </button>\r\n </div>\r\n <small id=\"descriptionHelp\" class=\"form-text text-muted\">{{ isEnVersion ? model.descriptionEn : model.description }}</small>\r\n <div class=\"text-danger\" v-if=\"errors.has('starRating' + _uid)\">{{ errors.first('starRating' + _uid) }}</div>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import { EditorComponentModel } from '../../models/models';\r\n import StarRating from 'vue-star-rating';\r\n import { mapGetters } from 'vuex';\r\n import { RegisterEventBus } from '@/buses/register-bus.js';\r\n\r\n export default {\r\n inject: ['$validator'],\r\n props: {\r\n model: {\r\n type: EditorComponentModel\r\n },\r\n value: [String, Number],\r\n details: {\r\n type: Boolean,\r\n default: false\r\n },\r\n allowAnonymous: {\r\n type: Boolean,\r\n default: true\r\n },\r\n isEvaluationPanel: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n components: {\r\n StarRating\r\n },\r\n data() {\r\n return {\r\n validations: '',\r\n labelClasses: '',\r\n }\r\n },\r\n methods: {\r\n addValidations() {\r\n if (this.model.isRequired) {\r\n this.addValidation('required');\r\n this.labelClasses += 'required';\r\n }\r\n\r\n this.addNumberValidations();\r\n },\r\n addValidation(validation) {\r\n if (this.validations.length > 0) {\r\n this.validations += '|';\r\n }\r\n this.validations += validation;\r\n },\r\n addNumberValidations() {\r\n this.addIntValidations();\r\n },\r\n addIntValidations() {\r\n // https://mantis.kontrax.bg/view.php?id=12565\r\n // При незадължителни полета не Ñ‚Ñ€Ñбва да Ñе прави Ð²Ð°Ð»Ð¸Ð´Ð°Ñ†Ð¸Ñ Ð½Ð° мин. / макÑ. ÑтойноÑÑ‚;\r\n if (this.model.isRequired) {\r\n if (this.model.intMinValue && !isNaN(parseInt(this.model.intMinValue))) {\r\n this.addValidation(`min_value:${this.model.intMinValue}`);\r\n }\r\n if (this.model.intMaxValue && !isNaN(parseInt(this.model.intMaxValue))) {\r\n this.addValidation(`max_value:${this.model.intMaxValue}`);\r\n }\r\n }\r\n },\r\n setInitialValue() {\r\n // 0012565: Полета тип „оценка“ и незадължителни полета\r\n // При попълване на полета тип „оценка“ не Ñ‚Ñ€Ñбва да Ñе взима дефолтната ÑтойноÑÑ‚ на „int“;\r\n if (this.model.fieldValue.intValue === '') {\r\n this.model.fieldValue.intValue = null;\r\n }\r\n },\r\n ratingSelected(value) {\r\n RegisterEventBus.$emit('dynamic-field-change', value, value, this.model);\r\n if (this.model.fieldValue.intValue < this.model.intMinValue) {\r\n this.model.fieldValue.intValue = this.model.intMinValue;\r\n }\r\n }\r\n },\r\n created() {\r\n this.setInitialValue();\r\n },\r\n mounted() {\r\n this.addValidations();\r\n this.model.uid = this._uid;\r\n this.model.isEvaluationPanel = this.isEvaluationPanel;\r\n },\r\n computed: {\r\n ...mapGetters(['isEnVersion'])\r\n }\r\n }\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StarRating.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StarRating.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./StarRating.vue?vue&type=template&id=3f9af558&\"\nimport script from \"./StarRating.vue?vue&type=script&lang=js&\"\nexport * from \"./StarRating.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\r\n <div class=\"card mt-3\">\r\n <div class=\"card-header bg-primary text-white\">\r\n <div class=\"card-title h5 m-0\">\r\n {{ isEnVersion ? panel.labelEn : panel.label }}\r\n </div>\r\n </div>\r\n <div class=\"card-body row\">\r\n <component v-for=\"(component, index) in panel.components\"\r\n :key=\"index\"\r\n :is=\"component.fieldType\"\r\n :type=\"component.type\"\r\n :model=\"component\"\r\n :details=\"details\"\r\n :allowAnonymous=\"allowAnonymous\"\r\n :requiredIdentification=\"false\"\r\n :validateUniqueIdNumber=\"false\"\r\n :validateEgn=\"true\"\r\n :isNew=\"isNew\"\r\n :profile-data=\"profileData\"\r\n :is-evaluation-panel=\"panel.isEvaluationPanel\"\r\n @deleteSavedFile=\"deleteSavedFile\">\r\n </component>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import Input from '../dynamic/Input';\r\n import Toggle from '../dynamic/Toggle';\r\n import Datepicker from '../dynamic/Datepicker';\r\n import Dropdown from '../dynamic/Dropdown';\r\n import FileUpload from './FileUpload';\r\n import Person from './Person';\r\n import Address from './Address';\r\n import StarRating from './StarRating';\r\n import { DynamicRegisterFieldValueModel } from '@/models/models';\r\n import { mapGetters } from 'vuex';\r\n\r\n export default {\r\n inject: ['$validator'],\r\n props: {\r\n panel: Object, // EditorPanel, // TODO:\r\n value: [], // TODO:\r\n isNew: {\r\n type: Boolean,\r\n default: false\r\n },\r\n details: {\r\n type: Boolean,\r\n default: false\r\n },\r\n allowAnonymous: {\r\n type: Boolean,\r\n default: true\r\n },\r\n profileData: {\r\n type: Object,\r\n default() {\r\n return null;\r\n }\r\n }\r\n },\r\n data() {\r\n return {\r\n fieldValue: new DynamicRegisterFieldValueModel()\r\n }\r\n },\r\n components: {\r\n Input,\r\n Toggle,\r\n Datepicker,\r\n Dropdown,\r\n FileUpload,\r\n Person,\r\n Address,\r\n StarRating\r\n },\r\n computed: {\r\n ...mapGetters(['isEnVersion']),\r\n },\r\n methods: {\r\n deleteSavedFile(fileId) {\r\n this.$emit('deleteSavedFile', fileId);\r\n }\r\n },\r\n mounted () {\r\n this.panel.uid = this._uid;\r\n }\r\n }\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Panel.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Panel.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Panel.vue?vue&type=template&id=70aa4814&\"\nimport script from \"./Panel.vue?vue&type=script&lang=js&\"\nexport * from \"./Panel.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.claims.auxiliaryRegister.read)?_c('div',{staticClass:\"auxiliaryRegisterContainer\"},[(_vm.loading)?_c('div',{staticClass:\"loader mt-5\"}):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.loading && _vm.register),expression:\"!loading && register\"}]},[(_vm.register)?_c('div',_vm._l((_vm.register.panels),function(panel,index){return _c('panel',{key:'register' + index,attrs:{\"panel\":panel}})}),1):_vm._e()])]):_c('div',{staticClass:\"mt-3\"},[_c('div',{staticClass:\"text-danger radio-message-danger mt-2\"},[_c('i',{staticClass:\"fa fa-exclamation-circle mr-2\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('auxiliary.notAuthorized'))+\"\\n \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <div v-if=\"claims.auxiliaryRegister.read\" class=\"auxiliaryRegisterContainer\">\r\n <div class=\"loader mt-5\" v-if=\"loading\"></div>\r\n <div v-show=\"!loading && register\">\r\n <div v-if=\"register\">\r\n <panel v-for=\"(panel, index) in register.panels\" :panel=\"panel\" :key=\"'register' + index\"\r\n ></panel> <!-- @deleteSavedFile=\"deleteSavedFile\" -->\r\n </div>\r\n </div>\r\n </div>\r\n <div v-else class=\"mt-3\">\r\n <div class=\"text-danger radio-message-danger mt-2\">\r\n <i class=\"fa fa-exclamation-circle mr-2\"></i>\r\n {{ $t('auxiliary.notAuthorized')}}\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport Vue from 'vue';\r\nimport Panel from '../dynamic/Panel';\r\nimport { DynamicRegisterModel, EditorRegister } from '@/models/models';\r\nimport {\r\n ComponentType,\r\n Culture,\r\n} from '@/models/enums';\r\nimport CustomTabs from '../../components/tab/CustomTabs';\r\nimport DynamicFieldChangeHandler from '@/services/dynamicFieldChangeHandler.service';\r\nimport { mapGetters } from 'vuex';\r\n\r\nVue.use(CustomTabs);\r\n\r\nexport default {\r\n inject: ['$validator'],\r\n props: {\r\n registerId: {\r\n type: [Number, String],\r\n required: true\r\n },\r\n entryId: {\r\n type: [Number, String]\r\n },\r\n registerName: {\r\n type: String,\r\n default: ''\r\n }\r\n },\r\n components: {\r\n Panel\r\n },\r\n data() {\r\n return {\r\n register: null,\r\n loading: false,\r\n // files: [],\r\n // people: [],\r\n // addresses: [],\r\n window: {\r\n width: 0,\r\n height: 0\r\n },\r\n // savedFilesToDelete: [],\r\n pageLoaded: false,\r\n isSaved: false,\r\n areObjectsEqual: false\r\n };\r\n },\r\n created() {\r\n window.addEventListener('resize', this.handleResize);\r\n this.handleResize();\r\n },\r\n destroyed() {\r\n window.removeEventListener('resize', this.handleResize);\r\n this.$store.dispatch('clearCurrentRegisterData', this.register);\r\n },\r\n methods: {\r\n dynamicFieldChangeHandler(newValue, oldValue, model) {\r\n DynamicFieldChangeHandler.onChangeHandler(newValue, oldValue, model, this.register);\r\n },\r\n/* deleteSavedFile(fileId) {\r\n this.savedFilesToDelete.push(fileId);\r\n }, */\r\n loadEmptyRegisterStructure() {\r\n if (!this.claims.auxiliaryRegister.read) {\r\n return;\r\n }\r\n\r\n this.loading = true;\r\n this.$http\r\n .get(`/api/AuxiliaryRegisters/${this.registerId}/structure`)\r\n .then(result => {\r\n this.register = new EditorRegister(result.data);\r\n this.$store.initialModel = _.cloneDeep(this.register);\r\n this.loading = false;\r\n })\r\n .catch(error => {\r\n this.loading = false;\r\n\r\n this.$vs.notify({\r\n title: this.$t('request.response.status.' + this.$helpers.errorStatusCode(error)),\r\n text: this.$helpers.errorText(error),\r\n color: 'danger',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n }).then(() => {\r\n this.$store.dispatch('setCurrentRegisterData', this.register);\r\n });\r\n },\r\n loadRegisterStructureWithEntities() {\r\n if (!this.claims.auxiliaryRegister.read) {\r\n return;\r\n }\r\n\r\n this.loading = true;\r\n const entryId = this.entryId;\r\n\r\n this.$http\r\n .get(`/api/AuxiliaryRegisters/${this.registerId}/values/${entryId}`)\r\n .then(result => {\r\n this.register = new EditorRegister(result.data);\r\n this.$store.initialModel = _.cloneDeep(this.register);\r\n this.loading = false;\r\n\r\n })\r\n .catch(error => {\r\n this.loading = false;\r\n\r\n this.$vs.notify({\r\n title: this.$t('request.response.status.' + this.$helpers.errorStatusCode(error)),\r\n text: this.$helpers.errorText(error),\r\n color: 'danger',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n }).then(() => {\r\n this.$store.dispatch('setCurrentRegisterData', this.register);\r\n });\r\n },\r\n getDynamicRegisterModelForSubmit() {\r\n if (!this.register || !this.register.panels) {\r\n return;\r\n }\r\n\r\n this.loading = true;\r\n this.files = [];\r\n let fieldsValues = [];\r\n\r\n this.register.panels.forEach(panel => {\r\n panel.components.forEach(component => {\r\n component.fieldValue.registerEntryId = this.entryId;\r\n component.fieldValue.id = component.fieldValue.id;\r\n component.fieldValue.registerFieldId = component.id;\r\n component.fieldValue.fieldType = component.fieldType;\r\n component.fieldValue.numberType = component.numberType;\r\n component.fieldValue.label = component.label;\r\n component.fieldValue.labelEn = component.labelEn;\r\n component.fieldValue.name = component.name;\r\n component.fieldValue.nameEn = component.nameEn;\r\n component.fieldValue.isMultiDropdown = component.isMultiDropdown;\r\n if (component.isMultiDropdown) {\r\n component.fieldValue.intValue = '';\r\n }\r\n fieldsValues.push(component.fieldValue);\r\n if (component.fieldType === ComponentType.FileUpload) {\r\n component.fieldValue.files.forEach(file => {\r\n this.files.push(file);\r\n });\r\n }\r\n });\r\n });\r\n\r\n const dynamicRegisterModel = new DynamicRegisterModel({\r\n fieldValues: fieldsValues,\r\n // people: this.people,\r\n // addresses: this.addresses,\r\n registerName: this.registerName,\r\n registerEntityExtension: this.register.registerEntityExtension,\r\n // savedFilesToDeleteIds: this.savedFilesToDelete\r\n });\r\n\r\n return dynamicRegisterModel;\r\n },\r\n/* uploadFiles(registerEntityId, dataToMap) {\r\n if (this.isNew) {\r\n this.files = [];\r\n this.register.panels.forEach(panel => {\r\n panel.components.forEach(component => {\r\n if (component.fieldType === ComponentType.FileUpload) {\r\n component.fieldValue.files.forEach(file => {\r\n this.files.push(file);\r\n });\r\n }\r\n });\r\n });\r\n\r\n if (this.isNew) {\r\n this.mapIdsToFiles(dataToMap);\r\n }\r\n }\r\n let formData = new FormData();\r\n\r\n const descriptionsJson = this.getFilesDescriptionsJson();\r\n this.files.forEach(file => {\r\n formData.append('files', file.content, file.fileName);\r\n });\r\n formData.append('descriptionJson', descriptionsJson);\r\n\r\n this.$http\r\n .post('/api/DynamicRegisters/UploadFiles', formData)\r\n .then(result => {\r\n this.$vs.notify({\r\n title: this.$t('notifications.success'),\r\n text: this.$t('notifications.successUploadingFiles'),\r\n color: 'success',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n\r\n if (this.isNew && registerEntityId > 0) {\r\n this.$router.push(`/registers/events/edit/${registerEntityId}`);\r\n } else {\r\n this.$router.go();\r\n }\r\n })\r\n .catch(error => {\r\n this.$vs.notify({\r\n title: this.$t('notifications.error'),\r\n text: this.$t('notifications.errorUploadingFiles'),\r\n color: 'danger',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n\r\n if (registerEntityId > 0) {\r\n this.$router.push(`/registers/events/edit/${registerEntityId}`);\r\n }\r\n });\r\n },\r\n mapIdsToFiles(ids) {\r\n this.files.forEach(file => {\r\n const uid = file.uid;\r\n const id = ids.resultList.findIndex(x => x.uid === uid);\r\n if (id) {\r\n file.registerEntityFieldValueId = ids.resultList[id].id;\r\n }\r\n });\r\n },\r\n getFilesDescriptionsJson() {\r\n let descriptions = [];\r\n let fileIndex = 0;\r\n this.files.forEach(file => {\r\n fileIndex++;\r\n file.fileName = `${fileIndex}_${file.fileName}`;\r\n descriptions.push({\r\n fileName: file.fileName,\r\n description: `${fileIndex}_${file.fileDescription}`,\r\n length: file.content.size,\r\n registerEntityFieldValueId: file.registerEntityFieldValueId\r\n });\r\n });\r\n\r\n return JSON.stringify(descriptions);\r\n } */\r\n handleResize() {\r\n this.window.width = window.innerWidth;\r\n this.window.height = window.innerHeight;\r\n }\r\n },\r\n mounted() {\r\n this.pageLoaded = true;\r\n\r\n if (this.isNew) {\r\n this.loadEmptyRegisterStructure();\r\n } else {\r\n this.loadRegisterStructureWithEntities();\r\n }\r\n },\r\n watch: {\r\n/* 'register': {\r\n immediate: true,\r\n deep: true,\r\n handler(newVal, oldVal) {\r\n this.areObjectsEqual = _.isEqual(newVal, this.$store.initialModel);\r\n }\r\n } */\r\n },\r\n computed: {\r\n ...mapGetters(['claims']),\r\n isNew() {\r\n return this.entryId === undefined || isNaN(this.entryId) || this.entryId <= 0;\r\n },\r\n isBgCulture() {\r\n return this.$store.getters.currentCulture === Culture.BG;\r\n }\r\n }\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.auxiliaryRegisterContainer {\r\n margin: 48px -15px 0 -15px;\r\n}\r\n\r\n.nav-tabs .nav-link.active {\r\n color: #009688;\r\n border-bottom: 1px solid #009688;\r\n}\r\n\r\n.nav-tabs .nav-link {\r\n color: #212529;\r\n border-bottom: 1px solid lightgrey;\r\n transition: border-color 1s;\r\n\r\n &:hover {\r\n text-decoration: none;\r\n color: #009688;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuxiliaryRegister.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuxiliaryRegister.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AuxiliaryRegister.vue?vue&type=template&id=3c735a91&scoped=true&\"\nimport script from \"./AuxiliaryRegister.vue?vue&type=script&lang=js&\"\nexport * from \"./AuxiliaryRegister.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AuxiliaryRegister.vue?vue&type=style&index=0&id=3c735a91&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3c735a91\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.title)?_c('h3',[_vm._v(_vm._s(_vm.title))]):_vm._e(),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'firstName' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.firstName')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.firstName),expression:\"person.firstName\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"readonly\":\"\",\"name\":'firstName' + _vm._uid,\"id\":'firstName' + _vm._uid},domProps:{\"value\":(_vm.person.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"firstName\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'surName' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.middleName')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.middleName),expression:\"person.middleName\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"id\":'surName' + _vm._uid,\"readonly\":\"\"},domProps:{\"value\":(_vm.person.middleName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"middleName\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'lastName' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.lastName')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.lastName),expression:\"person.lastName\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"readonly\":\"\",\"name\":'lastName' + _vm._uid,\"id\":'lastName' + _vm._uid},domProps:{\"value\":(_vm.person.lastName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"lastName\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group col-md-12 col-lg-8 col-xl-8\"},[_c('label',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('person.identification')))]),_c('person-identification-details',{attrs:{\"identification\":_vm.person.personIdentification}})],1),_c('div',{staticClass:\"form-group col-md-12 col-lg-4 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(_vm.$t('person.gender')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.genderType),expression:\"person.genderType\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"readonly\":\"\",\"name\":'denderType' + _vm._uid,\"id\":'denderType' + _vm._uid},domProps:{\"value\":(_vm.person.genderType)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"genderType\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'idCardNumber' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.idCardNumber')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.idCardNumber),expression:\"person.idCardNumber\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"readonly\":\"\",\"name\":'idCardNumber' + _vm._uid,\"id\":'idCardNumber' + _vm._uid},domProps:{\"value\":(_vm.person.idCardNumber)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"idCardNumber\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'idCardDateOfIssue' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.idCardDateOfIssue')))]),_c('date-only-picker',{attrs:{\"read\":\"\",\"enableTimePicker\":false,\"required\":false,\"readonly\":true,\"showTime\":false,\"id\":'idCardDateOfIssue' + _vm._uid,\"name\":'idCardDateOfIssue' + _vm._uid},model:{value:(_vm.person.idCardDateOfIssue),callback:function ($$v) {_vm.$set(_vm.person, \"idCardDateOfIssue\", $$v)},expression:\"person.idCardDateOfIssue\"}})],1),_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'idCardIssuedBy' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.idCardIssuedBy')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.idCardIssuedBy),expression:\"person.idCardIssuedBy\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":'idCardIssuedBy' + _vm._uid,\"id\":'idCardIssuedBy' + _vm._uid,\"readonly\":\"\"},domProps:{\"value\":(_vm.person.idCardIssuedBy)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"idCardIssuedBy\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'email' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('email')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.email),expression:\"person.email\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"readonly\":\"\",\"name\":'email' + _vm._uid,\"id\":'email' + _vm._uid},domProps:{\"value\":(_vm.person.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"email\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'phone' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.phone')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.phone),expression:\"person.phone\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"id\":'phone' + _vm._uid,\"readonly\":\"\"},domProps:{\"value\":(_vm.person.phone)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"phone\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'mobilePhone' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.mobilePhone')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.mobilePhone),expression:\"person.mobilePhone\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"id\":'mobilePhone' + _vm._uid,\"readonly\":\"\"},domProps:{\"value\":(_vm.person.mobilePhone)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"mobilePhone\", $event.target.value)}}})]),(_vm.showPositionStatistic)?_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'PositionStatistic' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.positionStatistic')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.positionStatisticDetails),expression:\"person.positionStatisticDetails\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"readonly\":\"\"},domProps:{\"value\":(_vm.person.positionStatisticDetails)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"positionStatisticDetails\", $event.target.value)}}})]):_vm._e(),(_vm.showPosition)?_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'position' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.position')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.isBgCulture? _vm.person.position : _vm.person.positionEn),expression:\"isBgCulture? person.position : person.positionEn\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"id\":'position' + _vm._uid,\"readonly\":\"\"},domProps:{\"value\":(_vm.isBgCulture? _vm.person.position : _vm.person.positionEn)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.isBgCulture? _vm.person.position : _vm.person, \"positionEn\", $event.target.value)}}})]):_vm._e(),(_vm.showPosition)?_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'positionStr' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.position')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.positionStr),expression:\"person.positionStr\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":'positionStr' + _vm._uid,\"id\":'positionStr' + _vm._uid,\"readonly\":\"\"},domProps:{\"value\":(_vm.person.positionStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"positionStr\", $event.target.value)}}})]):_vm._e(),(_vm.showDescription)?_c('div',{staticClass:\"form-group col-md-12\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'description' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.description')))]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.description),expression:\"person.description\"}],staticClass:\"form-control\",attrs:{\"rows\":\"3\",\"id\":'description' + _vm._uid,\"readonly\":\"\"},domProps:{\"value\":(_vm.person.description)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"description\", $event.target.value)}}})]):_vm._e(),(_vm.showExtended)?_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'Salutation' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.salutation')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.salutationDetails),expression:\"person.salutationDetails\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"readonly\":\"\"},domProps:{\"value\":(_vm.person.salutationDetails)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"salutationDetails\", $event.target.value)}}})]):_vm._e(),(_vm.showExtended)?_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'TitleDegree' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.titleDegree')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.titleDegreeDetails),expression:\"person.titleDegreeDetails\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"readonly\":\"\"},domProps:{\"value\":(_vm.person.titleDegreeDetails)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"titleDegreeDetails\", $event.target.value)}}})]):_vm._e(),(_vm.showExtended)?_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'EducationDegree' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('person.educationDegree')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.person.educationDegreeDetails),expression:\"person.educationDegreeDetails\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"readonly\":\"\"},domProps:{\"value\":(_vm.person.educationDegreeDetails)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.person, \"educationDegreeDetails\", $event.target.value)}}})]):_vm._e(),(_vm.showInstitution)?_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-6\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'institution' + _vm._uid}},[_vm._v(_vm._s(_vm.$t(\"person.institution\")))]),_c('div',{staticClass:\"form-control\",attrs:{\"readonly\":\"\"}},[_c('span',[_vm._v(_vm._s(_vm.person.institutionDetails))]),(_vm.person.institutionLocationDetails)?_c('span',[_vm._v(\" / \"+_vm._s(_vm.person.institutionLocationDetails))]):_vm._e()])]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"form-group col-12 px-0\"},[_c('div',{staticClass:\"input-group\"},[_c('div',{staticClass:\"col-6 col-md-4\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.identification.identificationType),expression:\"identification.identificationType\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"readonly\":\"\",\"name\":'identificationType' + _vm._uid},domProps:{\"value\":(_vm.identification.identificationType)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.identification, \"identificationType\", $event.target.value)}}})]),_c('div',{staticClass:\"col-6 col-md-8\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.identification.number),expression:\"identification.number\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"readonly\":\"\",\"name\":'identificationNumber' + _vm._uid},domProps:{\"value\":(_vm.identification.number)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.identification, \"number\", $event.target.value)}}})])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"row\">\r\n <div class=\"form-group col-12 px-0\">\r\n <div class=\"input-group\">\r\n <div class=\"col-6 col-md-4\">\r\n <input type=\"text\" class=\"form-control\" readonly\r\n v-model=\"identification.identificationType\"\r\n :name=\"'identificationType' + _uid\" />\r\n </div>\r\n <div class=\"col-6 col-md-8\">\r\n <input type=\"text\" class=\"form-control\" readonly\r\n v-model=\"identification.number\"\r\n :name=\"'identificationNumber' + _uid\" />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import { PersonIdentificationDetails } from '../../models/models';\r\n\r\n export default {\r\n props: {\r\n identification: {\r\n type: Object,\r\n default: new PersonIdentificationDetails({})\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n input[readonly] {\r\n background-color: whitesmoke;\r\n }\r\n\r\n textarea[readonly] {\r\n background-color: whitesmoke;\r\n }\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonIdentificationDetails.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonIdentificationDetails.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PersonIdentificationDetails.vue?vue&type=template&id=23e0fe98&scoped=true&\"\nimport script from \"./PersonIdentificationDetails.vue?vue&type=script&lang=js&\"\nexport * from \"./PersonIdentificationDetails.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PersonIdentificationDetails.vue?vue&type=style&index=0&id=23e0fe98&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23e0fe98\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <div>\r\n <h3 v-if=\"title\">{{title}}</h3>\r\n <div class=\"row\">\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'firstName' + _uid\">{{$t('person.firstName') }}</label>\r\n <input type=\"text\" class=\"form-control\" readonly\r\n v-model=\"person.firstName\"\r\n :name=\"'firstName' + _uid\"\r\n :id=\"'firstName' + _uid\">\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'surName' + _uid\">{{ $t('person.middleName') }}</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"person.middleName\" :id=\"'surName' + _uid\" readonly>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'lastName' + _uid\">{{ $t('person.lastName') }}</label>\r\n <input type=\"text\" class=\"form-control\" readonly\r\n v-model=\"person.lastName\"\r\n :name=\"'lastName' + _uid\"\r\n :id=\"'lastName' + _uid\">\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-8 col-xl-8\">\r\n <label class=\"font-weight-bold\">{{ $t('person.identification') }}</label>\r\n <person-identification-details\r\n :identification=\"person.personIdentification\"></person-identification-details>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-4 col-xl-4\">\r\n <label class=\"font-weight-bold\">{{ $t('person.gender') }}</label>\r\n <input type=\"text\" class=\"form-control\" readonly\r\n v-model=\"person.genderType\"\r\n :name=\"'denderType' + _uid\"\r\n :id=\"'denderType' + _uid\">\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'idCardNumber' + _uid\">{{ $t('person.idCardNumber') }}</label>\r\n <input type=\"text\"\r\n readonly\r\n class=\"form-control\"\r\n v-model=\"person.idCardNumber\"\r\n :name=\"'idCardNumber' + _uid\"\r\n :id=\"'idCardNumber' + _uid\"/>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'idCardDateOfIssue' + _uid\">{{ $t('person.idCardDateOfIssue')\r\n }}</label>\r\n <date-only-picker v-model=\"person.idCardDateOfIssue\"\r\n read\r\n :enableTimePicker=\"false\"\r\n :required=\"false\"\r\n :readonly=\"true\"\r\n :showTime=\"false\"\r\n :id=\"'idCardDateOfIssue' + _uid\"\r\n :name=\"'idCardDateOfIssue' + _uid\">\r\n </date-only-picker>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'idCardIssuedBy' + _uid\">{{ $t('person.idCardIssuedBy') }}</label>\r\n <input type=\"text\"\r\n class=\"form-control\"\r\n v-model=\"person.idCardIssuedBy\"\r\n :name=\"'idCardIssuedBy' + _uid\"\r\n :id=\"'idCardIssuedBy' + _uid\"\r\n readonly/>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'email' + _uid\">{{ $t('email') }}</label>\r\n <input type=\"text\" class=\"form-control\" readonly\r\n v-model=\"person.email\"\r\n :name=\"'email' + _uid\"\r\n :id=\"'email' + _uid\">\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'phone' + _uid\">{{ $t('person.phone') }}</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"person.phone\" :id=\"'phone' + _uid\" readonly>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'mobilePhone' + _uid\">{{ $t('person.mobilePhone') }}</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"person.mobilePhone\" :id=\"'mobilePhone' + _uid\"\r\n readonly>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\" v-if=\"showPositionStatistic\">\r\n <label class=\"font-weight-bold\" :for=\"'PositionStatistic' + _uid\">{{ $t('person.positionStatistic')\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"person.positionStatisticDetails\" readonly>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\" v-if=\"showPosition\">\r\n <label class=\"font-weight-bold\" :for=\"'position' + _uid\">{{ $t('person.position') }}</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"isBgCulture? person.position : person.positionEn\"\r\n :id=\"'position' + _uid\" readonly>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\" v-if=\"showPosition\">\r\n <label class=\"font-weight-bold\" :for=\"'positionStr' + _uid\">{{ $t('person.position') }}</label>\r\n <input type=\"text\"\r\n class=\"form-control\"\r\n v-model=\"person.positionStr\"\r\n :name=\"'positionStr' + _uid\"\r\n :id=\"'positionStr' + _uid\"\r\n readonly/>\r\n </div>\r\n <div class=\"form-group col-md-12\" v-if=\"showDescription\">\r\n <label class=\"font-weight-bold\" :for=\"'description' + _uid\">{{ $t('person.description') }}</label>\r\n <textarea rows=\"3\" class=\"form-control\" v-model=\"person.description\" :id=\"'description' + _uid\"\r\n readonly></textarea>\r\n </div>\r\n\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\" v-if=\"showExtended\">\r\n <label class=\"font-weight-bold\" :for=\"'Salutation' + _uid\">{{ $t('person.salutation') }}</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"person.salutationDetails\" readonly>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\" v-if=\"showExtended\">\r\n <label class=\"font-weight-bold\" :for=\"'TitleDegree' + _uid\">{{ $t('person.titleDegree') }}</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"person.titleDegreeDetails\" readonly>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\" v-if=\"showExtended\">\r\n <label class=\"font-weight-bold\" :for=\"'EducationDegree' + _uid\">{{ $t('person.educationDegree')\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" v-model=\"person.educationDegreeDetails\" readonly>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-6\" v-if=\"showInstitution\">\r\n <label class=\"font-weight-bold\" :for=\"'institution' + _uid\">{{$t(\"person.institution\")}}</label>\r\n <div class=\"form-control\" readonly>\r\n <span>{{person.institutionDetails}}</span>\r\n <span v-if=\"person.institutionLocationDetails\"> / {{person.institutionLocationDetails}}</span>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\n import {PersonDetails} from '../../models/models';\r\n import PersonIdentificationDetails from '../person/PersonIdentificationDetails';\r\n import DateOnlyPicker from '../datepicker/DateOnlyPicker';\r\n import {Culture} from '../../models/enums';\r\n\r\n export default {\r\n props: {\r\n person: PersonDetails,\r\n showDescription: {\r\n type: Boolean,\r\n default: false\r\n },\r\n showPosition: {\r\n type: Boolean,\r\n default: true\r\n },\r\n showDescription: {\r\n type: Boolean,\r\n default: false\r\n },\r\n showExtended: {\r\n type: Boolean,\r\n default: false\r\n },\r\n showPositionStatistic:{\r\n type: Boolean,\r\n default: true\r\n },\r\n showInstitution:{\r\n type: Boolean,\r\n default: true\r\n },\r\n title: String\r\n },\r\n components: {\r\n PersonIdentificationDetails,\r\n DateOnlyPicker\r\n },\r\n data() {\r\n return {}\r\n },\r\n computed: {\r\n isBgCulture() {\r\n return this.$store.getters.currentCulture === Culture.BG;\r\n }\r\n },\r\n mounted() {\r\n\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n input[readonly] {\r\n background-color: whitesmoke;\r\n }\r\n\r\n div[readonly] {\r\n background-color: whitesmoke;\r\n }\r\n\r\n textarea[readonly] {\r\n background-color: whitesmoke;\r\n }\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonDetails.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonDetails.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PersonDetails.vue?vue&type=template&id=561e897e&scoped=true&\"\nimport script from \"./PersonDetails.vue?vue&type=script&lang=js&\"\nexport * from \"./PersonDetails.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PersonDetails.vue?vue&type=style&index=0&id=561e897e&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"561e897e\",\n null\n \n)\n\nexport default component.exports","import { RegisterEventBus } from '@/buses/register-bus.js';\r\nimport { AccommodationType, FieldCodes } from '@/models/enums';\r\nimport moment from 'moment';\r\nimport store from '@/store/store';\r\n\r\nclass DynamicFieldChangeHandler {\r\n getFieldCode(model) {\r\n return model.fieldCode;\r\n };\r\n\r\n eventStartDateChangeHandler(newValue, oldValue, model, register) {\r\n if (!store.getters.appSettings.recalcSubscriptionDates) return;\r\n\r\n if (!model || !register || !register.panels) return;\r\n\r\n for (var i = 0; i < register.panels.length; i++) {\r\n const panel = register.panels[i];\r\n if (!panel.components) continue;\r\n\r\n for (var j = 0; j < panel.components.length; j++) {\r\n let component = panel.components[j];\r\n\r\n if (component.fieldCode === FieldCodes.EventSubscriptionStartDate) {\r\n if (model.fieldValue.datetimeValue) {\r\n // From Kendo DatePicker comes GMT date\r\n let dateUtc = moment.utc(model.fieldValue.datetimeValue);\r\n const utcStr = dateUtc.add(-30, 'days').toISOString();\r\n if (utcStr) {\r\n // Z index has to be removed\r\n component.fieldValue.datetimeValue = utcStr.replace('Z', '');\r\n }\r\n\r\n if (RegisterEventBus) {\r\n RegisterEventBus.$emit(`component-${component.fieldCode}-${component.id}-reset`)\r\n }\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n\r\n eventEndDateChangeHandler(newValue, oldValue, model, register) {\r\n if (!store.getters.appSettings.recalcSubscriptionDates) return;\r\n\r\n if (!model || !register || !register.panels) return;\r\n\r\n for (var i = 0; i < register.panels.length; i++) {\r\n const panel = register.panels[i];\r\n if (!panel.components) continue;\r\n\r\n for (var j = 0; j < panel.components.length; j++) {\r\n let component = panel.components[j];\r\n\r\n if (component.fieldCode === FieldCodes.EventSubscriptionEndDate) {\r\n if (model.fieldValue.datetimeValue) {\r\n // From Kendo DatePicker comes GMT date\r\n let dateUtc = moment.utc(model.fieldValue.datetimeValue);\r\n const utcStr = dateUtc.add(-20, 'days').toISOString();\r\n if (utcStr) {\r\n // Z index has to be removed\r\n component.fieldValue.datetimeValue = utcStr.replace('Z', '');\r\n }\r\n\r\n if (RegisterEventBus) {\r\n RegisterEventBus.$emit(`component-${component.fieldCode}-${component.id}-reset`)\r\n }\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n\r\n\teventAccommodationTypeChangeHandler(newValue, oldValue, model, register) {\r\n\t\tif (newValue == AccommodationType.WithourAccommodation) {\r\n\t\t\tconst panel = register.panels.filter(p => p.components.filter(c => c.fieldCode === FieldCodes.AccommodationType).length > 0)[0];\r\n\t\t\tif (panel && panel.components && panel.components.length > 0) {\r\n\t\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.LastDayForBooking, true);\r\n\t\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.EventAccommodationPlaceName, true);\r\n\t\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.AccommodationAddress, true);\r\n\t\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.EventStayFrom, true);\r\n\t\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.EventStayTo, true);\r\n\t\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.EventDailyAllowanceFrom, true);\r\n\t\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.EventDailyAllowanceTo, true);\r\n\t\t\t}\r\n\t\t} else if (oldValue == AccommodationType.WithourAccommodation) {\r\n\t\t\tconst panel = register.panels.filter(p => p.components.filter(c => c.fieldCode === FieldCodes.AccommodationType).length > 0)[0];\r\n\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.LastDayForBooking, false);\r\n\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.EventAccommodationPlaceName, false);\r\n\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.AccommodationAddress, false);\r\n\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.EventStayFrom, false);\r\n\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.EventStayTo, false);\r\n\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.EventDailyAllowanceFrom, false);\r\n\t\t\tthis.setComponentWithCodeToReadonly(panel.components, FieldCodes.EventDailyAllowanceTo, false);\r\n\t\t}\r\n\t}\r\n\r\n\tsetComponentWithCodeToReadonly(components, code, isReadonly) {\r\n let component = components.filter(c => c.fieldCode === code)[0];\r\n if (component) {\r\n component.isReadOnly = isReadonly;\r\n\t\t}\r\n\t}\r\n\r\n onChangeHandler(newValue, oldValue, model, register) {\r\n const fieldCode = this.getFieldCode(model);\r\n if (!fieldCode) return;\r\n\r\n switch (fieldCode) {\r\n case FieldCodes.EventStartDate:\r\n this.eventStartDateChangeHandler(newValue, oldValue, model, register);\r\n break;\r\n case FieldCodes.EventEndDate:\r\n this.eventEndDateChangeHandler(newValue, oldValue, model, register)\r\n break;\r\n\t\t\tcase FieldCodes.AccommodationType:\r\n\t\t\t\tthis.eventAccommodationTypeChangeHandler(newValue, oldValue, model, register)\r\n\t\t\t\tbreak;\r\n default:\r\n break;\r\n }\r\n }\r\n}\r\n\r\nexport default new DynamicFieldChangeHandler();\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{staticClass:\"col-md-8 mx-auto\"},[(_vm.loading)?_c('div',{staticClass:\"loader\"}):_vm._e(),(!_vm.loading)?_c('div',[_c('div',{staticClass:\"btn-group\",attrs:{\"role\":\"group\",\"aria-label\":\"Basic example\"}},[_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.backToRegister}},[_c('i',{staticClass:\"fas fa-th-list\"}),_vm._v(\" \"+_vm._s(_vm.$t('backToList'))+\"\\n \")])]),_c('page-title',{attrs:{\"title\":_vm.$t('registers.mentors.title')}}),_c('div',{staticClass:\"card mt-3\"},[_c('div',{staticClass:\"card-header bg-primary text-white\"},[_c('div',{staticClass:\"card-title h5 m-0\"},[_vm._v(_vm._s(_vm.$t('personalData')))])]),_c('div',{staticClass:\"card-body\"},[_c('person',{attrs:{\"person\":_vm.mentor.person,\"show-extended\":true,\"requiredIdentification\":false}}),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'directorate' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('registers.mentors.gridHeaders.directorate')))]),_c('nomenclature-dropdown',{attrs:{\"load-by-parent-sort\":true,\"parent-sort\":_vm.nomenclature.Directorate,\"fieldName\":_vm.$t('registers.mentors.gridHeaders.directorate')},model:{value:(_vm.mentor.directorateId),callback:function ($$v) {_vm.$set(_vm.mentor, \"directorateId\", $$v)},expression:\"mentor.directorateId\"}})],1),_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'title' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('registers.mentors.gridHeaders.id')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.mentor.id),expression:\"mentor.id\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"id\":'id' + _vm._uid,\"readonly\":\"\"},domProps:{\"value\":(_vm.mentor.id)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.mentor, \"id\", $event.target.value)}}})])])],1)]),_c('div',{staticClass:\"card mt-3\"},[_c('div',{staticClass:\"card-header bg-primary text-white\"},[_c('div',{staticClass:\"card-title h5 m-0\"},[_vm._v(_vm._s(_vm.$t('registers.mentors.gridHeaders.reasonForJoiningLikeMentor'))+\"\\n \")])]),_c('div',{staticClass:\"card-body row\"},[_c('div',{staticClass:\"form-group col-lg-12\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'managementBoardDecision' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('registers.mentors.gridHeaders.decision')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.mentor.decisionForJoiningMentor),expression:\"mentor.decisionForJoiningMentor\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"id\":'managementBoardDecision' + _vm._uid},domProps:{\"value\":(_vm.mentor.decisionForJoiningMentor)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.mentor, \"decisionForJoiningMentor\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'title' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('registers.mentors.gridHeaders.startDate')))]),_c('datepicker',{model:{value:(_vm.mentor.startDateMentoring),callback:function ($$v) {_vm.$set(_vm.mentor, \"startDateMentoring\", $$v)},expression:\"mentor.startDateMentoring\"}})],1),_c('div',{staticClass:\"form-group col-md-12 col-lg-6 col-xl-4\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'title' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('registers.mentors.gridHeaders.endDate')))]),_c('datepicker',{model:{value:(_vm.mentor.endDateMentoring),callback:function ($$v) {_vm.$set(_vm.mentor, \"endDateMentoring\", $$v)},expression:\"mentor.endDateMentoring\"}})],1),_c('div',{staticClass:\"form-group col-12\"},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'additionalInfo' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('registers.mentors.gridHeaders.additionalInfo')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.mentor.additionalInfoMentoring),expression:\"mentor.additionalInfoMentoring\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"id\":'additionalInfo' + _vm._uid},domProps:{\"value\":(_vm.mentor.additionalInfoMentoring)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.mentor, \"additionalInfoMentoring\", $event.target.value)}}})])])]),_c('div',{staticClass:\"card mt-3\"},[_c('div',{staticClass:\"card-header bg-primary text-white\"},[_c('div',{staticClass:\"card-title h5 m-0\"},[_vm._v(_vm._s(_vm.$t('registers.participants.title')))])]),_c('div',{staticClass:\"card-body\"},[_vm._l((_vm.mentor.participantsDetails),function(participant,index){return _c('div',{key:index},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'title' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('registers.participants.gridHeaders.participant')))]),_c('div',{staticClass:\"k-display-inline-flex\"},[_c('person-details',{attrs:{\"person\":participant}}),_c('i',{staticClass:\"fas fa-trash-alt k-align-self-center btn-danger pointer position-relative\",on:{\"click\":function($event){return _vm.removeParticipantDetails(participant,index)}}})],1),_c('hr')])}),_vm._l((_vm.mentor.participants),function(participant,index){return _c('div',{key:index},[_c('label',{staticClass:\"font-weight-bold\",attrs:{\"for\":'title' + _vm._uid}},[_vm._v(_vm._s(_vm.$t('registers.participants.gridHeaders.participant')))]),_c('div',{staticClass:\"k-display-inline-flex\"},[_c('person',{attrs:{\"personSearchType\":_vm.personTypeSearch,\"person\":participant,\"allow-input\":false,\"requiredIdentification\":false}}),_c('i',{staticClass:\"fas fa-trash-alt k-align-self-center btn-danger pointer position-relative\",on:{\"click\":function($event){return _vm.removeParticipant(index)}}})],1),_c('hr')])}),((_vm.mentor.participants.length + _vm.mentor.participantsDetails.length) < 2)?_c('div',[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.addParticipant}},[_vm._v(_vm._s(_vm.$t('registers.mentors.gridHeaders.addParticipant'))+\"\\n \")])]):_vm._e()],2)]),_c('AuxiliaryRegister',{ref:\"auxiliaryRegisterRef\",attrs:{\"register-id\":_vm.AuxiliaryRegisters.Mentors,\"register-name\":\"Mentor\",\"entry-id\":_vm.mentor.auxRegisterEntityId}}),_c('div',{staticClass:\"text-center mt-3\"},[_c('button',{staticClass:\"btn btn-primary btn\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.onSubmit}},[_c('i',{staticClass:\"fas fa-save\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('buttons.save.btnText'))+\"\\n \")])])],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <form class=\"col-md-8 mx-auto\">\r\n <div class=\"loader\" v-if=\"loading\"></div>\r\n <div v-if=\"!loading\">\r\n <div class=\"btn-group\" role=\"group\" aria-label=\"Basic example\">\r\n <button type=\"button\"\r\n class=\"btn btn-primary\"\r\n @click=\"backToRegister\">\r\n <i class=\"fas fa-th-list\"></i> {{ $t('backToList') }}\r\n </button>\r\n </div>\r\n <page-title :title=\"$t('registers.mentors.title')\"></page-title>\r\n <div class=\"card mt-3\">\r\n <div class=\"card-header bg-primary text-white\">\r\n <div class=\"card-title h5 m-0\">{{ $t('personalData') }}</div>\r\n </div>\r\n <div class=\"card-body\">\r\n <person :person=\"mentor.person\"\r\n :show-extended=\"true\"\r\n :requiredIdentification=\"false\"></person>\r\n <div class=\"row\">\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'directorate' + _uid\">{{\r\n $t('registers.mentors.gridHeaders.directorate') }}</label>\r\n <nomenclature-dropdown :load-by-parent-sort=\"true\"\r\n :parent-sort=\"nomenclature.Directorate\"\r\n v-model=\"mentor.directorateId\"\r\n :fieldName=\"$t('registers.mentors.gridHeaders.directorate')\"></nomenclature-dropdown>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'title' + _uid\">{{\r\n $t('registers.mentors.gridHeaders.id')\r\n }}</label>\r\n <input type=\"text\" class=\"form-control\" :id=\"'id' + _uid\"\r\n v-model=\"mentor.id\" readonly>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card mt-3\">\r\n <div class=\"card-header bg-primary text-white\">\r\n <div class=\"card-title h5 m-0\">{{ $t('registers.mentors.gridHeaders.reasonForJoiningLikeMentor') }}\r\n </div>\r\n </div>\r\n <div class=\"card-body row\">\r\n <div class=\"form-group col-lg-12\">\r\n <label class=\"font-weight-bold\" :for=\"'managementBoardDecision' + _uid\">{{\r\n $t('registers.mentors.gridHeaders.decision') }}</label>\r\n <input type=\"text\" class=\"form-control\" :id=\"'managementBoardDecision' + _uid\"\r\n v-model=\"mentor.decisionForJoiningMentor\">\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'title' + _uid\">{{\r\n $t('registers.mentors.gridHeaders.startDate')}}</label>\r\n <datepicker v-model=\"mentor.startDateMentoring\"></datepicker>\r\n </div>\r\n <div class=\"form-group col-md-12 col-lg-6 col-xl-4\">\r\n <label class=\"font-weight-bold\" :for=\"'title' + _uid\">{{\r\n $t('registers.mentors.gridHeaders.endDate')}}</label>\r\n <datepicker v-model=\"mentor.endDateMentoring\"></datepicker>\r\n </div>\r\n <div class=\"form-group col-12\">\r\n <label class=\"font-weight-bold\" :for=\"'additionalInfo' + _uid\">{{\r\n $t('registers.mentors.gridHeaders.additionalInfo') }}</label>\r\n <input type=\"text\" class=\"form-control\" :id=\"'additionalInfo' + _uid\"\r\n v-model=\"mentor.additionalInfoMentoring\">\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card mt-3\">\r\n <div class=\"card-header bg-primary text-white\">\r\n <div class=\"card-title h5 m-0\">{{ $t('registers.participants.title') }}</div>\r\n </div>\r\n <div class=\"card-body\">\r\n <div v-for=\"(participant,index) in mentor.participantsDetails\" :key=\"index\">\r\n <label class=\"font-weight-bold\" :for=\"'title' + _uid\">{{\r\n $t('registers.participants.gridHeaders.participant')}}</label>\r\n <div class=\"k-display-inline-flex\">\r\n <person-details :person=\"participant\"></person-details>\r\n <i class=\"fas fa-trash-alt k-align-self-center btn-danger pointer position-relative\"\r\n @click=\"removeParticipantDetails(participant,index)\"></i>\r\n </div>\r\n <hr>\r\n </div>\r\n <div v-for=\"(participant,index) in mentor.participants\" :key=\"index\">\r\n <label class=\"font-weight-bold\" :for=\"'title' + _uid\">{{\r\n $t('registers.participants.gridHeaders.participant')}}</label>\r\n <div class=\"k-display-inline-flex\">\r\n <person :personSearchType=\"personTypeSearch\" :person=\"participant\"\r\n :allow-input=\"false\"\r\n :requiredIdentification=\"false\"></person>\r\n <i class=\"fas fa-trash-alt k-align-self-center btn-danger pointer position-relative\"\r\n @click=\"removeParticipant(index)\"></i>\r\n </div>\r\n <hr>\r\n </div>\r\n <div v-if=\"(mentor.participants.length + mentor.participantsDetails.length) < 2\">\r\n <button type=\"button\" class=\"btn btn-secondary\" @click=\"addParticipant\">{{\r\n $t('registers.mentors.gridHeaders.addParticipant') }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <AuxiliaryRegister ref=\"auxiliaryRegisterRef\"\r\n :register-id=\"AuxiliaryRegisters.Mentors\"\r\n register-name=\"Mentor\"\r\n :entry-id=\"mentor.auxRegisterEntityId\"></AuxiliaryRegister>\r\n\r\n <div class=\"text-center mt-3\">\r\n <button type=\"button\" class=\"btn btn-primary btn\" @click=\"onSubmit\">\r\n <i class=\"fas fa-save\"></i>\r\n {{ $t('buttons.save.btnText') }}\r\n </button>\r\n </div>\r\n </div>\r\n </form>\r\n</template>\r\n\r\n<script>\r\n import PersonComponent from '../../../components/person/Person';\r\n import { Mentor, InstitutionDetails, Person } from '@/models/models'\r\n import DatePicker from '../../../components/datepicker/DatePicker';\r\n import NomenclatureDropdown from '../../../components/dropdown/NomenclatureDropdown';\r\n import { NomenclatureParentBySort, PersonSearchType, AuxiliaryRegisters } from '@/models/enums';\r\n import PersonDetails from \"../../../components/person/PersonDetails\";\r\n import PageTitle from '../../../components/common/PageTitle';\r\n import AuxiliaryRegister from '@/components/dynamic/AuxiliaryRegister';\r\n\r\n export default {\r\n components: {\r\n PersonDetails,\r\n NomenclatureDropdown,\r\n 'person': PersonComponent,\r\n 'datepicker': DatePicker,\r\n 'person-details': PersonDetails,\r\n PageTitle,\r\n AuxiliaryRegister\r\n },\r\n data() {\r\n return {\r\n nomenclature: NomenclatureParentBySort,\r\n id: '',\r\n mentor: new Mentor(),\r\n institution: new InstitutionDetails(),\r\n personTypeSearch: PersonSearchType.Participant,\r\n loading: false,\r\n AuxiliaryRegisters: AuxiliaryRegisters\r\n }\r\n },\r\n methods: {\r\n onSubmit() {\r\n this.$validator.validateAll().then(result => {\r\n if (result) {\r\n this.mentor.auxRegisterModel = this.$refs.auxiliaryRegisterRef.getDynamicRegisterModelForSubmit();\r\n if (this.id) {\r\n this.edit();\r\n } else {\r\n this.create();\r\n }\r\n }\r\n });\r\n },\r\n addParticipant() {\r\n this.mentor.participants.push(new Person());\r\n },\r\n removeParticipant(index) {\r\n this.mentor.participants.splice(index, 1);\r\n },\r\n removeParticipantDetails(person, index) {\r\n this.mentor.participantsDetails.splice(index, 1);\r\n this.mentor.deletedParticipants.push(person.id);\r\n },\r\n backToRegister() {\r\n this.$router.push('/registers/mentor');\r\n },\r\n edit() {\r\n this.loading = true;\r\n this.$http.put('/api/mentor', this.mentor).then(result => {\r\n this.loading = false;\r\n this.$vs.notify({\r\n title: this.$t('notifications.success'),\r\n text: this.$t('notifications.successfulSavedData'),\r\n position: 'top-center',\r\n color: 'success'\r\n });\r\n this.backToRegister();\r\n }).catch(error => {\r\n this.loading = false;\r\n this.$vs.notify({\r\n title: this.$t('request.response.status.' + this.$helpers.errorStatusCode(error)),\r\n text: this.$helpers.errorText(error),\r\n color: 'danger',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n });\r\n },\r\n create() {\r\n this.loading = true;\r\n this.$http.post('/api/mentor', this.mentor).then(result => {\r\n this.loading = false;\r\n this.$vs.notify({\r\n title: this.$t('notifications.success'),\r\n text: this.$t('notifications.successfulSavedData'),\r\n position: 'top-center',\r\n color: 'success'\r\n });\r\n this.backToRegister();\r\n }).catch(error => {\r\n this.loading = false;\r\n this.$vs.notify({\r\n title: this.$t('request.response.status.' + this.$helpers.errorStatusCode(error)),\r\n text: this.$helpers.errorText(error),\r\n color: 'danger',\r\n time: this.$store.getters.notificationDuration\r\n });\r\n });\r\n },\r\n loadData() {\r\n this.loading = true;\r\n this.$http.get(`/api/mentor/${this.id}`).then(result => {\r\n this.mentor = new Mentor(result.data);\r\n this.loading = false;\r\n }).catch(error => {\r\n this.loading = false;\r\n // TODO:\r\n });\r\n }\r\n },\r\n watch: {\r\n 'mentor.institutionId'(newVal, oldVal) {\r\n if (this.mentor.institutionId !== undefined\r\n && this.mentor.institutionId !== '' &&\r\n this.mentor.institutionId != null) {\r\n this.$http.get(`/api/Institution/GetDetails/${this.mentor.institutionId}`).then(result => {\r\n this.institution = new InstitutionDetails(result.data);\r\n });\r\n }\r\n if (newVal === 0) {\r\n this.mentor.institutionId = '';\r\n }\r\n },\r\n 'mentor.startDateMentoring'(newVal, oldVal) {\r\n if (newVal !== '' && newVal != null && newVal !== undefined) {\r\n let year = new Date(newVal).getFullYear();\r\n let date = new Date(newVal).setFullYear(year + 1);\r\n let dateUTC = new Date(date).toUTCString();\r\n this.mentor.endDateMentoring = dateUTC;\r\n } else {\r\n this.mentor.endDateMentoring = new Date();\r\n }\r\n }\r\n },\r\n mounted() {\r\n this.id = this.$route.params.id;\r\n if (this.id) {\r\n this.loadData();\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n input[readonly] {\r\n background-color: whitesmoke;\r\n }\r\n\r\n textarea[readonly] {\r\n background-color: whitesmoke;\r\n }\r\n</style>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Mentor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Mentor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Mentor.vue?vue&type=template&id=78ca3782&scoped=true&\"\nimport script from \"./Mentor.vue?vue&type=script&lang=js&\"\nexport * from \"./Mentor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Mentor.vue?vue&type=style&index=0&id=78ca3782&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"78ca3782\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}