@noah-libjs/components 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/ArrayInput/components.d.ts +165 -5
  2. package/dist/ArrayInput/types.d.ts +2 -1
  3. package/dist/ArraySingle/DispalyInner.d.ts +4 -0
  4. package/dist/ArraySingle/Inner.d.ts +4 -0
  5. package/dist/ArraySingle/index.d.ts +4 -0
  6. package/dist/ArraySingle/types.d.ts +16 -0
  7. package/dist/LazyAntd/ColorPicker/index.d.ts +1 -1
  8. package/dist/LazyAntd/DatePicker/Base/DatePicker.d.ts +3 -1
  9. package/dist/LazyAntd/DatePicker/Base/index.d.ts +6 -2
  10. package/dist/LazyAntd/DatePicker/RangePicker.d.ts +3 -1
  11. package/dist/LazyAntd/Tree/Inner.d.ts +2 -1
  12. package/dist/LazyAntd/Tree/index.d.ts +3 -2
  13. package/dist/MyAutoComplete/types.d.ts +4 -1
  14. package/dist/MyButton/index.d.ts +10 -0
  15. package/dist/MyCheckbox/components.d.ts +184 -24
  16. package/dist/MyCheckbox/types.d.ts +6 -3
  17. package/dist/MyDatePicker/Display.d.ts +1 -1
  18. package/dist/MyIconSelect/MyIcon.d.ts +2 -0
  19. package/dist/MyIconSelect/MyIconSelect.d.ts +5 -0
  20. package/dist/MyIconSelect/index.d.ts +6 -0
  21. package/dist/MyIconSelect/types.d.ts +16 -0
  22. package/dist/MyIconSelect/utils.d.ts +7 -0
  23. package/dist/MyInput/index.d.ts +3 -3
  24. package/dist/MyRangeDate/Inner.d.ts +4 -5
  25. package/dist/MyRangeDate/index.d.ts +6 -7
  26. package/dist/MyRangeDate/utils.d.ts +18 -381
  27. package/dist/MySelect/components.d.ts +165 -5
  28. package/dist/MySelect/types.d.ts +3 -1
  29. package/dist/MySwitch/types.d.ts +5 -2
  30. package/dist/a_chunks/index.js +509 -116
  31. package/dist/a_chunks/index.module.js +1 -24
  32. package/dist/a_chunks/root.17.js +12 -6
  33. package/dist/a_chunks/root.18.js +5 -6
  34. package/dist/a_chunks/root.19.js +2 -2
  35. package/dist/a_chunks/root.20.js +2 -2
  36. package/dist/a_chunks/root.21.js +2 -2
  37. package/dist/a_chunks/root.22.js +141 -183
  38. package/dist/a_chunks/root.23.js +15 -109
  39. package/dist/a_chunks/root.24.js +66 -5
  40. package/dist/a_chunks/root.25.js +8 -4
  41. package/dist/a_chunks/root.26.js +68 -0
  42. package/dist/a_chunks/root.27.js +212 -0
  43. package/dist/a_chunks/root.28.js +117 -0
  44. package/dist/a_chunks/root.29.js +5 -0
  45. package/dist/a_chunks/root.30.js +4 -0
  46. package/dist/a_chunks/root.8.js +7 -5
  47. package/dist/a_chunks/utils.js +59 -0
  48. package/dist/index.js +2 -2
  49. package/dist/packs.d.ts +168 -1
  50. package/dist/util-types/fd/InputType.d.ts +1 -1
  51. package/dist/util-types/fd/index.d.ts +41 -11
  52. package/dist/utils/getInputStyle.d.ts +3 -2
  53. package/dist/utils/msmc.d.ts +13 -4
  54. package/dist/utils/new.d.ts +12 -0
  55. package/dist/utils/use_array_marshal.d.ts +5 -0
  56. package/package.json +4 -4
