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
|
@@ -1,27 +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 _TableBody = _interopRequireDefault(require("../body/TableBody"));
|
|
13
|
-
|
|
14
|
-
// 卡片表格
|
|
15
|
-
var LmCardTable = /*#__PURE__*/_react.default.memo(function (_ref) {
|
|
16
|
-
var table = _ref.table,
|
|
17
|
-
tableContainerRef = _ref.tableContainerRef;
|
|
18
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
19
|
-
className: "lm_card_table"
|
|
20
|
-
}, /*#__PURE__*/_react.default.createElement(_TableBody.default, {
|
|
21
|
-
table: table,
|
|
22
|
-
tableContainerRef: tableContainerRef
|
|
23
|
-
}));
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
var _default = LmCardTable;
|
|
27
|
-
exports.default = _default;
|
|
@@ -1,97 +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 _react = _interopRequireWildcard(require("react"));
|
|
13
|
-
|
|
14
|
-
var _Table = _interopRequireDefault(require("./Table"));
|
|
15
|
-
|
|
16
|
-
var _utils = require("../utils");
|
|
17
|
-
|
|
18
|
-
// 主体区域: 对表格进行包裹
|
|
19
|
-
// 获取主体高度
|
|
20
|
-
var useIsomorphicLayoutEffect = typeof window !== 'undefined' ? _react.useLayoutEffect : _react.useEffect;
|
|
21
|
-
|
|
22
|
-
var LmCardTableContainer = /*#__PURE__*/_react.default.memo(function (_ref) {
|
|
23
|
-
var table = _ref.table;
|
|
24
|
-
var dataSource = table.dataSource,
|
|
25
|
-
dispatch = table.dispatch,
|
|
26
|
-
cellConfig = table.cellConfig,
|
|
27
|
-
type = table.type;
|
|
28
|
-
var tableContainerRef = (0, _react.useRef)(null); // 行数据计算
|
|
29
|
-
|
|
30
|
-
var getRows = (0, _react.useCallback)(function (columnCount) {
|
|
31
|
-
var arr = [];
|
|
32
|
-
var len = Math.ceil(dataSource.length / columnCount);
|
|
33
|
-
|
|
34
|
-
for (var i = 0; i < len; i += 1) {
|
|
35
|
-
var startIndex = columnCount * i;
|
|
36
|
-
var items = dataSource.slice(startIndex, startIndex + columnCount);
|
|
37
|
-
arr.push(items);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
return arr;
|
|
41
|
-
}, [dataSource]); // 获取容器盒子高宽
|
|
42
|
-
|
|
43
|
-
var getResize = (0, _react.useCallback)(function () {
|
|
44
|
-
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
45
|
-
blockSize = _ref2.blockSize,
|
|
46
|
-
inlineSize = _ref2.inlineSize;
|
|
47
|
-
|
|
48
|
-
// 列数量
|
|
49
|
-
var colCount = (0, _utils.getResizeColumnCount)({
|
|
50
|
-
width: inlineSize,
|
|
51
|
-
height: blockSize
|
|
52
|
-
}, cellConfig.width); // 获取行
|
|
53
|
-
|
|
54
|
-
var rows = getRows(colCount);
|
|
55
|
-
dispatch({
|
|
56
|
-
type: 'windowResize',
|
|
57
|
-
resize: {
|
|
58
|
-
width: inlineSize,
|
|
59
|
-
height: blockSize
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
dispatch({
|
|
63
|
-
type: 'changeColumnCount',
|
|
64
|
-
columnCount: colCount
|
|
65
|
-
});
|
|
66
|
-
dispatch({
|
|
67
|
-
type: 'changeRows',
|
|
68
|
-
rows: rows
|
|
69
|
-
});
|
|
70
|
-
}, [getRows, cellConfig.width]); // 获取表格高度
|
|
71
|
-
|
|
72
|
-
useIsomorphicLayoutEffect(function () {
|
|
73
|
-
// 频繁变动可考虑增加防抖
|
|
74
|
-
var resizeObserver = new ResizeObserver(function (entries) {
|
|
75
|
-
var borderbox = entries[0].borderBoxSize[0];
|
|
76
|
-
getResize(borderbox);
|
|
77
|
-
});
|
|
78
|
-
|
|
79
|
-
if (tableContainerRef.current) {
|
|
80
|
-
resizeObserver.observe(tableContainerRef.current);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
return function () {
|
|
84
|
-
return resizeObserver.disconnect();
|
|
85
|
-
};
|
|
86
|
-
}, [type, getResize]);
|
|
87
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
88
|
-
ref: tableContainerRef,
|
|
89
|
-
className: "lm_card_table_container"
|
|
90
|
-
}, /*#__PURE__*/_react.default.createElement(_Table.default, {
|
|
91
|
-
table: table,
|
|
92
|
-
tableContainerRef: tableContainerRef
|
|
93
|
-
}));
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
var _default = LmCardTableContainer;
|
|
97
|
-
exports.default = _default;
|
|
@@ -1,210 +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 _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
13
|
-
|
|
14
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
-
|
|
16
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
17
|
-
|
|
18
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
19
|
-
|
|
20
|
-
var _TableWrapper = _interopRequireDefault(require("./TableWrapper"));
|
|
21
|
-
|
|
22
|
-
var _fns = _interopRequireDefault(require("../fns"));
|
|
23
|
-
|
|
24
|
-
var _excluded = ["checkKeys", "trigger", "checkMethod"],
|
|
25
|
-
_excluded2 = ["checkKey", "trigger"],
|
|
26
|
-
_excluded3 = ["rowConfig", "cellConfig", "defaultConfig", "checkboxConfig", "radioConfig", "selectionConfig", "pagerConfig", "toolbarConfig"];
|
|
27
|
-
|
|
28
|
-
var reducer = function reducer(state, action) {
|
|
29
|
-
var page = action.page,
|
|
30
|
-
resize = action.resize,
|
|
31
|
-
columnCount = action.columnCount,
|
|
32
|
-
rows = action.rows,
|
|
33
|
-
checkboxConfig = action.checkboxConfig,
|
|
34
|
-
radioConfig = action.radioConfig;
|
|
35
|
-
|
|
36
|
-
switch (action.type) {
|
|
37
|
-
case 'changePage':
|
|
38
|
-
// 分页改变
|
|
39
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
40
|
-
page: page
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
case 'changeColumnCount':
|
|
44
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
45
|
-
columnCount: columnCount
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
case 'changeRows':
|
|
49
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
50
|
-
rows: rows
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
case 'windowResize':
|
|
54
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
55
|
-
resize: resize
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
case 'changeCheckboxConfig':
|
|
59
|
-
// 复选中的Key
|
|
60
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
61
|
-
checkboxConfig: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state.checkboxConfig), checkboxConfig)
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
case 'changeRadioConfig':
|
|
65
|
-
// 单选中的Key
|
|
66
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state), {}, {
|
|
67
|
-
radioConfig: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, state.radioConfig), radioConfig)
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
default:
|
|
71
|
-
throw new Error();
|
|
72
|
-
}
|
|
73
|
-
}; // 仅在初始化时触发一次
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
var getInitialState = function getInitialState(props) {
|
|
77
|
-
var _props$checkboxConfig = props.checkboxConfig,
|
|
78
|
-
checkboxConfig = _props$checkboxConfig === void 0 ? {} : _props$checkboxConfig,
|
|
79
|
-
_props$radioConfig = props.radioConfig,
|
|
80
|
-
radioConfig = _props$radioConfig === void 0 ? {} : _props$radioConfig,
|
|
81
|
-
_props$dataSource = props.dataSource,
|
|
82
|
-
dataSource = _props$dataSource === void 0 ? [] : _props$dataSource,
|
|
83
|
-
cellKey = props.cellKey;
|
|
84
|
-
var _checkboxConfig$check = checkboxConfig.checkKeys,
|
|
85
|
-
checkKeys = _checkboxConfig$check === void 0 ? [] : _checkboxConfig$check,
|
|
86
|
-
_checkboxConfig$trigg = checkboxConfig.trigger,
|
|
87
|
-
checkboxTrigger = _checkboxConfig$trigg === void 0 ? 'default' : _checkboxConfig$trigg,
|
|
88
|
-
_checkboxConfig$check2 = checkboxConfig.checkMethod,
|
|
89
|
-
checkMethod = _checkboxConfig$check2 === void 0 ? true : _checkboxConfig$check2,
|
|
90
|
-
resetCheckCOnfig = (0, _objectWithoutProperties2.default)(checkboxConfig, _excluded);
|
|
91
|
-
var _radioConfig$checkKey = radioConfig.checkKey,
|
|
92
|
-
checkKey = _radioConfig$checkKey === void 0 ? '' : _radioConfig$checkKey,
|
|
93
|
-
_radioConfig$trigger = radioConfig.trigger,
|
|
94
|
-
radioTrigger = _radioConfig$trigger === void 0 ? 'default' : _radioConfig$trigger,
|
|
95
|
-
resetRadioConfig = (0, _objectWithoutProperties2.default)(radioConfig, _excluded2);
|
|
96
|
-
var checkValues = dataSource.filter(function (v) {
|
|
97
|
-
return checkKeys.includes(v[cellKey]);
|
|
98
|
-
}) || [];
|
|
99
|
-
var checkValue = dataSource.find(function (v) {
|
|
100
|
-
return checkKey === v[cellKey];
|
|
101
|
-
});
|
|
102
|
-
return {
|
|
103
|
-
// 复选框的配置
|
|
104
|
-
checkboxConfig: (0, _objectSpread2.default)({
|
|
105
|
-
checkKeys: checkKeys,
|
|
106
|
-
checkValues: checkValues,
|
|
107
|
-
trigger: checkboxTrigger,
|
|
108
|
-
checkMethod: checkMethod
|
|
109
|
-
}, resetCheckCOnfig),
|
|
110
|
-
radioConfig: (0, _objectSpread2.default)({
|
|
111
|
-
checkKey: checkKey,
|
|
112
|
-
checkValue: checkValue,
|
|
113
|
-
trigger: radioTrigger
|
|
114
|
-
}, resetRadioConfig),
|
|
115
|
-
// 分页的配置
|
|
116
|
-
page: {
|
|
117
|
-
pageIndex: 1,
|
|
118
|
-
pageSize: 20,
|
|
119
|
-
total: 0
|
|
120
|
-
},
|
|
121
|
-
// 容器盒子的大小
|
|
122
|
-
resize: {
|
|
123
|
-
widht: 0,
|
|
124
|
-
height: 0
|
|
125
|
-
},
|
|
126
|
-
// 列数量
|
|
127
|
-
columnCount: 5,
|
|
128
|
-
rows: [] // 行数据
|
|
129
|
-
|
|
130
|
-
};
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
var LmCardTableRoot = function LmCardTableRoot(props, ref) {
|
|
134
|
-
var initialState = (0, _react.useMemo)(function () {
|
|
135
|
-
return getInitialState(props);
|
|
136
|
-
}, []);
|
|
137
|
-
|
|
138
|
-
var _useReducer = (0, _react.useReducer)(reducer, initialState),
|
|
139
|
-
_useReducer2 = (0, _slicedToArray2.default)(_useReducer, 2),
|
|
140
|
-
state = _useReducer2[0],
|
|
141
|
-
dispatch = _useReducer2[1]; // eslint-disable-next-line no-unused-vars
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
var _useState = (0, _react.useState)(false),
|
|
145
|
-
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
146
|
-
isFullScreen = _useState2[0],
|
|
147
|
-
setIsFullScreen = _useState2[1]; // 配置对象收集
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
var configProps = (0, _react.useMemo)(function () {
|
|
151
|
-
var rowConfig = props.rowConfig,
|
|
152
|
-
cellConfig = props.cellConfig,
|
|
153
|
-
defaultConfig = props.defaultConfig,
|
|
154
|
-
checkboxConfig = props.checkboxConfig,
|
|
155
|
-
radioConfig = props.radioConfig,
|
|
156
|
-
selectionConfig = props.selectionConfig,
|
|
157
|
-
pagerConfig = props.pagerConfig,
|
|
158
|
-
toolbarConfig = props.toolbarConfig,
|
|
159
|
-
resetProps = (0, _objectWithoutProperties2.default)(props, _excluded3);
|
|
160
|
-
return (0, _objectSpread2.default)((0, _objectSpread2.default)({}, resetProps), {}, {
|
|
161
|
-
rowConfig: (0, _objectSpread2.default)({
|
|
162
|
-
// 行配置
|
|
163
|
-
gap: 16
|
|
164
|
-
}, rowConfig),
|
|
165
|
-
cellConfig: (0, _objectSpread2.default)({
|
|
166
|
-
// 单元格配置对象
|
|
167
|
-
width: 192,
|
|
168
|
-
height: 282
|
|
169
|
-
}, cellConfig),
|
|
170
|
-
selectionConfig: (0, _objectSpread2.default)({
|
|
171
|
-
type: ['checkbox', 'radio']
|
|
172
|
-
}, selectionConfig),
|
|
173
|
-
radioConfig: (0, _objectSpread2.default)({}, radioConfig),
|
|
174
|
-
checkboxConfig: (0, _objectSpread2.default)({}, checkboxConfig),
|
|
175
|
-
pagerConfig: (0, _objectSpread2.default)({}, pagerConfig),
|
|
176
|
-
toolbarConfig: (0, _objectSpread2.default)({}, toolbarConfig),
|
|
177
|
-
defaultConfig: defaultConfig
|
|
178
|
-
});
|
|
179
|
-
}, [props]); // 方法收集
|
|
180
|
-
|
|
181
|
-
var eventProps = (0, _react.useMemo)(function () {
|
|
182
|
-
return (0, _fns.default)({
|
|
183
|
-
state: state,
|
|
184
|
-
dispatch: dispatch,
|
|
185
|
-
props: configProps
|
|
186
|
-
});
|
|
187
|
-
}, [state, dispatch, configProps]);
|
|
188
|
-
var table = (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, configProps), eventProps), {}, {
|
|
189
|
-
state: state,
|
|
190
|
-
dispatch: dispatch
|
|
191
|
-
}); // 向外暴露出的方法
|
|
192
|
-
|
|
193
|
-
(0, _react.useImperativeHandle)(ref, function () {
|
|
194
|
-
return (0, _objectSpread2.default)({
|
|
195
|
-
getCheckboxRecords: function getCheckboxRecords() {
|
|
196
|
-
return state.checkboxConfig.checkValues;
|
|
197
|
-
},
|
|
198
|
-
getRadioRecord: function getRadioRecord() {
|
|
199
|
-
return state.radioConfig.checkValue;
|
|
200
|
-
}
|
|
201
|
-
}, eventProps);
|
|
202
|
-
});
|
|
203
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !isFullScreen && /*#__PURE__*/_react.default.createElement(_TableWrapper.default, {
|
|
204
|
-
table: table
|
|
205
|
-
}));
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
var _default = /*#__PURE__*/(0, _react.forwardRef)(LmCardTableRoot);
|
|
209
|
-
|
|
210
|
-
exports.default = _default;
|
|
@@ -1,40 +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 _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
11
|
-
|
|
12
|
-
var _react = _interopRequireDefault(require("react"));
|
|
13
|
-
|
|
14
|
-
var _TableContainer = _interopRequireDefault(require("./TableContainer"));
|
|
15
|
-
|
|
16
|
-
var _pager = _interopRequireDefault(require("../pager"));
|
|
17
|
-
|
|
18
|
-
var _ToolBarBottom = _interopRequireDefault(require("../toolbar/ToolBarBottom"));
|
|
19
|
-
|
|
20
|
-
// 包裹表格外围区域: 工具栏操作区域/主体区域/工具栏底部区域
|
|
21
|
-
var LmCardTableWrapper = /*#__PURE__*/_react.default.memo(function (_ref) {
|
|
22
|
-
var table = _ref.table;
|
|
23
|
-
var height = table.height,
|
|
24
|
-
style = table.style;
|
|
25
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
26
|
-
className: "lm_card_table_wrapper",
|
|
27
|
-
style: (0, _objectSpread2.default)({
|
|
28
|
-
height: height
|
|
29
|
-
}, style)
|
|
30
|
-
}, /*#__PURE__*/_react.default.createElement(_TableContainer.default, {
|
|
31
|
-
table: table
|
|
32
|
-
}), /*#__PURE__*/_react.default.createElement(_pager.default, {
|
|
33
|
-
table: table
|
|
34
|
-
}), /*#__PURE__*/_react.default.createElement(_ToolBarBottom.default, {
|
|
35
|
-
table: table
|
|
36
|
-
}));
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
var _default = LmCardTableWrapper;
|
|
40
|
-
exports.default = _default;
|
|
@@ -1,28 +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 CardToolBarBottom = /*#__PURE__*/_react.default.memo(function (_ref) {
|
|
13
|
-
var table = _ref.table;
|
|
14
|
-
var pagination = table.pagination,
|
|
15
|
-
toolbarBottom = table.toolbarConfig.toolbarBottom;
|
|
16
|
-
|
|
17
|
-
if (!toolbarBottom) {
|
|
18
|
-
return null;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
return typeof toolbarBottom === 'function' ? toolbarBottom(table) : toolbarBottom // <div className='lm_card_table_toolbar_bottom'>
|
|
22
|
-
// <ToolbarBottomSlot />
|
|
23
|
-
// </div>
|
|
24
|
-
;
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
var _default = CardToolBarBottom;
|
|
28
|
-
exports.default = _default;
|
package/lib/CardTable/utils.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getResizeColumnCount = void 0;
|
|
7
|
-
|
|
8
|
-
// 列响应数量处理: (盒子总高宽, 列宽度)
|
|
9
|
-
var getResizeColumnCount = function getResizeColumnCount() {
|
|
10
|
-
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
11
|
-
totalWidth = _ref.width;
|
|
12
|
-
|
|
13
|
-
var colWidth = arguments.length > 1 ? arguments[1] : undefined;
|
|
14
|
-
|
|
15
|
-
if (totalWidth > 1790) {
|
|
16
|
-
return colWidth > 308 ? 4 : colWidth > 228 ? 5 : colWidth > 200 ? 6 : 7;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
if (totalWidth > 1390) {
|
|
20
|
-
return colWidth > 308 ? 3 : colWidth > 228 ? 4 : colWidth > 200 ? 5 : 6;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
if (totalWidth > 990) {
|
|
24
|
-
return colWidth > 308 ? 2 : colWidth > 228 ? 3 : colWidth > 200 ? 4 : 5;
|
|
25
|
-
} // 小于990时
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return colWidth > 308 ? 2 : colWidth > 228 ? 3 : colWidth > 200 ? 4 : 5;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
exports.getResizeColumnCount = getResizeColumnCount;
|
package/lib/Checkbox/index.js
DELETED
|
@@ -1,47 +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
|
-
require("antd/es/checkbox/style");
|
|
11
|
-
|
|
12
|
-
var _checkbox = _interopRequireDefault(require("antd/es/checkbox"));
|
|
13
|
-
|
|
14
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
|
-
|
|
16
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
17
|
-
|
|
18
|
-
var _react = _interopRequireDefault(require("react"));
|
|
19
|
-
|
|
20
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
21
|
-
|
|
22
|
-
var _excluded = ["children"],
|
|
23
|
-
_excluded2 = ["children", "size", "buttonStyle", "direction"];
|
|
24
|
-
|
|
25
|
-
var LMCheckBox = function LMCheckBox(props) {
|
|
26
|
-
var children = props.children,
|
|
27
|
-
restProps = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
28
|
-
var classString = (0, _classnames.default)(restProps.className, 'lm-checkbox');
|
|
29
|
-
return /*#__PURE__*/_react.default.createElement(_checkbox.default, (0, _extends2.default)({}, restProps, {
|
|
30
|
-
className: classString
|
|
31
|
-
}), children);
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
LMCheckBox.Group = function (props) {
|
|
35
|
-
var children = props.children,
|
|
36
|
-
size = props.size,
|
|
37
|
-
buttonStyle = props.buttonStyle,
|
|
38
|
-
_props$direction = props.direction,
|
|
39
|
-
direction = _props$direction === void 0 ? 'row' : _props$direction,
|
|
40
|
-
restProps = (0, _objectWithoutProperties2.default)(props, _excluded2);
|
|
41
|
-
return /*#__PURE__*/_react.default.createElement(_checkbox.default.Group, (0, _extends2.default)({
|
|
42
|
-
className: (0, _classnames.default)('lm-checkbox-group', "lm-checkbox-group-".concat(direction))
|
|
43
|
-
}, restProps), children);
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
var _default = LMCheckBox;
|
|
47
|
-
exports.default = _default;
|
|
@@ -1,120 +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/drawer/style");
|
|
13
|
-
|
|
14
|
-
var _drawer = _interopRequireDefault(require("antd/es/drawer"));
|
|
15
|
-
|
|
16
|
-
require("antd/es/button/style");
|
|
17
|
-
|
|
18
|
-
var _button = _interopRequireDefault(require("antd/es/button"));
|
|
19
|
-
|
|
20
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
21
|
-
|
|
22
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
23
|
-
|
|
24
|
-
var _icons = require("@ant-design/icons");
|
|
25
|
-
|
|
26
|
-
var _question = _interopRequireDefault(require("../assets/question01.png"));
|
|
27
|
-
|
|
28
|
-
var _shuoming = _interopRequireDefault(require("../assets/shuoming01.png"));
|
|
29
|
-
|
|
30
|
-
var _shuoming2 = _interopRequireDefault(require("../assets/shuoming02.png"));
|
|
31
|
-
|
|
32
|
-
var Question = function Question(_ref) {
|
|
33
|
-
var cRef = _ref.cRef;
|
|
34
|
-
|
|
35
|
-
var _useState = (0, _react.useState)(false),
|
|
36
|
-
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
37
|
-
visible = _useState2[0],
|
|
38
|
-
setVisible = _useState2[1];
|
|
39
|
-
|
|
40
|
-
var onClose = function onClose() {
|
|
41
|
-
setVisible(false);
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
(0, _react.useImperativeHandle)(cRef, function () {
|
|
45
|
-
return {
|
|
46
|
-
showDrawerRef: function showDrawerRef() {
|
|
47
|
-
setVisible(true);
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
});
|
|
51
|
-
return /*#__PURE__*/_react.default.createElement(_drawer.default, {
|
|
52
|
-
width: "440px",
|
|
53
|
-
title: "\u64CD\u4F5C\u5E2E\u52A9\u6587\u6863",
|
|
54
|
-
placement: "right",
|
|
55
|
-
closable: true,
|
|
56
|
-
onClose: onClose,
|
|
57
|
-
visible: visible,
|
|
58
|
-
className: "lm_question_warp"
|
|
59
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
60
|
-
className: "header"
|
|
61
|
-
}, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
62
|
-
icon: /*#__PURE__*/_react.default.createElement(_icons.RollbackOutlined, null)
|
|
63
|
-
}, "\u8FD4\u56DE\u76EE\u5F55")), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
64
|
-
icon: /*#__PURE__*/_react.default.createElement(_icons.EditOutlined, null)
|
|
65
|
-
}), /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
66
|
-
style: {
|
|
67
|
-
marginLeft: 10
|
|
68
|
-
},
|
|
69
|
-
icon: /*#__PURE__*/_react.default.createElement(_icons.RotateRightOutlined, null)
|
|
70
|
-
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
71
|
-
className: "main"
|
|
72
|
-
}, /*#__PURE__*/_react.default.createElement("p", {
|
|
73
|
-
className: "title"
|
|
74
|
-
}, "\u7269\u6599\u4FE1\u606F"), /*#__PURE__*/_react.default.createElement("p", null, "\u6700\u540E\u7F16\u8F91 : 2020-09-21 22:21 @\u6CD5\u5916\u72C2\u5F92\u5F20\u4E09"), /*#__PURE__*/_react.default.createElement("img", {
|
|
75
|
-
src: _question.default,
|
|
76
|
-
alt: "",
|
|
77
|
-
style: {
|
|
78
|
-
width: '100%',
|
|
79
|
-
marginBottom: 10
|
|
80
|
-
}
|
|
81
|
-
}), /*#__PURE__*/_react.default.createElement("p", null, "1.\u6240\u6709\u7269\u6599\u5206\u7C7B\uFF1A\u7269\u6599\u5206\u7C7B\u6765\u81EA\u7CFB\u7EDF\u914D\u4FEE\u7269\u6599\u7C7B\u76EE\u4E2D\u7684\u5185\u5BB9"), /*#__PURE__*/_react.default.createElement("p", null, "2.\u72B6\u6001\u7B5B\u9009\u6846\uFF1A\u53EF\u901A\u8FC7\u72B6\u6001\u7B5B\u9009\u690E\u6765\u7B5B\u9009\u5DF2\u786E\u8BA4\u6216\u672A\u786E\u8BA4\u7684\u7269\u6599"), /*#__PURE__*/_react.default.createElement("p", null, "3.\u72B6\u6001\uFF1A\u5DF2\u5BA1\u6838\u7684\u7269\u6599\u4E3A\u5DF2\u786E\u8BA4\u72B6\u6001\uFF0C\u672A\u5BA1\u6838\u7684\u7269\u6599\u72B6\u6001\u4E3A\u672A\u786E\u8BA4"), /*#__PURE__*/_react.default.createElement("p", null, "4.\u56FE\u7247\uFF1A\u56FE\u7247\u4E3A\u65B0\u5EFA\u7269\u6599\u65F6\u4E0A\u4F20\u7684\u7269\u6599\u56FE\u7247"), /*#__PURE__*/_react.default.createElement("p", null, "5.\u5237\u65B0\uFF1A\u70B9\u51FB\u5237\u65B0\u6309\u94AE\uFF0C\u9875\u9762\u5237\u65B0"), /*#__PURE__*/_react.default.createElement("p", null, "6.\u65B0\u5EFA\uFF1A\u70B9\u51FB\u65B0\u5EFA\u6309\u94AE\u6253\u5F00\u65B0\u5EFA\u7269\u6599\u754C\u9762"), /*#__PURE__*/_react.default.createElement("p", null, "7.\u7269\u6599\u7F16\u7801\uFF1A\u7269\u6599\u7F16\u7801\u4E00\u822C\u7531\u7CFB\u7EDF\u914D\u7F6E\u7684\u7F16\u7801\u89C4\u5219\u8FDB\u884C\u81EA\u52A8\u751F\u6210\uFF0C \u4E5F\u53EF\u4EE5\u5F00\u542F\u624B\u52A8\u586B\u5199"), /*#__PURE__*/_react.default.createElement("p", null, "8.\u6253\u5370\uFF1A\u53EF\u4EE5\u6253\u5370\u7269\u6599\u7684\u4E0D\u5E72\u80F6\u548C\u6761\u5F62\u7801"), /*#__PURE__*/_react.default.createElement("p", null, "9.\u7269\u6599\u540D\u79F0\uFF1A\u7269\u6599\u540D\u79F0\u662F\u65B0\u5EFA\u7269\u6599\u65F6\u586B\u5199\u7684\u540D\u79F0"), /*#__PURE__*/_react.default.createElement("p", null, "10.\u51BB\u7ED3\uFF1A\u51BB\u7ED3\u7269\u6599\uFF0C\u51BB\u7ED3\u540E\u7684\u7269\u6599\u4E0D\u5141\u8BB8\u8FDB\u884C\u64CD\u4F5C\uFF0C\u9700\u89E3\u51BB\u540E\u518D \u8FDB\u884C\u64CD\u4F5C"), /*#__PURE__*/_react.default.createElement("p", null, "11.\u8D27\u53F7\uFF1A\u4E00\u822C\u4E3A\u5E03\u884C\u6216\u8005\u6863\u53E3\u7684\u8272\u53F7\u6216\u8005\u7F16\u7801"), /*#__PURE__*/_react.default.createElement("p", null, "12.\u5BA1\u6838\uFF1A\u5BF9\u7269\u6599\u8FDB\u884C\u5BA1\u6838\u6216\u8005\u53CD\u5BA1\u6838"), /*#__PURE__*/_react.default.createElement("p", null, "13.\u5E74\u4EFD\uFF1A\u521B\u5EFA\u7269\u6599\u65F6\u9009\u62E9\u7684\u5E74\u4EFD"), /*#__PURE__*/_react.default.createElement("p", null, "14.\u5B63\u8282\uFF1A\u521B\u5EFA\u7269\u6599\u65F6\u9009\u62E9\u7684\u5B63\u8282"), /*#__PURE__*/_react.default.createElement("p", null, "15.\u5355\u4F4D\uFF1A\u521B\u5EFA\u7269\u6599\u65F6\u9009\u62E9\u7684\u5355\u4F4D"), /*#__PURE__*/_react.default.createElement("p", null, "16.\u7C7B\u578B\uFF1A\u521B\u5EFA\u7269\u6599\u65F6\u9009\u62E9\u7684\u7C7B\u578B"), /*#__PURE__*/_react.default.createElement("p", null, "17.\u5206\u7C7B\uFF1A\u521B\u5EFA\u7269\u6599\u65F6\u9009\u62E9\u7684\u5206\u7C7B"), /*#__PURE__*/_react.default.createElement("p", null, "18.\u5185\u5E45\uFF1A\u521B\u5EFA\u7269\u6599\u65F6\u586B\u5199\u7684\u7531\u5E45"), /*#__PURE__*/_react.default.createElement("p", null, "19.\u514B\u6BD2\uFF1A\u521B\u5EFA\u7269\u6599\u65F6\u586B\u5199\u7684\u514B\u7535"), /*#__PURE__*/_react.default.createElement("p", null, "20.\u6210\u672C\u4EF7\uFF1A\u521B\u5EFA\u7269\u6599\u65F6\u586B\u5199\u7684\u6210\u672C\u4EF7"), /*#__PURE__*/_react.default.createElement("p", null, "21.\u4F9B\u5E94\u5546\uFF1A\u521B\u5EFA\u7269\u6599\u65F6\u9009\u62E9\u7684\u4F9B\u5E94\u5546"), /*#__PURE__*/_react.default.createElement("p", null, "22.\u4F9B\u5E94\u5546\u7535\u8BDD\uFF1A\u9009\u62E9\u4F9B\u5E94\u5546\u65F6\u5E26\u51FA\u7684\u4F9B\u5E94\u5546\u7535\u8BDD"), /*#__PURE__*/_react.default.createElement("p", null, "23.\u7269\u6599\u6210\u5206\uFF1A\u521B\u5EFA\u7269\u6599\u65F6\u586B\u5199\u7684\u7269\u6599\u6210\u5206"), /*#__PURE__*/_react.default.createElement("p", null, "24.\u5907\u6CE8\uFF1A\u521B\u5EFA\u7269\u6599\u65F6\u586B\u5199\u7684\u7269\u6599\u5907\u6CE8"), /*#__PURE__*/_react.default.createElement("p", {
|
|
82
|
-
style: {
|
|
83
|
-
margin: '20px 0'
|
|
84
|
-
}
|
|
85
|
-
}, "\u7269\u6599\u5BFC\u5165\u6D41\u7A0B"), /*#__PURE__*/_react.default.createElement("p", null, "\u2460\u786E\u8BA4\u7269\u6599\u57FA\u7840\u6570\u636E\u662F\u5426\u5B8C\u6574\uFF1A\u7269\u6599\u7C7B\u578B\u3001\u7269\u6599\u7C7B\u76EE\u3001\u5E74\u4EFD\u3001\u5B63\u8282\u3001 \u4ED3\u5E93\u3001\u4F9B\u5E94\u5546\u3001\u5355\u4F4D\u3001\u989C\u8272\u3001\u89C4\u683C\u5728\u7CFB\u7EDF\u662F\u5426\u5B58\u5728"), /*#__PURE__*/_react.default.createElement("p", null, "\u2461\u7269\u6599\u4FE1\u606F\u4E00\uFF1E \u66F4\u591A\u4E00\uFF1E \u5BFC\u5165\u7269\u6599\u4FE1\u606F\u4E00\uFF1E \u70B9\u51FB\u4E0B\u8F7D\u6A21\u677F\u6587\u4EF6\u4E00\uFF1E \u586B \u5199\u5BFC\u5165\u6A21\u677F\u4E00\uFF1E \u9009\u62E9\u6A21\u677F\u4E00\uFF1E \u9009\u62E9\u5BFC\u5165\u7C7B\u578B\uFF08\u4EC5\u65B0\u589E/\u65B0\u589E\u5E76\u8986\u76D6\uFF09\u4E00\uFF1E \u5BFC\u5165"), /*#__PURE__*/_react.default.createElement("img", {
|
|
86
|
-
src: _shuoming.default,
|
|
87
|
-
alt: "",
|
|
88
|
-
style: {
|
|
89
|
-
margin: '10px 0',
|
|
90
|
-
width: '100%'
|
|
91
|
-
}
|
|
92
|
-
}), /*#__PURE__*/_react.default.createElement("img", {
|
|
93
|
-
src: _shuoming2.default,
|
|
94
|
-
alt: "",
|
|
95
|
-
style: {
|
|
96
|
-
margin: '10px 0 10px -3px',
|
|
97
|
-
width: '100%'
|
|
98
|
-
}
|
|
99
|
-
}), /*#__PURE__*/_react.default.createElement("p", {
|
|
100
|
-
style: {
|
|
101
|
-
fontSize: 14,
|
|
102
|
-
marginTop: '10px'
|
|
103
|
-
}
|
|
104
|
-
}, "\u8FD9\u7BC7\u6587\u7AE0\u6709\u5E2E\u52A9\u5230\u60A8\u5417 ? "), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
105
|
-
style: {
|
|
106
|
-
height: 40,
|
|
107
|
-
width: '100%',
|
|
108
|
-
marginTop: '10px'
|
|
109
|
-
}
|
|
110
|
-
}, "\u6709\u5E2E\u52A9")), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
111
|
-
style: {
|
|
112
|
-
height: 40,
|
|
113
|
-
width: '100%',
|
|
114
|
-
marginTop: '10px'
|
|
115
|
-
}
|
|
116
|
-
}, "\u6CA1\u6709\u5E2E\u52A9"))));
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
var _default = Question;
|
|
120
|
-
exports.default = _default;
|