@pisell/common 0.0.21-bata → 1.0.2
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/.fatherrc.ts +7 -0
- package/CHANGELOG.md +14 -0
- package/README.md +1 -38
- package/es/bin/pisell.js +0 -0
- package/es/index.d.ts +2 -4
- package/es/index.js +1 -4
- package/es/script/utils/index.js +1 -1
- package/lib/index.d.ts +2 -4
- package/lib/index.js +8 -5
- package/lib/script/deploy.js +0 -2
- package/lib/script/release/index.js +0 -2
- package/lib/script/release/release.js +0 -2
- package/lib/script/uploadCode/index.js +0 -2
- package/lib/script/uploadCode/uploadCode.js +0 -2
- package/lib/script/utils/index.js +1 -1
- package/package.json +23 -74
- package/src/bin/pisell.js +3 -0
- package/src/index.ts +1 -0
- package/src/script/constants/index.js +14 -0
- package/src/script/deploy.js +29 -0
- package/src/script/index.js +45 -0
- package/src/script/package.json +4 -0
- package/src/script/release/index.js +119 -0
- package/src/script/release/release.js +84 -0
- package/src/script/uploadCode/index.js +244 -0
- package/src/script/uploadCode/uploadCode.js +217 -0
- package/src/script/utils/index.js +275 -0
- package/tsconfig.json +14 -0
- package/LICENSE +0 -21
- package/es/business-components/colorInput/index.d.ts +0 -21
- package/es/business-components/colorInput/index.js +0 -43
- package/es/business-components/colorInput/index.less +0 -10
- package/es/business-components/index.d.ts +0 -11
- package/es/business-components/index.js +0 -7
- package/es/business-components/rechargeOption/index.d.ts +0 -36
- package/es/business-components/rechargeOption/index.js +0 -132
- package/es/business-components/rechargeOption/index.less +0 -0
- package/es/business-components/selectTag/index.d.ts +0 -25
- package/es/business-components/selectTag/index.js +0 -179
- package/es/business-components/selectTag/index.less +0 -22
- package/es/business-components/sortModal/index.d.ts +0 -30
- package/es/business-components/sortModal/index.js +0 -85
- package/es/business-components/sortModal/index.less +0 -29
- package/es/business-components/statistics/index.d.ts +0 -12
- package/es/business-components/statistics/index.js +0 -38
- package/es/business-components/statistics/index.less +0 -64
- package/es/business-components/tagModal/index.d.ts +0 -17
- package/es/business-components/tagModal/index.js +0 -58
- package/es/business-hooks/index.d.ts +0 -2
- package/es/business-hooks/index.js +0 -2
- package/es/business-hooks/useModal/index.d.ts +0 -31
- package/es/business-hooks/useModal/index.js +0 -91
- package/es/business-hooks/useModal/index.less +0 -0
- package/es/business-hooks/useTagModal/index.d.ts +0 -17
- package/es/business-hooks/useTagModal/index.js +0 -47
- package/es/components/ColorPicker/index.d.ts +0 -22
- package/es/components/ColorPicker/index.js +0 -51
- package/es/components/ColorPicker/index.less +0 -17
- package/es/components/DragSort/index.js +0 -68
- package/es/components/EditorPreview/index.js +0 -14
- package/es/components/EditorPreview/index.less +0 -81
- package/es/components/Iconfont/index.d.ts +0 -6
- package/es/components/Iconfont/index.js +0 -29
- package/es/components/Iconfont/index.less +0 -0
- package/es/components/agreement/Detail/index.js +0 -77
- package/es/components/agreement/Detail/serve.d.ts +0 -1
- package/es/components/agreement/Detail/serve.js +0 -6
- package/es/components/agreement/index.d.ts +0 -11
- package/es/components/agreement/index.js +0 -45
- package/es/components/agreement/index.less +0 -20
- package/es/components/avatar/index.d.ts +0 -13
- package/es/components/avatar/index.js +0 -25
- package/es/components/button/index.js +0 -36
- package/es/components/card/index.js +0 -16
- package/es/components/card/index.less +0 -9
- package/es/components/checkbox/index.js +0 -43
- package/es/components/configProvider/index.d.ts +0 -113
- package/es/components/configProvider/index.js +0 -114
- package/es/components/datePicker/index.js +0 -17
- package/es/components/index.js +0 -16
- package/es/components/input/index.js +0 -97
- package/es/components/inputNumber/index.js +0 -17
- package/es/components/pagination/index.d.ts +0 -10
- package/es/components/pagination/index.js +0 -18
- package/es/components/radio/index.js +0 -28
- package/es/components/select/index.js +0 -17
- package/es/components/switch/index.d.ts +0 -10
- package/es/components/switch/index.js +0 -18
- package/es/config/index.js +0 -18
- package/es/config/request.d.ts +0 -7
- package/es/config/request.js +0 -67
- package/es/config/utils.d.ts +0 -0
- package/es/config/utils.js +0 -0
- package/es/hooks/index.d.ts +0 -8
- package/es/hooks/index.js +0 -8
- package/es/hooks/useCountDown/index.d.ts +0 -10
- package/es/hooks/useCountDown/index.js +0 -48
- package/es/hooks/useDocumentScroll/index.d.ts +0 -8
- package/es/hooks/useDocumentScroll/index.js +0 -41
- package/es/hooks/useDocumentScroll/index.less +0 -0
- package/es/hooks/useMousemove/index.d.ts +0 -8
- package/es/hooks/useMousemove/index.js +0 -61
- package/es/hooks/useResponsive/index.d.ts +0 -2
- package/es/hooks/useResponsive/index.js +0 -29
- package/es/hooks/useResponsive/index.less +0 -0
- package/es/hooks/useSize/index.d.ts +0 -2
- package/es/hooks/useSize/index.js +0 -27
- package/es/hooks/useSize/index.less +0 -0
- package/es/hooks/useStateMulti/index.d.ts +0 -2
- package/es/hooks/useStateMulti/index.js +0 -29
- package/es/hooks/useStateWithCb/index.d.ts +0 -2
- package/es/hooks/useStateWithCb/index.js +0 -42
- package/es/hooks/useTable/index.d.ts +0 -12
- package/es/hooks/useTable/index.js +0 -74
- package/es/hooks/useTable/index.less +0 -0
- package/es/hooks/useTableModal/index.d.ts +0 -12
- package/es/hooks/useTableModal/index.js +0 -25
- package/es/hooks/useTableModal/index.less +0 -0
- package/es/hooks/useUrlState/index.d.ts +0 -2
- package/es/hooks/useUrlState/index.js +0 -56
- package/es/hooks/useWebSocket/index.d.ts +0 -13
- package/es/hooks/useWebSocket/index.js +0 -121
- package/es/locales/en-US.d.ts +0 -11
- package/es/locales/en-US.js +0 -10
- package/es/locales/index.d.ts +0 -1
- package/es/locales/index.js +0 -23
- package/es/locales/zh-CN.d.ts +0 -11
- package/es/locales/zh-CN.js +0 -10
- package/es/locales/zh-TW.d.ts +0 -11
- package/es/locales/zh-TW.js +0 -10
- package/es/utils/index.d.ts +0 -3
- package/es/utils/index.js +0 -3
- package/es/utils/otherUtils.d.ts +0 -8
- package/es/utils/otherUtils.js +0 -12
- package/es/utils/storage.d.ts +0 -30
- package/es/utils/storage.js +0 -70
- package/es/utils/typeUtils.d.ts +0 -42
- package/es/utils/typeUtils.js +0 -86
- package/lib/business-components/colorInput/index.d.ts +0 -21
- package/lib/business-components/colorInput/index.js +0 -70
- package/lib/business-components/colorInput/index.less +0 -10
- package/lib/business-components/index.d.ts +0 -11
- package/lib/business-components/index.js +0 -54
- package/lib/business-components/rechargeOption/index.d.ts +0 -36
- package/lib/business-components/rechargeOption/index.js +0 -112
- package/lib/business-components/rechargeOption/index.less +0 -0
- package/lib/business-components/selectTag/index.d.ts +0 -25
- package/lib/business-components/selectTag/index.js +0 -181
- package/lib/business-components/selectTag/index.less +0 -22
- package/lib/business-components/sortModal/index.d.ts +0 -30
- package/lib/business-components/sortModal/index.js +0 -100
- package/lib/business-components/sortModal/index.less +0 -29
- package/lib/business-components/statistics/index.d.ts +0 -12
- package/lib/business-components/statistics/index.js +0 -63
- package/lib/business-components/statistics/index.less +0 -64
- package/lib/business-components/tagModal/index.d.ts +0 -17
- package/lib/business-components/tagModal/index.js +0 -66
- package/lib/business-hooks/index.d.ts +0 -2
- package/lib/business-hooks/index.js +0 -42
- package/lib/business-hooks/useModal/index.d.ts +0 -31
- package/lib/business-hooks/useModal/index.js +0 -68
- package/lib/business-hooks/useModal/index.less +0 -0
- package/lib/business-hooks/useTagModal/index.d.ts +0 -17
- package/lib/business-hooks/useTagModal/index.js +0 -61
- package/lib/components/ColorPicker/index.d.ts +0 -22
- package/lib/components/ColorPicker/index.js +0 -80
- package/lib/components/ColorPicker/index.less +0 -17
- package/lib/components/DragSort/index.js +0 -101
- package/lib/components/EditorPreview/index.js +0 -37
- package/lib/components/EditorPreview/index.less +0 -81
- package/lib/components/Iconfont/index.d.ts +0 -6
- package/lib/components/Iconfont/index.js +0 -48
- package/lib/components/Iconfont/index.less +0 -0
- package/lib/components/agreement/Detail/index.js +0 -86
- package/lib/components/agreement/Detail/serve.d.ts +0 -1
- package/lib/components/agreement/Detail/serve.js +0 -30
- package/lib/components/agreement/index.d.ts +0 -11
- package/lib/components/agreement/index.js +0 -82
- package/lib/components/agreement/index.less +0 -20
- package/lib/components/avatar/index.d.ts +0 -13
- package/lib/components/avatar/index.js +0 -42
- package/lib/components/button/index.js +0 -36
- package/lib/components/card/index.js +0 -42
- package/lib/components/card/index.less +0 -9
- package/lib/components/checkbox/index.js +0 -36
- package/lib/components/configProvider/index.d.ts +0 -113
- package/lib/components/configProvider/index.js +0 -159
- package/lib/components/datePicker/index.js +0 -31
- package/lib/components/index.js +0 -83
- package/lib/components/input/index.js +0 -53
- package/lib/components/inputNumber/index.js +0 -31
- package/lib/components/pagination/index.d.ts +0 -10
- package/lib/components/pagination/index.js +0 -42
- package/lib/components/radio/index.js +0 -36
- package/lib/components/select/index.js +0 -36
- package/lib/components/switch/index.d.ts +0 -10
- package/lib/components/switch/index.js +0 -42
- package/lib/config/index.js +0 -39
- package/lib/config/request.d.ts +0 -7
- package/lib/config/request.js +0 -76
- package/lib/config/utils.d.ts +0 -0
- package/lib/config/utils.js +0 -0
- package/lib/hooks/index.d.ts +0 -8
- package/lib/hooks/index.js +0 -57
- package/lib/hooks/useCountDown/index.d.ts +0 -10
- package/lib/hooks/useCountDown/index.js +0 -57
- package/lib/hooks/useDocumentScroll/index.d.ts +0 -8
- package/lib/hooks/useDocumentScroll/index.js +0 -54
- package/lib/hooks/useDocumentScroll/index.less +0 -0
- package/lib/hooks/useMousemove/index.d.ts +0 -8
- package/lib/hooks/useMousemove/index.js +0 -70
- package/lib/hooks/useResponsive/index.d.ts +0 -2
- package/lib/hooks/useResponsive/index.js +0 -47
- package/lib/hooks/useResponsive/index.less +0 -0
- package/lib/hooks/useSize/index.d.ts +0 -2
- package/lib/hooks/useSize/index.js +0 -45
- package/lib/hooks/useSize/index.less +0 -0
- package/lib/hooks/useStateMulti/index.d.ts +0 -2
- package/lib/hooks/useStateMulti/index.js +0 -43
- package/lib/hooks/useStateWithCb/index.d.ts +0 -2
- package/lib/hooks/useStateWithCb/index.js +0 -53
- package/lib/hooks/useTable/index.d.ts +0 -12
- package/lib/hooks/useTable/index.js +0 -75
- package/lib/hooks/useTable/index.less +0 -0
- package/lib/hooks/useTableModal/index.d.ts +0 -12
- package/lib/hooks/useTableModal/index.js +0 -43
- package/lib/hooks/useTableModal/index.less +0 -0
- package/lib/hooks/useUrlState/index.d.ts +0 -2
- package/lib/hooks/useUrlState/index.js +0 -59
- package/lib/hooks/useWebSocket/index.d.ts +0 -13
- package/lib/hooks/useWebSocket/index.js +0 -91
- package/lib/locales/en-US.d.ts +0 -11
- package/lib/locales/en-US.js +0 -36
- package/lib/locales/index.d.ts +0 -1
- package/lib/locales/index.js +0 -59
- package/lib/locales/zh-CN.d.ts +0 -11
- package/lib/locales/zh-CN.js +0 -36
- package/lib/locales/zh-TW.d.ts +0 -11
- package/lib/locales/zh-TW.js +0 -36
- package/lib/utils/index.d.ts +0 -3
- package/lib/utils/index.js +0 -21
- package/lib/utils/otherUtils.d.ts +0 -8
- package/lib/utils/otherUtils.js +0 -31
- package/lib/utils/storage.d.ts +0 -30
- package/lib/utils/storage.js +0 -63
- package/lib/utils/typeUtils.d.ts +0 -42
- package/lib/utils/typeUtils.js +0 -75
|
@@ -1,25 +0,0 @@
|
|
|
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); }
|
|
7
|
-
import { Avatar as AntAvatar } from 'antd5';
|
|
8
|
-
import React from 'react';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* 后续可添加属性
|
|
12
|
-
*/
|
|
13
|
-
// export interface AvatarProps extends AntAvatarProps {
|
|
14
|
-
// [key: string]: any
|
|
15
|
-
// }
|
|
16
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
|
-
/**
|
|
18
|
-
* 头像
|
|
19
|
-
* @param props
|
|
20
|
-
* @constructor
|
|
21
|
-
*/
|
|
22
|
-
var Avatar = function Avatar(props) {
|
|
23
|
-
return /*#__PURE__*/_jsx(AntAvatar, _objectSpread({}, props));
|
|
24
|
-
};
|
|
25
|
-
export default Avatar;
|
|
@@ -1,36 +0,0 @@
|
|
|
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); }
|
|
7
|
-
import { Button as AntButton } from 'antd5';
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
var AntGroup = AntButton.Group;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* 后续可添加属性
|
|
13
|
-
*/
|
|
14
|
-
// export interface ButtonProps extends AntButtonProps {
|
|
15
|
-
// [key: string]: any
|
|
16
|
-
// }
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* 按钮组件
|
|
20
|
-
* @param props
|
|
21
|
-
* @constructor
|
|
22
|
-
*/
|
|
23
|
-
var Button = function Button(props) {
|
|
24
|
-
return /*#__PURE__*/_jsx(AntButton, _objectSpread({}, props));
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* 按钮组
|
|
29
|
-
* @param props
|
|
30
|
-
* @constructor
|
|
31
|
-
*/
|
|
32
|
-
var Group = function Group(props) {
|
|
33
|
-
return /*#__PURE__*/_jsx(AntGroup, _objectSpread({}, props));
|
|
34
|
-
};
|
|
35
|
-
Button.Group = Group;
|
|
36
|
-
export default Button;
|
|
@@ -1,16 +0,0 @@
|
|
|
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); }
|
|
7
|
-
import classNames from 'classnames';
|
|
8
|
-
import "./index.less";
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
var Card = function Card(props) {
|
|
11
|
-
return /*#__PURE__*/_jsx("div", _objectSpread(_objectSpread({}, props), {}, {
|
|
12
|
-
className: classNames('pisell-card', props.className),
|
|
13
|
-
children: props.children
|
|
14
|
-
}));
|
|
15
|
-
};
|
|
16
|
-
export default Card;
|
|
@@ -1,43 +0,0 @@
|
|
|
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); }
|
|
7
|
-
import { Checkbox as AntCheckbox } from 'antd5';
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
var AntGroup = AntCheckbox.Group;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* 后续可添加属性
|
|
13
|
-
*/
|
|
14
|
-
// export interface CheckboxProps extends AntCheckboxProps {
|
|
15
|
-
// [key: string]: any
|
|
16
|
-
// }
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* 后续可添加属性
|
|
20
|
-
*/
|
|
21
|
-
// export interface CheckboxGroupProps extends AntCheckboxGroupProps {
|
|
22
|
-
// [key: string]: any
|
|
23
|
-
// }
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* 多选框
|
|
27
|
-
* @param props
|
|
28
|
-
* @constructor
|
|
29
|
-
*/
|
|
30
|
-
var Checkbox = function Checkbox(props) {
|
|
31
|
-
return /*#__PURE__*/_jsx(AntCheckbox, _objectSpread({}, props));
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* 多选框组
|
|
36
|
-
* @param props
|
|
37
|
-
* @constructor
|
|
38
|
-
*/
|
|
39
|
-
var Group = function Group(props) {
|
|
40
|
-
return /*#__PURE__*/_jsx(AntGroup, _objectSpread({}, props));
|
|
41
|
-
};
|
|
42
|
-
Checkbox.Group = Group;
|
|
43
|
-
export default Checkbox;
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { ConfigProvider } from 'antd5';
|
|
2
|
-
import enUS from 'antd5/locale/en_US';
|
|
3
|
-
import zhCN from 'antd5/locale/zh_CN';
|
|
4
|
-
import zhTW from 'antd5/locale/zh_TW';
|
|
5
|
-
declare const cssVariableMap: {
|
|
6
|
-
/** 白色 - White */
|
|
7
|
-
'--color-white': string;
|
|
8
|
-
/** 灰色 - Grey */
|
|
9
|
-
'--color-grey-10': string;
|
|
10
|
-
'--color-grey-20': string;
|
|
11
|
-
'--color-grey-30': string;
|
|
12
|
-
'--color-grey-40': string;
|
|
13
|
-
'--color-grey-50': string;
|
|
14
|
-
'--color-grey-60': string;
|
|
15
|
-
'--color-grey-70': string;
|
|
16
|
-
'--color-grey-80': string;
|
|
17
|
-
'--color-grey-90': string;
|
|
18
|
-
'--color-grey-95': string;
|
|
19
|
-
'--color-grey-98': string;
|
|
20
|
-
'--color-grey-99': string;
|
|
21
|
-
/** 主题色 - Primary */
|
|
22
|
-
'--color-primary-primary': string;
|
|
23
|
-
/** -------------------文本与图标颜色 - Text-------------------------------- */
|
|
24
|
-
'--color-text-1': string;
|
|
25
|
-
'--color-text-2': string;
|
|
26
|
-
'--color-text-3': string;
|
|
27
|
-
'--color-text-4': string;
|
|
28
|
-
/** -------------------徽标色 - Badge 四种功能用色-------------------------------- */
|
|
29
|
-
/** 红色 */
|
|
30
|
-
'--color-badge-red': string;
|
|
31
|
-
/** 红色容器背景色 */
|
|
32
|
-
'--color-badge-red-container': string;
|
|
33
|
-
/** 橙色 */
|
|
34
|
-
'--color-badge-orange': string;
|
|
35
|
-
/** 橙色容器背景色 */
|
|
36
|
-
'--color-badge-orange-container': string;
|
|
37
|
-
/** 橙色文字颜色 */
|
|
38
|
-
'--color-badge-orange-text': string;
|
|
39
|
-
/** 绿色 */
|
|
40
|
-
'--color-badge-green': string;
|
|
41
|
-
/** 绿色容器背景色 */
|
|
42
|
-
'--color-badge-green-container': string;
|
|
43
|
-
/** 蓝色 */
|
|
44
|
-
'--color-badge-blue': string;
|
|
45
|
-
/** 蓝色容器背景色 */
|
|
46
|
-
'--color-badge-blue-container': string;
|
|
47
|
-
/** 紫色 */
|
|
48
|
-
'--color-badge-purple': string;
|
|
49
|
-
/** 紫色容器背景色 */
|
|
50
|
-
'--color-badge-purple-container': string;
|
|
51
|
-
/** 灰色 */
|
|
52
|
-
'--color-badge-grey': string;
|
|
53
|
-
/** 灰色容器背景色 */
|
|
54
|
-
'--color-badge-grey-container': string;
|
|
55
|
-
/** 黄色 */
|
|
56
|
-
'--color-badge-yellow': string;
|
|
57
|
-
/** 黄色容器背景色 */
|
|
58
|
-
'--color-badge-yellow-container': string;
|
|
59
|
-
/** 黄色文字颜色 */
|
|
60
|
-
'--color-badge-yellow-text': string;
|
|
61
|
-
/** -------------------功能色 - Functional Color-------------------------------- */
|
|
62
|
-
/** 错误色 */
|
|
63
|
-
'--color-functional-error': string;
|
|
64
|
-
/** 错误容器背景色 */
|
|
65
|
-
'--color-functional-error-container': string;
|
|
66
|
-
/** 警告色 */
|
|
67
|
-
'--color-functional-warning': string;
|
|
68
|
-
/** 警告容器背景色 */
|
|
69
|
-
'--color-functional-warning-container': string;
|
|
70
|
-
/** 成功色 */
|
|
71
|
-
'--color-functional-success': string;
|
|
72
|
-
/** 成功容器背景色 */
|
|
73
|
-
'--color-functional-success-container': string;
|
|
74
|
-
/** 信息色 */
|
|
75
|
-
'--color-functional-info': string;
|
|
76
|
-
/** 信息容器背景色 */
|
|
77
|
-
'--color-functional-info-container': string;
|
|
78
|
-
/** -------------------背景色 - Background------------------- */
|
|
79
|
-
/** APP大背景 */
|
|
80
|
-
'--color-bg-app': string;
|
|
81
|
-
/** web端大背景、表格表头背景 */
|
|
82
|
-
'--color-bg-web': string;
|
|
83
|
-
/** 鼠标悬停背景 */
|
|
84
|
-
'--color-bg-hover': string;
|
|
85
|
-
/** 鼠标按下背景 */
|
|
86
|
-
'--color-bg-pressing': string;
|
|
87
|
-
/** button禁用背景、输入框叉号默认 */
|
|
88
|
-
'--color-bg-button-disabled': string;
|
|
89
|
-
/** -------------------表面色 - Surface------------------- */
|
|
90
|
-
/** 多选框默认、单选框默认、警告提示叉号 */
|
|
91
|
-
'--color-surface-1': string;
|
|
92
|
-
/** 面包屑分隔符、开关_关闭 */
|
|
93
|
-
'--color-surface-2': string;
|
|
94
|
-
/** 输入框边框、输入框提示icon、开关禁用 */
|
|
95
|
-
'--color-surface-3': string;
|
|
96
|
-
/** 边框颜色、分页器边框、次要button禁用边框、多选框禁用、单选框禁用、下拉框边框、输入框禁用边框、输入框禁用icon、弹窗边框 */
|
|
97
|
-
'--color-surface-4': string;
|
|
98
|
-
/** 分割线颜色、弹窗分割线 */
|
|
99
|
-
'--color-surface-5': string;
|
|
100
|
-
};
|
|
101
|
-
declare const defaultTheme: {
|
|
102
|
-
token: {
|
|
103
|
-
colorPrimary: string;
|
|
104
|
-
colorSuccess: string;
|
|
105
|
-
borderRadius: number;
|
|
106
|
-
colorWarning: string;
|
|
107
|
-
colorError: string;
|
|
108
|
-
colorInfo: string;
|
|
109
|
-
colorTextBase: string;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
export type { Locale } from 'antd/es/locale';
|
|
113
|
-
export { ConfigProvider, defaultTheme, cssVariableMap, enUS, zhCN, zhTW };
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { ConfigProvider } from 'antd5';
|
|
2
|
-
import enUS from 'antd5/locale/en_US';
|
|
3
|
-
import zhCN from 'antd5/locale/zh_CN';
|
|
4
|
-
import zhTW from 'antd5/locale/zh_TW';
|
|
5
|
-
|
|
6
|
-
// css变量
|
|
7
|
-
var cssVariableMap = {
|
|
8
|
-
/** 白色 - White */
|
|
9
|
-
'--color-white': '#FFFFFF',
|
|
10
|
-
/** 灰色 - Grey */
|
|
11
|
-
'--color-grey-10': '#1b1b1b',
|
|
12
|
-
'--color-grey-20': '#303030',
|
|
13
|
-
'--color-grey-30': '#474747',
|
|
14
|
-
'--color-grey-40': '#5e5e5e',
|
|
15
|
-
'--color-grey-50': '#777777',
|
|
16
|
-
'--color-grey-60': '#919191',
|
|
17
|
-
'--color-grey-70': '#ababab',
|
|
18
|
-
'--color-grey-80': '#c6c6c6',
|
|
19
|
-
'--color-grey-90': '#e2e2e2',
|
|
20
|
-
'--color-grey-95': '#f1f1f1',
|
|
21
|
-
'--color-grey-98': '#fafafa',
|
|
22
|
-
'--color-grey-99': '#fcfcfc',
|
|
23
|
-
/** 主题色 - Primary */
|
|
24
|
-
'--color-primary-primary': '#705DFF',
|
|
25
|
-
/** -------------------文本与图标颜色 - Text-------------------------------- */
|
|
26
|
-
'--color-text-1': 'var(--color-grey-10)',
|
|
27
|
-
'--color-text-2': 'var(--color-grey-50)',
|
|
28
|
-
'--color-text-3': 'var(--color-grey-60)',
|
|
29
|
-
'--color-text-4': 'var(--color-grey-70)',
|
|
30
|
-
/** -------------------徽标色 - Badge 四种功能用色-------------------------------- */
|
|
31
|
-
/** 红色 */
|
|
32
|
-
'--color-badge-red': '#DC3545',
|
|
33
|
-
/** 红色容器背景色 */
|
|
34
|
-
'--color-badge-red-container': '#FFDDE0',
|
|
35
|
-
/** 橙色 */
|
|
36
|
-
'--color-badge-orange': '#FD7E14',
|
|
37
|
-
/** 橙色容器背景色 */
|
|
38
|
-
'--color-badge-orange-container': '#FFE5D0',
|
|
39
|
-
/** 橙色文字颜色 */
|
|
40
|
-
'--color-badge-orange-text': '#CA6510',
|
|
41
|
-
/** 绿色 */
|
|
42
|
-
'--color-badge-green': '#1B945C',
|
|
43
|
-
/** 绿色容器背景色 */
|
|
44
|
-
'--color-badge-green-container': '#D7EDE3',
|
|
45
|
-
/** 蓝色 */
|
|
46
|
-
'--color-badge-blue': '#0B5FDB',
|
|
47
|
-
/** 蓝色容器背景色 */
|
|
48
|
-
'--color-badge-blue-container': '#D1E3FF',
|
|
49
|
-
/** 紫色 */
|
|
50
|
-
'--color-badge-purple': '#610FE5',
|
|
51
|
-
/** 紫色容器背景色 */
|
|
52
|
-
'--color-badge-purple-container': '#E9DBFF',
|
|
53
|
-
/** 灰色 */
|
|
54
|
-
'--color-badge-grey': 'var(--color-grey-50)',
|
|
55
|
-
/** 灰色容器背景色 */
|
|
56
|
-
'--color-badge-grey-container': 'var(--color-grey-90)',
|
|
57
|
-
/** 黄色 */
|
|
58
|
-
'--color-badge-yellow': '#F5B800',
|
|
59
|
-
/** 黄色容器背景色 */
|
|
60
|
-
'--color-badge-yellow-container': '#FFF3CD',
|
|
61
|
-
/** 黄色文字颜色 */
|
|
62
|
-
'--color-badge-yellow-text': '#CC9A06',
|
|
63
|
-
/** -------------------功能色 - Functional Color-------------------------------- */
|
|
64
|
-
/** 错误色 */
|
|
65
|
-
'--color-functional-error': 'var(--color-badge-red)',
|
|
66
|
-
/** 错误容器背景色 */
|
|
67
|
-
'--color-functional-error-container': 'var(--color-badge-red-container)',
|
|
68
|
-
/** 警告色 */
|
|
69
|
-
'--color-functional-warning': 'var(--color-badge-orange)',
|
|
70
|
-
/** 警告容器背景色 */
|
|
71
|
-
'--color-functional-warning-container': 'var(--color-badge-orange-container)',
|
|
72
|
-
/** 成功色 */
|
|
73
|
-
'--color-functional-success': 'var(--color-badge-green)',
|
|
74
|
-
/** 成功容器背景色 */
|
|
75
|
-
'--color-functional-success-container': 'var(--color-badge-green-container)',
|
|
76
|
-
/** 信息色 */
|
|
77
|
-
'--color-functional-info': 'var(--color-badge-blue)',
|
|
78
|
-
/** 信息容器背景色 */
|
|
79
|
-
'--color-functional-info-container': 'var(--color-badge-blue-container)',
|
|
80
|
-
/** -------------------背景色 - Background------------------- */
|
|
81
|
-
/** APP大背景 */
|
|
82
|
-
'--color-bg-app': 'var(--color-grey-95)',
|
|
83
|
-
/** web端大背景、表格表头背景 */
|
|
84
|
-
'--color-bg-web': 'var(--color-grey-98)',
|
|
85
|
-
/** 鼠标悬停背景 */
|
|
86
|
-
'--color-bg-hover': 'var(--color-grey-95)',
|
|
87
|
-
/** 鼠标按下背景 */
|
|
88
|
-
'--color-bg-pressing': 'var(--color-grey-90)',
|
|
89
|
-
/** button禁用背景、输入框叉号默认 */
|
|
90
|
-
'--color-bg-button-disabled': 'var(--color-grey-80)',
|
|
91
|
-
/** -------------------表面色 - Surface------------------- */
|
|
92
|
-
/** 多选框默认、单选框默认、警告提示叉号 */
|
|
93
|
-
'--color-surface-1': 'var(--color-grey-60)',
|
|
94
|
-
/** 面包屑分隔符、开关_关闭 */
|
|
95
|
-
'--color-surface-2': 'var(--color-grey-70)',
|
|
96
|
-
/** 输入框边框、输入框提示icon、开关禁用 */
|
|
97
|
-
'--color-surface-3': 'var(--color-grey-80)',
|
|
98
|
-
/** 边框颜色、分页器边框、次要button禁用边框、多选框禁用、单选框禁用、下拉框边框、输入框禁用边框、输入框禁用icon、弹窗边框 */
|
|
99
|
-
'--color-surface-4': 'var(--color-grey-90)',
|
|
100
|
-
/** 分割线颜色、弹窗分割线 */
|
|
101
|
-
'--color-surface-5': 'var(--color-grey-95)'
|
|
102
|
-
};
|
|
103
|
-
var defaultTheme = {
|
|
104
|
-
token: {
|
|
105
|
-
colorPrimary: '#705dff',
|
|
106
|
-
colorSuccess: '#1b945c',
|
|
107
|
-
borderRadius: 8,
|
|
108
|
-
colorWarning: '#fd7e14',
|
|
109
|
-
colorError: '#dc3545',
|
|
110
|
-
colorInfo: '#0b5fdb',
|
|
111
|
-
colorTextBase: '#1b1b1b'
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
export { ConfigProvider, defaultTheme, cssVariableMap, enUS, zhCN, zhTW };
|
|
@@ -1,17 +0,0 @@
|
|
|
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); }
|
|
7
|
-
import { DatePicker as AntDatePicker } from 'antd5';
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
/**
|
|
10
|
-
* 日期选择框
|
|
11
|
-
* @param props
|
|
12
|
-
* @constructor
|
|
13
|
-
*/
|
|
14
|
-
var DatePicker = function DatePicker(props) {
|
|
15
|
-
return /*#__PURE__*/_jsx(AntDatePicker, _objectSpread({}, props));
|
|
16
|
-
};
|
|
17
|
-
export default DatePicker;
|
package/es/components/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export { default as Agreement } from "./agreement";
|
|
2
|
-
export { default as Avatar } from "./avatar";
|
|
3
|
-
export { default as Button } from "./button";
|
|
4
|
-
export { default as Card } from "./card";
|
|
5
|
-
export { default as Checkbox } from "./checkbox";
|
|
6
|
-
export { default as ColorPicker } from "./ColorPicker";
|
|
7
|
-
export * from "./configProvider";
|
|
8
|
-
export { default as DatePicker } from "./datePicker";
|
|
9
|
-
export { default as DragSort } from "./DragSort";
|
|
10
|
-
export { default as IconFont } from "./Iconfont";
|
|
11
|
-
export { default as Input } from "./input";
|
|
12
|
-
export { default as InputNumber } from "./inputNumber";
|
|
13
|
-
export { default as Pagination } from "./pagination";
|
|
14
|
-
export { default as Radio } from "./radio";
|
|
15
|
-
export { default as Select } from "./select";
|
|
16
|
-
export { default as Switch } from "./switch";
|
|
@@ -1,97 +0,0 @@
|
|
|
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); }
|
|
7
|
-
import { Input as AntInput } from 'antd5';
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
var AntTextArea = AntInput.TextArea,
|
|
10
|
-
AntSearch = AntInput.Search,
|
|
11
|
-
AntPassword = AntInput.Password,
|
|
12
|
-
AntGroup = AntInput.Group;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* 后续可添加属性
|
|
16
|
-
*/
|
|
17
|
-
// export interface InputProps extends AntInputProps {
|
|
18
|
-
// [key: string]: any
|
|
19
|
-
// }
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* 后续可添加属性
|
|
23
|
-
*/
|
|
24
|
-
// export interface TextAreaProps extends AntTextAreaProps {
|
|
25
|
-
// [key: string]: any
|
|
26
|
-
// }
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* 后续可添加属性
|
|
30
|
-
*/
|
|
31
|
-
// export interface SearchProps extends AntSearchProps {
|
|
32
|
-
// [key: string]: any
|
|
33
|
-
// }
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* 后续可添加属性
|
|
37
|
-
*/
|
|
38
|
-
// export interface PasswordProps extends AntPasswordProps {
|
|
39
|
-
// [key: string]: any
|
|
40
|
-
// }
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* 后续可添加属性
|
|
44
|
-
*/
|
|
45
|
-
// export interface GroupProps extends AntGroupProps {
|
|
46
|
-
// [key: string]: any
|
|
47
|
-
// }
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* input输入框
|
|
51
|
-
* @param props
|
|
52
|
-
* @constructor
|
|
53
|
-
*/
|
|
54
|
-
var Input = function Input(props) {
|
|
55
|
-
return /*#__PURE__*/_jsx(AntInput, _objectSpread({}, props));
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* 文本域
|
|
60
|
-
* @param props
|
|
61
|
-
* @constructor
|
|
62
|
-
*/
|
|
63
|
-
var TextArea = function TextArea(props) {
|
|
64
|
-
return /*#__PURE__*/_jsx(AntTextArea, _objectSpread({}, props));
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* 搜索
|
|
69
|
-
* @param props
|
|
70
|
-
* @constructor
|
|
71
|
-
*/
|
|
72
|
-
var Search = function Search(props) {
|
|
73
|
-
return /*#__PURE__*/_jsx(AntSearch, _objectSpread({}, props));
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* 密码输入
|
|
78
|
-
* @param props
|
|
79
|
-
* @constructor
|
|
80
|
-
*/
|
|
81
|
-
var Password = function Password(props) {
|
|
82
|
-
return /*#__PURE__*/_jsx(AntPassword, _objectSpread({}, props));
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* 组
|
|
87
|
-
* @param props
|
|
88
|
-
* @constructor
|
|
89
|
-
*/
|
|
90
|
-
var Group = function Group(props) {
|
|
91
|
-
return /*#__PURE__*/_jsx(AntGroup, _objectSpread({}, props));
|
|
92
|
-
};
|
|
93
|
-
Input.TextArea = TextArea;
|
|
94
|
-
Input.Search = Search;
|
|
95
|
-
Input.Password = Password;
|
|
96
|
-
Input.Group = Group;
|
|
97
|
-
export default Input;
|
|
@@ -1,17 +0,0 @@
|
|
|
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); }
|
|
7
|
-
import { InputNumber as AntInputNumber } from 'antd5';
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
/**
|
|
10
|
-
* 数字输入框
|
|
11
|
-
* @param props
|
|
12
|
-
* @constructor
|
|
13
|
-
*/
|
|
14
|
-
var InputNumber = function InputNumber(props) {
|
|
15
|
-
return /*#__PURE__*/_jsx(AntInputNumber, _objectSpread({}, props));
|
|
16
|
-
};
|
|
17
|
-
export default InputNumber;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { PaginationProps as AntPaginationProps } from 'antd5';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export declare type PaginationProps = AntPaginationProps;
|
|
4
|
-
/**
|
|
5
|
-
* 分页
|
|
6
|
-
* @param props
|
|
7
|
-
* @constructor
|
|
8
|
-
*/
|
|
9
|
-
declare const Pagination: React.FC<PaginationProps>;
|
|
10
|
-
export default Pagination;
|
|
@@ -1,18 +0,0 @@
|
|
|
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); }
|
|
7
|
-
import { Pagination as AntPagination } from 'antd5';
|
|
8
|
-
import React from 'react';
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
/**
|
|
11
|
-
* 分页
|
|
12
|
-
* @param props
|
|
13
|
-
* @constructor
|
|
14
|
-
*/
|
|
15
|
-
var Pagination = function Pagination(props) {
|
|
16
|
-
return /*#__PURE__*/_jsx(AntPagination, _objectSpread({}, props));
|
|
17
|
-
};
|
|
18
|
-
export default Pagination;
|
|
@@ -1,28 +0,0 @@
|
|
|
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); }
|
|
7
|
-
import { Radio as AntRadio } from 'antd5';
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
var AntGroup = AntRadio.Group;
|
|
10
|
-
/**
|
|
11
|
-
* 单选框
|
|
12
|
-
* @param props
|
|
13
|
-
* @constructor
|
|
14
|
-
*/
|
|
15
|
-
var Radio = function Radio(props) {
|
|
16
|
-
return /*#__PURE__*/_jsx(AntRadio, _objectSpread({}, props));
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* 单选框组
|
|
21
|
-
* @param props
|
|
22
|
-
* @constructor
|
|
23
|
-
*/
|
|
24
|
-
var Group = function Group(props) {
|
|
25
|
-
return /*#__PURE__*/_jsx(AntGroup, _objectSpread({}, props));
|
|
26
|
-
};
|
|
27
|
-
Radio.Group = Group;
|
|
28
|
-
export default Radio;
|
|
@@ -1,17 +0,0 @@
|
|
|
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); }
|
|
7
|
-
import { Select as AntSelect } from 'antd5';
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
var AntOption = AntSelect.Option;
|
|
10
|
-
var Option = function Option(props) {
|
|
11
|
-
return /*#__PURE__*/_jsx(AntOption, _objectSpread({}, props));
|
|
12
|
-
};
|
|
13
|
-
var Select = function Select(props) {
|
|
14
|
-
return /*#__PURE__*/_jsx(AntSelect, _objectSpread({}, props));
|
|
15
|
-
};
|
|
16
|
-
Select.Option = Option;
|
|
17
|
-
export default Select;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { SwitchProps as AntSwitchProps } from 'antd5';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export declare type SwitchProps = AntSwitchProps;
|
|
4
|
-
/**
|
|
5
|
-
* 开关
|
|
6
|
-
* @param props
|
|
7
|
-
* @constructor
|
|
8
|
-
*/
|
|
9
|
-
declare const Switch: React.FC<SwitchProps>;
|
|
10
|
-
export default Switch;
|
|
@@ -1,18 +0,0 @@
|
|
|
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); }
|
|
7
|
-
import { Switch as AntSwitch } from 'antd5';
|
|
8
|
-
import React from 'react';
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
/**
|
|
11
|
-
* 开关
|
|
12
|
-
* @param props
|
|
13
|
-
* @constructor
|
|
14
|
-
*/
|
|
15
|
-
var Switch = function Switch(props) {
|
|
16
|
-
return /*#__PURE__*/_jsx(AntSwitch, _objectSpread({}, props));
|
|
17
|
-
};
|
|
18
|
-
export default Switch;
|