@pisell/common 0.0.15-1 → 0.0.16

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.
Files changed (100) hide show
  1. package/es/business-components/colorInput/index.js +29 -25
  2. package/es/business-components/rechargeOption/index.js +72 -55
  3. package/es/business-components/selectTag/index.d.ts +1 -1
  4. package/es/business-components/selectTag/index.js +44 -36
  5. package/es/business-components/sortModal/index.d.ts +1 -1
  6. package/es/business-components/sortModal/index.js +19 -14
  7. package/es/business-components/statistics/index.js +23 -17
  8. package/es/business-components/tagModal/index.d.ts +1 -1
  9. package/es/business-components/tagModal/index.js +16 -12
  10. package/es/business-hooks/useModal/index.d.ts +1 -1
  11. package/es/business-hooks/useModal/index.js +11 -4
  12. package/es/business-hooks/useTagModal/index.d.ts +1 -2
  13. package/es/business-hooks/useTagModal/index.js +16 -12
  14. package/es/components/ColorPicker/index.js +6 -4
  15. package/es/components/DragSort/index.d.ts +1 -2
  16. package/es/components/DragSort/index.js +39 -28
  17. package/es/components/EditorPreview/index.d.ts +1 -1
  18. package/es/components/EditorPreview/index.js +8 -3
  19. package/es/components/Iconfont/index.js +8 -2
  20. package/es/components/agreement/Detail/index.d.ts +2 -2
  21. package/es/components/agreement/Detail/index.js +15 -12
  22. package/es/components/agreement/index.js +18 -14
  23. package/es/components/avatar/index.js +8 -2
  24. package/es/components/button/index.d.ts +2 -3
  25. package/es/components/button/index.js +9 -3
  26. package/es/components/card/index.d.ts +1 -1
  27. package/es/components/card/index.js +11 -5
  28. package/es/components/checkbox/index.d.ts +2 -3
  29. package/es/components/checkbox/index.js +9 -3
  30. package/es/components/datePicker/index.d.ts +1 -2
  31. package/es/components/datePicker/index.js +8 -2
  32. package/es/components/index.d.ts +1 -1
  33. package/es/components/input/index.d.ts +5 -6
  34. package/es/components/input/index.js +12 -6
  35. package/es/components/inputNumber/index.d.ts +1 -2
  36. package/es/components/inputNumber/index.js +8 -2
  37. package/es/components/pagination/index.js +8 -1
  38. package/es/components/radio/index.d.ts +2 -3
  39. package/es/components/radio/index.js +9 -3
  40. package/es/components/select/index.d.ts +6 -2
  41. package/es/components/select/index.js +13 -2
  42. package/es/components/switch/index.js +8 -1
  43. package/es/hooks/useTableModal/index.d.ts +1 -1
  44. package/es/hooks/useTableModal/index.js +5 -2
  45. package/lib/business-components/selectTag/index.d.ts +1 -1
  46. package/lib/business-components/sortModal/index.d.ts +1 -1
  47. package/lib/business-components/tagModal/index.d.ts +1 -1
  48. package/lib/business-hooks/useModal/index.d.ts +1 -1
  49. package/lib/business-hooks/useTagModal/index.d.ts +1 -2
  50. package/lib/components/DragSort/index.d.ts +1 -2
  51. package/lib/components/DragSort/index.js +5 -6
  52. package/lib/components/EditorPreview/index.d.ts +1 -1
  53. package/lib/components/EditorPreview/index.js +1 -12
  54. package/lib/components/agreement/Detail/index.d.ts +2 -2
  55. package/lib/components/agreement/Detail/index.js +2 -2
  56. package/lib/components/button/index.d.ts +2 -3
  57. package/lib/components/button/index.js +2 -13
  58. package/lib/components/card/index.d.ts +1 -1
  59. package/lib/components/card/index.js +1 -2
  60. package/lib/components/checkbox/index.d.ts +2 -3
  61. package/lib/components/checkbox/index.js +2 -13
  62. package/lib/components/datePicker/index.d.ts +1 -2
  63. package/lib/components/datePicker/index.js +1 -12
  64. package/lib/components/index.d.ts +1 -1
  65. package/lib/components/input/index.d.ts +5 -6
  66. package/lib/components/input/index.js +5 -16
  67. package/lib/components/inputNumber/index.d.ts +1 -2
  68. package/lib/components/inputNumber/index.js +1 -12
  69. package/lib/components/radio/index.d.ts +2 -3
  70. package/lib/components/radio/index.js +2 -13
  71. package/lib/components/select/index.d.ts +6 -2
  72. package/lib/components/select/index.js +6 -12
  73. package/lib/hooks/useTableModal/index.d.ts +1 -1
  74. package/package.json +7 -17
  75. package/build/lowcode/assets-daily.json +0 -67
  76. package/build/lowcode/assets-dev.json +0 -67
  77. package/build/lowcode/assets-prod.json +0 -67
  78. package/build/lowcode/designer.html +0 -302
  79. package/build/lowcode/index.html +0 -304
  80. package/build/lowcode/index.js +0 -1
  81. package/build/lowcode/meta.js +0 -1
  82. package/build/lowcode/preview.css +0 -1
  83. package/build/lowcode/preview.html +0 -33
  84. package/build/lowcode/preview.js +0 -27
  85. package/build/lowcode/render/default/view.js +0 -20
  86. package/build/lowcode/view.js +0 -20
  87. package/es/lowcode/button/index.d.ts +0 -5
  88. package/es/lowcode/button/index.js +0 -6
  89. package/es/lowcode/checkbox/index.d.ts +0 -10
  90. package/es/lowcode/checkbox/index.js +0 -11
  91. package/es/lowcode/index.d.ts +0 -4
  92. package/es/lowcode/index.js +0 -2
  93. package/lib/lowcode/button/index.d.ts +0 -5
  94. package/lib/lowcode/button/index.js +0 -42
  95. package/lib/lowcode/checkbox/index.d.ts +0 -10
  96. package/lib/lowcode/checkbox/index.js +0 -42
  97. package/lib/lowcode/index.d.ts +0 -4
  98. package/lib/lowcode/index.js +0 -42
  99. package/lowcode/button/meta.ts +0 -324
  100. package/lowcode/checkbox/meta.ts +0 -92
