@lm_fe/components 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.
Files changed (187) hide show
  1. package/README.md +1 -1
  2. package/dist/keep-alive/common.d.ts +46 -0
  3. package/dist/keep-alive/components/AsyncComponent.d.ts +27 -0
  4. package/dist/keep-alive/components/Comment.d.ts +18 -0
  5. package/dist/keep-alive/components/Consumer.d.ts +20 -0
  6. package/dist/keep-alive/components/keepAlive.d.ts +4 -0
  7. package/dist/keep-alive/components/provider.d.ts +31 -0
  8. package/dist/keep-alive/contexts/IdentificationContext.d.ts +12 -0
  9. package/dist/keep-alive/contexts/KeepAliveContext.d.ts +5 -0
  10. package/dist/keep-alive/index.d.ts +7 -0
  11. package/dist/keep-alive/index.js +1901 -0
  12. package/dist/keep-alive/utils/bindLifecycle.d.ts +3 -0
  13. package/dist/keep-alive/utils/changePositionByComment.d.ts +1 -0
  14. package/dist/keep-alive/utils/createEventEmitter.d.ts +11 -0
  15. package/dist/keep-alive/utils/createStoreElement.d.ts +1 -0
  16. package/dist/keep-alive/utils/createUniqueIdentification.d.ts +8 -0
  17. package/dist/keep-alive/utils/debug.d.ts +3 -0
  18. package/dist/keep-alive/utils/getDisplayName.d.ts +2 -0
  19. package/dist/keep-alive/utils/getKeepAlive.d.ts +3 -0
  20. package/dist/keep-alive/utils/getKeyByFiberNode.d.ts +1 -0
  21. package/dist/keep-alive/utils/isRegExp.d.ts +1 -0
  22. package/dist/keep-alive/utils/keepAliveDecorator.d.ts +17 -0
  23. package/dist/keep-alive/utils/md5.d.ts +1 -0
  24. package/dist/keep-alive/utils/noop.d.ts +2 -0
  25. package/dist/keep-alive/utils/shallowEqual.d.ts +2 -0
  26. package/dist/keep-alive/utils/useKeepAliveEffect.d.ts +2 -0
  27. package/dist/keep-alive/utils/withIdentificationContextConsumer.d.ts +10 -0
  28. package/dist/keep-alive/utils/withKeepAliveContextConsumer.d.ts +10 -0
  29. package/dist/src/ArraySingle/Inner.d.ts +3 -0
  30. package/dist/src/ArraySingle/index.d.ts +2 -0
  31. package/dist/src/CaseTempleteEdit/Inner.d.ts +4 -0
  32. package/dist/src/CaseTempleteEdit/config.d.ts +20 -0
  33. package/dist/src/CaseTempleteEdit/index.d.ts +4 -0
  34. package/dist/src/CaseTempleteEdit/types.d.ts +19 -0
  35. package/dist/src/CaseTempleteEdit/utils.d.ts +2 -0
  36. package/dist/src/CaseTempleteEditEmr/Inner.d.ts +3 -0
  37. package/dist/src/CaseTempleteEditEmr/demo_text.d.ts +1 -0
  38. package/dist/src/CaseTempleteEditEmr/index.d.ts +2 -0
  39. package/dist/src/CaseTempleteEditEmr/types.d.ts +6 -0
  40. package/dist/src/CaseTempleteEditEmr/utils.d.ts +3 -0
  41. package/dist/{GlobalModal → src/GlobalModal}/index.d.ts +2 -1
  42. package/dist/src/LazyAntd/index.d.ts +17 -0
  43. package/dist/{Monaco → src/Monaco}/Inner.d.ts +1 -1
  44. package/dist/src/MyAddress/Inner.d.ts +3 -0
  45. package/dist/{MyImageEditor → src/MyImageEditor}/Inner.d.ts +1 -1
  46. package/dist/{MyImageEditor → src/MyImageEditor}/utils.d.ts +1 -1
  47. package/dist/{MyInput → src/MyInput}/index.d.ts +2 -2
  48. package/dist/{PDF_Frame_View → src/PDF_Frame_View}/utils.d.ts +1 -1
  49. package/dist/src/PatientSelect/Inner.d.ts +16 -0
  50. package/dist/src/PatientSelect/index.d.ts +3 -0
  51. package/dist/src/SimpleForm/Inner.d.ts +5 -0
  52. package/dist/{SimpleForm → src/SimpleForm}/components/TabForm/index.d.ts +3 -2
  53. package/dist/{SimpleForm → src/SimpleForm}/components/extra/Custom.d.ts +2 -1
  54. package/dist/{SimpleForm → src/SimpleForm}/components/index.d.ts +3 -6
  55. package/dist/src/SimpleForm/index.d.ts +17 -0
  56. package/dist/{SimpleForm/index.d.ts → src/SimpleForm/types.d.ts} +0 -14
  57. package/dist/src/a_chunks/ArraySingle.Inner.js +19 -0
  58. package/dist/src/a_chunks/CaseTempleteEdit.Inner.js +622 -0
  59. package/dist/src/a_chunks/CaseTempleteEditEmr.Inner.js +235 -0
  60. package/dist/{a_chunks/.root6.js → src/a_chunks/MyAddress.Inner.js} +38 -89
  61. package/dist/{a_chunks/.root4.js → src/a_chunks/MyImageEditor.Inner.js} +128 -179
  62. package/dist/{a_chunks/.root5.js → src/a_chunks/Old.InnerOld.js} +20 -59
  63. package/dist/{a_chunks/.root2.js → src/a_chunks/PDF_Frame_View.Inner.js} +11 -51
  64. package/dist/src/a_chunks/PatientSelect.Inner.js +281 -0
  65. package/dist/src/a_chunks/SimpleForm.Inner.js +318 -0
  66. package/dist/src/a_chunks/index.js +550 -0
  67. package/dist/src/a_chunks/style-inject.es.js +25 -0
  68. package/dist/src/config.d.ts +1 -0
  69. package/dist/{hooks → src/hooks}/index.d.ts +1 -0
  70. package/dist/src/hooks/use_fuck.d.ts +5 -0
  71. package/dist/src/index.d.ts +11 -0
  72. package/dist/src/index.js +10 -0
  73. package/dist/src/pack_components.d.ts +213 -0
  74. package/dist/src/utils/getInputStyle.d.ts +1 -0
  75. package/dist/src/utils/index.d.ts +1 -0
  76. package/dist/src/utils/other.d.ts +3 -0
  77. package/package.json +30 -26
  78. package/dist/ContainerDimensions2/index.d.ts +0 -10
  79. package/dist/LazyAntd/AutoComplete/Inner.d.ts +0 -4
  80. package/dist/LazyAntd/AutoComplete/index.d.ts +0 -4
  81. package/dist/LazyAntd/DatePicker/Base/Calendar.d.ts +0 -3
  82. package/dist/LazyAntd/DatePicker/Base/DatePicker.d.ts +0 -11
  83. package/dist/LazyAntd/DatePicker/Base/index.d.ts +0 -12
  84. package/dist/LazyAntd/DatePicker/Base/props.d.ts +0 -14
  85. package/dist/LazyAntd/DatePicker/Calendar.d.ts +0 -4
  86. package/dist/LazyAntd/DatePicker/DatePicker.d.ts +0 -4
  87. package/dist/LazyAntd/DatePicker/MonthPicker.d.ts +0 -4
  88. package/dist/LazyAntd/DatePicker/RangePicker.d.ts +0 -4
  89. package/dist/LazyAntd/DatePicker/TimePicker.d.ts +0 -4
  90. package/dist/LazyAntd/DatePicker/index.d.ts +0 -5
  91. package/dist/LazyAntd/Dropdown/Button.d.ts +0 -2
  92. package/dist/LazyAntd/Dropdown/Inner.d.ts +0 -3
  93. package/dist/LazyAntd/Dropdown/index.d.ts +0 -10
  94. package/dist/LazyAntd/Form/FormItemInner.d.ts +0 -2
  95. package/dist/LazyAntd/Form/Inner.d.ts +0 -3
  96. package/dist/LazyAntd/Form/index.d.ts +0 -9
  97. package/dist/LazyAntd/Modal/Inner.d.ts +0 -4
  98. package/dist/LazyAntd/Modal/index.d.ts +0 -3
  99. package/dist/LazyAntd/Pagination/Inner.d.ts +0 -3
  100. package/dist/LazyAntd/Pagination/index.d.ts +0 -3
  101. package/dist/LazyAntd/Select/Inner.d.ts +0 -3
  102. package/dist/LazyAntd/Select/OptionInner.d.ts +0 -2
  103. package/dist/LazyAntd/Select/index.d.ts +0 -10
  104. package/dist/LazyAntd/Table/Inner.d.ts +0 -3
  105. package/dist/LazyAntd/Table/index.d.ts +0 -3
  106. package/dist/LazyAntd/Tree/DirectoryTreeInner.d.ts +0 -3
  107. package/dist/LazyAntd/Tree/Inner.d.ts +0 -3
  108. package/dist/LazyAntd/Tree/TreeNodeInner.d.ts +0 -4
  109. package/dist/LazyAntd/Tree/index.d.ts +0 -12
  110. package/dist/LazyAntd/TreeSelect/Inner.d.ts +0 -3
  111. package/dist/LazyAntd/TreeSelect/index.d.ts +0 -3
  112. package/dist/LazyAntd/index.d.ts +0 -25
  113. package/dist/MyAddress/Inner.d.ts +0 -3
  114. package/dist/QRCode/Inner.d.ts +0 -3
  115. package/dist/QRCode/index.d.ts +0 -2
  116. package/dist/QRCode/types.d.ts +0 -68
  117. package/dist/a_chunks/.root.js +0 -805
  118. package/dist/a_chunks/.root.js.map +0 -1
  119. package/dist/a_chunks/.root10.js +0 -8
  120. package/dist/a_chunks/.root10.js.map +0 -1
  121. package/dist/a_chunks/.root11.js +0 -7
  122. package/dist/a_chunks/.root11.js.map +0 -1
  123. package/dist/a_chunks/.root12.js +0 -8
  124. package/dist/a_chunks/.root12.js.map +0 -1
  125. package/dist/a_chunks/.root13.js +0 -4
  126. package/dist/a_chunks/.root13.js.map +0 -1
  127. package/dist/a_chunks/.root14.js +0 -8
  128. package/dist/a_chunks/.root14.js.map +0 -1
  129. package/dist/a_chunks/.root15.js +0 -7
  130. package/dist/a_chunks/.root15.js.map +0 -1
  131. package/dist/a_chunks/.root16.js +0 -8
  132. package/dist/a_chunks/.root16.js.map +0 -1
  133. package/dist/a_chunks/.root17.js +0 -8
  134. package/dist/a_chunks/.root17.js.map +0 -1
  135. package/dist/a_chunks/.root18.js +0 -8
  136. package/dist/a_chunks/.root18.js.map +0 -1
  137. package/dist/a_chunks/.root19.js +0 -8
  138. package/dist/a_chunks/.root19.js.map +0 -1
  139. package/dist/a_chunks/.root2.js.map +0 -1
  140. package/dist/a_chunks/.root20.js +0 -6
  141. package/dist/a_chunks/.root20.js.map +0 -1
  142. package/dist/a_chunks/.root21.js +0 -5
  143. package/dist/a_chunks/.root21.js.map +0 -1
  144. package/dist/a_chunks/.root3.js +0 -7
  145. package/dist/a_chunks/.root3.js.map +0 -1
  146. package/dist/a_chunks/.root4.js.map +0 -1
  147. package/dist/a_chunks/.root5.js.map +0 -1
  148. package/dist/a_chunks/.root6.js.map +0 -1
  149. package/dist/a_chunks/.root7.js +0 -8
  150. package/dist/a_chunks/.root7.js.map +0 -1
  151. package/dist/a_chunks/.root8.js +0 -8
  152. package/dist/a_chunks/.root8.js.map +0 -1
  153. package/dist/a_chunks/.root9.js +0 -7
  154. package/dist/a_chunks/.root9.js.map +0 -1
  155. package/dist/a_chunks/index.js +0 -1238
  156. package/dist/a_chunks/index.js.map +0 -1
  157. package/dist/index.d.ts +0 -11
  158. package/dist/index.js +0 -45
  159. package/dist/index.js.map +0 -1
  160. package/dist/pack_components.d.ts +0 -17
  161. package/dist/utils/getInputStyle.d.ts +0 -11
  162. package/dist/utils/index.d.ts +0 -2
  163. package/dist/utils/other.d.ts +0 -4
  164. /package/dist/{ContainerDimensions → src/ContainerDimensions}/index.d.ts +0 -0
  165. /package/dist/{GlobalModal → src/GlobalModal}/utils.d.ts +0 -0
  166. /package/dist/{Monaco → src/Monaco}/index.d.ts +0 -0
  167. /package/dist/{MyAddress → src/MyAddress}/Old/InnerOld.d.ts +0 -0
  168. /package/dist/{MyAddress → src/MyAddress}/Old/index.d.ts +0 -0
  169. /package/dist/{MyAddress → src/MyAddress}/Old/options.d.ts +0 -0
  170. /package/dist/{MyAddress → src/MyAddress}/index.d.ts +0 -0
  171. /package/dist/{MyAddress → src/MyAddress}/type.d.ts +0 -0
  172. /package/dist/{MyAddress → src/MyAddress}/utils.d.ts +0 -0
  173. /package/dist/{MyImageEditor → src/MyImageEditor}/index.d.ts +0 -0
  174. /package/dist/{MyImageEditor → src/MyImageEditor}/init_delete_control.d.ts +0 -0
  175. /package/dist/{MyInput → src/MyInput}/types.d.ts +0 -0
  176. /package/dist/{MyLazyComponent → src/MyLazyComponent}/index.d.ts +0 -0
  177. /package/dist/{PDF_Frame_View → src/PDF_Frame_View}/Inner.d.ts +0 -0
  178. /package/dist/{PDF_Frame_View → src/PDF_Frame_View}/index.d.ts +0 -0
  179. /package/dist/{PDF_Frame_View → src/PDF_Frame_View}/types.d.ts +0 -0
  180. /package/dist/{SimpleForm → src/SimpleForm}/components/extra/MultiInput.d.ts +0 -0
  181. /package/dist/{SimpleForm → src/SimpleForm}/components/extra/SimpleSelect.d.ts +0 -0
  182. /package/dist/{SimpleForm → src/SimpleForm}/components/extra/SwitchSelect.d.ts +0 -0
  183. /package/dist/{SimpleForm → src/SimpleForm}/types/help.d.ts +0 -0
  184. /package/dist/{SimpleForm → src/SimpleForm}/types/metaTypes.d.ts +0 -0
  185. /package/dist/{hooks → src/hooks}/useMchcDriverStatus.d.ts +0 -0
  186. /package/dist/{hooks → src/hooks}/useMyEffect.d.ts +0 -0
  187. /package/dist/{style → src/style}/index.d.ts +0 -0
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const bindLifecycleTypeName = "$$bindLifecycle";
3
+ export default function bindLifecycle<P = any>(Component: React.ComponentClass<P>): any;
@@ -0,0 +1 @@
1
+ export default function changePositionByComment(identification: string, presentParentNode: Node, originalParentNode: Node): void;
@@ -0,0 +1,11 @@
1
+ type EventNames = string | string[];
2
+ type Listener = (...args: any) => void;
3
+ export default function createEventEmitter(): {
4
+ on: (eventNames: EventNames, listener: Listener, direction?: boolean) => void;
5
+ off: (eventNames: EventNames, listener: Listener) => void;
6
+ emit: (eventNames: EventNames, ...args: any) => void;
7
+ clear: () => void;
8
+ listenerCount: (eventNames: EventNames) => number;
9
+ removeAllListeners: (eventNames: EventNames) => void;
10
+ };
11
+ export {};
@@ -0,0 +1 @@
1
+ export default function createStoreElement(): HTMLElement;
@@ -0,0 +1,8 @@
1
+ export declare const prefix = "keep-alive";
2
+ /**
3
+ * Create UUID
4
+ * Reference: https://stackoverflow.com/questions/105034/create-guid-uuid-in-javascript
5
+ * @export
6
+ * @returns
7
+ */
8
+ export default function createUniqueIdentification(length?: number): string;
@@ -0,0 +1,3 @@
1
+ type Warn = (message?: string) => void;
2
+ export declare let warn: Warn;
3
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function getDisplayName(Component: React.ComponentType): string;
@@ -0,0 +1,3 @@
1
+ type Pattern = string | string[] | RegExp;
2
+ export default function getKeepAlive(name: string, include?: Pattern, exclude?: Pattern, disabled?: boolean): boolean;
3
+ export {};
@@ -0,0 +1 @@
1
+ export default function getKeyByFiberNode(fiberNode: any): string | null;
@@ -0,0 +1 @@
1
+ export default function isRegExp(value: RegExp): boolean;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ export declare enum COMMAND {
3
+ UNACTIVATE = "unactivate",
4
+ UNMOUNT = "unmount",
5
+ ACTIVATE = "activate",
6
+ CURRENT_UNMOUNT = "current_unmount",
7
+ CURRENT_UNACTIVATE = "current_unactivate"
8
+ }
9
+ /**
10
+ * Decorating the <KeepAlive> component, the main function is to listen to events emitted by the upper <KeepAlive> component, triggering events of the current <KeepAlive> component.
11
+ *
12
+ * @export
13
+ * @template P
14
+ * @param {React.ComponentType<any>} Component
15
+ * @returns {React.ComponentType<P>}
16
+ */
17
+ export default function keepAliveDecorator<P = any>(Component: React.ComponentType<any>): React.ComponentType<P>;
@@ -0,0 +1 @@
1
+ export default function createMD5(value?: string, length?: number): string;
@@ -0,0 +1,2 @@
1
+ declare const noop: () => undefined;
2
+ export default noop;
@@ -0,0 +1,2 @@
1
+ declare function shallowEqual(objA: object, objB: object): boolean;
2
+ export default shallowEqual;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function useKeepAliveEffect(effect: React.EffectCallback): void;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { IIdentificationContextProps } from '../contexts/IdentificationContext';
3
+ export interface IIdentificationContextConsumerComponentProps {
4
+ _identificationContextProps: IIdentificationContextProps;
5
+ }
6
+ export declare const withIdentificationContextConsumerDisplayName = "withIdentificationContextConsumer";
7
+ export default function withIdentificationContextConsumer<P = any>(Component: React.ComponentType<IIdentificationContextConsumerComponentProps & P>): {
8
+ (props: P): React.JSX.Element;
9
+ displayName: string;
10
+ };
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { IKeepAliveContextProps } from '../contexts/KeepAliveContext';
3
+ export interface IKeepAliveContextConsumerComponentProps {
4
+ _keepAliveContextProps: IKeepAliveContextProps;
5
+ }
6
+ export declare const WithKeepAliveContextConsumerDisplayName = "withKeepAliveContextConsumer";
7
+ export default function withKeepAliveContextConsumer<P = any>(Component: React.ComponentType<IKeepAliveContextConsumerComponentProps & P>): {
8
+ (props: P): React.JSX.Element;
9
+ displayName: string;
10
+ };
@@ -0,0 +1,3 @@
1
+ import { IArraySingleProps, TCommonComponent } from '@noah-libjs/components';
2
+ declare const ArraySingle_Inner: TCommonComponent<IArraySingleProps, string>;
3
+ export default ArraySingle_Inner;
@@ -0,0 +1,2 @@
1
+ import { IArraySingleProps, TCommonComponent } from '@noah-libjs/components';
2
+ export declare const ArraySingle: TCommonComponent<IArraySingleProps, string>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ import { ICaseEditProps } from './types';
4
+ export default function CaseTempleteEdit(props: ICaseEditProps): React.JSX.Element;
@@ -0,0 +1,20 @@
1
+ export declare const defaultToolbars: {
2
+ name: string;
3
+ title: string;
4
+ items: {
5
+ name: string;
6
+ title: string;
7
+ items: (string | {
8
+ name: string;
9
+ title: string;
10
+ items: {
11
+ title: string;
12
+ name: string;
13
+ }[];
14
+ } | {
15
+ name: string;
16
+ title: string;
17
+ items?: undefined;
18
+ })[];
19
+ }[];
20
+ }[];
@@ -0,0 +1,4 @@
1
+ export { ICaseEditProps } from './types';
2
+ export { preload_tpl_editor } from './utils';
3
+ export { CaseTempleteEdit };
4
+ declare const CaseTempleteEdit: import("react").LazyExoticComponent<typeof import("./Inner").default>;
@@ -0,0 +1,19 @@
1
+ export interface ICaseEditProps {
2
+ onChange?(str?: string): void;
3
+ value?: string;
4
+ containerProps?: {
5
+ width?: number;
6
+ height?: number;
7
+ };
8
+ toolbars?: any;
9
+ mode?: 'DESIGN' | 'EDITOR' | 'STRICT' | 'READONLY';
10
+ emr_mode?: 'design' | 'form';
11
+ hiddenButton?: boolean;
12
+ sdeKey?: any;
13
+ hidentoolbars?: boolean;
14
+ }
15
+ export interface IFuck_Xsde {
16
+ execCommand(cmd: string): void;
17
+ html(str?: string): string;
18
+ addListener(e: string, cb: () => void): void;
19
+ }
@@ -0,0 +1,2 @@
1
+ export declare function load_sde(): Promise<void>;
2
+ export declare function preload_tpl_editor(): void;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ICaseEditProps } from "src/CaseTempleteEdit/types";
3
+ export default function CaseTempleteEditEmr(props: ICaseEditProps): React.JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const demo_text = "<div id=\"_page\" style=\"margin: 0px auto; background: rgb(255, 255, 255); width: 210mm; min-height: 297mm; transform: scale(1, 1); transform-origin: 50% 0px 0px;\" pagekind=\"A4\" direct=\"portrait\"><div id=\"_header\" style=\"min-height: 0.65cm; padding-left: 0.65cm; padding-right: 0.65cm; padding-top: 0.65cm; position: relative; outline: none;\" contenteditable=\"false\" class=\"\">\u55E1\u55E1\u55E1</div><div id=\"_body\" style=\"min-height: calc(297mm - 0.65cm - 0.65cm - 0.65cm - 0.65cm);padding-left:0.65cm;padding-right:0.65cm;\" contenteditable=\"false\" class=\"\"><p><span style=\"background-color: rgb(231, 64, 37); color: rgb(255, 255, 255);\">\u4E09\u627D\u4E09\u627D</span></p></div><div id=\"_footer\" style=\"position: relative; min-height: 0.65cm; padding-left: 0.65cm; padding-right: 0.65cm; padding-bottom: 0.65cm; outline: none;\" contenteditable=\"false\" class=\"\"></div> \n \n </div>";
@@ -0,0 +1,2 @@
1
+ declare const CaseTempleteEditEmr: import("react").LazyExoticComponent<typeof import("./Inner").default>;
2
+ export { CaseTempleteEditEmr };
@@ -0,0 +1,6 @@
1
+ export interface IFuck_Xemr {
2
+ init(opt: any): void;
3
+ loadHtml(str: string): void;
4
+ getHtml(): string;
5
+ execCommand(cmd: 'preview' | 'new'): void;
6
+ }
@@ -0,0 +1,3 @@
1
+ import { IFuck_Xemr } from "./types";
2
+ export declare function get_editor_frame(): HTMLIFrameElement;
3
+ export declare function load_xemr(): Promise<IFuck_Xemr>;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
- import { GlobalModal, TGlobalModalMeta } from './utils';
2
+ import { GlobalModal, IGlobalModalProps, TGlobalModalMeta } from './utils';
3
3
  export * from './utils';
