{"version":3,"sources":["types/env.ts","api/api.ts","api/auth.ts","types/auth.ts","store/reducers/authReducer.ts","types/promotion.ts","store/reducers/promotionReducer.ts","types/groupsLocations.ts","store/reducers/groupsLocationsReducer.ts","store/reducers/index.ts","store/index.ts","hooks/useTypedSelector.ts","assets/img/logo_sidebar.png","assets/img/arrowDown.svg","types/color.ts","components/Sidebar/MunuItem/styled.ts","components/Sidebar/MunuItem/MunuItem.tsx","components/Sidebar/Menu/styled.ts","components/Sidebar/Menu/Menu.tsx","components/Sidebar/styled.ts","assets/img/menu-item/dashboard.svg","assets/img/menu-item/campaigns.svg","assets/img/menu-item/campaigns-quick.svg","assets/img/menu-item/campaigns-manage.svg","assets/img/menu-item/user-profile.svg","assets/img/menu-item/promotions.svg","assets/img/menu-item/promotion-manage.svg","assets/img/menu-item/pos-rules.svg","assets/img/menu-item/settings.svg","assets/img/menu-item/customers.svg","assets/img/menu-item/customer-groups.svg","assets/img/menu-item/vouchers.svg","assets/img/menu-item/help.svg","components/Sidebar/menuList.ts","components/Sidebar/Sidebar.tsx","api/businessPlan.ts","api/userProfile.ts","store/action-creaters/auth.ts","api/promotion.ts","store/action-creaters/promotion.ts","store/action-creaters/groupsLocations.ts","api/groupsLocations.ts","store/action-creaters/index.ts","hooks/useActions.ts","assets/img/info.svg","assets/img/default-user.jpg","components/Header/styled.ts","components/Header/Header.tsx","components/AdminWrapper/styled.ts","components/AdminWrapper/AdminWrapper.tsx","assets/img/clear.svg","assets/img/lock.svg","assets/img/arrowDropDownBlack.svg","components/Select/styled.ts","components/Select/Select.tsx","assets/img/place-point.svg","assets/img/calendar.svg","views/Dashboard/styled.ts","views/Dashboard/consts.ts","views/Dashboard/DashboardChart/const.ts","views/Dashboard/DashboardChart/styled.ts","views/Dashboard/DashboardChart/DashboardChart.tsx","views/Dashboard/Dashboard.tsx","api/dashboard.ts","views/AdminPages/AdminDashboard/styled.ts","views/AdminPages/AdminDashboard/consts.ts","views/AdminPages/AdminDashboard/DashboardChart/const.ts","views/AdminPages/AdminDashboard/DashboardChart/styled.ts","views/AdminPages/AdminDashboard/DashboardChart/DashboardChart.tsx","api/adminPanel.ts","views/AdminPages/AdminDashboard/AdminDashboard.tsx","assets/img/visibility.svg","assets/img/invisible.svg","components/Input/styled.ts","components/Input/Input.tsx","assets/img/search.svg","types/customer.ts","assets/img/arrowBack.svg","assets/img/arrowForward.svg","components/Pagination/index.tsx","views/AdminPages/AdminBuisneses/EditableTable/styled.ts","views/Customers/CustomerList/EditableTable/styled.ts","views/Customers/CustomerList/TransactionInformation/styled.ts","views/Customers/CustomerList/TransactionInformation/TransactionInformation.tsx","views/AdminPages/AdminBuisneses/EditableTable/UserTransactionList.tsx","views/AdminPages/AdminBuisneses/EditableTable/PlaceUsersList.tsx","assets/img/checkCircle.svg","views/AdminPages/AdminBuisneses/EditableTable/ExpandableTableList.tsx","views/AdminPages/AdminBuisneses/styled.ts","views/AdminPages/AdminBuisneses/AdminBusinesses.tsx","assets/img/edit.svg","assets/img/delete.svg","views/AdminPages/AdminUsers/styled.ts","components/Modal/styled.ts","components/Modal/Modal.tsx","views/AdminPages/AdminUsers/EditableTable/styled.ts","api/customers.ts","views/AdminPages/AdminUsers/EditableTable/EditablePoinr.tsx","views/AdminPages/AdminUsers/EditableTable/ExpandableTableList.tsx","components/RemoveModal/styled.ts","components/RemoveModal/RemoveModal.tsx","views/AdminPages/AdminUsers/AdminUsers.tsx","assets/img/upload.svg","components/Textarea/styled.ts","components/Textarea/Textarea.tsx","components/infoTooltip/styled.ts","components/infoTooltip/infoTooltip.tsx","views/UserProfile/EditPersonalDetails/styled.ts","views/Registration/Step/RegistrationPersonalInformation/consts.ts","views/UserProfile/EditPersonalDetails/EditPersonalDetails.tsx","views/UserProfile/styled.ts","views/UserProfile/UserProfile.tsx","views/Customers/CustomerList/EditableTable/EditablePoinr.tsx","views/Customers/CustomerList/EditableTable/ExpandableTableList.tsx","views/Customers/CustomerList/styled.ts","views/Customers/CustomerList/CustomerList.tsx","views/Customers/CustomerGroups/styled.ts","views/Customers/CustomerGroups/CustomerGroups.tsx","components/СheckboxTable/СheckboxTable.tsx","views/Customers/CustomerGroupsCreateEdit/styled.ts","views/Customers/CustomerGroupsCreateEdit/CustomerGroupsCreateEdit.tsx","components/Calendar/styled.ts","components/Calendar/Calendar.tsx","api/campaigns.ts","views/Campaigns/QuickCampaign/styled.ts","views/Campaigns/QuickCampaign/QuickCampaign.tsx","types/campaign.ts","views/Campaigns/ManageCampaigns/styled.ts","views/Campaigns/ManageCampaigns/ManageCampaigns.tsx","assets/img/notification.svg","assets/img/cardArrow.svg","components/Card/styled.ts","components/Card/Card.tsx","components/CheckBox/style.ts","components/CheckBox/CheckBox.tsx","utils/requestFormData.ts","api/place.ts","views/Registration/Step/RegistrationBuildYourCard/api.ts","views/Registration/consts.ts","utils/helper.ts","views/Promotions/BusinessLogo/BusinessLogo.tsx","views/Promotions/Promotion/styled.ts","components/PointsCollectionSettings/styled.ts","components/PointsCollectionSettings/PointsCollectionSettings.tsx","views/Promotions/Promotion/Promotion.tsx","components/InputGoogleAutocomplete/styled.ts","components/InputGoogleAutocomplete/InputGoogleAutocomplete.tsx","api/lightSpeed.ts","views/Promotions/PromotionManage/StaffMembers/index.tsx","views/Promotions/PromotionManage/ShowHideStaffMembers/styles.ts","views/Promotions/PromotionManage/ShowHideBtns/index.tsx","views/Promotions/PromotionManage/ShowHideStaffMembers/index.tsx","views/Registration/Step/RegistrationWelcomePromotion/const.ts","components/WorkTime/styled.ts","components/WorkTime/conts.ts","components/WorkTime/WorkTime.tsx","assets/img/default-logo.png","views/Promotions/PromotionManage/styled.ts","views/Promotions/PromotionManage/PromotionManage.tsx","views/Empty/Empty.tsx","views/Orders/styled.ts","views/Orders/OrdersList.tsx","assets/img/new-logo-full.svg","views/SignIn/strings.ts","views/SignIn/styled.ts","views/SignIn/SignIn.tsx","assets/img/logo-full.svg","assets/img/check-your-email.svg","views/ForgotPassword/styled.ts","views/ForgotPassword/ForgotPassword.tsx","views/ResetPassword/styled.ts","views/ResetPassword/ResetPassword.tsx","views/Registration/styled.ts","assets/img/logo_full_dark.svg","views/Registration/NavProgress/conts.ts","views/Registration/NavProgress/styled.ts","views/Registration/NavProgress/NavProgress.tsx","assets/img/play_circle.svg","assets/img/increment.svg","assets/img/check_business.svg","assets/img/customer_connect.svg","assets/img/data_analyze.svg","assets/img/loyalty.svg","views/Registration/Step/RegistrationWelcome/styled.ts","views/Registration/Step/RegistrationWelcome/RegistrationWelcome.tsx","assets/img/lite-plan-icon.svg","assets/img/plus-plan-icon.svg","assets/img/premium-plan-icon.svg","views/Registration/Step/RegistrationChoosePlan/styled.ts","views/Registration/Step/RegistrationChoosePlan/const.ts","views/Registration/Step/RegistrationChoosePlan/RegistrationChoosePlan.tsx","assets/img/arrowDropDown.svg","views/Registration/Step/RegistrationPersonalInformation/styled.ts","views/Registration/Step/RegistrationPersonalInformation/RegistrationPersonalInformation.tsx","views/Registration/Step/RegistrationPersonalInformation/api.ts","views/Registration/Step/RegistrationAccountCheckEmail/styled.ts","views/Registration/Step/RegistrationAccountCheckEmail/RegistrationAccountCheckEmail.tsx","views/Registration/Step/RegistrationActivateAccount/api.ts","views/Registration/Step/RegistrationActivateAccount/styled.ts","views/Registration/Step/RegistrationActivateAccount/RegistrationActivateAccount.tsx","components/Range/styled.ts","components/Range/Range.tsx","components/FormError/FormError.tsx","views/Registration/Step/RegistrationBuildYourCard/styled.ts","views/Registration/Step/RegistrationBuildYourCard/RegistrationBuildYourCard.tsx","views/Registration/Step/RegistrationLocations/styled.ts","views/Registration/Step/RegistrationLocations/RegistrationLocations.tsx","assets/img/direction_right.svg","views/Registration/Step/RegistrationLocations/api.ts","assets/img/info_grad.svg","assets/img/ios_share_grad.svg","views/Registration/Step/RegistrationWelcomePromotion/styled.ts","views/Registration/Step/RegistrationWelcomePromotion/DropZone.tsx","views/Registration/Step/RegistrationWelcomePromotion/RegistrationWelcomePromotion.tsx","views/Registration/Step/RegistrationWelcomePromotion/api.ts","views/Registration/Registration.tsx","views/DeclineAccount/styled.ts","views/DeclineAccount/DeclineAccount.tsx","views/PlaceApprove/styled.ts","views/PlaceApprove/PlaceApprove.tsx","views/StaffMembers/styled.ts","views/StaffMembers/InnerTable/styled.ts","views/StaffMembers/InnerTable/StaffFamilyTable.tsx","views/StaffMembers/index.tsx","views/PosRules/styled.ts","components/PosTabWrapper/styled.ts","assets/img/menu-item/online-cart.svg","components/PosTabWrapper/PosTabWrapper.tsx","components/PosCategoryColumnWrapper/styled.ts","components/PosCategoryColumnWrapper/PosCategoryColumn.tsx","assets/img/circle-plus.svg","api/posTerminals.ts","components/PosCategoryColumnWrapper/InnerPosCategoryGroup/InnerPosCategoryGroup.tsx","components/PosCategoryColumnWrapper/PosCategoryColumnWrapper.tsx","components/PosCategoryColumnWrapper/innerPosStampCategory/InnerPosStampCategoryGroup.tsx","views/PosRules/ExtrasProducts/styled.ts","views/PosRules/ExtrasProducts/ExtrasProducts.tsx","views/PosRules/PosRules.tsx","views/ExternalPosIntegration/styled.ts","views/ExternalPosIntegration/ExternalPosIntegration.tsx","views/ConfirmLightSpeed/styled.ts","views/ConfirmLightSpeed/ConfirmLightSpeed.tsx","views/AdminPages/AdminAdverts/styled.ts","components/AdminPartnersItem/styled.ts","components/AdminPartnersItem/AdminPartnersItem.tsx","views/AdminPages/AdminAdverts/AdminAdverts.tsx","views/AdminPages/AdminAdverts/Outlets/styled.ts","views/AdminPages/AdminAdverts/Outlets/AdminAdvertsOutlets.tsx","views/AdminPages/AdminAdverts/Brands/styled.ts","views/AdminPages/AdminAdverts/Brands/AdminAdvertsBrands.tsx","views/EcommerceRule/styled.ts","views/EcommerceRule/EcommerceRule.tsx","assets/img/checked.svg","api/ecommerceRule.ts","views/StaffDiscount/styled.ts","api/conditions.ts","views/StaffDiscount/index.tsx","views/AdminPages/Notification/ManageNotification/styled.ts","views/AdminPages/Notification/ManageNotification/ManageNotification.tsx","views/AdminPages/Notification/QuickCampaign/styled.ts","views/AdminPages/Notification/QuickCampaign/QuickNotification.tsx","views/MinimumSpend/styled.ts","api/minimumSpend.ts","views/MinimumSpend/MinimumSpend.tsx","views/PosRules/SitePosRules/styled.ts","api/sitePosRule.ts","views/PosRules/SitePosRules/SitePosRules.tsx","views/AdminPages/AdminBusinessesSetings/styled.ts","views/AdminPages/AdminBusinessesSetings/AdminBusinessesSetings.tsx","views/ProductDiscount/styled.ts","views/ProductDiscount/ProductDiscount.tsx","api/productDiscount.ts","views/SpendCard/styled.ts","api/spendCard.ts","views/SpendCard/SpendCard.tsx","assets/img/cancelCircle.svg","views/StaffDiscountMembers/styled.ts","views/StaffDiscountMembers/InnerTable/styled.ts","views/StaffDiscountMembers/InnerTable/StaffFamilyTable.tsx","views/StaffDiscountMembers/StaffDiscountMembers.tsx","views/StaffDiscountDashboard/styled.ts","views/StaffDiscountDashboard/consts.ts","views/StaffDiscountDashboard/DashboardChart/styled.ts","views/StaffDiscountDashboard/DashboardChart/DashboardChart.tsx","views/StaffDiscountDashboard/StaffDiscountDashboard.tsx","EposNow/style.ts","EposNow/EposNow.tsx","views/KlaviyoIntegration/styled.ts","views/KlaviyoIntegration/KlaviyoIntegration.tsx","api/klaviyo.ts","views/ProductDiscount/ProductDiscountCustomersGroup/styled.ts","views/ProductDiscount/ProductDiscountCustomersGroup/CustomerGroupsCreateEdit/styled.ts","views/ProductDiscount/ProductDiscountCustomersGroup/CustomerGroupsCreateEdit/CustomerGroupsCreateEdit.tsx","views/ProductDiscount/ProductDiscountCustomersGroup/GroupDetail/styled.ts","views/ProductDiscount/ProductDiscountCustomersGroup/GroupDetail/GroupDetail.tsx","views/ProductDiscount/ProductDiscountCustomersGroup/ProductDiscountCustomerGroup.tsx","views/StaffPerformance/styled.ts","views/StaffPerformance/StaffPerformance.tsx","api/staffPerformance.ts","views/StaffMembersWithBadgeBarcode/styled.ts","views/StaffMembersWithBadgeBarcode/InnerTable/styled.ts","views/StaffMembersWithBadgeBarcode/InnerTable/StaffFamilyTable.tsx","views/StaffMembersWithBadgeBarcode/StaffMembersWithBadgeBarcode.tsx","views/Conditions/styled.ts","views/Conditions/ConditionsChildren/styled.ts","views/Conditions/ConditionsChildren/ConditionsChildrens.tsx","views/Conditions/Conditions.tsx","views/PosRules/InnovaPosRules/styled.ts","views/PosRules/InnovaPosRules/InnovaPosRules.tsx","Routers.tsx","App.tsx","index.tsx","utils/checkLoginUser.ts"],"names":["REACT_APP_API_URL","_process$env$REACT_AP","process","REACT_APP_STRIPE_PRODUCT_ID","_process$env$REACT_AP2","_process$env$REACT_AP3","GOOGLE_API_KEY","_process$env$GOOGLE_A","REACT_APP_EPOS_NOW_API","_process$env$REACT_AP4","REACT_APP_EPOS_NOW_STG","_process$env$REACT_AP5","_process$env$REACT_AP6","defaultOptions","baseURL","headers","Accept","axiosInstance","axios","create","defaults","common","Authorization","localStorage","getItem","interceptors","response","use","error","status","clear","window","location","replace","Bugsnag","notify","Error","JSON","stringify","Promise","reject","getCurrencyAxios","get","then","catch","AuthUserActionTypes","initialState","loggedUser","loading","PromotionActionTypes","promotionTypes","promotionCategories","promotionTypesEnable","promotionCategoriesEnable","GroupsLocationsActionTypes","groups","locations","rootReducer","combineReducers","auth","state","arguments","length","undefined","action","type","LOGIN","LOGIN_SUCCESS","setItem","payload","bearer_token","user","place_confirmed","LOGIN_ERROR","LOGIN_CHECK","logedUser","_localStorage$getItem","token","parse","LOGIN_CHECK_FETCH","LOGOUT","LOGOUT_SUCCESS","LOGOUT_ERROR","UPDATE_PHOTO_SUCCESS","newLogedUser","photo","UPDATE_PERSONAL_DETAILS_SUCCESS","UPDATE_SUBSCRIPTION_SUCCESS","subscription","promotion","acion","GET_PROMOTION","groupsLocations","GET_GROUPS_LOCATIONS","store","createStore","composeWithDevTools","applyMiddleware","thunk","useTypedSelector","useSelector","_g","_extends","Object","assign","bind","n","e","t","r","hasOwnProperty","call","apply","SvgArrowDown","_ref","svgRef","title","titleId","props","xmlns","width","height","viewBox","ref","id","opacity","fill","d","fillRule","ForwardRef","Color","Wrapper","styled","div","MunuItem","item","_jsx","children","_jsxs","Link","to","path","icon","className","src","alt","name","href","target","rel","Menu","menuList","useLocation","openSubMenuList","setOpenSubMenuList","useState","activeParentPage","some","pathname","checkActiveSubPath","activeSubPath","map","itemPath","_Fragment","onClick","openSubMenuListTemp","index","indexOf","splice","oldOpenSubMenuList","openChildrenNav","ArrowDownIcon","itemChildren","allMenuList","DashboardIcon","active","UserProfileIcon","PromotionsManageIcon","CustomersIcon","PromotionsIcon","CampaignsIcon","CampaignsManageIcon","CampaignsQuickIcon","CustomerGroupsIcon","PosRulesIcon","VouchersIcon","Settingscon","menuBottomList","HelpIcon","Sidebar","_JSON$parse","history","useHistory","visibleMenu","setVisibleMenu","React","showMenuList","setShowMenuList","role","getAllBusinessOptions","useCallback","allow_staff","createMenuList","res","data","options","_options$staff_member","_options$staff_member2","activeMenuTab","allow_shopify","push","allow_lightspeed","allow_pos","allow_cbePP","allow_cbe_innova","allow_klaviyo","staff_member_type","value","allow_min_spend","allow_campaigns","allow_product_discount","allow_spend_card","includes","unshift","resultMenuArr","tab","filter","_item$active","Set","useEffect","showMenu","listen","loginUser","loginUserData","async","dispatch","post","_response$data$token","decline_token","message","logoutUser","updateProfilePhoto","requestFormData","resolve","updateProfilePhotoAxios","updateProfilePersonalDetails","personalDetails","updateProfilePersonalDetailsAxios","updateBusinessPlan","price_id","updateBusinessPlanAxios","getPromotionsCategoriesAxios","getPromotionsCategories","promotions","label","categories","getGroupsLocations","location_name","AuthActionCreators","PromotionActionCreators","GroupsLocationsActionCreators","useActions","useDispatch","bindActionCreators","ActionCreators","SvgInfo","Header","_loggedUser$user","_loggedUser$user2","_loggedUser$user3","isOpenDropdownMenu","setIsOpenDropdownMenu","useRef","handleClickOutside","event","_ref$current","current","contains","document","addEventListener","removeEventListener","InfoIcon","userDefaultImg","full_name","email","AdminWrapper","_path","SvgClear","focusable","SvgLock","required","isSelect","arrowDropDownImgBlack","Select","placeholder","infoTooltip","defaultValue","isClearable","selectorList","positionForShow","hideSelectorFilter","disabled","isHideWhenSelect","lock","getValue","onFocus","setValue","list","setList","isShowSelectList","setIsShowSelectList","selectorFilter","setSelectorFilter","option","toLowerCase","isLabel","autoComplete","onChange","blur","handleChange","currentItem","additional","LockIcon","ClearIcon","SvgPlacePoint","x","y","rx","ry","SvgCalendar","filterPerDate","AGE_AXIS_COLORS","DashboardChart","_statisticByLocation$","_statisticByLocation$2","promotionType","customers","salesStatistic","dateFilter","endDate","statisticByLocation","chartRef","activeChart","setActiveChart","handleChangeActiveChart","chartName","setTimeout","_chartRef$current","scrollIntoView","behavior","block","inline","AGE_LABEL","keys","age_groups","_ref2","_gender_count$","_gender_count$2","location_id","gender_count","Doughnut","labels","datasets","backgroundColor","borderColor","borderWidth","plugins","legend","display","i","color","_ref3","style","_ref4","values","flat","reduce","acc","count_of_cust","Line","date","day","Date","getFullYear","getMonth","toLocaleString","month","setDate","getDate","reverse","pointRadius","pointBorderWidth","pointBorderColor","pointBackgroundColor","tooltip","displayColors","intersect","callbacks","tooltipItem","newDate","dataIndex","dataset","formattedValue","animation","duration","scales","beginAtZero","ticks","precision","Dashboard","pageLoading","setPageLoading","locationIdFilter","setLocationIdFilter","setDateFilter","openChannels","setOpenChannels","dashboardInfo","setDashboardInfo","allCustomers","countAllCheckIns","countOfActivatedCards","countOfActivatedVouchers","countOfRedeemCampaign","averagePriceSales","avTimeBetweenRepeatVisits","avTimeBetweenVoucherUsed","vouchers_used_sum_reward","vouchers_earned_sum_reward","topProduct","loyalty_visits","total_loyalty_volume","av_loyalty_visits","av_voucher_used_value","point","newCustomers","dates","setDatesState","startDate","moment","subtract","format","locationId","daysDiff","setDates","ranges","PlacePointIcon","DateRangePicker","onApply","initialSettings","CalendarIcon","marginTop","currency_symbol","product","quantity","product_id","paddingRight","ArrowDown","sale","sum_sale","visits","av_visits","av_value_voucher_used","_ages$","_gender$","_gender$2","_gender$3","salesStatisticPoint","salesStatisticStamp","gender","age","ages","setAges","adminAge","_ref5","getAdminBusinessesNamesAxios","getAdvertOffersAxios","uploadPhotoAxios","AdminDashboard","businessCount","customersCount","newCustomerCount","activatedCards","totalPoints","redeemedCampaigns","newCustomersForPeriod","saleStatisticPoints","saleStatisticStamp","genders","add","endOf","businessId","businesses","setBusinesses","selectBusiness","business","forEach","business_name","SvgVisibility","xmlnsXlink","enableBackground","xmlSpace","SvgInvisible","isPasswordVisible","Input","min","max","maxLength","step","setIsPasswordVisible","currentValue","minLength","onWheel","VisibilityIcon","InvisibleIcon","SvgSearch","customerPerPage","SvgArrowBack","SvgArrowForward","Pagination","setRequestParamtrs","page","total_pages_count","limit","count_users","total_users_count","requestLimit","handleChangeRequestParamtrs","prevState","ArrowBackIcon","ArrowForwardIcon","WrapperTableList","input","PointWrapper","PointInput","WrapperTransaction","TransactionInformation","show","customerInformation","productList","setShow","customer","staffPage","productsListColumns","compact","cell","row","minWidth","squ","currency","parseFloat","initial_price","toFixed","price","omit","points_earned","right","total","orderId","isNumber","points","used_vouchers","vouchers","voucher","reward_name","join","vouchersName","customerName","DataTable","columns","noHeader","welcome_points_gift","justifyContent","marginLeft","alignItems","shippingPrice","totalPrice","UserTransactionList","transactions","customerTableColumns","_row$user","image","posId","posUserId","receipt","maxWidth","showTransactionDetail","setShowTransactionDetail","setCustomerInformation","setCustomer","listRow","setListRow","getBasket","basket","used_points","onRowClicked","expandableRows","expandableRowsHideExpander","expandableRowExpanded","expandOnRowClicked","expandableRowsComponent","productsList","PlaceUsersList","users","phone","setTransactions","getUserTransactions","userId","user_id","onRowExpandToggled","bool","SvgCheckCircle","clipRule","ExpandableTableList","getCustomerList","requestParamtrs","userInfo","setUserInfo","setLocationId","setStore","placeUsers","setPlaseUsers","place","getAllUsersForPlace","getAllUserForBusinessPlaceAxios","console","log","phone_number","address","allowFunctionality","setAllowFunctionality","key","textTransform","CheckIcon","replaceAll","arrangeCustomerSelect","AdminBisinesses","requestParameters","setRequestParameters","search","sort_type","customerListLoading","setCustomerListLoading","customerList","setCustomerList","customerListInfo","setCustomerListInfo","Number","err","searchType","timeout","clearTimeout","SearchIcon","SvgEdit","SvgDelete","Modal","openModal","setOpenModal","closeOutsideClick","modalRef","_modalRef$current","getCustomerListAxios","getCustomerListWithFilterGroupsAxios","getCustomerGroupsAxios","getCustomerGroupInfoAxios","group_id","updatePointsCountAxios","requestParams","importStaffDiscountWorkersAxios","removeBulkStaffDiscountAxios","getAllStaffMembers","getAllStaffDiscountMembers","addStaffDiscountMembersAxios","editStaffDiscountMembersAxios","removeStaffDiscountMemberAxios","getStaffDiscountLoyaltyCardAxios","getStaffDiscountActivity","getMaximumSpendDiscountAxios","EditablePoint","minValue","pointId","canEdit","getUserPointInfo","stamp_activity","setPoint","stamps","readOnly","onBlur","handleBlur","activity_id","editPoint","focus","EditIcon","getRewards","info","setcustomerListLoading","userInfoPoints","setUserInfoPoints","userInfoStamps","setUserInfoStamps","first_name","last_name","activeType","setActiveType","getCustomerInfoAdminAxios","activities","finally","center","min_points","can_edit","pos_id","pos_user_id","customerTableColumnsStamp","seller","RemoveModal","showModal","setShowModal","handleConfirm","handleCancel","AdminUsers","showDeleteUserModal","setShowDeleteUserModal","selectedUser","setSelectedUser","errorResponse","setErrorResponse","saveEditUser","editedUser","find","requestData","removeUser","edit","padding","editUser","editRow","checkDeleteUser","DeleteIcon","SvgUpload","Textarea","span","Info","infoText","businessSizeArray","EditPersonalDetails","formLoading","setFormLoading","formErrorMessage","setFormErrorMessage","currencyList","setCurrencyList","setPersonalDetails","city","country","code","about_me","vat_number","business_size","selectedBusinessSize","setSelectedBusinessSize","_loggedUser$user$user","_loggedUser$user$user2","_loggedUser$user$user3","_loggedUser$user$user4","_loggedUser$user$user5","user_profile","postalCode","about","Const","element","onSubmit","preventDefault","_error$data","_error$data2","_error$data3","_error$data4","detail","flex","marginRight","PhoneInput","containerClass","inputProps","InfoTooltip","uploadKeyFrames","keyframes","UserProfile","loadingPhoto","setLoadingPhoto","isDragActive","getRootProps","getInputProps","useDropzone","accept","multiple","onDrop","acceptedFiles","FormData","append","Switch","Route","exact","component","UploadIcon","created","promotion_type","getCustomerInfoAxios","setStartDate","split","group","customerType","setCustomerType","offline","_response$data$users$","customerSpendTableColumns","_row$stamp_end_value","_row$end_value","stamp_end_value","end_value","spend_balance","used_spend_balance","_row$total_spend","total_spend","_row$check_in_count","check_in_count","neeFormat","last_visit","allow_offline_customers","CustomerGroups","customerGroupsLoading","setCustomerGroupsLoading","selectedGroup","setSelectedGroup","selectedGroupUsers","setSelectedGroupUsers","customerGroups","setCustomerGroups","customerGroupsInfo","setCustomerGroupsInfo","count_groups","total_groups_count","deleteCustomerGroupLoading","setDeleteCustomerGroupLoading","deleteCustomerGroup","setDeleteCustomerGroup","hendeldeleteGroupConfirm","toString","manualChoosedCustomerTableColumns","customerGroupsTableColumns","description","group_type_title","getCustomerGroups","filters","_res$data$users","_res$data$users2","СheckboxTable","checked","toggleChecked","htmlFor","_customerGroup$group_","_customerGroup$group_2","_customerGroup$group_3","_customerGroup$group_4","params","useParams","pageEditLoading","setPageEditLoading","pageEdit","setPageEdit","customerGroup","setCustomerGroup","group_name","group_description","group_type","groupType","setGroupType","groupFilter","setGroupFilter","groupMaxFilter","setGroupMaxFilter","getFiltersInfo","groupTypeTemp","group_types","groupFilterTemp","group_filters","filter_max_count","handlesetCustomerGroup","manualShowAllCustomer","setManualShowAllCustomer","manualCustomerListLoading","setManualCustomerListLoading","manualCustomerList","setManualCustomerList","manualCustomerChoosedList","setManualCustomerChoosedList","manualCustomerListInfo","setManualCustomerListInfo","manualCustomerAllPageChecked","setManualCustomerAllPageChecked","handleManualCustomerPagination","choosedFilterList","setChoosedFilterList","virtualId","filter_type_id","choosedFiltercustomerLoading","setChoosedFiltercustomerLoading","choosedFilterCustomerList","setChoosedFilterCustomerList","choosedFilterCustomerListInfo","setChoosedFilterCustomerListInfo","getGroupFilterLabel","curentGroupFilter","showCustomersByFilters","handleChoosedFilterCustomerPagination","type_id","getManualCustomerList","manualCustomerTableColumns","findIndex","toggleManualCheckedUser","_row$end_value2","_row$total_spend2","_row$check_in_count2","customerGroupFormLoading","setCustomerGroupFormLoading","customerGroupFormErrorMessage","setCustomerGroupFormErrorMessage","WrapperTooltip","requestParamtrst","_requestParamtrst$use","createCustomerGroupAxios","curentGroupType","getGroupTypeLabel","perPage","handleManualCustomerPerPage","hendleSetFilterIdChoosedFilterList","hendleSetDaysChoosedFilterList","deleteFilterThisGroup","handleChoosedFilterCustomerPerPage","Calendar","dateFormat","selected","timeSelect","DatePicker","showTimeSelect","placeholderText","createAdminCampaignsAxios","PUSH_MESSAGE_LIMIT","QuickCampaign","campaignName","setCampaignName","campaignSentTime","setCampaignSentTime","customerGroupsArray","setCustomerGroupsArray","inAppNotification","setInAppNotification","pushNotification","setPushNotification","emailNotification","setEmailNotification","smsNotification","setSmsNotification","typePromotion","setTypePromotion","setEndDate","campaignMessage","setCampaignMessage","getDataForEditCampaign","getSingleCampaignsAxios","_data$campaign","timeToSend","campaign","time_to_send","timeToEnd","promotion_ends","sendNow","getTime","getTimezoneOffset","is_in_app_notification","is_push_notification","is_email_notification","is_sms_notification","arr","createRequestParamtrs","customer_group","send_now","send_date","end_date","in_app_notification","push_notification","email_notification","sms_notification","is_promotion","updateRequestParamtrs","updateCampaignsAxios","createCampaignsAxios","clearFields","campaignsPerPage","ManageCampaigns","ManageCampaignsLoading","setManageCampaignsLoading","manageCampaigns","setManageCampaigns","manageCampaignsInfo","setManageCampaignsInfo","count_campaigns","total_campaigns_count","deleteCampaign","setDeleteCampaign","deleteCampaignObj","setDeleteCampaignObj","deleteGroupAsk","obj","getManageCampaigns","manageCampaignsTableColumns","created_at","getCampaignsAxios","campaigns","SvgNotification","SvgCardArrow","Card","_accountInformation$r","_points_info$points","_points_info$maxPoint","accountInformation","cardClosed","setCardClosed","points_info","URL","createObjectURL","companyName","NotificationIcon","rewardInformation","maxPoints","stampName","Array","from","maxNumberPromotion","_","Arrow","Checkbox","isChecked","isDisabled","theme","themeCN","darkBlue","RequestFormData","constructor","appendArray","this","isIterable","getPlaceInfoAxios","getBusinessTypesAxios","getStampIconsAxios","getActivateDaysAxios","verificationToken","accountInformationToken","stampList","pointObjValuesToString","NaN","resultStr","entries","str","CBETypes","ConditionsOperatorList","ConditionsLogicOperatorList","ConditionsActionList","ConditionsFieldsList","BusinessLogo","businessLogoProps","setBusinessLogoProps","loadingBusinessLogo","setLoadingBusinessLogo","businessLogo","setBusinessLogo","updatePlacePhotoAxios","DaysWrapperDiv","SpanInputText","PointsCollectionSettings","setPointsCollectionSettingsObj","pointsCollectionSettingsObj","selectorTypeList","promotionPointsStartDate","promotionPointsEndDate","promotionPointsValue","promotionPointsType","promotionPointsSelectedTypeValue","Promotion","_businessInfo$stampIc","_businessInfo$stampIc2","_businessInfo$points","_businessInfo$verific","_businessInfo$verific2","_businessInfo$busines3","_businessInfo$busines4","_businessInfo$stampIc3","_businessInfo$stampIc4","_businessInfo$stampIc5","_businessInfo$stampIc6","_businessInfo$promoti","_businessInfo$first_c2","_businessInfo$points$","_businessInfo$points$2","_businessInfo$points$3","getInfoLoading","setGetInfoLoadingLoading","isOpenRewards","formBusinessInfoLoading","setFormBusinessInfoLoading","formBusinessInfoErrorMessage","setFormBusinessInfoErrorMessage","businessInfo","setBusinessInfo","category","promotionName","promotionTypeName","promotionVaucherInformation","promotionTypeID","verification_status","promotionLabel","businessType","display_name","stampIcon","single_item","website_url","defaultVoucherName","instagram_url","facebook_url","first_checkIn","bonusRewardTarget","bonusRewardValue","bonusRewardLabel","bonusRewardExpireDays","openExpireDateReward","setOpenExpireDateReward","stampIconList","setStampIconList","activateDaysList","setActivateDaysList","activateDays","_data$place$stamp_ico","_data$place$stamp_ico2","_data$place$stamp_ico3","_data$place$stamp_ico4","_data$place$first_che","placeOption","details","promotion_id","maxStamp","promotion_label","business_type","stamp_icon","min_spend","stampIcons","_stampIcon","icon_name","setBusinessInfoValue","businessTypeList","setBusinessTypeList","businessTypes","_businessType","_businessInfo$busines","_businessInfo$first_c","business_category","promotion_name","max_count","pointItem","_$dateExpire","rewardNumber","activateAfter","pointsAmount","reward","rewardDetails","dateExpire","allow_bonus_reward","_requestParameters$pr","_requestParameters$pr2","_requestParameters$we","_requestParameters$de","_requestParameters$in","_requestParameters$fa","_requestParameters$fi","_requestParameters$pr3","_requestParameters$pr4","_requestParameters$pr5","_requestParameters$pr6","_requestParameters$pr7","formData","updateBusinessInfoAxios","allow_promotion_points","_businessInfo$busines2","stampIconData","newBusinessInfo","_businessInfo$points2","_businessInfo$points3","CheckBox","structuredClone","newInfo","currValues","setInputValue","rewardCode","InputGoogleAutocomplete","getLat","getLng","usePlacesWidget","apiKey","onPlaceSelected","formatted_address","geometry","lat","lng","types","language","createLightSpeed","getLightSpeedLocations","StaffMembers","setLocationStaffSidebarData","setShowLocationStaffSidebar","setDeleteStaffObj","getPlaceInfo","searchLocationUserLoading","setSearchLocationUserLoading","createItems","setCreateItems","showHideform","setShowHideForm","lightSpeedSelect","setLightSpeedSelect","retailer","lightSpeedSelected","setLightSpeedSelected","formAddUserToLocationLoading","setFormAddUserToLocationLoading","formAddUsertToLocationErrorMessage","setFormAddUsertToLocationErrorMessage","newUserToLocation","setNewUserToLocation","outlets","setValueNewUserToLocation","handleSearchLocationUser","searchObj","newLocations","locationStaffTableColumns","username","editLocationStaffOpenSidebar","staff","is_pos","seller_id","only_offline_customers","password","is_lightspeed_pos","lightspeedPosId","handleAddUserToLocation","lightSpeedId","lightSpeedName","lightSpeedRetailer","addNewUserToLocation","CloseIcon","ShowHideSpan","ShowHideButton","button","ShowHideDiv","ShowHideBtns","isShowLocationDetails","editLocationOpenSidebar","setIsOpen","isOpen","toggleShowStaff","ShowHideStaffMembers","isTwoBtn","workHours","hour","String","padStart","DEFAULT_WORK_TIME_OBJ","monday","allDay","tuesday","wednesday","thursday","friday","saturday","sunday","WorkTime","workingTimeProp","setWorkingTimeProp","defaultWorkTime","isArray","workingTime","workTime","weekday","every","weekDay","_workingTime$weekDay$","time","PromotionManage","_locationStaffSidebar3","_locationStaffSidebar4","_locationStaffSidebar5","_locationStaffSidebar6","_locationStaffSidebar9","_locationStaffSidebar10","_locationStaffSidebar11","_locationStaffSidebar12","_locationStaffSidebar13","addLocation","setAddLocation","locationMaxCount","setLocationMaxCount","setLocations","formAddLocationLoading","setFormAddLocationLoading","newLocation","setNewLocation","latitude","longitude","work_time","newLocationPromotionName","setNewLocationPromotionName","newLocationPromotionDetails","setNewLocationPromotionDetails","newLocationImage","setNewLocationImage","formAddLocationErrorMessage","setFormAddLocationErrorMessage","locationSidebarData","setLocationSidebarData","deleteLocationObj","setDeleteLocationObj","locationStaffSidebarData","formEditLocationStaffLoading","setFormEditLocationStaffLoading","isWelcomeGift","setIsWelcomeGift","showOnMap","setShowOnMap","showLocationStaffSidebar","formEditLocationStaffErrorMessage","setFormEditLocationStaffErrorMessage","deleteLocationLoading","setDeleteLocationLoading","deleteStaffLoading","setDeleteStaffLoading","setValueNewLocation","deleteStaffObj","formEditLocationLoading","setFormEditLocationLoading","location_max_count","closeEditLocationSidebar","_location$promotion_d","_location$promotion_d2","promotionDeal","promotion_details","promotionDetails","promotion_description","logo","locationName","hideOnMap","ecommerce","setEditLocationStaff","setEditLocation","closeEditLocationStaffSidebar","hendelDeleteLocationConfirm","hendelDeleteLocationStaffConfirm","handleUpdateLocation","updateLocationAxios","addLocationAxios","_error$data5","_error$data6","_error$data7","_error$data8","newData","locationDefaultLogo","shortName","hendelDeleteLocationAsk","sidebarData","_locationStaffSidebar","_locationStaffSidebar2","_locationStaffSidebar7","_locationStaffSidebar8","Empty","OrderItem","_path2","_path3","_path4","_path5","_path6","_path7","testOrderData","order_name","OrderListColumns","SvgNewLogoFull","SignIn","setUser","LogoFull","SvgLogoFull","ForgotPassword","setLoading","setEmail","successResponse","setSuccessResponse","forgotPassword","_response$data$messag","_response$data","_error$data$message","checkEmailImg","ResetPassword","setPassword","passwordConfirmation","setPasswordConfirmation","_URLSearchParams$get","resetPasswordRequest","resetPassword","password_confirm","URLSearchParams","SvgLogoFullDark","NAV_STEPS","nav_step","NavProgress","_defs","LogoFullDark","SvgPlayCircle","x1","y1","x2","y2","gradientUnits","stopColor","offset","SvgIncrement","SvgCheckBusiness","SvgCustomerConnect","SvgDataAnalyze","SvgLoyalty","RegistrationWelcome","_circle","goToStep","PlayCircleIcon","LoyaltyIcon","CustomerConnectIcon","DataAnalyzeIcon","IncrementIcon","CheckBusinessIcon","SvgLitePlanIcon","cx","cy","stroke","strokeWidth","SvgPlusPlanIcon","SvgPremiumPlanIcon","PLANT_LABELS","RegistrationChoosePlan","setBusinessPlanPersonalInfo","businessPlansList","setBusinessPlansList","periodType","setPeriodType","isBusinessPlanChanged","setIsBusinessPlanChanged","businessPlan","setBusinessPlan","subscriptions","lastPlan","plan","LitePlanIcon","PlusPlanIcon","PrimiumPlanIcon","CheckCircle","count_filters","count_locations","count_staff","count_push_notification","count_text_campaigns","arrowDropDownImg","RegistrationPersonalInformation","personalInformation","setPersonalInformation","firstName","lastName","phoneNumber","businessName","businessSize","vatNumber","_data$subscription","_data$vat_number","_data$currency","registerPersonalInfo","errors","RegistrationAccountCheckEmail","RegistrationActivateAccount","passwordVerificationToken","passwordFormLoading","setPasswordFormLoading","passwordFormErrorMessage","setPasswordFormErrorMessage","_data$verification_to","confirm_password","verification_token","registerCreatePassword","sessionId","serchParams","delete","set","stripe","Range","maxValue","colorProgressBefore","colorProgressAfter","labelMin","labelMax","themeClassName","blue","firstOperand","secondOperand","minDiapason","maxDiapason","background","left","FormError","formErrorMessages","field","RegistrationBuildYourCard","isLoading","setIsLoading","setAccountInformation","rewards","defValueForNumPromotion","setDefValueForNumPromotion","registerYourCompany","_data$first_checkIn$t","trim","accountInformationState","curValue","stamp","_accountInformation$r2","_accountInformation$r3","RegistrationLocations","prevLocations","placeName","setPlaceName","getPlaceName","createFirstLocation","SvgDirectionRight","SvgInfoGrad","SvgIosShareGrad","DropZone","RegistrationWelcomePromotion","setWorkingTime","setupPromotion","setSetupPromotion","setupWelcomePromotion","openTime","closeTime","prevInfo","setPromotionDeal","coverFile","setCoverFile","defaultFields","setDefaultFields","welcomePromotionLogo","defaultAddress","getPlaceLogo","default_address","welcomePromotionSubmit","coverImage","welcomePromotionSubmitWithoutGift","DirectionRightIcon","ShareIcon","Registration","stepRegistration","setStepRegistration","businessPlanPersonalInfo","DeclineAccount","сonfirmDeclineAccount","PlaceApprove","placeInfo","setPlaceInfo","responseMessage","setResponseMessage","hash","declinePlace","acceptPlace","StaffFamilyTable","worker_relations","deleteLocationStaffAsk","staffMembersTableColumns","gc_number","fake_data","staffList","setStaffList","firstNameInp","lastNameInp","employeeNumberInp","gcNumberInp","staffListInfo","setStaffListInfo","openForm","setOpenForm","openBulkRemoveForm","setOpenBulkRemoveForm","fileBase64","setFileBase64","newUser","setNewUser","store_name","global_card_name","employee_number","code_name","new","setEdinUser","removeInp","importInp","newStaff","onInput","changeNewStaffValueInput","currentTarget","borderRadius","boxShadow","_firstNameInp$current","_lastNameInp$current","_gcNumberInp$current","_employeeNumberInp$cu","getStaff","saveStaffMembers","edit_id","workers","count_workers","total_workers_count","getBase64","file","files","reader","FileReader","readAsDataURL","onload","result","onerror","handleImportWorkers","handleBulkRemove","marginBottom","encType","textAlign","objectFit","SvgOnlineCart","PosTabWrapper","buttonText","OnlineShop","PosCategoryColumn","containerStyle","SvgCirclePlus","getAllCategoriesAxios","setCategoryAxios","setPosStampCategoryAxios","getPosStampCategoryAxios","removeCategoryAxios","categoryId","removeStampCategoryAxios","editCategoryAxios","editStampCategoryAxios","createExtrasProductsAxios","InnerPosCategoryGroup","setItems","setEdit","getAllCategories","scaleParemeterSelectList","innerGroup","setInnerGroup","product_group","product_sku","scale_parameter","scale_factor","transaction_value","saveEditItem","saveItem","editItem","Edit","removeItem","Delete","newItems","allocated","requestItem","parent","items","noTableHead","addNewCategory","newItem","CirclePlus","PosCategoryColumnWrapper","validInputTextValue","scaleParameterSelectList","categoryList","InnerPosStampCategoryGroup","selectStampCategory","allItems","setAllItems","is_dedicated","changeItemParameters","prevItems","expandableRowDisabled","ExtrasProducts","invalidInputTextValue","extrasProducts","setExtrasProducts","getExtrasProducts","productExtras","removePosStampCategoryItem","extrasProductsList","sku","saveEditStampCategory","addNewPosStampCategory","editPosStampCategoryItem","PosRules","posStamps","setPosStamps","selectedStampCategory","setSelectedStampCategory","editStamp","setEditStamp","getPosStampCategories","handleGetStampIcons","allow_pos_extras","ExternalPosIntegration","lightSpeedBuisnes","setLightSpeedBuisnes","domainPrefInput","setDomainPrefInput","addLightSpeed","setAddLightSpeed","getAllLightSpeed","lightspeedAccounts","deleteLightSpeedItem","setDeleteLightSpeedItem","closeAddForm","removeLightSpeedItem","domainPrefix","accessToken","confirmUrl","requestObject","saveLightSpeedItem","editLightSpeedItem","selectRemoveLightSpeed","clientId","ConfirmLightSpeed","setMessage","AdminPartnersItem","advertList","setPartners","offers","getAllPartners","partnersList","setPartnersList","focusInput","setFocusInput","changePartnerParameters","columnName","fileRejections","photo_url","handlerSetItem","createAdvertPartnerAxios","business_id","logo_url","createAdvertOutletsAxios","week_offer","url","offerType","removeAdvertPartnerAxios","removeAdvertOutletsAxios","addNewPartner","now","movePartnerItem","position","onMouseDown","fontSize","tap_count","createItem","partner","editPartnerData","AdminAdverts","partners","showInMobile","setShowInMobile","getShowInMobileApp","showAdverts","setShowInMobileApp","handlerGetPartner","dataPartner","advertPartners","AdminAdvertsOutlets","handlerGetAllOutlets","offer_type","advertOffers","AdminAdvertsBrands","handlerGetAllBrands","EcommerceRule","ecommerceList","setEcommerceList","selectRestrictionTypeList","setSelectRestrictionTypeList","selectEcommerceTypeList","setSelectEcommercwTypeList","editEcom","setEditEcom","getEcommerceInfo","category_restrictions","rule_types","restriction_type","restriction_value","saveEcomerceRule","setEditRule","rule","removeEcommerceRule","ruleObj","createEcommerceRuleAxios","removeEcommerceRuleAxios","addNewRule","SvgChecked","getAllConditionsAxios","updateConditionsAxios","put","conditions","discount","logic_operator","StaffDiscount","loyaltyCard","setLoyaltyCard","card_color","card_logo","staff_barcode_prefix","card_image_enable","card_image","changeLoyaltyCard","openSetDiscountForm","setOpenSetDiscountForm","openMaximumSpendForm","setOpenMaximumSpendForm","openDiscountRulesForm","setOpenDiscountRulesForm","openConditionsForm","setOpenConditionsForm","savedCard","setSavedCard","discountForAll","setDiscountForAll","maximumSpend","setMaximumSpend","maximumSpendPeriod","setMaximumSpendPeriod","useMaximumSpendDiscount","setUseMaximumSpendDiscount","selectedDiscountRules","setSelectedDiscountRules","selectConditionsList","setSelectConditionsList","selectedConditions","setSelectedConditions","maximumSpendPeriodList","setMaximumSpendPeriodList","discountRulesTableColumns","ruleName","posCategoryName","posCategory","totalDiscount","saveDiscountRule","editDiscountRule","deleteDiscountRule","conditionsTableColumns","paddingBottom","saveCondition","deleteConditions","getAllDiscountRulesList","restriction_category","getAllConditionsForStaff","openCloseModal","removeConditionsStaffDiscountAxios","addNewConditionsStaffDiscountAxios","getMaximumSpendDiscountSetings","maximumSpendValue","usingMaximumSpend","openLoyaltyCardWrap","loyalty_card","handlerSaveLoyaltyCard","handleSetDiscountPercentForAllMembers","handleSetMaximumSpendDiscount","flexDirection","backgroundImage","pattern","inputMode","discountList","conditionsList","ManageNotification","getAdminCampaignsAxios","QuickNotification","saveNewMinimumSpendRulesItemAxios","MinimumSpend","minimumSpendList","setMinimumSpendList","spend_value","reward_value","is_expired","place_points","activate_after","date_expire","getAllMinimumSpendList","removeSpendItem","activ","spend","saveEditSpend","saveNewMinimumSpend","editMinimumSpendItem","addNewSpend","SitePosRulesEnum","getAllSiteLoyaltyRewards","getAllSellersToLoyaltyRewards","setNewSiteLoyaltyReward","removeSiteLoyaltyReward","SitePosRules","loyaltyCash","setLoyaltyCash","discountRules","setDiscountRules","posRulesSelectList","setPosRulesSelectList","sellersSelectList","setSellersSelectList","loyaltyColumnList","site_id","coupon","LOYALTY","saveNewItem","setEditItem","discountColumnList","DISCOUNT","sites","getAllRewardsHandler","cbeType","loyalty_rules","site","discount_rules","addNewItem","AdminBusinessesSetings","selectedBusiness","setSelectedBusiness","businessSettingsOptions","setBusinessSettingsOptions","updatedData","setUpdatedData","westmorlandStaff","setWestmorlandStaff","getOneBusinessOptions","getOneBusinessOptionsAxios","updateBusinessOptions","updateBusinessOptionsAxios","getOneBusiness","showOptionLabel","changeSettingsField","updateBusiness","createRequestObj","ProductDiscount","setProductList","productListInfo","setProductListInfo","changeProductParameters","productDiscountTableColumns","start_date","createProductDiscount","removeProductDiscount","getProductDiscounts","productsDiscount","count_product_discounts","total_product_discounts_count","newProductItem","addStaffMembers","addSpendCardsAxios","SpendCard","isDeleteLoading","setIsDeleteLoading","showAddForm","setShowAddForm","spendList","setSpendList","spendListInfo","setSpendListInfo","usersList","setUsersList","newSpend","setNewSpend","customer_id","init_value","deleteStampCardModal","setDeleteStampCardModal","getAllSpendCards","spendCards","count_spend_card","total_spend_cards_count","used_value","add_value","saveEditSpendCard","handleAddNewSpend","removeSpendCardsAxios","SvgCancelCircle","searchParams","has","findFullDiscount","orders","sum","externalIdInp","openImportForm","setOpenImportForm","haveStaffCardModel","setHaveStaffCardModel","external_id","barcode_number","barcode","used_maximum_spend_discount","total_discount","CancelCircle","_externalIdInp$curren","handleChangeRequestParameters","reqDate","_current","handleImportStaffDiscountWorkers","_current2","_customers$hoveredCha","_customers$hoveredCha2","hoveredChartItem","setHoveredChartItem","hoveredChartItemDiscount","setHoveredChartItemDiscount","customersForTable","setCustomersForTable","customersTransactionsForTable","setCustomersTransactionsForTable","chartDetailsTableColumns","barcode_content","encodeURIComponent","onMouseLeave","elem","customTooltip","getElementById","arrow","hideTooltip","fixedHeader","fixedHeaderScrollHeight","enabled","onHover","elements","chart","chartWidth","querySelector","offsetWidth","chartHeight","offsetHeight","top","interaction","mode","StaffDiscountDashboard","_dashboardInfo$allSta","_dashboardInfo$newSta","_dashboardInfo$countA","_dashboardInfo$grossS","_toFixed","_dashboardInfo$netSal","selectedSortType","setSelectedSortType","sitesList","setSitesList","allStaffMembers","netSales","grossSales","newStaffMembers","getStaffDashboardInform","sortType","dataKey","selectSortMethod","borderBottom","ArrowForward","ScanCount","TotalDiscountDiscount","Discount","TotalDiscount","EposNow","_window","discountID","setDiscountId","setToken","setBarcode","EposnowAPI","getLocationID","fetch","method","body","json","discount_id","eposSDK","EposNowTillSDK","setVersion","TransactionPublisher","register","innerHTML","transaction_data","Transaction","staffId","getStaffID","deviceId","getDeviceID","currentTransactionProducsIds","getTransactionProducts","productsArr","categoriesIDs","CategoryId","categoryArr","products","voucherSum","reasonId","amount","TransactionDetails","TransactionDetail","publish","submitForm","KlaviyoIntegration","klaviyoBuisnes","setKlaviyoBuisnes","privatKey","setPrivatKey","listName","setListName","addKlaviyo","setAddKlaviyo","getKlaviyo","deleteKlaviyoIntegrate","setDeleteKlaviyoIntegrate","removeKlaviyo","api_key","list_name","setShowCreateGroupForm","getAllCustomersGroupForProductDiscount","selectPosStampCategoriesList","setSelectPosStampCategoriesList","first_checkIn_stamp_voucher","group_discount","searchCustomers","setSearchCustomers","getDataForEditCustomerGroup","allow_stamp_bonus_reward","removeChoosedUser","createCustomerGroupForProductDiscountAxios","GroupDetail","selectedGroupId","showDeleteProductDiscountModal","setShowDeleteProductDiscountModal","selectedProductDiscount","setSelectedProductDiscount","removeProductDiscountFromGroup","removeCustomerFromGroup","product_name","addNewProduct","ProductDiscountCustomerGroup","showCreateGroupForm","showRemoveGroupForm","setShowRemoveGroupForm","customersList","setSelectedGroupId","customersGroupsList","setCustomersGroupsList","customersGroupsTableColumns","setEditCustomerGroup","selectGroupToRemove","removeCustomerGroup","removeCustomerGroupForProductDiscountAxios","total_customer_groups_count","getAllCustomersAndProduct","getAllCustomersAndProductsForProductDiscountAxios","productDiscounts","CustomerGroupsCreateEdit","StaffPerformance","staffListLoading","setStaffListLoading","posUsersListToSelect","setPosUsersListToSelect","getPosUserIdList","selectObj","posUsers","posUser","getAllStaffs","countStaff","totalPagesCount","totalStaffCount","staffPerformanceTableColumns","_row$points","_row$stamps","pos","StaffMembersWithBadgeBarcode","barcodeInp","barcodePrefix","setBarcodePrefix","_barcodeInp$current","_barcodeInp$current2","_barcodeInp$current3","card_number","ConditionsChildrens","_conditions","conditionsItem","setConditions","expandedPath","setExpandedPath","selectedIndex","setSelectedIndex","level","selectedId","getAllConditions","childrenList","setChildrenList","selectedCondition","setSelectedCondition","updatedCondition","setUpdateCondition","addNewCondition","operator","addNewChildren","updateNodeByDepth","targetDepth","currentDepth","updateFn","child","updateRequest","node","saveEditCondition","condition","saveEditChildren","editCondition","deleteCondition","editChildren","deleteChildren","conditionsColumns","childrenColumns","changePath","pathLevel","pathArr","Conditions","_listRow$id","saveEditConditionRules","createNewConditionRules","editConditionRules","removeConditionRules","deleteConditionsAxios","addNewConditionRule","InnovaPosRules","Routers","BrowserRouter","Redirect","AdminBusinesses","CustomerList","StaffDiscountMembers","OrdersList","GlobalWrapper","App","start","BugsnagPluginReact","BugsnagPerformance","ErrorBoundary","getPlugin","createErrorBoundary","checkLoginUser","ReactDOM","render","StrictMode","Provider"],"mappings":"qmBAAO,MAAMA,EACkB,QADDC,EAC5BC,0BAA6BD,EAAI,6BAiBtBE,GALqBC,EAChCF,8GAKuC,QADDG,EACtCH,kCAAuCG,EAEvC,kCAEWC,EACe,QADDC,EACzBL,sgBAAYI,sBAAc,IAAAC,IAAI,0CAEnBC,EACuB,QADDC,EACjCP,yBAAkCO,EAAI,wBAK3BC,GAH4BC,EACvCT,wBAGkC,QADDU,EACjCV,6BAAkCU,EAAI,6B,qBC7BxC,MAAMC,EAAiB,CACrBC,QAASd,EACTe,QAAS,CACPC,OAAQ,qBAINC,EAAgBC,IAAMC,OAAON,GACnCI,EAAcG,SAASL,QAAQM,OAAOC,cAAgB,UAAUC,aAAaC,QAC3E,kBAGFP,EAAcQ,aAAaC,SAASC,KACjCD,GACQA,IAERE,IAC+B,MAA1BA,EAAMF,SAASG,SACjBN,aAAaO,QACbZ,IAAME,SAASL,QAAQM,OAAOC,cAAgB,cAC9CS,OAAOC,SAASC,QAAQ,WAE1BC,IAAQC,OAAO,IA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APP_API_URL ?? \"https://api.dev.lynked.ie/\";\n // process.env.REACT_APP_API_URL ?? \"https://new.tomandjerry.pp.ua/\";\n // process.env.REACT_APP_API_URL ?? \"https://api.tomandjerry.pp.ua/\";\n // process.env.REACT_APP_API_URL ?? \"https://api.lynked.dotcode.pp.ua/\";\n// process.env.REACT_APP_API_URL ?? \"https://lynked-api-dev.herokuapp.com/\";\n// process.env.REACT_APP_API_URL ?? \"https://lynked-api-qa.herokuapp.com/\";\n// process.env.REACT_APP_API_URL ?? \"https://lynked-api.herokuapp.com/\";\n// process.env.REACT_APP_API_URL ?? \"https://api.lynked.ie/\";\n// process.env.REACT_APP_API_URL ?? \"https://15d0-92-253-212-17.ngrok-free.app/\"; // api Max\n// gimel27478@sfpixel.com\n// zudxuf-nopvar-2muBwu\n\nexport const REACT_APP_STRIPE_PKEY =\n process.env.REACT_APP_STRIPE_PKEY ??\n // \"pk_test_51K6XmmK0QBqmkHwLqE4EJfaxfB31Pu2VyXDChGzLAzlP1ZOm6OMj1vgfX1wNc7MmO15whN8r54K4EcGN9fpJREY400WkIOnyUA\";\n \"pk_test_51K6XZrFNYafCv0OY0g1vawJBAwaa49iToMnlKpCpscqmIWPQvFGpnnwJmPaU4t6BehALlN0xg1ppExiOGZAufbMd00zQBLurCg\";\n\nexport const REACT_APP_STRIPE_PRODUCT_ID =\n process.env.REACT_APP_STRIPE_PRODUCT_ID ??\n // \"pk_test_51K6XmmK0QBqmkHwLqE4EJfaxfB31Pu2VyXDChGzLAzlP1ZOm6OMj1vgfX1wNc7MmO15whN8r54K4EcGN9fpJREY400WkIOnyUA\";\n \"price_1KinvGFNYafCv0OYoHtiqLQE\";\n\nexport const GOOGLE_API_KEY =\n process.env.GOOGLE_API_KEY ?? \"AIzaSyC0t7qdndpMIaxXTBROUVw9TWOyWBf4EZs\";\n\nexport const REACT_APP_EPOS_NOW_API =\n process.env.REACT_APP_EPOS_NOW_API ?? \"https://api.lynked.ie\";\n\nexport const REACT_APP_EPOS_NOW_DASHBOARD =\n process.env.REACT_APP_EPOS_NOW_DASHBOARD ?? \"https://app.lynked.ie\";\n\nexport const REACT_APP_EPOS_NOW_STG =\n process.env.REACT_APP_EPOS_NOW_STG ?? \"https://api.eposnowhq.com\";\n","import axios from \"axios\";\nimport { REACT_APP_API_URL } from \"src/types/env\";\nimport Bugsnag from \"@bugsnag/js\";\n\nconst defaultOptions = {\n baseURL: REACT_APP_API_URL,\n headers: {\n Accept: \"application/json\",\n },\n};\n\nconst axiosInstance = axios.create(defaultOptions);\naxiosInstance.defaults.headers.common.Authorization = `Bearer ${localStorage.getItem(\n \"bearer_token\"\n)}`;\n\naxiosInstance.interceptors.response.use(\n (response) => {\n return response;\n },\n (error) => {\n if (error.response.status === 401) {\n localStorage.clear();\n axios.defaults.headers.common.Authorization = `Bearer null`;\n window.location.replace(\"/login\");\n }\n Bugsnag.notify(new Error(JSON.stringify(error)))\n return Promise.reject(error);\n }\n);\n\nexport default axiosInstance;\n","import {\n LoginUser,\n ResetPasswordRequest,\n PersonalDetailsInterface,\n} from \"src/types/auth\";\n// import {\n// RegisterPersonalInfoInterface,\n// RegisterCreatePasswordInfoInterface,\n// AccountInformationInterface,\n// } from \"src/types/registration\";\n\nimport axios from \"./api\";\n\nexport const signIn = (user: LoginUser): Promise =>\n axios\n .post(\"/public/sign-in\", user)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const checkSignIn = (): Promise =>\n axios\n .post(\"/api/check-sign-in\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const logOut = (): Promise =>\n axios\n .post(\"/api/logout\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const forgotPassword = (email: string): Promise =>\n axios\n .post(\"public/forgot_password\", { email })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const declineAccount = (verification_token: string): Promise =>\n axios\n .post(\"public/decline-email-verification\", { verification_token })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const resetPassword = (\n resetPasswordRequest: ResetPasswordRequest\n): Promise =>\n axios\n .post(\"public/reset_password\", resetPasswordRequest)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const registerAccountAdditionalInfo = (\n requestFormData: any //eslint-disable-line\n): Promise =>\n axios\n .post(\"/public/create-new-place\", requestFormData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const checkRewardCode = (\n requestFormData: any //eslint-disable-line\n): Promise =>\n axios\n .post(\"/public/check-reward-code\", requestFormData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const updateProfilePhotoAxios = (\n requestFormData: any //eslint-disable-line\n): Promise =>\n axios\n .post(\"/api/user/updatePhoto\", requestFormData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const updateProfilePersonalDetailsAxios = (\n personalDetails: PersonalDetailsInterface\n): Promise =>\n axios\n .post(\"/api/update-user-profile\", personalDetails)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getCurrencyAxios = (): Promise =>\n axios\n .get(\"/public/currencies\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const saveWelcomePromotion = (\n accountInformationToken: string\n): Promise =>\n axios\n .post(\"/api/save-first-welcome-promotion\", {\n token: accountInformationToken,\n })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n","export interface LoginUser {\n email: string;\n password: string;\n}\n\nexport interface AuthUserState {\n loggedUser: any;\n loading: boolean;\n error: null | string;\n}\n\nexport enum AuthUserActionTypes {\n LOGIN = \"LOGIN\",\n LOGIN_SUCCESS = \"LOGIN_SUCCESS\",\n LOGIN_ERROR = \"LOGIN_ERROR\",\n LOGIN_CHECK = \"LOGIN_CHECK\",\n LOGIN_CHECK_FETCH = \"LOGIN_CHECK_FETCH\",\n\n LOGOUT = \"LOGOUT\",\n LOGOUT_SUCCESS = \"LOGOUT_SUCCESS\",\n LOGOUT_ERROR = \"LOGOUT_ERROR\",\n\n UPDATE_PHOTO_SUCCESS = \"UPDATE_PHOTO_SUCCESS\",\n UPDATE_PERSONAL_DETAILS_SUCCESS = \"UPDATE_PERSONAL_DETAILS_SUCCESS\",\n UPDATE_SUBSCRIPTION_SUCCESS = \"UPDATE_SUBSCRIPTION_SUCCESS\",\n}\n\ninterface LoginAction {\n type: AuthUserActionTypes.LOGIN;\n}\ninterface LoginSuccessAction {\n type: AuthUserActionTypes.LOGIN_SUCCESS;\n payload: any;\n}\ninterface LoginErrorAction {\n type: AuthUserActionTypes.LOGIN_ERROR;\n payload: string;\n}\ninterface LoginCheck {\n type: AuthUserActionTypes.LOGIN_CHECK;\n}\ninterface LoginCheckFetch {\n type: AuthUserActionTypes.LOGIN_CHECK_FETCH;\n payload: any;\n}\n\ninterface LogoutAction {\n type: AuthUserActionTypes.LOGOUT;\n}\ninterface LogoutSuccessAction {\n type: AuthUserActionTypes.LOGOUT_SUCCESS;\n}\ninterface LogoutErrorAction {\n type: AuthUserActionTypes.LOGOUT_ERROR;\n payload: string;\n}\n\ninterface UpdatePhotoSuccessAction {\n type: AuthUserActionTypes.UPDATE_PHOTO_SUCCESS;\n payload: string;\n}\ninterface UpdatePersonalDetailsSuccessAction {\n type: AuthUserActionTypes.UPDATE_PERSONAL_DETAILS_SUCCESS;\n payload: any;\n}\ninterface UpdateSubscriptionSuccessAction {\n type: AuthUserActionTypes.UPDATE_SUBSCRIPTION_SUCCESS;\n payload: string;\n}\n\nexport type AuthUserAction =\n | LoginAction\n | LoginSuccessAction\n | LoginErrorAction\n | LoginCheck\n | LoginCheckFetch\n | LogoutAction\n | LogoutSuccessAction\n | LogoutErrorAction\n | UpdatePhotoSuccessAction\n | UpdatePersonalDetailsSuccessAction\n | UpdateSubscriptionSuccessAction;\n\nexport interface ResetPasswordRequest {\n password: string;\n password_confirm: string;\n token: string;\n}\n\nexport interface PersonalDetailsInterface {\n email: string;\n first_name: string;\n last_name: string;\n phone: string;\n address: string;\n city: string;\n country: string;\n code: string;\n about_me: string;\n vat_number: string;\n business_name: string;\n business_size: string;\n currency: number;\n}\n","import axios from \"src/api/api\";\nimport {\n AuthUserAction,\n AuthUserActionTypes,\n AuthUserState,\n} from \"src/types/auth\";\n\nconst initialState: AuthUserState = {\n loggedUser: null,\n loading: false,\n error: null,\n};\n\nexport const authReducer = (\n state = initialState,\n action: AuthUserAction\n): AuthUserState => {\n switch (action.type) {\n case AuthUserActionTypes.LOGIN: {\n return { loggedUser: null, loading: true, error: null };\n }\n case AuthUserActionTypes.LOGIN_SUCCESS: {\n localStorage.setItem(\"bearer_token\", action.payload.bearer_token);\n localStorage.setItem(\"user\", JSON.stringify(action.payload.user));\n localStorage.setItem(\"place_confirmed\", action.payload.place_confirmed);\n axios.defaults.headers.common.Authorization = `Bearer ${action.payload.bearer_token}`;\n window.location.replace(\"/\");\n return { loggedUser: action.payload, loading: false, error: null };\n }\n case AuthUserActionTypes.LOGIN_ERROR:\n return { loggedUser: null, loading: false, error: action.payload };\n case AuthUserActionTypes.LOGIN_CHECK: {\n let logedUser = null;\n if (\n localStorage.getItem(\"bearer_token\") &&\n localStorage.getItem(\"user\") &&\n localStorage.getItem(\"place_confirmed\")\n ) {\n logedUser = {\n token: localStorage.getItem(\"bearer_token\"),\n user: JSON.parse(localStorage.getItem(\"user\") ?? \"\"),\n place_confirmed: localStorage.getItem(\"place_confirmed\"),\n };\n }\n return { loggedUser: logedUser, loading: false, error: null };\n }\n case AuthUserActionTypes.LOGIN_CHECK_FETCH: {\n let logedUser = null;\n localStorage.setItem(\"user\", JSON.stringify(action.payload.user));\n localStorage.setItem(\"place_confirmed\", action.payload.place_confirmed);\n logedUser = {\n token: localStorage.getItem(\"bearer_token\"),\n user: action.payload.user,\n place_confirmed: action.payload.place_confirmed,\n };\n return { loggedUser: logedUser, loading: false, error: null };\n }\n\n case AuthUserActionTypes.LOGOUT: {\n return {\n ...state,\n loading: true,\n error: null,\n };\n }\n case AuthUserActionTypes.LOGOUT_SUCCESS: {\n localStorage.clear();\n axios.defaults.headers.common.Authorization = `Bearer null`;\n window.location.replace(\"/login\");\n return {\n ...state,\n loading: false,\n error: null,\n };\n }\n case AuthUserActionTypes.LOGOUT_ERROR:\n return {\n ...state,\n loading: false,\n error: action.payload,\n };\n\n case AuthUserActionTypes.UPDATE_PHOTO_SUCCESS: {\n const newLogedUser = state.loggedUser;\n newLogedUser.user.photo = action.payload;\n\n localStorage.setItem(\"user\", JSON.stringify(newLogedUser.user));\n return {\n ...state,\n loggedUser: newLogedUser,\n };\n }\n case AuthUserActionTypes.UPDATE_PERSONAL_DETAILS_SUCCESS: {\n const newLogedUser = state.loggedUser;\n newLogedUser.user = action.payload;\n\n localStorage.setItem(\"user\", JSON.stringify(newLogedUser.user));\n return {\n ...state,\n loggedUser: newLogedUser,\n };\n }\n case AuthUserActionTypes.UPDATE_SUBSCRIPTION_SUCCESS: {\n const newLogedUser = state.loggedUser;\n newLogedUser.user.subscription = action.payload;\n\n localStorage.setItem(\"user\", JSON.stringify(newLogedUser.user));\n return {\n ...state,\n loggedUser: newLogedUser,\n };\n }\n\n default:\n return state;\n }\n};\n","interface PromotionTypes {\n value: number | string;\n label: string;\n}\ninterface PromotionCategories {\n value: number | string;\n label: string;\n}\n\nexport interface PromotionState {\n promotionTypes: PromotionTypes[];\n promotionCategories: PromotionCategories[];\n promotionTypesEnable: boolean;\n promotionCategoriesEnable: boolean;\n}\n\nexport enum PromotionActionTypes {\n GET_PROMOTION = \"GET_PROMOTION\",\n}\n\ninterface GetPromotionAction {\n type: PromotionActionTypes.GET_PROMOTION;\n payload: {\n promotionTypes: PromotionTypes[];\n promotionCategories: PromotionCategories[];\n };\n}\n\nexport type PromotionAction = GetPromotionAction;\n","import {\n PromotionAction,\n PromotionActionTypes,\n PromotionState,\n} from \"../../types/promotion\";\n\nconst initialState: PromotionState = {\n promotionTypes: [],\n promotionCategories: [],\n promotionTypesEnable: false,\n promotionCategoriesEnable: false,\n};\n\nexport const promotionReducer = (\n state = initialState,\n acion: PromotionAction\n): PromotionState => {\n switch (acion.type) {\n case PromotionActionTypes.GET_PROMOTION:\n return {\n ...state,\n promotionTypes: acion.payload.promotionTypes,\n promotionCategories: acion.payload.promotionCategories,\n promotionTypesEnable: true,\n promotionCategoriesEnable: true,\n };\n default:\n return state;\n }\n};\n","interface GroupsTypes {\n value: number | string;\n label: string;\n}\ninterface LocationsCategories {\n value: number | string;\n label: string;\n}\n\nexport interface GroupsLocationsState {\n groups: GroupsTypes[];\n locations: LocationsCategories[];\n}\n\nexport enum GroupsLocationsActionTypes {\n GET_GROUPS_LOCATIONS = \"GET_GROUPS_LOCATIONS\",\n}\n\ninterface GetGroupsLocationsAction {\n type: GroupsLocationsActionTypes.GET_GROUPS_LOCATIONS;\n payload: {\n groups: GroupsTypes[];\n locations: LocationsCategories[];\n };\n}\n\nexport type GroupsLocationsAction = GetGroupsLocationsAction;\n","import {\n GroupsLocationsAction,\n GroupsLocationsActionTypes,\n GroupsLocationsState,\n} from \"../../types/groupsLocations\";\n\nconst initialState: GroupsLocationsState = {\n groups: [],\n locations: [],\n};\n\nexport const groupsLocationsReducer = (\n state = initialState,\n acion: GroupsLocationsAction\n): GroupsLocationsState => {\n switch (acion.type) {\n case GroupsLocationsActionTypes.GET_GROUPS_LOCATIONS:\n return {\n ...state,\n groups: acion.payload.groups,\n locations: acion.payload.locations,\n };\n default:\n return state;\n }\n};\n","import { combineReducers } from \"redux\";\nimport { authReducer } from \"./authReducer\";\nimport { promotionReducer } from \"./promotionReducer\";\nimport { groupsLocationsReducer } from \"./groupsLocationsReducer\";\n\nexport const rootReducer = combineReducers({\n auth: authReducer,\n promotion: promotionReducer,\n groupsLocations: groupsLocationsReducer,\n});\n\nexport type RootState = ReturnType;\n","import { applyMiddleware, createStore } from \"redux\";\nimport thunk from \"redux-thunk\";\nimport { composeWithDevTools } from \"redux-devtools-extension\";\nimport { rootReducer } from \"./reducers\";\n\nexport const store = createStore(\n rootReducer,\n composeWithDevTools(applyMiddleware(thunk))\n);\n","import { TypedUseSelectorHook, useSelector } from \"react-redux\";\nimport { RootState } from \"../store/reducers\";\n\nexport const useTypedSelector: TypedUseSelectorHook = useSelector;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASUAAABUCAYAAADEbiGnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABMTSURBVHgB7Z1tcttG0sd7AGorKdMJFTtP1fNpoRNEOkGgE6x8AtMnsHQCUSeIfQLRJ7B8AiEnsHICw5/XCb22snGFBGaniaFNkzOYHrxQkNi/KpRscDBs4uWPnp6ZHgEVmHzsxXkgHwspYwkiwn0C5JX691UQ7pztfvsphQ2AdshAPgUp92/SDoZhmkP4FJ7IwUBefzyXAo4c1T570J+dQEtM/vomktn0XALEZeUCIUe79/IzYBjm1kAWJRSCPJteqn9GlPLosYhpfri7C++hQXztaFsgGYZploBaMM9mL4EsBACqCbWf7/ROoUHQU/MTpLklx5M/g0btYBimPUiiVDzUch+8kcf/VnEfaIo/P6C4ROBJLsWoUTsYhmkNZ/PN1VwSKqgsQQ7ALhbpg362BzXRdryxfe6yQ/3Q5Id+dggMw3Qat6eU//0YLA96BsGTH/qzAxQd5Y3YAsrRu+twCDVRgmRrgqXquw9ddmBQnL0lhuk+TlFSD/nQuB+Ck//rT8eL//94fzaSUjy3fMljqAF6SerP0PSZEpsz9d3Jsh1CwIWpbIjDBxiG6TSlovTuQ4hd/5Hho/TH/vTZ6s5wNhupP2u9beilaGGpRJZNY8tH44f9bLy6UwTZidEOqeyYwAAYhukspaIkAviXaT96J6b98+5/i7eUz2ZDqIjN01Je3AvT/t1vIZU5vDJ8NMh2dhxjrBiG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uR3KnVaB+Z8+26ED7nXQJ/5Ad8MPoUjVEEF3oPYYNSXeKaFMlfP+llB36RxNaBb0xnGQICUueqTujxdlgxoXL7il+4gy3GVBCsX1e9bEi0Xb8mjJFpyY6/qd75dsSFf2p6XfB8xWIYspC67VimuNTWLaQV+7CL6MAcIX3n+geNAXD3uyCQ93xRYUqO/hy4uCs5MyNPQo2zfSzTEwDMO0jaSvFR8BwzBMW2gPiSpI58AwDNMW2PZX22tJJwKGYZgmkcVMcezh8c0OMAKGYZi6SHr6izJIC0IwTNtUSIfL3EGw+9Z7IjLDtAGLEpNCkYOaR28znYBFabtBD4k8/J9hNgGL0vbyHCd/sofEdA2vxSiZO8FixjhnAGA6CYvS9rBIRPeMvSOmy7Ao3W1S+JJkfsxixNwG/gejboW0m4nsvwAAAABJRU5ErkJggg==\"","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowDown(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n opacity: 0.6\n }, /*#__PURE__*/React.createElement(\"g\", {\n opacity: 0.87\n }, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M24 24H0V0h24v24z\"\n })), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(0,13,70)\",\n fillRule: \"evenodd\",\n d: \"M15.88 9.29L12 13.17 8.12 9.29c-.39-.39-1.02-.39-1.41 0-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowDown);\nexport default __webpack_public_path__ + \"static/media/arrowDown.89612985.svg\";\nexport { ForwardRef as ReactComponent };","const Color = {\n white: \"#ffffff\",\n blueDark: \"#101c52\",\n blueLight: \"#dcdef8\",\n blueLightMedium: \"#3FB1FF\",\n blueDarkBlour: \"#1a2559\",\n RebrandAppBackgroundColor: \"#2E4B4E\",\n YellowButtonBg: \"#EDF403\",\n blue: \"#515CDD\",\n blueHover: \"#2934b5\",\n blueText: \"#737ce4\",\n blueDarkText: \"#000D46\",\n blueLightBackground: \"#f7f8fc\",\n blueBackground: \"#dcdef8\",\n grey: \"#2F3640\",\n greyMedium: \"#BCBCBC\",\n greyLight: \"#d8d8d8\",\n orange: \"#ec9345\",\n green: \"#2ECC71\",\n gradientFreeCardFrom: \"#515CDD\",\n gradientFreeCardTo: \"#3FB1FF\",\n iconInactive: \"#2F3640\",\n redMedium: \"red\",\n};\n\nexport { Color };\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n a {\n display: flex;\n align-items: center;\n padding: 16px 18px;\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 17px;\n font-weight: 300;\n letter-spacing: 0;\n line-height: 23px;\n .icon {\n margin-right: 20px;\n line-height: 0;\n }\n }\n`;\n\nexport { Wrapper };\n","import React from \"react\";\nimport { Link } from \"react-router-dom\";\n\nimport {Props} from \"./types\";\nimport { Wrapper } from \"./styled\";\n\nconst MunuItem = ({ item }:Props) => {\n return (\n \n {item.type === \"item\" ||\n item.type === \"item-parent\" ||\n item.type === \"item-children\" ? (\n \n {item.icon ? \n {item.name}/\n : null}\n {item.name}\n \n ) : item.type === \"external\" ? (\n \n \n {item.name}\n \n {item.name}\n \n ) : null}\n \n );\n};\n\nexport default MunuItem;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n .nav-item {\n line-height: 0;\n position: relative;\n &.active-parent-page,\n &.active-page {\n & > div > a {\n opacity: 1;\n border-radius: 4px;\n background-color: rgb(0 13 70 / 10%);\n }\n }\n &.active-parent-page {\n border-radius: 4px;\n background-color: ${Color.blueLightBackground};\n .arrow-drop-down {\n transform: rotate(180deg);\n }\n .nav-children-items {\n display: block;\n .active-page {\n & > div > a {\n opacity: 1;\n border-radius: 4px;\n background-color: rgb(0 13 70 / 10%);\n }\n }\n }\n }\n &.show-sub-page {\n border-radius: 4px;\n background-color: ${Color.blueLightBackground};\n .arrow-drop-down {\n transform: rotate(180deg);\n }\n .nav-children-items {\n display: block;\n }\n }\n &:hover {\n & > div > a {\n opacity: 1;\n border-radius: 4px;\n background-color: rgb(0 13 70 / 10%);\n }\n }\n a {\n &:hover {\n opacity: 1;\n }\n }\n &_not_active {\n &.active-parent-page,\n &.active-page {\n & > div > a {\n opacity: 1;\n border-radius: 4px;\n background-color: ${Color.blueLightBackground};\n }\n }\n }\n }\n\n .active-page,\n .active-parent-page {\n & > div > a {\n opacity: 1;\n }\n }\n\n .nav-children-items {\n display: none;\n }\n\n .item-parent {\n .arrow-drop-down {\n background: none;\n padding: 0;\n cursor: pointer;\n line-height: 0;\n width: 24px;\n height: 24px;\n position: absolute;\n right: 20px;\n top: 18px;\n }\n }\n`;\n\nexport { Wrapper };\n","import React, {useState} from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { ReactComponent as ArrowDownIcon } from \"src/assets/img/arrowDown.svg\";\nimport MunuItem from \"../MunuItem\";\nimport { MenuList } from \"../types\";\nimport {Props} from \"./types\";\nimport { Wrapper } from \"./styled\";\n\nconst Menu = ({ menuList }:Props) => {\n const location = useLocation();\n const [openSubMenuList, setOpenSubMenuList] = useState([]);\n\n const activeParentPage = (item: MenuList) => {\n if (item.children) {\n return item.children.some((e) => e.path === location.pathname);\n }\n return false;\n };\n\n const checkActiveSubPath = (activeSubPath?: string[]) => {\n if (activeSubPath) {\n return activeSubPath.some((e) => e === location.pathname);\n }\n return false;\n };\n\n const openChildrenNav = (itemPath: string) => {\n const openSubMenuListTemp = [...openSubMenuList];\n const index = openSubMenuListTemp.indexOf(itemPath);\n if (index > -1) {\n openSubMenuListTemp.splice(index, 1);\n setOpenSubMenuList(openSubMenuListTemp);\n } else {\n setOpenSubMenuList((oldOpenSubMenuList) => [\n ...oldOpenSubMenuList,\n itemPath,\n ]);\n }\n };\n\n const showSubPage = (itemPath: string) => {\n return openSubMenuList.some((e) => e === itemPath);\n };\n\n return (\n \n {menuList.map((item) => (\n \n {item.type === \"item\" || item.type === \"external\" ? (\n \n ) : item.type === \"item-parent\" ? (\n <>\n \n openChildrenNav(item.path)}\n >\n \n \n
\n {item.children\n ? item.children.map((itemChildren) => (\n \n \n
\n ))\n : null}\n \n \n ) : null}\n \n ))}\n
\n );\n};\n\nexport default Menu;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n width: 280px;\n z-index: 1;\n background-color: ${Color.white};\n .logo-wrap {\n background-color: ${Color.RebrandAppBackgroundColor};\n line-height: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 80px;\n padding: 25px;\n box-sizing: border-box;\n svg {\n max-width: 100%;\n max-height: 100%;\n width: auto;\n height: auto;\n }\n .logo-container {\n position: relative;\n width: 100%;\n max-width: 195px;\n img {\n -o-object-fit: cover;\n object-fit: cover;\n width: 100%;\n height: 100%;\n font-family: \"object-fit: cover\";\n }\n }\n #burger-icon {\n width: 26px;\n height: 23px;\n position: relative;\n -webkit-transform: rotate(0deg);\n -moz-transform: rotate(0deg);\n -o-transform: rotate(0deg);\n transform: rotate(0deg);\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n cursor: pointer;\n background: transparent;\n\n span {\n display: block;\n position: absolute;\n height: 3px;\n width: 100%;\n background: #fff;\n border-radius: 9px;\n opacity: 1;\n left: 0;\n -webkit-transform: rotate(0deg);\n -moz-transform: rotate(0deg);\n -o-transform: rotate(0deg);\n transform: rotate(0deg);\n -webkit-transition: 0.25s ease-in-out;\n -moz-transition: 0.25s ease-in-out;\n -o-transition: 0.25s ease-in-out;\n transition: 0.25s ease-in-out;\n\n &:nth-child(1) {\n top: 0px;\n -webkit-transform-origin: left center;\n -moz-transform-origin: left center;\n -o-transform-origin: left center;\n transform-origin: left center;\n }\n &:nth-child(2) {\n top: 10px;\n -webkit-transform-origin: left center;\n -moz-transform-origin: left center;\n -o-transform-origin: left center;\n transform-origin: left center;\n }\n &:nth-child(3) {\n top: 20px;\n -webkit-transform-origin: left center;\n -moz-transform-origin: left center;\n -o-transform-origin: left center;\n transform-origin: left center;\n }\n }\n &.open span:nth-child(1) {\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n top: 1px;\n left: 1px;\n width: 30px;\n }\n &.open span:nth-child(2) {\n width: 0%;\n opacity: 0;\n }\n &.open span:nth-child(3) {\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n top: 22px;\n left: 1px;\n width: 30px;\n }\n }\n }\n .content {\n box-shadow: 2px 0 10px 0 rgba(0, 0, 0, 0.1);\n box-sizing: border-box;\n padding: 30px 10px 10px;\n overflow: auto;\n height: calc(100vh - 80px);\n\n &::-webkit-scrollbar {\n width: 5px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 10px;\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blueLight};\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n }\n }\n .main-btn {\n a {\n width: auto;\n margin: 0 30px 30px 30px;\n border-radius: 4px;\n background-color: ${Color.YellowButtonBg};\n color: ${Color.RebrandAppBackgroundColor};\n font-size: 18px;\n font-weight: 500;\n line-height: 23px;\n text-align: center;\n display: block;\n padding: 13px;\n &:hover {\n // background-color: ${Color.RebrandAppBackgroundColor};\n opacity: 0.8;\n }\n }\n }\n\n .nav-items {\n &.nav-bottom-items {\n margin-top: 60px;\n }\n }\n\n @media (max-width: 991px) {\n width: unset;\n .logo-wrap {\n width: 100%;\n justify-content: space-between;\n padding: 17px;\n height: 57px;\n .logo-container {\n max-width: 160px;\n }\n }\n .content {\n transition: left 1s;\n width: 280px;\n position: absolute;\n left: -280px;\n background: ${Color.white};\n &.show-mobile-menu {\n transition: all 1s;\n left: 0;\n z-index: 5;\n }\n }\n .disable-blur-content {\n display: none;\n }\n .enable-blur-content {\n position: absolute;\n left: 0;\n top: 57px;\n bottom: 0;\n width: 100%;\n z-index: 1;\n background-color: transparent;\n backdrop-filter: blur(3px);\n }\n }\n @media (min-width: 992px) {\n #burger-icon {\n display: none;\n }\n }\n`;\n\nexport { Wrapper };\n","export default __webpack_public_path__ + \"static/media/dashboard.b4ccca49.svg\";","export default __webpack_public_path__ + \"static/media/campaigns.1bdfaa8d.svg\";","export default __webpack_public_path__ + \"static/media/campaigns-quick.31954c1d.svg\";","export default __webpack_public_path__ + \"static/media/campaigns-manage.f403b6d3.svg\";","export default __webpack_public_path__ + \"static/media/user-profile.bcfaeb8d.svg\";","export default __webpack_public_path__ + \"static/media/promotions.16f38e51.svg\";","export default __webpack_public_path__ + \"static/media/promotion-manage.dea92aef.svg\";","export default __webpack_public_path__ + \"static/media/pos-rules.586d6889.svg\";","export default __webpack_public_path__ + \"static/media/settings.510ef817.svg\";","export default __webpack_public_path__ + \"static/media/customers.d7085618.svg\";","export default __webpack_public_path__ + \"static/media/customer-groups.d7085618.svg\";","export default __webpack_public_path__ + \"static/media/vouchers.f2445f7f.svg\";","export default __webpack_public_path__ + \"static/media/help.4c83f1f2.svg\";","import DashboardIcon from \"src/assets/img/menu-item/dashboard.svg\";\nimport CampaignsIcon from \"src/assets/img/menu-item/campaigns.svg\";\nimport CampaignsQuickIcon from \"src/assets/img/menu-item/campaigns-quick.svg\";\nimport CampaignsManageIcon from \"src/assets/img/menu-item/campaigns-manage.svg\";\nimport UserProfileIcon from \"src/assets/img/menu-item/user-profile.svg\";\nimport PromotionsIcon from \"src/assets/img/menu-item/promotions.svg\";\nimport PromotionsManageIcon from \"src/assets/img/menu-item/promotion-manage.svg\";\nimport PosRulesIcon from \"src/assets/img/menu-item/pos-rules.svg\";\nimport Settingscon from \"src/assets/img/menu-item/settings.svg\";\nimport CustomersIcon from \"src/assets/img/menu-item/customers.svg\";\nimport CustomerGroupsIcon from \"src/assets/img/menu-item/customer-groups.svg\";\nimport VouchersIcon from \"src/assets/img/menu-item/vouchers.svg\";\nimport HelpIcon from \"src/assets/img/menu-item/help.svg\";\n\nimport {MenuList} from \"./types\";\n\nexport const allMenuList: Array = [\n {\n icon: DashboardIcon,\n name: \"Dashboard\",\n type: \"item\",\n path: \"/\",\n active: ['all', 'shopify', 'lightSpeed', 'pos', 'admin']\n },\n {\n icon: UserProfileIcon,\n name: \"Account Management\",\n type: \"item\",\n path: \"/account-management\",\n activeSubPath: [\n \"/account-management/edit-personal-details\",\n \"/account-management/update-plan\",\n ],\n active: ['all','shopify','lightSpeed', 'pos'],\n },\n {\n icon: PromotionsManageIcon,\n name: \"Outlets and Users\",\n type: \"item\",\n path: \"/outlets-and-users\",\n active: ['all','shopify','lightSpeed', 'pos'],\n },\n {\n icon: CustomersIcon,\n name: \"Staff Performance\",\n type: \"item\",\n path: \"/staff-performance\",\n active: ['all','shopify','lightSpeed', 'pos'],\n },\n // {\n // icon: Settingscon,\n // name: \"Discount Conditions\",\n // type: \"item\",\n // path: \"/conditions\",\n // active: ['all','shopify','lightSpeed', 'pos'],\n // },\n {\n icon: PromotionsIcon,\n name: \"Your Loyalty Program\",\n type: \"item\",\n path: \"/your-loyalty-program\",\n active: ['all','shopify','lightSpeed', 'pos'],\n },\n {\n icon: PromotionsIcon,\n name: \"Minimum Spend\",\n type: \"item\",\n path: \"/minimum-spend\",\n active: ['minSpend'],\n },\n {\n icon: CampaignsIcon,\n name: \"Campaigns\",\n type: \"item-parent\",\n path: \"/campaigns/manage-campaigns\",\n children: [\n {\n icon: CampaignsManageIcon,\n name: \"Manage Campaigns\",\n type: \"item-children\",\n path: \"/campaigns/manage-campaigns\",\n },\n {\n icon: CampaignsQuickIcon,\n name: \"Create Campaign\",\n type: \"item-children\",\n path: \"/campaigns/create-campaign\",\n },\n {\n icon: CustomerGroupsIcon,\n name: \"Customer Groups\",\n type: \"item-children\",\n path: \"/customers/customer-groups\",\n activeSubPath: [\"/customers/create-customer-group\"],\n },\n ],\n active: ['all','shopify', 'lightSpeed', 'pos', 'campaigns'],\n },\n {\n icon: CampaignsIcon,\n name: \"Notification\",\n type: \"item-parent\",\n path: \"/notification/manage-notification\",\n children: [\n {\n icon: CampaignsManageIcon,\n name: \"Manage Notification\",\n type: \"item-children\",\n path: \"/notification/manage-notification\",\n },\n {\n icon: CampaignsQuickIcon,\n name: \"Create Notification\",\n type: \"item-children\",\n path: \"/notification/create-notification\",\n },\n // {\n // icon: CustomerGroupsIcon,\n // name: \"Customer Groups\",\n // type: \"item-children\",\n // path: \"/customers/customer-groups\",\n // activeSubPath: [\"/customers/create-customer-group\"],\n // },\n ],\n active: ['admin'],\n },\n {\n icon: CustomersIcon,\n name: \"Your Customers\",\n type: \"item\",\n path: \"/customers/customer-list\",\n active: ['all','shopify', 'lightSpeed', 'pos'],\n \n },\n {\n icon: PosRulesIcon,\n name: \"POS Rules\",\n type: \"item\",\n path: \"/pos-rules\",\n active: ['shopify', 'lightSpeed', 'pos'],\n },\n {\n icon: PosRulesIcon,\n name: \"Pixel POS Rules\",\n type: \"item\",\n path: \"/site-pos-rules\",\n active: ['sitePos'],\n },\n {\n icon: PosRulesIcon,\n name: \"Innova POS Rules\",\n type: \"item\",\n path: \"/innova-pos-rules\",\n active: ['innovaPos'],\n },\n {\n icon: PosRulesIcon,\n name: \"External Pos Integration\",\n type: \"item\",\n path: \"/external-pos-integration\",\n active: ['lightSpeed'],\n },\n {\n icon: PosRulesIcon,\n name: \"Klaviyo Integration\",\n type: \"item\",\n path: \"/klaviyo-integration\",\n active: ['klaviyo'],\n },\n {\n icon: CustomersIcon,\n name: \"E-Commerce Rule\",\n type: \"item\",\n path: \"/e-commerce\",\n active: ['shopify'],\n },\n {\n icon: CustomersIcon,\n name: \"Staff members\",\n type: \"item\",\n path: \"/staff-members\",\n active: ['staff'],\n \n },\n {\n icon: DashboardIcon,\n name: \"Staff Discount Dashboard\",\n type: \"item\",\n path: \"/staff-discount-dashboard\",\n active: ['staff-discount', 'staff-members-with-badge']\n },\n {\n icon: CustomersIcon,\n name: \"Staff discounts\",\n type: \"item\",\n path: \"/staff-discount\",\n active: ['staff-discount', 'staff-members-with-badge'],\n },\n {\n icon: CustomersIcon,\n name: \"Staff members\",\n type: \"item\",\n path: \"/staff-discount-members\",\n active: ['staff-discount'],\n \n },{\n icon: CustomersIcon,\n name: \"Staff members\",\n type: \"item\",\n path: \"/staff-members-with-badge\",\n active: ['staff-members-with-badge'],\n \n },\n {\n icon: VouchersIcon,\n name: \"Spend Card\",\n type: \"item\",\n path: \"/spend-card\",\n active: ['spend-card'],\n },\n {\n icon: CustomersIcon,\n name: \"Product discount\",\n type: \"item-parent\",\n path: \"/product-discount\",\n children: [\n {\n icon: CampaignsManageIcon,\n name: \"Product Discount For All Customers\",\n type: \"item-children\",\n path: \"/product-discount\",\n },\n {\n icon: CampaignsQuickIcon,\n name: \"Product Discount For Customers Groups\",\n type: \"item-children\",\n path: \"/product-discount/groups\",\n },\n ],\n active: ['productDiscount'],\n },\n {\n icon: PromotionsManageIcon,\n name: \"Businesses\",\n type: \"item\",\n path: \"/admin-businesses\",\n active: [ 'admin'],\n // activeSubPath: [\n // \"/account-management/edit-personal-details\",\n // \"/account-management/update-plan\",\n // ],\n },\n {\n icon: CustomersIcon,\n name: \"Users\",\n type: \"item\",\n path: \"/admin-users\",\n active: ['admin'],\n },\n {\n icon: Settingscon,\n name: \"Businesses Settings\",\n type: \"item\",\n path: \"/businesses-settings\",\n active: ['admin'],\n },\n {\n icon: CustomersIcon,\n name: \"Adverts\",\n type: \"item-parent\",\n path: \"/admin-adverts\",\n active: ['admin'],\n children: [\n {\n icon: '',\n name: \"Featured Partners\",\n type: \"item-children\",\n path: \"/admin-adverts\",\n },\n {\n icon: '',\n name: \"Offers (Outlets)\",\n type: \"item-children\",\n path: \"/admin-adverts/offers-outlets\",\n },\n {\n icon: '',\n name: \"Offers (Brands)\",\n type: \"item-children\",\n path: \"/admin-adverts/offers-brands\",\n },\n ],\n }\n]\n\nexport const menuBottomList: MenuList[] = [\n {\n icon: HelpIcon,\n name: \"Help\",\n type: \"external\",\n path: \"https://lynkedloyalty.com/contact-us/\",\n },\n // {\n // icon: FeedbackIcon,\n // name: \"Feedback\",\n // type: \"item\",\n // path: \"/feedback\",\n // },\n];\n","import React, {useCallback, useEffect, useState} from \"react\";\nimport {Link, useHistory} from \"react-router-dom\";\nimport LogoSidebar from \"src/assets/img/logo_sidebar.png\";\nimport Menu from \"./Menu\";\nimport {Wrapper} from \"./styled\";\nimport {\n menuBottomList, allMenuList\n} from \"./menuList\";\nimport {useTypedSelector} from \"src/hooks/useTypedSelector\";\nimport {MenuList} from \"./types\";\nimport {getBusinessOptionsAxios} from \"../../api/businessPlan\";\n\nconst Sidebar: React.FC = () => {\n const history = useHistory();\n const [visibleMenu, setVisibleMenu] = React.useState(true);\n const {loggedUser} = useTypedSelector((state) => state.auth);\n const [showMenuList, setShowMenuList] = useState([])\n const role = JSON.parse(localStorage.getItem(\"user\")!)?.role\n \n const getAllBusinessOptions = useCallback(()=>{\n !loggedUser.user.allow_staff ?\n getBusinessOptionsAxios().then(res=>{\n createMenuList(res.data)\n }) : createMenuList({})\n },[])\n \n const createMenuList = (options: any)=>{\n let activeMenuTab = []\n loggedUser.user.allow_shopify && activeMenuTab.push('shopify')\n loggedUser.user.allow_lightspeed && loggedUser.user.allow_pos && (\n activeMenuTab.push('lightSpeed')\n )\n loggedUser.user.allow_pos && (\n activeMenuTab.push('pos')\n )\n loggedUser.user.allow_cbePP && (\n activeMenuTab.push('sitePos')\n )\n loggedUser.user.allow_cbe_innova && (\n activeMenuTab.push('innovaPos')\n )\n loggedUser.user.allow_klaviyo && (\n activeMenuTab.push('klaviyo')\n )\n options?.staff_member_type?.value === 'westmorland' && loggedUser.user.role === 2 && (\n activeMenuTab.push('staff-members-with-badge')\n )\n loggedUser.user.allow_min_spend && (\n activeMenuTab.push('minSpend')\n )\n loggedUser.user.allow_campaigns && (\n activeMenuTab.push('campaigns')\n )\n loggedUser.user.allow_product_discount && (\n activeMenuTab.push('productDiscount')\n )\n loggedUser.user.role === 3 && (\n activeMenuTab.push('admin')\n )\n loggedUser.user.allow_staff && (\n activeMenuTab.push('staff')\n )\n options?.staff_member_type?.value === 'standard' && loggedUser.user.role === 2 && (\n activeMenuTab.push('staff-discount')\n )\n loggedUser.user.allow_spend_card && (\n activeMenuTab.push('spend-card')\n )\n // eslint-disable-next-line no-mixed-operators\n if ((activeMenuTab.length === 0 || !activeMenuTab.includes('staff')) && loggedUser.user.role !== 3) {\n \n activeMenuTab.unshift('all')\n }\n let resultMenuArr: any[] = []\n activeMenuTab.map(tab => {\n resultMenuArr.push(...allMenuList.filter(item => item.active?.includes(tab)))\n })\n // @ts-ignore\n setShowMenuList([...new Set(resultMenuArr)])\n }\n \n useEffect(() => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n loggedUser.user.allow_staff ? history.push('/staff-members') : null;\n }, [loggedUser.user.allow_staff])\n \n useEffect(() => {\n getAllBusinessOptions()\n }, [getAllBusinessOptions]);\n const showMenu = () => {\n setVisibleMenu(!visibleMenu);\n };\n useEffect(() => {\n return history.listen(() => {\n setVisibleMenu(false);\n });\n }, [history]);\n \n return (\n \n
\n
\n \"LogoSidebar\"/\n
\n \n \n \n \n \n
\n
\n
\n {loggedUser.user.allow_staff || role === 3 ? null : \n Create Campaign\n }\n \n
\n
\n \n
\n
\n \n
\n
\n \n {}\n \n
\n );\n};\n\nexport default Sidebar;\n","import axios from \"./api\";\n\nconst getBusinessPlansAxios = (): Promise =>\n axios\n .get(\"/public/getPlansInfo\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nconst getBusinessOptionsAxios = (): Promise =>\n axios\n .get(\"/api/business/options\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nconst getOneBusinessOptionsAxios = ({id}: {id: number}): Promise =>\n axios\n .get(`/api/business/options/${id}`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nconst updateBusinessOptionsAxios = ({id, data}: {id: number, data: any}): Promise =>\n axios\n .post(`/api/business/options/${id}`, data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport { getBusinessPlansAxios, getBusinessOptionsAxios, updateBusinessOptionsAxios, getOneBusinessOptionsAxios };\n","import axios from \"./api\";\n\nexport const getManageBillingUrlAxios = (): Promise =>\n axios\n .get(\"/api/generateBillingUrl\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const updateBusinessPlanAxios = (price_id: string): Promise =>\n axios\n .post(\"/api/user/updateSubscription\", { price_id })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getSubscriptionData = (): Promise =>\n axios\n .post(\"/api/user/getSubscriptionData\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n","import { Dispatch } from \"redux\";\n\nimport {\n LoginUser,\n AuthUserAction,\n AuthUserActionTypes,\n PersonalDetailsInterface,\n} from \"src/types/auth\";\nimport {\n signIn,\n logOut,\n updateProfilePhotoAxios,\n updateProfilePersonalDetailsAxios,\n} from \"src/api/auth\";\nimport { updateBusinessPlanAxios } from \"src/api/userProfile\";\n\nexport const loginUser = (loginUserData: LoginUser): any => {\n return async (dispatch: Dispatch) => {\n dispatch({ type: AuthUserActionTypes.LOGIN });\n signIn(loginUserData)\n .then((response) => {\n if (response.data.token) {\n window.location.replace(\n `/registration?account_information_token=${\n response.data.token ?? response.data.decline_token\n }`\n );\n } else {\n dispatch({\n type: AuthUserActionTypes.LOGIN_SUCCESS,\n payload: response.data,\n });\n }\n })\n .catch((error) => {\n dispatch({\n type: AuthUserActionTypes.LOGIN_ERROR,\n payload: error.data.message,\n });\n });\n };\n};\n\nexport const logoutUser = (): any => {\n return async (dispatch: Dispatch) => {\n dispatch({ type: AuthUserActionTypes.LOGOUT });\n logOut()\n .then((response) => {\n dispatch({\n type: AuthUserActionTypes.LOGOUT_SUCCESS,\n payload: response.data,\n });\n })\n .catch((error) => {\n dispatch({\n type: AuthUserActionTypes.LOGOUT_ERROR,\n payload: error.data.message,\n });\n });\n };\n};\n\nexport const updateProfilePhoto = (\n requestFormData: any //eslint-disable-line\n): any => {\n return async (dispatch: Dispatch) =>\n new Promise((resolve, reject) => {\n updateProfilePhotoAxios(requestFormData)\n .then((response) => {\n dispatch({\n type: AuthUserActionTypes.UPDATE_PHOTO_SUCCESS,\n payload: response.data.photo,\n });\n return resolve(response);\n })\n .catch((error) => {\n return reject(error);\n });\n });\n};\n\nexport const updateProfilePersonalDetails = (\n personalDetails: PersonalDetailsInterface\n): any => {\n return async (dispatch: Dispatch) =>\n new Promise((resolve, reject) => {\n updateProfilePersonalDetailsAxios(personalDetails)\n .then((response) => {\n dispatch({\n type: AuthUserActionTypes.UPDATE_PERSONAL_DETAILS_SUCCESS,\n payload: response.data.user,\n });\n return resolve(response);\n })\n .catch((error) => {\n return reject(error);\n });\n });\n};\n\nexport const updateBusinessPlan = (price_id: string): any => {\n return async (dispatch: Dispatch) =>\n new Promise((resolve, reject) => {\n updateBusinessPlanAxios(price_id)\n .then((response) => {\n dispatch({\n type: AuthUserActionTypes.UPDATE_SUBSCRIPTION_SUCCESS,\n payload: price_id,\n });\n return resolve(response);\n })\n .catch((error) => {\n return reject(error);\n });\n });\n};\n","import axios from \"./api\";\n\nexport const getPromotionsCategoriesAxios = (): Promise =>\n axios\n .get(\"/api/get-promotions\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n","import { Dispatch } from \"redux\";\nimport { PromotionAction, PromotionActionTypes } from \"../../types/promotion\";\nimport { getPromotionsCategoriesAxios } from \"../../api/promotion\";\n\nexport const getPromotionsCategories = (): any => {\n return async (dispatch: Dispatch) => {\n getPromotionsCategoriesAxios().then((response) => {\n const promotionTypes = response.data.promotions.map(\n (item: { id: number; name: string }) => {\n return {\n value: item.id,\n label: item.name,\n };\n }\n );\n const promotionCategories = response.data.categories.map(\n (item: { id: number; name: string }) => {\n return {\n value: item.id,\n label: item.name,\n };\n }\n );\n dispatch({\n type: PromotionActionTypes.GET_PROMOTION,\n payload: {\n promotionTypes,\n promotionCategories,\n },\n });\n });\n };\n};\n","import { Dispatch } from \"redux\";\nimport {\n GroupsLocationsAction,\n GroupsLocationsActionTypes,\n} from \"../../types/groupsLocations\";\nimport { getGroupsLocationstAxios } from \"../../api/groupsLocations\";\n\nexport const getGroupsLocations = (): any => {\n return async (dispatch: Dispatch) => {\n getGroupsLocationstAxios().then((response) => {\n const groups = response.data.groups.map(\n (item: { id: number; name: string }) => {\n return {\n value: item.id,\n label: item.name,\n };\n }\n );\n const locations = response.data.locations.map(\n (item: { id: number; location_name: string }) => {\n return {\n value: item.id,\n label: item.location_name,\n };\n }\n );\n dispatch({\n type: GroupsLocationsActionTypes.GET_GROUPS_LOCATIONS,\n payload: {\n groups,\n locations,\n },\n });\n });\n };\n};\n","import axios from \"./api\";\n\nexport const getGroupsLocationstAxios = (): Promise =>\n axios\n .get(\"/api/getPlaceInfo\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n","import * as AuthActionCreators from \"./auth\";\nimport * as PromotionActionCreators from \"./promotion\";\nimport * as GroupsLocationsActionCreators from \"./groupsLocations\";\n\nexport default {\n ...AuthActionCreators,\n ...PromotionActionCreators,\n ...GroupsLocationsActionCreators,\n};\n","import { useDispatch } from \"react-redux\";\nimport { bindActionCreators } from \"redux\";\nimport ActionCreators from \"../store/action-creaters\";\n\nexport const useActions = (): any => {\n const dispatch = useDispatch();\n return bindActionCreators(ActionCreators, dispatch);\n};\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInfo(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M0 0h24v24H0V0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(255,255,255)\",\n className: \"circle\",\n fillRule: \"evenodd\",\n d: \"M12 2C6.47998047 2 2 6.48001099 2 12s4.47998047 10 10 10 10-4.48001099 10-10S17.52001953 2 12 2zm-1 5v2h2V7h-2zm1 10c-.5499878 0-1-.4500122-1-1v-4c0-.5499878.4500122-1 1-1s1 .4500122 1 1v4c0 .5499878-.4500122 1-1 1z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgInfo);\nexport default __webpack_public_path__ + \"static/media/info.3741e58e.svg\";\nexport { ForwardRef as ReactCom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CamP3Yp+t4SUpggVAGwTo/WHK2WjuwYyoOnJBBIiYgYrgr7W7tvc+lmAO03wJVsl33Eo+ORou1Lo+/o27JCC+/l28JXkHv8APt4a9F6H9MvPq3oztF4CD1vG4ApTMAgMSehOUBIOWoChdIngFS/Qx4/bpRNOj6UasV4gI04clnFCpgAgCAcPlA7GaWodPg8heT8NF348A+Szw7eTD7fHVWNLkfAAg0MoMbqSOUPtbBpouVU2AkwKTXxFaTghChkW5xBDT1YRSAOhHzQ1+wIJ1ExyljxGCFr5KWTyK7NZxulll4cnlmeaCSggVABZZAwGay0kHdnwiqjpltxms8/zGWrAlnWXgGKSyFo+2P8AbEV6N5wCTqWhTFCsdEBaOmMm+RZuFD7ghiqSrIailI4NlqT5SF5IFA4aEAL/ADhCcQasFIkRaoScHQ3KxFqJZ8YMUMBxI8IApKDJiWDs4gzVGFHlQgMcQQSW3ClC4Mi3JQpkNxJB2cQTVTXFh5p7AiUmLImIQSDIZEAUlBmJeO7iCVQYUsqsRag4QIIEQA94lApkIkgvKkG1LpxaVEsg9BSMQa9tRHPgKmDs+nbV4i1ACgUiACADyPYWEvoEHJFOTcFxI5KhiTJNS/JdT9/83M4CIFCIxoJB+BEgFJXX9Hr/AP/aAAwDAQACAAMAAAAQ8888888888888888888888888888888888888888888888888888888888888888888888w08888888888888888888888888EcsMMMI88888888888888888884cc8888888wc08888888888888888k888888888888888888888888888888888888888888888888888888884888888888888888888888888888888888888888888w88888888888888s8888888888888Q8888888888888848888888888888k8888888888888840888888888888c8888888888888840888888888888c888888888888888888888888888sU8888888888888888888888888888088888888888888808888888888888888888888888888808888888888g88888888888888888U8888888888c88888888888888888Y8888888880888888888888888888s888888888c8888888888888888888088888884c8888888888888888888U8888888s8888888888888888888808888888488888888888888888884888888888c8888888888888888k888888888888MUw88888888888ks8888888888888888cU8888888oc88888888888888888888sU08888c88888888888888888888888o08888888888888888888888888888c8//EABQRAQAAAAAAAAAAAAAAAAAAAJD/2gAIAQMBAT8QUn//xAAU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7QpjZcnm5JRKEthsdHgoSd0u7ai69Jvs88oMYbAv9pQt71XvtwBQKsBitSKB6Pd+qJZH1Xq41i9ccsRH9VE0cCP6Bh7VFiHnPWts2zMWKQFTsa1WPy1eRo2B2zcTUNHNTPg00CO/D4ahSZ/zGm2WBEAuqgKk/Gp+6lZIyGw6HAY4Uv1NKjFD9DEoeh6smSYiC6mAqQiHQe+tTZdCwO3BSI/q4robFD3Ne1b5KjE6mn9wMgF1WAp5EfQ9N6sAGGAdDhIUAwSGoYlcj3PqiK3qp/ruUM/QYc6XjhbYPfd4aLG9Vj13pGRbFu59VfBkJI/0bI2uP2vKnT3CkvELHCvcdQqKWKVX6m5/JFEmBa8vtxNL7JxA0AMFQN9zk/wUgtYxqcVVzpHz/7/AP/Z\"","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n height: 80px;\n background-color: ${Color.white};\n box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);\n display: flex;\n justify-content: space-between;\n padding: 20px 30px;\n box-sizing: border-box;\n position: relative;\n z-index: 9;\n\n .account-under-review-wrap {\n border-radius: 4px;\n background-color: ${Color.blueLightBackground};\n padding: 7px 17px;\n svg {\n margin-bottom: -5px;\n path.circle {\n fill: ${Color.blue};\n }\n }\n .blue-text {\n color: ${Color.blue};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n margin-left: 15px;\n margin-right: 15px;\n position: relative;\n top: -2px;\n }\n .main-text {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n position: relative;\n top: -2px;\n }\n }\n\n .nav-user {\n display: flex;\n align-items: center;\n padding: 0;\n background: none;\n cursor: pointer;\n position: relative;\n .img {\n width: 40px;\n height: 40px;\n margin-right: 16px;\n img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n border-radius: 100%;\n }\n }\n .name-email {\n margin-right: 12px;\n text-align: left;\n }\n .name {\n color: ${Color.blueDarkText};\n font-size: 18px;\n font-weight: 300;\n line-height: 23px;\n }\n .email {\n opacity: 0.3;\n color: ${Color.blueDarkText};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n }\n .more {\n line-height: 0;\n cursor: pointer;\n }\n .dropdown-menu {\n transform: scaleY(0);\n position: absolute;\n top: calc(100% + 10px);\n right: -10px;\n background-color: ${Color.white};\n padding: 7px;\n border: 1px solid rgba(0, 0, 0, 0.05);\n border-radius: 5px;\n box-shadow: 0 5px 25px rgb(0 0 0 / 10%);\n max-width: 100%;\n min-width: 150px;\n text-align: left;\n z-index: 99;\n &:before {\n content: \"\";\n position: absolute;\n top: -1px;\n right: 10px;\n width: 0.75rem;\n height: 0.75rem;\n display: block;\n z-index: 10;\n box-sizing: border-box;\n background: ${Color.white};\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n transform: rotate(45deg) translate(-7px);\n border-left: 1px solid rgba(0, 0, 0, 0.1);\n }\n\n .logout {\n background: none;\n padding: 0;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n letter-spacing: 0;\n line-height: 23px;\n text-align: center;\n display: block;\n width: 100%;\n }\n }\n\n &.open {\n .more {\n transform: rotateX(180deg);\n }\n .dropdown-menu {\n transform: scaleY(1);\n }\n }\n }\n @media (max-width: 991px) {\n height: 60px;\n /* z-index: 0; */\n padding: 10px;\n .nav-left {\n display: none;\n }\n }\n`;\n\nexport { Wrapper };\n","import React, {useEffect, useRef, useState} from \"react\";\n\nimport { useTypedSelector } from \"src/hooks/useTypedSelector\";\nimport { useActions } from \"src/hooks/useActions\";\n\nimport { ReactComponent as InfoIcon } from \"src/assets/img/info.svg\";\nimport userDefaultImg from \"src/assets/img/default-user.jpg\";\nimport { ReactComponent as ArrowDownIcon } from \"src/assets/img/arrowDown.svg\";\n\nimport { Wrapper } from \"./styled\";\n\nconst Header = () => {\n const { loggedUser } = useTypedSelector((state) => state.auth);\n const { logoutUser } = useActions();\n\n const [isOpenDropdownMenu, setIsOpenDropdownMenu] = useState(false);\n const ref = useRef(null);\n const handleClickOutside = (event: any) => {\n if (!ref?.current?.contains(event.target) && isOpenDropdownMenu) {\n setIsOpenDropdownMenu(false);\n }\n };\n useEffect(() => {\n if (isOpenDropdownMenu) {\n document.addEventListener(\"click\", handleClickOutside);\n return () => {\n document.removeEventListener(\"click\", handleClickOutside);\n };\n }\n return undefined;\n });\n\n return (\n \n
\n {!loggedUser?.place_confirmed ? (\n
\n \n Account under review\n \n Please wait while a member of the Lynked team is reviewing your\n account.\n \n
\n ) : null}\n
\n
\n
setIsOpenDropdownMenu(!isOpenDropdownMenu)} > {/*eslint-disable-line*/}\n
\n {loggedUser?.user?.photo ? (\n \"\"\n ) : (\n \"\"\n )}\n
\n
\n
{loggedUser?.user?.full_name}
\n
{loggedUser?.user?.email}
\n
\n
\n \n
\n
\n \n
\n
\n \n );\n};\n\nexport default Header;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n display: flex;\n max-height: 100vh;\n overflow: hidden;\n .main-panel {\n width: calc(100% - 280px);\n background-color: ${Color.blueLightBackground};\n }\n\n .page-content {\n padding: 35px 30px;\n box-sizing: border-box;\n overflow: auto;\n height: calc(100vh - 80px);\n\n &::-webkit-scrollbar {\n width: 5px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 10px;\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueDarkText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blue};\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueDarkText};\n }\n }\n \n &>div{\n overflow: visible;\n }\n }\n @media (max-width: 991px) {\n &.main-wrapper {\n flex-direction: column;\n\n .main-panel {\n width: 100%;\n }\n }\n }\n @media (max-width: 640px) {\n .page-content {\n padding: 20px;\n }\n }\n`;\n\nexport { Wrapper };\n","import React from \"react\";\n\nimport { useTypedSelector } from \"src/hooks/useTypedSelector\";\n\nimport Sidebar from \"src/components/Sidebar\";\nimport Header from \"src/components/Header\";\n\nimport * as Types from \"./types\";\nimport { Wrapper } from \"./styled\";\n\nconst AdminWrapper: React.FC = ({ children }) => {\n const { loading } = useTypedSelector((state) => state.auth);\n\n return (\n \n \n
\n
\n
{children}
\n
\n \n );\n};\n\nexport default AdminWrapper;\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgClear(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n height: 20,\n width: 20,\n viewBox: \"0 0 20 20\",\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n className: \"css-19bqh2r\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z\"\n })));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgClear);\nexport default __webpack_public_path__ + \"static/media/clear.997bc4ab.svg\";\nexport { ForwardRef as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgLock(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 20,\n height: 20,\n viewBox: \"0 0 20 20\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n opacity: 0.6\n }, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M0 0h20v20H0V0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(0,13,70)\",\n fillRule: \"evenodd\",\n d: \"M15 6.66668701h-.83337402V5c0-2.2999878-1.86663819-4.1666565-4.16662598-4.1666565C7.69995117.8333435 5.83331299 2.7000122 5.83331299 5v1.66668701H5c-.91668701 0-1.66668701.75-1.66668701 1.6666565v8.3333435c0 .9166565.75 1.6666565 1.66668701 1.6666565h10c.91662598 0 1.66662598-.75 1.66662598-1.6666565v-8.3333435c0-.9166565-.75-1.6666565-1.66662598-1.6666565zM7.41668701 5v1.6666565h5.16668701V5c0-1.42501831-1.1583252-2.5833435-2.58337402-2.5833435-1.4249878 0-2.58331299 1.15832519-2.58331299 2.5833435zM10 14.16668701c-.91668701 0-1.66668701-.75-1.66668701-1.66668701 0-.9166565.75-1.6666565 1.66668701-1.6666565.91662598 0 1.66662598.75 1.66662598 1.6666565 0 .91668701-.75 1.66668701-1.66662598 1.66668701z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgLock);\nexport default __webpack_public_path__ + \"static/media/lock.7626cdda.svg\";\nexport { ForwardRef as ReactComponent };","export default __webpack_public_path__ + \"static/media/arrowDropDownBlack.150fddb3.svg\";","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\nimport arrowDropDownImgBlack from \"src/assets/img/arrowDropDownBlack.svg\";\n\nconst Wrapper = styled.div<{\n required?: boolean;\n isSelect?: boolean;\n isLabel?: boolean;\n}>`\n display: flex;\n flex-direction: column;\n position: relative;\n margin-bottom: 24px;\n\n & > .label:not(:empty) {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 10px;\n /* &:after {\n content: ${(props) => (props.required ? `\" *\"` : \"none\")};\n color: #eb4d4b;\n } */\n }\n\n & > svg {\n position: absolute;\n left: 8px;\n top: 8px;\n }\n\n & > input {\n border-radius: 2px;\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n padding: 13px 16px;\n font-size: 16px;\n line-height: 20px;\n cursor: ${(props) => (props.isSelect ? \"pointer\" : \"initial\")};\n background: ${(props) =>\n props.isSelect\n ? `url(${arrowDropDownImgBlack}) #ffffff no-repeat calc(100% - 12px) center`\n : \"#ffffff\"};\n\n &::placeholder {\n color: #95989d;\n }\n\n &:disabled:not(\".lock\") {\n background: rgba(0, 0, 0, 0.07);\n box-shadow: none;\n }\n }\n &.lock {\n input {\n background: none;\n cursor: initial;\n }\n }\n\n & > ul {\n position: absolute;\n width: 100%;\n background: #fff;\n z-index: 5;\n box-shadow: rgb(0 0 0 / 20%) 0px 2px 7px 0px;\n border-radius: 2px;\n padding: 5px 0;\n max-height: 230px;\n overflow: auto;\n &.top {\n bottom: calc(100% + 7px);\n }\n &.bottom {\n top: calc(100% + 7px);\n }\n\n &::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n }\n\n &::-webkit-scrollbar-track {\n box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(0, 144, 202, 0.4);\n }\n\n & > input {\n width: 90%;\n margin: 10px auto;\n display: block;\n padding: 7px 10px;\n background: unset;\n height: auto;\n border: 2px solid #ebebeb;\n border-radius: 6px;\n box-sizing: border-box;\n\n &::placeholder {\n color: #ced2d4;\n }\n }\n\n & > button {\n font-size: 14px;\n padding: 10px 16px;\n cursor: pointer;\n background: #fff;\n transition: background-color 0.225s;\n display: flex;\n width: 100%;\n\n &:hover {\n background-color: rgba(0, 0, 0, 0.04);\n }\n }\n\n & > li {\n padding: 10px 16px;\n }\n }\n\n .info-tooltip {\n position: absolute;\n right: 40px;\n bottom: 11px;\n width: 24px;\n height: 24px;\n margin: auto;\n cursor: pointer;\n transition: 0.3s all ease;\n .tooltip {\n transition: 0.3s all ease;\n visibility: hidden;\n opacity: 0;\n position: absolute;\n bottom: 40px;\n right: -10px;\n width: 200px;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n color: ${Color.white};\n font-size: 12px;\n font-weight: 300;\n letter-spacing: 0;\n line-height: 15px;\n padding: 10px;\n border-radius: 6px;\n z-index: 5;\n &:after {\n content: \"\";\n position: absolute;\n top: 100%;\n right: 17px;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: ${Color.blue} transparent transparent transparent;\n }\n }\n svg path.circle {\n fill: #000d46;\n opacity: 0.6;\n }\n &:hover {\n svg path.circle {\n fill: ${Color.blue};\n opacity: 1;\n }\n .tooltip {\n visibility: visible;\n opacity: 1;\n }\n }\n }\n\n .clearable-btn {\n position: absolute;\n background: none;\n right: 26px;\n bottom: 4px;\n opacity: 0;\n svg {\n fill: ${Color.blueDarkText};\n }\n }\n &:hover {\n .clearable-btn {\n opacity: 0.4;\n &:hover {\n opacity: 1;\n }\n }\n }\n\n .lock-icon-wrap {\n position: absolute;\n bottom: 10px;\n right: 10px;\n }\n`;\n\nexport { Wrapper };\n","import React, {useEffect, useRef, useState} from \"react\";\n\nimport { ReactComponent as InfoIcon } from \"src/assets/img/info.svg\";\nimport { ReactComponent as ClearIcon } from \"src/assets/img/clear.svg\";\nimport { ReactComponent as LockIcon } from \"src/assets/img/lock.svg\";\n\nimport { Wrapper } from \"./styled\";\nimport {Props, SelectorListObj} from \"./types\";\n\nconst Select = ({\n label,\n placeholder,\n infoTooltip,\n defaultValue,\n required,\n isClearable,\n icon,\n selectorList,\n positionForShow,\n hideSelectorFilter,\n disabled,\n isHideWhenSelect = true,\n lock,\n getValue,\n onFocus,\n}: Props) => {\n const [value, setValue] = useState(defaultValue?.label || \"\");\n const [list, setList] = useState(selectorList)\n \n useEffect(() => {\n if (defaultValue && defaultValue.label !== value) {\n setValue(defaultValue.label);\n }\n setList(selectorList)\n }, [defaultValue]); //eslint-disable-line\n\n const [isShowSelectList, setIsShowSelectList] =\n React.useState(false);\n const [selectorFilter, setSelectorFilter] = useState(\"\");\n\n const ref = useRef(null);\n\n const handleClickOutside = (event: any) => {\n if (!ref?.current?.contains(event.target) && isShowSelectList) {\n setIsShowSelectList(false);\n }\n };\n\n const handleChange = (currentItem: SelectorListObj) => {\n if (isShowSelectList && isHideWhenSelect) setIsShowSelectList(false);\n\n setValue(currentItem.label);\n if (getValue) {\n getValue(currentItem.value, currentItem.label, currentItem.additional);\n }\n };\n\n useEffect(() => {\n if (isShowSelectList) {\n document.addEventListener(\"click\", handleClickOutside);\n\n return () => {\n document.removeEventListener(\"click\", handleClickOutside);\n };\n }\n\n return undefined;\n });\n\n useEffect(() => {\n setList(selectorList.filter((option) =>\n option.label.toLowerCase().includes(selectorFilter.toLowerCase())\n ))\n }, [selectorFilter, selectorList]);\n \n return (\n \n {label}\n {icon}\n {\n return null;\n }}\n onFocus={(event) => {\n if (selectorList) {\n event.target.blur();\n }\n\n if (onFocus) onFocus();\n }}\n onClick={() =>\n selectorList && !isShowSelectList && setIsShowSelectList(true)\n }\n />\n {selectorList?.length && isShowSelectList ? (\n \n {!hideSelectorFilter && (\n setSelectorFilter(event?.target.value)}\n />\n )}\n {list.map((item, index) => (\n handleChange(item)}\n >\n {item.label}\n \n ))}\n {list.length === 0 &&
  • Not found
  • }\n \n ) : null}\n {lock && (\n \n \n \n )}\n {infoTooltip ? (\n \n \n {infoTooltip}\n \n ) : null}\n {isClearable && value ? (\n {\n setValue(\"\");\n if (getValue) getValue(\"\", \"\", {});\n }}\n >\n \n \n ) : null}\n
    \n );\n};\n\nexport default Select;\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgPlacePoint(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"rect\", {\n width: 24,\n height: 24,\n x: 0,\n y: 0,\n fill: \"none\",\n rx: 0,\n ry: 0\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(255,255,255)\",\n fillRule: \"evenodd\",\n d: \"M4 10.2000122C4 5.2199707 7.80000305 2 12 2s8 3.2199707 8 8.2000122c0 3.17999268-2.44999695 6.91998292-7.33000183 11.22998048-.38000488.33001709-.94999695.33001709-1.33000183 0C6.44999694 17.11999512 4 13.38000488 4 10.2000122zM10 10c0 1.09997559.8999939 2 2 2 1.1000061 0 2-.90002441 2-2 0-1.09997559-.8999939-2-2-2-1.1000061 0-2 .90002441-2 2z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgPlacePoint);\nexport default __webpack_public_path__ + \"static/media/place-point.98048290.svg\";\nexport { ForwardRef as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgCalendar(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M0 0h24v24H0V0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(0,13,70)\",\n fillRule: \"evenodd\",\n d: \"M16 2v1H8V2c0-.55000305-.44995117-1-1-1-.55004883 0-1 .44999695-1 1v1H5c-1.10998535 0-1.98999023.90000153-1.98999023 2L3 19c0 1.1000061.89001465 2 2 2h14c1.09997559 0 2-.8999939 2-2V5c0-1.09999847-.90002441-2-2-2h-1V2c0-.55000305-.44995117-1-1-1-.55004883 0-1 .44999695-1 1zM5 18c0 .55000305.44995117 1 1 1h12c.55004883 0 1-.44999695 1-1V8H5v10zm11-6h-3c-.55004883 0-1 .44999695-1 1v3c0 .55000305.44995117 1 1 1h3c.55004883 0 1-.44999695 1-1v-3c0-.55000305-.44995117-1-1-1z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgCalendar);\nexport default __webpack_public_path__ + \"static/media/calendar.a30f11a5.svg\";\nexport { ForwardRef as ReactComponent };","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n// import \"bootstrap/dist/css/bootstrap.css\";\n// you will also need the css that comes with bootstrap-daterangepicker\nimport \"bootstrap-daterangepicker/daterangepicker.css\";\nimport arrowDropDownImgBlack from \"src/assets/img/arrowDropDownBlack.svg\";\n\nconst Wrapper = styled.div`\n position: relative;\n overflow: hidden;\n\n .heading {\n display: flex;\n justify-content: space-between;\n margin-bottom: 6px;\n align-items: flex-end;\n .filters {\n display: flex;\n align-items: flex-end;\n padding-right: 5px;\n gap: 20px;\n &>div{\n margin-bottom: 24px;\n }\n .select {\n input {\n padding: 10px 16px 10px 40px;\n }\n svg path:not([fill=\"none\"]) {\n fill: #666e90;\n }\n }\n }\n }\n\n .main-blocks-row {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n padding: 0px 4px;\n .item {\n flex: 1;\n border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 15px 20px;\n margin-right: 30px;\n &:last-child {\n margin-right: 0;\n }\n\n .title {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n margin-bottom: 15px;\n }\n .products {\n color: #000000;\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 15px;\n }\n \n .sales_item{\n color: #000000;\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 15px;\n display: flex;\n .sale_name{\n width: 70%;\n }\n }\n .count {\n color: ${Color.blueDarkText};\n font-size: 44px;\n font-weight: 500;\n line-height: 56px;\n margin-bottom: 10px;\n .detail{\n font-size: 40px;\n }\n }\n .description {\n opacity: 0.2;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n }\n }\n \n .sales_channels{\n margin-top: 20px;\n position: relative;\n padding-right: 40px;\n .icon {\n top: 10px;\n position: absolute;\n right: 10px;\n }\n .icon_rotate{\n transform: rotate(180deg);\n top: 5px;\n }\n }\n @media (max-width: 1300px) {\n .main-blocks-row {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));\n margin-right: -30px;\n margin-bottom: -30px;\n\n .item.all-customers {\n margin: 0 30px 30px 0;\n }\n }\n }\n @media (max-width: 399px) {\n .main-blocks-row {\n margin-right: 0px;\n .item.all-customers {\n margin-right: 0;\n }\n }\n }\n @media (min-width: 992px) and (max-width: 1040px) {\n .filters {\n flex-direction: column;\n\n div {\n margin-bottom: 15px;\n }\n }\n }\n @media (max-width: 760px) {\n .filters {\n flex-direction: column;\n\n div {\n margin-bottom: 15px;\n }\n }\n }\n @media (max-width: 480px) {\n .heading {\n flex-direction: column;\n\n .page-title {\n text-align: center;\n }\n }\n }\n .select{\n display: flex;\n flex-direction: column;\n position: relative;\n margin-bottom: 24px;\n\n & > .label:not(:empty) {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 10px;\n }\n\n & > svg {\n position: absolute;\n left: 8px;\n top: 8px;\n }\n\n & > input {\n border-radius: 2px;\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n padding: 13px 16px;\n font-size: 16px;\n line-height: 20px;\n cursor: pointer;\n background: url(${arrowDropDownImgBlack}) #ffffff no-repeat calc(100% - 12px) center;\n \n\n &::placeholder {\n color: #95989d;\n }\n\n &:disabled:not(\".lock\") {\n background: rgba(0, 0, 0, 0.07);\n box-shadow: none;\n }\n }\n &.lock {\n input {\n background: none;\n cursor: initial;\n }\n }\n\n & > ul {\n position: absolute;\n width: 100%;\n background: #fff;\n z-index: 5;\n box-shadow: rgb(0 0 0 / 20%) 0px 2px 7px 0px;\n border-radius: 2px;\n padding: 5px 0;\n max-height: 230px;\n overflow: auto;\n &.top {\n bottom: calc(100% + 7px);\n }\n &.bottom {\n top: calc(100% + 7px);\n }\n\n &::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n }\n\n &::-webkit-scrollbar-track {\n box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(0, 144, 202, 0.4);\n }\n\n & > input {\n width: 90%;\n margin: 10px auto;\n display: block;\n padding: 7px 10px;\n background: unset;\n height: auto;\n border: 2px solid #ebebeb;\n border-radius: 6px;\n box-sizing: border-box;\n\n &::placeholder {\n color: #ced2d4;\n }\n }\n\n & > button {\n font-size: 14px;\n padding: 10px 16px;\n cursor: pointer;\n background: #fff;\n transition: background-color 0.225s;\n display: flex;\n width: 100%;\n\n &:hover {\n background-color: rgba(0, 0, 0, 0.04);\n }\n }\n\n & > li {\n padding: 10px 16px;\n }\n }\n &:hover {\n .clearable-btn {\n opacity: 0.4;\n &:hover {\n opacity: 1;\n }\n }\n }\n\n .lock-icon-wrap {\n position: absolute;\n bottom: 10px;\n right: 10px;\n }\n }\n`;\n\nexport { Wrapper };\n","export const filterPerDate = [\n {\n value: \"7\",\n label: \"Last 7 days\",\n },\n {\n value: \"1\",\n label: \"Today\",\n },\n {\n value: \"30\",\n label: \"Last 30 days\",\n },\n {\n value: \"365\",\n label: \"Last 365 days\",\n },\n];\n","export const AGE_AXIS_COLORS = [\n \"#FF4260\",\n \"#FFCD34\",\n \"#5699D5\",\n \"#FF6247\",\n // \"#00C5A6\",\n // \"#FB81BB\",\n // \"#E6EAEF\",\n];\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n margin-top: 30px;\n\n .chart {\n background: ${Color.white};\n padding: 30px;\n }\n .doughnut_items_wrapper {\n display: flex;\n align-items: center;\n overflow-x: auto;\n & > * {\n margin: 0px 15px;\n }\n &::-webkit-scrollbar {\n height: 12px;\n cursor: pointer;\n }\n &::-webkit-scrollbar-track {\n background: ${Color.blueBackground};\n border-radius: 3px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.blue};\n border-radius: 3px;\n }\n .not_found {\n font-size: 20px;\n min-height: 200px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n }\n .doughnut_item_wrapper {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 200px;\n min-height: 200px;\n margin-bottom: 25px;\n .doughnut_location {\n font-size: 16px;\n font-weight: 500;\n line-height: 23px;\n margin: 12px 0px;\n }\n .center_wrapper {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translate(-50%, 50%);\n width: 100px;\n height: 100px;\n padding: 5px;\n display: flex;\n flex-direction: column;\n text-align: center;\n .center_wrapper_title {\n font-size: 12px;\n font-weight: 300;\n line-height: 18px;\n color: ${Color.grey};\n }\n .center_count {\n font-size: 28px;\n font-weight: 500;\n line-height: 38px;\n }\n }\n }\n .doughnut_legend {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n margin-bottom: 30px;\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n .legend_item {\n margin-right: 10px;\n &:last-child {\n margin-right: 0px;\n }\n }\n .legend_wrapper {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n margin-right: 25px;\n &:last-child {\n margin-right: 0px;\n }\n .legend_color {\n width: 16px;\n height: 16px;\n margin-right: 8px;\n border-radius: 2px;\n background-color: ${Color.blueLightMedium};\n }\n }\n }\n .doughnut_legend_bottom {\n display: flex;\n flex-direction: column;\n align-items: center;\n .legend_item_color {\n display: flex;\n align-items: center;\n font-size: 14px;\n font-weight: 300;\n line-height: 20px;\n .legend_color {\n width: 15px;\n height: 12px;\n margin-right: 6px;\n }\n &:first-child {\n .legend_color {\n background-color: ${Color.blueLightMedium};\n }\n }\n &:last-child {\n .legend_color {\n background-color: ${Color.blueDark};\n }\n }\n }\n }\n @media (max-width: 1200px) {\n .chart {\n padding: 15px;\n }\n }\n @media (max-width: 800px) {\n .chart-wrapper {\n overflow-x: scroll;\n\n .chart {\n width: 700px;\n }\n &::-webkit-scrollbar {\n height: 5px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 3px;\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blueLight};\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React, { FC, useState, useRef } from \"react\";\nimport { Doughnut, Line } from \"react-chartjs-2\";\n\nimport { Color } from \"src/types/color\";\nimport { AGE_AXIS_COLORS } from \"./const\";\nimport { Wrapper } from \"./styled\";\nimport { Props, IActiveChart } from \"./types\";\n\nconst DashboardChart: FC = ({\n promotionType,\n customers,\n salesStatistic,\n dateFilter,\n endDate,\n statisticByLocation,\n}) => {\n const chartRef = useRef(null);\n const [activeChart, setActiveChart] = useState(\"Customers\");\n\n const handleChangeActiveChart = (chartName: IActiveChart) => {\n setActiveChart(chartName);\n // todo\n setTimeout(() => {\n chartRef.current?.scrollIntoView({\n behavior: \"smooth\",\n block: \"end\",\n inline: \"nearest\",\n });\n }, 200);\n };\n\n const AGE_LABEL = Object.keys(statisticByLocation[0]?.age_groups[0] ?? {});\n\n return (\n \n
    \n \n handleChangeActiveChart(\"Customers\")}\n >\n Customers\n \n
    \n \n handleChangeActiveChart(\"Sales\")}\n >\n {promotionType === \"Stamp\" ? \"Stamps\" : \"Points\"}\n \n
    \n \n handleChangeActiveChart(\"Gender\")}\n >\n Gender\n \n \n \n \n \n \n
    \n
    \n {activeChart === \"Gender\" ? (\n <>\n
    \n Males\n Females\n
    \n
    \n {statisticByLocation.length ? (\n statisticByLocation.map(\n ({ location_id, location_name, gender_count }) => (\n
    \n \n \n {location_name}\n \n
    \n
    \n \n {`Female ${gender_count[0] ?? \"0\"}`}\n
    \n
    \n \n {`Male ${gender_count[1] ?? \"0\"}`}\n
    \n
    \n
    \n )\n )\n ) : (\n
    \n

    Sorry, nothing found

    \n
    \n )}\n
    \n \n ) : activeChart === \"Age\" ? (\n <>\n
    \n {AGE_LABEL.map((label, i) => ({\n label,\n color: AGE_AXIS_COLORS[i],\n })).map(({ label, color }) => (\n
    \n \n {label}\n
    \n ))}\n
    \n
    \n {statisticByLocation.length ? (\n statisticByLocation.map(\n ({ location_id, location_name, age_groups }) => (\n
    \n Object.values(location))\n .flat(),\n backgroundColor: AGE_AXIS_COLORS,\n borderColor: [\"white\"],\n borderWidth: 2,\n },\n ],\n }}\n options={{\n plugins: {\n legend: {\n display: false,\n },\n },\n }}\n />\n \n {location_name}\n \n
    \n \n Total\n
    Customers:\n
    \n \n {age_groups\n .map((location) => Object.values(location))\n .flat()\n .reduce(\n (acc, count_of_cust) => acc + +count_of_cust,\n 0\n )}\n \n
    \n
    \n )\n )\n ) : (\n
    \n

    Sorry, nothing found

    \n
    \n )}\n
    \n \n ) : (\n {\n const day = new Date(endDate);\n if (dateFilter === 365) {\n const newDate = new Date(\n day.getFullYear(),\n day.getMonth() - i,\n 1\n );\n return `${newDate.toLocaleString(\"en\", {\n month: \"short\",\n })}`;\n }\n day.setDate(day.getDate() - i);\n return `${day.getDate()} ${day.toLocaleString(\"en\", {\n month: \"short\",\n })}`;\n })\n .reverse(),\n datasets: [\n {\n data:\n activeChart === \"Customers\" ? customers : salesStatistic,\n borderColor:\n activeChart === \"Customers\" ? \"#00A8FF\" : \"#2ECC71\",\n pointRadius: 6,\n borderWidth: 2,\n pointBorderWidth: 2,\n pointBorderColor: \"#fff\",\n // hoverRadius: 8,\n pointBackgroundColor:\n activeChart === \"Customers\" ? \"#00A8FF\" : \"#2ECC71\",\n },\n ],\n }}\n options={{\n plugins: {\n legend: {\n display: false,\n },\n tooltip: {\n displayColors: false,\n intersect: false,\n callbacks: {\n title(tooltipItem: any[]) {\n const date = new Date();\n\n if (dateFilter === 365) {\n const newDate = new Date(\n date.getFullYear(),\n date.getMonth() + tooltipItem[0].dataIndex + 1,\n 1\n );\n return `${newDate.toLocaleString(\"en\", {\n month: \"short\",\n })} ${newDate.getFullYear() - 1}`;\n }\n date.setDate(\n date.getDate() -\n (tooltipItem[0].dataset.data.length -\n tooltipItem[0].dataIndex -\n 1)\n );\n\n return `${tooltipItem[0].label}, ${date.getFullYear()}`;\n },\n label(tooltipItem: any) {\n return `${\n activeChart === \"Customers\"\n ? \"Customers\"\n : promotionType === \"Stamp\"\n ? \"Stamps\"\n : \"Points\"\n }: ${tooltipItem.formattedValue}`;\n },\n },\n },\n },\n animation: {\n duration: 0,\n },\n scales: {\n x: {\n beginAtZero: true,\n ticks: {\n precision: 0,\n },\n },\n y: {\n beginAtZero: true,\n ticks: {\n precision: 0,\n },\n },\n },\n }}\n />\n )}\n
    \n
    \n
    \n );\n};\n\nexport default DashboardChart;\n","import React, { FC, useState, useEffect } from \"react\";\n\nimport { useTypedSelector } from \"src/hooks/useTypedSelector\";\nimport { useActions } from \"src/hooks/useActions\";\nimport Select from \"src/components/Select\";\nimport { ReactComponent as PlacePointIcon } from \"src/assets/img/place-point.svg\";\nimport { ReactComponent as CalendarIcon } from \"src/assets/img/calendar.svg\";\nimport {ReactComponent as ArrowDown} from \"../../assets/img/arrowDown.svg\";\nimport { DashboardInfoInterface } from \"src/types/dashboard\";\nimport { getDashboardInfoAxios } from \"src/api/dashboard\";\nimport { Wrapper } from \"./styled\";\nimport { filterPerDate } from \"./consts\";\nimport DashboardChart from \"./DashboardChart\";\nimport DateRangePicker from \"react-bootstrap-daterangepicker\";\nimport moment from \"moment\";\n\nconst Dashboard: FC = () => {\n const [pageLoading, setPageLoading] = useState(false);\n const [locationIdFilter, setLocationIdFilter] = useState(0);\n const [dateFilter, setDateFilter] = useState<{\n value: string;\n label: string;\n }>({\n value: filterPerDate[0].value,\n label: filterPerDate[0].label\n });\n const { loggedUser } = useTypedSelector((state) => state.auth);\n const [openChannels, setOpenChannels] = useState(false)\n const [dashboardInfo, setDashboardInfo] = useState({\n allCustomers: 0,\n countAllCheckIns: 0,\n countOfActivatedCards: 0,\n countOfActivatedVouchers: 0,\n countOfRedeemCampaign: 0,\n averagePriceSales: 0,\n avTimeBetweenRepeatVisits: 0,\n avTimeBetweenVoucherUsed: 0,\n vouchers_used_sum_reward: 0,\n vouchers_earned_sum_reward: 0,\n topProduct: [],\n loyalty_visits: [],\n total_loyalty_volume: [],\n av_loyalty_visits: [],\n av_voucher_used_value: [],\n point: 0,\n customers: [0],\n locations: [],\n newCustomers: 0,\n promotionType: \"Stamp\",\n salesStatistic: [0]\n });\n\n const { locations } = useTypedSelector((state) => state.groupsLocations);\n const { getGroupsLocations } = useActions();\n const [dates, setDatesState] = useState({\n startDate:moment(new Date()).subtract(7, \"days\").format(\"MMM D, YYYY\"),\n endDate: moment(new Date()).format(\"MMM D, YYYY\")\n });\n\n useEffect(() => {\n if (locations.length === 0) getGroupsLocations();\n }, []); //eslint-disable-line\n\n useEffect(() => {\n setPageLoading(true);\n\n getDashboardInfoAxios({\n date: +dateFilter.value,\n startDate: moment(dates.startDate).format(\"yyyy-MM-DD\"),\n endDate: moment(dates.endDate).format(\"yyyy-MM-DD\"),\n locationId: locationIdFilter\n }).then((res) => {\n setDashboardInfo(res.data.data);\n setPageLoading(false);\n setDateFilter({value: res.data.daysDiff, label: res.data.daysDiff})\n });\n }, [dateFilter.value, locationIdFilter, dates.startDate, dates.endDate]);\n \n \n \n const setDates = (e: any, { startDate, endDate }: any) => {\n endDate >= moment() && startDate >= moment() ? setDatesState({\n startDate: moment().format(\"MMM D, YYYY\"),\n endDate: moment().format(\"MMM D, YYYY\")\n }) : endDate >= moment() && startDate <= moment() ? setDatesState({\n startDate: startDate.format(\"MMM D, YYYY\"),\n endDate: moment().format(\"MMM D, YYYY\")\n }) : setDatesState({\n startDate: startDate.format(\"MMM D, YYYY\"),\n endDate: endDate.format(\"MMM D, YYYY\")\n });\n };\n \n const ranges = {\n \"Today\": [moment(), moment()],\n \"Last 7 Days\": [moment().subtract(1, \"weeks\"), moment()],\n \"Last 30 Days\": [moment().subtract(1, \"months\"), moment()],\n \"Last Year\": [moment().subtract(1, \"years\"), moment()],\n };\n \n return (\n \n
    \n
    Dashboard
    \n
    \n 0)}\n positionForShow=\"bottom\"\n isClearable\n icon={}\n required\n hideSelectorFilter\n getValue={(value) => {\n setLocationIdFilter(+value);\n }}\n />\n \n
    \n \n {\n // @ts-ignore\n setDates(e, dates)\n }}\n className=\"form-control\"\n />\n
    \n \n \n
    \n
    \n
    \n
    \n
    All Customers
    \n
    {dashboardInfo.allCustomers}
    \n
    overall
    \n
    \n
    \n
    New Customers
    \n
    {dashboardInfo.newCustomers}
    \n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n
    Check-Ins
    \n
    {dashboardInfo.countAllCheckIns}
    \n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n
    \n {dashboardInfo.promotionType === \"Stamp\"\n ? \"Count of activated cards\"\n : \"Total points\"}\n
    \n
    \n {dashboardInfo.promotionType === \"Stamp\"\n ? dashboardInfo.countOfActivatedCards\n : dashboardInfo.point}\n
    \n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n {dashboardInfo.promotionType === \"Stamp\" ? \"Redeemed Campaigns\" : \"Count of activated vouchers\"}
    \n
    \n {dashboardInfo.promotionType === \"Stamp\" ? dashboardInfo.countOfRedeemCampaign : dashboardInfo.countOfActivatedVouchers}
    \n
    {dates.startDate + \"-\" + dates.endDate}
    \n \n \n \n {loggedUser.user.allow_pos ? (\n <>\n
    \n
    \n
    Average Order Value
    \n
    {loggedUser.user.currency_symbol || '€'}{dashboardInfo.averagePriceSales}
    \n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n
    Top Selling Products
    \n {dashboardInfo.topProduct.map((product: any, index: number) => (\n index <=2 &&
    {product.name}

    {product.quantity}

    ))}\n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n
    Av Time Between Repeat Visits
    \n
    {dashboardInfo.avTimeBetweenRepeatVisits} Days
    \n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n
    Vouchers Information
    \n
    Vouchers Used:

    {loggedUser.user.currency_symbol || '€'}{dashboardInfo.vouchers_used_sum_reward ? dashboardInfo.vouchers_used_sum_reward : '0'}

    \n
    Vouchers In Circulation:

    {loggedUser.user.currency_symbol || '€'}{dashboardInfo.vouchers_earned_sum_reward ? dashboardInfo.vouchers_earned_sum_reward : '0'}

    \n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n
    Av Time between Vouchers earned vs Used
    \n
    {+dashboardInfo.avTimeBetweenVoucherUsed} Days
    \n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n {dashboardInfo.promotionType === 'Points' ?\n : null\n }\n {openChannels ? (
    \n
    \n
    Total Loyalty Volume
    \n {dashboardInfo.total_loyalty_volume && dashboardInfo.total_loyalty_volume.length> 0 && dashboardInfo.total_loyalty_volume.map(sale => (\n
    {sale.location_name}

    {loggedUser.user.currency_symbol || '€'}{sale.sum_sale}

    ))}\n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n
    Loyalty Visits
    \n {dashboardInfo.loyalty_visits && dashboardInfo.loyalty_visits.length > 0 && dashboardInfo.loyalty_visits.map(sale => (\n
    {sale.location_name}

    {sale.visits}

    ))}\n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n
    Av Number of Visits
    \n {dashboardInfo.av_loyalty_visits.map(sale => (\n
    {sale.location_name}

    {sale.av_visits}

    ))}\n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n
    Av Value of Vouchers Used
    \n {dashboardInfo.av_voucher_used_value.map(sale => (\n
    {sale.location_name}

    {loggedUser.user.currency_symbol || '€'}{sale.av_value_voucher_used}

    ))}\n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    ) : null}\n \n \n ) : null}\n \n
    \n );\n};\n\nexport default Dashboard;\n","import axios from \"./api\";\n\nexport const getDashboardInfoAxios = (data: {\n date: any;\n startDate?: any;\n endDate?: any;\n locationId: number;\n}): Promise =>\n axios\n .post(\"/api/dashboard\", data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const getStaffDashboardInfoAxios = (data: {\n date: any;\n startDate?: any;\n endDate?: any;\n locationId: number;\n}): Promise =>\n axios\n .post(\"/api/dashboard/staff\", data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getStaffDiscountSalesChannelsInfoAxios = (data: {\n sortType: any;\n startDate?: any;\n endDate?: any;\n}): Promise =>\n axios\n .post(\"/api/dashboard/staff/sales/channels\", data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getAdminDashboardInfoAxios = (data: {\n startDate?: any;\n endDate?: any;\n businessId: number;\n}): Promise =>\n axios\n .post(\"/api/admin/dashboard\", data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\nimport arrowDropDownImgBlack from \"src/assets/img/arrowDropDownBlack.svg\";\n\nconst Wrapper = styled.div`\n position: relative;\n overflow: hidden;\n\n .heading {\n display: flex;\n justify-content: space-between;\n margin-bottom: 6px;\n .filters {\n display: flex;\n align-items: center;\n .select {\n margin-left: 20px;\n input {\n padding: 10px 16px 10px 40px;\n }\n svg path:not([fill=\"none\"]) {\n fill: #666e90;\n }\n }\n }\n }\n\n .main-blocks-row {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n padding: 0px 4px;\n .item {\n flex: 1;\n border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 15px 20px;\n margin-right: 30px;\n &:last-child {\n margin-right: 0;\n }\n\n .title {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n margin-bottom: 15px;\n }\n .count {\n color: ${Color.blueDarkText};\n font-size: 44px;\n font-weight: 500;\n line-height: 56px;\n margin-bottom: 10px;\n }\n .description {\n opacity: 0.2;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n }\n }\n @media (max-width: 1300px) {\n .main-blocks-row {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));\n margin-right: -30px;\n margin-bottom: -30px;\n\n .item.all-customers {\n margin: 0 30px 30px 0;\n }\n }\n }\n @media (max-width: 399px) {\n .main-blocks-row {\n margin-right: 0px;\n .item.all-customers {\n margin-right: 0;\n }\n }\n }\n @media (min-width: 992px) and (max-width: 1040px) {\n .filters {\n flex-direction: column;\n\n div {\n margin-bottom: 15px;\n }\n }\n }\n @media (max-width: 760px) {\n .filters {\n flex-direction: column;\n\n div {\n margin-bottom: 15px;\n }\n }\n }\n @media (max-width: 480px) {\n .heading {\n flex-direction: column;\n\n .page-title {\n text-align: center;\n }\n }\n }\n\n .select{\n display: flex;\n flex-direction: column;\n position: relative;\n margin-bottom: 24px;\n\n & > .label:not(:empty) {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 10px;\n }\n\n & > svg {\n position: absolute;\n left: 8px;\n top: 8px;\n }\n\n & > input {\n border-radius: 2px;\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n padding: 13px 16px;\n font-size: 16px;\n line-height: 20px;\n cursor: pointer;\n background: url(${arrowDropDownImgBlack}) #ffffff no-repeat calc(100% - 12px) center;\n\n\n &::placeholder {\n color: #95989d;\n }\n\n &:disabled:not(\".lock\") {\n background: rgba(0, 0, 0, 0.07);\n box-shadow: none;\n }\n }\n &.lock {\n input {\n background: none;\n cursor: initial;\n }\n }\n\n & > ul {\n position: absolute;\n width: 100%;\n background: #fff;\n z-index: 5;\n box-shadow: rgb(0 0 0 / 20%) 0px 2px 7px 0px;\n border-radius: 2px;\n padding: 5px 0;\n max-height: 230px;\n overflow: auto;\n &.top {\n bottom: calc(100% + 7px);\n }\n &.bottom {\n top: calc(100% + 7px);\n }\n\n &::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n }\n\n &::-webkit-scrollbar-track {\n box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(0, 144, 202, 0.4);\n }\n\n & > input {\n width: 90%;\n margin: 10px auto;\n display: block;\n padding: 7px 10px;\n background: unset;\n height: auto;\n border: 2px solid #ebebeb;\n border-radius: 6px;\n box-sizing: border-box;\n\n &::placeholder {\n color: #ced2d4;\n }\n }\n\n & > button {\n font-size: 14px;\n padding: 10px 16px;\n cursor: pointer;\n background: #fff;\n transition: background-color 0.225s;\n display: flex;\n width: 100%;\n\n &:hover {\n background-color: rgba(0, 0, 0, 0.04);\n }\n }\n\n & > li {\n padding: 10px 16px;\n }\n }\n &:hover {\n .clearable-btn {\n opacity: 0.4;\n &:hover {\n opacity: 1;\n }\n }\n }\n`;\n\nexport { Wrapper };\n","export const filterPerDate = [\n {\n value: \"7\",\n label: \"Last 7 days\",\n },\n {\n value: \"30\",\n label: \"Last 30 days\",\n },\n {\n value: \"365\",\n label: \"Last 365 days\",\n },\n];\n","export const AGE_AXIS_COLORS = [\n \"#FF4260\",\n \"#FFCD34\",\n \"#5699D5\",\n \"#FF6247\",\n // \"#00C5A6\",\n // \"#FB81BB\",\n // \"#E6EAEF\",\n];\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n margin-top: 30px;\n\n .chart {\n background: ${Color.white};\n padding: 30px;\n }\n .doughnut_items_wrapper {\n display: flex;\n align-items: center;\n overflow-x: auto;\n & > * {\n margin: 0px 15px;\n }\n &::-webkit-scrollbar {\n height: 12px;\n cursor: pointer;\n }\n &::-webkit-scrollbar-track {\n background: ${Color.blueBackground};\n border-radius: 3px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.blue};\n border-radius: 3px;\n }\n .not_found {\n font-size: 20px;\n min-height: 200px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n }\n .doughnut_item_wrapper {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 200px;\n min-height: 200px;\n margin-bottom: 25px;\n .doughnut_location {\n font-size: 16px;\n font-weight: 500;\n line-height: 23px;\n margin: 12px 0px;\n }\n .center_wrapper {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translate(-50%, 50%);\n width: 100px;\n height: 100px;\n padding: 5px;\n display: flex;\n flex-direction: column;\n text-align: center;\n .center_wrapper_title {\n font-size: 12px;\n font-weight: 300;\n line-height: 18px;\n color: ${Color.grey};\n }\n .center_count {\n font-size: 28px;\n font-weight: 500;\n line-height: 38px;\n }\n }\n }\n .doughnut_legend {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n margin-bottom: 30px;\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n .legend_item {\n margin-right: 10px;\n &:last-child {\n margin-right: 0px;\n }\n }\n .legend_wrapper {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n margin-right: 25px;\n &:last-child {\n margin-right: 0px;\n }\n .legend_color {\n width: 16px;\n height: 16px;\n margin-right: 8px;\n border-radius: 2px;\n background-color: ${Color.blueLightMedium};\n }\n }\n }\n .doughnut_legend_bottom {\n display: flex;\n flex-direction: column;\n align-items: center;\n .legend_item_color {\n display: flex;\n align-items: center;\n font-size: 14px;\n font-weight: 300;\n line-height: 20px;\n .legend_color {\n width: 15px;\n height: 12px;\n margin-right: 6px;\n }\n &:first-child {\n .legend_color {\n background-color: ${Color.blueLightMedium};\n }\n }\n &:nth-child(2) {\n .legend_color {\n background-color: ${Color.blueDark};\n }\n }\n &:last-child {\n .legend_color {\n background-color: ${Color.blueHover};\n }\n }\n }\n }\n @media (max-width: 1200px) {\n .chart {\n padding: 15px;\n }\n }\n @media (max-width: 800px) {\n .chart-wrapper {\n overflow-x: scroll;\n\n .chart {\n width: 700px;\n }\n &::-webkit-scrollbar {\n height: 5px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 3px;\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blueLight};\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React, {FC, useState, useRef, useEffect} from \"react\";\nimport { Doughnut, Line } from \"react-chartjs-2\";\n\nimport { Color } from \"src/types/color\";\nimport { AGE_AXIS_COLORS } from \"./const\";\nimport { Wrapper } from \"./styled\";\nimport { Props, IActiveChart } from \"./types\";\n\nconst DashboardChart: FC = ({\n promotionType,\n customers,\n salesStatistic,\n salesStatisticPoint,\n salesStatisticStamp,\n gender,\n age,\n dateFilter,\n statisticByLocation,\n}) => {\n const chartRef = useRef(null);\n const [activeChart, setActiveChart] = useState(\"Customers\");\n\n const handleChangeActiveChart = (chartName: IActiveChart) => {\n setActiveChart(chartName);\n // todo\n setTimeout(() => {\n chartRef.current?.scrollIntoView({\n behavior: \"smooth\",\n block: \"end\",\n inline: \"nearest\",\n });\n }, 200);\n };\n const [ages, setAges] = useState([])\n useEffect(() => {\n setAges([age])\n }, [age]);\n const AGE_LABEL = Object.keys(statisticByLocation[0]?.age_groups[0] ?? {});\n \n const adminAge = Object.keys(ages[0] ?? {});\n\n return (\n \n
    \n \n handleChangeActiveChart(\"Customers\")}\n >\n Customers\n \n
    \n {promotionType === 'admin' ? (<>\n \n handleChangeActiveChart(\"Stamps\")}\n >\n Stamps\n \n \n \n handleChangeActiveChart(\"Points\")}\n >\n Points\n \n \n ) : (\n handleChangeActiveChart(\"Sales\")}\n >\n {promotionType === \"Stamp\" ? \"Stamps\" : \"Points\"}\n \n )}\n \n \n handleChangeActiveChart(\"Gender\")}\n >\n Gender\n \n \n \n \n \n \n
    \n
    \n {activeChart === \"Gender\" ? (\n <>\n
    \n Males\n Females\n Other\n
    \n
    \n {promotionType === 'admin' ? (<>\n {gender && gender.length ? (\n
    \n \n {/* */}\n {/* {location_name}*/}\n {/**/}\n
    \n
    \n \n {`Female ${gender[0] ?? \"0\"}`}\n
    \n
    \n \n {`Male ${gender[1] ?? \"0\"}`}\n
    \n
    \n \n {`Other ${gender[2] ?? \"0\"}`}\n
    \n
    \n
    \n ) : (\n
    \n

    Sorry, nothing found

    \n
    \n )}\n ) : (<>{statisticByLocation.length ? (\n statisticByLocation.map(\n ({ location_id, location_name, gender_count }) => (\n
    \n \n \n {location_name}\n \n
    \n
    \n \n {`Female ${gender_count[0] ?? \"0\"}`}\n
    \n
    \n \n {`Male ${gender_count[1] ?? \"0\"}`}\n
    \n
    \n
    \n )\n )\n ) : (\n
    \n

    Sorry, nothing found

    \n
    \n )})}\n \n
    \n \n ) : activeChart === \"Age\" ? (\n <>\n
    \n {promotionType === 'admin' ? (<>{adminAge.map((label, i) => ({\n label,\n color: AGE_AXIS_COLORS[i],\n })).map(({ label, color }) => (\n
    \n \n {label}\n
    \n ))}\n ) : (<>{AGE_LABEL.map((label, i) => ({\n label,\n color: AGE_AXIS_COLORS[i],\n })).map(({ label, color }) => (\n
    \n \n {label}\n
    \n ))}\n )}\n \n
    \n {promotionType === 'admin' ? (<>\n
    \n {ages && ages.length ? (\n \n
    \n Object.values(location))\n .flat(),\n backgroundColor: AGE_AXIS_COLORS,\n borderColor: [\"white\"],\n borderWidth: 2,\n },\n ],\n }}\n options={{\n plugins: {\n legend: {\n display: false,\n },\n },\n }}\n />\n {/* */}\n {/* {location_name}*/}\n {/**/}\n
    \n \n Total\n
    Customers:\n
    \n \n {ages.map((location: any) => Object.values(location))\n .flat()\n .reduce(\n (acc:any, count_of_cust:any) => acc + +count_of_cust,\n 0\n )}\n \n
    \n
    \n ) : (\n
    \n

    Sorry, nothing found

    \n
    \n )}\n
    \n ) : (<>\n
    \n {statisticByLocation.length ? (\n statisticByLocation.map(\n ({location_id, location_name, age_groups}) => (\n
    \n Object.values(location))\n .flat(),\n backgroundColor: AGE_AXIS_COLORS,\n borderColor: [\"white\"],\n borderWidth: 2,\n },\n ],\n }}\n options={{\n plugins: {\n legend: {\n display: false,\n },\n },\n }}\n />\n \n {location_name}\n \n
    \n \n Total\n
    Customers:\n
    \n \n {age_groups\n .map((location) => Object.values(location))\n .flat()\n .reduce(\n (acc, count_of_cust) => acc + +count_of_cust,\n 0\n )}\n \n
    \n
    \n )\n )\n ) : (\n
    \n

    Sorry, nothing found

    \n
    \n )}\n
    \n )}\n \n \n ) : (\n {\n const day = new Date();\n if (dateFilter === 365) {\n const newDate = new Date(\n day.getFullYear(),\n day.getMonth() - i,\n 1\n );\n return `${newDate.toLocaleString(\"en\", {\n month: \"short\",\n })}`;\n }\n day.setDate(day.getDate() - i);\n return `${day.getDate()} ${day.toLocaleString(\"en\", {\n month: \"short\",\n })}`;\n })\n .reverse(),\n datasets: [\n {\n data:\n activeChart === \"Customers\" ? customers : activeChart === 'Points' ? salesStatisticPoint : activeChart === 'Stamps' ? salesStatisticStamp : salesStatistic,\n borderColor:\n activeChart === \"Customers\" ? \"#00A8FF\" : \"#2ECC71\",\n pointRadius: 6,\n borderWidth: 2,\n pointBorderWidth: 2,\n pointBorderColor: \"#fff\",\n // hoverRadius: 8,\n pointBackgroundColor:\n activeChart === \"Customers\" ? \"#00A8FF\" : \"#2ECC71\",\n },\n ],\n }}\n options={{\n plugins: {\n legend: {\n display: false,\n },\n tooltip: {\n displayColors: false,\n intersect: false,\n callbacks: {\n title(tooltipItem: any[]) {\n const date = new Date();\n \n if (dateFilter === 365) {\n const newDate = new Date(\n date.getFullYear(),\n date.getMonth() + tooltipItem[0].dataIndex + 1,\n 1\n );\n return `${newDate.toLocaleString(\"en\", {\n month: \"short\",\n })} ${newDate.getFullYear() - 1}`;\n }\n date.setDate(\n date.getDate() -\n (tooltipItem[0].dataset.data.length -\n tooltipItem[0].dataIndex -\n 1)\n );\n\n return `${tooltipItem[0].label}, ${date.getFullYear()}`;\n },\n label(tooltipItem: any) {\n return `${\n activeChart === \"Customers\"\n ? \"Customers\"\n : promotionType === \"Stamp\"\n ? \"Stamps\" : promotionType === 'admin' ? activeChart\n : \"Points\"\n }: ${tooltipItem.formattedValue}`;\n },\n },\n },\n },\n animation: {\n duration: 0,\n },\n scales: {\n x: {\n beginAtZero: true,\n ticks: {\n precision: 0,\n },\n },\n y: {\n beginAtZero: true,\n ticks: {\n precision: 0,\n },\n },\n },\n }}\n />\n )}\n
    \n
    \n
    \n );\n};\n\nexport default DashboardChart;\n","import axios from \"./api\";\nimport {AdvertsOffersType, AdvertsPartnerRequestType} from \"../types/adminTypes\";\n\nexport const getAdminDashboardInfoAxios = (data: {\n date: number;\n locationId: number;\n}): Promise =>\n axios\n .post(\"/api/dashboard\", data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const getAdminUsersAxios = (data:any): Promise =>\n axios\n .post(\"/api/getCustomersList\", data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const updateAdminUserAxios = (data:any): Promise =>\n axios\n .post(\"/api/admin/customer/update\", data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const removeAdminUserAxios = (data:any): Promise =>\n axios\n .post(\"/api/admin/customer/remove\", data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const getAdminBusinessesAxios = (data: any): Promise =>\n axios\n .post(\"/api/getBusinessList\", data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const getAdminBusinessesNamesAxios = (): Promise =>\n axios\n .get(\"/api/getBusinessListAll\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const getAdminOneBusinessAxios = (requestParameters: {id: number}): Promise =>\n axios\n .post(\"/api/getBusinessListOne\", requestParameters)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const updateAdminOneBusinessAxios = (requestParameters: any): Promise =>\n axios\n .post(\"/api/admin/business/update\", requestParameters)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const createAdvertPartnerAxios = (data: AdvertsPartnerRequestType): Promise => {\n return axios\n .post(\"/api/addAdvertPartner\", data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n};\n\nexport const removeAdvertPartnerAxios = (id:number): Promise =>\n axios\n .post('/api/deleteAdvertPartner', {id})\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const createAdvertOutletsAxios = (data: AdvertsOffersType): Promise =>\n axios\n .post(\"/api/addAdvertOffers\", data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const removeAdvertOutletsAxios = (id:number): Promise =>\n axios\n .post(`/api/AdvertOffer/remove`, {id})\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getAdvertPartnersAxios = (): Promise =>\n axios\n .get(`/api/getAdvertPartner`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getShowAdvertInAppAxios = (): Promise =>\n axios\n .get(`/api/advert/option/get`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const setShowAdvertInAppAxios = (data: any): Promise =>\n axios\n .post(`/api/advert/option/set`, data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const moveAdvertPartnersAxios = (data: any): Promise =>\n axios\n .post(`/api/AdvertPartner/set/position`, data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getAdvertOffersAxios = (data: any): Promise =>\n axios\n .post(`/api/getAdvertOffers`, data)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const uploadPhotoAxios = (data: any): Promise =>\n axios\n .post(`/api/updatePhoto`, data, {headers: {\n 'Content-Type': 'multipart/form-data'\n }\n } )\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getAllUserForBusinessPlaceAxios = (data: any): Promise =>\n axios\n .post(`/api/admin/location/customers`, data )\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getAllUserTransactionForBusinessPlaceAxios = (data: any): Promise =>\n axios\n .post(`/api/admin/location/customer/transactions`, data )\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getAllUserTransactionBasketForBusinessPlaceAxios = (data: any): Promise =>\n axios\n .post(`/api/admin/location/customer/transaction/basket`, data )\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getCustomerInfoAdminAxios = (user_id: string, search: string, searchType: string, location: string, startDate: any, endDate: any): Promise =>\n axios\n .post(\"/api/admin/customers/get\", { user: user_id, search: search, searchType: searchType, location: location, startDate: startDate, endDate: endDate })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\n","import React, { FC, useState, useEffect } from \"react\";\n\nimport { useTypedSelector } from \"src/hooks/useTypedSelector\";\nimport { useActions } from \"src/hooks/useActions\";\nimport Select from \"src/components/Select\";\nimport { ReactComponent as CalendarIcon } from \"src/assets/img/calendar.svg\";\n\nimport {AdminDashboardInfoInterface} from \"src/types/dashboard\";\nimport {getAdminDashboardInfoAxios} from \"src/api/dashboard\";\n\nimport { Wrapper } from \"./styled\";\nimport { filterPerDate } from \"./consts\";\nimport DashboardChart from \"./DashboardChart\";\nimport moment from \"moment/moment\";\nimport DateRangePicker from \"react-bootstrap-daterangepicker\";\nimport {SelectorListObj} from \"../../../components/Select/types\";\nimport {getAdminBusinessesNamesAxios} from \"../../../api/adminPanel\";\n\nconst AdminDashboard: FC = () => {\n const [pageLoading, setPageLoading] = useState(false);\n const [locationIdFilter, setLocationIdFilter] = useState(0);\n const [dateFilter, setDateFilter] = useState<{\n value: string;\n label: string;\n }>({\n value: filterPerDate[0].value,\n label: filterPerDate[0].label\n });\n const [dashboardInfo, setDashboardInfo] = useState({\n businessCount: 0,\n customersCount: 0,\n newCustomerCount: 0,\n activatedCards: 0,\n totalPoints: 0,\n redeemedCampaigns: 0,\n countOfActivatedVouchers: 0,\n newCustomersForPeriod: [0],\n locations: [],\n salesStatistic: [0],\n saleStatisticPoints: [0],\n saleStatisticStamp: [0],\n genders: [0],\n ages: [0]\n });\n\n const { locations } = useTypedSelector((state) => state.groupsLocations);\n const { getGroupsLocations } = useActions();\n const [dates, setDatesState] = useState({\n startDate:moment(new Date()).subtract(7, \"days\").format(\"MMM D, YYYY\"),\n endDate: moment(new Date()).format(\"MMM D, YYYY\")\n });\n \n const setDates = (e: any, { startDate, endDate }: any) => {\n endDate >= moment() && startDate >= moment() ? setDatesState({\n startDate: moment().format(\"MMM D, YYYY\"),\n endDate: moment().format(\"MMM D, YYYY\")\n }) : endDate >= moment() && startDate <= moment() ? setDatesState({\n startDate: startDate.format(\"MMM D, YYYY\"),\n endDate: moment().format(\"MMM D, YYYY\")\n }) : setDatesState({\n startDate: startDate.format(\"MMM D, YYYY\"),\n endDate: endDate.format(\"MMM D, YYYY\")\n });\n };\n\n useEffect(() => {\n if (locations.length === 0) getGroupsLocations();\n }, []); //eslint-disable-line\n\n useEffect(() => {\n setPageLoading(true);\n \n getAdminDashboardInfoAxios({\n startDate: moment(dates.startDate).add(1, 'hours'),\n endDate: moment(dates.endDate).endOf('day'),\n businessId: locationIdFilter,\n }).then((res) => {\n setDashboardInfo(res.data);\n setPageLoading(false);\n });\n }, [dateFilter.value, locationIdFilter, dates.startDate, dates.endDate]);\n \n \n \n const ranges = {\n \"Today\": [moment(), moment()],\n \"Last 7 Days\": [moment().subtract(1, \"weeks\"), moment()],\n \"Last 30 Days\": [moment().subtract(1, \"months\"), moment()],\n \"Last Year\": [moment().subtract(1, \"years\"), moment()],\n };\n const [businesses, setBusinesses] = useState([{value: '', label: ''}])\n useEffect(() => {\n getAdminBusinessesNamesAxios().then(({data}) => {\n let selectBusiness: any[] = []\n data.business.forEach((item: any) => {\n selectBusiness.push({value: item.id, label: item.business_name})\n })\n setBusinesses(selectBusiness)\n });\n }, []);\n\n return (\n \n
    \n
    Admin Dashboard
    \n
    \n 0)}\n positionForShow=\"bottom\"\n required\n isClearable\n getValue={(value) => setLocationIdFilter(+value)}\n hideSelectorFilter\n />\n \n
    \n \n {\n // @ts-ignore\n setDates(e, dates)\n }}\n className=\"form-control\"\n />\n
    \n \n \n
    \n
    \n
    \n
    \n
    All Businesses
    \n
    {dashboardInfo.businessCount}
    \n
    overall
    \n
    \n
    \n
    All Customers
    \n
    {dashboardInfo.customersCount}
    \n
    overall
    \n
    \n
    \n
    New Customers
    \n
    {dashboardInfo.newCustomerCount}
    \n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n
    \n Count of activated cards
    \n
    \n {dashboardInfo.activatedCards}\n
    \n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n \n
    \n
    \n
    \n
    \n Total points\n
    \n
    \n {dashboardInfo.totalPoints ? dashboardInfo.totalPoints : 0}\n
    \n
    {dates.startDate + \"-\" + dates.endDate}
    \n
    \n
    \n Redeemed Campaigns\n
    \n
    \n {dashboardInfo.redeemedCampaigns}
    \n
    {dates.startDate + \"-\" + dates.endDate}
    \n \n
    \n Count of activated vouchers\n
    \n
    \n {dashboardInfo.countOfActivatedVouchers}\n
    {dates.startDate + \"-\" + dates.endDate}
    \n \n \n \n
    \n );\n};\n\nexport default AdminDashboard;\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgVisibility(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n x: \"0px\",\n y: \"0px\",\n viewBox: \"0 0 469.333 469.333\",\n style: {\n enableBackground: \"new 0 0 469.333 469.333\"\n },\n xmlSpace: \"preserve\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n \"data-tag\": \"allowRowEvents\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n \"data-tag\": \"allowRowEvents\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n \"data-tag\": \"allowRowEvents\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n \"data-tag\": \"allowRowEvents\",\n d: \"M234.667,170.667c-35.307,0-64,28.693-64,64s28.693,64,64,64s64-28.693,64-64S269.973,170.667,234.667,170.667z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n \"data-tag\": \"allowRowEvents\",\n d: \"M234.667,74.667C128,74.667,36.907,141.013,0,234.667c36.907,93.653,128,160,234.667,160 c106.773,0,197.76-66.347,234.667-160C432.427,141.013,341.44,74.667,234.667,74.667z M234.667,341.333 c-58.88,0-106.667-47.787-106.667-106.667S175.787,128,234.667,128s106.667,47.787,106.667,106.667 S293.547,341.333,234.667,341.333z\"\n }))))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgVisibility);\nexport default __webpack_public_path__ + \"static/media/visibility.2b30b95a.svg\";\nexport { ForwardRef as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInvisible(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n x: \"0px\",\n y: \"0px\",\n viewBox: \"0 0 469.44 469.44\",\n style: {\n enableBackground: \"new 0 0 469.44 469.44\"\n },\n xmlSpace: \"preserve\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M231.147,160.373l67.2,67.2l0.32-3.52c0-35.307-28.693-64-64-64L231.147,160.373z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M234.667,117.387c58.88,0,106.667,47.787,106.667,106.667c0,13.76-2.773,26.88-7.573,38.933l62.4,62.4 c32.213-26.88,57.6-61.653,73.28-101.333c-37.013-93.653-128-160-234.773-160c-29.867,0-58.453,5.333-85.013,14.933l46.08,45.973 C207.787,120.267,220.907,117.387,234.667,117.387z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M21.333,59.253l48.64,48.64l9.707,9.707C44.48,145.12,16.64,181.707,0,224.053c36.907,93.653,128,160,234.667,160 c33.067,0,64.64-6.4,93.547-18.027l9.067,9.067l62.187,62.293l27.2-27.093L48.533,32.053L21.333,59.253z M139.307,177.12 l32.96,32.96c-0.96,4.587-1.6,9.173-1.6,13.973c0,35.307,28.693,64,64,64c4.8,0,9.387-0.64,13.867-1.6l32.96,32.96 c-14.187,7.04-29.973,11.307-46.827,11.307C175.787,330.72,128,282.933,128,224.053C128,207.2,132.267,191.413,139.307,177.12z\"\n }))))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgInvisible);\nexport default __webpack_public_path__ + \"static/media/invisible.7e83a024.svg\";\nexport { ForwardRef as ReactComponent };","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div<{\n required?: boolean;\n isLabel?: boolean;\n isPasswordVisible: boolean;\n}>`\n display: flex;\n flex-direction: column;\n position: relative;\n padding-bottom: 12px;\n\n & > .label:not(:empty) {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 10px;\n text-align: left;\n /* &:after {\n content: ${(props) => (props.required ? `\" *\"` : \"none\")};\n color: #eb4d4b;\n } */\n }\n\n & > svg {\n position: absolute;\n left: 16px;\n top: 40%;\n transform: translateY(-50%);\n }\n\n & > button {\n position: absolute;\n width: 24px;\n height: 24px;\n right: 16px;\n top: ${(props) => (props.isLabel ? \"calc(40% + 13px)\" : \"40%\")};\n bottom: 13px;\n transform: translateY(-50%);\n fill: #c0c2c4;\n padding: 0;\n background: none;\n\n & > svg:nth-child(${(props) => (props.isPasswordVisible ? 1 : 2)}) {\n display: none;\n }\n }\n\n & > input {\n border-radius: 4px;\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n padding: 13px 16px;\n margin: 0px 2px 2px;\n font-size: 18px;\n line-height: 20px;\n background: #ffffff;\n\n &::placeholder {\n color: #95989d;\n }\n\n &:disabled {\n padding: 13px 40px 13px 16px;\n /* background: rgba(0, 0, 0, 0.07);\n box-shadow: none; */\n }\n &.password {\n padding-right: 45px;\n }\n &[type=\"number\"]::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n }\n\n .input_error {\n position: absolute;\n height: 30px;\n bottom: -20px;\n color: ${Color.redMedium};\n font-size: 12px;\n padding: 0px 2px;\n overflow: hidden;\n width: 100%;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n }\n\n .info-tooltip {\n position: absolute;\n right: 10px;\n bottom: 24px;\n width: 24px;\n height: 24px;\n margin: auto;\n cursor: pointer;\n transition: 0.3s all ease;\n .tooltip {\n transition: 0.3s all ease;\n visibility: hidden;\n opacity: 0;\n position: absolute;\n bottom: 40px;\n right: -10px;\n width: 200px;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n color: ${Color.white};\n font-size: 12px;\n font-weight: 300;\n letter-spacing: 0;\n line-height: 15px;\n padding: 10px;\n border-radius: 6px;\n z-index: 1;\n &:after {\n content: \"\";\n position: absolute;\n top: 100%;\n right: 17px;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: ${Color.blue} transparent transparent transparent;\n }\n }\n & svg path.circle {\n fill: #000d46;\n opacity: 0.6;\n }\n &:hover {\n svg path.circle {\n fill: ${Color.blue};\n opacity: 1;\n }\n .tooltip {\n visibility: visible;\n opacity: 1;\n z-index: 300;\n }\n }\n & + input {\n padding-right: 35px;\n }\n }\n\n .lock-icon-wrap {\n position: absolute;\n bottom: 19px;\n right: 10px;\n }\n`;\n\nexport { Wrapper };\n","import React, { useEffect } from \"react\";\n\nimport { ReactComponent as VisibilityIcon } from \"src/assets/img/visibility.svg\";\nimport { ReactComponent as InvisibleIcon } from \"src/assets/img/invisible.svg\";\nimport { ReactComponent as InfoIcon } from \"src/assets/img/info.svg\";\nimport { ReactComponent as LockIcon } from \"src/assets/img/lock.svg\";\n\nimport { Wrapper } from \"./styled\";\n\ninterface IInputProps {\n type?: \"number\" | \"email\" | \"password\";\n label?: string;\n placeholder?: string;\n infoTooltip?: string;\n defaultValue?: string | number;\n icon?: React.SVGProps;\n min?: number;\n max?: number;\n maxLength?: number;\n step?: number;\n required?: boolean;\n error?: string;\n disabled?: boolean;\n autoComplete?: \"on\" | \"off\" | any;\n getValue?: (value: any) => void;\n onFocus?: () => void;\n}\n\nconst Input = ({\n label,\n type,\n placeholder,\n infoTooltip,\n defaultValue,\n icon,\n min,\n max,\n maxLength,\n step,\n required,\n error,\n disabled,\n autoComplete = \"on\",\n getValue,\n onFocus,\n}: IInputProps) => {\n const [value, setValue] = React.useState(defaultValue || \"\");\n\n useEffect(() => {\n if (defaultValue && defaultValue !== value) {\n setValue(defaultValue);\n }\n if (!defaultValue && type !== 'number') {\n setValue(\"\");\n }\n }, [defaultValue]); //eslint-disable-line\n\n const [isPasswordVisible, setIsPasswordVisible] =\n React.useState(false);\n\n const handleChange = (currentValue: string) => {\n setValue(currentValue);\n if (getValue) getValue(currentValue);\n };\n\n return (\n \n {label}\n {icon}\n {infoTooltip && (\n \n \n {infoTooltip}\n \n )}\n {\n return handleChange(event.target.value);\n }}\n onFocus={() => {\n if (onFocus) onFocus();\n }}\n autoComplete={autoComplete}\n maxLength={maxLength || undefined}\n minLength={type === \"password\" ? 8 : undefined}\n min={type === \"number\" && min ? min : undefined}\n max={type === \"number\" && max ? max : undefined}\n step={type === \"number\" && step ? step : undefined}\n onWheel={(e: any) => e.target.blur()}\n />\n {type === \"password\" && (\n \n )}\n {error ?

    {error}

    : null}\n {disabled && (\n \n \n \n )}\n \n );\n};\n\nexport default Input;\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSearch(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 20,\n height: 20,\n viewBox: \"0 0 20 20\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n opacity: 0.3\n }, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M0 0h20v20H0V0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(0,13,70)\",\n fillRule: \"evenodd\",\n d: \"M12.25842285 11.66667175h.6583252l3.5333252 3.55000305c.3416748.34165955.3416748.8999939 0 1.2416687-.34167481.34165955-.90002442.34165955-1.24169923 0l-3.54162597-3.54167175v-.65834045l-.22509766-.23332214c-1.16662598 1-2.75830078 1.5166626-4.44995117 1.23332214-2.3166504-.3916626-4.16662598-2.32499695-4.44995117-4.6583252-.43334961-3.52500915 2.5333252-6.4916687 6.05822754-6.05833435 2.33337402.2833252 4.26672363 2.1333313 4.65844726 4.44999695.2833252 1.69166565-.23339844 3.28334046-1.23339844 4.44999695l.23339844.2250061zm-8.09179687-3.75c0 2.07499695 1.67504882 3.75 3.75 3.75 2.07495117 0 3.75-1.67500305 3.75-3.75s-1.67504883-3.75-3.75-3.75c-2.07495118 0-3.75 1.67500305-3.75 3.75z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgSearch);\nexport default __webpack_public_path__ + \"static/media/search.6e3c43e6.svg\";\nexport { ForwardRef as ReactComponent };","export interface CustomerInterface {\n id: number;\n edit?:boolean;\n photo: string;\n first_name: string;\n last_name: string;\n email: string;\n phone: string;\n end_value: string;\n stamp_end_value: string;\n total_spend: string;\n check_in_count: string;\n spend_balance?: string;\n used_spend_balance?: string;\n last_visit: string;\n}\n\nexport interface CustomerInfoInterface {\n count_users: number;\n limit: number;\n page: number;\n total_pages_count: number;\n total_users_count: number;\n // searchType: number;\n startDate?: any;\n endDate?: any;\n}\n\nexport interface CustomerUserInterface {\n first_name: string;\n last_name: string;\n points: string;\n date: string;\n promotion_name: string;\n photo: string;\n activity_id: string;\n seller: string;\n can_edit: boolean;\n min_points: number;\n used_points: number;\n pos_id?: string;\n pos_user_id?: string;\n store?: string;\n receipt?: string;\n used_vouchers: any[];\n vouchers: any[];\n stamp_activity?: {\n earned: number,\n stamps: number,\n used: number,\n }[];\n}\n\nexport interface PointCountsInterface {\n points: string;\n activity_id: string;\n}\n\nexport interface CustomerRequestInterface {\n limit: string | number;\n page: number | string;\n search?: string | null;\n location?: string | null | number;\n searchType?: string;\n group?: string;\n business?: string | null;\n filters?: CustomerGroupChoosedFilterInterface[];\n sort_type?: string;\n startDate?: any;\n offline?: boolean;\n endDate?: any;\n}\n\nexport const customerPerPage = [\n {\n value: \"10\",\n label: \"10\",\n },\n {\n value: \"25\",\n label: \"25\",\n },\n {\n value: \"50\",\n label: \"50\",\n },\n {\n value: \"100\",\n label: \"100\",\n },\n];\n\nexport interface CustomerGroupsRequestInterface {\n limit: string;\n page: string;\n search: string | null;\n}\n\nexport interface CustomerGroupsInterface {\n id: number;\n name: string;\n description: string;\n group_type: string;\n group_type_id: string;\n group_type_title: string;\n total_groups_count: string;\n}\n\nexport interface CustomerGroupsInfoInterface {\n count_groups: number;\n limit: number;\n page: number;\n total_pages_count: number;\n total_groups_count: number;\n}\n\nexport interface GroupTypeInterface {\n value: string;\n label: string;\n}\n\nexport interface GroupFilterInterface {\n value: string;\n label: string;\n}\n\nexport interface CustomerGroupInterface {\n group_name: string;\n group_description: string;\n group_type: string | null;\n}\n\nexport interface CustomerGroupCreateRequestInterface {\n id?: string;\n group_name: string;\n group_description: string;\n group_type: string | null;\n users?: Array;\n filters?: Array;\n}\n\nexport interface CustomerGroupChoosedFilterInterface {\n virtualId: number;\n filter_type_id: string;\n value: string;\n}\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowBack(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 16,\n height: 16,\n viewBox: \"0 0 16 16\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M0 0h16v16H0V0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(0,13,70)\",\n fillRule: \"evenodd\",\n d: \"M12.66666667 7.33333333H5.22L8.47333333 4.08c.26-.26.26-.68666667 0-.94666667s-.68-.26-.94 0L3.14 7.52666667c-.26.26-.26.68 0 .94L7.53333333 12.86c.26.26.68.26.94 0 .26-.26.26-.68 0-.94L5.22 8.66666667h7.44666667c.36666666 0 .66666666-.3.66666666-.66666667 0-.36666667-.3-.66666667-.66666666-.66666667z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowBack);\nexport default __webpack_public_path__ + \"static/media/arrowBack.5255e74b.svg\";\nexport { ForwardRef as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowForward(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 16,\n height: 16,\n viewBox: \"0 0 16 16\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M0 0h16v16H0V0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(0,13,70)\",\n fillRule: \"evenodd\",\n d: \"M3.33333333 8.66666667H10.78L7.52666667 11.92c-.26.26-.26.68666667 0 .94666667s.68.26.94 0L12.86 8.47333333c.26-.26.26-.68 0-.94l-4.38666667-4.4c-.26-.26-.68-.26-.94 0-.26.26-.26.68 0 .94l3.24666667 3.26H3.33333333c-.36666666 0-.66666666.3-.66666666.66666667 0 .36666667.3.66666667.66666666.66666667z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowForward);\nexport default __webpack_public_path__ + \"static/media/arrowForward.3652c74a.svg\";\nexport { ForwardRef as ReactComponent };","import React from 'react';\nimport {customerPerPage} from 'src/types/customer';\nimport {ReactComponent as ArrowBackIcon} from \"../../assets/img/arrowBack.svg\";\nimport {ReactComponent as ArrowForwardIcon} from \"../../assets/img/arrowForward.svg\";\nimport Select from \"../Select\";\n\ninterface IProps {\n page: number;\n total_pages_count: number;\n limit: number | string;\n count_users: number;\n total_users_count: number;\n requestLimit: string | number;\n setRequestParamtrs: (arg: any) => void;\n}\n\nconst Pagination = ({setRequestParamtrs, page, total_pages_count, limit, count_users, total_users_count, requestLimit}: IProps) => {\n\n const handleChangeRequestParamtrs = (\n name: string,\n value: string | number\n ) => {\n setRequestParamtrs((prevState: any) => {\n return {...prevState, [name]: value};\n });\n };\n\n return (\n
    \n
    \n handleChangeRequestParamtrs(\"page\", +page - 1)}\n >\n \n \n handleChangeRequestParamtrs(\"page\", +page + 1)}\n >\n \n \n
    {(+page * +limit - +limit) + 1} - {+page * +limit}{\" \"}\n from {total_users_count}\n
    \n
    \n
    \n
    Show on page:
    \n {\n handleChangeRequestParamtrs(\"limit\", +value);\n handleChangeRequestParamtrs(\"page\", 1);\n }}\n hideSelectorFilter\n />\n
    \n
    \n );\n};\n\nexport default Pagination;\n","import styled from \"styled-components\";\n\nexport const WrapperTableList = styled.div`\n width: calc(100% - 40px);\n padding: 0 20px 10px;\n\n button {\n background: none;\n }\n .visibility-icon{\n width: 20px;\n height: 20px;\n }\n .show-order{\n cursor: pointer;\n padding: 10px 0 10px 10px;\n }\n\n .allow_functions {\n margin-bottom: 15px;\n }\n .allow_title {\n font-weight: 300;\n font-size: 25px;\n }\n .functionality_list {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: wrap;\n gap: 20px;\n }\n .allow_item {\n display: flex;\n align-items: center;\n padding: 10px;\n font-size: 20px;\n font-weight: 400;\n gap: 5px;\n }\n \n`;\n\nexport const PointWrapper = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const PointInput = styled.input`\n width: 50px;\n background: none;\n color: #000D46;\n text-align: end;\n\n &[readonly] {\n cursor: default;\n }\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n`;\n","import styled from \"styled-components\";\n\nexport const WrapperTableList = styled.div`\n width: calc(100% - 40px);\n padding: 0 20px 10px;\n\n button {\n background: none;\n }\n .visibility-icon{\n width: 20px;\n height: 20px;\n }\n .show-order{\n cursor: pointer;\n padding: 10px 0 10px 10px;\n }\n \n`;\n\nexport const PointWrapper = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const PointInput = styled.input`\n width: 50px;\n background: none;\n color: #000D46;\n text-align: end;\n\n &[readonly] {\n cursor: default;\n }\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n`;\n","import styled from 'styled-components';\nimport { Color } from \"../../../../types/color\";\n\nexport const WrapperTransaction = styled.div`\n \n .transactionWrapper{\n //position: absolute;\n z-index: 100;\n //top: 0;\n //left: 0;\n width: 100%;\n padding: 20px 0;\n }\n \n //.transaction-header{\n // background-color: #F7F8FC;\n // padding: 25px 30px;\n //}\n //\n //.topBar{\n // width: 20%;\n // display: flex;\n // align-items: center;\n // cursor: pointer;\n //\n // & svg{\n // width: 25px;\n // height: 25px;\n // margin-right: 15px;\n // }\n //}\n .transaction-body{\n background-color: #fff;\n padding: 0 30px;\n }\n .transaction-title{\n font-size: 32px;\n color: #000d46;\n font-weight: 450;\n margin: 0 0 15px;\n }\n .transaction-description{\n font-size: 14px;\n font-weight: 450;\n color: #000d46;\n opacity: 0.6;\n margin-bottom: 30px;\n }\n\n .purchase-wrapper{\n padding: 20px 0 20px;\n }\n .main-info{\n display: flex;\n justify-content: space-around;\n align-items: inherit;\n margin-bottom: 30px;\n }\n .main-info-item{\n max-width: 300px;\n }\n .item-label{\n font-size: 14px;\n font-weight: 450;\n color: #000d46;\n margin-bottom: 15px;\n }\n .item-value{\n font-size: 16px;\n font-weight: 450;\n color: #000d46;\n }\n .total_wrap{\n display: flex;\n align-items: center;\n }\n .total-prise{\n margin-top: 20px;\n margin-right: 16px;\n display: flex;\n justify-content: end;\n align-items: center;\n & p{\n font-size: 16px;\n font-weight: 500;\n margin-left: 40px;\n }\n }\n .chart {\n background: ${Color.white};\n padding: 0 30px;\n box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);\n border-radius: 0px 8px 8px 8px;\n\n }\n \n`;\n","import React, { FC, useRef, useState } from \"react\";\nimport { WrapperTransaction } from \"./styled\";\nimport { Wrapper } from \"../../../Dashboard/DashboardChart/styled\";\nimport DataTable from \"react-data-table-component\";\nimport { format } from \"date-fns\";\nimport {isNumber} from \"chart.js/helpers\";\n\n\ninterface IProps {\n show: boolean\n customerInformation: any,\n productList: any,\n setShow: any\n customer: any;\n staffPage?: boolean\n}\n\nconst TransactionInformation: FC = ({ show, customerInformation, productList, setShow, customer, staffPage = false }) => {\n const chartRef = useRef(null);\n const [activeChart, setActiveChart] = useState(\"Items Purchased\");\n const handleChangeActiveChart = (chartName: any) => {\n setActiveChart(chartName);\n // todo\n // setTimeout(() => {\n // chartRef.current?.scrollIntoView({\n // behavior: \"smooth\",\n // block: \"end\",\n // inline: \"nearest\",\n // });\n // }, 200);\n };\n\n // const hideTransactionDetail = () => setShow(false);\n\n const productsListColumns = [\n {\n name: \"Product\",\n width: \"350px\",\n compact: true,\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row.title}\n
    \n );\n }\n },\n {\n name: \"SKU\",\n minWidth: \"150px\",\n compact: true,\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row.squ}\n
    \n );\n }\n },\n\n {\n name: \"Quantity\",\n compact: true,\n cell: (row: any): JSX.Element => {\n return
    {row.quantity}
    ;\n }\n },\n {\n name: \"Price\",\n compact: true,\n cell: (row: any): JSX.Element => {\n return
    {`${customerInformation.currency}${parseFloat(`${+row.initial_price / +row.quantity}`).toFixed(2)}`}
    ;\n }\n },\n {\n name: \"Member Price\",\n compact: true,\n cell: (row: any): JSX.Element => {\n return
    {`${customerInformation.currency}${parseFloat(`${+row.price / +row.quantity}`).toFixed(2)}`}
    ;\n }\n },\n {\n name: \"Discount\",\n compact: true,\n cell: (row: any): JSX.Element => {\n return
    {`${customerInformation.currency}${parseFloat(`${+row.initial_price - +row.price}`).toFixed(2)}`}
    ;\n }\n },\n {\n name: \"Points Earned\",\n omit: staffPage,\n compact: true,\n cell: (row: any): JSX.Element => {\n return
    {row.points_earned ? `${parseFloat(`${+row.points_earned}`)}` : '0'}
    ;\n }\n },\n {\n name: \"Total\",\n minWidth: \"120px\",\n compact: true,\n right: true,\n cell: (row: any): JSX.Element => {\n return (\n
    \n {`${customerInformation.currency}${parseFloat(row.total).toFixed(2)}`}\n
    \n );\n }\n }\n ];\n\n function vouchersName(vouchers: any[]) {\n return vouchers.reduce((acc: any, voucher: any) => {\n const { reward_name } = voucher;\n acc.push( reward_name);\n return acc;\n }, []).join(\", \") || \"-\";\n }\n return (\n <>\n {show ? \n
    \n {/*
    */}\n {/*
    */}\n {/* Back to list*/}\n {/*
    */}\n {/*
    */}\n
    \n

    Transactions

    \n {/*

    */}\n \n
    \n \n handleChangeActiveChart(\"Items Purchased\")}\n >\n Items Purchased\n \n
    \n {/**/}\n {/* handleChangeActiveChart(\"Points Activity\")}*/}\n {/* >*/}\n {/* Points Activity*/}\n {/* */}\n {/*
    */}\n
    \n
    \n
    \n {activeChart === \"Items Purchased\" ? (\n <>\n
    \n
    \n
    \n

    Order

    \n

    {customerInformation.orderId}

    \n
    \n
    \n

    Date

    \n

    {customerInformation.date\n ? format(new Date(isNumber(customerInformation.date) ? customerInformation.date*1000 : customerInformation.date), \"dd MMM yyyy\")\n : \"-\"}

    \n
    \n {!staffPage &&
    \n

    Points Earned

    \n

    {`${customer.points}`}

    \n
    }\n {!staffPage &&\n
    \n

    Used Vouchers

    \n

    {customer.used_vouchers ? vouchersName(customer.used_vouchers) : ''}

    \n
    }\n
    \n

    Customer

    \n

    {customerInformation.customerName}

    \n
    \n
    \n

    Location

    \n

    {customerInformation.location}

    \n
    \n\n
    \n \n
    \n {!!customer.welcome_points_gift ?
    \n

    Welcome Gift Points:

    \n

    {`${customer.welcome_points_gift}`}

    \n
    : null}\n
    \n {parseFloat(customerInformation.shippingPrice) > 0 &&
    \n

    Shipping:

    \n

    {`${customerInformation.currency}${parseFloat(customerInformation.shippingPrice).toFixed(2)}`}

    \n
    }\n \n
    \n

    Total:

    \n

    {`${customerInformation.currency}${parseFloat(customerInformation.totalPrice).toFixed(2)}`}

    \n
    \n
    \n \n
    \n
    \n \n ) : (\n <>\n

    Points Activity

    \n \n )}\n
    \n
    \n \n \n \n\n
    : null}\n\n \n\n );\n};\n\nexport default TransactionInformation;\n","import React, {useState} from 'react';\nimport DataTable from \"react-data-table-component\";\nimport { ReactComponent as VisibilityIcon } from \"src/assets/img/visibility.svg\";\nimport TransactionInformation from \"../../../Customers/CustomerList/TransactionInformation/TransactionInformation\";\nimport {WrapperTableList} from \"../../../Customers/CustomerList/EditableTable/styled\";\nimport userDefaultImg from \"../../../../assets/img/default-user.jpg\";\nimport {getAllUserTransactionBasketForBusinessPlaceAxios} from \"../../../../api/adminPanel\";\nimport {format} from \"date-fns\";\nimport {CustomerUserInterface} from \"../../../../types/customer\";\n\ninterface IUserTransactionList{\n transactions: any[],\n promotion: any,\n store: string\n}\n\nconst UserTransactionList = ({transactions, promotion, store}:IUserTransactionList) => {\n // const type = promotion === \"Stamp\" ? \"Stamps\" : \"Points\";\n const customerTableColumns = [\n {\n name: \"Icon\",\n width: \"50px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row?.user?.photo ? (\n \"\"\n ) : (\n \"\"\n )}\n
    \n );\n }\n },\n {\n name: \"Name\",\n minWidth: \"150px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row.user.full_name}\n
    \n );\n }\n },\n {\n name: \"Store\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {store || \"-\"}
    ;\n }\n },\n {\n name: \"POS.I.D\",\n cell: (row: any): JSX.Element => {\n return
    {row.posId || \"-\"}
    ;\n }\n },\n {\n name: \"POS User .I.D\",\n cell: (row: any): JSX.Element => {\n return
    {row.posUserId || \"-\"}
    ;\n }\n },\n {\n name: \"Receipt No.\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {row.receipt || \"-\"}
    ;\n }\n },\n {\n name: \"Time\",\n minWidth: \"120px\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return (\n
    \n {row.date\n ? format(new Date(row.date), \"dd/MM/yyyy, HH:mm:ss\")\n : \"-\"}\n
    \n );\n }\n },\n {\n name: \"Basket\",\n maxWidth: \"75px\",\n right: true,\n cell: (row: any, i: number): JSX.Element => {\n return (\n <>\n
    \n \n
    \n\n \n );\n }\n }\n ];\n const [showTransactionDetail, setShowTransactionDetail] = useState(false);\n const [customerInformation, setCustomerInformation] = useState({});\n const [customer, setCustomer] = useState({});\n const [listRow, setListRow] = useState({});\n \n const getBasket = (id:number) =>{\n getAllUserTransactionBasketForBusinessPlaceAxios({id}).then(res => {\n setCustomerInformation(res.data.basket)\n setCustomer({used_points: res.data.used_points, used_vouchers: res.data.used_vouchers, points: res.data.points})\n })\n }\n return (\n \n {!!transactions &&\n <>\n {\n setShowTransactionDetail(true);\n getBasket(row.id)\n setListRow(row)\n }}\n expandableRows\n expandableRowsHideExpander={true}\n expandableRowExpanded={(row) => (row === listRow)}\n expandOnRowClicked={true}\n expandableRowsComponent={\n \n }\n />\n \n \n }\n \n );\n};\n\nexport default UserTransactionList;\n","import React, {useState} from 'react';\nimport DataTable from \"react-data-table-component\";\n// import TransactionInformation from \"../TransactionInformation/TransactionInformation\";\nimport {WrapperTableList} from \"../../../Customers/CustomerList/EditableTable/styled\";\nimport userDefaultImg from \"../../../../assets/img/default-user.jpg\";\nimport UserTransactionList from \"./UserTransactionList\";\nimport {getAllUserTransactionForBusinessPlaceAxios} from \"../../../../api/adminPanel\";\n\ninterface IPlaceUsersList {\n users: any[],\n locationId: number,\n promotion: any,\n store: string\n}\n\nconst PlaceUsersList = ({users, locationId, promotion, store}: IPlaceUsersList) => {\n \n const customerTableColumns = [\n {\n name: \"Icon\",\n width: \"50px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row?.user?.photo ? (\n \"\"\n ) : (\n \"\"\n )}\n
    \n );\n }\n },\n {\n name: \"Name\",\n minWidth: \"150px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row.user.full_name}\n
    \n );\n }\n },\n // {\n // name: type,\n // center: true,\n // cell: ({ min_points, can_edit, points, activity_id, stamp_activity }: CustomerUserInterface): JSX.Element => {\n // return ;\n // }\n // },\n // {\n // name: \"loyalty Program\",\n // cell: (row: any): JSX.Element => {\n // return
    {data.place.promotion}
    ;\n // }\n // },\n {\n name: \"Email\",\n cell: (row: any): JSX.Element => {\n return
    {row.user.email}
    ;\n }\n },\n {\n name: \"Phone\",\n cell: (row: any): JSX.Element => {\n return
    {row.user.phone}
    ;\n }\n },\n // {\n // name: \"Address\",\n // cell: (row: any): JSX.Element => {\n // return
    {row.address || \"-\"}
    ;\n // }\n // },\n // {\n // name: \"POS.I.D\",\n // cell: (row: CustomerUserInterface): JSX.Element => {\n // return
    {row.pos_id || \"-\"}
    ;\n // }\n // },\n // {\n // name: \"POS User .I.D\",\n // cell: (row: CustomerUserInterface): JSX.Element => {\n // return
    {row.pos_user_id || \"-\"}
    ;\n // }\n // },\n // {\n // name: \"Receipt No.\",\n // cell: (row: CustomerUserInterface): JSX.Element => {\n // return
    {row.receipt || \"-\"}
    ;\n // }\n // },\n // {\n // name: \"Time\",\n // minWidth: \"120px\",\n // cell: (row: CustomerUserInterface): JSX.Element => {\n // return (\n //
    \n // {row.date\n // ? format(new Date(row.date), \"dd/MM/yyyy, HH:mm:ss\")\n // : \"-\"}\n //
    \n // );\n // }\n // },\n // {\n // name: \"Basket\",\n // maxWidth: \"75px\",\n // right: true,\n // cell: (row: any, i: number): JSX.Element => {\n // return (\n // <>\n // {row.basket ? (
    \n // \n //
    ) : null}\n //\n // \n // );\n // }\n // }\n ];\n \n const [transactions, setTransactions] = useState([]);\n const [customer, setCustomer] = useState({});\n \n const getUserTransactions = (userId: any) => {\n getAllUserTransactionForBusinessPlaceAxios({location_id: locationId, user_id: userId}).then(res => {\n setTransactions(res.data.transactions)\n })\n }\n \n return (\n \n {users &&\n <>\n {\n getUserTransactions(row.user.id)\n }}\n expandableRows\n expandableRowsHideExpander={true}\n expandableRowExpanded={(row) => (row === customer)}\n onRowExpandToggled={(bool, row) => setCustomer(row)}\n expandOnRowClicked={true}\n expandableRowsComponent={\n \n }\n />\n \n \n }\n \n );\n};\n\nexport default PlaceUsersList;\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgCheckCircle(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 20,\n height: 20,\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M1.66675 10C1.66675 5.40002 5.40008 1.66669 10.0001 1.66669C14.6001 1.66669 18.3334 5.40002 18.3334 10C18.3334 14.6 14.6001 18.3334 10.0001 18.3334C5.40008 18.3334 1.66675 14.6 1.66675 10ZM4.75008 10.5834L7.74175 13.575C8.06675 13.9 8.60008 13.9 8.91675 13.575L15.2417 7.25002C15.5667 6.92502 15.5667 6.40002 15.2417 6.07502C14.9167 5.75002 14.3917 5.75002 14.0667 6.07502L8.33342 11.8084L5.92508 9.40835C5.60008 9.08335 5.07508 9.08335 4.75008 9.40835C4.42508 9.73335 4.42508 10.2584 4.75008 10.5834Z\",\n fill: \"#515CDD\"\n })));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgCheckCircle);\nexport default __webpack_public_path__ + \"static/media/checkCircle.469cb899.svg\";\nexport { ForwardRef as ReactComponent };","import React, { FC, useEffect, useState } from \"react\";\nimport DataTable from \"react-data-table-component\";\n\nimport userDefaultImg from \"src/assets/img/default-user.jpg\";\nimport { CustomerUserInterface } from \"src/types/customer\";\nimport { WrapperTableList } from \"./styled\";\nimport PlaceUsersList from \"./PlaceUsersList\";\nimport {getAllUserForBusinessPlaceAxios} from \"../../../../api/adminPanel\";\nimport { ReactComponent as CheckIcon } from \"src/assets/img/checkCircle.svg\";\n\ninterface IProps {\n data: any;\n getCustomerList: any;\n requestParamtrs: any;\n}\n\nconst ExpandableTableList: FC = ({ data, getCustomerList, requestParamtrs }) => {\n const [userInfo, setUserInfo] = useState | null>(null);\nconst [locationId, setLocationId] = useState(0)\nconst [store, setStore] = useState('')\nconst [placeUsers, setPlaseUsers] = useState([])\n useEffect(() => {\n // getUserPointInfo(data.id);\n setUserInfo(data.place.locations)\n }, [data.id, requestParamtrs]);\n \nconst getAllUsersForPlace = (id: any) => {\n getAllUserForBusinessPlaceAxios({id}).then(res => {\n setPlaseUsers(res.data.customers)\n }).catch(e=>{\n console.log(e)\n })\n}\n\n const customerTableColumns = [\n {\n name: \"Icon\",\n width: \"50px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row?.image ? (\n \"\"\n ) : (\n \"\"\n )}\n
    \n );\n }\n },\n {\n name: \"Name\",\n minWidth: \"150px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row.location_name}\n
    \n );\n }\n },\n {\n name: \"loyalty Program\",\n cell: (row: any): JSX.Element => {\n return
    {data.place.promotion}
    ;\n }\n },\n {\n name: \"Phone\",\n cell: (row: any): JSX.Element => {\n return
    {row.phone_number}
    ;\n }\n },\n {\n name: \"Address\",\n cell: (row: any): JSX.Element => {\n return
    {row.address || \"-\"}
    ;\n }\n },\n \n ];\n const [listRow, setListRow] = useState({});\n const [allowFunctionality, setAllowFunctionality] = useState([]);\n useEffect(() => {\n setAllowFunctionality(Object.keys(data).filter(key=>key.includes('allow')).filter(item=> data[item] === true))\n }, []);\n \n return (\n \n {!!userInfo &&\n <>\n
    \n

    Allowed functionality

    \n
    \n \n {allowFunctionality.length > 0 ? allowFunctionality.map((item: any) =>
    \n {item === 'allow_pos' ? 'allow pos rules' : item.replaceAll('_', ' ')}
    ) :\n
    Not allowed function
    }\n
    \n
    \n {\n getAllUsersForPlace(row.id)\n setLocationId(row.id)\n setStore(row.location_name)\n }}\n expandableRows\n expandableRowsHideExpander={true}\n expandableRowExpanded={(row) => (row === listRow)}\n onRowExpandToggled={(bool, row) => setListRow(row)}\n expandOnRowClicked={true}\n expandableRowsComponent={\n \n }\n />\n\n \n }\n
    \n \n );\n};\n\nexport default ExpandableTableList;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n position: relative;\n overflow: hidden;\n\n .heading {\n display: flex;\n justify-content: space-between;\n margin-bottom: 6px;\n .filters {\n display: flex;\n align-items: center;\n .select {\n margin-left: 20px;\n input {\n padding: 10px 16px 10px 40px;\n }\n svg path:not([fill=\"none\"]) {\n fill: #666e90;\n }\n }\n }\n }\n\n .main-blocks-row {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n padding: 0px 4px;\n .item {\n flex: 1;\n border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 15px 20px;\n margin-right: 30px;\n &:last-child {\n margin-right: 0;\n }\n\n .title {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n margin-bottom: 15px;\n }\n .count {\n color: ${Color.blueDarkText};\n font-size: 44px;\n font-weight: 500;\n line-height: 56px;\n margin-bottom: 10px;\n }\n .description {\n opacity: 0.2;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n }\n }\n @media (max-width: 1300px) {\n .main-blocks-row {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));\n margin-right: -30px;\n margin-bottom: -30px;\n\n .item.all-customers {\n margin: 0 30px 30px 0;\n }\n }\n }\n @media (max-width: 399px) {\n .main-blocks-row {\n margin-right: 0px;\n .item.all-customers {\n margin-right: 0;\n }\n }\n }\n @media (min-width: 992px) and (max-width: 1040px) {\n .filters {\n flex-direction: column;\n\n div {\n margin-bottom: 15px;\n }\n }\n }\n @media (max-width: 760px) {\n .filters {\n flex-direction: column;\n\n div {\n margin-bottom: 15px;\n }\n }\n }\n @media (max-width: 480px) {\n .heading {\n flex-direction: column;\n\n .page-title {\n text-align: center;\n }\n }\n }\n \n .top-bar {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: flex-end;\n margin-bottom: 20px;\n &>div{\n margin-bottom: 10px;\n }\n .select {\n margin-bottom: 0px;\n }\n input {\n padding: 10px 32px 10px 14px;\n }\n }\n .search-wrap {\n width: 320px;\n max-width: 100%;\n margin-left: 20px;\n &>div{\n padding-bottom: 0;\n }\n }\n .groups-wrap {\n width: 200px;\n max-width: 100%;\n margin-left: 20px;\n ul {\n button {\n text-align: left;\n }\n }\n .calendar-wrapper .react-datepicker-wrapper .react-datepicker__input-container{\n input{\n width: 100%;\n height: auto;\n box-sizing: border-box;\n padding-right: 10px;\n }\n }\n \n }\n .locations-wrap {\n width: 200px;\n max-width: 100%;\n margin-left: 20px;\n }\n\n .table-wrap {\n position: relative;\n border-radius: 4px;\n overflow: hidden;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n &.loading-blue {\n min-height: 300px;\n }\n }\n .table {\n button[data-testid] {\n &:hover:not(:disabled),\n &:focus {\n background: none;\n }\n }\n .rdt_Table {\n }\n .rdt_TableHead {\n border: none;\n .rdt_TableCol {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n .rdt_TableHeadRow{\n min-height: 35px;\n }\n }\n .rdt_TableRow {\n border: none;\n padding:2px 0;\n min-height: 30px;\n &:nth-child(2n + 1) {\n background-color: ${Color.blueLightBackground};\n }\n .photo {\n line-height: 0;\n img {\n height: 30px;\n width: 30px;\n border-radius: 2px;\n object-fit: cover;\n }\n }\n .rdt_TableCell {\n &:nth-child(n + 2) {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n }\n }\n div:first-child {\n &::-webkit-scrollbar {\n height: 5px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 3px;\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blueLight};\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n }\n }\n }\n\n .paginate-prepage {\n background-color: ${Color.white};\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n align-items: center;\n box-sizing: border-box;\n padding: 25px 30px;\n }\n .paginate {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n .prev-page,\n .next-page {\n height: 32px;\n width: 32px;\n border: 1px solid rgba(47, 54, 64, 0.2);\n border-radius: 3px;\n background-color: ${Color.white};\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 12px;\n &:hover:not([disabled]) {\n box-shadow: rgba(47, 54, 64, 0.25) 0px 0px 10px 0px;\n border: 1px solid ${Color.grey};\n }\n &:disabled {\n opacity: 0.5;\n background: rgba(0, 0, 0, 0.1);\n cursor: initial;\n }\n }\n .text {\n color: ${Color.blueDarkText};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n }\n }\n .perpage {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n .text {\n margin-right: 12px;\n color: ${Color.blueDarkText};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n }\n .select {\n margin-bottom: 0;\n width: 90px;\n & > input,\n & > ul {\n color: ${Color.blueDarkText};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n }\n & > input {\n padding: 8px 30px 7px 10px;\n }\n & > ul {\n & > button {\n padding: 6px 10px;\n }\n }\n }\n }\n\n .nothing-found {\n padding: 50px 15px;\n text-align: center;\n color: ${Color.blueDarkText};\n font-size: 21px;\n font-weight: 300;\n line-height: 20px;\n }\n @media (max-width: 1140px) {\n .top-bar {\n flex-direction: column-reverse;\n align-items: start;\n margin-bottom: 10px;\n\n .locations-wrap,\n .groups-wrap {\n margin: 0 0 10px;\n }\n .search-wrap {\n margin-left: 0;\n }\n }\n }\n @media (max-width: 500px) {\n .table-wrap {\n .paginate-prepage {\n flex-direction: column;\n align-items: start;\n\n .paginate {\n margin-bottom: 10px;\n }\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React, {FC, useEffect, useState} from \"react\";\nimport DataTable from \"react-data-table-component\";\nimport {useActions} from \"src/hooks/useActions\";\nimport Input from \"src/components/Input\";\nimport Select from \"src/components/Select\";\nimport {ReactComponent as SearchIcon} from \"src/assets/img/search.svg\";\nimport Pagination from \"src/components/Pagination\";\nimport userDefaultImg from \"src/assets/img/default-user.jpg\";\nimport ExpandableTableList from \"./EditableTable/ExpandableTableList\";\n\nimport {\n CustomerRequestInterface,\n CustomerInterface,\n CustomerInfoInterface\n} from \"src/types/customer\";\n\nimport {Wrapper} from \"./styled\";\nimport {getAdminBusinessesAxios, getAdminBusinessesNamesAxios} from \"../../../api/adminPanel\";\nimport {SelectorListObj} from \"../../../components/Select/types\";\n\nconst arrangeCustomerSelect = [\n {value: \"business_name:asc\", label: \"Sort A-Z\"},\n {value: \"business_name:desc\", label: \"Sort Z-A\"},\n {value: \"id:asc\", label: \"Sort Oldest → Newest\"},\n {value: \"id:desc\", label: \"Sort Newest → Oldest\"},\n // {value: \"last_visit:desc\", label: \"Check-ins Most Recent → Oldest\"},\n // {value: \"last_visit:asc\", label: \"Check-ins Oldest → Most Recent\"},\n // {value: \"check_in_count:desc\", label: \"Sort Check-ins High → Low\"},\n // {value: \"check_in_count:asc\", label: \"Sort Check-ins Low → High\"},\n // {value: \"total_spend:desc\", label: \"Sort Points High → Low\"},\n // {value: \"total_spend:asc\", label: \"Sort Points Low → High\"}\n];\n// const searchType = [{ value: \"0\", label: \"User\" }, { value: \"1\", label: \"Order\" }];\n\n\nconst AdminBisinesses: FC = () => {\n const [requestParameters, setRequestParameters] =\n React.useState({\n limit: \"10\",\n page: \"1\",\n search: null,\n location: \"\",\n business: null,\n sort_type: \"business_name:asc\",\n startDate: new Date(2022, 0, 1),\n endDate: new Date()\n });\n const [customerListLoading, setCustomerListLoading] =\n React.useState(true);\n const [customerList, setCustomerList] =\n React.useState | null>(null);\n \n const [customerListInfo, setCustomerListInfo] =\n useState({\n count_users: 0,\n limit: 0,\n page: 0,\n total_pages_count: 0,\n total_users_count: 0,\n startDate: new Date(2022, 0, 1),\n endDate: new Date(),\n });\n \n // const {locations} = useTypedSelector(\n // (state) => state.groupsLocations\n // );\n const {getGroupsLocations} = useActions();\n useEffect(() => {\n getGroupsLocations();\n }, []); //eslint-disable-line\n \n const getCustomerList = () => {\n setCustomerListLoading(true);\n getAdminBusinessesAxios({\n ...requestParameters\n }).then((response) => {\n setCustomerList(response.data.business);\n setCustomerListInfo({\n count_users: Number(response.data.count_users),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_users_count: Number(response.data.total_users_count),\n startDate: new Date(response.data.startDate),\n endDate: new Date(response.data.endDate)\n });\n setCustomerListLoading(false);\n }).catch((err) => {\n console.log(err);\n \n });\n };\n \n const handleChangeRequestParamtrs = (\n name: string,\n value: string | number | Date\n ) => {\n setRequestParameters((prevState: any) => {\n return {...prevState, [name]: value};\n });\n };\n \n useEffect(() => {\n getCustomerList();\n }, [\n requestParameters.business,\n requestParameters.location,\n requestParameters.page,\n requestParameters.sort_type,\n requestParameters.searchType,\n requestParameters.startDate,\n requestParameters.endDate,\n ]);\n \n useEffect(() => {\n if (requestParameters.search !== null) {\n const timeout = setTimeout(() => {\n getCustomerList();\n }, 500);\n \n return () => clearTimeout(timeout);\n }\n }, [requestParameters.search]);\n \n useEffect(() => {\n if (Number(requestParameters.page) === 1 && customerListInfo.limit !== 0) {\n getCustomerList();\n }\n }, [requestParameters.limit]);\n \n const customerTableColumns = [\n \n {\n name: \"Name\",\n minWidth: \"150px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row.business_name}\n
    \n );\n }\n },\n {\n name: \"Icon\",\n width: \"100px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (\n
    \n {row.photo ? (\n \"\"/\n ) : (\n \"\"/\n )}\n
    \n );\n }\n },\n {\n name: \"Email\",\n minWidth: \"225px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.email}
    ;\n },\n },\n {\n name: \"Phone\",\n minWidth: \"175px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.phone}
    ;\n },\n },\n {\n name: \"Loyalty Program\",\n cell: (row: any): JSX.Element => {\n return
    {row.place && row.place.promotion ? row.place.promotion : \"-\"}
    ;\n }\n },\n ];\n const [listRow, setListRow] = useState({});\n \n const [businesses, setBusinesses] = useState([{value: '', label: ''}])\n useEffect(() => {\n getAdminBusinessesNamesAxios().then(({data}) => {\n let selectBusiness: any[] = []\n data.business.forEach((item: any) => {\n selectBusiness.push({value: item.id, label: item.business_name})\n })\n setBusinesses(selectBusiness)\n });\n }, []);\n \n \n return (\n \n
    Admin Businesses
    \n
    \n
    \n }\n getValue={(value) => setRequestParameters({...requestParameters, search: value})}\n />\n
    \n {/*
    */}\n {/* */}\n {/* handleChangeRequestParamtrs(\"searchType\", value)*/}\n {/* }*/}\n {/* hideSelectorFilter*/}\n {/* />*/}\n {/*
    */}\n
    \n 0)}\n positionForShow=\"bottom\"\n required\n isClearable\n getValue={(value) => handleChangeRequestParamtrs(\"business\", value)}\n hideSelectorFilter\n />\n
    \n
    \n \n handleChangeRequestParamtrs(\"sort_type\", value)\n }\n hideSelectorFilter\n />\n
    \n {/*
    */}\n {/* 0)}*/}\n {/* positionForShow=\"bottom\"*/}\n {/* required*/}\n {/* isClearable*/}\n {/* getValue={(value) => handleChangeRequestParamtrs(\"location\", value)}*/}\n {/* hideSelectorFilter*/}\n {/* />*/}\n {/*
    */}\n {/*
    */}\n {/* e <= new Date() ? handleChangeRequestParamtrs(\"startDate\", e) : handleChangeRequestParamtrs(\"startDate\", new Date())}*/}\n {/* dateFormat=\"MMMM d, yyyy\"*/}\n {/* timeSelect={false}*/}\n {/* label={\"Start Date\"}*/}\n {/* />*/}\n {/*
    */}\n {/*
    */}\n {/* e < requestParameters.startDate ? handleChangeRequestParamtrs(\"endDate\", requestParameters.startDate) : e >= new Date() ? handleChangeRequestParamtrs(\"endDate\", new Date()) : handleChangeRequestParamtrs(\"endDate\", e)}*/}\n {/* dateFormat=\"MMMM d, yyyy\"*/}\n {/* timeSelect={false}*/}\n {/* label={\"End Date\"}*/}\n {/* />*/}\n {/*
    */}\n
    \n \n
    \n {customerList !== null ? (\n customerList.length > 0 ? (\n <>\n
    \n (row === listRow)}\n onRowExpandToggled={(bool, row) => setListRow(row)}\n expandableRowsComponent={\n \n }\n />\n
    \n \n \n ) : (\n
    Sorry, nothing found
    \n )\n ) : null}\n
    \n \n
    \n );\n};\n\nexport default AdminBisinesses;\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgEdit(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M0 0h24v24H0V0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(0,13,70)\",\n fillRule: \"evenodd\",\n d: \"M20.70996094 5.63000488c.39001465.39001465.39001465 1.02001953 0 1.40997315l-1.82995606 1.83001709-3.75-3.75 1.82995606-1.8300171c.39001465-.3899536 1.02001953-.3899536 1.41003418 0l2.33996582 2.34002686zM3 20.5v-3.03997803c0-.14001465.05004883-.26000976.15002441-.36004638L14.0600586 6.19000244l3.75 3.75L6.89001465 20.8499756C6.80004883 20.9500122 6.67004395 21 6.54003906 21H3.5c-.2800293 0-.5-.2199707-.5-.5z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgEdit);\nexport default __webpack_public_path__ + \"static/media/edit.f5485a95.svg\";\nexport { ForwardRef as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgDelete(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M0 0h24v24H0V0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(0,13,70)\",\n fillRule: \"evenodd\",\n d: \"M15.5 4H18c.55004883 0 1 .4500122 1 1s-.44995117 1-1 1H6c-.55004883 0-1-.4500122-1-1s.44995117-1 1-1h2.5l.70996094-.71002197C9.39001464 3.10998535 9.6500244 3 9.91003418 3h4.17993164c.26000977 0 .52001953.10998535.70007324.28997803L15.5 4zM8 21c-1.09997559 0-2-.90002441-2-2V9c0-1.09997559.90002441-2 2-2h8c1.09997559 0 2 .90002441 2 2v10c0 1.09997559-.90002441 2-2 2H8z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgDelete);\nexport default __webpack_public_path__ + \"static/media/delete.3095c158.svg\";\nexport { ForwardRef as ReactComponent };","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n \n .top-bar {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: flex-end;\n margin-bottom: 20px;\n &>div{\n margin-bottom: 10px;\n }\n .select {\n margin-bottom: 0px;\n }\n input {\n padding: 10px 32px 10px 14px;\n }\n }\n .delete-modal {\n text-align: center;\n padding: 60px 50px;\n .title {\n color: ${Color.blueDarkText};\n font-size: 21px;\n font-weight: 500;\n line-height: 28px;\n text-align: center;\n }\n .btn_wrap{\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n button {\n margin-top: 20px;\n width: auto;\n padding: 10px 20px;\n }\n }\n \n }\n .search-wrap {\n width: 320px;\n max-width: 100%;\n margin-left: 20px;\n &>div{\n padding-bottom: 0;\n }\n }\n .groups-wrap {\n width: 200px;\n max-width: 100%;\n margin-left: 20px;\n ul {\n button {\n text-align: left;\n }\n }\n .calendar-wrapper .react-datepicker-wrapper .react-datepicker__input-container{\n input{\n width: 100%;\n height: auto;\n box-sizing: border-box;\n padding-right: 10px;\n }\n }\n }\n .edit_input_wrap{\n display: flex;\n align-items: center;\n padding-top: 11px;\n }\n .modal-content{\n text-align: center;\n padding: 60px 50px;\n @media (max-width: 600px) {\n padding: 30px 15px;\n }\n .title {\n color: ${Color.redMedium};\n font-size: 30px;\n font-weight: 500;\n line-height: 38px;\n text-align: center;\n @media (max-width: 600px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n .sub-title{\n color: ${Color.orange};\n font-size: 25px;\n font-weight: 500;\n line-height: 38px;\n text-align: center;\n @media (max-width: 600px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n }\n .action {\n display: flex;\n align-items: center;\n .edit {\n display: block;\n line-height: 0;\n height: 24px;\n width: 24px;\n opacity: 0.6;\n margin-right: 25px;\n background: none;\n &:hover {\n opacity: 1;\n }\n }\n .delete {\n display: block;\n line-height: 0;\n height: 24px;\n width: 24px;\n opacity: 0.6;\n background: none;\n padding: 0;\n &:hover {\n opacity: 1;\n }\n }\n .info {\n display: block;\n line-height: 0;\n height: 24px;\n width: 24px;\n margin-right: 25px;\n background: none;\n cursor: pointer;\n position: relative;\n & > span {\n z-index: -1;\n opacity: 0;\n background-color: $blueDarkText;\n position: absolute;\n font-size: 14px;\n width: 96px;\n color: $white;\n padding-left: 10px;\n padding-right: 10px;\n text-align: center;\n border-radius: 4px;\n padding-top: 5px;\n padding-bottom: 5px;\n transition: all 0.3s ease;\n line-height: 20px;\n top: -55px;\n left: -35px;\n box-sizing: border-box;\n }\n svg {\n opacity: 0.6;\n &:hover {\n opacity: 1;\n\n & + span {\n z-index: 2;\n opacity: 1;\n }\n }\n path:not([fill=\"none\"]) {\n fill: rgb(0, 13, 70);\n }\n }\n }\n }\n .locations-wrap {\n width: 200px;\n max-width: 100%;\n margin-left: 20px;\n }\n\n .table-wrap {\n position: relative;\n border-radius: 4px;\n overflow: hidden;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n &.loading-blue {\n min-height: 300px;\n }\n }\n .table {\n button[data-testid] {\n &:hover:not(:disabled),\n &:focus {\n background: none;\n }\n }\n .rdt_Table {\n }\n .rdt_TableHead {\n border: none;\n .rdt_TableCol {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n .rdt_TableHeadRow{\n min-height: 35px;\n }\n }\n .rdt_TableRow {\n border: none;\n padding:2px 0;\n min-height: 30px;\n &:nth-child(2n + 1) {\n background-color: ${Color.blueLightBackground};\n }\n .photo {\n line-height: 0;\n img {\n height: 30px;\n width: 30px;\n border-radius: 2px;\n object-fit: cover;\n }\n }\n .rdt_TableCell {\n &:nth-child(n + 2) {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n }\n }\n div:first-child {\n &::-webkit-scrollbar {\n height: 5px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 3px;\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blueLight};\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n }\n }\n }\n\n .paginate-prepage {\n background-color: ${Color.white};\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n align-items: center;\n box-sizing: border-box;\n padding: 25px 30px;\n }\n .paginate {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n .prev-page,\n .next-page {\n height: 32px;\n width: 32px;\n border: 1px solid rgba(47, 54, 64, 0.2);\n border-radius: 3px;\n background-color: ${Color.white};\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 12px;\n &:hover:not([disabled]) {\n box-shadow: rgba(47, 54, 64, 0.25) 0px 0px 10px 0px;\n border: 1px solid ${Color.grey};\n }\n &:disabled {\n opacity: 0.5;\n background: rgba(0, 0, 0, 0.1);\n cursor: initial;\n }\n }\n .text {\n color: ${Color.blueDarkText};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n }\n }\n .perpage {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n .text {\n margin-right: 12px;\n color: ${Color.blueDarkText};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n }\n .select {\n margin-bottom: 0;\n width: 90px;\n & > input,\n & > ul {\n color: ${Color.blueDarkText};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n }\n & > input {\n padding: 8px 30px 7px 10px;\n }\n & > ul {\n & > button {\n padding: 6px 10px;\n }\n }\n }\n }\n\n .nothing-found {\n padding: 50px 15px;\n text-align: center;\n color: ${Color.blueDarkText};\n font-size: 21px;\n font-weight: 300;\n line-height: 20px;\n }\n @media (max-width: 1140px) {\n .top-bar {\n flex-direction: column-reverse;\n align-items: start;\n margin-bottom: 10px;\n\n .locations-wrap,\n .groups-wrap {\n margin: 0 0 10px;\n }\n .search-wrap {\n margin-left: 0;\n }\n }\n }\n @media (max-width: 500px) {\n .table-wrap {\n .paginate-prepage {\n flex-direction: column;\n align-items: start;\n\n .paginate {\n margin-bottom: 10px;\n }\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import styled from \"styled-components\";\n\nconst Wrapper = styled.div`\n position: fixed;\n width: 100vw;\n height: 100vh;\n top: 0;\n left: 0;\n background-color: rgba(0, 0, 0, 0.6);\n z-index: 100;\n & > div {\n position: absolute;\n left: calc(50% - 8px);\n top: 50%;\n transform: translate(-50%, -50%);\n border-radius: 6px;\n background-color: #fcfcfd;\n width: 90%;\n max-width: 500px;\n box-sizing: border-box;\n max-height: 90%;\n overflow: auto;\n\n &::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n }\n\n &::-webkit-scrollbar-track {\n box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: #737ce4;\n }\n }\n`;\n\nexport { Wrapper };\n","import React, {useEffect, useRef} from \"react\";\nimport { Wrapper } from \"./styled\";\nimport {Props} from \"./types\";\n\nconst Modal = ({\n openModal,\n setOpenModal,\n closeOutsideClick = true,\n children,\n style={}\n}: Props) => {\n const modalRef = useRef() as React.MutableRefObject;\n\n const handleClickOutside = (event: any) => {\n if (!modalRef?.current?.contains(event.target) && openModal) {\n setOpenModal(false);\n }\n };\n\n useEffect(() => {\n if (closeOutsideClick) {\n document.addEventListener(\"click\", handleClickOutside);\n return () => {\n document.removeEventListener(\"click\", handleClickOutside);\n };\n }\n\n return undefined;\n });\n\n return (\n \n
    {children}
    \n
    \n );\n};\n\nexport default Modal;\n","import styled from \"styled-components\";\nimport {Color} from \"../../../../types/color\";\n\nexport const WrapperTableList = styled.div`\n width: calc(100% - 40px);\n padding: 0 20px 10px;\n\n button {\n background: none;\n }\n .visibility-icon{\n width: 20px;\n height: 20px;\n }\n .show-order{\n cursor: pointer;\n padding: 10px 0 10px 10px;\n }\n .chart {\n background: ${Color.white};\n padding: 0 30px;\n box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);\n border-radius: 0px 8px 8px 8px;\n\n }\n \n`;\n\nexport const PointWrapper = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const PointInput = styled.input`\n width: 50px;\n background: none;\n color: #000D46;\n text-align: end;\n\n &[readonly] {\n cursor: default;\n }\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n`;\n","import {\n CustomerRequestInterface,\n CustomerGroupsRequestInterface,\n CustomerGroupCreateRequestInterface, PointCountsInterface\n} from \"src/types/customer\";\nimport axios from \"./api\";\n\nexport const getCustomerListAxios = (\n requestParamtrs: CustomerRequestInterface\n): Promise =>\n axios\n .post(\"/api/group/getAllUsersForPlace\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const getOfflineCustomerListAxios = (\n requestParamtrs: { search: string }\n): Promise =>\n axios\n .post(\"/api/offlineUser/list\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getCustomerListWithFilterGroupsAxios = (\n requestParamtrs: CustomerRequestInterface\n): Promise =>\n axios\n .post(\"/api/group/getAllUsersForPlaceWithFilters\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getCustomerGroupsAxios = (\n requestParamtrs: CustomerGroupsRequestInterface\n): Promise =>\n axios\n .post(\"/api/group/getAllGroups\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const getCustomerGroupUsersAxios = (\n requestParamtrs: {id: number}\n): Promise =>\n axios\n .post(\"\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getFiltersInfoAxios = (): Promise =>\n axios\n .get(\"/api/group/getFilters\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const createCustomerGroupAxios = (\n requestParamtrs: CustomerGroupCreateRequestInterface\n): Promise =>\n axios\n .post(\"/api/group/create\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const updateCustomerGroupAxios = (\n requestParamtrs: CustomerGroupCreateRequestInterface\n): Promise =>\n axios\n .post(\"/api/group/update\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const updateCustomerGroupForProductDiscountAxios = (\n requestParamtrs: CustomerGroupCreateRequestInterface\n): Promise =>\n axios\n .post(\"/api/productGroup/update\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const createCustomerGroupForProductDiscountAxios = (\n requestParamtrs: CustomerGroupCreateRequestInterface\n): Promise =>\n axios\n .post(\"/api/productGroup/create\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const removeCustomerGroupForProductDiscountAxios = (\n requestParamtrs: any\n): Promise =>\n axios\n .post(\"/api/productGroup/remove\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const deleteCustomerGroupAxios = (group_id: string): Promise =>\n axios\n .post(\"/api/group/delete\", { id: group_id })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getCustomerGroupInfoAxios = (group_id: string): Promise =>\n axios\n .post(\"/api/getGroup\", { id: group_id })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getCustomerGroupInfoForProductDiscountAxios = (group_id: string): Promise =>\n axios\n .post(\"/api/productGroup/get\", { id: group_id })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getAllCustomersAndProductsForProductDiscountAxios = (id: number): Promise =>\n axios\n .post(\"/api/productGroup/info\", {id})\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getAllCustomerGroupForProductDiscountAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/productGroup/list\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getCustomerInfoAxios = (user_id: string, search: string, searchType: string, location: string, startDate: any, endDate: any): Promise =>\n axios\n .post(\"/api/group/getUserForPlaceActivities\", { user: user_id, search: search, searchType: searchType, location: location, startDate: startDate, endDate: endDate })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const updatePointsCountAxios = (requestParams: PointCountsInterface): Promise =>\n axios\n .post(\"/api/user/setUserActivityPoint\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const importWorkers = (requestParams: any): Promise =>\n axios\n .post(\"/api/worker/import\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\n export const removeBulkStaff = (requestParams: any): Promise =>\n axios\n .post(\"/api/worker/dashboard/bulk-remove\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const importStaffDiscountWorkersAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/staff/import\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const importStaffMembersWithBadgeBarcodeAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/staff/import\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const removeBulkStaffDiscountAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/staff/bulk-remove\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const removeBulkStaffMembersWithBadgeBarcodeAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/staff/bulk-remove\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\n\nexport const getAllStaffMembers = (requestParams: any): Promise =>\n axios\n .post(\"/api/worker/all\", requestParams)\n .then((response) => {\n \n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const addStaffMembersAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/worker/add\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const editStaffMembersAxios = (requestParams: any): Promise =>\n axios\n .post(\"api/worker/update\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const removeStaffMembersAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/worker/delete\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getSataffFamily = (requestParams: any): Promise =>\n axios\n .post(\"/api/worker/dashboard/get-relation\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const removeSataffFamily = (requestParams: any): Promise =>\n axios\n .post(\"/api/worker/dashboard/remove-relation\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\n\nexport const getAllStaffDiscountMembers = (requestParams: any): Promise =>\n axios\n .post(\"/api/staff/all\", requestParams)\n .then((response) => {\n \n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const addStaffDiscountMembersAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/staff/create\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const editStaffDiscountMembersAxios = (requestParams: any): Promise =>\n axios\n .post(\"api/staff/update\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const removeStaffDiscountMemberAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/staff/delete\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getStaffDiscountLoyaltyCardAxios = (): Promise =>\n axios\n .get(\"/api/staff/card/get\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const saveStaffDiscountLoyaltyCardAxios = (requestData: any): Promise =>\n axios\n .post(\"/api/staff/card/add\", requestData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getStaffDiscountActivity = (requestParams: any): Promise =>\n axios\n .post(\"/api/staff/transaction\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const setDiscountPercentForAllMembersAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/staff/all-set-discount\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const setMaximumSpendDiscountAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/staff/maximumSpend/set\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const getMaximumSpendDiscountAxios = (): Promise =>\n axios\n .get(\"/api/staff/maximumSpend/get\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const setNewDiscountRuleAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/staff/restriction-category/add\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const removeDiscountRuleAxios = (requestParams: any): Promise =>\n axios\n .post(\"/api/staff/restriction-category/remove\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getAllDiscountRulesAxios = (requestData: {startDate: any, endDate: any}): Promise =>\n axios\n .post(\"/api/staff/restriction-category/get\", requestData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getAllConditionsStaffDiscountAxios = (): Promise =>\n axios\n .get(\"/api/condition/staffDiscount\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const addNewConditionsStaffDiscountAxios = ({id}: {id: number}): Promise =>\n axios\n .post(`/api/condition/staffDiscount/add/${id}`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const removeConditionsStaffDiscountAxios = ({id}: {id: number}): Promise =>\n axios\n .delete(`/api/condition/staffDiscount/remove/${id}`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n","import React, { FC, useRef, useState } from \"react\";\n\nimport { ReactComponent as EditIcon } from \"../../../../assets/img/edit.svg\";\nimport { PointInput, PointWrapper } from \"./styled\";\nimport { updatePointsCountAxios } from \"../../../../api/customers\";\n\ninterface IProp {\n points: string;\n pointId: string;\n userId: string;\n getCustomerList: any;\n getUserPointInfo: any;\n canEdit: boolean;\n minValue: number;\n stamp_activity?: any;\n}\n\nconst EditablePoint: FC = ({\n points,\n minValue,\n pointId,\n canEdit,\n userId,\n getCustomerList,\n getUserPointInfo,\n stamp_activity\n }) => {\n const ref = useRef(null);\n const [point, setPoint] = useState(points ?? \"-\");\n\n const editPoint = () => {\n if (ref.current) {\n ref.current.focus();\n ref.current.readOnly = false;\n }\n };\n\n const changePoints = (e: any) => {\n let value = e.target.value;\n\n if (minValue > e.target.value) {\n value = minValue;\n }\n\n if (+point !== +value) {\n setPoint(value);\n }\n };\n\n const handleBlur = () => {\n if (ref.current) {\n ref.current.readOnly = true;\n if (+points !== +point) {\n updatePointsCountAxios({ activity_id: pointId, points: point }).then(r => {\n getCustomerList();\n getUserPointInfo(userId);\n });\n }\n }\n };\n\n return (\n \n \n {\n canEdit && \n }\n \n );\n};\n\nexport default EditablePoint;","import React, { FC, useEffect, useState } from \"react\";\nimport { format } from \"date-fns\";\nimport DataTable from \"react-data-table-component\";\n\nimport userDefaultImg from \"src/assets/img/default-user.jpg\";\nimport { CustomerUserInterface } from \"src/types/customer\";\nimport EditablePoint from \"./EditablePoinr\";\nimport { ReactComponent as VisibilityIcon } from \"src/assets/img/visibility.svg\";\n\nimport { WrapperTableList } from \"./styled\";\nimport TransactionInformation from \"../../../Customers/CustomerList/TransactionInformation/TransactionInformation\";\nimport {getCustomerInfoAdminAxios} from \"../../../../api/adminPanel\";\n\ninterface IProps {\n data: any;\n getCustomerList: any;\n requestParamtrs: any;\n setcustomerListLoading: any;\n}\n\nfunction vouchersName(vouchers: any[]) {\n return vouchers.reduce((acc: any, voucher: any) => {\n const { reward_name } = voucher;\n acc.push(reward_name);\n return acc;\n }, []).join(\", \") || \"-\";\n}\n\nfunction getRewards(info: CustomerUserInterface, key: string) {\n const { vouchers, stamp_activity, used_vouchers } = info;\n\n if (key === \"earned\") {\n // @ts-ignore\n return vouchers.length ? vouchersName(vouchers) : stamp_activity ? stamp_activity[key] : \"-\";\n } else {\n // @ts-ignore\n return used_vouchers.length ? vouchersName(used_vouchers) : stamp_activity ? stamp_activity[key] : \"-\";\n }\n\n}\n\nconst ExpandableTableList: FC = ({ data, getCustomerList, requestParamtrs, setcustomerListLoading }) => {\n const [userInfoPoints, setUserInfoPoints] = useState>([]);\n const [userInfoStamps, setUserInfoStamps] = useState>([]);\n const { photo, first_name, last_name } = data;\n const [showTransactionDetail, setShowTransactionDetail] = useState(false);\n const [customerInformation, setCustomerInformation] = useState({});\n const [customer, setCustomer] = useState({});\n const [activeType, setActiveType] = useState('Points')\n \n \n const handleChangeActiveChart = (chartName: any) => {\n setActiveType(chartName);\n setCustomerInformation({})\n setCustomer({})\n setShowTransactionDetail(false);\n // todo\n // setTimeout(() => {\n // chartRef.current?.scrollIntoView({\n // behavior: \"smooth\",\n // block: \"end\",\n // inline: \"nearest\",\n // });\n // }, 200);\n };\n\n const getUserPointInfo = (id: string) => {\n setcustomerListLoading(true)\n getCustomerInfoAdminAxios(`${id}`, requestParamtrs.search, requestParamtrs.searchType, requestParamtrs.location, format(requestParamtrs.startDate, \"dd-MM-yyyy\"), format(requestParamtrs.endDate, \"dd-MM-yyyy\")).then((response) => {\n setUserInfoPoints(response.data.activities.points || []);\n setUserInfoStamps(response.data.activities.stamps || []);\n \n }).finally(()=>{\n setcustomerListLoading(false)\n });\n };\n\n useEffect(() => {\n getUserPointInfo(data.id);\n }, [data.id, requestParamtrs]);\n\n const customerTableColumns = [\n {\n name: \"\",\n width: \"50px\",\n cell: (): JSX.Element => {\n return (\n
    \n {data.photo ? (\n \"\"\n ) : (\n \"\"\n )}\n
    \n );\n }\n },\n {\n name: \"\",\n minWidth: \"150px\",\n cell: (): JSX.Element => {\n return (\n
    \n {first_name} {last_name}\n
    \n );\n }\n },\n {\n name: 'Points',\n center: true,\n cell: ({ min_points, can_edit, points, activity_id, stamp_activity }: CustomerUserInterface): JSX.Element => {\n return ;\n }\n },\n {\n name: `Reward Earned`,\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {getRewards(row, \"earned\")}
    ;\n }\n },\n {\n name: `Reward Used`,\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {getRewards(row, \"used\")}
    ;\n }\n },\n {\n name: \"Store\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {row.store || \"-\"}
    ;\n }\n },\n {\n name: \"POS.I.D\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {row.pos_id || \"-\"}
    ;\n }\n },\n {\n name: \"POS User .I.D\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {row.pos_user_id || \"-\"}
    ;\n }\n },\n {\n name: \"Receipt No.\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {row.receipt || \"-\"}
    ;\n }\n },\n {\n name: \"Time\",\n minWidth: \"120px\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return (\n
    \n {row.date\n ? format(new Date(row.date), \"dd/MM/yyyy, HH:mm:ss\")\n : \"-\"}\n
    \n );\n }\n },\n {\n name: \"Basket\",\n maxWidth: \"75px\",\n right: true,\n cell: (row: any, i: number): JSX.Element => {\n return (\n <>\n {row.basket ? (
    \n \n
    ) : null}\n\n \n );\n }\n }\n ];\n const customerTableColumnsStamp = [\n {\n name: \"\",\n width: \"50px\",\n cell: (): JSX.Element => {\n return (\n
    \n {data.photo ? (\n \"\"\n ) : (\n \"\"\n )}\n
    \n );\n }\n },\n {\n name: \"\",\n minWidth: \"150px\",\n cell: (): JSX.Element => {\n return (\n
    \n {first_name} {last_name}\n
    \n );\n }\n },\n {\n name: 'Stamps',\n center: true,\n cell: ({ min_points, can_edit, points, activity_id, stamp_activity }: CustomerUserInterface): JSX.Element => {\n return ;\n }\n },\n {\n name: `Stamps Earned`,\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {getRewards(row, \"earned\")}
    ;\n }\n },\n {\n name: `Stamps Used`,\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {getRewards(row, \"used\")}
    ;\n }\n },\n {\n name: \"Staff i.d.\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {row.seller || \"-\"}
    ;\n }\n },\n {\n name: \"Time\",\n minWidth: \"120px\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return (\n
    \n {row.date\n ? format(new Date(row.date), \"dd/MM/yyyy, HH:mm:ss\")\n : \"-\"}\n
    \n );\n }\n },\n {\n name: \"Basket\",\n maxWidth: \"75px\",\n right: true,\n cell: (row: any, i: number): JSX.Element => {\n return (\n <>\n {row.basket ? (
    \n \n
    ) : null}\n \n \n );\n }\n }\n\n ];\n\n return (\n \n {(!!userInfoPoints || !!userInfoStamps ) &&\n <>\n
    \n \n handleChangeActiveChart(\"Points\")}\n >\n Points\n \n
    \n \n handleChangeActiveChart(\"Stamps\")}\n >\n Stamps\n \n \n \n
    \n
    \n {activeType === 'Points' ? {\n if(row.basket && row.basket.productsList.length > 0) {\n setShowTransactionDetail(true);\n setCustomerInformation(row.basket)\n // setCustomer(row);\n } else {\n setShowTransactionDetail(false)\n setCustomerInformation({})\n }\n }}\n expandableRows\n expandableRowsHideExpander={true}\n expandableRowExpanded={(row) => (row === customer)}\n onRowExpandToggled={(bool, row) => setCustomer(row)}\n expandOnRowClicked={true}\n expandableRowsComponent={\n \n }\n /> : {\n if(row.basket && row.basket.productsList.length > 0) {\n setShowTransactionDetail(true);\n setCustomerInformation(row.basket)\n // setCustomer(row);\n } else {\n setShowTransactionDetail(false)\n setCustomerInformation({})\n }\n \n }}\n expandableRows\n expandableRowsHideExpander={true}\n expandableRowExpanded={(row) => (row === customer)}\n onRowExpandToggled={(bool, row) => setCustomer(row)}\n expandOnRowClicked={true}\n expandableRowsComponent={\n \n }\n />}\n
    \n
    \n \n \n }\n
    \n \n );\n};\n\nexport default ExpandableTableList;\n","import styled from \"styled-components\";\nimport { Color } from \"../../types/color\";\n\nconst Wrapper = styled.div`\n .delete-modal {\n text-align: center;\n padding: 60px 50px;\n .title {\n color: ${Color.blueDarkText};\n font-size: 21px;\n font-weight: 500;\n line-height: 28px;\n text-align: center;\n }\n\n .btn_wrap{\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n button {\n margin-top: 20px;\n width: auto;\n padding: 10px 20px;\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React from 'react';\nimport {Wrapper} from \"./styled\";\nimport Modal from \"../Modal\";\n\ninterface IRemoveModalProps {\n showModal: boolean;\n setShowModal: any;\n title: string;\n handleCancel: () => void;\n handleConfirm: () => void;\n}\n\nconst RemoveModal = ({showModal, setShowModal, handleConfirm, handleCancel, title}: IRemoveModalProps) => {\n return (\n \n {showModal && ( setShowModal(false)}\n closeOutsideClick\n >\n \n
    \n
    {title}
    \n
    \n \n Cancel\n \n \n Confirm delete\n \n
    \n
    \n \n )}\n \n
    \n );\n};\n\nexport default RemoveModal;\n","import React, {FC, useCallback, useEffect, useState} from \"react\";\n\nimport DataTable from \"react-data-table-component\";\n\nimport {useActions} from \"src/hooks/useActions\";\nimport Input from \"src/components/Input\";\nimport Select from \"src/components/Select\";\nimport {ReactComponent as SearchIcon} from \"src/assets/img/search.svg\";\nimport {ReactComponent as EditIcon} from \"src/assets/img/edit.svg\";\nimport {ReactComponent as DeleteIcon} from \"src/assets/img/delete.svg\";\nimport Pagination from \"src/components/Pagination\";\nimport userDefaultImg from \"src/assets/img/default-user.jpg\";\nimport {\n CustomerRequestInterface,\n CustomerInterface,\n CustomerInfoInterface,\n} from \"src/types/customer\";\n\nimport {Wrapper} from \"./styled\";\nimport {getAdminUsersAxios, removeAdminUserAxios, updateAdminUserAxios} from \"../../../api/adminPanel\";\nimport Modal from \"../../../components/Modal\";\nimport ExpandableTableList from \"./EditableTable/ExpandableTableList\";\nimport RemoveModal from \"../../../components/RemoveModal/RemoveModal\";\n\nconst arrangeCustomerSelect = [\n {value: \"last_name:asc\", label: \"Sort A-Z\"},\n {value: \"last_name:desc\", label: \"Sort Z-A\"},\n {value: \"id:asc\", label: \"Sort Oldest → Newest\"},\n {value: \"id:desc\", label: \"Sort Newest → Oldest\"},\n // {value: \"last_visit:desc\", label: \"Check-ins Most Recent → Oldest\"},\n // {value: \"last_visit:asc\", label: \"Check-ins Oldest → Most Recent\"},\n // {value: \"check_in_count:desc\", label: \"Sort Check-ins High → Low\"},\n // {value: \"check_in_count:asc\", label: \"Sort Check-ins Low → High\"},\n // {value: \"total_spend:desc\", label: \"Sort Points High → Low\"},\n // {value: \"total_spend:asc\", label: \"Sort Points Low → High\"}\n];\n\n\nconst AdminUsers: FC = () => {\n const [requestParameters, setRequestParameters] =\n React.useState({\n limit: \"10\",\n page: \"1\",\n search: null,\n sort_type: \"last_name:asc\",\n startDate: new Date(2021, 0, 1),\n endDate: new Date(),\n location: \"\",\n });\n const [customerListLoading, setCustomerListLoading] =\n React.useState(true);\n const [showDeleteUserModal, setShowDeleteUserModal] = useState(false);\n const [selectedUser, setSelectedUser] = useState(null);\n const [customerList, setCustomerList] =\n React.useState | null>(null);\n const [errorResponse, setErrorResponse] = useState('')\n const [customerListInfo, setCustomerListInfo] =\n React.useState({\n count_users: 0,\n limit: 0,\n page: 0,\n total_pages_count: 0,\n total_users_count: 0,\n });\n \n const {getGroupsLocations} = useActions();\n useEffect(() => {\n getGroupsLocations();\n }, []); //eslint-disable-line\n \n const getCustomerList = useCallback(() => {\n setCustomerListLoading(true);\n getAdminUsersAxios({\n ...requestParameters\n }).then((response) => {\n setCustomerList(response.data.customers);\n setCustomerListInfo({\n count_users: Number(response.data.count_users),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_users_count: Number(response.data.total_users_count),\n });\n setCustomerListLoading(false);\n }).catch((err) => {\n console.log(err);\n });\n },[requestParameters]);\n \n const handleChangeRequestParamtrs = (\n name: string,\n value: string | number | Date\n ) => {\n setRequestParameters((prevState: any) => {\n return {...prevState, [name]: value};\n });\n };\n \n useEffect(() => {\n getCustomerList();\n }, [\n requestParameters.page,\n requestParameters.sort_type,\n requestParameters.searchType,\n ]);\n \n useEffect(() => {\n if (requestParameters.search !== null) {\n const timeout = setTimeout(() => {\n getCustomerList();\n }, 500);\n \n return () => clearTimeout(timeout);\n }\n }, [requestParameters.search]);\n \n useEffect(() => {\n if (Number(requestParameters.page) === 1 && customerListInfo.limit !== 0) {\n getCustomerList();\n }\n }, [requestParameters.limit]);\n \n const editUser = (id: number, row: CustomerInterface) => {\n const editRow = {...row, edit: true}\n // @ts-ignore\n setCustomerList([...customerList.map(item => item.id === id ? item = editRow : item)])\n }\n \n const saveEditUser = (id: number) => {\n const editedUser = customerList?.find((item) => item.id === id)\n const requestData = {\n id: id,\n first_name: editedUser?.first_name,\n last_name: editedUser?.last_name,\n email: editedUser?.email,\n phone: editedUser?.phone\n }\n updateAdminUserAxios(requestData).then(res=>{\n getCustomerList()\n })\n }\n \n const removeUser = (id: number) => {\n removeAdminUserAxios({id}).then(res=>{\n getCustomerList()\n setShowDeleteUserModal(false)\n }).catch(err=>{\n console.log(err)\n setShowDeleteUserModal(false)\n setErrorResponse(err.data.error)\n })\n }\n \n const checkDeleteUser = (user: CustomerInterface) =>{\n setShowDeleteUserModal(true)\n setSelectedUser(user)\n }\n \n const customerTableColumns = [\n {\n name: \"\",\n width: \"50px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (\n
    \n {row.photo ? (\n \"\"/\n ) : (\n \"\"/\n )}\n
    \n );\n }\n },\n {\n name: \"Name\",\n minWidth: \"150px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (!row.edit ? (
    \n {row.first_name} {row.last_name}\n
    ) : (
    \n {\n row.first_name = value\n }}/>\n {\n row.last_name = value\n }}/>\n
    )\n \n );\n }\n },\n {\n name: \"Email\",\n minWidth: \"225px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (!row.edit ? (
    {row.email}
    ) : (\n
    {\n row.email = value\n }}/>
    ));\n },\n },\n {\n name: \"Phone\",\n minWidth: \"175px\",\n maxWidth: '300px',\n cell: (row: CustomerInterface): JSX.Element => {\n return (!row.edit ? (
    {row.phone}
    ) : (\n
    {\n row.phone = value\n }}/>
    ));\n },\n },\n {\n name: \"\",\n maxWidth: \"150px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {!row.edit ? (\n <>\n editUser(row.id, row)}\n >\n \n \n checkDeleteUser(row)}\n >\n \n \n \n ) : (\n saveEditUser(row.id)}\n >\n Save\n \n )}\n
    \n );\n },\n },\n ];\n \n return (\n \n
    Admin Users
    \n
    \n
    \n }\n getValue={(value) => setRequestParameters({...requestParameters, search: value})}\n />\n
    \n
    \n \n handleChangeRequestParamtrs(\"sort_type\", value)\n }\n hideSelectorFilter\n />\n
    \n
    \n \n
    \n {customerList !== null ? (\n customerList.length > 0 ? (\n <>\n
    \n \n }\n />\n
    \n \n \n ) : (\n
    Sorry, nothing found
    \n )\n ) : null}\n
    \n \n {errorResponse && (\n setErrorResponse(\"\")}\n closeOutsideClick={true}\n style={{maxWidth: '900px'}}\n >\n
    \n
    Error
    \n
    {errorResponse}
    \n
    \n \n )}\n {\n setSelectedUser(null)\n setShowDeleteUserModal(false)\n }} handleConfirm={() => {\n removeUser(selectedUser!.id)\n }}/>\n
    \n );\n};\n\nexport default AdminUsers;\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgUpload(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 50,\n height: 50,\n viewBox: \"0 0 50 50\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M0 0h50v50H0V0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(255,255,255)\",\n fillRule: \"evenodd\",\n d: \"M25 8.3333435c7.5833435 0 13.8958435 5.39584351 15.3125 12.58334351C45.7291565 21.29168701 50 25.75 50 31.25c0 5.75-4.6666565 10.41668701-10.4166565 10.41668701H12.5c-6.8958435 0-12.5-5.60418701-12.5-12.5 0-6.4375 4.875-11.75 11.1458435-12.41668701C13.75 11.75 18.9791565 8.3333435 25 8.3333435zm4.16668701 27.08334351v-8.3333435h6.25L25.75 17.3958435c-.4166565-.4166565-1.0625-.4166565-1.4791565 0l-9.6875 9.6875h6.25v8.3333435h8.33334351z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgUpload);\nexport default __webpack_public_path__ + \"static/media/upload.df406e51.svg\";\nexport { ForwardRef as ReactComponent };","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div<{\n required?: boolean;\n isLabel?: boolean;\n}>`\n display: flex;\n flex-direction: column;\n position: relative;\n\n & > .label:not(:empty) {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 10px;\n /* &:after {\n content: ${(props) => (props.required ? `\" *\"` : \"none\")};\n color: #eb4d4b;\n } */\n }\n\n & > textarea {\n border-radius: 4px;\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n padding: 13px 16px;\n font-family: \"Circular Std\";\n font-size: 18px;\n font-weight: 300;\n line-height: 20px;\n background: #ffffff;\n min-width: 100%;\n max-width: 100%;\n box-sizing: border-box;\n min-height: 100px;\n height: 120px;\n max-height: 200px;\n\n &::placeholder {\n color: #95989d;\n }\n\n &:disabled {\n padding: 13px 40px 13px 16px;\n /* background: rgba(0, 0, 0, 0.07);\n box-shadow: none; */\n }\n &.password {\n padding-right: 45px;\n }\n &[type=\"number\"]::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n }\n`;\n\nexport { Wrapper };\n","import React, {useEffect, useState} from \"react\";\n\nimport { PropsInterface } from \"./types\";\nimport { Wrapper } from \"./styled\";\n\nconst Textarea = ({\n label,\n placeholder,\n defaultValue,\n required,\n disabled,\n getValue,\n}:PropsInterface) => {\n const [value, setValue] = useState(defaultValue || \"\");\n\n useEffect(() => {\n if (defaultValue && defaultValue !== value) {\n setValue(defaultValue);\n }\n }, [defaultValue]); //eslint-disable-line\n\n const handleChange = (currentValue: string) => {\n setValue(currentValue);\n if (getValue) getValue(currentValue);\n };\n\n return (\n \n {label}\n {\n return handleChange(event.target.value);\n }}\n />\n \n );\n};\n\nexport default Textarea;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.span`\n width: 26px;\n position: relative;\n display: inline-block;\n height: 26px;\n margin-bottom: -10px;\n margin-left: 10px;\n\n .info-tooltip {\n position: absolute;\n top: -2px;\n width: 24px;\n height: 24px;\n margin: auto;\n cursor: pointer;\n transition: 0.3s all ease;\n .tooltip {\n transition: 0.3s all ease;\n visibility: hidden;\n opacity: 0;\n position: absolute;\n bottom: 40px;\n left: -10px;\n width: 250px;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n color: ${Color.white};\n -webkit-text-fill-color: ${Color.white};\n font-size: 12px;\n font-weight: 300;\n letter-spacing: 0;\n line-height: 15px;\n padding: 10px;\n border-radius: 6px;\n z-index: 1;\n &:after {\n content: \"\";\n position: absolute;\n top: 100%;\n left: 20px;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: ${Color.blue} transparent transparent transparent;\n }\n }\n & svg path.circle {\n fill: #000d46;\n opacity: 0.6;\n }\n &:hover {\n svg path.circle {\n fill: ${Color.blue};\n opacity: 1;\n }\n .tooltip {\n visibility: visible;\n opacity: 1;\n z-index: 300;\n }\n }\n\n .tooltip {\n &.hiddeArrow {\n bottom: -25px;\n left: 40px;\n transition: none;\n\n &:after {\n display: none;\n }\n }\n }\n\n & + input {\n padding-right: 35px;\n }\n }\n`;\n\nexport { Wrapper };\n","import React from \"react\";\nimport { ReactComponent as InfoIcon } from \"src/assets/img/info.svg\";\nimport { Wrapper } from \"./styled\";\n\ninterface IProps {\n infoText: string;\n}\n\nconst Info = ({ infoText }: IProps) => {\n return (\n \n \n \n {infoText}\n \n \n );\n};\n\nexport default Info;\n","import styled from \"styled-components\";\n// import { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n margin-bottom: 20px;\n form {\n position: relative;\n padding: 30px;\n\n @media (max-width: 500px) {\n padding: 30px 20px 40px;\n }\n }\n .form-group {\n margin-bottom: 30px;\n .label_block {\n display: inline-flex;\n color: #000d46;\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 10px;\n text-align: left;\n }\n }\n .first-last-name,\n .form-row {\n display: flex;\n .first-name {\n flex: 1;\n margin-right: 15px;\n }\n .last-name {\n flex: 1;\n }\n .form-input {\n flex: 1;\n margin-right: 15px;\n margin-left: 15px;\n @media (max-width: 500px) {\n margin-left: 0px;\n }\n }\n .form-input:first-child {\n margin-left: unset;\n }\n .form-input:last-child {\n margin-right: unset;\n }\n }\n .phone-wrap {\n width: calc(50% - 15px);\n @media (max-width: 600px) {\n width: 100%;\n }\n }\n .сity-сountry-postal {\n display: flex;\n @media (max-width: 1444px) {\n flex-direction: column;\n .form-group {\n width: 100%;\n &.сountry,\n &.postal {\n margin-left: 0;\n }\n }\n }\n .сity {\n flex: 1;\n margin-right: 15px;\n }\n .сountry {\n flex: 1;\n margin-right: 15px;\n margin-left: 15px;\n }\n .postal {\n flex: 1;\n margin-left: 15px;\n }\n }\n\n .form-error-message {\n color: red;\n font-size: 14px;\n font-weight: 300;\n text-align: center;\n margin-bottom: 15px;\n }\n\n .button-wrap {\n text-align: right;\n button {\n width: auto;\n padding: 10px 30px;\n\n @media (max-width: 600px) {\n width: 100%;\n }\n }\n }\n`;\n\nexport { Wrapper };\n","export const businessSizeArray = [\n {\n value: \"2-10\",\n label: \"2-10 employees\",\n },\n {\n value: \"11-50\",\n label: \"11-50 employees\",\n },\n {\n value: \"51-200\",\n label: \"51-200 employees\",\n },\n {\n value: \"201-500\",\n label: \"201-500 employees\",\n },\n {\n value: \"501-1000\",\n label: \"501-1000 employees\",\n },\n {\n value: \"1001+\",\n label: \"1001+ employees\",\n },\n];\n","import React, {useEffect, useState} from \"react\";\n\nimport PhoneInput from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/style.css\";\n\nimport { useActions } from \"src/hooks/useActions\";\nimport { useTypedSelector } from \"src/hooks/useTypedSelector\";\nimport { PersonalDetailsInterface } from \"src/types/auth\";\n\nimport Input from \"src/components/Input\";\nimport Textarea from \"src/components/Textarea\";\nimport InfoTooltip from \"src/components/infoTooltip\";\n\n// import { ReactComponent as LockIcon } from \"src/assets/img/lock.svg\";\n\nimport { Wrapper } from \"./styled\";\nimport Select from \"../../../components/Select\";\nimport * as Const from \"../../Registration/Step/RegistrationPersonalInformation/consts\";\nimport { SelectorListObj } from \"../../../components/Select/types\";\nimport {getCurrencyAxios} from \"../../../api/auth\";\n\nconst EditPersonalDetails: React.FC = () => {\n const { loggedUser } = useTypedSelector((state) => state.auth);\n const { updateProfilePersonalDetails } = useActions();\n\n const [formLoading, setFormLoading] = React.useState(false);\n const [formErrorMessage, setFormErrorMessage] = React.useState(\"\");\n const [currencyList, setCurrencyList] = useState([])\n const [personalDetails, setPersonalDetails] =\n React.useState({\n email: \"\",\n first_name: \"\",\n last_name: \"\",\n phone: \"\",\n address: \"\",\n city: \"\",\n country: \"\",\n code: \"\",\n about_me: \"\",\n vat_number: \"\",\n business_name: \"\",\n business_size: \"\",\n currency: 2,\n });\n\n const [selectedBusinessSize, setSelectedBusinessSize] =\n React.useState();\n\n useEffect(() => {\n getCurrencyAxios().then(res=>{\n res.data.length > 0 ? setCurrencyList(res.data) :\n setCurrencyList([{value: 2, label: '€'}])\n })\n if (!personalDetails.email && loggedUser.user) {\n setPersonalDetails({\n email: loggedUser.user.email,\n first_name: loggedUser.user.first_name,\n last_name: loggedUser.user.last_name,\n phone: loggedUser.user.phone,\n address: loggedUser.user.user_profile?.address,\n city: loggedUser.user.user_profile?.city,\n country: loggedUser.user.user_profile?.country,\n code: loggedUser.user.user_profile?.postalCode,\n about_me: loggedUser.user.user_profile?.about,\n vat_number: loggedUser.user.vat_number,\n business_size: loggedUser.user.business_size,\n business_name: loggedUser.user.business_name,\n currency: loggedUser.user.currency,\n });\n\n setSelectedBusinessSize(() =>\n Const.businessSizeArray.find(\n (element) => loggedUser.user.business_size === element.value\n )\n );\n }\n }, []); //eslint-disable-line\n\n const getValue = (type: string, value: number | string) => {\n if (formErrorMessage) {\n setFormErrorMessage(\"\");\n }\n setPersonalDetails({ ...personalDetails, [type]: value });\n };\n\n const handleUpdateProfile = (event: React.FormEvent) => {\n event.preventDefault();\n setFormLoading(true);\n\n updateProfilePersonalDetails(personalDetails)\n .then(() => {\n setFormLoading(false);\n })\n .catch((error: any) => {\n setFormErrorMessage(\n error?.data?.message\n ? error?.data?.message\n : error?.data?.detail\n ? error?.data?.detail\n : \"Internal Server Error\"\n );\n setFormLoading(false);\n });\n\n // registerPersonalInfo({\n // email: personalInformation.email,\n // first_name: personalInformation.firstName,\n // last_name: personalInformation.lastName,\n // phone: personalInformation.phoneNumber,\n // business_name: personalInformation.businessName,\n // business_size: personalInformation.businessSize,\n // subscription: personalInformation.businessPlan,\n // })\n // .then(() => {\n // setOpenModalCheckEmail(true);\n // setFormLoading(false);\n // })\n // .catch((error) => {\n // setFormErrorMessage(\n // error?.data?.message\n // ? error?.data?.message\n // : error?.data?.detail\n // ? error?.data?.detail\n // : \"Internal Server Error\"\n // );\n // setFormLoading(false);\n // });\n };\n\n return (\n \n \n
    \n
    \n getValue(\"email\", value)}\n />\n
    \n
    \n
    \n getValue(\"first_name\", value)}\n />\n
    \n
    \n getValue(\"last_name\", value)}\n />\n
    \n
    \n
    \n
    \n Phone Number\n {\n // if (event.target.classList.contains(\"form-control\")) {\n // if (event.target.value.length > 6) {\n // event.target.setCustomValidity(\"\");\n // } else {\n // event.target.setCustomValidity(\n // \"Min length is 6 characters\"\n // );\n // }\n // }\n getValue(\"phone\", value);\n }}\n />\n {/* \n \n */}\n
    \n
    \n getValue(\"currency\", value)}\n defaultValue={currencyList.find(currency=> currency.value === personalDetails.currency)}\n hideSelectorFilter\n />\n
    \n
    \n
    \n getValue(\"address\", value)}\n />\n
    \n
    \n
    \n getValue(\"city\", value)}\n />\n
    \n
    \n getValue(\"country\", value)}\n />\n
    \n
    \n getValue(\"code\", value)}\n />\n
    \n
    \n
    \n
    \n getValue(\"vat_number\", value)}\n />\n
    \n
    \n getValue(\"business_name\", value)}\n />\n
    \n
    \n
    \n getValue(\"business_size\", value)}\n defaultValue={selectedBusinessSize}\n hideSelectorFilter\n />\n
    \n
    \n
    \n About Your Company\n \n
    \n getValue(\"about_me\", value)}\n />\n
    \n {formErrorMessage && (\n
    {formErrorMessage}
    \n )}\n
    \n \n
    \n
    \n \n
    \n );\n};\n\nexport default EditPersonalDetails;\n","import styled, { keyframes } from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst uploadKeyFrames = keyframes`\n 0% {\n transform: translateY(8px);\n }\n 50% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(8px);\n }\n`;\n\nconst Wrapper = styled.div`\n .row {\n display: flex;\n flex-wrap: wrap;\n }\n .pages-wrap {\n margin-right: 30px;\n width: calc(75% - 30px);\n }\n\n .short-user-info-wrap {\n width: 25%;\n margin-top: 60px;\n }\n .short-user-info {\n border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 30px;\n box-sizing: border-box;\n position: relative;\n .dropZone {\n display: flex;\n flex-direction: column;\n height: 100%;\n\n &.with-photo {\n & > div {\n .dropZone-content-text {\n opacity: 0;\n transition: 0.5s all ease;\n }\n }\n &:hover {\n & > div {\n .dropZone-content-text {\n opacity: 1;\n }\n }\n }\n }\n\n & > div {\n position: relative;\n height: 100%;\n outline: none;\n cursor: pointer;\n\n &.active_true {\n border-color: ${Color.blueDark};\n box-shadow: 0px 0px 9px 1px rgb(0 0 0 / 35%);\n }\n\n &.active_false {\n min-height: 200px;\n }\n\n input {\n max-width: 100%;\n display: block !important;\n position: absolute;\n bottom: 0;\n right: 0;\n left: 0;\n margin: auto;\n opacity: 0;\n z-index: -1;\n }\n\n .img {\n line-height: 0;\n }\n\n .dropZone-content-text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: rgba(255, 255, 255, 0.85);\n\n border: 1.5px dashed ${Color.blueDark};\n border-radius: 4px;\n outline: none;\n padding: 30px;\n cursor: pointer;\n transition: all 0.225s cubic-bezier(0.77, 0.2, 0.05, 1);\n\n & > svg {\n margin-bottom: 5px;\n animation: ${uploadKeyFrames} 2s cubic-bezier(0.5, 0, 0.5, 1)\n infinite;\n path[fill-rule=\"evenodd\"] {\n fill: ${Color.blueDark};\n }\n }\n\n .text {\n color: ${Color.blueDark};\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n span {\n margin-bottom: 5px;\n }\n .title {\n font-size: 18px;\n font-weight: 300;\n line-height: 23px;\n }\n .description {\n opacity: 0.6;\n font-size: 12px;\n font-weight: 300;\n line-height: 15px;\n }\n .file-name {\n font-size: 21px;\n font-weight: 300;\n line-height: 23px;\n }\n }\n }\n }\n }\n .img {\n img {\n max-width: 100%;\n width: 100%;\n }\n }\n .name {\n color: ${Color.blueDarkText};\n font-size: 20px;\n font-weight: 500;\n line-height: 25px;\n text-align: center;\n margin-top: 20px;\n margin-bottom: 3px;\n }\n .joined {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 22px;\n text-align: center;\n }\n }\n @media (max-width: 1444px) {\n .row {\n flex-direction: column-reverse;\n .short-user-info-wrap {\n width: 325px;\n margin: 0 auto 40px;\n .short-user-info {\n margin-right: 30px;\n }\n }\n .pages-wrap {\n width: 100%;\n }\n }\n }\n @media (max-width: 640px) {\n .first-last-name {\n flex-direction: column;\n .form-group {\n width: 100%;\n }\n .last-name {\n margin-left: 0;\n }\n }\n .phone-wrap {\n width: 100%;\n }\n .pages-wrap {\n .nav-subpages {\n flex-direction: column;\n .nav-subpage {\n width: 100%;\n background: ${Color.white};\n display: flex;\n justify-content: center;\n border-bottom: 1px solid #f7f8fc;\n }\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React, { FC } from \"react\";\nimport { Route, Switch, Link, useLocation } from \"react-router-dom\";\n\nimport { useDropzone } from \"react-dropzone\";\n\nimport { useTypedSelector } from \"src/hooks/useTypedSelector\";\nimport { useActions } from \"src/hooks/useActions\";\n// import { getManageBillingUrlAxios } from \"src/api/userProfile\";\nimport { ReactComponent as UploadIcon } from \"src/assets/img/upload.svg\";\n\nimport EditPersonalDetails from \"./EditPersonalDetails\";\n// import UpdatePlan from \"./UpdatePlan\";\n\nimport { Wrapper } from \"./styled\";\n\nconst UserProfile: FC = () => {\n const location = useLocation();\n const { loggedUser } = useTypedSelector((state) => state.auth);\n const { updateProfilePhoto } = useActions();\n\n const [loadingPhoto, setLoadingPhoto] = React.useState(false);\n // const [loadingRedirectManageBilling, setLoadingRedirectManageBilling] =\n // React.useState(false);\n\n const onDrop = (acceptedFiles: any) => {\n if (acceptedFiles[0]) {\n setLoadingPhoto(true);\n const requestFormData: any = new FormData();\n requestFormData.append(\"file\", acceptedFiles[0]);\n updateProfilePhoto(requestFormData)\n .then(() => {\n setLoadingPhoto(false);\n })\n .catch(() => {\n setLoadingPhoto(false);\n });\n }\n };\n\n const { isDragActive, getRootProps, getInputProps } = useDropzone({\n accept: ['image/jpeg', 'image/jpg', 'image/png'],\n multiple: false,\n onDrop,\n });\n\n // const redirectManageBilling = () => {\n // setLoadingRedirectManageBilling(true);\n // getManageBillingUrlAxios()\n // .then((response) => {\n // setLoadingRedirectManageBilling(false);\n // window.open(response.data.url, \"_blank\");\n // })\n // .catch(() => {\n // setLoadingRedirectManageBilling(false);\n // });\n // };\n\n return (\n \n
    User Profile
    \n
    \n
    \n
    \n \n \n Edit Personal Details\n \n
    \n {/**/}\n {/* */}\n {/*
    */}\n {/* \n Update Plan\n
    */}\n \n
    \n \n \n {/* */}\n \n
    \n \n
    \n
    \n
    \n \n
    \n {\" \"}\n {/*eslint-disable-line*/}\n {\" \"}\n {/*eslint-disable-line*/}\n {loggedUser.user.photo ? (\n
    \n \"\"\n
    \n ) : null}\n
    \n \n \n \n {loggedUser.user.photo\n ? \"Update your photo\"\n : \"Please upload your photo\"}\n \n \n
    \n
    \n
    \n
    \n
    {loggedUser.user.full_name}
    \n
    \n joined in{\" \"}\n {new Date(loggedUser.user.created).toLocaleString(\"en\", {\n month: \"long\",\n })}{\" \"}\n {new Date(loggedUser.user.created).getFullYear()}\n
    \n
    \n \n \n
    \n );\n};\n\nexport default UserProfile;\n","import React, { FC, useRef, useState } from \"react\";\n\nimport { ReactComponent as EditIcon } from \"../../../../assets/img/edit.svg\";\nimport { PointInput, PointWrapper } from \"./styled\";\nimport { updatePointsCountAxios } from \"../../../../api/customers\";\n\ninterface IProp {\n points: string;\n pointId: string;\n userId: string;\n getCustomerList: any;\n getUserPointInfo: any;\n canEdit: boolean;\n minValue: number;\n stamp_activity?: any;\n}\n\nconst EditablePoint: FC = ({\n points,\n minValue,\n pointId,\n canEdit,\n userId,\n getCustomerList,\n getUserPointInfo,\n stamp_activity\n }) => {\n const ref = useRef(null);\n const [point, setPoint] = useState(points ?? \"-\");\n\n const editPoint = () => {\n if (ref.current) {\n ref.current.focus();\n ref.current.readOnly = false;\n }\n };\n\n const changePoints = (e: any) => {\n let value = e.target.value;\n\n if (minValue > e.target.value) {\n value = minValue;\n }\n\n if (+point !== +value) {\n setPoint(value);\n }\n };\n\n const handleBlur = () => {\n if (ref.current) {\n ref.current.readOnly = true;\n if (+points !== +point) {\n updatePointsCountAxios({ activity_id: pointId, points: `${+point}` }).then(r => {\n getCustomerList();\n getUserPointInfo(userId);\n });\n }\n }\n };\n\n return (\n \n \n {\n canEdit && \n }\n \n );\n};\n\nexport default EditablePoint;\n","import React, { FC, useEffect, useState } from \"react\";\nimport { format } from \"date-fns\";\nimport DataTable from \"react-data-table-component\";\n\nimport userDefaultImg from \"src/assets/img/default-user.jpg\";\nimport { CustomerUserInterface } from \"src/types/customer\";\nimport EditablePoint from \"./EditablePoinr\";\nimport { ReactComponent as VisibilityIcon } from \"src/assets/img/visibility.svg\";\nimport { getCustomerInfoAxios } from \"../../../../api/customers\";\n\nimport { WrapperTableList } from \"./styled\";\nimport TransactionInformation from \"../TransactionInformation/TransactionInformation\";\nimport moment from \"moment\";\n\ninterface IProps {\n data: any;\n getCustomerList: any;\n requestParamtrs: any;\n}\n\nfunction vouchersName(vouchers: any[]) {\n return vouchers.reduce((acc: any, voucher: any) => {\n const { reward_name } = voucher;\n acc.push(reward_name);\n return acc;\n }, []).join(\", \") || \"-\";\n}\n\nfunction getRewards(info: CustomerUserInterface, key: string) {\n const { vouchers, stamp_activity, used_vouchers } = info;\n\n if (key === \"earned\") {\n // @ts-ignore\n return vouchers.length ? vouchersName(vouchers) : stamp_activity ? stamp_activity[key] : \"-\";\n } else {\n // @ts-ignore\n return used_vouchers.length ? vouchersName(used_vouchers) : stamp_activity ? stamp_activity[key] : \"-\";\n }\n\n}\n\nconst ExpandableTableList: FC = ({ data, getCustomerList, requestParamtrs }) => {\n const [userInfo, setUserInfo] = useState | null>(null);\n const { photo, first_name, last_name, promotion_type } = data;\n const type = promotion_type === \"Stamp\" ? \"Stamps\" : \"Points\";\n const [showTransactionDetail, setShowTransactionDetail] = useState(false);\n const [customerInformation, setCustomerInformation] = useState({});\n const [customer, setCustomer] = useState({});\n\n const getUserPointInfo = (id: string) => {\n console.log(id, requestParamtrs.search, requestParamtrs.searchType, requestParamtrs.location, moment(requestParamtrs.startDate).format(\"DD-MM-yyyy\"), moment(requestParamtrs.endDate).format(\"DD-MM-yyyy\"))\n getCustomerInfoAxios(id, requestParamtrs.search, requestParamtrs.searchType, requestParamtrs.location, moment(requestParamtrs.startDate).format(\"DD-MM-yyyy\"), moment(requestParamtrs.endDate).format(\"DD-MM-yyyy\")).then((response) => {\n setUserInfo(response.data.activities);\n });\n };\n\n useEffect(() => {\n getUserPointInfo(data.id);\n }, [data.id, requestParamtrs]);\n\n const customerTableColumns = [\n {\n name: \"\",\n width: \"50px\",\n cell: (): JSX.Element => {\n return (\n
    \n {data.photo ? (\n \"\"\n ) : (\n \"\"\n )}\n
    \n );\n }\n },\n {\n name: \"\",\n minWidth: \"150px\",\n cell: (): JSX.Element => {\n return (\n
    \n {first_name} {last_name}\n
    \n );\n }\n },\n {\n name: type,\n center: true,\n cell: ({ min_points, can_edit, points, activity_id, stamp_activity }: CustomerUserInterface): JSX.Element => {\n return ;\n }\n },\n {\n name: `${(type === \"Points\") ? \"Reward\" : type} Earned`,\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {getRewards(row, \"earned\")}
    ;\n }\n },\n {\n name: `${(type === \"Points\") ? \"Reward\" : type} Used`,\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {getRewards(row, \"used\")}
    ;\n }\n },\n {\n name: \"Staff i.d.\",\n omit: type !== \"Stamps\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {row.seller || \"-\"}
    ;\n }\n },\n {\n name: \"Store\",\n omit: type === \"Stamps\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {row.store || \"-\"}
    ;\n }\n },\n {\n name: \"POS.I.D\",\n omit: type === \"Stamps\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {row.pos_id || \"-\"}
    ;\n }\n },\n {\n name: \"POS User .I.D\",\n omit: type === \"Stamps\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {row.pos_user_id || \"-\"}
    ;\n }\n },\n {\n name: \"Receipt No.\",\n omit: type === \"Stamps\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return
    {row.receipt || \"-\"}
    ;\n }\n },\n {\n name: \"Time\",\n minWidth: \"120px\",\n cell: (row: CustomerUserInterface): JSX.Element => {\n return (\n
    \n {row.date\n ? format(new Date(row.date), \"dd/MM/yyyy, HH:mm:ss\")\n : \"-\"}\n
    \n );\n }\n },\n {\n name: \"Basket\",\n maxWidth: \"75px\",\n right: true,\n cell: (row: any, i: number): JSX.Element => {\n return (\n <>\n {row.basket ? (
    \n \n
    ) : null}\n\n \n );\n }\n }\n ];\n\n return (\n \n {!!userInfo &&\n <>\n {\n if(row.basket && row.basket.productsList.length > 0){\n setShowTransactionDetail(true);\n row.basket && setCustomerInformation(row.basket);\n setCustomer(row);\n } else {\n setShowTransactionDetail(false);\n }\n }}\n expandableRows\n expandableRowsHideExpander={true}\n expandableRowExpanded={(row) => (row === customer)}\n onRowExpandToggled={(bool, row) => setCustomer(row)}\n expandOnRowClicked={true}\n expandableRowsComponent={\n \n }\n />\n\n \n }\n \n\n );\n};\n\nexport default ExpandableTableList;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n .top-bar {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: flex-end;\n margin-bottom: 20px;\n &>div{\n margin-bottom: 10px;\n }\n .select {\n margin-bottom: 2px;\n }\n input {\n padding: 10px 32px 10px 14px;\n }\n .isSelect {\n position: relative;\n input {\n padding: 10px 16px 10px 40px;\n }\n svg{\n position: absolute;\n top: 8px;\n left: 8px;\n }\n svg path:not([fill=\"none\"]) {\n fill: #666e90;\n }\n }\n }\n .search-wrap {\n width: 320px;\n max-width: 100%;\n margin-left: 20px;\n &>div{\n padding-bottom: 0;\n }\n }\n .groups-wrap {\n width: 200px;\n max-width: 100%;\n margin-left: 20px;\n ul {\n button {\n text-align: left;\n }\n }\n .calendar-wrapper .react-datepicker-wrapper .react-datepicker__input-container{\n input{\n width: 100%;\n height: auto;\n box-sizing: border-box;\n padding-right: 10px;\n }\n }\n }\n .locations-wrap {\n width: 200px;\n max-width: 100%;\n margin-left: 20px;\n }\n\n .table-wrap {\n position: relative;\n border-radius: 4px;\n overflow: hidden;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n &.loading-blue {\n min-height: 300px;\n }\n }\n .table {\n \n button[data-testid] {\n &:hover:not(:disabled),\n &:focus {\n background: none;\n }\n }\n .rdt_Table {\n }\n .rdt_TableHead {\n border: none;\n .rdt_TableCol {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n .rdt_TableHeadRow{\n min-height: 35px;\n }\n }\n .rdt_TableRow {\n border: none;\n padding:2px 0;\n min-height: 30px;\n &:nth-child(2n + 1) {\n background-color: ${Color.blueLightBackground};\n }\n .photo {\n line-height: 0;\n img {\n height: 30px;\n width: 30px;\n border-radius: 2px;\n object-fit: cover;\n }\n }\n .full-name-wrapp{\n width: 100%;\n &:hover{\n .userDatails{display: block}\n }\n .userDatails{\n display: none;\n border-radius: 5px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 #000000;\n padding: 5px;\n z-index: 999999;\n opacity: 1;\n }\n }\n .rdt_TableCell {\n &:nth-child(n + 2) {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n }\n }\n div:first-child {\n &::-webkit-scrollbar {\n height: 5px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 3px;\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blueLight};\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n }\n }\n }\n\n .paginate-prepage {\n background-color: ${Color.white};\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n align-items: center;\n box-sizing: border-box;\n padding: 25px 30px;\n }\n .paginate {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n .prev-page,\n .next-page {\n height: 32px;\n width: 32px;\n border: 1px solid rgba(47, 54, 64, 0.2);\n border-radius: 3px;\n background-color: ${Color.white};\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 12px;\n &:hover:not([disabled]) {\n box-shadow: rgba(47, 54, 64, 0.25) 0px 0px 10px 0px;\n border: 1px solid ${Color.grey};\n }\n &:disabled {\n opacity: 0.5;\n background: rgba(0, 0, 0, 0.1);\n cursor: initial;\n }\n }\n .text {\n color: ${Color.blueDarkText};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n }\n }\n .perpage {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n .text {\n margin-right: 12px;\n color: ${Color.blueDarkText};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n }\n .select {\n margin-bottom: 0;\n width: 90px;\n & > input,\n & > ul {\n color: ${Color.blueDarkText};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n }\n & > input {\n padding: 8px 30px 7px 10px;\n }\n & > ul {\n & > button {\n padding: 6px 10px;\n }\n }\n }\n }\n\n .nothing-found {\n padding: 50px 15px;\n text-align: center;\n color: ${Color.blueDarkText};\n font-size: 21px;\n font-weight: 300;\n line-height: 20px;\n }\n @media (max-width: 1140px) {\n .top-bar {\n flex-direction: column-reverse;\n align-items: start;\n margin-bottom: 10px;\n\n .locations-wrap,\n .groups-wrap {\n margin: 0 0 10px;\n }\n .search-wrap {\n margin-left: 0;\n }\n }\n }\n @media (max-width: 500px) {\n .table-wrap {\n .paginate-prepage {\n flex-direction: column;\n align-items: start;\n\n .paginate {\n margin-bottom: 10px;\n }\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React, {FC, useEffect, useState} from \"react\";\nimport { format } from \"date-fns\";\n\nimport DataTable from \"react-data-table-component\";\n\nimport { useTypedSelector } from \"src/hooks/useTypedSelector\";\nimport { useActions } from \"src/hooks/useActions\";\nimport Input from \"src/components/Input\";\nimport Select from \"src/components/Select\";\nimport { ReactComponent as SearchIcon } from \"src/assets/img/search.svg\";\nimport { ReactComponent as CalendarIcon } from \"src/assets/img/calendar.svg\";\nimport Pagination from \"../../../components/Pagination\";\nimport userDefaultImg from \"src/assets/img/default-user.jpg\";\nimport ExpandableTableList from \"./EditableTable/ExpandableTableList\";\n\nimport {getCustomerListAxios} from \"src/api/customers\";\nimport {\n CustomerRequestInterface,\n CustomerInterface,\n CustomerInfoInterface\n} from \"src/types/customer\";\n\nimport { Wrapper } from \"./styled\";\nimport moment from \"moment/moment\";\nimport DateRangePicker from \"react-bootstrap-daterangepicker\";\n\nconst arrangeCustomerSelect = [\n { value: \"last_name:asc\", label: \"Sort A-Z\" },\n { value: \"last_name:desc\", label: \"Sort Z-A\" },\n { value: \"id:asc\", label: \"Sort Oldest → Newest\" },\n { value: \"id:desc\", label: \"Sort Newest → Oldest\" },\n { value: \"last_visit:desc\", label: \"Check-ins Most Recent → Oldest\" },\n { value: \"last_visit:asc\", label: \"Check-ins Oldest → Most Recent\" },\n { value: \"check_in_count:desc\", label: \"Sort Check-ins High → Low\" },\n { value: \"check_in_count:asc\", label: \"Sort Check-ins Low → High\" },\n { value: \"total_spend:desc\", label: \"Sort Points High → Low\" },\n { value: \"total_spend:asc\", label: \"Sort Points Low → High\" }\n];\n\nconst UserProfile: FC = () => {\n const {loggedUser} = useTypedSelector((state) => state.auth);\n const [activeChart, setActiveChart] = useState(\"All\");\n const setStartDate = () =>{\n const day = loggedUser.user.created.split(' ')[0].split('-')[1]\n const month = loggedUser.user.created.split(' ')[0].split('-')[0]\n const year = loggedUser.user.created.split(' ')[0].split('-')[2]\n return `${year}-${month}-${day}`\n }\n const [dates, setDatesState] = useState({\n startDate:moment(setStartDate()).format(\"MMM D, YYYY\"),\n endDate: moment(new Date()).format(\"MMM D, YYYY\")\n });\n const [requestParameters, setRequestParameters] =\n React.useState({\n limit: \"10\",\n page: \"1\",\n search: null,\n location: \"\",\n // searchType: \"0\",\n group: \"\",\n sort_type: \"last_name:asc\",\n });\n const [customerListLoading, setCustomerListLoading] =\n React.useState(true);\n const [customerList, setCustomerList] =\n React.useState | null>(null);\n\n const [customerType, setCustomerType] = React.useState(\"\");\n\n const [customerListInfo, setCustomerListInfo] =\n React.useState({\n count_users: 0,\n limit: 0,\n page: 0,\n total_pages_count: 0,\n total_users_count: 0,\n });\n\n const { groups, locations } = useTypedSelector(\n (state) => state.groupsLocations\n );\n\n const { getGroupsLocations } = useActions();\n \n useEffect(() => {\n getGroupsLocations();\n }, []);\n\n const getCustomerList = () => {\n setCustomerListLoading(true);\n getCustomerListAxios({\n ...requestParameters,\n startDate: moment(dates.startDate).format(\"DD-MM-yyyy\"),\n endDate: moment(dates.endDate).format( \"DD-MM-yyyy\"),\n offline: activeChart !== 'All'\n }).then((response) => {\n setCustomerList(response.data.users);\n setCustomerType(\n response.data.users[0]?.promotion_type === \"Stamp\" ? 1 : 0\n );\n setCustomerListInfo({\n count_users: Number(response.data.count_users),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_users_count: Number(response.data.total_users_count),\n });\n\n setCustomerListLoading(false);\n }).catch((err) => {\n console.log(err);\n\n });\n };\n\n const handleChangeRequestParamtrs = (\n name: string,\n value: string | number | Date\n ) => {\n setRequestParameters((prevState: any) => {\n return { ...prevState, [name]: value };\n });\n };\n\n useEffect(() => {\n getCustomerList();\n }, [requestParameters.group, requestParameters.location, requestParameters.page, requestParameters.sort_type, requestParameters.searchType, activeChart, dates]);\n\n useEffect(() => {\n if (requestParameters.search !== null) {\n const timeout = setTimeout(() => {\n getCustomerList();\n }, 500);\n\n return () => clearTimeout(timeout);\n }\n }, [requestParameters.search]);\n\n useEffect(() => {\n if (Number(requestParameters.page) === 1 && customerListInfo.limit !== 0) {\n getCustomerList();\n }\n }, [requestParameters.limit]);\n \n const handleChangeActiveChart = (chartName: any) => {\n setActiveChart(chartName);\n };\n\n const customerSpendTableColumns = [\n {\n name: \"\",\n width: \"50px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (\n
    \n {row.photo ? (\n \"\"\n ) : (\n \"\"\n )}\n
    \n );\n }\n },\n {\n name: \"Name\",\n minWidth: \"150px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (\n
    \n

    {row.first_name} {row.last_name}

    \n

    Email: {row.email}

    Number: {row.phone}

    \n
    \n );\n }\n },\n {\n name: customerType ? \"Live Stamps\" : \"Points\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {customerType ? row.stamp_end_value ?? \"-\" : row.end_value ?? \"-\"}
    ;\n }\n },\n {\n name: \"Spend Balance\",\n omit: !loggedUser.user.allow_spend_card,\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.spend_balance || \"0\"}
    ;\n }\n },\n {\n name: \"Used Spend Balance \",\n omit: !loggedUser.user.allow_spend_card,\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.used_spend_balance || \"0\"}
    ;\n }\n },\n {\n name: customerType ? \"Lifetime stamps\" : \"Lifetime points\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.total_spend ?? \"-\"}
    ;\n }\n },\n {\n name: \"Check in\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.check_in_count ?? \"-\"}
    ;\n }\n },\n {\n name: \"Last visit\",\n minWidth: \"120px\",\n cell: (row: CustomerInterface): JSX.Element => {\n let neeFormat = row.last_visit.replace(\" \", \"T\");\n return (\n
    \n {row.last_visit\n ? format(new Date(neeFormat), \"dd/MM/yyyy, HH:mm:ss\")\n : \"-\"}\n
    \n );\n }\n }\n ];\n \n const setDates = (e: any, { startDate, endDate }: any) => {\n endDate >= moment() && startDate >= moment() ? setDatesState({\n startDate: moment().format(\"MMM D, YYYY\"),\n endDate: moment().format(\"MMM D, YYYY\")\n }) : endDate >= moment() && startDate <= moment() ? setDatesState({\n startDate: startDate.format(\"MMM D, YYYY\"),\n endDate: moment().format(\"MMM D, YYYY\")\n }) : setDatesState({\n startDate: startDate.format(\"MMM D, YYYY\"),\n endDate: endDate.format(\"MMM D, YYYY\")\n });\n };\n \n const ranges = {\n \"Today\": [moment(), moment()],\n \"Last 7 Days\": [moment().subtract(1, \"weeks\"), moment()],\n \"Last 30 Days\": [moment().subtract(1, \"months\"), moment()],\n \"Last Year\": [moment().subtract(1, \"years\"), moment()],\n };\n \n return (\n \n
    Customers
    \n
    \n
    \n }\n getValue={(value) => setRequestParameters({...requestParameters, search: value})}\n />\n
    \n {/*
    */}\n {/* */}\n {/* handleChangeRequestParamtrs(\"searchType\", value)*/}\n {/* }*/}\n {/* hideSelectorFilter*/}\n {/* />*/}\n {/*
    */}\n
    \n 0)}\n positionForShow=\"bottom\"\n required\n isClearable\n getValue={(value) => handleChangeRequestParamtrs(\"group\", value)}\n hideSelectorFilter\n />\n
    \n
    \n \n handleChangeRequestParamtrs(\"sort_type\", value)\n }\n hideSelectorFilter\n />\n
    \n
    \n 0)}\n positionForShow=\"bottom\"\n required\n isClearable\n getValue={(value) => handleChangeRequestParamtrs(\"location\", value)}\n hideSelectorFilter\n />\n
    \n
    \n \n
    \n \n {\n // @ts-ignore\n setDates(e, dates)\n }}\n className=\"form-control\"\n />\n
    \n \n \n
    \n
    \n {loggedUser.user.allow_offline_customers ?
    \n \n handleChangeActiveChart(\"All\")}\n >\n Your Customers\n \n
    \n \n handleChangeActiveChart(\"Offline\")}\n >\n Offline Customers\n \n \n : null}\n \n \n
    \n {customerList !== null ? (\n customerList.length > 0 ? (\n <>\n
    \n \n }\n />\n
    \n \n \n ) : (\n
    Sorry, nothing found
    \n )\n ) : null}\n
    \n \n
    \n );\n};\n\nexport default UserProfile;\n","import styled from \"styled-components\";\n\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n .delete-modal {\n text-align: center;\n padding: 60px 50px;\n .title {\n color: ${Color.blueDarkText};\n font-size: 21px;\n font-weight: 500;\n line-height: 28px;\n text-align: center;\n }\n button {\n margin-top: 20px;\n width: auto;\n padding: 10px 20px;\n }\n }\n .table {\n div:first-child {\n &::-webkit-scrollbar {\n height: 5px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 3px;\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blueLight};\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n }\n }\n }\n @media (max-width: 670px) {\n .top-bar {\n margin-bottom: 10px;\n flex-direction: column;\n align-items: start;\n\n .search-wrap {\n margin: 10px 0 0;\n }\n }\n .table-wrap {\n .paginate-prepage {\n flex-direction: column;\n align-items: start;\n\n .paginate {\n margin-bottom: 10px;\n }\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React, {FC, useEffect, useState} from \"react\";\nimport { Link } from \"react-router-dom\";\nimport DataTable from \"react-data-table-component\";\n\nimport Modal from \"src/components/Modal\";\nimport Input from \"src/components/Input\";\nimport Select from \"src/components/Select\";\nimport { ReactComponent as SearchIcon } from \"src/assets/img/search.svg\";\nimport { ReactComponent as EditIcon } from \"src/assets/img/edit.svg\";\nimport { ReactComponent as DeleteIcon } from \"src/assets/img/delete.svg\";\nimport { ReactComponent as ArrowBackIcon } from \"src/assets/img/arrowBack.svg\";\nimport { ReactComponent as ArrowForwardIcon } from \"src/assets/img/arrowForward.svg\";\n\nimport {\n getCustomerGroupsAxios,\n deleteCustomerGroupAxios, getCustomerListWithFilterGroupsAxios, getCustomerGroupInfoAxios,\n} from \"src/api/customers\";\nimport {\n CustomerGroupsRequestInterface,\n CustomerGroupsInterface,\n CustomerGroupsInfoInterface,\n customerPerPage, CustomerInterface,\n} from \"src/types/customer\";\n\nimport { Wrapper } from \"./styled\";\nimport userDefaultImg from \"../../../assets/img/default-user.jpg\";\n\nconst CustomerGroups: FC = () => {\n const [requestParamtrs, setRequestParamtrs] =\n React.useState({\n limit: \"10\",\n page: \"1\",\n search: null,\n });\n const [customerGroupsLoading, setCustomerGroupsLoading] =\n React.useState(true);\n const [selectedGroup, setSelectedGroup] = useState({})\n const [selectedGroupUsers, setSelectedGroupUsers] = useState([])\n const [customerGroups, setCustomerGroups] =\n React.useState | null>(null);\n const [customerGroupsInfo, setCustomerGroupsInfo] =\n React.useState({\n count_groups: 0,\n limit: 0,\n page: 0,\n total_pages_count: 0,\n total_groups_count: 0,\n });\n\n /* deleteGroupAsk */\n const [deleteCustomerGroupLoading, setDeleteCustomerGroupLoading] =\n React.useState(false);\n const [deleteCustomerGroup, setDeleteCustomerGroup] =\n React.useState(null);\n const deleteGroupAsk = (obj: CustomerGroupsInterface) => {\n setDeleteCustomerGroup(obj);\n };\n const hendeldeleteGroupConfirm = () => {\n if (deleteCustomerGroup) {\n setDeleteCustomerGroupLoading(true);\n deleteCustomerGroupAxios(deleteCustomerGroup.id.toString())\n .then(() => {\n setCustomerGroupsLoading(true);\n getCustomerGroupsAxios({ limit: \"10\", page: \"1\", search: null }).then(\n (response) => {\n setCustomerGroups(response.data.groups);\n setCustomerGroupsInfo({\n count_groups: Number(response.data.count_groups),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_groups_count: Number(response.data.total_groups_count),\n });\n setCustomerGroupsLoading(false);\n }\n );\n setDeleteCustomerGroupLoading(false);\n setDeleteCustomerGroup(null);\n })\n .catch(() => {});\n }\n };\n \n const getCustomerGroupUsers = (id: number) =>{\n getCustomerGroupInfoAxios(`${id}`).then(res=>{\n if(res.data.filters){\n const requestParams = {limit: \"0\",\n page: \"1\",\n search: null, filters: res.data.filters}\n getCustomerListWithFilterGroupsAxios(requestParams).then(res=>{setSelectedGroupUsers(res.data.users ?? [])})\n \n } else {setSelectedGroupUsers(res.data.users ?? [])}\n })\n \n }\n \n const manualChoosedCustomerTableColumns = [\n {\n name: \"\",\n width: \"50px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (\n
    \n {row.photo ? (\n \"\"\n ) : (\n \"\"\n )}\n
    \n );\n },\n },\n {\n name: \"Name\",\n minWidth: \"150px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (\n
    \n {row.first_name} {row.last_name}\n
    \n );\n },\n },\n {\n name: \"Email\",\n minWidth: \"225px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.email}
    ;\n },\n },\n {\n name: \"Phone\",\n minWidth: \"175px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.phone}
    ;\n },\n },\n {\n name: \"Points\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.end_value ?? \"-\"}
    ;\n },\n },\n {\n name: \"Lifetime points\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.total_spend ?? \"-\"}
    ;\n },\n },\n {\n name: \"Check in\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.check_in_count ?? \"-\"}
    ;\n },\n },\n {\n name: \"Last visit\",\n minWidth: \"120px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {new Date(row.last_visit).toLocaleString(\"en-GB\")}
    ;\n },\n },\n ];\n\n const customerGroupsTableColumns = [\n {\n name: \"Name\",\n minWidth: \"150px\",\n cell: (row: CustomerGroupsInterface): JSX.Element => {\n return
    {row.name}
    ;\n },\n },\n {\n name: \"Description\",\n minWidth: \"350px\",\n cell: (row: CustomerGroupsInterface): JSX.Element => {\n return
    {row.description}
    ;\n },\n },\n {\n name: \"Type\",\n minWidth: \"200px\",\n cell: (row: CustomerGroupsInterface): JSX.Element => {\n return
    {row.group_type_title}
    ;\n },\n },\n {\n name: \"\",\n minWidth: \"200px\",\n cell: (row: CustomerGroupsInterface): JSX.Element => {\n return (\n
    \n \n \n \n deleteGroupAsk(row)}\n >\n \n \n
    \n );\n },\n },\n ];\n\n const handleChangeRequestParamtrs = (\n name: string,\n value: string | number\n ) => {\n setRequestParamtrs((prevState: any) => {\n return { ...prevState, [name]: value };\n });\n };\n\n const getCustomerGroups = () => {\n setCustomerGroupsLoading(true);\n getCustomerGroupsAxios(requestParamtrs).then((response) => {\n setCustomerGroups(response.data.groups);\n setCustomerGroupsInfo({\n count_groups: Number(response.data.count_groups),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_groups_count: Number(response.data.total_groups_count),\n });\n setCustomerGroupsLoading(false);\n });\n };\n\n useEffect(() => {\n getCustomerGroups();\n }, [requestParamtrs.page]); // eslint-disable-line\n\n useEffect(() => { // eslint-disable-line\n if (requestParamtrs.search !== null) {\n const timeout = setTimeout(() => {\n getCustomerGroups();\n }, 500);\n\n return () => clearTimeout(timeout);\n }\n }, [requestParamtrs.search]); // eslint-disable-line\n\n useEffect(() => {\n if (Number(requestParamtrs.page) === 1 && customerGroupsInfo.limit !== 0) {\n getCustomerGroups();\n }\n }, [requestParamtrs.limit]); // eslint-disable-line\n\n return (\n \n
    Customer Groups
    \n
    \n \n Create new customer groups\n \n
    \n }\n getValue={(value) => handleChangeRequestParamtrs(\"search\", value)}\n />\n
    \n
    \n\n \n
    \n {customerGroups !== null ? (\n customerGroups.length > 0 ? (\n <>\n
    \n {\n if(row.id !== selectedGroup.id){\n setSelectedGroup(row)\n getCustomerGroupUsers(+row.id)\n } else {\n setSelectedGroup(row)\n }\n \n }}\n expandableRows\n expandableRowsHideExpander={true}\n expandableRowExpanded={(row) => (row === selectedGroup)}\n expandOnRowClicked={true}\n expandableRowsComponent={\n <>\n \n \n }\n />\n
    \n
    \n
    \n \n handleChangeRequestParamtrs(\n \"page\",\n customerGroupsInfo.page - 1\n )\n }\n >\n \n \n \n handleChangeRequestParamtrs(\n \"page\",\n customerGroupsInfo.page + 1\n )\n }\n >\n \n \n
    \n {customerGroupsInfo.page * customerGroupsInfo.limit -\n customerGroupsInfo.limit}\n -\n {customerGroupsInfo.page * customerGroupsInfo.limit -\n customerGroupsInfo.limit +\n customerGroupsInfo.count_groups}{\" \"}\n from {customerGroupsInfo.total_groups_count}\n
    \n
    \n
    \n
    Show on page:
    \n {\n handleChangeRequestParamtrs(\"limit\", value);\n handleChangeRequestParamtrs(\"page\", \"1\");\n }}\n hideSelectorFilter\n />\n
    \n
    \n \n ) : (\n
    Sorry, nothing found
    \n )\n ) : null}\n
    \n \n\n {deleteCustomerGroup && (\n setDeleteCustomerGroup(null)}\n closeOutsideClick\n >\n \n
    \n
    \n Please confirm delete customer group "\n {deleteCustomerGroup.name}"\n
    \n {\n hendeldeleteGroupConfirm();\n }}\n >\n Confirm delete\n \n
    \n \n \n )}\n
    \n );\n};\n\nexport default CustomerGroups;\n","import React from \"react\";\n\ninterface Props {\n checked: boolean;\n toggleChecked: () => void;\n}\n\nconst СheckboxTable = ({ checked, toggleChecked }:Props) => {\n return (\n \n );\n};\n\nexport default СheckboxTable;\n","import styled from \"styled-components\";\n\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n .content {\n position: relative;\n border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 30px;\n box-sizing: border-box;\n form {\n max-width: 700px;\n .form-group {\n margin-bottom: 30px;\n }\n .buttons-wrap {\n border-top: 1px solid rgba(0, 13, 70, 0.1);\n padding-top: 30px;\n box-sizing: border-box;\n display: flex;\n justify-content: flex-end;\n button {\n width: auto;\n margin-right: 20px;\n &:last-child {\n margin-right: 0;\n }\n }\n }\n &.full-width-form {\n max-width: unset;\n }\n }\n\n .manually-choosing-wrap {\n .top {\n display: flex;\n align-items: center;\n margin-bottom: 15px;\n .title {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-right: 30px;\n }\n }\n }\n .all-customers {\n position: relative;\n }\n\n .using-filters-wrap {\n .filter-limit {\n border-radius: 4px;\n background-color: rgba(81, 92, 221, 0.2);\n color: rgba(0, 13, 70, 0.6);\n font-size: 14px;\n font-weight: 300;\n line-height: 20px;\n padding: 15px 20px;\n margin-bottom: 30px;\n }\n .curent-filters-wrap {\n .form-group-filter,\n .col-filter {\n width: calc(100% - 210px);\n }\n .form-group-days,\n .col-days {\n width: 110px;\n margin-right: 30px;\n margin-left: 30px;\n }\n .btn-delete,\n .col-delete {\n width: 40px;\n background: none;\n &:hover {\n svg {\n path[fill-rule=\"evenodd\"] {\n fill: ${Color.blue};\n }\n }\n }\n }\n }\n .curent-filter-titles {\n display: flex;\n align-items: center;\n margin-bottom: 10px;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n }\n .curent-filter {\n display: flex;\n align-items: center;\n margin-bottom: 20px;\n .form-group-filter {\n .select {\n margin-bottom: 0;\n }\n }\n }\n\n .butns-wrap {\n display: flex;\n align-items: center;\n justify-content: space-between;\n .btn-blue-dashed {\n margin-bottom: 30px;\n }\n }\n\n .users-by-filters {\n position: relative;\n }\n }\n }\n .table {\n div:first-child {\n &::-webkit-scrollbar {\n height: 5px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 3px;\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blueLight};\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n }\n }\n }\n @media (max-width: 500px) {\n .content {\n padding: 20px;\n .form-innerwrap {\n .buttons-wrap {\n flex-direction: column;\n button:first-child {\n margin: 0 0 20px 0;\n }\n }\n }\n }\n .paginate-prepage {\n flex-direction: column;\n align-items: start;\n\n .paginate {\n margin-bottom: 10px;\n }\n }\n }\n @media (max-width: 720px) {\n .using-filters-wrap {\n .curent-filters-wrap {\n .curent-filter-titles {\n justify-content: space-between;\n\n .col-filter,\n .col-days {\n width: fit-content;\n margin: 0;\n }\n .col-delete {\n display: none;\n }\n }\n .curent-filter {\n flex-direction: column;\n align-items: start;\n .form-group-days {\n margin: 10px 0;\n }\n .form-group-filter {\n width: 100%;\n }\n &:after {\n content: \"\";\n width: 100%;\n border: 1px solid #f7f8fc;\n margin-top: 10px;\n }\n }\n }\n }\n }\n @media (max-width: 480px) {\n .content {\n .loading-innerwrap {\n .full-width-form {\n .form-innerwrap {\n .using-filters-wrap {\n .curent-filters-wrap {\n .curent-filter {\n .form-group-filter {\n input {\n text-overflow: ellipsis;\n padding-right: 40px;\n }\n .bottom {\n button {\n text-align: inherit;\n }\n }\n }\n }\n .butns-wrap {\n flex-direction: column;\n\n button {\n width: 100%;\n margin-bottom: 10px;\n }\n }\n }\n }\n }\n }\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React, { FC, useEffect } from \"react\";\nimport { useHistory, useParams } from \"react-router-dom\";\nimport DataTable from \"react-data-table-component\";\n\nimport СheckboxTable from \"src/components/СheckboxTable\";\nimport Input from \"src/components/Input\";\nimport Textarea from \"src/components/Textarea\";\nimport { ReactComponent as InfoIcon } from \"src/assets/img/info.svg\";\nimport { Wrapper as WrapperTooltip } from \"src/components/infoTooltip/styled\";\nimport Select from \"src/components/Select\";\nimport {\n getFiltersInfoAxios,\n getCustomerListAxios,\n getCustomerListWithFilterGroupsAxios,\n createCustomerGroupAxios,\n updateCustomerGroupAxios,\n getCustomerGroupInfoAxios,\n} from \"src/api/customers\";\nimport {\n GroupTypeInterface,\n GroupFilterInterface,\n CustomerGroupInterface,\n CustomerInterface,\n CustomerInfoInterface,\n customerPerPage,\n CustomerGroupCreateRequestInterface,\n CustomerGroupChoosedFilterInterface,\n} from \"src/types/customer\";\nimport userDefaultImg from \"src/assets/img/default-user.jpg\";\nimport { ReactComponent as ArrowBackIcon } from \"src/assets/img/arrowBack.svg\";\nimport { ReactComponent as ArrowForwardIcon } from \"src/assets/img/arrowForward.svg\";\nimport { ReactComponent as DeleteIcon } from \"src/assets/img/delete.svg\";\n\nimport { Wrapper } from \"./styled\";\n\ninterface RouteParams {\n id?: string;\n}\n\nconst CustomerGroups: FC = () => {\n const history = useHistory();\n const params = useParams();\n const [pageLoading, setPageLoading] = React.useState(true);\n const [pageEditLoading, setPageEditLoading] = React.useState(true);\n const [pageEdit, setPageEdit] = React.useState(false);\n const [customerGroup, setCustomerGroup] =\n React.useState({\n group_name: \"\",\n group_description: \"\",\n group_type: null,\n });\n const [groupType, setGroupType] = React.useState>(\n []\n );\n const [groupFilter, setGroupFilter] = React.useState<\n Array\n >([]);\n const [groupMaxFilter, setGroupMaxFilter] = React.useState(0);\n\n const getFiltersInfo = () => {\n getFiltersInfoAxios()\n .then((response) => {\n const groupTypeTemp = response.data.group_types.map(\n (item: { id: number; title: string }) => {\n return {\n value: item.id,\n label: item.title,\n };\n }\n );\n const groupFilterTemp = response.data.group_filters.map(\n (item: { id: number; description: string }) => {\n return {\n value: item.id,\n label: item.description,\n };\n }\n );\n setGroupType(groupTypeTemp);\n setGroupFilter(groupFilterTemp);\n setGroupMaxFilter(response.data.filter_max_count);\n setPageLoading(false);\n })\n .catch(() => {});\n };\n const handlesetCustomerGroup = (name: string, value: string) => {\n setCustomerGroup((prevState: any) => {\n return { ...prevState, [name]: value };\n });\n };\n\n /* manual customer list */\n const [manualShowAllCustomer, setManualShowAllCustomer] =\n React.useState(true);\n const [manualCustomerListLoading, setManualCustomerListLoading] =\n React.useState(false);\n const [manualCustomerList, setManualCustomerList] = React.useState<\n CustomerInterface[]\n >([]);\n const [manualCustomerChoosedList, setManualCustomerChoosedList] =\n React.useState([]);\n const [manualCustomerListInfo, setManualCustomerListInfo] =\n React.useState({\n count_users: 0,\n limit: 10,\n page: 1,\n total_pages_count: 0,\n total_users_count: 0,\n // searchType: 0,\n });\n const [manualCustomerAllPageChecked, setManualCustomerAllPageChecked] =\n React.useState(false);\n const checkCheckedManualAllUser = () => {\n return false;\n };\n const toggleManualCheckedAllUser = () => {\n if (manualCustomerAllPageChecked) {\n manualCustomerList.forEach((currentValue) => {\n const index = manualCustomerChoosedList.findIndex(\n (item) => item.id === currentValue.id\n );\n if (index >= 0) {\n setManualCustomerChoosedList((prevState) =>\n prevState.filter((item) => item.id !== currentValue.id)\n );\n }\n });\n } else {\n manualCustomerList.forEach((currentValue) => {\n const index = manualCustomerChoosedList.findIndex(\n (item) => item.id === currentValue.id\n );\n if (index < 0) {\n setManualCustomerChoosedList((prevState) => [\n ...prevState,\n currentValue,\n ]);\n }\n });\n }\n setManualCustomerAllPageChecked(!manualCustomerAllPageChecked);\n };\n const getManualCustomerList = () => {\n setManualCustomerListLoading(true);\n const requestParamtrs = {\n limit: manualCustomerListInfo.limit.toString(),\n page: manualCustomerListInfo.page.toString(),\n startDate: new Date(2022, 0, 1),\n endDate: new Date()\n };\n getCustomerListAxios(requestParamtrs).then((response) => {\n setManualCustomerList(response.data.users);\n setManualCustomerListInfo({\n count_users: Number(response.data.count_users),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_users_count: Number(response.data.total_users_count),\n // searchType: Number(response.data.searchType),\n });\n setManualCustomerListLoading(false);\n });\n };\n const handleManualCustomerPagination = (page: number) => {\n setManualCustomerListLoading(true);\n const requestParamtrs = {\n limit: manualCustomerListInfo.limit.toString(),\n page: page.toString(),\n startDate: new Date(2022, 0, 1),\n endDate: new Date()\n };\n getCustomerListAxios(requestParamtrs).then((response) => {\n setManualCustomerList(response.data.users);\n setManualCustomerListInfo({\n count_users: Number(response.data.count_users),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_users_count: Number(response.data.total_users_count),\n // searchType: Number(response.data.searchType),\n });\n checkCheckedManualAllUser();\n setManualCustomerListLoading(false);\n });\n };\n const handleManualCustomerPerPage = (perPage: string) => {\n setManualCustomerListLoading(true);\n const requestParamtrs = {\n limit: perPage,\n page: manualCustomerListInfo.page.toString(),\n startDate: new Date(2022, 0, 1),\n endDate: new Date()\n };\n getCustomerListAxios(requestParamtrs).then((response) => {\n setManualCustomerList(response.data.users);\n setManualCustomerListInfo({\n count_users: Number(response.data.count_users),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_users_count: Number(response.data.total_users_count),\n // searchType: Number(response.data.searchType),\n });\n checkCheckedManualAllUser();\n setManualCustomerListLoading(false);\n });\n };\n const toggleManualCheckedUser = (user: CustomerInterface) => {\n const index = manualCustomerChoosedList.findIndex(\n (item) => item.id === user.id\n );\n if (index < 0) {\n setManualCustomerChoosedList((prevState) => [...prevState, user]);\n } else {\n setManualCustomerChoosedList((prevState) =>\n prevState.filter((item) => item.id !== user.id)\n );\n setManualCustomerAllPageChecked(false);\n }\n };\n const checkCheckedManualUser = (userId: number) => {\n const index = manualCustomerChoosedList.findIndex(\n (item) => item.id === userId\n );\n return !(index < 0);\n };\n const getGroupTypeLabel = (group_type: string) => {\n const curentGroupType = groupType.find((item) => {\n return item.value.toString() === group_type;\n });\n return curentGroupType?.label ? curentGroupType.label : group_type;\n };\n\n /* manual customer list */\n const [choosedFilterList, setChoosedFilterList] = React.useState<\n CustomerGroupChoosedFilterInterface[]\n >([\n {\n virtualId: 0,\n filter_type_id: \"\",\n value: \"\",\n },\n ]);\n const [choosedFiltercustomerLoading, setChoosedFiltercustomerLoading] =\n React.useState(false);\n const [choosedFilterCustomerList, setChoosedFilterCustomerList] =\n React.useState([]);\n const [choosedFilterCustomerListInfo, setChoosedFilterCustomerListInfo] =\n React.useState({\n count_users: 0,\n limit: 10,\n page: 1,\n total_pages_count: 0,\n total_users_count: 0,\n // searchType: 0,\n });\n const getGroupFilterLabel = (filter_type_id: string | number) => {\n const curentGroupFilter = groupFilter.find((item) => {\n return item.value.toString() === filter_type_id;\n });\n return curentGroupFilter?.label\n ? curentGroupFilter.label\n : filter_type_id.toString();\n };\n const addFilterThisGroup = () => {\n setChoosedFilterList((prevState) => [\n ...prevState,\n {\n virtualId:\n choosedFilterList[choosedFilterList.length - 1].virtualId + 1,\n filter_type_id: \"\",\n value: \"\",\n },\n ]);\n };\n const deleteFilterThisGroup = (virtualId: number) => {\n setChoosedFilterList((prevState) =>\n prevState.filter((item) => item.virtualId !== virtualId)\n );\n };\n const hendleSetFilterIdChoosedFilterList = (\n value: string,\n virtualId: number\n ) => {\n setChoosedFilterList((prevState) =>\n prevState.map((item) =>\n item.virtualId === virtualId ? { ...item, filter_type_id: value } : item\n )\n );\n };\n const hendleSetDaysChoosedFilterList = (value: string, virtualId: number) => {\n setChoosedFilterList((prevState) =>\n prevState.map((item) =>\n item.virtualId === virtualId ? { ...item, value } : item\n )\n );\n };\n const showCustomersByFilters = (filters = null) => {\n setChoosedFiltercustomerLoading(true);\n const requestParamtrs = {\n limit: manualCustomerListInfo.limit.toString(),\n page: manualCustomerListInfo.page.toString(),\n filters: filters ?? choosedFilterList,\n };\n getCustomerListWithFilterGroupsAxios(requestParamtrs).then((response) => {\n setChoosedFilterCustomerList(response.data.users);\n setChoosedFilterCustomerListInfo({\n count_users: Number(response.data.count_users),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_users_count: Number(response.data.total_users_count),\n // searchType: Number(response.data.searchType),\n });\n setChoosedFiltercustomerLoading(false);\n });\n };\n const handleChoosedFilterCustomerPagination = (page: number) => {\n setChoosedFiltercustomerLoading(true);\n const requestParamtrs = {\n limit: manualCustomerListInfo.limit.toString(),\n page: page.toString(),\n filters: choosedFilterList,\n };\n getCustomerListWithFilterGroupsAxios(requestParamtrs).then((response) => {\n setChoosedFilterCustomerList(response.data.users);\n setChoosedFilterCustomerListInfo({\n count_users: Number(response.data.count_users),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_users_count: Number(response.data.total_users_count),\n // searchType: Number(response.data.searchType),\n });\n setChoosedFiltercustomerLoading(false);\n });\n };\n const handleChoosedFilterCustomerPerPage = (perPage: string) => {\n setChoosedFiltercustomerLoading(true);\n const requestParamtrs = {\n limit: perPage,\n page: manualCustomerListInfo.page.toString(),\n filters: choosedFilterList,\n };\n getCustomerListWithFilterGroupsAxios(requestParamtrs).then((response) => {\n setChoosedFilterCustomerList(response.data.users);\n setChoosedFilterCustomerListInfo({\n count_users: Number(response.data.count_users),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_users_count: Number(response.data.total_users_count),\n // searchType: Number(response.data.searchType),\n });\n setChoosedFiltercustomerLoading(false);\n });\n };\n\n /* Get Data For Edit */\n const getDataForEditCustomerGroup = () => {\n if (params?.id) {\n setPageEdit(true);\n getCustomerGroupInfoAxios(params.id).then((response) => {\n setCustomerGroup({\n group_name: response.data.name,\n group_description: response.data.description,\n group_type: response.data.type_id.toString(),\n });\n if (response.data.type_id.toString() === \"1\") {\n setManualCustomerChoosedList(response.data.users);\n setManualShowAllCustomer(false);\n } else if (response.data.type_id.toString() === \"2\") {\n setChoosedFilterList(response.data.filters);\n showCustomersByFilters(response.data.filters);\n }\n setPageEditLoading(false);\n });\n } else {\n setPageEditLoading(false);\n }\n };\n\n /* get Data */\n useEffect(() => {\n getDataForEditCustomerGroup();\n getFiltersInfo();\n getManualCustomerList();\n }, []); // eslint-disable-line\n\n const manualCustomerTableColumns = [\n {\n name: (\n <СheckboxTable\n checked={manualCustomerAllPageChecked}\n toggleChecked={() => toggleManualCheckedAllUser()}\n />\n ),\n minWidth: \"50px\",\n maxWidth: \"50px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (\n \n );\n },\n },\n {\n name: \"\",\n width: \"50px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (\n
    \n {row.photo ? (\n \"\"\n ) : (\n \"\"\n )}\n
    \n );\n },\n },\n {\n name: \"Name\",\n minWidth: \"150px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (\n
    \n {row.first_name} {row.last_name}\n
    \n );\n },\n },\n {\n name: \"Email\",\n minWidth: \"225px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.email}
    ;\n },\n },\n {\n name: \"Phone\",\n minWidth: \"175px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.phone}
    ;\n },\n },\n {\n name: \"Points\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.end_value ?? \"-\"}
    ;\n },\n },\n {\n name: \"Lifetime points\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.total_spend ?? \"-\"}
    ;\n },\n },\n {\n name: \"Check in\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.check_in_count ?? \"-\"}
    ;\n },\n },\n {\n name: \"Last visit\",\n minWidth: \"120px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {new Date(row.last_visit).toLocaleString(\"en-GB\")}
    ;\n },\n },\n ];\n\n const manualChoosedCustomerTableColumns = [\n {\n name: \"\",\n width: \"50px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (\n
    \n {row.photo ? (\n \"\"\n ) : (\n \"\"\n )}\n
    \n );\n },\n },\n {\n name: \"Name\",\n minWidth: \"150px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return (\n
    \n {row.first_name} {row.last_name}\n
    \n );\n },\n },\n {\n name: \"Email\",\n minWidth: \"225px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.email}
    ;\n },\n },\n {\n name: \"Phone\",\n minWidth: \"175px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.phone}
    ;\n },\n },\n {\n name: \"Points\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.end_value ?? \"-\"}
    ;\n },\n },\n {\n name: \"Lifetime points\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.total_spend ?? \"-\"}
    ;\n },\n },\n {\n name: \"Check in\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {row.check_in_count ?? \"-\"}
    ;\n },\n },\n {\n name: \"Last visit\",\n minWidth: \"120px\",\n cell: (row: CustomerInterface): JSX.Element => {\n return
    {new Date(row.last_visit).toLocaleString(\"en-GB\")}
    ;\n },\n },\n ];\n\n /* Form */\n const [customerGroupFormLoading, setCustomerGroupFormLoading] =\n React.useState(false);\n const [customerGroupFormErrorMessage, setCustomerGroupFormErrorMessage] =\n React.useState(\"\");\n const handleCustomerGroupForm = (event: React.FormEvent) => {\n event.preventDefault();\n setCustomerGroupFormLoading(true);\n const requestParamtrst: CustomerGroupCreateRequestInterface = {\n group_name: customerGroup.group_name,\n group_description: customerGroup.group_description,\n group_type: customerGroup.group_type,\n };\n if (customerGroup.group_type === \"1\") {\n requestParamtrst.users = [];\n manualCustomerChoosedList.forEach((currentValue) => {\n requestParamtrst.users?.push(currentValue.id);\n });\n } else if (customerGroup.group_type === \"2\") {\n requestParamtrst.filters = choosedFilterList;\n }\n if (pageEdit) {\n requestParamtrst.id = params.id;\n updateCustomerGroupAxios(requestParamtrst)\n .then(() => {\n history.push(\"/customers/customer-groups\");\n })\n .catch((error) => {\n setCustomerGroupFormLoading(false);\n setCustomerGroupFormErrorMessage(error.data.message);\n });\n } else {\n createCustomerGroupAxios(requestParamtrst)\n .then(() => {\n history.push(\"/customers/customer-groups\");\n })\n .catch((error) => {\n setCustomerGroupFormLoading(false);\n setCustomerGroupFormErrorMessage(error.data.message);\n });\n }\n };\n\n return (\n \n
    \n {pageEdit ? \"Edit\" : \"Create\"} Customer Group\n {!pageEdit ? (\n \n \n \n \n You can create a customer group within your customer base with\n certain criteria to create targeted promotions.\n \n \n \n ) : (\n \"\"\n )}\n
    \n \n
    \n \n
    \n
    \n \n handlesetCustomerGroup(\"group_name\", value)\n }\n />\n
    \n
    \n \n handlesetCustomerGroup(\"group_description\", value)\n }\n />\n
    \n
    \n 0)}\n positionForShow=\"bottom\"\n required\n defaultValue={\n customerGroup?.group_type\n ? {\n value: customerGroup?.group_type?.toString() ?? \" \",\n label: getGroupTypeLabel(\n customerGroup?.group_type?.toString() ?? \" \"\n ),\n }\n : undefined\n }\n getValue={(value) =>\n handlesetCustomerGroup(\"group_type\", value.toString())\n }\n hideSelectorFilter\n />\n
    \n {customerGroup.group_type === \"1\" ? (\n
    \n
    \n
    Customers
    \n \n setManualShowAllCustomer(!manualShowAllCustomer)\n }\n >\n {manualShowAllCustomer\n ? \"Show choosen customers\"\n : \"Show all customers\"}\n \n
    \n
    \n {manualShowAllCustomer ? (\n \n
    \n {manualCustomerList.length > 0 ? (\n <>\n
    \n \n
    \n
    \n
    \n \n handleManualCustomerPagination(\n manualCustomerListInfo.page - 1\n )\n }\n >\n \n \n \n handleManualCustomerPagination(\n manualCustomerListInfo.page + 1\n )\n }\n >\n \n \n
    \n {manualCustomerListInfo.page *\n manualCustomerListInfo.limit -\n manualCustomerListInfo.limit}\n -\n {manualCustomerListInfo.page *\n manualCustomerListInfo.limit -\n manualCustomerListInfo.limit +\n manualCustomerListInfo.count_users}{\" \"}\n from{\" \"}\n {manualCustomerListInfo.total_users_count}\n
    \n
    \n
    \n
    Show on page:
    \n {\n handleManualCustomerPerPage(\n value.toString()\n );\n }}\n hideSelectorFilter\n />\n
    \n
    \n \n ) : (\n
    \n Sorry, nothing found\n
    \n )}\n
    \n
    \n ) : (\n
    \n {manualCustomerChoosedList.length > 0 ? (\n
    \n \n
    \n ) : (\n
    \n Sorry, you need add customers\n
    \n )}\n
    \n )}\n
    \n
    \n ) : customerGroup.group_type === \"2\" ? (\n
    \n
    \n Filter for this group (Limit of {groupMaxFilter}):\n
    \n
    \n
    \n
    Customers that:
    \n
    N:
    \n
    \n
    \n {choosedFilterList.map((item) => (\n
    \n
    \n 0)}\n positionForShow=\"bottom\"\n required\n defaultValue={{\n value: item.filter_type_id.toString(),\n label: getGroupFilterLabel(item.filter_type_id),\n }}\n getValue={(value) =>\n hendleSetFilterIdChoosedFilterList(\n value.toString(),\n item.virtualId\n )\n }\n hideSelectorFilter\n />\n
    \n
    \n \n hendleSetDaysChoosedFilterList(\n value,\n item.virtualId\n )\n }\n />\n
    \n deleteFilterThisGroup(item.virtualId)}\n >\n \n \n
    \n ))}\n
    \n = groupMaxFilter}\n onClick={() => addFilterThisGroup()}\n >\n + Add a Filter\n \n showCustomersByFilters()}\n >\n Show customers by filters\n \n
    \n
    \n \n
    \n {choosedFilterCustomerList.length > 0 ? (\n <>\n
    \n \n
    \n
    \n
    \n \n handleChoosedFilterCustomerPagination(\n choosedFilterCustomerListInfo.page - 1\n )\n }\n >\n \n \n \n handleChoosedFilterCustomerPagination(\n choosedFilterCustomerListInfo.page + 1\n )\n }\n >\n \n \n
    \n {choosedFilterCustomerListInfo.page *\n choosedFilterCustomerListInfo.limit -\n choosedFilterCustomerListInfo.limit}\n -\n {choosedFilterCustomerListInfo.page *\n choosedFilterCustomerListInfo.limit -\n choosedFilterCustomerListInfo.limit +\n choosedFilterCustomerListInfo.count_users}{\" \"}\n from{\" \"}\n {\n choosedFilterCustomerListInfo.total_users_count\n }\n
    \n
    \n
    \n
    Show on page:
    \n {\n handleChoosedFilterCustomerPerPage(\n value.toString()\n );\n }}\n hideSelectorFilter\n />\n
    \n
    \n \n ) : (\n
    \n Sorry, nothing found\n
    \n )}\n
    \n
    \n
    \n ) : null}\n {customerGroupFormErrorMessage ? (\n
    \n {customerGroupFormErrorMessage}\n
    \n ) : null}\n
    \n history.push(\"/customers/customer-groups\")}\n >\n Cancel\n \n \n
    \n
    \n \n \n \n
    \n );\n};\n\nexport default CustomerGroups;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n .calendar-wrapper {\n position: relative;\n & > .label:not(:empty) {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 10px;\n text-align: left;\n }\n .icon-calendar {\n position: absolute;\n left: 13px;\n bottom: 8px;\n }\n .react-datepicker-wrapper {\n .react-datepicker__input-container {\n z-index: 1;\n input {\n width: 326px;\n height: 40px;\n border: 1px solid #e4e4e4;\n border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n cursor: pointer;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n opacity: 0.6;\n padding-left: 50px;\n caret-color: transparent;\n }\n }\n }\n .react-datepicker__tab-loop {\n .react-datepicker {\n border-radius: 4px;\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n border: 1px solid #e4e4e4;\n font-family: \"Circular Std\";\n\n .react-datepicker__header {\n background-color: #f7f8fc;\n\n .react-datepicker__current-month,\n .react-datepicker-time__header {\n color: ${Color.blueDarkText};\n }\n }\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React from \"react\";\nimport DatePicker from \"react-datepicker\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport { ReactComponent as CalendarIcon } from \"src/assets/img/calendar.svg\";\nimport { Wrapper } from \"./styled\";\n\ninterface Props {\n dateFormat?: string;\n selected?: Date;\n onChange?: (value: Date) => void;\n placeholder?: string;\n label?: string;\n timeSelect?: boolean;\n}\n\nconst Calendar: React.FC = ({\n dateFormat,\n selected,\n placeholder,\n label,\n onChange,\n timeSelect = true,\n}) => {\n return (\n \n
    \n {label ?

    {label}

    : null}\n {\n if (onChange) onChange(date);\n }}\n showTimeSelect={timeSelect}\n dateFormat={dateFormat}\n placeholderText={placeholder}\n />\n \n
    \n
    \n );\n};\n\nexport default Calendar;\n","import { CustomerGroupsRequestInterface } from \"src/types/customer\"; // TODO: Make general\nimport {\n CampaignsCreateRequestInterface,\n SingleCampaignsRequestInterface,\n UpdateCampaignsRequestInterface,\n DeleteCampaignInterface,\n} from \"src/types/campaign\";\nimport axios from \"./api\";\n\nexport const getCampaignsAxios = (\n requestParamtrs: CustomerGroupsRequestInterface\n): Promise =>\n axios\n .post(\"/api/getCampaignsList\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const getAdminCampaignsAxios = (\n requestParamtrs: CustomerGroupsRequestInterface\n): Promise =>\n axios\n .post(\"/api/admin/campaign/list\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getSingleAdminCampaignsAxios = (\n requestParamtrs: SingleCampaignsRequestInterface\n): Promise =>\n axios\n .post(\"/api/admin/campaign/get\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const getSingleCampaignsAxios = (\n requestParamtrs: SingleCampaignsRequestInterface\n): Promise =>\n axios\n .post(\"/api/getCampaign\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const createCampaignsAxios = (\n requestParamtrs: CampaignsCreateRequestInterface\n): Promise =>\n axios\n .post(\"/api/createCampaign\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const createAdminCampaignsAxios = (\n requestParamtrs: any\n): Promise =>\n axios\n .post(\"/api/admin/campaign/create\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const updateCampaignsAxios = (\n requestParamtrs: UpdateCampaignsRequestInterface\n): Promise =>\n axios\n .post(\"/api/updateCampaign\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\n export const deleteCampaignsAxios = (requestParams: DeleteCampaignInterface): Promise =>\n axios\n .post(\"/api/removeCampaign\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const deleteAdminCampaignsAxios = (requestParams: DeleteCampaignInterface): Promise =>\n axios\n .post(\"/api/admin/campaign/remove\", requestParams)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n .create-campaign-wrap {\n background-color: ${Color.white};\n padding: 30px;\n\n .alert {\n border-radius: 4px;\n padding: 20px;\n color: rgba(0, 13, 70, 0.6);\n font-size: 14px;\n line-height: 20px;\n background-color: rgba(81, 92, 221, 0.2);\n\n & > p:not(:first-child) {\n margin-top: 20px;\n }\n .upgrade-btn {\n color: #000d46;\n font-weight: bold;\n }\n }\n\n .section-title {\n color: ${Color.blue};\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n font-size: 20px;\n font-weight: 500;\n line-height: 25px;\n margin: 30px 0 24px;\n }\n\n .section-sub-title {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n }\n .mb-12 {\n margin-bottom: 12px;\n }\n .mb-20 {\n margin-bottom: 20px;\n }\n .mb-24 {\n margin-bottom: 24px;\n }\n .input-block {\n max-width: 380px;\n }\n .separate-line {\n width: 100%;\n border-bottom: 1px solid rgba(0, 13, 70, 0.1);\n padding-top: 10px;\n margin-bottom: 29px;\n }\n .message-block {\n max-width: 560px;\n margin-bottom: 8px;\n\n Textarea {\n opacity: 0.6;\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n }\n .select-customers-block {\n max-width: 380px;\n }\n .hint-message {\n color: rgba(0, 13, 70, 0.6);\n font-size: 14px;\n font-weight: 300;\n line-height: 20px;\n margin-bottom: 30px;\n .limit_error {\n color: ${Color.redMedium};\n }\n }\n .button-container {\n display: flex;\n justify-content: space-between;\n\n .button-white {\n background-color: ${Color.white};\n color: ${Color.blue};\n border: 2px solid ${Color.blue};\n border-radius: 4px;\n transition: 0.15s all ease;\n &:hover {\n box-shadow: ${Color.blue} 0px 0px 10px 0px;\n }\n }\n button {\n width: 120px;\n }\n .cancel-btn {\n height: 43px;\n margin-right: 20px;\n }\n }\n .choose-campaing-data__block {\n display: flex;\n align-items: flex-end;\n margin: 0 20px 30px 0;\n\n .label {\n opacity: 0.6;\n color: #000d46;\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n margin-bottom: 8px;\n }\n }\n .checkbox-container {\n margin-bottom: 30px;\n\n .checkbox.white-checkbox {\n margin-bottom: 20px;\n margin-right: 25px;\n .checkbox-input-wrap {\n input {\n & + .checkbox-view {\n background-color: #000e46;\n }\n }\n }\n }\n }\n .image-container {\n display: flex;\n justify-content: center;\n padding-top: 30px;\n\n img {\n width: 300px;\n }\n }\n @media (max-width: 525px) {\n padding: 20px;\n .button-container {\n flex-direction: column;\n .button-white {\n height: 43px;\n }\n div {\n display: flex;\n flex-direction: column;\n }\n button {\n margin-bottom: 10px;\n width: 100%;\n }\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React, { FC, useEffect } from \"react\";\nimport { useHistory, useParams, Link } from \"react-router-dom\";\nimport Input from \"src/components/Input\";\nimport Select from \"src/components/Select\";\nimport Textarea from \"src/components/Textarea\";\nimport Calendar from \"src/components/Calendar\";\nimport InfoTooltip from \"src/components/infoTooltip\";\nimport { getCustomerGroupsAxios } from \"src/api/customers\";\nimport {\n createCampaignsAxios,\n updateCampaignsAxios,\n getSingleCampaignsAxios,\n} from \"src/api/campaigns\";\n\nimport checkEmailImg from \"src/assets/img/check-your-email.svg\";\nimport { Wrapper } from \"./styled\";\n\ninterface RouteParams {\n id?: string;\n}\n\nconst PUSH_MESSAGE_LIMIT = 130;\n\nconst QuickCampaign: FC = () => {\n const params = useParams();\n const requestParamtrs = {\n limit: \"10\",\n page: \"1\",\n search: null,\n };\n const history = useHistory();\n const [campaignName, setCampaignName] = React.useState(\"\");\n const [campaignSentTime, setCampaignSentTime] = React.useState(true);\n const [startDate, setStartDate] = React.useState(new Date());\n const [customerGroupsArray, setCustomerGroupsArray] = React.useState<\n [\n {\n value: string | number;\n label: string;\n }\n ]\n >([\n {\n value: \"\",\n label: \"All Customer\",\n },\n ]);\n const [customerGroup, setCustomerGroup] = React.useState<{\n value: string | number;\n label: string;\n }>({\n value: customerGroupsArray[0].value,\n label: customerGroupsArray[0].label,\n });\n const [inAppNotification, setInAppNotification] =\n React.useState(true);\n const [pushNotification, setPushNotification] = React.useState(true);\n const [emailNotification, setEmailNotification] =\n React.useState(false);\n const [smsNotification, setSmsNotification] = React.useState(false);\n const [typePromotion, setTypePromotion] = React.useState(true);\n const [endDate, setEndDate] = React.useState(new Date());\n const [campaignMessage, setCampaignMessage] = React.useState(\"\");\n const [formLoading, setFormLoading] = React.useState(false);\n const [formErrorMessage, setFormErrorMessage] = React.useState(\"\");\n\n const getDataForEditCampaign = () => {\n if (params?.id) {\n setFormLoading(true);\n getSingleCampaignsAxios({ id: params.id }).then(({ data }) => {\n const timeToSend = new Date(data.campaign.time_to_send);\n const timeToEnd = new Date(data?.campaign?.promotion_ends);\n\n setCampaignName(data.campaign.name);\n if (data.campaign.sendNow === 1) {\n setCampaignSentTime(true);\n } else {\n setCampaignSentTime(false);\n setStartDate(\n new Date(\n timeToSend.getTime() - timeToSend.getTimezoneOffset() * 60000\n )\n );\n }\n if (data.campaign.promotion === 1) {\n setTypePromotion(true);\n setEndDate(\n new Date(\n timeToEnd.getTime() - timeToEnd.getTimezoneOffset() * 60000\n )\n );\n } else {\n setTypePromotion(false);\n }\n setInAppNotification(data.campaign.is_in_app_notification);\n setPushNotification(data.campaign.is_push_notification);\n setEmailNotification(data.campaign.is_email_notification);\n setSmsNotification(data.campaign.is_sms_notification);\n setCampaignMessage(data.campaign.message);\n setFormLoading(false);\n });\n }\n };\n\n const getCustomerGroups = () => {\n getCustomerGroupsAxios(requestParamtrs).then((response) => {\n const arr: any = [\n {\n value: \"\",\n label: \"All Customer\",\n },\n ];\n response.data.groups.map((item: any) =>\n arr.push({\n value: item.id,\n label: item.name,\n })\n );\n setCustomerGroupsArray(arr);\n });\n };\n\n useEffect(() => {\n getDataForEditCampaign();\n getCustomerGroups();\n }, []); //eslint-disable-line\n\n const createRequestParamtrs = {\n name: campaignName,\n customer_group: customerGroup.value,\n send_now: campaignSentTime,\n send_date: new Date(startDate).getTime() / 1000,\n end_date: new Date(endDate).getTime() / 1000,\n message: campaignMessage,\n in_app_notification: inAppNotification,\n push_notification: pushNotification,\n email_notification: emailNotification,\n sms_notification: smsNotification,\n is_promotion: typePromotion,\n };\n\n const updateRequestParamtrs = {\n id: params.id,\n name: campaignName,\n customer_group: customerGroup.value,\n send_now: campaignSentTime,\n send_date: new Date(startDate).getTime() / 1000,\n end_date: new Date(endDate).getTime() / 1000,\n message: campaignMessage,\n in_app_notification: inAppNotification,\n push_notification: pushNotification,\n email_notification: emailNotification,\n sms_notification: smsNotification,\n is_promotion: typePromotion,\n };\n\n const handleCreateCampaign = (event: React.FormEvent) => {\n event.preventDefault();\n setFormLoading(true);\n if (params?.id) {\n updateCampaignsAxios(updateRequestParamtrs)\n .then(() => {\n history.push(\"/campaigns/manage-campaigns\");\n })\n .catch((error) => {\n setFormErrorMessage(error.data.message);\n setFormLoading(false);\n });\n } else {\n createCampaignsAxios(createRequestParamtrs)\n .then(() => {\n history.push(\"/campaigns/manage-campaigns\");\n })\n .catch((error) => {\n setFormErrorMessage(error.data.message);\n setFormLoading(false);\n });\n }\n };\n\n const clearFields = (event: React.FormEvent) => {\n event.preventDefault();\n setCampaignName(\"\");\n setCampaignMessage(\"\");\n setPushNotification(false);\n setEmailNotification(false);\n setSmsNotification(false);\n setTypePromotion(false);\n setCampaignSentTime(true);\n setCustomerGroup({\n value: \"\",\n label: \"All Customer\",\n });\n setStartDate(new Date());\n setEndDate(new Date());\n };\n\n return (\n \n
    Create Campaign
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n

    \n Send a quick message to your customers. You can reach them using\n the Lynked APP, TEXT/SMS or EMAIL. The message can be sent right\n away or scheduled for future dates. You will be able to preview\n the message before sending it.\n

    \n

    \n Please note, it may take several minutes for messages to reach\n all your recipients. For more advanced features, please use our\n Campaign Manager.\n

    \n
    \n \n
    General Information
    \n
    \n Campaign name\n \n
    \n
    \n setCampaignName(value)}\n required\n />\n
    \n
    \n When would you like the campaing sent?\n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {campaignSentTime === false ? (\n
    \n
    \n
    Start date
    \n setStartDate(e >= new Date() ? e : new Date() )}\n dateFormat=\"MMMM d, yyyy h:mm aa\"\n />\n
    \n
    \n ) : null}\n
    \n Who\n \n
    \n
    \n {\n setCustomerGroup({\n value: `${value}`,\n label: `${label}`,\n });\n }}\n required\n hideSelectorFilter\n />\n
    \n
    User Notification:
    \n
    \n \n \n setInAppNotification(!inAppNotification)}\n disabled\n checked\n />\n \n \n
    In app notification
    \n \n \n \n setPushNotification(!pushNotification)}\n />\n \n \n
    Push notification
    \n \n {/**/}\n {/* */}\n {/* setEmailNotification(!emailNotification)}*/}\n {/* />*/}\n {/* */}\n {/* */}\n {/*
    Email notification
    */}\n {/**/}\n {/* \n \n setSmsNotification(!smsNotification)}\n />\n \n \n
    SMS notification
    \n */}\n
    \n
    \n Is it a promotion?\n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n {typePromotion ? (\n
    \n
    \n
    End date
    \n setEndDate(e\n
    \n
    \n ) : null}\n
    \n
    \n Push notification\n {\" \"}\n
    \n
    \n

    \n The message will be sent via push notification in the user\n app.\n

    \n
    \n
    \n {\n setCampaignMessage(value);\n }}\n />\n
    \n
    \n {campaignMessage.length > PUSH_MESSAGE_LIMIT ? (\n

    \n {`You have reached the ${PUSH_MESSAGE_LIMIT} character limit.`}\n

    \n ) : null}\n

    Character Limit (130 characters)

    \n

    \n {`Length: ${campaignMessage.length} of ${PUSH_MESSAGE_LIMIT} (space = 1 character, line break = 2\n characters)`}\n

    \n

    An example of Quick Campaign text:

    \n

    {\"“Hi {firstName} {lastName},\"}

    \n

    \n Heres 10% off your next order! Just show your QR code in store\n to redeem!”\n

    \n
    \n {formErrorMessage && (\n
    {formErrorMessage}
    \n )}\n
    \n
    \n clearFields(event)}\n className=\"button-white\"\n >\n Reset\n \n
    \n history.push(\"/campaigns/manage-campaigns\")}\n className=\"button-white cancel-btn\"\n >\n Cancel\n \n PUSH_MESSAGE_LIMIT}\n type=\"submit\"\n className=\"btn-blue\"\n >\n Next\n \n
    \n
    \n \n
    \n
    \n );\n};\n\nexport default QuickCampaign;\n","export interface CampaignRequestInterface {\n limit: string;\n page: string;\n search: string | null;\n}\n\nexport interface CampaignInfoInterface {\n count_campaigns: number;\n limit: number;\n page: number;\n total_pages_count: number;\n total_campaigns_count: number;\n}\n\nexport interface DeleteCampaignInterface {\n id: number;\n}\n\nexport interface CampaignInterface {\n id: number;\n name: string;\n group_name: string;\n status: string;\n promotion: number;\n created_at: string;\n}export interface AdminCampaignInterface {\n id: number;\n name: string;\n group_name: string;\n status: string;\n created_at: string;\n complete: boolean;\n}\n\nexport interface CampaignsCreateRequestInterface {\n name: string;\n customer_group: number | string;\n send_now: boolean;\n send_date: number;\n end_date: number;\n message: string;\n in_app_notification: boolean;\n push_notification: boolean;\n email_notification: boolean;\n sms_notification: boolean;\n is_promotion: boolean;\n}\n\nexport interface UpdateCampaignsRequestInterface {\n id: string | undefined;\n name: string;\n customer_group: number | string;\n send_now: boolean;\n send_date: number;\n end_date: number;\n message: string;\n in_app_notification: boolean;\n push_notification: boolean;\n email_notification: boolean;\n sms_notification: boolean;\n is_promotion: boolean;\n}\n\nexport interface SingleCampaignsRequestInterface {\n id: string;\n}\n\nexport const campaignsPerPage = [\n {\n value: \"10\",\n label: \"10\",\n },\n {\n value: \"25\",\n label: \"25\",\n },\n {\n value: \"50\",\n label: \"50\",\n },\n {\n value: \"100\",\n label: \"100\",\n },\n];\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n .delete-modal {\n text-align: center;\n padding: 60px 50px;\n .title {\n color: ${Color.blueDarkText};\n font-size: 21px;\n font-weight: 500;\n line-height: 28px;\n text-align: center;\n }\n button {\n margin-top: 20px;\n width: auto;\n padding: 10px 20px;\n }\n }\n .table {\n div:first-child {\n &::-webkit-scrollbar {\n height: 5px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 3px;\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blueLight};\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n }\n }\n }\n @media (max-width: 600px) {\n .top-bar {\n flex-direction: column;\n align-items: start;\n\n .search-wrap {\n margin: 20px 0 0;\n }\n }\n .table-wrap {\n .paginate-prepage {\n flex-direction: column;\n align-items: start;\n\n .paginate {\n margin-bottom: 10px;\n }\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React, { FC, useEffect } from \"react\";\nimport { Link } from \"react-router-dom\";\n\nimport DataTable from \"react-data-table-component\";\n\nimport Input from \"src/components/Input\";\nimport Select from \"src/components/Select\";\nimport { ReactComponent as SearchIcon } from \"src/assets/img/search.svg\";\nimport { ReactComponent as EditIcon } from \"src/assets/img/edit.svg\";\nimport { ReactComponent as DeleteIcon } from \"src/assets/img/delete.svg\";\nimport { ReactComponent as InfoIcon } from \"src/assets/img/info.svg\";\nimport { ReactComponent as ArrowBackIcon } from \"src/assets/img/arrowBack.svg\";\nimport { ReactComponent as ArrowForwardIcon } from \"src/assets/img/arrowForward.svg\";\n\nimport { getCampaignsAxios, deleteCampaignsAxios } from \"src/api/campaigns\";\nimport {\n CampaignRequestInterface,\n CampaignInfoInterface,\n CampaignInterface,\n campaignsPerPage,\n} from \"src/types/campaign\";\n\nimport { Wrapper } from \"./styled\";\nimport Modal from \"src/components/Modal\";\n\nconst ManageCampaigns: FC = () => {\n const [requestParamtrs, setRequestParamtrs] =\n React.useState({\n limit: \"10\",\n page: \"1\",\n search: null,\n });\n const [ManageCampaignsLoading, setManageCampaignsLoading] =\n React.useState(true);\n const [manageCampaigns, setManageCampaigns] =\n React.useState | null>(null);\n // const [\n // customerGroupDelete,\n // setCustomerGroupDelete,\n // ] = React.useState({id: 0});\n const [manageCampaignsInfo, setManageCampaignsInfo] =\n React.useState({\n count_campaigns: 0,\n limit: 0,\n page: 0,\n total_pages_count: 0,\n total_campaigns_count: 0,\n });\n const [deleteCampaign, setDeleteCampaign] = React.useState(false);\n const [deleteCampaignObj, setDeleteCampaignObj] = React.useState(null);\n\n const deleteGroupAsk = (obj: CampaignInterface) => {\n if(obj.status !== 'Sent'){\n deleteCampaignsAxios({ id: obj.id });\n }\n \n\n const timeout = setTimeout(() => {\n setDeleteCampaign(false);\n setDeleteCampaignObj(null);\n getManageCampaigns();\n \n }, 500);\n\n return () => clearTimeout(timeout);\n };\n\n const manageCampaignsTableColumns = [\n {\n name: \"Campaign name\",\n minWidth: \"300px\",\n cell: (row: CampaignInterface): JSX.Element => {\n return
    {row.name}
    ;\n },\n },\n {\n name: \"Applies to\",\n minWidth: \"150px\",\n cell: (row: CampaignInterface): JSX.Element => {\n return
    {row.group_name || \"All customers\"}
    ;\n },\n },\n {\n name: \"Promotion\",\n minWidth: \"90px\",\n cell: (row: CampaignInterface): JSX.Element => {\n return
    {row.promotion < 1 ? \"No\" : \"Yes\"}
    ;\n },\n },\n {\n name: \"Status\",\n minWidth: \"200px\",\n cell: (row: CampaignInterface): JSX.Element => {\n return
    {row.status}
    ;\n },\n },\n {\n name: \"\",\n minWidth: \"200px\",\n cell: (row: CampaignInterface): JSX.Element => {\n return (\n
    \n
    \n \n {row.created_at}\n
    \n \n \n \n {setDeleteCampaignObj(row); setDeleteCampaign(true)}}\n >\n \n \n
    \n );\n },\n },\n ];\n\n const handleChangeRequestParamtrs = (\n name: string,\n value: string | number\n ) => {\n setRequestParamtrs((prevState: any) => {\n return { ...prevState, [name]: value };\n });\n };\n\n const getManageCampaigns = () => {\n setManageCampaignsLoading(true);\n getCampaignsAxios(requestParamtrs).then((response) => {\n setManageCampaigns(response.data.campaigns);\n setManageCampaignsInfo({\n count_campaigns: Number(response.data.count_campaigns),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_campaigns_count: Number(response.data.total_campaigns_count),\n });\n setManageCampaignsLoading(false);\n });\n };\n\n useEffect(() => {\n getManageCampaigns();\n }, [requestParamtrs.page]); // eslint-disable-line\n\n useEffect(() => {\n // eslint-disable-line\n if (requestParamtrs.search !== null) {\n const timeout = setTimeout(() => {\n getManageCampaigns();\n }, 500);\n\n return () => clearTimeout(timeout);\n }\n }, [requestParamtrs.search]); // eslint-disable-line\n\n useEffect(() => {\n if (Number(requestParamtrs.page) === 1 && manageCampaignsInfo.limit !== 0) {\n getManageCampaigns();\n }\n }, [requestParamtrs.limit]); // eslint-disable-line\n\n return (\n \n
    Campaigns
    \n
    \n \n Create new campaign\n \n
    \n }\n getValue={(value) => handleChangeRequestParamtrs(\"search\", value)}\n />\n
    \n
    \n\n \n
    \n {manageCampaigns !== null ? (\n manageCampaigns.length > 0 ? (\n <>\n
    \n \n
    \n
    \n
    \n \n handleChangeRequestParamtrs(\n \"page\",\n manageCampaignsInfo.page - 1\n )\n }\n >\n \n \n \n handleChangeRequestParamtrs(\n \"page\",\n manageCampaignsInfo.page + 1\n )\n }\n >\n \n \n
    \n {manageCampaignsInfo.page * manageCampaignsInfo.limit -\n manageCampaignsInfo.limit}\n -\n {manageCampaignsInfo.page * manageCampaignsInfo.limit -\n manageCampaignsInfo.limit +\n manageCampaignsInfo.count_campaigns}{\" \"}\n from {manageCampaignsInfo.total_campaigns_count}\n
    \n
    \n
    \n
    Show on page:
    \n {\n handleChangeRequestParamtrs(\"limit\", value);\n handleChangeRequestParamtrs(\"page\", \"1\");\n }}\n hideSelectorFilter\n />\n
    \n
    \n \n ) : (\n
    Sorry, nothing found
    \n )\n ) : null}\n
    \n \n {deleteCampaign && (\n setDeleteCampaign(false)}\n closeOutsideClick\n >\n \n
    \n {/*
    */}\n {deleteCampaignObj.status !== 'Sent' ? (
    Are you sure you want to delete the campaign "\n {deleteCampaignObj.name}"?
    ) : (
    You can not delete the campaing
    \n)}\n \n {/*
    */}\n {\n deleteGroupAsk(deleteCampaignObj);\n }}\n >\n {deleteCampaignObj.status !== 'Sent' ? 'Confirm delete' : 'Confirm'}\n \n \n
    \n \n \n )}\n
    \n );\n};\n\nexport default ManageCampaigns;\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgNotification(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 18.334,\n height: 20,\n viewBox: \"0 0 18.334 20\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(188,188,188)\",\n fillRule: \"evenodd\",\n d: \"M8.33380137 20c1.50924684 0 2.77175902-1.07589723 3.06167602-2.5H5.27212536c.29006957 1.42410277 1.5525818 2.5 3.06167601 2.5z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(188,188,188)\",\n fillRule: \"evenodd\",\n d: \"M14.17715465 9.99923707c-.00335695 0-.00671386.00076293-.01007082.00076293-3.2157898 0-5.83328246-2.61672973-5.83328246-5.83328246 0-.88424684.20339965-1.72012332.55755617-2.47177125-.18341066-.01739504-.36926273-.02822875-.55755617-.02822875-3.22158812 0-5.83328246 2.61154176-5.83328246 5.83328246v2.3233032c0 1.64916992-.72250367 3.2058716-1.99005129 4.27749637-.42251586.36087035-.61004637.93582152-.45837402 1.49673461.1766968.65246582.82168582 1.06918336 1.49841308 1.06918336h13.5624695c.70999144 0 1.37924195-.4600525 1.52328492-1.15585328.11169433-.53833008-.07995606-1.07589723-.49743653-1.42669676-1.21170046-1.01577762-1.91253664-2.50839234-1.96166992-4.08493043z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"rgb(81,92,221)\",\n fillRule: \"evenodd\",\n d: \"M18.33380137 4.16671754c0 2.30117797-1.86538695 4.16656492-4.16671754 4.16656492-2.30117797 0-4.16656492-1.86538695-4.16656492-4.16656492C10.00051891 1.86553954 11.86590586 0 14.16708383 0c2.30133059 0 4.16671754 1.86553953 4.16671754 4.16671754z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgNotification);\nexport default __webpack_public_path__ + \"static/media/notification.d3dbcf69.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgCardArrow(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 17,\n viewBox: \"0 0 16 17\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.5867 10.6933L8 8.10664L5.41334 10.6933C5.15334 10.9533 4.73334 10.9533 4.47334 10.6933C4.21334 10.4333 4.21334 10.0133 4.47334 9.75331L7.53334 6.69331C7.79334 6.43331 8.21334 6.43331 8.47334 6.69331L11.5333 9.75331C11.7933 10.0133 11.7933 10.4333 11.5333 10.6933C11.2733 10.9466 10.8467 10.9533 10.5867 10.6933V10.6933Z\",\n fill: \"white\"\n })));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgCardArrow);\nexport default __webpack_public_path__ + \"static/media/cardArrow.f57ad912.svg\";\nexport { ForwardRef as ReactComponent };","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n overflow: hidden;\n max-width: 335px;\n border-radius: 15px;\n background-color: ${Color.white};\n box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);\n padding: 25px;\n padding-bottom: 0;\n box-sizing: border-box;\n .top {\n display: flex;\n align-items: flex-start;\n margin-bottom: 15px;\n .logo {\n line-height: 0;\n margin-right: 15px;\n img {\n object-fit: cover;\n height: 60px;\n width: 60px;\n border-radius: 100%;\n }\n }\n .right {\n width: calc(100% - 75px);\n }\n .name-notificationCount {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 4px;\n .name {\n font-family: \"Averta Std ExtraBold\";\n font-size: 16px;\n line-height: 19px;\n color: #2f3640;\n }\n .notification-count {\n display: flex;\n align-items: center;\n .reward_level {\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid ${Color.blue};\n border-radius: 50%;\n width: 18px;\n height: 18px;\n background-color: ${Color.white};\n padding-top: 1px;\n box-sizing: border-box;\n color: ${Color.blue};\n font-size: 12px;\n font-weight: 300;\n }\n @media (max-width: 400px) {\n flex-wrap: wrap;\n .notification {\n flex-basis: 100%;\n }\n .count {\n flex-basis: 100%;\n }\n }\n }\n }\n .info {\n font-family: \"Averta Std Semibold\";\n .title {\n color: #bcbcbc;\n font-size: 12px;\n font-weight: 500;\n line-height: 14px;\n margin-right: 3px;\n }\n .content {\n color: ${Color.grey};\n font-size: 12px;\n font-weight: 500;\n line-height: 14px;\n }\n }\n }\n .promotion-count {\n display: flex;\n align-items: center;\n gap: 10px;\n flex-wrap: wrap;\n .promotion-item {\n width: 49px;\n height: 40px;\n img {\n width: 100%;\n height: 100%;\n }\n .promotion-item-icon {\n margin: auto;\n width: max-content;\n }\n .promotion-item-icon-number {\n font-family: \"Averta Std ExtraBold\";\n color: #ffffff;\n position: absolute;\n top: -1px;\n left: -3px;\n font-size: 9px;\n width: -webkit-fill-available;\n height: -webkit-fill-available;\n text-align: center;\n line-height: 49px;\n }\n }\n .promotion_done {\n width: 49px;\n height: 40px;\n img {\n width: 100%;\n height: 100%;\n }\n }\n .points-progress-line {\n width: 100%;\n display: flex;\n .progress-line {\n width: calc(100% - 85px);\n margin-right: 10px;\n border-radius: 4px;\n color: ${Color.white};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n padding: 8px 15px;\n /* &.full { */\n background: #5771e1;\n /* } */\n /* &.empty {\n background-color: #dcdef7;\n color: ${Color.blueDarkText};\n } */\n }\n .progress-done {\n position: relative;\n line-height: 0;\n width: 75px;\n .text {\n position: absolute;\n top: 7px;\n left: 5px;\n color: ${Color.white};\n font-size: 10px;\n font-weight: 300;\n line-height: 11px;\n width: 45px;\n word-wrap: break-word;\n }\n .dark-text {\n color: ${Color.blueDarkText};\n }\n }\n }\n }\n &.full {\n .promotion-count {\n .promotion-item {\n svg {\n g {\n opacity: 1;\n }\n path {\n fill: ${Color.blue};\n }\n }\n }\n }\n }\n .progress_wrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding-top: 8px;\n }\n .progress_line_wrapper {\n flex-grow: 1;\n }\n .progress_reward {\n display: flex;\n width: 70px;\n height: 32px;\n margin-left: 20px;\n text-transform: uppercase;\n color: ${Color.white};\n border-radius: 4px;\n overflow: hidden;\n .progress_reward_off {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n background-color: ${Color.orange};\n width: 16px;\n font-size: 6px;\n writing-mode: vertical-rl;\n }\n .progress_reward_one {\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n font-size: 9px;\n font-weight: 500;\n padding: 4px;\n }\n }\n .progress_count {\n font-size: 12px;\n font-weight: 500;\n line-height: 12px;\n margin-bottom: 10px;\n color: ${Color.greyMedium};\n }\n .progress_indicator {\n width: 100%;\n appearance: none;\n border-radius: 4px;\n &::-webkit-progress-value {\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n border-radius: 4px;\n height: 12px;\n }\n &::-webkit-progress-bar {\n background-color: rgba(81, 92, 221, 0.2);\n border-radius: 4px;\n height: 12px;\n }\n }\n //\n .card-bottom-control-button {\n position: absolute;\n width: 26px;\n height: 26px;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n border: 3px solid white;\n top: 0px;\n left: calc(50% - 13px);\n padding: 0;\n }\n .bottom-top {\n position: absolute;\n top: 0;\n width: 100%;\n height: 15px;\n border-radius: 0px 0px 15px 15px;\n background-color: white;\n }\n .card-closed {\n margin-bottom: 0;\n max-height: 1px;\n overflow: hidden;\n transition: max-height 0.5s ease-in, margin-bottom 0.3s ease-out;\n }\n .card-opened {\n margin-bottom: 24px;\n max-height: 150px;\n transition: max-height 0.5s ease-in, margin-bottom 0.2s ease-out;\n }\n .card-bottom-control-button:hover {\n transition: transform 0.8s ease-in-out;\n background: #ec9345;\n }\n .card-button-closed {\n .card-bottom-control-button {\n transition: transform 0.8s ease-in-out;\n transform: rotate(180deg);\n }\n }\n .card-button-opened {\n .card-bottom-control-button {\n transform: rotate(360deg);\n }\n }\n //\n .card-bottom {\n height: 45px;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n margin-left: -25px;\n margin-right: -25px;\n position: relative;\n .card-bottom-control-button {\n position: absolute;\n width: 26px;\n height: 26px;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n border: 3px solid white;\n top: 0px;\n left: calc(50% - 13px);\n padding: 0;\n }\n .bottom-top {\n position: absolute;\n top: 0;\n width: 100%;\n height: 15px;\n border-radius: 0px 0px 15px 15px;\n background-color: white;\n }\n .card-closed {\n margin-bottom: 0;\n max-height: 1px;\n overflow: hidden;\n transition: max-height 0.5s ease-in, margin-bottom 0.3s ease-out;\n }\n .card-opened {\n margin-bottom: 24px;\n max-height: 150px;\n transition: max-height 0.5s ease-in, margin-bottom 0.2s ease-out;\n }\n .card-bottom-control-button:hover {\n transition: transform 0.8s ease-in-out;\n background: #ec9345;\n }\n .card-button-closed {\n .card-bottom-control-button {\n transition: transform 0.8s ease-in-out;\n transform: rotate(180deg);\n }\n }\n .card-button-opened {\n .card-bottom-control-button {\n transform: rotate(360deg);\n }\n }\n // &::after {\n // position: absolute;\n // display: block;\n // content: \"\";\n // border-radius: 50%;\n // width: 35px;\n // height: 35px;\n // top: -35px;\n // left: 0;\n // box-shadow: -15px 15px 0 blue;\n // }\n // &::before {\n // position: absolute;\n // display: block;\n // content: \"\";\n // border-radius: 50%;\n // width: 35px;\n // height: 35px;\n // top: -35px;\n // right: 0;\n // box-shadow: 15px 15px 0 blue;\n // }\n }\n`;\n\nexport { Wrapper };\n","import React from \"react\";\n\nimport userDefaultImg from \"src/assets/img/default-user.jpg\";\nimport { ReactComponent as NotificationIcon } from \"../../assets/img/notification.svg\";\nimport { ReactComponent as Arrow } from \"../../assets/img/cardArrow.svg\";\n\nimport { AccountInformationInterface } from \"../../types/registration\";\n\nimport { Wrapper } from \"./styled\";\nimport {useTypedSelector} from \"../../hooks/useTypedSelector\";\n\ninterface ICard {\n acceptedFiles: File[] | string;\n accountInformation: AccountInformationInterface;\n cardClosed: boolean;\n setCardClosed: (cardClosed: boolean) => any;\n points_info?: {\n points?: string | number;\n maxPoints?: string | number;\n reward?: string;\n }\n}\n\nconst Card = ({\n acceptedFiles,\n accountInformation,\n cardClosed,\n setCardClosed,\n points_info,\n}: ICard) => {\n const { loggedUser } = useTypedSelector((state) => state.auth);\n return (\n \n
    \n
    \n {acceptedFiles.length ? (\n \n ) : (\n \"\"\n )}\n
    \n
    \n
    \n
    \n {accountInformation.companyName\n ? accountInformation.companyName\n : \"Company Name\"}\n
    \n
    \n {accountInformation.promotionType === 1 ? (\n
    \n \n
    \n ) : (\n
    1
    \n )}\n
    \n
    \n
    \n \n Digital Loyalty Program\n \n \n {accountInformation.promotionType === 1\n ? \"Stamps\"\n : \"Points\"}\n \n
    \n
    \n Details:\n \n {accountInformation.rewardInformation ?? \"\"}\n \n
    \n
    \n
    \n
    \n {accountInformation.promotionType === 2 ? (\n
    \n
    \n

    \n {`${points_info?.points ?? \"\"} points out of ${\n points_info?.maxPoints ?? \"\"\n }`}\n

    \n \n
    \n
    \n

    {loggedUser?.user?.currency_symbol || '€'}10 OFF

    \n

    Reward One

    \n
    \n
    \n ) : accountInformation.stampName ? (\n
    \n {accountInformation.promotionType === 1 ? (\n <>\n {Array.from(\n { length: accountInformation.maxNumberPromotion },\n (_, i) => (\n
    \n 2 ? \"grey\" : \"gradient\"}.svg`}\n alt={accountInformation.stampName}\n />\n
    \n )\n )}\n
    \n \n
    \n \n ) : null}\n
    \n ) : null}\n
    \n \n
    \n
    \n {\n setCardClosed(!cardClosed);\n }}\n type=\"button\"\n className=\"card-bottom-control-button\"\n >\n \n \n
    \n
    \n
    \n );\n};\n\nexport default Card;\n","import { Color } from \"src/types/color\";\nimport styled from \"styled-components\";\n\nconst Wrapper = styled.label`\n position: relative;\n display: flex;\n align-items: center;\n width: fit-content;\n min-height: 18px;\n text-align: left;\n font-size: 16px;\n color: ${Color.blueDarkText};\n cursor: pointer;\n padding-left: 20px;\n margin: 5px 0px;\n user-select: none;\n\n .check_input {\n appearance: none;\n -webkit-appearance: none;\n width: 0;\n height: 0;\n opacity: 0;\n }\n .check_box {\n position: absolute;\n width: 16px;\n height: 16px;\n /* top: 4px; */\n border-radius: 4px;\n margin-left: -20px;\n background-position: center;\n background-size: 120%;\n background-repeat: no-repeat;\n transition: background-color 0.2s ease-out;\n }\n .label_checkbox {\n margin-left: 8px;\n }\n .check_box_darkBlue {\n border: 2px solid ${Color.blueDarkText};\n }\n\n @media (max-width: 768px) {\n font-size: 14px;\n .check_box {\n top: 1px;\n }\n }\n`;\n\nexport { Wrapper };\n","import React from \"react\";\n\nimport { Wrapper } from \"./style\";\n\ninterface ICheckbox {\n id?: string;\n label?: string | React.ReactNode;\n isChecked?: boolean;\n isDisabled?: boolean;\n onChange?: (isChecked: boolean) => void;\n theme?: \"darkBlue\";\n}\n\nconst Checkbox: React.FC = ({\n id,\n label = \"\",\n isChecked,\n isDisabled = false,\n theme = \"darkBlue\",\n onChange,\n}) => {\n const themeCN = {\n darkBlue: \"check_box_darkBlue\",\n }[theme];\n\n const handleCheck = (event: React.ChangeEvent) => {\n if (onChange) {\n onChange(event.target.checked);\n }\n };\n\n return (\n \n \n \n

    {label}

    \n
    \n );\n};\n\nexport default Checkbox;\n","export class RequestFormData extends FormData {\n appendArray = (key: string, data: any) => {\n if (this.isIterable(data)) {\n Object.keys(data).forEach((index: string) => {\n this.appendArray(`${key}[${index}]`, data[index]);\n });\n } else {\n this.append(key, data);\n }\n };\n\n isIterable = (obj: any) => {\n if (obj == null) {\n return false;\n }\n return typeof obj === \"object\";\n };\n}\n","import {\n RequestParamtrsInterface,\n SearchLocationUserInterface,\n NewUserToLocationInterface,\n EditLocationStaffInterface,\n} from \"src/types/place\";\nimport axios from \"./api\";\nimport { RequestFormData } from \"../utils/requestFormData\";\n\nexport const getPlaceInfoAxios = (): Promise =>\n axios\n .get(\"/api/getPlace\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const updatePlacePhotoAxios = (\n requestFormData: any //eslint-disable-line\n): Promise =>\n axios\n .post(\"/api/updatePlacePhoto\", requestFormData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const updateBusinessInfoAxios = (\n requestParameters: RequestParamtrsInterface\n): Promise => {\n const formData = new RequestFormData();\n\n formData.append(\"business_category\", requestParameters.business_category);\n formData.append(\"business_name\", requestParameters.business_name);\n formData.append(\"businessType\", requestParameters.businessType);\n formData.append(\"description\", requestParameters.description);\n formData.append(\"max_count\", requestParameters.max_count.toString());\n formData.append(\"promotion_label\", requestParameters.promotion_label ?? \"\");\n formData.append(\"promotion_name\", requestParameters.promotion_name ?? \"\");\n formData.append(\"bonusRewardTarget\", requestParameters.bonusRewardTarget ? requestParameters.bonusRewardTarget.toString() : '');\n formData.append(\"bonusRewardValue\", requestParameters.bonusRewardTarget ? requestParameters.bonusRewardValue.toString() : '');\n formData.append(\"bonusRewardLabel\", requestParameters.bonusRewardTarget ? requestParameters.bonusRewardLabel : \"\");\n formData.append(\"bonusRewardExpireDays\", requestParameters.bonusRewardExpireDays ? requestParameters.bonusRewardExpireDays : \"\");\n formData.append(\n \"promotion_type\",\n requestParameters.promotion_type.toString()\n );\n formData.append(\"website_url\", requestParameters.website_url ?? \"\");\n formData.append(\"defaultVoucherName\", requestParameters.defaultVoucherName ?? \"\");\n formData.append(\"instagram_url\", requestParameters.instagram_url ?? \"\");\n formData.append(\"facebook_url\", requestParameters.facebook_url ?? \"\");\n formData.appendArray(\"points\", requestParameters.points);\n formData.append(\"first_checkIn\", requestParameters.first_checkIn ?? \"\");\n formData.append(\"promotionPointsSelectedTypeValue\", requestParameters.promotionPointsSelectedTypeValue ?? \"\");\n formData.append(\"promotionPointsEndDate\", requestParameters.promotionPointsEndDate ?? \"\");\n formData.append(\"promotionPointsStartDate\", requestParameters.promotionPointsStartDate ?? \"\");\n formData.append(\"promotionPointsType\", requestParameters.promotionPointsType ?? \"\");\n formData.append(\"promotionPointsValue\", requestParameters.promotionPointsValue ?? \"\");\n return axios\n .post(\"/api/updatePlace\", formData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n};\n\nexport const addLocationAxios = (\n requestFormData: any //eslint-disable-line\n): Promise =>\n axios\n .post(\"/api/addNewLocationToPlace\", requestFormData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const updateLocationAxios = (\n requestFormData: any //eslint-disable-line\n): Promise =>\n axios\n .post(\"/api/updateLocation\", requestFormData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const removeLocationAxios = (id: number): Promise =>\n axios\n .post(\"/api/removeLocation\", { location_id: id })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const searchUserLocationAxios = (\n requestParamtrs: SearchLocationUserInterface\n): Promise =>\n axios\n .post(\"/api/sellerListSearch\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const addUserToLocationAxios = (\n requestParamtrs: NewUserToLocationInterface\n): Promise =>\n axios\n .post(\"/api/addUserToLocation\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const updateLocationStaffAxios = (\n requestParamtrs: EditLocationStaffInterface\n): Promise =>\n axios\n .post(\"/api/updateSellerInfo\", requestParamtrs)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const removeLocationStaffAxios = (id: number): Promise =>\n axios\n .post(\"/api/removeStaff\", { id })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getPlaceInfoByHashAxios = (hash: string): Promise =>\n axios\n .post(\"/public/getPlaceByHash\", { hash })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const confirmPlaceInfoByHashAxios = (hash: string): Promise =>\n axios\n .post(\"/public/confirmPlaceByHash\", { hash })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const declinePlaceInfoByHashAxios = (hash: string): Promise =>\n axios\n .post(\"/public/declinePlaceByHash\", { hash })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n","import { AccountInformationInterface } from \"../../../../types/registration\";\nimport axios from \"../../../../api/api\";\nimport { RequestFormData } from \"../../../../utils/requestFormData\";\n\nexport const registerYourCompany = (\n data: AccountInformationInterface,\n accountInformationToken: string,\n acceptedFiles: File[]\n): Promise => {\n const formData = new RequestFormData();\n\n formData.append(\"details\", data.rewardInformation);\n formData.append(\"name\", data.companyName);\n formData.append(\"first_checkIn\", data.first_checkIn.toString() ?? '0');\n formData.append(\"number_promotions\", data.maxNumberPromotion.toString());\n formData.append(\"business_type\", data.businessType.toString());\n formData.append(\"promotion_type\", data.promotionType.toString());\n formData.append(\"stamp_icon\", data.stampIcon.toString());\n formData.append(\"promotion_label\", data.promotionLabel);\n formData.append(\"image\", acceptedFiles[0]);\n formData.append(\"token\", accountInformationToken);\n\n formData.appendArray(\"points\", data.rewards);\n\n return axios\n .post(\"/public/register-company\", formData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n};\n\nexport const getBusinessTypesAxios = (): Promise =>\n axios\n .get(\"/public/business-type\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getStampIconsAxios = (): Promise =>\n axios\n .get(\"/public/stamp-icon\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getActivateDaysAxios = (): Promise =>\n axios\n .get(\"/public/activate-days\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n","const verificationToken = \"verification_token\";\nconst accountInformationToken = \"account_information_token\";\nconst stampList = [\n {\n value: 5,\n label: \"5\",\n },\n {\n value: 6,\n label: \"6\",\n },\n {\n value: 7,\n label: \"7\",\n },\n {\n value: 8,\n label: \"8\",\n },\n {\n value: 9,\n label: \"9\",\n },\n {\n value: 10,\n label: \"10\",\n },\n];\n\nconst EXPIRE_REWARD_LIST = [\n {\n value: 30,\n label: \"30\",\n },\n {\n value: 60,\n label: \"60\",\n },\n {\n value: 100,\n label: \"100\",\n },\n {\n value: 365,\n label: \"365\",\n },\n];\n\nexport {\n verificationToken,\n accountInformationToken,\n stampList,\n EXPIRE_REWARD_LIST,\n};\n","import {SelectorListObj} from \"../components/Select/types\";\n\nexport const pointObjValuesToString = (\n obj: { [key: string]: number | string } | null\n): string | typeof NaN => {\n if (!obj) return NaN;\n const resultStr = Object.entries(obj).reduce((str, [key, value]) => {\n if (key !== \"id\") {\n return str + value;\n }\n return str;\n }, \"\");\n return resultStr !== \"00\" ? resultStr : NaN;\n};\n\nexport const CBETypes = {\n futaTill: 0,\n pixelPoint: 1,\n innova: 2\n}\n\nexport const ConditionsOperatorList: SelectorListObj[] = [\n {\n value: '=',\n label: \"EQUAL\",\n },{\n value: '!=',\n label: \"NOT EQUAL\",\n },{\n value: '>',\n label: \"GREATER THAN\",\n },{\n value: '>=',\n label: \"GREATER THAN OR EQUAL\",\n },{\n value: '<',\n label: \"LESS THAN\",\n },{\n value: '<=',\n label: \"LESS THAN OR EQUAL\",\n },{\n value: 'STARTS_WITH',\n label: \"STARTS WITH\",\n },{\n value: 'DOES_NOT_START_WITH',\n label: \"DOES NOT START WITH\",\n },{\n value: 'CONTAINS',\n label: \"CONTAINS\",\n },{\n value: 'DOES_NOT_CONTAIN',\n label: \"DOES NOT CONTAIN\",\n },\n]\n\nexport const ConditionsLogicOperatorList: SelectorListObj[] = [\n {\n value: 'OR',\n label: \"OR\",\n },\n {\n value: 'AND',\n label: \"AND\",\n }\n]\n\nexport const ConditionsActionList: SelectorListObj[] = [\n {\n value: 'percent',\n label: \"Percent\",\n },\n {\n value: 'disallow',\n label: \"Disallow\",\n }\n]\nexport const ConditionsFieldsList: SelectorListObj[] = [\n {\n value: 'location',\n label: \"Location\",\n },\n {\n value: 'date',\n label: \"Date\",\n },{\n value: 'datetime',\n label: \"Datetime\",\n },{\n value: 'time',\n label: \"Time\",\n },\n]\n","import React, { FC, useEffect } from \"react\";\nimport { useDropzone } from \"react-dropzone\";\n\nimport { updatePlacePhotoAxios } from \"src/api/place\";\nimport { ReactComponent as UploadIcon } from \"src/assets/img/upload.svg\";\nimport { ReactComponent as InfoIcon } from \"src/assets/img/info.svg\";\n\nimport * as Types from \"./types\";\n\nconst BusinessLogo: FC = ({\n businessLogoProps,\n setBusinessLogoProps,\n}) => {\n const [loadingBusinessLogo, setLoadingBusinessLogo] =\n React.useState(false);\n const [businessLogo, setBusinessLogo] =\n React.useState(businessLogoProps);\n\n useEffect(() => {\n setBusinessLogo(businessLogoProps);\n }, [businessLogoProps]);\n\n const onDrop = (acceptedFiles: any) => {\n if (acceptedFiles[0]) {\n setLoadingBusinessLogo(true);\n const requestFormData: any = new FormData();\n requestFormData.append(\"file\", acceptedFiles[0]);\n updatePlacePhotoAxios(requestFormData)\n .then((response) => {\n setBusinessLogo(response.data.place.image);\n setBusinessLogoProps(response.data.place.image);\n setLoadingBusinessLogo(false);\n })\n .catch(() => {\n setLoadingBusinessLogo(false);\n });\n }\n };\n\n const { isDragActive, getRootProps, getInputProps } = useDropzone({\n accept: ['image/jpeg', 'image/jpg', 'image/png'],\n multiple: false,\n onDrop,\n });\n\n return (\n
    \n
    \n
    \n
    \n {\" \"}\n {/*eslint-disable-line*/}\n {/*eslint-disable-line*/}\n {businessLogo ? (\n
    \n \"\"\n
    \n ) : null}\n
    \n \n \n \n {businessLogo\n ? \"Update your logo\"\n : \"Please click here and add your logo\"}\n \n \n
    \n
    \n
    \n
    \n \n Perfect size - 1080x1080px\n
    \n
    \n
    \n );\n};\n\nexport default BusinessLogo;\n","import { Color } from \"src/types/color\";\nimport styled, { keyframes } from \"styled-components\";\n\nconst uploadKeyFrames = keyframes`\n 0% {\n transform: translateY(8px);\n }\n 50% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(8px);\n }\n`;\n\nconst Wrapper = styled.div`\n .card-preview {\n overflow: hidden;\n width: 335px;\n border-radius: 15px;\n background-color: ${Color.white};\n box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);\n padding: 25px;\n padding-bottom: 0;\n box-sizing: border-box;\n\n .top {\n display: flex;\n align-items: flex-start;\n margin-bottom: 25px;\n\n .logo {\n line-height: 0;\n margin-right: 15px;\n\n img {\n object-fit: cover;\n height: 60px;\n width: 60px;\n border-radius: 100%;\n }\n }\n\n .right {\n width: calc(100% - 75px);\n }\n\n .name-notificationCount {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 4px;\n\n .name {\n font-family: \"Averta Std ExtraBold\";\n font-size: 16px;\n line-height: 19px;\n color: #2f3640;\n }\n\n .notification-count {\n display: flex;\n align-items: center;\n\n .notification {\n margin-right: 15px;\n }\n\n .count {\n border: 1px solid ${Color.blue};\n border-radius: 4px;\n background-color: ${Color.white};\n padding: 0 5px;\n box-sizing: border-box;\n color: ${Color.blue};\n font-size: 12px;\n font-weight: 300;\n line-height: 21px;\n }\n\n @media (max-width: 400px) {\n flex-wrap: wrap;\n .notification {\n flex-basis: 100%;\n margin-right: 0px;\n }\n\n .count {\n flex-basis: 100%;\n }\n }\n }\n }\n\n .info {\n font-family: \"Averta Std Semibold\";\n\n .title {\n color: #bcbcbc;\n font-size: 12px;\n font-weight: 500;\n line-height: 14px;\n margin-right: 3px;\n }\n\n .content {\n color: ${Color.grey};\n font-size: 12px;\n font-weight: 500;\n line-height: 14px;\n }\n }\n }\n\n .promotion-count {\n display: flex;\n align-items: center;\n gap: 10px;\n flex-wrap: wrap;\n\n .promotion-item {\n width: 49px;\n height: 40px;\n\n img {\n width: 100%;\n height: 100%;\n }\n\n .promotion-item-icon {\n margin: auto;\n width: max-content;\n }\n\n .promotion-item-icon-number {\n font-family: \"Averta Std ExtraBold\";\n color: #ffffff;\n position: absolute;\n top: -1px;\n left: -3px;\n font-size: 9px;\n width: -webkit-fill-available;\n height: -webkit-fill-available;\n text-align: center;\n line-height: 49px;\n }\n }\n\n .promotion_done {\n width: 49px;\n height: 40px;\n\n img {\n width: 100%;\n height: 100%;\n }\n }\n\n .points-progress-line {\n width: 100%;\n display: flex;\n\n .progress-line {\n width: calc(100% - 85px);\n margin-right: 10px;\n border-radius: 4px;\n color: ${Color.white};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n padding: 8px 15px;\n /* &.full { */\n background: #5771e1;\n /* } */\n /* &.empty {\n background-color: #dcdef7;\n color: ${Color.blueDarkText};\n } */\n }\n\n .progress-done {\n position: relative;\n line-height: 0;\n width: 75px;\n\n .text {\n position: absolute;\n top: 7px;\n left: 5px;\n color: ${Color.white};\n font-size: 10px;\n font-weight: 300;\n line-height: 11px;\n width: 45px;\n word-wrap: break-word;\n }\n\n .dark-text {\n color: ${Color.blueDarkText};\n }\n }\n }\n }\n\n &.full {\n .promotion-count {\n .promotion-item {\n svg {\n g {\n opacity: 1;\n }\n\n path {\n fill: ${Color.blue};\n }\n }\n }\n }\n }\n\n @media (max-width: 400px) {\n padding: 20px 10px;\n }\n }\n .card-bottom {\n height: 45px;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n margin-left: -25px;\n margin-right: -25px;\n position: relative;\n .card-bottom-control-button {\n position: absolute;\n width: 26px;\n height: 26px;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n border: 3px solid white;\n top: 0px;\n left: calc(50% - 13px);\n padding: 0;\n }\n .bottom-top {\n position: absolute;\n top: 0;\n width: 100%;\n height: 15px;\n border-radius: 0px 0px 15px 15px;\n background-color: white;\n }\n }\n\n .card-closed {\n margin-bottom: 0;\n max-height: 1px;\n overflow: hidden;\n transition: max-height 0.5s ease-in, margin-bottom 0.3s ease-out;\n }\n\n .card-opened {\n margin-bottom: 14px;\n max-height: 150px;\n transition: max-height 0.5s ease-in, margin-bottom 0.2s ease-out;\n }\n\n .card-bottom-control-button:hover {\n transition: transform 0.8s ease-in-out;\n background: #ec9345;\n }\n\n .card-button-closed {\n .card-bottom-control-button {\n transition: transform 0.8s ease-in-out;\n transform: rotate(180deg);\n }\n }\n\n .card-button-opened {\n .card-bottom-control-button {\n transform: rotate(360deg);\n }\n }\n\n .page-title {\n margin-bottom: 12px;\n }\n\n .page-subtitle {\n max-width: 515px;\n margin-bottom: 30px;\n }\n\n .main-content {\n position: relative;\n min-height: 350px;\n\n &.loading-blue::before {\n display: none;\n }\n }\n\n .business-info-row {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n margin-bottom: 30px;\n }\n\n .form_wrapper {\n border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 30px;\n box-sizing: border-box;\n @media (max-width: 500px) {\n padding: 20px;\n }\n }\n\n .business-info-left {\n position: relative;\n width: calc(65% - 15px);\n /* border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 30px; */\n margin-right: 15px;\n box-sizing: border-box;\n\n .form-group {\n margin-bottom: 30px;\n\n .select {\n margin-bottom: 0;\n }\n\n &_three_items {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n\n & > * {\n width: 32% ;\n }\n @media (max-width: 700px) {\n & > * {\n flex-basis: 100%;\n }\n }\n }\n }\n\n .category-promotionName {\n display: flex;\n flex-wrap: wrap;\n }\n\n .category-group {\n width: calc(50% - 15px);\n margin-right: 15px;\n }\n\n .promotionName-group {\n width: calc(50% - 15px);\n margin-left: 15px;\n }\n\n .promotionType-promotionCount {\n display: flex;\n flex-wrap: wrap;\n\n &.Points {\n flex-wrap: nowrap;\n\n & > div {\n width: calc(100% / 3);\n\n &.promotionVaucherInformation-group {\n margin-right: 15px;\n margin-left: 15px;\n }\n }\n }\n }\n\n .promotionType-group {\n width: calc(50% - 15px);\n margin-right: 15px;\n }\n\n .promotionCount-group {\n width: calc(50% - 15px);\n margin-left: 15px;\n }\n\n .line {\n height: 1px;\n background-color: rgba(0, 13, 70, 0.1);\n margin-bottom: 10.5px;\n }\n\n .form-error-message {\n color: red;\n font-size: 14px;\n font-weight: 300;\n text-align: center;\n margin-bottom: 15px;\n }\n\n .button-row {\n margin-top: 20px;\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: center;\n\n .verification-status {\n margin-right: 20px;\n padding: 10px 20px;\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n text-align: center;\n color: rgb(0, 13, 70);\n border: 1.5px solid rgb(0, 13, 70);\n border-radius: 4px;\n background-color: ${Color.white};\n\n &.approved {\n border: 1.5px solid ${Color.blue};\n color: ${Color.blue};\n }\n }\n\n .btn-blue {\n width: auto;\n padding: 10px 30px;\n }\n }\n }\n\n .business-info-right_wrapper {\n width: 35%;\n @media (max-width: 1300px) {\n width: 100%;\n }\n }\n\n .business-info-right {\n max-width: 395px;\n margin: 0 auto;\n background-color: ${Color.white};\n border-radius: 4px;\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 30px;\n box-sizing: border-box;\n min-height: 100%;\n position: relative;\n }\n\n .dropZone {\n display: flex;\n flex-direction: column;\n height: 100%;\n\n &.with-photo {\n & > div {\n .dropZone-content-text {\n opacity: 0;\n transition: 0.5s all ease;\n }\n }\n\n &:hover {\n & > div {\n .dropZone-content-text {\n opacity: 0.9;\n }\n }\n }\n }\n\n & > div {\n position: relative;\n height: 100%;\n outline: none;\n cursor: pointer;\n\n &.active_true {\n border-color: ${Color.blueDark};\n box-shadow: 0px 0px 9px 1px rgb(0 0 0 / 35%);\n }\n\n &.active_false {\n min-height: 320px;\n }\n\n input {\n max-width: 100%;\n display: block !important;\n position: absolute;\n bottom: 0;\n right: 0;\n left: 0;\n margin: auto;\n opacity: 0;\n z-index: -1;\n }\n\n .img {\n line-height: 0;\n\n img {\n height: 320px;\n width: 100%;\n object-fit: cover;\n }\n }\n\n .dropZone-content-text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: ${Color.blueLightBackground};\n border: 1px dashed ${Color.blue};\n border-radius: 4px;\n outline: none;\n padding: 30px;\n cursor: pointer;\n transition: all 0.225s cubic-bezier(0.77, 0.2, 0.05, 1);\n\n & > svg {\n margin-bottom: 5px;\n animation: ${uploadKeyFrames} 2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n\n path[fill-rule=\"evenodd\"] {\n fill: ${Color.blue};\n }\n }\n\n .text {\n color: ${Color.blue};\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n span {\n margin-bottom: 5px;\n }\n\n .title {\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n }\n\n .description {\n opacity: 0.6;\n font-size: 12px;\n font-weight: 300;\n line-height: 15px;\n }\n\n .file-name {\n font-size: 21px;\n font-weight: 300;\n line-height: 23px;\n }\n }\n }\n }\n }\n\n .logo-wrap {\n .info-sixe {\n margin-top: 15px;\n border-radius: 4px;\n background-color: rgba(81, 92, 221, 0.1);\n padding: 10px 15px;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n\n svg {\n width: 16px;\n height: 16px;\n margin-right: 12px;\n\n path.circle {\n fill: ${Color.blue};\n }\n }\n\n .text {\n color: ${Color.blue};\n font-size: 14px;\n font-weight: 300;\n line-height: 20px;\n }\n }\n }\n\n .locations-card-row {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n }\n\n .locations {\n position: relative;\n /* margin-right: 30px; */\n /* width: calc(70% - 30px); */\n margin-top: 30px;\n border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 25px 30px;\n box-sizing: border-box;\n\n .title {\n color: ${Color.blueDarkText};\n font-size: 20px;\n font-weight: 500;\n line-height: 25px;\n margin-bottom: 25px;\n }\n\n .create-filter {\n margin-bottom: 15px;\n }\n\n .create-location {\n form {\n margin-bottom: 30px;\n border: 1px solid rgba(0, 13, 70, 0.1);\n border-radius: 5px;\n padding: 15px;\n position: relative;\n }\n\n .title-close {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 10px;\n\n .title {\n font-size: 18px;\n font-weight: 500;\n line-height: 21px;\n margin-bottom: 0px;\n }\n\n .close {\n background: none;\n opacity: 0.6;\n line-height: 0;\n\n &:hover {\n opacity: 1;\n }\n\n svg {\n width: 24px;\n height: 24px;\n }\n }\n }\n\n .select-deal-container {\n .select {\n margin-bottom: 15px;\n }\n }\n\n .input-wrap {\n margin-bottom: 15px;\n\n .location-group {\n svg path {\n fill: ${Color.blue};\n }\n }\n }\n\n .add-location-wrapper {\n display: flex;\n flex-direction: column;\n\n .left-block {\n width: 100%;\n margin-right: 15px;\n }\n\n .right-block {\n width: 100%;\n\n .upload-image {\n height: 150px;\n margin-bottom: 15px;\n }\n }\n }\n }\n\n .create-new-user {\n form {\n margin-bottom: 30px;\n border: 1px solid rgba(0, 13, 70, 0.1);\n border-radius: 5px;\n padding: 15px;\n overflow: hidden;\n }\n\n .title-close {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 10px;\n\n .title {\n font-size: 18px;\n font-weight: 500;\n line-height: 21px;\n margin-bottom: 0px;\n }\n\n .close {\n background: none;\n opacity: 0.6;\n line-height: 0;\n\n &:hover {\n opacity: 1;\n }\n\n svg {\n width: 24px;\n height: 24px;\n }\n }\n }\n\n .input-wrap {\n display: flex;\n margin-bottom: 15px;\n\n & > div {\n flex: 1;\n width: calc(100% / 3);\n margin-right: 20px;\n\n &:last-child {\n margin-right: 0;\n }\n }\n }\n }\n\n .location-item {\n border-radius: 4px;\n background-color: ${Color.blueLightBackground};\n margin-bottom: 25px;\n padding: 20px 30px;\n box-sizing: border-box;\n\n .main {\n border-bottom: 1px solid rgba(0, 13, 70, 0.1);\n margin-bottom: 15px;\n\n .logo-nameAddress {\n display: flex;\n align-items: flex-start;\n }\n\n .logo {\n line-height: 0;\n margin-right: 15px;\n\n img {\n height: 40px;\n width: 40px;\n border-radius: 100%;\n object-fit: cover;\n }\n }\n\n .name-address {\n width: calc(100% - 55px);\n }\n\n .name {\n color: ${Color.blueDarkText};\n font-size: 18px;\n font-weight: 500;\n line-height: 23px;\n margin-bottom: 5px;\n }\n\n .address {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 22px;\n margin-bottom: 20px;\n }\n\n .edit-remove {\n display: flex;\n align-items: center;\n\n button {\n background: none;\n padding: 0;\n opacity: 0.6;\n\n &:hover {\n opacity: 1;\n }\n }\n\n .edit {\n margin-right: 10px;\n }\n }\n }\n\n .two_btn_wrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n @media (max-width: 600px) {\n * {\n flex-basis: 100%;\n margin-bottom: 10px;\n }\n }\n button {\n background: none;\n color: ${Color.blue};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n text-align: center;\n }\n }\n\n &.hide-staff {\n .show-hide-staff {\n button {\n .hide {\n display: none;\n }\n }\n }\n\n .staff-list-wrap {\n height: 0px;\n overflow: hidden;\n }\n }\n\n &.show-staff {\n .show-hide-staff {\n button {\n .show {\n display: none;\n }\n }\n }\n }\n\n .show-hide-staff {\n text-align: center;\n }\n\n .staff-list-wrap {\n transition: 0.5s all ease;\n }\n\n .create-filter {\n display: flex;\n\n .search-wrap {\n margin-left: 20px;\n flex: 1;\n width: 100%;\n }\n\n button {\n margin-bottom: 15px;\n }\n }\n\n .staff-list {\n border-bottom: 1px solid rgba(0, 13, 70, 0.1);\n padding-bottom: 20px;\n box-sizing: border-box;\n margin-bottom: 15px;\n\n &.table {\n & > div {\n overflow: unset;\n }\n }\n\n &-table-wrap {\n position: relative;\n }\n\n div.rdt_TableRow {\n padding: 13px 0;\n }\n\n div:first-child {\n &::-webkit-scrollbar {\n height: 5px;\n }\n\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 3px;\n }\n\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blueLight};\n }\n\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n }\n }\n }\n\n @media (max-width: 500px) {\n padding: 15px 20px;\n }\n }\n\n .edit_location {\n margin-bottom: 25px;\n\n .close-wrap {\n display: flex;\n justify-content: flex-end;\n margin: 5px 0px 15px;\n\n .close {\n background: none;\n }\n }\n\n .edit_location_form {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n\n & > *:nth-child(1) {\n flex-basis: 45%;\n }\n\n & > *:nth-child(2) {\n flex-basis: 45%;\n }\n\n & > *:nth-child(3) {\n flex-basis: 100%;\n }\n\n .btn_wrapper {\n width: 100%;\n }\n }\n\n .location-group-logo {\n flex-basis: 100%;\n margin: 15px 0px;\n }\n\n .welcome_gift_wrapper {\n background-color: ${Color.white};\n padding: 16px;\n flex-basis: 100%;\n margin-bottom: 20px;\n }\n\n .welcome_gift_form {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n\n & > *:nth-child(1) {\n flex-basis: 45%;\n }\n\n & > *:nth-child(2) {\n flex-basis: 45%;\n }\n\n & > *:nth-child(3) {\n flex-basis: 100%;\n }\n }\n\n .title_block {\n color: ${Color.blueDarkText};\n font-size: 16px;\n line-height: 20px;\n font-weight: 400;\n margin: 0px 0px 16px;\n }\n }\n\n .sidebar-edit-location {\n .location-group {\n padding: 5px 3px 0px 3px;\n margin-bottom: 15px;\n }\n\n .location-group-google-autocomplete {\n .place-point-icon {\n svg path {\n fill: ${Color.blue};\n }\n }\n }\n\n .location-group-logo {\n .dropZone > div .img img {\n position: absolute;\n }\n }\n\n form {\n button[type=\"submit\"] {\n margin-top: 30px;\n }\n }\n }\n\n .sidebar-edit-staff {\n .staff-group {\n padding: 5px 3px 0px 3px;\n margin-bottom: 15px;\n }\n\n form {\n button[type=\"submit\"] {\n margin-top: 30px;\n }\n }\n }\n\n @media (max-width: 500px) {\n padding: 15px 0px;\n }\n }\n\n .card {\n width: fit-content;\n background-color: ${Color.white};\n border-radius: 4px;\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 25px 30px;\n margin: 0px auto 20px;\n box-sizing: border-box;\n position: relative;\n\n .title {\n color: ${Color.blueDarkText};\n font-size: 20px;\n font-weight: 500;\n line-height: 25px;\n margin-bottom: 7px;\n }\n\n .description {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 22px;\n margin-bottom: 20px;\n }\n }\n\n .remove-modal {\n text-align: center;\n padding: 60px 50px;\n\n .title {\n color: ${Color.blueDarkText};\n font-size: 21px;\n font-weight: 500;\n line-height: 28px;\n text-align: center;\n }\n\n button {\n margin-top: 20px;\n width: auto;\n padding: 10px 20px;\n }\n }\n\n .reward_block {\n margin: 30px 0px 35px;\n }\n\n .reward_label_wrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 10px;\n @media (max-width: 450px) {\n flex-wrap: wrap;\n }\n }\n\n .reward_label {\n font-size: 18px;\n font-weight: 500;\n line-height: 23px;\n margin-right: 10px;\n }\n\n \n .reward_inputs, .bonus_reward_inputs {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n\n .isSelect {\n //padding-bottom: 12px;\n\n input {\n margin: 0 2px 2px;\n }\n\n ul.bottom, ul.top {\n margin: 0 2px 2px;\n width: calc(100% - 4px);\n }\n ul.bottom {\n overflow-y: visible;\n }\n \n\n @media (max-width: 1300px) {\n ul.top {\n flex-direction: column;\n }\n }\n }\n\n & > * {\n margin: 15px 0px;\n width: 47%;\n }\n & > *:last-child {\n flex-basis: 100%;\n max-width: 100%;\n }\n @media (max-width: 550px) {\n & > * {\n max-width: 100%;\n flex-basis: 100%;\n }\n }\n }\n .reward_expired {\n padding: 0px 5px;\n label {\n margin-bottom: 15px;\n }\n }\n }\n\n .promotionReward_close {\n max-height: 0px;\n overflow: hidden;\n transition: max-height 1s ease-in;\n }\n .promotionReward_open {\n max-height: 3150px;\n transition: max-height 1s ease-in;\n }\n .promotionReward_control {\n display: flex;\n align-items: center;\n background-color: ${Color.white};\n font-size: 18px;\n margin-bottom: 6px;\n & > span {\n width: 24px;\n height: 24px;\n margin-left: 4px;\n transition: transform 0.5s ease;\n }\n .promotionReward_control_rotate {\n transform: rotate(180deg);\n }\n }\n \n /* @media (min-width: 1300px) and (max-width: 1550px) {\n .main-content {\n .business-info-row,\n .locations-card-row {\n .business-info-left,\n .locations {\n width: calc(70% - 30px);\n }\n\n .business-info-right,\n .card {\n width: 30%;\n }\n }\n }\n } */\n @media (max-width: 1300px) {\n .main-content {\n .business-info-row,\n .locations-card-row {\n flex-direction: column-reverse;\n align-items: center;\n\n .business-info-left,\n .locations {\n width: 100%;\n margin-right: 0;\n }\n\n .business-info-right,\n .card {\n width: 100%;\n max-width: 380px;\n margin: 0px auto 30px;\n }\n }\n }\n .top {\n display: flex;\n align-items: flex-start;\n margin-bottom: 25px;\n\n .logo {\n line-height: 0;\n margin-right: 15px;\n\n img {\n object-fit: cover;\n height: 60px;\n width: 60px;\n border-radius: 100%;\n }\n }\n\n .right {\n width: calc(100% - 75px);\n }\n\n .name-notificationCount {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 4px;\n\n .name {\n font-family: \"Averta Std ExtraBold\";\n font-size: 16px;\n line-height: 19px;\n color: #2f3640;\n }\n\n .notification-count {\n display: flex;\n align-items: center;\n\n .notification {\n margin-right: 15px;\n }\n\n .count {\n border: 1px solid ${Color.blue};\n border-radius: 4px;\n background-color: ${Color.white};\n padding: 0 5px;\n box-sizing: border-box;\n color: ${Color.blue};\n font-size: 12px;\n font-weight: 300;\n line-height: 21px;\n }\n\n @media (max-width: 400px) {\n flex-wrap: wrap;\n .notification {\n flex-basis: 100%;\n margin-right: 0px;\n }\n\n .count {\n flex-basis: 100%;\n }\n }\n }\n }\n\n .info {\n font-family: \"Averta Std Semibold\";\n\n .title {\n color: #bcbcbc;\n font-size: 12px;\n font-weight: 500;\n line-height: 14px;\n margin-right: 3px;\n }\n\n .content {\n color: ${Color.grey};\n font-size: 12px;\n font-weight: 500;\n line-height: 14px;\n }\n }\n }\n\n .promotion-count {\n display: flex;\n align-items: center;\n gap: 10px;\n flex-wrap: wrap;\n\n .promotion-item {\n width: 49px;\n height: 40px;\n\n img {\n width: 100%;\n height: 100%;\n }\n\n .promotion-item-icon {\n margin: auto;\n width: max-content;\n }\n\n .promotion-item-icon-number {\n font-family: \"Averta Std ExtraBold\";\n color: #ffffff;\n position: absolute;\n top: -1px;\n left: -3px;\n font-size: 9px;\n width: -webkit-fill-available;\n height: -webkit-fill-available;\n text-align: center;\n line-height: 49px;\n }\n }\n\n .promotion_done {\n width: 49px;\n height: 40px;\n\n img {\n width: 100%;\n height: 100%;\n }\n }\n\n .points-progress-line {\n width: 100%;\n display: flex;\n\n .progress-line {\n width: calc(100% - 85px);\n margin-right: 10px;\n border-radius: 4px;\n color: ${Color.white};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n padding: 8px 15px;\n /* &.full { */\n background: #5771e1; /* } */\n\n * &.empty {\n background-color: #dcdef7;\n color: ${Color.blueDarkText};\n }\n }\n\n .progress-done {\n position: relative;\n line-height: 0;\n width: 75px;\n\n .text {\n position: absolute;\n top: 7px;\n left: 5px;\n color: ${Color.white};\n font-size: 10px;\n font-weight: 300;\n line-height: 11px;\n width: 45px;\n word-wrap: break-word;\n }\n\n .dark-text {\n color: ${Color.blueDarkText};\n }\n }\n }\n }\n\n &.full {\n .promotion-count {\n .promotion-item {\n svg {\n g {\n opacity: 1;\n }\n\n path {\n fill: ${Color.blue};\n }\n }\n }\n }\n }\n\n @media (max-width: 400px) {\n padding: 20px 10px;\n }\n }\n @media (max-width: 500px) {\n padding: 25px 0px;\n }\n\n\n@media (max-width: 680px) {\n .main-content {\n .business-info-left {\n padding: 0px;\n\n .category-promotionName,\n .promotionType-promotionCount {\n flex-direction: column;\n\n .form-group {\n width: 100%;\n }\n\n .promotionName-group,\n .promotionCount-group {\n margin-left: 0;\n }\n }\n }\n\n .business-info-right {\n padding: 20px;\n }\n\n .locations-card-row {\n .locations {\n padding: 20px;\n\n .location-list {\n .location-item {\n padding: 20px;\n\n .staff-list-wrap {\n .create-filter {\n flex-direction: column;\n\n .search-wrap {\n margin-left: 0;\n }\n\n button {\n margin-bottom: 25px;\n }\n }\n\n .create-new-user {\n .input-wrap {\n flex-direction: column;\n\n div {\n width: 100%;\n }\n\n .first_name-group,\n .last_name-group {\n margin-bottom: 15px;\n }\n }\n }\n }\n }\n }\n }\n\n .card {\n padding: 20px 15px;\n }\n }\n }\n}\n\n@media (max-width: 500px) {\n .main-content {\n .business-info-left {\n .button-row {\n margin-top: 30px;\n flex-direction: column;\n\n div,\n button {\n width: 100%;\n margin-right: 0;\n margin-left: 0;\n }\n\n div {\n margin-bottom: 20px;\n padding: 10px 0;\n }\n }\n }\n }\n}\n`;\n\nexport const DaysWrapperDiv = styled.div`\n position: relative;\n`;\n\nexport const SpanInputText = styled.span`\n position: absolute;\n top: 13px;\n left: 55px;\n font-size: 18px;\n`\n\nexport { Wrapper };\n","import styled from \"styled-components\";\nimport {Color} from \"../../types/color\";\nimport arrowDropDownImgBlack from \"src/assets/img/arrowDropDownBlack.svg\";\n\nconst Wrapper = styled.div`\n .title {\n display: flex;\n align-items: center;\n background-color: ${Color.white};\n font-size: 18px;\n margin-bottom: 6px;\n \n }\n .reward_block {\n margin: 30px 0 0;\n }\n\n .reward_label_wrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 10px;\n @media (max-width: 450px) {\n flex-wrap: wrap;\n }\n }\n\n .reward_label {\n font-size: 18px;\n font-weight: 500;\n line-height: 23px;\n margin-right: 10px;\n }\n .filters {\n display: flex;\n align-items: flex-end;\n padding-right: 5px;\n gap: 20px;\n &>div{\n margin-bottom: 24px;\n }\n .select{\n display: flex;\n flex-direction: column;\n position: relative;\n margin-bottom: 34px;\n\n & > .label:not(:empty) {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 10px;\n }\n\n & > svg {\n position: absolute;\n left: 8px;\n top: 8px;\n }\n svg path:not([fill=\"none\"]) {\n fill: #666e90;\n }\n\n & > input {\n border-radius: 2px;\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n padding: 13px 16px;\n font-size: 16px;\n line-height: 20px;\n cursor: pointer;\n background: url(${arrowDropDownImgBlack}) #ffffff no-repeat calc(100% - 12px) center;\n\n\n &::placeholder {\n color: #95989d;\n }\n\n &:disabled:not(\".lock\") {\n background: rgba(0, 0, 0, 0.07);\n box-shadow: none;\n }\n }\n &.lock {\n input {\n background: none;\n cursor: initial;\n }\n }\n\n & > ul {\n position: absolute;\n width: 100%;\n background: #fff;\n z-index: 5;\n box-shadow: rgb(0 0 0 / 20%) 0px 2px 7px 0px;\n border-radius: 2px;\n padding: 5px 0;\n max-height: 230px;\n overflow: auto;\n &.top {\n bottom: calc(100% + 7px);\n }\n &.bottom {\n top: calc(100% + 7px);\n }\n\n &::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n }\n\n &::-webkit-scrollbar-track {\n box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(0, 144, 202, 0.4);\n }\n\n & > input {\n width: 90%;\n margin: 10px auto;\n display: block;\n padding: 7px 10px;\n background: unset;\n height: auto;\n border: 2px solid #ebebeb;\n border-radius: 6px;\n box-sizing: border-box;\n\n &::placeholder {\n color: #ced2d4;\n }\n }\n\n & > button {\n font-size: 14px;\n padding: 10px 16px;\n cursor: pointer;\n background: #fff;\n transition: background-color 0.225s;\n display: flex;\n width: 100%;\n\n &:hover {\n background-color: rgba(0, 0, 0, 0.04);\n }\n }\n\n & > li {\n padding: 10px 16px;\n }\n }\n &:hover {\n .clearable-btn {\n opacity: 0.4;\n &:hover {\n opacity: 1;\n }\n }\n }\n\n .lock-icon-wrap {\n position: absolute;\n bottom: 10px;\n right: 10px;\n }\n }\n .calendarSelect {\n &>input {\n padding: 10px 16px 10px 40px;\n }\n }\n }\n\n .reward_inputs, .bonus_reward_inputs {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n\n .isSelect {\n //padding-bottom: 12px;\n\n input {\n margin: 0 2px 2px;\n }\n\n ul.bottom, ul.top {\n margin: 0 2px 2px;\n width: calc(100% - 4px);\n }\n ul.bottom {\n overflow-y: visible;\n }\n\n\n @media (max-width: 1300px) {\n ul.top {\n flex-direction: column;\n }\n }\n }\n\n & > * {\n margin: 15px 0px;\n width: 47%;\n }\n & > *:last-child {\n flex-basis: 47%;\n max-width: 47%;\n }\n @media (max-width: 550px) {\n & > * {\n max-width: 100%;\n flex-basis: 100%;\n }\n }\n }\n .reward_expired {\n padding: 0px 5px;\n label {\n margin-bottom: 15px;\n }\n }\n \n}\n`;\n\nexport { Wrapper };\n","import React, {useEffect, useState} from 'react';\nimport {Wrapper} from \"./styled\";\nimport {useTypedSelector} from \"../../hooks/useTypedSelector\";\nimport Input from \"../Input\";\nimport moment from \"moment/moment\";\nimport { ReactComponent as CalendarIcon } from \"src/assets/img/calendar.svg\";\nimport Select from \"../Select\";\nimport {SelectorListObj} from \"../Select/types\";\nimport DateRangePicker from \"react-bootstrap-daterangepicker\";\n\ninterface IPointsCollectionSettings {\n pointsCollectionSettingsObj: { promotionPointsValue: number,\n promotionPointsType: string,\n promotionPointsStartDate: Date | string,\n promotionPointsEndDate: Date | string,\n promotionPointsSelectedTypeValue: string};\n setPointsCollectionSettingsObj: (settings: any) => void;\n}\n\nconst PointsCollectionSettings = ({setPointsCollectionSettingsObj, pointsCollectionSettingsObj}:IPointsCollectionSettings) => {\n const selectorTypeList : SelectorListObj[] = [\n {value: 1, label: 'Date Period'},\n {value: 2, label: 'Quantity Customers'},\n {value: 3, label: 'Transactions'},\n ]\n const [dates, setDatesState] = useState({\n startDate:moment(pointsCollectionSettingsObj.promotionPointsStartDate).format(\"MMM D, YYYY\"),\n endDate: moment(pointsCollectionSettingsObj.promotionPointsEndDate).format(\"MMM D, YYYY\")\n });\n const { loggedUser } = useTypedSelector((state) => state.auth);\n \n const setDates = (e: any, { startDate, endDate }: any) => {\n endDate >= moment() && startDate >= moment() ? setDatesState({\n startDate: startDate.format(\"MMM D, YYYY\"),\n endDate: endDate.format(\"MMM D, YYYY\")\n }) : endDate >= moment() && startDate <= moment() ? setDatesState({\n startDate: moment().format(\"MMM D, YYYY\"),\n endDate: endDate.format(\"MMM D, YYYY\")\n }) : setDatesState({\n startDate: moment().format(\"MMM D, YYYY\"),\n endDate: moment().format(\"MMM D, YYYY\")\n });\n };\n \n useEffect(() => {\n setPointsCollectionSettingsObj({...pointsCollectionSettingsObj, promotionPointsStartDate: moment(dates.startDate).format('YYYY-MM-DD'), promotionPointsEndDate: moment(dates.endDate).format('YYYY-MM-DD')});\n }, [dates, setPointsCollectionSettingsObj]);\n \n const ranges = {\n \"Today\": [moment(), moment()],\n \"Last 7 Days\": [moment().subtract(1, \"weeks\"), moment()],\n \"Last 30 Days\": [moment().subtract(1, \"months\"), moment()],\n \"Last Year\": [moment().subtract(1, \"years\"), moment()],\n };\n \n return (\n \n
    \n

    \n Setting up the collection of points for 1{loggedUser?.user?.currency_symbol || '€'}\n

    \n
    \n
    \n
    \n
    \n
    \n {\n setPointsCollectionSettingsObj({...pointsCollectionSettingsObj, promotionPointsValue: value})\n }}\n defaultValue={pointsCollectionSettingsObj.promotionPointsValue}\n />\n
    \n +item.value === +pointsCollectionSettingsObj.promotionPointsType)}\n required\n hideSelectorFilter\n getValue={(value) => {\n setPointsCollectionSettingsObj({...pointsCollectionSettingsObj, promotionPointsType: value})\n }}/>\n
    \n
    \n
    \n {+pointsCollectionSettingsObj.promotionPointsType === 1 ? (
    \n \n
    \n \n {\n // @ts-ignore\n setDates(e, dates)\n }}\n className=\"form-control\"\n />\n
    \n \n \n
    ) : (<>\n {\n setPointsCollectionSettingsObj({...pointsCollectionSettingsObj, promotionPointsSelectedTypeValue: value})\n }}\n defaultValue={pointsCollectionSettingsObj.promotionPointsSelectedTypeValue}\n />\n )}\n
    \n \n \n );\n};\n\nexport default PointsCollectionSettings;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport React, { FC, useEffect, useState } from \"react\";\n\nimport Input from \"src/components/Input\";\nimport Card from \"src/components/Card\";\nimport Select from \"src/components/Select\";\nimport CheckBox from \"src/components/CheckBox\";\nimport { useTypedSelector } from \"src/hooks/useTypedSelector\";\nimport { useActions } from \"src/hooks/useActions\";\nimport { BusinessInfoInterface } from \"src/types/place\";\nimport { getPlaceInfoAxios, updateBusinessInfoAxios } from \"src/api/place\";\nimport {\n getActivateDaysAxios,\n getBusinessTypesAxios,\n getStampIconsAxios\n} from \"src/views/Registration/Step/RegistrationBuildYourCard/api\";\nimport { SelectorListObj } from \"src/components/Select/types\";\n// import { getPromotionsCategoriesAxios } from \"src/api/promotion\";\nimport { stampList } from \"src/views/Registration/consts\";\nimport { pointObjValuesToString } from \"src/utils/helper\";\n\nimport BusinessLogo from \"src/views/Promotions/BusinessLogo\";\nimport { stampIcon } from \"src/types/stampIcon\";\nimport { StampIconAdditionalData } from \"./types\";\nimport { DaysWrapperDiv, SpanInputText, Wrapper } from \"./styled\";\nimport {businessType} from \"../../../types/businessType\";\nimport PointsCollectionSettings from \"../../../components/PointsCollectionSettings/PointsCollectionSettings\";\nimport moment from \"moment\";\n\nconst Promotion: FC = () => {\n const { loggedUser } = useTypedSelector((state) => state.auth);\n const [getInfoLoading, setGetInfoLoadingLoading] =\n React.useState(true);\n\n const [cardClosed, setCardClosed] = useState(true);\n // const [cardImage, setCardImage] = useState();\n\n const [isOpenRewards] = useState(true);\n\n const [formBusinessInfoLoading, setFormBusinessInfoLoading] =\n React.useState(false);\n\n const [formBusinessInfoErrorMessage, setFormBusinessInfoErrorMessage] =\n React.useState(\"\");\n \n const [ pointsCollectionSettingsObj, setPointsCollectionSettingsObj ] = useState({\n promotionPointsValue: 1,\n promotionPointsType: '1',\n promotionPointsStartDate: moment(new Date()).format('YYYY-MM-DD'),\n promotionPointsEndDate: moment(new Date()).add(7,'days').format('YYYY-MM-DD'),\n promotionPointsSelectedTypeValue: ''\n })\n\n const [businessInfo, setBusinessInfo] = React.useState(\n {\n name: \"\",\n category: \"\",\n promotionName: \"\",\n promotionTypeName: \"\",\n promotionVaucherInformation: \"\",\n promotionTypeID: 0,\n maxNumberPromotion: 0,\n verification_status: null,\n promotionLabel: null,\n businessType: {\n display_name: null,\n id: null,\n name: null,\n },\n stampIcon: {\n display_name: null,\n id: null,\n name: null,\n single_item: null,\n },\n points: [],\n website_url: \"\",\n defaultVoucherName: \"\",\n instagram_url: \"\",\n facebook_url: \"\",\n first_checkIn: '',\n bonusRewardTarget: 0,\n bonusRewardValue: 0,\n bonusRewardLabel: '',\n bonusRewardExpireDays: '30'\n }\n );\n\n const [openExpireDateReward, setOpenExpireDateReward] = useState(\n []\n );\n\n const [businessLogo, setBusinessLogo] = React.useState(\"\");\n\n const [stampIconList, setStampIconList] = useState([]);\n\n const [activateDaysList, setActivateDaysList] = useState>(\n []\n );\n\n // const [locations, setLocations] = React.useState<\n // Array\n // >([]);\n // const [locationMaxCount, setLocationMaxCount] = React.useState(0);\n\n const { promotionTypes, promotionTypesEnable } = useTypedSelector(\n (state) => state.promotion\n );\n const { getPromotionsCategories } = useActions();\n // const [newLocationImage, setNewLocationImage] = React.useState(\"\");\n // const [\n // newLocationPromotionDealId,\n // setNewLocationPromotionDealId,\n // ] = React.useState(\"\");\n // const [\n // newLocationPromotionName,\n // setNewLocationPromotionName,\n // ] = React.useState(\"\");\n // const [\n // newLocationPromotionDetails,\n // setNewLocationPromotionDetails,\n // ] = React.useState(\"\");\n // const [promotionDeal, setPromotionDeal] = React.useState<\n // [\n // {\n // value: string | number;\n // label: string;\n // }\n // ]\n // >([\n // {\n // value: \"\",\n // label: \"\",\n // },\n // ]);\n\n useEffect(() => {\n if (promotionTypes.length === 0) {\n getPromotionsCategories();\n }\n }, []); //eslint-disable-line\n\n const getPlaceInfo = () => {\n getPlaceInfoAxios().then(({ data }) => {\n setGetInfoLoadingLoading(false);\n setBusinessLogo(data.place.image);\n setPointsCollectionSettingsObj({\n ...pointsCollectionSettingsObj,\n promotionPointsSelectedTypeValue: data.placeOption.promotionPointsSelectedTypeValue ? data.placeOption.promotionPointsSelectedTypeValue : '0',\n promotionPointsEndDate: data.placeOption.promotionPointsEndDate ? data.placeOption.promotionPointsEndDate : moment(new Date()).add(7, 'days').format('YYYY-MM-DD'),\n promotionPointsStartDate: data.placeOption.promotionPointsStartDate ? data.placeOption.promotionPointsStartDate : new Date(),\n promotionPointsType: data.placeOption.promotionPointsType ? data.placeOption.promotionPointsType : 1,\n promotionPointsValue: data.placeOption.promotionPointsValue ? data.placeOption.promotionPointsValue : 1,\n })\n setBusinessInfo({\n ...businessInfo,\n name: data.place.name,\n category: data.place.category,\n promotionName: data.place.details,\n promotionVaucherInformation: data.place.description,\n promotionTypeName: data.place.promotion,\n promotionTypeID: data.place.promotion_id,\n maxNumberPromotion: data.place.maxStamp,\n verification_status: data.place.verification_status,\n promotionLabel: data.place.promotion_label,\n businessType: {\n display_name: data.place.business_type.display_name,\n id: data.place.business_type.id,\n name: data.place.business_type.name,\n },\n stampIcon: {\n display_name: data.place.stamp_icon?.display_name,\n id: data.place.stamp_icon?.id,\n name: data.place.stamp_icon?.name,\n single_item: data.place.stamp_icon?.single_item,\n },\n points: data.place.points.filter((item: any)=>item.min_spend === 0),\n website_url: data.place.website_url,\n defaultVoucherName: data.place.defaultVoucherName,\n instagram_url: data.place.instagram_url,\n facebook_url: data.place.facebook_url,\n bonusRewardTarget: data.placeOption.bonusRewardTarget,\n bonusRewardValue: data.placeOption.bonusRewardValue,\n bonusRewardLabel: data.placeOption.bonusRewardLabel,\n bonusRewardExpireDays: data.placeOption.bonusRewardExpireDays,\n first_checkIn: data.place.first_checkIn ?? 0,\n });\n // setLocations(data.locations);\n // setLocationMaxCount(data.location_max_count);\n });\n };\n // const getPromotionDealList = () => {\n // getPromotionsCategoriesAxios().then((response) => {\n // const arr: any = [];\n // response.data.promotion_details.map((item: any) =>\n // arr.push({\n // value: item.id,\n // label: item.name,\n // })\n // );\n // // setPromotionDeal(arr);\n // });\n // };\n\n useEffect(() => {\n getActivateDaysAxios().then((response) => {\n setActivateDaysList(response.data.activateDays);\n });\n\n }, []);\n\n\n const handleGetStampIcons = () => {\n getStampIconsAxios().then((response) => {\n setStampIconList(\n response.data.stampIcons.map((_stampIcon: stampIcon) => {\n return {\n value: _stampIcon.id,\n label: _stampIcon.display_name,\n additional: {\n icon_name: _stampIcon.name,\n single_item: _stampIcon.single_item,\n },\n };\n })\n );\n });\n };\n\n useEffect(() => {\n getPlaceInfo();\n // getPromotionDealList();\n handleGetStampIcons();\n }, []); //eslint-disable-line\n\n const setBusinessInfoValue = (type: string, value: number | string | {id: number}) => {\n if (formBusinessInfoErrorMessage) {\n setFormBusinessInfoErrorMessage(\"\");\n }\n setBusinessInfo((prevState: any) => {\n return { ...prevState, [type]: value };\n });\n };\n\n const handleUpdateBusinessInfo = (event: React.FormEvent) => {\n event.preventDefault();\n setFormBusinessInfoLoading(true);\n const requestParamtrs= {\n business_name: businessInfo.name,\n business_category: businessInfo.category,\n promotion_name: businessInfo.promotionName,\n businessType: businessInfo?.businessType?.id,\n description: businessInfo.promotionVaucherInformation,\n promotion_type: businessInfo.promotionTypeID,\n max_count: businessInfo.maxNumberPromotion,\n promotion_label: businessInfo.promotionLabel,\n points: [\n ...businessInfo.points!.map((pointItem) => ({\n id: pointItem.id,\n rewardNumber: businessInfo!.points![0].rewardNumber,\n activateAfter: businessInfo!.points![0].activateAfter,\n pointsAmount:businessInfo!.points![0].pointsAmount,\n reward: businessInfo!.points![0].reward,\n rewardDetails: businessInfo!.points![0].rewardDetails,\n dateExpire: businessInfo!.points![0].dateExpire ?? 0,\n })),\n ],\n bonusRewardTarget: loggedUser.user.allow_bonus_reward ? businessInfo.bonusRewardTarget : null,\n bonusRewardValue: loggedUser.user.allow_bonus_reward ? businessInfo.bonusRewardValue : null,\n bonusRewardLabel: loggedUser.user.allow_bonus_reward ? businessInfo.bonusRewardLabel : null,\n bonusRewardExpireDays: loggedUser.user.allow_bonus_reward ? businessInfo.bonusRewardExpireDays : null,\n stamp_icon: businessInfo.stampIcon!,\n website_url: businessInfo.website_url,\n defaultVoucherName: businessInfo.defaultVoucherName,\n instagram_url: businessInfo.instagram_url,\n facebook_url: businessInfo.facebook_url,\n first_checkIn: businessInfo.first_checkIn ?? 0,\n };\n // todo\n // @ts-ignore\n updateBusinessInfoAxios(loggedUser.user.allow_promotion_points ? {...requestParamtrs, ...pointsCollectionSettingsObj} : requestParamtrs)\n .then(() => {\n setFormBusinessInfoLoading(false);\n })\n .catch((error: any) => {\n setFormBusinessInfoErrorMessage(\n error?.data?.message\n ? error?.data?.message\n : error?.data?.detail\n ? error?.data?.detail\n : \"Please, enter valid data.\"\n );\n setFormBusinessInfoLoading(false);\n });\n };\n\n const setInputValue = (value: string, index: number) => {\n const newInfo = {\n ...businessInfo\n };\n\n if (newInfo.points) {\n newInfo.points[index].dateExpire = +value;\n setBusinessInfo(newInfo);\n }\n }\n \n const [businessTypeList, setBusinessTypeList] = useState>([]);\n \n useEffect(() => {\n getBusinessTypesAxios().then((response) => {\n setBusinessTypeList(\n response.data.businessTypes.map((_businessType: businessType) => {\n return {\n value: _businessType.id,\n label: _businessType.display_name,\n };\n })\n );\n });\n }, []);\n\n return (\n \n
    Update Primary Promotion
    \n
    \n Your digital loyalty card is displayed below, this is what your\n customers will see on the Lynked App.\n
    \n
    \n {!getInfoLoading ? (\n <>\n
    \n
    \n \n
    \n
    \n \n setBusinessInfoValue(\"name\", value)\n }\n />\n
    \n
    \n
    \n item.value === businessInfo?.businessType?.id)}\n getValue={(value) => setBusinessInfoValue('businessType', {id: +value})}\n hideSelectorFilter\n />\n
    \n
    \n \n setBusinessInfoValue(\"promotionName\", value)\n }\n />\n
    \n
    \n \n
    \n \n setBusinessInfoValue(\"promotionTypeID\", value)\n }\n hideSelectorFilter\n />\n
    \n {businessInfo.promotionTypeID === 2 ?\n
    \n \n setBusinessInfoValue(\"first_checkIn\", value)\n }\n />\n
    : null}\n {businessInfo.promotionTypeID === 1 ? (\n <>\n
    \n \n setBusinessInfoValue(\"defaultVoucherName\", value)\n }\n />\n
    \n
    \n {\n const stampIconData: StampIconAdditionalData =\n additional as StampIconAdditionalData;\n const newBusinessInfo = {...businessInfo};\n newBusinessInfo.stampIcon = {\n display_name: label,\n id: +value,\n name: stampIconData.icon_name,\n single_item: stampIconData.single_item,\n };\n setBusinessInfo(newBusinessInfo);\n }}\n hideSelectorFilter\n />\n
    \n
    \n \n setBusinessInfoValue(\n \"maxNumberPromotion\",\n value\n )\n }\n hideSelectorFilter\n />\n
    \n \n ) :\n null}\n
    \n
    \n \n setBusinessInfoValue(\"website_url\", value)\n }\n maxLength={255}\n />\n \n setBusinessInfoValue(\"instagram_url\", value)\n }\n maxLength={255}\n />\n \n setBusinessInfoValue(\"facebook_url\", value)\n }\n maxLength={255}\n />\n
    \n {businessInfo.promotionTypeID === 2 ? (\n <>\n {!!loggedUser.user.allow_promotion_points ? : null}\n \n

    \n Your Loyalty Program Details\n

    \n
    \n
    \n {businessInfo.points?.map(\n (\n {\n pointsAmount,\n reward,\n rewardNumber,\n rewardDetails,\n dateExpire,\n min_spend,\n },\n i\n ) => (\n (min_spend === 0 && i < 1) &&\n // eslint-disable-next-line react/no-array-index-key\n
    \n
    \n
    {`Reward`}
    \n {i ? (\n {\n const newBusinessInfo = {\n ...businessInfo,\n };\n if (isChecked) {\n if (newBusinessInfo.points) {\n \n newBusinessInfo.points[i] = structuredClone(newBusinessInfo.points[i - 1]);\n \n setBusinessInfo(newBusinessInfo);\n }\n } else {\n if (newBusinessInfo.points) {\n newBusinessInfo.points[i] = {\n ...newBusinessInfo.points[i],\n pointsAmount: 0,\n reward: \"\",\n rewardNumber: 0,\n rewardDetails: \"\",\n dateExpire: 0,\n activateAfter: 0\n };\n }\n setBusinessInfo(newBusinessInfo);\n }\n }}\n />\n ) : null}\n
    \n
    \n {\n const newBusinessInfo = {\n ...businessInfo,\n };\n if (newBusinessInfo.points) {\n newBusinessInfo.points[\n i\n ].pointsAmount = +value;\n setBusinessInfo(newBusinessInfo);\n }\n }}\n defaultValue={pointsAmount}\n />\n {\n const newBusinessInfo = {\n ...businessInfo,\n };\n if (newBusinessInfo.points) {\n newBusinessInfo.points[i].rewardNumber =\n value;\n setBusinessInfo(newBusinessInfo);\n }\n }}\n defaultValue={`${rewardNumber}`}\n type={\"number\"}\n />\n
    \n {\n const newBusinessInfo = {\n ...businessInfo,\n };\n if (newBusinessInfo.points) {\n newBusinessInfo.points[i].reward =\n value;\n setBusinessInfo(newBusinessInfo);\n }\n }}\n defaultValue={reward}\n />\n
    \n {\n const newBusinessInfo = {\n ...businessInfo,\n };\n if (newBusinessInfo.points) {\n newBusinessInfo.points[\n i\n ].rewardDetails = value;\n setBusinessInfo(newBusinessInfo);\n }\n }}\n defaultValue={rewardDetails}\n />\n {\n const newInfo = {...businessInfo};\n \n if (newInfo.points) {\n newInfo.points[i].activateAfter = +value;\n setBusinessInfo(newInfo);\n }\n }}\n />\n
    \n {\n setOpenExpireDateReward(\n (currValues) => {\n if (isChecked) {\n if (currValues.includes(i)) {\n return currValues;\n }\n const newInfo = {\n ...businessInfo,\n };\n if (newInfo.points) {\n newInfo.points[\n i\n ].dateExpire = 30;\n setBusinessInfo(newInfo);\n }\n return [...currValues, i];\n }\n const newInfo = {\n ...businessInfo,\n };\n if (newInfo.points) {\n newInfo.points[\n i\n ].dateExpire = 0;\n setBusinessInfo(newInfo);\n }\n return currValues.filter(\n (key) => key !== i\n );\n }\n );\n }}\n />\n {openExpireDateReward.includes(i) ||\n !!dateExpire ? (\n // {\n // const newInfo = {\n // ...businessInfo,\n // };\n // if (newInfo.points) {\n // newInfo.points[\n // i\n // ].dateExpire = +value;\n // setBusinessInfo(newInfo);\n // }\n // }}\n // hideSelectorFilter\n // />\n \n setInputValue(value, i)}\n />\n {businessInfo?.points?.[i].dateExpire ?\n days : null}\n \n ) : null}\n
    \n
    \n
    \n )\n )}\n {loggedUser.user.allow_bonus_reward ? (
    \n
    \n
    {`Bonus Reward`}
    \n
    \n
    \n {\n setBusinessInfoValue('bonusRewardTarget', value)\n }}\n defaultValue={businessInfo && businessInfo.bonusRewardTarget ? businessInfo.bonusRewardTarget : '0'}\n />\n {\n setBusinessInfoValue('bonusRewardValue', value)\n }}\n defaultValue={`${businessInfo && businessInfo.bonusRewardValue ? businessInfo.bonusRewardValue : 0}`}\n />\n {\n setBusinessInfoValue('bonusRewardLabel', value)\n }}\n defaultValue={`${businessInfo && businessInfo.bonusRewardLabel ? businessInfo.bonusRewardLabel : ''}`}\n />\n
    \n {\n if (!isChecked && !!businessInfo.bonusRewardExpireDays){\n setBusinessInfoValue('bonusRewardExpireDays', 0)\n } else {\n setBusinessInfoValue('bonusRewardExpireDays', 30)\n }\n }}\n />\n {!!businessInfo.bonusRewardExpireDays ? (\n \n setBusinessInfoValue('bonusRewardExpireDays', value)}\n />\n {businessInfo.bonusRewardExpireDays ?\n days : null}\n \n ) : null}\n
    \n
    \n
    ) : null}\n \n
    \n
    \n {/* \n setIsOpenRewards((currValue) => !currValue)\n }\n >\n {`${isOpenRewards ? \"Close\" : \"Open\"} Rewards`}\n \n \n \n */}\n \n ) : null}\n {formBusinessInfoErrorMessage && (\n
    \n {formBusinessInfoErrorMessage}\n
    \n )}\n
    \n \n {businessInfo.verification_status?.display_name}\n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    Your Loyalty Card
    \n
    \n As visible to customers in the Lynked app\n
    \n \n
    \n
    \n \n setBusinessLogo(businessLogoProps)\n }\n />\n
    \n
    \n
    \n \n
    \n \n ) : null}\n
    \n
    \n );\n};\n\nexport default Promotion;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nexport const Wrapper = styled.div<{\n required?: boolean;\n isLabel?: boolean;\n}>`\n display: flex;\n flex-direction: column;\n position: relative;\n\n & > .label:not(:empty) {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 10px;\n /* &:after {\n content: ${(props) => (props.required ? `\" *\"` : \"none\")};\n color: #eb4d4b;\n } */\n }\n\n & > input {\n border-radius: 4px;\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n padding: 13px 16px 13px 45px;\n font-size: 18px;\n line-height: 20px;\n background: #ffffff;\n\n &::placeholder {\n color: #95989d;\n }\n\n &:disabled {\n background: rgba(0, 0, 0, 0.07);\n box-shadow: none;\n }\n }\n\n .info-tooltip {\n position: absolute;\n right: 10px;\n bottom: 11px;\n width: 24px;\n height: 24px;\n margin: auto;\n cursor: pointer;\n transition: 0.3s all ease;\n .tooltip {\n transition: 0.3s all ease;\n visibility: hidden;\n opacity: 0;\n position: absolute;\n bottom: 40px;\n right: -10px;\n width: 300px;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n color: ${Color.white};\n font-size: 12px;\n font-weight: 300;\n letter-spacing: 0;\n line-height: 15px;\n padding: 10px;\n border-radius: 6px;\n z-index: 1;\n &:after {\n content: \"\";\n position: absolute;\n top: 100%;\n right: 17px;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: ${Color.blue} transparent transparent transparent;\n }\n }\n & svg path.circle {\n fill: #000d46;\n opacity: 0.6;\n }\n &:hover {\n svg path.circle {\n fill: ${Color.blue};\n opacity: 1;\n }\n .tooltip {\n visibility: visible;\n opacity: 1;\n }\n }\n & + input {\n padding-right: 35px;\n }\n }\n\n .place-point-icon {\n position: absolute;\n line-height: 0;\n bottom: 13px;\n left: 10px;\n & > svg {\n path {\n fill: #000d46;\n opacity: 0.6;\n }\n }\n }\n`;\n","import React, { useEffect } from \"react\";\nimport { usePlacesWidget } from \"react-google-autocomplete\";\n\nimport { GOOGLE_API_KEY } from \"src/types/env\";\n\nimport { ReactComponent as InfoIcon } from \"src/assets/img/info.svg\";\nimport { ReactComponent as PlacePointIcon } from \"src/assets/img/place-point.svg\";\n\nimport { Wrapper } from \"./styled\";\nimport {Props} from \"./types\";\n\nconst InputGoogleAutocomplete = ({\n label,\n placeholder,\n infoTooltip,\n defaultValue,\n required,\n disabled,\n getValue,\n getLat,\n getLng,\n onFocus,\n}: Props) => {\n const [value, setValue] = React.useState(defaultValue || \"\");\n\n useEffect(() => {\n if (defaultValue && defaultValue !== value) {\n setValue(defaultValue);\n }\n }, [defaultValue]); //eslint-disable-line\n\n const { ref } = usePlacesWidget({\n apiKey: GOOGLE_API_KEY,\n onPlaceSelected: (place) => {\n setValue(place.formatted_address);\n if (getValue) getValue(place.formatted_address);\n if (getLat) getLat(place.geometry.location.lat());\n if (getLng) getLng(place.geometry.location.lng());\n },\n options: {\n types: [\"geocode\"],\n language: \"en\",\n },\n });\n\n const handleChange = (currentValue: string) => {\n setValue(currentValue);\n };\n\n return (\n \n {label}\n {infoTooltip && (\n \n \n {infoTooltip}\n \n )}\n {\n return handleChange(event.target.value);\n }}\n onFocus={() => {\n if (onFocus) onFocus();\n }}\n />\n \n \n \n \n );\n};\n\nexport default InputGoogleAutocomplete;\n","import axios from \"./api\";\n\nexport const getLightSpeed = (): Promise =>\n axios\n .post(\"/api/lightspeed/get\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const createLightSpeed = (requestParameters: any): Promise =>\n axios\n .post(\"/api/lightspeed/create\", requestParameters)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const deleteLightSpeed = (requestParameters: any): Promise =>\n axios\n .post(\"/api/lightspeed/delete\", requestParameters)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const checkIntegrationLightSpeed = (requestParameters: any): Promise =>\n axios\n .get(`/api/lightspeed/integration${requestParameters}`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const setDiscountProductLightSpeed = (): Promise =>\n axios\n .get(`/api/lightspeed/create-discount-product`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const createRemouteRulsLightSpeedLocations = (): Promise =>\n axios\n .get(`/api/lightspeed/create-remote-rules`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const setWebhookLightSpeedLocations = (): Promise =>\n axios\n .get(`/api/lightspeed/set-webhook`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const setLoyaltyProductLightSpeedLocations = (): Promise =>\n axios\n .get(`/api/lightspeed/set-loyalty-product`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const setCustomFieldsLightSpeedLocations = (): Promise =>\n axios\n .get(`/api/lightspeed/set-custom-fields`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const getLightSpeedLocations = (): Promise =>\n axios\n .get(`/api/lightspeed/outlets`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n","import React, { FC, useEffect, useState } from \"react\";\nimport DataTable from \"react-data-table-component\";\n\nimport Input from \"../../../../components/Input\";\nimport { ReactComponent as CloseIcon } from \"../../../../assets/img/clear.svg\";\nimport { addUserToLocationAxios, searchUserLocationAxios } from \"../../../../api/place\";\nimport {\n EditLocationStaffInterface,\n LocationInfoInterface,\n LocationUserInfoInterface,\n NewUserToLocationInterface,\n SearchLocationUserInterface\n} from \"../../../../types/place\";\nimport InfoTooltip from \"../../../../components/infoTooltip/infoTooltip\";\nimport { ReactComponent as EditIcon } from \"../../../../assets/img/edit.svg\";\nimport { ReactComponent as DeleteIcon } from \"../../../../assets/img/delete.svg\";\nimport Select from \"../../../../components/Select\";\nimport { useTypedSelector } from \"../../../../hooks/useTypedSelector\";\nimport { getLightSpeedLocations } from \"../../../../api/lightSpeed\";\nimport Checkbox from \"../../../../components/CheckBox\";\n\ninterface IProps {\n setLocationStaffSidebarData: (arg: EditLocationStaffInterface | null) => void;\n setShowLocationStaffSidebar: (arg: boolean) => void;\n setDeleteStaffObj: (arg: LocationUserInfoInterface | null) => void;\n getPlaceInfo: () => void;\n location: LocationInfoInterface;\n locations: Array;\n isShow?: boolean;\n}\n\nconst StaffMembers: FC = ({\n setLocationStaffSidebarData,\n location,\n locations,\n setShowLocationStaffSidebar,\n setDeleteStaffObj,\n getPlaceInfo\n }) => {\n let timeout: any;\n\n const [searchLocationUserLoading, setSearchLocationUserLoading] =\n React.useState<{ status: boolean; location_id: number | null }>({\n status: false,\n location_id: null\n });\n\n const { loggedUser } = useTypedSelector((state) => state.auth);\n\n const [createItems, setCreateItems] = useState([{ label: \"User\", value: 0 }, { label: \"POS.ID\", value: 1 }]);\n const [showHideform, setShowHideForm] = useState(createItems[0].value);\n const [lightSpeedSelect, setLightSpeedSelect] = useState([\n {\n value: \"\",\n label: \"All LightSpeed\",\n retailer: 0\n },\n ])\n const [lightSpeedSelected, setLightSpeedSelected] = useState<{\n value: string | number;\n label: string;\n }>({\n value: '',\n label: '',\n }\n )\n \n const [formAddUserToLocationLoading, setFormAddUserToLocationLoading] =\n React.useState(false);\n\n const [\n formAddUsertToLocationErrorMessage,\n setFormAddUsertToLocationErrorMessage\n ] = React.useState(\"\");\n\n const [newUserToLocation, setNewUserToLocation] =\n React.useState();\n\n useEffect(() => {\n if (loggedUser.user.allow_lightspeed) {\n setCreateItems([...createItems, { label: \"Lightspeed\", value: 2 }]);\n getLightSpeedLocations().then((res) => {\n if(res.data.status){\n setLightSpeedSelect(res.data.outlets)\n setLightSpeedSelected({\n value: res.data.outlets[0].value,\n label: res.data.outlets[0].label,\n })\n }\n \n })\n }\n }, []);\n\n\n const addNewUserToLocation = (location_id: number) => {\n setNewUserToLocation((prevState: any) => {\n return { ...prevState, id: location_id };\n });\n };\n\n const setValueNewUserToLocation = (name: string, value: string | boolean) => {\n if (formAddUsertToLocationErrorMessage) {\n setFormAddUsertToLocationErrorMessage(\"\");\n }\n setNewUserToLocation((prevState: any) => {\n return { ...prevState, [name]: value };\n });\n };\n\n const handleSearchLocationUser = (searchObj: SearchLocationUserInterface) => {\n clearTimeout(timeout);\n\n timeout = setTimeout(() => {\n setSearchLocationUserLoading({\n status: true,\n location_id: searchObj.location_id\n });\n\n searchUserLocationAxios(searchObj)\n .then((response) => {\n const newLocations = [];\n\n locations.forEach((currentValue) => {\n if (currentValue.id === searchObj.location_id) {\n const newCurrentValue = currentValue;\n\n newCurrentValue.users = response.data.users;\n newLocations.push(currentValue);\n } else {\n newLocations.push(currentValue);\n }\n });\n\n setSearchLocationUserLoading({\n status: false,\n location_id: null\n });\n })\n .catch(() => {\n setSearchLocationUserLoading({\n status: false,\n location_id: null\n });\n });\n }, 500);\n };\n\n const editLocationStaffOpenSidebar = (staff: LocationUserInfoInterface) => {\n if (staff.is_pos) {\n setLocationStaffSidebarData({\n seller_id: staff.id,\n first_name: staff.first_name,\n posId: staff.posId,\n is_pos: staff.is_pos,\n only_offline_customers: staff.only_offline_customers,\n password: staff.password\n });\n } else if (staff.is_lightspeed_pos) {\n setLocationStaffSidebarData({\n seller_id: staff.id,\n first_name: staff.first_name,\n posId: staff.lightspeedPosId,\n only_offline_customers: staff.only_offline_customers,\n is_lightspeed_pos: staff.is_lightspeed_pos,\n password: staff.password\n });\n }else {\n setLocationStaffSidebarData({\n seller_id: staff.id,\n first_name: staff.first_name,\n last_name: staff.last_name,\n only_offline_customers: staff.only_offline_customers,\n password: staff.password\n });\n }\n\n setShowLocationStaffSidebar(true);\n };\n\n const deleteLocationStaffAsk = (staff: LocationUserInfoInterface) => {\n setDeleteStaffObj(staff);\n };\n\n const locationStaffTableColumns = [\n {\n name: \"Name\",\n minWidth: \"150px\",\n cell: (row: LocationUserInfoInterface): JSX.Element => {\n return (\n
    \n {row.first_name} {row.last_name}\n
    \n );\n }\n },\n {\n name: \"Email\",\n minWidth: \"350px\",\n cell: (row: LocationUserInfoInterface): JSX.Element => {\n return
    {row.username}
    ;\n }\n },\n {\n name: (\n \n ),\n minWidth: \"100px\",\n cell: (row: LocationUserInfoInterface): JSX.Element => {\n return (\n
    \n editLocationStaffOpenSidebar(row)}\n >\n \n \n deleteLocationStaffAsk(row)}\n >\n \n \n
    \n );\n }\n }\n ];\n\n const handleAddUserToLocation = (event: React.FormEvent) => {\n event.preventDefault();\n if (newUserToLocation) {\n setFormAddUserToLocationLoading(true);\n addUserToLocationAxios(showHideform === 0 ? newUserToLocation : showHideform === 1 ? { ...newUserToLocation, type: showHideform } : { ...newUserToLocation, type: showHideform, lightSpeedId: `${lightSpeedSelected.value}`, lightSpeedName: `${lightSpeedSelected.label}`,lightSpeedRetailer: `${lightSpeedSelect.find(item=>item.value === lightSpeedSelected.value)!.retailer}`})\n .then(() => {\n getPlaceInfo();\n setNewUserToLocation(null);\n setFormAddUserToLocationLoading(false);\n })\n .catch((error) => {\n setFormAddUsertToLocationErrorMessage(\n error?.data?.message\n ? error?.data?.message\n : error?.data?.detail\n ? error?.data?.detail\n : \"Internal Server Error\"\n );\n\n setFormAddUserToLocationLoading(false);\n });\n }\n };\n\n return (\n
    \n
    \n addNewUserToLocation(location.id)}\n >\n Add New User\n \n
    \n \n handleSearchLocationUser({\n location_id: location.id,\n search: value\n })\n }\n />\n
    \n
    \n {newUserToLocation?.id === location.id ? (\n
    \n {loggedUser.user.allow_pos || loggedUser.user.allow_lightspeed ?
    \n \n setShowHideForm(+value)\n }\n hideSelectorFilter\n />\n
    : null}\n\n {\n showHideform === 0 ? (\n \n
    \n
    \n
    Create new user
    \n setNewUserToLocation(null)}\n >\n \n \n
    \n
    \n
    \n \n setValueNewUserToLocation(\"first_name\", value)\n }\n />\n
    \n
    \n \n setValueNewUserToLocation(\"last_name\", value)\n }\n />\n
    \n
    \n \n setValueNewUserToLocation(\"password\", value)\n }\n />\n
    \n {loggedUser.user.allow_offline_customers ?
    \n {\n setValueNewUserToLocation(\"only_offline_customers\", checked)\n }}/>\n
    : null}\n \n
    \n {formAddUsertToLocationErrorMessage && (\n
    \n {formAddUsertToLocationErrorMessage}\n
    \n )}\n \n
    \n \n ) : showHideform === 1 ? (\n \n \n
    \n
    \n
    Create new POS.ID
    \n {\n setNewUserToLocation(null);\n setShowHideForm(0);\n }}\n >\n \n \n
    \n
    \n
    \n \n setValueNewUserToLocation(\"first_name\", value)\n }\n />\n
    \n
    \n \n setValueNewUserToLocation(\"posId\", value)\n }\n />\n
    \n
    \n \n setValueNewUserToLocation(\"password\", value)\n }\n />\n
    \n {loggedUser.user.allow_offline_customers ?
    \n {\n setValueNewUserToLocation(\"only_offline_customers\", checked)\n }}/>\n
    : null}\n
    \n {formAddUsertToLocationErrorMessage && (\n
    \n {formAddUsertToLocationErrorMessage}\n
    \n )}\n \n
    \n \n ) : (\n \n \n
    \n
    \n
    Create new Lightspeed
    \n {\n setNewUserToLocation(null);\n setShowHideForm(0);\n }}\n >\n \n \n
    \n
    \n
    \n \n setValueNewUserToLocation(\"first_name\", value)\n }\n />\n
    \n
    \n {\" \"}\n {/* eslint-disable-line */}\n {newLocationImage ? (\n
    \n \n
    \n ) : null}\n
    \n \n \n \n {newLocationImage\n ? \"Update location image\"\n : \"Please click here and add location image\"}\n \n \n
    \n
    \n
    \n
    \n {\n const newData = {\n ...newLocation\n } as NewLocationInterface;\n newData.work_time = workTime;\n setNewLocation(newData);\n }}\n />\n
    \n {formAddLocationErrorMessage && (\n
    \n {formAddLocationErrorMessage}\n
    \n )}\n \n
    \n \n \n \n ) : null}\n
    \n {locations.map((location) => (\n \n
    \n
    \n
    \n {location.image ? (\n \"\"/\n ) : (\n \"\"/\n )}\n
    \n
    \n
    \n {location.location_name} ({location.shortName})\n
    \n
    {location.address}
    \n
    \n
    \n {/* editLocationOpenSidebar(location)}\n >\n \n */}\n hendelDeleteLocationAsk(location)}\n >\n \n \n
    \n
    \n
    \n \n \n {locationSidebarData?.location_id === location.id ? (\n <>\n
    \n
    \n \n \n \n
    \n \n \n setEditLocation(\"locationName\", value)\n }\n />\n
    \n

    Phone number

    \n {\n setEditLocation(\"phone_number\", value);\n }}\n />\n
    \n
    \n setEditLocation(\"address\", value)}\n getLat={(value) => setEditLocation(\"latitude\", value)}\n getLng={(value) => setEditLocation(\"longitude\", value)}\n />\n
    \n
    \n \n \n {\" \"}\n {/* eslint-disable-line */}\n {\" \"}\n {/* eslint-disable-line */}\n {locationSidebarData?.logo || newLocationImage ? (\n
    \n {newLocationImage ? (\n \n ) : (\n \n )}\n
    \n ) : null}\n
    \n \n \n \n {locationSidebarData?.logo\n ? \"Update location image\"\n : \"Please click here and add location image\"}\n \n \n
    \n
    \n
    \n
    \n
    \n

    Welcome Gift

    \n
    \n setIsWelcomeGift(isChecked)}\n />\n {isWelcomeGift ? (\n <>\n {/* \n setEditLocation(\"promotionName\", value)\n }\n /> */}\n
    \n \n setEditLocation(\"promotionDetails\", value)\n }\n />\n
    \n \n ) : null}\n {/*
    */}\n
    \n
    \n {locationSidebarData.ecommerce === 0 ?
    \n

    Show location in Map

    \n
    \n setShowOnMap(isChecked)}\n />\n
    \n
    : null}\n \n {\n const sidebarData = {\n ...locationSidebarData\n } as EditLocationInterface;\n sidebarData.workTime = workTime;\n setLocationSidebarData(sidebarData);\n }}\n />\n
    \n \n
    \n \n
    \n \n \n ) : null}\n \n ))}\n \n \n
    \n
    \n
    \n
    \n
    Update Location User
    \n
    \n
    \n closeEditLocationStaffSidebar()}\n >\n \n \n
    \n
    \n
    \n \n
    \n
    \n \n setEditLocationStaff(\"first_name\", value)\n }\n />\n
    \n
    \n {locationStaffSidebarData?.is_pos ? \n setEditLocationStaff(\"posId\", value)\n }\n /> : locationStaffSidebarData?.is_lightspeed_pos ?\n \n \n \n
    \n By completing, I agree to\n \n Privacy Policy.\n \n
    \n \n
    */}\n
    \n \n
    \n
    \n \n
    \n {/*
    */}\n {/*
    \n \n
    \n
    \n \"\"\n
    \n
    \n
    Lynked Platform
    \n
    \n Excepteur sint occaecat cupidatat non proident, sunt in culpa\n qui.\n
    \n
    \n Excepteur sint occaecat cupidatat non proident, sunt in culpa\n qui officia deserunt mollit anim id est laborum.\n
    \n
    \n
    \n
    \n
    \n \"\"\n
    \n
    \n
    Lynked Platform
    \n
    \n Excepteur sint occaecat cupidatat non proident, sunt in culpa\n qui.\n
    \n
    \n Excepteur sint occaecat cupidatat non proident, sunt in culpa\n qui officia deserunt mollit anim id est laborum.\n
    \n
    \n
    \n
    \n
    \n \"\"\n
    \n
    \n
    Lynked Platform
    \n
    \n Excepteur sint occaecat cupidatat non proident, sunt in culpa\n qui.\n
    \n
    \n Excepteur sint occaecat cupidatat non proident, sunt in culpa\n qui officia deserunt mollit anim id est laborum.\n
    \n
    \n
    \n
    \n
    \n \"\"\n
    \n
    \n
    Lynked Platform
    \n
    \n Excepteur sint occaecat cupidatat non proident, sunt in culpa\n qui.\n
    \n
    \n Excepteur sint occaecat cupidatat non proident, sunt in culpa\n qui officia deserunt mollit anim id est laborum.\n
    \n
    \n
    \n
    \n
    \n \"\"\n
    \n
    \n
    Lynked Platform
    \n
    \n Excepteur sint occaecat cupidatat non proident, sunt in culpa\n qui.\n
    \n
    \n Excepteur sint occaecat cupidatat non proident, sunt in culpa\n qui officia deserunt mollit anim id est laborum.\n
    \n
    \n
    \n
    \n
    */}\n
    \n {/* {openModalCheckEmail && (\n setOpenModalCheckEmail(value)}\n closeOutsideClick={false}\n >\n
    \n \"\"\n
    \n Please check your emails for account approval\n
    \n
    \n \n )} */}\n {/* {passwordVerificationToken && (\n setOpenModalCheckEmail(value)}\n closeOutsideClick={false}\n >\n
    \n \n
    \n
    Create Password
    \n
    \n This is your password for accessing your new Lynked portal for\n viewing all your customer activity.\n
    \n
    \n {\n if (passwordFormErrorMessage)\n setPasswordFormErrorMessage(\"\");\n setPassword(value);\n }}\n />\n
    \n
    \n {\n if (passwordFormErrorMessage)\n setPasswordFormErrorMessage(\"\");\n setPasswordConfirmation(value);\n }}\n />\n
    \n {passwordFormErrorMessage && (\n
    \n {passwordFormErrorMessage}\n
    \n )}\n \n
    \n \n
    \n \n )} */}\n \n );\n};\n\nexport default RegistrationPersonalInformation;\n","import { RegisterPersonalInfoInterface } from \"../../../../types/registration\";\nimport axios from \"../../../../api/api\";\n\nexport const registerPersonalInfo = (\n data: RegisterPersonalInfoInterface\n): Promise => {\n const requestFormData = new FormData();\n\n requestFormData.append(\"email\", data.email);\n requestFormData.append(\"first_name\", data.first_name);\n requestFormData.append(\"last_name\", data.last_name);\n requestFormData.append(\"phone\", data.phone);\n requestFormData.append(\"business_name\", data.business_name);\n requestFormData.append(\"business_size\", data.business_size);\n requestFormData.append(\"subscription\", data.subscription ?? \"\");\n requestFormData.append(\"vat_number\", data.vat_number ?? \"\");\n requestFormData.append(\"currency\", data.currency ?? '1');\n\n return axios\n .post(\"/public/register-personal-info\", requestFormData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n};\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nexport const Wrapper = styled.div`\n flex-grow: 1;\n max-height: inherit;\n overflow-y: auto;\n display: flex;\n justify-content: center;\n align-items: center;\n color: ${Color.blueDarkText};\n background-color: rgba(0, 13, 70, 0.03);\n .check-email-content {\n text-align: center;\n padding: 60px 50px;\n @media (max-width: 600px) {\n padding: 30px 15px;\n }\n img {\n max-width: 100%;\n width: 185px;\n margin-bottom: 30px;\n }\n .title {\n color: ${Color.blueDarkText};\n font-weight: 500;\n font-size: 48px;\n letter-spacing: 0;\n line-height: 61px;\n text-align: center;\n max-width: 600px;\n margin: 0 auto;\n @media (max-width: 600px) {\n font-size: 30px;\n line-height: 28px;\n }\n }\n }\n`;\n","import React from \"react\";\n\nimport checkEmailImg from \"src/assets/img/check-your-email.svg\";\n\nimport { Wrapper } from \"./styled\";\n\nconst RegistrationAccountCheckEmail: React.FC = () => {\n return (\n \n
    \n \"\"\n

    Please check your emails for account approval

    \n
    \n
    \n );\n};\n\nexport default RegistrationAccountCheckEmail;\n","import { RegisterCreatePasswordInfoInterface } from \"../../../../types/registration\";\nimport axios from \"../../../../api/api\";\n\nexport const registerCreatePassword = (\n data: RegisterCreatePasswordInfoInterface\n): Promise => {\n const requestFormData = new FormData();\n\n requestFormData.append(\"password\", data.password);\n requestFormData.append(\"confirm_password\", data.confirm_password);\n requestFormData.append(\"verification_token\", data.verification_token ?? \"\");\n\n return axios\n .post(\"/public/create-password\", requestFormData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n};\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nexport const Wrapper = styled.div`\n flex-grow: 1;\n max-height: inherit;\n overflow-y: auto;\n display: flex;\n justify-content: center;\n align-items: center;\n color: ${Color.blueDarkText};\n background-color: rgba(0, 13, 70, 0.03);\n .create-password-content {\n max-width: 450px;\n box-sizing: border-box;\n form {\n text-align: center;\n padding: 30px 20px;\n .form-group {\n margin-bottom: 25px;\n }\n }\n .title {\n color: ${Color.blueDarkText};\n font-size: 40px;\n font-weight: 500;\n line-height: 51px;\n margin-bottom: 10px;\n @media (max-width: 600px) {\n font-size: 26px;\n line-height: 32px;\n }\n }\n .description {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 26px;\n margin-bottom: 25px;\n }\n }\n .lynked-form {\n .form-error-message {\n margin-top: 5px;\n }\n }\n`;\n","import React from \"react\";\n\nimport Input from \"src/components/Input\";\nimport { registerCreatePassword } from \"./api\";\n\nimport { Wrapper } from \"./styled\";\nimport * as Const from \"../../consts\";\nimport { useLocation } from \"react-router-dom\";\n\nconst RegistrationActivateAccount: React.FC<{\n passwordVerificationToken: string | null;\n}> = ({ passwordVerificationToken }) => {\n const location: any = useLocation();\n const [passwordFormLoading, setPasswordFormLoading] =\n React.useState(false);\n const [passwordFormErrorMessage, setPasswordFormErrorMessage] =\n React.useState({});\n const [password, setPassword] = React.useState(\"\");\n const [passwordConfirmation, setPasswordConfirmation] =\n React.useState(\"\");\n\n const handleCreatePassword = (event: React.FormEvent) => {\n event.preventDefault();\n if (password === passwordConfirmation) {\n setPasswordFormLoading(true);\n registerCreatePassword({\n password,\n confirm_password: passwordConfirmation,\n verification_token: passwordVerificationToken,\n })\n .then((response) => {\n setPasswordFormLoading(false);\n if (response.data.status === true && response.data.sessionId) {\n const serchParams = new URLSearchParams(location.search)\n const token = serchParams.get(\n Const.verificationToken\n );\n serchParams.delete('verification_token')\n serchParams.set('account_information_token', `${token}`)\n window.location.replace(`${location.pathname}?account_information_token=${serchParams.get(Const.accountInformationToken)}`)\n\n } else {\n setPasswordFormErrorMessage(response.data.errors);\n }\n })\n .catch((error) => {\n setPasswordFormErrorMessage(error.data.errors);\n setPasswordFormLoading(false);\n });\n } else {\n setPasswordFormErrorMessage({\n confirm_password: \"The password confirmation does not match\",\n });\n }\n };\n\n return (\n \n
    \n \n
    \n
    Create Password
    \n
    \n This will be your password to log in to the Lynked business\n portal. Here you can manage your loyalty program and monitor store\n performance.\n
    \n
    \n {\n if (passwordFormErrorMessage) setPasswordFormErrorMessage(\"\");\n setPassword(value);\n }}\n error={passwordFormErrorMessage.password}\n />\n
    \n
    \n {\n if (passwordFormErrorMessage) setPasswordFormErrorMessage(\"\");\n setPasswordConfirmation(value);\n }}\n error={\n passwordFormErrorMessage?.confirm_password\n ? passwordFormErrorMessage.confirm_password\n : passwordFormErrorMessage?.verification_token\n ? passwordFormErrorMessage.verification_token\n : passwordFormErrorMessage?.stripe\n ? passwordFormErrorMessage.stripe\n : \"\"\n }\n />\n
    \n \n
    \n \n
    \n
    \n );\n};\n\nexport default RegistrationActivateAccount;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nexport const Wrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 15px;\n width: 100%;\n\n .range_wrapper {\n position: relative;\n width: 100%;\n }\n .input_range {\n appearance: none;\n width: 100%;\n height: 6px;\n border-radius: 4px;\n cursor: pointer;\n outline: none;\n box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);\n transition: box-shadow 0.3s ease-out;\n &::-webkit-slider-thumb {\n appearance: none;\n height: 20px;\n width: 20px;\n box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);\n border-radius: 50%;\n transition: box-shadow 0.3s ease-out;\n }\n &::-moz-range-thumb {\n appearance: none;\n height: 30px;\n width: 30px;\n box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);\n border-radius: 50%;\n transition: box-shadow 0.3s ease-out;\n }\n }\n .current_value_range {\n position: absolute;\n top: -20px;\n font-size: 13px;\n font-weight: 500;\n line-height: 15px;\n }\n .diapason_range {\n font-size: 15px;\n font-weight: 500;\n line-height: 15px;\n }\n .blue_range {\n &::-webkit-slider-thumb {\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n }\n &::-moz-range-thumb {\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n }\n &:hover,\n &:focus-visible {\n box-shadow: 0px 0px 8px 2px rgba(81, 92, 221, 0.4);\n &::-webkit-slider-thumb {\n box-shadow: 0px 0px 8px 2px rgba(81, 92, 221, 0.4);\n }\n &::-moz-range-thumb {\n box-shadow: 0px 0px 8px 2px rgba(81, 92, 221, 0.4);\n }\n }\n }\n`;\n","import React, { ChangeEvent } from \"react\";\nimport { IRange } from \"./types\";\nimport { Wrapper } from \"./styled\";\n\nconst Range = ({\n minValue,\n maxValue,\n theme = \"blue\",\n colorProgressBefore = \"#515CDD\",\n colorProgressAfter = \"#FFFFFF\",\n labelMin,\n labelMax,\n step = 1,\n value,\n onChange,\n}:IRange) => {\n const themeClassName = {\n blue: \"blue_range\",\n }[theme];\n\n const firstOperand = value - minValue;\n const secondOperand = maxValue - minValue;\n\n const minDiapason = labelMin ?? minValue;\n const maxDiapason = labelMax ?? maxValue;\n\n const handleChange = (e: ChangeEvent) => {\n if (onChange) {\n onChange(+e.target.value);\n }\n };\n return (\n \n {minDiapason}\n
    \n \n \n {value}\n \n
    \n {maxDiapason}\n
    \n );\n};\n\nexport default Range;\n","import React from \"react\";\n\ninterface IFormErrorProps {\n formErrorMessages: any;\n field: string;\n}\n\nconst FormError = ({ formErrorMessages, field }: IFormErrorProps) => {\n return (\n <>\n {formErrorMessages && formErrorMessages[field] ? (\n
    {formErrorMessages[field]}
    \n ) : null}\n \n );\n};\n\nexport default FormError;\n","import styled, { keyframes } from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst uploadKeyFrames = keyframes`\n 0% {\n transform: translateY(8px);\n }\n 50% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(8px);\n }\n`;\n\nconst Wrapper = styled.div`\n flex-grow: 1;\n max-height: inherit;\n overflow-y: auto;\n padding: 50px 40px 100px 100px;\n color: ${Color.blueDarkText};\n background-color: rgba(0, 13, 70, 0.03);\n\n .checkbox_links {\n background: linear-gradient(0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n\n @media (max-width: 1200px) {\n padding: 40px 30px 40px 50px;\n }\n @media (max-width: 600px) {\n padding: 40px 15px;\n }\n\n .switch_label {\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 10px;\n color: ${Color.blueDarkText};\n }\n\n .title-block {\n margin-bottom: 30px;\n\n .title {\n color: ${Color.blueDarkText};\n font-size: 48px;\n font-weight: 500;\n line-height: 61px;\n margin-bottom: 10px;\n @media (max-width: 768px) {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n .sub-title {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 28px;\n max-width: 600px;\n }\n }\n\n .build_card_wrapper {\n position: relative;\n display: flex;\n justify-content: space-between;\n gap: 40px;\n\n .build_card_left {\n flex-basis: 50%;\n border-right: 1px solid #d8d8d8;\n padding-right: 40px;\n\n .label {\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 10px;\n text-align: left;\n }\n\n .form-group {\n margin-bottom: 30px;\n\n .dropZone {\n display: flex;\n flex-direction: column;\n height: 100%;\n\n & > div {\n position: relative;\n height: 100%;\n border: 1.5px dashed ${Color.blueDarkText};\n border-radius: 4px;\n background-color: rgba(255, 255, 255, 0.09);\n outline: none;\n padding: 30px;\n cursor: pointer;\n transition: all 0.225s cubic-bezier(0.77, 0.2, 0.05, 1);\n\n &.active_true {\n border-color: ${Color.blueDarkText};\n box-shadow: 0px 0px 9px 1px rgb(0 0 0 / 35%);\n }\n\n input {\n max-width: 100%;\n display: block !important;\n position: absolute;\n bottom: 0;\n right: 0;\n left: 0;\n margin: auto;\n opacity: 0;\n z-index: -1;\n }\n\n & > div {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: 100%;\n\n & > svg {\n margin-bottom: 5px;\n animation: ${uploadKeyFrames} 2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n\n path:last-child {\n fill: ${Color.blueDarkText};\n }\n }\n\n .text {\n color: ${Color.blueDarkText};\n text-align: center;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n span {\n margin-bottom: 5px;\n }\n\n .title {\n font-size: 18px;\n font-weight: 300;\n line-height: 23px;\n }\n\n .description {\n opacity: 0.6;\n font-size: 12px;\n font-weight: 300;\n line-height: 15px;\n }\n\n .file-name {\n font-size: 21px;\n font-weight: 300;\n line-height: 23px;\n }\n }\n }\n }\n }\n\n .control_switch {\n position: relative;\n display: flex;\n align-items: center;\n max-width: 190px;\n padding: 2px;\n border: 1px solid #e4e4e4;\n border-radius: 4px;\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n background-color: white;\n overflow: hidden;\n\n &::before {\n content: \"\";\n position: absolute;\n top: 2px;\n left: 2px;\n width: 48%;\n height: 90%;\n background: linear-gradient(0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%);\n border-radius: 4px;\n transition: left 0.3s ease;\n }\n\n &_right {\n &::before {\n left: 51%;\n transition: left 0.3s ease;\n }\n }\n }\n\n .btn_switch {\n width: 50%;\n font-size: 16px;\n font-weight: 300;\n letter-spacing: 0;\n line-height: 20px;\n color: ${Color.greyLight};\n padding: 9px 18px;\n z-index: 2;\n transition: color 0.3s ease;\n background-color: transparent;\n\n &_active {\n color: ${Color.white};\n }\n }\n\n .checkbox-view {\n background-color: ${Color.blueDarkText};\n }\n }\n\n .form-group_two {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 30px;\n\n & > div:first-child {\n flex-basis: 70%;\n }\n\n & > div:last-child {\n width: 150px;\n\n & > * {\n margin-bottom: 0;\n }\n }\n\n .or {\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n }\n\n @media (max-width: 550px) {\n flex-wrap: wrap;\n margin-top: 30px;\n & > div:first-child {\n flex-basis: 95%;\n }\n\n & > div:last-child {\n width: 150px;\n\n & > * {\n margin-bottom: 0;\n }\n }\n }\n }\n }\n\n .build_card_right {\n flex-basis: 50%;\n position: sticky;\n top: -25px;\n height: 100%;\n\n .card-preview {\n overflow: hidden;\n width: 335px;\n border-radius: 15px;\n background-color: ${Color.white};\n box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);\n padding: 25px;\n padding-bottom: 0;\n box-sizing: border-box;\n\n .top {\n display: flex;\n align-items: flex-start;\n margin-bottom: 25px;\n\n .logo {\n line-height: 0;\n margin-right: 15px;\n\n img {\n object-fit: cover;\n height: 60px;\n width: 60px;\n border-radius: 100%;\n }\n }\n\n .right {\n width: calc(100% - 75px);\n }\n\n .name-notificationCount {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: 4px;\n\n .name {\n font-family: \"Averta Std ExtraBold\";\n font-size: 16px;\n line-height: 19px;\n color: #2f3640;\n }\n\n .notification-count {\n display: flex;\n align-items: center;\n\n .notification {\n margin-right: 15px;\n }\n\n .reward_level {\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid ${Color.blue};\n border-radius: 50%;\n width: 18px;\n height: 18px;\n background-color: ${Color.white};\n padding-top: 1px;\n box-sizing: border-box;\n color: ${Color.blue};\n font-size: 12px;\n font-weight: 300;\n }\n\n @media (max-width: 400px) {\n flex-wrap: wrap;\n .notification {\n flex-basis: 100%;\n margin-right: 0px;\n }\n\n .count {\n flex-basis: 100%;\n }\n }\n }\n }\n\n .info {\n font-family: \"Averta Std Semibold\";\n\n .title {\n color: #bcbcbc;\n font-size: 12px;\n font-weight: 500;\n line-height: 14px;\n margin-right: 3px;\n }\n\n .content {\n color: ${Color.grey};\n font-size: 12px;\n font-weight: 500;\n line-height: 14px;\n }\n }\n }\n\n .promotion-count {\n display: flex;\n align-items: center;\n gap: 10px;\n flex-wrap: wrap;\n\n .promotion-item {\n width: 49px;\n height: 40px;\n\n img {\n width: 100%;\n height: 100%;\n }\n\n .promotion-item-icon {\n margin: auto;\n width: max-content;\n }\n\n .promotion-item-icon-number {\n font-family: \"Averta Std ExtraBold\";\n color: #ffffff;\n position: absolute;\n top: -1px;\n left: -3px;\n font-size: 9px;\n width: -webkit-fill-available;\n height: -webkit-fill-available;\n text-align: center;\n line-height: 49px;\n }\n }\n\n .promotion_done {\n width: 49px;\n height: 40px;\n\n img {\n width: 100%;\n height: 100%;\n }\n }\n\n .points-progress-line {\n width: 100%;\n display: flex;\n\n .progress-line {\n width: calc(100% - 85px);\n margin-right: 10px;\n border-radius: 4px;\n color: ${Color.white};\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n padding: 8px 15px;\n /* &.full { */\n background: #5771e1;\n /* } */\n /* &.empty {\n background-color: #dcdef7;\n color: ${Color.blueDarkText};\n } */\n }\n\n .progress-done {\n position: relative;\n line-height: 0;\n width: 75px;\n\n .text {\n position: absolute;\n top: 7px;\n left: 5px;\n color: ${Color.white};\n font-size: 10px;\n font-weight: 300;\n line-height: 11px;\n width: 45px;\n word-wrap: break-word;\n }\n\n .dark-text {\n color: ${Color.blueDarkText};\n }\n }\n }\n }\n\n &.full {\n .promotion-count {\n .promotion-item {\n svg {\n g {\n opacity: 1;\n }\n\n path {\n fill: ${Color.blue};\n }\n }\n }\n }\n }\n\n @media (max-width: 400px) {\n padding: 20px 10px;\n }\n\n .progress_wrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n padding-top: 8px;\n }\n\n .progress_line_wrapper {\n flex-grow: 1;\n }\n\n .progress_reward {\n display: flex;\n width: 70px;\n height: 32px;\n margin-left: 20px;\n text-transform: uppercase;\n color: ${Color.white};\n border-radius: 4px;\n overflow: hidden;\n\n .progress_reward_off {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n background-color: ${Color.orange};\n width: 16px;\n font-size: 6px;\n writing-mode: vertical-rl;\n }\n\n .progress_reward_one {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ${Color.blue};\n font-size: 9px;\n font-weight: 500;\n padding: 4px;\n }\n }\n\n .progress_count {\n font-size: 12px;\n font-weight: 500;\n line-height: 12px;\n margin-bottom: 10px;\n color: ${Color.greyMedium};\n }\n\n .progress_indicator {\n width: 100%;\n appearance: none;\n border-radius: 4px;\n\n &::-webkit-progress-value {\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n border-radius: 4px;\n height: 12px;\n }\n\n &::-webkit-progress-bar {\n background-color: rgba(81, 92, 221, 0.2);\n border-radius: 4px;\n height: 12px;\n }\n }\n }\n }\n\n @media (max-width: 1100px) {\n flex-wrap: wrap;\n .build_card_left {\n flex-basis: 100%;\n order: 2;\n padding: 0px 5px;\n border-right: none;\n }\n\n .build_card_right {\n flex-basis: 100%;\n position: block !important;\n top: auto;\n\n & > div {\n margin: 0 auto;\n }\n }\n }\n }\n\n .card-bottom {\n height: 45px;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n margin-left: -25px;\n margin-right: -25px;\n position: relative;\n\n .card-bottom-control-button {\n position: absolute;\n width: 26px;\n height: 26px;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n border: 3px solid white;\n top: 0px;\n left: calc(50% - 13px);\n padding: 0;\n }\n\n .bottom-top {\n position: absolute;\n top: 0;\n width: 100%;\n height: 15px;\n border-radius: 0px 0px 15px 15px;\n background-color: white;\n }\n\n // &::after {\n // position: absolute;\n // display: block;\n // content: \"\";\n // border-radius: 50%;\n // width: 35px;\n // height: 35px;\n // top: -35px;\n // left: 0;\n // box-shadow: -15px 15px 0 blue;\n // }\n // &::before {\n // position: absolute;\n // display: block;\n // content: \"\";\n // border-radius: 50%;\n // width: 35px;\n // height: 35px;\n // top: -35px;\n // right: 0;\n // box-shadow: 15px 15px 0 blue;\n // }\n }\n\n .card-closed {\n margin-bottom: 0;\n max-height: 1px;\n overflow: hidden;\n transition: max-height 0.5s ease-in, margin-bottom 0.3s ease-out;\n }\n\n .card-opened {\n margin-bottom: 14px;\n max-height: 150px;\n transition: max-height 0.5s ease-in, margin-bottom 0.2s ease-out;\n }\n\n .card-bottom-control-button:hover {\n transition: transform 0.8s ease-in-out;\n background: #ec9345;\n }\n\n .card-button-closed {\n .card-bottom-control-button {\n transition: transform 0.8s ease-in-out;\n transform: rotate(180deg);\n }\n }\n\n .card-button-opened {\n .card-bottom-control-button {\n transform: rotate(360deg);\n }\n }\n\n .lynked-form {\n .form-error-message {\n margin-top: 5px;\n }\n\n .form_title {\n font-size: 20px;\n font-weight: 500;\n margin-bottom: 5px;\n }\n\n .form_sub_title {\n font-size: 14px;\n font-weight: 300;\n line-height: 18px;\n opacity: 0.6;\n }\n\n .reward_block {\n margin: 30px 0 45px;\n }\n\n .reward_label_wrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 10px;\n @media (max-width: 450px) {\n flex-wrap: wrap;\n }\n }\n\n .reward_label {\n font-size: 18px;\n font-weight: 500;\n line-height: 23px;\n margin-right: 10px;\n }\n\n .reward_inputs {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n\n & > * {\n margin: 5px 0;\n max-width: 225px;\n }\n\n & > *:last-child {\n flex-basis: 100%;\n max-width: 100%;\n }\n\n .isSelect {\n width: 100%;\n padding-bottom: 12px;\n }\n\n @media (max-width: 1475px) {\n & > * {\n max-width: 100%;\n flex-basis: 100%;\n }\n }\n }\n }\n`;\n\nexport const DaysWrapperDiv = styled.div`\n position: relative;\n`;\n\nexport const SpanInputText = styled.span`\n position: absolute;\n top: 24px;\n left: 55px;\n font-size: 18px;\n color: ${Color.blueDarkText};\n`\n\nexport { Wrapper };\n","import React, { useState, useEffect } from \"react\";\nimport { useDropzone } from \"react-dropzone\";\n\nimport Input from \"src/components/Input\";\nimport Select from \"src/components/Select\";\nimport Range from \"src/components/Range\";\nimport Card from \"src/components/Card\";\nimport CheckBox from \"src/components/CheckBox\";\nimport { ReactComponent as UploadIcon } from \"src/assets/img/upload.svg\";\nimport { AccountInformationInterface } from \"src/types/registration\";\n\nimport { businessType } from \"src/types/businessType\";\nimport { SelectorListObj } from \"src/components/Select/types\";\nimport { stampIcon } from \"src/types/stampIcon\";\nimport FormError from \"../../../../components/FormError/FormError\";\nimport {\n registerYourCompany,\n getBusinessTypesAxios,\n getStampIconsAxios, getActivateDaysAxios\n} from \"./api\";\nimport * as Const from \"../../consts\";\nimport { StampIconAdditionalData } from \"./types\";\nimport { DaysWrapperDiv, Wrapper, SpanInputText } from \"./styled\";\n\nconst RegistrationBuildYourCard: React.FC<{\n accountInformationToken: string | null;\n goToStep: (step: number) => void;\n}> = ({ accountInformationToken, goToStep }) => {\n const [formErrorMessage, setFormErrorMessage] = React.useState({});\n const [isLoading, setIsLoading] = React.useState(false);\n const [accountInformation, setAccountInformation] =\n useState({\n companyName: \"\",\n businessType: \"\",\n stampIcon: \"\",\n promotionType: 1,\n stampName: \"\",\n rewardInformation: \"\",\n rewardCode: \"\",\n maxNumberPromotion: 9,\n promotionLabel: \"\",\n first_checkIn: 0,\n rewards: [\n {\n pointsAmount: 0,\n reward: \"\",\n rewardNumber: 0,\n rewardDetails: \"\",\n dateExpire: 0,\n activateAfter: 0\n },\n // {\n // pointsAmount: 0,\n // reward: \"\",\n // rewardNumber: 0,\n // rewardDetails: \"\",\n // dateExpire: 0,\n // activateAfter: 0\n // },\n // {\n // pointsAmount: 0,\n // reward: \"\",\n // rewardNumber: 0,\n // rewardDetails: \"\",\n // dateExpire: 0,\n // activateAfter: 0\n // },\n // {\n // pointsAmount: 0,\n // reward: \"\",\n // rewardNumber: 0,\n // rewardDetails: \"\",\n // dateExpire: 0,\n // activateAfter: 0\n // },\n // {\n // pointsAmount: 0,\n // reward: \"\",\n // rewardNumber: 0,\n // rewardDetails: \"\",\n // dateExpire: 0,\n // activateAfter: 0\n // }\n ]\n });\n\n const [defValueForNumPromotion, setDefValueForNumPromotion] = useState(\n Const.stampList[4]\n );\n\n const [openExpireDateReward, setOpenExpireDateReward] = useState(\n []\n );\n\n // const {\n // promotionCategories,\n // promotionCategoriesEnable,\n // // promotionTypes,\n // // promotionTypesEnable,\n // } = useTypedSelector((state) => state.promotion);\n\n const getValue = (type: string, value: number | string) => {\n setFormErrorMessage({});\n setAccountInformation({ ...accountInformation, [type]: value });\n };\n\n // const onDrop = (acceptedFiles: any) => {\n const onDrop = () => {\n // setAdditionalInformation({\n // ...additionalInformation,\n // logo: acceptedFiles[0],\n // });\n };\n\n const { acceptedFiles, isDragActive, getRootProps, getInputProps } =\n useDropzone({\n accept: [\"image/jpeg\", \"image/jpg\", \"image/png\"],\n multiple: false,\n onDrop,\n });\n\n const handleAccountInformation = (event: React.FormEvent) => {\n event.preventDefault();\n if (accountInformationToken !== null) {\n setIsLoading(true);\n registerYourCompany(\n accountInformation,\n accountInformationToken,\n acceptedFiles\n )\n .then(() => {\n goToStep(8);\n setIsLoading(false);\n })\n .catch((error) => {\n setFormErrorMessage(error.data.errors);\n setIsLoading(false);\n });\n }\n // setAdditionalInformationRegistration(additionalInformation);\n };\n\n const [businessTypeList, setBusinessTypeList] = useState>([]);\n\n const [stampIconList, setStampIconList] = useState>(\n []\n );\n\n const [activateDaysList, setActivateDaysList] = useState>(\n []\n );\n\n const [cardClosed, setCardClosed] = useState(true);\n\n useEffect(() => {\n getBusinessTypesAxios().then((response) => {\n setBusinessTypeList(\n response.data.businessTypes.map((_businessType: businessType) => {\n return {\n value: _businessType.id,\n label: _businessType.display_name,\n };\n })\n );\n });\n\n getActivateDaysAxios().then((response) => {\n setActivateDaysList(response.data.activateDays);\n });\n\n getStampIconsAxios().then((response) => {\n setStampIconList(\n response.data.stampIcons.map((_stampIcon: stampIcon) => {\n return {\n value: _stampIcon.id,\n label: _stampIcon.display_name,\n additional: {\n icon_name: _stampIcon.name,\n single_item: _stampIcon.single_item,\n },\n };\n })\n );\n });\n }, []);\n\n const setInputValue = (value: string, index: number) => {\n const newInfo = {\n ...accountInformation\n };\n\n if (newInfo.rewards) {\n newInfo.rewards[index].dateExpire = +value;\n setAccountInformation(newInfo);\n }\n }\n\n return (\n \n
    \n
    Lets Build Your Card
    \n
    \n Complete the fields below to build a loyalty card for your business.\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    {/*eslint-disable-line*/}\n {/*eslint-disable-line*/}\n
    \n \n {acceptedFiles.length ? (\n \n \n {acceptedFiles[0].name}\n \n \n ) : (\n \n \n Please upload your logo we want to personalize your\n loyalty card\n \n \n (logo should be 1080 x 1080px)\n \n \n )}\n
    \n
    \n
    \n \n
    \n
    \n getValue(\"companyName\", value)}\n error={formErrorMessage.name}\n />\n {/* */}\n
    \n {accountInformation.promotionType === 2 ?\n
    \n \n value.trim() ? getValue(\"first_checkIn\", value.trim()) : getValue(\"first_checkIn\", '0')\n }\n />\n
    : null}\n
    \n getValue(\"businessType\", value)}\n hideSelectorFilter\n />\n \n
    \n

    Please select Stamps or Points

    \n
    \n \n \n setAccountInformation({\n ...accountInformation,\n promotionType: 1,\n })\n }\n >\n Stamps\n \n \n setAccountInformation({\n ...accountInformation,\n promotionType: 2,\n })\n }\n >\n Points\n \n
    \n \n
    \n {accountInformation.promotionType === 1 ? (\n <>\n
    \n {\n const stampIconData: StampIconAdditionalData =\n additional as StampIconAdditionalData;\n const accountInformationState: AccountInformationInterface =\n {\n ...accountInformation,\n };\n\n accountInformationState.stampIcon = value;\n accountInformationState.stampName =\n stampIconData.icon_name;\n\n setAccountInformation(accountInformationState);\n }}\n hideSelectorFilter\n />\n \n
    \n

    Select Loyalty Rewards Level

    \n
    \n
    \n {\n const curValue = Const.stampList.find(\n (stamp) => stamp.value === value\n );\n setDefValueForNumPromotion(\n curValue || Const.stampList[0]\n );\n getValue(\"maxNumberPromotion\", value);\n }}\n />\n
    \n or\n
    \n \n getValue(\"maxNumberPromotion\", value)\n }\n hideSelectorFilter\n />\n
    \n \n
    \n {/*
    \n getValue(\"address\", value)}\n getLat={(value) => getValue(\"latitude\", value)}\n getLng={(value) => getValue(\"longitude\", value)}\n />\n
    \n
    \n \n
    */}\n {/*
    \n getValue(\"promotionLabel\", value)}\n error={formErrorMessage.promotion_label}\n />\n \n
    */}\n
    \n getValue(\"rewardInformation\", value)}\n error={formErrorMessage.details}\n />\n
    \n \n ) : (\n <>\n
    \n getValue(\"rewardInformation\", value)}\n error={formErrorMessage.details}\n />\n
    \n

    Let's add your reward

    \n

    \n Please enter your points and reward for each milestone\n below.\n
    Please remember €1 = 1 point\n

    \n {accountInformation.rewards?.map(\n (\n { rewardDetails, reward, dateExpire, rewardNumber , pointsAmount },\n i\n ) => (
    \n
    \n
    {`Reward`}
    \n {/*{i ? (*/}\n {/* {*/}\n {/* const newInfo = {*/}\n {/* ...accountInformation*/}\n {/* };*/}\n {/* */}\n {/* if (isChecked) {*/}\n {/* if (newInfo.rewards) {*/}\n {/* */}\n {/* newInfo.rewards[i] = structuredClone(newInfo.rewards[i - 1]);*/}\n {/* */}\n {/* setAccountInformation(newInfo);*/}\n {/* }*/}\n {/* } else {*/}\n {/* if (newInfo.rewards) {*/}\n {/* newInfo.rewards[i] = {*/}\n {/* ...newInfo.rewards[i],*/}\n {/* pointsAmount: 0,*/}\n {/* reward: \"\",*/}\n {/* rewardNumber: 0,*/}\n {/* rewardDetails: \"\",*/}\n {/* dateExpire: 0,*/}\n {/* activateAfter: 0*/}\n {/* };*/}\n {/* }*/}\n {/* setAccountInformation(newInfo);*/}\n {/* }*/}\n {/* }}*/}\n {/* />*/}\n {/*) : null}*/}\n
    \n
    \n {\n const newInfo = {...accountInformation};\n if (newInfo.rewards) {\n newInfo.rewards[i].pointsAmount = +value;\n setAccountInformation(newInfo);\n }\n }}\n error={\n formErrorMessage?.points\n ? formErrorMessage?.points[i].pointsAmount\n : null\n }\n defaultValue={pointsAmount}\n />\n {\n const newInfo = {...accountInformation};\n if (newInfo.rewards) {\n newInfo.rewards[i].rewardNumber = value;\n setAccountInformation(newInfo);\n }\n }}\n defaultValue={`${rewardNumber}`}\n error={\n formErrorMessage?.points\n ? formErrorMessage?.points[i].rewardNumber\n : null\n }\n type={'number'}\n />\n {\n const newInfo = {...accountInformation};\n if (newInfo.rewards) {\n newInfo.rewards[i].reward = value;\n setAccountInformation(newInfo);\n }\n }}\n defaultValue={reward}\n />\n {\n const newInfo = {...accountInformation};\n if (newInfo.rewards) {\n newInfo.rewards[i].rewardDetails = value;\n setAccountInformation(newInfo);\n }\n }}\n defaultValue={rewardDetails}\n error={\n formErrorMessage?.points\n ? formErrorMessage?.points[i].rewardDetails\n : null\n }\n />\n {\n const newInfo = {...accountInformation};\n \n if (newInfo.rewards) {\n newInfo.rewards[i].activateAfter = +value;\n setAccountInformation(newInfo);\n }\n }}\n />\n
    \n {\n setOpenExpireDateReward((currValues) => {\n if (isChecked) {\n if (currValues.includes(i)) {\n return currValues;\n }\n const newInfo = {...accountInformation};\n if (newInfo.rewards) {\n newInfo.rewards[i].dateExpire = 30;\n setAccountInformation(newInfo);\n }\n return [...currValues, i];\n }\n const newInfo = {...accountInformation};\n if (newInfo.rewards) {\n newInfo.rewards[i].dateExpire = 0;\n setAccountInformation(newInfo);\n }\n return currValues.filter((key) => key !== i);\n });\n }}\n />\n {openExpireDateReward.includes(i) ||\n !!dateExpire ? (\n // {\n // const newInfo = { ...accountInformation };\n // if (newInfo.rewards) {\n // newInfo.rewards[i].dateExpire = +value;\n // setAccountInformation(newInfo);\n // }\n // }}\n // hideSelectorFilter\n // />\n \n setInputValue(value, i)}\n />\n {accountInformation?.rewards?.[i].dateExpire ? days : null}\n \n \n ) : null}\n
    \n
    \n
    \n )\n )}\n \n )}\n
    \n \n
    \n \n \n
    \n \n
    \n
    \n

    \n What your card looks like to customers...\n

    \n \n
    \n \n
    \n );\n};\n\nexport default RegistrationBuildYourCard;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n flex-grow: 1;\n max-height: inherit;\n overflow-y: auto;\n display: flex;\n padding: 40px 40px 40px 100px;\n color: ${Color.blueDarkText};\n background-color: rgba(0, 13, 70, 0.03);\n\n @media (max-width: 1200px) {\n padding: 40px 30px 40px 50px;\n }\n @media (max-width: 600px) {\n padding: 40px 15px;\n }\n\n .registration_locations {\n margin: auto 0;\n width: 100%;\n }\n .location_title {\n font-size: 48px;\n font-weight: 500;\n line-height: 61px;\n margin-bottom: 10px;\n\n @media (max-width: 768px) {\n font-size: 30px;\n line-height: 40px;\n }\n }\n .location_text {\n font-size: 16px;\n font-weight: 300;\n opacity: 0.6;\n line-height: 24px;\n max-width: 470px;\n margin-bottom: 25px;\n }\n .location_form {\n .form_group {\n margin-bottom: 30px;\n display: flex;\n align-items: flex-start;\n flex-wrap: wrap;\n .phone-wrap {\n width: 400px;\n @media (max-width: 700px) {\n width: 100%;\n }\n }\n }\n .two_items {\n display: flex;\n gap: 20px;\n //align-items: center;\n & > div {\n width: 400px;\n }\n\n @media (max-width: 700px) {\n flex-wrap: wrap;\n & > div {\n width: 100%;\n }\n }\n }\n .btn-blue {\n max-width: 200px;\n }\n }\n .lynked-form {\n position: relative;\n .form-error-message {\n margin-top: 5px;\n }\n }\n`;\n\nexport { Wrapper };\n","import React, { useEffect, useState } from \"react\";\nimport PhoneInput from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/style.css\";\n\nimport InputGoogleAutocomplete from \"src/components/InputGoogleAutocomplete\";\nimport Input from \"src/components/Input\";\n\nimport { Wrapper } from \"./styled\";\nimport { getPlaceName, createFirstLocation } from \"./api\";\n\nconst RegistrationLocations: React.FC<{\n accountInformationToken: string | null;\n goToStep: (step: number) => void;\n}> = ({ accountInformationToken, goToStep }) => {\n const [formErrorMessage, setFormErrorMessage] = useState({});\n const [isLoading, setIsLoading] = React.useState(false);\n\n const [locations, setLocations] = useState<\n {\n id: number;\n address: string;\n latitude: number;\n longitude: number;\n location_name: string;\n phone: string;\n }[]\n >([\n {\n id: 1,\n address: \"\",\n location_name: \"\",\n latitude: NaN,\n longitude: NaN,\n phone: \"\",\n },\n ]);\n const setValue = (type: string, value: any, id: number) => {\n setFormErrorMessage({});\n setLocations((prevLocations) =>\n prevLocations.map((location) =>\n location.id === id\n ? {\n ...location,\n [type]: value,\n }\n : location\n )\n );\n };\n\n const [placeName, setPlaceName] = useState();\n\n useEffect(() => {\n if (accountInformationToken && !placeName) {\n getPlaceName(accountInformationToken).then((response) => {\n setPlaceName(response.data.name);\n });\n }\n });\n const handleSubmit = (event: React.FormEvent) => {\n event.preventDefault();\n if (accountInformationToken) {\n setIsLoading(true);\n createFirstLocation(locations[0], accountInformationToken)\n .then(() => {\n setIsLoading(false);\n goToStep(9);\n })\n .catch((error) => {\n setIsLoading(false);\n setFormErrorMessage(error.data.errors);\n });\n }\n };\n\n return (\n \n
    \n

    Your Business Locations

    \n

    \n Please Enter Your First Business Location to start using Lynked.\n

    \n \n {locations.map((location) => (\n
    \n
    \n setValue(\"address\", value, location.id)}\n getLat={(value) => setValue(\"latitude\", value, location.id)}\n getLng={(value) => setValue(\"longitude\", value, location.id)}\n />\n {formErrorMessage?.address ? (\n
    \n {formErrorMessage.address}\n
    \n ) : null}\n {formErrorMessage?.latitude ? (\n
    \n {formErrorMessage.latitude}\n
    \n ) : null}\n {formErrorMessage?.longitude ? (\n
    \n {formErrorMessage.longitude}\n
    \n ) : null}\n
    \n
    \n \n setValue(\"location_name\", value, location.id)\n }\n error={formErrorMessage.location_name}\n />\n
    \n
    \n

    Phone number

    \n {\n setValue(\"phone\", value, location.id);\n }}\n />\n
    \n
    \n ))}\n {formErrorMessage?.token ? (\n
    {formErrorMessage.token}
    \n ) : null}\n \n \n
    \n
    \n );\n};\n\nexport default RegistrationLocations;\n","var _path, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgDirectionRight(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M12.71 2.29L21.71 11.29C22.1 11.69 22.1 12.32 21.71 12.7L12.71 21.7C12.32 22.09 11.69 22.09 11.3 21.7L2.30001 12.7C1.91001 12.31 1.91001 11.68 2.30001 11.29L11.3 2.29C11.69 1.9 12.32 1.9 12.71 2.29ZM14 12V14.5L17.15 11.36C17.35 11.16 17.35 10.85 17.15 10.65L14 7.5V10H9.00001C8.45001 10 8.00001 10.45 8.00001 11V14C8.00001 14.55 8.45001 15 9.00001 15C9.55001 15 10 14.55 10 14V12H14Z\",\n fill: \"url(#paint0_linear_0_2648)\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_0_2648\",\n x1: 23.4614,\n y1: 25.2829,\n x2: 23.4614,\n y2: 2.3755,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"#515CDD\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"#3FB1FF\"\n })))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgDirectionRight);\nexport default __webpack_public_path__ + \"static/media/direction_right.8498018d.svg\";\nexport { ForwardRef as ReactComponent };","import axios from \"../../../../api/api\";\n\nexport const getPlaceName = (accountInformationToken: string): Promise =>\n axios\n .get(\"/public/place-name\", {\n params: { token: accountInformationToken },\n })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const createFirstLocation = (\n location: any,\n accountInformationToken: string\n): Promise => {\n const requestFormData = new FormData();\n requestFormData.append(\"address\", location.address);\n requestFormData.append(\"latitude\", location.latitude);\n requestFormData.append(\"longitude\", location.longitude);\n requestFormData.append(\"location_name\", location.location_name);\n requestFormData.append(\"token\", accountInformationToken);\n requestFormData.append(\"phone_number\", location.phone);\n\n return axios\n .post(\"/public/create-locations\", requestFormData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n};\n","var _path, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInfoGrad(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 7C11.4477 7 11 7.44772 11 8C11 8.55228 11.4477 9 12 9C12.5523 9 13 8.55228 13 8C13 7.44772 12.5523 7 12 7ZM11.8 11C11.3582 11 11 11.3582 11 11.8V16.2C11 16.6418 11.3582 17 11.8 17H12.2C12.6418 17 13 16.6418 13 16.2V11.8C13 11.3582 12.6418 11 12.2 11H11.8ZM4 12C4 16.41 7.59 20 12 20C16.41 20 20 16.41 20 12C20 7.59 16.41 4 12 4C7.59 4 4 7.59 4 12Z\",\n fill: \"url(#paint0_linear_0_2662)\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_0_2662\",\n x1: 23.4593,\n y1: 25.2912,\n x2: 23.4593,\n y2: 2.3781,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"#515CDD\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"#3FB1FF\"\n })))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgInfoGrad);\nexport default __webpack_public_path__ + \"static/media/info_grad.2d2c919b.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIosShareGrad(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M13 15C13 15.55 12.55 16 12 16C11.45 16 11 15.55 11 15V5.00001H9.21C8.76 5.00001 8.54 4.46001 8.85 4.15001L11.64 1.36001C11.84 1.16001 12.15 1.16001 12.35 1.36001L15.14 4.15001C15.46 4.46001 15.24 5.00001 14.79 5.00001H13V15ZM16 8.00001H18C19.1 8.00001 20 8.90001 20 10V21C20 22.1 19.1 23 18 23H6C4.9 23 4 22.1 4 21V10C4 8.90001 4.9 8.00001 6 8.00001H8C8.55 8.00001 9 8.45001 9 9.00001C9 9.55001 8.55 10 8 10H6V21H18V10H16C15.45 10 15 9.55001 15 9.00001C15 8.45001 15.45 8.00001 16 8.00001Z\",\n fill: \"url(#paint0_linear_0_2653)\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_0_2653\",\n x1: 21.1674,\n y1: 26.5857,\n x2: 21.1674,\n y2: 1.62194,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"#515CDD\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"#3FB1FF\"\n })))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgIosShareGrad);\nexport default __webpack_public_path__ + \"static/media/ios_share_grad.724dea80.svg\";\nexport { ForwardRef as ReactComponent };","import styled, { keyframes } from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst uploadKeyFrames = keyframes`\n 0% {\n transform: translateY(8px);\n }\n 50% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(8px);\n }\n`;\n\nconst Wrapper = styled.div`\n flex-grow: 1;\n max-height: inherit;\n overflow-y: auto;\n display: flex;\n padding: 50px 40px 100px 100px;\n color: ${Color.blueDarkText};\n background-color: rgba(0, 13, 70, 0.03);\n\n @media (max-width: 1200px) {\n padding: 40px 30px 40px 50px;\n }\n @media (max-width: 600px) {\n padding: 40px 10px;\n }\n\n .registration_promotion {\n margin: auto 0;\n width: 100%;\n .btn-blue {\n max-width: 300px;\n font-weight: 300;\n }\n\n .dropZone {\n display: flex;\n flex-direction: column;\n height: 100%;\n margin-bottom: 40px;\n\n & > div {\n position: relative;\n height: 100%;\n border: 1.5px dashed ${Color.blueDarkText};\n border-radius: 4px;\n background-color: rgba(255, 255, 255, 0.09);\n outline: none;\n padding: 30px;\n cursor: pointer;\n transition: all 0.225s cubic-bezier(0.77, 0.2, 0.05, 1);\n\n &.active_true {\n border-color: ${Color.blueDarkText};\n box-shadow: 0px 0px 9px 1px rgb(0 0 0 / 35%);\n }\n\n input {\n max-width: 100%;\n display: block !important;\n position: absolute;\n bottom: 0;\n right: 0;\n left: 0;\n margin: auto;\n opacity: 0;\n z-index: -1;\n }\n\n & > div {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: 100%;\n\n & > svg {\n margin-bottom: 5px;\n animation: ${uploadKeyFrames} 2s cubic-bezier(0.5, 0, 0.5, 1)\n infinite;\n path:last-child {\n fill: ${Color.blueDarkText};\n }\n }\n\n .text {\n color: ${Color.blueDarkText};\n text-align: center;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n span {\n margin-bottom: 5px;\n }\n .title {\n font-size: 18px;\n font-weight: 300;\n line-height: 23px;\n }\n .description {\n opacity: 0.6;\n font-size: 12px;\n font-weight: 300;\n line-height: 15px;\n }\n .file-name {\n font-size: 21px;\n font-weight: 300;\n line-height: 23px;\n }\n }\n }\n }\n }\n\n .control_switch {\n position: relative;\n display: flex;\n align-items: center;\n max-width: 480px;\n padding: 2px;\n margin-bottom: 30px;\n border: 1px solid #e4e4e4;\n border-radius: 4px;\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n background-color: white;\n overflow: hidden;\n &::before {\n content: \"\";\n position: absolute;\n top: 2px;\n left: 2px;\n width: 48.5%;\n height: 90%;\n background: linear-gradient(\n 0deg,\n ${Color.gradientFreeCardFrom} -16.46%,\n ${Color.gradientFreeCardTo} 98.11%\n );\n border-radius: 4px;\n transition: left 0.3s ease;\n }\n &_right {\n &::before {\n left: 51%;\n transition: left 0.3s ease;\n }\n }\n }\n .btn_switch {\n width: 50%;\n font-size: 16px;\n font-weight: 300;\n letter-spacing: 0;\n line-height: 20px;\n color: ${Color.greyLight};\n padding: 9px 1px;\n z-index: 2;\n transition: color 0.3s ease;\n background-color: transparent;\n &_active {\n color: ${Color.white};\n }\n @media (max-width: 500px) {\n font-size: 14px;\n }\n }\n }\n .promotion_title {\n font-size: 48px;\n font-weight: 500;\n line-height: 61px;\n margin-bottom: 10px;\n\n @media (max-width: 768px) {\n font-size: 30px;\n line-height: 40px;\n }\n }\n .promotion_text {\n font-size: 16px;\n font-weight: 300;\n opacity: 0.6;\n line-height: 24px;\n max-width: 600px;\n margin-bottom: 30px;\n }\n /* .promotion_form {\n .form_group {\n margin-bottom: 30px;\n }\n .btn-blue {\n max-width: 200px;\n }\n } */\n .setup_text {\n font-size: 18px;\n font-weight: 500;\n line-height: 23px;\n margin-bottom: 20px;\n }\n .toggle_wrapper {\n max-height: 0;\n overflow: hidden;\n transition: max-height 0.4s ease;\n &_open {\n overflow: visible;\n max-height: 100px;\n transition: max-height 0.4s ease-in;\n }\n }\n .promotion_wrapper {\n position: relative;\n display: flex;\n gap: 40px;\n margin-top: 40px;\n padding: 8px;\n\n .promotion_left {\n flex-basis: 60%;\n border-right: 1px solid #d8d8d8;\n padding-right: 40px;\n\n .promotion_form {\n .form-group {\n margin-bottom: 30px;\n & > div:first-child {\n .react-datepicker-wrapper {\n display: block;\n input {\n width: 100%;\n box-sizing: border-box;\n }\n }\n }\n }\n }\n }\n .promotion_right {\n flex-basis: 45%;\n .sticky_wrapper {\n position: sticky;\n top: -30px;\n }\n .look_text {\n font-size: 15px;\n font-weight: 500;\n line-height: 19px;\n margin-bottom: 13px;\n }\n .promotion_card_look {\n max-width: 300px;\n border-radius: 4px;\n overflow: hidden;\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);\n .img_wrapper {\n position: relative;\n max-width: 320px;\n height: 150px;\n .img_look {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .promotion_deal_text {\n position: absolute;\n top: 12px;\n left: 15px;\n font-size: 12px;\n line-height: 12px;\n color: ${Color.white};\n background-color: ${Color.blue};\n padding: 4px 10px;\n border-radius: 2px;\n }\n }\n .card_bottom {\n position: relative;\n padding: 35px 20px 20px;\n .company_logo_wrapper {\n position: absolute;\n top: -34px;\n left: 15px;\n width: 50px;\n height: 50px;\n border: 8px solid white;\n border-radius: 50%;\n overflow: hidden;\n & > img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n }\n .company_info_wrap {\n display: flex;\n justify-content: space-between;\n margin-bottom: 4px;\n .info_bold {\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n margin-bottom: 4px;\n }\n .company_info_left {\n .company_location {\n font-size: 11px;\n font-weight: 500;\n line-height: 14px;\n color: ${Color.greyMedium};\n }\n }\n .company_info_right {\n text-align: right;\n .company_open {\n font-size: 11px;\n font-weight: 500;\n line-height: 14px;\n color: ${Color.green};\n }\n }\n }\n .card_bottom_wrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n .icon_wrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n * {\n margin-right: 8px;\n width: 22px;\n height: 22px;\n }\n }\n .small_button {\n width: 100px;\n font-size: 14px;\n padding: 4px 6px;\n }\n .gift_info_wrap {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n margin-bottom: 3px;\n }\n .offer_title {\n font-size: 12px;\n font-weight: 500;\n line-height: 14px;\n color: ${Color.greyMedium};\n margin-right: 6px;\n }\n .offer_term_text {\n font-size: 12px;\n font-weight: 400;\n line-height: 14px;\n color: \"000000\";\n }\n }\n }\n }\n @media (max-width: 1100px) {\n flex-wrap: wrap;\n margin-top: 20px;\n .promotion_left {\n flex-basis: 100%;\n border-right: none;\n padding: 0px;\n order: 2;\n }\n .promotion_right {\n flex-basis: 100%;\n }\n .promotion_card_look {\n margin: 0 auto;\n }\n }\n }\n .lynked-form {\n .form-error-message {\n margin-top: 5px;\n }\n }\n`;\n\nexport { Wrapper };\n","import React from \"react\";\nimport {\n // DropEvent,\n // DropzoneOptions,\n // FileRejection,\n useDropzone,\n} from \"react-dropzone\";\n\nimport { ReactComponent as UploadIcon } from \"../../../../assets/img/upload.svg\";\n\nconst DropZone: React.FC<{\n onDrop: (event: any) => void;\n}> = ({ onDrop }) => {\n const { acceptedFiles, isDragActive, getRootProps, getInputProps } =\n useDropzone({\n accept: ['image/jpeg', 'image/jpg', 'image/png'],\n multiple: false,\n onDrop,\n });\n\n return (\n
    {/*eslint-disable-line*/}\n {/*eslint-disable-line*/}\n
    \n \n {acceptedFiles.length ? (\n \n {acceptedFiles[0].name}\n \n ) : (\n \n Please upload your Cover Image\n \n (reccomended size is 1920 x 1080 px)\n \n \n )}\n
    \n
    \n );\n};\n\nexport default DropZone;\n","/* eslint-disable @typescript-eslint/no-non-null-assertion */\nimport React, { useState, useEffect } from \"react\";\n// import { useDropzone } from \"react-dropzone\";\n// import { BrowserRouter, Route, Switch, Redirect } from \"react-router-dom\";\n\nimport { getPromotionsCategoriesAxios } from \"src/api/promotion\";\nimport Input from \"src/components/Input\";\n// import Select from \"src/components/Select\";\n// import Calendar from \"src/components/Calendar\";\n// import { SetupPromotionInterface } from \"src/types/registration\";\nimport userDefaultImg from \"src/assets/img/default-user.jpg\";\nimport { ReactComponent as DirectionRightIcon } from \"src/assets/img/direction_right.svg\";\nimport { ReactComponent as InfoIcon } from \"src/assets/img/info_grad.svg\";\nimport { ReactComponent as ShareIcon } from \"src/assets/img/ios_share_grad.svg\";\n// import { ReactComponent as UploadIcon } from \"src/assets/img/upload.svg\";\n\nimport { Wrapper } from \"./styled\";\nimport DropZone from \"./DropZone\";\nimport {\n welcomePromotionSubmit,\n getPlaceLogo,\n welcomePromotionSubmitWithoutGift,\n} from \"./api\";\n// import workHours from \"./const\";\nimport WorkTime from \"../../../../components/WorkTime/WorkTime\";\n\nconst RegistrationWelcomePromotion: React.FC<{\n accountInformationToken: string | null;\n}> = ({ accountInformationToken }) => {\n const [formErrorMessage, setFormErrorMessage] = useState({});\n const [isLoading, setIsLoading] = React.useState(false);\n\n const [workingTime, setWorkingTime] = useState({\n monday: {\n label: \"Monday\",\n allDay: true,\n isOpen: true,\n from: \"\",\n to: \"\",\n },\n tuesday: {\n label: \"Tuesday\",\n allDay: true,\n isOpen: true,\n from: \"\",\n to: \"\",\n },\n wednesday: {\n label: \"Wednesday\",\n allDay: true,\n isOpen: true,\n from: \"\",\n to: \"\",\n },\n thursday: {\n label: \"Thursday\",\n allDay: true,\n isOpen: true,\n from: \"\",\n to: \"\",\n },\n friday: {\n label: \"Friday\",\n allDay: true,\n isOpen: true,\n from: \"\",\n to: \"\",\n },\n saturday: {\n label: \"Saturday\",\n allDay: true,\n isOpen: true,\n from: \"\",\n to: \"\",\n },\n sunday: {\n label: \"Sunday\",\n allDay: true,\n isOpen: true,\n from: \"\",\n to: \"\",\n },\n });\n\n const [setupPromotion, setSetupPromotion] = useState<{\n // promotionDealId: number | null;\n promotionName: string;\n promotionDetails: string;\n setupWelcomePromotion: boolean;\n openTime: string | null;\n closeTime: string | null;\n }>({\n // promotionDealId: null,\n promotionName: \"\",\n promotionDetails: \"\",\n setupWelcomePromotion: true,\n openTime: null,\n closeTime: null,\n });\n\n const getValue = (type: string, value: any) => {\n setFormErrorMessage({});\n setSetupPromotion((prevInfo) => {\n return { ...prevInfo, [type]: value };\n });\n };\n\n const [promotionDeal, setPromotionDeal] = React.useState<\n [\n {\n value: string | number;\n label: string;\n }\n ]\n >([\n {\n value: \"\",\n label: \"\",\n },\n ]);\n\n const [coverFile, setCoverFile] = React.useState();\n\n const [defaultFields, setDefaultFields] = useState<{\n welcomePromotionLogo: string;\n defaultAddress: string;\n details: string;\n locationName: string;\n type: string | number;\n }>({\n welcomePromotionLogo: \"\",\n defaultAddress: \"\",\n details: \"\",\n locationName: \"\",\n type: 0,\n });\n\n const getPlaceInfo = () => {\n getPlaceLogo(accountInformationToken!).then(({ data }) => {\n setDefaultFields({\n welcomePromotionLogo: data.logo,\n defaultAddress: data.default_address,\n details: data.details,\n locationName: data.locationName,\n type: data.type,\n });\n });\n };\n\n // const [currPromoDeal, setCurrPromoDeal] = useState(\"\");\n\n // const onDrop = (acceptedFiles: any) => {\n // const onDrop = () => {\n // setAdditionalInformation({\n // ...additionalInformation,\n // logo: acceptedFiles[0],\n // });\n // };\n\n // const {\n // acceptedFiles,\n // isDragActive,\n // getRootProps,\n // getInputProps,\n // } = useDropzone({\n // accept: \"image/*\",\n // multiple: false,\n // onDrop,\n // });\n\n const handleAccountInformation = (event: React.FormEvent) => {\n event.preventDefault();\n if (accountInformationToken && coverFile) {\n setIsLoading(true);\n welcomePromotionSubmit(\n { ...setupPromotion },\n accountInformationToken,\n coverFile,\n workingTime\n )\n .then(() => {\n setIsLoading(false);\n window.location.href = \"/login\";\n })\n .catch((error) => {\n setIsLoading(false);\n setFormErrorMessage(error.data.errors);\n });\n }\n // setAdditionalInformationRegistration(additionalInformation);\n };\n\n const handleAccountInformationWOGift = (event: React.FormEvent) => {\n event.preventDefault();\n setIsLoading(true);\n welcomePromotionSubmitWithoutGift(\n accountInformationToken ?? \"\",\n coverFile!,\n workingTime\n )\n .then(() => {\n window.location.href = \"/login\";\n })\n .finally(() => setIsLoading(false));\n };\n\n const getPromotionDealList = () => {\n if (promotionDeal.length === 1) {\n getPromotionsCategoriesAxios().then((response) => {\n const arr: any = [];\n response.data.promotion_details.map((item: any) =>\n arr.push({\n value: item.id,\n label: item.name,\n })\n );\n setPromotionDeal(arr);\n });\n }\n };\n\n useEffect(() => {\n getPromotionDealList();\n getPlaceInfo();\n }, []);//eslint-disable-line\n\n return (\n \n \n

    Create a Welcome Gift

    \n

    \n Create a welcome gift to attract customers in your area. This is a\n good way to attract new customers into your business and upsell other\n products and services, once they visit they are now enrolled in your\n Loyalty Program which increases the potential of repeat spending and\n increases revenue.\n

    \n
    \n
    \n
    \n
    \n \n
    \n {formErrorMessage?.coverImage ? (\n
    \n {formErrorMessage.coverImage}\n
    \n ) : null}\n
    \n \n

    \n Would you like to setup a welcome gift?\n

    \n \n getValue(\"setupWelcomePromotion\", true)}\n >\n Yes (I want more customers)\n \n getValue(\"setupWelcomePromotion\", false)}\n >\n No (I can setup later)\n \n
    \n \n
    \n {/*
    \n
    \n \n
    \n {formErrorMessage?.coverImage ? (\n
    \n {formErrorMessage.coverImage}\n
    \n ) : null}\n
    */}\n {/*
    \n getValue(\"promotionName\", value)}\n // infoTooltip=\"A sample promotion if you are a coffee shop: Spend over €15 and receive a free donut. This can be any promotion that you can offer any customer that may visit you once, when passing through or visit you every day so keep it open!\"\n error={formErrorMessage.name}\n />\n
    */}\n
    \n {\n getValue(\"promotionDetails\", value);\n }}\n defaultValue={setupPromotion.promotionDetails}\n error={formErrorMessage.promotionDetails}\n />\n
    \n {/*
    \n {\n getValue(\"promotionDealId\", value);\n // setCurrPromoDeal(label);\n }}\n hideSelectorFilter\n />\n {formErrorMessage?.deal_id ? (\n
    \n {formErrorMessage.deal_id}\n
    \n ) : null}\n
    */}\n {formErrorMessage?.token ? (\n
    \n {formErrorMessage.token}\n
    \n ) : null}\n \n
    \n
    \n \n
    \n
    \n

    What your Welcome Gift looks like

    \n
    \n
    \n \n {/* {!currPromoDeal || currPromoDeal === \"No Deal\" ? null : (\n {currPromoDeal}\n )} */}\n
    \n
    \n
    \n \n
    \n
    \n
    \n

    {defaultFields.locationName}

    \n {/*

    \n {defaultFields.defaultAddress}\n

    */}\n
    \n

    Digital Loyalty Program:

    \n

    \n {!defaultFields.type ? \"Stamps\" : \"Points\"}\n

    \n
    \n
    \n
    \n

    1.25km

    \n

    Open

    \n
    \n
    \n {defaultFields.details ? (\n
    \n

    Details:

    \n

    {defaultFields.details}

    \n
    \n ) : null}\n {setupPromotion.promotionDetails ? (\n
    \n

    Welcome Gift:

    \n

    \n {setupPromotion.promotionDetails}\n

    \n
    \n ) : null}\n

    \n

    \n
    \n \n \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n {!setupPromotion.setupWelcomePromotion ? (\n \n ) : null}\n \n
    \n );\n};\n\nexport default RegistrationWelcomePromotion;\n","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\nimport axios from \"../../../../api/api\";\n\nexport const welcomePromotionSubmit = (\n data: any,\n accountInformationToken: string,\n coverImage: File[],\n workTime: any\n): Promise => {\n const formData = new FormData();\n formData.append(\"details\", data.promotionDetails);\n formData.append(\"name\", data.promotionName);\n // formData.append(\"deal_id\", data.promotionDealId);\n formData.append(\"open_time\", data.openTime);\n formData.append(\"close_time\", data.closeTime);\n formData.append(\"coverImage\", coverImage[0]);\n formData.append(\"token\", accountInformationToken);\n\n Object.keys(workTime).forEach((weekDay) => {\n formData.append(`work_time[${weekDay}][allDay]`, workTime[weekDay].allDay);\n formData.append(`work_time[${weekDay}][from]`, workTime[weekDay].from);\n formData.append(`work_time[${weekDay}][to]`, workTime[weekDay].to);\n formData.append(`work_time[${weekDay}][label]`, workTime[weekDay].label);\n formData.append(`work_time[${weekDay}][isOpen]`, workTime[weekDay].isOpen);\n });\n\n return axios\n .post(\"/public/register-welcome-promotion\", formData)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n};\n\nexport const welcomePromotionSubmitWithoutGift = (\n accountInformationToken: string,\n coverImage: File[],\n workTime: any\n): Promise => {\n const formData = new FormData();\n formData.append(\"token\", accountInformationToken);\n formData.append(\"coverImage\", coverImage[0]);\n\n Object.keys(workTime).forEach((weekDay) => {\n formData.append(`work_time[${weekDay}][allDay]`, workTime[weekDay].allDay);\n formData.append(`work_time[${weekDay}][from]`, workTime[weekDay].from);\n formData.append(`work_time[${weekDay}][to]`, workTime[weekDay].to);\n formData.append(`work_time[${weekDay}][label]`, workTime[weekDay].label);\n formData.append(`work_time[${weekDay}][isOpen]`, workTime[weekDay].isOpen);\n });\n\n return axios\n .post(\"public/complete-registration\", formData)\n .then((response) => response)\n .catch((error) => {\n return Promise.reject(error.response);\n });\n};\n\nexport const getPlaceLogo = (accountInformationToken: string): Promise =>\n axios\n .get(\"/public/get-place\", {\n params: {\n token: accountInformationToken,\n },\n })\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n","import React from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { REACT_APP_STRIPE_PRODUCT_ID } from \"src/types/env\";\nimport { Wrapper } from \"./styled\";\n// import {\n// AccountInformationInterface,\n// AdditionalInformationInterface,\n// } from \"../../types/registration\";\nimport * as Const from \"./consts\";\nimport NavProgress from \"./NavProgress\";\nimport RegistrationWelcome from \"./Step/RegistrationWelcome\";\nimport RegistrationChoosePlan from \"./Step/RegistrationChoosePlan\";\nimport RegistrationPersonalInformation from \"./Step/RegistrationPersonalInformation\";\n// import RegistrationAccountInformation from \"./Step/RegistrationAccountInformation\";\n// import RegistrationAdditionalInformation from \"./Step/RegistrationAdditionalInformation\";\n// import RegistrationSetupPromotion from \"./Step/RegistrationSetupPromotion\";\nimport RegistrationAccountCheckEmail from \"./Step/RegistrationAccountCheckEmail\";\nimport RegistrationActivateAccount from \"./Step/RegistrationActivateAccount\";\nimport RegistrationBuildYourCard from \"./Step/RegistrationBuildYourCard\";\nimport RegistrationLocations from \"./Step/RegistrationLocations\";\nimport RegistrationWelcomePromotion from \"./Step/RegistrationWelcomePromotion\";\n\nconst Registration: React.FC = () => {\n const location: any = useLocation();\n const verificationToken = new URLSearchParams(location.search).get(\n Const.verificationToken\n );\n const accountInformationToken = new URLSearchParams(location.search).get(\n Const.accountInformationToken\n );\n\n const [stepRegistration, setStepRegistration] = React.useState(\n verificationToken ? 5 : accountInformationToken !== null ? 7 : 1\n // 9\n );\n\n const [businessPlanPersonalInfo, setBusinessPlanPersonalInfo] =\n React.useState(REACT_APP_STRIPE_PRODUCT_ID);\n\n // const [\n // accountInformation,\n // setAccountInformation,\n // ] = React.useState({\n // token: accountInformationToken,\n // companyName: \"\",\n // businessType: \"\",\n // promotionType: \"\",\n // rewardInformation: \"\",\n // rewardCode: \"\",\n // maxNumberPromotion: 0,\n // });\n\n // const [\n // additionalInformation,\n // setAdditionalInformation,\n // ] = React.useState({\n // logo: \"\",\n // address: \"\",\n // latitude: NaN,\n // longitude: NaN,\n // });\n\n return (\n \n \n {stepRegistration === 1 ? (\n setStepRegistration(3)} />\n ) : stepRegistration === 2 ? (\n setStepRegistration(value)}\n setBusinessPlanPersonalInfo={(value) =>\n setBusinessPlanPersonalInfo(value)\n }\n />\n ) : stepRegistration === 3 ? (\n setStepRegistration(value)}\n businessPlan={businessPlanPersonalInfo}\n />\n ) : stepRegistration === 4 ? (\n \n ) : stepRegistration === 5 ? (\n \n ) : stepRegistration === 7 ? (\n setStepRegistration(value)}\n />\n ) : stepRegistration === 8 ? (\n setStepRegistration(value)}\n />\n ) : stepRegistration === 9 ? (\n \n ) : null}\n \n {/* {stepRegistration === 7 ? (\n {\n setAccountInformation((prevInfo) => {\n return {\n ...prevInfo,\n companyName: value.companyName,\n businessType: value.businessType,\n promotionType: value.promotionType,\n rewardInformation: value.rewardInformation,\n maxNumberPromotion: value.maxNumberPromotion,\n };\n });\n setStepRegistration(8);\n }}\n />\n ) : stepRegistration === 8 ? (\n {\n setAdditionalInformation(value);\n setStepRegistration(9);\n }}\n />\n ) : stepRegistration === 9 ? (\n \n ) : null} */}\n \n );\n};\n\nexport default Registration;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 50px 15px;\n min-height: 100vh;\n background-color: ${Color.blueDark};\n .inner-wrap {\n max-width: 100%;\n }\n .logo {\n text-align: center;\n margin-bottom: 10vh;\n }\n .form {\n border-radius: 8px;\n background-color: ${Color.white};\n padding: 60px 55px;\n width: 500px;\n max-width: 100%;\n box-sizing: border-box;\n text-align: center;\n position: relative;\n @media (max-width: 550px) {\n padding: 30px 15px;\n }\n }\n .title {\n color: ${Color.blueDarkText};\n font-size: 40px;\n font-weight: 500;\n line-height: 51px;\n margin-bottom: 5px;\n }\n .sub-title {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 26px;\n margin-bottom: 30px;\n }\n .form-group {\n margin-bottom: 30px;\n }\n .form-error-message {\n color: red;\n font-size: 14px;\n font-weight: 300;\n text-align: center;\n margin-bottom: 15px;\n }\n button {\n margin-bottom: 20px;\n }\n\n .modal-content {\n text-align: center;\n padding: 60px 50px;\n @media (max-width: 600px) {\n padding: 30px 15px;\n }\n .title {\n color: ${Color.blueDarkText};\n font-size: 30px;\n font-weight: 500;\n line-height: 38px;\n text-align: center;\n @media (max-width: 600px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React, { FC } from \"react\";\nimport { useLocation } from \"react-router-dom\";\n\nimport Modal from \"src/components/Modal\";\nimport { declineAccount } from \"src/api/auth\";\n\nimport { ReactComponent as LogoFull } from \"src/assets/img/logo-full.svg\";\n\nimport { Wrapper } from \"./styled\";\n\nconst DeclineAccount: FC = () => {\n const location: any = useLocation();\n\n const [loading, setLoading] = React.useState(false);\n const [successResponse, setSuccessResponse] = React.useState(\"\");\n const [errorResponse, setErrorResponse] = React.useState(\"\");\n\n const сonfirmDeclineAccount = () => {\n setLoading(true);\n declineAccount(\n new URLSearchParams(location.search).get(\"verification_token\") ?? \"\"\n )\n .then((response) => {\n setSuccessResponse(\n response?.data?.message ??\n \"This user was successfully deleted from our system\"\n );\n setLoading(false);\n })\n .catch((error) => {\n setErrorResponse(error?.data?.message ?? \"Server error\");\n setLoading(false);\n });\n };\n\n return (\n \n
    \n
    \n \n
    \n
    \n
    \n
    Decline Account
    \n
    \n After confirming the decline account your account will be deleted\n
    \n \n Confirm Decline Account\n \n {errorResponse && (\n
    {errorResponse}
    \n )}\n
    \n
    \n
    \n {successResponse && (\n setSuccessResponse(\"\")}\n closeOutsideClick={false}\n >\n
    \n
    {successResponse}
    \n
    \n \n )}\n
    \n );\n};\n\nexport default DeclineAccount;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 50px 15px;\n min-height: 100vh;\n background-color: ${Color.blueDark};\n .inner-wrap {\n max-width: 100%;\n }\n .logo {\n text-align: center;\n margin-bottom: 10vh;\n }\n .main-block {\n border-radius: 8px;\n background-color: ${Color.white};\n padding: 60px 55px;\n width: 500px;\n max-width: 100%;\n box-sizing: border-box;\n text-align: center;\n position: relative;\n @media (max-width: 550px) {\n padding: 30px 15px;\n }\n\n .warning-text {\n font-size: 24px;\n line-height: 35px;\n color: ${Color.blueDarkText};\n font-weight: 500;\n }\n }\n .title {\n color: ${Color.blueDarkText};\n font-size: 40px;\n font-weight: 500;\n line-height: 51px;\n margin-bottom: 15px;\n }\n\n .place-information-content {\n margin-bottom: 30px;\n .item {\n display: flex;\n text-align: left;\n margin-bottom: 5px;\n .name {\n width: 50%;\n }\n .description {\n width: 50%;\n }\n }\n }\n .locations-information-content {\n margin-bottom: 30px;\n .item {\n margin-bottom: 5px;\n &:before {\n content: \"\";\n display: inline-block;\n width: 6px;\n height: 6px;\n background: #000;\n border-radius: 100%;\n position: relative;\n top: -2px;\n margin-right: 5px;\n }\n }\n }\n .btns-decline-accept {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-around;\n .btn-decline {\n }\n .btn-accept {\n }\n }\n .modal-content {\n text-align: center;\n padding: 60px 50px;\n @media (max-width: 600px) {\n padding: 30px 15px;\n }\n .title {\n color: ${Color.blueDarkText};\n font-size: 30px;\n font-weight: 500;\n line-height: 38px;\n text-align: center;\n @media (max-width: 600px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React, { FC, useEffect } from \"react\";\nimport { useParams } from \"react-router-dom\";\n\nimport Modal from \"src/components/Modal\";\nimport {\n getPlaceInfoByHashAxios,\n confirmPlaceInfoByHashAxios,\n declinePlaceInfoByHashAxios,\n} from \"src/api/place\";\nimport { PlaceInfoInterface } from \"src/types/place\";\nimport { ReactComponent as LogoFull } from \"src/assets/img/logo-full.svg\";\n\nimport { Wrapper } from \"./styled\";\nimport { RouteParamsInterface } from \"./types\";\n\nconst PlaceApprove: FC = () => {\n const params = useParams();\n\n const [loading, setLoading] = React.useState(true);\n const [placeInfo, setPlaceInfo] = React.useState(\n null\n );\n const [responseMessage, setResponseMessage] = React.useState(\"\");\n\n const getPlaceInfo = () => {\n getPlaceInfoByHashAxios(params.hash)\n .then((response) => {\n setPlaceInfo(response.data.place);\n setLoading(false);\n })\n .catch(() => {\n setLoading(false);\n });\n };\n\n const declinePlace = () => {\n setLoading(true);\n declinePlaceInfoByHashAxios(params.hash).then((response) => {\n setResponseMessage(response.data.message);\n setLoading(false);\n });\n };\n\n const acceptPlace = () => {\n setLoading(true);\n confirmPlaceInfoByHashAxios(params.hash).then((response) => {\n setResponseMessage(response.data.message);\n setLoading(false);\n });\n };\n\n useEffect(() => {\n getPlaceInfo();\n }, []); //eslint-disable-line\n\n return (\n \n
    \n
    \n \n
    \n
    \n
    \n {placeInfo ? (\n <>\n
    Place Information
    \n
    \n
    \n
    Name of the company:
    \n
    {placeInfo?.name}
    \n
    \n
    \n
    Card promotion name:
    \n
    {placeInfo?.details}
    \n
    \n {placeInfo.promotion === \"Points\" ? (\n
    \n
    Card promotion info:
    \n
    \n {placeInfo?.description}\n
    \n
    \n ) : null}\n
    \n
    Category:
    \n
    {placeInfo?.category}
    \n
    \n
    \n
    Type of promotion:
    \n
    {placeInfo?.promotion}
    \n
    \n
    \n
    Locations
    \n
    \n {placeInfo?.locations.map((item) => (\n
    \n {item.address}\n
    \n ))}\n
    \n
    \n declinePlace()}\n >\n Decline\n \n acceptPlace()}\n >\n Accept\n \n
    \n \n ) : (\n
    \n The place was updated with newly added information. This link is\n not valid anymore.\n
    \n )}\n
    \n
    \n
    \n {responseMessage && (\n setResponseMessage(\"\")}\n closeOutsideClick={false}\n >\n
    \n
    {responseMessage}
    \n
    \n \n )}\n
    \n );\n};\n\nexport default PlaceApprove;\n","import { Color } from \"src/types/color\";\nimport styled from \"styled-components\";\n\nexport const Wrapper = styled.div`\n .top-bar div.search-wrap {\n margin-left: 0;\n }\n .form-file{\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 20px\n }\n .staff-top-bar{\n justify-content: start;\n }\n .staff-add-btn{\n margin-left: 25px;\n }\n .hide{\n display: none;\n }\n .table {\n & > div {\n // overflow: unset;\n }\n\n \n\n div.rdt_TableRow {\n\n & input {\n width:75%\n }\n }\n div:first-child {\n &::-webkit-scrollbar {\n height: 5px;\n }\n\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 3px;\n }\n\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blueLight};\n }\n\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n }\n }\n \n }\n`;","import styled from \"styled-components\";\n\nexport const WrapperTableList = styled.div`\n width: calc(100% - 40px);\n padding: 0 20px 10px;\n\n button {\n background: none;\n }\n`;\n\nexport const PointWrapper = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const PointInput = styled.input`\n width: 50px;\n background: none;\n color: #000D46;\n text-align: end;\n\n &[readonly] {\n cursor: default;\n }\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n`;\n","import React, { FC, useEffect, useState } from \"react\";\nimport DataTable from \"react-data-table-component\";\nimport { ReactComponent as DeleteIcon } from \"../../../assets/img/delete.svg\";\nimport { WrapperTableList } from \"./styled\";\nimport { getSataffFamily, removeSataffFamily } from \"src/api/customers\";\n\ninterface IProps {\n data: any;\n getCustomerList: any;\n}\n\nconst StaffFamilyTable: FC = ({ data, getCustomerList }) => {\n const [userInfo, setUserInfo] = useState([]);\n const getUserPointInfo = (id: string) => {\n getSataffFamily({ id }).then((response) => {\n setUserInfo(response.data.worker_relations);\n });\n };\n\n useEffect(() => {\n getUserPointInfo(data.id);\n }, [data.id]);\n\n function deleteLocationStaffAsk(id: any) {\n removeSataffFamily({ id })\n .then((res) => {\n getUserPointInfo(data.id);\n })\n .catch((err) => {\n console.log(err);\n });\n }\n\n const staffMembersTableColumns = [\n {\n name: \"First Name\",\n minWidth: \"150px\",\n cell: (row: any) => {\n return
    {row.first_name}
    ;\n },\n },\n {\n name: \"Last Name\",\n minWidth: \"100px\",\n maxWidth: \"150px\",\n cell: (row: any) => {\n return
    {row.last_name}
    ;\n },\n },\n {\n name: \"GC Number\",\n minWidth: \"50px\",\n cell: (row: any) => {\n return
    {row.gc_number}
    ;\n },\n },\n {\n name: \"Email Address\",\n minWidth: \"275px\",\n cell: (row: any) => {\n return
    {row.email}
    ;\n },\n },\n {\n name: \"Store\",\n minWidth: \"100px\",\n cell: (row: any) => {\n return
    {row.store}
    ;\n },\n },\n {\n name: \"Phone\",\n minWidth: \"100px\",\n cell: (row: any) => {\n return
    {row.fake_data ? \"\" : row.phone}
    ;\n },\n },\n {\n name: \"\",\n minWidth: \"50px\",\n cell: (row: any) => {\n return (\n
    \n {\n deleteLocationStaffAsk(row.id)}\n >\n \n \n }\n
    \n );\n },\n },\n ];\n\n return (\n \n \n \n );\n};\n\nexport default StaffFamilyTable;\n","import React, {useCallback, useEffect, useRef, useState} from \"react\";\nimport DataTable from \"react-data-table-component\";\n\nimport Input from \"../../components/Input\";\nimport { ReactComponent as SearchIcon } from \"../../assets/img/search.svg\";\nimport Pagination from \"../../components/Pagination\";\nimport {\n CustomerInfoInterface,\n CustomerRequestInterface,\n} from \"../../types/customer\";\nimport {\n getAllStaffMembers,\n addStaffMembersAxios,\n editStaffMembersAxios,\n removeStaffMembersAxios,\n importWorkers,\n removeBulkStaff\n} from \"../../api/customers\";\nimport { Wrapper } from \"./styled\";\n\nimport { ReactComponent as EditIcon } from \"../../assets/img/edit.svg\";\nimport { ReactComponent as DeleteIcon } from \"../../assets/img/delete.svg\";\nimport { useTypedSelector } from \"src/hooks/useTypedSelector\";\nimport StaffFamilyTable from \"./InnerTable/StaffFamilyTable\";\nimport Modal from \"src/components/Modal\";\nimport {REACT_APP_API_URL} from \"../../types/env\";\n\nconst StaffMembers = () => {\n const [staffList, setStaffList] = useState([]);\n const firstNameInp = useRef(null);\n const lastNameInp = useRef(null);\n const employeeNumberInp = useRef(null);\n const gcNumberInp = useRef(null);\n const { loggedUser } = useTypedSelector((state) => state.auth);\n\n const [requestParamtrs, setRequestParamtrs] =\n useState({\n limit: 10,\n page: 1,\n search: null,\n location: \"\",\n group: \"\",\n sort_type: \"lastName:asc\",\n });\n const [staffListInfo, setStaffListInfo] = useState({\n count_users: 0,\n limit: 0,\n page: 0,\n total_pages_count: 0,\n total_users_count: 0,\n // searchType: 0,\n });\n\n const [isLoading, setIsLoading] = useState(false);\n const [openForm, setOpenForm] = useState(false);\n const [openBulkRemoveForm, setOpenBulkRemoveForm] = useState(false);\n const [fileBase64, setFileBase64] = useState(\"\");\n // const [filePassword, setFilePassword] = useState(\"\");\n\n const [newUser, setNewUser] = useState({\n email: \"\",\n first_name: \"\",\n last_name: \"\",\n phone: \"\",\n gc_number: \"\",\n store_name: loggedUser.user.global_card_name,\n employee_number: \"\",\n code_name: \"\",\n new: true,\n });\n\n const [editUser, setEdinUser] = useState({\n email: \"\",\n first_name: \"\",\n last_name: \"\",\n phone: \"\",\n gc_number: \"\",\n store_name: loggedUser.user.global_card_name,\n employee_number: \"\",\n code_name: \"\",\n });\n const removeInp = useRef(null)\n const importInp = useRef(null)\n let newStaff = newUser;\n\n const staffMembersTableColumns = [\n {\n name: \"First Name\",\n minWidth: \"150px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row.new ? (\n {\n changeNewStaffValueInput(\"first_name\", e.currentTarget.value);\n }}\n style={{\n borderRadius: \"4px\",\n padding: \"13px 16px\",\n boxShadow: \"0 0 6px 0 rgba(0, 0, 0, 0.1)\",\n }}\n />\n ) : row.edit ? (\n \n ) : (\n row.first_name\n )}\n
    \n );\n },\n },\n {\n name: \"Last Name\",\n minWidth: \"100px\",\n maxWidth: \"150px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row.new ? (\n \n changeNewStaffValueInput(\"last_name\", e.currentTarget.value)\n }\n style={{\n borderRadius: \"4px\",\n padding: \"13px 16px\",\n boxShadow: \"0 0 6px 0 rgba(0, 0, 0, 0.1)\",\n }}\n />\n ) : row.edit ? (\n \n ) : (\n row.last_name\n )}\n
    \n );\n },\n },\n {\n name: \"Employee Number\",\n minWidth: \"50px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row.new ? (\n \n changeNewStaffValueInput(\n \"employee_number\",\n e.currentTarget.value\n )\n }\n style={{\n borderRadius: \"4px\",\n padding: \"13px 16px\",\n boxShadow: \"0 0 6px 0 rgba(0, 0, 0, 0.1)\",\n }}\n />\n ) : row.edit ? (\n \n ) : (\n row.employee_number\n )}\n
    \n );\n },\n },\n {\n name: \"GC Number\",\n minWidth: \"50px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row.new ? (\n \n changeNewStaffValueInput(\"gc_number\", e.currentTarget.value)\n }\n style={{\n borderRadius: \"4px\",\n padding: \"13px 16px\",\n boxShadow: \"0 0 6px 0 rgba(0, 0, 0, 0.1)\",\n }}\n />\n ) : row.edit ? (\n \n ) : (\n row.gc_number\n )}\n
    \n );\n },\n },\n {\n name: \"Email Address\",\n minWidth: \"275px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {row.new ? (\n \n changeNewStaffValueInput(\"email\", e.currentTarget.value.trim())\n }\n style={{\n borderRadius: \"4px\",\n padding: \"13px 16px\",\n boxShadow: \"0 0 6px 0 rgba(0, 0, 0, 0.1)\",\n }}\n />\n ) : (\n row.email\n )}\n
    \n );\n },\n },\n {\n name: \"Store\",\n minWidth: \"100px\",\n cell: (row: any): JSX.Element => {\n return
    {loggedUser.user.global_card_name}
    ;\n },\n },\n {\n name: \"Phone\",\n minWidth: \"100px\",\n cell: (row: any): JSX.Element => {\n return
    {row.fake_data ? \"\" : row.phone}
    ;\n },\n },\n {\n name: \"\",\n minWidth: \"50px\",\n cell: (row: any): JSX.Element => {\n return (\n
    \n {!row.new && !row.edit ? (\n <>\n editLocationStaffOpenSidebar(row.id, row)}\n >\n \n \n deleteLocationStaffAsk(row.id)}\n >\n \n \n \n ) : !row.new && row.edit ? (\n saveStaffMembers(row.id)}\n >\n Save\n \n ) : (\n addNewUserToLocation(row.id)}\n >\n Add\n \n )}\n
    \n );\n },\n },\n ];\n\n function saveStaffMembers(id: any) {\n setIsLoading(true);\n let user = {\n id: id,\n email: editUser.email,\n first_name: firstNameInp?.current?.value,\n last_name: lastNameInp?.current?.value,\n phone: editUser.phone,\n gc_number: gcNumberInp?.current?.value,\n store_name: loggedUser.user.global_card_name,\n employee_number: employeeNumberInp?.current?.value,\n code_name: \"\",\n };\n\n editStaffMembersAxios(user)\n .then((response) => {\n getStaff();\n setIsLoading(false);\n })\n .catch(() => setIsLoading(false));\n }\n\n function changeNewStaffValueInput(label: string, value: string) {\n newStaff = { ...newStaff, [label]: value };\n }\n\n useEffect(() => {\n setTimeout(() => {\n if (\n firstNameInp.current &&\n lastNameInp.current &&\n employeeNumberInp.current &&\n gcNumberInp.current\n ) {\n firstNameInp.current.value = editUser.first_name;\n lastNameInp.current.value = editUser.last_name;\n employeeNumberInp.current.value = editUser.employee_number;\n gcNumberInp.current.value = editUser.gc_number;\n }\n }, 500);\n }, [editUser]);\n\n function editLocationStaffOpenSidebar(id: any, row: any) {\n setEdinUser(row);\n setIsLoading(true);\n\n getAllStaffMembers({ ...requestParamtrs, edit_id: id })\n .then((response) => {\n setStaffList(response.data.workers);\n setStaffListInfo({\n count_users: Number(response.data.count_workers),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_users_count: Number(response.data.total_workers_count),\n // searchType: Number(response.data.searchType),\n });\n setIsLoading(false);\n })\n .catch(() => setIsLoading(false));\n }\n\n function addStaffMembers() {\n setNewUser(newStaff);\n setStaffList((staffList: any) => (staffList = [newUser, ...staffList]));\n }\n function deleteLocationStaffAsk(row: any) {\n setIsLoading(true);\n removeStaffMembersAxios({ id: row })\n .then((response) => {\n getStaff();\n setIsLoading(false);\n })\n .catch(() => setIsLoading(false));\n }\n\n const getStaff = useCallback(() => {\n setIsLoading(true);\n\n getAllStaffMembers(requestParamtrs)\n .then((response) => {\n setStaffList(response.data.workers);\n\n setStaffListInfo({\n count_users: Number(response.data.count_workers),\n limit: Number(response.data.limit),\n page: Number(response.data.page),\n total_pages_count: Number(response.data.total_pages_count),\n total_users_count: Number(response.data.total_workers_count),\n // searchType: Number(response.data.searchType),\n });\n setIsLoading(false);\n })\n .catch(() => setIsLoading(false));\n },[requestParamtrs]);\n\n useEffect(() => {\n getStaff();\n }, [getStaff, requestParamtrs.page]);\n\n useEffect(() => {\n if (requestParamtrs.search !== null) {\n const timeout = setTimeout(() => {\n getStaff();\n }, 500);\n\n return () => clearTimeout(timeout);\n }\n }, [getStaff, requestParamtrs.search]);\n\n useEffect(() => {\n if (Number(requestParamtrs.page) === 1 && staffListInfo.limit !== 0) {\n getStaff();\n }\n }, [getStaff, requestParamtrs.limit, requestParamtrs.page, staffListInfo.limit]);\n\n const addNewUserToLocation = (id: any) => {\n setIsLoading(true);\n newStaff = { ...newStaff, new: false };\n addStaffMembersAxios(newStaff)\n .then((response) => {\n getStaff();\n setIsLoading(false);\n newStaff = newUser;\n })\n .catch(() => setIsLoading(false));\n };\n\n const getBase64 = (e: any) => {\n const file = e.target.files[0];\n let reader = new FileReader();\n reader.readAsDataURL(file);\n reader.onload = function () {\n setFileBase64(reader.result);\n };\n reader.onerror = function (error) {\n console.log(\"Error: \", error);\n };\n };\n\n const handleImportWorkers = (e: any) => {\n e.preventDefault();\n setIsLoading(true);\n setOpenForm(false);\n \n importWorkers({\n file: fileBase64,\n // @ts-ignore\n name: importInp.current.files[0].name,\n })\n .finally(() => {\n setIsLoading(false);\n getStaff();\n setFileBase64(null)\n });\n };\n\n const handleBulkRemove = (e: any) => {\n e.preventDefault();\n setIsLoading(true);\n setOpenBulkRemoveForm(false);\n removeBulkStaff({\n file: fileBase64,\n // @ts-ignore\n name: removeInp.current.files[0].name,\n })\n .finally(() => {\n setIsLoading(false);\n getStaff();\n setFileBase64(null)\n });\n };\n\n return (\n \n
    Staff members
    \n
    \n
    \n }\n getValue={(value) =>\n setRequestParamtrs({ ...requestParamtrs, search: value })\n }\n />\n
    \n addStaffMembers()}\n >\n Add New Member\n \n setOpenForm(!openForm)}\n >\n Import from File\n \n setOpenBulkRemoveForm(!openBulkRemoveForm)}\n >\n Bulk Remove\n \n
    \n {openForm && (\n setOpenForm(!openForm)}>\n handleImportWorkers(e)}\n >\n

    Import your File

    \n

    \n Please choose a file from your drive to upload to the dashboard in xls format.\n

    \n

    Example

    \n \"example\"/\n getBase64(e)}\n />\n
    \n setOpenForm(!openForm)}\n >\n Cancel\n \n \n Submit\n \n
    \n \n
    \n )}\n {openBulkRemoveForm && (\n setOpenBulkRemoveForm(!openBulkRemoveForm)}>\n handleBulkRemove(e)}\n >\n

    Import your File

    \n

    \n Please select a file from your drive to remove staff members from dashboard in xls format.\n

    \n

    Example

    \n \"example\"/\n \n getBase64(e)}\n />\n
    \n setOpenBulkRemoveForm(!openBulkRemoveForm)}\n >\n Cancel\n \n \n Remove\n \n
    \n \n
    \n )}\n \n
    \n
    \n \n }\n />\n \n
    \n
    \n
    \n );\n};\n\nexport default StaffMembers;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n position: relative;\n overflow: hidden;\n\n .main-blocks-row {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n padding: 0px 4px;\n .item {\n flex: 1;\n border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 15px 20px;\n margin-right: 30px;\n &:last-child {\n margin-right: 0;\n }\n\n .title {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n margin-bottom: 15px;\n }\n .count {\n color: ${Color.blueDarkText};\n font-size: 44px;\n font-weight: 500;\n line-height: 56px;\n margin-bottom: 10px;\n }\n .description {\n opacity: 0.2;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n }\n }\n .add-category{\n margin: 5px 2px;\n width: 20%;\n justify-self: start;\n display: flex;\n align-items: center;\n justify-content: center;\n .icon {\n margin-right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n svg {\n width: 23px;\n height: 23px;\n }\n }\n }\n .add-stampCategory{\n margin: 5px 2px;\n width: 40%;\n justify-self: start;\n display: flex;\n align-items: center;\n justify-content: center;\n .icon {\n margin-right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n svg {\n width: 23px;\n height: 23px;\n }\n }\n }\n\n .header {\n display: flex;\n align-items: stretch;\n //justify-content: space-between;\n margin-bottom: 15px;\n gap: 15px;\n .column {\n width: 11.4%;\n padding-right: 16px;\n\n //.column-group{\n // display: flex;\n // //justify-content: space-between;\n // flex-wrap: nowrap;\n // gap: 15px;\n // .column {\n // width: 50%;\n // }\n //}\n .page-title {\n font-size: 16px;\n margin: 0 0 10px 0;\n line-height: normal;\n }\n .description{\n font-size: 12px;\n line-height: normal;\n }\n //&:nth-last-child(2){\n // width: 29%;\n //}\n \n }\n .column_buttons {\n width: 10%;\n }\n }\n\n .content {\n display: flex;\n flex-direction: column;\n align-items: inherit;\n padding-top: 20px;\n width: 100%;\n .item{\n display: flex;\n justify-content: space-between;\n &>div{\n width: 15%;\n input{\n width: 70%;\n padding-right: 40px;\n }\n &:nth-last-child(1){\n width: 8.5%;\n margin: 0;\n }\n }\n\n }\n }\n \n .stamp-based-wrapper {\n width: 100%;\n flex-direction: row;\n align-items: start;\n justify-content: space-between;\n position: relative;\n .header {\n flex-direction: column;\n width: 70%;\n .header-tab {\n height: auto;\n display: flex;\n justify-content: space-between;\n gap: 2%;\n\n .column {\n width: 15%;\n }\n }\n .stamp-based-form {\n display: flex;\n justify-content: space-between;\n .table {\n width: 100%;\n &>div{\n overflow-y: visible;\n }\n .rdt_TableRow{\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 12px 0 0;\n \n .sc-idiyUo{\n position: absolute;\n z-index: 9999;\n left: -10px;\n margin-bottom: 12px;\n }\n .rdt_TableCell{\n width: 20%;\n padding-left: 0;\n &>div{\n width: 100%;\n input{\n width: 70%;\n padding-right: 40px;\n }\n \n }\n .select{\n margin-bottom: 12px;\n }\n &:nth-last-child(1){\n width: 8.5%;\n margin-bottom: 12px;\n .buttons{\n display: flex;\n justify-content: space-between;\n align-items: center;\n button{\n width: 45%;\n padding: 7.5px 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .save-btn{\n width: 100%;\n padding: 9.5px 10px;\n }\n }\n \n }\n }\n }\n .rdt_ExpanderRow{\n &>div{\n padding: 10px;\n width: calc(100% - 30px);\n margin: 0;\n .table{\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);\n padding: 5px;\n }\n }\n \n }\n \n \n }\n .table-edit{\n &>div{\n padding-bottom: 140px;\n .select{\n .bottom{\n //max-height: 130px;\n width: 120%;\n }\n }\n }\n }\n .modal-content{\n text-align: center;\n padding: 60px 50px;\n @media (max-width: 600px) {\n padding: 30px 15px;\n }\n .title {\n color: ${Color.blueDarkText};\n font-size: 30px;\n font-weight: 500;\n line-height: 38px;\n text-align: center;\n @media (max-width: 600px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n .sub-title{\n color: ${Color.blueDarkText};\n font-size: 25px;\n font-weight: 500;\n line-height: 38px;\n text-align: center;\n @media (max-width: 600px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n }\n }\n }\n \n }\n \n @media (max-width: 1300px) {\n .main-blocks-row {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));\n margin-right: -30px;\n margin-bottom: -30px;\n\n .item.all-customers {\n margin: 0 30px 30px 0;\n }\n }\n }\n @media (max-width: 399px) {\n .main-blocks-row {\n margin-right: 0px;\n .item.all-customers {\n margin-right: 0;\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n position: relative;\n overflow: hidden;\n margin-bottom: 30px;\n\n .heading {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 6px;\n .filters {\n display: flex;\n align-items: center;\n .select {\n margin-left: 20px;\n input {\n padding: 10px 16px 10px 40px;\n }\n svg path:not([fill=\"none\"]) {\n fill: #666e90;\n }\n }\n }\n .title-wrap{\n width: 70%;\n .description {\n opacity: 0.5;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n .page-title {\n margin: 0;\n margin-bottom: 10px;\n }\n }\n .uploadBtn{\n margin-right: 10px;\n display: flex;\n align-items: center;\n \n .icon {\n margin-right: 8px;\n svg path:not([fill=\"none\"]) {\n fill: ${Color.blue};\n }\n }\n\n }\n \n }\n\n .main-blocks-row {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n padding: 0px 4px;\n .item {\n flex: 1;\n border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 15px 20px;\n margin-right: 30px;\n &:last-child {\n margin-right: 0;\n }\n\n .title {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n margin-bottom: 15px;\n }\n .count {\n color: ${Color.blueDarkText};\n font-size: 44px;\n font-weight: 500;\n line-height: 56px;\n margin-bottom: 10px;\n }\n .description {\n opacity: 0.2;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n }\n }\n @media (max-width: 1300px) {\n .main-blocks-row {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));\n margin-right: -30px;\n margin-bottom: -30px;\n\n .item.all-customers {\n margin: 0 30px 30px 0;\n }\n }\n }\n @media (max-width: 399px) {\n .main-blocks-row {\n margin-right: 0px;\n .item.all-customers {\n margin-right: 0;\n }\n }\n }\n @media (min-width: 992px) and (max-width: 1040px) {\n .filters {\n flex-direction: column;\n\n div {\n margin-bottom: 15px;\n }\n }\n }\n @media (max-width: 760px) {\n .filters {\n flex-direction: column;\n\n div {\n margin-bottom: 15px;\n }\n }\n }\n @media (max-width: 480px) {\n .heading {\n flex-direction: column;\n\n .page-title {\n text-align: center;\n }\n }\n }\n`;\n\nexport { Wrapper };\n","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgOnlineCart(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", null, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"none\",\n d: \"M0 0h24v24H0V0z\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#515cdd\",\n fillRule: \"evenodd\",\n d: \"M1 3c0 .5499878.45000076 1 1 1h1l3.59999847 7.59002686L5.25 14.0300293C4.52000046 15.36999512 5.47999954 17 7 17h11c.54999924 0 1-.4500122 1-1s-.45000076-1-1-1H7l1.09999847-2h7.45000077c.75 0 1.40999984-.40997314 1.75-1.0300293l3.57999801-6.48999023C21.25 4.82000732 20.77000045 4 20.01000214 4H5.20999908l-.66999816-1.42999268C4.38000107 2.2199707 4.02000046 2 3.63999939 2H2c-.54999924 0-1 .4500122-1 1zm6 15c-1.10000229 0-1.99000168.90002441-1.99000168 2 0 1.09997559.8899994 2 1.99000168 2 1.09999847 0 2-.90002441 2-2 0-1.09997559-.90000153-2-2-2zm8.00999832 2c0-1.09997559.8899994-2 1.99000168-2 1.09999847 0 2 .90002441 2 2 0 1.09997559-.90000153 2-2 2-1.10000229 0-1.99000168-.90002441-1.99000168-2z\"\n }))));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgOnlineCart);\nexport default __webpack_public_path__ + \"static/media/online-cart.8db425e1.svg\";\nexport { ForwardRef as ReactComponent };","import React from \"react\";\nimport {Wrapper} from \"./styled\";\nimport {ReactComponent as OnlineShop} from '../../assets/img/menu-item/online-cart.svg'\n\ninterface IPosTabWrapper {\n title: string,\n description: string,\n button: boolean,\n buttonText?: string,\n children: React.AllHTMLAttributes\n}\n\nconst PosTabWrapper = ({title, description, button, buttonText, children}: IPosTabWrapper) => {\n\n return (\n \n
    \n
    \n

    {title}

    \n

    {description}

    \n
    \n {button ? : null}\n
    \n {children}\n
    \n );\n};\n\nexport default PosTabWrapper;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n position: relative;\n overflow: hidden;\n width: 100%;\n \n .category-list{\n \n .table {\n width: 100%;\n \n &>div{\n overflow-y: initial;\n padding-bottom: 30px;\n &::-webkit-scrollbar {\n height: 12px;\n cursor: pointer;\n width: 2px;\n }\n &::-webkit-scrollbar-track {\n background: ${Color.blueBackground};\n border-radius: 3px;\n }\n &::-webkit-scrollbar-thumb {\n background: ${Color.blue};\n border-radius: 3px;\n }\n }\n .rdt_Table{\n background-color: transparent;\n width: 100%;\n }\n \n .rdt_TableRow{\n padding: 10px 0;\n align-items: center;\n position: relative;\n \n .sc-idiyUo {\n position: absolute;\n z-index: 9999;\n left: -10px;\n }\n \n .rdt_TableCell{\n padding-left: 0;\n margin-right: 6px;\n \n .lock-icon-wrap{\n bottom: 10px;\n right: 0;\n }\n \n .isSelect{\n margin-bottom: 0;\n \n input{\n width: 75%;\n border-radius: 4px;\n margin: 0 2px 2px;\n \n &:disabled{\n width: 88.5%;\n }\n }\n }\n\n &>div{\n width: 100%;\n padding-bottom: 0;\n input{\n width: 75%;\n }\n }\n\n \n @media (max-width: 1440px) {\n .isSelect{\n\n input{\n width: 65%;\n\n &:disabled{\n width: 84.5%;\n }\n }\n }\n\n &>div{\n input{\n width: 65%;\n }\n }\n }\n\n @media (max-width: 1200px) {\n .isSelect{\n\n input{\n width: 45%;\n\n &:disabled{\n width: 75.5%;\n }\n }\n }\n\n &>div{\n input{\n width: 45%;\n }\n }\n }\n &:nth-last-child(1){\n align-items: start;\n .buttons{\n display: flex;\n justify-content: space-around;\n align-items: start;\n button {\n padding: 5px 12px;\n height: 46px;\n display: flex;\n justify-content: center;\n align-items: center;\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n }\n\n }\n }\n \n }\n }\n .rdt_ExpanderRow{\n .sc-ikZpkk {\n overflow: visible;\n }\n }\n \n \n }\n .table-edit{\n &>div{\n padding-bottom: 82px;\n }\n\n }\n \n .modal-content{\n text-align: center;\n padding: 60px 50px;\n @media (max-width: 600px) {\n padding: 30px 15px;\n }\n .title {\n color: ${Color.blueDarkText};\n font-size: 30px;\n font-weight: 500;\n line-height: 38px;\n text-align: center;\n @media (max-width: 600px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n .sub-title{\n color: ${Color.blueDarkText};\n font-size: 25px;\n font-weight: 500;\n line-height: 38px;\n text-align: center;\n @media (max-width: 600px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n }\n \n \n }\n \n`;\n\nexport { Wrapper };\n","import React from \"react\";\n\ninterface IPosCategoryColumn {\n title: string,\n description: string,\n containerStyle?: React.CSSProperties,\n}\n\nconst PosCategoryColumn = ({title, description, containerStyle}: IPosCategoryColumn) => {\n\n\n return (\n
    \n

    {title}

    \n

    {description}

    \n
    \n );\n};\n\nexport default PosCategoryColumn;\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgCirclePlus(_ref, svgRef) {\n let {\n title,\n titleId,\n ...props\n } = _ref;\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n height: \"1em\",\n viewBox: \"0 0 512 512\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#515cdd\",\n fillRule: \"evenodd\",\n d: \"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344V280H168c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z\"\n })));\n}\nconst ForwardRef = /*#__PURE__*/React.forwardRef(SvgCirclePlus);\nexport default __webpack_public_path__ + \"static/media/circle-plus.27c6fc14.svg\";\nexport { ForwardRef as ReactComponent };","import axios from \"./api\";\nimport {\n posCategoryEditItemRequest,\n posCategoryItemRequest, posStampCategoryRequest\n} from \"../types/posRyles\";\n\nexport const getAllCategoriesAxios = (): Promise =>\n axios\n .get(\"/api/pos-categories-view\")\n .then((response) => {\n return response.data;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const setCategoryAxios = (\n requestParameters:posCategoryItemRequest\n): Promise =>\n axios\n .post(\"/api/pos-categories-create\", requestParameters)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const setPosStampCategoryAxios = (\n requestParameters:posStampCategoryRequest\n): Promise =>\n axios\n .post(\"/api/pos-stamp-categories-create\", requestParameters)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const getPosStampCategoryAxios = (): Promise =>\n axios\n .get(\"/api/pos-stamp-categories-view\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const removeCategoryAxios = (\n categoryId: string\n): Promise =>\n axios\n .post(`/api/pos-categories-delete/${categoryId}`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\nexport const removeStampCategoryAxios = (\n categoryId: string\n): Promise =>\n axios\n .post(`/api/pos-stamp-categories-delete/${categoryId}`)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const editCategoryAxios = (\n requestParameters: posCategoryEditItemRequest\n): Promise =>\n axios\n .post(\"/api/pos-categories-edit\", requestParameters)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const editStampCategoryAxios = (\n requestParameters: posStampCategoryRequest\n): Promise =>\n axios\n .post(\"/api/pos-stamp-categories-edit\", requestParameters)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const getExtrasProductsAxios = (\n): Promise =>\n axios\n .get(\"/api/pos-product-extras/get\")\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const createExtrasProductsAxios = (\n requestParameters: any\n): Promise =>\n axios\n .post(\"/api/pos-product-extras/create\", requestParameters)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\nexport const removeExtrasProductsAxios = (\n requestParameters: any\n): Promise =>\n axios\n .post(\"/api/pos-product-extras/remove\", requestParameters)\n .then((response) => {\n return response;\n })\n .catch((error) => {\n return Promise.reject(error.response);\n });\n\n\n","import React, { FC, useEffect, useState } from \"react\";\nimport { WrapperTableList } from \"src/views/StaffMembers/InnerTable/styled\";\nimport DataTable from \"react-data-table-component\";\nimport Input from \"../../Input\";\nimport { ReactComponent as CheckCircle } from \"../../../assets/img/checkCircle.svg\";\nimport { ReactComponent as Edit } from \"../../../assets/img/edit.svg\";\nimport { ReactComponent as Delete } from \"../../../assets/img/delete.svg\";\nimport { ReactComponent as CirclePlus } from \"../../../assets/img/circle-plus.svg\";\nimport Select from \"../../Select\";\nimport {\n editCategoryAxios,\n removeCategoryAxios,\n setCategoryAxios,\n} from \"../../../api/posTerminals\";\nimport { IPosCategoryGroup, posCategoryItem, posCategoryItemRequest } from \"../../../types/posRyles\";\nimport Modal from \"../../Modal\";\nimport {useTypedSelector} from \"../../../hooks/useTypedSelector\";\n\nconst InnerPosCategoryGroup: FC = ({ data, setItems, edit, setEdit, getAllCategories, scaleParemeterSelectList }) => {\n const [innerGroup, setInnerGroup] = useState([])\n const [successResponse, setSuccessResponse] = useState('')\n const { loggedUser } = useTypedSelector((state) => state.auth);\n\n const customerTableColumnsStamp = [\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n item.name = value}\n disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n item.product_group = value}\n disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n item.product_sku = value}\n disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n \n item.scale_parameter = value\n }\n hideSelectorFilter\n />\n );\n },\n },\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n item.scale_factor = value}\n disabled={!item.edit}\n />\n );\n },\n },\n {\n name: \"\",\n minWidth: '8%',\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n item.transaction_value = value}\n disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n \n );\n }\n },\n {\n name: \"\",\n minWidth: \"3.5%\",\n cell: (item: posCategoryItem, index:number): JSX.Element => {\n\n return (\n
    \n {item.edit && item.id ?\n \n : item.edit ? : <>\n \n \n }\n\n
    \n );\n }\n }\n ];\n\n useEffect(() => {\n // @ts-ignore\n setInnerGroup(data.children);\n setEdit(false)\n }, []);\n\n const saveItem = (id: number) => {\n const newItems = innerGroup;\n newItems[id].edit = false;\n newItems[id].allocated = `${+newItems[id].scale_factor * +newItems[id].transaction_value}`;\n\n const requestItem:posCategoryItemRequest = {\n name: newItems[id].name,\n product_group: newItems[id].product_group,\n product_sku: newItems[id].product_sku,\n scale_parameter: `${newItems[id].scale_parameter}`,\n scale_factor: newItems[id].scale_factor,\n transaction_value: `${newItems[id].transaction_value}`,\n // @ts-ignore\n parent: `${data.id}`\n }\n setCategoryAxios(requestItem).then((res) => {\n getAllCategories();\n newItems[id] = { ...res.data, children: [] }\n setSuccessResponse('Group was created')\n setEdit(false);\n }).catch(e => {\n console.log(e);\n });\n\n };\n const editItem = (id: number) => {\n const newItems = innerGroup;\n newItems[id].edit = true;\n setEdit(true);\n };\n const saveEditItem = (id: number | undefined) => {\n const newItems = innerGroup.filter(item => item.id === id)[0];\n newItems.edit = false;\n\n const requestItem:posCategoryItemRequest = {\n id: newItems.id,\n name: newItems.name,\n product_group: newItems.product_group,\n product_sku: newItems.product_sku,\n scale_parameter: `${newItems.scale_parameter}`,\n scale_factor: newItems.scale_factor,\n transaction_value: `${newItems.transaction_value}`,\n // @ts-ignore\n parent: `${data.id}`\n }\n editCategoryAxios(requestItem).then(()=>{\n getAllCategories();\n setEdit(false);\n })\n };\n const removeItem = (id: number | undefined) => {\n removeCategoryAxios(`${id}`)\n .then((res) => {\n getAllCategories();\n setInnerGroup((items: Array) => items.filter((category, index) => category.id !== id));\n setSuccessResponse('Group was removed')\n setEdit(false);\n }).catch(e => {\n console.log(e);\n });\n\n };\n\n const addNewCategory = () => {\n const newItem:posCategoryItem = {\n edit: true,\n name: '',\n product_group: '',\n product_sku: '',\n scale_parameter: 'price',\n scale_factor: '',\n transaction_value: 0,\n currency: loggedUser.user.currency_symbol || '€',\n allocated: '',\n children: []\n }\n setEdit(true);\n\n setInnerGroup((group:posCategoryItem[]) => group = [...group, newItem])\n }\n\n\n return (\n \n {innerGroup.length > 0 ?\n <>\n {edit ?
    \n }\n />
    :
    \n }\n />
    }\n : (\n
    Sorry, nothing found
    \n )\n }\n \n\n {successResponse && (\n setSuccessResponse(\"\")}\n closeOutsideClick={true}\n >\n
    \n
    Success
    \n
    {successResponse}
    \n
    \n \n )}\n
    \n\n );\n};\n\nexport default InnerPosCategoryGroup;\n","import React, {useEffect} from \"react\";\nimport {Wrapper} from \"./styled\";\nimport Input from \"../Input\";\nimport PosCategoryColumn from \"./PosCategoryColumn\";\nimport {ReactComponent as Delete} from \"../../assets/img/delete.svg\";\nimport {ReactComponent as Edit} from \"../../assets/img/edit.svg\";\nimport {ReactComponent as CheckCircle} from \"../../assets/img/checkCircle.svg\";\nimport DataTable from \"react-data-table-component\";\nimport InnerPosCategoryGroup from \"./InnerPosCategoryGroup/InnerPosCategoryGroup\";\nimport {\n IPosCategoryColumnWrapper,\n IScaleParameter,\n posCategoryItem,\n posCategoryItemRequest\n} from \"../../types/posRyles\";\nimport {\n editCategoryAxios,\n removeCategoryAxios,\n setCategoryAxios\n} from \"../../api/posTerminals\";\nimport Select from \"../Select\";\nimport {useTypedSelector} from \"../../hooks/useTypedSelector\";\n\nconst PosCategoryColumnWrapper = ({items, setItems, edit, setEdit, getAllCategories}: IPosCategoryColumnWrapper) => {\n const {loggedUser} = useTypedSelector((state) => state.auth);\n useEffect(() => {\n setEdit(false)\n }, [])\n \n const validInputTextValue = [\n '', 0, 0.0, '0'\n ]\n const saveItem = (id: number) => {\n const newItems = items[id];\n newItems.edit = false;\n if (validInputTextValue.includes(newItems.name) || validInputTextValue.includes(newItems.product_group)) {\n return\n }\n newItems.allocated = `${+newItems.scale_factor * +newItems.transaction_value}`;\n \n const requestItem: posCategoryItemRequest = {\n name: newItems.name,\n product_group: newItems.product_group,\n product_sku: newItems.product_sku,\n scale_parameter: `${newItems.scale_parameter}`,\n scale_factor: newItems.scale_factor ? newItems.scale_factor : '0',\n transaction_value: `${newItems.transaction_value}`,\n parent: ''\n }\n \n setCategoryAxios(requestItem).then(() => {\n getAllCategories();\n setEdit(false);\n }).catch(e => {\n console.log(e);\n });\n // setItems((items: Array) => items = [...newItems]);\n };\n const editItem = (id: number) => {\n const newItems = items;\n newItems[id].edit = true;\n setItems((items: Array) => items = [...newItems]);\n setEdit(true)\n };\n const saveEditItem = (id: number | undefined) => {\n const newItems = items.filter(item => item.id === id)[0];\n newItems.edit = true;\n if (validInputTextValue.includes(newItems.name) || validInputTextValue.includes(newItems.product_group)) {\n return\n }\n \n const requestItem: posCategoryItemRequest = {\n id: newItems.id,\n name: newItems.name,\n product_group: newItems.product_group,\n product_sku: newItems.product_sku,\n scale_parameter: `${newItems.scale_parameter}`,\n scale_factor: newItems.scale_factor ? newItems.scale_factor : '0',\n transaction_value: `${newItems.transaction_value}`,\n parent: ''\n }\n setEdit(false);\n editCategoryAxios(requestItem).then(() => {\n getAllCategories();\n })\n \n };\n const removeItem = (id: number | undefined) => {\n removeCategoryAxios(`${id}`)\n .then((res) => {\n getAllCategories();\n }).catch(e => {\n console.log(e);\n });\n setItems((items: Array) => items.filter((category, index) => index !== id));\n };\n \n const scaleParameterSelectList: IScaleParameter[] = [\n {value: \"price\", label: \"Price\"},\n {value: \"qty\", label: \"Quantity\"}\n ];\n \n const categoryList = [\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n item.name = value}\n disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n item.product_group = value}\n disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n item.product_sku = value}\n disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n \n item.scale_parameter = value\n }\n hideSelectorFilter\n />\n );\n }\n },\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n item.scale_factor = value ? value : '0'}\n disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n item.transaction_value = value}\n disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n minWidth: \"8%\",\n cell: (item: posCategoryItem): JSX.Element => {\n return (\n \n );\n }\n },\n {\n name: \"\",\n minWidth: \"3.5%\",\n cell: (item: posCategoryItem, index: number): JSX.Element => {\n \n return (\n
    \n {item.edit && item.id ?\n \n : item.edit ? : <>\n \n \n }\n \n
    \n );\n }\n }\n ];\n \n return (\n \n
    \n
    \n \n \n \n \n \n \n \n
    \n
    \n
    \n \n {items !== null ? (\n items.length > 0 ? (\n <>\n {edit ?
    \n \n }\n />\n
    :
    \n \n }\n />\n
    }\n \n \n ) : (\n
    Sorry, nothing found
    \n )\n ) : null}\n
    \n
    \n );\n};\n\nexport default PosCategoryColumnWrapper;\n","import React, {FC, useEffect, useRef, useState} from \"react\";\nimport { WrapperTableList } from \"src/views/StaffMembers/InnerTable/styled\";\nimport DataTable from \"react-data-table-component\";\nimport Input from \"../../Input\";\nimport { ReactComponent as CheckCircle } from \"../../../assets/img/checkCircle.svg\";\nimport { ReactComponent as Edit } from \"../../../assets/img/edit.svg\";\nimport { ReactComponent as Delete } from \"../../../assets/img/delete.svg\";\nimport { ReactComponent as CirclePlus } from \"../../../assets/img/circle-plus.svg\";\nimport Select from \"../../Select\";\nimport {\n editStampCategoryAxios,\n removeStampCategoryAxios,\n setPosStampCategoryAxios\n} from \"../../../api/posTerminals\";\nimport {\n posStampCategoryRequest\n} from \"../../../types/posRyles\";\nimport Modal from \"../../Modal\";\nimport Checkbox from \"../../CheckBox\";\n\nconst InnerPosStampCategoryGroup: FC = ({ data, setItems, edit, setEdit, selectStampCategory, getAllCategories, scaleParemeterSelectList }) => {\n const [innerGroup, setInnerGroup] = useState([])\n const [allItems, setAllItems] = useState(data)\n const [successResponse, setSuccessResponse] = useState('')\n \n const changeItemParameters = (index: number, field: string, value: any)=>{\n setInnerGroup(prevItems => {\n return prevItems.map((item, i) =>\n i === index ? { ...item, [field]: value } : item\n )})\n }\n \n \n const categoryList = [\n {\n name: \"\",\n width: \"15%\",\n cell: (item: posStampCategoryRequest): JSX.Element => {\n return (\n item.name = value}\n // disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"15%\",\n cell: (item: posStampCategoryRequest): JSX.Element => {\n return (\n item.product_group = value}\n // disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"15%\",\n cell: (item: posStampCategoryRequest): JSX.Element => {\n return (\n item.product_sku = value}\n // disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"15%\",\n cell: (item: posStampCategoryRequest): JSX.Element => {\n return ( stamp.value === item.icon)[0] || scaleParemeterSelectList[0]}\n getValue={(value) => item.icon = value}\n hideSelectorFilter\n // disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"15%\",\n cell: (item: posStampCategoryRequest): JSX.Element => {\n return (\n item.target = +value}\n // disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"10%\",\n cell: (item: posStampCategoryRequest, index: number): JSX.Element => {\n return (\n changeItemParameters(index, 'is_dedicated', isChecked)}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"7.5%\",\n cell: (item: any, index: number): JSX.Element => {\n\n return (\n
    \n {item.edit && item.id ?\n \n : item.edit ? : <>\n \n \n }\n\n
    \n );\n }\n }\n ];\n\n useEffect(() => {\n setInnerGroup(allItems.children);\n setEdit(false)\n }, []);\n\n const saveItem = (id: number) => {\n const newItems = innerGroup;\n newItems[id].edit = false;\n\n const requestItem:posStampCategoryRequest = {\n name: newItems[id].name,\n product_group: newItems[id].product_group,\n product_sku: newItems[id].product_sku,\n icon: `${newItems[id].icon}`,\n target: newItems[id].target,\n parent: `${allItems.id}`,\n is_dedicated: newItems[id].is_dedicated,\n }\n setPosStampCategoryAxios(requestItem).then((res) => {\n getAllCategories();\n newItems[id] = { ...res.data, children: [] }\n setSuccessResponse('Group was created')\n setEdit(false);\n }).catch(e => {\n console.log(e);\n });\n\n };\n const editItem = (id: number) => {\n const newItems = innerGroup;\n newItems[id].edit = true;\n setEdit(true);\n };\n const saveEditItem = (id: number | undefined) => {\n const newItems = innerGroup.find(item => item.id === id);\n newItems!.edit = false;\n console.log(newItems)\n const requestItem:posStampCategoryRequest = {\n id: newItems!.id,\n name: newItems!.name,\n product_group: newItems!.product_group,\n product_sku: newItems!.product_sku,\n icon: `${newItems!.icon}`,\n target: newItems!.target,\n is_dedicated: newItems!.is_dedicated,\n parent: `${allItems.id}`\n }\n editStampCategoryAxios(requestItem).then(()=>{\n getAllCategories();\n setEdit(false);\n })\n };\n const removeItem = (id: number | undefined) => {\n removeStampCategoryAxios(`${id}`)\n .then((res) => {\n getAllCategories();\n setInnerGroup((items: Array) => items.filter((category, index) => category.id !== id));\n setSuccessResponse('Group was removed')\n setEdit(false);\n }).catch(e => {\n console.log(e);\n });\n\n };\n\n const addNewCategory = () => {\n const newItem:posStampCategoryRequest = {\n name: '',\n product_group: '',\n product_sku: '',\n icon: 'coffee_cup',\n target: 0,\n edit: true,\n is_dedicated: false,\n }\n setEdit(true);\n\n setInnerGroup((group:posStampCategoryRequest[]) => group = [...group, newItem])\n }\n\n\n return (\n \n {innerGroup.length > 0 ?\n
    \n selectStampCategory(row)}\n expandableRows\n expandableRowDisabled={()=>edit}\n expandableRowsComponent={\n \n }\n />\n
    \n : (\n
    Sorry, nothing found
    \n )\n }\n \n\n {successResponse && (\n setSuccessResponse(\"\")}\n closeOutsideClick={true}\n >\n
    \n
    Success
    \n
    {successResponse}
    \n
    \n \n )}\n
    \n\n );\n};\n\nexport default InnerPosStampCategoryGroup;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n position: relative;\n overflow: hidden;\n width: 50%;\n\n .add-stampCategory {\n margin: 5px 2px;\n width: 30%;\n justify-self: start;\n display: flex;\n align-items: center;\n justify-content: center;\n\n .icon {\n margin-right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n width: 23px;\n height: 23px;\n }\n }\n }\n\n .extras-based-wrapper {\n width: 100%;\n flex-direction: row;\n align-items: start;\n justify-content: space-between;\n position: relative;\n\n .header {\n flex-direction: column;\n width: 70%;\n\n .header-tab {\n height: auto;\n display: flex;\n justify-content: space-between;\n gap: 2%;\n\n .column {\n width: 40%;\n }\n\n .column_buttons {\n min-width: 100px;\n }\n\n\n }\n\n .extras-based-form {\n display: flex;\n justify-content: space-between;\n\n .table {\n width: 100%;\n\n & > div {\n overflow-y: visible;\n\n & > div {\n display: block;\n }\n\n }\n\n .rdt_TableRow {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 2%;\n padding: 12px 0 0;\n\n .rdt_TableCell {\n width: 30%;\n padding-left: 0;\n\n & > div {\n width: 100%;\n\n input {\n padding-right: 40px;\n }\n\n }\n\n .select {\n margin-bottom: 12px;\n }\n\n &:nth-last-child(1) {\n width: 10%;\n margin-bottom: 12px;\n\n .buttons {\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n button {\n width: 45%;\n padding: 7.5px 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .save-btn {\n width: 100%;\n padding: 9.5px 10px;\n\n .icon {\n margin-right: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n \n }\n }\n }\n\n }\n }\n }\n\n\n }\n\n .table-edit {\n & > div {\n padding-bottom: 140px;\n\n .select {\n .bottom {\n //max-height: 130px;\n width: 120%;\n }\n }\n }\n }\n\n .modal-content {\n text-align: center;\n padding: 60px 50px;\n @media (max-width: 600px) {\n padding: 30px 15px;\n }\n\n .title {\n color: ${Color.blueDarkText};\n font-size: 30px;\n font-weight: 500;\n line-height: 38px;\n text-align: center;\n @media (max-width: 600px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n\n .sub-title {\n color: ${Color.blueDarkText};\n font-size: 25px;\n font-weight: 500;\n line-height: 38px;\n text-align: center;\n @media (max-width: 600px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n }\n }\n }\n\n }\n`;\n\nexport { Wrapper };\n","import React, {useCallback, useEffect, useState} from 'react';\nimport {Wrapper} from \"./styled\";\nimport PosCategoryColumn from \"../../../components/PosCategoryColumnWrapper/PosCategoryColumn\";\nimport DataTable from \"react-data-table-component\";\nimport PosTabWrapper from \"../../../components/PosTabWrapper\";\nimport Input from \"../../../components/Input\";\nimport {ReactComponent as CheckCircle} from \"../../../assets/img/checkCircle.svg\";\nimport {ReactComponent as Edit} from \"../../../assets/img/edit.svg\";\nimport {ReactComponent as Delete} from \"../../../assets/img/delete.svg\";\nimport {ReactComponent as CirclePlus} from \"../../../assets/img//circle-plus.svg\";\nimport {createExtrasProductsAxios, getExtrasProductsAxios, removeExtrasProductsAxios} from \"../../../api/posTerminals\";\n\nconst ExtrasProducts = () => {\n const invalidInputTextValue = [\n '', 0, 0.0,'0'\n ]\n const [extrasProducts, setExtrasProducts] = useState([]);\n \n const getExtrasProducts = useCallback(() => {\n getExtrasProductsAxios().then(res => {\n setExtrasProducts(res.data.productExtras);\n })\n }, [])\n \n useEffect(() => {\n getExtrasProducts()\n }, []);\n \n const saveEditStampCategory = (id: number) => {\n const newItems = extrasProducts.filter(item => item.id === id)[0];\n newItems.edit = true;\n if(invalidInputTextValue.includes(newItems.name) || invalidInputTextValue.includes(newItems.sku)) {\n return\n }\n \n const requestItem: any = {\n id: newItems.id,\n name: newItems.name,\n sku: newItems.sku,\n }\n createExtrasProductsAxios(requestItem).then(() => {\n getExtrasProducts();\n })\n }\n \n const addNewPosStampCategory = (index: number) => {\n const newItems = extrasProducts[index];\n newItems.edit = false;\n if(invalidInputTextValue.includes(newItems.name) || invalidInputTextValue.includes(newItems.sku)) {\n return\n }\n \n const requestItem: any = {\n name: newItems.name,\n sku: newItems.sku,\n }\n createExtrasProductsAxios(requestItem).then(() => {\n getExtrasProducts();\n }).catch(e => {\n console.log(e);\n });\n }\n \n const editPosStampCategoryItem = (id: number) => {\n const newItems = extrasProducts;\n newItems[id].edit = true;\n setExtrasProducts((stamp: Array) => stamp = [...newItems]);\n };\n \n const removePosStampCategoryItem = (id: number | undefined) => {\n removeExtrasProductsAxios({id})\n .then((res) => {\n getExtrasProducts();\n }).catch(e => {\n console.log(e);\n });\n setExtrasProducts((items: Array) => items.filter((category) => category.id !== id));\n };\n \n const addPosStampCategory = () => {\n const newStampCategoryItem: any = {\n name: '',\n sku: '',\n edit: true,\n }\n setExtrasProducts([...extrasProducts, newStampCategoryItem])\n // setEditStamp(true)\n }\n \n const extrasProductsList = [\n {\n name: \"\",\n maxWidth: \"40%\",\n cell: (item: any): JSX.Element => {\n return (\n item.name = value}\n // disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"40%\",\n cell: (item: any): JSX.Element => {\n return (\n item.sku = value}\n // disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"10%\",\n cell: (item: any, index: number): JSX.Element => {\n \n return (\n
    \n {item.edit && item.id ?\n \n : item.edit ?\n : <>\n \n \n }\n \n
    \n );\n }\n }\n ];\n \n return (\n \n \n <>\n
    \n
    \n
    \n \n \n
    \n
    \n
    \n {extrasProducts !== null ? (\n extrasProducts.length > 0 ? (\n
    \n \n
    \n ) : (\n
    Sorry, nothing found
    \n )\n ) : null}\n
    \n \n
    \n
    \n \n \n \n
    \n
    \n );\n};\n\nexport default ExtrasProducts;\n","import React, {useEffect, useRef, useState} from \"react\";\nimport { Wrapper } from \"./styled\";\nimport PosTabWrapper from \"../../components/PosTabWrapper\";\nimport PosCategoryColumnWrapper from \"../../components/PosCategoryColumnWrapper\";\nimport { ReactComponent as CirclePlus } from \"../../assets/img//circle-plus.svg\";\nimport PosCategoryColumn from \"../../components/PosCategoryColumnWrapper/PosCategoryColumn\";\nimport Card from \"../../components/Card\";\nimport { getPlaceInfoAxios } from \"../../api/place\";\nimport { BusinessInfoInterface } from \"../../types/place\";\nimport Input from \"../../components/Input\";\nimport Select from \"../../components/Select\";\nimport { posCategoryItem, posStampCategoryRequest } from \"../../types/posRyles\";\nimport {\n editStampCategoryAxios,\n getAllCategoriesAxios,\n getPosStampCategoryAxios, removeStampCategoryAxios,\n setPosStampCategoryAxios\n} from \"../../api/posTerminals\";\nimport { getStampIconsAxios } from \"../Registration/Step/RegistrationBuildYourCard/api\";\nimport { stampIcon } from \"../../types/stampIcon\";\nimport DataTable from \"react-data-table-component\";\nimport { ReactComponent as CheckCircle } from \"../../assets/img/checkCircle.svg\";\nimport { ReactComponent as Edit } from \"../../assets/img/edit.svg\";\nimport { ReactComponent as Delete } from \"../../assets/img/delete.svg\";\nimport InnerPosStampCategoryGroup\n from \"../../components/PosCategoryColumnWrapper/innerPosStampCategory/InnerPosStampCategoryGroup\";\nimport {useTypedSelector} from \"../../hooks/useTypedSelector\";\nimport ExtrasProducts from \"./ExtrasProducts/ExtrasProducts\";\n\nconst PosRules = () => {\n const { loggedUser } = useTypedSelector((state) => state.auth);\n const [cardClosed, setCardClosed] = useState(false);\n const [businessLogo, setBusinessLogo] = useState('');\n const [items, setItems] = useState([]);\n const [stampIconList, setStampIconList] = useState([]);\n const [posStamps, setPosStamps] = useState([{\n name: '',\n product_group: '',\n product_sku: '',\n icon: 'coffee_cup',\n target: 0,\n is_dedicated: false,\n }])\n const [selectedStampCategory, setSelectedStampCategory] = useState(posStamps[0])\n const [edit, setEdit] = useState(false)\n const [editStamp, setEditStamp] = useState(false)\n const [businessInfo, setBusinessInfo] = React.useState(\n {\n name: \"\",\n category: \"\",\n promotionName: \"\",\n promotionTypeName: \"\",\n promotionVaucherInformation: \"\",\n promotionTypeID: 0,\n maxNumberPromotion: 0,\n verification_status: null,\n promotionLabel: null,\n businessType: {\n display_name: null,\n id: null,\n name: null,\n },\n stampIcon: {\n display_name: null,\n id: null,\n name: null,\n single_item: null,\n },\n points: [],\n website_url: \"\",\n instagram_url: \"\",\n facebook_url: \"\",\n first_checkIn: '',\n bonusRewardTarget: 0,\n bonusRewardValue: 0,\n bonusRewardLabel: '',\n bonusRewardExpireDays: '',\n }\n );\n useEffect(() => {\n getAllCategoriesAxios().then((res)=>{\n setItems(res);\n })\n getPosStampCategories()\n handleGetStampIcons()\n\n // setItems([...defItems])\n },[])\n\n\n const handleGetStampIcons = () => {\n getStampIconsAxios().then((response) => {\n setStampIconList(\n response.data.stampIcons.map((_stampIcon: stampIcon) => {\n return {\n value: _stampIcon.name,\n label: _stampIcon.display_name,\n additional: {\n icon_name: _stampIcon.name,\n single_item: _stampIcon.single_item,\n },\n };\n })\n );\n });\n };\n\n useEffect(() => {\n getPlaceInfo();\n }, [items]);\n\n const getPlaceInfo = () => {\n getPlaceInfoAxios().then(({ data }) => {\n // setGetInfoLoadingLoading(false);\n setBusinessLogo(data.place.image);\n setBusinessInfo({\n ...businessInfo,\n name: data.place.name,\n category: data.place.category,\n promotionName: data.place.details,\n promotionVaucherInformation: data.place.description,\n promotionTypeName: data.place.promotion,\n promotionTypeID: data.place.promotion_id,\n maxNumberPromotion: data.place.maxStamp,\n verification_status: data.place.verification_status,\n promotionLabel: data.place.promotion_label,\n businessType: {\n display_name: data.place.business_type.display_name,\n id: data.place.business_type.id,\n name: data.place.business_type.name,\n },\n stampIcon: {\n display_name: data.place.stamp_icon?.display_name,\n id: data.place.stamp_icon?.id,\n name: data.place.stamp_icon?.name,\n single_item: data.place.stamp_icon?.single_item,\n },\n points: data.place.points,\n website_url: data.place.website_url,\n instagram_url: data.place.instagram_url,\n facebook_url: data.place.facebook_url,\n first_checkIn: data.place.first_checkIn\n });\n // setLocations(data.locations);\n // setLocationMaxCount(data.location_max_count);\n });\n };\n\n const getAllCategories: any = async () => {\n await getAllCategoriesAxios().then((res)=>{\n return setItems(res);\n })\n }\n const getPosStampCategories: any = async () => {\n\n await getPosStampCategoryAxios().then((res)=>{\n return res.data !== null ? setPosStamps(res.data) : setPosStamps([{\n name: '',\n product_group: '',\n product_sku: '',\n icon: 'coffee_cup',\n target: 0,\n is_dedicated: false,\n }])\n })\n\n }\n const invalidInputTextValue = [\n '', 0, 0.0,'0'\n ]\n\n const addPosStampCategory = () => {\n const newStampCategoryItem:posStampCategoryRequest = {\n name: '',\n product_group: '',\n product_sku: '',\n icon: 'coffee_cup',\n target: 0,\n edit: true,\n children: [],\n is_dedicated: false,\n }\n setPosStamps([...posStamps, newStampCategoryItem])\n setEditStamp(true)\n }\n\n const addNewCategory = () => {\n const newItem:posCategoryItem = {\n edit: true,\n name: '',\n product_group: '',\n product_sku: '',\n scale_parameter: 'price',\n scale_factor: '0',\n transaction_value: 0,\n currency: loggedUser.user.currency_symbol || '€',\n allocated: '',\n children: []\n }\n\n setItems(items => items = [...items, newItem])\n setEdit(true)\n\n }\n\n const saveEditStampCategory = (id: number) =>{\n const newItems = posStamps.filter(item => item.id === id)[0];\n newItems.edit = true;\n if(invalidInputTextValue.includes(newItems.name) || invalidInputTextValue.includes(newItems.product_group)) {\n return\n }\n\n const requestItem:posStampCategoryRequest = {\n id: newItems.id,\n name: newItems.name,\n product_group: newItems.product_group,\n product_sku: newItems.product_sku,\n icon: `${newItems.icon}`,\n target: newItems.target,\n is_dedicated: newItems.is_dedicated,\n parent: ''\n }\n setEditStamp(false);\n editStampCategoryAxios(requestItem).then(()=>{\n getPosStampCategories();\n })\n }\n\n const addNewPosStampCategory = (index: number) => {\n const newItems = posStamps[index];\n newItems.edit = false;\n if(invalidInputTextValue.includes(newItems.name) || invalidInputTextValue.includes(newItems.product_group)) {\n return\n }\n\n const requestItem:posStampCategoryRequest = {\n name: newItems.name,\n product_group: newItems.product_group,\n product_sku: newItems.product_sku,\n icon: `${newItems.icon}`,\n target: newItems.target,\n is_dedicated: newItems.is_dedicated,\n parent: ''\n }\n setEditStamp(true)\n setPosStampCategoryAxios(requestItem).then(() => {\n getPosStampCategories();\n }).catch(e => {\n console.log(e);\n });\n }\n\n const editPosStampCategoryItem = (id: number) => {\n const newItems = posStamps;\n newItems[id].edit = true;\n setPosStamps((stamp: Array) => stamp = [...newItems]);\n setEditStamp(true)\n };\n\n const removePosStampCategoryItem = (id: number | undefined) => {\n removeStampCategoryAxios(`${id}`)\n .then((res) => {\n getPosStampCategories();\n }).catch(e => {\n console.log(e);\n });\n setPosStamps((items: Array) => items.filter((category) => category.id !== id));\n };\n\n const selectStampCategory = (row:any) => {\n setSelectedStampCategory(row)\n }\n\n const categoryList = [\n {\n name: \"\",\n width: \"15%\",\n cell: (item: posStampCategoryRequest): JSX.Element => {\n return (\n item.name = value}\n // disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"15%\",\n cell: (item: posStampCategoryRequest): JSX.Element => {\n return (\n item.product_group = value}\n // disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"15%\",\n cell: (item: posStampCategoryRequest): JSX.Element => {\n return (\n item.product_sku = value}\n // disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"15%\",\n cell: (item: posStampCategoryRequest): JSX.Element => {\n return ( stamp.value === item.icon)[0] || stampIconList[0]}\n getValue={(value) => item.icon = value}\n hideSelectorFilter\n disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"15%\",\n cell: (item: posStampCategoryRequest): JSX.Element => {\n return (\n item.target = +value}\n // disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"7.5%\",\n cell: (item: any, index: number): JSX.Element => {\n\n return (\n
    \n {item.edit && item.id ?\n \n : item.edit ? : <>\n \n \n }\n\n
    \n );\n }\n }\n ];\n return (\n \n \n
    \n \n \n
    \n
    \n {loggedUser.user.allow_pos_extras ?\n \n : null}\n\n \n <>\n
    \n
    \n
    \n
    \n \n \n \n \n \n
    \n \n
    \n \n \n
    \n\n {posStamps !== null ? (\n posStamps.length > 0 ? (\n <>\n
    \n selectStampCategory(row)}\n data={posStamps}\n expandableRows\n expandableRowsComponent={\n \n }\n />\n
    \n \n ) : (\n
    Sorry, nothing found
    \n )\n ) : null}\n
    \n \n
    \n \n\n
    \n\n \n\n
    \n\n
    \n );\n};\n\nexport default PosRules;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n position: relative;\n overflow: hidden;\n \n .locations {\n position: relative;\n /* margin-right: 30px; */\n /* width: calc(70% - 30px); */\n margin-top: 30px;\n border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 25px 30px;\n box-sizing: border-box;\n\n .title {\n color: ${Color.blueDarkText};\n font-size: 20px;\n font-weight: 500;\n line-height: 25px;\n margin-bottom: 25px;\n }\n\n .create-filter {\n margin-bottom: 15px;\n }\n\n .create-location {\n form {\n margin-bottom: 30px;\n border: 1px solid rgba(0, 13, 70, 0.1);\n border-radius: 5px;\n padding: 15px;\n position: relative;\n }\n\n .title-close {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 10px;\n\n .title {\n font-size: 18px;\n font-weight: 500;\n line-height: 21px;\n margin-bottom: 0px;\n }\n\n .close {\n background: none;\n opacity: 0.6;\n line-height: 0;\n\n &:hover {\n opacity: 1;\n }\n\n svg {\n width: 24px;\n height: 24px;\n }\n }\n }\n\n .select-deal-container {\n .select {\n margin-bottom: 15px;\n }\n }\n\n .input-wrap {\n margin-bottom: 15px;\n\n .location-group {\n svg path {\n fill: ${Color.blue};\n }\n }\n }\n\n .add-location-wrapper {\n display: flex;\n flex-direction: column;\n\n .left-block {\n width: 100%;\n margin-right: 15px;\n }\n\n .right-block {\n width: 100%;\n\n .upload-image {\n /* height: 150px; */\n margin-bottom: 15px;\n }\n }\n }\n }\n\n .create-new-user {\n form {\n margin-bottom: 30px;\n border: 1px solid rgba(0, 13, 70, 0.1);\n border-radius: 5px;\n padding: 15px;\n overflow: hidden;\n }\n\n .title-close {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 10px;\n\n .title {\n font-size: 18px;\n font-weight: 500;\n line-height: 21px;\n margin-bottom: 0px;\n }\n\n .close {\n background: none;\n opacity: 0.6;\n line-height: 0;\n\n &:hover {\n opacity: 1;\n }\n\n svg {\n width: 24px;\n height: 24px;\n }\n }\n }\n\n .input-wrap {\n display: flex;\n margin-bottom: 15px;\n\n & > div {\n flex: 1;\n width: calc(100% / 3);\n margin-right: 20px;\n\n &:last-child {\n margin-right: 0;\n }\n }\n }\n }\n\n .location-item {\n border-radius: 4px;\n background-color: ${Color.blueLightBackground};\n margin-bottom: 10px;\n padding: 20px;\n box-sizing: border-box;\n\n .main {\n border-bottom: 1px solid rgba(0, 13, 70, 0.1);\n margin-bottom: 15px;\n\n .logo-nameAddress {\n display: flex;\n align-items: flex-start;\n }\n\n .logo {\n line-height: 0;\n margin-right: 15px;\n\n img {\n height: 40px;\n width: 40px;\n border-radius: 100%;\n object-fit: cover;\n }\n }\n\n .name-address {\n width: calc(100% - 55px);\n }\n\n .name {\n color: ${Color.blueDarkText};\n font-size: 18px;\n font-weight: 500;\n line-height: 23px;\n margin-bottom: 5px;\n }\n\n .address {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 22px;\n margin-bottom: 20px;\n }\n\n .edit-remove {\n display: flex;\n align-items: center;\n\n button {\n background: none;\n padding: 0;\n opacity: 0.6;\n\n &:hover {\n opacity: 1;\n }\n }\n\n .edit {\n margin-right: 10px;\n }\n }\n }\n\n .two_btn_wrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-wrap: wrap;\n @media (max-width: 600px) {\n * {\n flex-basis: 100%;\n margin-bottom: 10px;\n }\n }\n button {\n background: none;\n color: ${Color.blue};\n font-size: 16px;\n font-weight: 500;\n line-height: 20px;\n text-align: center;\n }\n }\n\n &.hide-staff {\n .show-hide-staff {\n button {\n .hide {\n display: none;\n }\n }\n }\n\n .staff-list-wrap {\n height: 0px;\n overflow: hidden;\n }\n }\n\n &.show-staff {\n .show-hide-staff {\n button {\n .show {\n display: none;\n }\n }\n }\n }\n\n .show-hide-staff {\n text-align: center;\n }\n\n .staff-list-wrap {\n transition: 0.5s all ease;\n }\n\n .create-filter {\n display: flex;\n\n .search-wrap {\n margin-left: 20px;\n flex: 1;\n width: 100%;\n }\n\n button {\n margin-bottom: 15px;\n }\n }\n\n .staff-list {\n border-bottom: 1px solid rgba(0, 13, 70, 0.1);\n padding-bottom: 20px;\n box-sizing: border-box;\n margin-bottom: 15px;\n\n &.table {\n & > div {\n overflow: unset;\n }\n }\n\n &-table-wrap {\n position: relative;\n }\n\n div.rdt_TableRow {\n padding: 13px 0;\n }\n\n div:first-child {\n &::-webkit-scrollbar {\n height: 5px;\n }\n\n &::-webkit-scrollbar-thumb {\n background: ${Color.white};\n border-radius: 3px;\n }\n\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n\n &:hover {\n &::-webkit-scrollbar-thumb {\n background: ${Color.blueLight};\n }\n\n &::-webkit-scrollbar-thumb:hover {\n background: ${Color.blueText};\n }\n }\n }\n }\n @media (max-width: 500px) {\n padding: 15px;\n }\n }\n\n .edit_location {\n margin-bottom: 25px;\n .close-wrap {\n display: flex;\n justify-content: flex-end;\n margin: 5px 0px 15px;\n .close {\n background: none;\n }\n }\n\n .edit_location_form {\n display: flex;\n justify-content: space-between;\n flex-wrap: wrap;\n & > *:nth-child(1) {\n flex-basis: 45%;\n }\n & > *:nth-child(2) {\n flex-basis: 45%;\n }\n & > *:nth-child(3) {\n flex-basis: 100%;\n }\n .btn_wrapper {\n width: 100%;\n }\n @media (max-width: 600px) {\n & > *:nth-child(1) {\n flex-basis: 100%;\n }\n & > *:nth-child(2) {\n flex-basis: 100%;\n margin: 15px 0px;\n }\n }\n }\n\n .location-group-logo {\n flex-basis: 100%;\n margin: 15px 0px;\n }\n .welcome_gift_wrapper {\n background-color: ${Color.white};\n padding: 16px;\n flex-basis: 100%;\n margin-bottom: 20px;\n }\n .welcome_gift_form {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n & > * {\n flex-basis: 100%;\n margin: 10px 0px;\n }\n }\n .title_block {\n color: ${Color.blueDarkText};\n font-size: 16px;\n line-height: 20px;\n font-weight: 400;\n margin: 0px 0px 16px;\n }\n }\n\n .sidebar-edit-location {\n .location-group {\n padding: 5px 3px 0px 3px;\n margin-bottom: 15px;\n }\n\n .location-group-google-autocomplete {\n .place-point-icon {\n svg path {\n fill: ${Color.blue};\n }\n }\n }\n\n .location-group-logo {\n .dropZone > div .img img {\n position: absolute;\n }\n }\n\n form {\n button[type=\"submit\"] {\n margin-top: 30px;\n }\n }\n }\n\n .sidebar-edit-staff {\n .staff-group {\n padding: 5px 3px 0px 3px;\n margin-bottom: 15px;\n }\n\n form {\n button[type=\"submit\"] {\n margin-top: 30px;\n }\n }\n }\n @media (max-width: 500px) {\n padding: 15px 10px;\n }\n }\n .remove-modal {\n text-align: center;\n padding: 30px 35px;\n\n .title {\n color: ${Color.blueDarkText};\n font-size: 21px;\n font-weight: 500;\n line-height: 28px;\n text-align: center;\n }\n\n button {\n margin-top: 20px;\n width: auto;\n padding: 10px 20px;\n }\n }\n .main-blocks-row {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n padding: 0px 4px;\n .item {\n flex: 1;\n border-radius: 4px;\n background-color: ${Color.white};\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\n padding: 15px 20px;\n margin-right: 30px;\n &:last-child {\n margin-right: 0;\n }\n\n .title {\n opacity: 0.6;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n margin-bottom: 15px;\n }\n .count {\n color: ${Color.blueDarkText};\n font-size: 44px;\n font-weight: 500;\n line-height: 56px;\n margin-bottom: 10px;\n }\n .description {\n opacity: 0.2;\n color: ${Color.blueDarkText};\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n }\n }\n }\n .add-category{\n margin: 5px 2px;\n width: 20%;\n justify-self: start;\n display: flex;\n align-items: center;\n justify-content: center;\n .icon {\n margin-right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n svg {\n width: 23px;\n height: 23px;\n }\n }\n }.add-stampCategory{\n margin: 5px 2px;\n width: 40%;\n justify-self: start;\n display: flex;\n align-items: center;\n justify-content: center;\n .icon {\n margin-right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n svg {\n width: 23px;\n height: 23px;\n }\n }\n }\n\n .header {\n display: flex;\n align-items: stretch;\n //justify-content: space-between;\n margin-bottom: 15px;\n gap: 15px;\n .column {\n width: 11.4%;\n\n //.column-group{\n // display: flex;\n // //justify-content: space-between;\n // flex-wrap: nowrap;\n // gap: 15px;\n // .column {\n // width: 50%;\n // }\n //}\n .page-title {\n font-size: 16px;\n margin: 0 0 10px 0;\n line-height: normal;\n }\n .description{\n font-size: 12px;\n line-height: normal;\n }\n //&:nth-last-child(2){\n // width: 29%;\n //}\n \n }\n .column_buttons {\n width: 10%;\n }\n }\n\n .content {\n display: flex;\n flex-direction: column;\n align-items: inherit;\n padding-top: 20px;\n width: 100%;\n .rdt_Table{\n .rdt_TableRow{\n padding: 10px 0 0;\n justify-content: space-between;\n .rdt_TableCell{\n display: flex;\n justify-content: center;\n align-items: center;\n .hmJyRg{\n width: 100%;\n }\n input {\n width: 90%;\n }\n a {\n margin-bottom: 12px;\n }\n .disabled{\n opacity: 0.5;\n cursor: default;\n pointer-events: none;\n }\n .buttons {\n width: 100%;\n display: flex;\n justify-content: flex-end;\n margin-bottom: 12px;\n gap: 10px;\n }\n }\n }\n }\n //.item{\n // display: flex;\n // justify-content: space-between;\n // &>div{\n // width: 14%;\n // input{\n // padding-right: 40px;\n // }\n // &:nth-last-child(1){\n // width: 8.5%;\n // margin: 0;\n // }\n // }\n //\n //}\n }\n \n .stamp-based-wrapper {\n width: 100%;\n flex-direction: row;\n align-items: start;\n justify-content: space-between;\n position: relative;\n .header {\n flex-direction: column;\n width: 70%;\n .header-tab {\n height: auto;\n display: flex;\n justify-content: space-between;\n gap: 2%;\n\n .column {\n width: 20%;\n }\n }\n .stamp-based-form {\n display: flex;\n justify-content: space-between;\n .table {\n width: 100%;\n .rdt_TableRow{\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 12px 0 0;\n \n .sc-idiyUo{\n position: absolute;\n z-index: 9999;\n left: -10px;\n margin-bottom: 12px;\n }\n .rdt_TableCell{\n width: 20%;\n padding-left: 0;\n &>div{\n width: 100%;\n input{\n width: 70%;\n padding-right: 40px;\n }\n \n }\n .select{\n margin-bottom: 12px;\n }\n &:nth-last-child(1){\n width: 8.5%;\n margin-bottom: 12px;\n .buttons{\n display: flex;\n justify-content: space-between;\n align-items: center;\n button{\n width: 45%;\n padding: 7.5px 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .save-btn{\n width: 100%;\n padding: 9.5px 10px;\n }\n }\n \n }\n }\n }\n \n \n \n }\n .table-edit{\n &>div{\n padding-bottom: 90px;\n }\n .itNnZW > ul{\n max-height: 90px;\n }\n\n }\n .modal-content{\n text-align: center;\n padding: 60px 50px;\n @media (max-width: 600px) {\n padding: 30px 15px;\n }\n .title {\n color: ${Color.blueDarkText};\n font-size: 30px;\n font-weight: 500;\n line-height: 38px;\n text-align: center;\n @media (max-width: 600px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n .sub-title{\n color: ${Color.blueDarkText};\n font-size: 25px;\n font-weight: 500;\n line-height: 38px;\n text-align: center;\n @media (max-width: 600px) {\n font-size: 23px;\n line-height: 28px;\n }\n }\n }\n }\n }\n \n }\n \n @media (max-width: 1300px) {\n .main-blocks-row {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));\n margin-right: -30px;\n margin-bottom: -30px;\n\n .item.all-customers {\n margin: 0 30px 30px 0;\n }\n }\n }\n @media (max-width: 399px) {\n .main-blocks-row {\n margin-right: 0px;\n .item.all-customers {\n margin-right: 0;\n }\n }\n }\n`;\n\nexport { Wrapper };\n","import React, { useEffect, useState } from \"react\";\nimport { Wrapper } from \"./styled\";\nimport { createLightSpeed, deleteLightSpeed, getLightSpeed} from \"../../api/lightSpeed\";\nimport { ReactComponent as CirclePlus } from \"../../assets/img//circle-plus.svg\";\nimport Input from \"../../components/Input\";\nimport DataTable from \"react-data-table-component\";\nimport { ReactComponent as CloseIcon } from \"../../assets/img/clear.svg\";\nimport { ReactComponent as CheckCircle } from \"../../assets/img/checkCircle.svg\";\nimport { ReactComponent as Edit } from \"../../assets/img/edit.svg\";\nimport { ReactComponent as Delete } from \"../../assets/img/delete.svg\";\nimport Modal from \"../../components/Modal\";\n\nconst ExternalPosIntegration = () => {\n const [lightSpeedBuisnes, setLightSpeedBuisnes] = useState([]);\n const [domainPrefInput, setDomainPrefInput] = useState(\"\");\n const [addLightSpeed, setAddLightSpeed] = useState(false);\n useEffect(() => {\n getAllLightSpeed()\n }, []);\n\n const getAllLightSpeed = () => {\n getLightSpeed().then((res) => {\n setLightSpeedBuisnes(res.data.lightspeedAccounts);\n });\n }\n\n const handleAddLightSpeed = (event: React.FormEvent) => {\n event.preventDefault();\n const requestObject = {\n domainPrefix: domainPrefInput\n };\n closeAddForm()\n createLightSpeed(requestObject).then(res => {\n getAllLightSpeed()\n });\n };\n const [deleteLightSpeedItem, setDeleteLightSpeedItem] = useState(null);\n\n const closeAddForm = () => {\n setAddLightSpeed(false)\n setDomainPrefInput('')\n }\n\n const saveLightSpeedItem = (id: number) =>{\n const newItems: any = lightSpeedBuisnes.filter((item: any) => item.id === id)[0];\n newItems.edit = false;\n\n const requestObject = {\n id: newItems.id,\n domainPrefix: newItems.domainPrefix\n };\n // setEditStamp(false);\n createLightSpeed(requestObject).then(res => {\n getAllLightSpeed()\n });\n }\n const editLightSpeedItem = (id: number) => {\n const newItems: any[] = lightSpeedBuisnes;\n newItems[id]!.edit = true;\n // @ts-ignore\n setLightSpeedBuisnes((stamp: any) => stamp = [...newItems]);\n };\n\n const selectRemoveLightSpeed = (id: number) => {\n // @ts-ignore\n setDeleteLightSpeedItem(lightSpeedBuisnes.find(item => item.id === id))\n }\n const removeLightSpeedItem = () => {\n // @ts-ignore\n deleteLightSpeed({id: deleteLightSpeedItem.id})\n .then((res) => {\n getAllLightSpeed();\n setDeleteLightSpeedItem(null)\n }).catch(e => {\n console.log(e);\n });\n };\n\n const categoryList = [\n {\n name: \"\",\n width: \"50%\",\n cell: (item: any): JSX.Element => {\n return (\n item.domainPrefix = value}\n disabled={!item.edit}\n />\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"20%\",\n cell: (item: any): JSX.Element => {\n return (\n {item.accessToken ? 'Confirmed' : 'Confirm'}\n );\n }\n },\n {\n name: \"\",\n maxWidth: \"15%\",\n cell: (item: any, index: number): JSX.Element => {\n return (\n
    \n {item.edit && item.id ?\n \n : <>\n \n \n }\n\n
    \n );\n }\n }\n ];\n return (\n \n

    External Pos Integration

    \n
    \n \n {addLightSpeed ? (\n
    \n \n
    \n
    \n
    Create new LightSpeed
    \n \n \n \n
    \n
    \n
    \n
    \n setDomainPrefInput(value)\n }\n />\n
    \n
    \n \n
    \n
    \n \n
    \n ) : null}\n
    \n
    \n \n
    \n {deleteLightSpeedItem && (\n setDeleteLightSpeedItem(null)}\n closeOutsideClick\n >\n \n
    \n
    \n Please confirm delete light Speed "\n {deleteLightSpeedItem.clientId}\n
    \n {\n removeLightSpeedItem();\n }}\n >\n Confirm delete\n \n
    \n \n \n )}\n\n\n
    \n );\n};\n\nexport default ExternalPosIntegration;\n","import styled from \"styled-components\";\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n position: relative;\n height: 100%;\n width: 100%;\n \n .response {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-size: 30px;\n z-index: 53453453;\n h3 {\n color: ${Color.blueDarkText};\n }\n }\n`;\n\nexport { Wrapper };\n","import React, { useEffect, useState } from \"react\";\nimport { Wrapper } from \"./styled\";\nimport {\n checkIntegrationLightSpeed,\n createRemouteRulsLightSpeedLocations, setCustomFieldsLightSpeedLocations,\n setDiscountProductLightSpeed, setLoyaltyProductLightSpeedLocations, setWebhookLightSpeedLocations\n} from \"../../api/lightSpeed\";\n\n// @ts-ignore\nconst ConfirmLightSpeed = () => {\n const [message, setMessage] = useState('')\n useEffect(() => {\n checkIntegrationLightSpeed(window.location.search).then(res => {\n setMessage(res.data.message)\n setDiscountProductLightSpeed()\n createRemouteRulsLightSpeedLocations()\n setWebhookLightSpeedLocations()\n setCustomFieldsLightSpeedLocations()\n setLoyaltyProductLightSpeedLocations()\n }).catch(err => {\n console.log(err);\n setMessage(err.data.message)\n })\n }, [])\n\n\n return (\n \n
    \n {message}\n
    \n\n
    \n );\n};\n\nexport default ConfirmLightSpeed;\n","import styled from 'styled-components';\nimport { Color } from \"src/types/color\";\n\nconst Wrapper = styled.div`\n .header{\n h2{\n color: ${Color.blueDarkText};\n font-size: 30px;\n }\n }\n .main_advert{\n .subtitle{\n h3{\n font-size: 25px;\n color: ${Color.blueDarkText};\n }\n }\n }\n`;\n\nexport { Wrapper }","import styled, {keyframes} from 'styled-components';\nimport { Color } from \"src/types/color\";\n\nconst uploadKeyFrames = keyframes`\n 0% {\n transform: translateY(8px);\n }\n 50% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(8px);\n }\n`;\nconst Wrapper = styled.div`\n .header {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n gap: 15px;\n margin-bottom: 20px;\n\n .column__title {\n width: 15%;\n font-size: 20px;\n color: ${Color.blueDarkText};\n font-weight: 500;\n }\n }\n\n .main__item {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n gap: 20px;\n \n\n .item__wrapper {\n width: 100%;\n gap: 15px;\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n\n .buttons{\n width: 10%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n button{\n width: 45%;\n padding: 7.5px 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .save-btn{\n width: 100%;\n padding: 9.5px 10px;\n }\n }\n .column{\n width: 15%;\n .groups-wrap{\n margin-bottom: 10px;\n .calendar-wrapper{\n input {\n width: 77%;\n }\n }\n .react-datepicker-popper{\n z-index: 10;\n }\n }\n \n }\n .big_box{\n width: 40%;\n }\n .selectImg {\n height: 150px;\n border-radius: 8px;\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);\n \n .dropZone {\n display: flex;\n flex-direction: column;\n height: 100%;\n\n &.with-photo {\n & > div {\n .dropZone-content-text {\n opacity: 0;\n transition: 0.5s all ease;\n }\n }\n\n &:hover {\n & > div {\n .dropZone-content-text {\n opacity: 1;\n }\n }\n }\n }\n\n & > div {\n position: relative;\n height: 100%;\n outline: none;\n cursor: pointer;\n\n &.active_true {\n border-color: ${Color.blueDark};\n box-shadow: 0px 0px 9px 1px rgb(0 0 0 / 35%);\n }\n\n &.active_false {\n min-height: 150px;\n }\n\n input {\n max-width: 100%;\n display: block !important;\n position: absolute;\n bottom: 0;\n right: 0;\n left: 0;\n margin: auto;\n opacity: 0;\n z-index: -1;\n }\n\n .img {\n line-height: 0;\n }\n\n .dropZone-content-text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: rgba(255, 255, 255, 0.85);\n\n border: 1.5px dashed ${Color.blueDark};\n border-radius: 4px;\n outline: none;\n padding: 30px;\n cursor: pointer;\n transition: all 0.225s cubic-bezier(0.77, 0.2, 0.05, 1);\n\n & > svg {\n margin-bottom: 5px;\n animation: ${uploadKeyFrames} 2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n\n path[fill-rule=\"evenodd\"] {\n fill: ${Color.blueDark};\n }\n }\n\n .text {\n color: ${Color.blueDark};\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n span {\n margin-bottom: 5px;\n }\n\n .title {\n font-size: 18px;\n font-weight: 300;\n line-height: 23px;\n }\n\n .description {\n opacity: 0.6;\n font-size: 12px;\n font-weight: 300;\n line-height: 15px;\n }\n\n .file-name {\n font-size: 21px;\n font-weight: 300;\n line-height: 23px;\n }\n }\n }\n }\n }\n\n .img {\n height: 100%;\n img {\n max-width: 100%;\n width: 100%;\n max-height: 100%;\n height: 100%;\n }\n }\n }\n }\n \n .nothing_found{\n width: 100%;\n height: 20vh;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 20px;\n font-weight: 700;\n }\n \n\n }\n\n .add-partner {\n margin-top: 30px;\n display: flex;\n align-items: center;\n\n .icon {\n width: 20px;\n height: 20px;\n margin-right: 5px;\n }\n \n }\n .move-column{\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n gap: 15px;\n .move-btn{\n width: 65%;\n min-width: 155px;\n display: flex;\n justify-content: flex-start;\n .icon-revert {\n svg{\n transform: rotate(180deg);\n }\n\n }\n }\n }\n \n \n`;\n\nexport { Wrapper }\n","import React, {useEffect, useState} from 'react';\nimport {Wrapper} from \"./styled\";\nimport Select from \"../Select\";\nimport {ReactComponent as UploadIcon} from \"src/assets/img/upload.svg\";\nimport {ReactComponent as CheckCircle} from \"../../assets/img/checkCircle.svg\";\nimport {ReactComponent as ArrowDown} from \"../../assets/img/arrowDown.svg\";\nimport {ReactComponent as Edit} from \"../../assets/img/edit.svg\";\nimport {ReactComponent as Delete} from \"../../assets/img/delete.svg\";\nimport {ReactComponent as CirclePlus} from \"src/assets/img//circle-plus.svg\";\nimport {DropEvent, FileRejection, useDropzone} from \"react-dropzone\";\nimport Textarea from \"../Textarea\";\nimport Input from \"../Input\";\nimport Calendar from \"../Calendar\";\nimport {AdvertsOffersType, AdvertsPartnerRequestType, AdvertsPartnerType} from \"../../types/adminTypes\";\nimport {\n createAdvertOutletsAxios,\n createAdvertPartnerAxios,\n getAdminBusinessesNamesAxios, moveAdvertPartnersAxios,\n removeAdvertOutletsAxios,\n removeAdvertPartnerAxios,\n uploadPhotoAxios\n} from \"../../api/adminPanel\";\nimport {SelectorListObj} from \"../Select/types\";\nimport Checkbox from \"../CheckBox\";\n\ninterface IAdminPartnersItem {\n advertList: AdvertsPartnerType[],\n type: string,\n setPartners: (list: any[]) => void,\n offers: boolean,\n getAllPartners: () => void\n}\n\nconst AdminPartnersItem = ({advertList, setPartners, type, offers = false, getAllPartners}: IAdminPartnersItem) => {\n const [partnersList, setPartnersList] = useState([])\n const [loadingPhoto, setLoadingPhoto] = useState(false);\n const [focusInput, setFocusInput] = useState(0);\n \n const onDrop = (acceptedFiles: any, fileRejections: FileRejection[], event: DropEvent) => {\n if (acceptedFiles[0]) {\n setLoadingPhoto(true);\n const requestFormData: any = new FormData();\n requestFormData.append(\"file\", acceptedFiles[0]);\n uploadPhotoAxios(requestFormData)\n .then((res: any) => {\n // @ts-ignore\n changePartnerParameters(focusInput, false, 'logo', res.data.photo_url)\n // setLogo(+event.target.className, res.data.photo)\n setLoadingPhoto(false);\n })\n .catch(() => {\n setLoadingPhoto(false);\n });\n }\n };\n useEffect(() => {\n setPartnersList(advertList);\n }, [advertList]);\n \n const changePartnerParameters = (id: number, date: boolean, columnName: string, value: Date | string | boolean | number| {\n value: string,\n label: string\n }) => {\n advertList[id] = {...advertList[id], [columnName]: value}\n setPartners([...advertList])\n }\n const {isDragActive, getRootProps, getInputProps} = useDropzone({\n accept: ['image/jpeg', 'image/jpg', 'image/png'],\n multiple: false,\n onDrop,\n });\n \n const [businesses, setBusinesses] = useState([{value: '', label: ''}])\n useEffect(() => {\n getAdminBusinessesNamesAxios().then(({data}) => {\n let selectBusiness: any[] = []\n data.business.forEach((item: any) => {\n selectBusiness.push({value: item.id, label: item.business_name})\n })\n setBusinesses(selectBusiness)\n });\n }, []);\n \n const saveEditItem = (id: string | number) => {\n partnersList.forEach(item => item.id === id ? item.edit = false : null)\n handlerSetItem(partnersList.find(item => item.id === id))\n }\n const handlerSetItem = (data: any) => {\n if (type === 'partner') {\n const requestData : AdvertsPartnerRequestType = data.id ? {\n business_id: data.name,\n logo_url: data.logo,\n id: data.id\n } : {\n business_id: data.name,\n logo_url: data.logo\n }\n createAdvertPartnerAxios(requestData).then(res => {\n getAllPartners()\n })\n } else {\n const requestData : AdvertsOffersType = data.id ? {\n business_id: data.name,\n logo_url: data.logo,\n id: data.id,\n details: data.details,\n startDate: data.startDate/1000,\n endDate: data.endDate/1000,\n week_offer: data.week_offer,\n url: data.url,\n offerType: (type === 'outlets') ? 0 : 1\n } : {\n business_id: data.name,\n logo_url: data.logo,\n details: data.details,\n startDate: data.startDate/1000,\n endDate: data.endDate/1000,\n url: data.url,\n week_offer: data.week_offer,\n offerType: (type === 'outlets') ? 0 : 1\n }\n createAdvertOutletsAxios(requestData).then(res => {\n getAllPartners()\n })\n }\n }\n \n const createItem = (id: string | number) => {\n partnersList.forEach((partner: any) => {\n if (partner.id === id) {\n partner.edit = false\n partner.id = ''\n return partner\n }\n })\n handlerSetItem(partnersList.find(item => item.id === id))\n }\n const removeItem = (id: string | number) => {\n setPartners([...partnersList.filter((item) => item.id !== +id)])\n if (type === 'partner') {\n removeAdvertPartnerAxios(+id).then(res => {\n getAllPartners()\n })\n } else {\n removeAdvertOutletsAxios(+id).then(res => {\n getAllPartners()\n })\n }\n }\n const editPartnerData = (id: string | number) => {\n partnersList.forEach((partner: any) => {\n if (partner.id === id) {\n partner.edit = true\n return partner\n }\n })\n setPartners([...partnersList])\n }\n \n const addNewPartner = () => {\n setPartners([...advertList, {\n id: '',\n edit: true,\n name: businesses[0].value,\n details: '',\n startDate: Date.now(),\n endDate: Date.now(),\n url: '',\n logo: '',\n week_offer: false,\n }])\n }\n \n const movePartnerItem = (id: number, position: number) => {\n moveAdvertPartnersAxios({id, position}).then(res=>{\n getAllPartners()\n })\n }\n \n return (\n \n
    \n

    Business Name

    \n

    Logo {offers ? '(120 x 150)' : '(1920 x 1080)'}

    \n {offers ? <>\n

    Details

    \n

    Promotion Timeline

    \n

    URL

    \n

    Visit Count

    \n

    Pinned

    \n : <>\n

    Position

    \n }\n

    \n
    \n
    \n {partnersList.length > 0 ?\n partnersList.map((item: any, index: number) =>
    \n
    \n \n {item.logo ? (\n
    \n \"\"/\n
    \n ) : null}\n
    \n \n \n \n {item.logo\n ? \"Update your logo\"\n : \"Please upload your logo\"}\n \n \n
    \n
    \n
    \n
    \n \n {offers ? <>\n
    \n