@lm_fe/env 0.2.2 → 0.2.6

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # yargs-parser
1
+ # yargs-parser @0@
2
2
 
3
3
 
4
4
 
package/dist/index.js CHANGED
@@ -2086,17 +2086,6 @@ var downsScreenOptions = [{
2086
2086
  label: '高风险',
2087
2087
  value: 2
2088
2088
  }];
2089
- // 产前诊断
2090
- var prenatalDiagnosisOptions = [{
2091
- label: '正常',
2092
- value: 1
2093
- }, {
2094
- label: '异常',
2095
- value: 2
2096
- }, {
2097
- label: '拒绝产前诊断和知情同意书',
2098
- value: 4
2099
- }];
2100
2089
  // 受孕方式
2101
2090
  var conceiveModeOptions = [{
2102
2091
  label: '自然',
@@ -2335,7 +2324,6 @@ var otherOptions = {
2335
2324
  rhythmOptions: rhythmOptions,
2336
2325
  liverOptions: liverOptions,
2337
2326
  downsScreenOptions: downsScreenOptions,
2338
- prenatalDiagnosisOptions: prenatalDiagnosisOptions,
2339
2327
  conceiveModeOptions: conceiveModeOptions,
2340
2328
  engagementOptions: engagementOptions,
2341
2329
  hbOptions: hbOptions,
@@ -2919,9 +2907,10 @@ var MchcEnv = /*#__PURE__*/function (_AppEnv) {
2919
2907
  key: "get_pathname",
2920
2908
  value: function get_pathname() {
2921
2909
  var p = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : location.pathname;
2910
+ var decoded = decodeURI(p);
2922
2911
  var pp = mchcMacro.PUBLIC_PATH;
2923
- if (!isString(p)) return '/';
2924
- return pp === '/' ? p : p.replace(pp, '/');
2912
+ if (!isString(decoded)) return '/';
2913
+ return pp === '/' ? decoded : decoded.replace(pp, '/');
2925
2914
  }
2926
2915
  }, {
2927
2916
  key: "set_pathname",
@@ -78,10 +78,6 @@ export declare const otherOptions: {
78
78
  label: string;
79
79
  value: number;
80
80
  }[];
81
- prenatalDiagnosisOptions: {
82
- label: string;
83
- value: number;
84
- }[];
85
81
  conceiveModeOptions: {
86
82
  label: string;
87
83
  value: number;
@@ -48,7 +48,10 @@ export declare const _getSystemConfig: () => (dispatch: Dispatch) => Promise<Par
48
48
  医生端_复诊编辑控制?: boolean;
49
49
  高危标记多选?: number;
50
50
  病人标签多选?: number;
51
+ 旧版量表隐藏?: string[];
52
+ 禁用量表自动弹出?: boolean;
51
53
  头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
54
+ 量表拓展?: import("@lm_fe/utils").ICommonOption[];
52
55
  医生端_BMI曲线类型?: number;
53
56
  顶部工具栏隐藏?: boolean;
54
57
  styles?: Partial<{
@@ -63,7 +63,10 @@ declare class MchcStore {
63
63
  医生端_复诊编辑控制?: boolean;
64
64
  高危标记多选?: number;
65
65
  病人标签多选?: number;
66
+ 旧版量表隐藏?: string[];
67
+ 禁用量表自动弹出?: boolean;
66
68
  头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
69
+ 量表拓展?: import("@lm_fe/utils").ICommonOption[];
67
70
  医生端_BMI曲线类型?: number;
68
71
  顶部工具栏隐藏?: boolean;
69
72
  styles?: Partial<{
@@ -48,7 +48,10 @@ export type ISystemConfig = Partial<{
48
48
  医生端_复诊编辑控制?: boolean;
49
49
  高危标记多选?: number;
50
50
  病人标签多选?: number;
51
+ 旧版量表隐藏?: string[];
52
+ 禁用量表自动弹出?: boolean;
51
53
  头部信息拓展?: ICommonOption[];
54
+ 量表拓展?: ICommonOption[];
52
55
  医生端_BMI曲线类型?: number;
53
56
  顶部工具栏隐藏?: boolean;
54
57
  styles?: Partial<{
@@ -94,6 +94,7 @@ export declare const mchcUtils: {
94
94
  calc_bmi: typeof uu.getBMI;
95
95
  calc_edd_by_IVF: typeof uu.calc_edd_by_IVF;
96
96
  calc_edd_by_ntExam: typeof uu.calc_edd_by_ntExam;
97
+ calc_number: typeof uu.calc_number;
97
98
  callable: <TValue, TObj extends Record<string | number | symbol, TValue>, TFunc extends (...args: any) => any>(obj: TObj, fn: (self: TObj) => TFunc) => TObj & TFunc;
98
99
  camel: (str: string) => string;
99
100
  capitalize: (str: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lm_fe/env",
3
- "version": "0.2.2",
3
+ "version": "0.2.6",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -23,11 +23,11 @@
23
23
  "author": "",
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@lm_fe/utils": "0.2.2",
26
+ "@lm_fe/utils": "^0.2.6",
27
27
  "dayjs": "^1.11.13"
28
28
  },
29
29
  "devDependencies": {
30
30
  "rollup": "^2.70.2"
31
31
  },
32
- "gitHead": "1ff13bdf8a20c78515bef188000c3855aa4663a5"
32
+ "gitHead": "6e298f7ef7ab4c77f79d02fd3f1224bfcf227f8b"
33
33
  }