linkmore-design 1.0.68 → 1.0.69
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/README.md +11 -7
- package/dist/Approval/demos/basic.d.ts +1 -0
- package/dist/LmFilter/components/InputFilter.d.ts +2 -2
- package/dist/LmFilter/filterFns/index.d.ts +1 -1
- package/dist/LmFilter/localization.d.ts +1 -0
- package/dist/LmFilter/utils.d.ts +1 -1
- package/dist/LmSelect/useCheckboxOptions.d.ts +1 -0
- package/dist/LmUpload/UploadList/ItemPicture.d.ts +2 -1
- package/dist/LmUpload/UploadList/ItemText.d.ts +2 -1
- package/dist/LmUpload/UploadList/RenderItem.d.ts +1 -5
- package/dist/LmUpload/demos/card.d.ts +2 -0
- package/dist/LmUpload/demos/picture.d.ts +2 -0
- package/dist/LmUpload/fns/index.d.ts +2 -0
- package/dist/LmUpload/utils.d.ts +1 -0
- package/dist/LmUpload/wrapper/UploadContainer.d.ts +4 -3
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.min.js +1 -1
- package/es/Affix/style/index.css +6 -0
- package/es/Alert/style/index.css +6 -0
- package/es/Approval/index.js +4 -4
- package/es/Approval/style/index.css +18 -4
- package/es/AutoComplete/style/index.css +6 -0
- package/es/Avatar/style/index.css +6 -0
- package/es/Breadcrumb/style/index.css +6 -0
- package/es/ButtonTags/style/index.css +6 -0
- package/es/Calendar/style/index.css +6 -0
- package/es/Card/style/index.css +6 -0
- package/es/CardTable/fns/index.js +5 -8
- package/es/CardTable/table/TableRoot.js +2 -1
- package/es/Carousel/style/index.css +6 -0
- package/es/Cascader/style/index.css +6 -0
- package/es/CkFilter/complexFilter/drawer.js +1 -4
- package/es/CkFilter/complexFilter/saveModal.js +5 -7
- package/es/CkFilter/components/CustomModal.js +2 -3
- package/es/CkFilter/components/filterTypes.js +1 -3
- package/es/CkFilter/components/modal.js +2 -5
- package/es/CkFilter/components/modalBack.js +2 -3
- package/es/CkFilter/customFilter/drawer.js +6 -11
- package/es/CkFilter/style/index.css +6 -0
- package/es/Col/style/index.css +6 -0
- package/es/Collapse/style/index.css +6 -0
- package/es/Comment/style/index.css +6 -0
- package/es/CustomTableOption/style/index.css +6 -0
- package/es/CustomerService/style/index.css +6 -0
- package/es/DatePicker/style/index.css +6 -0
- package/es/Descriptions/style/index.css +6 -0
- package/es/Drawer/style/index.css +6 -0
- package/es/Dropdown/style/index.css +6 -0
- package/es/EditTable/style/index.css +6 -0
- package/es/Empty/style/index.css +6 -0
- package/es/Filter/baseFilter/Popover.js +0 -1
- package/es/Filter/baseFilter/ToggleFilter.js +0 -1
- package/es/Filter/edit/editFilter.js +2 -6
- package/es/Filter/remember.js +0 -1
- package/es/Filter/style/index.css +6 -0
- package/es/Form/style/index.css +6 -0
- package/es/Grid/style/index.css +6 -0
- package/es/Icon/style/index.css +6 -0
- package/es/IconFont/font/iconfont.js +1 -1
- package/es/Image/style/index.css +6 -0
- package/es/Input/style/index.css +6 -0
- package/es/InputNumber/style/index.css +6 -0
- package/es/Layout/style/index.css +6 -0
- package/es/LeftTable/style/index.css +6 -0
- package/es/List/style/index.css +6 -0
- package/es/LmEditTable/style/index.css +6 -0
- package/es/LmFilter/complexFilter/drawer.js +2 -7
- package/es/LmFilter/complexFilter/valueDrawer.js +2 -5
- package/es/LmFilter/components/CascaderFilter.js +0 -1
- package/es/LmFilter/components/DropdownFIlter.js +17 -19
- package/es/LmFilter/components/InputFilter.js +1 -2
- package/es/LmFilter/components/SelectFilter.js +2 -2
- package/es/LmFilter/components/index.js +1 -1
- package/es/LmFilter/customFilter/drawer.js +7 -25
- package/es/LmFilter/customFilter/saveModal.js +2 -3
- package/es/LmFilter/customFilter/valueDrawer.js +2 -5
- package/es/LmFilter/filterFns/index.js +3 -5
- package/es/LmFilter/localization.d.ts +1 -0
- package/es/LmFilter/localization.js +2 -1
- package/es/LmFilter/utils.js +39 -22
- package/es/LmFilter/wrapper/FilterRoot.js +0 -2
- package/es/LmSelect/style/index.css +6 -0
- package/es/LmSelect/useCheckboxOptions.d.ts +1 -0
- package/es/LmSelect/useCheckboxOptions.js +4 -3
- package/es/LmTable/Table.js +0 -1
- package/es/LmTable/autosize.js +0 -3
- package/es/LmTable/style/index.css +6 -0
- package/es/LmUpload/LmUpload.js +44 -21
- package/es/LmUpload/UploadList/ItemPicture.d.ts +2 -1
- package/es/LmUpload/UploadList/ItemPicture.js +14 -8
- package/es/LmUpload/UploadList/ItemPictureCard.js +18 -9
- package/es/LmUpload/UploadList/ItemText.d.ts +2 -1
- package/es/LmUpload/UploadList/ItemText.js +12 -7
- package/es/LmUpload/UploadList/RenderItem.d.ts +1 -5
- package/es/LmUpload/UploadList/RenderItem.js +3 -3
- package/es/LmUpload/UploadList/index.js +9 -4
- package/es/LmUpload/body/Progress.js +2 -2
- package/es/LmUpload/body/UploadCore.js +10 -5
- package/es/LmUpload/body/UploadPicture.js +4 -4
- package/es/LmUpload/fns/index.d.ts +2 -0
- package/es/LmUpload/fns/index.js +61 -16
- package/es/LmUpload/utils.d.ts +1 -0
- package/es/LmUpload/utils.js +14 -1
- package/es/LmUpload/wrapper/UploadContainer.d.ts +4 -3
- package/es/LmUpload/wrapper/UploadContainer.js +19 -3
- package/es/LmUpload/wrapper/UploadRoot.js +30 -3
- package/es/LmUpload/wrapper/UploadWrapper.js +4 -8
- package/es/LmUpload/wrapper/reducer.js +2 -1
- package/es/Mentions/style/index.css +6 -0
- package/es/Menu/style/index.css +6 -0
- package/es/Modal/style/index.css +6 -0
- package/es/PageHeader/style/index.css +6 -0
- package/es/Pagination/style/index.css +6 -0
- package/es/PopTable/style/index.css +6 -0
- package/es/Popconfirm/style/index.css +6 -0
- package/es/Popover/style/index.css +6 -0
- package/es/ProTable/Table.js +0 -1
- package/es/ProTable/autosize.js +0 -3
- package/es/ProTable/style/index.css +6 -0
- package/es/Progress/style/index.css +6 -0
- package/es/QuickMenu/style/index.css +6 -0
- package/es/Rate/style/index.css +6 -0
- package/es/Row/style/index.css +6 -0
- package/es/Segmented/style/index.css +6 -0
- package/es/Select/style/index.css +6 -0
- package/es/Slider/style/index.css +6 -0
- package/es/Space/style/index.css +6 -0
- package/es/Spin/style/index.css +6 -0
- package/es/Statistic/style/index.css +6 -0
- package/es/Steps/style/index.css +6 -0
- package/es/Switch/style/index.css +6 -0
- package/es/Table/style/index.css +6 -0
- package/es/Tabs/style/index.css +6 -0
- package/es/Tag/style/index.css +6 -0
- package/es/TimePicker/style/index.css +6 -0
- package/es/Timeline/style/index.css +6 -0
- package/es/Tooltip/style/index.css +6 -0
- package/es/Transfer/style/index.css +6 -0
- package/es/Tree/style/index.css +6 -0
- package/es/TreeSelect/style/index.css +6 -0
- package/es/Typography/style/index.css +6 -0
- package/es/Upload/style/index.css +6 -0
- package/es/message/style/index.css +6 -0
- package/es/notification/style/index.css +6 -0
- package/es/styles/main.css +6 -0
- package/es/styles/resetAntd.css +3 -0
- package/lib/Affix/style/index.css +6 -0
- package/lib/Alert/style/index.css +6 -0
- package/lib/Approval/index.js +4 -4
- package/lib/Approval/style/index.css +18 -4
- package/lib/AutoComplete/style/index.css +6 -0
- package/lib/Avatar/style/index.css +6 -0
- package/lib/Breadcrumb/style/index.css +6 -0
- package/lib/ButtonTags/style/index.css +6 -0
- package/lib/Calendar/style/index.css +6 -0
- package/lib/Card/style/index.css +6 -0
- package/lib/CardTable/fns/index.js +5 -8
- package/lib/CardTable/table/TableRoot.js +2 -1
- package/lib/Carousel/style/index.css +6 -0
- package/lib/Cascader/style/index.css +6 -0
- package/lib/CkFilter/complexFilter/drawer.js +1 -4
- package/lib/CkFilter/complexFilter/saveModal.js +5 -7
- package/lib/CkFilter/components/CustomModal.js +2 -3
- package/lib/CkFilter/components/filterTypes.js +1 -3
- package/lib/CkFilter/components/modal.js +2 -5
- package/lib/CkFilter/components/modalBack.js +2 -3
- package/lib/CkFilter/customFilter/drawer.js +6 -11
- package/lib/CkFilter/style/index.css +6 -0
- package/lib/Col/style/index.css +6 -0
- package/lib/Collapse/style/index.css +6 -0
- package/lib/Comment/style/index.css +6 -0
- package/lib/CustomTableOption/style/index.css +6 -0
- package/lib/CustomerService/style/index.css +6 -0
- package/lib/DatePicker/style/index.css +6 -0
- package/lib/Descriptions/style/index.css +6 -0
- package/lib/Drawer/style/index.css +6 -0
- package/lib/Dropdown/style/index.css +6 -0
- package/lib/EditTable/style/index.css +6 -0
- package/lib/Empty/style/index.css +6 -0
- package/lib/Filter/baseFilter/Popover.js +0 -1
- package/lib/Filter/baseFilter/ToggleFilter.js +0 -1
- package/lib/Filter/edit/editFilter.js +2 -6
- package/lib/Filter/remember.js +0 -1
- package/lib/Filter/style/index.css +6 -0
- package/lib/Form/style/index.css +6 -0
- package/lib/Grid/style/index.css +6 -0
- package/lib/Icon/style/index.css +6 -0
- package/lib/IconFont/font/iconfont.js +1 -1
- package/lib/Image/style/index.css +6 -0
- package/lib/Input/style/index.css +6 -0
- package/lib/InputNumber/style/index.css +6 -0
- package/lib/Layout/style/index.css +6 -0
- package/lib/LeftTable/style/index.css +6 -0
- package/lib/List/style/index.css +6 -0
- package/lib/LmEditTable/style/index.css +6 -0
- package/lib/LmFilter/complexFilter/drawer.js +2 -7
- package/lib/LmFilter/complexFilter/valueDrawer.js +2 -5
- package/lib/LmFilter/components/CascaderFilter.js +0 -1
- package/lib/LmFilter/components/DropdownFIlter.js +17 -19
- package/lib/LmFilter/components/InputFilter.js +1 -2
- package/lib/LmFilter/components/SelectFilter.js +2 -2
- package/lib/LmFilter/components/index.js +1 -1
- package/lib/LmFilter/customFilter/drawer.js +7 -25
- package/lib/LmFilter/customFilter/saveModal.js +2 -3
- package/lib/LmFilter/customFilter/valueDrawer.js +2 -5
- package/lib/LmFilter/filterFns/index.js +3 -5
- package/lib/LmFilter/localization.d.ts +1 -0
- package/lib/LmFilter/localization.js +4 -2
- package/lib/LmFilter/utils.js +39 -22
- package/lib/LmFilter/wrapper/FilterRoot.js +0 -2
- package/lib/LmSelect/style/index.css +6 -0
- package/lib/LmSelect/useCheckboxOptions.d.ts +1 -0
- package/lib/LmSelect/useCheckboxOptions.js +7 -5
- package/lib/LmTable/Table.js +0 -1
- package/lib/LmTable/autosize.js +0 -3
- package/lib/LmTable/style/index.css +6 -0
- package/lib/LmUpload/LmUpload.js +43 -21
- package/lib/LmUpload/UploadList/ItemPicture.d.ts +2 -1
- package/lib/LmUpload/UploadList/ItemPicture.js +14 -8
- package/lib/LmUpload/UploadList/ItemPictureCard.js +18 -9
- package/lib/LmUpload/UploadList/ItemText.d.ts +2 -1
- package/lib/LmUpload/UploadList/ItemText.js +12 -7
- package/lib/LmUpload/UploadList/RenderItem.d.ts +1 -5
- package/lib/LmUpload/UploadList/RenderItem.js +3 -3
- package/lib/LmUpload/UploadList/index.js +9 -4
- package/lib/LmUpload/body/Progress.js +2 -2
- package/lib/LmUpload/body/UploadCore.js +15 -8
- package/lib/LmUpload/body/UploadPicture.js +4 -4
- package/lib/LmUpload/fns/index.d.ts +2 -0
- package/lib/LmUpload/fns/index.js +61 -16
- package/lib/LmUpload/utils.d.ts +1 -0
- package/lib/LmUpload/utils.js +16 -1
- package/lib/LmUpload/wrapper/UploadContainer.d.ts +4 -3
- package/lib/LmUpload/wrapper/UploadContainer.js +21 -3
- package/lib/LmUpload/wrapper/UploadRoot.js +30 -3
- package/lib/LmUpload/wrapper/UploadWrapper.js +5 -12
- package/lib/LmUpload/wrapper/reducer.js +2 -1
- package/lib/Mentions/style/index.css +6 -0
- package/lib/Menu/style/index.css +6 -0
- package/lib/Modal/style/index.css +6 -0
- package/lib/PageHeader/style/index.css +6 -0
- package/lib/Pagination/style/index.css +6 -0
- package/lib/PopTable/style/index.css +6 -0
- package/lib/Popconfirm/style/index.css +6 -0
- package/lib/Popover/style/index.css +6 -0
- package/lib/ProTable/Table.js +0 -1
- package/lib/ProTable/autosize.js +0 -3
- package/lib/ProTable/style/index.css +6 -0
- package/lib/Progress/style/index.css +6 -0
- package/lib/QuickMenu/style/index.css +6 -0
- package/lib/Rate/style/index.css +6 -0
- package/lib/Row/style/index.css +6 -0
- package/lib/Segmented/style/index.css +6 -0
- package/lib/Select/style/index.css +6 -0
- package/lib/Slider/style/index.css +6 -0
- package/lib/Space/style/index.css +6 -0
- package/lib/Spin/style/index.css +6 -0
- package/lib/Statistic/style/index.css +6 -0
- package/lib/Steps/style/index.css +6 -0
- package/lib/Switch/style/index.css +6 -0
- package/lib/Table/style/index.css +6 -0
- package/lib/Tabs/style/index.css +6 -0
- package/lib/Tag/style/index.css +6 -0
- package/lib/TimePicker/style/index.css +6 -0
- package/lib/Timeline/style/index.css +6 -0
- package/lib/Tooltip/style/index.css +6 -0
- package/lib/Transfer/style/index.css +6 -0
- package/lib/Tree/style/index.css +6 -0
- package/lib/TreeSelect/style/index.css +6 -0
- package/lib/Typography/style/index.css +6 -0
- package/lib/Upload/style/index.css +6 -0
- package/lib/message/style/index.css +6 -0
- package/lib/notification/style/index.css +6 -0
- package/lib/styles/main.css +6 -0
- package/lib/styles/resetAntd.css +3 -0
- package/package.json +2 -1
|
@@ -26,8 +26,8 @@ var CoreOptions = function CoreOptions(_ref) {
|
|
|
26
26
|
|
|
27
27
|
var setCheckboxKeys = function setCheckboxKeys(keys, checked, reset) {
|
|
28
28
|
var flag = typeof checked === 'boolean' ? checked : true;
|
|
29
|
-
var nKeys = keys
|
|
30
|
-
|
|
29
|
+
var nKeys = keys;
|
|
30
|
+
var nValues = [];
|
|
31
31
|
|
|
32
32
|
if (reset) {
|
|
33
33
|
nValues = (dataSource === null || dataSource === void 0 ? void 0 : dataSource.filter(function (v) {
|
|
@@ -80,9 +80,9 @@ var CoreOptions = function CoreOptions(_ref) {
|
|
|
80
80
|
trigger = _options$trigger === void 0 ? 'default' : _options$trigger,
|
|
81
81
|
cell = options.cell,
|
|
82
82
|
cellIndex = options.cellIndex;
|
|
83
|
-
var nKeys = [k]
|
|
84
|
-
|
|
85
|
-
|
|
83
|
+
var nKeys = [k];
|
|
84
|
+
var isCheck = true;
|
|
85
|
+
var reset = false; // 单个切换
|
|
86
86
|
|
|
87
87
|
if (!Array.isArray(k)) {
|
|
88
88
|
var isCanCheck = checkMethod; // 是否可选中
|
|
@@ -125,9 +125,6 @@ var CoreOptions = function CoreOptions(_ref) {
|
|
|
125
125
|
|
|
126
126
|
nKeys = [].concat((0, _toConsumableArray2.default)(notCheckArr), (0, _toConsumableArray2.default)(checkArr)); // 组合新值为选中状态
|
|
127
127
|
|
|
128
|
-
var nValues = dataSource === null || dataSource === void 0 ? void 0 : dataSource.filter(function (v) {
|
|
129
|
-
return nKeys.includes(v[cellKey]);
|
|
130
|
-
});
|
|
131
128
|
reset = true;
|
|
132
129
|
}
|
|
133
130
|
|
|
@@ -138,7 +138,8 @@ var LmCardTableRoot = function LmCardTableRoot(props, ref) {
|
|
|
138
138
|
var _useReducer = (0, _react.useReducer)(reducer, initialState),
|
|
139
139
|
_useReducer2 = (0, _slicedToArray2.default)(_useReducer, 2),
|
|
140
140
|
state = _useReducer2[0],
|
|
141
|
-
dispatch = _useReducer2[1];
|
|
141
|
+
dispatch = _useReducer2[1]; // eslint-disable-next-line no-unused-vars
|
|
142
|
+
|
|
142
143
|
|
|
143
144
|
var _useState = (0, _react.useState)(false),
|
|
144
145
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,3 +506,6 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,6 +506,9 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
506
512
|
.lm_cascader.ant-select.ant-select {
|
|
507
513
|
font-size: 12px;
|
|
508
514
|
}
|
|
@@ -324,7 +324,6 @@ var Index = function Index() {
|
|
|
324
324
|
};
|
|
325
325
|
|
|
326
326
|
var onSearch = function onSearch() {
|
|
327
|
-
console.log('complexDrawer:', data);
|
|
328
327
|
var baseFilter = filterValues[instance.searchKey] ? (0, _defineProperty2.default)({}, instance.searchKey, filterValues[instance.searchKey]) : {};
|
|
329
328
|
dispatch({
|
|
330
329
|
type: 'changeFilterValues',
|
|
@@ -352,9 +351,7 @@ var Index = function Index() {
|
|
|
352
351
|
|
|
353
352
|
var Tit = function Tit() {
|
|
354
353
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
355
|
-
onClick: function onClick() {
|
|
356
|
-
console.log('title', state);
|
|
357
|
-
}
|
|
354
|
+
onClick: function onClick() {}
|
|
358
355
|
}, "\u9AD8\u7EA7\u67E5\u8BE2");
|
|
359
356
|
}; // 弹窗配置项
|
|
360
357
|
|
|
@@ -62,7 +62,6 @@ var Save = function Save(_ref) {
|
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
console.log('保存数据!', nValue);
|
|
66
65
|
onClose();
|
|
67
66
|
dispatch({
|
|
68
67
|
type: 'changeComplexDrawer',
|
|
@@ -70,20 +69,19 @@ var Save = function Save(_ref) {
|
|
|
70
69
|
visible: false
|
|
71
70
|
})
|
|
72
71
|
});
|
|
73
|
-
_context.next =
|
|
72
|
+
_context.next = 12;
|
|
74
73
|
break;
|
|
75
74
|
|
|
76
|
-
case
|
|
77
|
-
_context.prev =
|
|
75
|
+
case 10:
|
|
76
|
+
_context.prev = 10;
|
|
78
77
|
_context.t0 = _context["catch"](0);
|
|
79
|
-
console.log('error:', _context.t0);
|
|
80
78
|
|
|
81
|
-
case
|
|
79
|
+
case 12:
|
|
82
80
|
case "end":
|
|
83
81
|
return _context.stop();
|
|
84
82
|
}
|
|
85
83
|
}
|
|
86
|
-
}, _callee, null, [[0,
|
|
84
|
+
}, _callee, null, [[0, 10]]);
|
|
87
85
|
}));
|
|
88
86
|
|
|
89
87
|
return function onSave() {
|
|
@@ -115,15 +115,14 @@ var ModalItem = function ModalItem() {
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
onClose();
|
|
118
|
-
_context.next =
|
|
118
|
+
_context.next = 14;
|
|
119
119
|
break;
|
|
120
120
|
|
|
121
121
|
case 12:
|
|
122
122
|
_context.prev = 12;
|
|
123
123
|
_context.t0 = _context["catch"](0);
|
|
124
|
-
console.log('校验错误!', _context.t0);
|
|
125
124
|
|
|
126
|
-
case
|
|
125
|
+
case 14:
|
|
127
126
|
case "end":
|
|
128
127
|
return _context.stop();
|
|
129
128
|
}
|
|
@@ -484,7 +484,6 @@ var MoreFilter = function MoreFilter(_ref12) {
|
|
|
484
484
|
var nValue = checkAll ? [] : options.map(function (v) {
|
|
485
485
|
return v.field;
|
|
486
486
|
});
|
|
487
|
-
console.log('nValue', checkAll, nValue, nValue.length);
|
|
488
487
|
setCheckedValues(nValue); // setFilterValue(options, checkAll ? 'hidden' : 'show')
|
|
489
488
|
}; // 搜索
|
|
490
489
|
|
|
@@ -561,8 +560,7 @@ var DatePickerFilter = function DatePickerFilter(_ref13) {
|
|
|
561
560
|
setFilterValue = _ref13.setFilterValue,
|
|
562
561
|
props = _ref13.props,
|
|
563
562
|
dateType = _ref13.dateType;
|
|
564
|
-
|
|
565
|
-
|
|
563
|
+
// 对日期格式的转换, 日期组件仅接收moment格式
|
|
566
564
|
var value = (0, _react.useMemo)(function () {
|
|
567
565
|
var nValue;
|
|
568
566
|
|
|
@@ -147,15 +147,14 @@ var ModalItem = function ModalItem() {
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
onClose();
|
|
150
|
-
_context.next =
|
|
150
|
+
_context.next = 22;
|
|
151
151
|
break;
|
|
152
152
|
|
|
153
153
|
case 20:
|
|
154
154
|
_context.prev = 20;
|
|
155
155
|
_context.t0 = _context["catch"](0);
|
|
156
|
-
console.log('校验错误!', _context.t0);
|
|
157
156
|
|
|
158
|
-
case
|
|
157
|
+
case 22:
|
|
159
158
|
case "end":
|
|
160
159
|
return _context.stop();
|
|
161
160
|
}
|
|
@@ -169,8 +168,6 @@ var ModalItem = function ModalItem() {
|
|
|
169
168
|
}();
|
|
170
169
|
|
|
171
170
|
var onValuesChange = function onValuesChange(values) {
|
|
172
|
-
console.log('values', values);
|
|
173
|
-
|
|
174
171
|
if (values.field) {
|
|
175
172
|
form.setFieldsValue({
|
|
176
173
|
value: []
|
|
@@ -145,15 +145,14 @@ var ModalItem = function ModalItem() {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
onClose();
|
|
148
|
-
_context.next =
|
|
148
|
+
_context.next = 14;
|
|
149
149
|
break;
|
|
150
150
|
|
|
151
151
|
case 12:
|
|
152
152
|
_context.prev = 12;
|
|
153
153
|
_context.t0 = _context["catch"](0);
|
|
154
|
-
console.log('校验错误!', _context.t0);
|
|
155
154
|
|
|
156
|
-
case
|
|
155
|
+
case 14:
|
|
157
156
|
case "end":
|
|
158
157
|
return _context.stop();
|
|
159
158
|
}
|
|
@@ -92,7 +92,6 @@ var ListItem = function ListItem(props) {
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
var checkedValues = (0, _react.useMemo)(function () {
|
|
95
|
-
console.log('value', value);
|
|
96
95
|
var checkedValue = value.value;
|
|
97
96
|
|
|
98
97
|
if (Array.isArray(checkedValue)) {
|
|
@@ -227,8 +226,7 @@ var Index = function Index() {
|
|
|
227
226
|
var filterItem = (0, _react.useMemo)(function () {
|
|
228
227
|
return customDrawer.data;
|
|
229
228
|
}, [customDrawer.data]);
|
|
230
|
-
|
|
231
|
-
|
|
229
|
+
// 过滤的内容转数组
|
|
232
230
|
var filterItemData = (0, _react.useMemo)(function () {
|
|
233
231
|
return (0, _utils.getIsHas)(filterItem === null || filterItem === void 0 ? void 0 : filterItem.filterValues) ? Object.entries(filterItem.filterValues).map(function (v) {
|
|
234
232
|
return {
|
|
@@ -250,7 +248,6 @@ var Index = function Index() {
|
|
|
250
248
|
|
|
251
249
|
var onRadioChange = function onRadioChange(e) {
|
|
252
250
|
var v = e.target.value;
|
|
253
|
-
console.log('v', v);
|
|
254
251
|
}; // 新增筛选项
|
|
255
252
|
|
|
256
253
|
|
|
@@ -287,22 +284,20 @@ var Index = function Index() {
|
|
|
287
284
|
});
|
|
288
285
|
}
|
|
289
286
|
|
|
290
|
-
console.log('保存数据!', nValue, state.customDrawer);
|
|
291
287
|
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
292
|
-
_context.next =
|
|
288
|
+
_context.next = 11;
|
|
293
289
|
break;
|
|
294
290
|
|
|
295
|
-
case
|
|
296
|
-
_context.prev =
|
|
291
|
+
case 9:
|
|
292
|
+
_context.prev = 9;
|
|
297
293
|
_context.t0 = _context["catch"](0);
|
|
298
|
-
console.log('error:', _context.t0);
|
|
299
294
|
|
|
300
|
-
case
|
|
295
|
+
case 11:
|
|
301
296
|
case "end":
|
|
302
297
|
return _context.stop();
|
|
303
298
|
}
|
|
304
299
|
}
|
|
305
|
-
}, _callee, null, [[0,
|
|
300
|
+
}, _callee, null, [[0, 9]]);
|
|
306
301
|
}));
|
|
307
302
|
|
|
308
303
|
return function onSave() {
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,6 +506,9 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
506
512
|
.lm_filter_base {
|
|
507
513
|
display: flex;
|
|
508
514
|
flex-wrap: wrap;
|
package/lib/Col/style/index.css
CHANGED
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,3 +506,6 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,3 +506,6 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,3 +506,6 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,6 +506,9 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
506
512
|
.lm_custom-table-option.lm_drawer .ant-drawer-body {
|
|
507
513
|
padding: 0 0 24px 0;
|
|
508
514
|
}
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,6 +506,9 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
506
512
|
.lm_customerservice_warp .fixGroup {
|
|
507
513
|
transition: right 0.3s;
|
|
508
514
|
position: fixed;
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,3 +506,6 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,6 +506,9 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
506
512
|
.lm_descriptions .ant-descriptions-header {
|
|
507
513
|
margin-top: 24px;
|
|
508
514
|
margin-bottom: 8px;
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,6 +506,9 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
506
512
|
.lm_drawer.ant-drawer .ant-drawer-content .ant-drawer-header {
|
|
507
513
|
height: 48px;
|
|
508
514
|
padding: 0 24px !important;
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,6 +506,9 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
506
512
|
.lm_dropdown.only_icon {
|
|
507
513
|
padding: 6px 8px;
|
|
508
514
|
}
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,6 +506,9 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
506
512
|
.lm_base_editTable_warpper .ant-picker {
|
|
507
513
|
width: 100%;
|
|
508
514
|
}
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,6 +506,9 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
506
512
|
.lm_empty {
|
|
507
513
|
display: flex;
|
|
508
514
|
flex-direction: column;
|
|
@@ -176,14 +176,10 @@ var Index = function Index(props) {
|
|
|
176
176
|
}; // 新增筛选项
|
|
177
177
|
|
|
178
178
|
|
|
179
|
-
var addEvent = function addEvent() {
|
|
180
|
-
console.log('新增筛选项!');
|
|
181
|
-
}; // 单个筛选项筛选值变化
|
|
179
|
+
var addEvent = function addEvent() {}; // 单个筛选项筛选值变化
|
|
182
180
|
|
|
183
181
|
|
|
184
|
-
var getChange = function getChange(e) {
|
|
185
|
-
console.log('getChange', e);
|
|
186
|
-
}; // 删除单个筛选项
|
|
182
|
+
var getChange = function getChange(e) {}; // 删除单个筛选项
|
|
187
183
|
|
|
188
184
|
|
|
189
185
|
var listItemOnClose = function listItemOnClose(field) {
|
package/lib/Filter/remember.js
CHANGED
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,6 +506,9 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
506
512
|
.lm_filter {
|
|
507
513
|
display: flex;
|
|
508
514
|
align-items: center;
|
package/lib/Form/style/index.css
CHANGED
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,6 +506,9 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
506
512
|
.lm_form .ant-form-item {
|
|
507
513
|
margin-bottom: 16px;
|
|
508
514
|
}
|
package/lib/Grid/style/index.css
CHANGED
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,3 +506,6 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
package/lib/Icon/style/index.css
CHANGED
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,3 +506,6 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,3 +506,6 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
.ant-notification-notice .ant-notification-notice-description {
|
|
82
82
|
font-size: 12px;
|
|
83
83
|
}
|
|
84
|
+
.ant-collapse {
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
}
|
|
84
87
|
@font-face {
|
|
85
88
|
font-family: 'iconfont';
|
|
86
89
|
/* Project id 2966019 */
|
|
@@ -503,6 +506,9 @@ html {
|
|
|
503
506
|
.card_cell_content:hover .card_cell_body .card_cell_checkbox {
|
|
504
507
|
opacity: 1;
|
|
505
508
|
}
|
|
509
|
+
p {
|
|
510
|
+
margin-bottom: 0;
|
|
511
|
+
}
|
|
506
512
|
.lm_input {
|
|
507
513
|
height: 32px;
|
|
508
514
|
padding: 2px 8px;
|