@oceanbase/ui 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/ui.min.js +1 -1
  2. package/es/Action/Group.js +1 -1
  3. package/es/Action/Item.js +1 -1
  4. package/es/BasicLayout/Header.js +1 -1
  5. package/es/BasicLayout/index.js +1 -1
  6. package/es/BatchOperationBar/index.js +1 -1
  7. package/es/ContentWithQuestion/index.js +1 -1
  8. package/es/Dialog/index.js +1 -1
  9. package/es/FullscreenBox/index.js +1 -1
  10. package/es/GraphToolbar/index.js +1 -1
  11. package/es/Highlight/index.d.ts +0 -1
  12. package/es/Highlight/index.js +1 -1
  13. package/es/IconFont/index.js +1 -1
  14. package/es/LocaleDropdown/index.js +1 -1
  15. package/es/Login/LoginForm.js +1 -1
  16. package/es/PageContainer/index.d.ts +1 -1
  17. package/es/PageContainer/index.js +1 -1
  18. package/es/Password/Content.js +1 -1
  19. package/es/Ranger/QuickPicker.d.ts +0 -1
  20. package/es/Ranger/QuickPicker.js +1 -1
  21. package/es/SideTip/IconLoading.js +1 -1
  22. package/es/SideTip/index.js +1 -1
  23. package/es/TaskGraph/index.js +1 -1
  24. package/es/TreeSearch/index.js +1 -1
  25. package/es/Welcome/index.js +1 -1
  26. package/lib/Action/Group.js +1 -1
  27. package/lib/Action/Item.js +1 -1
  28. package/lib/BasicLayout/Header.js +1 -1
  29. package/lib/BasicLayout/index.js +1 -1
  30. package/lib/BatchOperationBar/index.js +1 -1
  31. package/lib/ContentWithQuestion/index.js +1 -1
  32. package/lib/Dialog/index.js +1 -1
  33. package/lib/FullscreenBox/index.js +1 -1
  34. package/lib/GraphToolbar/index.js +1 -1
  35. package/lib/Highlight/index.d.ts +0 -1
  36. package/lib/Highlight/index.js +1 -1
  37. package/lib/IconFont/index.js +1 -1
  38. package/lib/LocaleDropdown/index.js +1 -1
  39. package/lib/Login/LoginForm.js +1 -1
  40. package/lib/PageContainer/index.d.ts +1 -1
  41. package/lib/PageContainer/index.js +1 -1
  42. package/lib/Password/Content.js +1 -1
  43. package/lib/Ranger/QuickPicker.d.ts +0 -1
  44. package/lib/Ranger/QuickPicker.js +1 -1
  45. package/lib/SideTip/IconLoading.js +1 -1
  46. package/lib/SideTip/index.js +1 -1
  47. package/lib/TaskGraph/index.js +1 -1
  48. package/lib/TreeSearch/index.js +1 -1
  49. package/lib/Welcome/index.js +1 -1
  50. package/package.json +7 -6
@@ -5,8 +5,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
5
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
6
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
7
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
8
- import { EllipsisOutlined, LoadingOutlined } from '@ant-design/icons';
9
8
  import { Button, Dropdown, Menu, Space, Tooltip, Typography } from '@oceanbase/design';
9
+ import { EllipsisOutlined, LoadingOutlined } from '@oceanbase/icons';
10
10
  import { isBoolean, max, omit } from 'lodash';
11
11
  import React from 'react';
