unify-external-plugin-platform 0.0.2-7 → 0.0.2-9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -240,22 +240,6 @@ module.exports = function (key, value) {
240
240
  };
241
241
 
242
242
 
243
- /***/ }),
244
-
245
- /***/ 5117:
246
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
247
-
248
- "use strict";
249
-
250
- var tryToString = __webpack_require__(6330);
251
-
252
- var $TypeError = TypeError;
253
-
254
- module.exports = function (O, P) {
255
- if (!delete O[P]) throw $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));
256
- };
257
-
258
-
259
243
  /***/ }),
260
244
 
261
245
  /***/ 9781:
@@ -1527,57 +1511,6 @@ $({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_TO_LENGTH || SILEN
1527
1511
  });
1528
1512
 
1529
1513
 
1530
- /***/ }),
1531
-
1532
- /***/ 541:
1533
- /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1534
-
1535
- "use strict";
1536
-
1537
- var $ = __webpack_require__(2109);
1538
- var toObject = __webpack_require__(7908);
1539
- var lengthOfArrayLike = __webpack_require__(6244);
1540
- var setArrayLength = __webpack_require__(3658);
1541
- var deletePropertyOrThrow = __webpack_require__(5117);
1542
- var doesNotExceedSafeInteger = __webpack_require__(7207);
1543
-
1544
- // IE8-
1545
- var INCORRECT_RESULT = [].unshift(0) !== 1;
1546
-
1547
- // V8 ~ Chrome < 71 and Safari <= 15.4, FF < 23 throws InternalError
1548
- var SILENT_ON_NON_WRITABLE_LENGTH = !function () {
1549
- try {
1550
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1551
- Object.defineProperty([], 'length', { writable: false }).unshift();
1552
- } catch (error) {
1553
- return error instanceof TypeError;
1554
- }
1555
- }();
1556
-
1557
- // `Array.prototype.unshift` method
1558
- // https://tc39.es/ecma262/#sec-array.prototype.unshift
1559
- $({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_RESULT || SILENT_ON_NON_WRITABLE_LENGTH }, {
1560
- // eslint-disable-next-line no-unused-vars -- required for `.length`
1561
- unshift: function unshift(item) {
1562
- var O = toObject(this);
1563
- var len = lengthOfArrayLike(O);
1564
- var argCount = arguments.length;
1565
- if (argCount) {
1566
- doesNotExceedSafeInteger(len + argCount);
1567
- var k = len;
1568
- while (k--) {
1569
- var to = k + argCount;
1570
- if (k in O) O[to] = O[k];
1571
- else deletePropertyOrThrow(O, to);
1572
- }
1573
- for (var j = 0; j < argCount; j++) {
1574
- O[j] = arguments[j];
1575
- }
1576
- } return setArrayLength(O, len + argCount);
1577
- }
1578
- });
1579
-
1580
-
1581
1514
  /***/ }),
1582
1515
 
1583
1516
  /***/ 5053:
