@kdcloudjs/kdesign 1.8.71 → 1.8.73
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.css +1 -1
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +3 -2
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +1 -1
- package/dist/kdesign.min.js +5 -5
- package/dist/kdesign.min.js.map +1 -1
- package/es/city-picker/city-picker.js +1 -0
- package/es/table/table.js +1 -1
- package/lib/city-picker/city-picker.js +1 -0
- package/lib/table/table.js +1 -1
- package/package.json +1 -1
|
@@ -235,6 +235,7 @@ var InternalSelect = function InternalSelect(props, ref) {
|
|
|
235
235
|
city.type = tabsValue === 'domestic' ? 'domestic' : 'foreign';
|
|
236
236
|
}
|
|
237
237
|
(city === null || city === void 0 ? void 0 : city.id) !== initValue && (onChange === null || onChange === void 0 ? void 0 : onChange(city === null || city === void 0 ? void 0 : city.id, city));
|
|
238
|
+
handleClear();
|
|
238
239
|
if (isMobile) {
|
|
239
240
|
(_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.blur();
|
|
240
241
|
} else {
|
package/es/table/table.js
CHANGED
|
@@ -99,9 +99,9 @@ var Table = forwardRef(function (props, ref) {
|
|
|
99
99
|
api: getApi(pipelineRef)
|
|
100
100
|
};
|
|
101
101
|
});
|
|
102
|
+
useRowSelection(pipeline, rowSelection);
|
|
102
103
|
useFilter(pipeline, filter);
|
|
103
104
|
useSort(pipeline, sort);
|
|
104
|
-
useRowSelection(pipeline, rowSelection);
|
|
105
105
|
useRowDetail(pipeline, rowDetail);
|
|
106
106
|
useAutoRowSpan(pipeline, autoRowSpan);
|
|
107
107
|
useTreeMode(pipeline, treeMode);
|
|
@@ -247,6 +247,7 @@ var InternalSelect = function InternalSelect(props, ref) {
|
|
|
247
247
|
city.type = tabsValue === 'domestic' ? 'domestic' : 'foreign';
|
|
248
248
|
}
|
|
249
249
|
(city === null || city === void 0 ? void 0 : city.id) !== initValue && (onChange === null || onChange === void 0 ? void 0 : onChange(city === null || city === void 0 ? void 0 : city.id, city));
|
|
250
|
+
handleClear();
|
|
250
251
|
if (isMobile) {
|
|
251
252
|
(_a = searchRef.current) === null || _a === void 0 ? void 0 : _a.blur();
|
|
252
253
|
} else {
|
package/lib/table/table.js
CHANGED
|
@@ -111,9 +111,9 @@ var Table = (0, _react.forwardRef)(function (props, ref) {
|
|
|
111
111
|
api: (0, _api.default)(pipelineRef)
|
|
112
112
|
};
|
|
113
113
|
});
|
|
114
|
+
(0, _rowSelection.default)(pipeline, rowSelection);
|
|
114
115
|
(0, _filter2.default)(pipeline, filter);
|
|
115
116
|
(0, _sort2.default)(pipeline, sort);
|
|
116
|
-
(0, _rowSelection.default)(pipeline, rowSelection);
|
|
117
117
|
(0, _rowDetail.default)(pipeline, rowDetail);
|
|
118
118
|
(0, _autoRowSpan.default)(pipeline, autoRowSpan);
|
|
119
119
|
(0, _treeMode.default)(pipeline, treeMode);
|