4
+ export { IGlobalModalProps };
4
5
  export declare function MountGlobalModal(props: {
5
6
  meta: TGlobalModalMeta;
6
7
  globalModal: GlobalModal<any>;
@@ -0,0 +1,17 @@
1
+ import { Pagination_L, Table_L, TreeSelect_L, TreeNodeProps } from "@noah-libjs/components";
2
+ export declare const LazyAntd: {
3
+ Tree: import("react").ForwardRefExoticComponent<import("@noah-libjs/components").TreeProps<import("antd").TreeDataNode> & import("react").RefAttributes<import("rc-tree").default<import("antd").TreeDataNode>>> & {
4
+ TreeNode: import("react").FC<TreeNodeProps<import("@noah-libjs/components").DataNode>>;
5
+ DirectoryTree: (props: import("@noah-libjs/components").DirectoryTreeProps) => React.JSX.Element;
6
+ RCTree: import("rc-tree").default;
7
+ };
8
+ TreeSelect: typeof TreeSelect_L;
9
+ Select: (<T extends Object = any>(props: import("antd").SelectProps<T>) => React.JSX.Element) & {
10
+ Option: typeof import("@noah-libjs/components").SelectOption_L;
11
+ };
12
+ Table: typeof Table_L;
13
+ Dropdown: import("react").FC<import("antd").DropDownProps> & {
14
+ Button: (props: import("antd/es/dropdown").DropdownButtonProps) => React.JSX.Element;
15
+ };
16
+ Pagination: typeof Pagination_L;
17
+ };
@@ -8,5 +8,5 @@ interface IProps {
8
8
  height?: string;
9
9
  theme?: "vs-dark" | 'light';
10
10
  }
11
- declare function MyMonaco({ value, onChange, language, defaultValue, height, theme }: IProps): React.JSX.Element;
11
+ declare function MyMonaco(props: IProps): React.JSX.Element;
12
12
  export default MyMonaco;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IMyAddressProps } from './type';
3
+ export default function MyAddressNew_Inner(props: IMyAddressProps): React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { IMyImageEditorProps } from './utils';
3
- declare function MyImageEditor_Inner(props: IMyImageEditorProps): React.JSX.Element;
3
+ declare function MyImageEditor_Inner(props: IMyImageEditorProps): React.JSX.Element | "加载中...";
4
4
  export default MyImageEditor_Inner;
@@ -15,7 +15,7 @@ export type RealListenCbs = {
15
15
  'object:added': RealEventCb;
16
16
  };
17
17
  import { Canvas, ICanvasOptions, IEvent } from 'fabric/fabric-impl';
18
- export declare const real_fabric: RealType;
18
+ export declare const real_fabric: () => RealType;
19
19
  export declare const default_legends: {
20
20
  img: string;
21
21
  width: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Input } from 'antd';
2
+ import { InputRef } from 'antd';
3
3
  import { IMyInputProps } from './types';
4
4
  export * from './types';
5
- export declare const MyInput: React.ForwardRefExoticComponent<IMyInputProps & React.RefAttributes<Input>>;
5
+ export declare const MyInput: React.ForwardRefExoticComponent<IMyInputProps & React.RefAttributes<InputRef>>;
@@ -6,4 +6,4 @@ export declare function handleRes(res: any): {
6
6
  pdf: string | undefined;
7
7
  images: string[];
8
8
  };
9
- export declare function get_PdfFrameView_version(): string;
9
+ export declare function get_PdfFrameView_version(): any;
@@ -0,0 +1,16 @@
1
+ import { AutoCompleteProps, FormInstance } from 'antd';
2
+ import { DefaultOptionType } from 'antd/es/select';
3
+ import React from 'react';
4
+ type KeyType = [DefaultOptionType, DefaultOptionType, DefaultOptionType, DefaultOptionType];
5
+ interface IProps extends Omit<AutoCompleteProps, 'onChange'> {
6
+ name?: string;
7
+ PatientSelect_url?: string;
8
+ PatientSelect_filterKey?: string;
9
+ PatientSelect_displayKey?: KeyType;
10
+ width?: any;
11
+ form?: FormInstance;
12
+ onPatientSelect?(v: any, form?: FormInstance): void;
13
+ onChange?(v: any): void;
14
+ }
15
+ export default function PatientSelect(props: IProps): React.JSX.Element;
16
+ export {};
@@ -0,0 +1,3 @@
1
+ declare const PatientSelect: import("react").LazyExoticComponent<typeof import("./Inner").default>;
2
+ export { PatientSelect, usePatientSelect };
3
+ declare function usePatientSelect<T>(name: string): (T | undefined)[];
@@ -0,0 +1,5 @@
1
+ import { FormInstance } from 'antd';
2
+ import React from 'react';
3
+ import { SimpleFormProps } from './types';
4
+ declare const SimpleFormInner: React.ForwardRefExoticComponent<SimpleFormProps & React.RefAttributes<FormInstance<any>>>;
5
+ export default SimpleFormInner;
@@ -1,5 +1,6 @@
1
1
  import { TabsProps } from "antd";
2
- import { SimpleFormProps } from '../..';
2
+ import React from "react";
3
+ import { SimpleFormProps } from "src/SimpleForm/types";
3
4
  interface IItem {
4
5
  _id: number;
5
6
  [x: string]: any;
@@ -10,5 +11,5 @@ interface IProps extends Omit<TabsProps, 'onChange'> {
10
11
  onChange?: (v: IItem[]) => void;
11
12
  formSchema: SimpleFormProps;
12
13
  }
13
- export default function TabForm({ value, formSchema, onChange, title, style, ...others }: IProps): import("react").JSX.Element;
14
+ export default function TabForm({ value, formSchema, onChange, title, style, ...others }: IProps): React.JSX.Element;
14
15
  export {};
@@ -1,7 +1,8 @@
1
1
  import { InputProps } from "antd";
2
2
  import { FC } from "react";
3
3
  export { InputProps };
4
+ import React from "react";
4
5
  export default function Custom<T>(props: InputProps & {
5
6
  CustomedComponent: FC<T>;
6
7
  [x: string]: any;
7
- }): import("react").JSX.Element;
8
+ }): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { Checkbox, DatePicker, Divider, Input, InputNumber, Radio, Rate, Row, Slider, Switch, TimePicker, SelectProps } from 'antd';
1
+ import { Checkbox, DatePicker, Divider, Input, InputNumber, Radio, Rate, Row, Slider, Switch, TimePicker } from 'antd';
2
2
  import SimpleSelect from './extra/SimpleSelect';
