@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
@@ -4,6 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
+ var TODO_OPTION_LOCALE_PREFIX = 'todo.optionList';
8
+ var localeKey = function localeKey(s) {
9
+ return "".concat(TODO_OPTION_LOCALE_PREFIX, ".").concat(s);
10
+ };
7
11
  var SERVICE_KEY = {
8
12
  QUERY: '11',
9
13
  INNER: '12',
@@ -12,6 +16,7 @@ var SERVICE_KEY = {
12
16
  OBJECT: '2',
13
17
  SUPER: '7'
14
18
  };
19
+
15
20
  /**
16
21
  * @description: 动作的配置项信息
17
22
  * key:配置项的key, 用于dot模板取值
@@ -27,7 +32,7 @@ var SERVICE_KEY = {
27
32
  var todoOptionList = {
28
33
  url: {
29
34
  key: 'url',
30
- label: '请求地址(URL)',
35
+ label: localeKey('url.label'),
31
36
  type: 'SelectServiceUrl',
32
37
  props: {
33
38
  isRequired: true,
@@ -36,7 +41,7 @@ var todoOptionList = {
36
41
  },
37
42
  sqlServiceCode: {
38
43
  key: 'sqlServiceCode',
39
- label: '选择SQL查询服务',
44
+ label: localeKey('sqlServiceCode.label'),
40
45
  type: 'SelectSQLServiceCode'
41
46
  },
42
47
  sqlServiceFields: {
@@ -51,7 +56,7 @@ var todoOptionList = {
51
56
  },
52
57
  arelStaticData: {
53
58
  key: 'arelStaticData',
54
- label: 'A端静态数据',
59
+ label: localeKey('arelStaticData.label'),
55
60
  type: 'SelectStaticData',
56
61
  props: {
57
62
  options: {
@@ -61,7 +66,7 @@ var todoOptionList = {
61
66
  },
62
67
  zrelStaticData: {
63
68
  key: 'zrelStaticData',
64
- label: 'Z端静态数据',
69
+ label: localeKey('zrelStaticData.label'),
65
70
  type: 'SelectStaticData',
66
71
  props: {
67
72
  options: {
@@ -76,7 +81,7 @@ var todoOptionList = {
76
81
  },
77
82
  custTargetVal: {
78
83
  key: 'custTargetVal',
79
- label: '自定义触发值',
84
+ label: localeKey('custTargetVal.label'),
80
85
  type: 'SetExpression'
81
86
  },
82
87
  visible: {
@@ -99,7 +104,7 @@ var todoOptionList = {
99
104
  },
100
105
  readonly: {
101
106
  key: 'readonly',
102
- label: '编辑状态设置',
107
+ label: localeKey('readonly.label'),
103
108
  type: 'RadioButton',
104
109
  defaultValue: '',
105
110
  props: {
@@ -122,7 +127,7 @@ var todoOptionList = {
122
127
  defaultValue: 'id',
123
128
  props: {
124
129
  options: [{
125
- title: '唯一字段编码',
130
+ title: localeKey('bsSelectType.props.options.0.title'),
126
131
  value: 'id'
127
132
  }, {
128
133
  title: '循环项索引',
@@ -159,7 +164,7 @@ var todoOptionList = {
159
164
  label: '开始值',
160
165
  type: 'SetExpression',
161
166
  props: {
162
- placeholder: '请输入YYYY-MM-DD格式的时间'
167
+ placeholder: localeKey('startVal.props.placeholder')
163
168
  }
164
169
  },
165
170
  endVal: {
@@ -167,7 +172,7 @@ var todoOptionList = {
167
172
  label: '结束值',
168
173
  type: 'SetExpression',
169
174
  props: {
170
- placeholder: '请输入YYYY-MM-DD格式的时间'
175
+ placeholder: localeKey('endVal.props.placeholder')
171
176
  }
172
177
  },
173
178
  loading: {
@@ -260,7 +265,7 @@ var todoOptionList = {
260
265
  type: 'Select',
261
266
  props: {
262
267
  options: [{
263
- title: 'PDF',
268
+ title: localeKey('expType.props.options.0.title'),
264
269
  value: 'pdf'
265
270
  }, {
266
271
  title: '图片',
@@ -273,7 +278,7 @@ var todoOptionList = {
273
278
  label: '文件名',
274
279
  type: 'input',
275
280
  props: {
276
- placeholder: '请输入导出的文件名'
281
+ placeholder: localeKey('expFileName.props.placeholder')
277
282
  }
278
283
  },
279
284
  modalType: {
@@ -301,12 +306,12 @@ var todoOptionList = {
301
306
  },
302
307
  okText: {
303
308
  key: 'okText',
304
- label: '确认按钮文本',
309
+ label: localeKey('okText.label'),
305
310
  type: 'Input'
306
311
  },
307
312
  cancelText: {
308
313
  key: 'cancelText',
309
- label: '取消按钮文本',
314
+ label: localeKey('cancelText.label'),
310
315
  type: 'Input',
311
316
  visibleFlag: 'type',
312
317
  visibleFlagValue: ['confirm']
@@ -377,12 +382,12 @@ var todoOptionList = {
377
382
  // ],
378
383
  type: 'SetExpression',
379
384
  props: {
380
- placeholder: '新增-add, 编辑-edit, 详情-detail'
385
+ placeholder: localeKey('actionType.props.placeholder')
381
386
  }
382
387
  },
383
388
  tripleFormId: {
384
389
  key: 'detailId',
385
- label: '详情id',
390
+ label: localeKey('tripleFormId.label'),
386
391
  type: 'SetExpression'
387
392
  },
388
393
  dataSource: {
@@ -392,41 +397,41 @@ var todoOptionList = {
392
397
  },
393
398
  parentKey: {
394
399
  key: 'parentKey',
395
- label: '操作节点key',
400
+ label: localeKey('parentKey.label'),
396
401
  type: 'SetExpression'
397
402
  },
398
403
  dataSourceFileId: {
399
404
  key: 'data',
400
- label: '文件ID',
405
+ label: localeKey('dataSourceFileId.label'),
401
406
  type: 'SetExpression',
402
- labelTip: '支持逗号分隔或者数组形式的多文件下载,如:1,2或者$[1,2]$'
407
+ labelTip: localeKey('dataSourceFileId.labelTip')
403
408
  },
404
409
  labelKey: {
405
410
  key: 'labelKey',
406
- label: '节点名称取值字段',
411
+ label: localeKey('labelKey.label'),
407
412
  type: 'SetExpressionKey'
408
413
  },
409
414
  nodeValueKey: {
410
415
  key: 'nodeValueKey',
411
- label: '节点key取值字段',
416
+ label: localeKey('nodeValueKey.label'),
412
417
  type: 'SetExpressionKey'
413
418
  },
414
419
  urlValueKey: {
415
420
  key: 'urlValueKey',
416
- label: '节点url取值字段',
421
+ label: localeKey('urlValueKey.label'),
417
422
  type: 'SetExpressionKey'
418
423
  },
419
424
  selectable: {
420
425
  key: 'selectable',
421
- label: '节点可选字段编码',
426
+ label: localeKey('selectable.label'),
422
427
  type: 'SetExpressionKey',
423
- 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"
428
+ labelTip: localeKey('selectable.labelTip')
424
429
  },
425
430
  childrenKey: {
426
431
  key: 'childrenKey',
427
- label: '下级列表取值字段',
432
+ label: localeKey('childrenKey.label'),
428
433
  type: 'SetExpressionKey',
429
- 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 "
434
+ labelTip: localeKey('childrenKey.labelTip')
430
435
  },
431
436
  selectValueKey: {
432
437
  key: 'valueKey',
@@ -435,7 +440,7 @@ var todoOptionList = {
435
440
  },
436
441
  selectLabelKey: {
437
442
  key: 'labelKey',
438
- label: '选项内容字段',
443
+ label: localeKey('selectLabelKey.label'),
439
444
  type: 'SetExpressionKey'
440
445
  },
441
446
  selectValueKeyForRC: {
@@ -445,7 +450,7 @@ var todoOptionList = {
445
450
  },
446
451
  selectLabelKeyForRC: {
447
452
  key: 'labelKey',
448
- label: '显示内容字段',
453
+ label: localeKey('selectLabelKeyForRC.label'),
449
454
  type: 'SetExpressionKey'
450
455
  },
451
456
  total: {
@@ -470,7 +475,7 @@ var todoOptionList = {
470
475
  },
471
476
  searchParams: {
472
477
  key: 'search',
473
- label: 'url参数',
478
+ label: localeKey('searchParams.label'),
474
479
  type: 'SearchParams'
475
480
  },
476
481
  routerData: {
@@ -500,12 +505,12 @@ var todoOptionList = {
500
505
  },
501
506
  activeTabKey: {
502
507
  key: 'activeTabKey',
503
- label: 'Tab选中key',
508
+ label: localeKey('activeTabKey.label'),
504
509
  type: 'ActiveTabKey'
505
510
  },
506
511
  downloadUrl: {
507
512
  key: 'downloadUrl',
508
- label: '下载链接地址',
513
+ label: localeKey('downloadUrl.label'),
509
514
  type: 'DownloadUrl'
510
515
  },
511
516
  uploadProps: {
@@ -515,7 +520,7 @@ var todoOptionList = {
515
520
  },
516
521
  inlineeditnow: {
517
522
  key: 'inlineeditnow',
518
- label: '新增后启用行内编辑',
523
+ label: localeKey('inlineeditnow.label'),
519
524
  type: 'Select',
520
525
  props: {
521
526
  options: [{
@@ -575,27 +580,27 @@ var todoOptionList = {
575
580
  },
576
581
  nodeKey: {
577
582
  key: 'nodeKey',
578
- label: '操作节点key',
583
+ label: localeKey('nodeKey.label'),
579
584
  type: 'SetExpression'
580
585
  },
581
586
  valueKey: {
582
587
  key: 'key',
583
- label: '节点key取值字段',
588
+ label: localeKey('valueKey.label'),
584
589
  type: 'SetExpression'
585
590
  },
586
591
  titleKey: {
587
592
  key: 'title',
588
- label: '节点名称取值字段',
593
+ label: localeKey('titleKey.label'),
589
594
  type: 'SetExpression'
590
595
  },
591
596
  stateName: {
592
597
  key: 'stateName',
593
- label: '自定义属性名',
598
+ label: localeKey('stateName.label'),
594
599
  type: 'Input'
595
600
  },
596
601
  inlineeditrow: {
597
602
  key: 'inlineeditrow',
598
- label: '指定行id',
603
+ label: localeKey('inlineeditrow.label'),
599
604
  type: 'SetExpression'
600
605
  },
601
606
  stateval: {
@@ -605,7 +610,7 @@ var todoOptionList = {
605
610
  },
606
611
  timername: {
607
612
  key: 'timername',
608
- label: '定时器命名(页面内不可重复)',
613
+ label: localeKey('timername.label'),
609
614
  type: 'Input'
610
615
  },
611
616
  interval: {
@@ -633,6 +638,7 @@ var todoOptionList = {
633
638
  },
634
639
  compId: {
635
640
  key: 'compid',
641
+ // 避免与action options对象中默认compId重名
636
642
  label: '组件选择',
637
643
  type: 'CompTree'
638
644
  },
@@ -643,11 +649,11 @@ var todoOptionList = {
643
649
  },
644
650
  fileName: {
645
651
  key: 'fileName',
646
- label: '自定义文件名称',
652
+ label: localeKey('fileName.label'),
647
653
  type: 'SetExpression',
648
- labelTip: '未设置文件名称时,则为文件原本的名称',
654
+ labelTip: localeKey('fileName.labelTip'),
649
655
  props: {
650
- placeholder: '包括后缀,如: 表格.xls'
656
+ placeholder: localeKey('fileName.props.placeholder')
651
657
  }
652
658
  },
653
659
  loadmoreKey: {
@@ -660,7 +666,7 @@ var todoOptionList = {
660
666
  label: 'appId',
661
667
  type: 'Input',
662
668
  props: {
663
- placeholder: '如:wx_xxxxx'
669
+ placeholder: localeKey('wechatappId.props.placeholder')
664
670
  }
665
671
  },
666
672
  jsonId: {
@@ -670,9 +676,9 @@ var todoOptionList = {
670
676
  },
671
677
  fileId: {
672
678
  key: 'fileId',
673
- label: '文件ID',
679
+ label: localeKey('fileId.label'),
674
680
  type: 'SetExpression',
675
- labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等 注意:如果是外部URL,有可能存在跨域现象! 注意:如果是外部URL,有可能存在跨域现象!'
681
+ labelTip: localeKey('fileId.labelTip')
676
682
  },
677
683
  loadMoreTotal: {
678
684
  key: 'total',
@@ -694,47 +700,47 @@ var todoOptionList = {
694
700
  label: '方法名',
695
701
  type: 'input',
696
702
  props: {
697
- placeholder: '例如:openCamera'
703
+ placeholder: localeKey('jsBridgeMethod.props.placeholder')
698
704
  }
699
705
  },
700
706
  androidWebName: {
701
707
  key: 'androidWebName',
702
- label: '安卓容器名称',
708
+ label: localeKey('androidWebName.label'),
703
709
  type: 'input',
704
710
  props: {
705
- placeholder: '默认:Android'
711
+ placeholder: localeKey('androidWebName.props.placeholder')
706
712
  }
707
713
  },
708
714
  androidSuccessFunName: {
709
715
  key: 'androidSuccessFunName',
710
- label: '安卓端成功回调方法名',
716
+ label: localeKey('androidSuccessFunName.label'),
711
717
  type: 'input',
712
718
  props: {
713
- placeholder: '例如:openCameraSuccess[用于Android成功回调H5]'
719
+ placeholder: localeKey('androidSuccessFunName.props.placeholder')
714
720
  }
715
721
  },
716
722
  iOSSuccessFunName: {
717
723
  key: 'iOSSuccessFunName',
718
- label: 'iOS端成功回调方法名',
724
+ label: localeKey('iOSSuccessFunName.label'),
719
725
  type: 'input',
720
726
  props: {
721
- placeholder: '例如:openCameraSuccess[用于iOS成功回调H5]'
727
+ placeholder: localeKey('iOSSuccessFunName.props.placeholder')
722
728
  }
723
729
  },
724
730
  androidFailFunName: {
725
731
  key: 'androidFailFunName',
726
- label: '安卓端失败回调方法名',
732
+ label: localeKey('androidFailFunName.label'),
727
733
  type: 'input',
728
734
  props: {
729
- placeholder: '例如:openCameraFail[用于Android失败的回调H5]'
735
+ placeholder: localeKey('androidFailFunName.props.placeholder')
730
736
  }
731
737
  },
732
738
  iOSFailFunName: {
733
739
  key: 'iOSFailFunName',
734
- label: 'iOS端失败回调方法名',
740
+ label: localeKey('iOSFailFunName.label'),
735
741
  type: 'input',
736
742
  props: {
737
- placeholder: '例如:openCameraFail[用于iOS失败的回调H5]'
743
+ placeholder: localeKey('iOSFailFunName.props.placeholder')
738
744
  }
739
745
  },
740
746
  customParams: {
@@ -749,7 +755,7 @@ var todoOptionList = {
749
755
  },
750
756
  flowUrl: {
751
757
  key: 'flowUrl',
752
- label: '流程请求接口',
758
+ label: localeKey('flowUrl.label'),
753
759
  type: 'input'
754
760
  },
755
761
  flowType: {
@@ -778,11 +784,10 @@ var todoOptionList = {
778
784
  // 流程业务工单 ID
779
785
  flowWorkOrderId: {
780
786
  key: 'workOrderId',
781
- label: '业务工单 ID',
787
+ label: localeKey('flowWorkOrderId.label'),
782
788
  type: 'SetExpression'
783
789
  },
784
790
  // 这里三个字段没设置type。经协商(gy)为无用类型,先注释
785
- // 流程页面按钮动作服务响应数据
786
791
  // flowSerResp: {
787
792
  // key: 'serResp',
788
793
  // label: '服务响应数据',
@@ -804,7 +809,7 @@ var todoOptionList = {
804
809
  // 业务工单类型
805
810
  workOrderType: {
806
811
  key: 'workOrderType',
807
- label: '业务工单类型',
812
+ label: localeKey('workOrderType.label'),
808
813
  type: 'SetExpression'
809
814
  },
810
815
  flowAuditDesc: {
@@ -814,7 +819,7 @@ var todoOptionList = {
814
819
  },
815
820
  flowFileId: {
816
821
  key: 'flowFileId',
817
- label: '附件ID',
822
+ label: localeKey('flowFileId.label'),
818
823
  type: 'SetExpression'
819
824
  },
820
825
  configDealUserId: {
@@ -824,22 +829,22 @@ var todoOptionList = {
824
829
  },
825
830
  flowBtnActionType: {
826
831
  key: 'flowBtnActionType',
827
- label: '按钮动作类型',
832
+ label: localeKey('flowBtnActionType.label'),
828
833
  type: 'SetExpression'
829
834
  },
830
835
  flowWorkId: {
831
836
  key: 'flowWorkId',
832
- label: '流程实例ID',
837
+ label: localeKey('flowWorkId.label'),
833
838
  type: 'SetExpression'
834
839
  },
835
840
  flowTabStepVisible: {
836
841
  key: 'flowTabStepVisible',
837
- label: '展示流程实例图',
842
+ label: localeKey('flowTabStepVisible.label'),
838
843
  type: 'Switch'
839
844
  },
840
845
  flowTimelineVisible: {
841
846
  key: 'flowTimelineVisible',
842
- label: '展示流程轨迹',
847
+ label: localeKey('flowTimelineVisible.label'),
843
848
  type: 'Switch'
844
849
  },
845
850
  flowCustParams: {
@@ -849,7 +854,7 @@ var todoOptionList = {
849
854
  },
850
855
  workItemId: {
851
856
  key: 'workItemId',
852
- label: '工单ID',
857
+ label: localeKey('workItemId.label'),
853
858
  type: 'SetExpression'
854
859
  },
855
860
  flowExtraParams: {
@@ -873,14 +878,14 @@ var todoOptionList = {
873
878
  // },
874
879
  diagramType: {
875
880
  key: 'diagramType',
876
- label: '选择实例图类型',
881
+ label: localeKey('diagramType.label'),
877
882
  type: 'Select',
878
883
  props: {
879
884
  options: [{
880
- title: '当前流程实例图',
885
+ title: localeKey('diagramType.props.options.0.title'),
881
886
  value: 'default'
882
887
  }, {
883
- title: '指定主干流程实例图',
888
+ title: localeKey('diagramType.props.options.1.title'),
884
889
  value: 'custom'
885
890
  }]
886
891
  }
@@ -892,7 +897,7 @@ var todoOptionList = {
892
897
  },
893
898
  diagramWorkOrderId: {
894
899
  key: 'diagramWorkOrderId',
895
- label: '业务单ID',
900
+ label: localeKey('diagramWorkOrderId.label'),
896
901
  type: 'SetExpression'
897
902
  },
898
903
  selectServerDataSource: {
@@ -966,14 +971,13 @@ var todoOptionList = {
966
971
  },
967
972
  selectObjectDataSource: {
968
973
  key: 'selectObjectDataSource',
969
- label: '选择业务对象数据源',
974
+ label: localeKey('selectObjectDataSource.label'),
970
975
  type: 'selectObjectDataSource',
971
976
  props: {
972
977
  isRequired: true,
973
978
  valuePropName: 'postDataSource' // 编辑后值存于 options.postDataSource
974
979
  }
975
980
  },
976
-
977
981
  iframeData: {
978
982
  key: 'iframeData',
979
983
  label: '发送内容',
@@ -986,12 +990,12 @@ var todoOptionList = {
986
990
  },
987
991
  rProps: {
988
992
  key: 'rProps',
989
- label: '设置自定义组件属性',
993
+ label: localeKey('rProps.label'),
990
994
  type: 'SelectCustomParams'
991
995
  },
992
996
  hasEventExtService: {
993
997
  key: 'hasEventExtService',
994
- label: '需要开启服务扩展',
998
+ label: localeKey('hasEventExtService.label'),
995
999
  type: 'Select',
996
1000
  props: {
997
1001
  options: [{
@@ -1005,20 +1009,20 @@ var todoOptionList = {
1005
1009
  },
1006
1010
  eventExtService: {
1007
1011
  key: 'eventExtService',
1008
- label: '选择业务场景来扩展服务',
1012
+ label: localeKey('eventExtService.label'),
1009
1013
  type: 'SetEventExtService'
1010
1014
  },
1011
1015
  tempName: {
1012
1016
  key: 'name',
1013
- label: '设置模板名称',
1017
+ label: localeKey('tempName.label'),
1014
1018
  type: 'Input',
1015
1019
  props: {
1016
- placeholder: '请输入模板名称'
1020
+ placeholder: localeKey('tempName.props.placeholder')
1017
1021
  }
1018
1022
  },
1019
1023
  busiObjectId: {
1020
1024
  key: 'busiObjectId',
1021
- label: '选择业务对象',
1025
+ label: localeKey('busiObjectId.label'),
1022
1026
  type: 'SelectBusiObjectId',
1023
1027
  props: {
1024
1028
  isRequired: true,
@@ -1047,7 +1051,7 @@ var todoOptionList = {
1047
1051
  },
1048
1052
  showOnly: {
1049
1053
  key: 'showOnly',
1050
- label: '只解析不入库',
1054
+ label: localeKey('showOnly.label'),
1051
1055
  type: 'Select',
1052
1056
  defaultValue: 'F',
1053
1057
  props: {
@@ -1078,7 +1082,7 @@ var todoOptionList = {
1078
1082
  },
1079
1083
  custFileName: {
1080
1084
  key: 'custFileName',
1081
- label: '自定义文件名',
1085
+ label: localeKey('custFileName.label'),
1082
1086
  type: 'SetExpression',
1083
1087
  props: {
1084
1088
  isRequired: true,
@@ -1087,7 +1091,7 @@ var todoOptionList = {
1087
1091
  },
1088
1092
  custSheetName: {
1089
1093
  key: 'custSheetName',
1090
- label: 'sheet页名称',
1094
+ label: localeKey('custSheetName.label'),
1091
1095
  type: 'SetExpression'
1092
1096
  },
1093
1097
  className: {
@@ -1136,14 +1140,14 @@ var todoOptionList = {
1136
1140
  refreshKey: ['objectFields'],
1137
1141
  serviceTabs: [{
1138
1142
  key: SERVICE_KEY.STD,
1139
- description: '此处仅展示开启文件入参的编排服务,服务入参需包含impFile(文件类型)字段用于接收文件和param(对象类型,非必须)字段接收自定义参数',
1143
+ description: localeKey('custUrl.props.options.serviceTabs.0.description'),
1140
1144
  filterParams: {
1141
1145
  fileInputEnabled: 'T'
1142
1146
  }
1143
1147
  }, {
1144
1148
  key: SERVICE_KEY.INNER,
1145
1149
  fileUpload: true,
1146
- description: '此处仅展示开启上传控件中使用的请求层服务,服务入参需包含impFile(文件类型)字段用于接收文件和param(对象类型,非必须)字段接收自定义参数'
1150
+ description: localeKey('custUrl.props.options.serviceTabs.1.description')
1147
1151
  }]
1148
1152
  }
1149
1153
  }
@@ -1155,19 +1159,19 @@ var todoOptionList = {
1155
1159
  },
1156
1160
  compToPrint: {
1157
1161
  key: 'compToPrint',
1158
- label: '自定义打印区域(可选)',
1162
+ label: localeKey('compToPrint.label'),
1159
1163
  type: 'CompTree'
1160
1164
  },
1161
1165
  custTpl: {
1162
1166
  key: 'custTpl',
1163
- label: '配置导入模板',
1167
+ label: localeKey('custTpl.label'),
1164
1168
  type: 'UploadFile'
1165
1169
  },
1166
1170
  returnType: {
1167
1171
  key: 'returnType',
1168
1172
  label: '返回类型',
1169
1173
  type: 'RadioButton',
1170
- 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 ",
1174
+ labelTip: localeKey('returnType.labelTip'),
1171
1175
  props: {
1172
1176
  options: [{
1173
1177
  title: '值',
@@ -1183,7 +1187,7 @@ var todoOptionList = {
1183
1187
  },
1184
1188
  returnValue: {
1185
1189
  key: 'returnValue',
1186
- label: '返回内容(可选)',
1190
+ label: localeKey('returnValue.label'),
1187
1191
  type: 'SetExpression'
1188
1192
  },
1189
1193
  copyText: {
@@ -1193,7 +1197,7 @@ var todoOptionList = {
1193
1197
  },
1194
1198
  isPreventDefault: {
1195
1199
  key: 'isPreventDefault',
1196
- label: '中止默认动作(高级)',
1200
+ label: localeKey('isPreventDefault.label'),
1197
1201
  type: 'Select',
1198
1202
  props: {
1199
1203
  options: [{
@@ -1204,13 +1208,13 @@ var todoOptionList = {
1204
1208
  value: 'F'
1205
1209
  }]
1206
1210
  },
1207
- 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 "
1211
+ labelTip: localeKey('isPreventDefault.labelTip')
1208
1212
  },
1209
1213
  isStopPropagation: {
1210
1214
  key: 'isStopPropagation',
1211
- label: '阻止事件冒泡(高级)',
1215
+ label: localeKey('isStopPropagation.label'),
1212
1216
  type: 'Select',
1213
- 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 ",
1217
+ labelTip: localeKey('isStopPropagation.labelTip'),
1214
1218
  props: {
1215
1219
  options: [{
1216
1220
  title: '是',
@@ -1222,78 +1226,73 @@ var todoOptionList = {
1222
1226
  }
1223
1227
  },
1224
1228
  // 支撑 DICT 项目需求, accountDivide 分账计划,后续可能有变动 start
1225
- payCycle: {
1226
- key: 'payCycle',
1227
- label: '出账方式',
1228
- type: 'SetExpression'
1229
- },
1230
- prodCode: {
1231
- key: 'prodCode',
1232
- label: '产品编码',
1233
- type: 'SetExpression'
1234
- },
1235
- totalAmount: {
1236
- key: 'totalAmount',
1237
- label: '总金额',
1238
- type: 'SetExpression'
1239
- },
1240
- adStartDate: {
1241
- key: 'adStartDate',
1242
- label: '开始年月(格式:2021-12)',
1243
- type: 'SetExpression'
1244
- },
1245
- adEndDate: {
1246
- key: 'adEndDate',
1247
- label: '结束年月(格式:2021-12)',
1248
- type: 'SetExpression'
1249
- },
1250
- adList: {
1251
- key: 'adList',
1252
- label: '计划详情',
1253
- type: 'SetExpression'
1254
- },
1255
- adOperationType: {
1256
- key: 'adOperationType',
1257
- label: '操作类型',
1258
- type: 'Select',
1259
- props: {
1260
- options: [{
1261
- title: '新建分账计划',
1262
- value: 'new'
1263
- }, {
1264
- title: '修改分账计划',
1265
- value: 'edit'
1266
- }, {
1267
- title: '查看计划详情',
1268
- value: 'detail'
1269
- }]
1270
- }
1271
- },
1272
- adStartDateAfter: {
1273
- key: 'adStartDateAfter',
1274
- label: '变更后开始年月(格式:2021-12)',
1275
- type: 'SetExpression'
1276
- },
1277
- adTitle: {
1278
- key: 'adTitle',
1279
- label: '科目名称',
1280
- type: 'SetExpression'
1281
- },
1282
- adOldList: {
1283
- key: 'adOldList',
1284
- label: '变更前计划详情',
1285
- type: 'SetExpression'
1286
- },
1287
- adAfterList: {
1288
- key: 'adAfterList',
1289
- label: '变更后计划详情',
1290
- type: 'SetExpression'
1291
- },
1292
- payCycleAfter: {
1293
- key: 'payCycleAfter',
1294
- label: '变更后出账方式',
1295
- type: 'SetExpression'
1296
- },
1229
+ // payCycle: {
1230
+ // key: 'payCycle',
1231
+ // label: '出账方式',
1232
+ // type: 'SetExpression',
1233
+ // },
1234
+ // prodCode: {
1235
+ // key: 'prodCode',
1236
+ // label: '产品编码',
1237
+ // type: 'SetExpression',
1238
+ // },
1239
+ // totalAmount: {
1240
+ // key: 'totalAmount',
1241
+ // label: '总金额',
1242
+ // type: 'SetExpression',
1243
+ // },
1244
+ // adStartDate: {
1245
+ // key: 'adStartDate',
1246
+ // label: '开始年月(格式:2021-12)',
1247
+ // type: 'SetExpression',
1248
+ // },
1249
+ // adEndDate: {
1250
+ // key: 'adEndDate',
1251
+ // label: '结束年月(格式:2021-12)',
1252
+ // type: 'SetExpression',
1253
+ // },
1254
+ // adList: {
1255
+ // key: 'adList',
1256
+ // label: '计划详情',
1257
+ // type: 'SetExpression',
1258
+ // },
1259
+ // adOperationType: {
1260
+ // key: 'adOperationType',
1261
+ // label: '操作类型',
1262
+ // type: 'Select',
1263
+ // props: {
1264
+ // options: [
1265
+ // { title: '新建分账计划', value: 'new' },
1266
+ // { title: '修改分账计划', value: 'edit' },
1267
+ // { title: '查看计划详情', value: 'detail' },
1268
+ // ],
1269
+ // },
1270
+ // },
1271
+ // adStartDateAfter: {
1272
+ // key: 'adStartDateAfter',
1273
+ // label: '变更后开始年月(格式:2021-12)',
1274
+ // type: 'SetExpression',
1275
+ // },
1276
+ // adTitle: {
1277
+ // key: 'adTitle',
1278
+ // label: '科目名称',
1279
+ // type: 'SetExpression',
1280
+ // },
1281
+ // adOldList: {
1282
+ // key: 'adOldList',
1283
+ // label: '变更前计划详情',
1284
+ // type: 'SetExpression',
1285
+ // },
1286
+ // adAfterList: {
1287
+ // key: 'adAfterList',
1288
+ // label: '变更后计划详情',
1289
+ // type: 'SetExpression',
1290
+ // },
1291
+ // payCycleAfter: {
1292
+ // key: 'payCycleAfter',
1293
+ // label: '变更后出账方式',
1294
+ // type: 'SetExpression',
1295
+ // },
1297
1296
  accept: {
1298
1297
  key: 'accept',
1299
1298
  label: '文件类型',
@@ -1301,7 +1300,7 @@ var todoOptionList = {
1301
1300
  },
1302
1301
  custTplUrl: {
1303
1302
  key: 'custTplUrl',
1304
- label: '指定模板地址(可选)',
1303
+ label: localeKey('custTplUrl.label'),
1305
1304
  type: 'SetExpression'
1306
1305
  },
1307
1306
  name: {
@@ -1330,13 +1329,13 @@ var todoOptionList = {
1330
1329
  label: '动作说明',
1331
1330
  type: 'CustomActionTitle',
1332
1331
  props: {
1333
- placeholder: '请输入动作说明',
1332
+ placeholder: localeKey('actionTitle.props.placeholder'),
1334
1333
  maxLength: 20
1335
1334
  }
1336
1335
  },
1337
1336
  sync: {
1338
1337
  key: 'sync',
1339
- label: '数据加载方式',
1338
+ label: localeKey('sync.label'),
1340
1339
  type: 'RadioButton',
1341
1340
  defaultValue: false,
1342
1341
  props: {
@@ -1355,7 +1354,7 @@ var todoOptionList = {
1355
1354
  type: 'Input',
1356
1355
  props: {
1357
1356
  required: true,
1358
- placeholder: '请输入字段名值, 必须为英文'
1357
+ placeholder: localeKey('setItemKey.props.placeholder')
1359
1358
  }
1360
1359
  },
1361
1360
  mapKey: {
@@ -1363,14 +1362,14 @@ var todoOptionList = {
1363
1362
  label: '地图秘钥',
1364
1363
  type: 'Input',
1365
1364
  props: {
1366
- placeholder: '请输入地图的秘钥',
1365
+ placeholder: localeKey('mapKey.props.placeholder'),
1367
1366
  valuePropName: 'mapKey',
1368
1367
  isRequired: true
1369
1368
  }
1370
1369
  },
1371
1370
  locationAlways: {
1372
1371
  key: 'locationAlways',
1373
- label: '是否持续定位',
1372
+ label: localeKey('locationAlways.label'),
1374
1373
  type: 'Switch',
1375
1374
  props: {
1376
1375
  defaultValue: false
@@ -1378,7 +1377,7 @@ var todoOptionList = {
1378
1377
  },
1379
1378
  locationOutputType: {
1380
1379
  key: 'locationOutputType',
1381
- label: '定位输出坐标系',
1380
+ label: localeKey('locationOutputType.label'),
1382
1381
  type: 'Select',
1383
1382
  defaultValue: 'BD09',
1384
1383
  props: {
@@ -1406,20 +1405,20 @@ var todoOptionList = {
1406
1405
  },
1407
1406
  locationAddress: {
1408
1407
  key: 'locationAddress',
1409
- label: '是否需要地址信息',
1408
+ label: localeKey('locationAddress.label'),
1410
1409
  defaultValue: false,
1411
1410
  type: 'Switch'
1412
1411
  },
1413
1412
  exportSheet: {
1414
1413
  key: 'exportSheet',
1415
- label: 'sheet页设置',
1414
+ label: localeKey('exportSheet.label'),
1416
1415
  type: 'AddExportSheet',
1417
1416
  props: {
1418
1417
  valuePropName: 'exportSheet',
1419
1418
  isRequired: true,
1420
1419
  options: [{
1421
1420
  key: 'custSheetName',
1422
- label: 'sheet页名称',
1421
+ label: localeKey('exportSheet.props.options.0.label'),
1423
1422
  type: 'SetExpression'
1424
1423
  }, {
1425
1424
  key: 'serviceData',
@@ -1473,7 +1472,7 @@ var todoOptionList = {
1473
1472
  },
1474
1473
  verificationCodeUrl: {
1475
1474
  key: 'verificationCodeUrl',
1476
- label: '验证码图片地址',
1475
+ label: localeKey('verificationCodeUrl.label'),
1477
1476
  type: 'SetExpression'
1478
1477
  },
1479
1478
  addTransferValue: {
@@ -1481,7 +1480,7 @@ var todoOptionList = {
1481
1480
  label: '内容',
1482
1481
  type: 'SetExpression',
1483
1482
  props: {
1484
- placeholder: '请输入添加值,多个用英文逗号拼接,例如:1,2,3'
1483
+ placeholder: localeKey('addTransferValue.props.placeholder')
1485
1484
  }
1486
1485
  },
1487
1486
  removeTransferValue: {
@@ -1489,7 +1488,7 @@ var todoOptionList = {
1489
1488
  label: '内容',
1490
1489
  type: 'SetExpression',
1491
1490
  props: {
1492
- placeholder: '请输入删除值,多个用英文逗号拼接,例如:1,2,3'
1491
+ placeholder: localeKey('removeTransferValue.props.placeholder')
1493
1492
  }
1494
1493
  },
1495
1494
  defaultOpenKey: {
@@ -1516,12 +1515,12 @@ var todoOptionList = {
1516
1515
  },
1517
1516
  xLineName: {
1518
1517
  key: 'xLineName',
1519
- label: 'x轴字段名',
1518
+ label: localeKey('xLineName.label'),
1520
1519
  type: 'SetExpression'
1521
1520
  },
1522
1521
  yLineName: {
1523
1522
  key: 'yLineName',
1524
- label: 'y轴字段名',
1523
+ label: localeKey('yLineName.label'),
1525
1524
  type: 'SetExpression'
1526
1525
  },
1527
1526
  lineChartData: {
@@ -1546,12 +1545,12 @@ var todoOptionList = {
1546
1545
  },
1547
1546
  donutX: {
1548
1547
  key: 'donutX',
1549
- label: 'x轴字段名',
1548
+ label: localeKey('donutX.label'),
1550
1549
  type: 'SetExpression'
1551
1550
  },
1552
1551
  donutY: {
1553
1552
  key: 'donutY',
1554
- label: 'y轴字段名',
1553
+ label: localeKey('donutY.label'),
1555
1554
  type: 'SetExpression'
1556
1555
  },
1557
1556
  donutData: {
@@ -1569,12 +1568,12 @@ var todoOptionList = {
1569
1568
  label: '数据源',
1570
1569
  type: 'SetExpression',
1571
1570
  props: {
1572
- placeholder: '格式为:[{count:xx, color:xx, label:xx},...]'
1571
+ placeholder: localeKey('mpData.props.placeholder')
1573
1572
  }
1574
1573
  },
1575
1574
  gcXName: {
1576
1575
  key: 'gcXName',
1577
- label: 'x轴字段名',
1576
+ label: localeKey('gcXName.label'),
1578
1577
  type: 'SetExpression'
1579
1578
  },
1580
1579
  gcLegendParams: {
@@ -1582,7 +1581,7 @@ var todoOptionList = {
1582
1581
  label: '图例内容',
1583
1582
  type: 'SetExpression',
1584
1583
  props: {
1585
- placeholder: '格式为:[{label:xx(说明), value:xx(对应数据源取值字段)},...]'
1584
+ placeholder: localeKey('gcLegendParams.props.placeholder')
1586
1585
  }
1587
1586
  },
1588
1587
  gcData: {
@@ -1590,17 +1589,17 @@ var todoOptionList = {
1590
1589
  label: '数据源',
1591
1590
  type: 'SetExpression',
1592
1591
  props: {
1593
- placeholder: '格式为:[{name:xx, xx:xx, xx:xx, ...},...]'
1592
+ placeholder: localeKey('gcData.props.placeholder')
1594
1593
  }
1595
1594
  },
1596
1595
  scXName: {
1597
1596
  key: 'scXName',
1598
- label: 'x轴字段名',
1597
+ label: localeKey('scXName.label'),
1599
1598
  type: 'SetExpression'
1600
1599
  },
1601
1600
  scYName: {
1602
1601
  key: 'scYName',
1603
- label: 'y轴字段名',
1602
+ label: localeKey('scYName.label'),
1604
1603
  type: 'SetExpression'
1605
1604
  },
1606
1605
  scData: {
@@ -1608,12 +1607,12 @@ var todoOptionList = {
1608
1607
  label: '数据源',
1609
1608
  type: 'SetExpression',
1610
1609
  props: {
1611
- placeholder: '格式为:[{xx:xx, xx:xx, color:xx(需要指定颜色时设置该参数) },...]'
1610
+ placeholder: localeKey('scData.props.placeholder')
1612
1611
  }
1613
1612
  },
1614
1613
  stcXName: {
1615
1614
  key: 'stcXName',
1616
- label: 'x轴字段名',
1615
+ label: localeKey('stcXName.label'),
1617
1616
  type: 'SetExpression'
1618
1617
  },
1619
1618
  stcLegendParams: {
@@ -1621,7 +1620,7 @@ var todoOptionList = {
1621
1620
  label: '图例内容',
1622
1621
  type: 'SetExpression',
1623
1622
  props: {
1624
- placeholder: '格式为:[{label:xx, value:xx},...]'
1623
+ placeholder: localeKey('stcLegendParams.props.placeholder')
1625
1624
  }
1626
1625
  },
1627
1626
  stcData: {
@@ -1629,7 +1628,7 @@ var todoOptionList = {
1629
1628
  label: '数据源',
1630
1629
  type: 'SetExpression',
1631
1630
  props: {
1632
- placeholder: '格式为:[{xx:xx, xx:xx, ... },...]'
1631
+ placeholder: localeKey('stcData.props.placeholder')
1633
1632
  }
1634
1633
  },
1635
1634
  valueMapKey: {
@@ -1639,22 +1638,22 @@ var todoOptionList = {
1639
1638
  },
1640
1639
  labelMapKey: {
1641
1640
  key: 'labelKey',
1642
- label: '内容映射字段',
1641
+ label: localeKey('labelMapKey.label'),
1643
1642
  type: 'SetExpressionKey'
1644
1643
  },
1645
1644
  selectDescriptionKey: {
1646
1645
  key: 'descriptionKey',
1647
- label: '选项描述字段',
1646
+ label: localeKey('selectDescriptionKey.label'),
1648
1647
  type: 'SetExpressionKey'
1649
1648
  },
1650
1649
  selectDisabledKey: {
1651
1650
  key: 'disabledKey',
1652
- label: '选项禁用字段',
1651
+ label: localeKey('selectDisabledKey.label'),
1653
1652
  type: 'SetExpressionKey'
1654
1653
  },
1655
1654
  setSelectorDisabelItems: {
1656
1655
  key: 'disabledKeys',
1657
- label: '值/索引',
1656
+ label: localeKey('setSelectorDisabelItems.label'),
1658
1657
  type: 'SetExpressionKey'
1659
1658
  },
1660
1659
  updateMediaState: {
@@ -1678,16 +1677,16 @@ var todoOptionList = {
1678
1677
  customGroup: {
1679
1678
  key: 'customGroup',
1680
1679
  type: 'SettingGroup',
1681
- label: '自定义表头模板',
1682
- labelTip: '可以根据选择的字段自定义导出模板的表头'
1680
+ label: localeKey('customGroup.label'),
1681
+ labelTip: localeKey('customGroup.labelTip')
1683
1682
  },
1684
1683
  exception: {
1685
1684
  key: 'exception',
1686
1685
  type: 'SwitchGroup',
1687
- label: '导入异常配置',
1686
+ label: localeKey('exception.label'),
1688
1687
  props: {
1689
1688
  options: [{
1690
- title: '支持部分导入',
1689
+ title: localeKey('exception.props.options.0.title'),
1691
1690
  value: 'partialImport'
1692
1691
  }]
1693
1692
  }
@@ -1717,7 +1716,7 @@ var todoOptionList = {
1717
1716
  defaultValue: '960',
1718
1717
  visibleFlag: 'viewMode',
1719
1718
  visibleFlagValue: ['window'],
1720
- labelTip: '不同浏览器有不同的最小限制,请避免设置过小尺寸,当不设置宽高时,默认为全屏'
1719
+ labelTip: localeKey('modalWidth.labelTip')
1721
1720
  },
1722
1721
  modalHeight: {
1723
1722
  key: 'modalHeight',
@@ -1726,8 +1725,7 @@ var todoOptionList = {
1726
1725
  defaultValue: '648',
1727
1726
  visibleFlag: 'viewMode',
1728
1727
  visibleFlagValue: ['window'],
1729
- labelTip: '不同浏览器有不同的最小限制,请避免设置过小尺寸,当不设置宽高时,默认为全屏'
1728
+ labelTip: localeKey('modalHeight.labelTip')
1730
1729
  }
1731
1730
  };
1732
- var _default = todoOptionList;
1733
- exports.default = _default;
1731
+ var _default = exports.default = todoOptionList;