linkmore-design 1.0.66 → 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/Approval/handle.d.ts +11 -0
- package/dist/Approval/index.d.ts +1 -21
- package/dist/Approval/type.d.ts +55 -0
- package/dist/Approval/util.d.ts +26 -0
- package/dist/AutoComplete/index.d.ts +2 -1
- package/dist/Calendar/demos/basic.d.ts +2 -0
- package/dist/Calendar/index.d.ts +4 -0
- package/dist/Calendar/style/index.d.ts +1 -0
- package/dist/CardTable/hooks/usePagination.d.ts +1 -1
- package/dist/CardTable/utils.d.ts +2 -2
- package/dist/Carousel/demos/basic.d.ts +2 -0
- package/dist/Carousel/index.d.ts +3 -0
- package/dist/Carousel/style/index.d.ts +1 -0
- package/dist/CkFilter/components/CascaderFilter.d.ts +1 -1
- package/dist/Collapse/demos/basic.d.ts +2 -0
- package/dist/Collapse/index.d.ts +3 -0
- package/dist/Collapse/style/index.d.ts +1 -0
- package/dist/Comment/demos/basic.d.ts +2 -0
- package/dist/Comment/index.d.ts +3 -0
- package/dist/Comment/style/index.d.ts +1 -0
- package/dist/LmFilter/components/CascaderFilter.d.ts +1 -1
- package/dist/LmFilter/components/CheckboxFilter.d.ts +1 -1
- package/dist/LmFilter/components/DateFilter.d.ts +1 -1
- package/dist/LmFilter/components/InputFilter.d.ts +2 -2
- package/dist/LmFilter/components/SelectFilter.d.ts +1 -1
- 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 +2 -1
- package/dist/LmTable/components/DndContainer.d.ts +5 -0
- package/dist/LmTable/components/sortableBoxCol.d.ts +5 -0
- package/dist/LmTable/components/sortableItemCol.d.ts +1 -0
- package/dist/LmTable/demos/musort.d.ts +2 -0
- package/dist/LmTable/demos/tableColSort.d.ts +2 -0
- package/dist/LmUpload/LmUpload.d.ts +6 -0
- package/dist/LmUpload/UploadList/ItemPicture.d.ts +5 -0
- package/dist/LmUpload/UploadList/ItemPictureCard.d.ts +5 -0
- package/dist/LmUpload/UploadList/ItemText.d.ts +5 -0
- package/dist/LmUpload/UploadList/RenderItem.d.ts +2 -0
- package/dist/LmUpload/UploadList/index.d.ts +4 -0
- package/dist/LmUpload/body/Progress.d.ts +4 -0
- package/dist/LmUpload/body/UploadCore.d.ts +4 -0
- package/dist/LmUpload/body/UploadPicture.d.ts +4 -0
- package/dist/LmUpload/components/card.d.ts +2 -0
- package/dist/LmUpload/demos/basic.d.ts +2 -0
- 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 +18 -0
- package/dist/LmUpload/index.d.ts +2 -0
- package/dist/LmUpload/style/index.d.ts +1 -0
- package/dist/LmUpload/utils.d.ts +5 -0
- package/dist/LmUpload/view/index.d.ts +4 -0
- package/dist/LmUpload/wrapper/Upload.d.ts +4 -0
- package/dist/LmUpload/wrapper/UploadContainer.d.ts +5 -0
- package/dist/LmUpload/wrapper/UploadRoot.d.ts +3 -0
- package/dist/LmUpload/wrapper/UploadWrapper.d.ts +4 -0
- package/dist/LmUpload/wrapper/reducer.d.ts +8 -0
- package/dist/Modal/index.d.ts +1 -1
- package/dist/Popconfirm/demos/basic.d.ts +2 -0
- package/dist/Popconfirm/index.d.ts +3 -0
- package/dist/Popconfirm/style/index.d.ts +1 -0
- package/dist/Progress/demos/basic.d.ts +2 -0
- package/dist/Progress/demos/circle.d.ts +2 -0
- package/dist/Progress/demos/dynamic.d.ts +2 -0
- package/dist/Progress/demos/small.d.ts +2 -0
- package/dist/Progress/index.d.ts +3 -0
- package/dist/Progress/style/index.d.ts +1 -0
- package/dist/Segmented/demos/basic.d.ts +2 -0
- package/dist/Segmented/index.d.ts +3 -0
- package/dist/Segmented/style/index.d.ts +1 -0
- package/dist/Slider/demos/basic.d.ts +2 -0
- package/dist/Slider/index.d.ts +2 -0
- package/dist/Slider/style/index.d.ts +1 -0
- package/dist/Statistic/demos/basic.d.ts +2 -0
- package/dist/Statistic/index.d.ts +3 -0
- package/dist/Statistic/style/index.d.ts +1 -0
- package/dist/TimePicker/demos/basic.d.ts +3 -0
- package/dist/TimePicker/index.d.ts +3 -0
- package/dist/TimePicker/style/index.d.ts +1 -0
- package/dist/Timeline/demos/basic.d.ts +2 -0
- package/dist/Timeline/index.d.ts +3 -0
- package/dist/Timeline/style/index.d.ts +1 -0
- package/dist/Transfer/demos/basic.d.ts +2 -0
- package/dist/Transfer/index.d.ts +3 -0
- package/dist/Transfer/style/index.d.ts +1 -0
- package/dist/TreeSelect/demos/basic.d.ts +2 -0
- package/dist/TreeSelect/index.d.ts +3 -0
- package/dist/TreeSelect/style/index.d.ts +1 -0
- package/dist/hooks/useFullscreen/demos/useInModal.d.ts +2 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.umd.js +3891 -1392
- package/dist/index.umd.min.js +6 -6
- package/es/Affix/style/index.css +6 -0
- package/es/Alert/index.js +27 -5
- package/es/Alert/style/index.css +7 -1
- package/es/Approval/handle.d.ts +11 -0
- package/es/Approval/handle.js +138 -0
- package/es/Approval/index.d.ts +1 -21
- package/es/Approval/index.js +341 -90
- package/es/Approval/style/index.css +131 -13
- package/es/Approval/type.d.ts +55 -0
- package/es/Approval/type.js +97 -0
- package/es/Approval/util.d.ts +26 -0
- package/es/Approval/util.js +132 -0
- package/es/AutoComplete/index.d.ts +2 -1
- 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/index.d.ts +4 -0
- package/es/Calendar/index.js +3 -0
- package/es/Calendar/style/index.css +511 -0
- package/es/Calendar/style/index.d.ts +1 -0
- package/es/Calendar/style/index.js +1 -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/index.d.ts +3 -0
- package/es/Carousel/index.js +3 -0
- package/es/Carousel/style/index.css +511 -0
- package/es/Carousel/style/index.d.ts +1 -0
- package/es/Carousel/style/index.js +1 -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/index.d.ts +3 -0
- package/es/Collapse/index.js +3 -0
- package/es/Collapse/style/index.css +511 -0
- package/es/Collapse/style/index.d.ts +1 -0
- package/es/Collapse/style/index.js +1 -0
- package/es/Comment/index.d.ts +3 -0
- package/es/Comment/index.js +3 -0
- package/es/Comment/style/index.css +511 -0
- package/es/Comment/style/index.d.ts +1 -0
- package/es/Comment/style/index.js +1 -0
- package/es/CustomTableOption/index.js +6 -6
- 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/DragHandle.js +2 -1
- package/es/LmEditTable/EditTable.js +90 -43
- package/es/LmEditTable/style/index.css +18 -0
- package/es/LmFilter/LmFilter.js +2 -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/index.js +2 -1
- package/es/LmFilter/customFilter/saveModal.js +5 -7
- package/es/LmFilter/customFilter/valueDrawer.js +2 -5
- package/es/LmFilter/filterFns/index.js +5 -7
- 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/Filter.js +3 -2
- package/es/LmFilter/wrapper/FilterRoot.js +0 -2
- package/es/LmSelect/NormalSelect.js +5 -1
- package/es/LmSelect/style/index.css +8 -1
- package/es/LmSelect/useCheckboxOptions.d.ts +2 -1
- package/es/LmSelect/useCheckboxOptions.js +6 -4
- package/es/LmTable/Table.js +88 -46
- package/es/LmTable/autosize.js +0 -3
- package/es/LmTable/components/DndContainer.d.ts +5 -0
- package/es/LmTable/components/DndContainer.js +35 -0
- package/es/LmTable/components/sortableBoxCol.js +24 -0
- package/es/LmTable/components/sortableItemCol.js +54 -0
- package/es/LmTable/style/index.css +6 -0
- package/es/LmUpload/LmUpload.d.ts +6 -0
- package/es/LmUpload/LmUpload.js +81 -0
- package/es/LmUpload/UploadList/ItemPicture.d.ts +5 -0
- package/es/LmUpload/UploadList/ItemPicture.js +31 -0
- package/es/LmUpload/UploadList/ItemPictureCard.d.ts +5 -0
- package/es/LmUpload/UploadList/ItemPictureCard.js +135 -0
- package/es/LmUpload/UploadList/ItemText.d.ts +5 -0
- package/es/LmUpload/UploadList/ItemText.js +30 -0
- package/es/LmUpload/UploadList/RenderItem.d.ts +2 -0
- package/es/LmUpload/UploadList/RenderItem.js +31 -0
- package/es/LmUpload/UploadList/index.d.ts +4 -0
- package/es/LmUpload/UploadList/index.js +27 -0
- package/es/LmUpload/body/Progress.d.ts +4 -0
- package/es/LmUpload/body/Progress.js +16 -0
- package/es/LmUpload/body/UploadCore.d.ts +4 -0
- package/es/LmUpload/body/UploadCore.js +57 -0
- package/es/LmUpload/body/UploadPicture.d.ts +4 -0
- package/es/LmUpload/body/UploadPicture.js +35 -0
- package/es/LmUpload/components/card.d.ts +2 -0
- package/es/LmUpload/components/card.js +9 -0
- package/es/LmUpload/fns/index.d.ts +18 -0
- package/es/LmUpload/fns/index.js +229 -0
- package/es/LmUpload/index.d.ts +2 -0
- package/es/LmUpload/index.js +2 -0
- package/es/LmUpload/style/index.css +205 -0
- package/es/LmUpload/style/index.js +3 -0
- package/es/LmUpload/utils.d.ts +5 -0
- package/es/LmUpload/utils.js +33 -0
- package/es/LmUpload/view/index.d.ts +4 -0
- package/es/LmUpload/view/index.js +10 -0
- package/es/LmUpload/wrapper/Upload.d.ts +4 -0
- package/es/LmUpload/wrapper/Upload.js +12 -0
- package/es/LmUpload/wrapper/UploadContainer.d.ts +5 -0
- package/es/LmUpload/wrapper/UploadContainer.js +28 -0
- package/es/LmUpload/wrapper/UploadRoot.d.ts +3 -0
- package/es/LmUpload/wrapper/UploadRoot.js +68 -0
- package/es/LmUpload/wrapper/UploadWrapper.d.ts +4 -0
- package/es/LmUpload/wrapper/UploadWrapper.js +17 -0
- package/es/LmUpload/wrapper/reducer.d.ts +8 -0
- package/es/LmUpload/wrapper/reducer.js +33 -0
- package/es/Mentions/style/index.css +6 -0
- package/es/Menu/style/index.css +6 -0
- package/es/Modal/index.d.ts +1 -1
- 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/index.d.ts +3 -0
- package/es/Popconfirm/index.js +3 -0
- package/es/Popconfirm/style/index.css +511 -0
- package/es/Popconfirm/style/index.d.ts +1 -0
- package/es/Popconfirm/style/index.js +1 -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/index.d.ts +3 -0
- package/es/Progress/index.js +3 -0
- package/es/Progress/style/index.css +511 -0
- package/es/Progress/style/index.d.ts +1 -0
- package/es/Progress/style/index.js +1 -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/index.d.ts +3 -0
- package/es/Segmented/index.js +3 -0
- package/es/Segmented/style/index.css +511 -0
- package/es/Segmented/style/index.d.ts +1 -0
- package/es/Segmented/style/index.js +1 -0
- package/es/Select/style/index.css +6 -0
- package/es/Slider/index.d.ts +2 -0
- package/es/Slider/index.js +3 -0
- package/es/Slider/style/index.css +511 -0
- package/es/Slider/style/index.d.ts +1 -0
- package/es/Slider/style/index.js +1 -0
- package/es/Space/style/index.css +6 -0
- package/es/Spin/style/index.css +6 -0
- package/es/Statistic/index.d.ts +3 -0
- package/es/Statistic/index.js +3 -0
- package/es/Statistic/style/index.css +511 -0
- package/es/Statistic/style/index.d.ts +1 -0
- package/es/Statistic/style/index.js +1 -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/index.d.ts +3 -0
- package/es/TimePicker/index.js +3 -0
- package/es/TimePicker/style/index.css +511 -0
- package/es/TimePicker/style/index.d.ts +1 -0
- package/es/TimePicker/style/index.js +1 -0
- package/es/Timeline/index.d.ts +3 -0
- package/es/Timeline/index.js +3 -0
- package/es/Timeline/style/index.css +511 -0
- package/es/Timeline/style/index.d.ts +1 -0
- package/es/Timeline/style/index.js +1 -0
- package/es/Tooltip/style/index.css +6 -0
- package/es/Transfer/index.d.ts +3 -0
- package/es/Transfer/index.js +3 -0
- package/es/Transfer/style/index.css +511 -0
- package/es/Transfer/style/index.d.ts +1 -0
- package/es/Transfer/style/index.js +1 -0
- package/es/Tree/style/index.css +6 -0
- package/es/TreeSelect/index.d.ts +3 -0
- package/es/TreeSelect/index.js +3 -0
- package/es/TreeSelect/style/index.css +511 -0
- package/es/TreeSelect/style/index.d.ts +1 -0
- package/es/TreeSelect/style/index.js +1 -0
- package/es/Typography/style/index.css +6 -0
- package/es/Upload/style/index.css +6 -0
- package/es/hooks/useFullscreen/index.js +6 -8
- package/es/index.d.ts +18 -0
- package/es/index.js +10 -1
- 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/index.js +27 -5
- package/lib/Alert/style/index.css +7 -1
- package/lib/Approval/handle.d.ts +11 -0
- package/lib/Approval/handle.js +160 -0
- package/lib/Approval/index.d.ts +1 -21
- package/lib/Approval/index.js +347 -89
- package/lib/Approval/style/index.css +131 -13
- package/lib/Approval/type.d.ts +55 -0
- package/lib/Approval/type.js +105 -0
- package/lib/Approval/util.d.ts +26 -0
- package/lib/Approval/util.js +148 -0
- package/lib/AutoComplete/index.d.ts +2 -1
- 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/index.d.ts +4 -0
- package/lib/Calendar/index.js +15 -0
- package/lib/Calendar/style/index.css +511 -0
- package/lib/Calendar/style/index.d.ts +1 -0
- package/lib/Calendar/style/index.js +3 -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/index.d.ts +3 -0
- package/lib/Carousel/index.js +15 -0
- package/lib/Carousel/style/index.css +511 -0
- package/lib/Carousel/style/index.d.ts +1 -0
- package/lib/Carousel/style/index.js +3 -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/index.d.ts +3 -0
- package/lib/Collapse/index.js +15 -0
- package/lib/Collapse/style/index.css +511 -0
- package/lib/Collapse/style/index.d.ts +1 -0
- package/lib/Collapse/style/index.js +3 -0
- package/lib/Comment/index.d.ts +3 -0
- package/lib/Comment/index.js +15 -0
- package/lib/Comment/style/index.css +511 -0
- package/lib/Comment/style/index.d.ts +1 -0
- package/lib/Comment/style/index.js +3 -0
- package/lib/CustomTableOption/index.js +6 -6
- 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/DragHandle.js +2 -1
- package/lib/LmEditTable/EditTable.js +90 -43
- package/lib/LmEditTable/style/index.css +18 -0
- package/lib/LmFilter/LmFilter.js +2 -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/index.js +2 -1
- package/lib/LmFilter/customFilter/saveModal.js +5 -7
- package/lib/LmFilter/customFilter/valueDrawer.js +2 -5
- package/lib/LmFilter/filterFns/index.js +5 -7
- 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/Filter.js +3 -2
- package/lib/LmFilter/wrapper/FilterRoot.js +0 -2
- package/lib/LmSelect/NormalSelect.js +5 -1
- package/lib/LmSelect/style/index.css +8 -1
- package/lib/LmSelect/useCheckboxOptions.d.ts +2 -1
- package/lib/LmSelect/useCheckboxOptions.js +9 -6
- package/lib/LmTable/Table.js +88 -46
- package/lib/LmTable/autosize.js +0 -3
- package/lib/LmTable/components/DndContainer.d.ts +5 -0
- package/lib/LmTable/components/DndContainer.js +49 -0
- package/lib/LmTable/components/sortableBoxCol.js +24 -0
- package/lib/LmTable/components/sortableItemCol.js +54 -0
- package/lib/LmTable/style/index.css +6 -0
- package/lib/LmUpload/LmUpload.d.ts +6 -0
- package/lib/LmUpload/LmUpload.js +95 -0
- package/lib/LmUpload/UploadList/ItemPicture.d.ts +5 -0
- package/lib/LmUpload/UploadList/ItemPicture.js +43 -0
- package/lib/LmUpload/UploadList/ItemPictureCard.d.ts +5 -0
- package/lib/LmUpload/UploadList/ItemPictureCard.js +150 -0
- package/lib/LmUpload/UploadList/ItemText.d.ts +5 -0
- package/lib/LmUpload/UploadList/ItemText.js +41 -0
- package/lib/LmUpload/UploadList/RenderItem.d.ts +2 -0
- package/lib/LmUpload/UploadList/RenderItem.js +44 -0
- package/lib/LmUpload/UploadList/index.d.ts +4 -0
- package/lib/LmUpload/UploadList/index.js +41 -0
- package/lib/LmUpload/body/Progress.d.ts +4 -0
- package/lib/LmUpload/body/Progress.js +26 -0
- package/lib/LmUpload/body/UploadCore.d.ts +4 -0
- package/lib/LmUpload/body/UploadCore.js +73 -0
- package/lib/LmUpload/body/UploadPicture.d.ts +4 -0
- package/lib/LmUpload/body/UploadPicture.js +50 -0
- package/lib/LmUpload/components/card.d.ts +2 -0
- package/lib/LmUpload/components/card.js +19 -0
- package/lib/LmUpload/fns/index.d.ts +18 -0
- package/lib/LmUpload/fns/index.js +242 -0
- package/lib/LmUpload/index.d.ts +2 -0
- package/lib/LmUpload/index.js +13 -0
- package/lib/LmUpload/style/index.css +205 -0
- package/lib/LmUpload/style/index.js +3 -0
- package/lib/LmUpload/utils.d.ts +5 -0
- package/lib/LmUpload/utils.js +54 -0
- package/lib/LmUpload/view/index.d.ts +4 -0
- package/lib/LmUpload/view/index.js +20 -0
- package/lib/LmUpload/wrapper/Upload.d.ts +4 -0
- package/lib/LmUpload/wrapper/Upload.js +25 -0
- package/lib/LmUpload/wrapper/UploadContainer.d.ts +5 -0
- package/lib/LmUpload/wrapper/UploadContainer.js +43 -0
- package/lib/LmUpload/wrapper/UploadRoot.d.ts +3 -0
- package/lib/LmUpload/wrapper/UploadRoot.js +85 -0
- package/lib/LmUpload/wrapper/UploadWrapper.d.ts +4 -0
- package/lib/LmUpload/wrapper/UploadWrapper.js +29 -0
- package/lib/LmUpload/wrapper/reducer.d.ts +8 -0
- package/lib/LmUpload/wrapper/reducer.js +46 -0
- package/lib/Mentions/style/index.css +6 -0
- package/lib/Menu/style/index.css +6 -0
- package/lib/Modal/index.d.ts +1 -1
- 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/index.d.ts +3 -0
- package/lib/Popconfirm/index.js +15 -0
- package/lib/Popconfirm/style/index.css +511 -0
- package/lib/Popconfirm/style/index.d.ts +1 -0
- package/lib/Popconfirm/style/index.js +3 -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/index.d.ts +3 -0
- package/lib/Progress/index.js +15 -0
- package/lib/Progress/style/index.css +511 -0
- package/lib/Progress/style/index.d.ts +1 -0
- package/lib/Progress/style/index.js +3 -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/index.d.ts +3 -0
- package/lib/Segmented/index.js +15 -0
- package/lib/Segmented/style/index.css +511 -0
- package/lib/Segmented/style/index.d.ts +1 -0
- package/lib/Segmented/style/index.js +3 -0
- package/lib/Select/style/index.css +6 -0
- package/lib/Slider/index.d.ts +2 -0
- package/lib/Slider/index.js +15 -0
- package/lib/Slider/style/index.css +511 -0
- package/lib/Slider/style/index.d.ts +1 -0
- package/lib/Slider/style/index.js +3 -0
- package/lib/Space/style/index.css +6 -0
- package/lib/Spin/style/index.css +6 -0
- package/lib/Statistic/index.d.ts +3 -0
- package/lib/Statistic/index.js +15 -0
- package/lib/Statistic/style/index.css +511 -0
- package/lib/Statistic/style/index.d.ts +1 -0
- package/lib/Statistic/style/index.js +3 -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/index.d.ts +3 -0
- package/lib/TimePicker/index.js +15 -0
- package/lib/TimePicker/style/index.css +511 -0
- package/lib/TimePicker/style/index.d.ts +1 -0
- package/lib/TimePicker/style/index.js +3 -0
- package/lib/Timeline/index.d.ts +3 -0
- package/lib/Timeline/index.js +15 -0
- package/lib/Timeline/style/index.css +511 -0
- package/lib/Timeline/style/index.d.ts +1 -0
- package/lib/Timeline/style/index.js +3 -0
- package/lib/Tooltip/style/index.css +6 -0
- package/lib/Transfer/index.d.ts +3 -0
- package/lib/Transfer/index.js +15 -0
- package/lib/Transfer/style/index.css +511 -0
- package/lib/Transfer/style/index.d.ts +1 -0
- package/lib/Transfer/style/index.js +3 -0
- package/lib/Tree/style/index.css +6 -0
- package/lib/TreeSelect/index.d.ts +3 -0
- package/lib/TreeSelect/index.js +15 -0
- package/lib/TreeSelect/style/index.css +511 -0
- package/lib/TreeSelect/style/index.d.ts +1 -0
- package/lib/TreeSelect/style/index.js +3 -0
- package/lib/Typography/style/index.css +6 -0
- package/lib/Upload/style/index.css +6 -0
- package/lib/hooks/useFullscreen/index.js +6 -10
- package/lib/index.d.ts +18 -0
- package/lib/index.js +73 -1
- 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 +3 -1
- package/typings/index.d.ts +1 -1
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
|
+
}
|
|
@@ -260,7 +260,25 @@ var EditableCell = function EditableCell(props) {
|
|
|
260
260
|
|
|
261
261
|
var _col$componentProps = col.componentProps,
|
|
262
262
|
componentProps = _col$componentProps === void 0 ? {} : _col$componentProps,
|
|
263
|
-
dataIndex = col.dataIndex;
|
|
263
|
+
dataIndex = col.dataIndex;
|
|
264
|
+
/** 是否正在编辑中 */
|
|
265
|
+
|
|
266
|
+
var _useState = useState(false),
|
|
267
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
268
|
+
editing = _useState2[0],
|
|
269
|
+
setEditing = _useState2[1];
|
|
270
|
+
|
|
271
|
+
var inputRef = useRef(null);
|
|
272
|
+
var form = useContext(EditableContext);
|
|
273
|
+
useEffect(function () {
|
|
274
|
+
if (editing) {
|
|
275
|
+
inputRef.current.focus();
|
|
276
|
+
}
|
|
277
|
+
}, [editing]);
|
|
278
|
+
|
|
279
|
+
var toggleEdit = function toggleEdit() {
|
|
280
|
+
setEditing(!editing); // form.setFieldsValue({ [dataIndex]: record[dataIndex] });
|
|
281
|
+
}; // const checkCellRef = useRef(null)
|
|
264
282
|
// const focusCapturedRef = useRef(false);
|
|
265
283
|
// const curValue = useMemo(() => {
|
|
266
284
|
// return record?.dataIndex
|
|
@@ -268,6 +286,7 @@ var EditableCell = function EditableCell(props) {
|
|
|
268
286
|
// const curValueIsValid = isValidValue(curValue);
|
|
269
287
|
// 校验保存
|
|
270
288
|
|
|
289
|
+
|
|
271
290
|
var save = function save(row) {
|
|
272
291
|
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
273
292
|
var values;
|
|
@@ -311,19 +330,29 @@ var EditableCell = function EditableCell(props) {
|
|
|
311
330
|
return form.validateFields();
|
|
312
331
|
|
|
313
332
|
case 10:
|
|
314
|
-
|
|
333
|
+
if (col === null || col === void 0 ? void 0 : col.hoverEdit) {
|
|
334
|
+
toggleEdit();
|
|
335
|
+
} // // 清空异常校验
|
|
336
|
+
// setValid((old) => {
|
|
337
|
+
// const obj = { ...old }
|
|
338
|
+
// delete obj[record[rowKey]]
|
|
339
|
+
// return obj
|
|
340
|
+
// })
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
_context.next = 15;
|
|
315
344
|
break;
|
|
316
345
|
|
|
317
|
-
case
|
|
318
|
-
_context.prev =
|
|
346
|
+
case 13:
|
|
347
|
+
_context.prev = 13;
|
|
319
348
|
_context.t1 = _context["catch"](0);
|
|
320
349
|
|
|
321
|
-
case
|
|
350
|
+
case 15:
|
|
322
351
|
case "end":
|
|
323
352
|
return _context.stop();
|
|
324
353
|
}
|
|
325
354
|
}
|
|
326
|
-
}, _callee, null, [[0,
|
|
355
|
+
}, _callee, null, [[0, 13]]);
|
|
327
356
|
}));
|
|
328
357
|
}; // 触发保存
|
|
329
358
|
|
|
@@ -342,7 +371,6 @@ var EditableCell = function EditableCell(props) {
|
|
|
342
371
|
|
|
343
372
|
var copyKey = function copyKey(e) {
|
|
344
373
|
e === null || e === void 0 ? void 0 : e.stopPropagation();
|
|
345
|
-
console.log(rowKey, record[rowKey], 'fff');
|
|
346
374
|
var dataIndex = col.dataIndex;
|
|
347
375
|
handleCopy === null || handleCopy === void 0 ? void 0 : handleCopy(dataIndex, record[dataIndex]);
|
|
348
376
|
};
|
|
@@ -353,7 +381,7 @@ var EditableCell = function EditableCell(props) {
|
|
|
353
381
|
return /*#__PURE__*/React.createElement(Input, Object.assign({
|
|
354
382
|
onPressEnter: handleFormItemChange,
|
|
355
383
|
onBlur: handleFormItemChange,
|
|
356
|
-
|
|
384
|
+
ref: inputRef,
|
|
357
385
|
placeholder: "\u8BF7\u8F93\u5165"
|
|
358
386
|
}, componentProps, {
|
|
359
387
|
addonBefore: componentProps.addonBefore ? /*#__PURE__*/React.createElement(Form.Item, {
|
|
@@ -368,7 +396,9 @@ var EditableCell = function EditableCell(props) {
|
|
|
368
396
|
}, /*#__PURE__*/React.cloneElement(componentProps.addonAfter, {
|
|
369
397
|
onChange: handleFormItemChange
|
|
370
398
|
})) : null,
|
|
371
|
-
suffix: componentProps.quickcopy ? /*#__PURE__*/React.createElement("span",
|
|
399
|
+
suffix: componentProps.quickcopy ? /*#__PURE__*/React.createElement("span", {
|
|
400
|
+
className: 'lm_table_quickcopy'
|
|
401
|
+
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
372
402
|
onClick: copyKey,
|
|
373
403
|
type: 'lmweb-icon_m_brush'
|
|
374
404
|
})) : null
|
|
@@ -376,7 +406,8 @@ var EditableCell = function EditableCell(props) {
|
|
|
376
406
|
|
|
377
407
|
case 'inputRange':
|
|
378
408
|
return /*#__PURE__*/React.createElement(InputRange, Object.assign({
|
|
379
|
-
onChange: handleFormItemChange
|
|
409
|
+
onChange: handleFormItemChange,
|
|
410
|
+
ref: inputRef
|
|
380
411
|
}, componentProps));
|
|
381
412
|
|
|
382
413
|
case 'number':
|
|
@@ -386,7 +417,8 @@ var EditableCell = function EditableCell(props) {
|
|
|
386
417
|
style: {
|
|
387
418
|
width: (editEnum === null || editEnum === void 0 ? void 0 : editEnum.width) || '100%'
|
|
388
419
|
},
|
|
389
|
-
placeholder: "\u8BF7\u8F93\u5165"
|
|
420
|
+
placeholder: "\u8BF7\u8F93\u5165",
|
|
421
|
+
ref: inputRef
|
|
390
422
|
}, componentProps));
|
|
391
423
|
|
|
392
424
|
case 'date':
|
|
@@ -400,7 +432,7 @@ var EditableCell = function EditableCell(props) {
|
|
|
400
432
|
showSearch: true,
|
|
401
433
|
allowClear: true,
|
|
402
434
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
403
|
-
|
|
435
|
+
ref: inputRef,
|
|
404
436
|
filterOption: function filterOption(input, option) {
|
|
405
437
|
var _a, _b;
|
|
406
438
|
|
|
@@ -417,7 +449,7 @@ var EditableCell = function EditableCell(props) {
|
|
|
417
449
|
showSearch: true,
|
|
418
450
|
allowClear: true,
|
|
419
451
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
420
|
-
|
|
452
|
+
ref: inputRef,
|
|
421
453
|
filterOption: function filterOption(input, option) {
|
|
422
454
|
var _a;
|
|
423
455
|
|
|
@@ -429,23 +461,26 @@ var EditableCell = function EditableCell(props) {
|
|
|
429
461
|
|
|
430
462
|
case 'checkbox':
|
|
431
463
|
return /*#__PURE__*/React.createElement(Checkbox.Group, Object.assign({
|
|
432
|
-
onChange: handleFormItemChange
|
|
464
|
+
onChange: handleFormItemChange,
|
|
465
|
+
ref: inputRef
|
|
433
466
|
}, componentProps));
|
|
434
467
|
|
|
435
468
|
case 'radio':
|
|
436
469
|
return /*#__PURE__*/React.createElement(Radio.Group, Object.assign({
|
|
437
|
-
onChange: handleFormItemChange
|
|
470
|
+
onChange: handleFormItemChange,
|
|
471
|
+
ref: inputRef
|
|
438
472
|
}, componentProps));
|
|
439
473
|
|
|
440
474
|
case 'switch':
|
|
441
475
|
return /*#__PURE__*/React.createElement(Switch, {
|
|
476
|
+
size: 'small',
|
|
442
477
|
onChange: handleFormItemChange
|
|
443
478
|
});
|
|
444
479
|
|
|
445
480
|
case 'upload':
|
|
446
481
|
return /*#__PURE__*/React.createElement(UploadSingle, {
|
|
447
482
|
editEnum: componentProps,
|
|
448
|
-
|
|
483
|
+
ref: inputRef,
|
|
449
484
|
onChange: handleFormItemChange
|
|
450
485
|
});
|
|
451
486
|
|
|
@@ -454,7 +489,7 @@ var EditableCell = function EditableCell(props) {
|
|
|
454
489
|
return /*#__PURE__*/React.createElement(Opetate, Object.assign({
|
|
455
490
|
record: record,
|
|
456
491
|
rowKey: rowKey,
|
|
457
|
-
|
|
492
|
+
ref: inputRef,
|
|
458
493
|
handleAdd: handleTableRowAdd,
|
|
459
494
|
handleDelete: handleTableRowDelete,
|
|
460
495
|
getLength: getLength
|
|
@@ -471,7 +506,8 @@ var EditableCell = function EditableCell(props) {
|
|
|
471
506
|
default:
|
|
472
507
|
return /*#__PURE__*/React.createElement(Input, Object.assign({
|
|
473
508
|
onPressEnter: handleFormItemChange,
|
|
474
|
-
onBlur: handleFormItemChange
|
|
509
|
+
onBlur: handleFormItemChange,
|
|
510
|
+
ref: inputRef
|
|
475
511
|
}, componentProps));
|
|
476
512
|
}
|
|
477
513
|
};
|
|
@@ -480,10 +516,19 @@ var EditableCell = function EditableCell(props) {
|
|
|
480
516
|
var editable = col.editable,
|
|
481
517
|
dataIndex = col.dataIndex,
|
|
482
518
|
formProps = col.formProps,
|
|
483
|
-
componentProps = col.componentProps
|
|
519
|
+
componentProps = col.componentProps,
|
|
520
|
+
hoverEdit = col.hoverEdit;
|
|
484
521
|
var childNode = children;
|
|
485
522
|
|
|
486
|
-
if (
|
|
523
|
+
if (hoverEdit && !editing) {
|
|
524
|
+
childNode = /*#__PURE__*/React.createElement("div", {
|
|
525
|
+
className: "editable-cell-value-wrap",
|
|
526
|
+
style: {
|
|
527
|
+
minHeight: '22px'
|
|
528
|
+
},
|
|
529
|
+
onClick: toggleEdit
|
|
530
|
+
}, childNode);
|
|
531
|
+
} else if (isEdit && editable) {
|
|
487
532
|
childNode = /*#__PURE__*/React.createElement(Form.Item, Object.assign({
|
|
488
533
|
errorPlacement: "right",
|
|
489
534
|
valuePropName: editable === 'switch' ? 'checked' : 'value',
|
|
@@ -507,9 +552,8 @@ var EditableCell = function EditableCell(props) {
|
|
|
507
552
|
}
|
|
508
553
|
|
|
509
554
|
return childNode;
|
|
510
|
-
}, [col, isEdit]); // const [childNode, setChildNode] = useState(getMemoChildNode);
|
|
511
|
-
|
|
512
|
-
var form = useContext(EditableContext); // 出现死循环找我
|
|
555
|
+
}, [col, isEdit, editing]); // const [childNode, setChildNode] = useState(getMemoChildNode);
|
|
556
|
+
// 出现死循环找我
|
|
513
557
|
|
|
514
558
|
useEffect(function () {
|
|
515
559
|
var editable = col.editable,
|
|
@@ -582,26 +626,26 @@ var EditTable = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
582
626
|
size = _props$size === void 0 ? 'small' : _props$size,
|
|
583
627
|
resetProps = __rest(props, ["value", "columns", "isEdit", "isAdd", "onChange", "rowKey", "rowHoverEdit", "isUseForm", "isHoverEdit", "useQuickOpetate", "rowSelection", "sortOpen", "colSortOpen", "filterChange", "size"]);
|
|
584
628
|
|
|
585
|
-
var
|
|
586
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
587
|
-
dataSource = _useState2[0],
|
|
588
|
-
setDataSource = _useState2[1]; // const [count, setCount] = useState(0);
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
var _useState3 = useState({}),
|
|
629
|
+
var _useState3 = useState([]),
|
|
592
630
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
593
|
-
|
|
594
|
-
|
|
631
|
+
dataSource = _useState4[0],
|
|
632
|
+
setDataSource = _useState4[1]; // const [count, setCount] = useState(0);
|
|
595
633
|
|
|
596
|
-
|
|
634
|
+
|
|
635
|
+
var _useState5 = useState({}),
|
|
597
636
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
598
|
-
|
|
599
|
-
|
|
637
|
+
_valid = _useState6[0],
|
|
638
|
+
setValid = _useState6[1];
|
|
600
639
|
|
|
601
640
|
var _useState7 = useState([]),
|
|
602
641
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
603
|
-
|
|
604
|
-
|
|
642
|
+
localRowSelectList = _useState8[0],
|
|
643
|
+
setLocalRowSelectList = _useState8[1];
|
|
644
|
+
|
|
645
|
+
var _useState9 = useState([]),
|
|
646
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
647
|
+
sortEditTable = _useState10[0],
|
|
648
|
+
setCallBackFalg = _useState10[1];
|
|
605
649
|
|
|
606
650
|
var dataSourceRef = useRef([]);
|
|
607
651
|
var sortDataSorceRef = useRef([]);
|
|
@@ -862,10 +906,11 @@ var EditTable = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
862
906
|
var resultColumns = useMemo(function () {
|
|
863
907
|
var rColumns = hasDisableOptions ? DisableOptions : columns;
|
|
864
908
|
var localColumns = [sortOpen ? {
|
|
865
|
-
title: '',
|
|
909
|
+
title: '排序',
|
|
866
910
|
dataIndex: 'sort',
|
|
867
|
-
width:
|
|
868
|
-
maxWidth:
|
|
911
|
+
width: 48,
|
|
912
|
+
maxWidth: 48,
|
|
913
|
+
className: 'drag-visible',
|
|
869
914
|
render: function render(_, record) {
|
|
870
915
|
return /*#__PURE__*/React.createElement(DragHandle, {
|
|
871
916
|
id: record[_rowKey] || record.id
|
|
@@ -910,9 +955,11 @@ var EditTable = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
910
955
|
|
|
911
956
|
return Object.assign(Object.assign({}, col), {
|
|
912
957
|
shouldCellUpdate: function shouldCellUpdate(record, prevRecord) {
|
|
958
|
+
var _a;
|
|
959
|
+
|
|
913
960
|
var dataIndex = col.dataIndex;
|
|
914
961
|
|
|
915
|
-
if ((col === null || col === void 0 ? void 0 : col.fixed) || hasDisableOptions && hasDisableOptions.includes(dataIndex)) {
|
|
962
|
+
if ((col === null || col === void 0 ? void 0 : col.fixed) || hasDisableOptions && hasDisableOptions.includes(dataIndex) || ((_a = col.componentProps) === null || _a === void 0 ? void 0 : _a.options)) {
|
|
916
963
|
return true;
|
|
917
964
|
}
|
|
918
965
|
|
|
@@ -1089,8 +1136,8 @@ var EditTable = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
1089
1136
|
style: {
|
|
1090
1137
|
marginTop: 8
|
|
1091
1138
|
}
|
|
1092
|
-
}, /*#__PURE__*/React.createElement(
|
|
1093
|
-
|
|
1139
|
+
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
1140
|
+
type: "lmweb-plus"
|
|
1094
1141
|
}), "\u65B0\u589E"));
|
|
1095
1142
|
});
|
|
1096
1143
|
export default /*#__PURE__*/memo(EditTable);
|
|
@@ -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
|
}
|
|
@@ -512,6 +518,9 @@ html {
|
|
|
512
518
|
line-height: 1;
|
|
513
519
|
gap: 8px;
|
|
514
520
|
}
|
|
521
|
+
.lm_editTable_warpper .ant-table-cell {
|
|
522
|
+
border-right: 0px !important;
|
|
523
|
+
}
|
|
515
524
|
.lm_editTable_warpper .ant-table-cell:empty::before {
|
|
516
525
|
content: '-';
|
|
517
526
|
}
|
|
@@ -547,6 +556,15 @@ html {
|
|
|
547
556
|
.lm_editTable_warpper .ant-form-item-explain-error {
|
|
548
557
|
font-size: 12px;
|
|
549
558
|
}
|
|
559
|
+
.lm_editTable_warpper .lm_table_quickcopy .anticon {
|
|
560
|
+
color: var(--text-color);
|
|
561
|
+
}
|
|
562
|
+
.lm_editTable_warpper .icon_drag {
|
|
563
|
+
color: var(--tip-text-color);
|
|
564
|
+
}
|
|
565
|
+
.lm_editTable_warpper .icon_drag:hover {
|
|
566
|
+
color: var(--text-color);
|
|
567
|
+
}
|
|
550
568
|
.lm_editTable_warpper .ant-picker {
|
|
551
569
|
height: 24px !important;
|
|
552
570
|
padding: 2px 8px;
|
package/es/LmFilter/LmFilter.js
CHANGED
|
@@ -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: []
|