@oceanbase/ui 1.0.0-alpha.5 → 1.0.0-alpha.7

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 (131) hide show
  1. package/dist/static/Inter-Medium.ea234620.woff2 +0 -0
  2. package/dist/static/Inter-Regular.34ba43c9.woff2 +0 -0
  3. package/dist/static/Inter-SemiBold.95439fb4.woff2 +0 -0
  4. package/dist/ui.min.css +1 -1
  5. package/dist/ui.min.js +1 -1
  6. package/es/BasicLayout/locale/ja-JP.js +6 -6
  7. package/es/Boundary/locale/en-US.js +1 -1
  8. package/es/Boundary/locale/ja-JP.js +4 -4
  9. package/es/Boundary/locale/zh-CN.js +1 -1
  10. package/es/Boundary/locale/zh-TW.js +1 -1
  11. package/es/DateRanger/locale/ja-JP.js +3 -3
  12. package/es/Dialog/locale/ja-JP.js +2 -2
  13. package/es/Dialog/locale/zh-CN.js +1 -1
  14. package/es/Dialog/locale/zh-TW.js +1 -1
  15. package/es/Login/locale/ja-JP.js +11 -11
  16. package/es/Login/locale/zh-CN.js +2 -2
  17. package/es/PageContainer/index.d.ts +2 -0
  18. package/es/PageContainer/index.js +74 -23
  19. package/es/PageContainer/locale/en-US.d.ts +1 -0
  20. package/es/PageContainer/locale/en-US.js +2 -1
  21. package/es/PageContainer/locale/ja-JP.d.ts +1 -0
  22. package/es/PageContainer/locale/ja-JP.js +2 -1
  23. package/es/PageContainer/locale/zh-CN.d.ts +1 -0
  24. package/es/PageContainer/locale/zh-CN.js +2 -1
  25. package/es/PageContainer/locale/zh-TW.d.ts +1 -0
  26. package/es/PageContainer/locale/zh-TW.js +2 -1
  27. package/es/PageContainer/style/index.js +16 -2
  28. package/es/Password/locale/ja-JP.js +6 -6
  29. package/es/ProTable/style/index.js +8 -4
  30. package/es/_util/genComponentStyleHook.d.ts +2 -2
  31. package/es/_util/genComponentStyleHook.js +1 -1
  32. package/es/index.d.ts +0 -4
  33. package/es/index.js +0 -2
  34. package/es/locale/en-US.js +0 -4
  35. package/es/locale/ja-JP.js +0 -4
  36. package/es/locale/zh-CN.js +0 -4
  37. package/es/locale/zh-TW.js +0 -4
  38. package/lib/BasicLayout/locale/ja-JP.js +6 -6
  39. package/lib/Boundary/locale/en-US.js +1 -1
  40. package/lib/Boundary/locale/ja-JP.js +4 -4
  41. package/lib/Boundary/locale/zh-CN.js +1 -1
  42. package/lib/Boundary/locale/zh-TW.js +1 -1
  43. package/lib/DateRanger/locale/ja-JP.js +3 -3
  44. package/lib/Dialog/locale/ja-JP.js +2 -2
  45. package/lib/Dialog/locale/zh-CN.js +1 -1
  46. package/lib/Dialog/locale/zh-TW.js +1 -1
  47. package/lib/Login/locale/ja-JP.js +11 -11
  48. package/lib/Login/locale/zh-CN.js +2 -2
  49. package/lib/PageContainer/index.d.ts +2 -0
  50. package/lib/PageContainer/index.js +49 -2
  51. package/lib/PageContainer/locale/en-US.d.ts +1 -0
  52. package/lib/PageContainer/locale/en-US.js +2 -1
  53. package/lib/PageContainer/locale/ja-JP.d.ts +1 -0
  54. package/lib/PageContainer/locale/ja-JP.js +2 -1
  55. package/lib/PageContainer/locale/zh-CN.d.ts +1 -0
  56. package/lib/PageContainer/locale/zh-CN.js +2 -1
  57. package/lib/PageContainer/locale/zh-TW.d.ts +1 -0
  58. package/lib/PageContainer/locale/zh-TW.js +2 -1
  59. package/lib/PageContainer/style/index.js +17 -1
  60. package/lib/Password/locale/ja-JP.js +6 -6
  61. package/lib/ProTable/style/index.js +11 -1
  62. package/lib/_util/genComponentStyleHook.d.ts +2 -2
  63. package/lib/_util/genComponentStyleHook.js +1 -1
  64. package/lib/index.d.ts +0 -4
  65. package/lib/index.js +0 -6
  66. package/lib/locale/en-US.js +16 -20
  67. package/lib/locale/ja-JP.js +16 -20
  68. package/lib/locale/zh-CN.js +17 -21
  69. package/lib/locale/zh-TW.js +15 -19
  70. package/package.json +4 -4
  71. package/dist/static/Inter.f6bcdfb6.woff2 +0 -0
  72. package/es/GraphToolbar/index.d.ts +0 -25
  73. package/es/GraphToolbar/index.js +0 -149
  74. package/es/GraphToolbar/locale/en-US.d.ts +0 -9
  75. package/es/GraphToolbar/locale/en-US.js +0 -8
  76. package/es/GraphToolbar/locale/ja-JP.d.ts +0 -9
  77. package/es/GraphToolbar/locale/ja-JP.js +0 -8
  78. package/es/GraphToolbar/locale/zh-CN.d.ts +0 -9
  79. package/es/GraphToolbar/locale/zh-CN.js +0 -8
  80. package/es/GraphToolbar/locale/zh-TW.d.ts +0 -9
  81. package/es/GraphToolbar/locale/zh-TW.js +0 -8
  82. package/es/GraphToolbar/style/index.d.ts +0 -10
  83. package/es/GraphToolbar/style/index.js +0 -60
  84. package/es/TaskGraph/Graph/style/index.d.ts +0 -10
  85. package/es/TaskGraph/Graph/style/index.js +0 -28
  86. package/es/TaskGraph/Graph.d.ts +0 -23
  87. package/es/TaskGraph/Graph.js +0 -287
  88. package/es/TaskGraph/index.d.ts +0 -15
  89. package/es/TaskGraph/index.js +0 -181
  90. package/es/TaskGraph/locale/en-US.d.ts +0 -13
  91. package/es/TaskGraph/locale/en-US.js +0 -12
  92. package/es/TaskGraph/locale/ja-JP.d.ts +0 -13
  93. package/es/TaskGraph/locale/ja-JP.js +0 -12
  94. package/es/TaskGraph/locale/zh-CN.d.ts +0 -13
  95. package/es/TaskGraph/locale/zh-CN.js +0 -12
  96. package/es/TaskGraph/locale/zh-TW.d.ts +0 -13
  97. package/es/TaskGraph/locale/zh-TW.js +0 -12
  98. package/es/TaskGraph/register.d.ts +0 -7
  99. package/es/TaskGraph/register.js +0 -200
  100. package/es/TaskGraph/style/index.d.ts +0 -10
  101. package/es/TaskGraph/style/index.js +0 -102
  102. package/lib/GraphToolbar/index.d.ts +0 -25
  103. package/lib/GraphToolbar/index.js +0 -169
  104. package/lib/GraphToolbar/locale/en-US.d.ts +0 -9
  105. package/lib/GraphToolbar/locale/en-US.js +0 -32
  106. package/lib/GraphToolbar/locale/ja-JP.d.ts +0 -9
  107. package/lib/GraphToolbar/locale/ja-JP.js +0 -32
  108. package/lib/GraphToolbar/locale/zh-CN.d.ts +0 -9
  109. package/lib/GraphToolbar/locale/zh-CN.js +0 -32
  110. package/lib/GraphToolbar/locale/zh-TW.d.ts +0 -9
  111. package/lib/GraphToolbar/locale/zh-TW.js +0 -32
  112. package/lib/GraphToolbar/style/index.d.ts +0 -10
  113. package/lib/GraphToolbar/style/index.js +0 -91
  114. package/lib/TaskGraph/Graph/style/index.d.ts +0 -10
  115. package/lib/TaskGraph/Graph/style/index.js +0 -56
  116. package/lib/TaskGraph/Graph.d.ts +0 -23
  117. package/lib/TaskGraph/Graph.js +0 -275
  118. package/lib/TaskGraph/index.d.ts +0 -15
  119. package/lib/TaskGraph/index.js +0 -171
  120. package/lib/TaskGraph/locale/en-US.d.ts +0 -13
  121. package/lib/TaskGraph/locale/en-US.js +0 -36
  122. package/lib/TaskGraph/locale/ja-JP.d.ts +0 -13
  123. package/lib/TaskGraph/locale/ja-JP.js +0 -36
  124. package/lib/TaskGraph/locale/zh-CN.d.ts +0 -13
  125. package/lib/TaskGraph/locale/zh-CN.js +0 -36
  126. package/lib/TaskGraph/locale/zh-TW.d.ts +0 -13
  127. package/lib/TaskGraph/locale/zh-TW.js +0 -36
  128. package/lib/TaskGraph/register.d.ts +0 -7
  129. package/lib/TaskGraph/register.js +0 -205
  130. package/lib/TaskGraph/style/index.d.ts +0 -10
  131. package/lib/TaskGraph/style/index.js +0 -143
