@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
@@ -5,11 +5,9 @@ declare const _default: {
5
5
  isContainer: boolean;
6
6
  label: string;
7
7
  props: {
8
- pageLayout: string;
9
8
  pageDynamicFlag: boolean;
10
9
  catalogItemId: number;
11
10
  ignoreLogin: boolean;
12
- layout: string;
13
11
  searchParams: {
14
12
  name: string;
15
13
  code: string;
@@ -3,20 +3,23 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
3
3
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
4
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
5
5
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
7
- import { getSystemTodoActionList } from '../todoActionList';
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
+ import { getSystemTodoActionList } from "../todoActionList";
8
+ var PC_PAGE_LOCALE_PREFIX = 'pc.page';
9
+ var localeKey = function localeKey(suffix) {
10
+ return "".concat(PC_PAGE_LOCALE_PREFIX, ".").concat(suffix);
11
+ };
8
12
  export default {
9
13
  compLib: 'root',
10
14
  compType: -1,
15
+ // 根节点
11
16
  isBusiObjContainer: false,
12
17
  isContainer: false,
13
18
  label: '页面',
14
19
  props: {
15
- pageLayout: 'BaseLayout',
16
20
  pageDynamicFlag: false,
17
21
  catalogItemId: -1,
18
22
  ignoreLogin: false,
19
- layout: 'BaseLayout',
20
23
  searchParams: [{
21
24
  name: '业务主键',
22
25
  code: 'bizId'
@@ -45,14 +48,80 @@ export default {
45
48
  description: '',
46
49
  image: '',
47
50
  groupsName: 'root',
48
- todoActionList: [].concat(_toConsumableArray(getSystemTodoActionList('pc')), [{
51
+ todoActionList: [{
52
+ key: 'showMessage',
53
+ label: '消息提示',
54
+ todoOptions: [{
55
+ key: 'type',
56
+ label: '类型',
57
+ type: 'Select',
58
+ defaultValue: 'success',
59
+ props: {
60
+ options: [{
61
+ title: '成功',
62
+ value: 'success'
63
+ }, {
64
+ title: '提示',
65
+ value: 'info'
66
+ }, {
67
+ title: '警告',
68
+ value: 'warn'
69
+ }, {
70
+ title: '错误',
71
+ value: 'error'
72
+ }, {
73
+ title: '加载动画',
74
+ value: 'loading'
75
+ }]
76
+ }
77
+ }, {
78
+ key: 'icon',
79
+ label: '自定义图标',
80
+ type: 'ChooseIcon',
81
+ props: {
82
+ placeholder: '请选择图标'
83
+ }
84
+ }, {
85
+ key: 'value',
86
+ label: '内容',
87
+ type: 'SetExpression'
88
+ }, {
89
+ key: 'duration',
90
+ label: '加载时长',
91
+ type: 'InputNumber',
92
+ props: {
93
+ addonAfter: '秒',
94
+ step: '0.01',
95
+ formatter: function formatter(val) {
96
+ return val ? val.match(/^\d+(?:\.\d{0,2})?/) : undefined;
97
+ }
98
+ }
99
+ }, {
100
+ key: 'okText',
101
+ label: localeKey('todoActionList.showMessage.todoOptions.okText.label'),
102
+ type: 'Input'
103
+ }, {
104
+ key: 'cancelText',
105
+ label: localeKey('todoActionList.showMessage.todoOptions.cancelText.label'),
106
+ type: 'Input'
107
+ }],
108
+ todoCallbacks: ['callback1', 'callback2'],
109
+ classification: [{
110
+ label: localeKey('todoActionList.showMessage.classification.modal.label'),
111
+ value: 'modal'
112
+ }],
113
+ remarks: [{
114
+ label: '注意事项',
115
+ content: localeKey('todoActionList.showMessage.remarks.0.content')
116
+ }]
117
+ }].concat(_toConsumableArray(getSystemTodoActionList('pc')), [{
49
118
  key: 'previewFile',
50
119
  label: '文件预览',
51
120
  todoOptions: [{
52
121
  key: 'fileId',
53
- label: '文件ID/URL',
122
+ label: localeKey('todoActionList.previewFile.todoOptions.fileId.label'),
54
123
  type: 'SetExpression',
55
- labelTip: '文件预览格式支持:pdf、jpg、jpeg、png、svg、mp4、mov、txt、html、js、doc、xlsx、docx、wps、ppt等 注意:如果是外部URL,有可能存在跨域现象!'
124
+ labelTip: localeKey('todoActionList.previewFile.todoOptions.fileId.labelTip')
56
125
  }, {
57
126
  key: 'viewMode',
58
127
  label: '预览方式',
@@ -76,7 +145,7 @@ export default {
76
145
  type: 'SetExpression',
77
146
  defaultValue: '960',
78
147
  visibleFlag: 'viewMode',
79
- labelTip: '不同浏览器有不同的最小限制,请避免设置过小尺寸,当不设置宽高时,默认为全屏',
148
+ labelTip: localeKey('todoActionList.previewFile.todoOptions.modalWidth.labelTip'),
80
149
  visibleFlagValue: ['window']
81
150
  }, {
82
151
  key: 'modalHeight',
@@ -84,7 +153,7 @@ export default {
84
153
  type: 'SetExpression',
85
154
  defaultValue: '648',
86
155
  visibleFlag: 'viewMode',
87
- labelTip: '不同浏览器有不同的最小限制,请避免设置过小尺寸,当不设置宽高时,默认为全屏',
156
+ labelTip: localeKey('todoActionList.previewFile.todoOptions.modalHeight.labelTip'),
88
157
  visibleFlagValue: ['window']
89
158
  }],
90
159
  classification: [{
@@ -94,33 +163,33 @@ export default {
94
163
  }]),
95
164
  todoEvents: [{
96
165
  value: 'useEffect',
97
- label: '页面加载完成'
166
+ label: localeKey('todoEvents.useEffect.label')
98
167
  }, {
99
168
  value: 'stateChange',
100
- label: '组件状态变化后'
169
+ label: localeKey('todoEvents.stateChange.label')
101
170
  }, {
102
171
  value: 'willUnmount',
103
172
  label: '页面退出'
104
173
  }, {
105
174
  value: 'onPageCacheRefresh',
106
- label: '页面缓存刷新',
175
+ label: localeKey('todoEvents.onPageCacheRefresh.label'),
107
176
  dependProps: {
108
177
  pageDynamicFlag: true
109
178
  },
110
179
  params: [{
111
- title: '返回页面数据信息',
180
+ title: localeKey('todoEvents.onPageCacheRefresh.params.0.title'),
112
181
  name: 'pageBackData',
113
182
  value: '$pageBackData$'
114
183
  }]
115
184
  }, {
116
185
  value: 'usePageEndRequest',
117
- label: '页面加载请求结束',
186
+ label: localeKey('todoEvents.usePageEndRequest.label'),
118
187
  remarks: [{
119
188
  label: '场景描述',
120
- content: '在页面加载完成事件中,所有的事件执行结束后进行回掉(包含页面加载完成事件中的异步请求(注意:定时器相关动作不计算回掉时间))'
189
+ content: localeKey('todoEvents.usePageEndRequest.remarks.0.content')
121
190
  }, {
122
191
  label: '适用场景',
123
- content: '在复杂的表单页面中,你可以在页面加载完成事件中进行页面loading的动作设置,在页面加载完成请求结束事件中取消loading,保障在复杂请求中,因异步导致数据未能及时回填,用户提交错误数据问题。'
192
+ content: localeKey('todoEvents.usePageEndRequest.remarks.1.content')
124
193
  }]
125
194
  }],
126
195
  todoProps: {
@@ -138,11 +207,11 @@ export default {
138
207
  groupsName: '基础',
139
208
  props: {
140
209
  required: true,
141
- placeholder: '如:/user/list',
210
+ placeholder: localeKey('todoProps.pagePath.props.placeholder'),
142
211
  regex: {
143
212
  // eslint-disable-next-line
144
213
  pattern: /^(\/[0-9A-Za-z]([_-]+[0-9A-Za-z]|[0-9A-Za-z])*)+$/i,
145
- message: '必须为/xx/yy/..格式'
214
+ message: localeKey('todoProps.pagePath.props.regex.message')
146
215
  }
147
216
  }
148
217
  },
@@ -190,7 +259,7 @@ export default {
190
259
  groupsName: '基础',
191
260
  props: {
192
261
  required: false,
193
- description: '开启后页面将保活(重新打开页面将不会重新挂载,页面的数据将不会被销毁),可配合事件页面缓存清除自定义进行页面销毁'
262
+ description: localeKey('todoProps.pageDynamicFlag.props.description')
194
263
  }
195
264
  },
196
265
  isMenu: {
@@ -198,7 +267,7 @@ export default {
198
267
  type: 'MenuSwitch',
199
268
  groupsName: '基础',
200
269
  props: {
201
- description: '开启后预览页面将展示该菜单,在同步时也会将该页面当作菜单同步到基础门户'
270
+ description: localeKey('todoProps.isMenu.props.description')
202
271
  }
203
272
  },
204
273
  labels: {
@@ -212,9 +281,9 @@ export default {
212
281
  groupsName: '组件状态'
213
282
  },
214
283
  searchParams: {
215
- label: 'url参数',
284
+ label: localeKey('todoProps.searchParams.label'),
216
285
  type: 'ParamsDefine',
217
- groupsName: 'URL参数'
286
+ groupsName: localeKey('todoProps.searchParams.groupsName')
218
287
  },
219
288
  // pageParams: {
220
289
  // label: '页面入参',
@@ -1,4 +1,5 @@
1
1
  declare const todoActionObject: any;
2
+ export declare const wxAbilityTodoActionKeys: string[];
2
3
  /**
3
4
  * 通过数组key获取对应的动作
4
5
  * @param keys