@abtnode/ux 1.16.20-beta-955a3019 → 1.16.20-beta-e363262e
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.
- package/es/locales/index.js +3 -3
- package/lib/locales/index.js +7 -5
- package/package.json +7 -7
package/es/locales/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable import/prefer-default-export */
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import flat from 'flat';
|
|
3
|
+
import en from './en';
|
|
4
|
+
import zh from './zh';
|
|
5
5
|
export const translations = {
|
|
6
6
|
zh: flat(zh),
|
|
7
7
|
en: flat(en)
|
package/lib/locales/index.js
CHANGED
|
@@ -4,11 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.translations = void 0;
|
|
7
|
+
var _flat = _interopRequireDefault(require("flat"));
|
|
8
|
+
var _en = _interopRequireDefault(require("./en"));
|
|
9
|
+
var _zh = _interopRequireDefault(require("./zh"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
7
11
|
/* eslint-disable import/prefer-default-export */
|
|
8
|
-
|
|
9
|
-
const en = require('./en');
|
|
10
|
-
const zh = require('./zh');
|
|
12
|
+
|
|
11
13
|
const translations = exports.translations = {
|
|
12
|
-
zh:
|
|
13
|
-
en:
|
|
14
|
+
zh: (0, _flat.default)(_zh.default),
|
|
15
|
+
en: (0, _flat.default)(_en.default)
|
|
14
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abtnode/ux",
|
|
3
|
-
"version": "1.16.20-beta-
|
|
3
|
+
"version": "1.16.20-beta-e363262e",
|
|
4
4
|
"description": "UX components shared across abtnode packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@abtnode/auth": "1.16.20-beta-
|
|
31
|
-
"@abtnode/constant": "1.16.20-beta-
|
|
32
|
-
"@abtnode/util": "1.16.20-beta-
|
|
30
|
+
"@abtnode/auth": "1.16.20-beta-e363262e",
|
|
31
|
+
"@abtnode/constant": "1.16.20-beta-e363262e",
|
|
32
|
+
"@abtnode/util": "1.16.20-beta-e363262e",
|
|
33
33
|
"@ahooksjs/use-url-state": "^3.5.1",
|
|
34
34
|
"@arcblock/did": "^1.18.103",
|
|
35
35
|
"@arcblock/did-connect": "^2.8.21",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"@arcblock/react-hooks": "^2.8.21",
|
|
40
40
|
"@arcblock/terminal": "^2.8.21",
|
|
41
41
|
"@arcblock/ux": "^2.8.21",
|
|
42
|
-
"@blocklet/constant": "1.16.20-beta-
|
|
42
|
+
"@blocklet/constant": "1.16.20-beta-e363262e",
|
|
43
43
|
"@blocklet/launcher-layout": "2.2.47",
|
|
44
44
|
"@blocklet/list": "^0.12.57",
|
|
45
|
-
"@blocklet/meta": "1.16.20-beta-
|
|
45
|
+
"@blocklet/meta": "1.16.20-beta-e363262e",
|
|
46
46
|
"@blocklet/ui-react": "^2.8.21",
|
|
47
47
|
"@blocklet/uploader": "^0.0.52",
|
|
48
48
|
"@emotion/react": "^11.10.4",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"babel-plugin-inline-react-svg": "^1.1.2",
|
|
101
101
|
"glob": "^10.3.3"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "479cea04dd620d8194d6221b2594b6a0f390ba76",
|
|
104
104
|
"exports": {
|
|
105
105
|
".": {
|
|
106
106
|
"import": "./es/index.js",
|