shineout 3.8.3-beta.4 → 3.8.3-beta.6

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/cjs/index.js CHANGED
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
522
522
  // 此文件由脚本自动生成,请勿直接修改。
523
523
  // This file was generated automatically by a script. Please do not modify it directly.
524
524
  var _default = exports.default = {
525
- version: '3.8.3-beta.4'
525
+ version: '3.8.3-beta.6'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
12386
12386
  };
12387
12387
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12388
12388
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12389
- /* harmony default export */ var version = ('3.8.3-beta.4');
12389
+ /* harmony default export */ var version = ('3.8.3-beta.6');
12390
12390
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12391
12391
 
12392
12392
 
@@ -50929,6 +50929,7 @@ var Empty = function Empty(props) {
50929
50929
  }, rest);
50930
50930
  };
50931
50931
  var renderImage = function renderImage() {
50932
+ var _empty$icon;
50932
50933
  if (icon === null) return null;
50933
50934
  if (imgSrc) {
50934
50935
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@@ -50941,7 +50942,7 @@ var Empty = function Empty(props) {
50941
50942
  }
50942
50943
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
50943
50944
  className: styles === null || styles === void 0 ? void 0 : styles.image,
50944
- children: icon || (empty === null || empty === void 0 ? void 0 : empty.icon) || icons_config.empty.NoData
50945
+ children: icon || (empty === null || empty === void 0 || (_empty$icon = empty.icon) === null || _empty$icon === void 0 ? void 0 : _empty$icon.call(empty)) || icons_config.empty.NoData
50945
50946
  });
50946
50947
  };
50947
50948
  var renderDescription = function renderDescription() {
@@ -57834,9 +57835,12 @@ function Select(props0) {
57834
57835
  return result !== null && result !== void 0 ? result : null;
57835
57836
  };
57836
57837
  var getDataByValues = function getDataByValues(values) {
57837
- return datum.getDataByValues(values, {
57838
- childrenKey: childrenKey
57839
- });
57838
+ if ('treeData' in props) {
57839
+ return datum.getDataByValues(values, {
57840
+ childrenKey: childrenKey
57841
+ });
57842
+ }
57843
+ return datum.getDataByValues(values);
57840
57844
  };
57841
57845
  var checkUnMatched = function checkUnMatched(item) {
57842
57846
  return datum.isUnMatchedData(item);
@@ -73121,7 +73125,7 @@ var upload_interface = __webpack_require__(8821);
73121
73125
 
73122
73126
 
73123
73127
  /* harmony default export */ var src_0 = ({
73124
- version: '3.8.3-beta.4'
73128
+ version: '3.8.3-beta.6'
73125
73129
  });
73126
73130
  }();
73127
73131
  /******/ return __webpack_exports__;