shineout 3.8.3-beta.5 → 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.5'
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.5');
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
 
@@ -32295,10 +32295,7 @@ var src_config_config = {
32295
32295
  };
32296
32296
  var state = createWithHooks(src_config_config);
32297
32297
  state.subscribe(function () {
32298
- var snapshot = getSnapshot(state.mutate);
32299
- if (snapshot) {
32300
- src_config_config = snapshot;
32301
- }
32298
+ src_config_config = getSnapshot(state.mutate);
32302
32299
  });
32303
32300
  function getDefaultContainer() {
32304
32301
  if (isFunc(src_config_config.popupContainer)) {
@@ -32318,7 +32315,7 @@ var config_setConfig = function setConfig(option) {
32318
32315
  var _Object$entries$_i = slicedToArray_default()(_Object$entries[_i], 2),
32319
32316
  key = _Object$entries$_i[0],
32320
32317
  value = _Object$entries$_i[1];
32321
- if (src_config_config && key in src_config_config) {
32318
+ if (key in src_config_config) {
32322
32319
  var k = key;
32323
32320
  // @ts-ignore
32324
32321
  state.mutate[k] = value;
@@ -50932,6 +50929,7 @@ var Empty = function Empty(props) {
50932
50929
  }, rest);
50933
50930
  };
50934
50931
  var renderImage = function renderImage() {
50932
+ var _empty$icon;
50935
50933
  if (icon === null) return null;
50936
50934
  if (imgSrc) {
50937
50935
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@@ -50944,7 +50942,7 @@ var Empty = function Empty(props) {
50944
50942
  }
50945
50943
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
50946
50944
  className: styles === null || styles === void 0 ? void 0 : styles.image,
50947
- 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
50948
50946
  });
50949
50947
  };
50950
50948
  var renderDescription = function renderDescription() {
@@ -73127,7 +73125,7 @@ var upload_interface = __webpack_require__(8821);
73127
73125
 
73128
73126
 
73129
73127
  /* harmony default export */ var src_0 = ({
73130
- version: '3.8.3-beta.5'
73128
+ version: '3.8.3-beta.6'
73131
73129
  });
73132
73130
  }();
73133
73131
  /******/ return __webpack_exports__;