Bläddra i källkod

dev: temp init intl part

Roxas 4 år sedan
förälder
incheckning
756893b321

+ 7
- 0
.kiwi/config.json Visa fil

@@ -0,0 +1,7 @@
1
+{
2
+  "srcLang": "zh_CN",
3
+  "distLangs": [
4
+    "en_US"
5
+  ],
6
+  "googleApiKey": ""
7
+}

+ 7
- 0
.kiwi/en_US/index.ts Visa fil

@@ -0,0 +1,7 @@
1
+import priceOptions from './priceOptions';
2
+import payplatformoption from './payplatformoption';
3
+
4
+export default Object.assign({}, {
5
+  priceOptions,
6
+  payplatformoption,
7
+});

+ 3
- 0
.kiwi/en_US/payplatformoption.ts Visa fil

@@ -0,0 +1,3 @@
1
+export default {
2
+  "platform": "支付平台"
3
+}

+ 5
- 0
.kiwi/en_US/priceOptions.ts Visa fil

@@ -0,0 +1,5 @@
1
+export default {
2
+  "index": {
3
+    "others": "Others"
4
+  }
5
+}

+ 7
- 0
.kiwi/zh_CN/index.ts Visa fil

@@ -0,0 +1,7 @@
1
+import priceOptions from './priceOptions';
2
+import payplatformoption from './payplatformoption';
3
+
4
+export default Object.assign({}, {
5
+  priceOptions,
6
+  payplatformoption,
7
+});

+ 3
- 0
.kiwi/zh_CN/payplatformoption.ts Visa fil

@@ -0,0 +1,3 @@
1
+export default {
2
+  platform: '支付平台',
3
+};

+ 5
- 0
.kiwi/zh_CN/priceOptions.ts Visa fil

@@ -0,0 +1,5 @@
1
+export default {
2
+  index: {
3
+    others: '其他金额',
4
+  },
5
+};

+ 0
- 2
config-overrides.js Visa fil

@@ -5,8 +5,6 @@ const rootPath = fs.realpathSync(process.cwd());
5 5
 const srcPath = path.resolve(rootPath, )
6 6
 
