@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
@@ -3,8 +3,16 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
3
3
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
4
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
5
5
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
- import { generateFormValuesCallback1Fields, generateFormValuesCallback2Fields, getAccountDivideOptsFields, getApiResponseFields, getPostObjectResponseFields } from './todoCallback';
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
+ import { generateFormValuesCallback1Fields, generateFormValuesCallback2Fields,
8
+ // getAccountDivideOptsFields,
9
+ getApiResponseFields, getPostObjectResponseFields, getAiServiceResponseFields, getJSBridgeFields } from "./todoCallback";
10
+
11
+ // i18n: shared actions locale prefix
12
+ var TODO_ACTION_LOCALE_PREFIX = 'todo.actionList';
13
+ var localeKey = function localeKey(suffix) {
14
+ return "".concat(TODO_ACTION_LOCALE_PREFIX, ".").concat(suffix);
15
+ };
8
16
  var SERVICE_KEY = {
9
17
  QUERY: '11',
10
18
  INNER: '12',
@@ -16,7 +24,7 @@ var SERVICE_KEY = {
16
24
  var todoActionObject = {
17
25
  showMessage: {
18
26
  key: 'showMessage',
19
- label: '消息提示',
27
+ label: localeKey('showMessage.label'),
20
28
  todoOptions: [{
21
29
  key: 'type',
22
30
  label: '类型',
@@ -57,19 +65,19 @@ var todoActionObject = {
57
65
  }
58
66
  }],
59
67
  classification: [{
60
- label: '消息&弹窗',
68
+ label: localeKey('showMessage.classification.modal.label'),
61
69
  value: 'modal'
62
70
  }],
63
71
  remarks: [{
64
72
  label: '注意事项',
65
- content: '当加载时长为0时,表示一直显示加载中。当加载时长大于0时,表示按照设置时间显示加载中'
73
+ content: localeKey('showMessage.remarks.0.content')
66
74
  }]
67
75
  },
68
76
  hideMessage: {
69
77
  key: 'hideMessage',
70
- label: '关闭消息提示',
78
+ label: localeKey('hideMessage.label'),
71
79
  classification: [{
72
- label: '消息&弹窗',
80
+ label: localeKey('hideMessage.classification.modal.label'),
73
81
  value: 'modal'
74
82
  }]
75
83
  },
@@ -81,13 +89,13 @@ var todoActionObject = {
81
89
  label: '动作说明',
82
90
  type: 'CustomActionTitle',
83
91
  props: {
84
- placeholder: '请输入动作说明',
92
+ placeholder: localeKey('apiRequest.todoOptions.actionTitle.props.placeholder'),
85
93
  maxLength: 20,
86
94
  valuePropName: 'actionTitle'
87
95
  }
88
96
  }, {
89
97
  key: 'sync',
90
- label: '数据加载方式',
98
+ label: localeKey('apiRequest.todoOptions.sync.label'),
91
99
  type: 'RadioButton',
92
100
  defaultValue: false,
93
101
  props: {
@@ -101,16 +109,31 @@ var todoActionObject = {
101
109
  }
102
110
  }, {
103
111
  key: 'url',
104
- label: '请求地址(URL)',
112
+ label: localeKey('apiRequest.todoOptions.url.label'),
105
113
  type: 'SelectServiceUrl',
106
114
  props: {
107
115
  isRequired: true,
108
- valuePropName: 'url'
116
+ valuePropName: 'url',
117
+ isShowRelObject: true
109
118
  }
119
+ }, {
120
+ key: 'relatedObjectList',
121
+ label: localeKey('apiRequest.todoOptions.relatedObjectList.label'),
122
+ type: 'SelectRelObject',
123
+ props: {
124
+ isRequired: true,
125
+ valuePropName: 'relatedObjectList'
126
+ },
127
+ visibleFlag: 'isMasterSlave',
128
+ visibleFlagValue: [true]
110
129
  }, {
111
130
  key: 'params',
112
131
  label: '参数赋值',
113
- type: 'ApiRequestSetParams'
132
+ type: 'SetRequestParam',
133
+ extraGroups: [{
134
+ subLabel: '清空赋值',
135
+ subClickFunName: 'cleanValue'
136
+ }]
114
137
  }],
115
138
  todoCallbacks: [{
116
139
  key: 'callback1',
@@ -129,55 +152,65 @@ var todoActionObject = {
129
152
  },
130
153
  JSBridge: {
131
154
  key: 'JSBridge',
132
- label: 'js调用原生方法',
155
+ label: localeKey('JSBridge.label'),
133
156
  todoOptions: [{
134
157
  key: 'method',
135
158
  label: '方法名',
136
159
  type: 'input',
137
160
  props: {
138
- placeholder: '例如:openCamera'
161
+ placeholder: localeKey('JSBridge.todoOptions.method.props.placeholder')
139
162
  }
140
163
  }, {
141
164
  key: 'androidWebName',
142
- label: '安卓容器名称',
165
+ label: localeKey('JSBridge.todoOptions.androidWebName.label'),
143
166
  type: 'input',
144
167
  props: {
145
- placeholder: '默认:Android'
168
+ placeholder: localeKey('JSBridge.todoOptions.androidWebName.props.placeholder')
146
169
  }
147
170
  }, {
148
171
  key: 'androidSuccessFunName',
149
- label: '安卓端成功回调方法名',
172
+ label: localeKey('JSBridge.todoOptions.androidSuccessFunName.label'),
150
173
  type: 'input',
151
174
  props: {
152
- placeholder: '例如:openCameraSuccess[用于Android成功回调H5]'
175
+ placeholder: localeKey('JSBridge.todoOptions.androidSuccessFunName.props.placeholder')
153
176
  }
154
177
  }, {
155
178
  key: 'iOSSuccessFunName',
156
- label: 'iOS端成功回调方法名',
179
+ label: localeKey('JSBridge.todoOptions.iOSSuccessFunName.label'),
157
180
  type: 'input',
158
181
  props: {
159
- placeholder: '例如:openCameraSuccess[用于iOS成功回调H5]'
182
+ placeholder: localeKey('JSBridge.todoOptions.iOSSuccessFunName.props.placeholder')
160
183
  }
161
184
  }, {
162
185
  key: 'androidFailFunName',
163
- label: '安卓端失败回调方法名',
186
+ label: localeKey('JSBridge.todoOptions.androidFailFunName.label'),
164
187
  type: 'input',
165
188
  props: {
166
- placeholder: '例如:openCameraFail[用于Android失败的回调H5]'
189
+ placeholder: localeKey('JSBridge.todoOptions.androidFailFunName.props.placeholder')
167
190
  }
168
191
  }, {
169
192
  key: 'iOSFailFunName',
170
- label: 'iOS端失败回调方法名',
193
+ label: localeKey('JSBridge.todoOptions.iOSFailFunName.label'),
171
194
  type: 'input',
172
195
  props: {
173
- placeholder: '例如:openCameraFail[用于iOS失败的回调H5]'
196
+ placeholder: localeKey('JSBridge.todoOptions.iOSFailFunName.props.placeholder')
174
197
  }
175
198
  }, {
176
199
  key: 'flowCustParams',
177
200
  label: '自定义参数',
178
201
  type: 'SetCustomParams'
179
202
  }],
180
- todoCallbacks: ['callback1', 'callback2'],
203
+ todoCallbacks: [{
204
+ key: 'callback1',
205
+ getFields: function getFields(kv) {
206
+ return getJSBridgeFields(kv, localeKey('JSBridge.todoCallbacks.callback1.title'));
207
+ }
208
+ }, {
209
+ key: 'callback2',
210
+ getFields: function getFields(kv) {
211
+ return getJSBridgeFields(kv, localeKey('JSBridge.todoCallbacks.callback2.title'));
212
+ }
213
+ }],
181
214
  classification: [{
182
215
  label: '其他',
183
216
  value: 'others'
@@ -188,7 +221,7 @@ var todoActionObject = {
188
221
  label: '触发流程',
189
222
  todoOptions: [{
190
223
  key: 'sync',
191
- label: '数据加载方式',
224
+ label: localeKey('apiRequestByFlow.todoOptions.sync.label'),
192
225
  type: 'RadioButton',
193
226
  defaultValue: false,
194
227
  props: {
@@ -202,7 +235,7 @@ var todoActionObject = {
202
235
  }
203
236
  }, {
204
237
  key: 'flowUrl',
205
- label: '流程请求接口',
238
+ label: localeKey('apiRequestByFlow.todoOptions.flowUrl.label'),
206
239
  type: 'input'
207
240
  }, {
208
241
  key: 'flowType',
@@ -233,11 +266,11 @@ var todoActionObject = {
233
266
  }, {
234
267
  key: 'workOrderId',
235
268
  aliasKey: 'flowWorkOrderId',
236
- label: '业务工单 ID',
269
+ label: localeKey('apiRequestByFlow.todoOptions.flowWorkOrderId.label'),
237
270
  type: 'SetExpression'
238
271
  }, {
239
272
  key: 'workOrderType',
240
- label: '业务工单类型',
273
+ label: localeKey('apiRequestByFlow.todoOptions.workOrderType.label'),
241
274
  type: 'SetExpression'
242
275
  }, {
243
276
  key: 'configDealUserId',
@@ -245,7 +278,7 @@ var todoActionObject = {
245
278
  type: 'SetExpression'
246
279
  }, {
247
280
  key: 'flowBtnActionType',
248
- label: '按钮动作类型',
281
+ label: localeKey('apiRequestByFlow.todoOptions.flowBtnActionType.label'),
249
282
  type: 'SetExpression'
250
283
  }, {
251
284
  key: 'flowAuditDesc',
@@ -253,7 +286,7 @@ var todoActionObject = {
253
286
  type: 'SetExpression'
254
287
  }, {
255
288
  key: 'flowFileId',
256
- label: '附件ID',
289
+ label: localeKey('apiRequestByFlow.todoOptions.flowFileId.label'),
257
290
  type: 'SetExpression'
258
291
  }],
259
292
  todoCallbacks: ['callback1', 'callback2'],
@@ -264,22 +297,22 @@ var todoActionObject = {
264
297
  },
265
298
  openFlowPage: {
266
299
  key: 'openFlowPage',
267
- label: '流程页面跳转',
300
+ label: localeKey('openFlowPage.label'),
268
301
  todoOptions: [{
269
302
  key: 'flowWorkId',
270
- label: '流程实例ID',
303
+ label: localeKey('openFlowPage.todoOptions.flowWorkId.label'),
271
304
  type: 'SetExpression'
272
305
  }, {
273
306
  key: 'workItemId',
274
- label: '工单ID',
307
+ label: localeKey('openFlowPage.todoOptions.workItemId.label'),
275
308
  type: 'SetExpression'
276
309
  }, {
277
310
  key: 'flowTabStepVisible',
278
- label: '展示流程实例图',
311
+ label: localeKey('openFlowPage.todoOptions.flowTabStepVisible.label'),
279
312
  type: 'Switch'
280
313
  }, {
281
314
  key: 'flowTimelineVisible',
282
- label: '展示流程轨迹',
315
+ label: localeKey('openFlowPage.todoOptions.flowTimelineVisible.label'),
283
316
  type: 'Switch'
284
317
  }, {
285
318
  key: 'flowCustParams',
@@ -311,17 +344,17 @@ var todoActionObject = {
311
344
  },
312
345
  openFlowDiagram: {
313
346
  key: 'openFlowDiagram',
314
- label: '打开流程实例图',
347
+ label: localeKey('openFlowDiagram.label'),
315
348
  todoOptions: [{
316
349
  key: 'diagramType',
317
- label: '选择实例图类型',
350
+ label: localeKey('openFlowDiagram.todoOptions.diagramType.label'),
318
351
  type: 'Select',
319
352
  props: {
320
353
  options: [{
321
- title: '当前流程实例图',
354
+ title: localeKey('openFlowDiagram.todoOptions.diagramType.props.options.0.title'),
322
355
  value: 'default'
323
356
  }, {
324
- title: '指定主干流程实例图',
357
+ title: localeKey('openFlowDiagram.todoOptions.diagramType.props.options.1.title'),
325
358
  value: 'custom'
326
359
  }]
327
360
  }
@@ -331,7 +364,7 @@ var todoActionObject = {
331
364
  type: 'SelectFlowCode'
332
365
  }, {
333
366
  key: 'diagramWorkOrderId',
334
- label: '业务单ID',
367
+ label: localeKey('openFlowDiagram.todoOptions.diagramWorkOrderId.label'),
335
368
  type: 'SetExpression'
336
369
  }],
337
370
  classification: [{
@@ -362,7 +395,11 @@ var todoActionObject = {
362
395
  type: 'CompTree',
363
396
  aliasKey: 'compId',
364
397
  props: {
365
- checkable: true
398
+ checkable: true,
399
+ titleLink: [{
400
+ title: '清空已选',
401
+ value: 'cleanValue'
402
+ }]
366
403
  }
367
404
  }, {
368
405
  key: 'compValueList',
@@ -386,7 +423,7 @@ var todoActionObject = {
386
423
  label: '常用',
387
424
  value: 'common'
388
425
  }, {
389
- label: '显示/隐藏',
426
+ label: localeKey('sysSetVisible.classification.1.label'),
390
427
  value: 'visible'
391
428
  }]
392
429
  },
@@ -397,11 +434,23 @@ var todoActionObject = {
397
434
  key: 'compid',
398
435
  label: '组件选择',
399
436
  type: 'CompTree',
400
- aliasKey: 'compId'
437
+ aliasKey: 'compId',
438
+ props: {
439
+ titleLink: [{
440
+ title: '清空已选',
441
+ value: 'cleanValue'
442
+ }]
443
+ }
401
444
  }, {
402
445
  key: 'valueList',
403
446
  label: '组件赋值',
404
- type: 'SetSysExpression'
447
+ type: 'SetSysExpression',
448
+ props: {
449
+ titleLink: [{
450
+ title: '清空赋值',
451
+ value: 'clearValue'
452
+ }]
453
+ }
405
454
  }],
406
455
  todoCallbacks: ['callback1'],
407
456
  classification: [{
@@ -422,7 +471,11 @@ var todoActionObject = {
422
471
  type: 'CompTree',
423
472
  aliasKey: 'compId',
424
473
  props: {
425
- checkable: true
474
+ checkable: true,
475
+ titleLink: [{
476
+ title: '清空已选',
477
+ value: 'cleanValue'
478
+ }]
426
479
  }
427
480
  }, {
428
481
  key: 'compValueList',
@@ -459,7 +512,11 @@ var todoActionObject = {
459
512
  type: 'CompTree',
460
513
  aliasKey: 'compId',
461
514
  props: {
462
- checkable: true
515
+ checkable: true,
516
+ titleLink: [{
517
+ title: '清空已选',
518
+ value: 'cleanValue'
519
+ }]
463
520
  }
464
521
  }, {
465
522
  key: 'compValueList',
@@ -523,11 +580,11 @@ var todoActionObject = {
523
580
  type: 'SetExpression'
524
581
  }, {
525
582
  key: 'okText',
526
- label: '确认按钮文本',
583
+ label: localeKey('showModal.todoOptions.okText.label'),
527
584
  type: 'Input'
528
585
  }, {
529
586
  key: 'cancelText',
530
- label: '取消按钮文本',
587
+ label: localeKey('showModal.todoOptions.cancelText.label'),
531
588
  type: 'Input',
532
589
  visibleFlag: 'type',
533
590
  visibleFlagValue: ['confirm']
@@ -537,16 +594,16 @@ var todoActionObject = {
537
594
  label: '常用',
538
595
  value: 'common'
539
596
  }, {
540
- label: '消息&弹窗',
597
+ label: localeKey('showModal.classification.1.label'),
541
598
  value: 'modal'
542
599
  }]
543
600
  },
544
601
  showCustomModal: {
545
602
  key: 'showCustomModal',
546
- label: '打开弹窗/推拉门',
603
+ label: localeKey('showCustomModal.label'),
547
604
  todoOptions: [{
548
605
  key: 'modalname',
549
- label: '弹窗/推拉门',
606
+ label: localeKey('showCustomModal.todoOptions.modalname.label'),
550
607
  type: 'SetSelectedPage'
551
608
  }, {
552
609
  key: 'componentState',
@@ -562,7 +619,7 @@ var todoActionObject = {
562
619
  label: '常用',
563
620
  value: 'common'
564
621
  }, {
565
- label: '消息&弹窗',
622
+ label: localeKey('showCustomModal.classification.1.label'),
566
623
  value: 'modal'
567
624
  }],
568
625
  isAsync: true
@@ -585,34 +642,34 @@ var todoActionObject = {
585
642
  }],
586
643
  todoCallbacks: ['callback1', 'callback2'],
587
644
  classification: [{
588
- label: '消息&弹窗',
645
+ label: localeKey('showAppCustomModal.classification.modal.label'),
589
646
  value: 'modal'
590
647
  }],
591
648
  remarks: [{
592
649
  label: '配置建议',
593
- content: '确认回调事件执行:在弹窗页面编排选择触发父页面确认回掉事件,将会触发确认回掉事件; \n\n 弹窗消失时执行: 每次弹窗消失将会触发该回掉'
650
+ content: localeKey('showAppCustomModal.remarks.0.content')
594
651
  }],
595
652
  isAsync: true
596
653
  },
597
654
  setModalTitle: {
598
655
  key: 'setModalTitle',
599
- label: '设置弹窗标题',
656
+ label: localeKey('setModalTitle.label'),
600
657
  todoOptions: [{
601
658
  key: 'title',
602
659
  label: '弹窗标题',
603
660
  type: 'SetExpression'
604
661
  }],
605
662
  classification: [{
606
- label: '消息&弹窗',
663
+ label: localeKey('setModalTitle.classification.modal.label'),
607
664
  value: 'modal'
608
665
  }]
609
666
  },
610
667
  showDrawer: {
611
668
  key: 'showDrawer',
612
- label: '打开弹窗/推拉门',
669
+ label: localeKey('showDrawer.label'),
613
670
  todoOptions: [{
614
671
  key: 'drawerPath',
615
- label: '弹窗/推拉门',
672
+ label: localeKey('showDrawer.todoOptions.drawerPath.label'),
616
673
  type: 'SetSelectedPage'
617
674
  }, {
618
675
  key: 'compState',
@@ -621,31 +678,31 @@ var todoActionObject = {
621
678
  }],
622
679
  todoCallbacks: ['callback1', 'callback2'],
623
680
  classification: [{
624
- label: '消息&弹窗',
681
+ label: localeKey('showDrawer.classification.modal.label'),
625
682
  value: 'modal'
626
683
  }],
627
684
  remarks: [{
628
685
  label: '配置建议',
629
- content: '点击确认执行:在弹窗页面编排选择触发父页面确认回掉事件,将会触发确认回掉事件; \n 点击取消执行: 点击取消将会触发该回掉'
686
+ content: localeKey('showDrawer.remarks.0.content')
630
687
  }],
631
688
  hidden: true
632
689
  },
633
690
  setDrawerTitle: {
634
691
  key: 'setDrawerTitle',
635
- label: '设置推拉门标题',
692
+ label: localeKey('setDrawerTitle.label'),
636
693
  todoOptions: [{
637
694
  key: 'title',
638
695
  label: '推拉门标题',
639
696
  type: 'SetExpression'
640
697
  }],
641
698
  classification: [{
642
- label: '消息&弹窗',
699
+ label: localeKey('setDrawerTitle.classification.modal.label'),
643
700
  value: 'modal'
644
701
  }]
645
702
  },
646
703
  setPublicState: {
647
704
  key: 'setPublicState',
648
- label: '设置页面出参',
705
+ label: localeKey('setPublicState.label'),
649
706
  todoOptions: [{
650
707
  key: 'value',
651
708
  label: '内容',
@@ -654,7 +711,7 @@ var todoActionObject = {
654
711
  },
655
712
  getPublicState: {
656
713
  key: 'getPublicState',
657
- label: '获取页面出参',
714
+ label: localeKey('getPublicState.label'),
658
715
  todoOptions: [{
659
716
  key: 'jsonId',
660
717
  label: '页面',
@@ -676,13 +733,13 @@ var todoActionObject = {
676
733
  }, {
677
734
  key: 'search',
678
735
  aliasKey: 'searchParams',
679
- label: 'url参数',
736
+ label: localeKey('historyPush.todoOptions.search.label'),
680
737
  type: 'SearchParams'
681
738
  }, {
682
739
  key: 'routerData',
683
740
  label: '路由数据',
684
741
  type: 'RouterData',
685
- labelTip: '适用场景:两页面跳转之间大数据的传递,请先前往跳转页面申明相应的路由数据! '
742
+ labelTip: localeKey('historyPush.todoOptions.routerData.labelTip')
686
743
  }]
687
744
  },
688
745
  historyReplace: {
@@ -695,7 +752,7 @@ var todoActionObject = {
695
752
  }, {
696
753
  key: 'search',
697
754
  aliasKey: 'searchParams',
698
- label: 'url参数',
755
+ label: localeKey('historyReplace.todoOptions.search.label'),
699
756
  type: 'SearchParams'
700
757
  }, {
701
758
  key: 'routerData',
@@ -733,7 +790,7 @@ var todoActionObject = {
733
790
  }, {
734
791
  key: 'search',
735
792
  aliasKey: 'searchParams',
736
- label: 'url参数',
793
+ label: localeKey('history.todoOptions.search.label'),
737
794
  type: 'SearchParams'
738
795
  }, {
739
796
  key: 'routerData',
@@ -746,12 +803,12 @@ var todoActionObject = {
746
803
  }],
747
804
  remarks: [{
748
805
  label: '配置说明',
749
- content: '路由跳转:灵犀应用内部进行的页面跳转;\n路由替换:页面将会替换并重新加载,无法返回;\n新窗口:将会在浏览器上新建一个tab标签进行打开(无法进行路由数据的传递);\n门户跳转:在灵犀平台门户内,会新建一个新的tab标签进行跳转(无法进行路由数据传递)。 '
806
+ content: localeKey('history.remarks.0.content')
750
807
  }]
751
808
  },
752
809
  dropPageByCatch: {
753
810
  key: 'dropPageByCatch',
754
- label: '页面缓存清除',
811
+ label: localeKey('dropPageByCatch.label'),
755
812
  todoOptions: [{
756
813
  key: 'dropPathname',
757
814
  label: '页面',
@@ -777,10 +834,10 @@ var todoActionObject = {
777
834
  },
778
835
  setCustomState: {
779
836
  key: 'setCustomState',
780
- label: '设置自定义页面数据',
837
+ label: localeKey('setCustomState.label'),
781
838
  todoOptions: [{
782
839
  key: 'stateName',
783
- label: '自定义属性名',
840
+ label: localeKey('setCustomState.todoOptions.stateName.label'),
784
841
  type: 'Input'
785
842
  }, {
786
843
  key: 'stateval',
@@ -795,19 +852,19 @@ var todoActionObject = {
795
852
  },
796
853
  getCustomState: {
797
854
  key: 'getCustomState',
798
- label: '获取自定义页面数据',
855
+ label: localeKey('getCustomState.label'),
799
856
  todoOptions: [{
800
857
  key: 'stateName',
801
- label: '自定义属性名',
858
+ label: localeKey('getCustomState.todoOptions.stateName.label'),
802
859
  type: 'Input'
803
860
  }],
804
861
  todoCallbacks: [{
805
862
  key: 'callback1',
806
863
  fields: [{
807
- title: '自定义页面数据:@{options.stateName}',
864
+ title: localeKey('getCustomState.todoCallbacks.callback1.fields.0.title'),
808
865
  value: '$cState_@{options.id}$',
809
866
  type: 'unknown',
810
- description: '获取到的页面数据'
867
+ description: localeKey('getCustomState.todoCallbacks.callback1.fields.0.description')
811
868
  }]
812
869
  }],
813
870
  classification: [{
@@ -818,10 +875,10 @@ var todoActionObject = {
818
875
  },
819
876
  setCompNestedState: {
820
877
  key: 'setCompNestedState',
821
- label: '设置组件属性数据',
878
+ label: localeKey('setCompNestedState.label'),
822
879
  todoOptions: [{
823
880
  key: 'stateName',
824
- label: '自定义属性名',
881
+ label: localeKey('setCompNestedState.todoOptions.stateName.label'),
825
882
  type: 'Input'
826
883
  }, {
827
884
  key: 'stateval',
@@ -836,10 +893,10 @@ var todoActionObject = {
836
893
  },
837
894
  getCompNestedState: {
838
895
  key: 'getCompNestedState',
839
- label: '获取组件属性数据',
896
+ label: localeKey('getCompNestedState.label'),
840
897
  todoOptions: [{
841
898
  key: 'stateName',
842
- label: '自定义属性名',
899
+ label: localeKey('getCompNestedState.todoOptions.stateName.label'),
843
900
  type: 'Input'
844
901
  }],
845
902
  todoCallbacks: ['callback1'],
@@ -851,7 +908,7 @@ var todoActionObject = {
851
908
  },
852
909
  okCallbackData: {
853
910
  key: 'okCallbackData',
854
- label: '触发父页面确认回调',
911
+ label: localeKey('okCallbackData.label'),
855
912
  todoOptions: [{
856
913
  key: 'params',
857
914
  aliasKey: 'setParams',
@@ -865,25 +922,25 @@ var todoActionObject = {
865
922
  },
866
923
  closeModal: {
867
924
  key: 'closeModal',
868
- label: '关闭当前弹窗/推拉门',
925
+ label: localeKey('closeModal.label'),
869
926
  todoOptions: [],
870
927
  classification: [{
871
- label: '消息&弹窗',
928
+ label: localeKey('closeModal.classification.modal.label'),
872
929
  value: 'modal'
873
930
  }]
874
931
  },
875
932
  closePopover: {
876
933
  key: 'closePopover',
877
- label: '关闭气泡卡片',
934
+ label: localeKey('closePopover.label'),
878
935
  todoOptions: [],
879
936
  classification: [{
880
- label: '消息&弹窗',
937
+ label: localeKey('closePopover.classification.modal.label'),
881
938
  value: 'modal'
882
939
  }]
883
940
  },
884
941
  validateForm: {
885
942
  key: 'validateForm',
886
- label: '表单校验并取值',
943
+ label: localeKey('validateForm.label'),
887
944
  todoCallbacks: ['callback1', 'callback2']
888
945
  },
889
946
  getFormValue: {
@@ -893,15 +950,15 @@ var todoActionObject = {
893
950
  key: 'callback1',
894
951
  fields: [{
895
952
  value: '$formValues$',
896
- title: '@{name}表单数据',
953
+ title: localeKey('getFormValue.todoCallbacks.callback1.fields.0.title'),
897
954
  type: 'object',
898
- description: '直接获取表单数据'
955
+ description: localeKey('getFormValue.todoCallbacks.callback1.fields.0.description')
899
956
  }]
900
957
  }]
901
958
  },
902
959
  setFormValues: {
903
960
  key: 'setFormValues',
904
- label: '设置表单数据',
961
+ label: localeKey('setFormValues.label'),
905
962
  todoOptions: [{
906
963
  key: 'params',
907
964
  label: '参数赋值',
@@ -930,29 +987,29 @@ var todoActionObject = {
930
987
  },
931
988
  setTripleFormAction: {
932
989
  key: 'setTripleFormAction',
933
- label: '设置表单外部数据',
990
+ label: localeKey('setTripleFormAction.label'),
934
991
  todoOptions: [{
935
992
  key: 'actionType',
936
993
  label: '表单类型',
937
994
  type: 'SetExpression',
938
995
  props: {
939
- placeholder: '新增-add, 编辑-edit, 详情-detail'
996
+ placeholder: localeKey('setTripleFormAction.todoOptions.actionType.props.placeholder')
940
997
  }
941
998
  }, {
942
999
  key: 'detailId',
943
1000
  aliasKey: 'tripleFormId',
944
- label: '详情id',
1001
+ label: localeKey('setTripleFormAction.todoOptions.detailId.label'),
945
1002
  type: 'SetExpression'
946
1003
  }]
947
1004
  },
948
1005
  validateCurrentForm: {
949
1006
  key: 'validateCurrentForm',
950
- label: '当前表单校验并取值',
1007
+ label: localeKey('validateCurrentForm.label'),
951
1008
  todoCallbacks: [{
952
1009
  key: 'callback1',
953
1010
  getFields: function getFields(kv, ctx) {
954
1011
  return generateFormValuesCallback1Fields(kv, ctx, {
955
- description: '当前表单所有字段的数据'
1012
+ description: localeKey('validateCurrentForm.todoCallbacks.callback1.description')
956
1013
  });
957
1014
  }
958
1015
  }, {
@@ -962,19 +1019,19 @@ var todoActionObject = {
962
1019
  },
963
1020
  getCurrentFormValues: {
964
1021
  key: 'getCurrentFormValues',
965
- label: '当前表单取值',
1022
+ label: localeKey('getCurrentFormValues.label'),
966
1023
  todoCallbacks: [{
967
1024
  key: 'callback1',
968
1025
  getFields: function getFields(kv, ctx) {
969
1026
  return generateFormValuesCallback1Fields(kv, ctx, {
970
- description: '当前表单所有字段的数据'
1027
+ description: localeKey('getCurrentFormValues.todoCallbacks.callback1.description')
971
1028
  });
972
1029
  }
973
1030
  }]
974
1031
  },
975
1032
  setCurrentFormValues: {
976
1033
  key: 'setCurrentFormValues',
977
- label: '设置当前表单数据',
1034
+ label: localeKey('setCurrentFormValues.label'),
978
1035
  todoOptions: [{
979
1036
  key: 'params',
980
1037
  label: '参数赋值',
@@ -999,18 +1056,18 @@ var todoActionObject = {
999
1056
  },
1000
1057
  resetCurrentForm: {
1001
1058
  key: 'resetCurrentForm',
1002
- label: '重置当前表单'
1059
+ label: localeKey('resetCurrentForm.label')
1003
1060
  },
1004
1061
  validateAllForm: {
1005
1062
  key: 'validateAllForm',
1006
- label: '全部表单校验并取值',
1063
+ label: localeKey('validateAllForm.label'),
1007
1064
  todoCallbacks: [{
1008
1065
  key: 'callback1',
1009
1066
  fields: [{
1010
1067
  value: '$allFormValues$',
1011
- title: '全部表单数据',
1068
+ title: localeKey('validateAllForm.todoCallbacks.callback1.fields.0.title'),
1012
1069
  type: 'object',
1013
- description: '页面全部表单均校验通过后,所有字段的数据',
1070
+ description: localeKey('validateAllForm.todoCallbacks.callback1.fields.0.description'),
1014
1071
  getExtraCtxItem: function getExtraCtxItem(kv) {
1015
1072
  return {
1016
1073
  actionId: kv.dataId
@@ -1027,14 +1084,14 @@ var todoActionObject = {
1027
1084
  },
1028
1085
  getAllFormValues: {
1029
1086
  key: 'getAllFormValues',
1030
- label: '全部表单取值',
1087
+ label: localeKey('getAllFormValues.label'),
1031
1088
  todoCallbacks: [{
1032
1089
  key: 'callback1',
1033
1090
  fields: [{
1034
1091
  value: '$allFormValues$',
1035
- title: '全部表单数据',
1092
+ title: localeKey('getAllFormValues.todoCallbacks.callback1.fields.0.title'),
1036
1093
  type: 'object',
1037
- description: '页面全部表单,所有字段的数据',
1094
+ description: localeKey('getAllFormValues.todoCallbacks.callback1.fields.0.description'),
1038
1095
  getExtraCtxItem: function getExtraCtxItem(kv) {
1039
1096
  return {
1040
1097
  actionId: kv.dataId
@@ -1049,7 +1106,7 @@ var todoActionObject = {
1049
1106
  },
1050
1107
  resetAllForm: {
1051
1108
  key: 'resetAllForm',
1052
- label: '重置全部表单',
1109
+ label: localeKey('resetAllForm.label'),
1053
1110
  classification: [{
1054
1111
  label: '数据设置',
1055
1112
  value: 'setData'
@@ -1057,14 +1114,14 @@ var todoActionObject = {
1057
1114
  },
1058
1115
  validateGridViewForms: {
1059
1116
  key: 'validateGridViewForms',
1060
- label: '循环块表单校验并取值',
1117
+ label: localeKey('validateGridViewForms.label'),
1061
1118
  todoCallbacks: [{
1062
1119
  key: 'callback1',
1063
1120
  fields: [{
1064
- title: '@{name}表单数据',
1121
+ title: localeKey('validateGridViewForms.todoCallbacks.callback1.fields.0.title'),
1065
1122
  value: '@{options.compId}',
1066
1123
  type: 'objectInArray',
1067
- description: '获取循环块表单校验并取值, 返回对象数组'
1124
+ description: localeKey('validateGridViewForms.todoCallbacks.callback1.fields.0.description')
1068
1125
  }]
1069
1126
  }, {
1070
1127
  key: 'callback2'
@@ -1072,7 +1129,7 @@ var todoActionObject = {
1072
1129
  },
1073
1130
  getGridViewFormValues: {
1074
1131
  key: 'getGridViewFormValues',
1075
- label: '循环块表单取值',
1132
+ label: localeKey('getGridViewFormValues.label'),
1076
1133
  todoCallbacks: ['callback1']
1077
1134
  },
1078
1135
  reloadTableData: {
@@ -1097,7 +1154,7 @@ var todoActionObject = {
1097
1154
  },
1098
1155
  reloadColServiceData: {
1099
1156
  key: 'reloadColServiceData',
1100
- label: '加载字段翻译数据',
1157
+ label: localeKey('reloadColServiceData.label'),
1101
1158
  todoOptions: [{
1102
1159
  key: 'colName',
1103
1160
  label: '翻译字段',
@@ -1111,7 +1168,7 @@ var todoActionObject = {
1111
1168
  },
1112
1169
  reloadColServiceDataForEdit: {
1113
1170
  key: 'reloadColServiceDataForEdit',
1114
- label: '加载字段数据',
1171
+ label: localeKey('reloadColServiceDataForEdit.label'),
1115
1172
  todoOptions: [{
1116
1173
  key: 'colNameForEdit',
1117
1174
  label: '字段',
@@ -1133,10 +1190,10 @@ var todoActionObject = {
1133
1190
  }, {
1134
1191
  key: 'labelKey',
1135
1192
  aliasKey: 'selectLabelKeyForRC',
1136
- label: '显示内容字段',
1193
+ label: localeKey('reloadRCData.todoOptions.labelKey.label'),
1137
1194
  type: 'SetExpressionKey',
1138
1195
  props: {
1139
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1196
+ // Only fill child data for the selected parameter key; do not fill the expression
1140
1197
  isFillKey: 'data'
1141
1198
  }
1142
1199
  }, {
@@ -1145,7 +1202,7 @@ var todoActionObject = {
1145
1202
  label: '显示值字段',
1146
1203
  type: 'SetExpressionKey',
1147
1204
  props: {
1148
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1205
+ // Only fill child data for the selected parameter key; do not fill the expression
1149
1206
  isFillKey: 'data'
1150
1207
  }
1151
1208
  }],
@@ -1162,10 +1219,10 @@ var todoActionObject = {
1162
1219
  }, {
1163
1220
  key: 'labelKey',
1164
1221
  aliasKey: 'selectLabelKey',
1165
- label: '选项内容字段',
1222
+ label: localeKey('reloadSelectData.todoOptions.labelKey.label'),
1166
1223
  type: 'SetExpressionKey',
1167
1224
  props: {
1168
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1225
+ // Only fill child data for the selected parameter key; do not fill the expression
1169
1226
  isFillKey: 'data'
1170
1227
  }
1171
1228
  }, {
@@ -1174,7 +1231,7 @@ var todoActionObject = {
1174
1231
  label: '选项值字段',
1175
1232
  type: 'SetExpressionKey',
1176
1233
  props: {
1177
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1234
+ // Only fill child data for the selected parameter key; do not fill the expression
1178
1235
  isFillKey: 'data'
1179
1236
  }
1180
1237
  }],
@@ -1200,36 +1257,36 @@ var todoActionObject = {
1200
1257
  type: 'SetExpression'
1201
1258
  }, {
1202
1259
  key: 'labelKey',
1203
- label: '节点名称取值字段',
1260
+ label: localeKey('reloadData.todoOptions.labelKey.label'),
1204
1261
  type: 'SetExpressionKey',
1205
1262
  props: {
1206
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1263
+ // Only fill child data for the selected parameter key; do not fill the expression
1207
1264
  isFillKey: 'data'
1208
1265
  }
1209
1266
  }, {
1210
1267
  key: 'nodeValueKey',
1211
- label: '节点key取值字段',
1268
+ label: localeKey('reloadData.todoOptions.nodeValueKey.label'),
1212
1269
  type: 'SetExpressionKey',
1213
1270
  props: {
1214
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1271
+ // Only fill child data for the selected parameter key; do not fill the expression
1215
1272
  isFillKey: 'data'
1216
1273
  }
1217
1274
  }, {
1218
1275
  key: 'selectable',
1219
- label: '节点可选字段编码',
1276
+ label: localeKey('reloadData.todoOptions.selectable.label'),
1220
1277
  type: 'SetExpressionKey',
1221
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1278
+ labelTip: localeKey('reloadData.todoOptions.selectable.labelTip'),
1222
1279
  props: {
1223
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1280
+ // Only fill child data for the selected parameter key; do not fill the expression
1224
1281
  isFillKey: 'data'
1225
1282
  }
1226
1283
  }, {
1227
1284
  key: 'childrenKey',
1228
- label: '下级列表取值字段',
1285
+ label: localeKey('reloadData.todoOptions.childrenKey.label'),
1229
1286
  type: 'SetExpressionKey',
1230
- labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n ',
1287
+ labelTip: localeKey('reloadData.todoOptions.childrenKey.labelTip'),
1231
1288
  props: {
1232
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1289
+ // Only fill child data for the selected parameter key; do not fill the expression
1233
1290
  isFillKey: 'data'
1234
1291
  }
1235
1292
  }],
@@ -1237,7 +1294,7 @@ var todoActionObject = {
1237
1294
  },
1238
1295
  reloadChildData: {
1239
1296
  key: 'reloadChildData',
1240
- label: '加载子节点数据',
1297
+ label: localeKey('reloadChildData.label'),
1241
1298
  todoOptions: [{
1242
1299
  key: 'data',
1243
1300
  aliasKey: 'dataSource',
@@ -1245,40 +1302,40 @@ var todoActionObject = {
1245
1302
  type: 'SetExpression'
1246
1303
  }, {
1247
1304
  key: 'parentKey',
1248
- label: '操作节点key',
1305
+ label: localeKey('reloadChildData.todoOptions.parentKey.label'),
1249
1306
  type: 'SetExpression'
1250
1307
  }, {
1251
1308
  key: 'labelKey',
1252
- label: '节点名称取值字段',
1309
+ label: localeKey('reloadChildData.todoOptions.labelKey.label'),
1253
1310
  type: 'SetExpressionKey',
1254
1311
  props: {
1255
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1312
+ // Only fill child data for the selected parameter key; do not fill the expression
1256
1313
  isFillKey: 'data'
1257
1314
  }
1258
1315
  }, {
1259
1316
  key: 'nodeValueKey',
1260
- label: '节点key取值字段',
1317
+ label: localeKey('reloadChildData.todoOptions.nodeValueKey.label'),
1261
1318
  type: 'SetExpressionKey',
1262
1319
  props: {
1263
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1320
+ // Only fill child data for the selected parameter key; do not fill the expression
1264
1321
  isFillKey: 'data'
1265
1322
  }
1266
1323
  }, {
1267
1324
  key: 'selectable',
1268
- label: '节点可选字段编码',
1325
+ label: localeKey('reloadChildData.todoOptions.selectable.label'),
1269
1326
  type: 'SetExpressionKey',
1270
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1327
+ labelTip: localeKey('reloadChildData.todoOptions.selectable.labelTip'),
1271
1328
  props: {
1272
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1329
+ // Only fill child data for the selected parameter key; do not fill the expression
1273
1330
  isFillKey: 'data'
1274
1331
  }
1275
1332
  }, {
1276
1333
  key: 'childrenKey',
1277
- label: '下级列表取值字段',
1334
+ label: localeKey('reloadChildData.todoOptions.childrenKey.label'),
1278
1335
  type: 'SetExpressionKey',
1279
- labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n ',
1336
+ labelTip: localeKey('reloadChildData.todoOptions.childrenKey.labelTip'),
1280
1337
  props: {
1281
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1338
+ // Only fill child data for the selected parameter key; do not fill the expression
1282
1339
  isFillKey: 'data'
1283
1340
  }
1284
1341
  }],
@@ -1294,44 +1351,44 @@ var todoActionObject = {
1294
1351
  type: 'SetExpression'
1295
1352
  }, {
1296
1353
  key: 'labelKey',
1297
- label: '节点名称取值字段',
1354
+ label: localeKey('reloadMenuData.todoOptions.labelKey.label'),
1298
1355
  type: 'SetExpressionKey',
1299
1356
  props: {
1300
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1357
+ // Only fill child data for the selected parameter key; do not fill the expression
1301
1358
  isFillKey: 'data'
1302
1359
  }
1303
1360
  }, {
1304
1361
  key: 'nodeValueKey',
1305
- label: '节点key取值字段',
1362
+ label: localeKey('reloadMenuData.todoOptions.nodeValueKey.label'),
1306
1363
  type: 'SetExpressionKey',
1307
1364
  props: {
1308
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1365
+ // Only fill child data for the selected parameter key; do not fill the expression
1309
1366
  isFillKey: 'data'
1310
1367
  }
1311
1368
  }, {
1312
1369
  key: 'urlValueKey',
1313
- label: '节点url取值字段',
1370
+ label: localeKey('reloadMenuData.todoOptions.urlValueKey.label'),
1314
1371
  type: 'SetExpressionKey',
1315
1372
  props: {
1316
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1373
+ // Only fill child data for the selected parameter key; do not fill the expression
1317
1374
  isFillKey: 'data'
1318
1375
  }
1319
1376
  }, {
1320
1377
  key: 'selectable',
1321
- label: '节点可选字段编码',
1378
+ label: localeKey('reloadMenuData.todoOptions.selectable.label'),
1322
1379
  type: 'SetExpressionKey',
1323
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1380
+ labelTip: localeKey('reloadMenuData.todoOptions.selectable.labelTip'),
1324
1381
  props: {
1325
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1382
+ // Only fill child data for the selected parameter key; do not fill the expression
1326
1383
  isFillKey: 'data'
1327
1384
  }
1328
1385
  }, {
1329
1386
  key: 'childrenKey',
1330
- label: '下级列表取值字段',
1387
+ label: localeKey('reloadMenuData.todoOptions.childrenKey.label'),
1331
1388
  type: 'SetExpressionKey',
1332
- labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n ',
1389
+ labelTip: localeKey('reloadMenuData.todoOptions.childrenKey.labelTip'),
1333
1390
  props: {
1334
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1391
+ // Only fill child data for the selected parameter key; do not fill the expression
1335
1392
  isFillKey: 'data'
1336
1393
  }
1337
1394
  }],
@@ -1339,7 +1396,7 @@ var todoActionObject = {
1339
1396
  },
1340
1397
  appendTreeNode: {
1341
1398
  key: 'appendTreeNode',
1342
- label: '加载子节点数据',
1399
+ label: localeKey('appendTreeNode.label'),
1343
1400
  todoOptions: [{
1344
1401
  key: 'data',
1345
1402
  aliasKey: 'dataSource',
@@ -1347,44 +1404,44 @@ var todoActionObject = {
1347
1404
  type: 'SetExpression'
1348
1405
  }, {
1349
1406
  key: 'nodeKey',
1350
- label: '操作节点key',
1407
+ label: localeKey('appendTreeNode.todoOptions.nodeKey.label'),
1351
1408
  type: 'SetExpression',
1352
1409
  props: {
1353
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1410
+ // Only fill child data for the selected parameter key; do not fill the expression
1354
1411
  isFillKey: 'data'
1355
1412
  }
1356
1413
  }, {
1357
1414
  key: 'title',
1358
1415
  aliasKey: 'titleKey',
1359
- label: '节点名称取值字段',
1416
+ label: localeKey('appendTreeNode.todoOptions.title.label'),
1360
1417
  type: 'SetExpression',
1361
1418
  props: {
1362
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1419
+ // Only fill child data for the selected parameter key; do not fill the expression
1363
1420
  isFillKey: 'data'
1364
1421
  }
1365
1422
  }, {
1366
1423
  key: 'key',
1367
1424
  aliasKey: 'valueKey',
1368
- label: '节点key取值字段',
1425
+ label: localeKey('appendTreeNode.todoOptions.key.label'),
1369
1426
  type: 'SetExpression',
1370
1427
  props: {
1371
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1428
+ // Only fill child data for the selected parameter key; do not fill the expression
1372
1429
  isFillKey: 'data'
1373
1430
  }
1374
1431
  }, {
1375
1432
  key: 'selectable',
1376
- label: '节点可选字段编码',
1433
+ label: localeKey('appendTreeNode.todoOptions.selectable.label'),
1377
1434
  type: 'SetExpressionKey',
1378
- labelTip: "适用场景:需要控制当前节点是否能够选择,且需后端服务有字段标识出是否可选;\n 处理逻辑:当节点的字段编码值为布尔类型的false,或者字符串类型为'false'、\n 空字符串时,都认为不可选,否则认为可选。",
1435
+ labelTip: localeKey('appendTreeNode.todoOptions.selectable.labelTip'),
1379
1436
  props: {
1380
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1437
+ // Only fill child data for the selected parameter key; do not fill the expression
1381
1438
  isFillKey: 'data'
1382
1439
  }
1383
1440
  }]
1384
1441
  },
1385
1442
  appendMenuNodeData: {
1386
1443
  key: 'appendMenuNodeData',
1387
- label: '加载菜单子项数据',
1444
+ label: localeKey('appendMenuNodeData.label'),
1388
1445
  todoOptions: [{
1389
1446
  key: 'data',
1390
1447
  aliasKey: 'dataSource',
@@ -1393,45 +1450,45 @@ var todoActionObject = {
1393
1450
  }, {
1394
1451
  key: 'title',
1395
1452
  aliasKey: 'titleKey',
1396
- label: '节点名称取值字段',
1453
+ label: localeKey('appendMenuNodeData.todoOptions.title.label'),
1397
1454
  type: 'SetExpression',
1398
1455
  props: {
1399
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1456
+ // Only fill child data for the selected parameter key; do not fill the expression
1400
1457
  isFillKey: 'data'
1401
1458
  }
1402
1459
  }, {
1403
1460
  key: 'key',
1404
1461
  aliasKey: 'valueKey',
1405
- label: '节点key取值字段',
1462
+ label: localeKey('appendMenuNodeData.todoOptions.key.label'),
1406
1463
  type: 'SetExpression',
1407
1464
  props: {
1408
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1465
+ // Only fill child data for the selected parameter key; do not fill the expression
1409
1466
  isFillKey: 'data'
1410
1467
  }
1411
1468
  }, {
1412
1469
  key: 'childrenKey',
1413
- label: '下级列表取值字段',
1470
+ label: localeKey('appendMenuNodeData.todoOptions.childrenKey.label'),
1414
1471
  type: 'SetExpressionKey',
1415
1472
  props: {
1416
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1473
+ // Only fill child data for the selected parameter key; do not fill the expression
1417
1474
  isFillKey: 'data'
1418
1475
  },
1419
- labelTip: '使用场景:一次性查询所有数据时,需要设置下一级列表数据的取值字段;\n 示例说明:如下参数,当查询所有数据,需要标记出从children字段获取下级列表的数据;\n {\n "resultObject": [{\n "children": [{\n "children": [],\n "parent_id": "10700",\n "name": "2-1",\n "id": "10900",\n }],\n "parent_id": "-1",\n "name": "第二棵",\n "id": "10700",\n }]\n }\n '
1476
+ labelTip: localeKey('appendMenuNodeData.todoOptions.childrenKey.labelTip')
1420
1477
  }],
1421
1478
  todoCallbacks: ['callback1']
1422
1479
  },
1423
1480
  getTreeSelectedKey: {
1424
1481
  key: 'getTreeSelectedKey',
1425
- label: '获取选中节点key',
1482
+ label: localeKey('getTreeSelectedKey.label'),
1426
1483
  todoCallbacks: [{
1427
1484
  key: 'callback1',
1428
1485
  fields: [{
1429
- title: '树选中节点key(@{name})',
1486
+ title: localeKey('getTreeSelectedKey.todoCallbacks.callback1.fields.0.title'),
1430
1487
  value: '$selectedKeys_@{options.id}[0]$',
1431
- description: '选中节点的唯一标识',
1488
+ description: localeKey('getTreeSelectedKey.todoCallbacks.callback1.fields.0.description'),
1432
1489
  type: 'string'
1433
1490
  }, {
1434
- title: '树选中节点key(多选)(@{name})',
1491
+ title: localeKey('getTreeSelectedKey.todoCallbacks.callback1.fields.1.title'),
1435
1492
  value: '$selectedKeys_@{options.id}$',
1436
1493
  type: 'array'
1437
1494
  }]
@@ -1439,37 +1496,36 @@ var todoActionObject = {
1439
1496
  },
1440
1497
  getSelectedData: {
1441
1498
  key: 'getSelectedData',
1442
- label: '获取选中数据',
1499
+ label: localeKey('getSelectedData.label'),
1443
1500
  todoCallbacks: [{
1444
1501
  key: 'callback1',
1445
1502
  getFields: function getFields(kv) {
1446
1503
  var compName = kv.currentCompName,
1447
1504
  dataId = kv.dataId,
1448
- id = kv.options.id,
1449
- name = kv.name;
1505
+ id = kv.options.id;
1450
1506
  if (compName === 'Select') {
1451
1507
  return [{
1452
- title: "\u4E0B\u62C9\u6846\u9009\u4E2D\u6570\u636E(\u5355\u9009)".concat(name),
1508
+ title: localeKey('getSelectedData.todoCallbacks.callback1.select.single.title'),
1453
1509
  value: "$selectedData_".concat(id, "[0]$"),
1454
1510
  dataId: dataId
1455
1511
  }];
1456
1512
  }
1457
1513
  if (compName === 'MultipleSelect') {
1458
1514
  return [{
1459
- title: "\u4E0B\u62C9\u6846\u9009\u4E2D\u6570\u636E(\u591A\u9009)".concat(name),
1515
+ title: localeKey('getSelectedData.todoCallbacks.callback1.select.multiple.title'),
1460
1516
  value: "$selectedData_".concat(id, "$"),
1461
1517
  dataId: dataId
1462
1518
  }];
1463
1519
  }
1464
1520
  if (compName === 'Selector') {
1465
1521
  return [{
1466
- title: "\u9009\u4E2D\u8282\u70B9\u6570\u636E".concat(name),
1522
+ title: localeKey('getSelectedData.todoCallbacks.callback1.selector.title'),
1467
1523
  value: "$selectedData_".concat(id, "$"),
1468
1524
  dataId: dataId
1469
1525
  }];
1470
1526
  }
1471
1527
  return [{
1472
- title: "\u9009\u4E2D\u8282\u70B9\u6570\u636E".concat(name),
1528
+ title: localeKey('getSelectedData.todoCallbacks.callback1.selector.title'),
1473
1529
  value: "$selectedData_".concat(id, "[0]$"),
1474
1530
  dataId: dataId
1475
1531
  }];
@@ -1480,7 +1536,7 @@ var todoActionObject = {
1480
1536
  },
1481
1537
  setTreeSelectedKey: {
1482
1538
  key: 'setTreeSelectedKey',
1483
- label: '设置选中节点',
1539
+ label: localeKey('setTreeSelectedKey.label'),
1484
1540
  todoOptions: [{
1485
1541
  key: 'value',
1486
1542
  label: '内容',
@@ -1494,31 +1550,31 @@ var todoActionObject = {
1494
1550
  },
1495
1551
  getTreeEditingKey: {
1496
1552
  key: 'getTreeEditingKey',
1497
- label: '获取当前操作的节点key',
1553
+ label: localeKey('getTreeEditingKey.label'),
1498
1554
  todoCallbacks: [{
1499
1555
  key: 'callback1',
1500
1556
  fields: [{
1501
- title: '当前操作的树节点key(@{name})',
1557
+ title: localeKey('getTreeEditingKey.todoCallbacks.callback1.fields.0.title'),
1502
1558
  value: '$editingKey_@{options.id}$',
1503
- description: '点击树节点相关的操作按钮(如新增)所对应的树节点唯一标识',
1559
+ description: localeKey('getTreeEditingKey.todoCallbacks.callback1.fields.0.description'),
1504
1560
  type: 'string'
1505
1561
  }]
1506
1562
  }]
1507
1563
  },
1508
1564
  getCheckedKey: {
1509
1565
  key: 'getCheckedKey',
1510
- label: '获取复选框选中值',
1566
+ label: localeKey('getCheckedKey.label'),
1511
1567
  todoCallbacks: [{
1512
1568
  key: 'callback1',
1513
1569
  fields: [{
1514
- title: '勾选节点key(单选)(@{name})',
1570
+ title: localeKey('getCheckedKey.todoCallbacks.callback1.fields.0.title'),
1515
1571
  value: '$checkedKeys_@{options.id}[0]$',
1516
- description: '勾选节点的唯一标识',
1572
+ description: localeKey('getCheckedKey.todoCallbacks.callback1.fields.0.description'),
1517
1573
  type: 'string'
1518
1574
  }, {
1519
- title: '勾选节点key(多选)(@{name})',
1575
+ title: localeKey('getCheckedKey.todoCallbacks.callback1.fields.1.title'),
1520
1576
  value: '$checkedKeys_@{options.id}$',
1521
- description: '勾选节点的唯一标识集合',
1577
+ description: localeKey('getCheckedKey.todoCallbacks.callback1.fields.1.description'),
1522
1578
  type: 'array'
1523
1579
  }]
1524
1580
  }, {
@@ -1527,7 +1583,7 @@ var todoActionObject = {
1527
1583
  },
1528
1584
  setCheckedKey: {
1529
1585
  key: 'setCheckedKey',
1530
- label: '设置复选框选中值',
1586
+ label: localeKey('setCheckedKey.label'),
1531
1587
  todoOptions: [{
1532
1588
  key: 'value',
1533
1589
  label: '内容',
@@ -1537,11 +1593,11 @@ var todoActionObject = {
1537
1593
  },
1538
1594
  clearTreeCheckedKey: {
1539
1595
  key: 'clearTreeCheckedKey',
1540
- label: '清空复选框选中项'
1596
+ label: localeKey('clearTreeCheckedKey.label')
1541
1597
  },
1542
1598
  setSelectAll: {
1543
1599
  key: 'setSelectAll',
1544
- label: '设置全部选中',
1600
+ label: localeKey('setSelectAll.label'),
1545
1601
  todoCallbacks: ['callback1']
1546
1602
  },
1547
1603
  getTableSelected: {
@@ -1550,15 +1606,15 @@ var todoActionObject = {
1550
1606
  todoCallbacks: [{
1551
1607
  key: 'callback1',
1552
1608
  fields: [{
1553
- title: '表格选中行(单选)(@{name})',
1609
+ title: localeKey('getTableSelected.todoCallbacks.callback1.fields.0.title'),
1554
1610
  value: '$selectedRows_@{options.id}[0]$',
1555
1611
  type: 'object',
1556
- description: '在单选表格中,当前选中行的数据'
1612
+ description: localeKey('getTableSelected.todoCallbacks.callback1.fields.0.description')
1557
1613
  }, {
1558
- title: '表格选中行(多选)(数组)(@{name})',
1614
+ title: localeKey('getTableSelected.todoCallbacks.callback1.fields.1.title'),
1559
1615
  value: '$selectedRows_@{options.id}$',
1560
1616
  type: 'array',
1561
- description: '在多选表格中,当前所有选中行的数据列表'
1617
+ description: localeKey('getTableSelected.todoCallbacks.callback1.fields.1.description')
1562
1618
  }]
1563
1619
  }, {
1564
1620
  key: 'callback2'
@@ -1566,18 +1622,18 @@ var todoActionObject = {
1566
1622
  },
1567
1623
  getTableSelectedKey: {
1568
1624
  key: 'getTableSelectedKey',
1569
- label: '获取选中行主键',
1625
+ label: localeKey('getTableSelectedKey.label'),
1570
1626
  todoCallbacks: [{
1571
1627
  key: 'callback1',
1572
1628
  fields: [{
1573
- title: '表格选中行主键(单选)(@{name})',
1629
+ title: localeKey('getTableSelectedKey.todoCallbacks.callback1.fields.0.title'),
1574
1630
  value: '$selectedRowKeys_@{options.id}[0]$',
1575
- description: '在单选表格中,当前选中行的行主键',
1631
+ description: localeKey('getTableSelectedKey.todoCallbacks.callback1.fields.0.description'),
1576
1632
  type: 'string'
1577
1633
  }, {
1578
- title: '表格选中行主键(多选)(@{name})',
1634
+ title: localeKey('getTableSelectedKey.todoCallbacks.callback1.fields.1.title'),
1579
1635
  value: '$selectedRowKeys_@{options.id}$',
1580
- description: '在多选表格中,当前所有选中行的行主键集合',
1636
+ description: localeKey('getTableSelectedKey.todoCallbacks.callback1.fields.1.description'),
1581
1637
  type: 'array'
1582
1638
  }]
1583
1639
  }, {
@@ -1586,19 +1642,19 @@ var todoActionObject = {
1586
1642
  },
1587
1643
  getTableCurrentPageSelected: {
1588
1644
  key: 'getTableCurrentPageSelected',
1589
- label: '获取当前页选中行',
1645
+ label: localeKey('getTableCurrentPageSelected.label'),
1590
1646
  todoCallbacks: [{
1591
1647
  key: 'callback1',
1592
1648
  fields: [{
1593
- title: '当前页选中行(单选)(@{name})',
1649
+ title: localeKey('getTableCurrentPageSelected.todoCallbacks.callback1.fields.0.title'),
1594
1650
  value: '$currentPageSelectedRows_@{options.id}[0]$',
1595
1651
  type: 'object',
1596
- description: '在分页表格中,当前页选中行的数据'
1652
+ description: localeKey('getTableCurrentPageSelected.todoCallbacks.callback1.fields.0.description')
1597
1653
  }, {
1598
- title: '当前页选中行(多选)(@{name})',
1654
+ title: localeKey('getTableCurrentPageSelected.todoCallbacks.callback1.fields.1.title'),
1599
1655
  value: '$currentPageSelectedRows_@{options.id}$',
1600
1656
  type: 'array',
1601
- description: '在分页表格中,当前页所有选中行的数据列表'
1657
+ description: localeKey('getTableCurrentPageSelected.todoCallbacks.callback1.fields.1.description')
1602
1658
  }]
1603
1659
  }, {
1604
1660
  key: 'callBack2'
@@ -1606,18 +1662,18 @@ var todoActionObject = {
1606
1662
  },
1607
1663
  getTableCurrentPageSelectedKey: {
1608
1664
  key: 'getTableCurrentPageSelectedKey',
1609
- label: '获取当前页选中行主键',
1665
+ label: localeKey('getTableCurrentPageSelectedKey.label'),
1610
1666
  todoCallbacks: [{
1611
1667
  key: 'callback1',
1612
1668
  fields: [{
1613
- title: '当前页选中行主键(单选)(@{name})',
1669
+ title: localeKey('getTableCurrentPageSelectedKey.todoCallbacks.callback1.fields.0.title'),
1614
1670
  value: '$currentPageSelectedRowKeys_@{options.id}[0]$',
1615
- description: '在分页表格中,当前选中行的行主键',
1671
+ description: localeKey('getTableCurrentPageSelectedKey.todoCallbacks.callback1.fields.0.description'),
1616
1672
  type: 'string'
1617
1673
  }, {
1618
- title: '当前页选中行主键(多选)(@{name})',
1674
+ title: localeKey('getTableCurrentPageSelectedKey.todoCallbacks.callback1.fields.1.title'),
1619
1675
  value: '$currentPageSelectedRowKeys_@{options.id}$',
1620
- description: '在分页表格中,当前所有选中行的行主键集合',
1676
+ description: localeKey('getTableCurrentPageSelectedKey.todoCallbacks.callback1.fields.1.description'),
1621
1677
  type: 'array'
1622
1678
  }]
1623
1679
  }, {
@@ -1626,36 +1682,36 @@ var todoActionObject = {
1626
1682
  },
1627
1683
  getTableData: {
1628
1684
  key: 'getTableData',
1629
- label: '获取表格数据',
1685
+ label: localeKey('getTableData.label'),
1630
1686
  todoCallbacks: [{
1631
1687
  key: 'callback1',
1632
1688
  fields: [{
1633
- title: '表格数据(@{name})',
1689
+ title: localeKey('getTableData.todoCallbacks.callback1.fields.0.title'),
1634
1690
  value: '$tableData_@{options.id}$',
1635
- description: '当前表格数据列表',
1691
+ description: localeKey('getTableData.todoCallbacks.callback1.fields.0.description'),
1636
1692
  type: 'array'
1637
1693
  }]
1638
1694
  }]
1639
1695
  },
1640
1696
  getPageNum: {
1641
1697
  key: 'getPageNum',
1642
- label: '获取当前页码',
1698
+ label: localeKey('getPageNum.label'),
1643
1699
  todoCallbacks: [{
1644
1700
  key: 'callback1',
1645
1701
  fields: [{
1646
- title: '当前页码(@{name})',
1702
+ title: localeKey('getPageNum.todoCallbacks.callback1.fields.0.title'),
1647
1703
  value: '$pageNum_@{options.id}$',
1648
- description: '在分页表格中,当前显示的页码',
1704
+ description: localeKey('getPageNum.todoCallbacks.callback1.fields.0.description'),
1649
1705
  type: 'number'
1650
1706
  }]
1651
1707
  }]
1652
1708
  },
1653
1709
  addTableRow: {
1654
1710
  key: 'addTableRow',
1655
- label: '新增一行空白数据',
1711
+ label: localeKey('addTableRow.label'),
1656
1712
  todoOptions: [{
1657
1713
  key: 'inlineeditnow',
1658
- label: '新增后启用行内编辑',
1714
+ label: localeKey('addTableRow.todoOptions.inlineeditnow.label'),
1659
1715
  type: 'Select',
1660
1716
  props: {
1661
1717
  options: [{
@@ -1670,7 +1726,7 @@ var todoActionObject = {
1670
1726
  },
1671
1727
  addTableRowData: {
1672
1728
  key: 'addTableRowData',
1673
- label: '新增一行数据',
1729
+ label: localeKey('addTableRowData.label'),
1674
1730
  todoOptions: [{
1675
1731
  key: 'params',
1676
1732
  label: '参数赋值',
@@ -1695,7 +1751,7 @@ var todoActionObject = {
1695
1751
  },
1696
1752
  delTableRow: {
1697
1753
  key: 'delTableRow',
1698
- label: '删除指定行数据',
1754
+ label: localeKey('delTableRow.label'),
1699
1755
  todoOptions: [{
1700
1756
  key: 'params',
1701
1757
  label: '参数赋值',
@@ -1714,14 +1770,14 @@ var todoActionObject = {
1714
1770
  },
1715
1771
  clearTableSelected: {
1716
1772
  key: 'clearTableSelected',
1717
- label: '清除选中数据'
1773
+ label: localeKey('clearTableSelected.label')
1718
1774
  },
1719
1775
  setActiveTabPane: {
1720
1776
  key: 'setActiveTabPane',
1721
- label: '设置Tabs选中面板',
1777
+ label: localeKey('setActiveTabPane.label'),
1722
1778
  todoOptions: [{
1723
1779
  key: 'activeTabKey',
1724
- label: 'Tab选中key',
1780
+ label: localeKey('setActiveTabPane.todoOptions.activeTabKey.label'),
1725
1781
  type: 'ActiveTabKey'
1726
1782
  }]
1727
1783
  },
@@ -1734,7 +1790,11 @@ var todoActionObject = {
1734
1790
  type: 'CompTree',
1735
1791
  aliasKey: 'compId',
1736
1792
  props: {
1737
- checkable: true
1793
+ checkable: true,
1794
+ titleLink: [{
1795
+ title: '清空已选',
1796
+ value: 'cleanValue'
1797
+ }]
1738
1798
  }
1739
1799
  }, {
1740
1800
  key: 'compValueList',
@@ -1764,7 +1824,11 @@ var todoActionObject = {
1764
1824
  type: 'CompTree',
1765
1825
  aliasKey: 'compId',
1766
1826
  props: {
1767
- checkable: true
1827
+ checkable: true,
1828
+ titleLink: [{
1829
+ title: '清空已选',
1830
+ value: 'cleanValue'
1831
+ }]
1768
1832
  }
1769
1833
  }, {
1770
1834
  key: 'compValueList',
@@ -1794,7 +1858,11 @@ var todoActionObject = {
1794
1858
  type: 'CompTree',
1795
1859
  aliasKey: 'compId',
1796
1860
  props: {
1797
- checkable: true
1861
+ checkable: true,
1862
+ titleLink: [{
1863
+ title: '清空已选',
1864
+ value: 'cleanValue'
1865
+ }]
1798
1866
  }
1799
1867
  }, {
1800
1868
  key: 'compValueList',
@@ -1840,11 +1908,23 @@ var todoActionObject = {
1840
1908
  key: 'compid',
1841
1909
  label: '组件选择',
1842
1910
  type: 'CompTree',
1843
- aliasKey: 'compId'
1911
+ aliasKey: 'compId',
1912
+ props: {
1913
+ titleLink: [{
1914
+ title: '清空已选',
1915
+ value: 'cleanValue'
1916
+ }]
1917
+ }
1844
1918
  }, {
1845
1919
  key: 'valueList',
1846
1920
  label: '组件赋值',
1847
- type: 'SetSysExpression'
1921
+ type: 'SetSysExpression',
1922
+ props: {
1923
+ titleLink: [{
1924
+ title: '清空赋值',
1925
+ value: 'clearValue'
1926
+ }]
1927
+ }
1848
1928
  }],
1849
1929
  todoCallbacks: ['callback1'],
1850
1930
  // labelMap: {
@@ -1861,11 +1941,11 @@ var todoActionObject = {
1861
1941
  type: 'SetExpression'
1862
1942
  }, {
1863
1943
  key: 'labelKey',
1864
- label: '内容映射字段',
1944
+ label: localeKey('setModalSelectValue.todoOptions.labelKey.label'),
1865
1945
  type: 'SetExpressionKey',
1866
1946
  aliasKey: 'labelMapKey',
1867
1947
  props: {
1868
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1948
+ // Only fill child data for the selected parameter key; do not fill the expression
1869
1949
  isFillKey: 'value'
1870
1950
  }
1871
1951
  }, {
@@ -1874,7 +1954,7 @@ var todoActionObject = {
1874
1954
  type: 'SetExpressionKey',
1875
1955
  aliasKey: 'valueMapKey',
1876
1956
  props: {
1877
- // 选择后只回填参数key选项对应的子级数据,不回填表达式
1957
+ // Only fill child data for the selected parameter key; do not fill the expression
1878
1958
  isFillKey: 'value'
1879
1959
  }
1880
1960
  }],
@@ -1904,23 +1984,23 @@ var todoActionObject = {
1904
1984
  switch (currentCompName) {
1905
1985
  case 'Select':
1906
1986
  return [{
1907
- title: "\u4E0B\u62C9\u6846\u9009\u4E2D\u503C(".concat(name, ")"),
1987
+ title: "".concat(localeKey('getValue.todoCallbacks.callback1.fields.select.titlePrefix'), "(").concat(name, ")"),
1908
1988
  value: "$value_".concat(id, "$"),
1909
1989
  dataId: dataId,
1910
- description: '当前选中项的属性值',
1990
+ description: localeKey('getValue.todoCallbacks.callback1.fields.select.description'),
1911
1991
  type: 'string'
1912
1992
  }];
1913
1993
  case 'Tabs':
1914
1994
  return [{
1915
- title: "\u6807\u7B7E\u9875\u9009\u4E2Dkey(".concat(name, ")"),
1995
+ title: "".concat(localeKey('getValue.todoCallbacks.callback1.fields.tabs.titlePrefix'), "(").concat(name, ")"),
1916
1996
  value: "$value_".concat(id, "$"),
1917
1997
  dataId: dataId,
1918
- description: '当前选中标签页的唯一标识',
1998
+ description: localeKey('getValue.todoCallbacks.callback1.fields.tabs.description'),
1919
1999
  type: 'string'
1920
2000
  }];
1921
2001
  default:
1922
2002
  return [{
1923
- title: "\u5F53\u524D\u503C(".concat(name, ")"),
2003
+ title: '当前值'.concat("(", name, ")"),
1924
2004
  value: "$value_".concat(id, "$"),
1925
2005
  dataId: dataId
1926
2006
  }];
@@ -1932,10 +2012,9 @@ var todoActionObject = {
1932
2012
  // TreeSelect: '获取选中值',
1933
2013
  // },
1934
2014
  },
1935
-
1936
2015
  reloadOptions: {
1937
2016
  key: 'reloadOptions',
1938
- label: '重新加载选项'
2017
+ label: localeKey('reloadOptions.label')
1939
2018
  },
1940
2019
  clearOptions: {
1941
2020
  key: 'clearOptions',
@@ -1954,17 +2033,16 @@ var todoActionObject = {
1954
2033
  // MultipleSelect: '清空选中项',
1955
2034
  // },
1956
2035
  },
1957
-
1958
2036
  triggerRelDataSource: {
1959
2037
  key: 'triggerRelDataSource',
1960
- label: '联动设置下拉框选项',
2038
+ label: localeKey('triggerRelDataSource.label'),
1961
2039
  todoOptions: [{
1962
2040
  key: 'target',
1963
2041
  label: '联动来源',
1964
2042
  type: 'SelectObject'
1965
2043
  }, {
1966
2044
  key: 'arelStaticData',
1967
- label: 'A端静态数据',
2045
+ label: localeKey('triggerRelDataSource.todoOptions.arelStaticData.label'),
1968
2046
  type: 'SelectStaticData',
1969
2047
  props: {
1970
2048
  options: {
@@ -1973,7 +2051,7 @@ var todoActionObject = {
1973
2051
  }
1974
2052
  }, {
1975
2053
  key: 'zrelStaticData',
1976
- label: 'Z端静态数据',
2054
+ label: localeKey('triggerRelDataSource.todoOptions.zrelStaticData.label'),
1977
2055
  type: 'SelectStaticData',
1978
2056
  props: {
1979
2057
  options: {
@@ -1982,7 +2060,7 @@ var todoActionObject = {
1982
2060
  }
1983
2061
  }, {
1984
2062
  key: 'custTargetVal',
1985
- label: '自定义触发值',
2063
+ label: localeKey('triggerRelDataSource.todoOptions.custTargetVal.label'),
1986
2064
  type: 'SetExpression'
1987
2065
  }]
1988
2066
  },
@@ -2025,29 +2103,29 @@ var todoActionObject = {
2025
2103
  },
2026
2104
  editInlineRow: {
2027
2105
  key: 'editInlineRow',
2028
- label: '指定行开启行内编辑',
2106
+ label: localeKey('editInlineRow.label'),
2029
2107
  todoOptions: [{
2030
2108
  key: 'inlineeditrow',
2031
- label: '指定行id',
2109
+ label: localeKey('editInlineRow.todoOptions.inlineeditrow.label'),
2032
2110
  type: 'SetExpression'
2033
2111
  }]
2034
2112
  },
2035
2113
  saveInlineRow: {
2036
2114
  key: 'saveInlineRow',
2037
- label: '保存当前行内编辑行',
2115
+ label: localeKey('saveInlineRow.label'),
2038
2116
  todoOptions: []
2039
2117
  },
2040
2118
  restoreInlineRow: {
2041
2119
  key: 'restoreInlineRow',
2042
- label: '撤销全部行内编辑行',
2120
+ label: localeKey('restoreInlineRow.label'),
2043
2121
  todoOptions: []
2044
2122
  },
2045
2123
  setDownloadResponse: {
2046
2124
  key: 'setDownloadResponse',
2047
- label: '打开/下载链接',
2125
+ label: localeKey('setDownloadResponse.label'),
2048
2126
  todoOptions: [{
2049
2127
  key: 'downloadUrl',
2050
- label: '下载链接地址',
2128
+ label: localeKey('setDownloadResponse.todoOptions.downloadUrl.label'),
2051
2129
  type: 'DownloadUrl'
2052
2130
  }],
2053
2131
  classification: [{
@@ -2065,11 +2143,11 @@ var todoActionObject = {
2065
2143
  type: 'SetExpression'
2066
2144
  }, {
2067
2145
  key: 'fileName',
2068
- label: '自定义文件名称',
2146
+ label: localeKey('saveBlobFile.todoOptions.fileName.label'),
2069
2147
  type: 'SetExpression',
2070
- labelTip: '未设置文件名称时,则为文件原本的名称',
2148
+ labelTip: localeKey('saveBlobFile.todoOptions.fileName.labelTip'),
2071
2149
  props: {
2072
- placeholder: '包括后缀,如: 表格.xls'
2150
+ placeholder: localeKey('saveBlobFile.todoOptions.fileName.props.placeholder')
2073
2151
  }
2074
2152
  }],
2075
2153
  classification: [{
@@ -2082,7 +2160,7 @@ var todoActionObject = {
2082
2160
  label: '文件下载',
2083
2161
  todoOptions: [{
2084
2162
  key: 'fileResourceType',
2085
- label: '文件资源类型',
2163
+ label: localeKey('downloadByFileId.todoOptions.fileResourceType.label'),
2086
2164
  type: 'RadioButton',
2087
2165
  defaultValue: 'server',
2088
2166
  props: {
@@ -2106,24 +2184,24 @@ var todoActionObject = {
2106
2184
  }, {
2107
2185
  key: 'data',
2108
2186
  aliasKey: 'dataSourceFileId',
2109
- label: '文件ID',
2187
+ label: localeKey('downloadByFileId.todoOptions.data.label'),
2110
2188
  type: 'SetExpression',
2111
- labelTip: '支持逗号分隔或者数组形式的多文件下载,如:1,2或者$[1,2]$',
2189
+ labelTip: localeKey('downloadByFileId.todoOptions.data.labelTip'),
2112
2190
  visibleFlag: 'fileResourceType',
2113
2191
  visibleFlagValue: ['server']
2114
2192
  }, {
2115
2193
  key: 'fileName',
2116
- label: '自定义文件名称',
2194
+ label: localeKey('downloadByFileId.todoOptions.fileName.label'),
2117
2195
  type: 'SetExpression',
2118
- labelTip: '未设置文件名称时,则为文件原本的名称',
2196
+ labelTip: localeKey('downloadByFileId.todoOptions.fileName.labelTip'),
2119
2197
  props: {
2120
- placeholder: '包括后缀,如: 表格.xls'
2198
+ placeholder: localeKey('downloadByFileId.todoOptions.fileName.props.placeholder')
2121
2199
  }
2122
2200
  }, {
2123
2201
  key: 'zip',
2124
2202
  label: '单文件压缩',
2125
2203
  type: 'Switch',
2126
- labelTip: '默认为单文件不压缩,多文件压缩,若开启单文件压缩为“是”,则不区分单文件/多文件,都压缩。',
2204
+ labelTip: localeKey('downloadByFileId.todoOptions.zip.labelTip'),
2127
2205
  props: {
2128
2206
  defaultValue: false
2129
2207
  },
@@ -2136,18 +2214,18 @@ var todoActionObject = {
2136
2214
  }],
2137
2215
  remarks: [{
2138
2216
  label: '配置提示',
2139
- content: '如果您需要下载在配置态(页面-文件资源)功能上上传的文件,请选择文件资源,否则如果您需要选择当前平台的文件服务器中的文件资源(一般是通过运行态应用运行后上传的资源),请选择服务器资源'
2217
+ content: localeKey('downloadByFileId.remarks.0.content')
2140
2218
  }, {
2141
2219
  label: '注意事项',
2142
- content: '文件下载只支持低代码平台内的文件资源,暂不支持外部url方式下载'
2220
+ content: localeKey('downloadByFileId.remarks.1.content')
2143
2221
  }]
2144
2222
  },
2145
2223
  setUploadProps: {
2146
2224
  key: 'setUploadProps',
2147
- label: '设置上传参数',
2225
+ label: localeKey('setUploadProps.label'),
2148
2226
  todoOptions: [{
2149
2227
  key: 'url',
2150
- label: '请求地址(URL)',
2228
+ label: localeKey('setUploadProps.todoOptions.url.label'),
2151
2229
  type: 'SelectServiceUrl',
2152
2230
  props: {
2153
2231
  isRequired: true,
@@ -2164,7 +2242,7 @@ var todoActionObject = {
2164
2242
  label: '上传值改变',
2165
2243
  todoOptions: [{
2166
2244
  key: 'url',
2167
- label: '请求地址(URL)',
2245
+ label: localeKey('setUploadChange.todoOptions.url.label'),
2168
2246
  type: 'SelectServiceUrl',
2169
2247
  props: {
2170
2248
  isRequired: true,
@@ -2180,10 +2258,10 @@ var todoActionObject = {
2180
2258
  },
2181
2259
  setTimeout: {
2182
2260
  key: 'setTimeout',
2183
- label: '设置单次定时器',
2261
+ label: localeKey('setTimeout.label'),
2184
2262
  todoOptions: [{
2185
2263
  key: 'timername',
2186
- label: '定时器命名(页面内不可重复)',
2264
+ label: localeKey('setTimeout.todoOptions.timername.label'),
2187
2265
  type: 'Input'
2188
2266
  }, {
2189
2267
  key: 'interval',
@@ -2203,10 +2281,10 @@ var todoActionObject = {
2203
2281
  },
2204
2282
  setInterval: {
2205
2283
  key: 'setInterval',
2206
- label: '设置循环定时器',
2284
+ label: localeKey('setInterval.label'),
2207
2285
  todoOptions: [{
2208
2286
  key: 'timername',
2209
- label: '定时器命名(页面内不可重复)',
2287
+ label: localeKey('setInterval.todoOptions.timername.label'),
2210
2288
  type: 'Input'
2211
2289
  }, {
2212
2290
  key: 'interval',
@@ -2238,7 +2316,7 @@ var todoActionObject = {
2238
2316
  }
2239
2317
  }, {
2240
2318
  key: 'timername',
2241
- label: '定时器命名(页面内不可重复)',
2319
+ label: localeKey('setTimer.todoOptions.timername.label'),
2242
2320
  type: 'Input'
2243
2321
  }, {
2244
2322
  key: 'interval',
@@ -2274,7 +2352,7 @@ var todoActionObject = {
2274
2352
  },
2275
2353
  setCompState: {
2276
2354
  key: 'setCompState',
2277
- label: '设置业务组件状态',
2355
+ label: localeKey('setCompState.label'),
2278
2356
  todoOptions: [{
2279
2357
  key: 'componentState',
2280
2358
  label: '组件状态',
@@ -2287,7 +2365,7 @@ var todoActionObject = {
2287
2365
  },
2288
2366
  setStepsCurrentValue: {
2289
2367
  key: 'setStepsCurrentValue',
2290
- label: '设置当前步骤',
2368
+ label: localeKey('setStepsCurrentValue.label'),
2291
2369
  todoOptions: [{
2292
2370
  key: 'current',
2293
2371
  aliasKey: 'stepsCurrent',
@@ -2298,20 +2376,20 @@ var todoActionObject = {
2298
2376
  },
2299
2377
  getStepsCurrentValue: {
2300
2378
  key: 'getStepsCurrentValue',
2301
- label: '获取当前步骤',
2379
+ label: localeKey('getStepsCurrentValue.label'),
2302
2380
  todoCallbacks: [{
2303
2381
  key: 'callback1',
2304
2382
  fields: [{
2305
2383
  title: '当前步骤',
2306
2384
  value: '$current_@{options.id}$',
2307
- description: '当前步骤的索引值,从0开始计数,用于定位当前标签的位置',
2385
+ description: localeKey('getStepsCurrentValue.todoCallbacks.callback1.fields.0.description'),
2308
2386
  type: 'number'
2309
2387
  }]
2310
2388
  }]
2311
2389
  },
2312
2390
  refreshLoadMore: {
2313
2391
  key: 'refreshLoadMore',
2314
- label: '刷新LoadMore',
2392
+ label: localeKey('refreshLoadMore.label'),
2315
2393
  todoOptions: [{
2316
2394
  key: 'loadmoreKey',
2317
2395
  label: '更新参数',
@@ -2320,7 +2398,7 @@ var todoActionObject = {
2320
2398
  },
2321
2399
  setDynamicFormValues: {
2322
2400
  key: 'setDynamicFormValues',
2323
- label: '设置表单数据',
2401
+ label: localeKey('setDynamicFormValues.label'),
2324
2402
  todoOptions: [{
2325
2403
  key: 'params',
2326
2404
  label: '参数赋值',
@@ -2329,15 +2407,15 @@ var todoActionObject = {
2329
2407
  },
2330
2408
  clearDynamicFormValues: {
2331
2409
  key: 'clearDynamicFormValues',
2332
- label: '重置表单数据'
2410
+ label: localeKey('clearDynamicFormValues.label')
2333
2411
  },
2334
2412
  validateAllAppForm: {
2335
2413
  key: 'validateAllAppForm',
2336
- label: '全部表单校验并取值',
2414
+ label: localeKey('validateAllAppForm.label'),
2337
2415
  todoCallbacks: [{
2338
2416
  key: 'callback1',
2339
2417
  fields: [{
2340
- title: '全部表单数据',
2418
+ title: localeKey('validateAllAppForm.todoCallbacks.callback1.fields.0.title'),
2341
2419
  value: '$allFormValues$',
2342
2420
  type: 'object',
2343
2421
  description: '',
@@ -2350,7 +2428,7 @@ var todoActionObject = {
2350
2428
  }, {
2351
2429
  key: 'callback2',
2352
2430
  fields: [{
2353
- title: '表单失败结果首个错误信息',
2431
+ title: localeKey('validateAllAppForm.todoCallbacks.callback2.fields.0.title'),
2354
2432
  type: 'string',
2355
2433
  description: '',
2356
2434
  value: '$err.errorFields[0].errors[0]$',
@@ -2368,19 +2446,19 @@ var todoActionObject = {
2368
2446
  },
2369
2447
  setCompFileId: {
2370
2448
  key: 'setCompFileId',
2371
- label: '设置文件id',
2449
+ label: localeKey('setCompFileId.label'),
2372
2450
  todoOptions: [{
2373
2451
  key: 'fileId',
2374
- label: '文件ID',
2452
+ label: localeKey('setCompFileId.todoOptions.fileId.label'),
2375
2453
  type: 'SetExpression'
2376
2454
  }]
2377
2455
  },
2378
2456
  loadMoreRequest: {
2379
2457
  key: 'loadMoreRequest',
2380
- label: '绑定网络请求',
2458
+ label: localeKey('loadMoreRequest.label'),
2381
2459
  todoOptions: [{
2382
2460
  key: 'url',
2383
- label: '请求地址(URL)',
2461
+ label: localeKey('loadMoreRequest.todoOptions.url.label'),
2384
2462
  type: 'SelectServiceUrl',
2385
2463
  props: {
2386
2464
  isRequired: true,
@@ -2389,7 +2467,14 @@ var todoActionObject = {
2389
2467
  }, {
2390
2468
  key: 'params',
2391
2469
  label: '参数赋值',
2392
- type: 'ApiRequestSetParams'
2470
+ type: 'ApiRequestSetParams',
2471
+ props: {
2472
+ titleLink: [{
2473
+ title: '清空赋值',
2474
+ value: 'cleanValue',
2475
+ optionKey: 'apiRequestSetParams'
2476
+ }]
2477
+ }
2393
2478
  }, {
2394
2479
  key: 'pageNum',
2395
2480
  label: '页码字段名',
@@ -2421,12 +2506,12 @@ var todoActionObject = {
2421
2506
  },
2422
2507
  dFormSubmit: {
2423
2508
  key: 'dFormSubmit',
2424
- label: '校验后获取表单值',
2509
+ label: localeKey('dFormSubmit.label'),
2425
2510
  todoCallbacks: [{
2426
2511
  key: 'callback1',
2427
2512
  getFields: function getFields(kv, ctx) {
2428
2513
  return generateFormValuesCallback1Fields(kv, ctx, {
2429
- description: '表单数据对象,包括:字段编码和值'
2514
+ description: localeKey('dFormSubmit.todoCallbacks.callback1.description')
2430
2515
  });
2431
2516
  }
2432
2517
  }, {
@@ -2441,7 +2526,7 @@ var todoActionObject = {
2441
2526
  key: 'callback1',
2442
2527
  getFields: function getFields(kv, ctx) {
2443
2528
  return generateFormValuesCallback1Fields(kv, ctx, {
2444
- description: '表单数据对象,包括:字段编码和值'
2529
+ description: localeKey('dFormGetFieldsValue.todoCallbacks.callback1.description')
2445
2530
  });
2446
2531
  }
2447
2532
  }, {
@@ -2451,7 +2536,7 @@ var todoActionObject = {
2451
2536
  },
2452
2537
  dFormAllDisabled: {
2453
2538
  key: 'dFormAllDisabled',
2454
- label: '设置表单是否可编辑',
2539
+ label: localeKey('dFormAllDisabled.label'),
2455
2540
  todoOptions: [{
2456
2541
  key: 'editor',
2457
2542
  label: '是否可编辑',
@@ -2494,7 +2579,7 @@ var todoActionObject = {
2494
2579
  },
2495
2580
  setPageSrc: {
2496
2581
  key: 'setPageSrc',
2497
- label: '设置页面地址',
2582
+ label: localeKey('setPageSrc.label'),
2498
2583
  todoOptions: [{
2499
2584
  key: 'pathname',
2500
2585
  label: '页面',
@@ -2511,7 +2596,7 @@ var todoActionObject = {
2511
2596
  },
2512
2597
  setSrc: {
2513
2598
  key: 'setSrc',
2514
- label: '设置资源地址',
2599
+ label: localeKey('setSrc.label'),
2515
2600
  todoOptions: [{
2516
2601
  key: 'value',
2517
2602
  label: '内容',
@@ -2527,14 +2612,14 @@ var todoActionObject = {
2527
2612
  label: '开始值',
2528
2613
  type: 'SetExpression',
2529
2614
  props: {
2530
- placeholder: '请输入YYYY-MM-DD格式的时间'
2615
+ placeholder: localeKey('setRangeValue.todoOptions.startVal.props.placeholder')
2531
2616
  }
2532
2617
  }, {
2533
2618
  key: 'endVal',
2534
2619
  label: '结束值',
2535
2620
  type: 'SetExpression',
2536
2621
  props: {
2537
- placeholder: '请输入YYYY-MM-DD格式的时间'
2622
+ placeholder: localeKey('setRangeValue.todoOptions.endVal.props.placeholder')
2538
2623
  }
2539
2624
  }],
2540
2625
  todoCallbacks: ['callback1']
@@ -2571,7 +2656,7 @@ var todoActionObject = {
2571
2656
  type: 'SelectServerDataSource'
2572
2657
  }, {
2573
2658
  key: 'sync',
2574
- label: '数据加载方式',
2659
+ label: localeKey('reloadDataSource.todoOptions.sync.label'),
2575
2660
  type: 'RadioButton',
2576
2661
  defaultValue: false,
2577
2662
  props: {
@@ -2586,7 +2671,13 @@ var todoActionObject = {
2586
2671
  }, {
2587
2672
  key: 'dataSourceReloadFilter',
2588
2673
  label: '数据源赋值',
2589
- type: 'dataSourceReloadFilter'
2674
+ type: 'dataSourceReloadFilter',
2675
+ props: {
2676
+ titleLink: [{
2677
+ title: '清空赋值',
2678
+ value: 'cleanValue'
2679
+ }]
2680
+ }
2590
2681
  }],
2591
2682
  todoCallbacks: ['callback1', 'callback2'],
2592
2683
  classification: [{
@@ -2600,7 +2691,7 @@ var todoActionObject = {
2600
2691
  },
2601
2692
  setDataSource: {
2602
2693
  key: 'setDataSource',
2603
- label: '设置数据源值',
2694
+ label: localeKey('setDataSource.label'),
2604
2695
  todoOptions: [{
2605
2696
  key: 'selectAllDataSource',
2606
2697
  label: '选择数据源',
@@ -2617,7 +2708,13 @@ var todoActionObject = {
2617
2708
  }, {
2618
2709
  key: 'dataSourceSetValue',
2619
2710
  label: '数据源赋值',
2620
- type: 'dataSourceSetValue'
2711
+ type: 'dataSourceSetValue',
2712
+ props: {
2713
+ titleLink: [{
2714
+ title: '清空赋值',
2715
+ value: 'cleanValue'
2716
+ }]
2717
+ }
2621
2718
  }, {
2622
2719
  key: 'onlySetPatch',
2623
2720
  label: '赋值范围',
@@ -2644,7 +2741,7 @@ var todoActionObject = {
2644
2741
  },
2645
2742
  resetDataSource: {
2646
2743
  key: 'resetDataSource',
2647
- label: '清空数据源值',
2744
+ label: localeKey('resetDataSource.label'),
2648
2745
  todoOptions: [{
2649
2746
  key: 'selectAllDataSource',
2650
2747
  label: '选择数据源',
@@ -2670,7 +2767,7 @@ var todoActionObject = {
2670
2767
  },
2671
2768
  sendMessageIframe: {
2672
2769
  key: 'sendMessageIframe',
2673
- label: '给web容器发消息',
2770
+ label: localeKey('sendMessageIframe.label'),
2674
2771
  todoOptions: [{
2675
2772
  key: 'value',
2676
2773
  label: '内容',
@@ -2678,15 +2775,15 @@ var todoActionObject = {
2678
2775
  }],
2679
2776
  remarks: [{
2680
2777
  label: '适用场景',
2681
- content: '用于和Web容器消息交互, 需于Web容器研发人员对接。'
2778
+ content: localeKey('sendMessageIframe.remarks.0.content')
2682
2779
  }]
2683
2780
  },
2684
2781
  postObjectData: {
2685
2782
  key: 'postObjectData',
2686
- label: '提交业务对象数据',
2783
+ label: localeKey('postObjectData.label'),
2687
2784
  todoOptions: [{
2688
2785
  key: 'sync',
2689
- label: '数据加载方式',
2786
+ label: localeKey('postObjectData.todoOptions.sync.label'),
2690
2787
  type: 'RadioButton',
2691
2788
  defaultValue: false,
2692
2789
  props: {
@@ -2700,7 +2797,7 @@ var todoActionObject = {
2700
2797
  }
2701
2798
  }, {
2702
2799
  key: 'selectObjectDataSource',
2703
- label: '选择业务对象数据源',
2800
+ label: localeKey('postObjectData.todoOptions.selectObjectDataSource.label'),
2704
2801
  type: 'selectObjectDataSource',
2705
2802
  props: {
2706
2803
  isRequired: true,
@@ -2708,7 +2805,7 @@ var todoActionObject = {
2708
2805
  }
2709
2806
  }, {
2710
2807
  key: 'hasEventExtService',
2711
- label: '需要开启服务扩展',
2808
+ label: localeKey('postObjectData.todoOptions.hasEventExtService.label'),
2712
2809
  type: 'Select',
2713
2810
  props: {
2714
2811
  options: [{
@@ -2721,7 +2818,7 @@ var todoActionObject = {
2721
2818
  }
2722
2819
  }, {
2723
2820
  key: 'eventExtService',
2724
- label: '选择业务场景来扩展服务',
2821
+ label: localeKey('postObjectData.todoOptions.eventExtService.label'),
2725
2822
  type: 'SetEventExtService',
2726
2823
  visibleFlag: 'hasEventExtService',
2727
2824
  visibleFlagValue: ['T']
@@ -2742,15 +2839,15 @@ var todoActionObject = {
2742
2839
  isAsync: true,
2743
2840
  remarks: [{
2744
2841
  label: '适用场景',
2745
- content: '支持快速的进行对象的增加和修改(注意:表单数据源必须绑定对象生成的数据源才能使用该功能)'
2842
+ content: localeKey('postObjectData.remarks.0.content')
2746
2843
  }, {
2747
2844
  label: '配置说明',
2748
- content: '如果传入的业务场景(sceneCode)是M表示修改,可以提交当前数据源或者表单绑定数据源后的数据(不支持全局数据源的绑定,表单将会校验后获取值),将会自动进行修改'
2845
+ content: localeKey('postObjectData.remarks.1.content')
2749
2846
  }]
2750
2847
  },
2751
2848
  postParentMessage: {
2752
2849
  key: 'postParentMessage',
2753
- label: '发送消息至父容器',
2850
+ label: localeKey('postParentMessage.label'),
2754
2851
  todoOptions: [{
2755
2852
  key: 'iframeData',
2756
2853
  label: '发送内容',
@@ -2767,7 +2864,7 @@ var todoActionObject = {
2767
2864
  },
2768
2865
  callFuncComp: {
2769
2866
  key: 'callFuncComp',
2770
- label: '调用功能组件能力',
2867
+ label: localeKey('callFuncComp.label'),
2771
2868
  todoOptions: [{
2772
2869
  key: 'selectCompFunc',
2773
2870
  label: '方法',
@@ -2788,7 +2885,7 @@ var todoActionObject = {
2788
2885
  id = _kv$options.id;
2789
2886
  return callBackJson.map(function (c) {
2790
2887
  return {
2791
- title: "\u529F\u80FD\u7EC4\u4EF6\u56DE\u8C03\u53C2\u6570(".concat(functionName, ")"),
2888
+ title: "".concat(localeKey('callFuncComp.todoCallbacks.callback1.fields.titlePrefix'), "(").concat(functionName, ")"),
2792
2889
  value: "$callback_".concat(id, "$"),
2793
2890
  dataId: kv.dataId
2794
2891
  };
@@ -2805,14 +2902,14 @@ var todoActionObject = {
2805
2902
  },
2806
2903
  addEventListenerParentMessage: {
2807
2904
  key: 'addEventListenerParentMessage',
2808
- label: '接收父容器消息',
2905
+ label: localeKey('addEventListenerParentMessage.label'),
2809
2906
  todoCallbacks: [{
2810
2907
  key: 'callback1',
2811
2908
  fields: [{
2812
- title: '接收到父容器消息',
2909
+ title: localeKey('addEventListenerParentMessage.todoCallbacks.callback1.fields.0.title'),
2813
2910
  value: '$u__$Data$',
2814
2911
  type: 'unknown',
2815
- description: '接收到父容器的消息内容'
2912
+ description: localeKey('addEventListenerParentMessage.todoCallbacks.callback1.fields.0.description')
2816
2913
  }]
2817
2914
  }],
2818
2915
  classification: [{
@@ -2823,16 +2920,16 @@ var todoActionObject = {
2823
2920
  },
2824
2921
  setRemoteCompProps: {
2825
2922
  key: 'setRemoteCompProps',
2826
- label: '给组件设置属性',
2923
+ label: localeKey('setRemoteCompProps.label'),
2827
2924
  todoOptions: [{
2828
2925
  key: 'rProps',
2829
- label: '设置自定义组件属性',
2926
+ label: localeKey('setRemoteCompProps.todoOptions.rProps.label'),
2830
2927
  type: 'SelectCustomParams'
2831
2928
  }]
2832
2929
  },
2833
2930
  setSubTabsData: {
2834
2931
  key: 'setSubTabsData',
2835
- label: '设置子标签数据',
2932
+ label: localeKey('setSubTabsData.label'),
2836
2933
  todoOptions: [{
2837
2934
  key: 'data',
2838
2935
  aliasKey: 'dataSource',
@@ -2843,14 +2940,14 @@ var todoActionObject = {
2843
2940
  },
2844
2941
  setTabsData: {
2845
2942
  key: 'setTabsData',
2846
- label: '设置选项卡内容',
2943
+ label: localeKey('setTabsData.label'),
2847
2944
  todoOptions: [{
2848
2945
  key: 'data',
2849
2946
  label: '内容',
2850
2947
  type: 'SetExpression'
2851
2948
  }, {
2852
2949
  key: 'key',
2853
- label: 'key字段',
2950
+ label: localeKey('setTabsData.todoOptions.key.label'),
2854
2951
  type: 'SetExpression'
2855
2952
  }, {
2856
2953
  key: 'title',
@@ -2867,24 +2964,23 @@ var todoActionObject = {
2867
2964
  }],
2868
2965
  remarks: [{
2869
2966
  label: '适用场景',
2870
- content: '支持动态加载标题、状态等内容,例如:通过服务或其他方式按key值返回标题、状态、角标值,标签页根据key值进行数据显示,状态值分别是:1 显示,2 隐藏'
2967
+ content: localeKey('setTabsData.remarks.0.content')
2871
2968
  }, {
2872
2969
  label: '配置说明',
2873
- content: '选择返回数据的内容节点(对象数组类型),设置key、标题、状态的取值字段,取值可以从自定义、页面值、上下文、数据源等获取'
2970
+ content: localeKey('setTabsData.remarks.1.content')
2874
2971
  }],
2875
2972
  todoCallbacks: ['callback1'],
2876
2973
  hidden: true
2877
2974
  },
2878
2975
  setHref: {
2879
2976
  key: 'setHref',
2880
- label: '设置链接地址',
2977
+ label: localeKey('setHref.label'),
2881
2978
  todoOptions: [{
2882
2979
  key: 'value',
2883
2980
  label: '内容',
2884
2981
  type: 'SetExpression'
2885
2982
  }] // 后续废除,请使用setSrc
2886
2983
  },
2887
-
2888
2984
  setData: {
2889
2985
  key: 'setData',
2890
2986
  label: '设置数据',
@@ -2897,7 +2993,7 @@ var todoActionObject = {
2897
2993
  },
2898
2994
  callFishParentFunc: {
2899
2995
  key: 'callFishParentFunc',
2900
- label: '调用父窗口方法',
2996
+ label: localeKey('callFishParentFunc.label'),
2901
2997
  todoOptions: [{
2902
2998
  key: 'funcName',
2903
2999
  label: '函数名称',
@@ -2914,13 +3010,13 @@ var todoActionObject = {
2914
3010
  }],
2915
3011
  remarks: [{
2916
3012
  label: '注意事项',
2917
- content: '触发回调:默认将成功回调函数(successCallback)、失败回调函数(failCallback)以追加参数形式传递给方法进行调用触发,也可以通过返回Promise对象触发。'
3013
+ content: localeKey('callFishParentFunc.remarks.0.content')
2918
3014
  }],
2919
3015
  isAsync: true
2920
3016
  },
2921
3017
  callSelfFunc: {
2922
3018
  key: 'callSelfFunc',
2923
- label: '调用页面自定义事件',
3019
+ label: localeKey('callSelfFunc.label'),
2924
3020
  todoOptions: [{
2925
3021
  key: 'customFuncName',
2926
3022
  label: '自定义事件',
@@ -2950,10 +3046,10 @@ var todoActionObject = {
2950
3046
  todoCallbacks: [{
2951
3047
  key: 'callback1',
2952
3048
  fields: [{
2953
- title: '自定义事件回调(@{options.customFuncName})',
3049
+ title: localeKey('callSelfFunc.todoCallbacks.callback1.fields.0.title'),
2954
3050
  value: '$customFunc_@{options.id}$',
2955
3051
  type: 'unknown',
2956
- description: '页面自定义事件回调数据'
3052
+ description: localeKey('callSelfFunc.todoCallbacks.callback1.fields.0.description')
2957
3053
  }]
2958
3054
  }, {
2959
3055
  key: 'callback2'
@@ -2966,7 +3062,7 @@ var todoActionObject = {
2966
3062
  },
2967
3063
  callParentCustomFunc: {
2968
3064
  key: 'callParentCustomFunc',
2969
- label: '调用父页面自定义事件',
3065
+ label: localeKey('callParentCustomFunc.label'),
2970
3066
  todoOptions: [{
2971
3067
  key: 'pathname',
2972
3068
  label: '页面',
@@ -3007,10 +3103,10 @@ var todoActionObject = {
3007
3103
  todoCallbacks: [{
3008
3104
  key: 'callback1',
3009
3105
  fields: [{
3010
- title: '父页面自定义事件回调(@{options.customFuncName})',
3106
+ title: localeKey('callParentCustomFunc.todoCallbacks.callback1.fields.0.title'),
3011
3107
  value: '$parentCustomFuncs_@{options.id}$',
3012
3108
  type: 'unknown',
3013
- description: '父页面自定义事件回调数据'
3109
+ description: localeKey('callParentCustomFunc.todoCallbacks.callback1.fields.0.description')
3014
3110
  }]
3015
3111
  }, {
3016
3112
  key: 'callback2'
@@ -3022,18 +3118,18 @@ var todoActionObject = {
3022
3118
  isAsync: true,
3023
3119
  remarks: [{
3024
3120
  label: '适用场景',
3025
- content: '场景一:当A页面通过页面容器/业务组件加载B页面的时候,通过该事件支持B页面调用A页面事件 \n 场景二:当A页面打开弹窗/抽屉/气泡是B页面的时候,通过该事件支持B页面调用A页面事件 \n 场景三:当A页面(A页面开启页面缓存)跳转到B页面的时候,通过该事件支持B页面调用A页面事件'
3121
+ content: localeKey('callParentCustomFunc.remarks.0.content')
3026
3122
  }]
3027
3123
  },
3028
3124
  callCustomPageFunc: {
3029
3125
  key: 'callCustomPageFunc',
3030
- label: '调用任意页面自定义事件',
3126
+ label: localeKey('callCustomPageFunc.label'),
3031
3127
  todoOptions: [{
3032
3128
  key: 'actionTitle',
3033
3129
  label: '动作说明',
3034
3130
  type: 'CustomActionTitle',
3035
3131
  props: {
3036
- placeholder: '请输入动作说明',
3132
+ placeholder: localeKey('callCustomPageFunc.todoOptions.actionTitle.props.placeholder'),
3037
3133
  maxLength: 20,
3038
3134
  valuePropName: 'actionTitle'
3039
3135
  }
@@ -3047,7 +3143,7 @@ var todoActionObject = {
3047
3143
  type: 'SelectCustomFunc',
3048
3144
  props: {
3049
3145
  titleLink: [{
3050
- title: '刷新',
3146
+ label: '刷新',
3051
3147
  value: 'refresh',
3052
3148
  key: 'refresh'
3053
3149
  }]
@@ -3077,10 +3173,10 @@ var todoActionObject = {
3077
3173
  todoCallbacks: [{
3078
3174
  key: 'callback1',
3079
3175
  fields: [{
3080
- title: '任意页面自定义事件回调(@{options.customFuncName})',
3176
+ title: localeKey('callCustomPageFunc.todoCallbacks.callback1.fields.0.title'),
3081
3177
  value: '$CustoPageFuncs_@{options.id}$',
3082
3178
  type: 'unknown',
3083
- description: '页面自定义事件回调数据'
3179
+ description: localeKey('callCustomPageFunc.todoCallbacks.callback1.fields.0.description')
3084
3180
  }]
3085
3181
  }, {
3086
3182
  key: 'callback2'
@@ -3091,26 +3187,38 @@ var todoActionObject = {
3091
3187
  }],
3092
3188
  remarks: [{
3093
3189
  label: '注意事项',
3094
- content: '选择的页面需要开启缓存(如:A页面跳转到B页面,B页面需要调用A页面的自定义事件,那么需要A页面需开启缓存);'
3190
+ content: localeKey('callCustomPageFunc.remarks.0.content')
3095
3191
  }],
3096
3192
  isAsync: true
3097
3193
  },
3098
3194
  exportBusiObjectData: {
3099
3195
  key: 'exportBusiObjectData',
3100
- label: '导出业务对象数据',
3196
+ label: localeKey('exportBusiObjectData.label'),
3101
3197
  todoOptions: [{
3102
3198
  key: 'busiObjectId',
3103
- label: '选择业务对象',
3199
+ label: localeKey('exportBusiObjectData.todoOptions.busiObjectId.label'),
3104
3200
  type: 'SelectBusiObjectId',
3105
3201
  props: {
3106
3202
  isRequired: true,
3107
- valuePropName: 'busiObjectId'
3203
+ isShowRelObject: true,
3204
+ valuePropName: 'busiObjectId',
3205
+ refreshKey: ['relatedObjectList', 'busiObjectFilterParams', 'paramsObj', 'paramsObjKeyValueMap']
3108
3206
  }
3207
+ }, {
3208
+ key: 'relatedObjectList',
3209
+ label: localeKey('exportBusiObjectData.todoOptions.relatedObjectList.label'),
3210
+ type: 'SelectRelObject',
3211
+ props: {
3212
+ isRequired: true,
3213
+ valuePropName: 'relatedObjectList'
3214
+ },
3215
+ visibleFlag: 'isMasterSlave',
3216
+ visibleFlagValue: [true]
3109
3217
  }, {
3110
3218
  key: 'async',
3111
3219
  label: '异步导出',
3112
3220
  type: 'RadioButton',
3113
- labelTip: '数量超过1万请勾选使用异步导出',
3221
+ labelTip: localeKey('exportBusiObjectData.todoOptions.async.labelTip'),
3114
3222
  defaultValue: 'sync',
3115
3223
  props: {
3116
3224
  options: [{
@@ -3123,27 +3231,25 @@ var todoActionObject = {
3123
3231
  }
3124
3232
  }, {
3125
3233
  key: 'busiObjectFilterParams',
3126
- label: '查询条件',
3127
- type: 'SelectLink',
3234
+ label: '导出条件',
3235
+ type: 'ExportParamFields',
3128
3236
  props: {
3129
- titleLink: [{
3130
- title: '切换到属性',
3131
- value: 'object',
3132
- key: 'object'
3133
- }, {
3134
- title: '切换根节点',
3135
- value: '',
3136
- key: 'root'
3137
- }, {
3138
- title: '清空赋值',
3139
- value: 'cleanValue',
3140
- key: 'cleanValue'
3141
- }],
3142
- valueType: 'Table'
3143
- }
3237
+ isFetch: true
3238
+ },
3239
+ extraMenus: [{
3240
+ label: '查询条件',
3241
+ value: 'normal'
3242
+ }, {
3243
+ label: '行主键',
3244
+ value: 'primaryValues'
3245
+ }],
3246
+ extraGroups: [{
3247
+ subLabel: '清空赋值',
3248
+ subClickFunName: 'cleanValue'
3249
+ }]
3144
3250
  }, {
3145
3251
  key: 'custFileName',
3146
- label: '自定义文件名',
3252
+ label: localeKey('exportBusiObjectData.todoOptions.custFileName.label'),
3147
3253
  type: 'SetExpression',
3148
3254
  props: {
3149
3255
  isRequired: true,
@@ -3158,10 +3264,10 @@ var todoActionObject = {
3158
3264
  },
3159
3265
  exportCustomData: {
3160
3266
  key: 'exportCustomData',
3161
- label: '自定义导出数据',
3267
+ label: localeKey('exportCustomData.label'),
3162
3268
  todoOptions: [{
3163
3269
  key: 'custFileName',
3164
- label: '自定义文件名',
3270
+ label: localeKey('exportCustomData.todoOptions.custFileName.label'),
3165
3271
  type: 'SetExpression',
3166
3272
  props: {
3167
3273
  isRequired: true,
@@ -3171,7 +3277,7 @@ var todoActionObject = {
3171
3277
  key: 'async',
3172
3278
  label: '异步导出',
3173
3279
  type: 'RadioButton',
3174
- labelTip: '数量超过1万请勾选使用异步导出',
3280
+ labelTip: localeKey('exportCustomData.todoOptions.async.labelTip'),
3175
3281
  defaultValue: 'sync',
3176
3282
  props: {
3177
3283
  options: [{
@@ -3184,14 +3290,14 @@ var todoActionObject = {
3184
3290
  }
3185
3291
  }, {
3186
3292
  key: 'exportSheet',
3187
- label: 'sheet页设置',
3293
+ label: localeKey('exportCustomData.todoOptions.exportSheet.label'),
3188
3294
  type: 'AddExportSheet',
3189
3295
  props: {
3190
3296
  valuePropName: 'exportSheet',
3191
3297
  isRequired: true,
3192
3298
  options: [{
3193
3299
  key: 'custSheetName',
3194
- label: 'sheet页名称',
3300
+ label: localeKey('exportCustomData.todoOptions.exportSheet.props.options.0.custSheetName.label'),
3195
3301
  type: 'SetExpression'
3196
3302
  }, {
3197
3303
  key: 'serviceData',
@@ -3229,10 +3335,13 @@ var todoActionObject = {
3229
3335
  }, {
3230
3336
  key: 'customGroup',
3231
3337
  type: 'SettingGroup',
3232
- label: '自定义表头模板',
3233
- labelTip: '可以根据选择的字段自定义导出模板的表头',
3338
+ label: localeKey('exportCustomData.todoOptions.exportSheet.props.options.4.customGroup.label'),
3339
+ labelTip: localeKey('exportCustomData.todoOptions.exportSheet.props.options.4.customGroup.labelTip'),
3234
3340
  visibleFlag: 'exportType',
3235
- visibleFlagValue: [undefined, null, '', 'field']
3341
+ visibleFlagValue: [undefined, null, '', 'field'],
3342
+ props: {
3343
+ isShowColumnWidth: true
3344
+ }
3236
3345
  }]
3237
3346
  }
3238
3347
  }],
@@ -3244,30 +3353,42 @@ var todoActionObject = {
3244
3353
  },
3245
3354
  importBusiObjectData: {
3246
3355
  key: 'importBusiObjectData',
3247
- label: '导入业务对象数据 ',
3356
+ label: localeKey('importBusiObjectData.label'),
3248
3357
  todoOptions: [{
3249
3358
  key: 'name',
3250
3359
  aliasKey: 'tempName',
3251
- label: '设置模板名称',
3360
+ label: localeKey('importBusiObjectData.todoOptions.name.label'),
3252
3361
  type: 'Input',
3253
3362
  props: {
3254
- placeholder: '请输入模板名称'
3363
+ placeholder: localeKey('importBusiObjectData.todoOptions.name.props.placeholder')
3255
3364
  }
3256
3365
  }, {
3257
3366
  key: 'busiObjectId',
3258
- label: '选择业务对象',
3367
+ label: localeKey('importBusiObjectData.todoOptions.busiObjectId.label'),
3259
3368
  type: 'SelectBusiObjectId',
3260
3369
  props: {
3261
3370
  isRequired: true,
3262
- valuePropName: 'busiObjectId'
3371
+ valuePropName: 'busiObjectId',
3372
+ isShowRelObject: true,
3373
+ refreshKey: ['relatedObjectList']
3263
3374
  }
3375
+ }, {
3376
+ key: 'relatedObjectList',
3377
+ label: localeKey('importBusiObjectData.todoOptions.relatedObjectList.label'),
3378
+ type: 'SelectRelObject',
3379
+ props: {
3380
+ isRequired: true,
3381
+ valuePropName: 'relatedObjectList'
3382
+ },
3383
+ visibleFlag: 'isMasterSlave',
3384
+ visibleFlagValue: [true]
3264
3385
  }, {
3265
3386
  key: 'exception',
3266
3387
  type: 'SwitchGroup',
3267
- label: '导入异常配置',
3388
+ label: localeKey('importBusiObjectData.todoOptions.exception.label'),
3268
3389
  props: {
3269
3390
  options: [{
3270
- title: '支持部分导入',
3391
+ title: localeKey('importBusiObjectData.todoOptions.exception.props.options.0.title'),
3271
3392
  value: 'partialImport'
3272
3393
  }]
3273
3394
  }
@@ -3275,12 +3396,12 @@ var todoActionObject = {
3275
3396
  todoCallbacks: [{
3276
3397
  key: 'callback1',
3277
3398
  fields: [{
3278
- title: '导入结果(resultObject)',
3399
+ title: localeKey('importBusiObjectData.todoCallbacks.callback1.fields.0.title'),
3279
3400
  value: '$resultObject_@{options.id}$',
3280
3401
  type: 'object',
3281
3402
  description: ''
3282
3403
  }, {
3283
- title: '导入提示(resultMsg)',
3404
+ title: localeKey('importBusiObjectData.todoCallbacks.callback1.fields.1.title'),
3284
3405
  value: '$resultMsg_@{options.id}$',
3285
3406
  type: 'string',
3286
3407
  description: ''
@@ -3296,19 +3417,19 @@ var todoActionObject = {
3296
3417
  },
3297
3418
  exportSQLServiceData: {
3298
3419
  key: 'exportSQLServiceData',
3299
- label: '导出SQL查询服务数据 ',
3420
+ label: localeKey('exportSQLServiceData.label'),
3300
3421
  todoOptions: [{
3301
3422
  key: 'sqlServiceCode',
3302
- label: '选择SQL查询服务',
3423
+ label: localeKey('exportSQLServiceData.todoOptions.sqlServiceCode.label'),
3303
3424
  type: 'SelectSQLServiceCode',
3304
3425
  props: {
3305
- refreshKey: ['sqlServiceFields', 'tempParams']
3426
+ refreshKey: ['sqlServiceFields', 'tempParams', 'busiObjectFilterParams', 'paramsObj', 'paramsObjKeyValueMap']
3306
3427
  }
3307
3428
  }, {
3308
3429
  key: 'async',
3309
3430
  label: '异步导出',
3310
3431
  type: 'RadioButton',
3311
- labelTip: '数量超过1万请勾选使用异步导出',
3432
+ labelTip: localeKey('exportSQLServiceData.todoOptions.async.labelTip'),
3312
3433
  defaultValue: 'sync',
3313
3434
  props: {
3314
3435
  options: [{
@@ -3328,32 +3449,21 @@ var todoActionObject = {
3328
3449
  valuePropName: function valuePropName(options) {
3329
3450
  var _options$tempParams;
3330
3451
  // 该属性之前非必填,但是选择temp模版文件后需要模板校验通过才可保存
3331
- return (options === null || options === void 0 ? void 0 : options.exportType) === 'temp' ? options === null || options === void 0 ? void 0 : (_options$tempParams = options.tempParams) === null || _options$tempParams === void 0 ? void 0 : _options$tempParams.rows : true;
3452
+ return (options === null || options === void 0 ? void 0 : options.exportType) === 'temp' ? options === null || options === void 0 || (_options$tempParams = options.tempParams) === null || _options$tempParams === void 0 ? void 0 : _options$tempParams.rows : true;
3332
3453
  }
3333
3454
  }
3334
3455
  }, {
3335
3456
  key: 'busiObjectFilterParams',
3336
3457
  label: '查询条件',
3337
- type: 'SelectLink',
3338
- props: {
3339
- titleLink: [{
3340
- title: '切换到属性',
3341
- value: 'object',
3342
- key: 'object'
3343
- }, {
3344
- title: '切换根节点',
3345
- value: '',
3346
- key: 'root'
3347
- }, {
3348
- title: '清空赋值',
3349
- value: 'cleanValue',
3350
- key: 'cleanValue'
3351
- }],
3352
- valueType: 'Table'
3353
- }
3458
+ type: 'ExportParamFields',
3459
+ props: {},
3460
+ extraGroups: [{
3461
+ subLabel: '清空赋值',
3462
+ subClickFunName: 'cleanValue'
3463
+ }]
3354
3464
  }, {
3355
3465
  key: 'custFileName',
3356
- label: '自定义文件名',
3466
+ label: localeKey('exportSQLServiceData.todoOptions.custFileName.label'),
3357
3467
  type: 'SetExpression',
3358
3468
  props: {
3359
3469
  isRequired: true,
@@ -3368,34 +3478,52 @@ var todoActionObject = {
3368
3478
  },
3369
3479
  importCustomBusiObjectData: {
3370
3480
  key: 'importCustomBusiObjectData',
3371
- label: '自定义导入业务对象数据 ',
3481
+ label: localeKey('importCustomBusiObjectData.label'),
3372
3482
  todoOptions: [{
3373
3483
  key: 'name',
3374
3484
  aliasKey: 'tempName',
3375
- label: '设置模板名称',
3485
+ label: localeKey('importCustomBusiObjectData.todoOptions.name.label'),
3376
3486
  type: 'Input',
3377
3487
  props: {
3378
- placeholder: '请输入模板名称'
3488
+ placeholder: localeKey('importCustomBusiObjectData.todoOptions.name.props.placeholder')
3379
3489
  }
3380
3490
  }, {
3381
3491
  key: 'busiObjectId',
3382
- label: '选择业务对象',
3492
+ label: localeKey('importCustomBusiObjectData.todoOptions.busiObjectId.label'),
3383
3493
  type: 'SelectBusiObjectId',
3384
3494
  props: {
3385
3495
  isRequired: true,
3386
- valuePropName: 'busiObjectId'
3496
+ valuePropName: 'busiObjectId',
3497
+ isShowRelObject: true,
3498
+ refreshKey: ['relatedObjectList', 'busiObjectFields', 'customGroup', 'templateData']
3387
3499
  }
3500
+ }, {
3501
+ key: 'relatedObjectList',
3502
+ label: localeKey('importCustomBusiObjectData.todoOptions.relatedObjectList.label'),
3503
+ type: 'SelectRelObject',
3504
+ props: {
3505
+ isRequired: true,
3506
+ valuePropName: 'relatedObjectList'
3507
+ },
3508
+ visibleFlag: 'isMasterSlave',
3509
+ visibleFlagValue: [true]
3388
3510
  }, {
3389
3511
  key: 'busiObjectFields',
3390
- label: '导入字段设置',
3512
+ label: localeKey('importCustomBusiObjectData.todoOptions.busiObjectFields.label'),
3391
3513
  type: 'SelectBusiObjectFields',
3392
3514
  props: {
3393
3515
  isRequired: true,
3394
- valuePropName: 'busiObjectFields'
3516
+ valuePropName: 'busiObjectFields',
3517
+ titleLink: [{
3518
+ title: function title(dataOptions) {
3519
+ return dataOptions !== null && dataOptions !== void 0 && dataOptions.allOpen ? '快速收起' : '快速展开';
3520
+ },
3521
+ value: 'allOpen'
3522
+ }]
3395
3523
  }
3396
3524
  }, {
3397
3525
  key: 'showOnly',
3398
- label: '只解析不入库',
3526
+ label: localeKey('importCustomBusiObjectData.todoOptions.showOnly.label'),
3399
3527
  type: 'Select',
3400
3528
  defaultValue: 'F',
3401
3529
  props: {
@@ -3410,15 +3538,20 @@ var todoActionObject = {
3410
3538
  }, {
3411
3539
  key: 'customGroup',
3412
3540
  type: 'SettingGroup',
3413
- label: '自定义表头模板',
3414
- labelTip: '可以根据选择的字段自定义导出模板的表头'
3541
+ label: localeKey('importCustomBusiObjectData.todoOptions.customGroup.label'),
3542
+ labelTip: localeKey('importCustomBusiObjectData.todoOptions.customGroup.labelTip')
3543
+ }, {
3544
+ key: 'templateData',
3545
+ type: 'SettingTemplateData',
3546
+ label: localeKey('importCustomBusiObjectData.todoOptions.templateData.label'),
3547
+ labelTip: localeKey('importCustomBusiObjectData.todoOptions.templateData.labelTip')
3415
3548
  }, {
3416
3549
  key: 'exception',
3417
3550
  type: 'SwitchGroup',
3418
- label: '导入异常配置',
3551
+ label: localeKey('importCustomBusiObjectData.todoOptions.exception.label'),
3419
3552
  props: {
3420
3553
  options: [{
3421
- title: '支持部分导入',
3554
+ title: localeKey('importCustomBusiObjectData.todoOptions.exception.props.options.0.title'),
3422
3555
  value: 'partialImport'
3423
3556
  }]
3424
3557
  }
@@ -3426,12 +3559,12 @@ var todoActionObject = {
3426
3559
  todoCallbacks: [{
3427
3560
  key: 'callback1',
3428
3561
  fields: [{
3429
- title: '导入结果(resultObject)',
3562
+ title: localeKey('importCustomBusiObjectData.todoCallbacks.callback1.fields.0.title'),
3430
3563
  value: '$resultObject_@{options.id}$',
3431
3564
  type: 'object',
3432
3565
  description: ''
3433
3566
  }, {
3434
- title: '导入提示(resultMsg)',
3567
+ title: localeKey('importCustomBusiObjectData.todoCallbacks.callback1.fields.1.title'),
3435
3568
  value: '$resultMsg_@{options.id}$',
3436
3569
  type: 'string',
3437
3570
  description: ''
@@ -3447,21 +3580,32 @@ var todoActionObject = {
3447
3580
  },
3448
3581
  exportCustomBusiObjectData: {
3449
3582
  key: 'exportCustomBusiObjectData',
3450
- label: '自定义导出业务对象数据',
3583
+ label: localeKey('exportCustomBusiObjectData.label'),
3451
3584
  todoOptions: [{
3452
3585
  key: 'busiObjectId',
3453
- label: '选择业务对象',
3586
+ label: localeKey('exportCustomBusiObjectData.todoOptions.busiObjectId.label'),
3454
3587
  type: 'SelectBusiObjectId',
3455
3588
  props: {
3456
3589
  isRequired: true,
3590
+ isShowRelObject: true,
3457
3591
  valuePropName: 'busiObjectId',
3458
- refreshKey: ['busiObjectFields', 'tempParams']
3592
+ refreshKey: ['relatedObjectList', 'busiObjectFields', 'tempParams', 'busiObjectFilterParams', 'paramsObj', 'paramsObjKeyValueMap']
3459
3593
  }
3594
+ }, {
3595
+ key: 'relatedObjectList',
3596
+ label: localeKey('exportCustomBusiObjectData.todoOptions.relatedObjectList.label'),
3597
+ type: 'SelectRelObject',
3598
+ props: {
3599
+ isRequired: true,
3600
+ valuePropName: 'relatedObjectList'
3601
+ },
3602
+ visibleFlag: 'isMasterSlave',
3603
+ visibleFlagValue: [true]
3460
3604
  }, {
3461
3605
  key: 'async',
3462
3606
  label: '异步导出',
3463
3607
  type: 'RadioButton',
3464
- labelTip: '数量超过1万请勾选使用异步导出',
3608
+ labelTip: localeKey('exportCustomBusiObjectData.todoOptions.async.labelTip'),
3465
3609
  defaultValue: 'sync',
3466
3610
  props: {
3467
3611
  options: [{
@@ -3480,32 +3624,28 @@ var todoActionObject = {
3480
3624
  isRequired: true,
3481
3625
  valuePropName: function valuePropName(options) {
3482
3626
  var _options$tempParams2, _options$busiObjectFi;
3483
- return (options === null || options === void 0 ? void 0 : options.exportType) === 'temp' ? options === null || options === void 0 ? void 0 : (_options$tempParams2 = options.tempParams) === null || _options$tempParams2 === void 0 ? void 0 : _options$tempParams2.rows : options === null || options === void 0 ? void 0 : (_options$busiObjectFi = options.busiObjectFields) === null || _options$busiObjectFi === void 0 ? void 0 : _options$busiObjectFi.length;
3627
+ return (options === null || options === void 0 ? void 0 : options.exportType) === 'temp' ? options === null || options === void 0 || (_options$tempParams2 = options.tempParams) === null || _options$tempParams2 === void 0 ? void 0 : _options$tempParams2.rows : options === null || options === void 0 || (_options$busiObjectFi = options.busiObjectFields) === null || _options$busiObjectFi === void 0 ? void 0 : _options$busiObjectFi.length;
3484
3628
  }
3485
3629
  }
3486
3630
  }, {
3487
3631
  key: 'busiObjectFilterParams',
3488
3632
  label: '查询条件',
3489
- type: 'SelectLink',
3490
- props: {
3491
- titleLink: [{
3492
- title: '切换到属性',
3493
- value: 'object',
3494
- key: 'object'
3495
- }, {
3496
- title: '切换根节点',
3497
- value: '',
3498
- key: 'root'
3499
- }, {
3500
- title: '清空赋值',
3501
- value: 'cleanValue',
3502
- key: 'cleanValue'
3503
- }],
3504
- valueType: 'Table'
3505
- }
3633
+ type: 'ExportParamFields',
3634
+ props: {},
3635
+ extraMenus: [{
3636
+ label: '查询条件',
3637
+ value: 'normal'
3638
+ }, {
3639
+ label: '行主键',
3640
+ value: 'primaryValues'
3641
+ }],
3642
+ extraGroups: [{
3643
+ subLabel: '清空赋值',
3644
+ subClickFunName: 'cleanValue'
3645
+ }]
3506
3646
  }, {
3507
3647
  key: 'custFileName',
3508
- label: '自定义文件名',
3648
+ label: localeKey('exportCustomBusiObjectData.todoOptions.custFileName.label'),
3509
3649
  type: 'SetExpression',
3510
3650
  props: {
3511
3651
  isRequired: true,
@@ -3527,7 +3667,7 @@ var todoActionObject = {
3527
3667
  label: '文件名',
3528
3668
  type: 'Input',
3529
3669
  props: {
3530
- placeholder: '请输入导出的文件名'
3670
+ placeholder: localeKey('exportPage.todoOptions.fileName.props.placeholder')
3531
3671
  }
3532
3672
  }, {
3533
3673
  key: 'type',
@@ -3552,7 +3692,7 @@ var todoActionObject = {
3552
3692
  },
3553
3693
  importCustomData: {
3554
3694
  key: 'importCustomData',
3555
- label: '自定义导入数据',
3695
+ label: localeKey('importCustomData.label'),
3556
3696
  todoOptions: [{
3557
3697
  key: 'custUrl',
3558
3698
  label: '导入服务',
@@ -3564,20 +3704,26 @@ var todoActionObject = {
3564
3704
  refreshKey: ['objectFields'],
3565
3705
  serviceTabs: [{
3566
3706
  key: SERVICE_KEY.STD,
3567
- description: '此处仅展示开启文件入参的编排服务,服务入参需包含impFile(文件类型)字段用于接收文件和param(对象类型,非必须)字段接收自定义参数',
3707
+ description: localeKey('importCustomData.todoOptions.custUrl.props.options.serviceTabs.std.description'),
3568
3708
  filterParams: {
3569
3709
  fileInputEnabled: 'T'
3570
3710
  }
3571
3711
  }, {
3572
3712
  key: SERVICE_KEY.INNER,
3573
3713
  fileUpload: true,
3574
- description: '此处仅展示开启上传控件中使用的请求层服务,服务入参需包含impFile(文件类型)字段用于接收文件和param(对象类型,非必须)字段接收自定义参数'
3714
+ description: localeKey('importCustomData.todoOptions.custUrl.props.options.serviceTabs.inner.description')
3575
3715
  }]
3576
3716
  }
3577
3717
  }
3718
+ }, {
3719
+ key: 'accept',
3720
+ label: localeKey('importCustomData.todoOptions.accept.label'),
3721
+ type: 'Input',
3722
+ defaultValue: '.xlsx,.xls,.csv',
3723
+ labelTip: localeKey('importCustomData.todoOptions.accept.labelTip')
3578
3724
  }, {
3579
3725
  key: 'custTpl',
3580
- label: '配置导入模板',
3726
+ label: localeKey('importCustomData.todoOptions.custTpl.label'),
3581
3727
  type: 'UploadFile'
3582
3728
  }, {
3583
3729
  key: 'custParams',
@@ -3585,10 +3731,25 @@ var todoActionObject = {
3585
3731
  type: 'SetCustomParams'
3586
3732
  }, {
3587
3733
  key: 'custTplUrl',
3588
- label: '指定模板地址(可选)',
3734
+ label: localeKey('importCustomData.todoOptions.custTplUrl.label'),
3589
3735
  type: 'SetExpression'
3590
3736
  }],
3591
- todoCallbacks: ['callback1', 'callback2'],
3737
+ todoCallbacks: [{
3738
+ key: 'callback1',
3739
+ fields: [{
3740
+ title: localeKey('importCustomData.todoCallbacks.callback1.fields.0.title'),
3741
+ value: '$resultObject_@{options.id}$',
3742
+ type: 'object',
3743
+ description: ''
3744
+ }, {
3745
+ title: localeKey('importCustomData.todoCallbacks.callback1.fields.1.title'),
3746
+ value: '$resultMsg_@{options.id}$',
3747
+ type: 'string',
3748
+ description: ''
3749
+ }]
3750
+ }, {
3751
+ key: 'callback2'
3752
+ }],
3592
3753
  classification: [{
3593
3754
  label: '导入导出',
3594
3755
  value: 'export'
@@ -3600,7 +3761,7 @@ var todoActionObject = {
3600
3761
  label: '文件预览',
3601
3762
  todoOptions: [{
3602
3763
  key: 'fileId',
3603
- label: '文件ID/URL',
3764
+ label: localeKey('previewFile.todoOptions.fileId.label'),
3604
3765
  type: 'SetExpression'
3605
3766
  }],
3606
3767
  classification: [{
@@ -3613,10 +3774,14 @@ var todoActionObject = {
3613
3774
  label: '页面打印',
3614
3775
  todoOptions: [{
3615
3776
  key: 'compToPrint',
3616
- label: '自定义打印区域(可选)',
3777
+ label: localeKey('print.todoOptions.compToPrint.label'),
3617
3778
  type: 'CompTree',
3618
3779
  props: {
3619
- selectType: 'free'
3780
+ selectType: 'free',
3781
+ titleLink: [{
3782
+ title: '清空已选',
3783
+ value: 'cleanValue'
3784
+ }]
3620
3785
  }
3621
3786
  }],
3622
3787
  classification: [{
@@ -3631,7 +3796,7 @@ var todoActionObject = {
3631
3796
  key: 'returnType',
3632
3797
  label: '返回类型',
3633
3798
  type: 'RadioButton',
3634
- 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 ",
3799
+ labelTip: localeKey('return.todoOptions.returnType.labelTip'),
3635
3800
  props: {
3636
3801
  options: [{
3637
3802
  title: '值',
@@ -3646,11 +3811,11 @@ var todoActionObject = {
3646
3811
  }
3647
3812
  }, {
3648
3813
  key: 'returnValue',
3649
- label: '返回内容(可选)',
3814
+ label: localeKey('return.todoOptions.returnValue.label'),
3650
3815
  type: 'SetExpression'
3651
3816
  }, {
3652
3817
  key: 'isPreventDefault',
3653
- label: '中止默认动作(高级)',
3818
+ label: localeKey('return.todoOptions.isPreventDefault.label'),
3654
3819
  type: 'Select',
3655
3820
  props: {
3656
3821
  options: [{
@@ -3661,12 +3826,12 @@ var todoActionObject = {
3661
3826
  value: 'F'
3662
3827
  }]
3663
3828
  },
3664
- 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 "
3829
+ labelTip: localeKey('return.todoOptions.isPreventDefault.labelTip')
3665
3830
  }, {
3666
3831
  key: 'isStopPropagation',
3667
- label: '阻止事件冒泡(高级)',
3832
+ label: localeKey('return.todoOptions.isStopPropagation.label'),
3668
3833
  type: 'Select',
3669
- 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 ",
3834
+ labelTip: localeKey('return.todoOptions.isStopPropagation.labelTip'),
3670
3835
  props: {
3671
3836
  options: [{
3672
3837
  title: '是',
@@ -3684,7 +3849,7 @@ var todoActionObject = {
3684
3849
  },
3685
3850
  copyToClipboard: {
3686
3851
  key: 'copyToClipboard',
3687
- label: '复制到粘贴板',
3852
+ label: localeKey('copyToClipboard.label'),
3688
3853
  todoOptions: [{
3689
3854
  key: 'copyText',
3690
3855
  label: '复制内容',
@@ -3702,33 +3867,21 @@ var todoActionObject = {
3702
3867
  todoCallbacks: [{
3703
3868
  key: 'callback1',
3704
3869
  fields: [{
3705
- title: '选中数据key@{name}',
3870
+ title: localeKey('getBlockSelectValues.todoCallbacks.callback1.fields.0.title'),
3706
3871
  value: '$vals_@{options.id}$',
3707
- description: '',
3708
- type: 'array',
3709
- getExtraCtxItem: function getExtraCtxItem(_ref) {
3710
- var name = _ref.name;
3711
- return {
3712
- actionTitle: name
3713
- };
3714
- }
3872
+ type: 'string',
3873
+ description: ''
3715
3874
  }, {
3716
- title: '选中数据@{name}',
3717
- value: '$items_@{options.id}$',
3718
- description: '',
3719
- type: 'array',
3720
- getExtraCtxItem: function getExtraCtxItem(_ref2) {
3721
- var name = _ref2.name;
3722
- return {
3723
- actionTitle: name
3724
- };
3725
- }
3875
+ title: localeKey('getBlockSelectValues.todoCallbacks.callback1.fields.1.title'),
3876
+ value: '$selected_@{options.id}$',
3877
+ type: 'string',
3878
+ description: ''
3726
3879
  }]
3727
3880
  }]
3728
3881
  },
3729
3882
  setBlockSelectData: {
3730
3883
  key: 'setBlockSelectData',
3731
- label: '设置循环块数据源',
3884
+ label: localeKey('setBlockSelectData.label'),
3732
3885
  todoOptions: [{
3733
3886
  key: 'value',
3734
3887
  label: '内容',
@@ -3747,7 +3900,7 @@ var todoActionObject = {
3747
3900
  defaultValue: 'id',
3748
3901
  props: {
3749
3902
  options: [{
3750
- title: '唯一字段编码',
3903
+ title: localeKey('setBlockSelectSelectedData.todoOptions.selectType.props.options.0.title'),
3751
3904
  value: 'id'
3752
3905
  }, {
3753
3906
  title: '循环项索引',
@@ -3789,7 +3942,7 @@ var todoActionObject = {
3789
3942
  defaultValue: 'id',
3790
3943
  props: {
3791
3944
  options: [{
3792
- title: '唯一字段编码',
3945
+ title: localeKey('setBlockSelectHiddenData.todoOptions.selectType.props.options.0.title'),
3793
3946
  value: 'id'
3794
3947
  }, {
3795
3948
  title: '循环项索引',
@@ -3805,7 +3958,7 @@ var todoActionObject = {
3805
3958
  },
3806
3959
  setBlockSelectStateData: {
3807
3960
  key: 'setBlockSelectStateData',
3808
- label: '设置循环项状态',
3961
+ label: localeKey('setBlockSelectStateData.label'),
3809
3962
  todoOptions: [{
3810
3963
  key: 'disabled',
3811
3964
  label: '状态设置',
@@ -3831,7 +3984,7 @@ var todoActionObject = {
3831
3984
  defaultValue: 'id',
3832
3985
  props: {
3833
3986
  options: [{
3834
- title: '唯一字段编码',
3987
+ title: localeKey('setBlockSelectStateData.todoOptions.selectType.props.options.0.title'),
3835
3988
  value: 'id'
3836
3989
  }, {
3837
3990
  title: '循环项索引',
@@ -3845,123 +3998,155 @@ var todoActionObject = {
3845
3998
  }],
3846
3999
  todoCallbacks: ['callback1']
3847
4000
  },
3848
- accountDivide: {
3849
- key: 'accountDivide',
3850
- label: '设置分账计划(DICT 专用)',
4001
+ // accountDivide: {
4002
+ // key: 'accountDivide',
4003
+ // label: '设置分账计划(DICT 专用)',
4004
+ // todoOptions: [
4005
+ // {
4006
+ // key: 'adTitle',
4007
+ // label: '科目名称',
4008
+ // type: 'SetExpression',
4009
+ // },
4010
+ // {
4011
+ // key: 'adOperationType',
4012
+ // label: '操作类型',
4013
+ // type: 'Select',
4014
+ // props: {
4015
+ // options: [
4016
+ // {
4017
+ // title: '新建分账计划',
4018
+ // value: 'new',
4019
+ // },
4020
+ // {
4021
+ // title: '修改分账计划',
4022
+ // value: 'edit',
4023
+ // },
4024
+ // {
4025
+ // title: '查看计划详情',
4026
+ // value: 'detail',
4027
+ // },
4028
+ // ],
4029
+ // },
4030
+ // },
4031
+ // {
4032
+ // key: 'payCycle',
4033
+ // label: '出账方式',
4034
+ // type: 'SetExpression',
4035
+ // },
4036
+ // {
4037
+ // key: 'payCycleAfter',
4038
+ // label: '变更后出账方式',
4039
+ // type: 'SetExpression',
4040
+ // },
4041
+ // {
4042
+ // key: 'prodCode',
4043
+ // label: '产品编码',
4044
+ // type: 'SetExpression',
4045
+ // },
4046
+ // {
4047
+ // key: 'totalAmount',
4048
+ // label: '总金额',
4049
+ // type: 'SetExpression',
4050
+ // },
4051
+ // {
4052
+ // key: 'adStartDate',
4053
+ // label: '开始年月(格式:2021-12)',
4054
+ // type: 'SetExpression',
4055
+ // },
4056
+ // {
4057
+ // key: 'adStartDateAfter',
4058
+ // label: '变更后开始年月(格式:2021-12)',
4059
+ // type: 'SetExpression',
4060
+ // },
4061
+ // {
4062
+ // key: 'adEndDate',
4063
+ // label: '结束年月(格式:2021-12)',
4064
+ // type: 'SetExpression',
4065
+ // },
4066
+ // {
4067
+ // key: 'adOldList',
4068
+ // label: '变更前计划详情',
4069
+ // type: 'SetExpression',
4070
+ // },
4071
+ // {
4072
+ // key: 'adList',
4073
+ // label: '计划详情',
4074
+ // type: 'SetExpression',
4075
+ // },
4076
+ // {
4077
+ // key: 'adAfterList',
4078
+ // label: '变更后计划详情',
4079
+ // type: 'SetExpression',
4080
+ // },
4081
+ // ],
4082
+ // todoCallbacks: [
4083
+ // {
4084
+ // key: 'callback1',
4085
+ // getFields: getAccountDivideOptsFields,
4086
+ // },
4087
+ // ],
4088
+ // classification: [
4089
+ // {
4090
+ // label: '其他',
4091
+ // value: 'others',
4092
+ // },
4093
+ // ],
4094
+ // isAsync: true,
4095
+ // },
4096
+ reloadGanttData: {
4097
+ key: 'reloadGanttData',
4098
+ label: localeKey('reloadGanttData.label'),
3851
4099
  todoOptions: [{
3852
- key: 'adTitle',
3853
- label: '科目名称',
4100
+ key: 'data',
4101
+ aliasKey: 'dataSource',
4102
+ label: '内容',
3854
4103
  type: 'SetExpression'
3855
- }, {
3856
- key: 'adOperationType',
3857
- label: '操作类型',
3858
- type: 'Select',
4104
+ }]
4105
+ },
4106
+ value: {
4107
+ key: 'value',
4108
+ label: '获取值',
4109
+ todoCallbacks: [{
4110
+ key: 'callback1',
4111
+ fields: [{
4112
+ title: localeKey('value.todoCallbacks.callback1.fields.0.title'),
4113
+ value: '$value_@{options.id}$',
4114
+ type: 'unknown',
4115
+ description: localeKey('value.todoCallbacks.callback1.fields.0.description')
4116
+ }]
4117
+ }]
4118
+ // labelMap: {
4119
+ // Selector: '获取选中值',
4120
+ // },
4121
+ },
4122
+ clearMobileValue: {
4123
+ key: 'clearMobileValue',
4124
+ label: '清空值'
4125
+ },
4126
+ setMobileValue: {
4127
+ key: 'setMobileValue',
4128
+ label: '控件赋值',
4129
+ todoOptions: [{
4130
+ key: 'compid',
4131
+ aliasKey: 'compId',
4132
+ label: '组件选择',
4133
+ type: 'CompTree',
3859
4134
  props: {
3860
- options: [{
3861
- title: '新建分账计划',
3862
- value: 'new'
3863
- }, {
3864
- title: '修改分账计划',
3865
- value: 'edit'
3866
- }, {
3867
- title: '查看计划详情',
3868
- value: 'detail'
4135
+ titleLink: [{
4136
+ title: '清空已选',
4137
+ value: 'cleanValue'
3869
4138
  }]
3870
4139
  }
3871
- }, {
3872
- key: 'payCycle',
3873
- label: '出账方式',
3874
- type: 'SetExpression'
3875
- }, {
3876
- key: 'payCycleAfter',
3877
- label: '变更后出账方式',
3878
- type: 'SetExpression'
3879
- }, {
3880
- key: 'prodCode',
3881
- label: '产品编码',
3882
- type: 'SetExpression'
3883
- }, {
3884
- key: 'totalAmount',
3885
- label: '总金额',
3886
- type: 'SetExpression'
3887
- }, {
3888
- key: 'adStartDate',
3889
- label: '开始年月(格式:2021-12)',
3890
- type: 'SetExpression'
3891
- }, {
3892
- key: 'adStartDateAfter',
3893
- label: '变更后开始年月(格式:2021-12)',
3894
- type: 'SetExpression'
3895
- }, {
3896
- key: 'adEndDate',
3897
- label: '结束年月(格式:2021-12)',
3898
- type: 'SetExpression'
3899
- }, {
3900
- key: 'adOldList',
3901
- label: '变更前计划详情',
3902
- type: 'SetExpression'
3903
- }, {
3904
- key: 'adList',
3905
- label: '计划详情',
3906
- type: 'SetExpression'
3907
- }, {
3908
- key: 'adAfterList',
3909
- label: '变更后计划详情',
3910
- type: 'SetExpression'
3911
- }],
3912
- todoCallbacks: [{
3913
- key: 'callback1',
3914
- getFields: getAccountDivideOptsFields
3915
- }],
3916
- classification: [{
3917
- label: '其他',
3918
- value: 'others'
3919
- }],
3920
- isAsync: true
3921
- },
3922
- reloadGanttData: {
3923
- key: 'reloadGanttData',
3924
- label: '加载项目实施进度数据',
3925
- todoOptions: [{
3926
- key: 'data',
3927
- aliasKey: 'dataSource',
3928
- label: '内容',
3929
- type: 'SetExpression'
3930
- }]
3931
- },
3932
- value: {
3933
- key: 'value',
3934
- label: '获取值',
3935
- todoCallbacks: [{
3936
- key: 'callback1',
3937
- fields: [{
3938
- title: '当前值(@{name})',
3939
- value: '$value_@{options.id}$',
3940
- type: 'unknown',
3941
- description: '当前控件的内容'
3942
- }]
3943
- }]
3944
- // labelMap: {
3945
- // Selector: '获取选中值',
3946
- // },
3947
- },
3948
-
3949
- clearMobileValue: {
3950
- key: 'clearMobileValue',
3951
- label: '清空值'
3952
- },
3953
- setMobileValue: {
3954
- key: 'setMobileValue',
3955
- label: '控件赋值',
3956
- todoOptions: [{
3957
- key: 'compid',
3958
- aliasKey: 'compId',
3959
- label: '组件选择',
3960
- type: 'CompTree'
3961
4140
  }, {
3962
4141
  key: 'valueList',
3963
4142
  label: '组件赋值',
3964
- type: 'SetSysExpression'
4143
+ type: 'SetSysExpression',
4144
+ props: {
4145
+ titleLink: [{
4146
+ title: '清空赋值',
4147
+ value: 'clearValue'
4148
+ }]
4149
+ }
3965
4150
  }],
3966
4151
  todoCallbacks: ['callback1'],
3967
4152
  initClose: true
@@ -4017,20 +4202,20 @@ var todoActionObject = {
4017
4202
  },
4018
4203
  getFormItemValue: {
4019
4204
  key: 'getFormItemValue',
4020
- label: '获取选中数据对象',
4205
+ label: localeKey('getFormItemValue.label'),
4021
4206
  todoCallbacks: [{
4022
4207
  key: 'callback1',
4023
4208
  fields: [{
4024
- title: '选中数据@{name}',
4209
+ title: localeKey('getFormItemValue.todoCallbacks.callback1.fields.0.title'),
4025
4210
  value: '$valueInfo_@{options.id}$',
4026
- description: '当前选中值的数据列表',
4211
+ description: localeKey('getFormItemValue.todoCallbacks.callback1.fields.0.description'),
4027
4212
  type: 'array'
4028
4213
  }]
4029
4214
  }]
4030
4215
  },
4031
4216
  addDebugger: {
4032
4217
  key: 'addDebugger',
4033
- label: '添加断点(慎用)',
4218
+ label: localeKey('addDebugger.label'),
4034
4219
  classification: [{
4035
4220
  label: '调试类',
4036
4221
  value: 'debug'
@@ -4056,9 +4241,9 @@ var todoActionObject = {
4056
4241
  todoCallbacks: [{
4057
4242
  key: 'callback1',
4058
4243
  fields: [{
4059
- title: '当前页面索引@{name}',
4244
+ title: localeKey('switchAppTabs.todoCallbacks.callback1.fields.0.title'),
4060
4245
  value: '$index_@{options.id}$',
4061
- description: '标签索引,从0开始计数,用于定位当前标签的位置',
4246
+ description: localeKey('switchAppTabs.todoCallbacks.callback1.fields.0.description'),
4062
4247
  type: 'number'
4063
4248
  }]
4064
4249
  }]
@@ -4084,26 +4269,26 @@ var todoActionObject = {
4084
4269
  },
4085
4270
  getDformStatus: {
4086
4271
  key: 'getDformStatus',
4087
- label: '获取表单编辑状态',
4272
+ label: localeKey('getDformStatus.label'),
4088
4273
  todoCallbacks: [{
4089
4274
  key: 'callback1',
4090
4275
  fields: [{
4091
- title: '表单编辑状态',
4276
+ title: localeKey('getDformStatus.todoCallbacks.callback1.fields.0.title'),
4092
4277
  value: '$disabled_@{options.compId}$',
4093
- description: '表单当前编辑状态:true(禁用)、false(编辑)',
4278
+ description: localeKey('getDformStatus.todoCallbacks.callback1.fields.0.description'),
4094
4279
  type: 'boolean'
4095
4280
  }]
4096
4281
  }]
4097
4282
  },
4098
4283
  customActionCode: {
4099
4284
  key: 'customActionCode',
4100
- label: '自定义代码块',
4285
+ label: localeKey('customActionCode.label'),
4101
4286
  todoOptions: [{
4102
4287
  key: 'actionTitle',
4103
4288
  label: '动作说明',
4104
4289
  type: 'CustomActionTitle',
4105
4290
  props: {
4106
- placeholder: '请输入动作说明',
4291
+ placeholder: localeKey('customActionCode.todoOptions.actionTitle.props.placeholder'),
4107
4292
  maxLength: 20
4108
4293
  }
4109
4294
  }, {
@@ -4144,17 +4329,17 @@ var todoActionObject = {
4144
4329
  }],
4145
4330
  remarks: [{
4146
4331
  label: '注意事项',
4147
- content: '如果需要配合退出事件,请在代码块中增加return true'
4332
+ content: localeKey('customActionCode.remarks.0.content')
4148
4333
  }],
4149
4334
  isAsync: true
4150
4335
  },
4151
4336
  getItemFromLocalStorage: {
4152
4337
  key: 'getItemFromLocalStorage',
4153
- label: '获取本地数据',
4338
+ label: localeKey('getItemFromLocalStorage.label'),
4154
4339
  todoOptions: [{
4155
4340
  key: 'key',
4156
4341
  aliasKey: 'valueKey',
4157
- label: '节点key取值字段',
4342
+ label: localeKey('getItemFromLocalStorage.todoOptions.key.label'),
4158
4343
  type: 'SetExpression'
4159
4344
  }],
4160
4345
  todoCallbacks: [{
@@ -4173,7 +4358,7 @@ var todoActionObject = {
4173
4358
  },
4174
4359
  setItemToLocalStorage: {
4175
4360
  key: 'setItemToLocalStorage',
4176
- label: '保存本地数据',
4361
+ label: localeKey('setItemToLocalStorage.label'),
4177
4362
  todoOptions: [{
4178
4363
  key: 'key',
4179
4364
  aliasKey: 'setItemKey',
@@ -4181,7 +4366,7 @@ var todoActionObject = {
4181
4366
  type: 'Input',
4182
4367
  props: {
4183
4368
  required: true,
4184
- placeholder: '请输入字段名值, 必须为英文'
4369
+ placeholder: localeKey('setItemToLocalStorage.todoOptions.key.props.placeholder')
4185
4370
  }
4186
4371
  }, {
4187
4372
  key: 'value',
@@ -4212,7 +4397,7 @@ var todoActionObject = {
4212
4397
  },
4213
4398
  getLocalLocation: {
4214
4399
  key: 'getLocalLocation',
4215
- label: '获取当前位置',
4400
+ label: localeKey('getLocalLocation.label'),
4216
4401
  todoOptions: [{
4217
4402
  key: 'mapType',
4218
4403
  label: '预览方式',
@@ -4233,27 +4418,27 @@ var todoActionObject = {
4233
4418
  label: '地图秘钥',
4234
4419
  type: 'Input',
4235
4420
  props: {
4236
- placeholder: '请输入地图的秘钥',
4421
+ placeholder: localeKey('getLocalLocation.todoOptions.mapKey.props.placeholder'),
4237
4422
  isRequired: true,
4238
4423
  valuePropName: 'mapKey'
4239
4424
  }
4240
4425
  }, {
4241
4426
  key: 'securityKey',
4242
- label: '安全秘钥(高德地图)',
4427
+ label: localeKey('getLocalLocation.todoOptions.securityKey.label'),
4243
4428
  type: 'Input',
4244
4429
  visibleFlag: 'mapType',
4245
4430
  visibleFlagValue: ['gaode'],
4246
4431
  props: {
4247
- placeholder: '请输入地图的安全密钥'
4432
+ placeholder: localeKey('getLocalLocation.todoOptions.securityKey.props.placeholder')
4248
4433
  }
4249
4434
  }, {
4250
4435
  key: 'locationAlways',
4251
- label: '是否持续定位',
4436
+ label: localeKey('getLocalLocation.todoOptions.locationAlways.label'),
4252
4437
  type: 'Switch',
4253
4438
  defaultValue: false
4254
4439
  }, {
4255
4440
  key: 'locationOutputType',
4256
- label: '定位输出坐标系',
4441
+ label: localeKey('getLocalLocation.todoOptions.locationOutputType.label'),
4257
4442
  type: 'Select',
4258
4443
  defaultValue: 'BD09',
4259
4444
  props: {
@@ -4270,14 +4455,14 @@ var todoActionObject = {
4270
4455
  }
4271
4456
  }, {
4272
4457
  key: 'locationAddress',
4273
- label: '是否需要地址信息',
4458
+ label: localeKey('getLocalLocation.todoOptions.locationAddress.label'),
4274
4459
  defaultValue: false,
4275
4460
  type: 'Switch'
4276
4461
  }],
4277
4462
  todoCallbacks: [{
4278
4463
  key: 'callback1',
4279
4464
  fields: [{
4280
- title: '定位成功回调',
4465
+ title: localeKey('getLocalLocation.todoCallbacks.callback1.fields.0.title'),
4281
4466
  value: '$location_@{options.id}$',
4282
4467
  type: 'unknown',
4283
4468
  description: ''
@@ -4285,7 +4470,7 @@ var todoActionObject = {
4285
4470
  }, {
4286
4471
  key: 'callback2',
4287
4472
  fields: [{
4288
- title: '定位失败回调',
4473
+ title: localeKey('getLocalLocation.todoCallbacks.callback2.fields.0.title'),
4289
4474
  value: '$location_err_@{options.id}$',
4290
4475
  type: 'unknown',
4291
4476
  description: ''
@@ -4297,22 +4482,22 @@ var todoActionObject = {
4297
4482
  }],
4298
4483
  remarks: [{
4299
4484
  label: '适用场景',
4300
- content: '使用百度/高德的JS-SDK进行位置定位,存在精度不准确问题,如果您的场景是需要高精度的场景,如在APP中,请使用JS调用原生APP获取定位信息。'
4485
+ content: localeKey('getLocalLocation.remarks.0.content')
4301
4486
  }, {
4302
4487
  label: '注意事项',
4303
- content: '在浏览器或者APP中,请开启相应的定位权限!由于Chrome、iOS10等已不再支持非安全域的浏览器定位请求,为保证定位成功率和精度,请尽快升级您的站点到HTTPS(百度地图官方地址: https://lbsyun.baidu.com/index.php?title=jspopular3.0/guide/getkey \n高德地图官方地址:https://lbs.amap.com/api/javascript-api/guide/abc/prepare),根据法律规定,不支持将任何类型的坐标转换为GPS坐标, "定位输出坐标系"选择大地坐标系时输出为地图原生坐标系。\n地图类型为高德且需要地址信息时需要输入高德地图的安全密钥,否则无法获取地址信息。'
4488
+ content: localeKey('getLocalLocation.remarks.1.content')
4304
4489
  }],
4305
4490
  isAsync: true
4306
4491
  },
4307
4492
  validateTableData: {
4308
4493
  key: 'validateTableData',
4309
- label: '获取当前页数据并校验',
4494
+ label: localeKey('validateTableData.label'),
4310
4495
  todoCallbacks: [{
4311
4496
  key: 'callback1',
4312
4497
  fields: [{
4313
- title: '表格数据(@{name})',
4498
+ title: localeKey('validateTableData.todoCallbacks.callback1.fields.0.title'),
4314
4499
  value: '$tableData_@{options.id}$',
4315
- description: '在分页表格中,当前页的数据列表',
4500
+ description: localeKey('validateTableData.todoCallbacks.callback1.fields.0.description'),
4316
4501
  type: 'array'
4317
4502
  }]
4318
4503
  }, {
@@ -4321,12 +4506,12 @@ var todoActionObject = {
4321
4506
  },
4322
4507
  validateTableRowData: {
4323
4508
  key: 'validateTableRowData',
4324
- label: '校验当前保存行数据',
4509
+ label: localeKey('validateTableRowData.label'),
4325
4510
  todoCallbacks: ['callback1', 'callback2']
4326
4511
  },
4327
4512
  reloadAppTableData: {
4328
4513
  key: 'reloadAppTableData',
4329
- label: '绑定表格数据',
4514
+ label: localeKey('reloadAppTableData.label'),
4330
4515
  todoOptions: [{
4331
4516
  key: 'appTableData',
4332
4517
  label: '表头数据',
@@ -4340,11 +4525,11 @@ var todoActionObject = {
4340
4525
  },
4341
4526
  getAppTableData: {
4342
4527
  key: 'getAppTableData',
4343
- label: '获取表格数据',
4528
+ label: localeKey('getAppTableData.label'),
4344
4529
  todoCallbacks: [{
4345
4530
  key: 'callback1',
4346
4531
  fields: [{
4347
- title: '获取数据成功@{name}',
4532
+ title: localeKey('getAppTableData.todoCallbacks.callback1.fields.0.title'),
4348
4533
  value: '$getData_@{options.id}$',
4349
4534
  type: 'array',
4350
4535
  description: ''
@@ -4352,7 +4537,7 @@ var todoActionObject = {
4352
4537
  }, {
4353
4538
  key: 'callback2',
4354
4539
  fields: [{
4355
- title: '获取数据失败@{name}',
4540
+ title: localeKey('getAppTableData.todoCallbacks.callback2.fields.0.title'),
4356
4541
  value: '$getData_err_@{options.id}$',
4357
4542
  type: 'string',
4358
4543
  description: ''
@@ -4371,38 +4556,38 @@ var todoActionObject = {
4371
4556
  },
4372
4557
  setVerificationCodeImageUrl: {
4373
4558
  key: 'setVerificationCodeImageUrl',
4374
- label: '设置图片地址',
4559
+ label: localeKey('setVerificationCodeImageUrl.label'),
4375
4560
  todoOptions: [{
4376
4561
  key: 'verificationCodeUrl',
4377
- label: '验证码图片地址',
4562
+ label: localeKey('setVerificationCodeImageUrl.todoOptions.verificationCodeUrl.label'),
4378
4563
  type: 'SetExpression'
4379
4564
  }],
4380
4565
  todoCallbacks: ['callback1']
4381
4566
  },
4382
4567
  removeTransferKeys: {
4383
4568
  key: 'removeTransferKeys',
4384
- label: '删除右侧列表值',
4569
+ label: localeKey('removeTransferKeys.label'),
4385
4570
  todoOptions: [{
4386
4571
  key: 'transferValue',
4387
4572
  aliasKey: 'removeTransferValue',
4388
4573
  label: '内容',
4389
4574
  type: 'SetExpression',
4390
4575
  props: {
4391
- placeholder: '请输入删除值,多个用英文逗号拼接,例如:1,2,3'
4576
+ placeholder: localeKey('removeTransferKeys.todoOptions.transferValue.props.placeholder')
4392
4577
  }
4393
4578
  }],
4394
4579
  todoCallbacks: ['callback1']
4395
4580
  },
4396
4581
  addTransferKeys: {
4397
4582
  key: 'addTransferKeys',
4398
- label: '设置右侧列表值',
4583
+ label: localeKey('addTransferKeys.label'),
4399
4584
  todoOptions: [{
4400
4585
  key: 'transferValue',
4401
4586
  aliasKey: 'addTransferValue',
4402
4587
  label: '内容',
4403
4588
  type: 'SetExpression',
4404
4589
  props: {
4405
- placeholder: '请输入添加值,多个用英文逗号拼接,例如:1,2,3'
4590
+ placeholder: localeKey('addTransferKeys.todoOptions.transferValue.props.placeholder')
4406
4591
  }
4407
4592
  }],
4408
4593
  todoCallbacks: ['callback1']
@@ -4432,11 +4617,11 @@ var todoActionObject = {
4432
4617
  label: '加载数据',
4433
4618
  todoOptions: [{
4434
4619
  key: 'xLineName',
4435
- label: 'x轴字段名',
4620
+ label: localeKey('loadLineChartData.todoOptions.xLineName.label'),
4436
4621
  type: 'SetExpression'
4437
4622
  }, {
4438
4623
  key: 'yLineName',
4439
- label: 'y轴字段名',
4624
+ label: localeKey('loadLineChartData.todoOptions.yLineName.label'),
4440
4625
  type: 'SetExpression'
4441
4626
  }, {
4442
4627
  key: 'lineChartData',
@@ -4466,11 +4651,11 @@ var todoActionObject = {
4466
4651
  label: '加载数据',
4467
4652
  todoOptions: [{
4468
4653
  key: 'donutX',
4469
- label: 'x轴字段名',
4654
+ label: localeKey('loadDonutChartData.todoOptions.donutX.label'),
4470
4655
  type: 'SetExpression'
4471
4656
  }, {
4472
4657
  key: 'donutY',
4473
- label: 'y轴字段名',
4658
+ label: localeKey('loadDonutChartData.todoOptions.donutY.label'),
4474
4659
  type: 'SetExpression'
4475
4660
  }, {
4476
4661
  key: 'donutData',
@@ -4490,7 +4675,7 @@ var todoActionObject = {
4490
4675
  label: '数据源',
4491
4676
  type: 'SetExpression',
4492
4677
  props: {
4493
- placeholder: '格式为:[{count:xx, color:xx, label:xx},...]'
4678
+ placeholder: localeKey('loadMultipleProgressData.todoOptions.mpData.props.placeholder')
4494
4679
  }
4495
4680
  }]
4496
4681
  },
@@ -4499,21 +4684,21 @@ var todoActionObject = {
4499
4684
  label: '加载数据',
4500
4685
  todoOptions: [{
4501
4686
  key: 'gcXName',
4502
- label: 'x轴字段名',
4687
+ label: localeKey('loadGroupColumnData.todoOptions.gcXName.label'),
4503
4688
  type: 'SetExpression'
4504
4689
  }, {
4505
4690
  key: 'gcLegendParams',
4506
4691
  label: '图例内容',
4507
4692
  type: 'SetExpression',
4508
4693
  props: {
4509
- placeholder: '格式为:[{label:xx(说明), value:xx(对应数据源取值字段)},...]'
4694
+ placeholder: localeKey('loadGroupColumnData.todoOptions.gcLegendParams.props.placeholder')
4510
4695
  }
4511
4696
  }, {
4512
4697
  key: 'gcData',
4513
4698
  label: '数据源',
4514
4699
  type: 'SetExpression',
4515
4700
  props: {
4516
- placeholder: '格式为:[{name:xx, xx:xx, xx:xx, ...},...]'
4701
+ placeholder: localeKey('loadGroupColumnData.todoOptions.gcData.props.placeholder')
4517
4702
  }
4518
4703
  }]
4519
4704
  },
@@ -4522,18 +4707,18 @@ var todoActionObject = {
4522
4707
  label: '加载数据',
4523
4708
  todoOptions: [{
4524
4709
  key: 'scXName',
4525
- label: 'x轴字段名',
4710
+ label: localeKey('loadSmallColumnarData.todoOptions.scXName.label'),
4526
4711
  type: 'SetExpression'
4527
4712
  }, {
4528
4713
  key: 'scYName',
4529
- label: 'y轴字段名',
4714
+ label: localeKey('loadSmallColumnarData.todoOptions.scYName.label'),
4530
4715
  type: 'SetExpression'
4531
4716
  }, {
4532
4717
  key: 'scData',
4533
4718
  label: '数据源',
4534
4719
  type: 'SetExpression',
4535
4720
  props: {
4536
- placeholder: '格式为:[{xx:xx, xx:xx, color:xx(需要指定颜色时设置该参数) },...]'
4721
+ placeholder: localeKey('loadSmallColumnarData.todoOptions.scData.props.placeholder')
4537
4722
  }
4538
4723
  }]
4539
4724
  },
@@ -4542,21 +4727,21 @@ var todoActionObject = {
4542
4727
  label: '加载数据',
4543
4728
  todoOptions: [{
4544
4729
  key: 'stcXName',
4545
- label: 'x轴字段名',
4730
+ label: localeKey('loadStackColumnData.todoOptions.stcXName.label'),
4546
4731
  type: 'SetExpression'
4547
4732
  }, {
4548
4733
  key: 'stcLegendParams',
4549
4734
  label: '图例内容',
4550
4735
  type: 'SetExpression',
4551
4736
  props: {
4552
- placeholder: '格式为:[{label:xx, value:xx},...]'
4737
+ placeholder: localeKey('loadStackColumnData.todoOptions.stcLegendParams.props.placeholder')
4553
4738
  }
4554
4739
  }, {
4555
4740
  key: 'stcData',
4556
4741
  label: '数据源',
4557
4742
  type: 'SetExpression',
4558
4743
  props: {
4559
- placeholder: '格式为:[{xx:xx, xx:xx, ... },...]'
4744
+ placeholder: localeKey('loadStackColumnData.todoOptions.stcData.props.placeholder')
4560
4745
  }
4561
4746
  }]
4562
4747
  },
@@ -4575,7 +4760,7 @@ var todoActionObject = {
4575
4760
  },
4576
4761
  setInlineCollapsed: {
4577
4762
  key: 'setInlineCollapsed',
4578
- label: '切换内嵌菜单',
4763
+ label: localeKey('setInlineCollapsed.label'),
4579
4764
  todoOptions: [{
4580
4765
  key: 'inlineCollapsed',
4581
4766
  label: '是否收缩',
@@ -4611,31 +4796,31 @@ var todoActionObject = {
4611
4796
  todoCallbacks: [{
4612
4797
  key: 'callback1',
4613
4798
  fields: [{
4614
- title: '选中key(@{name})',
4799
+ title: localeKey('getLoopListValues.todoCallbacks.callback1.fields.0.title'),
4615
4800
  value: '$loopDataKeys_@{options.id}$',
4616
4801
  type: 'array',
4617
- description: '循环列表选择模式下,当前选中数据的标识集合'
4802
+ description: localeKey('getLoopListValues.todoCallbacks.callback1.fields.0.description')
4618
4803
  }, {
4619
- title: '选中数据(@{name})',
4804
+ title: localeKey('getLoopListValues.todoCallbacks.callback1.fields.1.title'),
4620
4805
  value: '$loopDataValues_@{options.id}$',
4621
4806
  type: 'array',
4622
- description: '循环列表选择模式下,当前选中的数据集合'
4807
+ description: localeKey('getLoopListValues.todoCallbacks.callback1.fields.1.description')
4623
4808
  }, {
4624
- title: '选中索引值(@{name})',
4809
+ title: localeKey('getLoopListValues.todoCallbacks.callback1.fields.2.title'),
4625
4810
  value: '$loopDataIndexs_@{options.id}$',
4626
4811
  type: 'array',
4627
- description: '点击循环项在列表中的索引值集合,从0开始计数,用于定位点击项在列表中的位置'
4812
+ description: localeKey('getLoopListValues.todoCallbacks.callback1.fields.2.description')
4628
4813
  }]
4629
4814
  }]
4630
4815
  },
4631
4816
  setSelectAllValues: {
4632
4817
  key: 'setSelectAllValues',
4633
- label: '设置全部选中',
4818
+ label: localeKey('setSelectAllValues.label'),
4634
4819
  todoCallbacks: ['callback1']
4635
4820
  },
4636
4821
  setExpandedKey: {
4637
4822
  key: 'setExpandedKey',
4638
- label: '展开指定节点',
4823
+ label: localeKey('setExpandedKey.label'),
4639
4824
  todoOptions: [{
4640
4825
  key: 'value',
4641
4826
  label: '内容',
@@ -4644,7 +4829,7 @@ var todoActionObject = {
4644
4829
  },
4645
4830
  closeExpandedKey: {
4646
4831
  key: 'closeExpandedKey',
4647
- label: '收起指定节点',
4832
+ label: localeKey('closeExpandedKey.label'),
4648
4833
  todoOptions: [{
4649
4834
  key: 'value',
4650
4835
  label: '内容',
@@ -4662,7 +4847,7 @@ var todoActionObject = {
4662
4847
  }, {
4663
4848
  key: 'labelKey',
4664
4849
  aliasKey: 'selectLabelKey',
4665
- label: '选项内容字段',
4850
+ label: localeKey('reloadSelectorData.todoOptions.labelKey.label'),
4666
4851
  type: 'SetExpressionKey',
4667
4852
  props: {
4668
4853
  // 选择后只回填参数key选项对应的子级数据,不回填表达式
@@ -4680,7 +4865,7 @@ var todoActionObject = {
4680
4865
  }, {
4681
4866
  key: 'descriptionKey',
4682
4867
  aliasKey: 'selectDescriptionKey',
4683
- label: '选项描述字段',
4868
+ label: localeKey('reloadSelectorData.todoOptions.descriptionKey.label'),
4684
4869
  type: 'SetExpressionKey',
4685
4870
  props: {
4686
4871
  // 选择后只回填参数key选项对应的子级数据,不回填表达式
@@ -4689,7 +4874,7 @@ var todoActionObject = {
4689
4874
  }, {
4690
4875
  key: 'disabledKey',
4691
4876
  aliasKey: 'selectDisabledKey',
4692
- label: '选项禁用字段',
4877
+ label: localeKey('reloadSelectorData.todoOptions.disabledKey.label'),
4693
4878
  type: 'SetExpressionKey',
4694
4879
  props: {
4695
4880
  // 选择后只回填参数key选项对应的子级数据,不回填表达式
@@ -4700,27 +4885,27 @@ var todoActionObject = {
4700
4885
  },
4701
4886
  setSelectorDisabelItems: {
4702
4887
  key: 'setSelectorDisabelItems',
4703
- label: '设置选项禁用',
4888
+ label: localeKey('setSelectorDisabelItems.label'),
4704
4889
  todoOptions: [{
4705
4890
  key: 'disabledKeys',
4706
4891
  aliasKey: 'setSelectorDisabelItems',
4707
- label: '值/索引',
4892
+ label: localeKey('setSelectorDisabelItems.todoOptions.disabledKeys.label'),
4708
4893
  type: 'SetExpressionKey'
4709
4894
  }],
4710
4895
  todoCallbacks: ['callback1']
4711
4896
  },
4712
4897
  swipeNext: {
4713
4898
  key: 'swipeNext',
4714
- label: '切换到下一张',
4899
+ label: localeKey('swipeNext.label'),
4715
4900
  todoCallbacks: [{
4716
4901
  key: 'callback1',
4717
4902
  fields: [{
4718
- title: '@{name}目标索引',
4903
+ title: localeKey('swipeNext.todoCallbacks.success.fields.0.title'),
4719
4904
  value: '$targetIndex_@{options.compId}$',
4720
4905
  type: 'number',
4721
4906
  description: '-'
4722
4907
  }, {
4723
- title: '@{name}目标项',
4908
+ title: localeKey('swipeNext.todoCallbacks.success.fields.1.title'),
4724
4909
  value: '$targetData_@{options.compId}$',
4725
4910
  type: 'object',
4726
4911
  description: '-'
@@ -4728,7 +4913,7 @@ var todoActionObject = {
4728
4913
  }, {
4729
4914
  key: 'callback1',
4730
4915
  fields: [{
4731
- title: '@{name}错误信息',
4916
+ title: localeKey('swipeNext.todoCallbacks.fail.fields.0.title'),
4732
4917
  value: '$fail_@{options.compId}$',
4733
4918
  type: 'string',
4734
4919
  description: '-'
@@ -4737,12 +4922,12 @@ var todoActionObject = {
4737
4922
  },
4738
4923
  swipePrev: {
4739
4924
  key: 'swipePrev',
4740
- label: '切换到上一张',
4925
+ label: localeKey('swipePrev.label'),
4741
4926
  todoCallbacks: ['callback1', 'callback2']
4742
4927
  },
4743
4928
  swipeTo: {
4744
4929
  key: 'swipeTo',
4745
- label: '切换到指定索引',
4930
+ label: localeKey('swipeTo.label'),
4746
4931
  todoOptions: [{
4747
4932
  key: 'swiperIndex',
4748
4933
  label: '索引',
@@ -4785,21 +4970,25 @@ var todoActionObject = {
4785
4970
  },
4786
4971
  sysSetState: {
4787
4972
  key: 'sysSetState',
4788
- label: '设置组件状态',
4973
+ label: localeKey('sysSetState.label'),
4789
4974
  todoOptions: [{
4790
4975
  key: 'compid',
4791
4976
  label: '组件选择',
4792
4977
  type: 'CompTree',
4793
4978
  aliasKey: 'compId',
4794
- labelTip: '组件无“状态”属性时,组件不能选中',
4979
+ labelTip: localeKey('sysSetState.todoOptions.compid.labelTip'),
4795
4980
  props: {
4796
- checkable: true
4981
+ checkable: true,
4982
+ titleLink: [{
4983
+ title: '清空已选',
4984
+ value: 'cleanValue'
4985
+ }]
4797
4986
  }
4798
4987
  }, {
4799
4988
  key: 'compValueList',
4800
- label: '设置组件状态',
4989
+ label: localeKey('sysSetState.todoOptions.compValueList.label'),
4801
4990
  type: 'SetBatchProps',
4802
- labelTip: '1. 组件状态设置不分先后顺序</br>2. 表单组件设置了状态,表单内组件不设置状态,则以表单组件状态为准;反之,表单内组件设置了状态,则以表单内组件状态为准',
4991
+ labelTip: localeKey('sysSetState.todoOptions.compValueList.labelTip'),
4803
4992
  props: {
4804
4993
  options: [{
4805
4994
  title: '普通',
@@ -4820,24 +5009,24 @@ var todoActionObject = {
4820
5009
  label: '常用',
4821
5010
  value: 'common'
4822
5011
  }, {
4823
- label: '显示/隐藏',
5012
+ label: localeKey('sysSetState.classification.1.label'),
4824
5013
  value: 'visible'
4825
5014
  }]
4826
5015
  },
4827
5016
  callCurrentFunc: {
4828
5017
  key: 'callCurrentFunc',
4829
- label: '调用自定义事件',
5018
+ label: localeKey('callCurrentFunc.label'),
4830
5019
  todoOptions: [{
4831
5020
  key: 'pathname',
4832
5021
  label: '页面',
4833
5022
  type: 'SelectPage',
4834
- visibleFlag: function (_ref3) {
4835
- var DSLCore = _ref3.DSLCore,
4836
- dataOptions = _ref3.dataOptions;
5023
+ visibleFlag: function (_ref) {
5024
+ var DSLCore = _ref.DSLCore,
5025
+ dataOptions = _ref.dataOptions;
4837
5026
  var node = DSLCore === null || DSLCore === void 0 ? void 0 : DSLCore.query(dataOptions === null || dataOptions === void 0 ? void 0 : dataOptions.compId);
4838
5027
  if (node) {
4839
- var _node$attribute, _node$attribute$props, _node$attribute$props2;
4840
- return (_node$attribute = node.attribute) === null || _node$attribute === void 0 ? void 0 : (_node$attribute$props = _node$attribute.props) === null || _node$attribute$props === void 0 ? void 0 : (_node$attribute$props2 = _node$attribute$props.pageSrc) === null || _node$attribute$props2 === void 0 ? void 0 : _node$attribute$props2.startsWith('$');
5028
+ var _node$attribute;
5029
+ return (_node$attribute = node.attribute) === null || _node$attribute === void 0 || (_node$attribute = _node$attribute.props) === null || _node$attribute === void 0 || (_node$attribute = _node$attribute.pageSrc) === null || _node$attribute === void 0 ? void 0 : _node$attribute.startsWith('$');
4841
5030
  }
4842
5031
  return false;
4843
5032
  }.toString()
@@ -4877,10 +5066,10 @@ var todoActionObject = {
4877
5066
  todoCallbacks: [{
4878
5067
  key: 'callback1',
4879
5068
  fields: [{
4880
- title: '自定义事件回调(@{options.customFuncName})',
5069
+ title: localeKey('callCurrentFunc.todoCallbacks.callback1.fields.0.title'),
4881
5070
  value: '$currentFunc_@{options.id}$',
4882
5071
  type: 'unknown',
4883
- description: '页面自定义事件回调数据'
5072
+ description: localeKey('callCurrentFunc.todoCallbacks.callback1.fields.0.description')
4884
5073
  }]
4885
5074
  }, {
4886
5075
  key: 'callback2'
@@ -4889,7 +5078,7 @@ var todoActionObject = {
4889
5078
  },
4890
5079
  sysSetFormItemStatus: {
4891
5080
  key: 'sysSetFormItemStatus',
4892
- label: '设置表单控件状态',
5081
+ label: localeKey('sysSetFormItemStatus.label'),
4893
5082
  classification: [{
4894
5083
  label: '常用',
4895
5084
  value: 'common'
@@ -4910,30 +5099,39 @@ var todoActionObject = {
4910
5099
  key: 'compid',
4911
5100
  type: 'SelectComp',
4912
5101
  label: '组件选择',
4913
- description: '仅支持选择非渲染容器下的“表单”组件',
5102
+ description: localeKey('sysSetFormItemStatus.todoOptions.compid.props.options.0.description'),
4914
5103
  props: {
4915
5104
  includeType: ['Form', 'DForm'],
4916
- required: true
5105
+ required: true,
5106
+ titleLink: [{
5107
+ title: '清空已选',
5108
+ value: 'cleanValue'
5109
+ }, {
5110
+ title: function title(dataOptions) {
5111
+ return dataOptions !== null && dataOptions !== void 0 && dataOptions.isShowAll ? '显示已选' : '显示全部';
5112
+ },
5113
+ value: 'isShowAll'
5114
+ }]
4917
5115
  }
4918
5116
  }, {
4919
5117
  key: 'formItemList',
4920
5118
  type: 'SetExpression',
4921
5119
  label: '内容',
4922
- description: '需要接受格式为[{"attrCode": "item_order_name","status": 2}]的对象数组',
5120
+ description: localeKey('sysSetFormItemStatus.todoOptions.formItemList.description'),
4923
5121
  props: {
4924
5122
  required: true
4925
5123
  }
4926
5124
  }, {
4927
5125
  key: 'labelKey',
4928
5126
  type: 'SetExpression',
4929
- label: '选项表单编码字段',
4930
- description: '表单编码字段attrCode的节点别名',
5127
+ label: localeKey('sysSetFormItemStatus.todoOptions.labelKey.label'),
5128
+ description: localeKey('sysSetFormItemStatus.todoOptions.labelKey.description'),
4931
5129
  props: {}
4932
5130
  }, {
4933
5131
  key: 'valueKey',
4934
5132
  type: 'SetExpression',
4935
5133
  label: '选项值字段',
4936
- description: '表单状态字段status的节点别名 (1 编辑, 2 隐藏, 3 禁用 4 只读)',
5134
+ description: localeKey('sysSetFormItemStatus.todoOptions.valueKey.description'),
4937
5135
  props: {}
4938
5136
  }],
4939
5137
  titlePrefix: '内容配置'
@@ -4942,22 +5140,22 @@ var todoActionObject = {
4942
5140
  }],
4943
5141
  remarks: [{
4944
5142
  label: '适用场景',
4945
- content: '支持批量对表单内控件进行状态控制,例如:通过服务或其他方式返回字段编码和状态值,根据状态值设置表单内对应控件是否可编辑、是否隐藏等,状态值分别是:1 编辑,2 隐藏, 3 禁用, 4 只读 \n\n 只支持当前页面表单,如需控制业务组件或其他容器内的表单,请在业务组件中配置'
5143
+ content: localeKey('sysSetFormItemStatus.remarks.0.content')
4946
5144
  }, {
4947
5145
  label: '配置说明',
4948
- content: '选择返回数据的内容节点,设置字段编码和状态值的取值字段,根据状态值设置控件的状态'
5146
+ content: localeKey('sysSetFormItemStatus.remarks.1.content')
4949
5147
  }]
4950
5148
  },
4951
5149
  customPrintOrExport: {
4952
5150
  key: 'customPrintOrExport',
4953
- label: '自定义打印/导出',
5151
+ label: localeKey('customPrintOrExport.label'),
4954
5152
  todoOptions: [{
4955
5153
  key: 'operateType',
4956
5154
  label: '操作类型',
4957
5155
  type: 'CustomOperateType'
4958
5156
  }, {
4959
5157
  key: 'customSelectComp',
4960
- label: '选择打印组件',
5158
+ label: localeKey('customPrintOrExport.todoOptions.customSelectComp.label'),
4961
5159
  type: 'CustomSelectComp',
4962
5160
  props: {
4963
5161
  isRequired: true
@@ -4967,7 +5165,12 @@ var todoActionObject = {
4967
5165
  label: '导出水印',
4968
5166
  type: 'Switch',
4969
5167
  defaultValue: false,
4970
- labelTip: '当应用开启水印功能才生效,我的应用-设置-应用设置-水印设置'
5168
+ labelTip: localeKey('customPrintOrExport.todoOptions.waterMarkFlag.labelTip')
5169
+ }, {
5170
+ key: 'fileName',
5171
+ label: localeKey('customPrintOrExport.todoOptions.fileName.label'),
5172
+ type: 'SetExpression',
5173
+ labelTip: localeKey('customPrintOrExport.todoOptions.fileName.labelTip')
4971
5174
  }],
4972
5175
  todoCallbacks: ['callback1', 'callback2'],
4973
5176
  classification: [{
@@ -4977,13 +5180,13 @@ var todoActionObject = {
4977
5180
  },
4978
5181
  scanCode: {
4979
5182
  key: 'scanCode',
4980
- label: '识别二维码/条形码',
5183
+ label: localeKey('scanCode.label'),
4981
5184
  todoOptions: [{
4982
5185
  key: 'scanType',
4983
5186
  label: '图形类型',
4984
5187
  type: 'RadioButton',
4985
5188
  defaultValue: 'qrcode',
4986
- labelTip: '不同图片类型,解码器不同,请按实际场景选择图片类型。',
5189
+ labelTip: localeKey('scanCode.todoOptions.scanType.labelTip'),
4987
5190
  props: {
4988
5191
  options: [{
4989
5192
  title: '二维码',
@@ -4998,13 +5201,13 @@ var todoActionObject = {
4998
5201
  label: '识别目标',
4999
5202
  type: 'RadioButton',
5000
5203
  defaultValue: 'comp',
5001
- labelTip: "\u9875\u9762\u7EC4\u4EF6\uFF1A\u9002\u7528\u4E8E\u8BC6\u522B\u76EE\u6807\u4E3A[\u56FE\u7247\u7EC4\u4EF6]\uFF0C\u5E76\u4E14\u5728\u5F53\u524D\u9875\u9762\u4E2D\u3002\n \u56FE\u7247ID\uFF1A\u9002\u7528\u4E8E\u8BC6\u522B\u76EE\u6807\u4E3A[\u4E0A\u4F20\u540E\u7684\u56FE\u7247]\uFF0C\u5728\u4E0A\u4F20\u540E\u5373\u53EF\u89E3\u6790\u3002\u5176\u4E2D\u4E0A\u4F20\u5230\u5E73\u53F0\u81EA\u5E26\u7684\u6587\u4EF6\u670D\u52A1\u5668\u3002\n \u56FE\u7247\u5730\u5740\uFF1A\u9002\u7528\u4E8E\u8BC6\u522B\u7684\u76EE\u6807\u4E3A\u56FE\u7247\u94FE\u63A5\u5730\u5740\u65F6\uFF0C\u4F8B\u5982\uFF1A\u4E0A\u4F20\u5230\u4E1A\u52A1\u65B9\u7684\u6587\u4EF6\u7CFB\u7EDF\u540E\u8FD4\u56DE\u7684\u56FE\u7247\u94FE\u63A5\u5730\u5740\u3002\n \u5176\u4ED6\uFF1A\u76EE\u524D\u652F\u6301\u56FE\u7247\u4E3Abase64\u7684\u60C5\u51B5\u3002",
5204
+ labelTip: localeKey('scanCode.todoOptions.scanTarget.labelTip'),
5002
5205
  props: {
5003
5206
  options: [{
5004
5207
  title: '页面组件',
5005
5208
  value: 'comp'
5006
5209
  }, {
5007
- title: '图片ID',
5210
+ title: localeKey('scanCode.todoOptions.scanTarget.props.options.1.title'),
5008
5211
  value: 'fileId'
5009
5212
  }, {
5010
5213
  title: '图片地址',
@@ -5022,11 +5225,15 @@ var todoActionObject = {
5022
5225
  visibleFlagValue: ['comp'],
5023
5226
  props: {
5024
5227
  selectableCompType: ['Image', 'Img'],
5025
- placeholder: '请选择图片组件'
5228
+ placeholder: localeKey('scanCode.todoOptions.scanSource.comp.props.placeholder'),
5229
+ titleLink: [{
5230
+ title: '清空已选',
5231
+ value: 'cleanValue'
5232
+ }]
5026
5233
  }
5027
5234
  }, {
5028
5235
  key: 'scanSource',
5029
- label: '图片ID',
5236
+ label: localeKey('scanCode.todoOptions.scanSource.fileId.label'),
5030
5237
  type: 'SetExpression',
5031
5238
  visibleFlag: 'scanTarget',
5032
5239
  visibleFlagValue: ['fileId']
@@ -5058,31 +5265,950 @@ var todoActionObject = {
5058
5265
  }],
5059
5266
  remarks: [{
5060
5267
  label: '适用场景',
5061
- content: "\u4E0D\u652F\u6301IE\u4E0B\u4F7F\u7528\u6539\u529F\u80FD\uFF0C\u540C\u65F6\u652F\u6301\u6761\u5F62\u7801\u7F16\u7801\u683C\u5F0F\u5982\u4E0B\uFF1Acode_128_reader (default)\u3001ean_reader\u3001ean_8_reader\u3001code_39_reader\u3001code_39_vin_reader\u3001codabar_reader\u3001upc_reader\u3001upc_e_reader\u3001i2of5_reader\u30012of5_reader\u3001code_93_reade;\nQR-Code\u683C\u5F0F\u5916\u7684\u4E8C\u7EF4\u7801\u56FE\u7247\u4E0D\u652F\u6301\u8BC6\u522B\u4E2D\u6587\u5B57\u7B26;"
5268
+ content: localeKey('scanCode.remarks.0.content')
5062
5269
  }]
5063
- }
5064
- };
5065
- var mobileTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'JSBridge', 'console', 'sysSetVisible', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showAppCustomModal', 'historyPush', 'historyReplace', 'history', 'dropPageByCatch', 'historyGoBack', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'setDownloadResponse', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'validateAllAppForm', 'getAllFormValues', 'resetAllForm', 'pushScenePage', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc',
5066
- // 'previewFile',
5067
- 'return', 'copyToClipboard', 'reload', 'customActionCode', 'getItemFromLocalStorage', 'setItemToLocalStorage', 'getLocalLocation', 'sysSetState', 'sysSetFormItemStatus', 'closePopover', 'scanCode'];
5068
- var pcTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'apiRequestByFlow', 'openFlowPage', 'rollbackFlow', 'openFlowDiagram', 'console', 'sysSetVisible', 'sysSetState', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showCustomModal', 'setModalTitle', 'showDrawer', 'setDrawerTitle', 'historyPush', 'historyReplace', 'history', 'historyGoBack', 'dropPageByCatch', 'setCustomState', 'getCustomState', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'validateAllForm', 'getAllFormValues', 'resetAllForm', 'setDownloadResponse', 'saveBlobFile', 'downloadByFileId', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'callFuncComp', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc', 'exportBusiObjectData', 'exportCustomData', 'importBusiObjectData', 'exportSQLServiceData', 'importCustomBusiObjectData', 'exportCustomBusiObjectData', 'exportPage', 'importCustomData',
5069
- // 'previewFile',
5070
- 'print', 'return', 'copyToClipboard', 'accountDivide', 'addDebugger', 'reload', 'customActionCode', 'getLocalLocation', 'customPrintOrExport', 'closePopover', 'scanCode'];
5071
- // 指定页面类型展示动作,别的类型需过滤掉该动作
5072
- var pcPageTypeTodoActionKeys = {
5073
- Modal: ['setModalTitle'],
5074
- Drawer: ['setDrawerTitle']
5075
- };
5076
- /**
5077
- * 通过数组key获取对应的动作
5078
- * @param keys
5079
- * @returns
5080
- */
5081
- export var getTodoActionListByKey = function getTodoActionListByKey(keys) {
5082
- return keys.map(function (key) {
5083
- return todoActionObject[key];
5084
- }).filter(Boolean);
5085
- };
5270
+ },
5271
+ postObjectAndStartFlow: {
5272
+ key: 'postObjectAndStartFlow',
5273
+ label: localeKey('postObjectAndStartFlow.label'),
5274
+ todoOptions: [{
5275
+ key: 'sync',
5276
+ label: localeKey('postObjectAndStartFlow.todoOptions.sync.label'),
5277
+ type: 'RadioButton',
5278
+ defaultValue: false,
5279
+ props: {
5280
+ options: [{
5281
+ title: '异步加载',
5282
+ value: false
5283
+ }, {
5284
+ title: '同步加载',
5285
+ value: true
5286
+ }]
5287
+ }
5288
+ }, {
5289
+ key: 'selectObjectDataSource',
5290
+ label: localeKey('postObjectAndStartFlow.todoOptions.selectObjectDataSource.label'),
5291
+ type: 'selectObjectDataSource',
5292
+ props: {
5293
+ isRequired: true,
5294
+ valuePropName: 'postDataSource' // 编辑后值存于 options.postDataSource
5295
+ }
5296
+ }, {
5297
+ key: 'packageCode',
5298
+ label: '流程编码',
5299
+ type: 'FlowCodeSelect',
5300
+ props: {
5301
+ isRequired: true,
5302
+ valuePropName: 'packageCode'
5303
+ }
5304
+ }, {
5305
+ key: 'debugFlowPackageCode',
5306
+ label: localeKey('postObjectAndStartFlow.todoOptions.debugFlowPackageCode.label'),
5307
+ type: 'SetExpression'
5308
+ }, {
5309
+ key: 'flowForm',
5310
+ label: '业务表单',
5311
+ type: 'CompTree',
5312
+ props: {
5313
+ selectableCompType: ['Form'],
5314
+ placeholder: localeKey('postObjectAndStartFlow.todoOptions.flowForm.props.placeholder'),
5315
+ titleLink: [{
5316
+ title: '清空已选',
5317
+ value: 'cleanValue'
5318
+ }]
5319
+ }
5320
+ }, {
5321
+ key: 'dealPartyType',
5322
+ label: localeKey('postObjectAndStartFlow.todoOptions.dealPartyType.label'),
5323
+ type: 'Select',
5324
+ defaultValue: 'STA',
5325
+ props: {
5326
+ options: [{
5327
+ title: '人员',
5328
+ value: 'STA'
5329
+ }, {
5330
+ title: '组织',
5331
+ value: 'ORG'
5332
+ }, {
5333
+ title: '岗位',
5334
+ value: 'JOB'
5335
+ }]
5336
+ }
5337
+ }, {
5338
+ key: 'dealPartyId',
5339
+ label: localeKey('postObjectAndStartFlow.todoOptions.dealPartyId.label'),
5340
+ type: 'SetExpression'
5341
+ }, {
5342
+ key: 'hasEventExtService',
5343
+ label: localeKey('postObjectAndStartFlow.todoOptions.hasEventExtService.label'),
5344
+ type: 'Select',
5345
+ props: {
5346
+ options: [{
5347
+ title: '是',
5348
+ value: 'T'
5349
+ }, {
5350
+ title: '否',
5351
+ value: 'F'
5352
+ }]
5353
+ }
5354
+ }, {
5355
+ key: 'eventExtService',
5356
+ label: localeKey('postObjectAndStartFlow.todoOptions.eventExtService.label'),
5357
+ type: 'SetEventExtService',
5358
+ visibleFlag: 'hasEventExtService',
5359
+ visibleFlagValue: ['T']
5360
+ }],
5361
+ todoCallbacks: ['callback1', 'callback2'],
5362
+ classification: [{
5363
+ label: '流程类',
5364
+ value: 'flow'
5365
+ }],
5366
+ remarks: [{
5367
+ label: '适用场景',
5368
+ content: localeKey('postObjectAndStartFlow.remarks.0.content')
5369
+ }, {
5370
+ label: '配置规则',
5371
+ content: localeKey('postObjectAndStartFlow.remarks.1.content')
5372
+ }]
5373
+ },
5374
+ updateObjectAndChangeFlow: {
5375
+ key: 'updateObjectAndChangeFlow',
5376
+ label: localeKey('updateObjectAndChangeFlow.label'),
5377
+ todoOptions: [{
5378
+ key: 'sync',
5379
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.sync.label'),
5380
+ type: 'RadioButton',
5381
+ defaultValue: false,
5382
+ props: {
5383
+ options: [{
5384
+ title: '异步加载',
5385
+ value: false
5386
+ }, {
5387
+ title: '同步加载',
5388
+ value: true
5389
+ }]
5390
+ }
5391
+ }, {
5392
+ key: 'selectObjectDataSource',
5393
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.selectObjectDataSource.label'),
5394
+ type: 'selectObjectDataSource',
5395
+ props: {
5396
+ isRequired: true,
5397
+ valuePropName: 'postDataSource' // 编辑后值存于 options.postDataSource
5398
+ }
5399
+ }, {
5400
+ key: 'runType',
5401
+ label: '流转动作',
5402
+ type: 'Select',
5403
+ defaultValue: '1',
5404
+ props: {
5405
+ isRequired: true,
5406
+ valuePropName: 'runType',
5407
+ options: [{
5408
+ title: '正常流转',
5409
+ value: '1'
5410
+ }, {
5411
+ title: '回退',
5412
+ value: '2'
5413
+ }, {
5414
+ title: '自由流转',
5415
+ value: '3'
5416
+ }]
5417
+ }
5418
+ }, {
5419
+ key: 'operType',
5420
+ label: '回退类型',
5421
+ labelTip: localeKey('updateObjectAndChangeFlow.todoOptions.operType.labelTip'),
5422
+ type: 'SetExpression',
5423
+ // defaultValue: 'ra',
5424
+ visibleFlag: 'runType',
5425
+ visibleFlagValue: ['2'],
5426
+ props: {
5427
+ isRequired: true,
5428
+ valuePropName: 'operType',
5429
+ extendCtxOptions: [{
5430
+ title: localeKey('updateObjectAndChangeFlow.todoOptions.operType.props.extendCtxOptions.0.title'),
5431
+ value: 'ra'
5432
+ }, {
5433
+ title: localeKey('updateObjectAndChangeFlow.todoOptions.operType.props.extendCtxOptions.1.title'),
5434
+ value: 'rb'
5435
+ }, {
5436
+ title: localeKey('updateObjectAndChangeFlow.todoOptions.operType.props.extendCtxOptions.2.title'),
5437
+ value: 'rc'
5438
+ }, {
5439
+ title: localeKey('updateObjectAndChangeFlow.todoOptions.operType.props.extendCtxOptions.3.title'),
5440
+ value: 'rdo'
5441
+ }, {
5442
+ title: localeKey('updateObjectAndChangeFlow.todoOptions.operType.props.extendCtxOptions.4.title'),
5443
+ value: 're'
5444
+ }, {
5445
+ title: localeKey('updateObjectAndChangeFlow.todoOptions.operType.props.extendCtxOptions.5.title'),
5446
+ value: 'rf'
5447
+ }]
5448
+ }
5449
+ }, {
5450
+ key: 'workOrderId',
5451
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.workOrderId.label'),
5452
+ type: 'SetExpression',
5453
+ props: {
5454
+ isRequired: true,
5455
+ valuePropName: 'workOrderId'
5456
+ }
5457
+ }, {
5458
+ key: 'orderId',
5459
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.orderId.label'),
5460
+ type: 'SetExpression',
5461
+ props: {
5462
+ isRequired: true,
5463
+ valuePropName: 'orderId'
5464
+ }
5465
+ }, {
5466
+ key: 'flowForm',
5467
+ label: '业务表单',
5468
+ type: 'CompTree',
5469
+ props: {
5470
+ selectableCompType: ['Form'],
5471
+ placeholder: localeKey('updateObjectAndChangeFlow.todoOptions.flowForm.props.placeholder'),
5472
+ titleLink: [{
5473
+ title: '清空已选',
5474
+ value: 'cleanValue'
5475
+ }]
5476
+ }
5477
+ }, {
5478
+ key: 'approvalForm',
5479
+ label: '审批表单',
5480
+ type: 'CompTree',
5481
+ props: {
5482
+ selectableCompType: ['Form'],
5483
+ placeholder: localeKey('updateObjectAndChangeFlow.todoOptions.approvalForm.props.placeholder'),
5484
+ titleLink: [{
5485
+ title: '清空已选',
5486
+ value: 'cleanValue'
5487
+ }]
5488
+ }
5489
+ }, {
5490
+ key: 'directReceiptFlag',
5491
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.directReceiptFlag.label'),
5492
+ type: 'Select',
5493
+ props: {
5494
+ options: [{
5495
+ title: '是',
5496
+ value: true
5497
+ }, {
5498
+ title: '否',
5499
+ value: false
5500
+ }]
5501
+ },
5502
+ visibleFlag: 'runType',
5503
+ visibleFlagValue: ['1']
5504
+ }, {
5505
+ key: 'targetTacheId',
5506
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.targetTacheId.label'),
5507
+ type: 'SetExpression',
5508
+ visibleFlag: 'runType',
5509
+ visibleFlagValue: ['2']
5510
+ }, {
5511
+ key: 'targetBusiTacheCode',
5512
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.targetBusiTacheCode.label'),
5513
+ type: 'SetExpression',
5514
+ visibleFlag: 'runType',
5515
+ visibleFlagValue: ['2']
5516
+ }, {
5517
+ key: 'jumpToTacheId',
5518
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.jumpToTacheId.label'),
5519
+ type: 'SetExpression',
5520
+ visibleFlag: 'runType',
5521
+ visibleFlagValue: ['3']
5522
+ }, {
5523
+ key: 'jumpBusiTacheCode',
5524
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.jumpBusiTacheCode.label'),
5525
+ type: 'SetExpression',
5526
+ visibleFlag: 'runType',
5527
+ visibleFlagValue: ['3']
5528
+ }, {
5529
+ key: 'nextNodeHandlerType',
5530
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.nextNodeHandlerType.label'),
5531
+ type: 'Select',
5532
+ defaultValue: 'STA',
5533
+ props: {
5534
+ options: [{
5535
+ title: '人员',
5536
+ value: 'STA'
5537
+ }, {
5538
+ title: '组织',
5539
+ value: 'ORG'
5540
+ }, {
5541
+ title: '岗位',
5542
+ value: 'JOB'
5543
+ }]
5544
+ }
5545
+ }, {
5546
+ key: 'nextNodeHandlerId',
5547
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.nextNodeHandlerId.label'),
5548
+ type: 'SetExpression'
5549
+ }, {
5550
+ key: 'hasEventExtService',
5551
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.hasEventExtService.label'),
5552
+ type: 'Select',
5553
+ props: {
5554
+ options: [{
5555
+ title: '是',
5556
+ value: 'T'
5557
+ }, {
5558
+ title: '否',
5559
+ value: 'F'
5560
+ }]
5561
+ }
5562
+ }, {
5563
+ key: 'eventExtService',
5564
+ label: localeKey('updateObjectAndChangeFlow.todoOptions.eventExtService.label'),
5565
+ type: 'SetEventExtService',
5566
+ visibleFlag: 'hasEventExtService',
5567
+ visibleFlagValue: ['T']
5568
+ }],
5569
+ todoCallbacks: ['callback1', 'callback2'],
5570
+ classification: [{
5571
+ label: '流程类',
5572
+ value: 'flow'
5573
+ }],
5574
+ remarks: [{
5575
+ label: '适用场景',
5576
+ content: localeKey('updateObjectAndChangeFlow.remarks.0.content')
5577
+ }, {
5578
+ label: '配置规则',
5579
+ content: localeKey('updateObjectAndChangeFlow.remarks.1.content')
5580
+ }]
5581
+ },
5582
+ applyWeChatUserInfo: {
5583
+ key: 'applyWeChatUserInfo',
5584
+ label: localeKey('applyWeChatUserInfo.label'),
5585
+ todoOptions: [{
5586
+ key: 'url',
5587
+ label: localeKey('applyWeChatUserInfo.todoOptions.url.label'),
5588
+ type: 'SetExpression',
5589
+ props: {
5590
+ isRequired: true,
5591
+ valuePropName: 'url'
5592
+ }
5593
+ }],
5594
+ todoCallbacks: ['callback1', {
5595
+ key: 'callback2',
5596
+ fields: [{
5597
+ title: '失败回调',
5598
+ value: '$error_@{options.id}$',
5599
+ type: 'string',
5600
+ description: ''
5601
+ }]
5602
+ }],
5603
+ classification: [{
5604
+ label: localeKey('applyWeChatUserInfo.classification.wxAbility.label'),
5605
+ value: 'wxAbility'
5606
+ }],
5607
+ remarks: [{
5608
+ label: '适用场景',
5609
+ content: localeKey('applyWeChatUserInfo.remarks.0.content')
5610
+ }, {
5611
+ label: '配置说明',
5612
+ content: localeKey('applyWeChatUserInfo.remarks.1.content')
5613
+ }]
5614
+ },
5615
+ wxUpdateAppMessageShareData: {
5616
+ key: 'wxUpdateAppMessageShareData',
5617
+ label: localeKey('wxUpdateAppMessageShareData.label'),
5618
+ todoOptions: [{
5619
+ key: 'title',
5620
+ label: '分享标题',
5621
+ type: 'SetExpression',
5622
+ props: {
5623
+ valuePropName: 'title'
5624
+ }
5625
+ }, {
5626
+ key: 'desc',
5627
+ label: '分享描述',
5628
+ type: 'SetExpression',
5629
+ props: {
5630
+ valuePropName: 'desc'
5631
+ }
5632
+ }, {
5633
+ key: 'link',
5634
+ label: '分享链接',
5635
+ type: 'SetExpression',
5636
+ props: {
5637
+ isRequired: true,
5638
+ valuePropName: 'link'
5639
+ }
5640
+ }, {
5641
+ key: 'imgUrl',
5642
+ label: localeKey('wxUpdateAppMessageShareData.todoOptions.imgUrl.label'),
5643
+ type: 'SetExpression',
5644
+ props: {
5645
+ valuePropName: 'imgUrl'
5646
+ }
5647
+ }],
5648
+ todoCallbacks: ['callback1', {
5649
+ key: 'callback2',
5650
+ fields: [{
5651
+ title: '失败回调',
5652
+ value: '$error_@{options.id}$',
5653
+ type: 'string',
5654
+ description: ''
5655
+ }]
5656
+ }],
5657
+ classification: [{
5658
+ label: localeKey('wxUpdateAppMessageShareData.classification.wxAbility.label'),
5659
+ value: 'wxAbility'
5660
+ }],
5661
+ remarks: [{
5662
+ label: '适用场景',
5663
+ content: localeKey('wxUpdateAppMessageShareData.remarks.0.content')
5664
+ }, {
5665
+ label: '配置说明',
5666
+ content: localeKey('wxUpdateAppMessageShareData.remarks.1.content')
5667
+ }]
5668
+ },
5669
+ wxUpdateTimelineShareData: {
5670
+ key: 'wxUpdateTimelineShareData',
5671
+ label: localeKey('wxUpdateTimelineShareData.label'),
5672
+ todoOptions: [{
5673
+ key: 'title',
5674
+ label: '分享标题',
5675
+ type: 'SetExpression',
5676
+ props: {
5677
+ valuePropName: 'title'
5678
+ }
5679
+ }, {
5680
+ key: 'link',
5681
+ label: '分享链接',
5682
+ type: 'SetExpression',
5683
+ props: {
5684
+ valuePropName: 'link'
5685
+ }
5686
+ }, {
5687
+ key: 'imgUrl',
5688
+ label: localeKey('wxUpdateTimelineShareData.todoOptions.imgUrl.label'),
5689
+ type: 'SetExpression',
5690
+ props: {
5691
+ valuePropName: 'imgUrl'
5692
+ }
5693
+ }],
5694
+ todoCallbacks: ['callback1', {
5695
+ key: 'callback2',
5696
+ fields: [{
5697
+ title: '失败回调',
5698
+ value: '$error_@{options.id}$',
5699
+ type: 'string',
5700
+ description: ''
5701
+ }]
5702
+ }],
5703
+ classification: [{
5704
+ label: localeKey('wxUpdateTimelineShareData.classification.wxAbility.label'),
5705
+ value: 'wxAbility'
5706
+ }],
5707
+ remarks: [{
5708
+ label: '适用场景',
5709
+ content: localeKey('wxUpdateTimelineShareData.remarks.0.content')
5710
+ }, {
5711
+ label: '配置说明',
5712
+ content: localeKey('wxUpdateTimelineShareData.remarks.1.content')
5713
+ }]
5714
+ },
5715
+ wxOpenLocation: {
5716
+ key: 'wxOpenLocation',
5717
+ label: localeKey('wxOpenLocation.label'),
5718
+ todoOptions: [{
5719
+ key: 'latitude',
5720
+ label: '纬度',
5721
+ type: 'SetExpression',
5722
+ props: {
5723
+ valuePropName: 'latitude'
5724
+ }
5725
+ }, {
5726
+ key: 'longitude',
5727
+ label: '经度',
5728
+ type: 'SetExpression',
5729
+ props: {
5730
+ valuePropName: 'longitude'
5731
+ }
5732
+ }, {
5733
+ key: 'name',
5734
+ label: '位置名称',
5735
+ type: 'SetExpression',
5736
+ props: {
5737
+ valuePropName: 'name'
5738
+ }
5739
+ }, {
5740
+ key: 'address',
5741
+ label: localeKey('wxOpenLocation.todoOptions.address.label'),
5742
+ type: 'SetExpression',
5743
+ props: {
5744
+ valuePropName: 'address'
5745
+ }
5746
+ }, {
5747
+ key: 'scale',
5748
+ label: localeKey('wxOpenLocation.todoOptions.scale.label'),
5749
+ type: 'SetExpression',
5750
+ props: {
5751
+ valuePropName: 'scale'
5752
+ }
5753
+ }
5754
+ // 测试后该字段无效
5755
+ // {
5756
+ // key: 'infoUrl',
5757
+ // label: '地址超链接(在查看位置界面底部显示的超链接,可点击跳转。)',
5758
+ // type: 'SetExpression',
5759
+ // props: {
5760
+ // valuePropName: 'infoUrl',
5761
+ // },
5762
+ // },
5763
+ ],
5764
+ todoCallbacks: ['callback1', {
5765
+ key: 'callback2',
5766
+ fields: [{
5767
+ title: '失败回调',
5768
+ value: '$error_@{options.id}$',
5769
+ type: 'string',
5770
+ description: ''
5771
+ }]
5772
+ }],
5773
+ classification: [{
5774
+ label: localeKey('wxOpenLocation.classification.wxAbility.label'),
5775
+ value: 'wxAbility'
5776
+ }],
5777
+ remarks: [{
5778
+ label: '适用场景',
5779
+ content: localeKey('wxOpenLocation.remarks.0.content')
5780
+ }]
5781
+ },
5782
+ wxGetLocation: {
5783
+ key: 'wxGetLocation',
5784
+ label: localeKey('wxGetLocation.label'),
5785
+ todoOptions: [{
5786
+ key: 'locationType',
5787
+ label: '坐标类型',
5788
+ type: 'Select',
5789
+ defaultValue: 'wgs84',
5790
+ props: {
5791
+ options: [{
5792
+ title: localeKey('wxGetLocation.todoOptions.locationType.props.options.0.title'),
5793
+ value: 'wgs84'
5794
+ }, {
5795
+ title: '火星坐标',
5796
+ value: 'gcj02'
5797
+ }]
5798
+ }
5799
+ }],
5800
+ todoCallbacks: [{
5801
+ key: 'callback1',
5802
+ fields: [{
5803
+ title: '成功败回调',
5804
+ value: '$success_@{options.id}$',
5805
+ type: 'object',
5806
+ description: localeKey('wxGetLocation.todoCallbacks.callback1.fields.0.description')
5807
+ }]
5808
+ }, {
5809
+ key: 'callback2',
5810
+ fields: [{
5811
+ title: '失败回调',
5812
+ value: '$error_@{options.id}$',
5813
+ type: 'string',
5814
+ description: ''
5815
+ }]
5816
+ }],
5817
+ classification: [{
5818
+ label: localeKey('wxGetLocation.classification.wxAbility.label'),
5819
+ value: 'wxAbility'
5820
+ }],
5821
+ remarks: [{
5822
+ label: '适用场景',
5823
+ content: localeKey('wxGetLocation.remarks.0.content')
5824
+ }]
5825
+ },
5826
+ wxChooseImage: {
5827
+ key: 'wxChooseImage',
5828
+ label: localeKey('wxChooseImage.label'),
5829
+ todoOptions: [{
5830
+ key: 'count',
5831
+ label: localeKey('wxChooseImage.todoOptions.count.label'),
5832
+ type: 'SetExpression',
5833
+ defaultValue: 9,
5834
+ props: {}
5835
+ }, {
5836
+ key: 'sourceType',
5837
+ label: '图片来源',
5838
+ type: 'MultiSelect',
5839
+ defaultValue: ['album', 'camera'],
5840
+ props: {
5841
+ options: [{
5842
+ title: '相册',
5843
+ value: 'album'
5844
+ }, {
5845
+ title: '相机',
5846
+ value: 'camera'
5847
+ }]
5848
+ }
5849
+ }],
5850
+ todoCallbacks: [{
5851
+ key: 'callback1',
5852
+ fields: [{
5853
+ title: '成功败回调',
5854
+ value: '$success_@{options.id}$',
5855
+ type: 'object',
5856
+ description: localeKey('wxChooseImage.todoCallbacks.callback1.fields.0.description')
5857
+ }]
5858
+ }, {
5859
+ key: 'callback2',
5860
+ fields: [{
5861
+ title: '失败回调',
5862
+ value: '$error_@{options.id}$',
5863
+ type: 'string',
5864
+ description: ''
5865
+ }]
5866
+ }],
5867
+ classification: [{
5868
+ label: localeKey('wxChooseImage.classification.wxAbility.label'),
5869
+ value: 'wxAbility'
5870
+ }],
5871
+ remarks: [{
5872
+ label: '适用场景',
5873
+ content: localeKey('wxChooseImage.remarks.0.content')
5874
+ }]
5875
+ },
5876
+ wxPreviewImage: {
5877
+ key: 'wxPreviewImage',
5878
+ label: localeKey('wxPreviewImage.label'),
5879
+ todoOptions: [{
5880
+ key: 'current',
5881
+ label: localeKey('wxPreviewImage.todoOptions.current.label'),
5882
+ type: 'SetExpression',
5883
+ defaultValue: '',
5884
+ props: {}
5885
+ }, {
5886
+ key: 'urls',
5887
+ label: localeKey('wxPreviewImage.todoOptions.urls.label'),
5888
+ type: 'SetExpression',
5889
+ defaultValue: [],
5890
+ props: {}
5891
+ }],
5892
+ todoCallbacks: ['callback1', {
5893
+ key: 'callback2',
5894
+ fields: [{
5895
+ title: '失败回调',
5896
+ value: '$error_@{options.id}$',
5897
+ type: 'string',
5898
+ description: ''
5899
+ }]
5900
+ }],
5901
+ classification: [{
5902
+ label: localeKey('wxPreviewImage.classification.wxAbility.label'),
5903
+ value: 'wxAbility'
5904
+ }],
5905
+ remarks: [{
5906
+ label: '适用场景',
5907
+ content: localeKey('wxPreviewImage.remarks.0.content')
5908
+ }]
5909
+ },
5910
+ wxUploadImage: {
5911
+ key: 'wxUploadImage',
5912
+ label: localeKey('wxUploadImage.label'),
5913
+ todoOptions: [{
5914
+ key: 'localId',
5915
+ label: localeKey('wxUploadImage.todoOptions.localId.label'),
5916
+ type: 'SetExpression',
5917
+ defaultValue: '',
5918
+ props: {}
5919
+ }, {
5920
+ key: 'isShowProgressTips',
5921
+ label: localeKey('wxUploadImage.todoOptions.isShowProgressTips.label'),
5922
+ type: 'Switch',
5923
+ defaultValue: 1,
5924
+ props: {}
5925
+ }],
5926
+ todoCallbacks: [{
5927
+ key: 'callback1',
5928
+ fields: [{
5929
+ title: '成功败回调',
5930
+ value: '$success_@{options.id}$',
5931
+ type: 'object',
5932
+ description: localeKey('wxUploadImage.todoCallbacks.callback1.fields.0.description')
5933
+ }]
5934
+ }, {
5935
+ key: 'callback2',
5936
+ fields: [{
5937
+ title: '失败回调',
5938
+ value: '$error_@{options.id}$',
5939
+ type: 'string',
5940
+ description: ''
5941
+ }]
5942
+ }],
5943
+ classification: [{
5944
+ label: localeKey('wxUploadImage.classification.wxAbility.label'),
5945
+ value: 'wxAbility'
5946
+ }],
5947
+ remarks: [{
5948
+ label: '适用场景',
5949
+ content: localeKey('wxUploadImage.remarks.0.content')
5950
+ }]
5951
+ },
5952
+ wxDownloadImage: {
5953
+ key: 'wxDownloadImage',
5954
+ label: localeKey('wxDownloadImage.label'),
5955
+ todoOptions: [{
5956
+ key: 'serverId',
5957
+ label: localeKey('wxDownloadImage.todoOptions.serverId.label'),
5958
+ type: 'SetExpression',
5959
+ defaultValue: '',
5960
+ props: {}
5961
+ }, {
5962
+ key: 'isShowProgressTips',
5963
+ label: localeKey('wxDownloadImage.todoOptions.isShowProgressTips.label'),
5964
+ type: 'Switch',
5965
+ defaultValue: 1,
5966
+ props: {}
5967
+ }],
5968
+ todoCallbacks: [{
5969
+ key: 'callback1',
5970
+ fields: [{
5971
+ title: '成功败回调',
5972
+ value: '$success_@{options.id}$',
5973
+ type: 'object',
5974
+ description: localeKey('wxDownloadImage.todoCallbacks.callback1.fields.0.description')
5975
+ }]
5976
+ }, {
5977
+ key: 'callback2',
5978
+ fields: [{
5979
+ title: '失败回调',
5980
+ value: '$error_@{options.id}$',
5981
+ type: 'string',
5982
+ description: ''
5983
+ }]
5984
+ }],
5985
+ classification: [{
5986
+ label: localeKey('wxDownloadImage.classification.wxAbility.label'),
5987
+ value: 'wxAbility'
5988
+ }],
5989
+ remarks: [{
5990
+ label: '适用场景',
5991
+ content: localeKey('wxDownloadImage.remarks.0.content')
5992
+ }]
5993
+ },
5994
+ wxGetLocalImgData: {
5995
+ key: 'wxGetLocalImgData',
5996
+ label: localeKey('wxGetLocalImgData.label'),
5997
+ todoOptions: [{
5998
+ key: 'localId',
5999
+ label: localeKey('wxGetLocalImgData.todoOptions.localId.label'),
6000
+ type: 'SetExpression',
6001
+ defaultValue: '',
6002
+ props: {}
6003
+ }, {
6004
+ key: 'compressionRatio',
6005
+ label: localeKey('wxGetLocalImgData.todoOptions.compressionRatio.label'),
6006
+ type: 'SetExpression',
6007
+ defaultValue: 0.3,
6008
+ props: {}
6009
+ }],
6010
+ todoCallbacks: [{
6011
+ key: 'callback1',
6012
+ fields: [{
6013
+ title: '成功败回调',
6014
+ value: '$success_@{options.id}$',
6015
+ type: 'object',
6016
+ description: localeKey('wxGetLocalImgData.todoCallbacks.callback1.fields.0.description')
6017
+ }]
6018
+ }, {
6019
+ key: 'callback2',
6020
+ fields: [{
6021
+ title: '失败回调',
6022
+ value: '$error_@{options.id}$',
6023
+ type: 'string',
6024
+ description: ''
6025
+ }]
6026
+ }],
6027
+ classification: [{
6028
+ label: localeKey('wxGetLocalImgData.classification.wxAbility.label'),
6029
+ value: 'wxAbility'
6030
+ }],
6031
+ remarks: [{
6032
+ label: '注意',
6033
+ content: localeKey('wxGetLocalImgData.remarks.0.content')
6034
+ }]
6035
+ },
6036
+ openFloatWindow: {
6037
+ key: 'openFloatWindow',
6038
+ label: localeKey('openFloatWindow.label'),
6039
+ todoOptions: [{
6040
+ key: 'location',
6041
+ label: '浮窗位置',
6042
+ type: 'RadioButton',
6043
+ defaultValue: 'right',
6044
+ props: {
6045
+ options: [{
6046
+ title: '左侧',
6047
+ value: 'left'
6048
+ }, {
6049
+ title: '右侧',
6050
+ value: 'right'
6051
+ }]
6052
+ }
6053
+ }, {
6054
+ key: 'size',
6055
+ label: '窗口尺寸',
6056
+ type: 'WindowSize',
6057
+ defaultValue: {
6058
+ size: {
6059
+ height: '90%',
6060
+ width: '30%'
6061
+ }
6062
+ }
6063
+ }, {
6064
+ key: 'windowPage',
6065
+ label: '选择页面',
6066
+ type: 'SelectWindow',
6067
+ props: {
6068
+ isRequired: true,
6069
+ valuePropName: 'windowPage'
6070
+ }
6071
+ }, {
6072
+ key: 'componentState',
6073
+ label: '组件状态',
6074
+ type: 'ComponentState',
6075
+ visibleFlag: function (_ref2) {
6076
+ var _dataOptions$windowPa;
6077
+ var dataOptions = _ref2.dataOptions;
6078
+ return (dataOptions === null || dataOptions === void 0 || (_dataOptions$windowPa = dataOptions.windowPage) === null || _dataOptions$windowPa === void 0 ? void 0 : _dataOptions$windowPa.type) === 'page';
6079
+ }.toString(),
6080
+ extraGroups: [{
6081
+ subLabel: '组件刷新',
6082
+ subClickFunName: 'refreshCompsStateData'
6083
+ }]
6084
+ }],
6085
+ classification: [{
6086
+ label: '页面类',
6087
+ value: 'page'
6088
+ }],
6089
+ remarks: [{
6090
+ label: '配置说明',
6091
+ content: localeKey('openFloatWindow.remarks.0.content')
6092
+ }]
6093
+ },
6094
+ callAiService: {
6095
+ key: 'callAiService',
6096
+ label: localeKey('callAiService.label'),
6097
+ todoOptions: [{
6098
+ key: 'actionTitle',
6099
+ label: '动作说明',
6100
+ type: 'CustomActionTitle',
6101
+ props: {
6102
+ placeholder: localeKey('callAiService.todoOptions.actionTitle.props.placeholder'),
6103
+ maxLength: 20,
6104
+ valuePropName: 'actionTitle'
6105
+ }
6106
+ }, {
6107
+ key: 'url',
6108
+ label: '选择服务',
6109
+ type: 'SelectAiServiceUrl',
6110
+ props: {
6111
+ isRequired: true,
6112
+ valuePropName: 'url'
6113
+ }
6114
+ }, {
6115
+ key: 'compid',
6116
+ label: localeKey('callAiService.todoOptions.compid.label'),
6117
+ type: 'CompTree',
6118
+ props: {
6119
+ checkable: true,
6120
+ selectableCompType: ['RichTextEditor'],
6121
+ placeholder: localeKey('callAiService.todoOptions.compid.props.placeholder'),
6122
+ titleLink: [{
6123
+ title: '清空已选',
6124
+ value: 'cleanValue'
6125
+ }]
6126
+ },
6127
+ visibleFlag: function (_ref3) {
6128
+ var _dataOptions$url;
6129
+ var dataOptions = _ref3.dataOptions;
6130
+ return dataOptions === null || dataOptions === void 0 || (_dataOptions$url = dataOptions.url) === null || _dataOptions$url === void 0 ? void 0 : _dataOptions$url.isStreamOutput;
6131
+ }.toString()
6132
+ }, {
6133
+ key: 'params',
6134
+ label: '参数赋值',
6135
+ type: 'SetAiServiceRequestParam',
6136
+ extraGroups: [{
6137
+ subLabel: '清空赋值',
6138
+ subClickFunName: 'cleanValue'
6139
+ }]
6140
+ }],
6141
+ todoCallbacks: [{
6142
+ key: 'callback1',
6143
+ getFields: getAiServiceResponseFields
6144
+ }, {
6145
+ key: 'callback2'
6146
+ }],
6147
+ classification: [{
6148
+ label: '服务请求类',
6149
+ value: 'request'
6150
+ }]
6151
+ },
6152
+ closeAiService: {
6153
+ key: 'closeAiService',
6154
+ label: localeKey('closeAiService.label'),
6155
+ todoOptions: [{
6156
+ key: 'actionTitle',
6157
+ label: '动作说明',
6158
+ type: 'CustomActionTitle',
6159
+ props: {
6160
+ placeholder: localeKey('closeAiService.todoOptions.actionTitle.props.placeholder'),
6161
+ maxLength: 20,
6162
+ valuePropName: 'actionTitle'
6163
+ }
6164
+ }, {
6165
+ key: 'url',
6166
+ label: '选择服务',
6167
+ type: 'SelectAiServiceUrl',
6168
+ props: {
6169
+ isRequired: true,
6170
+ valuePropName: 'url',
6171
+ isFilterFlowOutput: true
6172
+ }
6173
+ }],
6174
+ todoCallbacks: ['callback1', 'classback2'],
6175
+ classification: [{
6176
+ label: '服务请求类',
6177
+ value: 'request'
6178
+ }]
6179
+ }
6180
+ };
6181
+ export var wxAbilityTodoActionKeys = ['applyWeChatUserInfo', 'wxUpdateAppMessageShareData', 'wxUpdateTimelineShareData', 'wxOpenLocation', 'wxGetLocation', 'wxChooseImage', 'wxPreviewImage', 'wxUploadImage', 'wxDownloadImage', 'wxGetLocalImgData'];
6182
+ var mobileTodoActionKeys = ['showMessage', 'hideMessage', 'apiRequest', 'JSBridge', 'console', 'sysSetVisible', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showAppCustomModal', 'historyPush', 'historyReplace', 'history', 'dropPageByCatch', 'historyGoBack', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'setDownloadResponse', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'validateAllAppForm', 'getAllFormValues', 'resetAllForm', 'pushScenePage', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc', 'exportCustomBusiObjectData', 'exportCustomData',
6183
+ // 'previewFile',
6184
+ 'return', 'copyToClipboard', 'reload', 'customActionCode', 'getItemFromLocalStorage', 'setItemToLocalStorage', 'getLocalLocation', 'sysSetState', 'sysSetFormItemStatus', 'closePopover', 'scanCode', 'postObjectAndStartFlow', 'updateObjectAndChangeFlow'].concat(wxAbilityTodoActionKeys);
6185
+ var pcTodoActionKeys = [
6186
+ // 'showMessage',
6187
+ 'hideMessage', 'apiRequest', 'apiRequestByFlow', 'openFlowPage', 'rollbackFlow', 'openFlowDiagram', 'console', 'sysSetVisible', 'sysSetState', 'sysSetValue', 'sysSetDisable', 'sysSetRequired', 'showModal', 'showCustomModal', 'setModalTitle', 'showDrawer', 'setDrawerTitle', 'historyPush', 'historyReplace', 'history', 'historyGoBack', 'dropPageByCatch', 'setCustomState', 'getCustomState', 'setCompNestedState', 'getCompNestedState', 'okCallbackData', 'closeModal', 'validateAllForm', 'getAllFormValues', 'resetAllForm', 'setDownloadResponse', 'saveBlobFile', 'downloadByFileId', 'setTimeout', 'setInterval', 'setTimer', 'clearTimer', 'reloadDataSource', 'setDataSource', 'resetDataSource', 'postObjectData', 'postParentMessage', 'callFuncComp', 'addEventListenerParentMessage', 'callFishParentFunc', 'callSelfFunc', 'callParentCustomFunc', 'callCustomPageFunc', 'exportBusiObjectData', 'exportCustomData', 'importBusiObjectData', 'exportSQLServiceData', 'importCustomBusiObjectData', 'exportCustomBusiObjectData', 'exportPage', 'importCustomData',
6188
+ // 'previewFile',
6189
+ 'print', 'return', 'copyToClipboard',
6190
+ // 'accountDivide',
6191
+ 'addDebugger', 'reload', 'customActionCode', 'getLocalLocation', 'customPrintOrExport', 'closePopover', 'scanCode', 'postObjectAndStartFlow', 'updateObjectAndChangeFlow', 'openFloatWindow', 'callAiService', 'closeAiService'
6192
+ // 'applyWeChatUserInfo',
6193
+ ];
6194
+
6195
+ // 指定页面类型展示动作,别的类型需过滤掉该动作
6196
+ var pcPageTypeTodoActionKeys = {
6197
+ Modal: ['setModalTitle'],
6198
+ Drawer: ['setDrawerTitle']
6199
+ };
6200
+
6201
+ /**
6202
+ * 通过数组key获取对应的动作
6203
+ * @param keys
6204
+ * @returns
6205
+ */
6206
+ export var getTodoActionListByKey = function getTodoActionListByKey(keys) {
6207
+ return keys.map(function (key) {
6208
+ return todoActionObject[key];
6209
+ }).filter(Boolean);
6210
+ };
6211
+
5086
6212
  /**
5087
6213
  * 获取系统级别的动作列表
5088
6214
  * @returns