3
3
  import { MultiInput } from './extra/MultiInput';
4
4
  import Custom from './extra/Custom';
@@ -6,12 +6,10 @@ import SwitchSelect from './extra/SwitchSelect';
6
6
  import { RangePickerProps } from 'antd/lib/date-picker';
7
7
  import { ComponentClass } from 'react';
8
8
  import TabForm from './TabForm';
9
- declare const Select: (<T extends Object = any>(props: SelectProps<T>) => import("react").JSX.Element) & {
10
- Option: (props: import("rc-select/lib/Option").OptionProps) => import("react").JSX.Element;
11
- };
9
+ import { Select_L } from '@noah-libjs/components';
12
10
  export interface IC {
13
11
  Input: typeof Input;
14
- Select: typeof Select;
12
+ Select: typeof Select_L;
15
13
  Radio: typeof Radio;
16
14
  InputNumber: typeof InputNumber;
17
15
  Checkbox: typeof Checkbox;
@@ -34,4 +32,3 @@ export interface IC {
34
32
  Grid: typeof Row;
35
33
  }
36
34
  export declare const ComponentMapping: IC;
37
- export {};
@@ -0,0 +1,17 @@
1
+ import { SimpleFormProps } from "./types";
2
+ import { FormInstance } from "antd";
3
+ import { Rule } from "antd/es/form";
4
+ export * from './types';
5
+ type InternalFormType = React.ForwardRefExoticComponent<SimpleFormProps & React.RefAttributes<FormInstance<any>>>;
6
+ export interface SimpleFormType extends InternalFormType {
7
+ getPresetRules: (name: keyof typeof basicRules, required?: boolean) => Rule[];
8
+ requiredRules: Rule[];
9
+ }
10
+ declare const SimpleForm: SimpleFormType;
11
+ declare const basicRules: {
12
+ telephone: {
13
+ validator: (_: any, value: any) => Promise<void>;
14
+ message: string;
15
+ };
16
+ };
17
+ export { SimpleForm };
@@ -1,6 +1,5 @@
1
1
  import { FormInstance, FormProps } from 'antd';
2
2
  import { AllTypes } from './types/metaTypes';
3
- import { Rule } from 'antd/lib/form';
4
3
  type TLayoutType = 6 | 8 | 12 | 16 | 24;
5
4
  type TFormItemMix = AllTypes & {
6
5
  layoutType?: TLayoutType;
@@ -22,17 +21,4 @@ interface IRowSchema {
22
21
  label?: string;
23
22
  disabled?: boolean;
24
23
  }
25
- declare const SimpleFormInner: import("react").ForwardRefExoticComponent<SimpleFormProps & import("react").RefAttributes<FormInstance<any>>>;
26
- type InternalFormType = typeof SimpleFormInner;
27
- interface SimpleFormType extends InternalFormType {
28
- getPresetRules: (name: keyof typeof basicRules, required?: boolean) => Rule[];
29
- requiredRules: Rule[];
30
- }
31
- export declare const SimpleForm: SimpleFormType;
32
- declare const basicRules: {
33
- telephone: {
34
- validator: (_: any, value: any) => Promise<void>;
35
- message: string;
36
- };
37
- };
38
24
  export {};
@@ -0,0 +1,19 @@
1
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ 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; }
4
+ import { ArraySingle } from '@noah-libjs/components';
5
+ import React from 'react';
6
+ import { p as pack_components } from './index.js';
7
+ import '@lm_fe/env';
8
+ import 'lodash';
9
+ import 'antd';
10
+ import '@lm_fe/static';
11
+ import '@lm_fe/service';
12
+ import '@lm_fe/provoke';
13
+ import '@lm_fe/utils';
14
+ var ArraySingle_Inner = function ArraySingle_Inner(props) {
15
+ return /*#__PURE__*/React.createElement(ArraySingle, _objectSpread(_objectSpread({}, props), {}, {
16
+ component_map: pack_components
17
+ }));
18
+ };
19
+ export { ArraySingle_Inner as default };