{"version":3,"sources":["redux/settings/actions.ts","components/cleanui/layout/TopBar/style.module.scss","components/cleanui/layout/TopBar/Actions/style.module.scss","shared/hooks/useInterval.ts","shared/services/config/index.ts","redux/settings/sagas.ts","components/cleanui/layout/TopBar/UserMenu/style.module.scss","shared/components/codeove/Feedback/style.module.scss","components/cleanui/layout/Menu/style.module.scss","components/cleanui/layout/Menu/MenuLeft/style.module.scss","components/cleanui/layout/Menu/MenuTop/style.module.scss","components/kit/widgets/Lists/2/style.module.scss","redux/user/actions.ts","redux/user/reducers.ts","redux/menu/actions.ts","redux/menu/reducers.ts","redux/settings/reducers.ts","redux/reducers.ts","shared/services/jwt/index.ts","constants/menu.ts","redux/user/sagas.ts","redux/sagas.ts","locales/en-US.js","locales/fr-FR.js","locales/ru-RU.js","locales/zh-CN.js","locales/tr-TR.js","localization.js","layouts/Public/index.js","layouts/Auth/index.js","components/cleanui/layout/TopBar/FavPages/index.js","components/cleanui/layout/TopBar/UserMenu/index.js","shared/components/codeove/Feedback/index.tsx","components/cleanui/layout/TopBar/index.js","components/cleanui/layout/Menu/MenuLeft/index.js","components/cleanui/layout/Menu/MenuTop/index.js","components/cleanui/layout/Menu/index.js","layouts/index.js","layouts/Main/index.js","constants/routes.ts","router.js","serviceWorker.js","index.js","shared/services/axios/fakeApi/mock.ts","shared/services/axios/fakeApi/index.js","shared/services/axios/index.ts","layouts/Auth/style.module.scss","components/cleanui/layout/TopBar/FavPages/style.module.scss"],"names":["actions","SET_STATE","CHANGE_SETTING","SET_PRIMARY_COLOR","SET_THEME","module","exports","useInterval","callback","delay","savedCallback","useRef","useEffect","current","id","setInterval","clearInterval","config","appConfig","process","REACT_APP_ENV","SETUP","rootSaga","payload","setting","value","store","set","put","type","color","addStyles","styleElement","document","querySelector","remove","body","styleEl","createElement","css","createTextNode","setAttribute","appendChild","reduxStore","dispatch","theme","nextTheme","changeSettings","search","query","qs","parse","ignoreQueryPrefix","Object","keys","forEach","key","history","location","listen","params","primaryColor","get","initTheme","isMobileView","load","currentState","global","window","innerWidth","prevState","isMenuToggled","shouldToggle","addEventListener","all","takeEvery","LOGIN","REGISTER","LOAD_CURRENT_ACCOUNT","LOGOUT","initialState","email","maazaName","commercialTitle","slug","token","logo","introImage","point","about","confirmCode","confirm","status","roles","avatar","authorized","loading","role","userReducer","state","action","GET_DATA","menuData","menuReducer","authProvider","locale","isSidebarOpen","isSupportChatOpen","isMobileMenuOpen","isMenuCollapsed","menuLayoutType","routerAnimation","menuColor","authPagesColor","leftMenuWidth","isMenuUnfixed","isMenuShadow","isTopbarFixed","isGrayTopbar","isContentMaxWidth","isAppMaxWidth","isGrayBackground","isCardShadow","isSquaredBorders","isBorderless","settingsReducer","password","a","toLowerCase","apiClient","post","then","response","data","result","catch","err","name","console","log","userId","approvedMerchantMenu","category","title","icon","children","url","appealMerchantMenu","badgeType","mapAuthProviders","jwt","login","register","currentAccount","logout","select","settings","call","push","notification","success","message","description","internalMessage","model","user","localeAntd","messages","Image","preview","likelySubtags","currencyData","weekData","numbers","caGregorian","dateFields","timeZoneNames","moment","locales","english","french","russian","chinese","turkish","connect","currentLocale","withRouter","isRegisterPage","Content","className","classNames","style","container","cui__layout__squaredBorders","cui__layout__cardsShadow","cui__layout__borderless","white","gray","backgroundImage","topbar","logoContainer","href","src","alt","to","height","marginBottom","containerInnerFull","containerInner","injectIntl","menu","formatMessage","intl","useState","searchText","setSearchText","favs","setFavs","pagesList","setPagesList","flattenItems","items","reduce","flattenedItems","item","disabled","Array","isArray","itemsProcessed","map","child","concat","JSON","stringify","setFav","e","preventDefault","stopPropagation","some","filtered","filter","length","info","Fragment","placeholder","onChange","target","allowClear","searchTextProcessed","toUpperCase","isActive","includes","link","setIcon","setIconActive","onClick","tabIndex","onFocus","onKeyPress","generatePageList","placement","overlay","trigger","count","setCount","selectable","Item","Divider","onVisibleChange","styles","dropdown","backgroundColor","border","shape","size","Feedback","props","wrapper","undefined","borderRadius","onBack","backIcon","UserMenu","pathname","selectedKeys","setSelectedKeys","openedKeys","setOpenedKeys","applySelectedKeys","selectedItem","find","onCollapse","menuSettings","width","collapsible","collapsed","breakpoint","Sider","dark","unfixed","shadow","menuOuter","openKeys","onOpenChange","mode","navigation","inlineIndent","generateItem","ItemGroup","Math","random","rel","menuItem","subMenuTitle","SubMenu","generateSubmenu","generateMenuItems","descr","touchStartPrev","touchStartLocked","unify","changedTouches","x","clientX","passive","toggleMobileMenu","closable","visible","mobileMenu","onClose","maskClosable","getContainer","Layouts","public","PublicLayout","auth","AuthLayout","main","defaultLeftMenuWidth","Header","position","zIndex","right","left","flex","display","flexDirection","previousPath","currentPath","scrollTo","NProgress","start","setTimeout","done","getLayout","test","Container","isUserAuthorized","isUserLoading","isAuthLayout","isDocsPage","Helmet","titleTemplate","commonRoutes","path","Component","lazy","exact","appealMerchantRoutes","approvedMerchantRoutes","routes","interceptors","use","error","noToastr","headers","errors","validateErrors","join","warning","statusText","Promise","reject","unreadCount","i","render","SwitchTransition","CSSTransition","appear","timeout","fallback","isLocalhost","Boolean","hostname","match","registerValidSW","swUrl","navigator","serviceWorker","registration","onupdatefound","installingWorker","installing","onstatechange","controller","onUpdate","onSuccess","MockAdapter","delayResponse","onAny","passThrough","noop","method","createBrowserHistory","sagaMiddleware","createSagaMiddleware","middlewares","routerMiddleware","createStore","combineReducers","router","connectRouter","compose","applyMiddleware","run","sagas","ReactDOM","getElementById","URL","origin","fetch","contentType","indexOf","ready","unregister","reload","checkValidServiceWorker","axios","create","baseURL","apiUrl","request","accessToken","Authorization","AccessToken"],"mappings":"6HAOeA,IAPC,CACdC,UAAW,qBACXC,eAAgB,0BAChBC,kBAAmB,6BACnBC,UAAW,uB,oBCHbC,EAAOC,QAAU,CAAC,OAAS,sBAAsB,KAAO,sB,oBCAxDD,EAAOC,QAAU,CAAC,SAAW,wBAAwB,KAAO,sB,iCCD5D,WAqBeC,IAnBf,SAAqBC,EAAsBC,GACzC,IAAMC,EAAgBC,iBAAOH,GAE7BI,qBAAU,WACRF,EAAcG,QAAU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K,SAAA4Q,GACjCA,EAAamC,aAAa/S,MAAK,WAC7B/D,OAAOV,SAASyX,eAKpBxC,GAAgBC,EAAO3X,MAG1BsH,OAAM,WACLG,QAAQC,IAAI,oEApFVyS,CAAwBxC,EAAO3X,GAI/B4X,UAAUC,cAAcmC,MAAM9S,MAAK,WACjCO,QAAQC,IACN,iHAMJgQ,GAAgBC,EAAO3X,OC8B/B6X,I,gCG9EA,gDAIM7Q,EAAYoT,IAAMC,OAAO,CAC7BC,QAASta,IAAOua,SAGlBvT,EAAUkP,aAAasE,QAAQrE,KAAI,SAAAqE,GACjC,IAAMC,EAAcha,IAAMoC,IAAI,eAK9B,OAJI4X,IACFD,EAAQlE,QAAQoE,cAAhB,iBAA0CD,GAC1CD,EAAQlE,QAAQqE,YAAcF,GAEzBD,KAGMxT,O,mBChBf5H,EAAOC,QAAU,CAAC,UAAY,yBAAyB,MAAQ,qBAAqB,KAAO,oBAAoB,eAAiB,8BAA8B,mBAAqB,kCAAkC,OAAS,sBAAsB,WAAa,0BAA0B,cAAgB,6BAA6B,KAAO,oBAAoB,UAAY,yBAAyB,KAAO,oBAAoB,MAAQ,uB,mBCA3aD,EAAOC,QAAU,CAAC,KAAO,oBAAoB,KAAO,oBAAoB,QAAU,uBAAuB,cAAgB,6BAA6B,KAAO,uB","file":"static/js/main.f0369250.chunk.js","sourcesContent":["const actions = {\r\n SET_STATE: 'settings/SET_STATE',\r\n CHANGE_SETTING: 'settings/CHANGE_SETTING',\r\n SET_PRIMARY_COLOR: 'settings/SET_PRIMARY_COLOR',\r\n SET_THEME: 'settings/SET_THEME',\r\n}\r\n\r\nexport default actions\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"topbar\":\"style_topbar__1N9ae\",\"logo\":\"style_logo__2Rvd2\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dropdown\":\"style_dropdown__1EfaK\",\"icon\":\"style_icon__1SOhe\"};","import { useRef, useEffect } from 'react'\r\n\r\nfunction useInterval(callback: () => void, delay: number | null) {\r\n const savedCallback = useRef(callback)\r\n\r\n useEffect(() => {\r\n savedCallback.current = callback\r\n }, [callback])\r\n\r\n useEffect(() => {\r\n if (delay === null) {\r\n return\r\n }\r\n\r\n const id = setInterval(() => savedCallback.current(), delay)\r\n\r\n // eslint-disable-next-line consistent-return\r\n return () => clearInterval(id)\r\n }, [delay])\r\n}\r\n\r\nexport default useInterval\r\n","import appConfig from '../../../appconfig.json'\r\n\r\nexport interface ConfigModel {\r\n apiUrl : string\r\n websiteUrl: string\r\n adminUrl: string\r\n merchantUrl: string\r\n yurticiProjectCode: string\r\n}\r\n\r\nconst config: ConfigModel = appConfig[process.env.REACT_APP_ENV || 'dev']\r\n\r\nexport default config\r\n","import { all, takeEvery, put } from 'redux-saga/effects'\r\nimport store from 'store'\r\nimport qs from 'qs'\r\nimport { history, store as reduxStore } from 'index'\r\nimport actions from './actions'\r\nimport { Action } from '../../shared/models/ReduxModel'\r\n\r\nexport function* CHANGE_SETTING({ payload: { setting, value } }: Action) {\r\n yield store.set(`app.settings.${setting}`, value)\r\n yield put({\r\n type: 'settings/SET_STATE',\r\n payload: {\r\n [setting]: value,\r\n },\r\n })\r\n}\r\n\r\nexport function* SET_PRIMARY_COLOR({ payload: { color } }: Action) {\r\n const addStyles = () => {\r\n const styleElement = document.querySelector('#primaryColor')\r\n if (styleElement) {\r\n styleElement.remove()\r\n }\r\n const body = document.querySelector('body')\r\n const styleEl = document.createElement('style')\r\n const css = document.createTextNode(`:root { --kit-color-primary: ${color};}`)\r\n styleEl.setAttribute('id', 'primaryColor')\r\n styleEl.appendChild(css)\r\n // @ts-ignore\r\n body.appendChild(styleEl)\r\n }\r\n\r\n yield addStyles()\r\n yield reduxStore.dispatch({\r\n type: 'settings/CHANGE_SETTING',\r\n payload: {\r\n setting: 'primaryColor',\r\n value: color,\r\n },\r\n })\r\n}\r\n\r\nexport function* SET_THEME({ payload: { theme } }: Action) {\r\n const nextTheme = theme === 'dark' ? 'dark' : 'default'\r\n // @ts-ignore\r\n yield document.querySelector('html').setAttribute('data-kit-theme', nextTheme)\r\n yield reduxStore.dispatch({\r\n type: 'settings/CHANGE_SETTING',\r\n payload: {\r\n setting: 'theme',\r\n value: nextTheme,\r\n },\r\n })\r\n}\r\n\r\nexport function* SETUP() {\r\n // load settings from url on app load\r\n const changeSettings = (search: string) => {\r\n const query = qs.parse(search, { ignoreQueryPrefix: true })\r\n Object.keys(query).forEach(key => {\r\n let value\r\n switch (query[key]) {\r\n case 'false':\r\n value = false\r\n break\r\n case 'true':\r\n value = true\r\n break\r\n default:\r\n value = query[key]\r\n break\r\n }\r\n if (key === 'theme') {\r\n reduxStore.dispatch({\r\n type: 'settings/SET_THEME',\r\n payload: {\r\n theme: value,\r\n },\r\n })\r\n return\r\n }\r\n reduxStore.dispatch({\r\n type: 'settings/CHANGE_SETTING',\r\n payload: {\r\n setting: key,\r\n value,\r\n },\r\n })\r\n })\r\n }\r\n yield changeSettings(history.location.search)\r\n yield history.listen((params: any) => {\r\n const { search } = params\r\n changeSettings(search)\r\n })\r\n\r\n // set primary color on app load\r\n const primaryColor = () => {\r\n const color = store.get('app.settings.primaryColor')\r\n if (color) {\r\n reduxStore.dispatch({\r\n type: 'settings/SET_PRIMARY_COLOR',\r\n payload: {\r\n color,\r\n },\r\n })\r\n }\r\n }\r\n yield primaryColor()\r\n\r\n // init theme on app load\r\n const initTheme = () => {\r\n const { search } = history.location\r\n const query = qs.parse(search, { ignoreQueryPrefix: true })\r\n const theme = query.theme || store.get('app.settings.theme') || 'default'\r\n reduxStore.dispatch({\r\n type: 'settings/SET_THEME',\r\n payload: {\r\n theme,\r\n },\r\n })\r\n }\r\n yield initTheme()\r\n\r\n // detect isMobileView setting on app load and window resize\r\n const isMobileView = (load = false) => {\r\n const currentState = global.window.innerWidth < 768\r\n const prevState = store.get('app.settings.isMobileView')\r\n if (currentState !== prevState || load) {\r\n reduxStore.dispatch({\r\n type: 'settings/CHANGE_SETTING',\r\n payload: {\r\n setting: 'isMobileView',\r\n value: currentState,\r\n },\r\n })\r\n }\r\n }\r\n\r\n // detect viewport width on app load and window resize\r\n const isMenuToggled = () => {\r\n const shouldToggle = global.window.innerWidth < 1024\r\n const prevState = store.get('app.settings.isMenuCollapsed')\r\n if (shouldToggle || prevState) {\r\n reduxStore.dispatch({\r\n type: 'settings/CHANGE_SETTING',\r\n payload: {\r\n setting: 'isMenuCollapsed',\r\n value: true,\r\n },\r\n })\r\n }\r\n }\r\n\r\n yield isMobileView(true)\r\n yield isMenuToggled()\r\n yield window.addEventListener('resize', () => {\r\n isMobileView()\r\n isMenuToggled()\r\n })\r\n}\r\n\r\nexport default function* rootSaga() {\r\n yield all([\r\n takeEvery(actions.CHANGE_SETTING, CHANGE_SETTING),\r\n takeEvery(actions.SET_PRIMARY_COLOR, SET_PRIMARY_COLOR),\r\n takeEvery(actions.SET_THEME, SET_THEME),\r\n SETUP(), // run once on app load to init listeners\r\n ])\r\n}\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dropdown\":\"style_dropdown__3dHID\",\"avatar\":\"style_avatar__26jbs\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapper\":\"style_wrapper__1kaz-\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"mobileMenu\":\"style_mobileMenu__TD0zq\",\"handler\":\"style_handler__2SD2w\",\"handlerIcon\":\"style_handlerIcon__2036h\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menu\":\"style_menu__20ltZ\",\"menuOuter\":\"style_menuOuter__2xC48\",\"logoContainer\":\"style_logoContainer__25Cu-\",\"logo\":\"style_logo__DNWlk\",\"icon\":\"style_icon__1KMRI\",\"navigation\":\"style_navigation__1XpBl\",\"title\":\"style_title__3a-du\",\"name\":\"style_name__3Asp1\",\"line\":\"style_line__297ce\",\"descr\":\"style_descr__2jE23\",\"banner\":\"style_banner__3bhsn\",\"unfixed\":\"style_unfixed__1EjDx\",\"shadow\":\"style_shadow__6rjnI\",\"gray\":\"style_gray__8QKOO\",\"dark\":\"style_dark__23ZQU\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"menu\":\"style_menu__3vZ8U\",\"logoContainer\":\"style_logoContainer__3djco\",\"logo\":\"style_logo__1DnzT\",\"name\":\"style_name__3yFpm\",\"descr\":\"style_descr__1yXi_\",\"navigation\":\"style_navigation__3331c\",\"title\":\"style_title__7i3wY\",\"icon\":\"style_icon__22yhv\",\"gray\":\"style_gray__1yNHT\",\"dark\":\"style_dark__3BkW3\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"head\":\"style_head__2VMdr\",\"title\":\"style_title__3_xOH\",\"time\":\"style_time__2o8Ib\",\"content\":\"style_content__2svE3\",\"tabs\":\"style_tabs__2rr43\"};","const actions = {\r\n SET_STATE: 'user/SET_STATE',\r\n LOGIN: 'user/LOGIN',\r\n REGISTER: 'user/REGISTER',\r\n LOAD_CURRENT_ACCOUNT: 'user/LOAD_CURRENT_ACCOUNT',\r\n LOGOUT: 'user/LOGOUT',\r\n}\r\n\r\nexport default actions\r\n","import actions from './actions'\r\nimport { Action } from '../../shared/models/ReduxModel'\r\n\r\nconst initialState = {\r\n id: '',\r\n email: '',\r\n maazaName: '',\r\n commercialTitle: '',\r\n slug: '',\r\n token: '',\r\n logo: '',\r\n introImage: '',\r\n point: 0,\r\n about: '',\r\n confirmCode: '',\r\n confirm: false,\r\n status: '',\r\n roles: [],\r\n avatar: '',\r\n authorized: false, // false is default value\r\n loading: false,\r\n role: '',\r\n}\r\n\r\nexport default function userReducer(state = initialState, action: Action) {\r\n switch (action.type) {\r\n case actions.SET_STATE:\r\n return { ...state, ...action.payload }\r\n default:\r\n return state\r\n }\r\n}\r\n","const actions = {\r\n SET_STATE: 'menu/SET_STATE',\r\n GET_DATA: 'menu/GET_DATA',\r\n}\r\n\r\nexport default actions\r\n","import actions from './actions'\r\n\r\nconst initialState = {\r\n menuData: [],\r\n}\r\n\r\nexport default function menuReducer(state = initialState, action: any) {\r\n switch (action.type) {\r\n case actions.SET_STATE:\r\n return { ...state, ...action.payload }\r\n default:\r\n return state\r\n }\r\n}\r\n","import actions from './actions'\r\nimport { Action } from '../../shared/models/ReduxModel'\r\n\r\n\r\nconst initialState = {\r\n authProvider: 'jwt', // firebase, jwt\r\n logo: 'Codeove - Merchant',\r\n locale: 'tr-TR',\r\n isSidebarOpen: false,\r\n isSupportChatOpen: false,\r\n isMobileView: false,\r\n isMobileMenuOpen: false,\r\n isMenuCollapsed: false,\r\n menuLayoutType: 'left', // left, top, nomenu\r\n routerAnimation: 'slide-fadein-up', // none, slide-fadein-up, slide-fadein-right, fadein, zoom-fadein\r\n menuColor: 'white', // white, dark, gray\r\n theme: 'default', // default, dark\r\n authPagesColor: 'image', // white, gray, image\r\n primaryColor: '#595c97',\r\n leftMenuWidth: 256,\r\n isMenuUnfixed: false,\r\n isMenuShadow: false,\r\n isTopbarFixed: true,\r\n isGrayTopbar: false,\r\n isContentMaxWidth: false,\r\n isAppMaxWidth: false,\r\n isGrayBackground: false,\r\n isCardShadow: true,\r\n isSquaredBorders: false,\r\n isBorderless: false,\r\n}\r\n\r\nexport default function settingsReducer(state = initialState, action: Action) {\r\n switch (action.type) {\r\n case actions.SET_STATE:\r\n return { ...state, ...action.payload }\r\n default:\r\n return state\r\n }\r\n}\r\n","import { combineReducers } from 'redux'\r\nimport { connectRouter } from 'connected-react-router'\r\nimport user from './user/reducers'\r\nimport menu from './menu/reducers'\r\nimport settings from './settings/reducers'\r\n\r\nexport default (history: any) =>\r\n combineReducers({\r\n router: connectRouter(history),\r\n user,\r\n menu,\r\n settings,\r\n })\r\n","import apiClient from 'shared/services/axios'\r\nimport store from 'store'\r\n\r\nexport async function login(email: string, password: string) {\r\n email = email.toLowerCase()\r\n return apiClient\r\n .post('Merchants/Login', { email, password })\r\n .then(response => {\r\n if (response) {\r\n const { token, id } = response.data.result\r\n if (token && id) {\r\n store.set('accessToken', token)\r\n store.set('userId', id)\r\n return response.data.result\r\n }\r\n return false\r\n }\r\n return false\r\n })\r\n .catch(err => err)\r\n}\r\n\r\nexport async function register(email: string, password: string, name: string) {\r\n return apiClient\r\n .post('/auth/register', {\r\n email,\r\n password,\r\n name,\r\n })\r\n .then(response => {\r\n if (response) {\r\n const { token, id } = response.data.result\r\n if (token && id) {\r\n store.set('accessToken', token)\r\n store.set('userId', id)\r\n }\r\n return response.data\r\n }\r\n return false\r\n })\r\n .catch(err => console.log(err))\r\n}\r\n\r\nexport async function currentAccount() {\r\n const userId = store.get('userId')\r\n return userId ? apiClient\r\n .get(`Merchants/${userId}`)\r\n .then(response => {\r\n if (response) {\r\n const { token, id } = response.data.result\r\n if (token && id) {\r\n store.set('accessToken', token)\r\n store.set('userId', id)\r\n }\r\n return response.data.result\r\n }\r\n return false\r\n })\r\n .catch(err => console.log(err)) : false\r\n}\r\n\r\nexport async function logout() {\r\n store.remove('accessToken')\r\n store.remove('userId')\r\n return true\r\n}\r\n","export const approvedMerchantMenu = [\r\n /* {\r\n category: true,\r\n title: 'Anasayfa',\r\n },\r\n {\r\n title: 'Anasayfa',\r\n key: 'dashboards',\r\n icon: 'fe fe-home',\r\n url: '/',\r\n }, */\r\n\r\n {\r\n category: true,\r\n title: 'İçerik Yönetimi',\r\n },\r\n {\r\n title: 'Ürünler',\r\n key: 'productsListArea',\r\n icon: 'fe fe-inbox',\r\n children: [\r\n {\r\n title: 'Ürün Kataloğu',\r\n key: 'productCatalog ',\r\n url: '/products/add',\r\n },\r\n {\r\n title: 'Ürünlerim',\r\n key: 'myProductList',\r\n url: '/products',\r\n },\r\n {\r\n title: 'Excel ile Toplu Ürün Ekle',\r\n key: 'createWithExcel',\r\n url: '/products/create-with-excel',\r\n },\r\n {\r\n title: 'Yeni Ürün Ekle',\r\n key: 'addNewProduct',\r\n url: '/products/create-new-product',\r\n },\r\n ]\r\n },\r\n {\r\n title: 'Popüler Kategoriler',\r\n icon: 'fe fe-star',\r\n key: 'popularCategories',\r\n url: '/popular-categories',\r\n },\r\n {\r\n title: 'Onay Bekleyenler',\r\n icon: 'fe fe-check-square',\r\n key: 'commitProducts',\r\n url: '/products/commit-products',\r\n },\r\n {\r\n category: true,\r\n title: 'Ortam Kütüphanesi',\r\n },\r\n {\r\n title: 'Görsel Galerisi',\r\n icon: 'fe fe-image',\r\n key: 'gallery',\r\n url: '/image-gallery',\r\n },\r\n {\r\n category: true,\r\n title: 'Sipariş Yönetimi',\r\n },\r\n {\r\n title: 'Sipariş Yönetimi',\r\n key: 'myManagment',\r\n icon: 'fe fe-inbox',\r\n children: [\r\n {\r\n title: 'Onay Bekleyenler',\r\n key: 'pendingApprove',\r\n url: '/managment/pending-approve',\r\n },\r\n {\r\n title: 'Onaylananlar',\r\n key: 'approved',\r\n url: '/managment/approved',\r\n },\r\n {\r\n title: 'Kargolananlar',\r\n key: 'shipping',\r\n url: '/managment/shipping',\r\n },\r\n {\r\n title: 'Teslim Edilenler',\r\n key: 'deliverable',\r\n url: '/managment/deliverable',\r\n },\r\n {\r\n title: 'İptal Edilenler',\r\n key: 'canceled',\r\n url: '/managment/canceled',\r\n },\r\n {\r\n title: 'İade Edilenler',\r\n key: 'returns',\r\n url: '/managment/returns',\r\n }\r\n ]\r\n },\r\n {\r\n title: 'Komisyon Oranları',\r\n key: 'commissionRates',\r\n icon: 'fe fe-percent',\r\n url: '/commission-rates',\r\n },\r\n {\r\n title: 'Aynı Gün Teslimat Bölgeleri',\r\n key: 'shippingAdresses',\r\n icon: 'fe fe-truck',\r\n url: '/delivery/same-day-delivery-areas'\r\n },\r\n {\r\n category: true,\r\n title: 'İletişim',\r\n },\r\n {\r\n title: 'Destek Taleplerim',\r\n key: 'myTickets',\r\n icon: 'fe fe-edit-3',\r\n url: '/my-tickets',\r\n },\r\n // {\r\n // category: true,\r\n // title: 'Entegrasyon',\r\n // },\r\n // {\r\n // title: 'API Anahtarı',\r\n // key: 'apiTokens',\r\n // icon: 'fe fe-command',\r\n // url: '/integration/api-tokens',\r\n // },\r\n // {\r\n // title: 'Web Kancası',\r\n // key: 'webHooks',\r\n // icon: 'fe fe-anchor',\r\n // url: '/integration/webhooks',\r\n // },\r\n // {\r\n // title: 'Entegrasyon Dökümanları',\r\n // key: 'integrationDocuments',\r\n // icon: 'fe fe-file',\r\n // url: '/integration/docs',\r\n // target: '_blank',\r\n // },\r\n];\r\n\r\nexport const appealMerchantMenu = [\r\n {\r\n category: true,\r\n title: 'Başvuru Süreciniz',\r\n },\r\n {\r\n title: 'Gerekli Evraklar',\r\n key: 'appeal-documents',\r\n icon: 'fe fe-file',\r\n url: '/appeal-documents',\r\n },\r\n {\r\n title: 'Başvuru Bilgileriniz',\r\n key: 'appeal-details',\r\n icon: 'fe fe-eye',\r\n url: '/appeal-details',\r\n },\r\n {\r\n title: 'Mesajlar',\r\n key: 'appeal-messages',\r\n icon: 'fe fe-message-circle',\r\n url: '/appeal-messages',\r\n badgeType: 'danger'\r\n },\r\n {\r\n title: 'Başvuru İptali',\r\n key: 'appeal-cancellation',\r\n icon: 'fe fe-x-circle',\r\n url: '/appeal-cancellation',\r\n },\r\n];\r\n","import { all, takeEvery, put, call, select } from 'redux-saga/effects'\r\nimport { notification } from 'antd'\r\nimport { history } from 'index'\r\nimport * as jwt from 'shared/services/jwt'\r\nimport actions from './actions'\r\nimport {approvedMerchantMenu, appealMerchantMenu} from '../../constants/menu'\r\nimport { Action } from '../../shared/models/ReduxModel'\r\n\r\nconst mapAuthProviders = {\r\n jwt: {\r\n login: jwt.login,\r\n register: jwt.register,\r\n currentAccount: jwt.currentAccount,\r\n logout: jwt.logout,\r\n },\r\n}\r\n\r\nexport function* LOGIN({ payload }: Action): any {\r\n const { email, password } = payload\r\n yield put({\r\n type: 'user/SET_STATE',\r\n payload: {\r\n loading: true,\r\n },\r\n })\r\n const { authProvider } = yield select(state => state.settings)\r\n const result = yield call(mapAuthProviders[authProvider].login, email, password)\r\n if (result.id && result.token) {\r\n yield put({\r\n type: 'user/LOAD_CURRENT_ACCOUNT',\r\n })\r\n yield history.push('/')\r\n notification.success({\r\n message: 'Giriş Yapıldı',\r\n description: 'Başarıyla giriş yaptınız!',\r\n })\r\n }\r\n else {\r\n yield put({\r\n type: 'user/SET_STATE',\r\n payload: {\r\n loading: false,\r\n },\r\n })\r\n if (result.data?.internalMessage === 'EmailNotConfirm') {\r\n // yield history.push({ pathname: `/auth/email-not-confirmed/${result.data.model.email}`, state: 'test'})\r\n yield put({\r\n type: 'user/SET_STATE',\r\n payload: {\r\n email: result.data.model.email,\r\n },\r\n })\r\n }\r\n }\r\n}\r\n\r\nexport function* REGISTER({ payload }: Action): any {\r\n const { email, password, name } = payload\r\n yield put({\r\n type: 'user/SET_STATE',\r\n payload: {\r\n loading: true,\r\n },\r\n })\r\n const { authProvider } = yield select(state => state.settings)\r\n const success = yield call(mapAuthProviders[authProvider].register, email, password, name)\r\n if (success) {\r\n yield put({\r\n type: 'user/LOAD_CURRENT_ACCOUNT',\r\n })\r\n yield history.push('/')\r\n notification.success({\r\n message: 'Successful Register',\r\n description: 'You have successfully registered!',\r\n })\r\n }\r\n if (!success) {\r\n yield put({\r\n type: 'user/SET_STATE',\r\n payload: {\r\n loading: false,\r\n },\r\n })\r\n }\r\n}\r\n\r\nexport function* LOAD_CURRENT_ACCOUNT(): any {\r\n yield put({\r\n type: 'user/SET_STATE',\r\n payload: {\r\n loading: true,\r\n },\r\n })\r\n const { authProvider } = yield select(state => state.settings)\r\n const response = yield call(mapAuthProviders[authProvider].currentAccount)\r\n if (response) {\r\n yield put({\r\n type: 'user/SET_STATE',\r\n payload: {\r\n ...response,\r\n authorized: true,\r\n },\r\n })\r\n yield put({\r\n type: 'menu/SET_STATE',\r\n payload: {\r\n menuData: response.status === 1 ? [...approvedMerchantMenu, ...appealMerchantMenu] : appealMerchantMenu,\r\n },\r\n })\r\n }\r\n yield put({\r\n type: 'user/SET_STATE',\r\n payload: {\r\n loading: false,\r\n },\r\n })\r\n}\r\n\r\nexport function* LOGOUT() {\r\n const { authProvider } = yield select(state => state.settings)\r\n yield call(mapAuthProviders[authProvider].logout)\r\n yield put({\r\n type: 'user/SET_STATE',\r\n payload: {\r\n id: '',\r\n email: '',\r\n maazaName: '',\r\n commercialTitle: '',\r\n slug: '',\r\n token: '',\r\n logo: '',\r\n introImage: '',\r\n point: 0,\r\n about: '',\r\n confirmCode: '',\r\n confirm: false,\r\n status: '',\r\n roles: [],\r\n avatar: '',\r\n authorized: false, // false is default value\r\n loading: false,\r\n role: '',\r\n },\r\n })\r\n}\r\n\r\nexport default function* rootSaga() {\r\n yield all([\r\n takeEvery(actions.LOGIN, LOGIN),\r\n takeEvery(actions.REGISTER, REGISTER),\r\n takeEvery(actions.LOAD_CURRENT_ACCOUNT, LOAD_CURRENT_ACCOUNT),\r\n takeEvery(actions.LOGOUT, LOGOUT),\r\n LOAD_CURRENT_ACCOUNT(), // run once on app load to check user auth\r\n ])\r\n}\r\n","import { all } from 'redux-saga/effects'\r\nimport user from './user/sagas'\r\nimport settings from './settings/sagas'\r\n\r\nexport default function* rootSaga() {\r\n yield all([user(), settings()])\r\n}\r\n","import localeAntd from 'antd/es/locale/en_US'\r\n\r\nconst messages = {\r\n 'topBar.issuesHistory': 'Issues History',\r\n 'topBar.projectManagement': 'Project Management',\r\n 'topBar.typeToSearch': 'Search...',\r\n 'topBar.findPages': 'Find pages...',\r\n 'topBar.actions': 'Actions',\r\n 'topBar.status': 'Status',\r\n 'topBar.profileMenu.hello': 'Hello',\r\n 'topBar.profileMenu.billingPlan': 'Billing Plan',\r\n 'topBar.profileMenu.role': 'Role',\r\n 'topBar.profileMenu.email': 'Email',\r\n 'topBar.profileMenu.phone': 'Phone',\r\n 'topBar.profileMenu.editProfile': 'Edit Profile',\r\n 'topBar.profileMenu.logout': 'Logout',\r\n}\r\n\r\nexport default {\r\n locale: 'en-US',\r\n localeAntd,\r\n messages,\r\n}\r\n","import localeAntd from 'antd/es/locale/fr_FR'\r\n\r\nconst messages = {\r\n 'topBar.issuesHistory': 'Histoire des problèmes',\r\n 'topBar.projectManagement': 'Gestion de projet',\r\n 'topBar.typeToSearch': 'Chercher...',\r\n 'topBar.findPages': 'Trouver des pages...',\r\n 'topBar.actions': 'Actes',\r\n 'topBar.status': 'Statut',\r\n 'topBar.profileMenu.hello': 'Bonjour',\r\n 'topBar.profileMenu.billingPlan': 'Plan de facturation',\r\n 'topBar.profileMenu.role': 'Rôle',\r\n 'topBar.profileMenu.email': 'Email',\r\n 'topBar.profileMenu.phone': 'Téléphone',\r\n 'topBar.profileMenu.editProfile': 'Editer le profil',\r\n 'topBar.profileMenu.logout': 'Connectez - Out',\r\n}\r\n\r\nexport default {\r\n locale: 'fr-FR',\r\n localeAntd,\r\n messages,\r\n}\r\n","import localeAntd from 'antd/es/locale/ru_RU'\r\n\r\nconst messages = {\r\n 'topBar.issuesHistory': 'История заданий',\r\n 'topBar.projectManagement': 'Управление проектом',\r\n 'topBar.typeToSearch': 'Поиск...',\r\n 'topBar.findPages': 'Поиск страниц...',\r\n 'topBar.actions': 'Действия',\r\n 'topBar.status': 'Статус',\r\n 'topBar.profileMenu.hello': 'Привет',\r\n 'topBar.profileMenu.billingPlan': 'Тарифный план',\r\n 'topBar.profileMenu.role': 'Роль',\r\n 'topBar.profileMenu.email': 'Емайл',\r\n 'topBar.profileMenu.phone': 'Телефон',\r\n 'topBar.profileMenu.editProfile': 'Редактировать профиль',\r\n 'topBar.profileMenu.logout': 'Выйти',\r\n}\r\n\r\nexport default {\r\n locale: 'ru-RU',\r\n localeAntd,\r\n messages,\r\n}\r\n","import localeAntd from 'antd/es/locale/zh_CN'\r\n\r\nconst messages = {\r\n 'topBar.issuesHistory': '发布历史',\r\n 'topBar.projectManagement': '项目管理',\r\n 'topBar.typeToSearch': '搜索...',\r\n 'topBar.findPages': '查找页面...',\r\n 'topBar.actions': '动作',\r\n 'topBar.status': '状态',\r\n 'topBar.profileMenu.hello': '你好',\r\n 'topBar.profileMenu.billingPlan': '结算计划',\r\n 'topBar.profileMenu.role': '角色',\r\n 'topBar.profileMenu.email': '电子邮件',\r\n 'topBar.profileMenu.phone': '电话',\r\n 'topBar.profileMenu.editProfile': '编辑个人资料',\r\n 'topBar.profileMenu.logout': '登出',\r\n}\r\n\r\nexport default {\r\n locale: 'zh-CN',\r\n localeAntd,\r\n messages,\r\n}\r\n","import localeAntd from 'antd/es/locale/tr_TR'\r\n\r\nlocaleAntd.Image = { preview: 'Önizleme' }\r\n\r\nconst messages = {\r\n 'topBar.issuesHistory': 'Issues History',\r\n 'topBar.projectManagement': 'Project Management',\r\n 'topBar.typeToSearch': 'Arama...',\r\n 'topBar.findPages': 'Sayfaları bul...',\r\n 'topBar.actions': 'İşlemler',\r\n 'topBar.status': 'Durum',\r\n 'topBar.profileMenu.hello': 'Merhaba',\r\n 'topBar.profileMenu.billingPlan': 'Ödeme Planı',\r\n 'topBar.profileMenu.role': 'Rol',\r\n 'topBar.profileMenu.email': 'E-posta',\r\n 'topBar.profileMenu.phone': 'Telefon',\r\n 'topBar.profileMenu.editProfile': 'Mağaza Profili',\r\n 'topBar.profileMenu.updatePassword': 'Şifre Değiştir',\r\n 'topBar.profileMenu.logout': 'Çıkış',\r\n}\r\n\r\nexport default {\r\n locale: 'tr-TR',\r\n localeAntd,\r\n messages,\r\n}\r\n","import React from 'react'\r\nimport { ConfigProvider } from 'antd'\r\nimport { IntlProvider } from 'react-intl'\r\nimport { connect } from 'react-redux'\r\nimport moment from 'moment'\r\nimport 'moment/locale/tr'\r\n\r\nimport english from './locales/en-US'\r\nimport french from './locales/fr-FR'\r\nimport russian from './locales/ru-RU'\r\nimport chinese from './locales/zh-CN'\r\nimport turkish from './locales/tr-TR'\r\n\r\nimport likelySubtags from 'cldr-core/supplemental/likelySubtags.json'\r\nimport currencyData from 'cldr-core/supplemental/currencyData.json'\r\nimport weekData from 'cldr-core/supplemental/weekData.json'\r\nimport numbers from 'cldr-numbers-full/main/tr/numbers.json'\r\nimport caGregorian from 'cldr-dates-full/main/tr/ca-gregorian.json'\r\nimport dateFields from 'cldr-dates-full/main/tr/dateFields.json'\r\nimport timeZoneNames from 'cldr-dates-full/main/tr/timeZoneNames.json'\r\nimport { load } from '@progress/kendo-react-intl'\r\n\r\nload(likelySubtags, currencyData, weekData, numbers, caGregorian, dateFields, timeZoneNames)\r\n\r\nmoment.locale('tr')\r\n\r\nconst locales = {\r\n 'en-US': english,\r\n 'fr-FR': french,\r\n 'ru-RU': russian,\r\n 'zh-CN': chinese,\r\n 'tr-TR': turkish\r\n}\r\n\r\nconst mapStateToProps = ({ settings }) => ({ settings })\r\n\r\nconst Localization = ({ children, settings: { locale } }) => {\r\n const currentLocale = locales[locale]\r\n return (\r\n \r\n \r\n
{window.location.href}
\r\n\r\n {\r\n imageSrc && (\r\n <>\r\n \r\n