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/README.md
CHANGED
|
@@ -34,7 +34,9 @@
|
|
|
34
34
|
### 📦 安装
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
|
|
37
|
+
yarn add linkmore-design --save
|
|
38
|
+
or
|
|
39
|
+
npm install linkmore-design --save
|
|
38
40
|
```
|
|
39
41
|
|
|
40
42
|
### 组件调试
|
|
@@ -48,7 +50,8 @@ npm install git+http://git.codefr.com/UFX/UFX.SCM.linkDesign.git --save
|
|
|
48
50
|
npm run dumi:build
|
|
49
51
|
```
|
|
50
52
|
|
|
51
|
-
### 组件目录
|
|
53
|
+
### 组件目录
|
|
54
|
+
如果要新建组件: 通过 npm run create 来创建新组件
|
|
52
55
|
|
|
53
56
|
```
|
|
54
57
|
├── style // 样式目录
|
|
@@ -64,18 +67,19 @@ npm install git+http://git.codefr.com/UFX/UFX.SCM.linkDesign.git --save
|
|
|
64
67
|
```
|
|
65
68
|
### md文档书写规范
|
|
66
69
|
|
|
67
|
-
加紧输出当中
|
|
68
70
|
### 🔨 示例
|
|
69
71
|
|
|
70
72
|
```bash
|
|
71
|
-
import {
|
|
73
|
+
import { Button, Input } from 'linkmore-design'
|
|
72
74
|
const App = () => (
|
|
73
75
|
<>
|
|
74
|
-
<
|
|
75
|
-
<
|
|
76
|
+
<Input></Input>
|
|
77
|
+
<Button />
|
|
76
78
|
</>
|
|
77
79
|
);
|
|
78
80
|
```
|
|
79
81
|
|
|
80
82
|
### 组件问题
|
|
81
|
-
钉钉 call
|
|
83
|
+
钉钉 call 乔克&零榆&古月
|
|
84
|
+
|
|
85
|
+
如果您有新组件或发现了任何bug,可以飞书找到我们,或者向我们的仓库提Pr,万分感谢!!!
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IApprovalItemProps } from "./type";
|
|
2
|
+
/**
|
|
3
|
+
* 获取现在到之前的时间差
|
|
4
|
+
* @param time
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export declare function getDistanceTime(time: string | number | Date): string;
|
|
8
|
+
export declare function getCurrentTime(): string;
|
|
9
|
+
export declare const wrapperComment: (user: string, steps: Array<IApprovalItemProps>, update: any, setUpdate: any) => (value: string) => void;
|
|
10
|
+
export declare const wrapperAgree: (user: string, steps: Array<IApprovalItemProps>, update: any, setUpdate: any) => (value: string) => void;
|
|
11
|
+
export declare const wrapperRefuse: (user: string, steps: Array<IApprovalItemProps>, update: any, setUpdate: any) => (value: string) => void;
|
package/dist/Approval/index.d.ts
CHANGED
|
@@ -1,24 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
export interface IApprovalItemProps {
|
|
4
|
-
avator?: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
time?: string;
|
|
7
|
-
type?: 'start' | 'comment' | 'carbonCopy' | 'agree' | 'refuse';
|
|
8
|
-
[prop: string]: any;
|
|
9
|
-
}
|
|
10
|
-
export interface IApprovalProps {
|
|
11
|
-
visible?: boolean;
|
|
12
|
-
title?: string;
|
|
13
|
-
close?: () => void;
|
|
14
|
-
className?: string;
|
|
15
|
-
style?: React.CSSProperties;
|
|
16
|
-
userType?: 'self' | 'approver';
|
|
17
|
-
status?: number;
|
|
18
|
-
steps?: [];
|
|
19
|
-
onComment: VoidFunction;
|
|
20
|
-
onRefuse: VoidFunction;
|
|
21
|
-
onAgree: VoidFunction;
|
|
22
|
-
}
|
|
2
|
+
import { IApprovalProps } from './type';
|
|
23
3
|
declare const LMApproval: React.FC<IApprovalProps>;
|
|
24
4
|
export default LMApproval;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type VoidFunction = () => void;
|
|
3
|
+
export declare enum ApprovalType {
|
|
4
|
+
START = "START",
|
|
5
|
+
APPROVAL = "APPROVAL",
|
|
6
|
+
CARBON_COPY = "CARBON_COPY",
|
|
7
|
+
ONLY_COMMENT = "ONLY_COMMENT"
|
|
8
|
+
}
|
|
9
|
+
export declare enum StatusType {
|
|
10
|
+
AGREE = "AGREE",
|
|
11
|
+
REFUSE = "REFUSE",
|
|
12
|
+
PENDING = "PENDING"
|
|
13
|
+
}
|
|
14
|
+
export declare namespace ApprovalType {
|
|
15
|
+
function isAgree(type: ApprovalType, status: StatusType): boolean;
|
|
16
|
+
function isPending(type: ApprovalType, status: StatusType): boolean;
|
|
17
|
+
function isRefuse(type: ApprovalType, status: StatusType): boolean;
|
|
18
|
+
function isCC(type: ApprovalType): boolean;
|
|
19
|
+
function isOnlyComment(type: ApprovalType): boolean;
|
|
20
|
+
function isApproval(type: ApprovalType): boolean;
|
|
21
|
+
function toText(type: ApprovalType, status: StatusType): "" | "审核中" | "未通过" | "已审核" | "仅评论";
|
|
22
|
+
}
|
|
23
|
+
export interface IApprovalItemProps {
|
|
24
|
+
avator?: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
time?: string;
|
|
27
|
+
urge?: boolean;
|
|
28
|
+
type?: ApprovalType;
|
|
29
|
+
approvalStatus?: StatusType;
|
|
30
|
+
everyoneAgree?: boolean;
|
|
31
|
+
approverList?: Array<string>;
|
|
32
|
+
agreeList?: Array<string>;
|
|
33
|
+
refuse?: string;
|
|
34
|
+
carbonCopyList?: Array<string>;
|
|
35
|
+
isCarbonCopy?: boolean;
|
|
36
|
+
comment?: string;
|
|
37
|
+
[prop: string]: any;
|
|
38
|
+
}
|
|
39
|
+
export interface IApprovalProps {
|
|
40
|
+
visible?: boolean;
|
|
41
|
+
title?: string;
|
|
42
|
+
className?: string;
|
|
43
|
+
style?: React.CSSProperties;
|
|
44
|
+
proposer: string;
|
|
45
|
+
user: string;
|
|
46
|
+
steps?: Array<IApprovalItemProps>;
|
|
47
|
+
onClose?: VoidFunction;
|
|
48
|
+
onComment?: VoidFunction;
|
|
49
|
+
onRefuse?: VoidFunction;
|
|
50
|
+
onAgree?: VoidFunction;
|
|
51
|
+
onUrge?: (approvalItem: IApprovalItemProps, i: number, list: Array<IApprovalItemProps>) => void;
|
|
52
|
+
onCarbonCopy?: (approvalItem: IApprovalItemProps, i: number, list: Array<IApprovalItemProps>) => void;
|
|
53
|
+
onDeleteComment?: (approvalItem: IApprovalItemProps, i: number, list: Array<IApprovalItemProps>) => void;
|
|
54
|
+
__update?: boolean;
|
|
55
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IApprovalItemProps, StatusType } from "./type";
|
|
2
|
+
/**
|
|
3
|
+
* 当前用户是否可以审批
|
|
4
|
+
* @param steps
|
|
5
|
+
* @param user
|
|
6
|
+
*/
|
|
7
|
+
export declare function currentUserIsApprover(steps: Array<IApprovalItemProps>, user: string): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* 当前用户是否是提议发起者
|
|
10
|
+
* @param proposer
|
|
11
|
+
* @param user
|
|
12
|
+
*/
|
|
13
|
+
export declare function currentUserIsProposer(proposer: string, user: string): boolean;
|
|
14
|
+
/**
|
|
15
|
+
* 审批节点是否通过
|
|
16
|
+
* @param approverList 审批人列表
|
|
17
|
+
* @param agreeList 已通过列表
|
|
18
|
+
* @param everyoneAgree 是否需要所有人都通过
|
|
19
|
+
*/
|
|
20
|
+
export declare function isAgreeOfApproverNode(approverList: Array<string>, agreeList: Array<string>, everyoneAgree: boolean): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* 获取当前审批单状态
|
|
23
|
+
* @param steps
|
|
24
|
+
* @returns
|
|
25
|
+
*/
|
|
26
|
+
export declare function getStatus(steps: Array<IApprovalItemProps>): StatusType;
|
|
@@ -10,6 +10,7 @@ import * as React from 'react';
|
|
|
10
10
|
import type { BaseOptionType, DefaultOptionType, InternalSelectProps } from 'antd/es/select';
|
|
11
11
|
import type { InputStatus } from '../_util/statusUtils';
|
|
12
12
|
import { AutoComplete as AntdAutoComplete } from 'antd';
|
|
13
|
+
declare const Option: import("rc-select/lib/Option").OptionFC;
|
|
13
14
|
export interface DataSourceItemObject {
|
|
14
15
|
value: string;
|
|
15
16
|
text: string;
|
|
@@ -24,7 +25,7 @@ declare const RefAutoComplete: (<ValueType = any, OptionType extends BaseOptionT
|
|
|
24
25
|
} & {
|
|
25
26
|
ref?: React.Ref<BaseSelectRef>;
|
|
26
27
|
}) => React.ReactElement) & {
|
|
27
|
-
Option:
|
|
28
|
+
Option: typeof Option;
|
|
28
29
|
AntdAutoComplete: typeof AntdAutoComplete;
|
|
29
30
|
};
|
|
30
31
|
export default RefAutoComplete;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export function getResizeColumnCount({ width
|
|
1
|
+
export function getResizeColumnCount({ width }: {
|
|
2
2
|
width: any;
|
|
3
|
-
}, colWidth: any):
|
|
3
|
+
}, colWidth: any): 4 | 2 | 3 | 5 | 6 | 7;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default CascaderFilter;
|
|
2
|
-
declare function CascaderFilter({ visible, options
|
|
2
|
+
declare function CascaderFilter({ visible, options, value, onChange, props }: {
|
|
3
3
|
visible: any;
|
|
4
4
|
options: any;
|
|
5
5
|
value: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -11,7 +11,7 @@ declare function useCoreOptions({ state, dispatch, props }: {
|
|
|
11
11
|
props: any;
|
|
12
12
|
}): {
|
|
13
13
|
CoreMethods: {
|
|
14
|
-
onQuery: ({ basicFilter, complexFilter, customFilter, basicQuery, type }?: any) => void;
|
|
14
|
+
onQuery: ({ basicFilter, complexFilter, customFilter, basicQuery, type, }?: any) => void;
|
|
15
15
|
setCustomFilter: (val: any) => void;
|
|
16
16
|
};
|
|
17
17
|
RefMethods: {
|
package/dist/LmFilter/utils.d.ts
CHANGED
|
@@ -6,6 +6,6 @@ export function getRanges(): {
|
|
|
6
6
|
近一月: string[];
|
|
7
7
|
近一年: string[];
|
|
8
8
|
};
|
|
9
|
-
export function getFlatItem(
|
|
9
|
+
export function getFlatItem(getItem: any, checkedValue: any, type?: string): any[];
|
|
10
10
|
export function getFilterShow(basicFilter: any, dataSource: any): {};
|
|
11
11
|
export function getFilterShowQuery(basicQuery: any, dataSource: any): any[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export declare const useCheckboxOptions: (options: any, { value, onChange
|
|
1
|
+
export declare const useCheckboxOptions: (options: any, { value, onChange }: {
|
|
2
2
|
value?: any[];
|
|
3
3
|
onChange: any;
|
|
4
4
|
}, filter?: string) => JSX.Element;
|
|
5
|
+
export default useCheckboxOptions;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SortableItem(props: any): JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const useCoreOptions: ({ state, dispatch, props }: {
|
|
2
|
+
state: any;
|
|
3
|
+
dispatch: any;
|
|
4
|
+
props: any;
|
|
5
|
+
}) => {
|
|
6
|
+
CoreMethods: {
|
|
7
|
+
beforeUpload: (e: any) => false | import("../../message").MessageType;
|
|
8
|
+
getUploadStatus: () => {
|
|
9
|
+
uploading: boolean;
|
|
10
|
+
};
|
|
11
|
+
remove: (file: any) => Promise<void>;
|
|
12
|
+
preview: (file: any) => void;
|
|
13
|
+
};
|
|
14
|
+
RefMethods: {
|
|
15
|
+
getState: () => any;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default useCoreOptions;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function getIsHas(val: any): boolean;
|
|
2
|
+
export declare function isClassComponent(component: any): any;
|
|
3
|
+
export declare function isExoticComponent(component: any): boolean;
|
|
4
|
+
export declare function isReactComponent(component: any): any;
|
|
5
|
+
export declare const render: (Comp: any, props: any) => any;
|
package/dist/Modal/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export interface ILMModalProps extends ModalProps {
|
|
|
4
4
|
wrapClassName?: string;
|
|
5
5
|
size?: 'default' | 'small';
|
|
6
6
|
}
|
|
7
|
-
declare const LMModal: React.FC<ModalProps> & import("antd/lib/modal/confirm").ModalStaticFunctions & {
|
|
7
|
+
declare const LMModal: React.FC<ILMModalProps> & React.FC<ModalProps> & import("antd/lib/modal/confirm").ModalStaticFunctions & {
|
|
8
8
|
useModal: typeof import("antd/lib/modal/useModal").default;
|
|
9
9
|
destroyAll: () => void;
|
|
10
10
|
config: typeof import("antd/lib/modal/confirm").modalGlobalConfig;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|