{"version":3,"sources":["resources/ICON-edit-pencil.png","resources/ICON-trash-can-bin-delete-remove.png","resources/logo.png","resources/UI-Web-btn-service-bar-chart-graph.png","resources/UI-Web-btn-subservice-bar-chart-graph.png","resources/UI-Web-btn-keys-property.png","resources/social_media_service_icon.png","resources/web_service_icon.png","resources/loyalty_service_icon.png","resources/email_service_icon.png","resources/mobile_service_icon.png","resources/UI-Web-btn-subservice-bar-chart-graph-YELLOW.png","resources/radio-unchecked.png","resources/radio-checked.png","ApiClient.ts","features/auth/api.ts","features/common/components/Loader.tsx","features/common/utils/utils.ts","features/auth/ForgotEmailModal.tsx","features/auth/index.tsx","features/retailers/api.ts","features/auth/slice.ts","features/retailers/slice.ts","features/users/api.ts","features/users/slice.ts","features/circular-groups/api.ts","features/circular-groups/slice.ts","features/stores/api.ts","features/stores/slice.ts","features/circulars/api.ts","features/circulars/slice.ts","features/areas/api.ts","features/areas/slice.ts","features/categories/api.ts","features/categories/slice.ts","features/select-retailer/slice.ts","features/recipes/api.ts","features/recipes/slice.ts","features/emails/api.ts","features/emails/slice.ts","features/connections/api.ts","features/connections/slice.ts","features/services/api.ts","features/services/slice.ts","features/properties/api.ts","features/properties/slice.ts","features/subservices/api.ts","features/subservices/slice.ts","features/activitylog/api.ts","features/activitylog/slice.ts","features/Reducers.ts","features/navbar/EditCurrentUserForm.tsx","features/navbar/EditCurrentUserModal.tsx","features/navbar/UserSettings.tsx","features/navbar/ChangePasswordModal.tsx","features/navbar/SettingModal.tsx","features/navbar/Navbar.tsx","features/Sidebar.tsx","404.tsx","features/common/components/ConfirmDeleteModal.tsx","features/common/components/InputWrapper.tsx","features/areas/AreaForm.tsx","features/areas/CloneModal.tsx","features/areas/layout.tsx","features/areas/AreaEdit.tsx","features/categories/components.tsx","features/categories/index.tsx","features/circular-groups/CircularGroupForm.tsx","features/circular-groups/EditCircularGroupModal.tsx","features/circular-groups/DeleteCircularGroupModal.tsx","features/circular-groups/ActionsRow.tsx","features/circular-groups/CircularGroupsTable.tsx","features/circular-groups/AddCircularGroupModal.tsx","features/circular-groups/index.tsx","features/common/utils/slug.ts","features/circulars/CircularForm.tsx","features/circulars/AddCircularModal.tsx","features/circulars/DeleteCircularModal.tsx","features/circulars/CircularsActions.tsx","features/circulars/CircularsTable.tsx","features/circulars/index.tsx","features/circulars/EditPage/EditCircularModal.tsx","features/circulars/components/PreviewModal.tsx","features/circulars/components/Thumbnail.tsx","features/circulars/components/CircularPageListItem.tsx","features/circulars/EditPage/hooks.ts","features/circulars/EditPage/EditButtonAndModal.tsx","features/circulars/EditPage/CircularGroupsList.tsx","features/circulars/EditPage/CircularPagesGrid.tsx","features/circulars/EditPage/AddNewPagesModal.tsx","features/circulars/EditPage/index.tsx","features/emails/EmailsTable.tsx","features/emails/Quota.tsx","features/emails/SelectDateInterval.tsx","features/emails/index.tsx","features/recipes/RecipePreviewModal.tsx","features/recipes/EditRecipesCategoryModal.tsx","features/recipes/DeleteRecipesCategoryModal.tsx","features/recipes/recipesApi.ts","features/recipes/AddRecipesModal.tsx","features/recipes/ActionsRow.tsx","features/recipes/RecipesCategoriesTable.tsx","features/recipes/AddRecipesCategoryModal.tsx","features/recipes/RecipeOfTheWeek.tsx","features/recipes/index.tsx","features/retailers/AddRetailerModal.tsx","features/retailers/EmbedModal.tsx","features/retailers/EditRetailerModal.tsx","features/retailers/DeleteRetailerModal.tsx","features/retailers/ActionsRow.tsx","features/retailers/RetailersTable.tsx","features/retailers/index.tsx","components/AddressInput.tsx","features/common/utils/states.ts","features/stores/utils.ts","features/stores/StoreFormModal.tsx","features/stores/AddStoreModal.tsx","features/stores/EditStoreModal.tsx","features/stores/DeleteStoreModal.tsx","features/stores/ActionsRow.tsx","features/stores/StoresTable.tsx","features/stores/index.tsx","features/users/UserForm.tsx","features/users/AddEditUserModal.tsx","features/users/UserTable.tsx","features/users/index.tsx","features/properties/AddPropertyModal.tsx","features/subservices/AddSubserviceModal.tsx","features/services/AddServiceModal.tsx","features/connections/AddConnectionModal.tsx","features/connections/ViewConnectionModal.tsx","features/connections/EditConnectionModal.tsx","features/connections/DeleteConnectionModal.tsx","features/connections/ConnectionsTable.tsx","features/connections/index.tsx","features/services/ShowSubservicesModal.tsx","features/services/ViewServicesModal.tsx","features/services/EditServiceModal.tsx","features/services/DeleteServiceModal.tsx","features/services/ServicesTable.tsx","features/services/index.tsx","features/subservices/ViewSubserviceModal.tsx","features/subservices/EditSubserviceModal.tsx","features/subservices/DeleteSubserviceModal.tsx","features/subservices/SubservicesTable.tsx","features/subservices/index.tsx","features/properties/ViewPropertyModal.tsx","features/properties/EditPropertyModal.tsx","features/properties/DeletePropertyModal.tsx","features/properties/PropertiesTable.tsx","features/properties/index.tsx","features/activitylog/activityTable.tsx","features/activitylog/index.tsx","features/Routes.tsx","features/index.tsx","features/resetPassword/ResetPasswordPage.tsx","App.tsx","serviceWorker.ts","index.tsx"],"names":["module","exports","BASE_URL","document","location","host","includes","EPIC_BASE_URL","epicApiClient","axios","create","baseURL","responseType","headers","apiClient","interceptors","response","use","undefined","error","status","store","dispatch","type","Promise","reject","i","createAuthConfig","authData","getState","login","Authorization","jwt","loginUser","createAsyncThunk","params","thunkAPI","post","loginResponse","localStorage","setItem","JSON","stringify","data","payload","get","userResponse","role","retailer","rejectWithValue","concat","apply","Object","values","errors","join","defaultProps","width","height","size","color","sizeUnit","DualRingSpinner","styled","div","p","keyframes","DualRingLoader","stringifyErrors","e","k","ForgotEmailModal","props","useState","forgotEmailValue","setForgotEmailValue","forgotLoading","setForgotLoading","forgotError","setForgotError","visible","okText","title","onCancel","onSetVisible","confirmLoading","onOk","email","Referer","window","message","description","showIcon","placeholder","onChange","event","target","value","layout","labelCol","span","wrapperCol","tailLayout","offset","Layout","ImageDiv","LoginDiv","LogoImg","img","ResetPasswordForm","Form","useForm","form","setError","success","setSuccess","loading","setLoading","onFinish","useCallback","fieldsValue","token","password","confirmPassword","style","marginBottom","name","Item","label","disabled","rules","required","Password","htmlType","onClick","onResetComplete","marginLeft","alignSelf","LoginForm","useDispatch","forgotModalVisible","setForgotModalVisible","b","LoginScreenRoute","userRole","useSelector","state","auth","user","authenticated","to","LoginScreen","useLocation","resetPasswordToken","setResetPassworToken","resetPasswordEmail","setResetPasswordEmail","useEffect","hash","length","fakeURL","URL","substr","fakeSearchParams","URLSearchParams","search","key","t","LoginContent","src","require","getRetailers","_params","retailerId","retailersResponse","addRetailer","retailerResponse","editRetailer","id","deleteRetailer","initialState","inEditCurrentUser","editCurrentUserModalVisible","changePasswordModalVisible","SettingModalVisible","loginSlice","createSlice","reducers","setChangePasswordModalVisible","action","setCurrentUserModalVisible","setSettingModalVisible","setInEditCurrentUser","setLoginCreds","authSlice","autoLoggedInUser","logOut","removeItem","extraReducers","builder","addCase","fulfilled","loginData","rejected","pending","all","currentRetailer","addRetailerError","showAddModal","addRetailerLoading","showEditModal","editRetailerLoading","editRetailerError","showDeleteModal","deleteRetailerLoading","deleteRetailerError","addSuccess","addError","editSuccess","editError","deleteSuccess","deleteError","retailersSlice","setCurrentRetailer","showAddRetailerModal","hideAddRetailerModal","showEditRetailerModal","hideEditRetailerModal","showDeleteRetailerModal","hideDeleteRetailerModal","resetMessages","sort","a","fa","toLowerCase","fb","map","item","filter","actions","getUsers","admins","customers","retailers","u","push","postUser","body","emailConfirmed","putResponse","putUser","put","deleteUser","delete","fileUploader","file","showUserModal","confirmDeleteModal","usersSlice","toggleUserModal","setInEditUser","inEditUser","toggleDeleteModal","getCircularGroups","res","addCircularGroup","find","editCircularGroup","deleteCircularGroup","circularGroupsSlice","addLoading","editLoading","deleteLoading","showAddCircularGroupModal","hideAddCircularGroupModal","showEditCircularGroupModal","hideEditCircularGroupModal","showDeleteCircularGroupModal","hideDeleteCircularGroupModal","getStores","addStore","circularGroup","circularGroups","cg","circularGroupId","editStore","deleteStore","storesSlice","showAddStoreModal","hideAddStoreModal","showEditStoreModal","hideEditStoreModal","showDeleteStoreModal","hideDeleteStoreModal","getCirculars","getCircularsByid","editCircular","deleteCircular","circularsSlice","currentCircular","addCircular","setAddCircularLoading","setAddCircularError","showAddCircularModal","hideAddCircularModal","circular","setEditCircularLoading","setEditCircularError","showEditCircularModal","hideEditCircularModal","showDeleteCircularModal","hideDeleteCircularModal","addCircularPages","circularId","circularPages","dataArray","getPageDetails","page","Actions","editPage","pageLoaded","getRecipes","_","maxResult","nrOfRecs","q","ingredient","list","feed","saveArea","area","editFormValues","keys","setAreaFormErrors","recipes","areaToSave","recepiesJSON","pageId","deleteCircularArea","mapPercentage","in_min","in_max","editPageSlice","showThumbnails","selected","editAreaFormErrors","startCreatingRegion","newArea","inEditArea","top","y","dimensions","left","x","cancelEditRegion","onResize","setMoving","moving","setAreaThumbnail","thumbnailIndex","thumbnailSelectOpened","setThumbnailSelectOpened","selectRecipe","setRecModalVisible","recipesDialogOpen","setAreaFormValues","areaEdited","deleteArea","toggleShowThumbnails","editFromThumbnail","thumb","uuidv4","circularAreas","thumbs","rawThumbs","thumbnails","allThumbnails","R","setDimensions","areaDragged","editArea","parse","deleteInEditArea","newPage","assign","setRecipesQuery","recipesQuery","saveLoading","recipesLoading","getCategories","postCategory","putCategory","deleteCategory","categoriesSlice","updateLoading","addDirty","updateDirty","deleteDirty","deleteModalVisible","dirty","addInfoShowed","updateInfoShowed","deleteInfoShowed","errorShowed","oldData","localeCompare","meta","arg","v","retailerSelectable","currentRetailerSlice","setRetailerSelectable","getRecipesCategories","forEach","category","getRecipesByCategory","addRecipesCategory","editRecipesCategory","deleteRecipesCategory","rcId","getRecipeOfTheWeek","addRecipes","recipe","recipeCategory","editRecipe","deleteRecipe","recipeId","setRecipeOfTheWeek","recipesSlice","recipesByCategory","getRecipesByCategoryLoading","getRecipesByCategoryError","categories","getLoading","getError","addCategoryLoading","addCategoryError","editCategoryLoading","editCategoryError","deleteCategoryLoading","deleteCategoryError","showAddCategoryModal","showAddRecipesModal","showEditCategoryModal","showDeleteCategoryModal","addRecipesLoading","addRecipesError","editRecipeLoading","editRecipeError","deleteRecipeLoading","deleteRecipeError","recipeOfTheWeek","getRecipeOfTheWeekLoading","getRecipeOfTheWeekError","setRecipeOfTheWeekLoading","setRecipeOfTheWeekError","hideAddCategoryModal","hideAddRecipesModal","hideEditCategoryModal","hideDeleteCategoryModal","apiRec","parsed","json","originalId","acion","getQuota","getEmailsReport","getRetailerFromStore","dateInterval","emails","count","Store","emailsStatistics","quota","statusGetEmailsReport","progress","statusGetQuota","from","moment","utc","subtract","format","toString","until","emailsSlice","setDateInterval","getConnections","addConnection","queryParameters","SaveAsTemplate","RunOnce","connection_data","editConnection","Connection","deleteConnection","scheduleNowConnection","runNowConnection","console","log","currentConnection","addConnectionError","showViewModal","addConnectionLoading","showSubmitModal","editConnectionLoading","editConnectionError","deleteConnectionLoading","deleteConnectionError","viewConnectionError","runNowConnectionLoading","runNowConnectionError","scheduleNowConnectionLoading","scheduleNowConnectionError","scheduleSucces","scheduleError","connectionsSlice","setCurrentConnection","showAddConnectionModal","hideAddConnectionModal","showEditConnectionModal","showSubmitConnectionModal","hideSubmitConnectionModal","hideEditConnectionModal","showViewConnectionModal","hideViewConnectionModal","showDeleteConnectionModal","hideDeleteConnectionsModal","clearConnectionStatus","getServices","servicesResponse","addService","serviceResponse","service","editService","deleteService","statusCode","getSubserviceOfService","serviceID","Subservice","getServiceByRetailerId","retailerService","subserviceList","currentService","addServiceError","addSubserviceError","showSubserviceOfServiceModalError","showSubserviceOfServiceModal","addServiceLoading","addSubserviceLoading","showSubserviceOfServiceModalLoading","editServiceLoading","editServiceError","deleteServiceLoading","deleteServiceError","viewServiceError","processDeleteStatus","processDeleteMessage","servicesSlice","setCurrentService","showAddServiceModal","hideAddServiceModal","hideSubserviceOfServiceModal","showEditServicesModal","hideEditServiceModal","showViewServicesModal","hideViewServiceModal","showDeleteServicesModal","hideDeleteServicesModal","resetRetailerService","clearServiceStatus","processDelete","getProperties","propertyResponse","addProperty","Property","editProperty","deleteProperty","getPropertiesBySubServiceId","subserviceID","propertyBySubService","currentProperty","addPropertyError","addPropertyLoading","editPropertyLoading","editPropertyError","deletePropertyLoading","deletePropertyError","viewPropertyError","propertiesSlice","setCurrentProperty","showAddPropertyModal","hideAddPropertyModal","showEditPropertyModal","hideEditPropertyModal","showViewPropertyModal","hideViewPropertyModal","showDeletePropertyModal","hideDeletePropertyModal","clearProperties","clearPropertiesStatus","retailerName","nameRetailer","getSubservices","subservicesResponse","addSubservice","editSubservice","deleteSubservice","getSubservicesByServiceId","serviceId","subServiceByServiceId","currentSubservice","editSubserviceLoading","editSubserviceError","deleteSubserviceLoading","deleteSubserviceError","viewSubserviceError","subservicesSlice","setCurrentSubservice","showAddSubserviceModal","hideAddSubserviceModal","showEditSubserviceModal","hideEditSubserviceModal","showViewSubserviceModal","hideViewSubserviceModal","showDeleteSubserviceModal","hideDeleteSubserviceModal","clearSubservices","clearSubserviceStatus","processDeleteSubService","activityLog","logType","limit","searchText","fromDate","toDate","pagenumber","activitySlice","rootReducer","reducer","users","stores","circulars","connections","services","subservices","properties","activity","EditCurrentUserForm","onSubmit","initialValues","resetFields","EditCurrentUserModal","handleSubmit","handleCancel","maskClosable","validateFields","then","catch","UserSettings","trigger","overlay","handleAccountSettingsClick","padding","handleChangePasswordClick","handleSettingsClick","display","alignItems","marginRight","userEmail","shape","icon","UserOutlined","ChangePasswordModal","SettingModal","formFacebook","fecebookDetails","setFacebookDetails","getData","setGetData","fetch","result","appidDetails","setFieldsValue","app_id","appId","secret_key","appsecretId","settingDetails","notification","footer","Title","level","accessToken","margin","border","onSuccess","FacebookLoginClient","getProfile","userName","photo","picture","url","userId","expairyDate","data_access_expiration_time","fields","onFail","Cookies","remove","sessionStorage","FacebookFilled","fontSize","justifyContent","columnGap","logout","NavParent","Navbar","selectedValue","setSelectedValue","overflow","paddingLeft","alt","maxWidth","flex","flexDirection","minWidth","bordered","onSelect","option","r","Option","Container","Sidebar","permissions","claims","Permission","borderRight","mode","ShoppingCartOutlined","BookOutlined","FolderOutlined","SnippetsOutlined","ShopOutlined","CopyOutlined","MailOutlined","SubMenu","AreaChartOutlined","SwapOutlined","backgroundColor","borderRadius","ServiceIcon","SubserviceIcon","PropertyIcon","NotFound","ConfirmDeleteModal","onConfirm","zIndex","okButtonProps","danger","isLoading","InputWrapper","children","validateStatus","help","HoverDiv","AreaForm","defaultValues","prefix","c","deal","details","featured","setValues","areaFormErrors","newValues","useUpdateEffect","it","eqProps","onValuesChange","onChangeRecsNr","Text","defaultValue","min","max","marginTop","maxHeight","dataSource","renderItem","content","background","images","hostedLargeUrl","gutter","xs","sm","md","lg","className","showSearch","filterOption","inputValue","indexOf","selectValue","TextArea","checked","fontWeight","CloneModal","circularPage","cloneStatus","setCloneStatus","axiosClonePage","pageImageFileName","submit","formData","FormData","append","pdfFile","fileList","originFileObj","beforeUpload","multiple","HeaderContainer","Header","AreaFormContainer","setFeaturedChecked","areaFormValues","setDeleteModalVisible","position","zone","onFeaturedChange","feature","onDelete","theArea","AreaEditContainer","history","useHistory","nav","loc","nextPage","setNextPage","prevPage","setPrevPage","useParams","currentPageId","pageIndex","findIndex","alert","showThumbnais","cloneModalVisible","setCloneModalVisible","path","pathname","split","pop","onZoneSelected","HoverRnd","Rnd","AreaEditor","imageRef","useRef","inCreatingRegion","isEditing","mapAreas","enableResizing","bottom","right","disableDragging","bounds","onMouseDown","boxShadow","cursor","default","index","defaultRect","mapThumbs","onThumbnailClick","placement","onDragStart","onResizeStart","onResizeStop","direction","ref","delta","parseInt","onDragStop","d","button","rect","currentTarget","getBoundingClientRect","offsetX","clientX","offsetY","clientY","onLoad","offsetWidth","offsetHeight","CircularAreas","CategoriesActions","EditableCell","row","setInputValue","isUpdating","onUpdate","Column","Table","Categories","rawData","setDeleteModal","tableData","setTableData","pagination","pageSize","hideOnSinglePage","render","Select","CircularGroupForm","currentRetailerId","EditCircularGroupModal","destroyOnClose","DeleteCircularGroupModal","ActionsRow","CircularGroupsTable","reverse","el","dataIndex","AddCircularGroupModal","CircularGroups","PlusOutlined","slug","slugify","replace","replacement","lower","strict","RangePicker","DatePicker","CircularsForm","changedValues","allValues","_index","showTime","AddCircularModal","targetRetailer","prepared","Name","Slug","activeDate","dateRange","toJSON","terminationDate","handleModalOk","DeleteCircularModal","CircularsActions","CircularsTable","formattedActiveDate","formattedTerminationDate","TabPane","Tabs","Circulars","activeKey","getItem","activeTab","setActiveTab","diff","tab","Date","EditCircularModal","PreviewModal","imageSrc","dragToMove","Typography","inlist","InnerContainer","ButtonsContainer","Thumbnail","inListItem","hovered","setHovered","showModal","setShowModal","onMouseEnter","onMouseLeave","callback","LeftContainer","ThumbnailContainer","CircularPageListItem","onRemove","FlexContainer","RightContainer","EditButtonAndModal","pages","setPages","setGetError","setGetLoading","postLoading","setPostLoading","postError","setPostError","getPagesForCircular","postPagesForCircular","Error","usePagesForCircular","pagesInGroup","setPagesInGroup","getItemStyle","snapshot","draggableStyle","userSelect","isDragging","copy","splice","handleAddAllPagesClick","querySelector","classList","add","centered","bodyStyle","onDragEnd","source","droppableId","destination","startIndex","endIndex","Array","removed","reorder","targetCP","cp","draggableId","provided","droppableProps","innerRef","draggableProps","dragHandleProps","isDropDisabled","xl","xxl","antIcon","LoadingOutlined","spin","cgId","cId","cgsToClone","setCgsToClone","handleOk","CircularGroupsList","cgToClone","setCgToClone","indicator","rowId","CircularPages","setShowDeleteModal","setIsLoading","handleEditClick","handleModalCancel","deleteCircularPage","AddNewPagesModal","hideModal","HeaderLeft","HeaderRight","Main","CircularEdit","firstRender","setFirstRender","addPagesModalVisible","setAddPagesModalVisible","EmailsTable","statistic","statusGetReport","columns","SubContainer","Quota","fristRender","perDay","perRetailerDay","perIPDay","perHour","perRetailerHour","perIPHour","SelectDateInterval","disabledDate","current","endOf","setFirstrender","permission","RecipePreviewModal","overflowX","image","resizableImageUrl","displayName","totalTime","totalTimeInSeconds","ClockCircleOutlined","text","node","listStyleType","listStylePosition","ingredientLines","wholeLine","analyzedInstructions","steps","instruction","step","instructions","href","attribution","Search","Input","EditRecipesCategoryModal","nameInputVal","setNameInputVal","previewVisible","setPreviewVisible","spinning","mainRecipe","onSearch","enterButton","handleMainRecipeCheckbox","handleRecipeOfTheWeekCheckbox","handleDelete","toast","DeleteRecipesCategoryModal","searchRecipes","query","start","AddRecipesModal","recipesInCategory","selectedRec","setSelectedRec","setRecipes","setQuery","searchLoading","setSearchLoading","findError","setFindError","previewData","setPreviewData","handleSearch","results","handleLoadMore","isAlreadySaved","overflowY","handleCheckboxClick","handlePreviewClick","handleFeaturedChange","CategoryLength","CategoryMain","main","whiteSpace","textOverflow","RecipesCategoriesTable","categ","AddRecipesCategoryModal","submitForm","RecipeOfTheWeek","preparationMinutes","cookingMinutes","summary","Recipes","AddRetailerModal","retailerAdd","EmbedModal","readOnly","autoSize","resize","EditModal","subServiceOption","setSubServiceOption","setServiceId","serviceSubservice","setServiceSubservice","submitDisable","setSubmitDisable","useNotification","api","contextHolder","SubServices","serviceSubArray","subserviceIds","subservice","Number","old","handleChange","replyTo","siteName","siteUrl","logoUrl","onDeselect","remainService","updateSubService","selectedSubservices","getFieldsValue","newSelected","uniqBy","DeleteModal","showEmbedModal","setShowEmbedModal","editId","setEditId","deleteId","setDeleteId","LinkOutlined","RetailersTable","storedPageSize","setPageSize","React","replica","setReplica","localOrder","order","setOrder","column","jsonOrder","setJsonOrder","sortOrder","sortDirections","columnAttr","setcolumnAttr","onHeaderCell","columnName","servicesArray","serviceName","emailIcon","loyalyIcon","mobileApp","socialMediaIcon","webSiteIcon","allowClear","filteredData","pageSizeOptions","showSizeChanger","locale","items_per_page","onShowSizeChange","sorter","serviceArray","serviceData","substring","toUpperCase","Retailers","AddressAutocompleteInput","onSuggestionClick","getInputProps","suggestions","getSuggestionItemProps","suggestion","states","abbreviation","formatAddressAndSlug","coordinates","address","streetNumber","street","city","county","zipCode","address1","address2","latitude","longitude","emptyAddress","isUS","address_components","component","types","long_name","short_name","stateLong","lat","lng","textAlign","ControlledTextInput","textArea","StoreFormModal","cancelText","formValues","setFormValues","setErrors","setRetailer","retailerChanged","setRetailerChanged","addressInputValue","setAddressInputValue","handleInputChange","newVar","handleSelectChange","val","onAddressSelect","geocodeByAddress","getLatLng","googlePlacesId","place_id","validate","errs","trim","formattedSuggestion","mainText","storeNumber","phone","storeInfo","hours","hasExistingShoppingList","existingShoppingListUrl","AddStoreModal","EditStoreModal","DeleteStoreModal","StoresActionsRow","StoresTable","circularGroupName","Stores","UserForm","selectedRole","setSelectedRole","getValueFromEvent","valuePropName","AddEditUserModal","UserTable","hasRetailer","onEditUser","onDeleteUser","Users","confirmDeleteVisible","setConfirmDeleteVisible","setSearch","customerList","setCustomers","adminList","setAdmin","retailerList","uploadFileStatud","setUploadFileStatus","fileName","fileData","marginInline","CapsWord","charAt","slice","cus","firstName","startsWith","admin","ret","searchAction","files","accept","fd","resp","err","uploadFile","AddPropertyModal","subserviceOptions","setSubserviceOptions","retailerServices","setRetailerServices","subserviceArray","setSubserviceArray","disableSubmit","setDisableSubmit","pagesname","validStatus","setValidStatus","subService","setSubService","propertyp","setPropertyp","propertyPages","setPropertyPages","pagesName","sortedPages","handleChangeRetailer","handleChangeService","subServices","notes","pageID","zip","validateTrigger","validator","RegExp","test","resolve","rule","maxLength","rows","AddSubserviceModal","setService","serviceOptions","onKeyDown","keyCode","preventDefault","AddServiceModal","AddConnectionModal","selectedTime","setSelectedTime","appendOrReplace","setAppendOrReplace","pageTitle","setPageTitle","spreadsheetURL","setSpreadsheetURL","setDate","getDate","setFromDate","setToDate","beginningCount","setBeginningCount","beginningType1","setBeginningType","beginning1Date","setBeginning1Date","endingCount","setEndingCount","endingType","setEndingType","endingDate","setEndingDate","rangeUncheckedImg","setRangeUncheckedImg","intervalUncheckedImg","setIntervalUncheckedImg","everyWeek","setEveryWeek","everyWeekAtTime","setEveryWeekAtTime","everyDayCount","setEveryDayCount","everyDayDayType","setEveryDayDayType","everyDayMonthOrYearType","setEveryMonthOrYearType","everyTimeType","setEveryTimeType","everyTimeCount","setEveryTimeCount","dateRangeValue","setDateRangeValue","lastCount","setLastCount","lastCountType","setLastCountType","selectedDateRange","setSelectedDateRange","selectedInterval","setSelectedInterval","connectionAndIntervalType","setConnectionAndIntervalType","userpart","contactUser","setContactUser","facebookDetails","retailerID","sheetUrl","pageName","Checkbox","checkbox","radiotype","retailerPart","servicePart","subServicePart","propertyPart","connectionName","setConnectionName","setAbbreviation","propertyOptions","setPropertyOptions","runNowLoading","scheduleNowLoading","isRunNow","beginningDate","beginningType","propertyID","connectuser","setPropertyData","noSpecialCharacters","uniqueID","setSubserviceData","setServices","getFieldValue","property","subserviceName","RetsubserviceArray","onChangeConnectionAndIntervalType","handleChangeProperty","propertyDescription","desc","handleChangeContactUser","connectionText","cancelButtonProps","borderWidth","subId","isArray","userNameWithCount","radioChecked","radioUnchecked","handleChangeLastCount","options","date","dateString","customDate","handleChangeBeginningCount","database","handleChangeEndingCount","handleChangeEveryTimeCount","onChanget","handleChangeEveryDayCount","onInput","paddingTop","Group","Modal","confirm","flexWrap","alignContent","ViewModal","connectuserId","connectionNameArray","connName","setConnName","setRetailerID","setServiceID","setSubserviceID","setPropertyID","setFacebookPages","loggedInUser","iframe","getElementsByTagName","clear","setServicesSubService","updated_at","float","created_at","lastName","aria-readonly","ConnectionsTable","setRowId","viewId","setViewId","searchType","setSearchType","wordWrap","overflowWrap","align","handleViewButtonClick","EyeOutlined","handleEditButtonClick","EditICon","handleDeleteButtonClick","DeleteICon","Connections","ShowSubserviceModal","tableLoader","website","ServicesTable","defaultOptions","storedOptions","storedValue","method","handleShowSubserviceButtonClick","Services","SubservicesTable","isLoadingSub","setIsLoadingSub","setSubservice","pagename","username","apikey","PropertiesTable","ActivityLogsTable","activitylog","logtype","logTypeStr","filterData","setpagenumber","setlimit","setFirstPage","getElementById","innerHTML","activityLogDescription","acivityErrorDescription","activityUserName","sourceName","dateFrom","dateTo","record","acivityStartDate","isAcitvitySucceeded","aria-label","viewBox","focusable","data-icon","fill","aria-hidden","ActivityGroups","Routes","match","useRouteMatch","isAdmin","exact","EmailsStatistics","Subservices","Properties","AdminDashboard","ResetPasswordPage","combineReducers","configureStore","MainSwitch","RootApp","loginJson","userJson","App","Boolean","hostname","ReactDOM","StrictMode","navigator","serviceWorker","ready","registration","unregister"],"mappings":";yFAAAA,EAAOC,QAAU,8oQ,kBCAjBD,EAAOC,QAAU,srR,oBCAjBD,EAAOC,QAAU,IAA0B,kC,kBCA3CD,EAAOC,QAAU,k6S,kBCAjBD,EAAOC,QAAU,8vR,kBCAjBD,EAAOC,QAAU,swW,kBCAjBD,EAAOC,QAAU,8yC,kBCAjBD,EAAOC,QAAU,02E,kBCAjBD,EAAOC,QAAU,0qD,kBCAjBD,EAAOC,QAAU,09D,kBCAjBD,EAAOC,QAAU,shD,kBCAjBD,EAAOC,QAAU,kzT,6ECAjBD,EAAOC,QAAU,0vG,iBCAjBD,EAAOC,QAAU,07O,wOCGJC,GAAWC,SAASC,SAASC,KAAKC,SAAS,aAGrD,0CAQUC,GAAgBJ,SAASC,SAASC,KAAKC,SAAS,aAG3D,0CASWE,EAAgBC,IAAMC,OAAO,CACxCC,QAASJ,EACTK,aAAc,OACdC,QAAS,CACP,eAAgB,sBAIPC,EAAYL,IAAMC,OAAO,CACpCC,QAAST,EACTU,aAAc,OACdC,QAAS,CACP,eAAgB,sBAIpBL,EAAcO,aAAaC,SAASC,SAAIC,GAAW,SAACC,GAAuB,IAAD,EAKxE,OAHmB,OADc,QAAjB,EAAGA,EAAMH,gBAAQ,aAAd,EAAgBI,SAEjCC,GAAMC,SAAS,CAAEC,KAAM,gBAElBC,QAAQC,OAAON,MAGxBL,EAAUC,aAAaC,SAASC,SAAIC,GAAW,SAACC,GAAuB,IAAD,EAKpE,OAHmB,OADc,QAAjB,EAAGA,EAAMH,gBAAQ,aAAd,EAAgBI,SAEjCC,GAAMC,SAAS,CAAEC,KAAM,gBAElBC,QAAQC,OAAON,M,wBCtDxB,omGAAAO,GAAA,wBAAAA,EAAA,sBAAAA,GAAA,iBAAAA,GAAA,ssDAAAA,EAAA,yBAAAA,GAAA,IAAAA,EAAA,uBAAAA,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AEhB,CACElmC,KAAM,UACNkmC,aAAc,MAEhB,CACElmC,KAAM,OACNkmC,aAAc,MAEhB,CACElmC,KAAM,SACNkmC,aAAc,MAEhB,CACElmC,KAAM,QACNkmC,aAAc,MAEhB,CACElmC,KAAM,WACNkmC,aAAc,MAEhB,CACElmC,KAAM,UACNkmC,aAAc,MAEhB,CACElmC,KAAM,OACNkmC,aAAc,MAEhB,CACElmC,KAAM,SACNkmC,aAAc,MAEhB,CACElmC,KAAM,WACNkmC,aAAc,MAEhB,CACElmC,KAAM,YACNkmC,aAAc,MAEhB,CACElmC,KAAM,QACNkmC,aAAc,MAEhB,CACElmC,KAAM,mBACNkmC,aAAc,MAEhB,CACElmC,KAAM,WACNkmC,aAAc,MAEhB,CACElmC,KAAM,gBACNkmC,aAAc,MAEhB,CACElmC,KAAM,WACNkmC,aAAc,MAEhB,CACElmC,KAAM,YACNkmC,aAAc,MAEhB,CACElmC,KAAM,cACNkmC,aAAc,MAEhB,CACElmC,KAAM,WACNkmC,aAAc,MAEhB,CACElmC,KAAM,UACNkmC,aAAc,MAEhB,CACElmC,KAAM,WACNkmC,aAAc,MAEhB,CACElmC,KAAM,SACNkmC,aAAc,MAEhB,CACElmC,KAAM,gBACNkmC,aAAc,MAEhB,CACElmC,KAAM,aACNkmC,aAAc,MAEhB,CACElmC,KAAM,aACNkmC,aAAc,MAEhB,CACElmC,KAAM,WACNkmC,aAAc,MAEhB,CACElmC,KAAM,iBACNkmC,aAAc,MAEhB,CACElmC,KAAM,eACNkmC,aAAc,MAEhB,CACElmC,KAAM,2BACNkmC,aAAc,MAEhB,CACElmC,KAAM,OACNkmC,aAAc,MAEhB,CACElmC,KAAM,WACNkmC,aAAc,MAEhB,CACElmC,KAAM,SACNkmC,aAAc,MAEhB,CACElmC,KAAM,QACNkmC,aAAc,MAEhB,CACElmC,KAAM,eACNkmC,aAAc,MAEhB,CACElmC,KAAM,cACNkmC,aAAc,MAEhB,CACElmC,KAAM,eACNkmC,aAAc,MAEhB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ABAApl2IDw3B+1AAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/logo.86ab667c.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAACFCAYAAACe7YA/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAydpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMC1jMDAxIDc5LmMwMjA0YjJkZWYsIDIwMjMvMDIvMDItMTI6MTQ6MjQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyNC40IChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpDOUJBMkYyMzIxQkMxMUVFQUI2MDlFODNEOEFFMEVBQyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpDOUJBMkYyNDIxQkMxMUVFQUI2MDlFODNEOEFFMEVBQyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkM5QkE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8RgsuzSpVuYmVnAqVP7BPDp05e4dq0PL1/OC5U9niIcO7ZHIjh/vpso/UrOVkNDFY4c+UaKz8KkkhQzSG3trIAYwLTLMboQvXThNWPbtjpk0g0bpr8cR5GTk4nqylJEYjFxwvRme16eHRXlboTCEQJM6I5I+ArSyW2IDqRITjnszk4v5uaWEKVrnYtfV+uRs6M7SpKDZMrObHoXWhGb6cf0+R4Ih8bCKTp0aAfy8+04d65L0sSLGYz/I+nC9iCddI7oY8I+1cOHO74rKAhwN4XOAy5XDurrK+jA+ajQ9+gNMCvp4bFgMCLn6f79J/IbYOCamrWyNl04VVKToaFBTbV4Uex26nTje8AQTgXLwMAYBgefEQGm5bJkMKczG+XlRdi8uQKNjVVy3acLO+fGQIrP59OG/ryBlq35qVwaAaWED1emzQab1SpPJZYkOeC7iwnATx92aAp/pkASBBIKhbRnz0Yx7evBls/LjGmfLjoA1TGcBSUajWr0wCOu/4XJiV7k5SdRWJQrDzWWVZaISuunRUyaeql+gsiwEowiO8dD5PkCCnFaXpDc/H4/PWPmEIsuEQ3ogUe7WU3hB43rRxvhb/2+M1+PpFUbMdRFdSuE3W7HP5SUrg8ybyz9AAAAAElFTkSuQmCC\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQRSURBVEhLpVZdbxtFFD2za2+8Xsdpg78SkkhN+XACQUKqBEJ9QKpEfwC8pD+AHwC/hneExCtISAWUoChJiYLa0ocmpXJqkVS4SgIOie1dO7vbe+/u2ht/QKFnfGZ3z9y5d+bueHbU+fm573keHMfB8fExWnYLjtuG0hQ0pUHTido/kezoqvie7elZ13SYSRNtp41MJgOlFBiKgvi2baOyV8GB8wcyBQue70vj/wU7T1DAklXCtFmCmTKh6zrU6empX6nu4YlThZE20G53wi4vB86MmUohN55HOfs60uk0VLVa9e/sbsGaycA9d0P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uoafoX4UMVQPly/dz2v3b3kfBD40CBWDjutRF/j5E9MFcg51UehxHaZRf9vdneqy0JDUYcoyF4YGlZd6y1wauos1ZmcuDg3X99mocSXr00BDdHdYRGPhFMW1GrOx+3z5hhkSu28snLQpnggNf0QytWieoD4pNMxThyPOWlWfGDpxOA6NhfXJoQGep6cINo8w+bxJ0HA5MdhH+8rTQ8u+f3ACcreDT9IBk6D75un7sZPf0Az5V6G7/47DRjxvkwX5VOi+PfRdYGz/NM6eJp8oJ/SAHdgC7nN5+Srh/wLdz9rP/nD3v139Akg+UU7oXjy6F0gGfNh1rV4lqCwnygk9bLy3G1nUO3Sx/RjLPsaQ70Q5oeu+/qwuP16WHfvwM1uuXn7JnIX04ec/5hUE9arWrUUAAAAASUVORK5CYII=\"","import axios, { AxiosError } from \"axios\";\r\nimport { store } from \"./App\";\r\n\r\nexport const BASE_URL = document.location.host.includes(\"localhost\")\r\n// ? \"https://admin.grocerytech.solutions/\"\r\n// : \"https://admin.grocerytech.solutions/\";\r\n ? \"https://staging.grocerytech.solutions/\"\r\n : \"https://staging.grocerytech.solutions/\";\r\n// ? \"https://epicsolutions-mkpb-qa.chetu.com/\"\r\n// : \"https://epicsolutions-mkpb-qa.chetu.com/\";\r\n//? \"https://localhost:44300/\"\r\n//: \"https://localhost:44300/\";\r\n\r\n//For Epic Cyber \r\nexport const EPIC_BASE_URL = document.location.host.includes(\"localhost\")\r\n// ? \"https://admin.grocerytech.solutions/\"\r\n// : \"https://admin.grocerytech.solutions/\";\r\n? \"https://staging.grocerytech.solutions/\"\r\n: \"https://staging.grocerytech.solutions/\";\r\n// ? \"https://epicsolutions-uat.chetu.com/\"\r\n// : \"https://epicsolutions-uat.chetu.com/\";\r\n// ? \"https://epicsolutions-mkpb-qa.chetu.com/\"\r\n// : \"https://epicsolutions-mkpb-qa.chetu.com/\";\r\n//? \"https://localhost:44300/\"\r\n//: \"https://localhost:44300/\";\r\n\r\nexport const epicApiClient = axios.create({\r\n baseURL: EPIC_BASE_URL,\r\n responseType: \"json\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n});\r\n\r\nexport const apiClient = axios.create({\r\n baseURL: BASE_URL,\r\n responseType: \"json\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n});\r\n//For Epic Cyber \r\nepicApiClient.interceptors.response.use(undefined, (error: AxiosError) => {\r\n const statusCode = error.response?.status;\r\n if (statusCode === 401) {\r\n store.dispatch({ type: \"auth/logOut\" });\r\n }\r\n return Promise.reject(error);\r\n});\r\n\r\napiClient.interceptors.response.use(undefined, (error: AxiosError) => {\r\n const statusCode = error.response?.status;\r\n if (statusCode === 401) {\r\n store.dispatch({ type: \"auth/logOut\" });\r\n }\r\n return Promise.reject(error);\r\n});","import { LoginData, User } from \"./models\";\r\nimport { apiClient } from \"../../ApiClient\";\r\nimport { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { store } from \"../../App\";\r\n\r\n//utility to create axios auth header config\r\nexport const createAuthConfig = () => {\r\n let authData = store.getState().login.authData;\r\n return {\r\n headers: {\r\n Authorization: `Bearer ${authData?.jwt}`,\r\n },\r\n };\r\n};\r\n\r\n//handles both the login post and the subsequent account get\r\nexport const loginUser = createAsyncThunk(\r\n \"/Account/Login\",\r\n async (params: { email: string; password: string }, thunkAPI) => {\r\n try {\r\n const loginResponse = await apiClient.post(\r\n \"api/Account/Login\",\r\n params\r\n );\r\n localStorage.setItem(\"loginData\", JSON.stringify(loginResponse.data));\r\n thunkAPI.dispatch({\r\n type: \"login/setLoginCreds\",\r\n payload: loginResponse.data,\r\n });\r\n const userResponse = await apiClient.get(\"api/Account\", {\r\n headers: {\r\n Authorization: `Bearer ${loginResponse.data.jwt}`,\r\n },\r\n });\r\n if (userResponse.data.role === \"Administrator\") {\r\n thunkAPI.dispatch({\r\n type: \"currentRetailer/setRetailerSelectable\",\r\n payload: true,\r\n });\r\n thunkAPI.dispatch({\r\n type: \"currentRetailer/setCurrentRetailer\",\r\n payload: null,\r\n });\r\n } else {\r\n thunkAPI.dispatch({\r\n type: \"currentRetailer/setRetailerSelectable\",\r\n payload: false,\r\n });\r\n thunkAPI.dispatch({\r\n type: \"currentRetailer/setCurrentRetailer\",\r\n payload: userResponse.data.retailer!,\r\n });\r\n }\r\n localStorage.setItem(\"user\", JSON.stringify(userResponse.data));\r\n\r\n return [loginResponse.data, userResponse.data];\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error logging in\");\r\n }\r\n }\r\n);\r\n","import React from \"react\";\r\nimport styled, { keyframes } from \"styled-components\";\r\n\r\nconst motion = (p: any) => keyframes`\r\n 0% {\r\n transform: rotate(0deg);\r\n }\r\n 100% {\r\n transform: rotate(360deg);\r\n }\r\n`;\r\nconst defaultProps = {\r\n width: 64,\r\n height: 64,\r\n size: 46,\r\n color: \"#00bfff\",\r\n sizeUnit: \"px\",\r\n};\r\n\r\nconst DualRingSpinner = styled.div`\r\n display: inline-block;\r\n width: ${(p) => `${p.width}${p.sizeUnit}`};\r\n height: ${(p) => `${p.height}${p.sizeUnit}`};\r\n :after {\r\n content: \" \";\r\n display: block;\r\n width: ${(p) => `${p.size}${p.sizeUnit}`};\r\n height: ${(p) => `${p.size}${p.sizeUnit}`};\r\n margin: 1px;\r\n border-radius: 50%;\r\n border: 5px solid ${(p) => p.color};\r\n border-color: ${(p) => p.color} transparent ${(p) => p.color} transparent;\r\n animation: ${(p) => motion(p)} 1.2s linear infinite;\r\n }\r\n`;\r\n\r\nexport const DualRingLoader = () => ;\r\n","export const stringifyErrors = (error: any) => {\r\n let e = \"\";\r\n for (let k in error) {\r\n // noinspection JSUnfilteredForInLoop\r\n e += `${k}: ${error[k].join(\"\\n\")} \\n`;\r\n }\r\n return e;\r\n};\r\n\r\n// export const extractErrors = (err: any): string[] => {\r\n// try {\r\n// if (err.response.data.errors) {\r\n// return Object.keys(err.response.data.errors).map(\r\n// (key) => err.response.data.errors[key][0]\r\n// );\r\n// }\r\n\r\n// if (err.response.data) {\r\n// return Object.keys(err.response.data).map(\r\n// (key) => err.response.data[key]\r\n// );\r\n// }\r\n// } catch (_e) {\r\n// return [\"There was an error. Please try again later\"];\r\n// }\r\n// return [\"There was an error. Please try again later\"];\r\n// };\r\n","import { Alert, Divider, Input, Modal } from \"antd\";\r\nimport { apiClient } from \"../../ApiClient\";\r\nimport { AxiosError } from \"axios\";\r\nimport { stringifyErrors } from \"../common/utils/utils\";\r\nimport React, { useState } from \"react\";\r\n\r\nexport const ForgotEmailModal = (props: {\r\n visible: boolean;\r\n onSetVisible: (v: boolean) => void;\r\n}) => {\r\n const [forgotEmailValue, setForgotEmailValue] = useState(\"\");\r\n const [forgotLoading, setForgotLoading] = useState(false);\r\n const [forgotError, setForgotError] = useState(undefined);\r\n\r\n return (\r\n {\r\n props.onSetVisible(false);\r\n setForgotError(undefined);\r\n }}\r\n confirmLoading={forgotLoading}\r\n onOk={async () => {\r\n setForgotError(undefined); \r\n setForgotLoading(true);\r\n try {\r\n await apiClient.post(\r\n \"api/Account/ForgotPassword\",\r\n {\r\n email: forgotEmailValue,\r\n },\r\n {\r\n headers: {\r\n Referer: window.location.host + \"/resetPassword\",\r\n },\r\n }\r\n );\r\n props.onSetVisible(false);\r\n } catch (e) {\r\n setForgotLoading(false);\r\n const error = e as AxiosError;\r\n setForgotError(\r\n stringifyErrors(error.response?.data.errors ?? error.response?.data)\r\n );\r\n }\r\n setForgotLoading(false);\r\n }}\r\n >\r\n {forgotError && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n {\r\n setForgotEmailValue(event.target.value);\r\n }}\r\n />\r\n \r\n );\r\n};\r\n","import React, { useCallback, useEffect, useState } from \"react\";\r\nimport { Alert, Button, Form, Input, Divider } from \"antd\";\r\nimport styled from \"styled-components\";\r\nimport { Redirect, useLocation } from \"react-router\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { StringMap } from \"../../types\";\r\nimport { loginUser } from \"./api\";\r\nimport { RootState } from \"../../App\";\r\nimport { DualRingLoader } from \"../common/components/Loader\";\r\nimport { ForgotEmailModal } from \"./ForgotEmailModal\";\r\nimport { apiClient } from \"../../ApiClient\";\r\n\r\nconst layout = {\r\n labelCol: { span: 8 },\r\n wrapperCol: { span: 16 },\r\n};\r\n\r\nconst tailLayout = {\r\n wrapperCol: { offset: 8, span: 16 },\r\n};\r\n\r\nconst Layout = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n height: 100%;\r\n min-height: 100vh;\r\n`;\r\n\r\nconst ImageDiv = styled.div`\r\n flex: 2;\r\n background-color: darkred;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n`;\r\n\r\nconst LoginDiv = styled.div`\r\n flex: 1;\r\n padding: 10px;\r\n justify-self: center;\r\n align-self: center;\r\n`;\r\n\r\nconst LogoImg = styled.img`\r\n width: auto;\r\n padding: 10px;\r\n background-color: white;\r\n max-height: 210px;\r\n border-radius: 50%;\r\n`;\r\n\r\nconst ResetPasswordForm = (props: {\r\n onResetComplete: () => void;\r\n email: string;\r\n token: string;\r\n}) => {\r\n const [form] = Form.useForm();\r\n const [error, setError] = useState(\"\");\r\n const [success, setSuccess] = useState(false);\r\n const [loading, setLoading] = useState(false);\r\n const onFinish = useCallback(\r\n async (fieldsValue: StringMap) => {\r\n setSuccess(false);\r\n setLoading(true);\r\n try {\r\n await apiClient.post(\"api/Account/ResetPassword\", {\r\n token: props.token,\r\n email: props.email,\r\n password: fieldsValue[\"password\"],\r\n confirmPassword: fieldsValue[\"confirmPassword\"],\r\n });\r\n setLoading(false);\r\n setError(\"\");\r\n setSuccess(true);\r\n } catch (e) {\r\n setLoading(false);\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n setError(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n return;\r\n }\r\n setError(\"Error resetting password\");\r\n }\r\n },\r\n [props.email, props.token]\r\n );\r\n return (\r\n <>\r\n {error && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n {success && (\r\n \r\n )}\r\n
\r\n {!success && (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n {!success ? (\r\n \r\n ) : (\r\n <>\r\n )}\r\n\r\n {\r\n props.onResetComplete();\r\n }}\r\n style={{\r\n marginLeft: \"1em\",\r\n alignSelf: \"center\",\r\n }}\r\n >\r\n {\"Back to Login\"}\r\n \r\n \r\n \r\n {loading && }\r\n \r\n );\r\n};\r\n\r\nconst LoginForm = () => {\r\n const dispatch = useDispatch();\r\n const [form] = Form.useForm();\r\n const [forgotModalVisible, setForgotModalVisible] = useState(false);\r\n const onFinish = useCallback(\r\n (fieldsValue: StringMap) => {\r\n dispatch(\r\n loginUser({\r\n email: fieldsValue[\"email\"],\r\n password: fieldsValue[\"password\"],\r\n })\r\n );\r\n },\r\n [dispatch]\r\n );\r\n return (\r\n <>\r\n setForgotModalVisible(b)}\r\n />\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {\r\n setForgotModalVisible(true);\r\n }}\r\n style={{\r\n marginLeft: \"1em\",\r\n alignSelf: \"center\",\r\n }}\r\n >\r\n {\"Forgot password?\"}\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const LoginScreenRoute = (props: { authenticated: any }) => {\r\n const userRole = useSelector((state: RootState) => state.auth.user?.role);\r\n\r\n return props.authenticated ? (\r\n \r\n ) : (\r\n \r\n );\r\n // return null;\r\n};\r\n\r\nexport const LoginScreen = () => {\r\n const authenticated = useSelector((state: RootState) => state.auth.user);\r\n const error = useSelector((state: RootState) => state.auth.error);\r\n const loading = useSelector((state: RootState) => state.auth.loading);\r\n const location = useLocation();\r\n\r\n const [resetPasswordToken, setResetPassworToken] = useState<\r\n string | undefined\r\n >();\r\n\r\n const [resetPasswordEmail, setResetPasswordEmail] = useState(\"\");\r\n\r\n useEffect(() => {\r\n if (location.hash.length > 0) {\r\n const hash = location.hash;\r\n const fakeURL = new URL(`https://test.com/test?${hash.substr(1)}`);\r\n const fakeSearchParams = new URLSearchParams(fakeURL.search);\r\n const params = {} as { [key: string]: string };\r\n\r\n // @ts-ignore\r\n for (const [key, value] of fakeSearchParams) {\r\n params[key] = value || key;\r\n }\r\n\r\n setResetPassworToken(params.t);\r\n setResetPasswordEmail(params.e);\r\n }\r\n }, [location]);\r\n\r\n const LoginContent = () => (\r\n <>\r\n {error && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n \r\n {loading && }\r\n \r\n );\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n {resetPasswordToken ? (\r\n {\r\n setResetPassworToken(undefined);\r\n setResetPasswordEmail(\"\");\r\n }}\r\n token={resetPasswordToken}\r\n email={resetPasswordEmail}\r\n />\r\n ) : (\r\n \r\n )}\r\n \r\n v1.0\r\n \r\n \r\n );\r\n};\r\n","import { Retailer, RetailerWithoutId } from \"./models\";\r\nimport { apiClient } from \"../../ApiClient\";\r\nimport { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\n\r\nexport const getRetailers = createAsyncThunk(\r\n \"/api/Retailers/Get\",\r\n async (\r\n _params: { retailerId?: string },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const retailersResponse = await apiClient.get(\r\n `api/Retailers?retailerId=${\r\n _params.retailerId ? _params.retailerId : \"\"\r\n }`,\r\n createAuthConfig()\r\n );\r\n return retailersResponse.data as Retailer[];\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting retailers\");\r\n }\r\n }\r\n);\r\n\r\nexport const addRetailer = createAsyncThunk(\r\n \"/api/Retailers/Add\",\r\n async (\r\n params: RetailerWithoutId,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const retailerResponse = await apiClient.post(\r\n \"api/Retailers\",\r\n params,\r\n createAuthConfig()\r\n );\r\n return retailerResponse.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error adding retailer\");\r\n }\r\n }\r\n);\r\n\r\nexport const editRetailer = createAsyncThunk(\r\n \"/api/Retailers/Edit\",\r\n async (\r\n params: Retailer,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const retailerResponse = await apiClient.post(\r\n `api/Retailers/${params.id}`,\r\n params,\r\n createAuthConfig()\r\n );\r\n return retailerResponse.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error editing retailer\");\r\n }\r\n }\r\n);\r\n\r\nexport const deleteRetailer = createAsyncThunk(\r\n \"/api/Retailers/Delete\",\r\n async (\r\n params: Partial,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const response = await apiClient.post(\r\n `api/Retailers/DeleteRetailer/${params.id}`,\r\n {},\r\n createAuthConfig()\r\n );\r\n return response.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error deleting retailer\");\r\n }\r\n }\r\n);\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { loginUser } from \"./api\";\r\nimport { LoginData, User } from \"./models\";\r\nimport { UserModel } from \"../users/models\";\r\ntype LoginTuple = [LoginData | undefined, User | undefined];\r\n\r\nexport type UserState = {\r\n user?: User;\r\n authData?: LoginData;\r\n loading: boolean;\r\n error?: string;\r\n token?: string;\r\n inEditCurrentUser?: Partial;\r\n editCurrentUserModalVisible: boolean;\r\n changePasswordModalVisible: boolean;\r\n SettingModalVisible: boolean;\r\n};\r\n\r\nconst initialState: UserState = {\r\n user: undefined,\r\n authData: undefined,\r\n loading: false,\r\n error: undefined,\r\n inEditCurrentUser: undefined,\r\n editCurrentUserModalVisible: false,\r\n changePasswordModalVisible: false,\r\n SettingModalVisible: false,\r\n};\r\n\r\nexport const loginSlice = createSlice({\r\n name: \"login\",\r\n initialState,\r\n reducers: {\r\n setChangePasswordModalVisible: (state, action: PayloadAction) => {\r\n state.changePasswordModalVisible = action.payload;\r\n },\r\n setCurrentUserModalVisible: (state, action: PayloadAction) => {\r\n state.editCurrentUserModalVisible = action.payload;\r\n },\r\n setSettingModalVisible: (state, action: PayloadAction) => {\r\n state.SettingModalVisible = action.payload;\r\n },\r\n setInEditCurrentUser: (\r\n state,\r\n action: PayloadAction>\r\n ) => {\r\n state.inEditCurrentUser = action.payload;\r\n },\r\n setLoginCreds: (state, action: PayloadAction) => {\r\n state.authData = action.payload;\r\n },\r\n\r\n },\r\n});\r\n\r\nexport const authSlice = createSlice({\r\n name: \"auth\",\r\n initialState,\r\n reducers: {\r\n setLoginCreds: (state, action: PayloadAction) => {\r\n state.authData = action.payload;\r\n },\r\n autoLoggedInUser: (\r\n state,\r\n action: PayloadAction<{ user: User; authData: LoginData }>\r\n ) => {\r\n state.user = action.payload.user;\r\n state.authData = action.payload.authData;\r\n },\r\n logOut: (state) => {\r\n localStorage.removeItem(\"loginData\");\r\n localStorage.removeItem(\"user\");\r\n state.user = undefined;\r\n state.authData = undefined;\r\n },\r\n },\r\n extraReducers: (builder) => {\r\n builder.addCase(loginUser.fulfilled, (state, action) => {\r\n const [loginData, user] = action.payload as LoginTuple;\r\n state.user = user;\r\n state.authData = loginData;\r\n state.error = undefined;\r\n state.loading = false;\r\n });\r\n builder.addCase(loginUser.rejected, (state, action) => {\r\n state.error = action.payload as string;\r\n state.loading = false;\r\n });\r\n builder.addCase(loginUser.pending, (state) => {\r\n state.loading = true;\r\n });\r\n },\r\n});\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { getRetailers, addRetailer, editRetailer, deleteRetailer } from \"./api\";\r\nimport { Retailer } from \"./models\";\r\n\r\nexport type RetailerState = {\r\n all: Retailer[];\r\n currentRetailer?: Retailer;\r\n loading: boolean;\r\n error: string | null;\r\n showAddModal: boolean;\r\n addRetailerLoading: boolean;\r\n addRetailerError: string | null;\r\n showEditModal: string | null;\r\n editRetailerLoading: boolean;\r\n editRetailerError: string | null;\r\n showDeleteModal: string | null;\r\n deleteRetailerLoading: boolean;\r\n deleteRetailerError: string | null;\r\n addSuccess: boolean;\r\n addError: boolean;\r\n editSuccess: boolean;\r\n editError: boolean;\r\n deleteSuccess: boolean;\r\n deleteError: boolean;\r\n};\r\n\r\nconst initialState: RetailerState = {\r\n all: [],\r\n currentRetailer: undefined,\r\n loading: false,\r\n error: null,\r\n addRetailerError: null,\r\n showAddModal: false,\r\n addRetailerLoading: false,\r\n showEditModal: null,\r\n editRetailerLoading: false,\r\n editRetailerError: null,\r\n showDeleteModal: null,\r\n deleteRetailerLoading: false,\r\n deleteRetailerError: null,\r\n addSuccess: false,\r\n addError: false,\r\n editSuccess: false,\r\n editError: false,\r\n deleteSuccess: false,\r\n deleteError: false,\r\n\r\n};\r\n\r\nexport const retailersSlice = createSlice({\r\n name: \"retailers\",\r\n initialState,\r\n reducers: {\r\n setCurrentRetailer: (state, action: PayloadAction) => {\r\n state.currentRetailer = action.payload;\r\n state.editRetailerError = null;\r\n },\r\n showAddRetailerModal: (state) => {\r\n state.showAddModal = true;\r\n },\r\n hideAddRetailerModal: (state) => {\r\n state.showAddModal = false;\r\n state.addRetailerError = null;\r\n },\r\n showEditRetailerModal: (state, action) => {\r\n state.showEditModal = action.payload;\r\n },\r\n hideEditRetailerModal: (state) => {\r\n state.showEditModal = null;\r\n state.editRetailerError = null;\r\n },\r\n showDeleteRetailerModal: (state, action) => {\r\n state.showDeleteModal = action.payload;\r\n },\r\n hideDeleteRetailerModal: (state) => {\r\n state.showDeleteModal = null;\r\n state.deleteRetailerError = null;\r\n },\r\n resetMessages: (state) => {\r\n state.addSuccess = false\r\n state.addError = false\r\n state.editSuccess = false\r\n state.editError = false\r\n state.addSuccess = false\r\n state.deleteSuccess = false\r\n state.deleteError = false\r\n }\r\n },\r\n extraReducers: (builder) => {\r\n /* get retailers */\r\n builder.addCase(getRetailers.pending, (state) => {\r\n state.loading = true;\r\n });\r\n builder.addCase(getRetailers.fulfilled, (state, action) => {\r\n state.all = action.payload.sort((a, b) => {\r\n let fa = a.name.toLowerCase(),\r\n fb = b.name.toLowerCase();\r\n if (fa < fb) {\r\n return -1;\r\n }\r\n if (fa > fb) {\r\n return 1;\r\n }\r\n return 0;\r\n });\r\n state.loading = false;\r\n state.editRetailerError = null;\r\n state.error = null;\r\n });\r\n builder.addCase(getRetailers.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.error = action.payload;\r\n }\r\n });\r\n\r\n /* add retailer*/\r\n builder.addCase(addRetailer.pending, (state) => {\r\n state.addRetailerLoading = true;\r\n state.addRetailerError = null;\r\n state.addSuccess = false;\r\n state.addError = false;\r\n });\r\n builder.addCase(addRetailer.fulfilled, (state, action) => {\r\n state.all = [...state.all, action.payload];\r\n state.addRetailerLoading = false;\r\n state.addRetailerError = null;\r\n state.showAddModal = false;\r\n state.addSuccess = true;\r\n state.addError = false;\r\n });\r\n builder.addCase(addRetailer.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.addRetailerError = action.payload;\r\n state.addRetailerLoading = false;\r\n state.addSuccess = false;\r\n state.addError = true;\r\n }\r\n });\r\n\r\n /* edit retailer*/\r\n builder.addCase(editRetailer.pending, (state) => {\r\n state.editRetailerLoading = true;\r\n state.editRetailerError = null;\r\n state.editSuccess = false;\r\n state.editError = false;\r\n });\r\n builder.addCase(editRetailer.fulfilled, (state, action) => {\r\n // state.all = [...state.all, action.payload];\r\n state.editSuccess = true;\r\n state.editError = false;\r\n\r\n state.all = state.all.map((item) =>\r\n item.id === action.payload.id ? action.payload : item\r\n );\r\n state.editRetailerLoading = false;\r\n state.editRetailerError = null;\r\n // state.showEditModal = null;\r\n\r\n });\r\n builder.addCase(editRetailer.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.editRetailerError = action.payload;\r\n state.editRetailerLoading = false;\r\n state.editSuccess = false;\r\n state.editError = true;\r\n }\r\n });\r\n\r\n /* delete retailer*/\r\n builder.addCase(deleteRetailer.pending, (state) => {\r\n state.deleteSuccess = false;\r\n state.deleteError = false;\r\n state.deleteRetailerLoading = true;\r\n state.deleteRetailerError = null;\r\n });\r\n builder.addCase(deleteRetailer.fulfilled, (state, action) => {\r\n state.deleteSuccess = true;\r\n state.deleteError = false;\r\n state.all = state.all.filter((item) => item.id !== action.payload.id);\r\n state.deleteRetailerLoading = false;\r\n state.showDeleteModal = null;\r\n state.deleteRetailerError = null;\r\n\r\n });\r\n builder.addCase(deleteRetailer.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.deleteSuccess = false;\r\n state.deleteError = true;\r\n state.deleteRetailerError = action.payload;\r\n state.deleteRetailerLoading = false;\r\n }\r\n });\r\n\r\n },\r\n});\r\n\r\nexport const {\r\n showAddRetailerModal,\r\n hideAddRetailerModal,\r\n showEditRetailerModal,\r\n hideEditRetailerModal,\r\n showDeleteRetailerModal,\r\n hideDeleteRetailerModal,\r\n resetMessages\r\n} = retailersSlice.actions;\r\n","import { apiClient } from \"../../ApiClient\";\r\nimport { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\nimport { UserModel } from \"./models\";\r\nimport { RootState } from \"../../App\";\r\nimport { Retailer } from \"../retailers/models\";\r\n\r\nexport type UserPayload = {\r\n admins: UserModel[];\r\n customers: UserModel[];\r\n retailers: UserModel[];\r\n};\r\n\r\nexport const getUsers = createAsyncThunk(\r\n \"/api/GetUsers\",\r\n async (_params: { retailerId: string | undefined }, thunkAPI) => {\r\n try {\r\n const retailersResponse = await apiClient.get(\r\n `api/Users?retailerId=${_params.retailerId ? _params.retailerId : \"\"}`,\r\n createAuthConfig()\r\n );\r\n \r\n \r\n \r\n\r\n const payload: UserPayload = {\r\n admins: [],\r\n customers: [],\r\n retailers: [],\r\n };\r\n for (let u of retailersResponse.data) {\r\n switch (u.role) {\r\n case \"Administrator\":\r\n payload.admins.push(u);\r\n break;\r\n case \"Retailer\":\r\n payload.retailers.push(u);\r\n break;\r\n case \"Customer\":\r\n payload.customers.push(u);\r\n break;\r\n }\r\n }\r\n return payload;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting users\");\r\n }\r\n }\r\n);\r\n\r\nexport const postUser = createAsyncThunk(\r\n \"/api/PostUsers\",\r\n async (params: Partial, thunkAPI) => {\r\n try {\r\n const body = { ...params };\r\n const state = thunkAPI.getState() as RootState;\r\n body.retailer = body.retailer ?? (state.auth.user?.retailer as Retailer);\r\n if (body.role !== \"Customer\") {\r\n body.emailConfirmed = true;\r\n }\r\n body.password = body.password ?? \"\";\r\n body.confirmPassword = body.confirmPassword ?? \"\";\r\n const putResponse = await apiClient.post(\r\n \"api/Users\",\r\n body,\r\n createAuthConfig()\r\n );\r\n thunkAPI.dispatch(\r\n getUsers({\r\n retailerId: (thunkAPI.getState() as RootState).currentRetailer\r\n .currentRetailer?.id,\r\n })\r\n );\r\n return putResponse.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error creating user\");\r\n }\r\n }\r\n);\r\n\r\nexport const putUser = createAsyncThunk(\r\n \"/api/PutUsers\",\r\n async (params: Partial, thunkAPI) => {\r\n try {\r\n const body = { ...params };\r\n const state = thunkAPI.getState() as RootState;\r\n body.retailer = body.retailer ?? (state.auth.user?.retailer as Retailer);\r\n if (body.role !== \"Retailer\") {\r\n body.emailConfirmed = true;\r\n }\r\n body.password = body.password ?? \"\";\r\n body.confirmPassword = body.confirmPassword ?? \"\";\r\n const putResponse = await apiClient.put(\r\n `api/Users/${params.id}`,\r\n body,\r\n createAuthConfig()\r\n );\r\n thunkAPI.dispatch(\r\n getUsers({\r\n retailerId: (thunkAPI.getState() as RootState).currentRetailer\r\n .currentRetailer?.id,\r\n })\r\n );\r\n return putResponse.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error updating user\");\r\n }\r\n }\r\n);\r\n\r\nexport const deleteUser = createAsyncThunk(\r\n \"/api/Users\",\r\n async (params: string, thunkAPI) => {\r\n try {\r\n const putResponse = await apiClient.delete(\r\n `api/Users/${params}`,\r\n createAuthConfig()\r\n );\r\n thunkAPI.dispatch(\r\n getUsers({\r\n retailerId: (thunkAPI.getState() as RootState).currentRetailer\r\n .currentRetailer?.id,\r\n })\r\n );\r\n return putResponse.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error deleting user\");\r\n }\r\n }\r\n);\r\n\r\nexport const resendConfirmationEmail = createAsyncThunk(\r\n \"/api/Account/ResendConfirmationEmail\",\r\n async (params: { email: string }, thunkAPI) => {\r\n const putResponse = await apiClient.post(\r\n `api/Account/ResendConfirmationEmail`,\r\n { email: params.email },\r\n createAuthConfig()\r\n );\r\n return putResponse.data;\r\n }\r\n);\r\n\r\nexport const sendResetPasswordEmail = createAsyncThunk(\r\n \"api/Account/ForgotPassword\",\r\n async (params: { email: string }, thunkAPI) => {\r\n const putResponse = await apiClient.post(\r\n `api/Account/ForgotPassword`,\r\n { email: params.email },\r\n createAuthConfig()\r\n );\r\n return putResponse.data;\r\n }\r\n);\r\n\r\n// export const fileUploader = createAsyncThunk(\r\n// '/api/UserCustomer',\r\n// async (file:any, thunkAPI) => {\r\n// const putResponse = await apiClient.post(\r\n// `/api/UserCustomer`,file,\r\n// createAuthConfig()\r\n// );\r\n// return putResponse.data;\r\n// }\r\n// )\r\nexport const fileUploader=async(file:any)=>{\r\n debugger\r\n const putResponse = await apiClient.post(\r\n `/api/UserCustomer`,file,\r\n createAuthConfig()\r\n );\r\n return putResponse.data;\r\n}","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { deleteUser, getUsers, postUser, putUser } from \"./api\";\r\nimport { UserModel } from \"./models\";\r\nimport { message } from \"antd\";\r\n\r\nexport type RetailerState = {\r\n admins: UserModel[];\r\n customers: UserModel[];\r\n retailers: UserModel[];\r\n inEditUser: Partial;\r\n loading: boolean;\r\n showUserModal: boolean;\r\n confirmDeleteModal: boolean;\r\n showDeleteModal: boolean;\r\n error?: string;\r\n inEditCurrentUser?: Partial;\r\n};\r\n\r\nconst initialState = {\r\n admins: [] as UserModel[],\r\n customers: [] as UserModel[],\r\n retailers: [] as UserModel[],\r\n loading: false,\r\n showUserModal: false,\r\n confirmDeleteModal: false,\r\n showDeleteModal: false,\r\n error: undefined,\r\n} as RetailerState;\r\n\r\nexport const usersSlice = createSlice({\r\n name: \"users\",\r\n initialState,\r\n reducers: {\r\n toggleUserModal: (state) => {\r\n state.showUserModal = !state.showUserModal;\r\n state.error = undefined;\r\n },\r\n setInEditUser: (state, action: PayloadAction>) => {\r\n state.inEditUser = action.payload;\r\n },\r\n toggleDeleteModal: (state) => {\r\n state.showDeleteModal = !state.showDeleteModal;\r\n state.error = undefined;\r\n },\r\n },\r\n extraReducers: (builder) => {\r\n builder.addCase(getUsers.fulfilled, (state, action) => {\r\n const payload = action.payload;\r\n state.admins = payload.admins;\r\n state.customers = payload.customers;\r\n state.retailers = payload.retailers;\r\n state.loading = false;\r\n state.showUserModal = false;\r\n });\r\n builder.addCase(getUsers.rejected, (state, action) => {\r\n state.loading = false;\r\n });\r\n builder.addCase(getUsers.pending, (state) => {\r\n state.loading = true;\r\n });\r\n\r\n builder.addCase(postUser.fulfilled, (state) => {\r\n // state.loading = false;\r\n state.error = undefined;\r\n message.success(\"User added successfully\");\r\n });\r\n builder.addCase(postUser.rejected, (state, action) => {\r\n state.loading = false;\r\n state.error = action.payload as string;\r\n });\r\n builder.addCase(postUser.pending, (state) => {\r\n state.loading = true;\r\n state.error = undefined;\r\n });\r\n\r\n builder.addCase(putUser.fulfilled, (state) => {\r\n // state.loading = false;\r\n state.error = undefined;\r\n\r\n message.success(\"User updated successfully\");\r\n });\r\n builder.addCase(putUser.rejected, (state, action) => {\r\n state.loading = false;\r\n state.error = action.payload as string;\r\n });\r\n builder.addCase(putUser.pending, (state) => {\r\n state.loading = true;\r\n state.error = undefined;\r\n });\r\n\r\n builder.addCase(deleteUser.pending, (state) => {\r\n state.loading = true;\r\n });\r\n builder.addCase(deleteUser.rejected, (state, action) => {\r\n state.loading = false;\r\n state.error = action.payload as string;\r\n });\r\n builder.addCase(deleteUser.fulfilled, (state) => {\r\n state.loading = false;\r\n state.showDeleteModal = false;\r\n\r\n message.success(\"User Deleted\");\r\n });\r\n },\r\n});\r\n","import { CircularGroup, CircularGroupWithoutId } from \"./models\";\r\nimport { Retailer } from \"../retailers/models\";\r\nimport { apiClient } from \"../../ApiClient\";\r\nimport { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\nimport { RootState } from \"../../App\";\r\n\r\nexport const getCircularGroups = createAsyncThunk(\r\n \"api/CircularGroups/Get\",\r\n async (\r\n _params: { retailerId: string | undefined },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.get(\r\n `api/CircularGroups?retailerId=${\r\n _params.retailerId ? _params.retailerId : \"\"\r\n }`,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting circular groups\");\r\n }\r\n }\r\n);\r\n\r\nexport const addCircularGroup = createAsyncThunk(\r\n \"api/CircularGroups/Add\",\r\n async (\r\n params: CircularGroupWithoutId,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const state = thunkAPI.getState() as RootState;\r\n const retailer = params.retailerId\r\n ? state.retailers.all.find(\r\n (retailer: Retailer) => params.retailerId === retailer.id\r\n )\r\n : state.currentRetailer.currentRetailer;\r\n const res = await apiClient.post(\r\n \"api/CircularGroups\",\r\n {\r\n name: params.name,\r\n retailer: retailer,\r\n },\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error adding circular group\");\r\n }\r\n }\r\n);\r\n\r\nexport const editCircularGroup = createAsyncThunk(\r\n \"api/CircularGroups/Edit\",\r\n async (\r\n params: CircularGroup,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const state = thunkAPI.getState() as RootState;\r\n const retailer = params.retailerId\r\n ? state.retailers.all.find(\r\n (retailer: Retailer) => params.retailerId === retailer.id\r\n )\r\n : state.currentRetailer.currentRetailer;\r\n const res = await apiClient.put(\r\n `api/CircularGroups/${params.id}`,\r\n {\r\n name: params.name,\r\n retailer: retailer,\r\n },\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error editing circular group\");\r\n }\r\n }\r\n);\r\n\r\nexport const deleteCircularGroup = createAsyncThunk(\r\n \"api/CircularGroups/Delete\",\r\n async (\r\n params: CircularGroup,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.delete(\r\n `api/CircularGroups/${params.id}`,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error deleting circular group\");\r\n }\r\n }\r\n);\r\n","import { createSlice } from \"@reduxjs/toolkit\";\r\nimport {\r\n getCircularGroups,\r\n addCircularGroup,\r\n editCircularGroup,\r\n deleteCircularGroup,\r\n} from \"./api\";\r\nimport { CircularGroup } from \"./models\";\r\n\r\nexport type CircularGroupsState = {\r\n all: CircularGroup[];\r\n loading: boolean;\r\n error: string | null;\r\n showAddModal: boolean;\r\n addLoading: boolean;\r\n addError: string | null;\r\n showEditModal: string | null;\r\n editLoading: boolean;\r\n editError: string | null;\r\n showDeleteModal: string | null;\r\n deleteLoading: boolean;\r\n deleteError: string | null;\r\n};\r\n\r\nconst initialState: CircularGroupsState = {\r\n all: [],\r\n loading: false,\r\n error: null,\r\n addError: null,\r\n showAddModal: false,\r\n addLoading: false,\r\n showEditModal: null,\r\n editLoading: false,\r\n editError: null,\r\n showDeleteModal: null,\r\n deleteLoading: false,\r\n deleteError: null,\r\n};\r\n\r\nexport const circularGroupsSlice = createSlice({\r\n name: \"circularGroups\",\r\n initialState,\r\n reducers: {\r\n showAddCircularGroupModal: (state) => {\r\n state.showAddModal = true;\r\n },\r\n hideAddCircularGroupModal: (state) => {\r\n state.showAddModal = false;\r\n state.addError = null;\r\n },\r\n showEditCircularGroupModal: (state, action) => {\r\n state.showEditModal = action.payload;\r\n },\r\n hideEditCircularGroupModal: (state) => {\r\n state.showEditModal = null;\r\n state.editError = null;\r\n },\r\n showDeleteCircularGroupModal: (state, action) => {\r\n state.showDeleteModal = action.payload;\r\n },\r\n hideDeleteCircularGroupModal: (state) => {\r\n state.showDeleteModal = null;\r\n state.deleteError = null;\r\n },\r\n },\r\n extraReducers: (builder) => {\r\n /* get */\r\n builder.addCase(getCircularGroups.pending, (state) => {\r\n state.loading = true;\r\n state.error = null;\r\n });\r\n builder.addCase(getCircularGroups.fulfilled, (state, action) => {\r\n state.loading = false;\r\n state.all = action.payload;\r\n state.error = null;\r\n });\r\n builder.addCase(getCircularGroups.rejected, (state, action) => {\r\n state.loading = false;\r\n if (typeof action.payload === \"string\") {\r\n state.error = action.payload;\r\n }\r\n });\r\n\r\n /* add */\r\n builder.addCase(addCircularGroup.pending, (state) => {\r\n state.addLoading = true;\r\n state.addError = null;\r\n });\r\n builder.addCase(addCircularGroup.fulfilled, (state, action) => {\r\n state.addLoading = false;\r\n state.addError = null;\r\n state.showAddModal = false;\r\n state.all = [...state.all, action.payload];\r\n });\r\n builder.addCase(addCircularGroup.rejected, (state, action) => {\r\n state.addLoading = false;\r\n if (typeof action.payload === \"string\") {\r\n state.addError = action.payload;\r\n }\r\n });\r\n\r\n /* edit */\r\n builder.addCase(editCircularGroup.pending, (state) => {\r\n state.editLoading = true;\r\n state.editError = null;\r\n });\r\n builder.addCase(editCircularGroup.fulfilled, (state, action) => {\r\n state.editLoading = false;\r\n state.editError = null;\r\n state.showEditModal = null;\r\n state.all = state.all.map((item) =>\r\n item.id === action.payload.id ? action.payload : item\r\n );\r\n });\r\n builder.addCase(editCircularGroup.rejected, (state, action) => {\r\n state.editLoading = false;\r\n if (typeof action.payload === \"string\") {\r\n state.editError = action.payload;\r\n }\r\n });\r\n\r\n /* delete */\r\n builder.addCase(deleteCircularGroup.pending, (state) => {\r\n state.deleteLoading = true;\r\n state.deleteError = null;\r\n });\r\n builder.addCase(deleteCircularGroup.fulfilled, (state, action) => {\r\n state.all = state.all.filter((item) => item.id !== action.payload.id);\r\n state.deleteLoading = false;\r\n state.showDeleteModal = null;\r\n state.deleteError = null;\r\n });\r\n builder.addCase(deleteCircularGroup.rejected, (state, action) => {\r\n state.deleteLoading = false;\r\n if (typeof action.payload === \"string\") {\r\n state.deleteError = action.payload;\r\n }\r\n });\r\n },\r\n});\r\n\r\nexport const {\r\n showAddCircularGroupModal,\r\n hideAddCircularGroupModal,\r\n showEditCircularGroupModal,\r\n hideEditCircularGroupModal,\r\n showDeleteCircularGroupModal,\r\n hideDeleteCircularGroupModal,\r\n} = circularGroupsSlice.actions;\r\n","import { Store, FormStore } from \"./models\";\r\nimport { apiClient } from \"../../ApiClient\";\r\nimport { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\nimport { CircularGroup } from \"../circular-groups/models\";\r\n\r\nexport const getStores = createAsyncThunk(\r\n \"/api/Stores/Get\",\r\n async (\r\n _params: { retailerId: string | undefined },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.get(\r\n `api/Stores?retailerId=${_params.retailerId ? _params.retailerId : \"\"}`,\r\n createAuthConfig()\r\n );\r\n return res.data as Store[];\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting stores\");\r\n }\r\n }\r\n);\r\n\r\nexport const addStore = createAsyncThunk(\r\n \"/api/Stores/Add\",\r\n async (\r\n params: FormStore,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.post(\r\n \"api/Stores\",\r\n {\r\n ...params,\r\n //@ts-ignore\r\n circularGroup: thunkAPI\r\n .getState()\r\n .circularGroups.all.find(\r\n (cg: CircularGroup) => cg.id === params.circularGroupId\r\n ),\r\n },\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error adding store\");\r\n }\r\n }\r\n);\r\n\r\nexport const editStore = createAsyncThunk(\r\n \"/api/Stores/Edit\",\r\n async (\r\n params: Store,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.put(\r\n `api/Stores/${params.id}`,\r\n {\r\n ...params,\r\n //@ts-ignore\r\n circularGroup: thunkAPI\r\n .getState()\r\n .circularGroups.all.find(\r\n (cg: CircularGroup) => cg.id === params.circularGroupId\r\n ),\r\n },\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error editing store\");\r\n }\r\n }\r\n);\r\n\r\nexport const deleteStore = createAsyncThunk(\r\n \"/api/Stores/Delete\",\r\n async (\r\n id: string,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.delete(\r\n `api/Stores/${id}`,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error deleting store\");\r\n }\r\n }\r\n);\r\n","import { createSlice } from \"@reduxjs/toolkit\";\r\nimport { getStores, addStore, editStore, deleteStore } from \"./api\";\r\nimport { Store } from \"./models\";\r\n\r\nexport type StoresState = {\r\n all: Store[];\r\n loading: boolean;\r\n error: string | null;\r\n showAddModal: boolean;\r\n addLoading: boolean;\r\n addError: string | null;\r\n showEditModal: string | null;\r\n editLoading: boolean;\r\n editError: string | null;\r\n showDeleteModal: string | null;\r\n deleteLoading: boolean;\r\n deleteError: string | null;\r\n};\r\n\r\nconst initialState: StoresState = {\r\n all: [],\r\n loading: false,\r\n error: null,\r\n showAddModal: false,\r\n addLoading: false,\r\n addError: null,\r\n showEditModal: null,\r\n editLoading: false,\r\n editError: null,\r\n showDeleteModal: null,\r\n deleteLoading: false,\r\n deleteError: null,\r\n};\r\n\r\nexport const storesSlice = createSlice({\r\n name: \"stores\",\r\n initialState,\r\n reducers: {\r\n showAddStoreModal: (state) => {\r\n state.showAddModal = true;\r\n },\r\n hideAddStoreModal: (state) => {\r\n state.showAddModal = false;\r\n state.addError = null;\r\n },\r\n showEditStoreModal: (state, action) => {\r\n state.showEditModal = action.payload;\r\n },\r\n hideEditStoreModal: (state) => {\r\n state.showEditModal = null;\r\n state.editError = null;\r\n },\r\n showDeleteStoreModal: (state, action) => {\r\n state.showDeleteModal = action.payload;\r\n state.deleteError = null;\r\n },\r\n hideDeleteStoreModal: (state) => {\r\n state.showDeleteModal = null;\r\n },\r\n },\r\n extraReducers: (builder) => {\r\n /* get stores */\r\n builder.addCase(getStores.pending, (state) => {\r\n state.all = [];\r\n state.loading = true;\r\n state.error = null;\r\n });\r\n builder.addCase(getStores.fulfilled, (state, action) => {\r\n state.all = action.payload;\r\n state.loading = false;\r\n state.error = null;\r\n });\r\n builder.addCase(getStores.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.error = action.payload;\r\n }\r\n });\r\n\r\n /* add store */\r\n builder.addCase(addStore.pending, (state) => {\r\n state.addLoading = true;\r\n state.addError = null;\r\n });\r\n builder.addCase(addStore.fulfilled, (state, action) => {\r\n state.all = [...state.all, action.payload];\r\n state.addLoading = false;\r\n state.addError = null;\r\n state.showAddModal = false;\r\n });\r\n builder.addCase(addStore.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.addError = action.payload;\r\n state.addLoading = false;\r\n }\r\n });\r\n\r\n /* edit store*/\r\n builder.addCase(editStore.pending, (state) => {\r\n state.editLoading = true;\r\n state.editError = null;\r\n });\r\n builder.addCase(editStore.fulfilled, (state, action) => {\r\n state.all = state.all.map((item) =>\r\n item.id === action.payload.id ? action.payload : item\r\n );\r\n state.editLoading = false;\r\n state.editError = null;\r\n state.showEditModal = null;\r\n });\r\n builder.addCase(editStore.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.editError = action.payload;\r\n state.editLoading = false;\r\n }\r\n });\r\n\r\n /* delete store*/\r\n builder.addCase(deleteStore.pending, (state) => {\r\n state.deleteLoading = true;\r\n state.deleteError = null;\r\n });\r\n builder.addCase(deleteStore.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.deleteError = action.payload;\r\n state.deleteLoading = false;\r\n }\r\n });\r\n builder.addCase(deleteStore.fulfilled, (state, action) => {\r\n state.all = state.all.filter((item) => item.id !== action.payload.id);\r\n state.deleteLoading = false;\r\n state.showDeleteModal = null;\r\n state.deleteError = null;\r\n });\r\n },\r\n});\r\n\r\nexport const {\r\n showAddStoreModal,\r\n hideAddStoreModal,\r\n showEditStoreModal,\r\n hideEditStoreModal,\r\n showDeleteStoreModal,\r\n hideDeleteStoreModal,\r\n} = storesSlice.actions;\r\n","import { Circular } from \"./models\";\r\nimport { apiClient } from \"../../ApiClient\";\r\nimport { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\nimport { RootState } from \"../../App\";\r\n\r\nexport const getCirculars = createAsyncThunk(\r\n \"api/Circulars/Get\",\r\n async (\r\n _params: { retailerId: string | undefined },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n //debugger;\r\n // console.log('get');\r\n const res = await apiClient.get(\r\n `api/Circulars?retailerId=${\r\n _params.retailerId ? _params.retailerId : \"\"\r\n }`,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting circulars\");\r\n }\r\n }\r\n);\r\nexport const getCircularsByid = createAsyncThunk(\r\n \"api/Circulars/Get\",\r\n async (\r\n _params: { id: string | undefined },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n //debugger;\r\n // console.log('get');\r\n const res = await apiClient.get(\r\n `api/Circulars/${_params.id}`,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting circulars\");\r\n }\r\n }\r\n);\r\nexport const editCircular = createAsyncThunk(\r\n \"api/Circulars/Edit\",\r\n async (\r\n params: Circular,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n if (!params.retailer) {\r\n //debugger;\r\n params.retailer = (thunkAPI.getState() as RootState).currentRetailer.currentRetailer;\r\n }\r\n const res = await apiClient.put(\r\n `api/Circulars/${params.id}`,\r\n params,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error editing circular\");\r\n }\r\n }\r\n);\r\nexport const deleteCircular = createAsyncThunk(\r\n \"api/Circular/Delete\",\r\n async (\r\n params: Circular,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.delete(\r\n `api/Circulars/${params.id}`,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error deleting circular\");\r\n }\r\n }\r\n);\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { deleteCircular, editCircular, getCirculars } from \"./api\";\r\nimport { Circular, CircularPage } from \"./models\";\r\n\r\nexport type CircularsState = {\r\n all: Circular[];\r\n currentCircular: Circular | null;\r\n loading: boolean;\r\n error: string | null;\r\n showAddModal: boolean;\r\n addLoading: boolean;\r\n addError: string | null;\r\n showEditModal: string | null;\r\n editLoading: boolean;\r\n editError: string | null;\r\n showDeleteModal: string | null;\r\n deleteLoading: boolean;\r\n deleteError: string | null;\r\n deleteSuccess : boolean;\r\n};\r\n\r\nconst initialState: CircularsState = {\r\n all: [],\r\n loading: false,\r\n currentCircular: null,\r\n error: null,\r\n addError: null,\r\n showAddModal: false,\r\n addLoading: false,\r\n showEditModal: null,\r\n editLoading: false,\r\n editError: null,\r\n showDeleteModal: null,\r\n deleteLoading: false,\r\n deleteError: null,\r\n deleteSuccess : false,\r\n};\r\n\r\nexport const circularsSlice = createSlice({\r\n name: \"circulars\",\r\n initialState,\r\n reducers: {\r\n addCircular: (state, action) => {\r\n state.all = [...state.all, action.payload];\r\n state.addLoading = false;\r\n state.showAddModal = false;\r\n state.addError = null;\r\n },\r\n setAddCircularLoading: (state, action) => {\r\n state.addLoading = action.payload;\r\n state.addError = null;\r\n },\r\n setAddCircularError: (state, action) => {\r\n state.addError = action.payload;\r\n },\r\n showAddCircularModal: (state) => {\r\n state.showAddModal = true;\r\n },\r\n hideAddCircularModal: (state) => {\r\n state.showAddModal = false;\r\n state.addError = null;\r\n state.addLoading = false;\r\n },\r\n editCircular: (state, action) => {\r\n state.all = state.all.map((circular) =>\r\n circular.id === action.payload.id ? action.payload : circular\r\n );\r\n state.editLoading = false;\r\n state.showEditModal = null;\r\n state.editError = null;\r\n },\r\n\r\n setEditCircularLoading: (state, action) => {\r\n state.editLoading = true;\r\n state.editError = null;\r\n },\r\n setEditCircularError: (state, action) => {\r\n state.editError = action.payload;\r\n state.editLoading = false;\r\n },\r\n showEditCircularModal: (state, action) => {\r\n state.showEditModal = action.payload;\r\n },\r\n hideEditCircularModal: (state) => {\r\n state.showEditModal = null;\r\n state.editError = null;\r\n },\r\n showDeleteCircularModal: (state, action) => {\r\n state.showDeleteModal = action.payload;\r\n },\r\n hideDeleteCircularModal: (state) => {\r\n state.showDeleteModal = null;\r\n state.deleteError = null;\r\n },\r\n\r\n addCircularPages: (\r\n state,\r\n action: PayloadAction<{\r\n dataArray: Array;\r\n circularId: string;\r\n }>\r\n ) => {\r\n state.all = state.all.map((circular) => {\r\n if (circular.id !== action.payload.circularId) return circular;\r\n else\r\n return {\r\n ...circular,\r\n circularPages: [\r\n ...circular.circularPages,\r\n ...action.payload.dataArray,\r\n ],\r\n };\r\n });\r\n },\r\n },\r\n extraReducers: (builder) => {\r\n /* get */\r\n builder.addCase(getCirculars.pending, (state) => {\r\n state.loading = true;\r\n state.currentCircular = null;\r\n state.error = null;\r\n });\r\n builder.addCase(getCirculars.fulfilled, (state, action) => {\r\n state.loading = false;\r\n state.all = action.payload;\r\n state.error = null;\r\n });\r\n builder.addCase(getCirculars.rejected, (state, action) => {\r\n state.loading = false;\r\n if (typeof action.payload === \"string\") {\r\n state.error = action.payload;\r\n }\r\n });\r\n\r\n /* add */\r\n // builder.addCase(addCircular.pending, (state) => {\r\n // state.addLoading = true;\r\n // state.addError = null;\r\n // });\r\n // builder.addCase(addCircular.fulfilled, (state, action) => {\r\n // state.addLoading = false;\r\n // state.addError = null;\r\n // state.showAddModal = false;\r\n // state.all = [...state.all, action.payload];\r\n // });\r\n // builder.addCase(addCircular.rejected, (state, action) => {\r\n // state.addLoading = false;\r\n // if (typeof action.payload === \"string\") {\r\n // state.addError = action.payload;\r\n // }\r\n // });\r\n\r\n /* edit */\r\n builder.addCase(editCircular.pending, (state) => {\r\n state.editLoading = true;\r\n state.editError = null;\r\n });\r\n builder.addCase(editCircular.fulfilled, (state, action) => {\r\n state.editLoading = false;\r\n state.editError = null;\r\n state.showEditModal = null;\r\n state.all = state.all.map((item) =>\r\n item.id === action.payload.id ? action.payload : item\r\n );\r\n });\r\n builder.addCase(editCircular.rejected, (state, action) => {\r\n state.editLoading = false;\r\n if (typeof action.payload === \"string\") {\r\n state.editError = action.payload;\r\n }\r\n });\r\n\r\n /* delete */\r\n builder.addCase(deleteCircular.pending, (state) => {\r\n state.deleteLoading = true;\r\n state.deleteError = null;\r\n });\r\n builder.addCase(deleteCircular.fulfilled, (state, action) => {\r\n state.all = state.all.filter((item) => item.id !== action.payload.id);\r\n state.deleteLoading = false;\r\n state.showDeleteModal = null;\r\n state.deleteError = null;\r\n state.deleteSuccess = true;\r\n });\r\n builder.addCase(deleteCircular.rejected, (state, action) => {\r\n state.deleteLoading = false;\r\n if (typeof action.payload === \"string\") {\r\n state.deleteError = action.payload;\r\n }\r\n });\r\n },\r\n});\r\n\r\nexport const {\r\n addCircular,\r\n setAddCircularLoading,\r\n setAddCircularError,\r\n showAddCircularModal,\r\n hideAddCircularModal,\r\n showEditCircularModal,\r\n hideEditCircularModal,\r\n setEditCircularLoading,\r\n setEditCircularError,\r\n showDeleteCircularModal,\r\n hideDeleteCircularModal,\r\n} = circularsSlice.actions;\r\n","import { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport axios from \"axios\";\r\nimport { CircularArea, CircularPage } from \"../circulars/models\";\r\nimport { apiClient } from \"../../ApiClient\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\nimport { Actions } from \"../Reducers\";\r\nimport { RootState } from \"../../App\";\r\nimport { AreaFormValues } from \"./AreaForm\";\r\n\r\n\r\nconst RAPID_API_KEY = '24cbc6d15fmshebb81cbbe6f8977p178436jsn90ca66ace69a';\r\nconst RAPID_API_HOST = 'yummly2.p.rapidapi.com';\r\nconst RAPID_HOST= 'https://yummly2.p.rapidapi.com';\r\n\r\nexport const getPageDetails = createAsyncThunk(\r\n \"api/CircularsPage/Get\",\r\n async (\r\n _params: string,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.get(\r\n `/api/CircularPages/${_params}`,\r\n createAuthConfig()\r\n );\r\n const page = res.data;\r\n thunkAPI.dispatch(Actions.editPage.pageLoaded(page));\r\n return page;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting circular pages\");\r\n }\r\n }\r\n);\r\n\r\nexport const getRecipes = createAsyncThunk(\r\n \"api/CircularArea/Recipe\",\r\n async (\r\n params: {\r\n ingredient: string;\r\n nrOfRecs: number;\r\n },\r\n _\r\n ) => {\r\n try {\r\n const headers = {\r\n \"X-RapidAPI-Key\": RAPID_API_KEY,\r\n \"X-RapidAPI-Host\": RAPID_API_HOST,\r\n };\r\n const res = await axios.get(\r\n `${RAPID_HOST}/feeds/search`,\r\n {\r\n headers: headers,\r\n params: {\r\n maxResult: params.nrOfRecs,\r\n q: params.ingredient,\r\n },\r\n }\r\n );\r\n /*const fullRecipes = await Promise.allSettled(\r\n res.data.map(async (recipe: any) => {\r\n const recInfo = await axios.get(\r\n `${RAPID_HOST}/recipes/${recipe.id}/information`,\r\n { headers: headers }\r\n );\r\n\r\n const sourceUrl = recInfo.data.sourceUrl;\r\n let recExtracted = null;\r\n try {\r\n recExtracted = await axios.get(\r\n `${RAPID_HOST}/recipes/extract?url=${sourceUrl}`,\r\n { headers: headers }\r\n );\r\n } catch (e) {\r\n return null;\r\n }\r\n return {\r\n ...recipe,\r\n ...recInfo.data,\r\n ...recExtracted.data,\r\n };\r\n })\r\n );*/\r\n return {\r\n // list: fullRecipes\r\n // .filter((res) => res !== null && res.status === \"fulfilled\")\r\n // // @ts-ignore\r\n // .map((res) => res.value),\r\n list: res.data.feed,\r\n ingredient: params.ingredient,\r\n nrOfRecs: params.nrOfRecs,\r\n };\r\n //return res.data.feed;\r\n } catch (e) {}\r\n }\r\n);\r\n\r\nexport const postPage = createAsyncThunk(\r\n \"api/Circular/PagePost\",\r\n async (\r\n params: CircularPage,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.put(\r\n `api/CircularsPages/${params.id}`,\r\n params,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error updating circular page\");\r\n }\r\n }\r\n);\r\n\r\nexport const saveArea = createAsyncThunk(\r\n \"api/Circular/SaveArea\",\r\n async (\r\n params: { pageId: string; area: CircularArea },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n try {\r\n await apiClient.delete(\r\n `api/CircularAreas/${params.area.id}`,\r\n createAuthConfig()\r\n );\r\n } catch (e) {}\r\n const editFormValues = (thunkAPI.getState() as RootState).editPage\r\n .editFormValues;\r\n\r\n //validate\r\n let errors = {} as AreaFormValues;\r\n // if (!editFormValues?.category ?? undefined) {\r\n // errors.category = {} as Category;\r\n // }\r\n // if (\r\n // !editFormValues?.ingredient ||\r\n // editFormValues.ingredient.length === 0\r\n // ) {\r\n // errors.ingredient = \"error\";\r\n // }\r\n // if (!editFormValues?.prefix || editFormValues.prefix.length === 0) {\r\n // errors.prefix = \"error\";\r\n // }\r\n // if (!editFormValues?.deal || editFormValues.deal.length === 0) {\r\n // errors.deal = \"error\";\r\n // }\r\n // if (!editFormValues?.details || editFormValues.details.length === 0) {\r\n // errors.details = \"error\";\r\n // }\r\n if (Object.keys(errors).length > 0) {\r\n thunkAPI.dispatch(Actions.editPage.setAreaFormErrors(errors));\r\n return thunkAPI.rejectWithValue(\"\");\r\n }\r\n\r\n const recipes = (thunkAPI.getState() as RootState).editPage.recipes;\r\n const areaToSave = {\r\n ...editFormValues,\r\n ...params.area,\r\n recepiesJSON: JSON.stringify(recipes),\r\n };\r\n const res = await apiClient.post(\r\n `/api/CircularAreas/ForCircularPage/${params.pageId}`,\r\n areaToSave,\r\n createAuthConfig()\r\n );\r\n await thunkAPI.dispatch(\r\n getPageDetails(\r\n (thunkAPI.getState() as RootState).editPage?.page?.id ?? \"\"\r\n )\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error updating circular area\");\r\n }\r\n }\r\n);\r\n\r\nexport const deleteCircularArea = createAsyncThunk(\r\n \"api/Circular/DeleteCircularArea\",\r\n async (\r\n params: string,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.delete(\r\n `api/CircularAreas/${params}`,\r\n createAuthConfig()\r\n );\r\n await thunkAPI.dispatch(\r\n getPageDetails(\r\n (thunkAPI.getState() as RootState).editPage?.page?.id ?? \"\"\r\n )\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error deleting circular page\");\r\n }\r\n }\r\n);\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { CircularArea, CircularPage, Thumbnail } from \"../circulars/models\";\r\nimport { getPageDetails, getRecipes, saveArea } from \"./api\";\r\nimport * as R from \"ramda\";\r\nimport { v4 as uuidv4 } from \"uuid\";\r\nimport { AreaFormValues } from \"./AreaForm\";\r\n\r\nexport type Recipes = {\r\n selected: any;\r\n list: any[];\r\n};\r\n\r\ninterface EditPageState {\r\n id?: string;\r\n page?: CircularPage;\r\n inEditArea?: CircularArea;\r\n dimensions?: { width: number; height: number };\r\n thumbnails?: Thumbnail[];\r\n circularAreas?: CircularArea[];\r\n showThumbnails: boolean;\r\n editFormValues?: AreaFormValues;\r\n recipes?: Recipes;\r\n recipesLoading?: boolean;\r\n recipesDialogOpen?: boolean;\r\n saveLoading?: boolean;\r\n thumbnailSelectOpened?: boolean;\r\n moving?: boolean;\r\n creatingNewRegion?: boolean;\r\n inCreatingRegion?: Partial;\r\n allThumbnails?: Thumbnail[];\r\n editAreaFormErrors?: AreaFormValues;\r\n newArea?: boolean;\r\n recipesQuery?: {\r\n ingredient: string;\r\n nrOfRecs: number;\r\n };\r\n}\r\n\r\nconst state: EditPageState = {\r\n showThumbnails: true,\r\n recipes: {\r\n list: [],\r\n selected: false\r\n }\r\n}\r\n\r\nexport const mapPercentage = (\r\n value: number,\r\n in_min: number,\r\n in_max: number\r\n) => {\r\n return value / in_max;\r\n};\r\n\r\n// const valueInRange = (value: number, min: number, max: number) => {\r\n// return value >= min && value <= max;\r\n// };\r\n\r\nexport const editPageSlice = createSlice({\r\n name: \"editPage\",\r\n initialState: state,\r\n reducers: {\r\n setAreaFormErrors: (state, action: PayloadAction) => {\r\n state.editAreaFormErrors = action.payload;\r\n },\r\n startCreatingRegion: (\r\n state,\r\n action: PayloadAction<{ x: number; y: number }>\r\n ) => {\r\n state.recipes = undefined;\r\n state.editFormValues = undefined;\r\n state.newArea = true;\r\n state.inEditArea = {\r\n top: mapPercentage(action.payload.y, 0, state.dimensions!.height),\r\n left: mapPercentage(action.payload.x, 0, state.dimensions!.width),\r\n width: 100,\r\n height: 160,\r\n } as CircularArea;\r\n },\r\n cancelEditRegion: (state) => {\r\n state.inEditArea = undefined;\r\n state.newArea = false;\r\n },\r\n onResize: (\r\n state,\r\n action: PayloadAction<{\r\n x: number;\r\n y: number;\r\n width: number;\r\n height: number;\r\n }>\r\n ) => {\r\n state.inEditArea!.top = mapPercentage(\r\n action.payload.y,\r\n 0,\r\n state.dimensions!.height\r\n );\r\n state.inEditArea!.left = mapPercentage(\r\n action.payload.x,\r\n 0,\r\n state.dimensions!.width\r\n );\r\n state.inEditArea!.width = mapPercentage(\r\n action.payload.width,\r\n 0,\r\n state.dimensions!.width\r\n );\r\n state.inEditArea!.height = mapPercentage(\r\n action.payload.height,\r\n 0,\r\n state.dimensions!.height\r\n );\r\n },\r\n setMoving: (state, action) => {\r\n state.moving = action.payload;\r\n },\r\n setAreaThumbnail: (state, action: PayloadAction) => {\r\n if (state.inEditArea) {\r\n state.inEditArea.thumbnailIndex = action.payload;\r\n }\r\n state.thumbnailSelectOpened = false;\r\n },\r\n setThumbnailSelectOpened: (state, action: PayloadAction) => {\r\n state.thumbnailSelectOpened = action.payload;\r\n },\r\n selectRecipe: (state, action: PayloadAction) => {\r\n state.recipes = {\r\n list: state.recipes?.list ?? [],\r\n selected: action.payload,\r\n };\r\n },\r\n setRecModalVisible: (state, action: PayloadAction) => {\r\n state.recipesDialogOpen = action.payload;\r\n },\r\n setAreaFormValues: (state, action: PayloadAction) => {\r\n state.editFormValues = {\r\n ...state.editFormValues,\r\n ...action.payload,\r\n };\r\n },\r\n areaEdited: (state, action: PayloadAction) => {\r\n state.inEditArea = { ...state.inEditArea, ...action.payload };\r\n },\r\n deleteArea: (state, _: PayloadAction) => {\r\n state.inEditArea = undefined;\r\n state.newArea = false;\r\n },\r\n toggleShowThumbnails: (state, _: PayloadAction) => {\r\n state.showThumbnails = !state.showThumbnails;\r\n },\r\n editFromThumbnail: (\r\n state,\r\n action: PayloadAction<{ thumb: Thumbnail; index: number }>\r\n ) => {\r\n const { thumb } = action.payload;\r\n state.recipes = undefined;\r\n state.newArea = true;\r\n state.editFormValues = undefined;\r\n state.editAreaFormErrors = undefined;\r\n state.inEditArea = {\r\n id: uuidv4(),\r\n thumbnailIndex: thumb.id,\r\n height: thumb.height,\r\n width: thumb.width,\r\n top: thumb.top,\r\n left: thumb.left,\r\n } as CircularArea;\r\n },\r\n pageLoaded: (state, action: PayloadAction) => {\r\n state.circularAreas = action.payload.circularAreas;\r\n let thumbs = [] as (Thumbnail & { id: number })[];\r\n const rawThumbs = action.payload.thumbnails.map((t, i) => {\r\n return {\r\n ...t,\r\n id: i,\r\n };\r\n });\r\n state.allThumbnails = rawThumbs;\r\n for (let i of action.payload.circularAreas) {\r\n thumbs = R.remove(i.thumbnailIndex, 1, rawThumbs);\r\n }\r\n if (thumbs.length === 0) {\r\n thumbs = rawThumbs;\r\n }\r\n state.thumbnails = thumbs.filter((t) => {\r\n const overSized = t.width > 0.9 || t.height > 0.9;\r\n return !overSized;\r\n });\r\n },\r\n setDimensions: (\r\n state,\r\n action: PayloadAction<{ width: number; height: number }>\r\n ) => {\r\n state.dimensions = action.payload;\r\n },\r\n areaDragged: (state, action: PayloadAction<{ x: number; y: number }>) => {\r\n state.inEditArea!.top = mapPercentage(\r\n action.payload.y,\r\n 0,\r\n state.dimensions!.height\r\n );\r\n state.inEditArea!.left = mapPercentage(\r\n action.payload.x,\r\n 0,\r\n state.dimensions!.width\r\n );\r\n },\r\n editArea: (state, action: PayloadAction) => {\r\n state.editAreaFormErrors = undefined;\r\n state.inEditArea = action.payload;\r\n state.editFormValues = action.payload;\r\n if (\r\n !!action.payload?.recepiesJSON &&\r\n action.payload?.recepiesJSON.length > 0\r\n ) {\r\n state.recipes = JSON.parse(action.payload?.recepiesJSON);\r\n }\r\n },\r\n deleteInEditArea: (state, action: PayloadAction) => {\r\n let newPage: CircularPage = {} as CircularPage;\r\n Object.assign(newPage, state.page);\r\n newPage.circularAreas = newPage.circularAreas.filter(\r\n (area) => area.id !== action.payload\r\n );\r\n state.page = newPage;\r\n state.inEditArea = undefined;\r\n state.newArea = false;\r\n },\r\n editPage: (\r\n state,\r\n action: PayloadAction<{ id: string; page: CircularPage }>\r\n ) => {\r\n state.id = action.payload.id;\r\n state.page = action.payload.page;\r\n },\r\n setRecipesQuery: (\r\n state,\r\n action: PayloadAction<{\r\n nrOfRecs: number;\r\n ingredient: string;\r\n }>\r\n ) => {\r\n state.recipesQuery = action.payload;\r\n },\r\n },\r\n extraReducers: (builder) => {\r\n builder.addCase(getPageDetails.fulfilled, (state, action) => {\r\n state.page = action.payload;\r\n });\r\n builder.addCase(saveArea.pending, (state) => {\r\n state.saveLoading = true;\r\n state.editAreaFormErrors = undefined;\r\n });\r\n builder.addCase(saveArea.rejected, (state) => {\r\n state.saveLoading = false;\r\n });\r\n\r\n builder.addCase(saveArea.fulfilled, (state) => {\r\n state.saveLoading = false;\r\n state.inEditArea = undefined;\r\n state.newArea = false;\r\n });\r\n\r\n builder.addCase(getPageDetails.pending, (state) => {\r\n state.dimensions = undefined;\r\n state.page = undefined;\r\n state.inEditArea = undefined;\r\n state.newArea = false;\r\n });\r\n\r\n // builder.addCase(postPage.fulfilled, (state, action) => {\r\n // // alert(\"did it!\");\r\n // });\r\n builder.addCase(getRecipes.rejected, (state) => {\r\n state.recipesLoading = true;\r\n state.recipes = {\r\n list: [],\r\n selected: undefined,\r\n };\r\n });\r\n\r\n builder.addCase(getRecipes.pending, (state) => {\r\n state.recipesLoading = true;\r\n });\r\n builder.addCase(getRecipes.fulfilled, (state:any, action: any) => {\r\n state.recipesLoading = false;\r\n\r\n if(!state.recipes) {\r\n state.recipes = {\r\n list: action.payload.list\r\n }\r\n }\r\n // state.recipes = {\r\n // list: action.payload.list,\r\n // selected: undefined,\r\n // };\r\n\r\n state.recipes.list = action.payload.list;\r\n\r\n // if(action.payload.list.length){\r\n // state.recipes.list = action.payload.list\r\n // }\r\n \r\n state.recipesQuery = {\r\n ingredient: action.payload.ingredient,\r\n nrOfRecs: action.payload.nrOfRecs,\r\n };\r\n state.recipesDialogOpen = true;\r\n });\r\n },\r\n});\r\n","import { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\nimport { apiClient } from \"../../ApiClient\";\r\nimport { Category } from \"./models\";\r\n\r\nexport const getCategories = createAsyncThunk(\r\n \"getCategories\",\r\n async (\r\n params,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.get(\r\n `api/Categories`,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting categories\");\r\n }\r\n }\r\n);\r\n\r\nexport const postCategory = createAsyncThunk(\r\n \"postCategory\",\r\n async (\r\n params: { name: string },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.post(\r\n `api/Categories`,\r\n params,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error adding category\");\r\n }\r\n }\r\n);\r\n\r\nexport const putCategory = createAsyncThunk(\r\n \"putCategory\",\r\n async (\r\n params: { id: string; name: string },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.put(\r\n `api/Categories/${params.id}`,\r\n params,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error editing category\");\r\n }\r\n }\r\n);\r\n\r\nexport const deleteCategory = createAsyncThunk(\r\n \"deleteCategory\",\r\n async (\r\n params: { id: string },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.delete(\r\n `api/Categories/${params.id}`,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error deleting category\");\r\n }\r\n }\r\n);\r\n","import { createSlice } from \"@reduxjs/toolkit\";\r\nimport {\r\n deleteCategory,\r\n getCategories,\r\n postCategory,\r\n putCategory,\r\n} from \"./api\";\r\nimport { Category } from \"./models\";\r\nimport * as R from \"ramda\";\r\n\r\nconst initialState = {\r\n addLoading: false,\r\n updateLoading: {\r\n id: \"\",\r\n loading: false,\r\n },\r\n deleteLoading: {\r\n id: \"\",\r\n loading: false,\r\n },\r\n\r\n // represents the action was taken and info should be triggered\r\n addDirty: false,\r\n updateDirty: false,\r\n deleteDirty: false,\r\n\r\n data: [] as Category[],\r\n deleteModalVisible: false,\r\n error: {\r\n dirty: false,\r\n message: \"\",\r\n },\r\n};\r\n\r\nexport const categoriesSlice = createSlice({\r\n name: \"categories\",\r\n initialState,\r\n reducers: {\r\n addInfoShowed: (state) => {\r\n state.addDirty = false;\r\n },\r\n\r\n updateInfoShowed: (state) => {\r\n state.updateDirty = false;\r\n },\r\n\r\n deleteInfoShowed: (state) => {\r\n state.deleteDirty = false;\r\n },\r\n errorShowed: (state) => {\r\n state.error = {\r\n dirty: false,\r\n message: \"\",\r\n };\r\n },\r\n },\r\n extraReducers: (builder) => {\r\n builder.addCase(getCategories.fulfilled, (state, action) => {\r\n state.data = action.payload;\r\n });\r\n\r\n builder.addCase(postCategory.fulfilled, (state, action) => {\r\n const oldData = !!state.data\r\n ? [...state.data, action.payload]\r\n : [action.payload];\r\n state.data = R.sort(\r\n (a, b) => a.name.toLowerCase().localeCompare(b.name),\r\n oldData\r\n );\r\n state.addLoading = false;\r\n state.addDirty = true;\r\n });\r\n\r\n builder.addCase(postCategory.pending, (state, action) => {\r\n state.addLoading = true;\r\n });\r\n\r\n builder.addCase(postCategory.rejected, (state, action) => {\r\n state.addLoading = false;\r\n state.error = {\r\n dirty: true,\r\n message: \"There was an error while adding a category\",\r\n };\r\n });\r\n\r\n builder.addCase(putCategory.fulfilled, (state, action) => {\r\n state.updateDirty = true;\r\n state.updateLoading = {\r\n id: \"\",\r\n loading: false,\r\n };\r\n });\r\n builder.addCase(putCategory.pending, (state, action) => {\r\n state.updateLoading = {\r\n id: action.meta.arg.id,\r\n loading: true,\r\n };\r\n });\r\n builder.addCase(putCategory.rejected, (state, action) => {\r\n state.updateLoading = {\r\n id: \"\",\r\n loading: false,\r\n };\r\n state.error = {\r\n dirty: true,\r\n message: \"There was an error while updating\",\r\n };\r\n });\r\n\r\n builder.addCase(deleteCategory.fulfilled, (state, action) => {\r\n state.deleteDirty = true;\r\n state.deleteLoading = {\r\n id: \"\",\r\n loading: false,\r\n };\r\n state.data = R.filter((v) => {\r\n return v.id !== action.meta.arg.id;\r\n }, state.data);\r\n });\r\n builder.addCase(deleteCategory.pending, (state, action) => {\r\n state.deleteLoading = {\r\n id: action.meta.arg.id,\r\n loading: true,\r\n };\r\n });\r\n builder.addCase(deleteCategory.rejected, (state, action) => {\r\n state.deleteLoading = {\r\n id: \"\",\r\n loading: false,\r\n };\r\n state.error = {\r\n dirty: true,\r\n message: \"There was an error while deleting\",\r\n };\r\n });\r\n },\r\n});\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { Retailer } from \"../retailers/models\";\r\n\r\nexport type SelectRetailerState = {\r\n currentRetailer?: Retailer;\r\n retailerSelectable: boolean;\r\n};\r\n\r\nconst initialState: SelectRetailerState = {\r\n currentRetailer: undefined,\r\n retailerSelectable: false,\r\n};\r\n\r\nexport const currentRetailerSlice = createSlice({\r\n name: \"currentRetailer\",\r\n initialState,\r\n reducers: {\r\n setCurrentRetailer: (\r\n state,\r\n action: PayloadAction\r\n ) => {\r\n state.currentRetailer = action.payload;\r\n },\r\n setRetailerSelectable: (state, action: PayloadAction) => {\r\n state.retailerSelectable = action.payload;\r\n },\r\n },\r\n extraReducers: (builder) => {},\r\n});\r\n","import { apiClient } from \"../../ApiClient\";\r\nimport { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\nimport { RecipesCategory, Recipe, APIRecipe } from \"./models\";\r\n\r\nexport const getRecipesCategories = createAsyncThunk(\r\n \"/api/Recipes/GetCagegories\",\r\n async (\r\n _params,\r\n thunkAPI\r\n ): Promise<\r\n RecipesCategory[] | ReturnType\r\n > => {\r\n try {\r\n const res = await apiClient.get(\r\n `api/RecipeCategories`,\r\n createAuthConfig()\r\n );\r\n res.data.forEach((category) =>\r\n thunkAPI.dispatch(getRecipesByCategory(category?.id as string))\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting recipe categories\");\r\n }\r\n }\r\n);\r\n\r\nexport const addRecipesCategory = createAsyncThunk(\r\n \"/api/Recipes/AddCategory\",\r\n async (\r\n params: RecipesCategory,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.post(\r\n \"api/RecipeCategories\",\r\n params,\r\n createAuthConfig()\r\n );\r\n thunkAPI.dispatch(getRecipesByCategory(res.data.id as string));\r\n thunkAPI.dispatch(getRecipesCategories());\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error adding recipe category\");\r\n }\r\n }\r\n);\r\n\r\nexport const editRecipesCategory = createAsyncThunk(\r\n \"/api/Recipes/EditCategory\",\r\n async (\r\n params: RecipesCategory,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.post(\r\n `api/RecipeCategories/EditRecipeCategory/${params.id}`,\r\n params,\r\n createAuthConfig()\r\n );\r\n thunkAPI.dispatch(getRecipesCategories());\r\n thunkAPI.dispatch(getRecipesByCategory(res.data.id as string));\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error editing recipe category\");\r\n }\r\n }\r\n);\r\n\r\nexport const deleteRecipesCategory = createAsyncThunk(\r\n \"/api/Recipes/DeleteCategory\",\r\n async (\r\n rcId: string,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.post(\r\n `/api/RecipeCategories/${rcId}`,\r\n createAuthConfig()\r\n );\r\n thunkAPI.dispatch(getRecipesCategories());\r\n thunkAPI.dispatch(getRecipeOfTheWeek());\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error deleting recipe cateogry\");\r\n }\r\n }\r\n);\r\n\r\nexport const getAllRecipes = createAsyncThunk(\r\n \"api/Recipes/GetRecipes\",\r\n async (\r\n params: string,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.get(\r\n \"/api/Recipes/\",\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting recipes\");\r\n }\r\n }\r\n);\r\n\r\nexport const getRecipesByCategory = createAsyncThunk(\r\n \"api/Recipes/GetRecipesByCategory\",\r\n async (\r\n rcId: string,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.get(\r\n `/api/Recipes/ForRecipeCategory/${rcId}`,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting recipes\");\r\n }\r\n }\r\n);\r\n\r\nexport const addRecipes = createAsyncThunk(\r\n \"api/Recipes/AddRecipes\",\r\n async (\r\n params: APIRecipe[],\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await Promise.all(\r\n params.map(async (recipe: APIRecipe) => {\r\n try {\r\n const res = await apiClient.post(\r\n \"api/Recipes\",\r\n recipe,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n throw e;\r\n }\r\n })\r\n );\r\n thunkAPI.dispatch(\r\n getRecipesByCategory(params[0].recipeCategory.id as string)\r\n );\r\n return res;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error adding recipes\");\r\n }\r\n }\r\n);\r\n\r\nexport const addRecipe = createAsyncThunk(\r\n \"api/Recipes/AddRecipe\",\r\n async (\r\n params: APIRecipe,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.post(\r\n \"api/Recipes\",\r\n params,\r\n createAuthConfig()\r\n );\r\n thunkAPI.dispatch(\r\n getRecipesByCategory(res.data.recipeCategory.id as string)\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error adding recipe\");\r\n }\r\n }\r\n);\r\n\r\nexport const editRecipe = createAsyncThunk(\r\n \"api/Recipes/EditRecipe\",\r\n async (\r\n recipe: APIRecipe,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.post(\r\n `api/Recipes/EditRecipe/${recipe.id}`,\r\n recipe,\r\n createAuthConfig()\r\n );\r\n thunkAPI.dispatch(\r\n getRecipesByCategory(res.data.recipeCategory.id as string)\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error editing recipe\");\r\n }\r\n }\r\n);\r\n\r\nexport const deleteRecipe = createAsyncThunk(\r\n \"api/Recipes/DeleteRecipe\",\r\n async (\r\n recipeId: string,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.post(\r\n `api/Recipes/${recipeId}`,\r\n createAuthConfig()\r\n );\r\n thunkAPI.dispatch(\r\n getRecipesByCategory(res.data.recipeCategory.id as string)\r\n );\r\n thunkAPI.dispatch(getRecipeOfTheWeek());\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error deleting recipe xxxxxxxxx\");\r\n }\r\n }\r\n);\r\n\r\nexport const getRecipeOfTheWeek = createAsyncThunk(\r\n \"api/Recipes/GetRecipeOfTheWeek\",\r\n async (\r\n _params,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.get(\r\n \"api/Recipes/RecipeOfTheWeek\",\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting recipe of the week\");\r\n }\r\n }\r\n);\r\n\r\nexport const setRecipeOfTheWeek = createAsyncThunk(\r\n \"api/Recipes/SetRecipeOfTheWeek\",\r\n async (\r\n id: string,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const res = await apiClient.get(\r\n `api/Recipes/RecipeOfTheWeek/${id}`,\r\n createAuthConfig()\r\n );\r\n // thunkAPI.dispatch(getRecipeOfTheWeek());\r\n thunkAPI.dispatch(\r\n getRecipesByCategory(res.data.recipeCategory.id as string)\r\n );\r\n return res.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error setting recipe of the week\");\r\n }\r\n }\r\n);\r\n","import { createSlice } from \"@reduxjs/toolkit\";\r\nimport {\r\n getRecipesCategories,\r\n addRecipesCategory,\r\n getRecipesByCategory,\r\n editRecipe,\r\n editRecipesCategory,\r\n deleteRecipe,\r\n addRecipes,\r\n deleteRecipesCategory,\r\n getRecipeOfTheWeek,\r\n setRecipeOfTheWeek,\r\n} from \"./api\";\r\nimport { RecipesCategory, Recipe, APIRecipe } from \"./models\";\r\n\r\nexport type RecipesState = {\r\n recipesByCategory: {\r\n [id: string]: Recipe[];\r\n };\r\n getRecipesByCategoryLoading: boolean;\r\n getRecipesByCategoryError: string | null;\r\n\r\n categories: RecipesCategory[];\r\n getLoading: boolean;\r\n getError: string | null;\r\n\r\n addCategoryLoading: boolean;\r\n addCategoryError: string | null;\r\n\r\n editCategoryLoading: boolean;\r\n editCategoryError: string | null;\r\n\r\n deleteCategoryLoading: boolean;\r\n deleteCategoryError: string | null;\r\n\r\n showAddCategoryModal: boolean;\r\n showAddRecipesModal: string | null;\r\n showEditCategoryModal: string | null;\r\n showDeleteCategoryModal: string | null;\r\n\r\n addRecipesLoading: boolean;\r\n addRecipesError: string | null;\r\n\r\n editRecipeLoading: boolean;\r\n editRecipeError: string | null;\r\n\r\n deleteRecipeLoading: boolean;\r\n deleteRecipeError: string | null;\r\n\r\n recipeOfTheWeek: Recipe | null;\r\n getRecipeOfTheWeekLoading: boolean;\r\n getRecipeOfTheWeekError: string | null;\r\n\r\n setRecipeOfTheWeekLoading: boolean;\r\n setRecipeOfTheWeekError: string | null;\r\n};\r\n\r\nconst initialState: RecipesState = {\r\n recipesByCategory: {},\r\n getRecipesByCategoryLoading: false,\r\n getRecipesByCategoryError: null,\r\n\r\n categories: [],\r\n getLoading: false,\r\n getError: null,\r\n\r\n addCategoryLoading: false,\r\n addCategoryError: null,\r\n\r\n editCategoryLoading: false,\r\n editCategoryError: null,\r\n\r\n deleteCategoryLoading: false,\r\n deleteCategoryError: null,\r\n\r\n showAddCategoryModal: false,\r\n showAddRecipesModal: null,\r\n showEditCategoryModal: null,\r\n showDeleteCategoryModal: null,\r\n\r\n addRecipesLoading: false,\r\n addRecipesError: null,\r\n\r\n editRecipeLoading: false,\r\n editRecipeError: null,\r\n\r\n deleteRecipeLoading: false,\r\n deleteRecipeError: null,\r\n\r\n recipeOfTheWeek: null,\r\n getRecipeOfTheWeekLoading: false,\r\n getRecipeOfTheWeekError: null,\r\n\r\n setRecipeOfTheWeekLoading: false,\r\n setRecipeOfTheWeekError: null,\r\n};\r\n\r\nexport const recipesSlice = createSlice({\r\n name: \"recipes\",\r\n initialState,\r\n reducers: {\r\n showAddCategoryModal: (state) => {\r\n state.showAddCategoryModal = true;\r\n },\r\n hideAddCategoryModal: (state) => {\r\n state.showAddCategoryModal = false;\r\n },\r\n showAddRecipesModal: (state, action) => {\r\n state.showAddRecipesModal = action.payload;\r\n },\r\n hideAddRecipesModal: (state) => {\r\n state.showAddRecipesModal = null;\r\n },\r\n showEditCategoryModal: (state, action) => {\r\n state.showEditCategoryModal = action.payload;\r\n },\r\n hideEditCategoryModal: (state) => {\r\n state.showEditCategoryModal = null;\r\n },\r\n showDeleteCategoryModal: (state, action) => {\r\n state.showDeleteCategoryModal = action.payload;\r\n },\r\n hideDeleteCategoryModal: (state) => {\r\n state.showDeleteCategoryModal = null;\r\n },\r\n // clearCategoryState: (state, action) => {\r\n // state.recipesByCategory[action.payload] = [];\r\n // },\r\n },\r\n extraReducers: (builder) => {\r\n // get categories\r\n builder.addCase(getRecipesCategories.pending, (state) => {\r\n state.getLoading = true;\r\n state.getError = null;\r\n });\r\n builder.addCase(getRecipesCategories.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.getError = action.payload;\r\n state.getLoading = false;\r\n }\r\n });\r\n builder.addCase(getRecipesCategories.fulfilled, (state, action) => {\r\n state.getLoading = false;\r\n state.getError = null;\r\n state.categories = action.payload;\r\n });\r\n\r\n // add category\r\n builder.addCase(addRecipesCategory.pending, (state) => {\r\n state.addCategoryLoading = true;\r\n state.addCategoryError = null;\r\n });\r\n builder.addCase(addRecipesCategory.rejected, (state, action) => {\r\n state.addCategoryLoading = false;\r\n if (typeof action.payload === \"string\") {\r\n state.addCategoryError = action.payload;\r\n }\r\n });\r\n builder.addCase(addRecipesCategory.fulfilled, (state, action) => {\r\n state.addCategoryLoading = false;\r\n state.addCategoryError = null;\r\n state.showAddCategoryModal = false;\r\n state.categories = [...state.categories, action.payload];\r\n });\r\n\r\n //edit category\r\n builder.addCase(editRecipesCategory.pending, (state) => {\r\n state.editCategoryLoading = true;\r\n state.editCategoryError = null;\r\n });\r\n builder.addCase(editRecipesCategory.rejected, (state, action) => {\r\n state.editCategoryLoading = false;\r\n if (typeof action.payload === \"string\") {\r\n state.editCategoryError = action.payload;\r\n }\r\n });\r\n builder.addCase(editRecipesCategory.fulfilled, (state, action) => {\r\n state.editCategoryLoading = false;\r\n state.editCategoryError = null;\r\n });\r\n\r\n //delete category\r\n builder.addCase(deleteRecipesCategory.pending, (state) => {\r\n state.deleteCategoryLoading = true;\r\n state.deleteCategoryError = null;\r\n });\r\n builder.addCase(deleteRecipesCategory.rejected, (state, action) => {\r\n state.deleteCategoryLoading = false;\r\n state.showDeleteCategoryModal = null;\r\n if (typeof action.payload === \"string\") {\r\n state.deleteCategoryError = action.payload;\r\n }\r\n });\r\n builder.addCase(deleteRecipesCategory.fulfilled, (state) => {\r\n state.deleteCategoryLoading = false;\r\n state.deleteCategoryError = null;\r\n });\r\n\r\n //get recipes by category\r\n builder.addCase(getRecipesByCategory.pending, (state) => {\r\n state.getRecipesByCategoryLoading = true;\r\n state.getRecipesByCategoryError = null;\r\n });\r\n builder.addCase(getRecipesByCategory.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.getRecipesByCategoryError = action.payload;\r\n }\r\n state.getRecipesByCategoryLoading = false;\r\n });\r\n builder.addCase(getRecipesByCategory.fulfilled, (state, action) => {\r\n state.getRecipesByCategoryError = null;\r\n\r\n if (action.payload.length) {\r\n state.recipesByCategory[\r\n action.payload[0].recipeCategory.id as string\r\n ] = action.payload.map((apiRec: APIRecipe) => {\r\n const parsed = JSON.parse(apiRec.json);\r\n return {\r\n ...parsed,\r\n originalId: parsed.id,\r\n ...apiRec,\r\n };\r\n });\r\n }\r\n\r\n state.getRecipesByCategoryLoading = false;\r\n });\r\n\r\n //add recipes\r\n builder.addCase(addRecipes.pending, (state) => {\r\n state.addRecipesLoading = true;\r\n state.addRecipesError = null;\r\n });\r\n builder.addCase(addRecipes.rejected, (state, action) => {\r\n state.addRecipesLoading = false;\r\n if (typeof action.payload === \"string\") {\r\n state.addRecipesError = action.payload;\r\n }\r\n });\r\n builder.addCase(addRecipes.fulfilled, (state, acion) => {\r\n state.addRecipesLoading = false;\r\n state.addRecipesError = null;\r\n });\r\n\r\n //edit recipe (set them main or featured)\r\n builder.addCase(editRecipe.pending, (state) => {\r\n state.editRecipeLoading = true;\r\n state.editRecipeError = null;\r\n });\r\n builder.addCase(editRecipe.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.editRecipeError = action.payload;\r\n }\r\n state.editRecipeLoading = false;\r\n });\r\n builder.addCase(editRecipe.fulfilled, (state, action) => {\r\n state.editRecipeLoading = false;\r\n state.editRecipeError = null;\r\n });\r\n\r\n //delete recipe\r\n builder.addCase(deleteRecipe.pending, (state) => {\r\n state.deleteRecipeLoading = true;\r\n state.deleteRecipeError = null;\r\n });\r\n builder.addCase(deleteRecipe.rejected, (state, action) => {\r\n state.deleteRecipeLoading = false;\r\n\r\n if (typeof action.payload === \"string\") {\r\n state.deleteRecipeError = action.payload;\r\n }\r\n });\r\n builder.addCase(deleteRecipe.fulfilled, (state, action) => {\r\n state.deleteRecipeError = null;\r\n state.deleteRecipeLoading = false;\r\n });\r\n\r\n //get recipe of the week\r\n builder.addCase(getRecipeOfTheWeek.pending, (state) => {\r\n state.getRecipeOfTheWeekLoading = true;\r\n state.getRecipeOfTheWeekError = null;\r\n });\r\n builder.addCase(getRecipeOfTheWeek.rejected, (state, action) => {\r\n state.getRecipeOfTheWeekLoading = false;\r\n if (typeof action.payload === \"string\") {\r\n state.getRecipeOfTheWeekError = action.payload;\r\n }\r\n });\r\n\r\n builder.addCase(getRecipeOfTheWeek.fulfilled, (state, action) => {\r\n state.getRecipeOfTheWeekLoading = false;\r\n state.getRecipeOfTheWeekError = null;\r\n if (action.payload !== null) {\r\n const parsed = JSON.parse(action.payload.json);\r\n state.recipeOfTheWeek = {\r\n ...parsed,\r\n originalId: parsed.id,\r\n ...action.payload,\r\n };\r\n } else {\r\n state.recipeOfTheWeek = action.payload;\r\n }\r\n });\r\n\r\n //set recipe of the week\r\n builder.addCase(setRecipeOfTheWeek.pending, (state) => {\r\n state.setRecipeOfTheWeekLoading = true;\r\n state.setRecipeOfTheWeekError = null;\r\n });\r\n builder.addCase(setRecipeOfTheWeek.rejected, (state, action) => {\r\n state.setRecipeOfTheWeekLoading = false;\r\n if (typeof action.payload === \"string\") {\r\n state.setRecipeOfTheWeekError = action.payload;\r\n }\r\n });\r\n builder.addCase(setRecipeOfTheWeek.fulfilled, (state, action) => {\r\n state.setRecipeOfTheWeekLoading = false;\r\n state.setRecipeOfTheWeekError = null;\r\n const parsed = JSON.parse(action.payload.json);\r\n state.recipeOfTheWeek = {\r\n ...parsed,\r\n originalId: parsed.id,\r\n ...action.payload,\r\n };\r\n });\r\n },\r\n});\r\n\r\nexport const {\r\n showAddCategoryModal,\r\n hideAddCategoryModal,\r\n showEditCategoryModal,\r\n showAddRecipesModal,\r\n hideAddRecipesModal,\r\n hideEditCategoryModal,\r\n showDeleteCategoryModal,\r\n hideDeleteCategoryModal,\r\n // clearCategoryState,\r\n} = recipesSlice.actions;\r\n","import { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { apiClient } from \"../../ApiClient\";\r\nimport { RootState } from \"../../App\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\nimport { Retailer } from \"../retailers/models\";\r\nimport { EmailStatistic } from \"./models\";\r\n\r\nexport const getQuota = createAsyncThunk(\r\n \"emails/getQuota\",\r\n async (\r\n _,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const response = await apiClient.get(\r\n \"/api/SentEmails/Quota\",\r\n createAuthConfig()\r\n );\r\n\r\n return response.data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting circulars\");\r\n }\r\n }\r\n);\r\n\r\nexport const getEmailsReport = createAsyncThunk(\r\n \"emails/getRetailerEmailsReport\",\r\n async (\r\n _,\r\n thunkAPI\r\n ): Promise<\r\n Array | ReturnType\r\n > => {\r\n const retailer = getRetailerFromStore(thunkAPI.getState()) as Retailer;\r\n\r\n const dateInterval = (thunkAPI.getState() as RootState).emails.dateInterval;\r\n try {\r\n if (retailer) {\r\n const response = await apiClient.post(\r\n \"/api/SentEmails/GetCountByRetailer\",\r\n { ...dateInterval, retailer },\r\n createAuthConfig()\r\n );\r\n return [{ retailer, count: response.data.count }];\r\n } else {\r\n const response = await apiClient.post(\r\n \"/api/SentEmails/CountTotalRetailers\",\r\n dateInterval,\r\n createAuthConfig()\r\n );\r\n return response.data;\r\n }\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting circulars\");\r\n }\r\n }\r\n);\r\n\r\nconst getRetailerFromStore = (Store: any) => {\r\n return (Store as RootState).currentRetailer.currentRetailer;\r\n};\r\n","import { createSlice } from \"@reduxjs/toolkit\";\r\nimport { getQuota, getEmailsReport } from \"./api\";\r\nimport { DateInterval, EmailsSliceInterface, EmailStatistic } from \"./models\";\r\nimport moment from \"moment\";\r\n\r\nconst initialState: EmailsSliceInterface = {\r\n emailsStatistics: [],\r\n quota: null,\r\n statusGetEmailsReport: { progress: \"\" },\r\n statusGetQuota: { progress: \"\" },\r\n dateInterval: {\r\n from: moment.utc().subtract(1, \"month\").format().toString(),\r\n until: moment.utc().format().toString(),\r\n },\r\n};\r\n\r\nexport const emailsSlice = createSlice({\r\n initialState,\r\n name: \"emails\",\r\n reducers: {\r\n setDateInterval: (\r\n state,\r\n action: { type: string; payload: DateInterval }\r\n ) => {\r\n state.dateInterval = action.payload;\r\n },\r\n },\r\n extraReducers: {\r\n [getQuota.fulfilled.type]: (state, action) => {\r\n state.quota = action.payload;\r\n state.statusGetQuota = { progress: \"success\" };\r\n },\r\n [getQuota.rejected.type]: (\r\n state,\r\n action: { type: string; payload: string }\r\n ) => {\r\n state.statusGetQuota = { progress: \"error\", message: action.payload };\r\n },\r\n\r\n [getQuota.pending.type]: (state) => {\r\n state.statusGetQuota = { progress: \"loading\" };\r\n },\r\n [getEmailsReport.pending.type]: (state) => {\r\n state.statusGetEmailsReport = { progress: \"loading\" };\r\n state.emailsStatistics = [];\r\n },\r\n\r\n [getEmailsReport.rejected.type]: (\r\n state,\r\n action: { type: string; payload: string }\r\n ) => {\r\n state.statusGetEmailsReport = {\r\n progress: \"error\",\r\n message: action.payload,\r\n };\r\n },\r\n\r\n [getEmailsReport.fulfilled.type]: (\r\n state,\r\n action: { type: string; payload: Array }\r\n ) => {\r\n state.statusGetEmailsReport = { progress: \"success\" };\r\n state.emailsStatistics = action.payload;\r\n },\r\n },\r\n});\r\n","import { Connection, ConnectionWithoutId } from \"./models\";\r\nimport { apiClient, epicApiClient } from \"../../ApiClient\";\r\nimport { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\n\r\ninterface MyData {\r\n connection_data: [];\r\n}\r\n// Get Connections\r\nexport const getConnections = createAsyncThunk(\r\n \"/api/Connections/Get\",\r\n async (\r\n _params: { retailerId?: string },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const retailersResponse = await epicApiClient.get(\r\n `api/allconnections`,\r\n createAuthConfig()\r\n );\r\n const x: Connection[] = retailersResponse.data[\"connection_data\"];\r\n return x as Connection[];\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting connections\");\r\n }\r\n }\r\n);\r\n\r\n// Add Connection\r\nexport const addConnection = createAsyncThunk(\r\n \"/api/Connections/Add\",\r\n async (\r\n _params: {\r\n SaveAsTemplate: String;\r\n RunOnce: String;\r\n },\r\n // params: ConnectionWithoutId,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const queryParameters = [];\r\n if (_params.SaveAsTemplate) {\r\n queryParameters.push(`SaveAsTemplate`);\r\n }\r\n if (_params.RunOnce) {\r\n queryParameters.push(`RunOnce`);\r\n }\r\n const retailerResponse = await apiClient.post<{\r\n message: string;\r\n connection_data: Connection;\r\n }>(`api/addconnection${queryParameters}`, createAuthConfig());\r\n return retailerResponse.data.connection_data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\r\n `Error adding connection ${e?.response?.data?.error} ${e?.response?.data?.message}`\r\n );\r\n }\r\n }\r\n);\r\n\r\n// Edit Connection\r\nexport const editConnection = createAsyncThunk(\r\n \"/api/Connection/Edit\",\r\n async (\r\n params: Connection,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const retailerResponse = await epicApiClient.post<{\r\n message: string;\r\n Connection: Connection;\r\n }>(`api/editconnection`, params, createAuthConfig());\r\n return retailerResponse.data.Connection;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\r\n `Error editing connection ${e?.response?.data?.error} ${e?.response?.data?.message}`\r\n );\r\n }\r\n }\r\n);\r\n\r\n//Delete Connection\r\nexport const deleteConnection = createAsyncThunk(\r\n \"/api/Connections/Delete\",\r\n async (\r\n params: Partial,\r\n thunkAPI\r\n ): Promise<\r\n string | undefined | ReturnType\r\n > => {\r\n try {\r\n const response = await epicApiClient.post<{\r\n message: string;\r\n [\"Status code\"]: number;\r\n }>(`api/deleteconnection/${params.id}`, {}, createAuthConfig());\r\n return params.id;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\r\n `Error deleting connection ${e?.response?.data?.error} ${e?.response?.data?.message}`\r\n );\r\n }\r\n }\r\n);\r\n\r\n//schedule now\r\nexport const scheduleNowConnection = createAsyncThunk(\r\n \"/api/Connections/scheduleNow\",\r\n async (\r\n params: Connection,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const response = await epicApiClient.post<{\r\n message: string;\r\n connection_data: Connection;\r\n }>(`api/scheduleconnection`, params, createAuthConfig());\r\n return response.data.connection_data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\r\n `Error scheduling connection${e?.response?.data?.error} ${e?.response?.data?.message}`\r\n );\r\n }\r\n }\r\n);\r\n\r\n//run now\r\nexport const runNowConnection = createAsyncThunk(\r\n \"/api/Connections/runNow\",\r\n async (\r\n params: Connection,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const response = await epicApiClient.post<{\r\n message: string;\r\n connection_data: Connection;\r\n }>(`api/addconnection`, params, createAuthConfig());\r\n console.log(response);\r\n\r\n return response.data.connection_data;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\r\n `Error Run Now Connection ${e?.response?.data?.error} ${e?.response?.data?.message}`\r\n );\r\n }\r\n }\r\n);\r\n\r\n// Edit Schedule Now Connection\r\n// export const editScheduleNowConnection = createAsyncThunk(\r\n// \"/api/Connection/EditScheduleNow\",\r\n// async (\r\n// params: Connection,\r\n// thunkAPI\r\n// ): Promise> => {\r\n// try {\r\n// const retailerResponse = await epicApiClient.post<{\r\n// message: string;\r\n// Connection: Connection;\r\n// }>(`api/editscheduleconnection`, params, createAuthConfig());\r\n// return retailerResponse.data.Connection;\r\n// } catch (e) {\r\n// if (e.response && e.response.data && e.response.data.status === 400) {\r\n// return thunkAPI.rejectWithValue(\r\n// [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n// );\r\n// }\r\n// return thunkAPI.rejectWithValue(\r\n// `Error editing connection ${e?.response?.data?.error} ${e?.response?.data?.message}`\r\n// );\r\n// }\r\n// }\r\n// );\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { getConnections, addConnection, editConnection, deleteConnection, runNowConnection, scheduleNowConnection } from \"./api\";\r\nimport { Connection } from \"./models\";\r\n\r\nexport type ConnectionState = {\r\n all: Connection[];\r\n currentConnection?: Connection;\r\n loading: boolean;\r\n error: string | null;\r\n showAddModal: boolean;\r\n addConnectionLoading: boolean;\r\n addConnectionError: string | null;\r\n showEditModal: string | null;\r\n showSubmitModal: string | null;\r\n editConnectionLoading: boolean;\r\n editConnectionError: string | null;\r\n showDeleteModal: string | null;\r\n showViewModal: string | null;\r\n viewConnectionError: string | null;\r\n deleteConnectionLoading: boolean;\r\n deleteConnectionError: string | null;\r\n runNowConnectionLoading: boolean;\r\n runNowConnectionError: string | null;\r\n scheduleNowConnectionLoading: boolean;\r\n scheduleNowConnectionError: string | null;\r\n addSuccess: boolean;\r\n addError: boolean;\r\n editSuccess: boolean;\r\n editError: boolean;\r\n deleteSuccess: boolean;\r\n deleteError: boolean;\r\n scheduleSucces: boolean;\r\n scheduleError: boolean;\r\n};\r\n\r\nconst initialState: ConnectionState = {\r\n all: [],\r\n currentConnection: undefined,\r\n loading: false,\r\n error: null,\r\n addConnectionError: null,\r\n showAddModal: false,\r\n showViewModal: null,\r\n addConnectionLoading: false,\r\n showEditModal: null,\r\n showSubmitModal: null,\r\n editConnectionLoading: false,\r\n editConnectionError: null,\r\n showDeleteModal: null,\r\n deleteConnectionLoading: false,\r\n deleteConnectionError: null,\r\n viewConnectionError: null,\r\n runNowConnectionLoading: false,\r\n runNowConnectionError: null,\r\n scheduleNowConnectionLoading: false,\r\n scheduleNowConnectionError: null,\r\n addSuccess: false,\r\n addError: false,\r\n editSuccess: false,\r\n editError: false,\r\n deleteSuccess: false,\r\n deleteError: false,\r\n scheduleSucces: false,\r\n scheduleError: false\r\n};\r\n\r\nexport const connectionsSlice = createSlice({\r\n name: \"connections\",\r\n initialState,\r\n reducers: {\r\n setCurrentConnection: (state, action: PayloadAction) => {\r\n state.currentConnection = action.payload;\r\n state.editConnectionError = null;\r\n },\r\n showAddConnectionModal: (state) => {\r\n state.showAddModal = true;\r\n },\r\n hideAddConnectionModal: (state) => {\r\n state.showAddModal = false;\r\n state.addConnectionError = null;\r\n },\r\n showEditConnectionModal: (state, action) => {\r\n state.showEditModal = action.payload;\r\n },\r\n showSubmitConnectionModal: (state, action) => {\r\n state.showSubmitModal = action.payload;\r\n },\r\n hideSubmitConnectionModal: (state, action) => {\r\n state.showSubmitModal = action.payload;\r\n },\r\n hideEditConnectionModal: (state) => {\r\n state.showEditModal = null;\r\n state.editConnectionError = null;\r\n },\r\n showViewConnectionModal: (state, action) => {\r\n state.showViewModal = action.payload;\r\n },\r\n hideViewConnectionModal: (state) => {\r\n state.showViewModal = null;\r\n state.viewConnectionError = null;\r\n },\r\n showDeleteConnectionModal: (state, action) => {\r\n state.showDeleteModal = action.payload;\r\n },\r\n hideDeleteConnectionsModal: (state) => {\r\n state.showDeleteModal = null;\r\n state.deleteConnectionError = null;\r\n },\r\n clearConnectionStatus: (state) => {\r\n state.addSuccess = false;\r\n state.addError = false;\r\n state.editSuccess = false;\r\n state.editError = false;\r\n state.deleteSuccess = false;\r\n state.deleteError = false;\r\n state.scheduleSucces = false;\r\n state.scheduleError = false;\r\n }\r\n },\r\n extraReducers: (builder) => {\r\n /* get connections */\r\n builder.addCase(getConnections.pending, (state) => {\r\n state.loading = true;\r\n });\r\n builder.addCase(getConnections.fulfilled, (state, action) => {\r\n state.all = action.payload;\r\n state.loading = false;\r\n state.editConnectionError = null;\r\n state.error = null;\r\n });\r\n builder.addCase(getConnections.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.error = action.payload;\r\n }\r\n });\r\n\r\n /* add connection */\r\n builder.addCase(addConnection.pending, (state) => {\r\n state.addConnectionLoading = true;\r\n state.addConnectionError = null;\r\n state.addSuccess = false;\r\n state.addError = false;\r\n });\r\n builder.addCase(addConnection.fulfilled, (state, action) => {\r\n state.all = [...state.all, action.payload];\r\n state.addConnectionLoading = false;\r\n state.addConnectionError = null;\r\n state.showAddModal = false;\r\n state.addSuccess = true;\r\n state.addError = false;\r\n });\r\n builder.addCase(addConnection.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.addConnectionError = action.payload;\r\n state.addConnectionLoading = false;\r\n state.addSuccess = false;\r\n state.addError = true;\r\n }\r\n });\r\n\r\n /* edit connection */\r\n builder.addCase(editConnection.pending, (state) => {\r\n state.editConnectionLoading = true;\r\n state.editConnectionError = null;\r\n state.editSuccess = false;\r\n state.editError = false;\r\n });\r\n builder.addCase(editConnection.fulfilled, (state, action) => {\r\n state.editConnectionLoading = false;\r\n state.editConnectionError = null;\r\n state.showEditModal = null;\r\n state.editSuccess = true;\r\n state.editError = false;\r\n\r\n state.all = state.all.map((item) => {\r\n return item;\r\n // return item.id === action.payload.id ? action.payload : item\r\n });\r\n });\r\n builder.addCase(editConnection.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.editConnectionError = action.payload;\r\n state.editConnectionLoading = false;\r\n state.editSuccess = false;\r\n state.editError = true;\r\n }\r\n });\r\n\r\n /* delete connection */\r\n builder.addCase(deleteConnection.pending, (state) => {\r\n state.deleteConnectionLoading = true;\r\n state.deleteConnectionError = null;\r\n state.deleteSuccess = false;\r\n state.deleteError = false;\r\n });\r\n builder.addCase(deleteConnection.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.deleteConnectionError = action.payload;\r\n state.deleteConnectionLoading = false;\r\n state.deleteSuccess = false;\r\n state.deleteError = true;\r\n }\r\n });\r\n builder.addCase(deleteConnection.fulfilled, (state, action) => {\r\n state.all = state.all.filter((item) => item.id !== action.payload);\r\n state.deleteConnectionLoading = false;\r\n state.showDeleteModal = null;\r\n state.deleteConnectionError = null;\r\n state.deleteSuccess = true;\r\n state.deleteError = false;\r\n });\r\n\r\n /* run Now connection */\r\n builder.addCase(runNowConnection.pending, (state) => {\r\n state.runNowConnectionLoading = true;\r\n state.runNowConnectionError = null;\r\n state.addSuccess = false;\r\n state.addError = false;\r\n });\r\n builder.addCase(runNowConnection.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.runNowConnectionError = action.payload;\r\n state.runNowConnectionLoading = false;\r\n state.addSuccess = false;\r\n state.addError = true;\r\n }\r\n });\r\n builder.addCase(runNowConnection.fulfilled, (state, action) => {\r\n state.all = [...state.all, action.payload];\r\n state.runNowConnectionLoading = false;\r\n state.addConnectionError = null;\r\n state.showAddModal = false;\r\n state.addSuccess = true;\r\n state.addError = false;\r\n });\r\n\r\n /* run Now connection */\r\n builder.addCase(scheduleNowConnection.pending, (state) => {\r\n state.scheduleNowConnectionLoading = true;\r\n state.scheduleNowConnectionError = null;\r\n state.scheduleSucces = false;\r\n state.scheduleError = false;\r\n });\r\n builder.addCase(scheduleNowConnection.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.scheduleNowConnectionError = action.payload;\r\n state.scheduleNowConnectionLoading = false;\r\n state.scheduleSucces = false;\r\n state.scheduleError = true;\r\n }\r\n });\r\n builder.addCase(scheduleNowConnection.fulfilled, (state, action) => {\r\n // state.all = state.all.filter((item) => item.id !== action.payload.id);\r\n state.all = [...state.all, action.payload];\r\n state.showAddModal = false;\r\n state.scheduleNowConnectionLoading = false;\r\n // state.showDeleteModal = null;\r\n state.scheduleNowConnectionError = null;\r\n state.scheduleSucces = true;\r\n state.scheduleError = false;\r\n });\r\n },\r\n});\r\n\r\nexport const {\r\n showAddConnectionModal,\r\n hideAddConnectionModal,\r\n showEditConnectionModal,\r\n showSubmitConnectionModal,\r\n hideSubmitConnectionModal,\r\n hideEditConnectionModal,\r\n showDeleteConnectionModal,\r\n hideDeleteConnectionsModal,\r\n showViewConnectionModal,\r\n hideViewConnectionModal,\r\n clearConnectionStatus\r\n} = connectionsSlice.actions;\r\n","import { Service, ServiceWithoutId } from \"./models\";\r\nimport { epicApiClient } from \"../../ApiClient\";\r\nimport { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\nimport { Subservice } from \"../subservices/models\";\r\n\r\ninterface MyData {\r\n \"service\": []\r\n}\r\n// Get Services\r\nexport const getServices = createAsyncThunk(\r\n \"api/allservices\",\r\n async (\r\n _params: { retailerId?: string },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const servicesResponse = await epicApiClient.get(\r\n `api/allservices`,\r\n createAuthConfig()\r\n );\r\n const x: Service[] = servicesResponse.data[\"service\"]\r\n return x as Service[];\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error while getting Services list ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n// Add Service\r\nexport const addService = createAsyncThunk(\r\n \"api/addservice\",\r\n async (\r\n params: ServiceWithoutId,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const serviceResponse = await epicApiClient.post<{ message: string, service: Service }>(\r\n \"api/addservice\",\r\n params,\r\n createAuthConfig()\r\n );\r\n return serviceResponse.data.service;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error while adding service \\ ${e?.response?.data?.error} ${e?.response?.data?.message} `);\r\n }\r\n }\r\n);\r\n// Edit Service\r\nexport const editService = createAsyncThunk(\r\n \"/api/editservice\",\r\n async (\r\n params: Service,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const serviceResponse = await epicApiClient.post<{ message: string, service: Service }>(\r\n `/api/editservice`,\r\n params,\r\n createAuthConfig()\r\n );\r\n return serviceResponse.data.service;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error while editing Service ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n// Delete Service\r\n// export const deleteService = createAsyncThunk(\r\n// \"/api/deleteservice\",\r\n// async (\r\n// params: Partial,\r\n// thunkAPI\r\n// ): Promise> => {\r\n// try {\r\n// const response = await epicApiClient.post<{ message: string, statusCode: number }>(\r\n// `api/deleteservice/${params.id}`,\r\n// {},\r\n// createAuthConfig()\r\n// );\r\n// if (response.data.statusCode == 200) {\r\n// return params.id;\r\n// }\r\n// else {\r\n// return thunkAPI.rejectWithValue(response.data.message);\r\n// }\r\n// } catch (e) {\r\n// console.log(e);\r\n \r\n// if (e.response && e.response.data && e.response.data.status === 400) {\r\n// return thunkAPI.rejectWithValue(\r\n// [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n// );\r\n// }\r\n// return thunkAPI.rejectWithValue(`Error deleting Service ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n// }\r\n// }\r\n// );\r\nexport const deleteService = createAsyncThunk(\r\n \"/api/deleteservice\",\r\n async (\r\n params: Partial,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const response = await epicApiClient.post<{ message: string, statusCode: number }>(\r\n `api/deleteservice/${params.id}`,\r\n {},\r\n createAuthConfig()\r\n );\r\n if (response.data.statusCode == 200) {\r\n return params.id;\r\n }\r\n else {\r\n return thunkAPI.rejectWithValue(response.data.message);\r\n }\r\n } catch (e) {\r\n console.log(e);\r\n\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error deleting Service ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n\r\n// Get Subservice Of Service\r\nexport const getSubserviceOfService = createAsyncThunk(\r\n \"/api/Connections/Get\",\r\n async (\r\n _params: { serviceID?: string },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const servicesResponse = await epicApiClient.get<{ message: string, Subservice: Subservice[] }>(\r\n `api/getsubservicedetail/${_params.serviceID}`,\r\n createAuthConfig()\r\n );\r\n return servicesResponse.data.Subservice;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error getting Subservices ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n\r\nexport const getServiceByRetailerId = createAsyncThunk(\r\n \"api/GetRetailerdetail\",\r\n async (\r\n _params: { retailerId?: string },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const servicesResponse = await epicApiClient.get(\r\n `api/GetRetailerdetail/${_params.retailerId}`\r\n );\r\n const x: Service[] = servicesResponse.data[\"service\"]\r\n return x as Service[];\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error while getting Services list ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { getServices, addService, editService, deleteService, getSubserviceOfService, getServiceByRetailerId } from \"./api\";\r\nimport { Service } from \"./models\";\r\nimport { Subservice } from \"../subservices/models\";\r\n\r\nexport type ServiceState = {\r\n all: Service[];\r\n retailerService: Service[],\r\n subserviceList: Subservice[];\r\n currentService?: Service;\r\n loading: boolean;\r\n error: string | null;\r\n showAddModal: boolean;\r\n showSubserviceOfServiceModal: boolean;\r\n addServiceLoading: boolean;\r\n addServiceError: string | null;\r\n addSubserviceError: string | null;\r\n showSubserviceOfServiceModalError: string | null;\r\n addSubserviceLoading: boolean;\r\n showSubserviceOfServiceModalLoading: boolean;\r\n showEditModal: string | null;\r\n editServiceLoading: boolean;\r\n editServiceError: string | null;\r\n showDeleteModal: string | null;\r\n showViewModal: string | null;\r\n viewServiceError: string | null;\r\n deleteServiceLoading: boolean;\r\n deleteServiceError: string | null;\r\n addSuccess: boolean;\r\n addError: boolean;\r\n editSuccess: boolean;\r\n editError: boolean;\r\n deleteSuccess: boolean;\r\n deleteError: boolean;\r\n\r\n processDeleteStatus : boolean;\r\n processDeleteMessage : string;\r\n};\r\n\r\nconst initialState: ServiceState = {\r\n all: [],\r\n retailerService: [],\r\n subserviceList: [],\r\n currentService: undefined,\r\n loading: false,\r\n error: null,\r\n addServiceError: null,\r\n addSubserviceError: null,\r\n showSubserviceOfServiceModalError: null,\r\n showAddModal: false,\r\n showSubserviceOfServiceModal: false,\r\n showViewModal: null,\r\n addServiceLoading: false,\r\n addSubserviceLoading: false,\r\n showSubserviceOfServiceModalLoading: false,\r\n showEditModal: null,\r\n editServiceLoading: false,\r\n editServiceError: null,\r\n showDeleteModal: null,\r\n deleteServiceLoading: false,\r\n deleteServiceError: null,\r\n viewServiceError: null,\r\n addSuccess: false,\r\n addError: false,\r\n editSuccess: false,\r\n editError: false,\r\n deleteSuccess: false,\r\n deleteError: false,\r\n processDeleteStatus : false,\r\n processDeleteMessage : \"\"\r\n};\r\n\r\nexport const servicesSlice = createSlice({\r\n name: \"services\",\r\n initialState,\r\n reducers: {\r\n setCurrentService: (state, action: PayloadAction) => {\r\n state.currentService = action.payload;\r\n state.editServiceError = null;\r\n },\r\n showAddServiceModal: (state) => {\r\n state.showAddModal = true;\r\n },\r\n showSubserviceOfServiceModal: (state, action) => {\r\n state.showSubserviceOfServiceModal = action.payload;\r\n },\r\n hideAddServiceModal: (state) => {\r\n state.showAddModal = false;\r\n state.addServiceError = null;\r\n },\r\n hideSubserviceOfServiceModal: (state) => {\r\n state.showSubserviceOfServiceModal = false;\r\n state.showSubserviceOfServiceModalError = null;\r\n },\r\n showEditServicesModal: (state, action) => {\r\n state.showEditModal = action.payload;\r\n },\r\n hideEditServiceModal: (state) => {\r\n state.showEditModal = null;\r\n state.editServiceError = null;\r\n },\r\n showViewServicesModal: (state, action) => {\r\n state.showViewModal = action.payload;\r\n },\r\n hideViewServiceModal: (state) => {\r\n state.showViewModal = null;\r\n state.viewServiceError = null;\r\n },\r\n showDeleteServicesModal: (state, action) => {\r\n state.showDeleteModal = action.payload;\r\n },\r\n hideDeleteServicesModal: (state) => {\r\n state.showDeleteModal = null;\r\n state.deleteServiceError = null;\r\n },\r\n resetRetailerService: (state) => {\r\n state.retailerService = []\r\n },\r\n clearServiceStatus: (state) => {\r\n state.addSuccess = false;\r\n state.addError = false;\r\n state.editSuccess = false;\r\n state.editError = false;\r\n state.deleteSuccess = false;\r\n state.deleteError = false;\r\n },\r\n processDelete : (state,action)=>{\r\n state.processDeleteMessage = action.payload.message;\r\n state.processDeleteStatus = action.payload.status;\r\n }\r\n },\r\n extraReducers: (builder) => {\r\n /* get retailers */\r\n builder.addCase(getServices.pending, (state) => {\r\n state.loading = true;\r\n });\r\n builder.addCase(getServices.fulfilled, (state, action) => {\r\n state.all = action.payload.sort((a, b) => {\r\n let fa = a.name.toLowerCase(),\r\n fb = b.name.toLowerCase();\r\n if (fa < fb) {\r\n return -1;\r\n }\r\n if (fa > fb) {\r\n return 1;\r\n }\r\n return 0;\r\n });\r\n state.loading = false;\r\n state.editServiceError = null;\r\n state.error = null;\r\n });\r\n builder.addCase(getServices.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.error = action.payload;\r\n }\r\n });\r\n\r\n /* add services*/\r\n builder.addCase(addService.pending, (state) => {\r\n state.addServiceLoading = true;\r\n state.addServiceError = null;\r\n state.addSuccess = false;\r\n state.addError = false;\r\n });\r\n builder.addCase(addService.fulfilled, (state, action) => {\r\n state.all = [...state.all, action.payload];\r\n state.addServiceLoading = false;\r\n state.addServiceError = null;\r\n state.showAddModal = false;\r\n state.addSuccess = true;\r\n state.addError = false;\r\n });\r\n builder.addCase(addService.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.addServiceError = action.payload;\r\n state.addServiceLoading = false;\r\n state.addSuccess = false;\r\n state.addError = true;\r\n }\r\n });\r\n\r\n /* edit retailer*/\r\n builder.addCase(editService.pending, (state) => {\r\n state.editServiceLoading = true;\r\n state.editServiceError = null;\r\n state.editSuccess = false;\r\n state.editError = false;\r\n });\r\n builder.addCase(editService.fulfilled, (state, action) => {\r\n // state.all = [...state.all, action.payload];\r\n state.all = state.all.map((item) =>\r\n item.id === action.payload.id ? action.payload : item\r\n );\r\n state.editServiceLoading = false;\r\n state.editServiceError = null;\r\n state.showEditModal = null;\r\n state.editSuccess = true;\r\n state.editError = false;\r\n });\r\n builder.addCase(editService.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.editServiceError = action.payload;\r\n state.editServiceLoading = false;\r\n state.editSuccess = false;\r\n state.editError = true;\r\n }\r\n });\r\n\r\n /* delete service*/\r\n builder.addCase(deleteService.pending, (state) => {\r\n state.deleteServiceLoading = true;\r\n state.deleteServiceError = null;\r\n state.deleteSuccess = false;\r\n state.deleteError = false;\r\n });\r\n builder.addCase(deleteService.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.deleteServiceError = action.payload;\r\n state.deleteServiceLoading = false;\r\n state.deleteSuccess = false;\r\n state.deleteError = true;\r\n }\r\n });\r\n builder.addCase(deleteService.fulfilled, (state, action) => {\r\n state.all = state.all.filter((item) => item.id !== action.payload);\r\n \r\n state.deleteServiceLoading = false;\r\n state.showDeleteModal = null;\r\n state.deleteServiceError = null;\r\n state.deleteSuccess = true;\r\n state.deleteError = false;\r\n });\r\n /* getSubserviceOfService*/\r\n builder.addCase(getSubserviceOfService.pending, (state) => {\r\n state.loading = true;\r\n });\r\n builder.addCase(getSubserviceOfService.fulfilled, (state, action) => {\r\n state.subserviceList = action.payload;\r\n state.loading = false;\r\n state.editServiceError = null;\r\n state.error = null;\r\n });\r\n\r\n\r\n builder.addCase(getSubserviceOfService.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.error = action.payload;\r\n }\r\n });\r\n\r\n builder.addCase(getServiceByRetailerId.pending, (state, action) => {\r\n });\r\n\r\n builder.addCase(getServiceByRetailerId.fulfilled, (state, action) => {\r\n state.retailerService = action.payload.sort((a, b) => {\r\n let fa = a.name.toLowerCase(),\r\n fb = b.name.toLowerCase();\r\n if (fa < fb) {\r\n return -1;\r\n }\r\n if (fa > fb) {\r\n return 1;\r\n }\r\n return 0;\r\n });\r\n });\r\n\r\n builder.addCase(getServiceByRetailerId.rejected, (state, action) => {\r\n console.log(\"Payload Rejected : \", action.payload);\r\n });\r\n\r\n },\r\n});\r\n\r\nexport const {\r\n showAddServiceModal,\r\n hideAddServiceModal,\r\n showEditServicesModal,\r\n hideEditServiceModal,\r\n showDeleteServicesModal,\r\n hideDeleteServicesModal,\r\n showViewServicesModal,\r\n hideViewServiceModal,\r\n hideSubserviceOfServiceModal,\r\n showSubserviceOfServiceModal,\r\n resetRetailerService,\r\n clearServiceStatus,\r\n processDelete\r\n} = servicesSlice.actions;\r\n","import { Properties, PropertiesWithoutId } from \"./models\";\r\nimport { epicApiClient } from \"../../ApiClient\";\r\nimport { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\n\r\ninterface MyData {\r\n \"property\": []\r\n}\r\n// Get Properties\r\nexport const getProperties = createAsyncThunk(\r\n \"/api/allproperties\",\r\n async (\r\n _params: { retailerId?: string },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const propertyResponse = await epicApiClient.get(\r\n // `api/Retailers?retailerId=${_params.retailerId ? _params.retailerId : \"\"\r\n // }`,\r\n `api/allproperties`,\r\n createAuthConfig()\r\n );\r\n const x: Properties[] = propertyResponse.data[\"property\"];\r\n return x as Properties[];\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error getting properties ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n\r\n// Add Property\r\nexport const addProperty = createAsyncThunk(\r\n \"/api/addproperty\",\r\n async (\r\n params: PropertiesWithoutId,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const propertyResponse = await epicApiClient.post<{ message: string, Property: Properties }>(\r\n \"api/addproperty\",\r\n params,\r\n createAuthConfig()\r\n );\r\n return propertyResponse.data.Property;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error adding properties ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n\r\n// Edit Property\r\nexport const editProperty = createAsyncThunk(\r\n \"/api/editproperty\",\r\n async (\r\n params: Properties,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const retailerResponse = await epicApiClient.post<{ message: string, Property: Properties }>(\r\n `api/editproperty`,\r\n params,\r\n createAuthConfig()\r\n );\r\n return retailerResponse.data.Property;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error editing property ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n\r\n// Delete Property\r\nexport const deleteProperty = createAsyncThunk(\r\n \"/api/deleteproperty\",\r\n async (\r\n params: Partial,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const response = await epicApiClient.post<{ message: string, [\"Status code\"]: number }>(\r\n `api/deleteproperty/${params.id}`,\r\n {},\r\n createAuthConfig()\r\n );\r\n\r\n return params.id;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error deleting property ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n\r\n\r\nexport const getPropertiesBySubServiceId = createAsyncThunk(\r\n \"/api/getPropertiesBySubServiceId\",\r\n async (\r\n _params: { subserviceID?: number },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const propertyResponse = await epicApiClient.get(\r\n // `api/Retailers?retailerId=${_params.retailerId ? _params.retailerId : \"\"\r\n // }`,\r\n `api/GetPropertiesDetail/${_params.subserviceID}`,\r\n createAuthConfig()\r\n );\r\n const x: Properties[] = propertyResponse.data[\"property\"];\r\n return x as Properties[];\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error getting properties ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n\r\n/*export const getPropertiesByRetailerId = createAsyncThunk(\r\n \"/api/getPropertiesByRetailerId\",\r\n async (\r\n _params: { retailerID?: number },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const propertyResponse = await epicApiClient.get(\r\n // `api/Retailers?retailerId=${_params.retailerId ? _params.retailerId : \"\"\r\n // }`,\r\n `api/GetPropertiesDetail/${_params.retailerID}`,\r\n createAuthConfig()\r\n );\r\n const x: Properties[] = propertyResponse.data[\"property\"];\r\n return x as Properties[];\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error getting properties ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);*/\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { getProperties, addProperty, editProperty, deleteProperty, getPropertiesBySubServiceId } from \"./api\";\r\nimport { Properties } from \"./models\";\r\n\r\nexport type PropertyState = {\r\n all: Properties[];\r\n propertyBySubService: Properties[],\r\n currentProperty?: Properties;\r\n loading: boolean;\r\n error: string | null;\r\n showAddModal: boolean;\r\n addPropertyLoading: boolean;\r\n addPropertyError: string | null;\r\n showEditModal: string | null;\r\n editPropertyLoading: boolean;\r\n editPropertyError: string | null;\r\n showDeleteModal: string | null;\r\n showViewModal: string | null;\r\n viewPropertyError: string | null;\r\n deletePropertyLoading: boolean;\r\n deletePropertyError: string | null;\r\n addSuccess: boolean;\r\n addError: boolean;\r\n editSuccess: boolean;\r\n editError: boolean;\r\n deleteSuccess: boolean;\r\n deleteError: boolean;\r\n};\r\n\r\nconst initialState: PropertyState = {\r\n all: [],\r\n propertyBySubService: [],\r\n currentProperty: undefined,\r\n loading: false,\r\n error: null,\r\n addPropertyError: null,\r\n showAddModal: false,\r\n showViewModal: null,\r\n addPropertyLoading: false,\r\n showEditModal: null,\r\n editPropertyLoading: false,\r\n editPropertyError: null,\r\n showDeleteModal: null,\r\n deletePropertyLoading: false,\r\n deletePropertyError: null,\r\n viewPropertyError: null,\r\n addSuccess: false,\r\n addError: false,\r\n editSuccess: false,\r\n editError: false,\r\n deleteSuccess: false,\r\n deleteError: false,\r\n};\r\n\r\nexport const propertiesSlice = createSlice({\r\n name: \"properties\",\r\n initialState,\r\n reducers: {\r\n setCurrentProperty: (state, action: PayloadAction) => {\r\n state.currentProperty = action.payload;\r\n state.editPropertyError = null;\r\n },\r\n showAddPropertyModal: (state) => {\r\n state.showAddModal = true;\r\n },\r\n hideAddPropertyModal: (state) => {\r\n state.showAddModal = false;\r\n state.addPropertyError = null;\r\n },\r\n showEditPropertyModal: (state, action) => {\r\n state.showEditModal = action.payload;\r\n },\r\n hideEditPropertyModal: (state) => {\r\n state.showEditModal = null;\r\n state.editPropertyError = null;\r\n },\r\n showViewPropertyModal: (state, action) => {\r\n state.showViewModal = action.payload;\r\n },\r\n hideViewPropertyModal: (state) => {\r\n state.showViewModal = null;\r\n state.viewPropertyError = null;\r\n },\r\n showDeletePropertyModal: (state, action) => {\r\n state.showDeleteModal = action.payload;\r\n },\r\n hideDeletePropertyModal: (state) => {\r\n state.showDeleteModal = null;\r\n state.deletePropertyError = null;\r\n },\r\n clearProperties: (state) => {\r\n state.propertyBySubService = [];\r\n },\r\n clearPropertiesStatus: (state) => {\r\n state.addSuccess = false;\r\n state.addError = false;\r\n state.editSuccess = false;\r\n state.editError = false;\r\n state.deleteSuccess = false;\r\n state.deleteError = false;\r\n }\r\n },\r\n extraReducers: (builder) => {\r\n /* get retailers */\r\n builder.addCase(getProperties.pending, (state) => {\r\n state.loading = true;\r\n });\r\n builder.addCase(getProperties.fulfilled, (state, action) => {\r\n let data: Properties[] = []\r\n action.payload.forEach((item) => {\r\n data.push({\r\n ...item,\r\n retailerName: item.retailerName == null ? item.nameRetailer : item.retailerName\r\n })\r\n })\r\n state.all = data;\r\n state.loading = false;\r\n state.editPropertyError = null;\r\n state.error = null;\r\n });\r\n builder.addCase(getProperties.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.error = action.payload;\r\n }\r\n });\r\n\r\n /* add retailer*/\r\n builder.addCase(addProperty.pending, (state) => {\r\n state.addPropertyLoading = true;\r\n state.addPropertyError = null;\r\n state.addSuccess = false;\r\n state.addError = false;\r\n });\r\n builder.addCase(addProperty.fulfilled, (state, action) => {\r\n state.all = [...state.all, action.payload];\r\n state.addPropertyLoading = false;\r\n state.addPropertyError = null;\r\n state.showAddModal = false;\r\n state.addSuccess = true;\r\n state.addError = false;\r\n });\r\n builder.addCase(addProperty.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.addPropertyError = action.payload;\r\n state.addPropertyLoading = false;\r\n state.addSuccess = false;\r\n state.addError = true;\r\n }\r\n });\r\n\r\n /* edit retailer*/\r\n builder.addCase(editProperty.pending, (state) => {\r\n state.editPropertyLoading = true;\r\n state.editPropertyError = null;\r\n state.editSuccess = false;\r\n state.editError = false;\r\n });\r\n builder.addCase(editProperty.fulfilled, (state, action) => {\r\n state.all = state.all.map((item) =>\r\n item?.id === action?.payload?.id ? action?.payload : item\r\n );\r\n state.editPropertyLoading = false;\r\n state.editPropertyError = null;\r\n state.showEditModal = null;\r\n state.editSuccess = true;\r\n state.editError = false;\r\n });\r\n builder.addCase(editProperty.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.editPropertyError = action.payload;\r\n state.editPropertyLoading = false;\r\n state.editSuccess = false;\r\n state.editError = false;\r\n }\r\n });\r\n\r\n /* delete retailer*/\r\n builder.addCase(deleteProperty.pending, (state) => {\r\n state.deletePropertyLoading = true;\r\n state.deletePropertyError = null;\r\n state.deleteSuccess = false;\r\n state.deleteError = false;\r\n });\r\n builder.addCase(deleteProperty.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.deletePropertyError = action.payload;\r\n state.deletePropertyLoading = false;\r\n state.deleteSuccess = false;\r\n state.deleteError = true;\r\n }\r\n });\r\n builder.addCase(deleteProperty.fulfilled, (state, action) => {\r\n state.all = state.all.filter((item) => item.id !== action.payload);\r\n state.deletePropertyLoading = false;\r\n state.showDeleteModal = null;\r\n state.deletePropertyError = null;\r\n state.deleteSuccess = true;\r\n state.deleteError = false;\r\n });\r\n\r\n /* get properties using subserviceID */\r\n builder.addCase(getPropertiesBySubServiceId.pending, (state) => {\r\n state.loading = true;\r\n });\r\n builder.addCase(getPropertiesBySubServiceId.fulfilled, (state, action) => {\r\n state.propertyBySubService = action.payload;\r\n console.log(action.payload,\"properties payload\");\r\n \r\n state.loading = false;\r\n state.editPropertyError = null;\r\n state.error = null;\r\n });\r\n builder.addCase(getPropertiesBySubServiceId.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.error = action.payload;\r\n }\r\n });\r\n },\r\n});\r\n\r\nexport const {\r\n showAddPropertyModal,\r\n hideAddPropertyModal,\r\n showEditPropertyModal,\r\n hideEditPropertyModal,\r\n showDeletePropertyModal,\r\n hideDeletePropertyModal,\r\n showViewPropertyModal,\r\n hideViewPropertyModal,\r\n clearProperties,\r\n clearPropertiesStatus\r\n} = propertiesSlice.actions;\r\n","import { Subservice, SubserviceWithoutId } from \"./models\";\r\nimport { epicApiClient } from \"../../ApiClient\";\r\nimport { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\n\r\ninterface MyData {\r\n \"subservice\": []\r\n}\r\n// get subservices\r\nexport const getSubservices = createAsyncThunk(\r\n \"/api/allsubservices\",\r\n async (\r\n _params: { retailerId?: string },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const subservicesResponse = await epicApiClient.get(\r\n `api/allsubservices`,\r\n createAuthConfig()\r\n );\r\n const x: Subservice[] = subservicesResponse.data[\"subservice\"];\r\n return x as Subservice[];\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error getting subservices ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n// add subservice\r\nexport const addSubservice = createAsyncThunk(\r\n \"/api/addsubservice\",\r\n async (\r\n params: SubserviceWithoutId,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const retailerResponse = await epicApiClient.post<{ message: string, Subservice: Subservice }>(\r\n \"api/addsubservice\",\r\n params,\r\n createAuthConfig()\r\n );\r\n\r\n return retailerResponse.data.Subservice;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error while adding subservice ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n// edit subservice\r\nexport const editSubservice = createAsyncThunk(\r\n \"/api/editsubservice\",\r\n async (\r\n params: Subservice,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const retailerResponse = await epicApiClient.post<{ message: string, Subservice: Subservice }>(\r\n `api/editsubservice`,\r\n params,\r\n createAuthConfig()\r\n );\r\n\r\n return retailerResponse.data.Subservice;\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error while editing subservice ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n\r\n// delete subservice\r\nexport const deleteSubservice = createAsyncThunk(\r\n \"/api/deletesubservice\",\r\n async (\r\n params: Partial,\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const response = await epicApiClient.post<{ message: string, statusCode: number }>(\r\n // `api/Retailers/${params.id}`,\r\n `api/deletesubservice/${params.id}`,\r\n {},\r\n createAuthConfig()\r\n );\r\n if (response.data.statusCode == 200) {\r\n\r\n return params.id;\r\n }\r\n else{\r\n return thunkAPI.rejectWithValue(response.data.message);\r\n }\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error while deleting subservice ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n\r\n//getsubservice by service id\r\nexport const getSubservicesByServiceId = createAsyncThunk(\r\n \"api/getsubservicedetail\",\r\n async (\r\n _params: { serviceId?: number },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const subservicesResponse = await epicApiClient.get(\r\n `api/getsubservicedetail/${_params.serviceId}`,\r\n createAuthConfig()\r\n );\r\n const x: Subservice[] = subservicesResponse.data[\"subservice\"];\r\n return x as Subservice[];\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(`Error getting subservices ${e?.response?.data?.error} ${e?.response?.data?.message}`);\r\n }\r\n }\r\n);\r\n","import { createSlice, PayloadAction } from \"@reduxjs/toolkit\";\r\nimport { getSubservices, addSubservice, editSubservice, deleteSubservice, getSubservicesByServiceId } from \"./api\";\r\nimport { Subservice } from \"./models\";\r\n\r\nexport type SubserviceState = {\r\n all: Subservice[];\r\n subServiceByServiceId: Subservice[],\r\n currentSubservice?: Subservice;\r\n loading: boolean;\r\n error: string | null;\r\n showAddModal: boolean;\r\n addSubserviceLoading: boolean;\r\n addSubserviceError: string | null;\r\n showEditModal: string | null;\r\n editSubserviceLoading: boolean;\r\n editSubserviceError: string | null;\r\n showDeleteModal: string | null;\r\n showViewModal: string | null;\r\n viewSubserviceError: string | null;\r\n deleteSubserviceLoading: boolean;\r\n deleteSubserviceError: string | null;\r\n addSuccess: boolean;\r\n addError: boolean;\r\n editSuccess: boolean;\r\n editError: boolean;\r\n deleteSuccess: boolean;\r\n deleteError: boolean;\r\n\r\n processDeleteStatus : boolean;\r\n processDeleteMessage : string;\r\n};\r\n\r\nconst initialState: SubserviceState = {\r\n all: [],\r\n subServiceByServiceId: [],\r\n currentSubservice: undefined,\r\n loading: false,\r\n error: null,\r\n addSubserviceError: null,\r\n showAddModal: false,\r\n showViewModal: null,\r\n addSubserviceLoading: false,\r\n showEditModal: null,\r\n editSubserviceLoading: false,\r\n editSubserviceError: null,\r\n showDeleteModal: null,\r\n deleteSubserviceLoading: false,\r\n deleteSubserviceError: null,\r\n viewSubserviceError: null,\r\n addSuccess: false,\r\n addError: false,\r\n editSuccess: false,\r\n editError: false,\r\n deleteSuccess: false,\r\n deleteError: false,\r\n\r\n processDeleteStatus : false,\r\n processDeleteMessage : \"\"\r\n};\r\n\r\nexport const subservicesSlice = createSlice({\r\n name: \"subservices\",\r\n initialState,\r\n reducers: {\r\n setCurrentSubservice: (state, action: PayloadAction) => {\r\n state.currentSubservice = action.payload;\r\n state.editSubserviceError = null;\r\n },\r\n showAddSubserviceModal: (state) => {\r\n state.showAddModal = true;\r\n },\r\n hideAddSubserviceModal: (state) => {\r\n state.showAddModal = false;\r\n state.addSubserviceError = null;\r\n },\r\n showEditSubserviceModal: (state, action) => {\r\n state.showEditModal = action.payload;\r\n },\r\n hideEditSubserviceModal: (state) => {\r\n state.showEditModal = null;\r\n state.editSubserviceError = null;\r\n },\r\n showViewSubserviceModal: (state, action) => {\r\n state.showViewModal = action.payload;\r\n },\r\n hideViewSubserviceModal: (state) => {\r\n state.showViewModal = null;\r\n state.viewSubserviceError = null;\r\n },\r\n showDeleteSubserviceModal: (state, action) => {\r\n state.showDeleteModal = action.payload;\r\n },\r\n hideDeleteSubserviceModal: (state) => {\r\n state.showDeleteModal = null;\r\n state.deleteSubserviceError = null;\r\n },\r\n\r\n clearSubservices: (state) => {\r\n state.subServiceByServiceId = [];\r\n },\r\n clearSubserviceStatus: (state) => {\r\n state.addSuccess = false;\r\n state.addError = false;\r\n state.editSuccess = false;\r\n state.editError = false;\r\n state.deleteSuccess = false;\r\n state.deleteError = false;\r\n },\r\n processDeleteSubService : (state,action)=>{\r\n state.processDeleteMessage = action.payload.message;\r\n state.processDeleteStatus = action.payload.status;\r\n }\r\n },\r\n extraReducers: (builder) => {\r\n /* get Subservices */\r\n builder.addCase(getSubservices.pending, (state) => {\r\n state.loading = true;\r\n });\r\n builder.addCase(getSubservices.fulfilled, (state, action) => {\r\n state.all = action.payload;\r\n state.loading = false;\r\n state.editSubserviceError = null;\r\n state.error = null;\r\n });\r\n builder.addCase(getSubservices.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.error = action.payload;\r\n }\r\n });\r\n\r\n /* add Subservice*/\r\n builder.addCase(addSubservice.pending, (state) => {\r\n state.addSubserviceLoading = true;\r\n state.addSubserviceError = null;\r\n state.addSuccess = false;\r\n state.addError = false;\r\n });\r\n builder.addCase(addSubservice.fulfilled, (state, action) => {\r\n state.all = [...state.all, action.payload];\r\n state.addSubserviceLoading = false;\r\n state.addSubserviceError = null;\r\n state.showAddModal = false;\r\n state.addSuccess = true;\r\n state.addError = false;\r\n });\r\n builder.addCase(addSubservice.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.addSubserviceError = action.payload;\r\n state.addSubserviceLoading = false;\r\n state.addSuccess = false;\r\n state.addError = true;\r\n }\r\n });\r\n\r\n /* edit Subservice*/\r\n builder.addCase(editSubservice.pending, (state) => {\r\n state.editSubserviceLoading = true;\r\n state.editSubserviceError = null;\r\n state.editSuccess = false;\r\n state.editError = false;\r\n });\r\n builder.addCase(editSubservice.fulfilled, (state, action) => {\r\n state.all = state.all.map((item) =>\r\n item?.id === action?.payload?.id ? action.payload : item\r\n );\r\n state.editSubserviceLoading = false;\r\n state.editSubserviceError = null;\r\n state.showEditModal = null;\r\n state.editSuccess = true;\r\n state.editError = false;\r\n });\r\n builder.addCase(editSubservice.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.editSubserviceError = action.payload;\r\n state.editSubserviceLoading = false;\r\n state.editSuccess = false;\r\n state.editError = true;\r\n }\r\n });\r\n\r\n /* delete Subservice*/\r\n builder.addCase(deleteSubservice.pending, (state) => {\r\n state.deleteSubserviceLoading = true;\r\n state.deleteSubserviceError = null;\r\n state.deleteSuccess = false;\r\n state.deleteError = false;\r\n });\r\n builder.addCase(deleteSubservice.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.deleteSubserviceError = action.payload;\r\n state.deleteSubserviceLoading = false;\r\n state.deleteSuccess = false;\r\n state.deleteError = true;\r\n\r\n }\r\n });\r\n builder.addCase(deleteSubservice.fulfilled, (state, action) => {\r\n state.all = state.all.filter((item) => item.id !== action.payload);\r\n state.deleteSubserviceLoading = false;\r\n state.showDeleteModal = null;\r\n state.deleteSubserviceError = null;\r\n state.deleteSuccess = true;\r\n state.deleteError = false;\r\n });\r\n\r\n // getsubservice by service id\r\n builder.addCase(getSubservicesByServiceId.pending, (state) => {\r\n state.loading = true;\r\n });\r\n builder.addCase(getSubservicesByServiceId.fulfilled, (state, action) => {\r\n state.subServiceByServiceId = action.payload.sort((a, b) => {\r\n let fa = a.name.toLowerCase(),\r\n fb = b.name.toLowerCase();\r\n if (fa < fb) {\r\n return -1;\r\n }\r\n if (fa > fb) {\r\n return 1;\r\n }\r\n return 0;\r\n });\r\n state.loading = false;\r\n state.editSubserviceError = null;\r\n state.error = null;\r\n });\r\n builder.addCase(getSubservicesByServiceId.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.error = action.payload;\r\n }\r\n });\r\n },\r\n});\r\n\r\nexport const {\r\n showAddSubserviceModal,\r\n hideAddSubserviceModal,\r\n showEditSubserviceModal,\r\n hideEditSubserviceModal,\r\n showDeleteSubserviceModal,\r\n hideDeleteSubserviceModal,\r\n showViewSubserviceModal,\r\n hideViewSubserviceModal,\r\n clearSubservices,\r\n clearSubserviceStatus,\r\n processDeleteSubService\r\n} = subservicesSlice.actions;\r\n","import { ActivityModel } from \"./models\";\r\nimport { epicApiClient } from \"../../ApiClient\";\r\nimport { createAsyncThunk } from \"@reduxjs/toolkit\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\n\r\n\r\n\r\nexport const activityLog = createAsyncThunk(\r\n \"/api/Activity/Get\",\r\n async (\r\n _params: {\r\n retailerId?: string,\r\n pagenumber: number,\r\n logType?: string,\r\n limit?: number,\r\n searchText: string,\r\n fromDate?: string,\r\n toDate?: string\r\n },\r\n thunkAPI\r\n ): Promise> => {\r\n try {\r\n const queryParameters = [];\r\n if (_params.logType) {\r\n queryParameters.push(`logType=${_params.logType}`);\r\n }\r\n if (_params.limit) {\r\n queryParameters.push(`limit=${_params.limit}`);\r\n }\r\n if (_params.searchText) { \r\n queryParameters.push(`searchText=${_params.searchText}`);\r\n }\r\n if (_params.fromDate) {\r\n queryParameters.push(`fromDate=${_params.fromDate}`);\r\n }\r\n if (_params.toDate) {\r\n queryParameters.push(`toDate=${_params.toDate}`);\r\n }\r\n\r\n const retailersResponse = await epicApiClient.get(\r\n `api/GetActivityLogs?pagenumber=${_params.pagenumber}&${queryParameters.join(\"&\")}`,\r\n createAuthConfig()\r\n );\r\n const x: ActivityModel[] = retailersResponse.data;\r\n return x as ActivityModel[];\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n return thunkAPI.rejectWithValue(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n }\r\n return thunkAPI.rejectWithValue(\"Error getting activity logs\");\r\n }\r\n }\r\n);","import { createSlice } from \"@reduxjs/toolkit\";\r\nimport { activityLog } from \"./api\";\r\nimport { ActivityModel } from \"./models\";\r\n\r\nexport type ConnectionState = {\r\n [x: string]: any;\r\n all: ActivityModel[];\r\n loading: boolean;\r\n error: string | null;\r\n};\r\n\r\nconst initialState: ConnectionState = {\r\n all: [],\r\n loading: false,\r\n error: null,\r\n};\r\n\r\nexport const activitySlice = createSlice({\r\n name: \"activity\",\r\n initialState,\r\n reducers: {},\r\n\r\n extraReducers: (builder) => {\r\n /* get connections */\r\n builder.addCase(activityLog.pending, (state) => {\r\n state.loading = true;\r\n });\r\n builder.addCase(activityLog.fulfilled, (state, action) => {\r\n state.all = action.payload;\r\n state.loading = false;\r\n state.error = null;\r\n });\r\n builder.addCase(activityLog.rejected, (state, action) => {\r\n if (typeof action.payload === \"string\") {\r\n state.error = action.payload;\r\n }\r\n });\r\n },\r\n});","import { authSlice, loginSlice } from \"./auth/slice\";\r\nimport { retailersSlice } from \"./retailers/slice\";\r\nimport { usersSlice } from \"./users/slice\";\r\nimport { circularGroupsSlice } from \"./circular-groups/slice\";\r\nimport { storesSlice } from \"./stores/slice\";\r\nimport { circularsSlice } from \"./circulars/slice\";\r\nimport { editPageSlice } from \"./areas/slice\";\r\nimport { categoriesSlice } from \"./categories/slice\";\r\nimport { currentRetailerSlice } from \"./select-retailer/slice\";\r\nimport { recipesSlice } from \"./recipes/slice\";\r\nimport { emailsSlice } from \"./emails/slice\";\r\nimport { connectionsSlice } from \"./connections/slice\";\r\nimport { servicesSlice } from \"./services/slice\";\r\nimport { propertiesSlice } from \"./properties/slice\";\r\nimport { subservicesSlice } from \"./subservices/slice\";\r\nimport { activitySlice } from \"./activitylog/slice\";\r\n\r\nexport const rootReducer = {\r\n auth: authSlice.reducer,\r\n retailers: retailersSlice.reducer,\r\n users: usersSlice.reducer,\r\n circularGroups: circularGroupsSlice.reducer,\r\n stores: storesSlice.reducer,\r\n circulars: circularsSlice.reducer,\r\n editPage: editPageSlice.reducer,\r\n login: loginSlice.reducer,\r\n categories: categoriesSlice.reducer,\r\n currentRetailer: currentRetailerSlice.reducer,\r\n recipes: recipesSlice.reducer,\r\n emails: emailsSlice.reducer,\r\n connections: connectionsSlice.reducer,\r\n services: servicesSlice.reducer,\r\n subservices: subservicesSlice.reducer,\r\n properties: propertiesSlice.reducer,\r\n activity:activitySlice.reducer,\r\n};\r\n\r\nexport const Actions = {\r\n auth: authSlice.actions,\r\n users: usersSlice.actions,\r\n retailers: retailersSlice.actions,\r\n circularGroups: circularGroupsSlice.actions,\r\n stores: storesSlice.actions,\r\n circulars: circularsSlice.actions,\r\n editPage: editPageSlice.actions,\r\n categories: categoriesSlice.actions,\r\n login: loginSlice.actions,\r\n currentRetailer: currentRetailerSlice.actions,\r\n recipes: recipesSlice.actions,\r\n emails: emailsSlice.actions,\r\n};\r\n","import React, { useEffect } from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { RootState } from \"../../App\";\r\nimport { Form, Input } from \"antd\";\r\nimport { UserModel } from \"../users/models\";\r\nimport { FormInstance } from \"antd/es/form\";\r\n\r\nexport const EditCurrentUserForm = (props: {\r\n form: FormInstance;\r\n onSubmit: (values: Partial) => void;\r\n}) => {\r\n const { form, onSubmit } = props;\r\n const initialValues = useSelector((state: RootState) => state.auth.user);\r\n\r\n useEffect(() => {\r\n props.form.resetFields();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [initialValues]);\r\n\r\n const formItemLayout = {\r\n labelCol: { span: 8 },\r\n wrapperCol: { span: 14 },\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","import React, { useState } from \"react\";\r\nimport { Modal, Form, Alert, Divider } from \"antd\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { RootState } from \"../../App\";\r\nimport { EditCurrentUserForm } from \"./EditCurrentUserForm\";\r\nimport { apiClient } from \"../../ApiClient\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\nimport { getUsers } from \"../users/api\";\r\n\r\nexport const EditCurrentUserModal = (props: {\r\n visible: boolean;\r\n onCancel: () => void;\r\n}) => {\r\n const { visible, onCancel } = props;\r\n\r\n const [form] = Form.useForm();\r\n const dispatch = useDispatch();\r\n\r\n const [, setSuccess] = useState(false);\r\n const [loading, setLoading] = useState(false);\r\n const [error, setError] = useState(\"\");\r\n const retailerId = useSelector(\r\n (state: RootState) => state.currentRetailer.currentRetailer?.id\r\n );\r\n\r\n const handleSubmit = async (values: any) => {\r\n setLoading(true);\r\n try {\r\n await apiClient.post(\"/api/Account\", values, createAuthConfig());\r\n setSuccess(true);\r\n setLoading(false);\r\n setError(\"\");\r\n handleCancel();\r\n dispatch(getUsers({ retailerId }));\r\n } catch (e) {\r\n setError(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n );\r\n setLoading(false);\r\n }\r\n };\r\n\r\n const handleModalOk = () => {\r\n form\r\n .validateFields()\r\n .then((values) => {\r\n handleSubmit(values);\r\n })\r\n .catch((e) => {});\r\n };\r\n\r\n const handleCancel = () => {\r\n onCancel();\r\n };\r\n\r\n return (\r\n \r\n {error && (\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 { Link } from \"react-router-dom\";\r\nimport { Button, Dropdown, Menu } from \"antd\";\r\nimport { UserOutlined } from \"@ant-design/icons\";\r\n\r\nexport const UserSettings = (props: {\r\n handleAccountSettingsClick: () => void;\r\n handleChangePasswordClick: () => void;\r\n handleSettingsClick: () => void;\r\n logOut: () => void;\r\n userEmail: string;\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 fecebookDetails?.accessToken == null &&\r\n\r\n {\r\n\r\n FacebookLoginClient.getProfile(async (res: any) => {\r\n console.log(\"res\", res);\r\n\r\n const { data } = await apiClient.post(\"/api/PostSettingDetails\", {\r\n ...fecebookDetails,\r\n userName: res.name,\r\n photo: res.picture.data.url,\r\n accessToken: response.accessToken,\r\n name: res.name,\r\n email: res.email,\r\n userId: res.id,\r\n expairyDate: response.data_access_expiration_time\r\n }, createAuthConfig());\r\n\r\n (async () => {\r\n const result = await fetch(`${BASE_URL}api/GetAllSetting`, createAuthConfig());\r\n const data = await result.json();\r\n setFacebookDetails(data.settingDetails[0]);\r\n })()\r\n\r\n }, { fields: \"id,name,email,picture\" })\r\n\r\n }}\r\n onFail={(error) => {\r\n Cookies.remove('fblo_487272066091952')\r\n sessionStorage.removeItem(\"fbssls_487272066091952\");\r\n }}\r\n\r\n >\r\n \r\n \r\n }\r\n\r\n {\r\n fecebookDetails?.accessToken !== 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","import React, { useEffect, useState } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { RootState } from \"../../App\";\r\nimport styled from \"styled-components\";\r\nimport { getRetailers } from \"../retailers/api\";\r\nimport { Select } from \"antd\";\r\nimport { authSlice } from \"../auth/slice\";\r\nimport { Actions } from \"../Reducers\";\r\nimport { User } from \"../auth/models\";\r\nimport { EditCurrentUserModal } from \"./EditCurrentUserModal\";\r\nimport { UserSettings } from \"./UserSettings\";\r\nimport { ChangePasswordModal } from \"./ChangePasswordModal\";\r\nimport { SettingModal } from \"./SettingModal\";\r\nimport { FacebookProvider, LoginButton, useLoginStatus } from 'react-facebook';\r\nconst NavParent = styled.div`\r\n /* border: 1px solid red; */\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n width: 100vw;\r\n background-color: white;\r\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\r\n padding-inline: 10vw;\r\n padding: 8px 0px;\r\n position: relative;\r\n z-index: 1000;\r\n`;\r\n\r\nexport const Navbar = () => {\r\n const user: User = useSelector((state) => state.auth.user) as User;\r\n const dispatch = useDispatch();\r\n const retailers = useSelector((state: RootState) => state.retailers.all);\r\n const retailerName = useSelector(\r\n (state: RootState) => state.auth.user?.retailer?.name\r\n );\r\n const retailerSelectable = useSelector(\r\n (state: RootState) => state.currentRetailer.retailerSelectable\r\n );\r\n\r\n const editCurrentUserModalVisible = useSelector(\r\n (state: RootState) => state.login.editCurrentUserModalVisible\r\n );\r\n const changePasswordModalVisible = useSelector(\r\n (state: RootState) => state.login.changePasswordModalVisible\r\n );\r\n\r\n const SettingModalVisible = useSelector(\r\n (state: RootState) => state.login.SettingModalVisible\r\n );\r\n\r\n\r\n \r\n\r\n const [selectedValue, setSelectedValue] = useState(\"_ALL_\");\r\n useEffect(() => {\r\n dispatch(getRetailers({ retailerId: undefined }));\r\n }, [dispatch]);\r\n\r\n return (\r\n \r\n\r\n \r\n \r\n \r\n \r\n {retailerSelectable && (\r\n {\r\n setSelectedValue(option.value);\r\n dispatch(\r\n Actions.currentRetailer.setCurrentRetailer(\r\n option.value === \"_ALL_\"\r\n ? undefined\r\n : retailers.find((r) => r.id === option.key)\r\n )\r\n );\r\n dispatch(getRetailers({ retailerId: option.key as string }));\r\n }}\r\n >\r\n \r\n {\"All retailers\"}\r\n \r\n {retailers.map((r) => (\r\n \r\n {r.name}\r\n \r\n ))}\r\n \r\n )}\r\n {!retailerSelectable &&

{`${retailerName}`}

}\r\n
\r\n {\r\n dispatch(Actions.login.setCurrentUserModalVisible(false));\r\n }}\r\n />\r\n {\r\n dispatch(Actions.login.setChangePasswordModalVisible(false));\r\n }}\r\n />\r\n {\r\n dispatch(Actions.login.setSettingModalVisible(false));\r\n }}\r\n />\r\n\r\n {\r\n dispatch(Actions.login.setCurrentUserModalVisible(true));\r\n }}\r\n handleChangePasswordClick={() => {\r\n dispatch(Actions.login.setChangePasswordModalVisible(true));\r\n }}\r\n handleSettingsClick={() => {\r\n dispatch(Actions.login.setSettingModalVisible(true))\r\n }}\r\n logOut={() => {\r\n dispatch(authSlice.actions.logOut());\r\n }}\r\n userEmail={user.email}\r\n />\r\n
\r\n \r\n
\r\n );\r\n};\r\n","import React, { useState } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { Menu } from \"antd\";\r\nimport {\r\n ShoppingCartOutlined,\r\n BookOutlined,\r\n FolderOutlined,\r\n UserOutlined,\r\n SnippetsOutlined,\r\n ShopOutlined,\r\n CopyOutlined,\r\n MailOutlined,\r\n SwapOutlined,\r\n AreaChartOutlined\r\n} from \"@ant-design/icons\";\r\nimport styled from \"styled-components\";\r\nimport { RootState } from \"../App\";\r\nimport { useSelector } from \"react-redux\";\r\nimport ServiceIcon from '../resources/UI-Web-btn-service-bar-chart-graph.png';\r\nimport SubserviceIcon from '../resources/UI-Web-btn-subservice-bar-chart-graph.png';\r\nimport PropertyIcon from '../resources/UI-Web-btn-keys-property.png';\r\n\r\n\r\nconst Container = styled.div`\r\n height: 100%;\r\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\r\n`;\r\n\r\nexport const Sidebar = () => {\r\n const permissions = useSelector(\r\n (state: RootState) => state.login.authData?.claims.Permission ?? []\r\n );\r\n const [epicStatus, setEpicStatus] = useState(false)\r\n const handleEpicClick = () => {\r\n setEpicStatus(!epicStatus)\r\n }\r\n return (\r\n \r\n \r\n {permissions.find((p) => p === \"IsAdministrator\") !== undefined && (\r\n \r\n \r\n Retailers\r\n \r\n )}\r\n\r\n {permissions.find((p) => p === \"IsAdministrator\") !== undefined && (\r\n \r\n \r\n Categories\r\n \r\n )}\r\n\r\n {permissions.find((p) => p === \"IsRetailer\") !== undefined && (\r\n \r\n \r\n Circular Groups\r\n \r\n )}\r\n\r\n {permissions.find((p) => p === \"IsRetailer\") !== undefined && (\r\n \r\n \r\n Users\r\n \r\n )}\r\n\r\n {permissions.find((p) => p === \"IsRetailer\") !== undefined && (\r\n \r\n \r\n Circulars\r\n \r\n )}\r\n\r\n {permissions.find((p) => p === \"IsRetailer\") !== undefined && (\r\n \r\n \r\n Stores\r\n \r\n )}\r\n\r\n {permissions.find((p) => p === \"IsAdministrator\") !== undefined && (\r\n \r\n \r\n Recipes\r\n \r\n )}\r\n\r\n {permissions.find((p) => p === \"IsRetailer\") !== undefined && (\r\n \r\n \r\n Emails\r\n \r\n )}\r\n \r\n \r\n EpicCyberAnalytics\r\n }>\r\n {permissions.find((p) => p === \"IsRetailer\") !== undefined && (\r\n \r\n \r\n Connections\r\n \r\n )}\r\n {permissions.find((p) => p === \"IsRetailer\") !== undefined && (\r\n \r\n \"Services\r\n Services\r\n \r\n )}\r\n {permissions.find((p) => p === \"IsRetailer\") !== undefined && (\r\n \r\n \"Services\r\n Subservices\r\n \r\n )}\r\n {permissions.find((p) => p === \"IsRetailer\") !== undefined && (\r\n \r\n \"Services\r\n Properties\r\n \r\n )}\r\n \r\n \r\n \r\n );\r\n};\r\n","import React from \"react\";\r\n\r\nexport default function NotFound() {\r\n return

404 :(

;\r\n}\r\n","import React from \"react\";\r\nimport { Alert, Divider, Modal } from \"antd\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { RootState } from \"../../../App\";\r\n\r\ntype ConfirmDeleteModalProps = {\r\n title: string;\r\n visible: boolean;\r\n onCancel: () => void;\r\n onConfirm: () => void;\r\n label: string;\r\n isLoading?: boolean;\r\n error?: string;\r\n};\r\nexport const ConfirmDeleteModal = (props: ConfirmDeleteModalProps) => {\r\n const { title, visible, onCancel, onConfirm, label } = props;\r\n const loading = useSelector((state: RootState) => state.users.loading);\r\n return (\r\n \r\n {props.error && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n

{label}

\r\n \r\n );\r\n};\r\n","import React, { ReactElement } from \"react\";\r\nimport { Col, Form, Row } from \"antd\";\r\n\r\nexport const InputWrapper = (props: {\r\n label: string;\r\n error?: string | undefined;\r\n children: ReactElement;\r\n}) => {\r\n const { label, children, error } = props;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {children}\r\n \r\n \r\n \r\n );\r\n};\r\n","import {\r\n Checkbox,\r\n Button,\r\n Col,\r\n Divider,\r\n Input,\r\n InputNumber,\r\n List,\r\n Modal,\r\n Row,\r\n Select,\r\n Slider,\r\n Typography,\r\n} from \"antd\";\r\nimport type { CheckboxChangeEvent } from 'antd/es/checkbox';\r\nimport Text from \"antd/es/typography/Text\";\r\nimport { any, eqProps } from \"ramda\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { useUpdateEffect } from \"react-use\";\r\nimport styled from \"styled-components\";\r\nimport { BASE_URL } from \"../../ApiClient\";\r\nimport { RootState } from \"../../App\";\r\nimport { Category } from \"../categories/models\";\r\nimport { Thumbnail } from \"../circulars/models\";\r\nimport { InputWrapper } from \"../common/components/InputWrapper\";\r\nimport { Actions } from \"../Reducers\";\r\nimport { getRecipes } from \"./api\";\r\n\r\nexport type AreaFormValues = {\r\n prefix: string;\r\n ingredient: string;\r\n deal: string;\r\n category?: Category;\r\n details: string,\r\n featured?: boolean\r\n};\r\n\r\nconst HoverDiv = styled.img`\r\n padding: 5px;\r\n &:hover {\r\n background-color: #18ff9099;\r\n }\r\n`;\r\n\r\nexport const AreaForm = (props: {\r\n initialValues?: AreaFormValues;\r\n thumbnails?: Thumbnail[];\r\n onValuesChange?: (values: AreaFormValues) => void;\r\n categories?: Category[];\r\n onFeaturedChange: (feature: boolean) => void;\r\n featured: boolean\r\n \r\n}) => {\r\n const defaultValues = {\r\n prefix: \"\",\r\n category: props.categories?.find(\r\n (c) => c.id === props.initialValues?.category?.id\r\n ),\r\n ingredient: \"\",\r\n deal: \"\",\r\n details: \"\",\r\n featured: false\r\n };\r\n const [values, setValues] = useState(\r\n props.initialValues ?? defaultValues\r\n );\r\n const areaFormErrors = useSelector(\r\n (state: RootState) => state.editPage.editAreaFormErrors\r\n );\r\n useEffect(() => {\r\n const newValues = {\r\n details: props.initialValues?.details ?? defaultValues.details,\r\n deal: props.initialValues?.deal ?? defaultValues.deal,\r\n prefix: props.initialValues?.prefix ?? defaultValues.prefix,\r\n ingredient: props.initialValues?.ingredient ?? defaultValues.ingredient,\r\n category: props.initialValues?.category ?? defaultValues.category,\r\n featured: props.initialValues?.featured ?? defaultValues.featured,\r\n };\r\n setValues(newValues);\r\n }, [props.initialValues]);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n\r\n useUpdateEffect(() => {\r\n if (\r\n Object.keys(values).filter(\r\n (it) => !eqProps(it, values, props.initialValues)\r\n ).length > 0\r\n ) {\r\n props.onValuesChange?.(values);\r\n }\r\n }, [values]);\r\n\r\n const dispatch = useDispatch();\r\n const categories = useSelector((state: RootState) => state.categories.data);\r\n const recipesLoading = useSelector(\r\n (state: RootState) => state.editPage.recipesLoading\r\n );\r\n const pageId = useSelector((state: RootState) => state.editPage.page?.id);\r\n const recipesDialogOpen = useSelector(\r\n (state: RootState) => state.editPage.recipesDialogOpen\r\n );\r\n const thumbnailSelectOpened = useSelector(\r\n (state: RootState) => state.editPage.thumbnailSelectOpened\r\n );\r\n const recipes = useSelector((state: RootState) => state.editPage.recipes);\r\n const thumbnails = useSelector(\r\n (state: RootState) => state.editPage.allThumbnails\r\n );\r\n\r\n const recipesQuery = useSelector(\r\n (state: RootState) => state.editPage.recipesQuery\r\n );\r\n\r\n const onChangeRecsNr = (value: number | undefined) => {\r\n dispatch(\r\n Actions.editPage.setRecipesQuery({\r\n ingredient: recipesQuery?.ingredient ?? \"\",\r\n nrOfRecs: value ?? 5,\r\n })\r\n );\r\n }; \r\n\r\n return (\r\n <>\r\n {\r\n dispatch(Actions.editPage.setRecModalVisible(false));\r\n }}\r\n okText=\"Select\"\r\n onOk={() => {\r\n dispatch(Actions.editPage.setRecModalVisible(false));\r\n }}\r\n >\r\n {\"Ingredient\"}\r\n {\r\n dispatch(\r\n Actions.editPage.setRecipesQuery({\r\n ingredient: event.target.value,\r\n nrOfRecs: recipesQuery?.nrOfRecs ?? 5,\r\n })\r\n );\r\n }}\r\n />\r\n {\"Number of recipes\"}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n dispatch(getRecipes(recipesQuery!));\r\n }}\r\n >\r\n {\"Search recipes\"}\r\n \r\n \r\n (\r\n {\r\n dispatch(Actions.editPage.selectRecipe(item));\r\n }}\r\n >\r\n {/* {console.log(recipes?.selected?.content?.details?.id,'Selected Recipe Name')}\r\n {console.log(item.content?.details?.id,'Item ID')} */}\r\n {/* {item.title} */}\r\n {/* \"\" */}\r\n {item.content?.details?.name}\r\n \"\"\r\n \r\n )} />\r\n \r\n {\r\n dispatch(Actions.editPage.setThumbnailSelectOpened(false))\r\n }}\r\n okText=\"Add\"\r\n onOk={() => {\r\n dispatch(Actions.editPage.setThumbnailSelectOpened(false))\r\n }}\r\n >\r\n \r\n {thumbnails?.map((item) => (\r\n \r\n {\r\n dispatch(Actions.editPage.setAreaThumbnail(item.id));\r\n }}\r\n style={{ width: 80, height: \"auto\" }}\r\n src={`${BASE_URL}api/CircularPages/${pageId}/ThumbnailImage/${item.id}`}\r\n />\r\n \r\n ))}\r\n \r\n \r\n\r\n \r\n \r\n setValues({\r\n ...values,\r\n prefix: event.target.value,\r\n })\r\n }\r\n />\r\n \r\n \r\n \r\n setValues({\r\n ...values,\r\n ingredient: event.target.value,\r\n })\r\n }\r\n />\r\n \r\n \r\n \r\n setValues({\r\n ...values,\r\n deal: event.target.value,\r\n })\r\n }\r\n />\r\n \r\n \r\n {\r\n return (\r\n option?.children\r\n .toLowerCase()\r\n .indexOf(inputValue.toLowerCase()) >= 0 ?? false\r\n );\r\n }}\r\n onChange={(selectValue) => {\r\n setValues({\r\n ...values,\r\n category: categories.find((c) => c.id === selectValue),\r\n });\r\n }}\r\n >\r\n {categories.map((category) => (\r\n {category.name}\r\n ))}\r\n \r\n \r\n \r\n \r\n setValues({\r\n ...values,\r\n details: event.target.value,\r\n })\r\n }\r\n />\r\n \r\n\r\n \r\n setValues({ ...values, featured:e.target.checked })} >\r\n Featured in carousel\r\n \r\n \r\n \r\n
\r\n {/*

{recipes?.selected?.title ?? \"\"}

*/}\r\n

{recipes?.selected?.content?.details?.name ?? \"\"}

\r\n {\r\n dispatch(\r\n getRecipes({\r\n ingredient: values.ingredient,\r\n nrOfRecs: 5,\r\n })\r\n );\r\n }}\r\n >\r\n {\"Select Recipe\"}\r\n \r\n
\r\n
\r\n {/* {console.log(\"recipes dd\", recipes)} */}\r\n \r\n );\r\n};\r\n\r\nexport const ThumbnailPicker = (props: {\r\n pageId: string;\r\n thumbnails: Thumbnail[];\r\n onThumbnailClick: (id: string, index: number) => void;\r\n selectedImgIndex?: number | null;\r\n}) => {\r\n return (\r\n \r\n {\"Choose thumbnail\"}\r\n \r\n {props.thumbnails.map((thumbnail, i) => {\r\n return (\r\n \r\n \r\n props.onThumbnailClick(props.pageId, i)}\r\n />\r\n \r\n \r\n );\r\n })}\r\n \r\n \r\n );\r\n};\r\n","import { Alert, Button, Form, message, Modal, Upload } from \"antd\";\r\nimport React, { useState } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { apiClient } from \"../../ApiClient\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\nimport { CircularPage } from \"../circulars/models\";\r\nimport { circularsSlice } from \"../circulars/slice\";\r\n\r\nconst { addCircularPages } = circularsSlice.actions;\r\n\r\nexport const CloneModal: React.FC<{\r\n visible: boolean;\r\n onCancel: () => void;\r\n circularId: string;\r\n circularPage: CircularPage | undefined;\r\n}> = ({ visible, onCancel, circularId, circularPage }) => {\r\n const [form] = Form.useForm();\r\n const dispatch = useDispatch();\r\n const [cloneStatus, setCloneStatus] = useState<{\r\n progress: \"loading\" | \"error\" | \"\";\r\n message?: string;\r\n }>({ progress: \"\" });\r\n\r\n const axiosClonePage = async (form: FormData) => {\r\n setCloneStatus({ progress: \"loading\" });\r\n try {\r\n const response = await apiClient.post(\r\n \"/api/CircularPages/CloneCircularPages\",\r\n form,\r\n {\r\n headers: {\r\n ...createAuthConfig().headers,\r\n \"Content-Type\":\r\n \"multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW\",\r\n },\r\n }\r\n );\r\n setCloneStatus({ progress: \"\" });\r\n\r\n message.success(\"The page was cloned successfully\");\r\n handleCancel();\r\n dispatch(\r\n addCircularPages({ dataArray: response.data, circularId: circularId })\r\n );\r\n console.log(\"req data isz \", response.data as Array);\r\n } catch (e) {\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n setCloneStatus({\r\n progress: \"error\",\r\n message: [].concat\r\n .apply([], Object.values(e.response.data.errors))\r\n .join(\" \"),\r\n });\r\n }\r\n\r\n setCloneStatus({\r\n progress: \"error\",\r\n message: \"Something went wrong when cloning the circular\",\r\n });\r\n }\r\n };\r\n\r\n const handleFinish = (values: any) => {\r\n const formData = new FormData();\r\n if (circularPage) formData.append(\"CloneCircularPageId\", circularPage?.id);\r\n\r\n if (circularId) formData.append(\"CircularId\", circularId);\r\n\r\n values.pdfFile.fileList.forEach((file: any) => {\r\n formData.append(\"PdfFiles\", file.originFileObj);\r\n });\r\n axiosClonePage(formData);\r\n };\r\n const handleBeforeUpload = (file: any) => {\r\n return false;\r\n };\r\n\r\n const handleCancel = () => {\r\n if (cloneStatus.progress !== \"loading\") {\r\n form.resetFields();\r\n onCancel();\r\n }\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n Clone Circular Page\r\n \r\n \r\n }\r\n >\r\n <>\r\n {cloneStatus.progress === \"error\" ? (\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","import styled from \"styled-components\";\r\n\r\nexport const Container = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n width: 100%;\r\n padding: 32px;\r\n`;\r\n\r\nexport const HeaderContainer = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n`;\r\n","import { CloseCircleOutlined as CloseOutlined } from \"@ant-design/icons\";\r\nimport { Button, Checkbox, Col, Popover, Row, Typography } from \"antd\";\r\nimport React, { useEffect, useRef, useState } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { Rnd } from \"react-rnd\";\r\nimport { useHistory, useLocation, useParams } from \"react-router-dom\";\r\nimport styled from \"styled-components\";\r\nimport { BASE_URL } from \"../../ApiClient\";\r\nimport { RootState } from \"../../App\";\r\nimport { getCategories } from \"../categories/api\";\r\nimport { Category } from \"../categories/models\";\r\nimport { getCirculars } from \"../circulars/api\";\r\nimport {\r\n Circular,\r\n CircularArea,\r\n CircularPage,\r\n Thumbnail,\r\n} from \"../circulars/models\";\r\nimport { ConfirmDeleteModal } from \"../common/components/ConfirmDeleteModal\";\r\nimport { DualRingLoader } from \"../common/components/Loader\";\r\nimport { Actions } from \"../Reducers\";\r\nimport { deleteCircularArea, getPageDetails, saveArea } from \"./api\";\r\nimport { AreaForm } from \"./AreaForm\";\r\nimport { CloneModal } from \"./CloneModal\";\r\nimport { Container, HeaderContainer } from \"./layout\";\r\nimport { mapPercentage } from \"./slice\";\r\n\r\nconst Header = styled.div`\r\n width: 100%;\r\n border-bottom: #000c17;\r\n border-bottom-width: 1px;\r\n display: flex;\r\n flex-direction: row;\r\n margin-bottom: 20px;\r\n align-items: center;\r\n`;\r\n\r\nconst AreaFormContainer = (props: {\r\n onDelete: (id: string) => void;\r\n zone: CircularArea;\r\n onClick: () => void;\r\n page?: CircularPage;\r\n onThumbnailClick: (pageId: string, index: number) => void;\r\n categories: Category[];\r\n}) => {\r\n const dispatch = useDispatch();\r\n const inEditArea = useSelector(\r\n (state: RootState) => state.editPage.inEditArea\r\n );\r\n const newArea = useSelector((state: RootState) => state.editPage.newArea);\r\n const dimensions = useSelector(\r\n (state: RootState) => state.editPage.dimensions\r\n );\r\n const [values, setValues] = useState();\r\n\r\n const [featured, setFeaturedChecked] = useState(false);\r\n\r\n const onFeaturedChange = (feature: boolean) => {\r\n setFeaturedChecked(feature);\r\n\r\n };\r\n\r\n useEffect(() => {}, [values]);\r\n const saveLoading = useSelector(\r\n (state: RootState) => state.editPage.saveLoading\r\n );\r\n\r\n const areaFormValues = useSelector(\r\n (state: RootState) => state.editPage.editFormValues\r\n );\r\n const [deleteModalVisible, setDeleteModalVisible] = useState(false);\r\n\r\n return (\r\n
\r\n
\r\n \r\n \r\n {\"Edit Area\"}\r\n \r\n
\r\n \r\n {\r\n dispatch(Actions.editPage.cancelEditRegion());\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n {\r\n setValues(values);\r\n dispatch(Actions.editPage.setAreaFormValues(values));\r\n }}\r\n onFeaturedChange={onFeaturedChange}\r\n featured={featured}\r\n \r\n />\r\n \r\n {\r\n setDeleteModalVisible(false);\r\n }}\r\n onConfirm={() => {\r\n setDeleteModalVisible(false);\r\n props.onDelete(props.zone.id);\r\n }}\r\n label={\"Are you sure you want to delete the selected area?\"}\r\n />\r\n {\r\n setDeleteModalVisible(true);\r\n }}\r\n >\r\n {\"Delete\"}\r\n \r\n {\r\n if (inEditArea!.top > 1) {\r\n const area = {\r\n top: mapPercentage(inEditArea!.top, 0, dimensions!.height),\r\n left: mapPercentage(inEditArea!.left, 0, dimensions!.width),\r\n width: mapPercentage(\r\n inEditArea!.width,\r\n 0,\r\n dimensions!.width\r\n ),\r\n height: mapPercentage(\r\n inEditArea!.height,\r\n 0,\r\n dimensions!.height\r\n ),\r\n };\r\n const theArea = {\r\n ...values,\r\n ...area,\r\n };\r\n dispatch(\r\n saveArea({\r\n pageId: props.page?.id ?? \"\",\r\n area: theArea as CircularArea,\r\n })\r\n );\r\n return;\r\n }\r\n dispatch(\r\n saveArea({\r\n pageId: props.page?.id ?? \"\",\r\n area: {\r\n featured: featured ,\r\n ...inEditArea,\r\n ...values,\r\n },\r\n })\r\n );\r\n }}\r\n >\r\n {\"Save\"}\r\n \r\n \r\n \r\n {props.zone.thumbnailIndex !== undefined ? (\r\n \r\n \r\n dispatch(Actions.editPage.setThumbnailSelectOpened(true))\r\n }\r\n style={{\r\n display: \"flex\",\r\n justifyContent: \"center\",\r\n alignItems: \"center\",\r\n margin: 16,\r\n }}\r\n >\r\n \r\n \r\n \r\n ) : (\r\n \r\n dispatch(Actions.editPage.setThumbnailSelectOpened(true))\r\n }\r\n >\r\n {\"Add thumbnail\"}\r\n \r\n )}\r\n \r\n \r\n );\r\n};\r\n\r\nexport const AreaEditContainer = () => {\r\n const history = useHistory();\r\n\r\n const page = useSelector((state: RootState) => state.editPage.page);\r\n const dispatch = useDispatch();\r\n const circulars: Circular[] = useSelector(\r\n (state: RootState) => state.circulars.all\r\n );\r\n const nav = useHistory();\r\n const loc = useLocation();\r\n const [nextPage, setNextPage] = useState(undefined);\r\n const [prevPage, setPrevPage] = useState(undefined);\r\n const retailerId = useSelector(\r\n (state: RootState) => state.currentRetailer.currentRetailer?.id\r\n );\r\n console.log(\"retailerId form admin ap-====\",retailerId)\r\n const { id: circularId, pageId: currentPageId } = useParams<{\r\n id: string;\r\n pageId: string;\r\n }>();\r\n\r\n useEffect(() => {\r\n if (!circulars.length) {\r\n dispatch(getCirculars({ retailerId: retailerId }));\r\n } else {\r\n const currentCircular = circulars.find((i) => i.id === circularId);\r\n const pageIndex = currentCircular?.circularPages.findIndex(\r\n (i) => i.id === currentPageId\r\n );\r\n if (pageIndex === undefined) {\r\n alert(\"error: page not found\");\r\n return;\r\n }\r\n if (pageIndex > 0) {\r\n setPrevPage(currentCircular?.circularPages[pageIndex - 1].id);\r\n } else {\r\n setPrevPage(undefined);\r\n }\r\n\r\n if (pageIndex < currentCircular?.circularPages?.length! - 1) {\r\n setNextPage(currentCircular?.circularPages[pageIndex + 1].id);\r\n } else {\r\n setNextPage(undefined);\r\n }\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [circulars, circularId, currentPageId]);\r\n\r\n useEffect(() => {\r\n currentPageId && dispatch(getPageDetails(currentPageId));\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [circularId, currentPageId]);\r\n\r\n useEffect(() => {\r\n dispatch(getCategories());\r\n }, [dispatch]);\r\n\r\n const showThumbnais = useSelector(\r\n (state: RootState) => state.editPage.showThumbnails\r\n );\r\n\r\n const [cloneModalVisible, setCloneModalVisible] = useState(false);\r\n\r\n const handleHideCloneModal = () => {\r\n setCloneModalVisible(false);\r\n };\r\n\r\n return (\r\n \r\n \r\n

Edit page

\r\n
\r\n
\r\n
\r\n {\r\n dispatch(Actions.editPage.toggleShowThumbnails());\r\n }}\r\n >\r\n {\"Show suggested areas\"}\r\n \r\n {\r\n setCloneModalVisible(!cloneModalVisible);\r\n }}\r\n >\r\n {\"Clone Circular Page\"}\r\n \r\n
\r\n\r\n \r\n {\r\n const path = loc.pathname.split(\"/\");\r\n path.pop();\r\n path.pop();\r\n nav.push(path.join(\"/\"));\r\n }}\r\n type={\"link\"}\r\n style={{ marginLeft: \"2em\" }}\r\n >\r\n {\"Back\"}\r\n \r\n\r\n {\r\n if (prevPage === undefined) return;\r\n history.push(prevPage);\r\n }}\r\n >\r\n {\"< Previous Page\"}\r\n \r\n {\r\n if (nextPage === undefined) return;\r\n\r\n history.push(nextPage);\r\n }}\r\n >\r\n {\"Next Page >\"}\r\n \r\n
\r\n \r\n \r\n {page && (\r\n \r\n {\r\n dispatch(Actions.editPage.editArea(zone));\r\n }}\r\n />\r\n \r\n )}\r\n {!page && }\r\n
\r\n );\r\n};\r\n\r\nconst HoverRnd = styled(Rnd)`\r\n position: absolute;\r\n border-radius: 4px;\r\n border: 1px solid rgba(0, 0, 0, 0.25);\r\n background: rgba(0, 0, 0, 0);\r\n box-shadow: inset 0px 0px 4px 0px rgba(0, 0, 0, 0.25);\r\n cursor: pointer !important;\r\n &:hover {\r\n border: 1px solid rgba(0, 0, 0, 0.5);\r\n background: rgba(0, 0, 0, 0.175);\r\n box-shadow: inset 0px 0px 4px 0px rgba(0, 0, 0, 0.5);\r\n }\r\n transition: 0.1s ease-in-out;\r\n`;\r\n\r\nconst AreaEditor = (props: {\r\n pageId: string;\r\n onZoneSelected: (zone: CircularArea) => void;\r\n}) => {\r\n const dispatch = useDispatch();\r\n\r\n const imageRef = useRef(null);\r\n const dimensions = useSelector(\r\n (state: RootState) => state.editPage.dimensions\r\n );\r\n\r\n const inEditArea = useSelector(\r\n (state: RootState) => state.editPage.inEditArea\r\n );\r\n const thumbnails = useSelector(\r\n (state: RootState) => state.editPage.thumbnails\r\n );\r\n const circularAreas = useSelector(\r\n (state: RootState) => state.editPage.circularAreas\r\n );\r\n const showThumbnails = useSelector(\r\n (state: RootState) => state.editPage.showThumbnails\r\n );\r\n\r\n const inCreatingRegion = useSelector(\r\n (state: RootState) => state.editPage.inCreatingRegion\r\n );\r\n const categories = useSelector((state: RootState) => state.categories.data);\r\n const page = useSelector((state: RootState) => state.editPage.page);\r\n\r\n const mapAreas = (area: CircularArea, _: number) => {\r\n if (area.id === inEditArea?.id) {\r\n return <>;\r\n }\r\n function rgba(arg0: number, arg1: number, arg2: number, arg3: number): import(\"csstype\").Property.Background | undefined {\r\n throw new Error(\"Function not implemented.\");\r\n }\r\n\r\n return (\r\n dimensions &&\r\n area && (\r\n {\r\n props.onZoneSelected(area);\r\n }}\r\n style={{\r\n border: \"0.5px solid rgba(0,0,0,1)\",\r\n borderRadius: \"2px\",\r\n position: \"absolute\",\r\n background: \"rgba(0, 0, 0, 0.05)\",\r\n boxShadow: \"inset 0px 0px 2px 0px rgba(0,0,0,1)\",\r\n cursor: \"pointer\",\r\n }}\r\n position={{\r\n x: area.left < 1 ? area.left * dimensions.width : area.left,\r\n y: area.top < 1 ? area.top * dimensions.height : area.top,\r\n }}\r\n size={{\r\n width: area.width < 1 ? area.width * dimensions.width : area.width,\r\n height:\r\n area.height < 1 ? area.height * dimensions.height : area.height,\r\n }}\r\n default={{ x: 0, y: 0, width: 30, height: 30 }}\r\n />\r\n )\r\n );\r\n };\r\n const moving = useSelector((state: RootState) => state.editPage.moving);\r\n const mapThumbs = (dimensions: { width: number; height: number }) => (\r\n thumb: Thumbnail,\r\n index: number\r\n ) => {\r\n const defaultRect = {\r\n x: thumb.left < 0 ? 0 : thumb.left * dimensions.width,\r\n y: thumb.top < 0 ? 0 : thumb.top * dimensions.height,\r\n width: thumb.width * dimensions.width,\r\n height: thumb.height * dimensions.height,\r\n };\r\n const createFromThumbnail = (_: MouseEvent) => {\r\n dispatch(Actions.editPage.editFromThumbnail({ thumb, index }));\r\n };\r\n return (\r\n <>\r\n \r\n \r\n );\r\n };\r\n return (\r\n \r\n \r\n {inCreatingRegion && (\r\n \r\n )}\r\n\r\n
\r\n {dimensions &&\r\n thumbnails &&\r\n showThumbnails &&\r\n !inEditArea &&\r\n thumbnails.map(mapThumbs(dimensions))}\r\n {!!inEditArea && dimensions && (\r\n <>\r\n {}}\r\n onDelete={() => {\r\n dispatch(Actions.editPage.deleteInEditArea(inEditArea?.id));\r\n dispatch(deleteCircularArea(inEditArea?.id));\r\n }}\r\n onThumbnailClick={() => {}}\r\n page={page}\r\n zone={inEditArea}\r\n />\r\n }\r\n placement={\"rightBottom\"}\r\n >\r\n {}}\r\n style={{\r\n border: \"1px solid rgba(128,192,255,1)\",\r\n borderRadius: \"4px\",\r\n position: \"absolute\",\r\n background: \"rgba(128,192,255,0.5)\",\r\n boxShadow: \"inset 0px 0px 5px 0px rgba(128,192,255,1)\",\r\n }}\r\n position={{\r\n x:\r\n inEditArea.left < 1\r\n ? inEditArea.left * dimensions.width\r\n : inEditArea.left,\r\n y:\r\n inEditArea.top < 1\r\n ? inEditArea.top * dimensions.height\r\n : inEditArea.top,\r\n }}\r\n size={{\r\n width:\r\n inEditArea.width < 1\r\n ? inEditArea.width * dimensions.width\r\n : inEditArea.width,\r\n height:\r\n inEditArea.height < 1\r\n ? inEditArea.height * dimensions.height\r\n : inEditArea.height,\r\n }}\r\n onDragStart={() => {\r\n dispatch(Actions.editPage.setMoving(true));\r\n }}\r\n onResizeStart={() => {\r\n dispatch(Actions.editPage.setMoving(true));\r\n }}\r\n onResizeStop={(e, direction, ref, delta, position) => {\r\n dispatch(Actions.editPage.setMoving(false));\r\n\r\n dispatch(\r\n Actions.editPage.onResize({\r\n x: position.x,\r\n y: position.y,\r\n width: parseInt(ref.style.width),\r\n height: parseInt(ref.style.height),\r\n })\r\n );\r\n }}\r\n onDragStop={(e, d) => {\r\n dispatch(Actions.editPage.setMoving(false));\r\n dispatch(Actions.editPage.areaDragged({ x: d.x, y: d.y }));\r\n }}\r\n />\r\n \r\n \r\n )}\r\n\r\n {\r\n if (inEditArea) {\r\n return;\r\n }\r\n if (e.button > 0) return;\r\n const rect = e.currentTarget.getBoundingClientRect();\r\n const offsetX = e.clientX - rect.left;\r\n const offsetY = e.clientY - rect.top;\r\n dispatch(\r\n Actions.editPage.startCreatingRegion({ x: offsetX, y: offsetY })\r\n );\r\n }}\r\n onLoad={(event) => {\r\n dispatch(\r\n Actions.editPage.setDimensions({\r\n width: event.currentTarget.offsetWidth,\r\n height: event.currentTarget.offsetHeight,\r\n })\r\n );\r\n }}\r\n className={\"drag-container\"}\r\n style={{ height: 1500 }}\r\n src={`${BASE_URL}api/CircularPages/${props.pageId}/BigPageImage`}\r\n />\r\n
\r\n \r\n );\r\n};\r\n\r\nconst CircularAreas = (props: {\r\n isEditing: boolean;\r\n circularAreas: CircularArea[] | undefined;\r\n mapAreas: (area: CircularArea, i: number) => JSX.Element | undefined;\r\n}) => <>{props.circularAreas && props.circularAreas.map(props.mapAreas)};\r\n","import styled from \"styled-components\";\r\nimport React, { useState } from \"react\";\r\nimport { Button, Input } from \"antd\";\r\n\r\nexport const Container = styled.div`\r\n width: 100%;\r\n padding: 32px;\r\n`;\r\nexport const HeaderContainer = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n margin-bottom: 32px;\r\n`;\r\n\r\nexport interface CategoryRow {\r\n id: string;\r\n index: number;\r\n name: string;\r\n}\r\n\r\nexport const CategoriesActions = (props: {\r\n onDelete: () => void;\r\n row: CategoryRow;\r\n}) => {\r\n return (\r\n \r\n );\r\n};\r\nexport const EditableCell = (props: {\r\n isUpdating: boolean;\r\n onUpdate: (row: CategoryRow) => void;\r\n row: CategoryRow;\r\n}) => {\r\n const [inputValue, setInputValue] = useState(props.row.name);\r\n\r\n return (\r\n
\r\n {\r\n setInputValue(event.target.value);\r\n }}\r\n value={inputValue}\r\n />\r\n {\r\n props.onUpdate({ ...props.row, name: inputValue });\r\n }}\r\n style={{ marginLeft: 6 }}\r\n >\r\n Update\r\n \r\n
\r\n );\r\n};\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { Button, Input, Table, message } from \"antd\";\r\nimport { ConfirmDeleteModal } from \"../common/components/ConfirmDeleteModal\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { RootState } from \"../../App\";\r\nimport {\r\n deleteCategory,\r\n getCategories,\r\n postCategory,\r\n putCategory,\r\n} from \"./api\";\r\nimport {\r\n CategoriesActions,\r\n CategoryRow,\r\n Container,\r\n EditableCell,\r\n HeaderContainer,\r\n} from \"./components\";\r\nimport { Actions } from \"../Reducers\";\r\n\r\nconst { Column } = Table;\r\n\r\nexport const Categories = () => {\r\n const dispatch = useDispatch();\r\n const rawData = useSelector((state: RootState) => state.categories.data);\r\n\r\n const updateLoading = useSelector(\r\n (state: RootState) => state.categories.updateLoading\r\n );\r\n\r\n const deleteDirty = useSelector(\r\n (state: RootState) => state.categories.deleteDirty\r\n );\r\n const addDirty = useSelector((state: RootState) => state.categories.addDirty);\r\n const updateDirty = useSelector(\r\n (state: RootState) => state.categories.updateDirty\r\n );\r\n\r\n const error = useSelector((state: RootState) => state.categories.error);\r\n\r\n const [inputValue, setInputValue] = useState(\"\");\r\n const [showDeleteModal, setDeleteModal] = useState({\r\n visible: false,\r\n index: -1,\r\n });\r\n const [tableData, setTableData] = useState([] as CategoryRow[]);\r\n\r\n useEffect(() => {\r\n dispatch(getCategories());\r\n }, [dispatch]);\r\n\r\n useEffect(() => {\r\n setTableData(\r\n rawData.map((v, i) => ({\r\n id: v.id,\r\n index: i + 1,\r\n name: v.name,\r\n key: v.id,\r\n }))\r\n );\r\n }, [rawData]);\r\n\r\n useEffect(() => {\r\n addDirty && message.success(\"Category added!\");\r\n dispatch(Actions.categories.addInfoShowed());\r\n }, [dispatch, addDirty]);\r\n useEffect(() => {\r\n updateDirty && message.success(\"Category updated!\");\r\n dispatch(Actions.categories.updateInfoShowed());\r\n }, [dispatch, updateDirty]);\r\n useEffect(() => {\r\n deleteDirty && message.success(\"Category deleted!\");\r\n dispatch(Actions.categories.deleteInfoShowed());\r\n }, [dispatch, deleteDirty]);\r\n\r\n useEffect(() => {\r\n error.dirty && message.error(error.message);\r\n dispatch(Actions.categories.errorShowed);\r\n }, [dispatch, error.dirty, error.message]);\r\n\r\n return (\r\n \r\n {\r\n setDeleteModal({ visible: false, index: -1 });\r\n }}\r\n onConfirm={() => {\r\n dispatch(\r\n deleteCategory({ id: tableData[showDeleteModal.index - 1].id })\r\n );\r\n setDeleteModal({ visible: false, index: -1 });\r\n }}\r\n label={\"Are you sure you want to delete this?\"}\r\n />\r\n

Categories

\r\n \r\n {\r\n setInputValue(event.target.value);\r\n }}\r\n value={inputValue}\r\n />\r\n {\r\n dispatch(postCategory({ name: inputValue }));\r\n setInputValue(\"\");\r\n }}\r\n style={{ marginLeft: 16 }}\r\n >\r\n Create\r\n \r\n \r\n \r\n {\r\n return (\r\n {\r\n dispatch(putCategory(row));\r\n }}\r\n row={row}\r\n isUpdating={\r\n updateLoading.id === row.id && updateLoading.loading\r\n }\r\n key={row.id}\r\n />\r\n );\r\n }}\r\n />\r\n {\r\n return (\r\n {\r\n setDeleteModal({ visible: true, index: row.index });\r\n }}\r\n row={row}\r\n />\r\n );\r\n }}\r\n />\r\n \r\n
\r\n );\r\n};\r\n","import React from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { RootState } from \"../../App\";\r\nimport { Form, Input, Select } from \"antd\";\r\nimport { CircularGroup } from \"./models\";\r\n\r\nconst { Option } = Select;\r\n\r\nconst layout = {\r\n labelCol: { span: 8 },\r\n wrapperCol: { span: 16 },\r\n};\r\n\r\nexport default function CircularGroupForm(props: {\r\n initialValues?: CircularGroup;\r\n form: any;\r\n}) {\r\n const { initialValues, form } = props;\r\n\r\n const retailers = useSelector((state: RootState) => state.retailers.all);\r\n\r\n const currentRetailerId = useSelector(\r\n (state: RootState) => state.currentRetailer.currentRetailer?.id\r\n );\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n {!currentRetailerId && (\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n}\r\n","import React from \"react\";\r\nimport { Modal, Form, Divider, Alert } from \"antd\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { RootState } from \"../../App\";\r\nimport CircularGroupForm from \"./CircularGroupForm\";\r\nimport { editCircularGroup } from \"./api\";\r\nimport { CircularGroup } from \"./models\";\r\nimport { hideEditCircularGroupModal } from \"./slice\";\r\n\r\nexport default function EditCircularGroupModal(props: { row: CircularGroup }) {\r\n const { row } = props;\r\n\r\n const dispatch = useDispatch();\r\n const [form] = Form.useForm();\r\n\r\n const visible = useSelector(\r\n (state: RootState) => state.circularGroups.showEditModal === row.id\r\n );\r\n\r\n const handleSubmit = (values: any) => {\r\n dispatch(editCircularGroup({ id: row.id, ...values }));\r\n };\r\n\r\n const loading = useSelector(\r\n (state: RootState) => state.circularGroups.editLoading\r\n );\r\n\r\n const error = useSelector(\r\n (state: RootState) => state.circularGroups.editError\r\n );\r\n\r\n const handleModalOk = () => {\r\n form\r\n .validateFields()\r\n .then((values) => {\r\n // form.resetFields();\r\n handleSubmit(values);\r\n })\r\n .catch((e) => {});\r\n };\r\n\r\n const handleCancel = () => {\r\n form.resetFields();\r\n dispatch(hideEditCircularGroupModal());\r\n };\r\n\r\n return (\r\n \r\n {error && (\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 { useDispatch, useSelector } from \"react-redux\";\r\nimport { deleteCircularGroup } from \"./api\";\r\nimport { RootState } from \"../../App\";\r\nimport { hideDeleteCircularGroupModal } from \"./slice\";\r\n\r\nimport { Modal, Alert, Divider } from \"antd\";\r\nimport { CircularGroup } from \"./models\";\r\n\r\nexport default function DeleteCircularGroupModal(props: {\r\n row: CircularGroup;\r\n}) {\r\n const { row } = props;\r\n const dispatch = useDispatch();\r\n\r\n const visible = useSelector(\r\n (state: RootState) => state.circularGroups.showDeleteModal === row.id\r\n );\r\n\r\n const loading = useSelector(\r\n (state: RootState) => state.circularGroups.deleteLoading\r\n );\r\n\r\n const error = useSelector(\r\n (state: RootState) => state.circularGroups.deleteError\r\n );\r\n\r\n const handleDelete = () => {\r\n dispatch(deleteCircularGroup(row));\r\n };\r\n\r\n const handleCancel = () => {\r\n dispatch(hideDeleteCircularGroupModal());\r\n };\r\n\r\n return (\r\n \r\n {error && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n

Are you sure you want to delete {row.name}?

\r\n \r\n );\r\n}\r\n","import React from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport {\r\n showEditCircularGroupModal,\r\n showDeleteCircularGroupModal,\r\n} from \"./slice\";\r\nimport { Button } from \"antd\";\r\n\r\nimport EditCircularGroupModal from \"./EditCircularGroupModal\";\r\nimport DeleteCircularGroupModal from \"./DeleteCircularGroupModal\";\r\nimport { CircularGroup } from \"./models\";\r\n\r\nexport default function ActionsRow(props: { row: CircularGroup }) {\r\n const dispatch = useDispatch();\r\n const { row } = props;\r\n\r\n const handleEditClick = () => {\r\n dispatch(showEditCircularGroupModal(row.id));\r\n };\r\n\r\n const handleDeleteClick = () => {\r\n dispatch(showDeleteCircularGroupModal(row.id));\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","import React, { useEffect } from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { getCircularGroups } from \"./api\";\r\nimport { Table, Alert } from \"antd\";\r\nimport ActionsRow from \"./ActionsRow\";\r\nimport { RootState } from \"../../App\";\r\nconst { Column } = Table;\r\n\r\nexport default function CircularGroupsTable() {\r\n const dispatch = useDispatch();\r\n\r\n const circularGroups = useSelector(\r\n (state: RootState) => state.circularGroups.all\r\n );\r\n const error = useSelector((state: RootState) => state.circularGroups.error);\r\n\r\n const retailerId = useSelector(\r\n (state: RootState) => state.currentRetailer.currentRetailer?.id\r\n );\r\n\r\n useEffect(() => {\r\n dispatch(getCircularGroups({ retailerId: retailerId }));\r\n }, [dispatch, retailerId]);\r\n\r\n return error ? (\r\n \r\n ) : (\r\n ({\r\n ...el,\r\n key: el.id,\r\n retailerName: el.retailer.name,\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","import React from \"react\";\r\nimport { Modal, Form, Alert, Divider } from \"antd\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { RootState } from \"../../App\";\r\nimport CircularGroupForm from \"./CircularGroupForm\";\r\nimport { addCircularGroup } from \"./api\";\r\n\r\nexport default function AddCircularGroupModal(props: any) {\r\n const { visible, onCancel } = props;\r\n const dispatch = useDispatch();\r\n const [form] = Form.useForm();\r\n\r\n const handleSubmit = (values: any) => {\r\n dispatch(addCircularGroup(values));\r\n };\r\n\r\n const loading = useSelector(\r\n (state: RootState) => state.circularGroups.addLoading\r\n );\r\n\r\n const error = useSelector(\r\n (state: RootState) => state.circularGroups.addError\r\n );\r\n\r\n const handleModalOk = () => {\r\n form\r\n .validateFields()\r\n .then((values) => {\r\n form.resetFields();\r\n handleSubmit(values);\r\n })\r\n .catch((e) => {});\r\n };\r\n\r\n const handleCancel = () => {\r\n form.resetFields();\r\n onCancel();\r\n };\r\n\r\n return (\r\n \r\n {error && (\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 { useSelector, useDispatch } from \"react-redux\";\r\nimport { RootState } from \"../../App\";\r\nimport { showAddCircularGroupModal, hideAddCircularGroupModal } from \"./slice\";\r\nimport { Button } from \"antd\";\r\nimport { PlusOutlined } from \"@ant-design/icons\";\r\nimport styled from \"styled-components\";\r\nimport CircularGroupsTable from \"./CircularGroupsTable\";\r\nimport AddCircularGroupModal from \"./AddCircularGroupModal\";\r\n\r\nconst Container = styled.div`\r\n width: 100%;\r\n padding: 32px;\r\n`;\r\n\r\nconst HeaderContainer = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n`;\r\n\r\nexport default function CircularGroups() {\r\n const dispatch = useDispatch();\r\n const showAddModal = useSelector(\r\n (state: RootState) => state.circularGroups.showAddModal\r\n );\r\n\r\n const handleAddButton = () => {\r\n dispatch(showAddCircularGroupModal());\r\n };\r\n\r\n const handleAddCancel = () => {\r\n dispatch(hideAddCircularGroupModal());\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n

Circular Groups

\r\n }\r\n onClick={handleAddButton}\r\n >\r\n Add Circular Group\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n );\r\n}\r\n","import slugify from \"slugify\";\r\n\r\nexport const slug = (arg: string) =>\r\n slugify(arg.replace(/\\//g, \" \"), {\r\n replacement: \"-\",\r\n lower: true,\r\n strict: true,\r\n // remove: /[<>?*&^%$#`+~.()'\"!:@]/g,\r\n });\r\n","import React from \"react\";\r\nimport { DatePicker, Form, Input, Select, Upload, Button } from \"antd\";\r\nimport { useSelector } from \"react-redux\";\r\nimport moment from \"moment\";\r\nimport { slug } from \"../common/utils/slug\";\r\nimport { RootState } from \"../../App\";\r\nimport { Circular } from \"./models\";\r\n\r\nconst { RangePicker } = DatePicker;\r\n\r\nexport function CircularsForm(props: {\r\n form: any;\r\n initialValues?: Circular | any;\r\n onSubmit: (v: any) => void;\r\n}) {\r\n const { form, onSubmit, initialValues } = props;\r\n\r\n const formItemLayout = {\r\n labelCol: { span: 8 },\r\n wrapperCol: { span: 14 },\r\n };\r\n\r\n const retailers = useSelector((state: RootState) => state.retailers.all);\r\n const currentRetailerId = useSelector(\r\n (state: RootState) => state.currentRetailer.currentRetailer?.id\r\n );\r\n\r\n const handleBeforeUpload = (file: any) => {\r\n return false;\r\n };\r\n\r\n const handleFormChange = (changedValues: any, allValues: any) => {\r\n if (changedValues.name && slug(changedValues.name) !== allValues.slug) {\r\n form.setFieldsValue({\r\n name: allValues.name,\r\n slug: slug(allValues.name),\r\n });\r\n }\r\n };\r\n\r\n return (\r\n \r\n {!currentRetailerId && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {!initialValues && (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n}\r\n","import React, { useEffect } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { apiClient } from \"../../ApiClient\";\r\nimport { createAuthConfig } from \"../auth/api\";\r\n\r\nimport { Form, Modal, Alert, Divider } from \"antd\";\r\nimport { CircularsForm } from \"./CircularForm\";\r\nimport { RootState } from \"../../App\";\r\nimport { hideAddCircularModal } from \"./slice\";\r\nimport { Circular } from \"./models\";\r\nimport {\r\n addCircular,\r\n setAddCircularLoading,\r\n setAddCircularError,\r\n} from \"./slice\";\r\nimport moment from \"moment\";\r\n\r\nexport const AddCircularModal = () => {\r\n const [form] = Form.useForm();\r\n\r\n const dispatch = useDispatch();\r\n\r\n const retailers = useSelector((state: RootState) => state.retailers.all);\r\n\r\n const visible = useSelector(\r\n (state: RootState) => state.circulars.showAddModal\r\n );\r\n\r\n const loading = useSelector((state: RootState) => state.circulars.addLoading);\r\n const error = useSelector((state: RootState) => state.circulars.addError);\r\n\r\n const currentRetailer = useSelector(\r\n (state: RootState) => state.currentRetailer.currentRetailer\r\n );\r\n const handleSubmit = async (values: any) => {\r\n dispatch(setAddCircularLoading(true));\r\n\r\n // we're doing this because redux doesn't let us dispatch unserializable stuff (i.e. File, FormData)\r\n\r\n const targetRetailer = values.retailer\r\n ? retailers.find((retailer) => retailer.id === values.retailer)\r\n : currentRetailer;\r\n\r\n const prepared: any = {\r\n Title: values.title,\r\n Name: values.name,\r\n Slug: values.slug,\r\n activeDate: values?.dateRange\r\n ? moment.utc(values?.dateRange[0]).toJSON()\r\n : null,\r\n terminationDate: values?.dateRange\r\n ? moment.utc(values?.dateRange[1]).toJSON()\r\n : null,\r\n // PdfFiles: values?.pdfFile.fileList,\r\n \"Retailer.Id\": targetRetailer?.id,\r\n \"Retailer.Name\": targetRetailer?.name,\r\n \"Retailer.Slug\": targetRetailer?.slug,\r\n };\r\n\r\n const formData = new FormData();\r\n\r\n Object.keys(prepared).forEach((key) => {\r\n formData.append(key, prepared[key]);\r\n });\r\n\r\n values?.pdfFile.fileList.forEach((file: any) => {\r\n formData.append(\"PdfFiles\", file.originFileObj);\r\n });\r\n\r\n try {\r\n const res = await apiClient.post(\r\n \"api/Circulars\",\r\n formData,\r\n // prepared,\r\n {\r\n headers: {\r\n ...createAuthConfig().headers,\r\n \"Content-Type\":\r\n \"Multiple/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW\",\r\n },\r\n }\r\n );\r\n dispatch(addCircular(res.data));\r\n } catch (e) {\r\n dispatch(setAddCircularLoading(false));\r\n if (e.response && e.response.data && e.response.data.status === 400) {\r\n dispatch(\r\n setAddCircularError(\r\n [].concat.apply([], Object.values(e.response.data.errors)).join(\" \")\r\n )\r\n );\r\n return;\r\n }\r\n dispatch(setAddCircularError(\"Error adding circular\"));\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (!visible) {\r\n form.resetFields();\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [visible]);\r\n\r\n const onCancel = () => {\r\n form.resetFields();\r\n dispatch(hideAddCircularModal());\r\n };\r\n\r\n const handleModalOk = async () => {\r\n try {\r\n const values = await form.validateFields();\r\n handleSubmit(values);\r\n } catch (e) {}\r\n };\r\n\r\n return (\r\n \r\n {error && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n );\r\n};\r\n","import React, { useEffect } from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { RootState } from \"../../App\";\r\nimport { Modal, Divider, Alert } from \"antd\";\r\nimport { hideDeleteCircularModal } from \"./slice\";\r\nimport { deleteCircular } from \"./api\";\r\nimport { useParams } from \"react-router\";\r\n\r\nexport default function DeleteCircularModal(props: any) {\r\n const { row } = props;\r\n\r\n const dispatch = useDispatch();\r\n\r\n const visible = useSelector(\r\n (state: RootState) => state.circulars.showDeleteModal === row.id\r\n );\r\n\r\n const loading = useSelector(\r\n (state: RootState) => state.circulars.deleteLoading\r\n );\r\n\r\n const handleCancel = () => {\r\n dispatch(hideDeleteCircularModal());\r\n\r\n };\r\n const handleDelete = () => {\r\n dispatch(deleteCircular(row));\r\n };\r\n\r\n const error = useSelector((state: RootState) => state.circulars.deleteError);\r\n return (\r\n \r\n {error && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n

Are you sure you want to delete {row.name}?

\r\n \r\n );\r\n}\r\n","import React from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\n\r\nimport { Button } from \"antd\";\r\nimport { Link } from \"react-router-dom\";\r\nimport DeleteCircularModal from \"./DeleteCircularModal\";\r\nimport { showDeleteCircularModal } from \"./slice\";\r\n\r\nexport default function CircularsActions(props: any) {\r\n const dispatch = useDispatch();\r\n const { row } = props;\r\n\r\n const handleDeleteClick = () => {\r\n dispatch(showDeleteCircularModal(row.id));\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","import React from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport moment from \"moment\";\r\nimport { Table, Alert } from \"antd\";\r\nimport CircularsActions from \"./CircularsActions\";\r\nimport { RootState } from \"../../App\";\r\nimport { Circular } from \"./models\";\r\nimport { useDispatch } from \"react-redux\"\r\n\r\nconst { Column } = Table;\r\nexport default function CircularsTable(props: { circulars: Circular[] }) {\r\n const { circulars } = props;\r\n const dispatch = useDispatch()\r\n const error = useSelector((state: RootState) => state.circulars.error);\r\n return error ? (\r\n \r\n ) : (\r\n ({\r\n ...circular,\r\n retailer: circular?.retailer?.name,\r\n formattedActiveDate: moment(circular.activeDate).format(\"MMM Do YYYY\"),\r\n formattedTerminationDate: moment(circular.terminationDate).format(\r\n \"MMM Do YYYY\"\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}\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { getCirculars } from \"./api\";\r\nimport { Button, Tabs } from \"antd\";\r\nimport { PlusOutlined } from \"@ant-design/icons\";\r\nimport styled from \"styled-components\";\r\nimport { AddCircularModal } from \"./AddCircularModal\";\r\nimport CircularsTable from \"./CircularsTable\";\r\nimport { showAddCircularModal } from \"./slice\";\r\nimport { RootState } from \"../../App\";\r\nimport { Circular } from \"./models\";\r\nimport { deleteCircular } from \"./api\";\r\nimport moment from \"moment\";\r\n\r\nconst { TabPane } = Tabs;\r\n\r\nconst Container = styled.div`\r\n width: 100%;\r\n padding: 32px;\r\n`;\r\nconst HeaderContainer = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n`;\r\nexport default function Circulars() {\r\n const dispatch = useDispatch();\r\n const activeKey = localStorage.getItem(\"circular_active_tab\")\r\n const [activeTab, setActiveTab] = useState(activeKey == null ? 'current' : activeKey);\r\n const handleAddButtonClick = () => {\r\n dispatch(showAddCircularModal());\r\n };\r\n\r\n const circulars = useSelector((state: RootState) => state.circulars.all);\r\n const retailerId = useSelector(\r\n (state: RootState) => state.currentRetailer.currentRetailer?.id\r\n );\r\n\r\n useEffect(() => {\r\n dispatch(getCirculars({ retailerId: retailerId }));\r\n }, [dispatch, retailerId]);\r\n\r\n const expiredCircularDate = () => {\r\n circulars.map((item) => {\r\n let terminationDate = moment(item.terminationDate)\r\n let todayDate = moment()\r\n let diff = todayDate.diff(terminationDate, \"days\")\r\n if (diff > 30) {\r\n dispatch(deleteCircular(item))\r\n }\r\n return (item);\r\n })\r\n }\r\n\r\n useEffect(() => {\r\n expiredCircularDate();\r\n }, [circulars])\r\n\r\n return (\r\n \r\n \r\n

Circulars

\r\n }\r\n onClick={handleAddButtonClick}\r\n >\r\n Add Circular\r\n \r\n \r\n
\r\n {\r\n if (activeTab == \"expired\") {\r\n setActiveTab(\"current\");\r\n localStorage.setItem(\"circular_active_tab\",\"current\")\r\n }\r\n else {\r\n setActiveTab(\"expired\")\r\n localStorage.setItem(\"circular_active_tab\",\"expired\")\r\n }\r\n }}>\r\n \r\n \r\n circular.terminationDate > new Date().toJSON()\r\n )\r\n .map((c) => ({ ...c, key: c.id }))}\r\n />\r\n \r\n \r\n \r\n circular.terminationDate < new Date().toJSON()\r\n )\r\n .map((c) => ({ ...c, key: c.id }))\r\n }\r\n />\r\n \r\n \r\n
\r\n );\r\n}\r\n","import React from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\n\r\nimport { Form, Modal, Divider, Alert } from \"antd\";\r\nimport { CircularsForm } from \"../CircularForm\";\r\nimport { RootState } from \"../../../App\";\r\nimport { hideEditCircularModal } from \"../slice\";\r\nimport { setEditCircularLoading } from \"../slice\";\r\nimport { editCircular } from \"../api\";\r\nimport { Circular } from \"../models\";\r\nimport moment from \"moment\";\r\n\r\nexport const EditCircularModal = (props: { circular: Circular }) => {\r\n const [form] = Form.useForm();\r\n\r\n const retailers = useSelector((state: RootState) => state.retailers.all);\r\n\r\n const dispatch = useDispatch();\r\n\r\n const visible = useSelector(\r\n (state: RootState) => state.circulars.showEditModal\r\n );\r\n\r\n const loading = useSelector(\r\n (state: RootState) => state.circulars.editLoading\r\n );\r\n\r\n const error = useSelector((state: RootState) => state.circulars.editError);\r\n\r\n const handleSubmit = async (values: any) => {\r\n dispatch(setEditCircularLoading(true));\r\n\r\n // we're doing this because redux doesn't let us dispatch unserializable stuff (i.e. File, FormData)\r\n\r\n const targetRetailer = retailers.find(\r\n (retailer) => retailer.id === values.retailer\r\n );\r\n\r\n const prepared: any = {\r\n id: props.circular.id,\r\n Title: values.title,\r\n Name: values.name,\r\n Slug: values.slug,\r\n activeDate: moment.utc(values?.dateRange[0]).toJSON(),\r\n terminationDate: moment.utc(values.dateRange[1]).toJSON(),\r\n retailer: targetRetailer,\r\n circularPages: props.circular.circularPages,\r\n };\r\n\r\n dispatch(editCircular(prepared));\r\n };\r\n\r\n const onCancel = () => {\r\n form.resetFields();\r\n dispatch(hideEditCircularModal());\r\n };\r\n\r\n const handleModalOk = async () => {\r\n try {\r\n const values = await form.validateFields();\r\n handleSubmit(values);\r\n } catch (e) {}\r\n };\r\n\r\n return (\r\n \r\n {error && (\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 { Modal, Button } from \"antd\";\r\n\r\nimport { Magnifier } from \"react-image-magnifiers\";\r\nimport { CircularPage } from \"../models\";\r\nimport { BASE_URL } from \"../../../ApiClient\";\r\nimport \"./style.scss\";\r\n\r\nexport const PreviewModal = (props: {\r\n visible: boolean;\r\n onCancel: () => void;\r\n page: CircularPage;\r\n}) => {\r\n return (\r\n \r\n Close\r\n \r\n }\r\n width=\"640px\"\r\n >\r\n \r\n \r\n );\r\n};\r\n","import React, { useState } from \"react\";\r\nimport styled from \"styled-components\";\r\nimport { Button, Typography } from \"antd\";\r\nimport { CircularPage } from \"../models\";\r\nimport { BASE_URL } from \"../../../ApiClient\";\r\nimport { PreviewModal } from \"../components/PreviewModal\";\r\n\r\nconst { Text } = Typography;\r\n\r\ninterface ThumbnailProps {\r\n circularPage: CircularPage;\r\n actions?: {\r\n name: string;\r\n //@ts-ignore\r\n callback: (event: MouseEvent) => void;\r\n }[];\r\n inListItem?: boolean;\r\n}\r\n\r\nconst Container = styled.div`\r\n border: ${(props) => (props.inlist ? \"none\" : \"1px solid #efefef\")};\r\n box-shadow: ${(props) =>\r\n props.inlist ? \"none\" : \"2px 4px 12px rgba(0, 0, 0, 0.1)\"};\r\n border-radius: 4px;\r\n /* margin-bottom: 16px; */\r\n max-height: 100%;\r\n width: 100%;\r\n`;\r\n\r\nconst InnerContainer = styled.div`\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n padding: 16px;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n overflow: hidden;\r\n max-height: 100%;\r\n`;\r\n\r\nconst ButtonsContainer = styled.div`\r\n width: 100%;\r\n height: 100%;\r\n background-color: #0050b366;\r\n border-radius: 4px;\r\n top: 0px;\r\n left: 0px;\r\n position: absolute;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n\r\n > * {\r\n margin-bottom: 16px;\r\n }\r\n`;\r\n\r\nexport const Thumbnail = (props: ThumbnailProps) => {\r\n const { circularPage, actions, inListItem } = props;\r\n const [hovered, setHovered] = useState(false);\r\n const [showModal, setShowModal] = useState(false);\r\n\r\n const handleMouseEnter = () => {\r\n setHovered(true);\r\n };\r\n\r\n const handleMouseLeave = () => {\r\n setHovered(false);\r\n };\r\n\r\n const handlePreviewClick = () => {\r\n setShowModal(true);\r\n };\r\n\r\n const handleModalCancel = () => {\r\n setShowModal(false);\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n {!inListItem && {circularPage.pageImageFileName}}\r\n {hovered && (\r\n setHovered(false)}>\r\n \r\n {actions?.map((action) => (\r\n action.callback(circularPage)}\r\n key={action.name}\r\n >\r\n {action.name}\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 styled from \"styled-components\";\r\nimport { CircularPage } from \"../models\";\r\nimport { Button } from \"antd\";\r\nimport { Thumbnail } from \"../components/Thumbnail\";\r\n\r\ninterface CircularPageListItemProps {\r\n circularPage: CircularPage;\r\n onRemove: Function;\r\n index: number;\r\n}\r\n\r\nconst Container = styled.div`\r\n border: 1px solid #efefef;\r\n border-radius: 4px;\r\n box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);\r\n display: flex;\r\n max-height: 200px;\r\n width: 100%;\r\n`;\r\n\r\nconst LeftContainer = styled.div`\r\n display: flex;\r\n flex: 1;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n`;\r\n\r\nconst ThumbnailContainer = styled.div`\r\n flex: 0;\r\n`;\r\n\r\nexport const CircularPageListItem = (props: CircularPageListItemProps) => {\r\n const { index, circularPage, onRemove } = props;\r\n return (\r\n \r\n \r\n

{`# ${index + 1}`}

\r\n

{circularPage.pageImageFileName}

\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n );\r\n};\r\n","import { useState, useEffect } from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { apiClient } from \"../../../ApiClient\";\r\nimport { createAuthConfig } from \"../../auth/api\";\r\nimport { CircularPage } from \"../models\";\r\nimport { RootState } from \"../../../App\";\r\n\r\nexport const usePagesForCircular = (\r\n circularGroupId: string,\r\n circularId: string\r\n) => {\r\n const [pages, setPages] = useState([]);\r\n const [getError, setGetError] = useState(\"\");\r\n const [getLoading, setGetLoading] = useState(false);\r\n const [postLoading, setPostLoading] = useState(false);\r\n const [postError, setPostError] = useState(\"\");\r\n\r\n const circularGroups = useSelector(\r\n (state: RootState) => state.circularGroups.all\r\n );\r\n\r\n useEffect(() => {\r\n getPagesForCircular();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [circularGroups]);\r\n\r\n const getPagesForCircular = async () => {\r\n setGetError(\"\");\r\n setGetLoading(true);\r\n\r\n try {\r\n const res = await apiClient.get(\r\n `/api/CircularGroups/${circularGroupId}/PagesForCircular/${circularId}`,\r\n createAuthConfig()\r\n );\r\n if (res.data) {\r\n setPages(res.data);\r\n }\r\n setGetLoading(false);\r\n setGetError(\"\");\r\n } catch (e) {\r\n setGetError(\"Error loading Circular Pages from Circular Group\");\r\n setGetLoading(false);\r\n setPages([]);\r\n }\r\n };\r\n\r\n const postPagesForCircular = async (\r\n pages: CircularPage[]\r\n ): Promise => {\r\n setPostLoading(true);\r\n setPostError(\"\");\r\n try {\r\n await apiClient.post | void>(\r\n `/api/CircularGroups/${circularGroupId}/PagesForCircular/${circularId}`,\r\n pages,\r\n createAuthConfig()\r\n );\r\n setPostLoading(false);\r\n getPagesForCircular();\r\n } catch (e) {\r\n setPostError(\"Error adding Circular Pages to Circular Group\");\r\n setPostLoading(false);\r\n throw new Error(\"Error adding Circular Pages to Circular Group\");\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n getPagesForCircular();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n return [\r\n pages,\r\n getLoading,\r\n getError,\r\n getPagesForCircular,\r\n postPagesForCircular,\r\n postLoading,\r\n postError,\r\n ] as const;\r\n};\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { DragDropContext, Droppable, Draggable } from \"react-beautiful-dnd\";\r\nimport { Row, Col, Button, Modal, Typography, Alert, Divider } from \"antd\";\r\nimport styled from \"styled-components\";\r\nimport { Circular, CircularPage } from \"../models\";\r\nimport { CircularGroup } from \"../../circular-groups/models\";\r\nimport { Thumbnail } from \"../components/Thumbnail\";\r\nimport { CircularPageListItem } from \"../components/CircularPageListItem\";\r\n\r\nimport { usePagesForCircular } from \"./hooks\";\r\n\r\nconst { Text } = Typography;\r\n\r\nconst FlexContainer = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: flex-start;\r\n align-items: flex-start;\r\n max-height: 80vh;\r\n`;\r\n\r\nconst LeftContainer = styled.div`\r\n max-width: 480px;\r\n max-height: calc(80vh - 32px);\r\n flex: 1;\r\n padding-top: 8px;\r\n`;\r\n\r\nconst RightContainer = styled.div`\r\n flex: 1;\r\n display: flex;\r\n flex-direction: column;\r\n max-height: 80vh;\r\n height: 80vh;\r\n`;\r\n\r\nexport function EditButtonAndModal(props: {\r\n circular: Circular;\r\n circularGroup: CircularGroup;\r\n}) {\r\n const { circular, circularGroup } = props;\r\n\r\n const [\r\n pages,\r\n ,\r\n getError,\r\n ,\r\n postPagesForCircular,\r\n postLoading,\r\n postError,\r\n //@ts-ignore\r\n ] = usePagesForCircular(circularGroup.id, circular.id);\r\n\r\n const [showModal, setShowModal] = useState(false);\r\n const [pagesInGroup, setPagesInGroup] = useState(pages as CircularPage[]);\r\n\r\n useEffect(() => {\r\n setPagesInGroup(pages);\r\n }, [pages]);\r\n\r\n const getItemStyle = (snapshot: any, draggableStyle: any) => {\r\n return {\r\n // some basic styles to make the items look a bit nicer\r\n userSelect: \"none\",\r\n margin: `0 0 8px 0`,\r\n\r\n // change background colour if dragging\r\n background: snapshot.isDragging ? \"#ecf6fd\" : \"white\",\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n justifyContent: \"space-between\",\r\n alignItems: \"center\",\r\n marginBottom: \"16px\",\r\n borderRadius: \"4px\",\r\n width: \"100%\",\r\n\r\n ...draggableStyle,\r\n };\r\n };\r\n\r\n const reorder = (\r\n list: CircularPage[],\r\n startIndex: number,\r\n endIndex: number\r\n ): CircularPage[] => {\r\n const result = Array.from(list);\r\n const [removed] = result.splice(startIndex, 1);\r\n result.splice(endIndex, 0, removed);\r\n\r\n return result;\r\n };\r\n\r\n const onDragEnd = (result: any) => {\r\n if (result.source.droppableId === \"list\" && result.destination === null) {\r\n return;\r\n }\r\n\r\n if (result.destination?.droppableId === \"list\") {\r\n if (result.source.droppableId === \"list\") {\r\n setPagesInGroup(\r\n reorder(pagesInGroup, result.source.index, result.destination.index)\r\n );\r\n }\r\n\r\n if (\r\n result.source.droppableId === \"grid\" &&\r\n result.destination.droppableId === \"list\"\r\n ) {\r\n const copy = [...pagesInGroup];\r\n\r\n const targetCP = props.circular.circularPages.find(\r\n (cp: CircularPage) => cp.id === result.draggableId\r\n );\r\n\r\n if (targetCP) {\r\n copy.splice(result.destination.index, 0, targetCP);\r\n }\r\n\r\n setPagesInGroup(copy);\r\n }\r\n }\r\n };\r\n\r\n const removeItem = (index: number) => {\r\n const copy = [...pagesInGroup];\r\n copy.splice(index, 1);\r\n setPagesInGroup(copy);\r\n };\r\n\r\n const handleAddAllPagesClick = () => {\r\n setPagesInGroup(circular.circularPages);\r\n };\r\n\r\n useEffect(() => {\r\n if (showModal) {\r\n document.querySelector(\"body\")?.classList.add(\"dont-scroll\");\r\n } else {\r\n document.querySelector(\"body\")?.classList.remove(\"dont-scroll\");\r\n }\r\n }, [showModal]);\r\n\r\n const handleModalClose = () => {\r\n setShowModal(false);\r\n //resetState\r\n setPagesInGroup(pages);\r\n };\r\n\r\n const handleModalOk = async () => {\r\n try {\r\n await postPagesForCircular(pagesInGroup);\r\n setShowModal(false);\r\n } catch (e) {}\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

{circularGroup.name}

\r\n \r\n \r\n {(provided, snapshot) => (\r\n \r\n {getError && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n {postError && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n {pagesInGroup?.length ? (\r\n pagesInGroup.map((cp: CircularPage, index: number) => {\r\n return (\r\n \r\n {(provided, snapshot) => (\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n })\r\n ) : (\r\n \r\n {`Drop circular pages here`}\r\n \r\n )}\r\n {provided.placeholder}\r\n \r\n )}\r\n \r\n
\r\n \r\n {(provided, snapshot) => (\r\n \r\n \r\n

Circular Pages

\r\n \r\n Add All Pages\r\n \r\n \r\n \r\n {circular.circularPages\r\n .filter(\r\n (cp: CircularPage) =>\r\n !pagesInGroup\r\n .map((page: CircularPage) => page.id)\r\n .includes(cp.id)\r\n )\r\n .map((cp: any, index: number) => (\r\n \r\n \r\n {(provided, snapshot) => (\r\n \r\n \r\n \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 \r\n \r\n );\r\n}\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport styled from \"styled-components\";\r\nimport { Table, Button, Modal, Checkbox, Alert, Spin, Divider } from \"antd\";\r\nimport { RootState } from \"../../../App\";\r\nimport { Circular, CircularPage } from \"../models\";\r\nimport { CircularGroup } from \"../../circular-groups/models\";\r\nimport { getCircularGroups } from \"../../circular-groups/api\";\r\nimport { EditButtonAndModal } from \"./EditButtonAndModal\";\r\nimport { createAuthConfig } from \"../../auth/api\";\r\nimport { apiClient } from \"../../../ApiClient\";\r\nimport { LoadingOutlined } from \"@ant-design/icons\";\r\n\r\nconst antIcon = ;\r\n\r\nconst { Column } = Table;\r\n\r\nconst Container = styled.div`\r\n min-width: 300px;\r\n\r\n flex: 0;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: flex-start;\r\n align-items: flex-start;\r\n`;\r\n\r\nconst postPagesForCircular = async (\r\n cgId: string,\r\n cId: string,\r\n pages: CircularPage[]\r\n) => {\r\n try {\r\n await apiClient.post | void>(\r\n `/api/CircularGroups/${cgId}/PagesForCircular/${cId}`,\r\n pages,\r\n createAuthConfig()\r\n );\r\n } catch (e) {\r\n throw new Error(\"Error adding Circular Pages to Circular Group\");\r\n }\r\n};\r\n\r\nconst getPagesForCircular = async (cgId: string, cId: string) => {\r\n try {\r\n const res = await apiClient.get(\r\n `/api/CircularGroups/${cgId}/PagesForCircular/${cId}`,\r\n createAuthConfig()\r\n );\r\n return res.data;\r\n } catch (e) {\r\n throw new Error(\"Error loading Circular Pages from Circular Group\");\r\n }\r\n};\r\n\r\ninterface CloneModalProps {\r\n circularGroups: CircularGroup[];\r\n visible: string | null;\r\n onCancel: () => void;\r\n circularId: string;\r\n}\r\n\r\nconst CloneModal: React.FC = ({\r\n circularGroups,\r\n visible,\r\n onCancel,\r\n circularId,\r\n}) => {\r\n const [cgsToClone, setCgsToClone] = useState([]);\r\n const [error, setError] = useState(\"\");\r\n const [success, setSuccess] = useState(\"\");\r\n const [loading, setLoading] = useState(false);\r\n\r\n const dispatch = useDispatch();\r\n const retailerId = useSelector(\r\n (state: RootState) => state.currentRetailer.currentRetailer?.id\r\n );\r\n\r\n const handleChange = (cgId: string) => {\r\n if (!cgsToClone.find((el: string) => el === cgId)) {\r\n setCgsToClone([...cgsToClone, cgId]);\r\n } else {\r\n setCgsToClone(cgsToClone.filter((el) => el !== cgId));\r\n }\r\n };\r\n\r\n const handleOk = async () => {\r\n setLoading(true);\r\n const pages = await getPagesForCircular(\r\n circularGroups.find((cg) => cg.id === visible)?.id as string,\r\n circularId\r\n );\r\n\r\n // cgsToClone.forEach(async (cgId) => {\r\n // await postPagesForCircular(cgId, circularId, pages);\r\n // });\r\n\r\n try {\r\n setError(\"\");\r\n setSuccess(\"\");\r\n await Promise.all(\r\n cgsToClone.map((cgId) => postPagesForCircular(cgId, circularId, pages))\r\n );\r\n setSuccess(\"Successfully cloned circular group\");\r\n setLoading(false);\r\n dispatch(getCircularGroups({ retailerId: retailerId }));\r\n\r\n //in order to hide the modal after success\r\n onCancel();\r\n } catch (err) {\r\n setError(\"Error cloning circular group\");\r\n setLoading(false);\r\n }\r\n };\r\n\r\n return (\r\n cg.id === visible)?.name\r\n }`}\r\n okText=\"Clone\"\r\n onOk={handleOk}\r\n onCancel={onCancel}\r\n // okButtonProps={{ disabled: !!success, loading: loading }}\r\n footer={\r\n success || error ? (\r\n \r\n ) : (\r\n <>\r\n \r\n \r\n \r\n )\r\n }\r\n >\r\n {success && (\r\n
\r\n \r\n
\r\n )}\r\n {error && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n {circularGroups\r\n .filter((cg) => cg.id !== visible)\r\n .map((cg) => (\r\n
\r\n el === cg.id)}\r\n onChange={() => handleChange(cg.id)}\r\n style={{ marginRight: 16 }}\r\n />\r\n
{cg.name}
\r\n
\r\n ))}\r\n \r\n );\r\n};\r\n\r\nexport const CircularGroupsList = (props: { circular: Circular }) => {\r\n const dispatch = useDispatch();\r\n const [cgToClone, setCgToClone] = useState(null);\r\n const { circular } = props;\r\n\r\n const circularGroups: CircularGroup[] = useSelector((state: RootState) =>\r\n state.circularGroups.all.filter(\r\n (c) => c.retailer.id === circular.retailer?.id\r\n )\r\n );\r\n\r\n const loading = useSelector(\r\n (state: RootState) => state.circularGroups.loading\r\n );\r\n\r\n const retailerId = useSelector(\r\n (state: RootState) => state.currentRetailer.currentRetailer?.id\r\n );\r\n\r\n useEffect(() => {\r\n if (!circularGroups.length) {\r\n dispatch(getCircularGroups({ retailerId: retailerId }));\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n const handleClone = (rowId: string) => {\r\n setCgToClone(rowId);\r\n };\r\n\r\n const handleCloneCancel = () => {\r\n setCgToClone(null);\r\n };\r\n\r\n return loading ? (\r\n \r\n \r\n \r\n ) : circularGroups.length ? (\r\n \r\n ({\r\n ...cg,\r\n retailerName: cg.retailer.name,\r\n key: cg.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 {!!cgToClone && (\r\n \r\n )}\r\n
\r\n ) : (\r\n \r\n

No circular groups

\r\n
\r\n );\r\n};\r\n","import React, { useState } from \"react\";\r\nimport { useHistory, useParams } from \"react-router-dom\";\r\nimport { Row, Col } from \"antd\";\r\nimport { CircularPage } from \"../models\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { apiClient } from \"../../../ApiClient\";\r\nimport { createAuthConfig } from \"../../auth/api\";\r\nimport { getCircularGroups } from \"../../circular-groups/api\";\r\nimport { getCirculars, getCircularsByid } from \"../api\";\r\nimport { ConfirmDeleteModal } from \"../../common/components/ConfirmDeleteModal\";\r\nimport { Thumbnail } from \"../components/Thumbnail\";\r\nimport { RootState } from \"../../../App\";\r\n\r\nexport const CircularPages = (props: { pages: CircularPage[] }) => {\r\n const [showDeleteModal, setShowDeleteModal] = useState(\"\");\r\n const [isLoading, setIsLoading] = useState(false);\r\n const history = useHistory();\r\n const dispatch = useDispatch();\r\n let { id: circularId } = useParams<{ id: string }>();\r\n const handleEditClick = (cp: CircularPage) => {\r\n history.push(`edit/page/${cp.id}`);\r\n };\r\n\r\n const handleDeleteClick = (id: string) => {\r\n setShowDeleteModal(id);\r\n };\r\n\r\n const handleModalCancel = () => {\r\n setShowDeleteModal(\"\");\r\n };\r\n\r\n const retailerId = useSelector(\r\n (state: RootState) => state.currentRetailer.currentRetailer?.id\r\n );\r\n const deleteCircularPage = async (id: string) => {\r\n try {\r\n setIsLoading(true);\r\n await apiClient.delete(`api/CircularPages/${id}`, createAuthConfig());\r\n setIsLoading(false);\r\n dispatch(getCircularsByid({ id: circularId }));\r\n // dispatch(getCirculars({ retailerId: retailerId }));\r\n // dispatch(getCircularGroups({ retailerId: retailerId }));\r\n } catch (e) { }\r\n };\r\n\r\n return (\r\n \r\n {props.pages.map((p, i) => (\r\n \r\n
\r\n handleDeleteClick(p.id),\r\n },\r\n ]}\r\n />\r\n deleteCircularPage(p.id)}\r\n label={`Are you sure you want to delete ${p.pageImageFileName}?`}\r\n isLoading={isLoading}\r\n \r\n />\r\n
\r\n \r\n ))}\r\n
\r\n );\r\n};\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { getCirculars, getCircularsByid } from \"../api\";\r\nimport { Modal, Upload, Button, Form, Alert, Divider } from \"antd\";\r\nimport { Circular } from \"../models\";\r\nimport { apiClient } from \"../../../ApiClient\";\r\nimport { createAuthConfig } from \"../../auth/api\";\r\nimport { RootState } from \"../../../App\";\r\nimport { useParams } from \"react-router\";\r\n\r\ninterface AddNewPagesModalProps {\r\n circular: Circular;\r\n visible: boolean;\r\n hideModal: () => void;\r\n}\r\n\r\nexport function AddNewPagesModal(props: AddNewPagesModalProps) {\r\n const { circular, visible, hideModal } = props;\r\n const dispatch = useDispatch();\r\n const [form] = Form.useForm();\r\n const [loading, setLoading] = useState(false);\r\n let { id } = useParams<{ id: string }>();\r\n const [error, setError] = useState(null);\r\n const retailerId = useSelector(\r\n (state: RootState) => state.currentRetailer.currentRetailer?.id\r\n );\r\n\r\n useEffect(() => {\r\n setLoading(false);\r\n setError(null);\r\n }, [visible]);\r\n\r\n const handleOk = async () => {\r\n setLoading(true);\r\n setError(null);\r\n try {\r\n await form.validateFields();\r\n form.submit();\r\n } catch (e) {\r\n setLoading(false);\r\n }\r\n };\r\n\r\n const handleSubmit = async (values: any) => {\r\n const formData = new FormData();\r\n if (circular.id) {\r\n formData.append(\"CircularId\", circular?.id);\r\n }\r\n\r\n values.pdfFile.fileList.forEach((file: any) => {\r\n formData.append(\"PdfFiles\", file.originFileObj);\r\n });\r\n\r\n try {\r\n await apiClient.post(`/api/CircularPages`, formData, {\r\n headers: {\r\n ...createAuthConfig().headers,\r\n \"Content-Type\":\r\n \"multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW\",\r\n },\r\n });\r\n // dispatch(getCirculars({ retailerId: retailerId }));\r\n dispatch(getCircularsByid({ id}));\r\n setLoading(false);\r\n setError(null);\r\n hideModal();\r\n } catch (e) {\r\n setLoading(false);\r\n setError(\"There was an error\");\r\n }\r\n };\r\n\r\n return (\r\n hideModal()}\r\n onOk={handleOk}\r\n okButtonProps={loading ? { loading: true } : undefined}\r\n okText=\"Add Pages\"\r\n destroyOnClose\r\n >\r\n {error && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n
\r\n \r\n false} multiple>\r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\n//import { getCirculars } from \"../api\";\r\nimport { getCircularsByid } from \"../api\";\r\nimport { RootState } from \"../../../App\";\r\nimport styled from \"styled-components\";\r\nimport moment from \"moment\";\r\nimport { Button, Spin } from \"antd\";\r\nimport { PlusOutlined } from \"@ant-design/icons\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { showEditCircularModal } from \"../slice\";\r\nimport { EditCircularModal } from \"./EditCircularModal\";\r\nimport { CircularGroupsList } from \"./CircularGroupsList\";\r\nimport { CircularPages } from \"./CircularPagesGrid\";\r\nimport { useParams } from \"react-router-dom\";\r\nimport { Circular } from \"../models\";\r\nimport { AddNewPagesModal } from \"./AddNewPagesModal\";\r\nimport { LoadingOutlined } from \"@ant-design/icons\";\r\n\r\nconst antIcon = ;\r\n\r\nconst Container = styled.div`\r\n width: 100%;\r\n height: 100%;\r\n padding: 32px;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: flex-start;\r\n`;\r\n\r\nconst Header = styled.div`\r\n flex: 0;\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n`;\r\n\r\nconst HeaderLeft = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: flex-start;\r\n\r\n h1 {\r\n margin-bottom: 0px;\r\n }\r\n`;\r\n\r\nconst HeaderRight = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n`;\r\n\r\nconst Main = styled.div`\r\n display: flex;\r\n margin-top: 16px;\r\n`;\r\n\r\nexport default function CircularEdit() {\r\n let { id } = useParams<{ id: string }>();\r\n const dispatch = useDispatch();\r\n const [firstRender, setFirstRender] = useState(true);\r\n\r\n const [addPagesModalVisible, setAddPagesModalVisible] = useState(false);\r\n\r\n // const retailerId = useSelector(\r\n // (state: RootState) => state.currentRetailer.currentRetailer?.id\r\n const retailerId = useSelector(\r\n (state: RootState) => state.currentRetailer.currentRetailer?.id\r\n );\r\n\r\n\r\n\r\n useEffect(() => {\r\n dispatch(getCircularsByid({ id}));\r\n setFirstRender(false);\r\n }, [dispatch, retailerId]);\r\n\r\n const circular: Circular | undefined = useSelector((state: RootState) =>\r\n state.circulars.all.find((circular) => circular.id === id)\r\n );\r\n\r\n const handleEditClick = () => {\r\n dispatch(showEditCircularModal(circular?.id));\r\n };\r\n\r\n const handleAddNewPagesClick = () => {\r\n setAddPagesModalVisible(true);\r\n };\r\n\r\n const handleAddNewPagesCancel = () => {\r\n setAddPagesModalVisible(false);\r\n };\r\n\r\n return circular && !firstRender ? (\r\n <>\r\n \r\n
\r\n \r\n

\r\n {circular.name} - {circular.title}\r\n

\r\n

\r\n {moment(circular.activeDate).format(\"MMM Do YYYY\")} -{\" \"}\r\n {moment(circular.terminationDate).format(\"MMM Do YYYY\")}\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Edit Circular Details\r\n \r\n \r\n\r\n }\r\n style={{ marginLeft: 8 }}\r\n onClick={handleAddNewPagesClick}\r\n >\r\n Add Pages\r\n \r\n \r\n \r\n
\r\n
\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 { Alert, Divider, Table } from \"antd\";\r\nimport { ColumnsType } from \"antd/lib/table\";\r\nimport React, { useEffect } from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { RootState } from \"../../App\";\r\n\r\nexport const EmailsTable = () => {\r\n useEffect(() => {}, []);\r\n\r\n const dataSource = useSelector((Store: RootState) =>\r\n Store.emails.emailsStatistics.map((statistic, position) => {\r\n return { ...statistic, key: position };\r\n })\r\n );\r\n\r\n const statusGetReport = useSelector(\r\n (Store: RootState) => Store.emails.statusGetEmailsReport\r\n );\r\n\r\n const tableColumns: ColumnsType = [\r\n {\r\n title: \"Retailer\",\r\n dataIndex: [\"retailer\", \"name\"],\r\n },\r\n\r\n { title: \"Emails\", dataIndex: \"count\" },\r\n ];\r\n\r\n return (\r\n <>\r\n \r\n {statusGetReport.progress === \"error\" ? (\r\n <>\r\n \r\n \r\n \r\n ) : null}\r\n \r\n );\r\n};\r\n","import { Alert, Statistic } from \"antd\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport styled from \"styled-components\";\r\nimport { RootState } from \"../../App\";\r\nimport { getQuota } from \"./api\";\r\nimport { QuotaInterface } from \"./models\";\r\n\r\nconst Container = styled.div`\r\n flex: 1;\r\n display: flex;\r\n flex-direction: column;\r\n margin-bottom: 32px;\r\n`;\r\n\r\nconst SubContainer = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n width: 300px;\r\n justify-content: space-between;\r\n`;\r\n\r\nexport const Quota = () => {\r\n const dispatch = useDispatch();\r\n const [fristRender, setFirstRender] = useState(true);\r\n\r\n const data = useSelector(\r\n (Store: RootState) => Store.emails.quota\r\n ) as QuotaInterface;\r\n\r\n const status = useSelector((Store: RootState) => Store.emails.statusGetQuota);\r\n\r\n useEffect(() => {\r\n setFirstRender(false);\r\n dispatch(getQuota());\r\n }, [dispatch]);\r\n\r\n return fristRender ? null : status.progress === \"success\" ? (\r\n \r\n \r\n

Daily Quota

\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n

Hourly Quota

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ) : status.progress === \"error\" ? (\r\n \r\n ) : null;\r\n};\r\n","import { DatePicker, Typography } from \"antd\";\r\nimport moment from \"moment\";\r\nimport React from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport styled from \"styled-components\";\r\nimport { RootState } from \"../../App\";\r\nimport { emailsSlice } from \"./slice\";\r\nconst { setDateInterval } = emailsSlice.actions;\r\n\r\nconst Container = styled.div`\r\n margin-top: 10px;\r\n margin-bottom: 10px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-start;\r\n`;\r\n\r\nconst { RangePicker } = DatePicker;\r\nexport const SelectDateInterval = () => {\r\n const dispatch = useDispatch();\r\n\r\n const { dateInterval } = useSelector((Store: RootState) => Store.emails);\r\n\r\n const handlePickDate = (\r\n from: string | undefined,\r\n until: string | undefined\r\n ) => {\r\n if (from && until) {\r\n dispatch(\r\n setDateInterval({\r\n from,\r\n until,\r\n })\r\n );\r\n }\r\n };\r\n\r\n const disabledDate = (current: any) => {\r\n return current && current > moment().endOf(\"day\");\r\n };\r\n return (\r\n \r\n \r\n Interval\r\n \r\n {\r\n handlePickDate(\r\n e?.[0]?.utc().format().toString(),\r\n e?.[1]?.utc().format().toString()\r\n );\r\n }}\r\n />\r\n \r\n );\r\n};\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport styled from \"styled-components\";\r\nimport { RootState } from \"../../App\";\r\nimport { getEmailsReport } from \"./api\";\r\nimport { EmailsTable } from \"./EmailsTable\";\r\nimport { Quota } from \"./Quota\";\r\nimport { SelectDateInterval } from \"./SelectDateInterval\";\r\n\r\nconst Container = styled.div`\r\n height: 100%;\r\n width: 100%;\r\n padding: 32px;\r\n display: flex;\r\n flex-direction: column;\r\n`;\r\n\r\nconst HeaderContainer = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n`;\r\nexport default () => {\r\n const dispatch = useDispatch();\r\n const permissions = useSelector(\r\n (state: RootState) => state.login.authData?.claims.Permission ?? []\r\n );\r\n\r\n const [firstRender, setFirstrender] = useState(true);\r\n\r\n const currentRetailer = useSelector(\r\n (Store: RootState) => Store.currentRetailer.currentRetailer\r\n );\r\n\r\n const dateInterval = useSelector(\r\n (Store: RootState) => Store.emails.dateInterval\r\n );\r\n\r\n useEffect(() => {\r\n setFirstrender(false);\r\n\r\n dispatch(getEmailsReport());\r\n }, [dispatch, permissions, currentRetailer, dateInterval]);\r\n\r\n return firstRender ? null : (\r\n \r\n \r\n

Emails

\r\n
\r\n {permissions.find((permission) => permission === \"IsAdministrator\") ? (\r\n \r\n ) : null}\r\n\r\n \r\n \r\n
\r\n );\r\n};\r\n","import React from \"react\";\r\nimport { Modal, Button } from \"antd\";\r\nimport { Recipe } from \"./models\";\r\nimport parse from \"html-react-parser\";\r\nimport { ClockCircleOutlined } from \"@ant-design/icons\";\r\n\r\ninterface RecipePreviewModalProps {\r\n // recipe: Recipe;\r\n recipe: any;\r\n visible: boolean;\r\n onCancel: () => void;\r\n}\r\nexport const RecipePreviewModal: React.FC = ({\r\n recipe,\r\n visible,\r\n onCancel,\r\n}) => {\r\n //console.log(\"title\", recipe?.content?.ingredientLines);\r\n\r\n return (\r\n Close}\r\n destroyOnClose\r\n onCancel={onCancel}\r\n bodyStyle={{ maxHeight: \"60vh\", overflowX: \"scroll\" }}\r\n centered\r\n >\r\n\r\n \r\n {recipe.content?.details?.displayName}\r\n\r\n \r\n {recipe.content?.details?.totalTime && recipe.content?.details?.totalTimeInSeconds ? (\r\n <>\r\n \r\n \r\n Preparation: {recipe.content?.details?.totalTime}\r\n \r\n {/* Cooking time: {recipe.content?.details?.totalTimeInSeconds} seconds */}\r\n Cooking Time: {recipe.content?.details?.totalTime} \r\n \r\n ) : null}\r\n \r\n

\r\n {recipe.content?.description?.text\r\n ? parse(recipe.content?.description?.text, {\r\n replace: (node: any) => {\r\n if (node.name === \"a\") {\r\n return {node.children[0].data};\r\n }\r\n },\r\n })\r\n : null}\r\n

\r\n\r\n\r\n

Ingredients

\r\n \r\n {recipe?.content?.ingredientLines.map((ingredient: any, index: number) => (\r\n
  • \r\n \r\n {ingredient.wholeLine!='' ? ingredient.wholeLine : ingredient.ingredient }\r\n \r\n
  • \r\n ))}\r\n \r\n\r\n {//@ts-ignore\r\n recipe.analyzedInstructions ? (\r\n //@ts-ignore\r\n recipe.analyzedInstructions[0] ? (\r\n //@ts-ignore\r\n recipe.analyzedInstructions[0]?.steps.length ? (\r\n
    \r\n

    Instructions

    \r\n\r\n \r\n {//@ts-ignore\r\n recipe.analyzedInstructions[0].steps.map(\r\n (instruction: any, index: number) => (\r\n
  • {instruction.step}
  • \r\n )\r\n )}\r\n \r\n
    \r\n ) : null\r\n ) : recipe.instructions ? (\r\n
    \r\n

    Instructions

    \r\n

    {recipe.instructions}

    \r\n
    \r\n ) : null\r\n ) : null}\r\n\r\n {recipe && (\r\n \r\n Source\r\n \r\n )}\r\n \r\n \r\n );\r\n};\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\n\r\nimport { Modal, Input, Button, Checkbox, Spin, Alert, Divider } from \"antd\";\r\nimport { RootState } from \"../../App\";\r\nimport { RecipesCategory, Recipe, APIRecipe } from \"./models\";\r\nimport { hideEditCategoryModal } from \"./slice\";\r\nimport {\r\n getRecipesByCategory,\r\n editRecipe,\r\n editRecipesCategory,\r\n deleteRecipe,\r\n setRecipeOfTheWeek,\r\n} from \"./api\";\r\nimport { RecipePreviewModal } from \"./RecipePreviewModal\";\r\nimport { ToastContainer, toast } from 'react-toastify';\r\nimport 'react-toastify/dist/ReactToastify.css';\r\n\r\nconst { Search } = Input;\r\n\r\ninterface EditRecipesCategoryModalProps {\r\n category: RecipesCategory;\r\n}\r\n\r\nexport const EditRecipesCategoryModal: React.FC = ({\r\n category,\r\n}) => {\r\n const dispatch = useDispatch();\r\n\r\n const recipes = useSelector(\r\n (state: RootState) => state.recipes.recipesByCategory[category.id as string]\r\n );\r\n\r\n const visible = useSelector(\r\n (state: RootState) => state.recipes.showEditCategoryModal === category.id\r\n );\r\n\r\n const [nameInputVal, setNameInputVal] = useState(category.name);\r\n const [previewVisible, setPreviewVisible] = useState(null);\r\n\r\n const loading = useSelector(\r\n (state: RootState) =>\r\n state.recipes.addCategoryLoading ||\r\n state.recipes.getLoading ||\r\n state.recipes.getRecipesByCategoryLoading ||\r\n state.recipes.deleteRecipeLoading ||\r\n state.recipes.editCategoryLoading ||\r\n state.recipes.editRecipeLoading\r\n );\r\n\r\n const errors = useSelector((state: RootState) => [\r\n state.recipes.editRecipeError,\r\n state.recipes.editCategoryError,\r\n state.recipes.deleteRecipeError,\r\n state.recipes.getRecipesByCategoryError,\r\n ]);\r\n\r\n useEffect(() => {\r\n if (visible) {\r\n dispatch(getRecipesByCategory(category.id as string));\r\n } else {\r\n // dispatch(clearCategoryState(category.id as string));\r\n setNameInputVal(category.name);\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [visible]);\r\n\r\n const handleCancel = () => {\r\n dispatch(hideEditCategoryModal());\r\n // setNameInputVal(category.name);\r\n };\r\n\r\n const handleSaveName = () => {\r\n dispatch(editRecipesCategory({ ...category, name: nameInputVal }));\r\n };\r\n\r\n const handleMainRecipeCheckbox = (recipe: Recipe) => {\r\n dispatch(editRecipe({ ...recipe, mainRecipe: true } as APIRecipe));\r\n };\r\n\r\n const handleRecipeOfTheWeekCheckbox = (recipe: Recipe) => {\r\n // dispatch(editRecipe({ ...recipe, recipeOfTheWeek: true } as APIRecipe));\r\n dispatch(setRecipeOfTheWeek(recipe.id));\r\n setNameInputVal(category.name);\r\n };\r\n\r\n const handleFeaturedCheckboxChange = () => {\r\n dispatch(\r\n editRecipesCategory({ ...category, featured: !category.featured })\r\n );\r\n setNameInputVal(category.name);\r\n };\r\n\r\n const handleDelete = (recipe: any) => {\r\n console.log(\"recipe id\", recipe);\r\n const id = recipe[\"tracking-id\"]\r\n dispatch(deleteRecipe(recipe?.id as string));\r\n // dispatch(deleteRecipe(recipe.id as string));\r\n };\r\n\r\n const diffToast = () => {\r\n toast(\"Recipe deleted successfully\")\r\n }\r\n\r\n const handleNameInputChange = (\r\n event: React.ChangeEvent\r\n ) => {\r\n setNameInputVal(event.target.value);\r\n };\r\n\r\n const handlePreviewClick = (recipeId: string) => {\r\n setPreviewVisible(recipeId);\r\n };\r\n\r\n return (\r\n Close}\r\n destroyOnClose\r\n maskClosable={false}\r\n width={580}\r\n bodyStyle={{ height: \"70vh\", overflowX: \"scroll\" }}\r\n >\r\n {errors.map(\r\n (error: string | null) =>\r\n error && (\r\n <>\r\n \r\n \r\n \r\n )\r\n )}\r\n \r\n <>\r\n {recipes && recipes.find((recipe) => recipe.mainRecipe) ? null : (\r\n \r\n )}\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n

    Featured Category

    \r\n
    \r\n
    \r\n {recipes\r\n ? recipes.map((recipe: any) => (\r\n // ? recipes.map((recipe: Recipe) => (\r\n \r\n \r\n \r\n

    \r\n {recipe.title || recipe.content?.details?.name}\r\n

    \r\n \r\n handleMainRecipeCheckbox(recipe)}\r\n />\r\n

    \r\n Main Recipe\r\n

    \r\n handleRecipeOfTheWeekCheckbox(recipe)}\r\n style={{ marginLeft: 12 }}\r\n />\r\n

    \r\n Recipe of the Week\r\n

    \r\n handlePreviewClick(recipe.id)}\r\n >\r\n Preview\r\n \r\n setPreviewVisible(null)}\r\n recipe={recipe}\r\n />\r\n\r\n {\r\n handleDelete(recipe);\r\n diffToast();\r\n }}\r\n >\r\n Delete\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","import React from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { Modal, Alert, Divider } from \"antd\";\r\nimport { RootState } from \"../../App\";\r\nimport { RecipesCategory } from \"./models\";\r\nimport { hideDeleteCategoryModal } from \"./slice\";\r\nimport { deleteRecipesCategory } from \"./api\";\r\n\r\ninterface DeleteRecipesCategoryModalProps {\r\n category: RecipesCategory;\r\n}\r\n\r\nexport const DeleteRecipesCategoryModal: React.FC = ({\r\n category,\r\n}) => {\r\n const dispatch = useDispatch();\r\n const visible = useSelector(\r\n (state: RootState) => state.recipes.showDeleteCategoryModal === category.id\r\n );\r\n const loading = useSelector(\r\n (state: RootState) => state.recipes.deleteCategoryLoading\r\n );\r\n const error = useSelector(\r\n (state: RootState) => state.recipes.deleteCategoryError\r\n );\r\n\r\n const handleOk = () => {\r\n dispatch(deleteRecipesCategory(category.id as string));\r\n };\r\n\r\n const handleCancel = () => {\r\n dispatch(hideDeleteCategoryModal());\r\n };\r\n\r\n return (\r\n \r\n {error && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n

    Are you sure you want to delete {category.name}?

    \r\n \r\n );\r\n};\r\n","import axios from \"axios\";\r\n\r\nconst RAPID_API_KEY = '24cbc6d15fmshebb81cbbe6f8977p178436jsn90ca66ace69a';\r\nconst RAPID_API_HOST = 'yummly2.p.rapidapi.com';\r\nconst RAPID_HOST= 'https://yummly2.p.rapidapi.com';\r\n\r\nconst headers = {\r\n \"x-rapidapi-host\": RAPID_API_HOST,\r\n \"x-rapidapi-key\": RAPID_API_KEY,\r\n};\r\n\r\nexport const searchRecipes = async (query: string, offset?: number) => {\r\n\r\n try {\r\n const res = await axios.get(\r\n // `${RAPID_HOST}/recipes/search`,\r\n `${RAPID_HOST}/feeds/search`,\r\n {\r\n headers,\r\n params: {\r\n q: query,\r\n maxResult: 18,\r\n start: 0,\r\n },\r\n }\r\n );\r\n\r\n //console.log(res.data.feed, \"res\");\r\n // console.log(res.data.feed[0][\"tracking-id\"], \"res\")\r\n\r\n // const fullRecipes = await Promise.all(\r\n // res.data.feed.map(async (recipe: any) => {\r\n // const recInfo = await axios.get(\r\n // `${RAPID_HOST}/feeds/${recipe.details.id}/information`,\r\n // { headers: headers }\r\n // );\r\n\r\n // console.log(fullRecipes, \"fullRecipes\")\r\n\r\n // const sourceUrl = recInfo.data.sourceUrl;\r\n // const recExtracted = await axios.get(\r\n // `${RAPID_HOST}/recipes/extract?url=${sourceUrl}`,\r\n // { headers: headers }\r\n // );\r\n // return {\r\n // ...recipe,\r\n // ...recInfo.data,\r\n // ...recExtracted.data,\r\n // };\r\n // })\r\n // );\r\n return res.data.feed;\r\n } catch {\r\n throw new Error(\"Error searching recipes\");\r\n }\r\n};\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { Modal, Button, Input, Checkbox, Spin, Divider, Alert } from \"antd\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { RecipesCategory, Recipe } from \"./models\";\r\nimport { hideAddRecipesModal } from \"./slice\";\r\nimport { RootState } from \"../../App\";\r\nimport { searchRecipes } from \"./recipesApi\";\r\nimport { getRecipesByCategory, addRecipes } from \"./api\";\r\nimport { RecipePreviewModal } from \"./RecipePreviewModal\";\r\n\r\nconst { Search } = Input;\r\n\r\ninterface AddRecipesModalProps {\r\n category: RecipesCategory;\r\n}\r\nexport const AddRecipesModal: React.FC = ({\r\n category,\r\n}) => {\r\n const dispatch = useDispatch();\r\n const visible = useSelector(\r\n (state: RootState) => state.recipes.showAddRecipesModal === category.id\r\n );\r\n const addError = useSelector(\r\n (state: RootState) => state.recipes.addRecipesError\r\n );\r\n\r\n const recipesInCategory = useSelector(\r\n (state: RootState) =>\r\n state.recipes.recipesByCategory[category.id as string] ?? []\r\n );\r\n\r\n const [selectedRec, setSelectedRec] = useState(0);\r\n\r\n const [recipes, setRecipes] = useState([]);\r\n const [query, setQuery] = useState(\"\");\r\n const [searchLoading, setSearchLoading] = useState(false);\r\n const [findError, setFindError] = useState(\"\");\r\n const [previewVisible, setPreviewVisible] = useState(false);\r\n const [previewData, setPreviewData] = useState(null);\r\n\r\n const addRecipesLoading = useSelector(\r\n (state: RootState) => state.recipes.addRecipesLoading\r\n );\r\n\r\n const getRecipesByCategoryLoading = useSelector(\r\n (state: RootState) => state.recipes.getRecipesByCategoryLoading\r\n );\r\n\r\n useEffect(() => {\r\n if (visible) {\r\n dispatch(getRecipesByCategory(category.id as string));\r\n }\r\n\r\n if (!visible) {\r\n setQuery(\"\");\r\n setRecipes([]);\r\n }\r\n }, [dispatch, category.id, visible]);\r\n\r\n const handleCancel = () => {\r\n setSelectedRec(0)\r\n dispatch(hideAddRecipesModal());\r\n };\r\n\r\n const handleInputChange = (event: React.ChangeEvent) => {\r\n setQuery(event.target.value);\r\n setRecipes([]);\r\n };\r\n\r\n const handleSearch = async () => {\r\n \r\n if (!!query) {\r\n setSearchLoading(true);\r\n try {\r\n \r\n const results = await searchRecipes(query);\r\n \r\n setRecipes(\r\n results.map((result: any) => ({ ...result, selected: false }))\r\n );\r\n\r\n\r\n setSearchLoading(false);\r\n } catch (err) {\r\n // console.error(\"Error finding recipes:\", err); // Add this line\r\n setFindError(\"Error finding recipes\");\r\n setSearchLoading(false);\r\n }\r\n }\r\n };\r\n\r\n const handleLoadMore = async () => {\r\n if (!!query) {\r\n setSearchLoading(true);\r\n try {\r\n const results = await searchRecipes(query, recipes.length);\r\n setRecipes([\r\n ...recipes,\r\n ...results.map((recipe: any) => ({ ...recipe, selected: false })),\r\n ]);\r\n setSearchLoading(false);\r\n } catch (err) {\r\n setFindError(err);\r\n setSearchLoading(false);\r\n }\r\n }\r\n };\r\n\r\n const handleCheckboxClick = (e: any, id: any) => {\r\n\r\n if (e.target.checked == true) {\r\n setSelectedRec(selectedRec + 1)\r\n } else {\r\n setSelectedRec(selectedRec - 1)\r\n }\r\n setRecipes(\r\n recipes.map((recipe: any) =>\r\n recipe[\"tracking-id\"] === id ? { ...recipe, selected: e.target.checked } : recipe\r\n )\r\n );\r\n };\r\n\r\n const handleAddRecipes = () => {\r\n handleCancel()\r\n dispatch(\r\n addRecipes(\r\n recipes\r\n .filter((recipe) => recipe.selected)\r\n .map((recipe) => ({\r\n recipeCategory: category,\r\n json: JSON.stringify(recipe),\r\n mainRecipe: false,\r\n recipeOfTheWeek: false,\r\n }))\r\n )\r\n );\r\n };\r\n\r\n const handlePreviewClick = (recipe: any) => {\r\n setPreviewVisible(true);\r\n setPreviewData(recipe);\r\n };\r\n\r\n const isAlreadySaved = (r: Recipe) => {\r\n // console.log(recipesInCategory.find(\r\n // //@ts-ignore\r\n // (recipe: Recipe) => recipe[\"tracking-id\"] === r[\"tracking-id\"]\r\n // ));\r\n return !!recipesInCategory.find(\r\n //@ts-ignore\r\n (recipe: Recipe) => recipe[\"tracking-id\"] === r[\"tracking-id\"]\r\n );\r\n\r\n };\r\n // const getAddCount = () =>\r\n // recipes.filter((recipe) => recipe.selected && !isAlreadySaved(recipe))\r\n // .length;\r\n\r\n\r\n\r\n\r\n return (\r\n \r\n \r\n {recipes.length ? (\r\n \r\n ) : null}\r\n \r\n }\r\n >\r\n {addError && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n
    \r\n {findError && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n \r\n
    \r\n \r\n {/* \r\n Search Recipes\r\n */}\r\n
    \r\n
    \r\n {recipes.length ? (\r\n
    \r\n {recipes.map((recipe: any) => (\r\n\r\n \r\n \r\n
    \r\n \r\n handleCheckboxClick(e, recipe[\"tracking-id\"])}\r\n />\r\n

    \r\n {recipe.content?.details?.name}\r\n

    \r\n
    \r\n handlePreviewClick(recipe)}\r\n style={{ paddingLeft: 0 }}\r\n >\r\n Preview\r\n \r\n\r\n
    \r\n
    \r\n ))}\r\n {previewData && {\r\n setPreviewVisible(false)\r\n setPreviewData(null)\r\n }}\r\n recipe={previewData}\r\n />}\r\n \r\n Load more\r\n \r\n \r\n ) : null}\r\n \r\n \r\n \r\n );\r\n};\r\n","import React from \"react\";\r\nimport { RecipesCategory } from \"./models\";\r\nimport { Button, Checkbox } from \"antd\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport {\r\n showEditCategoryModal,\r\n showDeleteCategoryModal,\r\n showAddRecipesModal,\r\n} from \"./slice\";\r\nimport { EditRecipesCategoryModal } from \"./EditRecipesCategoryModal\";\r\nimport { DeleteRecipesCategoryModal } from \"./DeleteRecipesCategoryModal\";\r\nimport { AddRecipesModal } from \"./AddRecipesModal\";\r\nimport { editRecipesCategory } from \"./api\";\r\n\r\ninterface ActionsRowProps {\r\n row: RecipesCategory;\r\n}\r\n\r\nexport const ActionsRow: React.FC = ({ row }) => {\r\n const dispatch = useDispatch();\r\n const handleEditButtonClick = () => {\r\n dispatch(showEditCategoryModal(row.id));\r\n };\r\n\r\n const handleDeleteButtonClick = () => {\r\n dispatch(showDeleteCategoryModal(row.id));\r\n };\r\n\r\n const handleAdd = () => {\r\n dispatch(showAddRecipesModal(row.id));\r\n };\r\n\r\n const handleFeaturedChange = () => {\r\n dispatch(editRecipesCategory({ ...row, featured: !row.featured }));\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","import React, { useEffect } from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { getRecipesCategories } from \"./api\";\r\nimport { RootState } from \"../../App\";\r\nimport { Table, Alert, Tag } from \"antd\";\r\nimport { ActionsRow } from \"./ActionsRow\";\r\nimport { RecipesCategory, Recipe } from \"./models\";\r\n\r\nconst { Column } = Table;\r\n\r\ninterface LengthProps {\r\n category: RecipesCategory;\r\n}\r\nconst CategoryLength: React.FC = ({ category }) => {\r\n const length = useSelector(\r\n (state: RootState) =>\r\n state?.recipes?.recipesByCategory[category.id as string]?.length\r\n );\r\n\r\n return length !== undefined ? {length} recipes : null;\r\n};\r\n\r\ninterface CategoryMainProps {\r\n category: RecipesCategory;\r\n}\r\n\r\nconst CategoryMain: React.FC = ({ category }) => {\r\n const main: any = useSelector((state: RootState) =>\r\n state?.recipes?.recipesByCategory[category.id as string]?.find(\r\n (recipe: Recipe) => recipe.mainRecipe\r\n )\r\n );\r\n\r\n\r\n\r\n\r\n return main ? (\r\n
    \r\n \r\n {console.log(main, \"---main\", main?.title)}\r\n {main.title || main?.display?.displayName}\r\n

    \r\n
    \r\n ) : (\r\n No main recipe\r\n );\r\n};\r\n\r\nexport const RecipesCategoriesTable = () => {\r\n const dispatch = useDispatch();\r\n const categories = useSelector(\r\n (state: RootState) => state.recipes.categories\r\n );\r\n\r\n const error = useSelector((state: RootState) => state.recipes.getError);\r\n\r\n useEffect(() => {\r\n dispatch(getRecipesCategories());\r\n }, [dispatch]);\r\n\r\n return error ? (\r\n \r\n ) : (\r\n ({\r\n ...categ,\r\n index: index + 1,\r\n key: categ.id,\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};\r\n","import React, { useEffect } from \"react\";\r\nimport { Modal, Form, Input, Alert, Divider } from \"antd\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { addRecipesCategory } from \"./api\";\r\nimport { hideAddCategoryModal } from \"./slice\";\r\nimport { RootState } from \"../../App\";\r\n\r\nexport const AddRecipesCategoryModal = () => {\r\n const dispatch = useDispatch();\r\n const visible = useSelector(\r\n (state: RootState) => state.recipes.showAddCategoryModal\r\n );\r\n const loading = useSelector(\r\n (state: RootState) => state.recipes.addCategoryLoading\r\n );\r\n const error = useSelector(\r\n (state: RootState) => state.recipes.addCategoryError\r\n );\r\n const [form] = Form.useForm();\r\n\r\n const layout = {\r\n labelCol: { span: 4 },\r\n wrapperCol: { span: 20 },\r\n };\r\n\r\n useEffect(() => {\r\n form.resetFields();\r\n }, [form, visible]);\r\n\r\n const submitForm = (values: any) => {\r\n dispatch(addRecipesCategory(values));\r\n };\r\n\r\n const handleModalOk = () => {\r\n form\r\n .validateFields()\r\n .then((values: any) => submitForm(values))\r\n .catch((e) => {});\r\n };\r\n\r\n const handleCancel = () => {\r\n form.resetFields();\r\n dispatch(hideAddCategoryModal());\r\n };\r\n\r\n return (\r\n \r\n {error && (\r\n <>\r\n \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, { useState, useEffect } from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { RootState } from \"../../App\";\r\nimport { Typography, Row, Col, Button, Spin, Alert } from \"antd\";\r\nimport parse from \"html-react-parser\";\r\nimport { getRecipeOfTheWeek } from \"./api\";\r\nimport { RecipePreviewModal } from \"./RecipePreviewModal\";\r\n\r\nconst { Text } = Typography;\r\n\r\nexport const RecipeOfTheWeek: React.FC = () => {\r\n const dispatch = useDispatch();\r\n const recipe = useSelector(\r\n (state: RootState) => state.recipes.recipeOfTheWeek\r\n ) as any;\r\n const loading = useSelector(\r\n (state: RootState) => state.recipes.getRecipeOfTheWeekLoading\r\n );\r\n const [showModal, setShowModal] = useState(false);\r\n\r\n useEffect(() => {\r\n dispatch(getRecipeOfTheWeek());\r\n }, [dispatch]);\r\n\r\n return (\r\n
    \r\n \r\n {recipe ? (\r\n <>\r\n

    Recipe of the Week

    \r\n

    Category: {recipe.recipeCategory.name}

    \r\n \r\n \r\n \"\"\r\n \r\n \r\n
    \r\n

    {recipe.title || recipe.content?.details?.name}

    \r\n\r\n

    Preparation: {recipe.preparationMinutes || recipe.content?.details?.totalTime}'

    \r\n

    Cooking: {recipe.cookingMinutes || recipe.content?.description?.text}'

    \r\n

    \r\n \r\n {/* {parse(recipe.summary, {\r\n replace: (node: any) => {\r\n if (node.name === \"a\") {\r\n return {node.children[0].data};\r\n }\r\n },\r\n })} */}\r\n {parse(typeof recipe.summary === 'string' ? recipe.summary : '', {\r\n replace: (node: any) => {\r\n if (node.name === \"a\") {\r\n return {node.children[0].data};\r\n }\r\n },\r\n })}\r\n\r\n \r\n

    \r\n \r\n\r\n setShowModal(false)}\r\n recipe={recipe}\r\n />\r\n
    \r\n \r\n
    \r\n \r\n ) : loading ? null : (\r\n \r\n )}\r\n
    \r\n
    \r\n );\r\n};\r\n","import React from \"react\";\r\nimport styled from \"styled-components\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { Button, Spin } from \"antd\";\r\nimport { PlusOutlined } from \"@ant-design/icons\";\r\nimport { RecipesCategoriesTable } from \"./RecipesCategoriesTable\";\r\nimport { showAddCategoryModal } from \"./slice\";\r\nimport { AddRecipesCategoryModal } from \"./AddRecipesCategoryModal\";\r\nimport { RecipeOfTheWeek } from \"./RecipeOfTheWeek\";\r\nimport { RootState } from \"../../App\";\r\n\r\nconst Container = styled.div`\r\n width: 100%;\r\n padding: 32px;\r\n`;\r\n\r\nconst HeaderContainer = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n`;\r\n\r\nexport const Recipes = () => {\r\n const dispatch = useDispatch();\r\n const handleAddButton = () => {\r\n dispatch(showAddCategoryModal());\r\n };\r\n\r\n const loading = useSelector(\r\n (state: RootState) =>\r\n state.recipes.editCategoryLoading ||\r\n state.recipes.getRecipesByCategoryLoading\r\n );\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n

    Recipe Categories

    \r\n }\r\n onClick={handleAddButton}\r\n >\r\n Add Recipe Category\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 } from \"react\";\r\nimport { Modal, Form, Input, Divider, Alert, notification } from \"antd\";\r\n\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { addRetailer } from \"./api\";\r\nimport { RootState } from \"../../App\";\r\n\r\nimport { hideAddRetailerModal } from \"./slice\";\r\nimport { slug } from \"../common/utils/slug\";\r\n\r\nexport default function AddRetailerModal(props: any) {\r\n const [form] = Form.useForm();\r\n\r\n const dispatch = useDispatch();\r\n\r\n const visible = useSelector(\r\n (state: RootState) => state.retailers.showAddModal\r\n );\r\n\r\n const loading = useSelector(\r\n (state: RootState) => state.retailers.addRetailerLoading\r\n );\r\n const error = useSelector(\r\n (state: RootState) => state.retailers.addRetailerError\r\n );\r\n const retailerAdd = useSelector((state : RootState) => state.retailers);\r\n const submitForm = (values: any) => {\r\n dispatch(addRetailer(values));\r\n };\r\n\r\n\r\n useEffect(()=>{\r\n if(retailerAdd.addSuccess){\r\n notification.success({\r\n message: 'Success Message',\r\n description: \"New retailer created successfully.\"\r\n })\r\n }\r\n if(retailerAdd.addError){\r\n notification.error({\r\n message: 'Error Message',\r\n description: \"Unable to create new retailer.\"\r\n })\r\n }\r\n },[retailerAdd.addSuccess,retailerAdd.addError])\r\n\r\n useEffect(() => {\r\n form.resetFields();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [visible]);\r\n\r\n const handleModalOk = () => {\r\n //validates values then sends them to submitForm()\r\n form\r\n .validateFields()\r\n .then((values) => {\r\n submitForm(values);\r\n })\r\n .catch((e) => {});\r\n };\r\n\r\n const handleCancel = () => {\r\n form.resetFields();\r\n dispatch(hideAddRetailerModal());\r\n };\r\n\r\n const handleFormChange = (changedValues: any, allValues: any) => {\r\n if (changedValues.name && slug(changedValues.name) !== allValues.slug) {\r\n form.setFieldsValue({\r\n name: allValues.name,\r\n slug: slug(allValues.name),\r\n });\r\n }\r\n };\r\n\r\n const layout = {\r\n labelCol: { span: 8 },\r\n wrapperCol: { span: 16 },\r\n };\r\n\r\n return (\r\n \r\n {error && (\r\n <>\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \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 { Modal, Button, Input } from \"antd\";\r\nimport { BASE_URL } from \"../../ApiClient\";\r\n\r\nexport default function EmbedModal(props: any) {\r\n const { visible, onCancel, row } = props;\r\n\r\n return (\r\n \r\n Close\r\n \r\n }\r\n width=\"70vw\"\r\n >\r\n

    Weekly Ad

    \r\n \r\n \r\n\r\n
    \r\n\r\n\r\n`}\r\n >\r\n
    \r\n

    Recipes

    \r\n \r\n \r\n\r\n
    \r\n\r\n\r\n`}\r\n />\r\n
    \r\n

    Shopping List

    \r\n \r\n \r\n\r\n
    \r\n\r\n\r\n`}\r\n />\r\n
    \r\n

    Store Picker

    \r\n \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 { Modal, Form, Input, Select, notification } from \"antd\";\r\n\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { editRetailer, getRetailers } from \"./api\";\r\nimport { RootState } from \"../../App\";\r\n\r\nimport { hideEditRetailerModal, resetMessages } from \"./slice\";\r\nimport { slug } from \"../common/utils/slug\";\r\n\r\nimport { getSubservicesByServiceId } from \"../subservices/api\";\r\nimport { Subservice } from \"../subservices/models\";\r\nimport { BASE_URL } from \"../../ApiClient\";\r\nimport _ from 'lodash';\r\nimport { createAuthConfig } from \"../auth/api\";\r\n\r\nexport default function EditModal(props: {\r\n row: {\r\n name: string;\r\n slug: string;\r\n id: string;\r\n from: string;\r\n replyTo: string;\r\n siteName: string;\r\n siteUrl: string;\r\n logoUrl: string;\r\n service: string;\r\n subservice: string;\r\n };\r\n}) {\r\n const { row } = props;\r\n const dispatch = useDispatch();\r\n\r\n const [form] = Form.useForm();\r\n\r\n const visible = useSelector(\r\n (state: RootState) => state.retailers.showEditModal === row.id\r\n );\r\n const editId = useSelector(\r\n (state: RootState) => state.retailers.showEditModal\r\n );\r\n\r\n const loading = useSelector(\r\n (state: RootState) => state.retailers.editRetailerLoading\r\n );\r\n\r\n const error = useSelector((state: RootState) => state.retailers.editRetailerError);\r\n\r\n const services = useSelector(\r\n (state: RootState) => state.services.all\r\n );\r\n const subservices = useSelector((state: RootState) => state.subservices.subServiceByServiceId);\r\n\r\n const [subServiceOption, setSubServiceOption] = useState([]);\r\n const submitForm = (values: any) => {\r\n dispatch(editRetailer({ ...row, ...values }));\r\n };\r\n const [serviceId, setServiceId] = useState('');\r\n const [serviceSubservice, setServiceSubservice] = useState<{ serviceId: string, subservices: number[] }[]>([]);\r\n const [submitDisable, setSubmitDisable] = useState(false);\r\n const [api, contextHolder] = notification.useNotification();\r\n const retailer = useSelector((state: RootState) => state.retailers);\r\n\r\n\r\n useEffect(() => {\r\n let SubServices: Subservice[] = [];\r\n let serviceSubArray: { serviceId: string, subservices: number[] }[] = [];\r\n // setSubServiceOption(SubServices);\r\n // setServiceSubservice(serviceSubArray);\r\n row.service?.split(\",\").forEach(async (id) => {\r\n let isExist = serviceSubservice.find(item => item.serviceId == id);\r\n if (!isExist) {\r\n (async () => {\r\n const result = await fetch(`${BASE_URL}api/getsubservicedetail/${id}`,createAuthConfig());\r\n const data = await result.json()\r\n let subserviceIds = data.subservice.map((item: any) => Number(item.id));\r\n SubServices = [...SubServices, ...data.subservice];\r\n serviceSubArray = [...serviceSubArray, { serviceId: id, subservices: subserviceIds }]\r\n setSubServiceOption(SubServices);\r\n setServiceSubservice(serviceSubArray);\r\n })()\r\n setServiceId(id)\r\n }\r\n })\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (subservices.length) {\r\n setSubServiceOption([...subServiceOption, ...subservices]);\r\n let subserviceIds = subservices.map(item => Number(item.id))\r\n setServiceSubservice(old => [...old, { serviceId: serviceId, subservices: subserviceIds }]);\r\n }\r\n }, [subservices]);\r\n\r\n\r\n\r\n useEffect(() => {\r\n if (retailer.editSuccess && visible) {\r\n api.success({\r\n message: 'Success Message',\r\n description: `${row.name} retailer updated successfully.`\r\n })\r\n dispatch(resetMessages())\r\n dispatch(getRetailers({ retailerId: \"\" }))\r\n dispatch(hideEditRetailerModal());\r\n }\r\n if (retailer.editError && visible) {\r\n api.error({\r\n message: 'Error Message',\r\n description: `Unable to update ${row.name} retailer.`\r\n })\r\n dispatch(resetMessages());\r\n dispatch(getRetailers({ retailerId: \"\" }))\r\n dispatch(hideEditRetailerModal());\r\n }\r\n }, [retailer.editError, retailer.editSuccess])\r\n\r\n const handleModalOk = () => {\r\n form\r\n .validateFields()\r\n .then((values) => {\r\n values.service = values.service ? values.service?.join(\",\") : null\r\n values.subservice = values.subservice ? values.subservice?.join(\",\") : null\r\n dispatch(resetMessages());\r\n submitForm(values);\r\n }).catch((e) => { });\r\n };\r\n\r\n\r\n const handleCancel = () => {\r\n form.resetFields();\r\n let SubServices: Subservice[] = [];\r\n let serviceSubArray: { serviceId: string, subservices: number[] }[] = [];\r\n // setSubServiceOption(SubServices);\r\n // setServiceSubservice(serviceSubArray);\r\n row.service?.split(\",\").forEach(async (id) => {\r\n let isExist = serviceSubservice.find(item => item.serviceId == id);\r\n if (!isExist) {\r\n (async () => {\r\n const result = await fetch(`${BASE_URL}api/getsubservicedetail/${id}`);\r\n const data = await result.json()\r\n let subserviceIds = data.subservice.map((item: any) => Number(item.id));\r\n SubServices = [...SubServices, ...data.subservice];\r\n serviceSubArray = [...serviceSubArray, { serviceId: id, subservices: subserviceIds }]\r\n\r\n setSubServiceOption(SubServices);\r\n setServiceSubservice(serviceSubArray);\r\n })()\r\n setServiceId(id)\r\n }\r\n })\r\n dispatch(hideEditRetailerModal());\r\n setServiceId('')\r\n };\r\n\r\n const handleFormChange = (changedValues: any, allValues: any) => {\r\n if (changedValues.name && slug(changedValues.name) !== allValues.slug) {\r\n form.setFieldsValue({\r\n name: allValues.name,\r\n slug: slug(allValues.name),\r\n });\r\n\r\n }\r\n\r\n if (allValues.name != undefined && allValues.slug != undefined) {\r\n setSubmitDisable(false);\r\n } else {\r\n setSubmitDisable(true);\r\n }\r\n };\r\n\r\n const layout = {\r\n labelCol: { span: 8 },\r\n wrapperCol: { span: 16 },\r\n };\r\n\r\n\r\n const handleChange = async (value: string) => {\r\n if (value) {\r\n setServiceId(value)\r\n dispatch(getSubservicesByServiceId({ serviceId: Number(value) }))\r\n }\r\n };\r\n\r\n const handleChangeSubService = (value: string[]) => {\r\n }\r\n\r\n const handleServiceDeselect = (value: string) => {\r\n let service = serviceSubservice.find(item => item.serviceId == value);\r\n let remainService = serviceSubservice.filter(item => item.serviceId != value);\r\n setServiceSubservice(remainService);\r\n\r\n let subservices = service?.subservices;\r\n let updateSubService = subServiceOption?.filter(item => !subservices?.includes(Number(item.id)));\r\n if (updateSubService != undefined) {\r\n setSubServiceOption(updateSubService)\r\n let formValues = form.getFieldsValue();\r\n const selectedSubservices = formValues.subservice;\r\n\r\n let newSelected = selectedSubservices?.filter((id: string) => !subservices?.includes(Number(id)));\r\n\r\n form.setFieldsValue({ subservice: newSelected })\r\n }\r\n else {\r\n form.resetFields([\"subservice\"]);\r\n }\r\n }\r\n\r\n\r\n return (\r\n <>\r\n {contextHolder}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* \r\n \r\n */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \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 } from \"react\";\r\nimport { Modal, Alert, Divider, notification } from \"antd\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { deleteRetailer } from \"./api\";\r\nimport { RootState } from \"../../App\";\r\nimport { hideDeleteRetailerModal } from \"./slice\";\r\n\r\nexport default function DeleteModal(props: {\r\n row: { name: string; slug: string; id: string };\r\n}) {\r\n const { row } = props;\r\n const dispatch = useDispatch();\r\n const visible = useSelector(\r\n (state: RootState) => state.retailers.showDeleteModal === row.id\r\n );\r\n const loading = useSelector(\r\n (state: RootState) => state.retailers.deleteRetailerLoading\r\n );\r\n const error = useSelector(\r\n (state: RootState) => state.retailers.deleteRetailerError\r\n );\r\n\r\n const retailer = useSelector((state: RootState) => state.retailers);\r\n\r\n useEffect(() => {\r\n if (retailer.deleteSuccess && visible) {\r\n notification.success({\r\n message: 'Success Message',\r\n description: `${row.name} retailer deleted successfully.`\r\n })\r\n }\r\n if (retailer.deleteError && visible) {\r\n notification.error({\r\n message: 'Error Message',\r\n description: `Unable to delete ${row.name} retailer.`\r\n })\r\n }\r\n }, [retailer.deleteError, retailer.deleteSuccess]);\r\n\r\n \r\nconsole.log(\"retailer.deleteError : \",retailer.deleteError);\r\nconsole.log(\"retailer.deleteSuccess : \",retailer.deleteSuccess);\r\n\r\n\r\n\r\n const handleDelete = () => {\r\n dispatch(deleteRetailer(row));\r\n };\r\n\r\n const handleCancel = () => {\r\n dispatch(hideDeleteRetailerModal());\r\n };\r\n\r\n return (\r\n \r\n {/* {error && (\r\n <>\r\n \r\n \r\n \r\n )} */}\r\n

    Are you sure you want to delete {row.name}?

    \r\n \r\n );\r\n}\r\n","import React, { useState } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { showEditRetailerModal, showDeleteRetailerModal, resetMessages } from \"./slice\";\r\nimport { Button } from \"antd\";\r\nimport { LinkOutlined } from \"@ant-design/icons\";\r\nimport EmbedModal from \"./EmbedModal\";\r\nimport EditRetailerModal from \"./EditRetailerModal\";\r\nimport DeleteRetailerModal from \"./DeleteRetailerModal\";\r\nimport { getServices } from \"../services/api\";\r\nimport { getSubservices } from \"../subservices/api\";\r\nimport { RootState } from \"../../App\";\r\n\r\nexport default function ActionsRow(props: {\r\n row: {\r\n key: string;\r\n name: string;\r\n slug: string;\r\n id: string;\r\n from: string;\r\n replyTo: string;\r\n siteName: string;\r\n siteUrl: string;\r\n logoUrl: string;\r\n service: string;\r\n subservice: string;\r\n };\r\n}) {\r\n const dispatch = useDispatch();\r\n const { row } = props;\r\n const [showEmbedModal, setShowEmbedModal] = useState(false);\r\n const [editId, setEditId] = useState();\r\n const visibleId = useSelector(\r\n (state: RootState) => state.retailers.showEditModal\r\n );\r\n const [deleteId, setDeleteId] = useState();\r\n const handleEditButtonClick = (id: any) => {\r\n setEditId(id);\r\n dispatch(resetMessages());\r\n dispatch(getServices({ retailerId: '1' }))\r\n dispatch(getSubservices({ retailerId: '1' }))\r\n dispatch(showEditRetailerModal(row.id));\r\n };\r\n\r\n const handleDeleteButtonClick = () => {\r\n setDeleteId(row.id);\r\n dispatch(showDeleteRetailerModal(row.id));\r\n };\r\n\r\n return (\r\n <>\r\n
    \r\n \r\n setShowEmbedModal(false)}\r\n row={row}\r\n />\r\n\r\n }\r\n href={row.siteUrl}\r\n target=\"_blank\"\r\n >\r\n Retailer Page\r\n \r\n\r\n \r\n {\r\n (editId && editId == row.id) &&\r\n \r\n }\r\n\r\n \r\n {\r\n (deleteId && deleteId == row.id) &&\r\n \r\n }\r\n
    \r\n \r\n );\r\n}\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { getRetailers } from \"./api\";\r\nimport { Table, Alert, Avatar, Tooltip, Pagination, Select, Input } from \"antd\";\r\nimport ActionsRow from \"./ActionsRow\";\r\nimport { RootState } from \"../../App\";\r\nimport { getServices } from \"../services/api\";\r\nimport socialMediaIcon from \"../../resources/social_media_service_icon.png\";\r\nimport webSiteIcon from \"../../resources/web_service_icon.png\";\r\nimport loyalyIcon from \"../../resources/loyalty_service_icon.png\";\r\nimport emailIcon from \"../../resources/email_service_icon.png\";\r\nimport mobileApp from \"../../resources/mobile_service_icon.png\";\r\n\r\n\r\nconst { Column } = Table;\r\n\r\nexport default function RetailersTable() {\r\n const dispatch = useDispatch();\r\n const storedPageSize = localStorage.getItem(\"retailerPerPage\");\r\n const [pageSize, setPageSize] = useState(storedPageSize == null ? 25 : Number(storedPageSize));\r\n const retailers = useSelector((state: RootState) => state.retailers.all);\r\n\r\n const error = useSelector((state: RootState) => state.retailers.error);\r\n const retailerId = useSelector(\r\n (state: RootState) => state.retailers.currentRetailer?.id\r\n );\r\n const loading = useSelector(\r\n (state: RootState) => state.retailers.editRetailerLoading\r\n );\r\n const [replica, setReplica] = React.useState(retailers);\r\n const [searchType, setSearchType] = React.useState('name');\r\n\r\n const handleChangeSearch = (e: { target: { value: string; }; }) => {\r\n if (e.target.value.length > 0) {\r\n let filteredData = retailers.filter(data => data.name.toLowerCase().includes(e.target.value.toLowerCase()))\r\n setReplica(filteredData)\r\n } else {\r\n setReplica(retailers)\r\n }\r\n };\r\n\r\n\r\n // handle Change search type function\r\n const handleChangeSearchType = (value: string) => {\r\n setSearchType(value)\r\n }\r\n const orderStorageName = \"retailer_order\"\r\n let localOrder = localStorage.getItem(orderStorageName);\r\n const [order, setOrder] = useState(localOrder);\r\n const [jsonOrder, setJsonOrder] = useState(JSON.parse(order !== null ? order : JSON.stringify({ order: \"ascend\", column: \"name\" })));\r\n const [columnAttr, setcolumnAttr] = React.useState({\r\n sortOrder: jsonOrder?.order == \"ascend\" ? \"ascend\" : \"descend\",\r\n sortDirections: [\"ascend\", \"descend\", \"ascend\"]\r\n });\r\n\r\n useEffect(() => {\r\n setReplica(retailers)\r\n }, [retailers])\r\n useEffect(() => {\r\n if (order == null) {\r\n localStorage.setItem(orderStorageName, JSON.stringify({ order: \"ascend\", column: \"name\" }));\r\n setOrder(JSON.stringify({ order: \"ascend\", column: \"name\" }))\r\n setJsonOrder({ order: \"ascend\", column: \"name\" });\r\n }\r\n if (order !== null) {\r\n setJsonOrder(JSON.parse(order));\r\n }\r\n }, [order]);\r\n\r\n const onHeaderCell = (columnName: string) => {\r\n return {\r\n onClick: () => {\r\n if (jsonOrder.order == \"descend\") {\r\n localStorage.setItem(orderStorageName, JSON.stringify({ order: \"ascend\", column: columnName }));\r\n setOrder(JSON.stringify({ order: \"ascend\", column: columnName }))\r\n setcolumnAttr({ ...columnAttr, sortOrder: \"ascend\" })\r\n }\r\n else {\r\n localStorage.setItem(orderStorageName, JSON.stringify({ order: \"descend\", column: columnName }));\r\n setOrder(JSON.stringify({ order: \"descend\", column: columnName }));\r\n setcolumnAttr({ ...columnAttr, sortOrder: \"descend\" })\r\n }\r\n },\r\n };\r\n }\r\n\r\n useEffect(() => {\r\n dispatch(getRetailers({ retailerId: retailerId }));\r\n }, [dispatch, retailerId, loading]);\r\n\r\n useEffect(() => {\r\n dispatch(getServices({ retailerId: \"\" }))\r\n }, [])\r\n const services = useSelector(\r\n (state: RootState) => state.services.all\r\n );\r\n\r\n const servicesArray = [\r\n { serviceName: 'email', icon: emailIcon },\r\n { serviceName: 'loyalty', icon: loyalyIcon },\r\n { serviceName: 'mobile app', icon: mobileApp },\r\n { serviceName: 'social media', icon: socialMediaIcon },\r\n { serviceName: 'website', icon: webSiteIcon },\r\n ];\r\n\r\n return error ? (\r\n \r\n ) : (\r\n <>\r\n
    \r\n \r\n

    Total Count:   {replica.length}

    \r\n
    \r\n {\r\n localStorage.setItem(\"retailerPerPage\",size.toString());\r\n setPageSize(size ? size : replica.length)\r\n }\r\n }}\r\n dataSource={replica.map((el, index) => ({ ...el, index: index + 1, key: el.id }))}\r\n >\r\n onHeaderCell(\"index\")}\r\n sorter={(a: any, b: any) => {\r\n if (a.index < b.index) { return -1; }\r\n if (a.index > b.index) { return 1; }\r\n return 0;\r\n }}\r\n />\r\n {\r\n let fa = a.name.toLowerCase(),\r\n fb = b.name.toLowerCase();\r\n if (fa < fb) {\r\n return -1;\r\n }\r\n if (fa > fb) {\r\n return 1;\r\n }\r\n return 0;\r\n }}\r\n onHeaderCell={(column) => onHeaderCell(\"name\")}\r\n />\r\n \r\n {\r\n let serviceArray = data?.split(\",\") || [];\r\n return (\r\n
    \r\n {\r\n servicesArray.map((item: any, index: number) => {\r\n let serviceData = services.find(service => service.name.toLowerCase() == item.serviceName)\r\n if (serviceArray.includes(serviceData?.id.toString())) {\r\n return \r\n {serviceData?.name.substring(0, 2).toUpperCase()}\r\n ;\r\n }\r\n else {\r\n return
    ;\r\n }\r\n })\r\n }\r\n {\r\n data !== null && data !== \"\" && serviceArray.map((item: string, index: number) => {\r\n let serviceData = services.find(service => service.id == item)\r\n if (!servicesArray.find(item => item.serviceName == serviceData?.name.toLowerCase())) {\r\n return \r\n {serviceData?.name.substring(0, 2).toUpperCase()}\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 );\r\n}\r\n","import React from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { showAddRetailerModal } from \"./slice\";\r\nimport { Button } from \"antd\";\r\nimport { PlusOutlined } from \"@ant-design/icons\";\r\nimport styled from \"styled-components\";\r\nimport AddRetailerModal from \"./AddRetailerModal\";\r\nimport RetailersTable from \"./RetailersTable\";\r\n\r\nconst Container = styled.div`\r\n width: 100%;\r\n padding: 32px;\r\n`;\r\n\r\nconst HeaderContainer = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n`;\r\n\r\nexport default function Retailers() {\r\n const dispatch = useDispatch();\r\n\r\n const handleAddButton = () => {\r\n dispatch(showAddRetailerModal());\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n

    Retailers

    \r\n }\r\n onClick={handleAddButton}\r\n >\r\n Add Retailer\r\n \r\n
    \r\n \r\n
    \r\n \r\n \r\n );\r\n}\r\n","import React from \"react\";\r\nimport PlacesAutocomplete from \"react-places-autocomplete\";\r\nimport { Input, Menu, Dropdown } from \"antd\";\r\n\r\nexport default function AddressAutocompleteInput(props: {\r\n value: string;\r\n onChange: (value: string) => void;\r\n onSelect: (address: string, placeID: string) => void;\r\n onSuggestionClick: (suggestion: any) => void;\r\n}) {\r\n const { value, onChange, onSelect, onSuggestionClick } = props;\r\n\r\n return (\r\n \r\n {({ getInputProps, suggestions, getSuggestionItemProps, loading }) => (\r\n <>\r\n \r\n {suggestions.map((suggestion) => {\r\n return (\r\n \r\n onSuggestionClick(suggestion)}\r\n >\r\n {suggestion.description}\r\n \r\n \r\n );\r\n })}\r\n \r\n }\r\n visible={!!value && !!suggestions.length}\r\n >\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n}\r\n","export const states = [\r\n {\r\n name: \"Alabama\",\r\n abbreviation: \"AL\",\r\n },\r\n {\r\n name: \"Alaska\",\r\n abbreviation: \"AK\",\r\n },\r\n {\r\n name: \"American Samoa\",\r\n abbreviation: \"AS\",\r\n },\r\n {\r\n name: \"Arizona\",\r\n abbreviation: \"AZ\",\r\n },\r\n {\r\n name: \"Arkansas\",\r\n abbreviation: \"AR\",\r\n },\r\n {\r\n name: \"California\",\r\n abbreviation: \"CA\",\r\n },\r\n {\r\n name: \"Colorado\",\r\n abbreviation: \"CO\",\r\n },\r\n {\r\n name: \"Connecticut\",\r\n abbreviation: \"CT\",\r\n },\r\n {\r\n name: \"Delaware\",\r\n abbreviation: \"DE\",\r\n },\r\n {\r\n name: \"District Of Columbia\",\r\n abbreviation: \"DC\",\r\n },\r\n {\r\n name: \"Federated States Of Micronesia\",\r\n abbreviation: \"FM\",\r\n },\r\n {\r\n name: \"Florida\",\r\n abbreviation: \"FL\",\r\n },\r\n {\r\n name: \"Georgia\",\r\n abbreviation: \"GA\",\r\n },\r\n {\r\n name: \"Guam\",\r\n abbreviation: \"GU\",\r\n },\r\n {\r\n name: \"Hawaii\",\r\n abbreviation: \"HI\",\r\n },\r\n {\r\n name: \"Idaho\",\r\n abbreviation: \"ID\",\r\n },\r\n {\r\n name: \"Illinois\",\r\n abbreviation: \"IL\",\r\n },\r\n {\r\n name: \"Indiana\",\r\n abbreviation: \"IN\",\r\n },\r\n {\r\n name: \"Iowa\",\r\n abbreviation: \"IA\",\r\n },\r\n {\r\n name: \"Kansas\",\r\n abbreviation: \"KS\",\r\n },\r\n {\r\n name: \"Kentucky\",\r\n abbreviation: \"KY\",\r\n },\r\n {\r\n name: \"Louisiana\",\r\n abbreviation: \"LA\",\r\n },\r\n {\r\n name: \"Maine\",\r\n abbreviation: \"ME\",\r\n },\r\n {\r\n name: \"Marshall Islands\",\r\n abbreviation: \"MH\",\r\n },\r\n {\r\n name: \"Maryland\",\r\n abbreviation: \"MD\",\r\n },\r\n {\r\n name: \"Massachusetts\",\r\n abbreviation: \"MA\",\r\n },\r\n {\r\n name: \"Michigan\",\r\n abbreviation: \"MI\",\r\n },\r\n {\r\n name: \"Minnesota\",\r\n abbreviation: \"MN\",\r\n },\r\n {\r\n name: \"Mississippi\",\r\n abbreviation: \"MS\",\r\n },\r\n {\r\n name: \"Missouri\",\r\n abbreviation: \"MO\",\r\n },\r\n {\r\n name: \"Montana\",\r\n abbreviation: \"MT\",\r\n },\r\n {\r\n name: \"Nebraska\",\r\n abbreviation: \"NE\",\r\n },\r\n {\r\n name: \"Nevada\",\r\n abbreviation: \"NV\",\r\n },\r\n {\r\n name: \"New Hampshire\",\r\n abbreviation: \"NH\",\r\n },\r\n {\r\n name: \"New Jersey\",\r\n abbreviation: \"NJ\",\r\n },\r\n {\r\n name: \"New Mexico\",\r\n abbreviation: \"NM\",\r\n },\r\n {\r\n name: \"New York\",\r\n abbreviation: \"NY\",\r\n },\r\n {\r\n name: \"North Carolina\",\r\n abbreviation: \"NC\",\r\n },\r\n {\r\n name: \"North Dakota\",\r\n abbreviation: \"ND\",\r\n },\r\n {\r\n name: \"Northern Mariana Islands\",\r\n abbreviation: \"MP\",\r\n },\r\n {\r\n name: \"Ohio\",\r\n abbreviation: \"OH\",\r\n },\r\n {\r\n name: \"Oklahoma\",\r\n abbreviation: \"OK\",\r\n },\r\n {\r\n name: \"Oregon\",\r\n abbreviation: \"OR\",\r\n },\r\n {\r\n name: \"Palau\",\r\n abbreviation: \"PW\",\r\n },\r\n {\r\n name: \"Pennsylvania\",\r\n abbreviation: \"PA\",\r\n },\r\n {\r\n name: \"Puerto Rico\",\r\n abbreviation: \"PR\",\r\n },\r\n {\r\n name: \"Rhode Island\",\r\n abbreviation: \"RI\",\r\n },\r\n {\r\n name: \"South Carolina\",\r\n abbreviation: \"SC\",\r\n },\r\n {\r\n name: \"South Dakota\",\r\n abbreviation: \"SD\",\r\n },\r\n {\r\n name: \"Tennessee\",\r\n abbreviation: \"TN\",\r\n },\r\n {\r\n name: \"Texas\",\r\n abbreviation: \"TX\",\r\n },\r\n {\r\n name: \"Utah\",\r\n abbreviation: \"UT\",\r\n },\r\n {\r\n name: \"Vermont\",\r\n abbreviation: \"VT\",\r\n },\r\n {\r\n name: \"Virgin Islands\",\r\n abbreviation: \"VI\",\r\n },\r\n {\r\n name: \"Virginia\",\r\n abbreviation: \"VA\",\r\n },\r\n {\r\n name: \"Washington\",\r\n abbreviation: \"WA\",\r\n },\r\n {\r\n name: \"West Virginia\",\r\n abbreviation: \"WV\",\r\n },\r\n {\r\n name: \"Wisconsin\",\r\n abbreviation: \"WI\",\r\n },\r\n {\r\n name: \"Wyoming\",\r\n abbreviation: \"WY\",\r\n },\r\n];\r\n","import { slug } from \"../common/utils/slug\";\r\n\r\nexport const formatAddressAndSlug = (res: any, coordinates: any) => {\r\n let address: any = {\r\n streetNumber: \"\",\r\n street: \"\",\r\n city: \"\",\r\n county: \"\",\r\n state: \"\",\r\n zipCode: \"\",\r\n address1: \"\",\r\n address2: \"\",\r\n latitude: \"\",\r\n longitude: \"\",\r\n slug: \"\",\r\n };\r\n\r\n let emptyAddress = { ...address };\r\n\r\n let isUS = true;\r\n\r\n res.address_components.forEach((component: any) => {\r\n if (component.types.includes(\"street_number\")) {\r\n address = { ...address, streetNumber: component.long_name ?? \"\" };\r\n }\r\n if (component.types.includes(\"route\")) {\r\n address = { ...address, street: component.long_name ?? \"\" };\r\n }\r\n if (\r\n component.types.includes(\"locality\") &&\r\n component.types.includes(\"political\")\r\n ) {\r\n address = { ...address, city: component.long_name ?? \"\" };\r\n }\r\n\r\n if (\r\n component.types.includes(\"administrative_area_level_2\") &&\r\n component.types.includes(\"political\")\r\n ) {\r\n address = { ...address, county: component.long_name ?? \"\" };\r\n }\r\n\r\n if (\r\n component.types.includes(\"administrative_area_level_1\") &&\r\n component.types.includes(\"political\")\r\n ) {\r\n address = {\r\n ...address,\r\n state: component.short_name ?? \"\",\r\n stateLong: component.long_name ?? \"\",\r\n };\r\n }\r\n\r\n if (component.types.includes(\"postal_code\")) {\r\n address = { ...address, zipCode: component.long_name ?? \"\" };\r\n }\r\n\r\n if (\r\n component.types.includes(\"country\") &&\r\n component.types.includes(\"political\") &&\r\n component.short_name !== \"US\"\r\n ) {\r\n isUS = false;\r\n return;\r\n }\r\n });\r\n\r\n return isUS\r\n ? {\r\n ...address,\r\n address1: `${address.streetNumber ?? \"\"}, ${address.street ?? \"\"}`,\r\n address2: `${address.city ?? \"\"}, ${address.county ?? \"\"}, ${\r\n address.state ?? \"\"\r\n }`,\r\n latitude: coordinates.lat,\r\n longitude: coordinates.lng,\r\n slug: slug(`${address.city} ${address.stateLong}`),\r\n }\r\n : emptyAddress;\r\n};\r\n","import React, { useState, useEffect, ChangeEvent, ReactElement } from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { Input, Select, Row, Col, Modal, Checkbox, Alert, Divider } from \"antd\";\r\nimport { geocodeByAddress, getLatLng } from \"react-places-autocomplete\";\r\nimport AddressInput from \"../../components/AddressInput\";\r\nimport { states } from \"../common/utils/states\";\r\nimport { formatAddressAndSlug } from \"./utils\";\r\nimport { RootState } from \"../../App\";\r\nimport { Form } from \"antd\";\r\nimport { Store } from \"./models\";\r\n\r\ninterface StoreFormErrorsType {\r\n city: string | undefined;\r\n name: string | undefined;\r\n slug: string | undefined;\r\n state: string | undefined;\r\n address1: string | undefined;\r\n circularGroupId?: string | undefined;\r\n retailerId: string | undefined;\r\n hasExistingShoppingList?: boolean | undefined;\r\n existingShoppingListUrl?: string | undefined;\r\n}\r\n\r\nexport interface StoreFormValues {\r\n name?: string | undefined;\r\n slug?: string;\r\n storeNumber?: number | string;\r\n retailerId?: string;\r\n circularGroupId?: string | undefined;\r\n address1?: string;\r\n address2?: string;\r\n city?: string;\r\n state?: string;\r\n zipCode?: string;\r\n phone?: string;\r\n // anchorTag?: string;\r\n email?: string;\r\n storeInfo?: string;\r\n hours?: string;\r\n description?: string;\r\n latitude?: number;\r\n longitude?: number;\r\n stringNumber?: number;\r\n rewardsDeviceId?: string;\r\n circularGroup?: any;\r\n id?: string;\r\n hasExistingShoppingList?: boolean;\r\n existingShoppingListUrl?: string;\r\n}\r\n\r\nconst { Option } = Select;\r\nconst { TextArea } = Input;\r\n\r\nconst InputWrapper = (props: {\r\n label: string;\r\n error?: string | undefined;\r\n children: ReactElement;\r\n marginLeft?: string;\r\n}) => {\r\n const { label, children, error } = props;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {children}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst ControlledTextInput = (props: {\r\n label: string;\r\n value: string | number;\r\n id: string;\r\n textArea?: boolean;\r\n error?: string | undefined;\r\n onChange: (event: ChangeEvent) => void;\r\n}) => {\r\n const { label, value, id, onChange, textArea, error } = props;\r\n return (\r\n \r\n {textArea ? (\r\n