{"version":3,"file":"vue-class-component.min.mjs","sources":["../node_modules/core-js/internals/global-this.js","../node_modules/core-js/internals/define-global-property.js","../node_modules/core-js/internals/shared-store.js","../node_modules/core-js/internals/environment-v8-version.js","../node_modules/core-js/internals/shared.js","../node_modules/core-js/internals/fails.js","../node_modules/core-js/internals/function-bind-native.js","../node_modules/core-js/internals/function-uncurry-this.js","../node_modules/core-js/internals/is-null-or-undefined.js","../node_modules/core-js/internals/require-object-coercible.js","../node_modules/core-js/internals/to-object.js","../node_modules/core-js/internals/has-own-property.js","../node_modules/core-js/internals/uid.js","../node_modules/core-js/internals/environment-user-agent.js","../node_modules/core-js/internals/symbol-constructor-detection.js","../node_modules/core-js/internals/use-symbol-as-uid.js","../node_modules/core-js/internals/well-known-symbol.js","../node_modules/core-js/internals/descriptors.js","../node_modules/core-js/internals/is-callable.js","../node_modules/core-js/internals/is-object.js","../node_modules/core-js/internals/document-create-element.js","../node_modules/core-js/internals/ie8-dom-define.js","../node_modules/core-js/internals/v8-prototype-define-bug.js","../node_modules/core-js/internals/an-object.js","../node_modules/core-js/internals/function-call.js","../node_modules/core-js/internals/get-built-in.js","../node_modules/core-js/internals/object-is-prototype-of.js","../node_modules/core-js/internals/is-symbol.js","../node_modules/core-js/internals/try-to-string.js","../node_modules/core-js/internals/a-callable.js","../node_modules/core-js/internals/get-method.js","../node_modules/core-js/internals/ordinary-to-primitive.js","../node_modules/core-js/internals/to-primitive.js","../node_modules/core-js/internals/to-property-key.js","../node_modules/core-js/internals/object-define-property.js","../node_modules/core-js/modules/esnext.function.metadata.js","../node_modules/core-js/internals/path.js","../node_modules/core-js/internals/well-known-symbol-wrapped.js","../node_modules/core-js/internals/well-known-symbol-define.js","../node_modules/core-js/modules/esnext.symbol.metadata.js","../src/impl/metadata-keys.js","../src/impl/vue-options-api.js","../src/impl/collect-method.js","../src/impl/build-options.js","../src/impl/check-options.js","../src/impl/collect-methods.js","../src/impl/collect-data.js","../src/impl/collect-decorators.js","../src/component.js","../src/create-decorator.js","../src/impl/decorator/fix-default-value.js","../src/inject.js","../src/impl/decorator/add-prop.js","../src/impl/decorator/infer-default-value.js","../src/impl/decorator/infer-type.js","../src/prop.js","../src/provide.js","../src/raw.js","../src/to-vue.js","../src/v-model.js","../src/watch.js"],"sourcesContent":["'use strict';\nvar check = function (it) {\n  return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n  // eslint-disable-next-line es/no-global-this -- safe\n  check(typeof globalThis == 'object' && globalThis) ||\n  check(typeof window == 'object' && window) ||\n  // eslint-disable-next-line no-restricted-globals -- safe\n  check(typeof self == 'object' && self) ||\n  check(typeof global == 'object' && global) ||\n  check(typeof this == 'object' && this) ||\n  // eslint-disable-next-line no-new-func -- fallback\n  (function () { return this; })() || Function('return this')();\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n  try {\n    defineProperty(globalThis, key, { value: value, configurable: true, writable: true });\n  } catch (error) {\n    globalThis[key] = value;\n  } return value;\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global-this');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n  version: '3.39.0',\n  mode: IS_PURE ? 'pure' : 'global',\n  copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n  license: 'https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE',\n  source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar userAgent = require('../internals/environment-user-agent');\n\nvar process = globalThis.process;\nvar Deno = globalThis.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n  match = v8.split('.');\n  // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n  // but their correct versions are not interesting for us\n  version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n  match = userAgent.match(/Edge\\/(\\d+)/);\n  if (!match || match[1] >= 74) {\n    match = userAgent.match(/Chrome\\/(\\d+)/);\n    if (match) version = +match[1];\n  }\n}\n\nmodule.exports = version;\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n  return store[key] || (store[key] = value || {});\n};\n","'use strict';\nmodule.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (error) {\n    return true;\n  }\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-function-prototype-bind -- safe\n  var test = (function () { /* empty */ }).bind();\n  // eslint-disable-next-line no-prototype-builtins -- safe\n  return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n  return function () {\n    return call.apply(fn, arguments);\n  };\n};\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n  return it === null || it === undefined;\n};\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n  if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n  return it;\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n  return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n  return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nvar navigator = globalThis.navigator;\nvar userAgent = navigator && navigator.userAgent;\n\nmodule.exports = userAgent ? String(userAgent) : '';\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/environment-v8-version');\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\nvar $String = globalThis.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n  var symbol = Symbol('symbol detection');\n  // Chrome 38 Symbol has incorrect toString conversion\n  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n  // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n  // of course, fail.\n  return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n    // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n    !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL &&\n  !Symbol.sham &&\n  typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = globalThis.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n  if (!hasOwn(WellKnownSymbolsStore, name)) {\n    WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n      ? Symbol[name]\n      : createWellKnownSymbol('Symbol.' + name);\n  } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n  return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n  return typeof argument == 'function';\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n  return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\n\nvar document = globalThis.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n  return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty(createElement('div'), 'a', {\n    get: function () { return 7; }\n  }).a !== 7;\n});\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n    value: 42,\n    writable: false\n  }).prototype !== 42;\n});\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n  if (isObject(argument)) return argument;\n  throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n  return call.apply(call, arguments);\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n  return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n  return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n  return typeof it == 'symbol';\n} : function (it) {\n  var $Symbol = getBuiltIn('Symbol');\n  return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n  try {\n    return $String(argument);\n  } catch (error) {\n    return 'Object';\n  }\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n  if (isCallable(argument)) return argument;\n  throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n  var func = V[P];\n  return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n  var fn, val;\n  if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n  if (!isObject(input) || isSymbol(input)) return input;\n  var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n  var result;\n  if (exoticToPrim) {\n    if (pref === undefined) pref = 'default';\n    result = call(exoticToPrim, input, pref);\n    if (!isObject(result) || isSymbol(result)) return result;\n    throw new $TypeError(\"Can't convert object to primitive value\");\n  }\n  if (pref === undefined) pref = 'number';\n  return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n  var key = toPrimitive(argument, 'string');\n  return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n    var current = $getOwnPropertyDescriptor(O, P);\n    if (current && current[WRITABLE]) {\n      O[P] = Attributes.value;\n      Attributes = {\n        configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n        enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n        writable: false\n      };\n    }\n  } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return $defineProperty(O, P, Attributes);\n  } catch (error) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar METADATA = wellKnownSymbol('metadata');\nvar FunctionPrototype = Function.prototype;\n\n// Function.prototype[@@metadata]\n// https://github.com/tc39/proposal-decorator-metadata\nif (FunctionPrototype[METADATA] === undefined) {\n  defineProperty(FunctionPrototype, METADATA, {\n    value: null\n  });\n}\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nmodule.exports = globalThis;\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","'use strict';\nvar path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n  var Symbol = path.Symbol || (path.Symbol = {});\n  if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n    value: wrappedWellKnownSymbolModule.f(NAME)\n  });\n};\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.metadata` well-known symbol\n// https://github.com/tc39/proposal-decorators\ndefineWellKnownSymbol('metadata');\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2023.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n\nconst METHODS_KEY = '__vue3_class_component_methods__';\nconst COMPUTED_KEY = '__vue3_class_component_computed__';\nconst FIELDS_KEY = '__vue3_class_component_fields__';\nconst DECORATORS_KEY = '__vue3_class_component_decorators__';\nconst OPTIONS_KEY = '__vue3_class_component_options__';\n\nexport {\n  METHODS_KEY,\n  COMPUTED_KEY,\n  FIELDS_KEY,\n  DECORATORS_KEY,\n  OPTIONS_KEY,\n};\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2023.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n/**\n * The list of keywords and its declaring positions in the Vue options API.\n *\n * @type Array<Object>\n * @private\n * @author Haixing Hu\n */\nconst VUE_KEYWORDS = [\n  {\n    name: 'data',\n    category: 'State',\n    declared: 'field',\n  },\n  {\n    name: 'props',\n    category: 'State',\n    declared: 'field',\n    decorated: '@Prop',\n  },\n  {\n    name: 'computed',\n    category: 'State',\n    declared: 'setter',\n  },\n  {\n    name: 'methods',\n    category: 'State',\n    declared: 'method',\n  },\n  {\n    name: 'watch',\n    category: 'State',\n    declared: 'method',\n    decorated: '@Watch',\n  },\n  {\n    name: 'emits',\n    category: 'State',\n    declared: 'options',\n  },\n  {\n    name: 'expose',\n    category: 'State',\n    declared: 'options',\n  },\n  {\n    name: 'template',\n    category: 'Rendering',\n    declared: 'options',\n  },\n  {\n    name: 'render',\n    category: 'Rendering',\n    declared: 'method',\n  },\n  {\n    name: 'compilerOptions',\n    category: 'Rendering',\n    declared: 'options',\n  },\n  {\n    name: 'slots',\n    category: 'Rendering',\n    declared: 'options',\n  },\n  {\n    name: 'beforeCreate',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'created',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'beforeMount',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'mounted',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'beforeUpdate',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'updated',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'beforeUnmount',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'unmounted',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'errorCaptured',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'renderTracked',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'renderTriggered',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'activated',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'deactivated',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'serverPrefetch',\n    category: 'Lifecycle',\n    declared: 'method',\n  },\n  {\n    name: 'provide',\n    category: 'Composition',\n    declared: 'field',\n    decorated: '@Provide',\n  },\n  {\n    name: 'inject',\n    category: 'Composition',\n    declared: 'field',\n    decorated: '@Inject',\n  },\n  {\n    name: 'mixins',\n    category: 'Composition',\n    declared: 'options',\n  },\n  {\n    name: 'extends',\n    category: 'Composition',\n    declared: 'options',\n  },\n  {\n    name: 'name',\n    category: 'Composition',\n    declared: 'options',\n  },\n  {\n    name: 'inheritAttrs',\n    category: 'Composition',\n    declared: 'options',\n  },\n  {\n    name: 'components',\n    category: 'Composition',\n    declared: 'options',\n  },\n  {\n    name: 'directives',\n    category: 'Composition',\n    declared: 'options',\n  },\n];\n\n/**\n * The names of lifecycle hooks of Vue components.\n *\n * @type {string[]}\n * @see https://vuejs.org/api/options-lifecycle.html\n * @private\n * @author Haixing Hu\n */\nconst VUE_LIFECYCLE_HOOKS = [\n  'beforeCreate',\n  'created',\n  'beforeMount',\n  'mounted',\n  'beforeUpdate',\n  'updated',\n  'beforeUnmount',\n  'unmounted',\n  'errorCaptured',\n  'renderTracked',    // Dev only\n  'renderTriggered',  // Dev only\n  'activated',\n  'deactivated',\n  'serverPrefetch',   // SSR only\n];\n\n/**\n * The names of special functions in the options API Vue components.\n *\n * @type {string[]}\n * @see https://vuejs.org/api/options-rendering.html#render\n * @private\n * @author Haixing Hu\n */\nconst VUE_SPECIAL_FUNCTIONS = [\n  'render',\n];\n\nexport {\n  VUE_KEYWORDS,\n  VUE_LIFECYCLE_HOOKS,\n  VUE_SPECIAL_FUNCTIONS,\n};\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport { VUE_LIFECYCLE_HOOKS, VUE_SPECIAL_FUNCTIONS } from './vue-options-api';\n\n/**\n * Collects a class method or setter/getter and modify the existing Vue component\n * options object.\n *\n * @param obj\n *     the object, which usually be the prototype of a class or a instance of\n *     a class.\n * @param key\n *     the name of the method or setter/getter.\n * @param options\n *     the Vue component options object.\n * @private\n * @author Haixing Hu\n */\nfunction collectMethod(obj, key, options) {\n  if (key === 'constructor') {\n    return;\n  }\n  if (VUE_LIFECYCLE_HOOKS.includes(key) || VUE_SPECIAL_FUNCTIONS.includes(key)) {\n    if (typeof obj[key] !== 'function') {\n      throw new Error(`The property \"${key}\" of the class must be a Vue component function.`);\n    }\n    options[key] = obj[key];\n  } else {\n    const descriptor = Object.getOwnPropertyDescriptor(obj, key);\n    if (typeof descriptor.value === 'function') { // deal with class methods\n      options.methods[key] = descriptor.value;\n    } else if (descriptor.value === undefined) {  // deal with computed properties\n      options.computed[key] = {\n        get: descriptor.get,\n        set: descriptor.set,\n      };\n    } else {                                      // deal with class fields\n      options.fields[key] = descriptor.value;\n    }\n  }\n}\n\nexport default collectMethod;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport { OPTIONS_KEY } from './metadata-keys';\nimport checkOptions from './check-options';\nimport collectMethods from './collect-methods';\nimport collectData from './collect-data';\nimport collectDecorators from './collect-decorators';\n\n/**\n * Builds a Vue component from a class.\n *\n * @param {Function} Class\n *     The constructor of the class being decorated.\n * @param {Object} context\n *     The context object containing information about the class being decorated.\n * @param {Object} options\n *     The additional options of the Vue component being built.\n * @return {Function}\n *     The decorated class, which contains the metadata of the options used to\n *     build a Vue component with the options API.\n * @private\n * @author Haixing Hu\n */\nfunction buildOptions(Class, context, options) {\n  if (context === null || typeof context !== 'object') {\n    throw new TypeError('The context must be an object.');\n  }\n  if (typeof Class !== 'function' || context.kind !== 'class') {\n    throw new TypeError('The `@Component` can only decorate a class.');\n  }\n  if (options === null || typeof options !== 'object') {\n    throw new TypeError('The options of the `@Component` decorator must be an object.');\n  }\n  checkOptions(options);\n  // set the name of the Vue component\n  options.name ??= Class.name;\n  // initialize the options.methods\n  options.methods ??= {};\n  // initialize the options.mixins\n  options.mixins ??= [];\n  // initialize the options.computed\n  options.computed ??= {};\n  // initialize the options.fields\n  options.fields ??= {};\n  // initialize the options.rawFields\n  options.rawFields ??= {};\n  // collect the class methods defined in the Class\n  collectMethods(Class, options);\n  // collect the data fields defined in the Class\n  const defaultInstance = new Class();\n  collectData(Class, defaultInstance, options);\n  // deal with customized field/method decorators\n  collectDecorators(Class, defaultInstance, context, options);\n  // store options in the metadata\n  context.metadata[OPTIONS_KEY] = options;\n  return Class;\n}\n\nexport default buildOptions;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport { VUE_KEYWORDS } from './vue-options-api';\n\n/**\n * Checks the validity of the options of the `@Component` decorator.\n *\n * @param {Object} options\n *     the options to be checked.\n * @throws Error\n *     if the options contains invalid properties.\n * @private\n * @author Haixing Hu\n */\nfunction checkOptions(options) {\n  Object.keys(options).forEach((key) => {\n    const keyword = VUE_KEYWORDS.find((item) => (item.name === key));\n    if (!keyword) {\n      throw new Error(`The option \"${key}\" in the argument of @Component is not supported.`);\n    }\n    if (keyword.declared !== 'options') {\n      let msg = `The option \"${key}\" in the argument of @Component should be declared as the class ${keyword.declared}`;\n      if (keyword.decorated) {\n        msg += ` and decorated by ${keyword.decorated}`;\n      }\n      msg += '.';\n      throw new Error(msg);\n    }\n  });\n}\n\nexport default checkOptions;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport collectMethod from './collect-method';\n\n/**\n * Collects all the methods defined in a class.\n *\n * @param {Function} Class\n *     The constructor of the class being decorated.\n * @param {Object} options\n *     The additional options of the Vue component being built.\n * @private\n * @author Haixing Hu\n */\nfunction collectMethods(Class, options) {\n  const proto = Class.prototype;\n  const keys = Object.getOwnPropertyNames(proto);\n  for (const key of keys) {\n    collectMethod(proto, key, options);\n  }\n}\n\nexport default collectMethods;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport clone from '@haixing_hu/clone';\nimport collectMethod from './collect-method';\n\n/**\n * Collects all class fields from an instance of a class and modify the existing\n * Vue component options object.\n *\n * @param {function} Class\n *     The constructor of the class being decorated.\n * @param {object} defaultInstance\n *     the default constructed instance of the decorated class.\n * @param {object} options\n *     the Vue component options object.\n * @private\n * @author Haixing Hu\n */\nfunction collectData(Class, defaultInstance, options) {\n  // Collect the class fields\n  const entries = Object.entries(defaultInstance);\n  entries.forEach(([key, value]) => {\n    if (typeof value === 'function') {\n      collectMethod(defaultInstance, key, options);\n    } else if (value !== undefined) {\n      options.fields[key] = value;\n    }\n  });\n  // push a mixin to the options to initialize the data fields\n  options.mixins.push({\n    data() {\n      // deep clone the fields, so that the data of the Vue instance is\n      // independent of the class instance.\n      return clone(options.fields);\n    },\n  });\n}\n\nexport default collectData;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport { DECORATORS_KEY } from './metadata-keys';\n\n/**\n * Collects all decorators defined in a class and modify the existing Vue\n * component options object.\n *\n * @param Class\n *     the constructor of the decorated class.\n * @param defaultInstance\n *     the default constructed instance of the decorated class.\n * @param context\n *     the context of the information about the decorated class.\n * @param options\n *     the Vue component options object.\n * @private\n * @author Haixing Hu\n */\nfunction collectDecorators(Class, defaultInstance, context, options) {\n  const metadata = context.metadata;\n  const decorators = metadata[DECORATORS_KEY];\n  if (decorators) {\n    for (const decorator of decorators) {\n      decorator(Class, defaultInstance, options);\n    }\n  }\n}\n\nexport default collectDecorators;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2023.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport buildOptions from './impl/build-options';\n\n/**\n * The decorator of Vue class components.\n *\n * This decorator must be used to decorate a class.\n *\n * Usage Example:\n *\n * ```vue\n * <template>\n *   <div class=\"hello-page\">\n *     <div class=\"message\">{{ message }}</div>\n *     <div class=\"computed-message\">{{ computedMessage }}</div>\n *     <div class=\"value\">{{ value }}</div>\n *     <input v-model=\"newMessage\">\n *     <button @click=\"setMessage(newMessage)\">Set Message</button>\n *     <my-component />\n *   </div>\n * </template>\n * <script>\n * import { Component, toVue } from 'vue3-class-component';\n * import MyComponent from './my-component.vue';\n *\n * &#064;Component({\n *   components: {\n *     MyComponent,\n *   },\n * })\n * class HelloPage {\n *   message = 'hello';\n *\n *   value = 0;\n *\n *   newMessage = '';\n *\n *   mounted() {\n *     this.value = this.$route.params.value;\n *   }\n *\n *   get computedMessage() {\n *     return this.message + '!';\n *   }\n *\n *   setMessage(s) {\n *     this.message = s;\n *   }\n * }\n *\n * export default toVue(MyComponent); // don't forget calling `toVue`\n * </script>\n * ```\n *\n * @param {...any} args\n *     The array of arguments for calling this decorator. If it has only one\n *     argument, the only argument is the additional options of this decorator,\n *     and this function should return another function which is the decorator\n *     of a class; If it has two arguments, the first argument is the constructor\n *     of the decorated class, and the second argument is the context object\n *     containing information about the class being decorated.\n * @return {Function}\n *     If this function has only one argument, this function returns another\n *     function which is the decorator of a class; otherwise, this function\n *     returns the decorated class.\n * @see https://babeljs.io/docs/babel-plugin-proposal-decorators#class-decorator\n * @see https://github.com/tc39/proposal-decorators\n * @author Haixing Hu\n */\nfunction Component(...args) {\n  if (args.length === 1) {        // the decorator is used with options\n    // returns a simple class decorator\n    return (Class, context) => buildOptions(Class, context, args[0]);\n  } else if (args.length === 2) { // the decorator is used without options\n    return buildOptions(args[0], args[1], {});\n  } else {\n    throw new TypeError('Invalid use of the `@Component` decorator.');\n  }\n}\n\nexport default Component;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2023.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport { DECORATORS_KEY } from './impl/metadata-keys';\n\n/**\n * Creates a customized decorator to extends the functionality of this library.\n *\n *\n * An example usage is as follows:\n *\n * ```js\n * const Log = createDecorator((Class, defaultInstance, target, context, options) => {\n *   if (context?.kind !== 'method') {\n *     throw new Error('The @Log decorator can only be used to decorate a class method.');\n *   }\n *   const methodName = context.name;\n *   const originalMethod = options.methods[methodName];\n *   options.methods[methodName] = function (...args) {\n *     console.log(`${Class.name}.${methodName}: ${args.join(', ')}`);\n *     return originalMethod.apply(this, args);\n *   };\n * });\n * ```\n *\n * The above example creates a `@Log` decorator which can be used to log the\n * arguments of a class method. For example:\n * ```js\n * &#064;Component\n * class HelloPage {\n *   message = 'hello';\n *\n *   value = 0;\n *\n *   newMessage = '';\n *\n *   &#064;Log\n *   mounted() {\n *     this.value = this.$route.params.value;\n *   }\n *\n *   get computedMessage() {\n *     return this.message + '!';\n *   }\n *\n *   &#064;Log\n *   setMessage(s) {\n *     this.message = s;\n *   }\n * }\n *\n * export default toVue(MyComponent);\n * ```\n *\n * @param {Function} factory\n *    A callback function which receives the following arguments:\n *    - `Class`: The constructor of the decorated class.\n *    - `instance`: The default constructed instance of the decorated class.\n *      This default instance could be used to gets all class instance fields of\n *      the decorated class.\n *    - `target`: The target value being decorated, which could be a class method,\n *      a getter or a setter. Note that if the decorated target is a class field,\n *      this argument will always be `undefined`.\n *    - `context`: The context object containing information about the target\n *      being decorated, as described in \"stage 3 proposal of JavaScript decorators\"\n *      and \"stage 3 proposal of JavaScript decorator metadata\".\n *    - `options`: The Vue component options object. Changes to this object will\n *      impact the provided component. This object encompasses all the properties\n *      that a Vue component options object should possess, and it includes an\n *      additional property, `fields`, which is an object containing all the\n *      reactive states of the Vue component. In other words, it's the object\n *      returned by the `data()` function of the Vue component. Modifying the\n *      `fields` property of `options` allows you to alter the reactive states\n *      returned by the Vue component's `data()` function.\n * @return {Function}\n *    The customized decorator function, which takes two arguments:\n *    - `target`: The target value being decorated, which could be class method,\n *      class field, getter or setter.\n *    - `context`: The context object containing information about the target\n *      being decorated.\n * @see https://github.com/tc39/proposal-decorators\n * @see https://github.com/tc39/proposal-decorator-metadata\n * @author Haixing Hu\n */\nfunction createDecorator(factory) {\n  if (typeof factory !== 'function') {\n    throw new TypeError('The argument of `createDecorator()` must be a function.');\n  }\n  return (target, context) => {\n    const metadata = context.metadata;\n    metadata[DECORATORS_KEY] ??= [];\n    metadata[DECORATORS_KEY].push(\n      (Class, instance, options) => factory(Class, instance, target, context, options),\n    );\n  };\n}\n\nexport default createDecorator;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Fix the default value.\n *\n * Note that according to the document of Vue.js, if the default value of a Prop\n * or an injected property is an Object or an Array, it must be defined with a\n * factory function which returns the default value.\n *\n * See <a href=\"https://vuejs.org/api/options-state.html#props\">Props</a> and\n * <a href=\"https://vuejs.org/api/options-composition.html#inject\">Inject</a>\n * for details.\n *\n * @param {any} value\n *     the inferred default value.\n * @return {any | Function}\n * @see <a href=\"https://vuejs.org/api/options-state.html#props\">Props</a>\n * @see <a href=\"https://vuejs.org/api/options-composition.html#inject\">Inject</a>\n * @author Haixing Hu\n * @private\n */\nfunction fixDefaultValue(value) {\n  if (value === undefined) {\n    return undefined;\n  } else if (value === null) {\n    return null;\n  } else if (Array.isArray(value) || (value instanceof Object)) {\n    return () => value;   // returns the factory function\n  } else {\n    return value;\n  }\n}\n\nexport default fixDefaultValue;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport createDecorator from './create-decorator';\nimport fixDefaultValue from './impl/decorator/fix-default-value';\n\n/**\n * The factory of the `@Inject` decorator.\n *\n * @param {object} args\n *     the optional arguments of the `@Inject` decorator.\n * @param {function} Class\n *     The constructor of the decorated class.\n * @param {object} defaultInstance\n *     The default constructed instance of the decorated class.\n * @param {any} target\n *     the decorated target. Since the `@Inject` decorator is used to decorate\n *     a class field, this argument is always `undefined`.\n * @param {object} context\n *     the context about the information of the field to be decorated.\n * @param {object} options\n *     the Vue component options object. Changes for this object will affect the\n *     provided component.\n * @private\n * @author Haixing Hu\n */\nfunction InjectFactory(args, Class, defaultInstance, target, context, options) {\n  if (context?.kind !== 'field') {\n    throw new SyntaxError('The @Inject decorator can only be used to decorate a class field.');\n  }\n  const key = context.name;\n  const from = args.from ?? key;\n  const defaultValue = args.default;\n  // Add inject\n  options.inject ??= {};\n  options.inject[key] = {\n    from,\n    default: fixDefaultValue(defaultValue),\n  };\n}\n\n/**\n * The `@Inject` decorator is marked on class fields to declare injected values.\n *\n * The `@Inject` decorators may have an optional argument. The optional argument\n * is an object with the following options:\n *\n * | Option    | Type               | Default     | Description                                          |\n * |-----------|--------------------|-------------|------------------------------------------------------|\n * | `from`    | `String \\| Symbol` | `undefined` | The key of the source provided value to be injected. |\n * | `default` | `any`              | `undefined` | The default value of the injected value.             |\n *\n * Usage example:\n * ```js\n * &#064;Component\n * class DescendantComponent {\n *   &#064;Inject\n *   message;\n *\n *   &#064;Inject({from: myInjectedKey, default: 0})\n *   injectedValue;\n *\n *   // non-primitive default value DO NOT need to be wrapped by a factory function\n *   &#064;Inject({ default: {id: 0, name: 'unknown'} })\n *   person;\n * }\n *\n * export default toVue(DescendantComponent);\n * ```\n *\n * @param {...any} args\n *     The array of arguments for calling this decorator. If it has only one\n *     argument, the only argument is the optional options of this decorator,\n *     and this function should return another function which is the decorator\n *     of a class field; If it has two arguments, the first argument is the\n *     decorated field of a class, and the second argument is the context object\n *     containing information about the field being decorated.\n * @return {Function}\n *     If this decorator has only one argument, this function returns another\n *     function which is the decorator of a class field; otherwise, this function\n *     returns the decorated class field.\n * @author Haixing Hu\n */\nfunction Inject(...args) {\n  if (args.length === 1) {        // the decorator is used with options\n    // returns a simple field decorator\n    const factory = InjectFactory.bind(null, args[0]);\n    return createDecorator(factory);\n  } else if (args.length === 2) { // the decorator is used without options\n    const factory = InjectFactory.bind(null, {});\n    const decor = createDecorator(factory);\n    return decor(args[0], args[1]);\n  } else {\n    throw new SyntaxError('Invalid use of the `@Inject` decorator.');\n  }\n}\n\nexport default Inject;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2023.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport inferDefaultValue from './infer-default-value';\nimport inferType from './infer-type';\nimport fixDefaultValue from './fix-default-value';\n\n/**\n * Adds a `Prop` to the Vue component options object.\n *\n * @param {object|function} args\n *     the optional arguments of the decorator, which contains the configuration\n *     of the new `Prop`. If this argument is a function or an array of functions,\n *     it will be treated as the constructors of the types of the new `Prop`.\n * @param {function} Class\n *     The constructor of the decorated class.\n * @param {object} defaultInstance\n *     The default constructed instance of the decorated class.\n * @param {string} field\n *     the name of the field to be decorated.\n * @param {string} prop\n *     the name of the `Prop` to be added, which may differ from `field`.\n * @param {object} options\n *     the Vue component options object. Changes for this object will affect the\n *     provided component.\n * @author Haixing Hu\n * @private\n */\nfunction addProp(args, Class, defaultInstance, field, prop, options) {\n  // Support for single type argument\n  if ((typeof args === 'function') || Array.isArray(args)) {\n    args = { type: args };\n  } else if (typeof args !== 'object') {\n    throw new TypeError('The argument of the decorator must be either a function or an object.');\n  }\n  // get the initial value of the field from the default constructed instance\n  const initialValue = defaultInstance[field];\n  const defaultValue = inferDefaultValue(args.default, initialValue, field);\n  const type = inferType(args.type, defaultValue, field);\n  const required = args.required ?? (defaultValue === undefined);\n  const validator = args.validator;\n  if ((required === false) && (defaultValue === undefined)) {\n    throw new SyntaxError(`The field \"${field}\" is not required, but it has no default value.`);\n  }\n  if (validator !== undefined && typeof validator !== 'function') {\n    throw new TypeError(`The validator of the field \"${field}\" must be a function.`);\n  }\n  options.props ??= {};\n  options.props[prop] = {\n    type,\n    required,\n    default: fixDefaultValue(defaultValue),\n    validator,\n  };\n  // remove the field from the options.fields\n  delete options.fields[field];\n}\n\nexport default addProp;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2023.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Infers the default value of a Prop from the initial value of a class field.\n *\n * @param {any | undefined} defaultValue\n *     the default value of the decorated field specified in the arguments\n *     `default` of the `@Prop` decorator, which could be `undefined` if no\n *     `default` argument specified.\n * @param {any | undefined} initialValue\n *     the initial value of the decorated field specified in the default\n *     constructed instance of the class, which could be `undefined` if the\n *     field is not initialized.\n * @param {string} field\n *     the name of the field to be decorated.\n * @return {any | undefined}\n *     the inferred default value of the decorated field.\n * @author Haixing Hu\n * @private\n */\nfunction inferDefaultValue(defaultValue, initialValue, field) {\n  if (initialValue === undefined) {\n    return defaultValue;\n  } else if (defaultValue === undefined) {\n    return initialValue;\n  } else if (defaultValue !== initialValue) {\n    throw new SyntaxError(`The default value of the field \"${field}\" is `\n      + 'different from the default value specified in arguments of the decorator.');\n  } else {\n    return defaultValue;\n  }\n}\n\nexport default inferDefaultValue;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2023.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Infers the type of a `Prop` from the inferred default value of the `Prop`.\n *\n * @param {function | undefined} type\n *     The type of the decorated field specified in the arguments `type` of the\n *     `@Prop` decorator, which could be `undefined` if no `type` argument\n *     specified.\n * @param {any | undefined} defaultValue\n *     the inferred default value of the decorated field.\n * @param {string} field\n *     the name of the field to be decorated.\n * @return {function | undefined}\n *     the inferred type of the decorated field.\n * @author Haixing Hu\n * @private\n */\nfunction inferType(type, defaultValue, field) {\n  const defaultType = defaultValue?.constructor;\n  if (type === undefined) {\n    type = defaultType;\n  }\n  if (type === undefined || type === null) {\n    throw new TypeError(`The type of the field \"${field}\" is not specified.`);\n  }\n  let typeValid = false;\n  let typeMismatch = false;\n  if (typeof type === 'function') {\n    typeValid = true;\n    typeMismatch = (defaultType && type !== defaultType);\n  } else if (Array.isArray(type)) {\n    typeValid = type.every((v) => (typeof v === 'function'));\n    typeMismatch = (defaultType && !type.includes(defaultType));\n  }\n  if (!typeValid) {\n    throw new TypeError(`The type of the field \"${field}\" `\n      + 'must be a constructor function or an array of constructor functions.');\n  }\n  if (typeMismatch) {\n    throw new TypeError(`The type of the default value of the field \"${field}\" is ${defaultType.name}, `\n      + 'which is different from the type specified in arguments of the decorator.');\n  }\n  return type;\n}\n\nexport default inferType;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport addProp from './impl/decorator/add-prop';\nimport createDecorator from './create-decorator';\n\n/**\n * The factory of the `@Prop` decorator.\n *\n * @param {object} args\n *     the optional arguments of the `@Prop` decorator.\n * @param {function} Class\n *     The constructor of the decorated class.\n * @param {object} defaultInstance\n *     The default constructed instance of the decorated class.\n * @param {any} target\n *     the decorated target. Since the `@Prop` decorator is used to decorate a\n *     class field, this argument is always `undefined`.\n * @param {object} context\n *     the context about the information of the field to be decorated.\n * @param {object} options\n *     the Vue component options object. Changes for this object will affect the\n *     provided component.\n * @author Haixing Hu\n * @private\n */\nfunction PropFactory(args, Class, defaultInstance, target, context, options) {\n  if (context?.kind !== 'field') {\n    throw new SyntaxError('The @Prop decorator can only be used to decorate a class field.');\n  }\n  addProp(args, Class, defaultInstance, context.name, context.name, options);\n}\n\n/**\n * The `@Prop` decorator is marked on class fields to declare props of the Vue\n * component.\n *\n * The decorator may be used with an optional argument. The argument is an\n * object containing the following options of the decorator:\n *\n * | Option      | Type       | Default     | Description                                                        |\n * |-------------|------------|-------------|--------------------------------------------------------------------|\n * | `type`      | `Function` | `undefined` | The data type of the prop, which should be a constructor function, or an array of constructor functions. |\n * | `required`  | `Boolean`  | `false`     | Indicates whether the prop is required or not.                     |\n * | `default`   | `any`      | `undefined` | Specifies the default value of the prop.                           |\n * | `validator` | `Function` | `undefined` | A custom validation function for the prop.                         |\n *\n * Usage example:\n * ```js\n * &#064;Component\n * class MyComponent {\n *   &#064;Prop\n *   message = 'hello';\n *\n *   &#064;Prop({ type: Number, validator: (v) => (v >= 0) })\n *   value;\n *\n *   // non-primitive default value DO NOT need to be wrapped by a factory function\n *   &#064;Prop\n *   person = {\n *     id: 1,\n *     name: 'John',\n *     age: 32,\n *     gender: 'MALE',\n *   };\n *\n *   // multiple possible types can be represented as an array of constructors.\n *   &#064;Prop({ type: [Boolean, String] })\n *   lazy;\n *\n *   // if the argument is a function, it will be treated as the type of the prop.\n *   &#064;Prop(String)\n *   text;\n *\n *   // if the argument is an array of constructors, it will be treated as the\n *   // possible types of the prop.\n *   &#064;Prop([String, Number])\n *   model;\n * }\n *\n * export default toVue(MyComponent);\n * ```\n *\n * @param {...any} args\n *     The array of arguments for calling this decorator. If it has only one\n *     argument, the only argument is the optional options of this decorator,\n *     and this function should return another function which is the decorator\n *     of a class field; If it has two arguments, the first argument is the\n *     decorated field of a class, and the second argument is the context object\n *     containing information about the field being decorated.\n * @return {Function}\n *     If this decorator has only one argument, this function returns another\n *     function which is the decorator of a class field; otherwise, this function\n *     returns the decorated class field.\n * @author Haixing Hu\n */\nfunction Prop(...args) {\n  if (args.length === 1) {        // the decorator is used with options\n    // returns a simple field decorator\n    const factory = PropFactory.bind(null, args[0]);\n    return createDecorator(factory);\n  } else if (args.length === 2) { // the decorator is used without options\n    const factory = PropFactory.bind(null, {});\n    const decor = createDecorator(factory);\n    return decor(args[0], args[1]);\n  } else {\n    throw new SyntaxError('Invalid use of the `@Prop` decorator.');\n  }\n}\n\nexport default Prop;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport { computed } from 'vue';\nimport createDecorator from './create-decorator';\n\n/**\n * The factory of the `@Provide` decorator.\n *\n * @param {object} args\n *     the optional arguments of the `@Provide` decorator.\n * @param {function} Class\n *     The constructor of the decorated class.\n * @param {object} defaultInstance\n *     The default constructed instance of the decorated class.\n * @param {any} target\n *     the decorated target. Since the `@Provide` decorator is used to decorate\n *     a class field, this argument is always `undefined`.\n * @param {object} context\n *     the context about the information of the field to be decorated.\n * @param {object} options\n *     the Vue component options object. Changes for this object will affect the\n *     provided component.\n * @private\n * @author Haixing Hu\n */\nfunction ProvideFactory(args, Class, defaultInstance, target, context, options) {\n  if (context?.kind !== 'field') {\n    throw new SyntaxError('The @Provide decorator can only be used to decorate a class field.');\n  }\n  const key = args.key ?? context.name;\n  const reactive = args.reactive ?? false;\n  // Add provide mixin\n  if (reactive) {\n    options.mixins.push({\n      provide() {\n        return {\n          [key]: computed(() => this[context.name]),\n        };\n      },\n    });\n  } else {\n    options.mixins.push({\n      provide() {\n        return {\n          [key]: this[context.name],\n        };\n      },\n    });\n  }\n}\n\n/**\n * The `@Provide` decorator is marked on class fields to declare provided values\n * that can be injected by descendant components.\n *\n * The `@Provide` decorators may be used with an optional argument. The optional\n * argument is an object with the following options:\n *\n * | Option     | Type               | Default     | Description                              |\n * |------------|--------------------|-------------|------------------------------------------|\n * | `key`      | `String \\| Symbol` | `undefined` | The key of the provided value.           |\n * | `reactive` | `Boolean`          | `false`     | Whether the provided value is reactive.  |\n *\n * Usage example:\n * ```js\n * const myInjectedKey = Symbol('myInjectedKey');\n *\n * &#064;Component\n * class AncestorComponent {\n *   &#064;Provide\n *   message = 'hello';\n *\n *   &#064;Provide({key: myInjectedKey, reactive: true})\n *   &#064;Prop\n *   value = 123;\n *\n *   &#064;Provide({ reactive: true })\n *   person = {\n *     id: 1,\n *     name: 'John',\n *     age: 32,\n *     gender: 'MALE',\n *   };\n * }\n *\n * export default toVue(AncestorComponent);\n * ```\n *\n * @param {...any} args\n *     The array of arguments for calling this decorator. If it has only one\n *     argument, the only argument is the optional options of this decorator,\n *     and this function should return another function which is the decorator\n *     of a class field; If it has two arguments, the first argument is the\n *     decorated field of a class, and the second argument is the context object\n *     containing information about the field being decorated.\n * @return {Function}\n *     If this decorator has only one argument, this function returns another\n *     function which is the decorator of a class field; otherwise, this function\n *     returns the decorated class field.\n * @author Haixing Hu\n */\nfunction Provide(...args) {\n  if (args.length === 1) {        // the decorator is used with options\n    // returns a simple field decorator\n    const factory = ProvideFactory.bind(null, args[0]);\n    return createDecorator(factory);\n  } else if (args.length === 2) { // the decorator is used without options\n    const factory = ProvideFactory.bind(null, {});\n    const decor = createDecorator(factory);\n    return decor(args[0], args[1]);\n  } else {\n    throw new SyntaxError('Invalid use of the `@Provide` decorator.');\n  }\n}\n\nexport default Provide;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport createDecorator from './create-decorator';\n\n/**\n * The factory of the `@MarkRaw` decorator.\n *\n * @param {function} Class\n *     The constructor of the decorated class.\n * @param {object} defaultInstance\n *     The default constructed instance of the decorated class.\n * @param {any} target\n *     the decorated target. Since the `@Provide` decorator is used to decorate\n *     a class field, this argument is always `undefined`.\n * @param {object} context\n *     the context about the information of the field to be decorated.\n * @param {object} options\n *     the Vue component options object. Changes for this object will affect the\n *     provided component.\n * @private\n * @author Haixing Hu\n */\nfunction RawFactory(Class, defaultInstance, target, context, options) {\n  if (context?.kind !== 'field') {\n    throw new SyntaxError('The @Raw decorator can only be used to decorate a class field.');\n  }\n  const key = context.name;\n  const value = options.fields[key];\n  options.rawFields[key] = value;\n  delete options.fields[key];     // remove the field from the reactive data fields\n  options.mixins.push({\n    created() {\n      this[key] = options.rawFields[key];\n    },\n  });\n}\n\n/**\n * The `@Raw` decorator is marked on class fields to declare the field as a raw\n * field, which is not reactive.\n *\n * Usage example:\n * ```js\n * &#064;Component\n * class MyComponent {\n *\n *   message = 'hello';\n *\n *   &#064;Raw\n *   rawValue = 123;\n *\n *   &#064;Raw\n *   person = {\n *     id: 1,\n *     name: 'John',\n *     age: 32,\n *     gender: 'MALE',\n *   };\n * }\n *\n * export default toVue(MyComponent);\n * ```\n *\n * The above code declares a Vue component named `MyComponent` with three fields:\n * - `message` is a reactive field with the initial value `'hello'`.\n * - `rawValue` is a non-reactive raw field with the initial value `123`.\n * - `person` is a non-reactive raw field with the initial value:\n *\n * @param {string} target\n *     The target of the decorator. Since this decorator is used to decorate a\n *     class field, the target is always `undefined`.\n * @param {object} context\n *     The context object containing information about the field being decorated.\n * @return {function|void}\n *     An initializer function which runs when the field is assigned, receiving\n *     the initial value of the field and returning a new initial value; or\n *     returns nothing.\n * @author Haixing Hu\n */\nfunction Raw(target, context) {\n  const decor = createDecorator(RawFactory);\n  return decor(target, context);\n}\n\nexport default Raw;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2023.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport { defineComponent } from 'vue';\nimport { OPTIONS_KEY } from './impl/metadata-keys';\n\n/**\n * Converts a Vue class component into the Vue component option.\n *\n * @param Class\n *     The class.\n * @returns {Object}\n *     The corresponding Vue component option.\n * @author Haixing Hu\n */\nfunction toVue(Class) {\n  const metadata = Class[Symbol.metadata];\n  const options = metadata[OPTIONS_KEY];\n  return defineComponent(options);\n}\n\nexport default toVue;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport addProp from './impl/decorator/add-prop';\nimport createDecorator from './create-decorator';\n\n/**\n * The factory of the `@VModel` decorator.\n *\n * @param {object} args\n *     the optional arguments of the `@VModel` decorator.\n * @param {function} Class\n *     The constructor of the decorated class.\n * @param {object} defaultInstance\n *     The default constructed instance of the decorated class.\n * @param {any} target\n *     the decorated target. Since the `@VModel` decorator is used to decorate a\n *     class field, this argument is always `undefined`.\n * @param {object} context\n *     the context about the information of the field to be decorated.\n * @param {object} options\n *     the Vue component options object. Changes for this object will affect the\n *     provided component.\n * @author Haixing Hu\n * @private\n * @see [Component v-model](https://vuejs.org/guide/components/v-model.html#component-v-model)\n */\nfunction VModelFactory(args, Class, defaultInstance, target, context, options) {\n  if (context?.kind !== 'field') {\n    throw new SyntaxError('The @VModel decorator can only be used to decorate a class field.');\n  }\n  // check whether there is already a @VModel decorated field\n  if (options.emits && options.emits.includes('update:modelValue')) {\n    throw new SyntaxError('Only one field can be decorated by @VModel.');\n  }\n  // check whether there is a data field named with 'modelValue'\n  if ((options.fields) && (options.fields['modelValue'] !== undefined)) {\n    throw new SyntaxError('The special name \"modelValue\" cannot be used as data field name.');\n  }\n  // check whether there is a method named with 'modelValue'\n  if ((options.methods) && (options.methods['modelValue'] !== undefined)) {\n    throw new SyntaxError('The special name \"modelValue\" cannot be used as class method name.');\n  }\n  // add Prop `modelValue` with the arguments of the field decorated by @VModel\n  addProp(args, Class, defaultInstance, context.name, 'modelValue', options);\n  // add emits: 'update:modelValue'\n  options.emits ??= [];\n  options.emits.push('update:modelValue');\n  // add computed value with the name of the decorated field\n  options.computed ??= {};\n  options.computed[context.name] = {\n    get() {\n      return this.modelValue;\n    },\n    set(value) {\n      this.$emit('update:modelValue', value);\n    },\n  };\n}\n\n/**\n * The `@VModel` decorator is marked on class fields to declare v-model bounded\n * props of the Vue component.\n *\n * See [Component v-model](https://vuejs.org/guide/components/v-model.html#component-v-model)\n * for more details about the `v-model` binding.\n *\n * The decorator may be used with an optional argument. The argument is an\n * object containing the following options of the decorator:\n *\n * | Option      | Type       | Default     | Description                                                        |\n * |-------------|------------|-------------|--------------------------------------------------------------------|\n * | `type`      | `Function` | `undefined` | The data type of the prop, which should be a constructor function. |\n * | `required`  | `Boolean`  | `false`     | Indicates whether the prop is required or not.                     |\n * | `default`   | `any`      | `undefined` | Specifies the default value of the prop.                           |\n * | `validator` | `Function` | `undefined` | A custom validation function for the prop.                         |\n *\n * Usage example:\n * ```vue\n * <template>\n *   <div class=\"my-component\">\n *     <input v-model=\"message\" />\n *   </div>\n * </template>\n * <script>\n * import { Component, VModel, toVue } from '&#064;haixing_hu/vue3-class-component';\n * &#064;Component\n * class MyComponent {\n *   &#064;VModel({ type: String, validator: (v) => (v.length >= 0) })\n *   message;\n * }\n *\n * export default toVue(MyComponent);\n * </script>\n * ```\n * The `@VModel` prop in the component defined above can be used as follows:\n * ```vue\n * <template>\n *   <div class=\"use-my-component\">\n *     <my-component v-model=\"msg\" />\n *   </div>\n * </template>\n * ```\n *\n * @param {...any} args\n *     The array of arguments for calling this decorator. If it has only one\n *     argument, the only argument is the optional options of this decorator,\n *     and this function should return another function which is the decorator\n *     of a class field; If it has two arguments, the first argument is the\n *     decorated field of a class, and the second argument is the context object\n *     containing information about the field being decorated.\n * @return {Function}\n *     If this decorator has only one argument, this function returns another\n *     function which is the decorator of a class field; otherwise, this function\n *     returns the decorated class field.\n * @author Haixing Hu\n * @see Prop\n * @see [Component v-model](https://vuejs.org/guide/components/v-model.html#component-v-model)\n */\nfunction VModel(...args) {\n  if (args.length === 1) {        // the decorator is used with options\n    // returns a simple field decorator\n    const factory = VModelFactory.bind(null, args[0]);\n    return createDecorator(factory);\n  } else if (args.length === 2) { // the decorator is used without options\n    const factory = VModelFactory.bind(null, {});\n    const decor = createDecorator(factory);\n    return decor(args[0], args[1]);\n  } else {\n    throw new SyntaxError('Invalid use of the `@VModel` decorator.');\n  }\n}\n\nexport default VModel;\n","////////////////////////////////////////////////////////////////////////////////\n//\n//    Copyright (c) 2022 - 2024.\n//    Haixing Hu, Qubit Co. Ltd.\n//\n//    All rights reserved.\n//\n////////////////////////////////////////////////////////////////////////////////\nimport createDecorator from './create-decorator';\n\n/**\n * The factory of the `@Watch` decorator.\n *\n * @param {object} args\n *     the arguments of the `@Watch` decorator.\n * @param {function} Class\n *     The constructor of the decorated class.\n * @param {object} defaultInstance\n *     The default constructed instance of the decorated class.\n * @param {any} target\n *     the decorated target. Since the `@Watch` decorator is used to decorate a\n *     class method, this argument is the class method to be decorated.\n * @param {object} context\n *     the context about the information of the method to be decorated.\n * @param {object} options\n *     the Vue component options object. Changes for this object will affect the\n *     provided component.\n * @private\n * @author Haixing Hu\n */\nfunction WatchFactory(args, Class, defaultInstance, target, context, options) {\n  if (context?.kind !== 'method') {\n    throw new SyntaxError('The @Watch decorator can only be used to decorate a class method.');\n  }\n  const path = args.path;\n  const deep = args.deep ?? false;\n  const immediate = args.immediate ?? false;\n  const flush = args.flush ?? 'pre';\n  options.watch ??= {};\n  if (options.watch[path] !== undefined) {\n    throw new SyntaxError(`The @Watch decorator can only be used once on the path \"${path}\".`);\n  }\n  options.watch[path] = {\n    handler: target,\n    deep,\n    immediate,\n    flush,\n  };\n  // delete the handler method from options.methods\n  delete options.methods[context.name];\n}\n\n/**\n * The `@Watch` decorator is marked on class methods to declare watchers of the\n * Vue component.\n *\n * The `@Watch` decorator has one or two arguments. The first argument of the\n * `@Watch` decorator is the path of the watched states or watched properties.\n * The second optional argument of the `@Watch` decorator is an object with the\n * following options:\n *\n * | Option      | Type      | Default | Description                                                                             |\n * |-------------|-----------|---------|-----------------------------------------------------------------------------------------|\n * | `deep`      | `Boolean` | `false` | Whether the watcher should deep traversal of the source if it is an object or an array. |\n * | `immediate` | `Boolean` | `false` | Whether the watcher should be called immediately after the watcher is created.          |\n * | `flush`     | `String`  | `'pre'` | The flushing timing of the watcher. It can be one of `'pre'`, `'post'` or `'sync'`.     |\n *\n * Usage example:\n * ```js\n * &#064;Component\n * class MyComponent {\n *   value = 123;\n *\n *   person = {\n *     id: 1,\n *     name: 'John',\n *     age: 32,\n *     gender: 'MALE',\n *   };\n *\n *   &#064;Watch('value')\n *   onValueChanged(val, oldVal) {\n *     console.log(`The value is changed from ${oldVal} to ${val}.`);\n *   }\n *\n *   &#064;Watch('person', { deep: true })\n *   onPersonChanged(val, oldVal) {\n *     console.log(`The person is changed from ${oldVal} to ${val}.`);\n *   }\n * }\n *\n * export default toVue(MyComponent);\n * ```\n *\n *\n * @param {string} path\n *     The path of the watched states or watched properties.\n * @param {object} options\n *     The optional options of the `@Watch` decorator.\n * @return {Function}\n *     The decorator of a class method.\n * @author Haixing Hu\n */\nfunction Watch(path, options = {}) {\n  if (typeof path !== 'string') {\n    throw new TypeError('The path argument of `@Watch` decorator must be a string.');\n  }\n  const args = {\n    path,\n    ...options,\n  };\n  const factory = WatchFactory.bind(null, args);\n  return createDecorator(factory);\n}\n\nexport default Watch;\n"],"names":["_typeof","_slicedToArray","clone","_defineProperty","computed","defineComponent","commonjsGlobal","globalThis","window","global","self","check","it","Math","globalThis_1","this","Function","require$$0","defineProperty","Object","require$$1","defineGlobalProperty","key","value","configurable","writable","error","SHARED","store","sharedStoreModule","exports","versions","push","version","mode","copyright","license","source","match","fails","exec","functionBindNative","test","bind","hasOwnProperty","NATIVE_BIND","FunctionPrototype","prototype","call","uncurryThisWithBind","functionUncurryThis","fn","apply","arguments","isNullOrUndefined","$TypeError","TypeError","requireObjectCoercible","$Object","toObject","argument","hasOwnProperty_1","hasOwn","uncurryThis","id","postfix","random","toString","navigator","userAgent","String","process","Deno","v8","split","V8_VERSION","$String","require$$2","symbolConstructorDetection","getOwnPropertySymbols","symbol","Symbol","sham","useSymbolAsUid","iterator","shared","uid","undefined","NATIVE_SYMBOL","require$$4","USE_SYMBOL_AS_UID","require$$5","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","wellKnownSymbol","name","objectDefineProperty","descriptors","get","documentAll","document","all","isCallable","isObject","EXISTS","createElement","ie8DomDefine","a","v8PrototypeDefineBug","functionCall","objectIsPrototypeOf","isPrototypeOf","getBuiltIn","namespace","method","length","isSymbol","require$$3","$Symbol","tryToString","aCallable","getMethod","V","P","func","ordinaryToPrimitive","input","pref","val","valueOf","TO_PRIMITIVE","toPrimitive","result","exoticToPrim","DESCRIPTORS","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","getOwnPropertyDescriptor","ENUMERABLE","CONFIGURABLE","WRITABLE","f","O","Attributes","current","enumerable","METADATA","path","wellKnownSymbolWrapped","wrappedWellKnownSymbolModule","NAME","defineWellKnownSymbol","DECORATORS_KEY","OPTIONS_KEY","VUE_KEYWORDS","category","declared","decorated","VUE_LIFECYCLE_HOOKS","VUE_SPECIAL_FUNCTIONS","collectMethod","obj","options","includes","Error","concat","descriptor","methods","set","fields","buildOptions","Class","context","_options$name","_options$methods","_options$mixins","_options$computed","_options$fields","_options$rawFields","kind","checkOptions","keys","forEach","keyword","find","item","msg","mixins","rawFields","collectMethods","_step","proto","_iterator","_createForOfIteratorHelper","getOwnPropertyNames","s","n","done","err","e","defaultInstance","collectData","entries","_ref","_ref2","data","collectDecorators","decorators","metadata","decorator","Component","_len","args","Array","_key","createDecorator","factory","target","_metadata$DECORATORS_","instance","fixDefaultValue","isArray","InjectFactory","_args$from","_options$inject","SyntaxError","from","defaultValue","inject","default","Inject","decor","addProp","field","prop","_args$required","_options$props","type","initialValue","inferDefaultValue","inferType","defaultType","constructor","typeValid","typeMismatch","every","v","required","validator","props","PropFactory","Prop","ProvideFactory","_args$key","_args$reactive","reactive","provide","_this","Provide","RawFactory","created","Raw","toVue","VModelFactory","_options$emits","emits","modelValue","$emit","VModel","WatchFactory","_args$deep","_args$immediate","_args$flush","_options$watch","deep","immediate","flush","watch","handler","Watch","_objectSpread"],"mappings":"OACAA,MAAA,uCAAAC,MAAA,8CAAAC,MAAA,2BAAAC,MAAA,2DAAAC,qBAAAC,MAAA,MAAA,IAAAC,EAAA,oBAAAC,WAAAA,WAAA,oBAAAC,OAAAA,OAAA,oBAAAC,OAAAA,OAAA,oBAAAC,KAAAA,KAAA,CAAA,EAAIC,MAAQ,SAAUC,GACpB,OAAOA,GAAMA,EAAGC,OAASA,MAAQD,CACnC,EAGAE,EAEEH,MAA2B,iBAAdJ,YAA0BA,aACvCI,MAAuB,iBAAVH,QAAsBA,SAEnCG,MAAqB,iBAARD,MAAoBA,OACjCC,MAAuB,iBAAVF,GAAsBA,IACnCE,MAAqB,iBAARI,GAAoBA,IAEjC,WAAe,OAAOA,IAAO,CAA7B,IAAoCC,SAAS,cAATA,kBCdlCT,EAAaU,E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