@oceanbase/ui 0.4.20 → 0.4.21

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 (127) hide show
  1. package/dist/ui.min.js +1 -1
  2. package/es/Action/Group.js +121 -15
  3. package/es/Action/style/index.js +8 -4
  4. package/es/BasicLayout/locale/ja-JP.d.ts +13 -0
  5. package/es/BasicLayout/locale/ja-JP.js +12 -0
  6. package/es/BatchOperationBar/locale/ja-JP.d.ts +7 -0
  7. package/es/BatchOperationBar/locale/ja-JP.js +6 -0
  8. package/es/Boundary/locale/ja-JP.d.ts +11 -0
  9. package/es/Boundary/locale/ja-JP.js +10 -0
  10. package/es/DateRanger/locale/ja-JP.d.ts +56 -0
  11. package/es/DateRanger/locale/ja-JP.js +20 -0
  12. package/es/Dialog/locale/ja-JP.d.ts +5 -0
  13. package/es/Dialog/locale/ja-JP.js +4 -0
  14. package/es/DocDialog/locale/ja-JP.d.ts +2 -0
  15. package/es/DocDialog/locale/ja-JP.js +1 -0
  16. package/es/FullscreenBox/locale/ja-JP.d.ts +2 -0
  17. package/es/FullscreenBox/locale/ja-JP.js +1 -0
  18. package/es/GraphToolbar/locale/ja-JP.d.ts +9 -0
  19. package/es/GraphToolbar/locale/ja-JP.js +8 -0
  20. package/es/Highlight/locale/ja-JP.d.ts +4 -0
  21. package/es/Highlight/locale/ja-JP.js +3 -0
  22. package/es/Login/locale/ja-JP.d.ts +28 -0
  23. package/es/Login/locale/ja-JP.js +27 -0
  24. package/es/PageContainer/locale/ja-JP.d.ts +4 -0
  25. package/es/PageContainer/locale/ja-JP.js +3 -0
  26. package/es/Password/locale/ja-JP.d.ts +13 -0
  27. package/es/Password/locale/ja-JP.js +12 -0
  28. package/es/Ranger/locale/ja-JP.d.ts +28 -0
  29. package/es/Ranger/locale/ja-JP.js +29 -0
  30. package/es/SideTip/locale/ja-JP.d.ts +2 -0
  31. package/es/SideTip/locale/ja-JP.js +1 -0
  32. package/es/TaskGraph/locale/ja-JP.d.ts +13 -0
  33. package/es/TaskGraph/locale/ja-JP.js +12 -0
  34. package/es/Welcome/locale/ja-JP.d.ts +5 -0
  35. package/es/Welcome/locale/ja-JP.js +4 -0
  36. package/es/locale/ja-JP.d.ts +3 -0
  37. package/es/locale/ja-JP.js +42 -0
  38. package/lib/Action/Group.js +122 -46
  39. package/lib/Action/Item.js +14 -9
  40. package/lib/Action/style/index.js +16 -1
  41. package/lib/BackgroundTaskManager/RefreshMan.js +3 -12
  42. package/lib/BackgroundTaskManager/index.js +3 -12
  43. package/lib/BasicLayout/Header.js +120 -62
  44. package/lib/BasicLayout/index.js +166 -143
  45. package/lib/BasicLayout/locale/ja-JP.d.ts +13 -0
  46. package/lib/BasicLayout/locale/ja-JP.js +36 -0
  47. package/lib/BatchOperationBar/index.js +59 -44
  48. package/lib/BatchOperationBar/locale/ja-JP.d.ts +7 -0
  49. package/lib/BatchOperationBar/locale/ja-JP.js +30 -0
  50. package/lib/Boundary/Components/Code.js +11 -5
  51. package/lib/Boundary/Components/Exception.js +33 -23
  52. package/lib/Boundary/Components/Function.js +11 -5
  53. package/lib/Boundary/locale/ja-JP.d.ts +11 -0
  54. package/lib/Boundary/locale/ja-JP.js +34 -0
  55. package/lib/ContentWithIcon/index.js +30 -22
  56. package/lib/ContentWithQuestion/index.js +8 -3
  57. package/lib/DateRanger/PickerPanel.js +235 -217
  58. package/lib/DateRanger/Ranger.js +349 -313
  59. package/lib/DateRanger/locale/ja-JP.d.ts +56 -0
  60. package/lib/DateRanger/locale/ja-JP.js +49 -0
  61. package/lib/Dialog/Anchor.js +8 -5
  62. package/lib/Dialog/EventProxy.js +3 -12
  63. package/lib/Dialog/index.js +132 -108
  64. package/lib/Dialog/locale/ja-JP.d.ts +5 -0
  65. package/lib/Dialog/locale/ja-JP.js +28 -0
  66. package/lib/DocDialog/index.js +3 -2
  67. package/lib/DocDialog/locale/ja-JP.d.ts +2 -0
  68. package/lib/DocDialog/locale/ja-JP.js +25 -0
  69. package/lib/FooterToolbar/index.js +3 -2
  70. package/lib/FullscreenBox/index.js +16 -7
  71. package/lib/FullscreenBox/locale/ja-JP.d.ts +2 -0
  72. package/lib/FullscreenBox/locale/ja-JP.js +25 -0
  73. package/lib/GraphToolbar/index.js +70 -58
  74. package/lib/GraphToolbar/locale/ja-JP.d.ts +9 -0
  75. package/lib/GraphToolbar/locale/ja-JP.js +32 -0
  76. package/lib/Highlight/DiffView/DiffCells.js +17 -10
  77. package/lib/Highlight/DiffView/index.js +35 -31
  78. package/lib/Highlight/HighlightCell.js +13 -10
  79. package/lib/Highlight/JsonView.js +15 -14
  80. package/lib/Highlight/index.js +50 -45
  81. package/lib/Highlight/locale/ja-JP.d.ts +4 -0
  82. package/lib/Highlight/locale/ja-JP.js +27 -0
  83. package/lib/IconFont/index.js +2 -12
  84. package/lib/LightFilter/index.js +3 -2
  85. package/lib/LocaleDropdown/index.js +13 -20
  86. package/lib/Login/ActivateForm.js +53 -60
  87. package/lib/Login/LoginForm.js +118 -109
  88. package/lib/Login/RegisterForm.js +79 -86
  89. package/lib/Login/index.js +92 -64
  90. package/lib/Login/locale/ja-JP.d.ts +28 -0
  91. package/lib/Login/locale/ja-JP.js +51 -0
  92. package/lib/NavMenu/index.js +9 -8
  93. package/lib/PageContainer/ItemRender.js +5 -5
  94. package/lib/PageContainer/index.js +8 -4
  95. package/lib/PageContainer/locale/ja-JP.d.ts +4 -0
  96. package/lib/PageContainer/locale/ja-JP.js +27 -0
  97. package/lib/PageLoading/index.js +6 -16
  98. package/lib/Password/Content.js +38 -42
  99. package/lib/Password/index.js +83 -68
  100. package/lib/Password/locale/ja-JP.d.ts +13 -0
  101. package/lib/Password/locale/ja-JP.js +36 -0
  102. package/lib/ProCard/index.js +4 -3
  103. package/lib/ProTable/index.js +5 -4
  104. package/lib/Ranger/QuickPicker.js +24 -15
  105. package/lib/Ranger/Ranger.js +37 -34
  106. package/lib/Ranger/locale/ja-JP.d.ts +28 -0
  107. package/lib/Ranger/locale/ja-JP.js +53 -0
  108. package/lib/SideTip/Dragger.js +5 -4
  109. package/lib/SideTip/IconLoading.js +25 -25
  110. package/lib/SideTip/index.js +19 -10
  111. package/lib/SideTip/locale/ja-JP.d.ts +2 -0
  112. package/lib/SideTip/locale/ja-JP.js +25 -0
  113. package/lib/TagSelect/Group.js +9 -5
  114. package/lib/TagSelect/Item.js +22 -18
  115. package/lib/TaskGraph/Graph.js +29 -24
  116. package/lib/TaskGraph/index.js +56 -50
  117. package/lib/TaskGraph/locale/ja-JP.d.ts +13 -0
  118. package/lib/TaskGraph/locale/ja-JP.js +36 -0
  119. package/lib/TreeSearch/index.js +30 -35
  120. package/lib/Welcome/index.js +64 -37
  121. package/lib/Welcome/locale/ja-JP.d.ts +5 -0
  122. package/lib/Welcome/locale/ja-JP.js +28 -0
  123. package/lib/Welcome/step.js +11 -4
  124. package/lib/locale/LocaleWrapper.js +15 -14
  125. package/lib/locale/ja-JP.d.ts +3 -0
  126. package/lib/locale/ja-JP.js +71 -0
  127. package/package.json +5 -5
