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