@noah-libjs/components 0.0.23 → 0.0.42

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 +1 -1
  2. package/dist/ArrayInput/DispalyInner.d.ts +4 -0
  3. package/dist/ArrayInput/Inner.d.ts +4 -0
  4. package/dist/ArrayInput/components.d.ts +201 -0
  5. package/dist/ArrayInput/index.d.ts +4 -0
  6. package/dist/ArrayInput/types.d.ts +77 -0
  7. package/dist/ArrayInput/utils.d.ts +3 -0
  8. package/dist/ArraySingle/DispalyInner.d.ts +4 -0
  9. package/dist/ArraySingle/Inner.d.ts +4 -0
  10. package/dist/ArraySingle/index.d.ts +4 -0
  11. package/dist/ArraySingle/types.d.ts +16 -0
  12. package/dist/ContainerDimensions/index.d.ts +9 -0
  13. package/dist/GlobalModal/index.d.ts +8 -0
  14. package/dist/GlobalModal/utils.d.ts +65 -0
  15. package/dist/LazyAntd/AutoComplete/Inner.d.ts +3 -0
  16. package/dist/LazyAntd/AutoComplete/index.d.ts +9 -0
  17. package/dist/LazyAntd/Checkbox/GroupInner.d.ts +3 -0
  18. package/dist/LazyAntd/Checkbox/Inner.d.ts +2 -0
  19. package/dist/LazyAntd/Checkbox/index.d.ts +9 -0
  20. package/dist/LazyAntd/ColorPicker/Inner.d.ts +3 -0
  21. package/dist/LazyAntd/ColorPicker/index.d.ts +42 -0
  22. package/dist/LazyAntd/DatePicker/Base/Calendar.d.ts +3 -0
  23. package/dist/LazyAntd/DatePicker/Base/DatePicker.d.ts +37 -0
  24. package/dist/LazyAntd/DatePicker/Base/index.d.ts +62 -0
  25. package/dist/LazyAntd/DatePicker/Calendar.d.ts +5 -0
  26. package/dist/LazyAntd/DatePicker/DatePicker.d.ts +12 -0
  27. package/dist/LazyAntd/DatePicker/MonthPicker.d.ts +11 -0
  28. package/dist/LazyAntd/DatePicker/RangePicker.d.ts +19 -0
  29. package/dist/LazyAntd/DatePicker/TimePicker.d.ts +12 -0
  30. package/dist/LazyAntd/DatePicker/index.d.ts +5 -0
  31. package/dist/LazyAntd/Dropdown/Button.d.ts +2 -0
  32. package/dist/LazyAntd/Dropdown/Inner.d.ts +2 -0
  33. package/dist/LazyAntd/Dropdown/index.d.ts +10 -0
  34. package/dist/LazyAntd/Form/FormItemInner.d.ts +2 -0
  35. package/dist/LazyAntd/Form/Inner.d.ts +2 -0
  36. package/dist/LazyAntd/Form/index.d.ts +9 -0
  37. package/dist/LazyAntd/Modal/Inner.d.ts +3 -0
  38. package/dist/LazyAntd/Modal/index.d.ts +3 -0
  39. package/dist/LazyAntd/Pagination/Inner.d.ts +2 -0
  40. package/dist/LazyAntd/Pagination/index.d.ts +3 -0
  41. package/dist/LazyAntd/QRCode/Inner.d.ts +3 -0
  42. package/dist/LazyAntd/QRCode/index.d.ts +2 -0
  43. package/dist/LazyAntd/Select/Inner.d.ts +2 -0
  44. package/dist/LazyAntd/Select/OptionInner.d.ts +1 -0
  45. package/dist/LazyAntd/Select/index.d.ts +9 -0
  46. package/dist/LazyAntd/Switch/index.d.ts +1 -0
  47. package/dist/LazyAntd/Table/Inner.d.ts +2 -0
  48. package/dist/LazyAntd/Table/index.d.ts +3 -0
  49. package/dist/LazyAntd/Tree/DirectoryTreeInner.d.ts +2 -0
  50. package/dist/LazyAntd/Tree/Inner.d.ts +3 -0
  51. package/dist/LazyAntd/Tree/TreeNodeInner.d.ts +3 -0
  52. package/dist/LazyAntd/Tree/index.d.ts +14 -0
  53. package/dist/LazyAntd/TreeSelect/Inner.d.ts +2 -0
  54. package/dist/LazyAntd/TreeSelect/index.d.ts +3 -0
  55. package/dist/LazyAntd/index.d.ts +14 -0
  56. package/dist/Monaco/Inner.d.ts +4 -0
  57. package/dist/Monaco/index.d.ts +6 -0
  58. package/dist/Monaco/types.d.ts +9 -0
  59. package/dist/MyAutoComplete/Inner.d.ts +3 -0
  60. package/dist/MyAutoComplete/index.d.ts +5 -0
  61. package/dist/MyAutoComplete/types.d.ts +25 -0
  62. package/dist/MyAutoComplete/useConfig.d.ts +11 -0
  63. package/dist/MyButton/index.d.ts +10 -0
  64. package/dist/MyCheckbox/Display.d.ts +6 -0
  65. package/dist/MyCheckbox/Inner.d.ts +5 -0
  66. package/dist/MyCheckbox/components.d.ts +201 -0
  67. package/dist/MyCheckbox/index.d.ts +6 -0
  68. package/dist/MyCheckbox/types.d.ts +65 -0
  69. package/dist/MyCheckbox/utils.d.ts +3 -0
  70. package/dist/MyColor/index.d.ts +4 -0
  71. package/dist/MyColor/types.d.ts +6 -0
  72. package/dist/MyDatePicker/Display.d.ts +3 -0
  73. package/dist/MyDatePicker/Inner.d.ts +5 -0
  74. package/dist/MyDatePicker/index.d.ts +8 -0
  75. package/dist/MyDatePicker/utils.d.ts +26 -0
  76. package/dist/MyIconSelect/MyIcon.d.ts +2 -0
  77. package/dist/MyIconSelect/MyIconSelect.d.ts +5 -0
  78. package/dist/MyIconSelect/index.d.ts +6 -0
  79. package/dist/MyIconSelect/types.d.ts +16 -0
  80. package/dist/MyIconSelect/utils.d.ts +7 -0
  81. package/dist/MyInput/index.d.ts +5 -0
  82. package/dist/MyInput/types.d.ts +7 -0
  83. package/dist/MyInputNumber/index.d.ts +5 -0
  84. package/dist/MyInputNumber/types.d.ts +9 -0
  85. package/dist/MyLazyComponent/index.d.ts +6 -0
  86. package/dist/MyRangeDate/Display.d.ts +2 -0
  87. package/dist/MyRangeDate/Inner.d.ts +6 -0
  88. package/dist/MyRangeDate/index.d.ts +7 -0
  89. package/dist/MyRangeDate/utils.d.ts +40 -0
  90. package/dist/MySelect/Display.d.ts +3 -0
  91. package/dist/MySelect/Inner.d.ts +4 -0
  92. package/dist/MySelect/components.d.ts +201 -0
  93. package/dist/MySelect/index.d.ts +8 -0
  94. package/dist/MySelect/types.d.ts +29 -0
  95. package/dist/MySelect/utils.d.ts +1 -0
  96. package/dist/MySwitch/index.d.ts +4 -0
  97. package/dist/MySwitch/types.d.ts +10 -0
  98. package/dist/a_chunks/ArrayInput.DispalyInner.js +78 -0
  99. package/dist/a_chunks/ArrayInput.Inner.js +129 -0
  100. package/dist/a_chunks/ArraySingle.DispalyInner.js +15 -0
  101. package/dist/a_chunks/ArraySingle.Inner.js +166 -0
  102. package/dist/a_chunks/Base.Calendar.js +4 -0
  103. package/dist/a_chunks/Base.DatePicker.js +5 -0
  104. package/dist/a_chunks/Checkbox.GroupInner.js +9 -0
  105. package/dist/a_chunks/Checkbox.Inner.js +9 -0
  106. package/dist/a_chunks/ColorPicker.Inner.js +9 -0
  107. package/dist/a_chunks/Dropdown.Button.js +9 -0
  108. package/dist/a_chunks/Dropdown.Inner.js +9 -0
  109. package/dist/a_chunks/Form.FormItemInner.js +9 -0
  110. package/dist/a_chunks/Form.Inner.js +9 -0
  111. package/dist/a_chunks/Modal.Inner.js +9 -0
  112. package/dist/a_chunks/Monaco.Inner.js +37 -0
  113. package/dist/a_chunks/MyAutoComplete.Inner.js +212 -0
  114. package/dist/a_chunks/MyCheckbox.Display.js +18 -0
  115. package/dist/a_chunks/MyCheckbox.Inner.js +245 -0
  116. package/dist/a_chunks/MyDatePicker.Inner.js +117 -0
  117. package/dist/a_chunks/MyIconSelect.MyIcon.js +8 -0
  118. package/dist/a_chunks/MyIconSelect.MyIconSelect.js +68 -0
  119. package/dist/a_chunks/MyRangeDate.Inner.js +66 -0
  120. package/dist/a_chunks/MySelect.Inner.js +172 -0
  121. package/dist/a_chunks/Pagination.Inner.js +19 -0
  122. package/dist/a_chunks/QRCode.Inner.js +9 -0
  123. package/dist/a_chunks/Select.Inner.js +9 -0
  124. package/dist/a_chunks/Table.Inner.js +9 -0
  125. package/dist/a_chunks/Tree.DirectoryTreeInner.js +9 -0
  126. package/dist/a_chunks/Tree.Inner.js +11 -0
  127. package/dist/a_chunks/TreeSelect.Inner.js +9 -0
  128. package/dist/a_chunks/components.js +7 -0
  129. package/dist/a_chunks/index.js +1414 -0
  130. package/dist/a_chunks/index.module.js +10 -0
  131. package/dist/a_chunks/utils.js +59 -0
  132. package/dist/index.d.ts +8 -0
  133. package/dist/index.js +8 -0
  134. package/dist/packs.d.ts +215 -0
  135. package/dist/util-types/comp.d.ts +12 -0
  136. package/dist/util-types/fd/FormItemLayout.d.ts +5 -0
  137. package/dist/util-types/fd/InputType.d.ts +1 -0
  138. package/dist/util-types/fd/Rules.d.ts +4 -0
  139. package/dist/util-types/fd/SpecialConfig.d.ts +33 -0
  140. package/dist/util-types/fd/TranferRules.d.ts +9 -0
  141. package/dist/util-types/fd/index.d.ts +230 -0
  142. package/dist/util-types/index.d.ts +2 -0
  143. package/dist/utils/getInputStyle.d.ts +14 -0
  144. package/dist/utils/index.d.ts +4 -0
  145. package/dist/utils/msmc.d.ts +50 -0
  146. package/dist/utils/new.d.ts +18 -0
  147. package/dist/utils/other.d.ts +4 -0
  148. package/dist/utils/use_array_marshal.d.ts +5 -0
  149. package/package.json +4 -4
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import { DatePickerProps } from './Base';
3
+ import { Dayjs } from 'dayjs';
4
+ declare const DatePicker_L: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("antd/es/date-picker/generatePicker").PickerProps<Dayjs>, "onChange" | "value" | "defaultValue" | "onOk"> & React.RefAttributes<import("rc-picker").PickerRef> & {
5
+ defaultValue?: unknown;
6
+ value?: unknown;
7
+ onChange?: ((date: unknown, dateString: string | string[]) => void) | undefined;
8
+ onOk?: ((date: unknown) => void) | undefined;
9
+ }, "ref"> & {
10
+ ref?: ((instance: import("rc-picker").PickerRef | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<import("rc-picker").PickerRef> | null | undefined;
11
+ }, "ref"> & React.RefAttributes<any>>;
12
+ export { Dayjs, DatePicker_L, DatePickerProps };
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { MonthPickerProps } from './Base';
3
+ declare const MonthPicker_L: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("antd/es/date-picker/generatePicker").PickerProps<import("dayjs").Dayjs>, "picker">, "onChange" | "value" | "defaultValue" | "onOk"> & React.RefAttributes<import("rc-picker").PickerRef> & {
4
+ defaultValue?: unknown;
5
+ value?: unknown;
6
+ onChange?: ((date: unknown, dateString: string | string[]) => void) | undefined;
7
+ onOk?: ((date: unknown) => void) | undefined;
8
+ }, "ref"> & {
9
+ ref?: ((instance: import("rc-picker").PickerRef | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<import("rc-picker").PickerRef> | null | undefined;
10
+ }, "ref"> & React.RefAttributes<any>>;
11
+ export { MonthPicker_L, MonthPickerProps };
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { RangePickerProps } from './Base';
3
+ declare const RangePicker_L: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "styles" | "classNames" | "locale" | "generateConfig" | "hideHeader"> & {
4
+ locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
5
+ size?: import("antd/es/button").ButtonSize;
6
+ placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
7
+ bordered?: boolean;
8
+ status?: import("antd/es/_util/statusUtils").InputStatus;
9
+ variant?: import("antd/es/config-provider").Variant;
10
+ dropdownClassName?: string;
11
+ popupClassName?: string;
12
+ rootClassName?: string;
13
+ popupStyle?: React.CSSProperties;
14
+ styles?: import("antd/es/date-picker/generatePicker/interface").PickerStyles;
15
+ classNames?: import("antd/es/date-picker/generatePicker/interface").PickerClassNames;
16
+ } & React.RefAttributes<import("rc-picker").PickerRef>, "ref"> & {
17
+ ref?: ((instance: import("rc-picker").PickerRef | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<import("rc-picker").PickerRef> | null | undefined;
18
+ }, "ref"> & React.RefAttributes<any>>;
19
+ export { RangePicker_L, RangePickerProps, };
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import { TimePickerProps } from './Base';
3
+ import { Dayjs } from 'dayjs';
4
+ declare const TimePicker_L: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("antd/es/date-picker/generatePicker/interface").GenericTimePickerProps<Dayjs>, "picker">, "onChange" | "value" | "defaultValue" | "onOk"> & React.RefAttributes<import("rc-picker").PickerRef> & {
5
+ defaultValue?: unknown;
6
+ value?: unknown;
7
+ onChange?: ((date: unknown, dateString: string | string[]) => void) | undefined;
8
+ onOk?: ((date: unknown) => void) | undefined;
9
+ }, "ref"> & {
10
+ ref?: ((instance: import("rc-picker").PickerRef | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<import("rc-picker").PickerRef> | null | undefined;
11
+ }, "ref"> & React.RefAttributes<any>>;
12
+ export { TimePicker_L, TimePickerProps, Dayjs };
@@ -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,2 @@
1
+ import React from 'react';
2
+ 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_L: 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,2 @@
1
+ import React from 'react';
2
+ 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_L: TreeType;
9
+ export {};
@@ -0,0 +1,3 @@
1
+ import { ModalProps } from 'antd';
2
+ import React from 'react';
3
+ 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_L(props: ModalProps): React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function LazyInner(props: any): React.JSX.Element | "loading Pagination ...";
@@ -0,0 +1,3 @@
1
+ import { PaginationProps } from 'antd/es/pagination';
2
+ import React from 'react';
3
+ export declare function Pagination_L(props: PaginationProps): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { QRCodeProps } from 'antd';
2
+ import React from 'react';
3
+ export default function QRCodeInner(props: QRCodeProps): React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare const QRCode_L: import("react").LazyExoticComponent<typeof import("./Inner").default>;
2
+ export { QRCode_L };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export default function LazyInner(props: any): React.JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const SelectOption_L: import("rc-select/lib/Option").OptionFC;
@@ -0,0 +1,9 @@
1
+ import { SelectProps } from 'antd';
2
+ import React from 'react';
3
+ import { SelectOption_L } from './OptionInner';
4
+ declare function Select_<T extends Object = any>(props: SelectProps<T>): React.JSX.Element;
5
+ type SelectType = typeof Select_ & {
6
+ Option: typeof SelectOption_L;
7
+ };
8
+ declare const Select_L: SelectType;
9
+ export { Select_L, SelectOption_L };
@@ -0,0 +1 @@
1
+ export declare const Switch_L: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("antd/es/switch").SwitchProps & import("react").RefAttributes<HTMLButtonElement>>>;
@@ -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 { TableProps } from 'antd';
2
+ import React from 'react';
3
+ export declare function Table_L<T extends Object = any>(props: TableProps<T>): 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,3 @@
1
+ import React from 'react';
2
+ declare const _default: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { TreeProps } from 'antd';
2
+ import { DirectoryTreeProps } from 'antd/lib/tree';
3
+ import RCTree from 'rc-tree';
4
+ import React, { FC } from 'react';
5
+ import { TreeNodeProps, DataNode } from 'rc-tree/es/interface';
6
+ declare const Tree_: React.ForwardRefExoticComponent<TreeProps<import("antd").TreeDataNode> & React.RefAttributes<RCTree<import("antd").TreeDataNode>>>;
7
+ declare function DirectoryTree(props: DirectoryTreeProps): React.JSX.Element;
8
+ type TreeType = typeof Tree_ & {
9
+ TreeNode: FC<TreeNodeProps<DataNode>>;
10
+ DirectoryTree: typeof DirectoryTree;
11
+ RCTree: RCTree;
12
+ };
13
+ declare const Tree_L: TreeType;
14
+ export { Tree_L, DirectoryTreeProps, TreeProps, TreeNodeProps, DataNode };
@@ -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 { TreeSelectProps } from 'antd';
2
+ import React from 'react';
3
+ export declare function TreeSelect_L<T extends Object = any>(props: TreeSelectProps<T>): React.JSX.Element;
@@ -0,0 +1,14 @@
1
+ export * from './DatePicker';
2
+ export * from './AutoComplete';
3
+ export * from './ColorPicker';
4
+ export * from "./Form";
5
+ export * from "./Dropdown";
6
+ export * from "./Table";
7
+ export * from "./Tree";
8
+ export * from "./Modal";
9
+ export * from "./Pagination";
10
+ export * from "./Select";
11
+ export * from "./TreeSelect";
12
+ export * from "./Checkbox";
13
+ export * from "./QRCode";
14
+ export * from "./Switch";
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IMonacoProps } from './types';
3
+ declare function MonacoInner(props: IMonacoProps): React.JSX.Element;
4
+ export default MonacoInner;
@@ -0,0 +1,6 @@
1
+ declare const MonacoInner: import("react").LazyExoticComponent<typeof import("./Inner").default>;
2
+ type TMonaco = typeof MonacoInner & {
3
+ config: (vs: string) => void;
4
+ };
5
+ declare const MyMonaco: TMonaco;
6
+ export { MyMonaco };
@@ -0,0 +1,9 @@
1
+ export interface IMonacoProps {
2
+ value?: string;
3
+ defaultValue?: string;
4
+ onChange?(e?: string): void;
5
+ language?: 'json' | 'javascript';
6
+ defaultLanguage?: string;
7
+ height?: string;
8
+ theme?: "vs-dark" | 'light';
9
+ }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IMyAutoCompleteProps } from './types';
3
+ export default function MyAutoCompleteInner(props: IMyAutoCompleteProps): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { IMyAutoCompleteProps } from './types';
2
+ import { TCommonComponent } from '../util-types';
3
+ declare const MyAutoComplete: TCommonComponent<IMyAutoCompleteProps>;
4
+ export { IMyAutoCompleteProps as MyAutoCompleteProps } from './types';
5
+ export { MyAutoComplete };
@@ -0,0 +1,25 @@
1
+ import { AutoCompleteProps, FormInstance } from 'antd';
2
+ import { TOptions } from '../util-types';
3
+ import { T_FETCH_OPTIONS } from '@noah-libjs/request';
4
+ export interface IMemoriseItem {
5
+ "id": 6591;
6
+ "key": "vitaminSignature";
7
+ "name": "vitamin签名";
8
+ "value": "钟财玉谢谢";
9
+ "sort": null;
10
+ }
11
+ export type IMyAutoCompleteProps = Omit<AutoCompleteProps, 'options' | 'onChange'> & {
12
+ onChange?(str?: string): void;
13
+ fetch_options?: T_FETCH_OPTIONS;
14
+ form?: FormInstance;
15
+ optionKey?: string;
16
+ uniqueKey?: string;
17
+ memorieskey?: string;
18
+ memoriesname?: string;
19
+ memorable?: boolean;
20
+ name?: string;
21
+ formName?: string;
22
+ searchKey?: string;
23
+ width?: any;
24
+ options?: TOptions | (() => TOptions);
25
+ };
@@ -0,0 +1,11 @@
1
+ import { ICommonOption } from '@noah-libjs/utils';
2
+ import React from 'react';
3
+ import { IMyAutoCompleteProps } from './types';
4
+ export declare function useConfig_MyAutoComplete(props: IMyAutoCompleteProps): {
5
+ safeOnChange: (str?: string) => void;
6
+ onBlur: (e: React.FocusEvent<HTMLElement>) => void;
7
+ init: () => void;
8
+ options: ICommonOption[];
9
+ remove: (item: ICommonOption) => void;
10
+ init_value: string | undefined;
11
+ };
@@ -0,0 +1,10 @@
1
+ import { ButtonProps, FormInstance } from 'antd';
2
+ import React from 'react';
3
+ export interface IMyButtonProps extends Omit<ButtonProps, 'form'> {
4
+ btn_text?: string;
5
+ form?: FormInstance;
6
+ on_btn_click?: (e: React.MouseEvent<HTMLElement, MouseEvent>, form?: FormInstance) => any;
7
+ defaultIcon?: React.ReactNode;
8
+ primary?: boolean;
9
+ }
10
+ export declare function MyButton(props: IMyButtonProps): React.JSX.Element | null;
@@ -0,0 +1,6 @@
1
+ import { ICommonOption } from '@noah-libjs/utils';
2
+ import { TCommonComponentDisplay } from '../util-types';
3
+ import { IMyCheckboxProps } from './types';
4
+ export * from './types';
5
+ declare const MyCheckbox_DisplayFC: TCommonComponentDisplay<IMyCheckboxProps, string | number | ICommonOption[]>;
6
+ export default MyCheckbox_DisplayFC;
@@ -0,0 +1,5 @@
1
+ import { ICommonOption } from '@noah-libjs/utils';
2
+ import { TCommonComponent } from '../util-types';
3
+ import { IMyCheckboxProps } from './types';
4
+ declare const MyCheckbox: TCommonComponent<IMyCheckboxProps, string | number | ICommonOption[]>;
5
+ export default MyCheckbox;
@@ -0,0 +1,201 @@
1
+ export declare const components: {
2
+ Divider: import("react").FC<import("antd").DividerProps>;
3
+ MyIconSelect: import("..").TCommonComponent<import("../packs").IMyIconSelectProps, string>;
4
+ MI: import("..").TCommonComponent<import("../packs").IMyInputProps, string>;
5
+ input: import("..").TCommonComponent<import("../packs").IMyInputProps, string>;
6
+ Input: import("..").TCommonComponent<import("../packs").IMyInputProps, string>;
7
+ MyInput: import("..").TCommonComponent<import("../packs").IMyInputProps, string>;
8
+ MyInputNumber: import("..").TCommonComponent<import("../MyInputNumber").IMyInputNumberProps>;
9
+ InputNumber: import("..").TCommonComponent<import("../MyInputNumber").IMyInputNumberProps>;
10
+ input_number: import("..").TCommonComponent<import("../MyInputNumber").IMyInputNumberProps>;
11
+ MyDatePicker: import("../MyDatePicker").TMyDatePicker;
12
+ DatePicker: import("../MyDatePicker").TMyDatePicker;
13
+ DP: import("../MyDatePicker").TMyDatePicker;
14
+ single_date_picker: import("../MyDatePicker").TMyDatePicker;
15
+ CusDatePicker: import("../MyDatePicker").TMyDatePicker;
16
+ date: import("../MyDatePicker").TMyDatePicker;
17
+ MyRangePicker: import("react").FunctionComponent<{
18
+ disabled?: boolean;
19
+ value?: import("../MyRangeDate/utils").MyValue;
20
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
21
+ isDisplay?: boolean;
22
+ } & import("../packs").IMyRangePickerProps> & {
23
+ DisplayFC?: import("react").FunctionComponent<{
24
+ disabled?: boolean;
25
+ value?: import("../MyRangeDate/utils").MyValue;
26
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
27
+ isDisplay?: boolean;
28
+ } & import("../packs").IMyRangePickerProps> | undefined;
29
+ };
30
+ RangePicker: import("react").FunctionComponent<{
31
+ disabled?: boolean;
32
+ value?: import("../MyRangeDate/utils").MyValue;
33
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
34
+ isDisplay?: boolean;
35
+ } & import("../packs").IMyRangePickerProps> & {
36
+ DisplayFC?: import("react").FunctionComponent<{
37
+ disabled?: boolean;
38
+ value?: import("../MyRangeDate/utils").MyValue;
39
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
40
+ isDisplay?: boolean;
41
+ } & import("../packs").IMyRangePickerProps> | undefined;
42
+ };
43
+ rangePicker: import("react").FunctionComponent<{
44
+ disabled?: boolean;
45
+ value?: import("../MyRangeDate/utils").MyValue;
46
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
47
+ isDisplay?: boolean;
48
+ } & import("../packs").IMyRangePickerProps> & {
49
+ DisplayFC?: import("react").FunctionComponent<{
50
+ disabled?: boolean;
51
+ value?: import("../MyRangeDate/utils").MyValue;
52
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
53
+ isDisplay?: boolean;
54
+ } & import("../packs").IMyRangePickerProps> | undefined;
55
+ };
56
+ range_picker: import("react").FunctionComponent<{
57
+ disabled?: boolean;
58
+ value?: import("../MyRangeDate/utils").MyValue;
59
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
60
+ isDisplay?: boolean;
61
+ } & import("../packs").IMyRangePickerProps> & {
62
+ DisplayFC?: import("react").FunctionComponent<{
63
+ disabled?: boolean;
64
+ value?: import("../MyRangeDate/utils").MyValue;
65
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
66
+ isDisplay?: boolean;
67
+ } & import("../packs").IMyRangePickerProps> | undefined;
68
+ };
69
+ MyRangeDate: import("react").FunctionComponent<{
70
+ disabled?: boolean;
71
+ value?: import("../MyRangeDate/utils").MyValue;
72
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
73
+ isDisplay?: boolean;
74
+ } & import("../packs").IMyRangePickerProps> & {
75
+ DisplayFC?: import("react").FunctionComponent<{
76
+ disabled?: boolean;
77
+ value?: import("../MyRangeDate/utils").MyValue;
78
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
79
+ isDisplay?: boolean;
80
+ } & import("../packs").IMyRangePickerProps> | undefined;
81
+ };
82
+ RangeDate: import("react").FunctionComponent<{
83
+ disabled?: boolean;
84
+ value?: import("../MyRangeDate/utils").MyValue;
85
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
86
+ isDisplay?: boolean;
87
+ } & import("../packs").IMyRangePickerProps> & {
88
+ DisplayFC?: import("react").FunctionComponent<{
89
+ disabled?: boolean;
90
+ value?: import("../MyRangeDate/utils").MyValue;
91
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
92
+ isDisplay?: boolean;
93
+ } & import("../packs").IMyRangePickerProps> | undefined;
94
+ };
95
+ rangeDate: import("react").FunctionComponent<{
96
+ disabled?: boolean;
97
+ value?: import("../MyRangeDate/utils").MyValue;
98
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
99
+ isDisplay?: boolean;
100
+ } & import("../packs").IMyRangePickerProps> & {
101
+ DisplayFC?: import("react").FunctionComponent<{
102
+ disabled?: boolean;
103
+ value?: import("../MyRangeDate/utils").MyValue;
104
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
105
+ isDisplay?: boolean;
106
+ } & import("../packs").IMyRangePickerProps> | undefined;
107
+ };
108
+ range_date: import("react").FunctionComponent<{
109
+ disabled?: boolean;
110
+ value?: import("../MyRangeDate/utils").MyValue;
111
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
112
+ isDisplay?: boolean;
113
+ } & import("../packs").IMyRangePickerProps> & {
114
+ DisplayFC?: import("react").FunctionComponent<{
115
+ disabled?: boolean;
116
+ value?: import("../MyRangeDate/utils").MyValue;
117
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
118
+ isDisplay?: boolean;
119
+ } & import("../packs").IMyRangePickerProps> | undefined;
120
+ };
121
+ MyRangeDateTime: import("react").FunctionComponent<{
122
+ disabled?: boolean;
123
+ value?: import("../MyRangeDate/utils").MyValue;
124
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
125
+ isDisplay?: boolean;
126
+ } & import("../packs").IMyRangePickerProps> & {
127
+ DisplayFC?: import("react").FunctionComponent<{
128
+ disabled?: boolean;
129
+ value?: import("../MyRangeDate/utils").MyValue;
130
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
131
+ isDisplay?: boolean;
132
+ } & import("../packs").IMyRangePickerProps> | undefined;
133
+ };
134
+ RangeDateTime: import("react").FunctionComponent<{
135
+ disabled?: boolean;
136
+ value?: import("../MyRangeDate/utils").MyValue;
137
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
138
+ isDisplay?: boolean;
139
+ } & import("../packs").IMyRangePickerProps> & {
140
+ DisplayFC?: import("react").FunctionComponent<{
141
+ disabled?: boolean;
142
+ value?: import("../MyRangeDate/utils").MyValue;
143
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
144
+ isDisplay?: boolean;
145
+ } & import("../packs").IMyRangePickerProps> | undefined;
146
+ };
147
+ rangeDateTime: import("react").FunctionComponent<{
148
+ disabled?: boolean;
149
+ value?: import("../MyRangeDate/utils").MyValue;
150
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
151
+ isDisplay?: boolean;
152
+ } & import("../packs").IMyRangePickerProps> & {
153
+ DisplayFC?: import("react").FunctionComponent<{
154
+ disabled?: boolean;
155
+ value?: import("../MyRangeDate/utils").MyValue;
156
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
157
+ isDisplay?: boolean;
158
+ } & import("../packs").IMyRangePickerProps> | undefined;
159
+ };
160
+ range_date_time: import("react").FunctionComponent<{
161
+ disabled?: boolean;
162
+ value?: import("../MyRangeDate/utils").MyValue;
163
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
164
+ isDisplay?: boolean;
165
+ } & import("../packs").IMyRangePickerProps> & {
166
+ DisplayFC?: import("react").FunctionComponent<{
167
+ disabled?: boolean;
168
+ value?: import("../MyRangeDate/utils").MyValue;
169
+ onChange?(v: import("../MyRangeDate/utils").MyValue, v2?: any): void;
170
+ isDisplay?: boolean;
171
+ } & import("../packs").IMyRangePickerProps> | undefined;
172
+ };
173
+ MyColor: import("..").TCommonComponent<import("../MyColor/types").IMyColorProps>;
174
+ MySwitch: import("..").TCommonComponent<import("../MySwitch/types").IMySwitchProps, boolean>;
175
+ switch: import("..").TCommonComponent<import("../MySwitch/types").IMySwitchProps, boolean>;
176
+ Switch: import("..").TCommonComponent<import("../MySwitch/types").IMySwitchProps, boolean>;
177
+ MSW: import("..").TCommonComponent<import("../MySwitch/types").IMySwitchProps, boolean>;
178
+ ArrayInput: import("..").TCommonComponent<import("../packs").IArrayInputProps, string>;
179
+ ArraySingle: import("..").TCommonComponent<import("../packs").IArraySingleProps, string>;
180
+ MySelect: import("react").LazyExoticComponent<import("..").TCommonComponent<import("../packs").IMySelectProps, string | number>> & {
181
+ DisplayFC: typeof import("../MySelect/Display").DisplayFC;
182
+ };
183
+ MS: import("react").LazyExoticComponent<import("..").TCommonComponent<import("../packs").IMySelectProps, string | number>> & {
184
+ DisplayFC: typeof import("../MySelect/Display").DisplayFC;
185
+ };
186
+ Select: import("react").LazyExoticComponent<import("..").TCommonComponent<import("../packs").IMySelectProps, string | number>> & {
187
+ DisplayFC: typeof import("../MySelect/Display").DisplayFC;
188
+ };
189
+ select: import("react").LazyExoticComponent<import("..").TCommonComponent<import("../packs").IMySelectProps, string | number>> & {
190
+ DisplayFC: typeof import("../MySelect/Display").DisplayFC;
191
+ };
192
+ MyCheckbox: import("..").TCommonComponent<import("./types").IMyCheckboxProps>;
193
+ Checkbox: import("..").TCommonComponent<import("./types").IMyCheckboxProps>;
194
+ MC: import("..").TCommonComponent<import("./types").IMyCheckboxProps>;
195
+ checkbox: import("..").TCommonComponent<import("./types").IMyCheckboxProps>;
196
+ MyButton: typeof import("../MyButton").MyButton;
197
+ MyAutoComplete: import("..").TCommonComponent<import("../packs").MyAutoCompleteProps>;
198
+ MA: import("..").TCommonComponent<import("../packs").MyAutoCompleteProps>;
199
+ AutoComplete: import("..").TCommonComponent<import("../packs").MyAutoCompleteProps>;
200
+ autocomplete: import("..").TCommonComponent<import("../packs").MyAutoCompleteProps>;
201
+ };
@@ -0,0 +1,6 @@
1
+ import { TCommonComponent } from '../util-types';
2
+ import { IMyCheckboxProps } from './types';
3
+ export * from './types';
4
+ declare const MyCheckbox: TCommonComponent<IMyCheckboxProps>;
5
+ declare const MyCheckbox_Display: import("react").LazyExoticComponent<import("../util-types").TCommonComponentDisplay<IMyCheckboxProps, string | number | import("@noah-libjs/utils").ICommonOption[]>>;
6
+ export { MyCheckbox_Display, MyCheckbox };
@@ -0,0 +1,65 @@
1
+ import { ICommonOption } from "@noah-libjs/utils";
2
+ import { AutoCompleteProps } from "antd";
3
+ import React from "react";
4
+ import { IArrayInputProps } from "../ArrayInput";
5
+ import { IMyDatePickerProps } from "../MyDatePicker/utils";
6
+ import { IMyInputProps } from "../MyInput";
7
+ import { TMarshal, TMode } from "../utils";
8
+ import { IMchc_FormDescriptions_InputProps, TOptions } from "../util-types";
9
+ export interface ICompatibleProps {
10
+ marshal?: IMchc_FormDescriptions_InputProps['marshal'];
11
+ optionKey?: string;
12
+ useString?: boolean;
13
+ useDefault?: boolean;
14
+ options?: any;
15
+ sp?: any[];
16
+ config?: any;
17
+ type?: any;
18
+ startIndex?: any;
19
+ value?: any;
20
+ uniqueKey?: string;
21
+ display_linker?: string;
22
+ }
23
+ export interface IMyCheckboxProps {
24
+ value?: boolean | null | string | number | ICommonOption[];
25
+ options?: TOptions | (() => TOptions);
26
+ onChange?(v?: any): void;
27
+ type?: TMode;
28
+ disabled?: boolean;
29
+ inputWidth?: number;
30
+ optionKey?: string;
31
+ config?: {
32
+ inputType?: string;
33
+ };
34
+ uniqueKey?: string;
35
+ marshal?: TMarshal;
36
+ sp?: ICommonOption[];
37
+ vertical?: boolean;
38
+ startIndex?: number;
39
+ onBlur?(e: any): void;
40
+ style?: React.CSSProperties;
41
+ display_linker?: string;
42
+ }
43
+ type INil = Exclude<ICommonOption, 'props' | 'inputType'>;
44
+ interface IMyInput extends ICommonOption {
45
+ inputType: 'MyInput';
46
+ props?: IMyInputProps;
47
+ }
48
+ interface IAutoComplete extends ICommonOption {
49
+ inputType: 'AutoComplete';
50
+ props?: AutoCompleteProps;
51
+ }
52
+ interface ISelf extends ICommonOption {
53
+ inputType: 'CheckboxWithInput' | 'MyCheckbox';
54
+ props?: IMyCheckboxProps;
55
+ }
56
+ interface IArrayInput extends ICommonOption {
57
+ inputType: 'ArrayInput';
58
+ props?: IArrayInputProps;
59
+ }
60
+ interface ISingle_date_picker extends ICommonOption {
61
+ inputType: 'DatePicker';
62
+ props?: IMyDatePickerProps;
63
+ }
64
+ export type ICheckboxWithInputOption = IAutoComplete | IMyInput | ISelf | ISingle_date_picker | IArrayInput | INil;
65
+ export {};
@@ -0,0 +1,3 @@
1
+ import { ICommonOption } from '@noah-libjs/utils';
2
+ import { TMode } from '../utils';
3
+ export declare function parseValue(value?: string | number | ICommonOption[], marshal?: number, type?: TMode): ICommonOption[];
@@ -0,0 +1,4 @@
1
+ import { TCommonComponent } from "../util-types";
2
+ import { IMyColorProps } from "./types";
3
+ declare const MyColor: TCommonComponent<IMyColorProps>;
4
+ export { MyColor };
@@ -0,0 +1,6 @@
1
+ import { ColorPickerProps } from "src/LazyAntd";
2
+ export type IMyColorProps = Omit<ColorPickerProps, 'value' | 'onChange'> & {
3
+ value?: string | null;
4
+ onChange?(v: string | null): void;
5
+ allowClear?: boolean;
6
+ };
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IMyDatePickerProps } from './utils';
3
+ export declare const DisplayFC: (_props: IMyDatePickerProps) => React.JSX.Element | null;