@lingxiteam/assets 4.2.1-alpha.2 → 4.3.2-alpha.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.
Files changed (175) hide show
  1. package/es/IconSvg/index.js +8 -7
  2. package/es/error/errorCatch/index.js +1 -1
  3. package/es/error/errorDisplay/Mobile/Drawer/Drawer.js +99 -77
  4. package/es/error/errorDisplay/Mobile/Drawer/index.js +26 -26
  5. package/es/error/errorDisplay/Mobile/ErrorMsg/index.js +127 -129
  6. package/es/error/errorDisplay/Mobile/Modal/Modal.js +46 -31
  7. package/es/error/errorDisplay/Mobile/Modal/index.js +24 -24
  8. package/es/error/errorDisplay/Mobile/defaultGlobalConfig.js +2 -2
  9. package/es/error/errorDisplay/Web/Drawer/Drawer.js +183 -145
  10. package/es/error/errorDisplay/Web/Drawer/DrawerConnect.js +43 -46
  11. package/es/error/errorDisplay/Web/Drawer/index.js +15 -15
  12. package/es/error/errorDisplay/Web/ErrorMsg/index.js +341 -327
  13. package/es/error/errorDisplay/Web/Notification/Notice.js +78 -65
  14. package/es/error/errorDisplay/Web/Notification/Notification.js +15 -15
  15. package/es/error/errorDisplay/Web/Notification/index.js +36 -38
  16. package/es/error/errorDisplay/Web/defaultGlobalConfig.js +2 -2
  17. package/es/error/errorDisplay/compUtils.js +6 -6
  18. package/es/error/errorDisplay/http.js +7 -7
  19. package/es/error/index.js +6 -6
  20. package/es/index.js +5 -5
  21. package/es/rootConfig/index.d.ts +1 -1
  22. package/es/rootConfig/index.js +5 -5
  23. package/es/rootConfig/locales/enus/config-locales-es.d.ts +2 -0
  24. package/es/rootConfig/locales/enus/config-locales-es.js +13 -0
  25. package/es/rootConfig/locales/enus/config-locales-es.mobile.d.ts +2 -0
  26. package/es/rootConfig/locales/enus/config-locales-es.mobile.js +106 -0
  27. package/es/rootConfig/locales/enus/config-locales-es.pc.d.ts +2 -0
  28. package/es/rootConfig/locales/enus/config-locales-es.pc.js +42 -0
  29. package/es/rootConfig/locales/enus/config-locales-es.todo-actionList.d.ts +2 -0
  30. package/es/rootConfig/locales/enus/config-locales-es.todo-actionList.js +865 -0
  31. package/es/rootConfig/locales/enus/config-locales-es.todo-callback.d.ts +2 -0
  32. package/es/rootConfig/locales/enus/config-locales-es.todo-callback.js +20 -0
  33. package/es/rootConfig/locales/enus/config-locales-es.todo-optionList.d.ts +2 -0
  34. package/es/rootConfig/locales/enus/config-locales-es.todo-optionList.js +266 -0
  35. package/es/rootConfig/locales/zhcn/config-locales-cn.d.ts +2 -0
  36. package/es/rootConfig/locales/zhcn/config-locales-cn.js +13 -0
  37. package/es/rootConfig/locales/zhcn/config-locales-cn.mobile.d.ts +2 -0
  38. package/es/rootConfig/locales/zhcn/config-locales-cn.mobile.js +57 -0
  39. package/es/rootConfig/locales/zhcn/config-locales-cn.pc.d.ts +2 -0
  40. package/es/rootConfig/locales/zhcn/config-locales-cn.pc.js +97 -0
  41. package/es/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.d.ts +2 -0
  42. package/es/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.js +583 -0
  43. package/es/rootConfig/locales/zhcn/config-locales-cn.todo-callback.d.ts +2 -0
  44. package/es/rootConfig/locales/zhcn/config-locales-cn.todo-callback.js +13 -0
  45. package/es/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.d.ts +2 -0
  46. package/es/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.js +127 -0
  47. package/es/rootConfig/locales/zhhk/config-locales-hk.d.ts +2 -0
  48. package/es/rootConfig/locales/zhhk/config-locales-hk.js +13 -0
  49. package/es/rootConfig/locales/zhhk/config-locales-hk.mobile.d.ts +2 -0
  50. package/es/rootConfig/locales/zhhk/config-locales-hk.mobile.js +106 -0
  51. package/es/rootConfig/locales/zhhk/config-locales-hk.pc.d.ts +2 -0
  52. package/es/rootConfig/locales/zhhk/config-locales-hk.pc.js +174 -0
  53. package/es/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.d.ts +2 -0
  54. package/es/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.js +869 -0
  55. package/es/rootConfig/locales/zhhk/config-locales-hk.todo-callback.d.ts +2 -0
  56. package/es/rootConfig/locales/zhhk/config-locales-hk.todo-callback.js +20 -0
  57. package/es/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.d.ts +2 -0
  58. package/es/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.js +266 -0
  59. package/es/rootConfig/mobile/BusiComp.d.ts +0 -1
  60. package/es/rootConfig/mobile/BusiComp.js +13 -10
  61. package/es/rootConfig/mobile/MobileModal.js +32 -27
  62. package/es/rootConfig/mobile/MobilePopover.d.ts +0 -2
  63. package/es/rootConfig/mobile/MobilePopover.js +16 -13
  64. package/es/rootConfig/mobile/index.js +4 -4
  65. package/es/rootConfig/mobile/page.d.ts +17 -2
  66. package/es/rootConfig/mobile/page.js +45 -38
  67. package/es/rootConfig/pc/BusiComp.js +82 -12
  68. package/es/rootConfig/pc/Drawer.d.ts +8 -9
  69. package/es/rootConfig/pc/Drawer.js +116 -46
  70. package/es/rootConfig/pc/Modal.d.ts +0 -1
  71. package/es/rootConfig/pc/Modal.js +90 -20
  72. package/es/rootConfig/pc/Popover.d.ts +0 -1
  73. package/es/rootConfig/pc/Popover.js +85 -15
  74. package/es/rootConfig/pc/index.js +5 -5
  75. package/es/rootConfig/pc/page.d.ts +0 -2
  76. package/es/rootConfig/pc/page.js +91 -22
  77. package/es/rootConfig/todoActionList.d.ts +1 -0
  78. package/es/rootConfig/todoActionList.js +1845 -719
  79. package/es/rootConfig/todoCallback.d.ts +12 -1
  80. package/es/rootConfig/todoCallback.js +175 -103
  81. package/es/rootConfig/todoOptionList.d.ts +0 -66
  82. package/es/rootConfig/todoOptionList.js +197 -198
  83. package/es/theme/index.js +18 -20
  84. package/es/theme/src/default/index.js +7 -7
  85. package/es/theme/utils/renderColors.js +1 -1
  86. package/es/utils/url.js +8 -7
  87. package/lib/IconSvg/index.js +10 -9
  88. package/lib/error/errorCatch/index.js +2 -3
  89. package/lib/error/errorDisplay/Mobile/Drawer/Drawer.js +99 -79
  90. package/lib/error/errorDisplay/Mobile/Drawer/index.js +25 -26
  91. package/lib/error/errorDisplay/Mobile/ErrorMsg/index.js +123 -126
  92. package/lib/error/errorDisplay/Mobile/Modal/Modal.js +45 -33
  93. package/lib/error/errorDisplay/Mobile/Modal/index.js +23 -24
  94. package/lib/error/errorDisplay/Mobile/defaultGlobalConfig.js +3 -5
  95. package/lib/error/errorDisplay/SVGstring.js +6 -12
  96. package/lib/error/errorDisplay/Web/Drawer/Drawer.js +181 -146
  97. package/lib/error/errorDisplay/Web/Drawer/DrawerConnect.js +44 -48
  98. package/lib/error/errorDisplay/Web/Drawer/index.js +18 -20
  99. package/lib/error/errorDisplay/Web/ErrorMsg/index.js +336 -324
  100. package/lib/error/errorDisplay/Web/Notification/Notice.js +79 -68
  101. package/lib/error/errorDisplay/Web/Notification/Notification.js +15 -16
  102. package/lib/error/errorDisplay/Web/Notification/index.js +37 -41
  103. package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +3 -5
  104. package/lib/error/errorDisplay/compUtils.js +9 -12
  105. package/lib/error/errorDisplay/const.js +7 -13
  106. package/lib/error/errorDisplay/http.js +8 -9
  107. package/lib/index.js +3 -6
  108. package/lib/rootConfig/index.d.ts +1 -1
  109. package/lib/rootConfig/index.js +9 -3
  110. package/lib/rootConfig/locales/enus/config-locales-es.d.ts +2 -0
  111. package/lib/rootConfig/locales/enus/config-locales-es.js +19 -0
  112. package/lib/rootConfig/locales/enus/config-locales-es.mobile.d.ts +2 -0
  113. package/lib/rootConfig/locales/enus/config-locales-es.mobile.js +112 -0
  114. package/lib/rootConfig/locales/enus/config-locales-es.pc.d.ts +2 -0
  115. package/lib/rootConfig/locales/enus/config-locales-es.pc.js +48 -0
  116. package/lib/rootConfig/locales/enus/config-locales-es.todo-actionList.d.ts +2 -0
  117. package/lib/rootConfig/locales/enus/config-locales-es.todo-actionList.js +871 -0
  118. package/lib/rootConfig/locales/enus/config-locales-es.todo-callback.d.ts +2 -0
  119. package/lib/rootConfig/locales/enus/config-locales-es.todo-callback.js +26 -0
  120. package/lib/rootConfig/locales/enus/config-locales-es.todo-optionList.d.ts +2 -0
  121. package/lib/rootConfig/locales/enus/config-locales-es.todo-optionList.js +272 -0
  122. package/lib/rootConfig/locales/zhcn/config-locales-cn.d.ts +2 -0
  123. package/lib/rootConfig/locales/zhcn/config-locales-cn.js +19 -0
  124. package/lib/rootConfig/locales/zhcn/config-locales-cn.mobile.d.ts +2 -0
  125. package/lib/rootConfig/locales/zhcn/config-locales-cn.mobile.js +63 -0
  126. package/lib/rootConfig/locales/zhcn/config-locales-cn.pc.d.ts +2 -0
  127. package/lib/rootConfig/locales/zhcn/config-locales-cn.pc.js +103 -0
  128. package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.d.ts +2 -0
  129. package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.js +589 -0
  130. package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-callback.d.ts +2 -0
  131. package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-callback.js +19 -0
  132. package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.d.ts +2 -0
  133. package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.js +133 -0
  134. package/lib/rootConfig/locales/zhhk/config-locales-hk.d.ts +2 -0
  135. package/lib/rootConfig/locales/zhhk/config-locales-hk.js +19 -0
  136. package/lib/rootConfig/locales/zhhk/config-locales-hk.mobile.d.ts +2 -0
  137. package/lib/rootConfig/locales/zhhk/config-locales-hk.mobile.js +112 -0
  138. package/lib/rootConfig/locales/zhhk/config-locales-hk.pc.d.ts +2 -0
  139. package/lib/rootConfig/locales/zhhk/config-locales-hk.pc.js +180 -0
  140. package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.d.ts +2 -0
  141. package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.js +875 -0
  142. package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-callback.d.ts +2 -0
  143. package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-callback.js +26 -0
  144. package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.d.ts +2 -0
  145. package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.js +272 -0
  146. package/lib/rootConfig/mobile/BusiComp.d.ts +0 -1
  147. package/lib/rootConfig/mobile/BusiComp.js +14 -12
  148. package/lib/rootConfig/mobile/MobileModal.js +33 -29
  149. package/lib/rootConfig/mobile/MobilePopover.d.ts +0 -2
  150. package/lib/rootConfig/mobile/MobilePopover.js +17 -15
  151. package/lib/rootConfig/mobile/page.d.ts +17 -2
  152. package/lib/rootConfig/mobile/page.js +46 -40
  153. package/lib/rootConfig/pc/BusiComp.js +83 -14
  154. package/lib/rootConfig/pc/Drawer.d.ts +8 -9
  155. package/lib/rootConfig/pc/Drawer.js +117 -48
  156. package/lib/rootConfig/pc/Modal.d.ts +0 -1
  157. package/lib/rootConfig/pc/Modal.js +91 -22
  158. package/lib/rootConfig/pc/Popover.d.ts +0 -1
  159. package/lib/rootConfig/pc/Popover.js +86 -17
  160. package/lib/rootConfig/pc/page.d.ts +0 -2
  161. package/lib/rootConfig/pc/page.js +92 -24
  162. package/lib/rootConfig/todoActionList.d.ts +1 -0
  163. package/lib/rootConfig/todoActionList.js +1815 -695
  164. package/lib/rootConfig/todoCallback.d.ts +12 -1
  165. package/lib/rootConfig/todoCallback.js +182 -116
  166. package/lib/rootConfig/todoOptionList.d.ts +0 -66
  167. package/lib/rootConfig/todoOptionList.js +198 -200
  168. package/lib/theme/bin/default/modalWidth.js +1 -2
  169. package/lib/theme/index.js +19 -22
  170. package/lib/theme/src/default/index.js +7 -7
  171. package/lib/theme/utils/renderColors.js +1 -1
  172. package/lib/utils/cookieUtil.js +1 -2
  173. package/lib/utils/img.js +2 -3
  174. package/lib/utils/url.js +13 -16
  175. package/package.json +3 -4
