@zat-design/sisyphus-react 3.1.5-beta.9 → 3.2.0

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 (147) hide show
  1. package/dist/index.esm.css +60 -1
  2. package/es/ProAction/index.js +7 -5
  3. package/es/ProConfigProvider/index.js +6 -1
  4. package/es/ProDownload/utils.js +4 -3
  5. package/es/ProDrawerForm/components/ProDrawer/index.js +6 -4
  6. package/es/ProDrawerForm/index.js +4 -4
  7. package/es/ProEditTable/components/ActionButton/index.js +3 -2
  8. package/es/ProEditTable/components/RenderField/index.js +2 -1
  9. package/es/ProEditTable/index.js +7 -6
  10. package/es/ProEditTable/utils/config.d.ts +8 -8
  11. package/es/ProEditTable/utils/config.js +9 -8
  12. package/es/ProEditTable/utils/index.js +3 -2
  13. package/es/ProEnum/hooks/useEnumRequest.js +17 -10
  14. package/es/ProEnum/index.js +9 -4
  15. package/es/ProForm/components/FormFooter/index.js +16 -20
  16. package/es/ProForm/components/base/Input/index.js +4 -3
  17. package/es/ProForm/components/base/InputNumber/index.js +4 -3
  18. package/es/ProForm/components/base/Select/index.js +2 -1
  19. package/es/ProForm/components/base/Switch/index.js +9 -5
  20. package/es/ProForm/components/base/SwitchCheckbox/index.js +2 -1
  21. package/es/ProForm/components/base/TextArea/index.js +4 -2
  22. package/es/ProForm/components/combination/FormList/components/ActionButton.js +13 -17
  23. package/es/ProForm/components/combination/FormList/components/ToolbarButton.js +2 -1
  24. package/es/ProForm/components/combination/Group/index.js +2 -2
  25. package/es/ProForm/components/combination/ProAddressBar/index.js +5 -5
  26. package/es/ProForm/components/combination/ProModalSelect/index.js +3 -4
  27. package/es/ProForm/components/combination/ProNumberRange/index.js +3 -2
  28. package/es/ProForm/components/combination/ProRangeLimit/index.js +3 -7
  29. package/es/ProForm/components/combination/ProTimeLimit/index.js +4 -11
  30. package/es/ProForm/components/combination/ProTimeLimit/style/index.less +17 -0
  31. package/es/ProForm/components/render/Render.js +4 -2
  32. package/es/ProForm/components/render/RenderFields.js +6 -4
  33. package/es/ProForm/index.js +14 -2
  34. package/es/ProForm/style/index.less +65 -35
  35. package/es/ProForm/utils/index.d.ts +1 -1
  36. package/es/ProForm/utils/index.js +7 -2
  37. package/es/ProForm/utils/rulesCreator.js +2 -1
  38. package/es/ProForm/utils/useRules.js +4 -3
  39. package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +6 -0
  40. package/es/ProLayout/components/Layout/Notice/index.js +3 -2
  41. package/es/ProLayout/components/ProHeader/components/Copy/index.js +2 -1
  42. package/es/ProLayout/components/ProHeader/components/ProBackBtn/index.js +2 -1
  43. package/es/ProLayout/components/ProHeader/index.js +5 -4
  44. package/es/ProLayout/utils/index.js +1 -1
  45. package/es/ProSelect/index.d.ts +3 -3
  46. package/es/ProSelect/index.js +4 -2
  47. package/es/ProStep/components/Step/index.js +3 -1
  48. package/es/ProTable/index.js +7 -6
  49. package/es/ProTable/useAntdTable.d.ts +12 -4
  50. package/es/ProTable/useAntdTable.js +18 -6
  51. package/es/ProTree/components/ProTree.js +5 -4
  52. package/es/ProTree/components/Tree.js +3 -1
  53. package/es/ProTreeModal/components/List.js +0 -14
  54. package/es/ProTreeModal/components/Trigger.js +9 -3
  55. package/es/ProTreeModal/index.js +29 -13
  56. package/es/ProUpload/components/ButtonRender.js +5 -2
  57. package/es/ProUpload/components/DragRender.js +8 -8
  58. package/es/ProUpload/components/Example.js +3 -1
  59. package/es/ProUpload/components/ImageRender.js +8 -6
  60. package/es/ProUpload/index.js +8 -6
  61. package/es/locale/en_US.d.ts +123 -54
  62. package/es/locale/en_US.js +130 -61
  63. package/es/locale/index.d.ts +6 -0
  64. package/es/locale/index.js +11 -0
  65. package/es/locale/zh_CN.d.ts +122 -54
  66. package/es/locale/zh_CN.js +128 -60
  67. package/es/style/core/normalize.less +0 -1
  68. package/lib/ProAction/index.js +7 -5
  69. package/lib/ProConfigProvider/index.js +6 -1
  70. package/lib/ProDownload/utils.js +4 -3
  71. package/lib/ProDrawerForm/components/ProDrawer/index.js +6 -4
  72. package/lib/ProDrawerForm/index.js +4 -4
  73. package/lib/ProEditTable/components/ActionButton/index.js +3 -2
  74. package/lib/ProEditTable/components/RenderField/index.js +2 -1
  75. package/lib/ProEditTable/index.js +7 -6
  76. package/lib/ProEditTable/utils/config.d.ts +8 -8
  77. package/lib/ProEditTable/utils/config.js +9 -8
  78. package/lib/ProEditTable/utils/index.js +3 -2
  79. package/lib/ProEnum/hooks/useEnumRequest.js +17 -10
  80. package/lib/ProEnum/index.js +9 -4
  81. package/lib/ProForm/components/FormFooter/index.js +16 -19
  82. package/lib/ProForm/components/base/Input/index.js +4 -3
  83. package/lib/ProForm/components/base/InputNumber/index.js +4 -3
  84. package/lib/ProForm/components/base/Select/index.js +2 -1
  85. package/lib/ProForm/components/base/Switch/index.js +8 -5
  86. package/lib/ProForm/components/base/SwitchCheckbox/index.js +2 -1
  87. package/lib/ProForm/components/base/TextArea/index.js +4 -2
  88. package/lib/ProForm/components/combination/FormList/components/ActionButton.js +13 -17
  89. package/lib/ProForm/components/combination/FormList/components/ToolbarButton.js +2 -1
  90. package/lib/ProForm/components/combination/Group/index.js +2 -2
  91. package/lib/ProForm/components/combination/ProAddressBar/index.js +5 -5
  92. package/lib/ProForm/components/combination/ProModalSelect/index.js +3 -4
  93. package/lib/ProForm/components/combination/ProNumberRange/index.js +3 -2
  94. package/lib/ProForm/components/combination/ProRangeLimit/index.js +3 -7
  95. package/lib/ProForm/components/combination/ProTimeLimit/index.js +4 -11
  96. package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +17 -0
  97. package/lib/ProForm/components/render/Render.js +4 -2
  98. package/lib/ProForm/components/render/RenderFields.js +5 -3
  99. package/lib/ProForm/index.js +14 -2
  100. package/lib/ProForm/style/index.less +65 -35
  101. package/lib/ProForm/utils/index.d.ts +1 -1
  102. package/lib/ProForm/utils/index.js +7 -2
  103. package/lib/ProForm/utils/rulesCreator.js +2 -1
  104. package/lib/ProForm/utils/useRules.js +4 -3
  105. package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +6 -0
  106. package/lib/ProLayout/components/Layout/Notice/index.js +3 -2
  107. package/lib/ProLayout/components/ProHeader/components/Copy/index.js +2 -1
  108. package/lib/ProLayout/components/ProHeader/components/ProBackBtn/index.js +3 -1
  109. package/lib/ProLayout/components/ProHeader/index.js +5 -4
  110. package/lib/ProLayout/utils/index.js +1 -1
  111. package/lib/ProSelect/index.d.ts +3 -3
  112. package/lib/ProSelect/index.js +4 -2
  113. package/lib/ProStep/components/Step/index.js +3 -1
  114. package/lib/ProTable/index.js +7 -6
  115. package/lib/ProTable/useAntdTable.d.ts +12 -4
  116. package/lib/ProTable/useAntdTable.js +19 -6
  117. package/lib/ProTree/components/ProTree.js +5 -4
  118. package/lib/ProTree/components/Tree.js +3 -1
  119. package/lib/ProTreeModal/components/List.js +0 -14
  120. package/lib/ProTreeModal/components/Trigger.js +10 -3
  121. package/lib/ProTreeModal/index.js +29 -13
  122. package/lib/ProUpload/components/ButtonRender.js +5 -2
  123. package/lib/ProUpload/components/DragRender.js +8 -8
  124. package/lib/ProUpload/components/Example.js +3 -1
  125. package/lib/ProUpload/components/ImageRender.js +8 -6
  126. package/lib/ProUpload/index.js +8 -6
  127. package/lib/locale/en_US.d.ts +123 -54
  128. package/lib/locale/en_US.js +130 -61
  129. package/lib/locale/index.d.ts +6 -0
  130. package/lib/locale/index.js +14 -1
  131. package/lib/locale/zh_CN.d.ts +122 -54
  132. package/lib/locale/zh_CN.js +128 -60
  133. package/lib/style/core/normalize.less +0 -1
  134. package/package.json +1 -1
  135. package/.dumi/theme/builtins/Alert.tsx +0 -19
  136. package/.dumi/theme/builtins/Previewer.tsx +0 -232
  137. package/.dumi/theme/builtins/SourceCode.tsx +0 -64
  138. package/.dumi/theme/hooks/useCodeSandbox.tsx +0 -197
  139. package/.dumi/theme/hooks/useTheme.tsx +0 -707
  140. package/.dumi/theme/layouts/BasicLayout.tsx +0 -88
  141. package/.dumi/theme/layouts/components/Dark.less +0 -157
  142. package/.dumi/theme/layouts/components/Dark.tsx +0 -78
  143. package/.dumi/theme/layouts/components/Navbar.tsx +0 -83
  144. package/.dumi/theme/layouts/components/SideMenu.tsx +0 -61
  145. package/.dumi/theme/layouts/index.tsx +0 -26
  146. package/.dumi/theme/layouts/layout.less +0 -87
  147. package/.dumi/theme/typings.d.ts +0 -7
