{"version":3,"sources":["Engine/EngineContext.js","components/common/Section.js","EngineForms/ComboBox.js","routes.js","Engine/Common.js","Engine/RelationController.js","Pishgam/TBSample.js","Engine/BaseInstance.js","Pishgam/AdminReportHeader.js","Engine/BasePropertyController.js","Pishgam/Logo.js","layouts/ErrorLayout.js","Engine/InstanceController.js","components/common/Toast.js","assets/img/products sync /^/.*/.jpg$","assets/img/products/1.jpg","assets/img/products/4.jpg","assets/img/products/BK.jpg","assets/img/products/BloodControl.jpg","assets/img/products/BloodSmear.jpg","assets/img/products/CardiacMarker.jpg","assets/img/products/Coagulation.jpg","assets/img/products/GramStain.jpg","assets/img/products/HBV.jpg","assets/img/products/HbA1c.jpg","assets/img/products/Immunoserology.jpg","assets/img/products/Maternalserumscreening.jpg","assets/img/products/Mycology.jpg","assets/img/products/P1.jpg","assets/img/products/P2.jpg","assets/img/products/P3.jpg","assets/img/products/Parasitology.jpg","assets/img/products/Serology.jpg","assets/img/products/TB.jpg","assets/img/products/Torch.jpg","assets/img/products/Urine Protein.jpg","assets/img/products/bacteriology.jpg","assets/img/products/biochemystry.jpg","assets/img/products/immunohemathology.jpg","assets/img/products/wright.jpg","assets/img/products/year.jpg","layouts lazy /^.*$/ groupOptions: {} namespace object","Pishgam/MessageDefinition.js","App.js","helpers/toggleStylesheet.js","Main.js","helpers/initFA.js","index.js","Forms/InstanceDataGrid.js","PGIAdminroutes.js","Forms/StaticForm/EmployeForm.js","Forms/Relation/RelationForm.js","Forms/InstanceForm/InstanceForm.js","Forms/PanelForm.js","Forms/FormRouter.js","Pishgam/survey/SurveyInstance.js","EngineForms/DateControl.js","EngineForms/ComboMultiControl.js","EngineForms/ReadonlyObjectControl.js","EngineDeveloper/FormBuilder/CellEditor.js","EngineForms/Controls/InstanceControl.js","EngineForms/CellControl.js","Pishgam/Certificate/CertificateContext.js","Pishgam/PishgamContext.js","components/common/Flex.js","Pishgam/Lab/ResetPassword.js","layouts/AuthCardLayout.js","Pishgam/AnswerSheet/TBAnswerSheet.js","Condition/BitCondition.js","Condition/WhereCondition.js","Pishgam/ConstIdes.js","components/common/Background.js","Pishgam/Lab/SectionGroup.js","Pishgam/Lab/SurveyCard.js","layouts/LabDashboard.js","EngineForms/SearchControl.js","Forms/FormSelector.js","Pishgam/AnswerSheet/bactery/BacteryAnswerSheet.js","Pishgam/Certificate/CertificateComponent.js","Pishgam/anonymousPages/CertificationPage.js","components/navbar/ProfileDropdown.js","Shop/shopping-cart/CartNotification.js","components/navbar/TopNavRightSideNavItem.js","components/navbar/NavbarTop.js","components/navbar/NavbarVerticalMenuItem.js","components/navbar/NavbarVerticalMenu.js","components/navbar/ToggleButton.js","components/navbar/NavbarVertical.js","components/joi/JoiCheckBox.js","components/joi/JoiInput.js","components/joi/JoiSourceSelector.js","Forms/InstanceForm/InstanceCell.js","Pishgam/AnswerSheet/MorfologyCard.js","Pishgam/AnswerSheet/MorfologyCellCounter.js","Pishgam/HBVSample.js","Pishgam/AnswerSheet/HBVAnswerSheet.js","components/joi/DateControl.js","assets/img/pishgam/line-chart.png","helpers/createMarkup.js","Engine/ConditionMaker.js","components/common/ButtonIcon.js","Pishgam/survey/Survey.js","helpers/handleNavbarTransparency.js","components/navbar/LandingRightSideNavItem.js","components/navbar/NavbarStandard.js","EngineForms/ThemeControl.js","components/common/Avatar.js","components/joi/JoiMultiValueItem.js","components/joi/JoiSearchBox.js","helpers/utils.js","Engine/BaseSetting.js","layouts/Layout.js","layouts/OnlineSupport.js","layouts/PGIAdminLayout.js","layouts/AdminPath.js","Pishgam/LoginForm.js","layouts/PGILabLayout.js","Pishgam/TestControl.js","Pishgam/Mode2PreReport.js","Pishgam/TreeDataGrid.js","Pishgam/Mode2PreReportCA.js","Pishgam/SendingProccess.js","Pishgam/AnswerSheet/MorfologyExpAnswer.js","Pishgam/ParasiteExpectedAnswer.js","Pishgam/AnswerSheet/BKExpectAnswer.js","Pishgam/AnswerSheet/TorchAnswerRow.js","Pishgam/AnswerSheet/TorchExpectedAnsawer.js","Pishgam/AnswerSheet/WrightExpectedAnswer.js","Pishgam/AnswerSheet/SerologyExpectedAnswer.js","Pishgam/AnswerSheet/BloodControlReport.js","Pishgam/AnswerSheet/BloodBank/ABOExpectedAnswer.js","Pishgam/AnswerSheet/BloodBank/CrossExpectedAnswer.js","Pishgam/AnswerSheet/BloodBank/AbExpectedAnswer.js","Pishgam/AnswerSheet/bactery/BacteryExpectedAnswer.js","Shop/InvoiceReport.js","Pishgam/AnswerSheet/HBVExpectedAnswer.js","Pishgam/AnswerSheet/TBExpectedAnswer.js","Shop/AdminInvoice.js","Pishgam/Admin/AdminAnswersComponent.js","Pishgam/AnswerSheet/FungusExpectedAnswer.js","Pishgam/OnlineUserList.js","Pishgam/Certificate/AdminCertificate.js","Pishgam/Admin/AdminSendingQuery.js","layouts/PDIDashboard.js","components/landing/Banner.js","data/partner/partnerList.js","components/landing/Partners.js","data/feature/processList.js","components/landing/Process.js","components/landing/SectionHeader.js","components/landing/Processes.js","data/feature/serviceList.js","components/landing/CardService.js","components/landing/Services.js","data/testimonial/testimonialList.js","components/landing/Testimonial.js","components/landing/Cta.js","data/footer/menuList1.js","components/landing/FooterStandard.js","Pishgam/anonymousPages/HeaderFooter.js","components/landing/Landing.js","Pishgam/anonymousPages/AboutUs.js","Pishgam/anonymousPages/NewLaboratory.js","layouts/AnonymousLayout.js","Forms/Design/ColDesigner.js","Forms/Design/RowDesigner.js","components/joi/JoiComboBox.js","Forms/Design/InstanceControlBuilder.js","components/joi/JoiAccordion.js","components/joi/JoiMultiLanInput.js","components/joi/JoiBaseProperty.js","Developer/BasePropertyHandler.js","Developer/ObjectClassHandler.js","Developer/RowSetting.js","Developer/InstancePresentaionDesigner.js","Developer/FormBuilder.js","Forms/Design/PanelRow.js","Forms/SimpleControl/ComboBox.js","Forms/Design/PanelSetting.js","Forms/Design/PanelControl.js","Developer/FormTester.js","Pishgam/HistoryChart.js","Forms/Reports/AnalyticsHistogram.js","Forms/SimpleControl/SimpleLineChart.js","Forms/Reports/AnalyticsReportFormat1.js","Forms/Design/ReportBuilder.js","Condition/ConditionalClassReport.js","layouts/DashboardLayout.js","Forms/InstanceDataList.js","Pishgam/Lab/LabratoaryReports.js","Pishgam/Lab/LabCertificate.js","Pishgam/Bank/BankController.js","Shop/payment/LabPaymentType.js","layouts/PGILabDashboard.js","components/navbar/Logo.js","Forms/TemplateDataForm.js","Forms/Reports/TreeData.js","Pishgam/OverAllReport.js","Pishgam/Lab/ReportInfo.js","Shop/Invoice.js","assets/img/icons/mellat.png","assets/img/icons/sepah.png","Pishgam/AnswerSheet/bactery/Antibiotics.js","Pishgam/AnswerSheet/bactery/Diagnosis.js","Pishgam/AnswerSheet/bactery/DiagnosisTest.js","Pishgam/AnalyticsReport.js","Pishgam/AnswerSheet/MorfologyReport.js","Pishgam/StatisticalReport.js","Pishgam/AnswerSheet/BloodBank/ABOTests.js","Pishgam/AnswerSheet/BloodBank/ABOReport.js","Pishgam/AnswerSheet/BloodBank/Crosstest.js","Engine/FormDataTemplate.js","Pishgam/AnswerSheet/BloodBank/CrossmatchReport.js","Pishgam/AnswerSheet/BloodBank/AbTest.js","Pishgam/AnswerSheet/BloodBank/AbReport.js","Pishgam/AnswerSheet/bactery/BacteryReport.js","Pishgam/TBReport.js","Pishgam/AdminReportPreiodicHeader.js","Pishgam/HBVReport.js","Engine/AdminController.js","Messenger/ChatMessageOptions.js","Messenger/Message.js","Messenger/ChatContentBody.js","Messenger/MessageTextArea.js","Messenger/ChatContent.js","Shop/shopping-cart/ShoppingCartItem.js","Shop/shopping-cart/ShoppingCartTable.js","Shop/ShoppingCart.js","Pishgam/SectionStatus/SectionStatusItem.js","Pishgam/SectionStatus/SectionStatus.js","Pishgam/SectionStatus/PeriodStats.js","Pishgam/AnswerSheet/LabResultExpected.js","Pishgam/AnswerSheet/TorchReportTable.js","Pishgam/AnswerSheet/ReportWithExpectedResult.js","components/navbar/NavbarDropdown.js","components/navbar/NavbarDropdownComponents.js","components/navbar/NavbarTopDropDownMenus.js","Pishgam/OnlineUser.js","Pishgam/AdminDashboard.js","Shop/ProductCardItem.js","Shop/Shop.js","Condition/ConditionHandler.js","Condition/ConditionMakerComponent.js","Engine/ObjectClassController.js","components/common/FalconCardHeader.js","Engine/Authentication.js","Engine/StorageController.js","Engine/ErrorHandler.js","assets/img/illustrations/corner-1.png","assets/img/logos/pg-logo.png","components/errors/Error404.js","Shop/payment/PaymentType.js","Pishgam/Lab/LabDataEntryCard.js","Pishgam/Lab/SampleSelectionWelcome.js","Pishgam/Lab/SectionDetail.js","context/Context.js","EngineForms/DataManager.js","components/common/LightBoxGallery.js","components/common/FalconLightBox.js","components/common/Dot.js","InstitutionContext.js","Shop/ShopContext.js","components/common/QuantityController.js","config.js","EngineDeveloper/FormBuilder/RootFormEditor.js","EngineDeveloper/PanelBuilder/RootPanelEditor.js","EngineForms/Commands.js","EngineForms/StaticForm/EmployeForm.js","EngineForms/RelationForm.js","EngineForms/DroppableArea.js","EngineForms/DraggableItem.js","EngineDeveloper/FormBuilder/RowEditor.js","EngineForms/DataForm.js","EngineForms/ListForm.js","EngineDeveloper/FormBuilder/FormFinder.js","EngineDeveloper/PanelBuilder/CellEditor.js","EngineForms/PanelForm.js","EngineForms/FormManager.js","Pishgam/AnswerSheet/bactery/BacteryContext.js","components/errors/Error500.js","assets/img/illustrations/corner-2.png","Engine/Lan/Context.js","assets/img/illustrations/corner-3.png","EngineForms/FileControl.js","assets/img/illustrations/authentication-corner.png","assets/img/generic/bg-navbar.png","assets/img/illustrations/lab.png","Pishgam/NoData.js","assets/img/logos/1.png","assets/img/logos/2.png","assets/img/logos/iscal.png","assets/img/illustrations/6.svg","assets/img/icons/CardToCard.png","assets/img/icons/paymentdoc.png","assets/img/pishgam/certificate.jpg","assets/img/illustrations/bg-shape.png","assets/img/illustrations/shape-1.png","assets/img/illustrations/half-circle.png","assets/img/generic/bg-1.jpg","assets/img/generic/dashboard-alt-light1.jpg","assets/img/logos/b&w1/1.png","assets/img/logos/b&w1/2.png","assets/img/logos/b&w1/3.png","assets/img/illustrations/1.svg","assets/img/illustrations/2.svg","assets/img/illustrations/3.svg","assets/img/generic/bg-2.jpg","assets/img/products/2.jpg","assets/img/products/3.jpg","Engine/Parameters.js","assets/img/products/5.jpg","components/common/Divider.js","Pishgam/ReportHeader.js"],"names":["ReportHistory","instance","undefined","NewInstance","PIDs","map","pid","Prop","push","NewProperty","this","GetValue","value","SetValue","key","name","condition","ConditionMaker","AddCondition","GetResult","temp","result","item","BaseInstance","Section","fluid","bg","image","overlay","position","video","bgClassName","className","children","rest","bgProps","classNames","defaultProps","ComboBox","source","onChange","uid","uuid","type","bsSize","target","find","x","id","ID","display","DIS","Name","homeRoutes","to","exact","icon","authenticationRoutes","ECommerceRoutes","pageRoutes","widgetsRoutes","calenderRoutes","chatRoutes","kanbanRoutes","emailRoutes","componentRoutes","version","badge","text","color","pluginRoutes","utilityRoutes","labRoute","chackRouat","route","findIndex","SearchObject","context","a","operator","orderBy","props","axiosInstance","post","ErrorHandler","CominicationError","data","SearchConditionMaker","con","get","params","JSON","stringify","console","log","Upload","file","filedata","onUploadProgress","formData","FormData","append","headers","GetFile","filename","responseType","Utility","str","parse","e","IsClassID","IsInstanceID","replace","substring","indexOf","length","IsFormID","split","eId","parseInt","toString","match","IsEntityID","IsPropertyID","IsSystemPropertyID","time","dateserver","resultdata","status","hour","date","response","outputFilename","Date","now","url","URL","createObjectURL","Blob","link","document","createElement","href","setAttribute","body","appendChild","click","Error","formdata","message","list","inses","Instance","formId","window","replaceAll","InstanceController","GetInstancesAsync","PID","IPV","new11","AddNewTabIns","path","localStorage","setItem","open","GetNewTabIns","getItem","removeItem","SaveEmploye","content","Code","NewEmploye","FormID","Data","UID","User","UserName","Password","State","Person","LoadEmploye","employeid","MoneyFormat","thousandSeparator","displayType","prefix","NewForm","ShowType","title","Commands","Realations","rows","height","controls","NewCell","col","controlType","CommandRow","sections","NewPanel","formid","connectionPid","Editor","Connectors","Command","Order","Show","Relations","controlTypeList","formTypes","index","commandList","faSave","faPlus","faTrash","faFolderPlus","faRedo","SetLocalLink","obj","json","GetLocalLink","RelationController","dataModel","DataModel","baseID","relationType","relationTypeID","beUniqe","dependTypeID","dependencyIDes","TbSample","List","Lis2","Lis3","period","sampleList","cond","element","con1","GetRelatedInstancesAsync","doc","RelatedInstances","row","sample","localSample","others","samindex","sample1","tempins","flag","Sample","smp","propid","getobject","prop","p","OBJ","TP","Array","isArray","IsInstance","SaveInstanceAsync","withconfirm","DeleteAsync","base","baseIns","SourceIns","ides","getPropertyIds","i","GetProperty","AdminReportHeader","domainId","LoadTests","PropertyHandler","loading","useState","isInRole","SetIsInRole","links","setLinkes","samplelinks","setSampleLinkes","reset","setReset","alertbtn","setAlertbtn","popupIsOpen","setPopupIsOpen","setMessage","useEffect","Refrence","Type","GetRelationAsync","related","LoadInstanceAsync","ins","AuthenticationController","HasRole","fetch","PropConstIdes","ConstIdes","Labratory","Lab","tempdomainid","SampleChanged","templinks","ExternalLink","loadobject","Message","titleTag","faExclamation","onClick","Control","TitleFree","PValue","PIDS","placeHolder","style","justifyContent","alignItems","print","isOpen","size","Title","dangerouslySetInnerHTML","__html","Content","BasePropertyController","propids","resultlist","remainides","StorageController","FindModel","listIDes","model","Key","AddToSource","GetPropertyList","state","toast","success","error","baseProperty","PSource","Contexts","Lan","Context","StyleW2","DataType","Min","Max","ValueLengh","MultiValue","ValueQty","History","FixedValue","IsMultilingual","Logo","at","width","pic","require","align","justify","src","alt","ErrorLayout","sm","md","lg","xl","component","Error404","Error500","ObjectClassController","GetFormAsync","headercondition","detailIdes","detailes","ConditionLoader","Header","ReltedPropId","instanceid","instancelist","Promise","all","stringjson","jsonins","hasError","syncData","Components","Update","GetDisplay","info","header","relatedInstances","updated","ocid","resultback","conditions","where","withComfirm","confirm","delete","method","parameters","classId","Fade","cssTransition","enter","exit","CloseButton","closeToast","opacity","webpackContext","req","webpackContextResolve","__webpack_require__","o","code","keys","Object","resolve","module","exports","webpackAsyncContext","then","ids","slice","Period","MessageDefinition","typeid","setClear","clear","value1","setValue1","value2","setValue2","ReplyMessage","SearchMessage","v1","v2","BCs","Save","MessageType","SaveAsync","Delete","titlestr","minHeight","App","Islogin","userid","mode","cart","setState","add","product","newCart","CartContextClass","addToCart","removeFromCart","mainapp","org","roles","Layout","PGIAdminLayout","PGILabLayout","Flex","AnonymousLayout","Provider","ChangeCart","bind","basename","process","REACT_APP_BASE_URL","Component","cb","isRTL","isDark","from","getElementsByClassName","forEach","remove","rel","onload","getElementsByTagName","insertStylesheet","Main","tempSetting","settings","PGISsettings","taxRate","getItemFromStore","isFluid","setIsFluid","setIsRTL","setIsDark","isTopNav","setIsTopNav","isCombo","setIsCombo","isVertical","setIsVertical","isNavbarVerticalCollapsed","setIsNavbarVerticalCollapsed","currency","setCurrency","currentTitle","setCurrentTitle","showBurgerMenu","setShowBurgerMenu","setIsLoaded","isOpenSidePanel","setIsOpenSidePanel","navbarCollapsed","setNavbarCollapsed","navbarStyle","setNavbarStyle","toggleModal","prevIsOpenSidePanel","setStylesheetMode","setItemToStore","toggleStylesheet","library","faChartPie","faCopy","faSearch","faHome","faBell","faPlay","faChevronRight","faChevronLeft","faChevronUp","faChevronDown","faExchangeAlt","faAngleRight","faEllipsisH","faCrown","faListAlt","faCheck","faBan","faStream","faArrowsAltV","faSort","faSortAlphaDown","faSortAlphaUp","faSortNumericDown","faSortNumericUp","faSortAmountDown","faSortAmountUp","faCheckCircle","faUserCircle","faQuestionCircle","faLock","faCircle","faHeart","faShareAlt","faCaretRight","faArrowDown","faArrowUp","faArrowLeft","faArrowRight","faPrint","faDollarSign","faLink","faMinus","faUser","faPencilAlt","faCamera","faTimesCircle","faSignInAlt","faBook","faPuzzlePiece","faAlignLeft","faAlignRight","faPlug","faTimes","faFilter","faExternalLinkAlt","faCartPlus","faShoppingCart","faStar","faStarHalfAlt","faArchive","faEnvelope","faClock","faReply","faLocationArrow","faCog","faPaperclip","faImage","faEllipsisV","faEnvelopeOpen","faSlidersH","faTrashAlt","faFileArchive","faFilePdf","faFileAlt","faEye","faCaretUp","faCodeBranch","faExclamationTriangle","faListUl","faTh","faGift","faUsers","faGlobeAmericas","faPlusSquare","faCaretDown","faUserPlus","faCircleNotch","faThumbsUp","faComments","faPalette","faEdit","faShare","faCheckSquare","faTools","faCheckDouble","faSmileBeam","faPoll","faPercentage","faIcons","faList","faUserFriends","faExclamationCircle","faTag","faAt","faCalendarAlt","faCalendarCheck","faMapMarkerAlt","faCross","faFacebook","faFacebookF","faFacebookSquare","faGulp","faNodeJs","faSass","faTwitter","faGooglePlusG","faLinkedinIn","faMediumM","faHotjar","faYoutube","faVideo","faInfo","faPhone","faTrello","farHeart","farLightbulb","farObjectUngroup","farPaperPlane","farStar","farImage","farFileArchive","farFilePdf","farFile","farFileVideo","farFileAudio","farFileImage","farFileCode","farClock","farQuestionCircle","farDizzy","farLaughBeam","farSmileBeam","farCircle","farCopy","farComment","ReactDOM","render","getElementById","defaulstate","Form","Paging","active","pageCount","tooltipOpen","mouseIn","InstanceDataGrid","LoadCompleted","LoadForm","handlePropertyChange","editedPropindex","splice","onRef","newprop","DataLoaded","DataTemplate","datamodel","TempData","instances","dataTemp","CleanData","newstate","Mode","SaveTempDataAsync","SaveInstanceListAsync","RowDoubleClick","readonly","includes","isReadonly","CardBody","Table","hover","striped","responsive","control","SaveRow","section","Editable","onMouseLeave","onMouseEnter","onDoubleClick","RowDBLClick","colindex","pvalue","moment","locale","format","colIndex","InstanceCell","ButtonIcon","Tooltip","placement","toggle","EditInstance","faPen","Spinner","IsPanel","MainContent","Card","CardTitle","tag","Button","close","Refresh","CommandSetting","command","EmployeForm","onChangeusername","onChangepassword","onChangeState","disable","FeedBack","New","RestPass","password","generator","generate","numbers","form","property","newvalue","Row","Col","Label","Input","readOnly","PropertyChanged","outline","disabled","HideNew","RelationForm","SelectedItem","CustomeComponent","Initial","RelationType","BaseId","DeleteRelationAsync","AddRelationAsync","JoiSearchBox","autoClear","SearchItem","loadComponent","SelectItem","Deleted","InstanceForm","activeTab","LocalLoadFlow","defualtvalues","values","SetData","loadflow","func","cmd","Params","des","Parameters","Bts","j","LoadData","LoadFlow","templateprop","feedBackId","objValue","commands","commandSetting","Commander","rowIndex","paddingTop","margin","backgroundColor","grays","paddingBottom","tab","Contents","FormTitle","CardFooter","CommandBuilder","Nav","tabs","NavItem","NavLink","classnames","relation","TabContent","TabPane","tabId","MainForm","defualstate","Isrequierd","BF","BP","SF","SP","RelationModal","selectedID","PanelForm","savestartd","FormDataTemplate","Forms","savelist","commandflag","conector","OCID","ORB","PRA","NLC","SRC","newInstance","formdataTemplate","formID","setMainFormID","setTitle","setConditionFormID","conditionvalue","setConditionValue","setJson","Load","TempCon","tempdata","getJson","formobj","SetDataTemplate","ref","relationid","event","InstanceID","warn","editorid","feedBackid","f","action","sectionIndex","sectionresult","addForm","FormRouter","preProp","SurveyInstance","defineProperty","set","year","survey","P8","P81","P212","P213","P214","P215","P216","P217","P218","P219","P220","P221","P222","P223","P224","P225","P226","P227","P228","P229","location","DateControl","DIPV","GetNow","getMonth","getDate","getFullYear","getHours","getMinutes","uniqueId","IsReadOnly","lang","onClickSubmitButton","label","placeholder","timePicker","selected","onChange1","formatWeekDay","day","placeholderText","ComboMultiControl","refrence","dm","setValue","setIsOpen","stepSource","sourceList","setSourceList","Dropdown","paddingRight","DropdownToggle","faAngleUp","faAngleDown","DropdownMenu","maxHeight","overflowY","container","right","DropdownItem","CustomInput","checked","ChangeStepSource","SwitchSource","ReadonlyObjectControl","aria-label","CellEditor","DM","cell","formStructuer","Modal","ModalHeader","charCode","ModalBody","FormGroup","htmlFor","defaultValue","required","regex","check","inline","defaultChecked","InstanceControl","FormManager","data1","CardOff","CellControl","TitleOff","labelClassName","setDIPV","OC","setOC","getValue","ActionType","LoadAsync","GetClassID","oc","Tag","CheckRole","Role","SearchControl","sourceId","FileControl","propType","properties","getControl","inputId","tooltipActive","textAlign","detail","for","data-tip","data-for","notprop","NotProp","IsID","sort","b","localeCompare","Certificate","Json","debtor","lab","GetCertificate","GetCertFile","yearId","labId","AdminController","BuildCertificate","SendProccess","column","wrap","TokeTimer","startTime","EndTime","setTime","interval","setInterval","clearInterval","sec_num","hours","Math","floor","minutes","seconds","totime","ResetPassword","history","validMobile","setValidMobile","setPassword","rePassword","setRePassword","token","setToken","step","setStep","setCode","setTooltipOpen","tooltipOpenRepass","setTooltipOpenRepass","notrobot","setNotrobot","GetCode","SendCode","CheckChangePasswordCode","ChangePass","ChangePassword","maxLength","sitekey","visible","block","ListGroup","ListGroupItem","fontSize","Pasword","AuthCardLayout","leftSideContent","useContext","AppContext","useLocation","blink","setBlink","setTimeout","noGutters","bgShape","shape1","Background","halfCircle","LoginForm","pathname","dir","transition","closeButton","POSITION","BOTTOM_LEFT","TBSampleAnswer","resultdoc","listDiagnosis","listLevel","Result","setV1","infectionLevel","setV2","Ct1","v3","setV3","CtInternal1","v4","setV4","SampleObj","TBAnswerSheet","setLoading","setHeader","isAdmin","setIsAdmin","samples","setSamples","setListDiagnosis","setListLevel","labratoary","setLabratory","resultSample","setResultSample","setPeriod","comsample","EngineCondition","samcon","sqlCondition","returnProperties","samresult","SetNew","Loader","loaderExAnswer","level","loaadDoc","labtag","resultid","_header","resultSMP","Validation","headerIns","Extended","Required","SaveDoc","SaveRelatedInstancesAsync","rs","Loadedsamples","tempheader","iab","head","DeleteDoc","DeleteRelatedInstancesAsync","formLoaded","resultsmp","options","BitCondition","IsVariable","Logicoptions","Bit","t1","PropertyChange","BlockIndex","Index","t2","t3","t4","HasLogic","RemoveBit","ObjectClass","formcontrol","prop1","ValueChanged","Property","ActiveSwitch","bitlogic","minWidth","LogicChanged","OpratorChanged","WhereCondition","objectclass","Condition","Properties","GetProperties","FillObjectClass","Close","rowindex","bitBlock","blockindex","CardHeader","AddBlock","logic","background","bit","AddBit","ModalFooter","Year","DocHeader","BioTest","BioResult","ExpectedResultDH","StaticCondition","periodOfYear","SampleOfPeriod","HeaderWithPeriod","Report","ResultLab","ResultOtherLab","ExpectedResult","ReportGroup","ReportGroupTorch","EmptyCondition","ParaBKCondition","ResultParaBKLab","expResultParaBKLab","ReportBC","ReportGroupBC","getReportGroup","Domain","sec","resultId","getReport","getResultOfLab","testId","fields","PIDTest","PIDResult","AnswerPanelID","Props","chartSetting","depLevel","columns","PName","Size","AnswerId","SectionGroups","comment","PeriodControl","LabratoryControl","bgStyle","backgroundImage","backgroundPosition","backgroundPositionX","y","backgroundPositionY","autoPlay","loop","muted","playsInline","pop","SectionGroup","setMouseIn","boxShadow","SurveyCard","onSkip","handleCancelSurveyClick","attemp","alert","fillAuto","Welcome","LoadActiveParts","xs","linechart","marginRight","faCalendar","LabRegister","marginLeft","LabDashboard","full","setFull","hasSurveyResult","setSurveyResult","FirstItem","setFirstItem","setFlag","openmenu","setopen","setList","SearchCommand","oprator","ItemSelected","KeyUp","preventDefault","KeyDown","data-toggle","aria-expanded","onFocus","select","onKeyUp","onKeyDown","input","FormSelector","propIsopen","Panels","closeBtn","selectedvalue","GetPanelListAsync","forms","selectionChanged","SelectForm","Display","SelectPanel","BacteryAnswerSheet","DiagnosisData","DiagnosisTestList","AntibioticsList","BacteryDiagnosis","formLoad","Active","relatives","ObjToInsList","ClassID","AntibioticsRow","BacteryTestRow","Changed","DiagnosisChanged","DiagnosisTestChanged","AntibioticsChanged","CertificateComponent","admin","cert","setCert","getCertBy","getCertById","show","hide","downloadFile","CertID","getFile","rebuild","Rebuild","IsLogin","faFileDownload","backgroundRepeat","backgroundSize","scrollbarWidth","placeItems","CertIMG","maxWidth","top","RootServer","viewBox","fontWeight","left","labDis","JsonObject","certificate","CertificationPage","collapsed","hideMenu","overflowX","ProfileDropdown","dropdownOpen","setDropdownOpen","nav","inNavbar","prevState","onMouseOver","innerWidth","Avatar","FullName","divider","Link","LogOut","CartNotification","Consumer","transform","TopNavRightSideNavItem","navbar","navbarBreakPoint","UncontrolledTooltip","autohide","OnlineSupport","NavbarTop","Navbar","light","expand","topNavbarBreakpoint","Collapse","NavbarTopDropDownMenus","React","memo","Badge","pill","withRouter","NavbarVerticalMenu","routes","openedIndex","setOpenedIndex","openedDropdown","getHr","toggleOpened","ToggleButton","classList","NavbarVertical","navBarRef","useRef","HTMLClassList","is","windows","chrome","firefox","innerRef","clearTimeout","bgNavbarImg","vertical","protoTypes","PropTypes","string","JoiCheckBox","sourceid","destination","JoiInput","controltype","JoiSourceSelector","switch","actionMeta","selectedobject","setprop","filter","selectedChanged","BaseProp","Source","PropValue","DataSetting","baseproperty","Psource","PItem","SelectedControl","IsMultiValue","SetControl","MorfologyCard","Tests","Answers","SelectedTest","SelectedAnswer","PTest","PAnswer","TestChanged","test","AddNewRow","selectedanswer","t","object","DataSource","onChanged","MorfologyTestList","selectedtestIndex","FalconCardHeader","IsDisable","ans","MorfologyCellCounter","CellCounter","CellTypeList","WBC","RBC","Platelet","Diagnosis1","Diagnosis2","CanSave","HeaderForm","HeaderID","Headerpropid","onChangedCard","CellTestPropID","CellValuePropID","cellTypeList","convertTodata","newheder","Changedheader","onChangedCellCounterValue","HbvSample","HBVampleAnswer","IntResult","HBVAnswerSheet","Divider","value11","html","ConditionManager","MainCondition","AutoRun","SaveFormAsync","contentid","conditionManager","assign","ConvettoClass","nextCondition","analytics","startFor","recordCount","groupBY","groupReturn","backObject","join","onJoin","whereType","qType","groupFilterID","isInstance","Convettostring","respons","currentBlock","opration","logicOperation","Oprator","count","simbol","iconAlign","iconClassName","surveyQuestions","question","Survey","responses","setResponses","handleChange","handleSubmit","padding","marginTop","q","marginBottom","borderRadius","option","cursor","windowHeight","innerHeight","alpha","scrollY","LandingRightSideNavItem","NavbarStandard","addEventListener","handleNavbarTransparency","removeEventListener","dark","fixed","Container","NavbarBrand","ThemeDivider","ThemeCardHeader","rounded","emoji","mediaClass","isExact","mediaClasses","isIterableArray","role","JoiMultiValueItem","prevalue","ObjectValue","isMultiValue","handleFocus","NoEmptyValue","LoadDefaultValue","findDOMNode","focus","newDisplay","objvalue","InputGroup","inputRef","Values","ReadOnly","array","breakpoints","xxl","store","payload","getCookieValue","cookie","createCookie","cookieExpireTime","getTime","expires","toUTCString","getDuration","startDate","endDate","isMoment","numberFormatter","number","abs","Number","toFixed","hexToRgb","hexValue","hex","exec","m","r","g","rgbaColor","colors","themeColors","primary","secondary","warning","danger","white","100","200","300","400","500","600","700","800","900","1000","1100","black","darkGrays","getGrays","getPosition","rgbColor","pos","dom","rect","contentSize","calculateSale","less","fix","getTotalPrice","baseItems","reduce","accumulator","currentValue","quantity","price","sale","getPaginationArray","totalSize","sizePerPage","noOfPages","ceil","pageNo","capitalize","charAt","toUpperCase","routesSlicer","routesCollection","totalRoutes","calculatedRows","routesChunks","getPageName","pageName","copyToClipBoard","textFieldRef","textField","current","execCommand","Server","ContentType","axios","defaults","baseURL","timeout","create","interceptors","request","use","config","reject","originalRequest","errorCode","ReLogin","_retry","fallback","DashboardLayout","PGIDashboard","AdminPath","insId","setRedirect","hasLabel","layout","useHistory","userName","setUserName","remember","setRemember","isDisabled","setIsDisabled","orgList","setOrgList","tooltipOpenpass","setTooltipOpenpass","HandelLogin","Login","autenResult","userInfo","organizations","reload","selOrg","toLowerCase","visibility","PGILabDashboard","TestControl","Test","Group","GroupID","distribution","distributionID","TestId","RunMethod","Action","EndProccess","strValue","InvokeMethod","MinGroup","Mode2PreReport","Form1ID","Form2ID","Value","Turn","keyValue","FromManagerDataTemplate","LoadByAsync","TemplateConditionMaker","testlist","SetParameter","fid1","fid2","domain","total","testid","domainid","currentTarget","Run","RowBuilder","TreeDataGrid","CompeletedData","addvalue","objtemp","setting","QTY","compare","class","trim","borderLeft","round","Grid","Mode2PreReportCA","conditiongroup","GetReport","groupArrayOfObjects","tooltip","visualMap","min","max","inRange","series","nodeClick","radius","textStyle","rotate","flex","echarts","getOption","SendingProccess","ReportResult","ActiveBarcode","labid","periodid","navigator","mediaDevices","enumerateDevices","availableVideoInputs","mediaDevice","kind","deviceId","catch","err","sendProccess","PakingDate","SendDate","barcode","constraints","facingMode","onResult","Barcodered","ButtonGroup","MorfologyExpAnswer","setCellTypeList","items","setData","setInstance","reportBuilding","setreportBuilding","newitem","tempData","Diagnosis","newdata","ConditionValue","BuildReport","ParasiteExpectedAnswer","parasite","vale","BKExpectAnswer","TorchAnswerRow","answers","answer","TorchExpectedAnsawer","tests","setTests","setResults","temp1","temp2","Rows","dig","WrightExpectedAnswer","SerologyExpectedAnswer","BloodControlReport","setDomain","domainData","setDomainData","dds","testProp","cnn","setSample","setLabratoary","ReportHeader","Labratoary","NoData","ABOExpectedAnswer","setValues","RH","setRH","ABO","setABO","temp3","result1","result2","ABOTests","CrossExpectedAnswer","interpretation","setInterpretation","Crosstest","Crossmatch","AbExpectedAnswer","ccValues","setccValues","AbTest","Ab","BacteryExpectedAnswer","setDiagnosisData","setDiagnosisTestList","setAntibioticsList","maindata","DiagnosisTest","Antibiotics","InvoiceReport","from1","setFrom","start","end","momentmiladi","startfa","endfa","faDownload","fromLabel","toLabel","baseItem","labratoaryCode","payment","SDA","HBVExpectedAnswerSheet","FMDT","setFMDT","val","CalculateSDI","allsample","sampleResult","templist","parseFloat","positiveResults","positiveResult","List2","log10","sda","TBExpectedAnswerSheet","ProductRow","ListGroupItemText","AdminInvoice","products","setProducts","selLab","setSelLab","invoice","setInvoice","lastInvoice","setLastInvoice","selProducts","setSelProducts","GetProducts","tempproducts","item1","item2","wh","SQLCondition","OrderBy","StartFor","RecordCount","InvoiceHeader","selproduct","newInvoice","CreateInvoice","newWindow","opener","AdminAnswersComponent","domains","SetDomains","SetSampleList","selectedList","SetSelectedList","setLab","LoadForms","setLoadForms","part","classid","form2","cid","h","itemInex","newlist","FungusExpectedAnswer","OnlineUserList","ActiveUsersList","user","person","organization","AdminCertificate","setYear","processing","setResult","setlab","AdminSendingQuery","resultQry","instanceToRow","menus","initialiez","menu","scrollTo","lazy","isKanban","Shop","ShoppingCart","Invoice","PaymentType","PeriodStats","MorfologyReport","TemplateDataForm","ConditionMakerComponent","conditionid","ChatContent","AnalyticsReport","BacteryReport","ABOReport","CrossmatchReport","AbReport","TBReport","HBVReport","ReportWithExpectedResult","OverAllReport","StatisticalReport","AdminDashboard","Banner","bg1","strings","typeSpeed","backSpeed","offset","dashboard","bw1","bw2","bw3","Partners","iconText","description","illustration2","illustration1","inverse","illustration3","Process","SectionHeader","subtitle","Processes","processList","media","faBookMedical","faSearchengin","CardService","Services","serviceList","service","author","designation","TestimonialItem","companyImage","infinite","speed","slidesToShow","slidesToScroll","Testimonial","testimonials","testimonial","Partner","Cta","bg2","partnerList","partner","FooterTitle","FooterList","FooterStandard","animateScroll","scrollToTop","menuList1","referrerpolicy","HeaderFooter","Landing","AboutUs","NewLaboratory","setUpdateFormData","checkValidations","setCheckValidations","sent","setSent","SendData","SendMali","invalid","FormFeedback","lastName","mobile","laboratoryName","laboratoryType","laboratoryUni","laboratoryOwnerType","laboratoryNo","laboratoryphone","laboratoryEmail","laboratoryState","laboratoryCity","laboratoryZip","laboratoryAddress","controlTypes","ColDesigner","mousein","OpenSetting","actiontype","initialize","MouseLeave","MouseEnter","droppableId","provided","droppableProps","titleCanged","ctrl","ControlUpdate","RowDesigner","columnlist","toggleRowPlus","columnButton","Click","tempvalue","resultvalue","colCount","onChenge","Remove","inputChanged","ChangeRowCount","JoiComboBox","newValue","svalue","SwitchChanged","classNamePrefix","menuPlacement","menuPosition","defaultvalue","isRtl","LoadCondition","ConditionModal","JoiAccordion","JoiMultiLanInput","JoiBaseProperty","dataType","draggableId","draggableProps","dragHandleProps","IsShowProp","ShowProp","ChangedKey","IsKey","dataTypeList","ControlType","BasePropertyHandler","errors","pervisid","prevProps","selectedclass","onChangeDataType","PSourceChanged","onChangeControlType","onMinChange","onMaxChange","onValueLenghChange","onMultiValueChange","newClass","UserCanChange","HasReadLimitation","EID","Version","KEYS","IsUniqe","LOH","RST","ObjectClassHandler","isopen","Model","modal","entityList","ShowProplist","onDragEnd","newProperties","desObj","GetAllEntities","entities","ChangeSource","SearchPropertyChanged","selectedproperty","newContextvalue","contexts","showprop","OCP","SaveClass","NewClass","entityChanged","ContextChanged","ChangedShowProp","Exd","ModalClosed","RowSetting","cols","RowChanged","DeleteRow","newRow","InstancePresentaionDesigner","ShowtypeSource","cellid","ClassId","Initialize","faDesktop","SaveForm","ToggleConditionModal","faPeopleArrows","ChangeTitle","toggelCommand","ChangeShowtype","horizental","SettingToggle","AddRow","FormBuilder","OCH","ICB","onChangeSource","PanelRow","AddSection","secindex","EditSection","PanelSetting","emptySection","Settingmodal","PanelControl","sectionindex","LoadSetting","BottomButton","topButton","SettingModalClosed","FormTester","HistoryChart","average","arr","c","xAxis","yAxis","itemStyle","normal","AnalyticsHistogram","chartType","perProp","labresult","data0","dataset","trigger","borderColor","borderWidth","transitionDuration","legend","itemWidth","itemHeight","inactiveColor","axisLabel","axisLine","lineStyle","axisTick","boundaryGap","axisPointer","splitLine","barWidth","barGap","z","smooth","barBorderRadius","areaStyle","x2","y2","colorStops","markPoint","markLine","distance","grid","bottom","Headers","leveldis","QTY1","QTY2","QTY3","labResult","P15","faChartLine","faChartBar","ChangeChartType","triggerOn","formatter","hoverAnimation","connectNulls","smoothMonotone","symbol","symbolSize","SimpleLineChart","AnalyticsReportFormat1","direction","flexDirection","Controls","G1","G2","G3","AVG3","SDI","DEV","UM","TreeData","GroupResult","ReportBuilder","CVV","HeadOff","QuickLoad","tst","labobj","smpobj","tstobj","RunFilter","Find","rowresult","groupResult","analysisresult","group","g1","um","Print","componentRef","el","ConditionalClassReport","cons","modals","ActiveCommand","ConModal","condotion","ActionLink","ActionFormID","ActionLinkValue","OpenWhere","InstanceDataList","isSelected","LabratoaryReports","setSection","setOrganization","report","MainComponent","LabCertificate","setAll","getAllCerts","BankController","amount","merchantId","redirectToBank","tokenInput","langInput","submit","LabPaymentType","cusomer","paymentdocument","ActiveMethod","selectedBank","labelClasses","isadmin","initial","PaymentDocument","LoadInvoice","invoiceDoc","Payments","ReciverAccount","RegisterDate","Working","ChangeValue","iconSepah","iconMellat","HeaderState","GetToken","setMenu","tempmenu","fetchData","SectionDetail","thisPath","notInChild","CV","AVG","faArrowAltCircleLeft","SDIChart","bordered","reactToPrintContent","reactToPrintTrigger","hasResult","sampleUpdate","TestResults","rowobjects","unitins","unit","Unit","domSetting","counter","avg","cv","sdi","dev","border","textDecoration","Ref","ReportInfo","address","institution","Loading","PaymentDue","subtotal","Details","SetParameters","Customer","createMarkup","Address","EcoCode","NationalCode","OldCode","Tel","borderless","invoicerow","productobject","realPrice","antibioticsDisk","setAntibioticsDisk","antibioticsDiskMaker","setAntibioticsDiskMaker","antibioticsResultInterpretation","setAntibioticsResultInterp","selantibioticsDisk","setSelAntibioticsDisk","selantibioticsDiskMaker","setSelAntibioticsDiskMaker","selantibioticsResultInterp","setSelAntibioticsResultInterp","growsHole","setGrowsHole","setRows","AntibioticsDisk","GetAll","bgk","AntibioticsDiskMaker","list1","bri","AntibioticsResultInterpretation","list2","fetchMyAPI","Clear","RemoveRow","newrows","GrowsHole","AntibioticsDiskObject","AntibioticsDiskMakerObject","AntibioticsResultInterpretationObject","bacteryGender","setBacteryGender","bacterySpecies","setBacterySpecies","selBacteryGender","setSelBacteryGender","selBacterySpecies","setSelBacterySpecies","BacteryGender","bs","BacterySpices","getActiveListby","UpdateData","testChanged","bacteryTest","setBacteryTest","selbacteryTest","setSelBacteryTest","bacteryResultTest","setBacteryResultTest","selbacteryResultTest","setSelBacteryResultTest","BacteryTest","BacteryTestResult","getListby","BacteryTestObject","ResultObject","MOMChart","levels","tempLevels","lvl","containLabel","nameLocation","manu","stack","emphasis","useParams","setTest","mainData","setMainData","MOMData","setMOMData","setLabResult","historlist","sethistoList","setxAxis","hasHeader","setHasHeader","Changedtest","LabChanged","labres","smpName","thisresult","dataFormTree","checkValue","histogramlist","xaxis","histogram","levelCount","levelHight","xaxis2","Changedsample","samplevalue","labPoint","xindex","yindex","xAxisindex","Lindex","subtext","toolbox","feature","magicType","saveAsImage","nameGap","sdata","d","getOptionSD10","resultAvrage","element1","element2","xAxisIndex","getOptionDEV10","expectedAnswer","setExpectedAnswer","golbalReport","setGlobalReport","noResult","setNoResult","setloading","GetInstanceSerial","dt","dt1","seriesTitle","orient","center","removeTitle","shadowBlur","shadowOffsetX","shadowColor","overflow","noData","FindResultValue","DiagnosisObject","setGolbalReport","greport","exresult","domainValues","fontFamily","sum","percentage","ValueControl","itemValue","reportColumn","RowValue","Way","ABOL","RHD","RHL","greport1","greport2","globaldata","AHG","Liss","Albumin","IgG","CrossmatchL","form1id","form2id","Templates","getMainFormID","getConditionFormID","getConditionValue","tempcon","bts","pretitle","BlockValue","showcc","Kit","AbL","AHGCC2","BacteryTestTable","testList","totalAnswer","addedItem","answerdisplay","per","Per","qty","testdisplay","forecolor","expctedResult","BacteryDiskTable","colSpan","record","lr","labstate","ansid","ansdisplay","correct","maj","vmaj","BacteryDiskChart","disklist","expList","diskmanufacture","disk","diskdisplay","manufacture","manufacturedisplay","resulr","allData","setAllData","HasLabResult","setHasLabResult","setTotalAnswer","tempallData","da","DiagnosisAnalysis","Correct","percent","HalfCorrect","NoAnswer","BacteryGenderObj","BacterySpicesObj","verticalAlign","DiagnosisStatistics","FinalList","genderdisplay","speciesdisplay","textJustify","fontStyle","OthersList","pageBreakInside","TestStatistics","TestList","DiskStatistics","DiskManufactureStatistics","expResultSample","setExpResultSample","AdminReportPreiodicHeader","ChatMessageOptions","senderUserId","isGroup","isLeft","Media","attachment","LightBoxGallery","images","openImgIndex","img","FalconLightBox","imgSrc","ChatContentBody","lastDate","scrollHeight","setScrollHeight","rtl","scrollTop","noScrollX","trackYProps","renderer","elementRef","restProps","isOpenThreadInfo","MessageTextArea","previewEmoji","handleClickOutsideEmojiBox","closest","addEmoji","native","AddMessage","onSubmit","paddingLeft","onSelect","sheetSize","zIndex","theme","showPreview","showSkinTones","addmessage","stog","msg","messageIns","addMessage","ShoppingCartItem","CartItem","CartContext","setQuantity","QuantityController","Change","ShoppingCartTable","shoppingCartItem","proccess","setProccess","breakPoint","SectionStatusItem","totalShare","Dot","propsType","isRequired","avoidLabelOverlap","labelLine","SectionStatus","PeriodID","dataSet","isLoaded","allRegister","RemoveAtEnd","allpakage","allsend","totalRegister","Sections","labs","days","DateValue","rowCount","eng","addDays","toLocaleDateString","eng2","con2","AddConditionBetween","getLabs2","getLabs1","RowGenarate","LabResultExpected","Expresult","TorchReportTable","setG1","setG2","g2","G1display","G2display","exresultJson","orderdResult","insval","a1","b1","showBackground","backgroundStyle","NavbarDropdown","handleSetNavbarCollapsed","findTitleName","some","navItemGroup","caret","AuthCornerImage","groupItem","navItem","getTitle","NavbarDropdownComponents","NavItemGroup","navItems","components","pages","windowWidth","isLanding","chartOptions","scales","yAxes","stacked","xAxes","ticks","barPercentage","categoryPercentage","gridLines","OnlineUser","labels","range","datasets","chartData","setChartData","currentActiveUser","setCurrentActiveUser","ActiveUsers","borderBottom","borderTop","setUsersList","PersonChanged","GetRelationBaseAsync","CardGroup","numbered","ProductCardItem","category","isAvilebale","scale","AddToCart","Selected","CardSubtitle","gap","alignSelf","whiteSpace","isNew","isInStock","files","GroupSource","SelectedProduct","handleAddToCart","selectedProduct","GetProductGroups","groupSource","selectedGroup","GroupChanged","InputGroupAddon","addonType","ConditionHandler","Initialized","GetContentAsync","setSelected","GetFieldForm","ResultFormID","OnChangeCondition","Maker","convertForExcel","classtoObject","UpdateModel","contentclass","replacer","classmodel","GetModel","formindex","autoForm","tempresult","FillRelationDisplay","s","occ","dataForm","FormType","DataForm","CommandWithprm","prm","formation","calculateRowCol","ListForm","Panel","formtype","cellCount","entityid","clsloaded","ctype","codetype","TitleTag","oneOf","oneOfType","node","titleClass","base64ProfileImage","picdata","file1","Buffer","Notroles","pass","relogin","captcha","RecaptchaToken","resultperson","userkey","ComponentSource","SourceList","csource","ErrorInfo","errorInfo","ex","iconPaypalFull","Amount","trackNumber","CardNumber","PaymentTime","iconpaymentdoc","Docid","getImage","corner1","corner2","corner3","LabDataEntryCard","orgid","rate","P1","P3","setLinks","documents","setDocuments","inssec","tempDocuments","LoadSample","selectSample","faAngleLeft","linkText","SampleSelectionWelcome","partList","setPartList","sectionGroup","setSectionGroup","setOrgid","insPart","createContext","EmailContext","emails","ProductContext","FeedContext","feeds","AuthWizardContext","ChatContext","KanbanContext","KanbanColumns","kanbanTasks","DataManager","actionType","Storage","Template","TemplateTriger","DataAttribute","MainFormID","FormStructuer","newData","loadData","callback","SaveReletedData","BeforeSave","eval","tempIndex","feedBack","SetState","dataAttribute","insrow","CheckForm","BeforeValidate","percondition","details","elementSaved","insData","FireTemplateTriger","FireTriger","onChangeProp","ShowPopup","OnShowPopup","instanse","storge","DeleteReletedData","StorageDeleteInstance","fillProp","temppid","GetPropertyValue","Triger","DataConditionMaker","SetData1","newStorage","template","filltempProp","fillValueinstance","withValue","tempProp","Con","LastFormId","formdataIndex","formattr","imgIndex","setImgIndex","isNull","mainSrc","nextSrc","prevSrc","onCloseRequest","onMovePrevRequest","onMoveNextRequest","reactModalStyle","InstitutionContext","University","EconomicCode","Email","PostCode","invoiceRow","tax","invRow","InvoiceRow","Add","productGroups","LoadProducts","prods","Product","save","GetInfo","serverdate","GetInstitution","detailinstances","saveddata","PayerAccount","payments","RootFormEditor","setRelation","relationTypes","setRelationTypes","fetchRelations","rts","relations","setRelations","ChangeForm","entity","rowcount","RootPanelEditor","setForms","BPList","setBPList","SPList","setSPList","connector","setConnector","setTempcon","setCon","conprop","setConprop","tempconprop","setTempConprop","tempForms","tempform","ontempConChange","onConChange","connect","busy","setBusy","checkrole","GetFormType","GetDataFromFrom","DeleteTemplate","RelationControl","CommandOff","DroppableArea","DraggableItem","RowEditor","setColumns","cc","faBolt","colSize","RelationManager","DataDataForm","selectedTab","rtype","ChangeData","AddToDrop","DataListForm","listdata","setListData","AddDataProperty","selectedRow","setSelectedRow","sortType","setsortType","HasRow","item1objType","item1obj","item2obj","FillProp","SendToEditor","faArrowCircleUp","RowUp","faArrowCircleDown","RowDown","FormFinder","onFormChanged","onClassChanged","addNew","selForm","setSelForm","getFroms","GetFormListAsync","onChangeData","onSelected","panel","rowDesignMode","modalComp","IsAdmin","copyTemplate","jsonString","clipboard","writeText","pasteTemplate","readText","CopyFormData","builder","Initialiez","InitialTemplate","FillForm","IsClassOrInstanceID","LoadDataAsync","editor","SelectedInstance","DMChanged","Body","faCogs","faPaste","centered","gender","ValueList_en","ValueList_fa","dropAreatitle","spath","sfiles","setFiles","setPath","onFilesChange","base64ImageString","onError","accepts","multiple","maxFileSize","minFileSize","clickable","preview","beforeLoadingTitle","creationImage","paths","sender","Starter","res","param","Param","FillDependecy","Depend","whereResult","wherepara","keyvalue","finalresult","forwardRef","setBase","tempBase","pishgamLogo","iscal","Logo1","Logo2"],"mappings":"8OAIaA,EAAb,kDACI,WAAYC,GAAU,OAAC,yBACFC,IAAbD,IACAA,EAAWE,YAAY,SACvBH,EAAcI,KAAKC,KAAI,SAACC,GAAD,OACnBL,EAASM,KAAKC,KAAKC,YAAYH,QAJrB,YAMZL,GAPd,uCAaI,WACI,OAAOS,KAAKC,SAASX,EAAcI,KAAK,KAdhD,IAUI,SAAUQ,GACNF,KAAKG,SAASb,EAAcI,KAAK,GAAIQ,KAX7C,gBAkBI,WACI,OAAOF,KAAKC,SAASX,EAAcI,KAAK,KAnBhD,IAeM,SAASQ,GACPF,KAAKG,SAASb,EAAcI,KAAK,GAAIQ,KAhB7C,oBAuBI,WACI,OAAOF,KAAKC,SAASX,EAAcI,KAAK,KAxBhD,IAoBM,SAAaQ,GACXF,KAAKG,SAASb,EAAcI,KAAK,GAAIQ,KArB7C,gBA4BI,WACI,OAAOF,KAAKC,SAASX,EAAcI,KAAK,KA7BhD,IAyBM,SAASQ,GACPF,KAAKG,SAASb,EAAcI,KAAK,GAAIQ,MA1B7C,0DA+BI,WAAkBE,EAAKC,GAAvB,kFACQC,EAAY,IAAIC,IAAe,UACzBC,aAAa,OAAO,IAAIJ,GAFtC,SAGoBE,EAAUG,YAH9B,cAGQC,EAHR,OAIQC,EAAO,GACXD,EAAKf,KAAI,SAACiB,GAAD,OAAQD,EAAO,GAAD,mBAAKA,GAAL,CAAY,I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U,WACRwO,YAAe,WAAYxB,KAE1B,CAACA,IAEJhN,qBAAU,WACRwO,YAAe,UAAWtB,KAEzB,CAACA,IACJlN,qBAAU,WACRwO,YAAe,aAAcpB,KAE5B,CAACA,IAEJpN,qBAAU,WACRwO,YAAe,cAAeL,MAE7B,CAACA,KAmBG,kBAAC,IAAW/C,SAAZ,CAAqB3c,MAAOA,IAAQqE,EAAMhD,W,kCC4BnD4e,UAAQpE,IAENqE,IACAC,IACAC,KACAC,KACAC,IACAC,KACAC,IACAC,IACAC,IACAC,IACAC,KACAC,IACAC,KACAC,IACAC,KACAC,IACAC,IACAC,KACAC,IACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,IACAC,KACAC,KACAC,KACAC,IACAC,KACAC,KACAC,IACAC,IACAC,IACAC,IACAC,IACAC,KACAC,IACAC,KACAhW,KACAiW,KACAC,KACAC,KACAC,IACAC,KACAC,KACAC,IACAC,KACAvW,KACAwW,IACAC,IACAC,KACAC,KACAC,KACAC,KACAC,IACAC,KACAC,KACAC,KACAC,IACAC,KACAC,IACAJ,KACAK,KACAC,KACAC,IACAC,KACAC,KACAC,KACAC,KACAzX,KACA0X,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,IACAC,IACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,IACAC,KACAC,IACA5S,KACA6S,KACAC,IACAC,KACAC,KACApB,KACAqB,KACAC,IACAC,KACAC,IACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACA3Z,KACA4Z,KACAC,IACAC,IACAC,IACAC,KACAC,IAGAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,KACAC,KACAC,KACAC,IAGAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,IACAC,K,YCjTFC,IAASC,OACL,kB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oCAAU0yB,KAErBz/C,EAAK,kBAAC,IAAD,KACF,kBAAC,IAAD,0BAAUA,QAAV,IAAUA,GAAV,UAAUA,EAAM9P,SAAS,MAAM,UAA/B,aAAU,EAA4BwC,WAAtC,QAA6C,IAD3C,OAEF,kBAAC,IAAD,6CACA,kBAAC,IAAD,KAAQ,qDAAUsN,QAAV,IAAUA,OAAV,EAAUA,EAAM9P,SAAS,eAAzB,QAAoC,MACzC,kBAAC,IAAD,KACH,kBAAC,IAAD,mCADG,OAEH,kBAAC,IAAD,KAAQ,oCAAUgO,QAKlC,kBAAC,IAAD,OAEJ,kBAAC,IAAD,KAAW0rE,EAAO,kBAAC,IAAD,CAAQxuE,MAAM,yLAAyC5J,GACzE,kBAAC,IAAD,UAMOguD,Q","file":"static/js/main.c325820f.chunk.js","sourcesContent":["import BaseInstance, { NewInstance, NewProperty } from \"./BaseInstance\";\r\nimport ConditionMaker from \"./ConditionMaker\";\r\n\r\n\r\nexport class ReportHistory extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('E0C24');\r\n ReportHistory.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC95', 'PC556', 'PC19', 'PC363'];\r\n set Title(value) {\r\n this.SetValue(ReportHistory.PIDs[0], value);\r\n }\r\n get Title() {\r\n return this.GetValue(ReportHistory.PIDs[0]);\r\n } set Json(value) {\r\n this.SetValue(ReportHistory.PIDs[1], value);\r\n }\r\n get Json() {\r\n return this.GetValue(ReportHistory.PIDs[1]);\r\n } set Refrence(value) {\r\n this.SetValue(ReportHistory.PIDs[2], value);\r\n }\r\n get Refrence() {\r\n return this.GetValue(ReportHistory.PIDs[2]);\r\n } set Date(value) {\r\n this.SetValue(ReportHistory.PIDs[3], value);\r\n }\r\n get Date() {\r\n return this.GetValue(ReportHistory.PIDs[3]);\r\n }\r\n static async Find(key, name) {\r\n let condition = new ConditionMaker('E0C24');\r\n condition.AddCondition('PC19','=',key);\r\n let temp =await condition.GetResult();\r\n let result=[];\r\n temp.map((item)=>result=[...result,new ReportHistory(item)])\r\n return result;\r\n }\r\n\r\n}","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { Container } from 'reactstrap';\nimport Background from './Background';\n\nconst Section = ({ fluid, bg, image, overlay, position, video, bgClassName, className, children, ...rest }) => {\n const bgProps = { image, overlay, position, video };\n bgClassName && (bgProps.className = bgClassName);\n\n return (\n
\n {image && }\n {children}\n
\n );\n};\n\nSection.propTypes = {\n fluid: PropTypes.bool,\n bg: PropTypes.string,\n image: PropTypes.string,\n overlay: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\n position: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n x: PropTypes.string,\n y: PropTypes.string\n })\n ]),\n video: PropTypes.array,\n bgClassName: PropTypes.string,\n className: PropTypes.string,\n children: PropTypes.node\n};\n\nSection.defaultProps = {\n fluid: false\n};\n\nexport default Section;\n","import React from 'react';\r\nimport { Input } from 'reactstrap';\r\nimport uuid from 'uuid'\r\nconst ComboBox = ({source,onChange,value,...rest}) => {\r\nlet uid =uuid();\r\n return (\r\n {onChange && onChange(target.value,source.find(x=>(x.id===target.value || x.ID===target.value) ),target)}}\r\n >\r\n \r\n {source?.map(x=>{\r\n const id=x.id??x.ID;\r\n const display=(x.display??x.DIS)??x.Name;\r\n return(\r\n \r\n )})}\r\n \r\n );\r\n};\r\n\r\nexport default ComboBox;","import { version } from './config';\n\nexport const homeRoutes = {\n name: 'امکانات طراح',\n to: '/',\n exact: true,\n icon: 'copy',\n children: [\n {\n to: '/formbuiler',\n name: 'فرم ساز',\n exact: true\n },\n { to: '/design-panel', name: 'پنل' },\n { to: '/tester', name: 'آزمایش فرم', exact: true },\n { to: '/tempdata', name: 'ورود داده پیش فرض', exact: true },\n { to: '/reportbuilder', name: 'گزارش ساز' }\n ]\n};\n\nexport const authenticationRoutes = {\n name: 'Authentication',\n to: '/authentication',\n icon: 'lock',\n children: [\n {\n to: '/authentication/basic',\n name: 'Basic',\n children: [\n { to: '/authentication/basic/login', name: 'Login' },\n { to: '/authentication/basic/logout', name: 'Logout' },\n { to: '/authentication/basic/register', name: 'Register' },\n { to: '/authentication/basic/forget-password', name: 'Forgot password' },\n { to: '/authentication/basic/password-reset', name: 'Reset password' },\n { to: '/authentication/basic/confirm-mail', name: 'Confirm mail' },\n { to: '/authentication/basic/lock-screen', name: 'Lock screen' }\n ]\n },\n {\n to: '/authentication/card',\n name: 'Card',\n children: [\n { to: '/authentication/card/login', name: 'Login' },\n { to: '/authentication/card/logout', name: 'Logout' },\n { to: '/authentication/card/register', name: 'Register' },\n { to: '/authentication/card/forget-password', name: 'Forgot password' },\n { to: '/authentication/card/password-reset', name: 'Reset password' },\n { to: '/authentication/card/confirm-mail', name: 'Confirm mail' },\n { to: '/authentication/card/lock-screen', name: 'Lock screen' }\n ]\n },\n {\n to: '/authentication/split',\n name: 'Split',\n children: [\n { to: '/authentication/split/login', name: 'Login' },\n { to: '/authentication/split/logout', name: 'Logout' },\n { to: '/authentication/split/register', name: 'Register' },\n { to: '/authentication/split/forget-password', name: 'Forgot password' },\n { to: '/authentication/split/password-reset', name: 'Reset password' },\n { to: '/authentication/split/confirm-mail', name: 'Confirm mail' },\n { to: '/authentication/split/lock-screen', name: 'Lock screen' }\n ]\n },\n {\n to: '/authentication/wizard',\n name: 'Wizard'\n }\n ]\n};\n\nexport const ECommerceRoutes = {\n name: 'E commerce',\n to: '/e-commerce',\n icon: 'cart-plus',\n children: [\n { to: '/e-commerce/products/list', name: 'Product list' },\n { to: '/e-commerce/products/grid', name: 'Product grid' },\n { to: '/e-commerce/product-details', name: 'Product details' },\n { to: '/e-commerce/orders', name: 'Orders' },\n { to: '/e-commerce/order-details', name: 'Order details' },\n { to: '/e-commerce/customers', name: 'Customers' },\n { to: '/e-commerce/shopping-cart', name: 'Shopping cart' },\n { to: '/e-commerce/checkout', name: 'Checkout' },\n { to: '/e-commerce/favourite-items', name: 'Favourite items' }\n ]\n};\n\nexport const pageRoutes = {\n name: 'Pages',\n to: '/pages',\n icon: 'copy',\n children: [\n { to: '/pages/activity', name: 'Activity' },\n { to: '/pages/associations', name: 'Associations' },\n { to: '/pages/billing', name: 'Billing' },\n { to: '/pages/customer-details', name: 'Customer details' },\n { to: '/pages/event-detail', name: 'Event detail' },\n { to: '/pages/event-create', name: 'Event create' },\n { to: '/pages/events', name: 'Events' },\n { to: '/pages/faq', name: 'Faq' },\n { to: '/pages/invoice', name: 'Invoice' },\n { to: '/pages/invite-people', name: 'Invite people' },\n { to: '/pages/notifications', name: 'Notifications' },\n { to: '/pages/people', name: 'People' },\n { to: '/pages/pricing', name: 'Pricing' },\n { to: '/pages/pricing-alt', name: 'Pricing alt' },\n { to: '/pages/profile', name: 'Profile' },\n { to: '/pages/settings', name: 'Settings' },\n { to: '/pages/starter', name: 'Starter' },\n {\n to: '/errors',\n name: 'Errors',\n children: [{ to: '/errors/404', name: '404' }, { to: '/errors/500', name: '500' }]\n }\n ]\n};\nexport const widgetsRoutes = {\n name: 'Widgets',\n to: '/widgets',\n exact: true,\n icon: 'poll'\n};\n\nexport const calenderRoutes = {\n name: 'Calendar',\n to: '/calendar',\n exact: true,\n icon: 'calendar-alt'\n};\n\nexport const chatRoutes = {\n name: 'Chat',\n to: '/chat',\n exact: true,\n icon: 'comments'\n};\n\nexport const kanbanRoutes = {\n name: 'Kanban',\n to: '/kanban',\n exact: true,\n icon: ['fab', 'trello']\n};\n\nexport const emailRoutes = {\n name: 'Email',\n to: '/email',\n icon: 'envelope-open',\n children: [\n { to: '/email/inbox', name: 'Inbox' },\n { to: '/email/email-detail', name: 'Email detail' },\n { to: '/email/compose', name: 'Compose' }\n ]\n};\n\nexport const documentationRoutes = {\n name: 'Documentation',\n to: '/documentation',\n exact: true,\n icon: 'book'\n};\n\nexport const changelogRoutes = {\n name: 'ChangeLog',\n to: '/changelog',\n exact: true,\n icon: 'code-branch',\n badge: {\n text: `v${version}`,\n color: 'soft-primary'\n }\n};\n\nexport const componentRoutes = {\n name: 'Components',\n to: '/components',\n icon: 'puzzle-piece',\n children: [\n { to: '/components/alerts', name: 'Alerts' },\n { to: '/components/accordions', name: 'Accordions' },\n {\n to: '/components/autocomplete',\n name: 'Autocomplete'\n },\n { to: '/components/avatar', name: 'Avatar' },\n { to: '/components/badges', name: 'Badges' },\n { to: '/components/backgrounds', name: 'Backgrounds' },\n { to: '/components/breadcrumb', name: 'Breadcrumb' },\n { to: '/components/buttons', name: 'Buttons' },\n { to: '/components/cards', name: 'Cards' },\n {\n to: '/components/cookie-notice',\n name: 'Cookie notice'\n },\n { to: '/components/collapses', name: 'Collapses' },\n {\n to: '/components/carousel',\n name: 'Carousel'\n },\n { to: '/components/dropdowns', name: 'Dropdowns' },\n { to: '/components/forms', name: 'Forms' },\n { to: '/components/listgroups', name: 'List groups' },\n { to: '/components/modals', name: 'Modals' },\n { to: '/components/navs', name: 'Navs' },\n {\n to: '/components',\n name: 'Navbar',\n children: [\n { to: '/components/navbars', name: 'Default' },\n {\n to: '/components/navbar-vertical',\n name: 'Vertical'\n },\n {\n to: '/components/navbar-top',\n name: 'Top'\n },\n {\n to: '/components/combo',\n name: 'Combo'\n }\n ]\n },\n { to: '/components/pageheaders', name: 'Page headers' },\n { to: '/components/paginations', name: 'Paginations' },\n { to: '/components/popovers', name: 'Popovers' },\n { to: '/components/progress', name: 'Progress' },\n { to: '/components/sidepanel', name: 'Sidepanel' },\n { to: '/components/spinners', name: 'Spinners' },\n {\n to: '/components/tab',\n name: 'Tabs',\n badge: {\n text: `New`,\n color: 'soft-success'\n }\n },\n { to: '/components/tables', name: 'Tables' },\n { to: '/components/tooltips', name: 'Tooltips' }\n ]\n};\n\nexport const pluginRoutes = {\n name: 'Plugins',\n to: '/plugins',\n icon: 'plug',\n children: [\n { to: '/plugins/bulk-select', name: 'Bulk select' },\n {\n to: '/plugins/react-beautiful-dnd',\n name: 'Beautiful DnD'\n },\n {\n to: '/plugins',\n name: 'Chart',\n children: [{ to: '/plugins/chart', name: 'Chart Js' }, { to: '/plugins/echarts', name: 'Echarts' }]\n },\n { to: '/plugins/countup', name: 'Countup' },\n { to: '/plugins/code-highlight', name: 'Code Highlight' },\n { to: '/plugins/datetime', name: 'Datetime' },\n { to: '/plugins/dropzone', name: 'Dropzone' },\n { to: '/plugins/emoji-mart', name: 'Emoji Mart' },\n { to: '/plugins/font-awesome', name: 'Font Awesome' },\n {\n to: '/plugins/calendar-example',\n name: 'Full Calendar'\n },\n { to: '/plugins/image-lightbox', name: 'Image lightbox' },\n { to: '/plugins/lottie', name: 'Lottie' },\n {\n to: '/plugins',\n name: 'Map',\n children: [\n { to: '/plugins/leaflet-map', name: 'Leaflet map' },\n { to: '/plugins/google-map', name: 'Google map' },\n { to: '/plugins/echart-map', name: 'Echart Map' }\n ]\n },\n { to: '/plugins/plyr', name: 'Plyr' },\n { to: '/plugins/progressbar', name: 'Progressbar' },\n { to: '/plugins/react-hook-form', name: 'React Hook Form' },\n {\n to: '/plugins/react-bootstrap-table2',\n name: 'BS Table2'\n },\n { to: '/plugins/select', name: 'Select' },\n { to: '/plugins/slick-carousel', name: 'Slick Carousel' },\n { to: '/plugins/scroll-bar', name: 'Scroll Bar' },\n { to: '/plugins/toastify', name: 'Toastify' },\n { to: '/plugins/typed', name: 'Typed' },\n { to: '/plugins/wysiwyg', name: 'WYSIWYG editor' }\n ]\n};\n\nexport const utilityRoutes = {\n name: 'Utilities',\n to: '/utilities',\n icon: ['fab', 'hotjar'],\n children: [\n { to: '/utilities/borders', name: 'Borders' },\n { to: '/utilities/clearfix', name: 'Clearfix' },\n { to: '/utilities/closeIcon', name: 'Close icon' },\n { to: '/utilities/colors', name: 'Colors' },\n { to: '/utilities/display', name: 'Display' },\n { to: '/utilities/embed', name: 'Embed' },\n { to: '/utilities/figures', name: 'Figures' },\n { to: '/utilities/flex', name: 'Flex' },\n { to: '/utilities/grid', name: 'Grid' },\n { to: '/utilities/sizing', name: 'Sizing' },\n { to: '/utilities/spacing', name: 'Spacing' },\n { to: '/utilities/stretchedLink', name: 'Stretched link' },\n { to: '/utilities/typography', name: 'Typography' },\n { to: '/utilities/verticalAlign', name: 'Vertical align' },\n { to: '/utilities/visibility', name: 'Visibility' }\n ]\n};\n\nexport default [\n homeRoutes\n];\nconst labRoute=[\n \"PanelF3V3\",\n \"PanelF3V4\",\n \"PanelF3V5\",\n \"PanelF3V6\",\n \"PanelF3V7\",\n \"PanelF3V9\",\n \"PanelF3V19\",\n \"PanelF3V34\",\n \"PanelF3V39\",\n \"PanelF3V79\",\n \"PanelF3V80\",\n\"O30E12C12F0V1\",\n\"O30E12C11F0V1\",\n\"O30E12C84F0V2\",\n\"O30E12C91F0V1\",\n\"O30E12C96F0V1\",\n\"O30E12C101F0V1\",\n\"O30E12C128F0V1\"\n]\nexport const chackRouat=(route)=>(labRoute.findIndex((x)=>x===route)>=0)\n","import React from 'react';\r\nimport uuid from 'uuid/v1';\r\nimport axiosInstance from './BaseSetting';\r\nimport ErrorHandler from './ErrorHandler';\r\nimport { InstanceController } from './InstanceController';\r\nimport NumberFormat from 'react-number-format';\r\nimport { faFolderPlus, faPlus, faRedo, faSave, faTrash } from '@fortawesome/free-solid-svg-icons';\r\n\r\nconst SearchObject = async (context, source, operator = '=', orderBy = '', props) => {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.post('Utility/SearchObject',\r\n { context, source, operator, orderBy, props }\r\n );\r\n } catch (e) {\r\n await ErrorHandler.CominicationError(e, SearchObject);\r\n }\r\n return result.data;\r\n}\r\nconst SearchConditionMaker = async (con) => {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.get('Instance/GetConMakerInstances',\r\n { params: { condition: JSON.stringify(con) } });\r\n console.log(result)\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result.data;\r\n}\r\nconst SearchCondition = async (condition) => {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.post('Instance/GetConInstances', { conditions: condition });\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return JSON.parse(result.data);\r\n}\r\nconst Upload = async (file, filedata, onUploadProgress) => {\r\n let formData = new FormData();\r\n formData.append(\"file\", file);\r\n formData.append(\"filedata\", filedata);\r\n return await axiosInstance.post(\"Utility/SaveFile\", formData, {\r\n headers: {\r\n \"Content-Type\": \"multipart/form-data\",\r\n },\r\n onUploadProgress,\r\n });\r\n}\r\nconst GetFile = async (filename) => {\r\n return await axiosInstance.get(\"Utility/GetFile\", { params: { name: filename, type: '1' }, responseType: 'arraybuffer' });\r\n}\r\n\r\nexport class Utility {\r\n static isJson(str) {\r\n try {\r\n JSON.parse(str);\r\n } catch (e) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n static GetClassID(id = '') {\r\n let result = '';\r\n if (this.IsClassID(id))\r\n return id\r\n if (this.IsInstanceID(id)) {\r\n id = id.replace('Instance-', '');\r\n result = id.substring(0, id.indexOf('I') > 0 ? id.indexOf('I') : id.length);\r\n }\r\n else if (this.IsFormID(id)) {\r\n result = id.split('F')[0];\r\n }\r\n return result;\r\n }\r\n static GetInstanceSerial(eId){\r\n let result = null;\r\n if (this.IsInstanceID(eId)) {\r\n result = eId.substring(eId.indexOf('I'));\r\n result = result.replace('I', '');\r\n }\r\n return parseInt(result);\r\n }\r\n static Pasword(str = '') { return str !== null ? str.toString().match(/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/) : false; }\r\n static IsInstanceID(str = '') { return str !== null ? str.toString().match(/^O[0-9]+E[0-9]+C[0-9]+I\\d+$|^E[0-9]+C[0-9]+I\\d+$/) : false; }\r\n static IsFormID(str = '') { return str !== null ? str.toString().match(/^O[0-9]+E[0-9]+C[0-9]+F[0-9]+V\\d+$|^E[0-9]+C[0-9]+F[0-9]+V\\d+$|^Panel+F[0-9]+V\\d+$/) : false; }\r\n static IsClassID(str = '') { return str !== null ? str.match(/^O[0-9]+E[0-9]+C\\d+$|^E[0-9]+C\\d+$/) : false; }\r\n static IsEntityID(str = '') { return str !== null ? str.match(/^O[0-9]+E\\d+$|^E\\d+$/) : false; }\r\n static IsPropertyID(str = '') { return str !== null ? str.match(/^P[0-9]|^PC[0-9]/) : false; }\r\n static IsSystemPropertyID(str = '') { return str !== null ? str.match(/^PC[0-9]/) : false; }\r\n static IsID(str = '') {\r\n return (\r\n this.IsInstanceID(str) ||\r\n this.IsFormID(str) ||\r\n this.IsClassID(str) ||\r\n this.IsEntityID(str) ||\r\n this.IsPropertyID(str) ||\r\n this.IsSystemPropertyID(str)\r\n )\r\n }\r\n static IsClassOrInstanceID(str = '') {\r\n return this.IsClassID(str) || this.IsInstanceID(str);\r\n }\r\n static datelocal;\r\n static dateserver;\r\n static async GetNow() {\r\n let time = null;\r\n if (!this.dateserver) {\r\n let resultdata = await axiosInstance.get('Utility/GetNow');\r\n if (resultdata.status === 200) {\r\n this.dateserver = resultdata.data;\r\n }\r\n }\r\n let temp = this.dateserver.split(' ');\r\n time = {\r\n hour: temp[1],\r\n date: temp[0],\r\n toString: this.dateserver\r\n }\r\n return time;\r\n }\r\n\r\n static async ActiveUsers() {\r\n let resultdata = await axiosInstance.get('Utility/ActiveUsers');\r\n if (resultdata.status === 200) {\r\n return resultdata.data;\r\n }\r\n return undefined;\r\n }\r\n static async ActiveUsersList() {\r\n let resultdata = await axiosInstance.get('Utility/ActiveUsersList');\r\n if (resultdata.status === 200) {\r\n return resultdata.data;\r\n }\r\n return undefined;\r\n }\r\n static async DownloadFile(filename) {\r\n let headers = { 'Content-Type': 'blob' };\r\n try {\r\n const response = await axiosInstance.get('Utility/GetFile', { params: { name: filename, type: 'Conditions' }, responseType: 'arraybuffer', headers });\r\n const outputFilename = `${Date.now()}.xls`;\r\n const url = URL.createObjectURL(new Blob([response.data]));\r\n const link = document.createElement('a');\r\n link.href = url;\r\n link.setAttribute('download', outputFilename);\r\n document.body.appendChild(link);\r\n link.click();\r\n } catch (error) {\r\n throw Error(error);\r\n }\r\n }\r\n static async SendMali(formdata) {\r\n try {\r\n var response = await axiosInstance.post('Utility/SendMail', formdata);\r\n if (response?.status === 200)\r\n return true;\r\n return undefined;\r\n } catch (error) {\r\n console.log(error.message)\r\n ErrorHandler.CominicationError(error);\r\n }\r\n }\r\n static ObjToInsList(list = []) {\r\n let inses = [];\r\n list.map((item) => inses = [...inses, item.Instance]);\r\n return inses;\r\n }\r\n static GetFormType(formId) {\r\n if (formId?.split('F')[1]?.split('V')[0])\r\n return formId?.split('F')[1]?.split('V')[0];\r\n return 'NA';\r\n }\r\n static async GetCertificate(id) {\r\n try {\r\n var response = await axiosInstance.get('Utility/GetCertificate', { params: { id } });\r\n if (response?.status === 200)\r\n return response.data;\r\n return undefined;\r\n } catch (error) {\r\n ErrorHandler.CominicationError(error);\r\n }\r\n }\r\n static async GetCertFile(id) {\r\n try {\r\n var response = await axiosInstance.get('Utility/GetCertFile', {\r\n responseType: 'blob',\r\n params: { id }\r\n });\r\n if (response?.status === 200) {\r\n // const contentDisposition = response.headers['content-disposition'];\r\n // console.log(response)\r\n // const filenameRegex = /filename[^;=\\n]*=((['\"]).*?\\2|[^;\\n]*)/;\r\n // const matches = filenameRegex.exec(contentDisposition);\r\n // const filename = matches != null && matches[1] ? matches[1].replace(/['\"]/g, '') : 'file1.pdf';\r\n \r\n const url = window.URL.createObjectURL(new Blob([response.data]));\r\n const link = document.createElement('a');\r\n link.href = url;\r\n link.setAttribute('download', 'گواهی پیشگام ایرانیان.pdf');\r\n document.body.appendChild(link);\r\n link.click();\r\n }\r\n return null;\r\n } catch (error) {\r\n ErrorHandler.CominicationError(error);\r\n }\r\n }\r\n}\r\nexport class ReportHistory {\r\n static new11 = `{\"title\":\"test\",\"ID\":\"E0C24\",\"ref\":\"'''',''O30E12C2''\"}`;\r\n static con = `{\"OCID\":\"E0C24\",\"BCs\":[{\"Bts\":[{\"PID\":\"PC19\",\"PRA\":\"Equal\",\"IPV\":\"#PC19\",\"NLC\":\"#NLC\",\"SRC\":\"\"}^],\"NLC\":\"None\"}]}`;\r\n static async Find(key, name) {\r\n let condition = this.con.replaceAll('#PC19', key)\r\n if (name !== undefined)\r\n condition = condition.replaceAll('^', `,{\"PID\":\"PC95\",\"PRA\":\"Equal\",\"IPV\":\"${name}\",\"NLC\":\"None\",\"SRC\":\"\"}`)\r\n .replaceAll('#NLC', 'And')\r\n else\r\n condition = condition.replaceAll('^', '').replaceAll('#NLC', 'None')\r\n\r\n let result = await InstanceController.GetInstancesAsync(condition);\r\n if (result.ID !== undefined)\r\n result = JSON.parse(result.Prop.find(x => x.PID === 'PC556').IPV.replaceAll(`'`, '\"'));\r\n return result;\r\n }\r\n}\r\n\r\nexport const AddNewTabIns = (path, instance) => {\r\n let id = uuid()\r\n localStorage.setItem(id, JSON.stringify(instance))\r\n window.open(path + id, \"_blank\") //to open new page\r\n\r\n}\r\nexport const GetNewTabIns = (id) => {\r\n let instance = localStorage.getItem(id);\r\n localStorage.removeItem(id)\r\n if (instance !== undefined)\r\n return JSON.parse(instance);\r\n return null;\r\n\r\n}\r\nconst AnonymousReg = async (content) => {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.post('Utility/AnonymousReg', content);\r\n if (result.status === 200)\r\n return result.data;\r\n else\r\n return result.status;\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n}\r\nconst SaveEmploye = async (content) => {\r\n let result = {};\r\n try {\r\n content.Code = 'vnsoi85bv937qoc';\r\n result = await axiosInstance.post('Utility/SaveEmploye', content);\r\n if (result.status === 200)\r\n return result.data;\r\n else\r\n return result.status;\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n}\r\nexport const NewEmploye = () => {\r\n let result = {\r\n FormID: \"E11C1F0V1\",\r\n Data: {\r\n ...{\r\n ID: '',\r\n UID: 'new',\r\n User: { ...{ ID: '', UserName: '', Password: '', State: true } },\r\n Person: { ...{ UID: '', ID: 'E11C1', Prop: [] } }\r\n }\r\n }\r\n };\r\n\r\n result.Data.Person.UID = uuid();\r\n return { ...result };\r\n}\r\nexport const LoadEmploye = async (id) => {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.get('Utility/GetEmploye', { params: { employeid: id } });\r\n console.log(id, result.data)\r\n if (result.status === 200)\r\n return result.data;\r\n else\r\n return result.status;\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n}\r\nexport const MoneyFormat = (value) => {\r\n return \r\n}\r\nexport const NewForm = {\r\n ShowType: \"vertical\", FormID: \"\", title: \"\",\r\n Commands: [\"Save\", \"New\", \"Delete\", \"Save-New\"],\r\n Realations: [],\r\n rows: [{\r\n height: \"auto\",\r\n controls: []\r\n }]\r\n}\r\nexport const NewCell = {\r\n col: \"\",\r\n pid: \"\",\r\n controlType: \"\",\r\n title: \"\"\r\n}\r\nexport const CommandRow = {\r\n height: \"auto\",\r\n sections: \"Commands\"\r\n}\r\nexport const NewObjectClass = {\r\n ID: \"\",\r\n EID: '',\r\n Contexts: [], Name: \"\", prm: 0,\r\n ShowProp: '',\r\n UserCanChange: true,\r\n HasReadLimitation: false,\r\n properties: [],\r\n Extended: {\r\n KEYS: [],\r\n IsUniqe: false,\r\n LOH: false,\r\n RST: 0\r\n }\r\n}\r\nexport const NewProperty = {\r\n Contexts: [],\r\n StyleW2: {\r\n Control: \"None\", DataType: \"String\", Min: 0, Max: 0, ValueLengh:\r\n 0, MultiValue: false, ValueQty: 0, State: \"1\",\r\n History: false, FixedValue: false, IsMultilingual: false\r\n },\r\n Name: \"\",\r\n ID: \"\"\r\n}\r\nexport const NewPanel = {\r\n FormID: \"\",\r\n ShowType: \"Panel\", title: \"\",\r\n rows: [{\r\n height: \"auto\", controls:\r\n [{\r\n col: \"12\",\r\n formid: \"\",\r\n connectionPid: \"\",\r\n title: \"\"\r\n }]\r\n },\r\n {\r\n height: \"auto\",\r\n controls: 'Commands'\r\n },\r\n {\r\n height: \"auto\",\r\n controls: [\r\n {\r\n col: \"12\",\r\n formid: \"\",\r\n connectionPid: \"\",\r\n title: \"\",\r\n Editor: \"\"\r\n }\r\n ]\r\n }], Connectors: [],\r\n Commands: [{\r\n Command: \"Save\",\r\n Order: []\r\n },\r\n {\r\n Command: \"Delete\",\r\n Order: []\r\n },\r\n {\r\n Command: \"New\",\r\n Order: [],\r\n Show: \"TempData\"\r\n },\r\n {\r\n Command: \"Save-New\",\r\n Order: []\r\n },\r\n {\r\n Command: \"Refresh\",\r\n Order: []\r\n }],\r\n Relations: []\r\n}\r\nexport const dataTypeList = [\r\n {\r\n id: \"Double\", display: \"Double\"\r\n },\r\n {\r\n id: \"String\", display: \"String\"\r\n },\r\n {\r\n id: \"Boolean\", display: \"Boolean\"\r\n },\r\n {\r\n id: \"DateTime\", display: \"DateTime\"\r\n },\r\n {\r\n id: \"Time\", display: \"Time\"\r\n },\r\n {\r\n id: \"BaseProperty\", display: \"BaseProperty\"\r\n },\r\n {\r\n id: \"Entity\", display: \"Entity\"\r\n },\r\n {\r\n id: \"ObjectClass\", display: \"ObjectClass\"\r\n },\r\n {\r\n id: \"Instance\", display: \"Instance\"\r\n },\r\n { id: \"AnyInstance\", display: \"AnyInstance\" },\r\n { id: \"Group\", display: \"Group\" },\r\n { id: \"ObjectClassList\", display: \"ObjectClassList\" },\r\n { id: \"User\", display: \"User\" },\r\n { id: \"Date\", display: \"Date\" },\r\n { id: \"File\", display: \"File\" },\r\n { id: \"Role\", display: \"Role\" },\r\n { id: \"Json\", display: \"Json\" },\r\n {\r\n id: \"TimeSpan\", display: \"TimeSpan\"\r\n },\r\n {\r\n id: \"NewInstance\", display: \"NewInstance\"\r\n }\r\n];\r\nexport const controlTypeList = [\r\n { display: \"None\", id: \"None\" },\r\n { display: \"TextBox\", id: \"AITextBox\" },\r\n { display: \"MultiLang_TextBox\", id: \"MultiLang_TextBox\" },\r\n { display: \"ComboBox\", id: \"ComboBox\" },\r\n { display: \"CheckBox\", id: \"CheckBox\" },\r\n { display: \"Slider_CheckBox\", id: \"Slider_CheckBox\" },\r\n { display: \"TreeView\", id: \"TreeView\" },\r\n { display: \"SearchControl\", id: \"SearchControl\" },\r\n { display: \"InstanceControl\", id: \"InstanceControl\" },\r\n { display: \"UserBox\", id: \"UserBox\" },\r\n { display: \"Weight\", id: \"Weight\" },\r\n { display: \"RaidoButton\", id: \"RaidoButton\" },\r\n { display: \"MultiLineText\", id: \"MultiLineText\" },\r\n { display: \"File\", id: \"FileControl\" },\r\n { display: \"TimePeriod\", id: \"TimePeriod\" }];\r\nexport const formTypes = [\r\n { display: \"Data Form\", id: \"vertical\", index: '0' },\r\n { display: \"List Form\", id: \"horizental\", index: '1' },\r\n { display: \"Panel\", id: \"Panel\", index: '3' }\r\n];\r\nexport const commandList = [{\r\n id: 'Save',\r\n title: 'ذخیره', icon: faSave\r\n}, {\r\n id: 'New',\r\n title: 'جدید', icon: faPlus\r\n}, {\r\n id: 'Delete',\r\n title: 'حذف', icon: faTrash\r\n}, {\r\n id: 'Save-New',\r\n title: 'ذخیره و جدید', icon: faFolderPlus\r\n}, {\r\n id: 'Refresh',\r\n title: 'بارگزاری', icon: faRedo\r\n}];\r\nconst SetLocalLink = (obj) => {\r\n let id = uuid();\r\n let json = JSON.stringify(obj);\r\n localStorage.setItem(id, json);\r\n return id;\r\n};\r\nconst GetLocalLink = (id) => {\r\n let json = localStorage.getItem(id);\r\n localStorage.removeItem(id);\r\n if (json)\r\n return JSON.parse(json);\r\n else return undefined;\r\n};\r\nexport {\r\n SearchObject, SearchCondition, SearchConditionMaker, SaveEmploye,\r\n Upload, GetFile, AnonymousReg, SetLocalLink, GetLocalLink\r\n};","import ErrorHandler from './ErrorHandler';\r\nimport axiosInstance from './BaseSetting';\r\n\r\n\r\nexport default class RelationController {\r\n static DataModel = {\r\n baseID: '#',\r\n relationType: null,\r\n relationTypeID: '',\r\n beUniqe: true,\r\n dependTypeID: '',\r\n dependencyIDes: []\r\n }\r\n static async AddRelationAsync(dataModel) {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.post('Relation/AddRelation', dataModel);\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result.data;\r\n\r\n }\r\n static async DeleteRelationAsync(dataModel) {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.post('Relation/DeleteRelation', dataModel);\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result.data;\r\n\r\n }\r\n static async GetRelationAsync(dataModel) {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.post('Relation/GetRelation', dataModel);\r\n\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result.data;\r\n\r\n }\r\n static async GetRelationBaseAsync(dataModel) {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.post('Relation/GetRelationBase', dataModel);\r\n\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result.data;\r\n\r\n }\r\n}","\r\nimport BaseInstance, { NewInstance, NewProperty } from \"../Engine/BaseInstance\";\r\nimport ConditionMaker from \"../Engine/ConditionMaker\";\r\nimport { InstanceController } from \"../Engine/InstanceController\";\r\nexport class TbSample extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C122');\r\n TbSample.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n //static PIDs = ['P168', 'P9', 'P167', 'P169', 'P170', 'P171'];\r\n static PIDs = ['P167', 'P9', 'P38', 'P168', 'P169', 'P170', 'P172','P15'\r\n ,\"P192\",\"P200\"\r\n ];\r\n\r\n set CtInternal1(value) {\r\n this.SetValue(TbSample.PIDs[9], value);\r\n console.log(TbSample.PIDs[9],value)\r\n }\r\n get CtInternal1() {\r\n return this.GetValue(TbSample.PIDs[9]);\r\n }\r\n \r\n set Ct1(value) {\r\n this.SetValue(TbSample.PIDs[8], value);\r\n }\r\n get Ct1() {\r\n return this.GetValue(TbSample.PIDs[8]);\r\n }\r\n \r\n set Header(value) {\r\n this.SetValue(TbSample.PIDs[0], value);\r\n }\r\n get Header() {\r\n return this.GetValue(TbSample.PIDs[0]);\r\n } set Sample(value) {\r\n this.SetValue(TbSample.PIDs[1], value);\r\n }\r\n get Sample() {\r\n return this.GetValue(TbSample.PIDs[1]);\r\n }\r\n get SampleObj() {\r\n return this.GetValue(TbSample.PIDs[1], true);\r\n }\r\n set Result(value) {\r\n this.SetValue(TbSample.PIDs[2], value);\r\n }\r\n get Result() {\r\n return this.GetValue(TbSample.PIDs[2]);\r\n } set SDA(value) {\r\n this.SetValue(TbSample.PIDs[3], value);\r\n }\r\n get SDA() {\r\n return this.GetValue(TbSample.PIDs[3]);\r\n } set CV(value) {\r\n this.SetValue(TbSample.PIDs[4], value);\r\n }\r\n get CV() {\r\n return this.GetValue(TbSample.PIDs[4]);\r\n } set AVG(value) {\r\n this.SetValue(TbSample.PIDs[5], value);\r\n }\r\n get AVG() {\r\n return this.GetValue(TbSample.PIDs[5]);\r\n }\r\n set infectionLevel(value) {\r\n this.SetValue(TbSample.PIDs[6], value);\r\n }\r\n get infectionLevel() {\r\n return this.GetValue(TbSample.PIDs[6]);\r\n }\r\n set IntResult(value) {\r\n this.SetValue(TbSample.PIDs[7], value);\r\n }\r\n get IntResult() {\r\n return this.GetValue(TbSample.PIDs[7]);\r\n }\r\n static async loaderExAnswer (localSample,period) {\r\n let rows = [];\r\n let others = [];\r\n for (let samindex = 0; samindex < localSample.length; samindex++) {\r\n const sample1 = localSample[samindex];\r\n let cond = new ConditionMaker('O30E12C122');\r\n cond.AddCondition('P167', '=', period,'And')\r\n .AddCondition('P9', '=', sample1.ID);\r\n let list = await cond.GetResult();\r\n list.map(row => {\r\n let tempins = new TbSample(row);\r\n rows = [...rows, tempins];\r\n });\r\n console.log(list,rows)\r\n let flag = false;\r\n for (let index = 0; index < rows.length; index++) {\r\n const row = rows[index];\r\n if (sample1.ID === row.Sample) {\r\n row.Sample = new BaseInstance(sample1);\r\n flag = true;\r\n }\r\n }\r\n if (!flag) {\r\n others = [...others, sample1];\r\n }\r\n }\r\n others.map(smp => {\r\n let temp = new TbSample();\r\n temp.Sample = new BaseInstance(smp);\r\n rows = [...rows, temp];\r\n });\r\n return rows;\r\n }\r\n async CalculateSDI(period){\r\n let sampleList=[];\r\n let cond = new ConditionMaker('O30E12C39');\r\n cond.AddCondition('P3', '=', period);\r\n let result =await cond.GetResult();\r\n for (let index = 0; index < result.length; index++) {\r\n const element = result[index];\r\n let con1=new ConditionMaker('O30E12C39');\r\n con1.AddCondition('P8','=',element.Prop.find(x=>x.PID==='P8').IPV)\r\n let doc = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(con1)\r\n , 'P167', ['O30E12C122'])\r\n for (let index = 0; index < doc.RelatedInstances.length; index++) {\r\n const row = doc.RelatedInstances[index];\r\n sampleList=[...sampleList,\r\n {sample:row.Prop.find(x=>x.PID==='P9')?.IPV,\r\n result:row.Prop.find(x=>x.PID==='P15')?.IPV}]\r\n }\r\n }\r\n\r\n return(sampleList);\r\n }\r\n List=[];\r\n median;\r\n Lis2=[];\r\n Lis3=[];\r\n landa;\r\n s;\r\n max;\r\n min;\r\n}\r\n","import uuid from 'uuid/v1';\r\nimport { Utility } from './Common';\r\nimport { InstanceController } from './InstanceController';\r\n\r\nexport default class BaseInstance {\r\n Instance;\r\n constructor(instance) {\r\n this.Instance = instance;\r\n }\r\n get ID() {\r\n return this.Instance?.ID;\r\n }\r\n get display() {\r\n return this.Instance?.DIS;\r\n }\r\n get DIS() {\r\n return this.Instance?.DIS;\r\n }\r\n GetValue(propid, getobject) {\r\n if (this.Instance?.Prop === null)\r\n this.Instance.Prop = [];\r\n let prop = this.Instance?.Prop?.find(p => p.PID === propid);\r\n if (getobject) {\r\n if (prop?.OBJ === undefined && Utility.IsInstanceID(prop?.IPV)) {\r\n prop.OBJ = { ID: prop?.IPV, DIS: prop?.DIS ?? '' };\r\n }\r\n else if (prop?.OBJ === undefined && !Utility.IsInstanceID(prop?.IPV)) {\r\n return prop?.IPV;\r\n }\r\n\r\n return prop?.OBJ;\r\n }\r\n else\r\n return prop?.IPV;\r\n }\r\n SetValue(propid, value, TP) {\r\n if (this.Instance.Prop === null) {\r\n this.Instance.Prop = [];\r\n }\r\n let prop = this.Instance?.Prop?.find(p => p.PID === propid);\r\n\r\n if (prop === undefined) {\r\n prop = { PID: propid, IPV: '', TP };\r\n if (Array.isArray(this.Instance?.Prop))\r\n this.Instance.Prop = [...this.Instance?.Prop, prop];\r\n else\r\n this.Instance.Prop = [prop];\r\n\r\n }\r\n if (typeof value === 'object') {\r\n if (prop.IsInstance) {\r\n prop.IPV = JSON.stringify(value);\r\n prop.OBJ = value;\r\n }\r\n else {\r\n if (!prop.TP || prop.TP !== 15)\r\n prop.IPV = value.ID ?? value.id;\r\n prop.DIS = value.DIS ?? value.display;\r\n prop.OBJ = value;\r\n }\r\n if (value.Instance !== undefined)\r\n prop.DIS = value.Instance.DIS;\r\n // else if (value.DIS !== undefined)\r\n // prop.DIS = value.DIS;\r\n // else if (value.display !== undefined) {\r\n // prop.IPV = value.id;\r\n // prop.DIS = value.display;\r\n // }\r\n\r\n }\r\n else if (value !== undefined)\r\n prop.IPV = value.toString();\r\n else if (value === undefined)\r\n prop.IPV = '';\r\n return this.Instance;\r\n }\r\n GetProperty(propid) {\r\n let prop;\r\n if (this.Instance) {\r\n if (!this.Instance?.Prop || this.Instance?.Prop === null)\r\n this.Instance.Prop = [];\r\n prop = this.Instance?.Prop?.find(p => p.PID === propid);\r\n if (prop === undefined) {\r\n prop = { PID: propid, IPV: '' };\r\n this.Instance.Prop = [...this.Instance?.Prop, prop];\r\n }\r\n }\r\n return prop;\r\n }\r\n async SaveAsync() {\r\n return await InstanceController.SaveInstanceAsync(this.Instance);\r\n }\r\n async DeleteAsync(withconfirm) {\r\n return await InstanceController.DeleteAsync(this.Instance.ID, '#', withconfirm);\r\n }\r\n async GetAll() {\r\n return await InstanceController.GetInstancesAsync(this.Instance.ID);\r\n }\r\n getPropertyIds() {\r\n if (!this.Instance.Prop || this.Instance.Prop === null)\r\n this.Instance.Prop = [];\r\n let result = [];\r\n this.Instance.Prop.map(prop => result = [...result, prop.PID]);\r\n return result;\r\n }\r\n static syncData(base, source) {\r\n base.ID = source.ID;\r\n let baseIns = new BaseInstance(base);\r\n let SourceIns = new BaseInstance(source);\r\n let ides = baseIns.getPropertyIds();\r\n for (var i = 0; i < ides.length; i++) {\r\n if (baseIns.GetProperty(ides[i])?.IsInstance) {\r\n baseIns.GetValue(ides[i], true).ID = SourceIns.GetValue(ides[i]);\r\n }\r\n\r\n }\r\n\r\n return baseIns.Instance;\r\n }\r\n instanceToRow(props) {\r\n let data = { id: this.ID, display: this.display };\r\n if (props)\r\n this.Instance.Prop.map(prop => props.findIndex(x => x === prop.PID) >= 0 ? data[prop.PID] = prop.DIS ?? (prop.display ?? `=\"\"${prop.IPV}\"\"`) : null);\r\n else\r\n this.Instance.Prop.map(prop => data[prop.PID] = prop.DIS ?? (prop.display ?? `=\"\"${prop.IPV}\"\"`));\r\n return data;\r\n }\r\n}\r\nexport const NewInstance = (id = '') => ({\r\n ...{\r\n ID: id,\r\n UID: uuid(),\r\n Prop: []\r\n }\r\n});\r\nexport const NewProperty = (pid = '', value = '') => ({\r\n IPV: value,\r\n PID: pid\r\n});","import React, { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, Col, Modal, ModalBody, ModalFooter, ModalHeader, Row } from 'reactstrap';\r\nimport FalconCardHeader from '../components/common/FalconCardHeader';\r\nimport JoiSearchBox from '../components/joi/JoiSearchBox';\r\nimport { AuthenticationController } from '../Engine/Authentication';\r\nimport BaseInstance from '../Engine/BaseInstance';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport RelationController from '../Engine/RelationController';\r\nimport { ConstIdes, PropConstIdes } from './ConstIdes';\r\nimport Divider from '../components/common/Divider';\r\nimport { ExternalLink } from './PishgamContext';\r\nimport ReportInfo from './Lab/ReportInfo';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport { faExclamation } from '@fortawesome/free-solid-svg-icons';\r\nimport ConditionMaker from '../Engine/ConditionMaker';\r\nimport { Message } from './MessageDefinition';\r\n\r\nconst AdminReportHeader = ({ title, domainId, LoadTests, PropertyHandler,loading }) => {\r\n const [isInRole, SetIsInRole] = useState();\r\n const [links, setLinkes] = useState([]);\r\n const [samplelinks, setSampleLinkes] = useState([]);\r\n const [reset, setReset] = useState('');\r\n const [alertbtn,setAlertbtn]=useState();\r\n const [popupIsOpen,setPopupIsOpen]=useState();\r\n const [message,setMessage]=useState();\r\n useEffect(() => {\r\n const fetch = async () => {\r\n setReset('Clear');\r\n PropertyHandler('','P9');\r\n setAlertbtn(false);\r\n setPopupIsOpen(false);\r\n if (domainId) {\r\n try {\r\n\r\n let data = {};\r\n data.baseID = domainId;\r\n data.relationType = { ID: 'E0C12I4', FormID: 'O30E23C2F0V1', DIS: 'لینکها', Refrence: 'O30E0C1', Type: 6 };\r\n data.relationTypeID = \"E0C12I4\";\r\n let related = await RelationController.GetRelationAsync(data);\r\n if (related !== undefined) {\r\n let list = [];\r\n for (let index = 0; index < related.dependencyIDes.length; index++) {\r\n const element = related.dependencyIDes[index];\r\n let ins = await InstanceController.LoadInstanceAsync(element.id);\r\n list = [...list, new BaseInstance(ins)];\r\n }\r\n setLinkes(list);\r\n SetIsInRole(await AuthenticationController.HasRole('R2'));\r\n }\r\n\r\n } catch (error) {\r\n\r\n }\r\n }\r\n setReset('');\r\n }\r\n fetch();\r\n\r\n }, [domainId])\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه مورد نظر را انتخاب نماييد و يا سال مورد نظر را نوشته و كليد Enter را بزنيد\",\r\n source: ConstIdes.Sample\r\n };\r\n const Labratory = {\r\n col: \"3\",\r\n pid: PropConstIdes.Lab,\r\n controlType: \"SearchControl\",\r\n title: \"آزمایشگاه\",\r\n source: ConstIdes.Lab\r\n };\r\n let tempdomainid = domainId;\r\n if (tempdomainid === 'O30E23C2I20')\r\n tempdomainid = 'O30E23C2I18';\r\n const SampleChanged = async (pid, value) => {\r\n PropertyHandler(pid, value);\r\n setAlertbtn(false);\r\n setPopupIsOpen(false);\r\n try {\r\n let data = {};\r\n data.baseID = value.id;\r\n data.relationTypeID = 'E0C12I4';\r\n data.relationType = { id: 'E0C12I4', display: 'لینکها' };\r\n let related = await RelationController.GetRelationAsync(data);\r\n let templinks = [];\r\n for (let index = 0; index < related.dependencyIDes.length; index++) {\r\n const element = related.dependencyIDes[index];\r\n let loadobject = new ExternalLink(await InstanceController.LoadInstanceAsync(element.id));\r\n if (loadobject && loadobject.Type === \"1\")\r\n templinks = [...templinks, loadobject];\r\n\r\n }\r\n setSampleLinkes([...templinks]);\r\n let con = new ConditionMaker('E23C2');\r\n con.AddCondition('PC19', '=', value.id, 'AND');\r\n con.AddCondition('P174', '=', '2');\r\n let result = await con.GetResult();\r\n if (result?.length > 0) {\r\n setMessage(new Message(result[0]));\r\n setAlertbtn(true);\r\n setPopupIsOpen(true);\r\n }\r\n } catch (error) {\r\n\r\n }\r\n //LoadTests();\r\n }\r\n return (<>\r\n \r\n \r\n {alertbtn? setPopupIsOpen(true)} />:null}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {isInRole ? \r\n {\r\n PropertyHandler(pid, value);\r\n //LoadTests();\r\n }}\r\n PID={Labratory.pid} placeHolder={Labratory.title} />\r\n : null}\r\n \r\n {isInRole ? : null}\r\n \r\n \r\n \r\n {links?.length > 0 ?\r\n (<>لینکها\r\n \r\n {links?.map(item =>\r\n {item.GetValue('PC95')}\r\n )\r\n }\r\n {samplelinks?.map(item =>\r\n {item.GetValue('PC95')}\r\n )\r\n }\r\n \r\n )\r\n : null\r\n }\r\n\r\n \r\n \r\n {alertbtn?\r\n {message.Title}\r\n \r\n
\r\n \r\n \r\n \r\n \r\n :null}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default AdminReportHeader;","import StorageController, { DataModel } from './StorageController'\r\nimport uuid from 'uuid';\r\nimport { toast } from 'react-toastify';\r\nimport axiosInstance from './BaseSetting';\r\n\r\nexport default class BasePropertyController {\r\n static async GetPropertyList(propids=[]) {\r\n let resultlist = [];\r\n try {\r\n let remainides = '';\r\n propids.map(async function (propid) {\r\n let result = StorageController.FindModel(propid, 'BASEPROPERTY');\r\n if (result === null)\r\n remainides += propid + ',';\r\n else\r\n resultlist = [...resultlist, result.DataModel.Data];\r\n });\r\n if (remainides !== '') {\r\n let resultdata = await axiosInstance.get('ObjectClass/GetBasePropertyList', {\r\n params: { listIDes: remainides }\r\n });\r\n resultlist = [...resultlist, ...resultdata.data]\r\n resultdata.data.map((item) => {\r\n let model = new DataModel();\r\n model.Data = item;\r\n model.Key = item.ID;\r\n model.Type = 'BASEPROPERTY';\r\n StorageController.AddToSource(model);\r\n return model;\r\n });\r\n }\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n return resultlist;\r\n }\r\n static async LoadAsync(pid) {\r\n let result = StorageController.FindModel(pid, 'BASEPROPERTY');\r\n try {\r\n if (result === null) {\r\n let list = await this.GetPropertyList([pid]);\r\n\r\n if (list.length > 0)\r\n result = list[0];\r\n }\r\n else {\r\n result = result.DataModel.Data;\r\n }\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n return result;\r\n }\r\n static async SaveAsync(pid, prop) {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.post('ObjectClass/SaveBaseProperty', prop);\r\n console.log(result)\r\n if (result.data !== \"\") {\r\n prop.ID = result.data;\r\n let model = StorageController.FindModel(pid, 'BASEPROPERTY');\r\n if (model != null) {\r\n model.DataModel.Data = prop;\r\n model.state = 0;\r\n //model.Components.map((component) => component.Update(model.DataModel));\r\n }\r\n else {\r\n model = new DataModel();\r\n model.Data = prop;\r\n model.Key = prop.ID;\r\n model.Type = 'BASEPROPERTY';\r\n StorageController.AddToSource(model);\r\n }\r\n toast.success('ُSave was successful.')\r\n }\r\n else\r\n toast.error('have problem.')\r\n\r\n } catch (e) {\r\n toast.error(e)\r\n console.log(e);\r\n }\r\n return result.data;\r\n }\r\n static New() {\r\n let item = { ...baseProperty }\r\n let model = new DataModel();\r\n model.Data = item;\r\n model.Key = item.ID;\r\n model.Type = 'BASEPROPERTY';\r\n StorageController.AddToSource(model);\r\n return item;\r\n };\r\n}\r\nconst baseProperty = {\r\n ID: uuid(),\r\n PSource: \"\",\r\n Contexts: [{ Lan: \"fa-IR\", Context: \"\" }],\r\n StyleW2: {\r\n Control: \"None\",\r\n DataType: \"String\",\r\n Min: 0.0, Max: 0.0,\r\n ValueLengh: 0,\r\n MultiValue: false,\r\n ValueQty: 0,\r\n State: \"1\",\r\n History: false,\r\n FixedValue: false,\r\n IsMultilingual: false\r\n }\r\n}","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Flex from '../components/common/Flex';\r\n\r\nconst Logo = ({ at, width, className, ...rest }) => {\r\n let pic = require(`../assets/img/logos/pg-logo.png`);\r\n return (\r\n \r\n \"پیشگام\r\n \r\n );\r\n};\r\n\r\nLogo.propTypes = {\r\n at: PropTypes.oneOf(['navbar-vertical', 'navbar-top', 'auth']),\r\n width: PropTypes.number,\r\n className: PropTypes.string\r\n};\r\n\r\nLogo.defaultProps = { at: 'auth', width: 58 };\r\n\r\nexport default Logo;\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Redirect, Route, Switch } from 'react-router-dom';\nimport { Col, Row } from 'reactstrap';\nimport Error404 from '../components/errors/Error404';\nimport Error500 from '../components/errors/Error500';\nimport Section from '../components/common/Section';\nimport Logo from '../Pishgam/Logo';\n\nconst ErrorLayout = ({ match: { url } }) => (\n
\n \n \n \n \n \n \n \n {/*Redirect*/}\n \n \n \n \n
\n);\n\nErrorLayout.propTypes = { match: PropTypes.object };\n\nexport default ErrorLayout;\n","import StorageController, { DataModel } from './StorageController'\r\nimport ObjectClassController from './ObjectClassController';\r\nimport { Upload, Utility } from './Common'\r\nimport { toast } from 'react-toastify';\r\nimport ErrorHandler from './ErrorHandler';\r\nimport axiosInstance from './BaseSetting';\r\nimport BaseInstance from './BaseInstance';\r\nimport GetDisplay from './Lan/Context';\r\n\r\n\r\nexport class InstanceController {\r\n static async GetFormAsync(formid, component) {\r\n return await ObjectClassController.GetFormAsync(formid, component);\r\n }\r\n static async GetRelatedInstancesAsync(headercondition, propid, detailIdes = []) {\r\n let result = {};\r\n try {\r\n let detailes = detailIdes.map((id) => ({ ID: id, Prop: [] }));\r\n let data = {\r\n ConditionLoader: headercondition,\r\n Header: { Prop: [] }, ReltedPropId: propid, RelatedInstances: detailes\r\n }\r\n result = await axiosInstance.post('Instance/GetRelatedInstancesAsync', data);\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result.data;\r\n }\r\n static async LoadInstanceAsync(id, component) {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.get('Instance/LoadInstance', {\r\n params: { instanceid: id }\r\n });\r\n let model = new DataModel();\r\n model.Data = { ...result.data, state: 0 };\r\n model.Key = id;\r\n model.Type = 'INSTANCE';\r\n StorageController.AddToSource(model, component);\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result.data;\r\n }\r\n static async SaveInstanceListAsync(instancelist = []) {\r\n await Promise.all(instancelist.map(async (instance) => {\r\n let result = await this.SaveInstanceAsync(instance)\r\n return result;\r\n }));\r\n }\r\n static async SaveTempDataAsync(instance, formid) {\r\n try {\r\n let stringjson = JSON.stringify(instance);\r\n let result = await axiosInstance.post('Instance/SaveTempData', {\r\n jsonins: stringjson, formid: formid\r\n });\r\n return result.data;\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n }\r\n static async SaveInstanceAsync(instance) {\r\n let result = {};\r\n try {\r\n for (let i = 0; i < instance.Prop.length; i++) {\r\n delete instance.Prop[i].hasError;\r\n if (instance.Prop[i].TP === 15 && instance.Prop[i].OBJ) {\r\n let path = await Upload(instance.Prop[i].OBJ, instance.Prop[i].IPV);\r\n instance.Prop[i].IPV = JSON.stringify(path.data);\r\n }\r\n }\r\n result = await axiosInstance.post('Instance/Saveinstance', instance);\r\n if (result.status === 200) {\r\n if (Utility.IsInstanceID(result.data.ID)) {\r\n BaseInstance.syncData(instance, result.data);\r\n let model = StorageController.FindModel(instance.ID);\r\n if (model != null) {\r\n if (result.data !== \"\") {\r\n model.DataModel.Data.ID = result.data;\r\n model.state = 0;\r\n model.DataModel.Data.Prop.map((prop) => prop.state = 0);\r\n model.Components.map((component) => component.Update(model.DataModel));\r\n }\r\n }\r\n else {\r\n let model = new DataModel();\r\n model.Data = { instance, state: 0 };\r\n model.Key = instance.ID;\r\n model.Type = 'INSTANCE';\r\n StorageController.AddToSource(model, null);\r\n }\r\n toast.success(GetDisplay('Save-msg'))\r\n }\r\n else {\r\n toast.info(result.data)\r\n }\r\n }\r\n else {\r\n toast.error(GetDisplay('Opration-faild'))\r\n return;\r\n }\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result?.data?.ID;\r\n }\r\n static async DeleteRelatedInstancesAsync(header, propid, relatedInstances) {\r\n let result = {};\r\n try {\r\n let data = { Header: header, ReltedPropId: propid, RelatedInstances: relatedInstances }\r\n result = await axiosInstance.post('Instance/DeleteRelatedInstances', data);\r\n if (result.status === 200) {\r\n if (result.data) {\r\n toast.success(GetDisplay('delete-msg'))\r\n }\r\n }\r\n else {\r\n toast.error(GetDisplay('Opration-faild'))\r\n }\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result.data;\r\n }\r\n static async SaveRelatedInstancesAsync(header, propid, relatedInstances) {\r\n let result = {};\r\n try {\r\n let data = { Header: header, ReltedPropId: propid, RelatedInstances: relatedInstances }\r\n result = await axiosInstance.post('Instance/SaveRelatedInstances', data);\r\n if (result.status === 200) {\r\n if (Utility.IsInstanceID(result.data.Header.ID)) {\r\n header.ID=result.data.Header.ID;\r\n toast.success(GetDisplay('Save-msg'))\r\n }\r\n }\r\n else {\r\n toast.error(GetDisplay('Opration-faild'))\r\n }\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n return false;\r\n }\r\n return result.data;\r\n }\r\n static UpdateValue(instanceid, pid, value) {\r\n let model = StorageController.FindModel(instanceid);\r\n let Instance = model.DataModel.Data;\r\n let updated = false;\r\n Instance.Prop.map((p, index) => {\r\n if (p.PID === pid) {\r\n p.IPV = value;\r\n Instance.Prop[index] = { ...p, state: 1 };\r\n updated = true;\r\n }\r\n return p;\r\n })\r\n if (!updated) {\r\n Instance.Prop = [\r\n ...Instance.Prop,\r\n { PID: pid, IPV: value, state: 2 }\r\n ]\r\n }\r\n Instance.state = 1;\r\n\r\n }\r\n static async GetInstancesAsync(ocid) {\r\n let result = [];\r\n\r\n try {\r\n let resultback = await axiosInstance.get('Instance/GetInstances', {\r\n params: { condition: ocid }\r\n });\r\n result = resultback.data;\r\n\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result;\r\n }\r\n static async GetReport(condition) {\r\n let result = [];\r\n try {\r\n\r\n let resultback = await axiosInstance.post('Instance/Reports', { conditions: condition }\r\n );\r\n result = resultback.data\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result;\r\n }\r\n static async DeleteAsync(id, where = '#',withComfirm) {\r\n let result = [];\r\n try {\r\n\r\n if (Utility.IsInstanceID(id) && (withComfirm || window.confirm(GetDisplay('delete-comfirm')))) {\r\n let resultback = await axiosInstance.delete('Instance/DeleteInstance', {\r\n params: { id: id, where: where }\r\n });\r\n result = resultback.data\r\n if(!withComfirm)\r\n toast.success(GetDisplay('delete-msg'))\r\n }\r\n else\r\n result = false;\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result;\r\n }\r\n static async GetDisplay(id) {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.get('Instance/LoadSimple', { params: { instanceid: id } });\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result.data;\r\n }\r\n static async InvokeMethod(id, method, parameters) {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.post('Instance/InvokeMethod', { classId: id, method: method, parameters: parameters });\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result.data;\r\n }\r\n}\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { cssTransition } from 'react-toastify';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nexport const Fade = cssTransition({ enter: 'fadeIn', exit: 'fadeOut' });\n\nexport const CloseButton = ({ closeToast }) => (\n \n);\n\nCloseButton.propTypes = { closeToast: PropTypes.func };\n","var map = {\n\t\"./1.jpg\": 1791,\n\t\"./2.jpg\": 958,\n\t\"./3.jpg\": 959,\n\t\"./4.jpg\": 1792,\n\t\"./5.jpg\": 960,\n\t\"./BK.jpg\": 1793,\n\t\"./BloodControl.jpg\": 1794,\n\t\"./BloodSmear.jpg\": 1795,\n\t\"./CardiacMarker.jpg\": 1796,\n\t\"./Coagulation.jpg\": 1797,\n\t\"./GramStain.jpg\": 1798,\n\t\"./HBV.jpg\": 1799,\n\t\"./HbA1c.jpg\": 1800,\n\t\"./Immunoserology.jpg\": 1801,\n\t\"./Maternalserumscreening.jpg\": 1802,\n\t\"./Mycology.jpg\": 1803,\n\t\"./P1.jpg\": 1804,\n\t\"./P2.jpg\": 1805,\n\t\"./P3.jpg\": 1806,\n\t\"./Parasitology.jpg\": 1807,\n\t\"./Serology.jpg\": 1808,\n\t\"./TB.jpg\": 1809,\n\t\"./Torch.jpg\": 1810,\n\t\"./Urine Protein.jpg\": 1811,\n\t\"./bacteriology.jpg\": 1812,\n\t\"./biochemystry.jpg\": 1813,\n\t\"./immunohemathology.jpg\": 1814,\n\t\"./wright.jpg\": 1815,\n\t\"./year.jpg\": 1816\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 1790;","module.exports = __webpack_public_path__ + \"static/media/1.f4295edf.jpg\";","module.exports = __webpack_public_path__ + \"static/media/4.09b028ad.jpg\";","module.exports = __webpack_public_path__ + \"static/media/BK.90205a42.jpg\";","module.exports = __webpack_public_path__ + \"static/media/BloodControl.a3fb45c2.jpg\";","module.exports = __webpack_public_path__ + \"static/media/BloodSmear.5b59ad06.jpg\";","module.exports = __webpack_public_path__ + \"static/media/CardiacMarker.23da2982.jpg\";","module.exports = __webpack_public_path__ + \"static/media/Coagulation.f663dbbd.jpg\";","module.exports = __webpack_public_path__ + \"static/media/GramStain.67389324.jpg\";","module.exports = __webpack_public_path__ + \"static/media/HBV.646794d7.jpg\";","module.exports = __webpack_public_path__ + \"static/media/HbA1c.e93e1fc6.jpg\";","module.exports = __webpack_public_path__ + \"static/media/Immunoserology.2d9cae23.jpg\";","module.exports = __webpack_public_path__ + \"static/media/Maternalserumscreening.6dfcdc2f.jpg\";","module.exports = __webpack_public_path__ + \"static/media/Mycology.12c6563a.jpg\";","module.exports = __webpack_public_path__ + \"static/media/P1.7f1af1e8.jpg\";","module.exports = __webpack_public_path__ + \"static/media/P2.3b7ae7c7.jpg\";","module.exports = __webpack_public_path__ + \"static/media/P3.113540a3.jpg\";","module.exports = __webpack_public_path__ + \"static/media/Parasitology.42c3290e.jpg\";","module.exports = __webpack_public_path__ + \"static/media/Serology.09b028ad.jpg\";","module.exports = __webpack_public_path__ + \"static/media/TB.0eca76af.jpg\";","module.exports = __webpack_public_path__ + \"static/media/Torch.a77dbef5.jpg\";","module.exports = __webpack_public_path__ + \"static/media/Urine Protein.45cb3713.jpg\";","module.exports = __webpack_public_path__ + \"static/media/bacteriology.95df4287.jpg\";","module.exports = __webpack_public_path__ + \"static/media/biochemystry.19b314bb.jpg\";","module.exports = __webpack_public_path__ + \"static/media/immunohemathology.8cdbc204.jpg\";","module.exports = __webpack_public_path__ + \"static/media/wright.30b129b6.jpg\";","module.exports = __webpack_public_path__ + \"static/media/year.2698de95.jpg\";","var map = {\n\t\"./AdminPath\": [\n\t\t406\n\t],\n\t\"./AdminPath.js\": [\n\t\t406\n\t],\n\t\"./AnonymousLayout\": [\n\t\t410\n\t],\n\t\"./AnonymousLayout.js\": [\n\t\t410\n\t],\n\t\"./AuthBasicLayout\": [\n\t\t961,\n\t\t2\n\t],\n\t\"./AuthBasicLayout.js\": [\n\t\t961,\n\t\t2\n\t],\n\t\"./AuthCardLayout\": [\n\t\t245\n\t],\n\t\"./AuthCardLayout.js\": [\n\t\t245\n\t],\n\t\"./ContentWithAsideLayout\": [\n\t\t927,\n\t\t3\n\t],\n\t\"./ContentWithAsideLayout.js\": [\n\t\t927,\n\t\t3\n\t],\n\t\"./DashboardLayout\": [\n\t\t411\n\t],\n\t\"./DashboardLayout.js\": [\n\t\t411\n\t],\n\t\"./DashboardRoutes\": [\n\t\t962,\n\t\t0,\n\t\t1\n\t],\n\t\"./DashboardRoutes.js\": [\n\t\t962,\n\t\t0,\n\t\t1\n\t],\n\t\"./ErrorLayout\": [\n\t\t134\n\t],\n\t\"./ErrorLayout.js\": [\n\t\t134\n\t],\n\t\"./LabDashboard\": [\n\t\t273\n\t],\n\t\"./LabDashboard.js\": [\n\t\t273\n\t],\n\t\"./Layout\": [\n\t\t401\n\t],\n\t\"./Layout.js\": [\n\t\t401\n\t],\n\t\"./OnlineSupport\": [\n\t\t403\n\t],\n\t\"./OnlineSupport.js\": [\n\t\t403\n\t],\n\t\"./PDIDashboard\": [\n\t\t409\n\t],\n\t\"./PDIDashboard.js\": [\n\t\t409\n\t],\n\t\"./PGIAdminLayout\": [\n\t\t405\n\t],\n\t\"./PGIAdminLayout.js\": [\n\t\t405\n\t],\n\t\"./PGILabDashboard\": [\n\t\t412\n\t],\n\t\"./PGILabDashboard.js\": [\n\t\t412\n\t],\n\t\"./PGILabLayout\": [\n\t\t408\n\t],\n\t\"./PGILabLayout.js\": [\n\t\t408\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 1824;\nmodule.exports = webpackAsyncContext;","\r\nimport BaseInstance, { NewInstance, NewProperty } from \"../Engine/BaseInstance\";\r\nimport React, { useEffect, useState } from 'react';\r\nimport { ThemeCardHeader } from \"../EngineForms/ThemeControl\";\r\nimport { Button, Card, CardBody, Col, Input, Label, Row } from \"reactstrap\";\r\nimport { ConstIdes, PropConstIdes } from \"./ConstIdes\";\r\nimport JoiSearchBox from \"../components/joi/JoiSearchBox\";\r\nimport ConditionMaker from \"../Engine/ConditionMaker\";\r\nconst Period = {\r\n col: \"3\",\r\n pid: PropConstIdes.Period,\r\n controlType: \"SearchControl\",\r\n title: 'ٍکلید Enter را بزنید ودوره مورد نظر را انتخاب نمایید',\r\n source: ConstIdes.Period\r\n};\r\nconst MessageDefinition = ({ typeid }) => {\r\n useEffect(() => {\r\n setMessage(new Message());\r\n setClear('Clear');\r\n }, [typeid])\r\n const [message, setMessage] = useState(new Message());\r\n const [clear, setClear] = useState();\r\n const [value1, setValue1] = useState();\r\n const [value2, setValue2] = useState();\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه مورد نظر را انتخاب نماييد و يا سال مورد نظر را نوشته و كليد Enter را بزنيد\",\r\n source: ConstIdes.Sample\r\n };\r\n const SampleChanged = async (value, obj) => {\r\n setClear('');\r\n let temp = new Message();\r\n temp.Title = '';\r\n temp.Content = '';\r\n temp.Refrence = value1;\r\n temp.ReplyMessage = value2;\r\n setMessage(temp);\r\n setValue1(value);\r\n }\r\n const SearchMessage = async (value,pid) => {\r\n let v1=value1;\r\n let v2=value2;\r\n if(typeid!==3){\r\n SampleChanged(value);\r\n }\r\n if(pid===Period.pid){\r\n SampleChanged(value);\r\n v1=value;\r\n }\r\n else{\r\n ReplyMessage(value);\r\n v2=value;\r\n }\r\n let con = new ConditionMaker('E23C2');\r\n if (typeid === 3 && (v1 && v2)) {\r\n\r\n con.AddCondition('PC19', '=', v1??value1, 'AND')\r\n .AddCondition('P174', '=', typeid, 'AND')\r\n .AddCondition('PC510', '=', v2??value2);\r\n }\r\n else if (typeid !== 3 && v1) {\r\n con.AddCondition('PC19', '=', v1, 'AND')\r\n .AddCondition('P174', '=', typeid);\r\n }\r\n let temp;\r\n if (con.BCs) {\r\n let result = await con.GetResult();\r\n console.log(typeid,result,con)\r\n if (result?.length > 0) {\r\n temp = (new Message(result[0]));\r\n }\r\n }\r\n if(!temp) {\r\n temp = new Message();\r\n temp.Title = '';\r\n temp.Content = '';\r\n temp.Refrence = v1;\r\n temp.ReplyMessage = v2;\r\n }\r\n setMessage(temp);\r\n }\r\n const ReplyMessage = async (value, pid) => {\r\n setClear('');\r\n setValue2(value);\r\n }\r\n const Save = async () => {\r\n message.MessageType = typeid;\r\n message.Refrence = value1;\r\n message.ReplyMessage = value2;\r\n await message.SaveAsync();\r\n }\r\n const Delete =async () => { \r\n if(message.ID){\r\n await message.DeleteAsync(true);\r\n }\r\n }\r\n const titlestr = () => {\r\n let result = 'فرم تعریف پیام پاسخنامه';\r\n switch (typeid) {\r\n case 2:\r\n result = 'فرم تعریف پیام برای گزارشات (نمونه)';\r\n break;\r\n case 3:\r\n result = 'فرم تعریف پیام برای گزارشات (دوره)';\r\n break;\r\n default:\r\n break;\r\n }\r\n return result;\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n {typeid !== 3 ? SearchMessage(value,Period.pid)} PIDS='P156,P3'\r\n PID={Sample.pid} placeHolder={Sample.title} />\r\n : SearchMessage(value,Period.pid)}\r\n PIDS='PC88,P2' operator={`like N'%{#}%'`}\r\n PID={Period.pid} placeHolder={Period.title} />\r\n }\r\n \r\n {typeid===3? \r\n SearchMessage(value,'PC510')}\r\n PIDS='PC88' operator={`like N'%{#}%'`}\r\n PID={'PC510'} placeHolder={Period.title} />\r\n :null}\r\n \r\n \r\n \r\n \r\n {\r\n message.Title = target.value;\r\n setMessage(new Message(message.Instance))\r\n }} />\r\n \r\n \r\n \r\n \r\n \r\n { message.Content = target.value; setMessage(new Message(message.Instance)) }} />\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default MessageDefinition;\r\n\r\nexport class Message extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('E23C2');\r\n Message.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC95', 'PC42', 'PC502', 'PC35', 'PC509', 'PC335', 'PC510', 'PC517', 'PC604', 'PC19', 'P174'];\r\n set Title(value) {\r\n this.SetValue(Message.PIDs[0], value);\r\n }\r\n get Title() {\r\n return this.GetValue(Message.PIDs[0]);\r\n } set Importance(value) {\r\n this.SetValue(Message.PIDs[1], value);\r\n }\r\n get Importance() {\r\n return this.GetValue(Message.PIDs[1]);\r\n } set Content(value) {\r\n this.SetValue(Message.PIDs[2], value);\r\n }\r\n get Content() {\r\n return this.GetValue(Message.PIDs[2]);\r\n } set EndTime(value) {\r\n this.SetValue(Message.PIDs[3], value);\r\n }\r\n get EndTime() {\r\n return this.GetValue(Message.PIDs[3]);\r\n } set Sender(value) {\r\n this.SetValue(Message.PIDs[4], value);\r\n }\r\n get Sender() {\r\n return this.GetValue(Message.PIDs[4]);\r\n } set Time(value) {\r\n this.SetValue(Message.PIDs[5], value);\r\n }\r\n get Time() {\r\n return this.GetValue(Message.PIDs[5]);\r\n } set ReplyMessage(value) {\r\n this.SetValue(Message.PIDs[6], value);\r\n }\r\n get ReplyMessage() {\r\n return this.GetValue(Message.PIDs[6]);\r\n } set MessageState(value) {\r\n this.SetValue(Message.PIDs[7], value);\r\n }\r\n get MessageState() {\r\n return this.GetValue(Message.PIDs[7]);\r\n } set MessageReciver(value) {\r\n this.SetValue(Message.PIDs[8], value);\r\n }\r\n get MessageReciver() {\r\n return this.GetValue(Message.PIDs[8]);\r\n } set Refrence(value) {\r\n this.SetValue(Message.PIDs[9], value);\r\n }\r\n get Refrence() {\r\n return this.GetValue(Message.PIDs[9]);\r\n } set MessageType(value) {\r\n this.SetValue(Message.PIDs[10], value);\r\n }\r\n get MessageType() {\r\n return this.GetValue(Message.PIDs[10]);\r\n }\r\n}","import React, { Component } from 'react';\r\nimport Layout from './layouts/Layout';\r\nimport PGIAdminLayout from './layouts/PGIAdminLayout';\r\nimport PGILabLayout from './layouts/PGILabLayout';\r\nimport 'react-toastify/dist/ReactToastify.min.css';\r\nimport 'react-datetime/css/react-datetime.css';\r\nimport 'react-image-lightbox/style.css';\r\nimport Flex from './components/common/Flex';\r\nimport CartContext, { CartContextClass } from './Shop/ShopContext'\r\nimport { BrowserRouter } from 'react-router-dom';\r\nimport AnonymousLayout from './layouts/AnonymousLayout';\r\n\r\n\r\n \r\nexport default class App extends Component {\r\n state = {\r\n Islogin: false, userid: \"\", mode: null,\r\n cart: []\r\n }\r\n userid = null;\r\n static mainapp;\r\n LoadCompleted() {\r\n this.setState({\r\n Islogin: true,\r\n userid: this.userid\r\n });\r\n }\r\n ChangeMode() {\r\n this.setState({\r\n ...this.state,\r\n mode: localStorage.getItem('user-mode')\r\n })\r\n }\r\n ChangeCart(add, product) {\r\n let newCart = [];\r\n if (add)\r\n newCart = CartContextClass.addToCart(product)\r\n else\r\n newCart = CartContextClass.removeFromCart(product)\r\n\r\n this.setState({\r\n ...this.state,\r\n cart: newCart\r\n })\r\n }\r\n componentDidMount(){\r\n\r\n }\r\n render() {\r\n App.mainapp = this;\r\n let result = null;\r\n let mode = localStorage.getItem('user-mode');\r\n //let mode = this.state.mode;\r\n let org = localStorage.getItem('org');\r\n if (mode !== null && org !== null) {\r\n let roles = JSON.parse(mode)\r\n if (roles !== null)\r\n mode = roles[0];\r\n switch (mode) {\r\n case 'R1':\r\n result = ();\r\n break;\r\n case 'R2':\r\n result = ();\r\n break;\r\n case 'R6':\r\n result = ();\r\n break;\r\n //case '4':\r\n // result = ();\r\n // break;\r\n default:\r\n result =

Mode Problem

\r\n break;\r\n }\r\n }\r\n else {\r\n //result = ();\r\n result = ();\r\n }\r\n return ( \r\n
{result}
\r\n
);\r\n }\r\n}","const insertStylesheet = ({ isRTL, isDark }, cb) => {\n const link = document.createElement('link');\n link.href = `${process.env.PUBLIC_URL}/css/theme${isDark ? '-dark' : ''}${isRTL ? '-rtl' : ''}.css`;\n link.type = 'text/css';\n link.rel = 'stylesheet';\n link.className = 'theme-stylesheet';\n\n link.onload = cb;\n document.getElementsByTagName('head')[0].appendChild(link);\n document.getElementsByTagName('html')[0].setAttribute('dir', isRTL ? 'rtl' : 'ltr');\n};\n\nexport default ({ isRTL, isDark }, cb) => {\n Array.from(document.getElementsByClassName('theme-stylesheet')).forEach(link => link.remove());\n insertStylesheet({ isRTL, isDark }, cb);\n};\n","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport AppContext from './context/Context';\r\nimport { settings, PGISsettings } from './config';\r\nimport toggleStylesheet from './helpers/toggleStylesheet';\r\nimport { getItemFromStore, setItemToStore } from './helpers/utils';\r\n//import ReactGA from 'react-ga';\r\n\r\n// const TRACKING_ID = \"G-Z6HSXPHQ5K\";\r\n// ReactGA.initialize(TRACKING_ID);\r\nconst Main = props => {\r\n \r\n let tempSetting = settings;\r\n tempSetting = PGISsettings;\r\n const taxRate = PGISsettings.taxRate;\r\n const [isFluid, setIsFluid] = useState(getItemFromStore('isFluid', tempSetting.isFluid));\r\n const [isRTL, setIsRTL] = useState(getItemFromStore('isRTL', tempSetting.isRTL));\r\n const [isDark, setIsDark] = useState(getItemFromStore('isDark', tempSetting.isDark));\r\n const [isTopNav, setIsTopNav] = useState(getItemFromStore('isTopNav', tempSetting.isTopNav));\r\n const [isCombo, setIsCombo] = useState(getItemFromStore('isCombo', tempSetting.isCombo));\r\n const [isVertical, setIsVertical] = useState(getItemFromStore('isVertical', tempSetting.isVertical));\r\n const [isNavbarVerticalCollapsed, setIsNavbarVerticalCollapsed] = useState(\r\n getItemFromStore('isNavbarVerticalCollapsed', tempSetting.isNavbarVerticalCollapsed)\r\n );\r\n const [currency, setCurrency] = useState(tempSetting.currency);\r\n const [currentTitle, setCurrentTitle] = useState(tempSetting.currentTitle);\r\n const [showBurgerMenu, setShowBurgerMenu] = useState(tempSetting.showBurgerMenu);\r\n const [isLoaded, setIsLoaded] = useState(false);\r\n const [isOpenSidePanel, setIsOpenSidePanel] = useState(false);\r\n const [navbarCollapsed, setNavbarCollapsed] = useState(false);\r\n\r\n const [navbarStyle, setNavbarStyle] = useState(getItemFromStore('navbarStyle', tempSetting.navbarStyle));\r\n\r\n const toggleModal = () => setIsOpenSidePanel(prevIsOpenSidePanel => !prevIsOpenSidePanel);\r\n const value = {\r\n taxRate,\r\n isRTL,\r\n isDark,\r\n isCombo,\r\n isFluid,\r\n setIsRTL,\r\n isTopNav,\r\n currency,\r\n setIsDark,\r\n setIsCombo,\r\n setIsFluid,\r\n isVertical,\r\n toggleModal,\r\n setIsTopNav,\r\n navbarStyle,\r\n setCurrency,\r\n setIsVertical,\r\n showBurgerMenu,\r\n setNavbarStyle,\r\n isOpenSidePanel,\r\n navbarCollapsed,\r\n setShowBurgerMenu,\r\n setIsOpenSidePanel,\r\n setNavbarCollapsed,\r\n isNavbarVerticalCollapsed,\r\n setIsNavbarVerticalCollapsed,\r\n currentTitle,\r\n setCurrentTitle,\r\n };\r\n\r\n const setStylesheetMode = mode => {\r\n setIsLoaded(false);\r\n setItemToStore(mode, value[mode]);\r\n toggleStylesheet({ isRTL, isDark }, () => setIsLoaded(true));\r\n };\r\n\r\n useEffect(() => {\r\n setStylesheetMode('isFluid');\r\n // eslint-disable-next-line\r\n }, [isFluid]);\r\n\r\n useEffect(() => {\r\n setStylesheetMode('isRTL');\r\n // eslint-disable-next-line\r\n }, [isRTL]);\r\n\r\n useEffect(() => {\r\n setStylesheetMode('isDark');\r\n // eslint-disable-next-line\r\n }, [isDark]);\r\n\r\n useEffect(() => {\r\n setItemToStore('isNavbarVerticalCollapsed', isNavbarVerticalCollapsed);\r\n // eslint-disable-next-line\r\n }, [isNavbarVerticalCollapsed]);\r\n useEffect(() => {\r\n setItemToStore('currentTitle', currentTitle);\r\n // eslint-disable-next-line\r\n }, [currentTitle]);\r\n useEffect(() => {\r\n setItemToStore('isTopNav', isTopNav);\r\n // eslint-disable-next-line\r\n }, [isTopNav]);\r\n\r\n useEffect(() => {\r\n setItemToStore('isCombo', isCombo);\r\n // eslint-disable-next-line\r\n }, [isCombo]);\r\n useEffect(() => {\r\n setItemToStore('isVertical', isVertical);\r\n // eslint-disable-next-line\r\n }, [isVertical]);\r\n\r\n useEffect(() => {\r\n setItemToStore('navbarStyle', navbarStyle);\r\n // eslint-disable-next-line\r\n }, [navbarStyle]);\r\n\r\n //if (!isLoaded) {\r\n // toggleStylesheet({ isRTL, isDark }, () => setIsLoaded(true));\r\n\r\n // return (\r\n // \r\n // );\r\n //}\r\n\r\n return {props.children};\r\n};\r\n\r\nMain.propTypes = { children: PropTypes.node };\r\n\r\nexport default Main;\r\n","import { library } from '@fortawesome/fontawesome-svg-core';\nimport {\n faFacebook,\n faFacebookF,\n faFacebookSquare,\n faGooglePlusG,\n faGulp,\n faHotjar,\n faLinkedinIn,\n faMediumM,\n faNodeJs,\n faSass,\n faTrello,\n faTwitter,\n faYoutube\n} from '@fortawesome/free-brands-svg-icons';\nimport {\n faCircle as farCircle,\n faClock as farClock,\n faComment as farComment,\n faCopy as farCopy,\n faDizzy as farDizzy,\n faFile as farFile,\n faFileArchive as farFileArchive,\n faFileAudio as farFileAudio,\n faFileCode as farFileCode,\n faFileImage as farFileImage,\n faFilePdf as farFilePdf,\n faFileVideo as farFileVideo,\n faHeart as farHeart,\n faImage as farImage,\n faLaughBeam as farLaughBeam,\n faLightbulb as farLightbulb,\n faObjectUngroup as farObjectUngroup,\n faPaperPlane as farPaperPlane,\n faQuestionCircle as farQuestionCircle,\n faSmileBeam as farSmileBeam,\n faStar as farStar\n} from '@fortawesome/free-regular-svg-icons';\nimport {\n faAlignLeft,\n faAlignRight,\n faAngleRight,\n faArchive,\n faArrowDown,\n faArrowLeft,\n faArrowRight,\n faArrowsAltV,\n faArrowUp,\n faAt,\n faBan,\n faBell,\n faBook,\n faCalendarAlt,\n faCalendarCheck,\n faCamera,\n faCaretDown,\n faCaretRight,\n faCaretUp,\n faCartPlus,\n faChartPie,\n faCheck,\n faCheckCircle,\n faCheckDouble,\n faCheckSquare,\n faChevronDown,\n faChevronLeft,\n faChevronRight,\n faChevronUp,\n faCircle,\n faCircleNotch,\n faClock,\n faCodeBranch,\n faCog,\n faComments,\n faCopy,\n faCrown,\n faDollarSign,\n faEdit,\n faEllipsisH,\n faEllipsisV,\n faEnvelope,\n faEnvelopeOpen,\n faExchangeAlt,\n faExclamation,\n faExclamationCircle,\n faExclamationTriangle,\n faExternalLinkAlt,\n faEye,\n faFileAlt,\n faFileArchive,\n faFilePdf,\n faFilter,\n faFolderPlus,\n faGift,\n faGlobeAmericas,\n faHeart,\n faHome,\n faIcons,\n faImage,\n faInfo,\n faLink,\n faList,\n faListAlt,\n faListUl,\n faLocationArrow,\n faLock,\n faMinus,\n faMapMarkerAlt,\n faPalette,\n faPaperclip,\n faPencilAlt,\n faPercentage,\n faPhone,\n faPlay,\n faPlug,\n faPlus,\n faPlusSquare,\n faPoll,\n faPrint,\n faPuzzlePiece,\n faQuestionCircle,\n faRedo,\n faReply,\n faSearch,\n faShare,\n faShareAlt,\n faShoppingCart,\n faSignInAlt,\n faSlidersH,\n faSmileBeam,\n faSort,\n faSortAlphaDown,\n faSortAlphaUp,\n faSortAmountDown,\n faSortAmountUp,\n faSortNumericDown,\n faSortNumericUp,\n faStar,\n faStarHalfAlt,\n faStream,\n faTag,\n faTh,\n faThumbsUp,\n faTimes,\n faTimesCircle,\n faTools,\n faTrash,\n faTrashAlt,\n faUser,\n faUserCircle,\n faUserFriends,\n faUserPlus,\n faUsers,\n faVideo,\n faCross\n} from '@fortawesome/free-solid-svg-icons';\n\nlibrary.add(\n // Solid\n faChartPie,\n faCopy,\n faSearch,\n faHome,\n faBell,\n faPlay,\n faChevronRight,\n faChevronLeft,\n faChevronUp,\n faChevronDown,\n faExchangeAlt,\n faAngleRight,\n faEllipsisH,\n faCrown,\n faListAlt,\n faCheck,\n faBan,\n faStream,\n faArrowsAltV,\n faSort,\n faSortAlphaDown,\n faSortAlphaUp,\n faSortNumericDown,\n faSortNumericUp,\n faSortAmountDown,\n faSortAmountUp,\n faCheckCircle,\n faUserCircle,\n faQuestionCircle,\n faLock,\n faCircle,\n faHeart,\n faShareAlt,\n faCaretRight,\n faArrowDown,\n faArrowUp,\n faArrowLeft,\n faArrowRight,\n faPrint,\n faDollarSign,\n faLink,\n faPlus,\n faMinus,\n faUser,\n faPencilAlt,\n faCamera,\n faTimesCircle,\n faSignInAlt,\n faBook,\n faPuzzlePiece,\n faTrash,\n faAlignLeft,\n faAlignRight,\n faPlug,\n faTimes,\n faFilter,\n faExternalLinkAlt,\n faCartPlus,\n faShoppingCart,\n faStar,\n faStarHalfAlt,\n faArchive,\n faEnvelope,\n faClock,\n faStar,\n faReply,\n faLocationArrow,\n faCog,\n faPaperclip,\n faImage,\n faEllipsisV,\n faEnvelopeOpen,\n faRedo,\n faSlidersH,\n faTrashAlt,\n faFileArchive,\n faFilePdf,\n faFileAlt,\n faEye,\n faCaretUp,\n faCodeBranch,\n faExclamationTriangle,\n faListUl,\n faTh,\n faGift,\n faUsers,\n faGlobeAmericas,\n faPlusSquare,\n faCaretDown,\n faUserPlus,\n faCircleNotch,\n faExclamation,\n faThumbsUp,\n faComments,\n faPalette,\n faEdit,\n faTrashAlt,\n faShare,\n faCheckSquare,\n faTools,\n faCheckDouble,\n faSmileBeam,\n faPoll,\n faPercentage,\n faIcons,\n faList,\n faUserFriends,\n faExclamationCircle,\n faFolderPlus,\n faTag,\n faAt,\n faCalendarAlt,\n faCalendarCheck,\n faMapMarkerAlt,\n faCross,\n\n // Brand\n faFacebook,\n faFacebookF,\n faFacebookSquare,\n faGulp,\n faNodeJs,\n faSass,\n faTwitter,\n faGooglePlusG,\n faLinkedinIn,\n faMediumM,\n faHotjar,\n faYoutube,\n faVideo,\n faInfo,\n faPhone,\n faTrello,\n\n // Regular\n farHeart,\n farLightbulb,\n farObjectUngroup,\n farPaperPlane,\n farStar,\n farImage,\n farFileArchive,\n farFilePdf,\n farFile,\n farFileVideo,\n farFileAudio,\n farFileImage,\n farFileCode,\n farClock,\n farQuestionCircle,\n farDizzy,\n farLaughBeam,\n farSmileBeam,\n farCircle,\n farCopy,\n farComment\n);\n","import 'react-app-polyfill/ie9';\r\nimport 'react-app-polyfill/stable';\r\n\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport App from './App';\r\nimport Main from './Main';\r\nimport './helpers/initFA';\r\nimport ErrorHandler from './Engine/ErrorHandler';\r\n\r\nReactDOM.render(\r\n
\r\n \r\n \r\n \r\n
,\r\n document.getElementById('main')\r\n);\r\n","import React, { Component } from 'react';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { Spinner, Table, CardTitle, Button, CardBody, Card, Tooltip, Label } from 'reactstrap';\r\nimport { faInfo, faPen, faRedo, faSave } from '@fortawesome/free-solid-svg-icons'\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport Flex from '../components/common/Flex';\r\nimport InstanceCell from './InstanceForm/InstanceCell';\r\nimport { Utility } from '../Engine/Common';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport moment from 'jalali-moment'\r\nconst defaulstate = {\r\n Data: [],\r\n Form: { FormID: '', Commands: [] },\r\n Paging: {\r\n active: 1,\r\n pageCount: 10\r\n },\r\n loading: false,\r\n tooltipOpen: false,\r\n mouseIn: ''\r\n}\r\nexport default class InstanceDataGrid extends Component {\r\n state = { ...defaulstate };\r\n LoadCompleted = false;\r\n async componentDidMount() {\r\n if (this.props.onRef !== undefined)\r\n this.props.onRef(this)\r\n if (this.state.Form.FormID !== this.props.source) {\r\n await this.LoadForm();\r\n }\r\n if (this.props.Data !== undefined && this.props.Data !== this.state.Data) {\r\n this.setState({\r\n ...this.state,\r\n Data: this.props.Data,\r\n loading: false\r\n })\r\n }\r\n }\r\n async componentDidUpdate() {\r\n if (this.state.Form.FormID !== this.props.source) {\r\n await this.LoadForm();\r\n }\r\n if (this.props.Data !== undefined && this.props.Data !== this.state.Data) {\r\n this.setState({\r\n ...this.state,\r\n Data: this.props.Data,\r\n loading: false\r\n })\r\n }\r\n }\r\n componentWillUnmount() {\r\n if (this.props.onRef !== undefined)\r\n this.props.onRef(null)\r\n this.LoadCompleted = false;\r\n }\r\n LoadForm = async () => {\r\n await InstanceController.GetFormAsync(this.props.source, this);\r\n }\r\n async LoadData(condition) {\r\n if (condition != '') {\r\n this.setState({\r\n ...this.state,\r\n Data: [],\r\n loading: true\r\n })\r\n let data = await InstanceController.GetInstancesAsync(condition);\r\n if (data !== undefined && data.length > 0) {\r\n if (this.state.Data.length > 0)\r\n for (var i = 0; i < data.length; i++) {\r\n if (Utility.IsInstanceID(this.state.Data[i].ID)) {\r\n this.state.Data[i].Prop.map((prop) => {\r\n if (prop.source !== undefined) {\r\n let newprop = data[i].Prop.find(x => x.PID === prop.PID);\r\n if (newprop !== undefined)\r\n newprop.source = prop.source;\r\n }\r\n })\r\n }\r\n }\r\n this.setState({\r\n ...this.state,\r\n Data: [...data],\r\n loading: false\r\n })\r\n if (this.props.DataLoaded !== undefined)\r\n this.props.DataLoaded(this.props.source);\r\n }\r\n else {\r\n let temp = {\r\n ...this.state,\r\n loading: false\r\n }\r\n if (this.state.DataTemplate !== undefined)\r\n temp.Data = JSON.parse(this.state.DataTemplate);\r\n\r\n this.setState(temp)\r\n }\r\n }\r\n else {\r\n\r\n }\r\n }\r\n Update(datamodel = { Data: '' }) {\r\n let Instance = null;\r\n switch (datamodel.Type) {\r\n case 'FORM': {\r\n if (datamodel.Data.TempData !== undefined)\r\n this.setState({\r\n ...this.state,\r\n Form: datamodel.Data,\r\n Data: datamodel.Data.TempData\r\n });\r\n else\r\n this.setState({\r\n ...this.state,\r\n Form: datamodel.Data\r\n });\r\n if (this.props.LoadCompleted !== undefined)\r\n this.props.LoadCompleted(this.props.source);\r\n break;\r\n }\r\n case 'INSTANCE': {\r\n Instance = datamodel.Data;\r\n this.setState({\r\n ...this.state,\r\n Data: Instance\r\n });\r\n break;\r\n }\r\n default:\r\n break;\r\n }\r\n }\r\n async Refresh() {\r\n this.setState({\r\n ...this.state,\r\n Data: [],\r\n loading: true\r\n })\r\n let instances = await InstanceController.GetInstancesAsync(this.props.source.split('F')[0]);\r\n this.setState({\r\n ...this.state,\r\n Data: instances,\r\n loading: false\r\n });\r\n }\r\n CleanData() {\r\n this.setState({\r\n ...this.state,\r\n DataTemplate: [],\r\n Data: [],\r\n loading: false\r\n })\r\n }\r\n SetDataTemplate(dataTemp) {\r\n this.CleanData();\r\n let temp = dataTemp\r\n let newstate = {\r\n ...this.state,\r\n DataTemplate: JSON.stringify(temp)\r\n }\r\n if (this.props.Mode === \"TempData\")\r\n newstate = {\r\n ...newstate, Data: temp\r\n };\r\n this.setState(newstate)\r\n this.props.LoadCompleted(this.props.source);\r\n }\r\n async New() {\r\n this.setState({\r\n ...this.state,\r\n Data: [...this.state.Data, {\r\n ID: this.props.source.split('F')[0],\r\n Prop: []\r\n\r\n }],\r\n loading: false\r\n });\r\n }\r\n async Delete(instance) {\r\n let index = this.state.Data.findIndex(x => x.ID === instance.ID);\r\n this.state.Data.splice(index, 1);\r\n this.setState({\r\n ...this.state,\r\n Data: [...this.state.Data]\r\n })\r\n }\r\n async Save() {\r\n if (this.props.Mode !== undefined && this.props.Mode === 'TempData')\r\n await InstanceController.SaveTempDataAsync(this.state.Data, this.state.Form.FormID);\r\n else\r\n await InstanceController.SaveInstanceListAsync(this.state.Data);\r\n }\r\n async SaveRow(instance) {\r\n let result = await InstanceController.SaveInstanceAsync(instance);\r\n }\r\n handlePropertyChange = (pid, value, Instance) => {\r\n if (Instance !== undefined) {\r\n let props = Instance.Prop;\r\n let editedPropindex = Instance.Prop.findIndex(x => x.PID === pid)\r\n props.splice(editedPropindex, editedPropindex >= 0 ? 1 : 0, { PID: pid, IPV: value, state: 2 })\r\n this.setState({\r\n ...this.state,\r\n Data: this.state.Data\r\n });\r\n }\r\n else {\r\n let list = this.state.Data;\r\n if (pid === 'ID' && value === null) {\r\n list = [];\r\n }\r\n else {\r\n list.map((instance) => {\r\n let props = instance.Prop;\r\n let editedPropindex = instance.Prop.findIndex(x => x.PID === pid)\r\n props.splice(editedPropindex, editedPropindex >= 0 ? 1 : 0, { PID: pid, IPV: value, state: 2 })\r\n return instance;\r\n });\r\n }\r\n this.setState({\r\n ...this.state,\r\n Data: list\r\n });\r\n }\r\n\r\n }\r\n RowDBLClick(instance) {\r\n if (this.props.RowDoubleClick !== undefined)\r\n this.props.RowDoubleClick(instance);\r\n }\r\n MainContent() {\r\n let readonly = !this.state.Form.Commands.includes('Save');\r\n if (!readonly)\r\n readonly = this.props.isReadonly;\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {\r\n this.state.Form.rows[0].controls.map((control) => (\r\n \r\n ))\r\n\r\n }\r\n {\r\n this.props.SaveRow ?\r\n \r\n : null\r\n }\r\n {\r\n this.props.section !== undefined &&\r\n this.props.section.Editable ?\r\n \r\n : null\r\n }\r\n \r\n \r\n \r\n {\r\n this.state.loading ? null :\r\n this.state.Data.map((instance, index) => (\r\n this.setState({ ...this.state, mouseIn: '' })}\r\n onMouseEnter={() => this.setState({ ...this.state, mouseIn: instance.ID })}\r\n onDoubleClick={this.RowDBLClick.bind(this, instance)} key={instance.ID + index}>\r\n {!readonly ?\r\n (\r\n this.state.Form.rows[0].controls.map((control, colIndex) => (\r\n \r\n ))\r\n )\r\n :\r\n (\r\n this.state.Form.rows[0].controls.map((control, colindex) => {\r\n let resultlist = instance.Prop?.find((p) => p.PID === control.pid);\r\n let pvalue = '';\r\n if (resultlist !== null && resultlist !== undefined) {\r\n pvalue = resultlist.DIS ? resultlist.DIS : resultlist.IPV;\r\n if (control.controlType === \"TimePeriod\" || control.controlType === \"DatePeriod\")\r\n pvalue = moment(resultlist.IPV, 'MM/DD/YYYY')\r\n .locale('fa')\r\n .format('YYYY/M/D');\r\n }\r\n return \r\n })\r\n )}\r\n {\r\n this.props.SaveRow ? <>\r\n \r\n \r\n \r\n : null\r\n }\r\n {\r\n this.props.section !== undefined &&\r\n this.props.section.Editor !== undefined ?\r\n \r\n : null\r\n }\r\n \r\n ))\r\n }\r\n \r\n
{control.title}\r\n\r\n \r\n\r\n
\r\n \r\n {pvalue}\r\n \r\n \r\n \r\n this.setState({ ...this.state, tooltipOpen: !this.state.tooltipOpen })}>\r\n {instance.ID}\r\n \r\n \r\n {this.state.mouseIn === instance.ID ?\r\n this.props.EditInstance(instance, this.props.section.Editor, this.state.Form.FormID)} icon={faPen} id={instance.ID} />\r\n : null}\r\n
\r\n {\r\n this.state.loading ?\r\n \r\n : null\r\n }\r\n
\r\n \r\n )\r\n }\r\n render() {\r\n if (this.state.Form.FormID === '') {\r\n return ;\r\n }\r\n if (this.props.IsPanel) {\r\n return this.MainContent()\r\n }\r\n else {\r\n return ({!this.props.TitleFree ?\r\n \r\n < CardTitle className='float-left' tag=\"h5\">{this.state.Form.title}\r\n\r\n
\r\n
    \r\n \r\n
\r\n
\r\n
\r\n : null\r\n }\r\n {this.MainContent()}\r\n
);\r\n }\r\n }\r\n}\r\n\r\n","export const BaseInfoRoutes = {\r\n name: 'اطلاعات پایه',\r\n to: '/#',\r\n exact: false,\r\n icon: 'poll',\r\n children: [\r\n { to: '/PanelF3V1', name: 'سال' },\r\n { to: '/PanelF3V10', name: 'دوره' },\r\n { to: '/PanelF3V11', name: 'بخش' },\r\n { to: '/PanelF3V12', name: 'نمونه' },\r\n { to: '/PanelF3V2', name: 'آزمایشگاه' },\r\n { to: '/PanelF3V13', name: 'دانشگاه' },\r\n { to: '/PanelF3V17', name: 'سازنده کیت' },\r\n ]\r\n};\r\nexport const DashboardRoutes = {\r\n name: 'داشبورد',\r\n to: '/',\r\n exact: true,\r\n icon: 'poll'\r\n};\r\nexport default [\r\n DashboardRoutes, BaseInfoRoutes\r\n];\r\nexport const CommandSetting = [\r\n { command: 'Save', title: 'ذخیره', color: 'primary' },\r\n { command: 'New', title: 'جدید', color: 'secondary' },\r\n { command: 'Delete', title: 'حذف', color: 'danger' },\r\n { command: 'Save-New', title: 'ذخیره و جدید', color: 'secondary' },\r\n { command: 'Refresh', title: 'بارگزاری', color: 'secondary' },\r\n { command: 'RefreshTemplate', title: 'بارگزاری قالب', color: 'secondary' },\r\n\r\n]","import React, { Component } from 'react'\r\nimport { Button, CardBody, Col, Input, Label, Row } from 'reactstrap';\r\nimport { LoadEmploye, NewEmploye, SaveEmploye } from '../../Engine/Common';\r\nimport InstanceForm from '../InstanceForm/InstanceForm';\r\nimport generator from 'generate-password'\r\nimport { toast } from 'react-toastify';\r\nexport default class EmployeForm extends Component {\r\n state = NewEmploye();\r\n LoadCompleted() {\r\n\r\n }\r\n async componentDidUpdate() {\r\n if (this.props.Data !== null && this.props.Data !== 'new' &&\r\n this.state.Data?.UID !== this.props.Data?.UID) {\r\n let data = await LoadEmploye(this.props.Data.id);\r\n\r\n this.setState({\r\n ...this.state,\r\n Data: data\r\n })\r\n }\r\n if (this.props.Data === 'new' && this.state.Data.UID !== 'new') {\r\n this.New();\r\n }\r\n }\r\n onChangeusername = (value) => {\r\n this.setState({\r\n ...this.state,\r\n Data: {\r\n ...this.state.Data,\r\n User: {\r\n ...this.state.Data.User,\r\n UserName: value.target.value\r\n }\r\n }\r\n })\r\n }\r\n onChangepassword = (value) => {\r\n this.setState({\r\n ...this.state, Data: {\r\n ...this.state.Data,\r\n User: {\r\n ...this.state.Data.User,\r\n Password: value.target.value\r\n }\r\n }\r\n })\r\n }\r\n onChangeState = (value) => {\r\n this.setState({\r\n ...this.state, Data: {\r\n ...this.state.Data,\r\n User: {\r\n ...this.state.Data.User,\r\n State: (value.target.value === 'true')\r\n }\r\n }\r\n })\r\n }\r\n PropertyChanged(form, property, newvalue, instance) {\r\n let data = this.state.Data;\r\n data.Person = instance;\r\n if (property === \"PC325\") {\r\n data.User.UserName = newvalue;\r\n if (data.User.Password === '') {\r\n var password = generator.generate({\r\n length: 10,\r\n numbers: true\r\n });\r\n data.User.Password = password;\r\n }\r\n }\r\n this.setState({\r\n ...this.state,\r\n Data: data\r\n })\r\n }\r\n Save = async () => {\r\n this.setState({\r\n ...this.state,\r\n disable: true,\r\n })\r\n\r\n let data = await SaveEmploye(this.state.Data);\r\n if (data !== undefined) {\r\n if (this.props.FeedBack !== undefined)\r\n this.props.FeedBack({ id: data.ID, display: data.DIS });\r\n this.setState({\r\n ...this.state,\r\n Data: data,\r\n })\r\n toast.success('اطلاعات با موفقیت ذخیره گردید')\r\n }\r\n this.setState({\r\n ...this.state,\r\n disable: false,\r\n })\r\n }\r\n New = () => {\r\n this.setState(NewEmploye());\r\n }\r\n RestPass = () => {\r\n var password = generator.generate({\r\n length: 10,\r\n numbers: true\r\n });\r\n let data = this.state.Data;\r\n data.User.Password = password;\r\n this.setState({\r\n ...this.state,\r\n Data: data\r\n })\r\n }\r\n render() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {\r\n !this.props.HideNew ?\r\n \r\n : null\r\n }\r\n \r\n
\r\n
\r\n
\r\n );\r\n }\r\n}","import React, { Component } from 'react';\r\nimport { Table, Row, Col, Label } from 'reactstrap';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport RelationController from '../../Engine/RelationController';\r\nimport EmployeForm from '../StaticForm/EmployeForm';\r\nimport { Utility } from '../../Engine/Common';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport FormRouter from '../FormRouter';\r\n\r\nexport default class RelationForm extends Component {\r\n state = {\r\n Data: {...RelationController.DataModel},\r\n loading: false,\r\n SelectedItem: null\r\n }\r\n async componentDidMount() {\r\n await this.Initial();\r\n }\r\n async componentDidUpdate() {\r\n await this.Initial();\r\n }\r\n async Initial() {\r\n if (this.props.RelationType !== null && Utility.IsInstanceID(this.props.BaseId)\r\n && this.state.Data.baseID !== this.props.BaseId) {\r\n let data = {};\r\n data.baseID = this.props.BaseId;\r\n data.relationType = this.props.RelationType;\r\n data.relationTypeID = this.props.RelationType.ID;\r\n let related = await RelationController.GetRelationAsync(data);\r\n if (related !== undefined)\r\n data.dependencyIDes = related.dependencyIDes;\r\n this.setState({\r\n ...this.state,\r\n Data: data\r\n });\r\n }\r\n }\r\n CustomeComponent =
;\r\n SelectItem(item) {\r\n this.setState({ ...this.state, SelectedItem: item })\r\n }\r\n async Deleted(instance) {\r\n if (window.confirm('آیا از حذف این آیتم مطمئن هستید؟')) {\r\n let data = { ...this.state.Data };\r\n let index = data.dependencyIDes.findIndex(x => x.ID === instance.ID);\r\n data.dependencyIDes = [instance]\r\n let result = await RelationController.DeleteRelationAsync(data);\r\n if (result !== undefined) {\r\n this.state.Data.dependencyIDes.splice(index, 1);\r\n this.setState({\r\n ...this.state,\r\n Data: { ...this.state.Data }\r\n })\r\n }\r\n }\r\n }\r\n async FeedBack(instance) {\r\n if (this.state.Data.dependencyIDes.findIndex(x => x.id === instance.id) < 0) {\r\n let data = { ...this.state.Data };\r\n data.dependencyIDes = [instance];\r\n let result = await RelationController.AddRelationAsync(data);\r\n if (result !== undefined) {\r\n this.state.Data.dependencyIDes = [...this.state.Data.dependencyIDes, instance]\r\n this.setState({\r\n ...this.state,\r\n Data: { ...this.state.Data }\r\n })\r\n }\r\n }\r\n }\r\n async SearchItem(id, item) {\r\n this.FeedBack(item);\r\n }\r\n loadComponent() {\r\n let result = [];\r\n if (Utility.IsClassID(this.state.Data?.relationType?.Refrence)) {\r\n result = [...result, ];\r\n }\r\n return result;\r\n \r\n }\r\n NewInstance() {\r\n let result = [];\r\n if (Utility.IsFormID(this.state.Data?.relationType?.FormID)) {\r\n result = [...result, ];\r\n\r\n } else if (this.state.Data?.relationType !== null && this.state.Data?.relationType?.FormID === 'EmployeForm') {\r\n result = [...result, ];\r\n }\r\n return result;\r\n }\r\n render() {\r\n return (\r\n \r\n {this.loadComponent()}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.state.Data.dependencyIDes.map((item) => {\r\n return (\r\n \r\n );\r\n })\r\n }\r\n \r\n
{this.state.Data?.relationType?.DIS }
\r\n {item.display }\r\n
\r\n \r\n \r\n {this.NewInstance()}\r\n \r\n
);\r\n \r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport {\r\n Form, Row, Card, CardBody,\r\n CardTitle, CardFooter, Button, Col,\r\n TabContent, TabPane, Nav, NavItem, NavLink\r\n} from 'reactstrap';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport InstanceCell from './InstanceCell';\r\nimport Flex from '../../components/common/Flex';\r\nimport { CommandSetting } from '../../PGIAdminroutes';\r\nimport uuid from 'react-uuid';\r\nimport Parameters from '../../Engine/Parameters';\r\nimport { Utility } from '../../Engine/Common';\r\nimport { grays } from '../../helpers/utils';\r\nimport RelationForm from '../Relation/RelationForm';\r\nimport classnames from 'classnames';\r\nexport default class InstanceForm extends Component {\r\n state = {\r\n Data: {\r\n UID: uuid(),\r\n ID: 'NEW',\r\n Prop: []\r\n },\r\n Form: {\r\n rows: [],\r\n Commands: []\r\n },\r\n activeTab: 'INSTANCE'\r\n }\r\n LoadCompleted = false;\r\n LocalLoadFlow = [];\r\n async componentDidMount() {\r\n if (this.props.onRef !== undefined)\r\n this.props.onRef(this)\r\n //if (this.state.Form.FormID !== this.props.source) {\r\n await this.LoadForm();\r\n //}\r\n }\r\n componentDidUpdate() {\r\n if (this.props.Instance !== undefined && ((Utility.IsInstanceID(this.props.Instance?.ID) &&\r\n this.props.Instance?.ID !== this.state.Data?.ID) || this.props.Instance?.UID !== this.state.Data?.UID)) {\r\n this.SetData(this.props.Instance);\r\n\r\n }\r\n }\r\n async Commander(command) {\r\n switch (command) {\r\n case 'Save':\r\n await this.Save();\r\n break;\r\n case 'New':\r\n await this.New();\r\n break;\r\n case 'Save-New': {\r\n await this.Save();\r\n await this.New();\r\n }\r\n break;\r\n case 'Refresh':\r\n await this.Refresh();\r\n break;\r\n case 'Delete':\r\n await this.Delete();\r\n break;\r\n }\r\n }\r\n LoadForm = async () => {\r\n let form = await InstanceController.GetFormAsync(this.props.source);\r\n if (form?.FormID !== undefined) {\r\n let defualtvalues = form.values !== undefined ? [...form.values] : [];\r\n let data = this.props.Data === undefined ? {\r\n UID: uuid(),\r\n ID: form.FormID.split('F')[0],\r\n Prop: defualtvalues\r\n } : this.props.Data;\r\n this.setState({\r\n ...this.state,\r\n Form: form,\r\n Data: data\r\n });\r\n if (this.props.LoadCompleted !== undefined)\r\n this.props.LoadCompleted(this.props.source);\r\n }\r\n }\r\n async LoadFlow(loadflow) {\r\n if (loadflow !== undefined && loadflow !== null) {\r\n while (loadflow.length > 0) {\r\n let func = loadflow[0];\r\n loadflow.splice(0, 1);\r\n let flag = false;\r\n switch (func.cmd) {\r\n case \"set\":\r\n if (func.value.includes('&') && this.props.Params !== undefined) {\r\n let value = this.props.Params.params.split('&')[parseInt(func.value.replaceAll('&', ''))];\r\n this.PropertyChanged(func.des, value);\r\n }\r\n else if (func.value.includes('@')) {\r\n let value = Parameters.GetValue(func.value.replaceAll('@', ''), null, 'id');\r\n this.PropertyChanged(func.des, value);\r\n }\r\n else if (func.value === \"Data\") {\r\n for (var i = 0; i < func.con.BCs.length; i++) {\r\n for (var j = 0; j < func.con.BCs[i].Bts.length; j++) {\r\n let value = func.con.BCs[i].Bts[j].IPV;\r\n if (value.includes('#') && this.state.Data.Prop.find(x => x.PID === value.replaceAll('#', '')) !== undefined)\r\n func.con.BCs[i].Bts[j].IPV = this.state.Data.Prop.find(x => x.PID === value.replaceAll('#', '')).IPV;\r\n }\r\n }\r\n await this.LoadData(JSON.stringify(func.con))\r\n }\r\n break;\r\n case \"Refresh\":\r\n if (this.props.Mode === \"TempData\")\r\n this.LocalLoadFlow = [];\r\n if (func.formid === undefined)\r\n this.Refresh(func.type);\r\n flag = func.type === \"TempData\";\r\n break;\r\n }\r\n if (flag)\r\n break;\r\n }\r\n //await this.LoadFlow(this.LocalLoadFlow);\r\n }\r\n\r\n }\r\n async Refresh() {\r\n if (this.state.Form.LoadFlow !== undefined) {\r\n this.LocalLoadFlow = JSON.parse(JSON.stringify(this.state.Form.LoadFlow));\r\n await this.LoadFlow(this.LocalLoadFlow);\r\n }\r\n }\r\n SetDataTemplate(dataTemp) {\r\n this.setState({\r\n ...this.state,\r\n DataTemplate: dataTemp\r\n })\r\n this.props.LoadCompleted(this.props.source);\r\n }\r\n CleanData() {\r\n this.setState({\r\n ...this.state,\r\n DataTemplate: [],\r\n Data: {\r\n UID: uuid(),\r\n ID: 'NEW',\r\n Prop: []\r\n }\r\n })\r\n }\r\n async LoadData(condition) {\r\n let data = await InstanceController.GetInstancesAsync(condition);\r\n if (data.length > 0) {\r\n this.setState({\r\n ...this.state,\r\n Data: { ...data[0] }\r\n })\r\n }\r\n else if (this.state.DataTemplate !== undefined) {\r\n this.state.Data.ID = this.state.DataTemplate.ID;\r\n for (var i = 0; i < this.state.Data.Prop.length; i++) {\r\n let templateprop = this.state.DataTemplate.Prop.find(x => x.PID === this.state.Data.Prop[i].PID);\r\n if (templateprop !== undefined && templateprop.IPV !== '')\r\n this.state.Data.Prop[i].IPV = templateprop.IPV;\r\n }\r\n this.setState({\r\n ...this.state,\r\n Data: { ...this.state.Data }\r\n })\r\n }\r\n if (this.props.DataLoaded !== undefined)\r\n this.props.DataLoaded(this.props.source);\r\n }\r\n async New() {\r\n this.setState({\r\n ...this.state,\r\n Data: {\r\n UID: uuid(),\r\n ID: this.state.Form.FormID.split('F')[0],\r\n Prop: []\r\n }\r\n });\r\n }\r\n async Delete() {\r\n if (window.confirm('آیا از حذف این آیتم مطمئن هستید؟')) {\r\n await InstanceController.DeleteAsync(this.state.Data.ID);\r\n if (this.props.FeedBack !== undefined && this.state.feedBackId !== undefined)\r\n await this.props.FeedBack(this.state.Data, this.state.feedBackId, 'delete');\r\n this.CleanData();\r\n }\r\n }\r\n async Save() {\r\n let id = await InstanceController.SaveInstanceAsync(this.state.Data);\r\n if (Utility.IsInstanceID(id)) {\r\n if (this.props.PropertyChanged !== undefined)\r\n this.props.PropertyChanged(this.state.Form.FormID, 'ID', id)\r\n if (this.props.FeedBack !== undefined && this.state.feedBackId !== undefined)\r\n await this.props.FeedBack(this.state.Data, this.state.feedBackId, 'Save');\r\n this.setState({\r\n ...this.state,\r\n Data: {\r\n ...this.state.Data,\r\n ID: id\r\n }\r\n })\r\n }\r\n return id;\r\n }\r\n SetData(instance, feedBackId) {\r\n this.setState({\r\n ...this.state,\r\n Data: instance,\r\n feedBackId: feedBackId\r\n });\r\n }\r\n PropertyChanged(pid, value, Instance, objValue) {\r\n if (pid !== undefined) {\r\n let data = this.state.Data;\r\n let editedPropindex = data.Prop.findIndex(x => x.PID === pid)\r\n if (editedPropindex >= 0)\r\n data.Prop.splice(editedPropindex, 1, { ...data.Prop[editedPropindex], IPV: value, DIS: objValue ? objValue.display : value })\r\n else\r\n data.Prop = [...data.Prop, { PID: pid, IPV: value, DIS: objValue ? objValue.display : value, TP: 20 }];\r\n\r\n this.setState({\r\n ...this.state,\r\n Form: { ...this.state.Form },\r\n Data: {\r\n ...data,\r\n Prop: data.Prop\r\n }\r\n })\r\n if (this.props.PropertyChanged !== undefined)\r\n this.props.PropertyChanged(this.state.Form.FormID, pid, value, data)\r\n }\r\n }\r\n handlePropertyChange = (pid, value, Instance) => {\r\n if (Instance !== undefined) {\r\n let props = Instance.Prop;\r\n let editedPropindex = Instance.Prop.findIndex(x => x.PID === pid)\r\n props.splice(editedPropindex, editedPropindex >= 0 ? 1 : 0, { PID: pid, IPV: value, state: 2 })\r\n this.setState({\r\n ...this.state,\r\n Data: this.state.Data\r\n });\r\n }\r\n else {\r\n let instance = this.state.Data;\r\n\r\n let props = instance.Prop;\r\n let editedPropindex = instance.Prop.findIndex(x => x.PID === pid)\r\n props.splice(editedPropindex, editedPropindex >= 0 ? 1 : 0, { PID: pid, IPV: value, state: 2 })\r\n return instance;\r\n\r\n this.setState({\r\n ...this.state,\r\n Data: instance\r\n });\r\n }\r\n\r\n }\r\n CommandBuilder() {\r\n let commands = [];\r\n this.state.Form.Commands.map(command => {\r\n let commandSetting = CommandSetting.find(x => x.command === command);\r\n commands = [...commands, ];\r\n })\r\n return commands;\r\n }\r\n Contents() {\r\n return (<>{\r\n this.state.Form.rows.map((row, rowIndex) => {\r\n return (
\r\n {\r\n row.title ? <>
{row.title}

\r\n :
\r\n }\r\n \r\n {\r\n row.controls.map((control, colIndex) => (\r\n \r\n \r\n \r\n ))\r\n }\r\n
);\r\n })\r\n }\r\n\r\n )\r\n }\r\n toggle(tab) {\r\n\r\n if (this.state.activeTab !== tab) {\r\n this.setState({\r\n ...this.state,\r\n activeTab: tab\r\n });\r\n }\r\n }\r\n MainForm() {\r\n let content = this.Contents();\r\n return (
\r\n {!this.props.IsPanel ?\r\n \r\n \r\n {this.state.Form.title}\r\n \r\n \r\n {this.Contents()}\r\n \r\n \r\n \r\n {this.CommandBuilder()}\r\n \r\n \r\n \r\n :\r\n (this.props.FormTitle || this.state.Form?.Relations?.length > 0 ?\r\n
\r\n \r\n {\r\n this.props.FormTitle ?\r\n {this.state.Form.title}\r\n : null\r\n }\r\n\r\n \r\n \r\n {content}\r\n
\r\n : content\r\n )}\r\n
);\r\n }\r\n render() {\r\n return (<>{this.state.Form?.Relations?.length > 0 ? (<>\r\n \r\n \r\n \r\n {this.MainForm() }\r\n \r\n {\r\n this.state.Form?.Relations?.length > 0 ?\r\n (\r\n this.state.Form.Relations.map((relation, index) => {\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n })) : null\r\n }\r\n )\r\n :\r\n this.MainForm()\r\n }\r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { CardFooter,Row, Col, Spinner, Card, CardBody, CardTitle, Button} from 'reactstrap';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport InstanceDataGrid from './InstanceDataGrid';\r\nimport { CommandSetting } from '../PGIAdminroutes';\r\nimport { Utility } from '../Engine/Common';\r\nimport { toast } from 'react-toastify';\r\nimport InstanceForm from './InstanceForm/InstanceForm';\r\nimport { FormDataTemplate } from '../Engine/FormDataTemplate';\r\nimport Parameters from '../Engine/Parameters';\r\nconst defualstate = {\r\n LoadFlow: [\r\n {\r\n cmd: \"\",\r\n value: \"\",\r\n des: \"\",\r\n Isrequierd: true\r\n }],\r\n Form: {\r\n FormID: '',\r\n ShowType: 'Panel',\r\n title: \"\",\r\n rows: [\r\n {\r\n height: '100px',\r\n sections: [{\r\n col: \"\",\r\n formid: \"\",\r\n connectionPid: \"\",\r\n title: \"\"\r\n }]\r\n }\r\n\r\n ],\r\n Connectors: [{ BF: '', BP: '', SF: '', SP: '' }],\r\n Commands: [\r\n \r\n ]\r\n }\r\n , RelationModal: {\r\n isOpen: false,\r\n selectedID: ''\r\n\r\n },\r\n}\r\nexport default class PanelForm extends Component {\r\n state = {\r\n ...defualstate,\r\n savestartd: false\r\n };\r\n FormDataTemplate= null;\r\n Forms = [];\r\n newInstance;\r\n async LoadCompleted(formid) {\r\n this.Forms.find(x => x.props.source === formid).LoadCompleted = true;\r\n if (this.Forms.findIndex(x => x.LoadCompleted === false) < 0) {\r\n await this.LoadFlow(this.LocalLoadFlow)\r\n }\r\n }\r\n LocalLoadFlow = [];\r\n async LoadFlow(loadflow) {\r\n if (this.props.Mode!==\"TempData\" && loadflow !== undefined && loadflow !== null) {\r\n while (loadflow.length > 0) {\r\n let func = loadflow[0];\r\n loadflow.splice(0, 1);\r\n let flag = false;\r\n switch (func.cmd) {\r\n case \"set\":\r\n let form = this.Forms.find(x => x.props.source === func.formid);\r\n if (form !== undefined && form !== null) {\r\n if (func.value.includes('&') ) {\r\n if (this.props.Params === undefined && func.Isrequierd) \r\n break;\r\n let value = this.props.Params.params.split('&')[parseInt(func.value.replaceAll('&', ''))];\r\n form.PropertyChanged(func.des, value);\r\n }\r\n else if (func.value.includes('@')) {\r\n let value = Parameters.GetValue(func.value.replaceAll('@', ''), null, 'id');\r\n form.PropertyChanged(func.des, value);\r\n }\r\n else if (func.value === \"Data\") {\r\n for (var i = 0; i < func.con.BCs.length; i++) {\r\n for (var j = 0; j < func.con.BCs[i].Bts.length; j++) {\r\n let value = func.con.BCs[i].Bts[j].IPV;\r\n if (value.includes('#') && form.state.Data.Prop.find(x => x.PID === value.replaceAll('#', '')) !== undefined)\r\n func.con.BCs[i].Bts[j].IPV = form.state.Data.Prop.find(x => x.PID === value.replaceAll('#', '')).IPV;\r\n }\r\n }\r\n await form.LoadData(JSON.stringify(func.con))\r\n }\r\n }\r\n break;\r\n case \"Refresh\":\r\n if (this.props.Mode === \"TempData\")\r\n this.LocalLoadFlow = [];\r\n if (func.formid === undefined)\r\n this.Refresh(func.type);\r\n flag = func.type === \"TempData\";\r\n break;\r\n default:\r\n break;\r\n }\r\n if (flag)\r\n break;\r\n }\r\n }\r\n }\r\n async DataLoaded(formid) {\r\n let conector = this.state.Form.Connectors.find(x => x.SF === formid)\r\n if (conector !== undefined && conector.SP===\"ID\") {\r\n let base = this.Forms.find(x => x.props.source === conector.BF);\r\n let source = this.Forms.find(x => x.props.source === conector.SF);\r\n if (base !== undefined ) {\r\n let condition = {\r\n OCID: conector.BF.split('F')[0],\r\n ORB: \" ORDER BY convert(int,PC2)\",\r\n BCs: [\r\n {\r\n Bts: [\r\n {\r\n PID: conector.BP,\r\n PRA: 1,\r\n IPV: source.state.Data.ID,\r\n NLC: 0,\r\n SRC: null\r\n }\r\n ],\r\n NLC: 0\r\n }\r\n ]\r\n }\r\n await base.LoadData(JSON.stringify(condition))\r\n }\r\n }\r\n }\r\n async Update(model) {\r\n this.newInstance = { ...model.Data }\r\n if (this.newInstance.LoadFlow !== undefined)\r\n this.LocalLoadFlow = [ ...this.newInstance.LoadFlow ];\r\n this.setState({\r\n ...this.state,\r\n Form: { ...this.newInstance }\r\n });\r\n }\r\n async LoadForm() {\r\n await InstanceController.GetFormAsync(this.props.source, this);\r\n\r\n }\r\n async componentDidMount() {\r\n if (this.state.Form.FormID !== this.props.source || this.state.Mode !== this.props.Mode) {\r\n this.state.Mode = this.props.Mode;\r\n await this.LoadForm();\r\n }\r\n }\r\n async componentDidUpdate() {\r\n if (this.state.Form.FormID !== this.props.source || this.state.Mode !== this.props.Mode) {\r\n this.Forms.map((form) => (form.CleanData()))\r\n this.state.Mode = this.props.Mode;\r\n await this.LoadForm();\r\n }\r\n this.commandflag = true;\r\n }\r\n async PropertyChanged(form, property, newvalue) {\r\n let conector = this.state.Form.Connectors.find(x => x.SF === form && x.SP === property)\r\n if (conector !== undefined) {\r\n let base = this.Forms.find(x => x.props.source === conector.BF);\r\n if (base !== undefined) {\r\n base.handlePropertyChange(conector.BP, newvalue);\r\n }\r\n }\r\n if (this.state.savestartd)\r\n await this.Save();\r\n }\r\n savelist = [];\r\n async Save() {\r\n if (this.props.Mode === undefined || this.props.Mode === 'Normal') {\r\n if (!this.state.savestartd) {\r\n this.state.savestartd = true;\r\n this.savelist = [...this.state.Form.Commands.find(cmd => cmd.Command === 'Save').Order];\r\n }\r\n if (this.savelist.length > 0) {\r\n let form = this.Forms.find(x => x.props.source === this.savelist[0]);\r\n this.savelist.splice(0, 1);\r\n await form.Save();\r\n if (this.savelist.length === 0)\r\n this.setState({\r\n ...this.state, savestartd: false\r\n })\r\n }\r\n }\r\n else if (this.props.Mode === 'TempData') {\r\n let formdataTemplate = [];\r\n this.Forms.map((form) => {\r\n formdataTemplate = [...formdataTemplate, {\r\n formID: form.state.Form.FormID,\r\n TempData: form.state.Data\r\n }]\r\n })\r\n if (this.FormDataTemplate === null) \r\n this.FormDataTemplate = new FormDataTemplate();\r\n this.FormDataTemplate.setMainFormID(this.state.Form.FormID);\r\n this.FormDataTemplate.setTitle('قالب فرم ');\r\n this.FormDataTemplate.setConditionFormID(this.Forms[0].state.Form.FormID);\r\n let conditionvalue = '';\r\n for (var i = 0; i < this.Forms[0].state.Data.Prop.length; i++) {\r\n if (this.Forms[0].state.Data.Prop[i].IPV !== '')\r\n conditionvalue += this.Forms[0].state.Data.Prop[i].PID+\r\n this.Forms[0].state.Data.Prop[i].IPV+','\r\n }\r\n this.FormDataTemplate.setConditionValue(conditionvalue);\r\n this.FormDataTemplate.setJson(JSON.stringify(formdataTemplate));\r\n this.FormDataTemplate.Save();\r\n }\r\n }\r\n async Refresh(type) {\r\n this.FormDataTemplate = await FormDataTemplate.Load(this.state.Form.FormID, this.Forms[0].state, this.state.Form.TempCon);\r\n if (this.FormDataTemplate !== null) {\r\n let tempdata = JSON.parse(this.FormDataTemplate.getJson());\r\n if (tempdata !== null) {\r\n this.Forms.map((form) => {\r\n let formobj = tempdata.find(x => x.formID === form.state.Form.FormID)\r\n form.LoadCompleted = false;\r\n form.SetDataTemplate(formobj.TempData)\r\n });\r\n }\r\n }\r\n if (type !== 'TempData') {\r\n if (!this.state.savestartd) {\r\n this.state.savestartd = true;\r\n this.savelist = [...this.state.Form.Commands.find(cmd => cmd.Command === 'Refresh').Order];\r\n }\r\n if (this.savelist.length > 0) {\r\n let form = this.Forms.find(x => x.props.source === this.savelist[0]);\r\n this.savelist.splice(0, 1);\r\n if (this.savelist.length === 0)\r\n this.setState({\r\n ...this.state, savestartd: false\r\n })\r\n await form.Refresh();\r\n }\r\n else\r\n this.state.savestartd = false;\r\n }\r\n }\r\n async New() {\r\n if (!this.state.savestartd) {\r\n this.state.savestartd = true;\r\n this.savelist = [...this.state.Form.Commands.find(cmd => cmd.Command === 'New').Order];\r\n }\r\n while (this.savelist.length > 0) {\r\n let form = this.Forms.find(x => x.props.source === this.savelist[0]);\r\n this.savelist.splice(0, 1);\r\n if (this.savelist.length === 0)\r\n this.setState({\r\n ...this.state, savestartd: false\r\n })\r\n await form.New();\r\n }\r\n }\r\n async Delete() {\r\n if (!this.state.savestartd) {\r\n this.state.savestartd = true;\r\n this.savelist = [...this.state.Form.Commands.find(cmd => cmd.Command === 'Delete').Order];\r\n }\r\n if (this.savelist.length > 0) {\r\n let form = this.Forms.find(x => x.props.source === this.savelist[0]);\r\n this.savelist.splice(0, 1);\r\n if (this.savelist.length === 0)\r\n this.setState({\r\n ...this.state, savestartd: false\r\n })\r\n await form.Delete();\r\n }\r\n }\r\n async Commander(command) {\r\n switch (command) {\r\n case 'Save':\r\n await this.Save();\r\n break;\r\n case 'New':\r\n await this.New();\r\n break;\r\n case 'Save-New':{\r\n await this.Save();\r\n await this.New();\r\n }\r\n break;\r\n case 'Refresh':\r\n await this.Refresh(this.props.Mode);\r\n break;\r\n case 'RefreshTemplate':\r\n await this.Refresh('TempData');\r\n break;\r\n case 'Delete':\r\n await this.Delete();\r\n break;\r\n }\r\n }\r\n commandflag = true;\r\n CommandBuilder() {\r\n let commands = [];\r\n if (this.commandflag) {\r\n this.commandflag = false;\r\n this.state.Form.Commands.map((item) => {\r\n if (item.Order.length > 0 && ((item.Show === undefined || item.Show === 'Normal') || (item.Show === this.props.Mode))) {\r\n let commandSetting = CommandSetting.find(x => x.command === item.Command);\r\n commands = [...commands, ];\r\n }\r\n })\r\n }\r\n return commands;\r\n }\r\n addForm(ref) {\r\n this.Forms = [...this.Forms, ref]\r\n }\r\n LoadRelationForm(formid, relationid, event) {\r\n let instanceid =''\r\n this.Forms.map(\r\n (form) => {\r\n if (form.state.Form.FormID === formid)\r\n instanceid = form.state.Instance.ID;\r\n }\r\n )\r\n if (Utility.IsInstanceID(instanceid))\r\n this.setState({\r\n ...this.state,\r\n RelationModal: {\r\n isOpen: true,\r\n selectedID: relationid,\r\n InstanceID: instanceid\r\n }\r\n })\r\n else\r\n toast.warn('قرم باید ذخیره شده باشد')\r\n }\r\n EditInstance(instance, editorid, feedBackid) {\r\n let form = this.Forms.find(f => f.state.Form.FormID === editorid)\r\n form.SetData(instance, feedBackid);\r\n }\r\n async FeedBack(instance, feedBackid, action) {\r\n console.log(instance, feedBackid, action)\r\n\r\n let form = this.Forms.find(f => f.state.Form.FormID === feedBackid)\r\n console.log(form)\r\n\r\n if (action === 'delete')\r\n await form.Delete(instance);\r\n }\r\n render() {\r\n \r\n if (this.state.Form.FormID !== this.props.source) {\r\n return ;\r\n }\r\n let result = null;\r\n result = this.state.Form.rows.map((row, index) => (\r\n \r\n {row.sections?\r\n row.sections.map((section,sectionIndex) => {\r\n let sectionresult = null;\r\n if (section.formid !== undefined && section.formid !== '') {\r\n let type = section.formid.split('F')[1].split('V')[0];\r\n switch (type) {\r\n case '0':\r\n sectionresult = this.addForm(ref)}\r\n Mode={this.props.Mode} IsPanel={true} id={section.formid} FeedBack={this.FeedBack.bind(this)}\r\n source={section.formid} PropertyChanged={this.PropertyChanged.bind(this)} />;\r\n break;\r\n case '1':\r\n sectionresult = this.addForm(ref)} IsPanel={true} id={section.formid}\r\n isReadonly={true}\r\n source={section.formid} PropertyChanged={this.PropertyChanged.bind(this)} />;\r\n break;\r\n case '3':\r\n sectionresult = ;\r\n break;\r\n default:\r\n sectionresult =

Error

\r\n break;\r\n }\r\n }\r\n sectionresult = (\r\n {sectionresult}\r\n )\r\n return sectionresult;\r\n }) :\r\n (\r\n
\r\n
\r\n {this.CommandBuilder()}\r\n
)\r\n }\r\n
\r\n ))\r\n result = (<>\r\n {\r\n \r\n \r\n {this.state.Form.title}\r\n \r\n \r\n {result}\r\n \r\n
\r\n {this.CommandBuilder()}\r\n
\r\n
\r\n }\r\n )\r\n\r\n return result;\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport InstanceDataGrid from './InstanceDataGrid';\r\nimport InstanceForm from './InstanceForm/InstanceForm';\r\nimport PanelForm from './PanelForm';\r\nexport default class FormRouter extends Component {\r\n state = {\r\n preProp: null\r\n }\r\n defualstate = {\r\n ShowType: 'vertical',\r\n FormID: '',\r\n }\r\n render() {\r\n let result = null;\r\n if (this.props.source?.split('F')?.length>0) {\r\n let type = this.props.source.split('F')[1].split('V')[0];\r\n switch (type) {\r\n case '0':\r\n result = ;\r\n break;\r\n case '1':\r\n result = ;\r\n break;\r\n case '3':\r\n result = ;\r\n break;\r\n default:\r\n result =

Error

\r\n break;\r\n }\r\n }\r\n return result;\r\n }\r\n}\r\n","import BaseInstance, { NewInstance, NewProperty } from \"../../Engine/BaseInstance\";\r\nimport ConditionMaker from \"../../Engine/ConditionMaker\";\r\nimport Parameters from \"../../Engine/Parameters\";\r\nimport { surveyQuestions } from \"./Survey\";\r\n\r\nexport class SurveyInstance extends BaseInstance {\r\n static year=1403;\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E0C26');\r\n super(instance);\r\n SurveyInstance.PIDs.forEach(pid => {\r\n instance.Prop.push(NewProperty(pid));\r\n Object.defineProperty(this, pid, {\r\n get: () => this.GetValue(pid),\r\n set: (value) => this.SetValue(pid, value)\r\n });\r\n });\r\n }\r\n }\r\n static PIDs = [\"P8\", \"P3\", \"P81\", \"P212\", \"P213\", \"P214\", \"P215\", \"P216\", \"P217\", \"P218\"\r\n , \"P219\", \"P220\", \"P221\", \"P222\", \"P223\", \"P224\", \"P225\", \"P226\", \"P227\", \"P228\", \"P229\"];\r\n\r\n\r\n static async HasData() {\r\n let org = await Parameters.GetValue('@orgid');\r\n let condition = new ConditionMaker('O30E0C26');\r\n condition.AddCondition('P8', '=', `${org}`,'and')\r\n .AddCondition('P229', '=', `${this.year}`);\r\n var instances = await condition.GetResult();\r\n return instances.length > 0;\r\n }\r\n static async fillAuto() {\r\n var survey = new SurveyInstance();\r\n let org = await Parameters.GetValue('@orgid');\r\n survey.P8 = org;\r\n survey.P81 = Date.now();\r\n survey.P212 =\"خوب\";\r\n survey.P213 = \"خوب\";\r\n survey.P214 = \"خوب\";\r\n survey.P215 = \"خوب\";\r\n survey.P216 = \"خوب\";\r\n survey.P217 = \"خوب\";\r\n survey.P218 = \"خوب\";\r\n survey.P219 = \"خوب\";\r\n survey.P220 = \"خوب\";\r\n survey.P221 = \"خوب\";\r\n survey.P222 = \"خوب\";\r\n survey.P223 = \"خوب\";\r\n survey.P224 = \"خوب\";\r\n survey.P225 = \"بلی\";\r\n survey.P226 = \"بلی\";\r\n survey.P227 =\"بلی\";\r\n survey.P228 = \"بلی\";\r\n survey.P229 = SurveyInstance.year;\r\n if (await survey.SaveAsync()) {\r\n localStorage.setItem('@hasSurvey', SurveyInstance.year);\r\n }\r\n window.location.href = \"/\";\r\n }\r\n\r\n}","import { uniqueId } from 'lodash';\r\nimport React, { Component } from 'react';\r\nimport { DatePicker } from \"jalali-react-datepicker\";\r\nimport DatePicker1 from \"react-datepicker\";\r\nimport { settings } from '../Engine/BaseSetting';\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport { Label } from 'reactstrap';\r\nimport { Utility } from '../Engine/Common';\r\nimport moment from 'moment';\r\nexport default class DateControl extends Component {\r\n state = {\r\n value: undefined\r\n }\r\n async componentDidMount() {\r\n if (this.props.PValue)\r\n this.setState({\r\n ...this.state,\r\n value: moment(this.props.PValue)\r\n })\r\n if (this.props.control && this.props.control.DIPV) {\r\n let value = (await Utility.GetNow()).toString;\r\n this.props.onChange(value.date, value.hour);\r\n this.setState({\r\n ...this.state,\r\n value: value.date\r\n })\r\n }\r\n\r\n\r\n }\r\n componentDidUpdate() {\r\n if (this.props.prop !== this.state.prop) {\r\n let Prop = this.props.prop;\r\n if (Prop && Prop.IPV !== this.state.value) {\r\n let value = '';\r\n value = Prop.IPV;\r\n\r\n this.setState({\r\n ...this.state,\r\n prop: this.props.prop,\r\n value: moment(value, 'MM/DD/YYYY')\r\n })\r\n }\r\n else if (this.state.value !== '') {\r\n this.setState({\r\n ...this.state,\r\n value: ''\r\n })\r\n }\r\n\r\n }\r\n }\r\n\r\n onChange({ value }) {\r\n this.props.onChange(value.format('MM/DD/YYYY'), value.format('HH:mm'));\r\n this.setState({\r\n ...this.state,\r\n value: value.format('MM/DD/YYYY')\r\n })\r\n }\r\n onChange1(value) {\r\n this.props.onChange(value.getMonth() + '/' + value.getDate() + '/' + value.getFullYear(), value.getHours() + ':' + value.getMinutes());\r\n this.setState({\r\n ...this.state,\r\n value: value\r\n })\r\n }\r\n render() {\r\n let IsReadOnly = false;\r\n let id = uniqueId();\r\n if (this.props.Instance !== undefined) {\r\n id = this.props.Instance.ID + this.props.PID;\r\n }\r\n if (this.props.Control !== undefined) {\r\n IsReadOnly = this.props.Control.IsReadOnly ?? false;\r\n }\r\n let lang = settings.lang[0] === 'fa-IR';\r\n let temp = undefined;\r\n if (this.state.value)\r\n temp = moment(this.state.value, 'jYYYY/jM/jD')\r\n return (\r\n
\r\n {lang ?\r\n //this.props.Mode === \"TempData\" || !IsReadOnly ?\r\n \r\n : <>\r\n this.onChange1(date)}\r\n formatWeekDay={day => day.slice(0, 3)}\r\n className='form-control'\r\n placeholderText={this.props.title}\r\n />\r\n }\r\n
\r\n );\r\n };\r\n}","import { faAngleDown, faAngleUp } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useState } from 'react';\r\nimport { useEffect } from 'react';\r\nimport { CustomInput, Dropdown, DropdownItem, DropdownMenu, DropdownToggle, Label } from 'reactstrap';\r\nimport Flex from '../components/common/Flex';\r\nimport { grays } from '../helpers/utils';\r\nimport uuid from 'uuid/v1';\r\n\r\nconst ComboMultiControl = ({ id, prop, control, onChange, refrence,dm }) => {\r\n useEffect(() => {\r\n setValue(prop??'');\r\n }, [prop])\r\n const [value, setValue] = useState('');\r\n const [isOpen, setIsOpen] = useState();\r\n const [sourceList, setSourceList] = useState(prop?.stepSource??[]);\r\n const SwitchSource = (item) => {\r\n let index = sourceList.findIndex(x => x.id === item.id)\r\n let temp = [...sourceList];\r\n if (index < 0) {\r\n temp = [...temp, item];\r\n setSourceList(temp)\r\n }\r\n else {\r\n temp.splice(index, 1)\r\n setSourceList(temp)\r\n }\r\n dm.ChangeStepSource(temp, control.pid, refrence)\r\n }\r\n // const SwitchSource = (item) => {\r\n // const temp = new Set(sourceList.map(x => x.id));\r\n // if (!temp.has(item.id)) {\r\n // setSourceList(prevList => [...prevList, item]);\r\n // } else {\r\n // setSourceList(prevList => prevList.filter(x => x.id !== item.id));\r\n // }\r\n // dm.ChangeStepSource([...sourceList, item], control.pid, refrence);\r\n // };\r\n return setIsOpen(!isOpen)}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n {control.source ?\r\n (\r\n {'انتخاب نشده'} \r\n {control.source.map((item) => {\r\n let uid = uuid();\r\n return (\r\n \r\n x.id === item.id) > -1}\r\n onChange={({ target }) => SwitchSource(item)} />\r\n { setValue({ ID: item.id, DIS: item.display }); onChange({ ID: item.id, DIS: item.display }) }} >{item.display} \r\n \r\n )\r\n })}) : null}\r\n\r\n \r\n};\r\nexport default ComboMultiControl;","import React from 'react'\r\nimport { Input } from 'reactstrap'\r\nimport moment from 'jalali-moment'\r\nimport Parameters from '../Engine/Parameters';\r\nimport { settings } from '../Engine/BaseSetting';\r\nconst ReadonlyObjectControl = ({ prop,control,style }) => {\r\n let value =prop?.DIS ?? prop?.IPV;\r\n if(prop?.IPV && control.controlType==='TimePeriod')\r\n value=settings.lang[0]==='fa-IR'? moment(prop?.IPV, 'MM/DD/YYYY').locale('fa').format('YYYY/MM/DD'):prop?.IPV;\r\n return \r\n}\r\nexport default ReadonlyObjectControl;","import React from 'react';\r\nimport { Card, FormGroup, Input, Label, Modal, ModalBody, ModalHeader } from 'reactstrap';\r\nimport { controlTypeList } from '../../Engine/Common';\r\n\r\nconst CellEditor = ({ toggle, isOpen, rowIndex, colIndex, DM }) => {\r\n const cell = DM?.formStructuer?.rows[rowIndex]?.controls[colIndex];\r\n const onChange = ({ target }) => {\r\n let value =target.value;\r\n if(target.type === 'checkbox')\r\n value = target.checked;\r\n DM.formStructuer.rows[rowIndex].controls[colIndex][target.name] = value;\r\n }\r\n return (\r\n \r\n Cell Editor\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n controlTypeList.map((item) => (\r\n \r\n\r\n ))\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default CellEditor;","import React, { useEffect } from 'react';\r\nimport { NewInstance } from '../../Engine/BaseInstance';\r\n// import { Utility } from '../../Engine/Common';\r\n// import { InstanceController } from '../../Engine/InstanceController';\r\nimport FormManager from '../FormManager';\r\nconst InstanceControl = ({ type, onChange, control, prop }) => {\r\n //const [lastProp, setLastProp] = useState();\r\n const formId = type + 'F0V0';\r\n useEffect(() => {\r\n // const fetch = async () => {\r\n // let temp = await InstanceController.LoadInstanceAsync(prop?.IPV);\r\n // setLastProp(temp)\r\n // }\r\n // if (Utility.IsInstanceID(prop?.IPV))\r\n // fetch();\r\n if (prop?.IPV)\r\n prop.IsInstance = true;\r\n }, [prop])\r\n \r\n console.log(prop)\r\n const onChangeDM = (value, pid, data1) => {\r\n onChange(data1);\r\n }\r\n return (<>\r\n \r\n \r\n );\r\n};\r\n\r\nexport default InstanceControl;","import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Input, Label } from 'reactstrap';\r\nimport uuid from 'uuid';\r\nimport DateControl from './DateControl';\r\nimport SearchControl from './SearchControl';\r\nimport { Utility } from '../Engine/Common';\r\nimport ComboMultiControl from './ComboMultiControl';\r\nimport ReadonlyObjectControl from './ReadonlyObjectControl';\r\nimport CellEditor from '../EngineDeveloper/FormBuilder/CellEditor';\r\nimport InstanceControl from './Controls/InstanceControl';\r\nimport classNames from 'classnames';\r\nimport GetDisplay from '../Engine/Lan/Context';\r\nimport Parameters from '../Engine/Parameters';\r\nimport FileControl from './FileControl';\r\nimport { AuthenticationController } from '../Engine/Authentication';\r\nimport ObjectClassController from '../Engine/ObjectClassController';\r\nimport ReactTooltip from 'react-tooltip';\r\nconst getControl = (control, mode, prop, OC) => {\r\n let Tag = '';\r\n let type = '';\r\n if (control.IsReadOnly && mode !== 'template') {\r\n if (control.IsReadOnly === true) {\r\n Tag = ReadonlyObjectControl;\r\n type = 'readonly';\r\n }\r\n else if (Array.isArray(control.IsReadOnly)) {\r\n\r\n for (let i = 0; i < control.IsReadOnly.length; i++) {\r\n const element = control.IsReadOnly[i];\r\n if (AuthenticationController.CheckRole(element.Role) && element.value === true) {\r\n Tag = ReadonlyObjectControl;\r\n type = 'readonly';\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n if (!Tag)\r\n switch (control.controlType) {\r\n case \"MultiLang_TextBox\":\r\n break;\r\n case \"Label\":\r\n Tag = Label;\r\n type = 'Label';\r\n break;\r\n case \"ComboBox\":\r\n if (mode === 'template') {\r\n Tag = ComboMultiControl;\r\n type = 'select1';\r\n }\r\n else {\r\n Tag = Input;\r\n type = 'select';\r\n }\r\n break;\r\n case \"CheckBox\":\r\n Tag = Input;\r\n type = 'checkbox';\r\n break;\r\n case \"Slider_CheckBox\":\r\n break;\r\n case \"TreeView\":\r\n break;\r\n case \"SearchControl\":\r\n Tag = SearchControl;\r\n type = control.sourceId;\r\n break;\r\n case \"InstanceControl\":\r\n Tag = InstanceControl;\r\n type = control.sourceId;\r\n break;\r\n case \"UserBox\":\r\n break;\r\n case \"Weight\":\r\n break;\r\n case \"RaidoButton\":\r\n break;\r\n case \"TimePeriod\":\r\n case \"DatePeriod\":\r\n Tag = DateControl\r\n type = 'Date';\r\n break;\r\n case \"MultiLineText\":\r\n Tag = Input\r\n type = 'textarea';\r\n break;\r\n case \"File\":\r\n Tag = FileControl\r\n type = 'File';\r\n break;\r\n case \"AITextBox\":\r\n default:\r\n let propType = OC?.properties?.find(x => x.ID === control.pid)?.StyleW2?.DataType;\r\n Tag = Input\r\n if (propType === 'Double')\r\n type = 'number'\r\n else\r\n type = 'text';\r\n break;\r\n }\r\n return { Tag, type };\r\n}\r\n\r\nconst CellControl = ({ control, onChange, labelClassName, TitleOff, refrence, prop, DM, ...rest }) => {\r\n const [DIPV, setDIPV] = useState();\r\n const [OC, setOC] = useState();\r\n useEffect(() => {\r\n const getValue = async () => {\r\n if (DM?.ActionType !== 'template') {\r\n let value = await Parameters.GetValue(control.DIPV);\r\n if (!prop || (prop.IPV !== (DIPV?.id ?? DIPV))) {\r\n setDIPV(value)\r\n onChange(value, control.pid, refrence)\r\n }\r\n }\r\n }\r\n if (refrence && control.DIPV) {\r\n getValue();\r\n }\r\n }, [prop, refrence])\r\n useEffect(() => {\r\n const getValue = async () => {\r\n if (refrence) {\r\n let oc = await ObjectClassController.LoadAsync(Utility.GetClassID(refrence.ID));\r\n setOC(oc);\r\n }\r\n }\r\n getValue();\r\n }, [refrence])\r\n const { Tag, type } = getControl(control, DM?.ActionType ?? rest.mode, prop, OC);\r\n const [isOpen, setIsOpen] = useState();\r\n const inputId = 'A' + uuid().replaceAll('-', '');\r\n\r\n const bsSize = 'sm';\r\n const onClick = (e) => {\r\n if (e.detail === 2) {\r\n setIsOpen(true);\r\n }\r\n }\r\n const toggle = () => {\r\n setIsOpen(!isOpen);\r\n }\r\n let source = prop?.stepSource ?? control?.source;\r\n const ValueChanged = (event, TP) => {\r\n let value = event?.target?.value;\r\n if (type === 'select')\r\n value = control?.source.find(x => x.id === event.target.value);\r\n else if (Utility.IsID(type) || type === 'select1')\r\n value = event;\r\n else if (type === 'Date' || type === 'File')\r\n value = event;\r\n else if (type === 'checkbox') {\r\n value = event.target.checked;\r\n }\r\n onChange(value, control.pid, refrence, TP);\r\n }\r\n const tooltipActive = DM?.ActionType!=='template' && prop?.info;\r\n let style = control?.style;\r\n if (style) {\r\n if (type === 'textarea') {\r\n if (style) style += ','\r\n style += \"height:'85%'\"\r\n }\r\n }\r\n const containerStyle = {\r\n display: 'flex',\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n height: '100%',\r\n textAlign: 'center',\r\n };\r\n\r\n return (
\r\n {!TitleOff && type !== 'Date' && control.title !== '' && (\r\n \r\n )}\r\n {type !== 'Label'?\r\n \r\n {type === 'select' ? (<>\r\n \r\n {\r\n source?.sort((a, b) => a.display.localeCompare(b.display))?.map((item) => {\r\n return (\r\n \r\n );\r\n })\r\n }) : null\r\n }\r\n :null}\r\n {prop?.hasError && {control.required}}\r\n {rest.mode === 'design' ? <> : null}\r\n {tooltipActive? \r\n \r\n
\r\n {prop.info}\r\n
\r\n
: null}\r\n {DM?.ActionType==='template' && prop?{ if(prop){prop.info=target.value;\r\n }}\r\n } >:null}\r\n
\r\n );\r\n};\r\n\r\nCellControl.propTypes = {\r\n onChange: PropTypes.func.isRequired,\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\r\n labelClassName: PropTypes.string\r\n};\r\n\r\nexport default CellControl;\r\n","\r\nimport ConditionMaker from \"../../Engine/ConditionMaker\";\r\nimport BaseInstance, { NewInstance, NewProperty } from \"../../Engine/BaseInstance\";\r\nimport { Utility } from \"../../Engine/Common\";\r\nimport Parameters from \"../../Engine/Parameters\";\r\nimport { AdminController } from \"../../Engine/AdminController\";\r\nexport class Certificate extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C129');\r\n Certificate.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['P81', 'P8', 'P2', 'PC138', 'PC556', 'P177', 'PC92'];\r\n set RegisterDate(value) {\r\n this.SetValue(Certificate.PIDs[0], value);\r\n }\r\n get RegisterDate() {\r\n return this.GetValue(Certificate.PIDs[0]);\r\n } set Labratoary(value) {\r\n this.SetValue(Certificate.PIDs[1], value);\r\n }\r\n get Labratoary() {\r\n return this.GetValue(Certificate.PIDs[1]);\r\n } set Year(value) {\r\n this.SetValue(Certificate.PIDs[2], value);\r\n }\r\n get Year() {\r\n return this.GetValue(Certificate.PIDs[2]);\r\n } set PINCode(value) {\r\n this.SetValue(Certificate.PIDs[3], value);\r\n }\r\n get PINCode() {\r\n return this.GetValue(Certificate.PIDs[3]);\r\n } set Json(value) {\r\n this.SetValue(Certificate.PIDs[4], value);\r\n }\r\n get Json() {\r\n return this.GetValue(Certificate.PIDs[4]);\r\n }\r\n set CertID(value) {\r\n this.SetValue(Certificate.PIDs[5], value);\r\n }\r\n get CertID() {\r\n return this.GetValue(Certificate.PIDs[5]);\r\n }\r\n set debtor(value) {\r\n this.SetValue(Certificate.PIDs[6], value);\r\n }\r\n get debtor() {\r\n return this.GetValue(Certificate.PIDs[6]);\r\n }\r\n get JsonObject() {\r\n if (this.Json)\r\n return JSON.parse(this.Json);\r\n return null;\r\n }\r\n get labDis() {\r\n return this.GetProperty('P8')?.DIS;\r\n }\r\n async hide() {\r\n this.debtor = '1';\r\n return await this.SaveAsync();\r\n }\r\n async show() {\r\n this.debtor = '0';\r\n return await this.SaveAsync();\r\n }\r\n static async getCertBy(year, lab) {\r\n let condition = new ConditionMaker('O30E12C129')\r\n condition.AddCondition('P8', '=', `${lab}`, 'and');\r\n condition.AddCondition('P2', '=', `${year}`)\r\n var instances = await condition.GetResult();\r\n if (instances?.length > 0) {\r\n return new Certificate(instances[0]);\r\n }\r\n return new Certificate();\r\n }\r\n static async getCertById(id) {\r\n let result = await Utility.GetCertificate(id);\r\n if (result) {\r\n return new Certificate(result);\r\n }\r\n return null;\r\n }\r\n static async getFile(id) {\r\n await Utility.GetCertFile(id);\r\n }\r\n static async getAllCerts() {\r\n let org = await Parameters.GetValue('@orgid');\r\n let condition = new ConditionMaker('O30E12C129');\r\n condition.AddCondition('P8', '=', `${org}`);\r\n var instances = await condition.GetResult();\r\n if (instances?.length > 0) {\r\n return instances.map((item) => new Certificate(item));\r\n }\r\n return null;\r\n }\r\n static async Rebuild(yearId,labId) {\r\n let result = await AdminController.BuildCertificate(yearId,labId);\r\n return result;\r\n }\r\n \r\n}\r\n","\r\nimport BaseInstance, { NewInstance, NewProperty } from \"../Engine/BaseInstance\";\r\nexport class SendProccess extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C64');\r\n SendProccess.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['P8', 'P3', 'P1', 'P87', 'P88', 'P89', 'P9', 'P90'];\r\n set Labratoary(value) {\r\n this.SetValue(SendProccess.PIDs[0], value);\r\n }\r\n get Labratoary() {\r\n return this.GetValue(SendProccess.PIDs[0]);\r\n } set Period(value) {\r\n this.SetValue(SendProccess.PIDs[1], value);\r\n }\r\n get Period() {\r\n return this.GetValue(SendProccess.PIDs[1]);\r\n } set Section(value) {\r\n this.SetValue(SendProccess.PIDs[2], value);\r\n }\r\n get Section() {\r\n return this.GetValue(SendProccess.PIDs[2]);\r\n } set InvoiceState(value) {\r\n this.SetValue(SendProccess.PIDs[3], value);\r\n }\r\n get InvoiceState() {\r\n return this.GetValue(SendProccess.PIDs[3]);\r\n }\r\n set SendDate(value) {\r\n this.SetValue(SendProccess.PIDs[4], value);\r\n }\r\n get SendDate() {\r\n return this.GetValue(SendProccess.PIDs[4]);\r\n } set TrackID(value) {\r\n this.SetValue(SendProccess.PIDs[5], value);\r\n }\r\n get TrackID() {\r\n return this.GetValue(SendProccess.PIDs[5]);\r\n } set Sample(value) {\r\n this.SetValue(SendProccess.PIDs[6], value);\r\n }\r\n get Sample() {\r\n return this.GetValue(SendProccess.PIDs[6]);\r\n }\r\n set PakingDate(value) {\r\n this.SetValue(SendProccess.PIDs[7], value);\r\n }\r\n get PakingDate() {\r\n return this.GetValue(SendProccess.PIDs[7]);\r\n }\r\n}\r\n\r\nexport class ExternalLink extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E0C1');\r\n ExternalLink.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC95', 'P164','PC533'];\r\n set Title(value) {\r\n this.SetValue(ExternalLink.PIDs[0], value);\r\n }\r\n get Title() {\r\n return this.GetValue(ExternalLink.PIDs[0]);\r\n } set Address(value) {\r\n this.SetValue(ExternalLink.PIDs[1], value);\r\n }\r\n get Address() {\r\n return this.GetValue(ExternalLink.PIDs[1]);\r\n }\r\n set Type(value) {\r\n this.SetValue(ExternalLink.PIDs[2], value);\r\n }\r\n get Type() {\r\n return this.GetValue(ExternalLink.PIDs[2]);\r\n }\r\n}","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nconst Flex = ({ justify, align, inline, column, wrap, className, tag: Tag, children, ...rest }) => {\n return (\n \n {children}\n \n );\n};\n\nFlex.propTypes = {\n children: PropTypes.node.isRequired,\n justify: PropTypes.oneOf(['start', 'center', 'end', 'between', 'around']),\n inline: PropTypes.bool,\n align: PropTypes.oneOf(['start', 'center', 'end']),\n column: PropTypes.bool,\n wrap: PropTypes.bool,\n className: PropTypes.string,\n tag: PropTypes.oneOfType([PropTypes.string, PropTypes.func])\n};\n\nFlex.defaultProps = {\n tag: 'div',\n column: false,\n inline: false,\n wrap: false\n};\n\nexport default Flex;\n","import React, { useEffect, useState } from 'react';\r\nimport ReCAPTCHA from 'react-google-recaptcha';\r\nimport { toast } from 'react-toastify';\r\nimport { Button, CardBody, CardTitle, FormGroup, Input, Label, ListGroup, ListGroupItem, Spinner, Tooltip } from 'reactstrap';\r\nimport { AuthenticationController } from '../../Engine/Authentication';\r\nimport { Utility } from '../../Engine/Common';\r\nimport { ThemeDivider } from '../../EngineForms/ThemeControl';\r\n\r\nconst TokeTimer = ({ startTime, EndTime }) => {\r\n const [time, setTime] = useState(startTime);\r\n\r\n useEffect(() => {\r\n const interval = setInterval(() => {\r\n setTime(time => {\r\n if (time <= 0) {\r\n clearInterval(interval);\r\n EndTime();\r\n }\r\n return time - 1\r\n });\r\n }, 1000);\r\n return () => clearInterval(interval);\r\n },[])\r\n const totime = (sec_num) => {\r\n let hours = Math.floor(sec_num / 3600);\r\n let minutes = Math.floor((sec_num - (hours * 3600)) / 60);\r\n let seconds = sec_num - (hours * 3600) - (minutes * 60);\r\n\r\n if (hours < 10) { hours = \"0\" + hours; }\r\n if (minutes < 10) { minutes = \"0\" + minutes; }\r\n if (seconds < 10) { seconds = \"0\" + seconds; }\r\n return minutes + ':' + seconds;\r\n }\r\n return (\r\n \r\n {totime(time)}\r\n \r\n );\r\n};\r\n\r\nconst ResetPassword = ({ history }) => {\r\n const [validMobile, setValidMobile] = useState();\r\n const [password, setPassword] = useState('');\r\n const [rePassword, setRePassword] = useState();\r\n const [token, setToken] = useState();\r\n const [step, setStep] = useState(1);\r\n const [code, setCode] = useState();\r\n const [tooltipOpen, setTooltipOpen] = useState(false);\r\n const [tooltipOpenRepass, setTooltipOpenRepass] = useState(false);\r\n const [notrobot, setNotrobot] = useState(false);\r\n const ChangeMobile = ({ target }) => {\r\n if (!target.value.match(/^\\d+$/) && target.value)\r\n setTooltipOpen(true);\r\n else\r\n setTooltipOpen(false);\r\n if (target.value.match(/^(\\+\\d{1,3}[- ]?)?\\d{11}$/))\r\n setValidMobile(target.value);\r\n else\r\n setValidMobile('')\r\n }\r\n const ChangePassword = ({ target }) => {\r\n setPassword(target.value);\r\n setTooltipOpenRepass(false);\r\n }\r\n const GetCode = async () => {\r\n setToken(0);\r\n let result = await AuthenticationController.GetCode(validMobile);\r\n\r\n if (result.id) {\r\n setToken(result.id);\r\n setStep(2);\r\n }\r\n else if (result.message) {\r\n setToken();\r\n toast.error(result.message)\r\n }\r\n }\r\n const EndTime = () => {\r\n setToken();\r\n setStep(1);\r\n }\r\n const SendCode = async () => {\r\n let result = await AuthenticationController.CheckChangePasswordCode(code, token);\r\n if (result.id) {\r\n setToken(result.id);\r\n setStep(3);\r\n }\r\n else if (result.message) {\r\n setToken();\r\n setStep(1);\r\n toast.error(result.message)\r\n }\r\n }\r\n const ChangePass = async () => {\r\n let result = await AuthenticationController.ChangePassword(password, token);\r\n if (result.message) {\r\n setToken();\r\n setStep(1);\r\n toast.error(result.message)\r\n }\r\n else if (result.id) {\r\n history.push(\"/\");\r\n toast.success(\"کلمه عبور با موفقیت بروزرسانی شد\")\r\n }\r\n\r\n }\r\n const onChange = (value) => {\r\n if (value)\r\n setNotrobot(true)\r\n }\r\n return (<>\r\n تغییر کلمه عبور\r\n \r\n {step === 1 || step === 2 ? <>\r\n \r\n لطفا بادقت شماره موبایل را وارد نمایید\r\n \r\n \r\n \r\n \r\n \r\n {notrobot ? : null}\r\n : null}\r\n {step === 2 ? <>\r\n \r\n \r\n setCode(target.value)} disabled={!validMobile} type='text' />\r\n \r\n : null}\r\n {step === 3 ? <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n حروف انگلیسی (کوچک)\r\n \r\n حروف انگلیسی (بزرگ)\r\n اعداد\r\n نشانه ها(@ # $ % ^ &)\r\n 7 && password.length < 20) ? 'success' : 'danger'}>تعداد بین 8 تا 19\r\n \r\n\r\n \r\n توجه: تمامی موارد بالا باید سبز شود تا کلمه عبور صحیح باشد\r\n \r\n \r\n \r\n {\r\n if (!Utility.Pasword(password)) {\r\n setTooltipOpenRepass(true);\r\n }\r\n else{\r\n setTooltipOpenRepass(false);\r\n }\r\n setRePassword(target.value);\r\n }}\r\n id='rePassword'\r\n className={rePassword && rePassword !== password ? 'border-danger' : ''} type='password' />\r\n {rePassword && rePassword !== password && {\"کلمه عبور باهم برابر نیست\"}}\r\n \r\n \r\n : null}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default ResetPassword;","import React, { useContext, useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Card, CardBody, Col, Row } from 'reactstrap';\r\nimport Background from '../components/common/Background';\r\nimport Flex from '../components/common/Flex';\r\nimport Section from '../components/common/Section';\r\nimport AppContext from '../context/Context';\r\n\r\nimport bgShape from '../assets/img/illustrations/bg-shape.png';\r\nimport shape1 from '../assets/img/illustrations/shape-1.png';\r\nimport halfCircle from '../assets/img/illustrations/half-circle.png';\r\nimport LoginForm from '../Pishgam/LoginForm';\r\nimport Logo from '../Pishgam/Logo';\r\nimport { toast, ToastContainer } from 'react-toastify';\r\nimport { CloseButton, Fade } from '../components/common/Toast';\r\nimport { Link, Route, Switch, useLocation } from 'react-router-dom';\r\nimport ResetPassword from '../Pishgam/Lab/ResetPassword';\r\nimport ErrorLayout from './ErrorLayout';\r\nconst AuthCardLayout = ({ leftSideContent }) => {\r\n const { isDark } = useContext(AppContext);\r\n let location = useLocation();\r\n const [blink, setBlink] = useState(true);\r\n useEffect(() => {\r\n setTimeout(() => {\r\n setBlink(!blink);\r\n }, 1000);\r\n })\r\n return (\r\n <>\r\n
\r\n \r\n \r\n \"\"\r\n \"\"\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
{leftSideContent}
\r\n \r\n \r\n
{\r\n <>\r\n

EQAS

\r\n

\r\n ابزار ارتقای کیفیت آزمایشگاه های پزشکی\r\n


\r\n {location.pathname === \"/authentication/forget-password\" ?\r\n
    \r\n
  1. \r\n شماره موبایل خود را وارد نمایید\r\n
  2. \r\n
  3. \r\n من ربات نیستم را تیک بزنید(I am not robot)\r\n
  4. \r\n
  5. \r\n بر روی دکمه \"درخواست کد یکبار مصرف\" کلیک نمایید\r\n
  6. \r\n
  7. \r\n کد ارسال شده را قبل از تمام شدن مهلت وارد نموده و بر روی کلید ارسال کد کلیک نمایید\r\n
  8. \r\n
  9. \r\n با توجه به اینکه کلمه عبور\r\n باید\r\n بین 8 تا 19 کاراکتر باشد و\r\n دارای حروف انگلیسی (کوچک و بزرگ) حداقل یک عدد و حداقل یکی از نمادهای ( @ # $ % ^ & *)\r\n باشد پسورد را وارد نمایید\r\n
  10. \r\n
  11. \r\n در باکس بعدی همان کلمه عبور را مجدد وارد نمایید\r\n
  12. \r\n
  13. \r\n برروی دکمه تغییر کلمه عبور کلیک نمایید\r\n
  14. \r\n
: null}\r\n {location.pathname !== \"/authentication/forget-password\" ? <>\r\n
\r\n توجه توجه\r\n
\r\n
\r\n اگر نام کاربری و کلمه عبور دریافت نکرده اید ویا رمز عبور کار نمی کند\r\n \r\n اینجا را کلیک \r\n \r\n  کنید\r\n
\r\n
\r\n\r\n \r\n : null}\r\n
\r\n شماره پشتیبانی: \r\n 88058345-6
\r\n جهت مشاهده گزارش های قبلی با نام کاربری و کلمه عبور قبلی به لینک \r\n old.eqasonline.ir \r\n مراجعه فرمایید\r\n \r\n }
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n } position={toast.POSITION.BOTTOM_LEFT} />\r\n \r\n\r\n );\r\n};\r\n\r\nexport default AuthCardLayout;\r\n","import React, { useEffect, useState } from 'react';\r\nimport { useLocation } from 'react-router-dom';\r\nimport { Button, Card, CardBody, CardFooter, Col, Input, Label, Row, Spinner } from 'reactstrap';\r\nimport Divider from '../../components/common/Divider';\r\nimport FalconCardHeader from '../../components/common/FalconCardHeader';\r\nimport { AuthenticationController } from '../../Engine/Authentication';\r\nimport BaseInstance, { NewInstance } from '../../Engine/BaseInstance';\r\nimport { Utility } from '../../Engine/Common';\r\nimport ConditionMaker, { EngineCondition } from '../../Engine/ConditionMaker';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport ObjectClassController from '../../Engine/ObjectClassController';\r\nimport FormManager from '../../EngineForms/FormManager';\r\nimport { PropConstIdes } from '../ConstIdes';\r\nimport { TbSample } from '../TBSample';\r\n\r\nconst TBSampleAnswer = ({ resultdoc, listDiagnosis, listLevel }) => {\r\n const [v1, setV1] = useState(resultdoc.Result);\r\n const [v2, setV2] = useState(resultdoc.infectionLevel);\r\n const [v3, setV3] = useState(resultdoc.Ct1);\r\n const [v4, setV4] = useState(resultdoc.CtInternal1);\r\n useEffect(() => {\r\n setV1(resultdoc.Result);\r\n setV2(resultdoc.infectionLevel);\r\n setV3(resultdoc.Ct1);\r\n setV4(resultdoc.CtInternal1);\r\n }, [resultdoc])\r\n const resultChanged = ({ target }) => {\r\n resultdoc.Result = target.value;\r\n setV1(target.value);\r\n }\r\n const levelChanged = ({ target }) => {\r\n resultdoc.infectionLevel = target.value;\r\n setV2(target.value);\r\n }\r\n const Ct1Changed = ({ target }) => {\r\n resultdoc.Ct1 = target.value;\r\n setV3(target.value);\r\n }\r\n const CtInternal1Changed = ({ target }) => {\r\n resultdoc.CtInternal1 = target.value;\r\n setV4(target.value);\r\n\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n listDiagnosis?.map((item) => ())\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n listLevel?.map((item) => ())\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst TBAnswerSheet = ({ match }) => {\r\n const formID = match.path === '/forms/expectedtbanswer' ? 'O30E12C34F0V2' : 'O30E12C34F0V1';\r\n const location = useLocation();\r\n const [loading, setLoading] = useState(false);\r\n const [Header, setHeader] = useState(NewInstance('O30E12C34'));\r\n const [isAdmin, setIsAdmin] = useState(false);\r\n const [samples, setSamples] = useState([]);\r\n const [listDiagnosis, setListDiagnosis] = useState([]);\r\n const [listLevel, setListLevel] = useState([]);\r\n const [labratoary, setLabratory] = useState();\r\n const [resultSample, setResultSample] = useState([]);\r\n const [period, setPeriod] = useState();\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let value = await AuthenticationController.HasRole('R2');\r\n setIsAdmin(value);\r\n let con = new ConditionMaker('O30E23C3');\r\n if (value) {\r\n con.AddCondition('PC17', '=', \"1\");\r\n }\r\n else {\r\n con.AddCondition('Convert(DateTime,PC13)', '<', new Date(), 'AND').AddCondition('Convert(DateTime,PC14)', '>', new Date());\r\n }\r\n let result = await con.GetResult();\r\n if (result.length > 0) {\r\n let comsample = new EngineCondition();\r\n comsample.ID = 'O30E23C4';\r\n let samcon = new ConditionMaker('O30E23C4');\r\n samcon.AddCondition('P3', '=', result[0].ID, 'AND')\r\n .AddCondition('P1', '=', 'O30E23C2I15');\r\n comsample.sqlCondition = samcon;\r\n comsample.returnProperties = 'P156';\r\n let samresult = await comsample.GetResult();\r\n setPeriod(result[0].ID);\r\n setSamples(samresult);\r\n SetNew(result[0].ID, samresult);\r\n ///////////////////////////////\r\n if (location?.state?.values?.length > 0) {\r\n (new BaseInstance(Header)).SetValue('P8', location.state.values[0].value);\r\n (new BaseInstance(Header)).SetValue('P3', result[0].ID);\r\n setLabratory(location.state.values[0].value);\r\n await Loader(undefined, samresult);\r\n }\r\n if (value && match.params.id && Utility.IsInstanceID(match.params.id)) {\r\n await Loader(match.params.id, samresult);\r\n }\r\n }\r\n }\r\n if (formID === 'O30E12C34F0V1') {\r\n fetch();\r\n }\r\n }, [match.params.id])\r\n //answer\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let comsample = new EngineCondition();\r\n comsample.ID = 'O30E23C4';\r\n let samcon = new ConditionMaker('O30E23C4');\r\n samcon.AddCondition('P3', '=', period, 'AND')\r\n .AddCondition('P1', '=', 'O30E23C2I15');\r\n comsample.sqlCondition = samcon;\r\n comsample.returnProperties = 'P156';\r\n let samresult = await comsample.GetResult();\r\n setSamples(samresult);\r\n (new BaseInstance(Header)).SetValue('P3', period);\r\n\r\n SetNew(period, samresult, Header);\r\n setLoading(true);\r\n let rows = await TbSample.loaderExAnswer(samresult, period);\r\n setResultSample(rows);\r\n setLoading(false);\r\n }\r\n if (formID === 'O30E12C34F0V2' && period) {\r\n fetch();\r\n }\r\n }, [period])\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let result = await InstanceController.GetInstancesAsync('O30E12C29');\r\n let level = await InstanceController.GetInstancesAsync('O30E12C123');\r\n setListDiagnosis(result);\r\n setListLevel(level.sort((a, b) => a.ID.localeCompare(b.ID)));\r\n };\r\n fetch();\r\n }, [])\r\n useEffect(() => {\r\n const loaadDoc = async () => {\r\n if (labratoary) {\r\n await Loader();\r\n }\r\n }\r\n loaadDoc();\r\n }, [labratoary])\r\n const SetNew = (resultid, samresult, header) => {\r\n let _header = header ?? { ...Header };\r\n (new BaseInstance(_header)).SetValue('P3', resultid);\r\n setHeader(_header);\r\n let resultSMP = [];\r\n samresult.map(smp => {\r\n let temp = new TbSample();\r\n temp.Sample = new BaseInstance(smp);\r\n resultSMP = [...resultSMP, temp];\r\n });\r\n setResultSample(resultSMP);\r\n }\r\n const formLoaded = () => { };\r\n const PropertyChanged = async (value, pid, ins, obj) => {\r\n if (pid === 'P8' && !labtag) {\r\n labtag = value;\r\n setLabratory(value)\r\n }\r\n if (formID === 'O30E12C34F0V2' && pid === 'P3') {\r\n setPeriod(value.id);\r\n }\r\n }\r\n let labtag;\r\n const Validation = async () => {\r\n let oc = await ObjectClassController.LoadAsync(Utility.GetClassID(Header.ID));\r\n let result = true;\r\n let headerIns = new BaseInstance(Header);\r\n for (let i = 0; i < oc?.Extended?.Required?.length; i++) {\r\n const propid = oc.Extended?.Required[i];\r\n const prop = headerIns.GetProperty(propid);\r\n prop.hasError = (!prop.IPV || prop.IPV === '');\r\n if (prop.hasError) {\r\n result = false;\r\n }\r\n\r\n }\r\n setHeader({ ...headerIns.Instance })\r\n return result;\r\n }\r\n const SaveDoc = async () => {\r\n setLoading(true);\r\n let result = null;\r\n if (formID === 'O30E12C34F0V2') {\r\n let rows = [];\r\n resultSample.map(row => rows = [...rows, row.Instance]);\r\n result = await InstanceController.SaveRelatedInstancesAsync(NewInstance(period), 'P167', rows);\r\n if (Utility.IsInstanceID(result?.Header?.ID)) {\r\n result.RelatedInstances.map(row => {\r\n let tempins = new TbSample(row);\r\n resultSample.map(rs => {\r\n if (rs.Sample === tempins.Sample) {\r\n rs.Instance.ID = tempins.ID;\r\n }\r\n })\r\n });\r\n setResultSample(resultSample);\r\n }\r\n }\r\n else if (Header !== null && await Validation()) {\r\n console.log(Header)\r\n\r\n let rows = [];\r\n resultSample.map(row => rows = [...rows, row.Instance]);\r\n result = await InstanceController.SaveRelatedInstancesAsync(Header, 'P167', rows);\r\n\r\n if (Utility.IsInstanceID(result?.Header?.ID)) {\r\n Header.ID = result.Header.ID;\r\n result.RelatedInstances.map(row => {\r\n let tempins = new TbSample(row);\r\n resultSample.map(rs => {\r\n if (rs.Sample === tempins.Sample) {\r\n rs.Instance.ID = tempins.ID;\r\n }\r\n })\r\n });\r\n setHeader(Header);\r\n setResultSample(resultSample);\r\n }\r\n\r\n }\r\n setLoading(false);\r\n }\r\n const Loader = async (id, Loadedsamples) => {\r\n\r\n let cond = new ConditionMaker('O30E12C34');\r\n let tempheader = new BaseInstance(Header);\r\n let localSample = samples?.length > 0 ? samples : Loadedsamples;\r\n let iab = labratoary ? labratoary : tempheader.GetValue('P8', true);\r\n if (localSample?.length > 0) {\r\n if (typeof id === \"string\") {\r\n cond.AddCondition(\"ID\", '=', id);\r\n }\r\n else if (tempheader.GetValue('P3') !== null && iab.id) {\r\n cond.AddCondition('P3', '=', tempheader.GetValue('P3'), 'And');\r\n cond.AddCondition(PropConstIdes.Lab, '=', iab.id);\r\n }\r\n let doc = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(cond)\r\n , 'P167', ['O30E12C122']);\r\n if (doc?.Header?.ID) {\r\n let rows = [];\r\n doc.RelatedInstances.map(row => {\r\n let tempins = new TbSample(row);\r\n rows = [...rows, tempins];\r\n });\r\n let others = [];\r\n for (let samindex = 0; samindex < localSample.length; samindex++) {\r\n const sample1 = localSample[samindex];\r\n let flag = false;\r\n for (let index = 0; index < rows.length; index++) {\r\n const row = rows[index];\r\n if (sample1.ID === row.Sample) {\r\n row.Sample = new BaseInstance(sample1);\r\n flag = true;\r\n }\r\n }\r\n if (!flag) {\r\n others = [...others, sample1];\r\n }\r\n }\r\n others.map(smp => {\r\n let temp = new TbSample();\r\n temp.Sample = new BaseInstance(smp);\r\n rows = [...rows, temp];\r\n });\r\n setHeader(doc.Header);\r\n setResultSample(rows);\r\n }\r\n else {\r\n let head = new BaseInstance(NewInstance('O30E12C34'));\r\n head.SetValue('P8', iab);\r\n head.SetValue('P3', tempheader.GetValue('P3'));\r\n SetNew(tempheader.GetValue('P3'), localSample, head.Instance);\r\n }\r\n }\r\n }\r\n const DeleteDoc = async () => {\r\n let ins = [];\r\n resultSample.map(row => ins = [...ins, row.Instance]);\r\n let doc = await InstanceController.DeleteRelatedInstancesAsync(Header\r\n , 'P167', ins);\r\n if (doc) {\r\n let head = new BaseInstance(NewInstance('O30E12C34'));\r\n head.SetValue('P8', labratoary);\r\n head.SetValue('P3', period);\r\n SetNew(period, samples, head);\r\n }\r\n }\r\n return (\r\n \r\n \r\n {loading && Header ? : null}\r\n \r\n \r\n \r\n نمونه ها\r\n {\r\n resultSample?.map((resultsmp) => )\r\n }\r\n \r\n \r\n {loading ? null : <>\r\n {isAdmin ? : null}\r\n }\r\n \r\n \r\n );\r\n};\r\n\r\nexport default TBAnswerSheet;\r\n\r\n\r\n","import React, { Component } from 'react';\r\nimport Flex from '../components/common/Flex';\r\nimport { FormGroup, Label, Row } from 'reactstrap';\r\nimport { CustomInput } from 'reactstrap';\r\nimport uuid from 'uuid'\r\nimport CellControl from '../EngineForms/CellControl';\r\nimport ComboBox from '../EngineForms/ComboBox';\r\nconst options = [\r\n { id: 'Equal', display: 'برابر' },\r\n { id: 'Like', display: 'شامل' },\r\n { id: 'NotEqual', display: 'مخالف' },\r\n { id: 'BigerThan', display: 'بزرگتر' },\r\n { id: 'SmallThan', display: 'کوچیکتر' },\r\n { id: 'IN', display: 'جزو' },\r\n { id: 'BETWEEN', display: 'بین' },\r\n]\r\nexport default class BitCondition extends Component {\r\n state = { IsVariable: false }\r\n Data = { PID: '', PRA: '', IPV: '', NLC: 'None', SRC: '' }\r\n Logicoptions = [\r\n { id: 'None', display: 'باشد' },\r\n { id: 'and', display: 'و' },\r\n { id: 'or', display: 'یا' }\r\n ]\r\n componentDidUpdate() {\r\n this.Data = this.props.Bit;\r\n }\r\n PropertyChange(value, obj) {\r\n this.Data = {\r\n ...this.Data, PID: obj.ID, t1: obj.Name\r\n };\r\n this.props.PropertyChange(this.props.BlockIndex, this.props.Index, this.Data);\r\n }\r\n OpratorChanged(value, obj) {\r\n this.Data = {\r\n ...this.Data, PRA: obj.id, t2: obj.display\r\n };\r\n this.props.PropertyChange(this.props.BlockIndex, this.props.Index, this.Data);\r\n }\r\n ValueChanged(value,pid, ins, obj) {\r\n let text = '';\r\n if (value?.display !== undefined)\r\n text = value.display\r\n else\r\n text = value;\r\n\r\n this.Data = {\r\n ...this.Data, IPV: typeof value==='object'?value.id:value, t3: text\r\n };\r\n this.props.PropertyChange(this.props.BlockIndex, this.props.Index, this.Data);\r\n }\r\n LogicChanged(value,obj) {\r\n if (obj.id !== 'None') {\r\n this.Data = {\r\n ...this.Data, NLC: obj.id, t4: obj.display\r\n };\r\n this.props.PropertyChange(this.props.BlockIndex, this.props.Index, this.Data);\r\n this.props.HasLogic(this.props.BlockIndex, this.props.Index);\r\n }\r\n else {\r\n this.props.RemoveBit(this.props.BlockIndex, this.props.Index);\r\n }\r\n }\r\n VariabalChanged() {\r\n\r\n }\r\n render() {\r\n let id = uuid();\r\n let { ObjectClass } = this.props;\r\n if (ObjectClass.properties !== undefined) {\r\n let formcontrol = null;\r\n let prop = ObjectClass.properties.find(x => x.ID === this.props.Bit.PID)\r\n if (prop !== undefined) {\r\n let prop1 = { pid: this.props.Bit.PID, controlType: prop.StyleW2.Control,\r\n title: prop.Name,sourceId:prop.PSource,\r\n source:prop.source };\r\n formcontrol = (<>\r\n \r\n {\r\n this.props.Bit.PRA === 'BETWEEN' ? : null\r\n }\r\n );\r\n }\r\n if (this.state.IsVariable) {\r\n formcontrol = (\r\n \r\n \r\n {\r\n this.props.ActiveSwitch !== undefined ?\r\n this.setState({ ...this.state, IsVariable: !this.state.IsVariable })}\r\n /> :\r\n null\r\n }\r\n \r\n \r\n )\r\n }\r\n let bitlogic = \r\n

)

;\r\n if (this.props.HasLogic)\r\n bitlogic = (\r\n \r\n \r\n \r\n );\r\n return (\r\n \r\n \r\n \r\n \r\n x.ID === this.props.Bit.PID)?.ID}\r\n onChange={this.PropertyChange.bind(this)} />\r\n {/* */}\r\n \r\n \r\n \r\n x.id === this.props.Bit.PRA)?.id}\r\n onChange={this.OpratorChanged.bind(this)}>\r\n {/* */}\r\n \r\n \r\n {formcontrol}\r\n \r\n {bitlogic}\r\n \r\n \r\n );\r\n }\r\n return null;\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Modal, ModalBody, ModalFooter, Button, CardTitle, CardHeader, Spinner } from 'reactstrap';\r\nimport Flex from '../components/common/Flex';\r\nimport { Utility } from '../Engine/Common';\r\nimport ObjectClassController from '../Engine/ObjectClassController';\r\nimport BitCondition from './BitCondition';\r\nimport ComboBox from '../EngineForms/ComboBox';\r\nexport default class WhereCondition extends Component {\r\n state = {\r\n objectclass: null,\r\n Condition: {\r\n OCID: '',\r\n BCs: [{\r\n Bts: [{ PID: '', PRA: '', IPV: '', NLC: 'None', SRC: '' }],\r\n NLC: 'None'\r\n }]\r\n }\r\n }\r\n Logicoptions = [\r\n { id: 'and', display: 'و' },\r\n { id: 'or', display: 'یا' }\r\n ]\r\n Properties = [];\r\n async componentDidMount() {\r\n await this.GetProperties();\r\n }\r\n async componentDidUpdate() {\r\n await this.GetProperties();\r\n }\r\n async GetProperties() {\r\n if ((!Utility.IsClassID(this.state.Condition.OCID)) && (this.state.objectclass === null || this.state.objectclass.ID !== this.state.Condition.OCID)) {\r\n this.state.Condition.OCID = this.props.OCID;\r\n let oc = await ObjectClassController.LoadAsync(this.state.Condition.OCID);\r\n if (oc?.properties !== undefined) {\r\n oc.properties =await ObjectClassController.FillObjectClass(oc.properties);\r\n let state = { ...this.state, objectclass: oc };\r\n if (this.props.Condition !== undefined)\r\n state.Condition = this.props.Condition;\r\n this.setState(state)\r\n }\r\n }\r\n }\r\n toggle() {\r\n this.props.Close(this.props.Modal, null);\r\n }\r\n AddBlock() {\r\n this.setState({\r\n ...this.state,\r\n Condition: {\r\n ...this.state.Condition,\r\n BCs: [...this.state.Condition.BCs,\r\n {\r\n Bts: [{ PID: '', PRA: '', IPV: '', NLC: 'None', SRC: '' }],\r\n NLC: 'None'\r\n }]\r\n }\r\n })\r\n }\r\n AddBit(index, rowindex) {\r\n let bitBlock = this.state.Condition.BCs[index];\r\n if ((bitBlock.Bts.length - 1) === rowindex) {\r\n bitBlock.Bts = [...bitBlock.Bts, { PID: '', PRA: '', IPV: '', NLC: 'None', SRC: '' }];\r\n this.state.Condition.BCs.splice(index, 1, bitBlock)\r\n this.setState({\r\n ...this.state,\r\n Condition: {\r\n ...this.state.Condition,\r\n BCs: [...this.state.Condition.BCs]\r\n }\r\n })\r\n }\r\n }\r\n RemoveBit(index, rowindex) {\r\n let bitBlock = this.state.Condition.BCs[index];\r\n if (bitBlock.Bts.length > 1) {\r\n bitBlock.Bts.splice(rowindex, 1);\r\n this.state.Condition.BCs.splice(index, 1, bitBlock)\r\n this.setState({\r\n ...this.state,\r\n Condition: {\r\n ...this.state.Condition,\r\n BCs: [...this.state.Condition.BCs]\r\n }\r\n })\r\n }\r\n }\r\n PropertyChange(blockindex, index, data) {\r\n let bitBlock = this.state.Condition.BCs;\r\n bitBlock[blockindex].Bts.splice(index, 1, data);\r\n \r\n this.setState({\r\n ...this.state,\r\n Condition: {\r\n ...this.state.Condition,\r\n BCs: bitBlock\r\n }\r\n })\r\n }\r\n OpratorChanged(index, value) {\r\n let bitBlock = this.state.Condition.BCs;\r\n bitBlock[index].NLC = value.value;\r\n this.setState({\r\n ...this.state,\r\n Condition: {\r\n ...this.state.Condition,\r\n BCs: bitBlock\r\n }\r\n })\r\n }\r\n Save() {\r\n this.props.Close(this.props.Modal, this.state.Condition);\r\n }\r\n render() {\r\n\r\n return (this.state.objectclass !== null ?\r\n <>\r\n \r\n \r\n
\r\n \r\n {'ایجاد شرط'}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n {this.state.Condition.BCs.map((block, rowIndex) => {\r\n let logic = null;\r\n if (this.state.Condition.BCs.length > (rowIndex + 1))\r\n logic = (\r\n );\r\n return (\r\n
\r\n
\r\n \r\n
\r\n {block.Bts.map((bit, index) => {\r\n bit.display=bit?.t3;\r\n return (\r\n )\r\n })}\r\n
\r\n
\r\n {\r\n rowIndex > 0 ?\r\n : null\r\n }\r\n
\r\n {logic}\r\n
\r\n )\r\n })}\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n : \r\n );\r\n }\r\n}\r\n","export const ConstIdes = {\r\n Year: 'O30E23C1',\r\n Section:'O30E23C2',\r\n Period: 'O30E23C3',\r\n Sample: 'O30E23C4',\r\n DocHeader: 'O30E12C1',\r\n Lab: 'O30E23C6',\r\n BioTest: 'O30E12C2',\r\n BioResult: 'O30E3C2',\r\n ExpectedResultDH: 'O30E12C10'\r\n};\r\nexport const PropConstIdes = {\r\n Year: 'P2',\r\n Period: 'P3',\r\n Lab: 'P8',\r\n Sample: 'P9',\r\n BioTest: 'P11',\r\n};\r\nexport const StaticCondition = {\r\n periodOfYear: '{\"OCID\":\"' + ConstIdes.Period + '\",\"BCs\":[{\"Bts\":[{\"PID\":\"' + PropConstIdes.Year + '\",\"PRA\":\"Equal\",\"IPV\":\"#' + PropConstIdes.Year + '\",\"NLC\":\"None\",\"SRC\":\"\"}],\"NLC\":\"None\"}]}',\r\n SampleOfPeriod: '{\"OCID\":\"' + ConstIdes.Sample + '\",\"BCs\":[{\"Bts\":[{\"PID\":\"' + PropConstIdes.Period + '\",\"PRA\":\"Equal\",\"IPV\":\"#' + PropConstIdes.Period + '\",\"NLC\":\"None\",\"SRC\":\"\"}],\"NLC\":\"None\"}]}',\r\n HeaderWithPeriod: `[{\"ID\":\"${ConstIdes.Sample}\",\"Condition\":\"${PropConstIdes.Period}='#${PropConstIdes.Period}'\",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":true,\"WType\":0,\"QT\":0},{\"ID\":\"${ConstIdes.DocHeader}\",\"Condition\":\"P8<>''\",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":false,\"join\":\" INNER JOIN \",\"onjoin\":\" #.P9=@.ID \",\"WType\":0,\"QT\":0}]`,\r\n Report: `{\"analytics\":{\"MainProp\":\"P15\",\"vcfg\":\"#vcfg\",\"CVV\":\"#CVV\",\"SR\":#SR,\"fields\":\"P12,P13,P14\",\"conditions\":[{\"con\":\"P12 = '#P12'\"},{\"con\":\"P12 = '#P12' AND P13 = '#P13'\"},{\"con\":\"P12 = '#P12' AND P13 = '#P13' AND P14='#P14'\"}],\"Qtype\":\"#Qtype\"},\"conditions\":[{\"ID\":\"${ConstIdes.DocHeader}\",\"Condition\":\"P9 ='#P9' \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":true,\"WType\":0,\"QT\":0,\"IsInstance\":false},{\"ID\":\"#ResultClassID\",\"Condition\":\" P11='#P11' \",\"Prop\":\"ALL\",\"RProp\":\"P12,P13,P14,P15\",\"ST\":false,\"join\":\"INNER JOIN\",\"onjoin\":\"#.P17=@.ID\",\"WType\":0,\"QT\":0,\"IsInstance\":false}]}`,\r\n ResultLab: `{\"cons\":[{\"ID\":\"${ConstIdes.DocHeader}\",\"Condition\":\"${PropConstIdes.Sample} ='#${PropConstIdes.Sample}' AND ${PropConstIdes.Lab}='#${PropConstIdes.Lab}' \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":true,\"WType\":0,\"QT\":0,\"IsInstance\":false},{\"ID\":\"#ResultClassID\",\"Condition\":\" ${PropConstIdes.BioTest}='#${PropConstIdes.BioTest}' \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":false,\"join\":\"INNER JOIN\",\"onjoin\":\"#.P17=@.ID\",\"WType\":0,\"QT\":0,\"IsInstance\":false}]}`,\r\n ResultOtherLab: `{\"cons\":[{\"ID\":\"${ConstIdes.DocHeader}\",\"Condition\":\"${PropConstIdes.Sample} ='#${PropConstIdes.Sample}' AND ${PropConstIdes.Lab}='#${PropConstIdes.Lab}' \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":true,\"WType\":0,\"QT\":0,\"IsInstance\":false},{\"ID\":\"#ResultClassID\",\"Condition\":\" \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":false,\"join\":\"INNER JOIN\",\"onjoin\":\"#.P17=@.ID\",\"WType\":0,\"QT\":0,\"IsInstance\":false}]}`,\r\n ExpectedResult: `{\"cons\":[{\"ID\":\"${ConstIdes.ExpectedResultDH}\",\"Condition\":\"${PropConstIdes.Sample} ='#${PropConstIdes.Sample}' \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":true,\"WType\":0,\"QT\":0,\"IsInstance\":false},{\"ID\":\"#ResultClassID\",\"Condition\":\" \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":false,\"join\":\"INNER JOIN\",\"onjoin\":\"#.P17=@.ID\",\"WType\":0,\"QT\":0,\"IsInstance\":false}]}`,\r\n ReportGroup: `{\"analytics\":{\"MainProp\":\"P15\",\"vcfg\":\"#vcfg\",\"TestID\":\"#TestID\",\"CVV\":\"#CVV\",\"SR\":#SR,\"fields\":\"P12,P13,P14\",\"conditions\":[{\"con\":\"P12 = '#P12'\"},{\"con\":\"P12 = '#P12' AND P13 = '#P13'\"},{\"con\":\"P12 = '#P12' AND P13 = '#P13' AND P14='#P14'\"}],\"Qtype\":\"#Qtype\"},\"conditions\":[{\"ID\":\"${ConstIdes.DocHeader}\",\"Condition\":\"P9 ='#P9' and P8 is not null \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":true,\"WType\":0,\"QT\":0,\"IsInstance\":false},{\"ID\":\"#ResultClassID\",\"Condition\":\" P11='#P11' \",\"Prop\":\"ALL\",\"RProp\":\"P12,P13,P14,P15\",\"ST\":false,\"join\":\"INNER JOIN\",\"onjoin\":\"#.P17=@.ID\",\"WType\":0,\"QT\":0,\"IsInstance\":false}]}`,\r\n ReportGroupTorch: `{\"analytics\":{\"MainProp\":\"\",\"TestID\":\"\",\"vcfg\":\"0\",\"CVV\":\"\",\"SR\":#SR,\"fields\":\"#Props\",\"conditions\":[{\"con\":\"#PIDTest is not null \"}],\"Qtype\":\"#Qtype\"},\r\n\"conditions\":[{\"ID\":\"${ConstIdes.DocHeader}\",\"Condition\":\"P9 ='#P9' \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":true,\"WType\":0,\"QT\":0,\"IsInstance\":false},\r\n{\"ID\":\"#resultId\",\"Condition\":\" #PIDResult is not null \",\"Prop\":\"ALL\",\"RProp\":\"#Props\",\"ST\":false,\"join\":\"INNER JOIN\",\"onjoin\":\"#.P17=@.ID\",\"WType\":0,\"QT\":0,\"IsInstance\":false}]}`,\r\n EmptyCondition: '{\"OCID\":\"#OCID\",\"BCs\":[{\"Bts\":[{\"PID\":\"' + PropConstIdes.Year + '\",\"PRA\":\"Equal\",\"IPV\":\"#' + PropConstIdes.Year + '\",\"NLC\":\"None\",\"SRC\":\"\"}],\"NLC\":\"None\"}]}',\r\n ParaBKCondition: `{\"analytics\":null,\"conditions\":[{\"ID\":\"#resultId\",\"OB\":\"order by #PIDResult\",\"GB\":\" Group by P9,#PIDResult\",\"GR\":\"#PIDResult as id,Count(*) as QTY\",\"Condition\":\"P9='#P9' and P8 is not null \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":true,\"WType\":0,\"QT\":0,\"IsInstance\":false}]}`,\r\n ResultParaBKLab: `{\"cons\":[{\"ID\":\"#resultId\",\"Condition\":\"${PropConstIdes.Sample} ='#${PropConstIdes.Sample}' AND ${PropConstIdes.Lab}='#${PropConstIdes.Lab}' \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":true,\"WType\":0,\"QT\":0,\"IsInstance\":false}]}`,\r\n expResultParaBKLab: `{\"cons\":[{\"ID\":\"#AnswerId\",\"Condition\":\"${PropConstIdes.Sample} ='#${PropConstIdes.Sample}'\",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":true,\"WType\":0,\"QT\":0,\"IsInstance\":false}]}`,\r\n ReportBC: `{\"analytics\":{\"MainProp\":\"P15\",\"vcfg\":\"#vcfg\",\"CVV\":\"#CVV\",\"SR\":#SR,\"fields\":\"P34\",\"conditions\":[{\"con\":\"P34 = '#P34'\"}],\"Qtype\":\"#Qtype\"},\"conditions\":[{\"ID\":\"${ConstIdes.DocHeader}\",\"Condition\":\"P9 ='#P9' \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":true,\"WType\":0,\"QT\":0,\"IsInstance\":false},{\"ID\":\"#ResultClassID\",\"Condition\":\" P33='#P33' \",\"Prop\":\"ALL\",\"RProp\":\"P34,P15\",\"ST\":false,\"join\":\"INNER JOIN\",\"onjoin\":\"#.P17=@.ID\",\"WType\":0,\"QT\":0,\"IsInstance\":false}]}`,\r\n ReportGroupBC: `{\"analytics\":{\"MainProp\":\"P15\",\"vcfg\":\"#vcfg\",\"TestID\":\"#TestID\",\"CVV\":\"#CVV\",\"SR\":#SR,\"fields\":\"P34\",\"conditions\":[{\"con\":\"P34 = '#P34'\"}],\"Qtype\":\"#Qtype\"},\"conditions\":[{\"ID\":\"${ConstIdes.DocHeader}\",\"Condition\":\"P9 ='#P9' and P8 is not null \",\"Prop\":\"ALL\",\"RProp\":\"ALL\",\"ST\":true,\"WType\":0,\"QT\":0,\"IsInstance\":false},{\"ID\":\"#ResultClassID\",\"Condition\":\" P33='#P33' \",\"Prop\":\"ALL\",\"RProp\":\"P34,P15\",\"ST\":false,\"join\":\"INNER JOIN\",\"onjoin\":\"#.P17=@.ID\",\"WType\":0,\"QT\":0,\"IsInstance\":false}]}`,\r\n getReportGroup(section) {\r\n let result = Domain.find(x => x.sec === section).ReportGroup;\r\n return result.replaceAll('#ResultClassID', Domain.find(x => x.sec === section).resultId);\r\n },\r\n getReport(section) {\r\n let result = Domain.find(x => x.sec === section).Report;\r\n return result.replaceAll('#ResultClassID', Domain.find(x => x.sec === section).resultId);\r\n },\r\n getResultOfLab(section) {\r\n return this.ResultLab.replaceAll('#ResultClassID', Domain.find(x => x.sec === section).resultId);\r\n }\r\n};\r\nexport const Domain = [\r\n {\r\n display: 'بیوشیمی',\r\n id: 'O30E23C2I1',\r\n sec: 'O30E23C2I1',\r\n resultId: 'O30E3C2',\r\n testId: 'P11',\r\n fields: \"P12,P13,P14\",\r\n Report: StaticCondition.Report,\r\n ReportGroup: StaticCondition.ReportGroup\r\n },\r\n {\r\n display: 'پروتئین ادرار',\r\n id: 'O30E23C2I3',\r\n sec: 'O30E23C2I3',\r\n resultId: 'O30E3C5',\r\n testId: 'P11',\r\n fields: \"P12,P13,P14\",\r\n Report: StaticCondition.Report,\r\n ReportGroup: StaticCondition.ReportGroup\r\n },\r\n {\r\n display: 'A1C',\r\n id: 'O30E23C2I4',\r\n sec: 'O30E23C2I4',\r\n resultId: 'O30E3C3',\r\n testId: 'P11',\r\n fields: \"P12,P13,P14\",\r\n Report: StaticCondition.Report,\r\n ReportGroup: StaticCondition.ReportGroup\r\n },\r\n {\r\n display: 'مارکرهای قلبی',\r\n id: 'O30E23C2I5',\r\n sec: 'O30E23C2I5',\r\n resultId: 'O30E3C4',\r\n testId: 'P11',\r\n fields: \"P12,P13,P14\",\r\n Report: StaticCondition.Report,\r\n ReportGroup: StaticCondition.ReportGroup\r\n },\r\n {\r\n display: 'خون کنترل',\r\n id: 'O30E23C2I10',\r\n sec: 'O30E23C2I10',\r\n resultId: 'O30E12C25',\r\n testId:'P33',\r\n fields: \"P34\",\r\n Report: StaticCondition.ReportBC,\r\n ReportGroup: StaticCondition.ReportGroupBC\r\n },\r\n {\r\n display:'Torch',\r\n sec: 'O30E23C2I6',\r\n resultId: 'E12C15',\r\n PIDTest: 'PC495',\r\n PIDResult: 'PC496',\r\n AnswerPanelID: 'PanelF3V18',\r\n Props: 'PC495,PC496,PC498',\r\n chartSetting: {\r\n depLevel: 2,\r\n columns: [\r\n { title: 'Test>result', PName: 'name', Size: '3' },\r\n { title: 'CL', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C13I1', pvalue: 'QTY' } },\r\n { title: 'ECL', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C13I2', pvalue: 'QTY' } },\r\n { title: 'ELFA', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C13I3', pvalue: 'QTY' } },\r\n { title: 'ELISA', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C13I4', pvalue: 'QTY' } },\r\n { title: 'Others', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C13I5', pvalue: 'QTY' } },\r\n ]\r\n }\r\n },\r\n {\r\n display:'Wright',\r\n sec: 'O30E23C2I7',\r\n resultId: 'E12C7',\r\n PIDTest: 'PC481',\r\n PIDResult: 'PC482',\r\n AnswerPanelID: 'PanelF3V20',\r\n Props: 'PC481,PC482',\r\n chartSetting: {\r\n depLevel: 1,\r\n columns: [\r\n { title: 'Test>result', PName: 'name', Size: '1' },\r\n { title: '1/10', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C4I3', pvalue: 'QTY' } },\r\n { title: '1/20', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C4I4', pvalue: 'QTY' } },\r\n { title: '1/40', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C4I5', pvalue: 'QTY' } },\r\n { title: '1/80', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C4I6', pvalue: 'QTY' } },\r\n { title: '1/160', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C4I7', pvalue: 'QTY' } },\r\n { title: '1/320', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C4I8', pvalue: 'QTY' } },\r\n { title: '1/640', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C4I9', pvalue: 'QTY' } },\r\n { title: '1/1280', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C4I10', pvalue: 'QTY' } },\r\n { title: '1/2560', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'E12C4I11', pvalue: 'QTY' } },\r\n ]\r\n }\r\n },\r\n {\r\n display: 'Parasite',\r\n sec: 'O30E23C2I9',\r\n resultId: 'O30E12C12',\r\n PIDResult: 'PC440',\r\n AnswerId: 'O30E12C13',\r\n PIDTest:'P9'\r\n },\r\n {\r\n display: 'BK',\r\n sec: 'O30E23C2I8',\r\n resultId: 'O30E12C11',\r\n PIDResult: 'PC490',\r\n AnswerId: 'O30E12C14',\r\n PIDTest: 'P9'\r\n },\r\n {\r\n display: 'سرولوژی',\r\n sec: 'O30E23C2I2',\r\n resultId: 'O30E12C20',\r\n PIDTest: 'P25',\r\n PIDResult: 'P26',\r\n AnswerPanelID: 'PanelF3V35',\r\n Props: 'P25,P26,P29',\r\n chartSetting: {\r\n depLevel: 2,\r\n columns: [\r\n { title: 'Test>result', PName: 'name', Size: '3' },\r\n { title: 'CL', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'O30E12C19I1', pvalue: 'QTY' } },\r\n { title: 'ECL', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'O30E12C19I2', pvalue: 'QTY' } },\r\n { title: 'ELFA', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'O30E12C19I3', pvalue: 'QTY' } },\r\n { title: 'ELISA', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'O30E12C19I4', pvalue: 'QTY' } },\r\n { title: 'Others', PName: 'children', Size: 'auto', where: { PName: 'id', value: 'O30E12C19I5', pvalue: 'QTY' } },\r\n ]\r\n }\r\n }\r\n];\r\nexport const SectionGroups=[\r\n {id:1,color:'#FFCDD2',display:'بیوشیمی',comment:' بیوشیمی عمومی و هورمون - پروتئین ادرار - مارکرهای قلبی - مارکرهای تشخیصی سندروم داون - A1C'},\r\n {id:2,color:'#F8BBD0',display:'هماتولوژی',comment:' خون کنترل - پلاسما کنترل لئوفلیزه - گسترش خون - بانک خون (ایموتوهماتولوژی)'},\r\n {id:3,color:'#E1BEE7',display:'تشخیص مولکولی',comment: 'تشخیص مولکولی HBV - تشخیص مولکولی TB'},\r\n {id:4,color:'#BBDEFB',display:'سرولوژی',comment:' TORCH - رایت - سرولوژی(آنتی بادی وایرال)'},\r\n {id:5,color:'#B2DFDB',display:'میکروب شناسی',comment:' میکروب شناسی - BK - انگل شناسی - قارچ شناسی'},\r\n];\r\nexport const PeriodControl = {\r\n col: \"3\",\r\n pid: PropConstIdes.Period,\r\n controlType: \"SearchControl\",\r\n title: \"دوره\",\r\n source: ConstIdes.Period,\r\n}\r\nexport const LabratoryControl = {\r\n col: \"3\",\r\n pid: PropConstIdes.Lab,\r\n controlType: \"SearchControl\",\r\n title: \"آزمایشگاه\",\r\n source: ConstIdes.Lab\r\n};","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nconst Background = ({ image, overlay, position, video, className, style }) => {\n const bgStyle = { backgroundImage: `url(${image})`, ...style };\n if (typeof position === 'string') {\n bgStyle.backgroundPosition = position;\n } else if (typeof position === 'object') {\n position.x && (bgStyle.backgroundPositionX = position.x);\n position.y && (bgStyle.backgroundPositionY = position.y);\n }\n\n return (\n \n {video && (\n \n )}\n
\n );\n};\n\nBackground.propTypes = {\n image: PropTypes.string.isRequired,\n overlay: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\n position: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n x: PropTypes.string,\n y: PropTypes.string\n })\n ]),\n video: PropTypes.array,\n className: PropTypes.string,\n style: PropTypes.object\n};\n\nexport default Background;\n","import React, { useState } from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport { Card, CardBody, CardHeader } from 'reactstrap';\r\nimport Flex from '../../components/common/Flex';\r\nimport { ArrowLeft, ArrowRight } from \"lucide-react\";\r\n\r\n\r\nconst SectionGroup = ({ section,icon }) => {\r\n const [mouseIn,setMouseIn]=useState(false);\r\n return (\r\n \r\n setMouseIn(true)}\r\n onMouseLeave={() => setMouseIn(false)}\r\n style={{boxShadow: mouseIn ? '0px 4px 15px rgba(0, 0, 0, 0.8)' : '0px 2px 10px rgba(0, 0, 0, 0.1)', minWidth: '16rem', minHeight: '15rem' }} >\r\n \r\n
\r\n {icon}\r\n {section.display}\r\n
\r\n
\r\n \r\n

{section.comment}

\r\n
\r\n \r\n ثبت نتایج\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default SectionGroup;","import React from 'react';\r\nimport { Card, CardBody, CardHeader, CardTitle, CardFooter, Button } from \"reactstrap\";\r\nimport { SurveyInstance } from '../survey/SurveyInstance';\r\n\r\nexport default function SurveyCard({ onSkip }) {\r\n const handleCancelSurveyClick =async () => {\r\n if (onSkip) {\r\n var attemp = localStorage.getItem('@surveyAttemp');\r\n if (attemp < 3) {\r\n localStorage.setItem('@surveyAttemp',\r\n attemp ? parseInt(attemp) + 1 : 1\r\n );\r\n }\r\n else{\r\n alert(\r\n \"📢 یادآوری نظرسنجی\\n\\n\" +\r\n \"با توجه به اینکه شما چندین بار ثبت نظرسنجی را به تعویق انداخته‌اید،\" +\r\n \" به نظر می‌رسد که از خدمات ما رضایت کامل دارید. ✅\\n\\n\" +\r\n \"💡 بنابراین، نظرسنجی شما به‌صورت **اتوماتیک ثبت گردید**.\\n\\n\" +\r\n \"در صورت داشتن هرگونه پیشنهاد یا انتقاد، لطفاً با ما در میان بگذارید. 🙌\"\r\n );\r\n await SurveyInstance.fillAuto();\r\n onSkip();\r\n }\r\n }\r\n };\r\n const handleSurveyClick = () => {\r\n window.location.href = \"/survey\";\r\n };\r\n return (\r\n \r\n \r\n 📢 نظرسنجی آزمایشگاه\r\n \r\n \r\n

\r\n احتراماً، در راستای ارتقای کیفیت خدمات آزمایشگاهی، خواهشمندیم در این نظرسنجی کوتاه شرکت فرمایید. نظرات شما در بهبود روندها و ارائه خدمات بهتر به شما بسیار مؤثر خواهد بود. 📝\r\n

\r\n

⏳ زمان مورد نیاز: کمتر از 2 دقیقه

\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n );\r\n}","import React, { useEffect, useState } from 'react';\r\nimport { Card, Col, Row, CardBody } from 'reactstrap';\r\nimport { useContext } from 'react';\r\nimport AppContext from '../context/Context';\r\nimport Logo from '../Pishgam/Logo';\r\nimport linechart from '../assets/img/pishgam/line-chart.png'\r\nimport moment from 'jalali-moment'\r\nimport { Utility } from '../Engine/Common';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { faCalendar } from '@fortawesome/free-solid-svg-icons';\r\nimport { SectionGroups } from '../Pishgam/ConstIdes';\r\nimport SectionGroup from '../Pishgam/Lab/SectionGroup';\r\nimport Flex from '../components/common/Flex';\r\nimport { Droplet, TestTube, Bug, Dna, DnaOff } from \"lucide-react\";\r\nimport SurveyCard from '../Pishgam/Lab/SurveyCard';\r\nimport { SurveyInstance } from '../Pishgam/survey/SurveyInstance';\r\nconst Welcome = () => {\r\n const [time, setTime] = useState();\r\n useEffect(() => {\r\n const LoadActiveParts = async () => {\r\n setTime((await Utility.GetNow()).date);\r\n }\r\n LoadActiveParts();\r\n }, [])\r\n return \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

خوش آمدید

\r\n سامانه آنلاین برنامه ارزیابی خارجی کیفیت\r\n \r\n \r\n \r\n\r\n \r\n
\r\n \r\n \r\n {time ? <>\r\n راهنمای مشاهده گزارشات\r\n \r\n تاریخ امروز:\r\n {moment(time, 'MM/DD/YYYY')\r\n .locale('fa')\r\n .format('YYYY/M/D')}\r\n : null}\r\n \r\n
\r\n
\r\n
;\r\n}\r\n\r\n\r\nexport const LabRegister = () => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n

جهت ثبت نام دوره های سال 1404 بر روی این لینک کلیک نمایید

\r\n \r\n \r\n \r\n\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nconst LabDashboard = () => {\r\n const [full, setFull] = useState(false);\r\n const { setCurrentTitle } = useContext(AppContext);\r\n const [hasSurveyResult, setSurveyResult] = useState();\r\n const pageName = 'صفحه اصلی';\r\n useEffect(() => {\r\n const CheckSurvey = async () => {\r\n var result = await SurveyInstance.HasData();\r\n if (result)\r\n localStorage.setItem('@hasSurvey', SurveyInstance.year);\r\n }\r\n // if (localStorage.getItem('@hasSurvey') !== SurveyInstance.year.toString()) {\r\n // CheckSurvey();\r\n // }\r\n // else {\r\n setSurveyResult(true);\r\n // }\r\n }, [])\r\n useEffect(() => {\r\n const LoadActiveParts = async () => {\r\n setCurrentTitle(pageName);\r\n setFull(true)\r\n }\r\n if (!full)\r\n LoadActiveParts();\r\n\r\n })\r\n return (hasSurveyResult ? <>\r\n \r\n \r\n \r\n \r\n } />\r\n \r\n \r\n } />\r\n \r\n \r\n \r\n \r\n } />\r\n \r\n \r\n } />\r\n \r\n \r\n } />\r\n \r\n \r\n\r\n : setSurveyResult(true)} />\r\n );\r\n};\r\n\r\nexport default LabDashboard;","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useState } from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { useEffect } from 'react';\r\nimport { Button, Dropdown, DropdownItem, DropdownMenu, DropdownToggle, Input, InputGroup } from 'reactstrap';\r\nimport { SearchObject, Utility } from '../Engine/Common';\r\n\r\nconst SearchControl = ({ operator, onChange, type, prop, notprop,placeholder,id}) => {\r\n const [FirstItem, setFirstItem] = useState();\r\n\r\n useEffect(() => {\r\n if (!notprop) {\r\n if (!prop) {\r\n setFlag('');\r\n setValue('');\r\n }\r\n else if (prop?.IPV) {\r\n setFlag(prop?.IPV);\r\n setValue((prop?.DIS??prop?.display)??prop?.OBJ?.display??'');\r\n }\r\n }\r\n //setInputFocus();\r\n\r\n }, [prop, FirstItem,notprop])\r\n const [openmenu, setopen] = useState(false);\r\n const [flag, setFlag] = useState(prop?.IPV);\r\n const [value, setValue] = useState('');\r\n const [list, setList] = useState([]);\r\n // const setInputFocus = () => {\r\n // if (FirstItem)\r\n // ReactDOM.findDOMNode(FirstItem).focus();\r\n // }\r\n const SearchCommand = async () => {\r\n let result = [];\r\n let oprator = operator;\r\n if (operator === undefined)\r\n oprator = \"like N'%{#}%'\";\r\n if (Utility.IsInstanceID(value))\r\n oprator = \"=\";\r\n result = await SearchObject(value, type, oprator);\r\n if (result?.length > 1) {\r\n setList(result);\r\n setopen(true);\r\n\r\n\r\n }\r\n else if (result?.length === 1) {\r\n setValue(result[0]?.display)\r\n setFlag(prop?.IPV);\r\n onChange(result[0])\r\n }\r\n else {\r\n setopen(false);\r\n setList([]);\r\n }\r\n }\r\n const ItemSelected = ({ target }) => {\r\n setopen(false);\r\n let obj = list.find(x => x.id === target.value);\r\n setValue(obj?.display)\r\n setFlag(prop?.IPV);\r\n setFirstItem(null)\r\n onChange(obj)\r\n }\r\n const handleFocus = (e) => {\r\n e.target.select();\r\n };\r\n\r\n const KeyUp = async (event) => {\r\n event.preventDefault()\r\n\r\n if (event.key === 'Enter') {\r\n await SearchCommand();\r\n }\r\n }\r\n const KeyDown = async (event) => {\r\n if (event.key === 'Enter') {\r\n event.preventDefault()\r\n }\r\n\r\n }\r\n return setopen(!openmenu)} >\r\n \r\n \r\n { setList([]); setValue(event.target.value) }}\r\n onFocus={handleFocus} key={prop?.IPV ?? 'notloaded'}\r\n onKeyUp={KeyUp} onKeyDown={KeyDown} />\r\n \r\n \r\n\r\n \r\n {list?.length > 0 ?\r\n \r\n {\r\n list.map((item, index) => {\r\n return {\r\n if (index === 0)\r\n setFirstItem(input)\r\n }} onClick={ItemSelected}\r\n className=\"p-2\" value={item.id} key={item.id}>{item.display}\r\n })\r\n }\r\n : null}\r\n \r\n};\r\nexport default SearchControl;","import React, { Component } from 'react';\r\nimport { Modal, ModalHeader, ModalBody, ModalFooter, Button } from 'reactstrap';\r\nimport JoiSearchBox from '../components/joi/JoiSearchBox';\r\nimport ObjectClassController from '../Engine/ObjectClassController';\r\nimport Flex from '../components/common/Flex';\r\n\r\nexport default class FormSelector extends Component {\r\n state = {\r\n propIsopen: false,\r\n source: '',\r\n Forms: null,\r\n Panels: null\r\n }\r\n toggle() {\r\n this.props.Close(this.props.Modal.source, null);\r\n }\r\n async selectionChanged(selectedvalue) {\r\n await ObjectClassController.LoadAsync(selectedvalue, this);\r\n }\r\n Update(datamodel = { Data: '' }) {\r\n let source = datamodel;\r\n if (source !== null) {\r\n this.setState({\r\n ...this.state,\r\n Forms: source.Forms\r\n })\r\n }\r\n }\r\n async componentDidMount() {\r\n if (this.state.Panels === null) {\r\n let forms = await ObjectClassController.GetPanelListAsync()\r\n this.setState({\r\n ...this.state,\r\n Panels: forms\r\n })\r\n }\r\n }\r\n SelectForm(event) {\r\n let form = this.state.Forms.find((x) => { return x.ID === event.target.value });\r\n this.props.Close(this.props.Modal.source, form );\r\n }\r\n SelectPanel(event) {\r\n let form = this.state.Panels.find((x) => { return x.ID === event.target.value });\r\n this.props.Close(this.props.Modal.source, form);\r\n }\r\n closeBtn = ;\r\n render() {\r\n \r\n return (\r\n \r\n انتخاب فرم\r\n \r\n \r\n
\r\n \r\n {this.state.Forms !== null?(\r\n this.state.Forms.map((form, index) => (\r\n \r\n ))\r\n ) :
هیچ فرمی یافت نشد
}\r\n
\r\n
\r\n \r\n {this.state.Panels !== null ? (\r\n this.state.Panels.map((form, index) => (\r\n \r\n ))\r\n ) :
هیچ پنلی یافت نشد
}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n","import React, { Component } from \"react\";\r\nimport { toast } from \"react-toastify\";\r\nimport { Button, Card, CardBody, CardFooter, Col, Row, Spinner } from \"reactstrap\";\r\nimport Divider from \"../../../components/common/Divider\";\r\nimport FalconCardHeader from \"../../../components/common/FalconCardHeader\";\r\nimport { AuthenticationController } from \"../../../Engine/Authentication\";\r\nimport BaseInstance, { NewInstance } from \"../../../Engine/BaseInstance\";\r\nimport { Utility } from \"../../../Engine/Common\";\r\nimport ConditionMaker from \"../../../Engine/ConditionMaker\";\r\nimport { InstanceController } from \"../../../Engine/InstanceController\";\r\nimport FormManager from \"../../../EngineForms/FormManager\";\r\nimport { PropConstIdes } from \"../../ConstIdes\";\r\nimport Antibiotics from \"./Antibiotics\";\r\nimport { AntibioticsRow, BacteryDiagnosis, BacteryTestRow } from \"./BacteryContext\";\r\nimport Diagnosis from \"./Diagnosis\";\r\nimport DiagnosisTest from \"./DiagnosisTest\";\r\n\r\nexport default class BacteryAnswerSheet extends Component {\r\n state = {\r\n Header: NewInstance(),\r\n DiagnosisData: {},\r\n DiagnosisTestList: [],\r\n AntibioticsList: [],\r\n loading: true,\r\n isAdmin: undefined\r\n }\r\n async componentDidMount() {\r\n if (!this.state.isAdmin) {\r\n let isAdmin = await AuthenticationController.HasRole('R2');\r\n this.setState({\r\n ...this.state,\r\n isAdmin\r\n })\r\n }\r\n if (this.props.match?.params?.id)\r\n this.Load(this.props.match?.params?.id);\r\n }\r\n async componentDidUpdate() {\r\n if (this.props.location?.state?.Active === false) {\r\n this.props.location.state.Active = true;\r\n let values = this.props.location?.state.values;\r\n let ins = new BaseInstance(NewInstance('O30E12C75'));\r\n\r\n for (let i = 0; i < values.length; i++) {\r\n const element = values[i];\r\n ins.SetValue(element.pid, element.value);\r\n }\r\n await this.Load(ins);\r\n }\r\n }\r\n Validation() {\r\n if (!this.formLoad) {\r\n toast.error('صبور باشد تا فرم کامل بارگزاری شود');\r\n return false;\r\n }\r\n\r\n if (this.state.AntibioticsList.length > 12) {\r\n toast.error(\"تعداد آنتی بیوتیک های ثبت شده نمی تواند بیشتر از 12 ردیف باشد\")\r\n return false;\r\n }\r\n return true;\r\n }\r\n async SaveDoc() {\r\n this.setState({\r\n ...this.state,\r\n loading: true\r\n })\r\n let result = null;\r\n if (this.Validation() && this.state.Header !== null) {\r\n\r\n let relatives = [...Utility.ObjToInsList(this.DiagnosisTestList), ...Utility.ObjToInsList(this.AntibioticsList), this.DiagnosisData.Instance];\r\n result = await InstanceController.SaveRelatedInstancesAsync(this.state.Header, 'P100', relatives);\r\n await this.Load();\r\n\r\n }\r\n\r\n this.setState({\r\n ...this.state,\r\n loading: false\r\n })\r\n return result;\r\n }\r\n DiagnosisData = new BacteryDiagnosis();\r\n DiagnosisTestList = [];\r\n AntibioticsList = [];\r\n Header;\r\n async PropertyChanged(objValue, property, instance) {\r\n this.Header = instance;\r\n if ((property === 'P9' || property === 'P8') &&\r\n (instance.Prop.find(x => x.PID === 'P8')?.IPV !== undefined &&\r\n instance.Prop.find(x => x.PID === 'P9')?.IPV !== undefined)) {\r\n await this.Load();\r\n }\r\n }\r\n DiagnosisChanged(instance) {\r\n this.DiagnosisData = instance;\r\n }\r\n DiagnosisTestChanged(data) {\r\n this.DiagnosisTestList = data;\r\n }\r\n AntibioticsChanged(data) {\r\n this.AntibioticsList = data;\r\n }\r\n async Load(header) {\r\n this.setState({\r\n ...this.state,\r\n loading: true\r\n })\r\n if (!header)\r\n header = new BaseInstance(this.Header);\r\n\r\n let cond = new ConditionMaker('O30E12C75');\r\n if (typeof header === \"string\") {\r\n cond.AddCondition(\"ID\", '=', header);\r\n }\r\n else {\r\n cond.AddCondition(PropConstIdes.Sample, '=', header.GetValue('P9'), 'And');\r\n cond.AddCondition(PropConstIdes.Lab, '=', header.GetValue('P8'));\r\n }\r\n let doc = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(cond)\r\n , 'P100', ['O30E12C74', 'O30E12C69', 'O30E12C67'])\r\n console.log(doc)\r\n this.DiagnosisData = new BacteryDiagnosis();\r\n this.DiagnosisTestList = [];\r\n this.AntibioticsList = [];\r\n if (Utility.IsInstanceID(doc?.Header.ID)) {\r\n doc.RelatedInstances.map((ins) => {\r\n if (ins.ClassID === 'O30E12C74')\r\n this.AntibioticsList = [...this.AntibioticsList, new AntibioticsRow(ins)]\r\n else if (ins.ClassID === 'O30E12C69')\r\n this.DiagnosisTestList = [...this.DiagnosisTestList, new BacteryTestRow(ins)]\r\n else if (ins.ClassID === 'O30E12C67')\r\n this.DiagnosisData = new BacteryDiagnosis(ins)\r\n return ins;\r\n })\r\n\r\n this.setState({\r\n ...this.state,\r\n DiagnosisData: this.DiagnosisData,\r\n DiagnosisTestList: this.DiagnosisTestList,\r\n AntibioticsList: this.AntibioticsList,\r\n Header: doc.Header\r\n })\r\n }\r\n else {\r\n let head = { ...header.Instance };\r\n head.ID = 'O30E12C75';\r\n this.setState({\r\n ...this.state,\r\n DiagnosisData: new BacteryDiagnosis(),\r\n DiagnosisTestList: [],\r\n AntibioticsList: [],\r\n Header: head\r\n })\r\n }\r\n this.setState({\r\n ...this.state,\r\n loading: false\r\n })\r\n }\r\n async DeleteDoc() {\r\n //if (Utility.IsInstanceID(this.state.header?.ID)) {\r\n let relatives = [...Utility.ObjToInsList(this.DiagnosisTestList), ...Utility.ObjToInsList(this.AntibioticsList), this.DiagnosisData.Instance];\r\n await InstanceController.DeleteRelatedInstancesAsync(this.state.Header, 'P100', relatives);\r\n\r\n //}\r\n }\r\n formLoad = false;\r\n formLoaded(formid) {\r\n this.formLoad = true;\r\n }\r\n render() {\r\n return (<>\r\n \r\n {/* \r\n {this.state.loading && this.Header ? : null}\r\n */}\r\n \r\n {/* \r\n \r\n\r\n \r\n */}\r\n \r\n \r\n \r\n تشخیص\r\n \r\n \r\n \r\n تستهای تشخیصی\r\n \r\n \r\n \r\n \r\n \r\n آنتی بیوتیک ها\r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.state.loading ? null : <>\r\n {this.state.isAdmin ? : null}\r\n }\r\n \r\n \r\n )\r\n }\r\n}","import React from 'react'\r\nimport { useState } from 'react';\r\nimport { useEffect } from 'react'\r\nimport { Certificate } from './CertificateContext';\r\nimport CertIMG from '../../assets/img/pishgam/certificate.jpg'\r\nimport { Button, Card, CardBody, Label } from 'reactstrap';\r\nimport Flex from '../../components/common/Flex';\r\nimport QRCode from 'react-qr-code';\r\nimport { settings } from '../../Engine/BaseSetting';\r\nimport ButtonIcon from '../../components/common/ButtonIcon';\r\nimport { faFileDownload } from '@fortawesome/free-solid-svg-icons';\r\nimport { AuthenticationController } from '../../Engine/Authentication';\r\nimport { toast } from 'react-toastify';\r\nconst CertificateComponent = ({ year, lab, match, data, admin }) => {\r\n let title = ['سه دوره برنامه: ', 'دو دوره برنامه: ', 'یک دوره برنامه: ']\r\n const [cert, setCert] = useState()\r\n useEffect(() => {\r\n const fetch = async () => {\r\n if (year && lab) {\r\n let temp = await Certificate.getCertBy(year.id, lab.id);\r\n setCert(temp);\r\n }\r\n };\r\n fetch();\r\n }, [year, lab])\r\n useEffect(() => {\r\n const fetch = async () => {\r\n if (match?.params?.id) {\r\n let temp = await Certificate.getCertById(match.params.id);\r\n setCert(temp);\r\n }\r\n };\r\n fetch();\r\n }, [match?.params?.id])\r\n useEffect(() => {\r\n if (data) setCert(data);\r\n }, [data])\r\n const show = async () => {\r\n await cert.show();\r\n setCert(new Certificate(cert.Instance));\r\n }\r\n const hide = async () => {\r\n await cert.hide();\r\n setCert(new Certificate(cert.Instance));\r\n }\r\n const downloadFile = async () => {\r\n if (cert.CertID) {\r\n await Certificate.getFile(cert.CertID);\r\n }\r\n };\r\n const rebuild = async () => {\r\n if (year && lab) {\r\n var result = await Certificate.Rebuild(year.id,lab.id);\r\n if(result===1){\r\n toast.success(\"ساخت مجدد گواهی با موفقیت انجام شد\")\r\n }\r\n else{\r\n toast.error(\"ساخت مجدد گواهی با موفقیت انجام شد\")\r\n }\r\n }\r\n };\r\n return (\r\n cert ? (
\r\n {admin ? \r\n \r\n \r\n {(cert.debtor === undefined || cert.debtor === \"0\") ?\r\n :\r\n \r\n }\r\n \r\n \r\n \r\n\r\n : null}\r\n {certificate()}\r\n
) :\r\n \r\n \r\n گواهی مورد نظر یافت نشد\r\n \r\n \r\n )\r\n\r\n function certificate() {\r\n return cert.debtor === undefined || cert.debtor === '0' ?\r\n
{AuthenticationController.IsLogin() ?\r\n دانلود گواهی : null}\r\n \r\n \r\n \r\n {cert?.JsonObject?.map((item, index) => {\r\n if (item != \"\")\r\n return ;\r\n\r\n else\r\n return null;\r\n })}\r\n\r\n
: \r\n \r\n \r\n همکار گرامی گواهی شرکت در دوره ها در صورت پرداخت کل هزینه های برنامه ، ارائه میگردد\r\n \r\n \r\n ;\r\n }\r\n}\r\n\r\nexport default CertificateComponent","import React from 'react'\r\nimport Flex from '../../components/common/Flex'\r\nimport Section from '../../components/common/Section'\r\nimport CertificateComponent from '../Certificate/CertificateComponent'\r\nimport NavbarStandard from '../../components/navbar/NavbarStandard'\r\n\r\nconst CertificationPage = ({ match, location }) => {\r\n return (
\r\n \r\n
\r\n
\r\n \r\n

اعتبار سنجی گواهی

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
)\r\n}\r\n\r\nexport default CertificationPage","import React, { useState } from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport { DropdownItem, DropdownMenu, DropdownToggle, Dropdown, Button } from 'reactstrap';\r\nimport { PGISsettings } from '../../config';\r\nimport { AuthenticationController } from '../../Engine/Authentication';\r\nimport Avatar from '../common/Avatar';\r\nconst ProfileDropdown = () => {\r\n const [dropdownOpen, setDropdownOpen] = useState(false);\r\n const toggle = () => setDropdownOpen(prevState => !prevState);\r\n return (\r\n {\r\n let windowWidth = window.innerWidth;\r\n windowWidth > 992 && setDropdownOpen(true);\r\n }}\r\n onMouseLeave={() => {\r\n let windowWidth = window.innerWidth;\r\n windowWidth > 992 && setDropdownOpen(false);\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n
\r\n \r\n {AuthenticationController.FullName()}\r\n \r\n \r\n \r\n حساب کاربری\r\n \r\n پشتیبانی\r\n \r\n \r\n تنظیمات\r\n \r\n AuthenticationController.LogOut()}>\r\n خروج\r\n \r\n \r\n \r\n {PGISsettings.version}\r\n \r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default ProfileDropdown;\r\n","import React from 'react'\r\nimport CartContext from '../ShopContext'\r\n\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { NavItem, NavLink } from 'reactstrap';\r\nimport classNames from 'classnames';\r\nimport { Link } from 'react-router-dom';\r\nconst CartNotification = () => {\r\n\r\n return ({({ cart }) => (\r\n \r\n \r\n {!!cart?.length && (\r\n \r\n {cart?.length}\r\n \r\n )}\r\n \r\n \r\n )}\r\n );\r\n\r\n}\r\nexport default CartNotification;","import React, { useContext } from 'react';\r\nimport { Nav, NavItem, NavLink, UncontrolledTooltip, Label } from 'reactstrap';\r\nimport ProfileDropdown from './ProfileDropdown';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { Link } from 'react-router-dom';\r\nimport AppContext from '../../context/Context';\r\nimport classNames from 'classnames';\r\nimport { navbarBreakPoint } from '../../config';\r\nimport CartNotification from '../../Shop/shopping-cart/CartNotification';\r\nimport OnlineSupport from '../../layouts/OnlineSupport';\r\n\r\n\r\n\r\nconst TopNavRightSideNavItem = () => {\r\n const { isTopNav, isCombo } = useContext(AppContext);\r\n let org = localStorage.getItem('org');\r\n org = JSON.parse(org);\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default TopNavRightSideNavItem;\r\n","import React, { useContext } from 'react';\nimport { Collapse, Navbar, NavItem, Nav, Label, CardTitle } from 'reactstrap';\nimport classNames from 'classnames';\nimport AppContext from '../../context/Context';\nimport Logo from './Logo';\nimport TopNavRightSideNavItem from './TopNavRightSideNavItem';\nimport NavbarTopDropDownMenus from './NavbarTopDropDownMenus';\nimport { navbarBreakPoint, topNavbarBreakpoint } from '../../config';\n\nconst NavbarTop = () => {\n const {\n showBurgerMenu,\n setShowBurgerMenu,\n isTopNav,\n isVertical,\n isCombo,\n navbarCollapsed,\n setNavbarCollapsed,\n currentTitle\n } = useContext(AppContext);\n const handleBurgerMenu = () => {\n isTopNav && !isCombo && setNavbarCollapsed(!navbarCollapsed);\n (isCombo || isVertical) && setShowBurgerMenu(!showBurgerMenu);\n };\n return (\n \n \n \n \n \n \n \n
\n \n {isTopNav ? (\n \n \n \n ) : (\n \n )}\n\n \n \n );\n};\n\nexport default NavbarTop;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { Badge } from 'reactstrap';\nimport Flex from '../common/Flex';\n\nconst NavbarVerticalMenuItem = ({ route }) => (\n \n {route.icon && (\n \n \n \n )}\n {route.name}\n {!!route.badge && (\n \n {route.badge.text}\n \n )}\n \n);\n\nNavbarVerticalMenuItem.propTypes = {\n route: PropTypes.shape({\n icon: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),\n name: PropTypes.string.isRequired\n }).isRequired\n};\n\nexport default React.memo(NavbarVerticalMenuItem);\n","import PropTypes from 'prop-types';\nimport React, { Fragment, useContext, useEffect, useState } from 'react';\nimport { NavLink, withRouter } from 'react-router-dom';\nimport { Collapse, Nav, NavItem, NavLink as BootstrapNavLink } from 'reactstrap';\nimport AppContext from '../../context/Context';\nimport NavbarVerticalMenuItem from './NavbarVerticalMenuItem';\n\nconst NavbarVerticalMenu = ({ routes, location }) => {\n const [openedIndex, setOpenedIndex] = useState(null);\n const { setShowBurgerMenu } = useContext(AppContext);\n\n useEffect(() => {\n let openedDropdown = null;\n routes.forEach((route, index) => {\n if (location.pathname.indexOf(route.to) === 0) openedDropdown = index;\n });\n\n setOpenedIndex(openedDropdown);\n // eslint-disable-next-line\n }, []);\n\n const toggleOpened = (e, index) => {\n e.preventDefault();\n return setOpenedIndex(openedIndex === index ? null : index);\n };\n\n const getHr = name => {\n if (name === 'Widgets' || name === 'Documentation') {\n return (\n
\n
\n
\n );\n }\n };\n\n return routes.map((route, index) => {\n if (!route.children) {\n return (\n \n {getHr(route.name)}\n \n setShowBurgerMenu(false)}>\n \n \n \n \n );\n }\n return (\n \n {getHr(route.name)}\n \n toggleOpened(e, index)}\n className=\"dropdown-indicator cursor-pointer\"\n aria-expanded={openedIndex === index}\n >\n \n \n \n \n \n \n \n );\n });\n};\n\nNavbarVerticalMenu.propTypes = {\n routes: PropTypes.array.isRequired,\n location: PropTypes.object.isRequired\n};\n\nexport default withRouter(NavbarVerticalMenu);\n","import React from 'react';\nimport { Button, UncontrolledTooltip } from 'reactstrap';\n\nconst ToggleButton = ({ isNavbarVerticalCollapsed, setIsNavbarVerticalCollapsed }) => (\n <>\n
\n {\n document.getElementsByTagName('html')[0].classList.toggle('navbar-vertical-collapsed');\n setIsNavbarVerticalCollapsed(!isNavbarVerticalCollapsed);\n }}\n >\n \n \n \n \n
\n \n);\n\nexport default ToggleButton;\n","import classNames from 'classnames';\nimport is from 'is_js';\nimport PropTypes from 'prop-types';\nimport React, { useContext, useEffect, useRef } from 'react';\nimport { Collapse, Nav, Navbar } from 'reactstrap';\nimport bgNavbarImg from '../../assets/img/generic/bg-navbar.png';\nimport { navbarBreakPoint, topNavbarBreakpoint } from '../../config';\nimport AppContext from '../../context/Context';\nimport Flex from '../common/Flex';\nimport Logo from './Logo';\nimport NavbarTopDropDownMenus from './NavbarTopDropDownMenus';\nimport NavbarVerticalMenu from './NavbarVerticalMenu';\nimport ToggleButton from './ToggleButton';\n\nconst NavbarVertical = ({ navbarStyle, routes }) => {\n const navBarRef = useRef(null);\n\n const {\n showBurgerMenu,\n isNavbarVerticalCollapsed,\n setIsNavbarVerticalCollapsed,\n isCombo,\n setShowBurgerMenu,\n setNavbarCollapsed\n } = useContext(AppContext);\n\n const HTMLClassList = document.getElementsByTagName('html')[0].classList;\n //Control Component did mount and unmounted of hover effect\n if (isNavbarVerticalCollapsed) {\n HTMLClassList.add('navbar-vertical-collapsed');\n }\n\n useEffect(() => {\n if (is.windows()) {\n HTMLClassList.add('windows');\n }\n if (is.chrome()) {\n HTMLClassList.add('chrome');\n }\n if (is.firefox()) {\n HTMLClassList.add('firefox');\n }\n return () => {\n HTMLClassList.remove('navbar-vertical-collapsed-hover');\n };\n }, [isNavbarVerticalCollapsed, HTMLClassList]);\n\n //Control mouseEnter event\n let time = null;\n const handleMouseEnter = () => {\n if (isNavbarVerticalCollapsed) {\n time = setTimeout(() => {\n HTMLClassList.add('navbar-vertical-collapsed-hover');\n }, 100);\n }\n };\n return (\n \n \n \n \n \n\n {\n clearTimeout(time);\n HTMLClassList.remove('navbar-vertical-collapsed-hover');\n }}\n style={\n navbarStyle === 'vibrant' && {\n backgroundImage: `linear-gradient(-45deg, rgba(0, 160, 255, 0.86), #0048a2),url(${bgNavbarImg})`\n }\n }\n >\n \n
\n {isCombo && (\n
\n
\n
\n
\n \n
\n )}\n
\n
\n
\n
\n \n \n );\n};\n\nNavbarVertical.protoTypes = {\n navbarStyle: PropTypes.string\n};\n\nNavbarVertical.defaultProps = {\n navbarStyle: 'transparent'\n};\n\nexport default NavbarVertical;\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport {FormGroup, Input, Label } from \"reactstrap\";\r\nimport uuid from 'react-uuid'\r\n\r\nconst JoiCheckBox = ({ sourceid, destination, oprator, title, Control }) => {\r\n let id = uuid();\r\n let IsReadOnly = false;\r\n if (Control !== undefined)\r\n IsReadOnly = Control.IsReadOnly !== undefined ? Control.IsReadOnly : false;\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n };\r\n \r\n JoiCheckBox.propTypes = {\r\n sourceid: PropTypes.string,\r\n destination: PropTypes.object,\r\n oprator: PropTypes.string,\r\n title: PropTypes.string\r\n };\r\n \r\n JoiCheckBox.defaultProps = {\r\n oprator: '=',\r\n title: 'بی نام'\r\n };\r\n \r\n export default JoiCheckBox;\r\n ","import { uniqueId } from 'lodash';\r\nimport React, { Component } from 'react';\r\nimport { Input, Label } from \"reactstrap\";\r\n\r\nexport default class JoiInput extends Component {\r\n state = {\r\n value: ''\r\n }\r\n onChange(event) {\r\n event.preventDefault();\r\n this.props.onChange(event.target.value);\r\n this.setState({\r\n ...this.state,\r\n value: event.target.value\r\n })\r\n }\r\n componentDidMount() {\r\n this.setState({\r\n ...this.state,\r\n value: this.props.PValue\r\n })\r\n }\r\n componentDidUpdate() {\r\n if (this.props.Instance !== undefined && this.props.Instance.Prop !== undefined) {\r\n let Prop = this.props.Instance.Prop.find(x => x.PID === this.props.PID);\r\n if (Prop !== undefined) {\r\n if (Prop.IPV !== this.state.value) {\r\n let value = '';\r\n value = Prop.IPV;\r\n\r\n this.setState({\r\n ...this.state,\r\n value: value\r\n })\r\n }\r\n }\r\n else if (this.state.value !== '') {\r\n this.setState({\r\n ...this.state,\r\n value: ''\r\n })\r\n }\r\n }\r\n }\r\n render() {\r\n let id = uniqueId();\r\n if (this.props.Instance !== undefined) {\r\n id = this.props.Instance.ID + this.props.PID;\r\n }\r\n let controltype = \"AITextBox\";\r\n if (this.props.Control !== undefined)\r\n controltype = this.props.Control?.controlType;\r\n let IsReadOnly = this.props.Control?.IsReadOnly ?? false;\r\n if (!IsReadOnly)\r\n IsReadOnly = this.props.disable ?? false;\r\n return (\r\n <>\r\n {this.props.TitleFree ? null : }\r\n {\r\n /* this.props.Mode === \"TempData\" || !IsReadOnly ?*/\r\n \r\n //: \r\n }\r\n \r\n );\r\n };\r\n}\r\n//\r\n// {this.props.TitleFree ? null : }\r\n// \r\n//","import React, { Component } from 'react';\r\nimport { DropdownMenu, Input, Label } from \"reactstrap\";\r\nimport uuid from 'react-uuid'\r\nimport Flex from '../common/Flex';\r\nimport { CustomInput } from 'reactstrap';\r\nimport { Dropdown } from 'reactstrap';\r\nimport { DropdownToggle } from 'reactstrap';\r\nimport { DropdownItem } from 'reactstrap';\r\nimport { faAngleDown, faAngleUp } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { grays } from '../../helpers/utils';\r\n\r\nexport default class JoiSourceSelector extends Component {\r\n state = {\r\n value: ''\r\n , isOpen: false\r\n , switch: false\r\n , prop: null\r\n , source: []\r\n }\r\n selectedChanged(event, actionMeta) {\r\n //let props = this.props.Instance.Prop;\r\n //let editedProp = this.props.Instance.Prop.find(x => x.PID === this.props.PID)\r\n\r\n //let value = \"\";\r\n //if (newValue.id !== undefined)\r\n // value = newValue.id;\r\n //if (editedProp === undefined) {\r\n // this.props.Instance.Prop = [...this.props.Instance.Prop, { PID: this.props.PID, IPV: value, state: 2 }]\r\n //}\r\n //else {\r\n // this.props.Instance.Prop.splice(this.props.Instance.Prop.findIndex(x => x.PID === this.props.PID), 1, {\r\n // ...editedProp, IPV: value\r\n // });\r\n //}\r\n\r\n //this.setState({ ...this.state, value: newValue })\r\n let selectedobject = this.state.source.find(x => x.id === event.target.value);\r\n if (selectedobject !== undefined) {\r\n this.props.onChange(selectedobject.id, selectedobject, this.props.Instance);\r\n }\r\n this.setState({ ...this.state, value: event.target.value });\r\n }\r\n source = [];\r\n SwitchSource(id, event) {\r\n let prop = this.props.Instance.Prop.find(x => x.PID === this.props.PID)\r\n if (prop === undefined) {\r\n prop = { PID: this.props.PID, IPV: '' };\r\n this.props.Instance.Prop = [...this.props.Instance.Prop, prop];\r\n }\r\n if (prop.source === undefined && event.target.checked)\r\n prop.source = [{ ...this.props.source.find(x => x.id === id) }];\r\n else if (event.target.checked) {\r\n if (prop.source.find(x => x.id === id) === undefined)\r\n prop.source = [...prop.source, { ...this.props.source.find(x => x.id === id) }];\r\n }\r\n else\r\n prop.source.splice(prop.source.findIndex(x => x.id === id), 1);\r\n this.setState({\r\n ...this.state, prop: prop\r\n })\r\n }\r\n setprop() {\r\n if (this.state.prop === null && this.props.Instance?.Prop !== undefined) {\r\n let prop = this.props.Instance.Prop.find(x => x.PID === this.props.PID)\r\n let temp = {};\r\n if (prop !== undefined)\r\n temp = {\r\n ...this.state, prop: prop\r\n }\r\n else\r\n temp = {\r\n ...this.state, prop: [], source: this.props.source\r\n }\r\n if (this.props.source !== undefined)\r\n this.setState({\r\n ...temp,\r\n source: this.props.source\r\n })\r\n }\r\n let value = this.props.Instance?.Prop?.find(x => x.PID === this.props.PID)?.IPV;\r\n if (value !== undefined && value !== this.state.value) {\r\n this.setState({ ...this.state, value: value });\r\n }\r\n }\r\n componentDidMount() {\r\n this.setprop();\r\n }\r\n componentDidUpdate() {\r\n this.setprop();\r\n }\r\n localSearch(value) {\r\n\r\n let source = this.props.source.filter(x => x.display.includes(value.target.value))\r\n this.setState({\r\n ...this.state,\r\n source: source\r\n })\r\n }\r\n\r\n render() {\r\n let id = uuid();\r\n let value = null;\r\n if (this.props.source !== undefined && this.props.Instance !== undefined && this.props.Instance.Prop !== undefined) {\r\n let obj = this.props.Instance.Prop.find(x => x.PID === this.props.PID)\r\n if (obj !== undefined && obj.IPV !== '')\r\n value = this.props.source.find(x => x.id === obj.IPV)\r\n else\r\n value = null;\r\n }\r\n let IsReadOnly = false;\r\n if (this.props.Control !== undefined) {\r\n IsReadOnly = this.props.Control.IsReadOnly !== undefined ? this.props.Control.IsReadOnly : false;\r\n }\r\n return (\r\n <>\r\n {this.props.TitleFree ? null : }\r\n\r\n {this.props.Mode === \"TempData\" ?\r\n this.setState({ isOpen: !this.state.isOpen })}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.state.source !== undefined ?\r\n (\r\n {'انتخاب نشده'} \r\n {this.state.source.map((item) => {\r\n let uid = uuid();\r\n return (\r\n \r\n {this.props.Mode === \"TempData\" ?\r\n x.id === item.id) > -1 : false}\r\n onChange={this.SwitchSource.bind(this, item.id)} />\r\n : null}\r\n {this.props.Mode === \"TempData\" || this.state.prop.source === undefined ?\r\n {item.display} :\r\n (this.state.prop.source.findIndex(x => x.id === item.id) > -1 ?\r\n {item.display} : null)}\r\n \r\n )\r\n })}) : null}\r\n\r\n \r\n : \r\n \r\n {\r\n this.state.source.map((item) => {\r\n let uid = uuid();\r\n return (\r\n \r\n );\r\n })\r\n }\r\n }\r\n \r\n );\r\n }\r\n}\r\n\r\n","import React, { Component } from 'react';\r\nimport DateControl from '../../components/joi/DateControl';\r\nimport JoiCheckBox from '../../components/joi/JoiCheckBox';\r\nimport JoiInput from '../../components/joi/JoiInput';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport JoiSourceSelector from '../../components/joi/JoiSourceSelector';\r\nimport BasePropertyController from '../../Engine/BasePropertyController';\r\nimport { SearchObject } from '../../Engine/Common';\r\nexport default class InstanceCell extends Component {\r\n state = {\r\n BaseProp: { pid: '', Source:[]},\r\n PropValue: null,\r\n DataSetting: {\r\n isOpen: false\r\n }\r\n }\r\n async Initial() {\r\n if (this.props.Control.pid !== this.state.BaseProp.pid) {\r\n if (this.props.Control.controlType === \"ComboBox\" || this.props.Control.controlType === \"SearchControl\") {\r\n let baseproperty = await BasePropertyController.LoadAsync(this.props.Control.pid);\r\n let source = [];\r\n if (this.props.Control.controlType === \"ComboBox\" && this.state.BaseProp.Source !== undefined && this.state.BaseProp.Source.length === 0 && baseproperty !== null) {\r\n source = await SearchObject('', baseproperty.PSource, '<>');\r\n this.setState({\r\n Source: source,\r\n Psource: baseproperty.PSource,\r\n BaseProp: this.props.Control\r\n });\r\n }\r\n else if (this.props.Control.controlType === \"SearchControl\" && this.state.BaseProp.Source !== undefined && this.state.BaseProp.Source.length === 0 && baseproperty !== null) {\r\n this.setState({\r\n Psource: baseproperty.PSource,\r\n BaseProp: this.props.Control\r\n });\r\n }\r\n }\r\n else {\r\n this.setState({\r\n ...this.state,\r\n BaseProp: this.props.Control\r\n })\r\n }\r\n }\r\n }\r\n async componentDidMount() {\r\n await this.Initial();\r\n }\r\n async componentDidUpdate() {\r\n await this.Initial();\r\n }\r\n OpenDataSetting() {\r\n this.setState({\r\n ...this.state,\r\n DataSetting: {\r\n isOpen: false\r\n }\r\n })\r\n }\r\n PropertyHandler(value,obj) {\r\n this.props.onChange(this.props.Control.pid, value, this.props.Instance,obj);\r\n }\r\n SetControl (pid, controlType, title){\r\n let { Instance } = this.props;\r\n if (Instance === null)\r\n Instance = {};\r\n let PValue = this.props.PValue !== undefined ? this.props.PValue : '';\r\n if (Instance !== null && Instance !== undefined && Instance.Prop !== undefined) {\r\n let PItem = Instance.Prop.find(x => x.PID === pid)\r\n if (PItem !== undefined)\r\n PValue = PItem.IPV;\r\n }\r\n let SelectedControl = null;\r\n switch (controlType) {\r\n case \"MultiLang_TextBox\":\r\n break;\r\n case \"ComboBox\":\r\n //if (this.props.Mode ===\"TempData\")\r\n SelectedControl = \r\n //else\r\n // SelectedControl = \r\n break;\r\n case \"CheckBox\":\r\n SelectedControl = \r\n break;\r\n case \"Slider_CheckBox\":\r\n break;\r\n case \"TreeView\":\r\n break;\r\n case \"SearchControl\":\r\n SelectedControl = \r\n break;\r\n case \"InstanceControl\":\r\n break;\r\n case \"UserBox\":\r\n break;\r\n case \"Weight\":\r\n break;\r\n case \"RaidoButton\":\r\n break;\r\n case \"TimePeriod\":\r\n case \"DatePeriod\":\r\n SelectedControl = ;\r\n break;\r\n case \"MultiLineText\":\r\n case \"AITextBox\":\r\n default:\r\n SelectedControl = \r\n break;\r\n }\r\n return SelectedControl;\r\n }\r\n render() {\r\n let { pid, controlType, title } = this.props.Control;\r\n return this.SetControl(pid, controlType, title)\r\n }\r\n}\r\n","import { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\r\nimport React,{ Component } from \"react\";\r\nimport { Card, CardBody, Col, Input, Label, Row, Table } from \"reactstrap\";\r\nimport FalconCardHeader from \"../../components/common/FalconCardHeader\";\r\nimport { InstanceController } from \"../../Engine/InstanceController\";\r\n\r\nexport default class MorfologyCard extends Component {\r\n static MorfologyTestList = [];\r\n state = {\r\n Tests: [],\r\n Answers: [{ id: '+', display: '+' }, { id: '++', display: '++' }, { id: '+++', display: '+++' }],\r\n SelectedTest: null,\r\n SelectedAnswer: null\r\n }\r\n async componentDidMount() {\r\n if (this.state.Tests.length === 0 && MorfologyCard.MorfologyTestList.length>0) {\r\n this.setState({\r\n ...this.state,\r\n Tests: MorfologyCard.MorfologyTestList.filter(x => x.type === this.props.title)\r\n })\r\n }\r\n }\r\n PTest = 'P56';\r\n PAnswer = 'P57';\r\n TestChanged = (event) => {\r\n let test = this.state.Tests.find(x => x.id === event.target.value)\r\n this.setState({ ...this.state, SelectedTest:test })\r\n }\r\n AddNewRow = (event) => {\r\n\r\n let selectedanswer = this.state.Answers.find(t => t.id === event.target.value);\r\n let object = {\r\n ID: 'O30E12C50', Prop: [{ PID: this.PTest, IPV: this.state.SelectedTest.id, DIS: this.state.SelectedTest.display },\r\n { PID: this.PAnswer, IPV: event.target.value, DIS: selectedanswer.display }]\r\n }\r\n let list = [...this.props.DataSource, object]\r\n this.props.onChanged(this.props.title, list);\r\n this.setState({\r\n ...this.state, SelectedTest: \"notselected\", SelectedAnswer: 'notselected'\r\n })\r\n\r\n }\r\n async Deleted(value) {\r\n console.log(value);\r\n let selectedtestIndex = this.props.DataSource.findIndex(t => t.Prop.find(p => p.PID === this.PTest && p.IPV === value));\r\n if (selectedtestIndex >= 0) {\r\n let result = await InstanceController.DeleteAsync(this.props.DataSource[selectedtestIndex].ID);\r\n if (result) {\r\n let list = [...this.props.DataSource]\r\n list.splice(selectedtestIndex, 1);\r\n this.props.onChanged(this.props.title, list);\r\n }\r\n }\r\n }\r\n IsDisable() {\r\n return this.state.SelectedTest === null;\r\n }\r\n render() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.state.Tests.map(test => {\r\n if (this.props.DataSource.find(t => t.Prop.find(p => p.PID === this.PTest && p.IPV === test.id)) === undefined)\r\n return ;\r\n return null;\r\n })\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.state.Answers.map(ans => {\r\n return (\r\n \r\n );\r\n })\r\n }\r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.props.DataSource?.map((item, index) => {\r\n return (\r\n \r\n \r\n \r\n );\r\n })\r\n }\r\n \r\n
{this.state.Tests?.find(x => x.id === item.Prop.find(p => p.PID === this.PTest)?.IPV)?.display}{this.state.Answers?.find(x => x.id === item.Prop.find(p => p.PID === this.PAnswer)?.IPV)?.display} p.PID === this.PTest)?.IPV)} size='1x' icon={'trash'} className=\"text-danger\" />
\r\n
\r\n
);\r\n }\r\n}","import React, { Component } from 'react'\r\nimport {\r\n Button, CardBody, CardFooter,\r\n Col, Input, Row,\r\n Table\r\n} from 'reactstrap';\r\nimport MorfologyCard from './MorfologyCard';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport { SearchObject, Utility } from '../../Engine/Common';\r\nimport { PropConstIdes } from '../ConstIdes';\r\nimport FormManager from '../../EngineForms/FormManager';\r\nimport BaseInstance, { NewInstance } from '../../Engine/BaseInstance';\r\nimport ConditionMaker from '../../Engine/ConditionMaker';\r\nimport { AuthenticationController } from '../../Engine/Authentication';\r\nexport default class MorfologyCellCounter extends Component {\r\n state = {\r\n Header: undefined,\r\n CellCounter: [],\r\n CellTypeList: [],\r\n WBC: [],\r\n RBC: [],\r\n Platelet: [],\r\n Diagnosis1: {},\r\n Diagnosis2: {},\r\n MorfologyTestList: [],\r\n CanSave: true\r\n\r\n }\r\n HeaderForm = 'O30E12C54F0V1';\r\n HeaderID = () => this.HeaderForm.split('F')[0];\r\n Headerpropid = 'P61';\r\n async componentDidUpdate() {\r\n \r\n }\r\n async componentDidMount() {\r\n if (this.state.CellTypeList.length === 0) {\r\n\r\n let cellTypeList = await SearchObject('', 'O30E12C47', '<>', ' order by convert(int,PC2) ');\r\n cellTypeList = cellTypeList.filter(x => x.id !== 'O30E12C47I4');\r\n if (MorfologyCard.MorfologyTestList.length === 0) {\r\n let list = await InstanceController.GetInstancesAsync('O30E12C49');\r\n for (var i = 0; i < list.length; i++) {\r\n let temp = { id: list[i].ID, display: list[i].Prop.find(x => x.PID === 'PC95')?.IPV, type: list[i].Prop.find(x => x.PID === 'P55')?.IPV };\r\n MorfologyCard.MorfologyTestList = [...MorfologyCard.MorfologyTestList, temp];\r\n }\r\n }\r\n let isAdmin = await AuthenticationController.HasRole('R2');\r\n this.setState({\r\n ...this.state,\r\n isAdmin,\r\n CellTypeList: cellTypeList,\r\n MorfologyTestList: MorfologyCard.MorfologyTestList\r\n });\r\n }\r\n if (this.props.match?.params?.id) {\r\n let condition = new ConditionMaker('O30E12C54');\r\n condition.AddCondition('ID', '=', this.props.match?.params?.id);\r\n let instance = await InstanceController.LoadInstanceAsync(this.props.match?.params?.id);\r\n let doc = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(condition),\r\n this.Headerpropid, ['O30E12C48', 'O30E12C50']);\r\n this.convertTodata(doc, instance);\r\n }\r\n if (this.props.location?.state?.Active === false) {\r\n this.props.location.state.Active = true;\r\n let values = this.props.location?.state.values;\r\n let ins = new BaseInstance(NewInstance('O30E12C54'));\r\n for (let i = 0; i < values.length; i++) {\r\n const element = values[i];\r\n ins.SetValue(element.pid, element.value);\r\n }\r\n this.PropertyChanged('', 'P8', ins.Instance)\r\n\r\n }\r\n }\r\n Save = async () => {\r\n this.setState({ ...this.state, CanSave: false })\r\n let result = await InstanceController.SaveRelatedInstancesAsync(\r\n this.state.Header, this.Headerpropid, [...this.state.CellCounter\r\n , ...this.state.WBC, ...this.state.RBC, ...this.state.Platelet]\r\n );\r\n\r\n this.setState({\r\n ...this.state,\r\n result, CanSave: true\r\n })\r\n //toast.success('ذخیره سازی با موفقیت انجام شد')\r\n }\r\n\r\n Delete = async () => {\r\n if(this.state.doc)\r\n await InstanceController.DeleteRelatedInstancesAsync(this.state.Header,this.Headerpropid,this.state.doc.RelatedInstances);\r\n }\r\n onChangedCard = (type, list) => {\r\n if (type === \"WBC\")\r\n this.setState({ ...this.state, WBC: list });\r\n if (type === \"RBC\")\r\n this.setState({ ...this.state, RBC: list });\r\n if (type === \"Platelet\")\r\n this.setState({ ...this.state, Platelet: list });\r\n\r\n }\r\n\r\n\r\n async PropertyChanged(objValue, property, instance) {\r\n if ((property === 'P9' || property === 'P8') &&\r\n (instance.Prop.find(x => x.PID === 'P8')?.IPV !== undefined &&\r\n instance.Prop.find(x => x.PID === 'P9')?.IPV !== undefined)) {\r\n\r\n let condition = {\r\n OCID: this.HeaderForm.split('F')[0],\r\n BCs: [\r\n {\r\n Bts: [\r\n {\r\n PID: PropConstIdes.Sample,\r\n PRA: 1,\r\n IPV: instance.Prop.find(x => x.PID === 'P9')?.IPV,\r\n NLC: 2,\r\n SRC: null\r\n }, {\r\n PID: PropConstIdes.Lab,\r\n PRA: 1,\r\n IPV: instance.Prop.find(x => x.PID === 'P8')?.IPV,\r\n NLC: 0,\r\n SRC: null\r\n }\r\n ],\r\n NLC: 0\r\n }\r\n ]\r\n }\r\n let doc = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(condition),\r\n this.Headerpropid, ['O30E12C48', 'O30E12C50']);\r\n this.convertTodata(doc, instance);\r\n }\r\n\r\n }\r\n CellTestPropID = 'P54';\r\n CellValuePropID = 'P15';\r\n convertTodata(doc, instance) {\r\n if (!Utility.IsInstanceID(doc.Header.ID)) {\r\n doc.Header.ID = this.HeaderForm.split('F')[0];\r\n let newheder = new BaseInstance(doc.Header);\r\n let Changedheader = new BaseInstance(instance);\r\n newheder.SetValue('P9', Changedheader.GetValue('P9', true));\r\n newheder.SetValue('P8', Changedheader.GetValue('P8', true));\r\n }\r\n this.setState({\r\n ...this.state,\r\n doc,\r\n Header: doc.Header,\r\n CellCounter: doc.RelatedInstances.filter(x => x.ID.includes('O30E12C48I')),\r\n WBC: doc.RelatedInstances.filter(x => x.ID.includes('O30E12C50I') && x.Prop.find(p => p.PID === 'P56'\r\n && this.state.MorfologyTestList.findIndex(x => x.id === p.IPV && x.type === 'WBC') >= 0)),\r\n RBC: doc.RelatedInstances.filter(x => x.ID.includes('O30E12C50I') && x.Prop.find(p => p.PID === 'P56'\r\n && this.state.MorfologyTestList.findIndex(x => x.id === p.IPV && x.type === 'RBC') >= 0)),\r\n Platelet: doc.RelatedInstances.filter(x => x.ID.includes('O30E12C50I') && x.Prop.find(p => p.PID === 'P56'\r\n && this.state.MorfologyTestList.findIndex(x => x.id === p.IPV && x.type === 'Platelet') >= 0)),\r\n CellTypeList: this.state.CellTypeList\r\n });\r\n }\r\n\r\n async onChangedCellCounterValue(id, event) {\r\n let source = [...this.state.CellCounter];\r\n let value = event.target.value;\r\n let a = source.filter(x => x.Prop.find(p => p.PID === this.CellTestPropID && p.IPV === id))\r\n if (a.length > 1) {\r\n await new BaseInstance(a[0]).DeleteAsync(true);\r\n source.splice(this.state.CellCounter.findIndex(x => x.ID === a[0].ID), 1);\r\n }\r\n let rowindex = source.findIndex(x => x.Prop.find(p => p.PID === this.CellTestPropID && p.IPV === id))\r\n let temp = {};\r\n\r\n if (rowindex >= 0) {\r\n temp = { ...source[rowindex] };\r\n new BaseInstance(temp).SetValue(this.CellValuePropID, value);\r\n source.splice(rowindex, 1);\r\n }\r\n else {\r\n temp = {\r\n ID: 'O30E12C48', Prop: [{ PID: this.CellTestPropID, IPV: id },\r\n { PID: this.CellValuePropID, IPV: value }]\r\n };\r\n }\r\n this.setState({\r\n ...this.state,\r\n CellCounter: [...source, temp]\r\n });\r\n }\r\n render() {\r\n let result = null;\r\n result =\r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.state.CellTypeList.map(item => {\r\n return (\r\n \r\n \r\n );\r\n })\r\n }\r\n \r\n
Cell TypeResult
{item.display}\r\n x.Prop.find(p => p.PID === this.CellTestPropID &&\r\n p.IPV === item.id))?.Prop?.find(p => p.PID === this.CellValuePropID)?.IPV ?? ''}\r\n onChange={this.onChangedCellCounterValue.bind(this, item.id)}\r\n />
\r\n \r\n {\r\n this.state.MorfologyTestList.length > 0 ? <>\r\n \r\n \r\n \r\n : null\r\n }\r\n \r\n
\r\n
\r\n \r\n \r\n {this.state.isAdmin ? : null}\r\n \r\n
;\r\n return <>\r\n {/* \r\n {({ setCurrentTitle }) => setCurrentTitle('گزارش پلاسما کنترل لئوفیلیزه')}\r\n */}\r\n {result} ;\r\n }\r\n}\r\n","\r\nimport BaseInstance, { NewInstance, NewProperty } from \"../Engine/BaseInstance\";\r\nimport ConditionMaker from \"../Engine/ConditionMaker\";\r\nimport { InstanceController } from \"../Engine/InstanceController\";\r\nexport class HbvSample extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C122');\r\n HbvSample.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n //static PIDs = ['P168', 'P9', 'P167', 'P169', 'P170', 'P171'];\r\n static PIDs = ['P167', 'P9', 'P38', 'P168', 'P169', 'P170', 'P172','P15'\r\n ,\"P192\",\"P200\",\"P210\",\"P211\"\r\n ];\r\n\r\n set CtInternal1(value) {\r\n this.SetValue(HbvSample.PIDs[11], value);\r\n }\r\n get CtInternal1() {\r\n return this.GetValue(HbvSample.PIDs[11]);\r\n }\r\n \r\n set Ct1(value) {\r\n this.SetValue(HbvSample.PIDs[10], value);\r\n }\r\n get Ct1() {\r\n return this.GetValue(HbvSample.PIDs[10]);\r\n }\r\n \r\n set Header(value) {\r\n this.SetValue(HbvSample.PIDs[0], value);\r\n }\r\n get Header() {\r\n return this.GetValue(HbvSample.PIDs[0]);\r\n } set Sample(value) {\r\n this.SetValue(HbvSample.PIDs[1], value);\r\n }\r\n get Sample() {\r\n return this.GetValue(HbvSample.PIDs[1]);\r\n }\r\n get SampleObj() {\r\n return this.GetValue(HbvSample.PIDs[1], true);\r\n }\r\n set Result(value) {\r\n this.SetValue(HbvSample.PIDs[2], value);\r\n }\r\n get Result() {\r\n return this.GetValue(HbvSample.PIDs[2]);\r\n } set SDA(value) {\r\n this.SetValue(HbvSample.PIDs[3], value);\r\n }\r\n get SDA() {\r\n return this.GetValue(HbvSample.PIDs[3]);\r\n } set CV(value) {\r\n this.SetValue(HbvSample.PIDs[4], value);\r\n }\r\n get CV() {\r\n return this.GetValue(HbvSample.PIDs[4]);\r\n } set AVG(value) {\r\n this.SetValue(HbvSample.PIDs[5], value);\r\n }\r\n get AVG() {\r\n return this.GetValue(HbvSample.PIDs[5]);\r\n }\r\n set infectionLevel(value) {\r\n this.SetValue(HbvSample.PIDs[6], value);\r\n }\r\n get infectionLevel() {\r\n return this.GetValue(HbvSample.PIDs[6]);\r\n }\r\n set IntResult(value) {\r\n this.SetValue(HbvSample.PIDs[7], value);\r\n }\r\n get IntResult() {\r\n return this.GetValue(HbvSample.PIDs[7]);\r\n }\r\n static async loaderExAnswer (localSample,period) {\r\n let rows = [];\r\n let others = [];\r\n for (let samindex = 0; samindex < localSample.length; samindex++) {\r\n const sample1 = localSample[samindex];\r\n let cond = new ConditionMaker('O30E12C122');\r\n cond.AddCondition('P167', '=', period,'And')\r\n .AddCondition('P9', '=', sample1.ID);\r\n let list = await cond.GetResult();\r\n list.map(row => {\r\n let tempins = new HbvSample(row);\r\n rows = [...rows, tempins];\r\n });\r\n let flag = false;\r\n for (let index = 0; index < rows.length; index++) {\r\n const row = rows[index];\r\n if (sample1.ID === row.Sample) {\r\n row.Sample = new BaseInstance(sample1);\r\n flag = true;\r\n }\r\n }\r\n if (!flag) {\r\n others = [...others, sample1];\r\n }\r\n }\r\n others.map(smp => {\r\n let temp = new HbvSample();\r\n temp.Sample = new BaseInstance(smp);\r\n rows = [...rows, temp];\r\n });\r\n return rows;\r\n }\r\n async CalculateSDI(period){\r\n let sampleList=[];\r\n let cond = new ConditionMaker('O30E12C39');\r\n cond.AddCondition('P3', '=', period);\r\n let result =await cond.GetResult();\r\n for (let index = 0; index < result.length; index++) {\r\n const element = result[index];\r\n let con1=new ConditionMaker('O30E12C39');\r\n con1.AddCondition('P8','=',element.Prop.find(x=>x.PID==='P8').IPV)\r\n let doc = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(con1)\r\n , 'P167', ['O30E12C122'])\r\n for (let index = 0; index < doc.RelatedInstances.length; index++) {\r\n const row = doc.RelatedInstances[index];\r\n sampleList=[...sampleList,\r\n {sample:row.Prop.find(x=>x.PID==='P9')?.IPV,\r\n result:row.Prop.find(x=>x.PID==='P15')?.IPV}]\r\n }\r\n }\r\n\r\n return(sampleList);\r\n }\r\n List=[];\r\n median;\r\n Lis2=[];\r\n Lis3=[];\r\n landa;\r\n s;\r\n max;\r\n min;\r\n}\r\n","import React, { useEffect, useState } from 'react';\r\nimport { useLocation } from 'react-router-dom';\r\nimport { Button, Card, CardBody, CardFooter, Col, Input, Label, Row, Spinner } from 'reactstrap';\r\nimport Divider from '../../components/common/Divider';\r\nimport FalconCardHeader from '../../components/common/FalconCardHeader';\r\nimport { AuthenticationController } from '../../Engine/Authentication';\r\nimport BaseInstance, { NewInstance } from '../../Engine/BaseInstance';\r\nimport { Utility } from '../../Engine/Common';\r\nimport ConditionMaker, { EngineCondition } from '../../Engine/ConditionMaker';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport ObjectClassController from '../../Engine/ObjectClassController';\r\nimport FormManager from '../../EngineForms/FormManager';\r\nimport { PropConstIdes } from '../ConstIdes';\r\nimport { HbvSample } from '../HBVSample';\r\n\r\nconst HBVampleAnswer = ({ resultdoc, listDiagnosis }) => {\r\n //const listsr = ['R', 'S'];\r\n const [v1, setV1] = useState(resultdoc.Result);\r\n const [v2, setV2] = useState(resultdoc.IntResult);\r\n const [v3, setV3] = useState(resultdoc.CtInternal1);\r\n const [v4, setV4] = useState(resultdoc.Ct1);\r\n useEffect(() => {\r\n setV1(resultdoc.Result);\r\n setV2(resultdoc.IntResult);\r\n setV3(resultdoc.CtInternal1);\r\n setV4(resultdoc.Ct1);\r\n }, [resultdoc.IntResult, resultdoc.Result,resultdoc.CtInternal1,resultdoc.Ct1])\r\n const resultChanged = ({ target }) => {\r\n resultdoc.Result = target.value;\r\n setV1(target.value);\r\n }\r\n const IntresultChanged = ({ target }) => {\r\n resultdoc.IntResult = target.value;\r\n setV2(target.value);\r\n }\r\n const v3Changed = ({ target }) => {\r\n resultdoc.CtInternal1 = target.value;\r\n setV3(target.value);\r\n }\r\n const v4Changed = ({ target }) => {\r\n resultdoc.Ct1 = target.value;\r\n setV4(target.value);\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n listDiagnosis?.map((item) => ())\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst HBVAnswerSheet = ({ match }) => {\r\n const formID = match.path === \"/forms/expectedhbvanswer\" ? 'O30E12C39F0V2' : 'O30E12C39F0V1';\r\n const location = useLocation();\r\n const [loading, setLoading] = useState(false);\r\n const [Header, setHeader] = useState(NewInstance('O30E12C39'));\r\n const [isAdmin, setIsAdmin] = useState(false);\r\n const [samples, setSamples] = useState([]);\r\n const [listDiagnosis, setListDiagnosis] = useState();\r\n const [listLevel, setListLevel] = useState([]);\r\n const [labratoary, setLabratory] = useState();\r\n const [resultSample, setResultSample] = useState([]);\r\n const [period, setPeriod] = useState();\r\n useEffect(() => {\r\n const fetch = async () => {\r\n\r\n let value = await AuthenticationController.HasRole('R2');\r\n setIsAdmin(value);\r\n let con = new ConditionMaker('O30E23C3');\r\n if (value) {\r\n con.AddCondition('PC17', '=', \"1\");\r\n }\r\n else {\r\n con.AddCondition('Convert(DateTime,PC13)', '<', new Date(), 'AND').AddCondition('Convert(DateTime,PC14)', '>', new Date());\r\n }\r\n let result = await con.GetResult();\r\n if (result.length > 0) {\r\n let comsample = new EngineCondition();\r\n comsample.ID = 'O30E23C4';\r\n let samcon = new ConditionMaker('O30E23C4');\r\n samcon.AddCondition('P3', '=', result[0].ID, 'AND')\r\n .AddCondition('P1', '=', 'O30E23C2I16');\r\n comsample.sqlCondition = samcon;\r\n comsample.returnProperties = 'P156';\r\n let samresult = await samcon.GetResult();\r\n setPeriod(result[0].ID);\r\n setSamples(samresult);\r\n SetNew(result[0].ID,samresult);\r\n ///////////////////////////////\r\n if(location?.state?.values?.length>0){\r\n (new BaseInstance(Header)).SetValue('P8', location.state.values[0].value);\r\n (new BaseInstance(Header)).SetValue('P3', result[0].ID);\r\n setLabratory(location.state.values[0].value);\r\n await Loader(undefined, samresult);\r\n }\r\n if (value && match.params.id && Utility.IsInstanceID(match.params.id)) {\r\n await Loader(match.params.id, samresult);\r\n }\r\n }\r\n\r\n }\r\n\r\n if (formID === 'O30E12C39F0V1') {\r\n fetch();\r\n }\r\n }, [match.params.id])\r\n useEffect(() => {\r\n const fetch = async () => {\r\n if (!listDiagnosis) {\r\n let result = await InstanceController.GetInstancesAsync('O30E12C29');\r\n let level = await InstanceController.GetInstancesAsync('O30E12C123');\r\n setListDiagnosis(result);\r\n setListLevel(level.sort((a, b) => a.ID.localeCompare(b.ID)));\r\n }\r\n };\r\n fetch();\r\n }, [])\r\n //answer\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let comsample = new EngineCondition();\r\n comsample.ID = 'O30E23C4';\r\n let samcon = new ConditionMaker('O30E23C4');\r\n samcon.AddCondition('P3', '=', period, 'AND')\r\n .AddCondition('P1', '=', 'O30E23C2I16');\r\n comsample.sqlCondition = samcon;\r\n //comsample.returnProperties = 'P156';\r\n let samresult = await comsample.GetResult();\r\n setSamples(samresult);\r\n (new BaseInstance(Header)).SetValue('P3', period);\r\n SetNew(period, samresult,Header);\r\n setLoading(true);\r\n let rows = await HbvSample.loaderExAnswer(samresult, period);\r\n setResultSample(rows);\r\n setLoading(false);\r\n }\r\n if (formID === 'O30E12C34F0V2' && period) {\r\n fetch();\r\n }\r\n }, [period])\r\n useEffect(() => {\r\n const loaadDoc = async () => {\r\n await Loader();\r\n }\r\n loaadDoc();\r\n }, [labratoary])\r\n\r\n const SetNew = (resultid, samresult,header) => {\r\n let _header =header??{...Header};\r\n (new BaseInstance(_header)).SetValue('P3', resultid);\r\n setHeader(_header);\r\n let resultSMP = [];\r\n samresult.map(smp => {\r\n let temp = new HbvSample();\r\n temp.Sample = new BaseInstance(smp);\r\n resultSMP = [...resultSMP, temp];\r\n });\r\n setResultSample(resultSMP);\r\n }\r\n const formLoaded = () => { };\r\n const PropertyChanged = (value, pid, ins, obj) => {\r\n if (pid === 'P8' && !labtag) {\r\n labtag = value;\r\n setLabratory(value)\r\n }\r\n if (formID === 'O30E12C34F0V2' && pid === 'P3') {\r\n setPeriod(value.id);\r\n }\r\n }\r\n let labtag;\r\n const Validation = async () => {\r\n let oc = await ObjectClassController.LoadAsync(Utility.GetClassID(Header.ID));\r\n let result = true;\r\n let headerIns = new BaseInstance(Header);\r\n for (let i = 0; i < oc?.Extended?.Required?.length; i++) {\r\n const propid = oc.Extended?.Required[i];\r\n const prop = headerIns.GetProperty(propid);\r\n prop.hasError = (!prop.IPV || prop.IPV === '');\r\n if (prop.hasError) {\r\n result = false;\r\n }\r\n\r\n }\r\n setHeader({ ...headerIns.Instance })\r\n return result;\r\n }\r\n const SaveDoc = async () => {\r\n setLoading(true);\r\n let result = null;\r\n if (formID === 'O30E12C34F0V2') {\r\n let rows = [];\r\n resultSample.map(row => rows = [...rows, row.Instance]);\r\n result = await InstanceController.SaveRelatedInstancesAsync(NewInstance(period), 'P167', rows);\r\n if (Utility.IsInstanceID(result?.Header?.ID)) {\r\n result.RelatedInstances.map(row => {\r\n let tempins = new HbvSample(row);\r\n resultSample.map(rs => {\r\n if (rs.Sample === tempins.Sample) {\r\n rs.Instance.ID = tempins.ID;\r\n }\r\n })\r\n });\r\n setResultSample(resultSample);\r\n }\r\n }\r\n else if (Header !== null && await Validation()) {\r\n let rows = [];\r\n resultSample.map(row => rows = [...rows, row.Instance]);\r\n result = await InstanceController.SaveRelatedInstancesAsync(Header, 'P167', rows);\r\n if (Utility.IsInstanceID(result?.Header?.ID)) {\r\n Header.ID = result.Header.ID;\r\n result.RelatedInstances.map(row => {\r\n let tempins = new HbvSample(row);\r\n resultSample.map(rs => {\r\n if (rs.Sample === tempins.Sample) {\r\n rs.Instance.ID = tempins.ID;\r\n }\r\n })\r\n });\r\n setHeader({ ...Header });\r\n setResultSample(resultSample);\r\n setLoading(false);\r\n }\r\n }\r\n }\r\n const Loader = async (id, Loadedsamples) => {\r\n let cond = new ConditionMaker('O30E12C39');\r\n let tempheader = new BaseInstance(Header);\r\n let localSample = samples?.length > 0 ? samples : Loadedsamples;\r\n let iab = labratoary?labratoary:tempheader.GetValue('P8',true);\r\n if (localSample?.length > 0) {\r\n if (typeof id === \"string\") {\r\n cond.AddCondition(\"ID\", '=', id);\r\n }\r\n else if (tempheader.GetValue('P3') !== null && iab.id) {\r\n cond.AddCondition('P3', '=', tempheader.GetValue('P3'), 'And');\r\n cond.AddCondition(PropConstIdes.Lab, '=', iab.id);\r\n }\r\n let doc = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(cond)\r\n , 'P167', ['O30E12C122'])\r\n console.log(doc)\r\n if (doc?.Header?.ID) {\r\n let rows = [];\r\n doc.RelatedInstances.map(row => {\r\n let tempins = new HbvSample(row);\r\n rows = [...rows, tempins];\r\n });\r\n for (let index = 0; index < rows.length; index++) {\r\n const element = rows[index];\r\n element.Sample = new BaseInstance(await InstanceController.LoadInstanceAsync(element.Sample));\r\n }\r\n setHeader(doc.Header);\r\n setResultSample(rows);\r\n }\r\n else {\r\n let head = new BaseInstance(NewInstance('O30E12C39'));\r\n head.SetValue('P8', iab);\r\n head.SetValue('P3', tempheader.GetValue('P3'));\r\n SetNew(tempheader.GetValue('P3'), localSample,head.Instance);\r\n }\r\n\r\n }\r\n }\r\n const DeleteDoc = async () => {\r\n let ins = [];\r\n resultSample.map(row => ins = [...ins, row.Instance]);\r\n let doc = await InstanceController.DeleteRelatedInstancesAsync(Header\r\n , 'P167', ins);\r\n if (doc) {\r\n let head = new BaseInstance(NewInstance('O30E12C39'));\r\n head.SetValue('P8', labratoary);\r\n head.SetValue('P3', period);\r\n SetNew(period, samples,head);\r\n }\r\n }\r\n return (\r\n \r\n \r\n {loading && Header ? : null}\r\n \r\n \r\n \r\n نمونه ها\r\n {\r\n resultSample?.map((resultsmp) => )\r\n }\r\n \r\n \r\n {loading ? null : <>\r\n {isAdmin ? : null}\r\n }\r\n \r\n \r\n );\r\n};\r\n\r\nexport default HBVAnswerSheet;","import { uniqueId } from 'lodash';\r\nimport React, { Component } from 'react';\r\nimport { Input, Label } from \"reactstrap\";\r\nimport { DatePicker } from \"jalali-react-datepicker\";\r\n\r\nexport default class DateControl extends Component {\r\n state = {\r\n value: ''\r\n }\r\n componentDidMount() {\r\n this.setState({\r\n ...this.state,\r\n value: this.props.PValue\r\n })\r\n }\r\n componentDidUpdate() {\r\n if (this.props.Instance !== undefined && this.props.Instance.Prop !== undefined) {\r\n let Prop = this.props.Instance.Prop.find(x => x.PID === this.props.PID);\r\n if (Prop !== undefined) {\r\n if (Prop.IPV !== this.state.value) {\r\n let value = '';\r\n value = Prop.IPV;\r\n\r\n this.setState({\r\n ...this.state,\r\n value: value\r\n })\r\n }\r\n }\r\n else if (this.state.value !== '') {\r\n this.setState({\r\n ...this.state,\r\n value: ''\r\n })\r\n }\r\n }\r\n }\r\n \r\n onChange({ value }) {\r\n this.props.onChange(value.format('MM/DD/YYYY'), value.format('HH:mm'));\r\n this.setState({\r\n ...this.state,\r\n value: value.format('MM/DD/YYYY')\r\n })\r\n }\r\n render() {\r\n let id = uniqueId();\r\n if (this.props.Instance !== undefined) {\r\n id = this.props.Instance.ID + this.props.PID;\r\n }\r\n let IsReadOnly = false;\r\n if (this.props.Control !== undefined) {\r\n IsReadOnly = this.props.Control.IsReadOnly !== undefined ? this.props.Control.IsReadOnly : false;\r\n }\r\n return (\r\n <>\r\n {\r\n //this.props.Mode === \"TempData\" || !IsReadOnly ?\r\n \r\n //: \r\n }\r\n \r\n );\r\n };\r\n}","module.exports = __webpack_public_path__ + \"static/media/line-chart.cd1caaca.png\";","export default html => ({ __html: html });\n","import axiosInstance from \"./BaseSetting\";\r\nimport ErrorHandler from \"./ErrorHandler\";\r\nimport { InstanceController } from \"./InstanceController\";\r\nimport ObjectClassController from \"./ObjectClassController\";\r\nimport Parameters from \"./Parameters\";\r\nexport class ConditionManager {\r\n ResultFormID;\r\n FormID;\r\n ActionLink;\r\n ActionFormID;\r\n title = '';\r\n Editable;\r\n MainCondition = new EngineCondition();\r\n ActiveCommand;\r\n isReadonly;\r\n AutoRun = false;\r\n static async GetContentAsync(contentid) {\r\n let content = await ObjectClassController.GetFormAsync(contentid);\r\n let conditionManager = Object.assign(new ConditionManager(), content);\r\n conditionManager.MainCondition = await this.ConvettoClass(conditionManager.MainCondition);\r\n return conditionManager;\r\n }\r\n static async ConvettoClass(temp) {\r\n let result = Object.assign(new EngineCondition(), temp);\r\n for (let i = 0; i < result.sqlCondition?.BCs?.length; i++) {\r\n const BCs = result.sqlCondition.BCs[i];\r\n for (let j = 0; j < BCs.Bts.length; j++) {\r\n const con = BCs.Bts[j];\r\n if (con?.IPV?.includes('@'))\r\n con.IPV = await Parameters.GetValue(con.IPV);\r\n }\r\n\r\n }\r\n if (temp.nextCondition)\r\n temp.nextCondition = this.ConvettoClass(temp.nextCondition);\r\n return result;\r\n }\r\n async SaveAsync() {\r\n return await ObjectClassController.SaveFormAsync(this);\r\n }\r\n}\r\nexport class EngineCondition {\r\n constructor(ocid) {\r\n this.ID = ocid;\r\n }\r\n\r\n analytics = null;\r\n ID = '';\r\n DIS = '';\r\n startFor = null;\r\n recordCount = null;\r\n orderBy = null;\r\n groupBY = null;\r\n groupReturn = null;\r\n sqlCondition = null;\r\n properties = 'ALL';\r\n returnProperties = 'ALL';\r\n backObject = true;\r\n join = null;\r\n onJoin = null;\r\n whereType = 0;\r\n qType = 0;\r\n groupFilterID = null;\r\n isInstance = true;\r\n nextCondition = null;\r\n async GetResult() {\r\n let result = null;\r\n\r\n try {\r\n let temp = this.Convettostring({ ...this })\r\n let respons = await axiosInstance.post('Instance/GetConReport', temp);\r\n if (respons.status === 200)\r\n return respons.data;\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result;\r\n\r\n }\r\n Convettostring(temp) {\r\n temp.sqlCondition = JSON.stringify(temp.sqlCondition);\r\n if (temp.nextCondition)\r\n temp.nextCondition = this.Convettostring({ ...temp.nextCondition });\r\n return temp;\r\n }\r\n\r\n}\r\nexport default class ConditionMaker {\r\n OCID = '';\r\n BCs = [];\r\n currentBlock = -1;\r\n constructor(ocid) {\r\n this.OCID = ocid;\r\n this.AddBlock();\r\n }\r\n AddBlock() {\r\n this.BCs = [...this.BCs, { Bts: [] }]\r\n this.currentBlock++;\r\n }\r\n AddCondition(propid, opration, value, logicOperation) {\r\n let row = { PID: propid, PRA: this.Oprator(opration), IPV: value, NLC: logicOperation ? logicOperation : 'None', SRC: '' };\r\n this.BCs[this.currentBlock].Bts = [...this.BCs[this.currentBlock].Bts, row];\r\n return this;\r\n }\r\n AddConditionBetween(propid, value1,value2, logicOperation) {\r\n let row = { PID: propid, PRA: 'between', IPV: `${value1} and ${value2}`, NLC: logicOperation ? logicOperation : 'None', SRC: '' };\r\n this.BCs[this.currentBlock].Bts = [...this.BCs[this.currentBlock].Bts, row];\r\n return this;\r\n }\r\n RemoveAtEnd(count) {\r\n this.BCs[this.currentBlock].Bts.splice([].length - count, count);\r\n }\r\n\r\n Oprator(simbol) {\r\n let result = '';\r\n switch (simbol) {\r\n case '=':\r\n result = 'Equal';\r\n break;\r\n case '>':\r\n result = 'BigerThan';\r\n break;\r\n case '<':\r\n result = 'SmallThan';\r\n break;\r\n case '<>':\r\n result = 'NotEqual';\r\n break;\r\n case 'like':\r\n result = 'like';\r\n break;\r\n default:\r\n result = simbol\r\n break;\r\n }\r\n return result;\r\n\r\n }\r\n async GetResult() {\r\n return await InstanceController.GetInstancesAsync(JSON.stringify(this));\r\n }\r\n}\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { Button } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nconst ButtonIcon = ({ icon, iconAlign, iconClassName, transform, children, ...rest }) => (\n \n);\n\nButtonIcon.propTypes = {\n ...Button.propTypes,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.array, PropTypes.any]).isRequired,\n children: PropTypes.any,\n iconAlign: PropTypes.oneOf(['left', 'right']),\n iconClassName: PropTypes.string,\n transform: PropTypes.string\n};\n\nButtonIcon.defaultProps = { iconAlign: 'left' };\n\nexport default ButtonIcon;\n","import React, { useState } from \"react\";\r\nimport { Button, Card } from \"reactstrap\";\r\nimport { SurveyInstance } from \"./SurveyInstance\";\r\nimport Parameters from \"../../Engine/Parameters\";\r\n\r\nexport const surveyQuestions = [\r\n { question: \"نحوه اجرای برنامه\", type: \"choice\" },\r\n { question: \"نحوه ی بسته بندی و ارسال نمونه ها\", type: \"choice\" },\r\n { question: \"کیفیت نمونه ارسالی - هماتولوژی\", type: \"choice\" },\r\n { question: \"کیفیت نمونه ارسالی - بیوشیمی\", type: \"choice\" },\r\n { question: \"کیفیت نمونه ارسالی - سرولوژی\", type: \"choice\" },\r\n { question: \"کیفیت نمونه ارسالی - باکتری شناسی\", type: \"choice\" },\r\n { question: \"کیفیت نمونه ارسالی - انگل شناسی\", type: \"choice\" },\r\n { question: \"کیفیت نمونه ارسالی - قارچ شناسی\", type: \"choice\" },\r\n { question: \"کیفیت نمونه ارسالی - غربالگری جنینی\", type: \"choice\" },\r\n { question: \"کیفیت نمونه ارسالی - مولکولی عفونی\", type: \"choice\" },\r\n { question: \"نرم افزار مشاهده گسترش خونی با انتظارات شما چه میزان مطابقت دارد؟\", type: \"choice\" },\r\n { question: \"سامانه eqasonline را چگونه ارزیابی می کنید؟\", type: \"choice\" },\r\n { question: \"نحوه ی پاسخگویی و ارائه اطلاعات توسط مجریان برنامه\", type: \"choice\" },\r\n { question: \"آیا نتایج ارسالی و توضیحات مرتبط مفهوم و گویاست؟\", type: \"yesno\" },\r\n { question: \"آیا می توانید بین نتایج برنامه و برنامه کنترل داخلی کیفیت در آزمایشگاه خود ارتباط برقرار نمائید؟\", type: \"yesno\" },\r\n { question: \"آیا نتایج ارسالی منجر به انجام اقدام اصلاحی / پیشگیرانه در بخشهای مختلف آزمایشگاه شده است؟\", type: \"yesno\" },\r\n { question: \"آیا اقدامات اصلاحی انجام شده پس از دریافت نتایج باعث بهبود عملکرد آزمایشگاه شده است؟\", type: \"yesno\" }\r\n];\r\n\r\nconst Survey = () => {\r\n const [responses, setResponses] = useState({});\r\n\r\n const handleChange = (question, value) => {\r\n setResponses({ ...responses, [question]: value });\r\n };\r\n\r\n const handleSubmit = async () => {\r\n var survey = new SurveyInstance();\r\n let org = await Parameters.GetValue('@orgid');\r\n survey.P8 = org;\r\n survey.P81 = Date.now();\r\n survey.P212 = responses[\"نحوه اجرای برنامه\"];\r\n survey.P213 = responses[\"نحوه ی بسته بندی و ارسال نمونه ها\"];\r\n survey.P214 = responses[\"کیفیت نمونه ارسالی - هماتولوژی\"];\r\n survey.P215 = responses[\"کیفیت نمونه ارسالی - بیوشیمی\"];\r\n survey.P216 = responses[\"کیفیت نمونه ارسالی - سرولوژی\"];\r\n survey.P217 = responses[\"کیفیت نمونه ارسالی - باکتری شناسی\"];\r\n survey.P218 = responses[\"کیفیت نمونه ارسالی - انگل شناسی\"];\r\n survey.P219 = responses[\"کیفیت نمونه ارسالی - قارچ شناسی\"];\r\n survey.P220 = responses[\"کیفیت نمونه ارسالی - غربالگری جنینی\"];\r\n survey.P221 = responses[\"کیفیت نمونه ارسالی - مولکولی عفونی\"];\r\n survey.P222 = responses[\"نرم افزار مشاهده گسترش خونی با انتظارات شما چه میزان مطابقت دارد؟\"];\r\n survey.P223 = responses[\"سامانه eqasonline را چگونه ارزیابی می کنید؟\"];\r\n survey.P224 = responses[\"نحوه ی پاسخگویی و ارائه اطلاعات توسط مجریان برنامه\"];\r\n survey.P225 = responses[\"آیا نتایج ارسالی و توضیحات مرتبط مفهوم و گویاست؟\"];\r\n survey.P226 = responses[\"آیا می توانید بین نتایج برنامه و برنامه کنترل داخلی کیفیت در آزمایشگاه خود ارتباط برقرار نمائید؟\"];\r\n survey.P227 = responses[\"آیا نتایج ارسالی منجر به انجام اقدام اصلاحی / پیشگیرانه در بخشهای مختلف آزمایشگاه شده است؟\"];\r\n survey.P228 = responses[\"آیا اقدامات اصلاحی انجام شده پس از دریافت نتایج باعث بهبود عملکرد آزمایشگاه شده است؟\"];\r\n survey.P229 = SurveyInstance.year;\r\n if (await survey.SaveAsync()) {\r\n localStorage.setItem('@hasSurvey', SurveyInstance.year);\r\n }\r\n window.location.href = \"/\";\r\n };\r\n\r\n return (\r\n \r\n

📋 فرم نظرسنجی

\r\n {surveyQuestions.map((q, index) => (\r\n
\r\n

{q.question}

\r\n {q.type === \"choice\" ? (\r\n [\"خوب\", \"متوسط\", \"ضعیف\"].map((option) => (\r\n \r\n ))\r\n ) : (\r\n [\"بلی\", \"خیر\", \"تاحدودی\"].map((option) => (\r\n \r\n ))\r\n )}\r\n
\r\n ))}\r\n \r\n ✅ ارسال نظرسنجی\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default Survey;\r\n","const windowHeight = window.innerHeight;\n\nexport default () => {\n const scrollTop = window.scrollY;\n let alpha = (scrollTop / windowHeight) * 2;\n alpha >= 1 && (alpha = 1);\n document.getElementsByClassName('navbar-theme')[0].style.backgroundColor = `rgba(11, 23, 39, ${alpha})`;\n};\n","import React, { useState } from 'react';\n\nimport { Link } from 'react-router-dom';\nimport { Nav, NavItem, NavLink } from 'reactstrap';\n\nconst breakpoint = 'lg';\n\nconst LandingRightSideNavItem = () => {\n const [showRegistrationModal, setShowRegistrationModal] = useState(false);\n\n return (\n \n );\n};\n\nexport default LandingRightSideNavItem;\n","import classNames from 'classnames';\nimport React, { useEffect, useState } from 'react';\nimport { Link, NavLink } from 'react-router-dom';\nimport { Collapse, Container, Navbar, NavbarBrand, NavItem } from 'reactstrap';\nimport handleNavbarTransparency from '../../helpers/handleNavbarTransparency';\nimport LandingRightSideNavItem from './LandingRightSideNavItem';\nimport { topNavbarBreakpoint } from '../../config';\n\nconst NavbarStandard = ({collapsed,hideMenu}) => {\n const [navbarCollapsed, setNavbarCollapsed] = useState(true);\n\n useEffect(() => {\n if(!collapsed){\n window.addEventListener('scroll', handleNavbarTransparency);\n return () => window.removeEventListener('scroll', handleNavbarTransparency);\n }\n else{\n setNavbarCollapsed(false);\n }\n }, []);\n\n return (\n \n \n \n سامانه آنلاین پیشگام ایرانیان\n \n \n \n درباره ما\n \n \n {/* setNavbarCollapsed(!navbarCollapsed)} /> */}\n \n {/* */}\n {hideMenu?null:}\n \n \n \n );\n};\nexport default NavbarStandard;\n","import React from 'react';\r\nimport Divider from '../components/common/Divider';\r\nimport FalconCardHeader from '../components/common/FalconCardHeader';\r\n\r\nconst ThemeDivider = (props) => {\r\n return ;\r\n};\r\nconst ThemeCardHeader = (props) => {\r\n // if(props.mode==='design')\r\n // return \r\n // \r\n // ;\r\n // else \r\n return ;\r\n};\r\n\r\nexport { ThemeCardHeader, ThemeDivider };","import React from 'react';\nimport PropTypes, { array, string } from 'prop-types';\nimport { isIterableArray } from '../../helpers/utils';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport Flex from './Flex';\n\nconst Avatar = ({ size, rounded, src, name, emoji, className, mediaClass, isExact, icon }) => {\n const classNames = ['avatar', `avatar-${size}`, className].join(' ');\n const mediaClasses = [rounded ? `rounded-${rounded}` : 'rounded', mediaClass].join(' ');\n\n const getAvatar = () => {\n if (src) {\n if (isIterableArray(src)) {\n return (\n
\n
\n \"\"\n
\n
\n \"\"\n \"\"\n
\n
\n );\n } else {\n return \"\";\n }\n }\n\n if (name) {\n return (\n
\n {isExact ? name : name.match(/\\b\\w/g).join('')}\n
\n );\n }\n\n if (icon) {\n return (\n \n \n \n );\n }\n\n return (\n
\n \n {emoji}\n \n
\n );\n };\n\n return
{getAvatar()}
;\n};\n\nAvatar.propTypes = {\n size: PropTypes.oneOf(['s', 'm', 'l', 'xl', '2xl', '3xl', '4xl', '5xl']),\n rounded: PropTypes.string,\n src: PropTypes.oneOfType([array, string]),\n name: PropTypes.string,\n emoji: PropTypes.string,\n className: PropTypes.string,\n mediaClass: PropTypes.string,\n isExact: PropTypes.bool\n};\n\nAvatar.defaultProps = {\n size: 'xl',\n rounded: 'circle',\n emoji: '😊',\n isExact: false\n};\n\nexport default Avatar;\n","import React, { Component } from 'react';\r\nimport { Badge, Col} from \"reactstrap\";\r\n\r\n\r\nexport default class JoiMultiValueItem extends Component {\r\n\r\n render() {\r\n \r\n return (\r\n \r\n \r\n Inline flexbox container!\r\n x\r\n \r\n \r\n \r\n );\r\n }\r\n};\r\n","import React, { Component } from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport PropTypes from 'prop-types';\r\nimport { Button, Input, InputGroup, Label } from \"reactstrap\";\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport uuid from 'react-uuid'\r\nimport { SearchObject, Utility } from '../../Engine/Common'\r\nimport { Dropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';\r\nimport JoiMultiValueItem from './JoiMultiValueItem';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\n\r\n\r\nexport default class JoiSearchBox extends Component {\r\n state = {\r\n oprator: 'like N\"%#%\"',\r\n placeHolder: 'جستجو',\r\n type: 'INSTANCE',\r\n openmenu: false,\r\n value: '',\r\n list: [],\r\n prevalue: '',\r\n ObjectValue: null,\r\n isMultiValue: false,\r\n };\r\n FirstItem = null;\r\n async KeyUp(event) {\r\n event.preventDefault()\r\n\r\n if (event.key === 'Enter') {\r\n await this.SearchCommand();\r\n }\r\n }\r\n async SearchCommand() {\r\n if (this.state.NoEmptyValue && this.state.value?.replace(/ /g,'') ==='') return;\r\n try {\r\n let result = [];\r\n let oprator = this.props.operator;\r\n if (this.props.operator === undefined)\r\n oprator = \"like N'%{#}%'\";\r\n if (Utility.IsInstanceID(this.state.value))\r\n oprator = \"=\";\r\n result = await SearchObject(this.state.value, this.props.type, oprator, '', this.props.PIDS);\r\n if (result?.length > 1) {\r\n this.setState({ ...this.state, openmenu: !this.state.openmenu, value: '', list: result });\r\n }\r\n else if (result?.length === 1) {\r\n this.SetValue(result[0])\r\n }\r\n else {\r\n this.setState({ ...this.state, openmenu: !this.state.openmenu, value: '', list: [] });\r\n }\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n\r\n async onChange(event) {\r\n\r\n this.setState({\r\n ...this.state,\r\n value: event.target.value,\r\n })\r\n }\r\n async toggle(event) {\r\n let selectedobject = this.state.list.find(x => x.id === event.target.value);\r\n if (selectedobject !== undefined) {\r\n this.setState({ ...this.state, openmenu: false, value: selectedobject.display });\r\n }\r\n\r\n\r\n }\r\n ItemSelected(event) {\r\n event.preventDefault()\r\n let selectedobject = this.state.list.find(x => x.id === event.target.value);\r\n this.SetValue(selectedobject);\r\n }\r\n SetValue(selectedobject) {\r\n if (selectedobject !== undefined) {\r\n this.setState({\r\n ...this.state,\r\n value: selectedobject.display,\r\n ObjectValue: selectedobject\r\n });\r\n this.props.onChange(selectedobject.id, selectedobject);\r\n }\r\n }\r\n\r\n async componentDidMount() {\r\n this.LoadDefaultValue();\r\n }\r\n async componentDidUpdate() {\r\n if (this.FirstItem !== null)\r\n ReactDOM.findDOMNode(this.FirstItem).focus();\r\n await this.LoadDefaultValue();\r\n }\r\n async LoadDefaultValue() {\r\n if (this.props.NoEmptyValue!==this.state.NoEmptyValue) {\r\n this.setState({\r\n ...this.state,\r\n NoEmptyValue: true\r\n })\r\n }\r\n\r\n if (this.props.Instance?.Prop !== undefined) {\r\n let defaultValue = this.props.Instance.Prop.find(x => x.PID === this.props.PID)\r\n if (defaultValue?.IPV !== this.state.ObjectValue?.id && Utility.IsInstanceID(defaultValue?.IPV)) {\r\n let newDisplay = defaultValue.DIS;\r\n if (newDisplay !== undefined) {\r\n let objvalue = await InstanceController.GetDisplay(defaultValue.IPV);\r\n if (objvalue?.display)\r\n newDisplay = objvalue.display;\r\n }\r\n this.setState({\r\n ...this.state,\r\n value: newDisplay,\r\n ObjectValue: { id: defaultValue?.IPV, display: newDisplay }\r\n });\r\n }\r\n else if (defaultValue?.IPV !== this.state.ObjectValue?.id) {\r\n this.setState({\r\n ...this.state,\r\n value: '',\r\n ObjectValue: null\r\n });\r\n }\r\n }\r\n if (Utility.IsInstanceID(this.props.PValue) && this.state.ObjectValue === null) {\r\n let result = await SearchObject(this.props.PValue, this.props.type, '=');\r\n this.setState({\r\n ...this.state,\r\n value: '',\r\n ObjectValue: result\r\n });\r\n }\r\n if (this.props.PValue === 'Clear' && (this.state.ObjectValue !== null || this.state.value !== '')) {\r\n this.setState({\r\n ...this.state,\r\n value: '',\r\n ObjectValue: null\r\n });\r\n }\r\n }\r\n Values() {\r\n return
;\r\n }\r\n handleFocus = (e) => {\r\n e.target.select();\r\n };\r\n render() {\r\n let id = uuid();\r\n let IsReadOnly = false;\r\n if (this.props.Control !== undefined)\r\n IsReadOnly = this.props.Control.IsReadOnly !== undefined ? this.props.Control.IsReadOnly : false;\r\n return (\r\n <>\r\n {this.props.Mode === \"TempData\" || !IsReadOnly ?\r\n <> {this.props.TitleFree ? null : }\r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.state.isMultiValue ? this.Values() : null}\r\n \r\n {this.state.list?.length > 0 ?\r\n \r\n {\r\n this.state.list.map((item, index) => {\r\n return { if (index === 0) this.FirstItem = input; }}\r\n onClick={this.ItemSelected.bind(this)}\r\n className=\"p-2\" value={item.id} key={item.id}>{item.display}\r\n })\r\n }\r\n : null}\r\n : }\r\n \r\n );\r\n }\r\n};\r\n\r\nJoiSearchBox.propTypes = {\r\n oprator: PropTypes.string,\r\n placeHolder: PropTypes.string,\r\n type: PropTypes.string,\r\n openmenu: PropTypes.bool,\r\n value: PropTypes.string,\r\n ReadOnly: PropTypes.bool,\r\n};\r\n\r\nJoiSearchBox.defaultProps = {\r\n oprator: 'like N\"%#%\"',\r\n placeHolder: 'جستجو',\r\n type: 'INSTANCE',\r\n openmenu: false,\r\n value: '',\r\n ReadOnly: false\r\n};\r\n","import moment from 'moment';\n\nexport const isIterableArray = array => Array.isArray(array) && !!array.length;\n\n//===============================\n// Breakpoints\n//===============================\nexport const breakpoints = {\n xs: 0,\n sm: 576,\n md: 768,\n lg: 992,\n xl: 1200,\n xxl: 1540\n};\n\n//===============================\n// Store\n//===============================\nexport const getItemFromStore = (key, defaultValue, store = localStorage) =>\n JSON.parse(store.getItem(key)) || defaultValue;\nexport const setItemToStore = (key, payload, store = localStorage) => store.setItem(key, JSON.stringify(payload));\nexport const getStoreSpace = (store = localStorage) =>\n parseFloat((escape(encodeURIComponent(JSON.stringify(store))).length / (1024 * 1024)).toFixed(2));\n\n//===============================\n// Cookie\n//===============================\nexport const getCookieValue = name => {\n const value = document.cookie.match('(^|[^;]+)\\\\s*' + name + '\\\\s*=\\\\s*([^;]+)');\n return value ? value.pop() : null;\n};\n\nexport const createCookie = (name, value, cookieExpireTime) => {\n const date = new Date();\n date.setTime(date.getTime() + cookieExpireTime);\n const expires = '; expires=' + date.toUTCString();\n document.cookie = name + '=' + value + expires + '; path=/';\n};\n\n//===============================\n// Moment\n//===============================\nexport const getDuration = (startDate, endDate) => {\n if (!moment.isMoment(startDate)) throw new Error(`Start date must be a moment object, received ${typeof startDate}`);\n if (endDate && !moment.isMoment(endDate))\n throw new Error(`End date must be a moment object, received ${typeof startDate}`);\n\n return `${startDate.format('ll')} - ${endDate ? endDate.format('ll') : 'Present'} • ${startDate.from(\n endDate || moment(),\n true\n )}`;\n};\n\nexport const numberFormatter = (number, fixed = 2) => {\n // Nine Zeroes for Billions\n return Math.abs(Number(number)) >= 1.0e9\n ? (Math.abs(Number(number)) / 1.0e9).toFixed(fixed) + 'B'\n : // Six Zeroes for Millions\n Math.abs(Number(number)) >= 1.0e6\n ? (Math.abs(Number(number)) / 1.0e6).toFixed(fixed) + 'M'\n : // Three Zeroes for Thousands\n Math.abs(Number(number)) >= 1.0e3\n ? (Math.abs(Number(number)) / 1.0e3).toFixed(fixed) + 'K'\n : Math.abs(Number(number)).toFixed(fixed);\n};\n\n//===============================\n// Colors\n//===============================\nexport const hexToRgb = hexValue => {\n let hex;\n hexValue.indexOf('#') === 0 ? (hex = hexValue.substring(1)) : (hex = hexValue);\n // Expand shorthand form (e.g. \"03F\") to full form (e.g. \"0033FF\")\n const shorthandRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i;\n const result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(\n hex.replace(shorthandRegex, (m, r, g, b) => r + r + g + g + b + b)\n );\n return result ? [parseInt(result[1], 16), parseInt(result[2], 16), parseInt(result[3], 16)] : null;\n};\n\nexport const rgbColor = (color = colors[0]) => `rgb(${hexToRgb(color)})`;\nexport const rgbaColor = (color = colors[0], alpha = 0.5) => `rgba(${hexToRgb(color)},${alpha})`;\n\nexport const colors = [\n '#2c7be5',\n '#00d97e',\n '#e63757',\n '#39afd1',\n '#fd7e14',\n '#02a8b5',\n '#727cf5',\n '#6b5eae',\n '#ff679b',\n '#f6c343'\n];\n\nexport const themeColors = {\n primary: '#2c7be5',\n secondary: '#748194',\n success: '#00d27a',\n info: '#27bcfd',\n warning: '#f5803e',\n danger: '#e63757',\n light: '#f9fafd',\n dark: '#0b1727'\n};\n\nexport const grays = {\n white: '#fff',\n 100: '#f9fafd',\n 200: '#edf2f9',\n 300: '#d8e2ef',\n 400: '#b6c1d2',\n 500: '#9da9bb',\n 600: '#748194',\n 700: '#5e6e82',\n 800: '#4d5969',\n 900: '#344050',\n 1000: '#232e3c',\n 1100: '#0b1727',\n black: '#000'\n};\n\nexport const darkGrays = {\n white: '#fff',\n 1100: '#f9fafd',\n 1000: '#edf2f9',\n 900: '#d8e2ef',\n 800: '#b6c1d2',\n 700: '#9da9bb',\n 600: '#748194',\n 500: '#5e6e82',\n 400: '#4d5969',\n 300: '#344050',\n 200: '#232e3c',\n 100: '#0b1727',\n black: '#000'\n};\n\nexport const getGrays = isDark => (isDark ? darkGrays : grays);\n\nexport const rgbColors = colors.map(color => rgbColor(color));\nexport const rgbaColors = colors.map(color => rgbaColor(color));\n\n//===============================\n// Echarts\n//===============================\nexport const getPosition = (pos, params, dom, rect, size) => ({\n top: pos[1] - size.contentSize[1] - 10,\n left: pos[0] - size.contentSize[0] / 2\n});\n\n//===============================\n// E-Commerce\n//===============================\nexport const calculateSale = (base, less = 0, fix = 2) => (base - base * (less / 100)).toFixed(fix);\nexport const getTotalPrice = (cart, baseItems) =>\n cart.reduce((accumulator, currentValue) => {\n const { id, quantity } = currentValue;\n const { price, sale } = baseItems.find(item => item.id === id);\n return accumulator + calculateSale(price, sale) * quantity;\n }, 0);\n\n//===============================\n// Helpers\n//===============================\nexport const getPaginationArray = (totalSize, sizePerPage) => {\n const noOfPages = Math.ceil(totalSize / sizePerPage);\n const array = [];\n let pageNo = 1;\n while (pageNo <= noOfPages) {\n array.push(pageNo);\n pageNo = pageNo + 1;\n }\n return array;\n};\n\nexport const capitalize = str => (str.charAt(0).toUpperCase() + str.slice(1)).replace(/-/g, ' ');\n\nexport const routesSlicer = ({ routes, columns = 3, rows }) => {\n const routesCollection = [];\n routes.map(route => {\n if (route.children) {\n return route.children.map(item => {\n if (item.children) {\n return routesCollection.push(...item.children);\n }\n return routesCollection.push(item);\n });\n }\n return routesCollection.push(route);\n });\n\n const totalRoutes = routesCollection.length;\n const calculatedRows = rows || Math.ceil(totalRoutes / columns);\n const routesChunks = [];\n for (let i = 0; i < totalRoutes; i += calculatedRows) {\n routesChunks.push(routesCollection.slice(i, i + calculatedRows));\n }\n return routesChunks;\n};\n\nexport const getPageName = pageName => {\n return window.location.pathname.split('/').slice(-1)[0] === pageName;\n};\n\nexport const copyToClipBoard = textFieldRef => {\n const textField = textFieldRef.current;\n textField.focus();\n textField.select();\n document.execCommand('copy');\n};\n","import axios from 'axios'\r\nimport { AuthenticationController } from './Authentication';\r\nexport const settings = {\r\n RootServer:'https://eqasonline.ir',\r\n //Server: `https://localhost:7276/api/V1/`,\r\n Server: `https://api.eqasonline.ir/api/V1/`,\r\n //Server: `https://api2.eqasonline.ir/api/V1/`,\r\n //Server: `http://185.173.104.152:8654/api/V1/`,\r\n headers: {\r\n ContentType: 'application/json; charset=utf-8;',\r\n \"Access-Control-Allow-Credentials\": true,\r\n 'Access-Control-Allow-Origin': '*',\r\n \"Access-Control-Allow-Headers\": \"Content-Type\",\r\n \"Access-Control-Allow-Methods\": \"POST, GET, DELETE\",\r\n 'Authorization': `Bearer ${localStorage.getItem('token')}`\r\n },\r\n lang: ['fa-IR']\r\n};\r\naxios.defaults.baseURL = settings.Server;\r\naxios.defaults.timeout =800000;\r\naxios.defaults.headers = settings.headers;\r\nvar axiosInstance = axios.create();\r\naxiosInstance.interceptors.request.use(\r\n config => {\r\n config.headers = settings.headers;\r\n return config;\r\n },\r\n error => {\r\n Promise.reject(error)\r\n });\r\naxiosInstance.interceptors.response.use((response) => {\r\n return response\r\n}, async function (error) {\r\n const originalRequest = error.config;\r\n const errorCode = error?.response?.status;\r\n console.log(errorCode)\r\n if (errorCode === 401) {\r\n let result = await AuthenticationController.ReLogin();\r\n if ((!originalRequest._retry) && result) {\r\n originalRequest._retry = true;\r\n axios.defaults.headers['Authorization'] = `Bearer ${localStorage.getItem('token')}`;\r\n return axiosInstance(originalRequest);\r\n }\r\n else{\r\n //AuthenticationController.LogOut();\r\n }\r\n } else if (errorCode === 4001) {\r\n //AuthenticationController.LogOut();\r\n }\r\n\r\n return Promise.reject(error);\r\n});\r\nexport default axiosInstance;\r\n","import React from 'react';\r\nimport { useState } from 'react';\r\nimport { useEffect } from 'react';\r\nimport { BrowserRouter as Router, Route, Switch } from 'react-router-dom';\r\nimport { toast, ToastContainer } from 'react-toastify';\r\nimport { Spinner } from 'reactstrap';\r\nimport { CloseButton, Fade } from '../components/common/Toast';\r\nimport { AuthenticationController } from '../Engine/Authentication';\r\n\r\nimport DashboardLayout from './DashboardLayout';\r\nimport ErrorLayout from './ErrorLayout';\r\n\r\nconst Layout = () => {\r\n const [isInRole, SetIsInRole] = useState(false);\r\n useEffect(()=> {\r\n const fetch=async()=>{\r\n await AuthenticationController.HasRole('R1');\r\n SetIsInRole(true);\r\n }\r\n fetch();\r\n },[])\r\n\r\n return (\r\n isInRole?\r\n }>\r\n \r\n \r\n \r\n\r\n \r\n } position={toast.POSITION.BOTTOM_LEFT} />\r\n :\r\n );\r\n};\r\n\r\nexport default Layout;\r\n","import React from 'react'\r\n\r\nconst OnlineSupport = () => {\r\n \r\n return (\r\n
\r\n )\r\n}\r\n\r\nexport default OnlineSupport","import React, { useState, useEffect } from 'react';\r\nimport { BrowserRouter as Router, Route, Switch } from 'react-router-dom';\r\nimport { toast, ToastContainer } from 'react-toastify';\r\nimport { CloseButton, Fade } from '../components/common/Toast';\r\nimport PGIDashboard from './PDIDashboard';\r\nimport ErrorLayout from './ErrorLayout';\r\nimport LoginForm from '../Pishgam/LoginForm';\r\nimport { AuthenticationController } from '../Engine/Authentication';\r\nimport { Spinner } from 'reactstrap';\r\nimport CertificationPage from '../Pishgam/anonymousPages/CertificationPage';\r\n\r\nconst PGIAdminLayout = () => {\r\n const [isInRole, SetIsInRole] = useState(false);\r\n useEffect(()=> {\r\n const fetch=async()=>{\r\n let role =await AuthenticationController.HasRole('R2');\r\n console.log(role)\r\n SetIsInRole(role);\r\n }\r\n fetch();\r\n },[])\r\n return (\r\n isInRole?\r\n }>\r\n \r\n \r\n \r\n \r\n \r\n \r\n } position={toast.POSITION.BOTTOM_LEFT} />\r\n \r\n : \r\n );\r\n};\r\n\r\nexport default PGIAdminLayout;\r\n","import React from 'react';\r\nimport FormManager from '../EngineForms/FormManager';\r\nimport MorfologyCellCounter from '../Pishgam/AnswerSheet/MorfologyCellCounter';\r\nimport BacteryAnswerSheet from '../Pishgam/AnswerSheet/bactery/BacteryAnswerSheet';\r\nimport TBAnswerSheet from '../Pishgam/AnswerSheet/TBAnswerSheet';\r\nimport HBVAnswerSheet from '../Pishgam/AnswerSheet/HBVAnswerSheet';\r\nimport { Utility } from '../Engine/Common';\r\n\r\n\r\nconst AdminPath = ({ path,params }) => {\r\n let result = null;\r\n console.log(path,params)\r\n if (path && Utility.IsFormID(path))\r\n result = ;\r\n // else if (path === 'forms/morphologyanswersheet')\r\n // result = \r\n else if (path === 'forms/morphologyanswersheet')\r\n result = \r\n else if (path === 'forms/hbvanswer')\r\n result = \r\n else if (path === 'forms/tbanswer')\r\n result = \r\n else if (path === 'forms/bacterybnswersheet')\r\n result = \r\n return result;\r\n}\r\n\r\nexport default AdminPath","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { toast } from 'react-toastify';\r\nimport { Button, Row, Col, FormGroup, Input, CustomInput, Label, Tooltip } from 'reactstrap';\r\nimport { AuthenticationController } from '../Engine/Authentication';\r\nimport { Link, useHistory } from 'react-router-dom';\r\nimport ReCAPTCHA from 'react-google-recaptcha';\r\nimport { Utility } from '../Engine/Common';\r\n\r\nconst LoginForm = ({ setRedirect, hasLabel, layout }) => {\r\n let history = useHistory();\r\n const [userName, setUserName] = useState('');\r\n const [password, setPassword] = useState('');\r\n const [remember, setRemember] = useState(true);\r\n const [isDisabled, setIsDisabled] = useState(true);\r\n const [orgList, setOrgList] = useState([]);\r\n const [notrobot, setNotrobot] = useState(null);\r\n const [tooltipOpen, setTooltipOpen] = useState(false);\r\n const [tooltipOpenpass, setTooltipOpenpass] = useState(false);\r\n const selectedChanged = (event) => {\r\n let selOrg = orgList.find(x => x.id === event.target.value);\r\n localStorage.setItem('org', JSON.stringify(selOrg));\r\n\r\n history.replace(\"/\");\r\n window.location.reload(false);\r\n }\r\n \r\n const HandelLogin = async (e) => {\r\n if (notrobot) {\r\n e.preventDefault();\r\n setIsDisabled(true);\r\n if (!Utility.Pasword(password)) {\r\n setTooltipOpenpass(true);\r\n }\r\n else {\r\n let autenResult = await AuthenticationController.Login(userName, password,undefined,notrobot);\r\n if (autenResult === false) {\r\n setIsDisabled(false);\r\n toast.error(`نام کاربری یا کلمه عبور اشتباه است`);\r\n }\r\n else if (autenResult) {\r\n let userInfo = localStorage.getItem('user-info');\r\n userInfo = JSON.parse(userInfo);\r\n if (userInfo?.organizations.length === 1) {\r\n localStorage.setItem('org', JSON.stringify(userInfo?.organizations[0]));\r\n history.replace(\"/\");\r\n window.location.reload(false);\r\n }\r\n else {\r\n setOrgList(userInfo?.organizations);\r\n }\r\n // history.push(\"/\");\r\n // window.location.reload(false);\r\n }\r\n }\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n setIsDisabled(!userName || !password);\r\n }, [userName, password]);\r\n const onChange = (value) => {\r\n setNotrobot(value)\r\n }\r\n return (<>\r\n {\r\n orgList.length > 0 ? \r\n \r\n {\r\n orgList.map((item) => {\r\n return (\r\n \r\n );\r\n })\r\n }\r\n \r\n :\r\n (<>\r\n
فرم ورود به سامانه
\r\n
\r\n \r\n {hasLabel && }\r\n \r\n همکار محترم در این قسمت شماره موبایل را وارد نمایید!\r\n \r\n {\r\n if (target.value.toLowerCase().includes('pi'))\r\n setTooltipOpen(true);\r\n else\r\n setTooltipOpen(false);\r\n\r\n\r\n setUserName(target.value)\r\n }}\r\n type=\"Phone\"\r\n />\r\n \r\n \r\n {hasLabel && }\r\n \r\n همکار محترم لطفا در وارد کردن پسورد دقت لازم را بفرمایید\r\n \r\n { \r\n setTooltipOpenpass(false);\r\n setPassword(target.value);\r\n }}\r\n type=\"password\"\r\n />\r\n \r\n \r\n \r\n setRemember(target.checked)}\r\n type=\"checkbox\"\r\n />\r\n \r\n \r\n \r\n تغییر کلمه عبور\r\n \r\n \r\n \r\n {notrobot!==null ? \r\n \r\n : null}\r\n \r\n\r\n\r\n {/*
*/}\r\n {/* \r\n \r\n */}\r\n
)\r\n }\r\n );\r\n};\r\n\r\nLoginForm.propTypes = {\r\n layout: PropTypes.string,\r\n hasLabel: PropTypes.bool\r\n};\r\n\r\nLoginForm.defaultProps = {\r\n layout: 'basic',\r\n hasLabel: true\r\n};\r\n\r\n//export default withRedirect(LoginForm);\r\nexport default LoginForm;\r\n","import React from 'react';\nimport { BrowserRouter as Router, Route, Switch } from 'react-router-dom';\nimport { toast, ToastContainer } from 'react-toastify';\nimport { CloseButton, Fade } from '../components/common/Toast';\n\nimport PGILabDashboard from './PGILabDashboard';\nimport ErrorLayout from './ErrorLayout';\nimport { useState } from 'react';\nimport { useEffect } from 'react';\nimport { AuthenticationController } from '../Engine/Authentication';\nimport { Spinner } from 'reactstrap';\n\nconst PGIAdminLayout = () => {\n const [isInRole, SetIsInRole] = useState(false);\n useEffect(()=> {\n const fetch=async()=>{\n let role =await AuthenticationController.HasRole('R6');\n SetIsInRole(true);\n }\n fetch();\n },[])\n\n return (\n isInRole?\n }>\n \n \n \n \n } position={toast.POSITION.BOTTOM_LEFT} />\n :\n );\n};\n\nexport default PGIAdminLayout;\n","import React, { Component } from 'react'\r\nimport { Badge, CustomInput, Input, Label, ListGroupItem, Spinner } from 'reactstrap';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nexport default class TestControl extends Component {\r\n state = {\r\n Test: null,\r\n selected: false,\r\n Group: 'dark',\r\n GroupID: '',\r\n distribution: 'dark',\r\n distributionID: '',\r\n }\r\n\r\n async componentDidMount() {\r\n if (this.state.Test === null) {\r\n let result = await InstanceController.GetDisplay(this.props.TestId);\r\n this.setState({\r\n ...this.state,\r\n Test: result\r\n })\r\n }\r\n }\r\n async componentDidUpdate() {\r\n if (!this.state.loading\r\n && this.props.RunMethod ) {\r\n await this.Action();\r\n }\r\n \r\n }\r\n\r\n async Action() {\r\n if(!this.state.selected && this.state.Group==='dark'){\r\n this.props.EndProccess();\r\n }\r\n else if (this.state.selected) {\r\n this.setState({ ...this.state, selected: false, loading: true })\r\n let strValue = this.props.Domain.GetValue('PC19');\r\n if (this.props.TestId === \"O30E12C5I1\")\r\n strValue = 'O30E12C1#O30E12C8#P17#P18#P19,P23,P14,P20#P20#P10#P19,P23,P14#';\r\n let result = await InstanceController.InvokeMethod('O30E12C60', 'MakeAnalysisReport',\r\n `${strValue}${this.props.Sample.id}#${this.props.TestId}#${this.props.MinGroup}`);\r\n if (result) {\r\n this.setState({ ...this.state, Group: 'success', loading: false, selected: false })\r\n }\r\n else {\r\n this.setState({ ...this.state, Group: 'warning', loading: false, selected: false })\r\n }\r\n this.props.EndProccess();\r\n }\r\n \r\n }\r\n\r\n render() {\r\n return (\r\n \r\n {this.state.Test !== null ?\r\n (this.setState({ ...this.state, selected: !this.state.selected }))}\r\n />\r\n : }\r\n \r\n {this.state.loading ?\r\n : null}\r\n \r\n )\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Card, CardBody, Col, Label, Row, Button, Input, InputGroup } from 'reactstrap';\r\nimport FalconCardHeader from '../components/common/FalconCardHeader';\r\nimport JoiSearchBox from '../components/joi/JoiSearchBox';\r\nimport BaseInstance from '../Engine/BaseInstance';\r\nimport { FromManagerDataTemplate } from '../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport { ConstIdes, PropConstIdes } from './ConstIdes';\r\nimport TestControl from './TestControl';\r\n\r\nexport default class Mode2PreReport extends Component {\r\n state = {\r\n Form: {\r\n Form1ID: '',\r\n Form2ID: '',\r\n Domain: '',\r\n Condition: `%P9#P9%`\r\n },\r\n Sample: {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample,\r\n Value: {}\r\n },\r\n Tests: [],\r\n propid: 'P11',\r\n RunMethod: false, MinGroup: 2,\r\n Turn: 0\r\n }\r\n PropertyHandler(value, obj) {\r\n let sample = { ...this.state.Sample, Value: obj };\r\n this.setState({\r\n ...this.state,\r\n Sample: sample\r\n })\r\n }\r\n TemplateConditionMaker() {\r\n let keyValue = this.state.Form.Form1ID + '@';\r\n keyValue += 'P9:' + this.state.Sample.Value.id + '&';\r\n return keyValue;\r\n }\r\n async LoadTests() {\r\n let FormData = await FromManagerDataTemplate.LoadByAsync(this.TemplateConditionMaker())\r\n // let con = this.state.Form.Condition.replace('#P9', this.state.Sample.Value.id);\r\n // let FormData = await FormDataTemplate.LoadData(this.state.Form.Form1ID, this.state.Form.Form2ID, con);\r\n if (FormData !== null) {\r\n let tempdata = JSON.parse(FormData.Json);\r\n let testlist = [];\r\n for (let i = 0; i < tempdata.length; i++) {\r\n const element = tempdata[i];\r\n if (Array.isArray(element.data)) {\r\n element.data.map((item) => (testlist = [...testlist, item.Prop.find(x => x.PID === this.state.propid).IPV]))\r\n }\r\n\r\n }\r\n this.setState({\r\n ...this.state,\r\n Tests: testlist\r\n })\r\n }\r\n }\r\n async componentDidMount() {\r\n await this.SetParameter();\r\n }\r\n async componentDidUpdate() {\r\n await this.SetParameter();\r\n }\r\n async SetParameter() {\r\n if ((this.state.Form.Form1ID === '' && this.props.Params.fid1 !== undefined && this.props.Params.fid2 !== undefined)\r\n || (this.props.Params.fid1 !== this.state.Form.Form1ID)) {\r\n let domain = await InstanceController.LoadInstanceAsync(this.props.Params.dom);\r\n domain.display = domain.DIS;\r\n domain.id = domain.ID;\r\n let propid = 'P11';\r\n if (domain.id === 'O30E23C2I10')\r\n propid = 'P33'\r\n if (domain.id === 'O30E23C2I14')\r\n propid = 'P18'\r\n this.setState({\r\n ...this.state,\r\n Form: {\r\n ...this.state.Form,\r\n Form1ID: this.props.Params.fid1,\r\n Form2ID: this.props.Params.fid2,\r\n Domain: new BaseInstance(domain)\r\n },\r\n propid\r\n });\r\n }\r\n }\r\n Run() {\r\n this.setState({\r\n ...this.state,\r\n RunMethod: true\r\n })\r\n }\r\n EndProccess() {\r\n let count = this.state.Turn+1;\r\n let RunMethod=true;\r\n if(this.state.Tests.length<=count){\r\n RunMethod=false;\r\n count=0;\r\n }\r\n\r\n this.setState({\r\n ...this.state,\r\n Turn: count,RunMethod\r\n })\r\n }\r\n RowBuilder() {\r\n let result = [];\r\n if (this.state.Tests.length > 0) {\r\n let total = Math.ceil(this.state.Tests.length / 3);\r\n for (var i = 0; i < total; i++) {\r\n result = [...result, < Row key={i} >\r\n {this.state.Tests.map((testid, key) => {\r\n if (key >= i * 3 && key < ((i + 1) * 3)) {\r\n return (\r\n \r\n \r\n );\r\n }\r\n else\r\n return null;\r\n })}\r\n ];\r\n }\r\n }\r\n return result;\r\n }\r\n render() {\r\n let domainid = this.state.Form.Domain.ID;\r\n if (domainid === 'O30E23C2I20')\r\n domainid = 'O30E23C2I18';\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.setState({\r\n ...this.state,\r\n MinGroup: event.currentTarget.value\r\n })\r\n }} />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.RowBuilder()}\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Card, CardBody, Col, Table, Row } from 'reactstrap';\r\nimport FalconCardHeader from '../components/common/FalconCardHeader';\r\nimport Flex from '../components/common/Flex';\r\nimport { SearchObject } from '../Engine/Common';\r\nimport { round, trim } from 'lodash';\r\nexport default class TreeDataGrid extends Component {\r\n state = {\r\n data: null,\r\n show: false\r\n }\r\n \r\n async componentDidUpdate() {\r\n if ((this.state.data === null || this.state.data.length === 0) && this.props.Data !== undefined && this.props.Data.length > 0) {\r\n let data = this.props.Data;\r\n if (this.props.CompeletedData === undefined)\r\n data = await this.addvalue(this.props.Data);\r\n this.setState({\r\n ...this.state,\r\n data: data,\r\n })\r\n }\r\n }\r\n async addvalue(data) {\r\n for (var i = 0; i < data.length; i++) {\r\n\r\n let objtemp = await SearchObject(data[i].id, '', '');\r\n data[i].name = objtemp[0].display;\r\n if (data[i].children !== undefined)\r\n data[i].children = await this.addvalue(data[i].children);\r\n }\r\n return data;\r\n }\r\n Grid(data) {\r\n if (data !== null) {\r\n let result = \r\n \r\n \r\n {\r\n this.props.setting.columns.map((column) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n {this.Row(data, 1)}\r\n
\r\n {column.title}\r\n
\r\n return result;\r\n }\r\n\r\n }\r\n compare(a, b) {\r\n if (a.QTY > b.QTY) {\r\n return -1;\r\n }\r\n if (a.QTY < b.QTY) {\r\n return 1;\r\n }\r\n return 0;\r\n }\r\n Row(data, level) {\r\n let result = null;\r\n data = data.sort(this.compare);\r\n console.log(data)\r\n result = data.map((item, index) => (<>\r\n \r\n {this.props.setting.columns.map((column, colIndex) => {\r\n let result = null;\r\n if (colIndex === 0)\r\n result = \r\n \r\n {level === 1 ?

{item[column.PName]?? 'N.A'}

: ' '}\r\n {level === 2 ?

{trim(item[column.PName])===''? 'N.A':item[column.PName]}

: ' '}\r\n {level === 3 ?

{trim(item[column.PName])===''? 'N.A':item[column.PName]}

: ' '}\r\n
\r\n ;\r\n else {\r\n if (item[column.PName] !== undefined) {\r\n let value = item[column.PName].find(x => x[column.where.PName] === column.where.value);\r\n result = {value !== undefined ? round(value[column.where.pvalue], 2) : ' '};\r\n }\r\n else\r\n result = {' '};\r\n\r\n }\r\n return result;\r\n })}\r\n \r\n {item.children !== undefined && this.props.setting.depLevel > level ? this.Row(item.children, level + 1) : null}\r\n ))\r\n return result;\r\n }\r\n render() {\r\n return (\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n { (this.Grid(this.state.data)) }\r\n \r\n \r\n\r\n );\r\n\r\n }\r\n}\r\nconst isDark = false;\r\n","import ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport React, { Component } from 'react';\r\nimport { Button, Card, CardBody, Col, Label, Row } from 'reactstrap';\r\nimport JoiSearchBox from '../components/joi/JoiSearchBox';\r\nimport { SearchObject } from '../Engine/Common';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport { ConstIdes, Domain, PropConstIdes, StaticCondition } from './ConstIdes';\r\nimport * as echarts from 'echarts';\r\nimport FalconCardHeader from '../components/common/FalconCardHeader';\r\nimport TreeDataGrid from './TreeDataGrid';\r\nexport default class Mode2PreReportCA extends Component {\r\n state = {\r\n Form: {\r\n Form1ID: '',\r\n Form2ID: '',\r\n Domain: '',\r\n Condition: `''P9''%''#P9''`\r\n },\r\n Sample: {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample,\r\n Value: {}\r\n },\r\n Labratory: {\r\n col: \"3\",\r\n pid: PropConstIdes.Lab,\r\n controlType: \"SearchControl\",\r\n title: \"آزمایشگاه\",\r\n source: ConstIdes.Lab,\r\n Value: {}\r\n },\r\n Data: []\r\n }\r\n async componentDidMount() {\r\n if (this.state.Form.Domain === '' && this.props.match.params !== undefined) {\r\n let domain = Domain.find(x => x.sec === this.props.match.params.dom);\r\n //await SearchObject(this.props.match.params.dom, 'INSTANCE', '=')\r\n\r\n this.state.Form.Domain = { ...domain, id: domain.sec };\r\n this.setState({\r\n ...this.state,\r\n Form: this.state.Form\r\n })\r\n }\r\n }\r\n async PropertyHandler(pid, value, obj) {\r\n\r\n if (pid.includes(ConstIdes.Sample + 'I')) {\r\n this.state.Sample.Value = value;\r\n this.setState({\r\n ...this.state,\r\n Sample: this.state.Sample\r\n })\r\n }\r\n else if (pid.includes(ConstIdes.Lab + 'I')) {\r\n this.state.Labratory.Value = value;\r\n this.setState({\r\n ...this.state,\r\n Labratory: this.state.Labratory\r\n })\r\n\r\n }\r\n }\r\n async LoadTests() {\r\n let domain = this.state.Form.Domain;//Domain.find(x => x.sec === this.state.Form.Domain.id);\r\n let conditiongroup = StaticCondition.ReportGroupTorch;\r\n if (domain.sec === 'O30E23C2I9' && domain.id !== 'O30E23C2I8') {\r\n conditiongroup = StaticCondition.ParaBKCondition;\r\n }\r\n\r\n conditiongroup = conditiongroup.replaceAll('#P9', this.state.Sample.Value.id)\r\n .replaceAll('#Qtype', 'group')\r\n .replaceAll('#Props', domain.Props)\r\n .replaceAll('#PIDTest', domain.PIDTest)\r\n .replaceAll('#resultId', domain.resultId)\r\n .replaceAll('#PIDResult', domain.PIDResult)\r\n .replaceAll('#SR', ` `);\r\n //.replaceAll('#SR', `{\"title\":\"\",\"ID\":\"E0C24\",\"ref\":\"''${this.props.Sample.id}'',''${this.props.TestId}''\"}`);\r\n\r\n let result = await InstanceController.GetReport(conditiongroup);\r\n await this.groupArrayOfObjects(result)\r\n this.setState({\r\n ...this.state,\r\n Data: result\r\n })\r\n }\r\n async groupArrayOfObjects(list) {\r\n for (var i = 0; i < list.length; i++) {\r\n let item = list[i];\r\n item.value = item.QTY;\r\n item.name = (await SearchObject(item.id, 'INSTANCE', '='))[0].display + ' ' + (item.children === undefined ? item.QTY : '');\r\n if (item.children !== undefined)\r\n await this.groupArrayOfObjects(item.children);\r\n }\r\n };\r\n getOption(data) {\r\n return {\r\n tooltip: {\r\n text: 'Torch',\r\n },\r\n visualMap: {\r\n type: 'continuous',\r\n min: 0,\r\n max: 10,\r\n inRange: {\r\n color: ['#2F93C8', '#AEC48F', '#FFDB5C', '#F98862']\r\n }\r\n },\r\n series: {\r\n type: 'sunburst',\r\n nodeClick: false,\r\n data: data,\r\n radius: [0, '100%'],\r\n textStyle: {\r\n fontSize: 9\r\n },\r\n label: {\r\n rotate: 'radial'\r\n },\r\n },\r\n\r\n };\r\n };\r\n render() {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.state.Form.Domain.sec !== 'O30E23C2I9' && this.state.Form.Domain.id !== 'O30E23C2I8' ?\r\n \r\n \r\n : null\r\n\r\n }\r\n \r\n \r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { QrReader } from 'react-qr-reader';\r\nimport { Button, ButtonGroup, Card, CardBody, CardFooter, CardTitle, Col, FormGroup, Label, Row, Spinner } from 'reactstrap';\r\nimport Flex from '../components/common/Flex';\r\nimport JoiSearchBox from '../components/joi/JoiSearchBox';\r\nimport ConditionMaker from '../Engine/ConditionMaker';\r\nimport FormManager from '../EngineForms/FormManager';\r\nimport { ConstIdes, PropConstIdes } from './ConstIdes';\r\nimport { SendProccess } from './PishgamContext';\r\nimport moment from 'moment';\r\n\r\nexport default class SendingProccess extends Component {\r\n state = {\r\n DataLoaded: true,\r\n Labratory: {\r\n col: \"3\",\r\n pid: PropConstIdes.Lab,\r\n controlType: \"SearchControl\",\r\n title: \"آزمایشگاه\",\r\n source: ConstIdes.Lab,\r\n Value: ''\r\n },\r\n Period: {\r\n col: \"3\",\r\n pid: PropConstIdes.Period,\r\n controlType: \"SearchControl\",\r\n title: \"دوره\",\r\n source: ConstIdes.Period,\r\n Value: ''\r\n },\r\n ReportResult: [],\r\n ActiveBarcode: false\r\n }\r\n labid = '';\r\n periodid = '';\r\n async PropertyHandler(code, Value, obj) {\r\n let instances = [];\r\n this.setState({\r\n ...this.state,\r\n ReportResult: instances,\r\n DataLoaded: false\r\n })\r\n if (code === 0) {\r\n this.labid = Value;\r\n }\r\n else if (code === 1) {\r\n this.periodid = Value;\r\n }\r\n if (this.labid !== '' && this.periodid !== '') {\r\n let condition = new ConditionMaker('O30E12C64')\r\n condition.AddCondition('P8', '=', `${this.labid}`, 'and');\r\n condition.AddCondition('P3', '=', `${this.periodid}`)\r\n instances = await condition.GetResult();\r\n }\r\n console.log(instances)\r\n this.setState({\r\n ...this.state,\r\n ReportResult: instances,\r\n DataLoaded: true\r\n })\r\n }\r\n componentDidMount() {\r\n const gotDevices = (mediaDevices) =>\r\n new Promise((resolve, reject) => {\r\n const availableVideoInputs = []\r\n mediaDevices.forEach(mediaDevice => {\r\n if (mediaDevice.kind === 'videoinput') {\r\n availableVideoInputs.push({\r\n deviceId: mediaDevice.deviceId,\r\n label: mediaDevice.label\r\n })\r\n }\r\n })\r\n\r\n if (availableVideoInputs.length > 0) {\r\n resolve(availableVideoInputs)\r\n } else {\r\n reject(new Error('ERR::NO_MEDIA_TO_STREAM'))\r\n }\r\n });\r\n\r\n navigator.mediaDevices.enumerateDevices().then(gotDevices)\r\n .then((availableVideoInputs) =>{console.log(availableVideoInputs); this.setState({ ...this.state, availableVideoInputs })})\r\n .catch((err) => this.setState({ ...this.state, hasError: err }))\r\n\r\n }\r\n async Update(type) {\r\n this.setState({\r\n ...this.state,\r\n DataLoaded: false\r\n })\r\n let date = moment().format('MM/DD/YYYY HH:mm');\r\n let ReportResult = this.state.ReportResult;\r\n ReportResult.map(async (item) => {\r\n let sendProccess = new SendProccess(item);\r\n if (type === 0) {\r\n sendProccess.PakingDate = date;\r\n }\r\n else if (type === 1) {\r\n sendProccess.SendDate = date;\r\n }\r\n await sendProccess.SaveAsync();\r\n });\r\n this.setState({\r\n ...this.state,\r\n ReportResult,\r\n DataLoaded: true\r\n })\r\n }\r\n async Barcodered(result, error) {\r\n if (result) {\r\n let barcode = result.text;\r\n if (barcode.includes('/'))\r\n barcode = barcode.split('/')[barcode.split('/').length - 1];\r\n this.setState({\r\n ...this.state, ActiveBarcode: false,\r\n Labratory: { ...this.state.Labratory, Value: barcode }\r\n })\r\n this.PropertyHandler(0, barcode)\r\n }\r\n }\r\n render() {\r\n\r\n return (\r\n <>\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {!this.state.ActiveBarcode ? <>\r\n \r\n \r\n :\r\n \r\n \r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.state.DataLoaded ?\r\n \r\n // \r\n : \r\n }\r\n \r\n \r\n );\r\n }\r\n}\r\n","import { faCheck } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, CardFooter, Input, Spinner, Table } from 'reactstrap';\r\nimport { NewInstance } from '../../Engine/BaseInstance';\r\nimport { SearchObject, Utility } from '../../Engine/Common';\r\nimport { FromManagerDataTemplate } from '../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport FormManager from '../../EngineForms/FormManager'\r\nimport { ThemeCardHeader } from '../../EngineForms/ThemeControl';\r\nconst MorfologyExpAnswer = () => {\r\n const [cellTypeList, setCellTypeList] = useState();\r\n const [data, setData] = useState({ items: [], a: 1 });\r\n const [instance, setInstance] = useState(NewInstance());\r\n const [reportBuilding, setreportBuilding] = useState(0);\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp = await SearchObject('', 'O30E12C47', '<>', ' order by convert(int,PC2) ');\r\n setCellTypeList(temp);\r\n }\r\n if (!cellTypeList)\r\n fetch();\r\n }, [cellTypeList])\r\n\r\n const onChangedCellCounterValue = (id, value, type) => {\r\n let items = data.items;\r\n let newitem = items.find(x => x.id === id);\r\n if (!newitem) {\r\n newitem = { id: id }\r\n items = [...items, newitem];\r\n }\r\n newitem[type] = value;\r\n setData({ ...data, items });\r\n }\r\n const PropertyChanged = async (value, prop) => {\r\n if (prop === 'P9') {\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${value.id}#expected#`);\r\n if (tempData) {\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n setData(temp);\r\n let ins = NewInstance();\r\n ins.Prop.push({ PID: 'P9', IPV: temp.Sample.id, OBJ: temp.Sample });\r\n ins.Prop.push({ PID: 'P59', IPV: temp.Diagnosis.id, OBJ: temp.Diagnosis });\r\n setInstance(ins)\r\n }\r\n else {\r\n let newdata = { items: [] };\r\n newdata.Sample = value;\r\n setData({ ...newdata });\r\n let ins = NewInstance();\r\n ins.Prop.push({ PID: 'P9', IPV: value.id, OBJ: value });\r\n setInstance(ins)\r\n }\r\n }\r\n else if (prop === 'P59') {\r\n let ins = { ...instance };\r\n let index = ins.Prop.findIndex(x => x.PID === 'P59');\r\n ins.Prop.splice(index, index > -1 ? 1 : 0, { PID: 'P59', IPV: value.id, OBJ: value })\r\n setInstance(ins)\r\n //setData(tempData);\r\n }\r\n }\r\n const Save = async () => {\r\n if (data) {\r\n data.Diagnosis = instance.Prop.find(x=>x.PID==='P59').OBJ;\r\n let temp = new FromManagerDataTemplate();\r\n if (data.ID)\r\n temp.ID = data.ID;\r\n temp.ConditionValue = `#${data.Sample.id}#expected#`;\r\n temp.Json = JSON.stringify(data);\r\n await temp.SaveAsync();\r\n }\r\n }\r\n const BuildReport=async()=>{\r\n setreportBuilding(1);\r\n\r\n let result = await InstanceController.InvokeMethod('O30E12C60', 'GetMorfoResultCount',\r\n `${instance.Prop.find(x=>x.PID==='P9').IPV}#${instance.Prop.find(x=>x.PID==='P59').IPV}`);\r\n if(Utility.IsInstanceID(result))\r\n setreportBuilding(2);\r\n console.log(result)\r\n }\r\n return (\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n cellTypeList?.map(item => {\r\n return (\r\n \r\n \r\n \r\n );\r\n })\r\n }\r\n \r\n
Cell TypeMinimumMaximum
{item.display}\r\n x.id === item.id)?.min ?? ''}\r\n onChange={({ target }) => onChangedCellCounterValue(item.id, target.value, 'min')}\r\n />\r\n x.id === item.id)?.max ?? ''}\r\n onChange={({ target }) => onChangedCellCounterValue(item.id, target.value, 'max')}\r\n />
\r\n
\r\n \r\n \r\n \r\n {reportBuilding>0?(reportBuilding==1?:):null}\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default MorfologyExpAnswer;","import { faCheck } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useState } from 'react';\r\nimport { Button, Card, CardBody, CardFooter, Col, Row, Spinner } from 'reactstrap';\r\nimport JoiSearchBox from '../components/joi/JoiSearchBox';\r\nimport { Utility } from '../Engine/Common';\r\nimport { FromManagerDataTemplate } from '../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport { ThemeCardHeader } from '../EngineForms/ThemeControl';\r\nimport { ConstIdes, PropConstIdes } from './ConstIdes';\r\n\r\nconst ParasiteExpectedAnswer = () => {\r\n const [reportBuilding, setreportBuilding] = useState(0);\r\n const [data, setData] = useState({});\r\n\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample\r\n };\r\n const parasite = {\r\n col: \"3\",\r\n pid: 'PC440',\r\n controlType: \"SearchControl\",\r\n title: \"جواب مورد انتظار انگل\",\r\n source: 'E12C1'\r\n };\r\n const PropertyHandler = async (value, obj, pid) => {\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${obj.id}#expected#`);\r\n if (tempData) {\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n setData(temp);\r\n }\r\n else {\r\n let newdata = {};\r\n newdata.Sample = obj;\r\n setData({ ...newdata });\r\n }\r\n\r\n }\r\n const Save = async () => {\r\n if (data && data.Sample) {\r\n let temp = new FromManagerDataTemplate();\r\n if (data.ID)\r\n temp.ID = data.ID;\r\n temp.ConditionValue = `#${data.Sample.id}#expected#`;\r\n temp.Json = JSON.stringify(data);\r\n await temp.SaveAsync();\r\n }\r\n }\r\n const BuildReport = async () => {\r\n setreportBuilding(1);\r\n let result = await InstanceController.InvokeMethod('O30E12C60', 'GetResultCount',\r\n `${data.Sample.id}#O30E12C12#PC440#1`);\r\n if(Utility.IsInstanceID(result))\r\n setreportBuilding(2);\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n setData({ ...data, Diagnosis: obj })}\r\n PID={parasite.pid} placeHolder={parasite.title} />\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {reportBuilding > 0 ? (reportBuilding === 1 ? : ) : null}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default ParasiteExpectedAnswer;","import { faCheck } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useState } from 'react';\r\nimport { Button, Card, CardBody, CardFooter, Col, Row, Spinner } from 'reactstrap';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport { Utility } from '../../Engine/Common';\r\nimport { FromManagerDataTemplate } from '../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport { ThemeCardHeader } from '../../EngineForms/ThemeControl';\r\nimport { ConstIdes, PropConstIdes } from '../ConstIdes';\r\nconst BKExpectAnswer = () => {\r\n const [reportBuilding, setreportBuilding] = useState(0);\r\n const [data, setData] = useState({});\r\n\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample\r\n };\r\n const parasite = {\r\n col: \"3\",\r\n pid: 'PC440',\r\n controlType: \"SearchControl\",\r\n title: \"جواب مورد انتظار BK\",\r\n source: 'E12C9'\r\n };\r\n const PropertyHandler = async (value, obj, pid) => {\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${obj.id}#expected#`);\r\n console.log(tempData, obj,value)\r\n if (tempData!==null) {\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n setData(temp);\r\n }\r\n else {\r\n let newdata = {};\r\n newdata.Sample = obj;\r\n setData({ ...newdata });\r\n }\r\n\r\n }\r\n const Save = async () => {\r\n if (data && data.Sample) {\r\n let temp = new FromManagerDataTemplate();\r\n if (data.ID)\r\n temp.ID = data.ID;\r\n temp.ConditionValue = `#${data.Sample.id}#expected#`;\r\n temp.Json = JSON.stringify(data);\r\n await temp.SaveAsync();\r\n }\r\n }\r\n const BuildReport = async () => {\r\n setreportBuilding(1);\r\n console.log(data)\r\n let result = await InstanceController.InvokeMethod('O30E12C60', 'GetResultCount',\r\n `${data.Sample.id}#O30E12C11#PC490#1`);\r\n if(Utility.IsInstanceID(result))\r\n setreportBuilding(2);\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n setData({ ...data, Diagnosis: obj })}\r\n PID={parasite.pid} placeHolder={parasite.title} />\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {reportBuilding > 0 ? (reportBuilding === 1 ? : ) : null}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default BKExpectAnswer;","import React from 'react';\r\nimport { Col, Input, Label, Row } from 'reactstrap';\r\n\r\nconst TorchAnswerRow = ({test,answers,onChanged,value}) => {\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n onChanged(test,target.value)}>\r\n \r\n {answers.map(answer=>)}\r\n \r\n \r\n \r\n\r\n );\r\n};\r\n\r\nexport default TorchAnswerRow;","import { faCheck } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, CardFooter, Col, Row, Spinner } from 'reactstrap';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport { Utility } from '../../Engine/Common';\r\nimport { FromManagerDataTemplate } from '../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport { ThemeCardHeader } from '../../EngineForms/ThemeControl';\r\nimport { ConstIdes, PropConstIdes } from '../ConstIdes';\r\nimport TorchAnswerRow from './TorchAnswerRow';\r\n\r\nconst TorchExpectedAnsawer = () => {\r\n const [reportBuilding, setreportBuilding] = useState(0);\r\n const [data, setData] = useState({});\r\n const [tests, setTests] = useState([]);\r\n const [answers, setResults] = useState([]);\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp1 = await InstanceController.GetInstancesAsync('E12C11');\r\n let temp2 = await InstanceController.GetInstancesAsync('E12C12');\r\n setTests(temp1);\r\n setResults(temp2)\r\n }\r\n fetch();\r\n }, [])\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample\r\n };\r\n\r\n const PropertyHandler = async (value, obj, pid) => {\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${obj.id}#expected#`);\r\n if (tempData) {\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n console.log(temp)\r\n setData(temp);\r\n }\r\n else {\r\n let newdata = { Rows: [] };\r\n tests.map(test => newdata.Rows.push({\r\n Test: { id: test.ID, display: test.DIS }\r\n , Diagnosis: {}\r\n }))\r\n newdata.Sample = obj;\r\n setData({ ...newdata });\r\n }\r\n\r\n }\r\n const Save = async () => {\r\n if (data && data.Sample) {\r\n let temp = new FromManagerDataTemplate();\r\n if (data.ID)\r\n temp.ID = data.ID;\r\n temp.ConditionValue = `#${data.Sample.id}#expected#`;\r\n temp.Json = JSON.stringify(data);\r\n await temp.SaveAsync();\r\n }\r\n }\r\n const BuildReport = async () => {\r\n setreportBuilding(1);\r\n //'#E12C15#PC495,PC496,PC498#0#O30E12C103'\r\n let result = await InstanceController.InvokeMethod('O30E12C60', 'GetResultCount',\r\n `${data.Sample.id}#E12C15#PC495,PC496,PC498#0#O30E12C103#P158`);\r\n if (Utility.IsInstanceID(result))\r\n setreportBuilding(2);\r\n }\r\n const onChanged = (test, answer) => {\r\n data.Rows.map(row => {\r\n if (row.Test.id === test.ID) {\r\n let dig = answers.find(x => x.ID === answer);\r\n row.Diagnosis = { id: dig.ID, display: dig.DIS };\r\n }\r\n return row;\r\n })\r\n setData({ ...data })\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {tests.map(test => (\r\n x.Test.id === test.ID)?.Diagnosis?.id} onChanged={onChanged} />\r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n {reportBuilding > 0 ? (reportBuilding === 1 ? : ) : null}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default TorchExpectedAnsawer;","import { faCheck } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, CardFooter, Col, Row, Spinner } from 'reactstrap';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport { Utility } from '../../Engine/Common';\r\nimport { FromManagerDataTemplate } from '../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport { ThemeCardHeader } from '../../EngineForms/ThemeControl';\r\nimport { ConstIdes, PropConstIdes } from '../ConstIdes';\r\nimport TorchAnswerRow from './TorchAnswerRow';\r\n\r\nconst WrightExpectedAnswer = () => {\r\n const [reportBuilding, setreportBuilding] = useState(0);\r\n const [data, setData] = useState({});\r\n const [tests, setTests] = useState([]);\r\n const [answers, setResults] = useState([]);\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp1 = await InstanceController.GetInstancesAsync('E12C3');\r\n let temp2 = await InstanceController.GetInstancesAsync('E12C4');\r\n setTests(temp1);\r\n setResults(temp2)\r\n }\r\n fetch();\r\n }, [])\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample\r\n };\r\n\r\n const PropertyHandler = async (value, obj, pid) => {\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${obj.id}#expected#`);\r\n if (tempData) {\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n console.log(temp)\r\n setData(temp);\r\n }\r\n else {\r\n let newdata = { Rows: [] };\r\n tests.map(test => newdata.Rows.push({\r\n Test: { id: test.ID, display: test.DIS }\r\n , Diagnosis: {}\r\n }))\r\n newdata.Sample = obj;\r\n setData({ ...newdata });\r\n }\r\n\r\n }\r\n const Save = async () => {\r\n if (data && data.Sample) {\r\n let temp = new FromManagerDataTemplate();\r\n if (data.ID)\r\n temp.ID = data.ID;\r\n temp.ConditionValue = `#${data.Sample.id}#expected#`;\r\n temp.Json = JSON.stringify(data);\r\n await temp.SaveAsync();\r\n }\r\n }\r\n const BuildReport = async () => {\r\n setreportBuilding(1);\r\n let result = await InstanceController.InvokeMethod('O30E12C60', 'GetResultCount',\r\n `${data.Sample.id}#E12C7#PC481,PC482#0#O30E12C104#P159`);\r\n if (Utility.IsInstanceID(result))\r\n setreportBuilding(2);\r\n }\r\n const onChanged = (test, answer) => {\r\n data.Rows.map(row => {\r\n if (row.Test.id === test.ID) {\r\n let dig = answers.find(x => x.ID === answer);\r\n row.Diagnosis = { id: dig.ID, display: dig.DIS };\r\n }\r\n })\r\n setData({ ...data })\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {tests.map(test => (\r\n x.Test.id === test.ID)?.Diagnosis?.id} onChanged={onChanged} />\r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n {reportBuilding > 0 ? (reportBuilding === 1 ? : ) : null}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default WrightExpectedAnswer;","import { faCheck } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, CardFooter, Col, Row, Spinner } from 'reactstrap';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport { Utility } from '../../Engine/Common';\r\nimport { FromManagerDataTemplate } from '../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport { ThemeCardHeader } from '../../EngineForms/ThemeControl';\r\nimport { ConstIdes, PropConstIdes } from '../ConstIdes';\r\nimport TorchAnswerRow from './TorchAnswerRow';\r\n\r\nconst SerologyExpectedAnswer = () => {\r\n const [reportBuilding, setreportBuilding] = useState(0);\r\n const [data, setData] = useState({});\r\n const [tests, setTests] = useState([]);\r\n const [answers, setResults] = useState([]);\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp1 = await InstanceController.GetInstancesAsync('O30E12C15');\r\n let temp2 = await InstanceController.GetInstancesAsync('O30E12C16');\r\n setTests(temp1);\r\n setResults(temp2)\r\n }\r\n fetch();\r\n }, [])\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample\r\n };\r\n\r\n const PropertyHandler = async (value, obj, pid) => {\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${obj.id}#expected#`);\r\n if (tempData) {\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n console.log(temp)\r\n setData(temp);\r\n }\r\n else {\r\n let newdata = { Rows: [] };\r\n tests.map(test => newdata.Rows.push({\r\n Test: { id: test.ID, display: test.DIS }\r\n , Diagnosis: {}\r\n }))\r\n newdata.Sample = obj;\r\n setData({ ...newdata });\r\n }\r\n\r\n }\r\n const Save = async () => {\r\n if (data && data.Sample) {\r\n let temp = new FromManagerDataTemplate();\r\n if (data.ID)\r\n temp.ID = data.ID;\r\n temp.ConditionValue = `#${data.Sample.id}#expected#`;\r\n temp.Json = JSON.stringify(data);\r\n await temp.SaveAsync();\r\n }\r\n }\r\n const BuildReport = async () => {\r\n setreportBuilding(1);\r\n let result = await InstanceController.InvokeMethod('O30E12C60', 'GetResultCount',\r\n `${data.Sample.id}#O30E12C20#P25,P26,P29#0#O30E12C1#P17`);\r\n if (Utility.IsInstanceID(result))\r\n setreportBuilding(2);\r\n }\r\n const onChanged = (test, answer) => {\r\n data.Rows.map(row => {\r\n if (row.Test.id === test.ID) {\r\n let dig = answers.find(x => x.ID === answer);\r\n row.Diagnosis = { id: dig.ID, display: dig.DIS };\r\n }\r\n return row;\r\n })\r\n setData({ ...data })\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {tests.map(test => (\r\n x.Test.id === test.ID)?.Diagnosis?.id} onChanged={onChanged} />\r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n {reportBuilding > 0 ? (reportBuilding === 1 ? : ) : null}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default SerologyExpectedAnswer;","import React, { useEffect, useState } from 'react';\r\nimport { Card, CardBody } from 'reactstrap';\r\nimport BaseInstance from '../../Engine/BaseInstance';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport FormManager from '../../EngineForms/FormManager';\r\nimport AdminReportHeader from '../AdminReportHeader';\r\nimport NoData from '../NoData';\r\nimport ReportHeader from '../ReportHeader';\r\n\r\nconst BloodControlReport = ({ match }) => {\r\n const [domain, setDomain] = useState();\r\n const [domainData, setDomainData] = useState();\r\n\r\n useEffect(() => {\r\n const fetch = async () => {\r\n if (match.params.dom) {\r\n let dom = await InstanceController.LoadInstanceAsync(match.params.dom);\r\n dom.id = dom.ID;\r\n dom.display = dom.DIS;\r\n let dds = (new BaseInstance(dom)).GetValue('PC19');\r\n dds = dds.split('#');\r\n setDomainData({ head: dds[0], testProp: dds[1], formId: dds[2], cnn: dds[3] })\r\n setDomain(dom);\r\n }\r\n }\r\n fetch();\r\n }, [match])\r\n const PropertyHandler = (value, obj) => {\r\n if (value.includes('O30E23C4I'))\r\n setSample(obj);\r\n if (value.includes('O30E23C6I'))\r\n setLabratoary(obj);\r\n }\r\n const [sample, setSample] = useState();\r\n const [labratoary, setLabratoary] = useState();\r\n const LoadData = () => {\r\n\r\n }\r\n return (<>\r\n \r\n \r\n \r\n {sample && labratoary ?\r\n \r\n \r\n \r\n \r\n : \r\n }\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default BloodControlReport;","import { faCheck } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, CardFooter, CardTitle, Spinner } from 'reactstrap';\r\nimport JoiSearchBox from '../../../components/joi/JoiSearchBox';\r\nimport { Utility } from '../../../Engine/Common';\r\nimport { FromManagerDataTemplate } from '../../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../../Engine/InstanceController';\r\nimport { ThemeCardHeader } from '../../../EngineForms/ThemeControl';\r\nimport { ConstIdes, PropConstIdes } from '../../ConstIdes';\r\nimport ABOTests from './ABOTests';\r\n\r\nconst ABOExpectedAnswer = () => {\r\n const [values, setValues] = useState([]);\r\n const [RH, setRH] = useState([]);\r\n const [ABO, setABO] = useState([]);\r\n const [data, setData] = useState({});\r\n const [reportBuilding, setreportBuilding] = useState(0);\r\n\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample\r\n };\r\n\r\n const PropertyHandler = async (value, obj, pid) => {\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${obj.id}#expected#`);\r\n if (tempData) {\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n setData(temp);\r\n }\r\n else {\r\n let newdata = {};\r\n newdata.Sample = obj;\r\n setData({ ...newdata });\r\n }\r\n\r\n }\r\n const Save = async () => {\r\n if (data && data.Sample) {\r\n let temp = new FromManagerDataTemplate();\r\n if (data.ID)\r\n temp.ID = data.ID;\r\n temp.ConditionValue = `#${data.Sample.id}#expected#`;\r\n temp.Json = JSON.stringify(data);\r\n await temp.SaveAsync();\r\n }\r\n }\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp1 = await InstanceController.GetInstancesAsync('O30E12C82');\r\n let temp2 = await InstanceController.GetInstancesAsync('O30E12C89');\r\n let temp3 = await InstanceController.GetInstancesAsync('O30E12C90');\r\n setValues(temp1); setRH(temp3); setABO(temp2);\r\n }\r\n fetch();\r\n }, [])\r\n const onChange = (pid, value) => {\r\n let temp = { ...data };\r\n temp[pid] = value;\r\n console.log(temp)\r\n setData(temp);\r\n }\r\n const BuildReport = async () => {\r\n setreportBuilding(1);\r\n let result1 = await InstanceController.InvokeMethod('O30E12C60', 'GetResultCount',\r\n `${data.Sample.id}*O30E12C89#O30E12C91#P137#0`);\r\n let result2 = await InstanceController.InvokeMethod('O30E12C60', 'GetResultCount',\r\n `${data.Sample.id}*O30E12C90#O30E12C91#P140#0`);\r\n if (Utility.IsInstanceID(result1) && Utility.IsInstanceID(result2))\r\n setreportBuilding(2);\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {reportBuilding > 0 ? (reportBuilding == 1 ? : ) : null}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default ABOExpectedAnswer;","import { faCheck } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, CardFooter, CardTitle, Spinner } from 'reactstrap';\r\nimport JoiSearchBox from '../../../components/joi/JoiSearchBox';\r\nimport { Utility } from '../../../Engine/Common';\r\nimport { FromManagerDataTemplate } from '../../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../../Engine/InstanceController';\r\nimport { ThemeCardHeader } from '../../../EngineForms/ThemeControl';\r\nimport { ConstIdes, PropConstIdes } from '../../ConstIdes';\r\nimport Crosstest from './Crosstest';\r\n\r\nconst CrossExpectedAnswer = () => {\r\n const [values, setValues] = useState([]);\r\n const [interpretation, setInterpretation] = useState([]);\r\n const [data, setData] = useState({});\r\n const [reportBuilding, setreportBuilding] = useState(0);\r\n\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample\r\n };\r\n\r\n const PropertyHandler = async (value, obj, pid) => {\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${obj.id}#expected#`);\r\n if (tempData) {\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n setData(temp);\r\n }\r\n else {\r\n let newdata = {};\r\n newdata.Sample = obj;\r\n setData({ ...newdata });\r\n }\r\n\r\n }\r\n const Save = async () => {\r\n if (data && data.Sample) {\r\n let temp = new FromManagerDataTemplate();\r\n if (data.ID)\r\n temp.ID = data.ID;\r\n temp.ConditionValue = `#${data.Sample.id}#expected#`;\r\n temp.Json = JSON.stringify(data);\r\n await temp.SaveAsync();\r\n }\r\n }\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp1 = await InstanceController.GetInstancesAsync('O30E12C82');\r\n let temp2 = await InstanceController.GetInstancesAsync('O30E12C95');\r\n setValues(temp1);setInterpretation(temp2);\r\n }\r\n fetch();\r\n }, [])\r\n const onChange = (pid, value) => {\r\n let temp = { ...data };\r\n temp[pid] = value;\r\n console.log(temp)\r\n setData(temp);\r\n }\r\n const BuildReport = async () => {\r\n setreportBuilding(1);\r\n let result1 = await InstanceController.InvokeMethod('O30E12C60', 'GetResultCount',\r\n `${data.Sample.id}#O30E12C96#P151#0`);\r\n if (Utility.IsInstanceID(result1) )\r\n setreportBuilding(2);\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {reportBuilding > 0 ? (reportBuilding == 1 ? : ) : null}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default CrossExpectedAnswer;","import { faCheck } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, CardFooter, CardTitle, Spinner } from 'reactstrap';\r\nimport JoiSearchBox from '../../../components/joi/JoiSearchBox';\r\nimport { Utility } from '../../../Engine/Common';\r\nimport { FromManagerDataTemplate } from '../../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../../Engine/InstanceController';\r\nimport { ThemeCardHeader } from '../../../EngineForms/ThemeControl';\r\nimport { ConstIdes, PropConstIdes } from '../../ConstIdes';\r\nimport AbTest from './AbTest';\r\nconst AbExpectedAnswer = () => {\r\n const [values, setValues] = useState([]);\r\n const [ccValues, setccValues] = useState([]);\r\n const [interpretation, setInterpretation] = useState([]);\r\n const [data, setData] = useState({});\r\n const [reportBuilding, setreportBuilding] = useState(0);\r\n\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample\r\n };\r\n\r\n const PropertyHandler = async (value, obj, pid) => {\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${obj.id}#expected#`);\r\n if (tempData) {\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n setData(temp);\r\n }\r\n else {\r\n let newdata = {};\r\n newdata.Sample = obj;\r\n setData({ ...newdata });\r\n }\r\n\r\n }\r\n const Save = async () => {\r\n if (data && data.Sample) {\r\n let temp = new FromManagerDataTemplate();\r\n if (data.ID)\r\n temp.ID = data.ID;\r\n temp.ConditionValue = `#${data.Sample.id}#expected#`;\r\n temp.Json = JSON.stringify(data);\r\n await temp.SaveAsync();\r\n }\r\n }\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp1 = await InstanceController.GetInstancesAsync('O30E12C82');\r\n let temp2 = await InstanceController.GetInstancesAsync('O30E12C83');\r\n let temp3 = await InstanceController.GetInstancesAsync('O30E12C130');\r\n setValues(temp1);setInterpretation(temp2);setccValues(temp3);\r\n }\r\n fetch();\r\n }, [])\r\n const onChange = (pid, value) => {\r\n let temp = { ...data };\r\n temp[pid] = value;\r\n setData(temp);\r\n }\r\n const BuildReport = async () => {\r\n setreportBuilding(1);\r\n let result1 = await InstanceController.InvokeMethod('O30E12C60', 'GetResultCount',\r\n `${data.Sample.id}#O30E12C84#P122#0`);\r\n if (Utility.IsInstanceID(result1) )\r\n setreportBuilding(2);\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {reportBuilding > 0 ? (reportBuilding === 1 ? : ) : null}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default AbExpectedAnswer;","import { faCheck } from \"@fortawesome/free-solid-svg-icons\";\r\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\r\nimport React, { useState } from \"react\";\r\nimport { Button, Card, CardBody, CardFooter, Col, Row, Spinner } from \"reactstrap\";\r\nimport Divider from \"../../../components/common/Divider\";\r\nimport FalconCardHeader from \"../../../components/common/FalconCardHeader\";\r\nimport JoiSearchBox from \"../../../components/joi/JoiSearchBox\";\r\nimport { Utility } from \"../../../Engine/Common\";\r\nimport { FromManagerDataTemplate } from \"../../../Engine/FormDataTemplate\";\r\nimport { InstanceController } from \"../../../Engine/InstanceController\";\r\nimport { ConstIdes, PropConstIdes } from \"../../ConstIdes\";\r\nimport Antibiotics from \"./Antibiotics\";\r\nimport { AntibioticsRow, BacteryDiagnosis, BacteryTestRow } from \"./BacteryContext\";\r\nimport Diagnosis from \"./Diagnosis\";\r\nimport DiagnosisTest from \"./DiagnosisTest\";\r\nconst BacteryExpectedAnswer = () => {\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample\r\n };\r\n const [data, setData] = useState({});\r\n const [DiagnosisData, setDiagnosisData] = useState(new BacteryDiagnosis());\r\n const [DiagnosisTestList, setDiagnosisTestList] = useState([]);\r\n const [reportBuilding, setreportBuilding] = useState(0);\r\n const [AntibioticsList, setAntibioticsList] = useState([]);\r\n const PropertyHandler = async (objValue, obj) => {\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${obj.id}#expected#`);\r\n if (tempData) {\r\n let temp = JSON.parse(tempData.Json);\r\n\r\n temp.ID = tempData.ID;\r\n temp.Sample = obj;\r\n setDiagnosisData( new BacteryDiagnosis(temp.DiagnosisData.Instance));\r\n setDiagnosisTestList(temp?.DiagnosisTestList.map(item=>new BacteryTestRow(item.Instance)));\r\n setAntibioticsList(temp?.AntibioticsList.map(item=>new AntibioticsRow(item.Instance)));\r\n setData(temp);\r\n }\r\n else {\r\n let newdata = {};\r\n newdata.Sample = obj;\r\n setData({ ...newdata });\r\n }\r\n }\r\n const DiagnosisChanged = (instance) => {\r\n setDiagnosisData(instance)\r\n }\r\n const DiagnosisTestChanged = (data) => {\r\n setDiagnosisTestList(data)\r\n }\r\n const AntibioticsChanged = (data) => {\r\n setAntibioticsList(data);\r\n }\r\n const SaveDoc = async() => {\r\n if (data && data.Sample) {\r\n let maindata = { DiagnosisData, DiagnosisTestList, AntibioticsList }\r\n let temp = new FromManagerDataTemplate();\r\n if (data.ID)\r\n temp.ID = data.ID;\r\n temp.ConditionValue = `#${data.Sample.id}#expected#`;\r\n temp.Json = JSON.stringify(maindata);\r\n await temp.SaveAsync();\r\n }\r\n }\r\n const BuildReport = async () => {\r\n setreportBuilding(1);\r\n let result1 = await InstanceController.InvokeMethod('O30E12C60', 'BacteryReport',\r\n `${data.Sample.id}`);\r\n\r\n if (Utility.IsInstanceID(result1))\r\n setreportBuilding(2);\r\n }\r\n return (\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n تشخیص\r\n \r\n \r\n \r\n تستهای تشخیصی\r\n \r\n \r\n \r\n \r\n \r\n آنتی بیوتیک ها\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {reportBuilding > 0 ? (reportBuilding === 1 ? : ) : null}\r\n \r\n \r\n \r\n )\r\n};\r\n\r\nexport default BacteryExpectedAnswer;","import React, { useState } from 'react';\r\nimport { Card, CardBody, Col, Row, Spinner, Table } from 'reactstrap';\r\nimport { ThemeCardHeader } from '../EngineForms/ThemeControl';\r\nimport { RangeDatePicker } from \"jalali-react-datepicker\";\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport { faDownload, faFilter } from '@fortawesome/free-solid-svg-icons';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport { AuthenticationController } from '../Engine/Authentication';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { CSVLink } from 'react-csv';\r\nimport moment from 'jalali-moment';\r\nimport momentmiladi from 'moment';\r\nconst InvoiceReport = () => {\r\nconst title=\"گزارش فاکتور فروش\";\r\n const [from1, setFrom] = useState();\r\n const [data, setData] = useState();\r\n const [loading, setLoading] = useState();\r\n let start='';\r\n let end='';\r\n const onChange = async () => {\r\n setData(undefined);\r\n setLoading(true);\r\n let result = await InstanceController.InvokeMethod('O30E12C60', 'GetInvoicebyAsync',\r\n `${from1.start.format('MM/DD/YYYY')}#${from1.end.format('MM/DD/YYYY')}`);\r\n start=moment(from1?.start?.format('MM/DD/YYYY'), 'MM/DD/YYYY')\r\n .locale('fa').format('YYYY/M/D');\r\n end=moment(from1?.end?.format('MM/DD/YYYY'), 'MM/DD/YYYY')\r\n .locale('fa').format('YYYY/M/D');\r\n setData(result);\r\n setLoading(false);\r\n }\r\n \r\n return (\r\n \r\n \r\n {data && AuthenticationController.HasRole('R2') ?\r\n ({...item, date: moment(momentmiladi(item.date), 'MM/DD/YYYY')\r\n .locale('fa').format('YYYY/M/D')}))}\r\n filename={`${title+'_from_'+from1?.startfa+'_to_'+from1?.endfa ?? \"my-file\"}.csv`}>\r\n \r\n : null}\r\n {loading?:}\r\n \r\n \r\n \r\n setFrom({ start, end,startfa:moment(start.format('MM/DD/YYYY'), 'MM/DD/YYYY')\r\n .locale('fa').format('YYYY/M/D'),endfa:moment(end.format('MM/DD/YYYY'), 'MM/DD/YYYY')\r\n .locale('fa').format('YYYY/M/D') })} id={'from'} className={\"h-100\"}\r\n bsSize=\"sm\"\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n data?.map((item)=>{\r\n let baseItem=item;\r\n return \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n )}\r\n \r\n
آزمایشگاهکدتاریخمحصولپرداخت
{baseItem.labratoary}{baseItem.labratoaryCode}{moment(momentmiladi(baseItem.date), 'MM/DD/YYYY')\r\n .locale('fa').format('YYYY/M/D')}{baseItem.detail}{baseItem.payment}
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default InvoiceReport;","import React, { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, CardFooter, Col, Input, Label, Row, Spinner } from 'reactstrap';\r\nimport Divider from '../../components/common/Divider';\r\nimport FalconCardHeader from '../../components/common/FalconCardHeader';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport BaseInstance from '../../Engine/BaseInstance';\r\nimport ConditionMaker from '../../Engine/ConditionMaker';\r\nimport { FromManagerDataTemplate } from '../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport { ConstIdes, PropConstIdes } from '../ConstIdes';\r\nimport { TbSample } from '../TBSample';\r\n\r\nconst HBVampleAnswer = ({ resultdoc, listDiagnosis, listLevel }) => {\r\n //const listsr = ['R', 'S'];\r\n const [v1, setV1] = useState(resultdoc.Result);\r\n useEffect(() => {\r\n setV1(resultdoc.Result);\r\n\r\n }, [resultdoc])\r\n const resultChanged = ({ target }) => {\r\n resultdoc.Result = target.value;\r\n setV1(target.value);\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n listDiagnosis?.map((item) => ())\r\n }\r\n \r\n \r\n {resultdoc.SDA ?<> \r\n \r\n \r\n \r\n : null}\r\n \r\n );\r\n};\r\n\r\nconst HBVExpectedAnswerSheet = () => {\r\n const [loading, setLoading] = useState(false);\r\n //const [samples, setSamples] = useState([]);\r\n const [listDiagnosis, setListDiagnosis] = useState([]);\r\n const [listLevel, setListLevel] = useState([]);\r\n const [resultSample, setResultSample] = useState([]);\r\n const [period, setPeriod] = useState();\r\n const [FMDT, setFMDT] = useState();\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Period,\r\n controlType: \"SearchControl\",\r\n title: \"دوره\",\r\n source: ConstIdes.Period\r\n };\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let result = await InstanceController.GetInstancesAsync('O30E12C29');\r\n let level = await InstanceController.GetInstancesAsync('O30E12C123');\r\n setListDiagnosis(result);\r\n setListLevel(level.sort((a, b) => a.ID.localeCompare(b.ID)));\r\n };\r\n fetch();\r\n }, [])\r\n const SetNew = (samresult) => {\r\n let resultSMP = [];\r\n samresult.map(smp => {\r\n let temp = new TbSample();\r\n temp.Sample = new BaseInstance(smp);\r\n resultSMP = [...resultSMP, temp];\r\n return smp;\r\n });\r\n setResultSample(resultSMP);\r\n }\r\n const SaveDoc = async () => {\r\n setLoading(true);\r\n let temp;\r\n if (FMDT) {\r\n temp = FMDT;\r\n }\r\n else {\r\n temp = new FromManagerDataTemplate();\r\n }\r\n temp.ConditionValue = `#${period}#O30E23C2I16#expected#`;\r\n temp.Json = JSON.stringify(resultSample);\r\n await temp.SaveAsync();\r\n setFMDT(temp);\r\n setLoading(false);\r\n }\r\n const PropertyHandler = async (value, pid) => {\r\n setPeriod(value);\r\n\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${value}#O30E23C2I16#expected#`);\r\n\r\n if (tempData?.ID) {\r\n\r\n setFMDT(tempData);\r\n let rows = JSON.parse(tempData.Json);\r\n let result = [];\r\n for (let index = 0; index < rows.length; index++) {\r\n const element = rows[index];\r\n let val = new TbSample(element.Instance);\r\n val.Sample = new BaseInstance(val.SampleObj.Instance);\r\n result = [...result, val];\r\n }\r\n setResultSample(result);\r\n }\r\n else {\r\n let samcon = new ConditionMaker('O30E23C4');\r\n samcon.AddCondition('P3', '=', value, 'AND')\r\n .AddCondition('P1', '=', 'O30E23C2I16');\r\n\r\n let samresult = await samcon.GetResult();\r\n //setSamples(samresult);\r\n SetNew(samresult);\r\n }\r\n }\r\n const DeleteDoc = async () => {\r\n await FMDT.DeleteAsync();\r\n }\r\n const BuildReport = async () => {\r\n setLoading(true)\r\n var allsample = await resultSample[0].CalculateSDI(period);\r\n for (let index = 0; index < allsample.length; index++) {\r\n const sampleResult = allsample[index];\r\n if (sampleResult.result && sampleResult.result!=='0') {\r\n var templist =resultSample.find(x => x.Sample === sampleResult.sample);\r\n if(templist?.List)\r\n templist.List = [...templist.List,(parseFloat(sampleResult.result))];\r\n }\r\n }\r\n let positiveResults = resultSample.filter(x => x.Result === 'O30E12C29I2');\r\n try {\r\n for (let index = 0; index < positiveResults.length; index++) {\r\n const positiveResult = positiveResults[index];\r\n positiveResult.List2 = positiveResult.List.map((item)=>Math.log10(item));\r\n if(positiveResult.List2?.length>0)\r\n positiveResult.sda = (positiveResult.List2.reduce((a, b) => a + b) / positiveResult.List2.length).toFixed(2);\r\n positiveResult.SDA =positiveResult.sda;\r\n }\r\n } catch (error) {\r\n console.log(error)\r\n }\r\n // for (let index = 0; index < resultSample.length; index++) {\r\n // await resultSample[index].SaveAsync();\r\n // }\r\n setResultSample([...resultSample]);\r\n setLoading(false);\r\n }\r\n \r\n return (\r\n \r\n \r\n {loading ? : null}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n نمونه ها\r\n {\r\n resultSample?.map((resultsmp) => )\r\n }\r\n \r\n \r\n {loading ? : <>\r\n \r\n \r\n \r\n }\r\n \r\n \r\n );\r\n};\r\n\r\nexport default HBVExpectedAnswerSheet;\r\n\r\n\r\n","import React, { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, CardFooter, Col, Input, Label, Row, Spinner } from 'reactstrap';\r\nimport Divider from '../../components/common/Divider';\r\nimport FalconCardHeader from '../../components/common/FalconCardHeader';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport BaseInstance from '../../Engine/BaseInstance';\r\nimport ConditionMaker from '../../Engine/ConditionMaker';\r\nimport { FormDataTemplate, FromManagerDataTemplate } from '../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport { ConstIdes, PropConstIdes } from '../ConstIdes';\r\nimport { TbSample } from '../TBSample';\r\n\r\nconst HBVampleAnswer = ({ resultdoc, listDiagnosis, listLevel }) => {\r\n //const listsr = ['R', 'S'];\r\n const [v1, setV1] = useState(resultdoc.Result);\r\n const [v2, setV2] = useState(resultdoc.infectionLevel);\r\n useEffect(() => {\r\n setV1(resultdoc.Result);\r\n setV2(resultdoc.infectionLevel);\r\n\r\n }, [resultdoc])\r\n const resultChanged = ({ target }) => {\r\n resultdoc.Result = target.value;\r\n setV1(target.value);\r\n }\r\n const levelChanged = ({ target }) => {\r\n resultdoc.infectionLevel = target.value;\r\n setV2(target.value);\r\n }\r\n console.log(resultdoc.SampleObj)\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n listDiagnosis?.map((item) => ())\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n listLevel?.map((item) => ())\r\n }\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst TBExpectedAnswerSheet = () => {\r\n const [loading, setLoading] = useState(false);\r\n const [samples, setSamples] = useState([]);\r\n const [listDiagnosis, setListDiagnosis] = useState([]);\r\n const [listLevel, setListLevel] = useState([]);\r\n const [resultSample, setResultSample] = useState([]);\r\n const [period, setPeriod] = useState();\r\n const [FMDT, setFMDT] = useState(new FormDataTemplate());\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Period,\r\n controlType: \"SearchControl\",\r\n title: \"دوره\",\r\n source: ConstIdes.Period\r\n };\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let result = await InstanceController.GetInstancesAsync('O30E12C29');\r\n let level = await InstanceController.GetInstancesAsync('O30E12C123');\r\n setListDiagnosis(result);\r\n setListLevel(level.sort((a, b) => a.ID.localeCompare(b.ID)));\r\n };\r\n fetch();\r\n }, [])\r\n const SetNew = (samresult) => {\r\n let resultSMP = [];\r\n samresult.map(smp => {\r\n let temp = new TbSample();\r\n temp.Sample = new BaseInstance(smp);\r\n resultSMP = [...resultSMP, temp];\r\n });\r\n setResultSample(resultSMP);\r\n }\r\n const SaveDoc = async () => {\r\n setLoading(true);\r\n let temp;\r\n if (FMDT)\r\n temp = FMDT;\r\n else\r\n temp = new FromManagerDataTemplate();\r\n temp.ConditionValue = `#${period}#O30E23C2I15#expected#`;\r\n temp.Json = JSON.stringify(resultSample);\r\n await temp.SaveAsync();\r\n console.log(`#${period}#$O30E23C2I15#expected#`)\r\n setLoading(false);\r\n }\r\n const PropertyHandler = async (value, pid) => {\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${value}#O30E23C2I15#expected#`);\r\n\r\n if (tempData?.ID) {\r\n setFMDT(tempData);\r\n let rows = JSON.parse(tempData.Json);\r\n let result=[];\r\n for (let index = 0; index < rows.length; index++) {\r\n const element = rows[index];\r\n let val =new TbSample(element.Instance);\r\n val.Sample=new BaseInstance(val.SampleObj.Instance);\r\n result=[...result,val];\r\n }\r\n console.log(result)\r\n\r\n setResultSample(result);\r\n }\r\n else {\r\n let samcon = new ConditionMaker('O30E23C4');\r\n samcon.AddCondition('P3', '=', value, 'AND')\r\n .AddCondition('P1', '=', 'O30E23C2I15');\r\n\r\n let samresult = await samcon.GetResult();\r\n setPeriod(value);\r\n setSamples(samresult);\r\n SetNew(samresult);\r\n }\r\n }\r\n const DeleteDoc = () => { }\r\n return (\r\n \r\n \r\n {loading ? : null}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n نمونه ها\r\n {\r\n resultSample?.map((resultsmp) => )\r\n }\r\n \r\n \r\n {loading ? null : <>\r\n \r\n }\r\n \r\n \r\n );\r\n};\r\n\r\nexport default TBExpectedAnswerSheet;\r\n\r\n\r\n","import React from 'react';\r\nimport { useContext } from 'react';\r\nimport { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, Col, ListGroup, ListGroupItem, ListGroupItemHeading, ListGroupItemText, Row, Spinner } from 'reactstrap';\r\nimport FalconCardHeader from '../components/common/FalconCardHeader';\r\nimport JoiSearchBox from '../components/joi/JoiSearchBox';\r\nimport AppContext from '../context/Context';\r\nimport { ConstIdes, PropConstIdes } from '../Pishgam/ConstIdes';\r\nimport { CartContextClass, InvoiceHeader } from './ShopContext';\r\nimport NumberFormat from 'react-number-format';\r\nimport Flex from '../components/common/Flex';\r\nimport { toast } from 'react-toastify';\r\nimport ConditionMaker, { EngineCondition } from '../Engine/ConditionMaker';\r\nimport { Link } from 'react-router-dom';\r\nimport moment from 'jalali-moment';\r\n\r\nconst ProductRow = ({ item, onClick, active }) => {\r\n const { currency } = useContext(AppContext);\r\n return (\r\n \r\n \r\n \r\n {item.title} \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst AdminInvoice = ({ history }) => {\r\n const Labratory = {\r\n col: \"3\",\r\n pid: PropConstIdes.Lab,\r\n controlType: \"SearchControl\",\r\n title: \"آزمایشگاه\",\r\n source: ConstIdes.Lab\r\n };\r\n const [products, setProducts] = useState([]);\r\n const [selLab, setSelLab] = useState();\r\n const [invoice, setInvoice] = useState();\r\n const [lastInvoice, setLastInvoice] = useState();\r\n const [state, setState] = useState(0);\r\n const [selProducts, setSelProducts] = useState([]);\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let tempproducts = await CartContextClass.GetProducts();\r\n tempproducts = tempproducts.sort((item1, item2) => (parseInt(item1.row) - parseInt(item2.row)))\r\n setProducts(tempproducts);\r\n }\r\n fetch();\r\n }, [])\r\n const PropertyHandler = async (value, obj) => {\r\n CartContextClass.cart = [];\r\n setSelLab(obj);\r\n setInvoice(undefined);\r\n setState(0);\r\n setSelProducts([]);\r\n let wh = new ConditionMaker('O30E12C60');\r\n wh.AddCondition('PC337', '=', value);\r\n\r\n var con = new EngineCondition();\r\n con.ID = \"O30E12C60\";\r\n con.SQLCondition = JSON.stringify(wh);\r\n con.OrderBy = \" Order by convert(datetime,[PC363]) DESC\";\r\n con.StartFor = \"0\";\r\n con.RecordCount = \"1\";\r\n let list = await con.GetResult();\r\n if (list.length > 0) {\r\n setLastInvoice(new InvoiceHeader(list[0]));\r\n }\r\n }\r\n const LoadTests = () => { }\r\n const onClick = ({ currentTarget }) => {\r\n let selproduct = CartContextClass.cart.findIndex(x => x.ID === currentTarget.id);\r\n let temp = [];\r\n if (selproduct < 0) {\r\n let product = products.find(x => x.ID === currentTarget.id);\r\n temp = [...selProducts, product];\r\n CartContextClass.addToCart(product);\r\n }\r\n else {\r\n temp = CartContextClass.cart.splice(selproduct, 1);\r\n temp = [...selProducts];\r\n CartContextClass.cart = [...temp];\r\n }\r\n setSelProducts(temp);\r\n }\r\n const newInvoice = async () => {\r\n setState(1);\r\n if (selLab) {\r\n let value = await CartContextClass.CreateInvoice(true, selLab);\r\n setInvoice(value.Header.ID);\r\n\r\n }\r\n else {\r\n toast.warn('آزمایشگاه را انتخاب نمایید');\r\n }\r\n setState(2);\r\n }\r\n const openInvoice = () => {\r\n const newWindow = window.open(\"/e-commerce/invoice/\" + invoice)\r\n if (newWindow) newWindow.opener = null\r\n // history.push({\r\n // pathname: \"/e-commerce/invoice/\" + invoice,\r\n // });\r\n }\r\n return (<>\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n PropertyHandler(pid, value);\r\n LoadTests();\r\n }}\r\n PID={Labratory.pid} placeHolder={Labratory.title} />\r\n \r\n \r\n {lastInvoice ? \r\n \r\n {lastInvoice.total}\r\n { moment(lastInvoice.Date, 'MM/DD/YYYY')\r\n .locale('fa').format('YYYY/M/D')}\r\n \r\n :

هیچ فاکتوری یافت نشد

}\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {products.map(item => x.ID === item.ID) >= 0} />)}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {selProducts.map(item => )}\r\n \r\n {\r\n selProducts.length > 0 ?\r\n (state === 0 ? \r\n : (state === 1 ? \r\n : )\r\n )\r\n :
جهت انتخاب محصول بروی آن دوبار کلیک نمایید
\r\n }\r\n\r\n
\r\n \r\n
\r\n\r\n \r\n );\r\n};\r\n\r\nexport default AdminInvoice;","import React from 'react'\r\nimport { useEffect } from 'react'\r\nimport { Fragment } from 'react'\r\nimport { useState } from 'react'\r\nimport { Button, Card, CardBody, CardFooter, CustomInput, Spinner } from 'reactstrap'\r\nimport Flex from '../../components/common/Flex'\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox'\r\nimport BaseInstance from '../../Engine/BaseInstance'\r\nimport { Utility } from '../../Engine/Common'\r\nimport ConditionMaker from '../../Engine/ConditionMaker'\r\nimport { InstanceController } from '../../Engine/InstanceController'\r\nimport { ThemeCardHeader } from '../../EngineForms/ThemeControl'\r\nimport AdminPath from '../../layouts/AdminPath'\r\nimport { ConstIdes, LabratoryControl, PeriodControl, PropConstIdes } from '../ConstIdes'\r\nimport NoData from '../NoData'\r\n\r\nconst AdminAnswersComponent = () => {\r\n const Period = { ...PeriodControl, value: '' };\r\n const Labratory = { ...LabratoryControl, Value: '' }\r\n const [domains, SetDomains] = useState([]);\r\n const [sampleList, SetSampleList] = useState([]);\r\n const [selectedList, SetSelectedList] = useState([]);\r\n const [period, setPeriod] = useState();\r\n const [lab, setLab] = useState();\r\n const [LoadForms, setLoadForms] = useState();\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let result = await InstanceController.GetInstancesAsync('O30E23C2');\r\n SetDomains(result.filter(x=>x.ID!=='O30E23C2I11'&& x.ID!=='O30E23C2I20').map(item => {\r\n let temp = new BaseInstance(item);\r\n temp.data = JSON.parse(temp.GetValue('PC556'));\r\n return temp;\r\n }));\r\n }\r\n fetch();\r\n }, [])\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let con = new ConditionMaker(ConstIdes.Sample);\r\n con.AddCondition('P3', '=', period?.id);\r\n let list = await con.GetResult();\r\n SetSampleList(list.map(item => new BaseInstance(item)));\r\n }\r\n fetch();\r\n }, [period])\r\n\r\n const fetch = async () => {\r\n setLoadForms(false);\r\n for (let index = 0; index < selectedList.length; index++) {\r\n const part = selectedList[index];\r\n part.headers = [];\r\n if (part.ID !== 'O30E23C2I16' && part.ID !== 'O30E23C2I15') {\r\n let classid = [];\r\n const samples = sampleList.filter(x => x.GetValue('P1') === part.ID);\r\n if (Array.isArray(part.data)) {\r\n classid = [...part.data.map(f => f.form2 ? f.form2 : f.form)]\r\n }\r\n else\r\n classid = [part.data.form2 ? part.data.form2 : part.data.form];\r\n for (let j = 0; j < samples.length; j++) {\r\n const smp = samples[j];\r\n if (classid) {\r\n for (let g = 0; g < classid.length; g++) {\r\n const cid = classid[g];\r\n let con = new ConditionMaker(Utility.GetClassID(cid));\r\n con.AddCondition(PropConstIdes.Sample, '=', smp.ID, 'AND')\r\n .AddCondition(PropConstIdes.Lab, '=', lab.id);\r\n let headers = await con.GetResult();\r\n if (Array.isArray(headers) && headers.length > 0) {\r\n let formid = part.data.form2 ? part.data.form : cid;\r\n if (Array.isArray(part.data)) {\r\n formid = part.data.find(f => f.form === cid || f.form2 === cid).form\r\n }\r\n part.headers = [...part.headers, ...headers.map(h => ({ form: formid, header: h.ID }))];\r\n }\r\n }\r\n\r\n }\r\n }\r\n }\r\n else {\r\n let con = new ConditionMaker(Utility.GetClassID(part.data.form2));\r\n con.AddCondition(PropConstIdes.Period, '=', period.id, 'AND')\r\n .AddCondition(PropConstIdes.Lab, '=', lab.id);\r\n let headers = await con.GetResult();\r\n if (Array.isArray(headers) && headers.length > 0) {\r\n part.headers = [...part.headers, ...headers.map(h => ({ form: part.data.form, header: h.ID }))];\r\n }\r\n\r\n }\r\n }\r\n SetSelectedList([...selectedList]);\r\n setLoadForms(true);\r\n }\r\n return (<>\r\n \r\n \r\n \r\n setPeriod(value)}\r\n PID={Period.pid} placeHolder={Period.title} />\r\n setLab(value)}\r\n PID={Labratory.pid} placeHolder={Labratory.title} />\r\n \r\n \r\n \r\n همه بخش ها} className='text-nowrap m-2 p-2'\r\n checked={selectedList.length === domains.length}\r\n onChange={() => {\r\n if (selectedList.length === domains.length) {\r\n SetSelectedList([]);\r\n }\r\n else {\r\n SetSelectedList([...domains]);\r\n }\r\n }}\r\n />\r\n \r\n {\r\n domains?.map((item) => x.ID === item.ID) > -1}\r\n onChange={() => {\r\n let itemInex = selectedList?.findIndex(x => x.ID === item.ID);\r\n if (itemInex > -1) {\r\n let newlist = [...selectedList];\r\n newlist.splice(itemInex, 1);\r\n SetSelectedList(newlist);\r\n }\r\n else {\r\n SetSelectedList([...selectedList, item])\r\n }\r\n }}\r\n />\r\n )\r\n }\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n {\r\n LoadForms ? selectedList.map((ins) => {\r\n let result = [];\r\n if (ins.headers?.length > 0) {\r\n\r\n for (let index = 0; index < ins.headers.length; index++) {\r\n const header = ins.headers[index];\r\n result = [...result,
];\r\n }\r\n }\r\n else {\r\n result = [...result, ];\r\n }\r\n return {result};\r\n }) : (LoadForms === false ? \r\n \r\n \r\n \r\n \r\n
{'درحال واکشی پاسخنامه های آزمایشگاه '+(lab?.display??'')}
\r\n
\r\n }/>\r\n \r\n \r\n \r\n : null)\r\n }\r\n \r\n \r\n )\r\n}\r\n\r\nexport default AdminAnswersComponent","import { faCheck } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useState } from 'react';\r\nimport { Button, Card, CardBody, CardFooter, Col, Row, Spinner } from 'reactstrap';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport { Utility } from '../../Engine/Common';\r\nimport { FromManagerDataTemplate } from '../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport { ThemeCardHeader } from '../../EngineForms/ThemeControl';\r\nimport { ConstIdes, PropConstIdes } from '../ConstIdes';\r\n\r\nconst FungusExpectedAnswer = () => {\r\n const [reportBuilding, setreportBuilding] = useState(0);\r\n const [data, setData] = useState({});\r\n\r\n const Sample = {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample\r\n };\r\n const parasite = {\r\n col: \"3\",\r\n pid: 'P176',\r\n controlType: \"SearchControl\",\r\n title: \"جواب مورد انتظار قارچ\",\r\n source: 'O30E12C127'\r\n };\r\n const PropertyHandler = async (value, obj, pid) => {\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${obj.id}#expected#`);\r\n if (tempData) {\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n setData(temp);\r\n }\r\n else {\r\n let newdata = {};\r\n newdata.Sample = obj;\r\n setData({ ...newdata });\r\n }\r\n\r\n }\r\n const Save = async () => {\r\n if (data && data.Sample) {\r\n let temp = new FromManagerDataTemplate();\r\n if (data.ID)\r\n temp.ID = data.ID;\r\n temp.ConditionValue = `#${data.Sample.id}#expected#`;\r\n temp.Json = JSON.stringify(data);\r\n await temp.SaveAsync();\r\n }\r\n }\r\n const BuildReport = async () => {\r\n setreportBuilding(1);\r\n let result = await InstanceController.InvokeMethod('O30E12C60', 'GetResultCount',\r\n `${data.Sample.id}#O30E12C128#P176#1`);\r\n if(Utility.IsInstanceID(result))\r\n setreportBuilding(2);\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n setData({ ...data, Diagnosis: obj })}\r\n PID={parasite.pid} placeHolder={parasite.title} />\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {reportBuilding > 0 ? (reportBuilding === 1 ? : ) : null}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default FungusExpectedAnswer;","import React from 'react'\r\nimport { useState } from 'react'\r\nimport { useEffect } from 'react'\r\nimport { Card, CardBody, CardFooter, ListGroup, ListGroupItem } from 'reactstrap'\r\nimport { Utility } from '../Engine/Common'\r\nimport { ThemeCardHeader } from '../EngineForms/ThemeControl'\r\n\r\nfunction OnlineUserList() {\r\n const [list, setList] = useState([]);\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp = await Utility.ActiveUsersList();\r\n setList(temp);\r\n }\r\n fetch();\r\n }, [])\r\n return (\r\n \r\n \r\n \r\n \r\n {list?.map((user) => \r\n {`${user.user} | ${user.person} | ${user.organization} | ${user.time}`}\r\n )}\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default OnlineUserList","import React, { useState } from 'react'\r\nimport { toast } from 'react-toastify';\r\nimport { Button, Card, CardBody, CardFooter, Row, Spinner } from 'reactstrap'\r\nimport Divider from '../../components/common/Divider';\r\nimport Flex from '../../components/common/Flex';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport { AdminController } from '../../Engine/AdminController';\r\nimport { ThemeCardHeader } from '../../EngineForms/ThemeControl'\r\nimport CertificateComponent from './CertificateComponent';\r\n\r\nconst AdminCertificate = () => {\r\n const [year, setYear] = useState();\r\n const [processing, setResult] = useState(false);\r\n const [lab, setlab] = useState();\r\n const Year = {\r\n col: \"12\",\r\n pid: 'P2',\r\n controlType: \"SearchControl\",\r\n title: \"سال مورد نظر را انتخاب نمایید\",\r\n source: 'O30E23C1'\r\n };\r\n const Labratoary = {\r\n col: \"12\",\r\n pid: 'P8',\r\n controlType: \"SearchControl\",\r\n title: \"آزمایشگاه مورد نظر را انتخاب نمایید\",\r\n source: 'O30E23C6'\r\n };\r\n const YearChanged = (id, value) => {\r\n setYear(value);\r\n }\r\n const LabChanged = (id, value) => {\r\n setlab(value);\r\n }\r\n const BuildCertificate = async () => {\r\n setResult(true);\r\n let result = await AdminController.BuildCertificate(year.id);\r\n if (result) {\r\n toast.success(`تعداد ${result} گواهی صادر شد`)\r\n }\r\n setResult(false);\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n {processing ? :\r\n \r\n }\r\n
\r\n نمونه گواهی صادر شده\r\n
\r\n \r\n
\r\n
\r\n \r\n {year && lab ? :
}\r\n\r\n
\r\n \r\n\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default AdminCertificate","import React, { useState } from 'react'\r\nimport { Button, Card, CardBody, Col, Row } from \"reactstrap\"\r\nimport { ThemeCardHeader } from '../../EngineForms/ThemeControl';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport { PeriodControl } from '../ConstIdes';\r\nimport { RangeDatePicker } from \"jalali-react-datepicker\";\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport FormManager from '../../EngineForms/FormManager';\r\nimport { faDownload } from '@fortawesome/free-solid-svg-icons';\r\nimport BaseInstance from '../../Engine/BaseInstance';\r\nimport { CSVLink } from 'react-csv';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport moment from 'moment-jalaali';\r\n\r\n\r\nconst AdminSendingQuery = () => {\r\n const Period = { ...PeriodControl, value: '' };\r\n const [period, setPeriod] = useState();\r\n const [from1, setFrom] = useState();\r\n const [resultQry,setResult]=useState([]);\r\n const [loading,setLoading]=useState(false);\r\n const fetch = async () => {\r\n setLoading(true);\r\n let result = await InstanceController.InvokeMethod('O30E12C64', 'GetSendingProccessQuery',\r\n `${from1.start.format('MM/DD/YYYY')}#${from1.end.format('MM/DD/YYYY')}#${period.id}`);\r\n for (let index = 0; index < result.length; index++) {\r\n const element = result[index];\r\n console.log(element,element.Prop.find(p => p.PID === 'P88').IPV)\r\n element.Prop=[...element.Prop,{ TP: 2, PID: \"PC1000\", IPV: \r\n moment(element.Prop.find(p => p.PID === 'P88').IPV, 'MM/DD/YYYY HH:mm').locale('fa')\r\n .format('jYYYY/jMM/jDD HH:mm')}]\r\n }\r\n setResult(result);\r\n setLoading(false);\r\n }\r\n const convertForExcel=()=>{\r\n let result = resultQry.map(ins => new BaseInstance(ins).instanceToRow());\r\n return result;\r\n }\r\n return (\r\n \r\n \r\n \r\n { setPeriod(value); console.log(value) }}\r\n PID={Period.pid} placeHolder={Period.title} />\r\n
\r\n \r\n\r\n \r\n \r\n \r\n
\r\n \r\n \r\n setFrom({\r\n start, end, startfa: moment(start.format('MM/DD/YYYY'), 'MM/DD/YYYY')\r\n .locale('fa').format('YYYY/M/D'), endfa: moment(end.format('MM/DD/YYYY'), 'MM/DD/YYYY')\r\n .locale('fa').format('YYYY/M/D')\r\n })} id={'from'} className={\"h-100\"}\r\n bsSize=\"sm\"\r\n />\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
);\r\n}\r\nexport default AdminSendingQuery","import React, { Component } from 'react';\r\nimport { Route, Switch } from 'react-router-dom';\r\nimport NavbarTop from '../components/navbar/NavbarTop';\r\nimport NavbarVertical from '../components/navbar/NavbarVertical';\r\nimport TemplateDataForm from '../Forms/TemplateDataForm';\r\nimport AdminDashboard from '../Pishgam/AdminDashboard';\r\nimport Mode2PreReport from '../Pishgam/Mode2PreReport';\r\nimport Mode2PreReportCA from '../Pishgam/Mode2PreReportCA';\r\nimport ObjectClassController from '../Engine/ObjectClassController';\r\nimport OverAllReport from '../Pishgam/OverAllReport';\r\nimport { Card, CardBody } from 'reactstrap';\r\nimport ChatContent from '../Messenger/ChatContent';\r\nimport Flex from '../components/common/Flex';\r\nimport ShoppingCart from '../Shop/ShoppingCart';\r\nimport Shop from '../Shop/Shop';\r\nimport Invoice from '../Shop/Invoice';\r\nimport PaymentType from '../Shop/payment/PaymentType';\r\nimport FormManager from '../EngineForms/FormManager';\r\nimport ConditionMakerComponent from '../Condition/ConditionMakerComponent';\r\nimport MorfologyCellCounter from '../Pishgam/AnswerSheet/MorfologyCellCounter';\r\nimport BacteryAnswerSheet from '../Pishgam/AnswerSheet/bactery/BacteryAnswerSheet';\r\nimport SendingProccess from '../Pishgam/SendingProccess';\r\nimport PeriodStats from '../Pishgam/SectionStatus/PeriodStats';\r\nimport AnalyticsReport from '../Pishgam/AnalyticsReport';\r\nimport MorfologyExpAnswer from '../Pishgam/AnswerSheet/MorfologyExpAnswer';\r\nimport MorfologyReport from '../Pishgam/AnswerSheet/MorfologyReport';\r\nimport ParasiteExpectedAnswer from '../Pishgam/ParasiteExpectedAnswer';\r\nimport StatisticalReport from '../Pishgam/StatisticalReport';\r\nimport BKExpectAnswer from '../Pishgam/AnswerSheet/BKExpectAnswer';\r\nimport TorchExpectedAnsawer from '../Pishgam/AnswerSheet/TorchExpectedAnsawer';\r\nimport ReportWithExpectedResult from '../Pishgam/AnswerSheet/ReportWithExpectedResult';\r\nimport WrightExpectedAnswer from '../Pishgam/AnswerSheet/WrightExpectedAnswer';\r\nimport SerologyExpectedAnswer from '../Pishgam/AnswerSheet/SerologyExpectedAnswer';\r\nimport BloodControlReport from '../Pishgam/AnswerSheet/BloodControlReport';\r\nimport ABOExpectedAnswer from '../Pishgam/AnswerSheet/BloodBank/ABOExpectedAnswer';\r\nimport ABOReport from '../Pishgam/AnswerSheet/BloodBank/ABOReport';\r\nimport CrossExpectedAnswer from '../Pishgam/AnswerSheet/BloodBank/CrossExpectedAnswer';\r\nimport CrossmatchReport from '../Pishgam/AnswerSheet/BloodBank/CrossmatchReport';\r\nimport AbExpectedAnswer from '../Pishgam/AnswerSheet/BloodBank/AbExpectedAnswer';\r\nimport AbReport from '../Pishgam/AnswerSheet/BloodBank/AbReport';\r\nimport BacteryExpectedAnswer from '../Pishgam/AnswerSheet/bactery/BacteryExpectedAnswer';\r\nimport BacteryReport from '../Pishgam/AnswerSheet/bactery/BacteryReport';\r\nimport InvoiceReport from '../Shop/InvoiceReport';\r\nimport TBAnswerSheet from '../Pishgam/AnswerSheet/TBAnswerSheet';\r\nimport HBVAnswerSheet from '../Pishgam/AnswerSheet/HBVAnswerSheet';\r\nimport HBVExpectedAnswerSheet from '../Pishgam/AnswerSheet/HBVExpectedAnswer';\r\nimport TBExpectedAnswerSheet from '../Pishgam/AnswerSheet/TBExpectedAnswer';\r\nimport AdminInvoice from '../Shop/AdminInvoice';\r\nimport TBReport from '../Pishgam/TBReport';\r\nimport HBVReport from '../Pishgam/HBVReport';\r\nimport MessageDefinition from '../Pishgam/MessageDefinition';\r\nimport AdminAnswersComponent from '../Pishgam/Admin/AdminAnswersComponent';\r\nimport FungusExpectedAnswer from '../Pishgam/AnswerSheet/FungusExpectedAnswer';\r\nimport OnlineUserList from '../Pishgam/OnlineUserList';\r\nimport AdminCertificate from '../Pishgam/Certificate/AdminCertificate';\r\nimport SectionDetail from '../Pishgam/Lab/SectionDetail';\r\nimport AdminSendingQuery from '../Pishgam/Admin/AdminSendingQuery';\r\nimport Survey from '../Pishgam/survey/Survey';\r\n\r\n\r\nexport default class PGIDashboard extends Component {\r\n state = {\r\n menus: []\r\n }\r\n\r\n\r\n async componentDidMount() {\r\n await this.initialiez();\r\n }\r\n async componentDidUpdate() {\r\n //ReactGA.pageview(window.location.pathname + window.location.search);\r\n await this.initialiez();\r\n }\r\n async initialiez() {\r\n if (this.state.menus.length === 0) {\r\n let menu = await ObjectClassController.GetFormAsync('Menu-');\r\n window.scrollTo(0, 0);\r\n this.setState({\r\n ...this.state,\r\n menus: menu\r\n })\r\n }\r\n }\r\n loadComponent(name) {\r\n const Component = React.lazy(() =>\r\n import(`${name}`)\r\n );\r\n return Component;\r\n }\r\n render() {\r\n return (\r\n\r\n
\r\n {this.state.menus.length > 0 ? : null}\r\n
\r\n \r\n \r\n {/* */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n } />\r\n } />\r\n } />\r\n\r\n \r\n\r\n \r\n {\r\n return (\r\n \r\n )\r\n }} />\r\n {\r\n return ;\r\n }} />\r\n \r\n (\r\n \r\n \r\n \r\n )} />\r\n {\r\n return ;\r\n }} />\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {\r\n return ;\r\n }} />\r\n {\r\n return (\r\n \r\n )\r\n }} />\r\n \r\n\r\n \r\n
\r\n {/* \r\n * \r\n (this.Forms = ref)} Mode='TempData' />\r\n */}\r\n
\r\n\r\n );\r\n }\r\n}\r\n","import React from 'react';\nimport Typed from 'react-typed';\nimport { Link } from 'react-router-dom';\nimport { Row, Col, Button } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport bg1 from '../../assets/img/generic/bg-1.jpg';\nimport dashboard from '../../assets/img/generic/dashboard-alt-light1.jpg';\n\nimport Section from '../common/Section';\n\nconst Banner = () => {\n return (\n
\n \n \n \n

\n ارزیابی خارجی کیفیت\n
\n پیشگام ایرانیان\n
\n

\n

\n
\n بخش \n \n

\n

\nآزمایشگاه های متقاضی می توانند با مطالعه جزئیات برنامه، زمان ارسال نمونه و هزینه هر برنامه موارد در خواستی خود را انتخاب نموده و ارسال فرمایند.\n

\n \n \n ورود به سامانه ارزیابی\n \n \n \n \n \"\"\n \n \n
\n
\n );\n};\n\nexport default Banner;\n","import bw1 from '../../assets/img/logos/b&w1/1.png';\nimport bw2 from '../../assets/img/logos/b&w1/2.png';\nimport bw3 from '../../assets/img/logos/b&w1/3.png';\n\nexport default [\n { src: bw1, height: 60 },\n { src: bw2, height: 60 },\n { src: bw3, height: 60 }\n];\n","import React from 'react';\nimport partnerList from '../../data/partner/partnerList';\nimport Section from '../common/Section';\nimport { Row, Col } from 'reactstrap';\nimport Logo from '../../Pishgam/Logo';\n\n// const Partner = props => (\n// \n// \"Partner\"\n// \n// );\n\nconst Partners = () => {\n return (\n
\n \n \n {/* {partnerList.map((partner, index) => (\n \n ))} */}\n \n
\n );\n};\n\nexport default Partners;\n","import { faDollarSign } from '@fortawesome/free-solid-svg-icons';\nimport illustration1 from '../../assets/img/illustrations/1.svg';\nimport illustration2 from '../../assets/img/illustrations/2.svg';\nimport illustration3 from '../../assets/img/illustrations/3.svg';\n\nexport default [\n {\n icon: faDollarSign,\n iconText: ' هزینه',\n color: 'danger',\n title: 'کاهش هزینه و ارتقاء اثر بخشی',\n description:\n 'هزینه اثربخشی برنامه با استفاده از نمونه های چند پارامتری به طور مثال یک نمونه شامل بیوشیمی عمومی، الکترولیت ها، هورمون',\n image: illustration2\n },\n {\n icon: ['far', 'object-ungroup'],\n iconText: 'پردازش',\n color: 'info',\n title: 'الگوی استاندارد',\n description:\n 'پردازش تست های کمی بر طبق الگوهای استاندارد و میانگین پر قدرت Rubust Mean',\n image: illustration1,\n inverse: true\n },\n {\n icon: ['far', 'paper-plane'],\n iconText: 'انعطاف پذیر',\n color: 'success',\n title: 'سیستم های متفاوت',\n description:\n 'برنامه منعطف با امکان ثبت نام تعداد بیش از یک سیستم بدون هزینه آنالیز ',\n image: illustration3\n }\n];\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { Row, Col } from 'reactstrap';\n\nconst Process = ({ icon, iconText, color, title, description, image, inverse, children }) => {\n return (\n \n \n \"\"\n \n \n
\n \n {iconText}\n
\n

{title}

\n

{description}

\n {children}\n \n
\n );\n};\n\nProcess.propTypes = {\n //icon: PropTypes.oneOfType([PropTypes.array, PropTypes.string]).isRequired,\n iconText: PropTypes.string.isRequired,\n color: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired,\n image: PropTypes.string.isRequired,\n inverse: PropTypes.bool,\n children: PropTypes.node\n};\n\nProcess.defaultProps = { inverse: false };\n\nexport default Process;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Row, Col } from 'reactstrap';\n\nconst SectionHeader = ({ title, subtitle, ...rest }) => {\n return (\n \n \n

{title}

\n

{subtitle}

\n \n
\n );\n};\n\nSectionHeader.propTypes = {\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string.isRequired\n};\n\nexport default SectionHeader;\n","import React from 'react';\nimport processList from '../../data/feature/processList';\nimport Section from '../common/Section';\nimport Process from './Process';\nimport SectionHeader from './SectionHeader';\nimport { isIterableArray } from '../../helpers/utils';\nconst Processes = () => (<>\n {/* */}\n
\n \n {isIterableArray(processList) && processList.map((process, index) => )}\n
\n);\n\nexport default Processes;\n","import { faSearchengin } from \"@fortawesome/free-brands-svg-icons\";\nimport { faBookMedical, faPen } from \"@fortawesome/free-solid-svg-icons\";\n\nexport default [\n {\n media: { icon: faBookMedical, color: 'info', className: 'fs-4' },\n title: 'آموزش',\n description:\n 'ارائه آموزش در سطوح مختلف علمی در راستای ارتقاء سطح کیفیت آزمایشگاه ها'\n },\n {\n media: { icon: faSearchengin, color: 'success', className: 'fs-5' },\n title: 'ارزیابی خارجی کیفیت',\n description:\n 'مورد تائید وزارت بهداشت و درمان و انجمن های علمی آسیب شناسی ایران وجامعه علمی آزمایشگاهیان ایران و انجمن متخصصین علوم آزمایشگاهی بالینی ایران'\n },\n {\n media: { icon: faPen, color: 'danger', className: 'fs-6' },\n title: 'مشاوره',\n description:\n 'ارائه خدمات مشاوره ای در سطوح مختلف مدیریتی و علمی در راستای ارتقاء سطح کیفیت آزمایشگاه ها'\n }\n];\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport className from 'classnames';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { Card, CardBody } from 'reactstrap';\n\nconst CardService = ({ media, title, description, children }) => (\n \n
\n \n
\n \n
{title}
\n {description &&

{description}

}\n {children}\n
\n
\n);\n\nCardService.propTypes = {\n media: PropTypes.shape({\n //icon: PropTypes.oneOfType([PropTypes.array, PropTypes.string]).isRequired,\n color: PropTypes.string.isRequired,\n className: PropTypes.string\n }),\n title: PropTypes.string.isRequired,\n description: PropTypes.string,\n children: PropTypes.node\n};\n\nexport default CardService;\n","import React from 'react';\nimport { Row, Col } from 'reactstrap';\nimport className from 'classnames';\nimport serviceList from '../../data/feature/serviceList';\nimport Section from '../common/Section';\nimport CardService from './CardService';\nimport SectionHeader from './SectionHeader';\n\nconst Services = () => (\n
\n \n \n {serviceList.map((service, index) => (\n 0 })} key={index}>\n \n \n ))}\n \n
\n);\n\nexport default Services;\n","\nexport default [\n {\n description:\n \"کیفیت نتیجه یک محیط فرهنگی است که به دقت ساخته شده است. این باید ساختار سازمان باشد، نه بخشی از بافت.\",\n author: 'Phil Crosby',\n designation: 'Philosophies of quality management',\n size: 45\n },\n {\n description:\n \"کیفیت یعنی انجام درست کار زمانی که کسی به آن نگاه نمی کند\",\n author: 'Henry Ford',\n designation: 'Founder of the Ford Motor Company',\n size: 30\n },\n {\n description:\n \"کیفیت افتخار کار است.\",\n author: 'W. Edwards Deming',\n designation: 'Philosophies of Total quality management (TQM)',\n size: 45\n }\n];\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Row, Col } from 'reactstrap';\nimport Section from '../common/Section';\nimport Slider from 'react-slick';\nimport { isIterableArray } from '../../helpers/utils';\n\nimport 'slick-carousel/slick/slick.css';\nimport 'slick-carousel/slick/slick-theme.css';\n\nimport testimonials from '../../data/testimonial/testimonialList';\n\nconst TestimonialItem = ({ description, author, designation, companyImage, size }) => {\n return (\n
\n

{description}

\n

\n - {author}, {designation}\n

\n \"\"\n
\n );\n};\n\nTestimonialItem.propTypes = {\n description: PropTypes.string.isRequired,\n author: PropTypes.string.isRequired,\n designation: PropTypes.string.isRequired,\n //companyImage: PropTypes.string.isRequired\n};\n\nconst settings = {\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1\n};\n\nconst Testimonial = () => (\n
\n \n \n \n {isIterableArray(testimonials) &&\n testimonials.map((testimonial, index) => )}\n \n \n \n
\n);\n\nexport default Testimonial;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport { Row, Col, Button } from 'reactstrap';\nimport bg2 from '../../assets/img/generic/bg-2.jpg';\nimport partnerList from '../../data/partner/partnerList';\nimport Section from '../common/Section';\nconst Partner = props => (\n \n \"Partner\"\n \n);\nconst Cta = () => (\n
\n \n {partnerList.map((partner, index) => (\n \n ))}\n \n \n \n

\n به خانواده بزرگ پیشگام ایرانیان با بیش از 2000 عضو بپیوندید\n

\n \n \n
\n
\n);\n\nexport default Cta;\n","export default [\n { title: 'درباره ما', to: 'aboutus' },\n { title: 'صفحه اصلی', to: '' },\n { title: 'ورود به برنامه', to: 'login' },\n \n];\n","import React, { Fragment } from 'react';\nimport PropTypes from 'prop-types';\nimport createMarkup from '../../helpers/createMarkup';\nimport Section from '../common/Section';\nimport { Row, Col } from 'reactstrap';\nimport { Link, NavLink } from 'react-router-dom';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { menuList1 } from '../../data/footer';\nimport { animateScroll } from 'react-scroll';\nimport { PGISsettings } from '../../config';\n\nconst FooterTitle = ({ children }) =>
{children}
;\n\nFooterTitle.propTypes = { children: PropTypes.node.isRequired };\n\nconst FooterList = ({ list }) => (\n
    \n {list.map(({ title, to }, index) => (\n
  • \n \n {title}\n \n
  • \n ))}\n
\n);\n\nFooterList.propTypes = { list: PropTypes.array.isRequired };\n\nconst FooterBlogList = ({ list }) => (\n
    \n {list.map((blog, index) => (\n
  • \n
    \n \n {blog.title}\n \n
    \n

    \n {blog.date} • {blog.read} read {blog.star && }\n

    \n
  • \n ))}\n
\n);\n\nFooterBlogList.propTypes = { list: PropTypes.array.isRequired };\n\nconst FooterStandard = () => {\n return (\n \n
\n
\n \n
\n \n \n پیشگام ایرانیان\n

\n شركت پیشگام ایرانیان درسال 1387 توسط كارشناسان و متخصصین برنامه های تضمین كیفیت و با هدف مشاركت در ارتقای وضعیت سلامت و ارائه خدمات به آزمایشگاههای تشخیص پزشكی ، تشكیل گردید. پشتوانه دانش فنی این كارشناسان گذراندن دوره های مختلف در مراکزعلمی معتبرداخلی و بین‌المللی مانند INSTAND, CSCQ, WHO ,BSI و...\n

\n \n \n اطلاعات تماس\n

\n آدرس :\n تهران، میدان ونک، خیابان ملاصدرا، ابتدای شیراز شمالی، بن بست کاج، پلاک 4، طبقه سوم\n

\n

\n کد پستی : 1991715515
\n صندوق پستی : 6779-15875
\n تلفن : 6 - 88058345 (9821+)
\n نمابر : 88058347 (9821+)
\n ایمیل : Info@eqas.ir
\n

\n {/* */}\n \n \n \n \n لینکها\n \n \n \n \n \n \n \"enamad\"\n \n \n
\n
\n\n
\n
\n
\n \n \n

\n با تشکر از اطمینان شما | \n
{new Date().getFullYear()} ©{' '}\n \n easysaz.com\n \n

\n \n \n

v{PGISsettings.version}

\n \n
\n
\n
\n
\n );\n};\n\nexport default FooterStandard;\n","import React from 'react'\r\nimport FooterStandard from '../../components/landing/FooterStandard'\r\nimport NavbarStandard from '../../components/navbar/NavbarStandard'\r\n\r\nconst HeaderFooter = ({children,match,location}) => {\r\n return (<>\r\n \r\n {location.pathname!=='/'?
:null}\r\n {children}\r\n \r\n \r\n )\r\n}\r\n\r\nexport default HeaderFooter","import React, { Fragment, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport Banner from './Banner';\nimport Partners from './Partners';\nimport Processes from './Processes';\nimport Services from './Services';\nimport Testimonial from './Testimonial';\nimport Cta from './Cta';\nimport HeaderFooter from '../../Pishgam/anonymousPages/HeaderFooter';\nimport { LabRegister } from '../../layouts/LabDashboard';\n\nconst Landing = ({ location, match }) => {\n useEffect(() => {\n window.scrollTo(0, 0);\n }, [location?.path]);\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nLanding.propTypes = { location: PropTypes.object.isRequired };\n\nexport default Landing;\n","import React from 'react';\r\nimport { Fragment } from 'react';\r\nimport Section from '../../components/common/Section';\r\nimport FooterStandard from '../../components/landing/FooterStandard';\r\nimport SectionHeader from '../../components/landing/SectionHeader';\r\nimport NavbarStandard from '../../components/navbar/NavbarStandard';\r\nimport Logo from '../Logo';\r\nimport HeaderFooter from './HeaderFooter';\r\n\r\nconst AboutUs = ({ location, match }) => {\r\n return (\r\n {/* */}\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n {/* */}\r\n\r\n
\r\n );\r\n};\r\n\r\nexport default AboutUs;","import React, { useState } from 'react'\r\nimport ReCAPTCHA from 'react-google-recaptcha'\r\nimport { Link } from 'react-router-dom'\r\nimport { toast } from 'react-toastify'\r\nimport { Button, Card, CardBody, CardFooter, CardTitle, Col, Form, FormFeedback, FormGroup, Input, Label, Row, Spinner } from 'reactstrap'\r\nimport Flex from '../../components/common/Flex'\r\nimport { Utility } from '../../Engine/Common'\r\nimport { ThemeCardHeader, ThemeDivider } from '../../EngineForms/ThemeControl'\r\nimport Logo from '../Logo'\r\nimport HeaderFooter from './HeaderFooter'\r\n\r\nconst NewLaboratory = ({ location, match }) => {\r\n const [notrobot, setNotrobot] = useState(false);\r\n const [loading, setLoading] = useState(false);\r\n const [formData, setUpdateFormData] = useState({});\r\n const [checkValidations, setCheckValidations] = useState(false);\r\n const [sent, setSent] = useState(false);\r\n const handleChange = (e) => {\r\n setUpdateFormData({\r\n ...formData,\r\n [e.target.name]: e.target.value.trim()\r\n });\r\n };\r\n const onChange = (value) => {\r\n if (value)\r\n setNotrobot(true)\r\n else if (value === null)\r\n setNotrobot(false);\r\n }\r\n const SendData = async (e) => {\r\n e.preventDefault();\r\n setLoading(true);\r\n setCheckValidations(undefined);\r\n let flag = false;\r\n Object.keys(formData).map((key) => {\r\n if (key !== 'laboratoryecoNo' && formData[key] === '')\r\n flag = true;\r\n })\r\n if (Object.keys(formData).length > 13 && !flag) {\r\n let result = await Utility.SendMali(formData);\r\n if (result) { setSent(true); }\r\n else { toast.error('ارتباط با سرور امکان پذیر نمی باشد'); }\r\n }\r\n setLoading(false);\r\n\r\n }\r\n return (\r\n \r\n\r\n \r\n
\r\n {sent ? \r\n \r\n \r\n \r\n همکار گرامی به سامانه EQAS Online خوش آمدید\r\n \r\n \r\n حداکثر ظرف 48 ساعت آینده پس از تکمیل فرم عضویت، به آزمایشگاه کد اختصاصی تعلق گرفته و میتوانید از طریق آدرس {eqasonline.ir} با وارد کردن شماره موبایل ( مسئول فنی) و انتخاب رمز عبور ( طبق مشخصات خواسته شده) وارد سامانه شده و ثبت نام دوره ها را انجام دهید.\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n :\r\n \r\n \r\n \r\n \r\n \r\n
\r\n مشخصات مسئول آزمایشگاه\r\n \r\n \r\n \r\n \r\n \r\n \r\n فیلد نام اجباری می باشد\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n فیلد نام خانوادگی اجباری می باشد\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n فیلد تلفن همراه اجباری می باشد\r\n \r\n \r\n \r\n \r\n مشخصات آزمایشگاه\r\n \r\n \r\n \r\n \r\n \r\n فیلد نام آزمایشگاه اجباری می باشد\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n فیلد نوع آزمایشگاه اجباری می باشد\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n فیلد دانشگاه اجباری می باشد\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n فیلد نوع مالکیت اجباری می باشد\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n فیلد کد ملی اجباری می باشد\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n مشخصات تماس\r\n \r\n \r\n \r\n \r\n \r\n \r\n فیلد تلفن اجباری می باشد\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n فیلد ایمیل اجباری می باشد\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n فیلد استان اجباری می باشد\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n فیلد شهر اجباری می باشد\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n فیلد کدپستی اجباری می باشد\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n فیلد آدرس اجباری می باشد\r\n \r\n \r\n \r\n \r\n {notrobot ? (loading ? : ) :\r\n \r\n }\r\n \r\n \r\n
\r\n
\r\n
\r\n
}\r\n
\r\n {sent ?
: null}\r\n \r\n )\r\n}\r\n\r\nexport default NewLaboratory","import React from 'react';\r\nimport { BrowserRouter as Router, Route, Switch, useLocation } from 'react-router-dom';\r\nimport { toast, ToastContainer } from 'react-toastify';\r\nimport { CloseButton, Fade } from '../components/common/Toast';\r\nimport Landing from '../components/landing/Landing';\r\nimport AboutUs from '../Pishgam/anonymousPages/AboutUs';\r\nimport CertificationPage from '../Pishgam/anonymousPages/CertificationPage';\r\nimport NewLaboratory from '../Pishgam/anonymousPages/NewLaboratory';\r\nimport AuthCardLayout from './AuthCardLayout';\r\nimport ErrorLayout from './ErrorLayout';\r\n\r\nconst AnonymousLayout = ({ location, match }) => {\r\n console.log(match)\r\n return (<>\r\n }>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n } position={toast.POSITION.BOTTOM_LEFT} />\r\n \r\n \r\n );\r\n};\r\n\r\nexport default AnonymousLayout;","import React, { Component } from 'react';\r\nimport { Droppable } from 'react-beautiful-dnd';\r\nimport { Button, CardBody, CardTitle, Col, Dropdown, DropdownMenu, DropdownToggle, FormGroup, Input, Label } from 'reactstrap';\r\nimport Flex from '../../components/common/Flex';\r\nimport InstanceCell from '../InstanceForm/InstanceCell';\r\n\r\nconst controlTypes = ['None', 'AITextBox', 'MultiLang_TextBox', 'ComboBox', 'CheckBox'\r\n , 'TreeView', 'SearchControl', 'InstanceControl', 'UserBox','RaidoButton'];\r\nexport default class ColDesigner extends Component {\r\n state = {\r\n mousein: false, OpenSetting: false,\r\n control: {\r\n col: \"12\",\r\n pid: \"\",\r\n controlType: \"\",\r\n title: \"\", IsReadOnly: false,\r\n actiontype: \"\"\r\n }\r\n }\r\n MouseEnter() {\r\n this.setState({\r\n ...this.state,\r\n mousein: true\r\n })\r\n }\r\n MouseLeave() {\r\n this.setState({\r\n ...this.state,\r\n mousein: false\r\n })\r\n }\r\n componentDidMount() {\r\n this.initialize();\r\n }\r\n componentDidUpdate() {\r\n this.initialize();\r\n }\r\n initialize() {\r\n if (this.props.control.pid !== this.state.control.pid) {\r\n let control = { ...this.props.control };\r\n if (this.props.control.IsReadOnly === undefined)\r\n control.IsReadOnly = false;\r\n this.setState({\r\n ...this.state,\r\n control: control\r\n });\r\n }\r\n }\r\n OpenSetting() {\r\n this.setState({\r\n ...this.state,\r\n OpenSetting: true,\r\n })\r\n }\r\n titleCanged(event) {\r\n this.setState({\r\n ...this.state,\r\n control: {\r\n ...this.state.control,\r\n title: event.target.value\r\n }\r\n })\r\n }\r\n render() {\r\n let id = this.props.rowindex + '-' + this.props.colindex;\r\n return (<>\r\n \r\n
\r\n \r\n \r\n {(provided) => (\r\n
\r\n {this.state.control.pid !== '' ?\r\n \r\n : (
\r\n \r\n
\r\n )}\r\n {provided.placeholder}\r\n
\r\n )}\r\n
\r\n \r\n
\r\n this.setState({ ...this.state, OpenSetting: !this.state.OpenSetting })} className=\"nopadding\" >\r\n \r\n \r\n \r\n {\r\n <>\r\n \r\n \r\n
{\"تنظیمات مشخصه\"}
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.setState({\r\n ...this.state,\r\n control: {\r\n ...this.state.control,\r\n controlType: event.target.value\r\n }\r\n }) }}\r\n id=\"controlType\">\r\n {controlTypes.map((ctrl) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n
\r\n
\r\n \r\n \r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Label, Button, ButtonGroup, CardBody, Input, Row, DropdownToggle, Dropdown, DropdownMenu, CardTitle, Container } from 'reactstrap';\r\nimport ButtonIcon from '../../components/common/ButtonIcon';\r\nimport Flex from '../../components/common/Flex';\r\nimport ColDesigner from './ColDesigner';\r\nimport { faTrash } from '@fortawesome/free-solid-svg-icons'\r\n\r\n\r\nexport default class RowDesigner extends Component {\r\n state = {\r\n dropdownOpen: false,\r\n columns: '',\r\n mousein: false,\r\n\r\n }\r\n columnlist = [1, 2, 3, 4, 6, 12];\r\n\r\n Click(count) {\r\n let tempvalue = '1/' + 12 / count;\r\n let resultvalue = '';\r\n for (var i = 0; i < count; i++) {\r\n resultvalue += tempvalue + ' + ';\r\n }\r\n resultvalue = resultvalue.substring(0, resultvalue.length - 3)\r\n this.setState({\r\n ...this.state,\r\n columns: resultvalue\r\n })\r\n }\r\n inputChanged(event) {\r\n this.setState({\r\n ...this.state,\r\n columns: event.currentTarget.value\r\n })\r\n }\r\n ChangeRowCount() {\r\n const row = this.props.row;\r\n const columns = this.state.columns.split('+');\r\n let colCount = columns.length;\r\n if (colCount > row.controls.length) {\r\n for (var i = 0; i < colCount; i++) {\r\n const number = columns[i].replace('1/', '').trim();\r\n let temp = row.controls.length > i ? row.controls[i] :\r\n {\r\n col: number,\r\n pid: \"\",\r\n controlType: \"\",\r\n title: \"\"\r\n };\r\n if (row.controls.length > i) {\r\n temp = { ...temp, col: number };\r\n row.controls.splice(i, 1);\r\n }\r\n row.controls.splice(i, 0, temp);\r\n }\r\n }\r\n else {\r\n row.controls.splice(row.controls.length - 1, row.controls.length - colCount);\r\n }\r\n\r\n this.props.onChenge(row, this.props.rowindex);\r\n }\r\n MouseEnter() {\r\n this.setState({\r\n ...this.state,\r\n mousein: true\r\n })\r\n }\r\n MouseLeave() {\r\n this.setState({\r\n ...this.state,\r\n mousein: false\r\n })\r\n }\r\n toggle = () => {\r\n this.setState({\r\n ...this.state,\r\n dropdownOpen: !this.state.dropdownOpen\r\n });\r\n }\r\n toggleRowPlus = () => {\r\n this.setState({\r\n ...this.state,\r\n mousein: !this.state.mousein\r\n });\r\n }\r\n columnButton = () => {\r\n let result = [];\r\n this.columnlist.map((i) => {\r\n result = [...result, ];\r\n return result;\r\n })\r\n return result;\r\n }\r\n render() {\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {this.props.row.title}\r\n {this.props.row.controls.map((control, colindex) => (\r\n \r\n ))}\r\n \r\n \r\n \r\n {\r\n <>\r\n \r\n \r\n
{\"طرح ردیف\"}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {this.columnButton()}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n
\r\n
\r\n
\r\n \r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { FormGroup, Label } from \"reactstrap\";\r\nimport uuid from 'react-uuid'\r\nimport Select from 'react-select';\r\nimport Flex from '../common/Flex';\r\nimport { CustomInput } from 'reactstrap';\r\nexport default class JoiComboBox extends Component {\r\n state = {\r\n value: null\r\n }\r\n selectedChanged(newValue, actionMeta) {\r\n this.props.onChange(newValue.value, newValue)\r\n }\r\n \r\n \r\n \r\n render() {\r\n let id = uuid();\r\n let options = [];\r\n let defaultvalue = {};\r\n if (this.props.Instance !== undefined && this.props.Instance.Prop !== undefined\r\n && this.props.Instance.Prop.find(x => x.PID === this.props.PID) !== undefined\r\n && this.props.Instance.Prop.find(x => x.PID === this.props.PID).source !== undefined\r\n && this.props.Instance.Prop.find(x => x.PID === this.props.PID).source.length > 0) {\r\n this.props.Instance.Prop.find(x => x.PID === this.props.PID).source.map((item) => {\r\n let obj = { value: item.id, label: item.display }\r\n options = [...options, obj]\r\n return options;\r\n });\r\n }\r\n else if (this.props.source !== undefined)\r\n this.props.source.map((item) => {\r\n let obj = { value: item.id, label: item.display }\r\n options = [...options, obj]\r\n return options;\r\n });\r\n let value = options.find(x => x.value === this.props.PValue);\r\n if (this.props.Instance !== undefined && this.props.Instance.Prop !== undefined) {\r\n let obj = this.props.Instance.Prop.find(x => x.PID === this.props.PID)\r\n if (obj !== undefined && obj.IPV !== '')\r\n value = options.find(x => x.value === obj.IPV)\r\n else\r\n value = null;\r\n }\r\n \r\n return (\r\n
\r\n \r\n {this.props.TitleFree ? null : }\r\n {\r\n this.props.ActiveSwitch !== undefined?\r\n this.props.SwitchChanged !== undefined ? this.props.SwitchChanged(svalue) : null}\r\n /> :\r\n null\r\n }\r\n \r\n\r\n \r\n
\r\n
\r\n \r\n \r\n x === 'Save') >= 0 ? \"falcon-success\" : \"falcon-default\"} size=\"sm\" icon={faSave} title='دکمه ذخیره' value='Save' onClick={this.toggelCommand.bind(this)} />\r\n x === 'New') >= 0 ? \"falcon-success\" : \"falcon-default\"} size=\"sm\" icon={faPlus} title='دکمه جدید' value='New' onClick={this.toggelCommand.bind(this)}/>\r\n x === 'Delete') >= 0 ? \"falcon-success\" : \"falcon-default\"} size=\"sm\" icon={faTrash} title='دکمه حذف' value='Delete' onClick={this.toggelCommand.bind(this)}/>\r\n x === 'Save-New') >= 0 ? \"falcon-success\" : \"falcon-default\"} size=\"sm\" icon={faFolderPlus} title='دکمه ذخیره و جدید' value='Save-New' onClick={this.toggelCommand.bind(this)} />\r\n x === 'Refresh') >= 0 ? \"falcon-success\" : \"falcon-default\"} size=\"sm\" icon={faRedo} title='دکمه بروزرسانی' value='Refresh' onClick={this.toggelCommand.bind(this)} />\r\n \r\n
\r\n \r\n \r\n \r\n \r\n {this.state.Data.rows.map((row, index) => {\r\n let topButton = null\r\n let BottomButton =
\r\n if (this.state.Data.ShowType === 'vertical') {\r\n if(index===0)\r\n topButton = (\r\n \r\n );\r\n BottomButton = (\r\n \r\n );\r\n }\r\n return (\r\n
\r\n { topButton}\r\n \r\n { BottomButton}\r\n
\r\n )\r\n })}\r\n {\r\n this.state.ConditionModal.isOpen?\r\n \r\n : null\r\n }\r\n {\r\n this.state.RelationModal.isOpen ?\r\n \r\n : null\r\n }\r\n \r\n );\r\n }\r\n}\r\n //static getDerivedStateFromProps(props, state) {\r\n // console.log(props, state)\r\n // if (props.Form !== {} && props.Form !== undefined)\r\n // state = props.Form;\r\n // else\r\n // state = defualstate;\r\n // return state;\r\n //}","import React, { useState } from \"react\";\r\nimport PropTypes from 'prop-types';\r\nimport { Card, CardBody, CardHeader, Collapse } from 'reactstrap';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\n\r\nconst JoiAccordion = (props) => {\r\n const [isOpen, setIsOpen] = useState(props.open);\r\n return (\r\n \r\n setIsOpen(!isOpen)} className=\"py-2 cursor-pointer\">\r\n \r\n {props.title}\r\n \r\n \r\n \r\n {props.children}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nJoiAccordion.propTypes = {\r\n title: PropTypes.string,\r\n description: PropTypes.string,\r\n open: PropTypes.bool\r\n};\r\n\r\nJoiAccordion.defaultProps = { open: false };\r\n\r\nexport default JoiAccordion;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport {Input, FormGroup, Label } from \"reactstrap\";\r\nimport uuid from 'react-uuid'\r\n\r\nexport default class JoiMultiLanInput extends React.Component {\r\n\r\n onChange(event) {\r\n let context = this.props.Contexts.find(x => x.Lan === 'fa-IR');\r\n context.Context = event.currentTarget.value;\r\n this.props.onChange(context)\r\n }\r\n render() {\r\n\r\n let id = uuid();\r\n let context = '';\r\n if (this.props.Contexts.length > 0)\r\n context = this.props.Contexts.find(x=>x.Lan==='fa-IR').Context;\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n };\r\n}\r\n JoiMultiLanInput.propTypes = {\r\n sourceid: PropTypes.string,\r\n destination: PropTypes.object,\r\n oprator: PropTypes.string,\r\n Title: PropTypes.string\r\n };\r\n \r\n JoiMultiLanInput.defaultProps = {\r\n oprator: '=',\r\n Title: 'بی نام'\r\n };\r\n\r\n ","import React, { Component } from 'react';\r\nimport { Badge, CustomInput, Row } from 'reactstrap';\r\nimport Flex from '../common/Flex';\r\nimport { Draggable } from 'react-beautiful-dnd';\r\nimport uuid from 'uuid/v1';\r\nexport default class JoiBaseProperty extends Component {\r\n state = { Name: '', controlType: '', dataType: '', select: true };\r\n render() {\r\n return (\r\n \r\n {(provided) => (\r\n
\r\n \r\n \r\n (this.props.ShowProp(this.props.property.ID))}\r\n />\r\n \r\n \r\n {this.props.property.StyleW2.Control}\r\n {this.props.property.StyleW2.DataType}\r\n (this.props.ChangedKey(this.props.property.ID))}\r\n color={ this.props.IsKey ? 'warning' : 'light'} pill>Key\r\n \r\n \r\n
\r\n )}\r\n
\r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { FormGroup, Col, Label, Row,Modal, ModalHeader, ModalBody, ModalFooter, Button, Input } from 'reactstrap';\r\nimport BasePropertyController from '../Engine/BasePropertyController';\r\nimport JoiComboBox from '../components/joi/JoiComboBox';\r\nimport JoiSearchBox from '../components/joi/JoiSearchBox';\r\nimport { Utility } from '../Engine/Common';\r\nconst dataTypeList = [\r\n {\r\n id: \"Double\", display: \"Double\"\r\n },\r\n {\r\n id: \"String\", display: \"String\"\r\n },\r\n {\r\n id: \"Boolean\", display: \"Boolean\"\r\n },\r\n {\r\n id: \"DateTime\", display: \"DateTime\"\r\n },\r\n {\r\n id: \"Time\", display: \"Time\"\r\n },\r\n {\r\n id: \"BaseProperty\", display: \"BaseProperty\"\r\n },\r\n {\r\n id: \"Entity\", display: \"Entity\"\r\n },\r\n {\r\n id: \"ObjectClass\", display: \"ObjectClass\"\r\n },\r\n {\r\n id: \"Instance\", display: \"Instance\"\r\n },\r\n { id: \"AnyInstance\", display: \"AnyInstance\" },\r\n { id: \"Group\", display: \"Group\" },\r\n { id: \"ObjectClassList\", display: \"ObjectClassList\" },\r\n { id: \"User\", display: \"User\" },\r\n { id: \"Date\", display: \"Date\" },\r\n { id: \"File\", display: \"File\" },\r\n { id: \"Role\", display: \"Role\" },\r\n { id: \"Json\", display: \"Json\" },\r\n {\r\n id: \"TimeSpan\", display: \"TimeSpan\"\r\n },\r\n {\r\n id: \"NewInstance\", display: \"NewInstance\"\r\n }\r\n];\r\nconst ControlType = [\r\n { display: \"None\", id: \"None\" },\r\n { display: \"AITextBox\", id: \"AITextBox\"},\r\n { display: \"MultiLang_TextBox\", id: \"MultiLang_TextBox\"},\r\n { display: \"ComboBox\", id: \"ComboBox\"},\r\n { display: \"CheckBox\", id: \"CheckBox\"},\r\n { display: \"Slider_CheckBox\", id: \"Slider_CheckBox\"},\r\n { display: \"TreeView\", id: \"TreeView\"},\r\n { display: \"SearchControl\", id: \"SearchControl\"},\r\n { display: \"InstanceControl\", id: \"InstanceControl\"},\r\n { display: \"UserBox\", id: \"UserBox\"},\r\n { display: \"Weight\", id: \"Weight\"},\r\n { display: \"RaidoButton\", id: \"RaidoButton\"},\r\n { display: \"MultiLineText\", id: \"MultiLineText\"},\r\n { display: \"TimePeriod\", id: \"TimePeriod\"}]\r\n\r\nexport default class BasePropertyHandler extends Component {\r\n state = { ...BasePropertyController.New(), errors: [], pervisid: 'NEWBASEPROPERTY' };\r\n async UNSAFE_componentWillUpdate(prevProps, prevState) {\r\n if (prevProps.Modal.source !== prevState.pervisid) {\r\n \r\n let state = { ...BasePropertyController.New(), errors: [], pervisid: prevProps.Modal.source };\r\n if (prevProps.Modal.source !== '' && prevProps.Modal.source !== 'NEWBASEPROPERTY') {\r\n state = await BasePropertyController.LoadAsync(prevProps.Modal.source);\r\n state = { ...state,errors: [], pervisid: prevProps.Modal.source}\r\n }\r\n else if (prevProps.Modal.source === '')\r\n state = { ...state, PSource: '', errors: [], pervisid: '' }\r\n this.setState({\r\n ...state\r\n })\r\n }\r\n }\r\n \r\n toggle() {\r\n this.props.Close(this.props.Modal.source, null);\r\n }\r\n async Save() {\r\n if (this.Validation()) {\r\n console.log(this.state)\r\n this.state.pervisid=await BasePropertyController.SaveAsync(this.state.ID, this.state);\r\n this.props.Close(this.props.Modal.source, this.state.pervisid);;\r\n }\r\n }\r\n Validation() {\r\n let errors = []\r\n if (this.state.Contexts[0].Context.trim() === \"\") {\r\n errors = [...errors, { id: 'Context', text: ' نمیتواند خالی باشد' }]\r\n this.setState({\r\n ...this.state,\r\n errors: errors\r\n })\r\n return false;\r\n }\r\n return true;\r\n }\r\n onChange(event) {\r\n this.setState({\r\n ...this.state,\r\n Contexts: [{ Lan: \"fa-IR\", Context: event.currentTarget.value }],\r\n })\r\n }\r\n onChangeDataType(event) {\r\n this.setState({\r\n ...this.state,\r\n StyleW2: {\r\n ...this.state.StyleW2,\r\n DataType: event\r\n },\r\n })\r\n }\r\n onChangeControlType(event) {\r\n this.setState({\r\n ...this.state,\r\n StyleW2: {\r\n ...this.state.StyleW2,\r\n Control: event\r\n },\r\n })\r\n }\r\n PSourceChanged(selectedclass) {\r\n console.log(selectedclass)\r\n this.setState({\r\n ...this.state,\r\n PSource: selectedclass\r\n })\r\n }\r\n onMinChange(event) {\r\n this.setState({\r\n ...this.state,\r\n StyleW2: {\r\n ...this.state.StyleW2,\r\n Min: event.currentTarget.value\r\n },\r\n })\r\n }\r\n onMaxChange(event) {\r\n this.setState({\r\n ...this.state,\r\n StyleW2: {\r\n ...this.state.StyleW2,\r\n Max: event.currentTarget.value\r\n },\r\n })\r\n }\r\n onValueLenghChange(event) {\r\n this.setState({\r\n ...this.state,\r\n StyleW2: {\r\n ...this.state.StyleW2,\r\n ValueLengh: event.currentTarget.value\r\n },\r\n })\r\n }\r\n onMultiValueChange(event) {\r\n console.log(event.currentTarget.defaultChecked, this.state)\r\n this.setState({\r\n ...this.state,\r\n StyleW2: {\r\n ...this.state.StyleW2,\r\n MultiValue: !this.state.StyleW2.MultiValue\r\n },\r\n })\r\n }\r\n closeBtn = ;\r\n\r\n render() {\r\n\r\n return (\r\n \r\n تعریف مشخصه {this.state.ID}\r\n \r\n \r\n \r\n \r\n \r\n {this.state.errors.find(x => x.id === 'Context') ? this.state.errors.find(x => x.id === 'Context').text:''}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { Component } from 'react';\r\nimport { Card, CardTitle, ListGroup, ListGroupItem, Button, CustomInput, Label } from 'reactstrap';\r\nimport JoiAccordion from '../components/joi/JoiAccordion';\r\nimport JoiSearchBox from '../components/joi/JoiSearchBox';\r\nimport JoiComboBox from '../components/joi/JoiComboBox';\r\nimport JoiMultiLanInput from '../components/joi/JoiMultiLanInput';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport ObjectClassController from '../Engine/ObjectClassController';\r\nimport JoiBaseProperty from '../components/joi/JoiBaseProperty';\r\nimport { Droppable } from 'react-beautiful-dnd';\r\nimport BasePropertyHandler from './BasePropertyHandler';\r\nimport BasePropertyController from '../Engine/BasePropertyController';\r\nimport { Utility } from '../Engine/Common';\r\nimport Flex from '../components/common/Flex';\r\nimport { faSave, faPlus } from '@fortawesome/free-solid-svg-icons'\r\nimport { CardBody } from 'reactstrap';\r\nconst newClass = {\r\n Name: \"\",\r\n ShowProp: \"\",\r\n UserCanChange: true,\r\n Contexts: [{ Lan: 'fa-IR', Context:'' },\r\n ],\r\n HasReadLimitation: false,\r\n ID: \"\",\r\n EID: '',\r\n Version: \"\",\r\n properties: [],\r\n Forms: [],\r\n Extended: {\r\n KEYS: [],\r\n IsUniqe: false,\r\n LOH: false,\r\n RST:0\r\n }\r\n}\r\nexport default class ObjectClassHandler extends Component {\r\n state = {\r\n isopen: false,\r\n FormData: {},\r\n Source: { ...newClass} ,\r\n Model: {},\r\n modal: {\r\n isOpen: false,\r\n source: '',\r\n selectedID:''\r\n },\r\n entityList: [],\r\n ShowProplist: [],\r\n };\r\n async componentDidMount() {\r\n this.props.onRef(this)\r\n let entities = await ObjectClassController.GetAllEntities();\r\n this.setState({\r\n ...this.state,\r\n entityList: entities\r\n })\r\n }\r\n componentWillUnmount() {\r\n this.props.onRef(null)\r\n }\r\n onDragEnd = result => {\r\n const { destination, source } = result;\r\n if (!destination)\r\n return;\r\n if (destination.droppableId === source.droppableId &&\r\n destination.index === source.index)\r\n return;\r\n const start = source.droppableId;\r\n const end = destination.droppableId;\r\n if (start === end) {\r\n const newProperties = Array.from(this.state.Source.properties);\r\n let desObj = {\r\n ...this.state.Source.properties[source.index]\r\n } ;\r\n newProperties.splice(source.index, 1);\r\n newProperties.splice(destination.index, 0, desObj);\r\n this.setState({\r\n ...this.state,\r\n Source: {...this.state.Source,properties:newProperties}\r\n })\r\n //ObjectClassController.Update(newModel);\r\n return;\r\n }\r\n }\r\n async selectionChanged(selectedclass) {\r\n let datamodel = await ObjectClassController.LoadAsync(selectedclass);\r\n if (datamodel.ID !== this.state.Source.ID) {\r\n let source = {\r\n ...datamodel,\r\n EID: datamodel.ID.split('C')[0]\r\n };\r\n if (source.ShowProp !== undefined)\r\n this.state.ShowProplist = source.ShowProp.split(',');\r\n this.setState({\r\n ...this.state,\r\n Source: source,\r\n Model: datamodel,\r\n ShowProplist: this.state.ShowProplist\r\n });\r\n this.props.ChangeSource(this.state.Source.ID);\r\n }\r\n }\r\n entityChanged(selected) {\r\n this.setState(\r\n {\r\n ...this.state,\r\n Source: {\r\n ...this.state.Source,\r\n ID: selected,\r\n EID: selected\r\n\r\n }\r\n })\r\n }\r\n //Update(datamodel = { Data: {ID:''} }) {\r\n // if (datamodel.ID !== this.state.Source.ID) {\r\n // let source = {\r\n // ...datamodel,\r\n // EID: datamodel.ID.split('C')[0]\r\n // };\r\n // if (source.ShowProp !== undefined)\r\n // this.state.ShowProplist = source.ShowProp.split(',');\r\n // this.setState({\r\n // ...this.state,\r\n // Source: source,\r\n // Model: datamodel,\r\n // ShowProplist: this.state.ShowProplist\r\n // });\r\n // this.props.ChangeSource(this.state.Source.ID);\r\n // }\r\n\r\n //}\r\n LoadForm(event) {\r\n if (event === 'NEW')\r\n this.props.ChangeSource(this.state.Source.ID,'NEW');\r\n else\r\n this.props.ChangeSource(event);\r\n }\r\n AddNewProperty() {\r\n\r\n }\r\n isOpen(id,event) {\r\n this.setState({\r\n ...this.state,\r\n modal: {\r\n isOpen: true,\r\n source: id\r\n }\r\n })\r\n }\r\n async ModalClosed(source = '', form) {\r\n this.setState({\r\n ...this.state,\r\n modal: {\r\n isOpen: false,\r\n source: '',\r\n selectedID: ''\r\n }\r\n })\r\n if (form !== null)\r\n await this.SearchPropertyChanged({ id: form })\r\n }\r\n async SearchPropertyChanged(selectedproperty) {\r\n let property = await BasePropertyController.LoadAsync(selectedproperty)\r\n if (property !== null) {\r\n let props = this.state.Source.properties;\r\n props = [...props, property]\r\n\r\n this.setState({\r\n ...this.state,\r\n Source: {\r\n ...this.state.Source,\r\n properties: props\r\n }\r\n });\r\n }\r\n }\r\n ContextChanged(newContextvalue) {\r\n let index = this.state.Source.Contexts.findIndex(x => x.Lan === newContextvalue.Lan);\r\n let contexts = this.state.Source.Contexts;\r\n contexts.splice(index, 1, newContextvalue);\r\n this.setState({\r\n ...this.state,\r\n Source: {\r\n ...this.state.Source,\r\n Contexts:contexts\r\n }\r\n })\r\n }\r\n async SaveClass() {\r\n await ObjectClassController.SaveAsync(this.state.Source)\r\n this.props.ChangeSource(this.state.Source.ID);\r\n }\r\n NewClass() {\r\n this.setState({\r\n ...this.state,\r\n FormData: {},\r\n Source: {\r\n ...newClass, Contexts: [{ Lan: 'fa-IR', Context: '' },\r\n ],ID:'E3',EID:'E3' }\r\n })\r\n }\r\n ChangedShowProp(propid) {\r\n if (!this.state.ShowProplist.find(x => x === propid))\r\n this.state.ShowProplist = [...this.state.ShowProplist, propid]\r\n else\r\n this.state.ShowProplist.splice(this.state.ShowProplist.findIndex(x => x === propid), 1)\r\n let showprop = '';\r\n this.state.Source.OCP.map((propid) => {\r\n if (this.state.ShowProplist.findIndex(p => p === propid) >= 0)\r\n showprop += propid + ',';\r\n })\r\n showprop = showprop.substring(0, showprop.length - 1);\r\n console.log(this.state)\r\n this.setState({\r\n ...this.state,\r\n Source: {\r\n ...this.state.Source,\r\n ShowProp: showprop\r\n },\r\n ShowProplist: this.state.ShowProplist\r\n })\r\n }\r\n ChangedKey(propid) {\r\n if (this.state.Source.Extended.KEYS === undefined)\r\n this.state.Source.Extended.KEYS = [];\r\n if (!this.state.Source.Extended.KEYS.find(x => x === propid))\r\n this.state.Source.Extended.KEYS = [...this.state.Source.Extended.KEYS, propid]\r\n else\r\n this.state.Source.Extended.KEYS.splice(this.state.Source.Extended.KEYS.findIndex(x => x === propid), 1)\r\n let showprop = '';\r\n console.log(this.state)\r\n this.setState({\r\n ...this.state,\r\n Source: {\r\n ...this.state.Source,\r\n Extended: this.state.Source.Extended\r\n },\r\n })\r\n }\r\n render() {\r\n return (\r\n <>\r\n \r\n \r\n \r\n مدیریت کلاس\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ویژگی جدید\r\n \r\n
\r\n \r\n {(provided) => (\r\n
\r\n {this.state.Source.properties.map((prop, index) => (\r\n x === prop.ID) >= 0} value={prop.ID} key={prop.ID} property={prop} index={index}\r\n onClick={this.isOpen.bind(this, prop.ID)}\r\n ShowProp={this.ChangedShowProp.bind(this)}\r\n ChangedKey={this.ChangedKey.bind(this)}\r\n IsKey={this.state.Source.Extended.KEYS !== undefined && this.state.Source.Extended.KEYS.findIndex(x => x === prop.ID) >= 0}\r\n />\r\n ))}\r\n {provided.placeholder}\r\n
\r\n )}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {this.state.Source.Extended !== undefined ?\r\n {\r\n this.state.Source.Extended.IsUniqe = !this.state.Source.Extended.IsUniqe\r\n this.setState({\r\n ...this.state,\r\n Source: {\r\n ...this.state.Source,\r\n Exd: JSON.stringify(this.state.Source.Extended),\r\n Extended: {\r\n ...this.state.Source.Extended,\r\n IsUniqe : !this.state.Source.Extended.IsUniqe\r\n }\r\n }\r\n })\r\n }}\r\n /> : }\r\n \r\n \r\n {this.state.Source.Extended !== undefined ?\r\n {\r\n this.state.Source.Extended.LOH = !this.state.Source.Extended.LOH\r\n this.setState({\r\n ...this.state,\r\n Source: {\r\n ...this.state.Source,\r\n Exd: JSON.stringify(this.state.Source.Extended),\r\n Extended: this.state.Source.Extended\r\n }\r\n })\r\n }}\r\n /> : }\r\n \r\n \r\n {this.state.Source.Extended !== undefined ?\r\n {\r\n (this.state.Source.Extended.RST === 4)\r\n ? this.state.Source.Extended.RST = 0\r\n : this.state.Source.Extended.RST=4\r\n this.setState({\r\n ...this.state,\r\n Source: {\r\n ...this.state.Source,\r\n Exd: JSON.stringify(this.state.Source.Extended),\r\n Extended: this.state.Source.Extended\r\n }\r\n })\r\n }}\r\n /> : }\r\n \r\n \r\n \r\n \r\n
\r\n \r\n {(\r\n this.state.Source.Forms.map((form) => (\r\n \r\n ))\r\n )}\r\n
\r\n
\r\n
\r\n \r\n \r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Button, ButtonGroup, Card, CardBody,CardTitle, Col, Dropdown, DropdownMenu, DropdownToggle, Input, InputGroup, Label, Row } from 'reactstrap';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport { faSearch, faTrash } from '@fortawesome/free-solid-svg-icons'\r\nimport Flex from '../components/common/Flex';\r\n\r\nexport default class RowSetting extends Component {\r\n state = {\r\n preProp: null,\r\n columns:'',\r\n Row: {\r\n height: '100px',\r\n controls: [\r\n {\r\n col: \"12\",\r\n pid: \"\",\r\n controlType: \"\",\r\n title: \"\"\r\n }\r\n ]\r\n }\r\n }\r\n columnlist = [1, 2, 3, 4, 6, 12];\r\n initialize() {\r\n if (this.state.preProp !== this.props.Row) {\r\n let cols = '';\r\n this.props.Row.controls.map((control) => {\r\n cols += '1/' + control.col + ' +';\r\n });\r\n cols = cols.substring(0, cols.length - 2)\r\n this.setState({\r\n ...this.state,\r\n preProp: this.props.Row,\r\n columns: cols\r\n });\r\n\r\n }\r\n }\r\n componentDidMount() {\r\n this.initialize();\r\n }\r\n componentDidUpdate() {\r\n this.initialize();\r\n }\r\n Click(count) {\r\n let tempvalue = '1/' + 12 / count;\r\n let resultvalue = '';\r\n for (var i = 0; i < count; i++) {\r\n resultvalue += tempvalue + ' + ';\r\n }\r\n resultvalue = resultvalue.substring(0, resultvalue.length - 3)\r\n this.setState({\r\n ...this.state,\r\n columns: resultvalue\r\n })\r\n }\r\n columnButton(){\r\n let result = [];\r\n this.columnlist.map((i) => {\r\n result = [...result, ];\r\n })\r\n return result;\r\n }\r\n inputChanged(event) {\r\n this.setState({\r\n ...this.state,\r\n columns: event.currentTarget.value\r\n })\r\n }\r\n RowChanged() {\r\n const row = this.props.Row;\r\n const columns = this.state.columns.split('+');\r\n let colCount = columns.length;\r\n if (colCount >= row.controls.length) {\r\n for (var i = 0; i < colCount; i++) {\r\n const number = columns[i].replace('1/', '').trim();\r\n let temp = row.controls.length > i ? row.controls[i] :\r\n {\r\n col: number,\r\n pid: \"\",\r\n controlType: \"\",\r\n title: \"\"\r\n };\r\n if (row.controls.length > i) {\r\n temp = { ...temp, col: number };\r\n row.controls.splice(i, 1);\r\n }\r\n row.controls.splice(i, 0, temp);\r\n }\r\n }\r\n else {\r\n row.controls.splice(colCount, row.controls.length - colCount);\r\n }\r\n this.props.RowChanged(row, this.props.index);\r\n }\r\n DeleteRow() {\r\n this.props.RowChanged(null, this.props.index);\r\n }\r\n render() {\r\n return \r\n \r\n \r\n \r\n {\r\n <>\r\n \r\n \r\n
{\"تنظیمات ردیف\"}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {this.columnButton()}\r\n \r\n
\r\n \r\n this.setState({ ...this.state, Row: { ...this.state.Row, height: event.target.value } })} />\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n }\r\n
\r\n
;\r\n }\r\n}","import React, { Component } from 'react';\r\nimport { Input, Row, CardTitle, Label, Badge, CardBody, Table, Card, CardHeader, Col } from 'reactstrap';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport { faRedo, faSave, faDesktop, faPlus, faTrash, faFolderPlus, faCog, faPeopleArrows } from '@fortawesome/free-solid-svg-icons'\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport Flex from '../components/common/Flex';\r\nimport JoiComboBox from '../components/joi/JoiComboBox';\r\nimport ObjectClassController from '../Engine/ObjectClassController';\r\nimport ColDesigner from '../Forms/Design/ColDesigner'\r\nimport BasePropertyController from '../Engine/BasePropertyController';\r\nimport FalconCardHeader from '../components/common/FalconCardHeader';\r\nimport RowSetting from './RowSetting';\r\nconst defaulstate = {\r\n Data: {\r\n LoadCondition: '',\r\n ShowType: 'vertical',\r\n FormID: '',\r\n title: '',\r\n Commands: [],\r\n Relations: [],\r\n rows: [\r\n {\r\n height: 'auto',\r\n controls: [\r\n {\r\n col: \"12\",\r\n pid: \"\",\r\n controlType: \"\",\r\n title: \"\"\r\n }\r\n ]\r\n }\r\n\r\n ]\r\n },\r\n};\r\nconst newRow = {\r\n height: 'auto',\r\n controls: [\r\n {\r\n col: \"12\",\r\n pid: \"\",\r\n controlType: \"\",\r\n title: \"\"\r\n }\r\n ]\r\n};\r\nexport default class InstancePresentaionDesigner extends Component {\r\n state = {\r\n ...JSON.parse(JSON.stringify(defaulstate)),\r\n RowSetting: -1\r\n };\r\n commandList = [{\r\n id: 'Save',\r\n title: 'ذخیره', icon: faSave\r\n }, {\r\n id: 'New',\r\n title: 'جدید', icon: faPlus\r\n }, {\r\n id: 'Delete',\r\n title: 'حذف', icon: faTrash\r\n }, {\r\n id: 'Save-New',\r\n title: 'ذخیره و جدید', icon: faFolderPlus\r\n }, {\r\n id: 'Refresh',\r\n title: 'بارگزاری', icon: faRedo\r\n }];\r\n ShowtypeSource = [{ id: 'vertical', display: 'فرم ورود داده' }, { id: 'horizental', display: 'ورود داده افقی' }]\r\n async Initialize() {\r\n if (this.state.Data === undefined || this.props.ClassId !== this.state.Data.FormID) {\r\n if (!this.props.ClassId.includes('F')) {\r\n let obj = JSON.parse(JSON.stringify(defaulstate));\r\n obj.Data.FormID = this.props.ClassId;\r\n this.setState(obj);\r\n }\r\n else {\r\n let form = await ObjectClassController.GetFormAsync(this.props.ClassId, null);\r\n console.log(form)\r\n this.setState({ ...this.state, Data: form });\r\n }\r\n }\r\n }\r\n async componentDidMount() {\r\n this.Initialize();\r\n this.props.onRef(this)\r\n }\r\n async componentDidUpdate() {\r\n this.Initialize();\r\n }\r\n componentWillUnmount() {\r\n this.props.onRef(null)\r\n }\r\n toggelCommand(event) {\r\n let commands = [...this.state.Data.Commands];\r\n let index = commands.findIndex(x => x === event);\r\n if (index >= 0)\r\n commands.splice(index, 1);\r\n else\r\n commands = [...commands, event];\r\n this.setState({\r\n ...this.state,\r\n Data: {\r\n ...this.state.Data,\r\n Commands: [...commands]\r\n }\r\n })\r\n }\r\n async SaveForm() {\r\n await ObjectClassController.SaveFormAsync(this.state.Data);\r\n }\r\n ToggleConditionModal() { }\r\n RelationModal() { }\r\n ChangeTitle(event) {\r\n this.setState({\r\n ...this.state,\r\n Data: {\r\n ...this.state.Data,\r\n title: event.target.value\r\n }\r\n })\r\n }\r\n ChangeShowtype(value) {\r\n this.setState({\r\n ...this.state,\r\n Data: {\r\n ...this.state.Data,\r\n ShowType: value\r\n }\r\n })\r\n }\r\n onDragEnd = async (result) => {\r\n const { destination, draggableId } = result;\r\n if (destination !== null && destination.droppableId.split('-').length > 0) {\r\n\r\n const cellid = destination.droppableId.split('-');\r\n const rows = this.state.Data.rows;\r\n const prop = await BasePropertyController.LoadAsync(draggableId);\r\n const model = prop;\r\n console.log(cellid, rows, prop)\r\n if (rows[cellid[0]] !== undefined && model !== null && model.StyleW2 !== null) {\r\n rows[cellid[0]].controls[cellid[1]].pid = model.ID;\r\n rows[cellid[0]].controls[cellid[1]].title = model.Name;\r\n rows[cellid[0]].controls[cellid[1]].controlType = model.StyleW2.Control;\r\n this.setState({\r\n ...this.state,\r\n Data: {\r\n ...this.state.Data,\r\n rows: rows\r\n }\r\n });\r\n }\r\n }\r\n }\r\n ControlUpdate(rowindex, colindex, control) {\r\n this.state.Data.rows[rowindex].controls[colindex] = control;\r\n this.setState({\r\n ...this.state,\r\n Data: this.state.Data\r\n })\r\n }\r\n render() {\r\n return (\r\n \r\n
\r\n \r\n \r\n \r\n طراحی فرم\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {this.commandList.map((item) => (\r\n x === item.id) >= 0 ? \"falcon-success\" : \"falcon-default\"}\r\n size=\"sm\" icon={item.icon} title={item.title} onClick={this.toggelCommand.bind(this, item.id)} />\r\n\r\n ))}\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {this.state.Data.ShowType === 'horizental' ?\r\n this.horizental() : this.vertical()}\r\n
\r\n
)\r\n }\r\n SettingToggle() {\r\n this.setState({\r\n ...this.state,\r\n RowSetting: -1\r\n })\r\n }\r\n RowChanged=(row, index)=> {\r\n if (row !== null)\r\n this.state.Data.rows[index] = row;\r\n else\r\n this.state.Data.rows.splice(index,1)\r\n\r\n this.setState({\r\n ...this.state,\r\n Data: {\r\n ...this.state.Data,\r\n rows: this.state.Data.rows\r\n }\r\n })\r\n }\r\n horizental() {\r\n return (<>\r\n \r\n \r\n this.setState({\r\n ...this.state,\r\n RowSetting: 0\r\n })} />\r\n \r\n \r\n \r\n {this.state.Data.rows[0].controls.map((control, colIndex) => (\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n AddRow(index) {\r\n this.state.Data.rows.splice(index+1, 0, JSON.parse(JSON.stringify(newRow)));\r\n this.setState({\r\n ...this.state,\r\n Data: {\r\n ...this.state.Data,\r\n rows: this.state.Data.rows\r\n }\r\n })\r\n }\r\n vertical() {\r\n return (<>\r\n {this.state.Data.rows.map((row, rowindex) =>\r\n (\r\n
\r\n \r\n this.setState({\r\n ...this.state,\r\n RowSetting: rowindex\r\n })} />\r\n \r\n \r\n \r\n {\r\n row.controls.map((control, colIndex) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
))}\r\n );\r\n }\r\n}","import React, { Component } from 'react';\r\nimport { DragDropContext } from 'react-beautiful-dnd';\r\nimport { Col, Row } from 'reactstrap';\r\nimport InstanceControlBuilder from '../Forms/Design/InstanceControlBuilder';\r\nimport ObjectClassHandler from './ObjectClassHandler';\r\nimport Flex from '../components/common/Flex';\r\nimport InstancePresentaionDesigner from './InstancePresentaionDesigner';\r\n\r\nexport default class FormBuilder extends Component {\r\n state = {\r\n source: '', classid:''}\r\n OCH = {}\r\n ICB = {}\r\n onDragEnd = result => {\r\n this.OCH.onDragEnd(result);\r\n this.ICB.onDragEnd(result);\r\n }\r\n onChangeSource(classid,type) {\r\n this.setState({\r\n ...this.state,\r\n classid: classid\r\n })\r\n //if (this.ICB !== undefined && this.ICB !== null && this.ICB.SourceChanged !== undefined) {\r\n // this.ICB.SourceChanged(classid, type)\r\n //}\r\n }\r\n Update(datamodel = { Data: '' }) {\r\n let FormData = datamodel.Data;\r\n this.setState({\r\n ...this.state,\r\n Form: FormData\r\n });\r\n }\r\n render() {\r\n return (\r\n \r\n \r\n \r\n (this.OCH = ref)} ChangeSource={this.onChangeSource.bind(this)} />\r\n \r\n \r\n {\r\n // (this.state.classid !== '' ? (this.ICB = ref)} />\r\n (this.state.classid !== '' ? (this.ICB = ref)} />\r\n :
یک کلاس انتخاب یا تعریف نمایید
)\r\n }\r\n \r\n
\r\n
\r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport ButtonIcon from '../../components/common/ButtonIcon';\r\nimport { faSearch, faPlus, faCog, faTrash, faSave } from '@fortawesome/free-solid-svg-icons'\r\nimport Flex from '../../components/common/Flex';\r\nimport { Row, Col, Dropdown, DropdownToggle, DropdownMenu, CardTitle, ButtonGroup, Input, Button, CardBody, CustomInput } from 'reactstrap';\r\n\r\n\r\n\r\nexport default class PanelRow extends Component {\r\n state = { dropdownOpen: false, rowindex: null }\r\n AddSection() {\r\n this.props.AddSection(this.props.rowindex);\r\n }\r\n isOpen(event) {\r\n this.props.isOpen(event.currentTarget.value)\r\n }\r\n EditSection(secindex, value) {\r\n this.props.EditSection(this.props.rowindex, secindex, 'Editable', !value)\r\n }\r\n \r\n Remove(a) {\r\n\r\n }\r\n render() {\r\n return (\r\n <>\r\n \r\n {this.props.row.sections.map((section, index) =>\r\n \r\n \r\n \r\n \r\n \r\n this.setState({ ...this.state, dropdownOpen: !this.state.dropdownOpen })} />\r\n\r\n \r\n this.setState({ ...this.state, dropdownOpen: this.state.dropdownOpen })} className=\"nopadding\" >\r\n \r\n\r\n \r\n \r\n {\r\n <>\r\n \r\n \r\n
{\"تنظیمات قسمت\"}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n \r\n
\r\n this.setState({ ...this.state, dropdownOpen: false })} />\r\n
\r\n
\r\n \r\n }\r\n
\r\n
\r\n )}\r\n
\r\n \r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Input } from 'reactstrap';\r\n\r\n\r\nexport default class ComboBox extends Component {\r\n\r\n onChanged(item) {\r\n this.props.onChanged(item.target.value, this.props.Source.find(x => x.id === item.target.value));\r\n }\r\n render() {\r\n return (\r\n \r\n \r\n {\r\n this.props.Source.map((ins) => (\r\n \r\n ))\r\n }\r\n \r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Modal, ModalHeader, ModalBody, ModalFooter, Button, Input, Row, Col, Table, ListGroup, ListGroupItem, Label, ListGroupItemHeading, ListGroupItemText, Badge, CardHeader, CardTitle, Card } from 'reactstrap';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport ObjectClassController from '../../Engine/ObjectClassController';\r\nimport Flex from '../../components/common/Flex';\r\nimport ComboBox from '../SimpleControl/ComboBox';\r\n\r\nexport default class PanelSetting extends Component {\r\n state = {\r\n propIsopen: false,\r\n source: '',\r\n }\r\n toggle() {\r\n this.props.Close(this.props.Modal.source, null);\r\n }\r\n async selectionChanged(selectedvalue) {\r\n await ObjectClassController.LoadAsync(selectedvalue.id, this);\r\n }\r\n Update(datamodel = { Data: '' }) {\r\n let source = datamodel.Data;\r\n if (source !== null) {\r\n this.setState({\r\n ...this.state,\r\n Forms: source.Forms\r\n })\r\n }\r\n }\r\n async componentDidMount() {\r\n if (this.state.Panels === null) {\r\n let forms = await ObjectClassController.GetPanelListAsync()\r\n this.setState({\r\n ...this.state,\r\n Panels: forms\r\n })\r\n }\r\n }\r\n onChange(event) {\r\n this.props.source.title = event.target.value\r\n this.setState({\r\n ...this.state,\r\n source: {\r\n ...this.state.source,\r\n title: event.target.value\r\n }\r\n })\r\n }\r\n\r\n closeBtn = ;\r\n\r\n render() {\r\n this.state.source = this.props.source\r\n return (\r\n \r\n تنظیمات پنل\r\n \r\n \r\n \r\n \r\n ارتباطات بین فرمها\r\n \r\n \r\n \r\n \r\n \r\n {this.props.source.Connectors.map((con) => (\r\n \r\n \r\n \r\n {con.BF}\r\n {con.BP}\r\n \r\n \r\n \r\n {con.SF}\r\n {con.SP}\r\n \r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Input, Row, CardTitle, Label, ButtonGroup, Badge} from 'reactstrap';\r\nimport ButtonIcon from '../../components/common/ButtonIcon';\r\nimport ObjectClassController from '../../Engine/ObjectClassController';\r\nimport { faSave, faDesktop, faRedo, faCog } from '@fortawesome/free-solid-svg-icons'\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport Flex from '../../components/common/Flex';\r\nimport PanelRow from './PanelRow';\r\nimport FormSelector from '../FormSelector';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport PanelSetting from './PanelSetting';\r\nconst emptySection = {\r\n col: \"12\",\r\n formid: \"\",\r\n connectionPid: \"\",\r\n title: \"\"\r\n}\r\nconst defualstate = {\r\n FormID: 'Panel',\r\n ShowType:'Panel',\r\n title: \"\",\r\n rows: [\r\n {\r\n height: '100px',\r\n sections: [emptySection]\r\n }\r\n ],\r\n Connectors: [],\r\n Commands: [\r\n { Command: \"Save\", Order: [] },\r\n { Command: \"Delete\", Order: [] },\r\n { Command: \"New\", Order: [] },\r\n { Command: \"Save-New\", Order: [] },\r\n { Command: \"Refresh\", Order: [] }\r\n ],\r\n /////\r\n mousein: false,\r\n modal: {\r\n isOpen: false,\r\n source: ''\r\n },\r\n Settingmodal: {\r\n isOpen: false,\r\n source: ''\r\n }\r\n}\r\n\r\nexport default class PanelControl extends Component {\r\n state = { ...defualstate };\r\n toggle() {\r\n this.setState({\r\n ...this.state,\r\n modal: false,\r\n Settingmodal: false\r\n })\r\n }\r\n onChangeRow(row, index) {\r\n const rows = this.state.rows;\r\n rows.splice(index, 1, row)\r\n this.setState({ ...this.state, rows: rows });\r\n\r\n }\r\n AddSection(rowindex) {\r\n const rows = this.state.rows;\r\n rows[rowindex].sections = [...rows[rowindex].sections, { emptySection }];\r\n this.setState({\r\n ...this.state,\r\n rows: rows\r\n })\r\n }\r\n AddRow(event) {\r\n let index = parseInt(event.currentTarget.value) + parseInt(event.currentTarget.value)\r\n const row = {\r\n height: '100px',\r\n sections: [\r\n {\r\n col: \"12\",\r\n formid: \"\",\r\n connectionPid: \"\",\r\n title: \"\"\r\n }\r\n ]\r\n };\r\n const rows = [...this.state.rows];\r\n rows.splice(index, 0, row);\r\n this.setState({ ...this.state, rows: rows });\r\n }\r\n ChangeTitle(event) {\r\n this.setState({\r\n ...this.state,\r\n title: event.currentTarget.value\r\n })\r\n }\r\n MouseEnter() {\r\n this.setState({\r\n ...this.state,\r\n mousein: true\r\n })\r\n }\r\n MouseLeave() {\r\n this.setState({\r\n ...this.state,\r\n mousein: false\r\n })\r\n }\r\n async SaveForm() {\r\n let form = { ...this.state };\r\n delete form.Settingmodal;\r\n delete form.modal;\r\n delete form.mousein;\r\n\r\n this.state.FormID = await ObjectClassController.SaveFormAsync(form);\r\n }\r\n \r\n isOpen(source) {\r\n this.setState({\r\n ...this.state,\r\n modal: {\r\n isOpen: true,\r\n source: source\r\n }\r\n })\r\n }\r\n async ModalClosed(source = '', form) {\r\n if (form !== null) {\r\n if (source.includes('-')) {\r\n let rowindex = source.split('-')[0];\r\n let sectionindex = source.split('-')[1];\r\n const rows = this.state.rows;\r\n let section = rows[rowindex].sections[sectionindex];\r\n section.formid = form.ID;\r\n section.title = form.Display;\r\n\r\n this.setState({\r\n ...this.state,\r\n //Commands: commands,\r\n modal: {\r\n isOpen: false,\r\n source: ''\r\n }\r\n });\r\n }\r\n else if (source === 'this') {\r\n let datamodel = await InstanceController.GetFormAsync(form.ID);\r\n this.setState({\r\n ...this.state,\r\n ...datamodel,\r\n modal: {\r\n isOpen: false,\r\n source: ''\r\n }\r\n });\r\n }\r\n }\r\n else {\r\n this.setState({\r\n modal: {\r\n isOpen: false,\r\n source: ''\r\n }\r\n });\r\n }\r\n \r\n }\r\n async SettingModalClosed(source = '', form) {\r\n this.setState({\r\n ...this.state,\r\n Settingmodal: {\r\n isOpen: false,\r\n source: ''\r\n }\r\n })\r\n }\r\n Update(datamodel = { Data: '' }) {\r\n \r\n }\r\n LoadForm() {\r\n this.isOpen(\"this\");\r\n }\r\n LoadSetting() {\r\n this.setState({\r\n ...this.state,\r\n Settingmodal: {\r\n isOpen: true,\r\n source: ''\r\n }\r\n })\r\n }\r\n EditSection(rowindex, secindex, prop, value) {\r\n let rows = this.state.rows;\r\n rows[rowindex].sections[secindex][prop] = value;\r\n this.setState({\r\n ...this.state,\r\n rows: this.state.rows\r\n })\r\n }\r\n render() {\r\n return (\r\n <>\r\n
\r\n \r\n \r\n \r\n طراحی فرم ترکیبی\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {this.state.rows.map((row, index) => {\r\n let topButton = null\r\n let BottomButton = null\r\n if (index === 0)\r\n topButton = (\r\n \r\n );\r\n BottomButton = (\r\n \r\n );\r\n return (\r\n
\r\n {topButton}\r\n \r\n { BottomButton}\r\n
\r\n )\r\n })}\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport { Col, Row } from 'reactstrap';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport { faSearch } from '@fortawesome/free-solid-svg-icons'\r\nimport FormSelector from '../Forms/FormSelector';\r\nimport FormRouter from '../Forms/FormRouter';\r\n\r\n\r\nexport default class FormTester extends Component {\r\n state = {\r\n FormID:'',\r\n modal: {\r\n isOpen: false,\r\n source: ''\r\n }\r\n }\r\n Forms;\r\n isOpen() {\r\n this.setState({\r\n ...this.state,\r\n modal: {\r\n isOpen: true,\r\n source: ''\r\n }\r\n })\r\n }\r\n async ModalClosed(source = '', form) {\r\n this.setState({\r\n FormID: form !== null?form.ID:'',\r\n modal: {\r\n isOpen: false,\r\n source: ''\r\n }\r\n });\r\n }\r\n render() {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n (this.Forms = ref)} />\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import React, { Component } from 'react';\r\nimport FalconCardHeader from '../components/common/FalconCardHeader';\r\nimport { Badge, Card, CardBody, Col, Row } from 'reactstrap';\r\nimport ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport echarts from 'echarts/lib/echarts';\r\nimport 'echarts/lib/chart/line';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nexport default class HistoryChart extends Component {\r\n\r\n average = arr => arr.reduce((p, c) => p + c, 0) / arr.length;\r\n render() {\r\n let { title, data }=this.props;\r\n const total = this.average(data);\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n Relative mean SDI(RMSDI): {total}\r\n \r\n Current SDI :{Math.round(total - data[data.length - 1] * 100) / 100}\r\n {\r\n total > data[data.length - 1] ?\r\n \r\n : \r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\n","import ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport React, { Component } from 'react';\r\nimport { Card, CardBody } from 'reactstrap';\r\nimport FalconCardHeader from '../../components/common/FalconCardHeader';\r\nimport Flex from '../../components/common/Flex';\r\nimport { getGrays, getPosition, rgbaColor, themeColors } from '../../helpers/utils';\r\nimport * as echarts from 'echarts';\r\nimport ButtonIcon from '../../components/common/ButtonIcon';\r\nimport { faChartBar } from '@fortawesome/free-regular-svg-icons';\r\nimport { faChartLine } from '@fortawesome/free-solid-svg-icons';\r\nexport default class AnalyticsHistogram extends Component {\r\n state = {\r\n data: [],\r\n chartType: 'bar',\r\n perProp: null, labresult : {\r\n value:0,\r\n x: 0,\r\n y: 0\r\n }\r\n }\r\n colors = ['#2c7be5', '#a496de', '#ffc19c'];\r\n LoadData() {\r\n if (this.props.Data !== []) {\r\n let result = this.props.Data;\r\n if (result !== undefined) {\r\n let list = [[\"بازه\", ...this.props.Headers]];\r\n let labresult = {\r\n value: 0,\r\n x: 0,\r\n y: 0\r\n }\r\n console.log(result, this.props.Headers)\r\n result.map((item,index) => {\r\n list = [...list, [item.leveldis, item.QTY1, item.QTY2, item.QTY3]]\r\n let domain = item.leveldis.replace('[', '').replace(')', '').split(',');\r\n if (parseFloat(domain[0]) <= this.props.labResult.P15 && this.props.labResult.P15 < parseFloat(domain[1])) {\r\n labresult = {\r\n value: this.props.labResult.P15,\r\n x: index,\r\n y: item.QTY1\r\n }\r\n }\r\n });\r\n if (result !== null) {\r\n this.setState({\r\n ...this.state,\r\n data: list,\r\n perProp: this.props.Data,\r\n labresult: labresult\r\n })\r\n }\r\n }\r\n }\r\n\r\n }\r\n componentDidUpdate() {\r\n if (this.props.Data !== [] && this.props.Data !== this.state.perProp)\r\n this.LoadData();\r\n }\r\n getOption = (data, colors, isDark) => {\r\n const data0 = data.length > 0 ? data[0] : [];\r\n const grays = getGrays(isDark);\r\n return {\r\n dataset: { source: data },\r\n tooltip: {\r\n trigger: 'item',\r\n padding: [7, 10],\r\n backgroundColor: grays.white,\r\n borderColor: grays['300'],\r\n borderWidth: 1,\r\n textStyle: { color: grays.dark },\r\n transitionDuration: 0,\r\n position(pos, params, dom, rect, size) {\r\n return getPosition(pos, params, dom, rect, size);\r\n }\r\n },\r\n legend: {\r\n data: data0.slice(1),\r\n left: 'left',\r\n itemWidth: 10,\r\n itemHeight: 10,\r\n borderRadius: 0,\r\n icon: 'circle',\r\n inactiveColor: grays['500'],\r\n textStyle: { color: grays['1100'] }\r\n },\r\n xAxis: {\r\n type: 'category',\r\n axisLabel: { color: grays['400'] },\r\n axisLine: {\r\n lineStyle: {\r\n color: grays['300'],\r\n type: 'solid'\r\n }\r\n },\r\n axisTick: false,\r\n boundaryGap: true\r\n },\r\n yAxis: {\r\n axisPointer: { type: 'none' },\r\n axisTick: 'none',\r\n splitLine: {\r\n lineStyle: {\r\n color: grays['300'],\r\n type: 'solid'\r\n }\r\n },\r\n axisLine: { show: false },\r\n axisLabel: { color: grays['400'] }\r\n },\r\n series: data0.slice(1).map((value, index) => {\r\n let result = ({\r\n type: this.state.chartType,\r\n barWidth: '12%',\r\n barGap: '30%',\r\n label: { normal: { show: false } },\r\n z: 10,\r\n smooth: 0.3,\r\n itemStyle: {\r\n normal: {\r\n barBorderRadius: [10, 10, 0, 0],\r\n color: colors[index]\r\n }\r\n },\r\n areaStyle: {\r\n color: {\r\n type: 'linear',\r\n x: 0,\r\n y: 0,\r\n x2: 0,\r\n y2: 1,\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: rgbaColor(themeColors.primary, 0.25)\r\n },\r\n {\r\n offset: 1,\r\n color: rgbaColor(themeColors.primary, 0)\r\n }\r\n ]\r\n }\r\n },\r\n //markLine: {\r\n // label: {\r\n // show: true,\r\n // position: \"end\",\r\n // distance: 5\r\n // },\r\n // data: [\r\n // { type: 'average', name: 'میانگین تعداد' }\r\n // ]\r\n //}\r\n })\r\n if (index === 0)\r\n result.markPoint = {\r\n data: [\r\n {\r\n name: 'نتیجه شما', value: this.state.labresult.value,\r\n xAxis: this.state.labresult.x, yAxis: this.state.labresult.y\r\n }\r\n ]\r\n };\r\n else\r\n result.markPoint = {};\r\n return result;\r\n }),\r\n markLine: {\r\n label: {\r\n show: true,\r\n position: \"end\",\r\n distance: 5\r\n }\r\n },\r\n grid: { right: '40px', left: '30px', bottom: '10%', top: '20%' }\r\n };\r\n };\r\n ChangeChartType() {\r\n this.setState({\r\n ...this.state,\r\n chartType: this.state.chartType === 'line' ? 'bar' : 'line'\r\n });\r\n }\r\n render() {\r\n return (\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n );\r\n\r\n }\r\n}\r\nconst isDark = false;\r\n//const { isDark } = useContext(AppContext);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport FalconCardHeader from '../../components/common/FalconCardHeader';\r\n\r\nimport { Badge, Card, CardBody, Col, Row } from 'reactstrap';\r\nimport Flex from '../../components/common/Flex';\r\nimport ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport echarts from 'echarts/lib/echarts';\r\nimport 'echarts/lib/chart/line';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { getGrays, themeColors, rgbaColor, getPosition, numberFormatter } from '../../helpers/utils';\r\n\r\nconst getOption = (data, isDark) => {\r\n const grays = getGrays(isDark);\r\n return {\r\n tooltip: {\r\n triggerOn: 'mousemove',\r\n trigger: 'axis',\r\n padding: [7, 10],\r\n formatter: '{b0}: {c0}',\r\n backgroundColor: grays.white,\r\n borderColor: grays['300'],\r\n borderWidth: 1,\r\n transitionDuration: 0,\r\n position(pos, params, dom, rect, size) {\r\n return getPosition(pos, params, dom, rect, size);\r\n },\r\n textStyle: { color: themeColors.dark }\r\n },\r\n xAxis: {\r\n type: 'category',\r\n data: ['Week 4', 'Week 5', 'Week 6', 'Week 7', 'Week 8', 'Week 9', 'Week 10', 'Week 11', 'Week 12', 'Week 13'],\r\n boundaryGap: false,\r\n splitLine: { show: false },\r\n axisLine: {\r\n show: false,\r\n lineStyle: {\r\n color: grays['300'],\r\n type: 'dashed'\r\n }\r\n },\r\n axisLabel: { show: false },\r\n axisTick: { show: false },\r\n axisPointer: { type: 'none' }\r\n },\r\n yAxis: {\r\n type: 'value',\r\n splitLine: { show: false },\r\n axisLine: { show: false },\r\n axisLabel: { show: false },\r\n axisTick: { show: false },\r\n axisPointer: { show: false }\r\n },\r\n series: [\r\n {\r\n type: 'line',\r\n lineStyle: {\r\n color: themeColors.primary,\r\n width: 3\r\n },\r\n itemStyle: {\r\n color: grays['100'],\r\n borderColor: themeColors.primary,\r\n borderWidth: 2\r\n },\r\n hoverAnimation: true,\r\n data: data,\r\n connectNulls: true,\r\n smooth: 0.6,\r\n smoothMonotone: 'x',\r\n symbol: 'circle',\r\n symbolSize: 8,\r\n areaStyle: {\r\n color: {\r\n type: 'linear',\r\n x: 0,\r\n y: 0,\r\n x2: 0,\r\n y2: 1,\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: rgbaColor(themeColors.primary, 0.25)\r\n },\r\n {\r\n offset: 1,\r\n color: rgbaColor(themeColors.primary, 0)\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ],\r\n grid: { bottom: '2%', top: '0%', right: '10px', left: '10px' }\r\n };\r\n};\r\nconst average = arr => arr.reduce((p, c) => p + c, 0) / arr.length;\r\nconst SimpleLineChart = ({ data,title }) => {\r\n const isDark = true;\r\n\r\n const total = average(data);\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n
\r\n {numberFormatter(total, 1)}\r\n
\r\n \r\n {\r\n total > data[data.length - 1] ?\r\n \r\n : \r\n }\r\n {Math.round(total - data[data.length - 1] * 100) / 100}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nSimpleLineChart.propTypes = { data: PropTypes.array.isRequired };\r\n\r\nexport default SimpleLineChart;\r\n","import React, { Component } from 'react';\r\nimport { Card, CardBody, Col, Label, Row } from 'reactstrap';\r\nimport FalconCardHeader from '../../components/common/FalconCardHeader';\r\nimport HistoryChart from '../../Pishgam/HistoryChart';\r\nimport AnalyticsHistogram from '../Reports/AnalyticsHistogram';\r\nimport TreeData from '../Reports/TreeData';\r\nimport SimpleLineChart from '../SimpleControl/SimpleLineChart';\r\n\r\nexport default class AnalyticsReportFormat1 extends Component {\r\n \r\n render() {\r\n return (\r\n <>\r\n {this.props.data !== undefined ?\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.props.data.labResult !== null ?\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.props.data.labResult !== null ? (<>\r\n

{this.props.data.labResult.G1}

\r\n

{this.props.data.labResult.G2}

\r\n

{this.props.data.labResult.G3}

)\r\n : null\r\n }\r\n
\r\n\r\n \r\n \r\n \r\n Target:\r\n {this.props.data.labResult !== null ? this.props.data.labResult.AVG3 : 0}\r\n \r\n SDI:{\r\n this.props.data.labResult.SDI < 5 && this.props.data.labResult.SDI > -5 ? this.props.data.labResult.SDI : 'OOR'}\r\n %Dev:{\r\n this.props.data.labResult.SDI < 5 && this.props.data.labResult.SDI > -5 ? this.props.data.labResult.DEV : 'OOR'}\r\n \r\n UM:{this.props.data.labResult.UM}\r\n \r\n \r\n
\r\n
\r\n : null\r\n\r\n }\r\n\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n : <>}\r\n \r\n );\r\n }\r\n}\r\n","import { faFilter, faPrint } from '@fortawesome/free-solid-svg-icons';\r\nimport React, { Component } from 'react';\r\nimport { Card, CardBody, CardHeader, CardTitle, Col, Row } from 'reactstrap';\r\nimport ButtonIcon from '../../components/common/ButtonIcon';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport { ReportHistory, SearchObject } from '../../Engine/Common';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport { ConstIdes, Domain, PropConstIdes, StaticCondition } from '../../Pishgam/ConstIdes';\r\nimport ReactToPrint from \"react-to-print\";\r\nimport AnalyticsReportFormat1 from '../Reports/AnalyticsReportFormat1';\r\nimport { round } from 'lodash';\r\nimport { toast } from 'react-toastify';\r\nexport default class ReportBuilder extends Component {\r\n state = {\r\n Data: [],\r\n Headers:[],\r\n chartType: 'bar',\r\n Controls: [{\r\n col: \"3\",\r\n pid: PropConstIdes.Lab,\r\n controlType: \"SearchControl\",\r\n title: \"آزمایشگاه\",\r\n source: ConstIdes.Lab,\r\n Value: {}\r\n }, {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample,\r\n Value: {}\r\n }, {\r\n col: \"3\",\r\n pid: PropConstIdes.BioTest,\r\n controlType: \"SearchControl\",\r\n title: \"آزمایش\",\r\n source: ConstIdes.BioTest,\r\n Value: {}\r\n }],\r\n labResult: null,\r\n CVV: 0,\r\n HeadOff: true\r\n }\r\n\r\n async componentDidMount() {\r\n await this.QuickLoad();\r\n }\r\n\r\n async componentDidUpdate() {\r\n await this.QuickLoad();\r\n }\r\n async QuickLoad() {\r\n if (this.props.match !== undefined && this.props.match.params !== undefined) {\r\n let { dom, lab, smp, tst } = this.props.match.params;\r\n if (lab !== undefined && smp !== undefined && tst !== undefined) {\r\n if (this.state.Controls[0].Value.id !== lab || this.state.Controls[1].Value.id !== smp || this.state.Controls[2].Value.id !== tst) {\r\n let labobj = (await SearchObject(lab, 'INS', '='))[0];\r\n let smpobj = (await SearchObject(smp, 'INS', '='))[0];\r\n let tstobj = (await SearchObject(tst, 'INS', '='))[0];\r\n this.setState({\r\n ...this.state,\r\n Controls: [\r\n { ...this.state.Controls[0], Value: labobj },\r\n { ...this.state.Controls[1], Value: smpobj },\r\n { ...this.state.Controls[2], Value: tstobj }\r\n ],\r\n HeadOff: true\r\n });\r\n await this.RunFilter();\r\n }\r\n } else if (this.state.HeadOff) {\r\n this.setState({ ...this.state, HeadOff: false })\r\n }\r\n }\r\n \r\n }\r\n\r\n PropertyHandler(pid, value, obj) {\r\n this.state.Controls.find(x => x.pid === pid).Value = obj;\r\n this.setState({\r\n ...this.state,\r\n Controls: this.state.Controls\r\n })\r\n }\r\n async RunFilter() {\r\n let domain = Domain.find(x => x.sec === this.props.match.params.dom);\r\n let rowresult = await ReportHistory.Find(`''${this.state.Controls[1].Value.id}'',''${this.state.Controls[2].Value.id}'',''${this.state.Controls[0].Value.id}''`)\r\n let groupResult = await ReportHistory.Find(`''${this.state.Controls[1].Value.id}'',''${this.state.Controls[2].Value.id}''`, 'group')\r\n if (rowresult.length > 0) {\r\n let labresult = JSON.parse(rowresult[0].Prop.find(x => x.PID === 'PC556').IPV.replaceAll(\"'\", '\"'))[0];\r\n let condition = StaticCondition.getReport(this.props.match.params.dom).replaceAll('#' + PropConstIdes.Sample, this.state.Controls[1].Value.id)\r\n .replaceAll('#' + domain.testId, this.state.Controls[2].Value.id).replaceAll('#vcfg', 0).replaceAll('#Qtype', 'list').replaceAll('#SR', '\"\"');\r\n let fields = domain.fields.split(',');\r\n fields.map((id) => {\r\n condition = condition.replaceAll('#' + id, labresult[id])\r\n })\r\n let analysisresult = await InstanceController.GetReport(condition);\r\n for (let i = 0; i < fields.length; i++) {\r\n if (labresult[fields[i]] !== undefined)\r\n labresult['G'+(i+1)] = (await SearchObject(labresult[fields[i]]))[0].display;\r\n }\r\n console.log(analysisresult, condition)\r\n //if (labresult.P13 !== undefined)\r\n // labresult.G2 = (await SearchObject(labresult.P13))[0].display;\r\n //if (labresult.P14 !== undefined)\r\n // labresult.G3 = (await SearchObject(labresult.P14))[0].display;\r\n let group = JSON.parse(groupResult[0].Prop.find(x => x.PID === 'PC556').IPV.replaceAll(\"'\", '\"'));\r\n\r\n let g1 = group.find(x => x.id === labresult[fields[0]]);\r\n for (let i = 1; i < fields.length; i++) {\r\n if (g1.children !== undefined)\r\n g1 = g1.children.find(x => x.id === labresult[fields[i]])\r\n }\r\n labresult.UM = round(g1.um, 2);\r\n //let g1 = group.find(x => x.id === labresult.P12);\r\n //if (g1.children !== undefined)\r\n // g1 = g1.children.find(x => x.id === labresult.P13)\r\n //if (g1.children !== undefined)\r\n // g1 = g1.children.find(x => x.id === labresult.P14)\r\n //if (labresult.UM !== undefined)\r\n // labresult.UM = round(g1.um, 2);\r\n this.setState({\r\n ...this.state,\r\n Data: analysisresult,\r\n Headers: ['نحوه', 'روش', 'سازنده کیت'],\r\n labResult: labresult,\r\n GroupResult: group,\r\n })\r\n }\r\n else\r\n toast.warn('داده ای یافت نشد')\r\n }\r\n Print() {\r\n\r\n }\r\n render() {\r\n let LabVal = null;\r\n return (\r\n <>\r\n {this.state.HeadOff ? null : <>\r\n \r\n \r\n \r\n\r\n \r\n {'گزارش ارزیابی خارجی کیفیت'}\r\n
\r\n \r\n }\r\n content={() => this.componentRef}\r\n />\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n \r\n
\r\n }\r\n (this.componentRef = el)} />\r\n \r\n );\r\n \r\n }\r\n}\r\nconst isDark = false;\r\n//const { isDark } = useContext(AppContext);","import { faFilter } from '@fortawesome/free-solid-svg-icons';\r\nimport React, { Component } from 'react';\r\nimport { toast } from 'react-toastify';\r\nimport { Card, CardBody, CardHeader, CardTitle, Col, Form, Row, Spinner } from 'reactstrap';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport Flex from '../components/common/Flex';\r\nimport BaseInstance from '../Engine/BaseInstance';\r\nimport { AddNewTabIns, SearchConditionMaker } from '../Engine/Common';\r\nimport ObjectClassController from '../Engine/ObjectClassController';\r\nimport FormManager from '../EngineForms/FormManager';\r\nimport FormRouter from '../Forms/FormRouter';\r\nimport WhereCondition from './WhereCondition';\r\n\r\nexport default class ConditionalClassReport extends Component {\r\n state = {\r\n Form: {\r\n FormID: '',\r\n title: 'گزارش پارامتریک ',\r\n cons: [{ \"ID\": \"\", \"Condition\": \"\", \"Prop\": \"ALL\", \"RProp\": \"ALL\", \"ST\": true, \"WType\": 0, \"QT\": 0, \"IsInstance\": false }],\r\n },\r\n modals: [],\r\n ReportResult: [],\r\n ActiveCommand: false,\r\n Editable: true,\r\n isReadonly: false,\r\n DataLoaded: true\r\n }\r\n //async componentDidUpdate() {\r\n // //await this.initialize();\r\n //}\r\n async componentDidMount() {\r\n await this.initialize();\r\n }\r\n async initialize() {\r\n if (this.props.Params?.dom !== undefined && this.state.Form.FormID === '') {\r\n let formtype = this.props.Params.dom.split('F')[1].split('V')[0];\r\n if (formtype < 4) {\r\n let oc = await ObjectClassController.LoadAsync(this.props.Params.dom.split('F')[0]);\r\n this.state.Form.FormID = this.props.Params.dom;\r\n let modals = [];\r\n if (this.props.Condition === undefined) {\r\n this.state.Form.cons[0].ID = this.props.Params.dom.split('F')[0];\r\n\r\n let ConditionModal = {\r\n OCID: this.state.Form.cons[0].ID,\r\n OC: oc,\r\n isOpen: false,\r\n Content: null\r\n };\r\n modals = [ConditionModal];\r\n }\r\n else {\r\n this.state.Form.cons = this.props.Condition;\r\n }\r\n this.setState({\r\n ...this.state,\r\n modals: JSON.parse(JSON.stringify(modals)),\r\n Form: { ...this.state.Form }\r\n });\r\n }\r\n else {\r\n let form = await ObjectClassController.GetFormAsync(this.props.Params.dom);\r\n console.log(form)\r\n this.setState(form);\r\n await this.RunFilter();\r\n }\r\n }\r\n }\r\n\r\n OpenWhere(ConModal) {\r\n let ConditionModal = this.state.modals.find(x => x.OCID === ConModal.OCID);\r\n ConditionModal.isOpen = true;\r\n\r\n this.setState({\r\n ...this.state,\r\n modals: this.state.modals\r\n });\r\n }\r\n Close(ConModal, result) {\r\n let context = '';\r\n if (result !== null)\r\n for (var i = 0; i < result.BCs.length; i++) {\r\n for (var j = 0; j < result.BCs[i].Bts.length; j++) {\r\n let bit = result.BCs[i].Bts[j];\r\n context += bit.t1 + ' ' + bit.t2 + ' ' + bit.t3 + ' ' + (bit.t4 !== undefined ? bit.t4 : '')\r\n }\r\n }\r\n\r\n let ConditionModal = this.state.modals.find(x => x.OCID === ConModal.OCID);\r\n ConditionModal.isOpen = false;\r\n ConditionModal.Context = context;\r\n ConditionModal.Content = result;\r\n this.setState({\r\n ...this.state,\r\n modals: this.state.modals\r\n });\r\n\r\n }\r\n async RunFilter() {\r\n this.setState({\r\n ...this.state,\r\n ActiveCommand: true,\r\n DataLoaded: false\r\n })\r\n let modals = [];\r\n this.state.modals.map((modal) => modals = [...modals, { OCID: modal.OCID, Content: modal.Content }])\r\n let condotion = {\r\n Form: this.state.Form,\r\n modals: modals\r\n };\r\n let result = await SearchConditionMaker(condotion);\r\n if (result !== undefined)\r\n this.setState({\r\n ...this.state,\r\n ReportResult: result\r\n })\r\n else\r\n toast.warn('نتیجه ای یافت نشد')\r\n this.setState({\r\n ...this.state,\r\n ActiveCommand: false,\r\n DataLoaded: true\r\n })\r\n }\r\n RowDoubleClick(instance) {\r\n if (this.state.Form.ActionLink !== '') {\r\n if (this.state.Form.ActionFormID !== ''){\r\n AddNewTabIns(this.state.Form.ActionLink, { Instance: instance, FormID: this.state.Form.ActionFormID });\r\n console.log(this.state.Form.ActionLinkValue,instance)\r\n }\r\n else{\r\n let id=instance.ID;\r\n if(this.state.Form.ActionLinkValue)\r\n id=new BaseInstance(instance).GetValue(this.state.Form.ActionLinkValue);\r\n window.open(this.state.Form.ActionLink + id, \"_blank\");\r\n console.log(this.state.Form.ActionLinkValue,id,instance)\r\n }\r\n }\r\n\r\n }\r\n render() {\r\n return (<>{this.state.Editable ?\r\n \r\n \r\n {this.state.Form.title}\r\n
\r\n {this.state.ActiveCommand ? < Spinner />\r\n : }\r\n
\r\n
\r\n \r\n \r\n {this.state.modals.map((ConditionModal, index) => {\r\n return (\r\n \r\n \r\n {(ConditionModal.Context !== undefined ? ConditionModal.Context : 'بدون شرط')}\r\n {ConditionModal.isOpen ?\r\n \r\n : null}\r\n \r\n \r\n )\r\n })}\r\n \r\n\r\n \r\n
: null}\r\n \r\n \r\n \r\n {this.state.Form.title}\r\n \r\n \r\n {\r\n this.state.DataLoaded ?\r\n \r\n : \r\n }\r\n \r\n );\r\n }\r\n}","import React, { useContext, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Route, Switch } from 'react-router-dom';\r\nimport FormBuilder from './../Developer/FormBuilder';\r\nimport NavbarTop from '../components/navbar/NavbarTop';\r\nimport NavbarVertical from '../components/navbar/NavbarVertical';\r\nimport AppContext from '../context/Context';\r\nimport { getPageName } from '../helpers/utils';\r\nimport routes from '../routes';\r\nimport PanelControl from '../Forms/Design/PanelControl';\r\nimport FormTester from '../Developer/FormTester';\r\nimport TemplateDataForm from '../Forms/TemplateDataForm';\r\nimport FormRouter from '../Forms/FormRouter';\r\nimport ReportBuilder from '../Forms/Design/ReportBuilder';\r\nimport AdminDashboard from '../Pishgam/AdminDashboard';\r\nimport ConditionalClassReport from '../Condition/ConditionalClassReport';\r\nimport ChatContent from '../Messenger/ChatContent';\r\nimport { Card, CardBody } from 'reactstrap';\r\nimport Flex from '../components/common/Flex';\r\n\r\nconst DashboardLayout = ({ location }) => {\r\n const { isFluid, isVertical, navbarStyle } = useContext(AppContext);\r\n\r\n const isKanban = getPageName('kanban');\r\n\r\n\r\n useEffect(() => {\r\n window.scrollTo(0, 0);\r\n }, [location.pathname]);\r\n\r\n return (\r\n
\r\n {isVertical && }\r\n
\r\n \r\n \r\n \r\n {\r\n return ;\r\n }} />\r\n \r\n \r\n \r\n \r\n \r\n \r\n (\r\n \r\n \r\n \r\n )} />\r\n {\r\n return (\r\n \r\n )\r\n }} />\r\n \r\n {/*{!isKanban &&
}*/}\r\n
\r\n {/**/}\r\n
\r\n );\r\n};\r\n\r\nDashboardLayout.propTypes = { location: PropTypes.object.isRequired };\r\n\r\nexport default DashboardLayout;\r\n","import React, { Component, Fragment } from 'react';\r\nimport { CardBody, InputGroup, Button, CustomInput, Card, Row,Col } from 'reactstrap';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport FalconCardHeader from '../components/common/FalconCardHeader';\r\nimport BootstrapTable from 'react-bootstrap-table-next';\r\nimport paginationFactory, { PaginationProvider, PaginationListStandalone } from 'react-bootstrap-table2-paginator';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nexport default class InstanceDataList extends Component {\r\n state = {\r\n isSelected: false,\r\n \r\n }\r\n render() {\r\n return (\r\n \r\n \r\n {this.state.isSelected ? (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ) : (\r\n \r\n \r\n جدید\r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import React, { useEffect, useState } from 'react';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport BaseInstance from '../../Engine/BaseInstance';\r\nimport Parameters from '../../Engine/Parameters';\r\nimport OverAllReport from '../OverAllReport';\r\nimport MorfologyReport from '../AnswerSheet/MorfologyReport';\r\nimport ABOReport from '../AnswerSheet/BloodBank/ABOReport';\r\nimport AbReport from '../AnswerSheet/BloodBank/AbReport';\r\nimport CrossmatchReport from '../AnswerSheet/BloodBank/CrossmatchReport';\r\nimport ReportWithExpectedResult from '../AnswerSheet/ReportWithExpectedResult';\r\nimport BacteryReport from '../AnswerSheet/bactery/BacteryReport';\r\nimport StatisticalReport from '../StatisticalReport';\r\nimport TBReport from '../TBReport';\r\nimport HBVReport from '../HBVReport';\r\n\r\nconst LabratoaryReports = ({ match, history }) => {\r\n const [section, setSection] = useState();\r\n //const [parameters, setParameters] = useState();\r\n const [org, setOrganization] = useState();\r\n\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp = await InstanceController.LoadInstanceAsync(match.params.dom);\r\n let ins = new BaseInstance(temp);\r\n setOrganization(await Parameters.GetValue('@org'));\r\n //setParameters(JSON.parse(ins.GetValue('PC556'))?.report);\r\n setSection(ins);\r\n };\r\n if (!section || section.ID !== match.params.dom)\r\n fetch();\r\n }, [match.params.dom])\r\n const MainComponent = () => {\r\n let result = null\r\n switch (match.params.dom) {\r\n case 'O30E23C2I13':\r\n result = ;\r\n break;\r\n case 'O30E23C2I17':\r\n if (match.params.part === '1')\r\n result = ;\r\n if (match.params.part === '2')\r\n result = ;\r\n if (match.params.part === '3')\r\n result = ;\r\n break;\r\n case 'O30E23C2I2':\r\n case 'O30E23C2I6':\r\n case 'O30E23C2I7':\r\n result = \r\n break;\r\n case 'O30E23C2I12':\r\n result = \r\n break;\r\n case 'O30E23C2I8':\r\n case 'O30E23C2I9':\r\n case 'O30E23C2I21':\r\n result = \r\n break;\r\n case 'O30E23C2I15':\r\n result = \r\n break;\r\n case 'O30E23C2I16':\r\n result = \r\n break;\r\n default:\r\n result = ;\r\n break;\r\n }\r\n return result;\r\n }\r\n return (\r\n
\r\n {MainComponent()}\r\n
\r\n );\r\n};\r\n\r\nexport default LabratoaryReports;","import React from 'react'\r\nimport { useEffect } from 'react';\r\nimport { useState } from 'react';\r\nimport { Card } from 'reactstrap';\r\nimport Flex from '../../components/common/Flex';\r\nimport { ThemeCardHeader } from '../../EngineForms/ThemeControl';\r\nimport CertificateComponent from '../Certificate/CertificateComponent';\r\nimport { Certificate } from '../Certificate/CertificateContext';\r\n\r\nconst LabCertificate = () => {\r\n const [all, setAll] = useState([]);\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp = await Certificate.getAllCerts();\r\n setAll(temp);\r\n };\r\n fetch();\r\n })\r\n return (\r\n \r\n
\r\n {\r\n all?.map((cert) => )\r\n }\r\n
\r\n )\r\n}\r\n\r\nexport default LabCertificate","import axiosInstance from \"../../Engine/BaseSetting\";\r\nimport ErrorHandler from \"../../Engine/ErrorHandler\";\r\n\r\nexport class BankController {\r\n static async GetToken(amount, merchantId) {\r\n try {\r\n console.log(amount)\r\n let result = await axiosInstance.post('Bank/get-token', {\r\n amount: amount, merchantId: merchantId\r\n });\r\n this.redirectToBank(result.data.token);\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n }\r\n static async redirectToBank (token){\r\n const form = document.createElement(\"form\");\r\n form.method = \"POST\";\r\n form.action = \"https://say.shaparak.ir/_ipgw_/MainTemplate/payment/\";\r\n\r\n const tokenInput = document.createElement(\"input\");\r\n tokenInput.type = \"hidden\";\r\n tokenInput.name = \"token\";\r\n tokenInput.value = token;\r\n form.appendChild(tokenInput);\r\n\r\n const langInput = document.createElement(\"input\");\r\n langInput.type = \"hidden\";\r\n langInput.name = \"language\";\r\n langInput.value = \"fa\";\r\n form.appendChild(langInput);\r\n\r\n document.body.appendChild(form);\r\n form.submit();\r\n };\r\n}","import React, { Component } from \"react\";\r\nimport { Card, CardBody, CardFooter, Col, CustomInput, Button, FormGroup, Input, Label, Row, InputGroup, InputGroupText, ButtonGroup, Badge, Spinner } from \"reactstrap\";\r\nimport FalconCardHeader from \"../../components/common/FalconCardHeader\";\r\nimport iconMellat from '../../assets/img/icons/mellat.png';\r\nimport iconSepah from '../../assets/img/icons/sepah.png';\r\nimport Flex from \"../../components/common/Flex\";\r\nimport { PaymentDocument } from \"../ShopContext\";\r\nimport { MoneyFormat, Utility } from \"../../Engine/Common\";\r\nimport { AuthenticationController } from \"../../Engine/Authentication\";\r\nimport AppContext from \"../../context/Context\";\r\nimport { BankController } from \"../../Pishgam/Bank/BankController\";\r\nexport default class LabPaymentType extends Component {\r\n state = {\r\n Header: { ID: '' },\r\n amount: 0,\r\n cusomer: {},\r\n paymentdocument: null,\r\n ActiveMethod: 31,\r\n selectedBank: 1\r\n }\r\n labelClasses = 'ls text-600 font-weight-semi-bold mb-0 text-truncate';\r\n async componentDidMount() {\r\n await this.initial();\r\n }\r\n async componentDidUpdate() {\r\n await this.initial();\r\n }\r\n isadmin = false;\r\n async initial() {\r\n if (this.state.paymentdocument === null) {\r\n this.isadmin = await AuthenticationController.HasRole('R2');\r\n if (this.props?.match?.params?.id &&\r\n this.state.Header.ID !== this.props?.match?.params?.id) {\r\n let invoiceDoc = await PaymentDocument.LoadInvoice(this.props?.match?.params?.id);\r\n let doc = {};\r\n if (invoiceDoc.Payments.length === 0) {\r\n doc = new PaymentDocument(undefined, invoiceDoc.Header);\r\n doc.PaymentType = 1;\r\n doc.ReciverAccount = 'mellat';\r\n doc.RegisterDate = (await Utility.GetNow()).toString;\r\n }\r\n else\r\n doc = invoiceDoc.Payments[0];\r\n let method = this.isadmin ? 31 : 7;\r\n this.setState({\r\n ...this.state,\r\n Header: invoiceDoc.Header,\r\n ActiveMethod: method,\r\n paymentdocument: doc\r\n });\r\n }\r\n }\r\n }\r\n\r\n async ChangeValue(value, prop) {\r\n if (prop === 'PaymentType')\r\n await this.initial();\r\n this.state.paymentdocument[prop] = value;\r\n this.setState({\r\n ...this.state,\r\n paymentdocument: this.state.paymentdocument\r\n });\r\n }\r\n async HeaderState(id) {\r\n this.setState({\r\n ...this.state,\r\n Working: true\r\n })\r\n let Header = this.state.Header;\r\n Header.state = id;\r\n await Header.SaveAsync();\r\n this.setState({\r\n ...this.state,\r\n Header,\r\n Working: false\r\n })\r\n }\r\n render() {\r\n return (<>\r\n \r\n {({ setCurrentTitle }) => setCurrentTitle('نحوه پرداخت')}\r\n \r\n {this.state.paymentdocument !== null ?\r\n \r\n \r\n {MoneyFormat(this.state.Header.total)}\r\n مبلغ قابل پرداخت\r\n \r\n {this.state.Header.state === 'O30E12C63I1' ? 'ایجاد شده' :\r\n (this.state.Header.state === 'O30E12C63I2' ? 'در انتظار تایید' : 'تایید شده')}\r\n \r\n \r\n \r\n \r\n \r\n {(this.state.ActiveMethod & 1) === 1 ? <>\r\n this.ChangeValue(target.value, 'PaymentType')}\r\n label={\r\n \r\n پرداخت آنلاین\r\n \r\n }\r\n />\r\n

جهت اقدام به پرداخت آنلاین یکی از درگاه های زیر را انتخاب نمایید

\r\n {(this.state.ActiveMethod & 1) === parseInt(this.state.paymentdocument.PaymentType) ?\r\n \r\n \r\n {\r\n this.setState({ ...this.state, selectedBank: parseInt(target.value) })\r\n this.ChangeValue('sepah', 'ReciverAccount')\r\n }}\r\n label={\r\n \"بانک\r\n }\r\n />\r\n \r\n \r\n {\r\n this.setState({ ...this.state, selectedBank: parseInt(target.value) })\r\n this.ChangeValue('mellat', 'ReciverAccount')\r\n }}\r\n label={\r\n \"بانک\r\n }\r\n />\r\n \r\n : null}\r\n : null}\r\n \r\n
\r\n
\r\n \r\n \r\n {this.state.Working ? :\r\n (this.state.Header?.state !== 'O30E12C63I3' ? <>\r\n {\r\n this.isadmin && Utility.IsInstanceID(this.state.paymentdocument.ID) ? \r\n \r\n : null\r\n }\r\n \r\n : null)\r\n }\r\n \r\n \r\n
: null}\r\n );\r\n }\r\n}","import React, { useContext, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Route, Switch } from 'react-router-dom';\r\nimport NavbarTop from '../components/navbar/NavbarTop';\r\nimport NavbarVertical from '../components/navbar/NavbarVertical';\r\nimport AppContext from '../context/Context';\r\nimport { getPageName } from '../helpers/utils';\r\nimport LabDashboard from './LabDashboard';\r\nimport InstanceDataList from '../Forms/InstanceDataList';\r\nimport Shop from '../Shop/Shop';\r\nimport ShoppingCart from '../Shop/ShoppingCart';\r\nimport Invoice from '../Shop/Invoice';\r\nimport ObjectClassController from '../Engine/ObjectClassController';\r\nimport { useState } from 'react';\r\nimport PaymentType from '../Shop/payment/PaymentType';\r\nimport AuthCardLayout from './AuthCardLayout';\r\nimport FormManager from '../EngineForms/FormManager';\r\nimport ConditionMakerComponent from '../Condition/ConditionMakerComponent';\r\nimport MorfologyCellCounter from '../Pishgam/AnswerSheet/MorfologyCellCounter';\r\nimport BacteryAnswerSheet from '../Pishgam/AnswerSheet/bactery/BacteryAnswerSheet';\r\nimport LabratoaryReports from '../Pishgam/Lab/LabratoaryReports';\r\nimport AnalyticsReport from '../Pishgam/AnalyticsReport';\r\nimport SectionDetail from '../Pishgam/Lab/SectionDetail';\r\nimport { AuthenticationController } from '../Engine/Authentication';\r\nimport TBAnswerSheet from '../Pishgam/AnswerSheet/TBAnswerSheet';\r\nimport HBVAnswerSheet from '../Pishgam/AnswerSheet/HBVAnswerSheet';\r\nimport LabCertificate from '../Pishgam/Lab/LabCertificate';\r\nimport CertificationPage from '../Pishgam/anonymousPages/CertificationPage';\r\nimport ErrorLayout from './ErrorLayout';\r\nimport { chackRouat } from '../routes';\r\nimport Survey from '../Pishgam/survey/Survey';\r\nimport LabPaymentType from '../Shop/payment/LabPaymentType';\r\nconst PGILabDashboard = ({ location }) => {\r\n const { isFluid, isVertical, navbarStyle } = useContext(AppContext);\r\n const [menu, setMenu] = useState([]);\r\n const isKanban = getPageName('kanban');\r\n useEffect(() => {\r\n async function fetchData() {\r\n if (menu.length === 0) {\r\n let tempmenu = await ObjectClassController.GetFormAsync('Menu-');\r\n if (Array.isArray(tempmenu)) {\r\n setMenu(tempmenu);\r\n }\r\n else {\r\n AuthenticationController.LogOut();\r\n }\r\n\r\n }\r\n }\r\n fetchData();\r\n })\r\n\r\n useEffect(() => {\r\n window.scrollTo(0, 0);\r\n }, [location.pathname]);\r\n let org = localStorage.getItem('org');\r\n return (\r\n
\r\n {!org ? : <>\r\n {isVertical && }\r\n
\r\n \r\n \r\n {\r\n return ;\r\n }}/>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n return ;\r\n }} />\r\n {\r\n\r\n return ;\r\n }} />\r\n {\r\n console.log(chackRouat(match.params.id))\r\n if (chackRouat(match.params.id)) {\r\n return (\r\n \r\n );\r\n }\r\n return ;\r\n\r\n\r\n }} />\r\n \r\n \r\n\r\n \r\n
\r\n {/*{!isKanban &&
}*/}\r\n {/**/}\r\n }\r\n
\r\n );\r\n};\r\n\r\nPGILabDashboard.propTypes = { location: PropTypes.object.isRequired };\r\n\r\nexport default PGILabDashboard;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { Link } from 'react-router-dom';\r\n\r\nconst Logo = ({ at, width, className, ...rest }) => {\r\n return (\r\n \r\n \r\n پیشگام ایرانیان\r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nLogo.propTypes = {\r\n at: PropTypes.oneOf(['navbar-vertical', 'navbar-top', 'auth']),\r\n width: PropTypes.number,\r\n className: PropTypes.string\r\n};\r\n\r\nLogo.defaultProps = { at: 'auth', width: 58 };\r\n\r\nexport default Logo;\r\n","import React, { Component } from 'react';\r\nimport { Col, Row } from 'reactstrap';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport { faSearch } from '@fortawesome/free-solid-svg-icons'\r\nimport FormSelector from './FormSelector';\r\nimport FormRouter from './FormRouter';\r\n\r\n\r\nexport default class TemplateDataForm extends Component {\r\n state = {\r\n FormID: '',\r\n modal: {\r\n isOpen: false,\r\n source: ''\r\n }\r\n }\r\n Forms;\r\n isOpen() {\r\n this.setState({\r\n ...this.state,\r\n modal: {\r\n isOpen: true,\r\n source: ''\r\n }\r\n })\r\n }\r\n async ModalClosed(source = '', form) {\r\n this.setState({\r\n FormID: form !== null ? form.ID : '',\r\n modal: {\r\n isOpen: false,\r\n source: ''\r\n }\r\n });\r\n }\r\n render() {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n (this.Forms = ref)} Mode='TempData' />\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import { faArrowAltCircleLeft } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { Component, Fragment } from 'react';\r\nimport { Table, Tooltip } from 'reactstrap';\r\n\r\nexport default class TreeData extends Component {\r\n state = {\r\n data: null,\r\n chartType: 'tree',\r\n show: false,\r\n tooltipOpen: false\r\n }\r\n colors = ['#dd4c51', '#187a2f', '#0aa4b5', '#d9e2ef', '#d7e2ef', '#d6e2ef'];\r\n async componentDidUpdate() {\r\n if ((this.state.data === null || this.state.data.length === 0) && this.props.Data !== undefined && this.props.Data.length > 0) {\r\n let data = this.props.Data;\r\n if (this.props.chartType !== undefined)\r\n this.state.chartType = this.props.chartType;\r\n this.setState({\r\n ...this.state,\r\n data: data,\r\n })\r\n }\r\n }\r\n\r\n ChangeChartType() {\r\n this.setState({\r\n ...this.state,\r\n chartType: this.state.chartType === 'tree' ? 'group' : 'tree'\r\n });\r\n }\r\n Grid(data) {\r\n let result = (\r\n\r\n {this.Row(data, 1, true)});\r\n\r\n return result;\r\n\r\n }\r\n compare(a, b) {\r\n if (a.QTY > b.QTY) {\r\n return -1;\r\n }\r\n if (a.QTY < b.QTY) {\r\n return 1;\r\n }\r\n return 0;\r\n }\r\n toggle() {\r\n this.setState({\r\n ...this.state,\r\n tooltipOpen: !this.state.tooltipOpen\r\n });\r\n }\r\n Row(data, level, thisPath) {\r\n let result = null;\r\n data = data.sort(this.compare);\r\n result = data.map((item, index) => {\r\n if((level<3 && item.id) || (level===3 )){\r\n let flag = false;\r\n let notInChild = false;\r\n if (thisPath) {\r\n if (level === 1 && !flag) {\r\n flag = item.id === this.props.labResult?.G1;\r\n if (item.children)\r\n notInChild = item.children?.findIndex(x => x.id === this.props.labResult?.G2) < 0;\r\n else\r\n notInChild = true;\r\n }\r\n else if (!flag && level === 2) {\r\n flag = item.id === this.props.labResult?.G2;\r\n if (item.children)\r\n notInChild = item.children.findIndex(x => x.id === this.props.labResult?.G3) < 0;\r\n else\r\n notInChild = true;\r\n }\r\n else if (!flag && level === 3) {\r\n flag = item.id === this.props.labResult?.G3;\r\n notInChild = true;\r\n }\r\n\r\n }\r\n return (\r\n \r\n {level === 1 ?

{item.name??'N.A'}

\r\n : (level === 2 ?

{item.name??'N.A'}

\r\n : level === 3 ?

{item.name??'N.A'}

: null)}\r\n \r\n {item.QTY}\r\n {item.CV !== undefined ? parseFloat(item.CV).toFixed(2) : ' '}\r\n {item.AVG !== undefined ? parseFloat(item.AVG).toFixed(2) : ' '}\r\n {flag && notInChild ? <>\r\n \r\n Your Group\r\n \r\n \r\n : null}\r\n \r\n {item.children !== undefined ? this.Row(item.children, level + 1, flag) : null}\r\n
)\r\n }\r\n return null;\r\n })\r\n return result;\r\n }\r\n\r\n render() {\r\n return (<>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.state.data !== null ?\r\n ((this.Grid(this.state.data))\r\n ) : null}\r\n
{this.props.Test.id.includes('O30E12C23I')?'CellCounter': 'Method'}No.CVTarget
\r\n );\r\n\r\n }\r\n}","import React, { Component } from 'react';\r\nimport { Card, CardBody, Col, Label, Row, Button, Table, CardFooter } from 'reactstrap';\r\nimport ConditionMaker from '../Engine/ConditionMaker';\r\nimport { ConstIdes, Domain, PropConstIdes } from './ConstIdes';\r\nimport { FromManagerDataTemplate } from \"../Engine/FormDataTemplate\";\r\nimport { ReportHistory } from '../Engine/EngineContext';\r\nimport { toast } from 'react-toastify';\r\nimport ReportHeader from './ReportHeader';\r\nimport NoData from './NoData';\r\nimport { SetLocalLink } from '../Engine/Common';\r\nimport AdminReportHeader from './AdminReportHeader';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport BaseInstance from '../Engine/BaseInstance';\r\nimport Flex from '../components/common/Flex';\r\n\r\nexport const SDIChart = () => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n SDI≤0.99\r\n \r\n 1≤SDI≤1.99\r\n \r\n 2≤SDI≤2.99\r\n \r\n SDI≥3\r\n
\r\n حوب\r\n \r\n قابل قبول\r\n \r\n هشدار\r\n \r\n غیرقابل قبول\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default class OverAllReport extends Component {\r\n state = {\r\n Form: {\r\n Form1ID: '',\r\n Form2ID: '',\r\n Domain: '',\r\n Condition: `%P9#P9%`\r\n },\r\n Sample: {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample,\r\n Value: {}\r\n },\r\n Labratory: {\r\n col: \"3\",\r\n pid: PropConstIdes.Lab,\r\n controlType: \"SearchControl\",\r\n title: \"آزمایشگاه\",\r\n source: ConstIdes.Lab,\r\n Value: {}\r\n },\r\n Tests: [],\r\n propid: 'P11',\r\n RunMethod: false\r\n }\r\n constructor(props) {\r\n super(props);\r\n }\r\n async PropertyHandler(pid, value, obj) {\r\n if (pid.includes(ConstIdes.Sample + 'I')) {\r\n this.setState({\r\n ...this.state,hasResult:false,\r\n loading: true\r\n });\r\n value.Instance = new BaseInstance(await InstanceController.LoadInstanceAsync(value.id));\r\n this.state.Sample.Value = value;\r\n this.setState({\r\n ...this.state,\r\n Sample: this.state.Sample,\r\n sampleUpdate: true\r\n });\r\n }\r\n else if (pid.includes(ConstIdes.Lab + 'I')) {\r\n this.state.Labratory.Value = value;\r\n this.setState({\r\n ...this.state,\r\n Labratory: this.state.Labratory\r\n })\r\n }\r\n }\r\n async LoadTests() {\r\n if (this.state.Labratory.Value && this.state.Sample.Value) {\r\n this.setState({\r\n ...this.state,\r\n loading: true\r\n })\r\n let FormData = await FromManagerDataTemplate.LoadByAsync(`${this.state.Form.Form1ID}@P9:${this.state.Sample.Value.id}&`);\r\n if (FormData !== null) {\r\n let condition = new ConditionMaker('E0C24');\r\n condition.AddCondition('PC19', 'like', `#${this.state.Labratory.Value.id}#%`)\r\n let rowresult = await condition.GetResult();\r\n if (rowresult?.length > 0) {\r\n let tempdata = JSON.parse(FormData.Json);\r\n\r\n let data = tempdata.find(x => x.formId === this.state.Form.Form2ID).data;\r\n let testlist = [];\r\n let TestResults = [];\r\n if (Array.isArray(data))\r\n data.map((item) => {\r\n let row = item.Prop.find(x => x.PID === this.state.Form.Domain.testId);\r\n (testlist = [...testlist, { id: row.IPV, display: row.DIS }])\r\n });\r\n\r\n let rowobjects = [];\r\n rowresult.map(x => rowobjects = [...rowobjects, new ReportHistory(x)]);\r\n for (var i = 0; i < testlist.length; i++) {\r\n\r\n let labresult = rowobjects.find(x => x.Refrence === `#${this.state.Labratory.Value.id}#${testlist[i].id}#`);\r\n let unitins = await InstanceController.LoadInstanceAsync(testlist[i].id);\r\n let unit = (new BaseInstance(unitins)).GetValue(\"PC320\", true);\r\n if (!unit)\r\n unit = (new BaseInstance(unitins)).GetValue(\"P35\", true);\r\n\r\n if (labresult) {\r\n TestResults = [...TestResults, {\r\n Test: { ...testlist[i], Unit: unit }, Result: JSON.parse(labresult.Json).find(x => x?.smp === this.state.Sample.Value.id)\r\n\r\n }]\r\n }\r\n }\r\n let hasResult = false;\r\n for (let index = 0; index < TestResults.length; index++) {\r\n const element = TestResults[index];\r\n if (element.Result) {\r\n hasResult = true;\r\n break;\r\n }\r\n }\r\n this.setState({\r\n ...this.state,\r\n Tests: TestResults, hasResult\r\n });\r\n }\r\n else {\r\n toast.warn(\"داده ای یافت نشد\")\r\n }\r\n\r\n }\r\n this.setState({\r\n ...this.state,\r\n loading: false\r\n })\r\n }\r\n\r\n }\r\n async componentDidMount() {\r\n await this.SetParameter();\r\n }\r\n async componentDidUpdate() {\r\n await this.SetParameter();\r\n if (this.state.sampleUpdate) {\r\n this.setState({\r\n ...this.state,\r\n sampleUpdate: false\r\n });\r\n await this.LoadTests();\r\n }\r\n }\r\n async SetParameter() {\r\n try {\r\n\r\n if (this.state.Form.Form1ID === '' && this.props.match?.params?.fid1 !== undefined && this.props.match?.params?.fid2 !== undefined) {\r\n let domain = new BaseInstance(await InstanceController.LoadInstanceAsync(this.props.match.params.dom));\r\n domain.Instance.id = domain.ID;\r\n domain.Instance.display = domain.DIS;\r\n domain.Instance.testId = domain.GetValue(\"PC19\").split('#')[3];\r\n this.setState({\r\n ...this.state,\r\n Form: {\r\n ...this.state.Form,\r\n Form1ID: this.props.match.params.fid1,\r\n Form2ID: this.props.match.params.fid2,\r\n Domain: domain.Instance\r\n }\r\n });\r\n }\r\n else if (this.props.report && this.state.Form?.Domain?.ID !== this.props.report?.ID) {\r\n let domSetting = JSON.parse(this.props.report.GetValue('PC556'));\r\n if (Array.isArray(domSetting))\r\n domSetting = domSetting[0];\r\n let params = domSetting?.report;\r\n let fid1 = params?.split(',')[0];\r\n let fid2 = params?.split(',').length > 0 ? params?.split(',')[1] : '';\r\n let domain = this.props.report;\r\n domain.Instance.id = domain.ID;\r\n domain.Instance.display = domain.DIS;\r\n domain.Instance.testId = domain.GetValue(\"PC19\").split('#')[3];\r\n this.setState({\r\n ...this.state,\r\n Form: {\r\n ...this.state.Form,\r\n Form1ID: fid1,\r\n Form2ID: fid2,\r\n Domain: domain.Instance,\r\n },\r\n Tests: []\r\n });\r\n }\r\n if (this.props.labratoary && !this.state.Labratory.Value?.id) {\r\n let lab = { ...this.state.Labratory, Value: this.props.labratoary };\r\n this.setState({\r\n ...this.state,\r\n Labratory: lab\r\n });\r\n }\r\n if (this.props.labratoary && !this.state.Labratory.Value?.id) {\r\n let lab = { ...this.state.Labratory, Value: this.props.labratoary };\r\n this.setState({\r\n ...this.state,\r\n Labratory: lab\r\n });\r\n }\r\n } catch (error) {\r\n\r\n }\r\n }\r\n RowBuilder() {\r\n let counter = 1;\r\n let result = [];\r\n let header = \r\n \r\n #\r\n \r\n Test\r\n \r\n \r\n Your Result\r\n \r\n \r\n Target\r\n \r\n \r\n CV\r\n \r\n \r\n SDI\r\n \r\n \r\n %Dev\r\n \r\n {this.state.Sample.Value.Instance.GetValue('P166') === 'true' ? \r\n UM\r\n : null}\r\n \r\n\r\n \r\n \r\n ;\r\n this.state.Tests.map(({ Test, Result }) => {\r\n return (Result ?\r\n result = [...result, \r\n {counter++}\r\n \r\n {Test !== null ? Test.display : null}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.state.Sample.Value.Instance.GetValue('P166') === 'true' ? \r\n \r\n : null}\r\n \r\n \r\n \r\n ] : null\r\n )\r\n })\r\n return [header, {result}];\r\n }\r\n reactToPrintContent = () => {\r\n return this.componentRef;\r\n };\r\n reactToPrintTrigger = () => {\r\n return ;\r\n };\r\n render() {\r\n return (\r\n <>\r\n \r\n \r\n \r\n {\r\n this.state.Tests?.length > 0 ? \r\n (this.state.hasResult ? <>\r\n \r\n \r\n {this.RowBuilder()}\r\n
: )\r\n : \r\n }\r\n
\r\n\r\n {/* {this.state.hasResult?\r\n \r\n {this.state.Tests?.length > 0 ? <>\r\n \r\n \r\n {this.RowBuilder()}\r\n
: \r\n }\r\n
\r\n : } */}\r\n \r\n \r\n \r\n
\r\n \r\n );\r\n }\r\n}\r\n","import React from 'react';\r\nimport { Card, CardBody, CardHeader } from 'reactstrap';\r\n\r\nconst ReportInfo = () => {\r\n return (\r\n \r\n اطلاع رسانی\r\n \r\n

همکار گرامی انتقال گزارشات\r\n قبل از سال 1401 به نرم افزار جدید در حال انجام می باشد. تا قبل از انتقال می توانید (با نام کاربری و رمز عبور قدیم) از آدرس \r\n old.eqasonline.ir به گزارش نتایج ارزیابی سالهای قبل از 1401 دسترسی داشته باشید.

\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default ReportInfo;","import React, { Component } from 'react';\r\nimport Logo from '../Pishgam/Logo';\r\nimport { Badge, Button, Card, CardBody, CardFooter, Col, Row, Spinner, Table } from 'reactstrap';\r\nimport createMarkup from '../helpers/createMarkup';\r\nimport { MoneyFormat, Utility } from '../Engine/Common';\r\nimport { CartContextClass, Labratoary } from './ShopContext';\r\nimport AppContext from '../context/Context';\r\nimport NoData from '../Pishgam/NoData';\r\nimport moment from 'jalali-moment';\r\nexport default class Invoice extends Component {\r\n address = 'تهران، میدان ونک، خیابان ملاصدرا، ابتدای شیراز شمالی، بن بست کاج، پلاک 4، طبقه سوم کد پستی: 1991715515'\r\n institution = 'پیشگام ایرانیان'\r\n state = {\r\n Loading: 1,\r\n Data: {\r\n Header: {\r\n ID: '',\r\n Date: null,\r\n PaymentDue: 0,\r\n subtotal: 0,\r\n total: 0,\r\n user: {}\r\n },\r\n Details: []\r\n }\r\n }\r\n async componentDidMount() {\r\n await this.SetParameters();\r\n }\r\n async componentDidUpdate() {\r\n await this.SetParameters();\r\n\r\n }\r\n async SetParameters() {\r\n if (this.props.location.state?.Data !== undefined && this.state.Data.Header.ID !== this.props.location.state.Data.Header.ID) {\r\n this.setState({\r\n ...this.state,\r\n Loading: 1,\r\n Data: this.props.location.state.Data\r\n })\r\n }\r\n else if (this.props?.match?.params?.id &&\r\n this.state.Data.Header.ID !== this.props?.match?.params?.id) {\r\n let data = this.state.Data;\r\n data.Header.ID = this.props?.match?.params?.id;\r\n this.setState({\r\n ...this.state,\r\n Loading: 1,\r\n Data: data\r\n })\r\n data = await CartContextClass.LoadInvoice(this.props.match.params.id)\r\n if (Utility.IsInstanceID(data.Header.ID)) {\r\n if (Utility.IsInstanceID(data.Header.user)) {\r\n data.Header.Customer = await Labratoary.LoadAsync(data.Header.user);\r\n }\r\n this.setState({\r\n ...this.state,\r\n Loading: 0,\r\n Data: data\r\n });\r\n }\r\n else {\r\n this.setState({\r\n ...this.state,\r\n Loading: 2,\r\n });\r\n }\r\n }\r\n }\r\n\r\n render() {\r\n let invoice = this.state.Data;\r\n return (<>\r\n {({ setCurrentTitle }) => setCurrentTitle('پیش فاکتور')}\r\n \r\n\r\n {this.state.Loading===1 ? :(\r\n this.state.Loading===0 ?\r\n \r\n \r\n \r\n

پیش فاکتور

\r\n
{this.institution}
\r\n {this.address &&

}\r\n \r\n \r\n \r\n \r\n \r\n


\r\n \r\n
\r\n \r\n \r\n
جهت ارائه به
\r\n
{invoice.Header.Customer?.Name}
\r\n

\r\n

کد اقتصادی:\r\n {invoice.Header.Customer?.EcoCode}\r\n
\r\n {invoice.Header.Customer?.NationalCode ?
کد ملی:\r\n {invoice.Header.Customer?.NationalCode}\r\n
: null}\r\n
کد آزمایشگاه:\r\n {invoice.Header.Customer?.OldCode}\r\n
\r\n

\r\n شماره تماس:\r\n {invoice.Header.Customer?.Tel}\r\n

\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
شماره فاکتور:{invoice.Header.ID}
تاریخ فاکتور:{ moment(invoice.Header.Date, 'MM/DD/YYYY')\r\n .locale('fa').format('YYYY/M/D')}
مبلغ پرداخت شده:{MoneyFormat(invoice.Header.PaymentDue)}
مانده قابل پرداخت{MoneyFormat(invoice.Header.total - invoice.Header.PaymentDue)}
\r\n \r\n {this.state.Data.Header.state === 'O30E12C63I5' ? <>\r\n ابطال شده\r\n : <>\r\n \r\n\r\n {this.state.Data.Header.state !== 'O30E12C63I4' &&\r\n this.state.Data.Header.state !== 'O30E12C63I3' &&\r\n this.state.Data.Header.state !== 'O30E12C63I2' ? <>
\r\n : null}}\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {invoice.Details &&\r\n invoice.Details.map((invoicerow, index) => {\r\n console.log(invoicerow, invoicerow.productobject)\r\n //let prod = invoicerow.productobject;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n )\r\n })}\r\n \r\n
شرح خدماتتعدادمبلغمجموع
\r\n
{invoicerow.productobject?.title}
\r\n

{invoicerow.productobject?.description}

\r\n
{invoicerow.quantity}{MoneyFormat(invoicerow.realPrice)}{MoneyFormat(invoicerow.total)}
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
جمع فاکتور:{MoneyFormat(invoice.Header.subtotal)}
جمع کل:{MoneyFormat(invoice.Header.total)}
قابل پرداخت:{MoneyFormat(invoice.Header.total - invoice.Header.PaymentDue)}
\r\n \r\n
\r\n
\r\n \r\n

\r\n توجه : شرایط ثبت نام را خواندام و کاملا با آن موافقم\r\n

\r\n
\r\n
:)\r\n }\r\n )\r\n }\r\n}\r\n","module.exports = __webpack_public_path__ + \"static/media/mellat.dbfc98f1.png\";","module.exports = __webpack_public_path__ + \"static/media/sepah.474aafde.png\";","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useEffect, useState } from 'react'\r\nimport { toast } from 'react-toastify';\r\nimport { Button, Col, Input, Label, Row, Table } from 'reactstrap';\r\nimport Flex from '../../../components/common/Flex';\r\nimport { Utility } from '../../../Engine/Common';\r\nimport { AntibioticsDisk, AntibioticsDiskMaker, AntibioticsResultInterpretation, AntibioticsRow } from './BacteryContext';\r\n\r\nconst Antibiotics = ({ Changed, Data }) => {\r\n const [antibioticsDisk, setAntibioticsDisk] = useState([]);\r\n const [antibioticsDiskMaker, setAntibioticsDiskMaker] = useState([]);\r\n const [antibioticsResultInterpretation, setAntibioticsResultInterp] = useState([]);\r\n const [selantibioticsDisk, setSelAntibioticsDisk] = useState('');\r\n const [selantibioticsDiskMaker, setSelAntibioticsDiskMaker] = useState('');\r\n const [selantibioticsResultInterp, setSelAntibioticsResultInterp] = useState('');\r\n const [growsHole, setGrowsHole] = useState(0);\r\n const [rows, setRows] = useState([]);\r\n\r\n useEffect(() => {\r\n async function fetchMyAPI() {\r\n let bg = new AntibioticsDisk();\r\n let list = await bg.GetAll();\r\n let bgk = new AntibioticsDiskMaker();\r\n let list1 = await bgk.GetAll();\r\n let bri = new AntibioticsResultInterpretation();\r\n let list2 = await bri.GetAll();\r\n setAntibioticsDisk(list);\r\n setAntibioticsDiskMaker(list1);\r\n setAntibioticsResultInterp(list2);\r\n }\r\n if (antibioticsDisk.length === 0)\r\n fetchMyAPI();\r\n if (Data && Data !== rows) {\r\n setRows(Data);\r\n }\r\n else if (!Data || Data.length === 0)\r\n setRows([]);\r\n Clear();\r\n }, [Data]);\r\n const AddRow = () => {\r\n if (rows.length < 12) {\r\n if (antibioticsDisk !== \"notselected\" && antibioticsDiskMaker !== \"notselected\"\r\n && antibioticsResultInterpretation !== \"notselected\" ) {\r\n if (rows.findIndex(x => x.AntibioticsDisk === selantibioticsDisk.ID) < 0) {\r\n let row = new AntibioticsRow();\r\n row.AntibioticsDisk = selantibioticsDisk;\r\n row.AntibioticsDiskMaker = selantibioticsDiskMaker;\r\n row.AntibioticsResultInterpretation = selantibioticsResultInterp;\r\n row.GrowsHole = growsHole;\r\n row.Rows = rows.length + 1;\r\n let newrows = [...rows, row];\r\n setRows(newrows);\r\n Changed(newrows);\r\n Clear();\r\n }\r\n else {\r\n toast.warning('این آنتی بیوتیک قبلا اضافه شده است')\r\n }\r\n }\r\n\r\n }\r\n else {\r\n toast.error('در بیشترین حالت شما مجاز به ثبت 12 ردیف آنتی بیوتیک هستید')\r\n }\r\n }\r\n const Clear = () => {\r\n setSelAntibioticsDisk('notselected');\r\n setSelAntibioticsDiskMaker('notselected');\r\n setSelAntibioticsResultInterp('notselected');\r\n setGrowsHole(0);\r\n }\r\n const RemoveRow =async (index) => {\r\n let newrows = [...rows];\r\n let item = newrows[index];\r\n if(Utility.IsInstanceID( item?.ID))\r\n await item.DeleteAsync();\r\n newrows.splice(index, 1);\r\n newrows.map((item,index) => item.Rows=index+1);\r\n setRows(newrows)\r\n Changed(newrows);\r\n\r\n }\r\n return (<>\r\n \r\n \r\n setSelAntibioticsDisk(antibioticsDisk.find(x => x.ID === event.target.value))}\r\n value={selantibioticsDisk?.ID ?? 'notselected'}\r\n >\r\n \r\n {\r\n antibioticsDisk.map(test => {\r\n return ;\r\n })\r\n }\r\n \r\n\r\n\r\n \r\n setSelAntibioticsDiskMaker(antibioticsDiskMaker.find(x => x.ID === event.target.value))}\r\n value={selantibioticsDiskMaker?.ID ?? 'notselected'}\r\n >\r\n \r\n {\r\n antibioticsDiskMaker.map(ans => {\r\n return (\r\n \r\n );\r\n })\r\n }\r\n \r\n \r\n \r\n \r\n { setGrowsHole(event.target.value) }}\r\n value={growsHole ?? 0}\r\n >\r\n \r\n \r\n \r\n \r\n setSelAntibioticsResultInterp(antibioticsResultInterpretation.find(x => x.ID === event.target.value))}\r\n value={selantibioticsResultInterp?.ID ?? 'notselected'}\r\n >\r\n \r\n {\r\n antibioticsResultInterpretation.map(ans => {\r\n return (\r\n \r\n );\r\n })\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n rows.map((item, index) => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n })\r\n }\r\n \r\n
ردیفآنتی بیوتیکسازنده آنتی بیوتیکقطرهالهتفسیر نتیجه
{item.Rows}{item.AntibioticsDiskObject ? item.AntibioticsDiskObject.DIS : item.AntibioticsDisk}{item.AntibioticsDiskMakerObject ? item.AntibioticsDiskMakerObject.DIS : item.AntibioticsDiskMaker}{item.GrowsHole}{item.AntibioticsResultInterpretationObject ? item.AntibioticsResultInterpretationObject.DIS : item.AntibioticsResultInterpretation} { RemoveRow(index) }} size='1x' icon={'trash'} className=\"text-danger\" />
\r\n )\r\n};\r\n\r\nexport default Antibiotics;","import React, { useEffect, useState } from 'react'\r\nimport { Col, Input, Label, Row } from 'reactstrap';\r\nimport { BacteryDiagnosis, BacteryGender, BacterySpices } from './BacteryContext';\r\n\r\nconst Diagnosis = ({ Changed,Data }) => {\r\n const [bacteryGender, setBacteryGender] = useState([]);\r\n const [bacterySpecies, setBacterySpecies] = useState([]);\r\n const [selBacteryGender, setSelBacteryGender] = useState(\"\");\r\n const [selBacterySpecies, setSelBacterySpecies] = useState(\"\");\r\n useEffect(() => {\r\n async function fetchMyAPI() {\r\n let bg = new BacteryGender();\r\n let list = await bg.GetAll();\r\n setBacteryGender(list)\r\n }\r\n async function UpdateData() {\r\n setSelBacteryGender(Data.BacteryGender);\r\n let bs = new BacterySpices();\r\n let list = await bs.getActiveListby(Data.BacteryGender);\r\n setBacterySpecies(list);\r\n if (Data.BacterySpices !== selBacterySpecies) {\r\n setSelBacterySpecies(Data.BacterySpices);\r\n }\r\n }\r\n if (bacteryGender.length === 0)\r\n fetchMyAPI();\r\n if (Data?.BacteryGender && Data.BacteryGender !== selBacteryGender) {\r\n UpdateData();\r\n }\r\n if(!Data?.BacteryGender ){\r\n setSelBacteryGender(\"\");\r\n setSelBacterySpecies(\"\");\r\n }\r\n }, [Data]);\r\n const testChanged = async (event) => {\r\n setBacterySpecies([]);\r\n setSelBacterySpecies(\"\");\r\n let value = event.target.value;\r\n setSelBacteryGender(value);\r\n let bs = new BacterySpices();\r\n let list =await bs.getActiveListby(value);\r\n setBacterySpecies(list);\r\n Data.BacteryGender = value;\r\n Data.BacterySpices =\"\";\r\n Changed(Data)\r\n }\r\n const test = '';\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n {\r\n bacteryGender.map(test => {\r\n return ;\r\n })\r\n }\r\n \r\n \r\n \r\n \r\n {\r\n setSelBacterySpecies(event.target.value)\r\n Data.BacterySpices = event.target.value;\r\n Changed(Data);\r\n }}\r\n value={selBacterySpecies}\r\n >\r\n \r\n {\r\n bacterySpecies.map(ans => {\r\n return (\r\n \r\n );\r\n })\r\n }\r\n \r\n \r\n \r\n )\r\n};\r\n\r\nexport default Diagnosis;","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useEffect, useState } from 'react'\r\nimport { toast } from 'react-toastify';\r\nimport { Button, Col, Input, Label, Row, Table } from 'reactstrap';\r\nimport Flex from '../../../components/common/Flex';\r\nimport { Utility } from '../../../Engine/Common';\r\nimport { BacteryTest, BacteryTestResult, BacteryTestRow } from './BacteryContext';\r\n\r\nconst DiagnosisTest = ({ Changed, Data }) => {\r\n const [bacteryTest, setBacteryTest] = useState([]);\r\n const [selbacteryTest, setSelBacteryTest] = useState(\"\");\r\n const [bacteryResultTest, setBacteryResultTest] = useState([]);\r\n const [selbacteryResultTest, setSelBacteryResultTest] = useState(\"\");\r\n const [rows, setRows] = useState([]);\r\n useEffect(() => {\r\n async function fetchMyAPI() {\r\n let bg = new BacteryTest();\r\n let list = await bg.GetAll();\r\n setBacteryTest(list);\r\n }\r\n if (bacteryTest.length === 0)\r\n fetchMyAPI();\r\n if (Data && Data !== rows) {\r\n setRows(Data);\r\n }\r\n else if (!Data || Data.length===0)\r\n setRows([]);\r\n setSelBacteryTest(\"\");\r\n setSelBacteryResultTest(\"\");\r\n }, [Data]);\r\n const TestChanged = async (event) => {\r\n setBacteryResultTest([]);\r\n let value = event.target.value;\r\n let objvalue = bacteryTest.find(x => x.ID === value);\r\n setSelBacteryTest(objvalue);\r\n setSelBacteryResultTest(\"\");\r\n let bs = new BacteryTestResult();\r\n let list = await bs.getListby(value);\r\n setBacteryResultTest(list);\r\n }\r\n const AddRow = () => {\r\n if (selbacteryTest !== \"\" && selbacteryResultTest !== \"\") {\r\n if (rows.findIndex(x => x.BacteryTest === selbacteryTest.ID && x.Result === selbacteryResultTest.ID) < 0) {\r\n let row = new BacteryTestRow();\r\n row.BacteryTest = selbacteryTest;\r\n row.Result = selbacteryResultTest;\r\n row.Rows = rows.length + 1;\r\n setRows([...rows, row]);\r\n setSelBacteryTest(\"\");\r\n setSelBacteryResultTest(\"\");\r\n Changed([...rows, row]);\r\n }\r\n else{\r\n toast.warning('این تست قبلا اضافه شده است')\r\n }\r\n }\r\n }\r\n const RemoveRow = async(index) => {\r\n let newrows = [...rows]\r\n let item = newrows[index];\r\n if(Utility.IsInstanceID( item.ID))\r\n await item.DeleteAsync();\r\n newrows.splice(index, 1);\r\n\r\n setRows(newrows)\r\n Changed(newrows)\r\n\r\n }\r\n const ResultSelected = (event) => {\r\n if (event.target.value !== \"\") {\r\n let obj = bacteryResultTest.find(x => x.ID === event.target.value)\r\n setSelBacteryResultTest(obj);\r\n }\r\n else\r\n setSelBacteryResultTest(event.target.value);\r\n }\r\n return (<>\r\n \r\n \r\n \r\n \r\n \r\n {\r\n bacteryTest.map(test => {\r\n return ;\r\n })\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n bacteryResultTest.map(ans => {\r\n return (\r\n \r\n );\r\n })\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n rows.map((item, index) => {\r\n return (\r\n \r\n \r\n \r\n );\r\n })\r\n }\r\n \r\n
تست تشخیصینتیجه
{item.BacteryTestObject ? item.BacteryTestObject.DIS : item.BacteryTest}{item.ResultObject ? item.ResultObject.DIS : item.Result} { RemoveRow(index) }} size='1x' icon={'trash'} className=\"text-danger\" />
\r\n \r\n )\r\n};\r\n\r\nexport default DiagnosisTest;","import ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, CardTitle, Col, Label, Row } from 'reactstrap';\r\nimport JoiSearchBox from '../components/joi/JoiSearchBox';\r\nimport { ConstIdes, PropConstIdes } from './ConstIdes';\r\nimport ReportHeader from './ReportHeader';\r\nimport * as echarts from 'echarts';\r\nimport FalconCardHeader from '../components/common/FalconCardHeader';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport { ReportHistory } from '../Engine/EngineContext';\r\nimport NoData from './NoData';\r\nimport TreeData from '../Forms/Reports/TreeData';\r\nimport { useParams } from 'react-router-dom';\r\nimport { GetLocalLink, Utility } from '../Engine/Common';\r\nimport { AuthenticationController } from '../Engine/Authentication';\r\nimport Flex from '../components/common/Flex';\r\nconst MOMChart = ({ Data }) => {\r\n let levels = ['<1', '[1-2)', '[2-3)', '>3'];\r\n Data.map(item => {\r\n let tempLevels = [];\r\n levels.map((lvl, index) => {\r\n let row = item.levels.find(x => x.level === (index + 1))\r\n if (!row)\r\n row = { level: (index + 1), QTY: 0 };\r\n tempLevels = [...tempLevels, row]\r\n })\r\n item.levels = tempLevels;\r\n })\r\n const option = {\r\n tooltip: {\r\n trigger: 'axis',\r\n axisPointer: {\r\n type: 'shadow'\r\n }\r\n },\r\n legend: {},\r\n grid: {\r\n left: '3%',\r\n right: '4%',\r\n bottom: '3%',\r\n containLabel: true\r\n },\r\n xAxis: {\r\n name:'تعداد / نرم افزار',\r\n type: 'value', nameLocation: 'middle', \r\n },\r\n yAxis: {\r\n name:'MOM',\r\n type: 'category',\r\n data: levels\r\n },\r\n series: Data.map((manu) => {\r\n return ({\r\n name: manu.display,\r\n type: 'bar',\r\n stack: 'total',\r\n label: {\r\n show: true\r\n },\r\n emphasis: {\r\n focus: 'series'\r\n },\r\n data: manu.levels.map(item => item.QTY)\r\n })\r\n })\r\n\r\n };\r\n return (<>\r\n گزارش براساس مقادیر MOM و نرم افزار مورد استفاده\r\n
\r\n \r\n );\r\n}\r\nconst AnalyticsReport = () => {\r\n const [section, setSection] = useState();\r\n const params = useParams();\r\n const colors = ['#2c7be5', '#a496de', '#ffc19c','#ccc'];\r\n const [labratoary, setLabratoary] = useState();\r\n const [sample, setSample] = useState();\r\n const [test, setTest] = useState();\r\n const [mainData, setMainData] = useState();\r\n const [MOMData, setMOMData] = useState();\r\n const [labResult, setLabResult] = useState();\r\n const [historlist, sethistoList] = useState([]);\r\n const [xAxis, setxAxis] = useState([]);\r\n const [hasHeader, setHasHeader] = useState(false);\r\n useEffect(() => {\r\n const fetch = async () => {\r\n if (!Utility.IsInstanceID(params.dom)) {\r\n let settings = GetLocalLink(params.dom);\r\n if (settings) {\r\n setSection(settings.domain);\r\n setSample(settings.sample);\r\n setTest(settings.test);\r\n setLabratoary(settings.labratoary);\r\n await Changedtest(settings.test, settings.sample);\r\n }\r\n }\r\n else {\r\n if (AuthenticationController.HasRole('R2')) {\r\n setHasHeader(true);\r\n let temp = await InstanceController.GetDisplay(params.dom);\r\n setSection(temp);\r\n }\r\n }\r\n }\r\n\r\n if (params.dom && !section) {\r\n fetch();\r\n }\r\n }, [test, sample])\r\n useEffect(() => {\r\n const fetch = async () => {\r\n await LabChanged();\r\n }\r\n fetch();\r\n }, [mainData])\r\n const Controls = [{\r\n col: \"3\",\r\n pid: PropConstIdes.Lab,\r\n controlType: \"SearchControl\",\r\n title: \"آزمایشگاه\",\r\n source: ConstIdes.Lab\r\n }, {\r\n col: \"3\",\r\n pid: PropConstIdes.Sample,\r\n controlType: \"SearchControl\",\r\n title: \"نمونه\",\r\n source: ConstIdes.Sample\r\n }, {\r\n col: \"3\",\r\n pid: PropConstIdes.BioTest,\r\n controlType: \"SearchControl\",\r\n title: \"آزمایش\",\r\n source: ConstIdes.BioTest\r\n }];\r\n\r\n const LabChanged = async (value) => {\r\n if (value)\r\n setLabratoary(value);\r\n else\r\n value = labratoary;\r\n if (value && test && sample) {\r\n let result = await ReportHistory.Find(`#${value.id}#${test.id}#`);\r\n if (result?.length > 0) {\r\n let labres = JSON.parse(result[0].Json);\r\n for (let i = 0; i < labres.length; i++) {\r\n const element = labres[i];\r\n element.smpName = (await InstanceController.GetDisplay(element.smp)).display;\r\n\r\n }\r\n setLabResult(labres)\r\n let thisresult = labres.find(x => x.smp === sample.id);\r\n let data = dataFormTree(mainData, thisresult.G1);\r\n data = checkValue(data);\r\n let histogramlist = data ? [data.Values] : [];\r\n //let histogramlist = data?.list ? [data.list] : ( data ? [data.Values] : []);\r\n if (data?.children && thisresult.G2) {\r\n data = dataFormTree(data.children, thisresult.G2);\r\n\r\n if (data)\r\n histogramlist = [...histogramlist, data.Values];\r\n }\r\n if (data?.children && thisresult.G3) {\r\n data = dataFormTree(data.children, thisresult.G3);\r\n if (data)\r\n histogramlist = [...histogramlist, data.Values];\r\n }\r\n let xaxis = [];\r\n\r\n histogramlist.map((histogram) => {\r\n histogram.map((item) => xaxis = [...xaxis, item.leveldis]);\r\n })\r\n xaxis = xaxis.sort((a, b) => a - b);\r\n let levelCount = histogramlist[0]?.length > 33 ? 33 : histogramlist[0]?.length + 1;\r\n let levelHight = (xaxis[xaxis.length - 1] - xaxis[0]) / levelCount;\r\n if (levelHight === 0) levelHight = 1;\r\n let xaxis2 = [];\r\n for (let index = 0; index < levelCount + 1; index++) {\r\n xaxis2 = [...xaxis2, (xaxis[0] + (index * levelHight)).toFixed(2)]\r\n }\r\n setxAxis(xaxis2);\r\n sethistoList(histogramlist)\r\n\r\n }\r\n }\r\n }\r\n const checkValue=(data)=>{\r\n if(data?.list){\r\n data.Values=data.list;\r\n for (let index = 0; index < data?.children?.length; index++) {\r\n const element = data.children[index];\r\n checkValue(element);\r\n }\r\n }\r\n return data;\r\n }\r\n const dataFormTree = (list, group) => {\r\n return list.find(x => x.id === group);\r\n\r\n }\r\n const Changedsample = async (value) => {\r\n setSample(value);\r\n if (value && test) {\r\n let result = await ReportHistory.Find(`#${value.id}#${test.id}#group#`);\r\n console.log(JSON.parse(result[0].Json))\r\n if (result?.length > 0) {\r\n setMainData(JSON.parse(result[0].Json))\r\n }\r\n let result1 = await ReportHistory.Find(`#${value.id}#${test.id}#MOM#group#`);\r\n if (result1?.length > 0) {\r\n setMOMData(JSON.parse(result1[0].Json))\r\n }\r\n }\r\n }\r\n const Changedtest = async (value, samplevalue) => {\r\n if (value)\r\n setTest(value);\r\n else\r\n value = test;\r\n if (!samplevalue)\r\n samplevalue = sample;\r\n\r\n if (samplevalue && value) {\r\n let result = await ReportHistory.Find(`#${samplevalue.id}#${value.id}#group#`);\r\n if (result?.length > 0) {\r\n setMainData(JSON.parse(result[0].Json))\r\n }\r\n let result1 = await ReportHistory.Find(`#${samplevalue.id}#${value.id}#MOM#group#`);\r\n if (result1?.length > 0) {\r\n setMOMData(JSON.parse(result1[0].Json))\r\n }\r\n }\r\n }\r\n const getOption = (data, colors) => {\r\n let headers = ['نحوه انجام آزمایش', 'روش انجام آزمایش', 'سازنده کیت'];\r\n if (test.id === 'O30E12C5I1')\r\n headers = ['نحوه انجام آزمایش', 'ISI', 'سازنده کیت'];\r\n if (test.id === 'O30E12C5I2')\r\n headers = ['نحوه انجام آزمایش', ' کیت'];\r\n if (test.id.includes('O30E12C23I'))\r\n headers = ['CellCounter'];\r\n let labPoint = labResult?.find(x => x.smp === sample.id)?.ans;\r\n let series = data.map((value, index) => {\r\n let data1 = [];\r\n let xindex = -1;\r\n let yindex = 0;\r\n xAxis.map((x, xAxisindex) => {\r\n let list = value.filter(item => xAxis.length > (xAxisindex + 1) && item.leveldis >= x && item.leveldis < xAxis[xAxisindex + 1]);\r\n\r\n let val = 0;\r\n for (let Lindex = 0; Lindex < list?.length; Lindex++) {\r\n const element = list[Lindex];\r\n val += element.QTY;\r\n }\r\n data1 = [...data1, val];\r\n if (xAxis.length > (xAxisindex + 1) && parseFloat(labPoint) >= x && parseFloat(labPoint) < xAxis[xAxisindex + 1]) {\r\n xindex = x;\r\n yindex = val;\r\n }\r\n });\r\n//console.log(data1,data,labResult,xAxis)\r\n return {\r\n name: headers[index],\r\n type: 'bar',\r\n color: colors[index],\r\n data: data1,\r\n markPoint: data.length === index + 1 && xindex > -1 ? {\r\n data: [\r\n {\r\n name: 'نتيجه شما', value: labPoint,\r\n xAxis: xindex,\r\n yAxis: yindex\r\n }\r\n ]\r\n } : {},\r\n }\r\n });\r\n return {\r\n title: {\r\n text: 'توزیع فراوانی نتایج',\r\n subtext: 'هم گروه',\r\n left: 'center'\r\n },\r\n tooltip: {\r\n trigger: 'axis'\r\n },\r\n legend: {\r\n left: 'left',\r\n left: 15,\r\n data: headers\r\n },\r\n toolbox: {\r\n show: true,\r\n feature: {\r\n magicType: { show: true, type: ['line', 'bar'], title: ['بارچارت', 'خطی'] },\r\n saveAsImage: { show: true, title: 'دانلود نمودار' }\r\n }\r\n },\r\n xAxis: [\r\n {\r\n name: 'محدوده نتايج',\r\n nameLocation: 'middle', nameGap: 58,\r\n type: 'category',\r\n data: xAxis,\r\n axisLabel: { interval: 0, rotate: 30 }\r\n }\r\n ],\r\n yAxis: [\r\n {\r\n name: 'تعداد شركت كنندگان', nameLocation: 'middle', nameGap: 30,\r\n type: 'value'\r\n }\r\n ],\r\n grid: {\r\n left: '3%',\r\n right: '4%',\r\n bottom: '3%',\r\n containLabel: true\r\n },\r\n series: series\r\n\r\n };\r\n };\r\n const getOptionSD10 = (data, colors) => {\r\n let sdata = [];\r\n let flag = false;\r\n if (data) {\r\n let a =data.map((item) => {\r\n if (!flag){\r\n sdata = [...sdata, item];\r\n }\r\n if (item.smp === sample.id) {\r\n flag = true;\r\n }\r\n return sdata;\r\n });\r\n }\r\n return (\r\n {\r\n title: {\r\n text: 'پایش SDI دوره ها'\r\n },\r\n tooltip: {\r\n trigger: 'axis'\r\n },\r\n xAxis: {\r\n type: 'category',\r\n name: 'شماره نمونه',\r\n\r\n axisLabel: {\r\n interval: 0, rotate: 30\r\n },\r\n data: sdata?.map(function (d) {\r\n return d.smpName\r\n })\r\n },\r\n yAxis: {\r\n name: 'SDI',\r\n type: 'value',\r\n min: -3,\r\n max: 3,\r\n },\r\n series: [\r\n {\r\n name: 'Highest',\r\n type: 'scatter',\r\n color: colors[0],\r\n data: sdata.map(function (d) {\r\n return d.sdi\r\n }),\r\n }\r\n ],\r\n\r\n grid: {\r\n left: '3%',\r\n right: '4%',\r\n bottom: '3%',\r\n containLabel: true\r\n }\r\n });\r\n };\r\n const getOptionDEV10 = (data, colors) => {\r\n let sdata = [];\r\n let flag = false;\r\n if (data) {\r\n let a =data.map((item) => {\r\n if (!flag){\r\n sdata = [...sdata, item];\r\n }\r\n if (item.smp === sample.id) {\r\n flag = true;\r\n }\r\n return sdata;\r\n });\r\n }\r\n let resultAvrage = [];\r\n let header=[];\r\n let Values=[];\r\n for (let index = 1; index < sdata.length; index++) {\r\n const element1 = sdata[index-1].dev;\r\n const element2 = sdata[index].dev;\r\n resultAvrage=[...resultAvrage,undefined,((element1+element2)/2)?.toFixed(2)];\r\n header=[...header,sdata[index-1].smpName,''];\r\n Values=[...Values,sdata[index-1].dev?.toFixed(2),undefined];\r\n }\r\n if(sdata?.length > 0){\r\n header=[...header,sdata[sdata.length-1].smpName];\r\n Values=[...Values,sdata[sdata.length-1].dev?.toFixed(2)];\r\n }\r\n return (\r\n {\r\n title: {\r\n text: 'پایش Dev% دوره ها'\r\n },\r\n tooltip: {\r\n trigger: 'item'\r\n },\r\n xAxis:[{\r\n type: 'category',\r\n name: 'شماره نمونه',\r\n axisLabel: {\r\n interval: 0, rotate: 30\r\n },\r\n data: header,\r\n }],axisPointer: {\r\n link: { xAxisIndex: 'all' },\r\n label: {\r\n backgroundColor: '#777'\r\n }\r\n },\r\n yAxis: {\r\n type: 'value',\r\n name: 'دامنه انحراف',\r\n axisLabel: {\r\n formatter: '{value} %'\r\n },\r\n min: -30,\r\n max: 30,\r\n },\r\n series: [\r\n {\r\n type: 'scatter',\r\n data: Values,\r\n color: colors[1],\r\n },\r\n {\r\n type: 'scatter',\r\n data: resultAvrage,\r\n color: colors[3],\r\n }\r\n ],\r\n\r\n grid: {\r\n left: '3%',\r\n right: '4%',\r\n bottom: '3%',\r\n containLabel: true\r\n }\r\n });\r\n };\r\n\r\n let SDI = parseFloat(labResult?.find(x => x.smp === sample.id)?.sdi).toFixed(2);\r\n let DEV = parseFloat(labResult?.find(x => x.smp === sample.id)?.dev).toFixed(2);\r\n if (SDI > 5 || SDI < -5) {\r\n SDI = 'OOR';\r\n DEV = 'OOR';\r\n }\r\n\r\n return (\r\n
\r\n {hasHeader ?\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n { await Changedsample(value); }}\r\n PID={Controls[1].pid} placeHolder={Controls[1].title} />\r\n \r\n \r\n { await Changedtest(value); }}\r\n PID={Controls[2].pid} placeHolder={Controls[2].title} />\r\n \r\n \r\n { await LabChanged(value); }}\r\n PID={Controls[0].pid} placeHolder={Controls[0].title} />\r\n\r\n \r\n \r\n \r\n \r\n : null}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {!mainData ? :\r\n \r\n \r\n \r\n \r\n \r\n \r\n  \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n x.smp === sample.id)} />\r\n \r\n \r\n \r\n {MOMData ? : null}\r\n \r\n \r\n \r\n }\r\n \r\n\r\n
\r\n );\r\n};\r\n\r\nexport default AnalyticsReport;","import ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Card, CardBody, CardTitle, Col, Label, Row, Table } from 'reactstrap';\r\nimport { SearchObject, Utility } from '../../Engine/Common';\r\nimport ConditionMaker from '../../Engine/ConditionMaker';\r\nimport { FromManagerDataTemplate } from '../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport AdminReportHeader from '../AdminReportHeader';\r\nimport { ConstIdes } from '../ConstIdes';\r\nimport NoData from '../NoData';\r\nimport ReportHeader from '../ReportHeader';\r\nimport * as echarts from 'echarts';\r\nimport { ReportHistory } from '../../Engine/EngineContext';\r\nimport { ThemeDivider } from '../../EngineForms/ThemeControl';\r\nconst MorfologyReport = ({ lab }) => {\r\n const [sample, setSample] = useState();\r\n const [labratoary, setLabratoary] = useState();\r\n const [labResult, setLabResult] = useState();\r\n const [expectedAnswer, setExpectedAnswer] = useState();\r\n const [golbalReport, setGlobalReport] = useState();\r\n const [cellTypeList, setCellTypeList] = useState();\r\n const [noResult, setNoResult] = useState(null);\r\n const [loading, setloading] = useState(false);\r\n\r\n useEffect(() => {\r\n const fetch = async () => {\r\n if (sample) {\r\n let temp = await SearchObject('', 'O30E12C47', '<>', ' order by convert(int,PC2) ');\r\n if (Utility.GetInstanceSerial(sample.id) <= 109) {\r\n temp = temp.filter((x) => Utility.GetInstanceSerial(x.id) < 15);\r\n }\r\n if (Utility.GetInstanceSerial(sample.id) >= 229) {\r\n temp = temp.filter((x) => x.id !== 'O30E12C47I4');\r\n }\r\n setCellTypeList(temp);\r\n }\r\n }\r\n fetch();\r\n }, [sample])\r\n useEffect(() => {\r\n setLabResult(null);\r\n LoadTests();\r\n }, [labratoary])\r\n useEffect(() => {\r\n setGlobalReport(null);\r\n setExpectedAnswer(null);\r\n LoadTests();\r\n }, [sample])\r\n useEffect(() => {\r\n setLabratoary(lab);\r\n }, [lab])\r\n const PropertyHandler = (pid, value, obj) => {\r\n if (pid.includes(ConstIdes.Sample + 'I')) {\r\n setSample(value);\r\n }\r\n else if (pid.includes(ConstIdes.Lab + 'I')) {\r\n setLabratoary(value);\r\n }\r\n }\r\n const LoadTests = async () => {\r\n if (sample && labratoary && !loading) {\r\n setloading(true);\r\n let dt = await FromManagerDataTemplate.LoadByAsync(`#${sample.id}#expected#`);\r\n let dt1 = await ReportHistory.Find(`#${sample.id}#morphologyReport#`);\r\n if (dt1[0] !== undefined && dt !== undefined) {\r\n setGlobalReport(JSON.parse(dt1[0].Json));\r\n setExpectedAnswer(JSON.parse(dt.Json));\r\n let condition = new ConditionMaker('O30E12C54');\r\n condition.AddCondition('P9', '=', sample.id, 'AND').AddCondition('P8', '=', labratoary.id);\r\n let doc = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(condition), 'P61', ['O30E12C48']);\r\n setLabResult(doc);\r\n if (doc.Header.ID === \"\") {\r\n setNoResult(true);\r\n }\r\n else {\r\n setNoResult(false);\r\n }\r\n }\r\n else {\r\n setNoResult(true);\r\n }\r\n setloading(false);\r\n }\r\n }\r\n const FindResultValue = (testid) => {\r\n let row = labResult?.RelatedInstances.find(x => x.Prop.find(y => y.PID === 'P54' && y.IPV === testid));\r\n if (row)\r\n return row.Prop.find(x => x.PID === 'P15')?.IPV ?? '';\r\n else\r\n return '';\r\n }\r\n const getOption = (data, title, seriesTitle) => {\r\n return {\r\n title: {\r\n text: title,\r\n left: 'center'\r\n },\r\n tooltip: {\r\n trigger: 'item',\r\n formatter: '{a}
{b} : {c} ({d}%)'\r\n },\r\n legend: {\r\n orient: 'vertical',\r\n top: 40,\r\n bottom: 20,\r\n left: 'left'\r\n },\r\n series: [\r\n {\r\n name: seriesTitle,\r\n type: 'pie',\r\n label: {\r\n show: true,\r\n formatter: ' {c} ({d}%) '\r\n },\r\n center: ['80%', '60%'],\r\n data: data?.map(item => ({ name: removeTitle(item.display), value: item.QTY })),\r\n emphasis: {\r\n itemStyle: {\r\n shadowBlur: 10,\r\n shadowOffsetX: 0,\r\n shadowColor: 'rgba(0, 0, 0, 0.5)'\r\n }\r\n }\r\n }\r\n ]\r\n };\r\n };\r\n const removeTitle = (value) => {\r\n value = value.replace('RBC', '');\r\n value = value.replace('WBC', '');\r\n value = value.replace('Platelet', '');\r\n return value;\r\n }\r\n return (
\r\n \r\n \r\n \r\n {sample && labratoary ?\r\n \r\n گزارش شمارش افتراقی گلبولهای سفید در گسترش خون محیطی\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n cellTypeList?.map((item, index) => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n );\r\n })\r\n }\r\n \r\n
#Cell TypeMinimumMaximumYour Result
{index + 1}{item.display}{expectedAnswer?.items?.find(x => x.id === item.id)?.min}{expectedAnswer?.items?.find(x => x.id === item.id)?.max}{FindResultValue(item.id)}
\r\n \r\n\r\n گزارش تشخیص\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n : \r\n }\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default MorfologyReport;","import ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Card, CardBody, CardTitle, Col, Label, Row, Table } from 'reactstrap';\r\nimport { ThemeDivider } from '../EngineForms/ThemeControl';\r\nimport AdminReportHeader from './AdminReportHeader';\r\nimport ReportHeader from './ReportHeader';\r\nimport * as echarts from 'echarts';\r\nimport NoData from './NoData';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport { ReportHistory } from '../Engine/EngineContext';\r\nimport { FromManagerDataTemplate } from '../Engine/FormDataTemplate';\r\nimport ConditionMaker from '../Engine/ConditionMaker';\r\nimport BaseInstance from '../Engine/BaseInstance';\r\n\r\nconst StatisticalReport = ({ match, lab }) => {\r\n const [expectedAnswer, setExpectedAnswer] = useState();\r\n const [labResult, setLabResult] = useState();\r\n const [sample, setSample] = useState();\r\n const [golbalReport, setGolbalReport] = useState();\r\n const [labratoary, setLabratoary] = useState();\r\n const [domain, setDomain] = useState();\r\n const [noResult, setNoResult] = useState(false);\r\n useEffect(() => {\r\n const fetch = async () => {\r\n if (match.params.dom) {\r\n let dom = await InstanceController.LoadInstanceAsync(match.params.dom);\r\n dom.id = dom.ID;\r\n dom.display = dom.DIS;\r\n console.log(dom)\r\n setDomain(dom);\r\n }\r\n }\r\n fetch();\r\n }, [match])\r\n useEffect(() => {\r\n setLabratoary(lab);\r\n }, [lab])\r\n useEffect(() => {\r\n LoadData();\r\n }, [sample])\r\n\r\n const getOption = (data, title, seriesTitle) => {\r\n var result = {\r\n tooltip: {\r\n trigger: 'item',\r\n formatter: '({a}
{b}) : {c} ({d}%)'\r\n },\r\n // legend: {\r\n // orient: 'vertical',\r\n // left: 'left',\r\n // formatter: (name) => {\r\n // const item = data.find((d) => d.display === name);\r\n // if (item) {\r\n // const total = data.reduce((sum, current) => sum + current.QTY, 0);\r\n // const percentage = ((item.QTY / total) * 100).toFixed(2);\r\n // return `${name} (${percentage}%)`;\r\n // }\r\n // return name;\r\n // },\r\n // },\r\n series: [\r\n {\r\n name: seriesTitle,\r\n type: 'pie',\r\n radius: '50%',\r\n label: {\r\n formatter: '({b}): {c} ({d}%)',\r\n show: domain.ID !== \"O30E23C2I8\"\r\n },\r\n data: data?.map(item => ({ name: item.display, value: item.QTY })),\r\n emphasis: {\r\n itemStyle: {\r\n shadowBlur: 10,\r\n shadowOffsetX: 0,\r\n shadowColor: 'rgba(0, 0, 0, 0.5)'\r\n }\r\n },\r\n }\r\n ]\r\n };\r\n let counter=0;\r\n if (domain.ID === \"O30E23C2I8\") {\r\n result.legend = {\r\n orient: 'vertical',\r\n left: 'left',\r\n formatter: (name) => {\r\n const item = data.find((d) => d.display === name);\r\n if (item) {\r\n const total = data.reduce((sum, current) => sum + current.QTY, 0);\r\n const percentage = ((item.QTY / total) * 100).toFixed(2);\r\n let isRtl=true;\r\n if(counter==3)\r\n isRtl=false;\r\n return `(${name})(${percentage}%) `;;\r\n\r\n }\r\n return name;\r\n },\r\n };\r\n }\r\n return result;\r\n };\r\n const PropertyHandler = (value, obj) => {\r\n if (value.includes('O30E23C4I'))\r\n setSample(obj);\r\n if (value.includes('O30E23C6I'))\r\n setLabratoary(obj);\r\n if (value === '') setSample(undefined);\r\n }\r\n const LoadData = async () => {\r\n if (sample && labratoary) {\r\n setNoResult(false);\r\n let greport = await ReportHistory.Find(`#${sample.id}#ReportCount#`);\r\n let exresult = await FromManagerDataTemplate.LoadByAsync(`#${sample.id}#expected#`);\r\n let domainValues = (new BaseInstance(domain)).GetValue('PC19');\r\n let condition = new ConditionMaker(domainValues.split('#')[0]);\r\n condition.AddCondition('P9', '=', sample.id, ' AND ').AddCondition('P8', '=', labratoary.id);\r\n let labresult = await condition.GetResult();\r\n if (labresult?.length > 0) {\r\n setGolbalReport(JSON.parse(greport[0].Json));\r\n setExpectedAnswer(JSON.parse(exresult.Json));\r\n setLabResult(labresult[0].Prop.find(x => x.PID === domainValues.split('#')[1]).DIS);\r\n }\r\n else {\r\n setNoResult(true);\r\n }\r\n }\r\n }\r\n return (
\r\n \r\n \r\n \r\n {sample && labratoary ?\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n نمودار فراوانی نتایج\r\n \r\n \r\n
\r\n
\r\n : \r\n }\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default StatisticalReport;","import React from 'react';\r\nimport { Col, FormGroup, Input, Label, Row } from 'reactstrap';\r\n\r\nconst ValueControl = ({ values, itemValue, reportColumn, onChange, title }) => {\r\n return (\r\n reportColumn ? : { onChange(title, { id: target.value, display: values.find(x => x.ID === target.value).DIS }) }}\r\n type='select' value={itemValue?.id}>\r\n \r\n {values.map(value => )}\r\n \r\n );\r\n};\r\n\r\nconst RowValue = ({ test, reportColumn, values, onChange, data }) => {\r\n let title = test.replace(' ', '-');\r\n return (<>\r\n \r\n \r\n {reportColumn ? : null}\r\n \r\n {reportColumn ? : null}\r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nconst ABOTests = ({ values, reportColumn, RH, ABO, onChange, data }) => {\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n نام آزمایش\r\n \r\n \r\n \r\n \r\n مراحل آزمايش ABO\r\n \r\n {reportColumn ? \r\n درجه واکنش گزارش شده\r\n : null}\r\n \r\n درجه واکنش مورد انتظار\r\n \r\n {reportColumn ? \r\n شرکت سازنده معرف\r\n : null}\r\n \r\n \r\n \r\n
\r\n \r\n \r\n ABO\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {reportColumn ? : { onChange('ABO', { id: target.value, display: ABO.find(x => x.ID === target.value).DIS }) }}\r\n >\r\n \r\n {\r\n ABO.map((item) => )\r\n }\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n نام آزمایش\r\n \r\n \r\n \r\n \r\n آنتی سرم\r\n \r\n {reportColumn ? \r\n درجه واکنش\r\n : null}\r\n \r\n درجه واکنش مورد انتظار\r\n \r\n {reportColumn ? \r\n شرکت سازنده معرف\r\n : null}\r\n \r\n \r\n \r\n
\r\n \r\n \r\n RH(D)\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {reportColumn ? : { onChange('RHD', { id: target.value, display: RH.find(x => x.ID === target.value).DIS }) }}>\r\n \r\n {\r\n RH.map((item) => )\r\n }\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n );\r\n};\r\n\r\nexport default ABOTests;","import ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Card, CardBody, CardFooter, CardTitle, Col, Row } from 'reactstrap';\r\nimport BaseInstance from '../../../Engine/BaseInstance';\r\nimport ConditionMaker from '../../../Engine/ConditionMaker';\r\nimport { ReportHistory } from '../../../Engine/EngineContext';\r\nimport { FromManagerDataTemplate } from '../../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../../Engine/InstanceController';\r\nimport AdminReportHeader from '../../AdminReportHeader';\r\nimport NoData from '../../NoData';\r\nimport ReportHeader from '../../ReportHeader';\r\nimport ABOTests from './ABOTests';\r\nimport * as echarts from 'echarts';\r\n\r\nconst ABOReport = ({ match, lab }) => {\r\n const [domain, setDomain] = useState();\r\n const [values, setValues] = useState([]);\r\n const [RH, setRH] = useState([]);\r\n const [ABO, setABO] = useState([]);\r\n const [data, setData] = useState({});\r\n const [golbalReport, setGolbalReport] = useState({ ABO: [], RH: [] });\r\n const [sample, setSample] = useState();\r\n const [labratoary, setLabratoary] = useState();\r\n const [noResult, setNoResult] = useState(false);\r\n\r\n useEffect(() => {\r\n setLabratoary(lab);\r\n }, [lab])\r\n useEffect(() => {\r\n LoadData();\r\n }, [sample, labratoary])\r\n const getOption = (data, title, seriesTitle) => {\r\n return {\r\n\r\n tooltip: {\r\n trigger: 'item',\r\n formatter: '{a}
{b} : {c} ({d}%)'\r\n },\r\n series: [\r\n {\r\n name: seriesTitle,\r\n type: 'pie',\r\n radius: '80%',\r\n label: {\r\n show: true\r\n },\r\n data: data?.map(item => ({ name: item.display, value: item.QTY })),\r\n emphasis: {\r\n itemStyle: {\r\n shadowBlur: 10,\r\n shadowOffsetX: 0,\r\n shadowColor: 'rgba(0, 0, 0, 0.5)'\r\n }\r\n }\r\n }\r\n ]\r\n };\r\n };\r\n useEffect(() => {\r\n const fetch = async () => {\r\n if (match.params.dom) {\r\n let dom = await InstanceController.LoadInstanceAsync(match.params.dom);\r\n dom.id = dom.ID;\r\n dom.display = dom.DIS;\r\n setDomain(dom);\r\n }\r\n }\r\n fetch();\r\n }, [match])\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp1 = await InstanceController.GetInstancesAsync('O30E12C82');\r\n let temp2 = await InstanceController.GetInstancesAsync('O30E12C89');\r\n let temp3 = await InstanceController.GetInstancesAsync('O30E12C90');\r\n setValues(temp1); setRH(temp3); setABO(temp2);\r\n }\r\n fetch();\r\n }, [])\r\n const PropertyHandler = (value, obj) => {\r\n if (value.includes('O30E23C4I'))\r\n setSample(obj);\r\n if (value.includes('O30E23C6I'))\r\n setLabratoary(obj);\r\n }\r\n\r\n const LoadData = async () => {\r\n setNoResult(false)\r\n if (sample && labratoary) {\r\n let greport1 = await ReportHistory.Find(`#${sample.id}#O30E12C89#ReportCount#`);\r\n let greport2 = await ReportHistory.Find(`#${sample.id}#O30E12C90#ReportCount#`);\r\n if (greport1?.length>0 && greport2?.length>0) {\r\n let globaldata = { ABO: JSON.parse(greport1[0].Json), RH: JSON.parse(greport2[0].Json) };\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${sample.id}#expected#`);\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n let condition = new ConditionMaker('O30E12C91');\r\n condition.AddCondition('P9', '=', sample.id, ' AND ').AddCondition('P8', '=', labratoary.id);\r\n let result = await condition.GetResult();\r\n console.log(result)\r\n if (result) {\r\n let labresult = new BaseInstance(result[0]);\r\n temp['Anti-A3'] = { display: labresult.GetProperty('P125').DIS };\r\n temp['Anti-B3'] = { display: labresult.GetProperty('P126').DIS };\r\n temp['Anti-D3'] = { display: labresult.GetProperty('P127').DIS };\r\n temp['RH-control3'] = { display: labresult.GetProperty('P128').DIS };\r\n temp['A1-cells3'] = { display: labresult.GetProperty('P129').DIS };\r\n temp['B-cells3'] = { display: labresult.GetProperty('P130').DIS };\r\n\r\n temp['Anti-A1'] = { display: labresult.GetProperty('P133').DIS };\r\n temp['Anti-B1'] = { display: labresult.GetProperty('P134').DIS };\r\n temp['Anti-D1'] = { display: labresult.GetProperty('P138').DIS };\r\n temp['RH-control1'] = { display: labresult.GetProperty('P139').DIS };\r\n temp['A1-cells1'] = { display: labresult.GetProperty('P135').DIS };\r\n temp['B-cells1'] = { display: labresult.GetProperty('P136').DIS };\r\n\r\n temp['ABOL'] = { display: labresult.GetProperty('P137').DIS };\r\n temp['RHL'] = { display: labresult.GetProperty('P140').DIS };\r\n\r\n temp['Way'] = { display: labresult.GetProperty('P124').DIS };\r\n temp['Type'] = { display: labresult.GetProperty('P132').DIS };\r\n setGolbalReport(globaldata);\r\n setData(temp);\r\n }\r\n else {\r\n setNoResult(true);\r\n }\r\n }else {\r\n setNoResult(true);\r\n }\r\n }\r\n }\r\n return (<>\r\n \r\n \r\n \r\n {sample && labratoary ?\r\n \r\n \r\n \r\n \r\n نمودار آماری تفيسر ABO\r\n \r\n \r\n \r\n نمودار آماری تفسير RH(D)\r\n \r\n \r\n \r\n \r\n : \r\n }\r\n \r\n \r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default ABOReport;","import React from 'react';\r\nimport { Col, FormGroup, Input, Label, Row } from 'reactstrap';\r\nimport { ThemeDivider } from '../../../EngineForms/ThemeControl';\r\n\r\nconst ValueControl = ({ values, itemValue, reportColumn, onChange, title }) => {\r\n return (\r\n reportColumn ? : { onChange(title, { id: target.value, display: values.find(x => x.ID === target.value).DIS }) }}\r\n type='select' value={itemValue?.id}>\r\n \r\n {values.map(value => )}\r\n \r\n );\r\n};\r\n\r\nconst RowValue = ({ test, reportColumn, values, onChange, data }) => {\r\n let title = test.replace(' ', '-');\r\n return (<>\r\n \r\n \r\n {reportColumn ? : null}\r\n \r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nconst Crosstest = ({ values, reportColumn, Crossmatch, onChange, data }) => {\r\n return (\r\n
\r\n {reportColumn ?
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n شرکت سازنده معرف در هر آنتی سرم\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
: null}\r\n \r\n \r\n نام آزمایش\r\n \r\n \r\n \r\n \r\n مرحله آزمايش\r\n \r\n {reportColumn ? \r\n درجه واکنش گزارش شده\r\n : null}\r\n \r\n درجه واکنش مورد انتظار\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n Crossmatch\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {reportColumn ? : { onChange('Crossmatch', { id: target.value, display: Crossmatch.find(x => x.ID === target.value).DIS }) }}\r\n >\r\n \r\n {\r\n Crossmatch.map((item) => )\r\n }\r\n }\r\n \r\n \r\n \r\n {reportColumn ? \r\n \r\n \r\n \r\n \r\n \r\n \r\n : null}\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default Crosstest;","import BaseInstance, { NewInstance, NewProperty } from \"./BaseInstance\";\r\nimport ConditionMaker from \"./ConditionMaker\";\r\nimport { InstanceController } from \"./InstanceController\";\r\n\r\nexport class FormDataTemplate {\r\n static Templates = [];\r\n Instance = { ID: \"E0C23\", Prop: [{ PID: \"PC95\", IPV: '', TP: 2 }, { PID: \"PC595\", IPV: '', TP: 2 }, { PID: \"PC596\", IPV: '', TP: 2 }, { PID: \"PC597\", IPV: '', TP: 2 }, { PID: \"PC556\", IPV: '', TP: 2 }] }\r\n get ID() {\r\n return this.Instance.ID;\r\n }\r\n set ID(id) {\r\n this.Instance.ID = id;\r\n }\r\n get Title() {\r\n let result = null;\r\n let prop = this.Instance.Prop.find(x => x.PID === 'PC95');\r\n if (prop !== undefined)\r\n result = prop.IPV;\r\n return result;\r\n }\r\n set Title(value) {\r\n let prop = this.Instance.Prop.find(x => x.PID === 'PC95');\r\n if (prop !== undefined)\r\n prop.IPV = value;\r\n }\r\n get MainFormID() {\r\n let result = null;\r\n let prop = this.Instance.Prop.find(x => x.PID === 'PC595');\r\n if (prop !== undefined)\r\n result = prop.IPV;\r\n return result;\r\n }\r\n set MainFormID(value) {\r\n let prop = this.Instance.Prop.find(x => x.PID === 'PC595');\r\n if (prop !== undefined)\r\n prop.IPV = value;\r\n }\r\n get ConditionFormID() {\r\n let result = null;\r\n let prop = this.Instance.Prop.find(x => x.PID === 'PC597');\r\n if (prop !== undefined)\r\n result = prop.IPV;\r\n return result;\r\n }\r\n set ConditionFormID(value) {\r\n let prop = this.Instance.Prop.find(x => x.PID === 'PC597');\r\n if (prop !== undefined)\r\n prop.IPV = value;\r\n }\r\n get ConditionValue() {\r\n let result = null;\r\n let prop = this.Instance.Prop.find(x => x.PID === 'PC596');\r\n if (prop !== undefined)\r\n result = prop.IPV;\r\n return result;\r\n }\r\n set ConditionValue(value) {\r\n let prop = this.Instance.Prop.find(x => x.PID === 'PC596');\r\n if (prop !== undefined) {\r\n prop.IPV = value;\r\n }\r\n }\r\n get Json() {\r\n let result = null;\r\n let prop = this.Instance.Prop.find(x => x.PID === 'PC556');\r\n if (prop !== undefined)\r\n result = prop.IPV;\r\n return result.replaceAll(\"'\", '\"');\r\n }\r\n set Json(value) {\r\n let prop = this.Instance.Prop.find(x => x.PID === 'PC556');\r\n if (prop !== undefined)\r\n prop.IPV = value;\r\n }\r\n async Save() {\r\n return await InstanceController.SaveInstanceAsync(this.Instance);\r\n }\r\n static find(form1id, form2id, condition) {\r\n return FormDataTemplate.Templates.find(x => x.getMainFormID() === form1id\r\n && x.getConditionFormID() === form2id && x.getConditionValue().includes(condition.replaceAll('%','')))\r\n }\r\n static async Load(formid, data, tempcon) {\r\n let bts = [];\r\n let conditionvalue = ''\r\n if (data?.Data?.Prop?.length > 0) {\r\n for (var i = 0; i < data.Data.Prop.length; i++) {\r\n if (data.Data.Prop[i].IPV !== '' && (tempcon !== undefined ? tempcon.includes(data.Data.Prop[i].PID) : true)) {\r\n conditionvalue += `%${data.Data.Prop[i].PID}${data.Data.Prop[i].IPV}%`;\r\n }\r\n }\r\n if (conditionvalue !== '') {\r\n bts = [...bts, { PID: \"PC596\", PRA: 2, IPV: conditionvalue, NLC: 2, SRC: null }];\r\n if (bts.length > 0) {\r\n bts = [...bts, { PID: \"PC595\", PRA: 1, IPV: formid, NLC: 2, SRC: null },\r\n { PID: \"PC597\", PRA: 1, IPV: data.Form.FormID, NLC: 2, SRC: null }]\r\n bts.splice(bts.length - 1, 1, { ...bts[bts.length - 1], NLC: 0 });\r\n let where = { OCID: \"E0C23\", BCs: [{ Bts: [...bts], NLC: 0 }] };\r\n\r\n let result = this.find(formid, data.Form.FormID, conditionvalue)\r\n if (result === undefined) {\r\n result = new FormDataTemplate();\r\n let list = await InstanceController.GetInstancesAsync(JSON.stringify(where));\r\n if (list !== undefined && list.length > 0) {\r\n result.Instance = list[0];\r\n if (result.getJson() !== null) {\r\n FormDataTemplate.Templates = [...FormDataTemplate.Templates, result];\r\n return result;\r\n }\r\n }\r\n }\r\n else {\r\n return result;\r\n }\r\n }\r\n }\r\n }\r\n return null;\r\n }\r\n static async LoadData(form1id, form2id, conditionvalue) {\r\n let bts = [\r\n { PID: \"PC595\", PRA: 1, IPV: form1id, NLC: 2, SRC: null }\r\n ];\r\n if (form2id !== '')\r\n bts = [...bts, { PID: \"PC597\", PRA: 1, IPV: form2id, NLC: 2, SRC: null }];\r\n if (conditionvalue !== '')\r\n bts = [...bts, { PID: \"PC596\", PRA: 2, IPV: conditionvalue, NLC: 2, SRC: null }];\r\n bts.splice(bts.length - 1, 1, { ...bts[bts.length - 1], NLC: 0 });\r\n let where = { OCID: \"E0C23\", BCs: [{ Bts: [...bts], NLC: 0 }] };\r\n let result = this.find(form1id, form2id, conditionvalue)\r\n if (result === undefined) {\r\n result = new FormDataTemplate();\r\n let list = await InstanceController.GetInstancesAsync(JSON.stringify(where));\r\n if (list !== undefined && list.length > 0) {\r\n result.Instance = list[0];\r\n if (result.getJson() !== null) {\r\n FormDataTemplate.Templates = [...FormDataTemplate.Templates, result];\r\n return result;\r\n }\r\n }\r\n }\r\n else {\r\n return result;\r\n }\r\n return null;\r\n }\r\n}\r\n\r\nexport class FromManagerDataTemplate extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('E0C23');\r\n FromManagerDataTemplate.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n get ID() {\r\n return this.Instance.ID;\r\n }\r\n set ID(id) {\r\n this.Instance.ID = id;\r\n }\r\n static PIDs = ['PC95', 'PC595', 'PC596', 'PC597', 'PC556'];\r\n set Title(value) {\r\n this.SetValue(FromManagerDataTemplate.PIDs[0], value);\r\n }\r\n get Title() {\r\n return this.GetValue(FromManagerDataTemplate.PIDs[0]);\r\n } set MainFormID(value) {\r\n this.SetValue(FromManagerDataTemplate.PIDs[1], value);\r\n }\r\n get MainFormID() {\r\n return this.GetValue(FromManagerDataTemplate.PIDs[1]);\r\n } set ConditionValue(value) {\r\n this.SetValue(FromManagerDataTemplate.PIDs[2], value);\r\n }\r\n get ConditionValue() {\r\n return this.GetValue(FromManagerDataTemplate.PIDs[2]);\r\n } set ConditionFormID(value) {\r\n this.SetValue(FromManagerDataTemplate.PIDs[3], value);\r\n }\r\n get ConditionFormID() {\r\n return this.GetValue(FromManagerDataTemplate.PIDs[3]);\r\n } set Json(value) {\r\n this.SetValue(FromManagerDataTemplate.PIDs[4], value);\r\n }\r\n get Json() {\r\n return this.GetValue(FromManagerDataTemplate.PIDs[4]);\r\n }\r\n static async LoadByAsync(key) {\r\n let condition = new ConditionMaker('E0C23');\r\n condition.AddCondition('PC596', '=', key);\r\n let list = await condition.GetResult();\r\n if (list?.length > 0) {\r\n\r\n let result = new FromManagerDataTemplate(list[0]);\r\n return result;\r\n }\r\n return null;\r\n }\r\n}","import ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Card, CardBody, CardFooter, CardTitle, Col, Row } from 'reactstrap';\r\nimport BaseInstance from '../../../Engine/BaseInstance';\r\nimport ConditionMaker from '../../../Engine/ConditionMaker';\r\nimport { ReportHistory } from '../../../Engine/EngineContext';\r\nimport { FromManagerDataTemplate } from '../../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../../Engine/InstanceController';\r\nimport AdminReportHeader from '../../AdminReportHeader';\r\nimport NoData from '../../NoData';\r\nimport ReportHeader from '../../ReportHeader';\r\nimport * as echarts from 'echarts';\r\nimport Crosstest from './Crosstest';\r\n\r\nconst CrossmatchReport = ({ match, lab }) => {\r\n const [domain, setDomain] = useState();\r\n const [values, setValues] = useState([]);\r\n const [interpretation, setInterpretation] = useState([]);\r\n const [data, setData] = useState({});\r\n const [golbalReport, setGolbalReport] = useState({ ABO: [], RH: [] });\r\n const [sample, setSample] = useState();\r\n const [labratoary, setLabratoary] = useState();\r\n const [noResult, setNoResult] = useState(false);\r\n\r\n useEffect(() => {\r\n setLabratoary(lab);\r\n }, [lab])\r\n useEffect(() => {\r\n LoadData();\r\n }, [sample, labratoary])\r\n const getOption = (data, seriesTitle) => {\r\n return {\r\n\r\n tooltip: {\r\n trigger: 'item',\r\n formatter: '{a}
{b} : {c} ({d}%)'\r\n },\r\n series: [\r\n {\r\n name: seriesTitle,\r\n type: 'pie',\r\n radius: '80%',\r\n label: {\r\n show: true\r\n },\r\n data: data?.map(item => ({ name: item.display, value: item.QTY })),\r\n emphasis: {\r\n itemStyle: {\r\n shadowBlur: 10,\r\n shadowOffsetX: 0,\r\n shadowColor: 'rgba(0, 0, 0, 0.5)'\r\n }\r\n }\r\n }\r\n ]\r\n };\r\n };\r\n useEffect(() => {\r\n const fetch = async () => {\r\n if (match.params.dom) {\r\n let dom = await InstanceController.LoadInstanceAsync(match.params.dom);\r\n dom.id = dom.ID;\r\n dom.display = dom.DIS;\r\n setDomain(dom);\r\n }\r\n }\r\n fetch();\r\n }, [match])\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp1 = await InstanceController.GetInstancesAsync('O30E12C82');\r\n let temp2 = await InstanceController.GetInstancesAsync('O30E12C95');\r\n setValues(temp1); setInterpretation(temp2);\r\n }\r\n fetch();\r\n }, [])\r\n const PropertyHandler = (value, obj) => {\r\n if (value.includes('O30E23C4I'))\r\n setSample(obj);\r\n if (value.includes('O30E23C6I'))\r\n setLabratoary(obj);\r\n }\r\n const LoadData = async () => {\r\n if (sample && labratoary) {\r\n let greport1 = await ReportHistory.Find(`#${sample.id}#ReportCount#`);\r\n if (greport1?.length > 0) {\r\n let globaldata = { Crossmatch: JSON.parse(greport1[0].Json) };\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${sample.id}#expected#`);\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n let condition = new ConditionMaker('O30E12C96');\r\n condition.AddCondition('P9', '=', sample.id, ' AND ').AddCondition('P8', '=', labratoary.id);\r\n let result = await condition.GetResult();\r\n\r\n if (result?.length>0) {\r\n let labresult = new BaseInstance(result[0]);\r\n temp['AHG'] = { display: labresult.GetProperty('P143').DIS };\r\n temp['Liss'] = { display: labresult.GetProperty('P144').DIS };\r\n temp['Albumin'] = { display: labresult.GetProperty('P145').DIS };\r\n temp['IgG'] = { display: labresult.GetProperty('P146').DIS };\r\n\r\n temp['RT1'] = { display: labresult.GetProperty('P147').DIS };\r\n temp['Alb/LISS1'] = { display: labresult.GetProperty('P148').DIS };\r\n temp['AHG1'] = { display: labresult.GetProperty('P149').DIS };\r\n temp['CC1'] = { display: labresult.GetProperty('P150').DIS };\r\n\r\n temp['Way'] = { display: labresult.GetProperty('P142').DIS };\r\n temp['CrossmatchL'] = { display: labresult.GetProperty('P151').DIS };\r\n setGolbalReport(globaldata);\r\n setData(temp);\r\n }\r\n else {\r\n setNoResult(true);\r\n }\r\n }\r\n else {\r\n setNoResult(true);\r\n }\r\n }\r\n }\r\n return (<>\r\n \r\n \r\n \r\n {sample && labratoary ?\r\n \r\n \r\n \r\n \r\n نمودار آماری تفسير Crossmatch\r\n \r\n \r\n \r\n \r\n : \r\n }\r\n \r\n \r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default CrossmatchReport;","import React from 'react';\r\nimport { Col, FormGroup, Input, Label, Row } from 'reactstrap';\r\nimport { ThemeDivider } from '../../../EngineForms/ThemeControl';\r\n\r\nconst ValueControl = ({ values, itemValue, reportColumn, onChange, title }) => {\r\n return (\r\n reportColumn ? : { onChange(title, { id: target.value, display: values.find(x => x.ID === target.value).DIS }) }}\r\n type='select' value={itemValue?.id}>\r\n \r\n {values.map(value => )}\r\n \r\n );\r\n};\r\n\r\nconst RowValue = ({ test, reportColumn, values, onChange, data,pretitle }) => {\r\n let title = pretitle+test;\r\n return (<>\r\n \r\n \r\n {reportColumn ? : null}\r\n \r\n \r\n
\r\n \r\n );\r\n};\r\nconst BlockValue = ({ title, reportColumn, values, onChange, data,showcc }) => {\r\n return (\r\n \r\n {title}\r\n \r\n \r\n \r\n \r\n \r\n {/* {title==='AHG' && showcc ?:null} */}\r\n \r\n \r\n\r\n );\r\n}\r\nconst AbTest = ({ values, reportColumn, Ab, onChange, data,showcc,ccValues }) => {\r\n return (\r\n
\r\n {reportColumn ?
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n شرکت سازنده معرف در هر آنتی سرم\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
: null}\r\n \r\n \r\n نام آزمایش\r\n \r\n \r\n \r\n \r\n مرحله آزمایش\r\n \r\n {reportColumn ? \r\n درجه واکنش گزارش شده\r\n : null}\r\n \r\n درجه واکنش مورد انتظار\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n Ab Screening\r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n
\r\n\r\n \r\n
\r\n\r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n {reportColumn ? :\r\n { onChange('Ab', { id: target.value, display: Ab.find(x => x.ID === target.value).DIS }) }}\r\n >\r\n \r\n {\r\n Ab.map((item) => )\r\n }\r\n }\r\n \r\n \r\n \r\n {reportColumn ? \r\n \r\n \r\n \r\n \r\n \r\n \r\n : null}\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default AbTest;","import ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Card, CardBody, CardFooter, CardTitle, Col, Row } from 'reactstrap';\r\nimport BaseInstance from '../../../Engine/BaseInstance';\r\nimport ConditionMaker from '../../../Engine/ConditionMaker';\r\nimport { ReportHistory } from '../../../Engine/EngineContext';\r\nimport { FromManagerDataTemplate } from '../../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../../Engine/InstanceController';\r\nimport AdminReportHeader from '../../AdminReportHeader';\r\nimport NoData from '../../NoData';\r\nimport ReportHeader from '../../ReportHeader';\r\nimport * as echarts from 'echarts';\r\nimport AbTest from './AbTest';\r\nconst AbReport = ({ match, lab }) => {\r\n const [domain, setDomain] = useState();\r\n const [values, setValues] = useState([]);\r\n const [interpretation, setInterpretation] = useState([]);\r\n const [data, setData] = useState({});\r\n const [golbalReport, setGolbalReport] = useState({ Ab: [] });\r\n const [sample, setSample] = useState();\r\n const [labratoary, setLabratoary] = useState();\r\n const [noResult, setNoResult] = useState(false);\r\n\r\n useEffect(() => {\r\n setLabratoary(lab);\r\n }, [lab])\r\n useEffect(() => {\r\n LoadData();\r\n }, [sample, labratoary])\r\n const getOption = (data, title, seriesTitle) => {\r\n return {\r\n\r\n tooltip: {\r\n trigger: 'item',\r\n formatter: '{a}
{b} : {c} ({d}%)'\r\n },\r\n series: [\r\n {\r\n name: seriesTitle,\r\n type: 'pie',\r\n radius: '80%',\r\n label: {\r\n show: true\r\n },\r\n data: data?.map(item => ({ name: item.display, value: item.QTY })),\r\n emphasis: {\r\n itemStyle: {\r\n shadowBlur: 10,\r\n shadowOffsetX: 0,\r\n shadowColor: 'rgba(0, 0, 0, 0.5)'\r\n }\r\n }\r\n }\r\n ]\r\n };\r\n };\r\n useEffect(() => {\r\n const fetch = async () => {\r\n if (match.params.dom) {\r\n let dom = await InstanceController.LoadInstanceAsync(match.params.dom);\r\n dom.id = dom.ID;\r\n dom.display = dom.DIS;\r\n setDomain(dom);\r\n }\r\n }\r\n fetch();\r\n }, [match])\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp1 = await InstanceController.GetInstancesAsync('O30E12C82');\r\n let temp2 = await InstanceController.GetInstancesAsync('O30E12C83');\r\n setValues(temp1); setInterpretation(temp2);\r\n }\r\n fetch();\r\n }, [])\r\n const PropertyHandler = (value, obj) => {\r\n if (value.includes('O30E23C4I'))\r\n setSample(obj);\r\n if (value.includes('O30E23C6I'))\r\n setLabratoary(obj);\r\n }\r\n\r\n const LoadData = async () => {\r\n setNoResult(false);\r\n if (sample && labratoary) {\r\n let greport1 = await ReportHistory.Find(`#${sample.id}#ReportCount#`);\r\n if (greport1?.length > 0) {\r\n let globaldata = { Ab: JSON.parse(greport1[0].Json) };\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${sample.id}#expected#`);\r\n let temp = JSON.parse(tempData.Json);\r\n temp.ID = tempData.ID;\r\n let condition = new ConditionMaker('O30E12C84');\r\n condition.AddCondition('P9', '=', sample.id, ' AND ').AddCondition('P8', '=', labratoary.id);\r\n let result = await condition.GetResult();\r\n if (result?.length > 0) {\r\n let labresult = new BaseInstance(result[0]);\r\n temp['AHG'] = { display: labresult.GetProperty('P109').DIS };\r\n temp['Liss'] = { display: labresult.GetProperty('P110').DIS };\r\n temp['Albumin'] = { display: labresult.GetProperty('P111').DIS };\r\n temp['IgG'] = { display: labresult.GetProperty('P112').IPV };\r\n\r\n temp['RTCell11'] = { display: labresult.GetProperty('P113').DIS };\r\n temp['RTCell21'] = { display: labresult.GetProperty('P114').DIS };\r\n temp['RTCell31'] = { display: labresult.GetProperty('P115').DIS };\r\n temp['Alb/LISSCell11'] = { display: labresult.GetProperty('P116').DIS };\r\n temp['Alb/LISSCell21'] = { display: labresult.GetProperty('P117').DIS };\r\n temp['Alb/LISSCell31'] = { display: labresult.GetProperty('P118').DIS };\r\n temp['AHGCell11'] = { display: labresult.GetProperty('P119').DIS };\r\n temp['AHGCell21'] = { display: labresult.GetProperty('P120').DIS };\r\n temp['AHGCell31'] = { display: labresult.GetProperty('P121').DIS };\r\n temp['CCCell11'] = { display: labresult.GetProperty('P185').DIS };\r\n temp['CCCell21'] = { display: labresult.GetProperty('P186').DIS };\r\n temp['CCCell31'] = { display: labresult.GetProperty('P187').DIS };\r\n if (labresult.GetProperty('P175')?.DIS)\r\n temp['AHGCC2'] = { display: labresult.GetProperty('P175').DIS };\r\n\r\n temp['Way'] = { display: labresult.GetProperty('P107').DIS };\r\n temp['AbL'] = { display: labresult.GetProperty('P122').DIS };\r\n temp['Kit'] = { display: labresult.GetProperty('P108').DIS };\r\n setGolbalReport(globaldata);\r\n setData(temp);\r\n }\r\n else {\r\n setNoResult(true);\r\n }\r\n }\r\n else {\r\n setNoResult(true);\r\n }\r\n }\r\n }\r\n return (<>\r\n \r\n \r\n \r\n {sample && labratoary ?\r\n \r\n \r\n \r\n \r\n نمودار آماری Ab Screening\r\n \r\n \r\n \r\n \r\n : \r\n }\r\n \r\n \r\n\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default AbReport;","import ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Card, CardBody, CardTitle, Col, Label, ListGroup, ListGroupItem, ListGroupItemHeading, ListGroupItemText, Row, Spinner, Table } from 'reactstrap';\r\nimport { ReportHistory } from '../../../Engine/EngineContext';\r\nimport AdminReportHeader from '../../AdminReportHeader';\r\nimport NoData from '../../NoData';\r\nimport ReportHeader from '../../ReportHeader';\r\nimport * as echarts from 'echarts';\r\nimport ConditionMaker from '../../../Engine/ConditionMaker';\r\nimport { PropConstIdes } from '../../ConstIdes';\r\nimport { AntibioticsRow, BacteryDiagnosis, BacteryTestRow } from './BacteryContext';\r\nimport { InstanceController } from '../../../Engine/InstanceController';\r\nimport { Utility } from '../../../Engine/Common';\r\nconst BacteryTestTable = ({ Data, labresult, testList, totalAnswer }) => {\r\n let testlist = [];\r\n let total = totalAnswer;\r\n if (Data)\r\n Data.map(item => {\r\n let addedItem = testlist.find(x => x.id === item.test);\r\n if (!addedItem)\r\n testlist = [...testlist, { id: item.test, qty: item.QTY, display: item.testdisplay, answers: [{ id: item.answer, display: item.answerdisplay, per: item.Per, qty: item.QTY }] }]\r\n else {\r\n addedItem.answers = [...addedItem.answers, { id: item.answer, display: item.answerdisplay, per: item.Per, qty: item.QTY }]\r\n addedItem.qty += item.QTY;\r\n }\r\n })\r\n testlist.sort((a, b) => a.display.localeCompare(b.display))\r\n return (<>\r\n جدول شماره 1: ارزیابی تست های تشخیصی گزارش شده\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n testlist?.map((item) => {\r\n let color = '';\r\n let forecolor = '';\r\n let result = labresult?.find(x => x.BacteryTest === item.id);\r\n let expctedResult = testList?.find(x => new BacteryTestRow(x.Instance).BacteryTest === item.id);\r\n if (result) {\r\n color = 'lightgray'\r\n forecolor = 'green'\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n )\r\n }\r\n )\r\n }\r\n \r\n
تست تشخیصیتعداد (درصد) آزمایشگاه های استفاده کننده از تستنتیجه مورد انتظارپاسخ های گزارش شدهتعداد(درصد) پاسخ های گزارش شده
{item.display}{item.qty}({((item.qty * 100) / total).toFixed(1)}%){new BacteryTestRow(expctedResult?.Instance)?.ResultObject?.DIS}{item.answers.map(ans =>\r\n

{ans.display}

\r\n )}
{item.answers.map(ans =>\r\n

{ans.qty}({((ans.qty * 100) / item.qty).toFixed(1)}%)

\r\n )}
\r\n );\r\n}\r\nconst BacteryDiskTable = ({ Data, labresult, totalAnswer }) => {\r\n return (<>\r\n جدول شماره 2: ارزیابی پاسخ های گزارش شده در آزمایش تعیین حساسیت ضد میکروبی\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n Data?.map((item) => {\r\n let record = labresult?.find(lr => lr.AntibioticsDisk === item.id)\r\n let labstate = 0;\r\n if (record) {\r\n if (record.AntibioticsResultInterpretation === item.ansid)\r\n labstate = 1;\r\n else {\r\n if (((item.ansid === 'O30E12C73I1' || item.ansid === 'O30E12C73I2') && record.AntibioticsResultInterpretation === 'O30E12C73I3') ||\r\n ((record.AntibioticsResultInterpretation === 'O30E12C73I1' || record.AntibioticsResultInterpretation === 'O30E12C73I2') && item.ansid === 'O30E12C73I3'))\r\n labstate = 2;\r\n else if (item.ansid === 'O30E12C73I2' && record.AntibioticsResultInterpretation === 'O30E12C73I1')\r\n labstate = 3;\r\n else if (item.ansid === 'O30E12C73I1' && record.AntibioticsResultInterpretation === 'O30E12C73I2')\r\n labstate = 4;\r\n }\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n }\r\n )\r\n }\r\n \r\n
تعداد (درصد) جواب
نام آنتی بیوتیکتعداد(درصد) استفاده از آنتی بیوتیکتفسیر مورد انتظارتفسیر آزمایشگاه شماCorrectMinor errorMajor errorVery major error
{item.display}{item.total}({((item.total * 100) / totalAnswer).toFixed(1)}%){item.ansdisplay}{record?.AntibioticsResultInterpretationObject?.DIS ?? ''}{item.correct}({item.correct !== 0 ? (item.correct * 100 / item.total).toFixed(0) : 0}%){item.min}({item.min !== 0 ? (item.min * 100 / item.total).toFixed(0) : 0}%){item.maj}({item.maj !== 0 ? (item.maj * 100 / item.total).toFixed(0) : 0}%){item.vmaj}({item.vmaj !== 0 ? (item.vmaj * 100 / item.total).toFixed(0) : 0}%)
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\nconst BacteryDiskChart = ({ Data, expList }) => {\r\n let disklist = [];\r\n let diskmanufacture = [];\r\n console.log(Data)\r\n Data.map(item => {\r\n let addedItem = disklist.find(x => x.id === item.disk);\r\n if (!addedItem)\r\n disklist = [...disklist, { id: item.disk, display: item.diskdisplay }];\r\n let addedItemmanu = diskmanufacture.find(x => x.id === item.manufacture);\r\n if (!addedItemmanu)\r\n diskmanufacture = [...diskmanufacture, { id: item.manufacture, display: item.manufacturedisplay===''?'Unselected':item.manufacturedisplay }];\r\n\r\n })\r\n disklist.sort((a, b) => a.display.localeCompare(b.display))\r\n const option = () => {\r\n return {\r\n tooltip: {\r\n trigger: 'axis',\r\n axisPointer: {\r\n // Use axis to trigger tooltip\r\n type: 'shadow' // 'shadow' as default; can also be 'line' or 'shadow'\r\n }\r\n },\r\n legend: {},\r\n grid: {\r\n left: '3%',\r\n right: '4%',\r\n bottom: '3%',\r\n containLabel: true\r\n },\r\n xAxis: {\r\n type: 'value'\r\n },\r\n yAxis: {\r\n type: 'category',\r\n data: disklist.map(item => item.display)\r\n },\r\n series: diskmanufacture.map(manu => {\r\n let resulr = disklist.map((disk) => {\r\n return Data.find(item => item.disk === disk.id && item.manufacture === manu.id)?.QTY ?? 0;\r\n })\r\n return ({\r\n name: manu.display,\r\n type: 'bar',\r\n stack: 'total',\r\n label: {\r\n show: true\r\n },\r\n emphasis: {\r\n focus: 'series'\r\n },\r\n data: resulr\r\n })\r\n })\r\n\r\n };\r\n }\r\n return (<>\r\n نمودار شماره 3: تعداد استفاده از آنتی بیوتیک برای آزمایش تعیین حساسیت ضدمیکروبی به تفکیک کارخانه سازنده \r\n
\r\n \r\n );\r\n}\r\nconst BacteryReport = ({ lab }) => {\r\n const domain = { id: 'O30E23C2I12', display: 'ميكروب شناسی' }\r\n const [sample, setSample] = useState();\r\n const [labratoary, setLabratoary] = useState();\r\n const [allData, setAllData] = useState();\r\n const [labResult, setLabResult] = useState();\r\n const [HasLabResult, setHasLabResult] = useState();\r\n const [loading, setLoading] = useState(false);\r\n const [totalAnswer, setTotalAnswer] = useState();\r\n useEffect(() => {\r\n setLabratoary(lab);\r\n }, [lab])\r\n useEffect(() => {\r\n LoadData();\r\n }, [sample])\r\n const PropertyHandler = async (value, obj) => {\r\n if (value.includes('O30E23C4I')) {\r\n setSample(obj);\r\n }\r\n if (value.includes('O30E23C6I')) {\r\n setLabratoary(obj);\r\n }\r\n }\r\n const LoadData = async () => {\r\n setLoading(true);\r\n if (sample && labratoary) {\r\n let result = await ReportHistory.Find(`#${sample.id}#ReportCount#`);\r\n let tempallData = JSON.parse(result[0].Json);\r\n if (tempallData) {\r\n let da = tempallData.DiagnosisAnalysis;\r\n tempallData.DiagnosisAnalysis.data = [\r\n { name: 'تشخیص صحیح', value: parseInt(da.Correct), itemStyle: { color: '#91cc75' }, percent: '15%' },\r\n { name: 'تشخیص ناکامل', value: parseInt(da.HalfCorrect), itemStyle: { color: '#73c0de' }, percent: '15%' },\r\n { name: 'تشخیص نادرست', value: parseInt(da.Error), itemStyle: { color: '#ee6666' }, percent: '15%' },\r\n { name: 'تشخیص گزارش نشده', value: parseInt(da.NoAnswer), itemStyle: { color: 'gray' }, percent: '15%' },\r\n ]\r\n setTotalAnswer(parseInt(da.Correct) + parseInt(da.HalfCorrect) + parseInt(da.Error) + parseInt(da.NoAnswer));\r\n setAllData(tempallData)\r\n }\r\n let cond = new ConditionMaker('O30E12C75');\r\n cond.AddCondition(PropConstIdes.Sample, '=', sample.id, 'And');\r\n cond.AddCondition(PropConstIdes.Lab, '=', labratoary.id);\r\n let doc = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(cond)\r\n , 'P100', ['O30E12C74', 'O30E12C69', 'O30E12C67'])\r\n setHasLabResult(Utility.IsInstanceID(doc?.Header.ID));\r\n let labresult = {\r\n AntibioticsList: [], DiagnosisTestList: [],\r\n DiagnosisData: {}\r\n };\r\n if (Utility.IsInstanceID(doc?.Header.ID)) {\r\n doc.RelatedInstances.map((ins) => {\r\n if (ins.ClassID === 'O30E12C74')\r\n labresult.AntibioticsList = [...labresult.AntibioticsList, new AntibioticsRow(ins)]\r\n else if (ins.ClassID === 'O30E12C69')\r\n labresult.DiagnosisTestList = [...labresult.DiagnosisTestList, new BacteryTestRow(ins)]\r\n else if (ins.ClassID === 'O30E12C67')\r\n labresult.DiagnosisData = new BacteryDiagnosis(ins)\r\n })\r\n }\r\n setLabResult(labresult);\r\n }\r\n setLoading(false);\r\n }\r\n const getOption = (data, title, seriesTitle) => {\r\n return {\r\n\r\n tooltip: {\r\n trigger: 'item',\r\n formatter: '{b} : {d}%'\r\n },\r\n series: [\r\n {\r\n name: seriesTitle,\r\n type: 'pie',\r\n radius: '80%',\r\n label: {\r\n show: true,\r\n formatter: '{b}: {d}% '\r\n },\r\n data: data,\r\n emphasis: {\r\n itemStyle: {\r\n shadowBlur: 10,\r\n shadowOffsetX: 0,\r\n shadowColor: 'rgba(0, 0, 0, 0.5)'\r\n }\r\n }\r\n }\r\n ]\r\n };\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n {!sample ? :\r\n ( !loading ? (\r\n HasLabResult ? <>\r\n \r\n \r\n

تعداد {totalAnswer} آزمایشگاه برای نمونه{sample?.display} پاسخ ثبت کرده اند.

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {`${labResult?.DiagnosisData?.BacteryGenderObj?.display ?? ''} ${labResult?.DiagnosisData?.BacterySpicesObj?.display ?? ''}`}\r\n \r\n \r\n نمودار شماره 1: گروه بندی گزارش آزمایشگاه ها\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n راهنمای گزارش\r\n \r\n \r\n گروه مربوط به گزارش آزمایشگاه شما:{labResult?.DiagnosisData?.BacteryGender === allData?.Diagnosis?.BacteryGender?.id &&\r\n labResult?.DiagnosisData?.BacterySpices === allData?.Diagnosis?.BacterySpices?.id\r\n ? 'تشخیص صحیح' : (labResult?.DiagnosisData?.BacteryGender === allData?.Diagnosis?.BacteryGender?.id ?\r\n 'تشخیص ناکامل' : 'تشخیص نادرست')}\r\n \r\n \r\n تشخیص صحیح: جنس و گونه صحیح\r\n \r\n \r\n تشخیص ناکامل: جنس صحیح و گونه نادرست یا جنس صحیح و عدم تشخیص گونه\r\n \r\n \r\n تشخیص نادرست: جنس و گونه نادرست\r\n \r\n \r\n \r\n \r\n نمودار شماره 2: ارزیابی تشخیص آزمایشگاه ها\r\n\r\n
\r\n \r\n \r\n ({ name: (`${item.genderdisplay ?? item.display} ${item.speciesdisplay ?? ''}`), value: item.QTY }))\r\n , 'گروه بندی تشخیص آزمایشگاه ها')}\r\n />\r\n \r\n \r\n \r\n \r\n توجه :تشخیص هایی که سهم هر یک کمتر از ۲ % کل گزارش بوده، در گروه Others آورده شده اند. گروه Others در این دوره\r\n شامل موارد زیر می باشد:\r\n
\r\n

{allData?.DiagnosisStatistics.OthersList}

\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n {allData?.DiskStatistics ?\r\n \r\n \r\n \r\n \r\n : null}\r\n {allData?.DiskManufactureStatistics?.FinalList ?\r\n \r\n \r\n \r\n \r\n : null}\r\n
\r\n :
پاسخنامه ای یافت نشد
\r\n ) :
)}\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default BacteryReport;","import React from 'react';\r\nimport { useEffect } from 'react';\r\nimport { useState } from 'react';\r\nimport { Card, CardBody, Table } from 'reactstrap';\r\nimport BaseInstance from '../Engine/BaseInstance';\r\nimport ConditionMaker, { EngineCondition } from '../Engine/ConditionMaker';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport AdminReportPreiodicHeader from './AdminReportPreiodicHeader';\r\nimport { ConstIdes, PropConstIdes } from './ConstIdes';\r\nimport ReportHeader from './ReportHeader';\r\nimport { TbSample } from './TBSample';\r\n\r\nconst TBReport = ({ match, lab }) => {\r\n const [period, setPeriod] = useState();\r\n const [labratoary, setLab] = useState();\r\n const [loading, setLoading] = useState(false);\r\n const [samples, setSamples] = useState([]);\r\n const [resultSample, setResultSample] = useState([]);\r\n const [expResultSample, setExpResultSample] = useState([]);\r\n const [noResult, setNoResult] = useState(false);\r\n\r\nuseEffect(()=>{\r\n setLab(lab);\r\n},[lab])\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let comsample = new EngineCondition();\r\n comsample.ID = 'O30E23C4';\r\n let samcon = new ConditionMaker('O30E23C4');\r\n samcon.AddCondition('P3', '=', period.id, 'AND')\r\n .AddCondition('P1', '=', 'O30E23C2I15');\r\n comsample.sqlCondition = samcon;\r\n comsample.returnProperties = 'P156';\r\n let samresult = await comsample.GetResult();\r\n setSamples(samresult);\r\n setLoading(true);\r\n let rows = await TbSample.loaderExAnswer(samresult, period.id);\r\n setExpResultSample(rows);\r\n setLoading(false);\r\n if(labratoary){\r\n await Loader(null,samresult);\r\n }\r\n }\r\n if (period)\r\n fetch();\r\n }, [period])\r\n useEffect(() => {\r\n Loader();\r\n }, [labratoary])\r\n const Loader = async (id, Loadedsamples) => {\r\n setNoResult(false);\r\n let cond = new ConditionMaker('O30E12C34');\r\n let localSample = samples?.length > 0 ? samples : Loadedsamples;\r\n if (localSample?.length > 0) {\r\n if (typeof id === \"string\") {\r\n cond.AddCondition(\"ID\", '=', id);\r\n }\r\n else if (period && labratoary) {\r\n cond.AddCondition('P3', '=', period.id, 'And');\r\n cond.AddCondition(PropConstIdes.Lab, '=', labratoary.id);\r\n }\r\n let doc = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(cond)\r\n , 'P167', ['O30E12C122']);\r\n if (doc?.Header?.ID) {\r\n let rows = [];\r\n doc.RelatedInstances.map(row => {\r\n let tempins = new TbSample(row);\r\n\r\n rows = [...rows, tempins];\r\n });\r\n let others = [];\r\n for (let samindex = 0; samindex < localSample.length; samindex++) {\r\n const sample1 = localSample[samindex];\r\n let flag = false;\r\n for (let index = 0; index < rows.length; index++) {\r\n const row = rows[index];\r\n if (sample1.ID === row.Sample) {\r\n row.Sample = new BaseInstance(sample1);\r\n flag = true;\r\n }\r\n }\r\n if (!flag) {\r\n others = [...others, sample1];\r\n }\r\n }\r\n others.map(smp => {\r\n let temp = new TbSample();\r\n temp.Sample = new BaseInstance(smp);\r\n rows = [...rows, temp];\r\n });\r\n setResultSample(rows);\r\n }\r\n else{\r\n setNoResult(true);\r\n }\r\n\r\n }\r\n }\r\n const PropertyHandler = async (pid, value) => {\r\n if (pid.includes(ConstIdes.Period + 'I')) {\r\n //value.Instance = new BaseInstance(await InstanceController.LoadInstanceAsync(value.id));\r\n setPeriod(value);\r\n }\r\n else if (pid.includes(ConstIdes.Lab + 'I')) {\r\n setLab(value);\r\n }\r\n }\r\n\r\n const LoadTests = () => {\r\n\r\n }\r\n return (<>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {expResultSample.map((row,index) => \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n
شماره نمونهنتیجه آزمایشگاهنتیجه مورد انتظارمیزان عفونت(آزمایشگاه)میزان عفونت(مورد انتظار)
{row?.GetProperty('P9')?.DIS}{resultSample.find(x=>x.GetValue('P9')===row?.GetValue('P9'))?.GetProperty('P38')?.DIS}{row?.GetProperty('P38')?.DIS}{resultSample.find(x=>x.GetValue('P9')===row?.GetValue('P9'))?.GetProperty('P172')?.DIS}{row?.GetProperty('P172')?.DIS}
\r\n
\r\n
\r\n\r\n
\r\n );\r\n};\r\n\r\nexport default TBReport;","import React, { useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, Col, Row,Modal, ModalBody, ModalFooter, ModalHeader } from 'reactstrap';\r\nimport FalconCardHeader from '../components/common/FalconCardHeader';\r\nimport JoiSearchBox from '../components/joi/JoiSearchBox';\r\nimport { AuthenticationController } from '../Engine/Authentication';\r\nimport BaseInstance from '../Engine/BaseInstance';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport RelationController from '../Engine/RelationController';\r\nimport { ConstIdes, PropConstIdes } from './ConstIdes';\r\nimport Divider from '../components/common/Divider';\r\nimport { ExternalLink } from './PishgamContext';\r\nimport ReportInfo from './Lab/ReportInfo';\r\nimport ConditionMaker from '../Engine/ConditionMaker';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport { faExclamation } from '@fortawesome/free-solid-svg-icons';\r\nimport { Message } from './MessageDefinition';\r\n\r\nconst AdminReportPreiodicHeader = ({ title, domainId, LoadTests, PropertyHandler,loading }) => {\r\n const [isInRole, SetIsInRole] = useState();\r\n const [links, setLinkes] = useState([]);\r\n const [samplelinks, setSampleLinkes] = useState([]);\r\n const [reset, setReset] = useState('');\r\n const [alertbtn,setAlertbtn]=useState();\r\n const [popupIsOpen,setPopupIsOpen]=useState();\r\n const [message,setMessage]=useState();\r\n useEffect(() => {\r\n const fetch = async () => {\r\n setReset('Clear');\r\n PropertyHandler('','P9');\r\n if (domainId) {\r\n try {\r\n\r\n let data = {};\r\n data.baseID = domainId;\r\n data.relationType = { ID: 'E0C12I4', FormID: 'O30E23C2F0V1', DIS: 'لینکها', Refrence: 'O30E0C1', Type: 6 };\r\n data.relationTypeID = \"E0C12I4\";\r\n let related = await RelationController.GetRelationAsync(data);\r\n if (related !== undefined) {\r\n let list = [];\r\n for (let index = 0; index < related.dependencyIDes.length; index++) {\r\n const element = related.dependencyIDes[index];\r\n let ins = await InstanceController.LoadInstanceAsync(element.id);\r\n list = [...list, new BaseInstance(ins)];\r\n }\r\n setLinkes(list);\r\n SetIsInRole(await AuthenticationController.HasRole('R2'));\r\n }\r\n\r\n } catch (error) {\r\n\r\n }\r\n }\r\n setReset('');\r\n }\r\n fetch();\r\n\r\n }, [domainId])\r\n const Period = {\r\n col: \"3\",\r\n pid: PropConstIdes.Period,\r\n controlType: \"SearchControl\",\r\n title: 'ٍکلید Enter را بزنید ودوره مورد نظر را انتخاب نمایید',\r\n source: ConstIdes.Period\r\n };\r\n const Labratory = {\r\n col: \"3\",\r\n pid: PropConstIdes.Lab,\r\n controlType: \"SearchControl\",\r\n title: \"آزمایشگاه\",\r\n source: ConstIdes.Lab\r\n };\r\n let tempdomainid = domainId;\r\n if (tempdomainid === 'O30E23C2I20')\r\n tempdomainid = 'O30E23C2I18';\r\n const SampleChanged = async (pid, value) => {\r\n try {\r\n let data = {};\r\n data.baseID = value.id;\r\n data.relationTypeID = 'E0C12I4';\r\n data.relationType = { id: 'E0C12I4', display: 'لینکها' };\r\n let related = await RelationController.GetRelationAsync(data);\r\n let templinks = [];\r\n for (let index = 0; index < related.dependencyIDes.length; index++) {\r\n const element = related.dependencyIDes[index];\r\n let loadobject = new ExternalLink(await InstanceController.LoadInstanceAsync(element.id));\r\n if (loadobject && loadobject.Type === \"1\")\r\n templinks = [...templinks, loadobject];\r\n\r\n }\r\n setSampleLinkes([...templinks]);\r\n let con = new ConditionMaker('E23C2');\r\n con.AddCondition('PC19', '=', value.id, 'AND');\r\n con.AddCondition('P174', '=', '3', 'AND')\r\n .AddCondition('PC510', '=', domainId);\r\n let result = await con.GetResult();\r\n if (result?.length > 0) {\r\n setMessage(new Message(result[0]));\r\n setAlertbtn(true);\r\n setPopupIsOpen(true);\r\n }\r\n } catch (error) {\r\n\r\n }\r\n PropertyHandler(pid, value);\r\n \r\n }\r\n return (<>\r\n \r\n \r\n {alertbtn? setPopupIsOpen(true)} />:null}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {isInRole ? \r\n {\r\n PropertyHandler(pid, value);\r\n LoadTests();\r\n }}\r\n PID={Labratory.pid} placeHolder={Labratory.title} />\r\n : null}\r\n \r\n {isInRole ? : null}\r\n \r\n \r\n \r\n {links?.length > 0 ?\r\n (<>لینکها\r\n \r\n {links?.map(item =>\r\n {item.GetValue('PC95')}\r\n )\r\n }\r\n {samplelinks?.map(item =>\r\n {item.GetValue('PC95')}\r\n )\r\n }\r\n \r\n )\r\n : null\r\n }\r\n\r\n \r\n \r\n {alertbtn?\r\n {message.Title}\r\n \r\n
\r\n \r\n \r\n \r\n \r\n :null}\r\n \r\n );\r\n};\r\n\r\nexport default AdminReportPreiodicHeader;","import React from 'react';\r\nimport { useEffect } from 'react';\r\nimport { useState } from 'react';\r\nimport { Card, CardBody, CardFooter, Table } from 'reactstrap';\r\nimport BaseInstance from '../Engine/BaseInstance';\r\nimport ConditionMaker, { EngineCondition } from '../Engine/ConditionMaker';\r\nimport { FromManagerDataTemplate } from '../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport AdminReportPreiodicHeader from './AdminReportPreiodicHeader';\r\nimport { ConstIdes, PropConstIdes } from './ConstIdes';\r\nimport ReportHeader from './ReportHeader';\r\nimport { TbSample } from './TBSample';\r\n\r\nconst HBVReport = ({ lab }) => {\r\n const [period, setPeriod] = useState();\r\n const [labratoary, setLab] = useState();\r\n const [loading, setLoading] = useState(false);\r\n const [samples, setSamples] = useState([]);\r\n const [resultSample, setResultSample] = useState([]);\r\n const [expResultSample, setExpResultSample] = useState([]);\r\n const [noResult, setNoResult] = useState(false);\r\n\r\n useEffect(() => {\r\n setLab(lab);\r\n }, [lab])\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let comsample = new EngineCondition();\r\n comsample.ID = 'O30E23C4';\r\n let samcon = new ConditionMaker('O30E23C4');\r\n samcon.AddCondition('P3', '=', period.id, 'AND')\r\n .AddCondition('P1', '=', 'O30E23C2I16');\r\n comsample.sqlCondition = samcon;\r\n comsample.returnProperties = 'P156';\r\n let samresult = await comsample.GetResult();\r\n setSamples(samresult);\r\n setLoading(true);\r\n let tempData = await FromManagerDataTemplate.LoadByAsync(`#${period.id}#O30E23C2I16#expected#`);\r\n if (tempData?.ID) {\r\n\r\n let rows = JSON.parse(tempData.Json);\r\n let result = [];\r\n for (let index = 0; index < rows.length; index++) {\r\n const element = rows[index];\r\n let val = new TbSample(element.Instance);\r\n val.Sample = new BaseInstance(val.SampleObj.Instance);\r\n result = [...result, val];\r\n }\r\n setExpResultSample(result);\r\n }\r\n if (labratoary) {\r\n await Loader(null, samresult);\r\n }\r\n setLoading(false);\r\n\r\n }\r\n if (period)\r\n fetch();\r\n }, [period])\r\n useEffect(() => {\r\n Loader();\r\n }, [labratoary])\r\n const Loader = async (id, Loadedsamples) => {\r\n setNoResult(false);\r\n let cond = new ConditionMaker('O30E12C39');\r\n let localSample = samples?.length > 0 ? samples : Loadedsamples;\r\n if (localSample?.length > 0) {\r\n if (typeof id === \"string\") {\r\n cond.AddCondition(\"ID\", '=', id);\r\n }\r\n else if (period && labratoary) {\r\n cond.AddCondition('P3', '=', period.id, 'And');\r\n cond.AddCondition(PropConstIdes.Lab, '=', labratoary.id);\r\n }\r\n let doc = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(cond)\r\n , 'P167', ['O30E12C122']);\r\n if (doc?.Header?.ID) {\r\n let rows = [];\r\n doc.RelatedInstances.map(row => {\r\n let tempins = new TbSample(row);\r\n\r\n rows = [...rows, tempins];\r\n });\r\n let others = [];\r\n for (let samindex = 0; samindex < localSample.length; samindex++) {\r\n const sample1 = localSample[samindex];\r\n let flag = false;\r\n for (let index = 0; index < rows.length; index++) {\r\n const row = rows[index];\r\n if (sample1.ID === row.Sample) {\r\n row.Sample = new BaseInstance(sample1);\r\n flag = true;\r\n }\r\n }\r\n if (!flag) {\r\n others = [...others, sample1];\r\n }\r\n }\r\n others.map(smp => {\r\n let temp = new TbSample();\r\n temp.Sample = new BaseInstance(smp);\r\n rows = [...rows, temp];\r\n });\r\n setResultSample(rows);\r\n\r\n }\r\n else{\r\n setNoResult(true);\r\n }\r\n\r\n }\r\n }\r\n const PropertyHandler = async (pid, value) => {\r\n if (pid.includes(ConstIdes.Period + 'I')) {\r\n //value.Instance = new BaseInstance(await InstanceController.LoadInstanceAsync(value.id));\r\n setPeriod(value);\r\n }\r\n else if (pid.includes(ConstIdes.Lab + 'I')) {\r\n setLab(value);\r\n }\r\n }\r\n\r\n const LoadTests = () => {\r\n\r\n }\r\n // const SDICalculator = (exAnswer, answer) => {\r\n // if (answer?.IntResult && exAnswer.SDA) {\r\n // let labResult = parseFloat(answer.IntResult);\r\n // let avg = parseFloat(exAnswer.SDA);\r\n // return Math.abs(((((Math.log10(labResult) - avg) / avg) * 100) / 15).toFixed(2));\r\n // }\r\n // return '';\r\n // }\r\n return (<>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* \r\n */}\r\n \r\n \r\n \r\n \r\n {resultSample.map((row) =>row?.GetProperty('P38')?.DIS? \r\n \r\n \r\n \r\n \r\n {/* \r\n */}\r\n :null)}\r\n \r\n
شماره نمونهتفسیر آزمایشگاهتفسیر مورد انتظارنتیجه آزمایشگاهSDI
{row.GetProperty('P9')?.DIS}{row?.GetProperty('P38')?.DIS}{expResultSample.find(x => x.GetValue('P9') === row?.GetValue('P9'))?.GetProperty('P38')?.IPV=== 'O30E12C29I2' ? 'Positive' : 'Negative'}{resultSample.find(x => x.GetValue('P9') === row?.GetValue('P9'))?.GetProperty('P15').IPV}{SDICalculator(row, resultSample.find(x => x.GetValue('P9') === row?.GetValue('P9')))}
\r\n
\r\n
\r\n \r\n {/* */}\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default HBVReport;\r\n// {expResultSample.map((row) => \r\n// {row?.SampleObj.GetProperty('P156')?.IPV}\r\n// {resultSample.find(x => x.GetValue('P9') === row?.GetValue('P9'))?.GetProperty('P38')?.DIS}\r\n// {row?.Result === 'O30E12C29I2' ? 'Positive' : 'Negative'}\r\n// {/* {resultSample.find(x => x.GetValue('P9') === row?.GetValue('P9'))?.GetProperty('P15').IPV}\r\n// {SDICalculator(row, resultSample.find(x => x.GetValue('P9') === row?.GetValue('P9')))} */}\r\n// )}","import axiosInstance from \"./BaseSetting\";\r\n\r\nexport class AdminController{\r\n static async BuildCertificate(yearId,labId) {\r\n let result = {};\r\n try {\r\n result = await axiosInstance.get('Admin/BCertificate',{ params: { yearId,labId }});\r\n } catch (e) {\r\n console.log(e)\r\n }\r\n return result.data;\r\n }\r\n}","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { UncontrolledTooltip } from 'reactstrap';\nimport uuid from 'uuid/v1';\nimport PropTypes from 'prop-types';\n\nconst ChatMessageOptions = ({ id = uuid() }) => (\n
    \n
  • \n \n \n Forward\n \n
  • \n
  • \n \n \n Archive\n \n
  • \n
  • \n \n \n Edit\n \n
  • \n
  • \n \n \n Remove\n \n
  • \n
\n);\n\nChatMessageOptions.propTypes = {\n id: PropTypes.string\n};\n\nexport default ChatMessageOptions;\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Media, Row, Col } from 'reactstrap';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport ChatMessageOptions from './ChatMessageOptions';\r\nimport classNames from 'classnames';\r\nimport LightBoxGallery from '../components/common/LightBoxGallery';\r\nimport FalconLightBox from '../components/common/FalconLightBox';\r\nimport { isIterableArray } from '../helpers/utils';\r\nimport Flex from '../components/common/Flex';\r\n\r\nconst Message = ({ message, senderUserId, status, time, isGroup }) => {\r\n const name = \"test\";\r\n const isLeft = senderUserId===1;\r\n\r\n return (\r\n \r\n {/*{isLeft && }*/}\r\n \r\n \r\n \r\n {!isLeft && }\r\n {isIterableArray(message?.attachment) ? (\r\n
\r\n {message.text && (\r\n

\r\n )}\r\n \r\n {openImgIndex => (\r\n \r\n {message.attachment.map((img, index) => {\r\n return (\r\n \r\n openImgIndex(index)}\r\n />\r\n \r\n );\r\n })}\r\n \r\n )}\r\n \r\n

\r\n ) : (\r\n <>\r\n \r\n {(message || message.text) && (\r\n

\r\n )}\r\n {message.attachment && (\r\n \r\n \"\"\r\n \r\n )}\r\n

\r\n \r\n )}\r\n {isLeft && }\r\n \r\n \r\n {isLeft && isGroup && {name}}\r\n {time.hour}\r\n {!isLeft && !!message && !!status && (\r\n \r\n )}\r\n
\r\n
\r\n \r\n \r\n );\r\n};\r\nMessage.propTypes = {\r\n message: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\r\n senderUserId: PropTypes.number.isRequired,\r\n status: PropTypes.string,\r\n time: PropTypes.object.isRequired,\r\n isGroup: PropTypes.bool.isRequired\r\n};\r\n\r\nMessage.defaultProps = { status: '' };\r\n\r\nexport default Message;\r\n","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Scrollbar from 'react-scrollbars-custom';\r\nimport Message from './Message';\r\n\r\nconst ChatContentBody = ({ content }) => {\r\n let lastDate = null;\r\n const [scrollHeight, setScrollHeight] = useState(0);\r\n useEffect(() => {\r\n setScrollHeight(document.getElementsByClassName('chat-content-scroll-area')[0].scrollHeight);\r\n //setTimeout(() => {\r\n // setScrollHeight(document.getElementsByClassName('chat-content-scroll-area')[0].scrollHeight);\r\n //}, 500);\r\n },[]);\r\n return (\r\n \r\n
\r\n ;\r\n }\r\n }}>\r\n
\r\n {\r\n content.map(({ message, time, senderUserId, status }, index) => (\r\n
\r\n {lastDate !== time.date && (\r\n
{`${time.date}, ${time.hour}`}
\r\n )}\r\n {(() => {\r\n lastDate = time.date;\r\n })()}\r\n \r\n
\r\n ))\r\n }\r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nChatContentBody.propTypes = {\r\n isOpenThreadInfo: PropTypes.bool\r\n};\r\nChatContentBody.defaultProps = {\r\n isOpenThreadInfo: false\r\n};\r\nexport default ChatContentBody;\r\n","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport classNames from 'classnames';\r\nimport { Picker } from 'emoji-mart';\r\nimport React, {Component } from 'react';\r\nimport { Button, Form, Input, Label } from 'reactstrap';\r\nimport { getGrays } from '../helpers/utils';\r\nexport default class MessageTextArea extends Component {\r\n state = {\r\n message: '',\r\n isRTL: true,\r\n isDark: false,\r\n previewEmoji: false\r\n }\r\n handleClickOutsideEmojiBox = e => {\r\n if (e.target.closest('.emoji-mart') || e.target.closest('.textarea')) return;\r\n this.setState({ ...this.state, previewEmoji: false })\r\n };\r\n componentDidMount() {\r\n if (this.state.previewEmoji) {\r\n document.addEventListener('click', this.handleClickOutsideEmojiBox.bind(this), false);\r\n } else {\r\n document.removeEventListener('click', this.handleClickOutsideEmojiBox.bind(this), false);\r\n }\r\n }\r\n addEmoji = e => {\r\n let emoji = e.native;\r\n this.setState({\r\n ...this.state,\r\n message: this.state.message + emoji\r\n });\r\n };\r\n addmessage() {\r\n if (this.props.AddMessage !== undefined) {\r\n this.props.AddMessage(this.state.message)\r\n this.setState({\r\n ...this.state,\r\n message:''\r\n })\r\n }\r\n\r\n }\r\n handleSubmit() {\r\n\r\n }\r\n render() {\r\n return (\r\n
\r\n \r\n \r\n\r\n this.setState({ ...this.state, message: target.value })}\r\n style={{\r\n height: '2rem',\r\n maxHeight: '10rem',\r\n paddingRight: this.state.isRTL ? '0.75rem' : '7rem',\r\n paddingLeft: this.state.isRTL ? '7rem' : '0.75rem'\r\n }}\r\n />\r\n {/* this.setState({ ...this.state, previewEmoji: !this.state.previewEmoji })}*/}\r\n {/*/>*/}\r\n {this.state.previewEmoji && (\r\n \r\n )}\r\n 0\r\n })}\r\n onClick={this.addmessage.bind(this)}\r\n >\r\n ارسال\r\n \r\n \r\n );\r\n }\r\n}","import React, { Component } from 'react';\r\nimport { CardBody } from 'reactstrap';\r\nimport ChatContentBody from './ChatContentBody';\r\nimport FormRouter from '../Forms/FormRouter';\r\nimport { GetNewTabIns, Utility } from '../Engine/Common';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport MessageTextArea from './MessageTextArea';\r\nexport default class ChatContent extends Component {\r\n state = {\r\n Instance: null,\r\n FormID: null,\r\n content:[]\r\n }\r\n condition = '{\"OCID\":\"E23C2\",\"BCs\":[{\"Bts\":[{\"PID\":\"PC19\",\"PRA\":\"Equal\",\"IPV\":\"#ID\",\"NLC\":\"None\",\"SRC\":\"\"}],\"NLC\":\"None\"}]}';\r\n\r\n async componentDidMount() {\r\n if (this.props.params !== undefined && this.props.params.stog !== undefined\r\n && this.state.FormID === null) {\r\n let data = GetNewTabIns(this.props.params.stog);\r\n this.state.FormID = data.FormID;\r\n this.state.Instance = data.Instance;\r\n let temp = await InstanceController.GetInstancesAsync(this.condition.replace('#ID', data.Instance.ID));\r\n let content = [];\r\n temp.map((msg) => {\r\n content = [...content, {\r\n senderUserId: 2,\r\n message: msg.Prop.find(x=>x.PID==='PC502').IPV,\r\n time: {\r\n hour: msg.Prop.find(x => x.PID === 'PC35')?msg.Prop.find(x => x.PID === 'PC35').IPV.split(' ')[1]:'',\r\n date: msg.Prop.find(x => x.PID === 'PC35')?msg.Prop.find(x => x.PID === 'PC35').IPV.split(' ')[0]:''\r\n }\r\n }]\r\n })\r\n this.state.content = content;\r\n this.setState({\r\n ...this.state\r\n })\r\n }\r\n }\r\n async addMessage(message) {\r\n let time = await Utility.GetNow();\r\n console.log(time)\r\n let messageIns = {\r\n ID: 'E23C2', Prop: [{ PID: 'PC502', IPV: message },\r\n { PID: 'PC509', IPV: 'E11C8I1' },\r\n { PID: 'PC19', IPV: this.state.Instance.ID },\r\n { PID: 'PC35', IPV: time.date + ' ' + time.hour }]\r\n }\r\n let result = await InstanceController.SaveInstanceAsync(messageIns);\r\n let content = [...this.state.content, {\r\n senderUserId: 1,\r\n message: message,\r\n time: {\r\n day: 'Mon',\r\n hour: time.hour,\r\n date: time.date\r\n }\r\n }]\r\n this.setState({\r\n ...this.state,\r\n content: content\r\n })\r\n //this.messagesEnd.scrollIntoView({ behavior: \"smooth\" });\r\n }\r\n render() {\r\n return (<>\r\n {}\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import React, { useContext, useState } from 'react';\r\nimport { Col, Media, Row } from 'reactstrap';\r\nimport { Link } from 'react-router-dom';\r\nimport AppContext from '../../context/Context';\r\nimport NumberFormat from 'react-number-format';\r\nimport QuantityController from '../../components/common/QuantityController';\r\nimport CartContext from '../ShopContext';\r\n\r\nconst ShoppingCartItem = ({ CartItem }) => {\r\n const { currency } = useContext(AppContext);\r\n const { removeFromCart } = useContext(CartContext);\r\n const [quantity, setQuantity] = useState(CartItem.quantity);\r\n const { ID, title, file, price, sale } = CartItem.productobject;\r\n const setQty = (value) => {\r\n CartItem.Change(value);\r\n setQuantity(value);\r\n }\r\n const remove = () => {\r\n removeFromCart(ID)\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {title}\r\n \r\n
\r\n \r\n حذف\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n {/**/}\r\n {/* {currency}*/}\r\n {/* {calculateSale(price, sale) * quantity}*/}\r\n {/**/}\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport default ShoppingCartItem;\r\n","import React, { Fragment, useContext } from 'react';\r\nimport { Col, Row } from 'reactstrap';\r\nimport AppContext from '../../context/Context';\r\nimport CartContext from '../ShopContext'\r\nimport ShoppingCartItem from './ShoppingCartItem';\r\n\r\nconst ShoppingCartTable = () => {\r\n const { cart } = useContext(CartContext);\r\n return (\r\n \r\n {cart ? (\r\n \r\n \r\n \r\n شرح\r\n \r\n \r\n \r\n \r\n تعداد\r\n \r\n \r\n قیمت\r\n \r\n \r\n \r\n \r\n {cart.map(shoppingCartItem => (\r\n \r\n ))}\r\n \r\n \r\n مجموع\r\n \r\n \r\n \r\n \r\n {cart.length} (items)\r\n \r\n {/**/}\r\n {/* {currency}*/}\r\n {/* {calculateSale(getTotalPrice(shoppingCart, products), !!appliedPromo ? appliedPromo.discount : 0)}*/}\r\n {/**/}\r\n \r\n \r\n \r\n \r\n ) : (\r\n

شما هیچ گزینه ای جهت خرید انتخاب نکرده اید!

\r\n )}\r\n
\r\n );\r\n};\r\n\r\nexport default ShoppingCartTable;\r\n","import React, { useContext, useEffect, useState } from 'react';\r\nimport { Button, Card, CardBody, Spinner } from 'reactstrap';\r\nimport { Link } from 'react-router-dom';\r\nimport ShoppingCartFooter from './shopping-cart/ShoppingCartFooter';\r\nimport ShoppingCartTable from './shopping-cart/ShoppingCartTable';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport FalconCardHeader from '../components/common/FalconCardHeader';\r\nimport CartContext, { CartContextClass } from './ShopContext'\r\nimport AppContext from '../context/Context';\r\n\r\nconst ShoppingCart = ({ history }) => {\r\n const { cart } = useContext(CartContext);\r\n const [proccess, setProccess] = useState(false);\r\n const { setCurrentTitle } = useContext(AppContext);\r\n useEffect(() => setCurrentTitle('سبد خرید'));\r\n return (\r\n \r\n \r\n \r\n برگشت به فروشگاه\r\n \r\n {cart &&\r\n (\r\n proccess ? :\r\n \r\n )\r\n }\r\n \r\n \r\n \r\n \r\n {//\r\n }\r\n \r\n );\r\n};\r\n\r\nexport default ShoppingCart;\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Flex from '../../components/common/Flex';\nimport Dot from '../../components/common/Dot';\n\nconst SectionStatusItem = ({ color, name, value, totalShare }) => (\n \n \n \n {name}\n \n {/*
{((value * 100) / totalShare).toFixed(0)}%
*/}\n
{value}
\n
\n);\n\nSectionStatusItem.propsType = {\n color: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n value: PropTypes.number.isRequired,\n totalShare: PropTypes.number.isRequired\n};\n\nexport default SectionStatusItem;","import React, { useEffect, useState } from 'react';\r\nimport { getGrays, getPosition, numberFormatter } from '../../helpers/utils';\r\nimport { Card, CardBody, Col, Row, Spinner } from 'reactstrap';\r\nimport echarts from 'echarts/lib/echarts';\r\nimport ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport 'echarts/lib/chart/pie';\r\nimport SectionStatusItem from './SectionStatusItem'\r\nimport ConditionMaker, { EngineCondition } from '../../Engine/ConditionMaker';\r\nconst getOption = (data, isDark) => {\r\n const grays = getGrays(isDark);\r\n return {\r\n color: data.map(d => d.color),\r\n tooltip: {\r\n trigger: 'item',\r\n padding: [7, 10],\r\n backgroundColor: grays.white,\r\n textStyle: { color: grays.black },\r\n transitionDuration: 0,\r\n borderColor: grays['300'],\r\n borderWidth: 1,\r\n formatter: function (params) {\r\n return `${params.data.name}: ${params.percent}%`;\r\n }\r\n },\r\n position(pos, params, dom, rect, size) {\r\n return getPosition(pos, params, dom, rect, size);\r\n },\r\n legend: { show: false },\r\n series: [\r\n {\r\n type: 'pie',\r\n radius: ['100%', '87%'],\r\n avoidLabelOverlap: false,\r\n hoverAnimation: false,\r\n itemStyle: {\r\n borderWidth: 2,\r\n borderColor: isDark ? '#0E1C2F' : '#fff'\r\n },\r\n labelLine: { normal: { show: false } },\r\n data: data\r\n }\r\n ]\r\n };\r\n};\r\n\r\nconst SectionStatus = ({ section, PeriodID }) => {\r\n const [data, dataSet] = useState([\r\n { color: \"#d8e2ef\", id: 2, name: \"ثبت نام\", value: 0 },\r\n { color: \"#27bcfd\", id: 3, name: \"بسته بندی\", value: 0 },\r\n { color: \"#2c7be5\", id: 1, name: \"ارسال \", value: 0 },\r\n ])\r\nconst [isLoaded,setIsLoaded]=useState();\r\n useEffect(() => {\r\n async function fetchMyAPI() {\r\n setIsLoaded(false);\r\n let condition = new EngineCondition('O30E12C64');\r\n condition.qType = 1;\r\n let where = new ConditionMaker('O30E12C64');\r\n where.AddCondition('P1', '=', `${section.ID}`,'and');\r\n where.AddCondition('P3', '=', `${PeriodID}`, 'and');\r\n where.AddCondition('P88', 'None', 'Is Null', 'and');\r\n where.AddCondition('P90', 'None', 'Is Null');\r\n condition.sqlCondition = where;\r\n let allRegister = await condition.GetResult();\r\n where.RemoveAtEnd(1);\r\n where.AddCondition('P90', 'None', 'Is Not Null');\r\n\r\n condition.sqlCondition = where;\r\n let allpakage = await condition.GetResult();\r\n where.RemoveAtEnd(2);\r\n where.AddCondition('P88', 'None', 'Is Not Null');\r\n condition.sqlCondition = where;\r\n let allsend = await condition.GetResult();\r\n dataSet( [\r\n { color: \"#d8e2ef\", id: 2, name: \"ثبت نام\", value: allRegister },\r\n { color: \"#27bcfd\", id: 3, name: \"بسته بندی\", value: allpakage },\r\n { color: \"#2c7be5\", id: 1, name: \"ارسال \", value: allsend },\r\n ])\r\n setIsLoaded(true);\r\n }\r\n\r\n fetchMyAPI();\r\n }, [PeriodID,section])\r\n const { isDark } = false;\r\n let totalRegister = 0;\r\n data.map(({ value }) => (totalRegister += value));\r\n const title = section.DIS;\r\n return (\r\n \r\n \r\n \r\n \r\n
{title}
\r\n
\r\n {isLoaded?\r\n data.map(({ id, ...rest }) => )\r\n :\r\n }\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n {numberFormatter(totalRegister, 1)}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default SectionStatus;\r\n","import React, { Component } from 'react';\r\nimport { Button, Card, Col, Input, Label, Row, Spinner } from 'reactstrap';\r\nimport FalconCardHeader from '../../components/common/FalconCardHeader';\r\nimport JoiSearchBox from '../../components/joi/JoiSearchBox';\r\nimport Flex from '../../components/common/Flex';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport { ConstIdes, PropConstIdes } from '../ConstIdes';\r\nimport SectionStatus from './SectionStatus';\r\nimport { CSVLink } from 'react-csv';\r\nimport ConditionMaker, { EngineCondition } from '../../Engine/ConditionMaker';\r\nimport BaseInstance from '../../Engine/BaseInstance';\r\nimport { addDays } from '@fullcalendar/core';\r\nimport { DatePicker } from \"jalali-react-datepicker\";\r\n\r\nexport default class PeriodStats extends Component {\r\n state = {\r\n Sections: [], PeriodID: '', labs: [], Loading: false,\r\n days: 0,DateValue:''\r\n };\r\n Period = {\r\n col: \"3\",\r\n pid: PropConstIdes.Period,\r\n controlType: \"SearchControl\",\r\n title: \"دوره\",\r\n source: ConstIdes.Period,\r\n Value: ''\r\n }\r\n async componentDidMount() {\r\n if (this.state.Sections.length === 0) {\r\n let Sections = await InstanceController.GetInstancesAsync(ConstIdes.Section);\r\n this.setState({\r\n ...this.state,\r\n Sections\r\n })\r\n }\r\n }\r\n PropertyHandler(value, obj) {\r\n this.setState({\r\n ...this.state,\r\n PeriodID: value,\r\n obj, labs: [], Loading: false\r\n })\r\n }\r\n RowGenarate() {\r\n let result = [];\r\n let rowCount = parseInt(this.state.Sections.length / 3) + 1;\r\n let counter = 0;\r\n for (var i = 0; i < rowCount; i++) {\r\n let columns = [];\r\n for (var j = 0; j < 3; j++) {\r\n if (counter < this.state.Sections.length) {\r\n columns = [...columns, ]\r\n counter++;\r\n }\r\n }\r\n if (columns.length > 0)\r\n result = [...result, {columns}];\r\n }\r\n return result;\r\n }\r\n async getLabs1() {\r\n this.setState({\r\n ...this.state,\r\n Loading: true\r\n })\r\n let eng = new EngineCondition('O30E12C64');\r\n let con1 = new ConditionMaker('O30E12C64');\r\n if(this.state.days!=null && this.state.days>0){\r\n con1.AddCondition('P3', '=', this.state.PeriodID, 'and');\r\n let date = addDays(new Date(), this.state.days*-1).toLocaleDateString();\r\n con1.AddCondition('Convert(DateTime,P90)', '>', date);\r\n }\r\n else{\r\n con1.AddCondition('P3', '=', this.state.PeriodID);\r\n }\r\n eng.sqlCondition = con1;\r\n let eng2 = new EngineCondition('O30E23C6');\r\n let con2 = new ConditionMaker('O30E23C6');\r\n con2.AddCondition('PC88', '<>', '');\r\n eng2.join = \" INNER JOIN \";\r\n eng2.onJoin = \"@.P8= #.ID\";\r\n eng2.sqlCondition = con2;\r\n eng.nextCondition = eng2;\r\n eng2.returnProperties = 'PC88,P6,P73,P74,P70,PC147,PC365,P72,P173';\r\n let result = await eng.GetResult();\r\n this.setState({\r\n ...this.state,\r\n labs: result,\r\n Loading: false\r\n })\r\n }\r\n async getLabs2() {\r\n this.setState({\r\n ...this.state,\r\n Loading: true\r\n })\r\n let eng = new EngineCondition('O30E12C64');\r\n let con1 = new ConditionMaker('O30E12C64');\r\n con1.AddCondition('P3', '=', this.state.PeriodID, 'and');\r\n let date =this.state.DateValue;\r\n con1.AddConditionBetween('Convert(DateTime,P88)', `Convert(DateTime,'${date} 00:00')`,`Convert(DateTime,'${date} 23:59')`);\r\n eng.sqlCondition = con1;\r\n let eng2 = new EngineCondition('O30E23C6');\r\n let con2 = new ConditionMaker('O30E23C6');\r\n con2.AddCondition('PC88', '<>', '');\r\n eng2.join = \" INNER JOIN \";\r\n eng2.onJoin = \"@.P8= #.ID\";\r\n eng2.sqlCondition = con2;\r\n eng.nextCondition = eng2;\r\n eng2.returnProperties = 'PC88,P6,P73,P74,P70,PC147,PC365,P72,P173';\r\n let result = await eng.GetResult();\r\n this.setState({\r\n ...this.state,\r\n labs: result,\r\n Loading: false\r\n })\r\n }\r\n render() {\r\n\r\n return (<>\r\n \r\n \r\n \r\n {this.state.PeriodID !== '' ? \r\n\r\n {this.state.labs?.length > 0 ? new BaseInstance(ins).instanceToRow())}>\r\n دانلود فایل آزمایشگاهها\r\n : \r\n \r\n \r\n \r\n \r\n {\r\n console.log(value.format('MM/DD/YYYY'))\r\n this.setState({...this.state,DateValue:value.format('YYYY/MM/DD')})\r\n }} className={\"h-100\"} label='تاریخ'\r\n bsSize=\"sm\" value11={this.state.DateValue} />\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.setState({\r\n ...this.state,\r\n days: target.value\r\n })\r\n }} />\r\n \r\n }\r\n : }\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {this.state.PeriodID !== '' ? this.RowGenarate() : \r\n دوره مورد نظر را انتخاب نمایید\r\n }\r\n
\r\n )\r\n }\r\n}\r\n","import React from 'react';\r\nimport { CardTitle, Col, Input, Row, Table } from 'reactstrap';\r\nimport FormManager from '../../EngineForms/FormManager';\r\n\r\nconst LabResultExpected = ({ formId, Data, Expresult }) => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n Expresult?.Rows?.map((result,index) => )\r\n }\r\n \r\n
\r\n نتیجه مورد انتظار\r\n
{result?.Diagnosis?.display}
\r\n\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default LabResultExpected;","import React, { useEffect, useState } from 'react';\r\nimport { Fragment } from 'react';\r\nimport { CardTitle, Input, Label, Table } from 'reactstrap';\r\n\r\nconst TorchReportTable = ({ data }) => {\r\n const [G1, setG1] = useState();\r\n const [G2, setG2] = useState();\r\n useEffect(() => {\r\n let g1 = [];\r\n let g2 = [];\r\n if (data)\r\n data.map(item => {\r\n if (g1.findIndex(x=>x.id===item.G1)<0)\r\n g1 = [...g1, {id:item.G1,display:item.G1display}];\r\n if (g2.findIndex(x => x.g1 === item.G1display && x.g2 === item.G2display) < 0)\r\n g2 = [...g2, { g1: item.G1display, g2: item.G2display }];\r\n });\r\n setG1(g1);\r\n setG2(g2);\r\n }, [data])\r\n return (<>\r\n توزیع فراوانی نتایج گزارش شده توسط آزمایشگاهها بر حسب روش مورد استفاده\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {G1?.map((g1,index) =>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n \r\n
\r\n Test\r\n \r\n Result\r\n \r\n CL\r\n \r\n ECL\r\n \r\n ELFA\r\n \r\n ELISA\r\n \r\n Others\r\n
\r\n {g1.display}\r\n \r\n {\r\n G2?.filter(x=>x.g1===g1.display)?.map((item,index) => {\r\n return

;\r\n })\r\n }\r\n
\r\n {\r\n G2?.filter(x=>x.g1===g1.display)?.map((item) => {\r\n let g2 = data?.find(x => x.G1display === g1.display && x.G2display === item.g2 \r\n && (x.G3 === \"E12C13I7\" || x.G3 === \"O30E12C19I2\") );\r\n return
;\r\n })\r\n\r\n }\r\n
\r\n {\r\n G2?.filter(x=>x.g1===g1.display)?.map((item) => {\r\n let g2 = data?.find(x => x.G1display === g1.display && x.G2display === item.g2 \r\n && (x.G3 === \"E12C13I12\" || x.G3 === \"O30E12C19I3\"));\r\n return
;\r\n })\r\n\r\n }\r\n
\r\n {\r\n G2?.filter(x=>x.g1===g1.display)?.map((item) => {\r\n let g2 = data?.find(x => x.G1display === g1.display && x.G2display === item.g2 \r\n && (x.G3 === \"E12C13I13\" || x.G3 === \"O30E12C19I4\"));\r\n return
;\r\n })\r\n\r\n }\r\n
\r\n {\r\n G2?.filter(x=>x.g1===g1.display)?.map((item) => {\r\n let g2 = data?.find(x => x.G1display === g1.display && x.G2display === item.g2 \r\n && (x.G3 === \"E12C13I8\" || x.G3 === \"O30E12C19I1\"));\r\n return
;\r\n })\r\n\r\n }\r\n
\r\n {\r\n G2?.filter(x=>x.g1===g1.display)?.map((item) => {\r\n let g2 = data?.find(x => x.G1display === g1.display && x.G2display === item.g2 \r\n && (x.G3 === \"E12C13I15\" || x.G3 === \"O30E12C19I5\"));\r\n return
;\r\n })\r\n\r\n }\r\n
\r\n );\r\n};\r\n\r\nexport default TorchReportTable;","import ReactEchartsCore from 'echarts-for-react/lib/core';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Card, CardBody } from 'reactstrap';\r\nimport BaseInstance from '../../Engine/BaseInstance';\r\nimport ConditionMaker from '../../Engine/ConditionMaker';\r\nimport { ReportHistory } from '../../Engine/EngineContext';\r\nimport { FromManagerDataTemplate } from '../../Engine/FormDataTemplate';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport { ThemeDivider } from '../../EngineForms/ThemeControl';\r\nimport AdminReportHeader from '../AdminReportHeader';\r\nimport NoData from '../NoData';\r\nimport ReportHeader from '../ReportHeader';\r\nimport LabResultExpected from './LabResultExpected';\r\nimport TorchReportTable from './TorchReportTable';\r\nimport * as echarts from 'echarts';\r\nimport { Utility } from '../../Engine/Common';\r\n\r\nconst ReportWithExpectedResult = ({ match, lab }) => {\r\n const [expectedAnswer, setExpectedAnswer] = useState();\r\n const [labResult, setLabResult] = useState([]);\r\n const [sample, setSample] = useState();\r\n const [golbalReport, setGolbalReport] = useState([]);\r\n const [labratoary, setLabratoary] = useState();\r\n const [domain, setDomain] = useState();\r\n const [domainData, setDomainData] = useState();\r\n const [noResult, setNoResult] = useState(false);\r\n\r\n useEffect(() => {\r\n LoadData();\r\n }, [sample,labratoary])\r\n useEffect(() => {\r\n setLabratoary(lab);\r\n }, [lab])\r\n useEffect(() => {\r\n const fetch = async () => {\r\n if (match.params.dom) {\r\n let dom = await InstanceController.LoadInstanceAsync(match.params.dom);\r\n dom.id = dom.ID;\r\n dom.display = dom.DIS;\r\n let dds = (new BaseInstance(dom)).GetValue('PC19');\r\n dds = dds.split('#');\r\n setDomainData({ head: dds[0], testProp: dds[1], formId: dds[2], cnn: dds[3] })\r\n setDomain(dom);\r\n }\r\n }\r\n fetch();\r\n }, [match])\r\n const getOption = (data, title, seriesTitle) => {\r\n let header = ['1/10', '1/20', '1/40', '1/80', '1/160', '1/320', '1/640', '1/1280', '1/2560'];\r\n\r\n header.map(head => {\r\n let index = data?.findIndex(item => item.G1 === 'E12C3I1' && item.G2display.trim() === head)\r\n if (index < 0)\r\n data = [...data, { G1: 'E12C3I1', G2display: head, QTY: 0 }];\r\n index = data?.findIndex(item => item.G1 === 'E12C3I3' && item.G2display.trim() === head)\r\n if (index < 0)\r\n data = [...data, { G1: 'E12C3I3', G2display: head, QTY: 0 }];\r\n index = data?.findIndex(item => item.G1 === 'E12C3I4' && item.G2display.trim() === head)\r\n if (index < 0)\r\n data = [...data, { G1: 'E12C3I4', G2display: head, QTY: 0 }];\r\n })\r\n return {\r\n legend: {},\r\n xAxis: {\r\n type: 'category',\r\n data: header\r\n },\r\n yAxis: {\r\n type: 'value'\r\n },\r\n series: [\r\n {\r\n name: data?.find(item => item.G1 === 'E12C3I1').G1display,\r\n data: data?.filter(item => item.G1 === 'E12C3I1').map(item => ({ name: item.G2display.trim(), value: item.QTY }))\r\n .sort((a, b) => {\r\n let a1 = a.name.replace('1/', '');\r\n let b1 = b.name.replace('1/', '');\r\n return parseInt(a1) > parseInt(b1) ? 1 : -1;\r\n }),\r\n type: 'bar',\r\n showBackground: true,\r\n backgroundStyle: {\r\n color: 'rgba(180, 180, 180, 0.2)'\r\n }\r\n },\r\n {\r\n name: data?.find(item => item.G1 === 'E12C3I3').G1display,\r\n data: data?.filter(item => item.G1 === 'E12C3I3').map(item => ({ name: item.G2display.trim(), value: item.QTY }))\r\n .sort((a, b) => {\r\n let a1 = a.name.replace('1/', '');\r\n let b1 = b.name.replace('1/', '');\r\n return parseInt(a1) > parseInt(b1) ? 1 : -1;\r\n }),\r\n type: 'bar',\r\n showBackground: true,\r\n backgroundStyle: {\r\n color: 'rgba(180, 100, 180, 0.2)'\r\n }\r\n },\r\n {\r\n name: data?.find(item => item.G1 === 'E12C3I4').G1display,\r\n data: data?.filter(item => item.G1 === 'E12C3I4').map(item => ({ name: item.G2display.trim(), value: item.QTY }))\r\n .sort((a, b) => {\r\n let a1 = a.name.replace('1/', '');\r\n let b1 = b.name.replace('1/', '');\r\n return parseInt(a1) > parseInt(b1) ? 1 : -1;\r\n }),\r\n type: 'bar',\r\n showBackground: true,\r\n backgroundStyle: {\r\n color: 'rgba(100, 180, 180, 0.2)'\r\n }\r\n }\r\n ]\r\n };\r\n };\r\n const PropertyHandler = (value, obj) => {\r\n if (value.includes('O30E23C4I'))\r\n setSample(obj);\r\n if (value.includes('O30E23C6I'))\r\n setLabratoary(obj);\r\n }\r\n const LoadData = async () => {\r\n if (sample && labratoary) {\r\n setNoResult(false);\r\n let greport = await ReportHistory.Find(`#${sample.id}#ReportCount#`);\r\n let exresult = await FromManagerDataTemplate.LoadByAsync(`#${sample.id}#expected#`);\r\n if (exresult) {\r\n let exresultJson = JSON.parse(exresult?.Json);\r\n let condition = new ConditionMaker(domainData.head);\r\n condition.AddCondition('P9', '=', sample.id, ' AND ').AddCondition('P8', '=', labratoary.id);\r\n let result = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(condition)\r\n , domainData.cnn, [Utility.GetClassID(domainData.formId)]);\r\n let orderdResult = [];\r\n result.RelatedInstances.map(row => {\r\n let insval = (new BaseInstance(row)).GetValue(domainData.testProp);\r\n orderdResult = [...orderdResult, exresultJson.Rows.find(x => x.Test.id === insval)];\r\n });\r\n exresultJson.Rows = orderdResult;\r\n if (result.RelatedInstances?.length > 0) {\r\n setGolbalReport(JSON.parse(greport[0]?.Json));\r\n setExpectedAnswer(exresultJson)\r\n setLabResult(result.RelatedInstances)\r\n }\r\n else {\r\n setNoResult(true);\r\n }\r\n }\r\n else {\r\n setNoResult(true);\r\n }\r\n }\r\n }\r\n return (\r\n <>\r\n \r\n \r\n \r\n {sample && labratoary ?\r\n \r\n \r\n \r\n {domain?.id === 'O30E23C2I6' || domain?.id === 'O30E23C2I2' ? :\r\n \r\n }\r\n \r\n : \r\n }\r\n \r\n \r\n\r\n \r\n );\r\n};\r\n\r\nexport default ReportWithExpectedResult;","import React, { Fragment, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { Link } from 'react-router-dom';\nimport { Badge, Card, CardBody, Col, DropdownItem, DropdownMenu, DropdownToggle, Row, Dropdown } from 'reactstrap';\nimport AuthCornerImage from '../../assets/img/illustrations/authentication-corner.png';\nimport { breakpoints, routesSlicer } from '../../helpers/utils';\nimport { topNavbarBreakpoint } from '../../config';\n\nconst NavbarDropdown = ({ title, items, right, children, handleSetNavbarCollapsed }) => {\n const [dropdownOpen, setDropdownOpen] = useState(false);\n const toggleDropdown = () => setDropdownOpen(prevState => !prevState);\n\n const findTitleName = name => {\n return items.find(routes => {\n if (routes.children) {\n return routes?.children.some(item => {\n return item.name === name;\n });\n }\n return routes.name === name;\n }).name;\n };\n\n const getTitle = (navItem, index) => {\n if (navItem.name === 'Inbox') {\n return findTitleName(navItem.name);\n }\n if (navItem.name === 'Product list') {\n return findTitleName(navItem.name);\n }\n if (navItem.name === 'Login') {\n return items[index].name;\n }\n if (navItem.name === 'Wizard') {\n return 'Special';\n }\n };\n\n const navItemGroup =\n title !== 'Home' &&\n routesSlicer({\n routes: items,\n rows: title === 'Authentication' && 7\n });\n\n return (\n {\n let windowWidth = window.innerWidth;\n if (windowWidth >= breakpoints[topNavbarBreakpoint]) {\n setDropdownOpen(true);\n }\n }}\n onMouseLeave={() => {\n let windowWidth = window.innerWidth;\n if (windowWidth >= breakpoints[topNavbarBreakpoint]) {\n setDropdownOpen(false);\n }\n }}\n >\n \n {title}\n \n \n {items.length > 0 && (\n \n {title === 'Authentication' && (\n \"\"\n )}\n \n
\n {title === 'Home' ? (\n items.map(({ to, name }, index) => (\n \n {name}\n \n ))\n ) : (\n \n {navItemGroup.map((groupItem, index) => {\n return (\n \n {groupItem.map((navItem, i) => {\n const title = getTitle(navItem, index);\n\n return (\n \n {title &&
{title}
}\n \n {navItem.name}\n {navItem.badge && (\n \n {navItem.badge.text}\n \n )}\n \n
\n );\n })}\n \n );\n })}\n
\n )}\n
\n
\n \n )}\n {children}\n
\n \n );\n};\n\nNavbarDropdown.propTypes = {\n title: PropTypes.string.isRequired,\n handleSetNavbarCollapsed: PropTypes.func,\n children: PropTypes.node,\n items: PropTypes.array,\n right: PropTypes.bool\n};\n\nNavbarDropdown.defaultProps = {\n items: [],\n right: false,\n children: null\n};\n\nexport default NavbarDropdown;\n","import PropTypes from 'prop-types';\nimport React, { Fragment, useState } from 'react';\nimport { Link } from 'react-router-dom';\nimport { Badge, Card, CardBody, Col, DropdownItem, DropdownMenu, DropdownToggle, Row, Dropdown } from 'reactstrap';\nimport { breakpoints, isIterableArray, routesSlicer } from '../../helpers/utils';\nimport { topNavbarBreakpoint } from '../../config';\n\nconst NavbarDropdownComponents = ({ title, items, right, handleSetNavbarCollapsed }) => {\n const [dropdownOpen, setDropdownOpen] = useState(false);\n const toggle = () => setDropdownOpen(prevState => !prevState);\n\n return (\n {\n let windowWidth = window.innerWidth;\n if (windowWidth >= breakpoints[topNavbarBreakpoint]) {\n setDropdownOpen(true);\n }\n }}\n onMouseLeave={() => {\n let windowWidth = window.innerWidth;\n if (windowWidth >= breakpoints[topNavbarBreakpoint]) {\n setDropdownOpen(false);\n }\n }}\n >\n \n {title}\n \n \n {isIterableArray(items) && (\n \n \n
\n {items.map((groupItem, index) => {\n const NavItemGroup = routesSlicer({\n routes: groupItem.children,\n columns: 4\n });\n\n return (\n \n {index !== 0 && (\n
{items[index].name}
\n )}\n \n {NavItemGroup.map((navItems, i) => {\n return (\n \n \n {navItems.map((navItem, j) => {\n return (\n \n {navItem.name}\n {navItem.badge && (\n \n {navItem.badge.text}\n \n )}\n \n );\n })}\n \n \n );\n })}\n \n
\n );\n })}\n
\n
\n
\n )}\n
\n \n );\n};\n\nNavbarDropdownComponents.propTypes = {\n title: PropTypes.string.isRequired,\n handleSetNavbarCollapsed: PropTypes.func.isRequired,\n items: PropTypes.array,\n right: PropTypes.bool\n};\n\nNavbarDropdownComponents.defaultProps = {\n items: [],\n right: false\n};\n\nexport default NavbarDropdownComponents;\n","import React, { useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport NavbarDropdown from './NavbarDropdown';\nimport NavbarDropdownComponents from './NavbarDropdownComponents';\nimport {\n authenticationRoutes,\n chatRoutes,\n componentRoutes,\n ECommerceRoutes,\n emailRoutes,\n homeRoutes,\n pageRoutes,\n pluginRoutes,\n utilityRoutes,\n widgetsRoutes,\n kanbanRoutes,\n calenderRoutes\n} from '../../routes';\nimport { NavItem } from 'reactstrap';\nimport { NavLink } from 'react-router-dom';\nimport { breakpoints, getPageName } from '../../helpers/utils';\nimport { navbarBreakPoint, topNavbarBreakpoint } from '../../config';\nimport AppContext from '../../context/Context';\n\nconst NavbarTopDropDownMenus = ({ setNavbarCollapsed, setShowBurgerMenu }) => {\n const { isCombo, isTopNav } = useContext(AppContext);\n\n const components = [componentRoutes, pluginRoutes, utilityRoutes];\n\n const pages = [pageRoutes, calenderRoutes, kanbanRoutes, widgetsRoutes, chatRoutes, emailRoutes, ECommerceRoutes];\n\n const handleSetNavbarCollapsed = () => {\n const windowWidth = window.innerWidth;\n isTopNav && !isCombo && windowWidth < breakpoints[topNavbarBreakpoint] && setNavbarCollapsed(false);\n isCombo && windowWidth < breakpoints[navbarBreakPoint] && setShowBurgerMenu(false);\n };\n const isLanding = getPageName('landing');\n return (\n <>\n \n \n \n \n\n {isTopNav && !isLanding && (\n \n \n Documentation\n \n \n )}\n {isLanding && (\n \n \n Changelog\n \n \n )}\n \n );\n};\n\nNavbarTopDropDownMenus.propTypes = { setNavbarCollapsed: PropTypes.func.isRequired };\n\nexport default NavbarTopDropDownMenus;\n","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React from 'react'\r\nimport { useEffect } from 'react';\r\nimport { useState } from 'react';\r\nimport { Bar } from 'react-chartjs-2'\r\nimport { Link } from 'react-router-dom'\r\nimport { Card, CardBody, CardFooter, CardHeader } from 'reactstrap'\r\nimport { rgbaColor } from '../helpers/utils';\r\nimport range from 'lodash/range';\r\nimport { Utility } from '../Engine/Common';\r\n\r\nconst dividerBorder = '1px solid rgba(255, 255, 255, 0.15)';\r\n//const listItemBorderColor = 'rgba(255, 255, 255, 0.05)';\r\n\r\nconst chartOptions = {\r\n legend: { display: false },\r\n scales: {\r\n yAxes: [\r\n {\r\n display: false,\r\n stacked: true\r\n }\r\n ],\r\n xAxes: [\r\n {\r\n stacked: false,\r\n ticks: { display: false },\r\n barPercentage: 0.9,\r\n categoryPercentage: 1.0,\r\n gridLines: {\r\n color: rgbaColor('#fff', 0.1),\r\n display: false\r\n }\r\n }\r\n ]\r\n }\r\n};\r\nconst OnlineUser = () => {\r\n const [chartData,setChartData]=useState({\r\n labels: range(1, 26),\r\n datasets: [\r\n {\r\n label: 'Users',\r\n backgroundColor: rgbaColor('#fff', 0.3),\r\n data: []\r\n }\r\n ]\r\n });\r\n const [currentActiveUser,setCurrentActiveUser]=useState(1);\r\n useEffect(() => {\r\n let id = setInterval(async() => {\r\n let temp =await Utility.ActiveUsers();\r\n setCurrentActiveUser(temp);\r\n let list1=[...chartData.datasets[0].data,temp];\r\n if(list1.length>24)\r\n list1.splice(0,1);\r\n setChartData({\r\n ...chartData,\r\n datasets:[{...chartData.datasets[0],data:list1}]\r\n });\r\n }, 10000);\r\n return () => clearInterval(id);\r\n }, [chartData]);\r\n \r\n return (\r\n \r\n \r\n
تعداد {currentActiveUser}  کاربر فعال در این لحظه
\r\n {/*
{currentActiveUser}
*/}\r\n
\r\n \r\n

\r\n تعداد کاربران فعال\r\n

\r\n \r\n
\r\n \r\n \r\n \r\n گزارش به لحظه کاربران\r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default OnlineUser","import React from 'react';\r\nimport { useEffect } from 'react';\r\nimport { useState } from 'react';\r\nimport { Card, CardBody, CardFooter, CardGroup, Col, Label, ListGroup, ListGroupItem, Row } from 'reactstrap';\r\nimport Avatar from '../assets/img/illustrations/lab.png';\r\nimport Flex from '../components/common/Flex';\r\nimport JoiSearchBox from '../components/joi/JoiSearchBox';\r\nimport { Utility } from '../Engine/Common';\r\nimport RelationController from '../Engine/RelationController';\r\nimport { ThemeCardHeader, ThemeDivider } from '../EngineForms/ThemeControl';\r\nimport PeriodStats from './SectionStatus/PeriodStats';\r\nimport OnlineUser from './OnlineUser';\r\nimport Logo from '../Pishgam/Logo';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport moment from 'jalali-moment'\r\nimport linechart from '../assets/img/pishgam/line-chart.png'\r\nimport { faCalendar } from '@fortawesome/free-solid-svg-icons';\r\nconst Welcome = () => {\r\n const [time, setTime] = useState();\r\n useEffect(() => {\r\n const LoadActiveParts = async () => {\r\n setTime((await Utility.GetNow()).date);\r\n }\r\n LoadActiveParts();\r\n }, [])\r\n return \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

راهبر گرامی خوش آمدید

\r\n سامانه آنلاین برنامه ارزیابی خارجی کیفیت\r\n \r\n \r\n \r\n\r\n \r\n
\r\n \r\n \r\n {time ? <>\r\n \r\n تاریخ امروز:\r\n {moment(time, 'MM/DD/YYYY')\r\n .locale('fa')\r\n .format('YYYY/M/D')}\r\n : null}\r\n \r\n
\r\n
\r\n
;\r\n}\r\nconst AdminDashboard = () => {\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let temp = await Utility.ActiveUsers();\r\n setUsersList([temp]);\r\n }\r\n fetch();\r\n }, [])\r\n\r\n const [list, setList] = useState([])\r\n const [usersList, setUsersList] = useState([])\r\n const Person = {\r\n col: \"12\",\r\n pid: 'Person',\r\n controlType: \"SearchControl\",\r\n title: \"نام یا شماره موبایل\",\r\n source: 'E11C8'\r\n };\r\n const PersonChanged = async (value) => {\r\n let data = {};\r\n data.baseID = value;\r\n data.relationTypeID = 'E0C12I1';\r\n let related = await RelationController.GetRelationBaseAsync(data);\r\n setList(related.dependencyIDes);\r\n }\r\n return (<>\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {list?.length > 0 ?\r\n \r\n {\r\n list?.map((item) => \r\n {item?.display}\r\n )\r\n }\r\n : <>\r\n \r\n
\r\n \"\"\r\n
\r\n\r\n
\r\n \r\n }\r\n
\r\n \r\n تعداد: {list?.length}\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n\r\n \r\n )\r\n}\r\n\r\nexport default AdminDashboard;","import React, { useContext, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Card, CardBody, CardSubtitle, CardTitle, Col, Row } from 'reactstrap';\r\nimport AppContext from '../context/Context';\r\nimport Flex from '../components/common/Flex';\r\nimport NumberFormat from 'react-number-format';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport CartContext from './ShopContext'\r\n\r\nconst ProductCardItem = ({ item }) => {\r\n const {\r\n ID,\r\n file,\r\n title,\r\n description,\r\n category,\r\n price,\r\n sale, isAvilebale, scale,\r\n AddToCart, Selected\r\n } = item;\r\n\r\n const { currency } = useContext(AppContext);\r\n const { cart, addToCart } = useContext(CartContext);\r\n return (\r\n \r\n \r\n \r\n {/* */}\r\n \r\n \r\n \r\n {title}\r\n \r\n \r\n {!!sale && (\r\n \r\n {currency}\r\n {price}\r\n \r\n )}\r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n {description}\r\n
\r\n addToCart(item)}\r\n style={{ alignSelf: \"flex-start\", whiteSpace: \"nowrap\" }}\r\n />\r\n
\r\n
\r\n
\r\n {/* \r\n {cartLoading ? (\r\n \r\n ) : (\r\n \r\n )}\r\n */}\r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nProductCardItem.propTypes = {\r\n item: PropTypes.object.isRequired,\r\n};\r\n\r\nProductCardItem.defaultProps = { isNew: false, isInStock: false, files: [] };\r\n\r\nexport default ProductCardItem;\r\n","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\nimport classNames from 'classnames'\r\nimport React, { Component } from 'react'\r\nimport {\r\n Button, Card, CardBody, CardGroup, Col, CustomInput,\r\n Form, InputGroup, InputGroupAddon, Label, Row\r\n} from 'reactstrap'\r\nimport Flex from '../components/common/Flex'\r\nimport AppContext from '../context/Context'\r\nimport ProductCardItem from './ProductCardItem'\r\nimport { CartContextClass } from './ShopContext'\r\nexport default class Shop extends Component {\r\n state = {\r\n GroupSource: [],\r\n Data: [],\r\n SelectedProduct: []\r\n }\r\n async componentDidMount() {\r\n if (this.state.GroupSource?.length === 0) {\r\n let groupSource = await CartContextClass.GetProductGroups(); \r\n let products = await CartContextClass.GetProducts();\r\n products = products.sort((item1,item2)=>(parseInt(item1.row)-parseInt(item2.row)))\r\n this.setState({ ...this.state, GroupSource: groupSource, Data: products })\r\n }\r\n let {currentTitle} = AppContext.Consumer;\r\n //this.myContext.setCurrentTitle('ثبت نام دوره های ارزیابی');\r\n }\r\n handleAddToCart = (ID) => {\r\n let selectedProduct = [...this.state.SelectedProduct, ID];\r\n this.setState({\r\n ...this.state,\r\n SelectedProduct: selectedProduct\r\n })\r\n };\r\n async GroupChanged(event) {\r\n let selectedGroup = event.target.value;\r\n let products = await CartContextClass.GetProducts(selectedGroup);\r\n this.setState({ ...this.state, Data: products })\r\n }\r\n render() {\r\n let total = 10;\r\n let isAsc = false;\r\n let isList = true;\r\n let isGrid = !isList;\r\n return <>\r\n \r\n {({setCurrentTitle})=>setCurrentTitle('ثبت نام دوره های ارزیابی')}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n گروه\r\n \r\n \r\n {this.state.GroupSource.map((item) =>\r\n ())}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n {/* */}\r\n {\r\n this.state.Data.map((item, index) => ())\r\n }\r\n {/* */}\r\n \r\n \r\n }\r\n}","import React, { useState } from 'react';\r\nimport { CardBody } from 'reactstrap';\r\nimport GetDisplay from '../Engine/Lan/Context';\r\nimport WhereCondition from './WhereCondition';\r\n\r\nconst ConditionHandler = ({ Condition, onChange,Editable }) => {\r\n const [isOpen, setIsOpen] = useState(false);\r\n const Close = () => {\r\n setIsOpen(false)\r\n let title = '';\r\n Condition.sqlCondition.BCs.map((block) => {\r\n block.Bts.map((bit) => title += `${bit.t1 ?? ''} ${bit.t2 ?? ''} ${bit.t3 ?? ''} ${bit.t4 ?? ''} `)\r\n })\r\n Condition.sqlCondition.title=title;\r\n onChange(Condition);\r\n }\r\n \r\n return (\r\n setIsOpen(Editable && !isOpen)} key={Condition.ID} >\r\n {Condition?.sqlCondition?.title ?? GetDisplay('noCondition')}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default ConditionHandler;","import { faDownload, faFilter, faSave } from \"@fortawesome/free-solid-svg-icons\";\r\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\r\nimport React, { Component } from \"react\";\r\nimport { CSVLink } from \"react-csv\";\r\nimport { Card, Col, Row, Spinner } from \"reactstrap\";\r\nimport ButtonIcon from \"../components/common/ButtonIcon\";\r\nimport Flex from \"../components/common/Flex\";\r\nimport { AuthenticationController } from \"../Engine/Authentication\";\r\nimport BaseInstance from \"../Engine/BaseInstance\";\r\nimport { AddNewTabIns } from \"../Engine/Common\";\r\nimport { ConditionManager } from \"../Engine/ConditionMaker\";\r\nimport FormManager from \"../EngineForms/FormManager\";\r\nimport { ThemeCardHeader } from \"../EngineForms/ThemeControl\";\r\nimport ConditionHandler from \"./ConditionHandler\";\r\nimport ObjectClassController from \"../Engine/ObjectClassController\";\r\n\r\nexport default class ConditionMakerComponent extends Component {\r\n state = {\r\n content: new ConditionManager(),\r\n conditionid: '',\r\n ReportResult: [],\r\n DataLoaded: true,\r\n\r\n }\r\n headers;\r\n async componentDidUpdate() {\r\n await this.Initialized();\r\n }\r\n async componentDidMount() {\r\n await this.Initialized();\r\n }\r\n async Initialized() {\r\n if (this.props.conditionid && this.props.conditionid !== this.state.conditionid) {\r\n let content = await ConditionManager.GetContentAsync(this.props.conditionid);\r\n this.setState({\r\n ...this.state,\r\n content,\r\n conditionid: this.props.conditionid\r\n });\r\n if (content?.AutoRun){\r\n await this.RunFilter();\r\n }\r\n\r\n }\r\n }\r\n RowDoubleClick(instance) {\r\n if (this.state.content.ActionLink !== '') {\r\n if (this.state.content.ActionFormID !== '') {\r\n AddNewTabIns(this.state.content.ActionLink, { Instance: instance, FormID: this.state.content.ActionFormID });\r\n }\r\n else {\r\n let id = instance.ID;\r\n if (this.state.content.ActionLinkValue)\r\n id = new BaseInstance(instance).GetValue(this.state.content.ActionLinkValue);\r\n window.open(this.state.content.ActionLink + id, \"_blank\");\r\n }\r\n }\r\n if (this.props.setSelected) {\r\n this.props.setSelected(instance);\r\n }\r\n\r\n }\r\n async RunFilter() {\r\n this.headers=await ObjectClassController.GetFieldForm(this.state.content.ResultFormID);\r\n if (this.state.content.MainCondition.ID !== null) {\r\n this.setState({\r\n ...this.state,\r\n ReportResult: [],\r\n DataLoaded: false\r\n });\r\n let ReportResult = await this.state.content.MainCondition.GetResult();\r\n if (ReportResult === null)\r\n ReportResult = [];\r\n this.setState({\r\n ...this.state,\r\n ReportResult,\r\n DataLoaded: true\r\n });\r\n }\r\n }\r\n OnChangeCondition() {\r\n this.setState({\r\n ...this.state,\r\n MainCondition: this.state.content.MainCondition\r\n })\r\n }\r\n Maker(condition) {\r\n let cmp = ;\r\n let result = [cmp];\r\n if (condition.nextCondition)\r\n result = [...result, ...this.Maker(condition.nextCondition)];\r\n\r\n return result;\r\n }\r\n convertForExcel(){\r\n let result = this.state.ReportResult.map(ins => new BaseInstance(ins).instanceToRow());\r\n return result;\r\n }\r\n async Save() {\r\n await this.state.content.SaveAsync();\r\n }\r\n render() {\r\n let Condition = this.state.content.MainCondition;\r\n return (this.props.CardOff ?\r\n <>\r\n {this.state.content?.TitleOff ? null : \r\n {this.Maker(Condition)}\r\n }\r\n {\r\n this.state.DataLoaded ?\r\n \r\n : \r\n } :\r\n \r\n \r\n {!this.state.DataLoaded ? < Spinner />\r\n : <>\r\n {this.state.content.ActiveCommand ?\r\n \r\n : null}\r\n {!this.state.content.IsReadOnly ? : null}\r\n {this.state.ReportResult?.length > 0 && AuthenticationController.HasRole('R2') ?\r\n {return{label:x.title,key: x.pid};}),{ label: 'شناسه', key: 'id' },]} data={this.convertForExcel()}\r\n filename={`${this.state.content.title ?? \"my-file\"}.csv`}>\r\n \r\n : null}\r\n }\r\n \r\n {this.state.content?.TitleOff ? null : \r\n {this.Maker(Condition)}\r\n }\r\n {\r\n this.state.DataLoaded ?\r\n \r\n : \r\n }\r\n \r\n );\r\n }\r\n}","import StorageController, { DataModel } from './StorageController'\r\nimport { NewCell, NewForm, NewPanel, SearchObject, Utility } from './Common'\r\nimport axiosInstance from './BaseSetting';\r\nimport BasePropertyController from './BasePropertyController';\r\nimport { toast } from 'react-toastify';\r\nimport ErrorHandler from './ErrorHandler';\r\nimport { InstanceController } from './InstanceController';\r\nimport GetDisplay from './Lan/Context';\r\nimport ConditionMaker from './ConditionMaker';\r\nexport default class ObjectClassController {\r\n static async LoadAsync(ocid, component) {\r\n if (Utility.IsClassID(ocid)) {\r\n let result = StorageController.FindModel(ocid, 'OBJECTCLASS');\r\n try {\r\n if (result === null) {\r\n let resultdata = await axiosInstance.get('ObjectClass/LoadObjectClass', {\r\n params: { ocid: ocid }\r\n });\r\n resultdata.data.EID = 'E' + ocid.split('E')[1].split('C')[0];\r\n let model = new DataModel();\r\n model.Key = ocid;\r\n model.Type = 'OBJECTCLASS';\r\n result = await this.classtoObject(resultdata.data);\r\n model.Data = { ...result, state: 0 };\r\n StorageController.AddToSource(model, component);\r\n }\r\n else {\r\n result = result.DataModel.Data;\r\n if (component != null)\r\n component.Update(result);\r\n }\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result;\r\n }\r\n return;\r\n\r\n }\r\n static async classtoObject(data) {\r\n let props = await BasePropertyController.GetPropertyList(data.OCP);\r\n let Extended = JSON.parse(data.Exd);\r\n data = { ...data, properties: props, Extended: Extended };\r\n return data;\r\n }\r\n static Update(datamodel) {\r\n StorageController.UpdateModel(datamodel);\r\n }\r\n static async SaveAsync(contentclass) {\r\n let result = {};\r\n try {\r\n let content = { ...contentclass };\r\n content.Exd = JSON.stringify(content.Extended);\r\n content.OCP = [];\r\n content.properties.map((prop) => {\r\n content.OCP = [...content.OCP, prop.ID];\r\n return content;\r\n })\r\n delete content.properties;\r\n delete content.Forms;\r\n delete content.Extended;\r\n delete content.Name;\r\n result = await axiosInstance.post('ObjectClass/SaveObjectClass', content);\r\n if (result.data !== '') {\r\n contentclass.ID = result.data;\r\n let model = StorageController.FindModel(contentclass.ID, 'OBJECTCLASS');\r\n if (model != null) {\r\n if (result.data !== \"\") {\r\n model.DataModel.Data = contentclass;\r\n model.state = 0;\r\n }\r\n }\r\n else {\r\n model = new DataModel();\r\n model.Key = contentclass.ID;\r\n model.Type = 'OBJECTCLASS';\r\n model.Data = contentclass;\r\n model.state = 0;\r\n StorageController.AddToSource(model, null);\r\n }\r\n toast.success('Operation succeed')\r\n }\r\n else {\r\n toast.error('object do not save')\r\n }\r\n\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result.data;\r\n }\r\n static replacer(key, value) {\r\n if (value === null) {\r\n return undefined;\r\n }\r\n return value;\r\n }\r\n static async SaveFormAsync(content) {\r\n let result = {};\r\n try {\r\n content = JSON.parse(JSON.stringify(content, this.replacer));\r\n content.rows = content.rows?.map(row => {\r\n if (row.controls instanceof Array)\r\n row.controls = row.controls?.map(col => {\r\n delete col.sourceId;\r\n delete col.source;\r\n return col;\r\n });\r\n return row;\r\n });\r\n result = await axiosInstance.post('ObjectClass/SaveForm', content);\r\n if (result.data !== '') {\r\n let classmodel = StorageController.FindModel(content.FormID.split('F')[0], 'OBJECTCLASS')\r\n if (classmodel !== null) {\r\n let model = StorageController.GetModel(content.FormID, 'FORM');\r\n let formindex = classmodel.DataModel.Data.Forms.findIndex(x => x.ID === content.FormID);\r\n content.FormID = result.data;\r\n classmodel.DataModel.Data.Forms.splice(formindex, formindex >= 0 ? 1 : 0, { ID: content.FormID, Display: content.title });\r\n if (model !== null) {\r\n model.Key = result.data;\r\n model.Data = content;\r\n }\r\n this.Update(classmodel.DataModel)\r\n }\r\n content.FormID = result.data;\r\n toast.success(GetDisplay('Save-msg'))\r\n }\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result.data;\r\n }\r\n static async FillRelationDisplay(data) {\r\n if (data?.Relations !== undefined) {\r\n for (var i = 0; i < data.Relations.length; i++) {\r\n if (data.Relations[i].DIS === undefined) {\r\n let result = await InstanceController.LoadInstanceAsync(data.Relations[i].ID);\r\n if (result !== undefined) {\r\n data.Relations[i].DIS = result.DIS;\r\n data.Relations[i].Refrence = result.Prop.find(x => x.PID === \"PC387\").IPV;\r\n }\r\n }\r\n }\r\n }\r\n return data;\r\n }\r\n static async GetFormAsync(formid, component, autoForm) {\r\n let result = {};\r\n try {\r\n let version = formid?.split('F')[1]?.split('V')[1];\r\n let model = StorageController.GetModel(formid, 'FORM');\r\n if (model === null || model === '') {\r\n let tempdata = {};\r\n if (!version || parseInt(version) > 0) {\r\n let tempresult = await axiosInstance.get('ObjectClass/GetForm', {\r\n params: { formid: formid }\r\n });\r\n tempdata = tempresult.data;\r\n if (tempdata !== '') {\r\n model = new DataModel();\r\n model.Data = JSON.parse(tempdata);\r\n model.Data = await this.FillRelationDisplay(model.Data);\r\n model.Key = formid;\r\n model.Type = 'FORM';\r\n StorageController.AddToSource(model, component);\r\n }\r\n }\r\n else {\r\n result = await this.FormBuilder(formid, autoForm);\r\n }\r\n }\r\n else if (component != null)\r\n component.Update(model);\r\n if (model !== null) {\r\n result = model.Data;\r\n }\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result;\r\n }\r\n static async GetPanelListAsync(component) {\r\n let result = {};\r\n try {\r\n let model = StorageController.GetModel('Panel', 'PANELS');\r\n if (model === null) {\r\n let tempresult = await axiosInstance.get('ObjectClass/GetAllForms', {\r\n params: { ocid: 'Panel' }\r\n });\r\n if (tempresult.data !== '') {\r\n model = new DataModel();\r\n model.Data = tempresult.data;\r\n model.Key = 'Panel';\r\n model.Type = 'PANELS';\r\n StorageController.AddToSource(model, component);\r\n }\r\n }\r\n if (model !== null) {\r\n result = model.Data;\r\n }\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result;\r\n }\r\n static async GetAllEntities() {\r\n let model = StorageController.GetModel('AllEntities', 'Entities');\r\n if (model === null) {\r\n let entities = await SearchObject(\"#ALL$\", \"ENTITY\", \"\")\r\n model = new DataModel();\r\n model.Data = entities;\r\n model.Key = 'AllEntities';\r\n model.Type = 'Entities';\r\n StorageController.AddToSource(model, null);\r\n }\r\n return model.Data;\r\n\r\n }\r\n static async GetFieldForm(formid, props = []) {\r\n let model = StorageController.GetModel(formid, 'FORM');\r\n let oc = await this.LoadAsync(Utility.GetClassID(formid));\r\n let form = null;\r\n let result = [];\r\n if (model && oc) {\r\n form = model.Data;\r\n for (var i = 0; i < form.rows.length; i++) {\r\n let row = form.rows[i];\r\n for (var j = 0; j < row.controls.length; j++) {\r\n result = [...result, row.controls[j]];\r\n }\r\n }\r\n }\r\n return result;\r\n }\r\n static async FillForm(formid, props = []) {\r\n let model = StorageController.GetModel(formid, 'FORM');\r\n let oc = await this.LoadAsync(Utility.GetClassID(formid));\r\n let form = null;\r\n if (model && oc) {\r\n form = model.Data;\r\n if (model.state === 0 && !form.full) {\r\n for (var i = 0; i < form.rows.length; i++) {\r\n let row = form.rows[i];\r\n for (var j = 0; j < row.controls.length; j++) {\r\n if (oc.Extended?.Required &&\r\n oc.Extended.Required.includes(row.controls[j].pid) &&\r\n (!row.controls[j].required || row.controls[j].required === '')\r\n )\r\n row.controls[j].required = 'this field is required'\r\n if ((props?.length > 0 ? props?.includes(row.pid) : true) &&(\r\n row.controls[j].controlType === \"ComboBox\" ||\r\n row.controls[j].controlType === \"SearchControl\" ||\r\n row.controls[j].controlType === \"InstanceControl\") ){\r\n try {\r\n let baseproperty = await BasePropertyController.LoadAsync(row.controls[j].pid);\r\n let con = '';\r\n row.controls[j].sourceId = baseproperty.PSource;\r\n if (row.controls[j].controlType === \"ComboBox\") {\r\n if (row.controls[j].pid === \"PC490\" && formid===\"O30E12C11F0V1\"){\r\n let condition = new ConditionMaker('E12C9');\r\n condition.AddCondition('PC116', '=', `true`)\r\n let s = await condition.GetResult();\r\n s=s.map(item => {\r\n return { \r\n id: item.ID, \r\n display: item.DIS \r\n };\r\n });\r\n \r\n row.controls[j].source = s;\r\n }\r\n else\r\n row.controls[j].source = await SearchObject(con, baseproperty.PSource, '<>');\r\n }\r\n } catch (error) {\r\n console.log(error, row.controls[j].pid)\r\n }\r\n\r\n }\r\n }\r\n }\r\n form.full = true;\r\n }\r\n }\r\n\r\n return form;\r\n }\r\n static async FormBuilder(formid, autoForm) {\r\n let occ = await this.LoadAsync(formid.split('F')[0]);\r\n let dataForm = '';\r\n if (autoForm === FormType.DataForm) {\r\n dataForm = JSON.parse(JSON.stringify(NewForm));\r\n dataForm.title = occ.Name;\r\n dataForm.ShowType = \"vertical\";\r\n dataForm.FormID = occ.ID + 'F0V0';\r\n dataForm.Commands = this.CommandWithprm(occ.prm);\r\n let formation = this.calculateRowCol(occ.properties.length);\r\n let rows = [];\r\n let counter = 0;\r\n for (let i = 0; i < formation.row; i++) {\r\n let row = { height: \"auto\", controls: [] };\r\n for (let j = 0; j < formation.col; j++) {\r\n let prop = occ.properties[counter]\r\n if (prop) {\r\n let cell = { ...NewCell };\r\n cell.controlType = prop.StyleW2.Control;\r\n cell.pid = prop.ID;\r\n cell.title = prop.Name;\r\n row.controls = [...row.controls, cell];\r\n counter++;\r\n }\r\n else\r\n break;\r\n }\r\n rows = [...rows, row];\r\n }\r\n dataForm.rows = rows;\r\n }\r\n else if (autoForm === FormType.ListForm) {\r\n dataForm = { ...NewForm };\r\n dataForm.title = occ.Name;\r\n dataForm.ShowType = \"horizental\";\r\n dataForm.FormID = occ.ID + 'F1V0';\r\n dataForm.Commands = this.CommandWithprm(occ.prm);\r\n let properties = occ.properties.filter(x => x.StyleW2.Control !== 'None');\r\n let counter = 0;\r\n let row = { height: \"auto\", controls: [] };\r\n for (let j = 0; j < properties.length; j++) {\r\n let prop = properties[counter]\r\n if (prop) {\r\n let cell = { ...NewCell };\r\n cell.controlType = prop.StyleW2.Control;\r\n cell.pid = prop.ID;\r\n cell.title = prop.Name;\r\n row.controls = [...row.controls, cell];\r\n counter++;\r\n }\r\n else\r\n break;\r\n }\r\n dataForm.rows = [row];\r\n }\r\n else if (autoForm === FormType.Panel) {\r\n this.FormBuilder(occ.ID, FormType.DataForm);\r\n this.FormBuilder(occ.ID, FormType.ListForm);\r\n dataForm = { ...NewPanel };\r\n dataForm.title = occ.Name;\r\n dataForm.FormID = 'Panel' + occ.ID + 'F3V0';\r\n dataForm.Commands = this.CommandWithprm(occ.prm, FormType.Panel, occ.ID);\r\n dataForm.rows[0].controls[0].formid = occ.ID + 'F0V0';\r\n dataForm.rows[2].controls[0].formid = occ.ID + 'F1V0';\r\n dataForm.rows[2].controls[0].Editor = occ.ID + 'F0V0';\r\n }\r\n let model = StorageController.GetModel(formid, 'FORM');\r\n if ((model === null || model === '') && dataForm !== '') {\r\n model = new DataModel();\r\n model.Data = dataForm;\r\n //model.Data = await this.FillRelationDisplay(model.Data);\r\n model.Key = formid;\r\n model.Type = 'FORM';\r\n StorageController.AddToSource(model);\r\n }\r\n return dataForm;\r\n }\r\n static CommandWithprm(prm, formtype, ocid) {\r\n let result = [];\r\n if (prm & 1 === 1)\r\n result = [formtype === FormType.Panel ? { Command: \"New\", Order: [ocid + \"F0V0\"] } : \"New\"];\r\n if (prm & 2 === 2)\r\n result = [...result, formtype === FormType.Panel ? { Command: \"Save\", Order: [ocid + \"F0V0\"] } : \"Save\"];\r\n if ((prm & 1 === 1) && (prm & 2 === 2))\r\n result = [...result, formtype === FormType.Panel ? { Command: \"Save-New\", Order: [ocid + \"F0V0\"] } : \"Save-New\"];\r\n if (prm & 4 === 4)\r\n result = [...result, formtype === FormType.Panel ? { Command: \"Delete\", Order: [ocid + \"F0V0\"] } : \"Delete\"];\r\n if (prm & 8 === 8)\r\n result = [...result, formtype === FormType.Panel ? { Command: \"Refresh\", Order: [ocid + \"F1V0\"] } : \"Refresh\"];\r\n return result;\r\n }\r\n static calculateRowCol(cellCount) {\r\n let result = { row: 1, col: 3 };\r\n let row = parseInt(cellCount / 3);\r\n result.row = (row * 3) < cellCount ? row + 1 : row;\r\n return result;\r\n }\r\n static async GetFormListAsync(classid) {\r\n let result = {};\r\n try {\r\n let model = StorageController.GetModel(classid, 'FORM');\r\n if (model === null) {\r\n let tempresult = await axiosInstance.get('ObjectClass/GetAllForms', {\r\n params: { ocid: classid }\r\n });\r\n if (tempresult.data !== '') {\r\n model = new DataModel();\r\n model.Data = tempresult.data;\r\n model.Key = classid;\r\n model.Type = 'FORM';\r\n StorageController.AddToSource(model);\r\n }\r\n }\r\n if (model !== null) {\r\n result = model.Data;\r\n }\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n return result;\r\n }\r\n static async FillObjectClass(props = []) {\r\n for (var j = 0; j < props.length; j++) {\r\n\r\n try {\r\n if (props[j].StyleW2.Control === \"ComboBox\") {\r\n props[j].source = await SearchObject('', props[j].PSource, '<>');\r\n }\r\n } catch (error) {\r\n console.log(error, props[j].pid)\r\n }\r\n }\r\n return props;\r\n }\r\n static async GetClasses(entityid) {\r\n let response = await axiosInstance.get('ObjectClass/GetClasses', { params: { entityid: entityid } });\r\n if (response.status === 200) {\r\n let result = [];\r\n for (let index = 0; index < response.data.length; index++) {\r\n const element = response.data[index];\r\n let clsloaded = await this.classtoObject(element);\r\n result = [...result, clsloaded];\r\n }\r\n return result;\r\n }\r\n return null;\r\n }\r\n static async GetCode(classid, ctype) {\r\n let codetype = ctype === 'dart' ? 'GetStructuerDart' : 'GetStructuerjs';\r\n let response = await axiosInstance.get(`ObjectClass/${codetype}`, { params: { ocid: classid } });\r\n if (response.status === 200) {\r\n return response.data;\r\n }\r\n return null;\r\n }\r\n}\r\nexport const FormType = {\r\n DataForm: '0',\r\n ListForm: '1',\r\n Panel: '3'\r\n}\r\n\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Col, CardHeader, Row } from 'reactstrap';\nimport classNames from 'classnames';\n\nconst Title = ({ titleTag: TitleTag, className, breakPoint, children }) => (\n \n {children}\n \n);\n\nTitle.propsType = {\n breakPoint: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl', 'xxl']),\n titleTag: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n className: PropTypes.string,\n children: PropTypes.node\n};\n\nTitle.defaultProps = { titleTag: 'h5' };\n\nconst FalconCardHeader = ({ title, light, titleTag, titleClass, className, breakPoint, children }) => (\n \n {children ? (\n \n \n \n {title}\n \n \n \n {children}\n \n \n ) : (\n \n {title}\n \n )}\n \n);\n\nFalconCardHeader.propTypes = {\n title: PropTypes.node.isRequired,\n light: PropTypes.bool,\n breakPoint: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl', 'xxl']),\n titleTag: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n titleClass: PropTypes.string,\n className: PropTypes.string,\n children: PropTypes.node\n};\n\nFalconCardHeader.defaultProps = { light: true };\n\nexport default FalconCardHeader;\n","import BaseInstance from './BaseInstance';\r\nimport axiosInstance, { settings } from './BaseSetting';\r\nimport { GetFile } from './Common';\r\n\r\nexport class AuthenticationController {\r\n static Person = null;\r\n static base64ProfileImage;\r\n static async Pictuer() {\r\n if (!this.base64ProfileImage) {\r\n let result = localStorage.getItem('user-info');\r\n if (result) {\r\n result = JSON.parse(result);\r\n if (result.person) {\r\n result = new BaseInstance(JSON.parse(result.person));\r\n let picdata = result.GetValue('PC105');\r\n if (picdata) {\r\n let file1 = await GetFile(picdata)\r\n this.base64ProfileImage = `data:image/jpeg;base64,${Buffer.from(file1.data, 'binary').toString('base64')}`;\r\n }\r\n }\r\n }\r\n else {\r\n window.location.href=\"/\";\r\n }\r\n }\r\n return this.base64ProfileImage;\r\n }\r\n static FullName() {\r\n let result = localStorage.getItem('person');\r\n return result;\r\n }\r\n static roles =[];\r\n static Notroles =[];\r\n static async HasRole(role) {\r\n if(AuthenticationController.roles.findIndex(x=>x===role)>-1)\r\n return true;\r\n if(AuthenticationController.Notroles.findIndex(x=>x===role)>-1)\r\n return false;\r\n let response = await axiosInstance.get(settings.Server + `Authentication/isinrole`, {params:{ role }});\r\n if(response.status===200){\r\n if(response.data){\r\n AuthenticationController.roles=[...AuthenticationController.roles,role];\r\n }\r\n return response.data;\r\n }\r\n AuthenticationController.Notroles=[...AuthenticationController.Notroles,role];\r\n return false;\r\n }\r\n static CheckRole(role) {\r\n let result = JSON.parse(localStorage.getItem('user-mode'));\r\n return result.findIndex(x => x === role) >= 0;;\r\n }\r\n static async Login(user, pass, relogin,captcha=null) {\r\n let result = false;\r\n try {\r\n let resultback;\r\n if (user === '' && pass === '' && relogin){\r\n resultback = await axiosInstance.post(settings.Server + `Authentication/relogin`, { ID: relogin });\r\n }\r\n else{\r\n resultback = await axiosInstance.post(settings.Server + `Authentication/Login`, { UserName: user, Password: pass,RecaptchaToken:captcha });\r\n }\r\n console.log(settings.Server + `Authentication/Login`)\r\n if (resultback.status === 200 && resultback?.data?.token !== null) {\r\n result = true;\r\n let userInfo = JSON.stringify(resultback.data);\r\n localStorage.setItem('token', resultback.data.token);\r\n localStorage.setItem('user-info', userInfo);\r\n localStorage.setItem('user-mode', resultback.data.mode);\r\n\r\n this.Person = JSON.parse(resultback.data.person);\r\n if (this.Person) {\r\n let resultperson = this.Person.Prop.find(x => x.PID === \"PC88\").IPV + \" \" +\r\n this.Person.Prop.find(x => x.PID === \"PC323\").IPV;\r\n localStorage.setItem('person', resultperson);\r\n }\r\n // if (!relogin)\r\n // window.location.reload(false);\r\n }\r\n } catch (e) {\r\n console.log(e, result);\r\n }\r\n return result;\r\n }\r\n static LogOut() {\r\n let result = {};\r\n try {\r\n localStorage.removeItem('token');\r\n localStorage.removeItem('user-info');\r\n localStorage.removeItem('user-mode');\r\n localStorage.removeItem('person');\r\n localStorage.removeItem('org');\r\n window.location.href = '/';\r\n } catch (e) {\r\n console.log(e, result);\r\n }\r\n return result;\r\n }\r\n static async ReLogin() {\r\n if (localStorage.getItem('token') !== null)\r\n return await this.Login('', '', localStorage.getItem('token'));\r\n return false;\r\n }\r\n static IsLogin() {\r\n return (localStorage.getItem('token') !== null\r\n && this.FullName() !== '');\r\n\r\n }\r\n static async GetCode(userkey){\r\n let response = await axiosInstance.get(settings.Server + `Authentication/CPR`, {params:{ userkey }});\r\n console.log(response)\r\n if(response.status===200)\r\n return response.data;\r\n\r\n }\r\n static async CheckChangePasswordCode(code,key){\r\n let response = await axiosInstance.get(settings.Server + `Authentication/CCPC`, {params:{ code,key }});\r\n console.log(response)\r\n if(response.status===200)\r\n return response.data;\r\n }\r\n static async ChangePassword(password,key){\r\n let response = await axiosInstance.get(settings.Server + `Authentication/ChangePassword`, {params:{ password,key }});\r\n console.log(response)\r\n if(response.status===200)\r\n return response.data;\r\n }\r\n}","export default class StorageController {\r\n static SourceList = [{ DataModel: { Key: '', Type:''}}];\r\n static AddToSource(dataModel, component = null) {\r\n try {\r\n \r\n let model = new ComponentSource();\r\n model.DataModel = dataModel;\r\n if (component !== null)\r\n model.Components = [...model.Components, component];\r\n this.SourceList = [...this.SourceList, model];\r\n if (component !== null)\r\n component.Update(dataModel);\r\n } catch (e) {\r\n console.log(e);\r\n }\r\n }\r\n static GetModel(key, type) {\r\n let list = this.SourceList.find(x => x.DataModel.Key === key && x.DataModel.Type === type);\r\n if (list !== undefined)\r\n return list.DataModel;\r\n return null;\r\n }\r\n static FindModel(instanceid, type = 'INSTANCE') {\r\n let result = null;\r\n let list = this.SourceList.find(x => x.DataModel.Type === type && x.DataModel.Key === instanceid);\r\n if (list !== null && list !== undefined)\r\n result = list;\r\n return result;\r\n }\r\n static Remove(instanceid, type = 'INSTANCE') {\r\n let index = this.SourceList.findIndex(x => x.DataModel.Type === type && x.DataModel.Key === instanceid);\r\n this.SourceList.splice(index, 1);\r\n }\r\n static Update(csource) {\r\n csource.Components.map((component) => component.Update(csource.DataModel))\r\n }\r\n static UpdateModel(dataModel) {\r\n let csource = this.FindModel(dataModel.Key, dataModel.Type)\r\n csource.DataModel = dataModel;\r\n csource.Components.map((component) => component.Update(csource.DataModel))\r\n }\r\n}\r\n\r\nclass ComponentSource {\r\n DataModel ;\r\n Components = [];\r\n}\r\n\r\nexport class DataModel {\r\n Key = '';\r\n Data = {}\r\n Type = {};\r\n state = 0;\r\n}\r\n","import React, { Component } from 'react';\r\nimport { toast } from 'react-toastify';\r\nimport { Label } from 'reactstrap';\r\n\r\nexport default class ErrorHandler extends Component {\r\n state = {\r\n error: null, ErrorInfo: null\r\n }\r\n componentDidCatch(error, errorInfo) {\r\n this.setState({\r\n error, errorInfo\r\n })\r\n }\r\n static async CominicationError(ex) {\r\n if (ex?.response?.status === 404)\r\n console.log('404');\r\n else if (ex?.response?.status === 401) {\r\n }\r\n else if (ex?.response?.status >= 500) {\r\n toast.error(ex.response.data.detail)\r\n }\r\n else if(ex.message==='Network Error'){\r\n toast.error('مشکل ارتباط باسرور لطفا ارتباط اینترنت خود را چک بفرمایید و مجددا تلاش کنید')\r\n }\r\n console.log(ex?.response);\r\n }\r\n\r\n render() {\r\n if (this.state.error !== null) {\r\n console.log(this.state.error.toString());\r\n return \r\n }\r\n return this.props.children;\r\n }\r\n}","module.exports = __webpack_public_path__ + \"static/media/corner-1.dfdb6c51.png\";","module.exports = __webpack_public_path__ + \"static/media/pg-logo.605a02ad.png\";","import React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { Link } from 'react-router-dom';\nimport { Card, CardBody } from 'reactstrap';\n\nconst Error404 = () => (\n \n \n
404
\n

\n صفحه مورد نظر یافت نشد.\n

\n
\n

\n مطمئن شوید لینک مورد نظر صحیح می باشد.\n \n با ما تماس بگیرید\n \n .\n

\n \n \n صفحه اصلی\n \n
\n
\n);\n\nexport default Error404;\n","import React, { Component } from \"react\";\r\nimport { Card, CardBody, CardFooter, Col, CustomInput, Button, FormGroup, Input, Label, Row, InputGroup, InputGroupText, ButtonGroup, Badge, Spinner } from \"reactstrap\";\r\nimport FalconCardHeader from \"../../components/common/FalconCardHeader\";\r\nimport iconPaypalFull from '../../assets/img/icons/CardToCard.png';\r\nimport iconpaymentdoc from '../../assets/img/icons/paymentdoc.png';\r\nimport iconMellat from '../../assets/img/icons/mellat.png';\r\nimport iconSepah from '../../assets/img/icons/sepah.png';\r\nimport DateControl from '../../components/joi/DateControl'\r\nimport Flex from \"../../components/common/Flex\";\r\nimport { PaymentDocument } from \"../ShopContext\";\r\nimport { MoneyFormat, Utility } from \"../../Engine/Common\";\r\nimport { AuthenticationController } from \"../../Engine/Authentication\";\r\nimport AppContext from \"../../context/Context\";\r\nexport default class PaymentType extends Component {\r\n state = {\r\n Header: { ID: '' },\r\n amount: 0,\r\n cusomer: {},\r\n paymentdocument: null,\r\n ActiveMethod: 31,\r\n selectedBank: 1\r\n }\r\n labelClasses = 'ls text-600 font-weight-semi-bold mb-0 text-truncate';\r\n async componentDidMount() {\r\n await this.initial();\r\n }\r\n async componentDidUpdate() {\r\n await this.initial();\r\n }\r\n isadmin=false;\r\n async initial() {\r\n if (this.state.paymentdocument === null) {\r\n this.isadmin = await AuthenticationController.HasRole('R2');\r\n if (this.props?.match?.params?.id &&\r\n this.state.Header.ID !== this.props?.match?.params?.id) {\r\n let invoiceDoc = await PaymentDocument.LoadInvoice(this.props?.match?.params?.id);\r\n let doc = {};\r\n if (invoiceDoc.Payments.length === 0) {\r\n doc = new PaymentDocument(undefined, invoiceDoc.Header);\r\n doc.PaymentType = 1;\r\n doc.ReciverAccount = 'mellat';\r\n doc.RegisterDate = (await Utility.GetNow()).toString;\r\n }\r\n else\r\n doc = invoiceDoc.Payments[0];\r\n let method = this.isadmin ? 31 : 7;\r\n this.setState({\r\n ...this.state,\r\n Header: invoiceDoc.Header,\r\n ActiveMethod: method,\r\n paymentdocument: doc\r\n });\r\n }\r\n }\r\n }\r\n\r\n async ChangeValue(value, prop) {\r\n if (prop === 'PaymentType')\r\n await this.initial();\r\n this.state.paymentdocument[prop] = value;\r\n this.setState({\r\n ...this.state,\r\n paymentdocument: this.state.paymentdocument\r\n });\r\n }\r\n async HeaderState(id) {\r\n this.setState({\r\n ...this.state,\r\n Working:true\r\n })\r\n let Header = this.state.Header;\r\n Header.state = id;\r\n await Header.SaveAsync();\r\n this.setState({\r\n ...this.state,\r\n Header,\r\n Working:false\r\n })\r\n }\r\n render() {\r\n return (<>\r\n \r\n {({setCurrentTitle})=>setCurrentTitle('نحوه پرداخت')}\r\n \r\n {this.state.paymentdocument !== null ?\r\n \r\n \r\n {MoneyFormat(this.state.Header.total)}\r\n مبلغ قابل پرداخت\r\n \r\n {this.state.Header.state === 'O30E12C63I1' ? 'ایجاد شده' :\r\n (this.state.Header.state === 'O30E12C63I2' ? 'در انتظار تایید' : 'تایید شده')}\r\n \r\n \r\n \r\n \r\n \r\n {(this.state.ActiveMethod & 1) === 1 ? <>\r\n this.ChangeValue(target.value, 'PaymentType')}\r\n label={\r\n \r\n پرداخت آنلاین\r\n \r\n }\r\n />\r\n

جهت اقدام به پرداخت آنلاین یکی از درگاه های زیر را انتخاب نمایید

\r\n {(this.state.ActiveMethod & 1) === parseInt(this.state.paymentdocument.PaymentType) ?\r\n \r\n \r\n {\r\n this.setState({ ...this.state, selectedBank: parseInt(target.value) })\r\n this.ChangeValue('mellat', 'ReciverAccount')\r\n }}\r\n label={\r\n \"بانک\r\n }\r\n />\r\n \r\n \r\n {\r\n this.setState({ ...this.state, selectedBank: parseInt(target.value) })\r\n this.ChangeValue('sepah', 'ReciverAccount')\r\n }}\r\n label={\r\n \"بانک\r\n }\r\n />\r\n \r\n : null}\r\n : null}\r\n {(this.state.ActiveMethod & 2) === 2 ? <>\r\n this.ChangeValue(target.value, 'PaymentType')}\r\n label={\r\n \r\n کارت به کارت\r\n \"\"\r\n \r\n }\r\n />\r\n

\r\n پس از انتقال وجه فاکتور بصورت کارت به کارت، مشخصات پرداخت را اینجا وارد نمایید\r\n

\r\n {(this.state.ActiveMethod & 2) === parseInt(this.state.paymentdocument.PaymentType) ?
\r\n \r\n \r\n \r\n \r\n this.ChangeValue(target.value, 'Amount')}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n this.ChangeValue(target.value, 'trackNumber')}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n this.ChangeValue(target.value, 'CardNumber')}\r\n />\r\n \r\n XXXX XXXX XXXX\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n this.ChangeValue(target.value, 'ReciverAccount')}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n this.ChangeValue(value + ' ' + hour, 'PaymentTime')}\r\n />\r\n \r\n \r\n \r\n
: null}\r\n\r\n : null}\r\n {(this.state.ActiveMethod & 4) === 4 ? <>\r\n this.ChangeValue(target.value, 'PaymentType')}\r\n label={\r\n \r\n فیش بانکی\r\n \"\"\r\n \r\n }\r\n />\r\n

\r\n پس از پرداخت وجه فاکتور توسط بانک، اطلاعات فیش بانکی را اینجا وارد نمایید\r\n

\r\n\r\n {(this.state.ActiveMethod & 4) === parseInt(this.state.paymentdocument.PaymentType) ?\r\n
\r\n \r\n \r\n \r\n this.ChangeValue(target.value, 'Amount')}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n this.ChangeValue(target.value, 'trackNumber')}\r\n />\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n this.ChangeValue(target.value, 'ReciverAccount')}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n this.ChangeValue(value + ' ' + hour, 'PaymentTime')}\r\n />\r\n \r\n \r\n \r\n
\r\n : null}\r\n : null}\r\n {(this.state.ActiveMethod & 16) === 16 ? <>\r\n this.ChangeValue(target.value, 'PaymentType')}\r\n label={\r\n \r\n پرداخت نقدی\r\n \r\n }\r\n />\r\n

\r\n پرداخت وجه نقد\r\n

\r\n {(this.state.ActiveMethod & 16) === parseInt(this.state.paymentdocument.PaymentType) ?\r\n \r\n \r\n \r\n \r\n this.ChangeValue(target.value, 'Amount')}\r\n />\r\n \r\n \r\n \r\n \r\n this.ChangeValue(value + ' ' + hour, 'PaymentTime')}\r\n />\r\n \r\n \r\n : null}\r\n : null}\r\n {(this.state.ActiveMethod & 8) === 8 ? <>\r\n this.ChangeValue(target.value, 'PaymentType')}\r\n label={\r\n \r\n پرداخت اعتباری\r\n \r\n }\r\n />\r\n

\r\n تخصیص اعتبار به اندازه فاکتور انتخابی\r\n

\r\n : null}\r\n \r\n
\r\n
\r\n \r\n \r\n {this.state.Working?:\r\n (this.state.Header?.state !== 'O30E12C63I3' ?<>\r\n {\r\n this.isadmin && Utility.IsInstanceID(this.state.paymentdocument.ID) ? \r\n \r\n : null\r\n }\r\n \r\n : null)\r\n }\r\n \r\n \r\n
: null}\r\n );\r\n }\r\n}\r\nPaymentType.defaultProps = {\r\n Amount: 0,\r\n Docid: ''\r\n}\r\n","import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { Card, CardBody, Col, Input, Row } from 'reactstrap';\r\nimport { Link } from 'react-router-dom';\r\nimport Background from '../../components/common/Background';\r\nimport corner1 from '../../assets/img/illustrations/corner-1.png';\r\nimport corner2 from '../../assets/img/illustrations/corner-2.png';\r\nimport corner3 from '../../assets/img/illustrations/corner-3.png';\r\nimport ConditionMaker from '../../Engine/ConditionMaker';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport BaseInstance from '../../Engine/BaseInstance';\r\nimport { faAngleLeft } from '@fortawesome/free-solid-svg-icons';\r\nimport RelationController from '../../Engine/RelationController';\r\nimport { ExternalLink } from '../PishgamContext';\r\nimport { Utility } from '../../Engine/Common';\r\nimport Flex from '../../components/common/Flex';\r\n\r\nconst getImage = color => {\r\n switch (color) {\r\n case 'warning':\r\n return corner1;\r\n case 'info':\r\n return corner2;\r\n case 'success':\r\n return corner3;\r\n default:\r\n return corner1;\r\n }\r\n};\r\n\r\nconst LabDataEntryCard = ({ title, rate, orgid, to, color, P1, P3 }) => {\r\n const [samples, setSamples] = useState(null)\r\n const [section, setSection] = useState(null)\r\n const [sample, setSample] = useState(null);\r\n const [links, setLinks] = useState();\r\n const [documents, setDocuments] = useState();\r\n\r\n useEffect(() => {\r\n const LoadSample = async () => {\r\n if (samples === null) {\r\n let condition = new ConditionMaker('O30E23C4');\r\n condition = condition.AddCondition('P1', '=', P1, 'AND')\r\n .AddCondition('P3', '=', P3,);\r\n let list = await condition.GetResult();\r\n setSamples(list);\r\n if (P1 === 'O30E23C2I15' || P1 === 'O30E23C2I16') {\r\n setSample(list[0]);\r\n }\r\n\r\n let sec = await InstanceController.LoadInstanceAsync(P1);\r\n let inssec = new BaseInstance(sec);\r\n if (inssec.GetValue('PC556')) {\r\n let sec = JSON.parse(inssec.GetValue('PC556'));\r\n if (!Array.isArray(sec))\r\n sec = [sec];\r\n setSection(sec);\r\n }\r\n\r\n }\r\n let data = {};\r\n data.baseID = P1;\r\n data.relationType = { ID: 'E0C12I4', FormID: 'O30E23C2F0V1', DIS: 'لینکها', Refrence: 'O30E0C1', Type: 6 };\r\n data.relationTypeID = \"E0C12I4\";\r\n let related = await RelationController.GetRelationAsync(data);\r\n let tempDocuments = [];\r\n if (related.dependencyIDes.length > 0) {\r\n for (let index = 0; index < related.dependencyIDes.length; index++) {\r\n const element = related.dependencyIDes[index];\r\n let ins = new BaseInstance(await InstanceController.LoadInstanceAsync(element.id));\r\n if (ins.GetValue('PC533') === '1' || ins.GetValue('PC533') === '16')\r\n tempDocuments = [...tempDocuments, ins];\r\n }\r\n setDocuments(tempDocuments)\r\n }\r\n }\r\n LoadSample();\r\n }, [P1,P3,samples])\r\n const selectSample = async ({ target }) => {\r\n if (Utility.IsInstanceID(target.value)) {\r\n let data = {};\r\n data.baseID = target.value;\r\n data.relationTypeID = 'E0C12I4';\r\n data.relationType = { id: 'E0C12I4', display: 'لینکها' };\r\n let related = await RelationController.GetRelationAsync(data);\r\n let templinks = [];\r\n for (let index = 0; index < related.dependencyIDes.length; index++) {\r\n const element = related.dependencyIDes[index];\r\n let loadobject = new ExternalLink(await InstanceController.LoadInstanceAsync(element.id));\r\n if (loadobject && (!loadobject.Type || loadobject.Type === ''))\r\n templinks = [...templinks, loadobject];\r\n\r\n }\r\n setLinks(templinks)\r\n setSample(samples.find(x => x.ID === target.value))\r\n }\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {title}\r\n
\r\n
\r\n
\r\n {\r\n documents?.map((doc) => \r\n {doc.GetValue('PC95')}\r\n )\r\n }\r\n
\r\n
\r\n {(P1 !== 'O30E23C2I15' && P1 !== 'O30E23C2I16') ?\r\n \r\n \r\n {samples !== null ? samples.map((sample) => (\r\n \r\n )) : null}\r\n : \r\n }\r\n \r\n {\r\n section?.map((sec) => (\r\n \r\n {sec?.display}\r\n \r\n \r\n ))\r\n }\r\n \r\n \r\n {links?.map(link => (\r\n \r\n \r\n {link.Title}\r\n \r\n \r\n ))}\r\n \r\n
\r\n
\r\n );\r\n};\r\n\r\nLabDataEntryCard.propTypes = {\r\n title: PropTypes.string.isRequired,\r\n rate: PropTypes.string,\r\n linkText: PropTypes.string,\r\n to: PropTypes.string,\r\n color: PropTypes.string,\r\n children: PropTypes.node\r\n};\r\n\r\nLabDataEntryCard.defaultProps = {\r\n linkText: 'See all',\r\n to: '#!',\r\n color: 'primary'\r\n};\r\n\r\nexport default LabDataEntryCard;\r\n","import React from 'react';\r\nimport { Card, CardBody } from 'reactstrap';\r\nimport FalconCardHeader from '../../components/common/FalconCardHeader';\r\n\r\nconst SampleSelectionWelcome = () => {\r\n return (\r\n \r\n \r\n \r\n
    \r\n
  • بخش مورد نظر را انتخاب نمایید
  • \r\n
  • از داخل لیست نمونه ها، شماره نمونه دریافت شده را انتخاب نمایید
  • \r\n
  • برروی لینک پاسخنامه کلیک نمایید
  • \r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default SampleSelectionWelcome;","import React, { useContext, useEffect, useState } from 'react';\r\nimport { CardTitle, Col, Row, Spinner } from 'reactstrap';\r\nimport Flex from '../../components/common/Flex';\r\nimport AppContext from '../../context/Context';\r\nimport BaseInstance from '../../Engine/BaseInstance';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport Parameters from '../../Engine/Parameters';\r\nimport { SectionGroups } from '../ConstIdes';\r\nimport LabDataEntryCard from './LabDataEntryCard';\r\nimport SampleSelectionWelcome from './SampleSelectionWelcome';\r\n\r\nconst SectionDetail = ({ match }) => {\r\n const [partList, setPartList] = useState(null);\r\n const { setCurrentTitle } = useContext(AppContext);\r\n const [ sectionGroup, setSectionGroup ] = useState();\r\n const [orgid, setOrgid] = useState();\r\n\r\n useEffect(() => {\r\n let temp =SectionGroups.find(x => x.id ===parseInt(match.params.id))\r\n setSectionGroup(temp);\r\n\r\n },[match.params.id])\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let org = await Parameters.GetValue('@org');\r\n setOrgid(org)\r\n setCurrentTitle(`صفحه اصلی / ${sectionGroup.display}`);\r\n let list = await InstanceController.InvokeMethod('O30E12C60', 'GetActivePeriods', `${org.id}#${sectionGroup.id}`);\r\n //let list = await InstanceController.InvokeMethod('O30E12C60', 'GetActivePeriods', `${\"O30E23C6I2099\"}#${sectionGroup.id}`);\r\n setPartList(list);\r\n }\r\n if(sectionGroup)\r\n fetch();\r\n }, [sectionGroup,setCurrentTitle])\r\n return (<>\r\n \r\n {partList === null ? : partList?.length > 0 ? <>\r\n {sectionGroup.display}\r\n \r\n {partList?.map(part => {\r\n let insPart = new BaseInstance(part);\r\n return (\r\n \r\n \r\n \r\n )\r\n })}\r\n \r\n : null}\r\n );\r\n};\r\n\r\nexport default SectionDetail;","import { createContext } from 'react';\nimport { settings } from '../config';\n\nconst AppContext = createContext(settings);\n\nexport const EmailContext = createContext({ emails: [] });\n\nexport const ProductContext = createContext({ products: [] });\n\nexport const FeedContext = createContext({ feeds: [] });\n\nexport const AuthWizardContext = createContext({ user: {} });\n\nexport const ChatContext = createContext();\n\nexport const KanbanContext = createContext({ KanbanColumns: [], kanbanTasks: [] });\n\n\n\nexport default AppContext;\n","import BaseInstance, { NewInstance } from \"../Engine/BaseInstance\";\r\nimport { FromManagerDataTemplate } from \"../Engine/FormDataTemplate\";\r\nimport { InstanceController } from \"../Engine/InstanceController\";\r\nimport { toast } from 'react-toastify';\r\nimport ConditionMaker from \"../Engine/ConditionMaker\";\r\nimport { Utility } from \"../Engine/Common\";\r\nimport ObjectClassController from \"../Engine/ObjectClassController\";\r\nimport { Message } from \"../Pishgam/MessageDefinition\";\r\n\r\nexport default class DataManager {\r\n constructor(component, formid, actionType) {\r\n this.Component = component;\r\n this.ActionType = actionType;\r\n this.MainFormID = formid\r\n }\r\n Component;\r\n ActionType;\r\n MainFormID;\r\n Storage = [];\r\n Template = null;\r\n Triger;\r\n Connectors;\r\n TemplateTriger = [];\r\n FormStructuer;\r\n onChangeProp;\r\n OnShowPopup;\r\n feedBack;\r\n get formStructuer() {\r\n let result = this.Component.state.FormStructuer;\r\n\r\n return result;\r\n }\r\n get state() {\r\n return this.Component.state;\r\n }\r\n get loading() {\r\n return this.state?.loading;\r\n }\r\n SetState(newData) {\r\n this.Component.setState({\r\n ...this.Component.state,\r\n FormData: [...newData],\r\n })\r\n }\r\n Load(start) {\r\n this.Component.setState({\r\n ...this.Component.state,\r\n loadData: start,\r\n loading: start\r\n })\r\n }\r\n async Save(formId, callback) {\r\n this.Load(true);\r\n if (this.ActionType === 'template') {\r\n if (this.Template === null)\r\n this.Template = new FromManagerDataTemplate();\r\n let keyValue = this.TemplateConditionMaker();\r\n if (keyValue) {\r\n this.Template.ConditionValue = keyValue\r\n this.Template.Json = JSON.stringify(this.Storage);\r\n await this.Template.SaveAsync();\r\n this.Load(false);\r\n }\r\n else\r\n toast.error('opation did not work')\r\n }\r\n else {\r\n if (await this.Validation()) {\r\n if (this.Connectors)\r\n await this.SaveReletedData();\r\n else {\r\n let temp = this.Storage.find(x => x.formId === formId);\r\n if (temp) {\r\n let instance = new BaseInstance(temp.data);\r\n if (this.formStructuer?.BeforeSave)\r\n eval(this.formStructuer?.BeforeSave)\r\n await instance.SaveAsync();\r\n }\r\n if (callback) {\r\n let tempIndex = this.Storage.findIndex(x => x.formId === callback);\r\n this.Storage.splice(tempIndex, tempIndex < 0 ? 0 : 1, temp);\r\n }\r\n if (this.feedBack)\r\n this.feedBack(temp.data, 'Save');\r\n this.SetState(this.Storage);\r\n }\r\n }\r\n else this.Load(false);\r\n }\r\n this.Load(false);\r\n }\r\n async Validation() {\r\n let result = this.Storage?.length > 0;\r\n for (let i = 0; i < this.Storage.length; i++) {\r\n const formdata = this.Storage[i];\r\n let dataAttribute = this.DataAttribute.find(x => x.formId === formdata.formId);\r\n if (formdata.data instanceof Array) {\r\n for (let j = 0; j < formdata.data.length; j++) {\r\n const insrow = formdata.data[j];\r\n let tempresult = await this.CheckForm(insrow, dataAttribute?.BeforeValidate)\r\n if (result)\r\n result = tempresult;\r\n }\r\n }\r\n else {\r\n result = await this.CheckForm(formdata.data, dataAttribute?.BeforeValidate)\r\n }\r\n }\r\n return result;\r\n }\r\n async CheckForm(instance, BeforeValidate) {\r\n let result = true;\r\n let ins = new BaseInstance(instance);\r\n let percondition = true;\r\n if (BeforeValidate) {\r\n percondition = eval(BeforeValidate);\r\n }\r\n if (percondition) {\r\n if (instance.Prop) {\r\n let oc = await ObjectClassController.LoadAsync(Utility.GetClassID(instance.ID));\r\n for (let i = 0; i < oc?.Extended?.Required?.length; i++) {\r\n const propid = oc.Extended?.Required[i];\r\n const prop = ins.GetProperty(propid);\r\n prop.hasError = (!prop.IPV || prop.IPV === '')\r\n if (result)\r\n result = !prop.hasError;\r\n }\r\n } else {\r\n return false;\r\n }\r\n }\r\n return result;\r\n }\r\n async SaveReletedData() {\r\n let header = this.Storage.find(x => x.formId === this.Connectors[0].SF);\r\n let propid = this.Connectors[0].BP;\r\n for (let index = 0; index < this.Connectors.length; index++) {\r\n let details = this.Storage.find(x => x.formId === this.Connectors[index].BF);\r\n let result = await InstanceController.SaveRelatedInstancesAsync(header.data, propid, details.data);\r\n if (result) {\r\n header.data.ID = result.Header.ID\r\n for (let index = 0; index < result.RelatedInstances.length; index++) {\r\n const elementSaved = result.RelatedInstances[index];\r\n details.data[index].ID = elementSaved.ID;\r\n }\r\n }\r\n }\r\n this.SetState(this.Storage);\r\n return;\r\n }\r\n async DeleteReletedData() {\r\n let header = this.Storage.find(x => x.formId === this.Connectors[0].SF);\r\n let propid = this.Connectors[0].BP;\r\n for (let index = 0; index < this.Connectors.length; index++) {\r\n let details = this.Storage.find(x => x.formId === this.Connectors[index].BF);\r\n await InstanceController.DeleteRelatedInstancesAsync(header.data, propid, details.data);\r\n }\r\n }\r\n async ChangeData(value, pid, Data, TP) {\r\n if (typeof Data === 'string')\r\n Data = this.Storage.find(x => x.formId === Data)?.data;\r\n let insData = new BaseInstance(Data);\r\n insData.SetValue(pid, value, TP);\r\n await this.FireTemplateTriger(pid, value);\r\n if (this.ActionType !== 'template')\r\n await this.FireTriger(pid, value);\r\n if (this.onChangeProp)\r\n this.onChangeProp(value, pid, Data);\r\n this.ShowPopup(pid, insData.GetValue(pid));\r\n this.SetState(this.Storage);\r\n return this.Storage;\r\n }\r\n async ShowPopup(pid, value) {\r\n if (!this.Component.state.message) {\r\n if (pid === this.OnShowPopup) {\r\n let con = new ConditionMaker('E23C2');\r\n con.AddCondition('PC19', '=', value, 'AND');\r\n con.AddCondition('P174', '=', '1');\r\n let result = await con.GetResult();\r\n if (result?.length > 0) {\r\n this.Component.setState({\r\n ...this.Component.state,\r\n popupIsOpen: true,\r\n alertbtn: true,\r\n message: new Message(result[0])\r\n });\r\n }\r\n else {\r\n this.Component.setState({\r\n ...this.Component.state,\r\n popupIsOpen: false,\r\n alertbtn: false,\r\n message: undefined\r\n });\r\n }\r\n }\r\n }\r\n }\r\n async Refresh(formId) {\r\n this.Load(true);\r\n let data = await InstanceController.GetInstancesAsync(formId.split('F')[0]);\r\n let tempIndex = this.Storage.findIndex(x => x.formId === formId);\r\n let temp = this.Storage[tempIndex];\r\n if (!temp)\r\n temp = { formId };\r\n temp.data = data;\r\n this.Storage.splice(tempIndex, tempIndex < 0 ? 0 : 1, temp);\r\n this.SetState([...this.Storage]);\r\n this.Load(false);\r\n }\r\n\r\n New(formId, type) {\r\n return new Promise((resolve, reject) => {\r\n if (this.Template === null) {\r\n\r\n let tempIndex = this.Storage?.findIndex(x => x.formId === formId);\r\n if (type === '0') {\r\n let temp = { formId, data: NewInstance(formId.split('F')[0]) };\r\n this.Storage.splice(tempIndex, tempIndex < 0 ? 0 : 1, temp);\r\n }\r\n else if (type === '1') {\r\n let source = tempIndex < 0 ? { formId: formId, data: [] } : this.Storage[tempIndex];\r\n source.data = [...source.data, NewInstance(formId.split('F')[0])];\r\n this.Storage.splice(tempIndex, tempIndex < 0 ? 0 : 1, source);\r\n }\r\n this.SetState(this.Storage);\r\n }\r\n return resolve(true);\r\n });\r\n }\r\n SendToEditor(instanse, formId, Editor) {\r\n let tempIndex = this.Storage.findIndex(x => x.formId === Editor);\r\n let temp = { formId: Editor, data: instanse, callback: formId };\r\n this.Storage.splice(tempIndex, tempIndex < 0 ? 0 : 1, temp);\r\n this.SetState(this.Storage);\r\n }\r\n StorageDeleteInstance(id) {\r\n for (let i = 0; i < this.Storage.length; i++) {\r\n const element = this.Storage[i];\r\n if (Array.isArray(element.data)) {\r\n const index = element.data.findIndex(x => x.ID === id);\r\n element.data.splice(index, index < 0 ? 0 : 1);\r\n }\r\n }\r\n }\r\n async DeleteTemplate(){\r\n if(this.Template!=null\r\n && window.confirm('آیا از حذف این قالب مطمئن هستید؟') ){\r\n await this.Template.DeleteAsync(true);\r\n }\r\n }\r\n async Delete(formId) {\r\n if (formId) {\r\n let storge = this.Storage.find(x => x.formId === formId);\r\n if (this.Connectors) {\r\n await this.DeleteReletedData();\r\n }\r\n else if (Array.isArray(storge.data)) {\r\n for (let i = 0; i < storge.data.length; i++) {\r\n const element = storge.data[i];\r\n if (Utility.IsInstanceID(element.ID))\r\n await (new BaseInstance(element)).DeleteAsync();\r\n }\r\n storge.data = [];\r\n }\r\n else {\r\n if (await (new BaseInstance(storge.data)).DeleteAsync()) {\r\n this.StorageDeleteInstance(storge.data.ID)\r\n storge.data = NewInstance();\r\n }\r\n }\r\n this.SetState(this.Storage)\r\n }\r\n }\r\n FillProp(formId, pid) {\r\n let form = this.Storage.find(x => x.formId === formId);\r\n if (!form.fillProp)\r\n form.fillProp = [];\r\n let index = form.fillProp.findIndex(x => x === pid);\r\n if (index >= 0)\r\n form.fillProp.splice(index, 1);\r\n else\r\n form.fillProp = [...form.fillProp, pid];\r\n this.SetState(this.Storage);\r\n }\r\n ChangeStepSource(list, pid, Data) {\r\n let prop = new BaseInstance(Data).GetProperty(pid);\r\n prop.stepSource = list;\r\n this.SetState(this.Storage);\r\n }\r\n GetPropertyValue(formid, pid) {\r\n let formdata = this.Storage.find(x => x.formId === formid);\r\n if (formdata) {\r\n return new BaseInstance(formdata.data).GetValue(pid);\r\n }\r\n return null;\r\n }\r\n async FireTemplateTriger(pid) {\r\n if (this.TemplateTriger?.findIndex(x => x.PID === pid) >= 0) {\r\n let keyValue = this.TemplateConditionMaker();\r\n if (keyValue) {\r\n this.Load(true);\r\n this.Template = await FromManagerDataTemplate.LoadByAsync(keyValue);\r\n if (this.Template !== null) {\r\n this.Storage = [...JSON.parse(this.Template.Json)];\r\n this.SetState(this.Storage)\r\n }\r\n this.Load(false);\r\n }\r\n }\r\n return this;\r\n }\r\n TemplateConditionMaker() {\r\n let keyValue = this.MainFormID + '@';\r\n let counter = 0;\r\n\r\n for (var i = 0; i < this.TemplateTriger?.length; i++) {\r\n let temppid = this.TemplateTriger[i].PID;\r\n let value = this.GetPropertyValue(this.TemplateTriger[i].formId, temppid);\r\n if (value) {\r\n keyValue += temppid + ':' + value + '&';\r\n counter++;\r\n }\r\n else\r\n break;\r\n }\r\n if (this.TemplateTriger?.length === counter) {\r\n return keyValue;\r\n }\r\n return null;\r\n }\r\n async FireTriger(pid) {\r\n\r\n if (this.Triger && this.Triger[0]?.PIDs?.findIndex(x => x === pid) >= 0) {\r\n this.Load(true)\r\n let data1 = await this.DataConditionMaker();\r\n this.SetData1(data1);\r\n }\r\n\r\n }\r\n SetData1(data1) {\r\n if (data1) {\r\n let data = JSON.parse(JSON.stringify(data1));\r\n if (Utility.IsInstanceID(data?.Header?.ID) || (Array.isArray(data) && data?.length > 0 && Utility.IsInstanceID(data[0].ID))) {\r\n if (this.Template) {\r\n let newStorage = [];\r\n let template = JSON.parse(this.Template.Json);\r\n if (this.Connectors) {\r\n for (let index = 0; index < this.Connectors.length; index++) {\r\n let form = template.find(x => x.formId === this.Connectors[index].SF);\r\n let header = data.Header;\r\n if (form?.data && newStorage.findIndex(x => x.formId === form.formId) < 0) {\r\n newStorage = [{ formId: form.formId, data: this.syncData(header, form.data) }];\r\n }\r\n let details = template.find(x => x.formId === this.Connectors[index].BF);\r\n let newdata = [];\r\n for (var i = 0; i < details.data.length; i++) {\r\n let pid = details.fillProp[0];\r\n let filltempProp = new BaseInstance(details.data[i]).GetProperty(pid);\r\n let fillValueinstance = data.RelatedInstances.find((ins) => new BaseInstance(ins).GetValue(pid) === filltempProp.IPV);\r\n newdata = [...newdata, this.syncData(fillValueinstance, details.data[i])];\r\n }\r\n newStorage = [...newStorage, { formId: this.Connectors[index].BF, data: newdata }];\r\n }\r\n this.Storage = [...newStorage];\r\n this.SetState(this.Storage);\r\n }\r\n\r\n }\r\n else {\r\n let currrentdata = this.Storage[0].data;\r\n if (data[0]) {\r\n // currrentdata.ID = data[0].ID;\r\n // this.syncData(currrentdata, data[0], true);\r\n this.Storage[0].data = data[0];\r\n }\r\n this.SetState(this.Storage);\r\n }\r\n }\r\n else {\r\n if (this.Template?.Json) {\r\n let template = JSON.parse(this.Template.Json);\r\n if (this.Connectors) {\r\n let newStorage = [];\r\n let header = template.find(x => x.formId === this.Connectors[0].SF);\r\n let form = this.Storage.find(x => x.formId === this.Connectors[0].SF);\r\n newStorage = [{ formId: this.Connectors[0].SF, data: this.syncData(header.data, form.data, true) }];\r\n for (let index = 0; index < this.Connectors.length; index++) {\r\n let details = template.find(x => x.formId === this.Connectors[index].BF);\r\n newStorage = [...newStorage, { formId: this.Connectors[index].BF, data: details.data }];\r\n }\r\n this.Storage = newStorage;\r\n this.SetState(this.Storage);\r\n }\r\n }\r\n else {\r\n this.Storage[0].data = this.syncData({ ...NewInstance, ID: Utility.GetClassID(this.Storage[0].formId) },\r\n this.Storage[0].data, true, this.Triger[0]?.PIDs);\r\n this.SetState(this.Storage);\r\n }\r\n }\r\n }\r\n this.Load(false);\r\n }\r\n\r\n syncData(base, source, withValue, props) {\r\n let result;\r\n if (base && source) {\r\n let baseIns = new BaseInstance(base);\r\n let SourceIns = new BaseInstance(source);\r\n let ides = SourceIns.getPropertyIds();\r\n if (props)\r\n ides = props;\r\n for (var i = 0; i < ides.length; i++) {\r\n let stepSource = SourceIns.GetProperty(ides[i]).stepSource;\r\n let tempProp = baseIns.GetProperty(ides[i]);\r\n if (stepSource && tempProp)\r\n baseIns.GetProperty(ides[i]).stepSource = stepSource;\r\n let value = SourceIns.GetValue(ides[i], withValue);\r\n if (value && value !== '' && !baseIns.GetValue(ides[i]))\r\n baseIns.SetValue(ides[i], value);\r\n }\r\n result = baseIns.Instance;\r\n }\r\n else {\r\n result = { ...source };\r\n }\r\n return result;\r\n }\r\n async DataConditionMaker() {\r\n let counter = 0;\r\n for (var i = 0; i < this.Triger?.length; i++) {\r\n let condition = new ConditionMaker(Utility.GetClassID(this.Triger[i].formId))\r\n let temppid = this.Triger[i].PIDs;\r\n for (var j = 0; j < temppid.length; j++) {\r\n let value = this.GetPropertyValue(this.Triger[i].formId, temppid[j]);\r\n if (value) {\r\n condition.AddCondition(temppid[j], '=', value, j + 1 < temppid.length ? 'AND' : undefined);\r\n counter++;\r\n }\r\n else\r\n break;\r\n }\r\n if (temppid.length === counter) {\r\n this.Load(true);\r\n let result;\r\n if (!this.Connectors)\r\n result = await condition.GetResult();\r\n else {\r\n let related = [];\r\n for (let i = 0; i < this.Connectors.length; i++) {\r\n related = [...related, Utility.GetClassID(this.Connectors[i].BF)]\r\n }\r\n result = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(condition)\r\n , this.Connectors[0].BP, related)\r\n\r\n }\r\n return result;\r\n }\r\n }\r\n return undefined;\r\n }\r\n InitialTemplate(form) {\r\n if (form?.TempCon?.length > 0) {\r\n this.TemplateTriger = form.TempCon;\r\n }\r\n if (form?.Connectors?.length > 0) {\r\n this.Connectors = form.Connectors;\r\n }\r\n if (form?.Con?.length > 0) {\r\n this.Triger = form.Con;\r\n }\r\n if (form)\r\n this.OnShowPopup = form.OnShowPopup;\r\n }\r\n ChangeForm(form) {\r\n if (!form)\r\n this.Component.setState({\r\n ...this.Component.state,\r\n LastFormId: this.MainFormID,\r\n loadData: false,\r\n FormStructuer: { ...this.FormStructuer },\r\n })\r\n else {\r\n this.Component.setState({\r\n ...this.Component.state,\r\n FormStructuer: form,\r\n })\r\n }\r\n }\r\n ChangeState(state) {\r\n this.Component.setState(state)\r\n }\r\n SetData(formId, data) {\r\n let temp = this.Storage.findIndex(x => x.formId === formId && x?.data.ID === data.ID);\r\n // if (temp < 0) {\r\n // this.Storage = [{ formId, data }]\r\n this.SetState(this.Storage)\r\n //}\r\n }\r\n async LoadDataAsync(id) {\r\n\r\n if (Utility.IsInstanceID(id)) {\r\n let ins = await InstanceController.LoadInstanceAsync(id);\r\n let formdataIndex = this.Storage.findIndex(s => s.formId.includes(Utility.GetClassID(id)));\r\n if (formdataIndex < 0 && this.TemplateTriger.length > 0) {\r\n this.Storage = [...this.Storage, { formId: this.TemplateTriger[0].formId }];\r\n }\r\n if (formdataIndex > -1) {\r\n this.Storage[formdataIndex < 0 ? 0 : formdataIndex].data = ins;\r\n }\r\n this.Storage.find(s => s.formId.includes(Utility.GetClassID(id) + 'F')).data = ins;\r\n if (this.TemplateTriger?.length > 0) {\r\n await this.FireTemplateTriger(this.TemplateTriger[0].PID);\r\n }\r\n if (this.Connectors) {\r\n let related = [];\r\n for (let i = 0; i < this.Connectors.length; i++) {\r\n related = [...related, Utility.GetClassID(this.Connectors[i].BF)];\r\n }\r\n let condition = new ConditionMaker(Utility.GetClassID(this.Triger[0].formId));\r\n condition.AddCondition(\"ID\", \"=\", id);\r\n let result = await await InstanceController.GetRelatedInstancesAsync(JSON.stringify(condition)\r\n , this.Connectors[0].BP, related)\r\n this.SetData1(result);\r\n }\r\n else {\r\n this.SetState(this.Storage)\r\n }\r\n // if (this.Triger?.length > 0){\r\n // await this.FireTriger(this.Triger[0]?.PIDs[0]);\r\n // }\r\n }\r\n }\r\n GetDataFromFrom(formId) {\r\n let result = this.Storage.find(x => x.formId === formId);\r\n if (result)\r\n return result.data;\r\n else\r\n return null;\r\n }\r\n DataAttribute = [];\r\n AddDataProperty(formId, prop, value) {\r\n let formattr = this.DataAttribute.find(x => x.formId === formId);\r\n if (!formattr)\r\n formattr = { formId };\r\n formattr[prop] = value;\r\n this.DataAttribute = [...this.DataAttribute, formattr];\r\n }\r\n RemoveRow(formId, index) {\r\n let form = this.Storage.find(x => x.formId === formId);\r\n form.data.splice(index,1);\r\n this.SetState(this.Storage);\r\n }\r\n RowUp(formId, index) {\r\n let form = this.Storage.find(x => x.formId === formId);\r\n const [item] = form.data.splice(index,1);\r\n form.data.splice(index-1,0,item);\r\n this.SetState(this.Storage);\r\n }\r\n RowDown(formId, index) {\r\n let form = this.Storage.find(x => x.formId === formId);\r\n const [item] = form.data.splice(index,1);\r\n form.data.splice(index+1,0,item);\r\n this.SetState(this.Storage);\r\n }\r\n}","import React from 'react';\nimport PropTypes from 'prop-types';\nimport isNull from 'lodash/isNull';\nimport Lightbox from 'react-image-lightbox';\n\nconst LightBoxGallery = ({ images, children }) => {\n const [imgIndex, setImgIndex] = React.useState(null);\n\n return (\n
\n {children(setImgIndex)}\n {!isNull(imgIndex) && (\n setImgIndex(null)}\n onMovePrevRequest={() => setImgIndex((imgIndex + images.length - 1) % images.length)}\n onMoveNextRequest={() => setImgIndex((imgIndex + 1) % images.length)}\n reactModalStyle={{ overlay: { zIndex: 999999 } }}\n />\n )}\n
\n );\n};\n\nLightBoxGallery.propTypes = {\n images: PropTypes.array.isRequired,\n children: PropTypes.func.isRequired\n};\n\nexport default LightBoxGallery;\n","import React, { Fragment, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport Lightbox from 'react-image-lightbox';\n\nconst FalconLightBox = ({ imgSrc, children }) => {\n const [isOpen, setIsOpen] = useState(false);\n return (\n \n
setIsOpen(true)}>\n {children}\n
\n {isOpen && (\n setIsOpen(false)}\n reactModalStyle={{ overlay: { zIndex: 999999 } }}\n />\n )}\n
\n );\n};\n\nFalconLightBox.propTypes = { imgSrc: PropTypes.string.isRequired };\n\nexport default FalconLightBox;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nconst Dot = ({ color, className, ...rest }) => (\n \n);\n\nDot.propTypes = {\n color: PropTypes.oneOf([\n 'card-gradient',\n 'primary',\n 'secondary',\n 'success',\n 'info',\n 'warning',\n 'danger',\n 'light',\n 'dark',\n 'black',\n '1100',\n '1000',\n '900',\n '800',\n '700',\n '600',\n '500',\n '400',\n '300',\n '200',\n '100',\n 'white'\n ])\n};\n\nexport default Dot;\n","import BaseInstance from \"./Engine/BaseInstance\";\r\nimport { InstanceController } from \"./Engine/InstanceController\";\r\n\r\nexport default class InstitutionContext extends BaseInstance {\r\n static async GetInstitution() {\r\n let id = localStorage.getItem('org');\r\n if (id !== undefined)\r\n id = JSON.parse(id)?.id;\r\n if (id !== undefined) {\r\n let instance = await InstanceController.LoadInstanceAsync(id);\r\n return new InstitutionContext(instance);\r\n }\r\n return null;\r\n }\r\n Name = this.GetValue('PC88');\r\n University = this.GetValue('P5');\r\n OldCode = this.GetValue('P6');\r\n EconomicCode = this.GetValue('P68');\r\n Email = this.GetValue('PC108');\r\n Address = this.GetValue('P70');\r\n PostCode = this.GetValue('PC147');\r\n Tel = this.GetValue('PC365');\r\n}","import { createContext } from \"react\";\r\nimport { PGISsettings } from \"../config\";\r\nimport { AuthenticationController } from '../Engine/Authentication';\r\nimport BaseInstance, { NewInstance, NewProperty } from \"../Engine/BaseInstance\";\r\nimport { SearchObject, Utility } from \"../Engine/Common\";\r\nimport ConditionMaker from \"../Engine/ConditionMaker\";\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport Parameters from '../Engine/Parameters';\r\nimport InstitutionContext from \"../InstitutionContext\";\r\n\r\nexport class CartContextClass {\r\n static products = [];\r\n static productGroups = [];\r\n static cart = [];\r\n static GetInfo() {\r\n let subtotal = 0;\r\n this.cart.map((invoiceRow) => subtotal += invoiceRow.total);\r\n let tax = ((subtotal * PGISsettings.taxRate) / 100);\r\n let total = subtotal + tax;\r\n return { total, tax, subtotal };\r\n }\r\n static addToCart(product) {\r\n let invRow = this.cart.find(x => x.productobject.ID === product.ID)\r\n if (invRow === undefined) {\r\n invRow = new InvoiceRow();\r\n invRow.product = product;\r\n invRow.quantity = 0;\r\n invRow.realPrice = (!!product.sale ? product.price - product.price * (product.sale / 100) : product.price);\r\n this.cart = [...this.cart, invRow];\r\n }\r\n invRow.Add(1);\r\n return this.cart;\r\n };\r\n static removeFromCart(id) {\r\n\r\n let invRow = this.cart.findIndex(x => x.product === id)\r\n if (invRow >= 0)\r\n this.cart.splice(invRow, 1);\r\n return this.cart;\r\n };\r\n static async GetProductGroups() {\r\n if (this.productGroups.length === 0)\r\n this.productGroups = await SearchObject('', 'O30E12C52', '<>', ' order by PC2');\r\n return this.productGroups;\r\n }\r\n static async GetProducts(selectedGroup) {\r\n let prods = await this.LoadProducts();\r\n if (selectedGroup !== undefined && selectedGroup !== 'allGroup')\r\n prods = prods.filter(x => x.category === selectedGroup);\r\n return prods;\r\n }\r\n static async LoadProducts() {\r\n if (this.products.length === 0) {\r\n let condition = new ConditionMaker('O30E12C53')\r\n condition.AddCondition('P63', '=', '1', 'and');\r\n condition.AddCondition('convert(datetime,P64)', '>', `convert(datetime,${(await Utility.GetNow()).date})`)\r\n let instances = await condition.GetResult();\r\n this.products = []\r\n if (instances !== undefined) {\r\n instances.map((instance) => {\r\n this.products = [...this.products, new Product(instance)]\r\n })\r\n }\r\n }\r\n return this.products;\r\n }\r\n static async CreateInvoice(save,user,items) {\r\n if (items??this.cart?.length > 0) {\r\n let invoice = {\r\n Header: new InvoiceHeader(),\r\n Details: items??CartContextClass.cart\r\n };\r\n let { total, tax, subtotal } = CartContextClass.GetInfo();\r\n // invoice.Header.Date = moment((await Utility.GetNow()).date, 'MM/DD/YYYY')\r\n // .locale('fa')\r\n // .format('YYYY/M/D');\r\n let serverdate= await Utility.GetNow();\r\n invoice.Header.Date = serverdate.toString\r\n invoice.Header.user = user??await InstitutionContext.GetInstitution();\r\n invoice.Header.tax = tax;\r\n invoice.Header.subtotal = subtotal;\r\n invoice.Header.total = total;\r\n invoice.Header.state = 'O30E12C63I1';\r\n let detailinstances = [];\r\n invoice.Details.map((row) => {\r\n detailinstances = [...detailinstances, row.Instance];\r\n })\r\n if (save) {\r\n let saveddata = await InstanceController.SaveRelatedInstancesAsync(\r\n invoice.Header.Instance, 'P80', detailinstances\r\n );\r\n invoice.Header = new InvoiceHeader(saveddata.Header);\r\n let details = [];\r\n saveddata.RelatedInstances.map((row) => {\r\n let newRow = new InvoiceRow(row);\r\n newRow.product = invoice.Details.find(x => x.productobject.ID === newRow.product).productobject\r\n details = [...details, newRow]\r\n })\r\n invoice.Details = details;\r\n }\r\n return invoice;\r\n }\r\n return null;\r\n }\r\n static async LoadInvoice(id) {\r\n let invoice = {};\r\n let condition = new ConditionMaker('O30E12C60');\r\n if (await AuthenticationController.HasRole('R6')) {\r\n\r\n condition.AddCondition('ID', '=', id, 'AND');\r\n condition.AddCondition('PC337', '=', await Parameters.GetValue('@orgid'));\r\n }\r\n else if (await AuthenticationController.HasRole('R2')) {\r\n condition.AddCondition('ID', '=', id);\r\n }\r\n\r\n\r\n let saveddata = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(condition), 'P80', ['O30E12C61'])\r\n if (saveddata) {\r\n invoice.Header = new InvoiceHeader(saveddata.Header);\r\n let details = [];\r\n for (var i = 0; i < saveddata.RelatedInstances.length; i++) {\r\n let row = saveddata.RelatedInstances[i];\r\n let newRow = new InvoiceRow(row);\r\n newRow.product = new Product(await InstanceController.LoadInstanceAsync(newRow.product));\r\n details = [...details, newRow]\r\n }\r\n invoice.Details = details;\r\n }\r\n return invoice;\r\n }\r\n}\r\nexport class InvoiceHeader extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C60');\r\n InvoiceHeader.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n this.PaymentDue = 0;\r\n }\r\n static PIDs = [\"PC363\",\r\n \"P75\",\r\n \"P76\",\r\n \"P77\",\r\n \"P78\",\r\n \"PC337\", \"P87\"]\r\n set Date(value) {\r\n this.SetValue(InvoiceHeader.PIDs[0], value);\r\n }\r\n get Date() {\r\n return this.GetValue(InvoiceHeader.PIDs[0]);\r\n }\r\n set PaymentDue(value) {\r\n this.SetValue(InvoiceHeader.PIDs[1], value);\r\n }\r\n get PaymentDue() {\r\n return this.GetValue(InvoiceHeader.PIDs[1]);\r\n }\r\n set subtotal(value) {\r\n this.SetValue(InvoiceHeader.PIDs[2], value);\r\n }\r\n get subtotal() {\r\n return this.GetValue(InvoiceHeader.PIDs[2]);\r\n }\r\n set tax(value) {\r\n this.SetValue(InvoiceHeader.PIDs[3], value);\r\n }\r\n get tax() {\r\n return this.GetValue(InvoiceHeader.PIDs[3]);\r\n }\r\n set total(value) {\r\n this.SetValue(InvoiceHeader.PIDs[4], value);\r\n }\r\n get total() {\r\n return this.GetValue(InvoiceHeader.PIDs[4]);\r\n }\r\n set user(value) {\r\n this.SetValue(InvoiceHeader.PIDs[5], value);\r\n }\r\n get user() {\r\n return this.GetValue(InvoiceHeader.PIDs[5]);\r\n }\r\n set state(value) {\r\n this.SetValue(InvoiceHeader.PIDs[6], value);\r\n }\r\n get state() {\r\n return this.GetValue(InvoiceHeader.PIDs[6]);\r\n }\r\n}\r\nexport class InvoiceRow extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C61');\r\n InvoiceRow.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC338', 'PC339', 'P79', 'P80'];\r\n set quantity(value) {\r\n this.SetValue(InvoiceRow.PIDs[0], value);\r\n }\r\n get quantity() {\r\n return this.GetValue(InvoiceRow.PIDs[0]);\r\n }\r\n set realPrice(value) {\r\n this.SetValue(InvoiceRow.PIDs[1], value);\r\n }\r\n get realPrice() {\r\n return this.GetValue(InvoiceRow.PIDs[1]);\r\n } set product(value) {\r\n this.SetValue(InvoiceRow.PIDs[2], value);\r\n }\r\n get product() {\r\n return this.GetValue(InvoiceRow.PIDs[2]);\r\n }\r\n get productobject() {\r\n let obj = this.GetValue(InvoiceRow.PIDs[2], true);\r\n if (obj !== undefined && obj.Instance === undefined)\r\n obj = new Product(obj);\r\n return obj\r\n }\r\n set Invoiceid(value) {\r\n this.SetValue(InvoiceRow.PIDs[3], value);\r\n }\r\n get Invoiceid() {\r\n return this.GetValue(InvoiceRow.PIDs[3]);\r\n }\r\n get total() {\r\n return this.quantity * this.realPrice;\r\n }\r\n realPrice;\r\n Change(value) {\r\n this.quantity = value;\r\n }\r\n Add(value) {\r\n this.quantity = parseInt(this.quantity) + parseInt(value);\r\n }\r\n Remove(value) {\r\n this.quantity = parseInt(this.quantity) - parseInt(value);\r\n }\r\n}\r\nexport class PaymentDocument extends BaseInstance {\r\n constructor(instance, invoice) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C62');\r\n PaymentDocument.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n if (invoice !== undefined) {\r\n this.PayerAccount = invoice.user;\r\n this.Invoice = invoice;\r\n }\r\n }\r\n static async LoadInvoice(id) {\r\n let invoice = {};\r\n let condition = new ConditionMaker('O30E12C60');\r\n condition.AddCondition('ID', '=', id);\r\n let saveddata = await InstanceController.GetRelatedInstancesAsync(JSON.stringify(condition), 'P80', ['O30E12C62'])\r\n invoice.Header = new InvoiceHeader(saveddata.Header);\r\n let payments = [];\r\n if (saveddata.RelatedInstances.length > 0) {\r\n for (var i = 0; i < saveddata.RelatedInstances.length; i++) {\r\n let row = saveddata.RelatedInstances[i];\r\n let newRow = new PaymentDocument(row);\r\n payments = [...payments, newRow]\r\n }\r\n }\r\n invoice.Payments = payments;\r\n return invoice;\r\n }\r\n static PIDs = ['P81', 'P82', 'PC346', 'P83', 'P84', 'P85', 'PC128', 'P86', 'P80'];\r\n set RegisterDate(value) {\r\n this.SetValue(PaymentDocument.PIDs[0], value);\r\n }\r\n get RegisterDate() {\r\n return this.GetValue(PaymentDocument.PIDs[0]);\r\n }\r\n set PaymentTime(value) {\r\n this.SetValue(PaymentDocument.PIDs[1], value);\r\n }\r\n get PaymentTime() {\r\n return this.GetValue(PaymentDocument.PIDs[1]);\r\n }\r\n set Amount(value) {\r\n this.SetValue(PaymentDocument.PIDs[2], value);\r\n }\r\n get Amount() {\r\n return this.GetValue(PaymentDocument.PIDs[2]);\r\n }\r\n set trackNumber(value) {\r\n this.SetValue(PaymentDocument.PIDs[3], value);\r\n }\r\n get trackNumber() {\r\n return this.GetValue(PaymentDocument.PIDs[3]);\r\n }\r\n set CardNumber(value) {\r\n this.SetValue(PaymentDocument.PIDs[4], value);\r\n }\r\n get CardNumber() {\r\n return this.GetValue(PaymentDocument.PIDs[4]);\r\n }\r\n set ReciverAccount(value) {\r\n this.SetValue(PaymentDocument.PIDs[5], value);\r\n }\r\n get ReciverAccount() {\r\n return this.GetValue(PaymentDocument.PIDs[5]);\r\n }\r\n set PaymentType(value) {\r\n this.SetValue(PaymentDocument.PIDs[6], value);\r\n }\r\n get PaymentType() {\r\n return this.GetValue(PaymentDocument.PIDs[6]);\r\n }\r\n set PayerAccount(value) {\r\n this.SetValue(PaymentDocument.PIDs[7], value);\r\n }\r\n get PayerAccount() {\r\n return this.GetValue(PaymentDocument.PIDs[7]);\r\n }\r\n set Invoice(value) {\r\n this.SetValue(PaymentDocument.PIDs[8], value);\r\n }\r\n get Invoice() {\r\n return this.GetValue(PaymentDocument.PIDs[8]);\r\n }\r\n}\r\n\r\nexport class Product extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C53');\r\n Product.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC95', 'P62', 'PC2', 'PC341', 'PC339', 'P63', 'P64', 'P65', 'P66', 'P67'];\r\n set title(value) {\r\n this.SetValue(Product.PIDs[0], value);\r\n }\r\n get title() {\r\n return this.GetValue(Product.PIDs[0]);\r\n } set category(value) {\r\n this.SetValue(Product.PIDs[1], value);\r\n }\r\n get category() {\r\n return this.GetValue(Product.PIDs[1]);\r\n } set row(value) {\r\n this.SetValue(Product.PIDs[2], value);\r\n }\r\n get row() {\r\n return this.GetValue(Product.PIDs[2]);\r\n } set description(value) {\r\n this.SetValue(Product.PIDs[3], value);\r\n }\r\n get description() {\r\n return this.GetValue(Product.PIDs[3]);\r\n } set price(value) {\r\n this.SetValue(Product.PIDs[4], value);\r\n }\r\n get price() {\r\n return this.GetValue(Product.PIDs[4]);\r\n } set stateProduct(value) {\r\n this.SetValue(Product.PIDs[5], value);\r\n }\r\n get stateProduct() {\r\n return this.GetValue(Product.PIDs[5]);\r\n } set expierDate(value) {\r\n this.SetValue(Product.PIDs[6], value);\r\n }\r\n get expierDate() {\r\n return this.GetValue(Product.PIDs[6]);\r\n } set sale(value) {\r\n this.SetValue(Product.PIDs[7], value);\r\n }\r\n get sale() {\r\n return this.GetValue(Product.PIDs[7]);\r\n } set scale(value) {\r\n this.SetValue(Product.PIDs[8], value);\r\n }\r\n get scale() {\r\n return this.GetValue(Product.PIDs[8]);\r\n } set file(value) {\r\n this.SetValue(Product.PIDs[9], value);\r\n }\r\n get file() {\r\n return this.GetValue(Product.PIDs[9]);\r\n }\r\n}\r\n\r\nexport class Labratoary extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E23C6');\r\n Labratoary.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static async LoadAsync(id) {\r\n let ins = await InstanceController.LoadInstanceAsync(id);\r\n return new Labratoary(ins);\r\n }\r\n static PIDs = ['PC88', 'P4', 'P5', 'P6', 'P7', 'P74', 'P68', 'PC108', 'PC324', 'P69', 'P70', 'P71', 'PC147', 'PC365', 'P72'];\r\n set Name(value) {\r\n this.SetValue(Labratoary.PIDs[0], value);\r\n }\r\n get Name() {\r\n return this.GetValue(Labratoary.PIDs[0]);\r\n }\r\n set OldCode(value) {\r\n this.SetValue(Labratoary.PIDs[3], value);\r\n }\r\n get OldCode() {\r\n return this.GetValue(Labratoary.PIDs[3]);\r\n }\r\n set EcoCode(value) {\r\n this.SetValue(Labratoary.PIDs[6], value);\r\n }\r\n get EcoCode() {\r\n return this.GetValue(Labratoary.PIDs[6]);\r\n } set Email(value) {\r\n this.SetValue(Labratoary.PIDs[7], value);\r\n }\r\n get Email() {\r\n return this.GetValue(Labratoary.PIDs[7]);\r\n } set NationalCode(value) {\r\n this.SetValue(Labratoary.PIDs[8], value);\r\n }\r\n get NationalCode() {\r\n return this.GetValue(Labratoary.PIDs[8]);\r\n }\r\n set Address(value) {\r\n this.SetValue(Labratoary.PIDs[10], value);\r\n }\r\n get Address() {\r\n return this.GetValue(Labratoary.PIDs[10]);\r\n } set ZipCode(value) {\r\n this.SetValue(Labratoary.PIDs[12], value);\r\n }\r\n get ZipCode() {\r\n return this.GetValue(Labratoary.PIDs[12]);\r\n }\r\n set Tel(value) {\r\n this.SetValue(Labratoary.PIDs[13], value);\r\n }\r\n get Tel() {\r\n return this.GetValue(Labratoary.PIDs[13]);\r\n }\r\n}\r\nconst CartContext = createContext(new CartContextClass());\r\nexport default CartContext;","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Button, Input, InputGroup, InputGroupAddon } from 'reactstrap';\n\nconst QuantityController = ({ quantity, setQuantity }) => (\n \n \n setQuantity(quantity > 1 ? quantity - 1 : quantity)}\n >\n -\n \n \n setQuantity(parseInt(target.value < 1 ? 1 : target.value))}\n type=\"number\"\n min={1}\n style={{ maxWidth: '40px' }}\n />\n \n \n \n \n);\n\nQuantityController.propTypes = {\n setQuantity: PropTypes.func.isRequired,\n quantity: PropTypes.number\n};\n\nQuantityController.defaultProps = { quantity: 1 };\n\nexport default QuantityController;\n","export const version = '1.41.0';\nexport const navbarBreakPoint = 'xl'; // Vertical navbar breakpoint\nexport const topNavbarBreakpoint = 'lg';\nexport const settings = {\n isFluid: true,\n isRTL: true,\n isDark: false,\n isTopNav: false,\n isVertical: true,\n get isCombo() {\n return this.isVertical && this.isTopNav;\n },\n showBurgerMenu: false, // controls showing vertical nav on mobile\n currency: 'ریال',\n taxRate:9,\n isNavbarVerticalCollapsed: false,\n navbarStyle: 'transparent',\n lang: ['fa-IR'],\n currentTitle:''\n};\nexport const PGISsettings = {\n isFluid: true,\n isRTL: true,\n isDark: false,\n isTopNav: false,\n isVertical: true,\n get isCombo() {\n return this.isVertical && this.isTopNav;\n },\n showBurgerMenu: false, // controls showing vertical nav on mobile\n currency: 'ریال',\n taxRate: 0,\n isNavbarVerticalCollapsed: false,\n navbarStyle: 'vibrant',\n lang: ['fa-IR'],\n currentTitle:'',\n version : version\n};\nexport const globalparameters = [\n \n];\nexport default { version, navbarBreakPoint, topNavbarBreakpoint, settings, PGISsettings, globalparameters };\n","import { faPlus } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Card, Col, FormGroup, Input, Label, ListGroup, ListGroupItem, Row } from 'reactstrap';\r\nimport ButtonIcon from '../../components/common/ButtonIcon';\r\nimport Flex from '../../components/common/Flex';\r\nimport { commandList, formTypes } from '../../Engine/Common';\r\nimport { InstanceController } from '../../Engine/InstanceController';\r\nimport ComboBox from '../../EngineForms/ComboBox';\r\nimport { ThemeDivider } from '../../EngineForms/ThemeControl';\r\n\r\nconst RootFormEditor = ({ DM }) => {\r\n const [relation, setRelation] = useState({});\r\n const [relationTypes, setRelationTypes] = useState([]);\r\n useEffect(() => {\r\n const fetchRelations = async () => {\r\n let rts = await InstanceController.GetInstancesAsync('E0C12');\r\n setRelationTypes(rts);\r\n }\r\n if (relationTypes.length === 0)\r\n fetchRelations();\r\n })\r\n const form = DM.formStructuer;\r\n const [relations,setRelations] =useState(form.Relations);\r\n const change = ({ target }) => {\r\n form[target.name] = target.value;\r\n DM.ChangeForm(form);\r\n }\r\n const toggelCommand = (id) => {\r\n console.log(form)\r\n let index = form.Commands.findIndex(x => x === id);\r\n if (index < 0)\r\n form.Commands.push(id);\r\n else\r\n form.Commands.splice(index, 1);\r\n DM.ChangeForm(form);\r\n }\r\n const onChange = ({ target }) => {\r\n //let temp=formTypes.find(x => x.id===target.value);\r\n form.ShowType = target.value;\r\n DM.ChangeForm(form);\r\n // let state={...DM.state,FormType:temp.index};\r\n // DM.ChangeState(state);\r\n }\r\n const relationChange = ({ target }) => {\r\n relation[target.name] = target.value;\r\n setRelation(relation)\r\n\r\n }\r\n const relationTypeChange = (value) => {\r\n relation['ID'] = value;\r\n setRelation(relation)\r\n\r\n }\r\n const AddRelation = () => {\r\n if (!form.Relations)\r\n form.Relations = [];\r\n form.Relations.push(relation)\r\n setRelation({});\r\n DM.ChangeForm(form);\r\n }\r\n const changeRow=({target})=>{\r\n if(form.rows.length>target.value){\r\n form.rows.splice(target.value-1,form.rows.length-target.value);\r\n }\r\n else {\r\n let rowcount = target.value-form.rows.length;\r\n for (let i = 0; i < rowcount; i++) {\r\n form.rows.push({\r\n height: \"auto\",\r\n controls: []\r\n })\r\n }\r\n }\r\n DM.ChangeForm(form);\r\n }\r\n const Deleted=(item)=>{\r\n let index = form.Relations.findIndex(x=>x.ID===item.ID);\r\n form.Relations.splice(index, 1);\r\n setRelations([...form.Relations])\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n {formTypes.map(entity => ())}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Commands\r\n \r\n {commandList.map((item) => (\r\n x === item.id) >= 0 ? \"falcon-success\" : \"falcon-default\"}\r\n size=\"sm\" icon={item.icon} title={item.title} onClick={() => toggelCommand(item.id)} />\r\n ))}\r\n \r\n \r\n \r\n Row Count\r\n \r\n \r\n \r\n
\r\n Relations\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n AddRelation\r\n \r\n {relations?.map((item) => (\r\n {item.ID + '-' + item.FormID}\r\n Deleted(item)} size='1x' icon={'trash'} className=\"text-danger\" />\r\n \r\n ))}\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default RootFormEditor;","import React, { useEffect, useState } from 'react';\r\nimport { Button, ButtonGroup, Card, CardBody, Col, FormGroup, Input, Label, ListGroup, ListGroupItem, ListGroupItemHeading, ListGroupItemText, Row } from 'reactstrap';\r\nimport ButtonIcon from '../../components/common/ButtonIcon';\r\nimport Flex from '../../components/common/Flex';\r\nimport BasePropertyController from '../../Engine/BasePropertyController';\r\nimport { commandList, Utility } from '../../Engine/Common';\r\nimport ObjectClassController from '../../Engine/ObjectClassController';\r\nimport ComboBox from '../../EngineForms/ComboBox';\r\nimport { ThemeDivider } from '../../EngineForms/ThemeControl';\r\n\r\nconst RootPanelEditor = ({ DM }) => {\r\n const form = DM.formStructuer;\r\n const [forms, setForms] = useState([]);\r\n const [BPList, setBPList] = useState([]);\r\n const [SPList, setSPList] = useState([]);\r\n const [connector, setConnector] = useState({});\r\n const [tempcon, setTempcon] = useState({});\r\n const [con, setCon] = useState({});\r\n const [conprop, setConprop] = useState([]);\r\n const [tempconprop, setTempConprop] = useState([]);\r\n useEffect(() => {\r\n const fetchData = async () => {\r\n let tempForms = [];\r\n for (let i = 0; i < form.rows.length; i++) {\r\n const controls = form.rows[i].controls ?? form.rows[i].sections;\r\n if (controls) {\r\n for (let j = 0; j < controls.length; j++) {\r\n const element = controls[j]?.formid;\r\n if (element) {\r\n let tempform = await ObjectClassController.GetFormAsync(element);\r\n tempForms = [...tempForms, { id: tempform.FormID, display: tempform.title }];\r\n }\r\n }\r\n }\r\n }\r\n setForms(tempForms);\r\n }\r\n if (forms.length === 0)\r\n fetchData();\r\n })\r\n const change = ({ target }) => {\r\n form[target.name] = target.value;\r\n DM.ChangeForm(form);\r\n }\r\n const toggelCommand = (id) => {\r\n console.log(form)\r\n let index = form.Commands.findIndex(x => x === id);\r\n if (index < 0)\r\n form.Commands.push(id);\r\n else\r\n form.Commands.splice(index, 1);\r\n DM.ChangeForm(form);\r\n }\r\n const changeRow = ({ target }) => {\r\n if (form.rows.length > target.value) {\r\n form.rows.splice(target.value - 1, form.rows.length - target.value);\r\n }\r\n else {\r\n for (let i = 0; i < target.value - form.rows.length; i++) {\r\n form.rows.push({\r\n height: \"auto\",\r\n controls: []\r\n })\r\n }\r\n }\r\n DM.ChangeForm(form);\r\n }\r\n const formTitle = async (formid) => {\r\n let form = await ObjectClassController.GetFormAsync(formid);\r\n return form.title;\r\n }\r\n const propertyTitle = async (propid) => {\r\n let prop = await BasePropertyController.LoadAsync(propid);\r\n return prop?.Name;\r\n }\r\n const onChange = async (value, ctrl) => {\r\n\r\n connector[ctrl] = value;\r\n setConnector({ ...connector })\r\n let source = await ObjectClassController.LoadAsync(Utility.GetClassID(value));\r\n if (ctrl === 'BF')\r\n setBPList(source.properties)\r\n else if (ctrl === 'SF')\r\n setSPList([...source.properties, { id: 'ID', display: 'ID' }])\r\n }\r\n const addRelation = () => {\r\n if (connector.BF && connector.BP && connector.SF && connector.SP) {\r\n form.Connectors.push(connector);\r\n setConnector({});\r\n }\r\n }\r\n const ontempConChange =async (value, ctrl) => {\r\n tempcon[ctrl] = value;\r\n if (ctrl === 'formId') {\r\n let source = await ObjectClassController.LoadAsync(Utility.GetClassID(value));\r\n setTempConprop(source.properties)\r\n }\r\n setTempcon({ ...tempcon });\r\n }\r\n const addtempCon = () => {\r\n if(! form.TempCon)\r\n form.TempCon=[];\r\n form.TempCon = [...form.TempCon, tempcon]\r\n setTempcon({})\r\n }\r\n const onConChange = async (value, ctrl) => {\r\n\r\n if (ctrl === 'formId') {\r\n con[ctrl] = value;\r\n let source = await ObjectClassController.LoadAsync(Utility.GetClassID(value));\r\n setConprop(source.properties)\r\n setCon({ ...con });\r\n }\r\n else {\r\n if (!con.PIDs)\r\n con.PIDs = [];\r\n con.PIDs = [...con.PIDs, value];\r\n }\r\n }\r\n const addCon = () => {\r\n if(!form.Con)\r\n form.Con=[];\r\n form.Con = [...form.Con, con]\r\n setCon({})\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n Connectors\r\n \r\n \r\n \r\n \r\n \r\n \r\n onChange(value, 'SF')} />\r\n \r\n \r\n \r\n onChange(value, 'SP')} />\r\n \r\n \r\n \r\n \r\n \r\n onChange(value, 'BF')} />\r\n \r\n \r\n \r\n onChange(value, 'BP')} />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {form.Connectors.map((connect, index) => (\r\n {/* \r\n \r\n \r\n */}\r\n \r\n \r\n \r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ontempConChange(value, 'formId')} />\r\n \r\n \r\n \r\n ontempConChange(value, 'PID')} />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {form.TempCon?.map((connect, index) => (\r\n \r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n onConChange(value, 'formId')} />\r\n \r\n \r\n \r\n onConChange(value, 'PIDs')} />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {form.Con?.map((connect, index) => (\r\n \r\n \r\n ))}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n Commands\r\n \r\n {commandList.map((item) => (\r\n x === item.id) >= 0 ? \"falcon-success\" : \"falcon-default\"}\r\n size=\"sm\" icon={item.icon} title={item.title} onClick={() => toggelCommand(item.id)} />\r\n ))}\r\n \r\n \r\n \r\n Row Count\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default RootPanelEditor;","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Button, CardBody } from 'reactstrap';\r\nimport { Utility } from '../Engine/Common';\r\nimport GetDisplay from '../Engine/Lan/Context';\r\nimport { CSVLink } from \"react-csv\";\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport { faDownload } from '@fortawesome/free-solid-svg-icons';\r\nimport { useState } from 'react';\r\nimport BaseInstance from '../Engine/BaseInstance';\r\nimport { AuthenticationController } from '../Engine/Authentication';\r\nconst CommandSetting = [\r\n { command: 'Save', title: GetDisplay('save'), color: 'primary' },\r\n { command: 'New', title: GetDisplay('new'), color: 'secondary' },\r\n { command: 'Delete', title: GetDisplay('delete'), color: 'danger' },\r\n { command: 'Save-New', title: GetDisplay('save-new'), color: 'secondary' },\r\n { command: 'Refresh', title: GetDisplay('refresh'), color: 'secondary' },\r\n { command: 'RefreshTemplate', title: GetDisplay('refresh-template'), color: 'secondary' },\r\n { command: 'DownLoad', title: GetDisplay('download'), color: 'secondary' },\r\n\r\n]\r\nconst Commands = ({ commands, DM, type, formId, callback, Mode }) => {\r\n let result = [];\r\n const [data, setData] = useState([]);\r\n const [busy, setBusy] = useState(false);\r\n useEffect(() => {\r\n const checkrole = async () => {\r\n for (let index = 0; index < commands.length; index++) {\r\n const element = commands[index];\r\n if (typeof (element) === 'string') {\r\n element = { Command: element, Order: [formId] }\r\n }\r\n if (element.Role)\r\n element.visible = await AuthenticationController.HasRole(element.Role);\r\n else\r\n element.visible = true;\r\n }\r\n }\r\n checkrole();\r\n }, [commands])\r\n const Commander = async (command, type, ides = []) => {\r\n setBusy(true);\r\n switch (command) {\r\n case 'Save':\r\n if (DM.ActionType === 'template')\r\n DM.Save();\r\n else {\r\n for (let i = 0; i < ides.length; i++) {\r\n await DM.Save(ides[i], callback);\r\n }\r\n }\r\n break;\r\n case 'New':\r\n for (let i = 0; i < ides.length; i++) {\r\n DM.New(ides[i], Utility.GetFormType(ides[i]));\r\n }\r\n break;\r\n case 'Save-New':\r\n if (DM.ActionType === 'template')\r\n DM.Save();\r\n else {\r\n for (let i = 0; i < ides.length; i++) {\r\n await DM.Save(ides[i], callback);\r\n }\r\n }\r\n for (let i = 0; i < ides.length; i++) {\r\n DM.New(ides[i], Utility.GetFormType(ides[i]));\r\n }\r\n break;\r\n case 'Refresh':\r\n for (let i = 0; i < ides.length; i++) {\r\n await DM.Refresh(ides[i]);\r\n setData(DM.GetDataFromFrom(ides[i]))\r\n }\r\n break;\r\n case 'Delete':\r\n if (DM.ActionType === 'template'){\r\n await DM.DeleteTemplate();\r\n }\r\n else {\r\n for (let i = 0; i < ides.length; i++) {\r\n await DM.Delete(ides[i]);\r\n }\r\n }\r\n break;\r\n }\r\n setBusy(false);\r\n\r\n }\r\n if (type === '3') {\r\n commands.map((item) => {\r\n if (item.visible) {\r\n if (item.Show !== \"TempData\" || Mode === 'template') {\r\n if (item.Order?.length > 0) {\r\n let commandSetting = CommandSetting.find(x => x.command === item.Command);\r\n result = [...result, commandSetting.command === 'DownLoad' ? (data?.length > 0 ?\r\n new BaseInstance(ins).instanceToRow())}\r\n filename={`${DM?.formStructuer?.title ?? \"-file\"}.csv`}>\r\n \r\n : null) : ];\r\n }\r\n else if (!item.Order) {\r\n let commandSetting = CommandSetting.find(x => x.command === item);\r\n result = [...result, ];\r\n }\r\n }\r\n }\r\n })\r\n }\r\n else {\r\n commands.map(item => {\r\n if (item.visible) {\r\n if (item.Order?.length > 0) {\r\n let commandSetting = CommandSetting.find(x => x.command === item.Command);\r\n result = [...result, commandSetting.command === 'DownLoad' ? (data?.length > 0 ?\r\n new BaseInstance(ins).instanceToRow())}\r\n filename={`${DM?.formStructuer?.title ?? \"-file\"}.csv`}>\r\n \r\n : null) : ];\r\n }\r\n else if (!item.Order) {\r\n let commandSetting = CommandSetting.find(x => x.command === item);\r\n result = [...result, ];\r\n }\r\n return result;\r\n }\r\n })\r\n }\r\n return DM.loading ? null :
{result}
;\r\n}\r\nexport default Commands;\r\nCommands.propTypes = {\r\n commands: PropTypes.array.isRequired,\r\n};","import React, { Component } from 'react'\r\nimport { Button, CardBody, Col, Input, Label, Row } from 'reactstrap';\r\nimport { LoadEmploye, NewEmploye, SaveEmploye } from '../../Engine/Common';\r\nimport generator from 'generate-password'\r\nimport { toast } from 'react-toastify';\r\nimport FormManager from '../FormManager';\r\nexport default class EmployeForm extends Component {\r\n state = NewEmploye();\r\n async componentDidUpdate() {\r\n \r\n if (this.props.Data !== null && this.props.Data !== 'new' &&\r\n this.state.Data?.ID !== this.props.Data?.id) {\r\n let data = await LoadEmploye(this.props.Data.id);\r\n\r\n this.setState({\r\n ...this.state,\r\n Data: data\r\n })\r\n }\r\n if (this.props.Data === 'new' && this.state.Data?.UID!=='new') {\r\n this.New();\r\n }\r\n }\r\n onChangeusername = (value) => {\r\n this.setState({\r\n ...this.state,\r\n Data: {\r\n ...this.state.Data,\r\n User: {\r\n ...this.state.Data.User,\r\n UserName: value.target.value\r\n }\r\n }\r\n })\r\n }\r\n onChangepassword = (value) => {\r\n this.setState({\r\n ...this.state, Data: {\r\n ...this.state.Data,\r\n User: {\r\n ...this.state.Data.User,\r\n Password: value.target.value\r\n }\r\n }\r\n })\r\n }\r\n onChangeState = (value) => {\r\n this.setState({\r\n ...this.state, Data: {\r\n ...this.state.Data,\r\n User: {\r\n ...this.state.Data.User,\r\n State: (value.target.value === 'true')\r\n }\r\n }\r\n })\r\n }\r\n PropertyChanged(newvalue, property, instance) {\r\n let data = this.state.Data;\r\n\r\n console.log( property, newvalue, instance)\r\n data.Person = instance;\r\n if (property === \"PC325\") {\r\n data.User.UserName = newvalue;\r\n if (data.User.Password === '') {\r\n var password = generator.generate({\r\n length: 10,\r\n numbers: true\r\n });\r\n data.User.Password = password;\r\n }\r\n }\r\n this.setState({\r\n ...this.state,\r\n Data: data\r\n })\r\n }\r\n Save = async () => {\r\n this.setState({\r\n ...this.state,\r\n disable: true,\r\n })\r\n\r\n let data = await SaveEmploye(this.state.Data);\r\n if (data !== undefined) {\r\n if (this.props.FeedBack !== undefined)\r\n this.props.FeedBack({ id: data.ID, display: data.DIS });\r\n this.setState({\r\n ...this.state,\r\n Data: data,\r\n })\r\n toast.success('اطلاعات با موفقیت ذخیره گردید')\r\n }\r\n this.setState({\r\n ...this.state,\r\n disable: false,\r\n })\r\n }\r\n New = () => {\r\n this.setState(NewEmploye());\r\n }\r\n RestPass = () => {\r\n var password = generator.generate({\r\n length: 10,\r\n numbers: true\r\n });\r\n let data = this.state.Data;\r\n data.User.Password = password;\r\n this.setState({\r\n ...this.state,\r\n Data: data\r\n })\r\n }\r\n render() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n {\r\n this.props.New ?\r\n \r\n : null\r\n }\r\n \r\n
\r\n
\r\n
\r\n );\r\n }\r\n}","import React, { Component } from 'react';\r\nimport { Table, Row, Col } from 'reactstrap';\r\nimport RelationController from '../Engine/RelationController';\r\nimport EmployeForm from './StaticForm/EmployeForm';\r\nimport { Utility } from '../Engine/Common';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport FormManager from './FormManager';\r\nimport SearchControl from './SearchControl';\r\nimport GetDisplay from '../Engine/Lan/Context';\r\n\r\nexport default class RelationForm extends Component {\r\n state = {\r\n Data: { ...RelationController.DataModel },\r\n loading: false,\r\n SelectedItem: null\r\n }\r\n async componentDidMount() {\r\n await this.Initial();\r\n }\r\n async componentDidUpdate() {\r\n await this.Initial();\r\n }\r\n async Initial() {\r\n if (this.props.RelationType !== null && Utility.IsInstanceID(this.props.BaseId)\r\n && this.state.Data.baseID !== this.props.BaseId) {\r\n let data = {};\r\n data.baseID = this.props.BaseId;\r\n data.relationType = this.props.RelationType;\r\n data.relationTypeID = this.props.RelationType.ID;\r\n let related = await RelationController.GetRelationAsync(data);\r\n if (related !== undefined){\r\n data.dependencyIDes = related.dependencyIDes;\r\n if(((this.props.RelationControl & 2) !== 2 )&& data.dependencyIDes?.length===1)\r\n this.setState({ ...this.state, SelectedItem: data.dependencyIDes[0] })\r\n }\r\n this.setState({\r\n ...this.state,\r\n Data: data\r\n });\r\n }\r\n }\r\n CustomeComponent =
;\r\n SelectItem(item) {\r\n this.setState({ ...this.state, SelectedItem: item })\r\n }\r\n async Deleted(instance) {\r\n if (window.confirm(GetDisplay('delete-comfirm'))) {\r\n let data = { ...this.state.Data };\r\n \r\n data.dependencyIDes = [instance]\r\n let result = await RelationController.DeleteRelationAsync(data);\r\n if (result !== undefined) {\r\n let index = this.state.Data.dependencyIDes.findIndex(x => x.id === instance.id);\r\n this.state.Data.dependencyIDes.splice(index, 1);\r\n this.setState({\r\n ...this.state,\r\n Data: { ...this.state.Data }\r\n })\r\n }\r\n }\r\n }\r\n async FeedBack(instance) {\r\n if (this.state.Data.dependencyIDes.findIndex(x => x.id === instance?.id) < 0) {\r\n let data = { ...this.state.Data };\r\n data.dependencyIDes = [instance];\r\n let result = await RelationController.AddRelationAsync(data);\r\n if (result !== undefined) {\r\n this.state.Data.dependencyIDes = [...this.state.Data.dependencyIDes, instance]\r\n this.setState({\r\n ...this.state,\r\n Data: { ...this.state.Data }\r\n })\r\n }\r\n }\r\n }\r\n async SearchItem(item) {\r\n this.FeedBack(item);\r\n }\r\n loadComponent() {\r\n let result = [];\r\n if (Utility.IsClassID(this.state.Data?.relationType?.Refrence)) {\r\n result = [...result, ];\r\n }\r\n return result;\r\n\r\n }\r\n\r\n NewInstance() {\r\n let result = [];\r\n if (Utility.IsFormID(this.state.Data?.relationType?.FormID)) {\r\n result = [...result, ];\r\n\r\n } else if (this.state.Data?.relationType !== null && this.state.Data?.relationType?.FormID === 'EmployeForm') {\r\n result = [...result, this.setState({ ...this.state, SelectedItem: 'new' })} \r\n Data={this.state.SelectedItem} FeedBack={this.FeedBack.bind(this)} />];\r\n }\r\n return result;\r\n }\r\n \r\n render() {\r\n return (\r\n {(this.props.RelationControl & 4) === 4 ? \r\n {this.NewInstance()}\r\n : null}\r\n {((this.props.RelationControl & 1) === 1 || (this.props.RelationControl & 2) === 2 )? \r\n \r\n {(this.props.RelationControl & 1) === 1?this.loadComponent():null}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.state.Data.dependencyIDes.map((item) => {\r\n return (\r\n \r\n );\r\n })\r\n }\r\n \r\n
{this.state.Data?.relationType?.DIS}
\r\n {item.display??item?.Prop[0]?.IPV}\r\n
\r\n :null}\r\n \r\n
);\r\n\r\n }\r\n}\r\n","import React from 'react';\r\nimport { Droppable } from 'react-beautiful-dnd';\r\n\r\nconst DroppableArea = ({children,droppableId}) => {\r\n return (\r\n \r\n {(provided) => (\r\n
\r\n {children}\r\n {provided.placeholder}\r\n
\r\n )}\r\n
\r\n );\r\n};\r\n\r\nexport default DroppableArea;","import React from 'react';\r\nimport { Draggable } from 'react-beautiful-dnd';\r\n\r\nconst DraggableItem = ({children,draggableId,index}) => {\r\n return (\r\n \r\n {(provided) => (\r\n
\r\n {children}\r\n
)}\r\n
\r\n );\r\n};\r\n\r\nexport default DraggableItem;","import { faBolt, faCog } from '@fortawesome/free-solid-svg-icons';\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { Card, FormGroup, Input, Label, Modal, ModalBody, ModalHeader } from 'reactstrap';\r\nimport ButtonIcon from '../../components/common/ButtonIcon';\r\nimport { CommandRow, NewCell } from '../../Engine/Common';\r\n\r\nconst RowEditor = ({ DM, index }) => {\r\n const row = DM.formStructuer.rows[index];\r\n const [columns, setColumns] = useState();\r\n const [isOpen, toggle] = useState();\r\n const controls = DM.formStructuer.rows[index].controls??DM.formStructuer.rows[index].sections;\r\n useEffect(() => {\r\n if (Array.isArray(controls)) {\r\n let cc = '';\r\n controls.map((col, colindex) => cc += (colindex > 0 ? ',' : '') + col.col);\r\n setColumns(cc);\r\n }\r\n }, [DM.formStructuer.rows, index,controls])\r\n\r\n const onChange = ({ target }) => {\r\n DM.formStructuer.rows[index][target.name] = target.value;\r\n }\r\n const onControlChange = ({ target }) => {\r\n let colSize = target.value.split(',');\r\n let count = colSize.length;\r\n if (row.controls.length > count) {\r\n DM.formStructuer.rows[index].controls.splice(count - 1, row.controls.length - count);\r\n }\r\n else {\r\n for (let i = 0; i < count - row.controls.length; i++) {\r\n DM.formStructuer.rows[index].controls.push({ ...NewCell })\r\n }\r\n }\r\n\r\n for (let i = 0; i < DM.formStructuer.rows[index].controls.length; i++)\r\n DM.formStructuer.rows[index].controls[i].col = colSize[i];\r\n\r\n DM.ChangeForm(DM.formStructuer);\r\n let cc = '';\r\n DM.formStructuer.rows[index].controls.map((col, colindex) => cc += (colindex > 0 ? ',' : '') + col.col);\r\n setColumns(cc);\r\n }\r\n return (\r\n \r\n
\r\n {Array.isArray(controls)?<>\r\n { DM.formStructuer.rows[index] = {...CommandRow}; DM.ChangeForm(DM.formStructuer);}}\r\n />\r\n toggle(!isOpen)}\r\n />\r\n \r\n :}\r\n toggle(!isOpen)} isOpen={isOpen}>\r\n toggle(!isOpen)} charCode=\"X\">Row Editor\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nexport default RowEditor;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { CardBody, Col, Nav, NavItem, NavLink, Row, TabContent, TabPane } from 'reactstrap';\r\nimport CellControl from './CellControl';\r\nimport { ThemeDivider } from './ThemeControl'\r\nimport Commands from './Commands';\r\nimport RelationForm from './RelationForm';\r\nimport { useState } from 'react';\r\nimport classnames from 'classnames';\r\nimport { useEffect } from 'react';\r\nimport DroppableArea from './DroppableArea';\r\nimport DraggableItem from './DraggableItem';\r\nimport RowEditor from '../EngineDeveloper/FormBuilder/RowEditor';\r\nconst RelationManager = (props) => {\r\n const Relations = props.Form.Relations\r\n\r\n\r\n const { DataDataForm, Form } = props;\r\n const [activeTab, toggle] = useState(props.selectedTab??'INSTANCE')\r\n return (Relations?.length > 0 ? (<>\r\n \r\n \r\n \r\n \r\n \r\n {\r\n Relations?.length > 0 ?\r\n (\r\n Relations.map((relation, index) => {\r\n let rtype=relation.Type;\r\n if(!rtype)\r\n rtype=7;\r\n return (\r\n \r\n \r\n \r\n );\r\n })) : null\r\n }\r\n ) : null)\r\n}\r\nconst MainForm = ({ Form, DataDataForm, CardOff, DM, ...rest }) => {\r\n \r\n const onChange = async (value, pid,refrence,TP) => {\r\n if (DataDataForm)\r\n await DM.ChangeData(value, pid, DataDataForm.data,TP);\r\n };\r\n\r\n \r\n const AddToDrop = (content, rowIndex, colIndex, control) => {\r\n if(rest.mode==='design')\r\n return \r\n \r\n {content}\r\n \r\n \r\n else return content;\r\n }\r\n return (<>{\r\n Form?.rows?.map((row, rowIndex) => {\r\n return (
\r\n {row.title ? {row.title} : null}\r\n {rest.mode==='design' ?:null}\r\n \r\n {\r\n row.controls.map((control, colIndex) => {\r\n let resultlist = DataDataForm?.data?.Prop?.find((p) => p.PID === control.pid);\r\n return (control.col?\r\n \r\n {AddToDrop(,rowIndex,colIndex,control)}\r\n :\r\n \r\n {AddToDrop(,rowIndex,colIndex,control)}\r\n \r\n )\r\n })\r\n }\r\n \r\n
);\r\n })\r\n }\r\n {(!CardOff || rest.CommandOff) ? : null}\r\n\r\n );\r\n}\r\nconst DataForm = ({ Form, DataDataForm, CardOff, DM, ...rest }) => {\r\n useEffect(() => {\r\n const fetch=async()=>{\r\n if (!DataDataForm)\r\n await DM.New(Form.FormID,'0')\r\n }\r\n fetch();\r\n }, [DataDataForm])\r\n return (Form?.Relations && Form?.Relations?.length>0 ? : );\r\n}\r\nexport default DataForm;\r\nDataForm.propTypes = {\r\n Form: PropTypes.object.isRequired,\r\n};","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Button, Col, CustomInput, Row, Table } from 'reactstrap';\r\nimport CellControl from './CellControl';\r\nimport moment from 'jalali-moment'\r\nimport { Fragment } from 'react';\r\nimport Commands from './Commands';\r\nimport RowEditor from '../EngineDeveloper/FormBuilder/RowEditor';\r\nimport { ThemeDivider } from './ThemeControl';\r\nimport DroppableArea from './DroppableArea';\r\nimport DraggableItem from './DraggableItem';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport { faArrowCircleDown, faArrowCircleUp, faTrash } from '@fortawesome/free-solid-svg-icons';\r\nconst ListForm = ({ Form, DataListForm, CardOff, DM, Editor, ...rest }) => {\r\n const [listdata, setListData] = useState()\r\n useEffect(() => {\r\n setListData(DataListForm?.data)\r\n }, [DataListForm?.data])\r\n useEffect(() => {\r\n if (Form.BeforeValidate)\r\n DM.AddDataProperty(Form.FormID, 'BeforeValidate', Form.BeforeValidate);\r\n }, [Form])\r\n const [loading, setLoading] = useState(false);\r\n const [selectedRow, setSelectedRow] = useState();\r\n const onChange = async (value, pid, refrence) => {\r\n await DM.ChangeData(value, pid, refrence);\r\n };\r\n const [sortType, setsortType] = useState(1);\r\n const sort = (pid) => {\r\n if (listdata) {\r\n let type = 'str';\r\n let item1objType = listdata[0].Prop.find(x => x.PID === pid);\r\n let item1 = (item1objType?.DIS ?? item1objType?.IPV) ?? '';\r\n if (parseFloat(item1))\r\n type = 'num';\r\n listdata.sort((a, b) => {\r\n let item1obj = a.Prop.find(x => x.PID === pid);\r\n let item1 = (item1obj?.DIS ?? item1obj?.IPV) ?? '';\r\n let item2obj = b.Prop.find(x => x.PID === pid);\r\n let item2 = (item2obj?.DIS ?? item2obj?.IPV) ?? '';\r\n if (type === 'str')\r\n return item1.localeCompare(item2) * sortType;\r\n if (parseFloat(item1) > parseFloat(item2))\r\n return 1 * sortType;\r\n else if (parseFloat(item1) < parseFloat(item2))\r\n return -1 * sortType;\r\n return 0;\r\n });\r\n setsortType(sortType * -1);\r\n setListData([...listdata])\r\n }\r\n }\r\n const RowDBLClick = (instance) => {\r\n setSelectedRow(instance)\r\n if (rest.RowDoubleClick)\r\n rest.RowDoubleClick(instance);\r\n if (Editor) {\r\n DM.SendToEditor(instance, Form.FormID, Editor);\r\n }\r\n }\r\n const FillProp = (propid) => {\r\n if (propid) {\r\n DM.FillProp(Form.FormID, propid);\r\n }\r\n }\r\n const AddToDrop = (content, rowIndex, colIndex, control) => {\r\n if (rest.mode === 'design')\r\n return \r\n \r\n {content}\r\n \r\n \r\n else return content;\r\n }\r\n return (\r\n {!CardOff ? : null}\r\n\r\n {Form?.rows[0].title ? {Form?.rows[0].title} : null}\r\n {rest.mode === 'design' ? : null}\r\n {rest.mode === 'design' ? \r\n {\r\n Form?.rows[0].controls.map((control, colIndex) => {\r\n return (\r\n \r\n {AddToDrop(, 0, colIndex, control)}\r\n \r\n )\r\n })\r\n }\r\n :\r\n
\r\n \r\n \r\n \r\n {DM.ActionType === 'template' ?\r\n <>\r\n \r\n \r\n \r\n \r\n : null}\r\n {Form.HasRow ? : null}\r\n\r\n {\r\n Form?.rows[0].controls.map((control, colIndex) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n \r\n {\r\n loading ? null :\r\n listdata?.map((instance, index) => (\r\n { e.preventDefault(); RowDBLClick(instance) }}\r\n style={selectedRow?.ID === instance.ID ? {\r\n background: '#2c7be5',\r\n color: 'white'\r\n } : null}\r\n key={instance.ID + index}>\r\n {DM.ActionType === 'template' ?\r\n \r\n : null}\r\n {DM.ActionType === 'template' ?\r\n \r\n : null}\r\n {DM.ActionType === 'template' ?\r\n \r\n : null}\r\n {Form.HasRow ? : null}\r\n {\r\n Form.rows[0].controls.map((control, colIndex) => {\r\n let resultlist = instance.Prop?.find((p) => p.PID === control.pid);\r\n if ((control?.Editable || DM.ActionType === 'template') && !rest.isReadonly) {\r\n return (\r\n \r\n )\r\n }\r\n else {\r\n try {\r\n let pvalue = '';\r\n if (resultlist !== null && resultlist !== undefined) {\r\n pvalue = resultlist.DIS ? resultlist.DIS : resultlist.IPV;\r\n if (control.controlType === \"TimePeriod\" || control.controlType === \"DatePeriod\"){\r\n pvalue = moment(resultlist.IPV, 'MM/DD/YYYY')\r\n .locale('fa')\r\n .format('YYYY/M/D');\r\n }\r\n else if(control.controlType===\"DateTime\"){\r\n pvalue = moment(resultlist.IPV, 'MM/DD/YYYY HH:mm')\r\n .locale('fa')\r\n .format('YYYY/M/D HH:mm');\r\n }\r\n }\r\n return \r\n } catch (error) {\r\n return \r\n }\r\n \r\n }\r\n })\r\n }\r\n {rest.delete ? : null}\r\n \r\n ))\r\n }\r\n \r\n
%بالاپایین# DM.ActionType !== 'template' ? sort(control.pid) : null} >\r\n {DM.ActionType === 'template' ?\r\n : control.title\r\n }\r\n
{ DM.RemoveRow(Form.FormID, index) }} > { DM.RowUp(Form.FormID, index) }} > { DM.RowDown(Form.FormID, index) } } >{index + 1}\r\n \r\n {pvalue}{resultlist.IPV}
}\r\n
);\r\n}\r\nexport default ListForm;\r\nListForm.propTypes = {\r\n Form: PropTypes.object.isRequired,\r\n};","import React, { useState } from 'react';\r\nimport { Label } from 'reactstrap';\r\nimport ObjectClassController from '../../Engine/ObjectClassController';\r\nimport ComboBox from '../../EngineForms/ComboBox';\r\nimport SearchControl from '../../EngineForms/SearchControl';\r\n\r\nconst FormFinder = ({ onFormChanged, onClassChanged,addNew }) => {\r\n const [forms, setForms] = useState();\r\n const [selForm, setSelForm] = useState();\r\n\r\n const getFroms = async (oc) => {\r\n if (onClassChanged)\r\n onClassChanged(oc)\r\n let temp = await ObjectClassController.GetFormListAsync(oc.id);\r\n if(addNew)\r\n temp = [{ id: '', display: '' }, { id: 'new', display: 'new' }, ...temp];\r\n setForms(temp);\r\n }\r\n return (\r\n <>\r\n \r\n \r\n {setSelForm(value); onFormChanged(value)}} source={forms} value={selForm} />\r\n \r\n );\r\n};\r\n\r\nexport default FormFinder;","import React, { useEffect, useState } from 'react';\r\nimport { Card, FormGroup, Input, Label, Modal, ModalBody, ModalHeader } from 'reactstrap';\r\nimport ObjectClassController from '../../Engine/ObjectClassController';\r\nimport ComboBox from '../../EngineForms/ComboBox';\r\nimport FormFinder from '../FormBuilder/FormFinder';\r\n\r\nconst CellEditor = ({ rowIndex, colIndex, DM,children,formId}) => {\r\n const form = DM.formStructuer;\r\n const [isOpen,setIsOpen]=useState();\r\n const [forms, setForms] = useState();\r\n const toggle=()=>{\r\n setIsOpen(!isOpen);\r\n }\r\n const controls = DM?.formStructuer?.rows[rowIndex]?.controls??DM?.formStructuer?.rows[rowIndex]?.sections;\r\n useEffect(() => {\r\n const fetchData = async () => {\r\n let tempForms = [];\r\n for (let i = 0; i < form.rows.length; i++) {\r\n const controls = form.rows[i].controls ?? form.rows[i].sections;\r\n if (controls) {\r\n for (let j = 0; j < controls.length; j++) {\r\n const element = controls[j]?.formid;\r\n if (element) {\r\n let tempform = await ObjectClassController.GetFormAsync(element);\r\n tempForms = [...tempForms, { id: tempform.FormID, display: tempform.title }];\r\n }\r\n }\r\n }\r\n }\r\n setForms(tempForms);\r\n }\r\n if (!forms)\r\n fetchData();\r\n })\r\n const cell =controls? controls[colIndex]:null;\r\n console.log(cell,forms,forms?.filter(x=>x.id!==form.FormID))\r\n const onChange = ({ target }) => {\r\n controls[colIndex][target.name] = target.value;\r\n DM.ChangeForm(DM.formStructuer);\r\n }\r\n const onFormChanged = (value) => {\r\n controls[colIndex].formid = value;\r\n DM.ChangeForm(DM.formStructuer);\r\n }\r\n const onEditorChanged = (value) => {\r\n controls[colIndex].Editor = value;\r\n DM.ChangeForm(DM.formStructuer);\r\n }\r\n const onClick=(e)=>{\r\n if(e.detail===2){\r\n toggle(true)\r\n }\r\n }\r\n return (
\r\n {children}\r\n {controls && controls[colIndex]?.formid?null:
{'Select a form'}
}\r\n \r\n Cell Editor\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n x.id!==cell.formid)} name='Editor' value={cell.Editor} onChange={onEditorChanged} />\r\n \r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nexport default CellEditor;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Col, Row } from 'reactstrap';\r\nimport { ThemeDivider } from './ThemeControl'\r\nimport { Fragment } from 'react';\r\nimport FormManager from './FormManager';\r\nimport Commands from './Commands';\r\nimport RowEditor from '../EngineDeveloper/FormBuilder/RowEditor';\r\nimport CellEditor from '../EngineDeveloper/PanelBuilder/CellEditor';\r\nimport DroppableArea from './DroppableArea';\r\nimport DraggableItem from './DraggableItem';\r\nconst PanelForm = ({ Form, Data, onChangeData, DM, onSelected, ...rest }) => {\r\n\r\n const DesignMode=(content)=>{\r\n if(rest.mode === 'design')\r\n content = \r\n {content}\r\n \r\n return content;\r\n }\r\n const rowDesignMode=(content,rowIndex)=>{\r\n if(rest.mode === 'design')\r\n content = \r\n \r\n {content}\r\n \r\n return content;\r\n }\r\n return (<>{DesignMode(\r\n Form?.rows?.map((row, rowIndex) => {\r\n let controls = row?.controls ?? row?.sections;\r\n return ( rowDesignMode(\r\n {row.title && row.title !== '' ?
{row.title}
: null}\r\n \r\n {Array.isArray(controls) ?\r\n controls?.map((section, colIndex) => {\r\n return (\r\n \r\n {section.title !== '' ? {section.title} : null}\r\n {rest.mode === 'design' ? \r\n \r\n : \r\n }\r\n\r\n \r\n )\r\n }) : \r\n }\r\n {/* {!!row?.Commands ?\r\n : null} */}\r\n \r\n
,rowIndex));\r\n }))\r\n }\r\n\r\n );\r\n}\r\nexport default PanelForm;\r\nPanelForm.propTypes = {\r\n Form: PropTypes.object.isRequired,\r\n};","import { faCogs, faCopy, faExclamation, faPaste } from '@fortawesome/free-solid-svg-icons';\r\nimport React, { Component } from 'react';\r\nimport { Button, Card, CardBody, Label, Modal, ModalBody, ModalFooter, ModalHeader, Spinner } from 'reactstrap';\r\nimport ButtonIcon from '../components/common/ButtonIcon';\r\nimport { Utility } from '../Engine/Common';\r\nimport ObjectClassController from '../Engine/ObjectClassController';\r\nimport Parameters from '../Engine/Parameters';\r\nimport RootFormEditor from '../EngineDeveloper/FormBuilder/RootFormEditor';\r\nimport RootPanelEditor from '../EngineDeveloper/PanelBuilder/RootPanelEditor';\r\nimport DataForm from './DataForm';\r\nimport DataManager from './DataManager';\r\nimport ListForm from './ListForm';\r\nimport PanelForm from './PanelForm';\r\nimport { ThemeCardHeader } from './ThemeControl';\r\nimport uuid from 'uuid';\r\nimport { AuthenticationController } from '../Engine/Authentication';\r\nexport default class FormManager extends Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n }\r\n state = {\r\n LastFormId: '',\r\n FormStructuer: null,\r\n FormType: '',\r\n FormData: undefined,\r\n DM: new DataManager(this),\r\n loadData: true,\r\n modalComp: false,\r\n loading: false,\r\n popupIsOpen: false,\r\n alertbtn: false, IsAdmin: undefined\r\n }\r\n async componentDidMount() {\r\n\r\n if (this.props.builder)\r\n this.props.builder.DM = this.state.DM;\r\n if (!this.state.IsAdmin) {\r\n let IsAdmin = await AuthenticationController.HasRole('R2');\r\n this.setState({\r\n ...this.state, IsAdmin\r\n })\r\n }\r\n\r\n await this.Initialiez();\r\n\r\n }\r\n async componentDidUpdate() {\r\n await this.Initialiez();\r\n }\r\n initialize = false;\r\n componentWillUnmount() {\r\n this.setState = (state, callback) => {\r\n return;\r\n };\r\n }\r\n\r\n async Initialiez() {\r\n if (this.props.formId && (this.state.LastFormId !== this.props.formId\r\n || this.state.Mode !== this.props.mode) && !this.initialize) {\r\n this.initialize = true;\r\n let FormStructuer = this.props.FormStructuer;\r\n let FormType = this.props.FormType;\r\n if (!FormType)\r\n FormType = Utility.GetFormType(this.props.formId);\r\n if (!FormStructuer)\r\n FormStructuer = await ObjectClassController.GetFormAsync(this.props.formId, null\r\n , FormType);\r\n let DM = this.props.DM;\r\n if (!DM) {\r\n DM = new DataManager(this);// this.state.DM;\r\n let id = uuid();\r\n DM.ID = id;\r\n DM.MainFormID = this.props.formId;\r\n DM.ActionType = this.props.mode;\r\n DM.InitialTemplate(FormStructuer);\r\n if (this.props.onChange)\r\n DM.onChangeProp = this.props.onChange;\r\n if (this.props.FeedBack)\r\n DM.feedBack = this.props.FeedBack;\r\n }\r\n\r\n if (FormStructuer && FormType !== '3') {\r\n FormStructuer = await ObjectClassController.FillForm(this.props.formId);\r\n }\r\n this.initialize = false;\r\n this.setState({\r\n ...this.state,\r\n LastFormId: this.props.formId,\r\n DM,\r\n FormData: undefined,\r\n Mode: this.props.mode,\r\n FormStructuer,\r\n loadData: true,\r\n });\r\n\r\n\r\n }\r\n if (this.props.Data && this.props.Data !== this.state.FormData && !this.initialize) {\r\n // for (let index = 0; index < this.props.Data.length; index++) {\r\n // const element = this.props.Data[index];\r\n // this.state.DM.SetData(element.formId ,element.data)\r\n // }\r\n if (this.props.Data[0].data?.Prop) {\r\n for (let index = 0; index < this.props.Data[0].data?.Prop?.length; index++) {\r\n const element = this.props.Data[0].data.Prop[index];\r\n await this.state.DM.ShowPopup(element.PID, element.IPV);\r\n }\r\n\r\n }\r\n this.setState({\r\n ...this.state,\r\n FormData: this.props.Data\r\n })\r\n }\r\n if (this.props.insId && this.props.insId !== this.state.insId && !this.initialize) {\r\n this.setState({\r\n ...this.state,\r\n insId: this.props.insId,\r\n })\r\n let insId = this.props.insId;\r\n\r\n if (insId && !Utility.IsClassOrInstanceID(insId)) {\r\n insId = await Parameters.GetValue(insId)\r\n }\r\n if (Utility.IsInstanceID(insId)) {\r\n await this.state.DM.LoadDataAsync(insId);\r\n }\r\n }\r\n if (!this.props.insId && this.props.location?.state?.Active === false && !this.initialize) {\r\n this.props.location.state.Active = true;\r\n let formId = this.props.location?.state.formid\r\n let values = this.props.location?.state.values;\r\n await this.state.DM.New(formId, Utility.GetFormType(formId));\r\n for (let i = 0; i < values?.length; i++) {\r\n const element = values[i];\r\n await this.state.DM.ChangeData(element.value, element.pid, formId);\r\n }\r\n }\r\n }\r\n\r\n SelectedInstance(instance, editor) {\r\n let index = this.state.FormData.findIndex(x => x.formId === editor);\r\n let FormData = this.state.FormData;\r\n if (index >= 0)\r\n FormData.splice(index, 1);\r\n FormData = [...FormData, {\r\n formId: editor,\r\n data: instance\r\n }];\r\n this.setState({\r\n ...this.state,\r\n FormData\r\n })\r\n }\r\n Body(CardOff) {\r\n let result = null;\r\n let tempData;\r\n if (this.state.FormData)\r\n tempData = this.state.FormData.find(f => f.formId === this.props.formId);\r\n switch (this.state.FormStructuer.ShowType) {\r\n case 'vertical':\r\n result = \r\n break;\r\n case 'horizental':\r\n result = \r\n break;\r\n case 'Panel':\r\n result = \r\n break;\r\n default:\r\n result = \r\n break;\r\n }\r\n if (this.props.formLoaded)\r\n this.props.formLoaded(this.props.formId);\r\n return result;\r\n }\r\n toggleModal = () => {\r\n this.setState({\r\n ...this.state,\r\n modalComp: !this.state.modalComp\r\n })\r\n\r\n }\r\n copyTemplate = async () => {\r\n console.log(this.state.DM.Template)\r\n const jsonString = JSON.stringify(this.state.FormData, null, 2);\r\n await navigator.clipboard.writeText(jsonString);\r\n }\r\n pasteTemplate = async () => {\r\n const jsonString = await navigator.clipboard.readText();\r\n let CopyFormData = JSON.parse(jsonString);\r\n let sample = this.state.FormData.find((f)=>f.formId.includes('F0')).data.Prop.find((p)=>p.PID==='P9');\r\n let header = CopyFormData.find((f)=>f.formId.includes('F0'));\r\n var index = header.data.Prop.findIndex((p)=>p.PID==='P9');\r\n header.data.Prop.splice(index,1);\r\n header.data.Prop.push(sample);\r\n console.log(CopyFormData);\r\n this.state.DM.Storage = CopyFormData;\r\n this.state.DM.SetState(CopyFormData);\r\n }\r\n render() {\r\n if (this.props.DMChanged) {\r\n this.props.DMChanged(this.state.DM);\r\n }\r\n return (<>{this.state.FormStructuer ?\r\n (this.props.CardOff ? this.Body(true) :\r\n \r\n {/* */}\r\n\r\n \r\n {this.state.loading ? : null}\r\n {this.props.mode === 'design' ?\r\n : null}\r\n {this.state.alertbtn ?\r\n this.setState({ ...this.state, popupIsOpen: true })} /> : null}\r\n {this.props.mode === 'template' ? : null}\r\n {this.props.mode === 'template' ? : null}\r\n \r\n \r\n {this.Body(false)}\r\n {this.props.children}\r\n \r\n {/* */}\r\n {this.props.mode === 'design' ?\r\n \r\n \r\n Form Data\r\n \r\n \r\n {this.state.FormStructuer.ShowType === 'Panel' ? : }\r\n \r\n : null}\r\n ) : \r\n }\r\n {this.state.alertbtn ? \r\n {this.state?.message.Title}\r\n \r\n
\r\n \r\n \r\n \r\n \r\n : null}\r\n );\r\n }\r\n}\r\n","import BaseInstance, { NewInstance, NewProperty } from \"../../../Engine/BaseInstance\";\r\nimport ConditionMaker from \"../../../Engine/ConditionMaker\";\r\n\r\nexport class BacteryGender extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C65');\r\n BacteryGender.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC88'];\r\n set Name(value) {\r\n this.SetValue(BacteryGender.PIDs[0], value);\r\n }\r\n get Name()\r\n {\r\n return this.GetValue(BacteryGender.PIDs[0]);\r\n }\r\n}\r\n\r\nexport class BacterySpices extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C66');\r\n BacterySpices.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC88', 'P91','PC612'];\r\n set Name(value) {\r\n this.SetValue(BacterySpices.PIDs[0], value);\r\n }\r\n get Name()\r\n {\r\n return this.GetValue(BacterySpices.PIDs[0]);\r\n }\r\n set BacterySpices(value) {\r\n this.SetValue(BacterySpices.PIDs[1], value);\r\n }\r\n get BacterySpices()\r\n {\r\n return this.GetValue(BacterySpices.PIDs[1]);\r\n }\r\n set NoShow(value) {\r\n this.SetValue(BacterySpices.PIDs[2], value);\r\n }\r\n get NoShow()\r\n {\r\n return this.GetValue(BacterySpices.PIDs[2]);\r\n }\r\n async getListby(gender) {\r\n let con = new ConditionMaker('O30E12C66');\r\n con.AddCondition('P91', '=', gender);\r\n return await con.GetResult();\r\n }\r\n async getActiveListby(gender) {\r\n let con = new ConditionMaker('O30E12C66');\r\n let con1=con.AddCondition('P91', '=', gender,'AND');\r\n con1.AddCondition('PC612', '<>', true);\r\n return await con.GetResult();\r\n }\r\n}\r\n\r\nexport class BacteryDiagnosis extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C67');\r\n BacteryDiagnosis.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['P91', 'P92', 'P100'];\r\n set BacteryGender(value) {\r\n this.SetValue(BacteryDiagnosis.PIDs[0], value);\r\n }\r\n get BacteryGender()\r\n {\r\n return this.GetValue(BacteryDiagnosis.PIDs[0]);\r\n } set BacterySpices(value) {\r\n this.SetValue(BacteryDiagnosis.PIDs[1], value);\r\n }\r\n get BacterySpices()\r\n {\r\n return this.GetValue(BacteryDiagnosis.PIDs[1]);\r\n } set DocumentHeader(value) {\r\n this.SetValue(BacteryDiagnosis.PIDs[2], value);\r\n }\r\n get DocumentHeader()\r\n {\r\n return this.GetValue(BacteryDiagnosis.PIDs[2]);\r\n }\r\n get BacteryGenderObj()\r\n {\r\n let prop = this.GetProperty(BacteryDiagnosis.PIDs[0]);\r\n return {id:prop.IPV,display:prop.DIS};\r\n }\r\n get BacterySpicesObj()\r\n {\r\n let prop =this.GetProperty(BacteryDiagnosis.PIDs[1]);\r\n return {id:prop.IPV,display:prop.DIS};\r\n }\r\n}\r\n\r\nexport class BacteryTest extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C68');\r\n BacteryTest.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC95'];\r\n set Title(value) {\r\n this.SetValue(BacteryTest.PIDs[0], value);\r\n }\r\n get Title() {\r\n return this.GetValue(BacteryTest.PIDs[0]);\r\n }\r\n}\r\n\r\nexport class BacteryTestRow extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C69');\r\n BacteryTestRow.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC2', 'P93', 'P94', 'P100'];\r\n set Rows(value) {\r\n this.SetValue(BacteryTestRow.PIDs[0], value);\r\n }\r\n get Rows() {\r\n return this.GetValue(BacteryTestRow.PIDs[0]);\r\n } set BacteryTest(value) {\r\n this.SetValue(BacteryTestRow.PIDs[1], value);\r\n }\r\n get BacteryTest() {\r\n return this.GetValue(BacteryTestRow.PIDs[1]);\r\n }\r\n get BacteryTestObject() {\r\n return this.GetValue(BacteryTestRow.PIDs[1],true);\r\n }\r\n set Result(value) {\r\n this.SetValue(BacteryTestRow.PIDs[2], value);\r\n }\r\n get Result() {\r\n return this.GetValue(BacteryTestRow.PIDs[2]);\r\n }\r\n get ResultObject() {\r\n return this.GetValue(BacteryTestRow.PIDs[2],true);\r\n }\r\n set DocumentHeader(value) {\r\n this.SetValue(BacteryTestRow.PIDs[3], value);\r\n }\r\n get DocumentHeader() {\r\n return this.GetValue(BacteryTestRow.PIDs[3]);\r\n }\r\n \r\n}\r\n\r\nexport class BacteryTestResult extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C70');\r\n BacteryTestResult.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC88','P99'];\r\n set Name(value) {\r\n this.SetValue(BacteryTestResult.PIDs[0], value);\r\n }\r\n get Name()\r\n {\r\n return this.GetValue(BacteryTestResult.PIDs[0]);\r\n }\r\n set Test(value) {\r\n this.SetValue(BacteryTestResult.PIDs[1], value);\r\n }\r\n get Test() {\r\n return this.GetValue(BacteryTestResult.PIDs[1]);\r\n }\r\n async getListby(test) {\r\n let con = new ConditionMaker('O30E12C70');\r\n con.AddCondition('P99', '=', test);\r\n return await con.GetResult();\r\n }\r\n}\r\n\r\nexport class AntibioticsDisk extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C71');\r\n AntibioticsDisk.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC95'];\r\n set Title(value) {\r\n this.SetValue(AntibioticsDisk.PIDs[0], value);\r\n }\r\n get Title()\r\n {\r\n return this.GetValue(AntibioticsDisk.PIDs[0]);\r\n }\r\n}\r\n\r\nexport class AntibioticsDiskMaker extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C72');\r\n AntibioticsDiskMaker.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC88'];\r\n set Name(value) {\r\n this.SetValue(AntibioticsDiskMaker.PIDs[0], value);\r\n }\r\n get Name()\r\n {\r\n return this.GetValue(AntibioticsDiskMaker.PIDs[0]);\r\n }\r\n}\r\n\r\nexport class AntibioticsResultInterpretation extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C73');\r\n AntibioticsResultInterpretation.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC95'];\r\n set Title(value) {\r\n this.SetValue(AntibioticsResultInterpretation.PIDs[0], value);\r\n }\r\n get Title()\r\n {\r\n return this.GetValue(AntibioticsResultInterpretation.PIDs[0]);\r\n }\r\n}\r\n\r\nexport class AntibioticsRow extends BaseInstance {\r\n constructor(instance) {\r\n if (instance === undefined) {\r\n instance = NewInstance('O30E12C74');\r\n AntibioticsRow.PIDs.map((pid) =>\r\n instance.Prop.push(NewProperty(pid)));\r\n }\r\n super(instance);\r\n }\r\n static PIDs = ['PC2', 'P95', 'P96', 'P97', 'P98','P100'];\r\n set Rows(value) {\r\n this.SetValue(AntibioticsRow.PIDs[0], value);\r\n }\r\n get Rows()\r\n {\r\n return this.GetValue(AntibioticsRow.PIDs[0]);\r\n } set AntibioticsDisk(value) {\r\n this.SetValue(AntibioticsRow.PIDs[1], value);\r\n }\r\n get AntibioticsDisk()\r\n {\r\n return this.GetValue(AntibioticsRow.PIDs[1]);\r\n }\r\n get AntibioticsDiskObject() {\r\n return this.GetValue(AntibioticsRow.PIDs[1],true);\r\n }\r\n set AntibioticsDiskMaker(value) {\r\n this.SetValue(AntibioticsRow.PIDs[2], value);\r\n }\r\n get AntibioticsDiskMaker()\r\n {\r\n return this.GetValue(AntibioticsRow.PIDs[2]);\r\n }\r\n get AntibioticsDiskMakerObject() {\r\n return this.GetValue(AntibioticsRow.PIDs[2], true);\r\n }\r\n set GrowsHole(value) {\r\n this.SetValue(AntibioticsRow.PIDs[3], value);\r\n }\r\n get GrowsHole()\r\n {\r\n return this.GetValue(AntibioticsRow.PIDs[3]);\r\n } set AntibioticsResultInterpretation(value) {\r\n this.SetValue(AntibioticsRow.PIDs[4], value);\r\n }\r\n get AntibioticsResultInterpretation()\r\n {\r\n return this.GetValue(AntibioticsRow.PIDs[4]);\r\n }\r\n get AntibioticsResultInterpretationObject() {\r\n return this.GetValue(AntibioticsRow.PIDs[4],true);\r\n }\r\n set DocumentHeader(value) {\r\n this.SetValue(BacteryTestRow.PIDs[5], value);\r\n }\r\n get DocumentHeader() {\r\n return this.GetValue(BacteryTestRow.PIDs[5]);\r\n }\r\n}\r\n","import React from 'react';\nimport { useEffect } from 'react';\nimport { Button, Card, CardBody } from 'reactstrap';\nimport { AuthenticationController } from '../../Engine/Authentication';\n\nconst Error500 = () =>{ \n return(\n \n \n
500
\n

اوه، مشکلی پیش آمد!

\n
\n

\n لطفا صفحه را بروز رسانی نمایید و از برنامه خارج شده مجددا وارد شوید\n \n تماس با ما\n \n .\n

\n \n
\n
\n);\n}\n\nexport default Error500;\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjAAAAIMCAYAAADrSZa5AAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAACWVSURBVHgB7d1Lj6TXeR/wp/p+neGQGooaUAIRRUIsBEbgjeNFEGRjINnLG8GA4wBcZBHA32C+QQAvssgiGyEbMusYAQRYq3gjLYxYBgIHsSAKdHSlyJnpmenbm3Oqp8SeZl/qXu855/dr1LQ4vIisrnrffz3Pc84ZBEApHncb8VHcC6AcZ3Eea+nXjfT4KD1+P07i8eA8ZjQIgFJ8u9tK8eUggLKtD8PMi1nCjAADlONfd9vxKPYDqMdxvIyvx/NJg8xaAJTiwDULqrMV26ka80aqsO5O8re5GADleKBqDNW6F7vxJ90b8bgbK5sIMEA5ngswULX1lEt+FveH8253EGCAcmy6ZkH1jtMHlTysf0dLycUAAOif3FK6JcQIMEA5zlOBGWhHDjGPr28nCTAAQH/9LPavG+wVYIByrLtmQXPyTMzHcXj1t10MAIB+O0sfX67MwwgwQCE6S6ihZV+Kneg+vw4IMEAZHtsDBpqWW0l/lELMKwIMAFCGS1UYAQYow7dUYKB5l6owAgxQhr8VYIDkMDbyNwEGACjHIDZzG0mAAQDK8m9iS4ABAMry1VgXYIAy/EjLG3hlI9ZcEIAyPDXEC7xyFBsCDABQlt0wxAsAFOZYgAEACiTAAADFEWAAgOIIMABAcQQYAKA4AgxQht+PswB4RYABAIojwAAAxRFgAIDiCDBAKc4D4BUBBgAojgADABTH8fRAOf5d92YAhAoMAFAgAQYox5lBXuCCAAMAFEeAAcqx5jgB4IIAA5RjJ7oACAEGKMkTAQa4IMAA5XhhiBe4IMAA5XhHgAEuCDBAOf5PAAwJMEA5/m2cBkAIMEBJ/tYQL3DBWUhAWZyHBIQKDFAaxwkAIcAApXmmjQQIMEBpdgzy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ZbnYYVd4gWkcpfeO3XaBS1RglqHr1ofHAwCTe27JNPBFLgqLlk+V/mncD2ByJ6lKrHUEXEMLaZFyePlJCi8vBEWYWH7fHDmoEbieG+uidN3gVXhx+YVpnMWu1hFwExeHRflZ7AkvMKUXqfJy6v0D3MwFYhHycunOiiOYyrPYstsucBczMPP2N91WbAovMJXRUQGDALiVFtI85aHd+3EQwOTWUmzJ+70MxBfgbiow8/L50K5QCNP4xDlHwPhcLObF0C5ML8+9RGq+AoxJgJmHv+924tPYDWByuWp5mqovABMQYGaV5142DO3CVEZzLwATMgMzK3MvML0j5xwB0xFgZpH3ezH3AtN5EptxPpx9AZhMajz75DOtH3Sbcaj0DVMZ7fcCMJ0TAWYaee7lof1eYGovtY6AGZzFsQvINH5hyTRM7clwubQl08D0TgSYyf1dtz3ccAuYnNYRMA8n8VyAmURuHW2Ze4GpaR0Bs3oWx/GvBoZ4J6J1BNPTOgLmYTM+zd8EmHHl6ovWEUxH6wiYl9Q+yt8EmHHlDeuA6WgdAfOwkWq5qX2U/6cLyjhsWAfTu9ipWusImN2nqRfyipvyXXLr6DwOUslqEMDkPov94ZlHALPYSeHlnw+ORn+oAnOXPLh75HmCqeTBXa0jYFbHcRq/O/jk8m+5sNym69YN7sKUDO4C83CW+iAn8fHV33aY421+EvcCmI7BXWAeNuPn8QcXg7uXCTA3yTvuGtyF6RjcBeYhz7387udzL5f5dHQTO+7C9F5qHQEzuggvn9z0p1VgrqP6AtP7dHhdUX0BppNnXh7Er+KfDJ7c9pepwFzlvCOYzZnBd2BKW6l++yJ+eld4yVRgrvphuvgeqr7AVCybBqaRqy77qX57S8voKheay3L15aHePUzNsmlgEjm45FmX/xE/mSS8ZCowl6m+wPRUX4BxrcfzyNOm/y1VXR4PzmMKAsxIrr78ZPh0AtM4Ge77AvC5XGFZT7/uxnEcxWlqE71MoeVo2tBy2f8HNjpHbUH/ZcEAAAAASUVORK5CYII=\"","import { settings } from \"../BaseSetting\";\r\n\r\nconst ValueList_en = [\r\n { id: 'save', display: 'Save' },\r\n { id: 'new', display: 'New' },\r\n { id: 'delete', display: 'Delete' },\r\n { id: 'save-new', display: 'Save & New' },\r\n { id: 'refresh', display: 'Refresh' },\r\n { id: 'search', display: 'Search' },\r\n { id: 'refresh-template', display: 'Refresh Template' },\r\n { id: 'delete-comfirm', display: 'are you sure to delete this item?' },\r\n { id: 'Save-msg', display: 'Save Successfull' },\r\n { id: 'noSelect', display: 'None' },\r\n { id: 'Operation-failed', display: 'Operation failed' },\r\n { id: 'files-dropzone', display: 'Drop files here or click to upload' },\r\n { id: 'noCondition', display: 'No Condition' },\r\n { id: 'delete-msg', display: 'item deleted' },\r\n { id: 'download', display: 'Download' }\r\n\r\n];\r\nconst ValueList_fa = [\r\n { id: 'save', display: 'ذخیره' },\r\n { id: 'new', display: 'جدید' },\r\n { id: 'delete', display: 'حذف' },\r\n { id: 'save-new', display: 'ذخیره و جدید' },\r\n { id: 'refresh', display: 'بارگزاری' },\r\n { id: 'search', display: 'جستجو' },\r\n { id: 'refresh-template', display: 'بارگزاری قالب' },\r\n { id: 'delete-comfirm', display: 'آیا از حذف این آیتم مطمئن هستید؟' },\r\n { id: 'Save-msg', display: 'عملیات ذخیره سازی موفقیت آمیز بود' },\r\n { id: 'noSelect', display: 'انتخاب نشده' },\r\n { id: 'Operation-failed', display: 'عملیات موفق آمیز نبود' },\r\n { id: 'files-dropzone', display: 'فایل را اینجا بکشید و یا کلیک کنید' },\r\n { id: 'noCondition', display: 'بدون شرط' },\r\n { id: 'delete-msg', display: 'آیتم با موفقیت حذف شد' },\r\n { id: 'download', display: 'دانلود' }\r\n];\r\nconst GetDisplay = (key) => {\r\n let value;\r\n if (settings.lang[0] === 'en-US')\r\n value = ValueList_en.find(x => x.id === key);\r\n else if (settings.lang[0] === 'fa-IR')\r\n value = ValueList_fa.find(x => x.id === key);\r\n return value?.display;\r\n}\r\nexport default GetDisplay;","module.exports = __webpack_public_path__ + \"static/media/corner-3.7df03b54.png\";","import React, { useEffect, useState } from 'react';\r\nimport Files from 'react-files'\r\nimport { toast } from 'react-toastify';\r\nimport Avatar from '../components/common/Avatar';\r\nimport { GetFile, Upload } from '../Engine/Common';\r\nimport GetDisplay from '../Engine/Lan/Context';\r\nconst FileControl = ({ settings, dropAreatitle,onChange,prop,IsReadOnly,id }) => {\r\n useEffect(()=>{\r\n if(prop?.IPV && !spath)\r\n getFile();\r\n })\r\n const [sfiles, setFiles] = useState();\r\n const [spath, setPath] = useState();\r\n const onFilesChange = async (files) => {\r\n if(!IsReadOnly && files.length > 0){\r\n setFiles(files[0])\r\n if(onChange)\r\n onChange(files[0],15)\r\n }\r\n }\r\n const onFilesError = (error, file) => {\r\n toast.error(error.message)\r\n }\r\n const getFile = async () => {\r\n let file1 = await GetFile(prop.IPV)\r\n let base64ImageString = Buffer.from(file1.data, 'binary').toString('base64')\r\n setPath(base64ImageString)\r\n }\r\n return (\r\n
\r\n \r\n {!IsReadOnly?(dropAreatitle ? dropAreatitle : GetDisplay('files-dropzone')):null}\r\n {/* 0 ? sfiles[0].preview.url : ''} /> */}\r\n \r\n \r\n
\r\n\r\n );\r\n};\r\n\r\nexport default FileControl;","module.exports = __webpack_public_path__ + \"static/media/authentication-corner.ccf7bed3.png\";","module.exports = __webpack_public_path__ + \"static/media/bg-navbar.cbdd4783.png\";","module.exports = __webpack_public_path__ + \"static/media/lab.d40f6c15.png\";","import React from 'react';\r\nimport { Spinner } from 'reactstrap';\r\n//import creationImage from '../assets/img/illustrations/creating.png'\r\nimport creationImage from '../assets/img/illustrations/6.svg'\r\nimport Flex from '../components/common/Flex';\r\n\r\nconst NoData = ({ title, loading, beforeLoadingTitle }) => {\r\n return (
\r\n

{loading ? beforeLoadingTitle : title}

\r\n {\r\n loading ?
:\r\n \r\n No data\r\n \r\n }\r\n
\r\n );\r\n};\r\n\r\nexport default NoData;","module.exports = __webpack_public_path__ + \"static/media/1.e350c314.png\";","module.exports = __webpack_public_path__ + \"static/media/2.5fd96704.png\";","module.exports = __webpack_public_path__ + \"static/media/iscal.cb41293f.png\";","module.exports = __webpack_public_path__ + \"static/media/6.1afbf642.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbMAAABmCAYAAAE2bk85AAAACXBIWXMAAC4jAAAuIwF4pT92AAAKEGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXA6Q3JlYXRlRGF0ZT0iMjAyMi0wMS0xNVQxNTowMjoyO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gopLIY/w8p/4Wpa1MnfQt5q0o+376nqqhi7p6K0xflCZ9L2nXVXRi4W+SJTcBCKiNLUZJ75Dl3YrSV7k/TxqgRmw1dr9V0tfOew7iOhbVNbMXOYRe66SvU3bus0Xd3HRaBiEM/P/+B0t7LIQ6i+dSAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/certificate.972707f9.jpg\";","module.exports = __webpack_public_path__ + \"static/media/bg-shape.49213c49.png\";","module.exports = __webpack_public_path__ + \"static/media/shape-1.e7c6d73f.png\";","module.exports = __webpack_public_path__ + \"static/media/half-circle.e3156472.png\";","module.exports = __webpack_public_path__ + \"static/media/bg-1.6101d4d5.jpg\";","module.exports = __webpack_public_path__ + \"static/media/dashboard-alt-light1.ccf11240.jpg\";","module.exports = __webpack_public_path__ + \"static/media/1.cbc77362.png\";","module.exports = __webpack_public_path__ + \"static/media/2.0f3e80d7.png\";","module.exports = __webpack_public_path__ + \"static/media/3.4c47d80b.png\";","module.exports = __webpack_public_path__ + \"static/media/1.a8e929d2.svg\";","module.exports = __webpack_public_path__ + \"static/media/2.47d043fe.svg\";","module.exports = __webpack_public_path__ + \"static/media/3.67dc7dd1.svg\";","module.exports = __webpack_public_path__ + \"static/media/bg-2.606d9de8.jpg\";","module.exports = __webpack_public_path__ + \"static/media/2.19b314bb.jpg\";","module.exports = __webpack_public_path__ + \"static/media/3.3ea527c2.jpg\";","\r\nimport { Utility } from './Common';\r\nimport ErrorHandler from './ErrorHandler';\r\nimport { InstanceController } from './InstanceController';\r\n\r\nexport default class Parameters {\r\n constructor() {\r\n try {\r\n this.paths = [\r\n { key: 'personid', value: localStorage.getItem('user-info') ? JSON.parse(JSON.parse(localStorage.getItem('user-info'))?.person)?.ID : null },\r\n { key: 'person', value: { id: localStorage.getItem('user-info') ? JSON.parse(JSON.parse(localStorage.getItem('user-info'))?.person)?.ID : null, display: localStorage.getItem('person') } },\r\n { key: 'orgid', value: localStorage.getItem('org') ? JSON.parse(localStorage.getItem('org'))?.id : null }\r\n ]\r\n } catch (error) {\r\n localStorage.clear();\r\n }\r\n\r\n }\r\n static Mode = 1;\r\n static Starter = null;\r\n static Param = [];\r\n static org;\r\n static Start(key, value, sender) {\r\n this.Starter = sender;\r\n this.SetValue(key, value);\r\n }\r\n static async GetValue(key, prop, type) {\r\n let result = null;\r\n if (key === 'Date'){\r\n result = (await Utility.GetNow()).toString;\r\n }\r\n else if (key.includes('@')) {\r\n let path = key.replace('@', '');\r\n if (path.includes('org')) {\r\n let res = JSON.parse(localStorage.getItem('org'))?.id;\r\n if (res) {\r\n if (!this.org)\r\n this.org = await InstanceController.GetDisplay(res);\r\n if (path === 'orgid')\r\n result = this.org?.id;\r\n if (path === 'org')\r\n result = this.org;\r\n\r\n }\r\n }\r\n else if (path.includes('personid')){\r\n result = JSON.parse(JSON.parse(localStorage.getItem('user-info'))?.person);\r\n result = {id:result.ID,display:result.DIS};\r\n }\r\n else {\r\n result = localStorage.getItem(key);\r\n }\r\n }\r\n else {\r\n let param = this.Param.find(x => x.key.toUpperCase() === key.toUpperCase() && x.state.toUpperCase() === 'FULL')\r\n if (param !== undefined) {\r\n if (Array.isArray(param.Value) && param.Value.length > 0)\r\n result = param.Value[0];\r\n else\r\n result = param.Value;\r\n }\r\n if (result !== null) {\r\n\r\n if (prop !== undefined && prop !== null && result.Prop !== undefined)\r\n result = result.Prop.find(x => x.PID === prop)\r\n if (type !== undefined)\r\n result = type === 'display' ? result.display : type === 'id' ? result.id : result\r\n }\r\n }\r\n return result;\r\n }\r\n static async SetValue(key, value) {\r\n let param = this.Param.find(x => x.key.toUpperCase() === key.toUpperCase())\r\n if (param !== undefined) {\r\n param.Value = value;\r\n param.state = 'FULL';\r\n await this.FillDependecy(key);\r\n }\r\n else{\r\n this.Param.push({ key: key, Value: value, state: 'Param', Depend: [] });\r\n }\r\n }\r\n static async FillDependecy(key) {\r\n try {\r\n\r\n let params = this.Param.filter(x => x.Depend.findIndex(y => y.toUpperCase() === key.toUpperCase()) >= 0)\r\n if (params !== undefined && params.length > 0) {\r\n for (var i = 0; i < params.length; i++) {\r\n let flag = true;\r\n let whereResult = '';\r\n if (params[i].Condition !== '') {\r\n let wherepara = params[i].Condition.split('{');\r\n for (var j = 0; j < wherepara.length; j++) {\r\n\r\n let key = wherepara[j].includes('}') ? wherepara[j].split('}')[0] : null;\r\n\r\n if (key !== null) {\r\n let keyvalue = this.GetValue(key);\r\n if (keyvalue !== null && keyvalue.ID !== undefined)\r\n keyvalue = keyvalue.ID;\r\n whereResult = params[i].Condition.replace('{' + key + '}', keyvalue)\r\n }\r\n\r\n }\r\n if (flag) {\r\n let result = await InstanceController.GetInstancesAsync(whereResult);\r\n if (result !== null) {\r\n let finalresult = result;\r\n if (Array.isArray(result))\r\n finalresult = result.map((item) => (\r\n item.ID.includes('E0C13I') ? { id: item.Prop.find(x => x.PID === 'PC524').IPV, display: item.Prop.find(x => x.PID === 'PC524').DIS } : item\r\n ))\r\n else\r\n finalresult = result.ID.includes('E0C13I') ? { id: result.Prop.find(x => x.PID === 'PC524').IPV, display: result.Prop.find(x => x.PID === 'PC524').DIS } : result\r\n this.SetValue(params[i].key, finalresult);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n else\r\n this.Starter.LoadCompleted();\r\n } catch (e) {\r\n ErrorHandler.CominicationError(e);\r\n }\r\n\r\n }\r\n\r\n}\r\n","module.exports = __webpack_public_path__ + \"static/media/5.09b028ad.jpg\";","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nconst Divider = ({ className, children }) => (\n
\n
\n
\n {children}\n
\n
\n);\n\nDivider.propTypes = {\n className: PropTypes.node,\n children: PropTypes.node\n};\n\nexport default Divider;\n","import React, { useEffect, useState } from 'react';\r\nimport { CardBody, CardFooter, Col, Label, Row } from 'reactstrap';\r\nimport pishgamLogo from '../assets/img/logos/pg-logo.png'\r\nimport Logo1 from '../assets/img/logos/1.png'\r\nimport Logo2 from '../assets/img/logos/2.png'\r\nimport iscal from '../assets/img/logos/iscal.png'\r\nimport { ThemeDivider } from '../EngineForms/ThemeControl'\r\nimport BaseInstance from '../Engine/BaseInstance';\r\nimport { InstanceController } from '../Engine/InstanceController';\r\nimport NoData from './NoData';\r\nconst ReportHeader = React.forwardRef((props, ref) => {\r\n const { Section, Labratoary, Sample, children,style,period,noData } = props;\r\n const [base, setBase] = useState();\r\n useEffect(() => {\r\n const fetch = async () => {\r\n let instance;\r\n if (!Sample?.Instance) {\r\n instance = await InstanceController.LoadInstanceAsync(Sample.id);\r\n }\r\n else {\r\n instance = Sample?.Instance?.Instance ?? Sample?.Instance;\r\n }\r\n let tempBase = new BaseInstance(instance);\r\n setBase(tempBase);\r\n }\r\n if(Sample)\r\n fetch();\r\n\r\n }, [props])\r\n\r\n return (
\r\n \r\n \r\n \r\n pishgam logo\r\n \r\n \r\n \r\n \r\n

گزارش ارزیابی خارجی کیفیت {Section}

\r\n \r\n \r\n iscal\r\n logo1\r\n logo2\r\n \r\n
\r\n \r\n \r\n  \r\n \r\n \r\n {base?\r\n  \r\n \r\n \r\n :\r\n  \r\n \r\n }\r\n \r\n \r\n
\r\n \r\n
\r\n {noData?:children}\r\n \r\n\r\n \r\n
);\r\n});\r\n\r\nexport default ReportHeader;"],"sourceRoot":""}