linkmore-design 1.0.90 → 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/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/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/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/dist/base.css +511 -0
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.min.js +1 -1
- 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/es/Input/style/variables.css +773 -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/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/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/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/style/index.css +1 -1
- 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/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/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/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/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/style/index.css +1 -1
- 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/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 +6 -2
- 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/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 -211
- 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/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 -211
- 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/LmFilter/index.js
DELETED
|
@@ -1,16 +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 _LmFilter = _interopRequireDefault(require("./LmFilter"));
|
|
11
|
-
|
|
12
|
-
var _components = _interopRequireDefault(require("./components"));
|
|
13
|
-
|
|
14
|
-
_LmFilter.default.FilterControl = _components.default;
|
|
15
|
-
var _default = _LmFilter.default;
|
|
16
|
-
exports.default = _default;
|
package/lib/LmFilter/utils.js
DELETED
|
@@ -1,173 +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.getFilterShow = getFilterShow;
|
|
9
|
-
exports.getFilterShowQuery = getFilterShowQuery;
|
|
10
|
-
exports.getFlatItem = getFlatItem;
|
|
11
|
-
exports.getIsHas = getIsHas;
|
|
12
|
-
exports.getRanges = getRanges;
|
|
13
|
-
exports.getValueForType = getValueForType;
|
|
14
|
-
exports.uniqueFunc = uniqueFunc;
|
|
15
|
-
|
|
16
|
-
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
17
|
-
|
|
18
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
19
|
-
|
|
20
|
-
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
21
|
-
|
|
22
|
-
var _dayjs = _interopRequireDefault(require("dayjs"));
|
|
23
|
-
|
|
24
|
-
// 检查是否存在内容
|
|
25
|
-
function getIsHas(val) {
|
|
26
|
-
// 检查是否数字类型, 是否布尔类型
|
|
27
|
-
var flag = !!val || typeof val === 'number' || typeof val === 'boolean'; // 检查空对象和空数组
|
|
28
|
-
|
|
29
|
-
if (!!val && (0, _typeof2.default)(val) === 'object') {
|
|
30
|
-
var _Object$keys;
|
|
31
|
-
|
|
32
|
-
flag = Array.isArray(val) ? !!val.length : !!((_Object$keys = Object.keys(val)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
return flag;
|
|
36
|
-
} // 根据类型返回对应的值
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
function getValueForType(type) {
|
|
40
|
-
if (['checkbox', 'cascader'].includes(type)) {
|
|
41
|
-
return [];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
return '';
|
|
45
|
-
} // 数组对象去重
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
function uniqueFunc(arr, guid) {
|
|
49
|
-
var res = new Map();
|
|
50
|
-
return arr.filter(function (item) {
|
|
51
|
-
var isHas = (item === null || item === void 0 ? void 0 : item[guid]) || typeof (item === null || item === void 0 ? void 0 : item[guid]) === 'number';
|
|
52
|
-
var resetItem = isHas ? item === null || item === void 0 ? void 0 : item[guid] : item;
|
|
53
|
-
return !res.has(resetItem) && res.set(resetItem, 1);
|
|
54
|
-
});
|
|
55
|
-
} // 获取最近的时间段
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
function getRanges() {
|
|
59
|
-
return {
|
|
60
|
-
近一周: [(0, _dayjs.default)().subtract(7, 'day').format('YYYY-MM-DD'), (0, _dayjs.default)().format('YYYY-MM-DD')],
|
|
61
|
-
近一月: [(0, _dayjs.default)().subtract(1, 'month').format('YYYY-MM-DD'), (0, _dayjs.default)().format('YYYY-MM-DD')],
|
|
62
|
-
近一年: [(0, _dayjs.default)().subtract(1, 'year').format('YYYY-MM-DD'), (0, _dayjs.default)().format('YYYY-MM-DD')]
|
|
63
|
-
};
|
|
64
|
-
} // 级联选择器获取深层结构数据 type: 遍历子/父结构
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
function getFlatItem(getItem, checkedValue) {
|
|
68
|
-
var _getItem$props, _getItem$props2;
|
|
69
|
-
|
|
70
|
-
var type = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'children';
|
|
71
|
-
var filterValues = (getItem === null || getItem === void 0 ? void 0 : (_getItem$props = getItem.props) === null || _getItem$props === void 0 ? void 0 : _getItem$props.multiple) ? checkedValue : [checkedValue];
|
|
72
|
-
var originArr = (getItem === null || getItem === void 0 ? void 0 : getItem.data) || []; // 用于自定义读取的字段
|
|
73
|
-
|
|
74
|
-
var fieldNames = (0, _objectSpread2.default)({
|
|
75
|
-
label: 'label',
|
|
76
|
-
value: 'value',
|
|
77
|
-
children: 'children'
|
|
78
|
-
}, (getItem === null || getItem === void 0 ? void 0 : (_getItem$props2 = getItem.props) === null || _getItem$props2 === void 0 ? void 0 : _getItem$props2.fieldNames) || {});
|
|
79
|
-
var nArr = []; // 获取子级项
|
|
80
|
-
|
|
81
|
-
var getChildren = function getChildren(item) {
|
|
82
|
-
var _item$fieldNames$chil;
|
|
83
|
-
|
|
84
|
-
if (!item) return;
|
|
85
|
-
|
|
86
|
-
if (type === 'parent') {
|
|
87
|
-
nArr.push(item);
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
if (item === null || item === void 0 ? void 0 : (_item$fieldNames$chil = item[fieldNames.children]) === null || _item$fieldNames$chil === void 0 ? void 0 : _item$fieldNames$chil.length) {
|
|
92
|
-
item === null || item === void 0 ? void 0 : item[fieldNames.children].forEach(function (v) {
|
|
93
|
-
return getChildren(v);
|
|
94
|
-
});
|
|
95
|
-
} else {
|
|
96
|
-
nArr.push(item);
|
|
97
|
-
}
|
|
98
|
-
}; // 检测到三级结构
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
filterValues.forEach(function (item) {
|
|
102
|
-
if (item.length === 1) {
|
|
103
|
-
var findItem = originArr === null || originArr === void 0 ? void 0 : originArr.find(function (v) {
|
|
104
|
-
return (v === null || v === void 0 ? void 0 : v[fieldNames.value]) === item[item.length - 1];
|
|
105
|
-
});
|
|
106
|
-
getChildren(findItem);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
if (item.length === 2) {
|
|
110
|
-
var _originArr$find;
|
|
111
|
-
|
|
112
|
-
var findArr1 = originArr === null || originArr === void 0 ? void 0 : (_originArr$find = originArr.find(function (v) {
|
|
113
|
-
return (v === null || v === void 0 ? void 0 : v[fieldNames.value]) === item[0];
|
|
114
|
-
})) === null || _originArr$find === void 0 ? void 0 : _originArr$find[fieldNames.children];
|
|
115
|
-
|
|
116
|
-
var _findItem = findArr1 === null || findArr1 === void 0 ? void 0 : findArr1.find(function (v) {
|
|
117
|
-
return (v === null || v === void 0 ? void 0 : v[fieldNames.value]) === item[item.length - 1];
|
|
118
|
-
});
|
|
119
|
-
|
|
120
|
-
getChildren(_findItem);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
if (item.length === 3) {
|
|
124
|
-
var _originArr$find2, _findArr$find;
|
|
125
|
-
|
|
126
|
-
var _findArr = originArr === null || originArr === void 0 ? void 0 : (_originArr$find2 = originArr.find(function (v) {
|
|
127
|
-
return (v === null || v === void 0 ? void 0 : v[fieldNames.value]) === item[0];
|
|
128
|
-
})) === null || _originArr$find2 === void 0 ? void 0 : _originArr$find2[fieldNames.children];
|
|
129
|
-
|
|
130
|
-
var findArr2 = _findArr === null || _findArr === void 0 ? void 0 : (_findArr$find = _findArr.find(function (v) {
|
|
131
|
-
return (v === null || v === void 0 ? void 0 : v[fieldNames.value]) === item[1];
|
|
132
|
-
})) === null || _findArr$find === void 0 ? void 0 : _findArr$find[fieldNames.children];
|
|
133
|
-
|
|
134
|
-
var _findItem2 = findArr2 === null || findArr2 === void 0 ? void 0 : findArr2.find(function (v) {
|
|
135
|
-
return (v === null || v === void 0 ? void 0 : v[fieldNames.value]) === item[item.length - 1];
|
|
136
|
-
});
|
|
137
|
-
|
|
138
|
-
nArr.push(_findItem2);
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
return nArr;
|
|
142
|
-
} // 返回过滤掉隐藏字段后的查询结构 () => {...}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
function getFilterShow(basicFilter, dataSource) {
|
|
146
|
-
return Object.keys(basicFilter).reduce(function (pre, cur) {
|
|
147
|
-
var value = basicFilter[cur];
|
|
148
|
-
|
|
149
|
-
if (dataSource.some(function (v) {
|
|
150
|
-
return v.field === cur && (v.show || typeof v.show !== 'boolean');
|
|
151
|
-
})) {
|
|
152
|
-
// eslint-disable-next-line no-param-reassign
|
|
153
|
-
pre[cur] = value;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
return pre;
|
|
157
|
-
}, {});
|
|
158
|
-
} // 返回过滤掉隐藏字段后的查询结构 () => [...]
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
function getFilterShowQuery(basicQuery, dataSource) {
|
|
162
|
-
return Object.keys(basicQuery).reduce(function (pre, cur) {
|
|
163
|
-
var value = basicQuery[cur];
|
|
164
|
-
|
|
165
|
-
if (dataSource.some(function (v) {
|
|
166
|
-
return v.field === cur && v.show || typeof v.show !== 'boolean';
|
|
167
|
-
})) {
|
|
168
|
-
return [].concat((0, _toConsumableArray2.default)(pre), [value]);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
return pre;
|
|
172
|
-
}, []);
|
|
173
|
-
}
|
|
@@ -1,41 +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 _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
var _baseFilter = _interopRequireDefault(require("../baseFilter"));
|
|
13
|
-
|
|
14
|
-
var _customFilter = _interopRequireDefault(require("../customFilter"));
|
|
15
|
-
|
|
16
|
-
var _complexFilter = _interopRequireDefault(require("../complexFilter"));
|
|
17
|
-
|
|
18
|
-
var _clearFilter = _interopRequireDefault(require("../clearFilter"));
|
|
19
|
-
|
|
20
|
-
// 筛选组合
|
|
21
|
-
var LmFilter = /*#__PURE__*/_react.default.memo(function (_ref) {
|
|
22
|
-
var instance = _ref.instance;
|
|
23
|
-
var enableBaisc = instance.enableBaisc,
|
|
24
|
-
enableComplex = instance.enableComplex,
|
|
25
|
-
enableCustom = instance.enableCustom,
|
|
26
|
-
enableClear = instance.enableClear;
|
|
27
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
28
|
-
className: "lm_filter"
|
|
29
|
-
}, /*#__PURE__*/_react.default.createElement(_customFilter.default, {
|
|
30
|
-
instance: instance
|
|
31
|
-
}), enableBaisc && /*#__PURE__*/_react.default.createElement(_baseFilter.default, {
|
|
32
|
-
instance: instance
|
|
33
|
-
}), enableComplex && /*#__PURE__*/_react.default.createElement(_complexFilter.default, {
|
|
34
|
-
instance: instance
|
|
35
|
-
}), enableClear && /*#__PURE__*/_react.default.createElement(_clearFilter.default, {
|
|
36
|
-
instance: instance
|
|
37
|
-
}));
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
var _default = LmFilter;
|
|
41
|
-
exports.default = _default;
|
|
@@ -1,25 +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 _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
var _Filter = _interopRequireDefault(require("./Filter"));
|
|
13
|
-
|
|
14
|
-
// 过滤组件主体区域
|
|
15
|
-
var LmFilterContainer = /*#__PURE__*/_react.default.memo(function (_ref) {
|
|
16
|
-
var instance = _ref.instance;
|
|
17
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
18
|
-
className: "lm_filter_container"
|
|
19
|
-
}, /*#__PURE__*/_react.default.createElement(_Filter.default, {
|
|
20
|
-
instance: instance
|
|
21
|
-
}));
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
var _default = LmFilterContainer;
|
|
25
|
-
exports.default = _default;
|
|
@@ -1,208 +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 _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
13
|
-
|
|
14
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
15
|
-
|
|
16
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
17
|
-
|
|
18
|
-
var _FilterWrapper = _interopRequireDefault(require("./FilterWrapper"));
|
|
19
|
-
|
|
20
|
-
var _filterFns = _interopRequireWildcard(require("../filterFns"));
|
|
21
|
-
|
|
22
|
-
// 根文件 => 参数聚合
|
|
23
|
-
var reducer = function reducer(state, action) {
|
|
24
|
-
var searchFilter = action.searchFilter,
|
|
25
|
-
searchQuery = action.searchQuery,
|
|
26
|
-
basicFilter = action.basicFilter,
|
|
27
|
-
basicQuery = action.basicQuery,
|
|
28
|
-
customFilter = action.customFilter,
|
|
29
|
-
customQuery = action.customQuery,
|
|
30
|
-
resize = action.resize,
|
|
31
|
-
rows = action.rows,
|
|
32
|
-
complexDrawer = action.complexDrawer,
|
|
33
|
-
valueDrawer = action.valueDrawer,
|
|
34
|
-
complexFilter = action.complexFilter,
|
|
35
|
-
customDrawer = action.customDrawer,
|
|
36
|
-
saveModal = action.saveModal;
|
|
37
|
-
|
|
38
|
-
switch (action.type) {
|
|
39
|
-
case 'changeSearchFilter':
|
|
40
|
-
// 模糊查询
|
|
41
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
42
|
-
searchFilter: searchFilter
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
case 'changeSearchQuery':
|
|
46
|
-
// 模糊查询
|
|
47
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
48
|
-
searchQuery: searchQuery
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
case 'changeBasicFilter':
|
|
52
|
-
// 基础筛选数据改变
|
|
53
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
54
|
-
basicFilter: basicFilter
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
case 'changeBasicQuery':
|
|
58
|
-
// 基础筛选数据改变
|
|
59
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
60
|
-
basicQuery: basicQuery
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
case 'changeCustomFilter':
|
|
64
|
-
// 自定义筛选数据改变
|
|
65
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
66
|
-
customFilter: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state.customFilter), customFilter)
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
case 'changeCustomQuery':
|
|
70
|
-
// 自定义筛选数据改变
|
|
71
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
72
|
-
customQuery: customQuery
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
case 'changeRows':
|
|
76
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
77
|
-
rows: rows
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
case 'windowResize':
|
|
81
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
82
|
-
resize: resize
|
|
83
|
-
});
|
|
84
|
-
// 高级筛选
|
|
85
|
-
|
|
86
|
-
case 'changeComplexFilter':
|
|
87
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
88
|
-
complexFilter: complexFilter
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
case 'changeComplexDrawer':
|
|
92
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
93
|
-
complexDrawer: complexDrawer
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
case 'changeValueDrawer':
|
|
97
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
98
|
-
valueDrawer: valueDrawer
|
|
99
|
-
});
|
|
100
|
-
// 自定义筛选
|
|
101
|
-
|
|
102
|
-
case 'changeCustomDrawer':
|
|
103
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
104
|
-
customDrawer: customDrawer
|
|
105
|
-
});
|
|
106
|
-
|
|
107
|
-
case 'changeSaveModal':
|
|
108
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
109
|
-
saveModal: saveModal
|
|
110
|
-
});
|
|
111
|
-
|
|
112
|
-
case 'reset':
|
|
113
|
-
// 一键清空
|
|
114
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
115
|
-
searchFilter: {},
|
|
116
|
-
searchQuery: {},
|
|
117
|
-
basicFilter: {},
|
|
118
|
-
basicQuery: {},
|
|
119
|
-
complexFilter: {}
|
|
120
|
-
});
|
|
121
|
-
|
|
122
|
-
default:
|
|
123
|
-
throw new Error();
|
|
124
|
-
}
|
|
125
|
-
}; // 仅在初始化时触发一次
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
var getInitialState = function getInitialState(props) {
|
|
129
|
-
var _initLocalization = (0, _filterFns.initLocalization)(props),
|
|
130
|
-
searchFilter = _initLocalization.searchFilter,
|
|
131
|
-
searchQuery = _initLocalization.searchQuery,
|
|
132
|
-
basicFilter = _initLocalization.basicFilter,
|
|
133
|
-
basicQuery = _initLocalization.basicQuery,
|
|
134
|
-
customQuery = _initLocalization.customQuery,
|
|
135
|
-
customFilter = _initLocalization.customFilter; // 字段对应关系 basicQuery => filterQuery; customQuery => globalQuery; searchQuery => fuzzyQuery
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
return {
|
|
139
|
-
searchFilter: searchFilter,
|
|
140
|
-
searchQuery: searchQuery,
|
|
141
|
-
// 模糊查询
|
|
142
|
-
basicFilter: basicFilter,
|
|
143
|
-
basicQuery: basicQuery,
|
|
144
|
-
customFilter: (0, _objectSpread2.default)({
|
|
145
|
-
value: '',
|
|
146
|
-
label: '不限',
|
|
147
|
-
data: {}
|
|
148
|
-
}, customFilter),
|
|
149
|
-
// 选中的自定义筛选项
|
|
150
|
-
customQuery: customQuery,
|
|
151
|
-
complexFilter: {},
|
|
152
|
-
complexDrawer: {
|
|
153
|
-
visible: false,
|
|
154
|
-
data: {}
|
|
155
|
-
},
|
|
156
|
-
valueDrawer: {
|
|
157
|
-
visible: false,
|
|
158
|
-
type: 'complex',
|
|
159
|
-
data: {}
|
|
160
|
-
},
|
|
161
|
-
customDrawer: {
|
|
162
|
-
visible: false,
|
|
163
|
-
type: 'edit',
|
|
164
|
-
data: {}
|
|
165
|
-
},
|
|
166
|
-
saveModal: {
|
|
167
|
-
visible: false,
|
|
168
|
-
data: {}
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
|
|
173
|
-
var LmFilterRoot = function LmFilterRoot(props, ref) {
|
|
174
|
-
var initialState = (0, _react.useMemo)(function () {
|
|
175
|
-
return getInitialState(props);
|
|
176
|
-
}, []);
|
|
177
|
-
|
|
178
|
-
var _useReducer = (0, _react.useReducer)(reducer, initialState),
|
|
179
|
-
_useReducer2 = (0, _slicedToArray2.default)(_useReducer, 2),
|
|
180
|
-
state = _useReducer2[0],
|
|
181
|
-
dispatch = _useReducer2[1]; // 获取核心Methods
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
var _useCoreOptions = (0, _filterFns.default)({
|
|
185
|
-
state: state,
|
|
186
|
-
dispatch: dispatch,
|
|
187
|
-
props: props
|
|
188
|
-
}),
|
|
189
|
-
CoreMethods = _useCoreOptions.CoreMethods,
|
|
190
|
-
RefMethods = _useCoreOptions.RefMethods; // 组件实例
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
var instance = (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), CoreMethods), RefMethods), {}, {
|
|
194
|
-
state: state,
|
|
195
|
-
dispatch: dispatch
|
|
196
|
-
}); // 向外暴露出的方法
|
|
197
|
-
|
|
198
|
-
(0, _react.useImperativeHandle)(ref, function () {
|
|
199
|
-
return (0, _objectSpread2.default)({}, RefMethods);
|
|
200
|
-
});
|
|
201
|
-
return /*#__PURE__*/_react.default.createElement(_FilterWrapper.default, {
|
|
202
|
-
instance: instance
|
|
203
|
-
});
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
var _default = /*#__PURE__*/(0, _react.forwardRef)(LmFilterRoot);
|
|
207
|
-
|
|
208
|
-
exports.default = _default;
|
|
@@ -1,25 +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 _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
|
-
var _FilterContainer = _interopRequireDefault(require("./FilterContainer"));
|
|
13
|
-
|
|
14
|
-
// 包裹过滤组件区域: 拓展其他结构
|
|
15
|
-
var LmFilterWrapper = /*#__PURE__*/_react.default.memo(function (_ref) {
|
|
16
|
-
var instance = _ref.instance;
|
|
17
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
18
|
-
className: "lm_filter_wrapper"
|
|
19
|
-
}, /*#__PURE__*/_react.default.createElement(_FilterContainer.default, {
|
|
20
|
-
instance: instance
|
|
21
|
-
}));
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
var _default = LmFilterWrapper;
|
|
25
|
-
exports.default = _default;
|