linkmore-design 1.0.30 → 1.0.33
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/dist/index.umd.js +689 -24
- package/dist/index.umd.min.js +5 -5
- package/es/Button/index.d.ts +3 -0
- package/es/Button/index.js +43 -0
- package/es/Button/style/index.d.ts +1 -0
- package/es/Button/style/index.js +1 -0
- package/es/Button/style/style.css +110 -0
- package/es/ButtonTags/ButtonTags.js +59 -0
- package/es/ButtonTags/index.js +13 -0
- package/es/ButtonTags/style/index.js +3 -0
- package/es/ButtonTags/style/style.css +577 -0
- package/es/Card/index.d.ts +2 -0
- package/es/Card/index.js +17 -0
- package/es/Card/style/index.css +505 -0
- package/es/Card/style/index.d.ts +1 -0
- package/es/Card/style/index.js +1 -0
- package/es/Checkbox/index.js +47 -0
- package/es/Checkbox/style/index.js +3 -0
- package/es/Checkbox/style/style.css +128 -0
- package/es/CkFilter/baseFilter/NestedFilter.js +137 -0
- package/es/CkFilter/baseFilter/filterMenu.js +222 -0
- package/es/CkFilter/baseFilter/index.js +92 -0
- package/es/CkFilter/baseFilter/moreFilters.js +237 -0
- package/es/CkFilter/complexFilter/drawer.js +379 -0
- package/es/CkFilter/complexFilter/index.js +69 -0
- package/es/CkFilter/components/CascaderFilter.js +132 -0
- package/es/CkFilter/components/CheckboxTags.js +53 -0
- package/es/CkFilter/components/Controls.js +53 -0
- package/es/CkFilter/components/CustomModal.js +230 -0
- package/es/CkFilter/components/DragBox/DndContainer.js +49 -0
- package/es/CkFilter/components/DragBox/index.js +63 -0
- package/es/CkFilter/components/DragBox/sortableBox.js +24 -0
- package/es/CkFilter/components/DragBox/sortableItem.js +111 -0
- package/es/CkFilter/components/Nested.js +90 -0
- package/es/CkFilter/components/filterTypes.js +815 -0
- package/es/CkFilter/components/modal.js +297 -0
- package/es/CkFilter/components/modalBack.js +261 -0
- package/es/CkFilter/context.js +174 -0
- package/es/CkFilter/customFilter/drawer.js +395 -0
- package/es/CkFilter/customFilter/index.js +129 -0
- package/es/CkFilter/customFilter/radioGroup.js +64 -0
- package/es/CkFilter/filter.js +153 -0
- package/es/CkFilter/icon_placeholder.png +0 -0
- package/es/CkFilter/index.js +13 -0
- package/es/CkFilter/style/index.js +3 -0
- package/es/CkFilter/style/style.css +1084 -0
- package/es/CkFilter/utils.js +65 -0
- package/es/CustomTableOption/columnsSort.d.ts +4 -0
- package/es/CustomTableOption/columnsSort.js +317 -0
- package/es/CustomTableOption/filterSort.d.ts +4 -0
- package/es/CustomTableOption/filterSort.js +193 -0
- package/es/CustomTableOption/index.d.ts +12 -0
- package/es/CustomTableOption/index.js +122 -0
- package/es/CustomTableOption/style/index.css +548 -0
- package/es/CustomTableOption/style/index.d.ts +1 -0
- package/es/CustomTableOption/style/index.js +1 -0
- package/es/CustomerService/assets/question01.png +0 -0
- package/es/CustomerService/assets/send.png +0 -0
- package/es/CustomerService/assets/service.png +0 -0
- package/es/CustomerService/assets/shuoming01.png +0 -0
- package/es/CustomerService/assets/shuoming02.png +0 -0
- package/es/CustomerService/components/question.js +120 -0
- package/es/CustomerService/index.js +291 -0
- package/es/CustomerService/style/index.js +3 -0
- package/es/CustomerService/style/style.css +758 -0
- package/es/Drawer/index.d.ts +10 -0
- package/es/Drawer/index.js +42 -0
- package/es/Drawer/style/index.css +512 -0
- package/es/Drawer/style/index.d.ts +1 -0
- package/es/Drawer/style/index.js +1 -0
- package/es/Dropdown/index.d.ts +14 -0
- package/es/Dropdown/index.js +113 -0
- package/es/Dropdown/style/index.css +567 -0
- package/es/Dropdown/style/index.d.ts +1 -0
- package/es/Dropdown/style/index.js +1 -0
- package/es/EditTable/EditTable.js +588 -0
- package/es/EditTable/index.js +13 -0
- package/es/EditTable/style/index.js +3 -0
- package/es/EditTable/style/style.css +521 -0
- package/es/Empty/index.d.ts +7 -0
- package/es/Empty/index.js +3 -0
- package/es/Empty/style/index.css +505 -0
- package/es/Empty/style/index.d.ts +1 -0
- package/es/Empty/style/index.js +1 -0
- package/es/EnlargeImg/index.js +109 -0
- package/es/EnlargeImg/style/index.js +3 -0
- package/es/EnlargeImg/style/style.css +4 -0
- package/es/Filter/Popover.js +199 -0
- package/es/Filter/baseFilter/Popover.js +214 -0
- package/es/Filter/baseFilter/ToggleFilter.js +112 -0
- package/es/Filter/baseFilter/index.js +100 -0
- package/es/Filter/complex/ComplexFilter.js +149 -0
- package/es/Filter/complex/ComplexItem.js +157 -0
- package/es/Filter/components/Checkbox.js +94 -0
- package/es/Filter/components/Date.js +87 -0
- package/es/Filter/components/Input.js +63 -0
- package/es/Filter/components/Select.js +89 -0
- package/es/Filter/components/Tree.js +64 -0
- package/es/Filter/components/header.js +60 -0
- package/es/Filter/components/index.js +47 -0
- package/es/Filter/context.js +15 -0
- package/es/Filter/edit/editFilter.js +277 -0
- package/es/Filter/index.js +174 -0
- package/es/Filter/popContext.js +15 -0
- package/es/Filter/remember.js +137 -0
- package/es/Filter/style/index.js +3 -0
- package/es/Filter/style/style.css +776 -0
- package/es/Icon/index.js +20 -0
- package/es/Icon/style/index.js +1 -0
- package/es/Icon/style/style.css +0 -0
- package/es/IconFont/index.js +15 -0
- package/es/IconFont/style/index.js +1 -0
- package/es/IconFont/style/style.css +0 -0
- package/es/IconSelect/iconJson.json +2935 -0
- package/es/IconSelect/index.js +115 -0
- package/es/IconSelect/style/index.js +3 -0
- package/es/IconSelect/style/style.css +25 -0
- package/es/Image/index.d.ts +2 -0
- package/es/Image/index.js +3 -0
- package/es/Image/style/index.css +505 -0
- package/es/Image/style/index.d.ts +1 -0
- package/es/Image/style/index.js +1 -0
- package/es/Input/index.js +74 -0
- package/es/Input/style/index.js +3 -0
- package/es/Input/style/style.css +738 -0
- package/es/InputNumber/index.d.ts +11 -0
- package/es/InputNumber/index.js +43 -0
- package/es/InputNumber/style/index.css +540 -0
- package/es/InputNumber/style/index.d.ts +1 -0
- package/es/InputNumber/style/index.js +1 -0
- package/es/LeftTable/assets/imgTest.jpg +0 -0
- package/es/LeftTable/index.js +118 -0
- package/es/LeftTable/style/index.js +3 -0
- package/es/LeftTable/style/style.css +617 -0
- package/es/LmTable/ImgList/body.js +111 -0
- package/es/LmTable/ImgList/cardCell.js +192 -0
- package/es/LmTable/ImgList/context.js +12 -0
- package/es/LmTable/ImgList/empty.js +24 -0
- package/es/LmTable/ImgList/footer.js +59 -0
- package/es/LmTable/ImgList/imgCell.js +175 -0
- package/es/LmTable/ImgList/imgTable.js +110 -0
- package/es/LmTable/ImgList/index.js +13 -0
- package/es/LmTable/Table.js +425 -0
- package/es/LmTable/VList.js +594 -0
- package/es/LmTable/autosize.js +170 -0
- package/es/LmTable/context.js +12 -0
- package/es/LmTable/detectElementResize.js +225 -0
- package/es/LmTable/index.js +19 -0
- package/es/LmTable/resetConfig.js +39 -0
- package/es/LmTable/style/index.js +3 -0
- package/es/LmTable/style/style.css +1377 -0
- package/es/LoadingPage/index.js +33 -0
- package/es/LoadingPage/style/index.js +1 -0
- package/es/LoadingPage/style/style.css +0 -0
- package/es/Menu/index.d.ts +7 -0
- package/es/Menu/index.js +3 -0
- package/es/Menu/style/index.css +505 -0
- package/es/Menu/style/index.d.ts +1 -0
- package/es/Menu/style/index.js +1 -0
- package/es/Modal/index.d.ts +12 -0
- package/es/Modal/index.js +94 -0
- package/es/Modal/style/index.css +540 -0
- package/es/Modal/style/index.d.ts +1 -0
- package/es/Modal/style/index.js +1 -0
- package/es/Notification/index.d.ts +7 -0
- package/es/Notification/index.js +10 -0
- package/es/Notification/style/index.css +508 -0
- package/es/Notification/style/index.d.ts +1 -0
- package/es/Notification/style/index.js +1 -0
- package/es/OldModal/add.js +68 -0
- package/es/OldModal/confirm.js +88 -0
- package/es/OldModal/edit.js +44 -0
- package/es/OldModal/exportModal.js +300 -0
- package/es/OldModal/index.js +24 -0
- package/es/OldModal/style/index.js +3 -0
- package/es/OldModal/style/style.css +119 -0
- package/es/Pagination/index.d.ts +7 -0
- package/es/Pagination/index.js +37 -0
- package/es/Pagination/style/index.css +554 -0
- package/es/Pagination/style/index.d.ts +1 -0
- package/es/Pagination/style/index.js +1 -0
- package/es/PopTable/BseTable.js +113 -0
- package/es/PopTable/index.js +151 -0
- package/es/PopTable/style/index.js +3 -0
- package/es/PopTable/style/style.css +715 -0
- package/es/ProTable/ImgList/body.js +111 -0
- package/es/ProTable/ImgList/cardCell.js +192 -0
- package/es/ProTable/ImgList/context.js +12 -0
- package/es/ProTable/ImgList/empty.js +24 -0
- package/es/ProTable/ImgList/footer.js +59 -0
- package/es/ProTable/ImgList/imgCell.js +181 -0
- package/es/ProTable/ImgList/imgTable.js +110 -0
- package/es/ProTable/ImgList/index.js +13 -0
- package/es/ProTable/Table.js +335 -0
- package/es/ProTable/VList.js +594 -0
- package/es/ProTable/autosize.js +170 -0
- package/es/ProTable/context.js +12 -0
- package/es/ProTable/detectElementResize.js +225 -0
- package/es/ProTable/index.js +19 -0
- package/es/ProTable/resetConfig.js +39 -0
- package/es/ProTable/style/index.js +3 -0
- package/es/ProTable/style/style.css +1079 -0
- package/es/Radio/index.js +50 -0
- package/es/Radio/style/index.js +3 -0
- package/es/Radio/style/style.css +138 -0
- package/es/Select/index.d.ts +18 -0
- package/es/Select/index.js +39 -0
- package/es/Select/style/index.css +517 -0
- package/es/Select/style/index.d.ts +1 -0
- package/es/Select/style/index.js +1 -0
- package/es/Space/index.d.ts +4 -0
- package/es/Space/index.js +3 -0
- package/es/Space/style/index.css +505 -0
- package/es/Space/style/index.d.ts +1 -0
- package/es/Space/style/index.js +1 -0
- package/es/Switch/index.d.ts +2 -0
- package/es/Switch/index.js +3 -0
- package/es/Switch/style/index.css +505 -0
- package/es/Switch/style/index.d.ts +1 -0
- package/es/Switch/style/index.js +1 -0
- package/es/TabBar/index.d.ts +12 -0
- package/es/TabBar/index.js +33 -0
- package/es/TabBar/style/index.d.ts +1 -0
- package/es/TabBar/style/index.js +1 -0
- package/es/TabBar/style/style.css +86 -0
- package/es/Table/index.d.ts +2 -0
- package/es/Table/index.js +3 -0
- package/es/Table/style/index.css +505 -0
- package/es/Table/style/index.d.ts +1 -0
- package/es/Table/style/index.js +1 -0
- package/es/TableRender/index.js +15 -0
- package/es/TableRender/state.js +72 -0
- package/es/TableRender/style/index.js +3 -0
- package/es/TableRender/style/style.css +0 -0
- package/es/Tabs/index.d.ts +12 -0
- package/es/Tabs/index.js +33 -0
- package/es/Tabs/style/index.css +511 -0
- package/es/Tabs/style/index.d.ts +1 -0
- package/es/Tabs/style/index.js +1 -0
- package/es/Tag/index.d.ts +12 -0
- package/es/Tag/index.js +36 -0
- package/es/Tag/style/index.css +566 -0
- package/es/Tag/style/index.d.ts +1 -0
- package/es/Tag/style/index.js +1 -0
- package/es/Tree/index.d.ts +12 -0
- package/es/Tree/index.js +32 -0
- package/es/Tree/style/index.css +517 -0
- package/es/Tree/style/index.d.ts +1 -0
- package/es/Tree/style/index.js +1 -0
- package/es/UploadOss/index.js +18 -0
- package/es/UploadOss/style/index.js +3 -0
- package/es/UploadOss/style/style.css +121 -0
- package/es/UploadOss/uploadBtn.js +141 -0
- package/es/UploadOss/uploadImg.js +282 -0
- package/es/VirtualList/index.js +84 -0
- package/es/VirtualList/style/index.js +3 -0
- package/es/VirtualList/style/style.css +0 -0
- package/es/index.js +343 -0
- package/es/message/index.d.ts +7 -0
- package/es/message/index.js +12 -0
- package/es/message/style/index.css +509 -0
- package/es/message/style/index.d.ts +1 -0
- package/es/message/style/index.js +1 -0
- package/es/services/newRequest.js +201 -0
- package/es/services/utils.js +72 -0
- package/es/styles/globalClass.css +63 -0
- package/es/styles/icon.css +15 -0
- package/es/styles/main.css +505 -0
- package/es/styles/resetAntd.css +83 -0
- package/es/styles/them.css +0 -0
- package/lib/Button/index.d.ts +3 -0
- package/lib/Button/index.js +56 -0
- package/lib/Button/style/index.d.ts +1 -0
- package/lib/Button/style/index.js +3 -0
- package/lib/Button/style/style.css +110 -0
- package/lib/ButtonTags/style/index.js +3 -0
- package/lib/ButtonTags/style/style.css +577 -0
- package/lib/Card/index.d.ts +2 -0
- package/lib/Card/index.js +29 -0
- package/lib/Card/style/index.css +505 -0
- package/lib/Card/style/index.d.ts +1 -0
- package/lib/Card/style/index.js +3 -0
- package/lib/Checkbox/style/index.js +3 -0
- package/lib/Checkbox/style/style.css +128 -0
- package/lib/CkFilter/baseFilter/NestedFilter.js +137 -0
- package/lib/CkFilter/baseFilter/filterMenu.js +222 -0
- package/lib/CkFilter/baseFilter/index.js +92 -0
- package/lib/CkFilter/baseFilter/moreFilters.js +237 -0
- package/lib/CkFilter/complexFilter/drawer.js +379 -0
- package/lib/CkFilter/complexFilter/index.js +69 -0
- package/lib/CkFilter/components/CascaderFilter.js +132 -0
- package/lib/CkFilter/components/CheckboxTags.js +53 -0
- package/lib/CkFilter/components/Controls.js +53 -0
- package/lib/CkFilter/components/CustomModal.js +230 -0
- package/lib/CkFilter/components/DragBox/DndContainer.js +49 -0
- package/lib/CkFilter/components/DragBox/index.js +63 -0
- package/lib/CkFilter/components/DragBox/sortableBox.js +24 -0
- package/lib/CkFilter/components/DragBox/sortableItem.js +111 -0
- package/lib/CkFilter/components/Nested.js +90 -0
- package/lib/CkFilter/components/filterTypes.js +815 -0
- package/lib/CkFilter/components/modal.js +297 -0
- package/lib/CkFilter/components/modalBack.js +261 -0
- package/lib/CkFilter/customFilter/drawer.js +395 -0
- package/lib/CkFilter/customFilter/index.js +129 -0
- package/lib/CkFilter/customFilter/radioGroup.js +64 -0
- package/lib/CkFilter/style/index.js +3 -0
- package/lib/CkFilter/style/style.css +1084 -0
- package/lib/CustomTableOption/columnsSort.d.ts +4 -0
- package/lib/CustomTableOption/columnsSort.js +336 -0
- package/lib/CustomTableOption/filterSort.d.ts +4 -0
- package/lib/CustomTableOption/filterSort.js +213 -0
- package/lib/CustomTableOption/index.d.ts +12 -0
- package/lib/CustomTableOption/index.js +140 -0
- package/lib/CustomTableOption/style/index.css +548 -0
- package/lib/CustomTableOption/style/index.d.ts +1 -0
- package/lib/CustomTableOption/style/index.js +3 -0
- package/lib/CustomerService/assets/question01.png +0 -0
- package/lib/CustomerService/assets/send.png +0 -0
- package/lib/CustomerService/assets/service.png +0 -0
- package/lib/CustomerService/assets/shuoming01.png +0 -0
- package/lib/CustomerService/assets/shuoming02.png +0 -0
- package/lib/CustomerService/components/question.js +120 -0
- package/lib/CustomerService/style/index.js +3 -0
- package/lib/CustomerService/style/style.css +758 -0
- package/lib/Drawer/index.d.ts +10 -0
- package/lib/Drawer/index.js +55 -0
- package/lib/Drawer/style/index.css +512 -0
- package/lib/Drawer/style/index.d.ts +1 -0
- package/lib/Drawer/style/index.js +3 -0
- package/lib/Dropdown/index.d.ts +14 -0
- package/lib/Dropdown/index.js +129 -0
- package/lib/Dropdown/style/index.css +567 -0
- package/lib/Dropdown/style/index.d.ts +1 -0
- package/lib/Dropdown/style/index.js +3 -0
- package/lib/EditTable/style/index.js +3 -0
- package/lib/EditTable/style/style.css +521 -0
- package/lib/Empty/index.d.ts +7 -0
- package/lib/Empty/index.js +15 -0
- package/lib/Empty/style/index.css +505 -0
- package/lib/Empty/style/index.d.ts +1 -0
- package/lib/Empty/style/index.js +3 -0
- package/lib/EnlargeImg/style/index.js +3 -0
- package/lib/EnlargeImg/style/style.css +4 -0
- package/lib/Filter/baseFilter/Popover.js +214 -0
- package/lib/Filter/baseFilter/ToggleFilter.js +112 -0
- package/lib/Filter/baseFilter/index.js +100 -0
- package/lib/Filter/complex/ComplexFilter.js +149 -0
- package/lib/Filter/complex/ComplexItem.js +157 -0
- package/lib/Filter/components/Checkbox.js +94 -0
- package/lib/Filter/components/Date.js +87 -0
- package/lib/Filter/components/Input.js +63 -0
- package/lib/Filter/components/Select.js +89 -0
- package/lib/Filter/components/Tree.js +64 -0
- package/lib/Filter/components/header.js +60 -0
- package/lib/Filter/components/index.js +47 -0
- package/lib/Filter/edit/editFilter.js +277 -0
- package/lib/Filter/style/index.js +3 -0
- package/lib/Filter/style/style.css +776 -0
- package/lib/Icon/style/index.js +1 -0
- package/lib/Icon/style/style.css +0 -0
- package/lib/IconFont/style/index.js +1 -0
- package/lib/IconFont/style/style.css +0 -0
- package/lib/IconSelect/style/index.js +3 -0
- package/lib/IconSelect/style/style.css +25 -0
- package/lib/Image/index.d.ts +2 -0
- package/lib/Image/index.js +15 -0
- package/lib/Image/style/index.css +505 -0
- package/lib/Image/style/index.d.ts +1 -0
- package/lib/Image/style/index.js +3 -0
- package/lib/Input/style/index.js +3 -0
- package/lib/Input/style/style.css +738 -0
- package/lib/InputNumber/index.d.ts +11 -0
- package/lib/InputNumber/index.js +56 -0
- package/lib/InputNumber/style/index.css +540 -0
- package/lib/InputNumber/style/index.d.ts +1 -0
- package/lib/InputNumber/style/index.js +3 -0
- package/lib/LeftTable/assets/imgTest.jpg +0 -0
- package/lib/LeftTable/style/index.js +3 -0
- package/lib/LeftTable/style/style.css +617 -0
- package/lib/LmTable/ImgList/body.js +111 -0
- package/lib/LmTable/ImgList/cardCell.js +192 -0
- package/lib/LmTable/ImgList/context.js +12 -0
- package/lib/LmTable/ImgList/empty.js +24 -0
- package/lib/LmTable/ImgList/footer.js +59 -0
- package/lib/LmTable/ImgList/imgCell.js +175 -0
- package/lib/LmTable/ImgList/imgTable.js +110 -0
- package/lib/LmTable/ImgList/index.js +13 -0
- package/lib/LmTable/Table.js +55 -20
- package/lib/LmTable/style/index.js +3 -0
- package/lib/LmTable/style/style.css +1377 -0
- package/lib/LoadingPage/style/index.js +1 -0
- package/lib/LoadingPage/style/style.css +0 -0
- package/lib/Menu/index.d.ts +7 -0
- package/lib/Menu/index.js +15 -0
- package/lib/Menu/style/index.css +505 -0
- package/lib/Menu/style/index.d.ts +1 -0
- package/lib/Menu/style/index.js +3 -0
- package/lib/Modal/index.d.ts +12 -0
- package/lib/Modal/index.js +108 -0
- package/lib/Modal/style/index.css +540 -0
- package/lib/Modal/style/index.d.ts +1 -0
- package/lib/Modal/style/index.js +3 -0
- package/lib/Notification/index.d.ts +7 -0
- package/lib/Notification/index.js +23 -0
- package/lib/Notification/style/index.css +508 -0
- package/lib/Notification/style/index.d.ts +1 -0
- package/lib/Notification/style/index.js +3 -0
- package/lib/OldModal/style/index.js +3 -0
- package/lib/OldModal/style/style.css +119 -0
- package/lib/Pagination/index.d.ts +7 -0
- package/lib/Pagination/index.js +50 -0
- package/lib/Pagination/style/index.css +554 -0
- package/lib/Pagination/style/index.d.ts +1 -0
- package/lib/Pagination/style/index.js +3 -0
- package/lib/PopTable/style/index.js +3 -0
- package/lib/PopTable/style/style.css +715 -0
- package/lib/ProTable/ImgList/body.js +111 -0
- package/lib/ProTable/ImgList/cardCell.js +192 -0
- package/lib/ProTable/ImgList/context.js +12 -0
- package/lib/ProTable/ImgList/empty.js +24 -0
- package/lib/ProTable/ImgList/footer.js +59 -0
- package/lib/ProTable/ImgList/imgCell.js +181 -0
- package/lib/ProTable/ImgList/imgTable.js +110 -0
- package/lib/ProTable/ImgList/index.js +13 -0
- package/lib/ProTable/style/index.js +3 -0
- package/lib/ProTable/style/style.css +1079 -0
- package/lib/Radio/index.js +50 -0
- package/lib/Radio/style/index.js +3 -0
- package/lib/Radio/style/style.css +138 -0
- package/lib/Select/index.d.ts +18 -0
- package/lib/Select/index.js +54 -0
- package/lib/Select/style/index.css +517 -0
- package/lib/Select/style/index.d.ts +1 -0
- package/lib/Select/style/index.js +3 -0
- package/lib/Space/index.d.ts +4 -0
- package/lib/Space/index.js +15 -0
- package/lib/Space/style/index.css +505 -0
- package/lib/Space/style/index.d.ts +1 -0
- package/lib/Space/style/index.js +3 -0
- package/lib/Switch/index.d.ts +2 -0
- package/lib/Switch/index.js +15 -0
- package/lib/Switch/style/index.css +505 -0
- package/lib/Switch/style/index.d.ts +1 -0
- package/lib/Switch/style/index.js +3 -0
- package/lib/TabBar/index.d.ts +12 -0
- package/lib/TabBar/index.js +45 -0
- package/lib/TabBar/style/index.d.ts +1 -0
- package/lib/TabBar/style/index.js +3 -0
- package/lib/TabBar/style/style.css +86 -0
- package/lib/Table/index.d.ts +2 -0
- package/lib/Table/index.js +15 -0
- package/lib/Table/style/index.css +505 -0
- package/lib/Table/style/index.d.ts +1 -0
- package/lib/Table/style/index.js +3 -0
- package/lib/TableRender/index.js +15 -0
- package/lib/TableRender/state.js +72 -0
- package/lib/TableRender/style/index.js +3 -0
- package/lib/TableRender/style/style.css +0 -0
- package/lib/Tabs/index.d.ts +12 -0
- package/lib/Tabs/index.js +46 -0
- package/lib/Tabs/style/index.css +511 -0
- package/lib/Tabs/style/index.d.ts +1 -0
- package/lib/Tabs/style/index.js +3 -0
- package/lib/Tag/index.d.ts +12 -0
- package/lib/Tag/index.js +52 -0
- package/lib/Tag/style/index.css +566 -0
- package/lib/Tag/style/index.d.ts +1 -0
- package/lib/Tag/style/index.js +3 -0
- package/lib/Tree/index.d.ts +12 -0
- package/lib/Tree/index.js +47 -0
- package/lib/Tree/style/index.css +517 -0
- package/lib/Tree/style/index.d.ts +1 -0
- package/lib/Tree/style/index.js +3 -0
- package/lib/UploadOss/index.js +18 -0
- package/lib/UploadOss/style/index.js +3 -0
- package/lib/UploadOss/style/style.css +121 -0
- package/lib/UploadOss/uploadBtn.js +141 -0
- package/lib/UploadOss/uploadImg.js +282 -0
- package/lib/VirtualList/index.js +84 -0
- package/lib/VirtualList/style/index.js +3 -0
- package/lib/VirtualList/style/style.css +0 -0
- package/lib/index.js +33 -1
- package/lib/message/index.d.ts +7 -0
- package/lib/message/index.js +24 -0
- package/lib/message/style/index.css +509 -0
- package/lib/message/style/index.d.ts +1 -0
- package/lib/message/style/index.js +3 -0
- package/lib/services/newRequest.js +201 -0
- package/lib/services/utils.js +72 -0
- package/lib/styles/globalClass.css +63 -0
- package/lib/styles/icon.css +15 -0
- package/lib/styles/main.css +505 -0
- package/lib/styles/resetAntd.css +83 -0
- package/lib/styles/them.css +0 -0
- package/package.json +1 -1
package/lib/LmTable/Table.js
CHANGED
|
@@ -27,7 +27,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
27
27
|
|
|
28
28
|
var _resetConfig = _interopRequireDefault(require("./resetConfig"));
|
|
29
29
|
|
|
30
|
-
var _excluded = ["dataSource", "autoSize", "columns", "rowClick", "onDoubleClick", "checkConfig", "summary", "pagination", "hiddenPage", "loading", "virtual", "customCheck"];
|
|
30
|
+
var _excluded = ["dataSource", "autoSize", "columns", "rowClick", "onDoubleClick", "checkConfig", "summary", "pagination", "hiddenPage", "loading", "virtual", "customCheck", "rowSelection", "columnsState", "tableRowType"];
|
|
31
31
|
var Summary = _proTable.default.Summary;
|
|
32
32
|
exports.Summary = Summary;
|
|
33
33
|
var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
@@ -44,8 +44,11 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
44
44
|
_props$virtual = props.virtual,
|
|
45
45
|
virtual = _props$virtual === void 0 ? false : _props$virtual,
|
|
46
46
|
customCheck = props.customCheck,
|
|
47
|
+
rowSelection = props.rowSelection,
|
|
48
|
+
columnsState = props.columnsState,
|
|
49
|
+
_props$tableRowType = props.tableRowType,
|
|
50
|
+
tableRowType = _props$tableRowType === void 0 ? 'default' : _props$tableRowType,
|
|
47
51
|
resetProps = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
48
|
-
console.log(virtual, '--virtual', autoSize);
|
|
49
52
|
var _resetProps$rowKey = resetProps.rowKey,
|
|
50
53
|
rowKey = _resetProps$rowKey === void 0 ? 'id' : _resetProps$rowKey;
|
|
51
54
|
|
|
@@ -89,7 +92,9 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
89
92
|
};
|
|
90
93
|
|
|
91
94
|
var resetColumns = (0, _react.useCallback)(function () {
|
|
92
|
-
return useColumns.
|
|
95
|
+
return useColumns.filter(function (item) {
|
|
96
|
+
return item.show !== false;
|
|
97
|
+
}).map(function (col, index) {
|
|
93
98
|
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, col), {}, {
|
|
94
99
|
width: col.width,
|
|
95
100
|
onHeaderCell: function onHeaderCell(column) {
|
|
@@ -112,20 +117,25 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
112
117
|
trigger = _Object$assign.trigger,
|
|
113
118
|
highlight = _Object$assign.highlight;
|
|
114
119
|
|
|
120
|
+
console.log(trigger, highlight, 'rowclick');
|
|
121
|
+
|
|
115
122
|
if (highlight) {
|
|
116
123
|
setActiveKey(record[rowKey]);
|
|
117
124
|
}
|
|
118
125
|
|
|
119
126
|
if (trigger === 'row') {
|
|
120
127
|
var selectedRows = useSelectedRows.selectedRows;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
selectedRows: selectedRows
|
|
128
|
-
|
|
128
|
+
|
|
129
|
+
if (tableRowType === 'select' || tableRowType === 'default' && selectedRows.length) {
|
|
130
|
+
var selectedRowKeys = selectedRows.map(function (v) {
|
|
131
|
+
return v[rowKey];
|
|
132
|
+
});
|
|
133
|
+
var Idx = selectedRowKeys.indexOf(record[rowKey]);
|
|
134
|
+
Idx >= 0 ? selectedRows.splice(Idx, 1) : selectedRows.push(record);
|
|
135
|
+
setSelectedRows({
|
|
136
|
+
selectedRows: selectedRows
|
|
137
|
+
});
|
|
138
|
+
}
|
|
129
139
|
}
|
|
130
140
|
|
|
131
141
|
rowClick === null || rowClick === void 0 ? void 0 : rowClick(record);
|
|
@@ -139,6 +149,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
139
149
|
|
|
140
150
|
|
|
141
151
|
var config = (0, _react.useMemo)(function () {
|
|
152
|
+
console.log(resetProps, 'resetPropsresetProps');
|
|
142
153
|
return (0, _objectSpread2.default)({
|
|
143
154
|
defaultSize: 'small',
|
|
144
155
|
tableLayout: 'fixed',
|
|
@@ -154,6 +165,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
154
165
|
columnsState: {
|
|
155
166
|
value: columnsStateMap,
|
|
156
167
|
onChange: function onChange(k) {
|
|
168
|
+
console.log(k, 'kkk');
|
|
157
169
|
setColumnsStateMap(k);
|
|
158
170
|
}
|
|
159
171
|
},
|
|
@@ -161,9 +173,9 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
161
173
|
tableAlertRender: false,
|
|
162
174
|
checkConfig: checkConfig,
|
|
163
175
|
// components: vComponents,
|
|
164
|
-
scroll: (0, _objectSpread2.default)({
|
|
176
|
+
scroll: resetProps.autoSizer || resetProps.scroll ? (0, _objectSpread2.default)({
|
|
165
177
|
y: autoSize.height
|
|
166
|
-
},
|
|
178
|
+
}, resetProps.scroll) : null,
|
|
167
179
|
pagination: !hiddenPage && (0, _objectSpread2.default)({
|
|
168
180
|
showSizeChanger: true,
|
|
169
181
|
showQuickJumper: true,
|
|
@@ -171,7 +183,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
171
183
|
return "\u5171 ".concat(total, " \u6761");
|
|
172
184
|
}
|
|
173
185
|
}, pagination),
|
|
174
|
-
rowSelection: {
|
|
186
|
+
rowSelection: rowSelection === false ? null : (0, _objectSpread2.default)({
|
|
175
187
|
fixed: true,
|
|
176
188
|
type: 'checkbox',
|
|
177
189
|
columnWidth: 36,
|
|
@@ -184,7 +196,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
184
196
|
});
|
|
185
197
|
rowClick === null || rowClick === void 0 ? void 0 : rowClick(selectedRows);
|
|
186
198
|
}
|
|
187
|
-
},
|
|
199
|
+
}, rowSelection),
|
|
188
200
|
onRow: function onRow(record) {
|
|
189
201
|
return {
|
|
190
202
|
onClick: function onClick(e) {
|
|
@@ -230,7 +242,7 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
230
242
|
// }, [columns, autoSize.width])
|
|
231
243
|
|
|
232
244
|
(0, _react.useEffect)(function () {
|
|
233
|
-
var obj = {};
|
|
245
|
+
var obj = (0, _objectSpread2.default)({}, columnsState);
|
|
234
246
|
columns === null || columns === void 0 ? void 0 : columns.forEach(function (item) {
|
|
235
247
|
if (item.fixed) {
|
|
236
248
|
obj[item.dataIndex || item.key] = {
|
|
@@ -240,6 +252,10 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
240
252
|
});
|
|
241
253
|
setColumnsStateMap(obj);
|
|
242
254
|
}, []); // useEffect(() => {
|
|
255
|
+
// console.log(props.columnsStateValue, 'v vv')
|
|
256
|
+
// setColumnsStateMap(props.columnsStateValue)
|
|
257
|
+
// }, [props.columnsStateValue])
|
|
258
|
+
// useEffect(() => {
|
|
243
259
|
// rowClick?.()
|
|
244
260
|
// }, [useSelectedRows])
|
|
245
261
|
// 将节点方法给外部使用
|
|
@@ -292,6 +308,27 @@ var ResetTable = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
292
308
|
/** 1: 使用scroll.x y 来控制宽高 默认都是100% */
|
|
293
309
|
|
|
294
310
|
var ResizeSize = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
311
|
+
var _props$autoSizer = props.autoSizer,
|
|
312
|
+
autoSizer = _props$autoSizer === void 0 ? false : _props$autoSizer;
|
|
313
|
+
|
|
314
|
+
if (!autoSizer) {
|
|
315
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
316
|
+
ref: tableWarpRef,
|
|
317
|
+
id: "lm_protable_warp",
|
|
318
|
+
style: {
|
|
319
|
+
width: '100%',
|
|
320
|
+
height: '100%'
|
|
321
|
+
}
|
|
322
|
+
}, /*#__PURE__*/_react.default.createElement(ResetTable, (0, _extends2.default)({
|
|
323
|
+
ref: defaultRef
|
|
324
|
+
}, props, {
|
|
325
|
+
autoSize: {
|
|
326
|
+
height: '100%',
|
|
327
|
+
width: '100%'
|
|
328
|
+
}
|
|
329
|
+
})));
|
|
330
|
+
}
|
|
331
|
+
|
|
295
332
|
var _useState9 = (0, _react.useState)({
|
|
296
333
|
width: '100%',
|
|
297
334
|
height: '100%'
|
|
@@ -305,11 +342,10 @@ var ResizeSize = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
305
342
|
var resizeRef = (0, _react.useRef)(null);
|
|
306
343
|
var resetHeight = (0, _react.useMemo)(function () {
|
|
307
344
|
var height = tableSize.height;
|
|
308
|
-
|
|
309
|
-
var h = height - 48;
|
|
345
|
+
var h = height - 32;
|
|
310
346
|
|
|
311
347
|
if (!props.hiddenPage || props.customCheck) {
|
|
312
|
-
h -=
|
|
348
|
+
h -= 48;
|
|
313
349
|
}
|
|
314
350
|
|
|
315
351
|
if (props.columns.some(function (v) {
|
|
@@ -364,7 +400,6 @@ var ResizeSize = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
364
400
|
_tableWarpRef$current7 = _tableWarpRef$current5.height,
|
|
365
401
|
height = _tableWarpRef$current7 === void 0 ? '100%' : _tableWarpRef$current7;
|
|
366
402
|
|
|
367
|
-
console.log(width, height, '--tableWarpReftableWarpRef', tableWarpRef.current);
|
|
368
403
|
var value = summary ? 48 : 0;
|
|
369
404
|
resizeRef.current = window.addEventListener('resize', handResize);
|
|
370
405
|
setTableSize({
|