@zykj2024/much-library 1.2.0 → 1.2.2
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.
@@ -466,6 +466,9 @@ var ContainerPanel = function ContainerPanel(props, ref) {
|
|
466
466
|
onChange: tableChange
|
467
467
|
}, tableProps), {}, {
|
468
468
|
loading: false,
|
469
|
+
rowSelection: tableProps !== null && tableProps !== void 0 && tableProps.rowSelection ? _objectSpread({
|
470
|
+
fixed: 'left'
|
471
|
+
}, tableProps.rowSelection) : undefined,
|
469
472
|
pagination: (tableProps === null || tableProps === void 0 ? void 0 : tableProps.pagination) === false ? false : _objectSpread({
|
470
473
|
className: 'mc-container__pagination',
|
471
474
|
style: {
|
package/dist/McInput/TextArea.js
CHANGED
@@ -6,7 +6,8 @@ import { Input } from 'antd';
|
|
6
6
|
import { forwardRef, useEffect, useState } from 'react';
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
8
8
|
var McTextArea = /*#__PURE__*/forwardRef(function (props, ref) {
|
9
|
-
var isTrim = props.isTrim,
|
9
|
+
var _props$isTrim = props.isTrim,
|
10
|
+
isTrim = _props$isTrim === void 0 ? true : _props$isTrim,
|
10
11
|
value = props.value,
|
11
12
|
_onChange = props.onChange,
|
12
13
|
className = props.className,
|
@@ -421,8 +421,7 @@ var ListSelectPanel = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
421
421
|
children: selected.map(function (v) {
|
422
422
|
return /*#__PURE__*/_jsx(SelectedItem, {
|
423
423
|
style: {
|
424
|
-
width: selectedLayout === 'inline' ? 'auto' : '100%'
|
425
|
-
height: selectedLayout === 'inline' ? 32 : 40
|
424
|
+
width: selectedLayout === 'inline' ? 'auto' : '100%'
|
426
425
|
},
|
427
426
|
sortable: selectedLayout === 'sortable',
|
428
427
|
valueMap: valueMap,
|
@@ -124,14 +124,14 @@
|
|
124
124
|
width: 100%;
|
125
125
|
}
|
126
126
|
.mc-list-select-panel__card__checkall {
|
127
|
-
height:
|
127
|
+
height: 32px;
|
128
128
|
}
|
129
129
|
.mc-list-select-panel__card__checkall__inner {
|
130
130
|
-webkit-box-align: center;
|
131
131
|
-ms-flex-align: center;
|
132
132
|
align-items: center;
|
133
133
|
width: 100%;
|
134
|
-
height:
|
134
|
+
height: 32px;
|
135
135
|
padding: 0 12px;
|
136
136
|
}
|
137
137
|
.mc-list-select-panel__card__checkall__inner:hover {
|
@@ -200,7 +200,7 @@
|
|
200
200
|
-ms-flex-align: center;
|
201
201
|
align-items: center;
|
202
202
|
width: 100%;
|
203
|
-
height:
|
203
|
+
height: 32px;
|
204
204
|
padding: 0 12px;
|
205
205
|
}
|
206
206
|
.mc-list-select-panel__option:hover {
|
@@ -234,7 +234,7 @@
|
|
234
234
|
-ms-flex-align: center;
|
235
235
|
align-items: center;
|
236
236
|
width: 100%;
|
237
|
-
height:
|
237
|
+
height: 32px;
|
238
238
|
padding: 0 8px;
|
239
239
|
overflow: hidden;
|
240
240
|
background: #f5f5f5;
|