@@ -9,6 +9,7 @@ import React, { useEffect, useState } from 'react';
9
9
  //@ts-ignore
10
10
  import { SwatchesPicker } from 'react-color';
11
11
  import "./index.less";
12
+ import { jsx as _jsx } from "react/jsx-runtime";
12
13
  var ColorPicker = function ColorPicker(_ref) {
13
14
  var keyName = _ref.keyName,
14
15
  value = _ref.value,
@@ -31,17 +32,18 @@ var ColorPicker = function ColorPicker(_ref) {
31
32
  useEffect(function () {
32
33
  setVal(value);
33
34
  }, [value]);
34
- return /*#__PURE__*/React.createElement(Popover, {
35
+ return /*#__PURE__*/_jsx(Popover, {
35
36
  trigger: "click",
36
37
  overlayClassName: "colorPickerBtn-Popover",
37
38
  placement: "rightTop",
38
- content: /*#__PURE__*/React.createElement(SwatchesPicker, {
39
+ content: /*#__PURE__*/_jsx(SwatchesPicker, {
39
40
  triangle: "hide",
40
41
  color: val,
41
42
  onChange: handleChange,
42
43
  onChangeComplete: handleConfirm
43
- })
44
- }, children);
44
+ }),
45
+ children: children
46
+ });
45
47
  };
46
48
  ColorPicker.defaultProps = {
47
49
  keyName: 'hex'
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const DragDrop: ({ onChange, children, list, droppableId, draggableIdKey, droppableClassName, draggableClassName, footer, direction, isDragDisabled, }: any) => React.JSX.Element;
1
+ declare const DragDrop: ({ onChange, children, list, droppableId, draggableIdKey, droppableClassName, draggableClassName, footer, direction, isDragDisabled, }: any) => import("react/jsx-runtime").JSX.Element;
3
2
  export default DragDrop;
@@ -1,13 +1,19 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ 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; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2
7
  // @ts-ignore
8
+ import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
3
9
  import arrayMove from 'array-move';
4
10
  import classNames from 'classnames';
5
- import React from 'react';
6
- import { DragDropContext, Draggable, Droppable } from 'react-beautiful-dnd';
7
11
  import { getUniqueId } from "../../utils";
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { jsxs as _jsxs } from "react/jsx-runtime";
8
14
  var DragDrop = function DragDrop(_ref) {
9
15
  var onChange = _ref.onChange,
10
- children = _ref.children,
16
+ _children = _ref.children,
11
17
  list = _ref.list,
12
18
  droppableId = _ref.droppableId,
13
19
  draggableIdKey = _ref.draggableIdKey,
@@ -17,7 +23,7 @@ var DragDrop = function DragDrop(_ref) {
17
23
  _ref$direction = _ref.direction,
18
24
  direction = _ref$direction === void 0 ? 'vertical' : _ref$direction,
19
25
  isDragDisabled = _ref.isDragDisabled;
20
- var newDroppableId = droppableId || getUniqueId('droppableId_');
26
+ droppableId = droppableId || getUniqueId('droppableId_');
21
27
  var handleDragEnd = function handleDragEnd(result) {
22
28
  if (result.destination) {
23
29
  onChange && onChange(arrayMove(list, result.source.index, result.destination.index), result);
@@ -30,28 +36,33 @@ var DragDrop = function DragDrop(_ref) {
30
36
  return draggableIdKey ? String(item[draggableIdKey]) : String(item);
31
37
  }
32
38
  };
33
- return /*#__PURE__*/React.createElement(DragDropContext, {
34
- onDragEnd: handleDragEnd
35
- }, /*#__PURE__*/React.createElement(Droppable, {
36
- droppableId: newDroppableId,
37
- direction: direction
38
- }, function (provided) {
39
- return /*#__PURE__*/React.createElement("div", _extends({}, provided.droppableProps, {
40
- ref: provided.innerRef,
41
- className: classNames(droppableClassName)
42
- }), list.map(function (item, index) {
43
- return /*#__PURE__*/React.createElement(Draggable, {
44
- key: getDraggableId(item, index),
45
- draggableId: getDraggableId(item, index),
46
- index: index,
47
- isDragDisabled: !!isDragDisabled
48
- }, function (provided) {
49
- return /*#__PURE__*/React.createElement("div", _extends({
50
- className: classNames(typeof draggableClassName === 'function' ? draggableClassName(item, index) : draggableClassName),
51
- ref: provided.innerRef
52
- }, provided.draggableProps, provided.dragHandleProps), children(item, index));
53
- });
54
- }), provided.placeholder, footer);
55
- }));
39
+ return /*#__PURE__*/_jsx(DragDropContext, {
40
+ onDragEnd: handleDragEnd,
41
+ children: /*#__PURE__*/_jsx(Droppable, {
42
+ droppableId: droppableId,
43
+ direction: direction,
44
+ children: function children(provided) {
45
+ return /*#__PURE__*/_jsxs("div", _objectSpread(_objectSpread({}, provided.droppableProps), {}, {
46
+ ref: provided.innerRef,
47
+ className: classNames(droppableClassName),
48
+ children: [list.map(function (item, index) {
49
+ return /*#__PURE__*/_jsx(Draggable, {
50
+ draggableId: getDraggableId(item, index),
51
+ index: index,
52
+ isDragDisabled: !!isDragDisabled,
53
+ children: function children(provided) {
54
+ return /*#__PURE__*/_jsx("div", _objectSpread(_objectSpread(_objectSpread({
55
+ className: classNames(typeof draggableClassName === 'function' ? draggableClassName(item, index) : draggableClassName),
56
+ ref: provided.innerRef
57
+ }, provided.draggableProps), provided.dragHandleProps), {}, {
58
+ children: _children(item, index)
59
+ }));
60
+ }
61
+ }, getDraggableId(item, index));
62
+ }), provided.placeholder, footer]
63
+ }));
64
+ }
65
+ })
66
+ });
56
67
  };
57
68
  export default DragDrop;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import './index.less';
3
3
  declare type EditorPreivewProps = React.HTMLAttributes<any>;
4
4
  declare const EditorPreivew: React.FC<EditorPreivewProps>;
@@ -1,8 +1,13 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import React from 'react';
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ 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; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
7
  import "./index.less";
8
+ import { jsx as _jsx } from "react/jsx-runtime";
4
9
  var EditorPreivew = function EditorPreivew(props) {
5
- return /*#__PURE__*/React.createElement("div", _extends({}, props, {
10
+ return /*#__PURE__*/_jsx("div", _objectSpread(_objectSpread({}, props), {}, {
6
11
  className: "pisell-editor-tiny-css ".concat(props.className)
7
12
  }));
8
13
  };
@@ -1,5 +1,10 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
2
  var _getConfig, _getConfig$ENV;
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
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; }
6
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
8
  /*
4
9
  * @Title: Iconfont
5
10
  * @Describe: 通过不同的className来渲染不同的icon
@@ -11,12 +16,13 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
11
16
  import { createFromIconfontCN } from '@ant-design/icons';
12
17
  import React from 'react';
13
18
  import { getConfig } from "../../config";
19
+ import { jsx as _jsx } from "react/jsx-runtime";
14
20
  var MyIcon = createFromIconfontCN({
15
21
  scriptUrl: ((_getConfig = getConfig()) === null || _getConfig === void 0 ? void 0 : (_getConfig$ENV = _getConfig.ENV) === null || _getConfig$ENV === void 0 ? void 0 : _getConfig$ENV.static) + '/static/fonts/iconfont/iconfont.js?q=' + new Date().getTime() // 在 iconfont.cn 上生成
16
22
  });
17
23
 
18
24
  var IconFont = function IconFont(props) {
19
- return /*#__PURE__*/React.createElement(MyIcon, _extends({}, props, {
25
+ return /*#__PURE__*/_jsx(MyIcon, _objectSpread(_objectSpread({}, props), {}, {
20
26
  className: props.className
21
27
  }));
22
28
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- declare const _default: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
1
+ /// <reference types="react" />
2
+ declare const _default: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
3
3
  export default _default;
@@ -13,10 +13,11 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
14
14
  import { useRequest } from 'ahooks';
15
15
  import { Spin } from 'antd5';
16
- import React, { forwardRef, useImperativeHandle, useMemo, useState } from 'react';
16
+ import { forwardRef, useImperativeHandle, useMemo, useState } from 'react';
17
17
  import { useModal } from "../../../business-hooks";
18
18
  import EditorPreview from "../../EditorPreview";
19
19
  import { getPolicyDetail } from "./serve";
20
+ import { jsx as _jsx } from "react/jsx-runtime";
20
21
  var AgreementDetail = function AgreementDetail(_ref, ref) {
21
22
  _objectDestructuringEmpty(_ref);
22
23
  var _useState = useState({}),
@@ -44,17 +45,19 @@ var AgreementDetail = function AgreementDetail(_ref, ref) {
44
45
  }, [data, current]);
45
46
  var _useModal = useModal({
46
47
  title: detail.title,
47
- children: /*#__PURE__*/React.createElement(Spin, {
48
- spinning: _getPolicyDetail.loading
49
- }, /*#__PURE__*/React.createElement("div", {
50
- style: {
51
- minHeight: 400
52
- }
53
- }, /*#__PURE__*/React.createElement(EditorPreview, {
54
- dangerouslySetInnerHTML: {
55
- __html: detail.content
56
- }
57
- })))
48
+ children: /*#__PURE__*/_jsx(Spin, {
49
+ spinning: _getPolicyDetail.loading,
50
+ children: /*#__PURE__*/_jsx("div", {
51
+ style: {
52
+ minHeight: 400
53
+ },
54
+ children: /*#__PURE__*/_jsx(EditorPreview, {
55
+ dangerouslySetInnerHTML: {
56
+ __html: detail.content
57
+ }
58
+ })
59
+ })
60
+ })
58
61
  }),
59
62
  showModal = _useModal.showModal,
60
63
  content = _useModal.content;
@@ -3,6 +3,8 @@ import classNames from 'classnames';
3
3
  import React, { useMemo, useRef } from 'react';
4
4
  import AgreementDetail from "./Detail";
5
5
  import "./index.less";
6
+ import { jsx as _jsx } from "react/jsx-runtime";
7
+ import { jsxs as _jsxs } from "react/jsx-runtime";
6
8
  var Agreement = function Agreement(_ref) {
7
9
  var className = _ref.className,
8
10
  style = _ref.style,
@@ -15,27 +17,29 @@ var Agreement = function Agreement(_ref) {
15
17
  };
16
18
  var _agreements = useMemo(function () {
17
19
  return agreements === null || agreements === void 0 ? void 0 : agreements.map(function (item) {
18
- return /*#__PURE__*/React.createElement("a", {
20
+ return /*#__PURE__*/_jsx("a", {
19
21
  className: "pisell-agreement",
20
- key: item.id,
21
22
  onClick: function onClick(e) {
22
23
  e.preventDefault();
23
24
  e.stopPropagation();
24
25
  onRead(item);
25
- }
26
- }, item.title);
26
+ },
27
+ children: item.title
28
+ }, item.id);
27
29
  });
28
30
  }, [agreements]);
29
- return /*#__PURE__*/React.createElement("div", {
31
+ return /*#__PURE__*/_jsxs("div", {
30
32
  className: classNames('pisell-agreements', className),
31
- style: style
32
- }, /*#__PURE__*/React.createElement(Checkbox, {
33
- value: value,
34
- onChange: function onChange(e) {
35
- _onChange && _onChange(e.target.value);
36
- }
37
- }, "\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F ", _agreements), /*#__PURE__*/React.createElement(AgreementDetail, {
38
- ref: detailRef
39
- }));
33
+ style: style,
34
+ children: [/*#__PURE__*/_jsxs(Checkbox, {
35
+ value: value,
36
+ onChange: function onChange(e) {
37
+ _onChange && _onChange(e.target.value);
38
+ },
39
+ children: ["\u60A8\u5DF2\u9605\u8BFB\u5E76\u540C\u610F ", _agreements]
40
+ }), /*#__PURE__*/_jsx(AgreementDetail, {
41
+ ref: detailRef
42
+ })]
43
+ });
40
44
  };
41
45
  export default Agreement;
@@ -1,3 +1,9 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ 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; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1
7
  import { Avatar as AntAvatar } from 'antd5';
2
8
  import React from 'react';
3
9
 
@@ -7,13 +13,13 @@ import React from 'react';
7
13
  // export interface AvatarProps extends AntAvatarProps {
8
14
  // [key: string]: any
9
15
  // }
10
-
16
+ import { jsx as _jsx } from "react/jsx-runtime";
11
17
  /**
12
18
  * 头像
13
19
  * @param props
14
20
  * @constructor
15
21
  */
16
22
  var Avatar = function Avatar(props) {
17
- return /*#__PURE__*/React.createElement(AntAvatar, props);
23
+ return /*#__PURE__*/_jsx(AntAvatar, _objectSpread({}, props));
18
24
  };
19
25
  export default Avatar;
@@ -1,6 +1,5 @@
1
1
  import type { ButtonProps as AntButtonProps } from 'antd5';
2
2
  import type { ButtonGroupProps as AntButtonGroupProps } from 'antd5/es/button';
3
- import React from 'react';
4
3
  /**
5
4
  * 后续可添加属性
6
5
  */
@@ -12,7 +11,7 @@ export declare type ButtonGroupProps = AntButtonGroupProps;
12
11
  * @constructor
13
12
  */
14
13
  declare const Button: {
15
- (props: ButtonProps): React.JSX.Element;
16
- Group: (props: ButtonGroupProps) => React.JSX.Element;
14
+ (props: ButtonProps): import("react/jsx-runtime").JSX.Element;
15
+ Group: (props: ButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
17
16
  };
18
17
  export default Button;
@@ -1,5 +1,11 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ 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; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1
7
  import { Button as AntButton } from 'antd5';
2
- import React from 'react';
8
+ import { jsx as _jsx } from "react/jsx-runtime";
3
9
  var AntGroup = AntButton.Group;
4
10
 
5
11
  /**
@@ -15,7 +21,7 @@ var AntGroup = AntButton.Group;
15
21
  * @constructor
16
22
  */
17
23
  var Button = function Button(props) {
18
- return /*#__PURE__*/React.createElement(AntButton, props);
24
+ return /*#__PURE__*/_jsx(AntButton, _objectSpread({}, props));
19
25
  };
20
26
 
21
27
  /**
@@ -24,7 +30,7 @@ var Button = function Button(props) {
24
30
  * @constructor
25
31
  */
26
32
  var Group = function Group(props) {
27
- return /*#__PURE__*/React.createElement(AntGroup, props);
33
+ return /*#__PURE__*/_jsx(AntGroup, _objectSpread({}, props));
28
34
  };
29
35
  Button.Group = Group;
30
36
  export default Button;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import './index.less';
3
3
  export declare type CardProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
4
4
  declare const Card: React.FC<Partial<CardProps>>;
@@ -1,10 +1,16 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ 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; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2
7
  import classNames from 'classnames';
3
- import React from 'react';
4
8
  import "./index.less";
9
+ import { jsx as _jsx } from "react/jsx-runtime";
5
10
  var Card = function Card(props) {
6
- return /*#__PURE__*/React.createElement("div", _extends({}, props, {
7
- className: classNames('pisell-card', props.className)
8
- }), props.children);
11
+ return /*#__PURE__*/_jsx("div", _objectSpread(_objectSpread({}, props), {}, {
12
+ className: classNames('pisell-card', props.className),
13
+ children: props.children
14
+ }));
9
15
  };
10
16
  export default Card;
@@ -1,6 +1,5 @@
1
1
  import type { CheckboxGroupProps as AntCheckboxGroupProps } from 'antd/es/checkbox';
2
2
  import type { CheckboxProps as AntCheckboxProps } from 'antd5';
3
- import React from 'react';
4
3
  /**
5
4
  * 后续可添加属性
6
5
  */
@@ -15,7 +14,7 @@ export declare type CheckboxGroupProps = AntCheckboxGroupProps;
15
14
  * @constructor
16
15
  */
17
16
  declare const Checkbox: {
18
- (props: CheckboxProps): React.JSX.Element;
19
- Group: (props: AntCheckboxGroupProps) => React.JSX.Element;
17
+ (props: CheckboxProps): import("react/jsx-runtime").JSX.Element;
18
+ Group: (props: AntCheckboxGroupProps) => import("react/jsx-runtime").JSX.Element;
20
19
  };
21
20
  export default Checkbox;
@@ -1,5 +1,11 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ 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; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1
7
  import { Checkbox as AntCheckbox } from 'antd5';
2
- import React from 'react';
8
+ import { jsx as _jsx } from "react/jsx-runtime";
3
9
  var AntGroup = AntCheckbox.Group;
4
10
 
5
11
  /**
@@ -22,7 +28,7 @@ var AntGroup = AntCheckbox.Group;
22
28
  * @constructor
23
29
  */
24
30
  var Checkbox = function Checkbox(props) {
25
- return /*#__PURE__*/React.createElement(AntCheckbox, props);
31
+ return /*#__PURE__*/_jsx(AntCheckbox, _objectSpread({}, props));
26
32
  };
27
33
 
28
34
  /**
@@ -31,7 +37,7 @@ var Checkbox = function Checkbox(props) {
31
37
  * @constructor
32
38
  */
33
39
  var Group = function Group(props) {
34
- return /*#__PURE__*/React.createElement(AntGroup, props);
40
+ return /*#__PURE__*/_jsx(AntGroup, _objectSpread({}, props));
35
41
  };
36
42
  Checkbox.Group = Group;
37
43
  export default Checkbox;
@@ -1,10 +1,9 @@
1
1
  import { DatePickerProps as AntDatePickerProps } from 'antd5';
2
- import React from 'react';
3
2
  export declare type DatePickerProps = AntDatePickerProps;
4
3
  /**
5
4
  * 日期选择框
6
5
  * @param props
7
6
  * @constructor
8
7
  */
9
- declare const DatePicker: (props: DatePickerProps) => React.JSX.Element;
8
+ declare const DatePicker: (props: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
10
9
  export default DatePicker;
@@ -1,11 +1,17 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ 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; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1
7
  import { DatePicker as AntDatePicker } from 'antd5';
2
- import React from 'react';
8
+ import { jsx as _jsx } from "react/jsx-runtime";
3
9
  /**
4
10
  * 日期选择框
5
11
  * @param props
6
12
  * @constructor
7
13
  */
8
14
  var DatePicker = function DatePicker(props) {
9
- return /*#__PURE__*/React.createElement(AntDatePicker, props);
15
+ return /*#__PURE__*/_jsx(AntDatePicker, _objectSpread({}, props));
10
16
  };
11
17
  export default DatePicker;
@@ -25,6 +25,6 @@ export type { PaginationProps } from './pagination';
25
25
  export { default as Radio } from './radio';
26
26
  export type { RadioGroupProps, RadioProps } from './radio';
27
27
  export { default as Select } from './select';
28
- export type { SelectProps } from './select';
28
+ export type { SelectOptionProps, SelectProps } from './select';
29
29
  export { default as Switch } from './switch';
30
30
  export type { SwitchProps } from './switch';
@@ -1,6 +1,5 @@
1
1
  import type { InputProps as AntInputProps } from 'antd5';
2
2
  import { GroupProps as AntGroupProps, PasswordProps as AntPasswordProps, SearchProps as AntSearchProps, TextAreaProps as AntTextAreaProps } from 'antd5/es/input';
3
- import React from 'react';
4
3
  /**
5
4
  * 后续可添加属性
6
5
  */
@@ -27,10 +26,10 @@ export declare type GroupProps = AntGroupProps;
27
26
  * @constructor
28
27
  */
29
28
  declare const Input: {
30
- (props: InputProps): React.JSX.Element;
31
- TextArea: (props: TextAreaProps) => React.JSX.Element;
32
- Search: (props: SearchProps) => React.JSX.Element;
33
- Password: (props: PasswordProps) => React.JSX.Element;
34
- Group: (props: GroupProps) => React.JSX.Element;
29
+ (props: InputProps): import("react/jsx-runtime").JSX.Element;
30
+ TextArea: (props: TextAreaProps) => import("react/jsx-runtime").JSX.Element;
31
+ Search: (props: SearchProps) => import("react/jsx-runtime").JSX.Element;
32
+ Password: (props: PasswordProps) => import("react/jsx-runtime").JSX.Element;
33
+ Group: (props: GroupProps) => import("react/jsx-runtime").JSX.Element;
35
34
  };
36
35
  export default Input;
@@ -1,5 +1,11 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ 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; }
5
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
1
7
  import { Input as AntInput } from 'antd5';
2
- import React from 'react';
8
+ import { jsx as _jsx } from "react/jsx-runtime";
3
9
  var AntTextArea = AntInput.TextArea,
4
10
  AntSearch = AntInput.Search,
5
11
  AntPassword = AntInput.Password,
@@ -46,7 +52,7 @@ var AntTextArea = AntInput.TextArea,
46
52
  * @constructor
47
53
  */
48
54
  var Input = function Input(props) {
49
- return /*#__PURE__*/React.createElement(AntInput, props);
55
+ return /*#__PURE__*/_jsx(AntInput, _objectSpread({}, props));
50
56
  };
51
57
 
52
58
  /**
@@ -55,7 +61,7 @@ var Input = function Input(props) {
55
61
  * @constructor
56
62
  */
57
63
  var TextArea = function TextArea(props) {
58
- return /*#__PURE__*/React.createElement(AntTextArea, props);
64
+ return /*#__PURE__*/_jsx(AntTextArea, _objectSpread({}, props));
59
65
  };
60
66
 
61
67
  /**
@@ -64,7 +70,7 @@ var TextArea = function TextArea(props) {
64
70
  * @constructor
65
71
  */
66
72
  var Search = function Search(props) {
67
- return /*#__PURE__*/React.createElement(AntSearch, props);
73
+ return /*#__PURE__*/_jsx(AntSearch, _objectSpread({}, props));
68
74
  };
69
75
 
70
76
  /**
@@ -73,7 +79,7 @@ var Search = function Search(props) {
73
79
  * @constructor
74
80
  */
75
81
  var Password = function Password(props) {
76
- return /*#__PURE__*/React.createElement(AntPassword, props);
82
+ return /*#__PURE__*/_jsx(AntPassword, _objectSpread({}, props));
77
83
  };
78
84
 
79
85
  /**
@@ -82,7 +88,7 @@ var Password = function Password(props) {
82
88
  * @constructor
83
89
  */
84
90
  var Group = function Group(props) {
85
- return /*#__PURE__*/React.createElement(AntGroup, props);
91
+ return /*#__PURE__*/_jsx(AntGroup, _objectSpread({}, props));
86
92
  };
87
93
  Input.TextArea = TextArea;
88
94
  Input.Search = Search;
@@ -1,10 +1,9 @@
1
1
  import type { InputNumberProps as AntInputNumberProps } from 'antd5';
2
- import React from 'react';
3
2
  export declare type InputNumberProps = AntInputNumberProps;
4
3
  /**
5
4
  * 数字输入框
6
5
  * @param props
7
6
  * @constructor
8
7
  */
9
- declare const InputNumber: (props: InputNumberProps) => React.JSX.Element;
8
+ declare const InputNumber: (props: InputNumberProps) => import("react/jsx-runtime").JSX.Element;
10
9
  export default InputNumber;