@@ -1,12 +1,12 @@
1
1
  export default {
2
2
  help: 'ヘルプ',
3
3
  welcome: 'ウェルカムページ',
4
- versionNotice: 'バージョン通知',
5
- viewDocs: 'ユーザーマニュアルを表示',
6
- downloadDocs: 'ユーザーマニュアルをダウンロード',
7
- about: 'について',
4
+ versionNotice: '更新情報',
5
+ viewDocs: 'マニュアルを見る',
6
+ downloadDocs: 'マニュアルをダウンロード',
7
+ about: '製品について',
8
8
  version: 'バージョン',
9
9
  releaseTime: 'リリース日',
10
- company: '北京奥星贝斯科技有限公司',
11
- right: '著作権所有'
10
+ company: 'Beijing OceanBase Technology Co., Ltd.',
11
+ right: 'All Rights Reserved'
12
12
  };
@@ -4,7 +4,7 @@ export default {
4
4
  noPage: 'This page was not found',
5
5
  normal: 'normal operation',
6
6
  test: 'Click to test crash effect',
7
- collapse: 'The page crashed ~',
7
+ collapse: 'The page crashed',
8
8
  incompatible: 'Incompatible browser version',
9
9
  proposal: 'The browser version is too low. In order to avoid possible security risks, it is recommended to use Chrome browser version 80 or above'
10
10
  };