12
12
  var getOrder = function getOrder(_ref) {
package/es/Action/Item.js CHANGED
@@ -12,7 +12,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12
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
13
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
14
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
15
- import { LoadingOutlined } from '@ant-design/icons';
15
+ import { LoadingOutlined } from '@oceanbase/icons';
16
16
  import { Button, Tooltip, Typography } from '@oceanbase/design';
17
17
  import React from 'react';
18
18
  export var ActionButton = /*#__PURE__*/function (_React$PureComponent) {
@@ -12,7 +12,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
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
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; }
15
- import { BulbFilled, BulbOutlined, CopyrightOutlined, ReadFilled, UserOutlined } from '@ant-design/icons';
15
+ import { BulbFilled, BulbOutlined, CopyrightOutlined, ReadFilled, UserOutlined } from '@oceanbase/icons';
16
16
  import { Button, Dropdown, Menu, Modal, Space, Tooltip } from '@oceanbase/design';
17
17
  import classNames from 'classnames';
18
18
  import moment from 'moment';
@@ -12,7 +12,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
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
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; }
15
- import { CaretRightFilled, LeftOutlined, RightOutlined } from '@ant-design/icons';
15
+ import { CaretRightFilled, LeftOutlined, RightOutlined } from '@oceanbase/icons';
16
16
  import { setAlpha } from '@ant-design/pro-components';
17
17
  import { token } from '@oceanbase/design';
18
18
  import { isNullValue } from '@oceanbase/util';
@@ -10,7 +10,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
10
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
11
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
- import { DownOutlined, UpOutlined } from '@ant-design/icons';
13
+ import { DownOutlined, UpOutlined } from '@oceanbase/icons';
14
14
  import { Space } from '@oceanbase/design';
15
15
  import classnames from 'classnames';
16
16
  import { cloneDeep, isEmpty, isEqual, pullAllWith } from 'lodash';
@@ -6,7 +6,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
6
6
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
7
  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; }
8
8
  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; }
9
- import { QuestionCircleOutlined } from '@ant-design/icons';
9
+ import { QuestionCircleOutlined } from '@oceanbase/icons';
10
10
  import { Space, Tooltip } from '@oceanbase/design';
11
11
  import classNames from 'classnames';
12
12
  import React, { isValidElement } from 'react';
@@ -15,7 +15,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
15
15
  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; }
16
16
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
17
17
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
18
- import { CloseOutlined, ExpandAltOutlined, FullscreenExitOutlined, FullscreenOutlined, MinusOutlined } from '@ant-design/icons';
18
+ import { CloseOutlined, ExpandAltOutlined, FullscreenExitOutlined, FullscreenOutlined, MinusOutlined } from '@oceanbase/icons';
19
19
  import React from 'react';
20
20
  import { createPortal } from 'react-dom';
21
21
  import LocaleWrapper from "../locale/LocaleWrapper";
@@ -8,7 +8,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
8
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
9
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
10
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
- import { FullscreenExitOutlined, FullscreenOutlined } from '@ant-design/icons';
11
+ import { FullscreenExitOutlined, FullscreenOutlined } from '@oceanbase/icons';
12
12
  import classnames from 'classnames';
13
13
  import React, { useEffect, useImperativeHandle, useRef, useState } from 'react';
14
14
  import screenFull from 'screenfull';
@@ -4,7 +4,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
4
4
  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; }
5
5
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
- import { FullscreenOutlined, MinusOutlined, PlusOutlined, SyncOutlined } from '@ant-design/icons';
7
+ import { FullscreenOutlined, MinusOutlined, PlusOutlined, SyncOutlined } from '@oceanbase/icons';
8
8
  import { toPercent } from '@oceanbase/util';
9
9
  import { Divider, Space, Tooltip } from '@oceanbase/design';
10
10
  import { debounce } from 'lodash';
@@ -1,4 +1,3 @@
1
- /// <reference types="highlight.js" />
2
1
  import React from 'react';
3
2
  import type { LocaleWrapperProps } from '../locale/LocaleWrapper';
4
3
  import './index.less';
@@ -21,7 +21,7 @@ import hljs from 'highlight.js/lib/core';
21
21
  import React, { useEffect, useState } from 'react';
22
22
  import { default as javascript, default as jsx } from "./languages/javascript";
23
23
  // tsx 本质上也是采用typescript进行解析,hljs做了支持
24
- import { CheckOutlined, CopyOutlined } from '@ant-design/icons';
24
+ import { CheckOutlined, CopyOutlined } from '@oceanbase/icons';
25
25
  import { token } from '@oceanbase/design';
