@pisell/materials 1.0.108 → 1.0.110
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +2 -2
- package/es/components/page/index.js +131 -131
- package/es/components/qrcode/index.d.ts +3 -0
- package/es/components/qrcode/index.js +44 -0
- package/es/components/table/BasicTable/index.js +3 -2
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/lib/components/page/index.js +129 -129
- package/lib/components/qrcode/index.d.ts +3 -0
- package/lib/components/qrcode/index.js +68 -0
- package/lib/components/table/BasicTable/index.js +2 -2
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/package.json +3 -3
|
@@ -5,146 +5,146 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
5
5
|
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; }
|
|
6
6
|
import React from "react";
|
|
7
7
|
import ConfigProvider from "../config-provider";
|
|
8
|
-
import { AdapterDayjs } from
|
|
9
|
-
import { LocalizationProvider, createTheme, ThemeProvider } from
|
|
8
|
+
import { AdapterDayjs } from "@pisell/date-picker/es/AdapterDayjs";
|
|
9
|
+
import { LocalizationProvider, createTheme, ThemeProvider } from "@pisell/date-picker";
|
|
10
10
|
var theme = {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
11
|
+
components: {
|
|
12
|
+
Table: {
|
|
13
|
+
colorFillContent: "#EAECF0",
|
|
14
|
+
colorFillSecondary: "#F2F4F7",
|
|
15
|
+
colorBorderSecondary: "#EAECF0",
|
|
16
|
+
colorFillAlter: "#F9FAFB",
|
|
17
|
+
controlItemBgHover: "#F9FAFB",
|
|
18
|
+
colorTextHeading: "#475467",
|
|
19
|
+
colorTextDescription: "#667085",
|
|
20
|
+
colorText: "#101828",
|
|
21
|
+
controlHeight: 32,
|
|
22
|
+
padding: 24,
|
|
23
|
+
margin: 16
|
|
24
24
|
},
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
25
|
+
Button: {
|
|
26
|
+
borderRadiusSM: 6,
|
|
27
|
+
borderRadiusLG: 9,
|
|
28
|
+
borderRadius: 8,
|
|
29
|
+
controlHeight: 36,
|
|
30
|
+
colorBgContainerDisabled: "#F2F4F7",
|
|
31
|
+
colorBgTextHover: "#F9FAFB",
|
|
32
|
+
colorBorder: "#D0D5DD",
|
|
33
|
+
colorError: "#D92D20",
|
|
34
|
+
colorErrorActive: "#D92D20",
|
|
35
|
+
colorErrorHover: "#B42318",
|
|
36
|
+
colorErrorBg: "#FEF3F2",
|
|
37
|
+
colorErrorBorderHover: "#FDA29B",
|
|
38
|
+
colorErrorOutline: "rgba(217, 45, 32, 0.06)",
|
|
39
|
+
colorLink: "#175CD3",
|
|
40
|
+
colorLinkActive: "#194185",
|
|
41
|
+
colorLinkHover: "#1849A9",
|
|
42
|
+
colorPrimaryActive: "#7f56d9",
|
|
43
|
+
colorPrimaryBorder: "#E9D7FE",
|
|
44
|
+
colorText: "#344054",
|
|
45
|
+
colorTextDisabled: "#D0D5DD",
|
|
46
|
+
colorTextLightSolid: "#fff",
|
|
47
|
+
colorBgTextActive: "#D0D5DD",
|
|
48
|
+
controlOutline: "rgba(127, 86, 217, 0.04)",
|
|
49
|
+
controlTmpOutline: "#F9FAFB",
|
|
50
|
+
paddingContentHorizontal: 14,
|
|
51
|
+
marginXS: 8
|
|
52
52
|
},
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
Divider: {
|
|
54
|
+
colorSplit: "#EAECF0"
|
|
55
55
|
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
56
|
+
Breadcrumb: {
|
|
57
|
+
itemColor: "#475467",
|
|
58
|
+
colorTextDescription: "#475467",
|
|
59
|
+
lastItemColor: "#6941C6",
|
|
60
|
+
separatorMargin: 12,
|
|
61
|
+
separatorColor: "#D0D5DD",
|
|
62
|
+
linkHoverColor: "#1D2939",
|
|
63
|
+
linkColor: "#475467",
|
|
64
|
+
colorBgTextHover: "#F9FAFB",
|
|
65
|
+
paddingXXS: 8
|
|
66
66
|
},
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
Dropdown: {
|
|
68
|
+
borderRadiusLG: 8,
|
|
69
69
|
// "boxShadowPopoverArrow": "2px 2px 5px rgba(0, 0, 0, 0.05)",
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
controlHeight: 42,
|
|
71
|
+
fontSize: 14
|
|
72
72
|
},
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
73
|
+
DatePicker: {
|
|
74
|
+
borderRadius: 8,
|
|
75
|
+
colorTextPlaceholder: "#667085",
|
|
76
|
+
colorIcon: "#667085",
|
|
77
|
+
colorTextQuaternary: "#D0D5DD",
|
|
78
|
+
colorBgContainerDisabled: "#F9FAFB",
|
|
79
|
+
colorTextDisabled: "#98A2B3"
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
82
|
+
token: {
|
|
83
|
+
colorPrimary: "#7F56D9",
|
|
84
|
+
colorPrimaryBg: "#F9F5FF",
|
|
85
|
+
colorPrimaryBgHover: "#F4EBFF",
|
|
86
|
+
colorPrimaryBorder: "#E9D7FE",
|
|
87
|
+
colorPrimaryBorderHover: "#D6BBFB",
|
|
88
|
+
colorPrimaryHover: "#6941C6",
|
|
89
|
+
colorPrimaryActive: "#53389E",
|
|
90
|
+
colorPrimaryTextHover: "#53389E",
|
|
91
|
+
colorPrimaryText: "#6941C6",
|
|
92
|
+
colorPrimaryTextActive: "#42307D",
|
|
93
|
+
colorSuccess: "#079455",
|
|
94
|
+
colorSuccessBg: "#ECFDF3",
|
|
95
|
+
colorSuccessBgHover: "#DCFAE6",
|
|
96
|
+
colorSuccessBorder: "#ABEFC6",
|
|
97
|
+
colorSuccessBorderHover: "#75E0A7",
|
|
98
|
+
colorSuccessHover: "#067647",
|
|
99
|
+
colorSuccessText: "#067647",
|
|
100
|
+
colorSuccessActive: "#085D3A",
|
|
101
|
+
colorSuccessTextHover: "#085D3A",
|
|
102
|
+
colorSuccessTextActive: "#074D31",
|
|
103
|
+
colorWarning: "#dc6803",
|
|
104
|
+
colorWarningBg: "#FFFAEB",
|
|
105
|
+
colorWarningBgHover: "#FEF0C7",
|
|
106
|
+
colorWarningBorder: "#FEDF89",
|
|
107
|
+
colorWarningBorderHover: "#FEC84B",
|
|
108
|
+
colorWarningHover: "#B54708",
|
|
109
|
+
colorWarningText: "#B54708",
|
|
110
|
+
colorWarningActive: "#93370D",
|
|
111
|
+
colorWarningTextHover: "#93370D",
|
|
112
|
+
colorWarningTextActive: "#7A2E0E",
|
|
113
|
+
colorError: "#d92d20",
|
|
114
|
+
colorErrorBg: "#FEF3F2",
|
|
115
|
+
colorErrorBgHover: "#FEE4E2",
|
|
116
|
+
colorErrorBorder: "#FECDCA",
|
|
117
|
+
colorErrorBorderHover: "#FDA29B",
|
|
118
|
+
colorErrorHover: "#B42318",
|
|
119
|
+
colorErrorText: "#B42318",
|
|
120
|
+
colorErrorActive: "#912018",
|
|
121
|
+
colorErrorTextHover: "#912018",
|
|
122
|
+
colorErrorTextActive: "#7A271A",
|
|
123
|
+
colorInfo: "#1570ef",
|
|
124
|
+
colorInfoBg: "#EFF8FF",
|
|
125
|
+
colorInfoBgHover: "#D1E9FF",
|
|
126
|
+
colorInfoBorder: "#B2DDFF",
|
|
127
|
+
colorInfoBorderHover: "#84CAFF",
|
|
128
|
+
colorInfoHover: "#175CD3",
|
|
129
|
+
colorInfoText: "#175CD3",
|
|
130
|
+
colorInfoActive: "#1849A9",
|
|
131
|
+
colorInfoTextHover: "#1849A9",
|
|
132
|
+
colorInfoTextActive: "#194185",
|
|
133
|
+
colorText: "#101828",
|
|
134
|
+
colorTextSecondary: "#475467",
|
|
135
|
+
colorTextTertiary: "#667085",
|
|
136
|
+
colorTextQuaternary: "#D0D5DD",
|
|
137
|
+
colorBorder: "#D0D5DD",
|
|
138
|
+
colorBorderSecondary: "#EAECF0",
|
|
139
|
+
colorFill: "#D0D5DD",
|
|
140
|
+
colorFillSecondary: "#EAECF0",
|
|
141
|
+
colorFillTertiary: "#F2F4F7",
|
|
142
|
+
colorFillQuaternary: "#F9FAFB",
|
|
143
|
+
colorBgLayout: "#F2F4F7",
|
|
144
|
+
colorBgSpotlight: "#101828",
|
|
145
|
+
colorBgMask: "rgba(0, 0, 0, 0.5)",
|
|
146
|
+
wireframe: false,
|
|
147
|
+
borderRadius: 8
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
var datePickerTheme = createTheme({
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
3
|
+
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."); }
|
|
4
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
5
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
6
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
7
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
|
+
import React, { useMemo } from "react";
|
|
9
|
+
import { QRCode as AntQRCode, Modal } from "antd";
|
|
10
|
+
import { getUniqueId } from "@pisell/utils";
|
|
11
|
+
var QRCode = function QRCode(props) {
|
|
12
|
+
var preview = props.preview;
|
|
13
|
+
var _React$useState = React.useState(false),
|
|
14
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
15
|
+
visible = _React$useState2[0],
|
|
16
|
+
setVisible = _React$useState2[1];
|
|
17
|
+
var id = useMemo(function () {
|
|
18
|
+
return getUniqueId();
|
|
19
|
+
}, []);
|
|
20
|
+
var handleClick = function handleClick(e) {
|
|
21
|
+
e.stopPropagation();
|
|
22
|
+
setVisible(true);
|
|
23
|
+
};
|
|
24
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
25
|
+
onClick: handleClick,
|
|
26
|
+
id: id,
|
|
27
|
+
className: "pisell-lowcode-qrcode-wrap"
|
|
28
|
+
}, /*#__PURE__*/React.createElement(AntQRCode, props)), preview && /*#__PURE__*/React.createElement("span", {
|
|
29
|
+
onClick: function onClick(e) {
|
|
30
|
+
return e.stopPropagation();
|
|
31
|
+
}
|
|
32
|
+
}, /*#__PURE__*/React.createElement(Modal, {
|
|
33
|
+
open: visible,
|
|
34
|
+
onCancel: function onCancel() {
|
|
35
|
+
return setVisible(false);
|
|
36
|
+
},
|
|
37
|
+
footer: null,
|
|
38
|
+
width: 248,
|
|
39
|
+
closeIcon: /*#__PURE__*/React.createElement("span", null)
|
|
40
|
+
}, /*#__PURE__*/React.createElement(AntQRCode, _extends({}, props, {
|
|
41
|
+
size: 200
|
|
42
|
+
})))));
|
|
43
|
+
};
|
|
44
|
+
export default QRCode;
|
|
@@ -72,11 +72,12 @@ var BasicTable = function BasicTable(props) {
|
|
|
72
72
|
// 总数
|
|
73
73
|
var total = useMemo(function () {
|
|
74
74
|
// 如果dataSource.length > 当前分页时为前端分页处理 此时total优先取_dataSource中total
|
|
75
|
-
|
|
75
|
+
// 改为通过localPagination判断
|
|
76
|
+
if (localPagination) {
|
|
76
77
|
return (_dataSource === null || _dataSource === void 0 ? void 0 : _dataSource.total) || 0;
|
|
77
78
|
}
|
|
78
79
|
return (pagination === null || pagination === void 0 ? void 0 : pagination.total) || (_dataSource === null || _dataSource === void 0 ? void 0 : _dataSource.total) || 0;
|
|
79
|
-
}, [_dataSource, pagination]);
|
|
80
|
+
}, [_dataSource, pagination, localPagination]);
|
|
80
81
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Table, _extends({}, other, {
|
|
81
82
|
onChange: function onChange(pagination, filters, sorter) {
|
|
82
83
|
form.setFieldsValue({
|
package/es/index.d.ts
CHANGED
|
@@ -65,3 +65,4 @@ export { default as Filter } from "./components/filter";
|
|
|
65
65
|
export { default as Translation } from "./components/translation";
|
|
66
66
|
export { default as SortableList } from "./components/sortableList";
|
|
67
67
|
export { default as RecordView } from "./components/record-view";
|
|
68
|
+
export { default as QRCode } from "./components/qrcode";
|
package/es/index.js
CHANGED
|
@@ -87,4 +87,5 @@ export { default as Page } from "./components/page";
|
|
|
87
87
|
export { default as Filter } from "./components/filter";
|
|
88
88
|
export { default as Translation } from "./components/translation";
|
|
89
89
|
export { default as SortableList } from "./components/sortableList";
|
|
90
|
-
export { default as RecordView } from "./components/record-view";
|
|
90
|
+
export { default as RecordView } from "./components/record-view";
|
|
91
|
+
export { default as QRCode } from "./components/qrcode";
|
|
@@ -37,143 +37,143 @@ var import_config_provider = __toESM(require("../config-provider"));
|
|
|
37
37
|
var import_AdapterDayjs = require("@pisell/date-picker/es/AdapterDayjs");
|
|
38
38
|
var import_date_picker = require("@pisell/date-picker");
|
|
39
39
|
var theme = {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
40
|
+
components: {
|
|
41
|
+
Table: {
|
|
42
|
+
colorFillContent: "#EAECF0",
|
|
43
|
+
colorFillSecondary: "#F2F4F7",
|
|
44
|
+
colorBorderSecondary: "#EAECF0",
|
|
45
|
+
colorFillAlter: "#F9FAFB",
|
|
46
|
+
controlItemBgHover: "#F9FAFB",
|
|
47
|
+
colorTextHeading: "#475467",
|
|
48
|
+
colorTextDescription: "#667085",
|
|
49
|
+
colorText: "#101828",
|
|
50
|
+
controlHeight: 32,
|
|
51
|
+
padding: 24,
|
|
52
|
+
margin: 16
|
|
53
53
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
54
|
+
Button: {
|
|
55
|
+
borderRadiusSM: 6,
|
|
56
|
+
borderRadiusLG: 9,
|
|
57
|
+
borderRadius: 8,
|
|
58
|
+
controlHeight: 36,
|
|
59
|
+
colorBgContainerDisabled: "#F2F4F7",
|
|
60
|
+
colorBgTextHover: "#F9FAFB",
|
|
61
|
+
colorBorder: "#D0D5DD",
|
|
62
|
+
colorError: "#D92D20",
|
|
63
|
+
colorErrorActive: "#D92D20",
|
|
64
|
+
colorErrorHover: "#B42318",
|
|
65
|
+
colorErrorBg: "#FEF3F2",
|
|
66
|
+
colorErrorBorderHover: "#FDA29B",
|
|
67
|
+
colorErrorOutline: "rgba(217, 45, 32, 0.06)",
|
|
68
|
+
colorLink: "#175CD3",
|
|
69
|
+
colorLinkActive: "#194185",
|
|
70
|
+
colorLinkHover: "#1849A9",
|
|
71
|
+
colorPrimaryActive: "#7f56d9",
|
|
72
|
+
colorPrimaryBorder: "#E9D7FE",
|
|
73
|
+
colorText: "#344054",
|
|
74
|
+
colorTextDisabled: "#D0D5DD",
|
|
75
|
+
colorTextLightSolid: "#fff",
|
|
76
|
+
colorBgTextActive: "#D0D5DD",
|
|
77
|
+
controlOutline: "rgba(127, 86, 217, 0.04)",
|
|
78
|
+
controlTmpOutline: "#F9FAFB",
|
|
79
|
+
paddingContentHorizontal: 14,
|
|
80
|
+
marginXS: 8
|
|
81
81
|
},
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
Divider: {
|
|
83
|
+
colorSplit: "#EAECF0"
|
|
84
84
|
},
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
85
|
+
Breadcrumb: {
|
|
86
|
+
itemColor: "#475467",
|
|
87
|
+
colorTextDescription: "#475467",
|
|
88
|
+
lastItemColor: "#6941C6",
|
|
89
|
+
separatorMargin: 12,
|
|
90
|
+
separatorColor: "#D0D5DD",
|
|
91
|
+
linkHoverColor: "#1D2939",
|
|
92
|
+
linkColor: "#475467",
|
|
93
|
+
colorBgTextHover: "#F9FAFB",
|
|
94
|
+
paddingXXS: 8
|
|
95
95
|
},
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
Dropdown: {
|
|
97
|
+
borderRadiusLG: 8,
|
|
98
98
|
// "boxShadowPopoverArrow": "2px 2px 5px rgba(0, 0, 0, 0.05)",
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
controlHeight: 42,
|
|
100
|
+
fontSize: 14
|
|
101
101
|
},
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
102
|
+
DatePicker: {
|
|
103
|
+
borderRadius: 8,
|
|
104
|
+
colorTextPlaceholder: "#667085",
|
|
105
|
+
colorIcon: "#667085",
|
|
106
|
+
colorTextQuaternary: "#D0D5DD",
|
|
107
|
+
colorBgContainerDisabled: "#F9FAFB",
|
|
108
|
+
colorTextDisabled: "#98A2B3"
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
111
|
+
token: {
|
|
112
|
+
colorPrimary: "#7F56D9",
|
|
113
|
+
colorPrimaryBg: "#F9F5FF",
|
|
114
|
+
colorPrimaryBgHover: "#F4EBFF",
|
|
115
|
+
colorPrimaryBorder: "#E9D7FE",
|
|
116
|
+
colorPrimaryBorderHover: "#D6BBFB",
|
|
117
|
+
colorPrimaryHover: "#6941C6",
|
|
118
|
+
colorPrimaryActive: "#53389E",
|
|
119
|
+
colorPrimaryTextHover: "#53389E",
|
|
120
|
+
colorPrimaryText: "#6941C6",
|
|
121
|
+
colorPrimaryTextActive: "#42307D",
|
|
122
|
+
colorSuccess: "#079455",
|
|
123
|
+
colorSuccessBg: "#ECFDF3",
|
|
124
|
+
colorSuccessBgHover: "#DCFAE6",
|
|
125
|
+
colorSuccessBorder: "#ABEFC6",
|
|
126
|
+
colorSuccessBorderHover: "#75E0A7",
|
|
127
|
+
colorSuccessHover: "#067647",
|
|
128
|
+
colorSuccessText: "#067647",
|
|
129
|
+
colorSuccessActive: "#085D3A",
|
|
130
|
+
colorSuccessTextHover: "#085D3A",
|
|
131
|
+
colorSuccessTextActive: "#074D31",
|
|
132
|
+
colorWarning: "#dc6803",
|
|
133
|
+
colorWarningBg: "#FFFAEB",
|
|
134
|
+
colorWarningBgHover: "#FEF0C7",
|
|
135
|
+
colorWarningBorder: "#FEDF89",
|
|
136
|
+
colorWarningBorderHover: "#FEC84B",
|
|
137
|
+
colorWarningHover: "#B54708",
|
|
138
|
+
colorWarningText: "#B54708",
|
|
139
|
+
colorWarningActive: "#93370D",
|
|
140
|
+
colorWarningTextHover: "#93370D",
|
|
141
|
+
colorWarningTextActive: "#7A2E0E",
|
|
142
|
+
colorError: "#d92d20",
|
|
143
|
+
colorErrorBg: "#FEF3F2",
|
|
144
|
+
colorErrorBgHover: "#FEE4E2",
|
|
145
|
+
colorErrorBorder: "#FECDCA",
|
|
146
|
+
colorErrorBorderHover: "#FDA29B",
|
|
147
|
+
colorErrorHover: "#B42318",
|
|
148
|
+
colorErrorText: "#B42318",
|
|
149
|
+
colorErrorActive: "#912018",
|
|
150
|
+
colorErrorTextHover: "#912018",
|
|
151
|
+
colorErrorTextActive: "#7A271A",
|
|
152
|
+
colorInfo: "#1570ef",
|
|
153
|
+
colorInfoBg: "#EFF8FF",
|
|
154
|
+
colorInfoBgHover: "#D1E9FF",
|
|
155
|
+
colorInfoBorder: "#B2DDFF",
|
|
156
|
+
colorInfoBorderHover: "#84CAFF",
|
|
157
|
+
colorInfoHover: "#175CD3",
|
|
158
|
+
colorInfoText: "#175CD3",
|
|
159
|
+
colorInfoActive: "#1849A9",
|
|
160
|
+
colorInfoTextHover: "#1849A9",
|
|
161
|
+
colorInfoTextActive: "#194185",
|
|
162
|
+
colorText: "#101828",
|
|
163
|
+
colorTextSecondary: "#475467",
|
|
164
|
+
colorTextTertiary: "#667085",
|
|
165
|
+
colorTextQuaternary: "#D0D5DD",
|
|
166
|
+
colorBorder: "#D0D5DD",
|
|
167
|
+
colorBorderSecondary: "#EAECF0",
|
|
168
|
+
colorFill: "#D0D5DD",
|
|
169
|
+
colorFillSecondary: "#EAECF0",
|
|
170
|
+
colorFillTertiary: "#F2F4F7",
|
|
171
|
+
colorFillQuaternary: "#F9FAFB",
|
|
172
|
+
colorBgLayout: "#F2F4F7",
|
|
173
|
+
colorBgSpotlight: "#101828",
|
|
174
|
+
colorBgMask: "rgba(0, 0, 0, 0.5)",
|
|
175
|
+
wireframe: false,
|
|
176
|
+
borderRadius: 8
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
var _a;
|