@@ -3,8 +3,8 @@ export default {
3
3
  noPermission: 'このページへのアクセス権限がありません',
4
4
  noPage: 'このページが見つかりません',
5
5
  normal: '正常動作',
6
- test: 'クリックしてクラッシュ効果をテスト',
7
- collapse: 'ページがクラッシュしました~',
8
- incompatible: 'ブラウザバージョンが互換性がありません',
9
- proposal: 'ブラウザバージョンが低すぎます。セキュリティリスクを避けるため、Chrome ブラウザのバージョン 80 以上を使用することをお勧めします'
6
+ test: 'クリックしてクラッシュをテスト',
7
+ collapse: 'ページがクラッシュしました',
8
+ incompatible: 'ブラウザがサポートされていません',
9
+ proposal: 'ブラウザのバージョンが古すぎます。セキュリティリスクを避けるため、Chrome 80以上のご利用をおすすめします'
10
10
  };
@@ -4,7 +4,7 @@ export default {
4
4
  noPage: '此页面未找到',
5
5
  normal: '正常运行',
6
6
  test: '点击测试崩溃效果',
7
- collapse: '页面崩溃了~',
7
+ collapse: '页面崩溃了',
8
8
  incompatible: '浏览器版本不兼容',
9
9
  proposal: '浏览器版本过低,为避免可能存在的安全隐患,建议使用Chrome浏览器的80及以上版本'
10
10
  };
@@ -4,7 +4,7 @@ export default {
4
4
  noPage: '此頁面未找到',
5
5
  normal: '正常運行',
6
6
  test: '點擊測試崩潰效果',
7
- collapse: '頁面崩潰了~',
7
+ collapse: '頁面崩潰了',
8
8
  incompatible: '流覽器版本不相容',
9
9
  proposal: '流覽器版本過低,為避免可能存在的安全隱患,建議使用Chrome瀏覽器的80及以上版本'
10
10
  };
@@ -13,8 +13,8 @@ export default _objectSpread({
13
13
  endDate: '終了日',
14
14
  endTime: '終了時刻',
15
15
  cancel: 'キャンセル',
16
- confirm: '確定',
16
+ confirm: 'OK',
17
17
  current: '現在',
18
- jumpBack: '前の時間間隔にジャンプ',
19
- jumpForward: '次の時間間隔にジャンプ'
18
+ jumpBack: '前の期間へ',
19
+ jumpForward: '次の期間へ'
20
20
  }, ja_JP);
@@ -1,4 +1,4 @@
1
1
  export default {
2
- helpDocument: 'ヘルプドキュメント',
3
- openHelpCenter: 'ドキュメントセンターを開く'
2
+ helpDocument: 'ヘルプ',
3
+ openHelpCenter: 'ドキュメントセンターで開く'
4
4
  };
@@ -1,4 +1,4 @@
1
1
  export default {
2
2
  helpDocument: '帮助文档',
3
- openHelpCenter: '文档中心打开'
3
+ openHelpCenter: '打开文档中心'
4
4
  };
@@ -1,4 +1,4 @@
1
1
  export default {
2
2
  helpDocument: '幫助文檔',
3
- openHelpCenter: '文檔中心打開'
3
+ openHelpCenter: '打開文檔中心'
4
4
  };
@@ -1,27 +1,27 @@
1
1
  export default {
2
- usernamePlaceholder: 'アカウントを入力してください',
3
- usernameMessage: 'アカウントを入力してください',
2
+ usernamePlaceholder: 'ユーザー名を入力してください',
3
+ usernameMessage: 'ユーザー名を入力してください',
4
4
  passwordPlaceholder: 'パスワードを入力してください',
5
5
  passwordMessage: 'パスワードを入力してください',
6
6
  loginText: 'ログイン',
7
- otherLoginText: 'サードパーティログイン',
8
- isLoadingWarn: '実行中',
7
+ otherLoginText: '外部アカウントでログイン',
8
+ isLoadingWarn: '処理中',
9
9
  usernameLabel: 'ユーザー名',
10
- switchLoginLabel: '既存アカウントでログイン',
11
- switchRegisterLabel: 'アカウント登録',
10
+ switchLoginLabel: '既存アカウントにログイン',
11
+ switchRegisterLabel: 'アカウントを作成',
12
12
  userExistMessage: 'ユーザー名は既に存在します',
13
13
  usernameFormatMessage: 'ユーザー名の形式が要件を満たしていません',
14
14
  samePasswordMessage: '確認パスワードが一致しません',
15
- usernameHelp: '英字、数字、アンダースコア、特殊文字 (._+@#$%) をサポート、長さ 4~48 文字',
15
+ usernameHelp: '半角英数字、アンダースコア、特殊文字 (._+@#$%) が使用可能です(448文字)',
16
16
  usernameLengthMessage: 'ユーザー名の長さは 4~48 文字',
17
17
  passwordLabel: 'パスワード',
18
- passwordHelp: '少なくとも 2 桁の数字、2 文字の大文字、2 文字の小文字、2 文字の特殊文字 (._+@#$%) を含み、長さ 8~32 文字',
18
+ passwordHelp: '数字、大文字、小文字、特殊文字 (._+@#$%) をそれぞれ2文字以上含み、832文字で入力してください',
19
19
  confirmPwdLabel: 'パスワード確認',
20
20
  confirmPwdMessage: 'パスワードを再度入力してください',
21
21
  registerBtn: '今すぐ登録',
22
22
  registerTitle: 'アカウント登録',
23
23
  activeTitle: 'パスワードを設定してアカウントを有効化',
24
- activeTitleDescrition: 'アカウントのセキュリティのため、パスワードを設定してアカウントを有効化する必要があります',
25
- activeSubmitBtn: '有効化',
26
- activeBackBtn: '前のステップに戻る'
24
+ activeTitleDescrition: 'セキュリティ保護のため、パスワードを設定してアカウントを有効化してください',
25
+ activeSubmitBtn: '有効化する',
26
+ activeBackBtn: '戻る'
27
27
  };
