linkmore-design 1.1.9 → 1.1.11
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/CHANGELOG.md +673 -647
- package/dist/Button/demos/type.d.ts +2 -0
- package/dist/CustomTableOption/index.d.ts +1 -0
- package/dist/CustomTableOption/locale/en_US.d.ts +19 -0
- package/dist/CustomTableOption/locale/zh_CN.d.ts +19 -0
- package/dist/LmEditTable/demos/priceTable.d.ts +2 -0
- package/dist/LmEditTable/util.d.ts +1 -0
- package/dist/LmFilter/demos/filterControl.d.ts +2 -0
- package/dist/Locale/default.d.ts +4 -1
- package/dist/Locale/zh_CN.d.ts +4 -1
- package/dist/Modal/demos/locale.d.ts +2 -0
- package/dist/Modal/locale.d.ts +7 -0
- package/dist/base.css +1 -0
- package/dist/index.umd.js +260 -212
- package/dist/index.umd.min.js +8 -8
- package/dist/variables.css +148 -12
- package/es/Affix/style/index.css +1 -0
- package/es/Alert/style/index.css +1 -0
- package/es/Approval/style/index.css +1 -0
- package/es/AutoComplete/style/index.css +1 -0
- package/es/Avatar/style/index.css +1 -0
- package/es/Badge/style/index.css +1 -0
- package/es/Breadcrumb/style/index.css +1 -0
- package/es/Button/style/index.css +4 -1
- package/es/Button/style/variables.css +4 -1
- package/es/ButtonTags/style/index.css +1 -0
- package/es/Calendar/style/index.css +1 -0
- package/es/Card/style/index.css +1 -0
- package/es/CardTable/style/index.css +7 -9
- package/es/CardTable/style/variables.css +7 -9
- package/es/Carousel/style/index.css +1 -0
- package/es/Cascader/style/index.css +1 -0
- package/es/Col/style/index.css +1 -0
- package/es/Collapse/style/index.css +1 -0
- package/es/Comment/style/index.css +1 -0
- package/es/CustomTableOption/cardSort.js +21 -16
- package/es/CustomTableOption/columnsSort.js +16 -16
- package/es/CustomTableOption/filterSort.js +11 -11
- package/es/CustomTableOption/index.d.ts +1 -0
- package/es/CustomTableOption/index.js +45 -17
- package/es/CustomTableOption/locale/en_US.d.ts +19 -0
- package/es/CustomTableOption/locale/en_US.js +19 -0
- package/es/CustomTableOption/locale/zh_CN.d.ts +19 -0
- package/es/CustomTableOption/locale/zh_CN.js +19 -0
- package/es/CustomTableOption/style/index.css +5 -0
- package/es/CustomTableOption/style/variables.css +4 -0
- package/es/CustomerService/style/index.css +1 -0
- package/es/DatePicker/style/index.css +1 -0
- package/es/Descriptions/style/index.css +1 -0
- package/es/Divider/style/index.css +1 -0
- package/es/Drawer/style/index.css +1 -0
- package/es/Dropdown/style/index.css +3 -2
- package/es/Dropdown/style/variables.css +2 -2
- package/es/EditTable/style/index.css +1 -0
- package/es/Empty/style/index.css +1 -0
- package/es/Filter/style/index.css +1 -0
- package/es/Form/style/index.css +1 -0
- package/es/FullScreen/style/index.css +1 -0
- package/es/Grid/style/index.css +1 -0
- package/es/Icon/style/index.css +1 -0
- package/es/Image/style/index.css +1 -0
- package/es/ImageViewer/components/Operate.js +5 -2
- package/es/Input/style/index.css +1 -0
- package/es/InputNumber/style/index.css +1 -0
- package/es/Layout/style/index.css +1 -0
- package/es/LeftTable/index.js +3 -1
- package/es/LeftTable/style/index.css +1 -0
- package/es/List/style/index.css +1 -0
- package/es/LmEditTable/EditTable.js +39 -88
- package/es/LmEditTable/style/index.css +5 -0
- package/es/LmEditTable/style/variables.css +4 -0
- package/es/LmEditTable/util.d.ts +1 -0
- package/es/LmEditTable/util.js +27 -0
- package/es/LmSelect/style/index.css +1 -0
- package/es/LmTable/Table.js +9 -5
- package/es/LmTable/style/index.css +4 -0
- package/es/LmTable/style/variables.css +3 -0
- package/es/LmUpload/style/index.css +118 -0
- package/es/LmUpload/style/variables.css +118 -0
- package/es/Locale/default.d.ts +4 -1
- package/es/Locale/default.js +3 -1
- package/es/Locale/zh_CN.d.ts +4 -1
- package/es/Locale/zh_CN.js +3 -1
- package/es/Mentions/style/index.css +1 -0
- package/es/Menu/style/index.css +1 -0
- package/es/Modal/index.js +18 -14
- package/es/Modal/locale.d.ts +7 -0
- package/es/Modal/locale.js +12 -0
- package/es/Modal/style/index.css +1 -0
- package/es/PageHeader/style/index.css +1 -0
- package/es/Pagination/style/index.css +1 -0
- package/es/Popconfirm/style/index.css +1 -0
- package/es/Popover/style/index.css +1 -0
- package/es/Progress/style/index.css +1 -0
- package/es/QuickMenu/style/index.css +6 -0
- package/es/QuickMenu/style/variables.css +5 -0
- package/es/Rate/style/index.css +1 -0
- package/es/Result/style/index.css +1 -0
- package/es/Row/style/index.css +1 -0
- package/es/Segmented/style/index.css +1 -0
- package/es/Select/style/index.css +1 -0
- package/es/Skeleton/style/index.css +1 -0
- package/es/Slider/style/index.css +1 -0
- package/es/Space/style/index.css +1 -0
- package/es/Spin/style/index.css +1 -0
- package/es/Statistic/style/index.css +1 -0
- package/es/Steps/style/index.css +1 -0
- package/es/Switch/style/index.css +1 -0
- package/es/Table/style/index.css +1 -0
- package/es/Tabs/style/index.css +1 -0
- package/es/Tag/style/index.css +1 -0
- package/es/TimePicker/style/index.css +1 -0
- package/es/Timeline/style/index.css +1 -0
- package/es/Tooltip/style/index.css +1 -0
- package/es/Transfer/style/index.css +1 -0
- package/es/Tree/style/index.css +1 -0
- package/es/TreeSelect/style/index.css +1 -0
- package/es/Typography/style/index.css +1 -0
- package/es/Upload/style/index.css +1 -0
- package/es/locale-provider/style/index.css +1 -0
- package/es/message/style/index.css +1 -0
- package/es/notification/style/index.css +1 -0
- package/es/styles/main.css +1 -0
- package/es/styles/variables.css +148 -12
- package/lib/Affix/style/index.css +1 -0
- package/lib/Alert/style/index.css +1 -0
- package/lib/Approval/style/index.css +1 -0
- package/lib/AutoComplete/style/index.css +1 -0
- package/lib/Avatar/style/index.css +1 -0
- package/lib/Badge/style/index.css +1 -0
- package/lib/Breadcrumb/style/index.css +1 -0
- package/lib/Button/style/index.css +4 -1
- package/lib/Button/style/variables.css +4 -1
- package/lib/ButtonTags/style/index.css +1 -0
- package/lib/Calendar/style/index.css +1 -0
- package/lib/Card/style/index.css +1 -0
- package/lib/CardTable/style/index.css +7 -9
- package/lib/CardTable/style/variables.css +7 -9
- package/lib/Carousel/style/index.css +1 -0
- package/lib/Cascader/style/index.css +1 -0
- package/lib/Col/style/index.css +1 -0
- package/lib/Collapse/style/index.css +1 -0
- package/lib/Comment/style/index.css +1 -0
- package/lib/CustomTableOption/cardSort.js +20 -15
- package/lib/CustomTableOption/columnsSort.js +16 -16
- package/lib/CustomTableOption/filterSort.js +11 -11
- package/lib/CustomTableOption/index.d.ts +1 -0
- package/lib/CustomTableOption/index.js +45 -16
- package/lib/CustomTableOption/locale/en_US.d.ts +19 -0
- package/lib/CustomTableOption/locale/en_US.js +26 -0
- package/lib/CustomTableOption/locale/zh_CN.d.ts +19 -0
- package/lib/CustomTableOption/locale/zh_CN.js +26 -0
- package/lib/CustomTableOption/style/index.css +5 -0
- package/lib/CustomTableOption/style/variables.css +4 -0
- package/lib/CustomerService/style/index.css +1 -0
- package/lib/DatePicker/style/index.css +1 -0
- package/lib/Descriptions/style/index.css +1 -0
- package/lib/Divider/style/index.css +1 -0
- package/lib/Drawer/style/index.css +1 -0
- package/lib/Dropdown/style/index.css +3 -2
- package/lib/Dropdown/style/variables.css +2 -2
- package/lib/EditTable/style/index.css +1 -0
- package/lib/Empty/style/index.css +1 -0
- package/lib/Filter/style/index.css +1 -0
- package/lib/Form/style/index.css +1 -0
- package/lib/FullScreen/style/index.css +1 -0
- package/lib/Grid/style/index.css +1 -0
- package/lib/Icon/style/index.css +1 -0
- package/lib/Image/style/index.css +1 -0
- package/lib/ImageViewer/components/Operate.js +6 -2
- package/lib/Input/style/index.css +1 -0
- package/lib/InputNumber/style/index.css +1 -0
- package/lib/Layout/style/index.css +1 -0
- package/lib/LeftTable/index.js +3 -1
- package/lib/LeftTable/style/index.css +1 -0
- package/lib/List/style/index.css +1 -0
- package/lib/LmEditTable/EditTable.js +39 -87
- package/lib/LmEditTable/style/index.css +5 -0
- package/lib/LmEditTable/style/variables.css +4 -0
- package/lib/LmEditTable/util.d.ts +1 -0
- package/lib/LmEditTable/util.js +30 -0
- package/lib/LmSelect/style/index.css +1 -0
- package/lib/LmTable/Table.js +9 -5
- package/lib/LmTable/style/index.css +4 -0
- package/lib/LmTable/style/variables.css +3 -0
- package/lib/LmUpload/style/index.css +118 -0
- package/lib/LmUpload/style/variables.css +118 -0
- package/lib/Locale/default.d.ts +4 -1
- package/lib/Locale/default.js +4 -1
- package/lib/Locale/zh_CN.d.ts +4 -1
- package/lib/Locale/zh_CN.js +4 -1
- package/lib/Mentions/style/index.css +1 -0
- package/lib/Menu/style/index.css +1 -0
- package/lib/Modal/index.js +22 -14
- package/lib/Modal/locale.d.ts +7 -0
- package/lib/Modal/locale.js +25 -0
- package/lib/Modal/style/index.css +1 -0
- package/lib/PageHeader/style/index.css +1 -0
- package/lib/Pagination/style/index.css +1 -0
- package/lib/Popconfirm/style/index.css +1 -0
- package/lib/Popover/style/index.css +1 -0
- package/lib/Progress/style/index.css +1 -0
- package/lib/QuickMenu/style/index.css +6 -0
- package/lib/QuickMenu/style/variables.css +5 -0
- package/lib/Rate/style/index.css +1 -0
- package/lib/Result/style/index.css +1 -0
- package/lib/Row/style/index.css +1 -0
- package/lib/Segmented/style/index.css +1 -0
- package/lib/Select/style/index.css +1 -0
- package/lib/Skeleton/style/index.css +1 -0
- package/lib/Slider/style/index.css +1 -0
- package/lib/Space/style/index.css +1 -0
- package/lib/Spin/style/index.css +1 -0
- package/lib/Statistic/style/index.css +1 -0
- package/lib/Steps/style/index.css +1 -0
- package/lib/Switch/style/index.css +1 -0
- package/lib/Table/style/index.css +1 -0
- package/lib/Tabs/style/index.css +1 -0
- package/lib/Tag/style/index.css +1 -0
- package/lib/TimePicker/style/index.css +1 -0
- package/lib/Timeline/style/index.css +1 -0
- package/lib/Tooltip/style/index.css +1 -0
- package/lib/Transfer/style/index.css +1 -0
- package/lib/Tree/style/index.css +1 -0
- package/lib/TreeSelect/style/index.css +1 -0
- package/lib/Typography/style/index.css +1 -0
- package/lib/Upload/style/index.css +1 -0
- package/lib/locale-provider/style/index.css +1 -0
- package/lib/message/style/index.css +1 -0
- package/lib/notification/style/index.css +1 -0
- package/lib/styles/main.css +1 -0
- package/lib/styles/variables.css +148 -12
- package/package.json +1 -6
|
@@ -1,3 +1,121 @@
|
|
|
1
|
+
.lm_image_viewer_wrapper {
|
|
2
|
+
position: fixed;
|
|
3
|
+
z-index: 1001;
|
|
4
|
+
inset: 0;
|
|
5
|
+
}
|
|
6
|
+
.lm_image_viewer_wrapper .lm_image_viewer_mask {
|
|
7
|
+
position: absolute;
|
|
8
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
9
|
+
inset: 0;
|
|
10
|
+
}
|
|
11
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container {
|
|
12
|
+
position: relative;
|
|
13
|
+
z-index: 2;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-flow: column;
|
|
16
|
+
gap: var(--gap);
|
|
17
|
+
align-items: center;
|
|
18
|
+
height: 100vh;
|
|
19
|
+
padding: 50px 0;
|
|
20
|
+
}
|
|
21
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .preview_list {
|
|
22
|
+
flex: 1;
|
|
23
|
+
width: 51%;
|
|
24
|
+
max-height: 100%;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
touch-action: none;
|
|
27
|
+
}
|
|
28
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .preview_list div {
|
|
29
|
+
height: 100%;
|
|
30
|
+
}
|
|
31
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .preview_list .preview_item {
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
text-align: center;
|
|
34
|
+
border-radius: 2px;
|
|
35
|
+
}
|
|
36
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .preview_list .preview_item img {
|
|
37
|
+
display: inline-block;
|
|
38
|
+
width: 100%;
|
|
39
|
+
height: 100%;
|
|
40
|
+
object-fit: contain;
|
|
41
|
+
transition: 0.3s;
|
|
42
|
+
}
|
|
43
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .thumb_list {
|
|
44
|
+
display: flex;
|
|
45
|
+
gap: var(--gap);
|
|
46
|
+
width: 51%;
|
|
47
|
+
overflow-x: auto;
|
|
48
|
+
overflow-y: hidden;
|
|
49
|
+
}
|
|
50
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .thumb_list .thumb_item {
|
|
51
|
+
display: inline-flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
width: 98px;
|
|
55
|
+
height: 98px;
|
|
56
|
+
text-align: center;
|
|
57
|
+
background-color: var(--color-contrast);
|
|
58
|
+
border: 2px solid transparent;
|
|
59
|
+
border-radius: 2px;
|
|
60
|
+
transition: 0.3s;
|
|
61
|
+
}
|
|
62
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .thumb_list .thumb_item .thumb_item_icon {
|
|
63
|
+
color: var(--color-45);
|
|
64
|
+
font-size: 34px;
|
|
65
|
+
}
|
|
66
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .thumb_list .thumb_item img {
|
|
67
|
+
display: inline-block;
|
|
68
|
+
width: 94px;
|
|
69
|
+
height: 94px;
|
|
70
|
+
object-fit: cover;
|
|
71
|
+
}
|
|
72
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .thumb_list .thumb_item.active {
|
|
73
|
+
border-color: var(--primary-color);
|
|
74
|
+
}
|
|
75
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .image_viewer_action {
|
|
76
|
+
position: absolute;
|
|
77
|
+
bottom: 50px;
|
|
78
|
+
left: 50%;
|
|
79
|
+
display: flex;
|
|
80
|
+
gap: 24px;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: space-between;
|
|
83
|
+
padding: 8px 12px;
|
|
84
|
+
font-size: 24px;
|
|
85
|
+
background-color: #fff;
|
|
86
|
+
border-radius: 100px;
|
|
87
|
+
transform: translateX(-50%);
|
|
88
|
+
}
|
|
89
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .image_viewer_action .anticon {
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
transition: 0.3s;
|
|
92
|
+
}
|
|
93
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .image_viewer_action .anticon:hover {
|
|
94
|
+
color: var(--primary-color);
|
|
95
|
+
}
|
|
96
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .arrow {
|
|
97
|
+
position: absolute;
|
|
98
|
+
top: 50%;
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
height: 48px;
|
|
103
|
+
color: var(--color-contrast);
|
|
104
|
+
font-size: 32px;
|
|
105
|
+
background-color: var(--text-color);
|
|
106
|
+
transform: translateY(-50%);
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
transition: 0.3s;
|
|
109
|
+
}
|
|
110
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .arrow.arrow_left {
|
|
111
|
+
left: 40px;
|
|
112
|
+
}
|
|
113
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .arrow.arrow_right {
|
|
114
|
+
right: 40px;
|
|
115
|
+
}
|
|
116
|
+
.lm_image_viewer_wrapper .lm_image_viewer_container .arrow:hover {
|
|
117
|
+
color: var(--primary-color);
|
|
118
|
+
}
|
|
1
119
|
.lm_upload_wrapper {
|
|
2
120
|
display: flex;
|
|
3
121
|
flex-wrap: wrap;
|
package/lib/Locale/default.d.ts
CHANGED
package/lib/Locale/default.js
CHANGED
|
@@ -15,6 +15,8 @@ var _en_US3 = _interopRequireDefault(require("antd/es/date-picker/locale/en_US")
|
|
|
15
15
|
|
|
16
16
|
var _en_US4 = _interopRequireDefault(require("antd/es/time-picker/locale/en_US"));
|
|
17
17
|
|
|
18
|
+
var _en_US5 = _interopRequireDefault(require("../CustomTableOption/locale/en_US"));
|
|
19
|
+
|
|
18
20
|
/* eslint-disable no-template-curly-in-string */
|
|
19
21
|
var typeTemplate = '${label} is not a valid ${type}';
|
|
20
22
|
var localeValues = {
|
|
@@ -140,7 +142,8 @@ var localeValues = {
|
|
|
140
142
|
},
|
|
141
143
|
Image: {
|
|
142
144
|
preview: 'Preview'
|
|
143
|
-
}
|
|
145
|
+
},
|
|
146
|
+
CustomTableOption: _en_US5.default
|
|
144
147
|
};
|
|
145
148
|
var _default = localeValues;
|
|
146
149
|
exports.default = _default;
|
package/lib/Locale/zh_CN.d.ts
CHANGED
package/lib/Locale/zh_CN.js
CHANGED
|
@@ -15,6 +15,8 @@ var _zh_CN3 = _interopRequireDefault(require("antd/es/date-picker/locale/zh_CN")
|
|
|
15
15
|
|
|
16
16
|
var _zh_CN4 = _interopRequireDefault(require("antd/es/time-picker/locale/zh_CN"));
|
|
17
17
|
|
|
18
|
+
var _zh_CN5 = _interopRequireDefault(require("../CustomTableOption/locale/zh_CN"));
|
|
19
|
+
|
|
18
20
|
/* eslint-disable no-template-curly-in-string */
|
|
19
21
|
var typeTemplate = '${label}不是一个有效的${type}';
|
|
20
22
|
var localeValues = {
|
|
@@ -139,7 +141,8 @@ var localeValues = {
|
|
|
139
141
|
},
|
|
140
142
|
Image: {
|
|
141
143
|
preview: '预览'
|
|
142
|
-
}
|
|
144
|
+
},
|
|
145
|
+
CustomTableOption: _zh_CN5.default
|
|
143
146
|
};
|
|
144
147
|
var _default = localeValues;
|
|
145
148
|
exports.default = _default;
|
package/lib/Menu/style/index.css
CHANGED
package/lib/Modal/index.js
CHANGED
|
@@ -19,6 +19,10 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
19
19
|
|
|
20
20
|
var _SizeContext = _interopRequireDefault(require("../ConfigProvider/SizeContext"));
|
|
21
21
|
|
|
22
|
+
var _LocaleReceiver = _interopRequireDefault(require("../locale-provider/LocaleReceiver"));
|
|
23
|
+
|
|
24
|
+
var _locale = require("./locale");
|
|
25
|
+
|
|
22
26
|
var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
23
27
|
var t = {};
|
|
24
28
|
|
|
@@ -40,34 +44,38 @@ var CLMModal = function CLMModal(props) {
|
|
|
40
44
|
size = _props$size === void 0 ? 'default' : _props$size,
|
|
41
45
|
onOk = props.onOk,
|
|
42
46
|
onCancel = props.onCancel,
|
|
43
|
-
_props$okText = props.okText,
|
|
44
|
-
okText = _props$okText === void 0 ? '确定' : _props$okText,
|
|
45
|
-
_props$cancelText = props.cancelText,
|
|
46
|
-
cancelText = _props$cancelText === void 0 ? '取消' : _props$cancelText,
|
|
47
47
|
visible = props.visible,
|
|
48
48
|
open = props.open,
|
|
49
|
-
other = __rest(props, ["wrapClassName", "size", "onOk", "onCancel", "
|
|
49
|
+
other = __rest(props, ["wrapClassName", "size", "onOk", "onCancel", "visible", "open"]);
|
|
50
50
|
|
|
51
51
|
var defaultFooterSize = _react.default.useContext(_SizeContext.default) || 'middle';
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
|
|
53
|
+
var defaultFooter = /*#__PURE__*/_react.default.createElement(_LocaleReceiver.default, {
|
|
54
|
+
componentName: "Modal",
|
|
55
|
+
defaultLocale: (0, _locale.getConfirmLocale)()
|
|
56
|
+
}, function (contextLocale) {
|
|
57
|
+
var okText = props.okText,
|
|
58
|
+
cancelText = props.cancelText;
|
|
59
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Button.default, Object.assign({
|
|
56
60
|
onClick: onCancel,
|
|
57
61
|
key: 'canncel_button',
|
|
58
62
|
size: defaultFooterSize
|
|
59
|
-
}, cancelText), /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
63
|
+
}, props.cancelButtonProps), cancelText || contextLocale.cancelText), /*#__PURE__*/_react.default.createElement(_Button.default, Object.assign({
|
|
60
64
|
type: "primary",
|
|
61
65
|
onClick: onOk,
|
|
62
66
|
key: 'ok_button',
|
|
63
67
|
size: defaultFooterSize
|
|
64
|
-
}, okText)
|
|
68
|
+
}, props.okButtonProps), okText !== null && okText !== void 0 ? okText : contextLocale.okText));
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
return /*#__PURE__*/_react.default.createElement(_modal.default, Object.assign({
|
|
72
|
+
wrapClassName: (0, _classnames.default)(wrapClassName, prefixCls),
|
|
73
|
+
width: size === 'default' ? 552 : 416,
|
|
74
|
+
footer: defaultFooter
|
|
65
75
|
}, other, {
|
|
66
76
|
onOk: onOk,
|
|
67
77
|
onCancel: onCancel,
|
|
68
|
-
|
|
69
|
-
visible: visible || open,
|
|
70
|
-
cancelText: cancelText
|
|
78
|
+
visible: visible || open
|
|
71
79
|
}));
|
|
72
80
|
};
|
|
73
81
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.changeConfirmLocale = changeConfirmLocale;
|
|
9
|
+
exports.getConfirmLocale = getConfirmLocale;
|
|
10
|
+
|
|
11
|
+
var _default = _interopRequireDefault(require("../Locale/default"));
|
|
12
|
+
|
|
13
|
+
var runtimeLocale = Object.assign({}, _default.default.Modal);
|
|
14
|
+
|
|
15
|
+
function changeConfirmLocale(newLocale) {
|
|
16
|
+
if (newLocale) {
|
|
17
|
+
runtimeLocale = Object.assign(Object.assign({}, runtimeLocale), newLocale);
|
|
18
|
+
} else {
|
|
19
|
+
runtimeLocale = Object.assign({}, _default.default.Modal);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function getConfirmLocale() {
|
|
24
|
+
return runtimeLocale;
|
|
25
|
+
}
|
|
@@ -198,6 +198,7 @@
|
|
|
198
198
|
--font-size-base: 14px;
|
|
199
199
|
--font-size-lg: calc(var(--font-size-base) + 2px);
|
|
200
200
|
--font-size-sm: 12px;
|
|
201
|
+
--border-radius: 2px;
|
|
201
202
|
--color-contrast: #fff;
|
|
202
203
|
--color-100: #000;
|
|
203
204
|
--color-85: #262626;
|
|
@@ -516,6 +517,11 @@ p {
|
|
|
516
517
|
z-index: 999;
|
|
517
518
|
background-color: #fff;
|
|
518
519
|
}
|
|
520
|
+
.lm_quick_menu .ant-btn {
|
|
521
|
+
border: 0;
|
|
522
|
+
border-radius: 4px;
|
|
523
|
+
box-shadow: 0px 12px 48px 0px rgba(0, 0, 0, 0.03), 0px 9px 28px 0px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08);
|
|
524
|
+
}
|
|
519
525
|
.lm_quick_menu .lm_menu_list {
|
|
520
526
|
position: relative;
|
|
521
527
|
width: 0;
|
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
z-index: 999;
|
|
6
6
|
background-color: #fff;
|
|
7
7
|
}
|
|
8
|
+
.lm_quick_menu .ant-btn {
|
|
9
|
+
border: 0;
|
|
10
|
+
border-radius: 4px;
|
|
11
|
+
box-shadow: 0px 12px 48px 0px rgba(0, 0, 0, 0.03), 0px 9px 28px 0px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08);
|
|
12
|
+
}
|
|
8
13
|
.lm_quick_menu .lm_menu_list {
|
|
9
14
|
position: relative;
|
|
10
15
|
width: 0;
|
package/lib/Rate/style/index.css
CHANGED
package/lib/Row/style/index.css
CHANGED
package/lib/Spin/style/index.css
CHANGED
package/lib/Tabs/style/index.css
CHANGED
package/lib/Tag/style/index.css
CHANGED
package/lib/Tree/style/index.css
CHANGED