@lm_fe/core 0.2.9 → 0.2.10
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/dist/a_chunks/index.js +10 -2
- package/dist/exports.d.ts +150 -0
- package/dist/index.js +1 -1
- package/package.json +10 -10
package/dist/a_chunks/index.js
CHANGED
|
@@ -11,7 +11,7 @@ function _ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbo
|
|
|
11
11
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : _ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
12
|
import { StyleProvider, legacyLogicalPropertiesTransformer } from '@ant-design/cssinjs';
|
|
13
13
|
import { OkButton, MyIcon, MyLazyComponent, MountMchcModal as MountMchcModal$1 } from '@lm_fe/components_m';
|
|
14
|
-
import { mchcEnv, mchcConfig, mchcEvent, mchcUtils,
|
|
14
|
+
import { mchcEnv, mchcConfig, mchcEvent, mchcUtils, mchcLogger, mchcMacro, mchcBoot, mchcDriver, mchcRouterContainer__, MchcRouterContainer } from '@lm_fe/env';
|
|
15
15
|
import { mchcModal__, safe_navigate, MountMchcModal } from '@lm_fe/pages';
|
|
16
16
|
import { fubaoRoutes } from '@lm_fe/pages-fubao';
|
|
17
17
|
import { mchcRoutes } from '@lm_fe/pages-mchc';
|
|
@@ -1963,6 +1963,13 @@ function use_task() {
|
|
|
1963
1963
|
});
|
|
1964
1964
|
fetch_user_info();
|
|
1965
1965
|
fetch_sys_config();
|
|
1966
|
+
history.listen(function (loc, act) {
|
|
1967
|
+
mchcLogger.log('history', {
|
|
1968
|
+
loc: loc,
|
|
1969
|
+
act: act,
|
|
1970
|
+
len: history.length
|
|
1971
|
+
});
|
|
1972
|
+
});
|
|
1966
1973
|
}, []);
|
|
1967
1974
|
function fetch_user_info() {
|
|
1968
1975
|
var in_login_page = location.pathname.includes('/login');
|
|
@@ -2324,6 +2331,7 @@ var mchc_modal = set_global_ret(mchcModal__, 'mchc_modal');
|
|
|
2324
2331
|
var mchc_macro = set_global_ret(mchcMacro, 'mchc_macro');
|
|
2325
2332
|
var mchc_event = set_global_ret(mchcEvent, 'mchc_event');
|
|
2326
2333
|
var mchc_routes = set_global_ret(mchcRoutes, 'mchc_routes');
|
|
2334
|
+
var mchc_config = set_global_ret(mchcConfig, 'mchc_config');
|
|
2327
2335
|
var mchc_routes_container = set_global_ret(mchcRouterContainer__, 'mchc_routes_container');
|
|
2328
2336
|
var Mchc_Router_Container = set_global_ret(MchcRouterContainer, 'Mchc_Router_Container');
|
|
2329
|
-
export { Mchc_Router_Container as M, mchc_modal as a, boot as b, mchc_macro as c, mchc_event as d, mchc_routes as e,
|
|
2337
|
+
export { Mchc_Router_Container as M, mchc_modal as a, boot as b, mchc_macro as c, mchc_event as d, mchc_routes as e, mchc_config as f, globalStore as g, mchc_routes_container as h, logout as l, mchc_env as m, passwordLogin as p, styleInject as s, useEventStore as u };
|
package/dist/exports.d.ts
CHANGED
|
@@ -107,5 +107,155 @@ export declare const mchc_routes: {
|
|
|
107
107
|
"/visit-management/telephone-followup-record": import("react").LazyExoticComponent<typeof import("@lm_fe/pages-mchc/dist/pages/visit-management/telephone-followup-record").default>;
|
|
108
108
|
"/visit-management/timeout-remind-record": import("react").LazyExoticComponent<typeof import("@lm_fe/pages-mchc/dist/pages/visit-management/timeout-remind-record").default>;
|
|
109
109
|
};
|
|
110
|
+
export declare const mchc_config: {
|
|
111
|
+
get<T extends keyof import("@lm_fe/env").ISystemConfig>(key: T): Partial<{
|
|
112
|
+
id: number;
|
|
113
|
+
systemName: string;
|
|
114
|
+
systemMode: "devlopment" | "test" | "production";
|
|
115
|
+
systemTheme: string;
|
|
116
|
+
expireTime: number;
|
|
117
|
+
openWebsocket: boolean;
|
|
118
|
+
websocketAddress: "ws://127.0.0.1:8087/Laputa";
|
|
119
|
+
auditRestriction: boolean;
|
|
120
|
+
openIntro: boolean;
|
|
121
|
+
加密登录: boolean;
|
|
122
|
+
本地数据存储: "Local" | "Session";
|
|
123
|
+
fetalMonitor: string;
|
|
124
|
+
openHighriskSign: boolean;
|
|
125
|
+
highriskVersion: number;
|
|
126
|
+
curveVersion: "nichd";
|
|
127
|
+
prenatalDiagnosis: boolean;
|
|
128
|
+
CaseReport: boolean;
|
|
129
|
+
FetalMonitor: boolean;
|
|
130
|
+
InformedConsent: boolean;
|
|
131
|
+
pregnancyInitial: "tab" | "vertical";
|
|
132
|
+
isOpenDiabetes: boolean;
|
|
133
|
+
diagnosisStyle: "tab";
|
|
134
|
+
diagnosisFollowUpRecord: boolean;
|
|
135
|
+
diagnosisLaboratoryReport: boolean;
|
|
136
|
+
diagnosisPrenatalVisit: boolean;
|
|
137
|
+
tablePrintBtn: boolean;
|
|
138
|
+
homeStatistics: boolean;
|
|
139
|
+
highriskStatistics: boolean;
|
|
140
|
+
customerService: true;
|
|
141
|
+
highriskType: string;
|
|
142
|
+
禁止编辑高危等级: boolean;
|
|
143
|
+
系统环境: any;
|
|
144
|
+
护士端_禁止编辑高危因素_传染病: boolean;
|
|
145
|
+
高危管理_允许手输传染病: boolean;
|
|
146
|
+
护士端_审核禁用保存: boolean;
|
|
147
|
+
医生端_模块隐藏: string[];
|
|
148
|
+
护士端_模块隐藏: string[];
|
|
149
|
+
doctorOpenWebsocket: boolean;
|
|
150
|
+
VTE预防用药筛查表: string;
|
|
151
|
+
nurseHide: import("@lm_fe/utils").ICommonOption[];
|
|
152
|
+
medicalHide: import("@lm_fe/utils").ICommonOption[];
|
|
153
|
+
PDF预览组件版本?: string;
|
|
154
|
+
老人模式?: boolean;
|
|
155
|
+
列表一页显示条数?: number;
|
|
156
|
+
模板编辑器?: "SDE" | "XEMR";
|
|
157
|
+
医生端_检验检查时间轴隐藏?: boolean;
|
|
158
|
+
医生端_复诊按钮浮动?: boolean;
|
|
159
|
+
医生端_复诊左侧隐藏?: boolean;
|
|
160
|
+
医生端_复诊编辑控制?: boolean;
|
|
161
|
+
高危标记多选?: number;
|
|
162
|
+
病人标签多选?: number;
|
|
163
|
+
旧版量表隐藏?: string[];
|
|
164
|
+
禁用量表自动弹出?: boolean;
|
|
165
|
+
头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
166
|
+
量表拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
167
|
+
医生端_BMI曲线类型?: number;
|
|
168
|
+
签名方式?: "CA\u7B7E\u540D\u5E76\u4FDD\u5B58" | "CA\u7B7E\u540D";
|
|
169
|
+
顶部工具栏隐藏?: boolean;
|
|
170
|
+
styles?: Partial<{
|
|
171
|
+
compact: boolean;
|
|
172
|
+
darkTheme: boolean;
|
|
173
|
+
fontSize: number;
|
|
174
|
+
colorPrimary: string;
|
|
175
|
+
colorBorder: string;
|
|
176
|
+
colorTextDisabled: string;
|
|
177
|
+
colorBgContainerDisabled: string;
|
|
178
|
+
colorTextPlaceholder: string;
|
|
179
|
+
cus_fontBold: boolean;
|
|
180
|
+
labelColor: string;
|
|
181
|
+
rowHoverBg: string;
|
|
182
|
+
labelFontSize: number;
|
|
183
|
+
}>;
|
|
184
|
+
}>[T];
|
|
185
|
+
getAll(): Partial<{
|
|
186
|
+
id: number;
|
|
187
|
+
systemName: string;
|
|
188
|
+
systemMode: "devlopment" | "test" | "production";
|
|
189
|
+
systemTheme: string;
|
|
190
|
+
expireTime: number;
|
|
191
|
+
openWebsocket: boolean;
|
|
192
|
+
websocketAddress: "ws://127.0.0.1:8087/Laputa";
|
|
193
|
+
auditRestriction: boolean;
|
|
194
|
+
openIntro: boolean;
|
|
195
|
+
加密登录: boolean;
|
|
196
|
+
本地数据存储: "Local" | "Session";
|
|
197
|
+
fetalMonitor: string;
|
|
198
|
+
openHighriskSign: boolean;
|
|
199
|
+
highriskVersion: number;
|
|
200
|
+
curveVersion: "nichd";
|
|
201
|
+
prenatalDiagnosis: boolean;
|
|
202
|
+
CaseReport: boolean;
|
|
203
|
+
FetalMonitor: boolean;
|
|
204
|
+
InformedConsent: boolean;
|
|
205
|
+
pregnancyInitial: "tab" | "vertical";
|
|
206
|
+
isOpenDiabetes: boolean;
|
|
207
|
+
diagnosisStyle: "tab";
|
|
208
|
+
diagnosisFollowUpRecord: boolean;
|
|
209
|
+
diagnosisLaboratoryReport: boolean;
|
|
210
|
+
diagnosisPrenatalVisit: boolean;
|
|
211
|
+
tablePrintBtn: boolean;
|
|
212
|
+
homeStatistics: boolean;
|
|
213
|
+
highriskStatistics: boolean;
|
|
214
|
+
customerService: true;
|
|
215
|
+
highriskType: string;
|
|
216
|
+
禁止编辑高危等级: boolean;
|
|
217
|
+
系统环境: any;
|
|
218
|
+
护士端_禁止编辑高危因素_传染病: boolean;
|
|
219
|
+
高危管理_允许手输传染病: boolean;
|
|
220
|
+
护士端_审核禁用保存: boolean;
|
|
221
|
+
医生端_模块隐藏: string[];
|
|
222
|
+
护士端_模块隐藏: string[];
|
|
223
|
+
doctorOpenWebsocket: boolean;
|
|
224
|
+
VTE预防用药筛查表: string;
|
|
225
|
+
nurseHide: import("@lm_fe/utils").ICommonOption[];
|
|
226
|
+
medicalHide: import("@lm_fe/utils").ICommonOption[];
|
|
227
|
+
PDF预览组件版本?: string;
|
|
228
|
+
老人模式?: boolean;
|
|
229
|
+
列表一页显示条数?: number;
|
|
230
|
+
模板编辑器?: "SDE" | "XEMR";
|
|
231
|
+
医生端_检验检查时间轴隐藏?: boolean;
|
|
232
|
+
医生端_复诊按钮浮动?: boolean;
|
|
233
|
+
医生端_复诊左侧隐藏?: boolean;
|
|
234
|
+
医生端_复诊编辑控制?: boolean;
|
|
235
|
+
高危标记多选?: number;
|
|
236
|
+
病人标签多选?: number;
|
|
237
|
+
旧版量表隐藏?: string[];
|
|
238
|
+
禁用量表自动弹出?: boolean;
|
|
239
|
+
头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
240
|
+
量表拓展?: import("@lm_fe/utils").ICommonOption[];
|
|
241
|
+
医生端_BMI曲线类型?: number;
|
|
242
|
+
签名方式?: "CA\u7B7E\u540D\u5E76\u4FDD\u5B58" | "CA\u7B7E\u540D";
|
|
243
|
+
顶部工具栏隐藏?: boolean;
|
|
244
|
+
styles?: Partial<{
|
|
245
|
+
compact: boolean;
|
|
246
|
+
darkTheme: boolean;
|
|
247
|
+
fontSize: number;
|
|
248
|
+
colorPrimary: string;
|
|
249
|
+
colorBorder: string;
|
|
250
|
+
colorTextDisabled: string;
|
|
251
|
+
colorBgContainerDisabled: string;
|
|
252
|
+
colorTextPlaceholder: string;
|
|
253
|
+
cus_fontBold: boolean;
|
|
254
|
+
labelColor: string;
|
|
255
|
+
rowHoverBg: string;
|
|
256
|
+
labelFontSize: number;
|
|
257
|
+
}>;
|
|
258
|
+
}>;
|
|
259
|
+
};
|
|
110
260
|
export declare const mchc_routes_container: MchcRouterContainer;
|
|
111
261
|
export declare const Mchc_Router_Container: typeof MchcRouterContainer;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { M as Mchc_Router_Container, b as boot, g as globalStore, l as logout, m as mchc_env, d as mchc_event, c as mchc_macro, a as mchc_modal, e as mchc_routes,
|
|
1
|
+
export { M as Mchc_Router_Container, b as boot, g as globalStore, l as logout, f as mchc_config, m as mchc_env, d as mchc_event, c as mchc_macro, a as mchc_modal, e as mchc_routes, h as mchc_routes_container, p as passwordLogin, u as useEventStore } from './a_chunks/index.js';
|
|
2
2
|
import '@ant-design/cssinjs';
|
|
3
3
|
import '@lm_fe/components_m';
|
|
4
4
|
import '@lm_fe/env';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lm_fe/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"react-router-dom": "^5.2.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@lm_fe/components": "^0.2.
|
|
43
|
-
"@lm_fe/components_m": "^0.2.
|
|
44
|
-
"@lm_fe/env": "^0.2.
|
|
45
|
-
"@lm_fe/pages": "^0.2.
|
|
46
|
-
"@lm_fe/pages-fubao": "^0.2.
|
|
47
|
-
"@lm_fe/pages-mchc": "^0.2.
|
|
48
|
-
"@lm_fe/provoke": "^0.2.
|
|
42
|
+
"@lm_fe/components": "^0.2.10",
|
|
43
|
+
"@lm_fe/components_m": "^0.2.10",
|
|
44
|
+
"@lm_fe/env": "^0.2.10",
|
|
45
|
+
"@lm_fe/pages": "^0.2.10",
|
|
46
|
+
"@lm_fe/pages-fubao": "^0.2.10",
|
|
47
|
+
"@lm_fe/pages-mchc": "^0.2.10",
|
|
48
|
+
"@lm_fe/provoke": "^0.2.10",
|
|
49
49
|
"@lm_fe/scripts": "*",
|
|
50
|
-
"@lm_fe/service": "^0.2.
|
|
50
|
+
"@lm_fe/service": "^0.2.10",
|
|
51
51
|
"@lm_fe/utils": "^0.2.8"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "b6026496d66bc01080920ddc6a4cd3b32e060595"
|
|
54
54
|
}
|