@vxe-ui/core 0.10.2 → 0.10.3
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/README.en.md +31 -31
- package/README.md +31 -31
- package/README.zh-TW.md +31 -31
- package/es/index.esm.js +4 -2
- package/es/language/en-US.js +56 -4
- package/es/language/es-ES.js +56 -4
- package/es/language/ja-JP.js +56 -4
- package/es/language/pt-BR.js +56 -4
- package/es/language/zh-CN.js +55 -3
- package/es/language/zh-TC.js +56 -4
- package/es/src/core.js +3 -4
- package/es/src/i18n.js +2 -1
- package/es/src/i18nStore.js +3 -2
- package/es/src/log.js +1 -1
- package/lib/index.common.js +4 -2
- package/lib/index.umd.js +83 -27
- package/lib/index.umd.min.js +1 -1
- package/lib/language/en-US.js +56 -4
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/en-US.umd.js +56 -4
- package/lib/language/es-ES.js +56 -4
- package/lib/language/es-ES.min.js +1 -1
- package/lib/language/es-ES.umd.js +56 -4
- package/lib/language/ja-JP.js +56 -4
- package/lib/language/ja-JP.min.js +1 -1
- package/lib/language/ja-JP.umd.js +56 -4
- package/lib/language/pt-BR.js +56 -4
- package/lib/language/pt-BR.min.js +1 -1
- package/lib/language/pt-BR.umd.js +56 -4
- package/lib/language/zh-CN.js +55 -3
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-CN.umd.js +55 -3
- package/lib/language/zh-HK.js +1 -1
- package/lib/language/zh-HK.min.js +1 -1
- package/lib/language/zh-HK.umd.js +56 -4
- package/lib/language/zh-MO.js +1 -1
- package/lib/language/zh-MO.min.js +1 -1
- package/lib/language/zh-MO.umd.js +56 -4
- package/lib/language/zh-TC.js +56 -4
- package/lib/language/zh-TC.min.js +1 -1
- package/lib/language/zh-TC.umd.js +56 -4
- package/lib/language/zh-TW.js +1 -1
- package/lib/language/zh-TW.min.js +1 -1
- package/lib/language/zh-TW.umd.js +56 -4
- package/lib/src/clipboard.js +1 -1
- package/lib/src/commands.js +1 -1
- package/lib/src/core.js +4 -5
- package/lib/src/core.min.js +1 -1
- package/lib/src/event.js +1 -1
- package/lib/src/formats.js +1 -1
- package/lib/src/hooks.js +1 -1
- package/lib/src/i18n.js +6 -2
- package/lib/src/i18n.min.js +1 -1
- package/lib/src/i18nStore.js +3 -2
- package/lib/src/i18nStore.min.js +1 -1
- package/lib/src/interceptor.js +1 -1
- package/lib/src/log.js +1 -1
- package/lib/src/log.min.js +1 -1
- package/lib/src/menus.js +1 -1
- package/lib/src/renderer.js +1 -1
- package/lib/src/resize.js +1 -1
- package/lib/src/store.js +1 -1
- package/lib/src/validators.js +1 -1
- package/package.json +76 -76
- package/packages/index.ts +4 -2
- package/packages/language/en-US.ts +56 -4
- package/packages/language/es-ES.ts +56 -4
- package/packages/language/ja-JP.ts +56 -4
- package/packages/language/pt-BR.ts +56 -4
- package/packages/language/zh-CN.ts +55 -3
- package/packages/language/zh-TC.ts +56 -4
- package/packages/src/core.ts +2 -3
- package/packages/src/i18n.ts +2 -1
- package/packages/src/i18nStore.ts +4 -2
package/lib/src/log.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.log=void 0;var _i18n=require("./i18n");function createLog(o,t){return function(e,r){e=`[${t||"vxe"} v0.10.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.log=void 0;var _i18n=require("./i18n");function createLog(o,t){return function(e,r){e=`[${t||"vxe"} v0.10.3] `+(0,_i18n.getI18n)(e,r);return console[o](e),e}}const log=exports.log={create:createLog,warn:createLog("warn"),err:createLog("error")};
|
package/lib/src/menus.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.menus = void 0;
|
|
7
7
|
var _xeUtils = _interopRequireDefault(require("xe-utils"));
|
|
8
8
|
var _log = require("./log");
|
|
9
|
-
function _interopRequireDefault(
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
10
|
class VXEMenusStore {
|
|
11
11
|
constructor() {
|
|
12
12
|
Object.defineProperty(this, "store", {
|
package/lib/src/renderer.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.renderer = void 0;
|
|
7
7
|
var _xeUtils = _interopRequireDefault(require("xe-utils"));
|
|
8
8
|
var _log = require("./log");
|
|
9
|
-
function _interopRequireDefault(
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
10
|
/**
|
|
11
11
|
* 内置的组件渲染
|
|
12
12
|
*/
|
package/lib/src/resize.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.globalResize = void 0;
|
|
7
7
|
var _xeUtils = _interopRequireDefault(require("xe-utils"));
|
|
8
8
|
var _globalStore = require("./globalStore");
|
|
9
|
-
function _interopRequireDefault(
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
10
|
/**
|
|
11
11
|
* 监听 resize 事件
|
|
12
12
|
* 如果项目中已使用了 resize-observer-polyfill,那么只需要将方法定义全局,该组件就会自动使用
|
package/lib/src/store.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.Store = void 0;
|
|
7
7
|
var _log = require("./log");
|
|
8
8
|
var _xeUtils = _interopRequireDefault(require("xe-utils"));
|
|
9
|
-
function _interopRequireDefault(
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
10
|
/**
|
|
11
11
|
* 创建数据仓库
|
|
12
12
|
*/
|
package/lib/src/validators.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.validators = void 0;
|
|
7
7
|
var _store = _interopRequireDefault(require("./store"));
|
|
8
|
-
function _interopRequireDefault(
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
const validators = exports.validators = new _store.default();
|
|
10
10
|
if (process.env.NODE_ENV === 'development') {
|
|
11
11
|
Object.assign(validators, {
|
package/package.json
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@vxe-ui/core",
|
|
3
|
-
"version": "0.10.
|
|
4
|
-
"description": "Vxe UI core library",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"update": "npm install --legacy-peer-deps",
|
|
7
|
-
"lib:pack": "vue-cli-service build --target lib --name index --dest lib_temp packages/index.ts",
|
|
8
|
-
"lib:modules": "gulp build",
|
|
9
|
-
"lib": "npm run lib:pack && npm run lib:modules"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"lib",
|
|
13
|
-
"es",
|
|
14
|
-
"src",
|
|
15
|
-
"types",
|
|
16
|
-
"packages"
|
|
17
|
-
],
|
|
18
|
-
"main": "lib/index.common.js",
|
|
19
|
-
"module": "es/index.esm.js",
|
|
20
|
-
"typings": "types/index.d.ts",
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"dom-zindex": "^1.0.4",
|
|
23
|
-
"xe-utils": "^3.5.26"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@types/node": "^20.12.12",
|
|
27
|
-
"@types/resize-observer-browser": "^0.1.11",
|
|
28
|
-
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
29
|
-
"@typescript-eslint/parser": "^6.21.0",
|
|
30
|
-
"@vue/cli-plugin-babel": "~5.0.0",
|
|
31
|
-
"@vue/cli-plugin-eslint": "~5.0.0",
|
|
32
|
-
"@vue/cli-plugin-router": "~5.0.0",
|
|
33
|
-
"@vue/cli-plugin-typescript": "~5.0.0",
|
|
34
|
-
"@vue/cli-plugin-vuex": "~5.0.0",
|
|
35
|
-
"@vue/cli-service": "~5.0.0",
|
|
36
|
-
"@vue/eslint-config-standard": "^6.1.0",
|
|
37
|
-
"@vue/eslint-config-typescript": "^9.1.0",
|
|
38
|
-
"core-js": "^3.8.3",
|
|
39
|
-
"del": "^6.1.1",
|
|
40
|
-
"eslint": "^7.32.0",
|
|
41
|
-
"eslint-plugin-import": "^2.29.1",
|
|
42
|
-
"eslint-plugin-node": "^11.1.0",
|
|
43
|
-
"eslint-plugin-promise": "^6.1.1",
|
|
44
|
-
"eslint-plugin-vue": "^8.0.3",
|
|
45
|
-
"gulp": "^4.0.2",
|
|
46
|
-
"gulp-autoprefixer": "^8.0.0",
|
|
47
|
-
"gulp-babel": "^8.0.0",
|
|
48
|
-
"gulp-clean-css": "^4.3.0",
|
|
49
|
-
"gulp-concat": "^2.6.1",
|
|
50
|
-
"gulp-rename": "^2.0.0",
|
|
51
|
-
"gulp-replace": "^1.1.4",
|
|
52
|
-
"gulp-sourcemaps": "^3.0.0",
|
|
53
|
-
"gulp-typescript": "^5.0.1",
|
|
54
|
-
"gulp-uglify": "^3.0.2",
|
|
55
|
-
"postcss": "^8.4.38",
|
|
56
|
-
"typescript": "~4.5.5",
|
|
57
|
-
"vue": "3.4.27"
|
|
58
|
-
},
|
|
59
|
-
"repository": {
|
|
60
|
-
"type": "git",
|
|
61
|
-
"url": "git+https://github.com/x-extends/vxe-core.git"
|
|
62
|
-
},
|
|
63
|
-
"keywords": [
|
|
64
|
-
"vxe",
|
|
65
|
-
"vxe-core",
|
|
66
|
-
"vxe-ui"
|
|
67
|
-
],
|
|
68
|
-
"author": {
|
|
69
|
-
"name": "Xu Liangzhan",
|
|
70
|
-
"email": "xu_liangzhan@163.com"
|
|
71
|
-
},
|
|
72
|
-
"license": "MIT",
|
|
73
|
-
"bugs": {
|
|
74
|
-
"url": "https://github.com/x-extends/vxe-core/issues"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@vxe-ui/core",
|
|
3
|
+
"version": "0.10.3",
|
|
4
|
+
"description": "Vxe UI core library",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"update": "npm install --legacy-peer-deps",
|
|
7
|
+
"lib:pack": "vue-cli-service build --target lib --name index --dest lib_temp packages/index.ts",
|
|
8
|
+
"lib:modules": "gulp build",
|
|
9
|
+
"lib": "npm run lib:pack && npm run lib:modules"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"lib",
|
|
13
|
+
"es",
|
|
14
|
+
"src",
|
|
15
|
+
"types",
|
|
16
|
+
"packages"
|
|
17
|
+
],
|
|
18
|
+
"main": "lib/index.common.js",
|
|
19
|
+
"module": "es/index.esm.js",
|
|
20
|
+
"typings": "types/index.d.ts",
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"dom-zindex": "^1.0.4",
|
|
23
|
+
"xe-utils": "^3.5.26"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@types/node": "^20.12.12",
|
|
27
|
+
"@types/resize-observer-browser": "^0.1.11",
|
|
28
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
29
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
30
|
+
"@vue/cli-plugin-babel": "~5.0.0",
|
|
31
|
+
"@vue/cli-plugin-eslint": "~5.0.0",
|
|
32
|
+
"@vue/cli-plugin-router": "~5.0.0",
|
|
33
|
+
"@vue/cli-plugin-typescript": "~5.0.0",
|
|
34
|
+
"@vue/cli-plugin-vuex": "~5.0.0",
|
|
35
|
+
"@vue/cli-service": "~5.0.0",
|
|
36
|
+
"@vue/eslint-config-standard": "^6.1.0",
|
|
37
|
+
"@vue/eslint-config-typescript": "^9.1.0",
|
|
38
|
+
"core-js": "^3.8.3",
|
|
39
|
+
"del": "^6.1.1",
|
|
40
|
+
"eslint": "^7.32.0",
|
|
41
|
+
"eslint-plugin-import": "^2.29.1",
|
|
42
|
+
"eslint-plugin-node": "^11.1.0",
|
|
43
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
44
|
+
"eslint-plugin-vue": "^8.0.3",
|
|
45
|
+
"gulp": "^4.0.2",
|
|
46
|
+
"gulp-autoprefixer": "^8.0.0",
|
|
47
|
+
"gulp-babel": "^8.0.0",
|
|
48
|
+
"gulp-clean-css": "^4.3.0",
|
|
49
|
+
"gulp-concat": "^2.6.1",
|
|
50
|
+
"gulp-rename": "^2.0.0",
|
|
51
|
+
"gulp-replace": "^1.1.4",
|
|
52
|
+
"gulp-sourcemaps": "^3.0.0",
|
|
53
|
+
"gulp-typescript": "^5.0.1",
|
|
54
|
+
"gulp-uglify": "^3.0.2",
|
|
55
|
+
"postcss": "^8.4.38",
|
|
56
|
+
"typescript": "~4.5.5",
|
|
57
|
+
"vue": "3.4.27"
|
|
58
|
+
},
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "git+https://github.com/x-extends/vxe-core.git"
|
|
62
|
+
},
|
|
63
|
+
"keywords": [
|
|
64
|
+
"vxe",
|
|
65
|
+
"vxe-core",
|
|
66
|
+
"vxe-ui"
|
|
67
|
+
],
|
|
68
|
+
"author": {
|
|
69
|
+
"name": "Xu Liangzhan",
|
|
70
|
+
"email": "xu_liangzhan@163.com"
|
|
71
|
+
},
|
|
72
|
+
"license": "MIT",
|
|
73
|
+
"bugs": {
|
|
74
|
+
"url": "https://github.com/x-extends/vxe-core/issues"
|
|
75
|
+
}
|
|
76
|
+
}
|
package/packages/index.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import VxeUI, { setI18n, setTheme } from './src/core'
|
|
1
|
+
import VxeUI, { setI18n, setLanguage, setTheme } from './src/core'
|
|
2
2
|
import zhCN from './language/zh-CN'
|
|
3
3
|
|
|
4
4
|
// 默认中文
|
|
5
|
-
|
|
5
|
+
const defaultLanguage = 'zh-CN'
|
|
6
|
+
setI18n(defaultLanguage, zhCN)
|
|
7
|
+
setLanguage(defaultLanguage)
|
|
6
8
|
setTheme('light')
|
|
7
9
|
|
|
8
10
|
export * from './src/core'
|
|
@@ -266,16 +266,68 @@ export default {
|
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
formDesign: {
|
|
269
|
+
widgetPropTab: 'Field property',
|
|
270
|
+
widgetFormTab: 'Form property',
|
|
271
|
+
styleSetting: {
|
|
272
|
+
btn: 'Style setting',
|
|
273
|
+
title: 'Form style setting',
|
|
274
|
+
layoutTitle: 'Field layout',
|
|
275
|
+
verticalLayout: 'Vertical layout',
|
|
276
|
+
horizontalLayout: 'Horizontal layout',
|
|
277
|
+
styleTitle: 'Title style',
|
|
278
|
+
boldTitle: 'Bold title',
|
|
279
|
+
fontBold: 'Bold',
|
|
280
|
+
fontNormal: 'Normal',
|
|
281
|
+
colonTitle: 'Display colon',
|
|
282
|
+
colonVisible: 'Visible',
|
|
283
|
+
colonHidden: 'Hidden',
|
|
284
|
+
alignTitle: 'Title align',
|
|
285
|
+
widthTitle: 'Title width',
|
|
286
|
+
alignLeft: 'Left',
|
|
287
|
+
alignRight: 'Right',
|
|
288
|
+
unitPx: 'Px',
|
|
289
|
+
unitPct: 'Pct'
|
|
290
|
+
},
|
|
269
291
|
widget: {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
292
|
+
group: {
|
|
293
|
+
base: 'Base control',
|
|
294
|
+
layout: 'Layout control',
|
|
295
|
+
advanced: 'Advanced control'
|
|
296
|
+
},
|
|
273
297
|
copyTitle: 'Copy_{0}',
|
|
274
298
|
component: {
|
|
275
299
|
input: 'Input',
|
|
276
300
|
textarea: 'Textarea',
|
|
277
301
|
select: 'Select',
|
|
278
|
-
row: '
|
|
302
|
+
row: 'Row/column'
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
widgetProp: {
|
|
306
|
+
name: 'Field name',
|
|
307
|
+
placeholder: 'Field placeholder',
|
|
308
|
+
required: 'Required',
|
|
309
|
+
displaySetting: {
|
|
310
|
+
name: 'Display setting',
|
|
311
|
+
pc: 'PC',
|
|
312
|
+
mobile: 'Mobile',
|
|
313
|
+
visible: 'Visible',
|
|
314
|
+
hidden: 'Hidden'
|
|
315
|
+
},
|
|
316
|
+
dataSource: {
|
|
317
|
+
name: 'Data source',
|
|
318
|
+
defValue: 'Option {0}',
|
|
319
|
+
addOption: 'Add option',
|
|
320
|
+
batchEditOption: 'Batch edit',
|
|
321
|
+
batchEditTip: 'Each row corresponds to an option. If grouped, the sub items can start with spaces or tab keys and can be copied from Excel or WPS.',
|
|
322
|
+
buildOption: 'Build option'
|
|
323
|
+
},
|
|
324
|
+
rowProp: {
|
|
325
|
+
colSize: 'Number of columns',
|
|
326
|
+
col2: 'Two columns',
|
|
327
|
+
col3: 'Three columns',
|
|
328
|
+
col4: 'Four columns',
|
|
329
|
+
col6: 'Six columns',
|
|
330
|
+
layout: 'Layout'
|
|
279
331
|
}
|
|
280
332
|
}
|
|
281
333
|
},
|
|
@@ -266,16 +266,68 @@ export default {
|
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
formDesign: {
|
|
269
|
+
widgetPropTab: 'Field property',
|
|
270
|
+
widgetFormTab: 'Form property',
|
|
271
|
+
styleSetting: {
|
|
272
|
+
btn: 'Style setting',
|
|
273
|
+
title: 'Form style setting',
|
|
274
|
+
layoutTitle: 'Field layout',
|
|
275
|
+
verticalLayout: 'Vertical layout',
|
|
276
|
+
horizontalLayout: 'Horizontal layout',
|
|
277
|
+
styleTitle: 'Title style',
|
|
278
|
+
boldTitle: 'Bold title',
|
|
279
|
+
fontBold: 'Bold',
|
|
280
|
+
fontNormal: 'Normal',
|
|
281
|
+
colonTitle: 'Display colon',
|
|
282
|
+
colonVisible: 'Visible',
|
|
283
|
+
colonHidden: 'Hidden',
|
|
284
|
+
alignTitle: 'Title align',
|
|
285
|
+
widthTitle: 'Title width',
|
|
286
|
+
alignLeft: 'Left',
|
|
287
|
+
alignRight: 'Right',
|
|
288
|
+
unitPx: 'Px',
|
|
289
|
+
unitPct: 'Pct'
|
|
290
|
+
},
|
|
269
291
|
widget: {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
292
|
+
group: {
|
|
293
|
+
base: 'Base control',
|
|
294
|
+
layout: 'Layout control',
|
|
295
|
+
advanced: 'Advanced control'
|
|
296
|
+
},
|
|
273
297
|
copyTitle: 'Copy_{0}',
|
|
274
298
|
component: {
|
|
275
299
|
input: 'Input',
|
|
276
300
|
textarea: 'Textarea',
|
|
277
301
|
select: 'Select',
|
|
278
|
-
row: '
|
|
302
|
+
row: 'Row/column'
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
widgetProp: {
|
|
306
|
+
name: 'Field name',
|
|
307
|
+
placeholder: 'Field placeholder',
|
|
308
|
+
required: 'Required',
|
|
309
|
+
displaySetting: {
|
|
310
|
+
name: 'Display setting',
|
|
311
|
+
pc: 'PC',
|
|
312
|
+
mobile: 'Mobile',
|
|
313
|
+
visible: 'Visible',
|
|
314
|
+
hidden: 'Hidden'
|
|
315
|
+
},
|
|
316
|
+
dataSource: {
|
|
317
|
+
name: 'Data source',
|
|
318
|
+
defValue: 'Option {0}',
|
|
319
|
+
addOption: 'Add option',
|
|
320
|
+
batchEditOption: 'Batch edit',
|
|
321
|
+
batchEditTip: 'Each row corresponds to an option. If grouped, the sub items can start with spaces or tab keys and can be copied from Excel or WPS.',
|
|
322
|
+
buildOption: 'Build option'
|
|
323
|
+
},
|
|
324
|
+
rowProp: {
|
|
325
|
+
colSize: 'Number of columns',
|
|
326
|
+
col2: 'Two columns',
|
|
327
|
+
col3: 'Three columns',
|
|
328
|
+
col4: 'Four columns',
|
|
329
|
+
col6: 'Six columns',
|
|
330
|
+
layout: 'Layout'
|
|
279
331
|
}
|
|
280
332
|
}
|
|
281
333
|
},
|
|
@@ -266,16 +266,68 @@ export default {
|
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
formDesign: {
|
|
269
|
+
widgetPropTab: 'Field property',
|
|
270
|
+
widgetFormTab: 'Form property',
|
|
271
|
+
styleSetting: {
|
|
272
|
+
btn: 'Style setting',
|
|
273
|
+
title: 'Form style setting',
|
|
274
|
+
layoutTitle: 'Field layout',
|
|
275
|
+
verticalLayout: 'Vertical layout',
|
|
276
|
+
horizontalLayout: 'Horizontal layout',
|
|
277
|
+
styleTitle: 'Title style',
|
|
278
|
+
boldTitle: 'Bold title',
|
|
279
|
+
fontBold: 'Bold',
|
|
280
|
+
fontNormal: 'Normal',
|
|
281
|
+
colonTitle: 'Display colon',
|
|
282
|
+
colonVisible: 'Visible',
|
|
283
|
+
colonHidden: 'Hidden',
|
|
284
|
+
alignTitle: 'Title align',
|
|
285
|
+
widthTitle: 'Title width',
|
|
286
|
+
alignLeft: 'Left',
|
|
287
|
+
alignRight: 'Right',
|
|
288
|
+
unitPx: 'Px',
|
|
289
|
+
unitPct: 'Pct'
|
|
290
|
+
},
|
|
269
291
|
widget: {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
292
|
+
group: {
|
|
293
|
+
base: 'Base control',
|
|
294
|
+
layout: 'Layout control',
|
|
295
|
+
advanced: 'Advanced control'
|
|
296
|
+
},
|
|
273
297
|
copyTitle: 'Copy_{0}',
|
|
274
298
|
component: {
|
|
275
299
|
input: 'Input',
|
|
276
300
|
textarea: 'Textarea',
|
|
277
301
|
select: 'Select',
|
|
278
|
-
row: '
|
|
302
|
+
row: 'Row/column'
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
widgetProp: {
|
|
306
|
+
name: 'Field name',
|
|
307
|
+
placeholder: 'Field placeholder',
|
|
308
|
+
required: 'Required',
|
|
309
|
+
displaySetting: {
|
|
310
|
+
name: 'Display setting',
|
|
311
|
+
pc: 'PC',
|
|
312
|
+
mobile: 'Mobile',
|
|
313
|
+
visible: 'Visible',
|
|
314
|
+
hidden: 'Hidden'
|
|
315
|
+
},
|
|
316
|
+
dataSource: {
|
|
317
|
+
name: 'Data source',
|
|
318
|
+
defValue: 'Option {0}',
|
|
319
|
+
addOption: 'Add option',
|
|
320
|
+
batchEditOption: 'Batch edit',
|
|
321
|
+
batchEditTip: 'Each row corresponds to an option. If grouped, the sub items can start with spaces or tab keys and can be copied from Excel or WPS.',
|
|
322
|
+
buildOption: 'Build option'
|
|
323
|
+
},
|
|
324
|
+
rowProp: {
|
|
325
|
+
colSize: 'Number of columns',
|
|
326
|
+
col2: 'Two columns',
|
|
327
|
+
col3: 'Three columns',
|
|
328
|
+
col4: 'Four columns',
|
|
329
|
+
col6: 'Six columns',
|
|
330
|
+
layout: 'Layout'
|
|
279
331
|
}
|
|
280
332
|
}
|
|
281
333
|
},
|
|
@@ -266,16 +266,68 @@ export default {
|
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
formDesign: {
|
|
269
|
+
widgetPropTab: 'Field property',
|
|
270
|
+
widgetFormTab: 'Form property',
|
|
271
|
+
styleSetting: {
|
|
272
|
+
btn: 'Style setting',
|
|
273
|
+
title: 'Form style setting',
|
|
274
|
+
layoutTitle: 'Field layout',
|
|
275
|
+
verticalLayout: 'Vertical layout',
|
|
276
|
+
horizontalLayout: 'Horizontal layout',
|
|
277
|
+
styleTitle: 'Title style',
|
|
278
|
+
boldTitle: 'Bold title',
|
|
279
|
+
fontBold: 'Bold',
|
|
280
|
+
fontNormal: 'Normal',
|
|
281
|
+
colonTitle: 'Display colon',
|
|
282
|
+
colonVisible: 'Visible',
|
|
283
|
+
colonHidden: 'Hidden',
|
|
284
|
+
alignTitle: 'Title align',
|
|
285
|
+
widthTitle: 'Title width',
|
|
286
|
+
alignLeft: 'Left',
|
|
287
|
+
alignRight: 'Right',
|
|
288
|
+
unitPx: 'Px',
|
|
289
|
+
unitPct: 'Pct'
|
|
290
|
+
},
|
|
269
291
|
widget: {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
292
|
+
group: {
|
|
293
|
+
base: 'Base control',
|
|
294
|
+
layout: 'Layout control',
|
|
295
|
+
advanced: 'Advanced control'
|
|
296
|
+
},
|
|
273
297
|
copyTitle: 'Copy_{0}',
|
|
274
298
|
component: {
|
|
275
299
|
input: 'Input',
|
|
276
300
|
textarea: 'Textarea',
|
|
277
301
|
select: 'Select',
|
|
278
|
-
row: '
|
|
302
|
+
row: 'Row/column'
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
widgetProp: {
|
|
306
|
+
name: 'Field name',
|
|
307
|
+
placeholder: 'Field placeholder',
|
|
308
|
+
required: 'Required',
|
|
309
|
+
displaySetting: {
|
|
310
|
+
name: 'Display setting',
|
|
311
|
+
pc: 'PC',
|
|
312
|
+
mobile: 'Mobile',
|
|
313
|
+
visible: 'Visible',
|
|
314
|
+
hidden: 'Hidden'
|
|
315
|
+
},
|
|
316
|
+
dataSource: {
|
|
317
|
+
name: 'Data source',
|
|
318
|
+
defValue: 'Option {0}',
|
|
319
|
+
addOption: 'Add option',
|
|
320
|
+
batchEditOption: 'Batch edit',
|
|
321
|
+
batchEditTip: 'Each row corresponds to an option. If grouped, the sub items can start with spaces or tab keys and can be copied from Excel or WPS.',
|
|
322
|
+
buildOption: 'Build option'
|
|
323
|
+
},
|
|
324
|
+
rowProp: {
|
|
325
|
+
colSize: 'Number of columns',
|
|
326
|
+
col2: 'Two columns',
|
|
327
|
+
col3: 'Three columns',
|
|
328
|
+
col4: 'Four columns',
|
|
329
|
+
col6: 'Six columns',
|
|
330
|
+
layout: 'Layout'
|
|
279
331
|
}
|
|
280
332
|
}
|
|
281
333
|
},
|
|
@@ -266,10 +266,34 @@ export default {
|
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
formDesign: {
|
|
269
|
+
widgetPropTab: '控件属性',
|
|
270
|
+
widgetFormTab: '表单属性',
|
|
271
|
+
styleSetting: {
|
|
272
|
+
btn: '样式设置',
|
|
273
|
+
title: '表单的样式设置',
|
|
274
|
+
layoutTitle: '控件布局',
|
|
275
|
+
verticalLayout: '上下布局',
|
|
276
|
+
horizontalLayout: '横向布局',
|
|
277
|
+
styleTitle: '标题样式',
|
|
278
|
+
boldTitle: '标题加粗',
|
|
279
|
+
fontBold: '加粗',
|
|
280
|
+
fontNormal: '常规',
|
|
281
|
+
colonTitle: '显示冒号',
|
|
282
|
+
colonVisible: '显示',
|
|
283
|
+
colonHidden: '隐藏',
|
|
284
|
+
alignTitle: '对齐方式',
|
|
285
|
+
widthTitle: '标题宽度',
|
|
286
|
+
alignLeft: '居左',
|
|
287
|
+
alignRight: '居右',
|
|
288
|
+
unitPx: '像素',
|
|
289
|
+
unitPct: '百分比'
|
|
290
|
+
},
|
|
269
291
|
widget: {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
292
|
+
group: {
|
|
293
|
+
base: '基础控件',
|
|
294
|
+
layout: '布局控件',
|
|
295
|
+
advanced: '高级控件'
|
|
296
|
+
},
|
|
273
297
|
copyTitle: '副本_{0}',
|
|
274
298
|
component: {
|
|
275
299
|
input: '输入框',
|
|
@@ -277,6 +301,34 @@ export default {
|
|
|
277
301
|
select: '下拉框',
|
|
278
302
|
row: '一行多列'
|
|
279
303
|
}
|
|
304
|
+
},
|
|
305
|
+
widgetProp: {
|
|
306
|
+
name: '控件名称',
|
|
307
|
+
placeholder: '控件提示',
|
|
308
|
+
required: '必填校验',
|
|
309
|
+
displaySetting: {
|
|
310
|
+
name: '显示设置',
|
|
311
|
+
pc: '电脑端',
|
|
312
|
+
mobile: '手机端',
|
|
313
|
+
visible: '显示',
|
|
314
|
+
hidden: '隐藏'
|
|
315
|
+
},
|
|
316
|
+
dataSource: {
|
|
317
|
+
name: '数据源',
|
|
318
|
+
defValue: '选项{0}',
|
|
319
|
+
addOption: '添加选项',
|
|
320
|
+
batchEditOption: '批量编辑',
|
|
321
|
+
batchEditTip: '每行对应一个选项,如果是分组,子项可以是空格或制表键开头,可从 Excel 或 WPS 中复制。',
|
|
322
|
+
buildOption: '生成选项'
|
|
323
|
+
},
|
|
324
|
+
rowProp: {
|
|
325
|
+
colSize: '列数',
|
|
326
|
+
col2: '两列',
|
|
327
|
+
col3: '三列',
|
|
328
|
+
col4: '四列',
|
|
329
|
+
col6: '六列',
|
|
330
|
+
layout: '布局'
|
|
331
|
+
}
|
|
280
332
|
}
|
|
281
333
|
},
|
|
282
334
|
|
|
@@ -266,17 +266,69 @@ export default {
|
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
formDesign: {
|
|
269
|
+
widgetPropTab: '控件属性',
|
|
270
|
+
widgetFormTab: '表单属性',
|
|
271
|
+
styleSetting: {
|
|
272
|
+
btn: '样式设置',
|
|
273
|
+
title: '表单的样式设置',
|
|
274
|
+
layoutTitle: '控件布局',
|
|
275
|
+
verticalLayout: '上下布局',
|
|
276
|
+
horizontalLayout: '横向布局',
|
|
277
|
+
styleTitle: '标题样式',
|
|
278
|
+
boldTitle: '标题加粗',
|
|
279
|
+
fontBold: '加粗',
|
|
280
|
+
fontNormal: '常规',
|
|
281
|
+
colonTitle: '显示冒号',
|
|
282
|
+
colonVisible: '显示',
|
|
283
|
+
colonHidden: '隐藏',
|
|
284
|
+
alignTitle: '对齐方式',
|
|
285
|
+
widthTitle: '标题宽度',
|
|
286
|
+
alignLeft: '居左',
|
|
287
|
+
alignRight: '居右',
|
|
288
|
+
unitPx: '像素',
|
|
289
|
+
unitPct: '百分比'
|
|
290
|
+
},
|
|
269
291
|
widget: {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
292
|
+
group: {
|
|
293
|
+
base: '基础控件',
|
|
294
|
+
layout: '布局控件',
|
|
295
|
+
advanced: '高级控件'
|
|
296
|
+
},
|
|
273
297
|
copyTitle: '副本_{0}',
|
|
274
298
|
component: {
|
|
275
|
-
input: '
|
|
299
|
+
input: '输入框',
|
|
276
300
|
textarea: '文本域',
|
|
277
301
|
select: '下拉框',
|
|
278
302
|
row: '一行多列'
|
|
279
303
|
}
|
|
304
|
+
},
|
|
305
|
+
widgetProp: {
|
|
306
|
+
name: '控件名称',
|
|
307
|
+
placeholder: '控件提示',
|
|
308
|
+
required: '必填校验',
|
|
309
|
+
displaySetting: {
|
|
310
|
+
name: '显示设置',
|
|
311
|
+
pc: '电脑端',
|
|
312
|
+
mobile: '手机端',
|
|
313
|
+
visible: '显示',
|
|
314
|
+
hidden: '隐藏'
|
|
315
|
+
},
|
|
316
|
+
dataSource: {
|
|
317
|
+
name: '数据源',
|
|
318
|
+
defValue: '选项{0}',
|
|
319
|
+
addOption: '添加选项',
|
|
320
|
+
batchEditOption: '批量编辑',
|
|
321
|
+
batchEditTip: '每行对应一个选项,如果是分组,子项可以是空格或制表键开头,可从 Excel 或 WPS 中复制。',
|
|
322
|
+
buildOption: '生成选项'
|
|
323
|
+
},
|
|
324
|
+
rowProp: {
|
|
325
|
+
colSize: '列数',
|
|
326
|
+
col2: '两列',
|
|
327
|
+
col3: '三列',
|
|
328
|
+
col4: '四列',
|
|
329
|
+
col6: '六列',
|
|
330
|
+
layout: '布局'
|
|
331
|
+
}
|
|
280
332
|
}
|
|
281
333
|
},
|
|
282
334
|
|