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
@@ -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 UpOutlined = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
7
6
|
var style = _ref.style,
|
@@ -1,15 +1,9 @@
|
|
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 = ["rowKey"],
|
3
5
|
_excluded2 = ["children", "className", "style"],
|
4
6
|
_excluded3 = ["key"];
|
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); }
|
6
|
-
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; }
|
7
|
-
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; }
|
8
|
-
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; }
|
9
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
10
|
-
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); }
|
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; }
|
13
7
|
import { DndContext } from '@dnd-kit/core';
|
14
8
|
import { restrictToVerticalAxis } from '@dnd-kit/modifiers';
|
15
9
|
import { SortableContext, useSortable, verticalListSortingStrategy } from '@dnd-kit/sortable';
|
@@ -1,13 +1,7 @@
|
|
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";
|
1
4
|
var _excluded = ["children", "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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
4
|
-
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."); }
|
5
|
-
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); }
|
6
|
-
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; }
|
7
|
-
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; } }
|
8
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
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 React, { useContext, useState } from 'react';
|
12
6
|
import { useBem } from "../../../hooks/useBem";
|
13
7
|
import { TableRowContext } from "../..";
|
package/dist/table/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { TableProps as AntTableProps } from 'antd';
|
2
2
|
import { Table as AntTable } from 'antd';
|
3
|
-
import
|
4
|
-
import
|
3
|
+
import { AnyObject } from 'antd/es/_util/type';
|
4
|
+
import { ColumnType as AntColumnType } from 'antd/es/table';
|
5
5
|
import React from 'react';
|
6
6
|
import './index.scss';
|
7
7
|
type AntTableType = typeof AntTable;
|
package/dist/table/index.js
CHANGED
@@ -1,25 +1,17 @@
|
|
1
|
-
import "
|
2
|
-
import
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
3
|
+
import _typeof from "@babel/runtime/helpers/esm/typeof";
|
4
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
5
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3
6
|
var _excluded = ["type", "showSetting", "columns", "components", "persistKeys", "headerBgColor", "headerTextColor"];
|
4
|
-
|
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; }
|
6
|
-
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; }
|
7
|
-
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; }
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
9
|
-
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); }
|
10
|
-
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); }
|
11
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
12
|
-
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."); }
|
13
|
-
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); }
|
14
|
-
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; }
|
15
|
-
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; } }
|
16
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
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; }
|
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; }
|
7
|
+
import { Table as AntTable } from 'antd';
|
19
8
|
import React, { forwardRef, useEffect, useMemo, useState } from 'react';
|
20
9
|
import { PrimaryHeaderRow } from "./components/primary-header-row";
|
21
10
|
import { arrayMove } from "../utils/utils";
|
22
11
|
import { PrimaryTBodyRow } from "./components/primary-tbody-row";
|
12
|
+
|
13
|
+
// import { RefTable } from 'antd/es/table/interface';
|
14
|
+
|
23
15
|
import "./index.scss";
|
24
16
|
export var TableRowContext = /*#__PURE__*/React.createContext({});
|
25
17
|
var InternalTable = function InternalTable(_ref, ref) {
|
@@ -151,7 +143,7 @@ var InternalTable = function InternalTable(_ref, ref) {
|
|
151
143
|
headerBgColor: headerBgColor,
|
152
144
|
headerTextColor: headerTextColor
|
153
145
|
}
|
154
|
-
}, /*#__PURE__*/React.createElement(
|
146
|
+
}, /*#__PURE__*/React.createElement(AntTable, _extends({}, rest, {
|
155
147
|
ref: ref,
|
156
148
|
columns: filterColumns(innerColumns, keys),
|
157
149
|
components: _components
|
@@ -159,11 +151,11 @@ var InternalTable = function InternalTable(_ref, ref) {
|
|
159
151
|
};
|
160
152
|
var Table = /*#__PURE__*/forwardRef(InternalTable);
|
161
153
|
Table.displayName = 'Table';
|
162
|
-
Table.Column =
|
163
|
-
Table.ColumnGroup =
|
164
|
-
Table.EXPAND_COLUMN =
|
165
|
-
Table.SELECTION_ALL =
|
166
|
-
Table.SELECTION_COLUMN =
|
167
|
-
Table.SELECTION_INVERT =
|
168
|
-
Table.Summary =
|
154
|
+
Table.Column = AntTable.Column;
|
155
|
+
Table.ColumnGroup = AntTable.ColumnGroup;
|
156
|
+
Table.EXPAND_COLUMN = AntTable.EXPAND_COLUMN;
|
157
|
+
Table.SELECTION_ALL = AntTable.SELECTION_ALL;
|
158
|
+
Table.SELECTION_COLUMN = AntTable.SELECTION_COLUMN;
|
159
|
+
Table.SELECTION_INVERT = AntTable.SELECTION_INVERT;
|
160
|
+
Table.Summary = AntTable.Summary;
|
169
161
|
export { Table };
|
package/dist/tabs/index.js
CHANGED
@@ -1,17 +1,8 @@
|
|
1
|
-
import "
|
2
|
-
import
|
3
|
-
import "
|
4
|
-
import _Radio from "antd/es/radio";
|
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";
|
5
4
|
var _excluded = ["size", "capsule", "className", "items", "onChange", "activeKey", "destroyInactiveTabPane", "isTabMargin"];
|
6
|
-
|
7
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
8
|
-
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."); }
|
9
|
-
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); }
|
10
|
-
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; }
|
11
|
-
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; } }
|
12
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
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; }
|
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; }
|
5
|
+
import { Tabs as AntTabs, Radio } from 'antd';
|
15
6
|
import React, { useEffect, useState } from 'react';
|
16
7
|
import { useBem } from "../hooks/useBem";
|
17
8
|
import "./index.scss";
|
@@ -74,7 +65,7 @@ export var TabsComponent = function TabsComponent(_ref) {
|
|
74
65
|
style: {
|
75
66
|
paddingBottom: isTabMargin ? 16 : 0
|
76
67
|
}
|
77
|
-
}, /*#__PURE__*/React.createElement(
|
68
|
+
}, /*#__PURE__*/React.createElement(Radio.Group, {
|
78
69
|
value: key,
|
79
70
|
onChange: function onChange(e) {
|
80
71
|
setKey(e.target.value);
|
@@ -84,7 +75,7 @@ export var TabsComponent = function TabsComponent(_ref) {
|
|
84
75
|
_onChange === null || _onChange === void 0 || _onChange(e.target.value);
|
85
76
|
}
|
86
77
|
}, items === null || items === void 0 ? void 0 : items.map(function (item) {
|
87
|
-
return /*#__PURE__*/React.createElement(
|
78
|
+
return /*#__PURE__*/React.createElement(Radio.Button, {
|
88
79
|
key: item.key,
|
89
80
|
value: item.key
|
90
81
|
}, item.label);
|
@@ -101,7 +92,7 @@ export var TabsComponent = function TabsComponent(_ref) {
|
|
101
92
|
display: key === item.key ? 'block' : 'none'
|
102
93
|
}
|
103
94
|
}, item.children);
|
104
|
-
}))) : /*#__PURE__*/React.createElement(
|
95
|
+
}))) : /*#__PURE__*/React.createElement(AntTabs, _extends({
|
105
96
|
activeKey: key,
|
106
97
|
size: size,
|
107
98
|
items: items,
|
@@ -114,4 +105,4 @@ export var TabsComponent = function TabsComponent(_ref) {
|
|
114
105
|
}, rest)));
|
115
106
|
};
|
116
107
|
export var Tabs = TabsComponent;
|
117
|
-
Tabs.TabPane =
|
108
|
+
Tabs.TabPane = AntTabs.TabPane;
|
package/dist/tag/index.js
CHANGED
@@ -1,16 +1,15 @@
|
|
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 { Tag as AntTag } from 'antd';
|
5
4
|
import React from 'react';
|
6
5
|
import { useBem } from "../hooks/useBem";
|
7
6
|
import "./index.scss";
|
8
7
|
export var TagComponent = function TagComponent(_ref) {
|
9
8
|
var props = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
|
10
9
|
var mb = useBem('tag');
|
11
|
-
return /*#__PURE__*/React.createElement(
|
10
|
+
return /*#__PURE__*/React.createElement(AntTag, _extends({
|
12
11
|
className: "".concat(mb.e('text'))
|
13
12
|
}, props));
|
14
13
|
};
|
15
14
|
export var Tag = TagComponent;
|
16
|
-
Tag.CheckableTag =
|
15
|
+
Tag.CheckableTag = AntTag.CheckableTag;
|
package/dist/teacher/index.js
CHANGED
@@ -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 = ["placeholder", "label", "connectors", "showSearch"];
|
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 "./..";
|
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var TimePicker = _TimePicker;
|
1
|
+
import { TimePicker as AntTimePicker } from 'antd';
|
2
|
+
export var TimePicker = AntTimePicker;
|
package/dist/timeline/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Timeline = _Timeline;
|
1
|
+
import { Timeline as AntTimeline } from 'antd';
|
2
|
+
export var Timeline = AntTimeline;
|
package/dist/tooltip/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Tooltip = _Tooltip;
|
1
|
+
import { Tooltip as AntTooltip } from 'antd';
|
2
|
+
export var Tooltip = AntTooltip;
|
package/dist/tour/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Tour = _Tour;
|
1
|
+
import { Tour as AntTour } from 'antd';
|
2
|
+
export var Tour = AntTour;
|
package/dist/transfer/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Transfer = _Transfer;
|
1
|
+
import { Transfer as AntTransfer } from 'antd';
|
2
|
+
export var Transfer = AntTransfer;
|
@@ -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 BedIcon = /*#__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 CampusIcon = /*#__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 DeptIcon = /*#__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 FloorIcon = /*#__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 RoomIcon = /*#__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 SchoolIcon = /*#__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 TierlIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
7
6
|
var style = _ref.style,
|
package/dist/tree/index.js
CHANGED
@@ -1,25 +1,10 @@
|
|
1
|
-
|
2
|
-
import "
|
3
|
-
import
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
2
|
+
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
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";
|
4
6
|
var _excluded = ["className", "treeData", "placeholder", "showChildNumbers", "showIcon", "showSearch", "type", "notRequireSchool", "titleRender"];
|
5
|
-
|
6
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
7
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
8
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
9
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
10
|
-
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; }
|
11
|
-
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; }
|
12
|
-
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; }
|
13
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
14
|
-
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); }
|
15
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
16
|
-
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."); }
|
17
|
-
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); }
|
18
|
-
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; }
|
19
|
-
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; } }
|
20
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
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; }
|
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; }
|
7
|
+
import { Tree as AntTree } from 'antd';
|
23
8
|
import React, { forwardRef, useCallback, useEffect, useMemo, useState } from 'react';
|
24
9
|
import { Input } from "./..";
|
25
10
|
import "./index.scss";
|
@@ -223,7 +208,7 @@ export var TreeInternal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
223
208
|
}, /*#__PURE__*/React.createElement(Search, {
|
224
209
|
placeholder: placeholder,
|
225
210
|
onChange: onChange
|
226
|
-
})) : null, /*#__PURE__*/React.createElement(
|
211
|
+
})) : null, /*#__PURE__*/React.createElement(AntTree, _extends({
|
227
212
|
ref: ref,
|
228
213
|
onExpand: onExpand,
|
229
214
|
expandedKeys: expandedKeys,
|
@@ -234,4 +219,4 @@ export var TreeInternal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
234
219
|
}, props)));
|
235
220
|
});
|
236
221
|
export var Tree = TreeInternal;
|
237
|
-
Tree.AntdTree =
|
222
|
+
Tree.AntdTree = AntTree;
|
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var TreeSelect = _TreeSelect;
|
1
|
+
import { TreeSelect as AntTreeSelect } from 'antd';
|
2
|
+
export var TreeSelect = AntTreeSelect;
|
package/dist/typography/index.js
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
export var Typography = _Typography;
|
1
|
+
import { Typography as AntTypography } from 'antd';
|
2
|
+
export var Typography = AntTypography;
|
@@ -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 AgainIcon = /*#__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 DeleteIcon = /*#__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 DeleteImage = /*#__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 SuccessIcon = /*#__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 UpLoadIconAdd = /*#__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 UploadIcon = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
7
6
|
var style = _ref.style,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { UploadFile } from 'antd';
|
2
2
|
import React from 'react';
|
3
3
|
import '../index.scss';
|
4
|
-
import
|
4
|
+
import { UploadRef } from 'antd/es/upload/Upload';
|
5
5
|
declare const FileUpload: React.ForwardRefExoticComponent<import("antd").UploadProps<any> & {
|
6
6
|
maxCount?: number | undefined;
|
7
7
|
accept?: string | undefined;
|