{"version":3,"file":"Prop-xUhnM8x5.js","sources":["../../../node_modules/vue-property-decorator/lib/helpers/metadata.js","../../../node_modules/vue-property-decorator/lib/decorators/Prop.js"],"sourcesContent":["/** @see {@link https://github.com/vuejs/vue-class-component/blob/master/src/reflect.ts} */\nvar reflectMetadataIsSupported = typeof Reflect !== 'undefined' && typeof Reflect.getMetadata !== 'undefined';\nexport function applyMetadata(options, target, key) {\n if (reflectMetadataIsSupported) {\n if (!Array.isArray(options) &&\n typeof options !== 'function' &&\n !options.hasOwnProperty('type') &&\n typeof options.type === 'undefined') {\n var type = Reflect.getMetadata('design:type', target, key);\n if (type !== Object) {\n options.type = type;\n }\n }\n }\n}\n","import { createDecorator } from 'vue-class-component';\nimport { applyMetadata } from '../helpers/metadata';\n/**\n * decorator of a prop\n * @param options the options for the prop\n * @return PropertyDecorator | void\n */\nexport function Prop(options) {\n if (options === void 0) { options = {}; }\n return function (target, key) {\n applyMetadata(options, target, key);\n createDecorator(function (componentOptions, k) {\n ;\n (componentOptions.props || (componentOptions.props = {}))[k] = options;\n })(target, key);\n };\n}\n"],"names":["reflectMetadataIsSupported","applyMetadata","options","target","key","type","Prop","createDecorator","componentOptions","k"],"mappings":"0DACA,IAAIA,EAA6B,OAAO,QAAY,KAAe,OAAO,QAAQ,YAAgB,IAC3F,SAASC,EAAcC,EAASC,EAAQC,EAAK,CAChD,GAAIJ,GACI,CAAC,MAAM,QAAQE,CAAO,GACtB,OAAOA,GAAY,YACnB,CAACA,EAAQ,eAAe,MAAM,GAC9B,OAAOA,EAAQ,KAAS,IAAa,CACrC,IAAIG,EAAO,QAAQ,YAAY,cAAeF,EAAQC,CAAG,EACrDC,IAAS,SACTH,EAAQ,KAAOG,EAEtB,CAET,CCPO,SAASC,EAAKJ,EAAS,CAC1B,OAAIA,IAAY,SAAUA,EAAU,CAAE,GAC/B,SAAUC,EAAQC,EAAK,CAC1BH,EAAcC,EAASC,EAAQC,CAAG,EAClCG,EAAgB,SAAUC,EAAkBC,EAAG,EAE1CD,EAAiB,QAAUA,EAAiB,MAAQ,CAAA,IAAKC,CAAC,EAAIP,CAC3E,CAAS,EAAEC,EAAQC,CAAG,CACtB,CACA","x_google_ignoreList":[0,1]}