@noah-libjs/components 0.0.8 → 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 -824
- package/dist/ArrayInput/index.d.ts +0 -4
- package/dist/ArrayInput/types.d.ts +0 -76
- package/dist/ArrayInput/utils.d.ts +0 -3
- 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 -824
- package/dist/MyCheckbox/index.d.ts +0 -6
- package/dist/MyCheckbox/types.d.ts +0 -64
- 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/index.d.ts +0 -7
- package/dist/MyIconSelect/types.d.ts +0 -16
- 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 -5
- package/dist/MyRangeDate/index.d.ts +0 -7
- package/dist/MyRangeDate/utils.d.ts +0 -405
- package/dist/MySelect/Display.d.ts +0 -3
- package/dist/MySelect/Inner.d.ts +0 -4
- package/dist/MySelect/components.d.ts +0 -824
- package/dist/MySelect/index.d.ts +0 -8
- package/dist/MySelect/types.d.ts +0 -27
- 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 -1480
- 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 -166
- package/dist/a_chunks/root.18.js +0 -238
- package/dist/a_chunks/root.19.js +0 -19
- package/dist/a_chunks/root.2.js +0 -9
- package/dist/a_chunks/root.20.js +0 -130
- package/dist/a_chunks/root.21.js +0 -79
- package/dist/a_chunks/root.22.js +0 -66
- package/dist/a_chunks/root.23.js +0 -212
- package/dist/a_chunks/root.24.js +0 -118
- package/dist/a_chunks/root.25.js +0 -5
- package/dist/a_chunks/root.26.js +0 -4
- package/dist/a_chunks/root.3.js +0 -9
- 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/index.d.ts +0 -8
- package/dist/index.js +0 -9
- package/dist/packs.d.ts +0 -836
- 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 -223
- 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 -47
- package/dist/utils/new.d.ts +0 -18
- package/dist/utils/other.d.ts +0 -4
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { InputNumberProps } from 'antd';
|
|
2
|
-
import { CheckboxGroupProps } from 'antd/lib/checkbox';
|
|
3
|
-
import { MyAutoCompleteProps } from '../MyAutoComplete';
|
|
4
|
-
import { ICommonOption } from '@noah-libjs/utils';
|
|
5
|
-
import { FocusEventHandler } from 'react';
|
|
6
|
-
import { IMyDatePickerProps } from 'src/MyDatePicker/utils';
|
|
7
|
-
import { IMyInputProps } from 'src/MyInput';
|
|
8
|
-
import { IMySelectProps } from '../MySelect';
|
|
9
|
-
import { IMyCheckboxProps } from 'src/MyCheckbox';
|
|
10
|
-
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
11
|
-
export type TOption = {
|
|
12
|
-
inputType: 'MyAutoComplete';
|
|
13
|
-
props?: MyAutoCompleteProps;
|
|
14
|
-
} | {
|
|
15
|
-
inputType: 'MA';
|
|
16
|
-
props?: MyAutoCompleteProps;
|
|
17
|
-
} | {
|
|
18
|
-
inputType: 'MySelect';
|
|
19
|
-
props?: IMySelectProps;
|
|
20
|
-
} | {
|
|
21
|
-
inputType: 'MS';
|
|
22
|
-
props?: IMySelectProps;
|
|
23
|
-
} | {
|
|
24
|
-
inputType: 'CusDatePicker';
|
|
25
|
-
props?: IMyDatePickerProps;
|
|
26
|
-
} | {
|
|
27
|
-
inputType: 'DatePicker';
|
|
28
|
-
props?: IMyDatePickerProps;
|
|
29
|
-
} | {
|
|
30
|
-
inputType: 'MyInput';
|
|
31
|
-
props?: IMyInputProps;
|
|
32
|
-
} | {
|
|
33
|
-
inputType: 'Input';
|
|
34
|
-
props?: IMyInputProps;
|
|
35
|
-
} | {
|
|
36
|
-
inputType: 'input';
|
|
37
|
-
props?: IMyInputProps;
|
|
38
|
-
} | {
|
|
39
|
-
inputType: 'CheckboxGroup';
|
|
40
|
-
props?: CheckboxGroupProps;
|
|
41
|
-
} | {
|
|
42
|
-
inputType: 'InputNumber';
|
|
43
|
-
props?: InputNumberProps;
|
|
44
|
-
} | {
|
|
45
|
-
inputType: 'input_number';
|
|
46
|
-
props?: InputNumberProps;
|
|
47
|
-
} | {
|
|
48
|
-
inputType: 'MyInputNumber';
|
|
49
|
-
props?: InputNumberProps;
|
|
50
|
-
} | {
|
|
51
|
-
inputType: 'CheckboxWithInput';
|
|
52
|
-
props?: IMyCheckboxProps;
|
|
53
|
-
} | {
|
|
54
|
-
inputType: 'MyCheckbox';
|
|
55
|
-
props?: IMyCheckboxProps;
|
|
56
|
-
} | {
|
|
57
|
-
inputType: 'MC';
|
|
58
|
-
props?: IMyCheckboxProps;
|
|
59
|
-
} | {
|
|
60
|
-
inputType: 'Checkbox';
|
|
61
|
-
props?: IMyCheckboxProps;
|
|
62
|
-
};
|
|
63
|
-
export interface IArrayInputProps {
|
|
64
|
-
size?: SizeType;
|
|
65
|
-
autoFocus?: boolean;
|
|
66
|
-
disabled?: boolean;
|
|
67
|
-
inputWidth?: number;
|
|
68
|
-
value?: string;
|
|
69
|
-
optionKey?: string;
|
|
70
|
-
onChange?(v: string | any[]): void;
|
|
71
|
-
separator?: string;
|
|
72
|
-
marshal?: number;
|
|
73
|
-
onBlur?: FocusEventHandler<any>;
|
|
74
|
-
options?: (TOption & ICommonOption)[];
|
|
75
|
-
sp?: (TOption & ICommonOption)[];
|
|
76
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { Component, FC } from "react";
|
|
2
|
-
import { ContainerDimensionsProps } from 'react-container-dimensions';
|
|
3
|
-
export declare class ContainerDimensions extends Component<ContainerDimensionsProps, {
|
|
4
|
-
Comp: FC<ContainerDimensionsProps> | null;
|
|
5
|
-
}> {
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
componentDidMount(): void;
|
|
8
|
-
render(): React.JSX.Element;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GlobalModal, IGlobalModalProps, TGlobalModalMeta } from './utils';
|
|
3
|
-
export * from './utils';
|
|
4
|
-
export { IGlobalModalProps };
|
|
5
|
-
export declare function MountGlobalModal(props: {
|
|
6
|
-
meta: TGlobalModalMeta;
|
|
7
|
-
globalModal: GlobalModal<any>;
|
|
8
|
-
}): React.JSX.Element;
|
|
@@ -1,65 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AutoCompleteProps } from 'antd/es/auto-complete';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { SelectOption_L } from '../Select';
|
|
4
|
-
declare const AutoComplete_: React.ForwardRefExoticComponent<AutoCompleteProps<any, import("rc-select/lib/Select").DefaultOptionType> & React.RefAttributes<any>>;
|
|
5
|
-
type AutoCompleteType = typeof AutoComplete_ & {
|
|
6
|
-
Option: typeof SelectOption_L;
|
|
7
|
-
};
|
|
8
|
-
declare const AutoComplete_L: AutoCompleteType;
|
|
9
|
-
export { AutoComplete_L, AutoCompleteProps };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SelectProps } from 'antd';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const GroupInner: React.LazyExoticComponent<typeof import("./GroupInner").default>;
|
|
4
|
-
declare function Checkbox_<T extends Object = any>(props: SelectProps<T>): React.JSX.Element;
|
|
5
|
-
type CheckboxType = typeof Checkbox_ & {
|
|
6
|
-
Group: typeof GroupInner;
|
|
7
|
-
};
|
|
8
|
-
export declare const Checkbox_L: CheckboxType;
|
|
9
|
-
export {};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ColorPickerProps } from 'antd';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export type { ColorPickerProps as RcColorPickerProps } from '@rc-component/color-picker';
|
|
4
|
-
declare const ColorPicker_L: React.ForwardRefExoticComponent<Omit<import("@rc-component/color-picker").ColorPickerProps, "onChange" | "value" | "defaultValue" | "components" | "panelRender" | "disabledAlpha" | "onChangeComplete"> & {
|
|
5
|
-
[key: `data-${string}`]: string;
|
|
6
|
-
mode?: import("antd/es/color-picker/interface").ModeType | import("antd/es/color-picker/interface").ModeType[];
|
|
7
|
-
value?: import("antd/es/color-picker/interface").ColorValueType;
|
|
8
|
-
defaultValue?: import("antd/es/color-picker/interface").ColorValueType;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
open?: boolean;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
placement?: import("antd/es/color-picker/interface").TriggerPlacement;
|
|
13
|
-
trigger?: import("antd/es/color-picker/interface").TriggerType;
|
|
14
|
-
format?: import("antd/es/color-picker/interface").ColorFormatType;
|
|
15
|
-
defaultFormat?: import("antd/es/color-picker/interface").ColorFormatType;
|
|
16
|
-
allowClear?: boolean;
|
|
17
|
-
presets?: import("antd/es/color-picker/interface").PresetsItem[];
|
|
18
|
-
arrow?: boolean | {
|
|
19
|
-
pointAtCenter: boolean;
|
|
20
|
-
};
|
|
21
|
-
panelRender?: (panel: React.ReactNode, extra: {
|
|
22
|
-
components: {
|
|
23
|
-
Picker: React.FC;
|
|
24
|
-
Presets: React.FC;
|
|
25
|
-
};
|
|
26
|
-
}) => React.ReactNode;
|
|
27
|
-
showText?: boolean | ((color: import("antd/es/color-picker").Color) => React.ReactNode);
|
|
28
|
-
size?: import("antd/es/button").ButtonSize;
|
|
29
|
-
styles?: {
|
|
30
|
-
popup?: React.CSSProperties;
|
|
31
|
-
popupOverlayInner?: React.CSSProperties;
|
|
32
|
-
};
|
|
33
|
-
rootClassName?: string;
|
|
34
|
-
disabledAlpha?: boolean;
|
|
35
|
-
onOpenChange?: (open: boolean) => void;
|
|
36
|
-
onFormatChange?: (format?: import("antd/es/color-picker/interface").ColorFormatType) => void;
|
|
37
|
-
onChange?: (value: import("antd/es/color-picker").Color, css: string) => void;
|
|
38
|
-
onClear?: () => void;
|
|
39
|
-
onChangeComplete?: (value: import("antd/es/color-picker").Color) => void;
|
|
40
|
-
disabledFormat?: boolean;
|
|
41
|
-
} & Pick<import("antd").PopoverProps, "getPopupContainer" | "autoAdjustOverflow" | "destroyTooltipOnHide" | "destroyOnHidden"> & React.RefAttributes<any>>;
|
|
42
|
-
export { ColorPicker_L, ColorPickerProps };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Dayjs } from 'dayjs';
|
|
2
|
-
export { Dayjs };
|
|
3
|
-
declare const DatePicker: (<ValueType = Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Dayjs, import("antd/es/date-picker/generatePicker").PickerProps<Dayjs>, ValueType>) => React.ReactElement) & {
|
|
4
|
-
displayName?: string;
|
|
5
|
-
} & {
|
|
6
|
-
displayName?: string;
|
|
7
|
-
WeekPicker: (<ValueType = Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Dayjs, Omit<import("antd/es/date-picker/generatePicker").PickerProps<Dayjs>, "picker">, ValueType>) => React.ReactElement) & {
|
|
8
|
-
displayName?: string;
|
|
9
|
-
};
|
|
10
|
-
MonthPicker: (<ValueType = Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Dayjs, Omit<import("antd/es/date-picker/generatePicker").PickerProps<Dayjs>, "picker">, ValueType>) => React.ReactElement) & {
|
|
11
|
-
displayName?: string;
|
|
12
|
-
};
|
|
13
|
-
YearPicker: (<ValueType = Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Dayjs, Omit<import("antd/es/date-picker/generatePicker").PickerProps<Dayjs>, "picker">, ValueType>) => React.ReactElement) & {
|
|
14
|
-
displayName?: string;
|
|
15
|
-
};
|
|
16
|
-
RangePicker: import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<Dayjs>, "styles" | "classNames" | "locale" | "generateConfig" | "hideHeader"> & {
|
|
17
|
-
locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
|
|
18
|
-
size?: import("antd/es/button").ButtonSize;
|
|
19
|
-
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
20
|
-
bordered?: boolean;
|
|
21
|
-
status?: import("antd/es/_util/statusUtils").InputStatus;
|
|
22
|
-
variant?: import("antd/es/config-provider").Variant;
|
|
23
|
-
dropdownClassName?: string;
|
|
24
|
-
popupClassName?: string;
|
|
25
|
-
rootClassName?: string;
|
|
26
|
-
popupStyle?: React.CSSProperties;
|
|
27
|
-
styles?: import("antd/es/date-picker/generatePicker/interface").PickerStyles;
|
|
28
|
-
classNames?: import("antd/es/date-picker/generatePicker/interface").PickerClassNames;
|
|
29
|
-
} & import("react").RefAttributes<import("rc-picker").PickerRef>>;
|
|
30
|
-
TimePicker: (<ValueType = Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Dayjs, Omit<import("antd/es/date-picker/generatePicker/interface").GenericTimePickerProps<Dayjs>, "picker">, ValueType>) => React.ReactElement) & {
|
|
31
|
-
displayName?: string;
|
|
32
|
-
};
|
|
33
|
-
QuarterPicker: (<ValueType = Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Dayjs, Omit<import("antd/es/date-picker/generatePicker").PickerProps<Dayjs>, "picker">, ValueType>) => React.ReactElement) & {
|
|
34
|
-
displayName?: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export { DatePicker };
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { GetProps } from 'antd';
|
|
2
|
-
export { Dayjs } from 'dayjs';
|
|
3
|
-
export declare const DatePickerInner: import("react").LazyExoticComponent<(<ValueType = import("dayjs").Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<import("dayjs").Dayjs, import("antd/es/date-picker/generatePicker").PickerProps<import("dayjs").Dayjs>, ValueType>) => React.ReactElement) & {
|
|
4
|
-
displayName?: string;
|
|
5
|
-
} & {
|
|
6
|
-
displayName?: string;
|
|
7
|
-
WeekPicker: (<ValueType = import("dayjs").Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<import("dayjs").Dayjs, Omit<import("antd/es/date-picker/generatePicker").PickerProps<import("dayjs").Dayjs>, "picker">, ValueType>) => React.ReactElement) & {
|
|
8
|
-
displayName?: string;
|
|
9
|
-
};
|
|
10
|
-
MonthPicker: (<ValueType = import("dayjs").Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<import("dayjs").Dayjs, Omit<import("antd/es/date-picker/generatePicker").PickerProps<import("dayjs").Dayjs>, "picker">, ValueType>) => React.ReactElement) & {
|
|
11
|
-
displayName?: string;
|
|
12
|
-
};
|
|
13
|
-
YearPicker: (<ValueType = import("dayjs").Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<import("dayjs").Dayjs, Omit<import("antd/es/date-picker/generatePicker").PickerProps<import("dayjs").Dayjs>, "picker">, ValueType>) => React.ReactElement) & {
|
|
14
|
-
displayName?: string;
|
|
15
|
-
};
|
|
16
|
-
RangePicker: import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "styles" | "classNames" | "locale" | "generateConfig" | "hideHeader"> & {
|
|
17
|
-
locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
|
|
18
|
-
size?: import("antd/es/button").ButtonSize;
|
|
19
|
-
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
20
|
-
bordered?: boolean;
|
|
21
|
-
status?: import("antd/es/_util/statusUtils").InputStatus;
|
|
22
|
-
variant?: import("antd/es/config-provider").Variant;
|
|
23
|
-
dropdownClassName?: string;
|
|
24
|
-
popupClassName?: string;
|
|
25
|
-
rootClassName?: string;
|
|
26
|
-
popupStyle?: React.CSSProperties;
|
|
27
|
-
styles?: import("antd/es/date-picker/generatePicker/interface").PickerStyles;
|
|
28
|
-
classNames?: import("antd/es/date-picker/generatePicker/interface").PickerClassNames;
|
|
29
|
-
} & import("react").RefAttributes<import("rc-picker").PickerRef>>;
|
|
30
|
-
TimePicker: (<ValueType = import("dayjs").Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<import("dayjs").Dayjs, Omit<import("antd/es/date-picker/generatePicker/interface").GenericTimePickerProps<import("dayjs").Dayjs>, "picker">, ValueType>) => React.ReactElement) & {
|
|
31
|
-
displayName?: string;
|
|
32
|
-
};
|
|
33
|
-
QuarterPicker: (<ValueType = import("dayjs").Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<import("dayjs").Dayjs, Omit<import("antd/es/date-picker/generatePicker").PickerProps<import("dayjs").Dayjs>, "picker">, ValueType>) => React.ReactElement) & {
|
|
34
|
-
displayName?: string;
|
|
35
|
-
};
|
|
36
|
-
}>;
|
|
37
|
-
export type DatePickerProps = GetProps<typeof DatePickerInner>;
|
|
38
|
-
export declare const RangePickerInner: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "styles" | "classNames" | "locale" | "generateConfig" | "hideHeader"> & {
|
|
39
|
-
locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
|
|
40
|
-
size?: import("antd/es/button").ButtonSize;
|
|
41
|
-
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
42
|
-
bordered?: boolean;
|
|
43
|
-
status?: import("antd/es/_util/statusUtils").InputStatus;
|
|
44
|
-
variant?: import("antd/es/config-provider").Variant;
|
|
45
|
-
dropdownClassName?: string;
|
|
46
|
-
popupClassName?: string;
|
|
47
|
-
rootClassName?: string;
|
|
48
|
-
popupStyle?: React.CSSProperties;
|
|
49
|
-
styles?: import("antd/es/date-picker/generatePicker/interface").PickerStyles;
|
|
50
|
-
classNames?: import("antd/es/date-picker/generatePicker/interface").PickerClassNames;
|
|
51
|
-
} & import("react").RefAttributes<import("rc-picker").PickerRef>>>;
|
|
52
|
-
export type RangePickerProps = GetProps<typeof RangePickerInner>;
|
|
53
|
-
export declare const MonthPickerInner: import("react").LazyExoticComponent<(<ValueType = import("dayjs").Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<import("dayjs").Dayjs, Omit<import("antd/es/date-picker/generatePicker").PickerProps<import("dayjs").Dayjs>, "picker">, ValueType>) => React.ReactElement) & {
|
|
54
|
-
displayName?: string;
|
|
55
|
-
}>;
|
|
56
|
-
export type MonthPickerProps = GetProps<typeof MonthPickerInner>;
|
|
57
|
-
export declare const TimePickerInner: import("react").LazyExoticComponent<(<ValueType = import("dayjs").Dayjs>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<import("dayjs").Dayjs, Omit<import("antd/es/date-picker/generatePicker/interface").GenericTimePickerProps<import("dayjs").Dayjs>, "picker">, ValueType>) => React.ReactElement) & {
|
|
58
|
-
displayName?: string;
|
|
59
|
-
}>;
|
|
60
|
-
export type TimePickerProps = GetProps<typeof TimePickerInner>;
|
|
61
|
-
export declare const CalendarInner: import("react").LazyExoticComponent<import("react").FC<Readonly<import("antd").CalendarProps<import("dayjs").Dayjs>>>>;
|
|
62
|
-
export type CalendarProps = GetProps<typeof CalendarInner>;
|
|
@@ -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