@@ -1,6 +1,6 @@
1
1
  export default {
2
- usernamePlaceholder: '请输入账号',
3
- usernameMessage: '请输入账号',
2
+ usernamePlaceholder: '请输入用户名',
3
+ usernameMessage: '请输入用户名',
4
4
  passwordPlaceholder: '请输入密码',
5
5
  passwordMessage: '请输入密码',
6
6
  loginText: '登录',
@@ -4,9 +4,11 @@ import React from 'react';
4
4
  export type ReloadType = boolean | IconComponentProps | React.ReactNode;
5
5
  export interface PageContainerLocale {
6
6
  reload?: string;
7
+ viewDocument?: string;
7
8
  }
8
9
  export type PageHeaderProps = AntPageHeaderProps & {
9
10
  reload?: ReloadType;
11
+ document?: string | React.MouseEventHandler<HTMLAnchorElement> | React.ReactNode;
10
12
  };
11
13
  export interface PageContainerProps extends AntPageContainerProps {
12
14
  header?: PageHeaderProps;
@@ -7,12 +7,13 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
7
7
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
8
  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; }
9
9
  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; }
10
+ import { useUniqueInlineId } from '@inline-svg-unique-id/react';
10
11
  import { ArrowLeftOutlined, SyncOutlined } from '@oceanbase/icons';
11
12
  import { PageContainer as AntPageContainer } from '@ant-design/pro-components';
12
13
  import classNames from 'classnames';
13
14
  import { isObject } from 'lodash';
14
15
  import React, { useContext } from 'react';
15
- import { Button, ConfigProvider, Space, Tooltip, theme } from '@oceanbase/design';
16
+ import { Button, ConfigProvider, Divider, Space, Tooltip, theme } from '@oceanbase/design';
16
17
  import LocaleWrapper from "../locale/LocaleWrapper";
17
18
  import ItemRender from "./ItemRender";
18
19
  import PageLoading from "../PageLoading";
@@ -20,19 +21,49 @@ import zhCN from "./locale/zh-CN";
20
21
  import useStyle from "./style";
21
22
  import { jsx as _jsx } from "react/jsx-runtime";
22
23
  import { jsxs as _jsxs } from "react/jsx-runtime";