@@ -10,8 +10,8 @@ import { EllipsisOutlined, LoadingOutlined } from '@oceanbase/icons';
10
10
  import { isBoolean, max, omit } from 'lodash';
11
11
  import useStyle from "./style";
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
- import { jsxs as _jsxs } from "react/jsx-runtime";
14
13
  import { Fragment as _Fragment } from "react/jsx-runtime";
14
+ import { jsxs as _jsxs } from "react/jsx-runtime";
15
15
  var getOrder = function getOrder(_ref) {
16
16
  var type = _ref.type,
17
17
  fixed = _ref.fixed;
@@ -29,6 +29,97 @@ var getOrder = function getOrder(_ref) {
29
29
  }
30
30
  return order;
31
31
  };
32
+
33
+ /**
34
+ * 递归查找 Action 组件(可能被 Popconfirm/Tooltip 等组件包裹)
35
+ * 返回实际的 Action 组件和其 props
36
+ */
37
+ var findActionComponent = function findActionComponent(element) {
38
+ var _element$type, _element$type2, _element$props;
39
+ var depth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
40
+ if (! /*#__PURE__*/React.isValidElement(element)) {
41
+ return null;
42
+ }
43
+
44
+ // 检查是否是 Action.Button 或 Action.Link
45
+ // @ts-ignore
46
+ if (((_element$type = element.type) === null || _element$type === void 0 ? void 0 : _element$type.__DISPLAY_NAME) === 'button' || ((_element$type2 = element.type) === null || _element$type2 === void 0 ? void 0 : _element$type2.__DISPLAY_NAME) === 'link') {
47
+ return {
48
+ action: element,
49
+ wrapper: null
50
+ };
51
+ }
52
+
53
+ // 如果深度太深,避免无限递归
54
+ if (depth > 10) {
55
+ return null;
56
+ }
57
+
58
+ // 如果有 children,递归查找
59
+ var elementChildren = (_element$props = element.props) === null || _element$props === void 0 ? void 0 : _element$props.children;
60
+ if (elementChildren) {
61
+ var child = React.Children.only(elementChildren);
62
+ if ( /*#__PURE__*/React.isValidElement(child)) {
63
+ var result = findActionComponent(child, depth + 1);
64
+ if (result) {
65
+ // 如果找到了 Action 组件,当前元素就是 wrapper
66
+ return {
67
+ action: result.action,
68
+ wrapper: element
69
+ };
70
+ }
71
+ }
72
+ }
73
+ return null;
74
+ };
75
+
76
+ /**
77
+ * 渲染菜单项内容,保持嵌套的 Popconfirm/Tooltip 结构
78
+ */
79
+ var renderMenuItemContent = function renderMenuItemContent(action, actionProps, enableLoading) {
80
+ var loading = actionProps.loading,
81
+ children = actionProps.children,
82
+ tooltip = actionProps.tooltip;
83
+ var result = findActionComponent(action);
84
+ if (!result) {
85
+ // 如果没有找到嵌套结构,使用默认渲染
86
+ var _content = /*#__PURE__*/_jsxs(_Fragment, {
87
+ children: [loading && enableLoading && /*#__PURE__*/_jsx(LoadingOutlined, {}), " ", children || action]
88
+ });
89
+ // 如果有 tooltip,用 Tooltip 包裹
90
+ return tooltip ? /*#__PURE__*/_jsx(Tooltip, {
91
+ title: tooltip,
92
+ children: _content
93
+ }) : _content;
94
+ }
95
+ var actualAction = result.action,
96
+ wrapper = result.wrapper;
97
+
98
+ // 创建新的 action 元素,保留所有 props 并添加 loading 状态
99
+ var newAction = /*#__PURE__*/React.cloneElement(actualAction, _objectSpread(_objectSpread(_objectSpread({}, actualAction.props), actionProps), {}, {
100
+ children: /*#__PURE__*/_jsxs(_Fragment, {
101
+ children: [loading && enableLoading && /*#__PURE__*/_jsx(LoadingOutlined, {}), " ", children || actualAction.props.children]
102
+ })
103
+ }));
104
+
105
+ // 如果 action 被包裹,需要重新构建包裹结构
106
+ if (wrapper) {
107
+ var wrapperProps = wrapper.props;
108
+ // 保持原有的 wrapper 结构,只更新 children
109
+ return /*#__PURE__*/React.cloneElement(wrapper, _objectSpread(_objectSpread({}, wrapperProps), {}, {
110
+ children: newAction
111
+ }));
112
+ }
113
+
114
+ // 如果没有包裹,直接渲染,如果有 tooltip 则用 Tooltip 包裹
115
+ var content = /*#__PURE__*/_jsxs(_Fragment, {
116
+ children: [loading && enableLoading && /*#__PURE__*/_jsx(LoadingOutlined, {}), " ", children || actualAction.props.children]
117
+ });
118
+ return tooltip ? /*#__PURE__*/_jsx(Tooltip, {
119
+ title: tooltip,
120
+ children: content
121
+ }) : content;
122
+ };
32
123
  export default (function (_ref2) {
33
124
  var customizePrefixCls = _ref2.prefixCls,
34
125
  _ref2$size = _ref2.size,
@@ -121,25 +212,40 @@ export default (function (_ref2) {
121
212
  children: ellipsisActions.map(function (action, index) {
122
213
  var _ref3;
123
214
  var actionKey = action.key;
124
- var disabled = false;
125
- if (isBoolean(action.props.disabled)) disabled = action.props.disabled;else if (shouldDisabled) disabled = shouldDisabled(action.key);
215
+ // 查找实际的 Action 组件以获取 props
216
+ var actionResult = findActionComponent(action);
217
+ var actualAction = (actionResult === null || actionResult === void 0 ? void 0 : actionResult.action) || action;
218
+ var actionProps = actualAction.props;
219
+
126
220
  // 当用户传入loading 或者 传入 disabled 的情况都要禁用按钮
127
- var actionDisabled = action.props.loading || (isBoolean(action.props.disabled) ? action.props.disabled : getDefaultDisabled(action.key));
221
+ var actionDisabled = actionProps.loading || (isBoolean(actionProps.disabled) ? actionProps.disabled : getDefaultDisabled(action.key));
222
+
223
+ // 提取需要传递给 Menu.Item 的 props(排除 danger,单独处理)
224
+ var menuItemProps = omit(actionProps, ['disabled', 'loading', 'tooltip', 'visible', 'fixed', 'enableLoading', 'onClick', 'children', 'danger']);
225
+
226
+ // 处理 onClick:如果 action 被 Popconfirm 包裹,Menu.Item 的 onClick 不应该直接触发 action 的 onClick
227
+ // 而是让 Popconfirm 来处理。如果没有 Popconfirm,则正常触发。
228
+ var handleMenuItemClick = function handleMenuItemClick(info) {
229
+ var _actionProps$onClick;
230
+ // 如果 action 被包裹(可能是 Popconfirm 或其他组件),不直接触发 onClick
231
+ // 让包裹组件来处理交互
232
+ if (actionResult !== null && actionResult !== void 0 && actionResult.wrapper) {
233
+ // 包裹组件会处理点击,这里不需要做任何事
234
+ // 注意:Menu.Item 的点击会关闭下拉菜单,但 Popconfirm 应该能够正常显示
235
+ return;
236
+ }
237
+ // 如果没有包裹,正常触发 onClick
238
+ (_actionProps$onClick = actionProps.onClick) === null || _actionProps$onClick === void 0 || _actionProps$onClick.call(actionProps, info.domEvent);
239
+ };
128
240
  return /*#__PURE__*/_jsxs(_Fragment, {
129
241
  children: [/*#__PURE__*/_jsx(Menu.Item, _objectSpread(_objectSpread({
130
242
  // @ts-ignore
131
- onClick: function onClick(_ref4) {
132
- var _action$props$onClick, _action$props;
133
- var domEvent = _ref4.domEvent;
134
- (_action$props$onClick = (_action$props = action.props).onClick) === null || _action$props$onClick === void 0 || _action$props$onClick.call(_action$props, domEvent);
135
- }
136
- }, omit(action.props, ['disabled'])), {}, {
243
+ onClick: handleMenuItemClick,
137
244
  disabled: actionDisabled,
138
- children: /*#__PURE__*/_jsxs(Tooltip, {
139
- title: action.props.tooltip,
140
- children: [action.props.loading && /*#__PURE__*/_jsx(LoadingOutlined, {}), ' ', action.props.children || action]
141
- })
142
- }), (_ref3 = actionKey) !== null && _ref3 !== void 0 ? _ref3 : index.toString()), action.props.divider && /*#__PURE__*/_jsx(Menu.Divider, {})]
245
+ danger: !!actionProps.danger
246
+ }, menuItemProps), {}, {
247
+ children: renderMenuItemContent(action, actionProps, enableLoading)
248
+ }), (_ref3 = actionKey) !== null && _ref3 !== void 0 ? _ref3 : index.toString()), actionProps.divider && /*#__PURE__*/_jsx(Menu.Divider, {})]
143
249
  });
144
250
  })
