{"version":3,"sources":["webpack:///./node_modules/vue-debounce-decorator/node_modules/vue-class-component/dist/vue-class-component.common.js","webpack:///./src/components/Players.vue?e324","webpack:///./node_modules/vue-debounce-decorator/lib/vue-debounce-decorator.js","webpack:///./src/components/Players.vue?2f83","webpack:///./src/components/Players.vue?5f41","webpack:///./src/components/Players.vue"],"names":["_interopDefault","ex","Object","defineProperty","exports","value","Vue","__webpack_require__","reflectionIsSupported","Reflect","defineMetadata","copyReflectionMetadata","to","from","forwardMetadata","getOwnPropertyNames","prototype","forEach","key","propertyKey","metaKeys","getOwnMetadataKeys","metaKey","metadata","getOwnMetadata","fakeArray","__proto__","hasProto","Array","createDecorator","factory","target","index","Ctor","constructor","__decorators__","undefined","push","options","mixins","Ctors","_i","arguments","length","extend","isPrimitive","type","collectDataFromConstructor","vm","Component","originalInit","_init","_this","this","keys","$options","props","hasOwnProperty","charAt","get","set","configurable","data","plainData","$internalHooks","componentFactory","name","_componentTag","proto","indexOf","descriptor","getOwnPropertyDescriptor","methods","_a","computed","decorators","fn","superProto","getPrototypeOf","Super","Extended","forwardStaticMembers","Original","extendedDescriptor","superDescriptor","registerHooks","apply","default","render","_vm","_h","$createElement","_c","_self","staticClass","_v","ref","attrs","field","placeholder","loading","busy","icon","icon-pack","size","on","select","option","selected","typing","getData","scopedSlots","_u","_s","memberId","model","callback","$$v","search","expression","slot","staticRenderFns","Debounce","vue_class_component_common","opts","handler","Error","time","originalFn","timeoutId","clear","clearTimeout","args","setTimeout","Playersvue_type_script_lang_ts_Player","vue_property_decorator","GlobalMixin","[object Object]","that","http","getMembers","then","val","id","$router","tslib_es6","immediate","deep","Playersvue_type_script_lang_ts_","components_Playersvue_type_script_lang_ts_","component","componentNormalizer","__webpack_exports__"],"mappings":";;;;;IASA,SAAAA,EAAAC,GAA+B,OAAAA,GAAA,kBAAAA,GAAA,YAAAA,IAAA,WAAAA,EAF/BC,OAAAC,eAAAC,EAAA,cAA8CC,OAAA,IAI9C,IAAAC,EAAAN,EAA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,QACAT,KAAAuD,SAAmB,GACnBvD,KAAAgD,MAAgB,EAChBhD,KAAAiE,OAAiB,GAGVmB,UACH,IAAIC,EAAiBrF,KACrBqF,EAAKrC,MAAO,EACZ,iBAEUsC,EAAA,KAAKC,WAAWF,EAAKpB,QACtBuB,KAAM/E,IAEH4E,EAAK5E,KAAOA,EACZ4E,EAAKrC,MAAO,KANxB,GAgEJoC,iBAAiBK,GAEVA,GAAOA,EAAIC,IACV1F,KAAK2F,QAAQ3G,KAAK,WAAayG,EAAIC,MA9EnC7I,OAAA+I,EAAA,KAAA/I,EAAPA,OAAAqI,EAAA,KAAArI,8BAQDA,OAAA+I,EAAA,KAAA/I,EADCwH,EAAS,kCAoEVxH,OAAA+I,EAAA,KAAA/I,EADCA,OAAAqI,EAAA,KAAArI,CAAM,YAAcgJ,WAAW,EAAMC,MAAM,0CA3E3Bb,EAAMpI,OAAA+I,EAAA,KAAA/I,EAH1BA,OAAAqI,EAAA,KAAArI,EACGqC,QAASiG,EAAA,SAEQF,GAAA,IAAAc,EAAA,ECzCgUC,EAAA,cCOrVC,EAAgBpJ,OAAAqJ,EAAA,KAAArJ,CACdmJ,EACA7D,EACAiC,GACF,EACA,KACA,KACA,MAIe+B,EAAA,WAAAF","file":"js/chunk-28212ca1.1c089b2c.js","sourcesContent":["/**\n * vue-class-component v6.3.2\n * (c) 2015-present Evan You\n * @license MIT\n */\n'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar Vue = _interopDefault(require('vue'));\n\nvar reflectionIsSupported = typeof Reflect !== 'undefined' && Reflect.defineMetadata;\nfunction copyReflectionMetadata(to, from) {\n forwardMetadata(to, from);\n Object.getOwnPropertyNames(from.prototype).forEach(function (key) {\n forwardMetadata(to.prototype, from.prototype, key);\n });\n Object.getOwnPropertyNames(from).forEach(function (key) {\n forwardMetadata(to, from, key);\n });\n}\nfunction forwardMetadata(to, from, propertyKey) {\n var metaKeys = propertyKey\n ? Reflect.getOwnMetadataKeys(from, propertyKey)\n : Reflect.getOwnMetadataKeys(from);\n metaKeys.forEach(function (metaKey) {\n var metadata = propertyKey\n ? Reflect.getOwnMetadata(metaKey, from, propertyKey)\n : Reflect.getOwnMetadata(metaKey, from);\n if (propertyKey) {\n Reflect.defineMetadata(metaKey, metadata, to, propertyKey);\n }\n else {\n Reflect.defineMetadata(metaKey, metadata, to);\n }\n });\n}\n\nvar fakeArray = { __proto__: [] };\nvar hasProto = fakeArray instanceof Array;\nfunction createDecorator(factory) {\n return function (target, key, index) {\n var Ctor = typeof target === 'function'\n ? target\n : target.constructor;\n if (!Ctor.__decorators__) {\n Ctor.__decorators__ = [];\n }\n if (typeof index !== 'number') {\n index = undefined;\n }\n Ctor.__decorators__.push(function (options) { return factory(options, key, index); });\n };\n}\nfunction mixins() {\n var Ctors = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n Ctors[_i] = arguments[_i];\n }\n return Vue.extend({ mixins: Ctors });\n}\nfunction isPrimitive(value) {\n var type = typeof value;\n return value == null || (type !== 'object' && type !== 'function');\n}\nfunction warn(message) {\n if (typeof console !== 'undefined') {\n console.warn('[vue-class-component] ' + message);\n }\n}\n\nfunction collectDataFromConstructor(vm, Component) {\n // override _init to prevent to init as Vue instance\n var originalInit = Component.prototype._init;\n Component.prototype._init = function () {\n var _this = this;\n // proxy to actual vm\n var keys = Object.getOwnPropertyNames(vm);\n // 2.2.0 compat (props are no longer exposed as self properties)\n if (vm.$options.props) {\n for (var key in vm.$options.props) {\n if (!vm.hasOwnProperty(key)) {\n keys.push(key);\n }\n }\n }\n keys.forEach(function (key) {\n if (key.charAt(0) !== '_') {\n Object.defineProperty(_this, key, {\n get: function () { return vm[key]; },\n set: function (value) { vm[key] = value; },\n configurable: true\n });\n }\n });\n };\n // should be acquired class property values\n var data = new Component();\n // restore original _init to avoid memory leak (#209)\n Component.prototype._init = originalInit;\n // create plain data object\n var plainData = {};\n Object.keys(data).forEach(function (key) {\n if (data[key] !== undefined) {\n plainData[key] = data[key];\n }\n });\n if (process.env.NODE_ENV !== 'production') {\n if (!(Component.prototype instanceof Vue) && Object.keys(plainData).length > 0) {\n warn('Component class must inherit Vue or its descendant class ' +\n 'when class property is used.');\n }\n }\n return plainData;\n}\n\nvar $internalHooks = [\n 'data',\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeDestroy',\n 'destroyed',\n 'beforeUpdate',\n 'updated',\n 'activated',\n 'deactivated',\n 'render',\n 'errorCaptured' // 2.5\n];\nfunction componentFactory(Component, options) {\n if (options === void 0) { options = {}; }\n options.name = options.name || Component._componentTag || Component.name;\n // prototype props.\n var proto = Component.prototype;\n Object.getOwnPropertyNames(proto).forEach(function (key) {\n if (key === 'constructor') {\n return;\n }\n // hooks\n if ($internalHooks.indexOf(key) > -1) {\n options[key] = proto[key];\n return;\n }\n var descriptor = Object.getOwnPropertyDescriptor(proto, key);\n if (descriptor.value !== void 0) {\n // methods\n if (typeof descriptor.value === 'function') {\n (options.methods || (options.methods = {}))[key] = descriptor.value;\n }\n else {\n // typescript decorated data\n (options.mixins || (options.mixins = [])).push({\n data: function () {\n var _a;\n return _a = {}, _a[key] = descriptor.value, _a;\n }\n });\n }\n }\n else if (descriptor.get || descriptor.set) {\n // computed properties\n (options.computed || (options.computed = {}))[key] = {\n get: descriptor.get,\n set: descriptor.set\n };\n }\n });\n (options.mixins || (options.mixins = [])).push({\n data: function () {\n return collectDataFromConstructor(this, Component);\n }\n });\n // decorate options\n var decorators = Component.__decorators__;\n if (decorators) {\n decorators.forEach(function (fn) { return fn(options); });\n delete Component.__decorators__;\n }\n // find super\n var superProto = Object.getPrototypeOf(Component.prototype);\n var Super = superProto instanceof Vue\n ? superProto.constructor\n : Vue;\n var Extended = Super.extend(options);\n forwardStaticMembers(Extended, Component, Super);\n if (reflectionIsSupported) {\n copyReflectionMetadata(Extended, Component);\n }\n return Extended;\n}\nvar reservedPropertyNames = [\n // Unique id\n 'cid',\n // Super Vue constructor\n 'super',\n // Component options that will be used by the component\n 'options',\n 'superOptions',\n 'extendOptions',\n 'sealedOptions',\n // Private assets\n 'component',\n 'directive',\n 'filter'\n];\nfunction forwardStaticMembers(Extended, Original, Super) {\n // We have to use getOwnPropertyNames since Babel registers methods as non-enumerable\n Object.getOwnPropertyNames(Original).forEach(function (key) {\n // `prototype` should not be overwritten\n if (key === 'prototype') {\n return;\n }\n // Some browsers does not allow reconfigure built-in properties\n var extendedDescriptor = Object.getOwnPropertyDescriptor(Extended, key);\n if (extendedDescriptor && !extendedDescriptor.configurable) {\n return;\n }\n var descriptor = Object.getOwnPropertyDescriptor(Original, key);\n // If the user agent does not support `__proto__` or its family (IE <= 10),\n // the sub class properties may be inherited properties from the super class in TypeScript.\n // We need to exclude such properties to prevent to overwrite\n // the component options object which stored on the extended constructor (See #192).\n // If the value is a referenced value (object or function),\n // we can check equality of them and exclude it if they have the same reference.\n // If it is a primitive value, it will be forwarded for safety.\n if (!hasProto) {\n // Only `cid` is explicitly exluded from property forwarding\n // because we cannot detect whether it is a inherited property or not\n // on the no `__proto__` environment even though the property is reserved.\n if (key === 'cid') {\n return;\n }\n var superDescriptor = Object.getOwnPropertyDescriptor(Super, key);\n if (!isPrimitive(descriptor.value) &&\n superDescriptor &&\n superDescriptor.value === descriptor.value) {\n return;\n }\n }\n // Warn if the users manually declare reserved properties\n if (process.env.NODE_ENV !== 'production' &&\n reservedPropertyNames.indexOf(key) >= 0) {\n warn(\"Static property name '\" + key + \"' declared on class '\" + Original.name + \"' \" +\n 'conflicts with reserved property name of Vue internal. ' +\n 'It may cause unexpected behavior of the component. Consider renaming the property.');\n }\n Object.defineProperty(Extended, key, descriptor);\n });\n}\n\nfunction Component(options) {\n if (typeof options === 'function') {\n return componentFactory(options);\n }\n return function (Component) {\n return componentFactory(Component, options);\n };\n}\nComponent.registerHooks = function registerHooks(keys) {\n $internalHooks.push.apply($internalHooks, keys);\n};\n\nexports.default = Component;\nexports.createDecorator = createDecorator;\nexports.mixins = mixins;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_c('h1',{staticClass:\"is-size-2 has-text-weight-semibold mt-2\"},[_vm._v(\"Leit að bridge spilarar\")]),_c('hr'),_c('b-autocomplete',{ref:\"autocomplete\",attrs:{\"data\":_vm.data,\"field\":\"options.name\",\"placeholder\":\"Leitaðu eftir nafni eða númeri\",\"loading\":_vm.busy,\"icon\":\"search\",\"icon-pack\":\"fas\",\"size\":\"is-large\"},on:{\"select\":function (option) { return _vm.selected = option; },\"typing\":_vm.getData},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('div',{staticClass:\"media\"},[_c('div',{staticClass:\"media-content is-size-5\"},[_vm._v(\"\\n \"+_vm._s(props.option.name)+\"\\n \"),_c('span',{staticClass:\"is-size-6 has-text-grey\"},[_vm._v(\"(#\"+_vm._s(props.option.memberId)+\")\")])])])]}}]),model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}},[_c('template',{staticClass:\"is-size-5\",slot:\"empty\"},[_vm._v(\"\\n Ekkert fannst fyrir \"+_vm._s(_vm.search)+\"\\n \")])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { createDecorator } from 'vue-class-component';\nexport function Debounce(options) {\n return createDecorator(function (opts, handler) {\n if (!opts.methods)\n throw new Error('This decorator must be used on a vue component method.');\n var time = typeof options === 'number' ? options : options.time;\n var originalFn = opts.methods[handler];\n var timeoutId = 0;\n var clear = function () {\n if (timeoutId) {\n clearTimeout(timeoutId);\n timeoutId = 0;\n }\n };\n opts.methods[handler] = function () {\n var _this = this;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n clear();\n timeoutId = setTimeout(function () {\n timeoutId = 0;\n originalFn.apply(_this, args);\n }, time);\n };\n });\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport http from \"@/services/http\";\nimport { Component, Prop, Mixins, Watch } from 'vue-property-decorator';\nimport { GlobalMixin } from '@/components/global/GlobalMixin';\nimport { Debounce } from 'vue-debounce-decorator'\nimport { IMember } from '@/dto/d';\n\n@Component({\n mixins: [GlobalMixin]\n})\nexport default class Player extends Mixins(GlobalMixin) {\n @Prop() private msg!: string;\n\n data: IMember[] = [] as IMember[];\n selected: string = \"\";\n busy: boolean = false\n search: string = \"\";\n\n @Debounce(500)\n public getData() {\n var that: any = this;\n that.busy = true;\n (async () => {\n \n await http.getMembers(that.search)\n .then((data) => {\n //console.log(data);\n that.data = data;\n that.busy = false;\n //return data;\n })\n })();\n\n //console.log(ble);\n //return [{ \"name\": \"sverrir\", \"memberId\": \"17\" }];\n\n /*return await (async () => {\n await http.getMembers(that.search)\n .then((data) => {\n //console.log(data);\n that.data = data;\n return data;\n })\n })();\n //console.log(nls);\n //return nls;\n \n \n var ble = await http.getMembers(that.search)\n .then((data) => {\n data.forEach((item: IMember) => that.data.push(item));\n return data;\n });\n\n console.log(\"get bla \" + JSON.stringify(ble));\n\n \n return JSON.stringify(ble);\n */\n /*\n return await http.getMembers(search)\n .then((data) => {\n //that.data = [] as IMember[];\n //var d = JSON.parse(JSON.stringify(data));\n //d.jsonData = JSON.parse(JSON.stringify(d.jsonData));\n //console.log(JSON.parse(data.jsonData));\n //console.log(data);\n //data.results.forEach((item: IMember) => that.data.push(item))\n\n return data;\n })\n .catch((error) => {\n that.data = [] as IMember[];\n that.data = data;\n d.forEach((item: IMember) => that.data.push(item));\n throw error\n })\n .finally(() => {\n that.busy = false\n });\n */ \n \n\n };\n\n @Watch('selected', { immediate: true, deep: true })\n onSelectedChange(val: any) {\n //console.log(JSON.stringify(val));\n if(val && val.id)\n this.$router.push(\"/player/\" + val.id);\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--12-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Players.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--12-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Players.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Players.vue?vue&type=template&id=7220a81c&\"\nimport script from \"./Players.vue?vue&type=script&lang=ts&\"\nexport * from \"./Players.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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}