Roxas 5 years ago
parent
commit
a15aafc49e

+ 4
- 0
eslib/Common/index.js View File

1
+import '../style-inject.es-7ed2769c.js';
2
+import 'react';
3
+export { T as Test } from '../test-4091af6f.js';
4
+//# sourceMappingURL=index.js.map

lib/esModule/Common/index.js.map → eslib/Common/index.js.map View File


lib/esModule/Payment/index.js → eslib/Payment/index.js View File

1
-import '../style-inject.es-0fe0d479.js';
1
+import '../style-inject.es-7ed2769c.js';
2
 import 'react';
2
 import 'react';
3
-export { C as ConsumeListView, P as PayPlatformOptions, a as PriceOptions, W as WaitPayInfoView } from '../index-6812601d.js';
3
+export { C as ConsumeListView, P as PayPlatformOptions, a as PriceOptions, W as WaitPayInfoView } from '../index-8e31d90e.js';
4
 import 'antd/es/input/style';
4
 import 'antd/es/input/style';
5
 import 'antd/es/input';
5
 import 'antd/es/input';
6
 import 'antd/es/button/style';
6
 import 'antd/es/button/style';

lib/esModule/Payment/index.js.map → eslib/Payment/index.js.map View File


+ 501
- 0
eslib/index-8e31d90e.js
File diff suppressed because it is too large
View File


+ 1
- 0
eslib/index-8e31d90e.js.map
File diff suppressed because it is too large
View File


lib/esModule/index.js → eslib/index.js View File

1
-import { c as createCommonjsModule, g as getCjsExportFromNamespace, a as commonjsGlobal, u as unwrapExports } from './style-inject.es-0fe0d479.js';
1
+import { c as createCommonjsModule, g as getCjsExportFromNamespace, a as commonjsGlobal, u as unwrapExports } from './style-inject.es-7ed2769c.js';
2
 import 'react';
2
 import 'react';
3
-import './test-7ad1ce03.js';
4
-export { C as ConsumeListView, P as PayPlatformOptions, a as PriceOptions, W as WaitPayInfoView } from './index-6812601d.js';
3
+import './test-4091af6f.js';
4
+export { C as ConsumeListView, P as PayPlatformOptions, a as PriceOptions, W as WaitPayInfoView } from './index-8e31d90e.js';
5
 import 'antd/es/input/style';
5
 import 'antd/es/input/style';
6
 import 'antd/es/input';
6
 import 'antd/es/input';
7
 import 'antd/es/button/style';
7
 import 'antd/es/button/style';

+ 1
- 0
eslib/index.js.map
File diff suppressed because it is too large
View File


lib/esModule/style-inject.es-0fe0d479.js → eslib/style-inject.es-7ed2769c.js View File

49
   return obj;
49
   return obj;
50
 }
50
 }
51
 
51
 
52
+function ownKeys(object, enumerableOnly) {
53
+  var keys = Object.keys(object);
54
+
55
+  if (Object.getOwnPropertySymbols) {
56
+    var symbols = Object.getOwnPropertySymbols(object);
57
+    if (enumerableOnly) symbols = symbols.filter(function (sym) {
58
+      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
59
+    });
60
+    keys.push.apply(keys, symbols);
61
+  }
62
+
63
+  return keys;
64
+}
65
+
66
+function _objectSpread2(target) {
67
+  for (var i = 1; i < arguments.length; i++) {
68
+    var source = arguments[i] != null ? arguments[i] : {};
69
+
70
+    if (i % 2) {
71
+      ownKeys(Object(source), true).forEach(function (key) {
72
+        _defineProperty(target, key, source[key]);
73
+      });
74
+    } else if (Object.getOwnPropertyDescriptors) {
75
+      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
76
+    } else {
77
+      ownKeys(Object(source)).forEach(function (key) {
78
+        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
79
+      });
80
+    }
81
+  }
82
+
83
+  return target;
84
+}
85
+
52
 function _inherits(subClass, superClass) {
86
 function _inherits(subClass, superClass) {
53
   if (typeof superClass !== "function" && superClass !== null) {
87
   if (typeof superClass !== "function" && superClass !== null) {
54
     throw new TypeError("Super expression must either be null or a function");
88
     throw new TypeError("Super expression must either be null or a function");
214
   }
248
   }
215
 }
249
 }
216
 
250
 
217
-export { _inherits as _, commonjsGlobal as a, _createClass as b, createCommonjsModule as c, _defineProperty as d, _classCallCheck as e, _possibleConstructorReturn as f, getCjsExportFromNamespace as g, _getPrototypeOf as h, classnames as i, _slicedToArray as j, styleInject as s, unwrapExports as u };
218
-//# sourceMappingURL=style-inject.es-0fe0d479.js.map
251
+export { _defineProperty as _, commonjsGlobal as a, _inherits as b, createCommonjsModule as c, _createClass as d, _classCallCheck as e, _possibleConstructorReturn as f, getCjsExportFromNamespace as g, _getPrototypeOf as h, classnames as i, _objectSpread2 as j, _slicedToArray as k, styleInject as s, unwrapExports as u };
252
+//# sourceMappingURL=style-inject.es-7ed2769c.js.map

lib/style-inject.es-c7b50579.js.map → eslib/style-inject.es-7ed2769c.js.map View File

