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AChBj6C,KAAMwmB,EAAYxkB,MAEtB,CACIjC,GAAIymB,EAAY6zB,UAChBr6C,KAAMwmB,EAAY81B,aAE9B,EAGMV,EAAoB,SAAUxE,GAChC,OAAqB,IAAdA,GAAiC,IAAdA,CAC9B,C,kBCpoBA,IAAIze,EAAU,EAAQ,OACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,iBAAZF,IAAsBA,EAAU,CAAC,CAACD,EAAO34B,GAAI44B,EAAS,MAC7DA,EAAQG,SAAQJ,EAAOF,QAAUG,EAAQG,SAG/BC,EADH,YACO,WAAYJ,GAAS,EAAO,CAAC,E,gDCP9C,QADiB,I,SAAItjB,Q,gDCDrB,IAAI2jB,EAAS,WACX,IAAI8N,EAAMxrB,KAEV,OAAO2d,EADA6N,EAAI5N,MAAMD,IAEf,MACA,CACE2N,YAAa,YACbU,MAAA,aAAA35B,OAAoBm5B,EAAIzgC,KAAI,oBAAAsH,OAC1Bm5B,EAAI0W,cAAgB,GAAK,cAG7B,CAAC1W,EAAI2W,GAAG,YACR,EAEJ,EAEAzkB,EAAOG,eAAgB,ECVvB,MCNsQ,EDMtQ,CACAn5B,KAAA,YACAmmC,MAAA,CACA9/B,KAAA,CACAA,KAAAq3C,OACAC,UAAA,SAAAzwC,GAAA,0CAAAwiB,QAAAxiB,IAAA,GACAu9B,UAAA,GAEA+S,cAAA,CACAn3C,KAAAu3C,QACA,cEEA,SAXgB,E,SAAA,GACd,EACA5kB,EHMoB,IGJpB,EACA,KACA,KACA,MAI8B,O","sources":["webpack://rankedin/./src/store/modules/team-manager-module.js","webpack://rankedin/./src/store/modules/draw-creator-module.js","webpack://rankedin/./src/store/modules/translations-module.js","webpack://rankedin/./src/store/modules/nomenclatures-module.js","webpack://rankedin/./src/store/modules/court-manager-module.js","webpack://rankedin/./src/store/modules/wizard-module.js","webpack://rankedin/./src/store/modules/tournament-classes-module.js","webpack://rankedin/./src/store/modules/search-module.js","webpack://rankedin/./src/store/modules/topnav-module.js","webpack://rankedin/./src/store/modules/ui-module.js","webpack://rankedin/./src/store/modules/monetization-module.js","webpack://rankedin/./src/store/modules/register-module.js","webpack://rankedin/./src/store/modules/messenger-module.js","webpack://rankedin/./src/store/modules/teamchampionship-roundrobin-settings-module.js","webpack://rankedin/./src/store/store.js","webpack://rankedin/./src/store/modules/auto-add-module.js","webpack://rankedin/./src/store/modules/tournamentstart-module.js","webpack://rankedin/./src/store/modules/tournament-seeds-module.js","webpack://rankedin/./src/store/modules/tournament-publish-module.js","webpack://rankedin/./src/store/modules/player-settings-module.js","webpack://rankedin/./src/store/modules/chat-module.js","webpack://rankedin/./src/store/modules/event-index-module.js","webpack://rankedin/./src/store/modules/club-league-index-module.js","webpack://rankedin/./src/store/modules/teamleague-index-module.js","webpack://rankedin/./src/store/modules/organization-module.js","webpack://rankedin/./src/store/modules/payment-module.js","webpack://rankedin/./src/store/modules/player-profile-module.js","webpack://rankedin/./src/store/modules/create-americano-module.js","webpack://rankedin/./src/store/modules/embed-modal-module.js","webpack://rankedin/./src/store/modules/compare-skills-module.js","webpack://rankedin/./src/store/modules/signalr-notifications-module.js","webpack://rankedin/./src/store/modules/searchhistory-module.js","webpack://rankedin/./src/store/modules/breadcrumbs-module.js","webpack://rankedin/./src/store/modules/calendar-module.js","webpack://rankedin/./src/store/modules/roundrobin-settings.js","webpack://rankedin/./src/components/spider/drawData.js","webpack://rankedin/./src/store/modules/rinbootbox-module.js","webpack://rankedin/./src/components/layout/footer/layout-footer-bs4.vue?eebe","webpack://rankedin/./src/components/shared/layout-enter-match-results-bs4.vue?3af3","webpack://rankedin/./src/app/translations.js","webpack://rankedin/./src/components/layout/footer/layout-footer-app.vue","webpack://rankedin/src/components/layout/footer/layout-footer-app.vue","webpack://rankedin/./src/components/layout/footer/layout-footer-app.vue?8e6b","webpack://rankedin/./src/components/layout/footer/layout-footer-app.vue?9652","webpack://rankedin/./src/app/shared/footerApp.js","webpack://rankedin/./src/app/constants.js","webpack://rankedin/./src/app/rin-bootbox.js","webpack://rankedin/./src/app/nomenclatures.js","webpack://rankedin/./node_modules/moment/locale/ sync ^\\.\\/.*$","webpack://rankedin/./src/components/shared/layout-enter-match-results-bs4.vue?7c26","webpack://rankedin/./src/store/modules/layout-module.js","webpack://rankedin/./src/router/router.js","webpack://rankedin/./src/components/layout/footer/layout-footer-bs4.vue?7bbc","webpack://rankedin/./src/components/shared/layout-enter-match-results-bs4.vue?f112","webpack://rankedin/./src/components/shared/layout-create-event-modals.vue?05b7","webpack://rankedin/./src/components/shared/layout-create-event-modals.vue?7756","webpack://rankedin/./src/components/layout/footer/layout-footer-bs4.vue","webpack://rankedin/./src/components/shared/layout-create-event-modals.vue","webpack://rankedin/src/components/shared/layout-create-event-modals.vue","webpack://rankedin/./src/components/shared/layout-create-event-modals.vue?8da7","webpack://rankedin/./src/components/shared/layout-create-event-modals.vue?bfeb","webpack://rankedin/./src/components/shared/layout-enter-match-results-bs4.vue","webpack://rankedin/src/components/shared/layout-enter-match-results-bs4.vue","webpack://rankedin/./src/components/shared/layout-enter-match-results-bs4.vue?7095","webpack://rankedin/./src/components/shared/layout-enter-match-results-bs4.vue?476b","webpack://rankedin/src/components/layout/footer/layout-footer-bs4.vue","webpack://rankedin/./src/components/layout/footer/layout-footer-bs4.vue?9017","webpack://rankedin/./src/components/layout/footer/layout-footer-bs4.vue?923a","webpack://rankedin/./src/store/modules/teams-matches-module.js","webpack://rankedin/./src/components/shared/layout-enter-match-results-bs4.vue?9918","webpack://rankedin/./src/app/eventBus.js","webpack://rankedin/./src/components/rin_new_design/components/base/BaseAlert.vue","webpack://rankedin/src/components/rin_new_design/components/base/BaseAlert.vue","webpack://rankedin/./src/components/rin_new_design/components/base/BaseAlert.vue?7b69","webpack://rankedin/./src/components/rin_new_design/components/base/BaseAlert.vue?38c4"],"sourcesContent":["export const INIT = 'init';\r\n\r\nexport const SET_TOURNAMENT_MODEL = 'setTournamentModel';\r\nexport const SET_TEAM_MODEL = 'setTeamModel';\r\nexport const SET_TOURNAMENT_CLASS_ID = 'setTournamentClassId';\r\n\r\nexport const SET_IS_LOADING_MODEL = 'setIsLoadingModel';\r\nexport const SET_IS_LOADED_MODEL = 'setIsLoadedModel';\r\n\r\nexport const SET_TEAM_NAME = 'setTeamName';\r\nexport const SET_HOME_CLUB_ID = 'setHomeClubId';\r\n\r\nexport const SET_IS_SAVING_TEAM = 'setIsSavingTeam';\r\n\r\nexport const GET_NEW_MODEL_ASYNC = 'getNewModel';\r\nexport const CREATE_TEAM_ASYNC = 'createTeamAsync';\r\nexport const GET_MODEL_ASYNC = 'getModelAsync';\r\nexport const UPDATE_TEAM_ASYNC = 'updateTeamAsync';\r\n\r\nexport default {\r\n namespaced: true,\r\n state() {\r\n return {\r\n team: {\r\n id: 0,\r\n name: '',\r\n tournamentId: 0,\r\n tournamentClassId: 0,\r\n homeClubId: 0,\r\n teamUrl: null\r\n },\r\n\r\n initiator: {},\r\n\r\n tournament: {},\r\n tournament_classes: [],\r\n home_club: null,\r\n page_referer: '',\r\n\r\n is_loading_model: false,\r\n is_loaded_model: false,\r\n is_saving_team: false,\r\n repositories: null,\r\n language_code: 'en'\r\n };\r\n },\r\n getters: {\r\n team: state =>\r\n state.team,\r\n\r\n tournament: state =>\r\n state.tournament,\r\n\r\n tournamentClasses: state =>\r\n state.tournament_classes,\r\n\r\n homeClub: state =>\r\n state.home_club,\r\n\r\n pageReferer: state =>\r\n state.page_referer,\r\n\r\n isLoadingModel: state =>\r\n state.is_loading_model,\r\n\r\n isLoadedModel: state =>\r\n state.is_loaded_model,\r\n\r\n isSavingTeam: state =>\r\n state.is_saving_team\r\n },\r\n mutations: {\r\n [INIT]: (state, config) => {\r\n state.team.id = config.teamId;\r\n state.team.tournamentId = config.tournamentId;\r\n state.team.tournamentClassId = config.tournamentClassId;\r\n\r\n state.page_referer = config.pageReferer;\r\n\r\n state.repositories = config.repositories;\r\n state.language_code = config.languageCode;\r\n state.initiator = config.initiator;\r\n },\r\n [SET_TOURNAMENT_MODEL]: (state, payload) => {\r\n state.tournament = payload.Tournament;\r\n state.tournament_classes = payload.TournamentClasses; \r\n },\r\n [SET_TEAM_MODEL]: (state, payload) => {\r\n state.home_club = payload.HomeClub;\r\n state.team.id = payload.Id;\r\n state.team.name = payload.Name;\r\n state.team.teamUrl = payload.TeamUrl;\r\n if (payload.HomeClub) \r\n state.team.homeClubId = payload.HomeClub.Id;\r\n },\r\n [SET_IS_LOADING_MODEL]: (state, payload) => {\r\n state.is_loading_model = payload;\r\n },\r\n [SET_IS_LOADED_MODEL]: (state, payload) => {\r\n state.is_loaded_model = payload;\r\n },\r\n [SET_IS_SAVING_TEAM]: (state, payload) => {\r\n state.is_saving_team = payload;\r\n },\r\n [SET_TOURNAMENT_CLASS_ID]: (state, payload) => {\r\n state.team.tournamentClassId = payload;\r\n },\r\n [SET_TEAM_NAME]: (state, payload) => {\r\n state.team.name = payload;\r\n },\r\n [SET_HOME_CLUB_ID]: (state, payload) => {\r\n state.team.homeClubId = payload;\r\n }\r\n },\r\n actions: {\r\n [GET_NEW_MODEL_ASYNC]: ({ state, commit }) => {\r\n commit(SET_IS_LOADED_MODEL, false);\r\n commit(SET_IS_LOADING_MODEL, true);\r\n\r\n return state.repositories.teams.getTournamentTeamManagerAsync(state.team.tournamentId, state.team.tournamentClassId, state.language_code)\r\n .then(response => {\r\n commit(SET_TOURNAMENT_MODEL, response);\r\n commit(SET_TEAM_MODEL, {});//clear state\r\n commit(SET_HOME_CLUB_ID, 0);//clear state\r\n commit(SET_IS_LOADED_MODEL, true);\r\n commit('updateTeamAdminResultData', [state.initiator], { root: true });\r\n })\r\n .catch(error => {\r\n return Promise.reject(error);\r\n })\r\n .finally(() => {\r\n commit(SET_IS_LOADING_MODEL, false);\r\n });\r\n },\r\n [CREATE_TEAM_ASYNC]: ({ state, commit, rootState }) => {\r\n commit(SET_IS_SAVING_TEAM, true);\r\n\r\n const players = rootState.autoAdd.resultData;\r\n const teamAdmins = rootState.autoAdd.teamAdminData;\r\n const fakePlayers = players.filter(p => p.Fake);\r\n\r\n return createFakePlayersAsync(state, fakePlayers)\r\n .then(() => {\r\n return createTeamAsync(state, players, teamAdmins);\r\n })\r\n .catch(error => {\r\n return Promise.reject(error);\r\n })\r\n .finally(() => {\r\n commit(SET_IS_SAVING_TEAM, false);\r\n });\r\n },\r\n [GET_MODEL_ASYNC]: ({ state, commit }, payload) => {\r\n commit(SET_IS_LOADED_MODEL, false);\r\n commit(SET_IS_LOADING_MODEL, true);\r\n\r\n const teamPromise = state.repositories.teams.getTeamAsync(state.team.id, state.team.tournamentId, payload)\r\n .then(response => {\r\n commit(SET_TEAM_MODEL, response);\r\n const players = response.Players.map(p => {\r\n p.IsTeamParticipant = true;\r\n return p;\r\n });\r\n const admins = response.Admins.map(p => {\r\n p.IsTeamParticipant = true;\r\n return p;\r\n });\r\n commit('updateResultData', players, { root: true });\r\n commit('updateTeamAdminResultData', admins, { root: true });\r\n });\r\n\r\n const tournamentPromise = state.repositories.teams.getTournamentTeamManagerAsync(state.team.tournamentId, state.team.tournamentClassId, state.language_code)\r\n .then(response => {\r\n commit(SET_TOURNAMENT_MODEL, response);\r\n });\r\n\r\n return Promise.all([teamPromise, tournamentPromise])\r\n .then(responses => {\r\n commit(SET_IS_LOADED_MODEL, true);\r\n })\r\n .catch(error => {\r\n return Promise.reject(error);\r\n })\r\n .finally(() => {\r\n commit(SET_IS_LOADING_MODEL, false);\r\n });\r\n },\r\n [UPDATE_TEAM_ASYNC]: ({ state, commit, rootState }) => {\r\n commit(SET_IS_SAVING_TEAM, true);\r\n\r\n const players = rootState.autoAdd.resultData;\r\n const teamAdmins = rootState.autoAdd.teamAdminData;\r\n const fakePlayers = players.filter(p => p.Fake);\r\n\r\n return createFakePlayersAsync(state, fakePlayers)\r\n .then(() => {\r\n return updateTeamAsync(state, players, teamAdmins);\r\n })\r\n .catch(error => {\r\n return Promise.reject(error);\r\n })\r\n .finally(() => {\r\n commit(SET_IS_SAVING_TEAM, false);\r\n });\r\n }\r\n }\r\n};\r\n\r\nfunction createFakePlayersAsync(state, fakePlayers) {\r\n if (fakePlayers.length > 0) {\r\n const model = {\r\n EventId: state.team.tournamentClassId,\r\n EventType: 4,\r\n FakePlayers: fakePlayers\r\n };\r\n\r\n return state.repositories.teams.createFakePlayersAsync(model)\r\n .then(function (response) {\r\n if (response.length > 0) {\r\n response.forEach(function (x) {\r\n const fakePlayer = fakePlayers.find(fp => fp.Index === x.Index);\r\n fakePlayer.added = true;\r\n fakePlayer.Id = x.Id;\r\n });\r\n }\r\n });\r\n }\r\n\r\n return Promise.resolve();\r\n}\r\n\r\nfunction createTeamAsync(state, players, teamAdmins) {\r\n const participants = mapPlayersToParticipants(players);\r\n const invitedPlayerIds = players.filter(p => p.invited).map(p => p.Id);\r\n const teamAdminIds = teamAdmins.map(p => p.Id);\r\n\r\n const model = {\r\n name: state.team.name,\r\n homeClubId: state.team.homeClubId,\r\n tournamentClassId: state.team.tournamentClassId,\r\n participants: participants,\r\n invitedIds: invitedPlayerIds,\r\n teamAdminIds: teamAdminIds\r\n };\r\n\r\n return state.repositories.teams.createTeamAsync(model);\r\n}\r\n\r\nfunction updateTeamAsync(state, players, teamAdmins) {\r\n const participants = mapPlayersToParticipants(players);\r\n const invitedPlayerIds = players.filter(p => p.invited).map(p => p.Id);\r\n const teamAdminIds = teamAdmins.map(p => p.Id);\r\n\r\n const model = {\r\n id: state.team.id,\r\n name: state.team.name,\r\n homeClubId: state.team.homeClubId,\r\n tournamentClassId: state.team.tournamentClassId,\r\n participants: participants,\r\n invitedIds: invitedPlayerIds,\r\n teamAdminIds: teamAdminIds\r\n };\r\n\r\n return state.repositories.teams.updateTeamAsync(model);\r\n}\r\n\r\nfunction mapPlayersToParticipants(players) {\r\n return players\r\n .filter(p => p.added || p.IsTeamParticipant)\r\n .map(p => {\r\n return {\r\n id: p.Id,\r\n playerOrder: p.PlayerOrder,\r\n teamParticipantType: p.TeamParticipantType\r\n };\r\n });\r\n}","import drawData from \"../../components/spider/drawData\";\r\n\r\nimport vue from \"vue\";\r\nimport vuex from \"vuex\";\r\nimport _ from 'lodash';\r\nimport constants from '@/app/constants.js'\r\n\r\nvue.use(vuex);\r\n\r\nexport default {\r\n state: {\r\n draws:\r\n [\r\n [\r\n {\r\n name: \"\",\r\n size: 0,\r\n playoffs: null,\r\n plates: null,\r\n type: null,\r\n hasDraw: false,\r\n players: [],\r\n output: 0,\r\n poolsCount: 0,\r\n poolsNames: [],\r\n links: [],\r\n selectedLinks: []\r\n },\r\n {\r\n name: \"\",\r\n size: 0,\r\n playoffs: null,\r\n plates: null,\r\n type: null,\r\n hasDraw: false,\r\n players: [],\r\n output: 0,\r\n poolsCount: 0,\r\n poolsNames: [],\r\n links: [],\r\n selectedLinks: []\r\n },\r\n {\r\n name: \"\",\r\n size: 0,\r\n playoffs: null,\r\n plates: null,\r\n type: null,\r\n hasDraw: false,\r\n players: [],\r\n output: 0,\r\n poolsCount: 0,\r\n poolsNames: [],\r\n links: [],\r\n selectedLinks: []\r\n }\r\n ],\r\n [\r\n {\r\n name: \"\",\r\n size: 0,\r\n playoffs: null,\r\n plates: null,\r\n type: null,\r\n hasDraw: false,\r\n players: [],\r\n output: 0,\r\n poolsCount: 0,\r\n poolsNames: [],\r\n links: [],\r\n selectedLinks: []\r\n },\r\n {\r\n name: \"\",\r\n size: 0,\r\n playoffs: null,\r\n plates: null,\r\n type: null,\r\n hasDraw: false,\r\n players: [],\r\n output: 0,\r\n poolsCount: 0,\r\n poolsNames: [],\r\n links: [],\r\n selectedLinks: []\r\n },\r\n {\r\n name: \"\",\r\n size: 0,\r\n playoffs: null,\r\n plates: null,\r\n type: null,\r\n hasDraw: false,\r\n players: [],\r\n output: 0,\r\n poolsCount: 0,\r\n poolsNames: [],\r\n links: [],\r\n selectedLinks:[]\r\n }\r\n ],\r\n [\r\n {\r\n name: \"\",\r\n size: 0,\r\n playoffs: null,\r\n plates: null,\r\n type: null,\r\n hasDraw: false,\r\n players: [],\r\n output: 0,\r\n poolsCount: 0,\r\n poolsNames: [],\r\n links: [],\r\n selectedLinks: []\r\n },\r\n {\r\n name: \"\",\r\n size: 0,\r\n playoffs: null,\r\n plates: null,\r\n type: null,\r\n hasDraw: false,\r\n players: [],\r\n output: 0,\r\n poolsCount: 0,\r\n poolsNames: [],\r\n links: [],\r\n selectedLinks: []\r\n },\r\n {\r\n name: \"\",\r\n size: 0,\r\n playoffs: null,\r\n plates: null,\r\n type: null,\r\n hasDraw: false,\r\n players: [],\r\n output: 0,\r\n poolsCount: 0,\r\n poolsNames: [],\r\n links: [],\r\n selectedLinks: []\r\n }\r\n ],\r\n [\r\n {\r\n name: \"\",\r\n size: 0,\r\n playoffs: null,\r\n plates: null,\r\n type: null,\r\n hasDraw: false,\r\n players: [],\r\n output: 0,\r\n poolsCount: 0,\r\n poolsNames: [],\r\n links: [],\r\n selectedLinks: []\r\n },\r\n {\r\n name: \"\",\r\n size: 0,\r\n playoffs: null,\r\n plates: null,\r\n type: null,\r\n hasDraw: false,\r\n players: [],\r\n output: 0,\r\n poolsCount: 0,\r\n poolsNames: [],\r\n links: [],\r\n selectedLinks: []\r\n },\r\n {\r\n name: \"\",\r\n size: 0,\r\n playoffs: null,\r\n plates: null,\r\n type: null,\r\n hasDraw: false,\r\n players: [],\r\n output: 0,\r\n poolsCount: 0,\r\n poolsNames: [],\r\n links: [],\r\n selectedLinks: []\r\n }\r\n ]\r\n ],\r\n stage: 0,\r\n strength: 0,\r\n fromStrength: 0,\r\n eventPlayers: [],\r\n seedList: [],\r\n needRegeneration: false,\r\n isPlayerSummaryModalShown: false,\r\n isValid: true\r\n },\r\n mutations: {\r\n clearDraws(state) {\r\n for (let strength = 0; strength < state.draws.length; strength++) {\r\n for (let stage = 0; stage < state.draws[strength].length; stage++) {\r\n state.draws[strength][stage].name = \"\";\r\n state.draws[strength][stage].size = 0;\r\n state.draws[strength][stage].playoffs = null;\r\n state.draws[strength][stage].plates = null;\r\n state.draws[strength][stage].type = null;\r\n state.draws[strength][stage].hasDraw = false;\r\n state.draws[strength][stage].players = [];\r\n state.draws[strength][stage].output = 0;\r\n state.draws[strength][stage].poolsCount = 0;\r\n state.draws[strength][stage].poolsNames = [];\r\n state.draws[strength][stage].links = [];\r\n state.draws[strength][stage].selectedLinks = [];\r\n state.draws[strength][stage].src = \"\";\r\n }\r\n }\r\n },\r\n selectDraw(state, payload) {\r\n state.stage = payload.stage;\r\n state.strength = payload.strength;\r\n state.fromStrength = payload.fromStrength;\r\n },\r\n\r\n updateDraw(state, payload) {\r\n\r\n if (state.draws[payload.strength][payload.stage].type != payload.type ||\r\n state.draws[payload.strength][payload.stage].size != payload.size ||\r\n state.draws[payload.strength][payload.stage].playoffs != payload.playoffs ||\r\n state.draws[payload.strength][payload.stage].plates != payload.plates ||\r\n\r\n state.draws[payload.strength][payload.stage].output != payload.output ||\r\n state.draws[payload.strength][payload.stage].poolsCount != payload.poolsCount) {\r\n\r\n state.needRegeneration = true;\r\n }\r\n\r\n vue.set(state.draws[payload.strength][payload.stage], \"name\", payload.name);\r\n vue.set(state.draws[payload.strength][payload.stage], \"hasDraw\", payload.hasDraw);\r\n vue.set(state.draws[payload.strength][payload.stage], \"src\", payload.src);\r\n vue.set(state.draws[payload.strength][payload.stage], \"type\", payload.type);\r\n vue.set(state.draws[payload.strength][payload.stage], \"size\", payload.size);\r\n vue.set(state.draws[payload.strength][payload.stage], \"playoffs\", payload.playoffs);\r\n vue.set(state.draws[payload.strength][payload.stage], \"plates\", payload.plates);\r\n vue.set(state.draws[payload.strength][payload.stage], \"output\", payload.output);\r\n vue.set(state.draws[payload.strength][payload.stage], \"poolsCount\", payload.poolsCount);\r\n vue.set(state.draws[payload.strength][payload.stage], \"poolsNames\", payload.poolsNames); \r\n vue.set(state.draws[payload.strength][payload.stage], \"pools\", payload.pools); \r\n\r\n },\r\n\r\n savePlayers(state, payload) {\r\n state.draws[state.strength][state.stage].players = payload.selectedPlayers;\r\n state.eventPlayers = payload.availablePlayers;\r\n state.needRegeneration = true;\r\n },\r\n\r\n updateDraws(state, payload) {\r\n state.eventPlayers = [];\r\n payload.AvailableParticipants.forEach(x => {\r\n state.eventPlayers.push({\r\n Name: x.Name,\r\n ParticipantId: x.ParticipantId,\r\n InitialOrder: x.InitialOrder,\r\n RankingPosition: x.RankingPosition,\r\n LowSeed: x.LowSeed,\r\n HighSeed: x.HighSeed,\r\n IsSelected: false,\r\n DrawStrength: x.DrawStrength,\r\n DrawStage: x.DrawStage\r\n });\r\n });\r\n\r\n state.seedList = [];\r\n payload.SeedList.forEach(x => {\r\n state.seedList.push({\r\n LowSeed: x.LowSeed,\r\n HighSeed: x.HighSeed\r\n });\r\n });\r\n\r\n for (let i = 0; i < payload.Draws.length; i++) {\r\n\r\n let draw = payload.Draws[i];\r\n\r\n state.draws[draw.Strength][draw.Stage].hasDraw = true;\r\n state.draws[draw.Strength][draw.Stage].name = draw.Name;\r\n state.draws[draw.Strength][draw.Stage].size = draw.Size;\r\n state.draws[draw.Strength][draw.Stage].playoffs = draw.Playoffs;\r\n state.draws[draw.Strength][draw.Stage].plates = draw.Plates;\r\n state.draws[draw.Strength][draw.Stage].output = draw.Output;\r\n state.draws[draw.Strength][draw.Stage].type = draw.Type;\r\n state.draws[draw.Strength][draw.Stage].players = draw.Players;\r\n state.draws[draw.Strength][draw.Stage].poolsNames = draw.PoolsNames;\r\n state.draws[draw.Strength][draw.Stage].pools = draw.Pools;\r\n state.draws[draw.Strength][draw.Stage].drawId = draw.Id;\r\n\r\n\r\n state.draws[draw.Strength][draw.Stage].poolsCount = draw.PoolsCount;\r\n\r\n state.draws[draw.Strength][draw.Stage].selectedLinks = draw.SelectedLinks;\r\n\r\n state.draws[draw.Strength][draw.Stage].src = drawData.getIcon(draw.Type);\r\n }\r\n },\r\n\r\n updateDrawLinks(state, payload) {\r\n if (typeof (payload.strength) !== 'undefined') {\r\n state.draws[payload.strength][payload.stage].links = _.map(payload.links, function (a) {\r\n a.Strength = payload.strength;\r\n a.Stage = payload.stage;\r\n return a;\r\n });\r\n }\r\n },\r\n\r\n updateLinkUsage(state, payload) {\r\n\r\n if (payload.isSelected) {\r\n if (_.findIndex(state.draws[state.strength][state.stage].selectedLinks, function (a) {return a.WinnerPosition == payload.source.WinnerPosition;}) <0)\r\n state.draws[state.strength][state.stage].selectedLinks.push(payload.source);\r\n }\r\n else {\r\n const indexToRemove = _.findIndex(state.draws[state.strength][state.stage].selectedLinks, function (a) { return a.WinnerPosition == payload.source.WinnerPosition; });\r\n if (indexToRemove >= 0) state.draws[state.strength][state.stage].selectedLinks.splice(indexToRemove, 1);\r\n }\r\n state.needRegeneration = true;\r\n },\r\n clearInvalidUsage(state, payload) {\r\n for (var strength = 0; strength < state.draws.length; strength++) {\r\n for (var stage = 0; stage < state.draws[strength].length; stage++) {\r\n \r\n _.remove(state.draws[strength][stage].selectedLinks, function (a) {\r\n return a.Stage == payload.stage && a.Strength == payload.strength && a.WinnerPosition > payload.links.length;\r\n });\r\n\r\n vue.set(state.draws[strength][stage], \"selectedLinks\", _.clone(state.draws[strength][stage].selectedLinks));\r\n }\r\n }\r\n\r\n },\r\n togglePlayersSummaryModal(state) {\r\n state.isPlayerSummaryModalShown = !state.isPlayerSummaryModalShown;\r\n },\r\n updateDrawSelectedLinksNames(state, payload) {\r\n for (var strength = 0; strength < state.draws.length; strength++) {\r\n for (var stage = 0; stage < state.draws[strength].length; stage++) {\r\n _.forEach(state.draws[strength][stage].selectedLinks, function (a) {\r\n if (a.Stage == payload.stage && a.Strength == payload.strength) {\r\n let link = _.find(state.draws[a.Strength][a.Stage].links, function (l) { return l.WinnerPosition == a.WinnerPosition; });\r\n if (typeof (link) != 'undefined')\r\n a.Name = link.Name;\r\n }\r\n });\r\n }\r\n }\r\n },\r\n validate(state) {\r\n state.isValid = true;\r\n\r\n //check sizes\r\n for (let strength = 0; strength < state.draws.length; strength++) {\r\n for (let stage = 0; stage < state.draws[strength].length; stage++) {\r\n let selectedPlayersCount = state.draws[strength][stage].players.length;\r\n let selectedLinksCount = state.draws[strength][stage].selectedLinks.length;\r\n if (state.draws[strength][stage].size - selectedPlayersCount - selectedLinksCount < 0) {\r\n state.isValid = false;\r\n return;\r\n }\r\n }\r\n }\r\n \r\n }\r\n },\r\n actions: {\r\n selectDraw: ({ commit }, payload) => {\r\n commit(\"selectDraw\", payload);\r\n },\r\n\r\n updateDraw: ({ commit }, payload) => {\r\n commit(\"updateDraw\", payload);\r\n },\r\n\r\n savePlayers: ({ commit }, payload) => {\r\n commit(\"savePlayers\", payload);\r\n },\r\n\r\n updateDraws: ({ commit }, payload) => {\r\n commit(\"clearDraws\");\r\n commit(\"updateDraws\", payload);\r\n },\r\n\r\n updateDrawLinks: ({ commit }, payload) => {\r\n commit(\"updateDrawLinks\", payload);\r\n commit(\"updateDrawSelectedLinksNames\", payload);\r\n commit(\"clearInvalidUsage\", payload);\r\n },\r\n\r\n updateLinkUsage: ({ commit }, payload) => {\r\n commit(\"updateLinkUsage\", payload);\r\n },\r\n togglePlayersSummaryModal: ({ commit }) => {\r\n commit(\"togglePlayersSummaryModal\");\r\n },\r\n validate: ({ commit }) => {\r\n commit(\"validate\");\r\n },\r\n },\r\n getters: {\r\n currentDraw: state => {\r\n return state.draws[state.strength][state.stage];\r\n },\r\n getDraw: state => (strength, stage) => {\r\n if (state.draws.length > stage && state.draws[stage].length > strength)\r\n return state.draws[strength][stage];\r\n\r\n return {};\r\n },\r\n getDrawLinks: (state, getters) => (strength, stage) => {\r\n let draw = getters.getDraw(strength, stage);\r\n return draw.links;\r\n },\r\n seedList: state => {\r\n return state.seedList;\r\n },\r\n fromDraw: state => {\r\n if (state.stage == 0 || typeof state.fromStrength == \"undefined\")\r\n return null;\r\n\r\n return state.draws[state.fromStrength][state.stage - 1];\r\n },\r\n getDrawFinalPositions: state => {\r\n var orderedActiveDraws = [];\r\n\r\n if (state.draws[0][1].hasDraw) {\r\n orderedActiveDraws.push(state.draws[0][1]);\r\n }\r\n\r\n if (state.draws[1][2].hasDraw) {\r\n orderedActiveDraws.push(state.draws[1][2]);\r\n }\r\n\r\n if (state.draws[1][1].hasDraw) {\r\n orderedActiveDraws.push(state.draws[1][1]);\r\n }\r\n\r\n if (state.draws[2][2].hasDraw) {\r\n orderedActiveDraws.push(state.draws[2][2]);\r\n }\r\n\r\n if (state.draws[2][1].hasDraw) {\r\n orderedActiveDraws.push(state.draws[2][1]);\r\n }\r\n\r\n if (state.draws[3][2].hasDraw) {\r\n orderedActiveDraws.push(state.draws[3][2]);\r\n }\r\n\r\n if (state.draws[3][1].hasDraw) {\r\n orderedActiveDraws.push(state.draws[3][1]);\r\n }\r\n\r\n if (state.draws[0][0].hasDraw) {\r\n orderedActiveDraws.push(state.draws[0][0]);\r\n }\r\n\r\n var finalPositions = [];\r\n let currentFrom = 1;\r\n let currentTo = 0;\r\n\r\n for (let i = 0; i < orderedActiveDraws.length; i++) {\r\n\r\n if (orderedActiveDraws[i].players.length === 0 &&\r\n orderedActiveDraws[i].selectedLinks.length == 0) {\r\n\r\n finalPositions.push({\r\n stage: orderedActiveDraws[i].stage,\r\n strength: orderedActiveDraws[i].strength,\r\n from: 0,\r\n to: 0\r\n });\r\n\r\n } else {\r\n\r\n let qualifiers = orderedActiveDraws[i].selectedLinks.length;\r\n\r\n currentTo += orderedActiveDraws[i].players.length + qualifiers;\r\n\r\n finalPositions.push({\r\n stage: orderedActiveDraws[i].stage,\r\n strength: orderedActiveDraws[i].strength,\r\n from: currentFrom,\r\n to: currentTo\r\n });\r\n\r\n currentFrom = currentTo + 1;\r\n }\r\n\r\n }\r\n\r\n return finalPositions;\r\n\r\n },\r\n getLinksForPreviousDraw: (state, getters) => () => {\r\n let previousStage = state.stage - 1;\r\n let fullLinks = [];\r\n let sourceStrength = -1;\r\n let sourceStage = -1;\r\n for (let strength = state.strength; strength >= 0; strength--) {\r\n for (let stage = previousStage; stage >= 0; stage--) {\r\n\r\n fullLinks = _.map(state.draws[strength][stage].links, function (source) {\r\n let linkTargetIndex = _.findIndex(getters.getDraw(state.strength, state.stage).selectedLinks, function (o) { return o.WinnerPosition == source.WinnerPosition; });\r\n let linkTarget = linkTargetIndex >= 0 ? getters.currentDraw : null;\r\n\r\n return {\r\n source: source,\r\n target: linkTarget\r\n };\r\n });\r\n if (fullLinks.length > 0) {\r\n sourceStrength = strength;\r\n sourceStage = stage;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n //set other draw targets\r\n if (sourceStrength >= 0 && sourceStage >= 0) {\r\n for (let strength = sourceStrength; strength < constants.SPIDER_MAX_STRENGTH; strength++) {\r\n for (let stage = sourceStage + 1; stage < constants.SPIDER_MAX_STAGE; stage++) {\r\n if (typeof (getters.getDraw(strength, stage).selectedLinks) == 'undefined') continue;\r\n for (var linkIndex = 0; linkIndex < getters.getDraw(strength, stage).selectedLinks.length; linkIndex++) {\r\n let linkTarget = getters.getDraw(strength, stage).selectedLinks[linkIndex];\r\n if (linkTarget.Strength != sourceStrength\r\n || linkTarget.Stage != sourceStage) {\r\n continue;\r\n }\r\n let targetDraw = getters.getDraw(strength, stage);\r\n let linkTargetIndex = _.findIndex(getters.getDraw(sourceStrength, sourceStage).links, function (o) {\r\n return o.WinnerPosition == linkTarget.WinnerPosition;\r\n });\r\n if (linkTargetIndex >= 0) {\r\n let link = _.find(fullLinks, function (o) { return o.source.WinnerPosition == linkTarget.WinnerPosition });\r\n link.target = targetDraw;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n return _.sortBy(fullLinks, function (o) { return o.source.WinnerPosition; });\r\n },\r\n getUsedLinksForCurrentDraw: (state, getters) => () => {\r\n let allLinks = getters.getLinksForPreviousDraw();\r\n if (typeof (allLinks) == 'undefined') return [];\r\n\r\n let usedLinks = _.filter(allLinks, function (link) {\r\n return link.target != null && link.target.strength == state.strength && link.target.stage == state.stage;\r\n });\r\n\r\n return usedLinks;\r\n },\r\n getIflayerSummaryModalShown: state => {\r\n return state.isPlayerSummaryModalShown;\r\n },\r\n getIsValid: state => () => { \r\n return state.isValid;\r\n }\r\n\r\n\r\n\r\n }\r\n}","import axios from 'axios';\r\nimport _ from 'lodash';\r\n\r\nexport default {\r\n\tstate: {\r\n\t\ttranslations: [],\r\n\t\tlanguageLoaded: '',\r\n\t\tisLoaded: false,\r\n\t\tcurrentTranslationsVersion: 0,\r\n\t},\r\n\tmutations: {\r\n\t\tupdateTranslations(state, payload) {\r\n\t\t\tlet lowerFirstKeys = _.mapKeys(payload, (v, k) => _.lowerFirst(k));\r\n\t\t\tstate.translations = lowerFirstKeys;\r\n\t\t\tstate.isLoaded = true;\r\n\t\t},\r\n\t\tupdateLoadedTranslationsFlag(state, payload) {\r\n\t\t\tstate.languageLoaded = payload;\r\n\t\t},\r\n\t\tupdateTranslationsVersion(state, payload) {\r\n\t\t\tstate.currentTranslationsVersion = payload;\r\n\t\t},\r\n\t},\r\n\tactions: {\r\n\t\tupdateTranslations: ({ commit }, payload) => {\r\n\t\t\tcommit('updateTranslations', payload);\r\n\t\t},\r\n\t\tgetTranslations: ({ state, commit, rootState }, payload) => {\r\n\t\t\tif (state.languageLoaded != payload) {\r\n\t\t\t\tconst apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n\t\t\t\taxios.get(`${apiDomain}/translations/GetTranslationsForLanguageAsync?language=${payload}`).then((response) => {\r\n\t\t\t\t\tcommit('updateTranslations', response.data);\r\n\t\t\t\t\tcommit('updateLoadedTranslationsFlag', payload);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t},\r\n\t\tasync getEnTranslations({ state, commit, rootState }, payload) {\r\n\t\t\tconst apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n\t\t\treturn axios.get(`${apiDomain}/translations/GetTranslationsForLanguageAsync?language=en`).then((response) => {\r\n\t\t\t\tcommit('updateTranslations', response.data);\r\n\t\t\t\tcommit('updateLoadedTranslationsFlag', 'en');\r\n\t\t\t});\r\n\t\t},\r\n\t\tasync asyncUpdateTranslationsVersion({ commit, getters, dispatch }, payload) {\t\t\t\r\n\t\t\tconst url = payload.cdn + 'translations/version.json?' + Math.floor(Date.now() / 1000);\r\n\r\n\t\t\tconst res = await axios({\r\n\t\t\t\turl: url,\r\n\t\t\t\tmethod: 'GET',\r\n\t\t\t\twithCredentials: false,\r\n\t\t\t\theaders: {\r\n\t\t\t\t\t'Access-Control-Allow-Origin': '*',\r\n\t\t\t\t\t'Content-Type': 'application/json',\r\n\t\t\t\t\t'Allow-Headers': 'Content-Type',\r\n\t\t\t\t\t'Access-Control-Allow-Headers': 'Content-Type, Accept',\r\n\t\t\t\t},\r\n\t\t\t});\r\n\r\n\t\t\tif (getters.currentTranslationsVersion !== res.data) {\r\n\t\t\t\tcommit('updateTranslationsVersion', res.data);\r\n\t\t\t\tdispatch('asyncUpdateTranslation', payload.language);\r\n\t\t\t}\t\t\t\r\n\t\t},\r\n\t\tasync asyncUpdateTranslation({ getters, commit, rootGetters }, payload) {\r\n\t\t\tconst url =\r\n\t\t\t\trootGetters.nomenclatures.BlobDomain +\r\n\t\t\t\t'translations/tranlsation-' +\r\n\t\t\t\tpayload +\r\n\t\t\t\t'-' +\r\n\t\t\t\tgetters.currentTranslationsVersion +\r\n\t\t\t\t'.json';\r\n\t\t\t\r\n\t\t\t\tconst res = await axios({\r\n\t\t\t\t\turl: url,\r\n\t\t\t\t\tmethod: 'GET',\r\n\t\t\t\t\twithCredentials: false,\r\n\t\t\t\t\theaders: {\r\n\t\t\t\t\t\t'Access-Control-Allow-Origin': '*',\r\n\t\t\t\t\t\t'Content-Type': 'application/json',\r\n\t\t\t\t\t\t'Allow-Headers': 'Content-Type',\r\n\t\t\t\t\t\t'Access-Control-Allow-Headers': 'Content-Type, Accept',\r\n\t\t\t\t\t},\r\n\t\t\t\t});\r\n\r\n\t\t\t\tcommit('updateTranslations', res.data);\r\n\t\t\t\tcommit('updateLoadedTranslationsFlag', payload);\t\r\n\t\t},\r\n\t},\r\n\tgetters: {\r\n\t\ttranslations: (state) => state.translations,\r\n\t\tcurrentTranslationsVersion: (state) => state.currentTranslationsVersion,\r\n\t},\r\n};\r\n","import axios from 'axios'\r\nimport _ from 'lodash';\r\nimport { MOMENT_DATE_FORMAT, MOMENT_DATETIME_FORMAT, DATETIMEPICKER_MALOT_FORMAT } from '@/app/constants';\r\n\r\nexport default {\r\n state: {\r\n nomenclatures: {},\r\n isLoaded: false\r\n },\r\n mutations: {\r\n updateNomenclatures(state, payload) {\r\n state.nomenclatures = payload;\r\n\r\n state.nomenclatures.DateFormat_Moment = MOMENT_DATE_FORMAT;\r\n state.nomenclatures.DateTimeFormat_Moment = MOMENT_DATETIME_FORMAT;\r\n state.nomenclatures.DateFormat_DatePickerBS4 = DATETIMEPICKER_MALOT_FORMAT;\r\n if (typeof (Cookies) != 'undefined') state.nomenclatures.UserDeviceRin = Cookies.get('user-device-rin');\r\n\r\n state.nomenclatures.SportBaseIconClass = {\r\n 1: \"rin-sports-squash\",\r\n 2: \"rin-sports-badminton\",\r\n 3: \"rin-sports-table-tennis\",\r\n 4: \"rin-sports-tennis\",\r\n 5: \"rin-sports-padel\",\r\n 6: \"rin-sports-racquetball\",\r\n 7: \"rin-sports-soccersquash\",\r\n 8: \"rin-sports-fronton\",\r\n 9: \"rin-sports-teqball\",\r\n 10: \"rin-sports-crossminton\",\r\n 11: \"rin-sports-pickleball\",\r\n 12: \"rin-sports-roundnet\",\r\n 13: \"rin-sports-bowls\",\r\n 14: \"rin-sports-footballtennis\",\r\n };\r\n state.nomenclatures.SportIconClass = _.map(state.nomenclatures.SportBaseIconClass, a => 'icon-' + a);\r\n\r\n\t\t\t\r\n\t\t\tstate.nomenclatures.PlayerSubscriptionPeriods = {\r\n\t\t\t\t'Daily': 'Day',\r\n\t\t\t\t'Monthly': 'Month',\r\n\t\t\t\t'Yearly': 'Year',\r\n\t\t\t\t'Weekly': 'Week'\r\n\t\t\t}\r\n\r\n if (!_.isArray(state.nomenclatures.GendersReversed)) state.nomenclatures.GendersReversed = _.values(payload.GendersReversed).splice(0, _.values(payload.GendersReversed).length);\r\n state.nomenclatures.ProductTypes = Object.assign(_.invert(state.nomenclatures.ProductTypes), state.nomenclatures.ProductTypes);\r\n state.nomenclatures.PaymentProviders = Object.assign(_.invert(state.nomenclatures.PaymentProviders), state.nomenclatures.PaymentProviders);\r\n state.nomenclatures.PaymentMethods = Object.assign(_.invert(state.nomenclatures.PaymentMethods), state.nomenclatures.PaymentMethods);\r\n state.nomenclatures.BookmarkTypes = Object.assign(_.invert(state.nomenclatures.BookmarkTypes), state.nomenclatures.BookmarkTypes);\r\n state.nomenclatures.PaymentTypes = Object.assign(_.invert(state.nomenclatures.PaymentTypes), state.nomenclatures.PaymentTypes);\r\n state.nomenclatures.TeamMatchStates = Object.assign(_.invert(state.nomenclatures.TeamMatchStates), state.nomenclatures.TeamMatchStates);\r\n state.nomenclatures.PlayerSubscriptionPeriodTypesEnum = Object.assign(_.invert(state.nomenclatures.PlayerSubscriptionPeriodTypesEnum), state.nomenclatures.PlayerSubscriptionPeriodTypesEnum);\r\n \r\n state.isLoaded = true;\r\n },\r\n removeNomenclatureIdProp(state, payload) {\r\n _.forOwn(state.nomenclatures, function (value, key) {\r\n if (_.isObject(value) && !_.isArray(value)) {\r\n state.nomenclatures[key] = _.pickBy(value, function (v, k) { return k !== '$id' });\r\n }\r\n });\r\n }\r\n },\r\n actions: {\r\n updateNomenclatures: ({ commit }, payload) => {\r\n commit(\"updateNomenclatures\", payload);\r\n },\r\n async getNomenclatures({ state, commit }, payload) {\r\n return axios.get(payload)\r\n .then(response => {\r\n commit(\"updateNomenclatures\", response.data);\r\n commit(\"removeNomenclatureIdProp\");\r\n }); \r\n }\r\n },\r\n getters: {\r\n nomenclatures: state =>\r\n state.nomenclatures\r\n }\r\n};","import _ from 'lodash';\r\n\r\nexport default {\r\n state: {\r\n areMatchesLoaded: false,\r\n isAdmin: false,\r\n colors: [\r\n \"#e67e22\",\r\n \"#2980b9\",\r\n \"#664525\",\r\n \"#065b53\",\r\n \"#875547\",\r\n \"#4E5AE3\",\r\n \"#3e7c21\",\r\n \"#211756\",\r\n \"#F03C3C\",\r\n \"#660000\",\r\n \"#ff00bf\",\r\n \"#fa6f9e\",\r\n \"#01a2aa\",\r\n \"#95af3f\",\r\n \"#1660b1\",\r\n \"#34d40a\",\r\n \"#D2DF4D\",\r\n \"#e19dc8\",\r\n \"#00ff00\",\r\n \"#61e2a5\",\r\n \"#e2ff6f\",\r\n \"#00FFFF\",\r\n \"#5d4d90\",\r\n \"#eb4a90\",\r\n \"#3355ab\",\r\n \"#8f459e\",\r\n \"#00837e\"\r\n ],\r\n tournamentClasses: [],\r\n table: {\r\n dates: [],\r\n noVirtualTableDates: []\r\n },\r\n isVisible: true\r\n },\r\n mutations: {\r\n setTournamentClasses(state, payload) {\r\n state.tournamentClasses = payload;\r\n }, \r\n setMatchesLoaded(state, payload) {\r\n state.areMatchesLoaded = payload;\r\n },\r\n setTableDates(state, payload) {\r\n state.table.dates = payload;\r\n state.table.noVirtualTableDates = _.filter(payload, function (o) { return !o.isVirtual; }); \r\n },\r\n setIsVisible(state, payload) {\r\n state.isVisible = payload;\r\n }, \r\n setIsAdmin(state, payload) {\r\n state.isAdmin = payload;\r\n }, \r\n },\r\n actions: {\r\n setCourtManagerTournamentClasses: ({ commit }, payload) => {\r\n commit(\"setTournamentClasses\", payload);\r\n },\r\n setCourtManagerMatchesLoaded: ({ commit }, payload) => {\r\n commit(\"setMatchesLoaded\", payload);\r\n },\r\n setTableDates: ({ commit }, payload) => {\r\n commit(\"setTableDates\", payload);\r\n },\r\n setIsAdmin: ({ commit }, payload) => {\r\n commit(\"setIsAdmin\", payload);\r\n },\r\n },\r\n getters: {\r\n\r\n }\r\n}","import drawData from \"../../components/spider/drawData\";\r\n\r\nimport vue from \"vue\";\r\nimport vuex from \"vuex\";\r\nimport _ from 'lodash';\r\n\r\nvue.use(vuex);\r\n\r\nexport default {\r\n state: {\r\n isLoading: false,\r\n template: [],\r\n templateDynamicValidations: [],\r\n wizardData: [],\r\n summary: [],\r\n currentStepIndex: 0,\r\n currentWizardOption: 0,\r\n tournamentClassId: 0 \r\n },\r\n mutations: {\r\n setTournamentClassId(state, payload) {\r\n state.tournamentClassId = payload;\r\n },\r\n selectWizardOption(state, payload) {\r\n state.currentWizardOption = payload;\r\n },\r\n goToStep(state, payload) {\r\n state.currentStepIndex = payload;\r\n },\r\n setTemplate(state, payload) {\r\n state.template = payload;\r\n },\r\n setWizardData(state, payload) {\r\n state.wizardData[payload.stepIndex] = payload;\r\n },\r\n setDynamicValidations(state, payload) {\r\n state.templateDynamicValidations[payload.stepIndex] = payload.validations;\r\n },\r\n clearWizard(state, payload) {\r\n state.wizardData = [];\r\n state.summary = [];\r\n state.templateDynamicValidations = [];\r\n },\r\n setSumamry(state, payload) {\r\n state.summary = payload;\r\n },\r\n setLoading(state, payload) {\r\n state.isLoading = payload;\r\n },\r\n },\r\n actions: {\r\n goToStep: ({ commit }, payload) => {\r\n commit(\"goToStep\", payload);\r\n },\r\n setWizardData: ({ commit }, payload) => {\r\n commit(\"setWizardData\", payload);\r\n },\r\n clearWizard: ({ commit }, payload) => {\r\n commit(\"clearWizard\", payload);\r\n },\r\n setTemplate: ({ commit }, payload) => {\r\n commit(\"setTemplate\", payload);\r\n },\r\n selectWizardOption: ({ commit }, payload) => {\r\n commit(\"selectWizardOption\", payload);\r\n },\r\n setTournamentClassId: ({ commit }, payload) => {\r\n commit(\"setTournamentClassId\", payload);\r\n },\r\n setSumamry: ({ commit }, payload) => {\r\n commit(\"setSumamry\", payload);\r\n },\r\n setLoading: ({ commit }, payload) => {\r\n commit(\"setLoading\", payload);\r\n },\r\n setDynamicValidations: ({ commit }, payload) => {\r\n commit(\"setDynamicValidations\", payload);\r\n },\r\n },\r\n getters: {\r\n getDrawIconSrc: state => (drawType) => {\r\n return drawData.getIcon(drawType);\r\n },\r\n getDrawName: state => (drawType) => {\r\n return drawData.getName(drawType);\r\n },\r\n getCurrentStepIndex: state => () => { return state.currentStepIndex; },\r\n getStepTemplate: state => () => { return state.template[state.currentStepIndex]; },\r\n getStepDynamicValidations: state => () => { return state.templateDynamicValidations[state.currentStepIndex]; },\r\n getStepData: state => () => { return state.wizardData[state.currentStepIndex]; },\r\n getIsSummaryStep: state => () => { return state.template[state.currentStepIndex].WizardStep == \"Summary\"; },\r\n getIsLastStepExceptSummary: state => () => { return state.currentStepIndex == state.template.length - 2; },\r\n getCurrentWizardOption: state => () => { return state.currentWizardOption; },\r\n getTournamentClassId: state => () => { return state.tournamentClassId; },\r\n getSummary: state => () => { return state.summary; },\r\n getParticipantsDataSteps: state => () => { return _.filter(state.wizardData, function (a) { return typeof (a) !== 'undefined' && a.step === 'DrawSeededParticipants'; }); },\r\n getIsLoading: state => () => { return state.isLoading; },\r\n }\r\n}","export default {\r\n state: {\r\n classToEdit: {},\r\n classes: [],\r\n tournamentDates: [],\r\n playDates: [],\r\n classesToMerge: [],\r\n tournamentId: 0,\r\n inEdit: false,\r\n inMerge: false,\r\n teamSettings: [],\r\n teamSettingsForEdit: [],\r\n ageGroups: [],\r\n ageGroupsPerMatchType: []\r\n },\r\n mutations: {\r\n initTeamSettings(state, payload) {\r\n Vue.set(state, 'teamSettings', payload);\r\n },\r\n updateTeamSetting(state, payload) {\r\n const index = state.teamSettings.findIndex(ts => ts.MatchType === payload.MatchType);\r\n state.teamSettings.splice(index, 1, payload);\r\n },\r\n updateTeamSettingForEdit(state, payload) {\r\n const index = state.teamSettingsForEdit.findIndex(ts => ts.MatchType === payload.MatchType);\r\n state.teamSettingsForEdit.splice(index, 1, payload);\r\n },\r\n updateTeamSettingsForEdit(state, payload) {\r\n state.teamSettingsForEdit = payload;\r\n },\r\n updateClass(state, payload) {\r\n state.classToEdit = payload;\r\n },\r\n updateClasses(state, payload) {\r\n state.classes = payload;\r\n },\r\n updateInEdit(state, payload) {\r\n state.inEdit = payload;\r\n },\r\n updateInMerge(state, payload) {\r\n state.inMerge = payload;\r\n },\r\n updateTournamentDates(state, payload) {\r\n state.tournamentDates = payload;\r\n },\r\n updatePlayDates(state, payload) {\r\n state.playDates = payload;\r\n },\r\n updateTournamentId(state, payload) {\r\n state.tournamentId = payload;\r\n },\r\n updateStoreClassesToMerge(state, payload) {\r\n state.classesToMerge = payload;\r\n },\r\n updateAgeGroups(state, payload) {\r\n state.ageGroups = payload.ageGroups;\r\n state.ageGroupsPerMatchType = payload.ageGroupsPerMatchType;\r\n },\r\n },\r\n actions: {\r\n updateClass: ({ commit }, payload) => {\r\n commit(\"updateClass\", payload);\r\n },\r\n updateClasses: ({ commit }, payload) => {\r\n commit(\"updateClasses\", payload);\r\n },\r\n updateInEdit: ({ commit }, payload) => {\r\n commit(\"updateInEdit\", payload);\r\n },\r\n updateInMerge: ({ commit }, payload) => {\r\n commit(\"updateInMerge\", payload);\r\n },\r\n updateTournamentDates: ({ commit }, payload) => {\r\n commit(\"updateTournamentDates\", payload);\r\n },\r\n updatePlayDates: ({ commit }, payload) => {\r\n commit(\"updatePlayDates\", payload);\r\n },\r\n updateTournamentId: ({ commit }, payload) => {\r\n commit(\"updateTournamentId\", payload);\r\n },\r\n updateStoreClassesToMerge: ({ commit }, payload) => {\r\n commit(\"updateStoreClassesToMerge\", payload);\r\n },\r\n updateAgeGroups: ({ commit }, payload) => {\r\n commit(\"updateAgeGroups\", payload);\r\n },\r\n\r\n },\r\n}","import axios from 'axios';\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n term: '',\r\n state: 'closed',\r\n filter: 'all',\r\n tournaments: [],\r\n clubleagues: [],\r\n teamleagues: [],\r\n players: [],\r\n rankings: [],\r\n organisations: [],\r\n isloading: {\r\n tournaments: false,\r\n clubleagues: false,\r\n teamleagues: false,\r\n participants: false,\r\n rankings: false,\r\n organisations: false\r\n }\r\n },\r\n mutations: {\r\n toggle(state, payload) {\r\n if (payload === false) {\r\n state.state = 'closed';\r\n state.term = '';\r\n state.tournaments = [];\r\n state.clubleagues = [];\r\n state.teamleagues = [];\r\n state.players = [];\r\n state.rankings = [];\r\n state.organisations = [];\r\n } else if (state.state === 'closed') {\r\n state.state = 'history';\r\n }\r\n },\r\n clearResults(state) {\r\n state.tournaments = [];\r\n state.clubleagues = [];\r\n state.teamleagues = [];\r\n state.players = [];\r\n state.rankings = [];\r\n state.organisations = [];\r\n },\r\n setTerm(state, payload) {\r\n state.term = payload;\r\n },\r\n setState(state, payload) {\r\n state.state = payload;\r\n },\r\n setTournaments(state, payload) {\r\n state.tournaments = [...state.tournaments, ...payload];\r\n },\r\n setClubleagues(state, payload) {\r\n state.clubleagues = [...state.clubleagues, ...payload];\r\n },\r\n setTeamleagues(state, payload) {\r\n state.teamleagues = [...state.teamleagues, ...payload];\r\n },\r\n setParticipants(state, payload) {\r\n state.players = [...state.players, ...payload];\r\n },\r\n setRankings(state, payload) {\r\n state.rankings = [...state.rankings, ...payload];\r\n },\r\n setOrganisations(state, payload) {\r\n state.organisations = [...state.organisations, ...payload];\r\n },\r\n setFilter(state, payload) {\r\n state.filter = payload;\r\n },\r\n setLoading(state, payload) {\r\n state.isloading[payload.type] = payload.loading;\r\n }\r\n },\r\n actions: {\r\n find({ commit, rootState }, payload) {\r\n commit('setState', 'loading');\r\n commit('setTerm', payload.term);\r\n const nomenclatures = rootState.nomenclatures.nomenclatures;\r\n axios(\r\n `${nomenclatures.ApiDomain}/search/GlobalSearchAsync?term=${payload.term}&language=${payload.language}`\r\n ).then((res) => {\r\n commit('clearResults');\r\n commit('setTournaments', res.data.Tournaments);\r\n commit('setClubleagues', res.data.ClubLeagues);\r\n commit('setTeamleagues', res.data.TeamLeagues);\r\n commit('setParticipants', res.data.Participants);\r\n commit('setRankings', res.data.Rankings);\r\n commit('setOrganisations', res.data.Organisation);\r\n\r\n const hasResults =\r\n res.data.Tournaments.length > 0 ||\r\n res.data.ClubLeagues.length > 0 ||\r\n res.data.TeamLeagues.length > 0 ||\r\n res.data.Participants.length > 0 ||\r\n res.data.Rankings.length > 0 ||\r\n res.data.Organisation.length > 0;\r\n\r\n if (hasResults) commit('setState', 'results');\r\n if (!hasResults) commit('setState', 'noresults');\r\n });\r\n },\r\n loadMore({ commit, state, rootState }, payload) {\r\n commit('setLoading', { type: payload.type.toLowerCase(), loading: true });\r\n const nomenclatures = rootState.nomenclatures.nomenclatures;\r\n\r\n var actionName = '';\r\n switch (payload.type) {\r\n case 'Tournaments':\r\n actionName = 'GetTournamentsAsync';\r\n break;\r\n case 'Clubleagues':\r\n actionName = 'GetClubLeaguesAsync';\r\n break;\r\n case 'Teamleagues':\r\n actionName = 'GetTeamLeaguesAsync';\r\n break;\r\n case 'Participants':\r\n actionName = 'GetParticipantsAsync';\r\n break;\r\n case 'Rankings':\r\n actionName = 'GetRankingsAsync';\r\n break;\r\n case 'Organisations':\r\n actionName = 'GetOrganisationsAsync';\r\n break;\r\n } \r\n \r\n\r\n axios(\r\n `${nomenclatures.ApiDomain}/search/${actionName}?term=${state.term}&language=${payload.language}&take=${payload.take}&skip=${payload.skip}`\r\n ).then((res) => {\r\n const mutation = `set${payload.type}`;\r\n commit(mutation, res.data);\r\n commit('setLoading', { type: payload.type.toLowerCase(), loading: false });\r\n });\r\n },\r\n },\r\n getters: {\r\n term(state) {\r\n return state.term;\r\n },\r\n state(state) {\r\n return state.state;\r\n },\r\n isShown(state) {\r\n return state.state != 'closed';\r\n },\r\n tournaments(state) {\r\n return state.tournaments;\r\n },\r\n clubleagues(state) {\r\n return state.clubleagues;\r\n },\r\n teamleagues(state) {\r\n return state.teamleagues;\r\n },\r\n players(state) {\r\n return state.players;\r\n },\r\n rankings(state) {\r\n return state.rankings;\r\n },\r\n organisations(state) {\r\n return state.organisations;\r\n },\r\n filter(state) {\r\n return state.filter;\r\n },\r\n isloading(state) {\r\n return state.isloading;\r\n }\r\n },\r\n};\r\n","//import axios from 'axios';\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n isAuthorized: false,\r\n isMenuOpen: false,\r\n\r\n //playerName: '',\r\n playerFirstName: '',\r\n playerLastName: '',\r\n rankedinId: '',\r\n rankingId: null,\r\n homeClubId: null,\r\n isSuperAdmin: false,\r\n\r\n playerImage: null,\r\n urlName: ''\r\n\r\n },\r\n mutations: {\r\n toggleMenu(state, payload) {\r\n state.isMenuOpen = payload;\r\n },\r\n updateInfo(state, payload) {\r\n //state.playerName = payload.FirstName + ' ' + payload.LastName;\r\n\r\n state.playerFirstName = payload.FirstName;\r\n state.playerLastName = payload.LastName;\r\n\r\n state.rankedinId = payload.RankedinId;\r\n state.isSuperAdmin = payload.IsSuperAdmin;\r\n state.isAuthorized = payload.IsAuthenticated;\r\n state.rankingId = payload.RankingId;\r\n state.homeClubId = payload.HomeClubId;\r\n state.urlName = payload.UrlName;\r\n if (payload.PlayerImageUrl != null) state.playerImage = payload.PlayerImageUrl + '?' + new Date().getUTCMilliseconds();\r\n if (payload.PlayerImageUrl == null) state.playerImage = null;\r\n\r\n //state.playerImage = null;\r\n },\r\n clearState(state) {\r\n state.isAuthorized = false;\r\n state.isMenuOpen = false;\r\n state.playerName = '';\r\n state.rankedinId = '';\r\n state.rankingId = null;\r\n state.homeClubId = null;\r\n\r\n\r\n state.isSuperAdmin = false;\r\n state.playerImage = null;\r\n state.urlName = '';\r\n\r\n },\r\n updateImage(state, payload) {\r\n console.log('topnav: image upadated');\r\n state.playerImage = payload + '?' + new Date().getUTCMilliseconds();\r\n }\r\n },\r\n actions: {\r\n ['global_UpdateTopNavInfo']: {\r\n root: true,\r\n handler(namespacedContext, payload) {\r\n namespacedContext.commit('updateInfo', payload);\r\n }\r\n }\r\n },\r\n getters: {\r\n isMenuOpen(state) {\r\n return state.isMenuOpen;\r\n },\r\n isAuthorized(state) {\r\n return state.isAuthorized;\r\n },\r\n playerName(state) {\r\n return state.playerFirstName + ' ' + state.playerLastName;\r\n },\r\n playerImage(state) {\r\n return state.playerImage;\r\n },\r\n playerRankingId(state) {\r\n return state.rankingId;\r\n },\r\n playerHomeClubId(state) {\r\n return state.homeClubId;\r\n },\r\n isSuperAdmin(state) {\r\n return state.isSuperAdmin;\r\n },\r\n rankedinId(state) {\r\n return state.rankedinId;\r\n },\r\n playerUrlName(state) {\r\n return state.urlName;\r\n },\r\n playerInitials(state) {\r\n let nameLetter = '';\r\n let surnLetter = '';\r\n if (state.playerFirstName?.length > 0) nameLetter = state.playerFirstName[0];\r\n if (state.playerLastName?.length > 0) surnLetter = state.playerLastName[0];\r\n\r\n return nameLetter + surnLetter;\r\n }\r\n },\r\n};\r\n","export default {\r\n\tnamespaced: true,\r\n\tstate: {\r\n\t\tbodyModals: [],\r\n\t\tisMonetizationModalOpen: false,\r\n\t\tisPremiumModalOpen: false,\r\n\t\tisPageNavBarVisible: false,\r\n\t\tisAlternativeBackgroud: false,\r\n\t\tnavigationsCount: 0,\r\n\t\tenabledPwaPopup: false,\r\n\t\tpwaPromptRef: null,\r\n\t},\r\n\tmutations: {\r\n\t\taddBodyModal(state, payload) {\r\n\t\t\tif (payload.forceClose) {\r\n\t\t\t\tthis.commit('ui/resetBodyModalsStack');\r\n\t\t\t}\r\n\t\t\tif (state.bodyModals[state.bodyModals.length - 1] !== payload.name) {\r\n\t\t\t\tstate.bodyModals.push(payload.name);\r\n\t\t\t}\r\n\t\t},\r\n\t\tremoveLastBodyModal(state) {\r\n\t\t\tstate.bodyModals.pop();\r\n\t\t},\r\n\t\tresetBodyModalsStack(state) {\r\n\t\t\tstate.bodyModals = [];\r\n\t\t},\r\n\t\tsetMonetizationModalState(state, payload) {\r\n\t\t\tstate.isMonetizationModalOpen = payload;\r\n\t\t},\r\n\t\tsetPremiumModalState(state, payload) {\r\n\t\t\tstate.isPremiumModalOpen = payload;\r\n\t\t},\r\n\t\tsetPageNavBarState(state, payload) {\r\n\t\t\tstate.isPageNavBarVisible = payload;\r\n\t\t},\r\n\t\tsetAlternativeBackgroud(state, payload) {\r\n\t\t\tstate.isAlternativeBackgroud = payload;\r\n\t\t},\r\n\t\tincrementNavigationsCount(state) {\r\n\t\t\tstate.navigationsCount += 1;\r\n\t\t},\r\n\t\tsetEnabledPwaPopup(state, payload) {\r\n\t\t\tstate.enabledPwaPopup = payload;\r\n\t\t},\r\n\t\tsetPwaPromptRef(state, payload) {\r\n\t\t\tstate.pwaPromptRef = payload;\r\n\t\t},\r\n\t},\r\n\tactions: {\r\n\t\tsetMonetizationModalState({ commit }, payload) {\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tcommit('setMonetizationModalState', payload);\r\n\t\t\t}, 0);\r\n\t\t},\r\n\t\tsetPremiumModalState({ commit }, payload) {\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tcommit('setPremiumModalState', payload);\r\n\t\t\t}, 0);\r\n\t\t}\r\n\t},\r\n\tgetters: {\r\n\t\tbodyModals(state) {\r\n\t\t\treturn state.bodyModals;\r\n\t\t},\r\n\t\tlastOpenedBodyModal(state) {\r\n\t\t\treturn state.bodyModals[state.bodyModals.length - 1];\r\n\t\t},\r\n\t\tisMonetizationModalOpen(state) {\r\n\t\t\treturn state.isMonetizationModalOpen;\r\n\t\t},\r\n\t\tisPremiumModalOpen(state) {\r\n\t\t\treturn state.isPremiumModalOpen;\r\n\t\t},\r\n\t\tisPageNavBarVisible(state) {\r\n\t\t\treturn state.isPageNavBarVisible;\r\n\t\t},\r\n\t\tisAlternativeBackgroud(state) {\r\n\t\t\treturn state.isAlternativeBackgroud;\r\n\t\t},\r\n\t\tgetNavigationsCount(state) {\r\n\t\t\treturn state.navigationsCount;\r\n\t\t},\r\n\t\tisEnabledPwaPopup(state) {\r\n\t\t\treturn state.enabledPwaPopup;\r\n\t\t},\r\n\t\tshouldShowPwaPopup(state, getters) {\r\n\t\t\treturn getters.getPwaPromptRef && getters.enabledPwaPopup;\r\n\t\t},\r\n\t\tgetPwaPromptRef(state) {\r\n\t\t\treturn state.pwaPromptRef;\r\n\t\t},\r\n\t\tgetHasPwaPrompt(state) {\r\n\t\t\treturn state.pwaPromptRef != null;\r\n\t\t}\r\n\t},\r\n};\r\n","import axios from 'axios';\r\nexport default {\r\n\tnamespaced: true,\r\n\tstate: {\r\n\t\tisProPlayer: false,\r\n\t\tisPremiumEvent: false,\r\n\t\tselectedPremiumTournamentPlan: null,\r\n\t\tcurrentEventType: '',\r\n\t\tshowFreeTrialModal: false,\r\n\t\tisFreeTrialStarted: false,\r\n\t\tisJoinedInPremiumEvent: false,\r\n\t\tshouldShowAds: false\r\n\t},\r\n\tmutations: {\r\n\t\tmutateIsProPlayer(state, payload) {\r\n\t\t\tstate.isProPlayer = payload;\r\n\t\t},\r\n\t\tupdateisPremiumEventState(state, payload) {\r\n\t\t\tstate.isPremiumEvent = payload;\r\n\t\t},\r\n\t\tupdateSelectedPremiumTournamentPlan(state, payload) {\r\n\t\t\tstate.selectedPremiumTournamentPlan = payload;\r\n\t\t},\r\n\t\tupdateCurrentEventType(state, payload) {\r\n\t\t\tstate.currentEventType = payload;\r\n\t\t},\r\n\t\tupdateShowFreeTrialModal(state, payload) {\r\n\t\t\tstate.showFreeTrialModal = payload;\r\n\t\t},\r\n\t\tupdateIsFreeTrialStarted(state, payload) {\r\n\t\t\tstate.isFreeTrialStarted = payload;\r\n\t\t},\r\n\t\tmutateIsJoinedInPremiumEvent(state, payload) {\r\n\t\t\tstate.isJoinedInPremiumEvent = payload;\r\n\t\t},\r\n\t\tupdateShouldShowAds(state, payload) {\r\n\t\t\tstate.shouldShowAds = payload;\r\n\t\t}\r\n\t},\r\n\tactions: {\r\n\t\tupdateIsProPlayer(ctx, v) {\r\n\t\t\tctx.commit('mutateIsProPlayer', v);\r\n\t\t},\r\n\t\tupdateisPremiumEvent({ commit, rootState }, v) {\r\n\t\t\tconst nomenclatures = rootState.nomenclatures.nomenclatures;\r\n\t\t\tif (nomenclatures.IsPremiumAllowed) {\r\n\t\t\t\taxios(`${nomenclatures.ApiDomain}/Monetization/GetIsPremiumTournamentAsync`, {\r\n\t\t\t\t\tparams: { tournamentId: v },\r\n\t\t\t\t})\r\n\t\t\t\t\t.then((res) => {\r\n\t\t\t\t\t\tcommit('updateisPremiumEventState', res.data);\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(() => {\r\n\t\t\t\t\t\t//i guess if theres whatever error it should still be false?\r\n\t\t\t\t\t\tcommit('updateisPremiumEventState', false);\r\n\t\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tcommit('updateisPremiumEventState', false);\r\n\t\t\t}\r\n\t\t},\r\n\t\tupdateIsJoinedInPremiumEvent(ctx, v) {\r\n\t\t\tctx.commit('mutateIsJoinedInPremiumEvent', v);\r\n\t\t},\r\n\t},\r\n\tgetters: {\r\n\t\tselectedPremiumTournamentPlan(state) {\r\n\t\t\treturn state.selectedPremiumTournamentPlan;\r\n\t\t},\r\n\t\tisProPlayer(state) {\r\n\t\t\treturn state.isProPlayer;\r\n\t\t},\r\n\t\tisPremiumEvent(state, getters) {\r\n\t\t\treturn state.isPremiumEvent && !getters.isTournamentKillSwitchActive;\r\n\t\t},\r\n\t\tshowRatings(state, getters) {\r\n\t\t\tif (getters.currentEventType === 'Tournament') {\r\n\t\t\t\treturn getters.isProPlayer || getters.isPremiumEvent;\r\n\t\t\t} else {\r\n\t\t\t\treturn getters.isProPlayer;\r\n\t\t\t}\r\n\t\t},\r\n\t\t//needed externally for case to hide all PRO indicators when killswitch is active\r\n\t\tisTournamentKillSwitchActive(state, getters, rootState) {\r\n\t\t\treturn !rootState.nomenclatures.nomenclatures.IsPremiumAllowed;\r\n\t\t},\r\n\t\tcurrentEventType(state) {\r\n\t\t\treturn state.currentEventType;\r\n\t\t},\r\n\t\tshowFreeTrialModal(state) {\r\n\t\t\treturn state.showFreeTrialModal;\r\n\t\t},\r\n\t\tisFreeTrialStarted(state) {\r\n\t\t\treturn state.isFreeTrialStarted;\r\n\t\t},\r\n\t\tisJoinedInPremiumEvent(state) {\r\n\t\t\treturn state.isJoinedInPremiumEvent;\r\n\t\t},\r\n\t\tshouldShowAds(state) {\r\n\t\t\treturn state.shouldShowAds;\r\n\t\t}\r\n\t},\r\n};\r\n","export default {\r\n\tnamespaced: true,\r\n\tstate: {\r\n\t\temail: '',\r\n\t\tpassword: '',\r\n\t\tfirstName: '',\r\n\t\tlastName: '',\r\n\t\tdob: '',\r\n\t\tgender: '',\r\n\t\tcountry: { code: 0 },\r\n\t\tsport: 0,\r\n\t\tphone: '',\r\n\t\tnewsletter: false,\r\n\t\tterms: false,\r\n\r\n\t\tisRegisterModalOpen: false,\r\n\t},\r\n\tmutations: {\r\n\t\tupdateEmail(state, payload) {\r\n\t\t\tstate.email = payload;\r\n\t\t},\r\n\t\tupdatePassword(state, payload) {\r\n\t\t\tstate.password = payload;\r\n\t\t},\r\n\t\tupdateFirstName(state, payload) {\r\n\t\t\tstate.firstName = payload;\r\n\t\t},\r\n\t\tupdateLastName(state, payload) {\r\n\t\t\tstate.lastName = payload;\r\n\t\t},\r\n\t\tupdateDob(state, payload) {\r\n\t\t\tstate.dob = payload;\r\n\t\t},\r\n\t\tupdateGender(state, payload) {\r\n\t\t\tstate.gender = payload;\r\n\t\t},\r\n\t\tupdateCountry(state, payload) {\r\n\t\t\tstate.country = payload;\r\n\t\t},\r\n\t\tupdateSport(state, payload) {\r\n\t\t\tstate.sport = payload;\r\n\t\t},\r\n\t\tupdatePhone(state, payload) {\r\n\t\t\tstate.phone = payload;\r\n\t\t},\r\n\t\tupdateNewsletter(state, payload) {\r\n\t\t\tstate.newsletter = payload;\r\n\t\t},\r\n\t\tupdateTerms(state, payload) {\r\n\t\t\tstate.terms = payload;\r\n\t\t},\r\n\t\tclearAll(state) {\r\n\t\t\tstate.email = '';\r\n\t\t\tstate.password = '';\r\n\t\t\tstate.firstName = '';\r\n\t\t\tstate.lastName = '';\r\n\t\t\tstate.dob = '';\r\n\t\t\tstate.gender = '';\r\n\t\t\tstate.country = { code: 0 };\r\n\t\t\tstate.sport = 0;\r\n\t\t\tstate.phone = '';\r\n\t\t\tstate.newsletter = false;\r\n\t\t\tstate.terms = false;\r\n\t\t},\r\n\t\tsetRegisterModalStateInternal(state, payload) {\r\n\t\t\tstate.isRegisterModalOpen = payload;\r\n\t\t},\r\n\t},\r\n\tactions: {\r\n\t\tsetRegisterModalState({ commit }, payload) {\r\n\t\t\tcommit('setRegisterModalStateInternal', payload);\r\n\t\t\tcommit('setFooter', !payload, { root: true });\r\n\t\t},\r\n\t},\r\n\tgetters: {\r\n\t\temail(state) {\r\n\t\t\treturn state.email;\r\n\t\t},\r\n\t\tpassword(state) {\r\n\t\t\treturn state.password;\r\n\t\t},\r\n\t\tfirstName(state) {\r\n\t\t\treturn state.firstName;\r\n\t\t},\r\n\t\tlastName(state) {\r\n\t\t\treturn state.lastName;\r\n\t\t},\r\n\t\tdob(state) {\r\n\t\t\treturn state.dob;\r\n\t\t},\r\n\t\tgender(state) {\r\n\t\t\treturn state.gender;\r\n\t\t},\r\n\t\tcountry(state, getters, rootState, rootGetters) {\r\n\t\t\tif (state.country?.code == 0) {\r\n\t\t\t\treturn { ...state.country, name: rootGetters.translations['shared_Select'] };\r\n\t\t\t} else {\r\n\t\t\t\treturn state.country;\r\n\t\t\t}\r\n\t\t},\r\n\t\tsport(state) {\r\n\t\t\treturn state.sport;\r\n\t\t},\r\n\t\tphone(state) {\r\n\t\t\treturn state.phone;\r\n\t\t},\r\n\t\tnewsletter(state) {\r\n\t\t\treturn state.newsletter;\r\n\t\t},\r\n\t\tterms(state) {\r\n\t\t\treturn state.terms;\r\n\t\t},\r\n\t\tisRegisterModalOpen(state) {\r\n\t\t\treturn state.isRegisterModalOpen;\r\n\t\t},\r\n\t},\r\n};\r\n","import axios from 'axios';\r\nimport router from '@/router/router';\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n chatList: [],\r\n selectedChat: null,\r\n searchResults: [],\r\n\r\n backUrl: null,\r\n eventName: null,\r\n\r\n isLoading: false\r\n },\r\n mutations: {\r\n updateChatList(state, payload) {\r\n if (payload.refresh === true) {\r\n\r\n state.chatList = payload.chats;\r\n\r\n }\r\n else {\r\n\r\n const uniqueChats = payload.chats.filter((c) =>\r\n !state.chatList.some((x) => x.chatId === c.chatId)\r\n );\r\n\r\n state.chatList = state.chatList.concat(uniqueChats);\r\n }\r\n },\r\n addMessages(state, payload) {\r\n\r\n state.selectedChat.chatMessages = [...payload, ...state.selectedChat.chatMessages];\r\n },\r\n updateChatBox(state, payload) {\r\n\r\n state.selectedChat = {\r\n chatMessages: payload.messages,\r\n chatName: payload.chatName,\r\n chatId: payload.chatId,\r\n participantId: payload.participantId,\r\n rankedinId: payload.rankedinId,\r\n urlName: payload.urlName\r\n };\r\n },\r\n clear(state) {\r\n state.selectedChat = null;\r\n state.searchResults = [];\r\n state.backUrl = null;\r\n },\r\n addMessage(state, payload) {\r\n state.selectedChat.chatMessages.push(payload);\r\n },\r\n updateSearchResults(state, payload) {\r\n state.searchResults = payload;\r\n },\r\n newChat(state, payload) {\r\n var selectedChat = state.searchResults.find(x => x.participantId == payload.participantId);\r\n if (selectedChat != null && state.selectedChat?.participantId != selectedChat.participantId)\r\n state.selectedChat = selectedChat;\r\n },\r\n contactAdmin(state, payload) {\r\n state.backUrl = payload.backUrl;\r\n state.eventName = payload.eventName;\r\n },\r\n clearBackUrl(state) {\r\n state.backUrl = null;\r\n },\r\n updateIsLoading(state, payload) {\r\n state.isLoading = payload;\r\n },\r\n clearState(state) {\r\n state.chatList = [];\r\n state.selectedChat = null;\r\n state.searchResults = [];\r\n state.backUrl = null;\r\n state.eventName = null;\r\n state.isLoading = false;\r\n }\r\n },\r\n actions: {\r\n async loadChatList({ commit, rootState }, payload) {\r\n const apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n const lang = router.currentRoute.params.language;\r\n try {\r\n commit('updateIsLoading', true);\r\n var res = await axios.get(`${apiDomain}/chat/getchats?skip=${payload.skip}&take=20&language=${lang}`);\r\n commit('updateChatList', { chats: res.data.chats, refresh: payload.refresh });\r\n commit('updateIsLoading', false);\r\n return Promise.resolve(res);\r\n }\r\n catch (err) {\r\n alert('Error', 'An error occured. Please try again or contact us on our support chat');\r\n return Promise.reject(err);\r\n }\r\n\r\n },\r\n async loadChatBox({ commit, rootState }, payload) {\r\n const apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n\r\n try {\r\n var res = await axios.get(`${apiDomain}/chat/getchatbox?chatId=${payload.chatId}`);\r\n commit('updateChatBox', res.data);\r\n return Promise.resolve(res);\r\n }\r\n catch (err) {\r\n alert('Error', 'An error occured. Please try again or contact us on our support chat');\r\n console.error(err);\r\n return Promise.reject(err);\r\n }\r\n },\r\n async loadMoreMessages({ commit, rootState }, payload) {\r\n const apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n\r\n axios.get(`${apiDomain}/chat/getmessages?chatId=${payload.chatId}&skip=${payload.skip}`)\r\n .then(res => {\r\n commit('addMessages', res.data);\r\n return Promise.resolve();\r\n })\r\n .catch(e => {\r\n alert('Error', 'An error occured. Please try again or contact us on our support chat');\r\n return Promise.reject(e);\r\n });\r\n },\r\n clear({ commit }) {\r\n commit('clear');\r\n },\r\n async sendMessage({ commit, dispatch, rootState }, payload) {\r\n const apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n try {\r\n\r\n var res = await axios.post(`${apiDomain}/chat/sendmessage`, {\r\n chatId: payload.chatId,\r\n message: payload.message\r\n });\r\n\r\n commit('addMessage', res.data);\r\n dispatch('loadChatList', { skip: 0, refresh: true });\r\n return Promise.resolve();\r\n }\r\n catch (err) {\r\n return Promise.reject();\r\n }\r\n },\r\n async searchChats({ commit, rootState }, payload) {\r\n const apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n try {\r\n\r\n var res = await axios.post(`${apiDomain}/chat/searchchats`, {\r\n term: payload.term,\r\n skip: 0,\r\n take: 15\r\n });\r\n\r\n commit('updateSearchResults', res.data.chats);\r\n return Promise.resolve();\r\n }\r\n catch (err) {\r\n return Promise.reject();\r\n }\r\n },\r\n\r\n newChat({ commit, rootState }, payload) {\r\n commit('newChat', payload);\r\n },\r\n\r\n async createNewChat({ dispatch, state, rootState }, payload) {\r\n const apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n // contact admins buttons and new chats from search results\r\n // will allways end up in this action\r\n\r\n // we can distinguish them if the backUrl. \r\n // if backUrl is not null, then we are coming from contact admin button\r\n try {\r\n let additionalInfo = '';\r\n\r\n if (state.backUrl != null)\r\n additionalInfo = `From: ${decodeURIComponent(state.eventName)}`\r\n\r\n var res = await axios.post(`${apiDomain}/chat/createchat`, {\r\n participantId: payload.participantId,\r\n message: payload.message,\r\n additionalInfo: additionalInfo\r\n });\r\n\r\n dispatch('loadChatList', { skip: 0, refresh: true });\r\n\r\n return Promise.resolve(res.data);\r\n }\r\n catch (err) {\r\n return Promise.reject();\r\n }\r\n },\r\n async contactAdmin({ commit, rootState }, payload) {\r\n commit('contactAdmin', { backUrl: router.currentRoute.fullPath, eventName: payload.eventName });\r\n\r\n const apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n let messages = [];\r\n var res = await axios.get(`${apiDomain}/chat/GetChatBoxForEventAdminAsync?playerId=${payload.participantId}`);\r\n if (res && res.data) {\r\n messages = res.data.messages;\r\n }\r\n \r\n\r\n\r\n commit('updateChatBox', { chatId: 0, participantId: payload.participantId, chatName: payload.name, messages: messages });\r\n router.push({ name: 'newchat', params: { id: payload.participantId, language: router.currentRoute.params.language } }).catch(err => { });\r\n },\r\n clearBackUrl({ commit }) {\r\n commit('clearBackUrl');\r\n }\r\n },\r\n getters: {\r\n getChatList(state) {\r\n return state.chatList;\r\n },\r\n getSearchResults(state) {\r\n return state.searchResults;\r\n },\r\n getChatMessages(state) {\r\n return state.chatMessages;\r\n },\r\n getSelectedChat(state) {\r\n return state.selectedChat;\r\n },\r\n getBackUrl(state) {\r\n return state.backUrl;\r\n },\r\n getIsLoading(state) {\r\n return state.isLoading;\r\n }\r\n }\r\n}","import axios from 'axios';\r\nimport debounce from 'lodash/debounce';\r\n\r\nconst postStateToServer = debounce((payload, apiDomain, commit) => {\r\n \r\n const { areControlsDisabled, ...data } = payload;\r\n commit('updatAreControlsDisabled', true);\r\n axios.post(`${apiDomain}/tournament/SaveTeamChampionshipRoundRobinSettingsAsync`, data)\r\n .then(response => {\r\n\r\n axios.post(`${apiDomain}/tournament/updatetournamentstandingsasync`, { TournamentId: payload.tournamentId, IsTeamSettingsChange: true })\r\n .then(res => {\r\n commit('updatAreControlsDisabled', false);\r\n })\r\n .catch(err => {\r\n alert('There was error when saving the settings. Please try again or contact us on our support chat');\r\n console.error(error);\r\n });\r\n })\r\n .catch(error => {\r\n alert('There was error when saving the settings. Please try again or contact us on our support chat');\r\n console.error(error);\r\n });\r\n}, 1200);\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n individualPointSettings: null,\r\n individualRuleSettings: null,\r\n teamPointSettings: null,\r\n teamRuleSettings: null,\r\n tournamentId: null,\r\n teamMatchesScoringType: 0,\r\n areControlsDisabled: false\r\n },\r\n mutations: {\r\n\r\n updateState(state, payload) {\r\n state.individualPointSettings = payload.individualPointSettings;\r\n state.individualRuleSettings = payload.individualRuleSettings;\r\n state.teamMatchesScoringType = payload.teamMatchesScoringType;\r\n state.teamPointSettings = payload.teamPointSettings;\r\n state.teamRuleSettings = payload.teamRuleSettings;\r\n\r\n state.tournamentId = payload.tournamentId;\r\n },\r\n\r\n updateIndividualPointSettings(state, payload) {\r\n state.individualPointSettings.winPoints = payload.winPoints;\r\n state.individualPointSettings.losePoints = payload.losePoints;\r\n\r\n state.teamMatchesScoringType = payload.teamMatchesScoringType;\r\n },\r\n updateTeamPointSettings(state, payload) {\r\n state.teamPointSettings.winPoints = payload.winPoints;\r\n state.teamPointSettings.losePoints = payload.losePoints;\r\n },\r\n updateTeamRuleSettings(state, payload) {\r\n state.teamRuleSettings = payload;\r\n },\r\n updateIndividualRuleSettings(state, payload) {\r\n state.individualRuleSettings = payload;\r\n },\r\n updatAreControlsDisabled(state, payload) {\r\n state.areControlsDisabled = payload;\r\n }\r\n },\r\n actions: {\r\n\r\n loadData({ commit, rootState }, payload) {\r\n\r\n const apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n axios.get(`${apiDomain}/tournament/getteamchampionshiproundrobinsettingsasync?tournamentid=${payload.tournamentId}`)\r\n .then(res => {\r\n commit('updateState', { ...res.data, tournamentId: payload.tournamentId });\r\n })\r\n .catch(e => {\r\n alert('There was error when saving the settings. Please try again or contact us on our support chat');\r\n });\r\n },\r\n\r\n updateIndividualPointSettings({ commit, state, rootState }, payload) {\r\n commit('updateIndividualPointSettings', payload);\r\n\r\n const apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n postStateToServer(state, apiDomain, commit);\r\n },\r\n updateTeamPointSettings({ commit, state, rootState }, payload) {\r\n commit('updateTeamPointSettings', payload);\r\n\r\n const apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n postStateToServer(state, apiDomain, commit);\r\n },\r\n updateTeamRuleSettings({ commit, state, rootState }, payload) {\r\n commit('updateTeamRuleSettings', payload);\r\n\r\n const apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n postStateToServer(state, apiDomain, commit);\r\n },\r\n updateIndividualRuleSettings({ commit, state, rootState }, payload) {\r\n commit('updateIndividualRuleSettings', payload);\r\n\r\n const apiDomain = rootState.nomenclatures.nomenclatures.ApiDomain;\r\n postStateToServer(state, apiDomain, commit);\r\n }\r\n },\r\n getters: {\r\n individualPointSettings(state) {\r\n return state.individualPointSettings;\r\n },\r\n individualRuleSettings(state) {\r\n return state.individualRuleSettings;\r\n },\r\n teamMatchesScoringType(state) {\r\n return state.teamMatchesScoringType;\r\n },\r\n teamPointSettings(state) {\r\n return state.teamPointSettings;\r\n },\r\n teamRuleSettings(state) {\r\n return state.teamRuleSettings;\r\n },\r\n areControlsDisabled(state) {\r\n return state.areControlsDisabled;\r\n }\r\n }\r\n};\r\n\r\n\r\n","import vue from 'vue';\r\nimport vuex from 'vuex';\r\n\r\nvue.use(vuex);\r\n\r\n// import createPersistedState from \"vuex-persistedstate\";\r\n\r\nimport drawCreatorModule from './modules/draw-creator-module';\r\nimport translationsModule from './modules/translations-module';\r\nimport nomenclaturesModule from './modules/nomenclatures-module';\r\nimport autoAddModule from './modules/auto-add-module';\r\nimport courtManagerModule from './modules/court-manager-module';\r\nimport tournamentStartModule from './modules/tournamentstart-module';\r\nimport wizardModule from './modules/wizard-module';\r\nimport tournamentSeedsModule from './modules/tournament-seeds-module';\r\nimport teamsMatchesModule from './modules/teams-matches-module';\r\nimport teamManagerModule from './modules/team-manager-module';\r\nimport teamHomepageModule from './modules/team-homepage-module';\r\nimport tournamentClassesModule from './modules/tournament-classes-module';\r\nimport tournamentPublishModule from './modules/tournament-publish-module';\r\nimport playerSettingsModule from './modules/player-settings-module';\r\nimport roundrobinSettingsModule from './modules/roundrobin-settings';\r\nimport eventIndexModule from './modules/event-index-module';\r\nimport clubLeagueIndexModule from './modules/club-league-index-module';\r\nimport teamLeagueIndexModule from './modules/teamleague-index-module';\r\nimport chatModule from './modules/chat-module';\r\nimport layoutModule from './modules/layout-module';\r\nimport organizationModule from './modules/organization-module';\r\nimport paymentModule from './modules/payment-module';\r\nimport playerProfileModule from './modules/player-profile-module';\r\nimport createAmericanoModule from './modules/create-americano-module';\r\nimport embedModalModule from './modules/embed-modal-module';\r\nimport compareSkillsModule from './modules/compare-skills-module';\r\nimport signalrNotificationsModule from './modules/signalr-notifications-module';\r\nimport searchHistoryModule from './modules/searchhistory-module';\r\nimport searchModule from './modules/search-module';\r\nimport topnavModule from './modules/topnav-module';\r\nimport uiModule from './modules/ui-module';\r\nimport breadcrumbsModule from './modules/breadcrumbs-module';\r\nimport monetizationModule from './modules/monetization-module';\r\nimport calendarModule from './modules/calendar-module';\r\nimport rinBootboxModule from './modules/rinbootbox-module';\r\nimport registerModule from './modules/register-module';\r\nimport messengerModule from './modules/messenger-module';\r\n\r\nimport teamChampionshipRRSettingsModule from './modules/teamchampionship-roundrobin-settings-module';\r\n\r\n\r\n\r\nimport VuexPersistence from 'vuex-persist';\r\n\r\nvar vuexLocal = null;\r\ntry {\r\n\tif (typeof window.localStorage !== 'undefined') {\r\n\t\tvuexLocal = new VuexPersistence({\r\n\t\t\tstorage: window.localStorage,\r\n\t\t\tmodules: ['searchHistory', 'calendar'],\r\n\t\t});\r\n\t}\r\n} catch (ex) {\r\n\tconsole.error(ex);\r\n}\r\n\r\nexport const store = new vuex.Store({\r\n\tmodules: {\r\n\t\tnomenclatures: nomenclaturesModule,\r\n\t\ttranslations: translationsModule,\r\n\t\tautoAdd: autoAddModule,\r\n\t\tcourtManager: courtManagerModule,\r\n\t\tdrawCreator: drawCreatorModule,\r\n\t\ttournamentStart: tournamentStartModule,\r\n\t\twizard: wizardModule,\r\n\t\ttournamentSeeds: tournamentSeedsModule,\r\n\t\tteamsMatches: teamsMatchesModule,\r\n\t\tteamManager: teamManagerModule,\r\n\t\tteamHomepage: teamHomepageModule,\r\n\t\ttournamentClasses: tournamentClassesModule,\r\n\t\ttournamentPublish: tournamentPublishModule,\r\n\t\troundRobinSettings: roundrobinSettingsModule,\r\n\t\tsettings: playerSettingsModule,\r\n\t\tchat: chatModule,\r\n\t\tlayout: layoutModule,\r\n\t\teventIndex: eventIndexModule,\r\n\t\tclubLeagueIndex: clubLeagueIndexModule,\r\n\t\tteamLeagueIndex: teamLeagueIndexModule,\r\n\t\torganization: organizationModule,\r\n\t\tpayment: paymentModule,\r\n\t\tplayerProfile: playerProfileModule,\r\n\t\tcreateAmericano: createAmericanoModule,\r\n\t\tembedModal: embedModalModule,\r\n\t\tcompareSkills: compareSkillsModule,\r\n\t\tsignalRNotifications: signalrNotificationsModule,\r\n\t\tsearchHistory: searchHistoryModule,\r\n\t\tsearch: searchModule,\r\n\t\tui: uiModule,\r\n\t\ttopnav: topnavModule,\r\n\t\tbreadcrumbs: breadcrumbsModule,\r\n\t\tmonetization: monetizationModule,\r\n\t\tcalendar: calendarModule,\r\n\t\trinBootbox: rinBootboxModule,\r\n\t\tregister: registerModule,\r\n\t\tteamChampionshipRRSettings: teamChampionshipRRSettingsModule,\r\n\t\tmessenger: messengerModule\r\n\t},\r\n\tplugins: vuexLocal != null ? [vuexLocal.plugin] : [],\r\n});\r\n","export default {\r\n state: {\r\n searchData: [],\r\n resultData: [],\r\n searchTeamAdminData: [],\r\n teamAdminData: [],\r\n eventModel: {\r\n endPoint: '',\r\n backUrl: '',\r\n eventId: 0,\r\n eventType: '',\r\n tournamentClassId: 0,\r\n isDoubles: false\r\n },\r\n eventModelForUserPart: {}\r\n },\r\n mutations: {\r\n updateEventModelForUserPart(state, payload) {\r\n state.eventModelForUserPart = payload;\r\n },\r\n updateSearchData(state, payload) {\r\n state.searchData = payload;\r\n },\r\n updateResultData(state, payload) {\r\n state.resultData = payload;\r\n },\r\n updateTeamAdminSearchData(state, payload) {\r\n state.searchTeamAdminData = payload;\r\n },\r\n updateTeamAdminResultData(state, payload) {\r\n state.teamAdminData = payload;\r\n },\r\n updateAutoAddEventModel(state, payload) {\r\n state.eventModel.endPoint = payload.endPoint;\r\n state.eventModel.backUrl = payload.backUrl;\r\n state.eventModel.eventId = payload.eventId;\r\n state.eventModel.eventType = payload.eventType;\r\n state.eventModel.tournamentClassId = payload.tournamentClassId;\r\n state.eventModel.isDoubles = payload.isDoubles;\r\n },\r\n moveUpParticipant(state, participantIndex) {\r\n if (participantIndex > 0) {\r\n const temp = state.resultData[participantIndex];\r\n state.resultData.splice(participantIndex, 1);\r\n state.resultData.splice(participantIndex - 1, 0, temp);\r\n\r\n for (let i = 0; i < state.resultData.length; i++) {\r\n state.resultData[i].PlayerOrder = i + 1;\r\n }\r\n }\r\n },\r\n moveDownParticipant(state, participantIndex) {\r\n if (participantIndex < state.resultData.length - 1) {\r\n const temp = state.resultData[participantIndex];\r\n state.resultData.splice(participantIndex, 1);\r\n state.resultData.splice(participantIndex + 1, 0, temp);\r\n\r\n for (let i = 0; i < state.resultData.length; i++) {\r\n state.resultData[i].PlayerOrder = i + 1;\r\n }\r\n }\r\n },\r\n changeTeamParticipantType(state, participant) {\r\n const item = state.resultData[participant.index];\r\n item.TeamParticipantType = participant.teamParticipantType;\r\n state.resultData.splice(participant.index, 1, item);\r\n }\r\n },\r\n actions: {\r\n updateSearchData: ({ commit }, payload) => {\r\n commit(\"updateSearchData\", payload);\r\n },\r\n updateResultData: ({ commit }, payload) => {\r\n commit(\"updateResultData\", payload);\r\n },\r\n updateAutoAddEventModel: ({ commit }, payload) => {\r\n commit(\"updateAutoAddEventModel\", payload);\r\n },\r\n updateEventModelForUserPart: ({ commit }, payload) => {\r\n commit(\"updateEventModelForUserPart\", payload);\r\n },\r\n updateTeamAdminSearchData: ({ commit }, payload) => {\r\n commit(\"updateTeamAdminSearchData\", payload);\r\n },\r\n updateTeamAdminResultData: ({ commit }, payload) => {\r\n commit(\"updateTeamAdminResultData\", payload);\r\n },\r\n }\r\n}","export default {\r\n namespaced: true,\r\n state: {\r\n eventState: 0,\r\n standings: [],\r\n areStandingsGenerated: false\r\n },\r\n mutations: {\r\n updateEventState(state, payload) {\r\n state.eventState = payload;\r\n },\r\n updateStandings(state, payload) {\r\n state.standings = payload;\r\n },\r\n setStandingsGenerated(state, payload) {\r\n state.areStandingsGenerated = payload;\r\n },\r\n },\r\n actions: {\r\n updateEventState: ({ commit }, payload) => {\r\n commit(\"updateEventState\", payload);\r\n },\r\n updateStandings: ({ commit }, payload) => {\r\n commit(\"updateStandings\", payload);\r\n },\r\n setStandingsGenerated: ({ commit }, payload) => {\r\n commit(\"setStandingsGenerated\", payload);\r\n }\r\n },\r\n getters: {\r\n getStandings(state) {\r\n return state.standings;\r\n },\r\n areStandingsGenerated(state) {\r\n return state.areStandingsGenerated;\r\n },\r\n eventState(state) {\r\n return state.eventState;\r\n }\r\n }\r\n}","export default {\r\n state: { \r\n players: [],\r\n teams: [],\r\n isLoading: true,\r\n tournamentClassId: 0,\r\n participantType: 1 //1 - player, 2 - team, 4 - double\r\n\r\n },\r\n mutations: {\r\n updateParticipantType(state, payload) {\r\n state.participantType = payload;\r\n },\r\n updatePlayers(state, payload) {\r\n state.players = payload;\r\n },\r\n updateIsLoading(state, payload) {\r\n state.isLoading = payload;\r\n },\r\n updateTournamentClassId(state, payload) {\r\n state.tournamentClassId = payload;\r\n },\r\n updateTeamSeeds(state, payload) {\r\n state.teams = payload;\r\n },\r\n\r\n },\r\n actions: {\r\n updateParticipantType: ({ commit }, payload) => {\r\n commit(\"updateParticipantType\", payload);\r\n },\r\n updatePlayers: ({ commit }, payload) => {\r\n commit(\"updatePlayers\", payload);\r\n },\r\n updateTeamSeeds: ({ commit }, payload) => {\r\n commit(\"updateTeamSeeds\", payload);\r\n },\r\n updateIsLoading: ({ commit }, payload) => {\r\n commit(\"updateIsLoading\", payload);\r\n },\r\n updateTournamentClassId: ({ commit }, payload) => {\r\n commit(\"updateTournamentClassId\", payload);\r\n }\r\n },\r\n getters: {\r\n tournamentClassId: state => {\r\n return state.tournamentClassId;\r\n },\r\n }\r\n}","export default {\r\n namespaced: true,\r\n state: {\r\n isInitialStateLoaded: false,\r\n\r\n isPublished: false,\r\n isPublishedMsg: false,\r\n modal: {\r\n isModalOpen: false,\r\n isLoading: false,\r\n header: '',\r\n text: '',\r\n }\r\n },\r\n mutations: {\r\n updateIsPublished(state, payload) {\r\n state.isPublished = payload;\r\n },\r\n updateIsPublishedMsg(state, payload) {\r\n state.isPublishedMsg = payload;\r\n },\r\n closePublishModal(state) {\r\n state.modal.isModalOpen = false;\r\n },\r\n setModalState(state, payload) {\r\n state.modal.isModalOpen = payload.isModalOpen;\r\n state.modal.isLoading = payload.isLoading;\r\n state.modal.header = payload.header;\r\n state.modal.text = payload.text;\r\n },\r\n setLoadingPublishState(state, payload) {\r\n state.isInitialStateLoaded = payload;\r\n }\r\n },\r\n actions: {\r\n updateIsPublished: ({ commit }, payload) => {\r\n commit(\"updateIsPublished\", payload);\r\n },\r\n updateIsPublishedMsg: ({ commit }, payload) => {\r\n commit(\"updateIsPublishedMsg\", payload);\r\n },\r\n closePublishModal: ({ commit }) => {\r\n commit('closePublishModal');\r\n },\r\n setModalState: ({ commit }, payload) => {\r\n commit('setModalState', payload);\r\n },\r\n setInitialLoadState: ({ commit }, payload) => {\r\n commit('setLoadingPublishState', payload)\r\n },\r\n },\r\n getters: {\r\n isPublished(state) {\r\n return state.isPublished;\r\n },\r\n isPublishedMsg(state) {\r\n return state.isPublishedMsg;\r\n },\r\n isInitialStateLoaded(state) {\r\n return state.isInitialStateLoaded;\r\n },\r\n publishModalState(state) {\r\n return state.modal;\r\n },\r\n }\r\n}","export default {\r\n state: {\r\n modalSettings: {},\r\n passwordChangeModel: {},\r\n settingsToggleModel: {},\r\n settingsInputModel: {}\r\n },\r\n mutations: {\r\n updateModalSettings(state, payload) {\r\n state.modalSettings = payload;\r\n },\r\n updatePasswordModel(state, payload) {\r\n state.passwordChangeModel = payload;\r\n },\r\n updateSettingsToggleModel(state, payload) {\r\n state.settingsToggleModel = payload;\r\n },\r\n updateSettingsInputModel(state, payload) {\r\n state.settingsInputModel = payload;\r\n },\r\n clearPasswordModel(state) {\r\n state.passwordChangeModel = {};\r\n }\r\n },\r\n actions: {\r\n updateModalSettings: ({ commit }, payload) => {\r\n commit(\"updateModalSettings\", payload);\r\n },\r\n updatePasswordModel: ({ commit }, payload) => {\r\n commit(\"updatePasswordModel\", payload);\r\n },\r\n updateSettingsToggleModel: ({ commit }, payload) => {\r\n commit(\"updateSettingsToggleModel\", payload);\r\n },\r\n updateSettingsInputModel: ({ commit }, payload) => {\r\n commit(\"updateSettingsInputModel\", payload);\r\n },\r\n },\r\n}","export default {\r\n state: {\r\n chatLog: {},\r\n },\r\n mutations: {\r\n updateChatLog(state, payload) {\r\n state.chatLog = payload;\r\n },\r\n \r\n },\r\n actions: {\r\n updateChatLog: ({ commit }, payload) => {\r\n commit(\"updateChatLog\", payload);\r\n },\r\n \r\n },\r\n}","export default {\r\n state: {\r\n streamsArray: [],\r\n liveMatchesInEvent: [],\r\n bookmarkType: 0,\r\n eventHeaderInfo: {},\r\n bookmark: {\r\n isFollowed: false,\r\n type: 0,\r\n eventId: 0,\r\n isLoaded: false\r\n }\r\n },\r\n mutations: {\r\n updateEventState(state, payload) {\r\n state.eventHeaderInfo.EventState = payload;\r\n },\r\n updateStreamsArray(state, payload) {\r\n state.streamsArray = payload;\r\n },\r\n updateLiveMatches(state, payload) {\r\n state.liveMatchesInEvent = payload;\r\n },\r\n updateStreamingPlanned(state, payload) {\r\n state.eventHeaderInfo.IsStreamingPlanned = payload;\r\n },\r\n updateEventSport(state, payload) {\r\n state.eventHeaderInfo.Sport = payload;\r\n },\r\n updateEventNameRouting(state, payload) {\r\n state.eventHeaderInfo.EventNameRouting = payload;\r\n },\r\n updateEventHeaderInfo(state, payload) {\r\n state.eventHeaderInfo = payload;\r\n },\r\n updateBookmarkType(state, payload) {\r\n state.updateBookmarkType = payload;\r\n },\r\n updateIsFollowed(state, payload) {\r\n state.bookmark = payload;\r\n state.bookmark.isLoaded = true;\r\n }\r\n },\r\n actions: {\r\n updateEventState: ({ commit }, payload) => {\r\n commit(\"updateEventState\", payload);\r\n },\r\n updateStreamsArray: ({ commit }, payload) => {\r\n commit(\"updateStreamsArray\", payload);\r\n },\r\n updateLiveMatches: ({ commit }, payload) => {\r\n commit(\"updateLiveMatches\", payload);\r\n },\r\n updateStreamingPlanned: ({ commit }, payload) => {\r\n commit(\"updateStreamingPlanned\", payload);\r\n },\r\n updateEventSport: ({ commit }, payload) => {\r\n commit(\"updateEventSport\", payload);\r\n },\r\n updateEventNameRouting: ({ commit }, payload) => {\r\n commit(\"updateEventNameRouting\", payload);\r\n },\r\n updateEventHeaderInfo: ({ commit }, payload) => {\r\n commit(\"updateEventHeaderInfo\", payload);\r\n },\r\n updateBookmarkType: ({ commit }, payload) => {\r\n commit(\"updateBookmarkType\", payload);\r\n },\r\n updateIsFollowed: ({ commit }, payload) => {\r\n commit(\"updateIsFollowed\", payload);\r\n },\r\n },\r\n getters: {\r\n eventHeaderEventName(state) {\r\n return state.eventHeaderInfo.Name;\r\n },\r\n eventIndex: (state) => state,\r\n }\r\n}","export default {\r\n state: {\r\n eventState: 0,\r\n eventName: '',\r\n isInRole: false,\r\n },\r\n mutations: {\r\n updateClubLeagueEventState(state, payload) {\r\n state.eventState = payload;\r\n },\r\n updateClubLeagueEventName(state, payload) {\r\n state.eventName = payload;\r\n },\r\n updateClubLeagueIsInRole(state, payload) {\r\n state.isInRole = payload;\r\n }\r\n },\r\n actions: {\r\n updateClubLeagueEventState: ({ commit }, payload) => {\r\n commit(\"updateClubLeagueEventState\", payload);\r\n },\r\n updateClubLeagueIsInRole: ({ commit }, payload) => {\r\n commit(\"updateClubLeagueIsInRole\", payload);\r\n },\r\n updateClubLeagueEventName: ({ commit }, payload) => {\r\n commit(\"updateClubLeagueEventName\", payload);\r\n }\r\n },\r\n}","export default {\r\n state: {\r\n eventName: ''\r\n },\r\n mutations: {\r\n updateTeamLeagueEventName(state, payload) {\r\n state.eventName = payload;\r\n },\r\n },\r\n actions: {\r\n updateTeamLeagueEventName: ({ commit }, payload) => {\r\n commit(\"updateTeamLeagueEventName\", payload);\r\n }\r\n },\r\n}","export default {\r\n state: {\r\n model: {}\r\n },\r\n mutations: {\r\n updateOrganistionModel(state, payload) {\r\n state.model = payload;\r\n }\r\n },\r\n actions: {\r\n updateOrganistionModel: ({ commit }, payload) => {\r\n commit(\"updateOrganistionModel\", payload);\r\n }\r\n }\r\n}","export default {\r\n state: {\r\n step: 0,\r\n steps: {\r\n review: 1,\r\n checkout: 2\r\n },\r\n request: {\r\n tournamentId: 0,\r\n tournamentClassId: 0,\r\n teamleagueId: 0,\r\n participantToJoinId: 0,\r\n eventName: '',\r\n teamleagueProductId : 0\r\n },\r\n review: {\r\n OrderID: '',\r\n Description: '',\r\n Products: []\r\n },\r\n checkout: {\r\n ExternalId: '',\r\n ClientExternalId: '',\r\n PublishableKey: ''\r\n }\r\n },\r\n mutations: {\r\n\r\n updateCheckoutStep(state, payload) {\r\n state.step = payload;\r\n },\r\n\r\n updateReviewModel(state, payload) {\r\n state.review = payload;\r\n },\r\n\r\n updateCheckoutModel(state, payload) {\r\n state.checkout = payload;\r\n },\r\n\r\n updateRequestModel(state, payload) {\r\n state.request = payload;\r\n }\r\n },\r\n actions: {\r\n\r\n },\r\n getters: {\r\n payment: state => state,\r\n isDoubledQuantityEntryFee: state => state.review.Products.length > 0 && state.review.Products[0].Quantity > 1,\r\n isReviewVisible: state => state.step >= state.steps.review,\r\n isCheckoutVisible: state => state.step === state.steps.checkout,\r\n\r\n }\r\n}","export default {\r\n\tstate: {\r\n\t\tisOwnProfile: false,\r\n\t\tisDonated: false,\r\n\t\trating: {},\r\n\t\tplayerIdForCurrentProfile: 0,\r\n\t\tcurrentRating: 0,\r\n\t\topponentsTab: {\r\n\t\t\texcludedPlayersFromSearch: [],\r\n\t\t},\r\n\t},\r\n\tmutations: {\r\n\t\tupdateExcludedPlayersFromSearch(state, payload) {\r\n\t\t\tstate.opponentsTab.excludedPlayersFromSearch = payload;\r\n\t\t},\r\n\t\tupdateIsOwnProfile(state, payload) {\r\n\t\t\tstate.isOwnProfile = payload;\r\n\t\t},\r\n\t\tupdateIsDonated(state, payload) {\r\n\t\t\tstate.isDonated = payload;\r\n\t\t},\r\n\t\tupdateRating(state, payload) {\r\n\t\t\tstate.rating = payload;\r\n\t\t},\r\n\t\tupdateplayerIdForCurrentProfile(state, payload) {\r\n\t\t\tstate.playerIdForCurrentProfile = payload;\r\n\t\t},\r\n\t\tupdateCurrentRating(state, payload) {\r\n\t\t\tstate.currentRating = payload;\r\n\t\t},\r\n\t},\r\n\tactions: {\r\n\t\tupdateIsOwnProfile: ({ commit }, payload) => {\r\n\t\t\tcommit('updateIsOwnProfile', payload);\r\n\t\t},\r\n\t\tupdateRating: ({ commit }, payload) => {\r\n\t\t\tcommit('updateRating', payload);\r\n\t\t},\r\n\t\tupdateIsDonated: ({ commit }, payload) => {\r\n\t\t\tcommit('updateIsDonated', payload);\r\n\t\t},\r\n\t\tupdateplayerIdForCurrentProfile: ({ commit }, payload) => {\r\n\t\t\tcommit('updateplayerIdForCurrentProfile', payload);\r\n\t\t},\r\n\t\tupdateCurrentRating: ({ commit }, payload) => {\r\n\t\t\tcommit('updateCurrentRating', payload);\r\n\t\t},\r\n\t\tupdateExcludedPlayersFromSearch: ({ commit }, payload) => {\r\n\t\t\tcommit('updateExcludedPlayersFromSearch', payload);\r\n\t\t},\r\n\t},\r\n\tgetters: {\r\n\t\trating(state) {\r\n\t\t\treturn state.rating;\r\n\t\t},\r\n\t\tcurrentRating(state) {\r\n\t\t\treturn state.currentRating;\r\n\t\t},\r\n\t},\r\n};\r\n","export default {\r\n state: {\r\n name: '',\r\n points: 0,\r\n clubId: null,\r\n clubName: '',\r\n\r\n clubCity: '',\r\n clubCountry: '',\r\n countryShort: '',\r\n\r\n isAdmin: false,\r\n selectedPlayers: [],\r\n\r\n isNameStepVisible: true,\r\n isPointsStepVisible: false,\r\n isPlayersStepVisible: false,\r\n \r\n },\r\n mutations: {\r\n updateName(state, payload) {\r\n state.name = payload;\r\n },\r\n\r\n updatePoints(state, payload) {\r\n state.points = payload;\r\n },\r\n\r\n updateHomeClub(state, payload) {\r\n state.clubId = payload.id;\r\n state.clubName = payload.name;\r\n state.isAdmin = payload.isAdmin;\r\n state.clubCountry = payload.country;\r\n state.clubCity = payload.city;\r\n state.countryShort = payload.countryShort;\r\n },\r\n\r\n setNameStepVisible(state) {\r\n state.isNameStepVisible = true;\r\n state.isPointsStepVisible = false;\r\n state.isPlayersStepVisible = false;\r\n },\r\n\r\n setPointsStepVisible(state) {\r\n state.isNameStepVisible = false;\r\n state.isPointsStepVisible = true;\r\n state.isPlayersStepVisible = false;\r\n },\r\n\r\n setPlayersStepVisible(state) {\r\n state.isNameStepVisible = false;\r\n state.isPointsStepVisible = false;\r\n state.isPlayersStepVisible = true;\r\n },\r\n\r\n addPlayer(state, payload) {\r\n state.selectedPlayers.push(payload);\r\n },\r\n\r\n removePlayer(state, paylaod) {\r\n const index = state.selectedPlayers.indexOf(paylaod);\r\n if (index > -1) {\r\n state.selectedPlayers.splice(index, 1);\r\n }\r\n },\r\n\r\n clear(state) {\r\n state.selectedPlayers = [];\r\n state.name = '';\r\n state.clubId = null;\r\n state.clubName = '';\r\n state.points = 0;\r\n state.isAdmin = false;\r\n\r\n state.isNameStepVisible = true;\r\n state.isPointsStepVisible = false;\r\n state.isPlayersStepVisible = false;\r\n }\r\n },\r\n actions: {\r\n setAmericanoName: ({ commit }, payload) => {\r\n commit(\"updateName\", payload);\r\n },\r\n\r\n setAmericanoPoints: ({ commit }, payload) => {\r\n commit(\"updatePoints\", payload);\r\n },\r\n\r\n setAmericanoHomeClub: ({ commit }, payload) => {\r\n commit(\"updateHomeClub\", payload);\r\n },\r\n\r\n setAmericanoNameStepVisible: ({ commit }) => {\r\n commit(\"setNameStepVisible\");\r\n },\r\n\r\n setAmericanoPointsStepVisible: ({ commit }) => {\r\n commit(\"setPointsStepVisible\");\r\n },\r\n\r\n setAmericanoPlayersStepVisible: ({ commit }) => {\r\n commit(\"setPlayersStepVisible\");\r\n },\r\n\r\n addAmericanoPlayer: ({ commit }, payload) => {\r\n commit(\"addPlayer\", payload);\r\n },\r\n\r\n removeAmericanoPlayer: ({ commit }, payload) => {\r\n commit(\"removePlayer\", payload);\r\n },\r\n\r\n clearAmericanoState: ({ commit }) => {\r\n commit(\"clear\");\r\n },\r\n }\r\n}","export default {\r\n state: {\r\n controller: '',\r\n action: '',\r\n id: '',\r\n embedType: '',\r\n fullPath: '',\r\n\r\n colorHex: '',\r\n },\r\n mutations: {\r\n\r\n updateParameters(state, payload) {\r\n state.controller = payload.controller;\r\n state.action = payload.action;\r\n state.id = payload.id;\r\n state.embedType = payload.embedType;\r\n state.fullPath = payload.fullPath;\r\n\r\n // for setting default color\r\n state.colorHex = payload.colorHex;\r\n },\r\n\r\n updateColorHex(state, payload) {\r\n state.colorHex = payload;\r\n }\r\n },\r\n actions: {\r\n\r\n updateEmbedModalParameters: ({ commit }, payload) => {\r\n commit(\"updateParameters\", payload);\r\n },\r\n\r\n updateEmbedModalColorHex: ({ commit }, payload) => {\r\n commit(\"updateColorHex\", payload);\r\n },\r\n },\r\n}","export default {\r\n state: {\r\n idsForCompare: [],\r\n ratingId: 0\r\n },\r\n mutations: {\r\n addId(state, payload) {\r\n const index = state.idsForCompare.findIndex(x => x == payload);\r\n if (index < 0)\r\n state.idsForCompare.push(payload);\r\n },\r\n clearIDsForCompare(state) {\r\n state.idsForCompare = [];\r\n },\r\n removeId(state, payload) {\r\n const index = state.idsForCompare.findIndex(x => x == payload);\r\n if (index >= 0)\r\n state.idsForCompare.splice(index, 1);\r\n },\r\n setRatingId(state, payload) {\r\n state.ratingId = payload;\r\n }\r\n },\r\n actions: {\r\n addPlayerForRatingCompare: ({ commit }, payload) => {\r\n commit(\"addId\", payload);\r\n },\r\n removePlayerForRatingCompare: ({ commit }, payload) => {\r\n commit(\"removeId\", payload);\r\n },\r\n setRatingForCompare: ({ commit }, payload) => {\r\n commit(\"setRatingId\", payload);\r\n },\r\n clearIdsForCompare: ({ commit }) => {\r\n commit(\"clearIDsForCompare\");\r\n },\r\n },\r\n}","export default {\r\n state: {\r\n notificationsCount: {}\r\n },\r\n mutations: {\r\n updatenotificationsCount(state, payload) {\r\n state.notificationsCount = payload;\r\n }\r\n },\r\n actions: {\r\n updatenotificationsCount: ({ commit }, payload) => {\r\n commit(\"updatenotificationsCount\", payload);\r\n }\r\n },\r\n}","export default {\r\n\tnamespaced: true,\r\n\tstate: {\r\n\t\thistory: [],\r\n\t},\r\n\tmutations: {\r\n\t\tsetHistory(state, payload) {\r\n\t\t\tconst clean = state.history.filter(x => x.route.name != payload.route.name || x.route.params.id != payload.route.params.id);\r\n\t\t\tclean.unshift(payload);\r\n\t\t\tstate.history = clean.slice(0, 10);\r\n\t\t},\r\n\t\tremoveAll(state){\r\n\t\t\tstate.history = [];\r\n\t\t},\r\n\t\tremoveHistory(state, payload){\r\n\t\t\tconst index = state.history.findIndex(x => x.route.name == payload.route.name && x.route.params.id == payload.route.params.id);\r\n\t\t\tif(index >= 0)\r\n\t\t\t\tstate.history.splice(index, 1);\r\n\t\t}\r\n\t},\r\n\tactions: {\r\n\t\tsetHistory: ({ commit }, payload) => {\r\n\t\t\tcommit('setHistory', payload);\r\n\t\t}\r\n\t},\r\n\tgetters: {\r\n\t\thistory(state) {\r\n\t\t\treturn state.history;\r\n\t\t},\r\n\t},\r\n};","export default {\r\n\tnamespaced: true,\r\n\tstate: {\r\n\t\tplayerProfileBreadcrumbs: {},\r\n\t\ttournamentBreadcrumbs: {},\r\n\t\tclubLeagueBreadcrumbs: {},\r\n\t\tteamLeagueBreadcrumbs: {},\r\n\t\torganisationBreadcrumbs: {},\r\n\t},\r\n\tmutations: {\r\n\t\tresetAllBreadcrumbs(state) {\r\n\t\t\tstate.playerProfileBreadcrumbs = {};\r\n\t\t\tstate.tournamentBreadcrumbs = {};\r\n\t\t\tstate.clubLeagueBreadcrumbs = {};\r\n\t\t\tstate.teamLeagueBreadcrumbs = {};\r\n\t\t\tstate.organisationBreadcrumbs = {};\r\n\t\t},\r\n\t\tsetBreadcrumb(state, payload) {\r\n\t\t\tif (payload?.bc[0]?.mapTo) {\r\n\t\t\t\t//the first record is going to be the abstract parent which will have to be renamed via another mutation\r\n\t\t\t\tthis.commit(`breadcrumbs/set${payload.bc[0].mapTo}`, payload);\r\n\t\t\t}\r\n\t\t},\r\n\t\tsetPlayerProfileBreadcrumb(state, payload) {\r\n\t\t\tstate.playerProfileBreadcrumbs = payload;\r\n\t\t},\r\n\t\tsetTournamentBreadcrumbs(state, payload) {\r\n\t\t\tstate.tournamentBreadcrumbs = payload;\r\n\t\t},\r\n\t\tsetClubLeagueBreadcrumbs(state, payload) {\r\n\t\t\tstate.clubLeagueBreadcrumbs = payload;\r\n\t\t},\r\n\t\tsetTeamLeagueBreadcrumbs(state, payload) {\r\n\t\t\tstate.teamLeagueBreadcrumbs = payload;\r\n\t\t},\r\n\t\tsetOrganisationBreadcrumbs(state, payload) {\r\n\t\t\tstate.organisationBreadcrumbs = payload;\r\n\t\t},\r\n\t\tsetFeatureBreadcrumb(state, payload) {\r\n\t\t\tif (state.tournamentBreadcrumbs.bc && payload.feature === 'Tournament') {\r\n\t\t\t\tstate.tournamentBreadcrumbs.bc[0].value = payload.value;\r\n\t\t\t} else if (state.clubLeagueBreadcrumbs.bc && payload.feature === 'Clubleague') {\r\n\t\t\t\tstate.clubLeagueBreadcrumbs.bc[0].value = payload.value;\r\n\t\t\t} else if (state.teamLeagueBreadcrumbs.bc && payload.feature === 'Teamleague') {\r\n\t\t\t\tstate.teamLeagueBreadcrumbs.bc[0].value = payload.value;\r\n\t\t\t\tstate.teamLeagueBreadcrumbs.bc[0].params.id = payload.id;\r\n\t\t\t} else if (state.playerProfileBreadcrumbs.bc && payload.feature === 'PlayerProfile') {\r\n\t\t\t\tstate.playerProfileBreadcrumbs.bc[0].value = payload.value;\r\n\t\t\t} else if (state.organisationBreadcrumbs.bc && payload.feature === 'Organisation') {\r\n\t\t\t\tstate.organisationBreadcrumbs.bc[0].value = payload.value;\r\n\t\t\t}\r\n\t\t},\r\n\t},\r\n\tgetters: {\r\n\t\tgetPlayerProfileBreadcrumbs(state) {\r\n\t\t\tconst bc = state.playerProfileBreadcrumbs.bc ?? [];\r\n\r\n\t\t\treturn bc.map(v => {\r\n\t\t\t\treturn {\r\n\t\t\t\t\tdescription: v.value,\r\n\t\t\t\t\tname: v.name,\r\n\t\t\t\t\tparams: v.params,\r\n\t\t\t\t\tquery: v.query\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\r\n\t\tgetTournamentBreadcrumbs(state) {\r\n\t\t\tconst bc = state.tournamentBreadcrumbs.bc ?? [];\r\n\r\n\t\t\treturn bc.map(v => {\r\n\t\t\t\treturn {\r\n\t\t\t\t\tdescription: v.value,\r\n\t\t\t\t\tname: v.name,\r\n\t\t\t\t\tparams: v.params,\r\n\t\t\t\t\tquery: v.query\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\r\n\t\tgetClubLeagueBreadcrumbs(state) {\r\n\t\t\tconst bc = state.clubLeagueBreadcrumbs.bc ?? [];\r\n\r\n\t\t\treturn bc.map(v => {\r\n\t\t\t\treturn {\r\n\t\t\t\t\tdescription: v.value,\r\n\t\t\t\t\tname: v.name,\r\n\t\t\t\t\tparams: v.params,\r\n\t\t\t\t\tquery: v.query\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\r\n\t\tgetTeamLeagueBreadcrumbs(state) {\r\n\t\t\tconst bc = state.teamLeagueBreadcrumbs.bc ?? [];\r\n\r\n\t\t\treturn bc.map(v => {\r\n\t\t\t\treturn {\r\n\t\t\t\t\tdescription: v.value,\r\n\t\t\t\t\tname: v.name,\r\n\t\t\t\t\tparams: v.params,\r\n\t\t\t\t\tquery: v.query\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\r\n\t\tgetOrganisationBreadcrumbs(state) {\r\n\t\t\tconst bc = state.organisationBreadcrumbs.bc ?? [];\r\n\r\n\t\t\treturn bc.map(v => {\r\n\t\t\t\treturn {\r\n\t\t\t\t\tdescription: v.value,\r\n\t\t\t\t\tname: v.name,\r\n\t\t\t\t\tparams: v.params,\r\n\t\t\t\t\tquery: v.query\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},\r\n\t},\r\n};\r\n","export default {\r\n\tnamespaced: true,\r\n\tstate: {\r\n\t\tselectedFilters: {},\r\n\t},\r\n\tmutations: {\r\n\t\tupdateSelectedFilters(state, payload) {\r\n\t\t\tstate.selectedFilters = payload;\r\n\t\t},\r\n\t},\r\n\tactions: {},\r\n\tgetters: {\r\n\t\tgetSelectedFilters(state) {\r\n\t\t\treturn state.selectedFilters;\r\n\t\t},\r\n\t},\r\n};\r\n","import spaEventBus from \"@/app/eventBus\";\r\n\r\nexport const INIT_TOURNAMENT_MATCHES = 'initTournamentMatches';\r\nexport const INIT_CLUBLEAGUE_MATCHES = 'initClubLeagueMatches';\r\n\r\nexport const GET_RR_STANDINGS_SETTINGS_ASYNC = 'getRRStandingsSettingsAsync';\r\n\r\nexport const SET_IS_LOADING_STANDINGS_SETTINGS = 'setIsLoadingStandingsSettings';\r\nexport const SET_IS_LOADED_STANDINGS_SETTINGS = 'setIsLoadedStandingsSettings';\r\nexport const SET_STANDINGS_SETTINGS = 'setStandingsSettings';\r\n\r\nexport default {\r\n namespaced: true,\r\n state: {\r\n isSavingChangesCount: 0,\r\n clubLeagueId: null, \r\n teamLeagueId: null,\r\n tournamentId: null,\r\n repositories: null,\r\n\r\n tournament: {\r\n id: 0,\r\n classId: 0,\r\n model: {}\r\n },\r\n club_league: {\r\n id: 0,\r\n },\r\n language_code: 'en',\r\n event_type: null,\r\n is_loading_standings_settings: false,\r\n is_loaded_standings_settings: false,\r\n standings_standings: {},\r\n },\r\n getters: {\r\n isSavingChanges(state) {\r\n return state.isSavingChangesCount > 0;\r\n },\r\n\r\n standingsSettings: state =>\r\n state.standings_standings,\r\n\r\n isLoadingStandingsSettings: state =>\r\n state.is_loading_standings_settings,\r\n\r\n isLoadedStandingsSettings: state =>\r\n state.is_loaded_standings_settings,\r\n },\r\n mutations: {\r\n setTeamLeagueId(state, payload) {\r\n state.teamLeagueId = payload;\r\n },\r\n setClubLeagueId(state, payload) {\r\n state.clubLeagueId = payload;\r\n },\r\n setTournamentId(state, payload) {\r\n state.tournamentId = payload;\r\n },\r\n saveChangesBegin(state) {\r\n state.isSavingChangesCount++;\r\n },\r\n saveChangesFinished(state) {\r\n if (state.isSavingChangesCount > 0) {\r\n state.isSavingChangesCount--;\r\n if (state.isSavingChangesCount === 0) {\r\n spaEventBus.$emit('saveChangesFinished');\r\n }\r\n }\r\n },\r\n [INIT_TOURNAMENT_MATCHES]: (state, config) => {\r\n state.repositories = config.repositories;\r\n state.tournament.id = config.tournamentId;\r\n state.tournament.classId = config.tournamentClassId;\r\n state.language_code = config.languageCode;\r\n state.event_type = config.eventType;\r\n },\r\n [INIT_CLUBLEAGUE_MATCHES]: (state, config) => {\r\n state.repositories = config.repositories;\r\n state.club_league.id = config.clubLeagueId;\r\n state.language_code = config.languageCode;\r\n state.event_type = config.eventType;\r\n }, \r\n [SET_IS_LOADING_STANDINGS_SETTINGS]: (state, payload) => {\r\n state.is_loading_standings_settings = payload;\r\n },\r\n [SET_STANDINGS_SETTINGS]: (state, payload) => {\r\n state.standings_standings = payload;\r\n },\r\n [SET_IS_LOADED_STANDINGS_SETTINGS]: (state, payload) => {\r\n state.is_loaded_standings_settings = payload;\r\n }\r\n },\r\n actions: {\r\n [GET_RR_STANDINGS_SETTINGS_ASYNC]: ({ state, commit, rootState }) => {\r\n commit(SET_IS_LOADED_STANDINGS_SETTINGS, false);\r\n commit(SET_IS_LOADING_STANDINGS_SETTINGS, true);\r\n\r\n const repository = state.repositories.roundrobin;\r\n let getSettingsAsync;\r\n if (state.event_type === rootState.nomenclatures.nomenclatures.EventTypes.ClubLeague) {\r\n getSettingsAsync = repository.getClubLeagueStandingsSettingsAsync(state.club_league.id);\r\n } else {\r\n getSettingsAsync = repository.getTournamentStandingsSettingsAsync(state.tournament.id, state.tournament.classId);\r\n }\r\n\r\n return getSettingsAsync\r\n .then(response => {\r\n commit(SET_IS_LOADED_STANDINGS_SETTINGS, true);\r\n commit(SET_STANDINGS_SETTINGS, response);\r\n })\r\n .catch(error => {\r\n return Promise.reject(error);\r\n })\r\n .finally(() => {\r\n commit(SET_IS_LOADING_STANDINGS_SETTINGS, false);\r\n });\r\n }\r\n }\r\n};","export default {\r\n\r\n getIcon(drawType) {\r\n let result = this.data.find(x => x.drawType === drawType);\r\n return result.icon;\r\n },\r\n\r\n getName(drawType) {\r\n let result = this.data.find(x => x.drawType === drawType);\r\n return result.name;\r\n },\r\n\r\n data: [\r\n {\r\n drawType: 1,\r\n selected: false,\r\n name: \"Round robin\",\r\n icon: \"https://rankedin.blob.core.windows.net/images/draws/single-2x/RANKEDIN-Icons-02.png\"\r\n },\r\n {\r\n drawType: 2,\r\n selected: false,\r\n name: \"Monrad\",\r\n icon: \"https://rankedin.blob.core.windows.net/images/draws/single-2x/RANKEDIN-Icons-08.png\"\r\n },\r\n {\r\n drawType: 11,\r\n selected: false,\r\n name: \"Qualification draw\",\r\n icon: \"https://rankedin.blob.core.windows.net/images/draws/single-2x/RANKEDIN-Icons-06.png\"\r\n },\r\n {\r\n drawType: 3,\r\n selected: false,\r\n name: \"Elimination draw\",\r\n icon: \"https://rankedin.blob.core.windows.net/images/draws/single-2x/RANKEDIN-Icons_elimination.png\"\r\n },\r\n {\r\n drawType: 12,\r\n selected: false,\r\n name: \"Multi round robin\",\r\n icon: \"https://rankedin.blob.core.windows.net/images/draws/single-1x/multi_RR.png\"\r\n }\r\n ]\r\n};","export default {\r\n namespaced: true,\r\n state: {\r\n shown: false,\r\n closeButton: false,\r\n okButton: false,\r\n okText: '',\r\n title: '',\r\n body: '',\r\n bodyhtml: '',\r\n successCb: null,\r\n closeCb: null\r\n },\r\n mutations: {\r\n alert(state, payload) {\r\n state.shown = true;\r\n state.closeButton = true;\r\n state.okButton = false;\r\n state.okText = '';\r\n\r\n state.title = payload.title;\r\n state.body = payload.body;\r\n state.bodyhtml = payload.bodyhtml;\r\n },\r\n confirm(state, payload) {\r\n state.shown = true;\r\n state.closeButton = true;\r\n state.okButton = true;\r\n state.title = payload.title;\r\n state.body = payload.body;\r\n state.bodyhtml = payload.bodyhtml;\r\n state.okText = payload.successText;\r\n state.successCb = payload.successCb;\r\n state.closeCb = payload.closeCb;\r\n },\r\n close(state) {\r\n state.shown = false;\r\n state.closeButton = false;\r\n state.okButton = false;\r\n state.title = '';\r\n state.body = '';\r\n state.okText = '';\r\n state.successCb = null;\r\n state.closeCb = null;\r\n }\r\n },\r\n actions: {\r\n show({ commit }, payload) {\r\n if (payload.alert) {\r\n commit(\"alert\", payload);\r\n } else if (payload.confirm) {\r\n commit('confirm', payload);\r\n }\r\n },\r\n close({ commit }) {\r\n commit('close')\r\n }\r\n },\r\n getters: {\r\n isShown(state) {\r\n return state.shown;\r\n },\r\n title(state) {\r\n return state.title;\r\n },\r\n body(state) {\r\n return state.body;\r\n },\r\n bodyhtml(state) {\r\n return state.bodyhtml;\r\n },\r\n hasSuccessButton(state) {\r\n return state.okButton;\r\n },\r\n closeCb(state) {\r\n return state.closeCb;\r\n },\r\n successCb(state) {\r\n return state.successCb;\r\n },\r\n successText(state) {\r\n return state.okText;\r\n }\r\n }\r\n};\r\n","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"\\n.cookie-alert[data-v-113b0ac5] {\\n z-index: 100;\\n /*2147483647;*/\\n border-radius: 0;\\n position: fixed;\\n bottom: 0;\\n width: 100%;\\n margin-bottom: 0\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// style-loader: Adds some css to the DOM by adding a ","import mod from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./layout-create-event-modals.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./layout-create-event-modals.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./layout-create-event-modals.vue?vue&type=template&id=ae49b3d2&scoped=true\"\nimport script from \"./layout-create-event-modals.vue?vue&type=script&lang=js\"\nexport * from \"./layout-create-event-modals.vue?vue&type=script&lang=js\"\nimport style0 from \"./layout-create-event-modals.vue?vue&type=style&index=0&id=ae49b3d2&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ae49b3d2\",\n null\n \n)\n\nexport default component.exports","var render = function render() {\n var _vm = this,\n _c = _vm._self._c\n return _c(\n \"div\",\n {\n staticClass: \"modal fade\",\n attrs: { tabindex: \"-1\", role: \"dialog\", id: \"modal-enter-results\" },\n },\n [\n _c(\"div\", { staticClass: \"modal-dialog\", attrs: { role: \"document\" } }, [\n _c(\"div\", { staticClass: \"modal-content\" }, [\n _c(\"div\", { staticClass: \"modal-header\" }, [\n _c(\"p\", [\n _c(\"strong\", [\n _vm._v(\n _vm._s(\n _vm.translations[\"shared_MatchesListPartial_EnterResults\"]\n )\n ),\n ]),\n _vm._v(\" \"),\n _c(\"span\", {\n staticClass: \"sport-icon\",\n class: _vm.sportCSSClass + \" fa-2x\",\n }),\n ]),\n _vm._v(\" \"),\n _vm._m(0),\n ]),\n _vm._v(\" \"),\n !_vm.isLoading\n ? _c(\"div\", { staticClass: \"modal-body\" }, [\n _c(\"form\", { attrs: { id: \"modal-form-enter-result\" } }, [\n _c(\"div\", { staticClass: \"row jcb aie\" }, [\n _c(\n \"div\",\n { staticClass: \"col col-5 form-group text-center\" },\n [\n _c(\"label\", { attrs: { for: \"player1\" } }, [\n _vm._v(\n _vm._s(_vm.participant1Name) +\n \" \" +\n _vm._s(_vm.firstPositionWinState)\n ),\n ]),\n _vm._v(\" \"),\n _c(\"input\", {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.isCancellationType,\n expression: \"!isCancellationType\",\n },\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.firstPlayerScore,\n expression: \"firstPlayerScore\",\n },\n ],\n class: {\n required:\n _vm.validation.gamesAndSetsMismatch ||\n (!_vm.isValidSetGameFields &&\n _vm.validation.participantScoresChanged),\n },\n attrs: {\n id: \"firstPlayerScore\",\n type: \"number\",\n min: \"0\",\n max: \"5\",\n oninput: \"validity.valid||(value='');\",\n },\n domProps: { value: _vm.firstPlayerScore },\n on: {\n input: function ($event) {\n if ($event.target.composing) return\n _vm.firstPlayerScore = $event.target.value\n },\n },\n }),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass:\n \"dropdown col col-2 text-center opt opt-result\",\n },\n [\n _c(\n \"a\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.isTournament || _vm.isTeamLeague,\n expression: \"isTournament || isTeamLeague\",\n },\n ],\n attrs: {\n href: \"#\",\n role: \"button\",\n id: \"result-option\",\n \"data-toggle\": \"dropdown\",\n \"aria-haspopup\": \"true\",\n \"aria-expanded\": \"false\",\n },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.resultOptionText) +\n \" \"\n ),\n _c(\"div\", { staticClass: \"icon icon-v small\" }),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass: \"dropdown-menu optMenu\",\n attrs: { \"aria-labelledby\": \"result-option\" },\n },\n [\n _c(\n \"a\",\n {\n class: { active: _vm.cancellationTypeId === 2 },\n attrs: { href: \"#\", \"data-toggle\": \"collapse\" },\n on: {\n click: function ($event) {\n return _vm.setCancellation(2)\n },\n },\n },\n [_vm._v(\"W.O\")]\n ),\n _vm._v(\" \"),\n _c(\n \"a\",\n {\n class: { active: _vm.cancellationTypeId === 4 },\n attrs: { href: \"#\", \"data-toggle\": \"collapse\" },\n on: {\n click: function ($event) {\n return _vm.setCancellation(4)\n },\n },\n },\n [_vm._v(\"Ret.\")]\n ),\n _vm._v(\" \"),\n _c(\n \"a\",\n {\n class: { active: _vm.cancellationTypeId === 3 },\n attrs: { href: \"#\", \"data-toggle\": \"collapse\" },\n on: {\n click: function ($event) {\n return _vm.setCancellation(3)\n },\n },\n },\n [_vm._v(\"Dis.\")]\n ),\n _vm._v(\" \"),\n _vm.isCancellationType\n ? _c(\n \"a\",\n {\n staticClass: \"reset-canecllation-href\",\n attrs: {\n href: \"#\",\n \"data-toggle\": \"collapse\",\n },\n on: {\n click: function ($event) {\n return _vm.setCancellation(null)\n },\n },\n },\n [\n _vm._v(\n _vm._s(\n _vm.translations[\"drawsStep_Clear\"]\n ) + \" \"\n ),\n ]\n )\n : _vm._e(),\n ]\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"col col-5 form-group text-center\" },\n [\n _c(\"label\", { attrs: { for: \"player2\" } }, [\n _vm._v(\n _vm._s(_vm.participant2Name) +\n \" \" +\n _vm._s(_vm.secondPositionWinState)\n ),\n ]),\n _vm._v(\" \"),\n !_vm.isCancellationType\n ? _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.secondPlayerScore,\n expression: \"secondPlayerScore\",\n },\n ],\n staticClass: \"player\",\n class: {\n required:\n _vm.validation.gamesAndSetsMismatch ||\n (!_vm.isValidSetGameFields &&\n _vm.validation.participantScoresChanged),\n },\n attrs: {\n id: \"secondPlayerScore\",\n type: \"number\",\n min: \"0\",\n max: \"5\",\n oninput: \"validity.valid||(value='');\",\n },\n domProps: { value: _vm.secondPlayerScore },\n on: {\n input: function ($event) {\n if ($event.target.composing) return\n _vm.secondPlayerScore = $event.target.value\n },\n },\n })\n : _vm._e(),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.isCancellationType,\n expression: \"!isCancellationType\",\n },\n ],\n staticClass: \"col col-12 form-check detailedScoring\",\n },\n [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.shouldShow.showExtendedScores,\n expression: \"shouldShow.showExtendedScores\",\n },\n ],\n staticClass: \"form-check-input\",\n attrs: {\n type: \"checkbox\",\n id: \"detailedScoring\",\n href: \"javascript:;\",\n role: \"button\",\n },\n domProps: {\n checked: Array.isArray(\n _vm.shouldShow.showExtendedScores\n )\n ? _vm._i(\n _vm.shouldShow.showExtendedScores,\n null\n ) > -1\n : _vm.shouldShow.showExtendedScores,\n },\n on: {\n click: function ($event) {\n return _vm.toggleExtendedScoring()\n },\n change: function ($event) {\n var $$a = _vm.shouldShow.showExtendedScores,\n $$el = $event.target,\n $$c = $$el.checked ? true : false\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v)\n if ($$el.checked) {\n $$i < 0 &&\n _vm.$set(\n _vm.shouldShow,\n \"showExtendedScores\",\n $$a.concat([$$v])\n )\n } else {\n $$i > -1 &&\n _vm.$set(\n _vm.shouldShow,\n \"showExtendedScores\",\n $$a\n .slice(0, $$i)\n .concat($$a.slice($$i + 1))\n )\n }\n } else {\n _vm.$set(\n _vm.shouldShow,\n \"showExtendedScores\",\n $$c\n )\n }\n },\n },\n }),\n _vm._v(\" \"),\n _c(\n \"label\",\n {\n staticClass: \"form-check-label\",\n attrs: { for: \"detailedScoring\" },\n },\n [\n _vm._v(\n _vm._s(\n _vm.translations[\n \"pLayer_PLayerEventsPartial_ExtendedScore\"\n ]\n ) + \":\"\n ),\n ]\n ),\n ]\n ),\n ]),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass: \"row collapse\",\n class: { show: _vm.isCancellationType },\n },\n [\n _c(\"div\", { staticClass: \"col col-12 p-0\" }, [\n _c(\n \"div\",\n { staticClass: \"row\" },\n [\n _c(\"div\", { staticClass: \"col col-12\" }, [\n _c(\"label\", { attrs: { for: \"player01\" } }, [\n _vm._v(\n _vm._s(_vm.translations[\"shared_T16\"]) + \":\"\n ),\n ]),\n ]),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"col col-12 form-radio\" },\n [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.winnerPosition,\n expression: \"winnerPosition\",\n },\n ],\n staticClass: \"form-radio-input\",\n attrs: {\n type: \"radio\",\n value: \"1\",\n id: \"player01\",\n name: \"player\",\n },\n domProps: {\n checked: _vm._q(_vm.winnerPosition, \"1\"),\n },\n on: {\n change: function ($event) {\n _vm.winnerPosition = \"1\"\n },\n },\n }),\n _vm._v(\" \"),\n _c(\n \"label\",\n {\n staticClass: \"form-radio-label\",\n attrs: { for: \"player01\" },\n },\n [_vm._v(_vm._s(_vm.participant1Name))]\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"col col-12 form-radio\" },\n [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.winnerPosition,\n expression: \"winnerPosition\",\n },\n ],\n staticClass: \"form-radio-input\",\n attrs: {\n type: \"radio\",\n value: \"2\",\n id: \"player02\",\n name: \"player\",\n },\n domProps: {\n checked: _vm._q(_vm.winnerPosition, \"2\"),\n },\n on: {\n change: function ($event) {\n _vm.winnerPosition = \"2\"\n },\n },\n }),\n _vm._v(\" \"),\n _c(\n \"label\",\n {\n staticClass: \"form-radio-label\",\n attrs: { for: \"player02\" },\n },\n [_vm._v(_vm._s(_vm.participant2Name))]\n ),\n ]\n ),\n _vm._v(\" \"),\n _vm.validation.cancelationWinnerNotSelected\n ? _c(\n \"BaseAlert\",\n {\n attrs: {\n type: \"danger\",\n \"has-background\": false,\n },\n },\n [\n _vm.winnerPosition == null\n ? _c(\"span\", [\n _vm._v(\n _vm._s(\n _vm.translations[\n \"shared_SelectWinner_ValidationError\"\n ]\n )\n ),\n ])\n : _vm._e(),\n ]\n )\n : _vm._e(),\n ],\n 1\n ),\n ]),\n ]\n ),\n _vm._v(\" \"),\n _vm.isCancellationTypeAllowResultSubmit\n ? _c(\n \"div\",\n { staticClass: \"row jcb aie score-on-cancel-div\" },\n [\n _c(\n \"div\",\n { staticClass: \"col col-5 form-group text-center\" },\n [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.firstPlayerScore,\n expression: \"firstPlayerScore\",\n },\n ],\n class: {\n required:\n _vm.validation.gamesAndSetsMismatch ||\n (!_vm.isValidSetGameFields &&\n _vm.validation.participantScoresChanged),\n },\n attrs: {\n id: \"firstPlayerScore\",\n type: \"number\",\n min: \"0\",\n max: \"5\",\n oninput: \"validity.valid||(value='');\",\n },\n domProps: { value: _vm.firstPlayerScore },\n on: {\n input: function ($event) {\n if ($event.target.composing) return\n _vm.firstPlayerScore = $event.target.value\n },\n },\n }),\n ]\n ),\n _vm._v(\" \"),\n _c(\"div\", {\n staticClass:\n \"dropdown col col-2 text-center opt opt-result\",\n }),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"col col-5 form-group text-center\" },\n [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.secondPlayerScore,\n expression: \"secondPlayerScore\",\n },\n ],\n staticClass: \"player\",\n class: {\n required:\n _vm.validation.gamesAndSetsMismatch ||\n (!_vm.isValidSetGameFields &&\n _vm.validation.participantScoresChanged),\n },\n attrs: {\n id: \"secondPlayerScore\",\n type: \"number\",\n min: \"0\",\n max: \"5\",\n oninput: \"validity.valid||(value='');\",\n },\n domProps: { value: _vm.secondPlayerScore },\n on: {\n input: function ($event) {\n if ($event.target.composing) return\n _vm.secondPlayerScore = $event.target.value\n },\n },\n }),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass:\n \"col col-12 form-check detailedScoring\",\n },\n [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.shouldShow.showExtendedScores,\n expression: \"shouldShow.showExtendedScores\",\n },\n ],\n staticClass: \"form-check-input\",\n attrs: {\n type: \"checkbox\",\n id: \"detailedScoring\",\n href: \"javascript:;\",\n role: \"button\",\n },\n domProps: {\n checked: Array.isArray(\n _vm.shouldShow.showExtendedScores\n )\n ? _vm._i(\n _vm.shouldShow.showExtendedScores,\n null\n ) > -1\n : _vm.shouldShow.showExtendedScores,\n },\n on: {\n click: function ($event) {\n return _vm.toggleExtendedScoring()\n },\n change: function ($event) {\n var $$a = _vm.shouldShow.showExtendedScores,\n $$el = $event.target,\n $$c = $$el.checked ? true : false\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v)\n if ($$el.checked) {\n $$i < 0 &&\n _vm.$set(\n _vm.shouldShow,\n \"showExtendedScores\",\n $$a.concat([$$v])\n )\n } else {\n $$i > -1 &&\n _vm.$set(\n _vm.shouldShow,\n \"showExtendedScores\",\n $$a\n .slice(0, $$i)\n .concat($$a.slice($$i + 1))\n )\n }\n } else {\n _vm.$set(\n _vm.shouldShow,\n \"showExtendedScores\",\n $$c\n )\n }\n },\n },\n }),\n _vm._v(\" \"),\n _c(\n \"label\",\n {\n staticClass: \"form-check-label\",\n attrs: { for: \"detailedScoring\" },\n },\n [\n _vm._v(\n _vm._s(\n _vm.translations[\n \"pLayer_PLayerEventsPartial_ExtendedScore\"\n ]\n ) + \":\"\n ),\n ]\n ),\n ]\n ),\n ]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass: \"row collapse\",\n class: {\n show:\n (!_vm.isCancellationType ||\n _vm.isCancellationTypeAllowResultSubmit) &&\n _vm.shouldShow.showExtendedScores,\n },\n attrs: { id: \"detailedScoringCollapse\" },\n },\n [\n _c(\"div\", { staticClass: \"col col-12 col-md-5 p-0\" }, [\n _c(\n \"div\",\n { staticClass: \"row\" },\n [\n _vm._m(1),\n _vm._v(\" \"),\n _vm._l(_vm.extendedScores, function (score, index) {\n return _c(\"div\", { staticClass: \"row\" }, [\n _c(\"div\", { staticClass: \"col col-6\" }, [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: score[0],\n expression: \"score[0]\",\n },\n ],\n staticClass: \"gameResult\",\n class: {\n required:\n score[0] == score[1] &&\n _vm.validation.resultSubmitClicked,\n },\n attrs: {\n type: \"number\",\n min: \"0\",\n value: \"0\",\n oninput: \"validity.valid||(value='');\",\n },\n domProps: { value: score[0] },\n on: {\n input: function ($event) {\n if ($event.target.composing) return\n _vm.$set(score, 0, $event.target.value)\n },\n },\n }),\n ]),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col col-6\" }, [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: score[1],\n expression: \"score[1]\",\n },\n ],\n staticClass: \"gameResult\",\n class: {\n required:\n score[0] == score[1] &&\n _vm.validation.resultSubmitClicked,\n },\n attrs: {\n type: \"number\",\n min: \"0\",\n value: \"0\",\n oninput: \"validity.valid||(value='');\",\n },\n domProps: { value: score[1] },\n on: {\n input: function ($event) {\n if ($event.target.composing) return\n _vm.$set(score, 1, $event.target.value)\n },\n },\n }),\n ]),\n ])\n }),\n ],\n 2\n ),\n ]),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.hasTiebreaks,\n expression: \"hasTiebreaks\",\n },\n ],\n staticClass: \"col col-12 col-md-4\",\n },\n [\n _c(\n \"div\",\n { staticClass: \"row\" },\n [\n _vm._m(2),\n _vm._v(\" \"),\n _vm._l(\n _vm.extendedScores,\n function (score, index) {\n return _c(\"div\", { staticClass: \"row\" }, [\n _c(\"div\", { staticClass: \"col col-6\" }, [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: score[3],\n expression: \"score[3]\",\n },\n ],\n staticClass: \"gameResult tiebreaks\",\n attrs: {\n type: \"number\",\n min: \"0\",\n oninput:\n \"validity.valid||(value='');\",\n },\n domProps: { value: score[3] },\n on: {\n input: function ($event) {\n if ($event.target.composing) return\n _vm.$set(\n score,\n 3,\n $event.target.value\n )\n },\n },\n }),\n ]),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col col-6\" }, [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: score[4],\n expression: \"score[4]\",\n },\n ],\n staticClass: \"gameResult tiebreaks\",\n attrs: {\n type: \"number\",\n min: \"0\",\n oninput:\n \"validity.valid||(value='');\",\n },\n domProps: { value: score[4] },\n on: {\n input: function ($event) {\n if ($event.target.composing) return\n _vm.$set(\n score,\n 4,\n $event.target.value\n )\n },\n },\n }),\n ]),\n ])\n }\n ),\n ],\n 2\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col col-12 col-md-3\" }, [\n _c(\n \"div\",\n { staticClass: \"row\" },\n [\n _c(\n \"div\",\n { staticClass: \"col col-12 text-center\" },\n [\n _c(\"label\", { attrs: { for: \"lorem3\" } }, [\n _vm._v(\n _vm._s(_vm.translations[\"shared_T15\"]) +\n \" (min)\"\n ),\n ]),\n ]\n ),\n _vm._v(\" \"),\n _vm._l(_vm.extendedScores, function (score, index) {\n return _c(\"div\", { staticClass: \"col col-12\" }, [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: score[2],\n expression: \"score[2]\",\n },\n ],\n staticClass: \"gameResult setDuration\",\n attrs: {\n type: \"number\",\n value: \"0\",\n min: \"0\",\n oninput: \"validity.valid||(value='');\",\n },\n domProps: { value: score[2] },\n on: {\n input: function ($event) {\n if ($event.target.composing) return\n _vm.$set(score, 2, $event.target.value)\n },\n },\n }),\n ])\n }),\n ],\n 2\n ),\n ]),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass: \"row\",\n staticStyle: {\n \"margin-top\": \"1.5rem\",\n \"margin-bottom\": \".5rem\",\n },\n },\n [\n _c(\"div\", { staticClass: \"col-12 p-0\" }, [\n _c(\"div\", { staticClass: \"row aic\" }, [\n _c(\"div\", { staticClass: \"col col-auto\" }, [\n _c(\n \"a\",\n {\n staticClass: \"btn btn-sm\",\n attrs: { href: \"#\", \"data-dismiss\": \"modal\" },\n },\n [\n _vm._v(\n _vm._s(\n _vm.translations[\n \"clubLeagueSettingsPartial_Cancel\"\n ]\n )\n ),\n ]\n ),\n ]),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col col-auto\" }, [\n _c(\"input\", {\n staticClass:\n \"text-white btn btn-info btn-sm width-auto\",\n attrs: {\n type: \"button\",\n id: \"submitResults\",\n value: \"Submit\",\n },\n on: {\n click: function ($event) {\n return _vm.submitResults()\n },\n },\n }),\n ]),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col text-right\" }, [\n _c(\n \"a\",\n {\n staticClass: \"btn btn-sm\",\n attrs: {\n href: \"#\",\n \"data-toggle\": \"collapse\",\n role: \"button\",\n \"aria-expanded\": \"false\",\n \"aria-controls\": \"confirmBox\",\n },\n on: {\n click: function ($event) {\n return _vm.resetResult()\n },\n },\n },\n [\n _vm._v(\n _vm._s(\n _vm.translations[\n \"shared_Matches_ResetResult_Action\"\n ]\n )\n ),\n ]\n ),\n ]),\n ]),\n ]),\n ]\n ),\n ]),\n ])\n : _vm._e(),\n ]),\n ]),\n ]\n )\n}\nvar staticRenderFns = [\n function () {\n var _vm = this,\n _c = _vm._self._c\n return _c(\n \"button\",\n {\n staticClass: \"close\",\n attrs: {\n type: \"button\",\n \"data-dismiss\": \"modal\",\n \"aria-label\": \"Close\",\n },\n },\n [\n _c(\"span\", {\n staticClass: \"icon icon-plus\",\n attrs: { \"aria-hidden\": \"true\" },\n }),\n ]\n )\n },\n function () {\n var _vm = this,\n _c = _vm._self._c\n return _c(\"div\", { staticClass: \"col col-12 text-center\" }, [\n _c(\"label\", { attrs: { for: \"lorem3\" } }, [_vm._v(\"Sets\")]),\n ])\n },\n function () {\n var _vm = this,\n _c = _vm._self._c\n return _c(\"div\", { staticClass: \"col col-12 text-center\" }, [\n _c(\"label\", { attrs: { for: \"lorem3\" } }, [_vm._v(\"Tiebreak\")]),\n ])\n },\n]\nrender._withStripped = true\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n \r\n {{translations[\"shared_MatchesListPartial_EnterResults\"]}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n {{participant1Name}} {{firstPositionWinState}}\r\n \r\n \r\n\r\n \r\n \r\n {{resultOptionText}} \r\n \r\n \r\n W.O\r\n Ret.\r\n Dis.\r\n {{translations[\"drawsStep_Clear\"]}} \r\n \r\n \r\n\r\n \r\n {{participant2Name}} {{secondPositionWinState}}\r\n \r\n \r\n \r\n \r\n {{translations[\"pLayer_PLayerEventsPartial_ExtendedScore\"]}}:\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{translations[\"shared_T16\"]}}:\r\n \r\n \r\n \r\n {{participant1Name}}\r\n \r\n \r\n \r\n {{participant2Name}}\r\n \r\n \r\n {{translations[\"shared_SelectWinner_ValidationError\"]}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n {{translations[\"pLayer_PLayerEventsPartial_ExtendedScore\"]}}:\r\n \r\n \r\n \r\n \r\n \r\n \r\n Sets\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n Tiebreak\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n {{translations[\"shared_T15\"]}} (min)\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {{translations[\"clubLeagueSettingsPartial_Cancel\"]}}\r\n \r\n \r\n \r\n \r\n \r\n {{translations[\"shared_Matches_ResetResult_Action\"]}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./layout-enter-match-results-bs4.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./layout-enter-match-results-bs4.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./layout-enter-match-results-bs4.vue?vue&type=template&id=4baa0a78&scoped=true\"\nimport script from \"./layout-enter-match-results-bs4.vue?vue&type=script&lang=js\"\nexport * from \"./layout-enter-match-results-bs4.vue?vue&type=script&lang=js\"\nimport style0 from \"./layout-enter-match-results-bs4.vue?vue&type=style&index=0&id=4baa0a78&prod&scoped=true&lang=css\"\nimport style1 from \"./layout-enter-match-results-bs4.vue?vue&type=style&index=1&id=4baa0a78&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4baa0a78\",\n null\n \n)\n\nexport default component.exports","\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./layout-footer-bs4.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./layout-footer-bs4.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./layout-footer-bs4.vue?vue&type=template&id=113b0ac5&scoped=true\"\nimport script from \"./layout-footer-bs4.vue?vue&type=script&lang=js\"\nexport * from \"./layout-footer-bs4.vue?vue&type=script&lang=js\"\nimport style0 from \"./layout-footer-bs4.vue?vue&type=style&index=0&id=113b0ac5&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"113b0ac5\",\n null\n \n)\n\nexport default component.exports","export const INIT_TEAM_LEAGUE_TEAMS_MATCHES = 'initTeamLeagueTeamsMatches';\r\nexport const INIT_TOURNAMENT_TEAMS_MATCHES = 'initTournamentTeamsMatches';\r\nexport const SET_MATCHES_MODEL = 'setMatchesModel';\r\nexport const SET_LINEUPS_MODEL = 'setLineupsModel';\r\nexport const SET_TOURNAMENT_MODEL = 'setTournamentModel';\r\nexport const SET_UPDATING_MATCH_TYPE_LINEUPS = 'setUpdatingMatchTypeLineups';\r\nexport const SET_TEAM_MATCH_STANDINGS = 'setTeamMatchStandings';\r\nexport const SET_STANDINGS_SETTINGS = 'setStandingsSettings';\r\nexport const SET_IS_LOADING_MODEL = 'setIsLoadingModel';\r\nexport const SET_IS_LOADING_TEAM_MATCH_STANDINGS = 'setIsLoadingTeamMatchStandings';\r\nexport const SET_IS_LOADING_STANDINGS_SETTINGS = 'setIsLoadingStandingsSettings';\r\nexport const SET_IS_LOADED_MODEL = 'setIsLoadedModel';\r\nexport const SET_IS_LOADED_TEAM_MATCH_STANDINGS = 'setIsLoadedTeamMatchStandings';\r\nexport const SET_IS_LOADED_STANDINGS_SETTINGS = 'setIsLoadedStandingsSettings';\r\n\r\nexport const GET_MODEL_ASYNC = 'getModelAsync';\r\nexport const GET_TEAM_MATCH_STANDINGS_ASYNC = 'getTeamMatchStandingsAsync';\r\nexport const GET_STANDINGS_SETTINGS_ASYNC = 'getStandingsSettingsAsync';\r\nexport const POST_MODIFIED_LINEUPS_ASYNC = 'postModifiedLineupsAsync';\r\nexport const UPDATE_LINEUP = 'updateLineup';\r\nexport const TRIGGER_TEAM_POWER = 'triggerTeamPower';\r\n\r\n\r\nexport default {\r\n namespaced: true,\r\n state() {\r\n return {\r\n model: {},\r\n\r\n team1TotalPower: null,\r\n team2TotalPower: null,\r\n\r\n modified_lineups: {},\r\n team_match_standings: {},\r\n standings_standings: {},\r\n is_loading_model: false,\r\n is_loading_team_match_standings: false,\r\n is_loading_standings_settings: false,\r\n is_loaded_model: false,\r\n is_loaded_team_match_standings: false,\r\n is_loaded_standings_settings: false,\r\n updating_match_type_lineups: 0,\r\n repositories: null,\r\n team_league: {\r\n id: 0,\r\n teamMatchId: 0,\r\n canEnterResultBeforeLineup: false,\r\n isTeamLeagueAdmin: false,\r\n teamMatchState: 0\r\n },\r\n tournament: {\r\n id: 0,\r\n classId: 0,\r\n challengeId: 0,\r\n model: {}\r\n },\r\n language_code: 'en',\r\n event_type: null\r\n };\r\n },\r\n getters: {\r\n teamLeagueModel: state =>\r\n state.team_league,\r\n\r\n model: state =>\r\n state.model,\r\n\r\n tournamentModel: state =>\r\n state.tournament.model,\r\n\r\n modifiedLineups: state =>\r\n state.modified_lineups,\r\n\r\n teamMatchStandings: state =>\r\n state.team_match_standings,\r\n\r\n standingsSettings: state =>\r\n state.standings_standings,\r\n\r\n isLoadingModel: state =>\r\n state.is_loading_model,\r\n\r\n isLoadingTeamMatchStandings: state =>\r\n state.is_loading_team_match_standings,\r\n\r\n isLoadingStandingsSettings: state =>\r\n state.is_loading_standings_settings,\r\n\r\n isLoadedModel: state =>\r\n state.is_loaded_model,\r\n\r\n isLoadedTeamMatchStandings: state =>\r\n state.is_loaded_team_match_standings,\r\n\r\n isLoadedStandingsSettings: state =>\r\n state.is_loaded_standings_settings,\r\n\r\n updatingMatchTypeLineups: state =>\r\n state.updating_match_type_lineups,\r\n\r\n eventType: state =>\r\n state.event_type,\r\n\r\n team1TotalPower: state =>\r\n state.team1TotalPower,\r\n\r\n team2TotalPower: state =>\r\n state.team2TotalPower,\r\n },\r\n mutations: {\r\n [INIT_TEAM_LEAGUE_TEAMS_MATCHES]: (state, config) => {\r\n state.repositories = config.repositories;\r\n state.team_league.id = config.teamLeagueId;\r\n state.team_league.teamMatchId = config.teamMatchId;\r\n state.team_league.eventState = config.eventState;\r\n state.team_league.canEnterResultBeforeLineup = config.canEnterResultBeforeLineup;\r\n state.team_league.teamMatchState = config.teamMatchState;\r\n state.team_league.isTeamLeagueAdmin = config.isTeamLeagueAdmin;\r\n state.language_code = config.languageCode;\r\n state.event_type = config.eventType;\r\n },\r\n [INIT_TOURNAMENT_TEAMS_MATCHES]: (state, config) => {\r\n state.repositories = config.repositories;\r\n state.tournament.id = config.tournamentId;\r\n state.tournament.classId = config.tournamentClassId;\r\n state.tournament.challengeId = config.challengeId;\r\n state.language_code = config.languageCode;\r\n state.event_type = config.eventType;\r\n },\r\n [SET_MATCHES_MODEL]: (state, payload) => {\r\n state.model.TeamMatches = payload;\r\n },\r\n [SET_LINEUPS_MODEL]: (state, payload) => {\r\n state.model.FirstTeam = payload.FirstTeam;\r\n state.model.SecondTeam = payload.SecondTeam;\r\n state.model.IsLicenseRequired = payload.IsLicenseRequired;\r\n state.model.IsLineupPublished = payload.IsLineupPublished;\r\n state.model.IsAdmin = payload.IsAdmin;\r\n state.model.HasRating = payload.HasRating;\r\n\r\n },\r\n [SET_TOURNAMENT_MODEL]: (state, payload) => {\r\n state.tournament.model = payload;\r\n },\r\n [SET_UPDATING_MATCH_TYPE_LINEUPS]: (state, payload) => {\r\n state.updating_match_type_lineups = payload;\r\n },\r\n [SET_TEAM_MATCH_STANDINGS]: (state, payload) => {\r\n state.team_match_standings = payload;\r\n },\r\n [SET_IS_LOADING_MODEL]: (state, payload) => {\r\n state.is_loading_model = payload;\r\n },\r\n [SET_IS_LOADING_TEAM_MATCH_STANDINGS]: (state, payload) => {\r\n state.is_loading_team_match_standings = payload;\r\n },\r\n [SET_IS_LOADING_STANDINGS_SETTINGS]: (state, payload) => {\r\n state.is_loading_standings_settings = payload;\r\n },\r\n [SET_STANDINGS_SETTINGS]: (state, payload) => {\r\n state.standings_standings = payload;\r\n },\r\n [SET_IS_LOADED_MODEL]: (state, payload) => {\r\n state.is_loaded_model = payload;\r\n },\r\n [SET_IS_LOADED_TEAM_MATCH_STANDINGS]: (state, payload) => {\r\n state.is_loaded_team_match_standings = payload;\r\n },\r\n [SET_IS_LOADED_STANDINGS_SETTINGS]: (state, payload) => {\r\n state.is_loaded_standings_settings = payload;\r\n }\r\n },\r\n actions: {\r\n [GET_MODEL_ASYNC]: ({ state, commit, dispatch, rootState }, language) => {\r\n commit(SET_IS_LOADED_MODEL, false);\r\n commit(SET_IS_LOADING_MODEL, true);\r\n\r\n const teamsRepository = state.repositories.teams;\r\n let loaderAsync;\r\n if (state.event_type === rootState.nomenclatures.nomenclatures.EventTypes.TeamLeague) {\r\n const matchesPromise = teamsRepository.getTeamLeagueTeamsMatchesAsync(state.team_league.teamMatchId, language)\r\n .then(response => {\r\n commit(SET_MATCHES_MODEL, response);\r\n });\r\n const lineupsPromise = teamsRepository.getTeamLeagueTeamsLineupsAsync(state.team_league.teamMatchId, language)\r\n .then(response => {\r\n commit(SET_LINEUPS_MODEL, response);\r\n });\r\n loaderAsync = Promise.all([matchesPromise, lineupsPromise])\r\n .then(response => {\r\n commit(SET_IS_LOADED_MODEL, true);\r\n });\r\n } else {\r\n const matchesPromise = teamsRepository.getTournamentTeamsMatchesAsync(state.tournament.id, state.tournament.challengeId, language)\r\n .then(response => {\r\n commit(SET_MATCHES_MODEL, response);\r\n });\r\n const lineupsPromise = teamsRepository.getTournamentTeamsLineupsAsync(state.tournament.id, state.tournament.challengeId, language)\r\n .then(response => {\r\n commit(SET_LINEUPS_MODEL, response);\r\n });\r\n const tournamentPromise = teamsRepository.getTeamParticipatedTournamentAsync(state.tournament.id, state.tournament.classId, language)\r\n .then(response => {\r\n commit(SET_TOURNAMENT_MODEL, response);\r\n });\r\n\r\n loaderAsync = Promise.all([matchesPromise, lineupsPromise, tournamentPromise])\r\n .then(response => {\r\n commit(SET_IS_LOADED_MODEL, true);\r\n });\r\n }\r\n\r\n return loaderAsync\r\n .then(response => {\r\n commit(SET_IS_LOADED_MODEL, true);\r\n })\r\n .catch(error => {\r\n return Promise.reject(error);\r\n })\r\n .finally(() => {\r\n commit(SET_IS_LOADING_MODEL, false);\r\n dispatch('triggerTeamPower');\r\n });\r\n },\r\n [GET_TEAM_MATCH_STANDINGS_ASYNC]: ({ state, commit, rootState }, language) => {\r\n commit(SET_IS_LOADED_TEAM_MATCH_STANDINGS, false);\r\n commit(SET_IS_LOADING_TEAM_MATCH_STANDINGS, true);\r\n\r\n const teamsRepository = state.repositories.teams;\r\n let getStandingsAsync;\r\n if (state.event_type === rootState.nomenclatures.nomenclatures.EventTypes.TeamLeague) {\r\n getStandingsAsync = teamsRepository.getTeamLeagueTeamMatchStandingsAsync(state.team_league.teamMatchId, language);\r\n } else {\r\n getStandingsAsync = teamsRepository.getTournamentTeamMatchStandingsAsync(state.tournament.id, state.tournament.challengeId, language);\r\n }\r\n\r\n return getStandingsAsync\r\n .then(response => {\r\n commit(SET_IS_LOADED_TEAM_MATCH_STANDINGS, true);\r\n commit(SET_TEAM_MATCH_STANDINGS, response);\r\n })\r\n .catch(error => {\r\n return Promise.reject(error);\r\n })\r\n .finally(() => {\r\n commit(SET_IS_LOADING_TEAM_MATCH_STANDINGS, false);\r\n });\r\n },\r\n [GET_STANDINGS_SETTINGS_ASYNC]: ({ state, commit, rootState }) => {\r\n commit(SET_IS_LOADED_STANDINGS_SETTINGS, false);\r\n commit(SET_IS_LOADING_STANDINGS_SETTINGS, true);\r\n\r\n const teamsRepository = state.repositories.teams;\r\n let getSettingsAsync;\r\n if (state.event_type === rootState.nomenclatures.nomenclatures.EventTypes.TeamLeague) {\r\n getSettingsAsync = teamsRepository.getTeamLeagueStandingsSettingsAsync(state.team_league.id);\r\n } else {\r\n getSettingsAsync = teamsRepository.getTournamentStandingsSettingsAsync(state.tournament.id);\r\n }\r\n return getSettingsAsync\r\n .then(response => {\r\n commit(SET_IS_LOADED_STANDINGS_SETTINGS, true);\r\n commit(SET_STANDINGS_SETTINGS, response);\r\n })\r\n .catch(error => {\r\n return Promise.reject(error);\r\n })\r\n .finally(() => {\r\n commit(SET_IS_LOADING_STANDINGS_SETTINGS, false);\r\n });\r\n },\r\n [POST_MODIFIED_LINEUPS_ASYNC]: ({ state, dispatch, commit, rootState }, matchType) => {\r\n\r\n const divisionLineups = state.modified_lineups[matchType];\r\n const hasError = validateLineups(divisionLineups);\r\n if (hasError) {\r\n return Promise.reject(new Error('Lineups are invalid! ' + hasError));\r\n }\r\n const matchesLineups = mapToMatchesLineups(divisionLineups);\r\n\r\n commit(SET_UPDATING_MATCH_TYPE_LINEUPS, matchType);\r\n\r\n const teamsRepository = state.repositories.teams;\r\n let posterAsync;\r\n if (state.event_type === rootState.nomenclatures.nomenclatures.EventTypes.TeamLeague) {\r\n const lineups = {\r\n TeamMatchId: state.team_league.teamMatchId,\r\n MatchesLineups: matchesLineups\r\n };\r\n posterAsync = teamsRepository.postTeamLeagueTeamsLineupsAsync(lineups);\r\n } else {\r\n const lineups = {\r\n TournamentId: state.tournament.id,\r\n ChallengeId: state.tournament.challengeId,\r\n MatchesLineups: matchesLineups\r\n };\r\n posterAsync = teamsRepository.postTournamentTeamsLineupsAsync(lineups);\r\n }\r\n\r\n return posterAsync\r\n .then(response => {\r\n const divisionMatches = state.model.TeamMatches\r\n .find(dm => dm.Settings.MatchType === matchType);\r\n updateMatchesParticipants(divisionMatches, response, divisionLineups);\r\n\r\n Vue.delete(state.modified_lineups, matchType);\r\n\r\n if (state.event_type === rootState.nomenclatures.nomenclatures.EventTypes.TeamLeague) dispatch('getModelAsync');\r\n })\r\n .catch(error => {\r\n return Promise.reject(error);\r\n })\r\n .finally(() => {\r\n commit(SET_UPDATING_MATCH_TYPE_LINEUPS, 0);\r\n });\r\n },\r\n [UPDATE_LINEUP]: ({ state, dispatch, rootState }, newLineup) => {\r\n\r\n let divisionLineups = state.modified_lineups[newLineup.settings.MatchType];\r\n if (divisionLineups === undefined) {\r\n divisionLineups = {};\r\n }\r\n\r\n let matchLineup = divisionLineups[newLineup.match.Id];\r\n if (matchLineup === undefined) {\r\n matchLineup = createMatchLineup(newLineup);\r\n divisionLineups[newLineup.match.Id] = matchLineup;\r\n }\r\n\r\n var lineupForValidation = {};\r\n lineupForValidation[newLineup.match.Id] = createMatchLinupForValidation(newLineup);\r\n\r\n const hasError = validateLineups(lineupForValidation);\r\n\r\n if (hasError) {\r\n return Promise.reject('Lineups are invalid! ' + hasError);\r\n }\r\n\r\n const shouldCheckLicense = !state.model.IsAdmin;\r\n\r\n if (shouldCheckLicense) {\r\n\r\n const requiresLicense = state.model.IsLicenseRequired;\r\n let hasLicense = true;\r\n\r\n var newlySelectedPlayerId = newLineup.player.id;\r\n\r\n if (newLineup.isFirstTeam) {\r\n var playerInfo = state.model.FirstTeam.Players.find(x => x.PlayerId == newlySelectedPlayerId);\r\n if (typeof (playerInfo) != 'undefined') hasLicense = playerInfo.HasLicense;\r\n }\r\n else {\r\n var playerInfo = state.model.SecondTeam.Players.find(x => x.PlayerId == newlySelectedPlayerId);\r\n if (typeof (playerInfo) != 'undefined') hasLicense = playerInfo.HasLicense;\r\n }\r\n\r\n if (requiresLicense && !hasLicense) {\r\n return Promise.reject('This player cannot be selected because he does not have a valid license - Contact Team League Admin');\r\n }\r\n }\r\n\r\n updateMatchLineupPlayer(matchLineup, newLineup);\r\n\r\n Vue.set(state.modified_lineups, newLineup.settings.MatchType, divisionLineups);\r\n \r\n dispatch('triggerTeamPower');\r\n\r\n return Promise.resolve();\r\n },\r\n\r\n [TRIGGER_TEAM_POWER]: ({ state }) => {\r\n var allRatings = state.model.TeamMatches.flatMap(match => match.Matches.Matches.map(x => getMatchRating(x)));\r\n var firstTeamMatches = allRatings.flatMap(matchGroup => matchGroup.firstTeam);\r\n var secondTeamMatches = allRatings.flatMap(matchGroup => matchGroup.secondTeam);\r\n\r\n for (var keyNames in state.modified_lineups)\r\n for (var challengeId in state.modified_lineups[keyNames]) {\r\n var newRating = state.modified_lineups[keyNames][challengeId];\r\n if (typeof (newRating) == 'undefined') continue;\r\n\r\n var challenger1 = newRating.FirstTeamPlayers[0];\r\n var challenger2 = newRating.FirstTeamPlayers[1];\r\n\r\n if (typeof (challenger1) != 'undefined' && challenger1.isModified === true) {\r\n var modifiedPlayer = firstTeamMatches.find(x => x.matchId == challengeId && x.order === 1);\r\n modifiedPlayer.playerId = challenger1.id;\r\n modifiedPlayer.playerRating = challenger1.rating;\r\n }\r\n\r\n if (typeof (challenger2) != 'undefined' && challenger2.isModified === true) {\r\n var modifiedPlayer = firstTeamMatches.find(x => x.matchId == challengeId && x.order === 2);\r\n modifiedPlayer.playerId = challenger2.id;\r\n modifiedPlayer.playerRating = challenger2.rating;\r\n }\r\n\r\n var challenged1 = newRating.SecondTeamPlayers[0];\r\n var challenged2 = newRating.SecondTeamPlayers[1];\r\n\r\n if (typeof (challenged1) != 'undefined' && challenged1.isModified === true) {\r\n var modifiedPlayer = secondTeamMatches.find(x => x.matchId == challengeId && x.order === 1);\r\n modifiedPlayer.playerId = challenged1.id;\r\n modifiedPlayer.playerRating = challenged1.rating;\r\n }\r\n\r\n if (typeof (challenged2) != 'undefined' && challenged2.isModified === true) {\r\n var modifiedPlayer = secondTeamMatches.find(x => x.matchId == challengeId && x.order === 2);\r\n modifiedPlayer.playerId = challenged2.id;\r\n modifiedPlayer.playerRating = challenged2.rating;\r\n }\r\n }\r\n\r\n state.team1TotalPower = calcTotalTeamPower(firstTeamMatches);\r\n state.team2TotalPower = calcTotalTeamPower(secondTeamMatches);\r\n }\r\n }\r\n};\r\n\r\nfunction getMatchRating(match) {\r\n\r\n var firstTeam = [{\r\n matchId: match.Id,\r\n playerId: match.Challenger.Player1Id,\r\n playerRating: match.Challenger.Player1Id == 0 ? null : match.Challenger.Player1RatingBegin,\r\n order: 1,\r\n },\r\n {\r\n matchId: match.Id,\r\n playerId: match.Challenger.Player2Id,\r\n playerRating: match.Challenger.Player2Id == 0 ? null : match.Challenger.Player2RatingBegin,\r\n order: 2,\r\n }];\r\n\r\n var secondTeam = [{\r\n matchId: match.Id,\r\n playerId: match.Challenged.Player1Id,\r\n playerRating: match.Challenged.Player1Id == 0 ? null : match.Challenged.Player1RatingBegin,\r\n order: 1\r\n },\r\n {\r\n matchId: match.Id,\r\n playerId: match.Challenged.Player2Id,\r\n playerRating: match.Challenged.Player2Id == 0 ? null : match.Challenged.Player2RatingBegin,\r\n order: 2\r\n }];\r\n\r\n return {\r\n firstTeam: firstTeam,\r\n secondTeam: secondTeam\r\n };\r\n}\r\n\r\nfunction calcTotalTeamPower(playersWithRatings) {\r\n var teamRating = [];\r\n\r\n for (var i = 0; i < playersWithRatings.length; i++) {\r\n var player = playersWithRatings[i];\r\n\r\n if (isValidRatingNumber(player.playerRating)) {\r\n teamRating.push(player.playerRating);\r\n }\r\n }\r\n\r\n var teamPow = teamRating.length > 0 ? sum(teamRating) / teamRating.length : null;\r\n return teamPow;\r\n}\r\n\r\nfunction isValidRatingNumber(num) {\r\n return !isNaN(num) && num != null && num > 0;\r\n}\r\n\r\nfunction sum(arr) {\r\n return arr.reduce((accumulator, a) => accumulator + a, 0);\r\n}\r\n\r\nconst updateMatchesParticipants = function (divisionMatches, updatedMatchesParticipants, divisionLineups) {\r\n const isSingle = isSingleMatchType(divisionMatches.Settings.MatchType);\r\n for (let i = 0; i < updatedMatchesParticipants.length; i++) {\r\n const updatedMatchParticipants = updatedMatchesParticipants[i];\r\n const match = divisionMatches.Matches.Matches.find(m => m.Id === updatedMatchParticipants.ChallengeId);\r\n const lineup = divisionLineups[updatedMatchParticipants.ChallengeId];\r\n const firstTeamPlayers = lineup.FirstTeamPlayers;\r\n const secondTeamPlayers = lineup.SecondTeamPlayers;\r\n\r\n match.Challenger.Id = updatedMatchParticipants.FirstParticipantId;\r\n match.Challenged.Id = updatedMatchParticipants.SecondParticipantId;\r\n\r\n if (isSingle) {\r\n match.Challenger.Name = stripRatingFronName(firstTeamPlayers[0].name);\r\n match.Challenged.Name = stripRatingFronName(secondTeamPlayers[0].name);\r\n match.Challenger.Player1Id = firstTeamPlayers[0].id;\r\n match.Challenged.Player1Id = secondTeamPlayers[0].id;\r\n\r\n if (firstTeamPlayers[0].isModified === true) {\r\n match.Challenger.Player1RatingBegin = firstTeamPlayers[0].rating;\r\n }\r\n\r\n if (secondTeamPlayers[0].isModified === true) {\r\n match.Challenged.Player1RatingBegin = secondTeamPlayers[0].rating;\r\n }\r\n\r\n } else {\r\n let challengerFirstName = firstTeamPlayers[0].name;\r\n let challengerSecondName = firstTeamPlayers[1].name;\r\n\r\n match.Challenger.Player1Id = firstTeamPlayers[0].id;\r\n match.Challenger.Name = stripRatingFronName(challengerFirstName);\r\n match.Challenger.Player2Id = firstTeamPlayers[1].id;\r\n match.Challenger.Player2Name = stripRatingFronName(challengerSecondName);\r\n\r\n if (firstTeamPlayers[0].isModified === true) match.Challenger.Player1RatingBegin = firstTeamPlayers[0].rating;\r\n if (firstTeamPlayers[1].isModified === true) match.Challenger.Player2RatingBegin = firstTeamPlayers[1].rating;\r\n\r\n let challengedFirstName = secondTeamPlayers[0].name;\r\n let challengedSecondName = secondTeamPlayers[1].name;\r\n\r\n match.Challenged.Player1Id = secondTeamPlayers[0].id;\r\n match.Challenged.Name = stripRatingFronName(challengedFirstName);\r\n match.Challenged.Player2Id = secondTeamPlayers[1].id;\r\n match.Challenged.Player2Name = stripRatingFronName(challengedSecondName);\r\n\r\n if (secondTeamPlayers[0].isModified === true) match.Challenged.Player1RatingBegin = secondTeamPlayers[0].rating;\r\n if (secondTeamPlayers[1].isModified === true) match.Challenged.Player2RatingBegin = secondTeamPlayers[1].rating;\r\n }\r\n }\r\n};\r\n\r\nfunction stripRatingFronName(playerName) {\r\n if (playerName == null) return null;\r\n var d = document.createElement('DIV');\r\n d.innerHTML = playerName;\r\n let name = d.removeChild(d.childNodes[0]);\r\n return name.textContent;\r\n}\r\n\r\nfunction createMatchLinupForValidation(lineup) {\r\n\r\n var newLineup = {\r\n MatchType: lineup.settings.MatchType,\r\n FirstTeamPlayers: mapParticipantToPlayers(lineup.match.Challenger, lineup.settings.MatchType),\r\n SecondTeamPlayers: mapParticipantToPlayers(lineup.match.Challenged, lineup.settings.MatchType)\r\n };\r\n\r\n var index = lineup.isFirstPlayer ? 0 : 1;\r\n\r\n if (lineup.isFirstTeam) {\r\n newLineup.FirstTeamPlayers[index].id = lineup.player.id;\r\n newLineup.FirstTeamPlayers[index].name = lineup.player.name;\r\n }\r\n else {\r\n newLineup.SecondTeamPlayers[index].id = lineup.player.id;\r\n newLineup.SecondTeamPlayers[index].name = lineup.player.name;\r\n }\r\n\r\n return newLineup;\r\n}\r\n\r\nconst validateLineups = function (divisionLineups) {\r\n for (let key in divisionLineups) {\r\n const firstTeamPlayers = divisionLineups[key].FirstTeamPlayers;\r\n const secondTeamPlayers = divisionLineups[key].SecondTeamPlayers;\r\n\r\n if (isSingleMatchType(divisionLineups[key].MatchType)) {\r\n if (firstTeamPlayers[0].id === secondTeamPlayers[0].id && firstTeamPlayers[0].id > 0) {\r\n return `${firstTeamPlayers[0].name} is used more than once.`;\r\n };\r\n } else {\r\n if (firstTeamPlayers[0].id <= 0 && firstTeamPlayers[1].id > 0) {\r\n return `${firstTeamPlayers[1].name} has no partner selected`;\r\n }\r\n\r\n if (secondTeamPlayers[0].id <= 0 && secondTeamPlayers[1].id > 0) {\r\n return `${secondTeamPlayers[1].name} has no partner selected`;\r\n }\r\n\r\n const participants = [firstTeamPlayers[0], firstTeamPlayers[1], secondTeamPlayers[0], secondTeamPlayers[1]];\r\n for (let i = 0; i < participants.length - 1; i++) {\r\n if (participants[i].id === 0)\r\n continue;\r\n\r\n const found = participants.filter(p => p.id === participants[i].id).length;\r\n if (found > 1)\r\n return `${participants[i].name} is used more than once.`;\r\n }\r\n }\r\n }\r\n\r\n return null;\r\n};\r\n\r\nconst mapToMatchesLineups = function (divisionLineups) {\r\n const matchLineups = [];\r\n\r\n for (let key in divisionLineups) {\r\n const firstTeamPlayerIds = divisionLineups[key].FirstTeamPlayers.map(p => p.id);\r\n const secondTeamPlayerIds = divisionLineups[key].SecondTeamPlayers.map(p => p.id);\r\n\r\n matchLineups.push({\r\n ChallengeId: key,\r\n FirstTeamPlayerIds: firstTeamPlayerIds,\r\n SecondTeamPlayerIds: secondTeamPlayerIds\r\n });\r\n }\r\n\r\n return matchLineups;\r\n};\r\n\r\nconst createMatchLineup = function (lineup) {\r\n return {\r\n MatchType: lineup.settings.MatchType,\r\n FirstTeamPlayers: mapParticipantToPlayers(lineup.match.Challenger, lineup.settings.MatchType),\r\n SecondTeamPlayers: mapParticipantToPlayers(lineup.match.Challenged, lineup.settings.MatchType)\r\n };\r\n};\r\n\r\nconst updateMatchLineupPlayer = function (matchLineup, newLineup) {\r\n const players = newLineup.isFirstTeam ? matchLineup.FirstTeamPlayers : matchLineup.SecondTeamPlayers;\r\n const index = newLineup.isFirstPlayer ? 0 : 1;\r\n\r\n players[index].id = newLineup.player.id;\r\n players[index].name = newLineup.player.name;\r\n players[index].rating = newLineup.rating;\r\n players[index].isModified = true;\r\n};\r\n\r\nconst mapParticipantToPlayers = function (participant, matchType) {\r\n if (isSingleMatchType(matchType)) {\r\n return [\r\n {\r\n id: participant.Player1Id,\r\n name: participant.Name\r\n }];\r\n }\r\n\r\n return [\r\n {\r\n id: participant.Player1Id,\r\n name: participant.Name\r\n },\r\n {\r\n id: participant.Player2Id,\r\n name: participant.Player2Name\r\n }];\r\n};\r\n\r\n\r\nconst isSingleMatchType = function (matchType) {\r\n return matchType === 1 || matchType === 2;\r\n};","// style-loader: Adds some css to the DOM by adding a
\r\n {{translations[\"shared_MatchesListPartial_EnterResults\"]}}\r\n \r\n \r\n