@@ -1710,7 +1643,7 @@ if (typeof window !== 'undefined') {
1710
1643
  // Indicate to webpack that this file can be concatenated
1711
1644
  /* harmony default export */ var setPublicPath = (null);
1712
1645
 
1713
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/zs-empty/src/zs-empty.vue?vue&type=template&id=f1a1b794&scoped=true&
1646
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/zs-empty/src/zs-empty.vue?vue&type=template&id=52cf5f01&scoped=true&
1714
1647
  var render = function render() {
1715
1648
  var _vm = this,
1716
1649
  _c = _vm._self._c,
@@ -1727,7 +1660,7 @@ var render = function render() {
1727
1660
  };
1728
1661
  var staticRenderFns = [];
1729
1662
 
1730
- ;// CONCATENATED MODULE: ./packages/zs-empty/src/zs-empty.vue?vue&type=template&id=f1a1b794&scoped=true&
1663
+ ;// CONCATENATED MODULE: ./packages/zs-empty/src/zs-empty.vue?vue&type=template&id=52cf5f01&scoped=true&
1731
1664
 
1732
1665
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
1733
1666
  function _typeof(obj) {
@@ -1777,16 +1710,14 @@ function _defineProperty(obj, key, value) {
1777
1710
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
1778
1711
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(7203);
1779
1712
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
1780
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
1781
- var es_array_push = __webpack_require__(7658);
1782
1713
  ;// CONCATENATED MODULE: ./node_modules/vue-class-component/dist/vue-class-component.esm.js
1783
-
1784
1714
  /**
1785
1715
  * vue-class-component v7.2.6
1786
1716
  * (c) 2015-present Evan You
1787
1717
  * @license MIT
1788
1718
  */
1789
1719
 
1720
+
1790
1721
  function vue_class_component_esm_typeof(obj) {
1791
1722
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
1792
1723
  vue_class_component_esm_typeof = function (obj) {
@@ -1797,8 +1728,10 @@ function vue_class_component_esm_typeof(obj) {
1797
1728
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1798
1729
  };
1799
1730
  }
1731
+
1800
1732
  return vue_class_component_esm_typeof(obj);
1801
1733
  }
1734
+
1802
1735
  function vue_class_component_esm_defineProperty(obj, key, value) {
1803
1736
  if (key in obj) {
1804
1737
  Object.defineProperty(obj, key, {
@@ -1810,20 +1743,26 @@ function vue_class_component_esm_defineProperty(obj, key, value) {
1810
1743
  } else {
1811
1744
  obj[key] = value;
1812
1745
  }
1746
+
1813
1747
  return obj;
1814
1748
  }
1749
+
1815
1750
  function _toConsumableArray(arr) {
1816
1751
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
1817
1752
  }
1753
+
1818
1754
  function _arrayWithoutHoles(arr) {
1819
1755
  if (Array.isArray(arr)) {
1820
1756
  for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
1757
+
1821
1758
  return arr2;
1822
1759
  }
1823
1760
  }
1761
+
1824
1762
  function _iterableToArray(iter) {
1825
1763
  if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
1826
1764
  }
1765
+
1827
1766
  function _nonIterableSpread() {
1828
1767
  throw new TypeError("Invalid attempt to spread non-iterable instance");
1829
1768
  }
@@ -1843,10 +1782,12 @@ function copyReflectionMetadata(to, from) {
1843
1782
  forwardMetadata(to, from, key);
1844
1783
  });
1845
1784
  }
1785
+
1846
1786
  function forwardMetadata(to, from, propertyKey) {
1847
1787
  var metaKeys = propertyKey ? Reflect.getOwnMetadataKeys(from, propertyKey) : Reflect.getOwnMetadataKeys(from);
1848
1788
  metaKeys.forEach(function (metaKey) {
1849
1789
  var metadata = propertyKey ? Reflect.getOwnMetadata(metaKey, from, propertyKey) : Reflect.getOwnMetadata(metaKey, from);
1790
+
1850
1791
  if (propertyKey) {
1851
1792
  Reflect.defineMetadata(metaKey, metadata, to, propertyKey);
1852
1793
  } else {
@@ -1854,6 +1795,7 @@ function forwardMetadata(to, from, propertyKey) {
1854
1795
  }
1855
1796
  });
1856
1797
  }
1798
+
1857
1799
  var fakeArray = {
1858
1800
  __proto__: []
1859
1801
  };
@@ -1861,12 +1803,15 @@ var hasProto = fakeArray instanceof Array;
1861
1803
  function vue_class_component_esm_createDecorator(factory) {
1862
1804
  return function (target, key, index) {
1863
1805
  var Ctor = typeof target === 'function' ? target : target.constructor;
1806
+
1864
1807
  if (!Ctor.__decorators__) {
1865
1808
  Ctor.__decorators__ = [];
1866
1809
  }
1810
+
1867
1811
  if (typeof index !== 'number') {
1868
1812
  index = undefined;
1869
1813
  }
1814
+
1870
1815
  Ctor.__decorators__.push(function (options) {
1871
1816
  return factory(options, key, index);
1872
1817
  });
@@ -1876,12 +1821,14 @@ function mixins() {
1876
1821
  for (var _len = arguments.length, Ctors = new Array(_len), _key = 0; _key < _len; _key++) {
1877
1822
  Ctors[_key] = arguments[_key];
1878
1823
  }
1824
+
1879
1825
  return Vue.extend({
1880
1826
  mixins: Ctors
1881
1827
  });
1882
1828
  }
1883
1829
  function isPrimitive(value) {
1884
1830
  var type = vue_class_component_esm_typeof(value);
1831
+
1885
1832
  return value == null || type !== 'object' && type !== 'function';
1886
1833
  }
1887
1834
  function warn(message) {
@@ -1889,9 +1836,11 @@ function warn(message) {
1889
1836
  console.warn('[vue-class-component] ' + message);
1890
1837
  }
1891
1838
  }
1839
+
1892
1840
  function collectDataFromConstructor(vm, Component) {
1893
1841
  // override _init to prevent to init as Vue instance
1894
1842
  var originalInit = Component.prototype._init;
1843
+
1895
1844
  Component.prototype._init = function () {
1896
1845
  var _this = this;
1897
1846
 
@@ -1905,6 +1854,7 @@ function collectDataFromConstructor(vm, Component) {
1905
1854
  }
1906
1855
  }
1907
1856
  }
1857
+
1908
1858
  keys.forEach(function (key) {
1909
1859
  Object.defineProperty(_this, key, {
1910
1860
  get: function get() {
@@ -1918,6 +1868,7 @@ function collectDataFromConstructor(vm, Component) {
1918
1868
  });
1919
1869
  }; // should be acquired class property values
1920
1870
 
1871
+
1921
1872
  var data = new Component(); // restore original _init to avoid memory leak (#209)
1922
1873
 
1923
1874
  Component.prototype._init = originalInit; // create plain data object
@@ -1928,12 +1879,14 @@ function collectDataFromConstructor(vm, Component) {
1928
1879
  plainData[key] = data[key];
1929
1880
  }
1930
1881
  });
1882
+
1931
1883
  if (false) {}
1884
+
1932
1885
  return plainData;
1933
1886
  }
1887
+
1934
1888
  var $internalHooks = ['data', 'beforeCreate', 'created', 'beforeMount', 'mounted', 'beforeDestroy', 'destroyed', 'beforeUpdate', 'updated', 'activated', 'deactivated', 'render', 'errorCaptured', 'serverPrefetch' // 2.6
1935
1889
  ];
1936
-
1937
1890
  function componentFactory(Component) {
1938
1891
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1939
1892
  options.name = options.name || Component._componentTag || Component.name; // prototype props.
@@ -1944,11 +1897,14 @@ function componentFactory(Component) {
1944
1897
  return;
1945
1898
  } // hooks
1946
1899
 
1900
+
1947
1901
  if ($internalHooks.indexOf(key) > -1) {
1948
1902
  options[key] = proto[key];
1949
1903
  return;
1950
1904
  }
1905
+
1951
1906
  var descriptor = Object.getOwnPropertyDescriptor(proto, key);
1907
+
1952
1908
  if (descriptor.value !== void 0) {
1953
1909
  // methods
1954
1910
  if (typeof descriptor.value === 'function') {
@@ -1976,6 +1932,7 @@ function componentFactory(Component) {
1976
1932
  }); // decorate options
1977
1933
 
1978
1934
  var decorators = Component.__decorators__;
1935
+
1979
1936
  if (decorators) {
1980
1937
  decorators.forEach(function (fn) {
1981
1938
  return fn(options);
@@ -1983,23 +1940,22 @@ function componentFactory(Component) {
1983
1940
  delete Component.__decorators__;
1984
1941
  } // find super
1985
1942
 
1943
+
1986
1944
  var superProto = Object.getPrototypeOf(Component.prototype);
1987
1945
  var Super = superProto instanceof (external_commonjs_vue_commonjs2_vue_root_Vue_default()) ? superProto.constructor : (external_commonjs_vue_commonjs2_vue_root_Vue_default());
1988
1946
  var Extended = Super.extend(options);
1989
1947
  forwardStaticMembers(Extended, Component, Super);
1948
+
1990
1949
  if (reflectionIsSupported()) {
1991
1950
  copyReflectionMetadata(Extended, Component);
1992
1951
  }
1952
+
1993
1953
  return Extended;
1994
1954
  }
1995
- var reservedPropertyNames = (/* unused pure expression or super */ null && ([
1996
- // Unique id
1997
- 'cid',
1998
- // Super Vue constructor
1999
- 'super',
2000
- // Component options that will be used by the component
2001
- 'options', 'superOptions', 'extendOptions', 'sealedOptions',
2002
- // Private assets
1955
+ var reservedPropertyNames = (/* unused pure expression or super */ null && ([// Unique id
1956
+ 'cid', // Super Vue constructor
1957
+ 'super', // Component options that will be used by the component
1958
+ 'options', 'superOptions', 'extendOptions', 'sealedOptions', // Private assets
2003
1959
  'component', 'directive', 'filter']));
2004
1960
  var shouldIgnore = {
2005
1961
  prototype: true,
@@ -2007,6 +1963,7 @@ var shouldIgnore = {
2007
1963
  callee: true,
2008
1964
  caller: true
2009
1965
  };
1966
+
2010
1967
  function forwardStaticMembers(Extended, Original, Super) {
2011
1968
  // We have to use getOwnPropertyNames since Babel registers methods as non-enumerable
2012
1969
  Object.getOwnPropertyNames(Original).forEach(function (key) {
@@ -2015,10 +1972,13 @@ function forwardStaticMembers(Extended, Original, Super) {
2015
1972
  return;
2016
1973
  } // Some browsers does not allow reconfigure built-in properties
2017
1974
 
1975
+
2018
1976
  var extendedDescriptor = Object.getOwnPropertyDescriptor(Extended, key);
1977
+
2019
1978
  if (extendedDescriptor && !extendedDescriptor.configurable) {
2020
1979
  return;
2021
1980
  }
1981
+
2022
1982
  var descriptor = Object.getOwnPropertyDescriptor(Original, key); // If the user agent does not support `__proto__` or its family (IE <= 10),
2023
1983
  // the sub class properties may be inherited properties from the super class in TypeScript.
2024
1984
  // We need to exclude such properties to prevent to overwrite
@@ -2034,99 +1994,114 @@ function forwardStaticMembers(Extended, Original, Super) {
2034
1994
  if (key === 'cid') {
2035
1995
  return;
2036
1996
  }
1997
+
2037
1998
  var superDescriptor = Object.getOwnPropertyDescriptor(Super, key);
1999
+
2038
2000
  if (!isPrimitive(descriptor.value) && superDescriptor && superDescriptor.value === descriptor.value) {
2039
2001
  return;
2040
2002
  }
2041
2003
  } // Warn if the users manually declare reserved properties
2042
2004
 
2005
+
2043
2006
  if (false) {}
2007
+
2044
2008
  Object.defineProperty(Extended, key, descriptor);
2045
2009
  });
2046
2010
  }
2011
+
2047
2012
  function Component(options) {
2048
2013
  if (typeof options === 'function') {
2049
2014
  return componentFactory(options);
2050
2015
  }
2016
+
2051
2017
  return function (Component) {
2052
2018
  return componentFactory(Component, options);
2053
2019
  };
2054
2020
  }
2021
+
2055
2022
  Component.registerHooks = function registerHooks(keys) {
2056
2023
  $internalHooks.push.apply($internalHooks, _toConsumableArray(keys));
2057
2024
  };
2025
+
2058
2026
  /* harmony default export */ var vue_class_component_esm = (Component);
2059
2027
 
2060
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unshift.js
2061
- var es_array_unshift = __webpack_require__(541);
2062
- ;// CONCATENATED MODULE: ./node_modules/vue-property-decorator/lib/decorators/Emit.js
2063
2028
 
2064
- var __spreadArrays = undefined && undefined.__spreadArrays || function () {
2065
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
2066
- for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];
2067
- return r;
2029
+ ;// CONCATENATED MODULE: ./node_modules/vue-property-decorator/lib/decorators/Emit.js
2030
+ var __spreadArrays = (undefined && undefined.__spreadArrays) || function () {
2031
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
2032
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
2033
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
2034
+ r[k] = a[j];
2035
+ return r;
2068
2036
  };
2069
2037
  // Code copied from Vue/src/shared/util.js
2070
2038
  var hyphenateRE = /\B([A-Z])/g;
2071
- var hyphenate = function (str) {
2072
- return str.replace(hyphenateRE, '-$1').toLowerCase();
2073
- };
2039
+ var hyphenate = function (str) { return str.replace(hyphenateRE, '-$1').toLowerCase(); };
2074
2040
  /**
2075
2041
  * decorator of an event-emitter function
2076
2042
  * @param event The name of the event
2077
2043
  * @return MethodDecorator
2078
2044
  */
2079
2045
  function Emit(event) {
2080
- return function (_target, propertyKey, descriptor) {
2081
- var key = hyphenate(propertyKey);
2082
- var original = descriptor.value;
2083
- descriptor.value = function emitter() {
2084
- var _this = this;
2085
- var args = [];
2086
- for (var _i = 0; _i < arguments.length; _i++) {
2087
- args[_i] = arguments[_i];
2088
- }
2089
- var emit = function (returnValue) {
2090
- var emitName = event || key;
2091
- if (returnValue === undefined) {
2092
- if (args.length === 0) {
2093
- _this.$emit(emitName);
2094
- } else if (args.length === 1) {
2095
- _this.$emit(emitName, args[0]);
2096
- } else {
2097
- _this.$emit.apply(_this, __spreadArrays([emitName], args));
2098
- }
2099
- } else {
2100
- args.unshift(returnValue);
2101
- _this.$emit.apply(_this, __spreadArrays([emitName], args));
2102
- }
2103
- };
2104
- var returnValue = original.apply(this, args);
2105
- if (isPromise(returnValue)) {
2106
- returnValue.then(emit);
2107
- } else {
2108
- emit(returnValue);
2109
- }
2110
- return returnValue;
2046
+ return function (_target, propertyKey, descriptor) {
2047
+ var key = hyphenate(propertyKey);
2048
+ var original = descriptor.value;
2049
+ descriptor.value = function emitter() {
2050
+ var _this = this;
2051
+ var args = [];
2052
+ for (var _i = 0; _i < arguments.length; _i++) {
2053
+ args[_i] = arguments[_i];
2054
+ }
2055
+ var emit = function (returnValue) {
2056
+ var emitName = event || key;
2057
+ if (returnValue === undefined) {
2058
+ if (args.length === 0) {
2059
+ _this.$emit(emitName);
2060
+ }
2061
+ else if (args.length === 1) {
2062
+ _this.$emit(emitName, args[0]);
2063
+ }
2064
+ else {
2065
+ _this.$emit.apply(_this, __spreadArrays([emitName], args));
2066
+ }
2067
+ }
2068
+ else {
2069
+ args.unshift(returnValue);
2070
+ _this.$emit.apply(_this, __spreadArrays([emitName], args));
2071
+ }
2072
+ };
2073
+ var returnValue = original.apply(this, args);
2074
+ if (isPromise(returnValue)) {
2075
+ returnValue.then(emit);
2076
+ }
2077
+ else {
2078
+ emit(returnValue);
2079
+ }
2080
+ return returnValue;
2081
+ };
2111
2082
  };
2112
- };
2113
2083
  }
2114
2084
  function isPromise(obj) {
2115
- return obj instanceof Promise || obj && typeof obj.then === 'function';
2085
+ return obj instanceof Promise || (obj && typeof obj.then === 'function');
2116
2086
  }
2087
+
2117
2088
  ;// CONCATENATED MODULE: ./node_modules/vue-property-decorator/lib/helpers/metadata.js
2118
2089
  /** @see {@link https://github.com/vuejs/vue-class-component/blob/master/src/reflect.ts} */
2119
2090
  var reflectMetadataIsSupported = typeof Reflect !== 'undefined' && typeof Reflect.getMetadata !== 'undefined';
2120
2091
  function metadata_applyMetadata(options, target, key) {
2121
- if (reflectMetadataIsSupported) {
2122
- if (!Array.isArray(options) && typeof options !== 'function' && !options.hasOwnProperty('type') && typeof options.type === 'undefined') {
2123
- var type = Reflect.getMetadata('design:type', target, key);
2124
- if (type !== Object) {
2125
- options.type = type;
2126
- }
2092
+ if (reflectMetadataIsSupported) {
2093
+ if (!Array.isArray(options) &&
2094
+ typeof options !== 'function' &&
2095
+ !options.hasOwnProperty('type') &&
2096
+ typeof options.type === 'undefined') {
2097
+ var type = Reflect.getMetadata('design:type', target, key);
2098
+ if (type !== Object) {
2099
+ options.type = type;
2100
+ }
2101
+ }
2127
2102
  }
2128
- }
2129
2103
  }
2104
+
2130
2105
  ;// CONCATENATED MODULE: ./node_modules/vue-property-decorator/lib/decorators/Model.js
2131
2106
 
2132
2107
 
@@ -2137,21 +2112,17 @@ function metadata_applyMetadata(options, target, key) {
2137
2112
  * @return PropertyDecorator
2138
2113
  */
2139
2114
  function Model(event, options) {
2140
- if (options === void 0) {
2141
- options = {};
2142
- }
2143
- return function (target, key) {
2144
- applyMetadata(options, target, key);
2145
- createDecorator(function (componentOptions, k) {
2146
- ;
2147
- (componentOptions.props || (componentOptions.props = {}))[k] = options;
2148
- componentOptions.model = {
2149
- prop: k,
2150
- event: event || k
2151
- };
2152
- })(target, key);
2153
- };
2115
+ if (options === void 0) { options = {}; }
2116
+ return function (target, key) {
2117
+ applyMetadata(options, target, key);
2118
+ createDecorator(function (componentOptions, k) {
2119
+ ;
2120
+ (componentOptions.props || (componentOptions.props = {}))[k] = options;
2121
+ componentOptions.model = { prop: k, event: event || k };
2122
+ })(target, key);
2123
+ };
2154
2124
  }
2125
+
2155
2126
  ;// CONCATENATED MODULE: ./node_modules/vue-property-decorator/lib/decorators/ModelSync.js
2156
2127
 
2157
2128
 
@@ -2163,30 +2134,26 @@ function Model(event, options) {
2163
2134
  * @return PropertyDecorator
2164
2135
  */
2165
2136
  function ModelSync(propName, event, options) {
2166
- if (options === void 0) {
2167
- options = {};
2168
- }
2169
- return function (target, key) {
2170
- applyMetadata(options, target, key);
2171
- createDecorator(function (componentOptions, k) {
2172
- ;
2173
- (componentOptions.props || (componentOptions.props = {}))[propName] = options;
2174
- componentOptions.model = {
2175
- prop: propName,
2176
- event: event || k
2177
- };
2178
- (componentOptions.computed || (componentOptions.computed = {}))[k] = {
2179
- get: function () {
2180
- return this[propName];
2181
- },
2182
- set: function (value) {
2183
- // @ts-ignore
2184
- this.$emit(event, value);
2185
- }
2186
- };
2187
- })(target, key);
2188
- };
2137
+ if (options === void 0) { options = {}; }
2138
+ return function (target, key) {
2139
+ applyMetadata(options, target, key);
2140
+ createDecorator(function (componentOptions, k) {
2141
+ ;
2142
+ (componentOptions.props || (componentOptions.props = {}))[propName] = options;
2143
+ componentOptions.model = { prop: propName, event: event || k };
2144
+ (componentOptions.computed || (componentOptions.computed = {}))[k] = {
2145
+ get: function () {
2146
+ return this[propName];
2147
+ },
2148
+ set: function (value) {
2149
+ // @ts-ignore
2150
+ this.$emit(event, value);
2151
+ },
2152
+ };
2153
+ })(target, key);
2154
+ };
2189
2155
  }
2156
+
2190
2157
  ;// CONCATENATED MODULE: ./node_modules/vue-property-decorator/lib/decorators/Prop.js
2191
2158
 
2192
2159
 
@@ -2196,17 +2163,16 @@ function ModelSync(propName, event, options) {
2196
2163
  * @return PropertyDecorator | void
2197
2164
  */
2198
2165
  function Prop(options) {
2199
- if (options === void 0) {
2200
- options = {};
2201
- }
2202
- return function (target, key) {
2203
- metadata_applyMetadata(options, target, key);
2204
- vue_class_component_esm_createDecorator(function (componentOptions, k) {
2205
- ;
2206
- (componentOptions.props || (componentOptions.props = {}))[k] = options;
2207
- })(target, key);
2208
- };
2166
+ if (options === void 0) { options = {}; }
2167
+ return function (target, key) {
2168
+ metadata_applyMetadata(options, target, key);
2169
+ vue_class_component_esm_createDecorator(function (componentOptions, k) {
2170
+ ;
2171
+ (componentOptions.props || (componentOptions.props = {}))[k] = options;
2172
+ })(target, key);
2173
+ };
2209
2174
  }
2175
+
2210
2176
  ;// CONCATENATED MODULE: ./node_modules/vue-property-decorator/lib/decorators/PropSync.js
2211
2177
 
2212
2178
 
@@ -2217,59 +2183,24 @@ function Prop(options) {
2217
2183
  * @return PropertyDecorator | void
2218
2184
  */
2219
2185
  function PropSync(propName, options) {
2220
- if (options === void 0) {
2221
- options = {};
2222
- }
2223
- return function (target, key) {
2224
- applyMetadata(options, target, key);
2225
- createDecorator(function (componentOptions, k) {
2226
- ;
2227
- (componentOptions.props || (componentOptions.props = {}))[propName] = options;
2228
- (componentOptions.computed || (componentOptions.computed = {}))[k] = {
2229
- get: function () {
2230
- return this[propName];
2231
- },
2232
- set: function (value) {
2233
- this.$emit("update:" + propName, value);
2234
- }
2235
- };
2236
- })(target, key);
2237
- };
2186
+ if (options === void 0) { options = {}; }
2187
+ return function (target, key) {
2188
+ applyMetadata(options, target, key);
2189
+ createDecorator(function (componentOptions, k) {
2190
+ ;
2191
+ (componentOptions.props || (componentOptions.props = {}))[propName] = options;
2192
+ (componentOptions.computed || (componentOptions.computed = {}))[k] = {
2193
+ get: function () {
2194
+ return this[propName];
2195
+ },
2196
+ set: function (value) {
2197
+ this.$emit("update:" + propName, value);
2198
+ },
2199
+ };
2200
+ })(target, key);
2201
+ };
2238
2202
  }
2239
- ;// CONCATENATED MODULE: ./node_modules/vue-property-decorator/lib/decorators/Watch.js
2240
2203
 
2241
-
2242
- /**
2243
- * decorator of a watch function
2244
- * @param path the path or the expression to observe
2245
- * @param WatchOption
2246
- * @return MethodDecorator
2247
- */
2248
- function Watch(path, options) {
2249
- if (options === void 0) {
2250
- options = {};
2251
- }
2252
- var _a = options.deep,
2253
- deep = _a === void 0 ? false : _a,
2254
- _b = options.immediate,
2255
- immediate = _b === void 0 ? false : _b;
2256
- return createDecorator(function (componentOptions, handler) {
2257
- if (typeof componentOptions.watch !== 'object') {
2258
- componentOptions.watch = Object.create(null);
2259
- }
2260
- var watch = componentOptions.watch;
2261
- if (typeof watch[path] === 'object' && !Array.isArray(watch[path])) {
2262
- watch[path] = [watch[path]];
2263
- } else if (typeof watch[path] === 'undefined') {
2264
- watch[path] = [];
2265
- }
2266
- watch[path].push({
2267
- handler: handler,
2268
- deep: deep,
2269
- immediate: immediate
2270
- });
2271
- });
2272
- }
2273
2204
  ;// CONCATENATED MODULE: ./node_modules/vue-property-decorator/lib/index.js
2274
2205
  /** vue-property-decorator verson 9.1.2 MIT LICENSE copyright 2020 kaorun343 */
2275
2206
  /// <reference types='reflect-metadata'/>
@@ -2288,6 +2219,7 @@ function Watch(path, options) {
2288
2219
 
2289
2220
 
2290
2221
 
2222
+
2291
2223
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-86.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/zs-empty/src/zs-empty.vue?vue&type=script&lang=ts&
2292
2224
 
2293
2225
  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
@@ -2308,15 +2240,15 @@ __decorate([Prop({
2308
2240
  default: '暂无数据'
2309
2241
  })], ZSEmpty.prototype, "emptyTip", void 0);
2310
2242
  ZSEmpty = __decorate([vue_class_component_esm({
2311
- name: "ZSEmpty"
2243
+ name: "zs-empty"
2312
2244
  })], ZSEmpty);
2313
2245
  /* harmony default export */ var zs_emptyvue_type_script_lang_ts_ = (ZSEmpty);
2314
2246
  ;// CONCATENATED MODULE: ./packages/zs-empty/src/zs-empty.vue?vue&type=script&lang=ts&
2315
2247
  /* harmony default export */ var src_zs_emptyvue_type_script_lang_ts_ = (zs_emptyvue_type_script_lang_ts_);
2316
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/zs-empty/src/zs-empty.vue?vue&type=style&index=0&id=f1a1b794&prod&scoped=true&lang=scss&
2248
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/zs-empty/src/zs-empty.vue?vue&type=style&index=0&id=52cf5f01&prod&scoped=true&lang=scss&
2317
2249
  // extracted by mini-css-extract-plugin
2318
2250
 
2319
- ;// CONCATENATED MODULE: ./packages/zs-empty/src/zs-empty.vue?vue&type=style&index=0&id=f1a1b794&prod&scoped=true&lang=scss&
2251
+ ;// CONCATENATED MODULE: ./packages/zs-empty/src/zs-empty.vue?vue&type=style&index=0&id=52cf5f01&prod&scoped=true&lang=scss&
2320
2252
 
2321
2253
  ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
2322
2254
  /* globals __VUE_SSR_CONTEXT__ */
@@ -2431,7 +2363,7 @@ var component = normalizeComponent(
2431
2363
  staticRenderFns,
2432
2364
  false,
2433
2365
  null,
2434
- "f1a1b794",
2366
+ "52cf5f01",
2435
2367
  null
2436
2368
 
2437
2369
  )
@@ -2490,6 +2422,8 @@ var id_card_reader_demovue_type_template_id_0c496452_scoped_true_render = functi
2490
2422
  };
2491
2423
  var id_card_reader_demovue_type_template_id_0c496452_scoped_true_staticRenderFns = [];
2492
2424
 
2425
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
2426
+ var es_array_push = __webpack_require__(7658);
2493
2427
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-86.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/id-card-reader-demo/src/id-card-reader-demo.vue?vue&type=script&lang=ts&
2494
2428
 
2495
2429
 
@@ -3108,18 +3042,16 @@ scanner_high_camera_jieyu.install = Vue => {
3108
3042
  Vue.component(scanner_high_camera_jieyu.name, scanner_high_camera_jieyu);
3109
3043
  };
3110
3044
  /* harmony default export */ var packages_scanner_high_camera_jieyu = (scanner_high_camera_jieyu);
3111
- ;// CONCATENATED MODULE: ./packages/index.js
3112
-
3045
+ ;// CONCATENATED MODULE: ./packages/index.ts
3113
3046
 
3114
3047
 
3115
3048
 
3116
3049
  // 组件列表
3117
3050
  const components = [packages_zs_empty, packages_id_card_reader_demo, packages_scanner_high_camera_jieyu];
3118
-
3119
3051
  // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,那么所有的组件都会被注册
3120
3052
  const install = Vue => {
3121
3053
  // 判断是否安装
3122
- if (install.installed) return;
3054
+ // if (install.installed) return
3123
3055
  // 遍历注册全局组件
3124
3056
  components.map(component => Vue.component(component.name, component));
3125
3057
  };