@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
package/dist/packs.d.ts
DELETED
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
import { MyButton } from './MyButton';
|
|
2
|
-
export * from './MyInput';
|
|
3
|
-
export * from './MySelect';
|
|
4
|
-
export * from './MyCheckbox';
|
|
5
|
-
export * from './ArrayInput';
|
|
6
|
-
export * from './ArraySingle';
|
|
7
|
-
export * from './MyCheckbox';
|
|
8
|
-
export * from './MyDatePicker';
|
|
9
|
-
export * from './MyRangeDate';
|
|
10
|
-
export * from './MyColor';
|
|
11
|
-
export * from './MyIconSelect';
|
|
12
|
-
export * from './MyAutoComplete';
|
|
13
|
-
export * from './MyButton';
|
|
14
|
-
export * from './MySwitch';
|
|
15
|
-
export declare const packs: {
|
|
16
|
-
Divider: import("react").FC<import("antd").DividerProps>;
|
|
17
|
-
MyIconSelect: import("./util-types").TCommonComponent<import("./MyIconSelect").IMyIconSelectProps, string>;
|
|
18
|
-
MI: import("./util-types").TCommonComponent<import("./MyInput").IMyInputProps, string>;
|
|
19
|
-
input: import("./util-types").TCommonComponent<import("./MyInput").IMyInputProps, string>;
|
|
20
|
-
Input: import("./util-types").TCommonComponent<import("./MyInput").IMyInputProps, string>;
|
|
21
|
-
MyInput: import("./util-types").TCommonComponent<import("./MyInput").IMyInputProps, string>;
|
|
22
|
-
MyInputNumber: import("./util-types").TCommonComponent<import("./MyInputNumber").IMyInputNumberProps>;
|
|
23
|
-
InputNumber: import("./util-types").TCommonComponent<import("./MyInputNumber").IMyInputNumberProps>;
|
|
24
|
-
input_number: import("./util-types").TCommonComponent<import("./MyInputNumber").IMyInputNumberProps>;
|
|
25
|
-
MyDatePicker: import("./MyDatePicker").TMyDatePicker;
|
|
26
|
-
DatePicker: import("./MyDatePicker").TMyDatePicker;
|
|
27
|
-
DP: import("./MyDatePicker").TMyDatePicker;
|
|
28
|
-
single_date_picker: import("./MyDatePicker").TMyDatePicker;
|
|
29
|
-
CusDatePicker: import("./MyDatePicker").TMyDatePicker;
|
|
30
|
-
date: import("./MyDatePicker").TMyDatePicker;
|
|
31
|
-
MyRangePicker: import("react").FunctionComponent<{
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
34
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
35
|
-
isDisplay?: boolean;
|
|
36
|
-
} & import("./MyRangeDate").IMyRangePickerProps> & {
|
|
37
|
-
DisplayFC?: import("react").FunctionComponent<{
|
|
38
|
-
disabled?: boolean;
|
|
39
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
40
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
41
|
-
isDisplay?: boolean;
|
|
42
|
-
} & import("./MyRangeDate").IMyRangePickerProps> | undefined;
|
|
43
|
-
};
|
|
44
|
-
RangePicker: import("react").FunctionComponent<{
|
|
45
|
-
disabled?: boolean;
|
|
46
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
47
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
48
|
-
isDisplay?: boolean;
|
|
49
|
-
} & import("./MyRangeDate").IMyRangePickerProps> & {
|
|
50
|
-
DisplayFC?: import("react").FunctionComponent<{
|
|
51
|
-
disabled?: boolean;
|
|
52
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
53
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
54
|
-
isDisplay?: boolean;
|
|
55
|
-
} & import("./MyRangeDate").IMyRangePickerProps> | undefined;
|
|
56
|
-
};
|
|
57
|
-
rangePicker: import("react").FunctionComponent<{
|
|
58
|
-
disabled?: boolean;
|
|
59
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
60
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
61
|
-
isDisplay?: boolean;
|
|
62
|
-
} & import("./MyRangeDate").IMyRangePickerProps> & {
|
|
63
|
-
DisplayFC?: import("react").FunctionComponent<{
|
|
64
|
-
disabled?: boolean;
|
|
65
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
66
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
67
|
-
isDisplay?: boolean;
|
|
68
|
-
} & import("./MyRangeDate").IMyRangePickerProps> | undefined;
|
|
69
|
-
};
|
|
70
|
-
range_picker: import("react").FunctionComponent<{
|
|
71
|
-
disabled?: boolean;
|
|
72
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
73
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
74
|
-
isDisplay?: boolean;
|
|
75
|
-
} & import("./MyRangeDate").IMyRangePickerProps> & {
|
|
76
|
-
DisplayFC?: import("react").FunctionComponent<{
|
|
77
|
-
disabled?: boolean;
|
|
78
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
79
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
80
|
-
isDisplay?: boolean;
|
|
81
|
-
} & import("./MyRangeDate").IMyRangePickerProps> | undefined;
|
|
82
|
-
};
|
|
83
|
-
MyRangeDate: import("react").FunctionComponent<{
|
|
84
|
-
disabled?: boolean;
|
|
85
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
86
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
87
|
-
isDisplay?: boolean;
|
|
88
|
-
} & import("./MyRangeDate").IMyRangePickerProps> & {
|
|
89
|
-
DisplayFC?: import("react").FunctionComponent<{
|
|
90
|
-
disabled?: boolean;
|
|
91
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
92
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
93
|
-
isDisplay?: boolean;
|
|
94
|
-
} & import("./MyRangeDate").IMyRangePickerProps> | undefined;
|
|
95
|
-
};
|
|
96
|
-
RangeDate: import("react").FunctionComponent<{
|
|
97
|
-
disabled?: boolean;
|
|
98
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
99
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
100
|
-
isDisplay?: boolean;
|
|
101
|
-
} & import("./MyRangeDate").IMyRangePickerProps> & {
|
|
102
|
-
DisplayFC?: import("react").FunctionComponent<{
|
|
103
|
-
disabled?: boolean;
|
|
104
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
105
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
106
|
-
isDisplay?: boolean;
|
|
107
|
-
} & import("./MyRangeDate").IMyRangePickerProps> | undefined;
|
|
108
|
-
};
|
|
109
|
-
rangeDate: import("react").FunctionComponent<{
|
|
110
|
-
disabled?: boolean;
|
|
111
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
112
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
113
|
-
isDisplay?: boolean;
|
|
114
|
-
} & import("./MyRangeDate").IMyRangePickerProps> & {
|
|
115
|
-
DisplayFC?: import("react").FunctionComponent<{
|
|
116
|
-
disabled?: boolean;
|
|
117
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
118
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
119
|
-
isDisplay?: boolean;
|
|
120
|
-
} & import("./MyRangeDate").IMyRangePickerProps> | undefined;
|
|
121
|
-
};
|
|
122
|
-
range_date: import("react").FunctionComponent<{
|
|
123
|
-
disabled?: boolean;
|
|
124
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
125
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
126
|
-
isDisplay?: boolean;
|
|
127
|
-
} & import("./MyRangeDate").IMyRangePickerProps> & {
|
|
128
|
-
DisplayFC?: import("react").FunctionComponent<{
|
|
129
|
-
disabled?: boolean;
|
|
130
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
131
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
132
|
-
isDisplay?: boolean;
|
|
133
|
-
} & import("./MyRangeDate").IMyRangePickerProps> | undefined;
|
|
134
|
-
};
|
|
135
|
-
MyRangeDateTime: import("react").FunctionComponent<{
|
|
136
|
-
disabled?: boolean;
|
|
137
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
138
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
139
|
-
isDisplay?: boolean;
|
|
140
|
-
} & import("./MyRangeDate").IMyRangePickerProps> & {
|
|
141
|
-
DisplayFC?: import("react").FunctionComponent<{
|
|
142
|
-
disabled?: boolean;
|
|
143
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
144
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
145
|
-
isDisplay?: boolean;
|
|
146
|
-
} & import("./MyRangeDate").IMyRangePickerProps> | undefined;
|
|
147
|
-
};
|
|
148
|
-
RangeDateTime: import("react").FunctionComponent<{
|
|
149
|
-
disabled?: boolean;
|
|
150
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
151
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
152
|
-
isDisplay?: boolean;
|
|
153
|
-
} & import("./MyRangeDate").IMyRangePickerProps> & {
|
|
154
|
-
DisplayFC?: import("react").FunctionComponent<{
|
|
155
|
-
disabled?: boolean;
|
|
156
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
157
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
158
|
-
isDisplay?: boolean;
|
|
159
|
-
} & import("./MyRangeDate").IMyRangePickerProps> | undefined;
|
|
160
|
-
};
|
|
161
|
-
rangeDateTime: import("react").FunctionComponent<{
|
|
162
|
-
disabled?: boolean;
|
|
163
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
164
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
165
|
-
isDisplay?: boolean;
|
|
166
|
-
} & import("./MyRangeDate").IMyRangePickerProps> & {
|
|
167
|
-
DisplayFC?: import("react").FunctionComponent<{
|
|
168
|
-
disabled?: boolean;
|
|
169
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
170
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
171
|
-
isDisplay?: boolean;
|
|
172
|
-
} & import("./MyRangeDate").IMyRangePickerProps> | undefined;
|
|
173
|
-
};
|
|
174
|
-
range_date_time: import("react").FunctionComponent<{
|
|
175
|
-
disabled?: boolean;
|
|
176
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
177
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
178
|
-
isDisplay?: boolean;
|
|
179
|
-
} & import("./MyRangeDate").IMyRangePickerProps> & {
|
|
180
|
-
DisplayFC?: import("react").FunctionComponent<{
|
|
181
|
-
disabled?: boolean;
|
|
182
|
-
value?: import("./MyRangeDate/utils").MyValue;
|
|
183
|
-
onChange?(v: import("./MyRangeDate/utils").MyValue, v2?: any): void;
|
|
184
|
-
isDisplay?: boolean;
|
|
185
|
-
} & import("./MyRangeDate").IMyRangePickerProps> | undefined;
|
|
186
|
-
};
|
|
187
|
-
MyColor: import("./util-types").TCommonComponent<import("./MyColor/types").IMyColorProps>;
|
|
188
|
-
MySwitch: import("./util-types").TCommonComponent<import("./MySwitch/types").IMySwitchProps, boolean>;
|
|
189
|
-
switch: import("./util-types").TCommonComponent<import("./MySwitch/types").IMySwitchProps, boolean>;
|
|
190
|
-
Switch: import("./util-types").TCommonComponent<import("./MySwitch/types").IMySwitchProps, boolean>;
|
|
191
|
-
MSW: import("./util-types").TCommonComponent<import("./MySwitch/types").IMySwitchProps, boolean>;
|
|
192
|
-
ArrayInput: import("./util-types").TCommonComponent<import("./ArrayInput").IArrayInputProps, string>;
|
|
193
|
-
ArraySingle: import("./util-types").TCommonComponent<import("./ArraySingle").IArraySingleProps, string>;
|
|
194
|
-
MySelect: import("react").LazyExoticComponent<import("./util-types").TCommonComponent<import("./MySelect").IMySelectProps, string | number>> & {
|
|
195
|
-
DisplayFC: typeof import("./MySelect/Display").DisplayFC;
|
|
196
|
-
};
|
|
197
|
-
MS: import("react").LazyExoticComponent<import("./util-types").TCommonComponent<import("./MySelect").IMySelectProps, string | number>> & {
|
|
198
|
-
DisplayFC: typeof import("./MySelect/Display").DisplayFC;
|
|
199
|
-
};
|
|
200
|
-
Select: import("react").LazyExoticComponent<import("./util-types").TCommonComponent<import("./MySelect").IMySelectProps, string | number>> & {
|
|
201
|
-
DisplayFC: typeof import("./MySelect/Display").DisplayFC;
|
|
202
|
-
};
|
|
203
|
-
select: import("react").LazyExoticComponent<import("./util-types").TCommonComponent<import("./MySelect").IMySelectProps, string | number>> & {
|
|
204
|
-
DisplayFC: typeof import("./MySelect/Display").DisplayFC;
|
|
205
|
-
};
|
|
206
|
-
MyCheckbox: import("./util-types").TCommonComponent<import("./MyCheckbox").IMyCheckboxProps>;
|
|
207
|
-
Checkbox: import("./util-types").TCommonComponent<import("./MyCheckbox").IMyCheckboxProps>;
|
|
208
|
-
MC: import("./util-types").TCommonComponent<import("./MyCheckbox").IMyCheckboxProps>;
|
|
209
|
-
checkbox: import("./util-types").TCommonComponent<import("./MyCheckbox").IMyCheckboxProps>;
|
|
210
|
-
MyButton: typeof MyButton;
|
|
211
|
-
MyAutoComplete: import("./util-types").TCommonComponent<import("./MyAutoComplete").MyAutoCompleteProps>;
|
|
212
|
-
MA: import("./util-types").TCommonComponent<import("./MyAutoComplete").MyAutoCompleteProps>;
|
|
213
|
-
AutoComplete: import("./util-types").TCommonComponent<import("./MyAutoComplete").MyAutoCompleteProps>;
|
|
214
|
-
autocomplete: import("./util-types").TCommonComponent<import("./MyAutoComplete").MyAutoCompleteProps>;
|
|
215
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
type TBase<PROPS = any, V = any, D = {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
value?: V;
|
|
5
|
-
onChange?(v: V | null, v2?: any): void;
|
|
6
|
-
isDisplay?: boolean;
|
|
7
|
-
} & PROPS> = FC<D>;
|
|
8
|
-
export type TCommonComponentDisplay<PROPS = any, V = any> = TBase<PROPS, V>;
|
|
9
|
-
export type TCommonComponent<PROPS = any, V = any> = TBase<PROPS, V> & {
|
|
10
|
-
DisplayFC?: TBase<PROPS, V>;
|
|
11
|
-
};
|
|
12
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type IMchc_FormDescriptions_InputType = "single_date_picker" | 'PatientAutoComplete' | 'FormTabs' | 'PatientSelect' | 'rangeDate' | "MyButton" | "MyEditTable" | "MyRangeDate" | "MyRangeDateTime" | "MyInput" | "IdNOButton" | "Input" | "MySelect" | "MS" | "MSW" | "MyCheckbox" | "straw" | "ArrayInput" | "ArraySingle" | "search_select" | "TemplateTextarea" | "MyTemplateTextarea" | "MC" | "UploadFile" | "upload_file" | "component" | "node" | "textareaWithResult" | "ArrayPanel" | "MyFormList_必须搭配Form使用" | "checkbox_group" | "MyPressure" | "title" | "normal_select" | "normal_checkbox_with_input" | "input" | "id" | "multiple_input_with_label" | "fetus_appendages" | "input_with_label" | "apgar_score_input" | "select_with_input" | "input_number" | "InputNumber" | "address" | "MyAddress" | "MyColor" | "MySwitch" | "Switch" | "switch" | "radio" | "month_picker" | "single_time_picker" | "select_with_options" | "pregnant_radio" | "noenate_record" | "date" | "array-custom" | "table" | "checkbox" | "country_select" | "checkbox_with_input" | "text_area" | "DateTimeInput" | "TextArea" | "MyMonaco" | "radio_group" | "checkbox_with_single_input" | "select_with_option" | "dictionary_select" | "id_number_input" | "input_with_range" | "pure_checkbox" | "checkbox_group_object" | "pregnancy_history_v2" | "has_pregnancy" | "fetal_count" | "custom" | "select" | "addressCascader" | "button" | "text-input" | "picker" | "date-picker" | "DatePicker" | "MyDatePicker" | "address-item" | "stepper-item" | "radio-item" | "checkbox-item" | "multiple-picker" | "group-picker" | "fetus" | "bloodPressureInput" | "MyAutoComplete" | "MA" | "MI" | "MArr" | "textareaWithTemplate" | "blank" | "highrisk_sign" | "age_select" | "edit_in_table" | "diagnosis" | "template_textarea" | "input_with_range_tip" | "blood_pressure" | "blood_and_thalassemia" | "middle_ultsounds_single" | "select_with_options_or_input" | "fetal_nt_check" | "middle_ultsounds" | "procedure_records" | "surgical_before_operator_select" | "surgical_before_nurse_select" | "procedure_intrauterine_records" | "procedure_cystocentesis_records" | "pressure" | "select_tag_with_options" | "tree_select_v2" | "normalButton" | "textarea-input" | "referral_register" | "ToggleForm" | "referral_organization_select" | "record_state" | "patient_auto_complete" | "image_editor" | "post_partumFetal" | "calculate-score-table" | "inspection_report" | "nursing_fetus" | "HourMinuteInput" | "checkbox_with_inputv2" | "appgar" | "nurse_children" | "radio_input" | "pressure-v2" | "fetal_ultrasound" | "inspection_result_textarea" | "ultrosound_result_textarea" | "diagnosis_list" | "labor_process" | "label" | "textareaWithBtn" | "pregnancyHistoryTable" | "bregma_group" | "multiple_input_group" | "multi_selector" | "result_textarea" | "single_selector" | "check_invert_button" | "async_autoComplete" | "checkbox-with-extra" | "oxytocin_table" | "range_date_picker" | "caesarean_children" | "retained_fetus" | "template_textareav2" | "auto_complete_with_red" | "diagnosis_list_v2" | "normal_nursing_table" | "blood_sugar_nursing_Table" | "past_delivery_nursing_table" | "special_nursing_table" | "nursing_table" | "lmp-info" | "induced_fetus" | "temperature_nursing_Table" | "blank_part" | "vagina_struments_record_form" | "Divider" | "template_textareav3";
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { AnyObject } from "@noah-libjs/utils";
|
|
2
|
-
import { IMchc_FormDescriptions_InputType } from "./InputType";
|
|
3
|
-
interface ISpecialConfig_Single {
|
|
4
|
-
type: "single";
|
|
5
|
-
options: {
|
|
6
|
-
value: any;
|
|
7
|
-
label: string;
|
|
8
|
-
withInput: boolean;
|
|
9
|
-
span: number;
|
|
10
|
-
}[];
|
|
11
|
-
}
|
|
12
|
-
interface ISpecialConfig_FetalpositionMapping {
|
|
13
|
-
type: "fetalpositionMapping";
|
|
14
|
-
}
|
|
15
|
-
interface ISpecialConfig_Number {
|
|
16
|
-
type: "number";
|
|
17
|
-
options: {
|
|
18
|
-
labelBefore: string;
|
|
19
|
-
labelAfter: string;
|
|
20
|
-
}[];
|
|
21
|
-
}
|
|
22
|
-
interface ISpecialConfig_TableColumns {
|
|
23
|
-
"tableColumns": {
|
|
24
|
-
dataIndex: "object";
|
|
25
|
-
editable: boolean;
|
|
26
|
-
align: "center";
|
|
27
|
-
inputType: IMchc_FormDescriptions_InputType;
|
|
28
|
-
inputProps: AnyObject;
|
|
29
|
-
title: string;
|
|
30
|
-
}[];
|
|
31
|
-
}
|
|
32
|
-
export type IMchc_FormDescriptions_SpecialConfig = ISpecialConfig_Single | ISpecialConfig_FetalpositionMapping | ISpecialConfig_Number | ISpecialConfig_TableColumns;
|
|
33
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface ISpecialConfig_Single {
|
|
2
|
-
type: "key_and_keyNote";
|
|
3
|
-
path: "partnerInfo.smoke";
|
|
4
|
-
}
|
|
5
|
-
interface ISpecialConfig_Number {
|
|
6
|
-
type: "dayjs()";
|
|
7
|
-
}
|
|
8
|
-
export type IMchc_FormDescriptions_TranferRules = ISpecialConfig_Single | ISpecialConfig_Number;
|
|
9
|
-
export {};
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
import { AnyObject, ICommonOption } from "@noah-libjs/utils";
|
|
2
|
-
import { ButtonProps, FormInstance } from "antd";
|
|
3
|
-
import { SizeType } from "antd/lib/config-provider/SizeContext";
|
|
4
|
-
import React, { CSSProperties, FC, ReactNode } from "react";
|
|
5
|
-
import { IMchc_FormDescriptions_FormItemLayout } from "./FormItemLayout";
|
|
6
|
-
import { IMchc_FormDescriptions_InputType } from "./InputType";
|
|
7
|
-
import { IMchc_FormDescriptions_Rules } from "./Rules";
|
|
8
|
-
import { IMchc_FormDescriptions_SpecialConfig } from "./SpecialConfig";
|
|
9
|
-
import { IMchc_FormDescriptions_TranferRules } from "./TranferRules";
|
|
10
|
-
import { T_FETCH_OPTIONS } from "@noah-libjs/request";
|
|
11
|
-
import { InputStatus } from "antd/es/_util/statusUtils";
|
|
12
|
-
import { UploadListType } from "antd/es/upload/interface";
|
|
13
|
-
export type TOptions = string | ICommonOption[] | string[];
|
|
14
|
-
export interface IMchc_FormDescriptions_InputProps {
|
|
15
|
-
inputType?: IMchc_FormDescriptions_InputType;
|
|
16
|
-
language?: 'json' | 'javascript' | 'rust' | 'java';
|
|
17
|
-
showTime?: boolean;
|
|
18
|
-
showEdit?: boolean;
|
|
19
|
-
height?: any;
|
|
20
|
-
status?: InputStatus;
|
|
21
|
-
addonBefore?: string;
|
|
22
|
-
addonAfter?: string;
|
|
23
|
-
suffix?: string;
|
|
24
|
-
prefix?: string;
|
|
25
|
-
dependency?: {
|
|
26
|
-
show?: {
|
|
27
|
-
key: string;
|
|
28
|
-
value: any[];
|
|
29
|
-
};
|
|
30
|
-
disabled?: {
|
|
31
|
-
key: string;
|
|
32
|
-
value: any[];
|
|
33
|
-
};
|
|
34
|
-
required?: {
|
|
35
|
-
key: string;
|
|
36
|
-
value: any[];
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
allowClear?: boolean;
|
|
40
|
-
genRowData?: (oldlist?: any[]) => any;
|
|
41
|
-
type?: 'multiple' | 'single' | 'tags' | 'number';
|
|
42
|
-
mode?: 'multiple' | 'single';
|
|
43
|
-
listType?: UploadListType;
|
|
44
|
-
linker?: string;
|
|
45
|
-
action?: string;
|
|
46
|
-
tip?: string;
|
|
47
|
-
span?: number;
|
|
48
|
-
min?: number;
|
|
49
|
-
max?: number;
|
|
50
|
-
labelCol?: number;
|
|
51
|
-
wrapperCol?: number;
|
|
52
|
-
popupMatchSelectWidth?: number | boolean;
|
|
53
|
-
gen_obj?: () => AnyObject;
|
|
54
|
-
rows?: number;
|
|
55
|
-
defaultValue?: any;
|
|
56
|
-
defaultChecked?: boolean;
|
|
57
|
-
DisplayFC_render?: (value?: any) => any;
|
|
58
|
-
targetLabelCol?: number;
|
|
59
|
-
options?: TOptions | (() => TOptions);
|
|
60
|
-
fetch_options?: T_FETCH_OPTIONS;
|
|
61
|
-
fetch_options_on_open?: boolean;
|
|
62
|
-
optionKey?: string;
|
|
63
|
-
switch_type?: 'switch' | 'checkbox';
|
|
64
|
-
unchecked_text?: string;
|
|
65
|
-
checked_text?: string;
|
|
66
|
-
checked_value?: any;
|
|
67
|
-
unchecked_value?: any;
|
|
68
|
-
uniqueKey?: string;
|
|
69
|
-
separator?: string;
|
|
70
|
-
sp?: ICommonOption[];
|
|
71
|
-
format?: 'YYYY-MM-DD' | 'YYYY-MM-DD HH:mm:ss' | 'YYYY-MM-DD HH:mm' | 'HH:mm:ss' | 'HH:mm' | null;
|
|
72
|
-
picker?: 'week' | 'month' | 'year' | 'quarter';
|
|
73
|
-
time_only?: boolean;
|
|
74
|
-
placeholder?: string;
|
|
75
|
-
disabled?: boolean;
|
|
76
|
-
unknown?: boolean;
|
|
77
|
-
pressure_key1?: string;
|
|
78
|
-
pressure_key2?: string;
|
|
79
|
-
style?: CSSProperties;
|
|
80
|
-
marshal?: 0 | 1 | 2 | 3;
|
|
81
|
-
TemplateTextarea_type?: {
|
|
82
|
-
url?: string;
|
|
83
|
-
method?: 'post' | 'get';
|
|
84
|
-
type?: number;
|
|
85
|
-
title: string;
|
|
86
|
-
depid?: number;
|
|
87
|
-
}[];
|
|
88
|
-
defaultData?: AnyObject;
|
|
89
|
-
btn_text?: string;
|
|
90
|
-
on_btn_click?: (e: React.MouseEvent<HTMLElement, MouseEvent>, form?: FormInstance) => any;
|
|
91
|
-
standalone?: boolean;
|
|
92
|
-
node?: ReactNode;
|
|
93
|
-
component?: FC<{
|
|
94
|
-
value?: any;
|
|
95
|
-
onChange?(v: any): void;
|
|
96
|
-
form?: FormInstance;
|
|
97
|
-
}>;
|
|
98
|
-
width?: number | string;
|
|
99
|
-
startIndex?: number;
|
|
100
|
-
inputWidth?: number;
|
|
101
|
-
size?: SizeType;
|
|
102
|
-
useDefault?: boolean;
|
|
103
|
-
useString?: boolean;
|
|
104
|
-
memorable?: boolean;
|
|
105
|
-
memorieskey?: string;
|
|
106
|
-
memoriesname?: string;
|
|
107
|
-
formDescriptions?: IMchc_FormDescriptions_Field_Nullable[];
|
|
108
|
-
fds?: IMchc_FormDescriptions_Field_Nullable[];
|
|
109
|
-
PatientAutoComplete_url?: string;
|
|
110
|
-
PatientAutoComplete_filterKey?: string;
|
|
111
|
-
PatientAutoComplete_displayKey?: [string, string, string];
|
|
112
|
-
onIdxChange?: (idx: number, arr: any[]) => void;
|
|
113
|
-
addressBtns?: {
|
|
114
|
-
name: string;
|
|
115
|
-
label: string;
|
|
116
|
-
props?: ButtonProps;
|
|
117
|
-
}[];
|
|
118
|
-
check_invert_values?: {
|
|
119
|
-
[x: string]: [any, any];
|
|
120
|
-
};
|
|
121
|
-
onPatientSelect?(v: any, form?: FormInstance): void;
|
|
122
|
-
onPatientAutoComplete?(v: any, form?: FormInstance): void;
|
|
123
|
-
on_row_value_change?(data: any[], index: number, changed?: AnyObject, form?: FormInstance): void;
|
|
124
|
-
onFocus?: React.FocusEventHandler<HTMLInputElement>;
|
|
125
|
-
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
126
|
-
component_map?: AnyObject<FC<any>>;
|
|
127
|
-
}
|
|
128
|
-
type IMchc_FormDescriptions_FilterTypeRaw = 'in' | 'equals' | 'contains' | 'greaterOrEqualThan' | 'lessOrEqualThan';
|
|
129
|
-
export type IMchc_FormDescriptions_FilterType = IMchc_FormDescriptions_FilterTypeRaw | `${IMchc_FormDescriptions_FilterTypeRaw},${IMchc_FormDescriptions_FilterTypeRaw}`;
|
|
130
|
-
export type IMchc_FormDescriptions_Field<RAW = false> = {
|
|
131
|
-
usr1?: any;
|
|
132
|
-
usr2?: any;
|
|
133
|
-
remote_filter_key?: string;
|
|
134
|
-
history_conf?: {
|
|
135
|
-
"columnCode": "nt";
|
|
136
|
-
"columnValue": null;
|
|
137
|
-
"isNormal": null;
|
|
138
|
-
"isOut": null;
|
|
139
|
-
"reportId": null;
|
|
140
|
-
"history": null;
|
|
141
|
-
"report": null;
|
|
142
|
-
};
|
|
143
|
-
siblings?: IMchc_FormDescriptions_Field_Nullable<RAW>[];
|
|
144
|
-
parent?: IMchc_FormDescriptions_Field_Nullable<RAW>;
|
|
145
|
-
__format?: boolean;
|
|
146
|
-
createdTime?: string;
|
|
147
|
-
deletedTime?: string;
|
|
148
|
-
id?: number;
|
|
149
|
-
inputType?: IMchc_FormDescriptions_InputType;
|
|
150
|
-
isActive?: number | boolean;
|
|
151
|
-
isNewRow?: number | boolean;
|
|
152
|
-
key?: string;
|
|
153
|
-
dataIndex?: string | string[];
|
|
154
|
-
label?: string;
|
|
155
|
-
title?: string;
|
|
156
|
-
width?: number;
|
|
157
|
-
offset?: number;
|
|
158
|
-
push?: number;
|
|
159
|
-
pull?: number;
|
|
160
|
-
sort?: number;
|
|
161
|
-
align?: 'center';
|
|
162
|
-
fixed?: 'left' | 'right';
|
|
163
|
-
unit?: string;
|
|
164
|
-
required?: boolean | (() => boolean);
|
|
165
|
-
ellipsis?: {
|
|
166
|
-
showTitle?: boolean;
|
|
167
|
-
} | boolean;
|
|
168
|
-
updatedTime?: string;
|
|
169
|
-
span?: number;
|
|
170
|
-
containerType?: 'section(default)' | 'tabs' | 'plain' | 'segs';
|
|
171
|
-
collapsed?: boolean;
|
|
172
|
-
styles?: RAW extends false ? AnyObject : string;
|
|
173
|
-
props?: RAW extends false ? IMchc_FormDescriptions_InputProps : string;
|
|
174
|
-
inputProps?: RAW extends false ? IMchc_FormDescriptions_InputProps : string;
|
|
175
|
-
inputPropsFn?(): IMchc_FormDescriptions_InputProps;
|
|
176
|
-
formItemLayout?: RAW extends false ? IMchc_FormDescriptions_FormItemLayout : string;
|
|
177
|
-
rules?: RAW extends false ? IMchc_FormDescriptions_Rules : string;
|
|
178
|
-
specialConfig?: RAW extends false ? IMchc_FormDescriptions_SpecialConfig : string;
|
|
179
|
-
tranferRules?: RAW extends false ? IMchc_FormDescriptions_TranferRules : string;
|
|
180
|
-
render?(value: any, rowData: any, index: number): ReactNode;
|
|
181
|
-
disabled_check?: boolean;
|
|
182
|
-
name?: RAW extends false ? string : never;
|
|
183
|
-
hidden?: RAW extends false ? boolean : never;
|
|
184
|
-
form_hidden?: RAW extends false ? boolean : never;
|
|
185
|
-
input_type?: RAW extends false ? any : never;
|
|
186
|
-
special_config?: RAW extends false ? any : never;
|
|
187
|
-
tranfer_rules?: RAW extends false ? any : never;
|
|
188
|
-
input_props?: RAW extends false ? any : never;
|
|
189
|
-
form_item_layout?: RAW extends false ? any : never;
|
|
190
|
-
labelCol?: RAW extends false ? any : never;
|
|
191
|
-
wrapperCol?: RAW extends false ? any : never;
|
|
192
|
-
layout?: RAW extends false ? string : never;
|
|
193
|
-
fields?: IMchc_FormDescriptions_Field_Nullable<RAW>[];
|
|
194
|
-
children?: IMchc_FormDescriptions_Field_Nullable<RAW>[];
|
|
195
|
-
filterType?: IMchc_FormDescriptions_FilterType;
|
|
196
|
-
showDeps?: AnyObject<any[] | ((v: any) => boolean)> | ((f: FormInstance) => boolean);
|
|
197
|
-
requiredDeps?: AnyObject<any[] | ((v: any) => boolean)> | ((f: FormInstance) => boolean);
|
|
198
|
-
disabledDeps?: AnyObject<any[] | ((v: any) => boolean)> | ((f: FormInstance) => boolean);
|
|
199
|
-
warning_deps?: AnyObject<any[] | ((v: any) => boolean)> | ((f: FormInstance) => boolean);
|
|
200
|
-
error_deps?: AnyObject<any[] | ((v: any) => boolean)> | ((f: FormInstance) => boolean);
|
|
201
|
-
processRemote?(v: any, form?: FormInstance): any;
|
|
202
|
-
processLocal?(v: any, form?: FormInstance): any;
|
|
203
|
-
checkWarn?(v: any, form?: FormInstance): boolean | InputStatus;
|
|
204
|
-
fd_lazy?: boolean;
|
|
205
|
-
};
|
|
206
|
-
export type IMchc_FormDescriptions_Field_Nullable<RAW = false> = IMchc_FormDescriptions_Field<RAW> | null;
|
|
207
|
-
export type IMchc_FormDescriptions_Field_Nullable_Arr<RAW = false> = IMchc_FormDescriptions_Field_Nullable<RAW>[];
|
|
208
|
-
type IMchc_FormDescriptions_Field_Lazy = {
|
|
209
|
-
__lazy_config: IMchc_FormDescriptions_Field_Nullable_Arr;
|
|
210
|
-
};
|
|
211
|
-
type Mtype = IMchc_FormDescriptions_Field_Nullable_Arr | IMchc_FormDescriptions_Field_Lazy | {
|
|
212
|
-
default: IMchc_FormDescriptions_Field_Lazy | (() => IMchc_FormDescriptions_Field_Lazy);
|
|
213
|
-
};
|
|
214
|
-
export type T_FormConfig_Loader = () => Promise<(() => (Mtype | Promise<Mtype>)) | Mtype>;
|
|
215
|
-
export type IMchc_FormDescriptions_MIX = T_FormConfig_Loader | Mtype | {
|
|
216
|
-
[x: string]: IMchc_FormDescriptions_Field_Nullable;
|
|
217
|
-
} | undefined;
|
|
218
|
-
export interface IMchc_FormDescriptions<RAW = false> {
|
|
219
|
-
createdTime?: string;
|
|
220
|
-
deletedTime?: string;
|
|
221
|
-
fields?: IMchc_FormDescriptions_Field_Nullable<RAW>[];
|
|
222
|
-
children?: IMchc_FormDescriptions_Field_Nullable<RAW>[];
|
|
223
|
-
flag?: string;
|
|
224
|
-
id?: number;
|
|
225
|
-
moduleName?: string;
|
|
226
|
-
name: string;
|
|
227
|
-
sort?: number;
|
|
228
|
-
updatedTime?: string;
|
|
229
|
-
}
|
|
230
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { InputStatus } from "antd/es/_util/statusUtils";
|
|
2
|
-
import React from "react";
|
|
3
|
-
interface IBase {
|
|
4
|
-
style?: React.CSSProperties;
|
|
5
|
-
width?: any;
|
|
6
|
-
inputWidth?: any;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
status?: InputStatus;
|
|
9
|
-
}
|
|
10
|
-
interface IProps extends IBase {
|
|
11
|
-
}
|
|
12
|
-
export declare function get_status_cls(status?: InputStatus): any;
|
|
13
|
-
export declare function getInputStyle(props?: IProps): React.CSSProperties;
|
|
14
|
-
export {};
|
package/dist/utils/index.d.ts
DELETED
package/dist/utils/msmc.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { T_FETCH_OPTIONS } from "@noah-libjs/request";
|
|
2
|
-
import { ICommonOption } from "@noah-libjs/utils";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { IMchc_FormDescriptions_Field_Nullable, IMchc_FormDescriptions_InputProps, TOptions } from "../util-types";
|
|
5
|
-
import { FormInstance } from "antd";
|
|
6
|
-
export type TMarshal = IMchc_FormDescriptions_InputProps['marshal'];
|
|
7
|
-
export type TMode = 'multiple' | 'tags';
|
|
8
|
-
interface ICompatibleProps {
|
|
9
|
-
form?: FormInstance;
|
|
10
|
-
value?: string | number | ICommonOption[];
|
|
11
|
-
uniqueKey?: string;
|
|
12
|
-
optionKey?: string;
|
|
13
|
-
marshal?: TMarshal;
|
|
14
|
-
mode?: TMode;
|
|
15
|
-
type?: TMode;
|
|
16
|
-
options?: TOptions | (() => TOptions);
|
|
17
|
-
fetch_options?: T_FETCH_OPTIONS;
|
|
18
|
-
frugal?: boolean;
|
|
19
|
-
useString?: boolean;
|
|
20
|
-
useDefault?: boolean;
|
|
21
|
-
sp?: any[];
|
|
22
|
-
config?: any;
|
|
23
|
-
startIndex?: any;
|
|
24
|
-
display_linker?: string;
|
|
25
|
-
linker?: string;
|
|
26
|
-
fetch_options_on_open?: boolean;
|
|
27
|
-
}
|
|
28
|
-
export declare function get_check_invert_values(configs: IMchc_FormDescriptions_Field_Nullable[]): {
|
|
29
|
-
[x: string]: any[];
|
|
30
|
-
};
|
|
31
|
-
export declare function getMarshal(props?: ICompatibleProps): number;
|
|
32
|
-
export declare function parse_MC_value(props: ICompatibleProps, changedValue: ICommonOption[]): any;
|
|
33
|
-
export declare function check_multiple(props: ICompatibleProps): boolean;
|
|
34
|
-
export declare function get_mode(props: ICompatibleProps): TMode | undefined;
|
|
35
|
-
export declare function use_options(props: ICompatibleProps): {
|
|
36
|
-
loading: boolean;
|
|
37
|
-
options: ICommonOption[];
|
|
38
|
-
data: ICommonOption[];
|
|
39
|
-
setData: React.Dispatch<React.SetStateAction<ICommonOption[]>>;
|
|
40
|
-
display_node: React.JSX.Element;
|
|
41
|
-
process_options: () => void;
|
|
42
|
-
};
|
|
43
|
-
export declare function parse_MC_option(props: ICompatibleProps): ICommonOption[];
|
|
44
|
-
export declare function parse_MC_dict_options(props?: ICompatibleProps): ICommonOption[] | undefined;
|
|
45
|
-
export declare function displayValue(_opt: ICommonOption[], value: ICommonOption[], l?: string): string;
|
|
46
|
-
export declare function get_unknown_conf(props: {
|
|
47
|
-
showUnknown?: boolean;
|
|
48
|
-
unknown?: boolean;
|
|
49
|
-
}): boolean | undefined;
|
|
50
|
-
export {};
|
package/dist/utils/new.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { AnyObject } from "@noah-libjs/utils";
|
|
2
|
-
import { FormInstance } from "antd";
|
|
3
|
-
export declare function handle_form_error(error: any, form?: FormInstance): {
|
|
4
|
-
text: string | null;
|
|
5
|
-
errors: string[];
|
|
6
|
-
name: string[];
|
|
7
|
-
} | null;
|
|
8
|
-
export declare function form_validate<T = AnyObject>(form?: FormInstance | null): Promise<T>;
|
|
9
|
-
type EFocus = React.FocusEvent<HTMLDivElement, Element>;
|
|
10
|
-
export declare function fuck_focus(props: {
|
|
11
|
-
onBlur?(e: EFocus): void;
|
|
12
|
-
}): {
|
|
13
|
-
child_blur: (index?: number) => void;
|
|
14
|
-
child_focus: (index?: number) => void;
|
|
15
|
-
parent_blur: (e: EFocus, index?: number) => void;
|
|
16
|
-
parent_focus: (index?: number) => void;
|
|
17
|
-
};
|
|
18
|
-
export {};
|
package/dist/utils/other.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare function isUrl(string: string): boolean;
|
|
2
|
-
export declare const getArray: (arr: any[], defaultValue?: never[]) => any[];
|
|
3
|
-
export declare function getFormat(format: string): string;
|
|
4
|
-
export declare function getParamByName(name: string, url?: string): string | null;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare function use_array_marshal<T = any>(marshal?: 0 | 1 | 2, _value?: any, _onChange?: (v: any) => void, linker?: string): {
|
|
2
|
-
safe_value: T[];
|
|
3
|
-
set_safe_value: import("react").Dispatch<import("react").SetStateAction<T[]>>;
|
|
4
|
-
onChangeSafeValue: (_v: any[]) => void;
|
|
5
|
-
};
|