26
26
  import { message } from '@oceanbase/design';
27
27
  import classNames from 'classnames';
@@ -2,7 +2,7 @@ var _excluded = ["type", "className"];
2
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
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
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
- import { createFromIconfontCN } from '@ant-design/icons';
5
+ import { createFromIconfontCN } from '@oceanbase/icons';
6
6
  import React from 'react';
7
7
  import "./font/iconfont.css";
8
8
  var CustomIcon = createFromIconfontCN({
@@ -2,7 +2,7 @@ var _excluded = ["locales", "showLabel"];
2
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
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
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
- import { GlobalOutlined } from '@ant-design/icons';
5
+ import { GlobalOutlined } from '@oceanbase/icons';
6
6
  import { findByValue } from '@oceanbase/util';
7
7
  import { Dropdown, Menu, Space } from '@oceanbase/design';
8
8
  import React from 'react';
@@ -12,7 +12,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
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
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; }
15
- import { LockOutlined, SafetyCertificateOutlined, SyncOutlined, UserOutlined } from '@ant-design/icons';
15
+ import { LockOutlined, SafetyCertificateOutlined, SyncOutlined, UserOutlined } from '@oceanbase/icons';
16
16
  import { Alert, Button, Form, Input, Space } from '@oceanbase/design';
17
17
  import classNames from 'classnames';
18
18
  import React, { useState } from 'react';
@@ -1,4 +1,4 @@
1
- import type { IconComponentProps } from '@ant-design/icons/es/components/Icon';
1
+ import type { IconComponentProps } from '@oceanbase/icons/es/components/Icon';
2
2
  import type { PageContainerProps as AntPageContainerProps, PageHeaderProps as AntPageHeaderProps } from '@ant-design/pro-components';
3
3
  import React from 'react';
4
4
  export declare type ReloadType = boolean | IconComponentProps | React.ReactNode;
@@ -8,7 +8,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
8
8
  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); }
9
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
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
- import { SyncOutlined } from '@ant-design/icons';
11
+ import { SyncOutlined } from '@oceanbase/icons';
12
12
  import { PageContainer as AntPageContainer } from '@ant-design/pro-components';
13
13
  import { Space } from '@oceanbase/design';
14
14
  import classNames from 'classnames';
@@ -1,4 +1,4 @@
1
- import { CheckCircleFilled, CloseCircleFilled, LoadingOutlined } from '@ant-design/icons';
1
+ import { CheckCircleFilled, CloseCircleFilled, LoadingOutlined } from '@oceanbase/icons';
2
2
  import { Progress, Space } from '@oceanbase/design';
3
3
  import React from 'react';
4
4
  import { token } from '@oceanbase/design';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type QuickType = 'select' | 'dropdown';
3
2
  declare const _default: (props: any) => import("react").JSX.Element;
4
3
  export default _default;
@@ -8,7 +8,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
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
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
- import { ClockCircleOutlined, DownOutlined } from '@ant-design/icons';
11
+ import { ClockCircleOutlined, DownOutlined } from '@oceanbase/icons';
12
12
  import { Dropdown, Menu, Select, Space } from '@oceanbase/design';
13
13
  import classnames from 'classnames';
14
14
  import dayjs from 'dayjs';
@@ -1,5 +1,5 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import Icon from '@ant-design/icons';
2
+ import Icon from '@oceanbase/icons';
3
3
  var LoadingSvg = function LoadingSvg() {
4
4
  return /*#__PURE__*/React.createElement("svg", {
5
5
  version: "1.1",
@@ -9,7 +9,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
9
9
  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; }
10
10
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
11
11
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
- import { CloseOutlined } from '@ant-design/icons';
12
+ import { CloseOutlined } from '@oceanbase/icons';
13
13
  import { Badge, Tooltip } from '@oceanbase/design';
14
14
  import classnames from 'classnames';
15
15
  import React, { createRef, useEffect, useState } from 'react';
@@ -13,7 +13,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
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
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; }
15
15
  //@ts-nocheck
16
- import { DownOutlined, UpOutlined } from '@ant-design/icons';
16
+ import { DownOutlined, UpOutlined } from '@oceanbase/icons';
17
17
  import { Spin, Tabs } from '@oceanbase/design';
18
18
  import { find, noop } from 'lodash';
19
19
  import React, { useState } from 'react';
@@ -4,7 +4,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
4
4
  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; }
