@noah-libjs/components 0.0.23 → 0.0.43

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 (149) hide show
  1. package/README.md +1 -1
  2. package/dist/ArrayInput/DispalyInner.d.ts +4 -0
  3. package/dist/ArrayInput/Inner.d.ts +4 -0
  4. package/dist/ArrayInput/components.d.ts +201 -0
  5. package/dist/ArrayInput/index.d.ts +4 -0
  6. package/dist/ArrayInput/types.d.ts +77 -0
  7. package/dist/ArrayInput/utils.d.ts +3 -0
  8. package/dist/ArraySingle/DispalyInner.d.ts +4 -0
  9. package/dist/ArraySingle/Inner.d.ts +4 -0
  10. package/dist/ArraySingle/index.d.ts +4 -0
  11. package/dist/ArraySingle/types.d.ts +16 -0
  12. package/dist/ContainerDimensions/index.d.ts +9 -0
  13. package/dist/GlobalModal/index.d.ts +8 -0
  14. package/dist/GlobalModal/utils.d.ts +65 -0
  15. package/dist/LazyAntd/AutoComplete/Inner.d.ts +3 -0
  16. package/dist/LazyAntd/AutoComplete/index.d.ts +9 -0
  17. package/dist/LazyAntd/Checkbox/GroupInner.d.ts +3 -0
  18. package/dist/LazyAntd/Checkbox/Inner.d.ts +2 -0
  19. package/dist/LazyAntd/Checkbox/index.d.ts +9 -0
  20. package/dist/LazyAntd/ColorPicker/Inner.d.ts +3 -0
  21. package/dist/LazyAntd/ColorPicker/index.d.ts +42 -0
  22. package/dist/LazyAntd/DatePicker/Base/Calendar.d.ts +3 -0
  23. package/dist/LazyAntd/DatePicker/Base/DatePicker.d.ts +37 -0
  24. package/dist/LazyAntd/DatePicker/Base/index.d.ts +62 -0
  25. package/dist/LazyAntd/DatePicker/Calendar.d.ts +5 -0
  26. package/dist/LazyAntd/DatePicker/DatePicker.d.ts +12 -0
  27. package/dist/LazyAntd/DatePicker/MonthPicker.d.ts +11 -0
  28. package/dist/LazyAntd/DatePicker/RangePicker.d.ts +19 -0
  29. package/dist/LazyAntd/DatePicker/TimePicker.d.ts +12 -0
  30. package/dist/LazyAntd/DatePicker/index.d.ts +5 -0
  31. package/dist/LazyAntd/Dropdown/Button.d.ts +2 -0
  32. package/dist/LazyAntd/Dropdown/Inner.d.ts +2 -0
  33. package/dist/LazyAntd/Dropdown/index.d.ts +10 -0
  34. package/dist/LazyAntd/Form/FormItemInner.d.ts +2 -0
  35. package/dist/LazyAntd/Form/Inner.d.ts +2 -0
  36. package/dist/LazyAntd/Form/index.d.ts +9 -0
  37. package/dist/LazyAntd/Modal/Inner.d.ts +3 -0
  38. package/dist/LazyAntd/Modal/index.d.ts +3 -0
  39. package/dist/LazyAntd/Pagination/Inner.d.ts +2 -0
  40. package/dist/LazyAntd/Pagination/index.d.ts +3 -0
  41. package/dist/LazyAntd/QRCode/Inner.d.ts +3 -0
  42. package/dist/LazyAntd/QRCode/index.d.ts +2 -0
  43. package/dist/LazyAntd/Select/Inner.d.ts +2 -0
  44. package/dist/LazyAntd/Select/OptionInner.d.ts +1 -0
  45. package/dist/LazyAntd/Select/index.d.ts +9 -0
  46. package/dist/LazyAntd/Switch/index.d.ts +1 -0
  47. package/dist/LazyAntd/Table/Inner.d.ts +2 -0
  48. package/dist/LazyAntd/Table/index.d.ts +3 -0
  49. package/dist/LazyAntd/Tree/DirectoryTreeInner.d.ts +2 -0
  50. package/dist/LazyAntd/Tree/Inner.d.ts +3 -0
  51. package/dist/LazyAntd/Tree/TreeNodeInner.d.ts +3 -0
  52. package/dist/LazyAntd/Tree/index.d.ts +14 -0
  53. package/dist/LazyAntd/TreeSelect/Inner.d.ts +2 -0
  54. package/dist/LazyAntd/TreeSelect/index.d.ts +3 -0
  55. package/dist/LazyAntd/index.d.ts +14 -0
  56. package/dist/Monaco/Inner.d.ts +4 -0
  57. package/dist/Monaco/index.d.ts +6 -0
  58. package/dist/Monaco/types.d.ts +9 -0
  59. package/dist/MyAutoComplete/Inner.d.ts +3 -0
  60. package/dist/MyAutoComplete/index.d.ts +5 -0
  61. package/dist/MyAutoComplete/types.d.ts +25 -0
  62. package/dist/MyAutoComplete/useConfig.d.ts +11 -0
  63. package/dist/MyButton/index.d.ts +10 -0
  64. package/dist/MyCheckbox/Display.d.ts +6 -0
  65. package/dist/MyCheckbox/Inner.d.ts +5 -0
  66. package/dist/MyCheckbox/components.d.ts +201 -0
  67. package/dist/MyCheckbox/index.d.ts +6 -0
  68. package/dist/MyCheckbox/types.d.ts +65 -0
  69. package/dist/MyCheckbox/utils.d.ts +3 -0
  70. package/dist/MyColor/index.d.ts +4 -0
  71. package/dist/MyColor/types.d.ts +6 -0
  72. package/dist/MyDatePicker/Display.d.ts +3 -0
  73. package/dist/MyDatePicker/Inner.d.ts +5 -0
  74. package/dist/MyDatePicker/index.d.ts +8 -0
  75. package/dist/MyDatePicker/utils.d.ts +26 -0
  76. package/dist/MyIconSelect/MyIcon.d.ts +2 -0
  77. package/dist/MyIconSelect/MyIconSelect.d.ts +5 -0
  78. package/dist/MyIconSelect/index.d.ts +6 -0
  79. package/dist/MyIconSelect/types.d.ts +16 -0
  80. package/dist/MyIconSelect/utils.d.ts +7 -0
  81. package/dist/MyInput/index.d.ts +5 -0
  82. package/dist/MyInput/types.d.ts +7 -0
  83. package/dist/MyInputNumber/index.d.ts +5 -0
  84. package/dist/MyInputNumber/types.d.ts +9 -0
  85. package/dist/MyLazyComponent/index.d.ts +6 -0
  86. package/dist/MyRangeDate/Display.d.ts +2 -0
  87. package/dist/MyRangeDate/Inner.d.ts +6 -0
  88. package/dist/MyRangeDate/index.d.ts +7 -0
  89. package/dist/MyRangeDate/utils.d.ts +40 -0
  90. package/dist/MySelect/Display.d.ts +3 -0
  91. package/dist/MySelect/Inner.d.ts +4 -0
  92. package/dist/MySelect/components.d.ts +201 -0
  93. package/dist/MySelect/index.d.ts +8 -0
  94. package/dist/MySelect/types.d.ts +29 -0
  95. package/dist/MySelect/utils.d.ts +1 -0
  96. package/dist/MySwitch/index.d.ts +4 -0
  97. package/dist/MySwitch/types.d.ts +10 -0
  98. package/dist/a_chunks/ArrayInput.DispalyInner.js +78 -0
  99. package/dist/a_chunks/ArrayInput.Inner.js +129 -0
  100. package/dist/a_chunks/ArraySingle.DispalyInner.js +15 -0
  101. package/dist/a_chunks/ArraySingle.Inner.js +166 -0
  102. package/dist/a_chunks/Base.Calendar.js +4 -0
  103. package/dist/a_chunks/Base.DatePicker.js +5 -0
  104. package/dist/a_chunks/Checkbox.GroupInner.js +9 -0
  105. package/dist/a_chunks/Checkbox.Inner.js +9 -0
  106. package/dist/a_chunks/ColorPicker.Inner.js +9 -0
  107. package/dist/a_chunks/Dropdown.Button.js +9 -0
  108. package/dist/a_chunks/Dropdown.Inner.js +9 -0
  109. package/dist/a_chunks/Form.FormItemInner.js +9 -0
  110. package/dist/a_chunks/Form.Inner.js +9 -0
  111. package/dist/a_chunks/Modal.Inner.js +9 -0
  112. package/dist/a_chunks/Monaco.Inner.js +37 -0
  113. package/dist/a_chunks/MyAutoComplete.Inner.js +212 -0
  114. package/dist/a_chunks/MyCheckbox.Display.js +18 -0
  115. package/dist/a_chunks/MyCheckbox.Inner.js +245 -0
  116. package/dist/a_chunks/MyDatePicker.Inner.js +117 -0
  117. package/dist/a_chunks/MyIconSelect.MyIcon.js +8 -0
  118. package/dist/a_chunks/MyIconSelect.MyIconSelect.js +68 -0
  119. package/dist/a_chunks/MyRangeDate.Inner.js +66 -0
  120. package/dist/a_chunks/MySelect.Inner.js +172 -0
  121. package/dist/a_chunks/Pagination.Inner.js +19 -0
  122. package/dist/a_chunks/QRCode.Inner.js +9 -0
  123. package/dist/a_chunks/Select.Inner.js +9 -0
  124. package/dist/a_chunks/Table.Inner.js +9 -0
  125. package/dist/a_chunks/Tree.DirectoryTreeInner.js +9 -0
  126. package/dist/a_chunks/Tree.Inner.js +11 -0
  127. package/dist/a_chunks/TreeSelect.Inner.js +9 -0
  128. package/dist/a_chunks/components.js +7 -0
  129. package/dist/a_chunks/index.js +1414 -0
  130. package/dist/a_chunks/index.module.js +10 -0
  131. package/dist/a_chunks/utils.js +59 -0
  132. package/dist/index.d.ts +8 -0
  133. package/dist/index.js +8 -0
  134. package/dist/packs.d.ts +215 -0
  135. package/dist/util-types/comp.d.ts +12 -0
  136. package/dist/util-types/fd/FormItemLayout.d.ts +5 -0
  137. package/dist/util-types/fd/InputType.d.ts +1 -0
  138. package/dist/util-types/fd/Rules.d.ts +4 -0
  139. package/dist/util-types/fd/SpecialConfig.d.ts +33 -0
  140. package/dist/util-types/fd/TranferRules.d.ts +9 -0
  141. package/dist/util-types/fd/index.d.ts +230 -0
  142. package/dist/util-types/index.d.ts +2 -0
  143. package/dist/utils/getInputStyle.d.ts +14 -0
  144. package/dist/utils/index.d.ts +4 -0
  145. package/dist/utils/msmc.d.ts +50 -0
  146. package/dist/utils/new.d.ts +18 -0
  147. package/dist/utils/other.d.ts +4 -0
  148. package/dist/utils/use_array_marshal.d.ts +5 -0
  149. package/package.json +4 -4
