@lm_fe/components 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 (127) hide show
  1. package/README.md +47 -0
  2. package/dist/ContainerDimensions/index.d.ts +10 -0
  3. package/dist/ContainerDimensions2/index.d.ts +10 -0
  4. package/dist/GlobalModal/index.d.ts +7 -0
  5. package/dist/GlobalModal/utils.d.ts +65 -0
  6. package/dist/LazyAntd/AutoComplete/Inner.d.ts +4 -0
  7. package/dist/LazyAntd/AutoComplete/index.d.ts +4 -0
  8. package/dist/LazyAntd/DatePicker/Base/Calendar.d.ts +3 -0
  9. package/dist/LazyAntd/DatePicker/Base/DatePicker.d.ts +11 -0
  10. package/dist/LazyAntd/DatePicker/Base/index.d.ts +12 -0
  11. package/dist/LazyAntd/DatePicker/Base/props.d.ts +14 -0
  12. package/dist/LazyAntd/DatePicker/Calendar.d.ts +4 -0
  13. package/dist/LazyAntd/DatePicker/DatePicker.d.ts +4 -0
  14. package/dist/LazyAntd/DatePicker/MonthPicker.d.ts +4 -0
  15. package/dist/LazyAntd/DatePicker/RangePicker.d.ts +4 -0
  16. package/dist/LazyAntd/DatePicker/TimePicker.d.ts +4 -0
  17. package/dist/LazyAntd/DatePicker/index.d.ts +5 -0
  18. package/dist/LazyAntd/Dropdown/Button.d.ts +2 -0
  19. package/dist/LazyAntd/Dropdown/Inner.d.ts +3 -0
  20. package/dist/LazyAntd/Dropdown/index.d.ts +10 -0
  21. package/dist/LazyAntd/Form/FormItemInner.d.ts +2 -0
  22. package/dist/LazyAntd/Form/Inner.d.ts +3 -0
  23. package/dist/LazyAntd/Form/index.d.ts +9 -0
  24. package/dist/LazyAntd/Modal/Inner.d.ts +4 -0
  25. package/dist/LazyAntd/Modal/index.d.ts +3 -0
  26. package/dist/LazyAntd/Pagination/Inner.d.ts +3 -0
  27. package/dist/LazyAntd/Pagination/index.d.ts +3 -0
  28. package/dist/LazyAntd/Select/Inner.d.ts +3 -0
  29. package/dist/LazyAntd/Select/OptionInner.d.ts +2 -0
  30. package/dist/LazyAntd/Select/index.d.ts +10 -0
  31. package/dist/LazyAntd/Table/Inner.d.ts +3 -0
  32. package/dist/LazyAntd/Table/index.d.ts +3 -0
  33. package/dist/LazyAntd/Tree/DirectoryTreeInner.d.ts +3 -0
  34. package/dist/LazyAntd/Tree/Inner.d.ts +3 -0
  35. package/dist/LazyAntd/Tree/TreeNodeInner.d.ts +4 -0
  36. package/dist/LazyAntd/Tree/index.d.ts +12 -0
  37. package/dist/LazyAntd/TreeSelect/Inner.d.ts +3 -0
  38. package/dist/LazyAntd/TreeSelect/index.d.ts +3 -0
  39. package/dist/LazyAntd/index.d.ts +25 -0
  40. package/dist/Monaco/Inner.d.ts +12 -0
  41. package/dist/Monaco/index.d.ts +1 -0
  42. package/dist/MyAddress/Inner.d.ts +3 -0
  43. package/dist/MyAddress/Old/InnerOld.d.ts +3 -0
  44. package/dist/MyAddress/Old/index.d.ts +3 -0
  45. package/dist/MyAddress/Old/options.d.ts +25 -0
  46. package/dist/MyAddress/index.d.ts +6 -0
  47. package/dist/MyAddress/type.d.ts +16 -0
  48. package/dist/MyAddress/utils.d.ts +6 -0
  49. package/dist/MyImageEditor/Inner.d.ts +4 -0
  50. package/dist/MyImageEditor/index.d.ts +16 -0
  51. package/dist/MyImageEditor/init_delete_control.d.ts +1 -0
  52. package/dist/MyImageEditor/utils.d.ts +36 -0
  53. package/dist/MyInput/index.d.ts +5 -0
  54. package/dist/MyInput/types.d.ts +9 -0
  55. package/dist/MyLazyComponent/index.d.ts +6 -0
  56. package/dist/PDF_Frame_View/Inner.d.ts +3 -0
  57. package/dist/PDF_Frame_View/index.d.ts +5 -0
  58. package/dist/PDF_Frame_View/types.d.ts +32 -0
  59. package/dist/PDF_Frame_View/utils.d.ts +9 -0
  60. package/dist/QRCode/Inner.d.ts +3 -0
  61. package/dist/QRCode/index.d.ts +2 -0
  62. package/dist/QRCode/types.d.ts +68 -0
  63. package/dist/SimpleForm/components/TabForm/index.d.ts +14 -0
  64. package/dist/SimpleForm/components/extra/Custom.d.ts +7 -0
  65. package/dist/SimpleForm/components/extra/MultiInput.d.ts +6 -0
  66. package/dist/SimpleForm/components/extra/SimpleSelect.d.ts +6 -0
  67. package/dist/SimpleForm/components/extra/SwitchSelect.d.ts +4 -0
  68. package/dist/SimpleForm/components/index.d.ts +37 -0
  69. package/dist/SimpleForm/index.d.ts +38 -0
  70. package/dist/SimpleForm/types/help.d.ts +3 -0
  71. package/dist/SimpleForm/types/metaTypes.d.ts +29 -0
  72. package/dist/a_chunks/.root.js +805 -0
  73. package/dist/a_chunks/.root.js.map +1 -0
  74. package/dist/a_chunks/.root10.js +8 -0
  75. package/dist/a_chunks/.root10.js.map +1 -0
  76. package/dist/a_chunks/.root11.js +7 -0
  77. package/dist/a_chunks/.root11.js.map +1 -0
  78. package/dist/a_chunks/.root12.js +8 -0
  79. package/dist/a_chunks/.root12.js.map +1 -0
  80. package/dist/a_chunks/.root13.js +4 -0
  81. package/dist/a_chunks/.root13.js.map +1 -0
  82. package/dist/a_chunks/.root14.js +8 -0
  83. package/dist/a_chunks/.root14.js.map +1 -0
  84. package/dist/a_chunks/.root15.js +7 -0
  85. package/dist/a_chunks/.root15.js.map +1 -0
  86. package/dist/a_chunks/.root16.js +8 -0
  87. package/dist/a_chunks/.root16.js.map +1 -0
  88. package/dist/a_chunks/.root17.js +8 -0
  89. package/dist/a_chunks/.root17.js.map +1 -0
  90. package/dist/a_chunks/.root18.js +8 -0
  91. package/dist/a_chunks/.root18.js.map +1 -0
  92. package/dist/a_chunks/.root19.js +8 -0
  93. package/dist/a_chunks/.root19.js.map +1 -0
  94. package/dist/a_chunks/.root2.js +227 -0
  95. package/dist/a_chunks/.root2.js.map +1 -0
  96. package/dist/a_chunks/.root20.js +6 -0
  97. package/dist/a_chunks/.root20.js.map +1 -0
  98. package/dist/a_chunks/.root21.js +5 -0
  99. package/dist/a_chunks/.root21.js.map +1 -0
  100. package/dist/a_chunks/.root3.js +7 -0
  101. package/dist/a_chunks/.root3.js.map +1 -0
  102. package/dist/a_chunks/.root4.js +918 -0
  103. package/dist/a_chunks/.root4.js.map +1 -0
  104. package/dist/a_chunks/.root5.js +195 -0
  105. package/dist/a_chunks/.root5.js.map +1 -0
  106. package/dist/a_chunks/.root6.js +361 -0
  107. package/dist/a_chunks/.root6.js.map +1 -0
  108. package/dist/a_chunks/.root7.js +8 -0
  109. package/dist/a_chunks/.root7.js.map +1 -0
  110. package/dist/a_chunks/.root8.js +8 -0
  111. package/dist/a_chunks/.root8.js.map +1 -0
  112. package/dist/a_chunks/.root9.js +7 -0
  113. package/dist/a_chunks/.root9.js.map +1 -0
  114. package/dist/a_chunks/index.js +1238 -0
  115. package/dist/a_chunks/index.js.map +1 -0
  116. package/dist/hooks/index.d.ts +2 -0
  117. package/dist/hooks/useMchcDriverStatus.d.ts +3 -0
  118. package/dist/hooks/useMyEffect.d.ts +4 -0
  119. package/dist/index.d.ts +11 -0
  120. package/dist/index.js +45 -0
  121. package/dist/index.js.map +1 -0
  122. package/dist/pack_components.d.ts +17 -0
  123. package/dist/style/index.d.ts +1 -0
  124. package/dist/utils/getInputStyle.d.ts +11 -0
  125. package/dist/utils/index.d.ts +2 -0
  126. package/dist/utils/other.d.ts +4 -0
  127. package/package.json +63 -0