@@ -1,3 +1,7 @@
1
+ var TODO_OPTION_LOCALE_PREFIX = 'todo.optionList';
2
+ var localeKey = function localeKey(s) {
3
+ return "".concat(TODO_OPTION_LOCALE_PREFIX, ".").concat(s);
4
+ };
1
5
  var SERVICE_KEY = {
2
6
  QUERY: '11',
3
7
  INNER: '12',
@@ -6,6 +10,7 @@ var SERVICE_KEY = {
6
10
  OBJECT: '2',
7
11
  SUPER: '7'
8
12
  };
13
+
9
14
  /**
10
15
  * @description: 动作的配置项信息
11
16
  * key:配置项的key, 用于dot模板取值
@@ -21,7 +26,7 @@ var SERVICE_KEY = {
21
26
  var todoOptionList = {
22
27
  url: {
23
28
  key: 'url',
24
- label: '请求地址(URL)',
29
+ label: localeKey('url.label'),
25
30
  type: 'SelectServiceUrl',
26
31
  props: {
27
32
  isRequired: true,
@@ -30,7 +35,7 @@ var todoOptionList = {
30
35
  },
31
36
  sqlServiceCode: {
32
37
  key: 'sqlServiceCode',
33
- label: '选择SQL查询服务',
38
+ label: localeKey('sqlServiceCode.label'),
34
39
  type: 'SelectSQLServiceCode'
35
40
  },
36
41
  sqlServiceFields: {
@@ -45,7 +50,7 @@ var todoOptionList = {
45
50
  },
46
51
  arelStaticData: {
47
52
  key: 'arelStaticData',
48
- label: 'A端静态数据',
53
+ label: localeKey('arelStaticData.label'),
49
54
  type: 'SelectStaticData',
50
55
  props: {
51
56
  options: {
@@ -55,7 +60,7 @@ var todoOptionList = {
55
60
  },
56
61
  zrelStaticData: {
57
62
  key: 'zrelStaticData',
58
- label: 'Z端静态数据',
63
+ label: localeKey('zrelStaticData.label'),
59
64
  type: 'SelectStaticData',
60
65
  props: {
61
66
  options: {
@@ -70,7 +75,7 @@ var todoOptionList = {
70
75
  },
71
76
  custTargetVal: {
72
77
  key: 'custTargetVal',
73
- label: '自定义触发值',
78
+ label: localeKey('custTargetVal.label'),
74
79
  type: 'SetExpression'
75
80
  },
76
81
  visible: {
@@ -93,7 +98,7 @@ var todoOptionList = {
93
98
  },
94
99
  readonly: {
95
100
  key: 'readonly',
96
- label: '编辑状态设置',
101
+ label: localeKey('readonly.label'),
97
102
  type: 'RadioButton',
98
103
  defaultValue: '',
99
104
  props: {
@@ -116,7 +121,7 @@ var todoOptionList = {
116
121
  defaultValue: 'id',
117
122
  props: {
118
123
  options: [{
119
- title: '唯一字段编码',
124
+ title: localeKey('bsSelectType.props.options.0.title'),
120
125
  value: 'id'
121
126
  }, {
122
127
  title: '循环项索引',
@@ -153,7 +158,7 @@ var todoOptionList = {
153
158
  label: '开始值',
154
159
  type: 'SetExpression',
155
160
  props: {
156
- placeholder: '请输入YYYY-MM-DD格式的时间'
161
+ placeholder: localeKey('startVal.props.placeholder')
157
162
  }
158
163
  },
159
164
  endVal: {
@@ -161,7 +166,7 @@ var todoOptionList = {
161
166
  label: '结束值',
162
167
  type: 'SetExpression',
163
168
  props: {
164
- placeholder: '请输入YYYY-MM-DD格式的时间'
169
+ placeholder: localeKey('endVal.props.placeholder')
165
170
  }
166
171
  },
167
172
  loading: {
@@ -254,7 +259,7 @@ var todoOptionList = {
254
259
  type: 'Select',
255
260
  props: {
256
261
  options: [{
257
- title: 'PDF',
262
+ title: localeKey('expType.props.options.0.title'),
258
263
  value: 'pdf'
259
264
  }, {
260
265
  title: '图片',
@@ -267,7 +272,7 @@ var todoOptionList = {
267
272
  label: '文件名',
268
273
  type: 'input',
269
274
  props: {
270
- placeholder: '请输入导出的文件名'
275
+ placeholder: localeKey('expFileName.props.placeholder')
271
276
  }
272
277
  },
273
278
  modalType: {
@@ -295,12 +300,12 @@ var todoOptionList = {
295
300
  },
296
301
  okText: {
297
302
  key: 'okText',
298
- label: '确认按钮文本',
303
+ label: localeKey('okText.label'),
299
304
  type: 'Input'
300
305
  },
301
306
  cancelText: {
302
307
  key: 'cancelText',
303
- label: '取消按钮文本',
308
+ label: localeKey('cancelText.label'),
304
309
  type: 'Input',
305
310
  visibleFlag: 'type',
306
311
  visibleFlagValue: ['confirm']
@@ -371,12 +376,12 @@ var todoOptionList = {
371
376
  // ],
372
377
  type: 'SetExpression',
373
378
  props: {
374
- placeholder: '新增-add, 编辑-edit, 详情-detail'
379
+ placeholder: localeKey('actionType.props.placeholder')
375
380
  }
376
381
  },
377
382
  tripleFormId: {
378
383
  key: 'detailId',
379
- label: '详情id',
384
+ label: localeKey('tripleFormId.label'),
380
385
  type: 'SetExpression'
381
386
  },
382
387
  dataSource: {
@@ -386,41 +391,41 @@ var todoOptionList = {
386
391
  },
387
392
  parentKey: {
388
393
  key: 'parentKey',
389
- label: '操作节点key',
394
+ label: localeKey('parentKey.label'),
390
395
  type: 'SetExpression'
391
396
  },
392
397
  dataSourceFileId: {
393
398
  key: 'data',
394
- label: '文件ID',
399
+ label: localeKey('dataSourceFileId.label'),
395
400
  type: 'SetExpression',
396
- labelTip: '支持逗号分隔或者数组形式的多文件下载,如:1,2或者$[1,2]$'
401
+ labelTip: localeKey('dataSourceFileId.labelTip')
397
402
  },
398
403
  labelKey: {
399
404
  key: 'labelKey',
400
- label: '节点名称取值字段',
405
+ label: localeKey('labelKey.label'),
401
406
  type: 'SetExpressionKey'
402
407
  },
403
408
  nodeValueKey: {
404
409
  key: 'nodeValueKey',
405
- label: '节点key取值字段',
410
+ label: localeKey('nodeValueKey.label'),
406
411
  type: 'SetExpressionKey'
407
412
  },
408
413
  urlValueKey: {
409
414
  key: 'urlValueKey',
410
- label: '节点url取值字段',
415
+ label: localeKey('urlValueKey.label'),
411
416
  type: 'SetExpressionKey'
412
417
  },
413
418
  selectable: {
414
419
  key: 'selectable',
415
- label: '节点可选字段编码',
420
+ label: localeKey('selectable.label'),
416
421
  type: 'SetExpressionKey',
417
- labelTip: "\u9002\u7528\u573A\u666F\uFF1A\u9700\u8981\u63A7\u5236\u5F53\u524D\u8282\u70B9\u662F\u5426\u80FD\u591F\u9009\u62E9\uFF0C\u4E14\u9700\u540E\u7AEF\u670D\u52A1\u6709\u5B57\u6BB5\u6807\u8BC6\u51FA\u662F\u5426\u53EF\u9009\uFF1B\n \u5904\u7406\u903B\u8F91\uFF1A\u5F53\u8282\u70B9\u7684\u5B57\u6BB5\u7F16\u7801\u503C\u4E3A\u5E03\u5C14\u7C7B\u578B\u7684false\uFF0C\u6216\u8005\u5B57\u7B26\u4E32\u7C7B\u578B\u4E3A'false'\u3001\n \u7A7A\u5B57\u7B26\u4E32\u65F6\uFF0C\u90FD\u8BA4\u4E3A\u4E0D\u53EF\u9009\uFF0C\u5426\u5219\u8BA4\u4E3A\u53EF\u9009\u3002"
422
+ labelTip: localeKey('selectable.labelTip')
418
423
  },
419
424
  childrenKey: {
420
425
  key: 'childrenKey',
421
- label: '下级列表取值字段',
426
+ label: localeKey('childrenKey.label'),
422
427
  type: 'SetExpressionKey',
423
- labelTip: "\u4F7F\u7528\u573A\u666F\uFF1A\u4E00\u6B21\u6027\u67E5\u8BE2\u6240\u6709\u6570\u636E\u65F6\uFF0C\u9700\u8981\u8BBE\u7F6E\u4E0B\u4E00\u7EA7\u5217\u8868\u6570\u636E\u7684\u53D6\u503C\u5B57\u6BB5\uFF1B\n \u793A\u4F8B\u8BF4\u660E\uFF1A\u5982\u4E0B\u53C2\u6570\uFF0C\u5F53\u67E5\u8BE2\u6240\u6709\u6570\u636E\uFF0C\u9700\u8981\u6807\u8BB0\u51FA\u4ECEchildren\u5B57\u6BB5\u83B7\u53D6\u4E0B\u7EA7\u5217\u8868\u7684\u6570\u636E\uFF1B\n {\n \"resultObject\": [{\n \"children\": [{\n \"children\": [],\n \"parent_id\": \"10700\",\n \"name\": \"2-1\",\n \"id\": \"10900\",\n }]\uFF0C\n \"parent_id\": \"-1\",\n \"name\": \"\u7B2C\u4E8C\u68F5\",\n \"id\": \"10700\",\n }]\n }\n "
428
+ labelTip: localeKey('childrenKey.labelTip')
424
429
  },
425
430
  selectValueKey: {
426
431
  key: 'valueKey',
@@ -429,7 +434,7 @@ var todoOptionList = {
429
434
  },
430
435
  selectLabelKey: {
431
436
  key: 'labelKey',
432
- label: '选项内容字段',
437
+ label: localeKey('selectLabelKey.label'),
433
438
  type: 'SetExpressionKey'
434
439
  },
435
440
  selectValueKeyForRC: {
@@ -439,7 +444,7 @@ var todoOptionList = {
439
444
  },
440
445
  selectLabelKeyForRC: {
441
446
  key: 'labelKey',
442
- label: '显示内容字段',
447
+ label: localeKey('selectLabelKeyForRC.label'),
443
448
  type: 'SetExpressionKey'
444
449
  },
445
450
  total: {
@@ -464,7 +469,7 @@ var todoOptionList = {
464
469
  },
465
470
  searchParams: {
466
471
  key: 'search',
467
- label: 'url参数',
472
+ label: localeKey('searchParams.label'),
468
473
  type: 'SearchParams'
469
474
  },
470
475
  routerData: {
@@ -494,12 +499,12 @@ var todoOptionList = {
494
499
  },
495
500
  activeTabKey: {
496
501
  key: 'activeTabKey',
497
- label: 'Tab选中key',
502
+ label: localeKey('activeTabKey.label'),
498
503
  type: 'ActiveTabKey'
499
504
  },
500
505
  downloadUrl: {
501
506
  key: 'downloadUrl',
502
- label: '下载链接地址',
507
+ label: localeKey('downloadUrl.label'),
503
508
  type: 'DownloadUrl'
504
509
  },
505
510
  uploadProps: {
@@ -509,7 +514,7 @@ var todoOptionList = {
509
514
  },
510
515
  inlineeditnow: {
511
516
  key: 'inlineeditnow',
512
- label: '新增后启用行内编辑',
517
+ label: localeKey('inlineeditnow.label'),
513
518
  type: 'Select',
514
519
  props: {
515
520
  options: [{
@@ -569,27 +574,27 @@ var todoOptionList = {
569
574
  },
570
575
  nodeKey: {
571
576
  key: 'nodeKey',
572
- label: '操作节点key',
577
+ label: localeKey('nodeKey.label'),
573
578
  type: 'SetExpression'
574
579
  },
575
580
  valueKey: {
576
581
  key: 'key',
577
- label: '节点key取值字段',
582
+ label: localeKey('valueKey.label'),
578
583
  type: 'SetExpression'
579
584
  },
580
585
  titleKey: {
581
586
  key: 'title',
582
- label: '节点名称取值字段',
587
+ label: localeKey('titleKey.label'),
583
588
  type: 'SetExpression'
584
589
  },
585
590
  stateName: {
586
591
  key: 'stateName',
587
- label: '自定义属性名',
592
+ label: localeKey('stateName.label'),
588
593
  type: 'Input'
589
594
  },
590
595
  inlineeditrow: {
591
596
  key: 'inlineeditrow',
592
- label: '指定行id',
597
+ label: localeKey('inlineeditrow.label'),
593
598
  type: 'SetExpression'
594
599
  },
595
600
  stateval: {
@@ -599,7 +604,7 @@ var todoOptionList = {
599
604
  },
600
605
  timername: {
601
606
  key: 'timername',
602
- label: '定时器命名(页面内不可重复)',
607
+ label: localeKey('timername.label'),
603
608
  type: 'Input'
604
609
  },
605
610
  interval: {
@@ -627,6 +632,7 @@ var todoOptionList = {
627
632
  },
628
633
  compId: {
629
634
  key: 'compid',
635
+ // 避免与action options对象中默认compId重名
630
636
  label: '组件选择',
631
637
  type: 'CompTree'
632
638
  },
@@ -637,11 +643,11 @@ var todoOptionList = {
637
643
  },
638
644
  fileName: {
639
645
  key: 'fileName',
640
- label: '自定义文件名称',
646
+ label: localeKey('fileName.label'),
641
647
  type: 'SetExpression',
642
- labelTip: '未设置文件名称时,则为文件原本的名称',
648
+ labelTip: localeKey('fileName.labelTip'),
643
649
  props: {
644
- placeholder: '包括后缀,如: 表格.xls'
650
+ placeholder: localeKey('fileName.props.placeholder')
645
651
  }
646
652
  },
647
653
  loadmoreKey: {
@@ -654,7 +660,7 @@ var todoOptionList = {
654
660
  label: 'appId',
655
661
  type: 'Input',
656
662
  props: {
657
- placeholder: '如:wx_xxxxx'
663
+ placeholder: localeKey('wechatappId.props.placeholder')
658
664
  }
659
665
  },
660
666
  jsonId: {
@@ -664,9 +670,9 @@ var todoOptionList = {
664
670
  },
665
671
  fileId: {
666
672
  key: 'fileId',
667
- label: '文件ID',
673
+ label: localeKey('fileId.label'),
668
674
  type: 'SetExpression',
669
- labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等 注意:如果是外部URL,有可能存在跨域现象! 注意:如果是外部URL,有可能存在跨域现象!'
675
+ labelTip: localeKey('fileId.labelTip')
670
676
  },
671
677
  loadMoreTotal: {
672
678
  key: 'total',
@@ -688,47 +694,47 @@ var todoOptionList = {
688
694
  label: '方法名',
689
695
  type: 'input',
690
696
  props: {
691
- placeholder: '例如:openCamera'
697
+ placeholder: localeKey('jsBridgeMethod.props.placeholder')
692
698
  }
693
699
  },
694
700
  androidWebName: {
695
701
  key: 'androidWebName',
696
- label: '安卓容器名称',
702
+ label: localeKey('androidWebName.label'),
697
703
  type: 'input',
698
704
  props: {
699
- placeholder: '默认:Android'
705
+ placeholder: localeKey('androidWebName.props.placeholder')
700
706
  }
701
707
  },
702
708
  androidSuccessFunName: {
703
709
  key: 'androidSuccessFunName',
704
- label: '安卓端成功回调方法名',
710
+ label: localeKey('androidSuccessFunName.label'),
705
711
  type: 'input',
706
712
  props: {
707
- placeholder: '例如:openCameraSuccess[用于Android成功回调H5]'
713
+ placeholder: localeKey('androidSuccessFunName.props.placeholder')
708
714
  }
709
715
  },
710
716
  iOSSuccessFunName: {
711
717
  key: 'iOSSuccessFunName',
712
- label: 'iOS端成功回调方法名',
718
+ label: localeKey('iOSSuccessFunName.label'),
713
719
  type: 'input',
714
720
  props: {
715
- placeholder: '例如:openCameraSuccess[用于iOS成功回调H5]'
721
+ placeholder: localeKey('iOSSuccessFunName.props.placeholder')
716
722
  }
717
723
  },
718
724
  androidFailFunName: {
719
725
  key: 'androidFailFunName',
720
- label: '安卓端失败回调方法名',
726
+ label: localeKey('androidFailFunName.label'),
721
727
  type: 'input',
722
728
  props: {
723
- placeholder: '例如:openCameraFail[用于Android失败的回调H5]'
729
+ placeholder: localeKey('androidFailFunName.props.placeholder')
724
730
  }
725
731
  },
726
732
  iOSFailFunName: {
727
733
  key: 'iOSFailFunName',
728
- label: 'iOS端失败回调方法名',
734
+ label: localeKey('iOSFailFunName.label'),
729
735
  type: 'input',
730
736
  props: {
731
- placeholder: '例如:openCameraFail[用于iOS失败的回调H5]'
737
+ placeholder: localeKey('iOSFailFunName.props.placeholder')
732
738
  }
733
739
  },
734
740
  customParams: {
@@ -743,7 +749,7 @@ var todoOptionList = {
743
749
  },
744
750
  flowUrl: {
745
751
  key: 'flowUrl',
746
- label: '流程请求接口',
752
+ label: localeKey('flowUrl.label'),
747
753
  type: 'input'
748
754
  },
749
755
  flowType: {
@@ -772,11 +778,10 @@ var todoOptionList = {
772
778
  // 流程业务工单 ID
773
779
  flowWorkOrderId: {
774
780
  key: 'workOrderId',
775
- label: '业务工单 ID',
781
+ label: localeKey('flowWorkOrderId.label'),
776
782
  type: 'SetExpression'
777
783
  },
778
784
  // 这里三个字段没设置type。经协商(gy)为无用类型,先注释
779
- // 流程页面按钮动作服务响应数据
780
785
  // flowSerResp: {
781
786
  // key: 'serResp',
782
787
  // label: '服务响应数据',
@@ -798,7 +803,7 @@ var todoOptionList = {
798
803
  // 业务工单类型
799
804
  workOrderType: {
800
805
  key: 'workOrderType',
801
- label: '业务工单类型',
806
+ label: localeKey('workOrderType.label'),
802
807
  type: 'SetExpression'
803
808
  },
804
809
  flowAuditDesc: {
@@ -808,7 +813,7 @@ var todoOptionList = {
808
813
  },
809
814
  flowFileId: {
810
815
  key: 'flowFileId',
811
- label: '附件ID',
816
+ label: localeKey('flowFileId.label'),
812
817
  type: 'SetExpression'
813
818
  },
814
819
  configDealUserId: {
@@ -818,22 +823,22 @@ var todoOptionList = {
818
823
  },
819
824
  flowBtnActionType: {
820
825
  key: 'flowBtnActionType',
821
- label: '按钮动作类型',
826
+ label: localeKey('flowBtnActionType.label'),
822
827
  type: 'SetExpression'
823
828
  },
824
829
  flowWorkId: {
825
830
  key: 'flowWorkId',
826
- label: '流程实例ID',
831
+ label: localeKey('flowWorkId.label'),
827
832
  type: 'SetExpression'
828
833
  },
829
834
  flowTabStepVisible: {
830
835
  key: 'flowTabStepVisible',
831
- label: '展示流程实例图',
836
+ label: localeKey('flowTabStepVisible.label'),
832
837
  type: 'Switch'
833
838
  },
834
839
  flowTimelineVisible: {
835
840
  key: 'flowTimelineVisible',
836
- label: '展示流程轨迹',
841
+ label: localeKey('flowTimelineVisible.label'),
837
842
  type: 'Switch'
838
843
  },
839
844
  flowCustParams: {
@@ -843,7 +848,7 @@ var todoOptionList = {
843
848
  },
844
849
  workItemId: {
845
850
  key: 'workItemId',
846
- label: '工单ID',
851
+ label: localeKey('workItemId.label'),
847
852
  type: 'SetExpression'
848
853
  },
849
854
  flowExtraParams: {
@@ -867,14 +872,14 @@ var todoOptionList = {
867
872
  // },
868
873
  diagramType: {
869
874
  key: 'diagramType',
870
- label: '选择实例图类型',
875
+ label: localeKey('diagramType.label'),
871
876
  type: 'Select',
872
877
  props: {
873
878
  options: [{
874
- title: '当前流程实例图',
879
+ title: localeKey('diagramType.props.options.0.title'),
875
880
  value: 'default'
876
881
  }, {
877
- title: '指定主干流程实例图',
882
+ title: localeKey('diagramType.props.options.1.title'),
878
883
  value: 'custom'
879
884
  }]
880
885
  }
@@ -886,7 +891,7 @@ var todoOptionList = {
886
891
  },
887
892
  diagramWorkOrderId: {
888
893
  key: 'diagramWorkOrderId',
889
- label: '业务单ID',
894
+ label: localeKey('diagramWorkOrderId.label'),
890
895
  type: 'SetExpression'
891
896
  },
892
897
  selectServerDataSource: {
@@ -960,14 +965,13 @@ var todoOptionList = {
960
965
  },
961
966
  selectObjectDataSource: {
962
967
  key: 'selectObjectDataSource',
963
- label: '选择业务对象数据源',
968
+ label: localeKey('selectObjectDataSource.label'),
964
969
  type: 'selectObjectDataSource',
965
970
  props: {
966
971
  isRequired: true,
967
972
  valuePropName: 'postDataSource' // 编辑后值存于 options.postDataSource
968
973
  }
969
974
  },
970
-
971
975
  iframeData: {
972
976
  key: 'iframeData',
973
977
  label: '发送内容',
@@ -980,12 +984,12 @@ var todoOptionList = {
980
984
  },
981
985
  rProps: {
982
986
  key: 'rProps',
983
- label: '设置自定义组件属性',
987
+ label: localeKey('rProps.label'),
984
988
  type: 'SelectCustomParams'
985
989
  },
986
990
  hasEventExtService: {
987
991
  key: 'hasEventExtService',
988
- label: '需要开启服务扩展',
992
+ label: localeKey('hasEventExtService.label'),
989
993
  type: 'Select',
990
994
  props: {
991
995
  options: [{
@@ -999,20 +1003,20 @@ var todoOptionList = {
999
1003
  },
1000
1004
  eventExtService: {
1001
1005
  key: 'eventExtService',
1002
- label: '选择业务场景来扩展服务',
1006
+ label: localeKey('eventExtService.label'),
1003
1007
  type: 'SetEventExtService'
1004
1008
  },
1005
1009
  tempName: {
1006
1010
  key: 'name',
1007
- label: '设置模板名称',
1011
+ label: localeKey('tempName.label'),
1008
1012
  type: 'Input',
1009
1013
  props: {
1010
- placeholder: '请输入模板名称'
1014
+ placeholder: localeKey('tempName.props.placeholder')
1011
1015
  }
1012
1016
  },
1013
1017
  busiObjectId: {
1014
1018
  key: 'busiObjectId',
1015
- label: '选择业务对象',
1019
+ label: localeKey('busiObjectId.label'),
1016
1020
  type: 'SelectBusiObjectId',
1017
1021
  props: {
1018
1022
  isRequired: true,
@@ -1041,7 +1045,7 @@ var todoOptionList = {
1041
1045
  },
1042
1046
  showOnly: {
1043
1047
  key: 'showOnly',
1044
- label: '只解析不入库',
1048
+ label: localeKey('showOnly.label'),
1045
1049
  type: 'Select',
1046
1050
  defaultValue: 'F',
1047
1051
  props: {
@@ -1072,7 +1076,7 @@ var todoOptionList = {
1072
1076
  },
1073
1077
  custFileName: {
1074
1078
  key: 'custFileName',
1075
- label: '自定义文件名',
1079
+ label: localeKey('custFileName.label'),
1076
1080
  type: 'SetExpression',
1077
1081
  props: {
1078
1082
  isRequired: true,
@@ -1081,7 +1085,7 @@ var todoOptionList = {
1081
1085
  },
1082
1086
  custSheetName: {
1083
1087
  key: 'custSheetName',
1084
- label: 'sheet页名称',
1088
+ label: localeKey('custSheetName.label'),
1085
1089
  type: 'SetExpression'
1086
1090
  },
1087
1091
  className: {
@@ -1130,14 +1134,14 @@ var todoOptionList = {
1130
1134
  refreshKey: ['objectFields'],
1131
1135
  serviceTabs: [{
1132
1136
  key: SERVICE_KEY.STD,
1133
- description: '此处仅展示开启文件入参的编排服务,服务入参需包含impFile(文件类型)字段用于接收文件和param(对象类型,非必须)字段接收自定义参数',
1137
+ description: localeKey('custUrl.props.options.serviceTabs.0.description'),
1134
1138
  filterParams: {
1135
1139
  fileInputEnabled: 'T'
1136
1140
  }
1137
1141
  }, {
1138
1142
  key: SERVICE_KEY.INNER,
1139
1143
  fileUpload: true,
1140
- description: '此处仅展示开启上传控件中使用的请求层服务,服务入参需包含impFile(文件类型)字段用于接收文件和param(对象类型,非必须)字段接收自定义参数'
1144
+ description: localeKey('custUrl.props.options.serviceTabs.1.description')
1141
1145
  }]
1142
1146
  }
1143
1147
  }
@@ -1149,19 +1153,19 @@ var todoOptionList = {
1149
1153
  },
1150
1154
  compToPrint: {
1151
1155
  key: 'compToPrint',
1152
- label: '自定义打印区域(可选)',
1156
+ label: localeKey('compToPrint.label'),
1153
1157
  type: 'CompTree'
1154
1158
  },
1155
1159
  custTpl: {
1156
1160
  key: 'custTpl',
1157
- label: '配置导入模板',
1161
+ label: localeKey('custTpl.label'),
1158
1162
  type: 'UploadFile'
1159
1163
  },
1160
1164
  returnType: {
1161
1165
  key: 'returnType',
1162
1166
  label: '返回类型',
1163
1167
  type: 'RadioButton',
1164
- labelTip: "\n 1\u3001\u503C\uFF1A\u7528\u4E8E\u6570\u636E\u8FD4\u56DE\uFF0C\u6BD4\u5982\u83B7\u53D6\u9875\u9762\u8868\u5355\u6570\u636E\uFF0C\u9000\u51FA\u540E\u8FDB\u884C\u6570\u636E\u4F20\u9012\uFF1B<br />\n 2\u3001\u6210\u529F\uFF1A\u7528\u4E8E\u6210\u529F\u6807\u5FD7\u8FD4\u56DE\uFF0C\u5C06\u89E6\u53D1\u8C03\u7528\u65B9\u7684\u6210\u529F\u56DE\u8C03\uFF1B<br />\n 3\u3001\u5931\u8D25\uFF1A\u7528\u4E8E\u5931\u8D25\u6807\u5FD7\u8FD4\u56DE\uFF0C\u5C06\u89E6\u53D1\u8C03\u7528\u65B9\u7684\u5931\u8D25\u56DE\u8C03\u3002\n ",
1168
+ labelTip: localeKey('returnType.labelTip'),
1165
1169
  props: {
1166
1170
  options: [{
1167
1171
  title: '值',
@@ -1177,7 +1181,7 @@ var todoOptionList = {
1177
1181
  },
1178
1182
  returnValue: {
1179
1183
  key: 'returnValue',
1180
- label: '返回内容(可选)',
1184
+ label: localeKey('returnValue.label'),
1181
1185
  type: 'SetExpression'
1182
1186
  },
1183
1187
  copyText: {
@@ -1187,7 +1191,7 @@ var todoOptionList = {
1187
1191
  },
1188
1192
  isPreventDefault: {
1189
1193
  key: 'isPreventDefault',
1190
- label: '中止默认动作(高级)',
1194
+ label: localeKey('isPreventDefault.label'),
1191
1195
  type: 'Select',
1192
1196
  props: {
1193
1197
  options: [{
@@ -1198,13 +1202,13 @@ var todoOptionList = {
1198
1202
  value: 'F'
1199
1203
  }]
1200
1204
  },
1201
- labelTip: "\n \u6307\u4E2D\u6B62\u6D4F\u89C8\u5668\u9ED8\u8BA4\u884C\u4E3A\uFF1A<br />\n \u6BD4\u5982\u4E2D\u6B62\u6253\u5F00\u6587\u4EF6\u9009\u62E9\u5668\u3001\u4E2D\u6B62\u6587\u4EF6\u4E0B\u8F7D\u7B49\u884C\u4E3A\u3002\n "
1205
+ labelTip: localeKey('isPreventDefault.labelTip')
1202
1206
  },
1203
1207
  isStopPropagation: {
1204
1208
  key: 'isStopPropagation',
1205
- label: '阻止事件冒泡(高级)',
1209
+ label: localeKey('isStopPropagation.label'),
1206
1210
  type: 'Select',
1207
- labelTip: "\n \u6307\u53EA\u89E6\u53D1\u5F53\u524D\u7EC4\u4EF6\u914D\u7F6E\u7684\u4E8B\u4EF6\uFF1A<br />\n \u6BD4\u5982\u7A7A\u767D\u5BB9\u5668\u91CC\u653E\u7F6E\u6309\u94AE\uFF0C \u7A7A\u767D\u5BB9\u5668\u548C\u6309\u94AE\u90FD\u914D\u7F6E\u70B9\u51FB\u4E8B\u4EF6\uFF0C\u6B63\u5E38\u70B9\u51FB\u6309\u94AE\u7684\u65F6\u5019\u5C31\u89E6\u53D1\u4E24\u4E2A\u70B9\u51FB\u4E8B\u4EF6\uFF0C\u4F46\u963B\u6B62\u4E8B\u4EF6\u5192\u6CE1\u5C31\u4E0D\u4F1A\u6267\u884C\u5230\u7A7A\u767D\u5BB9\u5668\u7684\u70B9\u51FB\u4E8B\u4EF6\u3002\n ",
1211
+ labelTip: localeKey('isStopPropagation.labelTip'),
1208
1212
  props: {
1209
1213
  options: [{
1210
1214
  title: '是',
@@ -1216,78 +1220,73 @@ var todoOptionList = {
1216
1220
  }
1217
1221
  },
1218
1222
  // 支撑 DICT 项目需求, accountDivide 分账计划,后续可能有变动 start
1219
- payCycle: {
1220
- key: 'payCycle',
1221
- label: '出账方式',
1222
- type: 'SetExpression'
1223
- },
1224
- prodCode: {
1225
- key: 'prodCode',
1226
- label: '产品编码',
1227
- type: 'SetExpression'
1228
- },
1229
- totalAmount: {
1230
- key: 'totalAmount',
1231
- label: '总金额',
1232
- type: 'SetExpression'
1233
- },
1234
- adStartDate: {
1235
- key: 'adStartDate',
1236
- label: '开始年月(格式:2021-12)',
1237
- type: 'SetExpression'
1238
- },
1239
- adEndDate: {
1240
- key: 'adEndDate',
1241
- label: '结束年月(格式:2021-12)',
1242
- type: 'SetExpression'
1243
- },
1244
- adList: {
1245
- key: 'adList',
1246
- label: '计划详情',
1247
- type: 'SetExpression'
1248
- },
1249
- adOperationType: {
1250
- key: 'adOperationType',
1251
- label: '操作类型',
1252
- type: 'Select',
1253
- props: {
1254
- options: [{
1255
- title: '新建分账计划',
1256
- value: 'new'
1257
- }, {
1258
- title: '修改分账计划',
1259
- value: 'edit'
1260
- }, {
1261
- title: '查看计划详情',
1262
- value: 'detail'
1263
- }]
1264
- }
1265
- },
1266
- adStartDateAfter: {
1267
- key: 'adStartDateAfter',
1268
- label: '变更后开始年月(格式:2021-12)',
1269
- type: 'SetExpression'
1270
- },
1271
- adTitle: {
1272
- key: 'adTitle',
1273
- label: '科目名称',
1274
- type: 'SetExpression'
1275
- },
1276
- adOldList: {
1277
- key: 'adOldList',
1278
- label: '变更前计划详情',
1279
- type: 'SetExpression'
1280
- },
1281
- adAfterList: {
1282
- key: 'adAfterList',
1283
- label: '变更后计划详情',
1284
- type: 'SetExpression'
1285
- },
1286
- payCycleAfter: {
1287
- key: 'payCycleAfter',
1288
- label: '变更后出账方式',
1289
- type: 'SetExpression'
1290
- },
1223
+ // payCycle: {
1224
+ // key: 'payCycle',
1225
+ // label: '出账方式',
1226
+ // type: 'SetExpression',
1227
+ // },
1228
+ // prodCode: {
1229
+ // key: 'prodCode',
1230
+ // label: '产品编码',
1231
+ // type: 'SetExpression',
1232
+ // },
1233
+ // totalAmount: {
1234
+ // key: 'totalAmount',
1235
+ // label: '总金额',
1236
+ // type: 'SetExpression',
1237
+ // },
1238
+ // adStartDate: {
1239
+ // key: 'adStartDate',
1240
+ // label: '开始年月(格式:2021-12)',
1241
+ // type: 'SetExpression',
1242
+ // },
1243
+ // adEndDate: {
1244
+ // key: 'adEndDate',
1245
+ // label: '结束年月(格式:2021-12)',
1246
+ // type: 'SetExpression',
1247
+ // },
1248
+ // adList: {
1249
+ // key: 'adList',
1250
+ // label: '计划详情',
1251
+ // type: 'SetExpression',
1252
+ // },
1253
+ // adOperationType: {
1254
+ // key: 'adOperationType',
1255
+ // label: '操作类型',
1256
+ // type: 'Select',
1257
+ // props: {
1258
+ // options: [
1259
+ // { title: '新建分账计划', value: 'new' },
1260
+ // { title: '修改分账计划', value: 'edit' },
1261
+ // { title: '查看计划详情', value: 'detail' },
1262
+ // ],
1263
+ // },
1264
+ // },
1265
+ // adStartDateAfter: {
1266
+ // key: 'adStartDateAfter',
1267
+ // label: '变更后开始年月(格式:2021-12)',
1268
+ // type: 'SetExpression',
1269
+ // },
1270
+ // adTitle: {
1271
+ // key: 'adTitle',
1272
+ // label: '科目名称',
1273
+ // type: 'SetExpression',
1274
+ // },
1275
+ // adOldList: {
1276
+ // key: 'adOldList',
1277
+ // label: '变更前计划详情',
1278
+ // type: 'SetExpression',
1279
+ // },
1280
+ // adAfterList: {
1281
+ // key: 'adAfterList',
1282
+ // label: '变更后计划详情',
1283
+ // type: 'SetExpression',
1284
+ // },
1285
+ // payCycleAfter: {
1286
+ // key: 'payCycleAfter',
1287
+ // label: '变更后出账方式',
1288
+ // type: 'SetExpression',
1289
+ // },
1291
1290
  accept: {
1292
1291
  key: 'accept',
1293
1292
  label: '文件类型',
@@ -1295,7 +1294,7 @@ var todoOptionList = {
1295
1294
  },
1296
1295
  custTplUrl: {
1297
1296
  key: 'custTplUrl',
1298
- label: '指定模板地址(可选)',
1297
+ label: localeKey('custTplUrl.label'),
1299
1298
  type: 'SetExpression'
1300
1299
  },
1301
1300
  name: {
@@ -1324,13 +1323,13 @@ var todoOptionList = {
1324
1323
  label: '动作说明',
1325
1324
  type: 'CustomActionTitle',
1326
1325
  props: {
1327
- placeholder: '请输入动作说明',
1326
+ placeholder: localeKey('actionTitle.props.placeholder'),
1328
1327
  maxLength: 20
1329
1328
  }
1330
1329
  },
1331
1330
  sync: {
1332
1331
  key: 'sync',
1333
- label: '数据加载方式',
1332
+ label: localeKey('sync.label'),
1334
1333
  type: 'RadioButton',
1335
1334
  defaultValue: false,
1336
1335
  props: {
@@ -1349,7 +1348,7 @@ var todoOptionList = {
1349
1348
  type: 'Input',
1350
1349
  props: {
1351
1350
  required: true,
1352
- placeholder: '请输入字段名值, 必须为英文'
1351
+ placeholder: localeKey('setItemKey.props.placeholder')
1353
1352
  }
1354
1353
  },
1355
1354
  mapKey: {
@@ -1357,14 +1356,14 @@ var todoOptionList = {
1357
1356
  label: '地图秘钥',
1358
1357
  type: 'Input',
1359
1358
  props: {
1360
- placeholder: '请输入地图的秘钥',
1359
+ placeholder: localeKey('mapKey.props.placeholder'),
1361
1360
  valuePropName: 'mapKey',
1362
1361
  isRequired: true
1363
1362
  }
1364
1363
  },
1365
1364
  locationAlways: {
1366
1365
  key: 'locationAlways',
1367
- label: '是否持续定位',
1366
+ label: localeKey('locationAlways.label'),
1368
1367
  type: 'Switch',
1369
1368
  props: {
1370
1369
  defaultValue: false
@@ -1372,7 +1371,7 @@ var todoOptionList = {
1372
1371
  },
1373
1372
  locationOutputType: {
1374
1373
  key: 'locationOutputType',
1375
- label: '定位输出坐标系',
1374
+ label: localeKey('locationOutputType.label'),
1376
1375
  type: 'Select',
1377
1376
  defaultValue: 'BD09',
1378
1377
  props: {
@@ -1400,20 +1399,20 @@ var todoOptionList = {
1400
1399
  },
1401
1400
  locationAddress: {
1402
1401
  key: 'locationAddress',
1403
- label: '是否需要地址信息',
1402
+ label: localeKey('locationAddress.label'),
1404
1403
  defaultValue: false,
1405
1404
  type: 'Switch'
1406
1405
  },
1407
1406
  exportSheet: {
1408
1407
  key: 'exportSheet',
1409
- label: 'sheet页设置',
1408
+ label: localeKey('exportSheet.label'),
1410
1409
  type: 'AddExportSheet',
1411
1410
  props: {
1412
1411
  valuePropName: 'exportSheet',
1413
1412
  isRequired: true,
1414
1413
  options: [{
1415
1414
  key: 'custSheetName',
1416
- label: 'sheet页名称',
1415
+ label: localeKey('exportSheet.props.options.0.label'),
1417
1416
  type: 'SetExpression'
1418
1417
  }, {
1419
1418
  key: 'serviceData',
@@ -1467,7 +1466,7 @@ var todoOptionList = {
1467
1466
  },
1468
1467
  verificationCodeUrl: {
1469
1468
  key: 'verificationCodeUrl',
1470
- label: '验证码图片地址',
1469
+ label: localeKey('verificationCodeUrl.label'),
1471
1470
  type: 'SetExpression'
1472
1471
  },
1473
1472
  addTransferValue: {
@@ -1475,7 +1474,7 @@ var todoOptionList = {
1475
1474
  label: '内容',
1476
1475
  type: 'SetExpression',
1477
1476
  props: {
1478
- placeholder: '请输入添加值,多个用英文逗号拼接,例如:1,2,3'
1477
+ placeholder: localeKey('addTransferValue.props.placeholder')
1479
1478
  }
1480
1479
  },
1481
1480
  removeTransferValue: {
@@ -1483,7 +1482,7 @@ var todoOptionList = {
1483
1482
  label: '内容',
1484
1483
  type: 'SetExpression',
1485
1484
  props: {
1486
- placeholder: '请输入删除值,多个用英文逗号拼接,例如:1,2,3'
1485
+ placeholder: localeKey('removeTransferValue.props.placeholder')
1487
1486
  }
1488
1487
  },
1489
1488
  defaultOpenKey: {
@@ -1510,12 +1509,12 @@ var todoOptionList = {
1510
1509
  },
1511
1510
  xLineName: {
1512
1511
  key: 'xLineName',
1513
- label: 'x轴字段名',
1512
+ label: localeKey('xLineName.label'),
1514
1513
  type: 'SetExpression'
1515
1514
  },
1516
1515
  yLineName: {
1517
1516
  key: 'yLineName',
1518
- label: 'y轴字段名',
1517
+ label: localeKey('yLineName.label'),
1519
1518
  type: 'SetExpression'
1520
1519
  },
1521
1520
  lineChartData: {
@@ -1540,12 +1539,12 @@ var todoOptionList = {
1540
1539
  },
1541
1540
  donutX: {
1542
1541
  key: 'donutX',
1543
- label: 'x轴字段名',
1542
+ label: localeKey('donutX.label'),
1544
1543
  type: 'SetExpression'
1545
1544
  },
1546
1545
  donutY: {
1547
1546
  key: 'donutY',
1548
- label: 'y轴字段名',
1547
+ label: localeKey('donutY.label'),
1549
1548
  type: 'SetExpression'
1550
1549
  },
1551
1550
  donutData: {
@@ -1563,12 +1562,12 @@ var todoOptionList = {
1563
1562
  label: '数据源',
1564
1563
  type: 'SetExpression',
1565
1564
  props: {
1566
- placeholder: '格式为:[{count:xx, color:xx, label:xx},...]'
1565
+ placeholder: localeKey('mpData.props.placeholder')
1567
1566
  }
1568
1567
  },
1569
1568
  gcXName: {
1570
1569
  key: 'gcXName',
1571
- label: 'x轴字段名',
1570
+ label: localeKey('gcXName.label'),
1572
1571
  type: 'SetExpression'
1573
1572
  },
1574
1573
  gcLegendParams: {
@@ -1576,7 +1575,7 @@ var todoOptionList = {
1576
1575
  label: '图例内容',
1577
1576
  type: 'SetExpression',
1578
1577
  props: {
1579
- placeholder: '格式为:[{label:xx(说明), value:xx(对应数据源取值字段)},...]'
1578
+ placeholder: localeKey('gcLegendParams.props.placeholder')
1580
1579
  }
1581
1580
  },
1582
1581
  gcData: {
@@ -1584,17 +1583,17 @@ var todoOptionList = {
1584
1583
  label: '数据源',
1585
1584
  type: 'SetExpression',
1586
1585
  props: {
1587
- placeholder: '格式为:[{name:xx, xx:xx, xx:xx, ...},...]'
1586
+ placeholder: localeKey('gcData.props.placeholder')
1588
1587
  }
1589
1588
  },
1590
1589
  scXName: {
1591
1590
  key: 'scXName',
1592
- label: 'x轴字段名',
1591
+ label: localeKey('scXName.label'),
1593
1592
  type: 'SetExpression'
1594
1593
  },
1595
1594
  scYName: {
1596
1595
  key: 'scYName',
1597
- label: 'y轴字段名',
1596
+ label: localeKey('scYName.label'),
1598
1597
  type: 'SetExpression'
1599
1598
  },
1600
1599
  scData: {
@@ -1602,12 +1601,12 @@ var todoOptionList = {
1602
1601
  label: '数据源',
1603
1602
  type: 'SetExpression',
1604
1603
  props: {
1605
- placeholder: '格式为:[{xx:xx, xx:xx, color:xx(需要指定颜色时设置该参数) },...]'
1604
+ placeholder: localeKey('scData.props.placeholder')
1606
1605
  }
1607
1606
  },
1608
1607
  stcXName: {
1609
1608
  key: 'stcXName',
1610
- label: 'x轴字段名',
1609
+ label: localeKey('stcXName.label'),
1611
1610
  type: 'SetExpression'
1612
1611
  },
1613
1612
  stcLegendParams: {
@@ -1615,7 +1614,7 @@ var todoOptionList = {
1615
1614
  label: '图例内容',
1616
1615
  type: 'SetExpression',
1617
1616
  props: {
1618
- placeholder: '格式为:[{label:xx, value:xx},...]'
1617
+ placeholder: localeKey('stcLegendParams.props.placeholder')
1619
1618
  }
1620
1619
  },
1621
1620
  stcData: {
@@ -1623,7 +1622,7 @@ var todoOptionList = {
1623
1622
  label: '数据源',
1624
1623
  type: 'SetExpression',
1625
1624
  props: {
1626
- placeholder: '格式为:[{xx:xx, xx:xx, ... },...]'
1625
+ placeholder: localeKey('stcData.props.placeholder')
1627
1626
  }
1628
1627
  },
1629
1628
  valueMapKey: {
@@ -1633,22 +1632,22 @@ var todoOptionList = {
1633
1632
  },
1634
1633
  labelMapKey: {
1635
1634
  key: 'labelKey',
1636
- label: '内容映射字段',
1635
+ label: localeKey('labelMapKey.label'),
1637
1636
  type: 'SetExpressionKey'
1638
1637
  },
1639
1638
  selectDescriptionKey: {
1640
1639
  key: 'descriptionKey',
1641
- label: '选项描述字段',
1640
+ label: localeKey('selectDescriptionKey.label'),
1642
1641
  type: 'SetExpressionKey'
1643
1642
  },
1644
1643
  selectDisabledKey: {
1645
1644
  key: 'disabledKey',
1646
- label: '选项禁用字段',
1645
+ label: localeKey('selectDisabledKey.label'),
1647
1646
  type: 'SetExpressionKey'
1648
1647
  },
1649
1648
  setSelectorDisabelItems: {
1650
1649
  key: 'disabledKeys',
1651
- label: '值/索引',
1650
+ label: localeKey('setSelectorDisabelItems.label'),
1652
1651
  type: 'SetExpressionKey'
1653
1652
  },
1654
1653
  updateMediaState: {
@@ -1672,16 +1671,16 @@ var todoOptionList = {
1672
1671
  customGroup: {
1673
1672
  key: 'customGroup',
1674
1673
  type: 'SettingGroup',
1675
- label: '自定义表头模板',
1676
- labelTip: '可以根据选择的字段自定义导出模板的表头'
1674
+ label: localeKey('customGroup.label'),
1675
+ labelTip: localeKey('customGroup.labelTip')
1677
1676
  },
1678
1677
  exception: {
1679
1678
  key: 'exception',
1680
1679
  type: 'SwitchGroup',
1681
- label: '导入异常配置',
1680
+ label: localeKey('exception.label'),
1682
1681
  props: {
1683
1682
  options: [{
1684
- title: '支持部分导入',
1683
+ title: localeKey('exception.props.options.0.title'),
1685
1684
  value: 'partialImport'
1686
1685
  }]
1687
1686
  }
@@ -1711,7 +1710,7 @@ var todoOptionList = {
1711
1710
  defaultValue: '960',
1712
1711
  visibleFlag: 'viewMode',
1713
1712
  visibleFlagValue: ['window'],
1714
- labelTip: '不同浏览器有不同的最小限制,请避免设置过小尺寸,当不设置宽高时,默认为全屏'
1713
+ labelTip: localeKey('modalWidth.labelTip')
1715
1714
  },
1716
1715
  modalHeight: {
1717
1716
  key: 'modalHeight',
@@ -1720,7 +1719,7 @@ var todoOptionList = {
1720
1719
  defaultValue: '648',
1721
1720
  visibleFlag: 'viewMode',
1722
1721
  visibleFlagValue: ['window'],
1723
- labelTip: '不同浏览器有不同的最小限制,请避免设置过小尺寸,当不设置宽高时,默认为全屏'
1722
+ labelTip: localeKey('modalHeight.labelTip')
1724
1723
  }
1725
1724
  };
1726
1725
  export default todoOptionList;