@kdcloudjs/kdesign 1.8.26 → 1.8.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/kdesign-complete.less +6 -0
- package/dist/kdesign.css +4 -1
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +44 -34
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +2 -2
- package/dist/kdesign.min.js +3 -3
- package/dist/kdesign.min.js.map +1 -1
- package/es/color-picker/color-picker-panel.js +14 -14
- package/es/rate/rate.js +26 -17
- package/es/tree/style/index.css +3 -0
- package/es/tree/style/index.less +6 -0
- package/es/tree/treeNode.js +2 -2
- package/lib/color-picker/color-picker-panel.js +14 -14
- package/lib/rate/rate.js +26 -17
- package/lib/tree/style/index.css +3 -0
- package/lib/tree/style/index.less +6 -0
- package/lib/tree/treeNode.js +2 -2
- package/package.json +1 -1
|
@@ -131,8 +131,8 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
|
|
|
131
131
|
setInputColorValue(formatInputValue);
|
|
132
132
|
setCorrectColorValue(formatCorrectValue);
|
|
133
133
|
setColTypeArr(formatArr);
|
|
134
|
+
setClickedPresetColorIndex(index);
|
|
134
135
|
}
|
|
135
|
-
setClickedPresetColorIndex(index);
|
|
136
136
|
onChange === null || onChange === void 0 ? void 0 : onChange(formatInputValue, formatArr);
|
|
137
137
|
};
|
|
138
138
|
var historicalColorClick = function historicalColorClick(index, colorValue) {
|
|
@@ -147,8 +147,8 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
|
|
|
147
147
|
setInputColorValue(formatInputValue);
|
|
148
148
|
setCorrectColorValue(formatCorrectValue);
|
|
149
149
|
setColTypeArr(formatArr);
|
|
150
|
+
setClickedHistoricalColorIndex(index);
|
|
150
151
|
}
|
|
151
|
-
setClickedHistoricalColorIndex(index);
|
|
152
152
|
onChange === null || onChange === void 0 ? void 0 : onChange(formatInputValue, formatArr);
|
|
153
153
|
};
|
|
154
154
|
var handleTypeChange = function handleTypeChange(selectValue) {
|
|
@@ -167,7 +167,7 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
|
|
|
167
167
|
})) === null || _c === void 0 ? void 0 : _c.value, colTypeArr);
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
|
-
var
|
|
170
|
+
var handleAlphaBlur = function handleAlphaBlur(e) {
|
|
171
171
|
var regPercentage = /^(0|[1-9][0-9]?|100)%$/;
|
|
172
172
|
var regDot = /^(0(\.\d+)?|1(\.0+)?)$/;
|
|
173
173
|
var val = e.target.value;
|
|
@@ -193,17 +193,6 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
|
|
|
193
193
|
formatArr = _getColorFormat.formatArr,
|
|
194
194
|
outValue = _getColorFormat.outValue,
|
|
195
195
|
innerInput = _getColorFormat.innerInput;
|
|
196
|
-
if (value === undefined) {
|
|
197
|
-
setAlphaNoVerifyVal(val);
|
|
198
|
-
setPanelState(formatArr, innerInput, outValue, alphaValue);
|
|
199
|
-
setClickColorIndex(formatArr[0].value);
|
|
200
|
-
}
|
|
201
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(outValue, formatArr);
|
|
202
|
-
};
|
|
203
|
-
var handleAlphaBlur = function handleAlphaBlur(e) {
|
|
204
|
-
var regPercentage = /^(0|[1-9][0-9]?|100)%$/;
|
|
205
|
-
var regDot = /^(0(\.\d+)?|1(\.0+)?)$/;
|
|
206
|
-
var val = e.target.value;
|
|
207
196
|
if (regPercentage.test(val)) {
|
|
208
197
|
setAlphaNoVerifyVal(val);
|
|
209
198
|
} else if (regDot.test(val)) {
|
|
@@ -211,6 +200,17 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
|
|
|
211
200
|
} else {
|
|
212
201
|
setAlphaNoVerifyVal('100%');
|
|
213
202
|
}
|
|
203
|
+
if (value === undefined) {
|
|
204
|
+
setPanelState(formatArr, innerInput, outValue, alphaValue);
|
|
205
|
+
setClickColorIndex(formatArr[0].value);
|
|
206
|
+
}
|
|
207
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(outValue, formatArr);
|
|
208
|
+
};
|
|
209
|
+
var handleAlphaChange = function handleAlphaChange(e) {
|
|
210
|
+
if (value !== undefined && onChange === undefined) {
|
|
211
|
+
return;
|
|
212
|
+
}
|
|
213
|
+
setAlphaNoVerifyVal(e.target.value);
|
|
214
214
|
};
|
|
215
215
|
var handleHEXInputChange = function handleHEXInputChange(e) {
|
|
216
216
|
setCorrectColorValue(e.target.value);
|
package/es/rate/rate.js
CHANGED
|
@@ -39,7 +39,7 @@ var Rate = function Rate(props) {
|
|
|
39
39
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
40
40
|
selectedValue = _React$useState2[0],
|
|
41
41
|
setSelectedValue = _React$useState2[1];
|
|
42
|
-
var _React$useState3 = React.useState(0),
|
|
42
|
+
var _React$useState3 = React.useState([0]),
|
|
43
43
|
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
44
44
|
activeNumber = _React$useState4[0],
|
|
45
45
|
setActiveNumber = _React$useState4[1];
|
|
@@ -50,14 +50,16 @@ var Rate = function Rate(props) {
|
|
|
50
50
|
}, [value, selectedValue]);
|
|
51
51
|
var handleClick = React.useCallback(function (value) {
|
|
52
52
|
setSelectedValue(value);
|
|
53
|
+
onlyActiveCurrent && setActiveNumber([value]);
|
|
53
54
|
onChange && onChange(value);
|
|
54
|
-
}, [onChange]);
|
|
55
|
+
}, [onChange, onlyActiveCurrent]);
|
|
55
56
|
var handleMouseEnter = React.useCallback(function (value) {
|
|
56
|
-
|
|
57
|
+
var tempValue = onlyActiveCurrent ? selectedValue === value ? [value] : [selectedValue, value] : [value];
|
|
58
|
+
setActiveNumber(tempValue);
|
|
57
59
|
onHoverChange && onHoverChange(value);
|
|
58
|
-
}, [onHoverChange]);
|
|
60
|
+
}, [onHoverChange, onlyActiveCurrent, selectedValue]);
|
|
59
61
|
var handleMouseLeave = function handleMouseLeave() {
|
|
60
|
-
setActiveNumber(0);
|
|
62
|
+
setActiveNumber([0]);
|
|
61
63
|
};
|
|
62
64
|
var handleFocus = React.useCallback(function () {
|
|
63
65
|
onFocus && onFocus();
|
|
@@ -79,12 +81,17 @@ var Rate = function Rate(props) {
|
|
|
79
81
|
}, icon);
|
|
80
82
|
};
|
|
81
83
|
var getFirstIconStatus = function getFirstIconStatus(value, index, onlyActiveCurrent, secondIconStatus) {
|
|
84
|
+
var tempValue = typeof value === 'number' ? [value] : value;
|
|
85
|
+
if (onlyActiveCurrent) {
|
|
86
|
+
return tempValue.indexOf(index) !== -1;
|
|
87
|
+
}
|
|
88
|
+
var realValue = tempValue[0];
|
|
82
89
|
var half = 0.5;
|
|
83
|
-
var isInteger = _Number$isInteger(
|
|
84
|
-
|
|
85
|
-
var isActiveAllLeft =
|
|
86
|
-
var isActiveCurrent =
|
|
87
|
-
var isActiveFirst =
|
|
90
|
+
var isInteger = _Number$isInteger(realValue);
|
|
91
|
+
var tValue = transferValue(realValue, index);
|
|
92
|
+
var isActiveAllLeft = tValue >= index || tValue === index - half;
|
|
93
|
+
var isActiveCurrent = tValue === index;
|
|
94
|
+
var isActiveFirst = tValue === index - half;
|
|
88
95
|
var mark;
|
|
89
96
|
if (secondIconStatus) {
|
|
90
97
|
mark = true;
|
|
@@ -105,21 +112,23 @@ var Rate = function Rate(props) {
|
|
|
105
112
|
return Math.round(value);
|
|
106
113
|
}
|
|
107
114
|
};
|
|
108
|
-
var getSecondIconStatus = function
|
|
115
|
+
var getSecondIconStatus = React.useCallback(function (value, index, onlyActiveCurrent) {
|
|
116
|
+
var tempValue = typeof value === 'number' ? [value] : value;
|
|
109
117
|
if (!onlyActiveCurrent) {
|
|
110
|
-
return
|
|
118
|
+
return tempValue[0] >= index;
|
|
111
119
|
} else {
|
|
112
|
-
|
|
120
|
+
var indexArr = activeNumber[0] === 0 && activeNumber.length === 1 ? tempValue : activeNumber;
|
|
121
|
+
return indexArr.indexOf(index) !== -1;
|
|
113
122
|
}
|
|
114
|
-
};
|
|
123
|
+
}, [activeNumber]);
|
|
115
124
|
var getIconStyle = function getIconStyle(isActive) {
|
|
116
125
|
if (isActive) return {
|
|
117
126
|
color: color
|
|
118
127
|
};
|
|
119
128
|
};
|
|
120
|
-
var isSelected = function
|
|
121
|
-
return activeNumber !== 0 ? mouseActive : selectActive;
|
|
122
|
-
};
|
|
129
|
+
var isSelected = React.useCallback(function (selectActive, mouseActive) {
|
|
130
|
+
return activeNumber[0] !== 0 ? mouseActive : selectActive;
|
|
131
|
+
}, [activeNumber]);
|
|
123
132
|
var getIconClassName = function getIconClassName(name, isActive) {
|
|
124
133
|
var _context, _classnames;
|
|
125
134
|
return classnames((_classnames = {}, _defineProperty(_classnames, _concatInstanceProperty(_context = "".concat(prefixCls, "-icon-")).call(_context, name), true), _defineProperty(_classnames, "".concat(prefixCls, "-icon-selected"), isActive), _classnames));
|
package/es/tree/style/index.css
CHANGED
|
@@ -296,6 +296,9 @@
|
|
|
296
296
|
.kd-tree-node-title-wrap-selected .kd-tree-node-icon {
|
|
297
297
|
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme, #5582f3));
|
|
298
298
|
}
|
|
299
|
+
.kd-tree-node-title-wrap .kd-checkbox-default-disabled .kd-checkbox-default-indeterminate::before {
|
|
300
|
+
background-color: var(--kd-c-tree-node-color-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
301
|
+
}
|
|
299
302
|
.kd-tree-node-title {
|
|
300
303
|
white-space: nowrap;
|
|
301
304
|
}
|
package/es/tree/style/index.less
CHANGED
|
@@ -130,6 +130,12 @@
|
|
|
130
130
|
&-selected {
|
|
131
131
|
.node-selected();
|
|
132
132
|
}
|
|
133
|
+
|
|
134
|
+
.@{kd-prefix}-checkbox-default-disabled {
|
|
135
|
+
.@{kd-prefix}-checkbox-default-indeterminate::before {
|
|
136
|
+
background-color: @tree-node-disabled-color;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
133
139
|
}
|
|
134
140
|
&-title {
|
|
135
141
|
white-space: nowrap;
|
package/es/tree/treeNode.js
CHANGED
|
@@ -208,8 +208,8 @@ var TreeNode = React.forwardRef(function (props) {
|
|
|
208
208
|
className: classNames("".concat(treeNodePrefixCls, "-drag-line-top"))
|
|
209
209
|
}), checkable ? React.createElement(Checkbox, {
|
|
210
210
|
onChange: handleOnchange,
|
|
211
|
-
checked:
|
|
212
|
-
indeterminate:
|
|
211
|
+
checked: checked,
|
|
212
|
+
indeterminate: indeterminate,
|
|
213
213
|
disabled: disabled,
|
|
214
214
|
onClick: function onClick(e) {
|
|
215
215
|
return e.stopPropagation();
|
|
@@ -143,8 +143,8 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
|
|
|
143
143
|
setInputColorValue(formatInputValue);
|
|
144
144
|
setCorrectColorValue(formatCorrectValue);
|
|
145
145
|
setColTypeArr(formatArr);
|
|
146
|
+
setClickedPresetColorIndex(index);
|
|
146
147
|
}
|
|
147
|
-
setClickedPresetColorIndex(index);
|
|
148
148
|
onChange === null || onChange === void 0 ? void 0 : onChange(formatInputValue, formatArr);
|
|
149
149
|
};
|
|
150
150
|
var historicalColorClick = function historicalColorClick(index, colorValue) {
|
|
@@ -159,8 +159,8 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
|
|
|
159
159
|
setInputColorValue(formatInputValue);
|
|
160
160
|
setCorrectColorValue(formatCorrectValue);
|
|
161
161
|
setColTypeArr(formatArr);
|
|
162
|
+
setClickedHistoricalColorIndex(index);
|
|
162
163
|
}
|
|
163
|
-
setClickedHistoricalColorIndex(index);
|
|
164
164
|
onChange === null || onChange === void 0 ? void 0 : onChange(formatInputValue, formatArr);
|
|
165
165
|
};
|
|
166
166
|
var handleTypeChange = function handleTypeChange(selectValue) {
|
|
@@ -179,7 +179,7 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
|
|
|
179
179
|
})) === null || _c === void 0 ? void 0 : _c.value, colTypeArr);
|
|
180
180
|
}
|
|
181
181
|
};
|
|
182
|
-
var
|
|
182
|
+
var handleAlphaBlur = function handleAlphaBlur(e) {
|
|
183
183
|
var regPercentage = /^(0|[1-9][0-9]?|100)%$/;
|
|
184
184
|
var regDot = /^(0(\.\d+)?|1(\.0+)?)$/;
|
|
185
185
|
var val = e.target.value;
|
|
@@ -205,17 +205,6 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
|
|
|
205
205
|
formatArr = _getColorFormat.formatArr,
|
|
206
206
|
outValue = _getColorFormat.outValue,
|
|
207
207
|
innerInput = _getColorFormat.innerInput;
|
|
208
|
-
if (value === undefined) {
|
|
209
|
-
setAlphaNoVerifyVal(val);
|
|
210
|
-
setPanelState(formatArr, innerInput, outValue, alphaValue);
|
|
211
|
-
setClickColorIndex(formatArr[0].value);
|
|
212
|
-
}
|
|
213
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(outValue, formatArr);
|
|
214
|
-
};
|
|
215
|
-
var handleAlphaBlur = function handleAlphaBlur(e) {
|
|
216
|
-
var regPercentage = /^(0|[1-9][0-9]?|100)%$/;
|
|
217
|
-
var regDot = /^(0(\.\d+)?|1(\.0+)?)$/;
|
|
218
|
-
var val = e.target.value;
|
|
219
208
|
if (regPercentage.test(val)) {
|
|
220
209
|
setAlphaNoVerifyVal(val);
|
|
221
210
|
} else if (regDot.test(val)) {
|
|
@@ -223,6 +212,17 @@ var ColorPickerPanel = function ColorPickerPanel(props) {
|
|
|
223
212
|
} else {
|
|
224
213
|
setAlphaNoVerifyVal('100%');
|
|
225
214
|
}
|
|
215
|
+
if (value === undefined) {
|
|
216
|
+
setPanelState(formatArr, innerInput, outValue, alphaValue);
|
|
217
|
+
setClickColorIndex(formatArr[0].value);
|
|
218
|
+
}
|
|
219
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(outValue, formatArr);
|
|
220
|
+
};
|
|
221
|
+
var handleAlphaChange = function handleAlphaChange(e) {
|
|
222
|
+
if (value !== undefined && onChange === undefined) {
|
|
223
|
+
return;
|
|
224
|
+
}
|
|
225
|
+
setAlphaNoVerifyVal(e.target.value);
|
|
226
226
|
};
|
|
227
227
|
var handleHEXInputChange = function handleHEXInputChange(e) {
|
|
228
228
|
setCorrectColorValue(e.target.value);
|
package/lib/rate/rate.js
CHANGED
|
@@ -52,7 +52,7 @@ var Rate = function Rate(props) {
|
|
|
52
52
|
_React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2),
|
|
53
53
|
selectedValue = _React$useState2[0],
|
|
54
54
|
setSelectedValue = _React$useState2[1];
|
|
55
|
-
var _React$useState3 = React.useState(0),
|
|
55
|
+
var _React$useState3 = React.useState([0]),
|
|
56
56
|
_React$useState4 = (0, _slicedToArray2.default)(_React$useState3, 2),
|
|
57
57
|
activeNumber = _React$useState4[0],
|
|
58
58
|
setActiveNumber = _React$useState4[1];
|
|
@@ -63,14 +63,16 @@ var Rate = function Rate(props) {
|
|
|
63
63
|
}, [value, selectedValue]);
|
|
64
64
|
var handleClick = React.useCallback(function (value) {
|
|
65
65
|
setSelectedValue(value);
|
|
66
|
+
onlyActiveCurrent && setActiveNumber([value]);
|
|
66
67
|
onChange && onChange(value);
|
|
67
|
-
}, [onChange]);
|
|
68
|
+
}, [onChange, onlyActiveCurrent]);
|
|
68
69
|
var handleMouseEnter = React.useCallback(function (value) {
|
|
69
|
-
|
|
70
|
+
var tempValue = onlyActiveCurrent ? selectedValue === value ? [value] : [selectedValue, value] : [value];
|
|
71
|
+
setActiveNumber(tempValue);
|
|
70
72
|
onHoverChange && onHoverChange(value);
|
|
71
|
-
}, [onHoverChange]);
|
|
73
|
+
}, [onHoverChange, onlyActiveCurrent, selectedValue]);
|
|
72
74
|
var handleMouseLeave = function handleMouseLeave() {
|
|
73
|
-
setActiveNumber(0);
|
|
75
|
+
setActiveNumber([0]);
|
|
74
76
|
};
|
|
75
77
|
var handleFocus = React.useCallback(function () {
|
|
76
78
|
onFocus && onFocus();
|
|
@@ -92,12 +94,17 @@ var Rate = function Rate(props) {
|
|
|
92
94
|
}, icon);
|
|
93
95
|
};
|
|
94
96
|
var getFirstIconStatus = function getFirstIconStatus(value, index, onlyActiveCurrent, secondIconStatus) {
|
|
97
|
+
var tempValue = typeof value === 'number' ? [value] : value;
|
|
98
|
+
if (onlyActiveCurrent) {
|
|
99
|
+
return tempValue.indexOf(index) !== -1;
|
|
100
|
+
}
|
|
101
|
+
var realValue = tempValue[0];
|
|
95
102
|
var half = 0.5;
|
|
96
|
-
var isInteger = (0, _isInteger.default)(
|
|
97
|
-
|
|
98
|
-
var isActiveAllLeft =
|
|
99
|
-
var isActiveCurrent =
|
|
100
|
-
var isActiveFirst =
|
|
103
|
+
var isInteger = (0, _isInteger.default)(realValue);
|
|
104
|
+
var tValue = transferValue(realValue, index);
|
|
105
|
+
var isActiveAllLeft = tValue >= index || tValue === index - half;
|
|
106
|
+
var isActiveCurrent = tValue === index;
|
|
107
|
+
var isActiveFirst = tValue === index - half;
|
|
101
108
|
var mark;
|
|
102
109
|
if (secondIconStatus) {
|
|
103
110
|
mark = true;
|
|
@@ -118,21 +125,23 @@ var Rate = function Rate(props) {
|
|
|
118
125
|
return Math.round(value);
|
|
119
126
|
}
|
|
120
127
|
};
|
|
121
|
-
var getSecondIconStatus = function
|
|
128
|
+
var getSecondIconStatus = React.useCallback(function (value, index, onlyActiveCurrent) {
|
|
129
|
+
var tempValue = typeof value === 'number' ? [value] : value;
|
|
122
130
|
if (!onlyActiveCurrent) {
|
|
123
|
-
return
|
|
131
|
+
return tempValue[0] >= index;
|
|
124
132
|
} else {
|
|
125
|
-
|
|
133
|
+
var indexArr = activeNumber[0] === 0 && activeNumber.length === 1 ? tempValue : activeNumber;
|
|
134
|
+
return indexArr.indexOf(index) !== -1;
|
|
126
135
|
}
|
|
127
|
-
};
|
|
136
|
+
}, [activeNumber]);
|
|
128
137
|
var getIconStyle = function getIconStyle(isActive) {
|
|
129
138
|
if (isActive) return {
|
|
130
139
|
color: color
|
|
131
140
|
};
|
|
132
141
|
};
|
|
133
|
-
var isSelected = function
|
|
134
|
-
return activeNumber !== 0 ? mouseActive : selectActive;
|
|
135
|
-
};
|
|
142
|
+
var isSelected = React.useCallback(function (selectActive, mouseActive) {
|
|
143
|
+
return activeNumber[0] !== 0 ? mouseActive : selectActive;
|
|
144
|
+
}, [activeNumber]);
|
|
136
145
|
var getIconClassName = function getIconClassName(name, isActive) {
|
|
137
146
|
var _context, _classnames;
|
|
138
147
|
return (0, _classnames3.default)((_classnames = {}, (0, _defineProperty2.default)(_classnames, (0, _concat.default)(_context = "".concat(prefixCls, "-icon-")).call(_context, name), true), (0, _defineProperty2.default)(_classnames, "".concat(prefixCls, "-icon-selected"), isActive), _classnames));
|
package/lib/tree/style/index.css
CHANGED
|
@@ -296,6 +296,9 @@
|
|
|
296
296
|
.kd-tree-node-title-wrap-selected .kd-tree-node-icon {
|
|
297
297
|
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme, #5582f3));
|
|
298
298
|
}
|
|
299
|
+
.kd-tree-node-title-wrap .kd-checkbox-default-disabled .kd-checkbox-default-indeterminate::before {
|
|
300
|
+
background-color: var(--kd-c-tree-node-color-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
301
|
+
}
|
|
299
302
|
.kd-tree-node-title {
|
|
300
303
|
white-space: nowrap;
|
|
301
304
|
}
|
|
@@ -130,6 +130,12 @@
|
|
|
130
130
|
&-selected {
|
|
131
131
|
.node-selected();
|
|
132
132
|
}
|
|
133
|
+
|
|
134
|
+
.@{kd-prefix}-checkbox-default-disabled {
|
|
135
|
+
.@{kd-prefix}-checkbox-default-indeterminate::before {
|
|
136
|
+
background-color: @tree-node-disabled-color;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
133
139
|
}
|
|
134
140
|
&-title {
|
|
135
141
|
white-space: nowrap;
|
package/lib/tree/treeNode.js
CHANGED
|
@@ -220,8 +220,8 @@ var TreeNode = _react.default.forwardRef(function (props) {
|
|
|
220
220
|
className: (0, _classnames.default)("".concat(treeNodePrefixCls, "-drag-line-top"))
|
|
221
221
|
}), checkable ? _react.default.createElement(_checkbox.default, {
|
|
222
222
|
onChange: handleOnchange,
|
|
223
|
-
checked:
|
|
224
|
-
indeterminate:
|
|
223
|
+
checked: checked,
|
|
224
|
+
indeterminate: indeterminate,
|
|
225
225
|
disabled: disabled,
|
|
226
226
|
onClick: function onClick(e) {
|
|
227
227
|
return e.stopPropagation();
|