7 7
 module.exports = function override(config, env) {
8
-  console.log('config: ', config);
9
-  console.log('env: ', env);
10 8
   config.resolve.extensions = ['.js', '.jsx', '.ts', '.tsx', '.less', '.json'];
11 9
   config.resolve.alias = {
12 10
     '@': srcPath,

+ 2
- 2
lib/Common/index.js Visa fil

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

+ 2
- 2
lib/Payment/index.js Visa fil

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

+ 4
- 0
lib/esModule/Common/index.js Visa fil

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

+ 1
- 0
lib/esModule/Common/index.js.map Visa fil

@@ -0,0 +1 @@
1
+{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}

+ 8
- 0
lib/esModule/Payment/index.js Visa fil

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

+ 1
- 0
lib/esModule/Payment/index.js.map Visa fil

@@ -0,0 +1 @@
1
+{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}

+ 5764
- 0
lib/esModule/index-6812601d.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 0
lib/esModule/index-6812601d.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 3149
- 0
lib/esModule/index.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 0
lib/esModule/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 218
- 0
lib/esModule/style-inject.es-0fe0d479.js Visa fil

@@ -0,0 +1,218 @@
1
+var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
+
3
+function unwrapExports (x) {
4
+	return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
+}
6
+
7
+function createCommonjsModule(fn, module) {
8
+	return module = { exports: {} }, fn(module, module.exports), module.exports;
9
+}
10
+
11
+function getCjsExportFromNamespace (n) {
12
+	return n && n['default'] || n;
13
+}
14
+
15
+function _classCallCheck(instance, Constructor) {
16
+  if (!(instance instanceof Constructor)) {
17
+    throw new TypeError("Cannot call a class as a function");
18
+  }
19
+}
20
+
21
+function _defineProperties(target, props) {
22
+  for (var i = 0; i < props.length; i++) {
23
+    var descriptor = props[i];
24
+    descriptor.enumerable = descriptor.enumerable || false;
25
+    descriptor.configurable = true;
26
+    if ("value" in descriptor) descriptor.writable = true;
27
+    Object.defineProperty(target, descriptor.key, descriptor);
28
+  }
29
+}
30
+
31
+function _createClass(Constructor, protoProps, staticProps) {
32
+  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
33
+  if (staticProps) _defineProperties(Constructor, staticProps);
34
+  return Constructor;
35
+}
36
+
37
+function _defineProperty(obj, key, value) {
38
+  if (key in obj) {
39
+    Object.defineProperty(obj, key, {
40
+      value: value,
41
+      enumerable: true,
42
+      configurable: true,
43
+      writable: true
44
+    });
45
+  } else {
46
+    obj[key] = value;
47
+  }
48
+
49
+  return obj;
50
+}
51
+
52
+function _inherits(subClass, superClass) {
53
+  if (typeof superClass !== "function" && superClass !== null) {
54
+    throw new TypeError("Super expression must either be null or a function");
55
+  }
56
+
57
+  subClass.prototype = Object.create(superClass && superClass.prototype, {
58
+    constructor: {
59
+      value: subClass,
60
+      writable: true,
61
+      configurable: true
62
+    }
63
+  });
64
+  if (superClass) _setPrototypeOf(subClass, superClass);
65
+}
66
+
67
+function _getPrototypeOf(o) {
68
+  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
69
+    return o.__proto__ || Object.getPrototypeOf(o);
70
+  };
71
+  return _getPrototypeOf(o);
72
+}
73
+
74
+function _setPrototypeOf(o, p) {
75
+  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
76
+    o.__proto__ = p;
77
+    return o;
78
+  };
79
+
80
+  return _setPrototypeOf(o, p);
81
+}
82
+
83
+function _assertThisInitialized(self) {
84
+  if (self === void 0) {
85
+    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
86
+  }
87
+
88
+  return self;
89
+}
90
+
91
+function _possibleConstructorReturn(self, call) {
92
+  if (call && (typeof call === "object" || typeof call === "function")) {
93
+    return call;
94
+  }
95
+
96
+  return _assertThisInitialized(self);
97
+}
98
+
99
+function _slicedToArray(arr, i) {
100
+  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
101
+}
102
+
103
+function _arrayWithHoles(arr) {
104
+  if (Array.isArray(arr)) return arr;
105
+}
106
+
107
+function _iterableToArrayLimit(arr, i) {
108
+  if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
109
+    return;
110
+  }
111
+
112
+  var _arr = [];
113
+  var _n = true;
114
+  var _d = false;
115
+  var _e = undefined;
116
+
117
+  try {
118
+    for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
119
+      _arr.push(_s.value);
120
+
121
+      if (i && _arr.length === i) break;
122
+    }
123
+  } catch (err) {
124
+    _d = true;
125
+    _e = err;
126
+  } finally {
127
+    try {
128
+      if (!_n && _i["return"] != null) _i["return"]();
129
+    } finally {
130
+      if (_d) throw _e;
131
+    }
132
+  }
133
+
134
+  return _arr;
135
+}
136
+
137
+function _nonIterableRest() {
138
+  throw new TypeError("Invalid attempt to destructure non-iterable instance");
139
+}
140
+
141
+var classnames = createCommonjsModule(function (module) {
142
+/*!
143
+  Copyright (c) 2017 Jed Watson.
144
+  Licensed under the MIT License (MIT), see
145
+  http://jedwatson.github.io/classnames
146
+*/
147
+/* global define */
148
+
149
+(function () {
150
+
151
+	var hasOwn = {}.hasOwnProperty;
152
+
153
+	function classNames () {
154
+		var classes = [];
155
+
156
+		for (var i = 0; i < arguments.length; i++) {
157
+			var arg = arguments[i];
158
+			if (!arg) continue;
159
+
160
+			var argType = typeof arg;
161
+
162
+			if (argType === 'string' || argType === 'number') {
163
+				classes.push(arg);
164
+			} else if (Array.isArray(arg) && arg.length) {
165
+				var inner = classNames.apply(null, arg);
166
+				if (inner) {
167
+					classes.push(inner);
168
+				}
169
+			} else if (argType === 'object') {
170
+				for (var key in arg) {
171
+					if (hasOwn.call(arg, key) && arg[key]) {
172
+						classes.push(key);
173
+					}
174
+				}
175
+			}
176
+		}
177
+
178
+		return classes.join(' ');
179
+	}
180
+
181
+	if ( module.exports) {
182
+		classNames.default = classNames;
183
+		module.exports = classNames;
184
+	} else {
185
+		window.classNames = classNames;
186
+	}
187
+}());
188
+});
189
+
190
+function styleInject(css, ref) {
191
+  if ( ref === void 0 ) ref = {};
192
+  var insertAt = ref.insertAt;
193
+
194
+  if (!css || typeof document === 'undefined') { return; }
195
+
196
+  var head = document.head || document.getElementsByTagName('head')[0];
197
+  var style = document.createElement('style');
198
+  style.type = 'text/css';
199
+
200
+  if (insertAt === 'top') {
201
+    if (head.firstChild) {
202
+      head.insertBefore(style, head.firstChild);
203
+    } else {
204
+      head.appendChild(style);
205
+    }
206
+  } else {
207
+    head.appendChild(style);
208
+  }
209
+
210
+  if (style.styleSheet) {
211
+    style.styleSheet.cssText = css;
212
+  } else {
213
+    style.appendChild(document.createTextNode(css));
214
+  }
215
+}
216
+
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

