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
|
@@ -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
|
}
|
package/es/Empty/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_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/es/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/es/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/es/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/es/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
|
+
}
|
package/es/Image/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/Input/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_input {
|
|
507
513
|
height: 32px;
|
|
508
514
|
padding: 2px 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_input-number.ant-input-number {
|
|
507
513
|
border: 1px solid var(--color-15);
|
|
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,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_grid_tree {
|
|
507
513
|
position: relative;
|
|
508
514
|
font-size: 12px;
|
package/es/List/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,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_editTable_warpper .ant-picker {
|
|
507
513
|
width: 100%;
|
|
508
514
|
}
|
|
@@ -70,9 +70,7 @@ var ListItemChecked = function ListItemChecked(_ref) {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
if (getItem.type === 'cascader') {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
return (0, _utils.getFlatItem)((getItem === null || getItem === void 0 ? void 0 : (_getItem$props = getItem.props) === null || _getItem$props === void 0 ? void 0 : _getItem$props.multiple) ? checkedValue : [checkedValue], getItem.data, 'parent');
|
|
73
|
+
return (0, _utils.getFlatItem)(getItem, checkedValue, 'parent');
|
|
76
74
|
}
|
|
77
75
|
|
|
78
76
|
return (_getItem$data = getItem.data) === null || _getItem$data === void 0 ? void 0 : _getItem$data.filter(function (v) {
|
|
@@ -108,7 +106,6 @@ var ListItemChecked = function ListItemChecked(_ref) {
|
|
|
108
106
|
e.stopPropagation();
|
|
109
107
|
var filterValues = (0, _objectSpread3.default)({}, complexDrawer.data);
|
|
110
108
|
delete filterValues[field];
|
|
111
|
-
console.log('filterValues', filterValues);
|
|
112
109
|
dispatch({
|
|
113
110
|
type: 'changeComplexDrawer',
|
|
114
111
|
complexDrawer: {
|
|
@@ -334,9 +331,7 @@ var ComplexDrawer = function ComplexDrawer(_ref5) {
|
|
|
334
331
|
|
|
335
332
|
var Tit = function Tit() {
|
|
336
333
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
337
|
-
onClick: function onClick() {
|
|
338
|
-
console.log('title', state);
|
|
339
|
-
}
|
|
334
|
+
onClick: function onClick() {}
|
|
340
335
|
}, "\u9AD8\u7EA7\u67E5\u8BE2");
|
|
341
336
|
}; // 弹窗配置项
|
|
342
337
|
|
|
@@ -113,15 +113,14 @@ var ValueDrawer = function ValueDrawer(_ref) {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
onClose();
|
|
116
|
-
_context.next =
|
|
116
|
+
_context.next = 20;
|
|
117
117
|
break;
|
|
118
118
|
|
|
119
119
|
case 18:
|
|
120
120
|
_context.prev = 18;
|
|
121
121
|
_context.t0 = _context["catch"](0);
|
|
122
|
-
console.log('校验错误!', _context.t0);
|
|
123
122
|
|
|
124
|
-
case
|
|
123
|
+
case 20:
|
|
125
124
|
case "end":
|
|
126
125
|
return _context.stop();
|
|
127
126
|
}
|
|
@@ -135,8 +134,6 @@ var ValueDrawer = function ValueDrawer(_ref) {
|
|
|
135
134
|
}();
|
|
136
135
|
|
|
137
136
|
var onValuesChange = function onValuesChange(values) {
|
|
138
|
-
console.log('values', values);
|
|
139
|
-
|
|
140
137
|
if (values.field) {
|
|
141
138
|
form.setFieldsValue({
|
|
142
139
|
value: []
|
|
@@ -126,7 +126,6 @@ var CascaderFilter = function CascaderFilter(_ref2) {
|
|
|
126
126
|
var onChange = function onChange(item, selectedOptions) {
|
|
127
127
|
var _itemProps$props;
|
|
128
128
|
|
|
129
|
-
console.log('item', item);
|
|
130
129
|
setCheckedValues(item);
|
|
131
130
|
|
|
132
131
|
if (!(itemProps === null || itemProps === void 0 ? void 0 : (_itemProps$props = itemProps.props) === null || _itemProps$props === void 0 ? void 0 : _itemProps$props.multiple)) {
|
|
@@ -39,23 +39,23 @@ var FilterControl = function FilterControl(_ref) {
|
|
|
39
39
|
item = _ref.item;
|
|
40
40
|
var type = item.type;
|
|
41
41
|
var widgets = {
|
|
42
|
-
|
|
42
|
+
input: /*#__PURE__*/_react.default.createElement(_InputFilter.default, {
|
|
43
43
|
instance: instance,
|
|
44
44
|
item: item
|
|
45
45
|
}),
|
|
46
|
-
|
|
46
|
+
select: /*#__PURE__*/_react.default.createElement(_SelectFilter.default, {
|
|
47
47
|
instance: instance,
|
|
48
48
|
item: item
|
|
49
49
|
}),
|
|
50
|
-
|
|
50
|
+
checkbox: /*#__PURE__*/_react.default.createElement(_CheckboxFilter.default, {
|
|
51
51
|
instance: instance,
|
|
52
52
|
item: item
|
|
53
53
|
}),
|
|
54
|
-
|
|
54
|
+
cascader: /*#__PURE__*/_react.default.createElement(_CascaderFilter.default, {
|
|
55
55
|
instance: instance,
|
|
56
56
|
item: item
|
|
57
57
|
}),
|
|
58
|
-
|
|
58
|
+
date: /*#__PURE__*/_react.default.createElement(_DateFilter.default, {
|
|
59
59
|
instance: instance,
|
|
60
60
|
item: item
|
|
61
61
|
})
|
|
@@ -65,7 +65,6 @@ var FilterControl = function FilterControl(_ref) {
|
|
|
65
65
|
|
|
66
66
|
var getPlacehodler = function getPlacehodler(props) {
|
|
67
67
|
var type = props.type,
|
|
68
|
-
dateType = props.dateType,
|
|
69
68
|
itemProps = props.props; // 日期显示的处理
|
|
70
69
|
|
|
71
70
|
if (['date'].includes(type)) {
|
|
@@ -83,10 +82,10 @@ var getPlacehodler = function getPlacehodler(props) {
|
|
|
83
82
|
}
|
|
84
83
|
|
|
85
84
|
var placeholder = {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
week: '周',
|
|
86
|
+
month: '月份',
|
|
87
|
+
quarter: '季度',
|
|
88
|
+
year: '年份'
|
|
90
89
|
};
|
|
91
90
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, "\u9009\u62E9", placeholder[itemProps === null || itemProps === void 0 ? void 0 : itemProps.picker] || '日期', /*#__PURE__*/_react.default.createElement(_icons.CalendarOutlined, {
|
|
92
91
|
style: {
|
|
@@ -112,11 +111,11 @@ var getLabel = function getLabel(filterValue, item) {
|
|
|
112
111
|
|
|
113
112
|
|
|
114
113
|
if (['cascader'].includes(type)) {
|
|
115
|
-
var
|
|
116
|
-
|
|
117
|
-
var nArr = (0, _utils.getFlatItem)((item === null || item === void 0 ? void 0 : (_item$props = item.props) === null || _item$props === void 0 ? void 0 : _item$props.multiple) ? filterValue : [filterValue], data);
|
|
114
|
+
var nArr = (0, _utils.getFlatItem)(item, filterValue);
|
|
118
115
|
var labels = nArr.map(function (v) {
|
|
119
|
-
|
|
116
|
+
var _item$props, _item$props$fieldName;
|
|
117
|
+
|
|
118
|
+
return v[(item === null || item === void 0 ? void 0 : (_item$props = item.props) === null || _item$props === void 0 ? void 0 : (_item$props$fieldName = _item$props.fieldNames) === null || _item$props$fieldName === void 0 ? void 0 : _item$props$fieldName.label) || 'label'];
|
|
120
119
|
});
|
|
121
120
|
|
|
122
121
|
switch (labels.length) {
|
|
@@ -154,9 +153,8 @@ var getLabel = function getLabel(filterValue, item) {
|
|
|
154
153
|
|
|
155
154
|
if (!_labels.length) {
|
|
156
155
|
_labels = filterValue;
|
|
157
|
-
}
|
|
156
|
+
} // 受控模式未查找到显示的内容时展示
|
|
158
157
|
|
|
159
|
-
; // 受控模式未查找到显示的内容时展示
|
|
160
158
|
|
|
161
159
|
switch (_labels.length) {
|
|
162
160
|
case 1:
|
|
@@ -176,8 +174,8 @@ var getLabel = function getLabel(filterValue, item) {
|
|
|
176
174
|
} // 单选框 受控模式未查找到显示的内容时展示filterValue
|
|
177
175
|
|
|
178
176
|
|
|
179
|
-
var label = ((_data$find = data.find(function (v) {
|
|
180
|
-
return v.value === filterValue;
|
|
177
|
+
var label = (data === null || data === void 0 ? void 0 : (_data$find = data.find(function (v) {
|
|
178
|
+
return (v === null || v === void 0 ? void 0 : v.value) === filterValue;
|
|
181
179
|
})) === null || _data$find === void 0 ? void 0 : _data$find.label) || filterValue;
|
|
182
180
|
return label;
|
|
183
181
|
};
|
|
@@ -185,7 +183,7 @@ var getLabel = function getLabel(filterValue, item) {
|
|
|
185
183
|
* css样式控制
|
|
186
184
|
* expand: 展开样式
|
|
187
185
|
* active: 选中样式
|
|
188
|
-
*/
|
|
186
|
+
*/
|
|
189
187
|
|
|
190
188
|
|
|
191
189
|
var DropdownFilter = /*#__PURE__*/_react.default.memo(function (_ref2) {
|
|
@@ -7,7 +7,7 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = void 0;
|
|
11
11
|
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
|
|
@@ -47,6 +47,5 @@ var InputFilter = function InputFilter(_ref) {
|
|
|
47
47
|
})));
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
exports.InputFilter = InputFilter;
|
|
51
50
|
var _default = InputFilter;
|
|
52
51
|
exports.default = _default;
|
|
@@ -21,12 +21,12 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
21
21
|
|
|
22
22
|
var _linkmoreDesign = require("linkmore-design");
|
|
23
23
|
|
|
24
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
25
|
+
|
|
24
26
|
var _InputSearchClose = _interopRequireDefault(require("./InputSearchClose"));
|
|
25
27
|
|
|
26
28
|
var _EmptyFilter = _interopRequireDefault(require("./EmptyFilter"));
|
|
27
29
|
|
|
28
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
29
|
-
|
|
30
30
|
var _hooks = require("../hooks");
|
|
31
31
|
|
|
32
32
|
var _excluded = ["item"];
|
|
@@ -29,7 +29,7 @@ var _excluded = ["instance", "item", "value", "onChange", "options"],
|
|
|
29
29
|
/*
|
|
30
30
|
* 筛选组件使用时只传入 instance, item
|
|
31
31
|
* 其余参数皆为单独使用时传入
|
|
32
|
-
*/
|
|
32
|
+
*/
|
|
33
33
|
var FilterControl = /*#__PURE__*/_react.default.memo(function (props) {
|
|
34
34
|
var _props$instance = props.instance,
|
|
35
35
|
instance = _props$instance === void 0 ? {} : _props$instance,
|
|
@@ -79,9 +79,7 @@ var ListItemChecked = function ListItemChecked(_ref) {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
if (getItem.type === 'cascader') {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
return getFlatItem((getItem === null || getItem === void 0 ? void 0 : (_getItem$props = getItem.props) === null || _getItem$props === void 0 ? void 0 : _getItem$props.multiple) ? checkedValue : [checkedValue], getItem.data, 'parent');
|
|
82
|
+
return (0, _utils.getFlatItem)(getItem, checkedValue, 'parent');
|
|
85
83
|
}
|
|
86
84
|
|
|
87
85
|
return (_getItem$data = getItem.data) === null || _getItem$data === void 0 ? void 0 : _getItem$data.filter(function (v) {
|
|
@@ -117,7 +115,6 @@ var ListItemChecked = function ListItemChecked(_ref) {
|
|
|
117
115
|
e.stopPropagation();
|
|
118
116
|
var filterValues = (0, _objectSpread3.default)({}, complexDrawer.data);
|
|
119
117
|
delete filterValues[field];
|
|
120
|
-
console.log('filterValues', filterValues);
|
|
121
118
|
dispatch({
|
|
122
119
|
type: 'changeComplexDrawer',
|
|
123
120
|
complexDrawer: {
|
|
@@ -198,8 +195,7 @@ var ListItemChecked = function ListItemChecked(_ref) {
|
|
|
198
195
|
|
|
199
196
|
var DropdownBtn = function DropdownBtn(_ref2) {
|
|
200
197
|
var instance = _ref2.instance;
|
|
201
|
-
var
|
|
202
|
-
dispatch = instance.dispatch,
|
|
198
|
+
var dispatch = instance.dispatch,
|
|
203
199
|
dataSource = instance.dataSource;
|
|
204
200
|
|
|
205
201
|
var _useState = (0, _react.useState)(false),
|
|
@@ -279,18 +275,6 @@ var Index = function Index(_ref3) {
|
|
|
279
275
|
visible: false
|
|
280
276
|
})
|
|
281
277
|
});
|
|
282
|
-
}; // 新增筛选项
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
var addEvent = function addEvent() {
|
|
286
|
-
dispatch({
|
|
287
|
-
type: 'changeModal',
|
|
288
|
-
customModal: {
|
|
289
|
-
visible: true,
|
|
290
|
-
type: 'custom',
|
|
291
|
-
data: {}
|
|
292
|
-
}
|
|
293
|
-
});
|
|
294
278
|
}; // 保存数据
|
|
295
279
|
|
|
296
280
|
|
|
@@ -315,7 +299,6 @@ var Index = function Index(_ref3) {
|
|
|
315
299
|
});
|
|
316
300
|
}
|
|
317
301
|
|
|
318
|
-
console.log('保存数据!', nValue, state.customDrawer);
|
|
319
302
|
dispatch({
|
|
320
303
|
type: 'changeSaveModal',
|
|
321
304
|
saveModal: {
|
|
@@ -323,20 +306,19 @@ var Index = function Index(_ref3) {
|
|
|
323
306
|
data: nValue
|
|
324
307
|
}
|
|
325
308
|
});
|
|
326
|
-
_context.next =
|
|
309
|
+
_context.next = 11;
|
|
327
310
|
break;
|
|
328
311
|
|
|
329
|
-
case
|
|
330
|
-
_context.prev =
|
|
312
|
+
case 9:
|
|
313
|
+
_context.prev = 9;
|
|
331
314
|
_context.t0 = _context["catch"](0);
|
|
332
|
-
console.log('error:', _context.t0);
|
|
333
315
|
|
|
334
|
-
case
|
|
316
|
+
case 11:
|
|
335
317
|
case "end":
|
|
336
318
|
return _context.stop();
|
|
337
319
|
}
|
|
338
320
|
}
|
|
339
|
-
}, _callee, null, [[0,
|
|
321
|
+
}, _callee, null, [[0, 9]]);
|
|
340
322
|
}));
|
|
341
323
|
|
|
342
324
|
return function onSave() {
|
|
@@ -107,15 +107,14 @@ var Save = function Save(_ref) {
|
|
|
107
107
|
})
|
|
108
108
|
});
|
|
109
109
|
(_instance$onSave = instance.onSave) === null || _instance$onSave === void 0 ? void 0 : _instance$onSave.call(instance, resetOptions(nValue));
|
|
110
|
-
_context.next =
|
|
110
|
+
_context.next = 13;
|
|
111
111
|
break;
|
|
112
112
|
|
|
113
113
|
case 11:
|
|
114
114
|
_context.prev = 11;
|
|
115
115
|
_context.t0 = _context["catch"](0);
|
|
116
|
-
console.log('error:', _context.t0);
|
|
117
116
|
|
|
118
|
-
case
|
|
117
|
+
case 13:
|
|
119
118
|
case "end":
|
|
120
119
|
return _context.stop();
|
|
121
120
|
}
|