5
5
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
- import { SearchOutlined } from '@ant-design/icons';
7
+ import { SearchOutlined } from '@oceanbase/icons';
8
8
  import { Divider, Empty, Form, Input, Tree } from '@oceanbase/design';
9
9
  import React, { forwardRef, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
10
10
  import { deepFilter, findFromTree, getAllOptions, nodes2treeNodes, treeNode2node } from "./util";
@@ -6,7 +6,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
6
6
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
7
7
  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; }
8
8
  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; }
9
- import { PlusOutlined } from '@ant-design/icons';
9
+ import { PlusOutlined } from '@oceanbase/icons';
10
10
  import { Button, Card, Col, Row } from '@oceanbase/design';
11
11
  import classNames from 'classnames';
12
12
  import React from 'react';
@@ -32,8 +32,8 @@ __export(Group_exports, {
32
32
  default: () => Group_default
33
33
  });
34
34
  module.exports = __toCommonJS(Group_exports);
35
- var import_icons = require("@ant-design/icons");
36
35
  var import_design = require("@oceanbase/design");
36
+ var import_icons = require("@oceanbase/icons");
37
37
  var import_lodash = require("lodash");
38
38
  var import_react = __toESM(require("react"));
39
39
  var getOrder = ({ type, fixed }) => {
@@ -33,7 +33,7 @@ __export(Item_exports, {
33
33
  ActionLink: () => ActionLink
34
34
  });
35
35
  module.exports = __toCommonJS(Item_exports);
36
- var import_icons = require("@ant-design/icons");
36
+ var import_icons = require("@oceanbase/icons");
37
37
  var import_design = require("@oceanbase/design");
38
38
  var import_react = __toESM(require("react"));
39
39
  var ActionButton = class extends import_react.default.PureComponent {
@@ -32,7 +32,7 @@ __export(Header_exports, {
32
32
  default: () => Header_default
33
33
  });
34
34
  module.exports = __toCommonJS(Header_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_design = require("@oceanbase/design");
37
37
  var import_classnames = __toESM(require("classnames"));
38
38
  var import_moment = __toESM(require("moment"));
@@ -32,7 +32,7 @@ __export(BasicLayout_exports, {
32
32
  default: () => BasicLayout_default
33
33
  });
34
34
  module.exports = __toCommonJS(BasicLayout_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_pro_components = require("@ant-design/pro-components");
37
37
  var import_design = require("@oceanbase/design");
38
38
  var import_util = require("@oceanbase/util");
@@ -32,7 +32,7 @@ __export(BatchOperationBar_exports, {
32
32
  default: () => BatchOperationBar_default
33
33
  });
34
34
  module.exports = __toCommonJS(BatchOperationBar_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_design = require("@oceanbase/design");
37
37
  var import_classnames = __toESM(require("classnames"));
38
38
  var import_lodash = require("lodash");
@@ -32,7 +32,7 @@ __export(ContentWithQuestion_exports, {
32
32
  default: () => ContentWithQuestion_default
33
33
  });
34
34
  module.exports = __toCommonJS(ContentWithQuestion_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_design = require("@oceanbase/design");
37
37
  var import_classnames = __toESM(require("classnames"));
38
38
  var import_react = __toESM(require("react"));
@@ -32,7 +32,7 @@ __export(Dialog_exports, {
32
32
  default: () => Dialog_default
33
33
  });
34
34
  module.exports = __toCommonJS(Dialog_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_react = __toESM(require("react"));
37
37
  var import_react_dom = require("react-dom");
38
38
  var import_LocaleWrapper = __toESM(require("../locale/LocaleWrapper"));
@@ -32,7 +32,7 @@ __export(FullscreenBox_exports, {
32
32
  default: () => FullscreenBox_default
33
33
  });
34
34
  module.exports = __toCommonJS(FullscreenBox_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_classnames = __toESM(require("classnames"));
37
37
  var import_react = __toESM(require("react"));
38
38
  var import_screenfull = __toESM(require("screenfull"));
@@ -33,7 +33,7 @@ __export(GraphToolbar_exports, {
33
33
  getCenterPointByGraph: () => getCenterPointByGraph
34
34
  });
35
35
  module.exports = __toCommonJS(GraphToolbar_exports);
36
- var import_icons = require("@ant-design/icons");
36
+ var import_icons = require("@oceanbase/icons");
37
37
  var import_util = require("@oceanbase/util");
38
38
  var import_design = require("@oceanbase/design");
39
39
  var import_lodash = require("lodash");
@@ -1,4 +1,3 @@
1
- /// <reference types="highlight.js" />
2
1
  import React from 'react';
3
2
  import type { LocaleWrapperProps } from '../locale/LocaleWrapper';
4
3
  import './index.less';
@@ -39,7 +39,7 @@ module.exports = __toCommonJS(Highlight_exports);
39
39
  var import_core = __toESM(require("highlight.js/lib/core"));
40
40
  var import_react = __toESM(require("react"));
41
41
  var import_javascript = __toESM(require("./languages/javascript"));
42
- var import_icons = require("@ant-design/icons");
42
+ var import_icons = require("@oceanbase/icons");
43
43
  var import_design = require("@oceanbase/design");
44
44
  var import_design2 = require("@oceanbase/design");
45
45
  var import_classnames = __toESM(require("classnames"));
@@ -32,7 +32,7 @@ __export(IconFont_exports, {
32
32
  default: () => IconFont_default
33
33
  });
34
34
  module.exports = __toCommonJS(IconFont_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_react = __toESM(require("react"));
37
37
  var import_iconfont = require("./font/iconfont.css");
38
38
  var CustomIcon = (0, import_icons.createFromIconfontCN)({
@@ -32,7 +32,7 @@ __export(LocaleDropdown_exports, {
32
32
  default: () => LocaleDropdown_default
33
33
  });
34
34
  module.exports = __toCommonJS(LocaleDropdown_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_util = require("@oceanbase/util");
37
37
  var import_design = require("@oceanbase/design");
38
38
  var import_react = __toESM(require("react"));
@@ -32,7 +32,7 @@ __export(LoginForm_exports, {
32
32
  default: () => LoginForm_default
33
33
  });
34
34
  module.exports = __toCommonJS(LoginForm_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_design = require("@oceanbase/design");
37
37
  var import_classnames = __toESM(require("classnames"));
38
38
  var import_react = __toESM(require("react"));
@@ -1,4 +1,4 @@
1
- import type { IconComponentProps } from '@ant-design/icons/es/components/Icon';
1
+ import type { IconComponentProps } from '@oceanbase/icons/es/components/Icon';
2
2
  import type { PageContainerProps as AntPageContainerProps, PageHeaderProps as AntPageHeaderProps } from '@ant-design/pro-components';
3
3
  import React from 'react';
4
4
  export declare type ReloadType = boolean | IconComponentProps | React.ReactNode;
@@ -32,7 +32,7 @@ __export(PageContainer_exports, {
32
32
  default: () => PageContainer_default
33
33
  });
34
34
  module.exports = __toCommonJS(PageContainer_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_pro_components = require("@ant-design/pro-components");
37
37
  var import_design = require("@oceanbase/design");
38
38
  var import_classnames = __toESM(require("classnames"));
@@ -32,7 +32,7 @@ __export(Content_exports, {
32
32
  default: () => Content_default
33
33
  });
34
34
  module.exports = __toCommonJS(Content_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_design = require("@oceanbase/design");
37
37
  var import_react = __toESM(require("react"));
38
38
  var import_design2 = require("@oceanbase/design");
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type QuickType = 'select' | 'dropdown';
3
2
  declare const _default: (props: any) => import("react").JSX.Element;
4
3
  export default _default;
@@ -32,7 +32,7 @@ __export(QuickPicker_exports, {
32
32
  default: () => QuickPicker_default
33
33
  });
34
34
  module.exports = __toCommonJS(QuickPicker_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_design = require("@oceanbase/design");
37
37
  var import_classnames = __toESM(require("classnames"));
38
38
  var import_dayjs = __toESM(require("dayjs"));
@@ -32,7 +32,7 @@ __export(IconLoading_exports, {
32
32
  default: () => IconLoading_default
33
33
  });
34
34
  module.exports = __toCommonJS(IconLoading_exports);
35
- var import_icons = __toESM(require("@ant-design/icons"));
35
+ var import_icons = __toESM(require("@oceanbase/icons"));
36
36
  var LoadingSvg = () => /* @__PURE__ */ React.createElement(
37
37
  "svg",
38
38
  {
@@ -32,7 +32,7 @@ __export(SideTip_exports, {
32
32
  default: () => SideTip_default
33
33
  });
34
34
  module.exports = __toCommonJS(SideTip_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_design = require("@oceanbase/design");
37
37
  var import_classnames = __toESM(require("classnames"));
38
38
  var import_react = __toESM(require("react"));
@@ -32,7 +32,7 @@ __export(TaskGraph_exports, {
32
32
  default: () => TaskGraph_default
33
33
  });
34
34
  module.exports = __toCommonJS(TaskGraph_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_design = require("@oceanbase/design");
37
37
  var import_lodash = require("lodash");
38
38
  var import_react = __toESM(require("react"));
@@ -32,7 +32,7 @@ __export(TreeSearch_exports, {
32
32
  default: () => TreeSearch_default
33
33
  });
34
34
  module.exports = __toCommonJS(TreeSearch_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_design = require("@oceanbase/design");
37
37
  var import_react = __toESM(require("react"));
38
38
  var import_util = require("./util");
@@ -32,7 +32,7 @@ __export(Welcome_exports, {
32
32
  default: () => Welcome_default
33
33
  });
34
34
  module.exports = __toCommonJS(Welcome_exports);
35
- var import_icons = require("@ant-design/icons");
35
+ var import_icons = require("@oceanbase/icons");
36
36
  var import_design = require("@oceanbase/design");
37
37
  var import_classnames = __toESM(require("classnames"));
38
38
  var import_react = __toESM(require("react"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oceanbase/ui",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "The UI library based on OceanBase Design",
5
5
  "keywords": [
6
6
  "OceanBase",
@@ -28,17 +28,18 @@
28
28
  "lib",
29
29
  "dist",
30
30
  "package.json",
31
- "README.md"
31
+ "README.md",
32
+ "LICENSE"
32
33
  ],
33
34
  "scripts": {
34
35
  "build": "father build"
35
36
  },
36
37
  "dependencies": {
37
38
  "@ant-design/cssinjs": "^1.9.1",
38
- "@ant-design/icons": "^4.2.1",
39
39
  "@ant-design/pro-components": "^2.4.12",
40
- "@oceanbase/design": "^0.2.1",
41
- "@oceanbase/util": "^0.2.0",
40
+ "@oceanbase/design": "^0.2.3",
41
+ "@oceanbase/icons": "^0.2.1",
42
+ "@oceanbase/util": "^0.2.2",
42
43
  "ahooks": "^2.10.0",
43
44
  "classnames": "^2.2.6",
44
45
  "dayjs": "^1.11.6",
@@ -66,5 +67,5 @@
66
67
  "react-dom": "^16.9.0",
67
68
  "react-router-dom": ">=5.2.0"
68
69
  },
69
- "gitHead": "d7c5c1d62f48b75337d34c2d7ba03f4bb1b2a068"
70
+ "gitHead": "5a88960beda0d6a5b64ab4454e79c784b1535adb"
70
71
  }