+ 1
- 0
lib/esModule/style-inject.es-0fe0d479.js.map Visa fil

@@ -0,0 +1 @@
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,CAA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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;;;;"}

+ 73
- 0
lib/esModule/test-7ad1ce03.js Visa fil

@@ -0,0 +1,73 @@
1
+import { s as styleInject } from './style-inject.es-0fe0d479.js';
2
+import 'react';
3
+
4
+var css = ".test_red__36-3- {\n  color: red;\n}\n";
5
+styleInject(css);
6
+
7
+// type TransmitImgTxtData = {
8
+//   user_id?: string|number;
9
+//   anonymity?: boolean;
10
+//   avatar?: string;
11
+//   nickname?: string;
12
+//   is_long?: boolean;
13
+// }
14
+// interface TransmitCardProps {
15
+//   type: TransmitType;
16
+//   data: TransmitImgTxtData;
17
+// }
18
+// export class TransmitCard extends React.PureComponent<TransmitCardProps, {}> {
19
+//   renderVideo() {
20
+//     return <div className={styles.transmitVideoCard}>Video</div>;
21
+//   }
22
+//   renderImgTxt() {
23
+//     const { data } = this.props;
24
+//     const {
25
+//       user_id,
26
+//       anonymity,
27
+//       avatar,
28
+//       nickname,
29
+//       is_long,
30
+//     } = data;
31
+//     return (
32
+//       <div className={styles.transmitImgTxtCard}>
33
+//         <div className={styles.header}>
34
+//           <UserLink user_id={user_id} anonymity={anonymity}>
35
+//             <Avatar
36
+//               id={user_id}
37
+//               image={avatar}
38
+//               follow={false}
39
+//               size="cover"
40
+//               className={styles.ava}
41
+//               anonymity={anonymity}
42
+//             />
43
+//           </UserLink>
44
+//           <div className={styles.nickname}>
45
+//             <UserLink user_id={user_id} anonymity={anonymity}>
46
+//               {nickname}
47
+//             </UserLink>
48
+//           </div>
49
+//           <div className={styles.type}>
50
+//             {is_long
51
+//               ? intl.get('bilingually.imgtxt.article')
52
+//               : intl.get('bilingually.imgtxt')}
53
+//           </div>
54
+//         </div>
55
+//       </div>
56
+//     );
57
+//   }
58
+//   render() {
59
+//     const { type } = this.props;
60
+//     if (type === 'imgTxt') {
61
+//       this.renderImgTxt();
62
+//     }
63
+//     if (type === 'shortVideo' || type === 'microVideo') {
64
+//       this.renderVideo();
65
+//     }
66
+//     return null;
67
+//   }
68
+// }
69
+
70
+var Test = "TestComponent";
71
+
72
+export { Test as T };
73
+//# sourceMappingURL=test-7ad1ce03.js.map

+ 1
- 0
lib/esModule/test-7ad1ce03.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


lib/index-c6999c10.js → lib/index-038f2eaf.js Visa fil

@@ -2,7 +2,7 @@
2 2
 
3 3
 function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4 4
 
5
-var styleInject_es = require('./style-inject.es-c386372b.js');
5
+var styleInject_es = require('./style-inject.es-c7b50579.js');
6 6
 var React = require('react');
7 7
 var React__default = _interopDefault(React);
8 8
 require('antd/es/input/style');
@@ -5769,4 +5769,4 @@ exports.ConsumeListView = ConsumeListView;
5769 5769
 exports.PayPlatformOptions = PayPlatformOptions;
5770 5770
 exports.PriceOptions = PriceOptions;
5771 5771
 exports.WaitPayInfoView = WaitPayInfoView;
5772
-//# sourceMappingURL=index-c6999c10.js.map
5772
+//# sourceMappingURL=index-038f2eaf.js.map

+ 1
- 0
lib/index-038f2eaf.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 0
- 1
lib/index-c6999c10.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 3077
- 3
lib/index.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 1
lib/index.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


