ns-base-module 1.0.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 (148) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +20 -0
  3. package/dist/Button/AntdIconButton.d.ts +11 -0
  4. package/dist/Button/AntdIconButton.d.ts.map +1 -0
  5. package/dist/Button/AntdIconButton.js +22 -0
  6. package/dist/Button/ConfigButton.d.ts +18 -0
  7. package/dist/Button/ConfigButton.d.ts.map +1 -0
  8. package/dist/Button/ConfigButton.js +78 -0
  9. package/dist/Button/index.d.ts +8 -0
  10. package/dist/Button/index.d.ts.map +1 -0
  11. package/dist/Button/index.js +19 -0
  12. package/dist/ClassFilter/index.d.ts +11 -0
  13. package/dist/ClassFilter/index.d.ts.map +1 -0
  14. package/dist/ClassFilter/index.js +119 -0
  15. package/dist/ClassFilter/indexVertical.d.ts +10 -0
  16. package/dist/ClassFilter/indexVertical.d.ts.map +1 -0
  17. package/dist/ClassFilter/indexVertical.js +69 -0
  18. package/dist/ClassFilter/util.d.ts +17 -0
  19. package/dist/ClassFilter/util.d.ts.map +1 -0
  20. package/dist/ClassFilter/util.js +135 -0
  21. package/dist/CopyCol/index.d.ts +4 -0
  22. package/dist/CopyCol/index.d.ts.map +1 -0
  23. package/dist/CopyCol/index.js +57 -0
  24. package/dist/Entry/EntryCriteria.d.ts +17 -0
  25. package/dist/Entry/EntryCriteria.d.ts.map +1 -0
  26. package/dist/Entry/EntryCriteria.js +138 -0
  27. package/dist/Entry/EntryItem.d.ts +34 -0
  28. package/dist/Entry/EntryItem.d.ts.map +1 -0
  29. package/dist/Entry/EntryItem.js +757 -0
  30. package/dist/Entry/components/Checkbox.d.ts +12 -0
  31. package/dist/Entry/components/Checkbox.d.ts.map +1 -0
  32. package/dist/Entry/components/Checkbox.js +15 -0
  33. package/dist/Entry/components/ChooseModalTable.d.ts +15 -0
  34. package/dist/Entry/components/ChooseModalTable.d.ts.map +1 -0
  35. package/dist/Entry/components/ChooseModalTable.js +407 -0
  36. package/dist/Entry/components/Condition.d.ts +9 -0
  37. package/dist/Entry/components/Condition.d.ts.map +1 -0
  38. package/dist/Entry/components/Condition.js +30 -0
  39. package/dist/Entry/components/DatePicker.d.ts +12 -0
  40. package/dist/Entry/components/DatePicker.d.ts.map +1 -0
  41. package/dist/Entry/components/DatePicker.js +12 -0
  42. package/dist/Entry/components/Etable2Modal.d.ts +4 -0
  43. package/dist/Entry/components/Etable2Modal.d.ts.map +1 -0
  44. package/dist/Entry/components/Etable2Modal.js +122 -0
  45. package/dist/Entry/components/Express.d.ts +8 -0
  46. package/dist/Entry/components/Express.d.ts.map +1 -0
  47. package/dist/Entry/components/Express.js +30 -0
  48. package/dist/Entry/components/GroupInput.d.ts +13 -0
  49. package/dist/Entry/components/GroupInput.d.ts.map +1 -0
  50. package/dist/Entry/components/GroupInput.js +77 -0
  51. package/dist/Entry/components/ImageText.d.ts +13 -0
  52. package/dist/Entry/components/ImageText.d.ts.map +1 -0
  53. package/dist/Entry/components/ImageText.js +235 -0
  54. package/dist/Entry/components/Input.d.ts +27 -0
  55. package/dist/Entry/components/Input.d.ts.map +1 -0
  56. package/dist/Entry/components/Input.js +86 -0
  57. package/dist/Entry/components/InputNumber.d.ts +18 -0
  58. package/dist/Entry/components/InputNumber.d.ts.map +1 -0
  59. package/dist/Entry/components/InputNumber.js +111 -0
  60. package/dist/Entry/components/InputNumberRange.d.ts +10 -0
  61. package/dist/Entry/components/InputNumberRange.d.ts.map +1 -0
  62. package/dist/Entry/components/InputNumberRange.js +58 -0
  63. package/dist/Entry/components/ListSelect.d.ts +15 -0
  64. package/dist/Entry/components/ListSelect.d.ts.map +1 -0
  65. package/dist/Entry/components/ListSelect.js +110 -0
  66. package/dist/Entry/components/ObjectSelect.d.ts +14 -0
  67. package/dist/Entry/components/ObjectSelect.d.ts.map +1 -0
  68. package/dist/Entry/components/ObjectSelect.js +91 -0
  69. package/dist/Entry/components/Progress.d.ts +11 -0
  70. package/dist/Entry/components/Progress.d.ts.map +1 -0
  71. package/dist/Entry/components/Progress.js +63 -0
  72. package/dist/Entry/components/Radio.d.ts +15 -0
  73. package/dist/Entry/components/Radio.d.ts.map +1 -0
  74. package/dist/Entry/components/Radio.js +17 -0
  75. package/dist/Entry/components/Select.d.ts +29 -0
  76. package/dist/Entry/components/Select.d.ts.map +1 -0
  77. package/dist/Entry/components/Select.js +113 -0
  78. package/dist/Entry/components/Switch.d.ts +6 -0
  79. package/dist/Entry/components/Switch.d.ts.map +1 -0
  80. package/dist/Entry/components/Switch.js +19 -0
  81. package/dist/Entry/components/TagsDatePicker.d.ts +7 -0
  82. package/dist/Entry/components/TagsDatePicker.d.ts.map +1 -0
  83. package/dist/Entry/components/TagsDatePicker.js +229 -0
  84. package/dist/Entry/components/TimePicker.d.ts +6 -0
  85. package/dist/Entry/components/TimePicker.d.ts.map +1 -0
  86. package/dist/Entry/components/TimePicker.js +6 -0
  87. package/dist/Entry/components/TreeSelect.d.ts +6 -0
  88. package/dist/Entry/components/TreeSelect.d.ts.map +1 -0
  89. package/dist/Entry/components/TreeSelect.js +18 -0
  90. package/dist/Entry/components/index.scss +97 -0
  91. package/dist/Entry/components/utils.d.ts +1 -0
  92. package/dist/Entry/components/utils.d.ts.map +1 -0
  93. package/dist/Entry/components/utils.js +6 -0
  94. package/dist/Entry/data.d.ts +133 -0
  95. package/dist/Entry/index.d.ts +54 -0
  96. package/dist/Entry/index.d.ts.map +1 -0
  97. package/dist/Entry/index.js +45 -0
  98. package/dist/FilterPopover/Filter.d.ts +24 -0
  99. package/dist/FilterPopover/Filter.d.ts.map +1 -0
  100. package/dist/FilterPopover/Filter.js +370 -0
  101. package/dist/FilterPopover/FilterClearIcon.d.ts +8 -0
  102. package/dist/FilterPopover/FilterClearIcon.d.ts.map +1 -0
  103. package/dist/FilterPopover/FilterClearIcon.js +45 -0
  104. package/dist/FilterPopover/index.d.ts +20 -0
  105. package/dist/FilterPopover/index.d.ts.map +1 -0
  106. package/dist/FilterPopover/index.js +136 -0
  107. package/dist/Icon/IconCreate.d.ts +11 -0
  108. package/dist/Icon/IconCreate.d.ts.map +1 -0
  109. package/dist/Icon/IconCreate.js +22 -0
  110. package/dist/Icon/index.d.ts +6 -0
  111. package/dist/Icon/index.d.ts.map +1 -0
  112. package/dist/Icon/index.js +22 -0
  113. package/dist/WidgetConfig/index.d.ts +40 -0
  114. package/dist/WidgetConfig/index.d.ts.map +1 -0
  115. package/dist/WidgetConfig/index.js +129 -0
  116. package/dist/index.d.ts +2 -0
  117. package/dist/index.d.ts.map +1 -0
  118. package/dist/index.js +4 -0
  119. package/dist/test/index.d.ts +4 -0
  120. package/dist/test/index.d.ts.map +1 -0
  121. package/dist/test/index.js +7 -0
  122. package/dist/umd/ns-base-module.min.js +1 -0
  123. package/dist/utils/cache.d.ts +17 -0
  124. package/dist/utils/cache.d.ts.map +1 -0
  125. package/dist/utils/cache.js +127 -0
  126. package/dist/utils/enum.d.ts +22 -0
  127. package/dist/utils/enum.d.ts.map +1 -0
  128. package/dist/utils/enum.js +37 -0
  129. package/dist/utils/language.d.ts +241 -0
  130. package/dist/utils/language.d.ts.map +1 -0
  131. package/dist/utils/language.js +247 -0
  132. package/dist/utils/request.d.ts +15 -0
  133. package/dist/utils/request.d.ts.map +1 -0
  134. package/dist/utils/request.js +180 -0
  135. package/dist/utils/utils.d.ts +113 -0
  136. package/dist/utils/utils.d.ts.map +1 -0
  137. package/dist/utils/utils.js +462 -0
  138. package/package.json +97 -0
  139. package/style/basics.scss +671 -0
  140. package/style/components/ClassFilter.scss +69 -0
  141. package/style/components/FilterPopover.scss +34 -0
  142. package/style/components/index.scss +2 -0
  143. package/style/default.scss +1219 -0
  144. package/style/index.scss +1 -0
  145. package/style/mixins/index.scss +28 -0
  146. package/style/mixins/libs/tint.scss +23 -0
  147. package/style/variables.scss +684 -0
  148. package/types/Action.d.ts +43 -0
