ebaoferc 0.0.3-beta.2 → 0.0.3-beta.3

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.
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["colProps", "width", "gutter", "collapsedLineCount", "collapsed"];
2
+ var _excluded = ["colProps", "width", "gutter", "collapsedLineCount", "collapsed", "lineCountChange"];
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -26,6 +26,7 @@ export default function (props) {
26
26
  collapsedLineCount = _props$collapsedLineC === void 0 ? Number.POSITIVE_INFINITY : _props$collapsedLineC,
27
27
  _props$collapsed = props.collapsed,
28
28
  collapsed = _props$collapsed === void 0 ? false : _props$collapsed,
29
+ lineCountChange = props.lineCountChange,
29
30
  rest = _objectWithoutProperties(props, _excluded);
30
31
  var ref = useRef(null);
31
32
  var size = useSize(ref);
@@ -56,8 +57,7 @@ export default function (props) {
56
57
  span: span > 24 ? 24 : span
57
58
  });
58
59
  useEffect(function () {
59
- var _props$lineCountChang;
60
- (_props$lineCountChang = props.lineCountChange) === null || _props$lineCountChang === void 0 || _props$lineCountChang.call(props, lineCount);
60
+ lineCountChange === null || lineCountChange === void 0 || lineCountChange(lineCount);
61
61
  }, [lineCount]);
62
62
  return /*#__PURE__*/_jsx(Row, _objectSpread(_objectSpread({
63
63
  gutter: gutter
@@ -23,7 +23,6 @@ import "./index.less";
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import { jsxs as _jsxs } from "react/jsx-runtime";
25
25
  export default function StyledQueryFilter(props) {
26
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
27
26
  var children = props.children,
28
27
  labelWidth = props.labelWidth,
29
28
  form = props.form,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ebaoferc",
3
- "version": "0.0.3-beta.2",
3
+ "version": "0.0.3-beta.3",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",