@oceanbase/ui 1.0.0-alpha.3 → 1.0.0-alpha.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.css +1 -1
- package/dist/ui.min.js +1 -1
- package/es/Action/Group.js +121 -15
- package/es/Action/style/index.js +8 -4
- package/es/BasicLayout/locale/ja-JP.d.ts +13 -0
- package/es/BasicLayout/locale/ja-JP.js +12 -0
- package/es/BasicLayout/style/index.js +5 -5
- package/es/BatchOperationBar/index.less +1 -1
- package/es/BatchOperationBar/locale/ja-JP.d.ts +7 -0
- package/es/BatchOperationBar/locale/ja-JP.js +6 -0
- package/es/Boundary/locale/ja-JP.d.ts +11 -0
- package/es/Boundary/locale/ja-JP.js +10 -0
- package/es/DateRanger/locale/ja-JP.d.ts +56 -0
- package/es/DateRanger/locale/ja-JP.js +20 -0
- package/es/Dialog/locale/ja-JP.d.ts +5 -0
- package/es/Dialog/locale/ja-JP.js +4 -0
- package/es/DocDialog/locale/ja-JP.d.ts +2 -0
- package/es/DocDialog/locale/ja-JP.js +1 -0
- package/es/FooterToolbar/style/index.js +7 -1
- package/es/FullscreenBox/index.less +3 -1
- package/es/FullscreenBox/locale/ja-JP.d.ts +2 -0
- package/es/FullscreenBox/locale/ja-JP.js +1 -0
- package/es/GraphToolbar/locale/ja-JP.d.ts +9 -0
- package/es/GraphToolbar/locale/ja-JP.js +8 -0
- package/es/Highlight/index.less +2 -2
- package/es/Highlight/locale/ja-JP.d.ts +4 -0
- package/es/Highlight/locale/ja-JP.js +3 -0
- package/es/LocaleDropdown/index.js +4 -2
- package/es/Login/index.less +2 -2
- package/es/Login/locale/ja-JP.d.ts +28 -0
- package/es/Login/locale/ja-JP.js +27 -0
- package/es/PageContainer/locale/ja-JP.d.ts +4 -0
- package/es/PageContainer/locale/ja-JP.js +3 -0
- package/es/PageContainer/style/index.js +5 -5
- package/es/Password/locale/ja-JP.d.ts +13 -0
- package/es/Password/locale/ja-JP.js +12 -0
- package/es/Ranger/locale/ja-JP.d.ts +28 -0
- package/es/Ranger/locale/ja-JP.js +29 -0
- package/es/SideTip/locale/ja-JP.d.ts +2 -0
- package/es/SideTip/locale/ja-JP.js +1 -0
- package/es/TaskGraph/index.less +1 -1
- package/es/TaskGraph/locale/ja-JP.d.ts +13 -0
- package/es/TaskGraph/locale/ja-JP.js +12 -0
- package/es/Welcome/locale/ja-JP.d.ts +5 -0
- package/es/Welcome/locale/ja-JP.js +4 -0
- package/es/locale/ja-JP.d.ts +3 -0
- package/es/locale/ja-JP.js +42 -0
- package/lib/Action/Group.js +85 -20
- package/lib/Action/style/index.js +16 -1
- package/lib/BasicLayout/locale/ja-JP.d.ts +13 -0
- package/lib/BasicLayout/locale/ja-JP.js +36 -0
- package/lib/BasicLayout/style/index.js +5 -5
- package/lib/BatchOperationBar/index.less +1 -1
- package/lib/BatchOperationBar/locale/ja-JP.d.ts +7 -0
- package/lib/BatchOperationBar/locale/ja-JP.js +30 -0
- package/lib/Boundary/locale/ja-JP.d.ts +11 -0
- package/lib/Boundary/locale/ja-JP.js +34 -0
- package/lib/DateRanger/locale/ja-JP.d.ts +56 -0
- package/lib/DateRanger/locale/ja-JP.js +49 -0
- package/lib/Dialog/locale/ja-JP.d.ts +5 -0
- package/lib/Dialog/locale/ja-JP.js +28 -0
- package/lib/DocDialog/locale/ja-JP.d.ts +2 -0
- package/lib/DocDialog/locale/ja-JP.js +25 -0
- package/lib/FooterToolbar/style/index.js +7 -1
- package/lib/FullscreenBox/index.less +3 -1
- package/lib/FullscreenBox/locale/ja-JP.d.ts +2 -0
- package/lib/FullscreenBox/locale/ja-JP.js +25 -0
- package/lib/GraphToolbar/locale/ja-JP.d.ts +9 -0
- package/lib/GraphToolbar/locale/ja-JP.js +32 -0
- package/lib/Highlight/index.less +2 -2
- package/lib/Highlight/locale/ja-JP.d.ts +4 -0
- package/lib/Highlight/locale/ja-JP.js +27 -0
- package/lib/LocaleDropdown/index.js +2 -1
- package/lib/Login/index.less +2 -2
- package/lib/Login/locale/ja-JP.d.ts +28 -0
- package/lib/Login/locale/ja-JP.js +51 -0
- package/lib/PageContainer/locale/ja-JP.d.ts +4 -0
- package/lib/PageContainer/locale/ja-JP.js +27 -0
- package/lib/PageContainer/style/index.js +5 -5
- package/lib/Password/locale/ja-JP.d.ts +13 -0
- package/lib/Password/locale/ja-JP.js +36 -0
- package/lib/Ranger/locale/ja-JP.d.ts +28 -0
- package/lib/Ranger/locale/ja-JP.js +53 -0
- package/lib/SideTip/locale/ja-JP.d.ts +2 -0
- package/lib/SideTip/locale/ja-JP.js +25 -0
- package/lib/TaskGraph/index.less +1 -1
- package/lib/TaskGraph/locale/ja-JP.d.ts +13 -0
- package/lib/TaskGraph/locale/ja-JP.js +36 -0
- package/lib/Welcome/locale/ja-JP.d.ts +5 -0
- package/lib/Welcome/locale/ja-JP.js +28 -0
- package/lib/locale/ja-JP.d.ts +3 -0
- package/lib/locale/ja-JP.js +71 -0
- package/package.json +5 -5
|
@@ -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 @@
|
|
|
1
|
+
export default {};
|
package/es/TaskGraph/index.less
CHANGED
|
@@ -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
|
+
});
|
package/lib/Action/Group.js
CHANGED
|
@@ -49,6 +49,64 @@ var getOrder = ({ type, fixed }) => {
|
|
|
49
49
|
}
|
|
50
50
|
return order;
|
|
51
51
|
};
|
|
52
|
+
var findActionComponent = (element, depth = 0) => {
|
|
53
|
+
var _a, _b, _c;
|
|
54
|
+
if (!import_react.default.isValidElement(element)) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
if (((_a = element.type) == null ? void 0 : _a.__DISPLAY_NAME) === "button" || ((_b = element.type) == null ? void 0 : _b.__DISPLAY_NAME) === "link") {
|
|
58
|
+
return { action: element, wrapper: null };
|
|
59
|
+
}
|
|
60
|
+
if (depth > 10) {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
const elementChildren = (_c = element.props) == null ? void 0 : _c.children;
|
|
64
|
+
if (elementChildren) {
|
|
65
|
+
const child = import_react.default.Children.only(elementChildren);
|
|
66
|
+
if (import_react.default.isValidElement(child)) {
|
|
67
|
+
const result = findActionComponent(child, depth + 1);
|
|
68
|
+
if (result) {
|
|
69
|
+
return { action: result.action, wrapper: element };
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return null;
|
|
74
|
+
};
|
|
75
|
+
var renderMenuItemContent = (action, actionProps, enableLoading) => {
|
|
76
|
+
const { loading, children, tooltip } = actionProps;
|
|
77
|
+
const result = findActionComponent(action);
|
|
78
|
+
if (!result) {
|
|
79
|
+
const content2 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
80
|
+
loading && enableLoading && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.LoadingOutlined, {}),
|
|
81
|
+
" ",
|
|
82
|
+
children || action
|
|
83
|
+
] });
|
|
84
|
+
return tooltip ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_design.Tooltip, { title: tooltip, children: content2 }) : content2;
|
|
85
|
+
}
|
|
86
|
+
const { action: actualAction, wrapper } = result;
|
|
87
|
+
const newAction = import_react.default.cloneElement(actualAction, {
|
|
88
|
+
...actualAction.props,
|
|
89
|
+
...actionProps,
|
|
90
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
91
|
+
loading && enableLoading && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.LoadingOutlined, {}),
|
|
92
|
+
" ",
|
|
93
|
+
children || actualAction.props.children
|
|
94
|
+
] })
|
|
95
|
+
});
|
|
96
|
+
if (wrapper) {
|
|
97
|
+
const wrapperProps = wrapper.props;
|
|
98
|
+
return import_react.default.cloneElement(wrapper, {
|
|
99
|
+
...wrapperProps,
|
|
100
|
+
children: newAction
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
const content = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
104
|
+
loading && enableLoading && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icons.LoadingOutlined, {}),
|
|
105
|
+
" ",
|
|
106
|
+
children || actualAction.props.children
|
|
107
|
+
] });
|
|
108
|
+
return tooltip ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_design.Tooltip, { title: tooltip, children: content }) : content;
|
|
109
|
+
};
|
|
52
110
|
var Group_default = ({
|
|
53
111
|
prefixCls: customizePrefixCls,
|
|
54
112
|
size = 3,
|
|
@@ -125,34 +183,41 @@ var Group_default = ({
|
|
|
125
183
|
placement: dropDownPlacement,
|
|
126
184
|
overlay: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_design.Menu, { className: `${prefixCls}-more-menu`, children: ellipsisActions.map((action, index) => {
|
|
127
185
|
const actionKey = action.key;
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
186
|
+
const actionResult = findActionComponent(action);
|
|
187
|
+
const actualAction = (actionResult == null ? void 0 : actionResult.action) || action;
|
|
188
|
+
const actionProps = actualAction.props;
|
|
189
|
+
const actionDisabled = actionProps.loading || ((0, import_lodash.isBoolean)(actionProps.disabled) ? actionProps.disabled : getDefaultDisabled(action.key));
|
|
190
|
+
const menuItemProps = (0, import_lodash.omit)(actionProps, [
|
|
191
|
+
"disabled",
|
|
192
|
+
"loading",
|
|
193
|
+
"tooltip",
|
|
194
|
+
"visible",
|
|
195
|
+
"fixed",
|
|
196
|
+
"enableLoading",
|
|
197
|
+
"onClick",
|
|
198
|
+
"children",
|
|
199
|
+
"danger"
|
|
200
|
+
]);
|
|
201
|
+
const handleMenuItemClick = (info) => {
|
|
202
|
+
var _a;
|
|
203
|
+
if (actionResult == null ? void 0 : actionResult.wrapper) {
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
(_a = actionProps.onClick) == null ? void 0 : _a.call(actionProps, info.domEvent);
|
|
207
|
+
};
|
|
134
208
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
135
209
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
136
210
|
import_design.Menu.Item,
|
|
137
211
|
{
|
|
138
|
-
onClick:
|
|
139
|
-
var _a, _b;
|
|
140
|
-
(_b = (_a = action.props).onClick) == null ? void 0 : _b.call(
|
|
141
|
-
_a,
|
|
142
|
-
domEvent
|
|
143
|
-
);
|
|
144
|
-
},
|
|
145
|
-
...(0, import_lodash.omit)(action.props, ["disabled"]),
|
|
212
|
+
onClick: handleMenuItemClick,
|
|
146
213
|
disabled: actionDisabled,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
action.props.children || action
|
|
151
|
-
] })
|
|
214
|
+
danger: !!actionProps.danger,
|
|
215
|
+
...menuItemProps,
|
|
216
|
+
children: renderMenuItemContent(action, actionProps, enableLoading)
|
|
152
217
|
},
|
|
153
218
|
actionKey ?? index.toString()
|
|
154
219
|
),
|
|
155
|
-
|
|
220
|
+
actionProps.divider && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_design.Menu.Divider, {})
|
|
156
221
|
] });
|
|
157
222
|
}) }),
|
|
158
223
|
children: moreDom
|
|
@@ -32,7 +32,6 @@ var genActionStyle = (token) => {
|
|
|
32
32
|
const margin = `-${paddingVertical}px -${paddingHorizontal}px`;
|
|
33
33
|
return {
|
|
34
34
|
[`${componentCls}-more-menu`]: {
|
|
35
|
-
background: "red",
|
|
36
35
|
[`${antCls}-dropdown-menu-item`]: {
|
|
37
36
|
[`${antCls}-typography`]: {
|
|
38
37
|
display: "block",
|
|
@@ -61,6 +60,22 @@ var genActionStyle = (token) => {
|
|
|
61
60
|
[`${antCls}-wave`]: {
|
|
62
61
|
display: "none"
|
|
63
62
|
}
|
|
63
|
+
},
|
|
64
|
+
// 确保 danger 状态的样式能够正确显示,不覆盖 Menu.Item 的默认 danger 颜色
|
|
65
|
+
[`&${antCls}-dropdown-menu-item-danger`]: {
|
|
66
|
+
[`${antCls}-typography`]: {
|
|
67
|
+
[`&:not(${antCls}-typography-disabled)`]: {
|
|
68
|
+
color: "unset"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
[`${antCls}-btn`]: {
|
|
72
|
+
[`&:not(:disabled):not(${antCls}-btn-disabled)`]: {
|
|
73
|
+
color: "unset",
|
|
74
|
+
[`&:hover`]: {
|
|
75
|
+
color: "unset"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
64
79
|
}
|
|
65
80
|
}
|
|
66
81
|
}
|
|
@@ -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,36 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/BasicLayout/locale/ja-JP.ts
|
|
20
|
+
var ja_JP_exports = {};
|
|
21
|
+
__export(ja_JP_exports, {
|
|
22
|
+
default: () => ja_JP_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(ja_JP_exports);
|
|
25
|
+
var ja_JP_default = {
|
|
26
|
+
help: "ヘルプ",
|
|
27
|
+
welcome: "ウェルカムページ",
|
|
28
|
+
versionNotice: "バージョン通知",
|
|
29
|
+
viewDocs: "ユーザーマニュアルを表示",
|
|
30
|
+
downloadDocs: "ユーザーマニュアルをダウンロード",
|
|
31
|
+
about: "について",
|
|
32
|
+
version: "バージョン",
|
|
33
|
+
releaseTime: "リリース日",
|
|
34
|
+
company: "北京奥星贝斯科技有限公司",
|
|
35
|
+
right: "著作権所有"
|
|
36
|
+
};
|
|
@@ -211,7 +211,7 @@ var genBasicLayoutStyle = (token) => {
|
|
|
211
211
|
// 菜单项激活样式
|
|
212
212
|
[`${antCls}-menu-item-active, ${antCls}-menu-submenu-active > ${antCls}-menu-submenu-title`]: {
|
|
213
213
|
color: `${colorText} !important`,
|
|
214
|
-
fontWeight:
|
|
214
|
+
fontWeight: token.fontWeightStrong,
|
|
215
215
|
animation: "activeGradientAnimation 0.1s",
|
|
216
216
|
// .border-gradient(linear-gradient(to right, #E9EDF6, @colorBgLayout), linear-gradient(90deg, #C6CDD9, @colorBgLayout), 0.5px, solid, 8px 0 0 8px),
|
|
217
217
|
backgroundImage: `linear-gradient(to right,#E9EDF6, ${colorBgLayout}),linear-gradient(90deg,#C6CDD9,${colorBgLayout})`,
|
|
@@ -224,7 +224,7 @@ var genBasicLayoutStyle = (token) => {
|
|
|
224
224
|
// 菜单项选中样式
|
|
225
225
|
[`${antCls}-menu-item-selected`]: {
|
|
226
226
|
color: `${colorPrimary} !important`,
|
|
227
|
-
fontWeight:
|
|
227
|
+
fontWeight: token.fontWeightStrong,
|
|
228
228
|
animation: "selectedGradientAnimation 0.5s",
|
|
229
229
|
// .border-gradient(linear-gradient(to right, #E5EEFF, #F4F8FF), linear-gradient(90deg, @colorPrimaryBorder, @colorBgLayout), 0.5px, solid, 8px 0 0 8px),
|
|
230
230
|
backgroundImage: `linear-gradient(to right,#E5EEFF,#F4F8FF),linear-gradient(90deg,${colorPrimaryBorder},${colorBgLayout})`,
|
|
@@ -403,7 +403,7 @@ var genBasicLayoutStyle = (token) => {
|
|
|
403
403
|
},
|
|
404
404
|
[`${antCls}-menu-item-active`]: {
|
|
405
405
|
color: "colorText !important",
|
|
406
|
-
fontWeight:
|
|
406
|
+
fontWeight: token.fontWeightStrong,
|
|
407
407
|
animation: "activeGradientAnimation 0.1s",
|
|
408
408
|
// .border-gradient(linear-gradient(to right, #E9EDF6, colorBgLayout), linear-gradient(90deg, #C6CDD9, colorBgLayout), 0.5px, solid, 8px 0 0 8px),
|
|
409
409
|
backgroundImage: `linear-gradient(to right, #E9EDF6, ${colorBgLayout}), linear-gradient(90deg, #C6CDD9, ${colorBgLayout})`,
|
|
@@ -415,7 +415,7 @@ var genBasicLayoutStyle = (token) => {
|
|
|
415
415
|
},
|
|
416
416
|
[`${antCls}-menu-submenu-active > & ${antCls}-menu-submenu-title`]: {
|
|
417
417
|
color: "colorText !important",
|
|
418
|
-
fontWeight:
|
|
418
|
+
fontWeight: token.fontWeightStrong,
|
|
419
419
|
animation: "activeGradientAnimation 0.1s",
|
|
420
420
|
// .border-gradient(linear-gradient(to right, #E9EDF6, colorBgLayout), linear-gradient(90deg, #C6CDD9, colorBgLayout), 0.5px, solid, 8px 0 0 8px),
|
|
421
421
|
backgroundImage: `linear-gradient(to right, #E9EDF6, ${colorBgLayout}), linear-gradient(90deg, #C6CDD9, ${colorBgLayout})`,
|
|
@@ -427,7 +427,7 @@ var genBasicLayoutStyle = (token) => {
|
|
|
427
427
|
},
|
|
428
428
|
[`${antCls}-menu-item-selected`]: {
|
|
429
429
|
color: `${colorPrimary} !important`,
|
|
430
|
-
fontWeight:
|
|
430
|
+
fontWeight: token.fontWeightStrong,
|
|
431
431
|
animation: "selectedGradientAnimation 0.1s",
|
|
432
432
|
// .border-gradient(linear-gradient(to right, #E5EEFF, #F4F8FF), linear-gradient(90deg, @colorPrimaryBorder, colorBgLayout), 0.5px, solid, 8px 0 0 8px),
|
|
433
433
|
backgroundImage: `linear-gradient(to right,#E5EEFF,#F4F8FF),linear-gradient(90deg,${colorPrimaryBorder},${colorBgLayout})`,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/BatchOperationBar/locale/ja-JP.ts
|
|
20
|
+
var ja_JP_exports = {};
|
|
21
|
+
__export(ja_JP_exports, {
|
|
22
|
+
default: () => ja_JP_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(ja_JP_exports);
|
|
25
|
+
var ja_JP_default = {
|
|
26
|
+
cancelText: "選択解除",
|
|
27
|
+
openText: "選択済みを展開",
|
|
28
|
+
hiddenText: "選択済みを折りたたむ",
|
|
29
|
+
alertText: "${} 件を選択しました"
|
|
30
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/Boundary/locale/ja-JP.ts
|
|
20
|
+
var ja_JP_exports = {};
|
|
21
|
+
__export(ja_JP_exports, {
|
|
22
|
+
default: () => ja_JP_default
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(ja_JP_exports);
|
|
25
|
+
var ja_JP_default = {
|
|
26
|
+
goHome: "ホームに戻る",
|
|
27
|
+
noPermission: "このページへのアクセス権限がありません",
|
|
28
|
+
noPage: "このページが見つかりません",
|
|
29
|
+
normal: "正常動作",
|
|
30
|
+
test: "クリックしてクラッシュ効果をテスト",
|
|
31
|
+
collapse: "ページがクラッシュしました~",
|
|
32
|
+
incompatible: "ブラウザバージョンが互換性がありません",
|
|
33
|
+
proposal: "ブラウザバージョンが低すぎます。セキュリティリスクを避けるため、Chrome ブラウザのバージョン 80 以上を使用することをお勧めします"
|
|
34
|
+
};
|
|
@@ -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,49 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
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
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/DateRanger/locale/ja-JP.ts
|
|
30
|
+
var ja_JP_exports = {};
|
|
31
|
+
__export(ja_JP_exports, {
|
|
32
|
+
default: () => ja_JP_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(ja_JP_exports);
|
|
35
|
+
var import_ja_JP = __toESM(require("rc-picker/es/locale/ja_JP"));
|
|
36
|
+
var ja_JP_default = {
|
|
37
|
+
customize: "カスタム",
|
|
38
|
+
customTime: "カスタム時間",
|
|
39
|
+
startDate: "開始日",
|
|
40
|
+
startTime: "開始時刻",
|
|
41
|
+
endDate: "終了日",
|
|
42
|
+
endTime: "終了時刻",
|
|
43
|
+
cancel: "キャンセル",
|
|
44
|
+
confirm: "確定",
|
|
45
|
+
current: "現在",
|
|
46
|
+
jumpBack: "前の時間間隔にジャンプ",
|
|
47
|
+
jumpForward: "次の時間間隔にジャンプ",
|
|
48
|
+
...import_ja_JP.default
|
|
49
|
+
};
|