@@ -1,4 +1,6 @@
1
1
  export declare const componentMap: {
2
+ Divider: import("react").FC<import("antd").DividerProps>;
3
+ MyIconSelect: import("..").TCommonComponent<import("src/packs").IMyIconSelectProps, string>;
2
4
  MI: import("..").TCommonComponent<import("src/packs").IMyInputProps, string>;
3
5
  input: import("..").TCommonComponent<import("src/packs").IMyInputProps, string>;
4
6
  Input: import("..").TCommonComponent<import("src/packs").IMyInputProps, string>;
@@ -12,12 +14,169 @@ export declare const componentMap: {
12
14
  single_date_picker: import("src/packs").TMyDatePicker;
13
15
  CusDatePicker: import("src/packs").TMyDatePicker;
14
16
  date: import("src/packs").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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/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("src/packs").IMyRangePickerProps> | undefined;
172
+ };
15
173
  MyColor: import("..").TCommonComponent<import("../MyColor/types").IMyColorProps>;
16
174
  MySwitch: import("..").TCommonComponent<import("../MySwitch/types").IMySwitchProps, boolean>;
17
175
  switch: import("..").TCommonComponent<import("../MySwitch/types").IMySwitchProps, boolean>;
18
176
  Switch: import("..").TCommonComponent<import("../MySwitch/types").IMySwitchProps, boolean>;
177
+ MSW: import("..").TCommonComponent<import("../MySwitch/types").IMySwitchProps, boolean>;
19
178
  ArrayInput: import("..").TCommonComponent<import("src/packs").IArrayInputProps, string>;
20
- MArr: import("..").TCommonComponent<import("src/packs").IArrayInputProps, string>;
179
+ ArraySingle: import("..").TCommonComponent<import("src/packs").IArraySingleProps, string>;
21
180
  MySelect: import("react").LazyExoticComponent<import("..").TCommonComponent<import("src/packs").IMySelectProps, string | number>> & {
22
181
  DisplayFC: typeof import("./Display").DisplayFC;
23
182
  };
@@ -34,8 +193,9 @@ export declare const componentMap: {
34
193
  Checkbox: import("..").TCommonComponent<import("src/packs").IMyCheckboxProps>;
35
194
  MC: import("..").TCommonComponent<import("src/packs").IMyCheckboxProps>;
36
195
  checkbox: import("..").TCommonComponent<import("src/packs").IMyCheckboxProps>;
37
- MyAutoComplete: import("..").TCommonComponent<import("../MyAutoComplete").MyAutoCompleteProps>;
38
- MA: import("..").TCommonComponent<import("../MyAutoComplete").MyAutoCompleteProps>;
39
- AutoComplete: import("..").TCommonComponent<import("../MyAutoComplete").MyAutoCompleteProps>;
40
- autocomplete: import("..").TCommonComponent<import("../MyAutoComplete").MyAutoCompleteProps>;
196
+ MyButton: typeof import("src/packs").MyButton;
197
+ MyAutoComplete: import("..").TCommonComponent<import("src/packs").MyAutoCompleteProps>;
198
+ MA: import("..").TCommonComponent<import("src/packs").MyAutoCompleteProps>;
199
+ AutoComplete: import("..").TCommonComponent<import("src/packs").MyAutoCompleteProps>;
200
+ autocomplete: import("..").TCommonComponent<import("src/packs").MyAutoCompleteProps>;
41
201
  };
@@ -1,4 +1,3 @@
1
- import { T_FETCH_OPTIONS } from '@noah-libjs/utils';
2
1
  import { AutoCompleteProps, SelectProps } from 'antd';
3
2
  import { IMyCheckboxProps } from '../MyCheckbox';
4
3
  import { IMyDatePickerProps } from '../MyDatePicker/utils';
@@ -6,6 +5,7 @@ import { IMyInputProps } from '../MyInput';
6
5
  import { IMyInputNumberProps } from '../MyInputNumber';
7
6
  import { TMarshal, TMode } from '../utils';
8
7
  import { TOptions } from '../util-types';
8
+ import { T_FETCH_OPTIONS } from '@noah-libjs/request';
9
9
  interface IBase<T, P> {
10
10
  inputType: T;
11
11
  props: P;
@@ -22,6 +22,8 @@ export interface IMySelectProps extends Omit<SelectProps<any>, 'options'> {
22
22
  marshal?: TMarshal;
23
23
  startIndex?: number;
24
24
  useString?: boolean;
25
+ useDefault?: boolean;
25
26
  fetch_options?: T_FETCH_OPTIONS;
27
+ fetch_options_on_open?: boolean;
26
28
  }
27
29
  export {};
@@ -2,6 +2,9 @@ import { SwitchProps } from "antd";
2
2
  import { SizeType } from "antd/lib/config-provider/SizeContext";
3
3
  export type IMySwitchProps = SwitchProps & {
4
4
  size?: SizeType;
5
- checkedText?: string;
6
- uncheckedText?: string;
5
+ checked_value?: any;
6
+ unchecked_value?: any;
7
+ checked_text?: string;
8
+ unchecked_text?: string;
9
+ switch_type?: 'switch' | 'checkbox';
7
10
  };