@lingxiteam/assets 4.2.1-alpha.2 → 4.3.2-alpha.1
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.
- package/es/IconSvg/index.js +8 -7
- package/es/error/errorCatch/index.js +1 -1
- package/es/error/errorDisplay/Mobile/Drawer/Drawer.js +99 -77
- package/es/error/errorDisplay/Mobile/Drawer/index.js +26 -26
- package/es/error/errorDisplay/Mobile/ErrorMsg/index.js +127 -129
- package/es/error/errorDisplay/Mobile/Modal/Modal.js +46 -31
- package/es/error/errorDisplay/Mobile/Modal/index.js +24 -24
- package/es/error/errorDisplay/Mobile/defaultGlobalConfig.js +2 -2
- package/es/error/errorDisplay/Web/Drawer/Drawer.js +183 -145
- package/es/error/errorDisplay/Web/Drawer/DrawerConnect.js +43 -46
- package/es/error/errorDisplay/Web/Drawer/index.js +15 -15
- package/es/error/errorDisplay/Web/ErrorMsg/index.js +341 -327
- package/es/error/errorDisplay/Web/Notification/Notice.js +78 -65
- package/es/error/errorDisplay/Web/Notification/Notification.js +15 -15
- package/es/error/errorDisplay/Web/Notification/index.js +36 -38
- package/es/error/errorDisplay/Web/defaultGlobalConfig.js +2 -2
- package/es/error/errorDisplay/compUtils.js +6 -6
- package/es/error/errorDisplay/http.js +7 -7
- package/es/error/index.js +6 -6
- package/es/index.js +5 -5
- package/es/rootConfig/index.d.ts +1 -1
- package/es/rootConfig/index.js +5 -5
- package/es/rootConfig/locales/enus/config-locales-es.d.ts +2 -0
- package/es/rootConfig/locales/enus/config-locales-es.js +13 -0
- package/es/rootConfig/locales/enus/config-locales-es.mobile.d.ts +2 -0
- package/es/rootConfig/locales/enus/config-locales-es.mobile.js +199 -0
- package/es/rootConfig/locales/enus/config-locales-es.pc.d.ts +2 -0
- package/es/rootConfig/locales/enus/config-locales-es.pc.js +49 -0
- package/es/rootConfig/locales/enus/config-locales-es.todo-actionList.d.ts +2 -0
- package/es/rootConfig/locales/enus/config-locales-es.todo-actionList.js +1293 -0
- package/es/rootConfig/locales/enus/config-locales-es.todo-callback.d.ts +2 -0
- package/es/rootConfig/locales/enus/config-locales-es.todo-callback.js +21 -0
- package/es/rootConfig/locales/enus/config-locales-es.todo-optionList.d.ts +2 -0
- package/es/rootConfig/locales/enus/config-locales-es.todo-optionList.js +339 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.d.ts +2 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.js +13 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.mobile.d.ts +2 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.mobile.js +199 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.pc.d.ts +2 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.pc.js +385 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.d.ts +2 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.js +1297 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.todo-callback.d.ts +2 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.todo-callback.js +21 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.d.ts +2 -0
- package/es/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.js +339 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.d.ts +2 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.js +13 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.mobile.d.ts +2 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.mobile.js +199 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.pc.d.ts +2 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.pc.js +385 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.d.ts +2 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.js +1297 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.todo-callback.d.ts +2 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.todo-callback.js +21 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.d.ts +2 -0
- package/es/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.js +339 -0
- package/es/rootConfig/mobile/BusiComp.d.ts +0 -1
- package/es/rootConfig/mobile/BusiComp.js +35 -32
- package/es/rootConfig/mobile/MobileModal.js +62 -57
- package/es/rootConfig/mobile/MobilePopover.d.ts +0 -2
- package/es/rootConfig/mobile/MobilePopover.js +37 -34
- package/es/rootConfig/mobile/index.js +4 -4
- package/es/rootConfig/mobile/page.d.ts +17 -2
- package/es/rootConfig/mobile/page.js +85 -78
- package/es/rootConfig/pc/BusiComp.js +110 -40
- package/es/rootConfig/pc/Drawer.d.ts +8 -9
- package/es/rootConfig/pc/Drawer.js +161 -91
- package/es/rootConfig/pc/Modal.d.ts +0 -1
- package/es/rootConfig/pc/Modal.js +140 -70
- package/es/rootConfig/pc/Popover.d.ts +0 -1
- package/es/rootConfig/pc/Popover.js +114 -44
- package/es/rootConfig/pc/index.js +5 -5
- package/es/rootConfig/pc/page.d.ts +0 -2
- package/es/rootConfig/pc/page.js +133 -64
- package/es/rootConfig/todoActionList.d.ts +1 -0
- package/es/rootConfig/todoActionList.js +2363 -1237
- package/es/rootConfig/todoCallback.d.ts +12 -1
- package/es/rootConfig/todoCallback.js +175 -103
- package/es/rootConfig/todoOptionList.d.ts +0 -66
- package/es/rootConfig/todoOptionList.js +400 -401
- package/es/theme/index.js +18 -20
- package/es/theme/src/default/index.js +7 -7
- package/es/theme/utils/renderColors.js +1 -1
- package/es/utils/url.js +8 -7
- package/lib/IconSvg/index.js +10 -9
- package/lib/error/errorCatch/index.js +2 -3
- package/lib/error/errorDisplay/Mobile/Drawer/Drawer.js +99 -79
- package/lib/error/errorDisplay/Mobile/Drawer/index.js +25 -26
- package/lib/error/errorDisplay/Mobile/ErrorMsg/index.js +123 -126
- package/lib/error/errorDisplay/Mobile/Modal/Modal.js +45 -33
- package/lib/error/errorDisplay/Mobile/Modal/index.js +23 -24
- package/lib/error/errorDisplay/Mobile/defaultGlobalConfig.js +3 -5
- package/lib/error/errorDisplay/SVGstring.js +6 -12
- package/lib/error/errorDisplay/Web/Drawer/Drawer.js +181 -146
- package/lib/error/errorDisplay/Web/Drawer/DrawerConnect.js +44 -48
- package/lib/error/errorDisplay/Web/Drawer/index.js +18 -20
- package/lib/error/errorDisplay/Web/ErrorMsg/index.js +336 -324
- package/lib/error/errorDisplay/Web/Notification/Notice.js +79 -68
- package/lib/error/errorDisplay/Web/Notification/Notification.js +15 -16
- package/lib/error/errorDisplay/Web/Notification/index.js +37 -41
- package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +3 -5
- package/lib/error/errorDisplay/compUtils.js +9 -12
- package/lib/error/errorDisplay/const.js +7 -13
- package/lib/error/errorDisplay/http.js +8 -9
- package/lib/index.js +3 -6
- package/lib/rootConfig/index.d.ts +1 -1
- package/lib/rootConfig/index.js +9 -3
- package/lib/rootConfig/locales/enus/config-locales-es.d.ts +2 -0
- package/lib/rootConfig/locales/enus/config-locales-es.js +19 -0
- package/lib/rootConfig/locales/enus/config-locales-es.mobile.d.ts +2 -0
- package/lib/rootConfig/locales/enus/config-locales-es.mobile.js +205 -0
- package/lib/rootConfig/locales/enus/config-locales-es.pc.d.ts +2 -0
- package/lib/rootConfig/locales/enus/config-locales-es.pc.js +55 -0
- package/lib/rootConfig/locales/enus/config-locales-es.todo-actionList.d.ts +2 -0
- package/lib/rootConfig/locales/enus/config-locales-es.todo-actionList.js +1299 -0
- package/lib/rootConfig/locales/enus/config-locales-es.todo-callback.d.ts +2 -0
- package/lib/rootConfig/locales/enus/config-locales-es.todo-callback.js +27 -0
- package/lib/rootConfig/locales/enus/config-locales-es.todo-optionList.d.ts +2 -0
- package/lib/rootConfig/locales/enus/config-locales-es.todo-optionList.js +345 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.d.ts +2 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.js +19 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.mobile.d.ts +2 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.mobile.js +205 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.pc.d.ts +2 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.pc.js +391 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.d.ts +2 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-actionList.js +1303 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-callback.d.ts +2 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-callback.js +27 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.d.ts +2 -0
- package/lib/rootConfig/locales/zhcn/config-locales-cn.todo-optionList.js +345 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.d.ts +2 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.js +19 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.mobile.d.ts +2 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.mobile.js +205 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.pc.d.ts +2 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.pc.js +391 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.d.ts +2 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-actionList.js +1303 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-callback.d.ts +2 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-callback.js +27 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.d.ts +2 -0
- package/lib/rootConfig/locales/zhhk/config-locales-hk.todo-optionList.js +345 -0
- package/lib/rootConfig/mobile/BusiComp.d.ts +0 -1
- package/lib/rootConfig/mobile/BusiComp.js +36 -34
- package/lib/rootConfig/mobile/MobileModal.js +63 -59
- package/lib/rootConfig/mobile/MobilePopover.d.ts +0 -2
- package/lib/rootConfig/mobile/MobilePopover.js +38 -36
- package/lib/rootConfig/mobile/page.d.ts +17 -2
- package/lib/rootConfig/mobile/page.js +86 -80
- package/lib/rootConfig/pc/BusiComp.js +111 -42
- package/lib/rootConfig/pc/Drawer.d.ts +8 -9
- package/lib/rootConfig/pc/Drawer.js +162 -93
- package/lib/rootConfig/pc/Modal.d.ts +0 -1
- package/lib/rootConfig/pc/Modal.js +141 -72
- package/lib/rootConfig/pc/Popover.d.ts +0 -1
- package/lib/rootConfig/pc/Popover.js +115 -46
- package/lib/rootConfig/pc/page.d.ts +0 -2
- package/lib/rootConfig/pc/page.js +134 -66
- package/lib/rootConfig/todoActionList.d.ts +1 -0
- package/lib/rootConfig/todoActionList.js +2364 -1244
- package/lib/rootConfig/todoCallback.d.ts +12 -1
- package/lib/rootConfig/todoCallback.js +182 -116
- package/lib/rootConfig/todoOptionList.d.ts +0 -66
- package/lib/rootConfig/todoOptionList.js +401 -403
- package/lib/theme/bin/default/modalWidth.js +1 -2
- package/lib/theme/index.js +19 -22
- package/lib/theme/src/default/index.js +7 -7
- package/lib/theme/utils/renderColors.js +1 -1
- package/lib/utils/cookieUtil.js +1 -2
- package/lib/utils/img.js +2 -3
- package/lib/utils/url.js +13 -16
- package/package.json +3 -4
|
@@ -3,14 +3,19 @@ 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++)
|
|
7
|
-
import { getSystemTodoActionList } from
|
|
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_POPOVER_LOCALE_PREFIX = 'pc.popover';
|
|
9
|
+
var localeKey = function localeKey(suffix) {
|
|
10
|
+
return "".concat(PC_POPOVER_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
|
-
label: '
|
|
18
|
+
label: localeKey('label'),
|
|
14
19
|
props: {
|
|
15
20
|
catalogItemId: -1,
|
|
16
21
|
width: 624,
|
|
@@ -18,9 +23,8 @@ export default {
|
|
|
18
23
|
customHeight: 500,
|
|
19
24
|
closeOnClickOverlay: true,
|
|
20
25
|
footer: 1,
|
|
21
|
-
layout: 'BlankLayout',
|
|
22
26
|
compState: [{
|
|
23
|
-
name: '
|
|
27
|
+
name: localeKey('props.compState.0.name'),
|
|
24
28
|
code: 'bizId'
|
|
25
29
|
}]
|
|
26
30
|
},
|
|
@@ -31,105 +35,171 @@ export default {
|
|
|
31
35
|
description: '',
|
|
32
36
|
image: '',
|
|
33
37
|
groupsName: 'root',
|
|
34
|
-
todoActionList: [
|
|
38
|
+
todoActionList: [{
|
|
39
|
+
key: 'showMessage',
|
|
40
|
+
label: localeKey('todoActionList.showMessage.label'),
|
|
41
|
+
todoOptions: [{
|
|
42
|
+
key: 'type',
|
|
43
|
+
label: localeKey('todoActionList.showMessage.todoOptions.type.label'),
|
|
44
|
+
type: 'Select',
|
|
45
|
+
defaultValue: 'success',
|
|
46
|
+
props: {
|
|
47
|
+
options: [{
|
|
48
|
+
title: localeKey('todoActionList.showMessage.todoOptions.type.props.options.0.title'),
|
|
49
|
+
value: 'success'
|
|
50
|
+
}, {
|
|
51
|
+
title: localeKey('todoActionList.showMessage.todoOptions.type.props.options.1.title'),
|
|
52
|
+
value: 'info'
|
|
53
|
+
}, {
|
|
54
|
+
title: localeKey('todoActionList.showMessage.todoOptions.type.props.options.2.title'),
|
|
55
|
+
value: 'warn'
|
|
56
|
+
}, {
|
|
57
|
+
title: localeKey('todoActionList.showMessage.todoOptions.type.props.options.3.title'),
|
|
58
|
+
value: 'error'
|
|
59
|
+
}, {
|
|
60
|
+
title: localeKey('todoActionList.showMessage.todoOptions.type.props.options.4.title'),
|
|
61
|
+
value: 'loading'
|
|
62
|
+
}]
|
|
63
|
+
}
|
|
64
|
+
}, {
|
|
65
|
+
key: 'icon',
|
|
66
|
+
label: localeKey('todoActionList.showMessage.todoOptions.icon.label'),
|
|
67
|
+
type: 'ChooseIcon',
|
|
68
|
+
props: {
|
|
69
|
+
placeholder: localeKey('todoActionList.showMessage.todoOptions.icon.props.placeholder')
|
|
70
|
+
}
|
|
71
|
+
}, {
|
|
72
|
+
key: 'value',
|
|
73
|
+
label: localeKey('todoActionList.showMessage.todoOptions.value.label'),
|
|
74
|
+
type: 'SetExpression'
|
|
75
|
+
}, {
|
|
76
|
+
key: 'duration',
|
|
77
|
+
label: localeKey('todoActionList.showMessage.todoOptions.duration.label'),
|
|
78
|
+
type: 'InputNumber',
|
|
79
|
+
props: {
|
|
80
|
+
addonAfter: localeKey('todoActionList.showMessage.todoOptions.duration.props.addonAfter'),
|
|
81
|
+
step: '0.01',
|
|
82
|
+
formatter: function formatter(val) {
|
|
83
|
+
return val ? val.match(/^\d+(?:\.\d{0,2})?/) : undefined;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}, {
|
|
87
|
+
key: 'okText',
|
|
88
|
+
label: localeKey('todoActionList.showMessage.todoOptions.okText.label'),
|
|
89
|
+
type: 'Input'
|
|
90
|
+
}, {
|
|
91
|
+
key: 'cancelText',
|
|
92
|
+
label: localeKey('todoActionList.showMessage.todoOptions.cancelText.label'),
|
|
93
|
+
type: 'Input'
|
|
94
|
+
}],
|
|
95
|
+
todoCallbacks: ['callback1', 'callback2'],
|
|
96
|
+
classification: [{
|
|
97
|
+
label: localeKey('todoActionList.showMessage.classification.modal.label'),
|
|
98
|
+
value: 'modal'
|
|
99
|
+
}],
|
|
100
|
+
remarks: [{
|
|
101
|
+
label: localeKey('todoActionList.showMessage.remarks.0.label'),
|
|
102
|
+
content: localeKey('todoActionList.showMessage.remarks.0.content')
|
|
103
|
+
}]
|
|
104
|
+
}].concat(_toConsumableArray(getSystemTodoActionList('pc')), [{
|
|
35
105
|
key: 'previewFile',
|
|
36
|
-
label: '
|
|
106
|
+
label: localeKey('todoActionList.previewFile.label'),
|
|
37
107
|
todoOptions: [{
|
|
38
108
|
key: 'fileId',
|
|
39
|
-
label: '
|
|
109
|
+
label: localeKey('todoActionList.previewFile.todoOptions.fileId.label'),
|
|
40
110
|
type: 'SetExpression',
|
|
41
|
-
labelTip: '
|
|
111
|
+
labelTip: localeKey('todoActionList.previewFile.todoOptions.fileId.labelTip')
|
|
42
112
|
}, {
|
|
43
113
|
key: 'viewMode',
|
|
44
|
-
label: '
|
|
114
|
+
label: localeKey('todoActionList.previewFile.todoOptions.viewMode.label'),
|
|
45
115
|
type: 'RadioButton',
|
|
46
116
|
defaultValue: 'popUp',
|
|
47
117
|
props: {
|
|
48
118
|
options: [{
|
|
49
|
-
title: '
|
|
119
|
+
title: localeKey('todoActionList.previewFile.todoOptions.viewMode.props.options.0.title'),
|
|
50
120
|
value: 'popUp'
|
|
51
121
|
}, {
|
|
52
|
-
title: '
|
|
122
|
+
title: localeKey('todoActionList.previewFile.todoOptions.viewMode.props.options.1.title'),
|
|
53
123
|
value: 'newTab'
|
|
54
124
|
}, {
|
|
55
|
-
title: '
|
|
125
|
+
title: localeKey('todoActionList.previewFile.todoOptions.viewMode.props.options.2.title'),
|
|
56
126
|
value: 'window'
|
|
57
127
|
}]
|
|
58
128
|
}
|
|
59
129
|
}, {
|
|
60
130
|
key: 'modalWidth',
|
|
61
|
-
label: '
|
|
131
|
+
label: localeKey('todoActionList.previewFile.todoOptions.modalWidth.label'),
|
|
62
132
|
type: 'SetExpression',
|
|
63
133
|
defaultValue: '960',
|
|
64
134
|
visibleFlag: 'viewMode',
|
|
65
|
-
labelTip: '
|
|
135
|
+
labelTip: localeKey('todoActionList.previewFile.todoOptions.modalWidth.labelTip'),
|
|
66
136
|
visibleFlagValue: ['window']
|
|
67
137
|
}, {
|
|
68
138
|
key: 'modalHeight',
|
|
69
|
-
label: '
|
|
139
|
+
label: localeKey('todoActionList.previewFile.todoOptions.modalHeight.label'),
|
|
70
140
|
type: 'SetExpression',
|
|
71
141
|
defaultValue: '648',
|
|
72
142
|
visibleFlag: 'viewMode',
|
|
73
|
-
labelTip: '
|
|
143
|
+
labelTip: localeKey('todoActionList.previewFile.todoOptions.modalHeight.labelTip'),
|
|
74
144
|
visibleFlagValue: ['window']
|
|
75
145
|
}],
|
|
76
146
|
classification: [{
|
|
77
|
-
label: '
|
|
147
|
+
label: localeKey('todoActionList.previewFile.classification.page.label'),
|
|
78
148
|
value: 'page'
|
|
79
149
|
}]
|
|
80
150
|
}]),
|
|
81
151
|
todoEvents: [{
|
|
82
152
|
value: 'useEffect',
|
|
83
|
-
label: '
|
|
153
|
+
label: localeKey('todoEvents.useEffect.label')
|
|
84
154
|
}, {
|
|
85
155
|
value: 'stateChange',
|
|
86
|
-
label: '
|
|
156
|
+
label: localeKey('todoEvents.stateChange.label')
|
|
87
157
|
}, {
|
|
88
158
|
value: 'willUnmount',
|
|
89
|
-
label: '
|
|
159
|
+
label: localeKey('todoEvents.willUnmount.label')
|
|
90
160
|
}, {
|
|
91
161
|
value: 'usePageEndRequest',
|
|
92
|
-
label: '
|
|
162
|
+
label: localeKey('todoEvents.usePageEndRequest.label'),
|
|
93
163
|
remarks: [{
|
|
94
|
-
label: '
|
|
95
|
-
content: '
|
|
164
|
+
label: localeKey('todoEvents.usePageEndRequest.remarks.0.label'),
|
|
165
|
+
content: localeKey('todoEvents.usePageEndRequest.remarks.0.content')
|
|
96
166
|
}, {
|
|
97
|
-
label: '
|
|
98
|
-
content: '
|
|
167
|
+
label: localeKey('todoEvents.usePageEndRequest.remarks.1.label'),
|
|
168
|
+
content: localeKey('todoEvents.usePageEndRequest.remarks.1.content')
|
|
99
169
|
}]
|
|
100
170
|
}],
|
|
101
171
|
todoProps: {
|
|
102
172
|
showTitle: {
|
|
103
|
-
label: '
|
|
173
|
+
label: localeKey('todoProps.showTitle.label'),
|
|
104
174
|
type: 'Checkbox',
|
|
105
|
-
groupsName: '
|
|
175
|
+
groupsName: localeKey('todoProps.showTitle.groupsName')
|
|
106
176
|
},
|
|
107
177
|
pageName: {
|
|
108
|
-
label: '
|
|
178
|
+
label: localeKey('todoProps.pageName.label'),
|
|
109
179
|
type: 'Input',
|
|
110
|
-
groupsName: '
|
|
180
|
+
groupsName: localeKey('todoProps.pageName.groupsName'),
|
|
111
181
|
props: {
|
|
112
182
|
required: true
|
|
113
183
|
}
|
|
114
184
|
},
|
|
115
185
|
pagePath: {
|
|
116
|
-
label: '
|
|
186
|
+
label: localeKey('todoProps.pagePath.label'),
|
|
117
187
|
type: 'UrlInput',
|
|
118
|
-
groupsName: '
|
|
188
|
+
groupsName: localeKey('todoProps.pagePath.groupsName'),
|
|
119
189
|
props: {
|
|
120
190
|
required: true,
|
|
121
|
-
placeholder: '
|
|
191
|
+
placeholder: localeKey('todoProps.pagePath.props.placeholder'),
|
|
122
192
|
regex: {
|
|
123
193
|
// eslint-disable-next-line
|
|
124
194
|
pattern: /^(\/[0-9A-Za-z]([_-]+[0-9A-Za-z]|[0-9A-Za-z])*)+$/i,
|
|
125
|
-
message: '
|
|
195
|
+
message: localeKey('todoProps.pagePath.props.regex.message')
|
|
126
196
|
}
|
|
127
197
|
}
|
|
128
198
|
},
|
|
129
199
|
catalogItemId: {
|
|
130
|
-
label: '
|
|
200
|
+
label: localeKey('todoProps.catalogItemId.label'),
|
|
131
201
|
type: 'CatalogTreeSelect',
|
|
132
|
-
groupsName: '
|
|
202
|
+
groupsName: localeKey('todoProps.catalogItemId.groupsName'),
|
|
133
203
|
props: {
|
|
134
204
|
required: true,
|
|
135
205
|
options: [],
|
|
@@ -139,28 +209,28 @@ export default {
|
|
|
139
209
|
}
|
|
140
210
|
},
|
|
141
211
|
scenarioList: {
|
|
142
|
-
label: '
|
|
212
|
+
label: localeKey('todoProps.scenarioList.label'),
|
|
143
213
|
type: 'SelectScenarioPopover',
|
|
144
|
-
groupsName: '
|
|
214
|
+
groupsName: localeKey('todoProps.scenarioList.groupsName'),
|
|
145
215
|
props: {
|
|
146
216
|
options: []
|
|
147
217
|
}
|
|
148
218
|
},
|
|
149
219
|
ignoreLogin: {
|
|
150
|
-
label: '
|
|
220
|
+
label: localeKey('todoProps.ignoreLogin.label'),
|
|
151
221
|
type: 'Switch',
|
|
152
|
-
groupsName: '
|
|
222
|
+
groupsName: localeKey('todoProps.ignoreLogin.groupsName'),
|
|
153
223
|
props: {}
|
|
154
224
|
},
|
|
155
225
|
labels: {
|
|
156
|
-
label: '
|
|
226
|
+
label: localeKey('todoProps.labels.label'),
|
|
157
227
|
type: 'ChooseTag',
|
|
158
|
-
groupsName: '
|
|
228
|
+
groupsName: localeKey('todoProps.labels.groupsName')
|
|
159
229
|
},
|
|
160
230
|
compState: {
|
|
161
|
-
label: '
|
|
231
|
+
label: localeKey('todoProps.compState.label'),
|
|
162
232
|
type: 'ParamsDefine',
|
|
163
|
-
groupsName: '
|
|
233
|
+
groupsName: localeKey('todoProps.compState.groupsName')
|
|
164
234
|
}
|
|
165
235
|
},
|
|
166
236
|
todoStyles: {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default as BusiComp } from
|
|
2
|
-
export { default as Drawer } from
|
|
3
|
-
export { default as Popover } from
|
|
4
|
-
export { default as Page } from
|
|
5
|
-
export { default as Modal } from
|
|
1
|
+
export { default as BusiComp } from "./BusiComp";
|
|
2
|
+
export { default as Drawer } from "./Drawer";
|
|
3
|
+
export { default as Popover } from "./Popover";
|
|
4
|
+
export { default as Page } from "./page";
|
|
5
|
+
export { default as Modal } from "./Modal";
|
package/es/rootConfig/pc/page.js
CHANGED
|
@@ -3,38 +3,41 @@ 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++)
|
|
7
|
-
import { getSystemTodoActionList } from
|
|
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
|
-
label: '
|
|
18
|
+
label: localeKey('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
|
-
name: '
|
|
24
|
+
name: localeKey('props.searchParams.0.name'),
|
|
22
25
|
code: 'bizId'
|
|
23
26
|
}, {
|
|
24
|
-
name: '
|
|
27
|
+
name: localeKey('props.searchParams.1.name'),
|
|
25
28
|
code: 'sceneCode'
|
|
26
29
|
}, {
|
|
27
|
-
name: '
|
|
30
|
+
name: localeKey('props.searchParams.2.name'),
|
|
28
31
|
code: 'bizData'
|
|
29
32
|
}],
|
|
30
33
|
compState: [{
|
|
31
|
-
name: '
|
|
34
|
+
name: localeKey('props.compState.0.name'),
|
|
32
35
|
code: 'bizId'
|
|
33
36
|
}, {
|
|
34
|
-
name: '
|
|
37
|
+
name: localeKey('props.compState.1.name'),
|
|
35
38
|
code: 'sceneCode'
|
|
36
39
|
}, {
|
|
37
|
-
name: '
|
|
40
|
+
name: localeKey('props.compState.2.name'),
|
|
38
41
|
code: 'bizData'
|
|
39
42
|
}]
|
|
40
43
|
},
|
|
@@ -45,111 +48,177 @@ export default {
|
|
|
45
48
|
description: '',
|
|
46
49
|
image: '',
|
|
47
50
|
groupsName: 'root',
|
|
48
|
-
todoActionList: [
|
|
51
|
+
todoActionList: [{
|
|
52
|
+
key: 'showMessage',
|
|
53
|
+
label: localeKey('todoActionList.showMessage.label'),
|
|
54
|
+
todoOptions: [{
|
|
55
|
+
key: 'type',
|
|
56
|
+
label: localeKey('todoActionList.showMessage.todoOptions.type.label'),
|
|
57
|
+
type: 'Select',
|
|
58
|
+
defaultValue: 'success',
|
|
59
|
+
props: {
|
|
60
|
+
options: [{
|
|
61
|
+
title: localeKey('todoActionList.showMessage.todoOptions.type.props.options.0.title'),
|
|
62
|
+
value: 'success'
|
|
63
|
+
}, {
|
|
64
|
+
title: localeKey('todoActionList.showMessage.todoOptions.type.props.options.1.title'),
|
|
65
|
+
value: 'info'
|
|
66
|
+
}, {
|
|
67
|
+
title: localeKey('todoActionList.showMessage.todoOptions.type.props.options.2.title'),
|
|
68
|
+
value: 'warn'
|
|
69
|
+
}, {
|
|
70
|
+
title: localeKey('todoActionList.showMessage.todoOptions.type.props.options.3.title'),
|
|
71
|
+
value: 'error'
|
|
72
|
+
}, {
|
|
73
|
+
title: localeKey('todoActionList.showMessage.todoOptions.type.props.options.4.title'),
|
|
74
|
+
value: 'loading'
|
|
75
|
+
}]
|
|
76
|
+
}
|
|
77
|
+
}, {
|
|
78
|
+
key: 'icon',
|
|
79
|
+
label: localeKey('todoActionList.showMessage.todoOptions.icon.label'),
|
|
80
|
+
type: 'ChooseIcon',
|
|
81
|
+
props: {
|
|
82
|
+
placeholder: localeKey('todoActionList.showMessage.todoOptions.icon.props.placeholder')
|
|
83
|
+
}
|
|
84
|
+
}, {
|
|
85
|
+
key: 'value',
|
|
86
|
+
label: localeKey('todoActionList.showMessage.todoOptions.value.label'),
|
|
87
|
+
type: 'SetExpression'
|
|
88
|
+
}, {
|
|
89
|
+
key: 'duration',
|
|
90
|
+
label: localeKey('todoActionList.showMessage.todoOptions.duration.label'),
|
|
91
|
+
type: 'InputNumber',
|
|
92
|
+
props: {
|
|
93
|
+
addonAfter: localeKey('todoActionList.showMessage.todoOptions.duration.props.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: localeKey('todoActionList.showMessage.remarks.0.label'),
|
|
115
|
+
content: localeKey('todoActionList.showMessage.remarks.0.content')
|
|
116
|
+
}]
|
|
117
|
+
}].concat(_toConsumableArray(getSystemTodoActionList('pc')), [{
|
|
49
118
|
key: 'previewFile',
|
|
50
|
-
label: '
|
|
119
|
+
label: localeKey('todoActionList.previewFile.label'),
|
|
51
120
|
todoOptions: [{
|
|
52
121
|
key: 'fileId',
|
|
53
|
-
label: '
|
|
122
|
+
label: localeKey('todoActionList.previewFile.todoOptions.fileId.label'),
|
|
54
123
|
type: 'SetExpression',
|
|
55
|
-
labelTip: '
|
|
124
|
+
labelTip: localeKey('todoActionList.previewFile.todoOptions.fileId.labelTip')
|
|
56
125
|
}, {
|
|
57
126
|
key: 'viewMode',
|
|
58
|
-
label: '
|
|
127
|
+
label: localeKey('todoActionList.previewFile.todoOptions.viewMode.label'),
|
|
59
128
|
type: 'RadioButton',
|
|
60
129
|
defaultValue: 'popUp',
|
|
61
130
|
props: {
|
|
62
131
|
options: [{
|
|
63
|
-
title: '
|
|
132
|
+
title: localeKey('todoActionList.previewFile.todoOptions.viewMode.props.options.0.title'),
|
|
64
133
|
value: 'popUp'
|
|
65
134
|
}, {
|
|
66
|
-
title: '
|
|
135
|
+
title: localeKey('todoActionList.previewFile.todoOptions.viewMode.props.options.1.title'),
|
|
67
136
|
value: 'newTab'
|
|
68
137
|
}, {
|
|
69
|
-
title: '
|
|
138
|
+
title: localeKey('todoActionList.previewFile.todoOptions.viewMode.props.options.2.title'),
|
|
70
139
|
value: 'window'
|
|
71
140
|
}]
|
|
72
141
|
}
|
|
73
142
|
}, {
|
|
74
143
|
key: 'modalWidth',
|
|
75
|
-
label: '
|
|
144
|
+
label: localeKey('todoActionList.previewFile.todoOptions.modalWidth.label'),
|
|
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',
|
|
83
|
-
label: '
|
|
152
|
+
label: localeKey('todoActionList.previewFile.todoOptions.modalHeight.label'),
|
|
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: [{
|
|
91
|
-
label: '
|
|
160
|
+
label: localeKey('todoActionList.previewFile.classification.page.label'),
|
|
92
161
|
value: 'page'
|
|
93
162
|
}]
|
|
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
|
-
label: '
|
|
172
|
+
label: localeKey('todoEvents.willUnmount.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
|
-
label: '
|
|
120
|
-
content: '
|
|
188
|
+
label: localeKey('todoEvents.usePageEndRequest.remarks.0.label'),
|
|
189
|
+
content: localeKey('todoEvents.usePageEndRequest.remarks.0.content')
|
|
121
190
|
}, {
|
|
122
|
-
label: '
|
|
123
|
-
content: '
|
|
191
|
+
label: localeKey('todoEvents.usePageEndRequest.remarks.1.label'),
|
|
192
|
+
content: localeKey('todoEvents.usePageEndRequest.remarks.1.content')
|
|
124
193
|
}]
|
|
125
194
|
}],
|
|
126
195
|
todoProps: {
|
|
127
196
|
pageName: {
|
|
128
|
-
label: '
|
|
197
|
+
label: localeKey('todoProps.pageName.label'),
|
|
129
198
|
type: 'Input',
|
|
130
|
-
groupsName: '
|
|
199
|
+
groupsName: localeKey('todoProps.pageName.groupsName'),
|
|
131
200
|
props: {
|
|
132
201
|
required: true
|
|
133
202
|
}
|
|
134
203
|
},
|
|
135
204
|
pagePath: {
|
|
136
|
-
label: '
|
|
205
|
+
label: localeKey('todoProps.pagePath.label'),
|
|
137
206
|
type: 'UrlInput',
|
|
138
|
-
groupsName: '
|
|
207
|
+
groupsName: localeKey('todoProps.pagePath.groupsName'),
|
|
139
208
|
props: {
|
|
140
209
|
required: true,
|
|
141
|
-
placeholder: '
|
|
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: '
|
|
214
|
+
message: localeKey('todoProps.pagePath.props.regex.message')
|
|
146
215
|
}
|
|
147
216
|
}
|
|
148
217
|
},
|
|
149
218
|
catalogItemId: {
|
|
150
|
-
label: '
|
|
219
|
+
label: localeKey('todoProps.catalogItemId.label'),
|
|
151
220
|
type: 'CatalogTreeSelect',
|
|
152
|
-
groupsName: '
|
|
221
|
+
groupsName: localeKey('todoProps.catalogItemId.groupsName'),
|
|
153
222
|
props: {
|
|
154
223
|
required: true,
|
|
155
224
|
options: [],
|
|
@@ -159,62 +228,62 @@ export default {
|
|
|
159
228
|
}
|
|
160
229
|
},
|
|
161
230
|
scenarioList: {
|
|
162
|
-
label: '
|
|
231
|
+
label: localeKey('todoProps.scenarioList.label'),
|
|
163
232
|
type: 'SelectScenarioPopover',
|
|
164
|
-
groupsName: '
|
|
233
|
+
groupsName: localeKey('todoProps.scenarioList.groupsName'),
|
|
165
234
|
props: {
|
|
166
235
|
options: []
|
|
167
236
|
}
|
|
168
237
|
},
|
|
169
238
|
remark: {
|
|
170
|
-
label: '
|
|
239
|
+
label: localeKey('todoProps.remark.label'),
|
|
171
240
|
type: 'Input',
|
|
172
|
-
groupsName: '
|
|
241
|
+
groupsName: localeKey('todoProps.remark.groupsName'),
|
|
173
242
|
props: {}
|
|
174
243
|
},
|
|
175
244
|
chooseFuncComp: {
|
|
176
|
-
label: '
|
|
245
|
+
label: localeKey('todoProps.chooseFuncComp.label'),
|
|
177
246
|
type: 'FuncCompSelect',
|
|
178
|
-
groupsName: '
|
|
247
|
+
groupsName: localeKey('todoProps.chooseFuncComp.groupsName'),
|
|
179
248
|
props: {}
|
|
180
249
|
},
|
|
181
250
|
ignoreLogin: {
|
|
182
|
-
label: '
|
|
251
|
+
label: localeKey('todoProps.ignoreLogin.label'),
|
|
183
252
|
type: 'Switch',
|
|
184
|
-
groupsName: '
|
|
253
|
+
groupsName: localeKey('todoProps.ignoreLogin.groupsName'),
|
|
185
254
|
props: {}
|
|
186
255
|
},
|
|
187
256
|
pageDynamicFlag: {
|
|
188
|
-
label: '
|
|
257
|
+
label: localeKey('todoProps.pageDynamicFlag.label'),
|
|
189
258
|
type: 'Switch',
|
|
190
|
-
groupsName: '
|
|
259
|
+
groupsName: localeKey('todoProps.pageDynamicFlag.groupsName'),
|
|
191
260
|
props: {
|
|
192
261
|
required: false,
|
|
193
|
-
description: '
|
|
262
|
+
description: localeKey('todoProps.pageDynamicFlag.props.description')
|
|
194
263
|
}
|
|
195
264
|
},
|
|
196
265
|
isMenu: {
|
|
197
|
-
label: '
|
|
266
|
+
label: localeKey('todoProps.isMenu.label'),
|
|
198
267
|
type: 'MenuSwitch',
|
|
199
|
-
groupsName: '
|
|
268
|
+
groupsName: localeKey('todoProps.isMenu.groupsName'),
|
|
200
269
|
props: {
|
|
201
|
-
description: '
|
|
270
|
+
description: localeKey('todoProps.isMenu.props.description')
|
|
202
271
|
}
|
|
203
272
|
},
|
|
204
273
|
labels: {
|
|
205
|
-
label: '
|
|
274
|
+
label: localeKey('todoProps.labels.label'),
|
|
206
275
|
type: 'ChooseTag',
|
|
207
|
-
groupsName: '
|
|
276
|
+
groupsName: localeKey('todoProps.labels.groupsName')
|
|
208
277
|
},
|
|
209
278
|
compState: {
|
|
210
|
-
label: '
|
|
279
|
+
label: localeKey('todoProps.compState.label'),
|
|
211
280
|
type: 'ParamsDefine',
|
|
212
|
-
groupsName: '
|
|
281
|
+
groupsName: localeKey('todoProps.compState.groupsName')
|
|
213
282
|
},
|
|
214
283
|
searchParams: {
|
|
215
|
-
label: '
|
|
284
|
+
label: localeKey('todoProps.searchParams.label'),
|
|
216
285
|
type: 'ParamsDefine',
|
|
217
|
-
groupsName: '
|
|
286
|
+
groupsName: localeKey('todoProps.searchParams.groupsName')
|
|
218
287
|
},
|
|
219
288
|
// pageParams: {
|
|
220
289
|
// label: '页面入参',
|
|
@@ -227,9 +296,9 @@ export default {
|
|
|
227
296
|
// groupsName: '页面出参',
|
|
228
297
|
// },
|
|
229
298
|
routerData: {
|
|
230
|
-
label: '
|
|
299
|
+
label: localeKey('todoProps.routerData.label'),
|
|
231
300
|
type: 'ParamsDefine',
|
|
232
|
-
groupsName: '
|
|
301
|
+
groupsName: localeKey('todoProps.routerData.groupsName')
|
|
233
302
|
}
|
|
234
303
|
},
|
|
235
304
|
todoStyles: {}
|