{"version":3,"sources":["webpack:///./src/components/Tournament/QuickSettings/SettingToggle.vue?61d5","webpack:///src/components/Tournament/QuickSettings/SettingToggle.vue","webpack:///./src/components/Tournament/QuickSettings/SettingToggle.vue?c73c","webpack:///./src/components/Tournament/QuickSettings/SettingToggle.vue","webpack:///./src/components/Tournament/Division/Teams/ColumnDialog.vue?2bd1","webpack:///src/components/Tournament/Division/Teams/ColumnDialog.vue","webpack:///./src/components/Tournament/Division/Teams/ColumnDialog.vue?ea22","webpack:///./src/components/Tournament/Division/Teams/ColumnDialog.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","disabled","loading","on","$event","stopPropagation","toggle","_v","_s","myLabel","color","icon","class","iClass","label","model","value","callback","$$v","myProp","expression","staticRenderFns","props","data","computed","trueLabel","falseLabel","tournament","$store","getters","division","dataId","isDivisionProp","getDivision","divisionJProps","jProp","getDivisionJProps","divisionPropList","round","isRoundProp","getRound","roundJProps","getRoundJProps","divisionProp","propName","propList","roundProp","get","invert","val","set","setJProp","setRoundProp","setDivisionProp","methods","includes","push","filter","saveDivisionPropList","saveDivisionProp","saveRoundProp","dto","mut","commit","saveJProp","id","saveJProps","patch","component","VBtn","VCheckbox","VIcon","VSwitch","scopedSlots","_u","key","fn","ref","d","tt","_g","Object","assign","dialog","_l","column","header","$set","locked","$vuetify","breakpoint","xsOnly","components","SettingToggle","VCard","VCardText","VCol","VDialog","VRow","VSpacer","VToolbar","VToolbarTitle","VTooltip"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAU,OAAEI,EAAG,QAAQ,CAACE,YAAY,cAAcC,MAAM,CAAC,MAAQ,SAAS,KAAO,GAAG,SAAWP,EAAIQ,SAAS,QAAUR,EAAIS,SAASC,GAAG,CAAC,MAAQ,SAASC,GAAiC,OAAzBA,EAAOC,kBAAyBZ,EAAIa,OAAOF,M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F,EAAW,SAAE,SAAS4F,GAAQ,OAAOxF,EAAG,QAAQ,CAAC8E,IAAIU,EAAOrE,MAAMhB,MAAM,CAAC,MAAQ,KAAK,CAACH,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,MAAM,CAACH,EAAG,aAAa,CAACE,YAAY,OAAOC,MAAM,CAAC,MAAQqF,EAAOC,OAAO,eAAe,GAAG,MAAQ,WAAWvE,MAAM,CAACC,MAAOqE,EAAW,KAAEpE,SAAS,SAAUC,GAAMzB,EAAI8F,KAAKF,EAAQ,OAAQnE,IAAME,WAAW,kBAAkB,GAAGvB,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,MAAM,CAACH,EAAG,iBAAiB,CAACG,MAAM,CAAC,OAASP,EAAIqC,SAASmC,GAAG,SAAWxE,EAAIkC,WAAW6D,OAAO,SAAY,UAAaH,EAAY,MAAG,gBAAiB,EAAK,OAAQ,EAAK,OAAS,cAAc,MAAQ5F,EAAIgG,SAASC,WAAWC,OAAO,MAAQ,cAAc,IAAI,MAAK,IAAI,IAAI,IAC9wCtE,EAAkB,G,oCCyDtB,GACEC,MAAO,CAAC,UAAW,YACnBC,KAFF,WAGI,MAAO,CACL4D,QAAQ,IAGZ3D,SAAU,OAAZ,OAAY,CAAZ,GACA,wCAEEoE,WAAY,CACVC,cAAJ,SCzEmY,I,iLCO/XzB,EAAY,eACd,EACA5E,EACA6B,GACA,EACA,KACA,KACA,MAIa,aAAA+C,EAAiB,QAgBhC,IAAkBA,EAAW,CAACC,OAAA,KAAKyB,QAAA,KAAMC,UAAA,OAAUzB,YAAA,KAAU0B,OAAA,KAAKC,UAAA,KAAQ1B,QAAA,KAAM2B,OAAA,KAAKC,UAAA,KAAQC,WAAA,KAASC,cAAA,OAAcC,WAAA","file":"js/chunk-2843fb12.c43e9a20.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.button)?_c('v-btn',{staticClass:\"xsmall ma-0\",attrs:{\"color\":\"color3\",\"text\":\"\",\"disabled\":_vm.disabled,\"loading\":_vm.loading},on:{\"click\":function($event){$event.stopPropagation();return _vm.toggle($event)}}},[_vm._v(\" \"+_vm._s(_vm.myLabel)+\" \")]):(_vm.fab)?_c('v-btn',{attrs:{\"color\":_vm.color || 'color3 color3Text--text',\"small\":\"\",\"fab\":\"\",\"disabled\":_vm.disabled,\"loading\":_vm.loading},on:{\"click\":function($event){$event.stopPropagation();return _vm.toggle($event)}}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(_vm._s(_vm.icon))])],1):(_vm.small)?_c('v-checkbox',{class:_vm.iClass,attrs:{\"hide-details\":\"\",\"label\":_vm.label,\"disabled\":_vm.disabled,\"loading\":_vm.loading,\"color\":_vm.color || 'success'},model:{value:(_vm.myProp),callback:function ($$v) {_vm.myProp=$$v},expression:\"myProp\"}}):_c('v-switch',{class:_vm.iClass,attrs:{\"hide-details\":\"\",\"label\":_vm.label,\"disabled\":_vm.disabled,\"loading\":_vm.loading,\"color\":_vm.color || 'success'},model:{value:(_vm.myProp),callback:function ($$v) {_vm.myProp=$$v},expression:\"myProp\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <v-btn\r\n v-if=\"button\"\r\n color=\"color3\"\r\n text class=\"xsmall ma-0\"\r\n :disabled=\"disabled\"\r\n :loading=\"loading\"\r\n @click.stop=\"toggle\"\r\n >\r\n {{myLabel}}\r\n </v-btn>\r\n <v-btn\r\n v-else-if=\"fab\"\r\n :color=\"color || 'color3 color3Text--text'\"\r\n small fab\r\n :disabled=\"disabled\"\r\n :loading=\"loading\"\r\n @click.stop=\"toggle\"\r\n >\r\n <v-icon small>{{icon}}</v-icon>\r\n </v-btn>\r\n <v-checkbox\r\n v-else-if=\"small\"\r\n :class=\"iClass\"\r\n hide-details\r\n :label=\"label\"\r\n v-model=\"myProp\"\r\n :disabled=\"disabled\"\r\n :loading=\"loading\"\r\n :color=\"color || 'success'\"\r\n ></v-checkbox>\r\n <v-switch\r\n v-else\r\n :class=\"iClass\"\r\n hide-details\r\n :label=\"label\"\r\n v-model=\"myProp\"\r\n :disabled=\"disabled\"\r\n :loading=\"loading\"\r\n :color=\"color || 'success'\"\r\n ></v-switch>\r\n</template>\r\n\r\n<script>\r\nimport * as mutations from '@/store/MutationTypes'\r\nexport default {\r\n props: ['disabled', 'propName', 'label', 'dataId', 'isRoundProp', 'isDivisionProp', 'jProp', 'propList', 'button', 'trueLabel', 'falseLabel', 'fab', 'icon', 'color', 'iClass', 'small', 'invert'],\r\n data () {\r\n return {\r\n loading: false\r\n }\r\n },\r\n computed: {\r\n myLabel () {\r\n return (this.myProp ? this.trueLabel : this.falseLabel) || this.label\r\n },\r\n tournament () {\r\n return this.$store.getters.tournament\r\n },\r\n division () {\r\n return this.dataId && this.isDivisionProp && this.$store.getters.getDivision(this.dataId)\r\n },\r\n divisionJProps () {\r\n return this.jProp && this.dataId && this.isDivisionProp && this.$store.getters.getDivisionJProps(this.dataId)\r\n },\r\n divisionPropList () {\r\n return this.division && this.division.props\r\n },\r\n round () {\r\n return this.dataId && this.isRoundProp && this.$store.getters.getRound(this.dataId)\r\n },\r\n roundJProps () {\r\n return this.jProp && this.dataId && this.isRoundProp && this.$store.getters.getRoundJProps(this.dataId)\r\n },\r\n divisionProp () {\r\n return this.jProp ? this.divisionJProps && this.divisionJProps[this.propName] : this.propList ? (this.divisionPropList && this.divisionPropList.includes(this.propName)) : this.division && this.division[this.propName]\r\n },\r\n roundProp () {\r\n return this.jProp ? this.roundJProps && this.roundJProps[this.propName] : this.round && this.round[this.propName]\r\n },\r\n myProp: {\r\n get: function () {\r\n const val = this.isDivisionProp ? this.divisionProp : this.roundProp\r\n return this.invert ? !val : val\r\n },\r\n set: function (val) {\r\n if (this.invert) val = !val\r\n this.jProp ? this.setJProp(val) : this.isRoundProp ? this.setRoundProp(val) : this.setDivisionProp(val)\r\n }\r\n }\r\n },\r\n methods: {\r\n toggle () {\r\n this.myProp = !this.myProp\r\n },\r\n setDivisionProp (val) {\r\n if (this.propList) {\r\n if (val) {\r\n !this.division.props.includes(this.propName) && this.division.props.push(this.propName)\r\n } else {\r\n this.division.props = this.division.props.filter(f => f !== this.propName)\r\n }\r\n this.saveDivisionPropList()\r\n } else {\r\n this.division[this.propName] = val\r\n this.saveDivisionProp()\r\n }\r\n },\r\n setRoundProp (val) {\r\n this.round[this.propName] = val\r\n this.saveRoundProp()\r\n },\r\n setJProp (val) {\r\n const dto = {}\r\n dto[this.propName] = val\r\n var mut = this.isRoundProp ? mutations.SET_ROUND_JPROP : mutations.SET_DIVISION_JPROP\r\n this.$store.commit(mut, { id: this.dataId, val: dto })\r\n this.saveJProp()\r\n },\r\n saveJProp () {\r\n if (!this.tournament.id) return\r\n this.loading = true\r\n this.tournament.saveJProps()\r\n .finally(() => {\r\n this.loading = false\r\n })\r\n },\r\n saveRoundProp () {\r\n if (!this.round.id) return\r\n this.loading = true\r\n const dto = {}\r\n dto[this.propName] = this.round[this.propName]\r\n this.round.patch(dto)\r\n .catch(err => {\r\n console.log(err.response)\r\n })\r\n .finally(() => {\r\n this.loading = false\r\n })\r\n },\r\n saveDivisionProp () {\r\n if (!this.division.id) return\r\n this.loading = true\r\n const dto = {}\r\n dto[this.propName] = this.division[this.propName]\r\n this.division.patch(dto)\r\n .catch(err => {\r\n console.log(err.response)\r\n })\r\n .finally(() => {\r\n this.loading = false\r\n })\r\n },\r\n saveDivisionPropList () {\r\n if (!this.division.id) return\r\n this.loading = true\r\n const dto = {\r\n props: this.divisionPropList\r\n }\r\n this.division.patch(dto)\r\n .catch(err => {\r\n console.log(err.response)\r\n })\r\n .finally(() => {\r\n this.loading = false\r\n })\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingToggle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SettingToggle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SettingToggle.vue?vue&type=template&id=88a896fc&\"\nimport script from \"./SettingToggle.vue?vue&type=script&lang=js&\"\nexport * from \"./SettingToggle.vue?vue&type=script&lang=js&\"\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 null,\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 { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\ninstallComponents(component, {VBtn,VCheckbox,VIcon,VSwitch})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"max-width\":\"500px\",\"transition\":\"dialog-transition\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar d = ref.on;\nreturn [_c('v-tooltip',{attrs:{\"left\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar tt = ref.on;\nreturn [_c('v-btn',_vm._g({attrs:{\"fab\":\"\",\"color\":\"color3 color3Text--text\",\"small\":\"\"}},Object.assign({}, tt, d)),[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"fas fa-columns\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"Columns\")])])]}}]),model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',[_c('v-toolbar',{attrs:{\"color\":\"color1 color1Text--text\"}},[_c('v-toolbar-title',[_vm._v(\"Columns\")]),_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"color1Text\",\"text\":\"\",\"icon\":\"\"},on:{\"click\":function($event){$event.stopPropagation();_vm.dialog = false}}},[_c('v-icon',[_vm._v(\"fas fa-times\")])],1)],1),_c('v-card-text',_vm._l((_vm.columns),function(column){return _c('v-row',{key:column.value,attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"label\":column.header,\"hide-details\":\"\",\"color\":\"success\"},model:{value:(column.show),callback:function ($$v) {_vm.$set(column, \"show\", $$v)},expression:\"column.show\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('setting-toggle',{attrs:{\"dataId\":_vm.division.id,\"disabled\":_vm.tournament.locked,\"propName\":(\"public-\" + (column.value)),\"isDivisionProp\":true,\"jProp\":true,\"iClass\":\"shrink mt-0\",\"small\":_vm.$vuetify.breakpoint.xsOnly,\"label\":\"Publish\"}})],1)],1)}),1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <v-dialog\r\n v-model=\"dialog\"\r\n max-width=\"500px\"\r\n transition=\"dialog-transition\"\r\n >\r\n <template v-slot:activator=\"{ on: d }\">\r\n <v-tooltip left>\r\n <span>Columns</span>\r\n <template v-slot:activator=\"{ on: tt }\">\r\n <v-btn\r\n fab\r\n color=\"color3 color3Text--text\"\r\n small\r\n v-on=\"{ ...tt, ...d }\"\r\n >\r\n <v-icon small>fas fa-columns</v-icon>\r\n </v-btn>\r\n </template>\r\n </v-tooltip>\r\n </template>\r\n <v-card>\r\n <v-toolbar color=\"color1 color1Text--text\">\r\n <v-toolbar-title>Columns</v-toolbar-title>\r\n <v-spacer></v-spacer>\r\n <v-btn color=\"color1Text\" text icon @click.stop=\"dialog = false\">\r\n <v-icon>fas fa-times</v-icon>\r\n </v-btn>\r\n </v-toolbar>\r\n <v-card-text>\r\n <v-row dense v-for=\"column in columns\" :key=\"column.value\">\r\n <v-col cols=\"6\">\r\n <v-checkbox\r\n :label=\"column.header\"\r\n v-model=\"column.show\"\r\n hide-details\r\n color=\"success\"\r\n class=\"mt-0\"\r\n ></v-checkbox>\r\n </v-col>\r\n <v-col cols=\"6\">\r\n <setting-toggle\r\n :dataId=\"division.id\"\r\n :disabled=\"tournament.locked\"\r\n :propName=\"`public-${column.value}`\"\r\n :isDivisionProp=\"true\"\r\n :jProp=\"true\"\r\n iClass=\"shrink mt-0\"\r\n :small='$vuetify.breakpoint.xsOnly'\r\n label=\"Publish\"\r\n ></setting-toggle>\r\n </v-col>\r\n </v-row>\r\n </v-card-text>\r\n </v-card>\r\n </v-dialog>\r\n</template>\r\n\r\n<script>\r\nimport { mapGetters } from 'vuex'\r\nimport SettingToggle from '@/components/Tournament/QuickSettings/SettingToggle.vue'\r\n\r\nexport default {\r\n props: ['columns', 'division'],\r\n data () {\r\n return {\r\n dialog: false\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(['tournament', 'theme'])\r\n },\r\n components: {\r\n SettingToggle\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n\r\n</style>\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColumnDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColumnDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ColumnDialog.vue?vue&type=template&id=7b780484&\"\nimport script from \"./ColumnDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./ColumnDialog.vue?vue&type=script&lang=js&\"\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 null,\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 { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCard,VCardText,VCheckbox,VCol,VDialog,VIcon,VRow,VSpacer,VToolbar,VToolbarTitle,VTooltip})\n"],"sourceRoot":""}