1
-{"version":3,"file":"style-inject.es-0fe0d479.js","sources":["../node_modules/classnames/index.js","../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["/*!\n  Copyright (c) 2017 Jed Watson.\n  Licensed under the MIT License (MIT), see\n  http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","function styleInject(css, ref) {\n  if ( ref === void 0 ) ref = {};\n  var insertAt = ref.insertAt;\n\n  if (!css || typeof document === 'undefined') { return; }\n\n  var head = document.head || document.getElementsByTagName('head')[0];\n  var style = document.createElement('style');\n  style.type = 'text/css';\n\n  if (insertAt === 'top') {\n    if (head.firstChild) {\n      head.insertBefore(style, head.firstChild);\n    } else {\n      head.appendChild(style);\n    }\n  } else {\n    head.appendChild(style);\n  }\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = css;\n  } else {\n    style.appendChild(document.createTextNode(css));\n  }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,CAAC,YAAY;;CAGZ,IAAI,MAAM,GAAG,EAAE,CAAC,cAAc,CAAC;;CAE/B,SAAS,UAAU,IAAI;EACtB,IAAI,OAAO,GAAG,EAAE,CAAC;;EAEjB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;GAC1C,IAAI,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;GACvB,IAAI,CAAC,GAAG,EAAE,SAAS;;GAEnB,IAAI,OAAO,GAAG,OAAO,GAAG,CAAC;;GAEzB,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,QAAQ,EAAE;IACjD,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAClB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,MAAM,EAAE;IAC5C,IAAI,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACxC,IAAI,KAAK,EAAE;KACV,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACpB;IACD,MAAM,IAAI,OAAO,K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;GACzB;;EAED,IAAI,KAAK,CAAC,UAAU,EAAE;IACpB,KAAK,CAAC,UAAU,CAAC,OAAO,GAAG,GAAG,CAAC;GAChC,MAAM;IACL,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;GACjD;CACF;;;;;;;;;;;;;;;;"}
1
+{"version":3,"file":"style-inject.es-7ed2769c.js","sources":["../node_modules/classnames/index.js","../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["/*!\n  Copyright (c) 2017 Jed Watson.\n  Licensed under the MIT License (MIT), see\n  http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","function styleInject(css, ref) {\n  if ( ref === void 0 ) ref = {};\n  var insertAt = ref.insertAt;\n\n  if (!css || typeof document === 'undefined') { return; }\n\n  var head = document.head || document.getElementsByTagName('head')[0];\n  var style = document.createElement('style');\n  style.type = 'text/css';\n\n  if (insertAt === 'top') {\n    if (head.firstChild) {\n      head.insertBefore(style, head.firstChild);\n    } else {\n      head.appendChild(style);\n    }\n  } else {\n    head.appendChild(style);\n  }\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = css;\n  } else {\n    style.appendChild(document.createTextNode(css));\n  }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,CAAC,YAAY;;CAGZ,IAAI,MAAM,GAAG,EAAE,CAAC,cAAc,CAAC;;CAE/B,SAAS,UAAU,IAAI;EACtB,IAAI,OAAO,GAAG,EAAE,CAAC;;EAEjB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;GAC1C,IAAI,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;GACvB,IAAI,CAAC,GAAG,EAAE,SAAS;;GAEnB,IAAI,OAAO,GAAG,OAAO,GAAG,CAAC;;GAEzB,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,QAAQ,EAAE;IACjD,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAClB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,MAAM,EAAE;IAC5C,IAAI,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACxC,IAAI,KAAK,EAA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AAK,CAAC,CAAC;KACzB;GACF,MAAM;IACL,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;GACzB;;EAED,IAAI,KAAK,CAAC,UAAU,EAAE;IACpB,KAAK,CAAC,UAAU,CAAC,OAAO,GAAG,GAAG,CAAC;GAChC,MAAM;IACL,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;GACjD;CACF;;;;"}

lib/esModule/test-7ad1ce03.js → eslib/test-4091af6f.js View File

1
-import { s as styleInject } from './style-inject.es-0fe0d479.js';
1
+import { s as styleInject } from './style-inject.es-7ed2769c.js';
2
 import 'react';
2
 import 'react';
3
 
3
 
4
 var css = ".test_red__36-3- {\n  color: red;\n}\n";
4
 var css = ".test_red__36-3- {\n  color: red;\n}\n";
70
 var Test = "TestComponent";
70
 var Test = "TestComponent";
71
 
71
 
72
 export { Test as T };
72
 export { Test as T };
73
-//# sourceMappingURL=test-7ad1ce03.js.map
73
+//# sourceMappingURL=test-4091af6f.js.map

+ 1
- 0
eslib/test-4091af6f.js.map
File diff suppressed because it is too large
View File


+ 2
- 2
lib/Common/index.js View File

2
 
2
 
3
 Object.defineProperty(exports, '__esModule', { value: true });
3
 Object.defineProperty(exports, '__esModule', { value: true });
4
 
4
 
5
-require('../style-inject.es-c7b50579.js');
5
+require('../style-inject.es-3827494b.js');
6
 require('react');
6
 require('react');
7
-var test = require('../test-b52888d6.js');
7
+var test = require('../test-b93e5209.js');
8
 
8
 
9
 
9
 
10
 
10
 

+ 2
- 2
lib/Payment/index.js View File

2
 
2
 
3
 Object.defineProperty(exports, '__esModule', { value: true });
3
 Object.defineProperty(exports, '__esModule', { value: true });
4
 
4
 
5
-require('../style-inject.es-c7b50579.js');
5
+require('../style-inject.es-3827494b.js');
6
 require('react');
6
 require('react');
7
-var index = require('../index-038f2eaf.js');
7
+var index = require('../index-e808551e.js');
8
 require('antd/es/input/style');
8
 require('antd/es/input/style');
9
 require('antd/es/input');
9
 require('antd/es/input');
10
 require('antd/es/button/style');
10
 require('antd/es/button/style');

+ 0
- 4
lib/esModule/Common/index.js View File

1
-import '../style-inject.es-0fe0d479.js';
2
-import 'react';
3
-export { T as Test } from '../test-7ad1ce03.js';
4
-//# sourceMappingURL=index.js.map

+ 0
- 5764
lib/esModule/index-6812601d.js
File diff suppressed because it is too large
View File


+ 0
- 1
lib/esModule/index-6812601d.js.map
File diff suppressed because it is too large
View File


+ 0
- 1
lib/esModule/index.js.map
File diff suppressed because it is too large
View File


+ 0
- 1
lib/esModule/style-inject.es-0fe0d479.js.map View File

1
-{"version":3,"file":"style-inject.es-0fe0d479.js","sources":["../../node_modules/classnames/index.js","../../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["/*!\n  Copyright (c) 2017 Jed Watson.\n  Licensed under the MIT License (MIT), see\n  http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","function styleInject(css, ref) {\n  if ( ref === void 0 ) ref = {};\n  var insertAt = ref.insertAt;\n\n  if (!css || typeof document === 'undefined') { return; }\n\n  var head = document.head || document.getElementsByTagName('head')[0];\n  var style = document.createElement('style');\n  style.type = 'text/css';\n\n  if (insertAt === 'top') {\n    if (head.firstChild) {\n      head.insertBefore(style, head.firstChild);\n    } else {\n      head.appendChild(style);\n    }\n  } else {\n    head.appendChild(style);\n  }\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = css;\n  } else {\n    style.appendChild(document.createTextNode(css));\n  }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,CAAC,YAAY;;CAGZ,IAAI,MAAM,GAAG,EAAE,CAAC,cAAc,CAAC;;CAE/B,SAAS,UAAU,IAAI;EACtB,IAAI,OAAO,GAAG,EAAE,CAAC;;EAEjB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;GAC1C,IAAI,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;GACvB,IAAI,CAAC,GAAG,EAAE,SAAS;;GAEnB,IAAI,OAAO,GAAG,OAAO,GAAG,CAAC;;GAEzB,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,QAAQ,EAAE;IACjD,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAClB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,MAA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IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;KAC3C,MAAM;MACL,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;KACzB;GACF,MAAM;IACL,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;GACzB;;EAED,IAAI,KAAK,CAAC,UAAU,EAAE;IACpB,KAAK,CAAC,UAAU,CAAC,OAAO,GAAG,GAAG,CAAC;GAChC,MAAM;IACL,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;GACjD;CACF;;;;"}

+ 0
- 1
lib/esModule/test-7ad1ce03.js.map
File diff suppressed because it is too large
View File


+ 0
- 5772
lib/index-038f2eaf.js
File diff suppressed because it is too large
View File


+ 0
- 1
lib/index-038f2eaf.js.map
File diff suppressed because it is too large
View File


+ 509
- 0
lib/index-e808551e.js
File diff suppressed because it is too large
View File


+ 1
- 0
lib/index-e808551e.js.map
File diff suppressed because it is too large
View File


+ 3
- 3
lib/index.js View File

2
 
2
 
3
 Object.defineProperty(exports, '__esModule', { value: true });
3
 Object.defineProperty(exports, '__esModule', { value: true });
4
 
4
 
5
-var styleInject_es = require('./style-inject.es-c7b50579.js');
5
+var styleInject_es = require('./style-inject.es-3827494b.js');
6
 require('react');
6
 require('react');
7
-require('./test-b52888d6.js');
8
-var index = require('./index-038f2eaf.js');
7
+require('./test-b93e5209.js');
8
+var index = require('./index-e808551e.js');
9
 require('antd/es/input/style');
9
 require('antd/es/input/style');
10
 require('antd/es/input');
10
 require('antd/es/input');
11
 require('antd/es/button/style');
11
 require('antd/es/button/style');

lib/style-inject.es-c7b50579.js → lib/style-inject.es-3827494b.js View File

51
   return obj;
51
   return obj;
52
 }
52
 }
53
 
53
 
54
+function ownKeys(object, enumerableOnly) {
55
+  var keys = Object.keys(object);
56
+
57
+  if (Object.getOwnPropertySymbols) {
58
+    var symbols = Object.getOwnPropertySymbols(object);
59
+    if (enumerableOnly) symbols = symbols.filter(function (sym) {
60
+      return Object.getOwnPropertyDescriptor(object, sym).enumerable;
61
+    });
62
+    keys.push.apply(keys, symbols);
63
+  }
64
+
65
+  return keys;
66
+}
67
+
68
+function _objectSpread2(target) {
69
+  for (var i = 1; i < arguments.length; i++) {
70
+    var source = arguments[i] != null ? arguments[i] : {};
71
+
72
+    if (i % 2) {
73
+      ownKeys(Object(source), true).forEach(function (key) {
74
+        _defineProperty(target, key, source[key]);
75
+      });
76
+    } else if (Object.getOwnPropertyDescriptors) {
77
+      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
78
+    } else {
79
+      ownKeys(Object(source)).forEach(function (key) {
80
+        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
81
+      });
82
+    }
83
+  }
84
+
85
+  return target;
86
+}
87
+
54
 function _inherits(subClass, superClass) {
88
 function _inherits(subClass, superClass) {
55
   if (typeof superClass !== "function" && superClass !== null) {
89
   if (typeof superClass !== "function" && superClass !== null) {
56
     throw new TypeError("Super expression must either be null or a function");
90
     throw new TypeError("Super expression must either be null or a function");
221
 exports._defineProperty = _defineProperty;
255
 exports._defineProperty = _defineProperty;
222
 exports._getPrototypeOf = _getPrototypeOf;
256
 exports._getPrototypeOf = _getPrototypeOf;
223
 exports._inherits = _inherits;
257
 exports._inherits = _inherits;
258
+exports._objectSpread2 = _objectSpread2;
224
 exports._possibleConstructorReturn = _possibleConstructorReturn;
259
 exports._possibleConstructorReturn = _possibleConstructorReturn;
225
 exports._slicedToArray = _slicedToArray;
260
 exports._slicedToArray = _slicedToArray;
226
 exports.classnames = classnames;
261
 exports.classnames = classnames;
229
 exports.getCjsExportFromNamespace = getCjsExportFromNamespace;
264
 exports.getCjsExportFromNamespace = getCjsExportFromNamespace;
230
 exports.styleInject = styleInject;
265
 exports.styleInject = styleInject;
231
 exports.unwrapExports = unwrapExports;
266
 exports.unwrapExports = unwrapExports;
232
-//# sourceMappingURL=style-inject.es-c7b50579.js.map
267
+//# sourceMappingURL=style-inject.es-3827494b.js.map

+ 1
- 0
lib/style-inject.es-3827494b.js.map View File

1
+{"version":3,"file":"style-inject.es-7ed2769c.js","sources":["../node_modules/classnames/index.js","../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["/*!\n  Copyright (c) 2017 Jed Watson.\n  Licensed under the MIT License (MIT), see\n  http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","function styleInject(css, ref) {\n  if ( ref === void 0 ) ref = {};\n  var insertAt = ref.insertAt;\n\n  if (!css || typeof document === 'undefined') { return; }\n\n  var head = document.head || document.getElementsByTagName('head')[0];\n  var style = document.createElement('style');\n  style.type = 'text/css';\n\n  if (insertAt === 'top') {\n    if (head.firstChild) {\n      head.insertBefore(style, head.firstChild);\n    } else {\n      head.appendChild(style);\n    }\n  } else {\n    head.appendChild(style);\n  }\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = css;\n  } else {\n    style.appendChild(document.createTextNode(css));\n  }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,CAAC,YAAY;;CAGZ,IAAI,MAAM,GAAG,EAAE,CAAC,cAAc,CAAC;;CAE/B,SAAS,UAAU,IAAI;EACtB,IAAI,OAAO,GAAG,EAAE,CAAC;;EAEjB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;GAC1C,IAAI,GAAG,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;GACvB,IAAI,CAAC,GAAG,EAAE,SAAS;;GAEnB,IAAI,OAAO,GAAG,OAAO,GAAG,CAAC;;GAEzB,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,QAAQ,EAAE;IACjD,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAClB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,MAAM,EAAE;IAC5C,IAAI,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IACxC,IAAI,KAAK,EAAE;KACV,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACpB;IACD,MAAM,IAAI,OAAO,KAAK,QAAQ,EAAE;IAChC,KAAK,IAAI,GAAG,IAAI,GAAG,EAAE;KACpB,IAAI,M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OAAO,GAAG,GAAG,CAAC;GAChC,MAAM;IACL,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;GACjD;CACF;;;;;;;;;;;;;;;;;"}

lib/test-b52888d6.js → lib/test-b93e5209.js View File

1
 'use strict';
1
 'use strict';
2
 
2
 
3
-var styleInject_es = require('./style-inject.es-c7b50579.js');
3
+var styleInject_es = require('./style-inject.es-3827494b.js');
4
 require('react');
4
 require('react');
5
 
5
 
6
 var css = ".test_red__36-3- {\n  color: red;\n}\n";
6
 var css = ".test_red__36-3- {\n  color: red;\n}\n";
72
 var Test = "TestComponent";
72
 var Test = "TestComponent";
73
 
73
 
74
 exports.Test = Test;
74
 exports.Test = Test;
75
-//# sourceMappingURL=test-b52888d6.js.map
75
+//# sourceMappingURL=test-b93e5209.js.map

lib/test-b93e5209.js.map
File diff suppressed because it is too large
View File


+ 7
- 7
package.json View File

17
     "kiwi-intl": "^1.2.4",
17
     "kiwi-intl": "^1.2.4",
18
     "react-intl": "^3.9.2",
18
     "react-intl": "^3.9.2",
19
     "react-scripts": "3.3.0",
19
     "react-scripts": "3.3.0",
20
+    "rollup-plugin-visualizer": "^3.3.1",
20
     "typescript": "~3.7.2"
21
     "typescript": "~3.7.2"
21
   },
22
   },
22
   "scripts": {
23
   "scripts": {
24
     "build": "react-app-rewired build",
25
     "build": "react-app-rewired build",
25
     "test": "react-app-rewired test",
26
     "test": "react-app-rewired test",
26
     "eject": "react-app-rewired eject",
27
     "eject": "react-app-rewired eject",
27
-    "build:lib": "rimraf lib && babel src/components --out-dir lib  --source-maps  --copy-files --extensions \".ts,.tsx\"",
28
-    "build:css:": "",
29
-    "build:rollup": "rimraf lib && rollup -c ./rollup.config.js",
28
+    "build:lib": "rimraf lib && rimraf eslib && rollup -c ./rollup.config.js",
30
     "storybook": "start-storybook -p 9009 -s public",
29
     "storybook": "start-storybook -p 9009 -s public",
31
     "build-storybook": "build-storybook -s public"
30
     "build-storybook": "build-storybook -s public"
32
   },
31
   },
76
     "babel-loader": "^8.0.6",
75
     "babel-loader": "^8.0.6",
77
     "babel-plugin-import": "^1.13.0",
76
     "babel-plugin-import": "^1.13.0",
78
     "cross-env": "^6.0.3",
77
     "cross-env": "^6.0.3",
79
-    "less": "^3.10.3",
80
-    "less-loader": "^5.0.0",
81
     "css-loader": "^3.2.1",
78
     "css-loader": "^3.2.1",
82
     "file-loader": "^5.0.2",
79
     "file-loader": "^5.0.2",
83
-    "postcss-loader": "^3.0.0",
84
-    "style-loader": "^1.0.1",
80
+    "less": "^3.10.3",
81
+    "less-loader": "^5.0.0",
85
     "node-eval": "^2.0.0",
82
     "node-eval": "^2.0.0",
83
+    "postcss-loader": "^3.0.0",
86
     "postcss-url": "^8.0.0",
84
     "postcss-url": "^8.0.0",
87
     "react-app-rewired": "^2.1.5",
85
     "react-app-rewired": "^2.1.5",
88
     "react-docgen-typescript-loader": "^3.6.0",
86
     "react-docgen-typescript-loader": "^3.6.0",
89
     "rimraf": "^3.0.0",
87
     "rimraf": "^3.0.0",
90
     "rollup": "^1.27.13",
88
     "rollup": "^1.27.13",
91
     "rollup-plugin-alias": "^2.2.0",
89
     "rollup-plugin-alias": "^2.2.0",
90
+    "rollup-plugin-analyzer": "^3.2.2",
92
     "rollup-plugin-babel": "^4.3.3",
91
     "rollup-plugin-babel": "^4.3.3",
93
     "rollup-plugin-eslint": "^7.0.0",
92
     "rollup-plugin-eslint": "^7.0.0",
94
     "rollup-plugin-json": "^4.0.0",
93
     "rollup-plugin-json": "^4.0.0",
98
     "rollup-plugin-postcss-modules": "^2.0.1",
97
     "rollup-plugin-postcss-modules": "^2.0.1",
99
     "rollup-plugin-replace": "^2.2.0",
98
     "rollup-plugin-replace": "^2.2.0",
100
     "storybook-readme": "^5.0.8",
99
     "storybook-readme": "^5.0.8",
100
+    "style-loader": "^1.0.1",
101
     "ts-loader": "^6.2.1"
101
     "ts-loader": "^6.2.1"
102
   },
102
   },
103
   "peerDependencies": {
103
   "peerDependencies": {

+ 10
- 1
rollup.config.js View File

8
 import autoprefixer from 'autoprefixer';
8
 import autoprefixer from 'autoprefixer';
9
 import postcssUrl from 'postcss-url';
9
 import postcssUrl from 'postcss-url';
10
 import peerDepsExternal from 'rollup-plugin-peer-deps-external';
10
 import peerDepsExternal from 'rollup-plugin-peer-deps-external';
11
+import visualizer from 'rollup-plugin-visualizer';
12
+import analyze from 'rollup-plugin-analyzer';
13
+ 
14
+
11
 // import url from '@rollup/plugin-url';
15
 // import url from '@rollup/plugin-url';
12
 // import less from "rollup-plugin-less";
16
 // import less from "rollup-plugin-less";
13
 import nodeEval from 'node-eval';
17
 import nodeEval from 'node-eval';
58
       format: "cjs"
62
       format: "cjs"
59
     },
63
     },
60
     {
64
     {
61
-      dir: "lib/ESModule",
65
+      dir: "eslib",
62
       sourcemap: true,
66
       sourcemap: true,
63
       entryFileNames: '[name]/index.js',
67
       entryFileNames: '[name]/index.js',
64
       exports: 'named',
68
       exports: 'named',
106
         { find: '@components', replacement: 'src/components' },
110
         { find: '@components', replacement: 'src/components' },
107
       ]
111
       ]
108
     }),
112
     }),
113
+    visualizer({
114
+      sourcemap: true,
115
+      open: true,
116
+    }),
117
+    analyze(),
109
   ],
118
   ],
110
   onwarn: function(warning) {
119
   onwarn: function(warning) {
111
     // Skip certain warnings
120
     // Skip certain warnings

+ 12
- 1
src/components/Payment/Common/PayPlatformOptions/PayPlatformOptions.less View File

56
         }
56
         }
57
       }
57
       }
58
 
58
 
59
+      &.normal {
60
+        width: 132px;
61
+      }
62
+
63
+      &.large {
64
+        width: 162px;
65
+      }
66
+
59
       &.active {
67
       &.active {
60
           border-radius: 5px;
68
           border-radius: 5px;
61
           border-color:#1790FF;
69
           border-color:#1790FF;
70
   &.mobile {
78
   &.mobile {
71
       padding: 8px 10px 10px 8px;
79
       padding: 8px 10px 10px 8px;
72
       .payitem {
80
       .payitem {
73
-          display: inline-block;
81
+          display: inline-flex;
82
+          flex-direction: column;
83
+          justify-content: space-around;
74
           width: 78px;
84
           width: 78px;
75
           height: 80px;
85
           height: 80px;
86
+          line-height: initial;
76
           border: 1px solid transparent;
87
           border: 1px solid transparent;
77
 
88
 
78
           &.active {
89
           &.active {

+ 14
- 11
src/components/Payment/Common/PayPlatformOptions/index.tsx View File

1
 import React, { PureComponent } from "react";
1
 import React, { PureComponent } from "react";
2
 import classnames from "classnames";
2
 import classnames from "classnames";
3
-import { FormattedMessage } from "react-intl";
4
 
3
 
5
 import iconAlipay from "../assets/kcxq_popovers_icon_alipay@2x.png";
4
 import iconAlipay from "../assets/kcxq_popovers_icon_alipay@2x.png";
6
 import iconWechatpay from "../assets/kcxq_popovers_icon_wechatpay@2x.png";
5
 import iconWechatpay from "../assets/kcxq_popovers_icon_wechatpay@2x.png";
10
 import mobileIconPaypal from "../assets/payment_btn_pay_paypal@2x.png";
9
 import mobileIconPaypal from "../assets/payment_btn_pay_paypal@2x.png";
11
 
10
 
12
 import styles from "./PayPlatformOptions.less";
11
 import styles from "./PayPlatformOptions.less";
12
+import { exportStyleSizeClass } from "../../Utils/utils";
13
 
13
 
14
 type PAY_CHANNEL_VALUE =
14
 type PAY_CHANNEL_VALUE =
15
   | "PAYPAL_PAYPAL"
15
   | "PAYPAL_PAYPAL"
31
   isMobile: boolean;
31
   isMobile: boolean;
32
   size: "small" | "normal" | "large";
32
   size: "small" | "normal" | "large";
33
   withTitle: boolean;
33
   withTitle: boolean;
34
+  titleTxt: string;
34
   locale: "zh" | "en";
35
   locale: "zh" | "en";
35
 };
36
 };
36
 
37
 
50
       isMobile = false,
51
       isMobile = false,
51
       size = "normal",
52
       size = "normal",
52
       withTitle = true,
53
       withTitle = true,
54
+      titleTxt,
53
       locale = "zh"
55
       locale = "zh"
54
     } = this.props;
56
     } = this.props;
55
 
57
 
56
     let titleDOM = null;
58
     let titleDOM = null;
57
     if (withTitle) {
59
     if (withTitle) {
60
+      const titleResult = titleTxt || locale === 'zh' ? '支付方式' : 'Payment';
58
       titleDOM = (
61
       titleDOM = (
59
         <div className={styles.label}>
62
         <div className={styles.label}>
60
-          <FormattedMessage id="pay.channel.select.text" />
63
+          {titleResult}
61
         </div>
64
         </div>
62
       );
65
       );
63
     }
66
     }
78
                     {
81
                     {
79
                       [styles.payitem]: true,
82
                       [styles.payitem]: true,
80
                       [styles.active]: payitem === PAY_CHANNEL.ALI_WEB,
83
                       [styles.active]: payitem === PAY_CHANNEL.ALI_WEB,
81
-                      [styles.small]: size === "small"
84
+                      ...exportStyleSizeClass(styles, size),
82
                     },
85
                     },
83
                     styles[locale]
86
                     styles[locale]
84
                   )}
87
                   )}
92
                     className={styles["payment-method"]}
95
                     className={styles["payment-method"]}
93
                   />
96
                   />
94
                   <div className={styles.platformName}>
97
                   <div className={styles.platformName}>
95
-                    <FormattedMessage id="pay.channel.ali" />
98
+                    支付宝
96
                   </div>
99
                   </div>
97
                 </div>
100
                 </div>
98
               </div>
101
               </div>
102
                     {
105
                     {
103
                       [styles.payitem]: true,
106
                       [styles.payitem]: true,
104
                       [styles.active]: payitem === PAY_CHANNEL.WX_NATIVE,
107
                       [styles.active]: payitem === PAY_CHANNEL.WX_NATIVE,
105
-                      [styles.small]: size === "small"
108
+                      ...exportStyleSizeClass(styles, size),
106
                     },
109
                     },
107
                     styles[locale]
110
                     styles[locale]
108
                   )}
111
                   )}
116
                     className={styles["payment-method"]}
119
                     className={styles["payment-method"]}
117
                   />
120
                   />
118
                   <div className={styles.platformName}>
121
                   <div className={styles.platformName}>
119
-                    <FormattedMessage id="pay.channel.wechat" />
122
+                    微信
120
                   </div>
123
                   </div>
121
                 </div>
124
                 </div>
122
               </div>
125
               </div>
126
                     {
129
                     {
127
                       [styles.payitem]: true,
130
                       [styles.payitem]: true,
128
                       [styles.active]: payitem === PAY_CHANNEL.PAYPAL,
131
                       [styles.active]: payitem === PAY_CHANNEL.PAYPAL,
129
-                      [styles.small]: size === "small"
132
+                      ...exportStyleSizeClass(styles, size),
130
                     },
133
                     },
131
                     styles[locale]
134
                     styles[locale]
132
                   )}
135
                   )}
140
                     className={styles["payment-method"]}
143
                     className={styles["payment-method"]}
141
                   />
144
                   />
142
                   <div className={styles.platformName}>
145
                   <div className={styles.platformName}>
143
-                    <FormattedMessage id="pay.channel.paypal" />
146
+                    Paypal
144
                   </div>
147
                   </div>
145
                 </div>
148
                 </div>
146
               </div>
149
               </div>
161
                   {
164
                   {
162
                     [styles.payitem]: true,
165
                     [styles.payitem]: true,
163
                     [styles.active]: payitem === PAY_CHANNEL.ALI_WEB,
166
                     [styles.active]: payitem === PAY_CHANNEL.ALI_WEB,
164
-                    [styles.small]: size === "small"
167
+                    ...exportStyleSizeClass(styles, size),
165
                   },
168
                   },
166
                   styles[locale]
169
                   styles[locale]
167
                 )}
170
                 )}
183
                   {
186
                   {
184
                     [styles.payitem]: true,
187
                     [styles.payitem]: true,
185
                     [styles.active]: payitem === PAY_CHANNEL.WX_NATIVE,
188
                     [styles.active]: payitem === PAY_CHANNEL.WX_NATIVE,
186
-                    [styles.small]: size === "small"
189
+                    ...exportStyleSizeClass(styles, size),
187
                   },
190
                   },
188
                   styles[locale]
191
                   styles[locale]
189
                 )}
192
                 )}
205
                   {
208
                   {
206
                     [styles.payitem]: true,
209
                     [styles.payitem]: true,
207
                     [styles.active]: payitem === PAY_CHANNEL.PAYPAL,
210
                     [styles.active]: payitem === PAY_CHANNEL.PAYPAL,
208
-                    [styles.small]: size === "small"
211
+                    ...exportStyleSizeClass(styles, size),
209
                   },
212
                   },
210
                   styles[locale]
213
                   styles[locale]
211
                 )}
214
                 )}

+ 1
- 3
src/components/Payment/Common/PriceOptions/index.tsx View File

30
 
30
 
31
   return (
31
   return (
32
     <div
32
     <div
33
-      className={classnames(styles.options, {
34
-        [styles[size]]: true
35
-      })}
33
+      className={classnames(styles.options)}
36
     >
34
     >
37
       {withTitle ? (
35
       {withTitle ? (
38
         <p>
36
         <p>

+ 8
- 0
src/components/Payment/Utils/utils.ts View File

33
     return input;
33
     return input;
34
   }
34
   }
35
   return (+input).toFixed(fuzz);
35
   return (+input).toFixed(fuzz);
36
+}
37
+
38
+type classSize = 'small'|'normal'|'large';
39
+
40
+export function exportStyleSizeClass(styles: any, size: classSize) {
41
+  return {
42
+    [styles[size]]: true,
43
+  }
36
 }
44
 }

+ 3360
- 0
stats.html
File diff suppressed because it is too large
View File


+ 106
- 4
yarn.lock View File

2096
   resolved "https://registry.npm.taobao.org/@types/classnames/download/@types/classnames-2.2.9.tgz#d868b6febb02666330410fe7f58f3c4b8258be7b"
2096
   resolved "https://registry.npm.taobao.org/@types/classnames/download/@types/classnames-2.2.9.tgz#d868b6febb02666330410fe7f58f3c4b8258be7b"
2097
   integrity sha1-2Gi2/rsCZmMwQQ/n9Y88S4JYvns=
2097
   integrity sha1-2Gi2/rsCZmMwQQ/n9Y88S4JYvns=
2098
 
2098
 
2099
+"@types/color-name@^1.1.1":
2100
+  version "1.1.1"
2101
+  resolved "https://registry.npm.taobao.org/@types/color-name/download/@types/color-name-1.1.1.tgz?cache=0&sync_timestamp=1572460951965&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fcolor-name%2Fdownload%2F%40types%2Fcolor-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
2102
+  integrity sha1-HBJhu+qhCoBVu8XYq4S3sq/IRqA=
2103
+
2099
 "@types/eslint-visitor-keys@^1.0.0":
2104
 "@types/eslint-visitor-keys@^1.0.0":
2100
   version "1.0.0"
2105
   version "1.0.0"
2101
   resolved "https://registry.npm.taobao.org/@types/eslint-visitor-keys/download/@types/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d"
2106
   resolved "https://registry.npm.taobao.org/@types/eslint-visitor-keys/download/@types/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d"
2732
   dependencies:
2737
   dependencies:
2733
     color-convert "^1.9.0"
2738
     color-convert "^1.9.0"
2734
 
2739
 
2740
+ansi-styles@^4.0.0:
2741
+  version "4.2.0"
2742
+  resolved "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-4.2.0.tgz?cache=0&sync_timestamp=1573557628456&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-styles%2Fdownload%2Fansi-styles-4.2.0.tgz#5681f0dcf7ae5880a7841d8831c4724ed9cc0172"
2743
+  integrity sha1-VoHw3PeuWICnhB2IMcRyTtnMAXI=
2744
+  dependencies:
2745
+    "@types/color-name" "^1.1.1"
2746
+    color-convert "^2.0.1"
2747
+
2735
 ansi-to-html@^0.6.11:
2748
 ansi-to-html@^0.6.11:
2736
   version "0.6.13"
2749
   version "0.6.13"
2737
   resolved "https://registry.npm.taobao.org/ansi-to-html/download/ansi-to-html-0.6.13.tgz#c72eae8b63e5ca0643aab11bfc6e6f2217425833"
2750
   resolved "https://registry.npm.taobao.org/ansi-to-html/download/ansi-to-html-0.6.13.tgz#c72eae8b63e5ca0643aab11bfc6e6f2217425833"
4111
     strip-ansi "^5.2.0"
4124
     strip-ansi "^5.2.0"
4112
     wrap-ansi "^5.1.0"
4125
     wrap-ansi "^5.1.0"
4113
 
4126
 
4127
+cliui@^6.0.0:
4128
+  version "6.0.0"
4129
+  resolved "https://registry.npm.taobao.org/cliui/download/cliui-6.0.0.tgz?cache=0&sync_timestamp=1573943292170&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcliui%2Fdownload%2Fcliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1"
4130
+  integrity sha1-UR1wLAxOQcoVbX0OlgIfI+EyJbE=
4131
+  dependencies:
4132
+    string-width "^4.2.0"
4133
+    strip-ansi "^6.0.0"
4134
+    wrap-ansi "^6.2.0"
4135
+
4114
 clone-deep@^0.2.4:
4136
 clone-deep@^0.2.4:
4115
   version "0.2.4"
4137
   version "0.2.4"
4116
   resolved "https://registry.npm.taobao.org/clone-deep/download/clone-deep-0.2.4.tgz#4e73dd09e9fb971cc38670c5dced9c1896481cc6"
4138
   resolved "https://registry.npm.taobao.org/clone-deep/download/clone-deep-0.2.4.tgz#4e73dd09e9fb971cc38670c5dced9c1896481cc6"
4170
   dependencies:
4192
   dependencies:
4171
     color-name "1.1.3"
4193
     color-name "1.1.3"
4172
 
4194
 
4195
+color-convert@^2.0.1:
4196
+  version "2.0.1"
4197
+  resolved "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz?cache=0&sync_timestamp=1566248870121&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcolor-convert%2Fdownload%2Fcolor-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
4198
+  integrity sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=
4199
+  dependencies:
4200
+    color-name "~1.1.4"
4201
+
4173
 color-name@1.1.3:
4202
 color-name@1.1.3:
4174
   version "1.1.3"
4203
   version "1.1.3"
4175
   resolved "https://registry.npm.taobao.org/color-name/download/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
4204
   resolved "https://registry.npm.taobao.org/color-name/download/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
4176
   integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
4205
   integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
4177
 
4206
 
4178
-color-name@^1.0.0:
4207
+color-name@^1.0.0, color-name@~1.1.4:
4179
   version "1.1.4"
4208
   version "1.1.4"
4180
   resolved "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
4209
   resolved "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
4181
   integrity sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=
4210
   integrity sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=
5510
     recast "~0.11.12"
5539
     recast "~0.11.12"
5511
     through "~2.3.6"
5540
     through "~2.3.6"
5512
 
5541
 
5542
+escape-goat@^2.0.0:
5543
+  version "2.1.1"
5544
+  resolved "https://registry.npm.taobao.org/escape-goat/download/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675"
5545
+  integrity sha1-Gy3HcANnbEV+x2Cy3GjttkgYhnU=
5546
+
5513
 escape-html@^1.0.3, escape-html@~1.0.3:
5547
 escape-html@^1.0.3, escape-html@~1.0.3:
5514
   version "1.0.3"
5548
   version "1.0.3"
5515
   resolved "https://registry.npm.taobao.org/escape-html/download/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
5549
   resolved "https://registry.npm.taobao.org/escape-html/download/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
6183
   dependencies:
6217
   dependencies:
6184
     locate-path "^2.0.0"
6218
     locate-path "^2.0.0"
6185
 
6219
 
6186
-find-up@^4.0.0:
6220
+find-up@^4.0.0, find-up@^4.1.0:
6187
   version "4.1.0"
6221
   version "4.1.0"
6188
   resolved "https://registry.npm.taobao.org/find-up/download/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
6222
   resolved "https://registry.npm.taobao.org/find-up/download/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
6189
   integrity sha1-l6/n1s3AvFkoWEt8jXsW6KmqXRk=
6223
   integrity sha1-l6/n1s3AvFkoWEt8jXsW6KmqXRk=
9178
   resolved "https://registry.npm.taobao.org/nan/download/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
9212
   resolved "https://registry.npm.taobao.org/nan/download/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
9179
   integrity sha1-eBj3IgJ7JFmobwKV1DTR/CM2xSw=
9213
   integrity sha1-eBj3IgJ7JFmobwKV1DTR/CM2xSw=
9180
 
9214
 
9215
+nanoid@^2.1.6:
9216
+  version "2.1.8"
9217
+  resolved "https://registry.npm.taobao.org/nanoid/download/nanoid-2.1.8.tgz?cache=0&sync_timestamp=1576377903565&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnanoid%2Fdownload%2Fnanoid-2.1.8.tgz#2dbb0224231b246e3b4c819de7bfea6384dabf08"
9218
+  integrity sha1-LbsCJCMbJG47TIGd57/qY4Tavwg=
9219
+
9181
 nanomatch@^1.2.9:
9220
 nanomatch@^1.2.9:
9182
   version "1.2.13"
9221
   version "1.2.13"
9183
   resolved "https://registry.npm.taobao.org/nanomatch/download/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
9222
   resolved "https://registry.npm.taobao.org/nanomatch/download/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
9565
   dependencies:
9604
   dependencies:
9566
     mimic-fn "^2.1.0"
9605
     mimic-fn "^2.1.0"
9567
 
9606
 
9568
-open@^6.1.0, open@^6.3.0:
9607
+open@^6.0.0, open@^6.1.0, open@^6.3.0:
9569
   version "6.4.0"
9608
   version "6.4.0"
9570
   resolved "https://registry.npm.taobao.org/open/download/open-6.4.0.tgz#5c13e96d0dc894686164f18965ecfe889ecfc8a9"
9609
   resolved "https://registry.npm.taobao.org/open/download/open-6.4.0.tgz#5c13e96d0dc894686164f18965ecfe889ecfc8a9"
9571
   integrity sha1-XBPpbQ3IlGhhZPGJZez+iJ7PyKk=
9610
   integrity sha1-XBPpbQ3IlGhhZPGJZez+iJ7PyKk=
10995
   resolved "https://registry.npm.taobao.org/punycode/download/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
11034
   resolved "https://registry.npm.taobao.org/punycode/download/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
10996
   integrity sha1-tYsBCsQMIsVldhbI0sLALHv0eew=
11035
   integrity sha1-tYsBCsQMIsVldhbI0sLALHv0eew=
10997
 
11036
 
11037
+pupa@^2.0.0:
11038
+  version "2.0.1"
11039
+  resolved "https://registry.npm.taobao.org/pupa/download/pupa-2.0.1.tgz#dbdc9ff48ffbea4a26a069b6f9f7abb051008726"
11040
+  integrity sha1-29yf9I/76komoGm2+fersFEAhyY=
11041
+  dependencies:
11042
+    escape-goat "^2.0.0"
11043
+
10998
 q@^1.1.2:
11044
 q@^1.1.2:
10999
   version "1.5.1"
11045
   version "1.5.1"
11000
   resolved "https://registry.npm.taobao.org/q/download/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
11046
   resolved "https://registry.npm.taobao.org/q/download/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
12444
   dependencies:
12490
   dependencies:
12445
     slash "^3.0.0"
12491
     slash "^3.0.0"
12446
 
12492
 
12493
+rollup-plugin-analyzer@^3.2.2:
12494
+  version "3.2.2"
12495
+  resolved "https://registry.npm.taobao.org/rollup-plugin-analyzer/download/rollup-plugin-analyzer-3.2.2.tgz#1ea109d164ac8cdbfeaacf1cf271bb66ca643d94"
12496
+  integrity sha1-HqEJ0WSsjNv+qs8c8nG7ZspkPZQ=
12497
+
12447
 rollup-plugin-babel@^4.3.3:
12498
 rollup-plugin-babel@^4.3.3:
12448
   version "4.3.3"
12499
   version "4.3.3"
12449
   resolved "https://registry.npm.taobao.org/rollup-plugin-babel/download/rollup-plugin-babel-4.3.3.tgz#7eb5ac16d9b5831c3fd5d97e8df77ba25c72a2aa"
12500
   resolved "https://registry.npm.taobao.org/rollup-plugin-babel/download/rollup-plugin-babel-4.3.3.tgz#7eb5ac16d9b5831c3fd5d97e8df77ba25c72a2aa"
12535
     magic-string "^0.25.2"
12586
     magic-string "^0.25.2"
12536
     rollup-pluginutils "^2.6.0"
12587
     rollup-pluginutils "^2.6.0"
12537
 
12588
 
12589
+rollup-plugin-visualizer@^3.3.1:
12590
+  version "3.3.1"
12591
+  resolved "https://registry.npm.taobao.org/rollup-plugin-visualizer/download/rollup-plugin-visualizer-3.3.1.tgz#fac77899559098d28b1b02d90243e683847f6994"
12592
+  integrity sha1-+sd4mVWQmNKLGwLZAkPmg4R/aZQ=
12593
+  dependencies:
12594
+    mkdirp "^0.5.1"
12595
+    nanoid "^2.1.6"
12596
+    open "^6.0.0"
12597
+    pupa "^2.0.0"
12598
+    source-map "^0.7.3"
12599
+    yargs "^15.0.0"
12600
+
12538
 rollup-pluginutils@^1.5.1:
12601
 rollup-pluginutils@^1.5.1:
12539
   version "1.5.2"
12602
   version "1.5.2"
12540
   resolved "https://registry.npm.taobao.org/rollup-pluginutils/download/rollup-pluginutils-1.5.2.tgz#1e156e778f94b7255bfa1b3d0178be8f5c552408"
12603
   resolved "https://registry.npm.taobao.org/rollup-pluginutils/download/rollup-pluginutils-1.5.2.tgz#1e156e778f94b7255bfa1b3d0178be8f5c552408"
13064
   resolved "https://registry.npm.taobao.org/source-map/download/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
13127
   resolved "https://registry.npm.taobao.org/source-map/download/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
13065
   integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
13128
   integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
13066
 
13129
 
13130
+source-map@^0.7.3:
13131
+  version "0.7.3"
13132
+  resolved "https://registry.npm.taobao.org/source-map/download/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
13133
+  integrity sha1-UwL4FpAxc1ImVECS5kmB91F1A4M=
13134
+
13067
 sourcemap-codec@^1.4.4:
13135
 sourcemap-codec@^1.4.4:
13068
   version "1.4.6"
13136
   version "1.4.6"
13069
   resolved "https://registry.npm.taobao.org/sourcemap-codec/download/sourcemap-codec-1.4.6.tgz?cache=0&sync_timestamp=1562200915929&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsourcemap-codec%2Fdownload%2Fsourcemap-codec-1.4.6.tgz#e30a74f0402bad09807640d39e971090a08ce1e9"
13137
   resolved "https://registry.npm.taobao.org/sourcemap-codec/download/sourcemap-codec-1.4.6.tgz?cache=0&sync_timestamp=1562200915929&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsourcemap-codec%2Fdownload%2Fsourcemap-codec-1.4.6.tgz#e30a74f0402bad09807640d39e971090a08ce1e9"
13310
     is-fullwidth-code-point "^2.0.0"
13378
     is-fullwidth-code-point "^2.0.0"
13311
     strip-ansi "^5.1.0"
13379
     strip-ansi "^5.1.0"
13312
 
13380
 
13313
-string-width@^4.1.0:
13381
+string-width@^4.1.0, string-width@^4.2.0:
13314
   version "4.2.0"
13382
   version "4.2.0"
13315
   resolved "https://registry.npm.taobao.org/string-width/download/string-width-4.2.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring-width%2Fdownload%2Fstring-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5"
13383
   resolved "https://registry.npm.taobao.org/string-width/download/string-width-4.2.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring-width%2Fdownload%2Fstring-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5"
13316
   integrity sha1-lSGCxGzHssMT0VluYjmSvRY7crU=
13384
   integrity sha1-lSGCxGzHssMT0VluYjmSvRY7crU=
14602
     string-width "^3.0.0"
14670
     string-width "^3.0.0"
14603
     strip-ansi "^5.0.0"
14671
     strip-ansi "^5.0.0"
14604
 
14672
 
14673
+wrap-ansi@^6.2.0:
14674
+  version "6.2.0"
14675
+  resolved "https://registry.npm.taobao.org/wrap-ansi/download/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53"
14676
+  integrity sha1-6Tk7oHEC5skaOyIUePAlfNKFblM=
14677
+  dependencies:
14678
+    ansi-styles "^4.0.0"
14679
+    string-width "^4.1.0"
14680
+    strip-ansi "^6.0.0"
14681
+
14605
 wrappy@1:
14682
 wrappy@1:
14606
   version "1.0.2"
14683
   version "1.0.2"
14607
   resolved "https://registry.npm.taobao.org/wrappy/download/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
14684
   resolved "https://registry.npm.taobao.org/wrappy/download/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
14702
     camelcase "^5.0.0"
14779
     camelcase "^5.0.0"
14703
     decamelize "^1.2.0"
14780
     decamelize "^1.2.0"
14704
 
14781
 
14782
+yargs-parser@^16.1.0:
14783
+  version "16.1.0"
14784
+  resolved "https://registry.npm.taobao.org/yargs-parser/download/yargs-parser-16.1.0.tgz#73747d53ae187e7b8dbe333f95714c76ea00ecf1"
14785
+  integrity sha1-c3R9U64YfnuNvjM/lXFMduoA7PE=
14786
+  dependencies:
14787
+    camelcase "^5.0.0"
14788
+    decamelize "^1.2.0"
14789
+
14705
 yargs@12.0.5:
14790
 yargs@12.0.5:
14706
   version "12.0.5"
14791
   version "12.0.5"
14707
   resolved "https://registry.npm.taobao.org/yargs/download/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13"
14792
   resolved "https://registry.npm.taobao.org/yargs/download/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13"
14735
     which-module "^2.0.0"
14820
     which-module "^2.0.0"
14736
     y18n "^4.0.0"
14821
     y18n "^4.0.0"
14737
     yargs-parser "^13.1.1"
14822
     yargs-parser "^13.1.1"
14823
+
14824
+yargs@^15.0.0:
14825
+  version "15.0.2"
14826
+  resolved "https://registry.npm.taobao.org/yargs/download/yargs-15.0.2.tgz#4248bf218ef050385c4f7e14ebdf425653d13bd3"
14827
+  integrity sha1-Qki/IY7wUDhcT34U699CVlPRO9M=
14828
+  dependencies:
14829
+    cliui "^6.0.0"
14830
+    decamelize "^1.2.0"
14831
+    find-up "^4.1.0"
14832
+    get-caller-file "^2.0.1"
14833
+    require-directory "^2.1.1"
14834
+    require-main-filename "^2.0.0"
14835
+    set-blocking "^2.0.0"
14836
+    string-width "^4.2.0"
14837
+    which-module "^2.0.0"
14838
+    y18n "^4.0.0"
14839
+    yargs-parser "^16.1.0"