lib/style-inject.es-c386372b.js → lib/style-inject.es-c7b50579.js Visa fil

@@ -1,5 +1,19 @@
1 1
 'use strict';
2 2
 
3
+var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
+
5
+function unwrapExports (x) {
6
+	return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
7
+}
8
+
9
+function createCommonjsModule(fn, module) {
10
+	return module = { exports: {} }, fn(module, module.exports), module.exports;
11
+}
12
+
13
+function getCjsExportFromNamespace (n) {
14
+	return n && n['default'] || n;
15
+}
16
+
3 17
 function _classCallCheck(instance, Constructor) {
4 18
   if (!(instance instanceof Constructor)) {
5 19
     throw new TypeError("Cannot call a class as a function");
@@ -126,16 +140,6 @@ function _nonIterableRest() {
126 140
   throw new TypeError("Invalid attempt to destructure non-iterable instance");
127 141
 }
128 142
 
129
-var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
130
-
131
-function unwrapExports (x) {
132
-	return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
133
-}
134
-
135
-function createCommonjsModule(fn, module) {
136
-	return module = { exports: {} }, fn(module, module.exports), module.exports;
137
-}
138
-
139 143
 var classnames = createCommonjsModule(function (module) {
140 144
 /*!
141 145
   Copyright (c) 2017 Jed Watson.
@@ -222,6 +226,7 @@ exports._slicedToArray = _slicedToArray;
222 226
 exports.classnames = classnames;
223 227
 exports.commonjsGlobal = commonjsGlobal;
224 228
 exports.createCommonjsModule = createCommonjsModule;
229
+exports.getCjsExportFromNamespace = getCjsExportFromNamespace;
225 230
 exports.styleInject = styleInject;
226 231
 exports.unwrapExports = unwrapExports;
227
-//# sourceMappingURL=style-inject.es-c386372b.js.map
232
+//# sourceMappingURL=style-inject.es-c7b50579.js.map

lib/style-inject.es-c386372b.js.map → lib/style-inject.es-c7b50579.js.map Visa fil

@@ -1 +1 @@
1
-{"version":3,"file":"style-inject.es-c386372b.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;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-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,KAAK,QAAQ,EAAE;IAChC,KAAK,IAAI,GAAG,IAAI,GAAG,EAAE;KACpB,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,GAAG,CAAC,GAAG,CAAC,EAAE;MACtC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAA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;;;;;;;;;;;;"}

lib/test-dadf718e.js → lib/test-b52888d6.js Visa fil

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

lib/test-b52888d6.js.map
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 1
- 0
package.json Visa fil

@@ -14,6 +14,7 @@
14 14
     "@types/react-dom": "^16.9.0",
15 15
     "@types/react-intl": "^3.0.0",
16 16
     "classnames": "^2.2.6",
17
+    "kiwi-intl": "^1.2.4",
17 18
     "react-intl": "^3.9.2",
18 19
     "react-scripts": "3.3.0",
19 20
     "typescript": "~3.7.2"

+ 9
- 0
rollup.config.js Visa fil

@@ -57,6 +57,14 @@ export default {
57 57
       exports: 'named',
58 58
       // file: "lib/bundle.js",
59 59
       format: "cjs"
60
+    },
61
+    {
62
+      dir: "lib/ESModule",
63
+      sourcemap: true,
64
+      entryFileNames: '[name]/index.js',
65
+      exports: 'named',
66
+      // file: "lib/bundle.js",
67
+      format: "es"
60 68
     }
61 69
   ],
62 70
   plugins: [
@@ -95,6 +103,7 @@ export default {
95 103
     }),
96 104
     alias({
97 105
       entries: [
106
+        { find: '@', replacement: 'src' },
98 107
         { find: '@components', replacement: 'src/components' },
99 108
       ]
100 109
     }),

+ 12
- 0
src/lib-build.js Visa fil

@@ -1,3 +1,15 @@
1
+
2
+import KiwiIntl from 'kiwi-intl';
3
+
4
+import enUsLangs from '../.kiwi/en_US/index.ts';
5
+import zhCNLangs from '../.kiwi/zh_CN/index.ts';
6
+const langs = {
7
+  'en_US': enUsLangs,
8
+  'zh_CN': zhCNLangs
9
+};
10
+
11
+export const kiwiIntl = KiwiIntl.init('en_US', langs);
12
+
1 13
 export { Test } from '@components/Common/test.tsx';
2 14
 export * from '@components/Common/index.ts';
3 15
 export * from '@components/Payment/index.ts';

+ 2
- 2
tsconfig.json Visa fil

@@ -15,13 +15,13 @@
15 15
     "module": "esnext",
16 16
     "moduleResolution": "node",
17 17
     "resolveJsonModule": true,
18
-    "isolatedModules": true,
18
+    // "isolatedModules": true,
19 19
     "noEmit": true,
20 20
     "jsx": "react"
21 21
   },
22 22
   "baseUrl": ".",
23 23
   "paths": {
24
-    "@/*": [ "src/*" ],
24
+    "@/*": ["*"],
25 25
     "@components/*": [ "src/components/*" ]
26 26
   },
27 27
   "include": [

+ 25
- 0
yarn.lock Visa fil

@@ -5443,6 +5443,11 @@ intl-locales-supported@^1.8.4:
5443 5443
   resolved "https://registry.npm.taobao.org/intl-locales-supported/download/intl-locales-supported-1.8.4.tgz#e1d19812afa50dc2e2a2b4741ceb4030522d45b1"
5444 5444
   integrity sha1-4dGYEq+lDcLiorR0HOtAMFItRbE=
5445 5445
 
5446
+intl-messageformat-parser@1.4.0:
5447
+  version "1.4.0"
5448
+  resolved "https://registry.npm.taobao.org/intl-messageformat-parser/download/intl-messageformat-parser-1.4.0.tgz#b43d45a97468cadbe44331d74bb1e8dea44fc075"
5449
+  integrity sha1-tD1FqXRoytvkQzHXS7Ho3qRPwHU=
5450
+
5446 5451
 intl-messageformat-parser@^3.5.1:
5447 5452
   version "3.5.1"
5448 5453
   resolved "https://registry.npm.taobao.org/intl-messageformat-parser/download/intl-messageformat-parser-3.5.1.tgz#523a17bd2ef4a92209956b7cc953a0170bcf5b76"
@@ -5450,6 +5455,13 @@ intl-messageformat-parser@^3.5.1:
5450 5455
   dependencies:
5451 5456
     "@formatjs/intl-unified-numberformat" "^2.2.0"
5452 5457
 
5458
+intl-messageformat@^2.2.0:
5459
+  version "2.2.0"
5460
+  resolved "https://registry.npm.taobao.org/intl-messageformat/download/intl-messageformat-2.2.0.tgz#345bcd46de630b7683330c2e52177ff5eab484fc"
5461
+  integrity sha1-NFvNRt5jC3aDMwwuUhd/9eq0hPw=
5462
+  dependencies:
5463
+    intl-messageformat-parser "1.4.0"
5464
+
5453 5465
 intl-messageformat@^7.7.2:
5454 5466
   version "7.7.2"
5455 5467
   resolved "https://registry.npm.taobao.org/intl-messageformat/download/intl-messageformat-7.7.2.tgz#99839c4fde020523c4a66c10a4cc28060ac2fd3f"
@@ -6470,6 +6482,14 @@ kind-of@^6.0.0, kind-of@^6.0.2:
6470 6482
   resolved "https://registry.npm.taobao.org/kind-of/download/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051"
6471 6483
   integrity sha1-ARRrNqYhjmTljzqNZt5df8b20FE=
6472 6484
 
6485
+kiwi-intl@^1.2.4:
6486
+  version "1.2.4"
6487
+  resolved "https://registry.npm.taobao.org/kiwi-intl/download/kiwi-intl-1.2.4.tgz#43bf693ca09853648479f76f03abf41234b217cb"
6488
+  integrity sha1-Q79pPKCYU2SEefdvA6v0EjSyF8s=
6489
+  dependencies:
6490
+    intl-messageformat "^2.2.0"
6491
+    lodash.get "^4.4.2"
6492
+
6473 6493
 klaw@^1.0.0:
6474 6494
   version "1.3.1"
6475 6495
   resolved "https://registry.npm.taobao.org/klaw/download/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439"
@@ -6631,6 +6651,11 @@ lodash.camelcase@^4.3.0:
6631 6651
   resolved "https://registry.npm.taobao.org/lodash.camelcase/download/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6"
6632 6652
   integrity sha1-soqmKIorn8ZRA1x3EfZathkDMaY=
6633 6653
 
6654
+lodash.get@^4.4.2:
6655
+  version "4.4.2"
6656
+  resolved "https://registry.npm.taobao.org/lodash.get/download/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
6657
+  integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=
6658
+
6634 6659
 lodash.memoize@^4.1.2:
6635 6660
   version "4.1.2"
6636 6661
   resolved "https://registry.npm.taobao.org/lodash.memoize/download/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"