@noah-libjs/components 0.0.6 → 0.0.8
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/dist/ArrayInput/components.d.ts +787 -4
- package/dist/LazyAntd/ColorPicker/index.d.ts +1 -1
- package/dist/LazyAntd/DatePicker/Base/DatePicker.d.ts +3 -1
- package/dist/LazyAntd/DatePicker/Base/index.d.ts +6 -2
- package/dist/LazyAntd/DatePicker/RangePicker.d.ts +3 -1
- package/dist/LazyAntd/Tree/Inner.d.ts +2 -1
- package/dist/LazyAntd/Tree/index.d.ts +3 -2
- package/dist/MyAutoComplete/types.d.ts +4 -1
- package/dist/MyButton/index.d.ts +10 -0
- package/dist/MyCheckbox/components.d.ts +807 -24
- package/dist/MyCheckbox/types.d.ts +3 -1
- package/dist/MyDatePicker/Display.d.ts +1 -1
- package/dist/MyIconSelect/index.d.ts +7 -0
- package/dist/MyIconSelect/types.d.ts +16 -0
- package/dist/MyInput/index.d.ts +1 -1
- package/dist/MyRangeDate/Inner.d.ts +3 -5
- package/dist/MyRangeDate/index.d.ts +6 -7
- package/dist/MyRangeDate/utils.d.ts +32 -30
- package/dist/MySelect/components.d.ts +787 -4
- package/dist/MySelect/types.d.ts +1 -1
- package/dist/MySwitch/types.d.ts +5 -2
- package/dist/a_chunks/index.js +561 -91
- package/dist/a_chunks/index.module.js +1 -24
- package/dist/a_chunks/root.17.js +2 -2
- package/dist/a_chunks/root.18.js +5 -5
- package/dist/a_chunks/root.19.js +2 -1
- package/dist/a_chunks/root.20.js +2 -1
- package/dist/a_chunks/root.21.js +2 -1
- package/dist/a_chunks/root.22.js +54 -196
- package/dist/a_chunks/root.23.js +198 -95
- package/dist/a_chunks/root.24.js +118 -5
- package/dist/a_chunks/root.25.js +4 -3
- package/dist/a_chunks/root.26.js +4 -0
- package/dist/a_chunks/root.8.js +7 -5
- package/dist/index.js +2 -1
- package/dist/packs.d.ts +788 -0
- package/dist/util-types/fd/InputType.d.ts +1 -1
- package/dist/util-types/fd/index.d.ts +33 -10
- package/dist/utils/getInputStyle.d.ts +3 -2
- package/dist/utils/msmc.d.ts +8 -2
- package/dist/utils/new.d.ts +12 -0
- package/package.json +4 -4
|
@@ -38,5 +38,5 @@ declare const ColorPicker_L: React.ForwardRefExoticComponent<Omit<import("@rc-co
|
|
|
38
38
|
onClear?: () => void;
|
|
39
39
|
onChangeComplete?: (value: import("antd/es/color-picker").Color) => void;
|
|
40
40
|
disabledFormat?: boolean;
|
|
41
|
-
} & Pick<import("antd").PopoverProps, "getPopupContainer" | "autoAdjustOverflow" | "destroyTooltipOnHide"> & React.RefAttributes<any>>;
|
|
41
|
+
} & Pick<import("antd").PopoverProps, "getPopupContainer" | "autoAdjustOverflow" | "destroyTooltipOnHide" | "destroyOnHidden"> & React.RefAttributes<any>>;
|
|
42
42
|
export { ColorPicker_L, ColorPickerProps };
|
|
@@ -13,7 +13,7 @@ declare const DatePicker: (<ValueType = Dayjs>(props: import("antd/es/date-picke
|
|
|
13
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
14
|
displayName?: string;
|
|
15
15
|
};
|
|
16
|
-
RangePicker: import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
16
|
+
RangePicker: import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<Dayjs>, "styles" | "classNames" | "locale" | "generateConfig" | "hideHeader"> & {
|
|
17
17
|
locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
|
|
18
18
|
size?: import("antd/es/button").ButtonSize;
|
|
19
19
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
@@ -24,6 +24,8 @@ declare const DatePicker: (<ValueType = Dayjs>(props: import("antd/es/date-picke
|
|
|
24
24
|
popupClassName?: string;
|
|
25
25
|
rootClassName?: string;
|
|
26
26
|
popupStyle?: React.CSSProperties;
|
|
27
|
+
styles?: import("antd/es/date-picker/generatePicker/interface").PickerStyles;
|
|
28
|
+
classNames?: import("antd/es/date-picker/generatePicker/interface").PickerClassNames;
|
|
27
29
|
} & import("react").RefAttributes<import("rc-picker").PickerRef>>;
|
|
28
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) & {
|
|
29
31
|
displayName?: string;
|
|
@@ -13,7 +13,7 @@ export declare const DatePickerInner: import("react").LazyExoticComponent<(<Valu
|
|
|
13
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
14
|
displayName?: string;
|
|
15
15
|
};
|
|
16
|
-
RangePicker: import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
16
|
+
RangePicker: import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "styles" | "classNames" | "locale" | "generateConfig" | "hideHeader"> & {
|
|
17
17
|
locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
|
|
18
18
|
size?: import("antd/es/button").ButtonSize;
|
|
19
19
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
@@ -24,6 +24,8 @@ export declare const DatePickerInner: import("react").LazyExoticComponent<(<Valu
|
|
|
24
24
|
popupClassName?: string;
|
|
25
25
|
rootClassName?: string;
|
|
26
26
|
popupStyle?: React.CSSProperties;
|
|
27
|
+
styles?: import("antd/es/date-picker/generatePicker/interface").PickerStyles;
|
|
28
|
+
classNames?: import("antd/es/date-picker/generatePicker/interface").PickerClassNames;
|
|
27
29
|
} & import("react").RefAttributes<import("rc-picker").PickerRef>>;
|
|
28
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) & {
|
|
29
31
|
displayName?: string;
|
|
@@ -33,7 +35,7 @@ export declare const DatePickerInner: import("react").LazyExoticComponent<(<Valu
|
|
|
33
35
|
};
|
|
34
36
|
}>;
|
|
35
37
|
export type DatePickerProps = GetProps<typeof DatePickerInner>;
|
|
36
|
-
export declare const RangePickerInner: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
38
|
+
export declare const RangePickerInner: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "styles" | "classNames" | "locale" | "generateConfig" | "hideHeader"> & {
|
|
37
39
|
locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
|
|
38
40
|
size?: import("antd/es/button").ButtonSize;
|
|
39
41
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
@@ -44,6 +46,8 @@ export declare const RangePickerInner: import("react").LazyExoticComponent<impor
|
|
|
44
46
|
popupClassName?: string;
|
|
45
47
|
rootClassName?: string;
|
|
46
48
|
popupStyle?: React.CSSProperties;
|
|
49
|
+
styles?: import("antd/es/date-picker/generatePicker/interface").PickerStyles;
|
|
50
|
+
classNames?: import("antd/es/date-picker/generatePicker/interface").PickerClassNames;
|
|
47
51
|
} & import("react").RefAttributes<import("rc-picker").PickerRef>>>;
|
|
48
52
|
export type RangePickerProps = GetProps<typeof RangePickerInner>;
|
|
49
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) & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RangePickerProps } from './Base';
|
|
3
|
-
declare const RangePicker_L: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
3
|
+
declare const RangePicker_L: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("rc-picker").RangePickerProps<import("dayjs").Dayjs>, "styles" | "classNames" | "locale" | "generateConfig" | "hideHeader"> & {
|
|
4
4
|
locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
|
|
5
5
|
size?: import("antd/es/button").ButtonSize;
|
|
6
6
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
@@ -11,6 +11,8 @@ declare const RangePicker_L: React.ForwardRefExoticComponent<Omit<Omit<Omit<impo
|
|
|
11
11
|
popupClassName?: string;
|
|
12
12
|
rootClassName?: string;
|
|
13
13
|
popupStyle?: React.CSSProperties;
|
|
14
|
+
styles?: import("antd/es/date-picker/generatePicker/interface").PickerStyles;
|
|
15
|
+
classNames?: import("antd/es/date-picker/generatePicker/interface").PickerClassNames;
|
|
14
16
|
} & React.RefAttributes<import("rc-picker").PickerRef>, "ref"> & {
|
|
15
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;
|
|
16
18
|
}, "ref"> & React.RefAttributes<any>>;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { TreeProps } from 'antd';
|
|
2
2
|
import { DirectoryTreeProps } from 'antd/lib/tree';
|
|
3
|
+
import RCTree from 'rc-tree';
|
|
3
4
|
import React, { FC } from 'react';
|
|
4
5
|
import { TreeNodeProps, DataNode } from 'rc-tree/es/interface';
|
|
5
|
-
declare
|
|
6
|
+
declare const Tree_: React.ForwardRefExoticComponent<TreeProps<import("antd").TreeDataNode> & React.RefAttributes<RCTree<import("antd").TreeDataNode>>>;
|
|
6
7
|
declare function DirectoryTree(props: DirectoryTreeProps): React.JSX.Element;
|
|
7
8
|
type TreeType = typeof Tree_ & {
|
|
8
9
|
TreeNode: FC<TreeNodeProps<DataNode>>;
|
|
9
10
|
DirectoryTree: typeof DirectoryTree;
|
|
11
|
+
RCTree: RCTree;
|
|
10
12
|
};
|
|
11
13
|
declare const Tree_L: TreeType;
|
|
12
14
|
export { Tree_L, DirectoryTreeProps, TreeProps, TreeNodeProps, DataNode };
|
|
13
|
-
export declare function aa(): React.JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { AutoCompleteProps } from 'antd';
|
|
1
|
+
import { AutoCompleteProps, FormInstance } from 'antd';
|
|
2
2
|
import { TOptions } from '../util-types';
|
|
3
|
+
import { T_FETCH_OPTIONS } from '@noah-libjs/request';
|
|
3
4
|
export interface IMemoriseItem {
|
|
4
5
|
"id": 6591;
|
|
5
6
|
"key": "vitaminSignature";
|
|
@@ -9,6 +10,8 @@ export interface IMemoriseItem {
|
|
|
9
10
|
}
|
|
10
11
|
export type IMyAutoCompleteProps = Omit<AutoCompleteProps, 'options' | 'onChange'> & {
|
|
11
12
|
onChange?(str?: string): void;
|
|
13
|
+
fetch_options?: T_FETCH_OPTIONS;
|
|
14
|
+
form?: FormInstance;
|
|
12
15
|
optionKey?: string;
|
|
13
16
|
uniqueKey?: string;
|
|
14
17
|
memorieskey?: string;
|
|
@@ -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;
|