@@ -0,0 +1,10 @@
1
+ import { s as styleInject } from './index.js';
2
+ var css_248z = ".index-module_wrapper__8xmrk input {\n padding: 0 !important;\n border-top: none !important;\n border-left: none !important;\n border-right: none !important;\n}\n.index-module_wrapper__8xmrk .ant-select-selector {\n padding: 0 !important;\n border-top: none !important;\n border-left: none !important;\n border-right: none !important;\n}\n.index-module_wrapper__8xmrk .ant-select-selection-search-input {\n padding: 0 !important;\n border-top: none !important;\n border-left: none !important;\n border-right: none !important;\n}\n.index-module_block-box__zbZ8F {\n display: block !important;\n margin-top: 4px !important;\n}\n.index-module_block-box__zbZ8F > div {\n margin-bottom: 6px;\n}\n.index-module_flex-box__aGmld {\n display: flex;\n}\n.index-module_warning__Z3oMd .ant-checkbox-checked .ant-checkbox-inner {\n background: red !important;\n border-color: red !important;\n}\n.index-module_warning__Z3oMd .ant-input {\n color: red !important;\n border-color: red !important;\n border-radius: 0 !important;\n}\n.index-module_warning__Z3oMd .ant-select-selector {\n color: red !important;\n border-color: red !important;\n border-radius: 0 !important;\n}\n.index-module_warning__Z3oMd .ant-select-selection-search-input {\n border-color: red !important;\n border-radius: 0 !important;\n}\n";
3
+ var styles = {
4
+ "wrapper": "index-module_wrapper__8xmrk",
5
+ "block-box": "index-module_block-box__zbZ8F",
6
+ "flex-box": "index-module_flex-box__aGmld",
7
+ "warning": "index-module_warning__Z3oMd"
8
+ };
9
+ styleInject(css_248z);
10
+ export { styles as s };
@@ -0,0 +1,59 @@
1
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
+ var _excluded = ["icon_type", "value", "onChange", "form"];
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ import React__default, { useState, useEffect } from 'react';
8
+ function use_icon(props) {
9
+ var _props$icon_type = props.icon_type,
10
+ icon_type = _props$icon_type === void 0 ? '' : _props$icon_type,
11
+ value = props.value,
12
+ onChange = props.onChange,
13
+ form = props.form,
14
+ others = _objectWithoutProperties(props, _excluded);
15
+ var _useState = useState({}),
16
+ _useState2 = _slicedToArray(_useState, 2),
17
+ all_icons = _useState2[0],
18
+ set_all_icons = _useState2[1];
19
+ var _useState3 = useState([]),
20
+ _useState4 = _slicedToArray(_useState3, 2),
21
+ all_keys = _useState4[0],
22
+ set_all_keys = _useState4[1];
23
+ var QuestionOutlined = all_icons['QuestionOutlined'] || function () {
24
+ return /*#__PURE__*/React__default.createElement("span", null, "?");
25
+ };
26
+ function render_Icon(t) {
27
+ var _all_icons$default, _all_icons$default2;
28
+ var p = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
29
+ if (!((_all_icons$default = all_icons["default"]) !== null && _all_icons$default !== void 0 && _all_icons$default.render)) return null;
30
+ var R = (_all_icons$default2 = all_icons["default"]) === null || _all_icons$default2 === void 0 ? void 0 : _all_icons$default2.render;
31
+ if (!t) return null;
32
+ if (!all_keys.includes(t)) return /*#__PURE__*/React__default.createElement(R, _objectSpread(_objectSpread({
33
+ title: t,
34
+ component: QuestionOutlined
35
+ }, p), others));
36
+ var C = all_icons[t];
37
+ return /*#__PURE__*/React__default.createElement(R, _objectSpread(_objectSpread({
38
+ title: t,
39
+ component: C
40
+ }, p), others));
41
+ }
42
+ useEffect(function () {
43
+ import('@ant-design/icons').then(function (mod) {
44
+ /*#__PURE__*/React__default.createElement(mod["default"], null);
45
+ set_all_icons(mod);
46
+ var keys = Object.keys(mod).filter(function (_) {
47
+ return ['Outlined'].some(function (limit) {
48
+ return _.includes(limit);
49
+ });
50
+ });
51
+ set_all_keys(keys);
52
+ });
53
+ }, []);
54
+ return {
55
+ all_keys: all_keys,
56
+ render_Icon: render_Icon
57
+ };
58
+ }
59
+ export { use_icon as u };
@@ -0,0 +1,8 @@
1
+ export * from './util-types';
2
+ export * from './packs';
3
+ export * from './GlobalModal';
4
+ export * from './Monaco';
5
+ export * from './MyLazyComponent';
6
+ export * from './utils';
7
+ export * from './LazyAntd';
8
+ export * from './ContainerDimensions';
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+ export { A as ArrayInput, w as ArraySingle, a1 as AutoComplete_L, a0 as Calendar_L, C as Checkbox_L, a2 as ColorPicker_L, ac as ContainerDimensions, n as DatePicker_L, D as Dropdown_L, a3 as Form_L, K as GlobalModal, J as GlobalModal_, a6 as Modal_L, k as MonthPicker_L, I as MountGlobalModal, F as MyAutoComplete, G as MyButton, v as MyCheckbox, t as MyCheckbox_Display, B as MyColor, M as MyIcon, E as MyIconSelect, e as MyInput, N as MyLazyComponent, L as MyMonaco, y as MyRangeDate, z as MyRangeDateTime, x as MyRangePicker, r as MySelect, H as MySwitch, a7 as Pagination_L, aa as QRCode_L, R as RangePicker_L, a8 as SelectOption_L, S as Select_L, ab as Switch_L, a4 as Table_L, T as TimePicker_L, a9 as TreeSelect_L, a5 as Tree_L, U as UNKNOWN_TIME_SYMBOL, c as check_multiple, $ as displayValue, X as form_validate, l as formatDatePickerProps, Y as fuck_focus, P as getArray, Q as getFormat, g as getInputStyle, a as getMarshal, V as getParamByName, Z as get_check_invert_values, b as get_mode, j as get_status_cls, o as get_unknown_conf, W as handle_form_error, O as isUrl, p as packs, _ as parse_MC_dict_options, i as parse_MC_option, d as parse_MC_value, u as use_options } from './a_chunks/index.js';
2
+ export { Dayjs } from 'dayjs';
3
+ import 'react';
4
+ import '@noah-libjs/utils';
5
+ import 'antd';
6
+ import 'rc-select';
7
+ import 'rc-tree';
8
+ import '@noah-libjs/request';
@@ -0,0 +1,215 @@
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
+ };
@@ -0,0 +1,12 @@
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 {};
@@ -0,0 +1,5 @@
1
+ import { ColProps } from "antd";
2
+ export type IMchc_FormDescriptions_FormItemLayout = {
3
+ labelCol?: number | ColProps;
4
+ wrapperCol?: number | ColProps;
5
+ };
@@ -0,0 +1 @@
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";
@@ -0,0 +1,4 @@
1
+ export type IMchc_FormDescriptions_Rules = {
2
+ required?: boolean;
3
+ message?: string;
4
+ }[];
@@ -0,0 +1,33 @@
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 {};
@@ -0,0 +1,9 @@
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 {};
@@ -0,0 +1,230 @@
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, conf?: IMchc_FormDescriptions_Field): any;
202
+ processLocal?(v: any, form?: FormInstance, conf?: IMchc_FormDescriptions_Field): 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 {};
@@ -0,0 +1,2 @@
1
+ export * from './comp';
2
+ export * from './fd';
@@ -0,0 +1,14 @@
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 {};
@@ -0,0 +1,4 @@
1
+ export * from './getInputStyle';
2
+ export * from './other';
3
+ export * from './new';
4
+ export * from './msmc';