cloud-web-corejs 1.0.54-dev.686 → 1.0.54-dev.688
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/package.json +1 -1
- package/src/components/table/CellSlot.vue +12 -10
- package/src/components/xform/docs//345/220/216/345/217/260/345/255/227/346/256/265/357/274/210/345/212/250/346/200/201/347/224/237/346/210/220/357/274/211JSON /350/257/264/346/230/216.md" +1356 -0
- package/src/components/xform/form-designer/designer.js +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +157 -105
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +18 -4
- package/src/components/xform/form-designer/indexMixin.js +837 -13
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +69 -21
- package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/checkStrictly-editor.vue +11 -13
- package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/showAllLevels-editor.vue +21 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +15 -4
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +61 -1
- package/src/components/xform/form-render/container-item/dynamicFieldMixin.js +26 -0
- package/src/components/xform/form-render/indexMixin.js +22 -6
- package/src/components/xform/lang/zh-CN.js +85 -99
- package/src/components/xform/mixins/defaultHandle.js +1 -1
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
document: "文档",
|
|
8
8
|
qqGroup: "技术WX群",
|
|
9
9
|
deployment: "私有部署",
|
|
10
|
-
subscription: "订阅Pro"
|
|
10
|
+
subscription: "订阅Pro",
|
|
11
11
|
},
|
|
12
12
|
designer: {
|
|
13
13
|
componentLib: "组件库",
|
|
@@ -37,7 +37,7 @@ export default {
|
|
|
37
37
|
"vf-dialog": "弹出窗口",
|
|
38
38
|
"vf-drawer": "侧滑抽屉",
|
|
39
39
|
input: "单行输入",
|
|
40
|
-
|
|
40
|
+
"input-batch": "批量输入",
|
|
41
41
|
textarea: "多行输入",
|
|
42
42
|
number: "计数器",
|
|
43
43
|
radio: "单选项",
|
|
@@ -57,46 +57,46 @@ export default {
|
|
|
57
57
|
"vue-page": "Vue页面",
|
|
58
58
|
button: "按钮",
|
|
59
59
|
divider: "分隔线",
|
|
60
|
-
census:
|
|
61
|
-
|
|
60
|
+
census: "统计",
|
|
61
|
+
"title-head": "标题头",
|
|
62
62
|
"picture-upload": "图片",
|
|
63
63
|
"file-upload": "文件",
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
64
|
+
vabUpload: "凭证",
|
|
65
|
+
vabUpload2: "凭证(海信)",
|
|
66
|
+
vabsearch: "搜索框",
|
|
67
|
+
search_button: "搜索按钮",
|
|
68
|
+
save_button: "保存按钮",
|
|
69
|
+
reset_button: "刷新按钮",
|
|
70
|
+
add_button: "新增按钮",
|
|
71
|
+
export_button: "导出按钮",
|
|
72
|
+
import_button: "导入按钮",
|
|
73
73
|
"import-button": "导入按钮",
|
|
74
74
|
"import2-button": "明细导入按钮",
|
|
75
75
|
"print-button": "导出/打印(列表)",
|
|
76
76
|
"print-detail-button": "导出/打印(详情)",
|
|
77
|
-
|
|
77
|
+
copy_button: "复制按钮",
|
|
78
78
|
"rich-editor": "富文本",
|
|
79
79
|
cascader: "级联选择",
|
|
80
80
|
"area-select": "地区选择",
|
|
81
81
|
slot: "插槽",
|
|
82
|
-
echart:
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
echart: "图表",
|
|
83
|
+
"echart-pie": "饼图",
|
|
84
|
+
"echart-bar": "柱状图",
|
|
85
|
+
"echart-category": "折线图",
|
|
86
86
|
custom: "Custom Component",
|
|
87
|
-
|
|
88
|
-
descriptions:
|
|
89
|
-
panel:
|
|
90
|
-
query:
|
|
87
|
+
"news-list": "列表",
|
|
88
|
+
descriptions: "描述列表",
|
|
89
|
+
panel: "面板",
|
|
90
|
+
query: "查询模块",
|
|
91
91
|
detail: "详情模块",
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
92
|
+
"detail-pane": "详情tab",
|
|
93
|
+
"detail-h5": "H5详情",
|
|
94
|
+
"list-h5": "H5列表",
|
|
95
|
+
text: "文本",
|
|
96
|
+
"tree-pane": "树/列表布局",
|
|
97
|
+
"h5-card": "h5卡片",
|
|
98
|
+
"h5-card-pane": "h5卡片选项卡",
|
|
99
|
+
"h5-table": "h5表格",
|
|
100
100
|
tree: "树形",
|
|
101
101
|
"table-export-button": "列表导出",
|
|
102
102
|
"select-export-item-button": "列表导出(明细)",
|
|
@@ -104,8 +104,8 @@ export default {
|
|
|
104
104
|
status: "状态",
|
|
105
105
|
"a-link": "超链接按钮",
|
|
106
106
|
"a-text": "超链接文本",
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
"project-tag": "标签",
|
|
108
|
+
dropdown: "下拉按钮",
|
|
109
109
|
|
|
110
110
|
"create_by-text": "创建人",
|
|
111
111
|
"modify_by-text": "更新人",
|
|
@@ -115,10 +115,12 @@ export default {
|
|
|
115
115
|
"saleOrg-vabsearch": "机构(单选)",
|
|
116
116
|
"user-project-tag": "用户(多选)",
|
|
117
117
|
"saleOrg-project-tag": "机构(多选)",
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
tempStorage: "暂存按钮",
|
|
119
|
+
oplog: "操作日志",
|
|
120
|
+
gantt: "甘特图",
|
|
121
121
|
"download-button": "附件下载",
|
|
122
|
+
cascader: "级联选择",
|
|
123
|
+
childrenKeyName: "子节点属性名称",
|
|
122
124
|
},
|
|
123
125
|
hint: {
|
|
124
126
|
formulaSetting: "公式设置",
|
|
@@ -146,60 +148,42 @@ export default {
|
|
|
146
148
|
formulaObject: "对象",
|
|
147
149
|
formulaDate: "日期",
|
|
148
150
|
formulaChar: "文字",
|
|
149
|
-
formulaPleaseSelect:
|
|
150
|
-
"请选择组件名和函数",
|
|
151
|
+
formulaPleaseSelect: "请选择组件名和函数",
|
|
151
152
|
formulaSample: "公式编辑举例",
|
|
152
153
|
formulaPara: "参数",
|
|
153
|
-
formulaINT:
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
formulaMAX:
|
|
164
|
-
"返回一组数中的最大值,举例:MAX(1,2,3,...)=3",
|
|
165
|
-
formulaMIN:
|
|
166
|
-
"返回一组数中的最小值,举例:MIN(1,2,3,...)=1",
|
|
167
|
-
formulaABS:
|
|
168
|
-
"求一个数的绝对值,举例:ABS(-5)=5",
|
|
169
|
-
formulaROUND:
|
|
170
|
-
"将数值保留指定小数位,举例:ROUND(8.999,2)=9.00",
|
|
171
|
-
formulaCEILING:
|
|
172
|
-
"将一个数向上取整,举例:CEILING(8.9)=9",
|
|
154
|
+
formulaINT: "将数值去掉小数,举例:INT(-8.9)=-9",
|
|
155
|
+
formulaSUM: "返回一组数据的和,举例:SUM(1,2,3,...)=6",
|
|
156
|
+
formulaSUMIF: `根据单个条件对指定区域内的数值求和,举例:SUMIF([10, 20, 30], ">10", [80, 120, 90])=210`,
|
|
157
|
+
formulaSUMIFS: `根据多个条件对指定区域内的数值求和(条件需同时满足),举例:SUMIFS([1000, 2000, 1500, 3000], [400, 600, 700, 800], '>500', [2022, 2023, 2023, 2024], 2023)=3500`,
|
|
158
|
+
formulaAVERAGE: "返回一组数据的平均数,举例:AVERAGE(1,2,3,...)=2",
|
|
159
|
+
formulaMAX: "返回一组数中的最大值,举例:MAX(1,2,3,...)=3",
|
|
160
|
+
formulaMIN: "返回一组数中的最小值,举例:MIN(1,2,3,...)=1",
|
|
161
|
+
formulaABS: "求一个数的绝对值,举例:ABS(-5)=5",
|
|
162
|
+
formulaROUND: "将数值保留指定小数位,举例:ROUND(8.999,2)=9.00",
|
|
163
|
+
formulaCEILING: "将一个数向上取整,举例:CEILING(8.9)=9",
|
|
173
164
|
formulaLOG:
|
|
174
165
|
"返回以参数2为底参数1的对数,举例:LOG(8,2)=3,以2为底8的对数为3",
|
|
175
|
-
formulaMOD:
|
|
176
|
-
|
|
177
|
-
formulaPOWER:
|
|
178
|
-
"求数字的N次方,举例:POWER(5, 3)=125",
|
|
166
|
+
formulaMOD: "求两数相除的余数,举例:MOD(2,6)=2",
|
|
167
|
+
formulaPOWER: "求数字的N次方,举例:POWER(5, 3)=125",
|
|
179
168
|
formulaAND:
|
|
180
169
|
"当所有条件都符合时,返回true,否则返回false,举例:AND(1>0,2>1,...)=TRUE",
|
|
181
170
|
formulaIF:
|
|
182
171
|
"判断一个条件能否满足,如果满足则返回一个值,如果不满足则返回另一个值,举例:IF(1>2,1,0)=0",
|
|
183
|
-
formulaIFS:
|
|
184
|
-
|
|
185
|
-
formulaIFERROR:
|
|
186
|
-
"举例:IFERROR('#DIV/0!', 'Error')",
|
|
172
|
+
formulaIFS: "举例:IFS(false, 'Hello!', true, 'Goodbye!')=Goodbye!",
|
|
173
|
+
formulaIFERROR: "举例:IFERROR('#DIV/0!', 'Error')",
|
|
187
174
|
formulaIFNA: "举例:IFNA('#N/A', 'Error')",
|
|
188
175
|
formulaNOT: "举例:NOT(true)=false",
|
|
189
176
|
formulaOR: "举例: OR (true, false, true)=true",
|
|
190
177
|
formulaSWITCH:
|
|
191
178
|
"SWITCH(参数值,条件1,'条件值1',条件2,'条件值2'[,条件N,'条件值N',]),举例:SWITCH(7, 9, 'Nine', 7, 'Seven')=Seven",
|
|
192
|
-
formulaXOR:
|
|
193
|
-
"举例:XOR(true, false, true)=false",
|
|
179
|
+
formulaXOR: "举例:XOR(true, false, true)=false",
|
|
194
180
|
formulaYEAR: '举例:YEAR("2022-10-1")=2022',
|
|
195
181
|
formulaMONTH: '举例:MONTH("2022-10-1")=10',
|
|
196
182
|
formulaDAY: '举例:DAY("2022-10-11")=11',
|
|
197
183
|
formulaTODAY: '举例: TODAY()="2022-10-11"',
|
|
198
184
|
formulaNOW: '举例: NOW="2022-10-11 17:04:33"',
|
|
199
|
-
formulaEMONTH:
|
|
200
|
-
|
|
201
|
-
formulaEDAY:
|
|
202
|
-
"举例: EMONTH ('2022-12-13 ', -1)='2022-12-12 '",
|
|
185
|
+
formulaEMONTH: "举例: EMONTH ('2022-12-13 ', -1)='2022-11-13 '",
|
|
186
|
+
formulaEDAY: "举例: EMONTH ('2022-12-13 ', -1)='2022-12-12 '",
|
|
203
187
|
formulaFIND: `查找字符串(参数:
|
|
204
188
|
1、查找句柄 2、查找目标字符串 3、开始查找下标),
|
|
205
189
|
举例:FIND('M', 'Miriam McGovern', 3)=8`,
|
|
@@ -207,20 +191,16 @@ export default {
|
|
|
207
191
|
"获取字符串左侧N个字符,LEFT(字符串,截取长度),举例:LEFT('Sale Price', 4)=Sale",
|
|
208
192
|
formulaRIGHT:
|
|
209
193
|
"获取字符串右侧N个字符 RIGHT(字符串,截取长度),举例:RIGHT('Sale Price', 5)=Price",
|
|
210
|
-
formulaLEN:
|
|
211
|
-
"统计字符串长度,举例:LEN('abcdefgh')=8",
|
|
194
|
+
formulaLEN: "统计字符串长度,举例:LEN('abcdefgh')=8",
|
|
212
195
|
formulaLOWER:
|
|
213
196
|
"字符串转小写,举例:LOWER('E. E. Cummings')=e. e. cummings",
|
|
214
|
-
formulaUPPER:
|
|
215
|
-
"字符串转大写,举例:UPPER('total')=TOTAL",
|
|
197
|
+
formulaUPPER: "字符串转大写,举例:UPPER('total')=TOTAL",
|
|
216
198
|
formulaMID:
|
|
217
199
|
"截取字符串 MID(字符串,开始下标,截取长度),举例:MID('Fluid Flow', 7, 20)=Flow",
|
|
218
200
|
formulaTRIM:
|
|
219
201
|
"字符串去除多余空格 TRIM(字符串),举例:TRIM(' First Quarter ')=First Quarter",
|
|
220
|
-
formulaDateError:
|
|
221
|
-
|
|
222
|
-
formulaDateErrorMsg:
|
|
223
|
-
"日期转换错误明细",
|
|
202
|
+
formulaDateError: "日期格式不正确",
|
|
203
|
+
formulaDateErrorMsg: "日期转换错误明细",
|
|
224
204
|
|
|
225
205
|
selectParentWidget: "选中父组件",
|
|
226
206
|
moveUpWidget: "上移组件",
|
|
@@ -269,7 +249,8 @@ export default {
|
|
|
269
249
|
sampleLoadedSuccess: "表单示例加载成功",
|
|
270
250
|
sampleLoadedFail: "表单示例加载失败",
|
|
271
251
|
loadFormTemplate: "加载此模板",
|
|
272
|
-
loadFormTemplateHint:
|
|
252
|
+
loadFormTemplateHint:
|
|
253
|
+
"是否加载这个模板?加载后会覆盖设计器当前表单,你可以使用“撤销”功能恢复。",
|
|
273
254
|
loadFormTemplateSuccess: "表单模板加载成功",
|
|
274
255
|
loadFormTemplateFailed: "表单模板加载失败",
|
|
275
256
|
currentNodeCannotBeSelected: "当前组件节点不可选择",
|
|
@@ -293,12 +274,16 @@ export default {
|
|
|
293
274
|
urlValidator: "网址",
|
|
294
275
|
noChineseValidator: "非中文字符",
|
|
295
276
|
chineseValidator: "仅中文字符",
|
|
296
|
-
rowspanNotConsistentForMergeEntireRow:
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
277
|
+
rowspanNotConsistentForMergeEntireRow:
|
|
278
|
+
"存在行高不一致的单元格, 无法合并整行.",
|
|
279
|
+
colspanNotConsistentForMergeEntireColumn:
|
|
280
|
+
"存在列宽不一致的单元格, 无法合并整列.",
|
|
281
|
+
rowspanNotConsistentForDeleteEntireRow:
|
|
282
|
+
"存在行高不一致的单元格, 不可删除整行.",
|
|
283
|
+
colspanNotConsistentForDeleteEntireColumn:
|
|
284
|
+
"存在列宽不一致的单元格, 不可删除整列.",
|
|
300
285
|
lastColCannotBeDeleted: "最后一列不可删除.",
|
|
301
|
-
lastRowCannotBeDeleted: "最后一行不可删除."
|
|
286
|
+
lastRowCannotBeDeleted: "最后一行不可删除.",
|
|
302
287
|
},
|
|
303
288
|
toolbar: {
|
|
304
289
|
undoHint: "撤销",
|
|
@@ -314,7 +299,7 @@ export default {
|
|
|
314
299
|
exportJson: "导出JSON",
|
|
315
300
|
exportCode: "导出代码",
|
|
316
301
|
generateCode: "生成代码",
|
|
317
|
-
generateSFC: "生成SFC"
|
|
302
|
+
generateSFC: "生成SFC",
|
|
318
303
|
},
|
|
319
304
|
setting: {
|
|
320
305
|
basicSetting: "基本属性",
|
|
@@ -351,7 +336,7 @@ export default {
|
|
|
351
336
|
disabled: "禁用",
|
|
352
337
|
hidden: "隐藏",
|
|
353
338
|
textContent: "静态文字",
|
|
354
|
-
preWrap:
|
|
339
|
+
preWrap: "自动换行",
|
|
355
340
|
htmlContent: "HTML",
|
|
356
341
|
clearable: "可清除",
|
|
357
342
|
areaDataType: "地区层级",
|
|
@@ -372,12 +357,13 @@ export default {
|
|
|
372
357
|
multiple: "选项可多选",
|
|
373
358
|
multipleLimit: "多选数量限制",
|
|
374
359
|
checkStrictly: "任意级节点可选",
|
|
360
|
+
showAllLevels: "显示完整路径",
|
|
375
361
|
contentPosition: "文字位置",
|
|
376
362
|
dividerDirection: "分割线方向",
|
|
377
363
|
plain: "朴素按钮",
|
|
378
364
|
round: "圆角按钮",
|
|
379
365
|
circle: "圆形按钮",
|
|
380
|
-
space:
|
|
366
|
+
space: "间隔(px)",
|
|
381
367
|
icon: "图标",
|
|
382
368
|
optionsSetting: "选项设置",
|
|
383
369
|
addOption: "增加选项",
|
|
@@ -406,12 +392,12 @@ export default {
|
|
|
406
392
|
colOffsetTitle: "左侧间隔格数",
|
|
407
393
|
colPushTitle: "右移栅格数",
|
|
408
394
|
colPullTitle: "左移栅格数",
|
|
409
|
-
colHeight:
|
|
395
|
+
colHeight: "栅格高度(px或%)",
|
|
410
396
|
addColumn: "增加栅格",
|
|
411
397
|
responsive: "响应式布局",
|
|
412
398
|
tabPaneSetting: "选项卡设置",
|
|
413
399
|
addTabPane: "增加选项卡页",
|
|
414
|
-
tabClass:
|
|
400
|
+
tabClass: "选项卡样式",
|
|
415
401
|
paneActive: "激活",
|
|
416
402
|
customLabelIcon: "定制字段标签",
|
|
417
403
|
labelIconClass: "标签Icon样式",
|
|
@@ -422,7 +408,7 @@ export default {
|
|
|
422
408
|
precision: "精度",
|
|
423
409
|
step: "增减步长",
|
|
424
410
|
controlsPosition: "控制按钮位置",
|
|
425
|
-
showbutton:
|
|
411
|
+
showbutton: "是否显示按钮",
|
|
426
412
|
minLength: "最小长度",
|
|
427
413
|
maxLength: "最大长度",
|
|
428
414
|
showWordLimit: "显示字数统计",
|
|
@@ -476,10 +462,10 @@ export default {
|
|
|
476
462
|
formCss: "表单全局CSS",
|
|
477
463
|
addCss: "编写CSS",
|
|
478
464
|
customClass: "自定义CSS样式",
|
|
479
|
-
containerClass:
|
|
465
|
+
containerClass: "容器样式",
|
|
480
466
|
styleTitClass: "样式选择",
|
|
481
467
|
styleTableClass: "表格样式",
|
|
482
|
-
iconClass:
|
|
468
|
+
iconClass: "图标样式",
|
|
483
469
|
globalFunctions: "表单全局函数",
|
|
484
470
|
addEventHandler: "编写代码",
|
|
485
471
|
editWidgetEventHandler: "组件事件处理",
|
|
@@ -591,8 +577,8 @@ export default {
|
|
|
591
577
|
dsRequestBooleanTypeError: "布尔类型值错误",
|
|
592
578
|
dsValidationError: "数据源设置存在错误,请修改",
|
|
593
579
|
dsDuplicatedNameError: "数据源名称重复,请修改!",
|
|
594
|
-
echartHeight:
|
|
595
|
-
isFullscreen:
|
|
580
|
+
echartHeight: "高度",
|
|
581
|
+
isFullscreen: "是否全屏",
|
|
596
582
|
widgetWidth: "组件宽度",
|
|
597
583
|
isFixbottom: "是否固定到最底",
|
|
598
584
|
|
|
@@ -621,7 +607,7 @@ export default {
|
|
|
621
607
|
enterForQuery: "输入关键字进行过滤",
|
|
622
608
|
add: "添加",
|
|
623
609
|
delete: "删除",
|
|
624
|
-
censusClass:
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
}
|
|
610
|
+
censusClass: "统计样式",
|
|
611
|
+
},
|
|
612
|
+
},
|
|
613
|
+
};
|