@lm_fe/env 0.1.201 → 0.2.5

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.
@@ -1,3 +1,7 @@
1
+ import { all_files } from '@lm_fe/static';
2
+ type TCB = (a: typeof all_files) => string;
3
+ export declare function gs(cb: TCB): string;
4
+ export declare function ds(cb: (TCB | string)[]): Promise<Element[]>;
1
5
  export interface IMacro {
2
6
  appName: any;
3
7
  devMode: false;
@@ -23,3 +27,4 @@ export declare function getMacroValue<T extends keyof IMacro>(key: T): Partial<I
23
27
  export declare function isDev(): boolean;
24
28
  export declare function getMonacoLoaderPath(): string;
25
29
  export declare const mchcMacro: Partial<IMacro>;
30
+ export {};
@@ -1 +1 @@
1
- export declare const 国家: () => import("./types").ICommonOption[], 国家s: () => import("./types").ICommonOption[];
1
+ export declare const 国家: () => import("@lm_fe/utils").ICommonOption[], 国家s: () => import("@lm_fe/utils").ICommonOption[];
@@ -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;
@@ -6,6 +6,27 @@ export declare const AddresstypeMapping: () => {
6
6
  label: string;
7
7
  }[];
8
8
  export declare const pre_option_map: {
9
+ 乳房情况: () => ICommonOption[];
10
+ 出量: () => ICommonOption[];
11
+ 入量: () => ICommonOption[];
12
+ 颜色: () => ICommonOption[];
13
+ 膝反射: () => ICommonOption[];
14
+ 面色: () => ICommonOption[];
15
+ 反应: () => ICommonOption[];
16
+ 哭声: () => ICommonOption[];
17
+ 吸吮力: () => ICommonOption[];
18
+ 脐带: () => ICommonOption[];
19
+ 臀部: () => ICommonOption[];
20
+ 大便: () => ICommonOption[];
21
+ 小便: () => ICommonOption[];
22
+ 喂养: () => ICommonOption[];
23
+ 头颈: () => ICommonOption[];
24
+ 腹部: () => ICommonOption[];
25
+ 生殖器: () => ICommonOption[];
26
+ 四肢: () => ICommonOption[];
27
+ 意识: () => ICommonOption[];
28
+ 宫缩: () => ICommonOption[];
29
+ 先露高低: () => ICommonOption[];
9
30
  abo血型: () => ICommonOption[];
10
31
  rh血型: () => ICommonOption[];
11
32
  乳房情况s: () => ICommonOption[];
@@ -1,15 +1 @@
1
- export interface ICommonOption {
2
- value?: any;
3
- label?: string;
4
- prefix?: string;
5
- sufix?: string;
6
- suffix?: string;
7
- props?: any;
8
- warning?: boolean;
9
- parentheses?: boolean;
10
- exclusive?: boolean;
11
- inputType?: string;
12
- id?: any;
13
- text?: any;
14
- code?: any;
15
- }
1
+ export { ICommonOption } from '@lm_fe/utils';
@@ -2,7 +2,6 @@ export declare const ACTION_TYPE: {
2
2
  USER_LOGIN: string;
3
3
  USER_LOGOUT: string;
4
4
  INIT_USER: string;
5
- INIT_DICTIONARY: string;
6
5
  ADD_TAB: string;
7
6
  DELETE_TAB: string;
8
7
  DELETE_ALL_TAB: string;
@@ -11,15 +10,12 @@ export declare const ACTION_TYPE: {
11
10
  CHANGE_WOMEN_EXAM_RECORD_EDITING_ID: string;
12
11
  INIT_HIGH_RISK_WS: string;
13
12
  PRENATAL_VISIT_HEADERINFO: string;
14
- PRENATAL_VISIT_MAIN_PREGNANCY: string;
15
- PRENATAL_VISIT_MAIN_DIAGNOSESWORD: string;
16
13
  PRENATAL_VISIT_MAIN_DIAGNOSES: string;
17
14
  PRENATAL_VISIT_MAIN_DIAGNOSESTEMPLATE: string;
18
15
  PRENATAL_VISIT_MAIN_HIGHRISKDIAGNOSES: string;
19
16
  PRENATAL_VISIT_MAIN_HIGHRISKSIGN: string;
20
17
  PRENATAL_VISIT_MAIN_HIGHRISK: string;
21
18
  PRENATAL_VISIT_MAIN_TOLAC: string;
22
- PRENATAL_VISIT_MAIN_SCREENING: string;
23
19
  PRENATAL_VISIT_MAIN_PREECLAMPSIA: string;
24
20
  PRENATAL_VISIT_MAIN_PREVENTPREECLAMPSIA: string;
25
21
  PRENATAL_VISIT_MAIN_SYPHILIS: string;
@@ -27,7 +23,6 @@ export declare const ACTION_TYPE: {
27
23
  PRENATAL_VISIT_WEBSOCKET: string;
28
24
  PRENATAL_VISIT_WEBSOCKET_SUM_CHANGE: string;
29
25
  PRENATAL_VISIT_WEBSOCKET_DEL: string;
30
- PRENATAL_VISIT_WEBSOCKET_LEVEL: string;
31
26
  PRENATAL_VISIT_WEBSOCKET_LEVEL_NEW: string;
32
27
  PRENATAL_VISIT_WEBSOCKET_CANCLEFORM: string;
33
28
  PRENATAL_VISIT_WEBSOCKET_CHANGE_VISIBLE: string;
@@ -38,11 +33,8 @@ export declare const ACTION_TYPE: {
38
33
  PRENATAL_DIAGNOSIS_CHANGE_PATIENT: string;
39
34
  PRENATAL_DIAGNOSIS_OPEN_SPIN: string;
40
35
  PRENATAL_DIAGNOSIS_CLOSE_SPIN: string;
41
- UPDATE_COLLAPSED: string;
42
- FORMDESCRIPTIONS_INIT: string;
43
36
  GET_SYSTEM_CONFIG: string;
44
37
  UPDATE_SYSTEM_CONFIG: string;
45
- UPDATE_SYSTEM_THEME: string;
46
38
  UPDATE_SOCKET_STATE: string;
47
39
  UPDATE_ACTIVE_KEY: string;
48
40
  UPDATE_ARTICLE_TYPE: string;
@@ -1,25 +1,17 @@
1
1
  import { Dispatch } from 'redux';
2
2
  /**初始化高位标记ws实例 */
3
3
  export declare const initRiskWs: (ws: any) => (dispatch: Dispatch) => void;
4
- /** 获取孕册数据*/
5
- export declare const getPregnancyData: (pregnancyId: string) => (dispatch: Dispatch) => Promise<any>;
6
4
  /**保存头部信息 */
7
5
  export declare const saveHeaderInfo: (data: any) => (dispatch: Dispatch) => void;
8
- /** 诊断搜索词*/
9
- export declare const setDiagnosesWord: (data: string) => (dispatch: Dispatch) => Promise<void>;
10
- export declare const changeDiagnosesTemplate: (data: boolean) => (dispatch: Dispatch) => Promise<void>;
11
6
  /** 获取诊断数据*/
12
7
  export declare const getDiagnosesList: (pregnancyId: string) => (dispatch: Dispatch) => Promise<void>;
13
8
  /** 获取高危诊断*/
14
9
  export declare const getHighriskDiagnosis: (pregnancyId: string) => (dispatch: Dispatch) => Promise<void>;
15
10
  /** 修改诊断数据*/
16
11
  export declare const setDiagnosesList: (data: any) => (dispatch: Dispatch) => Promise<void>;
17
- /** 获取高危因素标记数据*/
18
- export declare const getHighriskSign: (pregnancyId: string) => (dispatch: Dispatch) => Promise<void>;
19
12
  /** 修改高危因素标记数据*/
20
13
  export declare const setHighriskSign: (data: any) => (dispatch: Dispatch) => Promise<void>;
21
14
  export declare const changeTolac: (isShowTolac: boolean) => (dispatch: Dispatch) => void;
22
- export declare const changeScreening: (isShowScreening: boolean) => (dispatch: Dispatch) => void;
23
15
  export declare const changePreeclampsia: (isShowPreeclampsia: boolean) => (dispatch: Dispatch) => void;
24
16
  export declare const changePreventPreeclampsia: (isShowPreventPreeclampsia: boolean) => (dispatch: Dispatch) => void;
25
17
  export declare const changeSyphilis: (isShowSyphilis: boolean) => (dispatch: Dispatch) => void;
@@ -28,7 +20,6 @@ export declare const initWebsocketInstance: (instance: any) => (dispatch: Dispat
28
20
  export declare const changeWebsocket: (data: any) => (dispatch: Dispatch, getState: any) => void;
29
21
  export declare const changewWebsocketSum: () => (dispatch: Dispatch, getState: any) => void;
30
22
  export declare const delWebsocketMultierm: () => (dispatch: Dispatch) => void;
31
- export declare const changeWebsocketLevel: (data: any) => (dispatch: Dispatch) => void;
32
23
  export declare const changeWebsocketLevelNew: (data: any) => (dispatch: Dispatch) => void;
33
24
  export declare const changeWebsocketCaseFormCalcle: (type: string) => (dispatch: Dispatch) => void;
34
25
  export declare const changeVisibleIsWebsocket: () => (dispatch: Dispatch) => void;
@@ -1,8 +1,73 @@
1
1
  import { Dispatch } from 'redux';
2
- import { ISystemConfig } from '../types';
3
- export declare const initFormDescriptions: () => (dispatch: Dispatch) => Promise<void>;
4
- export declare const _getSystemConfig: () => (dispatch: Dispatch) => Promise<ISystemConfig>;
2
+ export declare const _getSystemConfig: () => (dispatch: Dispatch) => Promise<Partial<{
3
+ id: number;
4
+ systemName: string;
5
+ systemMode: "devlopment" | "test" | "production";
6
+ systemTheme: string;
7
+ expireTime: number;
8
+ openWebsocket: boolean;
9
+ websocketAddress: "ws://127.0.0.1:8087/Laputa";
10
+ auditRestriction: boolean;
11
+ openIntro: boolean;
12
+ fetalMonitor: string;
13
+ openHighriskSign: boolean;
14
+ highriskVersion: number;
15
+ curveVersion: "nichd";
16
+ prenatalDiagnosis: boolean;
17
+ CaseReport: boolean;
18
+ FetalMonitor: boolean;
19
+ InformedConsent: boolean;
20
+ pregnancyInitial: "tab" | "vertical";
21
+ isOpenDiabetes: boolean;
22
+ diagnosisStyle: "tab";
23
+ diagnosisFollowUpRecord: boolean;
24
+ diagnosisLaboratoryReport: boolean;
25
+ diagnosisPrenatalVisit: boolean;
26
+ tablePrintBtn: boolean;
27
+ homeStatistics: boolean;
28
+ highriskStatistics: boolean;
29
+ customerService: true;
30
+ highriskType: string;
31
+ 禁止编辑高危等级: boolean;
32
+ 系统环境: any;
33
+ 护士端_禁止编辑高危因素_传染病: boolean;
34
+ 护士端_审核禁用保存: boolean;
35
+ 医生端_模块隐藏: string[];
36
+ 护士端_模块隐藏: string[];
37
+ doctorOpenWebsocket: boolean;
38
+ VTE预防用药筛查表: string;
39
+ nurseHide: import("@lm_fe/utils").ICommonOption[];
40
+ medicalHide: import("@lm_fe/utils").ICommonOption[];
41
+ PDF预览组件版本?: string;
42
+ 老人模式?: boolean;
43
+ 列表一页显示条数?: number;
44
+ 模板编辑器?: "SDE" | "XEMR";
45
+ 医生端_检验检查时间轴隐藏?: boolean;
46
+ 医生端_复诊按钮浮动?: boolean;
47
+ 医生端_复诊左侧隐藏?: boolean;
48
+ 医生端_复诊编辑控制?: boolean;
49
+ 高危标记多选?: number;
50
+ 病人标签多选?: number;
51
+ 旧版量表隐藏?: string[];
52
+ 禁用量表自动弹出?: boolean;
53
+ 头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
54
+ 量表拓展?: import("@lm_fe/utils").ICommonOption[];
55
+ 医生端_BMI曲线类型?: number;
56
+ 顶部工具栏隐藏?: boolean;
57
+ styles?: Partial<{
58
+ compact: boolean;
59
+ darkTheme: boolean;
60
+ fontSize: number;
61
+ colorPrimary: string;
62
+ colorBorder: string;
63
+ colorTextDisabled: string;
64
+ colorBgContainerDisabled: string;
65
+ colorTextPlaceholder: string;
66
+ cus_fontBold: boolean;
67
+ labelColor: string;
68
+ rowHoverBg: string;
69
+ labelFontSize: number;
70
+ }>;
71
+ }>>;
5
72
  export declare const _updateSystemConfig: (data: any) => (dispatch: Dispatch) => Promise<void>;
6
- export declare const updateCollapsed: (collapsed: boolean) => (dispatch: Dispatch) => void;
7
73
  export declare const updateSocketState: (state: number) => (dispatch: Dispatch) => Promise<number>;
8
- export declare const updateTheme: (theme: string, showTip: boolean) => (dispatch: Dispatch) => Promise<void>;
@@ -1,6 +1,7 @@
1
1
  import { Store } from 'redux';
2
- import { IState, ISystemConfig } from './types';
3
2
  import { MyLog } from '@lm_fe/utils';
3
+ import { IState, ISystemConfig } from './types';
4
+ export { ACTION_TYPE } from './actionType';
4
5
  export * from './types';
5
6
  declare class MchcStore {
6
7
  logger: MyLog;
@@ -11,12 +12,79 @@ declare class MchcStore {
11
12
  __getDispatch: () => Store['dispatch'];
12
13
  get state(): IState;
13
14
  get dispatch(): import("redux").Dispatch<import("redux").AnyAction>;
14
- initDictionary(): Promise<void>;
15
15
  deleteAllTabs(): void;
16
16
  deleteCurrentTab(): void;
17
- getSystemConfig(): Promise<ISystemConfig>;
17
+ getSystemConfig(): Promise<Partial<{
18
+ id: number;
19
+ systemName: string;
20
+ systemMode: "devlopment" | "test" | "production";
21
+ systemTheme: string;
22
+ expireTime: number;
23
+ openWebsocket: boolean;
24
+ websocketAddress: "ws://127.0.0.1:8087/Laputa";
25
+ auditRestriction: boolean;
26
+ openIntro: boolean;
27
+ fetalMonitor: string;
28
+ openHighriskSign: boolean;
29
+ highriskVersion: number;
30
+ curveVersion: "nichd";
31
+ prenatalDiagnosis: boolean;
32
+ CaseReport: boolean;
33
+ FetalMonitor: boolean;
34
+ InformedConsent: boolean;
35
+ pregnancyInitial: "tab" | "vertical";
36
+ isOpenDiabetes: boolean;
37
+ diagnosisStyle: "tab";
38
+ diagnosisFollowUpRecord: boolean;
39
+ diagnosisLaboratoryReport: boolean;
40
+ diagnosisPrenatalVisit: boolean;
41
+ tablePrintBtn: boolean;
42
+ homeStatistics: boolean;
43
+ highriskStatistics: boolean;
44
+ customerService: true;
45
+ highriskType: string;
46
+ 禁止编辑高危等级: boolean;
47
+ 系统环境: any;
48
+ 护士端_禁止编辑高危因素_传染病: boolean;
49
+ 护士端_审核禁用保存: boolean;
50
+ 医生端_模块隐藏: string[];
51
+ 护士端_模块隐藏: string[];
52
+ doctorOpenWebsocket: boolean;
53
+ VTE预防用药筛查表: string;
54
+ nurseHide: import("@lm_fe/utils").ICommonOption[];
55
+ medicalHide: import("@lm_fe/utils").ICommonOption[];
56
+ PDF预览组件版本?: string;
57
+ 老人模式?: boolean;
58
+ 列表一页显示条数?: number;
59
+ 模板编辑器?: "SDE" | "XEMR";
60
+ 医生端_检验检查时间轴隐藏?: boolean;
61
+ 医生端_复诊按钮浮动?: boolean;
62
+ 医生端_复诊左侧隐藏?: boolean;
63
+ 医生端_复诊编辑控制?: boolean;
64
+ 高危标记多选?: number;
65
+ 病人标签多选?: number;
66
+ 旧版量表隐藏?: string[];
67
+ 禁用量表自动弹出?: boolean;
68
+ 头部信息拓展?: import("@lm_fe/utils").ICommonOption[];
69
+ 量表拓展?: import("@lm_fe/utils").ICommonOption[];
70
+ 医生端_BMI曲线类型?: number;
71
+ 顶部工具栏隐藏?: boolean;
72
+ styles?: Partial<{
73
+ compact: boolean;
74
+ darkTheme: boolean;
75
+ fontSize: number;
76
+ colorPrimary: string;
77
+ colorBorder: string;
78
+ colorTextDisabled: string;
79
+ colorBgContainerDisabled: string;
80
+ colorTextPlaceholder: string;
81
+ cus_fontBold: boolean;
82
+ labelColor: string;
83
+ rowHoverBg: string;
84
+ labelFontSize: number;
85
+ }>;
86
+ }>>;
18
87
  updateSystemConfig(data: any): Promise<void>;
19
- getPregnancyData(data: any): Promise<any>;
20
88
  get highrisk_version_options(): {
21
89
  label: string;
22
90
  id: number;
@@ -25,7 +93,7 @@ declare class MchcStore {
25
93
  }[];
26
94
  get highriskContagionConfig(): {
27
95
  color: string;
28
- options: import("src/select_options").ICommonOption[];
96
+ options: import("@lm_fe/utils").ICommonOption[];
29
97
  };
30
98
  get highriskGradeConfig(): {
31
99
  colorText: string;
@@ -36,8 +104,8 @@ declare class MchcStore {
36
104
  }[];
37
105
  }
38
106
  declare class MchcConfig {
39
- get<T extends keyof ISystemConfig>(key: T): ISystemConfig[T];
40
- getAll(): ISystemConfig;
107
+ get<T extends keyof ISystemConfig>(key: T): any;
108
+ getAll(): any;
41
109
  }
42
110
  export declare const mchcStore: MchcStore;
43
111
  export declare const mchcConfig: MchcConfig;
@@ -1,26 +1,25 @@
1
- import { ICommonOption } from "../select_options";
2
- export interface ISystemConfig {
1
+ import { ICommonOption } from '../select_options';
2
+ export type ISystemConfig = Partial<{
3
3
  id: number;
4
4
  systemName: string;
5
- systemMode: "devlopment" | "test" | "production";
5
+ systemMode: 'devlopment' | 'test' | 'production';
6
6
  systemTheme: string;
7
7
  expireTime: number;
8
8
  openWebsocket: boolean;
9
- websocketAddress: "ws://127.0.0.1:8087/Laputa";
9
+ websocketAddress: 'ws://127.0.0.1:8087/Laputa';
10
10
  auditRestriction: boolean;
11
11
  openIntro: boolean;
12
12
  fetalMonitor: string;
13
13
  openHighriskSign: boolean;
14
14
  highriskVersion: number;
15
- curveVersion: "nichd";
15
+ curveVersion: 'nichd';
16
16
  prenatalDiagnosis: boolean;
17
17
  CaseReport: boolean;
18
18
  FetalMonitor: boolean;
19
19
  InformedConsent: boolean;
20
- nurseDeskVoucher: boolean;
21
20
  pregnancyInitial: 'tab' | 'vertical';
22
21
  isOpenDiabetes: boolean;
23
- diagnosisStyle: "tab";
22
+ diagnosisStyle: 'tab';
24
23
  diagnosisFollowUpRecord: boolean;
25
24
  diagnosisLaboratoryReport: boolean;
26
25
  diagnosisPrenatalVisit: boolean;
@@ -32,7 +31,9 @@ export interface ISystemConfig {
32
31
  禁止编辑高危等级: boolean;
33
32
  系统环境: any;
34
33
  护士端_禁止编辑高危因素_传染病: boolean;
35
- 医生端_模块隐藏: ICommonOption[];
34
+ 护士端_审核禁用保存: boolean;
35
+ 医生端_模块隐藏: string[];
36
+ 护士端_模块隐藏: string[];
36
37
  doctorOpenWebsocket: boolean;
37
38
  VTE预防用药筛查表: string;
38
39
  nurseHide: ICommonOption[];
@@ -40,12 +41,34 @@ export interface ISystemConfig {
40
41
  PDF预览组件版本?: string;
41
42
  老人模式?: boolean;
42
43
  列表一页显示条数?: number;
44
+ 模板编辑器?: 'SDE' | 'XEMR';
43
45
  医生端_检验检查时间轴隐藏?: boolean;
44
46
  医生端_复诊按钮浮动?: boolean;
45
47
  医生端_复诊左侧隐藏?: boolean;
46
48
  医生端_复诊编辑控制?: boolean;
49
+ 高危标记多选?: number;
50
+ 病人标签多选?: number;
51
+ 旧版量表隐藏?: string[];
52
+ 禁用量表自动弹出?: boolean;
53
+ 头部信息拓展?: ICommonOption[];
54
+ 量表拓展?: ICommonOption[];
55
+ 医生端_BMI曲线类型?: number;
47
56
  顶部工具栏隐藏?: boolean;
48
- }
57
+ styles?: Partial<{
58
+ compact: boolean;
59
+ darkTheme: boolean;
60
+ fontSize: number;
61
+ colorPrimary: string;
62
+ colorBorder: string;
63
+ colorTextDisabled: string;
64
+ colorBgContainerDisabled: string;
65
+ colorTextPlaceholder: string;
66
+ cus_fontBold: boolean;
67
+ labelColor: string;
68
+ rowHoverBg: string;
69
+ labelFontSize: number;
70
+ }>;
71
+ }>;
49
72
  interface ITab {
50
73
  closable: boolean;
51
74
  key: string;
@@ -62,7 +85,7 @@ export interface IMchc_Permission {
62
85
  name: string;
63
86
  parentid: number;
64
87
  sort: number;
65
- type: "menu" | "route";
88
+ type: 'menu' | 'route';
66
89
  }
67
90
  export interface IMchc_Group {
68
91
  authorities: {
@@ -74,11 +97,11 @@ export interface IMchc_Group {
74
97
  nickname: string;
75
98
  permissions: IMchc_Permission[];
76
99
  groupRanks?: {
77
- "id": 2;
78
- "name": "组员";
79
- "administrator": 1;
80
- "rankSort": 1;
81
- "groupId": 1;
100
+ id: 2;
101
+ name: '组员';
102
+ administrator: 1;
103
+ rankSort: 1;
104
+ groupId: 1;
82
105
  }[];
83
106
  }
84
107
  export interface IMchc_User {
@@ -90,6 +113,7 @@ export interface IMchc_User {
90
113
  email: string;
91
114
  firstName: string;
92
115
  groups: IMchc_Group[];
116
+ groupRanks: any[];
93
117
  id: number;
94
118
  imageUrl: null;
95
119
  langKey: string;
@@ -108,6 +132,7 @@ export interface IState {
108
132
  collapsed: boolean;
109
133
  socketState: boolean;
110
134
  };
135
+ activeKey: string;
111
136
  tabs: {
112
137
  activeKey: string;
113
138
  tabs: ITab[];
@@ -15,8 +15,6 @@ interface IEnumeration {
15
15
  }
16
16
  type Fuck_Dic = {
17
17
  [x: string]: IDictionary;
18
- } & {
19
- initDictionaries: IDictionary[];
20
18
  };
21
19
  export declare function getDictionaries(): Fuck_Dic;
22
20
  /**
@@ -1,3 +1,2 @@
1
- import { IRTCtx } from "./runtime_ctx";
2
- export declare function dynamicScriptExecute(cb: (ctx: IRTCtx) => void, props?: any): boolean;
3
- export declare function getSymbolFromDynamicScript<T = any>(str: any, props?: any, default_v?: T): T | undefined;
1
+ export declare function safe_get_symbol<T = any>(str: any, props?: any, default_v?: T): T | undefined;
2
+ export declare function safe_get_object_symbol(value: any, props?: any, default_v?: any): any;
@@ -1,5 +1,12 @@
1
1
  import { ACTION_TYPE } from "src/state/actionType";
2
- export declare function getDoctorEndId(props?: any): any;
2
+ export interface ISingleData {
3
+ id: any;
4
+ patient: any;
5
+ result: any;
6
+ isSingle: boolean;
7
+ }
8
+ export declare function single_id(props?: any): number;
9
+ export declare function fuck_cache<T>(key: string, data?: T): T | undefined;
3
10
  export declare function getActionType(key: keyof typeof ACTION_TYPE): string;
4
11
  type TNoteType<T extends string | number> = `${T}Note`;
5
12
  type TOptionType<T extends string | number> = `${T}__`;
@@ -1,68 +1,5 @@
1
- import { checkBloodPressure, checkPulse, checkTemperature } from './medical_examination';
2
- import { getDictionaries, getDictionariesEnumerations, getDictionaryLabel, getDictionaryValue } from './dictionary';
3
- import { getUserData } from './user_data';
4
1
  export * from './dynamicScriptCtx';
5
- export * from './MchcRouterContainer';
6
2
  export * from './history';
3
+ export * from './MchcRouterContainer';
4
+ export * from './mchcUtils';
7
5
  export * from './runtime_ctx';
8
- export declare const mchcUtils: {
9
- getGlobalState(): import("..").IState;
10
- setGlobalState(getter: () => any): void;
11
- getGlobalDispatch(): import("redux").Dispatch<import("redux").AnyAction>;
12
- setGlobalDispatch(getter: () => any): void;
13
- getGlobalHistory(): {
14
- push(k: any, state?: any): void;
15
- replace(k: any, state?: any): void;
16
- };
17
- setGlobalHistory(getter: () => any): void;
18
- getDoctorEndId(props?: any): any;
19
- getActionType(key: keyof typeof import("../state/actionType").ACTION_TYPE): string;
20
- noteToCommonOption<D extends { [x in N | O]: any; }, T extends Exclude<keyof D, symbol>, N extends `${T}Note`, O extends `${T}__`>(data: D, key: T, marshal?: boolean): D;
21
- commonOptionToNote<D extends { [x in N | O]: any; }, T extends Exclude<keyof D, symbol>, N extends `${T}Note`, O extends `${T}__`>(data: D, key: T): D;
22
- autoCommonOptionToNote<T = any>(data: T): T;
23
- autoNoteToCommonOption<T = any>(data: T): T;
24
- checkIdNo(card: string): {
25
- province: undefined;
26
- birth: undefined;
27
- gender: undefined;
28
- age: undefined;
29
- nationality: undefined;
30
- status: boolean;
31
- message: string;
32
- } | {
33
- province: string | undefined;
34
- birth: string | undefined;
35
- gender: string;
36
- age: number | undefined;
37
- nationality: string;
38
- status: boolean;
39
- message: string;
40
- };
41
- checkIdNo_new(card?: string, idType?: number): {
42
- province: undefined;
43
- birth: undefined;
44
- gender: undefined;
45
- age: undefined;
46
- nationality: undefined;
47
- status: boolean;
48
- message: string;
49
- } | {
50
- province: string | undefined;
51
- birth: string | undefined;
52
- gender: string;
53
- age: number | undefined;
54
- nationality: string;
55
- status: boolean;
56
- message: string;
57
- } | null;
58
- checkProvince(card: string): string | undefined;
59
- checkAge(card: string): number | undefined;
60
- checkBloodPressure: typeof checkBloodPressure;
61
- checkSphygmus: typeof checkPulse;
62
- checkTemperature: typeof checkTemperature;
63
- getDictionariesEnumerations: typeof getDictionariesEnumerations;
64
- getDictionaryLabel: typeof getDictionaryLabel;
65
- getDictionaryValue: typeof getDictionaryValue;
66
- getDictionaries: typeof getDictionaries;
67
- getUserData: typeof getUserData;
68
- };