yootd 0.0.92 → 0.0.93
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/dist/affix/index.d.ts +3 -1
- package/dist/affix/index.js +3 -2
- package/dist/alert/index.js +3 -2
- package/dist/anchor/index.js +4 -3
- package/dist/app/index.js +3 -2
- package/dist/areas-treeSelect/index.js +4 -3
- package/dist/auto-complete/index.js +3 -2
- package/dist/avatar/index.d.ts +1 -1
- package/dist/avatar/index.js +3 -2
- package/dist/badge/index.js +4 -3
- package/dist/breadcrumb/index.js +5 -4
- package/dist/button/index.js +4 -3
- package/dist/calendar/index.js +3 -2
- package/dist/card/index.js +3 -2
- package/dist/carousel/index.js +3 -2
- package/dist/cascader/index.js +6 -5
- package/dist/checkbox/index.js +4 -3
- package/dist/collapse/index.js +3 -2
- package/dist/color-picker/index.js +3 -2
- package/dist/config-provider/context.d.ts +1 -1
- package/dist/config-provider/index.js +7 -6
- package/dist/date-interval/index.js +11 -8
- package/dist/date-picker/index.js +3 -2
- package/dist/date-range/index.js +13 -8
- package/dist/description/index.js +3 -2
- package/dist/divider/index.js +3 -2
- package/dist/drawer/index.js +3 -2
- package/dist/drawer-modal/index.js +3 -2
- package/dist/dropdown/index.js +4 -3
- package/dist/dropdown-select/index.js +3 -2
- package/dist/empty/index.js +5 -4
- package/dist/export/index.js +3 -2
- package/dist/flex/index.js +3 -2
- package/dist/float-button/index.js +5 -4
- package/dist/form/index.js +3 -2
- package/dist/grid/index.js +6 -3
- package/dist/image/index.js +4 -3
- package/dist/input/index.js +8 -7
- package/dist/input-number/index.js +3 -2
- package/dist/layout/index.js +3 -2
- package/dist/list/index.js +3 -2
- package/dist/mentions/index.js +3 -2
- package/dist/menu/index.js +7 -6
- package/dist/message/index.js +3 -2
- package/dist/modal/index.js +13 -12
- package/dist/notification/index.js +3 -2
- package/dist/pagination/index.js +3 -2
- package/dist/pop-confirm/index.js +3 -2
- package/dist/popover/index.js +3 -2
- package/dist/progress/index.js +3 -2
- package/dist/qrcode/index.js +3 -2
- package/dist/radio/index.js +3 -2
- package/dist/rate/index.js +3 -2
- package/dist/result/index.js +3 -2
- package/dist/segmented/index.js +3 -2
- package/dist/select/index.js +3 -2
- package/dist/skeleton/index.js +3 -2
- package/dist/slider/index.js +3 -2
- package/dist/space/index.js +3 -2
- package/dist/spin/index.js +3 -2
- package/dist/splitter/index.js +3 -2
- package/dist/statistic/index.js +3 -2
- package/dist/steps/index.js +4 -3
- package/dist/switch/index.js +3 -2
- package/dist/table/index.js +10 -9
- package/dist/tabs/index.js +8 -5
- package/dist/tag/index.js +4 -3
- package/dist/time-picker/index.js +3 -2
- package/dist/timeline/index.js +3 -2
- package/dist/tooltip/index.js +3 -2
- package/dist/tour/index.js +3 -2
- package/dist/transfer/index.js +3 -2
- package/dist/tree/index.js +4 -3
- package/dist/tree-select/index.js +3 -2
- package/dist/typography/index.js +3 -2
- package/dist/upload/components/fileUpload.js +3 -2
- package/dist/upload/components/imageUpload.js +6 -4
- package/dist/upload/index.js +3 -2
- package/dist/watermark/index.js +3 -2
- package/dist/year-options/index.js +3 -2
- package/package.json +6 -2
package/dist/flex/index.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
import
|
1
|
+
import "antd/es/flex/style";
|
2
|
+
import _Flex from "antd/es/flex";
|
2
3
|
import React from 'react';
|
3
4
|
export var Flex = function Flex(props) {
|
4
|
-
return /*#__PURE__*/React.createElement(
|
5
|
+
return /*#__PURE__*/React.createElement(_Flex, props);
|
5
6
|
};
|
@@ -1,10 +1,11 @@
|
|
1
|
+
import "antd/es/float-button/style";
|
2
|
+
import _FloatButton from "antd/es/float-button";
|
1
3
|
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
2
|
-
import { FloatButton as AntFloatButton } from 'antd';
|
3
4
|
import React from 'react';
|
4
5
|
var FloatButtonComponent = function FloatButtonComponent(_ref) {
|
5
6
|
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
6
|
-
return /*#__PURE__*/React.createElement(
|
7
|
+
return /*#__PURE__*/React.createElement(_FloatButton, rest);
|
7
8
|
};
|
8
9
|
export var FloatButton = FloatButtonComponent;
|
9
|
-
FloatButton.Group =
|
10
|
-
FloatButton.BackTop =
|
10
|
+
FloatButton.Group = _FloatButton.Group;
|
11
|
+
FloatButton.BackTop = _FloatButton.BackTop;
|
package/dist/form/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/form/style";
|
2
|
+
import _Form from "antd/es/form";
|
3
|
+
export var Form = _Form;
|
package/dist/grid/index.js
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
import
|
1
|
+
import "antd/es/col/style";
|
2
|
+
import _Col from "antd/es/col";
|
3
|
+
import "antd/es/row/style";
|
4
|
+
import _Row from "antd/es/row";
|
2
5
|
import React from 'react';
|
3
6
|
export var Row = function Row(props) {
|
4
|
-
return /*#__PURE__*/React.createElement(
|
7
|
+
return /*#__PURE__*/React.createElement(_Row, props);
|
5
8
|
};
|
6
9
|
export var Col = function Col(props) {
|
7
|
-
return /*#__PURE__*/React.createElement(
|
10
|
+
return /*#__PURE__*/React.createElement(_Col, props);
|
8
11
|
};
|
package/dist/image/index.js
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
import "antd/es/image/style";
|
2
|
+
import _Image from "antd/es/image";
|
1
3
|
var _excluded = ["width", "height"];
|
2
4
|
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
5
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
@@ -8,7 +10,6 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
8
10
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
9
11
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
10
12
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
11
|
-
import { Image as AntImage } from 'antd';
|
12
13
|
import React, { useEffect, useMemo, useState } from 'react';
|
13
14
|
import defaultImg from "./assets/default.png";
|
14
15
|
import errorImg from "./assets/error.png";
|
@@ -81,7 +82,7 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
81
82
|
height: imgHeight
|
82
83
|
},
|
83
84
|
className: preview ? '' : "".concat(mb.b('content'))
|
84
|
-
}, /*#__PURE__*/React.createElement(
|
85
|
+
}, /*#__PURE__*/React.createElement(_Image, _extends({
|
85
86
|
className: "".concat(mb.b('img'))
|
86
87
|
}, props, {
|
87
88
|
width: passSize ? imgWidth : undefined,
|
@@ -92,4 +93,4 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
92
93
|
})));
|
93
94
|
};
|
94
95
|
export var Image = ImageComponent;
|
95
|
-
Image.PreviewGroup =
|
96
|
+
Image.PreviewGroup = _Image.PreviewGroup;
|
package/dist/input/index.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
+
import "antd/es/input/style";
|
2
|
+
import _Input from "antd/es/input";
|
1
3
|
var _excluded = ["className"];
|
2
4
|
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
5
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
4
6
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
5
|
-
import { Input as AntInput } from 'antd';
|
6
7
|
import React, { forwardRef } from 'react';
|
7
8
|
import { useBem } from "../hooks/useBem";
|
8
9
|
import "./index.scss";
|
@@ -10,15 +11,15 @@ var InternalInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
10
11
|
var className = _ref.className,
|
11
12
|
rest = _objectWithoutProperties(_ref, _excluded);
|
12
13
|
var mb = useBem('input');
|
13
|
-
return /*#__PURE__*/React.createElement(
|
14
|
+
return /*#__PURE__*/React.createElement(_Input, _extends({
|
14
15
|
className: "".concat(mb, " ").concat(className !== null && className !== void 0 ? className : '')
|
15
16
|
}, rest, {
|
16
17
|
ref: ref
|
17
18
|
}));
|
18
19
|
});
|
19
20
|
export var Input = InternalInput;
|
20
|
-
Input.Search =
|
21
|
-
Input.Group =
|
22
|
-
Input.TextArea =
|
23
|
-
Input.Password =
|
24
|
-
Input.OTP =
|
21
|
+
Input.Search = _Input.Search;
|
22
|
+
Input.Group = _Input.Group;
|
23
|
+
Input.TextArea = _Input.TextArea;
|
24
|
+
Input.Password = _Input.Password;
|
25
|
+
Input.OTP = _Input.OTP;
|
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/input-number/style";
|
2
|
+
import _InputNumber from "antd/es/input-number";
|
3
|
+
export var InputNumber = _InputNumber;
|
package/dist/layout/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/layout/style";
|
2
|
+
import _Layout from "antd/es/layout";
|
3
|
+
export var Layout = _Layout;
|
package/dist/list/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/list/style";
|
2
|
+
import _List from "antd/es/list";
|
3
|
+
export var List = _List;
|
package/dist/mentions/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/mentions/style";
|
2
|
+
import _Mentions from "antd/es/mentions";
|
3
|
+
export var Mentions = _Mentions;
|
package/dist/menu/index.js
CHANGED
@@ -1,12 +1,13 @@
|
|
1
|
+
import "antd/es/menu/style";
|
2
|
+
import _Menu from "antd/es/menu";
|
1
3
|
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
2
|
-
import { Menu as AntMenu } from 'antd';
|
3
4
|
import React from 'react';
|
4
5
|
var MenuComponent = function MenuComponent(_ref) {
|
5
6
|
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
6
|
-
return /*#__PURE__*/React.createElement(
|
7
|
+
return /*#__PURE__*/React.createElement(_Menu, rest);
|
7
8
|
};
|
8
9
|
export var Menu = MenuComponent;
|
9
|
-
Menu.Item =
|
10
|
-
Menu.Divider =
|
11
|
-
Menu.ItemGroup =
|
12
|
-
Menu.SubMenu =
|
10
|
+
Menu.Item = _Menu.Item;
|
11
|
+
Menu.Divider = _Menu.Divider;
|
12
|
+
Menu.ItemGroup = _Menu.ItemGroup;
|
13
|
+
Menu.SubMenu = _Menu.SubMenu;
|
package/dist/message/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/message/style";
|
2
|
+
import _message from "antd/es/message";
|
3
|
+
export var message = _message;
|
package/dist/modal/index.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
+
import "antd/es/modal/style";
|
2
|
+
import _Modal from "antd/es/modal";
|
1
3
|
var _excluded = ["className", "children", "title"];
|
2
4
|
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
5
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
4
6
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
5
|
-
import { Modal as AntModal } from 'antd';
|
6
7
|
import React, { useEffect } from 'react';
|
7
8
|
import { HeaderIcon } from "./components/header-icon";
|
8
9
|
import { useBem } from "../hooks/useBem";
|
@@ -59,7 +60,7 @@ var ModalComponent = function ModalComponent(_ref) {
|
|
59
60
|
document.body.appendChild(svg);
|
60
61
|
}
|
61
62
|
}, [mb]);
|
62
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(
|
63
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Modal, _extends({}, rest, {
|
63
64
|
className: "".concat(mb, " ").concat(className !== null && className !== void 0 ? className : ''),
|
64
65
|
title: /*#__PURE__*/React.createElement("div", {
|
65
66
|
className: "".concat(tcb)
|
@@ -71,13 +72,13 @@ var ModalComponent = function ModalComponent(_ref) {
|
|
71
72
|
}), children));
|
72
73
|
};
|
73
74
|
export var Modal = ModalComponent;
|
74
|
-
Modal.useModal =
|
75
|
-
Modal.info =
|
76
|
-
Modal.success =
|
77
|
-
Modal.error =
|
78
|
-
Modal.warning =
|
79
|
-
Modal.warn =
|
80
|
-
Modal.confirm =
|
81
|
-
Modal.destroyAll =
|
82
|
-
Modal.config =
|
83
|
-
Modal._InternalPanelDoNotUseOrYouWillBeFired =
|
75
|
+
Modal.useModal = _Modal.useModal;
|
76
|
+
Modal.info = _Modal.info;
|
77
|
+
Modal.success = _Modal.success;
|
78
|
+
Modal.error = _Modal.error;
|
79
|
+
Modal.warning = _Modal.warning;
|
80
|
+
Modal.warn = _Modal.warn;
|
81
|
+
Modal.confirm = _Modal.confirm;
|
82
|
+
Modal.destroyAll = _Modal.destroyAll;
|
83
|
+
Modal.config = _Modal.config;
|
84
|
+
Modal._InternalPanelDoNotUseOrYouWillBeFired = _Modal._InternalPanelDoNotUseOrYouWillBeFired;
|
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/notification/style";
|
2
|
+
import _notification from "antd/es/notification";
|
3
|
+
export var notification = _notification;
|
package/dist/pagination/index.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
+
import "antd/es/pagination/style";
|
2
|
+
import _Pagination from "antd/es/pagination";
|
1
3
|
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
4
|
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
3
|
-
import { Pagination as AntPagination } from 'antd';
|
4
5
|
import React from 'react';
|
5
6
|
import { useBem } from "../hooks/useBem";
|
6
7
|
import "./index.scss";
|
@@ -16,7 +17,7 @@ export var Pagination = function Pagination(_ref) {
|
|
16
17
|
default:
|
17
18
|
_className = 'default';
|
18
19
|
}
|
19
|
-
return /*#__PURE__*/React.createElement(
|
20
|
+
return /*#__PURE__*/React.createElement(_Pagination, _extends({
|
20
21
|
className: "".concat((_rest$className = rest.className) !== null && _rest$className !== void 0 ? _rest$className : '', " ").concat(mb.m(_className))
|
21
22
|
}, rest));
|
22
23
|
};
|
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/popconfirm/style";
|
2
|
+
import _Popconfirm from "antd/es/popconfirm";
|
3
|
+
export var Popconfirm = _Popconfirm;
|
package/dist/popover/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/popover/style";
|
2
|
+
import _Popover from "antd/es/popover";
|
3
|
+
export var Popover = _Popover;
|
package/dist/progress/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/progress/style";
|
2
|
+
import _Progress from "antd/es/progress";
|
3
|
+
export var Progress = _Progress;
|
package/dist/qrcode/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/qr-code/style";
|
2
|
+
import _QRCode from "antd/es/qr-code";
|
3
|
+
export var QRCode = _QRCode;
|
package/dist/radio/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/radio/style";
|
2
|
+
import _Radio from "antd/es/radio";
|
3
|
+
export var Radio = _Radio;
|
package/dist/rate/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/rate/style";
|
2
|
+
import _Rate from "antd/es/rate";
|
3
|
+
export var Rate = _Rate;
|
package/dist/result/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/result/style";
|
2
|
+
import _Result from "antd/es/result";
|
3
|
+
export var Result = _Result;
|
package/dist/segmented/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/segmented/style";
|
2
|
+
import _Segmented from "antd/es/segmented";
|
3
|
+
export var Segmented = _Segmented;
|
package/dist/select/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/select/style";
|
2
|
+
import _Select from "antd/es/select";
|
3
|
+
export var Select = _Select;
|
package/dist/skeleton/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/skeleton/style";
|
2
|
+
import _Skeleton from "antd/es/skeleton";
|
3
|
+
export var Skeleton = _Skeleton;
|
package/dist/slider/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/slider/style";
|
2
|
+
import _Slider from "antd/es/slider";
|
3
|
+
export var Slider = _Slider;
|
package/dist/space/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/space/style";
|
2
|
+
import _Space from "antd/es/space";
|
3
|
+
export var Space = _Space;
|
package/dist/spin/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/spin/style";
|
2
|
+
import _Spin from "antd/es/spin";
|
3
|
+
export var Spin = _Spin;
|
package/dist/splitter/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/splitter/style";
|
2
|
+
import _Splitter from "antd/es/splitter";
|
3
|
+
export var Splitter = _Splitter;
|
package/dist/statistic/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/statistic/style";
|
2
|
+
import _Statistic from "antd/es/statistic";
|
3
|
+
export var Statistic = _Statistic;
|
package/dist/steps/index.js
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
+
import "antd/es/steps/style";
|
2
|
+
import _Steps from "antd/es/steps";
|
1
3
|
var _excluded = ["className"];
|
2
4
|
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
5
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
4
6
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
5
|
-
import { Steps as AntSteps } from 'antd';
|
6
7
|
import React from 'react';
|
7
8
|
import { useBem } from "../hooks/useBem";
|
8
9
|
import "./index.scss";
|
@@ -10,9 +11,9 @@ var StepsComponent = function StepsComponent(_ref) {
|
|
10
11
|
var className = _ref.className,
|
11
12
|
props = _objectWithoutProperties(_ref, _excluded);
|
12
13
|
var mb = useBem('steps');
|
13
|
-
return /*#__PURE__*/React.createElement(
|
14
|
+
return /*#__PURE__*/React.createElement(_Steps, _extends({
|
14
15
|
className: "".concat(mb.b('content'), " ").concat(className)
|
15
16
|
}, props));
|
16
17
|
};
|
17
18
|
export var Steps = StepsComponent;
|
18
|
-
Steps.Step =
|
19
|
+
Steps.Step = _Steps.Step;
|
package/dist/switch/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/switch/style";
|
2
|
+
import _Switch from "antd/es/switch";
|
3
|
+
export var Switch = _Switch;
|
package/dist/table/index.js
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
import "antd/es/table/style";
|
2
|
+
import _Table from "antd/es/table";
|
1
3
|
var _excluded = ["type", "showSetting", "columns", "components", "persistKeys", "headerBgColor", "headerTextColor"];
|
2
4
|
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
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -14,7 +16,6 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
14
16
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
15
17
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
16
18
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
17
|
-
import { Table as AntTable } from 'antd';
|
18
19
|
import React, { forwardRef, useEffect, useMemo, useState } from 'react';
|
19
20
|
import { PrimaryHeaderRow } from "./components/primary-header-row";
|
20
21
|
import { arrayMove } from "../utils/utils";
|
@@ -150,7 +151,7 @@ var InternalTable = function InternalTable(_ref, ref) {
|
|
150
151
|
headerBgColor: headerBgColor,
|
151
152
|
headerTextColor: headerTextColor
|
152
153
|
}
|
153
|
-
}, /*#__PURE__*/React.createElement(
|
154
|
+
}, /*#__PURE__*/React.createElement(_Table, _extends({}, rest, {
|
154
155
|
ref: ref,
|
155
156
|
columns: filterColumns(innerColumns, keys),
|
156
157
|
components: _components
|
@@ -158,11 +159,11 @@ var InternalTable = function InternalTable(_ref, ref) {
|
|
158
159
|
};
|
159
160
|
var Table = /*#__PURE__*/forwardRef(InternalTable);
|
160
161
|
Table.displayName = 'Table';
|
161
|
-
Table.Column =
|
162
|
-
Table.ColumnGroup =
|
163
|
-
Table.EXPAND_COLUMN =
|
164
|
-
Table.SELECTION_ALL =
|
165
|
-
Table.SELECTION_COLUMN =
|
166
|
-
Table.SELECTION_INVERT =
|
167
|
-
Table.Summary =
|
162
|
+
Table.Column = _Table.Column;
|
163
|
+
Table.ColumnGroup = _Table.ColumnGroup;
|
164
|
+
Table.EXPAND_COLUMN = _Table.EXPAND_COLUMN;
|
165
|
+
Table.SELECTION_ALL = _Table.SELECTION_ALL;
|
166
|
+
Table.SELECTION_COLUMN = _Table.SELECTION_COLUMN;
|
167
|
+
Table.SELECTION_INVERT = _Table.SELECTION_INVERT;
|
168
|
+
Table.Summary = _Table.Summary;
|
168
169
|
export { Table };
|
package/dist/tabs/index.js
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
import "antd/es/tabs/style";
|
2
|
+
import _Tabs from "antd/es/tabs";
|
3
|
+
import "antd/es/radio/style";
|
4
|
+
import _Radio from "antd/es/radio";
|
1
5
|
var _excluded = ["size", "capsule", "className", "items", "onChange", "activeKey", "destroyInactiveTabPane", "isTabMargin"];
|
2
6
|
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
7
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
@@ -8,7 +12,6 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
8
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
9
13
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
10
14
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
11
|
-
import { Tabs as AntTabs, Radio } from 'antd';
|
12
15
|
import React, { useEffect, useState } from 'react';
|
13
16
|
import { useBem } from "../hooks/useBem";
|
14
17
|
import "./index.scss";
|
@@ -71,7 +74,7 @@ export var TabsComponent = function TabsComponent(_ref) {
|
|
71
74
|
style: {
|
72
75
|
paddingBottom: isTabMargin ? 16 : 0
|
73
76
|
}
|
74
|
-
}, /*#__PURE__*/React.createElement(
|
77
|
+
}, /*#__PURE__*/React.createElement(_Radio.Group, {
|
75
78
|
value: key,
|
76
79
|
onChange: function onChange(e) {
|
77
80
|
setKey(e.target.value);
|
@@ -81,7 +84,7 @@ export var TabsComponent = function TabsComponent(_ref) {
|
|
81
84
|
_onChange === null || _onChange === void 0 || _onChange(e.target.value);
|
82
85
|
}
|
83
86
|
}, items === null || items === void 0 ? void 0 : items.map(function (item) {
|
84
|
-
return /*#__PURE__*/React.createElement(
|
87
|
+
return /*#__PURE__*/React.createElement(_Radio.Button, {
|
85
88
|
key: item.key,
|
86
89
|
value: item.key
|
87
90
|
}, item.label);
|
@@ -98,7 +101,7 @@ export var TabsComponent = function TabsComponent(_ref) {
|
|
98
101
|
display: key === item.key ? 'block' : 'none'
|
99
102
|
}
|
100
103
|
}, item.children);
|
101
|
-
}))) : /*#__PURE__*/React.createElement(
|
104
|
+
}))) : /*#__PURE__*/React.createElement(_Tabs, _extends({
|
102
105
|
activeKey: key,
|
103
106
|
size: size,
|
104
107
|
items: items,
|
@@ -111,4 +114,4 @@ export var TabsComponent = function TabsComponent(_ref) {
|
|
111
114
|
}, rest)));
|
112
115
|
};
|
113
116
|
export var Tabs = TabsComponent;
|
114
|
-
Tabs.TabPane =
|
117
|
+
Tabs.TabPane = _Tabs.TabPane;
|
package/dist/tag/index.js
CHANGED
@@ -1,15 +1,16 @@
|
|
1
|
+
import "antd/es/tag/style";
|
2
|
+
import _Tag from "antd/es/tag";
|
1
3
|
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
4
|
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
3
|
-
import { Tag as AntTag } from 'antd';
|
4
5
|
import React from 'react';
|
5
6
|
import { useBem } from "../hooks/useBem";
|
6
7
|
import "./index.scss";
|
7
8
|
export var TagComponent = function TagComponent(_ref) {
|
8
9
|
var props = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
9
10
|
var mb = useBem('tag');
|
10
|
-
return /*#__PURE__*/React.createElement(
|
11
|
+
return /*#__PURE__*/React.createElement(_Tag, _extends({
|
11
12
|
className: "".concat(mb.e('text'))
|
12
13
|
}, props));
|
13
14
|
};
|
14
15
|
export var Tag = TagComponent;
|
15
|
-
Tag.CheckableTag =
|
16
|
+
Tag.CheckableTag = _Tag.CheckableTag;
|
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/time-picker/style";
|
2
|
+
import _TimePicker from "antd/es/time-picker";
|
3
|
+
export var TimePicker = _TimePicker;
|
package/dist/timeline/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/timeline/style";
|
2
|
+
import _Timeline from "antd/es/timeline";
|
3
|
+
export var Timeline = _Timeline;
|
package/dist/tooltip/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/tooltip/style";
|
2
|
+
import _Tooltip from "antd/es/tooltip";
|
3
|
+
export var Tooltip = _Tooltip;
|
package/dist/tour/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/tour/style";
|
2
|
+
import _Tour from "antd/es/tour";
|
3
|
+
export var Tour = _Tour;
|
package/dist/transfer/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/transfer/style";
|
2
|
+
import _Transfer from "antd/es/transfer";
|
3
|
+
export var Transfer = _Transfer;
|
package/dist/tree/index.js
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
+
import "antd/es/tree/style";
|
3
|
+
import _Tree from "antd/es/tree";
|
2
4
|
var _excluded = ["className", "treeData", "placeholder", "showChildNumbers", "showIcon", "showSearch", "type", "notRequireSchool", "titleRender"];
|
3
5
|
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); }
|
4
6
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
@@ -18,7 +20,6 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
18
20
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
19
21
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
20
22
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
21
|
-
import { Tree as AntTree } from 'antd';
|
22
23
|
import React, { forwardRef, useCallback, useEffect, useMemo, useState } from 'react';
|
23
24
|
import { Input } from "./..";
|
24
25
|
import "./index.scss";
|
@@ -222,7 +223,7 @@ export var TreeInternal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
222
223
|
}, /*#__PURE__*/React.createElement(Search, {
|
223
224
|
placeholder: placeholder,
|
224
225
|
onChange: onChange
|
225
|
-
})) : null, /*#__PURE__*/React.createElement(
|
226
|
+
})) : null, /*#__PURE__*/React.createElement(_Tree, _extends({
|
226
227
|
ref: ref,
|
227
228
|
onExpand: onExpand,
|
228
229
|
expandedKeys: expandedKeys,
|
@@ -233,4 +234,4 @@ export var TreeInternal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
233
234
|
}, props)));
|
234
235
|
});
|
235
236
|
export var Tree = TreeInternal;
|
236
|
-
Tree.AntdTree =
|
237
|
+
Tree.AntdTree = _Tree;
|
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/tree-select/style";
|
2
|
+
import _TreeSelect from "antd/es/tree-select";
|
3
|
+
export var TreeSelect = _TreeSelect;
|
package/dist/typography/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import "antd/es/typography/style";
|
2
|
+
import _Typography from "antd/es/typography";
|
3
|
+
export var Typography = _Typography;
|