package/README.md ADDED
@@ -0,0 +1,47 @@
1
+ # @lm_fe/components
2
+
3
+ ## 安装
4
+
5
+ ```bash
6
+ # 查看版本信息
7
+ yarn info @lm_fe/components
8
+
9
+ # 安装核心包 @lm_fe/core 即可获得所有功能
10
+ yarn add @lm_fe/core
11
+ ```
12
+
13
+
14
+
15
+
16
+
17
+
18
+ ## 组件
19
+
20
+ ### MyAddress(兼容新旧地址组件)、MyAddressNew(新的地址组件)
21
+
22
+
23
+ ```tsx
24
+
25
+ export interface IMyAddressProps {
26
+ value?: string;
27
+ onChange?: (value: string) => void;
28
+ id?: string;
29
+ disabled?: boolean;
30
+ size?: 'large' | 'middle' | 'small';
31
+ getPopupContainer?: any;
32
+ bordered?: boolean;
33
+ // 同上按钮需要用到
34
+ form?: FormInstance
35
+ // 同上按钮配置
36
+ addressBtns?: { name: string, label: string, props: ButtonProps }[]
37
+ }
38
+
39
+ // 用法
40
+ <MyAddressNew form={form} addressBtns={[{ name: 'aa.bb', label: '同户籍地'}]} />
41
+
42
+ ```
43
+
44
+
45
+ ## License
46
+
47
+ ISC
@@ -0,0 +1,10 @@
1
+ import React, { Component } from "react";
2
+ import { FC } from "react";
3
+ import { ContainerDimensionsProps } from 'react-container-dimensions';
4
+ export declare class ContainerDimensions extends Component<ContainerDimensionsProps, {
5
+ Comp: FC<ContainerDimensionsProps> | null;
6
+ }> {
7
+ constructor(props: any);
8
+ componentDidMount(): void;
9
+ render(): React.JSX.Element;
10
+ }
@@ -0,0 +1,10 @@
1
+ import React, { Component } from "react";
2
+ import { FC } from "react";
3
+ import { ContainerDimensionsProps } from 'react-container-dimensions';
4
+ export declare class ContainerDimensions2 extends Component<ContainerDimensionsProps, {
5
+ Comp: FC<ContainerDimensionsProps> | null;
6
+ }> {
7
+ constructor(props: any);
8
+ componentDidMount(): void;
9
+ render(): React.JSX.Element;
10
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { GlobalModal, TGlobalModalMeta } from './utils';
3
+ export * from './utils';
4
+ export declare function MountGlobalModal(props: {
5
+ meta: TGlobalModalMeta;
6
+ globalModal: GlobalModal<any>;
7
+ }): React.JSX.Element;
@@ -0,0 +1,65 @@
1
+ import { ModalFuncProps, ModalProps } from "antd";
2
+ export interface IGlobalModalProps<T> extends Omit<ModalProps, 'onOk' | 'onClose'> {
3
+ modal_data: T;
4
+ props?: any;
5
+ /**
6
+ * 避免使用 onOk, 请使用 onClose 替代。当前栈弹出时, 内部会调用 onClose, onOk 或者 onCancel。
7
+ *
8
+ * @deprecated
9
+ *
10
+ */
11
+ onOk?: (e?: React.MouseEvent<HTMLElement>) => void;
12
+ /**
13
+ * 避免使用 onCancel, 请使用 onClose 替代。当前栈弹出时, 内部会调用 onClose, onOk 或者 onCancel。
14
+ *
15
+ * @deprecated
16
+ *
17
+ * */
18
+ onCancel?: (e?: React.MouseEvent<HTMLElement>) => void;
19
+ /**
20
+ * 当前栈弹出时, 内部会调用 onClose, onOk 或者 onCancel。
21
+ */
22
+ onClose?: (status?: boolean) => void;
23
+ /**
24
+ * pop 当前栈, 内部会调用 onClose, onOk 或者 onCancel
25
+ *
26
+ */
27
+ close?: (status?: boolean, e?: React.MouseEvent<HTMLElement>) => void;
28
+ }
29
+ export type TGlobalModalMeta = {
30
+ [x: string]: (...args: any) => any;
31
+ };
32
+ export declare class GlobalModal_<T extends {
33
+ [x: string]: (...args: any) => any;
34
+ }> {
35
+ open: <S extends keyof T>(n: S, ...data: Parameters<T[S]>) => number;
36
+ openOne: <S extends keyof T>(id: number, n: S, ...data: Parameters<T[S]>) => number;
37
+ pop: (status?: boolean) => void;
38
+ destroyAll: () => void;
39
+ confirmOnce({ storeKey, cb, ...others }: ModalFuncProps & {
40
+ storeKey: string;
41
+ cb(): void;
42
+ }): void;
43
+ }
44
+ type StackItem = {
45
+ name: any;
46
+ data: IGlobalModalProps<{}>;
47
+ id: number;
48
+ };
49
+ export declare class GlobalModal<T extends {
50
+ [x: string]: (...args: any) => any;
51
+ }> {
52
+ private stack;
53
+ private setStack;
54
+ init(stack: StackItem[], setStack: (v: StackItem[]) => void): void;
55
+ open<S extends keyof T>(name: S, data: Parameters<T[S]>[0]): number;
56
+ openOne<S extends keyof T>(id: any, name: S, data: Parameters<T[S]>[0]): any;
57
+ pop(status?: boolean, e?: React.MouseEvent<HTMLElement>): void;
58
+ private clear_one;
59
+ destroyAll(): void;
60
+ confirmOnce({ storeKey, cb, ...others }: ModalFuncProps & {
61
+ storeKey: string;
62
+ cb(): void;
63
+ }): void;
64
+ }
65
+ export {};
@@ -0,0 +1,4 @@
1
+ import { AutoCompleteProps } from 'antd/es/auto-complete';
2
+ import 'antd/es/auto-complete/style';
3
+ import React from 'react';
4
+ export default function LazyInner(props: AutoCompleteProps): React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { AutoCompleteProps } from 'antd/es/auto-complete';
2
+ import * as React from 'react';
3
+ declare const AutoComplete_L: React.ForwardRefExoticComponent<AutoCompleteProps & React.RefAttributes<any>>;
4
+ export { AutoComplete_L, AutoCompleteProps };
@@ -0,0 +1,3 @@
1
+ import { Dayjs } from 'dayjs';
2
+ declare const Calendar: (props: import("antd/es/calendar/generateCalendar").CalendarProps<Dayjs>) => JSX.Element;
3
+ export default Calendar;
@@ -0,0 +1,11 @@
1
+ import { Dayjs } from 'dayjs';
2
+ import 'antd/es/date-picker/style/index';
3
+ declare const DatePicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<import("antd/es/date-picker/generatePicker").PickerProps<Dayjs>, unknown> & {
4
+ WeekPicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/es/date-picker/generatePicker").PickerDateProps<Dayjs>, "picker">, unknown>;
5
+ MonthPicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/es/date-picker/generatePicker").PickerDateProps<Dayjs>, "picker">, unknown>;
6
+ YearPicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/es/date-picker/generatePicker").PickerDateProps<Dayjs>, "picker">, unknown>;
7
+ RangePicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<import("antd/es/date-picker/generatePicker").RangePickerProps<Dayjs>, unknown>;
8
+ TimePicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/es/date-picker/generatePicker").PickerTimeProps<Dayjs>, "picker">, unknown>;
9
+ QuarterPicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/es/date-picker/generatePicker").PickerTimeProps<Dayjs>, "picker">, unknown>;
10
+ };
11
+ export { DatePicker };
@@ -0,0 +1,12 @@
1
+ export declare const DatePickerInner: import("react").LazyExoticComponent<import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<import("antd/es/date-picker/generatePicker").PickerProps<import("dayjs").Dayjs>, unknown> & {
2
+ WeekPicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/es/date-picker/generatePicker").PickerDateProps<import("dayjs").Dayjs>, "picker">, unknown>;
3
+ MonthPicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/es/date-picker/generatePicker").PickerDateProps<import("dayjs").Dayjs>, "picker">, unknown>;
4
+ YearPicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/es/date-picker/generatePicker").PickerDateProps<import("dayjs").Dayjs>, "picker">, unknown>;
5
+ RangePicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<import("antd/es/date-picker/generatePicker").RangePickerProps<import("dayjs").Dayjs>, unknown>;
6
+ TimePicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/es/date-picker/generatePicker").PickerTimeProps<import("dayjs").Dayjs>, "picker">, unknown>;
7
+ QuarterPicker: import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/es/date-picker/generatePicker").PickerTimeProps<import("dayjs").Dayjs>, "picker">, unknown>;
8
+ }>;
9
+ export declare const RangePickerInner: import("react").LazyExoticComponent<import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<import("antd/es/date-picker/generatePicker").RangePickerProps<import("dayjs").Dayjs>, unknown>>;
10
+ export declare const MonthPickerInner: import("react").LazyExoticComponent<import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/es/date-picker/generatePicker").PickerDateProps<import("dayjs").Dayjs>, "picker">, unknown>>;
11
+ export declare const TimePickerInner: import("react").LazyExoticComponent<import("antd/es/date-picker/generatePicker/interface").PickerComponentClass<Omit<import("antd/es/date-picker/generatePicker").PickerTimeProps<import("dayjs").Dayjs>, "picker">, unknown>>;
12
+ export declare const CalendarInner: import("react").LazyExoticComponent<(props: import("antd/es/calendar/generateCalendar").CalendarProps<import("dayjs").Dayjs>) => JSX.Element>;
@@ -0,0 +1,14 @@
1
+ import { Dayjs } from 'dayjs';
2
+ import { RangePickerProps as RangePickerProps_, PickerTimeProps as PickerTimeProps_, PickerDateProps as PickerDateProps_, PickerProps as PickerProps_ } from 'antd/es/date-picker/generatePicker';
3
+ import { CalendarProps as CalendarProps_ } from 'antd/es/calendar/generateCalendar';
4
+ export type CalendarProps = CalendarProps_<Dayjs>;
5
+ export type DatePickerProps = PickerProps_<Dayjs>;
6
+ export type RangePickerProps = RangePickerProps_<Dayjs>;
7
+ export interface TimePickerProps extends Omit<PickerTimeProps_<Dayjs>, 'picker'> {
8
+ }
9
+ export interface WeekPickerProps extends Omit<PickerDateProps_<Dayjs>, "picker"> {
10
+ }
11
+ export interface MonthPickerProps extends Omit<PickerDateProps_<Dayjs>, "picker"> {
12
+ }
13
+ export interface YearPickerProps extends Omit<PickerDateProps_<Dayjs>, "picker"> {
14
+ }
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { CalendarProps } from './Base/props';
3
+ declare const Calendar_L: React.ForwardRefExoticComponent<CalendarProps & React.RefAttributes<any>>;
4
+ export { Calendar_L, CalendarProps };
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { DatePickerProps } from './Base/props';
3
+ declare const DatePicker_L: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<any>>;
4
+ export { DatePicker_L, DatePickerProps };
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { MonthPickerProps } from './Base/props';
3
+ declare const MonthPicker_L: React.ForwardRefExoticComponent<MonthPickerProps & React.RefAttributes<any>>;
4
+ export { MonthPicker_L, MonthPickerProps };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { RangePickerProps } from './Base/props';
3
+ declare const RangePicker_L: React.ForwardRefExoticComponent<RangePickerProps & React.RefAttributes<any>>;
4
+ export { RangePicker_L, RangePickerProps };
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { TimePickerProps } from './Base/props';
3
+ declare const TimePicker_L: React.ForwardRefExoticComponent<TimePickerProps & React.RefAttributes<any>>;
4
+ export { TimePicker_L, TimePickerProps };
@@ -0,0 +1,5 @@
1
+ export * from './DatePicker';
2
+ export * from './TimePicker';
3
+ export * from './MonthPicker';
4
+ export * from './RangePicker';
5
+ export * from './Calendar';
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function LazyInner(props: any): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import 'antd/es/dropdown/style';
2
+ import React from 'react';
3
+ export default function LazyInner(props: any): React.JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { DropDownProps } from 'antd';
2
+ import { DropdownButtonProps } from 'antd/es/dropdown';
3
+ import React, { FC } from 'react';
4
+ declare const Dropdown_: FC<DropDownProps>;
5
+ declare function Button(props: DropdownButtonProps): React.JSX.Element;
6
+ type DropdownType = typeof Dropdown_ & {
7
+ Button: typeof Button;
8
+ };
9
+ export declare const Dropdown: DropdownType;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function LazyInner(props: any): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import 'antd/es/form/style';
2
+ import React from 'react';
3
+ export default function LazyInner(props: any): React.JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { FormProps } from 'antd';
2
+ import React from 'react';
3
+ declare const FormItemInner: React.LazyExoticComponent<typeof import("./FormItemInner").default>;
4
+ declare function Form_<T extends Object = any>(props: FormProps<T>): React.JSX.Element;
5
+ type TreeType = typeof Form_ & {
6
+ Item: typeof FormItemInner;
7
+ };
8
+ export declare const Form: TreeType;
9
+ export {};
@@ -0,0 +1,4 @@
1
+ import { ModalProps } from 'antd';
2
+ import 'antd/es/modal/style';
3
+ import React from 'react';
4
+ export default function LazyInner(props: ModalProps): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { ModalProps } from 'antd';
2
+ import React from 'react';
3
+ export declare function Modal(props: ModalProps): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { Pagination } from 'antd';
2
+ import 'antd/es/pagination/style';
3
+ export default Pagination;
@@ -0,0 +1,3 @@
1
+ import { PaginationProps } from 'antd/es/pagination';
2
+ import React from 'react';
3
+ export declare function Pagination(props: PaginationProps): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import 'antd/es/select/style';
2
+ import React from 'react';
3
+ export default function LazyInner(props: any): React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function LazyInner(props: any): React.JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { SelectProps } from 'antd';
2
+ import { OptionProps } from 'antd/lib/select';
3
+ import React from 'react';
4
+ declare function Select_<T extends Object = any>(props: SelectProps<T>): React.JSX.Element;
5
+ declare function SelectOption(props: OptionProps): React.JSX.Element;
6
+ type SelectType = typeof Select_ & {
7
+ Option: typeof SelectOption;
8
+ };
9
+ export declare const Select: SelectType;
10
+ export {};
@@ -0,0 +1,3 @@
1
+ import 'antd/es/table/style';
2
+ import React from 'react';
3
+ export default function LazyInner(props: any): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { TableProps } from 'antd';
2
+ import React from 'react';
3
+ export declare function Table<T extends Object = any>(props: TableProps<T>): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import 'antd/es/tree/style';
2
+ import React from 'react';
3
+ export default function LazyInner(props: any): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import 'antd/es/tree/style';
2
+ import React from 'react';
3
+ export default function LazyInner(props: any): React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import 'antd/es/tree/style';
2
+ import React from 'react';
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { TreeProps } from 'antd';
2
+ import { DirectoryTreeProps } from 'antd/lib/tree';
3
+ import TreeNode from 'rc-tree/es/TreeNode';
4
+ import React from 'react';
5
+ declare function Tree_<T extends Object = any>(props: TreeProps<T>): React.JSX.Element;
6
+ declare function DirectoryTree(props: DirectoryTreeProps): React.JSX.Element;
7
+ type TreeType = typeof Tree_ & {
8
+ TreeNode: typeof TreeNode;
9
+ DirectoryTree: typeof DirectoryTree;
10
+ };
11
+ export declare const Tree: TreeType;
12
+ export {};
@@ -0,0 +1,3 @@
1
+ import 'antd/es/tree-select/style';
2
+ import React from 'react';
3
+ export default function LazyInner(props: any): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { TreeSelectProps } from 'antd';
2
+ import React from 'react';
3
+ export declare function TreeSelect<T extends Object = any>(props: TreeSelectProps<T>): React.JSX.Element;
@@ -0,0 +1,25 @@
1
+ export * from './DatePicker';
2
+ export * from './AutoComplete';
3
+ import { Modal } from "./Modal";
4
+ import { Pagination } from "./Pagination";
5
+ import { Table } from "./Table";
6
+ import { TreeSelect } from "./TreeSelect";
7
+ export declare const LazyAntd: {
8
+ Table: typeof Table;
9
+ Tree: (<T extends Object = any>(props: import("antd").TreeProps<T>) => import("react").JSX.Element) & {
10
+ TreeNode: import("react").FC<import("rc-tree/es/TreeNode").TreeNodeProps<import("rc-tree/es/interface").DataNode>>;
11
+ DirectoryTree: (props: import("antd/lib/tree").DirectoryTreeProps) => import("react").JSX.Element;
12
+ };
13
+ TreeSelect: typeof TreeSelect;
14
+ Select: (<T extends Object = any>(props: import("antd").SelectProps<T>) => import("react").JSX.Element) & {
15
+ Option: (props: import("rc-select/lib/Option").OptionProps) => import("react").JSX.Element;
16
+ };
17
+ Dropdown: import("react").FC<import("antd").DropDownProps> & {
18
+ Button: (props: import("antd/es/dropdown").DropdownButtonProps) => import("react").JSX.Element;
19
+ };
20
+ Pagination: typeof Pagination;
21
+ Modal: typeof Modal;
22
+ Form: (<T extends Object = any>(props: import("antd").FormProps<T>) => import("react").JSX.Element) & {
23
+ Item: import("react").LazyExoticComponent<typeof import("./Form/FormItemInner").default>;
24
+ };
25
+ };
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface IProps {
3
+ value?: string;
4
+ defaultValue?: string;
5
+ onChange?(e?: string): void;
6
+ language?: 'json' | 'javascript';
7
+ defaultLanguage?: string;
8
+ height?: string;
9
+ theme?: "vs-dark" | 'light';
10
+ }
11
+ declare function MyMonaco({ value, onChange, language, defaultValue, height, theme }: IProps): React.JSX.Element;
12
+ export default MyMonaco;
@@ -0,0 +1 @@
1
+ export declare const MyMonaco: import("react").LazyExoticComponent<typeof import("./Inner").default>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IMyAddressProps } from './type';
3
+ export default function MyAddressNew(props: IMyAddressProps): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IMyAddressProps } from '../type';
3
+ export default function MyAddressOld({ id, value, name, onChange, disabled, size, needStreet, getPopupContainer, bordered, form, addressBtns }: IMyAddressProps): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { get_old_address_options } from './options';
2
+ declare const MyAddressOld: import("react").LazyExoticComponent<typeof import("./InnerOld").default>;
3
+ export { MyAddressOld, get_old_address_options };
@@ -0,0 +1,25 @@
1
+ export declare const getStreets: (p: any, c: any, a: any) => Promise<{
2
+ label: string;
3
+ value: string;
4
+ children: any;
5
+ }[]>;
6
+ declare function get_old_address_options(street?: boolean): Promise<({
7
+ label: string;
8
+ value: string;
9
+ children: {
10
+ label: any;
11
+ value: any;
12
+ }[];
13
+ }[] | {
14
+ children: {
15
+ label: undefined;
16
+ value: undefined;
17
+ children: {
18
+ label: undefined;
19
+ value: undefined;
20
+ }[];
21
+ }[];
22
+ label: undefined;
23
+ value: undefined;
24
+ })[]>;
25
+ export { get_old_address_options };
@@ -0,0 +1,6 @@
1
+ import { IMyAddressProps } from './type';
2
+ import React from 'react';
3
+ export * from './Old';
4
+ declare function MyAddress(props: IMyAddressProps): React.JSX.Element;
5
+ declare function MyAddressNew(props: IMyAddressProps): React.JSX.Element;
6
+ export { IMyAddressProps, MyAddress, MyAddressNew };
@@ -0,0 +1,16 @@
1
+ import { ButtonProps, FormInstance } from "antd";
2
+ export interface IMyAddressProps {
3
+ value?: string;
4
+ onChange?: (value: string) => void;
5
+ id?: string;
6
+ disabled?: boolean;
7
+ size?: 'large' | 'middle' | 'small';
8
+ getPopupContainer?: any;
9
+ bordered?: boolean;
10
+ form?: FormInstance;
11
+ addressBtns?: {
12
+ name: string;
13
+ label: string;
14
+ props: ButtonProps;
15
+ }[];
16
+ }
@@ -0,0 +1,6 @@
1
+ import { IMchc_AddressItemType } from "@lm_fe/service";
2
+ export declare function checkFetchAddrOptionsNeed(value: string | undefined, oldArr: string[], options: IMchc_AddressItemType[]): 'noNeed' | 'init' | 'detail';
3
+ export declare function parseValue(value?: string): {
4
+ arr: string[];
5
+ str: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IMyImageEditorProps } from './utils';
3
+ declare function MyImageEditor_Inner(props: IMyImageEditorProps): React.JSX.Element;
4
+ export default MyImageEditor_Inner;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { IMyImageEditorProps, MyImageEditorEvents } from './utils';
3
+ declare function MyImageEditor__(props: IMyImageEditorProps): React.JSX.Element;
4
+ declare const MyImageEditor: typeof MyImageEditor__ & {
5
+ events: {
6
+ save: string;
7
+ create: string;
8
+ };
9
+ };
10
+ declare const GynaecologyImageEditor: typeof MyImageEditor__ & {
11
+ events: {
12
+ save: string;
13
+ create: string;
14
+ };
15
+ };
16
+ export { IMyImageEditorProps, MyImageEditorEvents, MyImageEditor, GynaecologyImageEditor };
@@ -0,0 +1 @@
1
+ export declare function init_delete_control(): void;
@@ -0,0 +1,36 @@
1
+ import _fabric from 'fabric';
2
+ type InterfaceType = typeof _fabric.fabric;
3
+ export type RealCanvas = Canvas;
4
+ export type RealType = InterfaceType & {
5
+ EraserBrush: InterfaceType['PencilBrush'];
6
+ };
7
+ export type RealEventCb<T extends globalThis.Event = globalThis.Event> = (e: IEvent<T>) => void;
8
+ export type RealListenCbs = {
9
+ drop: RealEventCb<MouseEvent>;
10
+ 'mouse:down': RealEventCb<MouseEvent>;
11
+ 'mouse:move': RealEventCb<MouseEvent>;
12
+ 'mouse:up': RealEventCb<MouseEvent>;
13
+ 'mouse:over': RealEventCb<MouseEvent>;
14
+ 'mouse:out': RealEventCb<MouseEvent>;
15
+ 'object:added': RealEventCb;
16
+ };
17
+ import { Canvas, ICanvasOptions, IEvent } from 'fabric/fabric-impl';
18
+ export declare const real_fabric: RealType;
19
+ export declare const default_legends: {
20
+ img: string;
21
+ width: number;
22
+ height: number;
23
+ label: string;
24
+ }[];
25
+ export interface IMyImageEditorProps {
26
+ legends?: typeof default_legends;
27
+ value?: string;
28
+ canvasOptions?: Partial<ICanvasOptions>;
29
+ onChange?(v: string): void;
30
+ }
31
+ export declare const MyImageEditorEvents: {
32
+ save: string;
33
+ create: string;
34
+ };
35
+ export declare function event_process(con: RealCanvas, __events: RealListenCbs): () => void;
36
+ export {};
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { Input } from 'antd';
3
+ import { IMyInputProps } from './types';
4
+ export * from './types';
5
+ export declare const MyInput: React.ForwardRefExoticComponent<IMyInputProps & React.RefAttributes<Input>>;
@@ -0,0 +1,9 @@
1
+ import { IMchc_FormDescriptions_Field } from '@lm_fe/service';
2
+ import { FormInstance, InputProps } from 'antd';
3
+ export interface IMyInputProps extends Omit<InputProps, 'value' | 'onChange' | 'form'> {
4
+ value?: string;
5
+ onChange?(v: string): void;
6
+ form?: FormInstance;
7
+ config?: IMchc_FormDescriptions_Field;
8
+ warn?: boolean;
9
+ }
@@ -0,0 +1,6 @@
1
+ import { FC, SuspenseProps } from 'react';
2
+ type TSize = 'tiny' | 'small' | 'middle' | 'large';
3
+ export declare const MyLazyComponent: FC<Partial<SuspenseProps> & {
4
+ size?: TSize;
5
+ }>;
6
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IPdfFrameView_Props } from './types';
3
+ export default function PdfFrameView_Inner(props: IPdfFrameView_Props): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { IPdfFrameView_Props } from './types';
2
+ import React from 'react';
3
+ export * from './types';
4
+ export { get_PdfFrameView_version } from './utils';
5
+ export declare function PdfFrameView(props: IPdfFrameView_Props): React.JSX.Element;