{"version":3,"sources":["webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TournamentPlayers/TournamentPlayers.vue?a731","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/TeamLFGManagement/TeamLFGManagement.vue?bc16","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/LFGJoinActionDialog/LFGJoinActionDialog.vue?24d5","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TeamRegistrationStatus.vue?0f4d","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/TournamentDetailsHeader.vue?dae7","webpack:///./src/renderer/modules/tournament/components/EditTournamentTeamMemberGameAccountDialog/EditTournamentTeamMemberGameAccountDialog.vue?d956","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsLFG/TournamentDetailsLFG.vue?23e0","webpack:///./src/renderer/modules/tournament/components/TournamentTeamChangeCaptainDialog/TournamentTeamChangeCaptainDialog.vue?fe02","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentRegistration/TournamentRegistration.vue?bbc9","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentRegistration/TournamentRegistration.vue","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentRegistration/TournamentRegistration.vue?2c91","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentRegistration/TournamentRegistration.vue?c0ee","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentRegistration/index.ts","webpack:///./src/renderer/api/tournamentTeamPost.ts","webpack:///./src/renderer/modules/tournament/components/TournamentCustomForm/TournamentCustomForm.vue?d6e6","webpack:///./src/renderer/modules/tournament/components/TournamentCustomForm/TournamentCustomForm.vue","webpack:///./src/renderer/modules/tournament/components/TournamentCustomForm/TournamentCustomForm.vue?42a4","webpack:///./src/renderer/modules/tournament/components/TournamentCustomForm/TournamentCustomForm.vue?b1f0","webpack:///./src/renderer/modules/tournament/components/TournamentCustomForm/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/TournamentLFGModal.vue?7ed8","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete/TeamRegistrationComplete.vue?8c1c","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete/TeamRegistrationComplete.vue","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete/TeamRegistrationComplete.vue?bd5e","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete/TeamRegistrationComplete.vue?d778","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete/index.ts","webpack:///./src/renderer/modules/tournament/components/EditTournamentFormResponseDialog/EditTournamentFormResponseDialog.vue?e2d7","webpack:///./src/renderer/modules/tournament/components/EditTournamentGroupDialog/EditTournamentGroupDialog.vue?135e","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/TournamentLFGModal.vue?63e3","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/DiscussionMessage/DiscussionMessage.vue?c7f8","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/DiscussionMessage/DiscussionMessage.vue","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/DiscussionMessage/DiscussionMessage.vue?75a0","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/DiscussionMessage/DiscussionMessage.vue?4522","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/DiscussionMessage/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/TeamLFGManagement/TeamLFGManagement.vue?c2fc","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/TeamLFGManagement/TeamLFGManagement.vue","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/TeamLFGManagement/TeamLFGManagement.vue?d24e","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/TeamLFGManagement/TeamLFGManagement.vue?ae59","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/TeamLFGManagement/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/LFGJoinActionDialog/LFGJoinActionDialog.vue?641d","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/LFGJoinActionDialog/LFGJoinActionDialog.vue","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/LFGJoinActionDialog/LFGJoinActionDialog.vue?6c7c","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/LFGJoinActionDialog/LFGJoinActionDialog.vue?fc30","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/LFGJoinActionDialog/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/TournamentLFGModal.vue","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/TournamentLFGModal.vue?1f43","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/TournamentLFGModal.vue?06c9","webpack:///./src/renderer/modules/tournament/components/TournamentLFGModal/index.ts","webpack:///./src/renderer/utils/window.ts","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsLFG/TournamentDetailsLFG.vue?7382","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsLFG/TournamentDetailsLFG.vue","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsLFG/TournamentDetailsLFG.vue?e770","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsLFG/TournamentDetailsLFG.vue?cc4f","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsLFG/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TeamRegistrationStatus.vue?de82","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TournamentPlayers/TournamentPlayers.vue?a00d","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TournamentPlayers/TournamentPlayers.vue","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TournamentPlayers/TournamentPlayers.vue?7df6","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TournamentPlayers/TournamentPlayers.vue?8921","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TournamentPlayers/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentTeamChangeCaptainDialog/TournamentTeamChangeCaptainDialog.vue?a14f","webpack:///./src/renderer/modules/tournament/components/TournamentTeamChangeCaptainDialog/TournamentTeamChangeCaptainDialog.vue","webpack:///./src/renderer/modules/tournament/components/TournamentTeamChangeCaptainDialog/TournamentTeamChangeCaptainDialog.vue?26cd","webpack:///./src/renderer/modules/tournament/components/TournamentTeamChangeCaptainDialog/TournamentTeamChangeCaptainDialog.vue?9472","webpack:///./src/renderer/modules/tournament/components/TournamentTeamChangeCaptainDialog/index.ts","webpack:///./src/renderer/modules/tournament/components/EditTournamentGroupDialog/EditTournamentGroupDialog.vue?0f72","webpack:///./src/renderer/modules/tournament/components/EditTournamentGroupDialog/EditTournamentGroupDialog.vue","webpack:///./src/renderer/modules/tournament/components/EditTournamentGroupDialog/EditTournamentGroupDialog.vue?1fd4","webpack:///./src/renderer/modules/tournament/components/EditTournamentGroupDialog/EditTournamentGroupDialog.vue?9250","webpack:///./src/renderer/modules/tournament/components/EditTournamentGroupDialog/index.ts","webpack:///./src/renderer/modules/tournament/components/EditTournamentTeamMemberGameAccountDialog/EditTournamentTeamMemberGameAccountDialog.vue?d872","webpack:///./src/renderer/modules/tournament/components/EditTournamentTeamMemberGameAccountDialog/EditTournamentTeamMemberGameAccountDialog.vue","webpack:///./src/renderer/modules/tournament/components/EditTournamentTeamMemberGameAccountDialog/EditTournamentTeamMemberGameAccountDialog.vue?88a0","webpack:///./src/renderer/modules/tournament/components/EditTournamentTeamMemberGameAccountDialog/EditTournamentTeamMemberGameAccountDialog.vue?a627","webpack:///./src/renderer/modules/tournament/components/EditTournamentTeamMemberGameAccountDialog/index.ts","webpack:///./src/renderer/modules/tournament/components/EditTournamentFormResponseDialog/EditTournamentFormResponseDialog.vue?e583","webpack:///./src/renderer/modules/tournament/components/EditTournamentFormResponseDialog/EditTournamentFormResponseDialog.vue","webpack:///./src/renderer/modules/tournament/components/EditTournamentFormResponseDialog/EditTournamentFormResponseDialog.vue?51b2","webpack:///./src/renderer/modules/tournament/components/EditTournamentFormResponseDialog/EditTournamentFormResponseDialog.vue?bea4","webpack:///./src/renderer/modules/tournament/components/EditTournamentFormResponseDialog/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TeamRegistrationStatus.vue","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TeamRegistrationStatus.vue?dc82","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TeamRegistrationStatus.vue?4619","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistration/TeamRegistration.vue?d889","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistration/TeamRegistration.vue","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistration/TeamRegistration.vue?2701","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistration/TeamRegistration.vue?d3c3","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistration/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete/TeamRegistrationComplete.vue?92c7","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/TournamentDetailsHeader.vue?b3e4","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/TournamentDetailsHeader.vue","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/TournamentDetailsHeader.vue?c533","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/TournamentDetailsHeader.vue?b6a5","webpack:///./src/renderer/modules/tournament/components/TournamentDetailsHeader/index.ts","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TournamentRegistration/TournamentRegistration.vue?1d76","webpack:///./src/renderer/modules/tournament/components/TournamentActionDialog/TeamRegistration/TeamRegistration.vue?eea8"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","_v","_s","$t","_l","group","index","key","selectedGroup","name","on","$event","current","maxTeams","_e","canSelectGroup","isSelectingGroup","tournamentAction","perTeamRegistrationFee","registrationFee","$vuetify","breakpoint","mobile","tournament","hasGroup","onNext","staticRenderFns","tournamentModule","$store","isGroupsLoading","groups","fetchGroups","onSeedChanged","$emit","getTournamentGroups","tournamentId","res","data","payload","$toast","error","getMessage","selectedTournament","find","available","default","required","components","component","VBtn","VCardTitle","VCard","VCol","VContainer","VDivider","VIcon","VList","VListItem","VListItemAvatar","VListItemContent","VListItemSubtitle","VListItemTitle","VProgressCircular","VRow","VSlideXTransition","TournamentTeamPostAPI","page","filter","get","API_PREFIX","params","paramsSerializer","stringify","arrayFormat","tournamentTeamId","post","memberId","message","teamId","delete","put","ref","preventDefault","submitForm","model","value","callback","$$v","isValid","expression","Object","keys","schema","theSchema","shouldHide","minLen","l","v","length","maxLen","msg","requiredArray","minLength","Array","isArray","rules","requiredEmail","requiredSel","requiredSelMult","max12","min6","validEmail","test","shouldHideForm","form","validate","submit","type","VFormBase","VForm","teamToken","copyTeamToken","teamTokenUrl","copyTeamTokenUrl","hideLfg","toLookForGroup","onClose","$router","push","$copyText","teamTokenTrimmed","teamTokenTextField","$el","then","e","info","teamTokenUrlTextField","replace","isElectron","window","location","origin","Boolean","VTextField","isVisible","close","indexOf","_k","keyCode","posts","tournamentTeam","popEditDialog","comment","createTime","member","nickname","avatar","submittingReply","submitReply","replyMessage","logo","teamAvatarName","state","TournamentState","OpenRegistration","hasLoggedIn","hasJoinedTournament","isTournamentTeamRegistered","setActionDialogVisible","popManageDialog","isPostOwner","isAbleToCancel","cancelRequestVisible","unpublishRequestVisible","userHasTeam","userIsCurrentTeamMember","manageDialogVisible","editDialogVisible","domProps","editMessage","closeEditDialog","submitEditTeamPost","requestJoinVisible","onJoinRequestConfirmed","onCancelRequestConfirmed","onUnpublishPostRequestConfirmed","commentTime","$moment","parseInt","time","fromNow","String","Number","UserAvatar","VCardSubtitle","VCardText","isProcessing","players","player","gameAccountNickname","rejectMember","approveMember","userModule","visible","fetchData","refreshSelectedRoster","getTournamentTeam","console","acceptJoinRequest","status","success","removeTeamMember","userId","role","VAlert","VCardActions","VDialog","VListItemAction","VSpacer","isModalVisible","back","setIsVisible","step","detailRules","onIGNCompleted","setFormResponse","onJoinDetailReviewed","i","steps","from","_","formResponse","fetchTournamentCustomFormSchema","setTimeout","gameAccountRegistration","reset","readAndAccept","enterInvitationCode","teamRegistration","getTournamentCustomFormSchema","response","schemaLength","fetchJoinedTournamentTeam","getMemberJoinedTournamentTeam","getStatusCode","confirmTeamJoin","selectedTournamentTeam","InGameNameRegistration","ReadAndAccept","EnterInvitationCode","TeamRegistration","TeamRegistrationStatus","TournamentRegistration","TeamRegistrationComplete","TeamJoinDetailReview","TournamentCustomForm","VSheet","VWindow","VWindowItem","layoutModule","memberModule","selectedMatchRoster","isLoading","realtimeConnectionCancellationToken","realtimeConnection","onTournamentTeamPostEdited","realtime","addEventListener","onRealtimeReconnected","destroyRealtime","newTournamentTeamId","oldTournamentTeamId","send","$route","showLFGModal","cancel","hideLFGModal","off","onTournamentTeamPostCommentUpdated","removeEventListener","$nextTick","chatContent","scrollTop","commenterMemberId","requestToJoin","submitTournamentFormResponse","leaveTeam","unpublishTeam","trim","replyTeamPost","JSON","getTeamPostDetails","updateTeamPost","tournamentLFGModalVisible","comments","sort","a","b","userTeam","isUserJoined","userTeamDetail","RequestToJoin","Registered","HTMLDivElement","DiscussionMessage","ConfirmDialog","TeamLFGManagement","LFGJoinActionDialog","VAppBar","VAppBarTitle","VAvatar","VChip","VImg","VTextarea","getElementScrollRemaining","element","scrollHeight","offsetHeight","minimize","log","ipcRenderer","quit","isTournamentTeamPublished","openDialog","xs","isTeamCaptain","publishTournamentTeam","teamPosts","avatarInitial","_f","class","green","TournamentTeamState","PendingJoin","orange","PendingConfirmRoster","recruitDialogVisible","recruitMessage","closeRecruitDialog","submitPublishTournamentTeam","selectedLFGModalTournamentTeamId","forceFetch","appendDataAllowed","currentPage","hasMorePage","fetchTournamentTeamPosts","fetchTournamentTeamPublished","onTournamentPostsUpdated","getTournamentTeamPosts","items","getPosts","event","target","publishTeam","Captain","TournamentDetailsHeader","TournamentLFGModal","VListItemActionText","isChangeTeamCaptainDialogVisible","staticStyle","isSoloTournament","teamTokenOutput","isGeneratingTeamToken","generateTeamToken","onConfirmRoster","onUnconfirmRoster","isRegistrationPeriod","isEditTournamentGroupDialogVisible","isEditGameAccountDialogVisible","isTournamentResponseEditDialogVisible","onTournamentGroupChanged","onGameAccountNameChanged","captainChanged","dialog","onRemoveTeamMemberClick","waitingTeamRegistration","selectingTeamRoster","capacityMinPlayersPerTeam","capacityMaxPlayersPerTeam","caption","tournamentPlayer","selectedTeamRoster","onParticipantIndividualClick","isSelectingTeamRoster","getTeamPlayerIsStarter","TournamentTeamRole","Member","removeMemberId","remainingPlayer","remainingIndex","canChooseVenue","venues","scopedSlots","_u","fn","props","item","venue","address1","address2","quota","selectedVenueId","confirmLoading","onConfirmTournamentTeamRosterClick","undoConfirmLoading","onUndoConfirmRosterClick","oldtournamentTeam","refreshSelectedTeamRoster","refreshVenues","confirmTournamentTeamRosterRequest","confirmTournamentTeamRoster","undoConfirmTournamentTeamRoster","includes","map","isStarter","getTournamentVenues","tv","removeTournamentTeamMember","splice","teamRosterTotalCapacityExceeded","dismissable","icon","teamRosterStarterCapacityExceeded","playersPerTeam","memberIds","self","paymentMethod","undefined","onUndoConfirmRoster","num","some","deep","VSelect","newCaptainMemberId","isCurrentCaptain","onNewCaptainSelected","confirmDialogMessage","isConfirmDialogVisible","changeCaptain","newCaptainMemberName","isChangeCaptainLoading","changeTournamentTeamCaptain","Ok","captainName","isChangingGroup","changeGroup","inGameNameRules","t","editTournamentTeam","isChangingName","game","me","wildRiftHint","newGameAccountName","changeName","changeTournamentTeamGameAccount","nameChanged","fetchTournamentTeamFormResponse","updateTournamentFormResponse","getMemberTournamentFormResponse","parse","fetchTournamentFormSchemaFallback","oldSelectedTournamentTeam","tournamentPlayers","onTournamentPlayerUpdated","onTournamentPlayerRemoved","onTournamentTeamRegistered","onTournamentTeamCaptainChanged","addPlayerToSelectedTournamentTeam","setSelectedTournamentTeamRegistered","refreshTeamToken","CompleteRegistration","validTournamentStates","Initial","Published","TournamentPlayers","TournamentTeamChangeCaptainDialog","EditTournamentGroupDialog","EditTournamentFormResponseDialog","EditTournamentTeamMemberGameAccountDialog","VStepper","VStepperContent","VStepperStep","isReviewing","toReview","isFormValid","tournamentTeamForm","accepted","loading","onSubmit","nameRules","$set","size","logoFile","createTournamentTeam","file","onTournamentTeamCreated","TeamDetailReview","VCheckbox","right","center","header"],"mappings":"4KAAA,yBAAiwB,EAAG,G,oCCApwB,yBAAyuB,EAAG,G,sFCA5uB,yBAA2uB,EAAG,G,oCCA9uB,yBAA8uB,EAAG,G,oCCAjvB,yBAAutB,EAAG,G,oCCA1tB,yBAAyuB,EAAG,G,oCCA5uB,yBAAotB,EAAG,G,oCCAvtB,yBAAiuB,EAAG,G,oCCApuB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,uBAAuB,CAACE,MAAM,CAAC,gBAAgB,KAAK,CAAEN,EAAoB,iBAAEI,EAAG,MAAM,CAACA,EAAG,eAAe,CAACG,YAAY,QAAQ,CAACH,EAAG,KAAK,CAACG,YAAY,mBAAmB,CAACP,EAAIQ,GAAG,IAAIR,EAAIS,GAAGT,EAAIU,GAAG,uCAAuC,SAASN,EAAG,cAAc,CAACG,YAAY,aAAaD,MAAM,CAAC,MAAQ,KAAK,CAAEN,EAAmB,gBAAEI,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACG,YAAY,yBAAyB,CAACH,EAAG,sBAAsB,CAACE,MAAM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EAAiB,QAchC,IAAkBA,EAAW,CAACC,OAAA,KAAKC,WAAAC,EAAA,KAAW+b,YAAA,KAAU9b,OAAA,KAAKC,aAAA,KAAWkE,QAAA,KAAMhE,QAAA,KAAMQ,OAAA,KAAK2J,UAAA,KAAQ3E,aAAA,OC9BlF,U,kCCHf,yBAAgvB,EAAG,G,yDCAnvB,IAAIvJ,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACG,YAAY,UAAU0U,MAAM,CAAE,aAAcjV,EAAI0f,MAAO,cAAe1f,EAAI2f,QAASrf,MAAM,CAAC,KAAO,OAAO,CAACN,EAAIQ,GAAG,IAAIR,EAAIS,GAAGT,EAAI4f,QAAQ,QAAQ,IACnQ3d,EAAkB,G,4DCeD,EAArB,qIAAqD,QACzB,QAAzB,eAAK,CAAEoB,UAAU,I,2DACuB,QAAxC,eAAK,CAAEuE,KAAMyB,QAASjG,SAAS,I,2DACS,QAAxC,eAAK,CAAEwE,KAAMyB,QAASjG,SAAS,I,4DAHb,EAAuB,QAD3C,QACoB,WChBohB,I,qECQriBG,EAAY,eACd,EACAxD,EACAkC,GACA,EACA,KACA,WACA,MAIa,EAAAsB,EAAiB,QAMhC,IAAkBA,EAAW,CAACI,OAAA,KAAKW,OAAA,OCtBpB,U,gFCHf,yBAA8uB,EAAG,G,kCCAjvB,yBAAwuB,EAAG","file":"js/tournament-details-lfg.de2b2c28.js","sourcesContent":["import mod from \"-!../../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentPlayers.vue?vue&type=style&index=0&id=0c89911a&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentPlayers.vue?vue&type=style&index=0&id=0c89911a&lang=scss&scoped=true&\"","import mod from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamLFGManagement.vue?vue&type=style&index=0&id=e5fa81fa&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamLFGManagement.vue?vue&type=style&index=0&id=e5fa81fa&lang=scss&scoped=true&\"","import mod from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./LFGJoinActionDialog.vue?vue&type=style&index=0&id=7189be91&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./LFGJoinActionDialog.vue?vue&type=style&index=0&id=7189be91&lang=scss&scoped=true&\"","import mod from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamRegistrationStatus.vue?vue&type=style&index=0&id=70a0e8da&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamRegistrationStatus.vue?vue&type=style&index=0&id=70a0e8da&lang=scss&scoped=true&\"","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentDetailsHeader.vue?vue&type=style&index=0&id=92d32218&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentDetailsHeader.vue?vue&type=style&index=0&id=92d32218&lang=scss&scoped=true&\"","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=style&index=0&id=9e79fe70&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=style&index=0&id=9e79fe70&lang=scss&scoped=true&\"","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentDetailsLFG.vue?vue&type=style&index=0&id=562f0112&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentDetailsLFG.vue?vue&type=style&index=0&id=562f0112&lang=scss&scoped=true&\"","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentTeamChangeCaptainDialog.vue?vue&type=style&index=0&id=2f978412&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentTeamChangeCaptainDialog.vue?vue&type=style&index=0&id=2f978412&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-slide-x-transition',{attrs:{\"hide-on-leave\":\"\"}},[(_vm.isSelectingGroup)?_c('div',[_c('v-card-title',{staticClass:\"pt-0\"},[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.SelectGroup'))+\" \")])]),_c('v-container',{staticClass:\"my-10 py-8\",attrs:{\"fluid\":\"\"}},[(_vm.isGroupsLoading)?_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":\"100\"}})],1)],1):[_c('v-row',[_c('v-col',{staticClass:\"text-center font-italic font-weight-bold\",attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.SelectGroupPlease'))+\" \")])],1),_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-list',{staticClass:\"py-0 group-list\",attrs:{\"two-line\":\"\",\"outlined\":\"\"}},_vm._l((_vm.groups),function(group,index){return _c('v-list-item',{key:(\"group-li-\" + index),staticClass:\"group-li\",attrs:{\"input-value\":_vm.selectedGroup === group.name},on:{\"click\":function($event){_vm.selectedGroup = group.name}}},[_c('v-list-item-avatar',[_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-account-group\")])],1),_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"title action-option\"},[_vm._v(_vm._s(group.name))]),_c('v-list-item-subtitle',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.CurrentGroupTeamNumbers'))+\" \"),(group.current <= 0 && group.maxTeams <= 0)?[_vm._v(\" -- \")]:(group.maxTeams <= 0)?[_vm._v(\" \"+_vm._s(group.current)+\" \")]:[_vm._v(\" \"+_vm._s(group.current)+\" / \"+_vm._s(group.maxTeams)+\" \")],_vm._v(\" . \"),(group.available)?_c('span',{staticClass:\"green--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.Available'))+\" \")]):_c('span',{staticClass:\"red--text\"},[_vm._v(_vm._s(_vm.$t('TournamentRegistration.Unavailable')))])],2)],1)],1)}),1)],1)],1),_c('v-row',[_c('v-col',{staticClass:\"text-center\"},[(_vm.isSelectedGroupNotAvailable)?_c('small',{staticClass:\"red--text\"},[_c('v-icon',{attrs:{\"color\":\"red\",\"left\":\"\"}},[_vm._v(\"mdi-alert\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.AlreadyFull'))+\" \")],1):_vm._e()])],1)]],2),_c('div',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"px-5\",attrs:{\"color\":\"primary\",\"large\":\"\",\"disabled\":!_vm.canSelectGroup},on:{\"click\":function($event){_vm.isSelectingGroup = false}}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.Next'))+\" \"),_c('v-icon',[_vm._v(\"mdi-arrow-right\")])],1)],1)],1):_vm._e()]),_c('v-slide-x-transition',{attrs:{\"leave-absolute\":\"\"}},[(!_vm.isSelectingGroup)?_c('div',[_c('v-card-title',{staticClass:\"pt-0\"},[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.Registration'))+\" \")])]),_c('v-container',{staticClass:\"my-10 py-8\",attrs:{\"fluid\":\"\"}},[_c('v-row',[_c('v-col',{staticClass:\"text-center font-italic font-weight-bold\",attrs:{\"cols\":\"12\"}},[(_vm.tournamentAction === 'create')?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.CreateTeamMessage'))+\" \"),(_vm.perTeamRegistrationFee > 0)?_c('div',{staticClass:\"red--text font-weight-bold\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.RegistrationFeeReminder', { registrationFee: _vm.perTeamRegistrationFee }))+\" \")]):_vm._e()]:(_vm.tournamentAction === 'join')?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.JoinTeamMessage'))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.PleaseSelectAnOption'))+\" \")]],2)],1),_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-list',{staticClass:\"py-0\",attrs:{\"two-line\":\"\",\"outlined\":\"\"}},[_c('v-list-item',{staticClass:\"registration-action\",attrs:{\"input-value\":_vm.tournamentAction === 'create'},on:{\"click\":function($event){_vm.tournamentAction = 'create'}}},[_c('v-list-item-avatar',[_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-account-plus\")])],1),_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"title action-option\"},[_vm._v(_vm._s(_vm.$t('TournamentRegistration.CreateTeam')))]),(!_vm.$vuetify.breakpoint.mobile)?_c('v-list-item-subtitle',[_vm._v(_vm._s(_vm.$t('TournamentRegistration.CreateTeamMessage')))]):_vm._e()],1)],1),_c('v-divider'),_c('v-list-item',{staticClass:\"registration-action\",attrs:{\"active-class\":\"selected\",\"input-value\":_vm.tournamentAction === 'join'},on:{\"click\":function($event){_vm.tournamentAction = 'join'}}},[_c('v-list-item-avatar',[_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-shield-key-outline\")])],1),_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"title action-option\"},[_vm._v(_vm._s(_vm.$t('TournamentRegistration.JoinTeam')))]),(!_vm.$vuetify.breakpoint.mobile)?_c('v-list-item-subtitle',[_vm._v(_vm._s(_vm.$t('TournamentRegistration.JoinTeamMessage')))]):_vm._e()],1)],1)],1)],1)],1)],1),_c('div',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"px-5 mx-2\",attrs:{\"large\":\"\",\"disabled\":!this.tournament.hasGroup},on:{\"click\":function($event){_vm.isSelectingGroup = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-arrow-left\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.SelectGroup'))+\" \")],1),_c('v-btn',{staticClass:\"px-5 mx-2\",attrs:{\"color\":\"primary\",\"large\":\"\",\"disabled\":!_vm.tournamentAction},on:{\"click\":_vm.onNext}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.Next'))+\" \"),_c('v-icon',[_vm._v(\"mdi-arrow-right\")])],1)],1)],1):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {\r\n Vue,\r\n Component,\r\n Emit,\r\n PropSync,\r\n Prop,\r\n Watch\r\n} from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\n// import InsufficientCreditDialog from '@/modules/payment/components/InsufficientCreditDialog'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { TournamentAPI, TournamentGroupAvailability } from '@/api/tournament'\r\nimport ServerError from '@/utils/server_error'\r\n// import paymentStore from '@/modules/payment/payment.store'\r\n\r\n@Component({\r\n components: {\r\n // InsufficientCreditDialog\r\n }\r\n})\r\nexport default class TournamentRegistration extends Vue {\r\n @PropSync('action', { default: null })\r\n tournamentAction!: 'create' | 'join' | null\r\n\r\n @Prop({ required: true })\r\n seed!: number\r\n\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n // paymentModule = getModule(paymentStore, this.$store)\r\n\r\n // isCheckingBalance: boolean = false\r\n // isInsufficientCreditDialogVisible: boolean = false\r\n\r\n isSelectingGroup: boolean = false\r\n selectedGroup: string | null = null\r\n\r\n isGroupsLoading: boolean = false\r\n groups: TournamentGroupAvailability[] = []\r\n\r\n @Watch('seed')\r\n async onSeedChanged() {\r\n this.isSelectingGroup = this.tournament!.hasGroup\r\n this.selectedGroup = null\r\n\r\n if (this.isSelectingGroup) {\r\n await this.fetchGroups()\r\n }\r\n }\r\n\r\n async mounted() {\r\n await this.onSeedChanged()\r\n }\r\n\r\n /* Emitters */\r\n @Emit('back')\r\n onBack() {\r\n return this\r\n }\r\n\r\n /* Methods */\r\n async onNext() {\r\n // Check balance if tournament contains per team registration fee\r\n /* if (this.perTeamRegistrationFee !== 0) {\r\n this.isCheckingBalance = true\r\n await this.paymentModule.getWallet()\r\n this.$nextTick(() => {\r\n this.isCheckingBalance = false\r\n if (!this.wallet || this.wallet.subtotal < this.perTeamRegistrationFee)\r\n this.isInsufficientCreditDialogVisible = true\r\n else this.$emit('next')\r\n })\r\n } else { */\r\n this.$emit('next', this.selectedGroup)\r\n // }\r\n }\r\n\r\n async fetchGroups() {\r\n this.isGroupsLoading = true\r\n\r\n try {\r\n const res = await TournamentAPI.getTournamentGroups(\r\n this.tournament!.tournamentId\r\n )\r\n this.groups = res.data.payload!\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Landing.SystemErrorMessage'))\r\n }\r\n } finally {\r\n this.isGroupsLoading = false\r\n }\r\n }\r\n\r\n /* Computed Properties */\r\n get tournament() {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get perTeamRegistrationFee() {\r\n return 0\r\n // if (!this.tournament) return 0\r\n // return this.tournament.paymentPerTeamRegistrationFee\r\n }\r\n /*\r\n\r\n get wallet() {\r\n return this.paymentModule.wallet\r\n } */\r\n\r\n get canSelectGroup() {\r\n if (!this.selectedGroup) {\r\n return false\r\n }\r\n\r\n const group = this.groups.find(group => group.name === this.selectedGroup)\r\n if (!group) return false\r\n return group.available\r\n }\r\n\r\n get isSelectedGroupNotAvailable() {\r\n const group = this.groups.find(group => group.name === this.selectedGroup)\r\n if (!group) return false\r\n return !group.available\r\n }\r\n}\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentRegistration.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentRegistration.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentRegistration.vue?vue&type=template&id=c20a9e84&scoped=true&\"\nimport script from \"./TournamentRegistration.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentRegistration.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentRegistration.vue?vue&type=style&index=0&id=c20a9e84&lang=scss&scoped=true&\"\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 \"c20a9e84\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSlideXTransition } from 'vuetify/lib/components/transitions';\ninstallComponents(component, {VBtn,VCardTitle,VCol,VContainer,VDivider,VIcon,VList,VListItem,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle,VProgressCircular,VRow,VSlideXTransition})\n","import TournamentRegistration from './TournamentRegistration.vue'\r\n\r\nexport { TournamentRegistration }\r\nexport default TournamentRegistration\r\n","import axios from '@/utils/request'\r\nimport { AxiosPromise } from 'axios'\r\nimport Qs from 'qs'\r\nimport { BaseResponse, ResponseStatus } from '.'\r\nimport { TournamentTeamEntity, TournamentTeamState } from './tournamentTeam'\r\nimport { MemberSnippetEntity } from './member'\r\n\r\nexport { BaseResponse, ResponseStatus }\r\n\r\nexport interface TournamentTeamPostsPagination {\r\n items: TournamentTeamPostEntity[]\r\n hasMorePage: boolean\r\n}\r\n\r\nexport interface TournamentTeamPostEntity {\r\n tournamentTeam: TournamentTeamEntity\r\n member: MemberSnippetEntity\r\n id: string\r\n message: string\r\n createTime: number\r\n lastUpdateTime: number\r\n isOwner: boolean\r\n}\r\n\r\nexport interface TournamentTeamPostsFilter {\r\n tournamentId: string | undefined\r\n tournamentTeamId: string | undefined\r\n isOwner: boolean | undefined\r\n}\r\n\r\n// New API\r\n\r\nexport interface TeamPostsPagination {\r\n items: TeamPostEntity[]\r\n hasMorePage: boolean\r\n}\r\n\r\nexport interface TeamPostComment {\r\n id: string\r\n createTime: number\r\n member: MemberSnippetEntity\r\n message: string\r\n}\r\n\r\nexport interface TeamPostEntity {\r\n comments: TeamPostComment[]\r\n id: string\r\n createTime: number\r\n lastUpdateTime: number\r\n lastCommentTime: number\r\n numOfComments: number\r\n member: MemberSnippetEntity\r\n message: string\r\n tournamentTeam: TournamentTeamEntity\r\n}\r\n\r\nexport class TournamentTeamPostAPI {\r\n public static API_PREFIX = '/tournament/v1'\r\n\r\n public static getPosts(\r\n page: number = 1,\r\n filter: TournamentTeamPostsFilter | {} = {}\r\n ): AxiosPromise> {\r\n return axios.get(`${this.API_PREFIX}/tournament-team-posts`, {\r\n params: {\r\n page,\r\n ...filter\r\n },\r\n paramsSerializer: params =>\r\n Qs.stringify(params, { arrayFormat: 'repeat' })\r\n })\r\n }\r\n\r\n public static requestToJoin(\r\n tournamentTeamId: string\r\n ): AxiosPromise {\r\n return axios.post(\r\n `${this.API_PREFIX}/tournament-teams/${tournamentTeamId}/request-join`\r\n )\r\n }\r\n\r\n public static acceptJoinRequest(\r\n tournamentTeamId: string,\r\n memberId: string\r\n ): AxiosPromise {\r\n return axios.post(\r\n `${this.API_PREFIX}/tournament-teams/${tournamentTeamId}/accept-join-request`,\r\n { memberId }\r\n )\r\n }\r\n\r\n public static publishTeam(\r\n tournamentTeamId: string,\r\n message: string\r\n ): AxiosPromise {\r\n return axios.post(\r\n `${this.API_PREFIX}/tournament-teams/${tournamentTeamId}/publish`,\r\n { message }\r\n )\r\n }\r\n\r\n public static unpublishTeam(\r\n tournamentTeamId: string\r\n ): AxiosPromise {\r\n return axios.post(\r\n `${this.API_PREFIX}/tournament-teams/${tournamentTeamId}/unpublish`\r\n )\r\n }\r\n\r\n public static leaveTeam(teamId: string): AxiosPromise {\r\n return axios.delete(`${this.API_PREFIX}/tournament-teams/${teamId}/members`)\r\n }\r\n\r\n // New API\r\n public static getTournamentTeamPosts(\r\n tournamentId: string,\r\n page: number = 1\r\n ): AxiosPromise> {\r\n return axios.get(\r\n `${this.API_PREFIX}/tournaments/${tournamentId}/team-posts`,\r\n {\r\n params: {\r\n page\r\n }\r\n }\r\n )\r\n }\r\n\r\n public static getTeamPostDetails(\r\n tournamentTeamId: string\r\n ): AxiosPromise> {\r\n return axios.get(\r\n `${this.API_PREFIX}/tournament-teams/${tournamentTeamId}/posts`\r\n )\r\n }\r\n\r\n public static updateTeamPost(\r\n tournamentTeamId: string,\r\n message: string\r\n ): AxiosPromise {\r\n return axios.put(\r\n `${this.API_PREFIX}/tournament-teams/${tournamentTeamId}/posts`,\r\n { message }\r\n )\r\n }\r\n\r\n public static replyTeamPost(\r\n tournamentTeamId: string,\r\n message: string\r\n ): AxiosPromise {\r\n return axios.post(\r\n `${this.API_PREFIX}/tournament-teams/${tournamentTeamId}/posts/comments`,\r\n { message }\r\n )\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fill-height\"},[_c('v-card-title',{staticClass:\"pt-0\"},[_c('h2',{staticClass:\"heading mx-auto\"},[_c('v-icon',{attrs:{\"left\":\"\",\"large\":\"\"}},[_vm._v(\"mdi-text-box-check-outline\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentCustomForm.Title'))+\" \")],1)]),_c('div',{staticClass:\"subtitle-1 text-center mb-5\"},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentCustomForm.Subtitle'))+\" \")])]),_c('v-form',{ref:\"form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.submitForm($event)}},model:{value:(_vm.isValid),callback:function ($$v) {_vm.isValid=$$v},expression:\"isValid\"}},[(Object.keys(_vm.schema).length)?_c('v-form-base',{attrs:{\"schema\":_vm.theSchema,\"model\":_vm.value}}):_c('div',{staticClass:\"text-center orange--text\"},[_vm._v(\"沒有額外資料需要填寫\")])],1),_c('v-btn',{staticClass:\"mt-12\",attrs:{\"block\":\"\",\"depressed\":\"\",\"x-large\":\"\",\"color\":\"success\",\"disabled\":!_vm.isValid},on:{\"click\":_vm.submitForm}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentCustomForm.Submit'))+\" \")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop, Emit, Ref } from 'vue-property-decorator'\r\nimport VFormBase from 'vuetify-form-base'\r\nimport { TournamentAPI } from '@/api/tournament'\r\n\r\ninterface VForm extends HTMLFormElement {\r\n validate(): boolean\r\n}\r\n\r\n@Component({\r\n components: {\r\n VFormBase\r\n }\r\n})\r\nexport default class TournamentCustomForm extends Vue {\r\n @Prop({ type: Object, required: true }) readonly schema!: any\r\n\r\n @Ref() readonly form!: VForm\r\n\r\n isValid: boolean = false\r\n\r\n value: any = {}\r\n\r\n @Emit('submit')\r\n submit() {\r\n return this.value\r\n }\r\n\r\n // FIXME: temp code\r\n\r\n shouldHide: boolean = false\r\n\r\n async created() {\r\n try {\r\n const res = await TournamentAPI.shouldHideForm()\r\n this.shouldHide = res.data.payload!\r\n } catch (err) {\r\n // we don't care\r\n }\r\n }\r\n\r\n get theSchema() {\r\n if (this.shouldHide) {\r\n const schema = { ...this.schema }\r\n delete schema['studentidf']\r\n delete schema['studentidb']\r\n\r\n return schema\r\n }\r\n\r\n return this.schema\r\n }\r\n\r\n // end of temp code\r\n\r\n submitForm() {\r\n if (!this.form.validate()) return\r\n\r\n // Invoke and emit submit form event\r\n this.submit()\r\n }\r\n\r\n // Validation Rules\r\n\r\n // Helper & Partial Functions\r\n minLen = (l: any) => (v: string) =>\r\n (v && v.length >= l) || `min. ${l} Characters`\r\n maxLen = (l: any) => (v: string) =>\r\n (v && v.length <= l) || `max. ${l} Characters`\r\n required = (msg: string) => (v: string) => !!v || msg\r\n requiredArray = (msg: string, minLength = 1) => (v: any[]) =>\r\n (Array.isArray(v) && v.length > minLength) || msg\r\n\r\n // Rules\r\n rules = {\r\n requiredEmail: this.required('E-mail is required'),\r\n requiredSel: this.required('Selection is required'),\r\n requiredSelMult: this.requiredArray('2 Selections are required'),\r\n max12: this.maxLen(12),\r\n min6: this.minLen(6),\r\n validEmail: (v: string) => /.+@.+\\..+/.test(v) || 'E-mail must be valid'\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentCustomForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentCustomForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentCustomForm.vue?vue&type=template&id=d70499a4&scoped=true&\"\nimport script from \"./TournamentCustomForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentCustomForm.vue?vue&type=script&lang=ts&\"\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 \"d70499a4\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VBtn,VCardTitle,VForm,VIcon})\n","import TournamentCustomForm from './TournamentCustomForm.vue'\r\nexport default TournamentCustomForm\r\nexport { TournamentCustomForm }\r\n","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentLFGModal.vue?vue&type=style&index=0&id=1aa479bc&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentLFGModal.vue?vue&type=style&index=0&id=1aa479bc&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card-title',{staticClass:\"pt-0 py-10\"},[_c('h2',{staticClass:\"heading mx-auto text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationComplete.RegistrationComplete'))+\" \")])]),_c('div',{staticClass:\"my-10 py-5\"},[_c('div',{staticClass:\"subtitle-2 text-center mb-5\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationComplete.RegisteredTournamentSuccessfullyMessage'))+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationComplete.SendInformationToTeamMembersMessage'))+\" \")]),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\",\"offset-sm\":\"3\"}},[_c('v-text-field',{ref:\"teamTokenTextField\",staticClass:\"teamtoken-field\",attrs:{\"outlined\":\"\",\"readonly\":\"\",\"label\":this.$t('TeamRegistrationComplete.TeamCode'),\"value\":_vm.teamToken,\"hide-details\":\"\",\"append-icon\":\"mdi-content-copy\"},on:{\"click:append\":_vm.copyTeamToken}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"6\",\"offset-sm\":\"3\"}},[_c('v-text-field',{ref:\"teamTokenUrlTextField\",staticClass:\"teamtoken-field\",attrs:{\"outlined\":\"\",\"readonly\":\"\",\"label\":this.$t('TeamRegistrationComplete.ShareLink'),\"value\":_vm.teamTokenUrl,\"hide-details\":\"\",\"append-icon\":\"mdi-content-copy\"},on:{\"click:append\":_vm.copyTeamTokenUrl}})],1)],1),(!_vm.hideLfg)?_c('v-row',{staticClass:\"text-center\",attrs:{\"justify\":\"center\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('h3',{staticClass:\"my-5\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationComplete.LookingForTeam'))+\" \")]),_c('v-btn',{attrs:{\"color\":\"primary\",\"large\":\"\"},on:{\"click\":_vm.toLookForGroup}},[_c('v-icon',[_vm._v(\"mdi-bullhorn\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentDetailsLFG.RecruitMember'))+\" \")],1)],1)],1):_vm._e()],1),_c('div',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"px-5\",attrs:{\"color\":\"success\",\"large\":\"\"},on:{\"click\":function($event){return _vm.onClose()}}},[_c('v-icon',[_vm._v(\"mdi-check\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationComplete.Finish'))+\" \")],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { isElectron } from '@/utils/electron'\r\nimport { Vue, Component, Emit, Prop, Ref } from 'vue-property-decorator'\r\n\r\n@Component\r\nexport default class TeamRegistrationComplete extends Vue {\r\n @Prop({ required: true })\r\n readonly teamToken!: string\r\n\r\n @Ref('teamTokenTextField')\r\n readonly teamTokenTextField!: { $el: HTMLInputElement }\r\n\r\n @Ref('teamTokenUrlTextField')\r\n readonly teamTokenUrlTextField!: { $el: HTMLInputElement }\r\n\r\n @Prop({ type: Boolean, default: false }) readonly hideLfg!: boolean\r\n\r\n @Emit('close')\r\n onClose() {\r\n return this\r\n }\r\n\r\n toLookForGroup() {\r\n this.$router.push({ name: 'TournamentDetailsLFG' })\r\n this.onClose()\r\n }\r\n\r\n get teamTokenTrimmed() {\r\n return this.teamToken.replace(' ', '')\r\n }\r\n\r\n get teamTokenUrl() {\r\n if (this.isElectron) {\r\n return process.env.VUE_APP_TEAM_TOKEN_URL!.replace(\r\n '%teamToken%',\r\n this.teamTokenTrimmed\r\n )\r\n }\r\n return `${window.location.origin}/invite/${this.teamTokenTrimmed}`\r\n }\r\n\r\n get isElectron() {\r\n return isElectron()\r\n }\r\n\r\n copyTeamToken() {\r\n this.$copyText(this.teamTokenTrimmed, this.teamTokenTextField.$el).then(\r\n e => {\r\n this.$toast.info(\r\n this.$t('TeamRegistrationComplete.CopiedTeamCodeToClipboard')\r\n )\r\n },\r\n e => {\r\n this.$toast.error(\r\n this.$t('TeamRegistrationComplete.FailedToCopyToClipboard')\r\n )\r\n }\r\n )\r\n }\r\n\r\n copyTeamTokenUrl() {\r\n this.$copyText(this.teamTokenUrl, this.teamTokenUrlTextField.$el).then(\r\n e => {\r\n this.$toast.info(\r\n this.$t('TeamRegistrationComplete.CopiedTeamCodeToClipboard')\r\n )\r\n },\r\n e => {\r\n this.$toast.error(\r\n this.$t('TeamRegistrationComplete.FailedToCopyToClipboard')\r\n )\r\n }\r\n )\r\n }\r\n}\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamRegistrationComplete.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamRegistrationComplete.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TeamRegistrationComplete.vue?vue&type=template&id=29001bc9&scoped=true&\"\nimport script from \"./TeamRegistrationComplete.vue?vue&type=script&lang=ts&\"\nexport * from \"./TeamRegistrationComplete.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TeamRegistrationComplete.vue?vue&type=style&index=0&id=29001bc9&lang=scss&scoped=true&\"\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 \"29001bc9\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCardTitle,VCol,VIcon,VRow,VTextField})\n","import TeamRegistrationComplete from './TeamRegistrationComplete.vue'\r\n\r\nexport { TeamRegistrationComplete }\r\nexport default TeamRegistrationComplete\r\n","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./EditTournamentFormResponseDialog.vue?vue&type=style&index=0&id=d317a484&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./EditTournamentFormResponseDialog.vue?vue&type=style&index=0&id=d317a484&lang=scss&scoped=true&\"","import mod from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./EditTournamentGroupDialog.vue?vue&type=style&index=0&id=74837e1e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./EditTournamentGroupDialog.vue?vue&type=style&index=0&id=74837e1e&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"value\":_vm.isVisible,\"max-width\":\"90rem\",\"persistent\":\"\",\"fullscreen\":_vm.$vuetify.breakpoint.mobile},on:{\"click:outside\":_vm.close,\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.close($event)}}},[(_vm.posts)?_c('v-app-bar',{attrs:{\"flat\":\"\",\"color\":\"primary\"}},[_c('v-app-bar-title',[_c('v-icon',{attrs:{\"large\":\"\",\"left\":\"\"}},[_vm._v(\"mdi-magnify\")]),_vm._v(\" \"+_vm._s(_vm.posts.tournamentTeam.name)+\" \")],1),_c('v-spacer'),_c('v-icon',{attrs:{\"right\":\"\",\"large\":\"\"},on:{\"click\":_vm.close}},[_vm._v(\"mdi-close\")])],1):_vm._e(),(_vm.posts)?_c('v-card',{staticClass:\"lfg-card\"},[_c('v-container',{staticClass:\"lfg-container\",attrs:{\"fluid\":\"\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\",\"justify\":\"center\"}},[_c('v-col',{staticClass:\"d-flex flex-column\",attrs:{\"cols\":\"12\",\"md\":\"9\"}},[_c('v-card',{attrs:{\"flat\":\"\",\"tile\":\"\"}},[_c('v-card-title',[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-message-text\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentLFGModal.DescriptionTitle'))+\" \"),_c('v-spacer'),(_vm.isPostOwner)?_c('v-btn',{attrs:{\"icon\":\"\",\"large\":\"\"},on:{\"click\":_vm.popEditDialog}},[_c('v-icon',[_vm._v(\"mdi-pencil\")])],1):_vm._e()],1),_c('v-alert',{staticClass:\"title\",attrs:{\"color\":\"secondary lighten-1\",\"icon\":\"mdi-post-outline\",\"border\":\"top\",\"prominent\":\"\"}},[_c('div',{staticClass:\"author-message text-break\"},[_vm._v(\" \"+_vm._s(_vm.posts.message)+\" \")])])],1),_c('v-card',{attrs:{\"flat\":\"\",\"tile\":\"\"}},[_c('v-card-title',{staticClass:\"border-divider mb-5\"},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-forum\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentLFGModal.DiscussionTitle'))+\" \")],1),(_vm.posts)?_c('div',{ref:\"content\",staticClass:\"message-container pr-2\"},_vm._l((_vm.postComments),function(comment,index){return _c('DiscussionMessage',{key:(\"comment-\" + index),attrs:{\"message\":comment.message,\"time\":comment.createTime,\"name\":comment.member.nickname,\"avatar\":comment.member.avatar}})}),1):_vm._e(),(_vm.hasLoggedIn)?_c('v-row',{staticClass:\"mt-2\",attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"text-right\",attrs:{\"cols\":\"2\",\"sm\":\"1\"}},[_c('UserAvatar',{attrs:{\"imageUrl\":_vm.member.avatar,\"width\":48}})],1),_c('v-col',{staticClass:\"pl-3 pr-2\",attrs:{\"cols\":\"10\",\"sm\":\"11\"}},[_c('v-textarea',{attrs:{\"disabled\":_vm.submittingReply,\"loading\":_vm.submittingReply,\"counter\":\"\",\"maxlength\":\"150\",\"dense\":\"\",\"outlined\":\"\",\"rows\":\"2\",\"placeholder\":_vm.$t('TournamentLFGModal.CommentHints')},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.submitReply($event)}},model:{value:(_vm.replyMessage),callback:function ($$v) {_vm.replyMessage=$$v},expression:\"replyMessage\"}})],1)],1):_vm._e()],1)],1),_c('v-col',{staticClass:\"order-first order-lg-last\",attrs:{\"xs\":\"12\"}},[_c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-row',[_c('v-col',{staticClass:\"text-center\"},[(_vm.posts.tournamentTeam.logo)?_c('v-avatar',{staticClass:\"team-avatar\",attrs:{\"size\":\"112\",\"color\":\"secondary\"}},[_c('v-img',{attrs:{\"src\":_vm.posts.tournamentTeam.logo}})],1):_c('v-avatar',{staticClass:\"display-4\",attrs:{\"size\":\"112\",\"color\":\"secondary\"}},[_vm._v(\" \"+_vm._s(_vm.teamAvatarName)+\" \")]),_c('h2',[_vm._v(_vm._s(_vm.posts.tournamentTeam.name))])],1)],1)],1),_c('v-container',[(\n this.selectedTournament.state ===\n _vm.TournamentState.OpenRegistration\n )?[(_vm.isTeamActionButtonVisible)?_c('v-btn',{attrs:{\"block\":\"\",\"x-large\":\"\",\"color\":\"primary\",\"disabled\":!_vm.hasLoggedIn ||\n _vm.hasJoinedTournament ||\n _vm.isTournamentTeamRegistered},on:{\"click\":_vm.setActionDialogVisible}},[_c('v-icon',{attrs:{\"left\":\"\",\"large\":\"\"}},[_vm._v(\"mdi-swap-vertical-bold\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentLFGModal.RequestToJoin'))+\" \")],1):_c('v-btn',{staticClass:\"my-2 title\",attrs:{\"block\":\"\",\"x-large\":\"\",\"color\":\"secondary\"},on:{\"click\":_vm.popManageDialog}},[_c('v-icon',{staticClass:\"mr-2\",attrs:{\"large\":\"\"}},[_vm._v(\"mdi-cog\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentLFGModal.ManageJoinRequest'))+\" \")],1)]:[_c('v-alert',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"type\":\"error\"}},[(_vm.isPostOwner)?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentLFGModal.JoinRequestManagementDisabled'))+\" \")]:[_vm._v(\" \"+_vm._s(_vm.$t('TournamentLFGModal.RequestToJoinDisabled'))+\" \")]],2)]],2),_c('v-container',[(!_vm.isPostOwner && _vm.isAbleToCancel)?_c('v-btn',{attrs:{\"block\":\"\",\"x-large\":\"\",\"color\":\"orange darken-2\",\"disabled\":!_vm.hasLoggedIn || _vm.isTournamentTeamRegistered},on:{\"click\":function($event){_vm.cancelRequestVisible = true}}},[_c('v-icon',{attrs:{\"left\":\"\",\"large\":\"\"}},[_vm._v(\"mdi-swap-vertical-bold\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentLFGModal.CancelRequest'))+\" \")],1):(_vm.isPostOwner)?_c('v-btn',{staticClass:\"my-2\",attrs:{\"block\":\"\",\"large\":\"\",\"color\":\"red darken-2\",\"disabled\":_vm.isTournamentTeamRegistered ||\n this.selectedTournament.state !==\n _vm.TournamentState.OpenRegistration},on:{\"click\":function($event){_vm.unpublishRequestVisible = true}}},[_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(\"mdi-close-outline\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentLFGModal.CancelRecruitment'))+\" \")],1):(_vm.userHasTeam && !_vm.userIsCurrentTeamMember)?_c('v-chip',{staticClass:\"my-1 text-center\",attrs:{\"color\":\"warning darken-2\"}},[_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(\"mdi-alert-outline\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentLFGModal.HintJoinedAnotherTeamAlready'))+\" \")],1):_vm._e()],1),_c('v-spacer'),_c('v-container',[_c('h2',[_c('v-icon',{attrs:{\"large\":\"\",\"left\":\"\"}},[_vm._v(\"mdi-information-outline\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentLFGModal.TeamStatus'))+\" \")],1),_c('v-chip',{staticClass:\"ma-5\",attrs:{\"color\":\"orange darken-2\",\"label\":\"\"}},[_vm._v(_vm._s(_vm.$t('TournamentTeamState.' + _vm.posts.tournamentTeam.state)))])],1),(_vm.tournamentTeamId)?_c('TeamLFGManagement',{attrs:{\"tournamentTeamId\":_vm.tournamentTeamId,\"visible\":_vm.manageDialogVisible},on:{\"update:visible\":function($event){_vm.manageDialogVisible=$event}}}):_vm._e()],1)],1),_c('v-dialog',{attrs:{\"max-width\":\"500px\",\"persistent\":\"\"},model:{value:(_vm.editDialogVisible),callback:function ($$v) {_vm.editDialogVisible=$$v},expression:\"editDialogVisible\"}},[_c('v-card',[_c('v-card-title',{domProps:{\"textContent\":_vm._s(_vm.$t('TournamentLFGModal.EditRecruitmentTitle'))}}),_c('v-card-text',[_c('v-textarea',{attrs:{\"placeholder\":_vm.$t('TournamentLFGModal.EnterRecruitmentMessage'),\"counter\":\"\",\"maxlength\":\"250\",\"outlined\":\"\"},model:{value:(_vm.editMessage),callback:function ($$v) {_vm.editMessage=$$v},expression:\"editMessage\"}})],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"color\":\"error\",\"text\":\"\"},on:{\"click\":_vm.closeEditDialog}},[_c('v-icon',{attrs:{\"left\":\"\",\"large\":\"\"}},[_vm._v(\"mdi-window-close\")]),_vm._v(\" \"+_vm._s(_vm.$t('InGameNameDialog.Close'))+\" \")],1),_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"success\",\"text\":\"\",\"x-large\":\"\"},on:{\"click\":_vm.submitEditTeamPost}},[_c('v-icon',{attrs:{\"left\":\"\",\"large\":\"\"}},[_vm._v(\"mdi-content-save\")]),_vm._v(\" \"+_vm._s(_vm.$t('InGameNameDialog.SaveChanges'))+\" \")],1)],1)],1)],1),(_vm.selectedTournament && _vm.posts)?_c('LFGJoinActionDialog',{attrs:{\"isVisible\":_vm.requestJoinVisible,\"tournament\":_vm.selectedTournament,\"tournamentTeam\":_vm.posts.tournamentTeam},on:{\"update:isVisible\":function($event){_vm.requestJoinVisible=$event},\"update:is-visible\":function($event){_vm.requestJoinVisible=$event},\"confirmed\":_vm.onJoinRequestConfirmed}}):_vm._e(),_c('ConfirmDialog',{attrs:{\"is-visible\":_vm.cancelRequestVisible,\"title\":_vm.$t('TournamentLFGModal.RequestCancelConfirmTitle'),\"content\":_vm.$t('TournamentLFGModal.RequestCancelConfirmMessage'),\"width\":\"35\"},on:{\"update:isVisible\":function($event){_vm.cancelRequestVisible=$event},\"update:is-visible\":function($event){_vm.cancelRequestVisible=$event},\"confirm\":_vm.onCancelRequestConfirmed,\"cancel\":function($event){_vm.cancelRequestVisible = false}}}),_c('ConfirmDialog',{attrs:{\"is-visible\":_vm.unpublishRequestVisible,\"title\":_vm.$t('TournamentLFGModal.UnpublishRequestTitle'),\"content\":_vm.$t('TournamentLFGModal.UnpublishRequestMessage'),\"width\":\"35\"},on:{\"update:isVisible\":function($event){_vm.unpublishRequestVisible=$event},\"update:is-visible\":function($event){_vm.unpublishRequestVisible=$event},\"confirm\":_vm.onUnpublishPostRequestConfirmed,\"cancel\":function($event){_vm.unpublishRequestVisible = false}}})],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"text-right\",attrs:{\"cols\":\"2\",\"sm\":\"1\"}},[_c('UserAvatar',{attrs:{\"imageUrl\":_vm.avatar,\"width\":48}})],1),_c('v-col',{staticClass:\"pl-3\",attrs:{\"cols\":\"10\",\"sm\":\"11\"}},[_c('v-card',{attrs:{\"outlined\":\"\"}},[_c('v-card-subtitle',{staticClass:\"subtitle-2\"},[_vm._v(\" \"+_vm._s(_vm.$t('DiscussionMessage.CommentItemDescription', { name: _vm.name, commentTime: _vm.commentTime }))+\" \"),_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"mdi-chat\")])],1),_c('v-card-text',{staticClass:\"subtitle-1\",domProps:{\"textContent\":_vm._s(_vm.message)}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { unixTimestampToDateTime } from '@/utils'\r\nimport { avatarInitial } from '@/utils/avatar'\r\nimport { Vue, Component, Prop } from 'vue-property-decorator'\r\nimport { UserAvatar } from '@/modules/shared/components/UserAvatar'\r\n\r\n@Component({\r\n components: {\r\n UserAvatar\r\n }\r\n})\r\nexport default class DiscussionMessage extends Vue {\r\n @Prop({ type: String, default: '{message}' }) readonly message!: string\r\n @Prop({ type: String, default: '{username}' }) readonly name!: string\r\n @Prop({ type: String, default: '' }) readonly avatar!: string\r\n @Prop({ type: Number, required: true }) readonly time!: string\r\n\r\n get avatarName() {\r\n return avatarInitial(this.name)\r\n }\r\n\r\n get commentTime() {\r\n return this.$moment(parseInt(this.time) * 1000).fromNow()\r\n }\r\n}\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./DiscussionMessage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./DiscussionMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DiscussionMessage.vue?vue&type=template&id=7bcfea76&scoped=true&\"\nimport script from \"./DiscussionMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./DiscussionMessage.vue?vue&type=script&lang=ts&\"\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 \"7bcfea76\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardSubtitle } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCard,VCardSubtitle,VCardText,VCol,VIcon,VRow})\n","import DiscussionMessage from './DiscussionMessage.vue'\r\nexport default DiscussionMessage\r\nexport { DiscussionMessage }\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"max-width\":\"50rem\",\"persistent\":\"\"},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }_vm.isVisible = false},\"click:outside\":function($event){_vm.isVisible = false}},model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[(_vm.tournamentTeam)?_c('v-card',{attrs:{\"loading\":_vm.isProcessing}},[_c('v-card-actions',{staticClass:\"align-start\"},[_c('v-spacer'),_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){_vm.isVisible = false}}},[_c('v-icon',[_vm._v(\"mdi-close\")])],1)],1),_c('v-card-title',{staticClass:\"pt-0 py-5\"},[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamLFGManagement.Title'))+\" \")])]),_c('p',{staticClass:\"text-center mb-5\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamLFGManagement.Subtitle'))+\" \")]),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"card-body-content\"},[_c('v-list',{attrs:{\"dense\":\"\"}},[(!_vm.players.length)?_c('v-list-item',[_c('v-alert',{attrs:{\"type\":\"secondary\",\"border\":\"left\",\"width\":\"100%\"}},[_c('v-icon',[_vm._v(\"mdi-timer-sand-empty\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamLFGManagement.NoPendingJoinRequest'))+\" \")],1)],1):_vm._e(),_vm._l((_vm.players),function(player,index){return _c('v-list-item',{key:(\"team-request-\" + index),attrs:{\"flat\":\"\"}},[_c('v-list-item-avatar',[_c('UserAvatar',{attrs:{\"imageUrl\":player.avatar,\"width\":36}})],1),_c('v-list-item-content',[_c('v-list-item-title',{domProps:{\"textContent\":_vm._s(player.nickname)}}),_c('v-list-item-subtitle',[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-tag\")]),_vm._v(\" \"+_vm._s(player.gameAccountNickname)+\" \")],1)],1),_c('v-list-item-action',[_c('v-btn',{attrs:{\"color\":\"red\",\"small\":\"\",\"disabled\":_vm.isProcessing},on:{\"click\":function($event){return _vm.rejectMember(player.memberId)}}},[_vm._v(\" \"+_vm._s(_vm.$t('TeamLFGManagement.RejectRequest'))+\" \")])],1),_c('v-list-item-action',[_c('v-btn',{attrs:{\"color\":\"green\",\"small\":\"\",\"disabled\":_vm.isProcessing},on:{\"click\":function($event){return _vm.approveMember(player.memberId)}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-check\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamLFGManagement.ApproveRequest'))+\" \")],1)],1)],1)})],2)],1)])],1):_c('v-card',{staticClass:\"loading-card text-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":\"150\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {\r\n Component,\r\n Emit,\r\n Prop,\r\n PropSync,\r\n Vue,\r\n Watch\r\n} from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport UserAvatar from '@/modules/shared/components/UserAvatar'\r\nimport ServerError from '@/utils/server_error'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport {\r\n ConfirmTournamentTeamRosterRequest,\r\n TournamentAPI\r\n} from '@/api/tournament'\r\nimport {\r\n TournamentPlayerEntity,\r\n TournamentTeamEntity\r\n} from '@/api/tournamentTeam'\r\nimport { TournamentTeamPostAPI } from '@/api/tournamentTeamPost'\r\n\r\n@Component({\r\n components: {\r\n UserAvatar\r\n }\r\n})\r\nexport default class TeamLFGManagement extends Vue {\r\n @Prop({ required: true }) tournamentTeamId!: string\r\n @PropSync('visible', { default: false }) isVisible!: boolean\r\n userModule = getModule(userStore, this.$store)\r\n isProcessing: boolean = false\r\n tournamentTeam: TournamentTeamEntity | null = null\r\n\r\n @Watch('isVisible')\r\n async onVisibilityChanged(visible: boolean) {\r\n if (visible) {\r\n await this.fetchData()\r\n }\r\n }\r\n\r\n @Watch('tournamentTeam')\r\n async onRosterChanged(tournamentTeam: TournamentTeamEntity) {\r\n this.refreshSelectedRoster()\r\n }\r\n\r\n /* Vuex State */\r\n get userId() {\r\n return this.userModule.userId\r\n }\r\n\r\n /* Computed Properties */\r\n\r\n /* Methods */\r\n async fetchData() {\r\n this.tournamentTeam = null\r\n\r\n try {\r\n const res = await TournamentAPI.getTournamentTeam(this.tournamentTeamId)\r\n let payload = res.data.payload\r\n if (payload) {\r\n this.tournamentTeam = payload\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n }\r\n\r\n console.error(err)\r\n }\r\n }\r\n\r\n refreshSelectedRoster() {\r\n if (!this.tournamentTeam) {\r\n }\r\n }\r\n\r\n get players() {\r\n if (!this.tournamentTeam) return []\r\n\r\n return this.tournamentTeam.players.filter(\r\n player => player.role === 'RequestToJoin'\r\n )\r\n }\r\n\r\n async approveMember(memberId: string) {\r\n if (!memberId) return\r\n\r\n try {\r\n this.isProcessing = true\r\n const res = await TournamentTeamPostAPI.acceptJoinRequest(\r\n this.tournamentTeamId,\r\n memberId\r\n )\r\n if (res.data.status) {\r\n this.$toast.success(this.$t('TeamLFGManagement.ApprovedMessage'))\r\n await this.fetchData()\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n }\r\n console.error(err)\r\n } finally {\r\n this.isProcessing = false\r\n }\r\n }\r\n\r\n async rejectMember(memberId: string) {\r\n if (!memberId) return\r\n\r\n try {\r\n this.isProcessing = true\r\n const res = await TournamentAPI.removeTeamMember(\r\n this.tournamentTeamId,\r\n memberId\r\n )\r\n if (res.data.status) {\r\n this.$toast.error(this.$t('TeamLFGManagement.RejectedMessage'))\r\n await this.fetchData()\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n }\r\n console.error(err)\r\n } finally {\r\n this.isProcessing = false\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamLFGManagement.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamLFGManagement.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TeamLFGManagement.vue?vue&type=template&id=e5fa81fa&scoped=true&\"\nimport script from \"./TeamLFGManagement.vue?vue&type=script&lang=ts&\"\nexport * from \"./TeamLFGManagement.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TeamLFGManagement.vue?vue&type=style&index=0&id=e5fa81fa&lang=scss&scoped=true&\"\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 \"e5fa81fa\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAlert,VBtn,VCard,VCardActions,VCardTitle,VDialog,VIcon,VList,VListItem,VListItemAction,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle,VProgressCircular,VSpacer})\n","import TeamLFGManagement from './TeamLFGManagement.vue'\r\nexport default TeamLFGManagement\r\nexport { TeamLFGManagement }\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"max-width\":\"60rem\",\"persistent\":\"\",\"fullscreen\":_vm.$vuetify.breakpoint.mobile},model:{value:(_vm.isModalVisible),callback:function ($$v) {_vm.isModalVisible=$$v},expression:\"isModalVisible\"}},[_c('v-card',[_c('v-card-actions',{staticClass:\"align-start\"},[(_vm.showBackButton)?_c('v-btn',{attrs:{\"x-large\":\"\",\"icon\":\"\"},on:{\"click\":_vm.back}},[_c('v-icon',[_vm._v(\"mdi-arrow-left\")])],1):_vm._e(),_c('v-spacer'),_c('v-btn',{attrs:{\"icon\":\"\"},on:{\"click\":function($event){return _vm.setIsVisible(false)}}},[_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-close\")])],1)],1),_c('v-window',{staticClass:\"content\",attrs:{\"touchless\":\"\"},model:{value:(_vm.step),callback:function ($$v) {_vm.step=$$v},expression:\"step\"}},[_c('v-window-item',{attrs:{\"value\":1}},[(_vm.tournament)?_c('ReadAndAccept',{ref:\"readAndAccept\",attrs:{\"rules\":_vm.tournament.detailRules},on:{\"next\":function($event){_vm.step = 2}}}):_vm._e()],1),_c('v-window-item',{attrs:{\"value\":2}},[_c('InGameNameRegistration',{ref:\"gameAccountRegistration\",on:{\"back\":function($event){_vm.step = 1},\"next\":_vm.onIGNCompleted}})],1),_c('v-window-item',{attrs:{\"value\":2.5}},[_c('TournamentCustomForm',{attrs:{\"schema\":_vm.schema},on:{\"submit\":_vm.setFormResponse}})],1),_c('v-window-item',{attrs:{\"value\":3}},[(_vm.tournamentTeam)?_c('TeamJoinDetailReview',{attrs:{\"tournament\":_vm.tournament,\"teamName\":_vm.tournamentTeam.name},on:{\"back\":function($event){_vm.step = 2},\"submit\":_vm.onJoinDetailReviewed}}):_vm._e()],1),_c('v-window-item',{attrs:{\"value\":4}},[_c('v-card-title',{staticClass:\"pt-0\"},[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentTeamTokenDialog.JoiningYourTeam'))+\" \")])]),_c('div',{staticClass:\"my-10 py-10 text-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"white\",\"size\":\"80\"}})],1)],1)],1),_c('v-card-actions',{staticClass:\"mt-5\"},[_c('div',{staticClass:\"mx-auto d-flex pa-5\"},_vm._l((_vm.steps),function(i){return _c('v-sheet',{key:(\"step-btn-\" + i),staticClass:\"mr-5\",attrs:{\"height\":\"4\",\"width\":_vm.$vuetify.breakpoint.mobile ? '2em' : '5em',\"icon\":\"\",\"disabled\":_vm.step === i,\"color\":_vm.step === i ? 'white' : 'grey darken-3'}})}),1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {\r\n Vue,\r\n Component,\r\n PropSync,\r\n Watch,\r\n Ref,\r\n Prop,\r\n Emit\r\n} from 'vue-property-decorator'\r\nimport ReadAndAccept from '@/modules/tournament/components/ReadAndAccept'\r\nimport InGameNameRegistration from '@/modules/tournament/components/InGameNameRegistration'\r\nimport TournamentRegistration from '@/modules/tournament/components/TournamentActionDialog/TournamentRegistration'\r\nimport EnterInvitationCode from '@/modules/tournament/components/EnterInvitationCode'\r\nimport TeamRegistration from '@/modules/tournament/components/TournamentActionDialog/TeamRegistration'\r\nimport TeamRegistrationComplete from '@/modules/tournament/components/TournamentActionDialog/TeamRegistrationComplete'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport TeamRegistrationStatus from '@/modules/tournament/components/TournamentActionDialog/TeamRegistrationStatus/TeamRegistrationStatus.vue'\r\nimport ServerError from '@/utils/server_error'\r\nimport { TournamentAPI, TournamentEntity } from '@/api/tournament'\r\nimport { TokenAcceptPayload } from '@/modules/tournament/components/EnterInvitationCode/EnterInvitationCode.vue'\r\nimport TeamJoinDetailReview from '@/modules/tournament/components/TournamentActionDialog/TeamJoinDetailReview'\r\nimport { TournamentTeamEntity } from '@/api/tournamentTeam'\r\nimport TournamentCustomForm from '@/modules/tournament/components/TournamentCustomForm'\r\nimport { parseSchema } from '@/utils/customform_validation'\r\n\r\n@Component({\r\n components: {\r\n TeamRegistrationStatus,\r\n EnterInvitationCode,\r\n ReadAndAccept,\r\n InGameNameRegistration,\r\n TournamentRegistration,\r\n TeamRegistration,\r\n TeamRegistrationComplete,\r\n TeamJoinDetailReview,\r\n TournamentCustomForm\r\n }\r\n})\r\nexport default class LFGJoinActionDialog extends Vue {\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n step: number = 1\r\n steps: number[] = Array.from(new Array(5), (_, index) => index + 1)\r\n // custom form\r\n schema: any = {}\r\n formResponse: any = null\r\n\r\n @PropSync('isVisible', { type: Boolean, default: false })\r\n isModalVisible!: boolean\r\n\r\n @Prop({ type: Object, required: true }) readonly tournament!: TournamentEntity\r\n @Prop({ type: Object, required: true })\r\n readonly tournamentTeam!: TournamentTeamEntity\r\n\r\n @Ref('gameAccountRegistration')\r\n readonly gameAccountRegistration!: InGameNameRegistration\r\n\r\n @Ref('readAndAccept')\r\n readonly readAndAccept!: ReadAndAccept\r\n\r\n @Ref('enterInvitationCode')\r\n readonly enterInvitationCode!: EnterInvitationCode\r\n\r\n @Ref('teamRegistration')\r\n readonly teamRegistration!: TeamRegistration\r\n\r\n @Watch('isVisible')\r\n onDialogVisiblityChanged(visible: boolean) {\r\n if (visible) {\r\n if (this.hasJoinedTournament) {\r\n this.step = 5\r\n } else {\r\n this.step = 1\r\n }\r\n\r\n this.fetchTournamentCustomFormSchema()\r\n } else {\r\n setTimeout(() => {\r\n this.step = 1\r\n this.schema = {}\r\n this.formResponse = null\r\n }, 200)\r\n\r\n if (this.gameAccountRegistration) {\r\n this.gameAccountRegistration.reset()\r\n }\r\n\r\n if (this.readAndAccept) {\r\n this.readAndAccept.reset()\r\n }\r\n\r\n if (this.enterInvitationCode) {\r\n this.enterInvitationCode.reset()\r\n }\r\n\r\n if (this.teamRegistration) {\r\n this.teamRegistration.reset()\r\n }\r\n }\r\n }\r\n\r\n async fetchTournamentCustomFormSchema() {\r\n let response = await TournamentAPI.getTournamentCustomFormSchema(\r\n this.tournament!.tournamentId\r\n )\r\n if (response.data.payload) {\r\n try {\r\n this.schema = parseSchema(response.data.payload.schema)\r\n } catch {\r\n this.schema = {}\r\n }\r\n }\r\n }\r\n\r\n setIsVisible(isVisible: boolean = false) {\r\n this.isModalVisible = isVisible\r\n }\r\n\r\n onIGNCompleted() {\r\n this.step = this.schemaLength ? 2.5 : 3\r\n }\r\n\r\n async setFormResponse(value: any) {\r\n this.formResponse = value\r\n this.step = 3\r\n }\r\n\r\n get schemaLength() {\r\n return Object.keys(this.schema).length\r\n }\r\n\r\n get showBackButton() {\r\n if (this.hasJoinedTournament) {\r\n return\r\n }\r\n\r\n return this.step > 1 && this.step < 5\r\n }\r\n\r\n get hasJoinedTournament() {\r\n return !!this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n back() {\r\n this.step--\r\n\r\n if (this.step < 1) {\r\n this.step = 1\r\n }\r\n\r\n if (this.enterInvitationCode) {\r\n this.enterInvitationCode.reset()\r\n }\r\n }\r\n\r\n async onJoinTournament() {\r\n this.step = 6\r\n await this.fetchJoinedTournamentTeam()\r\n }\r\n\r\n async fetchJoinedTournamentTeam() {\r\n try {\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.tournament!.tournamentId\r\n )\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n if (err.getStatusCode() >= 400 && err.getStatusCode() < 500) {\r\n return\r\n }\r\n\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('TournamentActionDialog.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n\r\n await this.$router.push('/')\r\n }\r\n }\r\n\r\n onJoinDetailReviewed() {\r\n this.confirmTeamJoin()\r\n this.step = 4\r\n }\r\n\r\n @Emit('confirmed')\r\n confirmTeamJoin() {\r\n return this.formResponse\r\n }\r\n\r\n // async submitTournamentFormResponse(token: string) {\r\n // try {\r\n // const response = await TournamentAPI.submitTournamentFormResponseWithToken(\r\n // token,\r\n // JSON.stringify(this.formResponse)\r\n // )\r\n // } catch (err) {\r\n // if (err instanceof ServerError) {\r\n // this.$toast.error(err.getMessage())\r\n // } else {\r\n // this.$toast.error(this.$t('TournamentActionDialog.SystemErrorMessage'))\r\n // console.error(err)\r\n // }\r\n // }\r\n // }\r\n}\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./LFGJoinActionDialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./LFGJoinActionDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LFGJoinActionDialog.vue?vue&type=template&id=7189be91&scoped=true&\"\nimport script from \"./LFGJoinActionDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./LFGJoinActionDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LFGJoinActionDialog.vue?vue&type=style&index=0&id=7189be91&lang=scss&scoped=true&\"\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 \"7189be91\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VSheet } from 'vuetify/lib/components/VSheet';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VWindow } from 'vuetify/lib/components/VWindow';\nimport { VWindowItem } from 'vuetify/lib/components/VWindow';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardTitle,VDialog,VIcon,VProgressCircular,VSheet,VSpacer,VWindow,VWindowItem})\n","import LFGJoinActionDialog from './LFGJoinActionDialog.vue'\r\nexport default LFGJoinActionDialog\r\nexport { LFGJoinActionDialog }\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Ref, Vue, Watch } from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport DiscussionMessage from './DiscussionMessage'\r\nimport {\r\n TeamPostEntity,\r\n TournamentTeamPostAPI,\r\n TournamentTeamPostEntity\r\n} from '@/api/tournamentTeamPost'\r\nimport ServerError from '@/utils/server_error'\r\nimport { avatarInitial } from '@/utils/avatar'\r\nimport { ConfirmDialog } from '@/modules/shared/components/ConfirmDialog'\r\nimport layoutStore from '@/modules/shared/layout.store'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport memberStore from '@/modules/member/member.store'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentTeamRole,\r\n TournamentTeamState\r\n} from '@/api/tournamentTeam'\r\nimport TeamLFGManagement from './TeamLFGManagement'\r\nimport { HubConnection } from '@microsoft/signalr'\r\nimport { CancelError, CancellationToken } from '@/utils/cancel'\r\nimport { getRealtimeConnection, realtimeEventTarget } from '@/utils/realtime'\r\nimport {\r\n TournamentEntity,\r\n TournamentState,\r\n TournamentAPI\r\n} from '@/api/tournament'\r\nimport { UserAvatar } from '@/modules/shared/components/UserAvatar'\r\nimport LFGJoinActionDialog from './LFGJoinActionDialog'\r\nimport { IdentityAPI } from '@/api/identity'\r\nimport { ensureTournamentVerification } from '@/utils/verification'\r\n\r\n@Component({\r\n components: {\r\n DiscussionMessage,\r\n ConfirmDialog,\r\n TeamLFGManagement,\r\n UserAvatar,\r\n LFGJoinActionDialog\r\n }\r\n})\r\nexport default class TournamentLFGModal extends Vue {\r\n @Prop({ type: String, default: '' }) tournamentTeamId!: string\r\n\r\n userModule = getModule(userStore, this.$store)\r\n layoutModule = getModule(layoutStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n memberModule = getModule(memberStore, this.$store)\r\n selectedMatchRoster: string[] = []\r\n isLoading: boolean = false\r\n\r\n posts: TeamPostEntity | null = null\r\n replyMessage: string = ''\r\n submittingReply: boolean = false\r\n\r\n editMessage: string = ''\r\n editDialogVisible: boolean = false\r\n requestJoinVisible: boolean = false\r\n manageDialogVisible: boolean = false\r\n cancelRequestVisible: boolean = false\r\n unpublishRequestVisible: boolean = false\r\n\r\n realtimeConnection!: HubConnection\r\n realtimeConnectionCancellationToken = new CancellationToken()\r\n\r\n @Ref('content') readonly chatContent!: HTMLDivElement\r\n\r\n /* Watchers */\r\n @Watch('isVisible')\r\n async onVisibilityChanged(visible: boolean) {\r\n if (visible) {\r\n await this.fetchData()\r\n\r\n // connect real time\r\n try {\r\n this.realtimeConnection = await getRealtimeConnection(\r\n this.realtimeConnectionCancellationToken\r\n )\r\n } catch (err) {\r\n if (err instanceof CancelError) {\r\n return\r\n }\r\n\r\n this.$toast.error(\r\n this.$t('TeamRegistrationStatus.FailConnectServerMessage')\r\n )\r\n console.error(err)\r\n }\r\n\r\n this.realtimeConnection.on(\r\n 'tournamentTeamPostEdited',\r\n this.onTournamentTeamPostEdited\r\n )\r\n this.realtimeConnection.on(\r\n 'tournamentTeamPostCommentUpdated',\r\n this.onTournamentTeamPostEdited\r\n )\r\n\r\n realtimeEventTarget.addEventListener(\r\n 'reconnected',\r\n this.onRealtimeReconnected\r\n )\r\n } else {\r\n await this.destroyRealtime(this.tournamentTeamId)\r\n this.posts = null\r\n this.replyMessage = ''\r\n this.submittingReply = false\r\n\r\n this.editMessage = ''\r\n this.editDialogVisible = false\r\n this.requestJoinVisible = false\r\n this.manageDialogVisible = false\r\n this.cancelRequestVisible = false\r\n this.unpublishRequestVisible = false\r\n }\r\n }\r\n\r\n @Watch('tournamentTeamId')\r\n async onTournamentTeamIdChanged(\r\n newTournamentTeamId: string,\r\n oldTournamentTeamId: string\r\n ) {\r\n try {\r\n this.realtimeConnection = await getRealtimeConnection(\r\n this.realtimeConnectionCancellationToken\r\n )\r\n } catch (err) {\r\n if (err instanceof CancelError) {\r\n return\r\n }\r\n\r\n this.$toast.error(\r\n this.$t('TeamRegistrationStatus.FailConnectServerMessage')\r\n )\r\n console.error(err)\r\n }\r\n\r\n if (oldTournamentTeamId) {\r\n await this.realtimeConnection.send(\r\n 'UnsubscribeTournamentTeam',\r\n oldTournamentTeamId\r\n )\r\n await this.destroyRealtime(oldTournamentTeamId)\r\n }\r\n\r\n if (newTournamentTeamId) {\r\n await this.realtimeConnection.send(\r\n 'SubscribeTournamentTeam',\r\n newTournamentTeamId\r\n )\r\n await this.fetchData()\r\n }\r\n }\r\n\r\n /* Hooks */\r\n async created() {\r\n if (this.$route.params.tournamentTeamId) {\r\n await this.layoutModule.showLFGModal(\r\n this.tournamentModule.selectedTournamentTeam!.tournamentTeamId\r\n )\r\n }\r\n }\r\n\r\n async beforeDestroy() {\r\n this.realtimeConnectionCancellationToken.cancel()\r\n this.destroyRealtime(this.tournamentTeamId)\r\n }\r\n\r\n /* Methods */\r\n close() {\r\n this.layoutModule.hideLFGModal()\r\n }\r\n\r\n popEditDialog() {\r\n this.editMessage = this.posts!.message\r\n this.editDialogVisible = true\r\n }\r\n\r\n popManageDialog() {\r\n this.manageDialogVisible = true\r\n }\r\n\r\n closeEditDialog() {\r\n this.editDialogVisible = false\r\n }\r\n\r\n async setActionDialogVisible() {\r\n if (\r\n !(await ensureTournamentVerification({\r\n tournament: this.tournamentModule.selectedTournament!,\r\n callback: this.setActionDialogVisible\r\n }))\r\n ) {\r\n return\r\n }\r\n this.requestJoinVisible = true\r\n }\r\n\r\n async onRealtimeReconnected() {\r\n // ensure we have subscribed the tournament team\r\n if (this.selectedTournament && this.selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'SubscribeTournamentTeam',\r\n this.selectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n\r\n // fetch new data\r\n await this.fetchData()\r\n }\r\n\r\n async destroyRealtime(tournamentTeamId: string) {\r\n if (this.realtimeConnection) {\r\n await this.realtimeConnection.send(\r\n 'UnsubscribeTournamentTeam',\r\n tournamentTeamId\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentTeamPostEdited',\r\n this.onTournamentTeamPostEdited\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentTeamPostCommentUpdated',\r\n this.onTournamentTeamPostCommentUpdated\r\n )\r\n }\r\n\r\n realtimeEventTarget.removeEventListener(\r\n 'reconnected',\r\n this.onRealtimeReconnected\r\n )\r\n }\r\n\r\n async onTournamentTeamPostEdited() {\r\n await this.fetchData()\r\n this.$nextTick(() => {\r\n this.chatContent.scrollTop = 0\r\n })\r\n }\r\n\r\n async onTournamentTeamPostCommentUpdated(commenterMemberId: string) {\r\n if (commenterMemberId !== this.userId) {\r\n await this.fetchData()\r\n }\r\n }\r\n\r\n async onJoinRequestConfirmed(formResponse: any) {\r\n if (this.isPostOwner) return\r\n\r\n try {\r\n const response = await TournamentTeamPostAPI.requestToJoin(\r\n this.tournamentTeamId\r\n )\r\n if (response.data.status) {\r\n await this.fetchData()\r\n this.$toast.success(this.$t('TournamentLFGModal.RequestSentToCaptain'))\r\n\r\n // when join requested with form response received.\r\n if (formResponse) {\r\n this.submitTournamentFormResponse(formResponse)\r\n }\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Match.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.requestJoinVisible = false\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.tournamentModule.selectedTournament!.tournamentId\r\n )\r\n }\r\n }\r\n\r\n async onCancelRequestConfirmed() {\r\n if (this.isPostOwner) return\r\n\r\n try {\r\n const response = await TournamentTeamPostAPI.leaveTeam(\r\n this.tournamentTeamId\r\n )\r\n if (response.data.status) {\r\n await this.fetchData()\r\n this.$toast.success(this.$t('TournamentLFGModal.JoinRequestCancelled'))\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Match.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.cancelRequestVisible = false\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.tournamentModule.selectedTournament!.tournamentId\r\n )\r\n }\r\n }\r\n\r\n async onUnpublishPostRequestConfirmed() {\r\n if (!this.isPostOwner) return\r\n\r\n try {\r\n const response = await TournamentTeamPostAPI.unpublishTeam(\r\n this.tournamentTeamId\r\n )\r\n if (response.data.status) {\r\n await this.fetchData()\r\n this.$toast.success(\r\n this.$t('TournamentLFGModal.RecruitmentPostUnpublished')\r\n )\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Match.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.unpublishRequestVisible = false\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.tournamentModule.selectedTournament!.tournamentId\r\n )\r\n this.$emit('refresh')\r\n this.close()\r\n }\r\n }\r\n\r\n async submitReply() {\r\n if (!this.replyMessage.trim().length) return\r\n\r\n this.submittingReply = true\r\n\r\n try {\r\n const response = await TournamentTeamPostAPI.replyTeamPost(\r\n this.tournamentTeamId,\r\n this.replyMessage\r\n )\r\n if (response.data.status) {\r\n await this.fetchData()\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Match.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.replyMessage = ''\r\n this.submittingReply = false\r\n }\r\n }\r\n\r\n async submitTournamentFormResponse(formResponse: string) {\r\n try {\r\n const response = await TournamentAPI.submitTournamentFormResponse(\r\n this.tournamentTeamId,\r\n JSON.stringify(formResponse)\r\n )\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('TournamentActionDialog.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n }\r\n }\r\n\r\n async fetchData() {\r\n if (!this.tournamentTeamId) return\r\n\r\n try {\r\n this.isLoading = true\r\n const response = await TournamentTeamPostAPI.getTeamPostDetails(\r\n this.tournamentTeamId\r\n )\r\n let payload = response.data.payload\r\n if (payload) {\r\n this.posts = payload\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Match.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.isLoading = false\r\n }\r\n }\r\n\r\n async submitEditTeamPost() {\r\n if (!this.editMessage || !this.posts) {\r\n return\r\n }\r\n try {\r\n const response = await TournamentTeamPostAPI.updateTeamPost(\r\n this.tournamentTeamId,\r\n this.editMessage\r\n )\r\n if (response.data.status) {\r\n this.$toast.info(this.$t('TournamentLFGModal.MessageEdited'))\r\n await this.fetchData()\r\n this.closeEditDialog()\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Match.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n }\r\n }\r\n\r\n /* Computed Properties */\r\n get isVisible() {\r\n return this.layoutModule.tournamentLFGModalVisible\r\n }\r\n\r\n get selectedTournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get selectedTournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get isPostOwner() {\r\n if (!this.posts) return false\r\n\r\n return this.userId === this.posts.member.memberId\r\n }\r\n\r\n get userId() {\r\n return this.userModule.memberId\r\n }\r\n\r\n get postComments() {\r\n if (!this.posts) return []\r\n\r\n return this.posts.comments.sort((a, b) => b.createTime - a.createTime)\r\n }\r\n\r\n get member() {\r\n return this.userModule.member\r\n }\r\n\r\n get teamAvatarName() {\r\n if (!this.posts) return ''\r\n\r\n return avatarInitial(this.posts.tournamentTeam.name)\r\n }\r\n\r\n get hasLoggedIn() {\r\n return this.userModule.hasLoggedIn\r\n }\r\n\r\n get hasJoinedTournament() {\r\n return !!this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get isAbleToCancel() {\r\n let userTeam = this.tournamentModule.selectedTournamentTeam\r\n if (!userTeam) {\r\n return false\r\n }\r\n let isUserJoined = userTeam.tournamentTeamId === this.tournamentTeamId\r\n\r\n let userTeamDetail = userTeam.players.find(\r\n player => player.memberId === this.userId\r\n )\r\n\r\n if (!userTeamDetail) return false\r\n if (!this.selectedTournament) return false\r\n\r\n return (\r\n isUserJoined &&\r\n userTeamDetail.role === TournamentTeamRole.RequestToJoin &&\r\n this.selectedTournament.state === TournamentState.OpenRegistration\r\n )\r\n }\r\n\r\n get userHasTeam() {\r\n let userTeam = this.tournamentModule.selectedTournamentTeam\r\n return !!userTeam\r\n }\r\n\r\n get userIsCurrentTeamMember() {\r\n let userTeam = this.tournamentModule.selectedTournamentTeam\r\n if (!userTeam) {\r\n return false\r\n }\r\n return userTeam.tournamentTeamId === this.tournamentTeamId\r\n }\r\n\r\n get isTournamentTeamRegistered() {\r\n if (!this.posts) {\r\n return false\r\n }\r\n return this.posts.tournamentTeam.state === TournamentTeamState.Registered\r\n }\r\n\r\n get isTeamActionButtonVisible() {\r\n return !this.isPostOwner || this.isTournamentTeamRegistered\r\n }\r\n\r\n get TournamentState() {\r\n return TournamentState\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentLFGModal.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentLFGModal.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentLFGModal.vue?vue&type=template&id=1aa479bc&scoped=true&\"\nimport script from \"./TournamentLFGModal.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentLFGModal.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentLFGModal.vue?vue&type=style&index=0&id=1aa479bc&lang=scss&scoped=true&\"\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 \"1aa479bc\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VAppBar } from 'vuetify/lib/components/VAppBar';\nimport { VAppBarTitle } from 'vuetify/lib/components/VAppBar';\nimport { VAvatar } from 'vuetify/lib/components/VAvatar';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VAlert,VAppBar,VAppBarTitle,VAvatar,VBtn,VCard,VCardActions,VCardText,VCardTitle,VChip,VCol,VContainer,VDialog,VIcon,VImg,VRow,VSpacer,VTextarea})\n","import TournamentLFGModal from './TournamentLFGModal.vue'\r\nexport default TournamentLFGModal\r\nexport { TournamentLFGModal }\r\n","import { isElectron } from '@/utils/electron'\r\n\r\nexport function getScrollTop() {\r\n return window.pageYOffset !== undefined\r\n ? window.pageYOffset\r\n : document.documentElement.scrollTop\r\n}\r\n\r\nexport function getWindowHeight() {\r\n return document.documentElement.clientHeight\r\n}\r\n\r\nexport function getElementScrollRemaining(element: HTMLElement) {\r\n return element.scrollHeight - element.offsetHeight - element.scrollTop\r\n}\r\n\r\nexport async function minimize() {\r\n if (!isElectron()) {\r\n console.log('Not support minimizing in non-electron mode')\r\n } else {\r\n await window.ipcRenderer.send('minimize-window')\r\n }\r\n}\r\n\r\nexport async function quit() {\r\n if (!isElectron()) {\r\n console.log('Not support closing window in non-electron mode')\r\n } else {\r\n await window.ipcRenderer.send('quit')\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tournament)?_c('div',[_c('TournamentDetailsHeader',{attrs:{\"header\":_vm.$t('TournamentDetailsLFG.Title')}}),_c('v-row',[_c('v-col',{staticClass:\"d-flex flex-row\",attrs:{\"cols\":\"12\"}},[_c('v-spacer'),(!_vm.isTournamentTeamPublished)?_c('v-btn',{attrs:{\"x-large\":!_vm.$vuetify.breakpoint.xs,\"color\":\"primary\",\"depressed\":\"\",\"disabled\":_vm.hasJoinedTournament && !_vm.isTeamCaptain},on:{\"click\":function($event){return _vm.publishTournamentTeam()}}},[_c('v-icon',[_vm._v(\"mdi-bullhorn\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentDetailsLFG.RecruitMember'))+\" \")],1):_c('v-btn',{attrs:{\"x-large\":\"\",\"color\":\"primary\",\"depressed\":\"\",\"disabled\":!_vm.hasJoinedTournament},on:{\"click\":function($event){return _vm.openDialog(_vm.tournamentTeamId)}}},[_c('v-icon',[_vm._v(\"mdi-bullhorn\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentLayout.ViewLookForGroup'))+\" \")],1)],1)],1),(_vm.teamPosts.length)?_c('v-row',[_c('v-col',{staticClass:\"body-2\",attrs:{\"cols\":\"12\"}},[_c('v-list',{staticClass:\"lfg-container\",attrs:{\"expand\":\"\"}},_vm._l((_vm.teamPosts),function(post){return _c('v-list-item',{key:(\"team-post-\" + (post.tournamentTeam.tournamentTeamId)),on:{\"click\":function($event){return _vm.openDialog(post.tournamentTeam.tournamentTeamId)}}},[_c('v-container',{staticClass:\"px-0\"},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[(!_vm.$vuetify.breakpoint.mobile)?_c('v-col',{staticClass:\"text-right\",attrs:{\"cols\":\"2\",\"md\":\"1\"}},[(post.tournamentTeam.logo)?_c('v-list-item-avatar',[_c('v-img',{attrs:{\"src\":post.tournamentTeam.logo}})],1):_c('v-list-item-avatar',{staticClass:\"title\",attrs:{\"color\":\"grey darken-2 d-flex justify-center\"}},[_vm._v(\" \"+_vm._s(_vm.avatarInitial(post.tournamentTeam.name))+\" \")])],1):_vm._e(),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('v-list-item-content',[_c('v-list-item-title',{domProps:{\"textContent\":_vm._s(post.tournamentTeam.name)}}),(!_vm.$vuetify.breakpoint.mobile)?_c('v-list-item-subtitle',{domProps:{\"textContent\":_vm._s(post.message)}}):_vm._e()],1)],1),(!_vm.$vuetify.breakpoint.mobile)?_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"8\",\"md\":\"3\"}},[_c('v-list-item-action',[_c('v-list-item-action-text',[_c('v-chip',{attrs:{\"label\":\"\",\"outlined\":\"\",\"small\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\",\"small\":\"\"}},[_vm._v(\"mdi-account-circle-outline\")]),_vm._v(\" \"+_vm._s(post.member.nickname))],1),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t('TournamentDetailsLFG.PostedOn'))+\" \"+_vm._s(_vm._f(\"moment\")(post.createTime,'from', 'now'))+\" \")],1)],1)],1):_vm._e(),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c('v-list-item-action',[_c('v-chip',{class:{\n green:\n post.tournamentTeam.state ===\n _vm.TournamentTeamState.PendingJoin,\n orange:\n post.tournamentTeam.state ===\n _vm.TournamentTeamState.PendingConfirmRoster\n }},[_vm._v(_vm._s(_vm.$t('TournamentTeamState.' + post.tournamentTeam.state)))])],1)],1)],1)],1),(!_vm.$vuetify.breakpoint.mobile)?_c('v-list-item-action',[_c('v-btn',{attrs:{\"icon\":\"\"}},[_c('v-icon',{attrs:{\"color\":\"grey lighten-1\"}},[_vm._v(\"mdi-information\")])],1)],1):_vm._e()],1)}),1)],1)],1):_c('v-row',[_c('v-col',{staticClass:\"text-center\"},[_c('h1',[_vm._v(_vm._s(_vm.$t('TournamentDetailsLFG.NoAvailableItem')))])])],1),_c('v-dialog',{attrs:{\"max-width\":\"500px\",\"persistent\":\"\"},model:{value:(_vm.recruitDialogVisible),callback:function ($$v) {_vm.recruitDialogVisible=$$v},expression:\"recruitDialogVisible\"}},[_c('v-card',[_c('v-card-title',[_vm._v(_vm._s(_vm.$t('TournamentDetailsLFG.RecruitmentTitle')))]),_c('v-card-text',[_c('v-textarea',{attrs:{\"placeholder\":_vm.$t('TournamentDetailsLFG.EnterRecruitmentMessage'),\"counter\":\"\",\"maxlength\":\"250\",\"outlined\":\"\"},model:{value:(_vm.recruitMessage),callback:function ($$v) {_vm.recruitMessage=$$v},expression:\"recruitMessage\"}})],1),_c('v-card-actions',[_c('v-btn',{attrs:{\"color\":\"error\",\"text\":\"\"},on:{\"click\":_vm.closeRecruitDialog}},[_c('v-icon',{attrs:{\"left\":\"\",\"large\":!_vm.$vuetify.breakpoint.xs}},[_vm._v(\"mdi-window-close\")]),_vm._v(\" \"+_vm._s(_vm.$t('InGameNameDialog.Close'))+\" \")],1),_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"success\",\"text\":\"\",\"x-large\":!_vm.$vuetify.breakpoint.xs},on:{\"click\":_vm.submitPublishTournamentTeam}},[_c('v-icon',{attrs:{\"left\":\"\",\"large\":\"\"}},[_vm._v(\"mdi-earth\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentDetailsLFG.Publish'))+\" \")],1)],1)],1)],1),_c('TournamentLFGModal',{attrs:{\"visible\":_vm.tournamentLFGModalVisible,\"tournamentTeamId\":_vm.selectedLFGModalTournamentTeamId},on:{\"update:visible\":function($event){_vm.tournamentLFGModalVisible=$event},\"refresh\":_vm.forceFetch}})],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {\r\n TeamPostEntity,\r\n TournamentTeamPostAPI,\r\n TournamentTeamPostEntity,\r\n TournamentTeamPostsFilter\r\n} from '@/api/tournamentTeamPost'\r\nimport { getElementScrollRemaining } from '@/utils/window'\r\nimport { Component, Vue } from 'vue-property-decorator'\r\nimport TournamentDetailsHeader from '@/modules/tournament/components/TournamentDetailsHeader'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport tournamentStore from '../../tournament.store'\r\nimport { TournamentAPI, TournamentEntity } from '@/api/tournament'\r\nimport TournamentLFGModal from '../TournamentLFGModal'\r\nimport layoutStore from '@/modules/shared/layout.store'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport { TournamentTeamRole, TournamentTeamState } from '@/api/tournamentTeam'\r\nimport ServerError from '@/utils/server_error'\r\nimport { avatarInitial } from '@/utils/avatar'\r\nimport { HubConnection } from '@microsoft/signalr'\r\nimport { CancelError, CancellationToken } from '@/utils/cancel'\r\nimport { getRealtimeConnection, realtimeEventTarget } from '@/utils/realtime'\r\n\r\n@Component({\r\n components: {\r\n TournamentDetailsHeader,\r\n TournamentLFGModal\r\n }\r\n})\r\nexport default class TournamentDetailsLFG extends Vue {\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n layoutModule = getModule(layoutStore, this.$store)\r\n userModule = getModule(userStore, this.$store)\r\n\r\n recruitDialogVisible: boolean = false\r\n recruitMessage: string = ''\r\n\r\n isTournamentTeamPublished: boolean = false\r\n\r\n realtimeConnection!: HubConnection\r\n realtimeConnectionCancellationToken = new CancellationToken()\r\n\r\n /* Vuex State */\r\n get tournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n page: number = 1\r\n appendDataAllowed: boolean = true\r\n\r\n async created() {\r\n // call fetch team posts\r\n await this.fetchTournamentTeamPosts()\r\n await this.fetchTournamentTeamPublished()\r\n\r\n try {\r\n this.realtimeConnection = await getRealtimeConnection(\r\n this.realtimeConnectionCancellationToken\r\n )\r\n } catch (err) {\r\n if (err instanceof CancelError) {\r\n return\r\n }\r\n\r\n this.$toast.error(this.$t('Match.FailConnectServerMessage'))\r\n console.error(err)\r\n }\r\n\r\n this.realtimeConnection.on(\r\n 'tournamentTeamPostsUpdated',\r\n this.onTournamentPostsUpdated\r\n )\r\n }\r\n\r\n teamPosts: TeamPostEntity[] = []\r\n currentPage: number = 0\r\n hasMorePage: boolean = true\r\n isLoading: boolean = false\r\n\r\n openDialog(teamId: string) {\r\n if (!teamId) return\r\n\r\n this.layoutModule.showLFGModal(teamId)\r\n }\r\n\r\n onTournamentPostsUpdated() {\r\n this.forceFetch()\r\n }\r\n\r\n forceFetch() {\r\n this.currentPage = 0\r\n this.hasMorePage = true\r\n this.teamPosts = []\r\n this.fetchTournamentTeamPosts()\r\n this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.tournamentModule.selectedTournament!.tournamentId\r\n )\r\n this.fetchTournamentTeamPublished()\r\n }\r\n\r\n async fetchTournamentTeamPosts(page: number = 1) {\r\n if (page < this.currentPage || !this.hasMorePage || this.isLoading) {\r\n return\r\n }\r\n\r\n this.currentPage = page\r\n this.isLoading = true\r\n\r\n try {\r\n const response = await TournamentTeamPostAPI.getTournamentTeamPosts(\r\n this.tournamentId,\r\n page\r\n )\r\n let payload = response.data.payload\r\n if (payload) {\r\n this.teamPosts.push(...payload.items)\r\n }\r\n } catch {\r\n } finally {\r\n this.isLoading = false\r\n }\r\n }\r\n\r\n async fetchTournamentTeamPublished() {\r\n if (!this.tournamentModule.selectedTournamentTeam) {\r\n this.isTournamentTeamPublished = false\r\n return\r\n }\r\n\r\n try {\r\n const res = await TournamentTeamPostAPI.getPosts(1, {\r\n tournamentTeamId: this.tournamentTeamId\r\n })\r\n this.isTournamentTeamPublished = (res.data.payload &&\r\n res.data.payload.items.length > 0) as boolean\r\n } catch (err) {\r\n this.isTournamentTeamPublished = false\r\n }\r\n }\r\n\r\n avatarInitial(name: string = '') {\r\n return avatarInitial(name)\r\n }\r\n\r\n async beforeDestroy() {\r\n this.realtimeConnectionCancellationToken.cancel()\r\n\r\n if (this.realtimeConnection) {\r\n this.realtimeConnection.off(\r\n 'tournamentTeamPostsUpdated',\r\n this.onTournamentPostsUpdated\r\n )\r\n }\r\n }\r\n\r\n async scrollBehavior(event: Event) {\r\n if (!this.appendDataAllowed) {\r\n return\r\n }\r\n if (getElementScrollRemaining(event.target as HTMLElement) <= 20) {\r\n this.page = this.page + 1\r\n this.appendDataAllowed = false\r\n await this.fetchTournamentTeamPosts()\r\n }\r\n }\r\n\r\n get tournamentId() {\r\n return this.$route.params.tournamentId\r\n }\r\n get hasJoinedTournament() {\r\n return !!this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get selectedLFGModalTournamentTeamId() {\r\n return this.layoutModule.selectedLFGModalTournamentTeamId\r\n }\r\n\r\n get tournamentLFGModalVisible() {\r\n return this.layoutModule.tournamentLFGModalVisible\r\n }\r\n\r\n get isTeamCaptain() {\r\n if (!this.tournamentModule.selectedTournamentTeam) {\r\n return false\r\n }\r\n\r\n return !!this.tournamentModule.selectedTournamentTeam.players.find(\r\n player =>\r\n player.memberId === this.userModule.memberId &&\r\n player.role === TournamentTeamRole.Captain\r\n )\r\n }\r\n\r\n get joinedTournamentTeamId() {\r\n return this.tournamentModule.selectedTournamentTeam!.tournamentTeamId\r\n }\r\n\r\n publishTournamentTeam() {\r\n if (!this.hasJoinedTournament) {\r\n this.$toast.error(\r\n this.$t('TournamentDetailsLFG.PublishTournamentTeamError')\r\n )\r\n return\r\n }\r\n\r\n this.recruitDialogVisible = true\r\n this.recruitMessage = ''\r\n }\r\n\r\n closeRecruitDialog() {\r\n this.recruitDialogVisible = false\r\n }\r\n\r\n async submitPublishTournamentTeam() {\r\n try {\r\n this.recruitDialogVisible = false\r\n await TournamentTeamPostAPI.publishTeam(\r\n this.tournamentModule.selectedTournamentTeam!.tournamentTeamId,\r\n this.recruitMessage\r\n )\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('AppLayout.FailConnectServerMessage'))\r\n }\r\n } finally {\r\n this.currentPage = 0\r\n this.hasMorePage = true\r\n this.teamPosts = []\r\n await this.fetchTournamentTeamPosts()\r\n await this.fetchTournamentTeamPublished()\r\n }\r\n }\r\n\r\n get tournamentTeamId() {\r\n if (!this.tournamentModule.selectedTournamentTeam) return\r\n return this.tournamentModule.selectedTournamentTeam!.tournamentTeamId\r\n }\r\n\r\n get TournamentTeamState() {\r\n return TournamentTeamState\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentDetailsLFG.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentDetailsLFG.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentDetailsLFG.vue?vue&type=template&id=562f0112&scoped=true&\"\nimport script from \"./TournamentDetailsLFG.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentDetailsLFG.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentDetailsLFG.vue?vue&type=style&index=0&id=562f0112&lang=scss&scoped=true&\"\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 \"562f0112\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemActionText } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VChip,VCol,VContainer,VDialog,VIcon,VImg,VList,VListItem,VListItemAction,VListItemActionText,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle,VRow,VSpacer,VTextarea})\n","import TournamentDetailsLFG from './TournamentDetailsLFG.vue'\r\nexport default TournamentDetailsLFG\r\nexport { TournamentDetailsLFG }\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card-title',{staticClass:\"pt-0 py-10\"},[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.RegistrationStatus'))+\" \")])]),_c('div',{staticClass:\"wrapper\"},[_c('p',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.CongratulationsJoinedTeamMessage'))+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.selectedTournamentTeam.name)+\" \")]),(_vm.hasGroup)?_c('p',{staticClass:\"text-center grey--text\"},[_c('v-icon',{attrs:{\"left\":\"\",\"color\":\"grey\"}},[_vm._v(\"mdi-account-group\")]),(_vm.selectedTournamentTeam.group)?[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.TeamGroup'))+\" \"+_vm._s(_vm.selectedTournamentTeam.group)+\" \")]:[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.NoGroup'))+\" \")]],2):_vm._e(),(_vm.isAllowChangeCaptain)?_c('div',{staticClass:\"d-flex justify-end mb-10 mx-6\"},[_c('v-btn',{attrs:{\"dark\":\"\",\"color\":\"secondary\"},on:{\"click\":function($event){_vm.isChangeTeamCaptainDialogVisible = true}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-account-convert\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.ChangeCaptain'))+\" \")],1)],1):_vm._e(),_c('v-stepper',{staticClass:\"elevation-0\",attrs:{\"vertical\":\"\"},model:{value:(_vm.step),callback:function ($$v) {_vm.step=$$v},expression:\"step\"}},[_c('v-stepper-step',{attrs:{\"complete\":_vm.step >= 1,\"complete-icon\":_vm.step > 1 ? '$complete' : 'mdi-progress-clock',\"color\":_vm.step > 1 ? 'success' : 'primary',\"step\":1}},[_c('div',{staticClass:\"d-block d-lg-flex\",staticStyle:{\"width\":\"100%\"}},[_c('div',{staticClass:\"d-flex flex-column justify-center\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.TeamRegistration'))+\" \"),_c('small',[_vm._v(_vm._s(_vm.$t( 'TeamRegistrationStatus.WaitForTeamMatesToCompleteTeamRegistration' )))])]),_c('v-spacer'),(_vm.step <= 2 && _vm.isTeamCaptain && !_vm.isSoloTournament)?_c('div',{staticClass:\"d-flex flex-row align-center mt-2\"},[(!_vm.teamTokenOutput)?_c('v-btn',{attrs:{\"color\":\"primary\",\"loading\":_vm.isGeneratingTeamToken},on:{\"click\":_vm.generateTeamToken}},[_c('v-icon',[_vm._v(\"refresh\")]),_c('span',{staticClass:\"ml-1\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.RegenerateToken')))])],1):_vm._e(),(_vm.teamToken)?_c('v-text-field',{ref:\"teamTokenTextField\",staticClass:\"ml-1\",attrs:{\"single-line\":\"\",\"readonly\":\"\",\"solo\":\"\",\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\",\"flat\":\"\",\"value\":_vm.teamTokenOutput,\"prepend-icon\":_vm.isGeneratingTeamToken ? null : 'refresh',\"append-icon\":\"mdi-content-copy\",\"append-outer-icon\":\"mdi-attachment\"},on:{\"click:prepend\":_vm.generateTeamToken,\"click:append\":_vm.copyTeamToken,\"click:append-outer\":_vm.copyTeamTokenUrl}}):_vm._e()],1):_vm._e()],1)]),_c('v-stepper-content',{attrs:{\"step\":\"1\"}},[_c('TournamentPlayers',{attrs:{\"waitingTeamRegistration\":true}})],1),_c('v-stepper-step',{attrs:{\"complete\":_vm.step >= 2,\"complete-icon\":_vm.step > 2 ? '$complete' : 'mdi-progress-clock',\"color\":_vm.step > 2 ? 'success' : 'primary',\"step\":2}},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.Confirmation'))+\" \"),_c('small',[_vm._v(_vm._s(_vm.$t('TeamRegistrationStatus.ConfirmTeamRosterByTeamCaptain')))])]),_c('v-stepper-content',{attrs:{\"step\":\"2\"}},[_c('TournamentPlayers',{ref:\"tournamentPlayers\",attrs:{\"selectingTeamRoster\":true},on:{\"confirmRoster\":_vm.onConfirmRoster}})],1),_c('v-stepper-step',{attrs:{\"complete\":_vm.step >= 3,\"complete-icon\":'mdi-progress-clock',\"color\":'primary',\"step\":3}},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.GetReady'))+\" \"),_c('small',[_vm._v(_vm._s(_vm.$t( 'TeamRegistrationStatus.TournamentWillStartSoonAndGetReadyForTheFight' )))])]),_c('v-stepper-content',{attrs:{\"step\":\"3\"}},[_c('TournamentPlayers',{on:{\"unconfirmRoster\":_vm.onUnconfirmRoster}})],1)],1)],1),(_vm.step === 3)?_c('div',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"px-5\",attrs:{\"color\":\"success\",\"large\":\"\"},on:{\"click\":_vm.onClose}},[_c('v-icon',{staticClass:\"mr-1\"},[_vm._v(\"mdi-check\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.Done'))+\" \")],1)],1):_vm._e(),(_vm.step <= 2 && _vm.isRegistrationPeriod)?_c('div',{staticClass:\"text-center\"},[_c('div',[(_vm.hasGroup && _vm.isTeamCaptain)?_c('v-btn',{staticClass:\"mx-1\",attrs:{\"large\":\"\",\"depressed\":\"\",\"block\":_vm.$vuetify.breakpoint.mobile,\"outlined\":\"\",\"tile\":\"\"},on:{\"click\":function($event){_vm.isEditTournamentGroupDialogVisible = true}}},[_c('v-icon',{staticClass:\"mr-1\"},[_vm._v(\"mdi-account-group\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.EditGroup'))+\" \")],1):_vm._e(),_c('v-btn',{staticClass:\"mx-1\",attrs:{\"large\":\"\",\"depressed\":\"\",\"block\":_vm.$vuetify.breakpoint.mobile,\"outlined\":\"\",\"tile\":\"\"},on:{\"click\":function($event){_vm.isEditGameAccountDialogVisible = true}}},[_c('v-icon',{staticClass:\"mr-1\"},[_vm._v(\"mdi-pencil-outline\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.EditIGN'))+\" \")],1),(_vm.hasCustomForm)?_c('v-btn',{staticClass:\"mx-1\",attrs:{\"large\":\"\",\"block\":_vm.$vuetify.breakpoint.mobile,\"depressed\":\"\",\"outlined\":\"\",\"tile\":\"\"},on:{\"click\":function($event){_vm.isTournamentResponseEditDialogVisible = true}}},[_c('v-icon',{staticClass:\"mr-1\"},[_vm._v(\"mdi-pencil-outline\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistrationStatus.EditFormData'))+\" \")],1):_vm._e()],1)]):_vm._e(),_c('EditTournamentGroupDialog',{attrs:{\"visible\":_vm.isEditTournamentGroupDialogVisible},on:{\"update:visible\":function($event){_vm.isEditTournamentGroupDialogVisible=$event},\"changed\":_vm.onTournamentGroupChanged}}),_c('EditTournamentTeamMemberGameAccountDialog',{attrs:{\"visible\":_vm.isEditGameAccountDialogVisible},on:{\"update:visible\":function($event){_vm.isEditGameAccountDialogVisible=$event},\"changed\":_vm.onGameAccountNameChanged}}),_c('EditTournamentFormResponseDialog',{attrs:{\"visible\":_vm.isTournamentResponseEditDialogVisible},on:{\"update:visible\":function($event){_vm.isTournamentResponseEditDialogVisible=$event}}}),(_vm.isAllowChangeCaptain)?_c('TournamentTeamChangeCaptainDialog',{attrs:{\"visible\":_vm.isChangeTeamCaptainDialogVisible},on:{\"update:visible\":function($event){_vm.isChangeTeamCaptainDialogVisible=$event},\"captainChanged\":_vm.captainChanged}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.isTeamCaptain)?_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_vm._v(_vm._s(_vm.$t('TournamentPlayers.RemovePlayerTitle')))]),_c('v-card-text',[_vm._v(_vm._s(_vm.$t('TournamentPlayers.RemovePlayerContent')))]),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"green darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.dialog = false}}},[_vm._v(_vm._s(_vm.$t('TournamentPlayers.Cancel')))]),_c('v-btn',{attrs:{\"color\":\"red darken-1\",\"text\":\"\"},on:{\"click\":_vm.onRemoveTeamMemberClick}},[_vm._v(_vm._s(_vm.$t('TournamentPlayers.ConfirmDelete')))])],1)],1)],1):_vm._e(),_c('v-list',{attrs:{\"dense\":\"\"}},[(_vm.waitingTeamRegistration || _vm.selectingTeamRoster)?_c('v-list-item',[_c('v-alert',{attrs:{\"type\":\"info\",\"dense\":\"\",\"border\":\"left\",\"width\":\"100%\"}},[(_vm.waitingTeamRegistration)?_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.NoOfPlayersLimit'))+\" \"),(\n _vm.tournament.capacityMinPlayersPerTeam ===\n _vm.tournament.capacityMaxPlayersPerTeam\n )?[_vm._v(\" \"+_vm._s(_vm.tournament.capacityMaxPlayersPerTeam)+\" \")]:[_vm._v(\" \"+_vm._s(_vm.tournament.capacityMinPlayersPerTeam)+\" - \"+_vm._s(_vm.tournament.capacityMaxPlayersPerTeam)+\" \")]],2):(_vm.isSelectingTeamRoster)?_c('p',{class:{ caption: _vm.$vuetify.breakpoint.mobile }},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.SelectTeamRoster', { capacityMinPlayersPerTeam: _vm.tournament.capacityMinPlayersPerTeam, capacityMaxPlayersPerTeam: _vm.tournament.capacityMaxPlayersPerTeam }))+\" \")]):_c('p',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.WaitingForRosterConfirmation'))+\" \")])])],1):_vm._e(),_vm._l((_vm.players),function(tournamentPlayer,index){return _c('v-list-item',{key:(\"step-teammate-\" + index),class:{\n 'selected-roster-member':\n _vm.selectedTeamRoster.indexOf(tournamentPlayer.memberId) !== -1\n },attrs:{\"two-line\":\"\",\"flat\":\"\"},on:{\"click\":function($event){return _vm.onParticipantIndividualClick(tournamentPlayer.memberId)}}},[_c('v-list-item-avatar',{staticClass:\"d-none d-sm-flex\"},[_c('UserAvatar',{attrs:{\"imageUrl\":tournamentPlayer.avatar,\"width\":36}})],1),_c('v-list-item-content',{staticClass:\"d-block d-sm-flex\"},[_c('v-list-item-title',{staticClass:\"caption\"},[_vm._v(\" \"+_vm._s(tournamentPlayer.nickname)+\" \"),(_vm.userId === tournamentPlayer.memberId)?_c('v-chip',{staticClass:\"ml-2\",attrs:{\"small\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.You')))]):_vm._e()],1),_c('v-list-item-subtitle',{staticClass:\"caption\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.InGameName'))+\" : \"+_vm._s(tournamentPlayer.gameAccountNickname)+\" \")])],1),(_vm.isSelectingTeamRoster || !_vm.waitingTeamRegistration)?_c('v-list-item-content',{staticClass:\"d-block d-sm-flex\"},[_c('div',{staticClass:\"font-weight-bold\"},[(_vm.getTeamPlayerIsStarter(tournamentPlayer))?_c('v-chip',{attrs:{\"color\":\"success\",\"small\":!_vm.$vuetify.breakpoint.mobile,\"x-small\":_vm.$vuetify.breakpoint.mobile,\"label\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.Starter'))+\" \")]):(_vm.selectingTeamRoster && !_vm.isTeamCaptain)?_c('v-chip',{attrs:{\"color\":\"orange darken-2\",\"small\":\"\",\"label\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.Pending'))+\" \")]):_c('v-chip',{attrs:{\"color\":\"red\",\"small\":\"\",\"label\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.Bench'))+\" \")])],1)]):_vm._e(),_c('v-list-item-action',[(tournamentPlayer.role === _vm.TournamentTeamRole.Captain)?_c('v-btn',{staticClass:\"d-none d-sm-flex\",attrs:{\"icon\":\"\",\"disabled\":\"\"}},[_c('v-icon',[_vm._v(\"mdi-alpha-c-circle\")])],1):(\n !_vm.isSelectingTeamRoster &&\n tournamentPlayer.role === _vm.TournamentTeamRole.Member\n )?_c('v-btn',{staticClass:\"d-none d-sm-flex\",attrs:{\"icon\":\"\",\"disabled\":\"\"}},[_c('v-icon',[_vm._v(\"mdi-alpha-m\")])],1):_vm._e(),(tournamentPlayer.role !== 'Captain' && _vm.isSelectingTeamRoster)?_c('v-btn',{attrs:{\"color\":\"error\",\"icon\":\"\"},on:{\"click\":function($event){_vm.dialog = true\n _vm.removeMemberId = tournamentPlayer.memberId}}},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1):_vm._e()],1)],1)}),_vm._l((_vm.remainingPlayers),function(remainingPlayer,remainingIndex){return _c('v-list-item',{key:(\"step-teammate-remaining-\" + remainingIndex)},[_c('v-list-item-avatar',{attrs:{\"color\":\"grey\"}}),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.WaitingForNewPlayer'))+\" \")])],1),_c('v-list-item-action',[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":\"32\"}})],1)],1)})],2),(_vm.isSelectingTeamRoster && _vm.canChooseVenue)?_c('v-select',{staticClass:\"mt-3 mb-2\",attrs:{\"label\":_vm.$t('TournamentPlayers.SelectVenue'),\"outlined\":\"\",\"hide-details\":\"\",\"dark\":\"\",\"item-text\":\"venue.name\",\"item-value\":\"venue.venueId\",\"items\":_vm.venues},scopedSlots:_vm._u([{key:\"item\",fn:function(props){return [_c('div',{staticClass:\"py-4 venue-selection\"},[_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"d-flex flex-column\"},[_vm._v(\" \"+_vm._s(props.item.venue.name)+\" \"),_c('div',{staticClass:\"caption\"},[_vm._v(\" \"+_vm._s(props.item.venue.address1)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(props.item.venue.address2)+\" \")])]),_c('div',{staticClass:\"ml-auto\"},[(props.item.quota)?[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.Quota'))+\": \"+_vm._s(props.item.quota - props.item.current)+\" / \"+_vm._s(props.item.quota)+\" \")]:[_vm._v(\" ∞ \")]],2)])])]}}],null,false,2321763467),model:{value:(_vm.selectedVenueId),callback:function ($$v) {_vm.selectedVenueId=$$v},expression:\"selectedVenueId\"}}):_vm._e(),(_vm.isSelectingTeamRoster)?_c('v-btn',{attrs:{\"disabled\":_vm.confirmLoading ||\n _vm.selectedTeamRoster.length < _vm.tournament.capacityMinPlayersPerTeam ||\n (_vm.canChooseVenue && !_vm.selectedVenueId),\"block\":\"\",\"color\":\"success\",\"loading\":_vm.confirmLoading},on:{\"click\":_vm.onConfirmTournamentTeamRosterClick}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.Confirm')))]):_vm._e(),(_vm.isUndoConfirmRosterEnabled)?[_c('v-alert',{attrs:{\"dense\":\"\",\"outlined\":\"\",\"type\":\"error\"}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.UnconfirmRosterWarning'))+\" \")]),_c('v-btn',{attrs:{\"block\":\"\",\"loading\":_vm.undoConfirmLoading},on:{\"click\":_vm.onUndoConfirmRosterClick}},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentPlayers.CancelConfirmedState'))+\" \")])]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop, Watch, Emit } from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport UserAvatar from '@/modules/shared/components/UserAvatar'\r\nimport ServerError from '@/utils/server_error'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport {\r\n TournamentAPI,\r\n TournamentEntity,\r\n ConfirmTournamentTeamRosterRequest,\r\n TournamentVenueWithDetail,\r\n TournamentState\r\n} from '@/api/tournament'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentPlayerEntity,\r\n TournamentTeamRole,\r\n TournamentTeamState\r\n} from '@/api/tournamentTeam'\r\n\r\n@Component({\r\n components: {\r\n UserAvatar\r\n }\r\n})\r\nexport default class TournamentPlayers extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n selectedTeamRoster: string[] = []\r\n confirmLoading: boolean = false\r\n undoConfirmLoading: boolean = false\r\n venues: TournamentVenueWithDetail[] = []\r\n selectedVenueId: string | null = null\r\n canChooseVenue: boolean = false\r\n\r\n removeMemberId: string = ''\r\n dialog: boolean = false\r\n\r\n @Prop({ default: false }) readonly selectingTeamRoster!: boolean\r\n @Prop({ default: false }) readonly waitingTeamRegistration!: boolean\r\n\r\n @Watch('tournamentTeam', { deep: true })\r\n async ontournamentTeamChanged(\r\n tournamentTeam: TournamentTeamEntity,\r\n oldtournamentTeam: TournamentTeamEntity\r\n ) {\r\n this.refreshSelectedTeamRoster()\r\n }\r\n\r\n /* Watchers */\r\n @Watch('tournament')\r\n async onTournamentChanged() {\r\n await this.refreshVenues()\r\n }\r\n\r\n @Watch('selectingTeamRoster')\r\n onSelectingTeamRoster() {\r\n this.selectedTeamRoster = []\r\n this.refreshSelectedTeamRoster()\r\n }\r\n\r\n @Watch('isTeamCaptain')\r\n onTeamCaptainChanged() {\r\n this.refreshSelectedTeamRoster()\r\n }\r\n\r\n /* Emitters */\r\n @Emit('confirmRoster')\r\n onConfirmRoster() {\r\n this.selectedTeamRoster = []\r\n return this\r\n }\r\n\r\n @Emit('unconfirmRoster')\r\n onUndoConfirmRoster() {\r\n this.refreshSelectedTeamRoster()\r\n\r\n return this\r\n }\r\n\r\n /* Vuex State */\r\n get tournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get tournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get userId() {\r\n return this.userModule.userId\r\n }\r\n\r\n get players() {\r\n if (!this.tournamentTeam) return []\r\n\r\n return this.tournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n )\r\n }\r\n\r\n /* Computed Properties */\r\n get remainingPlayers() {\r\n if (\r\n !this.tournament ||\r\n !this.tournamentTeam ||\r\n !this.tournamentTeam.players\r\n ) {\r\n return 0\r\n }\r\n\r\n let num = this.tournament.capacityMinPlayersPerTeam\r\n num -= this.tournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n ).length\r\n return num < 0 ? 0 : num\r\n }\r\n\r\n get isTeamCaptain() {\r\n let tournamentTeam = this.tournamentTeam\r\n if (tournamentTeam && tournamentTeam.players) {\r\n return tournamentTeam.players.some(\r\n (player: TournamentPlayerEntity) =>\r\n player.memberId === this.userId &&\r\n player.role === TournamentTeamRole.Captain\r\n )\r\n }\r\n return false\r\n }\r\n\r\n get isSelectingTeamRoster() {\r\n return this.selectingTeamRoster && this.isTeamCaptain\r\n }\r\n\r\n get TournamentTeamRole() {\r\n return TournamentTeamRole\r\n }\r\n\r\n /* Vuex Actions */\r\n async confirmTournamentTeamRoster(\r\n tournamentId: string,\r\n tournamentTeamId: string,\r\n confirmTournamentTeamRosterRequest: ConfirmTournamentTeamRosterRequest\r\n ) {\r\n return this.tournamentModule.confirmTournamentTeamRoster({\r\n tournamentId,\r\n tournamentTeamId,\r\n confirmTournamentTeamRosterRequest\r\n })\r\n }\r\n\r\n async undoConfirmTournamentTeamRoster(tournamentTeamId: string) {\r\n return this.tournamentModule.undoConfirmTournamentTeamRoster(\r\n tournamentTeamId\r\n )\r\n }\r\n\r\n /* Methods */\r\n refreshSelectedTeamRoster() {\r\n this.selectedTeamRoster = []\r\n if (this.isTeamCaptain && this.isSelectingTeamRoster) {\r\n // Only includes team captain\r\n if (!this.selectedTeamRoster.includes(this.userId))\r\n this.selectedTeamRoster.push(this.userId)\r\n } else if (!this.waitingTeamRegistration) {\r\n // Show selected roster\r\n this.tournamentTeam!.players!.map((player: TournamentPlayerEntity) => {\r\n if (player.isStarter && player.memberId) {\r\n this.selectedTeamRoster.push(player.memberId)\r\n }\r\n })\r\n }\r\n }\r\n\r\n getTeamPlayerIsStarter(player: TournamentPlayerEntity) {\r\n return this.selectedTeamRoster.includes(player.memberId) || player.isStarter\r\n }\r\n\r\n async refreshVenues() {\r\n if (!this.tournament) {\r\n return\r\n }\r\n\r\n this.selectedVenueId = null\r\n this.canChooseVenue = false\r\n\r\n try {\r\n const res = await TournamentAPI.getTournamentVenues(\r\n this.tournament!.tournamentId\r\n )\r\n this.canChooseVenue = res.data.payload!.length > 0\r\n this.venues = res.data.payload!.filter(\r\n tv => !tv.quota || tv.current < tv.quota\r\n )\r\n } catch (err) {\r\n console.error(err)\r\n }\r\n }\r\n\r\n async onRemoveTeamMemberClick() {\r\n if (!this.isTeamCaptain || !this.removeMemberId || !this.tournamentTeam) {\r\n return\r\n }\r\n\r\n if (this.userId === this.removeMemberId) {\r\n return\r\n }\r\n\r\n try {\r\n let response = await this.tournamentModule.removeTournamentTeamMember({\r\n teamId: this.tournamentTeam.tournamentTeamId,\r\n memberId: this.removeMemberId\r\n })\r\n\r\n if (response) {\r\n this.$toast.success('Player removed from lineup')\r\n if (this.selectedTeamRoster.indexOf(this.removeMemberId) !== -1) {\r\n this.selectedTeamRoster.splice(\r\n this.selectedTeamRoster.indexOf(this.removeMemberId),\r\n 1\r\n )\r\n // if selected more than capacity of tournament (unlikely to happen )\r\n }\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Misc.ErrorFetchData'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.dialog = false\r\n }\r\n }\r\n\r\n /* FIXME: To be refactor this section */\r\n onParticipantIndividualClick(userId: string) {\r\n // if not in selection mode or self selected.\r\n if (!this.isSelectingTeamRoster || userId === this.userId) {\r\n return false\r\n }\r\n\r\n // Undo action if target already selected\r\n if (this.selectedTeamRoster.indexOf(userId) !== -1) {\r\n this.selectedTeamRoster.splice(this.selectedTeamRoster.indexOf(userId), 1)\r\n // if selected more than capacity of tournament (unlikely to happen )\r\n } else if (this.teamRosterTotalCapacityExceeded) {\r\n this.$toast.error(\r\n this.$t('TournamentPlayers.YourTeamRosterReachesTheMaxNoOfPlayers'),\r\n {\r\n dismissable: true,\r\n icon: 'mdi-account-check-outline'\r\n }\r\n )\r\n } else if (this.teamRosterStarterCapacityExceeded) {\r\n this.$toast.error(\r\n this.$t('TournamentPlayers.TeamRosterStarterCapacityExceeded', {\r\n playersPerTeam: this.tournament!.capacityMinPlayersPerTeam\r\n }),\r\n {\r\n dismissable: true,\r\n icon: 'mdi-account-check-outline'\r\n }\r\n )\r\n } else {\r\n this.selectedTeamRoster.push(userId)\r\n }\r\n }\r\n\r\n async onConfirmTournamentTeamRosterClick() {\r\n if (!this.tournament || !this.tournamentTeam) {\r\n return\r\n }\r\n\r\n this.confirmLoading = true\r\n\r\n const confirmTournamentTeamRoster: ConfirmTournamentTeamRosterRequest = {\r\n memberIds: this.selectedTeamRoster.filter(\r\n (value, index, self) => self.indexOf(value) === index\r\n ),\r\n paymentMethod: undefined\r\n }\r\n\r\n try {\r\n const success = await this.confirmTournamentTeamRoster(\r\n this.tournament.tournamentId,\r\n this.tournamentTeam.tournamentTeamId,\r\n confirmTournamentTeamRoster\r\n )\r\n if (success) {\r\n this.$toast.success(\r\n this.$t('TournamentPlayers.TournamentTeamRosterConfirmed'),\r\n {\r\n dismissable: true,\r\n icon: 'mdi-account-check-outline'\r\n }\r\n )\r\n\r\n this.onConfirmRoster()\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage(), {\r\n dismissable: true,\r\n icon: 'mdi-account-check-outline'\r\n })\r\n } else {\r\n this.$toast.error(this.$t('TournamentPlayers.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.confirmLoading = false\r\n }\r\n }\r\n\r\n async onUndoConfirmRosterClick() {\r\n if (!this.tournament || !this.tournamentTeam) return\r\n\r\n this.undoConfirmLoading = true\r\n\r\n try {\r\n const success = await this.undoConfirmTournamentTeamRoster(\r\n this.tournamentTeam.tournamentTeamId\r\n )\r\n if (success) {\r\n this.$toast.success(\r\n this.$t('TournamentPlayers.TournamentTeamRosterUnconfirmed'),\r\n {\r\n dismissable: true,\r\n icon: 'mdi-account-cancel-outline'\r\n }\r\n )\r\n }\r\n\r\n this.onUndoConfirmRoster()\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage(), {\r\n dismissable: true,\r\n icon: 'mdi-account-cancel-outline'\r\n })\r\n } else {\r\n this.$toast.error(this.$t('TournamentPlayers.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.undoConfirmLoading = false\r\n }\r\n }\r\n\r\n /* Computed Properties */\r\n get teamRosterTotalCapacityExceeded() {\r\n return (\r\n this.selectedTeamRoster.length >=\r\n this.tournament!.capacityMaxPlayersPerTeam\r\n )\r\n }\r\n\r\n get teamRosterStarterCapacityExceeded() {\r\n return (\r\n this.selectedTeamRoster.length >=\r\n this.tournament!.capacityMinPlayersPerTeam\r\n )\r\n }\r\n\r\n get isUndoConfirmRosterEnabled() {\r\n if (!this.tournamentTeam || !this.tournament) return false\r\n if (this.tournament.state !== TournamentState.OpenRegistration) return false\r\n return (\r\n this.tournamentTeam.state === TournamentTeamState.Registered &&\r\n this.isTeamCaptain\r\n )\r\n }\r\n\r\n /* Vue Hooks */\r\n mounted() {\r\n this.refreshSelectedTeamRoster()\r\n this.refreshVenues()\r\n }\r\n}\r\n","import mod from \"-!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentPlayers.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentPlayers.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentPlayers.vue?vue&type=template&id=0c89911a&scoped=true&\"\nimport script from \"./TournamentPlayers.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentPlayers.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentPlayers.vue?vue&type=style&index=0&id=0c89911a&lang=scss&scoped=true&\"\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 \"0c89911a\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAlert,VBtn,VCard,VCardActions,VCardText,VCardTitle,VChip,VDialog,VIcon,VList,VListItem,VListItemAction,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle,VProgressCircular,VSelect,VSpacer})\n","import TournamentPlayers from './TournamentPlayers.vue'\r\n\r\nexport { TournamentPlayers }\r\nexport default TournamentPlayers\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"max-width\":\"40rem\"},model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[_c('v-card',[_c('v-card-title',[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentTeamChangeCaptainDialog.Title'))+\" \")])]),_c('v-card-text',[_c('v-list',{attrs:{\"two-line\":\"\",\"dense\":\"\"}},_vm._l((_vm.players),function(player){return _c('v-list-item',{key:(\"tournament-team-caption-\" + (player.memberId)),class:{\n 'selected-captain': player.memberId === _vm.newCaptainMemberId\n },attrs:{\"disabled\":_vm.isCurrentCaptain(player)},on:{\"click\":function($event){return _vm.onNewCaptainSelected(player)}}},[_c('v-list-item-avatar',[_c('UserAvatar',{attrs:{\"imageUrl\":player.avatar,\"width\":36}})],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(player.nickname)+\" \")]),_c('v-list-item-subtitle',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentTeamChangeCaptainDialog.InGameName'))+\" : \"+_vm._s(player.gameAccountNickname)+\" \")])],1),_c('v-list-item-action',[(_vm.isCurrentCaptain(player))?_c('v-chip',{staticClass:\"ma-1\",attrs:{\"color\":\"green\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-account-tie0\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentTeamChangeCaptainDialog.CurrentCaptain'))+\" \")],1):_vm._e()],1)],1)}),1)],1)],1),_c('ConfirmDialog',{attrs:{\"title\":_vm.$t('TournamentTeamChangeCaptainDialog.ConfirmDialogTitle'),\"content\":_vm.confirmDialogMessage,\"isVisible\":_vm.isConfirmDialogVisible},on:{\"confirm\":_vm.changeCaptain,\"cancel\":function($event){_vm.isConfirmDialogVisible = false}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {\r\n Component,\r\n Emit,\r\n Prop,\r\n PropSync,\r\n Vue,\r\n Watch\r\n} from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport UserAvatar from '@/modules/shared/components/UserAvatar'\r\nimport ServerError from '@/utils/server_error'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport ConfirmDialog from '@/modules/shared/components/ConfirmDialog'\r\nimport { ResponseStatus, TournamentAPI } from '@/api/tournament'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentPlayerEntity,\r\n TournamentTeamRole\r\n} from '@/api/tournamentTeam'\r\n\r\n@Component({\r\n components: {\r\n UserAvatar,\r\n ConfirmDialog\r\n }\r\n})\r\nexport default class TournamentTeamChangeCaptainDialog extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n @PropSync('visible', { default: false }) isVisible!: boolean\r\n\r\n newCaptainMemberId: string = ''\r\n newCaptainMemberName: string = ''\r\n isConfirmDialogVisible: boolean = false\r\n isChangeCaptainLoading: boolean = false\r\n\r\n /* Watchers */\r\n @Watch('isVisible')\r\n onVisibleChange(visible: boolean) {\r\n if (!visible) {\r\n this.newCaptainMemberId = ''\r\n this.newCaptainMemberName = ''\r\n }\r\n }\r\n\r\n /* Methods */\r\n onNewCaptainSelected(player: TournamentPlayerEntity) {\r\n this.newCaptainMemberId = player.memberId\r\n this.newCaptainMemberName = player.nickname\r\n this.isConfirmDialogVisible = true\r\n }\r\n\r\n isCurrentCaptain(player: TournamentPlayerEntity) {\r\n return player.role === TournamentTeamRole.Captain\r\n }\r\n\r\n async changeCaptain() {\r\n this.isChangeCaptainLoading = true\r\n try {\r\n const response = await TournamentAPI.changeTournamentTeamCaptain(\r\n this.selectedTournamentTeam!.tournamentTeamId,\r\n this.newCaptainMemberId\r\n )\r\n if (response.data.status === ResponseStatus.Ok) {\r\n this.$toast.success(\r\n this.$t(\r\n 'TournamentTeamChangeCaptainDialog.TeamCaptainChangedSuccessfully'\r\n )\r\n )\r\n this.captainChanged()\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Loading.SystemErrorMessage'))\r\n }\r\n\r\n console.error(err)\r\n } finally {\r\n this.isChangeCaptainLoading = false\r\n this.isConfirmDialogVisible = false\r\n }\r\n }\r\n\r\n captainChanged() {\r\n this.newCaptainMemberId = ''\r\n this.newCaptainMemberName = ''\r\n this.$emit('captainChanged')\r\n }\r\n\r\n /* Computed Properties */\r\n get selectedTournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get userId() {\r\n return this.userModule.userId\r\n }\r\n\r\n get isTeamCaptain(): boolean {\r\n let tournamentTeam = this.selectedTournamentTeam\r\n if (tournamentTeam && tournamentTeam.players) {\r\n return tournamentTeam.players.some(\r\n (player: TournamentPlayerEntity) =>\r\n player.memberId === this.userId && player.role === 'Captain'\r\n )\r\n }\r\n return false\r\n }\r\n\r\n get players(): TournamentPlayerEntity[] {\r\n if (!this.selectedTournamentTeam) return []\r\n return this.selectedTournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n )\r\n }\r\n\r\n get confirmDialogMessage() {\r\n return this.$t(\r\n 'TournamentTeamChangeCaptainDialog.ConfirmChangeTeamCaptainMessage',\r\n {\r\n captainName: this.newCaptainMemberName\r\n }\r\n )\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentTeamChangeCaptainDialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentTeamChangeCaptainDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentTeamChangeCaptainDialog.vue?vue&type=template&id=2f978412&scoped=true&\"\nimport script from \"./TournamentTeamChangeCaptainDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentTeamChangeCaptainDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentTeamChangeCaptainDialog.vue?vue&type=style&index=0&id=2f978412&lang=scss&scoped=true&\"\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 \"2f978412\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\ninstallComponents(component, {VCard,VCardText,VCardTitle,VChip,VDialog,VIcon,VList,VListItem,VListItemAction,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle})\n","import TournamentTeamChangeCaptainDialog from './TournamentTeamChangeCaptainDialog.vue'\r\n\r\nexport { TournamentTeamChangeCaptainDialog }\r\nexport default TournamentTeamChangeCaptainDialog\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"max-width\":\"50rem\"},model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[_c('v-card',{staticClass:\"text-center pa-5\",attrs:{\"loading\":_vm.isChangingGroup}},[_c('v-card-title',[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentGroupDialog.Title'))+\" \")])]),_c('v-card-text',{staticClass:\"orange--text font-weight-bold title mt-5\"},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentGroupDialog.Subtitle'))+\" \")]),_c('v-container',{staticClass:\"text-left px-0 px-sm-15\",attrs:{\"fluid\":\"\"}},[(_vm.isGroupsLoading)?_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":\"100\"}})],1)],1):[_c('v-row',[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('v-list',{staticClass:\"py-0 group-list\",attrs:{\"two-line\":\"\",\"outlined\":\"\"}},_vm._l((_vm.groups),function(group,index){return _c('v-list-item',{key:(\"group-li-\" + index),staticClass:\"group-li\",attrs:{\"input-value\":_vm.selectedGroup === group.name},on:{\"click\":function($event){_vm.selectedGroup = group.name}}},[_c('v-list-item-avatar',[_c('v-icon',{attrs:{\"x-large\":\"\"}},[_vm._v(\"mdi-account-group\")])],1),_c('v-list-item-content',[_c('v-list-item-title',{staticClass:\"title action-option\"},[_vm._v(_vm._s(group.name))]),_c('v-list-item-subtitle',[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.CurrentGroupTeamNumbers'))+\" \"),(group.current <= 0 && group.maxTeams <= 0)?[_vm._v(\" -- \")]:(group.maxTeams <= 0)?[_vm._v(\" \"+_vm._s(group.current)+\" \")]:[_vm._v(\" \"+_vm._s(group.current)+\" / \"+_vm._s(group.maxTeams)+\" \")],_vm._v(\" . \"),(group.available)?_c('span',{staticClass:\"green--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.Available'))+\" \")]):_c('span',{staticClass:\"red--text\"},[_vm._v(_vm._s(_vm.$t('TournamentRegistration.Unavailable')))])],2)],1)],1)}),1)],1)],1),_c('v-row',[_c('v-col',{staticClass:\"text-center\"},[(_vm.isSelectedGroupNotAvailable)?_c('small',{staticClass:\"red--text\"},[_c('v-icon',{attrs:{\"color\":\"red\",\"left\":\"\"}},[_vm._v(\"mdi-alert\")]),_vm._v(\" \"+_vm._s(_vm.$t('TournamentRegistration.AlreadyFull'))+\" \")],1):_vm._e()])],1)]],2),_c('div',{staticClass:\"mt-5\"},[_c('v-btn',{attrs:{\"depressed\":\"\",\"color\":\"orange darken-3\",\"large\":\"\",\"disabled\":!_vm.canSelectGroup ||\n !this.selectedTournamentTeam ||\n this.selectedTournamentTeam.group === this.selectedGroup},on:{\"click\":function($event){_vm.isConfirmDialogVisible = true}}},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentGroupDialog.Confirm'))+\" \")])],1)],1),_c('ConfirmDialog',{attrs:{\"title\":_vm.$t('EditTournamentGroupDialog.ConfirmDialogTitle'),\"content\":_vm.$t('EditTournamentGroupDialog.ConfirmDialogMessage'),\"isVisible\":_vm.isConfirmDialogVisible},on:{\"confirm\":_vm.changeGroup,\"cancel\":function($event){_vm.isConfirmDialogVisible = false}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {\r\n Component,\r\n Emit,\r\n Prop,\r\n PropSync,\r\n Vue,\r\n Watch\r\n} from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport ServerError from '@/utils/server_error'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport ConfirmDialog from '@/modules/shared/components/ConfirmDialog'\r\nimport {\r\n ResponseStatus,\r\n TournamentAPI,\r\n TournamentEntity,\r\n TournamentGroupAvailability\r\n} from '@/api/tournament'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentPlayerEntity,\r\n TournamentTeamRole\r\n} from '@/api/tournamentTeam'\r\nimport i18n from '@/lang'\r\n\r\n@Component({\r\n components: {\r\n ConfirmDialog\r\n }\r\n})\r\nexport default class EditTournamentGroupDialog extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n @PropSync('visible', { default: false }) isVisible!: boolean\r\n\r\n selectedGroup: string | null = null\r\n\r\n isGroupsLoading: boolean = false\r\n groups: TournamentGroupAvailability[] = []\r\n\r\n isConfirmDialogVisible: boolean = false\r\n isChangingGroup: boolean = false\r\n\r\n inGameNameRules: Function[] = [\r\n (v: any) => !!v || i18n.t('InGameNameRegistration.InGameNameIsRequired')\r\n ]\r\n\r\n /* Watchers */\r\n @Watch('isVisible')\r\n onVisibleChange(visible: boolean) {\r\n if (!visible) {\r\n this.selectedGroup = null\r\n } else {\r\n if (this.selectedTournamentTeam) {\r\n this.selectedGroup = this.selectedTournamentTeam.group\r\n }\r\n this.fetchGroups().then()\r\n }\r\n }\r\n\r\n /* Methods */\r\n async fetchGroups() {\r\n this.isGroupsLoading = true\r\n\r\n try {\r\n const res = await TournamentAPI.getTournamentGroups(\r\n this.selectedTournament!.tournamentId\r\n )\r\n this.groups = res.data.payload!\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Landing.SystemErrorMessage'))\r\n }\r\n } finally {\r\n this.isGroupsLoading = false\r\n }\r\n }\r\n\r\n async changeGroup() {\r\n this.isChangingGroup = true\r\n try {\r\n const response = await TournamentAPI.editTournamentTeam(\r\n this.selectedTournamentTeam!.tournamentTeamId,\r\n {\r\n group: this.selectedGroup!\r\n }\r\n )\r\n if (response.data.status === ResponseStatus.Ok) {\r\n this.$toast.success(this.$t('EditTournamentGroupDialog.GroupChanged'))\r\n this.selectedGroup = null\r\n this.$emit('changed')\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Loading.SystemErrorMessage'))\r\n }\r\n\r\n console.error(err)\r\n } finally {\r\n this.isChangingGroup = false\r\n this.isConfirmDialogVisible = false\r\n this.isVisible = false\r\n }\r\n }\r\n\r\n /* Computed Properties */\r\n get selectedTournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get selectedTournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get canSelectGroup() {\r\n if (!this.selectedGroup) {\r\n return false\r\n }\r\n\r\n const group = this.groups.find(group => group.name === this.selectedGroup)\r\n if (!group) return false\r\n return group.available\r\n }\r\n\r\n get isSelectedGroupNotAvailable() {\r\n const group = this.groups.find(group => group.name === this.selectedGroup)\r\n if (!group) return false\r\n return !group.available\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./EditTournamentGroupDialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./EditTournamentGroupDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EditTournamentGroupDialog.vue?vue&type=template&id=74837e1e&scoped=true&\"\nimport script from \"./EditTournamentGroupDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./EditTournamentGroupDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./EditTournamentGroupDialog.vue?vue&type=style&index=0&id=74837e1e&lang=scss&scoped=true&\"\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 \"74837e1e\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemSubtitle } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle,VCol,VContainer,VDialog,VIcon,VList,VListItem,VListItemAvatar,VListItemContent,VListItemSubtitle,VListItemTitle,VProgressCircular,VRow})\n","import EditTournamentGroupDialog from './EditTournamentGroupDialog.vue'\r\n\r\nexport { EditTournamentGroupDialog }\r\nexport default EditTournamentGroupDialog\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"max-width\":\"50rem\"},model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[_c('v-card',{staticClass:\"text-center pa-5\",attrs:{\"loading\":_vm.isChangingName}},[_c('v-card-title',[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentTeamMemberGameAccountDialog.Title'))+\" \"),(_vm.selectedTournament && _vm.selectedTournament.game === 'WildRift')?[_vm._v(\" (RIOT ID) \")]:_vm._e()],2)]),_c('v-card-text',{staticClass:\"orange--text font-weight-bold title mt-5\"},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentTeamMemberGameAccountDialog.Subtitle'))+\" \")]),_c('v-card-text',{staticClass:\"title\"},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentTeamMemberGameAccountDialog.ParticipatingAs'))+_vm._s(_vm.me.gameAccountNickname)+\" \")]),_c('v-text-field',{attrs:{\"outlined\":\"\",\"hint\":_vm.wildRiftHint,\"rules\":_vm.inGameNameRules},model:{value:(_vm.newGameAccountName),callback:function ($$v) {_vm.newGameAccountName=$$v},expression:\"newGameAccountName\"}}),_c('div',{staticClass:\"mt-5\"},[_c('v-btn',{attrs:{\"depressed\":\"\",\"color\":\"orange darken-3\",\"large\":\"\",\"disabled\":!_vm.me ||\n _vm.me.gameAccountNickname === _vm.newGameAccountName ||\n !_vm.newGameAccountName},on:{\"click\":function($event){_vm.isConfirmDialogVisible = true}}},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentTeamMemberGameAccountDialog.Confirm'))+\" \")])],1)],1),_c('ConfirmDialog',{attrs:{\"title\":_vm.$t('EditTournamentTeamMemberGameAccountDialog.ConfirmDialogTitle'),\"content\":_vm.confirmDialogMessage,\"isVisible\":_vm.isConfirmDialogVisible},on:{\"confirm\":_vm.changeName,\"cancel\":function($event){_vm.isConfirmDialogVisible = false}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {\r\n Component,\r\n Emit,\r\n Prop,\r\n PropSync,\r\n Vue,\r\n Watch\r\n} from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport ServerError from '@/utils/server_error'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport ConfirmDialog from '@/modules/shared/components/ConfirmDialog'\r\nimport {\r\n ResponseStatus,\r\n TournamentAPI,\r\n TournamentEntity\r\n} from '@/api/tournament'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentPlayerEntity,\r\n TournamentTeamRole\r\n} from '@/api/tournamentTeam'\r\nimport i18n from '@/lang'\r\n\r\n@Component({\r\n components: {\r\n ConfirmDialog\r\n }\r\n})\r\nexport default class EditTournamentTeamMemberGameAccountDialog extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n @PropSync('visible', { default: false }) isVisible!: boolean\r\n\r\n newCaptainMemberId: string = ''\r\n newGameAccountName: string = ''\r\n isConfirmDialogVisible: boolean = false\r\n isChangingName: boolean = false\r\n\r\n inGameNameRules: Function[] = [\r\n (v: any) => !!v || i18n.t('InGameNameRegistration.InGameNameIsRequired')\r\n ]\r\n\r\n /* Watchers */\r\n @Watch('isVisible')\r\n onVisibleChange(visible: boolean) {\r\n if (!visible) {\r\n this.newCaptainMemberId = ''\r\n this.newGameAccountName = ''\r\n } else {\r\n if (this.me) {\r\n this.newGameAccountName = this.me.gameAccountNickname\r\n }\r\n }\r\n }\r\n\r\n /* Methods */\r\n async changeName() {\r\n this.isChangingName = true\r\n try {\r\n const response = await TournamentAPI.changeTournamentTeamGameAccount(\r\n this.selectedTournamentTeam!.tournamentTeamId,\r\n this.newGameAccountName\r\n )\r\n if (response.data.status === ResponseStatus.Ok) {\r\n this.$toast.success(\r\n this.$t(\r\n 'EditTournamentTeamMemberGameAccountDialog.GameAccountNameChanged'\r\n )\r\n )\r\n this.nameChanged()\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Loading.SystemErrorMessage'))\r\n }\r\n\r\n console.error(err)\r\n } finally {\r\n this.isChangingName = false\r\n this.isConfirmDialogVisible = false\r\n this.isVisible = false\r\n }\r\n }\r\n\r\n nameChanged() {\r\n this.newCaptainMemberId = ''\r\n this.newGameAccountName = ''\r\n this.$emit('changed')\r\n }\r\n\r\n /* Computed Properties */\r\n get selectedTournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get selectedTournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get wildRiftHint() {\r\n if (!this.selectedTournament || this.selectedTournament.game !== 'WildRift')\r\n return ''\r\n\r\n return '此遊戲的 RIOT ID 遊戲帳號格式為: ABCDEF#1234'\r\n }\r\n\r\n get game() {\r\n if (!this.selectedTournament) return ''\r\n\r\n return this.selectedTournament.game\r\n }\r\n\r\n get userId() {\r\n return this.userModule.userId\r\n }\r\n\r\n get players(): TournamentPlayerEntity[] {\r\n if (!this.selectedTournamentTeam) return []\r\n return this.selectedTournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n )\r\n }\r\n\r\n get me() {\r\n if (!this.selectedTournamentTeam) return null\r\n\r\n return this.selectedTournamentTeam.players.find(\r\n player => player.memberId === this.userId\r\n )\r\n }\r\n\r\n get confirmDialogMessage() {\r\n return this.$t(\r\n 'EditTournamentTeamMemberGameAccountDialog.ConfirmDialogMessage',\r\n {\r\n captainName: this.newGameAccountName\r\n }\r\n )\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=template&id=9e79fe70&scoped=true&\"\nimport script from \"./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./EditTournamentTeamMemberGameAccountDialog.vue?vue&type=style&index=0&id=9e79fe70&lang=scss&scoped=true&\"\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 \"9e79fe70\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle,VDialog,VTextField})\n","import EditTournamentTeamMemberGameAccountDialog from './EditTournamentTeamMemberGameAccountDialog.vue'\r\n\r\nexport { EditTournamentTeamMemberGameAccountDialog }\r\nexport default EditTournamentTeamMemberGameAccountDialog\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"max-width\":\"50rem\"},model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v},expression:\"isVisible\"}},[_c('v-card',{staticClass:\"text-center pa-5\",attrs:{\"loading\":_vm.isLoading}},[_c('v-card-title',[_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentFormResponseDialog.Title'))+\" \")])]),_c('v-container',[(_vm.schema && _vm.response)?[_c('v-form',[_c('v-form-base',{attrs:{\"model\":_vm.response,\"schema\":_vm.schema}})],1)]:[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":48}})]],2),_c('div',{staticClass:\"mt-5\"},[_c('v-btn',{attrs:{\"depressed\":\"\",\"color\":\"orange darken-3\",\"large\":\"\"},on:{\"click\":function($event){_vm.isConfirmDialogVisible = true}}},[_vm._v(\" \"+_vm._s(_vm.$t('EditTournamentTeamMemberGameAccountDialog.Confirm'))+\" \")])],1)],1),_c('ConfirmDialog',{attrs:{\"title\":_vm.$t('EditTournamentTeamMemberGameAccountDialog.ConfirmDialogTitle'),\"content\":_vm.confirmDialogMessage,\"isVisible\":_vm.isConfirmDialogVisible},on:{\"confirm\":_vm.submit,\"cancel\":function($event){_vm.isConfirmDialogVisible = false}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {\r\n Component,\r\n Emit,\r\n Prop,\r\n PropSync,\r\n Vue,\r\n Watch\r\n} from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport ServerError from '@/utils/server_error'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport ConfirmDialog from '@/modules/shared/components/ConfirmDialog'\r\nimport VFormBase from 'vuetify-form-base'\r\nimport {\r\n ResponseStatus,\r\n TournamentAPI,\r\n TournamentEntity\r\n} from '@/api/tournament'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentPlayerEntity,\r\n TournamentTeamRole\r\n} from '@/api/tournamentTeam'\r\nimport { parseSchema } from '@/utils/customform_validation'\r\nimport i18n from '@/lang'\r\n\r\n@Component({\r\n components: {\r\n ConfirmDialog,\r\n VFormBase\r\n }\r\n})\r\nexport default class EditTournamentFormResponseDialog extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n\r\n @PropSync('visible', { default: false }) isVisible!: boolean\r\n\r\n schema: any = {}\r\n response: any = null\r\n isConfirmDialogVisible: boolean = false\r\n isLoading: boolean = false\r\n\r\n /* Watchers */\r\n @Watch('isVisible')\r\n async onVisibleChange(visible: boolean) {\r\n if (!visible) {\r\n this.schema = {}\r\n this.response = null\r\n } else {\r\n await this.fetchTournamentTeamFormResponse()\r\n }\r\n }\r\n\r\n /* Methods */\r\n async submit() {\r\n this.isLoading = true\r\n try {\r\n const response = await TournamentAPI.updateTournamentFormResponse(\r\n this.selectedTournamentTeam!.tournamentTeamId,\r\n JSON.stringify(this.response)\r\n )\r\n if (response.data.status === ResponseStatus.Ok) {\r\n this.$toast.success(\r\n this.$t('EditTournamentFormResponseDialog.SubmittedMessage')\r\n )\r\n this.nameChanged()\r\n }\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('Loading.SystemErrorMessage'))\r\n }\r\n console.error(err)\r\n } finally {\r\n this.isLoading = false\r\n this.isConfirmDialogVisible = false\r\n this.isVisible = false\r\n }\r\n }\r\n\r\n async fetchTournamentTeamFormResponse() {\r\n try {\r\n const res = await TournamentAPI.getMemberTournamentFormResponse(\r\n this.selectedTournamentTeam!.tournamentTeamId\r\n )\r\n if (res.data.payload) {\r\n this.schema = parseSchema(res.data.payload.schema)\r\n this.response = JSON.parse(res.data.payload.value)\r\n }\r\n } catch {\r\n // use fallback to parse schema content\r\n this.fetchTournamentFormSchemaFallback()\r\n }\r\n }\r\n\r\n async fetchTournamentFormSchemaFallback() {\r\n try {\r\n const res = await TournamentAPI.getTournamentCustomFormSchema(\r\n this.selectedTournament!.tournamentId\r\n )\r\n if (res.data.payload) {\r\n this.schema = parseSchema(res.data.payload.schema)\r\n this.response = {}\r\n }\r\n } catch {\r\n this.isVisible = false\r\n }\r\n }\r\n\r\n nameChanged() {\r\n // this.newCaptainMemberId = ''\r\n // this.newGameAccountName = ''\r\n this.$emit('changed')\r\n }\r\n\r\n /* Computed Properties */\r\n get selectedTournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get selectedTournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get game() {\r\n if (!this.selectedTournament) return ''\r\n\r\n return this.selectedTournament.game\r\n }\r\n\r\n get userId() {\r\n return this.userModule.userId\r\n }\r\n\r\n get players(): TournamentPlayerEntity[] {\r\n if (!this.selectedTournamentTeam) return []\r\n return this.selectedTournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n )\r\n }\r\n\r\n get me() {\r\n if (!this.selectedTournamentTeam) return null\r\n\r\n return this.selectedTournamentTeam.players.find(\r\n player => player.memberId === this.userId\r\n )\r\n }\r\n\r\n get confirmDialogMessage() {\r\n return this.$t('EditTournamentFormResponseDialog.ConfirmDialogMessage')\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./EditTournamentFormResponseDialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./EditTournamentFormResponseDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./EditTournamentFormResponseDialog.vue?vue&type=template&id=d317a484&scoped=true&\"\nimport script from \"./EditTournamentFormResponseDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./EditTournamentFormResponseDialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./EditTournamentFormResponseDialog.vue?vue&type=style&index=0&id=d317a484&lang=scss&scoped=true&\"\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 \"d317a484\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\ninstallComponents(component, {VBtn,VCard,VCardTitle,VContainer,VDialog,VForm,VProgressCircular})\n","import EditTournamentFormResponseDialog from './EditTournamentFormResponseDialog.vue'\r\nexport default EditTournamentFormResponseDialog\r\nexport { EditTournamentFormResponseDialog }\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Ref, Emit, Watch, Prop } from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport TournamentPlayers from './TournamentPlayers'\r\nimport TournamentTeamChangeCaptainDialog from '@/modules/tournament/components/TournamentTeamChangeCaptainDialog'\r\nimport EditTournamentGroupDialog from '../../EditTournamentGroupDialog'\r\nimport EditTournamentTeamMemberGameAccountDialog from '../../EditTournamentTeamMemberGameAccountDialog'\r\nimport EditTournamentFormResponseDialog from '../../EditTournamentFormResponseDialog'\r\nimport {\r\n TournamentAPI,\r\n TournamentEntity,\r\n TournamentState\r\n} from '@/api/tournament'\r\nimport {\r\n TournamentTeamEntity,\r\n TournamentPlayerEntity,\r\n TournamentTeamState,\r\n TournamentTeamRole\r\n} from '@/api/tournamentTeam'\r\nimport ServerError from '@/utils/server_error'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { HubConnection } from '@microsoft/signalr'\r\nimport { CancelError, CancellationToken } from '@/utils/cancel'\r\nimport { getRealtimeConnection, realtimeEventTarget } from '@/utils/realtime'\r\nimport i18n from '@/lang'\r\nimport { isElectron } from '@/utils/electron'\r\n\r\n@Component({\r\n components: {\r\n TournamentPlayers,\r\n TournamentTeamChangeCaptainDialog,\r\n EditTournamentGroupDialog,\r\n EditTournamentFormResponseDialog,\r\n EditTournamentTeamMemberGameAccountDialog\r\n }\r\n})\r\nexport default class TeamRegistrationStatus extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n realtimeConnection!: HubConnection\r\n realtimeConnectionCancellationToken = new CancellationToken()\r\n\r\n teamToken: string = ''\r\n isGeneratingTeamToken: boolean = false\r\n isChangeTeamCaptainDialogVisible: boolean = false\r\n isEditTournamentGroupDialogVisible: boolean = false\r\n isEditGameAccountDialogVisible: boolean = false\r\n isTournamentResponseEditDialogVisible: boolean = false\r\n\r\n @Prop({ type: Boolean, default: false }) readonly isVisible!: boolean\r\n @Prop({ type: Boolean, default: false }) readonly hasCustomForm!: boolean\r\n\r\n @Ref('teamTokenTextField')\r\n readonly teamTokenTextField!: { $el: HTMLInputElement }\r\n\r\n @Ref('tournamentPlayers')\r\n readonly tournamentPlayers!: TournamentPlayers\r\n\r\n @Emit('close')\r\n onClose() {\r\n return this\r\n }\r\n\r\n @Watch('isVisible')\r\n async onVisibilityChanged(visible: boolean) {\r\n if (visible) {\r\n if (this.selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'SubscribeTournamentTeam',\r\n this.selectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n\r\n if (this.selectedTournament) {\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.selectedTournament.tournamentId\r\n )\r\n }\r\n } else {\r\n if (this.selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'UnsubscribeTournamentTeam',\r\n this.selectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n }\r\n }\r\n\r\n async onGameAccountNameChanged() {\r\n if (this.selectedTournament) {\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.selectedTournament.tournamentId\r\n )\r\n }\r\n }\r\n\r\n async onTournamentGroupChanged() {\r\n if (this.selectedTournament) {\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.selectedTournament.tournamentId\r\n )\r\n }\r\n }\r\n\r\n @Watch('selectedTournamentTeam')\r\n async onSelectedTournamentTeamChanged(\r\n selectedTournamentTeam: TournamentTeamEntity,\r\n oldSelectedTournamentTeam: TournamentTeamEntity\r\n ) {\r\n try {\r\n this.realtimeConnection = await getRealtimeConnection(\r\n this.realtimeConnectionCancellationToken\r\n )\r\n } catch (err) {\r\n if (err instanceof CancelError) {\r\n return\r\n }\r\n\r\n this.$toast.error(\r\n this.$t('TeamRegistrationStatus.FailConnectServerMessage')\r\n )\r\n console.error(err)\r\n }\r\n\r\n if (oldSelectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'UnsubscribeTournamentTeam',\r\n oldSelectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n\r\n if (selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'SubscribeTournamentTeam',\r\n selectedTournamentTeam.tournamentTeamId\r\n )\r\n } else {\r\n this.onClose()\r\n }\r\n }\r\n\r\n async confirmRoster() {\r\n await this.tournamentPlayers.onConfirmTournamentTeamRosterClick()\r\n }\r\n\r\n async created() {\r\n try {\r\n this.realtimeConnection = await getRealtimeConnection(\r\n this.realtimeConnectionCancellationToken\r\n )\r\n } catch (err) {\r\n if (err instanceof CancelError) {\r\n return\r\n }\r\n\r\n this.$toast.error(\r\n this.$t('TeamRegistrationStatus.FailConnectServerMessage')\r\n )\r\n console.error(err)\r\n }\r\n\r\n this.realtimeConnection.on(\r\n 'tournamentPlayerAdded',\r\n this.onTournamentPlayerUpdated\r\n )\r\n this.realtimeConnection.on(\r\n 'tournamentPlayerRemoved',\r\n this.onTournamentPlayerRemoved\r\n )\r\n this.realtimeConnection.on(\r\n 'tournamentTeamRegistered',\r\n (memberIds: string[]) => this.onTournamentTeamRegistered(memberIds)\r\n )\r\n this.realtimeConnection.on(\r\n 'tournamentTeamCaptainChanged',\r\n this.onTournamentTeamCaptainChanged\r\n )\r\n this.realtimeConnection.on(\r\n 'tournamentPlayerUpdated',\r\n this.onTournamentPlayerUpdated\r\n )\r\n\r\n if (this.selectedTournament && this.selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'SubscribeTournamentTeam',\r\n this.selectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n\r\n realtimeEventTarget.addEventListener(\r\n 'reconnected',\r\n this.onRealtimeReconnected\r\n )\r\n }\r\n\r\n async beforeDestroy() {\r\n this.realtimeConnectionCancellationToken.cancel()\r\n\r\n if (this.realtimeConnection) {\r\n this.realtimeConnection.off(\r\n 'tournamentPlayerAdded',\r\n this.onTournamentPlayerUpdated\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentPlayerRemoved',\r\n this.onTournamentPlayerUpdated\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentTeamRegistered',\r\n this.onTournamentTeamRegistered\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentTeamCaptainChanged',\r\n this.onTournamentTeamCaptainChanged\r\n )\r\n this.realtimeConnection.off(\r\n 'tournamentPlayerUpdated',\r\n this.onTournamentPlayerUpdated\r\n )\r\n\r\n if (this.selectedTournament && this.selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'UnsubscribeTournamentTeam',\r\n this.selectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n }\r\n\r\n realtimeEventTarget.removeEventListener(\r\n 'reconnected',\r\n this.onRealtimeReconnected\r\n )\r\n }\r\n\r\n onTournamentPlayerJoined(tournamentPlayer: TournamentPlayerEntity) {\r\n if (!this.selectedTournamentTeam) {\r\n return\r\n }\r\n\r\n this.tournamentModule.addPlayerToSelectedTournamentTeam(tournamentPlayer)\r\n }\r\n\r\n async onTournamentPlayerRemoved(tournamentPlayer: TournamentPlayerEntity) {\r\n if (!this.selectedTournamentTeam) {\r\n return\r\n }\r\n\r\n await this.fetchJoinedTournamentTeam()\r\n }\r\n\r\n onTournamentTeamRegistered(memberIds: string[]) {\r\n this.tournamentModule.setSelectedTournamentTeamRegistered(memberIds)\r\n }\r\n\r\n onTournamentTeamCaptainChanged() {\r\n this.$toast.info(this.$t('TeamRegistrationStatus.TeamCaptainUpdated'))\r\n this.onClose()\r\n }\r\n\r\n onTournamentPlayerUpdated() {\r\n this.fetchJoinedTournamentTeam()\r\n }\r\n\r\n async onRealtimeReconnected() {\r\n // ensure we have subscribed the tournament team\r\n if (this.selectedTournament && this.selectedTournamentTeam) {\r\n await this.realtimeConnection.send(\r\n 'SubscribeTournamentTeam',\r\n this.selectedTournamentTeam.tournamentTeamId\r\n )\r\n }\r\n\r\n // fetch api for new data\r\n await this.fetchJoinedTournamentTeam()\r\n }\r\n\r\n captainChanged() {\r\n this.isChangeTeamCaptainDialogVisible = false\r\n }\r\n\r\n /* Vuex State */\r\n get selectedTournamentTeam(): TournamentTeamEntity | null {\r\n return this.tournamentModule.selectedTournamentTeam\r\n }\r\n\r\n get selectedTournament(): TournamentEntity | null {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n get userId() {\r\n return this.userModule.userId\r\n }\r\n\r\n get isRegistrationPeriod(): boolean {\r\n if (!this.selectedTournament) return false\r\n\r\n return (\r\n this.selectedTournament.state === TournamentState.OpenRegistration ||\r\n this.selectedTournament.state === TournamentState.CompleteRegistration\r\n )\r\n }\r\n\r\n get isSoloTournament() {\r\n return (\r\n this.selectedTournament &&\r\n this.selectedTournament.capacityMaxPlayersPerTeam === 1\r\n )\r\n }\r\n\r\n get isTeamCaptain(): boolean {\r\n let tournamentTeam = this.selectedTournamentTeam\r\n if (tournamentTeam && tournamentTeam.players) {\r\n return tournamentTeam.players.some(\r\n (player: TournamentPlayerEntity) =>\r\n player.memberId === this.userId && player.role === 'Captain'\r\n )\r\n }\r\n return false\r\n }\r\n\r\n get step(): number {\r\n if (this.selectedTournamentTeam) {\r\n if (\r\n this.selectedTournamentTeam.state === TournamentTeamState.Registered\r\n ) {\r\n return 3\r\n }\r\n\r\n if (\r\n this.selectedTournamentTeam &&\r\n this.selectedTournamentTeam.players &&\r\n this.selectedTournamentTeam.players.filter(\r\n player => player.role !== TournamentTeamRole.RequestToJoin\r\n ).length >= this.selectedTournament!.capacityMinPlayersPerTeam\r\n ) {\r\n return 2\r\n }\r\n }\r\n\r\n return 1\r\n }\r\n\r\n get isAllowChangeCaptain() {\r\n if (!this.isTeamCaptain) return false\r\n if (!this.selectedTournamentTeam) return false\r\n if (!this.selectedTournament) return false\r\n const validTournamentStates = [\r\n TournamentState.Initial,\r\n TournamentState.Published,\r\n TournamentState.OpenRegistration,\r\n TournamentState.CompleteRegistration\r\n ]\r\n return (\r\n this.selectedTournamentTeam.players.filter(\r\n player => player.role === TournamentTeamRole.Member\r\n ).length >= 1 &&\r\n validTournamentStates.indexOf(this.selectedTournament.state) !== -1\r\n )\r\n }\r\n\r\n /* Methods */\r\n async generateTeamToken() {\r\n this.isGeneratingTeamToken = true\r\n\r\n try {\r\n const response = await TournamentAPI.refreshTeamToken(\r\n this.selectedTournamentTeam!.tournamentTeamId\r\n )\r\n this.teamToken = response.data.payload!\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n console.error(err)\r\n }\r\n\r\n this.teamToken = ''\r\n } finally {\r\n this.isGeneratingTeamToken = false\r\n }\r\n }\r\n\r\n copyTeamToken() {\r\n this.$copyText(this.teamTokenOutput, this.teamTokenTextField.$el).then(\r\n e => {\r\n this.$toast.success(\r\n this.$t('TeamRegistrationStatus.CopiedTeamCodeToClipboard')\r\n )\r\n },\r\n e => {\r\n this.$toast.error(\r\n this.$t('TeamRegistrationStatus.FailedToCopyToClipboard')\r\n )\r\n }\r\n )\r\n }\r\n\r\n copyTeamTokenUrl() {\r\n this.$copyText(this.teamTokenUrl, this.teamTokenTextField.$el).then(\r\n e => {\r\n this.$toast.success(\r\n this.$t('TeamRegistrationStatus.CopiedTeamCodeToClipboard')\r\n )\r\n },\r\n e => {\r\n this.$toast.error(\r\n this.$t('TeamRegistrationStatus.FailedToCopyToClipboard')\r\n )\r\n }\r\n )\r\n }\r\n\r\n /* Computed Properties */\r\n get teamTokenOutput() {\r\n if (this.teamToken.length === 6) {\r\n return this.teamToken\r\n // return this.teamToken!.substr(0, 3) + ' ' + this.teamToken!.substr(3)\r\n } else {\r\n return ''\r\n }\r\n }\r\n\r\n get teamTokenUrl() {\r\n if (this.isElectron) {\r\n return process.env.VUE_APP_TEAM_TOKEN_URL!.replace(\r\n '%teamToken%',\r\n this.teamTokenOutput.replace(' ', '')\r\n )\r\n }\r\n return `${window.location.origin}/invite/${this.teamToken}`\r\n }\r\n\r\n get isElectron() {\r\n return isElectron()\r\n }\r\n\r\n get hasGroup() {\r\n return (\r\n this.tournamentModule.selectedTournament &&\r\n this.tournamentModule.selectedTournament.hasGroup\r\n )\r\n }\r\n\r\n async onConfirmRoster() {\r\n await this.fetchJoinedTournamentTeam()\r\n }\r\n\r\n async onUnconfirmRoster() {\r\n await this.fetchJoinedTournamentTeam()\r\n }\r\n\r\n async fetchJoinedTournamentTeam() {\r\n try {\r\n await this.tournamentModule.getMemberJoinedTournamentTeam(\r\n this.selectedTournament!.tournamentId\r\n )\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('TeamRegistrationStatus.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamRegistrationStatus.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamRegistrationStatus.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TeamRegistrationStatus.vue?vue&type=template&id=70a0e8da&scoped=true&\"\nimport script from \"./TeamRegistrationStatus.vue?vue&type=script&lang=ts&\"\nexport * from \"./TeamRegistrationStatus.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TeamRegistrationStatus.vue?vue&type=style&index=0&id=70a0e8da&lang=scss&scoped=true&\"\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 \"70a0e8da\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VStepper } from 'vuetify/lib/components/VStepper';\nimport { VStepperContent } from 'vuetify/lib/components/VStepper';\nimport { VStepperStep } from 'vuetify/lib/components/VStepper';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCardTitle,VIcon,VSpacer,VStepper,VStepperContent,VStepperStep,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card-title',{staticClass:\"pt-0\"},[(!_vm.isReviewing)?_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.TeamRegistration'))+\" \")]):_c('h2',{staticClass:\"heading mx-auto\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.ConfirmApplicationDetails'))+\" \")])]),_c('v-form',{attrs:{\"action\":\"javascript:void(0)\"},on:{\"submit\":_vm.toReview},model:{value:(_vm.isFormValid),callback:function ($$v) {_vm.isFormValid=$$v},expression:\"isFormValid\"}},[(!_vm.isReviewing && !_vm.isSoloTournament)?[_c('div',{staticClass:\"my-10 py-5\"},[_c('div',{staticClass:\"subtitle-2 text-center mb-5\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.EnterTeamInformation'))+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.GetTeamCodeForYourTeamMembersAterwards'))+\" \")]),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":_vm.$t('TeamRegistration.Name'),\"outlined\":\"\",\"prepend-inner-icon\":\"mdi-account-box\",\"maxlength\":\"32\",\"autocomplete\":\"off\",\"disabled\":_vm.loading,\"rules\":_vm.nameRules},model:{value:(_vm.tournamentTeamForm.name),callback:function ($$v) {_vm.$set(_vm.tournamentTeamForm, \"name\", $$v)},expression:\"tournamentTeamForm.name\"}})],1)],1),(!_vm.$vuetify.breakpoint.mobile)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"8\",\"offset\":\"2\"}},[_c('vue-file-agent',{attrs:{\"accept\":\"image/png,image/jpg,image/jpeg\",\"max-files\":1,\"max-size\":\"20MB\",\"helpText\":_vm.$t('TeamRegistration.DragAndDropImageMessage'),\"errorText\":{\n type: _vm.$t('TeamRegistration.InvalidFileTypeMessage'),\n size: _vm.$t('TeamRegistration.FileSizeWarning')\n }},model:{value:(_vm.logoFile),callback:function ($$v) {_vm.logoFile=$$v},expression:\"logoFile\"}})],1)],1):_vm._e()],1),_c('div',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"px-5\",attrs:{\"color\":\"primary\",\"type\":\"submit\",\"large\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading || !_vm.isFormValid}},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.Next'))+\" \"),_c('v-icon',[_vm._v(\"mdi-arrow-right\")])],1)],1)]:[_c('v-container',[_c('div',[_c('div',{staticClass:\"text-center mb-5 orange--text\"},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.ReviewHintsText'))+\" \")])]),_c('div',{staticClass:\"my-10\"},[(_vm.tournament)?_c('TeamDetailReview',{attrs:{\"teamName\":_vm.tournamentTeamForm.name,\"group\":_vm.group}}):_vm._e()],1),_c('div',{staticClass:\"text-center\"},[_c('v-checkbox',{attrs:{\"label\":_vm.$t('TeamRegistration.ConfirmCheckboxHints')},model:{value:(_vm.accepted),callback:function ($$v) {_vm.accepted=$$v},expression:\"accepted\"}}),_c('v-spacer'),(!_vm.isSoloTournament)?_c('v-btn',{staticClass:\"px-5 mx-5\",attrs:{\"color\":\"secondary\",\"large\":\"\",\"disabled\":_vm.loading || _vm.accepted},on:{\"click\":function($event){_vm.isReviewing = false}}},[_c('v-icon',[_vm._v(\"mdi-pencil-outline\")]),_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.EditButton'))+\" \")],1):_vm._e(),_c('v-btn',{staticClass:\"px-5\",attrs:{\"color\":\"primary\",\"large\":\"\",\"loading\":_vm.loading,\"disabled\":_vm.loading || !_vm.accepted},on:{\"click\":_vm.onSubmit}},[_vm._v(\" \"+_vm._s(_vm.$t('TeamRegistration.Next'))+\" \"),_c('v-icon',[_vm._v(\"mdi-arrow-right\")])],1)],1)])]],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Emit, Prop } from 'vue-property-decorator'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport tournamentStore from '@/modules/tournament/tournament.store'\r\nimport { CreateTournamentTeamRequest } from '@/api/tournament'\r\nimport TeamDetailReview from '../TeamDetailReview'\r\nimport ServerError from '@/utils/server_error'\r\nimport i18n from '@/lang'\r\nimport { FileRecord } from 'vue-file-agent'\r\nimport { MemberEntity, MemberGameAccountEntity } from '@/api/member'\r\nimport userStore from '@/modules/auth/auth.store'\r\n\r\n@Component({\r\n components: {\r\n TeamDetailReview\r\n }\r\n})\r\nexport default class TeamRegistration extends Vue {\r\n tournamentModule = getModule(tournamentStore, this.$store)\r\n tournamentTeamForm: CreateTournamentTeamRequest = {\r\n name: '',\r\n logo: null,\r\n group: null\r\n }\r\n userModule = getModule(userStore, this.$store)\r\n nameRules: Function[] = [\r\n (v: any) => !!v || i18n.t('TeamRegistration.NameIsRequired'),\r\n (v: any) =>\r\n (v && v.length <= 32) ||\r\n i18n.t('TeamRegistration.NameCannotBeLongerThan32Characters')\r\n ]\r\n logoFile: FileRecord | null = null\r\n isFormValid: boolean = false\r\n loading: boolean = false\r\n isReviewing: boolean = false\r\n accepted: boolean = false\r\n\r\n @Prop({ default: '' }) readonly group!: string\r\n\r\n @Emit('tournamentTeamCreated')\r\n onTournamentTeamCreated(teamToken: string) {\r\n return teamToken\r\n }\r\n\r\n get isSoloTournament() {\r\n return this.tournament && this.tournament.capacityMaxPlayersPerTeam === 1\r\n }\r\n\r\n reset() {\r\n this.tournamentTeamForm = {\r\n name: '',\r\n logo: null,\r\n group: null\r\n }\r\n this.isFormValid = false\r\n }\r\n\r\n get tournament() {\r\n return this.tournamentModule.selectedTournament\r\n }\r\n\r\n async toReview() {\r\n this.isReviewing = true\r\n }\r\n\r\n async onSubmit() {\r\n this.loading = true\r\n\r\n // Override and use platform name as teamname for solo tournament\r\n if (this.isSoloTournament) {\r\n this.tournamentTeamForm = {\r\n name: this.userModule.member!.nickname,\r\n logo: null,\r\n group: this.group || null\r\n }\r\n }\r\n\r\n try {\r\n const teamToken = await this.tournamentModule.createTournamentTeam({\r\n tournamentTeam: {\r\n ...this.tournamentTeamForm,\r\n group: this.group || null\r\n },\r\n tournamentId: this.tournament!.tournamentId,\r\n logoFile: this.logoFile ? this.logoFile.file : null\r\n })\r\n this.onTournamentTeamCreated(teamToken as string)\r\n } catch (err) {\r\n if (err instanceof ServerError) {\r\n this.$toast.error(err.getMessage())\r\n } else {\r\n this.$toast.error(this.$t('TeamRegistration.SystemErrorMessage'))\r\n console.error(err)\r\n }\r\n } finally {\r\n this.loading = false\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamRegistration.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamRegistration.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TeamRegistration.vue?vue&type=template&id=04d197f2&scoped=true&\"\nimport script from \"./TeamRegistration.vue?vue&type=script&lang=ts&\"\nexport * from \"./TeamRegistration.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TeamRegistration.vue?vue&type=style&index=0&id=04d197f2&lang=scss&scoped=true&\"\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 \"04d197f2\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCardTitle,VCheckbox,VCol,VContainer,VForm,VIcon,VRow,VSpacer,VTextField})\n","import TeamRegistration from './TeamRegistration.vue'\r\n\r\nexport { TeamRegistration }\r\nexport default TeamRegistration\r\n","import mod from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamRegistrationComplete.vue?vue&type=style&index=0&id=29001bc9&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamRegistrationComplete.vue?vue&type=style&index=0&id=29001bc9&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',[_c('v-col',{staticClass:\"heading\",class:{ 'text-right': _vm.right, 'text-center': _vm.center },attrs:{\"cols\":\"12\"}},[_vm._v(\" \"+_vm._s(_vm.header)+\" \")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Prop } from 'vue-property-decorator'\r\n\r\n@Component\r\nexport default class TournamentDetailsHeader extends Vue {\r\n @Prop({ required: true }) readonly header!: string\r\n @Prop({ type: Boolean, default: false }) readonly right!: boolean\r\n @Prop({ type: Boolean, default: false }) readonly center!: boolean\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentDetailsHeader.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentDetailsHeader.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TournamentDetailsHeader.vue?vue&type=template&id=92d32218&scoped=true&\"\nimport script from \"./TournamentDetailsHeader.vue?vue&type=script&lang=ts&\"\nexport * from \"./TournamentDetailsHeader.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./TournamentDetailsHeader.vue?vue&type=style&index=0&id=92d32218&lang=scss&scoped=true&\"\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 \"92d32218\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VRow})\n","import TournamentDetailsHeader from './TournamentDetailsHeader.vue'\r\n\r\nexport { TournamentDetailsHeader }\r\nexport default TournamentDetailsHeader\r\n","import mod from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentRegistration.vue?vue&type=style&index=0&id=c20a9e84&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TournamentRegistration.vue?vue&type=style&index=0&id=c20a9e84&lang=scss&scoped=true&\"","import mod from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamRegistration.vue?vue&type=style&index=0&id=04d197f2&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./TeamRegistration.vue?vue&type=style&index=0&id=04d197f2&lang=scss&scoped=true&\""],"sourceRoot":""}