linkmore-design 1.0.99 → 1.1.0
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/CHANGELOG.md +12 -0
- package/dist/CardTable/hooks/usePagination.d.ts +1 -1
- package/dist/CardTable/utils.d.ts +1 -1
- package/dist/ImageViewer/fns/index.d.ts +1 -0
- package/dist/LmEditTable/demos/group.d.ts +2 -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/SelectFilter.d.ts +1 -1
- package/dist/LmFilter/filterFns/index.d.ts +5 -5
- package/dist/LmImgList/LmImgList.d.ts +4 -0
- package/dist/LmImgList/body/Banner.d.ts +5 -0
- package/dist/LmImgList/body/Thumb.d.ts +5 -0
- package/dist/LmImgList/demos/basic.d.ts +2 -0
- package/dist/LmImgList/fns/index.d.ts +20 -0
- package/dist/LmImgList/index.d.ts +3 -0
- package/dist/LmImgList/interface.d.ts +14 -0
- package/dist/LmImgList/style/index.d.ts +1 -0
- package/dist/LmImgList/style/variables.d.ts +1 -0
- package/dist/LmImgList/wrapper/Container.d.ts +4 -0
- package/dist/LmImgList/wrapper/Root.d.ts +4 -0
- package/dist/LmImgList/wrapper/Wrapper.d.ts +4 -0
- package/dist/LmImgList/wrapper/reducer.d.ts +14 -0
- package/dist/LmSelect/useCheckboxOptions.d.ts +1 -1
- package/dist/LmTable/util.d.ts +10 -4
- package/dist/_util/placements.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.umd.js +92607 -96491
- package/dist/index.umd.min.js +20 -20
- package/dist/variables.css +12504 -0
- package/es/ButtonTags/ButtonTags.js +1 -1
- package/es/ButtonTags/index.js +1 -1
- package/es/CardTable/LmCardTable.js +2 -2
- package/es/CardTable/body/TableBody.js +2 -2
- package/es/CardTable/body/TableBodyCell.js +2 -2
- package/es/CardTable/body/TableBodyRow.js +2 -2
- package/es/CardTable/card/PictureTextColumn.js +2 -2
- package/es/CardTable/card/PictureTextRow.js +1 -1
- package/es/CardTable/card/PictureTextRowOperate.js +1 -1
- package/es/CardTable/context.js +1 -1
- package/es/CardTable/empty.js +1 -1
- package/es/CardTable/fns/index.js +1 -1
- package/es/CardTable/footer.js +2 -2
- package/es/CardTable/hooks/usePagination.js +5 -5
- package/es/CardTable/index.js +1 -1
- package/es/CardTable/pager/TablePagination.js +2 -2
- package/es/CardTable/pager/index.js +1 -1
- package/es/CardTable/table/Table.js +1 -1
- package/es/CardTable/table/TableContainer.js +2 -2
- package/es/CardTable/table/TableRoot.js +2 -2
- package/es/CardTable/table/TableWrapper.js +1 -1
- package/es/CardTable/toolbar/ToolBarBottom.js +1 -1
- package/es/Checkbox/index.js +1 -1
- package/es/CustomerService/components/question.js +2 -2
- package/es/CustomerService/index.js +2 -2
- package/es/EditTable/EditTable.js +6 -6
- package/es/EditTable/index.js +1 -1
- package/es/EnlargeImg/index.js +2 -2
- package/es/Filter/Popover.js +2 -2
- package/es/Filter/baseFilter/Popover.js +2 -2
- package/es/Filter/baseFilter/ToggleFilter.js +2 -2
- package/es/Filter/baseFilter/index.js +5 -5
- package/es/Filter/complex/ComplexFilter.js +2 -2
- package/es/Filter/complex/ComplexItem.js +2 -2
- package/es/Filter/components/Checkbox.js +2 -2
- package/es/Filter/components/Date.js +2 -2
- package/es/Filter/components/Input.js +2 -2
- package/es/Filter/components/Select.js +2 -2
- package/es/Filter/components/Tree.js +2 -2
- package/es/Filter/components/header.js +1 -1
- package/es/Filter/components/index.js +1 -1
- package/es/Filter/context.js +1 -1
- package/es/Filter/edit/editFilter.js +6 -6
- package/es/Filter/index.js +2 -2
- package/es/Filter/popContext.js +1 -1
- package/es/Filter/remember.js +2 -2
- package/es/Form/style/form.css +3 -3
- package/es/Form/style/index.css +6063 -3
- package/es/Form/style/tooltip.css +2 -2
- package/es/Form/style/variables.css +6063 -3
- package/es/Icon/index.js +1 -1
- package/es/IconSelect/index.js +2 -2
- package/es/ImageViewer/components/Carousel.js +2 -2
- package/es/ImageViewer/fns/index.d.ts +1 -0
- package/es/ImageViewer/fns/index.js +11 -2
- package/es/LeftTable/index.js +2 -2
- package/es/LmEditTable/EditTable.js +66 -7
- package/es/LmFilter/Controls/CheckboxTags.js +1 -1
- package/es/LmFilter/Controls/index.js +2 -2
- package/es/LmFilter/LmFilter.js +4 -2
- package/es/LmFilter/baseFilter/fuzzySearch.js +2 -2
- package/es/LmFilter/baseFilter/index.js +1 -1
- package/es/LmFilter/clearFilter/index.js +1 -1
- package/es/LmFilter/complexFilter/drawer.js +2 -2
- package/es/LmFilter/complexFilter/index.js +2 -2
- package/es/LmFilter/complexFilter/valueDrawer.js +5 -5
- package/es/LmFilter/components/CascaderFilter.js +2 -2
- package/es/LmFilter/components/CheckboxFilter.js +2 -2
- package/es/LmFilter/components/CustomSelectFilter.js +2 -2
- package/es/LmFilter/components/DateFilter.js +2 -2
- package/es/LmFilter/components/DropdownFIlter.js +2 -2
- package/es/LmFilter/components/EmptyFilter.js +1 -1
- package/es/LmFilter/components/InputFilter.js +2 -2
- package/es/LmFilter/components/InputSearchClose.js +2 -2
- package/es/LmFilter/components/SelectFilter.js +2 -2
- package/es/LmFilter/components/index.js +2 -2
- package/es/LmFilter/customFilter/drawer.js +5 -5
- package/es/LmFilter/customFilter/index.js +2 -2
- package/es/LmFilter/customFilter/saveModal.js +5 -5
- package/es/LmFilter/customFilter/valueDrawer.js +5 -5
- package/es/LmFilter/filterFns/index.d.ts +60 -0
- package/es/LmFilter/filterFns/index.js +72 -102
- package/es/LmFilter/index.js +1 -1
- package/es/LmFilter/utils.js +1 -1
- package/es/LmFilter/wrapper/Filter.js +1 -1
- package/es/LmFilter/wrapper/FilterContainer.js +1 -1
- package/es/LmFilter/wrapper/FilterRoot.js +2 -2
- package/es/LmFilter/wrapper/FilterWrapper.js +1 -1
- package/es/LmImgList/LmImgList.d.ts +4 -0
- package/es/LmImgList/LmImgList.js +19 -0
- package/es/LmImgList/body/Banner.d.ts +5 -0
- package/es/LmImgList/body/Banner.js +121 -0
- package/es/LmImgList/body/Thumb.d.ts +5 -0
- package/es/LmImgList/body/Thumb.js +63 -0
- package/es/LmImgList/fns/index.d.ts +20 -0
- package/es/LmImgList/fns/index.js +106 -0
- package/es/LmImgList/index.d.ts +3 -0
- package/es/LmImgList/index.js +3 -0
- package/es/LmImgList/interface.d.ts +14 -0
- package/es/LmImgList/interface.js +1 -0
- package/es/LmImgList/style/index.css +71 -0
- package/es/LmImgList/style/index.js +3 -0
- package/es/LmImgList/style/variables.css +71 -0
- package/es/LmImgList/style/variables.js +3 -0
- package/es/LmImgList/wrapper/Container.d.ts +4 -0
- package/es/LmImgList/wrapper/Container.js +56 -0
- package/es/LmImgList/wrapper/Root.d.ts +4 -0
- package/es/LmImgList/wrapper/Root.js +44 -0
- package/es/LmImgList/wrapper/Wrapper.d.ts +4 -0
- package/es/LmImgList/wrapper/Wrapper.js +9 -0
- package/es/LmImgList/wrapper/reducer.d.ts +14 -0
- package/es/LmImgList/wrapper/reducer.js +52 -0
- package/es/LmSelect/useCheckboxOptions.d.ts +1 -1
- package/es/LmTable/Table.js +92 -35
- package/es/LmTable/VList.js +2 -2
- package/es/LmTable/autosize.js +1 -1
- package/es/LmTable/components/sheelTableCell.js +12 -9
- package/es/LmTable/components/sortableBoxCol.js +1 -1
- package/es/LmTable/components/sortableItemCol.js +2 -2
- package/es/LmTable/index.js +1 -1
- package/es/LmTable/style/index.css +19 -0
- package/es/LmTable/style/variables.css +19 -0
- package/es/LmTable/util.js +71 -18
- package/es/LmUpload/fns/index.js +5 -5
- package/es/LoadingPage/index.js +1 -1
- package/es/Radio/index.js +1 -1
- package/es/UploadOss/index.js +1 -1
- package/es/UploadOss/uploadBtn.js +2 -2
- package/es/UploadOss/uploadImg.js +2 -2
- package/es/VirtualList/index.js +1 -1
- package/es/_util/placements.d.ts +1 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/es/notification/index.js +3 -3
- package/es/services/newRequest.js +4 -4
- package/es/styles/variables.css +6153 -3
- package/lib/Affix/index.js +2 -2
- package/lib/Affix/utils.js +1 -1
- package/lib/Alert/ErrorBoundary.js +2 -2
- package/lib/Alert/index.js +2 -2
- package/lib/Approval/handle.js +1 -1
- package/lib/Approval/index.js +2 -2
- package/lib/Approval/util.js +1 -1
- package/lib/AutoComplete/index.js +2 -2
- package/lib/Avatar/index.js +1 -1
- package/lib/Badge/Ribbon.js +2 -2
- package/lib/Badge/ScrollNumber.js +2 -2
- package/lib/Badge/SingleNumber.js +2 -2
- package/lib/Badge/index.js +2 -2
- package/lib/Box/LmBox.js +2 -2
- package/lib/Box/body/Item.js +1 -1
- package/lib/Box/body/List.js +1 -1
- package/lib/Box/body/OverflowList.js +1 -1
- package/lib/Box/index.js +1 -1
- package/lib/Box/wrapper/BoxContainer.js +2 -2
- package/lib/Box/wrapper/BoxRoot.js +2 -2
- package/lib/Box/wrapper/BoxWrapper.js +1 -1
- package/lib/Breadcrumb/index.js +1 -1
- package/lib/Button/index.js +1 -1
- package/lib/ButtonTags/ButtonTags.js +1 -1
- package/lib/ButtonTags/index.js +1 -1
- package/lib/Calendar/index.js +1 -1
- package/lib/Card/index.js +1 -1
- package/lib/CardTable/LmCardTable.js +2 -2
- package/lib/CardTable/body/TableBody.js +2 -2
- package/lib/CardTable/body/TableBodyCell.js +2 -2
- package/lib/CardTable/body/TableBodyRow.js +2 -2
- package/lib/CardTable/card/PictureTextColumn.js +2 -2
- package/lib/CardTable/card/PictureTextRow.js +1 -1
- package/lib/CardTable/card/PictureTextRowOperate.js +1 -1
- package/lib/CardTable/context.js +1 -1
- package/lib/CardTable/empty.js +1 -1
- package/lib/CardTable/fns/index.js +1 -1
- package/lib/CardTable/footer.js +2 -2
- package/lib/CardTable/hooks/usePagination.js +5 -5
- package/lib/CardTable/index.js +1 -1
- package/lib/CardTable/pager/TablePagination.js +2 -2
- package/lib/CardTable/pager/index.js +1 -1
- package/lib/CardTable/table/Table.js +1 -1
- package/lib/CardTable/table/TableContainer.js +2 -2
- package/lib/CardTable/table/TableRoot.js +2 -2
- package/lib/CardTable/table/TableWrapper.js +1 -1
- package/lib/CardTable/toolbar/ToolBarBottom.js +1 -1
- package/lib/Carousel/index.js +1 -1
- package/lib/Cascader/index.js +1 -1
- package/lib/Checkbox/index.js +1 -1
- package/lib/Collapse/index.js +1 -1
- package/lib/Comment/index.js +1 -1
- package/lib/ConfigProvider/DisabledContext.js +1 -1
- package/lib/ConfigProvider/SizeContext.js +1 -1
- package/lib/ConfigProvider/context.js +1 -1
- package/lib/ConfigProvider/cssVariables.js +1 -1
- package/lib/ConfigProvider/defaultRenderEmpty.js +2 -2
- package/lib/ConfigProvider/index.js +2 -2
- package/lib/CustomTableOption/cardSort.js +2 -2
- package/lib/CustomTableOption/columnsSort.js +2 -2
- package/lib/CustomTableOption/filterSort.js +2 -2
- package/lib/CustomTableOption/index.js +2 -2
- package/lib/CustomerService/components/question.js +2 -2
- package/lib/CustomerService/index.js +2 -2
- package/lib/DatePicker/PickerButton.js +1 -1
- package/lib/DatePicker/PickerTag.js +1 -1
- package/lib/DatePicker/generatePicker/generateRangePicker.js +2 -2
- package/lib/DatePicker/generatePicker/generateSinglePicker.js +2 -2
- package/lib/DatePicker/generatePicker/index.js +1 -1
- package/lib/DatePicker/index.js +1 -1
- package/lib/Descriptions/Cell.js +2 -2
- package/lib/Descriptions/Row.js +2 -2
- package/lib/Descriptions/index.js +2 -2
- package/lib/Divider/index.js +2 -2
- package/lib/Drawer/index.js +1 -1
- package/lib/Dropdown/index.js +2 -2
- package/lib/EditTable/EditTable.js +6 -6
- package/lib/EditTable/index.js +1 -1
- package/lib/Empty/empty.js +1 -1
- package/lib/Empty/index.js +2 -2
- package/lib/Empty/simple.js +1 -1
- package/lib/EnlargeImg/index.js +2 -2
- package/lib/Filter/Popover.js +2 -2
- package/lib/Filter/baseFilter/Popover.js +2 -2
- package/lib/Filter/baseFilter/ToggleFilter.js +2 -2
- package/lib/Filter/baseFilter/index.js +5 -5
- package/lib/Filter/complex/ComplexFilter.js +2 -2
- package/lib/Filter/complex/ComplexItem.js +2 -2
- package/lib/Filter/components/Checkbox.js +2 -2
- package/lib/Filter/components/Date.js +2 -2
- package/lib/Filter/components/Input.js +2 -2
- package/lib/Filter/components/Select.js +2 -2
- package/lib/Filter/components/Tree.js +2 -2
- package/lib/Filter/components/header.js +1 -1
- package/lib/Filter/components/index.js +1 -1
- package/lib/Filter/context.js +1 -1
- package/lib/Filter/edit/editFilter.js +6 -6
- package/lib/Filter/index.js +2 -2
- package/lib/Filter/popContext.js +1 -1
- package/lib/Filter/remember.js +2 -2
- package/lib/Form/ErrorList.js +2 -2
- package/lib/Form/Form.js +2 -2
- package/lib/Form/FormItem/ItemHolder.js +2 -2
- package/lib/Form/FormItem/index.js +2 -2
- package/lib/Form/FormItemInput.js +2 -2
- package/lib/Form/FormItemLabel.js +2 -2
- package/lib/Form/FormList.js +2 -2
- package/lib/Form/container.js +2 -2
- package/lib/Form/context.js +2 -2
- package/lib/Form/hooks/useDebounce.js +2 -2
- package/lib/Form/hooks/useForm.js +2 -2
- package/lib/Form/hooks/useFormItemStatus.js +1 -1
- package/lib/Form/hooks/useFrameState.js +2 -2
- package/lib/Form/hooks/useItemRef.js +2 -2
- package/lib/Form/index.js +2 -2
- package/lib/Form/style/form.css +3 -3
- package/lib/Form/style/index.css +6063 -3
- package/lib/Form/style/tooltip.css +2 -2
- package/lib/Form/style/variables.css +6063 -3
- package/lib/FullScreen/index.js +2 -2
- package/lib/Grid/col.js +2 -2
- package/lib/Grid/hooks/useBreakpoint.js +1 -1
- package/lib/Grid/index.js +1 -1
- package/lib/Grid/row.js +2 -2
- package/lib/Icon/index.js +1 -1
- package/lib/IconSelect/index.js +2 -2
- package/lib/Image/index.js +1 -1
- package/lib/ImageViewer/LmImageViewer.js +2 -2
- package/lib/ImageViewer/components/Arrows.js +1 -1
- package/lib/ImageViewer/components/Carousel.js +3 -3
- package/lib/ImageViewer/components/Operate.js +1 -1
- package/lib/ImageViewer/components/Thumb.js +2 -2
- package/lib/ImageViewer/fns/index.d.ts +1 -0
- package/lib/ImageViewer/fns/index.js +11 -2
- package/lib/ImageViewer/index.js +1 -1
- package/lib/ImageViewer/wrapeer/Container.js +1 -1
- package/lib/ImageViewer/wrapeer/Root.js +2 -2
- package/lib/ImageViewer/wrapeer/Wrapper.js +1 -1
- package/lib/Input/index.js +2 -2
- package/lib/InputNumber/index.js +1 -1
- package/lib/Layout/index.js +1 -1
- package/lib/LeftTable/index.js +2 -2
- package/lib/List/index.js +1 -1
- package/lib/LmEditTable/DndContainer.js +1 -1
- package/lib/LmEditTable/DragHandle.js +1 -1
- package/lib/LmEditTable/EditTable.js +69 -10
- package/lib/LmEditTable/index.js +1 -1
- package/lib/LmEditTable/sortableBox.js +1 -1
- package/lib/LmEditTable/sortableBoxCol.js +1 -1
- package/lib/LmEditTable/sortableItem.js +1 -1
- package/lib/LmEditTable/sortableItemCol.js +1 -1
- package/lib/LmFilter/Controls/CheckboxTags.js +1 -1
- package/lib/LmFilter/Controls/index.js +2 -2
- package/lib/LmFilter/LmFilter.js +4 -2
- package/lib/LmFilter/baseFilter/fuzzySearch.js +2 -2
- package/lib/LmFilter/baseFilter/index.js +1 -1
- package/lib/LmFilter/clearFilter/index.js +1 -1
- package/lib/LmFilter/complexFilter/drawer.js +2 -2
- package/lib/LmFilter/complexFilter/index.js +2 -2
- package/lib/LmFilter/complexFilter/valueDrawer.js +5 -5
- package/lib/LmFilter/components/CascaderFilter.js +2 -2
- package/lib/LmFilter/components/CheckboxFilter.js +2 -2
- package/lib/LmFilter/components/CustomSelectFilter.js +2 -2
- package/lib/LmFilter/components/DateFilter.js +2 -2
- package/lib/LmFilter/components/DropdownFIlter.js +2 -2
- package/lib/LmFilter/components/EmptyFilter.js +1 -1
- package/lib/LmFilter/components/InputFilter.js +2 -2
- package/lib/LmFilter/components/InputSearchClose.js +2 -2
- package/lib/LmFilter/components/SelectFilter.js +2 -2
- package/lib/LmFilter/components/index.js +2 -2
- package/lib/LmFilter/customFilter/drawer.js +5 -5
- package/lib/LmFilter/customFilter/index.js +2 -2
- package/lib/LmFilter/customFilter/saveModal.js +5 -5
- package/lib/LmFilter/customFilter/valueDrawer.js +5 -5
- package/lib/LmFilter/filterFns/index.d.ts +60 -0
- package/lib/LmFilter/filterFns/index.js +42 -55
- package/lib/LmFilter/index.js +1 -1
- package/lib/LmFilter/utils.js +1 -1
- package/lib/LmFilter/wrapper/Filter.js +1 -1
- package/lib/LmFilter/wrapper/FilterContainer.js +1 -1
- package/lib/LmFilter/wrapper/FilterRoot.js +2 -2
- package/lib/LmFilter/wrapper/FilterWrapper.js +1 -1
- package/lib/LmImgList/LmImgList.d.ts +4 -0
- package/lib/LmImgList/LmImgList.js +33 -0
- package/lib/LmImgList/body/Banner.d.ts +5 -0
- package/lib/LmImgList/body/Banner.js +134 -0
- package/lib/LmImgList/body/Thumb.d.ts +5 -0
- package/lib/LmImgList/body/Thumb.js +79 -0
- package/lib/LmImgList/fns/index.d.ts +20 -0
- package/lib/LmImgList/fns/index.js +114 -0
- package/lib/LmImgList/index.d.ts +3 -0
- package/lib/LmImgList/index.js +27 -0
- package/lib/LmImgList/interface.d.ts +14 -0
- package/lib/LmImgList/interface.js +5 -0
- package/lib/LmImgList/style/index.css +71 -0
- package/lib/LmImgList/style/index.js +3 -0
- package/lib/LmImgList/style/variables.css +71 -0
- package/lib/LmImgList/style/variables.js +3 -0
- package/lib/LmImgList/wrapper/Container.d.ts +4 -0
- package/lib/LmImgList/wrapper/Container.js +73 -0
- package/lib/LmImgList/wrapper/Root.d.ts +4 -0
- package/lib/LmImgList/wrapper/Root.js +61 -0
- package/lib/LmImgList/wrapper/Wrapper.d.ts +4 -0
- package/lib/LmImgList/wrapper/Wrapper.js +22 -0
- package/lib/LmImgList/wrapper/reducer.d.ts +14 -0
- package/lib/LmImgList/wrapper/reducer.js +64 -0
- package/lib/LmSelect/GhostSelect.js +2 -2
- package/lib/LmSelect/NormalSelect.js +2 -2
- package/lib/LmSelect/index.js +2 -2
- package/lib/LmSelect/useCheckboxOptions.d.ts +1 -1
- package/lib/LmSelect/useCheckboxOptions.js +2 -2
- package/lib/LmSelect/utils.js +2 -2
- package/lib/LmTable/Table.js +92 -35
- package/lib/LmTable/VList.js +2 -2
- package/lib/LmTable/autosize.js +1 -1
- package/lib/LmTable/components/DndContainer.js +1 -1
- package/lib/LmTable/components/customRenderEmpty.js +1 -1
- package/lib/LmTable/components/inputDataEdit.js +1 -1
- package/lib/LmTable/components/sheelTableCell.js +15 -11
- package/lib/LmTable/components/sortableBoxCol.js +1 -1
- package/lib/LmTable/components/sortableItemCol.js +2 -2
- package/lib/LmTable/components/tableChartsModal.js +1 -1
- package/lib/LmTable/index.js +1 -1
- package/lib/LmTable/style/index.css +19 -0
- package/lib/LmTable/style/variables.css +19 -0
- package/lib/LmTable/util.js +71 -18
- package/lib/LmTable/virTual/VirtualRow.js +1 -1
- package/lib/LmTable/virTual/VirtualTable.js +2 -2
- package/lib/LmTable/virTual/VirtualWrapper.js +1 -1
- package/lib/LmTable/virTual/index.js +1 -1
- package/lib/LmUpload/LmUpload.js +2 -2
- package/lib/LmUpload/UploadList/ItemPicture.js +2 -2
- package/lib/LmUpload/UploadList/ItemPictureCard.js +2 -2
- package/lib/LmUpload/UploadList/ItemText.js +2 -2
- package/lib/LmUpload/UploadList/RenderItem.js +1 -1
- package/lib/LmUpload/UploadList/index.js +1 -1
- package/lib/LmUpload/body/Progress.js +1 -1
- package/lib/LmUpload/body/UploadCore.js +2 -2
- package/lib/LmUpload/body/UploadPicture.js +1 -1
- package/lib/LmUpload/components/card.js +1 -1
- package/lib/LmUpload/fns/index.js +6 -6
- package/lib/LmUpload/index.js +1 -1
- package/lib/LmUpload/utils.js +1 -1
- package/lib/LmUpload/view/index.js +1 -1
- package/lib/LmUpload/wrapper/Upload.js +2 -2
- package/lib/LmUpload/wrapper/UploadContainer.js +2 -2
- package/lib/LmUpload/wrapper/UploadRoot.js +2 -2
- package/lib/LmUpload/wrapper/UploadWrapper.js +1 -1
- package/lib/LoadingPage/index.js +1 -1
- package/lib/Locale/ar_EG.js +1 -1
- package/lib/Locale/az_AZ.js +1 -1
- package/lib/Locale/bg_BG.js +1 -1
- package/lib/Locale/bn_BD.js +1 -1
- package/lib/Locale/by_BY.js +1 -1
- package/lib/Locale/ca_ES.js +1 -1
- package/lib/Locale/cs_CZ.js +1 -1
- package/lib/Locale/da_DK.js +1 -1
- package/lib/Locale/de_DE.js +1 -1
- package/lib/Locale/default.js +1 -1
- package/lib/Locale/el_GR.js +1 -1
- package/lib/Locale/en_GB.js +1 -1
- package/lib/Locale/en_US.js +1 -1
- package/lib/Locale/es_ES.js +1 -1
- package/lib/Locale/et_EE.js +1 -1
- package/lib/Locale/fa_IR.js +1 -1
- package/lib/Locale/fi_FI.js +1 -1
- package/lib/Locale/fr_BE.js +1 -1
- package/lib/Locale/fr_CA.js +1 -1
- package/lib/Locale/fr_FR.js +1 -1
- package/lib/Locale/ga_IE.js +1 -1
- package/lib/Locale/gl_ES.js +1 -1
- package/lib/Locale/he_IL.js +1 -1
- package/lib/Locale/hi_IN.js +1 -1
- package/lib/Locale/hr_HR.js +1 -1
- package/lib/Locale/hu_HU.js +1 -1
- package/lib/Locale/id_ID.js +1 -1
- package/lib/Locale/is_IS.js +1 -1
- package/lib/Locale/it_IT.js +1 -1
- package/lib/Locale/ja_JP.js +1 -1
- package/lib/Locale/ka_GE.js +1 -1
- package/lib/Locale/kk_KZ.js +1 -1
- package/lib/Locale/km_KH.js +1 -1
- package/lib/Locale/kmr_IQ.js +1 -1
- package/lib/Locale/kn_IN.js +1 -1
- package/lib/Locale/ko_KR.js +1 -1
- package/lib/Locale/ku_IQ.js +1 -1
- package/lib/Locale/lt_LT.js +1 -1
- package/lib/Locale/lv_LV.js +1 -1
- package/lib/Locale/mk_MK.js +1 -1
- package/lib/Locale/ml_IN.js +1 -1
- package/lib/Locale/mn_MN.js +1 -1
- package/lib/Locale/ms_MY.js +1 -1
- package/lib/Locale/nb_NO.js +1 -1
- package/lib/Locale/ne_NP.js +1 -1
- package/lib/Locale/nl_BE.js +1 -1
- package/lib/Locale/nl_NL.js +1 -1
- package/lib/Locale/pl_PL.js +1 -1
- package/lib/Locale/pt_BR.js +1 -1
- package/lib/Locale/pt_PT.js +1 -1
- package/lib/Locale/ro_RO.js +1 -1
- package/lib/Locale/ru_RU.js +1 -1
- package/lib/Locale/si_LK.js +1 -1
- package/lib/Locale/sk_SK.js +1 -1
- package/lib/Locale/sl_SI.js +1 -1
- package/lib/Locale/sr_RS.js +1 -1
- package/lib/Locale/sv_SE.js +1 -1
- package/lib/Locale/ta_IN.js +1 -1
- package/lib/Locale/th_TH.js +1 -1
- package/lib/Locale/tk_TK.js +1 -1
- package/lib/Locale/tr_TR.js +1 -1
- package/lib/Locale/uk_UA.js +1 -1
- package/lib/Locale/ur_PK.js +1 -1
- package/lib/Locale/vi_VN.js +1 -1
- package/lib/Locale/zh_CN.js +1 -1
- package/lib/Locale/zh_HK.js +1 -1
- package/lib/Locale/zh_TW.js +1 -1
- package/lib/Mentions/index.js +1 -1
- package/lib/Menu/index.js +1 -1
- package/lib/Modal/index.js +1 -1
- package/lib/PageHeader/index.js +2 -2
- package/lib/Pagination/index.js +1 -1
- package/lib/Popconfirm/index.js +1 -1
- package/lib/Popover/index.js +2 -2
- package/lib/Progress/index.js +1 -1
- package/lib/QuickMenu/index.js +2 -2
- package/lib/Radio/index.js +1 -1
- package/lib/Rate/index.js +1 -1
- package/lib/Result/index.js +2 -2
- package/lib/Result/noFound.js +1 -1
- package/lib/Result/serverError.js +1 -1
- package/lib/Result/unauthorized.js +1 -1
- package/lib/Segmented/index.js +1 -1
- package/lib/Select/index.js +2 -2
- package/lib/Skeleton/index.js +1 -1
- package/lib/Slider/index.js +1 -1
- package/lib/Space/index.js +1 -1
- package/lib/Spin/index.js +1 -1
- package/lib/Statistic/index.js +1 -1
- package/lib/Steps/index.js +1 -1
- package/lib/Switch/index.js +1 -1
- package/lib/Table/index.js +1 -1
- package/lib/Tabs/hooks/useAnimateConfig.js +1 -1
- package/lib/Tabs/hooks/useLegacyItems.js +2 -2
- package/lib/Tabs/index.js +2 -2
- package/lib/Tabs/index.old.js +1 -1
- package/lib/Tag/index.js +2 -2
- package/lib/TestTable/LmBox.js +1 -1
- package/lib/TestTable/index.js +1 -1
- package/lib/TimePicker/index.js +1 -1
- package/lib/Timeline/index.js +1 -1
- package/lib/Tooltip/index.js +2 -2
- package/lib/Transfer/index.js +1 -1
- package/lib/Tree/DirectoryTree.js +2 -2
- package/lib/Tree/Tree.js +2 -2
- package/lib/Tree/TreeIndex.js +1 -1
- package/lib/Tree/index.js +2 -2
- package/lib/Tree/utils/dictUtil.js +1 -1
- package/lib/Tree/utils/dropIndicator.js +1 -1
- package/lib/Tree/utils/iconUtil.js +2 -2
- package/lib/TreeSelect/index.js +1 -1
- package/lib/Typography/Base/Ellipsis.js +2 -2
- package/lib/Typography/Base/EllipsisTooltip.js +2 -2
- package/lib/Typography/Base/index.js +2 -2
- package/lib/Typography/Editable.js +2 -2
- package/lib/Typography/Link.js +2 -2
- package/lib/Typography/Paragraph.js +2 -2
- package/lib/Typography/Text.js +2 -2
- package/lib/Typography/Title.js +2 -2
- package/lib/Typography/Typography.js +2 -2
- package/lib/Typography/hooks/useMergedConfig.js +2 -2
- package/lib/Typography/hooks/useUpdatedEffect.js +1 -1
- package/lib/Typography/index.js +1 -1
- package/lib/Upload/index.js +1 -1
- package/lib/UploadOss/index.js +1 -1
- package/lib/UploadOss/uploadBtn.js +2 -2
- package/lib/UploadOss/uploadImg.js +2 -2
- package/lib/VirtualList/index.js +1 -1
- package/lib/_util/hooks/useFlexGapSupport.js +2 -2
- package/lib/_util/hooks/useForceUpdate.js +2 -2
- package/lib/_util/placements.d.ts +1 -0
- package/lib/_util/reactNode.js +1 -1
- package/lib/_util/responsiveObserve.js +1 -1
- package/lib/_util/statusUtils.js +1 -1
- package/lib/_util/styleChecker.js +1 -1
- package/lib/_util/throttleByAnimationFrame.js +1 -1
- package/lib/_util/transButton.js +2 -2
- package/lib/_util/warning.js +1 -1
- package/lib/hooks/index.js +1 -1
- package/lib/hooks/useFullscreen/index.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +99 -2
- package/lib/locale-provider/LocaleReceiver.js +2 -2
- package/lib/locale-provider/ar_EG.js +1 -1
- package/lib/locale-provider/az_AZ.js +1 -1
- package/lib/locale-provider/bg_BG.js +1 -1
- package/lib/locale-provider/bn_BD.js +1 -1
- package/lib/locale-provider/by_BY.js +1 -1
- package/lib/locale-provider/ca_ES.js +1 -1
- package/lib/locale-provider/cs_CZ.js +1 -1
- package/lib/locale-provider/da_DK.js +1 -1
- package/lib/locale-provider/de_DE.js +1 -1
- package/lib/locale-provider/default.js +1 -1
- package/lib/locale-provider/el_GR.js +1 -1
- package/lib/locale-provider/en_GB.js +1 -1
- package/lib/locale-provider/en_US.js +1 -1
- package/lib/locale-provider/es_ES.js +1 -1
- package/lib/locale-provider/et_EE.js +1 -1
- package/lib/locale-provider/fa_IR.js +1 -1
- package/lib/locale-provider/fi_FI.js +1 -1
- package/lib/locale-provider/fr_BE.js +1 -1
- package/lib/locale-provider/fr_CA.js +1 -1
- package/lib/locale-provider/fr_FR.js +1 -1
- package/lib/locale-provider/ga_IE.js +1 -1
- package/lib/locale-provider/gl_ES.js +1 -1
- package/lib/locale-provider/he_IL.js +1 -1
- package/lib/locale-provider/hi_IN.js +1 -1
- package/lib/locale-provider/hr_HR.js +1 -1
- package/lib/locale-provider/hu_HU.js +1 -1
- package/lib/locale-provider/hy_AM.js +1 -1
- package/lib/locale-provider/id_ID.js +1 -1
- package/lib/locale-provider/index.js +2 -2
- package/lib/locale-provider/is_IS.js +1 -1
- package/lib/locale-provider/it_IT.js +1 -1
- package/lib/locale-provider/ja_JP.js +1 -1
- package/lib/locale-provider/ka_GE.js +1 -1
- package/lib/locale-provider/kk_KZ.js +1 -1
- package/lib/locale-provider/km_KH.js +1 -1
- package/lib/locale-provider/kmr_IQ.js +1 -1
- package/lib/locale-provider/kn_IN.js +1 -1
- package/lib/locale-provider/ko_KR.js +1 -1
- package/lib/locale-provider/ku_IQ.js +1 -1
- package/lib/locale-provider/lt_LT.js +1 -1
- package/lib/locale-provider/lv_LV.js +1 -1
- package/lib/locale-provider/mk_MK.js +1 -1
- package/lib/locale-provider/ml_IN.js +1 -1
- package/lib/locale-provider/mn_MN.js +1 -1
- package/lib/locale-provider/ms_MY.js +1 -1
- package/lib/locale-provider/nb_NO.js +1 -1
- package/lib/locale-provider/ne_NP.js +1 -1
- package/lib/locale-provider/nl_BE.js +1 -1
- package/lib/locale-provider/nl_NL.js +1 -1
- package/lib/locale-provider/pl_PL.js +1 -1
- package/lib/locale-provider/pt_BR.js +1 -1
- package/lib/locale-provider/pt_PT.js +1 -1
- package/lib/locale-provider/ro_RO.js +1 -1
- package/lib/locale-provider/ru_RU.js +1 -1
- package/lib/locale-provider/si_LK.js +1 -1
- package/lib/locale-provider/sk_SK.js +1 -1
- package/lib/locale-provider/sl_SI.js +1 -1
- package/lib/locale-provider/sr_RS.js +1 -1
- package/lib/locale-provider/sv_SE.js +1 -1
- package/lib/locale-provider/ta_IN.js +1 -1
- package/lib/locale-provider/th_TH.js +1 -1
- package/lib/locale-provider/tk_TK.js +1 -1
- package/lib/locale-provider/tr_TR.js +1 -1
- package/lib/locale-provider/uk_UA.js +1 -1
- package/lib/locale-provider/ur_PK.js +1 -1
- package/lib/locale-provider/vi_VN.js +1 -1
- package/lib/locale-provider/zh_CN.js +1 -1
- package/lib/locale-provider/zh_HK.js +1 -1
- package/lib/locale-provider/zh_TW.js +1 -1
- package/lib/message/hooks/useMessage.js +2 -2
- package/lib/message/index.js +2 -2
- package/lib/notification/hooks/useNotification.js +2 -2
- package/lib/notification/index.js +5 -5
- package/lib/services/newRequest.js +4 -4
- package/lib/styles/variables.css +6153 -3
- package/package.json +2 -2
package/es/LmTable/util.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.checkIsSelectd = checkIsSelectd;
|
|
9
9
|
exports.checkStatus = checkStatus;
|
|
10
|
+
exports.getDataSourceIndex = getDataSourceIndex;
|
|
10
11
|
exports.getSelectionColText = getSelectionColText;
|
|
11
12
|
exports.getSelectionRowText = getSelectionRowText;
|
|
12
13
|
exports.getSkipList = getSkipList;
|
|
@@ -66,13 +67,13 @@ function dataGroup(data, key) {
|
|
|
66
67
|
* 列分组数据转换
|
|
67
68
|
* @param columns 表格的columns属性值
|
|
68
69
|
* @param dataSource 表格数据源
|
|
69
|
-
* @param
|
|
70
|
+
* @param groupColKeys 列分组的keys
|
|
70
71
|
* @returns
|
|
71
72
|
*/
|
|
72
73
|
|
|
73
74
|
|
|
74
|
-
function transformWithColGroup(columns, dataSource,
|
|
75
|
-
if (!Array.isArray(
|
|
75
|
+
function transformWithColGroup(columns, dataSource, groupColKeys) {
|
|
76
|
+
if (!Array.isArray(groupColKeys) || !groupColKeys.length) {
|
|
76
77
|
return {
|
|
77
78
|
columns: columns,
|
|
78
79
|
dataSource: dataSource
|
|
@@ -84,7 +85,7 @@ function transformWithColGroup(columns, dataSource, columnKeys) {
|
|
|
84
85
|
var dataSourceCopy = _lodash.default.cloneDeep(dataSource); // 去重
|
|
85
86
|
|
|
86
87
|
|
|
87
|
-
var
|
|
88
|
+
var groupColKeysCopy = (0, _toConsumableArray2.default)(new Set(groupColKeys));
|
|
88
89
|
/**
|
|
89
90
|
* @param {Array} source source数据源,树状结构,行分组会有children子级结构
|
|
90
91
|
* @param {Array} columns 列数据,用于表头,当列分组时会有children子级结构
|
|
@@ -101,7 +102,7 @@ function transformWithColGroup(columns, dataSource, columnKeys) {
|
|
|
101
102
|
source.forEach(function (souItem, i) {
|
|
102
103
|
handledColumns = handledColumns.concat(columns.filter(function (c) {
|
|
103
104
|
// 过滤掉(表头操作) 使用列分组作为key的项
|
|
104
|
-
return
|
|
105
|
+
return groupColKeysCopy.indexOf(c.dataIndex) === -1;
|
|
105
106
|
}).map(function (item) {
|
|
106
107
|
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, item), {}, {
|
|
107
108
|
dataIndex: "".concat(markStr, "_").concat(item.dataIndex, "_").concat(i)
|
|
@@ -126,7 +127,7 @@ function transformWithColGroup(columns, dataSource, columnKeys) {
|
|
|
126
127
|
});
|
|
127
128
|
};
|
|
128
129
|
|
|
129
|
-
var tempColumns = groupBy(dataSourceCopy, columnsCopy,
|
|
130
|
+
var tempColumns = groupBy(dataSourceCopy, columnsCopy, groupColKeysCopy, null);
|
|
130
131
|
var keyMap = new Map();
|
|
131
132
|
|
|
132
133
|
var dataSourceBy = function dataSourceBy(source) {
|
|
@@ -142,7 +143,7 @@ function transformWithColGroup(columns, dataSource, columnKeys) {
|
|
|
142
143
|
} else {
|
|
143
144
|
var str = ''; // 根据筛选条件生成对应的前缀key值,比如[name, age] => 'name_xiaoming_age_18'
|
|
144
145
|
|
|
145
|
-
|
|
146
|
+
groupColKeysCopy.forEach(function (dataIndex, i) {
|
|
146
147
|
if (i !== 0) {
|
|
147
148
|
str += '_';
|
|
148
149
|
}
|
|
@@ -163,6 +164,7 @@ function transformWithColGroup(columns, dataSource, columnKeys) {
|
|
|
163
164
|
}
|
|
164
165
|
|
|
165
166
|
sItem[newKey] = sItem[key];
|
|
167
|
+
sItem["".concat(newKey, "_originIndex")] = sItem.__index;
|
|
166
168
|
});
|
|
167
169
|
}
|
|
168
170
|
|
|
@@ -183,32 +185,44 @@ function transformWithColGroup(columns, dataSource, columnKeys) {
|
|
|
183
185
|
/**
|
|
184
186
|
* 行分组
|
|
185
187
|
* @param {Array} dataSource 数据源
|
|
186
|
-
* @param {Array}
|
|
188
|
+
* @param {Array} groupRowKeys 行分组的keys
|
|
187
189
|
* @returns
|
|
188
190
|
*/
|
|
189
191
|
|
|
190
192
|
|
|
191
|
-
function transformWithRowGroup(dataSource,
|
|
192
|
-
var groupBy = function groupBy(lastFilter, oGroup) {
|
|
193
|
+
function transformWithRowGroup(dataSource, groupRowKeys) {
|
|
194
|
+
var groupBy = function groupBy(lastFilter, oGroup, preKey) {
|
|
193
195
|
if (!(oGroup === null || oGroup === void 0 ? void 0 : oGroup.length)) return lastFilter;
|
|
194
196
|
var group = oGroup.slice();
|
|
195
|
-
var filterKey = group.shift();
|
|
197
|
+
var filterKey = group.shift(); // i:保证顺序
|
|
198
|
+
|
|
199
|
+
var i = 0;
|
|
196
200
|
var map = lastFilter.reduce(function (acc, el) {
|
|
201
|
+
el.__index = i;
|
|
202
|
+
i += 1;
|
|
197
203
|
var value = el[filterKey];
|
|
198
204
|
acc[value] = [].concat((0, _toConsumableArray2.default)(acc[value] || []), [el]);
|
|
199
205
|
return acc;
|
|
200
206
|
}, {});
|
|
201
207
|
return Object.keys(map).map(function (item) {
|
|
208
|
+
var key;
|
|
209
|
+
|
|
210
|
+
if (preKey) {
|
|
211
|
+
key = "".concat(preKey, "_").concat(filterKey, "_").concat(item);
|
|
212
|
+
} else {
|
|
213
|
+
key = "".concat(filterKey, "_").concat(item);
|
|
214
|
+
}
|
|
215
|
+
|
|
202
216
|
return {
|
|
203
217
|
type: filterKey,
|
|
204
|
-
|
|
205
|
-
key:
|
|
206
|
-
children: groupBy(map[item], group)
|
|
218
|
+
_group: item,
|
|
219
|
+
key: key,
|
|
220
|
+
children: groupBy(map[item], group, key)
|
|
207
221
|
};
|
|
208
222
|
});
|
|
209
223
|
};
|
|
210
224
|
|
|
211
|
-
return groupBy(dataSource,
|
|
225
|
+
return groupBy(dataSource, groupRowKeys);
|
|
212
226
|
}
|
|
213
227
|
|
|
214
228
|
function checkIsSelectd(i, j) {
|
|
@@ -243,10 +257,10 @@ function checkStatus(i, j, commiting) {
|
|
|
243
257
|
function getSkipList(dataSourceWithGroup) {
|
|
244
258
|
var skipList = dataSourceWithGroup.reduce(function (prev, cur) {
|
|
245
259
|
if (!prev.length) {
|
|
246
|
-
return cur.
|
|
260
|
+
return cur._group ? [1] : [0];
|
|
247
261
|
}
|
|
248
262
|
|
|
249
|
-
if (cur.
|
|
263
|
+
if (cur._group) {
|
|
250
264
|
return [].concat((0, _toConsumableArray2.default)(prev), [prev[prev.length - 1] + 1]);
|
|
251
265
|
}
|
|
252
266
|
|
|
@@ -309,4 +323,43 @@ function getSelectionColText(_ref2) {
|
|
|
309
323
|
});
|
|
310
324
|
});
|
|
311
325
|
return coltext;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* 获取key所对应的原始数据的索引
|
|
329
|
+
* @param {Object} {key, dataSource}
|
|
330
|
+
* @returns {number}
|
|
331
|
+
*/
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
function getDataSourceIndex(_ref3) {
|
|
335
|
+
var key = _ref3.key,
|
|
336
|
+
_ref3$dataSource = _ref3.dataSource,
|
|
337
|
+
dataSource = _ref3$dataSource === void 0 ? [] : _ref3$dataSource;
|
|
338
|
+
var index = -1;
|
|
339
|
+
|
|
340
|
+
var dfs = function dfs(arr) {
|
|
341
|
+
if (!Array.isArray(arr)) {
|
|
342
|
+
return;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
if (index !== -1) {
|
|
346
|
+
return;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
350
|
+
var item = arr[i];
|
|
351
|
+
|
|
352
|
+
if (item["".concat(key, "_originIndex")] !== undefined) {
|
|
353
|
+
index = item["".concat(key, "_originIndex")];
|
|
354
|
+
return;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
if (item.children) {
|
|
358
|
+
dfs(item.children);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
dfs(dataSource);
|
|
364
|
+
return index;
|
|
312
365
|
}
|
package/es/LmUpload/fns/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
1
2
|
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
2
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
3
|
|
|
4
4
|
var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
5
5
|
function adopt(value) {
|
|
@@ -155,10 +155,10 @@ var useCoreOptions = function useCoreOptions(_ref) {
|
|
|
155
155
|
}, [props.onError, getFileList, onChange]); // 上传至ali-oss
|
|
156
156
|
|
|
157
157
|
var uploadOss = useCallback(function (file) {
|
|
158
|
-
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
158
|
+
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
159
159
|
var _ossConfig, _ossConfig$dir, filePath, shortlink, _ossConfig$region, region, accessKeyId, accessKeySecret, stsToken, _ossConfig$bucket, bucket, ossCallBack, client, timestamp, fileName, pathName, url, params;
|
|
160
160
|
|
|
161
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
161
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
162
162
|
while (1) {
|
|
163
163
|
switch (_context.prev = _context.next) {
|
|
164
164
|
case 0:
|
|
@@ -254,10 +254,10 @@ var useCoreOptions = function useCoreOptions(_ref) {
|
|
|
254
254
|
}, [type, fileSize, uploadOss, customUpload]); // 删除事件
|
|
255
255
|
|
|
256
256
|
var remove = useCallback(function (file) {
|
|
257
|
-
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
257
|
+
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
258
258
|
var _a, _b, res, fileList;
|
|
259
259
|
|
|
260
|
-
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
260
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
261
261
|
while (1) {
|
|
262
262
|
switch (_context2.prev = _context2.next) {
|
|
263
263
|
case 0:
|
package/es/LoadingPage/index.js
CHANGED
package/es/Radio/index.js
CHANGED
package/es/UploadOss/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard")
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
4
|
|
|
5
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard")
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
4
|
|
|
5
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
package/es/VirtualList/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard")
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
package/es/_util/placements.d.ts
CHANGED
package/es/index.d.ts
CHANGED
|
@@ -119,3 +119,4 @@ export { default as Descriptions } from './Descriptions';
|
|
|
119
119
|
export type { DescriptionsProps } from './Descriptions';
|
|
120
120
|
export { default as FullScreen } from './FullScreen';
|
|
121
121
|
export type { IFullScreenProps } from './FullScreen';
|
|
122
|
+
export * from './LmImgList';
|
package/es/index.js
CHANGED
|
@@ -78,4 +78,5 @@ export { default as Avatar } from './Avatar';
|
|
|
78
78
|
export { default as Divider } from './Divider';
|
|
79
79
|
export { default as Skeleton } from './Skeleton';
|
|
80
80
|
export { default as Descriptions } from './Descriptions';
|
|
81
|
-
export { default as FullScreen } from './FullScreen';
|
|
81
|
+
export { default as FullScreen } from './FullScreen';
|
|
82
|
+
export * from './LmImgList';
|
package/es/notification/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
1
2
|
import "antd/es/notification/style";
|
|
2
3
|
import _notification from "antd/es/notification";
|
|
3
4
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
5
5
|
|
|
6
6
|
var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
7
7
|
function adopt(value) {
|
|
@@ -324,8 +324,8 @@ api.antdNotification = _notification;
|
|
|
324
324
|
/** @private test Only function. Not work on production */
|
|
325
325
|
|
|
326
326
|
export var getInstance = function getInstance(cacheKey) {
|
|
327
|
-
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
328
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
327
|
+
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
328
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
329
329
|
while (1) {
|
|
330
330
|
switch (_context.prev = _context.next) {
|
|
331
331
|
case 0:
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _regeneratorRuntime2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/regeneratorRuntime"));
|
|
11
11
|
|
|
12
12
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
13
13
|
|
|
@@ -141,9 +141,9 @@ instance.interceptors.response.use(function (response) {
|
|
|
141
141
|
});
|
|
142
142
|
|
|
143
143
|
var request = /*#__PURE__*/function () {
|
|
144
|
-
var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/
|
|
144
|
+
var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/(0, _regeneratorRuntime2.default)().mark(function _callee(opt) {
|
|
145
145
|
var options, res;
|
|
146
|
-
return
|
|
146
|
+
return (0, _regeneratorRuntime2.default)().wrap(function _callee$(_context) {
|
|
147
147
|
while (1) {
|
|
148
148
|
switch (_context.prev = _context.next) {
|
|
149
149
|
case 0:
|