@lm_fe/pages 0.1.201

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 (149) hide show
  1. package/README.md +31 -0
  2. package/dist/a_chunks/.root.js +245 -0
  3. package/dist/a_chunks/.root.js.map +1 -0
  4. package/dist/a_chunks/.root10.js +474 -0
  5. package/dist/a_chunks/.root10.js.map +1 -0
  6. package/dist/a_chunks/.root11.js +170 -0
  7. package/dist/a_chunks/.root11.js.map +1 -0
  8. package/dist/a_chunks/.root12.js +200 -0
  9. package/dist/a_chunks/.root12.js.map +1 -0
  10. package/dist/a_chunks/.root13.js +113 -0
  11. package/dist/a_chunks/.root13.js.map +1 -0
  12. package/dist/a_chunks/.root14.js +735 -0
  13. package/dist/a_chunks/.root14.js.map +1 -0
  14. package/dist/a_chunks/.root15.js +58 -0
  15. package/dist/a_chunks/.root15.js.map +1 -0
  16. package/dist/a_chunks/.root16.js +172 -0
  17. package/dist/a_chunks/.root16.js.map +1 -0
  18. package/dist/a_chunks/.root17.js +258 -0
  19. package/dist/a_chunks/.root17.js.map +1 -0
  20. package/dist/a_chunks/.root18.js +416 -0
  21. package/dist/a_chunks/.root18.js.map +1 -0
  22. package/dist/a_chunks/.root19.js +427 -0
  23. package/dist/a_chunks/.root19.js.map +1 -0
  24. package/dist/a_chunks/.root2.js +76 -0
  25. package/dist/a_chunks/.root2.js.map +1 -0
  26. package/dist/a_chunks/.root20.js +958 -0
  27. package/dist/a_chunks/.root20.js.map +1 -0
  28. package/dist/a_chunks/.root21.js +235 -0
  29. package/dist/a_chunks/.root21.js.map +1 -0
  30. package/dist/a_chunks/.root22.js +158 -0
  31. package/dist/a_chunks/.root22.js.map +1 -0
  32. package/dist/a_chunks/.root23.js +959 -0
  33. package/dist/a_chunks/.root23.js.map +1 -0
  34. package/dist/a_chunks/.root24.js +759 -0
  35. package/dist/a_chunks/.root24.js.map +1 -0
  36. package/dist/a_chunks/.root25.js +281 -0
  37. package/dist/a_chunks/.root25.js.map +1 -0
  38. package/dist/a_chunks/.root3.js +1054 -0
  39. package/dist/a_chunks/.root3.js.map +1 -0
  40. package/dist/a_chunks/.root4.js +629 -0
  41. package/dist/a_chunks/.root4.js.map +1 -0
  42. package/dist/a_chunks/.root5.js +1440 -0
  43. package/dist/a_chunks/.root5.js.map +1 -0
  44. package/dist/a_chunks/.root6.js +164 -0
  45. package/dist/a_chunks/.root6.js.map +1 -0
  46. package/dist/a_chunks/.root7.js +123 -0
  47. package/dist/a_chunks/.root7.js.map +1 -0
  48. package/dist/a_chunks/.root8.js +544 -0
  49. package/dist/a_chunks/.root8.js.map +1 -0
  50. package/dist/a_chunks/.root9.js +69 -0
  51. package/dist/a_chunks/.root9.js.map +1 -0
  52. package/dist/a_chunks/extends.js +11 -0
  53. package/dist/a_chunks/extends.js.map +1 -0
  54. package/dist/a_chunks/index.js +1492 -0
  55. package/dist/a_chunks/index.js.map +1 -0
  56. package/dist/block/index.d.ts +1 -0
  57. package/dist/block//346/243/200/351/252/214/346/243/200/346/237/245/Inner.d.ts +9 -0
  58. package/dist/block//346/243/200/351/252/214/346/243/200/346/237/245/form_config.d.ts +3 -0
  59. package/dist/block//346/243/200/351/252/214/346/243/200/346/237/245/index.d.ts +3 -0
  60. package/dist/components/BF_Form/Wrap.d.ts +9 -0
  61. package/dist/components/BF_Form/index.d.ts +14 -0
  62. package/dist/components/BF_Form/use_table_config copy.d.ts +13 -0
  63. package/dist/components/BF_Form/use_table_config.d.ts +13 -0
  64. package/dist/components/BF_Form/utils.d.ts +2 -0
  65. package/dist/components/Base_List/Helper.d.ts +13 -0
  66. package/dist/components/Base_List/_MyBaseList.d.ts +9 -0
  67. package/dist/components/Base_List/index.d.ts +3 -0
  68. package/dist/components/Base_List/types.d.ts +129 -0
  69. package/dist/components/HighRiskTableEntry/index.d.ts +8 -0
  70. package/dist/components/HighRiskTableEntry/utils.d.ts +23 -0
  71. package/dist/components/IdNOButton/index copy.d.ts +6 -0
  72. package/dist/components/IdNOButton/index.d.ts +12 -0
  73. package/dist/components/Layout_Sider/Inner.d.ts +17 -0
  74. package/dist/components/Layout_Sider/index.d.ts +4 -0
  75. package/dist/components/Layout_Sider/utils.d.ts +1 -0
  76. package/dist/components/Layout_TabButton/Inner.d.ts +11 -0
  77. package/dist/components/Layout_TabButton/index.d.ts +8 -0
  78. package/dist/components/Login/Inner.d.ts +8 -0
  79. package/dist/components/Login/index.d.ts +1 -0
  80. package/dist/components/QuickDocButton/form_config.d.ts +4 -0
  81. package/dist/components/QuickDocButton/index.d.ts +6 -0
  82. package/dist/components/doctor_end/ExemplaryCase/Inner.d.ts +33 -0
  83. package/dist/components/doctor_end/ExemplaryCase/config.d.ts +27 -0
  84. package/dist/components/doctor_end/ExemplaryCase/index.d.ts +3 -0
  85. package/dist/components/doctor_end/ExemplaryCase/request.d.ts +2 -0
  86. package/dist/components/doctor_end/HeaderInfo/Inner.d.ts +3 -0
  87. package/dist/components/doctor_end/HeaderInfo/index.d.ts +4 -0
  88. package/dist/components/doctor_end/HeaderInfo/types.d.ts +10 -0
  89. package/dist/components/doctor_end/HeaderInfo/utils.d.ts +20 -0
  90. package/dist/components/doctor_end/HeaderInfoLayout/index.d.ts +3 -0
  91. package/dist/components/doctor_end/index.d.ts +3 -0
  92. package/dist/components/exception/403.d.ts +4 -0
  93. package/dist/components/exception/404.d.ts +4 -0
  94. package/dist/components/exception/500.d.ts +6 -0
  95. package/dist/components/exception/ErrorBoundary.d.ts +11 -0
  96. package/dist/components/exception/ErrorBoundarySmall.d.ts +16 -0
  97. package/dist/components/exception/SelectTip.d.ts +2 -0
  98. package/dist/components/exception/index.d.ts +1 -0
  99. package/dist/components/index.d.ts +10 -0
  100. package/dist/form_config/config_table.d.ts +2 -0
  101. package/dist/form_config/index.d.ts +1 -0
  102. package/dist/index.d.ts +6 -0
  103. package/dist/index.js +36 -0
  104. package/dist/index.js.map +1 -0
  105. package/dist/modals/entries/BF_Form/index.d.ts +4 -0
  106. package/dist/modals/entries/StupidTemplateModal2/components/TemplateSelect.d.ts +2 -0
  107. package/dist/modals/entries/StupidTemplateModal2/index.d.ts +22 -0
  108. package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +16 -0
  109. package/dist/modals/entries/modal_form/index.d.ts +29 -0
  110. package/dist/modals/entries/modal_page/index.d.ts +12 -0
  111. package/dist/modals/entries/print_modal/index.d.ts +3 -0
  112. package/dist/modals/entries/template_modal3/EditModal.d.ts +2 -0
  113. package/dist/modals/entries/template_modal3/common.d.ts +4 -0
  114. package/dist/modals/entries/template_modal3/components/TemplateSelect.d.ts +1 -0
  115. package/dist/modals/entries/template_modal3/index copy 2.d.ts +19 -0
  116. package/dist/modals/entries/template_modal3/index copy.d.ts +22 -0
  117. package/dist/modals/entries/template_modal3/index.d.ts +17 -0
  118. package/dist/modals/entries/template_modal3/methods/index.d.ts +15 -0
  119. package/dist/modals/entries/template_modal3/types.d.ts +27 -0
  120. package/dist/modals/entries/test/index.d.ts +6 -0
  121. package/dist/modals/entries/text_search/index.d.ts +8 -0
  122. package/dist/modals/entries//344/271/231/350/202/235/347/256/241/347/220/206/index.d.ts +8 -0
  123. package/dist/modals/entries//345/255/220/347/227/253/345/211/215/346/234/237/351/243/216/351/231/251/350/257/204/344/274/260/350/241/250/index.d.ts +9 -0
  124. package/dist/modals/entries//346/242/205/346/257/222/347/256/241/347/220/206/index.d.ts +8 -0
  125. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/ThrombusGysy.d.ts +9 -0
  126. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/components.d.ts +7 -0
  127. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/config.d.ts +28 -0
  128. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/utils.d.ts +9 -0
  129. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/Default/ThrombusDefault.d.ts +8 -0
  130. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/index.d.ts +3 -0
  131. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/types.d.ts +5 -0
  132. package/dist/modals/entries//347/230/242/347/227/225/345/255/220/345/256/253/351/230/264/351/201/223/350/257/225/344/272/247/350/241/250/index.d.ts +7 -0
  133. package/dist/modals/entries//350/257/212/346/226/255/345/216/206/345/217/262/index.d.ts +8 -0
  134. package/dist/modals/entries//351/242/204/350/255/246/346/217/220/351/206/222_/351/253/230/345/215/261/345/277/253/350/256/257/add-diagnoses/add-diagnoses.d.ts +12 -0
  135. package/dist/modals/entries//351/242/204/350/255/246/346/217/220/351/206/222_/351/253/230/345/215/261/345/277/253/350/256/257/index.d.ts +20 -0
  136. package/dist/modals/entries//351/242/204/350/255/246/346/217/220/351/206/222_/351/253/230/345/215/261/345/277/253/350/256/257/util.d.ts +60 -0
  137. package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/HighriskSign.d.ts +13 -0
  138. package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/HighriskTimeline.d.ts +9 -0
  139. package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/index copy.d.ts" +12 -0
  140. package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/index.d.ts +13 -0
  141. package/dist/modals/entries//351/253/230/345/215/261/351/232/217/350/256/277/form_config.d.ts +2 -0
  142. package/dist/modals/entries//351/253/230/345/215/261/351/232/217/350/256/277/index.d.ts +8 -0
  143. package/dist/modals/index.d.ts +22 -0
  144. package/dist/modals/meta.d.ts +21 -0
  145. package/dist/pages/doc_record/Right.d.ts +6 -0
  146. package/dist/pages/doc_record/index.d.ts +7 -0
  147. package/dist/pages/index.d.ts +1 -0
  148. package/dist/utils/index.d.ts +2 -0
  149. package/package.json +46 -0
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import 'react-perfect-scrollbar/dist/css/styles.css';
3
+ export declare const collapsedWidth = 50;
4
+ export declare const width = 232;
5
+ interface IProps {
6
+ collapsed: boolean;
7
+ user?: any;
8
+ tabs?: any;
9
+ onToggle?: (value: boolean) => void;
10
+ menuTree?: any[];
11
+ location?: any;
12
+ history?: any;
13
+ updateTabs?: any;
14
+ allMenuTree?: any;
15
+ }
16
+ export default function Layout_Sider_Inner(props: IProps): React.JSX.Element;
17
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const collapsedWidth = 50;
2
+ export declare const width = 232;
3
+ declare const Layout_Sider: import("react").LazyExoticComponent<typeof import("./Inner").default>;
4
+ export { Layout_Sider };
@@ -0,0 +1 @@
1
+ export declare function findIdsByChildId(data: any[], key: string): any[];
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ isActive?: boolean;
4
+ title: string;
5
+ tabKey: string;
6
+ closable?: boolean;
7
+ onClick?: any;
8
+ onClose?: any;
9
+ }
10
+ export default function Layout_TabButton_Inner(props: IProps): React.JSX.Element;
11
+ export {};
@@ -0,0 +1,8 @@
1
+ export interface TabIProps {
2
+ title: string;
3
+ key: string;
4
+ path: string;
5
+ search: string;
6
+ closable: boolean;
7
+ }
8
+ export declare const Layout_TabButton: import("react").LazyExoticComponent<typeof import("./Inner").default>;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ interface IProps {
3
+ systemName?: string;
4
+ logo?: string;
5
+ onFinish(values: any): Promise<void>;
6
+ }
7
+ export default function LoginInner(props: IProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export declare const Mchc_Login: import("react").LazyExoticComponent<typeof import("./Inner").default>;
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ __lazy_config: import("@lm_fe/service").IMchc_FormDescriptions_Field_Nullable_Arr;
3
+ };
4
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { ButtonProps } from "antd";
2
+ import React from "react";
3
+ export interface QuickDocButtonProps extends ButtonProps {
4
+ page_type: '单页' | '非单页';
5
+ }
6
+ export declare function QuickDocButton(props: QuickDocButtonProps): React.JSX.Element;
@@ -0,0 +1,33 @@
1
+ import React, { Component } from 'react';
2
+ interface IProps {
3
+ [key: string]: any;
4
+ }
5
+ interface IState {
6
+ [key: string]: any;
7
+ }
8
+ export default class DoctorEnd_ExemplaryCase extends Component<IProps, IState> {
9
+ state: {
10
+ activeKey: any;
11
+ gdmData: never[];
12
+ bmiData: never[];
13
+ formHandlerObj: {};
14
+ formValue: {};
15
+ formConfig: {
16
+ 4: any[];
17
+ 5: any[];
18
+ };
19
+ };
20
+ componentDidMount(): void;
21
+ componentDidUpdate(): void;
22
+ getId(): any;
23
+ initData(key: string): Promise<void>;
24
+ getActiveKey(): string;
25
+ handleClose: () => void;
26
+ handleSure: () => Promise<void>;
27
+ updataMethods(res: any): Promise<void>;
28
+ handlePrint: () => void;
29
+ tabsOnChange(key: string): void;
30
+ changeConfig(fetalCount?: string): void;
31
+ render(): React.JSX.Element;
32
+ }
33
+ export {};
@@ -0,0 +1,27 @@
1
+ export declare const gdmConfig: Array<any>;
2
+ export declare const bmiConfig: Array<any>;
3
+ export declare const fetalOption: {
4
+ 二胎: {
5
+ label: string;
6
+ value: string;
7
+ }[];
8
+ 三胎: {
9
+ label: string;
10
+ value: string;
11
+ }[];
12
+ 四胎: {
13
+ label: string;
14
+ value: string;
15
+ }[];
16
+ 五胎: {
17
+ label: string;
18
+ value: string;
19
+ }[];
20
+ 六胎: {
21
+ label: string;
22
+ value: string;
23
+ }[];
24
+ };
25
+ export declare const slowGrowingConfig: Array<any>;
26
+ export declare const twinsConfig: Array<any>;
27
+ export declare const multipletsConfig: Array<any>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const DoctorEnd_ExemplaryCase: React.LazyExoticComponent<typeof import("./Inner").default>;
3
+ export { DoctorEnd_ExemplaryCase };
@@ -0,0 +1,2 @@
1
+ export declare function getPregnancyCaseOfOutpatient(id: string): Promise<any>;
2
+ export declare function updatePregnancyCaseOfOutpatient(data: any): Promise<any>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IHeaderInfoProps } from './types';
3
+ export default function HeaderInfoInner(props: IHeaderInfoProps): React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IHeaderInfoProps } from './types';
3
+ export { IHeaderInfoProps };
4
+ export declare function DoctorEnd_HeaderInfo(props: IHeaderInfoProps): React.JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { IMchc_Doctor_OutpatientHeaderInfo, IMchc_Pregnancy, TIdTypeCompatible } from '@lm_fe/service';
2
+ export interface IHeaderInfoProps {
3
+ pregnancyData?: IMchc_Pregnancy;
4
+ getPregnancyData?(id: TIdTypeCompatible): Promise<void>;
5
+ saveHeaderInfo?(v: IMchc_Doctor_OutpatientHeaderInfo): void;
6
+ id: TIdTypeCompatible;
7
+ basicInfo?: any;
8
+ isNurse?: boolean;
9
+ onDobuleClick?(): void;
10
+ }
@@ -0,0 +1,20 @@
1
+ import { IMchc_Doctor_OutpatientHeaderInfo } from "@lm_fe/service";
2
+ type InfectionType = '艾' | '梅' | '乙' | '传染病';
3
+ interface IRet {
4
+ label: string;
5
+ type: InfectionType;
6
+ allType: InfectionType[];
7
+ color: string;
8
+ key: number;
9
+ }
10
+ export declare function handleFuckinginfectionNoteLabel(infectionNote?: string): IRet[];
11
+ export declare function use专案(headerInfo?: IMchc_Doctor_OutpatientHeaderInfo): {
12
+ isShowGdm: boolean;
13
+ isShowBmi: boolean;
14
+ isShowSlowGrowing: boolean;
15
+ isShowTwins: boolean;
16
+ isShowMultiplets: boolean;
17
+ is_show_梅毒: boolean;
18
+ is_show_乙肝: boolean;
19
+ };
20
+ export {};
@@ -0,0 +1,3 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ import { IHeaderInfoProps } from '../HeaderInfo';
3
+ export declare const DoctorEnd_HeaderInfoLayout: FC<PropsWithChildren<IHeaderInfoProps>>;
@@ -0,0 +1,3 @@
1
+ export * from './HeaderInfo';
2
+ export * from './HeaderInfoLayout';
3
+ export * from './ExemplaryCase';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './style.less';
3
+ declare const _default: () => React.JSX.Element;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './style.less';
3
+ declare const NoFoundPage: React.FC;
4
+ export default NoFoundPage;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import './style.less';
3
+ declare const _default: ({ extra }: {
4
+ extra?: string | undefined;
5
+ }) => React.JSX.Element;
6
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import './style.less';
3
+ export declare class ErrorBoundary extends React.Component {
4
+ constructor(props: any);
5
+ static getDerivedStateFromError(error: any): {
6
+ hasError: boolean;
7
+ };
8
+ componentDidCatch(error: any, errorInfo: any): void;
9
+ extra: (stack: string) => React.JSX.Element;
10
+ render(): any;
11
+ }
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import './style.less';
3
+ export declare class ErrorBoundarySmall extends React.Component<{}, {
4
+ collapsed: boolean;
5
+ hasError: boolean;
6
+ error?: any;
7
+ errorInfo?: any;
8
+ }> {
9
+ constructor(props: any);
10
+ static getDerivedStateFromError(error: any): {
11
+ hasError: boolean;
12
+ };
13
+ componentDidCatch(error: any, errorInfo: any): void;
14
+ extra: (stack: string) => React.JSX.Element;
15
+ render(): React.JSX.Element;
16
+ }
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const SelectTip: () => React.JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './SelectTip';
@@ -0,0 +1,10 @@
1
+ export * from './Layout_Sider';
2
+ export * from './Layout_TabButton';
3
+ export * from './Base_List';
4
+ export * from './BF_Form';
5
+ export * from './doctor_end';
6
+ export * from './exception';
7
+ export * from './Login';
8
+ export * from './QuickDocButton';
9
+ export * from './IdNOButton';
10
+ export * from './HighRiskTableEntry';
@@ -0,0 +1,2 @@
1
+ import { IMchc_FormDescriptions_Field_Nullable } from "@lm_fe/service";
2
+ export declare const config_table_fd: (props: any) => IMchc_FormDescriptions_Field_Nullable[];
@@ -0,0 +1 @@
1
+ export * from './config_table';
@@ -0,0 +1,6 @@
1
+ export * from './pages';
2
+ export * from './modals';
3
+ export * from './components';
4
+ export * from './utils';
5
+ export * from './form_config';
6
+ export * from './block';
package/dist/index.js ADDED
@@ -0,0 +1,36 @@
1
+ export { B as BF_Form, f as BF_Wrap2, D as DoctorEnd_ExemplaryCase, k as DoctorEnd_HeaderInfo, l as DoctorEnd_HeaderInfoLayout, r as DoctorEnd_检验检查_History, H as HighRiskTableEntry, I as IdNOButton, L as Layout_Sider, h as Layout_TabButton, n as Mchc_Login, M as MountMchcModal, i as MyBaseList, P as Page_DocRecord, Q as QuickDocButton, S as SelectTip, o as SnapButton, g as collapsedWidth, q as config_table_fd, j as get_bf_default, m as mchcModal__, p as safe_navigate, u as useReadIdNO, w as width } from './a_chunks/index.js';
2
+ import 'antd/es/row/style';
3
+ import 'antd/es/row';
4
+ import 'antd/es/col/style';
5
+ import 'antd/es/col';
6
+ import 'antd/es/list/style';
7
+ import 'antd/es/list';
8
+ import 'antd/es/tooltip/style';
9
+ import 'antd/es/tooltip';
10
+ import 'lodash/get';
11
+ import '@ant-design/icons';
12
+ import 'classnames';
13
+ import 'react';
14
+ import 'antd/es/button/style';
15
+ import 'antd/es/button';
16
+ import 'antd/es/spin/style';
17
+ import 'antd/es/spin';
18
+ import '@lm_fe/components_m';
19
+ import '@lm_fe/utils';
20
+ import '@lm_fe/components';
21
+ import 'antd/es/form/style';
22
+ import 'antd/es/form';
23
+ import 'antd/es/result/style';
24
+ import 'antd/es/result';
25
+ import 'antd/es/menu/style';
26
+ import 'antd/es/menu';
27
+ import '@lm_fe/service';
28
+ import 'antd/es/message/style';
29
+ import 'antd/es/message';
30
+ import 'antd/es/space/style';
31
+ import 'antd/es/space';
32
+ import '@lm_fe/env';
33
+ import 'lodash/keys';
34
+ import 'antd/es/divider/style';
35
+ import 'antd/es/divider';
36
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,4 @@
1
+ import { IGlobalModalProps } from '@lm_fe/components';
2
+ import React from 'react';
3
+ import { IBF_Form_Props } from '../../../components/BF_Form';
4
+ export default function FormChrono({ modal_data, visible, onCancel, props, ...others }: IGlobalModalProps<IBF_Form_Props>): React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function TemplateSelect(props: any): React.JSX.Element;
@@ -0,0 +1,22 @@
1
+ import { IGlobalModalProps } from '@lm_fe/components';
2
+ import { IMchc_TemplateTree_Item as IModel_TemplateTrees } from '@lm_fe/service';
3
+ import { TreeProps } from 'antd';
4
+ import React from 'react';
5
+ import { AllTypes } from '@lm_fe/components/dist/SimpleForm/types/metaTypes';
6
+ export declare const DEFAULT_URL = "/api/template-trees";
7
+ interface IProps<T> {
8
+ depid?: any;
9
+ type?: number | {
10
+ value: number;
11
+ label: string;
12
+ }[];
13
+ canOperate?: boolean;
14
+ onValueCheck?: (e: IModel_TemplateTrees[]) => void;
15
+ renderTitle?: (item: IModel_TemplateTrees) => React.ReactNode;
16
+ treeProps?: TreeProps;
17
+ multiple?: boolean;
18
+ hierarchical?: boolean;
19
+ editFormItems?: AllTypes<T>[];
20
+ }
21
+ export default function TemplateModal2(props: IGlobalModalProps<IProps<IModel_TemplateTrees>>): React.JSX.Element;
22
+ export {};
@@ -0,0 +1,16 @@
1
+ import { DataNode } from 'antd/lib/tree';
2
+ import { IMchc_TemplateTree_Item } from '@lm_fe/service';
3
+ export declare const getTemplates: ({ templateType, userid }: {
4
+ templateType: any;
5
+ userid?: null | undefined;
6
+ }) => Promise<any>;
7
+ export declare const rootTemplate: {
8
+ id: number;
9
+ key: number;
10
+ value: number;
11
+ title: string;
12
+ children: never[];
13
+ };
14
+ export declare const transferTemplates: (templates: IMchc_TemplateTree_Item[], pid?: number) => (DataNode & {
15
+ value?: any;
16
+ })[];
@@ -0,0 +1,29 @@
1
+ import { IGlobalModalProps } from '@lm_fe/components';
2
+ import { FormInstance } from 'antd';
3
+ import { FieldData } from 'rc-field-form/lib/interface';
4
+ import { SizeType } from 'antd/es/config-provider/SizeContext';
5
+ import React from 'react';
6
+ import { IMchc_FormDescriptions_Field } from '@lm_fe/service';
7
+ interface __props<T extends string = any> {
8
+ bf_title?: `${string}-${string}`;
9
+ title?: string;
10
+ formDescriptions?: {
11
+ [x in T]: any;
12
+ } | IMchc_FormDescriptions_Field[];
13
+ onFieldsChange?(changedFields: FieldData[], allFields: FieldData[], form: FormInstance): void;
14
+ onValuesChange?(changedValues: {
15
+ [x in T]: any;
16
+ }, values: {
17
+ [x in T]: any;
18
+ }, form: FormInstance): void;
19
+ onSubmit?(v: any): Promise<any>;
20
+ getInitialData?(): Promise<any>;
21
+ form?: FormInstance;
22
+ targetLabelCol?: number;
23
+ defaultFormItemLayout?: string;
24
+ modalFormSize?: SizeType;
25
+ disableAll?: boolean;
26
+ }
27
+ export type IModalFormProps<T extends string = any> = IGlobalModalProps<__props<T>>;
28
+ export default function MyModalForm<T extends string>({ modal_data, onOk, bodyStyle, width, ...others }: IModalFormProps<T>): React.JSX.Element;
29
+ export {};
@@ -0,0 +1,12 @@
1
+ import { IGlobalModalProps } from '@lm_fe/components';
2
+ import { AnyObject } from '@lm_fe/utils';
3
+ import React, { ReactNode } from 'react';
4
+ export interface Iprops {
5
+ content?: ReactNode;
6
+ iframe_url?: string;
7
+ route_conf?: {
8
+ url: string;
9
+ params?: AnyObject;
10
+ };
11
+ }
12
+ export default function Modal_Page({ modal_data, close, ...others }: IGlobalModalProps<Iprops>): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { IGlobalModalProps, IPdfFrameView_Props } from '@lm_fe/components';
2
+ import React from 'react';
3
+ export default function Print_Modal({ modal_data, width, close, onClose, bodyStyle, ...others }: IGlobalModalProps<IPdfFrameView_Props>): React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function EditModal(props: any): React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { ITemplateType } from "./types";
2
+ export declare const DEFAULT_URL = "/api/template-trees";
3
+ export declare const needUserIDTypes: number[];
4
+ export declare const baseType: Partial<ITemplateType>;
@@ -0,0 +1 @@
1
+ export default function TemplateSelect(props: any): import("react").JSX.Element;
@@ -0,0 +1,19 @@
1
+ import { IGlobalModalProps } from '@lm_fe/components';
2
+ import { IMchc_TemplateTree_Item } from '@lm_fe/service';
3
+ import React from 'react';
4
+ import { ITemplateType } from './types';
5
+ import { MODAL_TEMPLATE_TYPES } from '@lm_fe/env';
6
+ interface IProps {
7
+ depid?: number;
8
+ onOk?(data: any): void;
9
+ visible?: boolean;
10
+ admissionId?: any;
11
+ templateTypes?: ITemplateType[];
12
+ simpleTypes?: typeof MODAL_TEMPLATE_TYPES['科室个人'];
13
+ onValueCheck?: (e: {
14
+ result: Partial<IMchc_TemplateTree_Item>[];
15
+ [x: string]: any;
16
+ }) => void;
17
+ }
18
+ export default function TemplateModal(props: IGlobalModalProps<IProps>): React.JSX.Element;
19
+ export {};
@@ -0,0 +1,22 @@
1
+ import React, { Component } from 'react';
2
+ interface IProps {
3
+ onChange: Function;
4
+ value: any;
5
+ input_props: any;
6
+ depid?: any;
7
+ user?: any;
8
+ disabled?: boolean;
9
+ }
10
+ interface IState {
11
+ modalVisible: boolean;
12
+ value: any;
13
+ }
14
+ export default class TextareaWithTemplate extends Component<IProps, IState> {
15
+ constructor(props: IProps);
16
+ handleTextareaChange: (e: any) => void;
17
+ openModal: () => Promise<void>;
18
+ closeModal: () => void;
19
+ handleOk: (data: any) => void;
20
+ render(): React.JSX.Element;
21
+ }
22
+ export {};
@@ -0,0 +1,17 @@
1
+ import { IGlobalModalProps } from '@lm_fe/components';
2
+ import { IMchc_TemplateTree_Item } from '@lm_fe/service';
3
+ import React from 'react';
4
+ import { ITemplateConfig } from '@lm_fe/env';
5
+ interface IProps {
6
+ onOk?(data: any): void;
7
+ visible?: boolean;
8
+ admissionId?: any;
9
+ canOperate?: boolean;
10
+ simpleTypes?: ITemplateConfig[];
11
+ onValueCheck?: (e: {
12
+ result: Partial<IMchc_TemplateTree_Item>[];
13
+ [x: string]: any;
14
+ }) => void;
15
+ }
16
+ export default function TemplateModal(props: IGlobalModalProps<IProps>): React.JSX.Element;
17
+ export {};
@@ -0,0 +1,15 @@
1
+ import { IMchc_TemplateTree_Item } from '@lm_fe/service';
2
+ import { MyDataNode } from '../types';
3
+ export declare const getTemplates: ({ templateType, userid }: {
4
+ templateType: any;
5
+ userid?: null | undefined;
6
+ }) => Promise<any>;
7
+ export declare const rootTemplate: MyDataNode;
8
+ export declare const transferTemplates2: (templates: Partial<IMchc_TemplateTree_Item>[], pid?: number) => {
9
+ tree: MyDataNode[];
10
+ all: MyDataNode[];
11
+ };
12
+ export declare const transferTemplates: (templates: Partial<IMchc_TemplateTree_Item>[], pid?: number) => {
13
+ tree: MyDataNode[];
14
+ all: MyDataNode[];
15
+ };
@@ -0,0 +1,27 @@
1
+ import { ITemplateConfig } from "@lm_fe/env";
2
+ import { IMchc_Pregnancy, IMchc_TemplateTree_Item, IMchc_User } from "@lm_fe/service";
3
+ interface IMetaInfo {
4
+ user?: IMchc_User;
5
+ pregnacy?: IMchc_Pregnancy;
6
+ item: Partial<IMchc_TemplateTree_Item>;
7
+ }
8
+ export interface ITemplateType extends ITemplateConfig {
9
+ getList?(data: IMetaInfo): Promise<Partial<IMchc_TemplateTree_Item>[]>;
10
+ delItem?(data: IMetaInfo): Promise<void>;
11
+ postItem?(data: IMetaInfo): Promise<void>;
12
+ putItem?(data: IMetaInfo): Promise<void>;
13
+ }
14
+ export interface MyDataNode extends Partial<IMchc_TemplateTree_Item> {
15
+ checkable?: boolean;
16
+ children?: MyDataNode[];
17
+ disabled?: boolean;
18
+ disableCheckbox?: boolean;
19
+ isLeaf?: boolean;
20
+ key: string | number;
21
+ title?: React.ReactNode;
22
+ selectable?: boolean;
23
+ className?: string;
24
+ style?: React.CSSProperties;
25
+ value?: number;
26
+ }
27
+ export {};
@@ -0,0 +1,6 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { IGlobalModalProps } from '@lm_fe/components';
3
+ export interface Iprops {
4
+ content: ReactNode;
5
+ }
6
+ export default function Test({ modal_data, visible, onCancel, ...others }: IGlobalModalProps<Iprops>): React.JSX.Element;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { IGlobalModalProps } from '@lm_fe/components';
3
+ export interface Iprops {
4
+ items: any[];
5
+ getLabel(target: any): string;
6
+ onSelect(target: any): void;
7
+ }
8
+ export default function TextSearch({ modal_data, visible, onCancel, close, ...others }: IGlobalModalProps<Iprops>): React.JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { IGlobalModalProps } from '@lm_fe/components';
2
+ import { IMchc_Doctor_OutpatientHeaderInfo } from '@lm_fe/service';
3
+ import React from 'react';
4
+ interface IProos {
5
+ headerInfo?: IMchc_Doctor_OutpatientHeaderInfo;
6
+ }
7
+ export default function SyphilisManagement(props: IGlobalModalProps<IProos>): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import { IGlobalModalProps } from '@lm_fe/components';
2
+ import { IMchc_Doctor_OutpatientHeaderInfo } from '@lm_fe/service';
3
+ import React from 'react';
4
+ export declare function getDiffYears(date: string, preDate: string): number;
5
+ interface IProps {
6
+ headerInfo: IMchc_Doctor_OutpatientHeaderInfo;
7
+ }
8
+ export default function Preeclampsia(props: IGlobalModalProps<IProps>): React.JSX.Element;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import { IGlobalModalProps } from '@lm_fe/components';
2
+ import { IMchc_Doctor_OutpatientHeaderInfo } from '@lm_fe/service';
3
+ import React from 'react';
4
+ interface IProos {
5
+ headerInfo?: IMchc_Doctor_OutpatientHeaderInfo;
6
+ }
7
+ export default function SyphilisManagement(props: IGlobalModalProps<IProos>): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import { IGlobalModalProps } from '@lm_fe/components';
2
+ import { TIdTypeCompatible } from '@lm_fe/service';
3
+ import React from 'react';
4
+ interface IProos {
5
+ pregnancyId: TIdTypeCompatible;
6
+ }
7
+ export declare function getDiffYears(date: string, preDate: string): number;
8
+ export declare function ThrombusGysy(props: IGlobalModalProps<IProos>): React.JSX.Element;
9
+ export {};