@noah-libjs/components 0.0.9 → 0.0.23
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.
- package/package.json +4 -4
- package/dist/ArrayInput/DispalyInner.d.ts +0 -4
- package/dist/ArrayInput/Inner.d.ts +0 -4
- package/dist/ArrayInput/components.d.ts +0 -201
- package/dist/ArrayInput/index.d.ts +0 -4
- package/dist/ArrayInput/types.d.ts +0 -77
- package/dist/ArrayInput/utils.d.ts +0 -3
- package/dist/ArraySingle/DispalyInner.d.ts +0 -4
- package/dist/ArraySingle/Inner.d.ts +0 -4
- package/dist/ArraySingle/index.d.ts +0 -4
- package/dist/ArraySingle/types.d.ts +0 -16
- package/dist/ContainerDimensions/index.d.ts +0 -9
- package/dist/GlobalModal/index.d.ts +0 -8
- package/dist/GlobalModal/utils.d.ts +0 -65
- package/dist/LazyAntd/AutoComplete/Inner.d.ts +0 -3
- package/dist/LazyAntd/AutoComplete/index.d.ts +0 -9
- package/dist/LazyAntd/Checkbox/GroupInner.d.ts +0 -3
- package/dist/LazyAntd/Checkbox/Inner.d.ts +0 -2
- package/dist/LazyAntd/Checkbox/index.d.ts +0 -9
- package/dist/LazyAntd/ColorPicker/Inner.d.ts +0 -3
- package/dist/LazyAntd/ColorPicker/index.d.ts +0 -42
- package/dist/LazyAntd/DatePicker/Base/Calendar.d.ts +0 -3
- package/dist/LazyAntd/DatePicker/Base/DatePicker.d.ts +0 -37
- package/dist/LazyAntd/DatePicker/Base/index.d.ts +0 -62
- package/dist/LazyAntd/DatePicker/Calendar.d.ts +0 -5
- package/dist/LazyAntd/DatePicker/DatePicker.d.ts +0 -12
- package/dist/LazyAntd/DatePicker/MonthPicker.d.ts +0 -11
- package/dist/LazyAntd/DatePicker/RangePicker.d.ts +0 -19
- package/dist/LazyAntd/DatePicker/TimePicker.d.ts +0 -12
- package/dist/LazyAntd/DatePicker/index.d.ts +0 -5
- package/dist/LazyAntd/Dropdown/Button.d.ts +0 -2
- package/dist/LazyAntd/Dropdown/Inner.d.ts +0 -2
- package/dist/LazyAntd/Dropdown/index.d.ts +0 -10
- package/dist/LazyAntd/Form/FormItemInner.d.ts +0 -2
- package/dist/LazyAntd/Form/Inner.d.ts +0 -2
- package/dist/LazyAntd/Form/index.d.ts +0 -9
- package/dist/LazyAntd/Modal/Inner.d.ts +0 -3
- package/dist/LazyAntd/Modal/index.d.ts +0 -3
- package/dist/LazyAntd/Pagination/Inner.d.ts +0 -2
- package/dist/LazyAntd/Pagination/index.d.ts +0 -3
- package/dist/LazyAntd/QRCode/Inner.d.ts +0 -3
- package/dist/LazyAntd/QRCode/index.d.ts +0 -2
- package/dist/LazyAntd/Select/Inner.d.ts +0 -2
- package/dist/LazyAntd/Select/OptionInner.d.ts +0 -1
- package/dist/LazyAntd/Select/index.d.ts +0 -9
- package/dist/LazyAntd/Switch/index.d.ts +0 -1
- package/dist/LazyAntd/Table/Inner.d.ts +0 -2
- package/dist/LazyAntd/Table/index.d.ts +0 -3
- package/dist/LazyAntd/Tree/DirectoryTreeInner.d.ts +0 -2
- package/dist/LazyAntd/Tree/Inner.d.ts +0 -3
- package/dist/LazyAntd/Tree/TreeNodeInner.d.ts +0 -3
- package/dist/LazyAntd/Tree/index.d.ts +0 -14
- package/dist/LazyAntd/TreeSelect/Inner.d.ts +0 -2
- package/dist/LazyAntd/TreeSelect/index.d.ts +0 -3
- package/dist/LazyAntd/index.d.ts +0 -14
- package/dist/Monaco/Inner.d.ts +0 -4
- package/dist/Monaco/index.d.ts +0 -6
- package/dist/Monaco/types.d.ts +0 -9
- package/dist/MyAutoComplete/Inner.d.ts +0 -3
- package/dist/MyAutoComplete/index.d.ts +0 -5
- package/dist/MyAutoComplete/types.d.ts +0 -25
- package/dist/MyAutoComplete/useConfig.d.ts +0 -11
- package/dist/MyButton/index.d.ts +0 -10
- package/dist/MyCheckbox/Display.d.ts +0 -6
- package/dist/MyCheckbox/Inner.d.ts +0 -5
- package/dist/MyCheckbox/components.d.ts +0 -201
- package/dist/MyCheckbox/index.d.ts +0 -6
- package/dist/MyCheckbox/types.d.ts +0 -65
- package/dist/MyCheckbox/utils.d.ts +0 -3
- package/dist/MyColor/index.d.ts +0 -4
- package/dist/MyColor/types.d.ts +0 -6
- package/dist/MyDatePicker/Display.d.ts +0 -3
- package/dist/MyDatePicker/Inner.d.ts +0 -5
- package/dist/MyDatePicker/index.d.ts +0 -8
- package/dist/MyDatePicker/utils.d.ts +0 -26
- package/dist/MyIconSelect/MyIcon.d.ts +0 -2
- package/dist/MyIconSelect/MyIconSelect.d.ts +0 -5
- package/dist/MyIconSelect/index.d.ts +0 -6
- package/dist/MyIconSelect/types.d.ts +0 -16
- package/dist/MyIconSelect/utils.d.ts +0 -7
- package/dist/MyInput/index.d.ts +0 -5
- package/dist/MyInput/types.d.ts +0 -7
- package/dist/MyInputNumber/index.d.ts +0 -5
- package/dist/MyInputNumber/types.d.ts +0 -9
- package/dist/MyLazyComponent/index.d.ts +0 -6
- package/dist/MyRangeDate/Display.d.ts +0 -2
- package/dist/MyRangeDate/Inner.d.ts +0 -6
- package/dist/MyRangeDate/index.d.ts +0 -7
- package/dist/MyRangeDate/utils.d.ts +0 -40
- package/dist/MySelect/Display.d.ts +0 -3
- package/dist/MySelect/Inner.d.ts +0 -4
- package/dist/MySelect/components.d.ts +0 -201
- package/dist/MySelect/index.d.ts +0 -8
- package/dist/MySelect/types.d.ts +0 -29
- package/dist/MySelect/utils.d.ts +0 -1
- package/dist/MySwitch/index.d.ts +0 -4
- package/dist/MySwitch/types.d.ts +0 -10
- package/dist/a_chunks/components.js +0 -7
- package/dist/a_chunks/index.js +0 -1403
- package/dist/a_chunks/index.module.js +0 -10
- package/dist/a_chunks/root..js +0 -37
- package/dist/a_chunks/root.10.js +0 -9
- package/dist/a_chunks/root.11.js +0 -19
- package/dist/a_chunks/root.12.js +0 -9
- package/dist/a_chunks/root.13.js +0 -9
- package/dist/a_chunks/root.14.js +0 -9
- package/dist/a_chunks/root.15.js +0 -9
- package/dist/a_chunks/root.16.js +0 -9
- package/dist/a_chunks/root.17.js +0 -172
- package/dist/a_chunks/root.18.js +0 -237
- package/dist/a_chunks/root.19.js +0 -18
- package/dist/a_chunks/root.2.js +0 -9
- package/dist/a_chunks/root.20.js +0 -129
- package/dist/a_chunks/root.21.js +0 -78
- package/dist/a_chunks/root.22.js +0 -166
- package/dist/a_chunks/root.23.js +0 -15
- package/dist/a_chunks/root.24.js +0 -66
- package/dist/a_chunks/root.25.js +0 -8
- package/dist/a_chunks/root.26.js +0 -68
- package/dist/a_chunks/root.27.js +0 -212
- package/dist/a_chunks/root.28.js +0 -117
- package/dist/a_chunks/root.29.js +0 -5
- package/dist/a_chunks/root.3.js +0 -9
- package/dist/a_chunks/root.30.js +0 -4
- package/dist/a_chunks/root.4.js +0 -9
- package/dist/a_chunks/root.5.js +0 -9
- package/dist/a_chunks/root.6.js +0 -9
- package/dist/a_chunks/root.7.js +0 -9
- package/dist/a_chunks/root.8.js +0 -11
- package/dist/a_chunks/root.9.js +0 -9
- package/dist/a_chunks/utils.js +0 -59
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -8
- package/dist/packs.d.ts +0 -215
- package/dist/util-types/comp.d.ts +0 -12
- package/dist/util-types/fd/FormItemLayout.d.ts +0 -5
- package/dist/util-types/fd/InputType.d.ts +0 -1
- package/dist/util-types/fd/Rules.d.ts +0 -4
- package/dist/util-types/fd/SpecialConfig.d.ts +0 -33
- package/dist/util-types/fd/TranferRules.d.ts +0 -9
- package/dist/util-types/fd/index.d.ts +0 -230
- package/dist/util-types/index.d.ts +0 -2
- package/dist/utils/getInputStyle.d.ts +0 -14
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/msmc.d.ts +0 -50
- package/dist/utils/new.d.ts +0 -18
- package/dist/utils/other.d.ts +0 -4
- package/dist/utils/use_array_marshal.d.ts +0 -5
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { CalendarProps } from './Base';
|
|
3
|
-
import { Dayjs } from 'dayjs';
|
|
4
|
-
declare const Calendar_L: React.ForwardRefExoticComponent<Readonly<import("antd").CalendarProps<Dayjs>> & React.RefAttributes<any>>;
|
|
5
|
-
export { Dayjs, Calendar_L, CalendarProps };
|
|
@@ -1,12 +0,0 @@
|
|
|
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 };
|
|
@@ -1,11 +0,0 @@
|
|
|
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 };
|
|
@@ -1,19 +0,0 @@
|
|
|
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, };
|
|
@@ -1,12 +0,0 @@
|
|
|
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 };
|
|
@@ -1,10 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,9 +0,0 @@
|
|
|
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 {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const SelectOption_L: import("rc-select/lib/Option").OptionFC;
|
|
@@ -1,9 +0,0 @@
|
|
|
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 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const Switch_L: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<import("antd/es/switch").SwitchProps & import("react").RefAttributes<HTMLButtonElement>>>;
|
|
@@ -1,14 +0,0 @@
|
|
|
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 };
|
package/dist/LazyAntd/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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";
|
package/dist/Monaco/Inner.d.ts
DELETED
package/dist/Monaco/index.d.ts
DELETED
package/dist/Monaco/types.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
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 };
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/MyButton/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
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;
|
|
@@ -1,6 +0,0 @@
|
|
|
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;
|
|
@@ -1,5 +0,0 @@
|
|
|
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;
|
|
@@ -1,201 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
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 };
|
|
@@ -1,65 +0,0 @@
|
|
|
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 {};
|
package/dist/MyColor/index.d.ts
DELETED