shineout 3.6.3-beta.2 → 3.6.3-beta.4

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
@@ -514,5 +514,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
514
514
  // 此文件由脚本自动生成,请勿直接修改。
515
515
  // This file was generated automatically by a script. Please do not modify it directly.
516
516
  var _default = exports.default = {
517
- version: '3.6.3-beta.2'
517
+ version: '3.6.3-beta.4'
518
518
  };
package/dist/shineout.js CHANGED
@@ -6780,7 +6780,11 @@ var arrowRight = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6780
6780
  clipRule: "evenodd",
6781
6781
  d: "M10.0625 17.9999C9.67198 18.3904 9.03881 18.3904 8.64829 17.9999C8.25776 17.6094 8.25776 16.9762 8.64829 16.5857L13.2341 11.9999L8.64829 7.41414C8.25776 7.02361 8.25776 6.39045 8.64829 5.99992C9.03881 5.6094 9.67198 5.6094 10.0625 5.99992L15.3554 11.2928C15.7459 11.6833 15.7459 12.3165 15.3554 12.707L10.0625 17.9999Z"
6782
6782
  }, '1')];
6783
- var caretFill = ['M18.2213 9.72149L12.6348 15.2953C12.2444 15.6847 11.6125 15.6847 11.2222 15.2952L5.69827 9.78345C5.30731 9.39335 5.30662 8.76019 5.69671 8.36924C5.88295 8.18259 6.13536 8.07705 6.39902 8.07558L17.5094 8.0136C18.0617 8.01052 18.5119 8.45573 18.515 9.008C18.5165 9.27554 18.4107 9.53253 18.2213 9.72149Z'];
6783
+ var caretFill = /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6784
+ fillRule: "evenodd",
6785
+ clipRule: "evenodd",
6786
+ d: "M18.262 9.92099L12.6754 15.4948C12.2851 15.8842 11.6531 15.8842 11.2628 15.4947L5.73891 9.98295C5.34796 9.59286 5.34727 8.95969 5.73736 8.56874C5.9236 8.3821 6.17601 8.27656 6.43967 8.27508L17.5501 8.2131C18.1024 8.21002 18.5526 8.65523 18.5556 9.2075C18.5571 9.47504 18.4514 9.73203 18.262 9.92099Z"
6787
+ });
6784
6788
  var imageCount = [/*#__PURE__*/(0,jsx_runtime.jsx)("path", {
6785
6789
  fillRule: "evenodd",
6786
6790
  clipRule: "evenodd",
@@ -7074,6 +7078,9 @@ var config = {
7074
7078
  Next: icons.ArrowRight,
7075
7079
  CollapseArrow: icons.ArrowLeft
7076
7080
  },
7081
+ tag: {
7082
+ Close: icons.Close
7083
+ },
7077
7084
  textarea: {
7078
7085
  Close: icons.CloseFill
7079
7086
  },
@@ -12139,7 +12146,7 @@ var handleStyle = function handleStyle(style) {
12139
12146
  };
12140
12147
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12141
12148
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12142
- /* harmony default export */ var version = ('3.6.3-beta.2');
12149
+ /* harmony default export */ var version = ('3.6.3-beta.4');
12143
12150
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12144
12151
 
12145
12152
 
@@ -17244,7 +17251,8 @@ var cascaderStyle = objectSpread2_default()(objectSpread2_default()({
17244
17251
  minWidth: 0,
17245
17252
  position: 'relative',
17246
17253
  outline: 'none',
17247
- overflow: 'hidden'
17254
+ maxHeight: 78,
17255
+ overflow: 'auto'
17248
17256
  },
17249
17257
  result: {
17250
17258
  display: 'flex',
@@ -17390,7 +17398,9 @@ var cascaderStyle = objectSpread2_default()(objectSpread2_default()({
17390
17398
  iconWrapper: {
17391
17399
  display: 'flex',
17392
17400
  alignItems: 'center',
17393
- justifyContent: 'center'
17401
+ justifyContent: 'center',
17402
+ position: 'sticky',
17403
+ top: 0
17394
17404
  },
17395
17405
  clearable: {},
17396
17406
  clearIcon: {
@@ -25730,6 +25740,11 @@ var tableStyle = objectSpread2_default()(objectSpread2_default()({
25730
25740
  zIndex: fixedIndex + 1
25731
25741
  }
25732
25742
  }
25743
+ },
25744
+ '$wrapper & table > tfoot': {
25745
+ position: 'sticky',
25746
+ bottom: 0,
25747
+ zIndex: fixedIndex
25733
25748
  }
25734
25749
  },
25735
25750
  footWrapper: {
@@ -28294,8 +28309,8 @@ var treeSelectStyle = objectSpread2_default()(objectSpread2_default()({
28294
28309
  minWidth: 0,
28295
28310
  position: 'relative',
28296
28311
  outline: 'none',
28297
- overflow: 'hidden',
28298
- '&:hover': {}
28312
+ maxHeight: 78,
28313
+ overflow: 'auto'
28299
28314
  },
28300
28315
  result: {
28301
28316
  display: 'flex',
@@ -28427,7 +28442,9 @@ var treeSelectStyle = objectSpread2_default()(objectSpread2_default()({
28427
28442
  iconWrapper: {
28428
28443
  display: 'flex',
28429
28444
  alignItems: 'center',
28430
- justifyContent: 'center'
28445
+ justifyContent: 'center',
28446
+ position: 'sticky',
28447
+ top: 0
28431
28448
  },
28432
28449
  clearable: {},
28433
28450
  clearIcon: {
@@ -40011,6 +40028,7 @@ var tag_excluded = ["jssStyle", "className", "type", "color", "size", "disabled"
40011
40028
 
40012
40029
 
40013
40030
 
40031
+
40014
40032
  var tag_devUseWarning = devUseWarning;
40015
40033
  var tag_Done = 2;
40016
40034
  var tag_Pending = 1;
@@ -40109,15 +40127,7 @@ var Tag = function Tag(props) {
40109
40127
  onClick: handleClose,
40110
40128
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
40111
40129
  className: tagStyle.closeIconWrapper,
40112
- children: /*#__PURE__*/(0,jsx_runtime.jsx)("svg", {
40113
- width: "10",
40114
- height: "10",
40115
- viewBox: "0 0 10 10",
40116
- xmlns: "http://www.w3.org/2000/svg",
40117
- children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
40118
- d: "M1.92204 1.33738L1.96129 1.37204L5 4.41042L8.03871 1.37204C8.20142 1.20932 8.46524 1.20932 8.62796 1.37204C8.77816 1.52224 8.78972 1.75859 8.66262 1.92204L8.62796 1.96129L5.58958 5L8.62796 8.03871C8.79068 8.20142 8.79068 8.46524 8.62796 8.62796C8.47776 8.77816 8.24141 8.78972 8.07796 8.66262L8.03871 8.62796L5 5.58958L1.96129 8.62796C1.79858 8.79068 1.53476 8.79068 1.37204 8.62796C1.22184 8.47776 1.21028 8.24141 1.33738 8.07796L1.37204 8.03871L4.41042 5L1.37204 1.96129C1.20932 1.79858 1.20932 1.53476 1.37204 1.37204C1.52224 1.22184 1.75859 1.21028 1.92204 1.33738Z"
40119
- })
40120
- })
40130
+ children: icons_config.tag.Close
40121
40131
  })
40122
40132
  });
40123
40133
  };
@@ -47470,6 +47480,7 @@ var Modal = function Modal(props) {
47470
47480
  doc.style.paddingRight = "".concat(window.innerWidth - docSize.width, "px");
47471
47481
  }
47472
47482
  } else {
47483
+ if (!context.isMask) return;
47473
47484
  doc.style.paddingRight = '';
47474
47485
  doc.style.overflow = '';
47475
47486
  }
@@ -47494,6 +47505,7 @@ var Modal = function Modal(props) {
47494
47505
  hasMask = false;
47495
47506
  }
47496
47507
  {
47508
+ if (!context.isMask) return;
47497
47509
  var doc = document.body.parentNode;
47498
47510
  doc.style.paddingRight = '';
47499
47511
  doc.style.overflow = '';
@@ -50527,7 +50539,7 @@ var FormFlow = function FormFlow(props) {
50527
50539
  return datum === null || datum === void 0 ? void 0 : datum.get(name);
50528
50540
  });
50529
50541
  var memoizedResult = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
50530
- if (!props.strict) return;
50542
+ if (!props.strict) return null;
50531
50543
  if (isFunc(props.children)) {
50532
50544
  return props.children(datum);
50533
50545
  }
@@ -62692,9 +62704,10 @@ var Tr = function Tr(props) {
62692
62704
  return col.type === 'expand' || col.type === 'row-expand';
62693
62705
  });
62694
62706
  var renderRow = function renderRow(item, index) {
62707
+ var _props$rowEvents;
62695
62708
  var rowIndex = index + currentIndex;
62696
62709
  var originKey = getKey(props.keygen, item, rowIndex);
62697
- var trRenderKey = props.loader ? originKey : "".concat(originKey, "-").concat(rowIndex);
62710
+ var trRenderKey = props.loader || (_props$rowEvents = props.rowEvents) !== null && _props$rowEvents !== void 0 && _props$rowEvents.draggable ? originKey : "".concat(originKey, "-").concat(rowIndex);
62698
62711
  return /*#__PURE__*/(0,jsx_runtime.jsx)(tr, {
62699
62712
  originKey: originKey,
62700
62713
  row: rowData[index],
@@ -69756,7 +69769,7 @@ var upload_interface = __webpack_require__(8821);
69756
69769
 
69757
69770
 
69758
69771
  /* harmony default export */ var src_0 = ({
69759
- version: '3.6.3-beta.2'
69772
+ version: '3.6.3-beta.4'
69760
69773
  });
69761
69774
  }();
69762
69775
  /******/ return __webpack_exports__;