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/es/IconSelect/index.js
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
|
8
|
-
value: true
|
|
9
|
-
});
|
|
10
|
-
exports.default = void 0;
|
|
11
|
-
|
|
12
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/extends"));
|
|
13
|
-
|
|
14
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
15
|
-
|
|
16
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
17
|
-
|
|
18
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
19
|
-
|
|
20
|
-
var _linkmoreDesign = require("linkmore-design");
|
|
21
|
-
|
|
22
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
23
|
-
|
|
24
|
-
var _iconJson = _interopRequireDefault(require("./iconJson.json"));
|
|
25
|
-
|
|
26
|
-
var _excluded = ["item"];
|
|
27
|
-
|
|
28
|
-
// interface IconSelect {
|
|
29
|
-
// visible: boolean
|
|
30
|
-
// onClose: fn
|
|
31
|
-
// value: string
|
|
32
|
-
// onChange: fn
|
|
33
|
-
// }
|
|
34
|
-
var IconSelect = function IconSelect(_ref) {
|
|
35
|
-
var visible = _ref.visible,
|
|
36
|
-
onClose = _ref.onClose,
|
|
37
|
-
_ref$value = _ref.value,
|
|
38
|
-
value = _ref$value === void 0 ? '' : _ref$value,
|
|
39
|
-
onChange = _ref.onChange;
|
|
40
|
-
|
|
41
|
-
var _useState = (0, _react.useState)(),
|
|
42
|
-
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
43
|
-
active = _useState2[0],
|
|
44
|
-
setActive = _useState2[1];
|
|
45
|
-
|
|
46
|
-
var options = (0, _react.useMemo)(function () {
|
|
47
|
-
var result = [];
|
|
48
|
-
var originData = _iconJson.default.glyphs;
|
|
49
|
-
|
|
50
|
-
for (var i = 0, len = originData.length; i < len; i += 4) {
|
|
51
|
-
result.push(originData.slice(i, i + 4));
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
return result;
|
|
55
|
-
}, []);
|
|
56
|
-
|
|
57
|
-
var onSave = function onSave() {
|
|
58
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(active);
|
|
59
|
-
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
var onDoubleClick = function onDoubleClick(e) {
|
|
63
|
-
e.preventDefault();
|
|
64
|
-
e.stopPropagation();
|
|
65
|
-
onSave();
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
(0, _react.useEffect)(function () {
|
|
69
|
-
if (visible) {
|
|
70
|
-
setActive(value);
|
|
71
|
-
}
|
|
72
|
-
}, [visible]);
|
|
73
|
-
var config = {
|
|
74
|
-
title: '选择图标',
|
|
75
|
-
visible: visible,
|
|
76
|
-
size: 'small',
|
|
77
|
-
onOk: onSave,
|
|
78
|
-
onCancel: onClose // footer: [
|
|
79
|
-
// <Button key="cancel" onClick={onClose} size="middle">
|
|
80
|
-
// 取消
|
|
81
|
-
// </Button>,
|
|
82
|
-
// <Button type="primary" key="back" onClick={onSave} size="middle">
|
|
83
|
-
// 确定
|
|
84
|
-
// </Button>,
|
|
85
|
-
// ],
|
|
86
|
-
|
|
87
|
-
};
|
|
88
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Modal, config, /*#__PURE__*/_react.default.createElement("div", {
|
|
89
|
-
className: "lm-icon_select"
|
|
90
|
-
}, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.VirtualList, {
|
|
91
|
-
options: options
|
|
92
|
-
}, function (_ref2) {
|
|
93
|
-
var item = _ref2.item,
|
|
94
|
-
resetProps = (0, _objectWithoutProperties2.default)(_ref2, _excluded);
|
|
95
|
-
return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, resetProps, {
|
|
96
|
-
className: "lm-icon_row"
|
|
97
|
-
}), item === null || item === void 0 ? void 0 : item.map(function (v) {
|
|
98
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
99
|
-
key: v.font_class,
|
|
100
|
-
className: "lm-icon_col_wrapper"
|
|
101
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
102
|
-
className: (0, _classnames.default)('lm-icon_col', "lmweb-".concat(v.font_class) === active && 'lm-icon_active'),
|
|
103
|
-
onClick: function onClick() {
|
|
104
|
-
return setActive("lmweb-".concat(v.font_class));
|
|
105
|
-
},
|
|
106
|
-
onDoubleClick: onDoubleClick
|
|
107
|
-
}, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.IconFont, {
|
|
108
|
-
type: "lmweb-".concat(v.font_class)
|
|
109
|
-
})));
|
|
110
|
-
}));
|
|
111
|
-
}))));
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
var _default = IconSelect;
|
|
115
|
-
exports.default = _default;
|
package/es/InputRange/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { InputProps } from 'antd';
|
|
3
|
-
export interface InputRangeProps extends InputProps {
|
|
4
|
-
range: [string, string] | [number, number];
|
|
5
|
-
rangeChange?: (range: any) => void;
|
|
6
|
-
}
|
|
7
|
-
declare const InputRange: React.FC<InputRangeProps>;
|
|
8
|
-
export default InputRange;
|
package/es/InputRange/index.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import "antd/es/input/style";
|
|
2
|
-
import _Input from "antd/es/input";
|
|
3
|
-
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
4
|
-
|
|
5
|
-
var __rest = this && this.__rest || function (s, e) {
|
|
6
|
-
var t = {};
|
|
7
|
-
|
|
8
|
-
for (var p in s) {
|
|
9
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
13
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
14
|
-
}
|
|
15
|
-
return t;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
import React from 'react';
|
|
19
|
-
|
|
20
|
-
var InputRange = function InputRange(_a) {
|
|
21
|
-
var _a$range = _a.range,
|
|
22
|
-
range = _a$range === void 0 ? ['', ''] : _a$range,
|
|
23
|
-
_a$rangeChange = _a.rangeChange,
|
|
24
|
-
rangeChange = _a$rangeChange === void 0 ? function () {} : _a$rangeChange,
|
|
25
|
-
editEnum = __rest(_a, ["range", "rangeChange"]); // 输入值改变
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
var nValue = _toConsumableArray(range);
|
|
29
|
-
|
|
30
|
-
var handleInput = function handleInput(e, type) {
|
|
31
|
-
var v = e.target.value;
|
|
32
|
-
|
|
33
|
-
if (type === 'prev') {
|
|
34
|
-
nValue[0] = v;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
if (type === 'next') {
|
|
38
|
-
nValue[1] = v;
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
var handleBlur = function handleBlur() {
|
|
43
|
-
rangeChange(nValue);
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
47
|
-
className: "lm_editTable_wrapperRange"
|
|
48
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
49
|
-
className: "inputRange"
|
|
50
|
-
}, /*#__PURE__*/React.createElement(_Input, Object.assign({
|
|
51
|
-
value: range === null || range === void 0 ? void 0 : range[0],
|
|
52
|
-
placeholder: "\u8BF7\u8F93\u5165",
|
|
53
|
-
onBlur: handleBlur,
|
|
54
|
-
onChange: function onChange(e) {
|
|
55
|
-
return handleInput(e, 'prev');
|
|
56
|
-
}
|
|
57
|
-
}, editEnum)), "~", /*#__PURE__*/React.createElement(_Input, Object.assign({
|
|
58
|
-
value: range === null || range === void 0 ? void 0 : range[1],
|
|
59
|
-
placeholder: "\u8BF7\u8F93\u5165",
|
|
60
|
-
onBlur: handleBlur,
|
|
61
|
-
onChange: function onChange(e) {
|
|
62
|
-
return handleInput(e, 'next');
|
|
63
|
-
}
|
|
64
|
-
}, editEnum))));
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
export default InputRange;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index.css";
|
package/es/LeftTable/index.js
DELETED
|
@@ -1,184 +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/tree/style");
|
|
13
|
-
|
|
14
|
-
var _tree = _interopRequireDefault(require("antd/es/tree"));
|
|
15
|
-
|
|
16
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
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/esm/objectSpread2"));
|
|
23
|
-
|
|
24
|
-
var _icons = require("@ant-design/icons");
|
|
25
|
-
|
|
26
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
27
|
-
|
|
28
|
-
var _Popover = _interopRequireDefault(require("../Filter/Popover"));
|
|
29
|
-
|
|
30
|
-
var _imgTest = _interopRequireDefault(require("./assets/imgTest.jpg"));
|
|
31
|
-
|
|
32
|
-
var _IconFont = _interopRequireDefault(require("../IconFont"));
|
|
33
|
-
|
|
34
|
-
function TitleWithDelete(_ref) {
|
|
35
|
-
var title = _ref.title,
|
|
36
|
-
_ref$onRemove = _ref.onRemove,
|
|
37
|
-
onRemove = _ref$onRemove === void 0 ? function () {} : _ref$onRemove;
|
|
38
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
39
|
-
className: "title-box"
|
|
40
|
-
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
41
|
-
className: "title-name"
|
|
42
|
-
}, title), /*#__PURE__*/_react.default.createElement(_IconFont.default, {
|
|
43
|
-
onClick: onRemove,
|
|
44
|
-
className: "icon",
|
|
45
|
-
type: "lmweb-delete"
|
|
46
|
-
})));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function traverse(children) {
|
|
50
|
-
if (!Array.isArray(children)) {
|
|
51
|
-
return null;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
return children.map(function (value, index) {
|
|
55
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, value), {}, {
|
|
56
|
-
title: /*#__PURE__*/_react.default.createElement(TitleWithDelete, {
|
|
57
|
-
title: value.title,
|
|
58
|
-
onRemove: function onRemove() {
|
|
59
|
-
value.onRemove && value.onRemove(value, index);
|
|
60
|
-
}
|
|
61
|
-
}),
|
|
62
|
-
children: value.children ? traverse(value.children) : null
|
|
63
|
-
});
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
function BottomNode(_ref2) {
|
|
68
|
-
var onAdd = _ref2.onAdd;
|
|
69
|
-
return /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
70
|
-
type: "dashed"
|
|
71
|
-
}, /*#__PURE__*/_react.default.createElement(_IconFont.default, {
|
|
72
|
-
onClick: onAdd,
|
|
73
|
-
className: "icon",
|
|
74
|
-
type: "lmweb-plus"
|
|
75
|
-
}), "\u65B0\u589E");
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
var LeftSide = function LeftSide(_ref3) {
|
|
79
|
-
var useToggle = _ref3.useToggle,
|
|
80
|
-
toggleTree = _ref3.toggleTree,
|
|
81
|
-
treeData = _ref3.treeData,
|
|
82
|
-
treeType = _ref3.treeType,
|
|
83
|
-
_ref3$modeType = _ref3.modeType,
|
|
84
|
-
modeType = _ref3$modeType === void 0 ? 'readonly' : _ref3$modeType,
|
|
85
|
-
_ref3$showType = _ref3.showType,
|
|
86
|
-
showType = _ref3$showType === void 0 ? 'primary' : _ref3$showType,
|
|
87
|
-
_ref3$onAdd = _ref3.onAdd,
|
|
88
|
-
onAdd = _ref3$onAdd === void 0 ? function () {} : _ref3$onAdd,
|
|
89
|
-
_ref3$bottomNode = _ref3.bottomNode,
|
|
90
|
-
bottomNode = _ref3$bottomNode === void 0 ? null : _ref3$bottomNode;
|
|
91
|
-
|
|
92
|
-
// 带有删除的树
|
|
93
|
-
if (modeType === 'edit' && treeData.category) {
|
|
94
|
-
treeData.category = traverse(treeData.category);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
var _useState = (0, _react.useState)({
|
|
98
|
-
title: '分类',
|
|
99
|
-
treeData: treeData.category
|
|
100
|
-
}),
|
|
101
|
-
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
102
|
-
useTree = _useState2[0],
|
|
103
|
-
setTree = _useState2[1]; // 左侧树分类变化事件
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
var getTreeTypeChange = function getTreeTypeChange(value) {
|
|
107
|
-
var title = treeType.data.find(function (v) {
|
|
108
|
-
return v.value === value.value;
|
|
109
|
-
}).label;
|
|
110
|
-
var nValue = {
|
|
111
|
-
title: title,
|
|
112
|
-
treeData: treeData[value.value]
|
|
113
|
-
};
|
|
114
|
-
setTree(nValue);
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
var data = new Array(50).fill().map(function (item, index) {
|
|
118
|
-
return {
|
|
119
|
-
id: index,
|
|
120
|
-
title: '物料的名称',
|
|
121
|
-
code: "MLY001Y002009".concat(index, "Y"),
|
|
122
|
-
signer: index % 4 ? ['战略备料', '预售期货', '大货齐备', '外发加工'] : ['战略备料', '样衣打版'],
|
|
123
|
-
// 标签
|
|
124
|
-
tags: [{
|
|
125
|
-
icon: /*#__PURE__*/_react.default.createElement(_icons.ExportOutlined, null),
|
|
126
|
-
label: '战略备料'
|
|
127
|
-
}, {
|
|
128
|
-
label: '战略备料'
|
|
129
|
-
}],
|
|
130
|
-
checked: false,
|
|
131
|
-
material: '物料名称',
|
|
132
|
-
materialCode: "MLY001Y002009".concat(index, "Y"),
|
|
133
|
-
img: index % 2 ? 'http://www.wuliwu.top/logo.png' : _imgTest.default,
|
|
134
|
-
imgUrl: _imgTest.default,
|
|
135
|
-
state: index % 3 ? 'ok' : index % 2 ? 'disable' : 'wait',
|
|
136
|
-
supplier: '供应商名称',
|
|
137
|
-
number: 'MLY001',
|
|
138
|
-
contactUser: '联系人',
|
|
139
|
-
phone: '13131313131',
|
|
140
|
-
category: index % 2 ? '牛仔' : '非牛仔',
|
|
141
|
-
type: index % 2 ? '面料' : '辅料',
|
|
142
|
-
money: Math.floor(Math.random() * 2000) * index,
|
|
143
|
-
remark: '这是备注这是备注这是备注这是备注这是备注这是备注这是备注这是备注'
|
|
144
|
-
};
|
|
145
|
-
});
|
|
146
|
-
var modeTypeCls = showType === 'ghost' ? 'lm_ghost' : '';
|
|
147
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
148
|
-
className: useToggle ? "lm_grid_tree ".concat(modeTypeCls) : "lm_grid_tree grid_toggle ".concat(modeTypeCls)
|
|
149
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
150
|
-
className: "grid_tree_title"
|
|
151
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
152
|
-
className: "grid_tree_title_left"
|
|
153
|
-
}, /*#__PURE__*/_react.default.createElement("span", null, useTree.title)), treeType && /*#__PURE__*/_react.default.createElement(_Popover.default, {
|
|
154
|
-
item: treeType,
|
|
155
|
-
config: {
|
|
156
|
-
arrow: false,
|
|
157
|
-
placement: 'bottomRight',
|
|
158
|
-
overlayStyle: {
|
|
159
|
-
width: 168,
|
|
160
|
-
paddingTop: 0
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
getChange: function getChange(e, mode) {
|
|
164
|
-
return getTreeTypeChange(e, mode, data.field);
|
|
165
|
-
}
|
|
166
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
167
|
-
className: "grid_tree_title_right"
|
|
168
|
-
}, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
169
|
-
type: "text"
|
|
170
|
-
}, /*#__PURE__*/_react.default.createElement(_icons.EllipsisOutlined, null))))), /*#__PURE__*/_react.default.createElement(_tree.default, {
|
|
171
|
-
treeData: useTree.treeData,
|
|
172
|
-
rootClassName: "lm_tree_warp"
|
|
173
|
-
}), modeType !== 'readonly' && /*#__PURE__*/_react.default.createElement("div", {
|
|
174
|
-
className: "bottom_node"
|
|
175
|
-
}, bottomNode || /*#__PURE__*/_react.default.createElement(BottomNode, {
|
|
176
|
-
onAdd: onAdd
|
|
177
|
-
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
178
|
-
className: "toggle_btn",
|
|
179
|
-
onClick: toggleTree
|
|
180
|
-
}, /*#__PURE__*/_react.default.createElement(_icons.LeftOutlined, null)));
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
var _default = LeftSide;
|
|
184
|
-
exports.default = _default;
|
|
@@ -1,53 +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 _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/toConsumableArray"));
|
|
11
|
-
|
|
12
|
-
var _react = _interopRequireDefault(require("react"));
|
|
13
|
-
|
|
14
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
15
|
-
|
|
16
|
-
var _linkmoreDesign = require("linkmore-design");
|
|
17
|
-
|
|
18
|
-
// 复选标签组件,选中字段,多选
|
|
19
|
-
var CheckboxTags = function CheckboxTags(_ref) {
|
|
20
|
-
var value = _ref.value,
|
|
21
|
-
onChange = _ref.onChange,
|
|
22
|
-
options = _ref.options;
|
|
23
|
-
|
|
24
|
-
var handleClick = function handleClick(item) {
|
|
25
|
-
var oriValue = value || []; // 源数据
|
|
26
|
-
|
|
27
|
-
var has = oriValue === null || oriValue === void 0 ? void 0 : oriValue.includes(item.value); // 是否已被选中
|
|
28
|
-
|
|
29
|
-
var nValue = has ? oriValue.filter(function (v) {
|
|
30
|
-
return v !== item.value;
|
|
31
|
-
}) : [].concat((0, _toConsumableArray2.default)(oriValue), [item.value]);
|
|
32
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(nValue); // 返回选中的数据
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Space, {
|
|
36
|
-
size: 8,
|
|
37
|
-
wrap: true,
|
|
38
|
-
className: "auto_height"
|
|
39
|
-
}, options === null || options === void 0 ? void 0 : options.map(function (v) {
|
|
40
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
41
|
-
key: v.value,
|
|
42
|
-
className: (0, _classnames.default)('checkbox_tag', {
|
|
43
|
-
active: value === null || value === void 0 ? void 0 : value.includes(v.value)
|
|
44
|
-
}),
|
|
45
|
-
onClick: function onClick() {
|
|
46
|
-
return handleClick(v);
|
|
47
|
-
}
|
|
48
|
-
}, v.label);
|
|
49
|
-
})));
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
var _default = CheckboxTags;
|
|
53
|
-
exports.default = _default;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
|
8
|
-
value: true
|
|
9
|
-
});
|
|
10
|
-
exports.default = void 0;
|
|
11
|
-
|
|
12
|
-
require("antd/es/input/style");
|
|
13
|
-
|
|
14
|
-
var _input = _interopRequireDefault(require("antd/es/input"));
|
|
15
|
-
|
|
16
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/extends"));
|
|
17
|
-
|
|
18
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
19
|
-
|
|
20
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
21
|
-
|
|
22
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
23
|
-
|
|
24
|
-
var _CheckboxTags = _interopRequireDefault(require("./CheckboxTags"));
|
|
25
|
-
|
|
26
|
-
var _CascaderFilter = _interopRequireDefault(require("../components/CascaderFilter"));
|
|
27
|
-
|
|
28
|
-
var _DateFilter = _interopRequireDefault(require("../components/DateFilter"));
|
|
29
|
-
|
|
30
|
-
var _excluded = ["item", "options"];
|
|
31
|
-
|
|
32
|
-
// import Nested from './Nested';
|
|
33
|
-
var Controls = function Controls(props) {
|
|
34
|
-
var _props$item = props.item,
|
|
35
|
-
item = _props$item === void 0 ? {} : _props$item,
|
|
36
|
-
options = props.options,
|
|
37
|
-
resetProps = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
38
|
-
var type = item.type;
|
|
39
|
-
|
|
40
|
-
var _useState = (0, _react.useState)(false),
|
|
41
|
-
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
42
|
-
visible = _useState2[0],
|
|
43
|
-
setVisible = _useState2[1];
|
|
44
|
-
|
|
45
|
-
var instance = {
|
|
46
|
-
filterValue: resetProps.value,
|
|
47
|
-
setFilterValue: resetProps.onChange,
|
|
48
|
-
visible: visible,
|
|
49
|
-
setVisible: setVisible,
|
|
50
|
-
children: null
|
|
51
|
-
};
|
|
52
|
-
var obj = {
|
|
53
|
-
select: /*#__PURE__*/_react.default.createElement(_CheckboxTags.default, (0, _extends2.default)({
|
|
54
|
-
options: options
|
|
55
|
-
}, resetProps)),
|
|
56
|
-
checkbox: /*#__PURE__*/_react.default.createElement(_CheckboxTags.default, (0, _extends2.default)({
|
|
57
|
-
options: options
|
|
58
|
-
}, resetProps)),
|
|
59
|
-
cascader: /*#__PURE__*/_react.default.createElement(_CascaderFilter.default, {
|
|
60
|
-
instance: instance,
|
|
61
|
-
item: item,
|
|
62
|
-
options: options
|
|
63
|
-
}),
|
|
64
|
-
date: /*#__PURE__*/_react.default.createElement(_DateFilter.default, {
|
|
65
|
-
instance: instance,
|
|
66
|
-
item: item,
|
|
67
|
-
options: options
|
|
68
|
-
}),
|
|
69
|
-
input: /*#__PURE__*/_react.default.createElement(_input.default, (0, _extends2.default)({
|
|
70
|
-
placeholder: "\u8BF7\u8F93\u5165"
|
|
71
|
-
}, resetProps)) // 'nested': <Nested options={options} {...resetProps} />,
|
|
72
|
-
|
|
73
|
-
};
|
|
74
|
-
return obj[type] || null;
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
var _default = Controls;
|
|
78
|
-
exports.default = _default;
|
package/es/LmFilter/LmFilter.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
|
-
|
|
7
|
-
Object.defineProperty(exports, "__esModule", {
|
|
8
|
-
value: true
|
|
9
|
-
});
|
|
10
|
-
exports.default = void 0;
|
|
11
|
-
|
|
12
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/extends"));
|
|
13
|
-
|
|
14
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
15
|
-
|
|
16
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
17
|
-
|
|
18
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
19
|
-
|
|
20
|
-
var _FilterRoot = _interopRequireDefault(require("./wrapper/FilterRoot"));
|
|
21
|
-
|
|
22
|
-
var _localization = require("./localization");
|
|
23
|
-
|
|
24
|
-
var _excluded = ["searchConfig", "localization"];
|
|
25
|
-
|
|
26
|
-
var LmFilter = function LmFilter(_ref, ref) {
|
|
27
|
-
var _ref$searchConfig = _ref.searchConfig,
|
|
28
|
-
searchConfig = _ref$searchConfig === void 0 ? {} : _ref$searchConfig,
|
|
29
|
-
_ref$localization = _ref.localization,
|
|
30
|
-
localization = _ref$localization === void 0 ? {} : _ref$localization,
|
|
31
|
-
resetProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
32
|
-
var defaultRef = (0, _react.useRef)(null);
|
|
33
|
-
var defaultProps = {
|
|
34
|
-
dataSource: [],
|
|
35
|
-
// 数据源
|
|
36
|
-
enableSearch: true,
|
|
37
|
-
// 是否启用模糊查询
|
|
38
|
-
enableBaisc: true,
|
|
39
|
-
// 是否启用基础筛选
|
|
40
|
-
enableComplex: false,
|
|
41
|
-
// 是否启用高级筛选
|
|
42
|
-
enableCustom: false,
|
|
43
|
-
// 是否启用自定义筛选
|
|
44
|
-
enableClear: true,
|
|
45
|
-
// 是否展示一件清空
|
|
46
|
-
size: 'middle',
|
|
47
|
-
// 尺寸
|
|
48
|
-
searchKey: 'search',
|
|
49
|
-
// 搜索的key值
|
|
50
|
-
searchConfig: (0, _objectSpread2.default)({
|
|
51
|
-
relation: 'or',
|
|
52
|
-
fieldType: 'string',
|
|
53
|
-
operator: 'contains'
|
|
54
|
-
}, searchConfig || {}),
|
|
55
|
-
// 模糊搜索配置
|
|
56
|
-
placeholder: '请输入',
|
|
57
|
-
// 搜索占位符
|
|
58
|
-
customRender: null,
|
|
59
|
-
// 自定义一级筛选Dom
|
|
60
|
-
localization: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, _localization.DefaultLocalization), localization || {})
|
|
61
|
-
};
|
|
62
|
-
return /*#__PURE__*/_react.default.createElement(_FilterRoot.default, (0, _extends2.default)({
|
|
63
|
-
ref: ref || defaultRef
|
|
64
|
-
}, defaultProps, resetProps));
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
var _default = /*#__PURE__*/(0, _react.forwardRef)(LmFilter);
|
|
68
|
-
|
|
69
|
-
exports.default = _default;
|
|
@@ -1,69 +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 _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
13
|
-
|
|
14
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
15
|
-
|
|
16
|
-
var _InputSearchClose = _interopRequireDefault(require("../components/InputSearchClose"));
|
|
17
|
-
|
|
18
|
-
var FuzzySearch = function FuzzySearch(_ref) {
|
|
19
|
-
var instance = _ref.instance;
|
|
20
|
-
var inputRef = (0, _react.useRef)(null);
|
|
21
|
-
var state = instance.state,
|
|
22
|
-
setFilterValue = instance.setFilterValue,
|
|
23
|
-
setSearchFilter = instance.setSearchFilter,
|
|
24
|
-
size = instance.size,
|
|
25
|
-
placeholder = instance.placeholder,
|
|
26
|
-
searchKey = instance.searchKey,
|
|
27
|
-
searchConfig = instance.searchConfig; // 默认值, 不同searchKey类型时获取的方式不同
|
|
28
|
-
|
|
29
|
-
var defaultValue = (0, _react.useMemo)(function () {
|
|
30
|
-
var _state$searchFilter, _state$basicFilter;
|
|
31
|
-
|
|
32
|
-
var nValue = Array.isArray(searchKey) ? (_state$searchFilter = state.searchFilter) === null || _state$searchFilter === void 0 ? void 0 : _state$searchFilter[searchKey[0]] : (_state$basicFilter = state.basicFilter) === null || _state$basicFilter === void 0 ? void 0 : _state$basicFilter[searchKey];
|
|
33
|
-
return nValue || '';
|
|
34
|
-
}, [state.basicFilter, state.searchFilter, searchKey]);
|
|
35
|
-
|
|
36
|
-
var onSearch = function onSearch(val) {
|
|
37
|
-
var isFuzzy = Array.isArray(searchKey);
|
|
38
|
-
var item = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, searchConfig), {}, {
|
|
39
|
-
field: searchKey
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
if (isFuzzy) {
|
|
43
|
-
setSearchFilter(val);
|
|
44
|
-
} else {
|
|
45
|
-
setFilterValue(val, item);
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
(0, _react.useEffect)(function () {
|
|
50
|
-
if (!defaultValue) {
|
|
51
|
-
inputRef.current.setValue('');
|
|
52
|
-
} else {
|
|
53
|
-
inputRef.current.setValue(defaultValue);
|
|
54
|
-
}
|
|
55
|
-
}, [state.basicFilter, state.searchFilter]);
|
|
56
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
57
|
-
className: "lm_filter_search"
|
|
58
|
-
}, /*#__PURE__*/_react.default.createElement(_InputSearchClose.default, {
|
|
59
|
-
ref: inputRef,
|
|
60
|
-
allowClear: true,
|
|
61
|
-
defaultValue: defaultValue,
|
|
62
|
-
size: size,
|
|
63
|
-
placeholder: placeholder,
|
|
64
|
-
onSearch: onSearch
|
|
65
|
-
}));
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
var _default = FuzzySearch;
|
|
69
|
-
exports.default = _default;
|