@@ -1,69 +1,138 @@
1
1
  declare const _default: {
2
- common: {
2
+ ProDrawerForm: {
3
3
  save: string;
4
+ confirm: string;
5
+ cancel: string;
6
+ isSureClose: string;
7
+ secondTipsWhenSave: string;
8
+ };
9
+ ProLayout: {
10
+ tipAlt: string;
11
+ closeAlt: string;
12
+ };
13
+ ProHeader: {
14
+ versionTitle: string;
15
+ confirm: string;
4
16
  cancel: string;
17
+ confirmTitle: string;
18
+ backText: string;
19
+ copyTooltips: string[];
5
20
  };
6
- demo: {
7
- openDrawer: string;
8
- openModal: string;
21
+ ProDownload: {
22
+ errorMessage: string;
9
23
  };
10
- search: {
24
+ ProForm: {
25
+ unfold: string;
26
+ packUp: string;
27
+ inputPlaceholder: string;
28
+ selectPlaceHolder: string;
29
+ switchText: string[];
11
30
  search: string;
12
31
  reset: string;
13
- collapsed: string;
32
+ ruleText: string;
33
+ completeText: string;
34
+ formList_actions: string[];
35
+ formList_confirmMessage: string;
36
+ };
37
+ ProAction: {
38
+ errorMessage: string;
39
+ defaultTitle: string;
40
+ };
41
+ ProWaterMark: {};
42
+ ProTable: {
43
+ noData: string;
44
+ resetColumnWidth: string;
45
+ customColumns: string;
46
+ transformResponseMsg: string;
47
+ deselect: string;
48
+ selectCurPage: string;
49
+ selectAll: string;
50
+ hasSelected: string;
51
+ total: string;
52
+ };
53
+ ProAddressBar: {
54
+ placeholder: string;
55
+ detailPlaceholder: string;
56
+ };
57
+ ProTree: {
58
+ inputPlaceholder: string;
59
+ unExpand: string;
14
60
  expand: string;
61
+ all: string;
62
+ emptyTips: string;
63
+ };
64
+ ProUpload: {
65
+ exampleTitle: string;
66
+ errorInfoExt: string;
67
+ errorInfoSize: string;
68
+ buttonText: string;
69
+ draggerSelect: string;
70
+ draggerDelete: string;
71
+ draggerTips: string;
72
+ draggerBtnTxt: string;
73
+ draggerFileExt: string;
74
+ draggerLimitless: string;
75
+ view: string;
76
+ delete: string;
77
+ download: string;
78
+ };
79
+ ProStep: {
80
+ catalogue: string;
15
81
  };
16
- dialog: {
17
- modeAdd: string;
18
- modeUpdate: string;
19
- modeDetail: string;
20
- modeCustom: string;
21
- close: string;
82
+ ProEditTable: {
22
83
  confirm: string;
84
+ cancel: string;
85
+ noData: string;
86
+ clickAdd: string;
87
+ select: string;
88
+ enter: string;
89
+ add: string;
90
+ edit: string;
91
+ copy: string;
92
+ delete: string;
93
+ mulDelete: string;
94
+ save: string;
95
+ custom: string;
96
+ operation: string;
97
+ onlyOneLineMsg: string;
98
+ deletePoConfirmMsg: string;
99
+ mulDeletePoConfirmMsg: string;
23
100
  };
24
- extra: {
25
- refresh: string;
26
- density: string;
27
- densityLarger: string;
28
- densityMiddle: string;
29
- densitySmall: string;
30
- fullScreen: string;
31
- exitFullScreen: string;
32
- moveUp: string;
33
- moveDown: string;
34
- rename: string;
35
- columnSetting: string;
36
- };
37
- action: {
38
- success: string;
39
- deleteConfirm: string;
40
- deleteSuccess: string;
41
- noSelection: string;
42
- deleteConfirmTitle: string;
43
- deleteConfirmBefore: string;
44
- deleteConfirmAfter: string;
45
- deleteConfirmBatchSuccess: string;
46
- };
47
- tagGroup: {
48
- all: string;
101
+ ProModalSelect: {
102
+ checkMsg: string;
103
+ select: string;
104
+ };
105
+ ProSelect: {
106
+ checkMsg: string;
107
+ select: string;
108
+ };
109
+ ProEnum: {
110
+ errorDataSource: string;
111
+ errorMessage: string;
112
+ errorArrayMessage: string;
113
+ errorNoEnumType: string;
114
+ mainInitByRequest: string;
115
+ mainInitByCache: string;
116
+ requestError: string;
117
+ mainInitOnce: string;
118
+ sonInitEvent: string;
119
+ };
120
+ ProTreeModal: {
121
+ checkMsg: string;
122
+ select: string;
123
+ input: string;
124
+ errorArrayMessage: string;
125
+ selectMin: string;
126
+ selectMax: string;
127
+ noCheck: string;
128
+ checkAll: string;
129
+ check: string;
130
+ clearAll: string;
131
+ checkNumber: string;
132
+ noFinal: string;
49
133
  };
50
- table: {
51
- totalBefore: string;
52
- totalAfter: string;
53
- selectedTitle: string;
54
- selectedBefore: string;
55
- selectedAfter: string;
56
- selectedClear: string;
57
- };
58
- form: {
59
- pleaseInput: string;
60
- pleaseInputAfter: string;
61
- pleaseSelect: string;
62
- pleaseSelectAfter: string;
63
- requiredText: string;
64
- startDate: string;
65
- endDate: string;
66
- dateTo: string;
134
+ ProTimeLimit: {
135
+ foreverText: string;
67
136
  };
68
137
  };
69
138
  export default _default;
@@ -1,68 +1,137 @@
1
1
  export default {
2
- common: {
3
- save: 'save',
4
- cancel: 'cancel'
2
+ ProDrawerForm: {
3
+ save: 'Save',
4
+ confirm: 'Confirm',
5
+ cancel: 'Cancel',
6
+ isSureClose: 'Confirm to close the current page',
7
+ secondTipsWhenSave: 'Close the current page content will not be saved, need to click the Save button to save'
5
8
  },
6
- demo: {
7
- openDrawer: 'open drawer',
8
- openModal: 'open modal'
9
+ ProLayout: {
10
+ tipAlt: 'Tips',
11
+ closeAlt: 'Close'
9
12
  },
10
- search: {
13
+ ProHeader: {
14
+ versionTitle: 'Version number',
15
+ confirm: 'Confirm',
16
+ cancel: 'Cancel',
17
+ confirmTitle: 'Confirm return?',
18
+ backText: 'Return',
19
+ copyTooltips: ['Copy', 'Copy successfully']
20
+ },
21
+ ProDownload: {
22
+ errorMessage: 'Request failed!'
23
+ },
24
+ ProForm: {
25
+ unfold: 'Unfold',
26
+ packUp: 'PackUp',
27
+ inputPlaceholder: 'Please enter',
28
+ selectPlaceHolder: 'Please select',
29
+ switchText: ['Yes', 'No'],
11
30
  search: 'Search',
12
31
  reset: 'Reset',
13
- collapsed: 'More',
14
- expand: 'Close'
15
- },
16
- dialog: {
17
- modeAdd: 'Add',
18
- modeUpdate: 'Update',
19
- modeDetail: 'Detail',
20
- modeCustom: 'Custom',
21
- close: ' Close',
22
- confirm: 'Confirm'
23
- },
24
- extra: {
25
- refresh: 'refresh',
26
- density: 'density',
27
- densityLarger: 'default',
28
- densityMiddle: 'middle',
29
- densitySmall: 'small',
30
- fullScreen: 'full screen',
31
- exitFullScreen: 'exit full screen',
32
- moveUp: 'move up',
33
- moveDown: 'move down',
34
- rename: 'new name',
35
- columnSetting: 'column setting'
36
- },
37
- action: {
38
- success: 'Successful',
39
- deleteConfirm: 'Are you sure you want to delete this row?',
40
- deleteSuccess: 'Deleted successfully',
41
- noSelection: 'Please select a row',
42
- deleteConfirmTitle: 'Confirm',
43
- deleteConfirmBefore: 'You have selected ',
44
- deleteConfirmAfter: 'rows, are you sure you want to delete them?',
45
- deleteConfirmBatchSuccess: 'Batch delete successfully'
46
- },
47
- tagGroup: {
48
- all: 'All'
49
- },
50
- table: {
51
- totalBefore: 'Total',
52
- totalAfter: 'items',
53
- selectedTitle: 'Selection',
54
- selectedBefore: 'Selected: ',
55
- selectedAfter: 'items',
56
- selectedClear: 'Remove All'
57
- },
58
- form: {
59
- pleaseInput: 'input ',
60
- pleaseInputAfter: '',
61
- pleaseSelect: 'select ',
62
- pleaseSelectAfter: '',
63
- requiredText: '',
64
- startDate: 'Start Date',
65
- endDate: 'End date',
66
- dateTo: 'To'
32
+ ruleText: 'correct',
33
+ completeText: 'enter in full',
34
+ formList_actions: ['Add', 'Delete', 'Copy', 'Move up', 'Move down', 'Add a new line'],
35
+ formList_confirmMessage: 'Are you sure delete it?'
36
+ },
37
+ ProAction: {
38
+ errorMessage: 'The configuration config for ProAction must be data',
39
+ defaultTitle: 'Are you sure delete it?'
40
+ },
41
+ ProWaterMark: {},
42
+ ProTable: {
43
+ noData: 'No data',
44
+ resetColumnWidth: 'Reset column width',
45
+ customColumns: 'Custom columns',
46
+ transformResponseMsg: 'Please return the correct data type',
47
+ deselect: 'Deselect',
48
+ selectCurPage: 'Select the current page ({total} items)',
49
+ selectAll: 'Select All ({total} items)',
50
+ hasSelected: '{selectedNum} items selected',
51
+ total: '{total} items in total'
52
+ },
53
+ ProAddressBar: {
54
+ placeholder: 'Please select',
55
+ detailPlaceholder: 'Please enter detailed address'
56
+ },
57
+ ProTree: {
58
+ inputPlaceholder: 'Please enter',
59
+ unExpand: 'Put it all away',
60
+ expand: 'Expand all',
61
+ all: 'Select all',
62
+ emptyTips: "Oops, what you were looking for couldn't be found"
63
+ },
64
+ ProUpload: {
65
+ exampleTitle: 'View sample',
66
+ errorInfoExt: 'Only {} format files are supported',
67
+ errorInfoSize: 'File size cannot exceed ',
68
+ buttonText: 'Upload',
69
+ draggerSelect: 'Select file',
70
+ draggerDelete: 'Delete',
71
+ draggerTips: 'Click or drag file to this area to upload',
72
+ draggerBtnTxt: 'Click to upload',
73
+ draggerFileExt: 'Support for extensions',
74
+ draggerLimitless: 'Limitless',
75
+ view: 'View',
76
+ delete: 'Delete',
77
+ download: 'Download'
78
+ },
79
+ ProStep: {
80
+ catalogue: 'Catalogue'
81
+ },
82
+ ProEditTable: {
83
+ confirm: 'Confirm',
84
+ cancel: 'Cancel',
85
+ noData: 'No data',
86
+ clickAdd: 'Click add',
87
+ select: 'Please select',
88
+ enter: 'Please enter',
89
+ add: 'Add',
90
+ edit: 'Edit',
91
+ copy: 'Copy',
92
+ delete: 'Delete',
93
+ mulDelete: 'Batch delete',
94
+ save: 'Save',
95
+ custom: 'Custom',
96
+ operation: 'Operation',
97
+ onlyOneLineMsg: 'Please save the data first',
98
+ deletePoConfirmMsg: 'Are you sure you want to delete this row of data?',
99
+ mulDeletePoConfirmMsg: 'Are you sure you want to delete the selected data?'
100
+ },
101
+ ProModalSelect: {
102
+ checkMsg: 'Please check the box first',
103
+ select: 'Please select'
104
+ },
105
+ ProSelect: {
106
+ checkMsg: 'Please check first',
107
+ select: 'Please select'
108
+ },
109
+ ProEnum: {
110
+ errorDataSource: 'Please pass in a valid data source',
111
+ errorMessage: 'Please return the correct data type',
112
+ errorArrayMessage: 'Please return a valid array',
113
+ errorNoEnumType: 'Please pass in the enumeration type',
114
+ mainInitByRequest: 'Main application initialization triggers read data update from interface',
115
+ mainInitByCache: 'Main application initialization triggers data update from cache',
116
+ requestError: 'Request failed',
117
+ mainInitOnce: 'Main application initialization triggers once',
118
+ sonInitEvent: 'Sub-application initializes listening actions'
119
+ },
120
+ ProTreeModal: {
121
+ checkMsg: 'Please check first',
122
+ select: 'Please select',
123
+ input: 'please enter',
124
+ errorArrayMessage: 'Please return a valid array',
125
+ selectMin: 'Select at least {min}',
126
+ selectMax: 'Select at most {max} items',
127
+ noCheck: 'None selected yet',
128
+ checkAll: 'select all',
129
+ check: 'selected',
130
+ clearAll: 'Clear all',
131
+ checkNumber: '{num} items selected',
132
+ noFinal: 'Oops, the content you are looking for is not found.'
133
+ },
134
+ ProTimeLimit: {
135
+ foreverText: 'long term'
67
136
  }
68
137
  };
@@ -3,5 +3,11 @@
3
3
  * isReload 切换语言后是否刷新页面,一般在项目上使用都需要刷新
4
4
  */
5
5
  export declare const setLanguage: (lang: string, isReload?: boolean) => void;
6
+ /**
7
+ * @param str 待替换字符串 eg: 我是{name},年龄{age}
8
+ * @param variables 变量对象 {name: 'xx', age: 23}
9
+ * @returns 替换后字符串 我是xx,年龄23
10
+ */
11
+ export declare function formatMessage(str: string, variables: object): string;
6
12
  declare const _default: any;
7
13
  export default _default;
@@ -18,4 +18,15 @@ export var setLanguage = function setLanguage(lang, isReload) {
18
18
  window.location.reload();
19
19
  }
20
20
  };
21
+ /**
22
+ * @param str 待替换字符串 eg: 我是{name},年龄{age}
23
+ * @param variables 变量对象 {name: 'xx', age: 23}
24
+ * @returns 替换后字符串 我是xx,年龄23
25
+ */
26
+ export function formatMessage(str, variables) {
27
+ return str.replace(/{\s*([\w\s]+)\s*}/g, function (match, variable) {
28
+ var trimmedVariable = variable.trim();
29
+ return variables[trimmedVariable] || '';
30
+ });
31
+ }
21
32
  export default langMap[activeLang];
@@ -1,69 +1,137 @@
1
1
  declare const _default: {
2
- common: {
2
+ ProDrawerForm: {
3
3
  save: string;
4
+ confirm: string;
5
+ cancel: string;
6
+ isSureClose: string;
7
+ secondTipsWhenSave: string;
8
+ };
9
+ ProLayout: {
10
+ tipAlt: string;
11
+ closeAlt: string;
12
+ };
13
+ ProHeader: {
14
+ versionTitle: string;
15
+ confirmTitle: string;
16
+ confirm: string;
4
17
  cancel: string;
18
+ backText: string;
19
+ copyTooltips: string[];
5
20
  };
6
- demo: {
7
- openDrawer: string;
8
- openModal: string;
21
+ ProDownload: {
22
+ errorMessage: string;
9
23
  };
10
- search: {
24
+ ProForm: {
25
+ unfold: string;
26
+ packUp: string;
27
+ inputPlaceholder: string;
28
+ selectPlaceHolder: string;
29
+ switchText: string[];
11
30
  search: string;
12
31
  reset: string;
13
- collapsed: string;
32
+ ruleText: string;
33
+ completeText: string;
34
+ formList_actions: string[];
35
+ formList_confirmMessage: string;
36
+ };
37
+ ProAction: {
38
+ errorMessage: string;
39
+ defaultTitle: string;
40
+ };
41
+ ProWaterMark: {};
42
+ ProTable: {
43
+ noData: string;
44
+ resetColumnWidth: string;
45
+ customColumns: string;
46
+ transformResponseMsg: string;
47
+ deselect: string;
48
+ selectCurPage: string;
49
+ selectAll: string;
50
+ hasSelected: string;
51
+ total: string;
52
+ };
53
+ ProAddressBar: {
54
+ placeholder: string;
55
+ detailPlaceholder: string;
56
+ };
57
+ ProTree: {
58
+ inputPlaceholder: string;
59
+ unExpand: string;
14
60
  expand: string;
61
+ all: string;
62
+ emptyTips: string;
63
+ };
64
+ ProUpload: {
65
+ exampleTitle: string;
66
+ errorInfoExt: string;
67
+ errorInfoSize: string;
68
+ buttonText: string;
69
+ draggerSelect: string;
70
+ draggerDelete: string;
71
+ draggerTips: string;
72
+ draggerBtnTxt: string;
73
+ draggerFileExt: string;
74
+ draggerLimitless: string;
75
+ view: string;
76
+ delete: string;
77
+ download: string;
78
+ };
79
+ ProStep: {
80
+ catalogue: string;
15
81
  };
16
- dialog: {
17
- modeAdd: string;
18
- modeUpdate: string;
19
- modeDetail: string;
20
- modeCustom: string;
21
- close: string;
82
+ ProEditTable: {
22
83
  confirm: string;
84
+ cancel: string;
85
+ select: string;
86
+ enter: string;
87
+ add: string;
88
+ edit: string;
89
+ copy: string;
90
+ delete: string;
91
+ mulDelete: string;
92
+ save: string;
93
+ custom: string;
94
+ operation: string;
95
+ noData: string;
96
+ clickAdd: string;
97
+ onlyOneLineMsg: string;
98
+ deletePoConfirmMsg: string;
99
+ mulDeletePoConfirmMsg: string;
23
100
  };
24
- extra: {
25
- refresh: string;
26
- density: string;
27
- densityLarger: string;
28
- densityMiddle: string;
29
- densitySmall: string;
30
- fullScreen: string;
31
- exitFullScreen: string;
32
- moveUp: string;
33
- moveDown: string;
34
- rename: string;
35
- columnSetting: string;
36
- };
37
- action: {
38
- success: string;
39
- deleteConfirm: string;
40
- deleteSuccess: string;
41
- noSelection: string;
42
- deleteConfirmTitle: string;
43
- deleteConfirmBefore: string;
44
- deleteConfirmAfter: string;
45
- deleteConfirmBatchSuccess: string;
46
- };
47
- tagGroup: {
48
- all: string;
101
+ ProModalSelect: {
102
+ checkMsg: string;
103
+ select: string;
104
+ };
105
+ ProSelect: {
106
+ checkMsg: string;
107
+ select: string;
108
+ };
109
+ ProEnum: {
110
+ errorDataSource: string;
111
+ errorMessage: string;
112
+ errorArrayMessage: string;
113
+ errorNoEnumType: string;
114
+ mainInitByRequest: string;
115
+ mainInitByCache: string;
116
+ requestError: string;
117
+ mainInitOnce: string;
118
+ sonInitEvent: string;
119
+ };
120
+ ProTreeModal: {
121
+ checkMsg: string;
122
+ select: string;
123
+ input: string;
124
+ errorArrayMessage: string;
125
+ selectMin: string;
126
+ selectMax: string;
127
+ noCheck: string;
128
+ checkAll: string;
129
+ check: string;
130
+ clearAll: string;
131
+ checkNumber: string;
49
132
  };
50
- table: {
51
- totalBefore: string;
52
- totalAfter: string;
53
- selectedTitle: string;
54
- selectedBefore: string;
55
- selectedAfter: string;
56
- selectedClear: string;
57
- };
58
- form: {
59
- pleaseInput: string;
60
- pleaseInputAfter: string;
61
- pleaseSelect: string;
62
- pleaseSelectAfter: string;
63
- requiredText: string;
64
- startDate: string;
65
- endDate: string;
66
- dateTo: string;
133
+ ProTimeLimit: {
134
+ foreverText: string;
67
135
  };
68
136
  };
69
137
  export default _default;