@@ -0,0 +1,241 @@
1
+ export declare const defaultLang: {
2
+ 'list.seleced': string;
3
+ 'list.discard': string;
4
+ 'list.action': string;
5
+ 'list.next': string;
6
+ 'list.prev': string;
7
+ 'list.subtotals': string;
8
+ 'list.refresh': string;
9
+ 'list.horizontalDisplay': string;
10
+ 'list.export': string;
11
+ 'list.exportAll': string;
12
+ 'list.exportSelect': string;
13
+ 'list.size.default': string;
14
+ 'list.size.middle': string;
15
+ 'list.size.small': string;
16
+ 'list.pagination.total': string;
17
+ 'list.total': string;
18
+ 'list.column.summaryTitle': string;
19
+ 'list.subtotals.modal.title': string;
20
+ 'list.column.action': string;
21
+ 'list.column.sort': string;
22
+ 'list.expandableAll': string;
23
+ 'search.title': string;
24
+ 'message.warn.select.least': string;
25
+ 'message.warn.select.not': string;
26
+ 'message.warn.select.over': string;
27
+ 'message.confirm.delete': string;
28
+ 'message.confirm.info': string;
29
+ 'message.error.login': string;
30
+ 'message.error.request': string;
31
+ 'message.error.request.status': string;
32
+ 'message.error.network': string;
33
+ 'message.error.network.desc': string;
34
+ 'message.success.request': string;
35
+ 'message.success.login': string;
36
+ 'message.preview.tip': string;
37
+ 'login.label.username': string;
38
+ 'login.label.client': string;
39
+ 'login.label.password': string;
40
+ 'login.label.code': string;
41
+ 'button.save': string;
42
+ 'button.ok': string;
43
+ 'button.cancel': string;
44
+ 'button.back': string;
45
+ 'button.delete': string;
46
+ 'button.submit': string;
47
+ 'button.search': string;
48
+ 'button.search.shut': string;
49
+ 'button.reset': string;
50
+ 'button.next': string;
51
+ 'button.prev': string;
52
+ 'button.select': string;
53
+ 'button.down.add': string;
54
+ 'button.down.addchild': string;
55
+ 'button.sort.up': string;
56
+ 'button.sort.dargDrawer': string;
57
+ 'button.sort.down': string;
58
+ 'button.expand': string;
59
+ 'button.collapse': string;
60
+ 'button.clicksearch': string;
61
+ 'button.config': string;
62
+ 'button.refresh': string;
63
+ 'button.print': string;
64
+ 'button.rest.filter': string;
65
+ 'button.moreform': string;
66
+ 'condition.startWith': string;
67
+ 'condition.isNull': string;
68
+ 'condition.endWith': string;
69
+ 'condition.contains': string;
70
+ 'condition.notContains': string;
71
+ 'condition.equals': string;
72
+ 'condition.notEqual': string;
73
+ 'condition.greaterThan': string;
74
+ 'condition.greaterOrEqual': string;
75
+ 'condition.lessThan': string;
76
+ 'condition.lessOrEqual': string;
77
+ 'condition.in': string;
78
+ 'condition.between': string;
79
+ 'condition.beforeThan': string;
80
+ 'condition.afterThan': string;
81
+ 'condition.isNotNull': string;
82
+ 'setting.menu.setting': string;
83
+ 'setting.menu.about': string;
84
+ 'setting.menu.logout': string;
85
+ 'setting.info.personalTitle': string;
86
+ 'setting.info.username': string;
87
+ 'setting.info.zoom': string;
88
+ 'setting.info.nickname': string;
89
+ 'setting.info.phone': string;
90
+ 'setting.info.email': string;
91
+ 'setting.info.department': string;
92
+ 'setting.info.role': string;
93
+ 'setting.info.createDate': string;
94
+ 'setting.info.basicTitle': string;
95
+ 'setting.info.changePsw': string;
96
+ 'setting.info.preference': string;
97
+ 'setting.info.oldPsw': string;
98
+ 'setting.info.newPsw': string;
99
+ 'setting.info.surePsw': string;
100
+ 'setting.info.isOpenNewTab': string;
101
+ 'setting.info.isOpenQueryCache': string;
102
+ 'setting.info.shutMenu': string;
103
+ 'setting.info.style': string;
104
+ 'setting.info.language': string;
105
+ 'setting.info.default': string;
106
+ 'setting.info.small': string;
107
+ 'setting.info.sex': string;
108
+ 'setting.info.add': string;
109
+ 'workflow.title': string;
110
+ 'workflow.basicInfo': string;
111
+ 'workflow.status': string;
112
+ 'workflow.flow': string;
113
+ 'workflow.step0.title': string;
114
+ 'workflow.step0.column.code': string;
115
+ 'workflow.step0.column.name': string;
116
+ 'workflow.step0.column.remark': string;
117
+ 'workflow.step1.column.name': string;
118
+ 'workflow.step1.column.remark': string;
119
+ 'workflow.step1.column.startNode': string;
120
+ 'workflow.step1.column.endNode': string;
121
+ 'workflow.step1.title': string;
122
+ 'workflow.step1.desc': string;
123
+ 'workflow.step1.tip': string;
124
+ 'workflow.step1.button.add': string;
125
+ 'workflow.step1.add.modal.title': string;
126
+ 'workflow.step1.add.modal.column.code': string;
127
+ 'workflow.step1.add.modal.column.name': string;
128
+ 'workflow.step1.add.modal.column.remark': string;
129
+ 'page.header.tool.collect': string;
130
+ 'page.header.tool.uncollect': string;
131
+ 'page.header.tool.msg': string;
132
+ 'page.header.tool.linkOrDislike': string;
133
+ 'page.header.tool.help': string;
134
+ 'page.header.tool.remark': string;
135
+ 'page.dimension': string;
136
+ 'page.dimension.placeholder': string;
137
+ 'page.quota': string;
138
+ 'page.quota.placeholder': string;
139
+ 'page.quota.add': string;
140
+ 'placeholder.global.search': string;
141
+ 'prompt.document': string;
142
+ 'prompt.copyCol': string;
143
+ 'prompt.asc': string;
144
+ 'prompt.desc': string;
145
+ 'prompt.nameTemplate': string;
146
+ 'prompt.placeholderTemplate': string;
147
+ 'prompt.shareTemplate': string;
148
+ 'prompt.setTemplate': string;
149
+ 'prompt.delTemplate': string;
150
+ 'prompt.personalTemplate': string;
151
+ 'prompt.summaryTemplate': string;
152
+ 'prompt.publicTemplate': string;
153
+ 'prompt.copyTemplate': string;
154
+ 'prompt.feedback': string;
155
+ 'prompt.information': string;
156
+ 'prompt.downloadCenter': string;
157
+ 'prompt.tableColumnSet': string;
158
+ 'prompt.fixed.left': string;
159
+ 'prompt.fixed.right': string;
160
+ 'timeline.modal.title': string;
161
+ 'timeline.tag.popover': string;
162
+ 'brick.view.placeholder': string;
163
+ 'brick.classification': string;
164
+ 'brick.quantitative': string;
165
+ 'brick.any': string;
166
+ 'brick.dimension': string;
167
+ 'brick.quota': string;
168
+ 'brick.col': string;
169
+ 'brick.filter': string;
170
+ 'brick.drag': string;
171
+ 'brick.field': string;
172
+ 'brick.title.placeholder': string;
173
+ 'brick.search.placeholder': string;
174
+ 'brick.title.warning': string;
175
+ 'brick.describe.placeholder': string;
176
+ 'brick.view.warning': string;
177
+ 'brick.config.modal.title': string;
178
+ 'brick.config.modal.form.searchShowType': string;
179
+ 'brick.config.modal.form.searchShowType.modal': string;
180
+ 'brick.config.modal.form.searchShowType.panel': string;
181
+ 'brick.config.modal.form.searchShowType.slide': string;
182
+ 'brick.config.modal.form.firstLoad': string;
183
+ 'cashier.page.title': string;
184
+ 'cashier.tab.title': string;
185
+ 'cashier.tab.button.add': string;
186
+ 'cashier.form.salesman': string;
187
+ 'cashier.form.salesman.placeholder': string;
188
+ 'cashier.form.vip_no': string;
189
+ 'cashier.form.vip_no.placeholder': string;
190
+ 'cashier.form.sku': string;
191
+ 'cashier.form.sku.placeholder': string;
192
+ 'cashier.form.remark': string;
193
+ 'cashier.form.remark.placeholder': string;
194
+ 'cashier.text.sales_qty': string;
195
+ 'cashier.text.list_amt': string;
196
+ 'cashier.text.dis_rate': string;
197
+ 'cashier.text.disc_amt': string;
198
+ 'cashier.text.payment_amt': string;
199
+ 'cashier.columns.strategy': string;
200
+ 'rules.warning.please': string;
201
+ 'rules.warning.input': string;
202
+ 'rules.warning.select': string;
203
+ 'app.search.modal': string;
204
+ 'app.search.modal.title': string;
205
+ 'app.search.modal.selectAll': string;
206
+ 'app.search.modal.button.search': string;
207
+ 'app.search.modal.button.advancedSearc': string;
208
+ 'app.search.txt.and': string;
209
+ 'app.search.txt.or': string;
210
+ 'app.search.txt.be': string;
211
+ 'app.search.modal.button.reset': string;
212
+ 'pay.title.pay': string;
213
+ 'pay.title.order': string;
214
+ 'pay.info.surePay': string;
215
+ 'pay.button.pay': string;
216
+ 'pay.button.reload': string;
217
+ 'pay.button.complete': string;
218
+ 'pay.button.cancel': string;
219
+ 'pay.label.receivable': string;
220
+ 'pay.label.received': string;
221
+ 'pay.label.toBeReceived': string;
222
+ 'pay.label.change': string;
223
+ 'pay.svc.title': string;
224
+ 'pay.svc.label.payValue': string;
225
+ 'pay.svc.label.balance': string;
226
+ 'pay.svc.label.cardNo': string;
227
+ 'pay.svc.label.openTime': string;
228
+ 'pay.svc.label.smsVerCode': string;
229
+ 'pay.svc.button.sendSMS': string;
230
+ 'pay.svc.info.inputCode': string;
231
+ 'pay.svc.info.inputCardId': string;
232
+ 'pay.message.payining': string;
233
+ };
234
+ export interface InitLangProps {
235
+ id: string;
236
+ defaultValue?: string;
237
+ data?: any;
238
+ }
239
+ export declare const parsePlaceholder: (placeholderStr: string, data?: any) => string;
240
+ export declare const initLang: ({ id, defaultValue, data }: InitLangProps) => string;
241
+ //# sourceMappingURL=language.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"language.d.ts","sourceRoot":"","sources":["language.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyOvB,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ;AAGD,eAAO,MAAM,gBAAgB,mBAAoB,MAAM,SAAS,GAAG,WAIlE,CAAC;AAEF,eAAO,MAAM,QAAQ,+BAAgC,aAAa,WAGjE,CAAC"}
@@ -0,0 +1,247 @@
1
+ export var defaultLang = {
2
+ 'list.seleced': '已选取',
3
+ 'list.discard': '放弃修改',
4
+ 'list.action': '更多',
5
+ 'list.next': '上一条',
6
+ 'list.prev': '下一条',
7
+ 'list.subtotals': '分类汇总',
8
+ 'list.refresh': '刷新',
9
+ 'list.horizontalDisplay': '切换展示方式',
10
+ 'list.export': '所见即所导',
11
+ 'list.exportAll': '导出全部',
12
+ 'list.exportSelect': '导出所选',
13
+ 'list.size.default': '默认',
14
+ 'list.size.middle': '中等',
15
+ 'list.size.small': '紧凑',
16
+ 'list.pagination.total': '共{total}条',
17
+ 'list.total': '总计',
18
+ 'list.column.summaryTitle': '汇总',
19
+ 'list.subtotals.modal.title': '维度字段配置',
20
+ 'list.column.action': '操作',
21
+ 'list.column.sort': '排序',
22
+ 'list.expandableAll': '展开/收起所有行',
23
+ 'search.title': '查询面板',
24
+ 'message.warn.select.least': '请至少勾选一条记录',
25
+ 'message.warn.select.not': '请勾选一条记录',
26
+ 'message.warn.select.over': '只能选择一条记录',
27
+ 'message.confirm.delete': '确定删除吗?',
28
+ 'message.confirm.info': '确定{name}吗',
29
+ 'message.error.login': '登录失败',
30
+ 'message.error.request': '请求失败',
31
+ 'message.error.request.status': '请求错误',
32
+ 'message.error.network': '网络错误',
33
+ 'message.error.network.desc': '您的网络发生异常,无法连接服务器',
34
+ 'message.success.request': '请求成功',
35
+ 'message.success.login': '登录成功',
36
+ 'message.preview.tip': '预览按钮无实际触发效果',
37
+ 'login.label.username': '用户名',
38
+ 'login.label.client': '客户端',
39
+ 'login.label.password': '密码',
40
+ 'login.label.code': '验证码',
41
+ 'button.save': '保存',
42
+ 'button.ok': '确定',
43
+ 'button.cancel': '取消',
44
+ 'button.back': '返回',
45
+ 'button.delete': '删除',
46
+ 'button.submit': '提交',
47
+ 'button.search': '查询',
48
+ 'button.search.shut': '收起查询',
49
+ 'button.reset': '重置',
50
+ 'button.next': '下一步',
51
+ 'button.prev': '上一步',
52
+ 'button.select': '选择',
53
+ 'button.down.add': '向下增加一行',
54
+ 'button.down.addchild': '添加子行',
55
+ 'button.sort.up': '上移',
56
+ 'button.sort.dargDrawer': '数据排序',
57
+ 'button.sort.down': '下移',
58
+ 'button.expand': '展开',
59
+ 'button.collapse': '收起',
60
+ 'button.clicksearch': '点击查询',
61
+ 'button.config': '配置',
62
+ 'button.refresh': '刷新',
63
+ 'button.print': '打印',
64
+ 'button.rest.filter': '清空筛选',
65
+ 'button.moreform': '展开隐藏的字段',
66
+ 'condition.startWith': '开头是',
67
+ 'condition.isNull': '空',
68
+ 'condition.endWith': '结尾是',
69
+ 'condition.contains': '包含',
70
+ 'condition.notContains': '不包含',
71
+ 'condition.equals': '等于',
72
+ 'condition.notEqual': '不等于',
73
+ 'condition.greaterThan': '大于',
74
+ 'condition.greaterOrEqual': '大于等于',
75
+ 'condition.lessThan': '小于',
76
+ 'condition.lessOrEqual': '小于等于',
77
+ 'condition.in': '多选',
78
+ 'condition.between': '介于',
79
+ 'condition.beforeThan': '早于',
80
+ 'condition.afterThan': '晚于',
81
+ 'condition.isNotNull': '非空',
82
+ 'setting.menu.setting': '个人设置',
83
+ 'setting.menu.about': '关于',
84
+ 'setting.menu.logout': '退出登录',
85
+ 'setting.info.personalTitle': '个人信息',
86
+ 'setting.info.username': '用户名称',
87
+ 'setting.info.zoom': '缩放百分比',
88
+ 'setting.info.nickname': '用户昵称',
89
+ 'setting.info.phone': '手机号码',
90
+ 'setting.info.email': '用户邮箱',
91
+ 'setting.info.department': '所属部门',
92
+ 'setting.info.role': '所属角色',
93
+ 'setting.info.createDate': '创建日期',
94
+ 'setting.info.basicTitle': '基本资料',
95
+ 'setting.info.changePsw': '修改密码',
96
+ 'setting.info.preference': '偏好设置',
97
+ 'setting.info.oldPsw': '旧密码',
98
+ 'setting.info.newPsw': '新密码',
99
+ 'setting.info.surePsw': '确认新密码',
100
+ 'setting.info.isOpenNewTab': '在新浏览器标签页打开菜单',
101
+ 'setting.info.isOpenQueryCache': '是否开启页面查询缓存',
102
+ 'setting.info.shutMenu': '默认收起菜单',
103
+ 'setting.info.style': '页面风格',
104
+ 'setting.info.language': '语言',
105
+ 'setting.info.default': '标准',
106
+ 'setting.info.small': '紧凑',
107
+ 'setting.info.sex': '性别',
108
+ 'setting.info.add': '新增',
109
+ 'workflow.title': '工作流',
110
+ 'workflow.basicInfo': '基本信息',
111
+ 'workflow.status': '状态定义',
112
+ 'workflow.flow': '流转设置',
113
+ 'workflow.step0.title': '工作流基本信息',
114
+ 'workflow.step0.column.code': '工作流编码',
115
+ 'workflow.step0.column.name': '工作流名称',
116
+ 'workflow.step0.column.remark': '工作流说明',
117
+ 'workflow.step1.column.name': '状态别名',
118
+ 'workflow.step1.column.remark': '状态说明',
119
+ 'workflow.step1.column.startNode': '开始节点',
120
+ 'workflow.step1.column.endNode': '结束节点',
121
+ 'workflow.step1.title': '状态定义',
122
+ 'workflow.step1.desc': '支持添加、编辑和删除工作流状态。',
123
+ 'workflow.step1.tip': '注:拖动行可以调整状态顺序哦。(状态的顺序会体现在流转时状态的展现和列表排序中)',
124
+ 'workflow.step1.button.add': '添加状态',
125
+ 'workflow.step1.add.modal.title': '添加状态',
126
+ 'workflow.step1.add.modal.column.code': '状态原名',
127
+ 'workflow.step1.add.modal.column.name': '状态别名',
128
+ 'workflow.step1.add.modal.column.remark': '状态说明',
129
+ 'page.header.tool.collect': '收藏',
130
+ 'page.header.tool.uncollect': '取消收藏',
131
+ 'page.header.tool.msg': '反馈意见',
132
+ 'page.header.tool.linkOrDislike': '赞/踩',
133
+ 'page.header.tool.help': '帮助文档',
134
+ 'page.header.tool.remark': '查看说明',
135
+ 'page.dimension': '维度',
136
+ 'page.dimension.placeholder': '请选择维度',
137
+ 'page.quota': '指标',
138
+ 'page.quota.placeholder': '请选择指标',
139
+ 'page.quota.add': '新增指标',
140
+ 'placeholder.global.search': '事务代码',
141
+ 'prompt.document': '使用文档',
142
+ 'prompt.copyCol': '复制',
143
+ 'prompt.asc': '升序',
144
+ 'prompt.desc': '降序',
145
+ 'prompt.nameTemplate': '模板名称',
146
+ 'prompt.placeholderTemplate': '请输入模板名称',
147
+ 'prompt.shareTemplate': '分享给其他同事',
148
+ 'prompt.setTemplate': '模板设置',
149
+ 'prompt.delTemplate': '删除模板',
150
+ 'prompt.personalTemplate': '个人模板',
151
+ 'prompt.summaryTemplate': '分类汇总模板',
152
+ 'prompt.publicTemplate': '公共模板',
153
+ 'prompt.copyTemplate': '复制成个人模板',
154
+ 'prompt.feedback': '反馈中心',
155
+ 'prompt.information': '信息',
156
+ 'prompt.downloadCenter': '下载中心',
157
+ 'prompt.tableColumnSet': '表格列设置',
158
+ 'prompt.fixed.left': '固定在左侧',
159
+ 'prompt.fixed.right': '固定在右侧',
160
+ 'timeline.modal.title': '状态记录',
161
+ 'timeline.tag.popover': '点击查询更多',
162
+ 'brick.view.placeholder': '选择一个View',
163
+ 'brick.classification': '分类型',
164
+ 'brick.quantitative': '数量型',
165
+ 'brick.any': '任意型',
166
+ 'brick.dimension': '维度',
167
+ 'brick.quota': '指标',
168
+ 'brick.col': '列',
169
+ 'brick.filter': '筛选',
170
+ 'brick.drag': '拖拽',
171
+ 'brick.field': '字段',
172
+ 'brick.title.placeholder': '请输入Brick名称',
173
+ 'brick.search.placeholder': '输入查询字段',
174
+ 'brick.title.warning': 'Brick名称不能为空',
175
+ 'brick.describe.placeholder': '请输入描述...',
176
+ 'brick.view.warning': '请选择一个View',
177
+ 'brick.config.modal.title': '配置设置',
178
+ 'brick.config.modal.form.searchShowType': '查询展示方式',
179
+ 'brick.config.modal.form.searchShowType.modal': '弹窗',
180
+ 'brick.config.modal.form.searchShowType.panel': '面板',
181
+ 'brick.config.modal.form.searchShowType.slide': '右滑',
182
+ 'brick.config.modal.form.firstLoad': '首次不加载',
183
+ 'cashier.page.title': '收银',
184
+ 'cashier.tab.title': '新建订单',
185
+ 'cashier.tab.button.add': '挂单',
186
+ 'cashier.form.salesman': '导购员',
187
+ 'cashier.form.salesman.placeholder': '请选择导购员',
188
+ 'cashier.form.vip_no': '会员',
189
+ 'cashier.form.vip_no.placeholder': '会员卡号/手机/二维码',
190
+ 'cashier.form.sku': '商品',
191
+ 'cashier.form.sku.placeholder': '商品编号/扫条码',
192
+ 'cashier.form.remark': '订单备注',
193
+ 'cashier.form.remark.placeholder': '请输入订单备注',
194
+ 'cashier.text.sales_qty': '商品数',
195
+ 'cashier.text.list_amt': '吊牌总价',
196
+ 'cashier.text.dis_rate': '平均折扣',
197
+ 'cashier.text.disc_amt': '优惠总计',
198
+ 'cashier.text.payment_amt': '待收金额',
199
+ 'cashier.columns.strategy': '促销优惠',
200
+ 'rules.warning.please': '请',
201
+ 'rules.warning.input': '输入',
202
+ 'rules.warning.select': '选择',
203
+ 'app.search.modal': '筛选',
204
+ 'app.search.modal.title': '全部筛选',
205
+ 'app.search.modal.selectAll': '全选',
206
+ 'app.search.modal.button.search': '查询',
207
+ 'app.search.modal.button.advancedSearc': '高级查询',
208
+ 'app.search.txt.and': '且',
209
+ 'app.search.txt.or': '或',
210
+ 'app.search.txt.be': '当',
211
+ 'app.search.modal.button.reset': '重置',
212
+ 'pay.title.pay': '支付',
213
+ 'pay.title.order': '订单',
214
+ 'pay.info.surePay': '确认支付吗?',
215
+ 'pay.button.pay': '支付',
216
+ 'pay.button.reload': '支付结果刷新',
217
+ 'pay.button.complete': '完成订单',
218
+ 'pay.button.cancel': '关闭',
219
+ 'pay.label.receivable': '应收',
220
+ 'pay.label.received': '已收',
221
+ 'pay.label.toBeReceived': '待收',
222
+ 'pay.label.change': '找零',
223
+ 'pay.svc.title': '选择储值卡',
224
+ 'pay.svc.label.payValue': '支付金额',
225
+ 'pay.svc.label.balance': '余额',
226
+ 'pay.svc.label.cardNo': '卡号',
227
+ 'pay.svc.label.openTime': '开卡时间',
228
+ 'pay.svc.label.smsVerCode': '短信验证码',
229
+ 'pay.svc.button.sendSMS': '获取验证码',
230
+ 'pay.svc.info.inputCode': '请输入验证码',
231
+ 'pay.svc.info.inputCardId': '请输入卡号',
232
+ 'pay.message.payining': '正在支付中....'
233
+ };
234
+ //
235
+ export var parsePlaceholder = function parsePlaceholder(placeholderStr, data) {
236
+ var _placeholderStr$match;
237
+ var keys = (placeholderStr === null || placeholderStr === void 0 || (_placeholderStr$match = placeholderStr.match(/\{([\s\S]*?)\}/)) === null || _placeholderStr$match === void 0 ? void 0 : _placeholderStr$match[0]) || '';
238
+ // console.log(keys);
239
+ return data ? placeholderStr === null || placeholderStr === void 0 ? void 0 : placeholderStr.replace(keys, data) : placeholderStr;
240
+ };
241
+ export var initLang = function initLang(_ref) {
242
+ var id = _ref.id,
243
+ defaultValue = _ref.defaultValue,
244
+ data = _ref.data;
245
+ var language = JSON.parse(window.localStorage.getItem('INITLANG') || '{}');
246
+ return parsePlaceholder(language[id] || defaultValue || defaultLang[id], data);
247
+ };
@@ -0,0 +1,15 @@
1
+ export declare const re: RegExp;
2
+ export declare const isDomain: boolean;
3
+ export declare const getToken: () => any;
4
+ export declare type ResponseType = {
5
+ msg?: string;
6
+ code: number;
7
+ data: any;
8
+ isPlay?: boolean;
9
+ };
10
+ /**
11
+ * 配置request请求时的默认参数
12
+ */
13
+ declare const request: import("umi-request").RequestMethod<false>;
14
+ export default request;
15
+ //# sourceMappingURL=request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["request.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,EAAE,QAAU,CAAC;AAC1B,eAAO,MAAM,QAAQ,SAEpB,CAAC;AAEF,eAAO,MAAM,QAAQ,WAGpB,CAAC;AAMF,oBAAY,YAAY,GAAG;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,GAAG,CAAC;IACV,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAyDF;;GAEG;AACH,QAAA,MAAM,OAAO,4CAGX,CAAC;AA6FH,eAAe,OAAO,CAAC"}