yootd 0.0.96 → 0.1.9-6.1
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/Preview/components/icons/AdaptIcon.js +2 -3
- package/dist/Preview/components/icons/MagnifyIcon.js +2 -3
- package/dist/Preview/components/icons/ResetIcon.js +2 -3
- package/dist/Preview/components/icons/ShrinkIcon.js +2 -3
- package/dist/Preview/components/reactflow/Controls.js +2 -3
- package/dist/Preview/index.js +2 -12
- package/dist/affix/index.d.ts +1 -3
- package/dist/affix/index.js +2 -3
- package/dist/alert/index.js +2 -3
- package/dist/anchor/index.js +5 -7
- package/dist/app/index.js +2 -3
- package/dist/approval-process/components/Avatar.js +2 -3
- package/dist/approval-process/components/BackOut.js +2 -3
- package/dist/approval-process/components/Failed.js +2 -3
- package/dist/approval-process/components/Pending.js +2 -3
- package/dist/approval-process/components/StartIcon.js +2 -3
- package/dist/approval-process/components/Success.js +2 -3
- package/dist/areas/index.js +1 -6
- package/dist/areas-treeSelect/index.js +7 -17
- package/dist/aside/components/AddBtnIcon.js +2 -3
- package/dist/aside/components/DelBtnIcon.js +2 -3
- package/dist/aside/components/DragBtnIcon.js +2 -3
- package/dist/aside/components/EditBtnIcon.js +2 -3
- package/dist/aside/components/SortableItem.js +2 -7
- package/dist/aside/index.js +2 -12
- package/dist/auto-complete/index.js +2 -3
- package/dist/avatar/index.d.ts +1 -1
- package/dist/avatar/index.js +2 -3
- package/dist/badge/index.d.ts +3 -2
- package/dist/badge/index.js +6 -7
- package/dist/breadcrumb/index.js +5 -6
- package/dist/buildings/index.js +2 -3
- package/dist/business-tree/components/dept.js +2 -2
- package/dist/business-tree/components/space.js +2 -3
- package/dist/business-tree/index.js +2 -3
- package/dist/button/index.js +5 -7
- package/dist/calendar/index.js +2 -3
- package/dist/card/index.js +2 -3
- package/dist/carousel/index.js +2 -3
- package/dist/cascader/index.d.ts +1 -1
- package/dist/cascader/index.js +7 -9
- package/dist/checkbox/index.d.ts +1 -1
- package/dist/checkbox/index.js +5 -6
- package/dist/collapse/index.js +2 -3
- package/dist/color-picker/index.js +2 -3
- package/dist/config-provider/context.d.ts +1 -1
- package/dist/config-provider/index.js +8 -10
- package/dist/courses/index.js +2 -3
- package/dist/date-interval/index.d.ts +1 -1
- package/dist/date-interval/index.js +11 -20
- package/dist/date-picker/index.js +2 -3
- package/dist/date-range/index.d.ts +1 -1
- package/dist/date-range/index.js +11 -22
- package/dist/department/index.js +2 -2
- package/dist/description/index.js +4 -6
- package/dist/dictionary/index.js +2 -3
- package/dist/divider/index.js +2 -3
- package/dist/drawer/index.js +2 -3
- package/dist/drawer-modal/index.js +4 -6
- package/dist/dropdown/index.js +3 -4
- package/dist/dropdown-select/assets/ArrowDown.js +2 -3
- package/dist/dropdown-select/index.js +5 -12
- package/dist/empty/index.js +6 -8
- package/dist/export/components/DownIcon.js +2 -3
- package/dist/export/components/UpIcon.js +2 -3
- package/dist/export/index.js +3 -9
- package/dist/flex/index.js +2 -3
- package/dist/float-button/index.js +5 -6
- package/dist/form/index.js +2 -3
- package/dist/go-back/components/GoBackIcon.js +2 -3
- package/dist/grid/index.js +3 -6
- package/dist/group-title/index.js +2 -3
- package/dist/holiday/index.js +2 -3
- package/dist/hooks/useBem.js +3 -7
- package/dist/hooks/useRequest.d.ts +1 -1
- package/dist/image/index.js +6 -13
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -2
- package/dist/input/index.js +9 -11
- package/dist/input-number/index.js +2 -3
- package/dist/job-title/index.js +2 -3
- package/dist/layout/index.js +2 -3
- package/dist/list/index.js +2 -3
- package/dist/mentions/index.js +2 -3
- package/dist/menu/index.js +7 -8
- package/dist/message/index.js +2 -3
- package/dist/modal/index.d.ts +1 -1
- package/dist/modal/index.js +15 -17
- package/dist/notification/index.js +2 -3
- package/dist/pagination/index.js +4 -5
- package/dist/pop-confirm/index.js +2 -3
- package/dist/popover/index.js +2 -3
- package/dist/progress/index.js +2 -3
- package/dist/qrcode/index.js +2 -3
- package/dist/radio/index.d.ts +1 -0
- package/dist/radio/index.js +3 -3
- package/dist/rate/index.js +2 -3
- package/dist/result/index.js +2 -3
- package/dist/role/index.js +2 -3
- package/dist/school/index.js +5 -15
- package/dist/segmented/index.js +2 -3
- package/dist/select/index.js +2 -3
- package/dist/skeleton/index.js +2 -3
- package/dist/slider/index.js +2 -3
- package/dist/space/index.js +2 -3
- package/dist/spin/index.js +2 -3
- package/dist/splitter/index.js +2 -3
- package/dist/state/index.js +2 -3
- package/dist/statistic/index.js +2 -3
- package/dist/steps/index.js +5 -7
- package/dist/student-dropdown/index.js +3 -9
- package/dist/switch/index.js +2 -3
- package/dist/table/components/icons/DownOutlined.js +2 -3
- package/dist/table/components/icons/DragHandler.js +2 -3
- package/dist/table/components/icons/SettingFilled.js +2 -3
- package/dist/table/components/icons/UpOutlined.js +2 -3
- package/dist/table/components/primary-header-row/index.js +3 -9
- package/dist/table/components/primary-tbody-row/index.js +3 -9
- package/dist/table/index.d.ts +2 -2
- package/dist/table/index.js +17 -25
- package/dist/tabs/index.js +8 -17
- package/dist/tag/index.js +5 -6
- package/dist/teacher/index.js +3 -9
- package/dist/time-picker/index.js +2 -3
- package/dist/timeline/index.js +2 -3
- package/dist/tooltip/index.js +2 -3
- package/dist/tour/index.js +2 -3
- package/dist/transfer/index.js +2 -3
- package/dist/tree/components/BedIcon.js +2 -3
- package/dist/tree/components/CampusIcon.js +2 -3
- package/dist/tree/components/DeptIcon.js +2 -3
- package/dist/tree/components/FloorIcon.js +2 -3
- package/dist/tree/components/RoomIcon.js +2 -3
- package/dist/tree/components/SchoolIcon.js +2 -3
- package/dist/tree/components/TierlIcon.js +2 -3
- package/dist/tree/index.js +8 -23
- package/dist/tree-select/index.js +2 -3
- package/dist/typography/index.js +2 -3
- package/dist/upload/components/AgainIcon.js +2 -3
- package/dist/upload/components/DeleteIcon.js +2 -3
- package/dist/upload/components/DeleteImage.js +2 -3
- package/dist/upload/components/SuccessIcon.js +2 -3
- package/dist/upload/components/UpLoadIconAdd.js +2 -3
- package/dist/upload/components/UploadIcon.js +2 -3
- package/dist/upload/components/fileUpload.d.ts +1 -1
- package/dist/upload/components/fileUpload.js +8 -23
- package/dist/upload/components/imageUpload.d.ts +1 -1
- package/dist/upload/components/imageUpload.js +10 -26
- package/dist/upload/index.d.ts +1 -1
- package/dist/upload/index.js +4 -6
- package/dist/user-dropdown/index.js +4 -15
- package/dist/utils/utils.js +1 -6
- package/dist/video-player/index.js +6 -16
- package/dist/watermark/index.js +2 -3
- package/dist/year-options/index.js +4 -6
- package/dist/year-term/index.js +3 -9
- package/dist/zones/index.js +3 -16
- package/package.json +20 -17
package/dist/grid/index.js
CHANGED
@@ -1,11 +1,8 @@
|
|
1
|
-
import
|
2
|
-
import _Col from "antd/es/col";
|
3
|
-
import "antd/es/row/style";
|
4
|
-
import _Row from "antd/es/row";
|
1
|
+
import { Col as AntCol, Row as AntRow } from 'antd';
|
5
2
|
import React from 'react';
|
6
3
|
export var Row = function Row(props) {
|
7
|
-
return /*#__PURE__*/React.createElement(
|
4
|
+
return /*#__PURE__*/React.createElement(AntRow, props);
|
8
5
|
};
|
9
6
|
export var Col = function Col(props) {
|
10
|
-
return /*#__PURE__*/React.createElement(
|
7
|
+
return /*#__PURE__*/React.createElement(AntCol, props);
|
11
8
|
};
|
@@ -1,7 +1,6 @@
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
1
3
|
var _excluded = ["title", "style"];
|
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 _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
|
-
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
4
|
import React from 'react';
|
6
5
|
import { useBem } from "../hooks/useBem";
|
7
6
|
import "./index.scss";
|
package/dist/holiday/index.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
1
3
|
var _excluded = ["showSearch"];
|
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 _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
|
-
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
4
|
import { useQuery } from '@tanstack/react-query';
|
6
5
|
import React, { useMemo } from 'react';
|
7
6
|
import { Select } from "./..";
|
package/dist/hooks/useBem.js
CHANGED
@@ -1,10 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
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(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
7
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
2
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
3
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
8
4
|
import _ from 'lodash';
|
9
5
|
import { useRef } from 'react';
|
10
6
|
var Bem = /*#__PURE__*/function () {
|
@@ -1 +1 @@
|
|
1
|
-
export declare const useRequest: () =>
|
1
|
+
export declare const useRequest: () => import("axios").AxiosInstance;
|
package/dist/image/index.js
CHANGED
@@ -1,15 +1,8 @@
|
|
1
|
-
import "
|
2
|
-
import
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
3
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
4
|
var _excluded = ["width", "height"];
|
4
|
-
|
5
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
6
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
7
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
8
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
9
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
10
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
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; }
|
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; }
|
5
|
+
import { Image as AntImage } from 'antd';
|
13
6
|
import React, { useEffect, useMemo, useState } from 'react';
|
14
7
|
import defaultImg from "./assets/default.png";
|
15
8
|
import errorImg from "./assets/error.png";
|
@@ -82,7 +75,7 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
82
75
|
height: imgHeight
|
83
76
|
},
|
84
77
|
className: preview ? '' : "".concat(mb.b('content'))
|
85
|
-
}, /*#__PURE__*/React.createElement(
|
78
|
+
}, /*#__PURE__*/React.createElement(AntImage, _extends({
|
86
79
|
className: "".concat(mb.b('img'))
|
87
80
|
}, props, {
|
88
81
|
width: passSize ? imgWidth : undefined,
|
@@ -93,4 +86,4 @@ var ImageComponent = function ImageComponent(_ref) {
|
|
93
86
|
})));
|
94
87
|
};
|
95
88
|
export var Image = ImageComponent;
|
96
|
-
Image.PreviewGroup =
|
89
|
+
Image.PreviewGroup = AntImage.PreviewGroup;
|
package/dist/index.d.ts
CHANGED
@@ -171,6 +171,7 @@ export { UserDropdown } from './user-dropdown';
|
|
171
171
|
export type { UserDropdownProps } from './user-dropdown/types/types';
|
172
172
|
export { ConfigProvider } from './config-provider';
|
173
173
|
export type { ConfigProviderProps } from './config-provider';
|
174
|
+
export { Zone } from './zones';
|
174
175
|
export { GoBack } from './go-back';
|
175
176
|
export type { GoBackProps } from './go-back';
|
176
177
|
export { VideoPlayer } from './video-player';
|
package/dist/index.js
CHANGED
@@ -92,7 +92,6 @@ export { DatePicker } from "./date-picker";
|
|
92
92
|
export { Teacher } from "./teacher";
|
93
93
|
export { UserDropdown } from "./user-dropdown";
|
94
94
|
export { ConfigProvider } from "./config-provider";
|
95
|
-
|
96
|
-
|
95
|
+
export { Zone } from "./zones";
|
97
96
|
export { GoBack } from "./go-back";
|
98
97
|
export { VideoPlayer } from "./video-player";
|
package/dist/input/index.js
CHANGED
@@ -1,9 +1,7 @@
|
|
1
|
-
import "
|
2
|
-
import
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
3
|
var _excluded = ["className"];
|
4
|
-
|
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; }
|
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; }
|
4
|
+
import { Input as AntInput } from 'antd';
|
7
5
|
import React, { forwardRef } from 'react';
|
8
6
|
import { useBem } from "../hooks/useBem";
|
9
7
|
import "./index.scss";
|
@@ -11,15 +9,15 @@ var InternalInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
11
9
|
var className = _ref.className,
|
12
10
|
rest = _objectWithoutProperties(_ref, _excluded);
|
13
11
|
var mb = useBem('input');
|
14
|
-
return /*#__PURE__*/React.createElement(
|
12
|
+
return /*#__PURE__*/React.createElement(AntInput, _extends({
|
15
13
|
className: "".concat(mb, " ").concat(className !== null && className !== void 0 ? className : '')
|
16
14
|
}, rest, {
|
17
15
|
ref: ref
|
18
16
|
}));
|
19
17
|
});
|
20
18
|
export var Input = InternalInput;
|
21
|
-
Input.Search =
|
22
|
-
Input.Group =
|
23
|
-
Input.TextArea =
|
24
|
-
Input.Password =
|
25
|
-
Input.OTP =
|
19
|
+
Input.Search = AntInput.Search;
|
20
|
+
Input.Group = AntInput.Group;
|
21
|
+
Input.TextArea = AntInput.TextArea;
|
22
|
+
Input.Password = AntInput.Password;
|
23
|
+
Input.OTP = AntInput.OTP;
|
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var InputNumber = _InputNumber;
|
1
|
+
import { InputNumber as AntInputNumber } from 'antd';
|
2
|
+
export var InputNumber = AntInputNumber;
|
package/dist/job-title/index.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
1
3
|
var _excluded = ["showSearch"];
|
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 _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
|
-
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
4
|
import { useQuery } from '@tanstack/react-query';
|
6
5
|
import React, { useMemo } from 'react';
|
7
6
|
import { Select } from "./..";
|
package/dist/layout/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Layout = _Layout;
|
1
|
+
import { Layout as AntLayout } from 'antd';
|
2
|
+
export var Layout = AntLayout;
|
package/dist/list/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var List = _List;
|
1
|
+
import { List as AntList } from 'antd';
|
2
|
+
export var List = AntList;
|
package/dist/mentions/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Mentions = _Mentions;
|
1
|
+
import { Mentions as AntMentions } from 'antd';
|
2
|
+
export var Mentions = AntMentions;
|
package/dist/menu/index.js
CHANGED
@@ -1,13 +1,12 @@
|
|
1
|
-
import "
|
2
|
-
import
|
3
|
-
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
1
|
+
import _objectDestructuringEmpty from "@babel/runtime/helpers/esm/objectDestructuringEmpty";
|
2
|
+
import { Menu as AntMenu } from 'antd';
|
4
3
|
import React from 'react';
|
5
4
|
var MenuComponent = function MenuComponent(_ref) {
|
6
5
|
var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
7
|
-
return /*#__PURE__*/React.createElement(
|
6
|
+
return /*#__PURE__*/React.createElement(AntMenu, rest);
|
8
7
|
};
|
9
8
|
export var Menu = MenuComponent;
|
10
|
-
Menu.Item =
|
11
|
-
Menu.Divider =
|
12
|
-
Menu.ItemGroup =
|
13
|
-
Menu.SubMenu =
|
9
|
+
Menu.Item = AntMenu.Item;
|
10
|
+
Menu.Divider = AntMenu.Divider;
|
11
|
+
Menu.ItemGroup = AntMenu.ItemGroup;
|
12
|
+
Menu.SubMenu = AntMenu.SubMenu;
|
package/dist/message/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var message = _message;
|
1
|
+
import { message as antMessage } from 'antd';
|
2
|
+
export var message = antMessage;
|
package/dist/modal/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Modal as AntModal, ModalProps } from 'antd';
|
2
|
-
import
|
2
|
+
import { ModalStaticFunctions } from 'antd/es/modal/confirm';
|
3
3
|
import React from 'react';
|
4
4
|
import './index.scss';
|
5
5
|
export type { ModalFuncProps, ModalLocale } from 'antd/es/modal';
|
package/dist/modal/index.js
CHANGED
@@ -1,9 +1,7 @@
|
|
1
|
-
import "
|
2
|
-
import
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
3
|
var _excluded = ["className", "children", "title"];
|
4
|
-
|
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; }
|
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; }
|
4
|
+
import { Modal as AntModal } from 'antd';
|
7
5
|
import React, { useEffect } from 'react';
|
8
6
|
import { HeaderIcon } from "./components/header-icon";
|
9
7
|
import { useBem } from "../hooks/useBem";
|
@@ -55,12 +53,12 @@ var ModalComponent = function ModalComponent(_ref) {
|
|
55
53
|
var tcb = mb.b('title').b('content');
|
56
54
|
useEffect(function () {
|
57
55
|
var svg = createColorDefs(mb);
|
58
|
-
console.log(
|
56
|
+
console.log("create color defs");
|
59
57
|
if (svg) {
|
60
58
|
document.body.appendChild(svg);
|
61
59
|
}
|
62
60
|
}, [mb]);
|
63
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(
|
61
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(AntModal, _extends({}, rest, {
|
64
62
|
className: "".concat(mb, " ").concat(className !== null && className !== void 0 ? className : ''),
|
65
63
|
title: /*#__PURE__*/React.createElement("div", {
|
66
64
|
className: "".concat(tcb)
|
@@ -72,13 +70,13 @@ var ModalComponent = function ModalComponent(_ref) {
|
|
72
70
|
}), children));
|
73
71
|
};
|
74
72
|
export var Modal = ModalComponent;
|
75
|
-
Modal.useModal =
|
76
|
-
Modal.info =
|
77
|
-
Modal.success =
|
78
|
-
Modal.error =
|
79
|
-
Modal.warning =
|
80
|
-
Modal.warn =
|
81
|
-
Modal.confirm =
|
82
|
-
Modal.destroyAll =
|
83
|
-
Modal.config =
|
84
|
-
Modal._InternalPanelDoNotUseOrYouWillBeFired =
|
73
|
+
Modal.useModal = AntModal.useModal;
|
74
|
+
Modal.info = AntModal.info;
|
75
|
+
Modal.success = AntModal.success;
|
76
|
+
Modal.error = AntModal.error;
|
77
|
+
Modal.warning = AntModal.warning;
|
78
|
+
Modal.warn = AntModal.warn;
|
79
|
+
Modal.confirm = AntModal.confirm;
|
80
|
+
Modal.destroyAll = AntModal.destroyAll;
|
81
|
+
Modal.config = AntModal.config;
|
82
|
+
Modal._InternalPanelDoNotUseOrYouWillBeFired = AntModal._InternalPanelDoNotUseOrYouWillBeFired;
|
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var notification = _notification;
|
1
|
+
import { notification as antNotification } from 'antd';
|
2
|
+
export var notification = antNotification;
|
package/dist/pagination/index.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
-
import "
|
2
|
-
import
|
3
|
-
|
4
|
-
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectDestructuringEmpty from "@babel/runtime/helpers/esm/objectDestructuringEmpty";
|
3
|
+
import { Pagination as AntPagination } from 'antd';
|
5
4
|
import React from 'react';
|
6
5
|
import { useBem } from "../hooks/useBem";
|
7
6
|
import "./index.scss";
|
@@ -17,7 +16,7 @@ export var Pagination = function Pagination(_ref) {
|
|
17
16
|
default:
|
18
17
|
_className = 'default';
|
19
18
|
}
|
20
|
-
return /*#__PURE__*/React.createElement(
|
19
|
+
return /*#__PURE__*/React.createElement(AntPagination, _extends({
|
21
20
|
className: "".concat((_rest$className = rest.className) !== null && _rest$className !== void 0 ? _rest$className : '', " ").concat(mb.m(_className))
|
22
21
|
}, rest));
|
23
22
|
};
|
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Popconfirm = _Popconfirm;
|
1
|
+
import { Popconfirm as AntPopconfirm } from 'antd';
|
2
|
+
export var Popconfirm = AntPopconfirm;
|
package/dist/popover/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Popover = _Popover;
|
1
|
+
import { Popover as AntPopover } from 'antd';
|
2
|
+
export var Popover = AntPopover;
|
package/dist/progress/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Progress = _Progress;
|
1
|
+
import { Progress as AntProgress } from 'antd';
|
2
|
+
export var Progress = AntProgress;
|
package/dist/qrcode/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var QRCode = _QRCode;
|
1
|
+
import { QRCode as AntQRCode } from 'antd';
|
2
|
+
export var QRCode = AntQRCode;
|
package/dist/radio/index.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
1
|
import { Radio as AntRadio } from 'antd';
|
2
2
|
export type { RadioChangeEvent, RadioChangeEventTarget, RadioGroupButtonStyle, RadioGroupContextProps, RadioGroupOptionType, RadioGroupProps, RadioProps, RadioRef, } from 'antd/es/radio';
|
3
|
+
export { Button, Group } from 'antd/es/radio';
|
3
4
|
export declare const Radio: typeof AntRadio;
|
package/dist/radio/index.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Radio =
|
1
|
+
import { Radio as AntRadio } from 'antd';
|
2
|
+
export { Button, Group } from 'antd/es/radio';
|
3
|
+
export var Radio = AntRadio;
|
package/dist/rate/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Rate = _Rate;
|
1
|
+
import { Rate as AntRate } from 'antd';
|
2
|
+
export var Rate = AntRate;
|
package/dist/result/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Result = _Result;
|
1
|
+
import { Result as AntResult } from 'antd';
|
2
|
+
export var Result = AntResult;
|
package/dist/role/index.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
1
3
|
var _excluded = ["showSearch"];
|
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 _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
|
-
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
4
|
import { useQuery } from '@tanstack/react-query';
|
6
5
|
import React, { useMemo } from 'react';
|
7
6
|
import { Select } from "./..";
|
package/dist/school/index.js
CHANGED
@@ -1,19 +1,9 @@
|
|
1
|
-
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
3
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
4
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
5
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
2
6
|
var _excluded = ["type", "multiple", "style", "showSearch", "value", "onChange", "allowClear", "placeholder"];
|
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); }
|
4
|
-
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; }
|
5
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
-
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; }
|
7
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
9
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
10
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
11
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
12
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
13
|
-
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
14
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
15
|
-
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
|
-
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
7
|
import { useQuery } from '@tanstack/react-query';
|
18
8
|
import React, { useEffect, useMemo, useState } from 'react';
|
19
9
|
import { Select } from "./..";
|
package/dist/segmented/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Segmented = _Segmented;
|
1
|
+
import { Segmented as AntSegmented } from 'antd';
|
2
|
+
export var Segmented = AntSegmented;
|
package/dist/select/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Select = _Select;
|
1
|
+
import { Select as AntSelect } from 'antd';
|
2
|
+
export var Select = AntSelect;
|
package/dist/skeleton/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Skeleton = _Skeleton;
|
1
|
+
import { Skeleton as AntSkeleton } from 'antd';
|
2
|
+
export var Skeleton = AntSkeleton;
|
package/dist/slider/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Slider = _Slider;
|
1
|
+
import { Slider as AntSlider } from 'antd';
|
2
|
+
export var Slider = AntSlider;
|
package/dist/space/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Space = _Space;
|
1
|
+
import { Space as AntSpace } from 'antd';
|
2
|
+
export var Space = AntSpace;
|
package/dist/spin/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Spin = _Spin;
|
1
|
+
import { Spin as AntSpin } from 'antd';
|
2
|
+
export var Spin = AntSpin;
|
package/dist/splitter/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Splitter = _Splitter;
|
1
|
+
import { Splitter as AntSplitter } from 'antd';
|
2
|
+
export var Splitter = AntSplitter;
|
package/dist/state/index.js
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
1
3
|
var _excluded = ["className", "type", "variant"];
|
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 _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
|
-
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
4
|
import React from 'react';
|
6
5
|
import { Badge as AntBadge, Tag as AntTag } from "./..";
|
7
6
|
import { useBem } from "../hooks/useBem";
|
package/dist/statistic/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Statistic = _Statistic;
|
1
|
+
import { Statistic as AntStatistic } from 'antd';
|
2
|
+
export var Statistic = AntStatistic;
|
package/dist/steps/index.js
CHANGED
@@ -1,9 +1,7 @@
|
|
1
|
-
import "
|
2
|
-
import
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
3
|
var _excluded = ["className"];
|
4
|
-
|
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; }
|
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; }
|
4
|
+
import { Steps as AntSteps } from 'antd';
|
7
5
|
import React from 'react';
|
8
6
|
import { useBem } from "../hooks/useBem";
|
9
7
|
import "./index.scss";
|
@@ -11,9 +9,9 @@ var StepsComponent = function StepsComponent(_ref) {
|
|
11
9
|
var className = _ref.className,
|
12
10
|
props = _objectWithoutProperties(_ref, _excluded);
|
13
11
|
var mb = useBem('steps');
|
14
|
-
return /*#__PURE__*/React.createElement(
|
12
|
+
return /*#__PURE__*/React.createElement(AntSteps, _extends({
|
15
13
|
className: "".concat(mb.b('content'), " ").concat(className)
|
16
14
|
}, props));
|
17
15
|
};
|
18
16
|
export var Steps = StepsComponent;
|
19
|
-
Steps.Step =
|
17
|
+
Steps.Step = AntSteps.Step;
|
@@ -1,13 +1,7 @@
|
|
1
|
-
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
3
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
2
4
|
var _excluded = ["label", "connectors", "showSearch", "optionFilterProp", "teacher_id"];
|
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); }
|
4
|
-
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; }
|
5
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
6
|
-
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; }
|
7
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
8
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
9
|
-
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
|
-
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
5
|
import { useQuery } from '@tanstack/react-query';
|
12
6
|
import React, { useMemo } from 'react';
|
13
7
|
import { Select } from "./..";
|
package/dist/switch/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Switch = _Switch;
|
1
|
+
import { Switch as AntSwitch } from 'antd';
|
2
|
+
export var Switch = AntSwitch;
|
@@ -1,7 +1,6 @@
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
1
3
|
var _excluded = ["style", "className"];
|
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 _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
|
-
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
4
|
import React, { forwardRef } from 'react';
|
6
5
|
export var DownOutlined = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
7
6
|
var style = _ref.style,
|
@@ -1,7 +1,6 @@
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
1
3
|
var _excluded = ["style", "className"];
|
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 _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
|
-
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
4
|
import React, { forwardRef } from 'react';
|
6
5
|
export var DragHandler = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
7
6
|
var style = _ref.style,
|
@@ -1,7 +1,6 @@
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
1
3
|
var _excluded = ["style", "className"];
|
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 _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
|
-
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
4
|
import React from 'react';
|
6
5
|
export var SettingFilled = function SettingFilled(_ref) {
|
7
6
|
var style = _ref.style,
|