23
- var PageContainer = function PageContainer(_ref) {
24
- var customizePrefixCls = _ref.prefixCls,
25
- className = _ref.className,
26
- title = _ref.title,
27
- header = _ref.header,
28
- content = _ref.content,
29
- extraContent = _ref.extraContent,
30
- tabList = _ref.tabList,
31
- tabBarExtraContent = _ref.tabBarExtraContent,
32
- footerToolBarProps = _ref.footerToolBarProps,
33
- locale = _ref.locale,
34
- loading = _ref.loading,
35
- restProps = _objectWithoutProperties(_ref, _excluded);
24
+ var DocumentIcon = function DocumentIcon(_ref) {
25
+ var className = _ref.className;
26
+ var _id = useUniqueInlineId();
27
+ return /*#__PURE__*/_jsxs("svg", {
28
+ width: "16",
29
+ height: "16",
30
+ viewBox: "0 0 16 16",
31
+ fill: "none",
32
+ xmlns: "http://www.w3.org/2000/svg",
33
+ className: className,
34
+ children: [/*#__PURE__*/_jsx("g", {
35
+ clipPath: "url(#".concat(_id, ")"),
36
+ children: /*#__PURE__*/_jsx("path", {
37
+ d: "M7.99992 4.66667C7.99992 3.95942 7.71897 3.28115 7.21887 2.78105C6.71877 2.28095 6.0405 2 5.33325 2H1.33325V12H5.99992C6.53035 12 7.03906 12.2107 7.41413 12.5858C7.78921 12.9609 7.99992 13.4696 7.99992 14M7.99992 4.66667V14M7.99992 4.66667C7.99992 3.95942 8.28087 3.28115 8.78097 2.78105C9.28106 2.28095 9.95934 2 10.6666 2H14.6666V12H9.99992C9.46949 12 8.96078 12.2107 8.5857 12.5858C8.21063 12.9609 7.99992 13.4696 7.99992 14",
38
+ stroke: "currentColor",
39
+ strokeLinecap: "round",
40
+ strokeLinejoin: "round"
41
+ })
42
+ }), /*#__PURE__*/_jsx("defs", {
43
+ children: /*#__PURE__*/_jsx("clipPath", {
44
+ id: _id,
45
+ children: /*#__PURE__*/_jsx("rect", {
46
+ width: "16",
47
+ height: "16",
48
+ fill: "white"
49
+ })
50
+ })
51
+ })]
52
+ });
53
+ };
54
+ var PageContainer = function PageContainer(_ref2) {
55
+ var customizePrefixCls = _ref2.prefixCls,
56
+ className = _ref2.className,
57
+ title = _ref2.title,
58
+ header = _ref2.header,
59
+ content = _ref2.content,
60
+ extraContent = _ref2.extraContent,
61
+ tabList = _ref2.tabList,
62
+ tabBarExtraContent = _ref2.tabBarExtraContent,
63
+ footerToolBarProps = _ref2.footerToolBarProps,
64
+ locale = _ref2.locale,
65
+ loading = _ref2.loading,
66
+ restProps = _objectWithoutProperties(_ref2, _excluded);
36
67
  var _useContext = useContext(ConfigProvider.ConfigContext),
37
68
  getPrefixCls = _useContext.getPrefixCls;
38
69
  var rootPrefixCls = getPrefixCls();
@@ -41,26 +72,46 @@ var PageContainer = function PageContainer(_ref) {
41
72
  wrapSSR = _useStyle.wrapSSR;
42
73
  var _theme$useToken = theme.useToken(),
43
74
  token = _theme$useToken.token;
44
- var _ref2 = header || {},
45
- reload = _ref2.reload,
46
- subTitle = _ref2.subTitle,
47
- breadcrumb = _ref2.breadcrumb,
48
- _ref2$backIcon = _ref2.backIcon,
49
- backIcon = _ref2$backIcon === void 0 ? /*#__PURE__*/_jsx(Button, {
75
+ var _ref3 = header || {},
76
+ reload = _ref3.reload,
77
+ subTitle = _ref3.subTitle,
78
+ document = _ref3.document,
79
+ breadcrumb = _ref3.breadcrumb,
80
+ _ref3$backIcon = _ref3.backIcon,
81
+ backIcon = _ref3$backIcon === void 0 ? /*#__PURE__*/_jsx(Button, {
50
82
  style: {
51
83
  fontSize: token.fontSizeLG
52
84
  },
53
85
  icon: /*#__PURE__*/_jsx(ArrowLeftOutlined, {})
54
- }) : _ref2$backIcon;
86
+ }) : _ref3$backIcon;
55
87
  var reloadProps = isObject(reload) && ! /*#__PURE__*/React.isValidElement(reload) ? reload : {};
56
88
  var reloadCls = classNames("".concat(rootPrefixCls, "-page-header-heading-reload"), reloadProps.className);
57
- var newSubTitle = (reload || subTitle) && /*#__PURE__*/_jsxs(Space, {
89
+ var documentLink = typeof document === 'string' ? document : undefined;
90
+ var documentClick = typeof document === 'function' ? document : undefined;
91
+ var newSubTitle = (reload || subTitle || document) && /*#__PURE__*/_jsxs(Space, {
58
92
  children: [reload && /*#__PURE__*/_jsx(Tooltip, {
59
93
  title: locale.reload,
60
94
  children: isObject(reload) && /*#__PURE__*/React.isValidElement(reload) ? reload : /*#__PURE__*/_jsx(SyncOutlined, _objectSpread(_objectSpread({}, reloadProps), {}, {
61
95
  className: reloadCls
62
96
  }))
63
- }), subTitle]
97
+ }), subTitle, document && /*#__PURE__*/_jsxs(Space, {
98
+ children: [/*#__PURE__*/_jsx(Divider, {
99
+ type: "vertical",
100
+ className: "".concat(rootPrefixCls, "-page-header-heading-document-divider")
101
+ }), documentLink || documentClick ? /*#__PURE__*/_jsx(Tooltip, {
102
+ title: locale.viewDocument,
103
+ children: /*#__PURE__*/_jsx("a", {
104
+ href: documentLink,
105
+ target: "_blank",
106
+ rel: "noopener noreferrer",
107
+ onClick: documentClick,
108
+ children: /*#__PURE__*/_jsx("span", {
109
+ className: "".concat(rootPrefixCls, "-page-header-heading-document-icon"),
110
+ children: /*#__PURE__*/_jsx(DocumentIcon, {})
111
+ })
112
+ })
113
+ }) : document]
114
+ })]
64
115
  });
65
116
  var newHeader = header && _objectSpread(_objectSpread({}, header), {}, {
66
117
  subTitle: newSubTitle,
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
2
  reload: string;
3
+ viewDocument: string;
3
4
  };
4
5
  export default _default;
@@ -1,3 +1,4 @@
1
1
  export default {
2
- reload: 'Reload'
2
+ reload: 'Reload',
3
+ viewDocument: 'View Document'
3
4
  };
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
2
  reload: string;
3
+ viewDocument: string;
3
4
  };
4
5
  export default _default;
@@ -1,3 +1,4 @@
1
1
  export default {
2
- reload: '更新'
2
+ reload: '再読み込み',
3
+ viewDocument: 'ドキュメントを見る'
3
4
  };
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
2
  reload: string;
3
+ viewDocument: string;
3
4
  };
4
5
  export default _default;
@@ -1,3 +1,4 @@
1
1
  export default {
2
- reload: '刷新'
2
+ reload: '刷新',
3
+ viewDocument: '查看文档'
3
4
  };
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
2
  reload: string;
3
+ viewDocument: string;
3
4
  };
4
5
  export default _default;
@@ -1,3 +1,4 @@
1
1
  export default {
2
- reload: '重新加載'
2
+ reload: '重新加載',
3
+ viewDocument: '查看文檔'
3
4
  };
