linkmore-design 1.0.89 → 1.0.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Affix/style/variables.d.ts +1 -0
- package/dist/Alert/style/variables.d.ts +1 -0
- package/dist/Approval/style/variables.d.ts +1 -0
- package/dist/AutoComplete/style/variables.d.ts +1 -0
- package/dist/Avatar/style/variables.d.ts +1 -0
- package/dist/Badge/style/variables.d.ts +1 -0
- package/dist/Box/style/variables.d.ts +1 -0
- package/dist/Breadcrumb/style/variables.d.ts +1 -0
- package/dist/ButtonTags/style/variables.d.ts +1 -0
- package/dist/Calendar/style/variables.d.ts +1 -0
- package/dist/Card/style/variables.d.ts +1 -0
- package/dist/CardTable/style/variables.d.ts +1 -0
- package/dist/Carousel/style/variables.d.ts +1 -0
- package/dist/Cascader/style/variables.d.ts +1 -0
- package/dist/Checkbox/style/variables.d.ts +1 -0
- package/dist/Col/style/variables.d.ts +1 -0
- package/dist/Collapse/style/variables.d.ts +1 -0
- package/dist/Comment/style/variables.d.ts +1 -0
- package/dist/ConfigProvider/style/variables.d.ts +1 -0
- package/dist/CustomTableOption/style/variables.d.ts +1 -0
- package/dist/CustomerService/style/variables.d.ts +1 -0
- package/dist/DatePicker/style/variables.d.ts +1 -0
- package/dist/Descriptions/style/variables.d.ts +1 -0
- package/dist/Divider/style/variables.d.ts +1 -0
- package/dist/Drawer/style/variables.d.ts +1 -0
- package/dist/Dropdown/style/variables.d.ts +1 -0
- package/dist/EditTable/style/variables.d.ts +1 -0
- package/dist/Empty/style/variables.d.ts +1 -0
- package/dist/EnlargeImg/style/variables.d.ts +1 -0
- package/dist/Filter/style/variables.d.ts +1 -0
- package/dist/Form/style/variables.d.ts +1 -0
- package/dist/FullScreen/style/variables.d.ts +1 -0
- package/dist/Grid/style/variables.d.ts +1 -0
- package/dist/Icon/style/variables.d.ts +1 -0
- package/dist/IconFont/style/variables.d.ts +1 -0
- package/dist/IconSelect/style/variables.d.ts +1 -0
- package/dist/Image/style/variables.d.ts +1 -0
- package/dist/ImageViewer/style/variables.d.ts +1 -0
- package/dist/Input/style/variables.d.ts +1 -0
- package/dist/InputNumber/style/variables.d.ts +1 -0
- package/dist/Layout/style/variables.d.ts +1 -0
- package/dist/LeftTable/style/variables.d.ts +1 -0
- package/dist/List/style/variables.d.ts +1 -0
- package/dist/LmEditTable/style/variables.d.ts +1 -0
- package/dist/LmFilter/style/variables.d.ts +1 -0
- package/dist/LmSelect/style/variables.d.ts +1 -0
- package/dist/LmTable/style/variables.d.ts +1 -0
- package/dist/LmUpload/style/variables.d.ts +1 -0
- package/dist/LoadingPage/style/variables.d.ts +1 -0
- package/dist/Mentions/style/variables.d.ts +1 -0
- package/dist/Menu/style/variables.d.ts +1 -0
- package/dist/Modal/index.d.ts +1 -0
- package/dist/Modal/style/variables.d.ts +1 -0
- package/dist/PageHeader/style/variables.d.ts +1 -0
- package/dist/Pagination/style/variables.d.ts +1 -0
- package/dist/Popconfirm/style/variables.d.ts +1 -0
- package/dist/Popover/style/variables.d.ts +1 -0
- package/dist/Progress/style/variables.d.ts +1 -0
- package/dist/QuickMenu/style/variables.d.ts +1 -0
- package/dist/Radio/style/variables.d.ts +1 -0
- package/dist/Rate/style/variables.d.ts +1 -0
- package/dist/Result/style/variables.d.ts +1 -0
- package/dist/Row/style/variables.d.ts +1 -0
- package/dist/Segmented/style/variables.d.ts +1 -0
- package/dist/Select/index.d.ts +2 -9
- package/dist/Select/style/variables.d.ts +1 -0
- package/dist/Skeleton/style/variables.d.ts +1 -0
- package/dist/Slider/style/variables.d.ts +1 -0
- package/dist/Space/style/variables.d.ts +1 -0
- package/dist/Spin/style/variables.d.ts +1 -0
- package/dist/Statistic/style/variables.d.ts +1 -0
- package/dist/Steps/style/variables.d.ts +1 -0
- package/dist/Switch/style/variables.d.ts +1 -0
- package/dist/Table/style/variables.d.ts +1 -0
- package/dist/Tabs/TabPane.d.ts +5 -0
- package/dist/Tabs/hooks/useAnimateConfig.d.ts +3 -0
- package/dist/Tabs/hooks/useLegacyItems.d.ts +4 -0
- package/dist/Tabs/index.d.ts +21 -10
- package/dist/Tabs/index.old.d.ts +12 -0
- package/dist/Tabs/style/variables.d.ts +1 -0
- package/dist/Tag/style/variables.d.ts +1 -0
- package/dist/TestTable/style/variables.d.ts +1 -0
- package/dist/TimePicker/style/variables.d.ts +1 -0
- package/dist/Timeline/style/variables.d.ts +1 -0
- package/dist/Tooltip/style/variables.d.ts +1 -0
- package/dist/Transfer/style/variables.d.ts +1 -0
- package/dist/Tree/style/variables.d.ts +1 -0
- package/dist/TreeSelect/style/variables.d.ts +1 -0
- package/dist/Typography/style/variables.d.ts +1 -0
- package/dist/Upload/style/variables.d.ts +1 -0
- package/dist/UploadOss/style/variables.d.ts +1 -0
- package/dist/VirtualList/style/variables.d.ts +1 -0
- package/{es/InputRange/style/index.css → dist/base.css} +0 -0
- package/dist/index.d.ts +0 -2
- package/dist/index.umd.js +32852 -30078
- package/dist/index.umd.min.js +21 -21
- package/dist/locale-provider/style/variables.d.ts +1 -0
- package/dist/message/style/variables.d.ts +1 -0
- package/dist/notification/style/variables.d.ts +1 -0
- package/dist/styles/index.d.ts +1 -0
- package/es/Affix/style/variables.css +0 -0
- package/es/Affix/style/variables.d.ts +1 -0
- package/es/Affix/style/variables.js +1 -0
- package/es/Alert/style/variables.css +26 -0
- package/es/Alert/style/variables.d.ts +1 -0
- package/es/Alert/style/variables.js +1 -0
- package/es/Approval/style/variables.css +199 -0
- package/es/Approval/style/variables.d.ts +1 -0
- package/es/Approval/style/variables.js +1 -0
- package/es/AutoComplete/style/variables.css +0 -0
- package/es/AutoComplete/style/variables.d.ts +1 -0
- package/es/AutoComplete/style/variables.js +1 -0
- package/es/Avatar/style/variables.css +0 -0
- package/es/Avatar/style/variables.d.ts +1 -0
- package/es/Avatar/style/variables.js +1 -0
- package/es/Badge/style/variables.css +0 -0
- package/es/Badge/style/variables.d.ts +1 -0
- package/es/Badge/style/variables.js +1 -0
- package/es/Box/style/variables.css +10 -0
- package/es/Breadcrumb/style/variables.css +0 -0
- package/es/Breadcrumb/style/variables.d.ts +1 -0
- package/es/Breadcrumb/style/variables.js +1 -0
- package/es/Button/style/variables.css +118 -0
- package/es/ButtonTags/style/variables.css +72 -0
- package/es/Calendar/style/variables.css +0 -0
- package/es/Calendar/style/variables.d.ts +1 -0
- package/es/Calendar/style/variables.js +1 -0
- package/es/Card/style/variables.css +0 -0
- package/es/Card/style/variables.d.ts +1 -0
- package/es/Card/style/variables.js +1 -0
- package/es/CardTable/style/variables.css +453 -0
- package/es/Carousel/style/variables.css +0 -0
- package/es/Carousel/style/variables.d.ts +1 -0
- package/es/Carousel/style/variables.js +1 -0
- package/es/Cascader/style/variables.css +15 -0
- package/es/Cascader/style/variables.d.ts +1 -0
- package/es/Cascader/style/variables.js +1 -0
- package/es/Checkbox/style/variables.css +128 -0
- package/es/Col/style/variables.css +0 -0
- package/es/Col/style/variables.d.ts +1 -0
- package/es/Col/style/variables.js +1 -0
- package/es/Collapse/style/variables.css +0 -0
- package/es/Collapse/style/variables.d.ts +1 -0
- package/es/Collapse/style/variables.js +1 -0
- package/es/Comment/style/variables.css +0 -0
- package/es/Comment/style/variables.d.ts +1 -0
- package/es/Comment/style/variables.js +1 -0
- package/es/ConfigProvider/style/variables.css +141 -0
- package/es/CustomTableOption/style/variables.css +99 -0
- package/es/CustomTableOption/style/variables.d.ts +1 -0
- package/es/CustomTableOption/style/variables.js +1 -0
- package/es/CustomerService/style/variables.css +253 -0
- package/es/DatePicker/style/variables.css +0 -0
- package/es/DatePicker/style/variables.d.ts +1 -0
- package/es/DatePicker/style/variables.js +1 -0
- package/es/Descriptions/style/index.css +139 -139
- package/es/Descriptions/style/variables.css +172 -0
- package/es/Descriptions/style/variables.d.ts +1 -0
- package/es/Descriptions/style/variables.js +1 -0
- package/es/Divider/style/variables.css +0 -0
- package/es/Divider/style/variables.d.ts +1 -0
- package/es/Divider/style/variables.js +1 -0
- package/es/Drawer/style/variables.css +8 -0
- package/es/Drawer/style/variables.d.ts +1 -0
- package/es/Drawer/style/variables.js +1 -0
- package/es/Dropdown/style/variables.css +86 -0
- package/es/Dropdown/style/variables.d.ts +1 -0
- package/es/Dropdown/style/variables.js +1 -0
- package/es/EditTable/style/variables.css +178 -0
- package/es/Empty/style/variables.css +44 -0
- package/es/Empty/style/variables.d.ts +1 -0
- package/es/Empty/style/variables.js +1 -0
- package/es/EnlargeImg/style/variables.css +4 -0
- package/es/Filter/style/variables.css +271 -0
- package/es/Form/style/variables.css +181 -0
- package/es/Form/style/variables.d.ts +1 -0
- package/es/Form/style/variables.js +1 -0
- package/es/FullScreen/style/variables.css +10 -0
- package/es/FullScreen/style/variables.d.ts +1 -0
- package/es/FullScreen/style/variables.js +1 -0
- package/es/Grid/style/variables.css +0 -0
- package/es/Grid/style/variables.d.ts +1 -0
- package/es/Grid/style/variables.js +1 -0
- package/es/Icon/style/variables.css +0 -0
- package/es/IconFont/style/variables.css +0 -0
- package/es/IconSelect/style/variables.css +25 -0
- package/es/Image/style/variables.css +0 -0
- package/es/Image/style/variables.d.ts +1 -0
- package/es/Image/style/variables.js +1 -0
- package/es/ImageViewer/style/variables.css +118 -0
- package/{lib/InputRange/style/index.css → es/Input/style/variables.css} +262 -0
- package/es/Input/style/variables.d.ts +1 -0
- package/es/Input/style/variables.js +1 -0
- package/es/InputNumber/style/variables.css +35 -0
- package/es/InputNumber/style/variables.d.ts +1 -0
- package/es/InputNumber/style/variables.js +1 -0
- package/es/Layout/style/variables.css +0 -0
- package/es/Layout/style/variables.d.ts +1 -0
- package/es/Layout/style/variables.js +1 -0
- package/es/LeftTable/style/variables.css +161 -0
- package/es/List/style/variables.css +0 -0
- package/es/List/style/variables.d.ts +1 -0
- package/es/List/style/variables.js +1 -0
- package/es/LmEditTable/EditTable.js +10 -3
- package/es/LmEditTable/style/variables.css +89 -0
- package/es/LmEditTable/style/variables.d.ts +1 -0
- package/es/LmEditTable/style/variables.js +1 -0
- package/es/LmFilter/style/variables.css +425 -0
- package/es/LmSelect/style/variables.css +247 -0
- package/es/LmSelect/style/variables.d.ts +1 -0
- package/es/LmSelect/style/variables.js +1 -0
- package/es/LmTable/style/variables.css +1046 -0
- package/es/LmUpload/style/variables.css +218 -0
- package/es/LoadingPage/style/variables.css +0 -0
- package/es/Mentions/style/variables.css +0 -0
- package/es/Mentions/style/variables.d.ts +1 -0
- package/es/Mentions/style/variables.js +1 -0
- package/es/Menu/style/variables.css +0 -0
- package/es/Menu/style/variables.d.ts +1 -0
- package/es/Menu/style/variables.js +1 -0
- package/es/Modal/index.d.ts +1 -0
- package/es/Modal/index.js +8 -3
- package/es/Modal/style/variables.css +35 -0
- package/es/Modal/style/variables.d.ts +1 -0
- package/es/Modal/style/variables.js +1 -0
- package/es/PageHeader/style/variables.css +0 -0
- package/es/PageHeader/style/variables.d.ts +1 -0
- package/es/PageHeader/style/variables.js +1 -0
- package/es/Pagination/style/variables.css +49 -0
- package/es/Pagination/style/variables.d.ts +1 -0
- package/es/Pagination/style/variables.js +1 -0
- package/es/Popconfirm/style/variables.css +0 -0
- package/es/Popconfirm/style/variables.d.ts +1 -0
- package/es/Popconfirm/style/variables.js +1 -0
- package/es/Popover/style/variables.css +0 -0
- package/es/Popover/style/variables.d.ts +1 -0
- package/es/Popover/style/variables.js +1 -0
- package/es/Progress/style/variables.css +0 -0
- package/es/Progress/style/variables.d.ts +1 -0
- package/es/Progress/style/variables.js +1 -0
- package/es/QuickMenu/style/variables.css +56 -0
- package/es/QuickMenu/style/variables.d.ts +1 -0
- package/es/QuickMenu/style/variables.js +1 -0
- package/es/Radio/style/variables.css +141 -0
- package/es/Rate/style/variables.css +0 -0
- package/es/Rate/style/variables.d.ts +1 -0
- package/es/Rate/style/variables.js +1 -0
- package/es/Result/style/variables.css +0 -0
- package/es/Result/style/variables.d.ts +1 -0
- package/es/Result/style/variables.js +1 -0
- package/es/Row/style/variables.css +0 -0
- package/es/Row/style/variables.d.ts +1 -0
- package/es/Row/style/variables.js +1 -0
- package/es/Segmented/style/variables.css +0 -0
- package/es/Segmented/style/variables.d.ts +1 -0
- package/es/Segmented/style/variables.js +1 -0
- package/es/Select/index.d.ts +2 -9
- package/es/Select/style/variables.css +15 -0
- package/es/Select/style/variables.d.ts +1 -0
- package/es/Select/style/variables.js +1 -0
- package/es/Skeleton/style/variables.css +0 -0
- package/es/Skeleton/style/variables.d.ts +1 -0
- package/es/Skeleton/style/variables.js +1 -0
- package/es/Slider/style/variables.css +0 -0
- package/es/Slider/style/variables.d.ts +1 -0
- package/es/Slider/style/variables.js +1 -0
- package/es/Space/style/variables.css +0 -0
- package/es/Space/style/variables.d.ts +1 -0
- package/es/Space/style/variables.js +1 -0
- package/es/Spin/style/variables.css +0 -0
- package/es/Spin/style/variables.d.ts +1 -0
- package/es/Spin/style/variables.js +1 -0
- package/es/Statistic/style/variables.css +0 -0
- package/es/Statistic/style/variables.d.ts +1 -0
- package/es/Statistic/style/variables.js +1 -0
- package/es/Steps/style/variables.css +0 -0
- package/es/Steps/style/variables.d.ts +1 -0
- package/es/Steps/style/variables.js +1 -0
- package/es/Switch/style/variables.css +41 -0
- package/es/Switch/style/variables.d.ts +1 -0
- package/es/Switch/style/variables.js +1 -0
- package/es/Table/style/variables.css +0 -0
- package/es/Table/style/variables.d.ts +1 -0
- package/es/Table/style/variables.js +1 -0
- package/es/Tabs/TabPane.d.ts +5 -0
- package/es/Tabs/TabPane.js +9 -0
- package/es/Tabs/hooks/useAnimateConfig.d.ts +3 -0
- package/es/Tabs/hooks/useAnimateConfig.js +38 -0
- package/es/Tabs/hooks/useLegacyItems.d.ts +4 -0
- package/es/Tabs/hooks/useLegacyItems.js +50 -0
- package/es/Tabs/index.d.ts +21 -10
- package/es/Tabs/index.js +73 -19
- package/es/Tabs/index.old.d.ts +12 -0
- package/es/Tabs/index.old.js +38 -0
- package/es/Tabs/style/index.css +40 -0
- package/es/Tabs/style/variables.css +46 -0
- package/es/Tabs/style/variables.d.ts +1 -0
- package/es/Tabs/style/variables.js +1 -0
- package/es/Tag/style/variables.css +64 -0
- package/es/Tag/style/variables.d.ts +1 -0
- package/es/Tag/style/variables.js +1 -0
- package/es/TestTable/style/variables.css +10 -0
- package/es/TimePicker/style/variables.css +0 -0
- package/es/TimePicker/style/variables.d.ts +1 -0
- package/es/TimePicker/style/variables.js +1 -0
- package/es/Timeline/style/variables.css +3 -0
- package/es/Timeline/style/variables.d.ts +1 -0
- package/es/Timeline/style/variables.js +1 -0
- package/es/Tooltip/style/variables.css +0 -0
- package/es/Tooltip/style/variables.d.ts +1 -0
- package/es/Tooltip/style/variables.js +1 -0
- package/es/Transfer/style/variables.css +0 -0
- package/es/Transfer/style/variables.d.ts +1 -0
- package/es/Transfer/style/variables.js +1 -0
- package/es/Tree/style/variables.css +12 -0
- package/es/Tree/style/variables.d.ts +1 -0
- package/es/Tree/style/variables.js +1 -0
- package/es/TreeSelect/style/variables.css +0 -0
- package/es/TreeSelect/style/variables.d.ts +1 -0
- package/es/TreeSelect/style/variables.js +1 -0
- package/es/Typography/style/variables.css +0 -0
- package/es/Typography/style/variables.d.ts +1 -0
- package/es/Typography/style/variables.js +1 -0
- package/es/Upload/style/variables.css +35 -0
- package/es/Upload/style/variables.d.ts +1 -0
- package/es/Upload/style/variables.js +1 -0
- package/es/UploadOss/style/variables.css +121 -0
- package/es/VirtualList/style/variables.css +0 -0
- package/es/index.d.ts +0 -2
- package/es/index.js +0 -1
- package/es/locale-provider/style/variables.css +0 -0
- package/es/locale-provider/style/variables.d.ts +1 -0
- package/es/locale-provider/style/variables.js +1 -0
- package/es/message/style/variables.css +31 -0
- package/es/message/style/variables.d.ts +1 -0
- package/es/message/style/variables.js +1 -0
- package/es/notification/style/variables.css +41 -0
- package/es/notification/style/variables.d.ts +1 -0
- package/es/notification/style/variables.js +1 -0
- package/es/styles/index.d.ts +1 -0
- package/es/styles/index.js +1 -0
- package/es/styles/variables.css +6698 -0
- package/lib/Affix/style/variables.css +0 -0
- package/lib/Affix/style/variables.d.ts +1 -0
- package/lib/Affix/style/variables.js +3 -0
- package/lib/Alert/style/variables.css +26 -0
- package/lib/Alert/style/variables.d.ts +1 -0
- package/lib/Alert/style/variables.js +3 -0
- package/lib/Approval/style/variables.css +199 -0
- package/lib/Approval/style/variables.d.ts +1 -0
- package/lib/Approval/style/variables.js +3 -0
- package/lib/AutoComplete/style/variables.css +0 -0
- package/lib/AutoComplete/style/variables.d.ts +1 -0
- package/lib/AutoComplete/style/variables.js +3 -0
- package/lib/Avatar/style/variables.css +0 -0
- package/lib/Avatar/style/variables.d.ts +1 -0
- package/lib/Avatar/style/variables.js +3 -0
- package/lib/Badge/style/variables.css +0 -0
- package/lib/Badge/style/variables.d.ts +1 -0
- package/lib/Badge/style/variables.js +3 -0
- package/lib/Box/style/variables.css +10 -0
- package/lib/Breadcrumb/style/variables.css +0 -0
- package/lib/Breadcrumb/style/variables.d.ts +1 -0
- package/lib/Breadcrumb/style/variables.js +3 -0
- package/lib/Button/style/variables.css +118 -0
- package/lib/ButtonTags/style/variables.css +72 -0
- package/lib/Calendar/style/variables.css +0 -0
- package/lib/Calendar/style/variables.d.ts +1 -0
- package/lib/Calendar/style/variables.js +3 -0
- package/lib/Card/style/variables.css +0 -0
- package/lib/Card/style/variables.d.ts +1 -0
- package/lib/Card/style/variables.js +3 -0
- package/lib/CardTable/style/variables.css +453 -0
- package/lib/Carousel/style/variables.css +0 -0
- package/lib/Carousel/style/variables.d.ts +1 -0
- package/lib/Carousel/style/variables.js +3 -0
- package/lib/Cascader/style/variables.css +15 -0
- package/lib/Cascader/style/variables.d.ts +1 -0
- package/lib/Cascader/style/variables.js +3 -0
- package/lib/Checkbox/style/variables.css +128 -0
- package/lib/Col/style/variables.css +0 -0
- package/lib/Col/style/variables.d.ts +1 -0
- package/lib/Col/style/variables.js +3 -0
- package/lib/Collapse/style/variables.css +0 -0
- package/lib/Collapse/style/variables.d.ts +1 -0
- package/lib/Collapse/style/variables.js +3 -0
- package/lib/Comment/style/variables.css +0 -0
- package/lib/Comment/style/variables.d.ts +1 -0
- package/lib/Comment/style/variables.js +3 -0
- package/lib/ConfigProvider/style/variables.css +141 -0
- package/lib/CustomTableOption/style/variables.css +99 -0
- package/lib/CustomTableOption/style/variables.d.ts +1 -0
- package/lib/CustomTableOption/style/variables.js +3 -0
- package/lib/CustomerService/style/variables.css +253 -0
- package/lib/DatePicker/style/variables.css +0 -0
- package/lib/DatePicker/style/variables.d.ts +1 -0
- package/lib/DatePicker/style/variables.js +3 -0
- package/lib/Descriptions/style/index.css +139 -139
- package/lib/Descriptions/style/variables.css +172 -0
- package/lib/Descriptions/style/variables.d.ts +1 -0
- package/lib/Descriptions/style/variables.js +3 -0
- package/lib/Divider/style/variables.css +0 -0
- package/lib/Divider/style/variables.d.ts +1 -0
- package/lib/Divider/style/variables.js +3 -0
- package/lib/Drawer/style/variables.css +8 -0
- package/lib/Drawer/style/variables.d.ts +1 -0
- package/lib/Drawer/style/variables.js +3 -0
- package/lib/Dropdown/style/variables.css +86 -0
- package/lib/Dropdown/style/variables.d.ts +1 -0
- package/lib/Dropdown/style/variables.js +3 -0
- package/lib/EditTable/style/variables.css +178 -0
- package/lib/Empty/style/variables.css +44 -0
- package/lib/Empty/style/variables.d.ts +1 -0
- package/lib/Empty/style/variables.js +3 -0
- package/lib/EnlargeImg/style/variables.css +4 -0
- package/lib/Filter/style/variables.css +271 -0
- package/lib/Form/style/variables.css +181 -0
- package/lib/Form/style/variables.d.ts +1 -0
- package/lib/Form/style/variables.js +3 -0
- package/lib/FullScreen/style/variables.css +10 -0
- package/lib/FullScreen/style/variables.d.ts +1 -0
- package/lib/FullScreen/style/variables.js +3 -0
- package/lib/Grid/style/variables.css +0 -0
- package/lib/Grid/style/variables.d.ts +1 -0
- package/lib/Grid/style/variables.js +3 -0
- package/lib/Icon/style/variables.css +0 -0
- package/lib/IconFont/style/variables.css +0 -0
- package/lib/IconSelect/style/variables.css +25 -0
- package/lib/Image/style/variables.css +0 -0
- package/lib/Image/style/variables.d.ts +1 -0
- package/lib/Image/style/variables.js +3 -0
- package/lib/ImageViewer/style/variables.css +118 -0
- package/lib/Input/style/variables.css +773 -0
- package/lib/Input/style/variables.d.ts +1 -0
- package/lib/Input/style/variables.js +3 -0
- package/lib/InputNumber/style/variables.css +35 -0
- package/lib/InputNumber/style/variables.d.ts +1 -0
- package/lib/InputNumber/style/variables.js +3 -0
- package/lib/Layout/style/variables.css +0 -0
- package/lib/Layout/style/variables.d.ts +1 -0
- package/lib/Layout/style/variables.js +3 -0
- package/lib/LeftTable/style/variables.css +161 -0
- package/lib/List/style/variables.css +0 -0
- package/lib/List/style/variables.d.ts +1 -0
- package/lib/List/style/variables.js +3 -0
- package/lib/LmEditTable/EditTable.js +10 -3
- package/lib/LmEditTable/style/variables.css +89 -0
- package/lib/LmEditTable/style/variables.d.ts +1 -0
- package/lib/LmEditTable/style/variables.js +3 -0
- package/lib/LmFilter/style/variables.css +425 -0
- package/lib/LmSelect/style/variables.css +247 -0
- package/lib/LmSelect/style/variables.d.ts +1 -0
- package/lib/LmSelect/style/variables.js +3 -0
- package/lib/LmTable/style/variables.css +1046 -0
- package/lib/LmUpload/style/variables.css +218 -0
- package/lib/LoadingPage/style/variables.css +0 -0
- package/lib/Mentions/style/variables.css +0 -0
- package/lib/Mentions/style/variables.d.ts +1 -0
- package/lib/Mentions/style/variables.js +3 -0
- package/lib/Menu/style/variables.css +0 -0
- package/lib/Menu/style/variables.d.ts +1 -0
- package/lib/Menu/style/variables.js +3 -0
- package/lib/Modal/index.d.ts +1 -0
- package/lib/Modal/index.js +9 -3
- package/lib/Modal/style/variables.css +35 -0
- package/lib/Modal/style/variables.d.ts +1 -0
- package/lib/Modal/style/variables.js +3 -0
- package/lib/PageHeader/style/variables.css +0 -0
- package/lib/PageHeader/style/variables.d.ts +1 -0
- package/lib/PageHeader/style/variables.js +3 -0
- package/lib/Pagination/style/variables.css +49 -0
- package/lib/Pagination/style/variables.d.ts +1 -0
- package/lib/Pagination/style/variables.js +3 -0
- package/lib/Popconfirm/style/variables.css +0 -0
- package/lib/Popconfirm/style/variables.d.ts +1 -0
- package/lib/Popconfirm/style/variables.js +3 -0
- package/lib/Popover/style/variables.css +0 -0
- package/lib/Popover/style/variables.d.ts +1 -0
- package/lib/Popover/style/variables.js +3 -0
- package/lib/Progress/style/variables.css +0 -0
- package/lib/Progress/style/variables.d.ts +1 -0
- package/lib/Progress/style/variables.js +3 -0
- package/lib/QuickMenu/style/variables.css +56 -0
- package/lib/QuickMenu/style/variables.d.ts +1 -0
- package/lib/QuickMenu/style/variables.js +3 -0
- package/lib/Radio/style/variables.css +141 -0
- package/lib/Rate/style/variables.css +0 -0
- package/lib/Rate/style/variables.d.ts +1 -0
- package/lib/Rate/style/variables.js +3 -0
- package/lib/Result/style/variables.css +0 -0
- package/lib/Result/style/variables.d.ts +1 -0
- package/lib/Result/style/variables.js +3 -0
- package/lib/Row/style/variables.css +0 -0
- package/lib/Row/style/variables.d.ts +1 -0
- package/lib/Row/style/variables.js +3 -0
- package/lib/Segmented/style/variables.css +0 -0
- package/lib/Segmented/style/variables.d.ts +1 -0
- package/lib/Segmented/style/variables.js +3 -0
- package/lib/Select/index.d.ts +2 -9
- package/lib/Select/style/variables.css +15 -0
- package/lib/Select/style/variables.d.ts +1 -0
- package/lib/Select/style/variables.js +3 -0
- package/lib/Skeleton/style/variables.css +0 -0
- package/lib/Skeleton/style/variables.d.ts +1 -0
- package/lib/Skeleton/style/variables.js +3 -0
- package/lib/Slider/style/variables.css +0 -0
- package/lib/Slider/style/variables.d.ts +1 -0
- package/lib/Slider/style/variables.js +3 -0
- package/lib/Space/style/variables.css +0 -0
- package/lib/Space/style/variables.d.ts +1 -0
- package/lib/Space/style/variables.js +3 -0
- package/lib/Spin/style/variables.css +0 -0
- package/lib/Spin/style/variables.d.ts +1 -0
- package/lib/Spin/style/variables.js +3 -0
- package/lib/Statistic/style/variables.css +0 -0
- package/lib/Statistic/style/variables.d.ts +1 -0
- package/lib/Statistic/style/variables.js +3 -0
- package/lib/Steps/style/variables.css +0 -0
- package/lib/Steps/style/variables.d.ts +1 -0
- package/lib/Steps/style/variables.js +3 -0
- package/lib/Switch/style/variables.css +41 -0
- package/lib/Switch/style/variables.d.ts +1 -0
- package/lib/Switch/style/variables.js +3 -0
- package/lib/Table/style/variables.css +0 -0
- package/lib/Table/style/variables.d.ts +1 -0
- package/lib/Table/style/variables.js +3 -0
- package/lib/Tabs/TabPane.d.ts +5 -0
- package/lib/Tabs/TabPane.js +17 -0
- package/lib/Tabs/hooks/useAnimateConfig.d.ts +3 -0
- package/lib/Tabs/hooks/useAnimateConfig.js +50 -0
- package/lib/Tabs/hooks/useLegacyItems.d.ts +4 -0
- package/lib/Tabs/hooks/useLegacyItems.js +63 -0
- package/lib/Tabs/index.d.ts +21 -10
- package/lib/Tabs/index.js +84 -19
- package/lib/Tabs/index.old.d.ts +12 -0
- package/lib/Tabs/index.old.js +52 -0
- package/lib/Tabs/style/index.css +40 -0
- package/lib/Tabs/style/variables.css +46 -0
- package/lib/Tabs/style/variables.d.ts +1 -0
- package/lib/Tabs/style/variables.js +3 -0
- package/lib/Tag/style/variables.css +64 -0
- package/lib/Tag/style/variables.d.ts +1 -0
- package/lib/Tag/style/variables.js +3 -0
- package/lib/TestTable/style/variables.css +10 -0
- package/lib/TimePicker/style/variables.css +0 -0
- package/lib/TimePicker/style/variables.d.ts +1 -0
- package/lib/TimePicker/style/variables.js +3 -0
- package/lib/Timeline/style/variables.css +3 -0
- package/lib/Timeline/style/variables.d.ts +1 -0
- package/lib/Timeline/style/variables.js +3 -0
- package/lib/Tooltip/style/variables.css +0 -0
- package/lib/Tooltip/style/variables.d.ts +1 -0
- package/lib/Tooltip/style/variables.js +3 -0
- package/lib/Transfer/style/variables.css +0 -0
- package/lib/Transfer/style/variables.d.ts +1 -0
- package/lib/Transfer/style/variables.js +3 -0
- package/lib/Tree/style/variables.css +12 -0
- package/lib/Tree/style/variables.d.ts +1 -0
- package/lib/Tree/style/variables.js +3 -0
- package/lib/TreeSelect/style/variables.css +0 -0
- package/lib/TreeSelect/style/variables.d.ts +1 -0
- package/lib/TreeSelect/style/variables.js +3 -0
- package/lib/Typography/style/variables.css +0 -0
- package/lib/Typography/style/variables.d.ts +1 -0
- package/lib/Typography/style/variables.js +3 -0
- package/lib/Upload/style/variables.css +35 -0
- package/lib/Upload/style/variables.d.ts +1 -0
- package/lib/Upload/style/variables.js +3 -0
- package/lib/UploadOss/style/variables.css +121 -0
- package/lib/VirtualList/style/variables.css +0 -0
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -8
- package/lib/locale-provider/style/variables.css +0 -0
- package/lib/locale-provider/style/variables.d.ts +1 -0
- package/lib/locale-provider/style/variables.js +3 -0
- package/lib/message/style/variables.css +31 -0
- package/lib/message/style/variables.d.ts +1 -0
- package/lib/message/style/variables.js +3 -0
- package/lib/notification/style/variables.css +41 -0
- package/lib/notification/style/variables.d.ts +1 -0
- package/lib/notification/style/variables.js +3 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/index.js +3 -0
- package/lib/styles/variables.css +6698 -0
- package/package.json +7 -3
- package/dist/InputRange/demos/basic.d.ts +0 -2
- package/dist/InputRange/index.d.ts +0 -8
- package/dist/InputRange/style/index.d.ts +0 -1
- package/es/Box/style/index.js +0 -3
- package/es/ButtonTags/ButtonTags.js +0 -59
- package/es/ButtonTags/index.js +0 -13
- package/es/ButtonTags/style/index.js +0 -3
- package/es/CardTable/LmCardTable.js +0 -63
- package/es/CardTable/body/TableBody.js +0 -78
- package/es/CardTable/body/TableBodyCell.js +0 -67
- package/es/CardTable/body/TableBodyRow.js +0 -91
- package/es/CardTable/card/PictureTextColumn.js +0 -132
- package/es/CardTable/card/PictureTextRow.js +0 -153
- package/es/CardTable/card/PictureTextRowOperate.js +0 -146
- package/es/CardTable/context.js +0 -20
- package/es/CardTable/empty.js +0 -24
- package/es/CardTable/fns/index.js +0 -160
- package/es/CardTable/footer.js +0 -59
- package/es/CardTable/hooks/usePagination.js +0 -128
- package/es/CardTable/index.js +0 -17
- package/es/CardTable/pager/TablePagination.js +0 -62
- package/es/CardTable/pager/index.js +0 -48
- package/es/CardTable/style/index.js +0 -3
- package/es/CardTable/table/Table.js +0 -27
- package/es/CardTable/table/TableContainer.js +0 -97
- package/es/CardTable/table/TableRoot.js +0 -210
- package/es/CardTable/table/TableWrapper.js +0 -40
- package/es/CardTable/toolbar/ToolBarBottom.js +0 -28
- package/es/CardTable/utils.js +0 -31
- package/es/Checkbox/index.js +0 -47
- package/es/Checkbox/style/index.js +0 -3
- package/es/ConfigProvider/style/index.js +0 -3
- package/es/CustomerService/components/question.js +0 -120
- package/es/CustomerService/index.js +0 -291
- package/es/CustomerService/style/index.js +0 -3
- package/es/EditTable/EditTable.js +0 -704
- package/es/EditTable/index.js +0 -13
- package/es/EditTable/style/index.js +0 -3
- package/es/EnlargeImg/index.js +0 -109
- package/es/EnlargeImg/style/index.js +0 -3
- package/es/Filter/Popover.js +0 -199
- package/es/Filter/baseFilter/Popover.js +0 -213
- package/es/Filter/baseFilter/ToggleFilter.js +0 -111
- package/es/Filter/baseFilter/index.js +0 -100
- package/es/Filter/complex/ComplexFilter.js +0 -149
- package/es/Filter/complex/ComplexItem.js +0 -157
- package/es/Filter/components/Checkbox.js +0 -94
- package/es/Filter/components/Date.js +0 -87
- package/es/Filter/components/Input.js +0 -63
- package/es/Filter/components/Select.js +0 -89
- package/es/Filter/components/Tree.js +0 -64
- package/es/Filter/components/header.js +0 -60
- package/es/Filter/components/index.js +0 -47
- package/es/Filter/context.js +0 -15
- package/es/Filter/edit/editFilter.js +0 -273
- package/es/Filter/index.js +0 -174
- package/es/Filter/popContext.js +0 -15
- package/es/Filter/remember.js +0 -136
- package/es/Filter/style/index.js +0 -3
- package/es/Icon/index.js +0 -20
- package/es/Icon/style/index.js +0 -3
- package/es/IconFont/font/iconfont.js +0 -48
- package/es/IconFont/style/index.js +0 -3
- package/es/IconSelect/index.js +0 -115
- package/es/IconSelect/style/index.js +0 -3
- package/es/ImageViewer/style/index.js +0 -3
- package/es/InputRange/index.d.ts +0 -8
- package/es/InputRange/index.js +0 -67
- package/es/InputRange/style/index.d.ts +0 -1
- package/es/InputRange/style/index.js +0 -1
- package/es/LeftTable/index.js +0 -184
- package/es/LeftTable/style/index.js +0 -3
- package/es/LmFilter/Controls/CheckboxTags.js +0 -53
- package/es/LmFilter/Controls/index.js +0 -78
- package/es/LmFilter/LmFilter.js +0 -69
- package/es/LmFilter/baseFilter/fuzzySearch.js +0 -69
- package/es/LmFilter/baseFilter/index.js +0 -33
- package/es/LmFilter/clearFilter/index.js +0 -31
- package/es/LmFilter/complexFilter/drawer.js +0 -381
- package/es/LmFilter/complexFilter/index.js +0 -64
- package/es/LmFilter/complexFilter/valueDrawer.js +0 -235
- package/es/LmFilter/components/CascaderFilter.js +0 -160
- package/es/LmFilter/components/CheckboxFilter.js +0 -189
- package/es/LmFilter/components/CustomSelectFilter.js +0 -139
- package/es/LmFilter/components/DateFilter.js +0 -163
- package/es/LmFilter/components/DropdownFIlter.js +0 -264
- package/es/LmFilter/components/EmptyFilter.js +0 -27
- package/es/LmFilter/components/InputFilter.js +0 -51
- package/es/LmFilter/components/InputSearchClose.js +0 -74
- package/es/LmFilter/components/SelectFilter.js +0 -121
- package/es/LmFilter/components/index.js +0 -93
- package/es/LmFilter/customFilter/drawer.js +0 -409
- package/es/LmFilter/customFilter/index.js +0 -136
- package/es/LmFilter/customFilter/saveModal.js +0 -185
- package/es/LmFilter/customFilter/valueDrawer.js +0 -232
- package/es/LmFilter/filterFns/index.js +0 -644
- package/es/LmFilter/hooks/index.js +0 -18
- package/es/LmFilter/hooks/useDelayedFn.js +0 -29
- package/es/LmFilter/index.js +0 -16
- package/es/LmFilter/style/index.js +0 -3
- package/es/LmFilter/utils.js +0 -173
- package/es/LmFilter/wrapper/Filter.js +0 -41
- package/es/LmFilter/wrapper/FilterContainer.js +0 -25
- package/es/LmFilter/wrapper/FilterRoot.js +0 -208
- package/es/LmFilter/wrapper/FilterWrapper.js +0 -25
- package/es/LmTable/Table.js +0 -1385
- package/es/LmTable/VList.js +0 -594
- package/es/LmTable/autosize.js +0 -167
- package/es/LmTable/components/sortableBoxCol.js +0 -24
- package/es/LmTable/components/sortableItemCol.js +0 -54
- package/es/LmTable/context.js +0 -12
- package/es/LmTable/detectElementResize.js +0 -225
- package/es/LmTable/index.js +0 -14
- package/es/LmTable/resetConfig.js +0 -39
- package/es/LmTable/style/index.js +0 -3
- package/es/LmTable/util.js +0 -162
- package/es/LmUpload/style/index.js +0 -3
- package/es/LoadingPage/index.js +0 -33
- package/es/LoadingPage/style/index.js +0 -3
- package/es/Radio/index.js +0 -50
- package/es/Radio/style/index.js +0 -3
- package/es/TestTable/style/index.js +0 -3
- package/es/UploadOss/index.js +0 -18
- package/es/UploadOss/style/index.js +0 -3
- package/es/UploadOss/uploadBtn.js +0 -141
- package/es/UploadOss/uploadImg.js +0 -282
- package/es/VirtualList/index.js +0 -85
- package/es/VirtualList/style/index.js +0 -3
- package/es/services/newRequest.js +0 -201
- package/es/services/utils.js +0 -72
- package/lib/Box/style/index.js +0 -3
- package/lib/ButtonTags/ButtonTags.js +0 -59
- package/lib/ButtonTags/index.js +0 -13
- package/lib/ButtonTags/style/index.js +0 -3
- package/lib/CardTable/LmCardTable.js +0 -63
- package/lib/CardTable/body/TableBody.js +0 -78
- package/lib/CardTable/body/TableBodyCell.js +0 -67
- package/lib/CardTable/body/TableBodyRow.js +0 -91
- package/lib/CardTable/card/PictureTextColumn.js +0 -132
- package/lib/CardTable/card/PictureTextRow.js +0 -153
- package/lib/CardTable/card/PictureTextRowOperate.js +0 -146
- package/lib/CardTable/context.js +0 -20
- package/lib/CardTable/empty.js +0 -24
- package/lib/CardTable/fns/index.js +0 -160
- package/lib/CardTable/footer.js +0 -59
- package/lib/CardTable/hooks/usePagination.js +0 -128
- package/lib/CardTable/index.js +0 -17
- package/lib/CardTable/pager/TablePagination.js +0 -62
- package/lib/CardTable/pager/index.js +0 -48
- package/lib/CardTable/style/index.js +0 -3
- package/lib/CardTable/table/Table.js +0 -27
- package/lib/CardTable/table/TableContainer.js +0 -97
- package/lib/CardTable/table/TableRoot.js +0 -210
- package/lib/CardTable/table/TableWrapper.js +0 -40
- package/lib/CardTable/toolbar/ToolBarBottom.js +0 -28
- package/lib/CardTable/utils.js +0 -31
- package/lib/Checkbox/index.js +0 -47
- package/lib/Checkbox/style/index.js +0 -3
- package/lib/ConfigProvider/style/index.js +0 -3
- package/lib/CustomerService/components/question.js +0 -120
- package/lib/CustomerService/index.js +0 -291
- package/lib/CustomerService/style/index.js +0 -3
- package/lib/EditTable/EditTable.js +0 -704
- package/lib/EditTable/index.js +0 -13
- package/lib/EditTable/style/index.js +0 -3
- package/lib/EnlargeImg/index.js +0 -109
- package/lib/EnlargeImg/style/index.js +0 -3
- package/lib/Filter/Popover.js +0 -199
- package/lib/Filter/baseFilter/Popover.js +0 -213
- package/lib/Filter/baseFilter/ToggleFilter.js +0 -111
- package/lib/Filter/baseFilter/index.js +0 -100
- package/lib/Filter/complex/ComplexFilter.js +0 -149
- package/lib/Filter/complex/ComplexItem.js +0 -157
- package/lib/Filter/components/Checkbox.js +0 -94
- package/lib/Filter/components/Date.js +0 -87
- package/lib/Filter/components/Input.js +0 -63
- package/lib/Filter/components/Select.js +0 -89
- package/lib/Filter/components/Tree.js +0 -64
- package/lib/Filter/components/header.js +0 -60
- package/lib/Filter/components/index.js +0 -47
- package/lib/Filter/context.js +0 -15
- package/lib/Filter/edit/editFilter.js +0 -273
- package/lib/Filter/index.js +0 -174
- package/lib/Filter/popContext.js +0 -15
- package/lib/Filter/remember.js +0 -136
- package/lib/Filter/style/index.js +0 -3
- package/lib/Icon/index.js +0 -20
- package/lib/Icon/style/index.js +0 -3
- package/lib/IconFont/font/iconfont.js +0 -48
- package/lib/IconFont/style/index.js +0 -3
- package/lib/IconSelect/index.js +0 -115
- package/lib/IconSelect/style/index.js +0 -3
- package/lib/ImageViewer/style/index.js +0 -3
- package/lib/InputRange/index.d.ts +0 -8
- package/lib/InputRange/index.js +0 -79
- package/lib/InputRange/style/index.d.ts +0 -1
- package/lib/InputRange/style/index.js +0 -3
- package/lib/LeftTable/index.js +0 -184
- package/lib/LeftTable/style/index.js +0 -3
- package/lib/LmFilter/Controls/CheckboxTags.js +0 -53
- package/lib/LmFilter/Controls/index.js +0 -78
- package/lib/LmFilter/LmFilter.js +0 -69
- package/lib/LmFilter/baseFilter/fuzzySearch.js +0 -69
- package/lib/LmFilter/baseFilter/index.js +0 -33
- package/lib/LmFilter/clearFilter/index.js +0 -31
- package/lib/LmFilter/complexFilter/drawer.js +0 -381
- package/lib/LmFilter/complexFilter/index.js +0 -64
- package/lib/LmFilter/complexFilter/valueDrawer.js +0 -235
- package/lib/LmFilter/components/CascaderFilter.js +0 -160
- package/lib/LmFilter/components/CheckboxFilter.js +0 -189
- package/lib/LmFilter/components/CustomSelectFilter.js +0 -139
- package/lib/LmFilter/components/DateFilter.js +0 -163
- package/lib/LmFilter/components/DropdownFIlter.js +0 -264
- package/lib/LmFilter/components/EmptyFilter.js +0 -27
- package/lib/LmFilter/components/InputFilter.js +0 -51
- package/lib/LmFilter/components/InputSearchClose.js +0 -74
- package/lib/LmFilter/components/SelectFilter.js +0 -121
- package/lib/LmFilter/components/index.js +0 -93
- package/lib/LmFilter/customFilter/drawer.js +0 -409
- package/lib/LmFilter/customFilter/index.js +0 -136
- package/lib/LmFilter/customFilter/saveModal.js +0 -185
- package/lib/LmFilter/customFilter/valueDrawer.js +0 -232
- package/lib/LmFilter/filterFns/index.js +0 -644
- package/lib/LmFilter/hooks/index.js +0 -18
- package/lib/LmFilter/hooks/useDelayedFn.js +0 -29
- package/lib/LmFilter/index.js +0 -16
- package/lib/LmFilter/style/index.js +0 -3
- package/lib/LmFilter/utils.js +0 -173
- package/lib/LmFilter/wrapper/Filter.js +0 -41
- package/lib/LmFilter/wrapper/FilterContainer.js +0 -25
- package/lib/LmFilter/wrapper/FilterRoot.js +0 -208
- package/lib/LmFilter/wrapper/FilterWrapper.js +0 -25
- package/lib/LmTable/Table.js +0 -1385
- package/lib/LmTable/VList.js +0 -594
- package/lib/LmTable/autosize.js +0 -167
- package/lib/LmTable/components/sortableBoxCol.js +0 -24
- package/lib/LmTable/components/sortableItemCol.js +0 -54
- package/lib/LmTable/context.js +0 -12
- package/lib/LmTable/detectElementResize.js +0 -225
- package/lib/LmTable/index.js +0 -14
- package/lib/LmTable/resetConfig.js +0 -39
- package/lib/LmTable/style/index.js +0 -3
- package/lib/LmTable/util.js +0 -162
- package/lib/LmUpload/style/index.js +0 -3
- package/lib/LoadingPage/index.js +0 -33
- package/lib/LoadingPage/style/index.js +0 -3
- package/lib/Radio/index.js +0 -50
- package/lib/Radio/style/index.js +0 -3
- package/lib/TestTable/style/index.js +0 -3
- package/lib/UploadOss/index.js +0 -18
- package/lib/UploadOss/style/index.js +0 -3
- package/lib/UploadOss/uploadBtn.js +0 -141
- package/lib/UploadOss/uploadImg.js +0 -282
- package/lib/VirtualList/index.js +0 -85
- package/lib/VirtualList/style/index.js +0 -3
- package/lib/services/newRequest.js +0 -201
- package/lib/services/utils.js +0 -72
package/lib/EditTable/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
|
|
10
|
-
var _EditTable = _interopRequireDefault(require("./EditTable"));
|
|
11
|
-
|
|
12
|
-
var _default = _EditTable.default;
|
|
13
|
-
exports.default = _default;
|
package/lib/EnlargeImg/index.js
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
-
|
|
5
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
|
8
|
-
value: true
|
|
9
|
-
});
|
|
10
|
-
exports.default = void 0;
|
|
11
|
-
|
|
12
|
-
require("antd/es/modal/style");
|
|
13
|
-
|
|
14
|
-
var _modal = _interopRequireDefault(require("antd/es/modal"));
|
|
15
|
-
|
|
16
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
17
|
-
|
|
18
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
19
|
-
|
|
20
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
21
|
-
|
|
22
|
-
var EnlargeImg = function EnlargeImg(props) {
|
|
23
|
-
var useProps = (0, _objectSpread2.default)({}, props);
|
|
24
|
-
|
|
25
|
-
var _useState = (0, _react.useState)(null),
|
|
26
|
-
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
27
|
-
imgUrl = _useState2[0],
|
|
28
|
-
setImgUrl = _useState2[1]; // 图片路径
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
var _useState3 = (0, _react.useState)(200),
|
|
32
|
-
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
33
|
-
imgWidth = _useState4[0],
|
|
34
|
-
setImgWidth = _useState4[1]; // 原始图片宽度 默认200PX
|
|
35
|
-
// eslint-disable-next-line no-unused-vars
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
var _useState5 = (0, _react.useState)(300),
|
|
39
|
-
_useState6 = (0, _slicedToArray2.default)(_useState5, 2),
|
|
40
|
-
bigImgWidth = _useState6[0],
|
|
41
|
-
setBigImgWidth = _useState6[1]; // 放大后图片宽度 默认300PX
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
var _useState7 = (0, _react.useState)('图片预览'),
|
|
45
|
-
_useState8 = (0, _slicedToArray2.default)(_useState7, 2),
|
|
46
|
-
imgTitle = _useState8[0],
|
|
47
|
-
setImgTitle = _useState8[1]; // 图片放大标题名称 默认为 '图片预览'
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
var _useState9 = (0, _react.useState)(false),
|
|
51
|
-
_useState10 = (0, _slicedToArray2.default)(_useState9, 2),
|
|
52
|
-
bigImgState = _useState10[0],
|
|
53
|
-
setBigImgState = _useState10[1]; // 图片路径
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
(0, _react.useEffect)(function () {
|
|
57
|
-
setImgUrl(useProps.src); // 设置图片路径
|
|
58
|
-
|
|
59
|
-
useProps.title ? setImgTitle(useProps.title) : null; // 设置图片名称
|
|
60
|
-
|
|
61
|
-
useProps.openWidth ? setBigImgWidth(useProps.openWidth) : null; // 设置图片名称
|
|
62
|
-
|
|
63
|
-
useProps.width ? setImgWidth(typeof useProps.width === 'number' ? "".concat(useProps.width, "px") : useProps.width) : null; // 设置图片宽度
|
|
64
|
-
}, []);
|
|
65
|
-
|
|
66
|
-
var enlargeImg = function enlargeImg() {
|
|
67
|
-
setBigImgState(true);
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
var handleCancel = function handleCancel() {
|
|
71
|
-
setBigImgState(false);
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
var BigImg = function BigImg() {
|
|
75
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_modal.default, {
|
|
76
|
-
keyboard: true,
|
|
77
|
-
title: imgTitle,
|
|
78
|
-
visible: bigImgState,
|
|
79
|
-
onCancel: handleCancel,
|
|
80
|
-
footer: false,
|
|
81
|
-
bodyStyle: {
|
|
82
|
-
padding: 0
|
|
83
|
-
} // width={bigImgWidth}
|
|
84
|
-
,
|
|
85
|
-
maskClosable: true,
|
|
86
|
-
centered: true
|
|
87
|
-
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
88
|
-
src: imgUrl,
|
|
89
|
-
alt: "null",
|
|
90
|
-
style: {
|
|
91
|
-
width: '100%'
|
|
92
|
-
}
|
|
93
|
-
})));
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
97
|
-
className: "lm_enlargeimg_warp",
|
|
98
|
-
onClick: enlargeImg
|
|
99
|
-
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
100
|
-
style: {
|
|
101
|
-
width: "".concat(imgWidth)
|
|
102
|
-
},
|
|
103
|
-
src: imgUrl,
|
|
104
|
-
alt: "null"
|
|
105
|
-
})), bigImgState ? /*#__PURE__*/_react.default.createElement(BigImg, null) : null);
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
var _default = EnlargeImg;
|
|
109
|
-
exports.default = _default;
|
package/lib/Filter/Popover.js
DELETED
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
-
|
|
5
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
|
8
|
-
value: true
|
|
9
|
-
});
|
|
10
|
-
exports.default = void 0;
|
|
11
|
-
|
|
12
|
-
require("antd/es/popover/style");
|
|
13
|
-
|
|
14
|
-
var _popover = _interopRequireDefault(require("antd/es/popover"));
|
|
15
|
-
|
|
16
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
17
|
-
|
|
18
|
-
require("antd/es/button/style");
|
|
19
|
-
|
|
20
|
-
var _button = _interopRequireDefault(require("antd/es/button"));
|
|
21
|
-
|
|
22
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
23
|
-
|
|
24
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
25
|
-
|
|
26
|
-
var _icons = require("@ant-design/icons");
|
|
27
|
-
|
|
28
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
29
|
-
|
|
30
|
-
var _components = require("./components");
|
|
31
|
-
|
|
32
|
-
var _popContext = _interopRequireDefault(require("./popContext"));
|
|
33
|
-
|
|
34
|
-
// 单个组件的下拉框
|
|
35
|
-
var Index = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
36
|
-
var item = props.item,
|
|
37
|
-
content = props.content,
|
|
38
|
-
children = props.children,
|
|
39
|
-
config = props.config,
|
|
40
|
-
getChange = props.getChange;
|
|
41
|
-
var toggle = item.toggle,
|
|
42
|
-
title = item.title,
|
|
43
|
-
type = item.type,
|
|
44
|
-
field = item.field,
|
|
45
|
-
data = item.data;
|
|
46
|
-
|
|
47
|
-
var _useState = (0, _react.useState)(false),
|
|
48
|
-
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
49
|
-
useVisible = _useState2[0],
|
|
50
|
-
setVisible = _useState2[1]; // 控制弹出层显隐
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
var _useState3 = (0, _react.useState)(),
|
|
54
|
-
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
55
|
-
useValue = _useState4[0],
|
|
56
|
-
setValue = _useState4[1]; // 选中的值
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
var _useState5 = (0, _react.useState)(field),
|
|
60
|
-
_useState6 = (0, _slicedToArray2.default)(_useState5, 2),
|
|
61
|
-
useKey = _useState6[0],
|
|
62
|
-
setKey = _useState6[1];
|
|
63
|
-
|
|
64
|
-
var singleRef = ref || (0, _react.useRef)(null);
|
|
65
|
-
|
|
66
|
-
var handleClick = function handleClick(visible) {
|
|
67
|
-
setVisible(visible);
|
|
68
|
-
}; // 数字
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
var showTitle = function showTitle() {
|
|
72
|
-
if (toggle) return null;
|
|
73
|
-
if (!useValue && typeof useValue !== 'number') return null;
|
|
74
|
-
|
|
75
|
-
if (Array.isArray(useValue)) {
|
|
76
|
-
if (type === 'date') return true;
|
|
77
|
-
return useValue.length > 0 ? "(".concat(useValue === null || useValue === void 0 ? void 0 : useValue.length, ")") : null;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
return true;
|
|
81
|
-
}; // 文字
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
var showLabel = function showLabel() {
|
|
85
|
-
if (toggle) return title;
|
|
86
|
-
|
|
87
|
-
if (useValue || typeof useValue === 'number') {
|
|
88
|
-
switch (type) {
|
|
89
|
-
case 'select':
|
|
90
|
-
return data.find(function (v) {
|
|
91
|
-
return v.value === useValue;
|
|
92
|
-
}).label;
|
|
93
|
-
|
|
94
|
-
case 'tree':
|
|
95
|
-
return useValue.title;
|
|
96
|
-
|
|
97
|
-
case 'date':
|
|
98
|
-
return Array.isArray(useValue) ? "".concat(useValue[0], " \u81F3 ").concat(useValue[1]) : useValue;
|
|
99
|
-
|
|
100
|
-
case 'input':
|
|
101
|
-
return useValue;
|
|
102
|
-
|
|
103
|
-
default:
|
|
104
|
-
break;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
return title;
|
|
109
|
-
}; // 选中时触发
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
var onChange = function onChange(v, obj, mode) {
|
|
113
|
-
type !== 'checkbox' ? setVisible(false) : '';
|
|
114
|
-
|
|
115
|
-
if (toggle) {
|
|
116
|
-
getChange === null || getChange === void 0 ? void 0 : getChange(v);
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
setValue(v);
|
|
121
|
-
var params = {
|
|
122
|
-
field: field,
|
|
123
|
-
value: v,
|
|
124
|
-
mapItem: obj
|
|
125
|
-
};
|
|
126
|
-
getChange === null || getChange === void 0 ? void 0 : getChange(params, mode);
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
var contentDom = function contentDom() {
|
|
130
|
-
switch (type) {
|
|
131
|
-
case 'input':
|
|
132
|
-
return /*#__PURE__*/_react.default.createElement(_components.Input, {
|
|
133
|
-
key: useKey
|
|
134
|
-
});
|
|
135
|
-
|
|
136
|
-
case 'select':
|
|
137
|
-
return /*#__PURE__*/_react.default.createElement(_components.Select, {
|
|
138
|
-
key: useKey
|
|
139
|
-
});
|
|
140
|
-
|
|
141
|
-
case 'checkbox':
|
|
142
|
-
return /*#__PURE__*/_react.default.createElement(_components.Checkbox, {
|
|
143
|
-
key: useKey,
|
|
144
|
-
ref: singleRef
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
case 'tree':
|
|
148
|
-
return /*#__PURE__*/_react.default.createElement(_components.Tree, {
|
|
149
|
-
key: useKey
|
|
150
|
-
});
|
|
151
|
-
|
|
152
|
-
case 'date':
|
|
153
|
-
return /*#__PURE__*/_react.default.createElement(_components.DatePicker, {
|
|
154
|
-
key: useKey
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
default:
|
|
158
|
-
return /*#__PURE__*/_react.default.createElement(_components.Select, null);
|
|
159
|
-
}
|
|
160
|
-
}; // 清空筛选项
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
var handleClear = function handleClear(e) {
|
|
164
|
-
e === null || e === void 0 ? void 0 : e.stopPropagation();
|
|
165
|
-
var nKey = field + Date.now();
|
|
166
|
-
setKey(nKey); // 重新渲染
|
|
167
|
-
|
|
168
|
-
var v = type === 'checkbox' ? [] : '';
|
|
169
|
-
onChange(v, 'and', '');
|
|
170
|
-
}; // const clearTag = (value) => {
|
|
171
|
-
// setKey(Date.now()); // 重新渲染
|
|
172
|
-
// setDefaultValue(value);
|
|
173
|
-
// // getChange({ field, value });
|
|
174
|
-
// };
|
|
175
|
-
// React.useImperativeHandle(ref, () => ({
|
|
176
|
-
// clearTag,
|
|
177
|
-
// }));
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
return /*#__PURE__*/_react.default.createElement(_popContext.default.Provider, {
|
|
181
|
-
value: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
182
|
-
onChange: onChange
|
|
183
|
-
})
|
|
184
|
-
}, /*#__PURE__*/_react.default.createElement(_popover.default, (0, _extends2.default)({
|
|
185
|
-
placement: "bottomLeft",
|
|
186
|
-
overlayClassName: "list-popover",
|
|
187
|
-
trigger: "click",
|
|
188
|
-
visible: useVisible,
|
|
189
|
-
onVisibleChange: handleClick,
|
|
190
|
-
content: content ? content(onChange) : contentDom
|
|
191
|
-
}, config), children || /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
192
|
-
type: "link",
|
|
193
|
-
className: (!!showTitle() || useVisible) && 'btn_active'
|
|
194
|
-
}, showLabel(), " ", showTitle(), showTitle() !== null ? /*#__PURE__*/_react.default.createElement(_icons.CloseOutlined, {
|
|
195
|
-
onClick: handleClear
|
|
196
|
-
}) : useVisible ? /*#__PURE__*/_react.default.createElement(_icons.UpOutlined, null) : /*#__PURE__*/_react.default.createElement(_icons.DownOutlined, null))));
|
|
197
|
-
});
|
|
198
|
-
var _default = Index;
|
|
199
|
-
exports.default = _default;
|
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
-
|
|
5
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
|
8
|
-
value: true
|
|
9
|
-
});
|
|
10
|
-
exports.default = void 0;
|
|
11
|
-
|
|
12
|
-
require("antd/es/popover/style");
|
|
13
|
-
|
|
14
|
-
var _popover = _interopRequireDefault(require("antd/es/popover"));
|
|
15
|
-
|
|
16
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
17
|
-
|
|
18
|
-
require("antd/es/button/style");
|
|
19
|
-
|
|
20
|
-
var _button = _interopRequireDefault(require("antd/es/button"));
|
|
21
|
-
|
|
22
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
23
|
-
|
|
24
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
25
|
-
|
|
26
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
27
|
-
|
|
28
|
-
var _IconFont = _interopRequireDefault(require("../../IconFont"));
|
|
29
|
-
|
|
30
|
-
var _icons = require("@ant-design/icons");
|
|
31
|
-
|
|
32
|
-
var _components = require("../components");
|
|
33
|
-
|
|
34
|
-
var _context = _interopRequireDefault(require("../context"));
|
|
35
|
-
|
|
36
|
-
var _popContext = _interopRequireDefault(require("../popContext"));
|
|
37
|
-
|
|
38
|
-
// 单个组件的下拉框
|
|
39
|
-
var Index = function Index(props) {
|
|
40
|
-
var item = props.item,
|
|
41
|
-
content = props.content,
|
|
42
|
-
children = props.children,
|
|
43
|
-
config = props.config,
|
|
44
|
-
getChange = props.getChange;
|
|
45
|
-
var toggle = item.toggle,
|
|
46
|
-
title = item.title,
|
|
47
|
-
type = item.type,
|
|
48
|
-
field = item.field,
|
|
49
|
-
data = item.data;
|
|
50
|
-
|
|
51
|
-
var _useContext = (0, _react.useContext)(_context.default),
|
|
52
|
-
state = _useContext.state;
|
|
53
|
-
|
|
54
|
-
var checkValue = state.checkValue; // 清除筛选多选状态: 暂时的解决方案,后续要更改
|
|
55
|
-
|
|
56
|
-
var _useState = (0, _react.useState)(field),
|
|
57
|
-
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
58
|
-
useKey = _useState2[0],
|
|
59
|
-
setKey = _useState2[1];
|
|
60
|
-
|
|
61
|
-
var _useState3 = (0, _react.useState)(false),
|
|
62
|
-
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
63
|
-
useVisible = _useState4[0],
|
|
64
|
-
setVisible = _useState4[1]; // 控制弹出层显隐
|
|
65
|
-
// 选中的值
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
var useValue = (0, _react.useMemo)(function () {
|
|
69
|
-
return checkValue[field];
|
|
70
|
-
}, [checkValue]);
|
|
71
|
-
|
|
72
|
-
var handleClick = function handleClick(visible) {
|
|
73
|
-
setVisible(visible);
|
|
74
|
-
}; // 数字
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
var showTitle = function showTitle() {
|
|
78
|
-
if (toggle) return null;
|
|
79
|
-
if (!useValue && typeof useValue !== 'number') return null;
|
|
80
|
-
|
|
81
|
-
if (Array.isArray(useValue)) {
|
|
82
|
-
if (type === 'date') return true;
|
|
83
|
-
return useValue.length > 0 ? "(".concat(useValue === null || useValue === void 0 ? void 0 : useValue.length, ")") : null;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
return true;
|
|
87
|
-
}; // 显示值
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
var showValue = function showValue() {
|
|
91
|
-
var _data$find, _data$find2;
|
|
92
|
-
|
|
93
|
-
var result = showTitle();
|
|
94
|
-
|
|
95
|
-
if (result) {
|
|
96
|
-
if (useValue || typeof useValue === 'number') {
|
|
97
|
-
switch (type) {
|
|
98
|
-
case 'select':
|
|
99
|
-
return ((_data$find = data.find(function (v) {
|
|
100
|
-
return v.value === useValue;
|
|
101
|
-
})) === null || _data$find === void 0 ? void 0 : _data$find.label) || '';
|
|
102
|
-
|
|
103
|
-
case 'checkbox':
|
|
104
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, ((_data$find2 = data.find(function (v) {
|
|
105
|
-
return v.value === useValue[0];
|
|
106
|
-
})) === null || _data$find2 === void 0 ? void 0 : _data$find2.label) || '', (useValue === null || useValue === void 0 ? void 0 : useValue.length) > 1 ? "\u3001+".concat((useValue === null || useValue === void 0 ? void 0 : useValue.length) - 1, "...") : null);
|
|
107
|
-
|
|
108
|
-
case 'tree':
|
|
109
|
-
return useValue.title;
|
|
110
|
-
|
|
111
|
-
case 'date':
|
|
112
|
-
return Array.isArray(useValue) ? "".concat(useValue[0], " \u81F3 ").concat(useValue[1]) : useValue;
|
|
113
|
-
|
|
114
|
-
case 'input':
|
|
115
|
-
return useValue;
|
|
116
|
-
|
|
117
|
-
default:
|
|
118
|
-
break;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
return null;
|
|
124
|
-
}; // 文字
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
var showLabel = function showLabel() {
|
|
128
|
-
return "".concat(title, "\uFF1A");
|
|
129
|
-
}; // 选中时触发
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
var onChange = function onChange(v, obj, mode) {
|
|
133
|
-
type !== 'checkbox' ? setVisible(false) : '';
|
|
134
|
-
|
|
135
|
-
if (toggle) {
|
|
136
|
-
getChange === null || getChange === void 0 ? void 0 : getChange(v);
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
var params = {
|
|
141
|
-
field: field,
|
|
142
|
-
value: v,
|
|
143
|
-
mapItem: obj
|
|
144
|
-
};
|
|
145
|
-
getChange === null || getChange === void 0 ? void 0 : getChange(params, mode);
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
var contentDom = function contentDom() {
|
|
149
|
-
switch (type) {
|
|
150
|
-
case 'input':
|
|
151
|
-
return /*#__PURE__*/_react.default.createElement(_components.Input, null);
|
|
152
|
-
|
|
153
|
-
case 'select':
|
|
154
|
-
return /*#__PURE__*/_react.default.createElement(_components.Select, null);
|
|
155
|
-
|
|
156
|
-
case 'checkbox':
|
|
157
|
-
return /*#__PURE__*/_react.default.createElement(_components.Checkbox, {
|
|
158
|
-
key: useKey
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
case 'tree':
|
|
162
|
-
return /*#__PURE__*/_react.default.createElement(_components.Tree, null);
|
|
163
|
-
|
|
164
|
-
case 'date':
|
|
165
|
-
return /*#__PURE__*/_react.default.createElement(_components.DatePicker, null);
|
|
166
|
-
|
|
167
|
-
default:
|
|
168
|
-
return /*#__PURE__*/_react.default.createElement(_components.Select, null);
|
|
169
|
-
}
|
|
170
|
-
}; // 清空筛选项
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
var handleClear = function handleClear(e) {
|
|
174
|
-
e === null || e === void 0 ? void 0 : e.stopPropagation();
|
|
175
|
-
|
|
176
|
-
if (type === 'checkbox') {
|
|
177
|
-
var nKey = field + Date.now();
|
|
178
|
-
setKey(nKey); // 重新渲染
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
var v = type === 'checkbox' ? [] : '';
|
|
182
|
-
onChange(v, (0, _objectSpread2.default)({}, item), 'and');
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
return /*#__PURE__*/_react.default.createElement(_popContext.default.Provider, {
|
|
186
|
-
value: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
|
|
187
|
-
onChange: onChange
|
|
188
|
-
})
|
|
189
|
-
}, /*#__PURE__*/_react.default.createElement(_popover.default, (0, _extends2.default)({
|
|
190
|
-
placement: "bottomLeft",
|
|
191
|
-
overlayClassName: "list-popover",
|
|
192
|
-
trigger: "click",
|
|
193
|
-
visible: useVisible,
|
|
194
|
-
onVisibleChange: handleClick,
|
|
195
|
-
content: content ? content(onChange) : contentDom
|
|
196
|
-
}, config), children || /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
197
|
-
type: "link",
|
|
198
|
-
className: !!showTitle() || useVisible ? 'btn btn_active' : 'btn btn_not_active'
|
|
199
|
-
}, showLabel(), /*#__PURE__*/_react.default.createElement("span", {
|
|
200
|
-
className: "btn_value"
|
|
201
|
-
}, showValue()), showTitle() !== null ? /*#__PURE__*/_react.default.createElement(_IconFont.default, {
|
|
202
|
-
className: "btn_icon_close",
|
|
203
|
-
type: "lmweb-close-circle-fill",
|
|
204
|
-
onClick: handleClear
|
|
205
|
-
}) : useVisible ? /*#__PURE__*/_react.default.createElement("span", {
|
|
206
|
-
className: "label_text"
|
|
207
|
-
}, /*#__PURE__*/_react.default.createElement("span", null, "\u5168\u90E8"), /*#__PURE__*/_react.default.createElement(_icons.UpOutlined, null)) : /*#__PURE__*/_react.default.createElement("span", {
|
|
208
|
-
className: "label_text"
|
|
209
|
-
}, /*#__PURE__*/_react.default.createElement("span", null, "\u5168\u90E8"), /*#__PURE__*/_react.default.createElement(_icons.DownOutlined, null)))));
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
var _default = Index;
|
|
213
|
-
exports.default = _default;
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
-
|
|
5
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
|
8
|
-
value: true
|
|
9
|
-
});
|
|
10
|
-
exports.default = void 0;
|
|
11
|
-
|
|
12
|
-
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
13
|
-
|
|
14
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
15
|
-
|
|
16
|
-
var _objectSpread3 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
17
|
-
|
|
18
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
19
|
-
|
|
20
|
-
var _icons = require("@ant-design/icons");
|
|
21
|
-
|
|
22
|
-
var _Popover = _interopRequireDefault(require("../Popover"));
|
|
23
|
-
|
|
24
|
-
var _context = _interopRequireDefault(require("../context"));
|
|
25
|
-
|
|
26
|
-
var ToggleFilter = function ToggleFilter(_ref) {
|
|
27
|
-
var useList = _ref.useList,
|
|
28
|
-
setList = _ref.setList;
|
|
29
|
-
|
|
30
|
-
var _useContext = (0, _react.useContext)(_context.default),
|
|
31
|
-
state = _useContext.state,
|
|
32
|
-
dispatch = _useContext.dispatch,
|
|
33
|
-
getChange = _useContext.getChange; // 触发筛选
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
var searchEvent = function searchEvent(value, field) {
|
|
37
|
-
var checkValue = (0, _objectSpread3.default)((0, _objectSpread3.default)({}, state.checkValue), {}, (0, _defineProperty2.default)({}, field, value));
|
|
38
|
-
dispatch({
|
|
39
|
-
type: 'changeCheckValue',
|
|
40
|
-
checkValue: checkValue
|
|
41
|
-
});
|
|
42
|
-
getChange === null || getChange === void 0 ? void 0 : getChange(checkValue);
|
|
43
|
-
}; // 搜索条件展示
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
var resetList = function resetList(value) {
|
|
47
|
-
var fixed = !value.fixed;
|
|
48
|
-
var nValue = useList.map(function (v) {
|
|
49
|
-
var obj = fixed ? useList.find(function (o) {
|
|
50
|
-
return o.field === v.field;
|
|
51
|
-
}) : v;
|
|
52
|
-
|
|
53
|
-
if (v.field === value.field) {
|
|
54
|
-
return (0, _objectSpread3.default)((0, _objectSpread3.default)({}, obj), {}, {
|
|
55
|
-
fixed: fixed
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
return v;
|
|
60
|
-
});
|
|
61
|
-
searchEvent(value.type === 'checkbox' ? [] : '', value.field);
|
|
62
|
-
setList(nValue);
|
|
63
|
-
}; // 置顶
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
var handleTop = function handleTop(e, item) {
|
|
67
|
-
e.stopPropagation();
|
|
68
|
-
|
|
69
|
-
if (!item.fixed) {
|
|
70
|
-
resetList(item);
|
|
71
|
-
} else {
|
|
72
|
-
var nValue = useList.filter(function (v) {
|
|
73
|
-
return v.field !== item.field;
|
|
74
|
-
});
|
|
75
|
-
setList([item].concat((0, _toConsumableArray2.default)(nValue)));
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
var more = (0, _react.useMemo)(function () {
|
|
80
|
-
return {
|
|
81
|
-
toggle: true,
|
|
82
|
-
// 是否更多筛选
|
|
83
|
-
type: 'select',
|
|
84
|
-
params: {},
|
|
85
|
-
title: '更多筛选',
|
|
86
|
-
field: '',
|
|
87
|
-
data: useList.sort(function (a, b) {
|
|
88
|
-
return !!b.fixed - !!a.fixed;
|
|
89
|
-
}),
|
|
90
|
-
renderItem: function renderItem(item, i) {
|
|
91
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", null, item.title), /*#__PURE__*/_react.default.createElement("div", {
|
|
92
|
-
className: "item_other"
|
|
93
|
-
}, !!i && /*#__PURE__*/_react.default.createElement("span", {
|
|
94
|
-
className: "item_top item_icon",
|
|
95
|
-
onClick: function onClick(e) {
|
|
96
|
-
return handleTop(e, item);
|
|
97
|
-
}
|
|
98
|
-
}, item.fixed ? /*#__PURE__*/_react.default.createElement(_icons.VerticalAlignTopOutlined, null) : /*#__PURE__*/_react.default.createElement(_icons.PushpinOutlined, null)), item.fixed ? /*#__PURE__*/_react.default.createElement("span", {
|
|
99
|
-
className: "item_fixed item_icon"
|
|
100
|
-
}, /*#__PURE__*/_react.default.createElement(_icons.PushpinOutlined, null)) : null));
|
|
101
|
-
}
|
|
102
|
-
};
|
|
103
|
-
}, [useList]);
|
|
104
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Popover.default, {
|
|
105
|
-
item: more,
|
|
106
|
-
getChange: resetList
|
|
107
|
-
}));
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
var _default = ToggleFilter;
|
|
111
|
-
exports.default = _default;
|