@noah-libjs/components 0.0.9 → 0.0.42
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/README.md +1 -1
- package/dist/a_chunks/{root.18.js → MyCheckbox.Inner.js} +12 -4
- package/dist/a_chunks/index.js +61 -50
- package/dist/a_chunks/index.module.js +1 -1
- package/dist/util-types/fd/index.d.ts +2 -2
- package/package.json +4 -4
- /package/dist/a_chunks/{root.21.js → ArrayInput.DispalyInner.js} +0 -0
- /package/dist/a_chunks/{root.20.js → ArrayInput.Inner.js} +0 -0
- /package/dist/a_chunks/{root.23.js → ArraySingle.DispalyInner.js} +0 -0
- /package/dist/a_chunks/{root.22.js → ArraySingle.Inner.js} +0 -0
- /package/dist/a_chunks/{root.30.js → Base.Calendar.js} +0 -0
- /package/dist/a_chunks/{root.29.js → Base.DatePicker.js} +0 -0
- /package/dist/a_chunks/{root.15.js → Checkbox.GroupInner.js} +0 -0
- /package/dist/a_chunks/{root.14.js → Checkbox.Inner.js} +0 -0
- /package/dist/a_chunks/{root.2.js → ColorPicker.Inner.js} +0 -0
- /package/dist/a_chunks/{root.6.js → Dropdown.Button.js} +0 -0
- /package/dist/a_chunks/{root.5.js → Dropdown.Inner.js} +0 -0
- /package/dist/a_chunks/{root.4.js → Form.FormItemInner.js} +0 -0
- /package/dist/a_chunks/{root.3.js → Form.Inner.js} +0 -0
- /package/dist/a_chunks/{root.10.js → Modal.Inner.js} +0 -0
- /package/dist/a_chunks/{root..js → Monaco.Inner.js} +0 -0
- /package/dist/a_chunks/{root.27.js → MyAutoComplete.Inner.js} +0 -0
- /package/dist/a_chunks/{root.19.js → MyCheckbox.Display.js} +0 -0
- /package/dist/a_chunks/{root.28.js → MyDatePicker.Inner.js} +0 -0
- /package/dist/a_chunks/{root.25.js → MyIconSelect.MyIcon.js} +0 -0
- /package/dist/a_chunks/{root.26.js → MyIconSelect.MyIconSelect.js} +0 -0
- /package/dist/a_chunks/{root.24.js → MyRangeDate.Inner.js} +0 -0
- /package/dist/a_chunks/{root.17.js → MySelect.Inner.js} +0 -0
- /package/dist/a_chunks/{root.11.js → Pagination.Inner.js} +0 -0
- /package/dist/a_chunks/{root.16.js → QRCode.Inner.js} +0 -0
- /package/dist/a_chunks/{root.12.js → Select.Inner.js} +0 -0
- /package/dist/a_chunks/{root.7.js → Table.Inner.js} +0 -0
- /package/dist/a_chunks/{root.9.js → Tree.DirectoryTreeInner.js} +0 -0
- /package/dist/a_chunks/{root.8.js → Tree.Inner.js} +0 -0
- /package/dist/a_chunks/{root.13.js → TreeSelect.Inner.js} +0 -0
package/README.md
CHANGED
|
@@ -4,10 +4,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import { isNil, numberLikeCompare, cloneDeep } from '@noah-libjs/utils';
|
|
5
5
|
import classnames from 'classnames';
|
|
6
6
|
import React__default, { useRef, useEffect } from 'react';
|
|
7
|
-
import { p as packs, a as getMarshal, u as use_options, C as Checkbox_L, d as parse_MC_value } from './index.js';
|
|
8
|
-
import MyCheckbox_DisplayFC from './
|
|
7
|
+
import { p as packs, a as getMarshal, u as use_options, C as Checkbox_L, M as MyIcon, d as parse_MC_value } from './index.js';
|
|
8
|
+
import MyCheckbox_DisplayFC from './MyCheckbox.Display.js';
|
|
9
9
|
import { s as styles } from './index.module.js';
|
|
10
|
-
import 'antd';
|
|
10
|
+
import { Tooltip } from 'antd';
|
|
11
11
|
import 'dayjs';
|
|
12
12
|
import 'rc-select';
|
|
13
13
|
import 'rc-tree';
|
|
@@ -230,7 +230,15 @@ var MyCheckbox = function MyCheckbox(props) {
|
|
|
230
230
|
}
|
|
231
231
|
}, /*#__PURE__*/React__default.createElement(Checkbox_L, {
|
|
232
232
|
value: option.value
|
|
233
|
-
}, option.label
|
|
233
|
+
}, option.label, option.tip ? /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
234
|
+
title: option.tip
|
|
235
|
+
}, /*#__PURE__*/React__default.createElement(MyIcon, {
|
|
236
|
+
value: 'QuestionCircleOutlined',
|
|
237
|
+
style: {
|
|
238
|
+
cursor: 'help',
|
|
239
|
+
marginLeft: 2
|
|
240
|
+
}
|
|
241
|
+
})) : null)), surround_node);
|
|
234
242
|
}));
|
|
235
243
|
};
|
|
236
244
|
MyCheckbox.DisplayFC = MyCheckbox_DisplayFC;
|
package/dist/a_chunks/index.js
CHANGED
|
@@ -29,60 +29,60 @@ import { Option } from 'rc-select';
|
|
|
29
29
|
import RCTree, { TreeNode } from 'rc-tree';
|
|
30
30
|
import { safe_fetch_options } from '@noah-libjs/request';
|
|
31
31
|
var ArrayInput = /*#__PURE__*/lazy(function () {
|
|
32
|
-
return import('./
|
|
32
|
+
return import('./ArrayInput.Inner.js');
|
|
33
33
|
});
|
|
34
34
|
ArrayInput.DisplayFC = /*#__PURE__*/lazy(function () {
|
|
35
|
-
return import('./
|
|
35
|
+
return import('./ArrayInput.DispalyInner.js');
|
|
36
36
|
});
|
|
37
37
|
var ArraySingle = /*#__PURE__*/lazy(function () {
|
|
38
|
-
return import('./
|
|
38
|
+
return import('./ArraySingle.Inner.js');
|
|
39
39
|
});
|
|
40
40
|
ArraySingle.DisplayFC = /*#__PURE__*/lazy(function () {
|
|
41
|
-
return import('./
|
|
41
|
+
return import('./ArraySingle.DispalyInner.js');
|
|
42
42
|
});
|
|
43
43
|
var MyAutoComplete = /*#__PURE__*/lazy(function () {
|
|
44
|
-
return import('./
|
|
44
|
+
return import('./MyAutoComplete.Inner.js');
|
|
45
45
|
});
|
|
46
46
|
MyAutoComplete.DisplayFC = function (props) {
|
|
47
47
|
return /*#__PURE__*/React__default.createElement("span", null, props.value);
|
|
48
48
|
};
|
|
49
49
|
var MyCheckbox = /*#__PURE__*/lazy(function () {
|
|
50
|
-
return import('./
|
|
50
|
+
return import('./MyCheckbox.Inner.js');
|
|
51
51
|
});
|
|
52
52
|
var MyCheckbox_Display = /*#__PURE__*/lazy(function () {
|
|
53
|
-
return import('./
|
|
53
|
+
return import('./MyCheckbox.Display.js');
|
|
54
54
|
});
|
|
55
55
|
MyCheckbox.DisplayFC = MyCheckbox_Display;
|
|
56
56
|
var DatePickerInner = /*#__PURE__*/lazy(function () {
|
|
57
|
-
return import('./
|
|
57
|
+
return import('./Base.DatePicker.js').then(function (r) {
|
|
58
58
|
return {
|
|
59
59
|
"default": r.DatePicker
|
|
60
60
|
};
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
63
|
var RangePickerInner = /*#__PURE__*/lazy(function () {
|
|
64
|
-
return import('./
|
|
64
|
+
return import('./Base.DatePicker.js').then(function (r) {
|
|
65
65
|
return {
|
|
66
66
|
"default": r.DatePicker.RangePicker
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
69
|
});
|
|
70
70
|
var MonthPickerInner = /*#__PURE__*/lazy(function () {
|
|
71
|
-
return import('./
|
|
71
|
+
return import('./Base.DatePicker.js').then(function (r) {
|
|
72
72
|
return {
|
|
73
73
|
"default": r.DatePicker.MonthPicker
|
|
74
74
|
};
|
|
75
75
|
});
|
|
76
76
|
});
|
|
77
77
|
var TimePickerInner = /*#__PURE__*/lazy(function () {
|
|
78
|
-
return import('./
|
|
78
|
+
return import('./Base.DatePicker.js').then(function (r) {
|
|
79
79
|
return {
|
|
80
80
|
"default": r.DatePicker.TimePicker
|
|
81
81
|
};
|
|
82
82
|
});
|
|
83
83
|
});
|
|
84
84
|
var CalendarInner = /*#__PURE__*/lazy(function () {
|
|
85
|
-
return import('./
|
|
85
|
+
return import('./Base.Calendar.js');
|
|
86
86
|
});
|
|
87
87
|
var DatePicker_L = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
88
88
|
return /*#__PURE__*/React.createElement(DatePickerInner, _objectSpread(_objectSpread({}, props), {}, {
|
|
@@ -116,7 +116,7 @@ var Calendar_L = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
116
116
|
Calendar_L.displayName = 'TimePicker';
|
|
117
117
|
var SelectOption_L = Option;
|
|
118
118
|
var Inner$b = /*#__PURE__*/React__default.lazy(function () {
|
|
119
|
-
return import('./
|
|
119
|
+
return import('./Select.Inner.js');
|
|
120
120
|
});
|
|
121
121
|
function Select_(props) {
|
|
122
122
|
return /*#__PURE__*/React__default.createElement(Inner$b, _objectSpread({}, props));
|
|
@@ -137,17 +137,17 @@ var AutoComplete_L = Object.assign(AutoComplete_, {
|
|
|
137
137
|
Option: SelectOption_L
|
|
138
138
|
});
|
|
139
139
|
var Inner$9 = /*#__PURE__*/React.lazy(function () {
|
|
140
|
-
return import('./
|
|
140
|
+
return import('./ColorPicker.Inner.js');
|
|
141
141
|
});
|
|
142
142
|
var ColorPicker_L = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
143
143
|
return /*#__PURE__*/React.createElement(Inner$9, _objectSpread({}, props));
|
|
144
144
|
});
|
|
145
145
|
ColorPicker_L.displayName = 'ColorPicker';
|
|
146
146
|
var Inner$8 = /*#__PURE__*/React__default.lazy(function () {
|
|
147
|
-
return import('./
|
|
147
|
+
return import('./Form.Inner.js');
|
|
148
148
|
});
|
|
149
149
|
var FormItemInner = /*#__PURE__*/React__default.lazy(function () {
|
|
150
|
-
return import('./
|
|
150
|
+
return import('./Form.FormItemInner.js');
|
|
151
151
|
});
|
|
152
152
|
function Form_(props) {
|
|
153
153
|
return /*#__PURE__*/React__default.createElement(Inner$8, _objectSpread({}, props));
|
|
@@ -156,10 +156,10 @@ var Form_L = Object.assign(Form_, {
|
|
|
156
156
|
Item: FormItemInner
|
|
157
157
|
});
|
|
158
158
|
var Inner$7 = /*#__PURE__*/React__default.lazy(function () {
|
|
159
|
-
return import('./
|
|
159
|
+
return import('./Dropdown.Inner.js');
|
|
160
160
|
});
|
|
161
161
|
var ButtonInner = /*#__PURE__*/React__default.lazy(function () {
|
|
162
|
-
return import('./
|
|
162
|
+
return import('./Dropdown.Button.js');
|
|
163
163
|
});
|
|
164
164
|
var Dropdown_ = function Dropdown_(props) {
|
|
165
165
|
return /*#__PURE__*/React__default.createElement(Inner$7, _objectSpread({}, props));
|
|
@@ -171,16 +171,16 @@ var Dropdown_L = Object.assign(Dropdown_, {
|
|
|
171
171
|
Button: Button
|
|
172
172
|
});
|
|
173
173
|
var Inner$6 = /*#__PURE__*/React__default.lazy(function () {
|
|
174
|
-
return import('./
|
|
174
|
+
return import('./Table.Inner.js');
|
|
175
175
|
});
|
|
176
176
|
function Table_L(props) {
|
|
177
177
|
return /*#__PURE__*/React__default.createElement(Inner$6, _objectSpread({}, props));
|
|
178
178
|
}
|
|
179
179
|
var Inner$5 = /*#__PURE__*/React__default.lazy(function () {
|
|
180
|
-
return import('./
|
|
180
|
+
return import('./Tree.Inner.js');
|
|
181
181
|
});
|
|
182
182
|
var DirectoryTreeInner = /*#__PURE__*/React__default.lazy(function () {
|
|
183
|
-
return import('./
|
|
183
|
+
return import('./Tree.DirectoryTreeInner.js');
|
|
184
184
|
});
|
|
185
185
|
var Tree_ = /*#__PURE__*/forwardRef(function Tree_(props, ref) {
|
|
186
186
|
return /*#__PURE__*/React__default.createElement(Inner$5, _objectSpread(_objectSpread({}, props), {}, {
|
|
@@ -197,28 +197,28 @@ var Tree_L = Object.assign(Tree_, {
|
|
|
197
197
|
RCTree: RCTree
|
|
198
198
|
});
|
|
199
199
|
var Inner$4 = /*#__PURE__*/React__default.lazy(function () {
|
|
200
|
-
return import('./
|
|
200
|
+
return import('./Modal.Inner.js');
|
|
201
201
|
});
|
|
202
202
|
function Modal_L(props) {
|
|
203
203
|
return /*#__PURE__*/React__default.createElement(Inner$4, _objectSpread({}, props));
|
|
204
204
|
}
|
|
205
205
|
var Inner$3 = /*#__PURE__*/React__default.lazy(function () {
|
|
206
|
-
return import('./
|
|
206
|
+
return import('./Pagination.Inner.js');
|
|
207
207
|
});
|
|
208
208
|
function Pagination_L(props) {
|
|
209
209
|
return /*#__PURE__*/React__default.createElement(Inner$3, _objectSpread({}, props));
|
|
210
210
|
}
|
|
211
211
|
var Inner$2 = /*#__PURE__*/React__default.lazy(function () {
|
|
212
|
-
return import('./
|
|
212
|
+
return import('./TreeSelect.Inner.js');
|
|
213
213
|
});
|
|
214
214
|
function TreeSelect_L(props) {
|
|
215
215
|
return /*#__PURE__*/React__default.createElement(Inner$2, _objectSpread({}, props));
|
|
216
216
|
}
|
|
217
217
|
var Inner$1 = /*#__PURE__*/React__default.lazy(function () {
|
|
218
|
-
return import('./
|
|
218
|
+
return import('./Checkbox.Inner.js');
|
|
219
219
|
});
|
|
220
220
|
var GroupInner = /*#__PURE__*/React__default.lazy(function () {
|
|
221
|
-
return import('./
|
|
221
|
+
return import('./Checkbox.GroupInner.js');
|
|
222
222
|
});
|
|
223
223
|
function Checkbox_(props) {
|
|
224
224
|
return /*#__PURE__*/React__default.createElement(Inner$1, _objectSpread({}, props));
|
|
@@ -227,16 +227,16 @@ var Checkbox_L = Object.assign(Checkbox_, {
|
|
|
227
227
|
Group: GroupInner
|
|
228
228
|
});
|
|
229
229
|
var QRCode_L = /*#__PURE__*/lazy(function () {
|
|
230
|
-
return import('./
|
|
230
|
+
return import('./QRCode.Inner.js');
|
|
231
231
|
});
|
|
232
232
|
var Switch_L = /*#__PURE__*/lazy(function () {
|
|
233
233
|
return import('antd/es/switch');
|
|
234
234
|
});
|
|
235
235
|
var MyIcon = /*#__PURE__*/lazy(function () {
|
|
236
|
-
return import('./
|
|
236
|
+
return import('./MyIconSelect.MyIcon.js');
|
|
237
237
|
});
|
|
238
238
|
var MyIconSelect = /*#__PURE__*/lazy(function () {
|
|
239
|
-
return import('./
|
|
239
|
+
return import('./MyIconSelect.MyIconSelect.js');
|
|
240
240
|
});
|
|
241
241
|
MyIconSelect.DisplayFC = MyIcon;
|
|
242
242
|
var MyColor = function MyColor(props) {
|
|
@@ -535,8 +535,7 @@ function check_multiple(props) {
|
|
|
535
535
|
return ['tags', 'multiple'].includes(type);
|
|
536
536
|
}
|
|
537
537
|
function get_mode(props) {
|
|
538
|
-
|
|
539
|
-
return (_props$mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props$mode !== void 0 ? _props$mode : props.type;
|
|
538
|
+
return (props === null || props === void 0 ? void 0 : props.mode) || props.type;
|
|
540
539
|
}
|
|
541
540
|
function use_options(props) {
|
|
542
541
|
var _data$;
|
|
@@ -700,11 +699,11 @@ function parse_MC_string_options(props) {
|
|
|
700
699
|
} : _;
|
|
701
700
|
}).filter(identity) : [];
|
|
702
701
|
var input_type = (_config$inputType = config === null || config === void 0 ? void 0 : config.inputType) !== null && _config$inputType !== void 0 ? _config$inputType : 'MC';
|
|
703
|
-
var
|
|
702
|
+
var multi = type === 'multiple';
|
|
704
703
|
var marshal = getMarshal(props);
|
|
705
704
|
var opts = getDualModeOptions(_opt, {
|
|
706
705
|
sp: sp,
|
|
707
|
-
useString:
|
|
706
|
+
useString: multi && !marshal || useString,
|
|
708
707
|
start: startIndex,
|
|
709
708
|
useDefault: useDefault
|
|
710
709
|
});
|
|
@@ -773,7 +772,7 @@ var DisplayFC$3 = function DisplayFC$3(_props) {
|
|
|
773
772
|
return /*#__PURE__*/React__default.createElement("span", null, isUnknown ? '不详' : m.isValid() ? m.format(format) : EMPTY_PLACEHOLDER);
|
|
774
773
|
};
|
|
775
774
|
var MyDatePicker = /*#__PURE__*/lazy(function () {
|
|
776
|
-
return import('./
|
|
775
|
+
return import('./MyDatePicker.Inner.js');
|
|
777
776
|
});
|
|
778
777
|
MyDatePicker.DisplayFC = DisplayFC$3;
|
|
779
778
|
var defaultGetPopupContainer = function defaultGetPopupContainer() {
|
|
@@ -841,7 +840,7 @@ var DisplayFC$2 = function DisplayFC$2(_props) {
|
|
|
841
840
|
return disPlay_value.join(linker);
|
|
842
841
|
};
|
|
843
842
|
var MyRangePicker = /*#__PURE__*/lazy(function () {
|
|
844
|
-
return import('./
|
|
843
|
+
return import('./MyRangeDate.Inner.js');
|
|
845
844
|
});
|
|
846
845
|
var MyRangeDate = function MyRangeDate(props) {
|
|
847
846
|
var placeholder = props.placeholder,
|
|
@@ -990,7 +989,7 @@ function DisplayFC(props) {
|
|
|
990
989
|
return display_node;
|
|
991
990
|
}
|
|
992
991
|
var Inner = /*#__PURE__*/lazy(function () {
|
|
993
|
-
return import('./
|
|
992
|
+
return import('./MySelect.Inner.js');
|
|
994
993
|
});
|
|
995
994
|
var MySelect = Object.assign(Inner, {
|
|
996
995
|
DisplayFC: DisplayFC
|
|
@@ -1000,23 +999,35 @@ var MySwitch = function MySwitch(props) {
|
|
|
1000
999
|
checked_value = _props$checked_value2 === void 0 ? true : _props$checked_value2,
|
|
1001
1000
|
_props$unchecked_valu2 = props.unchecked_value,
|
|
1002
1001
|
unchecked_value = _props$unchecked_valu2 === void 0 ? false : _props$unchecked_valu2,
|
|
1003
|
-
|
|
1002
|
+
onChange = props.onChange,
|
|
1004
1003
|
value = props.value;
|
|
1004
|
+
var _useState9 = useState(),
|
|
1005
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
1006
|
+
local_value = _useState10[0],
|
|
1007
|
+
setLocal_value = _useState10[1];
|
|
1008
|
+
useEffect(function () {
|
|
1009
|
+
setLocal_value(value);
|
|
1010
|
+
return function () {};
|
|
1011
|
+
}, [value]);
|
|
1012
|
+
function local_change(v) {
|
|
1013
|
+
onChange === null || onChange === void 0 || onChange(v);
|
|
1014
|
+
setLocal_value(v);
|
|
1015
|
+
}
|
|
1005
1016
|
if (props.switch_type === 'checkbox') return /*#__PURE__*/React__default.createElement(MyCheckbox, _objectSpread(_objectSpread({}, props), {}, {
|
|
1006
1017
|
options: [{
|
|
1007
1018
|
value: checked_value
|
|
1008
1019
|
}],
|
|
1009
1020
|
marshal: 0,
|
|
1010
|
-
value:
|
|
1021
|
+
value: local_value === checked_value ? checked_value : null,
|
|
1011
1022
|
onChange: function onChange(v) {
|
|
1012
1023
|
console.log('switch', v);
|
|
1013
|
-
|
|
1024
|
+
local_change(v === null ? unchecked_value : checked_value);
|
|
1014
1025
|
}
|
|
1015
1026
|
}));
|
|
1016
1027
|
return /*#__PURE__*/React__default.createElement(Switch_L, _objectSpread(_objectSpread({}, props), {}, {
|
|
1017
|
-
value:
|
|
1028
|
+
value: local_value === checked_value,
|
|
1018
1029
|
onChange: function onChange(v) {
|
|
1019
|
-
|
|
1030
|
+
local_change(v !== true ? unchecked_value : checked_value);
|
|
1020
1031
|
}
|
|
1021
1032
|
}));
|
|
1022
1033
|
};
|
|
@@ -1049,10 +1060,10 @@ function MyButton(props) {
|
|
|
1049
1060
|
others = _objectWithoutProperties(props, _excluded5);
|
|
1050
1061
|
if (hidden) return null;
|
|
1051
1062
|
var type = props.type;
|
|
1052
|
-
var
|
|
1053
|
-
|
|
1054
|
-
visible =
|
|
1055
|
-
setVisible =
|
|
1063
|
+
var _useState11 = useState(false),
|
|
1064
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
1065
|
+
visible = _useState12[0],
|
|
1066
|
+
setVisible = _useState12[1];
|
|
1056
1067
|
var _icon = visible ? defaultIcon !== null && defaultIcon !== void 0 ? defaultIcon : /*#__PURE__*/React__default.createElement(MyIcon, {
|
|
1057
1068
|
value: 'LoadingOutlined'
|
|
1058
1069
|
}) : icon;
|
|
@@ -1319,10 +1330,10 @@ function MountGlobalModal(props) {
|
|
|
1319
1330
|
var meta = props.meta,
|
|
1320
1331
|
globalModal = props.globalModal;
|
|
1321
1332
|
// useNotification()
|
|
1322
|
-
var
|
|
1323
|
-
|
|
1324
|
-
modalQueue =
|
|
1325
|
-
setModalQueue =
|
|
1333
|
+
var _useState13 = useState([]),
|
|
1334
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
1335
|
+
modalQueue = _useState14[0],
|
|
1336
|
+
setModalQueue = _useState14[1];
|
|
1326
1337
|
useEffect(function () {
|
|
1327
1338
|
globalModal.init(modalQueue, setModalQueue);
|
|
1328
1339
|
}, [modalQueue]);
|
|
@@ -1357,7 +1368,7 @@ function MountGlobalModal(props) {
|
|
|
1357
1368
|
}));
|
|
1358
1369
|
}
|
|
1359
1370
|
var MonacoInner = /*#__PURE__*/lazy(function () {
|
|
1360
|
-
return import('./
|
|
1371
|
+
return import('./Monaco.Inner.js');
|
|
1361
1372
|
});
|
|
1362
1373
|
var MyMonaco = Object.assign(MonacoInner, {
|
|
1363
1374
|
config: function config(vs) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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}\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";
|
|
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
3
|
var styles = {
|
|
4
4
|
"wrapper": "index-module_wrapper__8xmrk",
|
|
5
5
|
"block-box": "index-module_block-box__zbZ8F",
|
|
@@ -198,8 +198,8 @@ export type IMchc_FormDescriptions_Field<RAW = false> = {
|
|
|
198
198
|
disabledDeps?: AnyObject<any[] | ((v: any) => boolean)> | ((f: FormInstance) => boolean);
|
|
199
199
|
warning_deps?: AnyObject<any[] | ((v: any) => boolean)> | ((f: FormInstance) => boolean);
|
|
200
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;
|
|
201
|
+
processRemote?(v: any, form?: FormInstance, conf?: IMchc_FormDescriptions_Field): any;
|
|
202
|
+
processLocal?(v: any, form?: FormInstance, conf?: IMchc_FormDescriptions_Field): any;
|
|
203
203
|
checkWarn?(v: any, form?: FormInstance): boolean | InputStatus;
|
|
204
204
|
fd_lazy?: boolean;
|
|
205
205
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noah-libjs/components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"rollup-plugin-postcss": "^4.0.2"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@noah-libjs/request": "0.0.
|
|
42
|
-
"@noah-libjs/utils": "0.0.
|
|
41
|
+
"@noah-libjs/request": "^0.0.42",
|
|
42
|
+
"@noah-libjs/utils": "^0.0.42"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"license": "MIT",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "6df762563633fc56dae4e1c3891588a96b0305dd"
|
|
49
49
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|