@chaoswise/ui 2.3.18 → 2.4.0
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/lib/BasicLayout/index.js +8 -3
- package/lib/BasicLayout/locale/index.js +9 -4
- package/lib/BasicLayout/locale/zh_TW.js +4 -0
- package/lib/CWMessage/MessageContent/TabList/index.js +6 -15
- package/lib/CWMessage/MessageContent/index.js +13 -9
- package/lib/CWMessage/locale/en_US.js +4 -1
- package/lib/CWMessage/locale/index.js +10 -11
- package/lib/CWMessage/locale/zh_CN.js +4 -1
- package/lib/CWMessage/locale/zh_TW.js +6 -0
- package/lib/CWRangePicker/DropdownMenu/MoreHistoryList/index.js +7 -8
- package/lib/CWRangePicker/DropdownMenu/MoreTimeList/index.js +6 -15
- package/lib/CWRangePicker/DropdownMenu/index.js +10 -9
- package/lib/CWRangePicker/Refresh/index.js +7 -8
- package/lib/CWRangePicker/TimeSpan/index.js +10 -17
- package/lib/CWRangePicker/index.js +26 -16
- package/lib/CWRangePicker/locale/en_US.js +2 -9
- package/lib/CWRangePicker/locale/index.js +10 -11
- package/lib/CWRangePicker/locale/zh_CN.js +2 -9
- package/lib/CWRangePicker/locale/zh_TW.js +29 -0
- package/lib/CWRangePicker/utils/index.js +7 -4
- package/lib/CWSelect/index.js +7 -9
- package/lib/CWSelect/locale/index.js +10 -11
- package/lib/CWSelect/locale/zh_TW.js +4 -0
- package/lib/CWTable/EditLine.js +8 -9
- package/lib/CWTable/Filter.js +6 -7
- package/lib/CWTable/locale/index.js +10 -11
- package/lib/CWTable/locale/zh_TW.js +6 -0
- package/lib/CWTree/index.js +6 -7
- package/lib/CWTree/locale/index.js +10 -11
- package/lib/CWTree/locale/zh_TW.js +3 -0
- package/lib/CWUpload/locale/en_US.js +0 -8
- package/lib/CWUpload/locale/index.js +10 -11
- package/lib/CWUpload/locale/zh_TW.js +6 -0
- package/lib/CWUpload/upload/Dragger.js +6 -7
- package/lib/CWUpload/upload/UploadList.js +11 -12
- package/lib/ColorPicker/index.js +7 -10
- package/lib/ColorPicker/locale/index.js +10 -11
- package/lib/ColorPicker/locale/zh_TW.js +4 -0
- package/lib/ConfigProvider/ConfigProvider.js +14 -7
- package/lib/ConfigProvider/Switch.js +29 -11
- package/lib/DateRangePicker/components/ExtraQuickFooter.js +24 -20
- package/lib/DateRangePicker/locale/index.js +10 -11
- package/lib/DateRangePicker/locale/zh_TW.js +5 -0
- package/lib/DropdownDatePicker/DropdownMenu/MoreTimeList/index.js +6 -7
- package/lib/DropdownDatePicker/DropdownMenu/index.js +7 -8
- package/lib/DropdownDatePicker/index.js +8 -7
- package/lib/DropdownDatePicker/locale/index.js +10 -11
- package/lib/DropdownDatePicker/locale/zh_TW.js +21 -0
- package/lib/DropdownDatePicker/utils/index.js +4 -2
- package/lib/Empty/index.js +6 -7
- package/lib/Empty/locale/index.js +10 -11
- package/lib/Empty/locale/zh_TW.js +3 -0
- package/lib/Exception/index.js +12 -13
- package/lib/Exception/locale/en_US.js +3 -1
- package/lib/Exception/locale/index.js +10 -11
- package/lib/Exception/locale/zh_CN.js +3 -1
- package/lib/Exception/locale/zh_TW.js +9 -0
- package/lib/FilterDropDown/index.js +6 -7
- package/lib/FilterDropDown/locale/index.js +10 -11
- package/lib/FilterDropDown/locale/zh_TW.js +3 -0
- package/lib/Header/UserSetting/index.js +14 -2
- package/lib/IconSelect/components/CustomImg/index.js +11 -12
- package/lib/IconSelect/components/SearchIcon/index.js +10 -8
- package/lib/IconSelect/index.js +7 -8
- package/lib/IconSelect/locale/index.js +10 -11
- package/lib/IconSelect/locale/zh_TW.js +11 -0
- package/lib/Joyride/List.js +8 -9
- package/lib/Joyride/index.js +21 -22
- package/lib/Joyride/locale/index.js +10 -11
- package/lib/Joyride/locale/zh_TW.js +25 -0
- package/lib/Pagination/index.js +21 -18
- package/lib/Pagination/locale/en_US.js +4 -10
- package/lib/Pagination/locale/index.js +10 -11
- package/lib/Pagination/locale/zh_CN.js +6 -13
- package/lib/Pagination/locale/zh_TW.js +8 -0
- package/lib/Progress/index.js +6 -15
- package/lib/Progress/locale/en_US.js +1 -1
- package/lib/Progress/locale/index.js +10 -11
- package/lib/Progress/locale/zh_CN.js +1 -1
- package/lib/Progress/locale/zh_TW.js +3 -0
- package/lib/QuickTransfer/DragList.js +6 -7
- package/lib/QuickTransfer/index.js +9 -10
- package/lib/QuickTransfer/locale/index.js +10 -11
- package/lib/QuickTransfer/locale/zh_TW.js +8 -0
- package/lib/RangePicker/components/ExtraTimeFooter.js +6 -13
- package/lib/RangePicker/locale/index.js +10 -11
- package/lib/RangePicker/locale/zh_TW.js +5 -0
- package/lib/SearchBar/index.js +9 -10
- package/lib/SearchBar/locale/index.js +10 -11
- package/lib/SearchBar/locale/zh_CN.js +0 -8
- package/lib/SearchBar/locale/zh_TW.js +6 -0
- package/lib/TreeSelect111/index.js +6 -15
- package/lib/TreeSelect111/locale/index.js +10 -11
- package/lib/TreeSelect111/locale/zh_TW.js +3 -0
- package/lib/WangEditor/index.js +13 -7
- package/lib/WangEditor/locale/index.js +60 -29
- package/lib/utils/index.js +11 -0
- package/package.json +2 -2
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: andrew.qiao andrew.qiao@cloudwise.com
|
|
3
|
-
* @Date: 2022-09-13 17:59:38
|
|
4
|
-
* @LastEditors: andrew.qiao andrew.qiao@cloudwise.com
|
|
5
|
-
* @LastEditTime: 2022-09-20 17:12:13
|
|
6
|
-
* @FilePath: /change_01/aops_web_commons/packages/ui/components/CWRangePicker/locale/en_US.js
|
|
7
|
-
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
-
*/
|
|
9
1
|
export default {
|
|
10
2
|
recover: "Restore default",
|
|
11
3
|
forwardSmooth: "Forward smooth",
|
|
@@ -32,5 +24,6 @@ export default {
|
|
|
32
24
|
"fit-the-input-format": "Fit the input format",
|
|
33
25
|
"does-not-match-the-input-format": "Does not match the input format",
|
|
34
26
|
"the-selected-time-does-not-meet-the-rule-limit": "If the selected time is the same or exceeds the current time, select another time",
|
|
35
|
-
"the-maximum-time-span-is-exceeded": "The maximum time span is exceeded, please re-enter"
|
|
27
|
+
"the-maximum-time-span-is-exceeded": "The maximum time span is exceeded, please re-enter",
|
|
28
|
+
"unconverted-title": "Unconverted title"
|
|
36
29
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
1
|
+
import zh_CN from './zh_CN.js';
|
|
2
|
+
import en_US from './en_US.js';
|
|
3
|
+
import zh_TW from './zh_TW.js';
|
|
4
|
+
export default {
|
|
5
|
+
zh_CN: zh_CN,
|
|
6
|
+
en_US: en_US,
|
|
7
|
+
zh_TW: zh_TW,
|
|
8
|
+
// 兼容
|
|
9
|
+
zh: zh_CN,
|
|
10
|
+
en: en_US
|
|
12
11
|
};
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: andrew.qiao andrew.qiao@cloudwise.com
|
|
3
|
-
* @Date: 2022-09-13 17:59:38
|
|
4
|
-
* @LastEditors: andrew.qiao andrew.qiao@cloudwise.com
|
|
5
|
-
* @LastEditTime: 2022-09-20 17:23:46
|
|
6
|
-
* @FilePath: /change_01/aops_web_commons/packages/ui/components/CWRangePicker/locale/zh_CN.js
|
|
7
|
-
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
-
*/
|
|
9
1
|
export default {
|
|
10
2
|
recover: "恢复默认值",
|
|
11
3
|
forwardSmooth: "向前平滑",
|
|
@@ -32,5 +24,6 @@ export default {
|
|
|
32
24
|
"fit-the-input-format": "符合输入格式",
|
|
33
25
|
"does-not-match-the-input-format": "不符合输入格式,请重新输入",
|
|
34
26
|
"the-selected-time-does-not-meet-the-rule-limit": "选择的时间二者相同或者某一时间超过当前时间,请重新选择",
|
|
35
|
-
"the-maximum-time-span-is-exceeded": "超过了限制的最大时间跨度,请重新输入"
|
|
27
|
+
"the-maximum-time-span-is-exceeded": "超过了限制的最大时间跨度,请重新输入",
|
|
28
|
+
"unconverted-title": "未转化标题"
|
|
36
29
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
recover: "恢復默認值",
|
|
3
|
+
forwardSmooth: "向前平滑",
|
|
4
|
+
backSmooth: "向後平滑",
|
|
5
|
+
ExpandSpan: "按{span}倍增加時間跨度",
|
|
6
|
+
refresh: "刷新",
|
|
7
|
+
autoRefresh: "自動刷新",
|
|
8
|
+
s: "秒",
|
|
9
|
+
m: "分鐘",
|
|
10
|
+
h: "小時",
|
|
11
|
+
d: "天",
|
|
12
|
+
mo: "個月",
|
|
13
|
+
y: "年",
|
|
14
|
+
more: "更多",
|
|
15
|
+
"select-calendar": "日曆選擇",
|
|
16
|
+
recently: "最近",
|
|
17
|
+
relative: "相對",
|
|
18
|
+
absolute: "絕對",
|
|
19
|
+
unixTimestamp: "Unix",
|
|
20
|
+
other: "其他",
|
|
21
|
+
history: "歷史記錄",
|
|
22
|
+
clear: "清空",
|
|
23
|
+
"enter manually": "可根據以下類型,按查詢語句格式手動輸入",
|
|
24
|
+
"fit-the-input-format": "符合輸入格式",
|
|
25
|
+
"does-not-match-the-input-format": "不符合輸入格式,請重新輸入",
|
|
26
|
+
"the-selected-time-does-not-meet-the-rule-limit": "選擇的時間二者相同或者某一時間超過當前時間,請重新選擇",
|
|
27
|
+
"the-maximum-time-span-is-exceeded": "超過了限制的最大時間跨度,請重新輸入",
|
|
28
|
+
"unconverted-title": "未轉化標題"
|
|
29
|
+
};
|
|
@@ -111,7 +111,8 @@ export var judgeType = function judgeType(recordDateValue) {
|
|
|
111
111
|
return [isRule, captureUnit, recordUnit];
|
|
112
112
|
};
|
|
113
113
|
export var echoRecentlyTimeTitle = function echoRecentlyTimeTitle(locale, captureUnit) {
|
|
114
|
-
|
|
114
|
+
// todo: 需要优化
|
|
115
|
+
if (locale == "zh_CN" || locale == "zh" || locale == "zh_TW") {
|
|
115
116
|
if (captureUnit[1] === "mo") {
|
|
116
117
|
return "\u6700\u8FD1".concat(captureUnit[0], "\u4E2A").concat(ENUM_TimeUnit.mo[2]);
|
|
117
118
|
}
|
|
@@ -135,7 +136,7 @@ export var echoAbsoluteTimeTitle = function echoAbsoluteTimeTitle(value, format)
|
|
|
135
136
|
export var echoInputValue = function echoInputValue() {
|
|
136
137
|
var recordDateValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
137
138
|
var isFoucs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
138
|
-
var locale = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "
|
|
139
|
+
var locale = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "zh_CN";
|
|
139
140
|
var format = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "YYYY/MM/DD HH:mm:ss";
|
|
140
141
|
var forceRenderTitle = arguments.length > 4 ? arguments[4] : undefined;
|
|
141
142
|
var isAutoRefresh = arguments.length > 5 ? arguments[5] : undefined;
|
|
@@ -460,7 +461,9 @@ export var getCorrectValue = function getCorrectValue(value) {
|
|
|
460
461
|
* @param {Object} value
|
|
461
462
|
* @returns
|
|
462
463
|
*/
|
|
463
|
-
export var getHistoryInfo = function getHistoryInfo(recordValue, historyList,
|
|
464
|
+
export var getHistoryInfo = function getHistoryInfo(recordValue, historyList, _ref, format, timeSpanBoundary) {
|
|
465
|
+
var localeObj = _ref.localeObj,
|
|
466
|
+
locale = _ref.locale;
|
|
464
467
|
var key = recordValue.key,
|
|
465
468
|
value = recordValue.value,
|
|
466
469
|
_recordValue$title = recordValue.title,
|
|
@@ -480,7 +483,7 @@ export var getHistoryInfo = function getHistoryInfo(recordValue, historyList, lo
|
|
|
480
483
|
}
|
|
481
484
|
}
|
|
482
485
|
if (!values && !isRule && !_title) {
|
|
483
|
-
_title =
|
|
486
|
+
_title = localeObj(["unconverted-title"]);
|
|
484
487
|
}
|
|
485
488
|
var isRepeat = Boolean(historyList.find(function (item) {
|
|
486
489
|
return item.key === key || item.title === _title;
|
package/lib/CWSelect/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import "@chaoswise/ui/lib/Tooltip/index.less";
|
|
|
5
5
|
import _Tooltip from "@chaoswise/ui/lib/Tooltip";
|
|
6
6
|
import "@chaoswise/ui/lib/Tag/index.less";
|
|
7
7
|
import _Tag from "@chaoswise/ui/lib/Tag";
|
|
8
|
-
import
|
|
8
|
+
import _useLocale2 from "@chaoswise/ui/lib/useLocale";
|
|
9
9
|
var _excluded = ["onChange", "tagTooltipRender", "tagLabelRender", "maxTagCount", "maxTagTextLength", "defaultValue", "tagRender", "tagDropdownStyle", "mode", "value", "labelInValue", "allowDrag", "onDragEnd", "showTooltip", "showCheckbox", "dropdownRender", "onSelect", "onDeselect", "listHeight", "onDropdownVisibleChange", "selectLabel", "label"];
|
|
10
10
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
11
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
@@ -32,12 +32,12 @@ import PropTypes from "prop-types";
|
|
|
32
32
|
import Tag from './Tag';
|
|
33
33
|
import { HTML5Backend } from "react-dnd-html5-backend";
|
|
34
34
|
import { DndProvider } from "react-dnd";
|
|
35
|
-
import { useDrag, useDrop } from "react-dnd";
|
|
36
35
|
import update from 'immutability-helper';
|
|
37
|
-
import { getLocale } from "./locale";
|
|
38
36
|
import { getDefaultPaddingLeft } from './utils';
|
|
39
37
|
import useConfigContext from '../useConfigContext';
|
|
40
38
|
import DragTag from './DragTag';
|
|
39
|
+
import langConfig from './locale';
|
|
40
|
+
import { formatMessage } from "../utils";
|
|
41
41
|
var Option = RCSelect.Option,
|
|
42
42
|
OptGroup = RCSelect.OptGroup;
|
|
43
43
|
/**
|
|
@@ -76,10 +76,8 @@ var CWSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
76
76
|
selectLabel = props.selectLabel,
|
|
77
77
|
label = props.label,
|
|
78
78
|
rest = _objectWithoutProperties(props, _excluded);
|
|
79
|
-
var
|
|
80
|
-
|
|
81
|
-
locale = _ConfigProvider$useLo2 === void 0 ? "zh" : _ConfigProvider$useLo2;
|
|
82
|
-
var localeObj = getLocale(locale);
|
|
79
|
+
var _useLocale = _useLocale2(langConfig),
|
|
80
|
+
localeObj = _useLocale.langObj;
|
|
83
81
|
var _useConfigContext = useConfigContext(),
|
|
84
82
|
getPrefixCls = _useConfigContext.getPrefixCls;
|
|
85
83
|
var prefixCls = getPrefixCls();
|
|
@@ -366,7 +364,7 @@ var CWSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
366
364
|
});
|
|
367
365
|
return !dataSource.length ? /*#__PURE__*/React.createElement("div", {
|
|
368
366
|
className: "cw-select-show-checkbox-empty"
|
|
369
|
-
}, localeObj["no-results-were-found"]) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
367
|
+
}, formatMessage(localeObj["no-results-were-found"])) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
370
368
|
className: "cw-checkbox-all",
|
|
371
369
|
onMouseDown: function onMouseDown(e) {
|
|
372
370
|
e.preventDefault();
|
|
@@ -385,7 +383,7 @@ var CWSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
385
383
|
style: {
|
|
386
384
|
width: '100%'
|
|
387
385
|
}
|
|
388
|
-
}, localeObj["checkAll"], "\uFF08", filterActiveValues.length, "/", dataSource.length, "\uFF09")), originNode);
|
|
386
|
+
}, formatMessage(localeObj["checkAll"]), "\uFF08", filterActiveValues.length, "/", dataSource.length, "\uFF09")), originNode);
|
|
389
387
|
};
|
|
390
388
|
var onDropdownVisibleChange = function onDropdownVisibleChange(open) {
|
|
391
389
|
setResOpen(open);
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
1
|
+
import zh_CN from './zh_CN.js';
|
|
2
|
+
import en_US from './en_US.js';
|
|
3
|
+
import zh_TW from './zh_TW.js';
|
|
4
|
+
export default {
|
|
5
|
+
zh_CN: zh_CN,
|
|
6
|
+
en_US: en_US,
|
|
7
|
+
zh_TW: zh_TW,
|
|
8
|
+
// 兼容
|
|
9
|
+
zh: zh_CN,
|
|
10
|
+
en: en_US
|
|
12
11
|
};
|
package/lib/CWTable/EditLine.js
CHANGED
|
@@ -9,7 +9,7 @@ import "@chaoswise/ui/lib/Form/index.less";
|
|
|
9
9
|
import _Form from "@chaoswise/ui/lib/Form";
|
|
10
10
|
import "@chaoswise/ui/lib/Input/index.less";
|
|
11
11
|
import _Input from "@chaoswise/ui/lib/Input";
|
|
12
|
-
import
|
|
12
|
+
import _useLocale2 from "@chaoswise/ui/lib/useLocale";
|
|
13
13
|
var _excluded = ["form"],
|
|
14
14
|
_excluded2 = ["render", "helpText", "rules"];
|
|
15
15
|
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; }
|
|
@@ -31,7 +31,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
31
31
|
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; }
|
|
32
32
|
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; }
|
|
33
33
|
import React, { useEffect, useState } from 'react';
|
|
34
|
-
import
|
|
34
|
+
import langConfig from './locale';
|
|
35
|
+
import { formatMessage } from "../utils";
|
|
35
36
|
import useConfigContext from '../useConfigContext';
|
|
36
37
|
var EditableContext = /*#__PURE__*/React.createContext();
|
|
37
38
|
|
|
@@ -105,10 +106,8 @@ var EditableRowCell = function EditableRowCell(props) {
|
|
|
105
106
|
var _useConfigContext2 = useConfigContext(),
|
|
106
107
|
getPrefixCls = _useConfigContext2.getPrefixCls;
|
|
107
108
|
var prefixCls = getPrefixCls();
|
|
108
|
-
var
|
|
109
|
-
|
|
110
|
-
locale = _ConfigProvider$useLo2 === void 0 ? "zh" : _ConfigProvider$useLo2;
|
|
111
|
-
var localeObj = getLocale(locale);
|
|
109
|
+
var _useLocale = _useLocale2(langConfig),
|
|
110
|
+
localeObj = _useLocale.langObj;
|
|
112
111
|
var editable = ['line', 'cell'].includes(editMode);
|
|
113
112
|
var renderCell = function renderCell(_ref2) {
|
|
114
113
|
var form = _ref2.form,
|
|
@@ -157,12 +156,12 @@ var EditableRowCell = function EditableRowCell(props) {
|
|
|
157
156
|
disabled: Boolean(loading),
|
|
158
157
|
type: "primary",
|
|
159
158
|
onClick: onOk
|
|
160
|
-
}, localeObj
|
|
159
|
+
}, formatMessage(localeObj["sure"])), /*#__PURE__*/React.createElement(_Button, {
|
|
161
160
|
disabled: Boolean(loading),
|
|
162
161
|
onClick: function onClick() {
|
|
163
162
|
return setEditing(false);
|
|
164
163
|
}
|
|
165
|
-
}, localeObj
|
|
164
|
+
}, formatMessage(localeObj["cancel"]))), /*#__PURE__*/React.createElement("span", {
|
|
166
165
|
className: "".concat(prefixCls, "-cw-editcell-help")
|
|
167
166
|
}, helpText)) : '',
|
|
168
167
|
trigger: "click",
|
|
@@ -171,7 +170,7 @@ var EditableRowCell = function EditableRowCell(props) {
|
|
|
171
170
|
}, /*#__PURE__*/React.createElement("a", {
|
|
172
171
|
className: "cw-edit-text"
|
|
173
172
|
}, children, /*#__PURE__*/React.createElement(_Tooltip, {
|
|
174
|
-
title: localeObj
|
|
173
|
+
title: formatMessage(localeObj["edit"])
|
|
175
174
|
}, /*#__PURE__*/React.createElement(_Icon, {
|
|
176
175
|
className: "cw-edit-icon",
|
|
177
176
|
type: "edit",
|
package/lib/CWTable/Filter.js
CHANGED
|
@@ -2,7 +2,7 @@ import "@chaoswise/ui/lib/Button/index.less";
|
|
|
2
2
|
import _Button from "@chaoswise/ui/lib/Button";
|
|
3
3
|
import "@chaoswise/ui/lib/Checkbox/index.less";
|
|
4
4
|
import _Checkbox from "@chaoswise/ui/lib/Checkbox";
|
|
5
|
-
import
|
|
5
|
+
import _useLocale2 from "@chaoswise/ui/lib/useLocale";
|
|
6
6
|
import _Tree from "@chaoswise/ui/lib/Antd/Tree";
|
|
7
7
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
8
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -11,13 +11,12 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
11
11
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import React, { memo, useEffect, useState } from "react";
|
|
14
|
-
import
|
|
14
|
+
import langConfig from './locale';
|
|
15
|
+
import { formatMessage } from "../utils";
|
|
15
16
|
var TreeNode = _Tree.TreeNode;
|
|
16
17
|
function Filter(props) {
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
locale = _ConfigProvider$useLo2 === void 0 ? "zh" : _ConfigProvider$useLo2;
|
|
20
|
-
var localeObj = getLocale(locale);
|
|
18
|
+
var _useLocale = _useLocale2(langConfig),
|
|
19
|
+
localeObj = _useLocale.langObj;
|
|
21
20
|
var _props$filters = props.filters,
|
|
22
21
|
filters = _props$filters === void 0 ? [] : _props$filters,
|
|
23
22
|
filterMultiple = props.filterMultiple,
|
|
@@ -105,7 +104,7 @@ function Filter(props) {
|
|
|
105
104
|
setTempSelectKey(allKeys.length === tempSelectKey.length ? [] : allKeys);
|
|
106
105
|
},
|
|
107
106
|
checked: allKeys.length === tempSelectKey.length
|
|
108
|
-
}, localeObj
|
|
107
|
+
}, formatMessage(localeObj["selectAll"]))), /*#__PURE__*/React.createElement(_Tree, {
|
|
109
108
|
checkable: true,
|
|
110
109
|
selectedKeys: [],
|
|
111
110
|
checkedKeys: tempSelectKey,
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
1
|
+
import zh_CN from './zh_CN.js';
|
|
2
|
+
import en_US from './en_US.js';
|
|
3
|
+
import zh_TW from './zh_TW.js';
|
|
4
|
+
export default {
|
|
5
|
+
zh_CN: zh_CN,
|
|
6
|
+
en_US: en_US,
|
|
7
|
+
zh_TW: zh_TW,
|
|
8
|
+
// 兼容
|
|
9
|
+
zh: zh_CN,
|
|
10
|
+
en: en_US
|
|
12
11
|
};
|
package/lib/CWTree/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import "@chaoswise/ui/lib/TooltipText/index.less";
|
|
|
5
5
|
import _TooltipText from "@chaoswise/ui/lib/TooltipText";
|
|
6
6
|
import _Dropdown from "@chaoswise/ui/lib/Antd/Dropdown";
|
|
7
7
|
import _Icon from "@chaoswise/ui/lib/Antd/Icon";
|
|
8
|
-
import
|
|
8
|
+
import _useLocale2 from "@chaoswise/ui/lib/useLocale";
|
|
9
9
|
import _Menu from "@chaoswise/ui/lib/Menu";
|
|
10
10
|
import "antd/es/tree/style";
|
|
11
11
|
import _Tree from "antd/es/tree";
|
|
@@ -31,10 +31,11 @@ import isUndefined from "lodash-es/isUndefined";
|
|
|
31
31
|
import PropTypes from "prop-types";
|
|
32
32
|
import classnames from "classnames";
|
|
33
33
|
import DragSvg from "./assets/Drag";
|
|
34
|
-
import { getLocale } from "./locale";
|
|
35
34
|
import "./index.less";
|
|
36
35
|
import { createTitle, KMPMatch } from "../QuickTransfer/utils";
|
|
37
36
|
import { createTree } from "./utils";
|
|
37
|
+
import langConfig from './locale';
|
|
38
|
+
import { formatMessage } from "../utils";
|
|
38
39
|
var TreeNode = _Tree.TreeNode,
|
|
39
40
|
DirectoryTree = _Tree.DirectoryTree;
|
|
40
41
|
var SubMenu = _Menu.SubMenu;
|
|
@@ -89,10 +90,8 @@ function CWTree(_ref) {
|
|
|
89
90
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
90
91
|
selfSelectedKeys = _useState6[0],
|
|
91
92
|
setSelfSelectedKeys = _useState6[1];
|
|
92
|
-
var
|
|
93
|
-
|
|
94
|
-
locale = _ConfigProvider$useLo2 === void 0 ? "zh" : _ConfigProvider$useLo2;
|
|
95
|
-
var localeObj = getLocale(locale);
|
|
93
|
+
var _useLocale = _useLocale2(langConfig),
|
|
94
|
+
localeObj = _useLocale.langObj;
|
|
96
95
|
useEffect(function () {
|
|
97
96
|
if (selectedKeys !== undefined) {
|
|
98
97
|
setSelfSelectedKeys(selectedKeys);
|
|
@@ -201,7 +200,7 @@ function CWTree(_ref) {
|
|
|
201
200
|
}, title)), isDrawer && draggable && _showExtend === key && /*#__PURE__*/React.createElement("span", {
|
|
202
201
|
className: classnames("cw-tree-treenode-drag-icon")
|
|
203
202
|
}, /*#__PURE__*/React.createElement(_Tooltip, {
|
|
204
|
-
title: localeObj["dragMove"]
|
|
203
|
+
title: formatMessage(localeObj["dragMove"])
|
|
205
204
|
}, /*#__PURE__*/React.createElement(DragSvg, null)))), /*#__PURE__*/React.createElement("span", {
|
|
206
205
|
className: "cw-tree-treenode-extend ".concat(_showExtend === key ? "cw-tree-treenode-extend-show" : ""),
|
|
207
206
|
treekey: key
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
1
|
+
import zh_CN from './zh_CN.js';
|
|
2
|
+
import en_US from './en_US.js';
|
|
3
|
+
import zh_TW from './zh_TW.js';
|
|
4
|
+
export default {
|
|
5
|
+
zh_CN: zh_CN,
|
|
6
|
+
en_US: en_US,
|
|
7
|
+
zh_TW: zh_TW,
|
|
8
|
+
// 兼容
|
|
9
|
+
zh: zh_CN,
|
|
10
|
+
en: en_US
|
|
12
11
|
};
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: andrew.qiao andrew.qiao@cloudwise.com
|
|
3
|
-
* @Date: 2022-09-13 17:59:38
|
|
4
|
-
* @LastEditors: andrew.qiao andrew.qiao@cloudwise.com
|
|
5
|
-
* @LastEditTime: 2022-11-14 10:41:23
|
|
6
|
-
* @FilePath: /change_01/aops_web_commons/packages/ui/components/CWUpload/locale/en_US.js
|
|
7
|
-
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
-
*/
|
|
9
1
|
export default {
|
|
10
2
|
reUpload: 'reUpload',
|
|
11
3
|
"delete": 'delete',
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
1
|
+
import zh_CN from './zh_CN.js';
|
|
2
|
+
import en_US from './en_US.js';
|
|
3
|
+
import zh_TW from './zh_TW.js';
|
|
4
|
+
export default {
|
|
5
|
+
zh_CN: zh_CN,
|
|
6
|
+
en_US: en_US,
|
|
7
|
+
zh_TW: zh_TW,
|
|
8
|
+
// 兼容
|
|
9
|
+
zh: zh_CN,
|
|
10
|
+
en: en_US
|
|
12
11
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _Icon from "@chaoswise/ui/lib/Antd/Icon";
|
|
2
|
-
import
|
|
2
|
+
import _useLocale2 from "@chaoswise/ui/lib/useLocale";
|
|
3
3
|
var __rest = this && this.__rest || function (s, e) {
|
|
4
4
|
var t = {};
|
|
5
5
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
@@ -19,15 +19,14 @@ var __rest = this && this.__rest || function (s, e) {
|
|
|
19
19
|
// @ts-nocheck
|
|
20
20
|
import * as React from "react";
|
|
21
21
|
import Upload from "./Upload";
|
|
22
|
-
import { getLocale } from "../locale";
|
|
23
22
|
import classnames from "classnames";
|
|
23
|
+
import langConfig from '../locale';
|
|
24
|
+
import { formatMessage } from "../../utils";
|
|
24
25
|
var DefaultChildren = function DefaultChildren(_ref) {
|
|
25
26
|
var title = _ref.title,
|
|
26
27
|
description = _ref.description;
|
|
27
|
-
var
|
|
28
|
-
|
|
29
|
-
locale = _ConfigProvider$useLo2 === void 0 ? "zh" : _ConfigProvider$useLo2;
|
|
30
|
-
var localeObj = getLocale(locale);
|
|
28
|
+
var _useLocale = _useLocale2(langConfig),
|
|
29
|
+
localeObj = _useLocale.langObj;
|
|
31
30
|
return /*#__PURE__*/React.createElement("div", {
|
|
32
31
|
className: "cw-upload-drag-wrapper"
|
|
33
32
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -36,7 +35,7 @@ var DefaultChildren = function DefaultChildren(_ref) {
|
|
|
36
35
|
type: "cloud-upload"
|
|
37
36
|
})), /*#__PURE__*/React.createElement("div", {
|
|
38
37
|
className: "cw-upload-drag-text"
|
|
39
|
-
}, title !== null && title !== void 0 ? title : localeObj
|
|
38
|
+
}, title !== null && title !== void 0 ? title : formatMessage(localeObj["upload"])), description && /*#__PURE__*/React.createElement("div", {
|
|
40
39
|
className: "cw-upload-drag-desc"
|
|
41
40
|
}, description));
|
|
42
41
|
};
|
|
@@ -4,7 +4,7 @@ import _Tooltip from "@chaoswise/ui/lib/Tooltip";
|
|
|
4
4
|
import "@chaoswise/ui/lib/Progress/index.less";
|
|
5
5
|
import _Progress from "@chaoswise/ui/lib/Progress";
|
|
6
6
|
import _Icon from "@chaoswise/ui/lib/Antd/Icon";
|
|
7
|
-
import
|
|
7
|
+
import _useLocale2 from "@chaoswise/ui/lib/useLocale";
|
|
8
8
|
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; }
|
|
9
9
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
10
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
@@ -20,7 +20,6 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
20
20
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
21
21
|
// @ts-nocheck
|
|
22
22
|
import * as React from "react";
|
|
23
|
-
import { getLocale } from "../locale";
|
|
24
23
|
import Animate from "rc-animate";
|
|
25
24
|
import classNames from "classnames";
|
|
26
25
|
import { previewImage, isImageUrl } from "./utils";
|
|
@@ -28,11 +27,11 @@ import { ConfigConsumer } from "antd/es/config-provider";
|
|
|
28
27
|
import { HTML5Backend } from "react-dnd-html5-backend";
|
|
29
28
|
import { DndProvider } from "react-dnd";
|
|
30
29
|
import DragList from "./DragList";
|
|
30
|
+
import langConfig from '../locale';
|
|
31
|
+
import { formatMessage } from "../../utils";
|
|
31
32
|
export default function UploadList(props) {
|
|
32
|
-
var
|
|
33
|
-
|
|
34
|
-
locale = _ConfigProvider$useLo2 === void 0 ? "zh" : _ConfigProvider$useLo2;
|
|
35
|
-
var localeObj = getLocale(locale);
|
|
33
|
+
var _useLocale = _useLocale2(langConfig),
|
|
34
|
+
localeObj = _useLocale.langObj;
|
|
36
35
|
return /*#__PURE__*/React.createElement(IUploadList, Object.assign({
|
|
37
36
|
localeObj: localeObj
|
|
38
37
|
}, props));
|
|
@@ -92,9 +91,9 @@ var IUploadList = /*#__PURE__*/function (_React$Component) {
|
|
|
92
91
|
isCustomErrorMessage = _customErrorOption$is === void 0 ? false : _customErrorOption$is,
|
|
93
92
|
_customErrorOption$op = customErrorOption.operateTitle,
|
|
94
93
|
operateTitle = _customErrorOption$op === void 0 ? {
|
|
95
|
-
reloadTitle: localeObj["reUpload"],
|
|
96
|
-
deleteTitle: localeObj["delete"],
|
|
97
|
-
downloadExceptionReportTitle: localeObj["downloadExceptionReport"]
|
|
94
|
+
reloadTitle: formatMessage(localeObj["reUpload"]),
|
|
95
|
+
deleteTitle: formatMessage(localeObj["delete"]),
|
|
96
|
+
downloadExceptionReportTitle: formatMessage(localeObj["downloadExceptionReport"])
|
|
98
97
|
} : _customErrorOption$op,
|
|
99
98
|
_customErrorOption$on = customErrorOption.onDownloadExceptionReport,
|
|
100
99
|
onDownloadExceptionReport = _customErrorOption$on === void 0 ? function () {} : _customErrorOption$on;
|
|
@@ -288,7 +287,7 @@ var IUploadList = /*#__PURE__*/function (_React$Component) {
|
|
|
288
287
|
type: "reload"
|
|
289
288
|
})), /*#__PURE__*/React.createElement("div", {
|
|
290
289
|
className: "".concat(prefixCls, "-one-drag-error")
|
|
291
|
-
}, localeObj["reUpload"])), file.status === "done" && successMessage, (file.status === "done" && !successMessage || file.status == "removed" || !file.status) && /*#__PURE__*/React.createElement("div", {
|
|
290
|
+
}, formatMessage(localeObj["reUpload"]))), file.status === "done" && successMessage, (file.status === "done" && !successMessage || file.status == "removed" || !file.status) && /*#__PURE__*/React.createElement("div", {
|
|
292
291
|
className: "".concat(prefixCls, "-one-drag-uploading")
|
|
293
292
|
}, /*#__PURE__*/React.createElement("div", {
|
|
294
293
|
className: listItemNameClass,
|
|
@@ -326,7 +325,7 @@ var IUploadList = /*#__PURE__*/function (_React$Component) {
|
|
|
326
325
|
fontSize: "16px",
|
|
327
326
|
marginRight: "4px"
|
|
328
327
|
}
|
|
329
|
-
}), localeObj["reUpload"]), /*#__PURE__*/React.createElement("a", {
|
|
328
|
+
}), formatMessage(localeObj["reUpload"])), /*#__PURE__*/React.createElement("a", {
|
|
330
329
|
title: locale.removeFile,
|
|
331
330
|
onClick: function onClick(e) {
|
|
332
331
|
if (!disabled) {
|
|
@@ -346,7 +345,7 @@ var IUploadList = /*#__PURE__*/function (_React$Component) {
|
|
|
346
345
|
fontSize: "16px",
|
|
347
346
|
marginRight: "4px"
|
|
348
347
|
}
|
|
349
|
-
}), localeObj["delete"]))), file.status === "uploading" && /*#__PURE__*/React.createElement("div", {
|
|
348
|
+
}), formatMessage(localeObj["delete"])))), file.status === "uploading" && /*#__PURE__*/React.createElement("div", {
|
|
350
349
|
className: "".concat(prefixCls, "-one-drag-uploading"),
|
|
351
350
|
style: {
|
|
352
351
|
height: "76px",
|
package/lib/ColorPicker/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import _Space from "@chaoswise/ui/lib/Space";
|
|
|
6
6
|
import _Icon from "@chaoswise/ui/lib/Antd/Icon";
|
|
7
7
|
import "@chaoswise/ui/lib/Input/index.less";
|
|
8
8
|
import _Input from "@chaoswise/ui/lib/Input";
|
|
9
|
-
import
|
|
9
|
+
import _useLocale2 from "@chaoswise/ui/lib/useLocale";
|
|
10
10
|
import "@chaoswise/ui/lib/Tabs/index.less";
|
|
11
11
|
import _Tabs from "@chaoswise/ui/lib/Tabs";
|
|
12
12
|
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; }
|
|
@@ -24,7 +24,8 @@ import React, { useEffect, useState } from "react";
|
|
|
24
24
|
import { SketchPicker } from "react-color";
|
|
25
25
|
import classnames from "classnames";
|
|
26
26
|
import { formatRgbaObj, hexToRgba } from "./utils";
|
|
27
|
-
import
|
|
27
|
+
import langConfig from './locale';
|
|
28
|
+
import { formatMessage } from "../utils";
|
|
28
29
|
import PropTypes from "prop-types";
|
|
29
30
|
import "./index.less";
|
|
30
31
|
var TabPane = _Tabs.TabPane;
|
|
@@ -65,11 +66,8 @@ var ColorPicker = function ColorPicker(_ref) {
|
|
|
65
66
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
66
67
|
gradientColorValue = _useState8[0],
|
|
67
68
|
setGradientColorValue = _useState8[1]; //组件渐变色值
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
_ConfigProvider$useLo2 = _ConfigProvider$useLo.locale,
|
|
71
|
-
locale = _ConfigProvider$useLo2 === void 0 ? "zh" : _ConfigProvider$useLo2;
|
|
72
|
-
var localeObj = getLocale(locale);
|
|
69
|
+
var _useLocale = _useLocale2(langConfig),
|
|
70
|
+
localeObj = _useLocale.langObj;
|
|
73
71
|
var _value = value || defaultValue;
|
|
74
72
|
useEffect(function () {
|
|
75
73
|
if (_value) {
|
|
@@ -98,7 +96,6 @@ var ColorPicker = function ColorPicker(_ref) {
|
|
|
98
96
|
});
|
|
99
97
|
}
|
|
100
98
|
}, [_value]);
|
|
101
|
-
|
|
102
99
|
//颜色变化触发值改变
|
|
103
100
|
var onChangeColor = function onChangeColor(colorObj) {
|
|
104
101
|
console.log(colorObj, "colorObj");
|
|
@@ -187,7 +184,7 @@ var ColorPicker = function ColorPicker(_ref) {
|
|
|
187
184
|
onChange: changeTab
|
|
188
185
|
}, /*#__PURE__*/React.createElement(TabPane, {
|
|
189
186
|
key: "single",
|
|
190
|
-
tab: localeObj["color-picker-single"]
|
|
187
|
+
tab: formatMessage(localeObj["color-picker-single"])
|
|
191
188
|
}, /*#__PURE__*/React.createElement("div", {
|
|
192
189
|
className: "color-picker"
|
|
193
190
|
}, /*#__PURE__*/React.createElement(_Input, {
|
|
@@ -199,7 +196,7 @@ var ColorPicker = function ColorPicker(_ref) {
|
|
|
199
196
|
onChange: onChangeColor
|
|
200
197
|
}))), showGradient && /*#__PURE__*/React.createElement(TabPane, {
|
|
201
198
|
key: "gradient",
|
|
202
|
-
tab: localeObj["color-picker-gradient"]
|
|
199
|
+
tab: formatMessage(localeObj["color-picker-gradient"])
|
|
203
200
|
}, /*#__PURE__*/React.createElement("div", {
|
|
204
201
|
className: "color-picker"
|
|
205
202
|
}, /*#__PURE__*/React.createElement("div", {
|