@@ -12,7 +12,6 @@ export var genPageContainerStyle = function genPageContainerStyle(token) {
12
12
  componentCls = token.componentCls,
13
13
  colorBgLayout = token.colorBgLayout,
14
14
  fontSizeHeading2 = token.fontSizeHeading2,
15
- controlHeightLG = token.controlHeightLG,
16
15
  padding = token.padding,
17
16
  paddingLG = token.paddingLG;
18
17
  return _objectSpread(_defineProperty(_defineProperty(_defineProperty({}, "".concat(componentCls), _defineProperty(_defineProperty(_defineProperty({
@@ -20,7 +19,7 @@ export var genPageContainerStyle = function genPageContainerStyle(token) {
20
19
  backgroundColor: colorBgLayout
21
20
  }, "".concat(proComponentsCls, "-grid-content"), {
22
21
  minHeight: 'auto'
23
- }), "".concat(componentCls, "-warp-page-header,").concat(componentCls, "-wrap-page-header"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
22
+ }), "".concat(componentCls, "-warp-page-header,").concat(componentCls, "-wrap-page-header"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
24
23
  // 减小内容区左右两侧间距
25
24
  paddingInlineStart: "".concat(token.paddingXL, "px !important"),
26
25
  paddingInlineEnd: "".concat(token.paddingXL, "px !important"),
@@ -33,11 +32,26 @@ export var genPageContainerStyle = function genPageContainerStyle(token) {
33
32
  paddingBlockStart: 0
34
33
  }), "".concat(antCls, "-page-header-heading-title"), {
35
34
  fontSize: fontSizeHeading2,
35
+ fontWeight: token.fontWeightStrong,
36
36
  marginInlineEnd: token.marginXS
37
37
  }), "".concat(antCls, "-page-header-heading-reload"), {
38
38
  cursor: 'pointer',
39
39
  fontSize: token.fontSizeLG,
40
40
  marginTop: token.marginXXS
41
+ }), "".concat(antCls, "-page-header-heading-document-divider"), {
42
+ marginInline: 0,
43
+ height: token.size
44
+ }), "".concat(antCls, "-page-header-heading-document-icon"), {
45
+ display: 'inline-block',
46
+ color: token.colorIcon,
47
+ marginTop: (token.controlHeight - token.fontSizeLG) / 2,
48
+ cursor: 'pointer',
49
+ '&:hover': {
50
+ color: token.colorLinkHover
51
+ },
52
+ '&:active': {
53
+ color: token.colorLinkActive
54
+ }
41
55
  }), "".concat(antCls, "-page-header-heading-left"), {
42
56
  marginBlock: 0
43
57
  }), "".concat(antCls, "-page-header-heading-extra"), {
@@ -1,12 +1,12 @@
1
1
  export default {
2
2
  lengthRuleMessage: '長さは 8~32 文字',
3
- charRuleMessage: '英字、数字、特殊文字(~!@#%^&*_-+=|(){}[]:;,.?/`$"<>\\)のみを含むことができます',
4
- strengthRuleMessage: '大文字、小文字、数字、特殊文字をそれぞれ少なくとも 2 文字含む必要があります',
3
+ charRuleMessage: '英字、数字、および特殊文字(~!@#%^&*_-+= (){}[]:;,.?/`$"<>\)のみ使用可能',
4
+ strengthRuleMessage: '大文字・小文字・数字・特殊文字をそれぞれ2文字以上含める必要があります',
5
5
  placeholder: 'パスワードを入力してください',
6
- generatePlaceholder: '入力するかランダム生成',
6
+ generatePlaceholder: '入力またはランダム生成',
7
7
  randomlyGenerate: 'ランダム生成',
8
- pleaseRememberYourPassword: 'パスワードを覚えて適切に保存してください',
8
+ pleaseRememberYourPassword: 'パスワードを必ず保存してください',
9
9
  copySuccessfully: 'コピー成功',
10
- copyPassword: 'パスワードをコピー',
11
- andKeepItProperly: '適切に保存'
10
+ copyPassword: 'パスワードをコピーし',
11
+ andKeepItProperly: '適切に保管してください'
12
12
  };
@@ -12,15 +12,19 @@ export var genProTableStyle = function genProTableStyle(token) {
12
12
  componentCls = token.componentCls,
13
13
  proComponentsCls = token.proComponentsCls;
14
14
  var proCardComponentCls = "".concat(proComponentsCls, "-card");
15
- return _objectSpread(_defineProperty({}, "".concat(componentCls), _defineProperty(_defineProperty(_defineProperty({}, "".concat(proComponentsCls, "-query-filter-actions"), _defineProperty({}, "".concat(antCls, "-space").concat(antCls, "-space-horizontal").concat(antCls, "-space-align-center"), {
15
+ return _objectSpread(_defineProperty({}, "".concat(componentCls), _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(proComponentsCls, "-query-filter-actions"), _defineProperty({}, "".concat(antCls, "-space").concat(antCls, "-space-horizontal").concat(antCls, "-space-align-center"), {
16
16
  flexDirection: 'row-reverse'
17
17
  })), "& > ".concat(proCardComponentCls, ", ").concat(proCardComponentCls).concat(componentCls, "-search-light-filter"), {
18
18
  boxShadow: 'none !important'
19
- }), "".concat(proCardComponentCls).concat(proCardComponentCls, "-no-padding"), _objectSpread(_defineProperty({}, "".concat(proCardComponentCls, "-body"), _defineProperty({
19
+ }), "".concat(proCardComponentCls, ":not(").concat(proCardComponentCls, "-no-divider)"), _defineProperty({}, "".concat(proCardComponentCls, "-body"), _defineProperty({}, "".concat(componentCls, "-list-toolbar-container"), {
20
+ borderBottom: "".concat(token.lineWidth, "px solid ").concat(token.colorBorderSecondary)
21
+ }))), "".concat(proCardComponentCls).concat(proCardComponentCls, "-no-padding"), _objectSpread(_defineProperty({}, "".concat(proCardComponentCls, "-body"), _defineProperty({
20
22
  paddingInline: 0
21
- }, "".concat(componentCls, "-list-toolbar-container"), {
23
+ }, "".concat(componentCls, "-list-toolbar-container"), _defineProperty({
22
24
  paddingInline: token.paddingLG
23
- })), Card.genTableStyle(token.paddingLG, _objectSpread(_objectSpread({}, token), {}, {
25
+ }, "".concat(componentCls, "-list-toolbar-title"), {
26
+ fontWeight: token.fontWeightStrong
27
+ }))), Card.genTableStyle(token.paddingLG, _objectSpread(_objectSpread({}, token), {}, {
24
28
  componentCls: proCardComponentCls
25
29
  }))))), genProCardStyle(token, proCardComponentCls));
26
30
  };
@@ -1,6 +1,6 @@
1
- import type { ProAliasToken } from '@ant-design/pro-components';
2
- import type { GenerateStyle } from '@oceanbase/design/es/theme';
3
1
  import React from 'react';
2
+ import type { GenerateStyle } from '@oceanbase/design/es/theme';
3
+ import type { ProAliasToken } from '@ant-design/pro-components';
4
4
  export interface OBToken extends ProAliasToken {
5
5
  /** Wrap component class with `.` prefix */
6
6
  componentCls: string;
@@ -4,9 +4,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  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; }
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
6
  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); }
7
- import { useStyle } from '@ant-design/pro-components';
8
7
  import React from 'react';
9
8
  import { ConfigProvider } from '@oceanbase/design';
9
+ import { useStyle } from '@ant-design/pro-components';
10
10
  export function genComponentStyleHook(componentName, styleFn) {
11
11
  return function (prefixCls) {
12
12
  var _React$useContext = React.useContext(ConfigProvider.ConfigContext),
package/es/index.d.ts CHANGED
@@ -19,8 +19,6 @@ export { default as DocDialog } from './DocDialog';
19
19
  export type { DocDialogProps } from './DocDialog';
20
20
  export { default as FullscreenBox } from './FullscreenBox';
21
21
  export type { FullscreenBoxProps } from './FullscreenBox';
22
- export { default as GraphToolbar } from './GraphToolbar';
23
- export type { GraphToolbarProps } from './GraphToolbar';
24
22
  export { default as Highlight } from './Highlight';
25
23
  export type { HighlightProps } from './Highlight';
26
24
  export { default as IconFont } from './IconFont';
@@ -51,8 +49,6 @@ export { default as DateRanger } from './DateRanger';
51
49
  export type { DateRangerProps } from './DateRanger';
52
50
  export { default as SideTip } from './SideTip';
53
51
  export type { SideTipProps } from './SideTip';
54
- export { default as TaskGraph } from './TaskGraph';
55
- export type { TaskGraphProps } from './TaskGraph';
56
52
  export { default as TreeSearch } from './TreeSearch';
57
53
  export type { TreeSearchProps, TreeSearchRef } from './TreeSearch';
58
54
  export { default as Welcome } from './Welcome';
package/es/index.js CHANGED
@@ -11,7 +11,6 @@ export { default as ContentWithIcon } from "./ContentWithIcon";
11
11
  export { default as Dialog } from "./Dialog";
12
12
  export { default as DocDialog } from "./DocDialog";
13
13
  export { default as FullscreenBox } from "./FullscreenBox";
14
- export { default as GraphToolbar } from "./GraphToolbar";
15
14
  export { default as Highlight } from "./Highlight";
16
15
  export { default as IconFont } from "./IconFont";
17
16
  export { default as Login } from "./Login";
@@ -27,7 +26,6 @@ export { default as Password } from "./Password";
27
26
  export { default as Ranger } from "./Ranger";
28
27
  export { default as DateRanger } from "./DateRanger";
29
28
  export { default as SideTip } from "./SideTip";
30
- export { default as TaskGraph } from "./TaskGraph";
31
29
  export { default as TreeSearch } from "./TreeSearch";
32
30
  export { default as Welcome } from "./Welcome";
33
31
  export { default as TagSelect } from "./TagSelect";
@@ -11,7 +11,6 @@ import Boundary from "../Boundary/locale/en-US";
11
11
  import Dialog from "../Dialog/locale/en-US";
12
12
  import DocDialog from "../DocDialog/locale/en-US";
13
13
  import FullscreenBox from "../FullscreenBox/locale/en-US";
14
- import GraphToolbar from "../GraphToolbar/locale/en-US";
15
14
  import Highlight from "../Highlight/locale/en-US";
16
15
  import Login from "../Login/locale/en-US";
17
16
  import PageContainer from "../PageContainer/locale/en-US";
@@ -19,7 +18,6 @@ import Password from "../Password/locale/en-US";
19
18
  import Ranger from "../Ranger/locale/en-US";
20
19
  import DateRanger from "../DateRanger/locale/en-US";
21
20
  import SideTip from "../SideTip/locale/en-US";
22
- import TaskGraph from "../TaskGraph/locale/en-US";
23
21
  import Welcome from "../Welcome/locale/en-US";
24
22
  export default _objectSpread(_objectSpread({}, enUS), {}, {
25
23
  // 业务组件
@@ -27,8 +25,6 @@ export default _objectSpread(_objectSpread({}, enUS), {}, {
27
25
  PageContainer: PageContainer,
28
26
  Login: Login,
29
27
  Welcome: Welcome,
30
- GraphToolbar: GraphToolbar,
31
- TaskGraph: TaskGraph,
32
28
  Ranger: Ranger,
33
29
  Password: Password,
34
30
  Boundary: Boundary,
@@ -11,7 +11,6 @@ import Boundary from "../Boundary/locale/ja-JP";
11
11
  import Dialog from "../Dialog/locale/ja-JP";
12
12
  import DocDialog from "../DocDialog/locale/ja-JP";
13
13
  import FullscreenBox from "../FullscreenBox/locale/ja-JP";
14
- import GraphToolbar from "../GraphToolbar/locale/ja-JP";
15
14
  import Highlight from "../Highlight/locale/ja-JP";
16
15
  import Login from "../Login/locale/ja-JP";
17
16
  import PageContainer from "../PageContainer/locale/ja-JP";
@@ -19,7 +18,6 @@ import Password from "../Password/locale/ja-JP";
19
18
  import Ranger from "../Ranger/locale/ja-JP";
20
19
  import DateRanger from "../DateRanger/locale/ja-JP";
21
20
  import SideTip from "../SideTip/locale/ja-JP";
22
- import TaskGraph from "../TaskGraph/locale/ja-JP";
23
21
  import Welcome from "../Welcome/locale/ja-JP";
24
22
  export default _objectSpread(_objectSpread({}, jaJP), {}, {
25
23
  // 业务组件
@@ -27,8 +25,6 @@ export default _objectSpread(_objectSpread({}, jaJP), {}, {
27
25
  PageContainer: PageContainer,
28
26
  Login: Login,
29
27
  Welcome: Welcome,
30
- GraphToolbar: GraphToolbar,
31
- TaskGraph: TaskGraph,
32
28
  Ranger: Ranger,
33
29
  Password: Password,
34
30
  Boundary: Boundary,
@@ -10,7 +10,6 @@ import BatchOperationBar from "../BatchOperationBar/locale/zh-CN";
10
10
  import Dialog from "../Dialog/locale/zh-CN";
11
11
  import DocDialog from "../DocDialog/locale/zh-CN";
12
12
  import FullscreenBox from "../FullscreenBox/locale/zh-CN";
13
- import GraphToolbar from "../GraphToolbar/locale/zh-CN";
14
13
  import Highlight from "../Highlight/locale/zh-CN";
15
14
  import Login from "../Login/locale/zh-CN";
16
15
  import PageContainer from "../PageContainer/locale/zh-CN";
@@ -18,7 +17,6 @@ import { default as Boundary, default as Password } from "../Password/locale/zh-
18
17
  import Ranger from "../Ranger/locale/zh-CN";
19
18
  import DateRanger from "../DateRanger/locale/zh-CN";
20
19
  import SideTip from "../SideTip/locale/zh-CN";
21
- import TaskGraph from "../TaskGraph/locale/zh-CN";
22
20
  import Welcome from "../Welcome/locale/zh-CN";
23
21
  export default _objectSpread(_objectSpread({}, zhCN), {}, {
24
22
  // 业务组件
@@ -26,8 +24,6 @@ export default _objectSpread(_objectSpread({}, zhCN), {}, {
26
24
  PageContainer: PageContainer,
27
25
  Login: Login,
28
26
  Welcome: Welcome,
29
- GraphToolbar: GraphToolbar,
30
- TaskGraph: TaskGraph,
31
27
  Ranger: Ranger,
32
28
  Password: Password,
33
29
  Boundary: Boundary,
@@ -9,14 +9,12 @@ import BasicLayout from "../BasicLayout/locale/zh-TW";
9
9
  import BatchOperationBar from "../BatchOperationBar/locale/zh-TW";
10
10
  import Dialog from "../Dialog/locale/zh-TW";
11
11
  import DocDialog from "../DocDialog/locale/zh-TW";
12
- import GraphToolbar from "../GraphToolbar/locale/zh-TW";
13
12
  import Highlight from "../Highlight/locale/zh-TW";
14
13
  import Login from "../Login/locale/zh-TW";
15
14
  import PageContainer from "../PageContainer/locale/zh-TW";
16
15
  import { default as Boundary, default as Password } from "../Password/locale/zh-TW";
17
16
  import Ranger from "../Ranger/locale/zh-TW";
18
17
  import DateRanger from "../DateRanger/locale/zh-TW";
19
- import TaskGraph from "../TaskGraph/locale/zh-TW";
20
18
  import Welcome from "../Welcome/locale/zh-TW";
21
19
  export default _objectSpread(_objectSpread({}, zhTW), {}, {
22
20
  // 业务组件
@@ -24,8 +22,6 @@ export default _objectSpread(_objectSpread({}, zhTW), {}, {
24
22
  PageContainer: PageContainer,
25
23
  Login: Login,
26
24
  Welcome: Welcome,
27
- GraphToolbar: GraphToolbar,
28
- TaskGraph: TaskGraph,
29
25
  Ranger: Ranger,
30
26
  Password: Password,
31
27
  Boundary: Boundary,
@@ -25,12 +25,12 @@ module.exports = __toCommonJS(ja_JP_exports);
25
25
  var ja_JP_default = {
26
26
  help: "ヘルプ",
27
27
  welcome: "ウェルカムページ",
28
- versionNotice: "バージョン通知",
29
- viewDocs: "ユーザーマニュアルを表示",
30
- downloadDocs: "ユーザーマニュアルをダウンロード",
31
- about: "について",
28
+ versionNotice: "更新情報",
29
+ viewDocs: "マニュアルを見る",
30
+ downloadDocs: "マニュアルをダウンロード",
31
+ about: "製品について",
32
32
  version: "バージョン",
33
33
  releaseTime: "リリース日",
34
- company: "北京奥星贝斯科技有限公司",
35
- right: "著作権所有"
34
+ company: "Beijing OceanBase Technology Co., Ltd.",
35
+ right: "All Rights Reserved"
36
36
  };