@kdcloudjs/kdesign 1.7.67 → 1.7.69

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.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.7.66
3
+ * @kdcloudjs/kdesign v1.7.68
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -28446,7 +28446,7 @@ __webpack_require__.r(__webpack_exports__);
28446
28446
  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_utils */ "./components/_utils/index.ts");
28447
28447
 
28448
28448
 
28449
- var _excluded = ["prefixCls"];
28449
+ var _excluded = ["prefixCls", "title", "children"];
28450
28450
 
28451
28451
 
28452
28452
 
@@ -28460,18 +28460,24 @@ var RadioButton = function RadioButton(props, ref) {
28460
28460
  userDefaultProps = _React$useContext.compDefaultProps;
28461
28461
  var _getCompProps = Object(_utils__WEBPACK_IMPORTED_MODULE_6__["getCompProps"])('Radio', userDefaultProps, props),
28462
28462
  customPrefixcls = _getCompProps.prefixCls,
28463
+ title = _getCompProps.title,
28464
+ children = _getCompProps.children,
28463
28465
  radioProps = _babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_getCompProps, _excluded);
28466
+ if (typeof children === 'string' && typeof title === 'undefined') {
28467
+ title = children;
28468
+ }
28464
28469
  var radioButtonPrefixCls = getPrefixCls === null || getPrefixCls === void 0 ? void 0 : getPrefixCls(prefixCls, "radio-button", customPrefixcls);
28465
28470
  if (radioGroupContext) {
28466
28471
  radioProps.checked = props.value === radioGroupContext.value;
28467
28472
  radioProps.disabled = props.disabled || radioGroupContext.disabled;
28468
28473
  }
28469
28474
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"](_radio__WEBPACK_IMPORTED_MODULE_3__["default"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({
28475
+ title: title,
28470
28476
  prefixCls: radioButtonPrefixCls
28471
28477
  }, radioProps, {
28472
28478
  type: "radio",
28473
28479
  ref: ref
28474
- }));
28480
+ }), children);
28475
28481
  };
28476
28482
  /* harmony default export */ __webpack_exports__["default"] = (/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["forwardRef"](RadioButton));
28477
28483
 
@@ -35830,10 +35836,10 @@ var Table = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_4__["forwardRef"]
35830
35836
  /* -------------------------------------------------------------------------- */
35831
35837
  /* features */
35832
35838
  /* -------------------------------------------------------------------------- */
35833
- Object(_feature_rowSelection__WEBPACK_IMPORTED_MODULE_10__["default"])(pipeline, rowSelection);
35834
- Object(_feature_rowDetail__WEBPACK_IMPORTED_MODULE_11__["default"])(pipeline, rowDetail);
35835
35839
  Object(_feature_filter__WEBPACK_IMPORTED_MODULE_12__["default"])(pipeline, filter);
35836
35840
  Object(_feature_sort__WEBPACK_IMPORTED_MODULE_13__["default"])(pipeline, sort);
35841
+ Object(_feature_rowSelection__WEBPACK_IMPORTED_MODULE_10__["default"])(pipeline, rowSelection);
35842
+ Object(_feature_rowDetail__WEBPACK_IMPORTED_MODULE_11__["default"])(pipeline, rowDetail);
35837
35843
  Object(_feature_autoRowSpan__WEBPACK_IMPORTED_MODULE_14__["default"])(pipeline, autoRowSpan);
35838
35844
  Object(_feature_treeMode__WEBPACK_IMPORTED_MODULE_16__["default"])(pipeline, treeMode);
35839
35845
  Object(_feature_colGroupExtendable__WEBPACK_IMPORTED_MODULE_24__["default"])(pipeline, columnGroupExtend);