145
251
  }),
@@ -10,9 +10,7 @@ export var genActionStyle = function genActionStyle(token) {
10
10
  var paddingHorizontal = token.paddingSM;
11
11
  var padding = "".concat(paddingVertical, "px ").concat(paddingHorizontal, "px");
12
12
  var margin = "-".concat(paddingVertical, "px -").concat(paddingHorizontal, "px");
13
- return _defineProperty({}, "".concat(componentCls, "-more-menu"), _defineProperty({
14
- background: 'red'
15
- }, "".concat(antCls, "-dropdown-menu-item"), _defineProperty(_defineProperty({}, "".concat(antCls, "-typography"), _defineProperty({
13
+ return _defineProperty({}, "".concat(componentCls, "-more-menu"), _defineProperty({}, "".concat(antCls, "-dropdown-menu-item"), _defineProperty(_defineProperty(_defineProperty({}, "".concat(antCls, "-typography"), _defineProperty({
16
14
  display: 'block',
17
15
  margin: margin,
18
16
  padding: "".concat(padding, " !important")
@@ -33,7 +31,13 @@ export var genActionStyle = function genActionStyle(token) {
33
31
  background: 'transparent'
34
32
  })), "".concat(antCls, "-wave"), {
35
33
  display: 'none'
36
- }))));
34
+ })), "&".concat(antCls, "-dropdown-menu-item-danger"), _defineProperty(_defineProperty({}, "".concat(antCls, "-typography"), _defineProperty({}, "&:not(".concat(antCls, "-typography-disabled)"), {
35
+ color: 'unset'
36
+ })), "".concat(antCls, "-btn"), _defineProperty({}, "&:not(:disabled):not(".concat(antCls, "-btn-disabled)"), _defineProperty({
37
+ color: 'unset'
38
+ }, "&:hover", {
39
+ color: 'unset'
40
+ }))))));
37
41
  };
38
42
  export default (function (prefixCls) {
39
43
  var useStyle = genComponentStyleHook('Action', function (token) {
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ help: string;
3
+ welcome: string;
4
+ versionNotice: string;
5
+ viewDocs: string;
6
+ downloadDocs: string;
7
+ about: string;
8
+ version: string;
9
+ releaseTime: string;
10
+ company: string;
11
+ right: string;
12
+ };
13
+ export default _default;
@@ -0,0 +1,12 @@
1
+ export default {
2
+ help: 'ヘルプ',
3
+ welcome: 'ウェルカムページ',
4
+ versionNotice: 'バージョン通知',
5
+ viewDocs: 'ユーザーマニュアルを表示',
6
+ downloadDocs: 'ユーザーマニュアルをダウンロード',
7
+ about: 'について',
8
+ version: 'バージョン',
9
+ releaseTime: 'リリース日',
10
+ company: '北京奥星贝斯科技有限公司',
11
+ right: '著作権所有'
12
+ };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ cancelText: string;
3
+ openText: string;
4
+ hiddenText: string;
5
+ alertText: string;
6
+ };
7
+ export default _default;
@@ -0,0 +1,6 @@
1
+ export default {
2
+ cancelText: '選択解除',
3
+ openText: '選択済みを展開',
4
+ hiddenText: '選択済みを折りたたむ',
5
+ alertText: '${} 件を選択しました'
6
+ };
@@ -0,0 +1,11 @@
1
+ declare const _default: {
2
+ goHome: string;
3
+ noPermission: string;
4
+ noPage: string;
5
+ normal: string;
6
+ test: string;
7
+ collapse: string;
8
+ incompatible: string;
9
+ proposal: string;
10
+ };
11
+ export default _default;
@@ -0,0 +1,10 @@
1
+ export default {
2
+ goHome: 'ホームに戻る',
3
+ noPermission: 'このページへのアクセス権限がありません',
4
+ noPage: 'このページが見つかりません',
5
+ normal: '正常動作',
6
+ test: 'クリックしてクラッシュ効果をテスト',
7
+ collapse: 'ページがクラッシュしました~',
8
+ incompatible: 'ブラウザバージョンが互換性がありません',
9
+ proposal: 'ブラウザバージョンが低すぎます。セキュリティリスクを避けるため、Chrome ブラウザのバージョン 80 以上を使用することをお勧めします'
10
+ };
@@ -0,0 +1,56 @@
1
+ declare const _default: {
2
+ locale: string;
3
+ dateFormat?: string;
4
+ dateTimeFormat?: string;
5
+ fieldDateTimeFormat?: string;
6
+ fieldDateFormat?: string;
7
+ fieldTimeFormat?: string;
8
+ fieldMonthFormat?: string;
9
+ fieldYearFormat?: string;
10
+ fieldWeekFormat?: string;
11
+ fieldQuarterFormat?: string;
12
+ monthBeforeYear?: boolean;
13
+ yearFormat?: string;
14
+ monthFormat?: string;
15
+ cellYearFormat?: string;
16
+ cellQuarterFormat?: string;
17
+ dayFormat?: string;
18
+ cellDateFormat?: string;
19
+ cellMeridiemFormat?: string;
20
+ today: string;
21
+ now: string;
22
+ backToToday: string;
23
+ ok: string;
24
+ timeSelect: string;
25
+ dateSelect: string;
26
+ weekSelect?: string;
27
+ clear: string;
28
+ week: string;
29
+ month: string;
30
+ year: string;
31
+ previousMonth: string;
32
+ nextMonth: string;
33
+ monthSelect: string;
34
+ yearSelect: string;
35
+ decadeSelect: string;
36
+ previousYear: string;
37
+ nextYear: string;
38
+ previousDecade: string;
39
+ nextDecade: string;
40
+ previousCentury: string;
41
+ nextCentury: string;
42
+ shortWeekDays?: string[];
43
+ shortMonths?: string[];
44
+ customize: string;
45
+ customTime: string;
46
+ startDate: string;
47
+ startTime: string;
48
+ endDate: string;
49
+ endTime: string;
50
+ cancel: string;
51
+ confirm: string;
52
+ current: string;
53
+ jumpBack: string;
54
+ jumpForward: string;
55
+ };
56
+ export default _default;
@@ -0,0 +1,20 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
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
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
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 ja_JP from 'rc-picker/es/locale/ja_JP';
8
+ export default _objectSpread({
9
+ customize: 'カスタム',
10
+ customTime: 'カスタム時間',
11
+ startDate: '開始日',
12
+ startTime: '開始時刻',
13
+ endDate: '終了日',
14
+ endTime: '終了時刻',
15
+ cancel: 'キャンセル',
16
+ confirm: '確定',
17
+ current: '現在',
18
+ jumpBack: '前の時間間隔にジャンプ',
19
+ jumpForward: '次の時間間隔にジャンプ'
20
+ }, ja_JP);
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ helpDocument: string;
3
+ openHelpCenter: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export default {
2
+ helpDocument: 'ヘルプドキュメント',
3
+ openHelpCenter: 'ドキュメントセンターを開く'
4
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export default {};
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export default {};
@@ -0,0 +1,9 @@
1
+ declare const _default: {
2
+ fullscreen: string;
3
+ shrink: string;
4
+ enlarge: string;
5
+ reset: string;
6
+ fitView: string;
7
+ refresh: string;
8
+ };
9
+ export default _default;
@@ -0,0 +1,8 @@
1
+ export default {
2
+ fullscreen: 'フルスクリーン',
3
+ shrink: '縮小',
4
+ enlarge: '拡大',
5
+ reset: '元の比率を表示',
6
+ fitView: 'キャンバスに合わせる',
7
+ refresh: '更新'
8
+ };
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ copied: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export default {
2
+ copied: 'コピー成功'
3
+ };
@@ -0,0 +1,28 @@
1
+ declare const _default: {
2
+ usernamePlaceholder: string;
3
+ usernameMessage: string;
4
+ passwordPlaceholder: string;
5
+ passwordMessage: string;
6
+ loginText: string;
7
+ otherLoginText: string;
8
+ isLoadingWarn: string;
9
+ usernameLabel: string;
10
+ switchLoginLabel: string;
11
+ switchRegisterLabel: string;
12
+ userExistMessage: string;
13
+ usernameFormatMessage: string;
14
+ samePasswordMessage: string;
15
+ usernameHelp: string;
16
+ usernameLengthMessage: string;
17
+ passwordLabel: string;
18
+ passwordHelp: string;
19
+ confirmPwdLabel: string;
20
+ confirmPwdMessage: string;
21
+ registerBtn: string;
22
+ registerTitle: string;
23
+ activeTitle: string;
24
+ activeTitleDescrition: string;
25
+ activeSubmitBtn: string;
26
+ activeBackBtn: string;
27
+ };
28
+ export default _default;
@@ -0,0 +1,27 @@
1
+ export default {
2
+ usernamePlaceholder: 'アカウントを入力してください',
3
+ usernameMessage: 'アカウントを入力してください',
4
+ passwordPlaceholder: 'パスワードを入力してください',
5
+ passwordMessage: 'パスワードを入力してください',
6
+ loginText: 'ログイン',
7
+ otherLoginText: 'サードパーティログイン',
8
+ isLoadingWarn: '実行中',
9
+ usernameLabel: 'ユーザー名',
10
+ switchLoginLabel: '既存アカウントでログイン',
11
+ switchRegisterLabel: 'アカウント登録',
12
+ userExistMessage: 'ユーザー名は既に存在します',
13
+ usernameFormatMessage: 'ユーザー名の形式が要件を満たしていません',
14
+ samePasswordMessage: '確認パスワードが一致しません',
15
+ usernameHelp: '英字、数字、アンダースコア、特殊文字 (._+@#$%) をサポート、長さ 4~48 文字',
16
+ usernameLengthMessage: 'ユーザー名の長さは 4~48 文字',
17
+ passwordLabel: 'パスワード',
18
+ passwordHelp: '少なくとも 2 桁の数字、2 文字の大文字、2 文字の小文字、2 文字の特殊文字 (._+@#$%) を含み、長さ 8~32 文字',
19
+ confirmPwdLabel: 'パスワード確認',
20
+ confirmPwdMessage: 'パスワードを再度入力してください',
21
+ registerBtn: '今すぐ登録',
22
+ registerTitle: 'アカウント登録',
23
+ activeTitle: 'パスワードを設定してアカウントを有効化',
24
+ activeTitleDescrition: 'アカウントのセキュリティのため、パスワードを設定してアカウントを有効化する必要があります',
25
+ activeSubmitBtn: '有効化',
26
+ activeBackBtn: '前のステップに戻る'
27
+ };
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ reload: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export default {
2
+ reload: '更新'
3
+ };
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ lengthRuleMessage: string;
3
+ charRuleMessage: string;
4
+ strengthRuleMessage: string;
5
+ placeholder: string;
6
+ generatePlaceholder: string;
7
+ randomlyGenerate: string;
8
+ pleaseRememberYourPassword: string;
9
+ copySuccessfully: string;
10
+ copyPassword: string;
11
+ andKeepItProperly: string;
12
+ };
13
+ export default _default;
@@ -0,0 +1,12 @@
1
+ export default {
2
+ lengthRuleMessage: '長さは 8~32 文字',
3
+ charRuleMessage: '英字、数字、特殊文字(~!@#%^&*_-+=|(){}[]:;,.?/`$"<>\\)のみを含むことができます',
4
+ strengthRuleMessage: '大文字、小文字、数字、特殊文字をそれぞれ少なくとも 2 文字含む必要があります',
5
+ placeholder: 'パスワードを入力してください',
6
+ generatePlaceholder: '入力するかランダム生成',
7
+ randomlyGenerate: 'ランダム生成',
8
+ pleaseRememberYourPassword: 'パスワードを覚えて適切に保存してください',
9
+ copySuccessfully: 'コピー成功',
10
+ copyPassword: 'パスワードをコピー',
11
+ andKeepItProperly: '適切に保存'
12
+ };
@@ -0,0 +1,28 @@
1
+ declare const _default: {
2
+ customize: string;
3
+ '\u8FD1 1 \u5206\u949F': string;
4
+ '\u8FD1 5 \u5206\u949F': string;
5
+ '\u8FD1 10 \u5206\u949F': string;
6
+ '\u8FD1 20 \u5206\u949F': string;
7
+ '\u8FD1 30 \u5206\u949F': string;
8
+ '\u8FD1 1 \u5C0F\u65F6': string;
9
+ '\u8FD1 2 \u5C0F\u65F6': string;
10
+ '\u8FD1 3 \u5C0F\u65F6': string;
11
+ '\u8FD1 6 \u5C0F\u65F6': string;
12
+ 今天: string;
13
+ 昨天: string;
14
+ 明天: string;
15
+ 本周: string;
16
+ 上周: string;
17
+ 下周: string;
18
+ 本月: string;
19
+ 上月: string;
20
+ 下月: string;
21
+ 本季度: string;
22
+ 上季度: string;
23
+ 下季度: string;
24
+ 今年: string;
25
+ 去年: string;
26
+ 明年: string;
27
+ };
28
+ export default _default;
@@ -0,0 +1,29 @@
1
+ export default {
2
+ customize: 'カスタム時間',
3
+ // 为保证和之前的逻辑兼容,仍然使用中文作为 key
4
+ // TODO: 后续需要替换为英文 key
5
+ '近 1 分钟': '過去 1 分',
6
+ '近 5 分钟': '過去 5 分',
7
+ '近 10 分钟': '過去 10 分',
8
+ '近 20 分钟': '過去 20 分',
9
+ '近 30 分钟': '過去 30 分',
10
+ '近 1 小时': '過去 1 時間',
11
+ '近 2 小时': '過去 2 時間',
12
+ '近 3 小时': '過去 3 時間',
13
+ '近 6 小时': '過去 6 時間',
14
+ 今天: '今日',
15
+ 昨天: '昨日',
16
+ 明天: '明日',
17
+ 本周: '今週',
18
+ 上周: '先週',
19
+ 下周: '来週',
20
+ 本月: '今月',
21
+ 上月: '先月',
22
+ 下月: '来月',
23
+ 本季度: '今四半期',
24
+ 上季度: '前四半期',
25
+ 下季度: '次四半期',
26
+ 今年: '今年',
27
+ 去年: '去年',
28
+ 明年: '来年'
29
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export default {};
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ successful: string;
3
+ running: string;
4
+ failed: string;
5
+ pending: string;
6
+ taskId: string;
7
+ log: string;
8
+ parameter: string;
9
+ stop: string;
10
+ retry: string;
11
+ skip: string;
12
+ };
13
+ export default _default;
@@ -0,0 +1,12 @@
1
+ export default {
2
+ successful: '完了',
3
+ running: 'タスク実行中',
4
+ failed: 'タスク失敗',
5
+ pending: '未開始',
6
+ taskId: 'タスク ID',
7
+ log: 'ログを表示',
8
+ parameter: 'パラメータを表示',
9
+ stop: '実行を停止',
10
+ retry: '再実行',
11
+ skip: '成功に設定'
12
+ };
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ helpTitle: string;
3
+ defaultOperation: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export default {
2
+ helpTitle: 'クイックスタート',
3
+ defaultOperation: 'デフォルト操作'
4
+ };
@@ -0,0 +1,3 @@
1
+ import type { Locale } from './index';
2
+ declare const _default: Locale;
3
+ export default _default;
@@ -0,0 +1,42 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
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
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
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 jaJP from '@oceanbase/design/es/locale/ja-JP';
8
+ import BasicLayout from "../BasicLayout/locale/ja-JP";
9
+ import BatchOperationBar from "../BatchOperationBar/locale/ja-JP";
10
+ import Boundary from "../Boundary/locale/ja-JP";
11
+ import Dialog from "../Dialog/locale/ja-JP";
12
+ import DocDialog from "../DocDialog/locale/ja-JP";
13
+ import FullscreenBox from "../FullscreenBox/locale/ja-JP";
14
+ import GraphToolbar from "../GraphToolbar/locale/ja-JP";
15
+ import Highlight from "../Highlight/locale/ja-JP";
16
+ import Login from "../Login/locale/ja-JP";
17
+ import PageContainer from "../PageContainer/locale/ja-JP";
18
+ import Password from "../Password/locale/ja-JP";
19
+ import Ranger from "../Ranger/locale/ja-JP";
20
+ import DateRanger from "../DateRanger/locale/ja-JP";
21
+ import SideTip from "../SideTip/locale/ja-JP";
22
+ import TaskGraph from "../TaskGraph/locale/ja-JP";
23
+ import Welcome from "../Welcome/locale/ja-JP";
24
+ export default _objectSpread(_objectSpread({}, jaJP), {}, {
25
+ // 业务组件
26
+ BasicLayout: BasicLayout,
27
+ PageContainer: PageContainer,
28
+ Login: Login,
29
+ Welcome: Welcome,
30
+ GraphToolbar: GraphToolbar,
31
+ TaskGraph: TaskGraph,
32
+ Ranger: Ranger,
33
+ Password: Password,
34
+ Boundary: Boundary,
35
+ Dialog: Dialog,
36
+ SideTip: SideTip,
37
+ DocDialog: DocDialog,
38
+ Highlight: Highlight,
39
+ FullscreenBox: FullscreenBox,
40
+ BatchOperationBar: BatchOperationBar,
41
+ DateRanger: DateRanger
42
+ });