@oceanbase/ui 0.2.2 → 0.2.4
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/ui.min.js +1 -1
- package/es/Action/Group.js +1 -1
- package/es/Action/Item.js +1 -1
- package/es/BackgroundTaskManager/index.d.ts +2 -2
- package/es/BackgroundTaskManager/index.js +1 -1
- package/es/BasicLayout/Header.js +1 -1
- package/es/BasicLayout/index.js +1 -1
- package/es/BatchOperationBar/index.js +1 -1
- package/es/Boundary/index.d.ts +0 -1
- package/es/ContentWithQuestion/index.js +1 -1
- package/es/Dialog/index.js +1 -1
- package/es/DocDialog/index.js +1 -1
- package/es/FullscreenBox/index.js +1 -1
- package/es/GraphToolbar/index.js +1 -1
- package/es/Highlight/JsonView.d.ts +1 -0
- package/es/Highlight/index.js +1 -1
- package/es/IconFont/index.js +1 -1
- package/es/LocaleDropdown/index.js +1 -1
- package/es/Login/LoginForm.js +1 -1
- package/es/PageContainer/index.d.ts +1 -1
- package/es/PageContainer/index.js +1 -1
- package/es/Password/Content.js +1 -1
- package/es/Ranger/QuickPicker.d.ts +2 -1
- package/es/Ranger/QuickPicker.js +2 -2
- package/es/Ranger/Ranger.js +1 -1
- package/es/SideTip/IconLoading.d.ts +2 -1
- package/es/SideTip/IconLoading.js +2 -1
- package/es/SideTip/index.js +1 -1
- package/es/TaskGraph/index.js +1 -1
- package/es/TreeSearch/index.js +1 -1
- package/es/TreeSearch/util.d.ts +1 -0
- package/es/Welcome/index.js +1 -1
- package/lib/Action/Group.js +1 -1
- package/lib/Action/Item.js +1 -1
- package/lib/Action/index.js +1 -1
- package/lib/BackgroundTaskManager/index.d.ts +2 -2
- package/lib/BackgroundTaskManager/index.js +12 -2
- package/lib/BasicLayout/Header.js +1 -1
- package/lib/BasicLayout/index.js +1 -1
- package/lib/BatchOperationBar/index.js +1 -1
- package/lib/Boundary/index.d.ts +0 -1
- package/lib/Boundary/index.js +1 -1
- package/lib/ContentWithQuestion/index.js +1 -1
- package/lib/Dialog/index.js +1 -1
- package/lib/DocDialog/index.js +2 -2
- package/lib/FullscreenBox/index.js +1 -1
- package/lib/GraphToolbar/index.js +1 -1
- package/lib/Highlight/JsonView.d.ts +1 -0
- package/lib/Highlight/index.js +1 -1
- package/lib/IconFont/index.js +1 -1
- package/lib/LocaleDropdown/index.js +1 -1
- package/lib/Login/LoginForm.js +1 -1
- package/lib/PageContainer/index.d.ts +1 -1
- package/lib/PageContainer/index.js +1 -1
- package/lib/Password/Content.js +1 -1
- package/lib/Ranger/QuickPicker.d.ts +2 -1
- package/lib/Ranger/QuickPicker.js +10 -10
- package/lib/Ranger/Ranger.js +3 -3
- package/lib/Ranger/index.js +1 -1
- package/lib/SideTip/IconLoading.d.ts +2 -1
- package/lib/SideTip/IconLoading.js +6 -5
- package/lib/SideTip/index.js +1 -1
- package/lib/TaskGraph/index.js +1 -1
- package/lib/TreeSearch/index.js +1 -1
- package/lib/TreeSearch/util.d.ts +1 -0
- package/lib/Welcome/index.js +1 -1
- package/package.json +5 -5
package/es/Action/Group.js
CHANGED
|
@@ -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 '@
|
|
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) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { GlobalConfigProps, NotificationInstance } from 'antd/es/notification/interface';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
export declare enum NotificationApi {
|
|
4
4
|
success = "success",
|
|
5
5
|
error = "error",
|
|
@@ -45,5 +45,5 @@ interface IProps {
|
|
|
45
45
|
rollingFrequency?: number;
|
|
46
46
|
prefix: Namespace;
|
|
47
47
|
}
|
|
48
|
-
declare const _default:
|
|
48
|
+
declare const _default: React.ForwardRefExoticComponent<IProps & React.RefAttributes<BackgroundTaskManagerRef>>;
|
|
49
49
|
export default _default;
|
|
@@ -11,7 +11,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
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
13
|
import { notification } from '@oceanbase/design';
|
|
14
|
-
import { forwardRef, useCallback, useEffect, useImperativeHandle, useMemo, useState } from 'react';
|
|
14
|
+
import React, { forwardRef, useCallback, useEffect, useImperativeHandle, useMemo, useState } from 'react';
|
|
15
15
|
import { REFRESH_FREQUENCY } from "./constants";
|
|
16
16
|
import { RefreshMan } from "./RefreshMan";
|
|
17
17
|
|
package/es/BasicLayout/Header.js
CHANGED
|
@@ -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 '@
|
|
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';
|
package/es/BasicLayout/index.js
CHANGED
|
@@ -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 '@
|
|
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 '@
|
|
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';
|
package/es/Boundary/index.d.ts
CHANGED
|
@@ -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 '@
|
|
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';
|
package/es/Dialog/index.js
CHANGED
|
@@ -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 '@
|
|
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";
|
package/es/DocDialog/index.js
CHANGED
|
@@ -11,7 +11,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
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
13
|
import { debounce } from 'lodash';
|
|
14
|
-
import { useEffect, useMemo, useState } from 'react';
|
|
14
|
+
import React, { useEffect, useMemo, useState } from 'react';
|
|
15
15
|
import { useLocation } from 'react-router-dom';
|
|
16
16
|
import Dialog from "../Dialog";
|
|
17
17
|
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 '@
|
|
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';
|
package/es/GraphToolbar/index.js
CHANGED
|
@@ -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 '@
|
|
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';
|
package/es/Highlight/index.js
CHANGED
|
@@ -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 '@
|
|
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';
|
package/es/IconFont/index.js
CHANGED
|
@@ -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 '@
|
|
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 '@
|
|
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';
|
package/es/Login/LoginForm.js
CHANGED
|
@@ -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 '@
|
|
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 '@
|
|
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 '@
|
|
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';
|
package/es/Password/Content.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckCircleFilled, CloseCircleFilled, LoadingOutlined } from '@
|
|
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';
|
package/es/Ranger/QuickPicker.js
CHANGED
|
@@ -8,13 +8,13 @@ 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 '@
|
|
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';
|
|
15
15
|
import { noop } from 'lodash';
|
|
16
16
|
import moment from 'moment';
|
|
17
|
-
import { useEffect, useState } from 'react';
|
|
17
|
+
import React, { useEffect, useState } from 'react';
|
|
18
18
|
import { getPrefix } from "../_util";
|
|
19
19
|
import { CUSTOMIZE } from "./constant";
|
|
20
20
|
var prefix = getPrefix('ranger-quick-picker');
|
package/es/Ranger/Ranger.js
CHANGED
|
@@ -12,7 +12,7 @@ import { DatePicker, Space } from '@oceanbase/design';
|
|
|
12
12
|
import dayjs from 'dayjs';
|
|
13
13
|
import { isNil, noop, omit } from 'lodash';
|
|
14
14
|
import moment from 'moment';
|
|
15
|
-
import { useEffect, useMemo, useState } from 'react';
|
|
15
|
+
import React, { useEffect, useMemo, useState } from 'react';
|
|
16
16
|
import LocaleWrapper from "../locale/LocaleWrapper";
|
|
17
17
|
import { getPrefix } from "../_util";
|
|
18
18
|
import { CUSTOMIZE, DATE_TIME_FORMAT, NEAR_1_HOURS, NEAR_1_MINUTES, NEAR_30_MINUTES } from "./constant";
|
|
@@ -1,5 +1,6 @@
|
|
|
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
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Icon from '@oceanbase/icons';
|
|
3
4
|
var LoadingSvg = function LoadingSvg() {
|
|
4
5
|
return /*#__PURE__*/React.createElement("svg", {
|
|
5
6
|
version: "1.1",
|
package/es/SideTip/index.js
CHANGED
|
@@ -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 '@
|
|
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';
|
package/es/TaskGraph/index.js
CHANGED
|
@@ -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 '@
|
|
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';
|
package/es/TreeSearch/index.js
CHANGED
|
@@ -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 '@
|
|
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";
|
package/es/TreeSearch/util.d.ts
CHANGED
package/es/Welcome/index.js
CHANGED
|
@@ -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 '@
|
|
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';
|
package/lib/Action/Group.js
CHANGED
|
@@ -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 }) => {
|
package/lib/Action/Item.js
CHANGED
|
@@ -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("@
|
|
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 {
|
package/lib/Action/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// src/Action/index.
|
|
29
|
+
// src/Action/index.ts
|
|
30
30
|
var Action_exports = {};
|
|
31
31
|
__export(Action_exports, {
|
|
32
32
|
default: () => Action_default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { GlobalConfigProps, NotificationInstance } from 'antd/es/notification/interface';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
export declare enum NotificationApi {
|
|
4
4
|
success = "success",
|
|
5
5
|
error = "error",
|
|
@@ -45,5 +45,5 @@ interface IProps {
|
|
|
45
45
|
rollingFrequency?: number;
|
|
46
46
|
prefix: Namespace;
|
|
47
47
|
}
|
|
48
|
-
declare const _default:
|
|
48
|
+
declare const _default: React.ForwardRefExoticComponent<IProps & React.RefAttributes<BackgroundTaskManagerRef>>;
|
|
49
49
|
export default _default;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __export = (target, all) => {
|
|
6
8
|
for (var name in all)
|
|
@@ -14,6 +16,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
14
16
|
}
|
|
15
17
|
return to;
|
|
16
18
|
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
17
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
28
|
|
|
19
29
|
// src/BackgroundTaskManager/index.tsx
|
|
@@ -25,7 +35,7 @@ __export(BackgroundTaskManager_exports, {
|
|
|
25
35
|
});
|
|
26
36
|
module.exports = __toCommonJS(BackgroundTaskManager_exports);
|
|
27
37
|
var import_design = require("@oceanbase/design");
|
|
28
|
-
var import_react = require("react");
|
|
38
|
+
var import_react = __toESM(require("react"));
|
|
29
39
|
var import_constants = require("./constants");
|
|
30
40
|
var import_RefreshMan = require("./RefreshMan");
|
|
31
41
|
var NotificationApi = /* @__PURE__ */ ((NotificationApi2) => {
|
|
@@ -152,7 +162,7 @@ var BackgroundTaskManager_default = (0, import_react.forwardRef)((props, ref) =>
|
|
|
152
162
|
window.removeEventListener("beforeunload", onUnload);
|
|
153
163
|
};
|
|
154
164
|
}, [queue, preset]);
|
|
155
|
-
return /* @__PURE__ */
|
|
165
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, !!taskQueue.length && /* @__PURE__ */ import_react.default.createElement(import_RefreshMan.RefreshMan, { run, rollingFrequency }));
|
|
156
166
|
});
|
|
157
167
|
// Annotate the CommonJS export names for ESM import in node:
|
|
158
168
|
0 && (module.exports = {
|
|
@@ -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("@
|
|
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"));
|
package/lib/BasicLayout/index.js
CHANGED
|
@@ -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("@
|
|
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("@
|
|
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");
|
package/lib/Boundary/index.d.ts
CHANGED
package/lib/Boundary/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
};
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
18
|
|
|
19
|
-
// src/Boundary/index.
|
|
19
|
+
// src/Boundary/index.ts
|
|
20
20
|
var Boundary_exports = {};
|
|
21
21
|
__export(Boundary_exports, {
|
|
22
22
|
default: () => Boundary_default
|
|
@@ -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("@
|
|
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/lib/Dialog/index.js
CHANGED
|
@@ -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("@
|
|
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"));
|
package/lib/DocDialog/index.js
CHANGED
|
@@ -33,7 +33,7 @@ __export(DocDialog_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(DocDialog_exports);
|
|
35
35
|
var import_lodash = require("lodash");
|
|
36
|
-
var import_react = require("react");
|
|
36
|
+
var import_react = __toESM(require("react"));
|
|
37
37
|
var import_react_router_dom = require("react-router-dom");
|
|
38
38
|
var import_Dialog = __toESM(require("../Dialog"));
|
|
39
39
|
var import_LocaleWrapper = __toESM(require("../locale/LocaleWrapper"));
|
|
@@ -127,7 +127,7 @@ var DocDialogComp = (props) => {
|
|
|
127
127
|
setRootWidth,
|
|
128
128
|
setVisible
|
|
129
129
|
]);
|
|
130
|
-
return /* @__PURE__ */
|
|
130
|
+
return /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement(import_Dialog.default, { ...DialogProps }, /* @__PURE__ */ import_react.default.createElement("iframe", { src: currentLink })));
|
|
131
131
|
};
|
|
132
132
|
var DocDialog_default = (0, import_LocaleWrapper.default)({
|
|
133
133
|
componentName: "DocDialog",
|
|
@@ -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("@
|
|
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("@
|
|
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");
|
package/lib/Highlight/index.js
CHANGED
|
@@ -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("@
|
|
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"));
|
package/lib/IconFont/index.js
CHANGED
|
@@ -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("@
|
|
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("@
|
|
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"));
|
package/lib/Login/LoginForm.js
CHANGED
|
@@ -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("@
|
|
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 '@
|
|
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("@
|
|
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"));
|
package/lib/Password/Content.js
CHANGED
|
@@ -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("@
|
|
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");
|