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
package/es/Affix/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/es/Alert/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_alert .alert_progress {
|
|
507
513
|
position: absolute;
|
|
508
514
|
width: 100%;
|
package/es/Approval/index.js
CHANGED
|
@@ -127,7 +127,7 @@ var ApprovalItem = function ApprovalItem(props) {
|
|
|
127
127
|
onDeleteComment = props.onDeleteComment;
|
|
128
128
|
var itemCls = classNames(prefixCls + '_item');
|
|
129
129
|
var itemHeaderCls = classNames(itemCls + '_header');
|
|
130
|
-
var itemBodyCls = classNames(itemCls + '_body');
|
|
130
|
+
var itemBodyCls = classNames(itemCls + '_body', ApprovalType.isPending(type, approvalStatus) ? 'small' : '');
|
|
131
131
|
|
|
132
132
|
var getIcon = function getIcon() {
|
|
133
133
|
if (ApprovalType.isRefuse(type, approvalStatus)) {
|
|
@@ -200,7 +200,7 @@ var ApprovalItem = function ApprovalItem(props) {
|
|
|
200
200
|
if (comment) {
|
|
201
201
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
202
202
|
className: 'comment'
|
|
203
|
-
}, comment, ApprovalType.isOnlyComment(type) && currentUserIsProposer(_user, name) && /*#__PURE__*/React.createElement("div", {
|
|
203
|
+
}, "\u201C", comment, "\u201D", ApprovalType.isOnlyComment(type) && currentUserIsProposer(_user, name) && /*#__PURE__*/React.createElement("div", {
|
|
204
204
|
className: 'comment-delete',
|
|
205
205
|
onClick: onDeleteComment
|
|
206
206
|
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
@@ -272,8 +272,8 @@ var ApprovalItem = function ApprovalItem(props) {
|
|
|
272
272
|
};
|
|
273
273
|
|
|
274
274
|
var renderTime = function renderTime() {
|
|
275
|
-
//
|
|
276
|
-
if (
|
|
275
|
+
// 审核中
|
|
276
|
+
if (ApprovalType.isPending(type, approvalStatus)) {
|
|
277
277
|
return /*#__PURE__*/React.createElement("span", {
|
|
278
278
|
className: 'yellow'
|
|
279
279
|
}, "\u5DF2\u7B49\u5F85".concat(getDistanceTime(time)));
|
|
@@ -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_approval_title_status {
|
|
507
513
|
display: flex;
|
|
508
514
|
line-height: 20px;
|
|
@@ -510,12 +516,14 @@ html {
|
|
|
510
516
|
background: var(--color-4);
|
|
511
517
|
padding: 0 8px;
|
|
512
518
|
margin: 2px 0 0 16px;
|
|
519
|
+
justify-content: center;
|
|
520
|
+
align-items: center;
|
|
521
|
+
border-radius: 2px;
|
|
513
522
|
}
|
|
514
523
|
.lm_approval_title_status .icon {
|
|
515
524
|
display: inline-block;
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
margin-top: 4px;
|
|
525
|
+
font-size: 16px;
|
|
526
|
+
margin: 0px;
|
|
519
527
|
}
|
|
520
528
|
.lm_approval_title_status .icon.blue {
|
|
521
529
|
color: #1890FC;
|
|
@@ -628,9 +636,13 @@ html {
|
|
|
628
636
|
}
|
|
629
637
|
.lm_approval_item .lm_approval_item_body {
|
|
630
638
|
min-height: 32px;
|
|
631
|
-
margin: 4px
|
|
639
|
+
margin: 4px 0px 0px 20px;
|
|
632
640
|
border-left: 1px solid var(--color-6);
|
|
633
641
|
padding-left: 36px;
|
|
642
|
+
padding-bottom: 40px;
|
|
643
|
+
}
|
|
644
|
+
.lm_approval_item .lm_approval_item_body.small {
|
|
645
|
+
padding-bottom: 32px;
|
|
634
646
|
}
|
|
635
647
|
.lm_approval_item .lm_approval_item_body .agree-tip {
|
|
636
648
|
font-size: var(--font-size-sm);
|
|
@@ -646,6 +658,7 @@ html {
|
|
|
646
658
|
border-radius: 2px;
|
|
647
659
|
}
|
|
648
660
|
.lm_approval_item .lm_approval_item_body .comment .comment-delete {
|
|
661
|
+
margin-top: 8px;
|
|
649
662
|
color: #1890FC;
|
|
650
663
|
font-size: var(--font-size-sm);
|
|
651
664
|
line-height: 20px;
|
|
@@ -659,6 +672,7 @@ html {
|
|
|
659
672
|
}
|
|
660
673
|
.lm-approver-wrapper .lm-approver-box {
|
|
661
674
|
display: flex;
|
|
675
|
+
flex: 1;
|
|
662
676
|
flex-wrap: wrap;
|
|
663
677
|
margin-top: 4px;
|
|
664
678
|
}
|
|
@@ -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_base_button_tag_Group {
|
|
507
513
|
position: relative;
|
|
508
514
|
display: flex;
|
|
@@ -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/es/Card/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
|
+
}
|
|
@@ -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/es/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;
|