@ucloud-fe/react-components 1.5.17 → 1.5.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1935 -0
- package/dist/assets/ucicon.eot +0 -0
- package/dist/assets/ucicon.svg +1569 -0
- package/dist/assets/ucicon.ttf +0 -0
- package/dist/assets/ucicon.woff +0 -0
- package/dist/icon.min.css +1 -0
- package/dist/icon.min.js +1 -0
- package/dist/main.min.js +19 -0
- package/lib/__index.js +228 -0
- package/lib/components/ActionList/ActionList.d.ts +40 -0
- package/lib/components/ActionList/ActionList.js +349 -0
- package/lib/components/ActionList/index.d.ts +10 -0
- package/lib/components/ActionList/index.js +23 -0
- package/lib/components/ActionList/style/index.d.ts +3 -0
- package/lib/components/ActionList/style/index.js +45 -0
- package/lib/components/AutoComplete/AutoComplete.d.ts +40 -0
- package/lib/components/AutoComplete/AutoComplete.js +181 -0
- package/lib/components/AutoComplete/Popup.d.ts +19 -0
- package/lib/components/AutoComplete/Popup.js +123 -0
- package/lib/components/AutoComplete/index.d.ts +2 -0
- package/lib/components/AutoComplete/index.js +13 -0
- package/lib/components/AutoComplete/style/index.d.ts +17 -0
- package/lib/components/AutoComplete/style/index.js +55 -0
- package/lib/components/Badge/Badge.d.ts +43 -0
- package/lib/components/Badge/Badge.js +175 -0
- package/lib/components/Badge/Bubble.d.ts +47 -0
- package/lib/components/Badge/Bubble.js +152 -0
- package/lib/components/Badge/index.d.ts +7 -0
- package/lib/components/Badge/index.js +20 -0
- package/lib/components/Badge/placements.d.ts +35 -0
- package/lib/components/Badge/placements.js +43 -0
- package/lib/components/Badge/style/index.d.ts +54 -0
- package/lib/components/Badge/style/index.js +143 -0
- package/lib/components/Box/Box.d.ts +47 -0
- package/lib/components/Box/Box.js +135 -0
- package/lib/components/Box/index.d.ts +2 -0
- package/lib/components/Box/index.js +13 -0
- package/lib/components/Box/style/index.d.ts +1 -0
- package/lib/components/Box/style/index.js +136 -0
- package/lib/components/Breadcrumb/BackButton.d.ts +4 -0
- package/lib/components/Breadcrumb/BackButton.js +24 -0
- package/lib/components/Breadcrumb/Breadcrumb.d.ts +10 -0
- package/lib/components/Breadcrumb/Breadcrumb.js +60 -0
- package/lib/components/Breadcrumb/Item.d.ts +16 -0
- package/lib/components/Breadcrumb/Item.js +62 -0
- package/lib/components/Breadcrumb/index.d.ts +11 -0
- package/lib/components/Breadcrumb/index.js +27 -0
- package/lib/components/Breadcrumb/interface.d.ts +2 -0
- package/lib/components/Breadcrumb/interface.js +11 -0
- package/lib/components/Breadcrumb/style/index.d.ts +20 -0
- package/lib/components/Breadcrumb/style/index.js +104 -0
- package/lib/components/Button/.recodo/interaction.js +64 -0
- package/lib/components/Button/Button.d.ts +54 -0
- package/lib/components/Button/Button.js +132 -0
- package/lib/components/Button/index.d.ts +2 -0
- package/lib/components/Button/index.js +13 -0
- package/lib/components/Button/shared.d.ts +3 -0
- package/lib/components/Button/shared.js +15 -0
- package/lib/components/Button/style/index.d.ts +22 -0
- package/lib/components/Button/style/index.js +240 -0
- package/lib/components/Calendar/Calendar.d.ts +37 -0
- package/lib/components/Calendar/Calendar.js +113 -0
- package/lib/components/Calendar/Cell.d.ts +8 -0
- package/lib/components/Calendar/Cell.js +55 -0
- package/lib/components/Calendar/HeaderButton.d.ts +8 -0
- package/lib/components/Calendar/HeaderButton.js +75 -0
- package/lib/components/Calendar/HeaderSwitcher.d.ts +17 -0
- package/lib/components/Calendar/HeaderSwitcher.js +64 -0
- package/lib/components/Calendar/Month.d.ts +5 -0
- package/lib/components/Calendar/Month.js +93 -0
- package/lib/components/Calendar/TwoSide.d.ts +4 -0
- package/lib/components/Calendar/TwoSide.js +155 -0
- package/lib/components/Calendar/index.d.ts +10 -0
- package/lib/components/Calendar/index.js +26 -0
- package/lib/components/Calendar/locale/en_US.js +30 -0
- package/lib/components/Calendar/locale/zh_CN.d.ts +11 -0
- package/lib/components/Calendar/locale/zh_CN.js +27 -0
- package/lib/components/Calendar/style/index.d.ts +25 -0
- package/lib/components/Calendar/style/index.js +82 -0
- package/lib/components/Calendar/utils.d.ts +16 -0
- package/lib/components/Calendar/utils.js +162 -0
- package/lib/components/Card/Action.js +27 -0
- package/lib/components/Card/Card.js +109 -0
- package/lib/components/Card/Content.js +28 -0
- package/lib/components/Card/Footer.js +28 -0
- package/lib/components/Card/Header.js +40 -0
- package/lib/components/Card/SubArea.js +43 -0
- package/lib/components/Card/index.js +30 -0
- package/lib/components/Card/style/index.js +131 -0
- package/lib/components/Cascader/Cascade.d.ts +24 -0
- package/lib/components/Cascader/Cascade.js +280 -0
- package/lib/components/Cascader/CascadeContext.d.ts +7 -0
- package/lib/components/Cascader/CascadeContext.js +20 -0
- package/lib/components/Cascader/Cascader.d.ts +41 -0
- package/lib/components/Cascader/Cascader.js +359 -0
- package/lib/components/Cascader/Item.d.ts +14 -0
- package/lib/components/Cascader/Item.js +97 -0
- package/lib/components/Cascader/Items.d.ts +11 -0
- package/lib/components/Cascader/Items.js +175 -0
- package/lib/components/Cascader/index.d.ts +2 -0
- package/lib/components/Cascader/index.js +13 -0
- package/lib/components/Cascader/interface.d.ts +12 -0
- package/lib/components/Cascader/interface.js +5 -0
- package/lib/components/Cascader/locale/en_US.js +11 -0
- package/lib/components/Cascader/locale/zh_CN.d.ts +5 -0
- package/lib/components/Cascader/locale/zh_CN.js +11 -0
- package/lib/components/Cascader/style/cascade.d.ts +15 -0
- package/lib/components/Cascader/style/cascade.js +55 -0
- package/lib/components/Cascader/style/index.d.ts +11 -0
- package/lib/components/Cascader/style/index.js +49 -0
- package/lib/components/Checkbox/.recodo/interaction.js +100 -0
- package/lib/components/Checkbox/Checkbox.d.ts +29 -0
- package/lib/components/Checkbox/Checkbox.js +177 -0
- package/lib/components/Checkbox/CheckboxContext.d.ts +8 -0
- package/lib/components/Checkbox/CheckboxContext.js +21 -0
- package/lib/components/Checkbox/CheckboxIcon.d.ts +7 -0
- package/lib/components/Checkbox/CheckboxIcon.js +42 -0
- package/lib/components/Checkbox/Group.d.ts +26 -0
- package/lib/components/Checkbox/Group.js +108 -0
- package/lib/components/Checkbox/index.d.ts +13 -0
- package/lib/components/Checkbox/index.js +28 -0
- package/lib/components/Checkbox/interface.d.ts +8 -0
- package/lib/components/Checkbox/interface.js +17 -0
- package/lib/components/Checkbox/style/index.d.ts +31 -0
- package/lib/components/Checkbox/style/index.js +81 -0
- package/lib/components/Col/index.js +14 -0
- package/lib/components/Collapse/Collapse.d.ts +19 -0
- package/lib/components/Collapse/Collapse.js +63 -0
- package/lib/components/Collapse/CollapseContext.d.ts +4 -0
- package/lib/components/Collapse/CollapseContext.js +17 -0
- package/lib/components/Collapse/Panel.d.ts +29 -0
- package/lib/components/Collapse/Panel.js +98 -0
- package/lib/components/Collapse/hooks.d.ts +29 -0
- package/lib/components/Collapse/hooks.js +103 -0
- package/lib/components/Collapse/index.d.ts +9 -0
- package/lib/components/Collapse/index.js +26 -0
- package/lib/components/Collapse/style/index.d.ts +6 -0
- package/lib/components/Collapse/style/index.js +39 -0
- package/lib/components/Combine/Combine.d.ts +19 -0
- package/lib/components/Combine/Combine.js +80 -0
- package/lib/components/Combine/index.d.ts +3 -0
- package/lib/components/Combine/index.js +13 -0
- package/lib/components/Combine/style/index.d.ts +6 -0
- package/lib/components/Combine/style/index.js +60 -0
- package/lib/components/Compact/Compact.js +108 -0
- package/lib/components/Compact/index.js +13 -0
- package/lib/components/Compact/style/index.js +16 -0
- package/lib/components/ConfigProvider/ConfigContext.d.ts +9 -0
- package/lib/components/ConfigProvider/ConfigContext.js +24 -0
- package/lib/components/ConfigProvider/ConfigProvider.d.ts +40 -0
- package/lib/components/ConfigProvider/ConfigProvider.js +75 -0
- package/lib/components/ConfigProvider/index.d.ts +4 -0
- package/lib/components/ConfigProvider/index.js +20 -0
- package/lib/components/DatePicker/DatePicker.d.ts +73 -0
- package/lib/components/DatePicker/DatePicker.js +168 -0
- package/lib/components/DatePicker/Footer.d.ts +23 -0
- package/lib/components/DatePicker/Footer.js +96 -0
- package/lib/components/DatePicker/Month.d.ts +5 -0
- package/lib/components/DatePicker/Month.js +88 -0
- package/lib/components/DatePicker/Range.d.ts +101 -0
- package/lib/components/DatePicker/Range.js +549 -0
- package/lib/components/DatePicker/index.d.ts +11 -0
- package/lib/components/DatePicker/index.js +23 -0
- package/lib/components/DatePicker/locale/en_US.js +26 -0
- package/lib/components/DatePicker/locale/zh_CN.d.ts +20 -0
- package/lib/components/DatePicker/locale/zh_CN.js +26 -0
- package/lib/components/DatePicker/style/index.d.ts +62 -0
- package/lib/components/DatePicker/style/index.js +193 -0
- package/lib/components/DatePicker/usePicker.d.ts +11 -0
- package/lib/components/DatePicker/usePicker.js +424 -0
- package/lib/components/DatePicker/useRangePicker.d.ts +18 -0
- package/lib/components/DatePicker/useRangePicker.js +111 -0
- package/lib/components/DatePicker/utils.d.ts +18 -0
- package/lib/components/DatePicker/utils.js +143 -0
- package/lib/components/Drawer/Drawer.js +252 -0
- package/lib/components/Drawer/index.js +13 -0
- package/lib/components/Drawer/style/index.js +82 -0
- package/lib/components/EditableList/EditableList.js +277 -0
- package/lib/components/EditableList/index.js +13 -0
- package/lib/components/EditableList/locale/en_US.js +10 -0
- package/lib/components/EditableList/locale/zh_CN.js +10 -0
- package/lib/components/EditableList/style/index.js +28 -0
- package/lib/components/EditableTable/EditableTable.js +227 -0
- package/lib/components/EditableTable/index.js +13 -0
- package/lib/components/EditableTable/style/index.js +60 -0
- package/lib/components/Form/ControllerContext.d.ts +5 -0
- package/lib/components/Form/ControllerContext.js +15 -0
- package/lib/components/Form/Form.js +95 -0
- package/lib/components/Form/Group.js +89 -0
- package/lib/components/Form/Item.d.ts +37 -0
- package/lib/components/Form/Item.js +243 -0
- package/lib/components/Form/ItemContext.d.ts +3 -0
- package/lib/components/Form/ItemContext.js +15 -0
- package/lib/components/Form/ItemPropsWrap.js +44 -0
- package/lib/components/Form/SubArea.js +48 -0
- package/lib/components/Form/index.js +22 -0
- package/lib/components/Form/style/index.d.ts +59 -0
- package/lib/components/Form/style/index.js +229 -0
- package/lib/components/Grid/Col.d.ts +16 -0
- package/lib/components/Grid/Col.js +51 -0
- package/lib/components/Grid/Row.d.ts +17 -0
- package/lib/components/Grid/Row.js +68 -0
- package/lib/components/Grid/index.d.ts +8 -0
- package/lib/components/Grid/index.js +30 -0
- package/lib/components/Grid/style/index.d.ts +2 -0
- package/lib/components/Grid/style/index.js +143 -0
- package/lib/components/Icon/Icon.d.ts +11 -0
- package/lib/components/Icon/Icon.js +65 -0
- package/lib/components/Icon/index.d.ts +2 -0
- package/lib/components/Icon/index.js +13 -0
- package/lib/components/Icon/style/index.d.ts +7 -0
- package/lib/components/Icon/style/index.js +34 -0
- package/lib/components/Input/.recodo/interaction.js +96 -0
- package/lib/components/Input/Input.d.ts +45 -0
- package/lib/components/Input/Input.js +173 -0
- package/lib/components/Input/Search.d.ts +8 -0
- package/lib/components/Input/Search.js +82 -0
- package/lib/components/Input/index.d.ts +12 -0
- package/lib/components/Input/index.js +37 -0
- package/lib/components/Input/style/index.d.ts +34 -0
- package/lib/components/Input/style/index.js +169 -0
- package/lib/components/Link/Button.d.ts +24 -0
- package/lib/components/Link/Button.js +114 -0
- package/lib/components/Link/Link.d.ts +9 -0
- package/lib/components/Link/Link.js +30 -0
- package/lib/components/Link/index.d.ts +9 -0
- package/lib/components/Link/index.js +20 -0
- package/lib/components/Link/style/index.d.ts +3 -0
- package/lib/components/Link/style/index.js +35 -0
- package/lib/components/Loading/Loading.d.ts +27 -0
- package/lib/components/Loading/Loading.js +108 -0
- package/lib/components/Loading/index.d.ts +2 -0
- package/lib/components/Loading/index.js +13 -0
- package/lib/components/Loading/style/index.d.ts +8 -0
- package/lib/components/Loading/style/index.js +89 -0
- package/lib/components/LocaleProvider/LocaleContext.d.ts +9 -0
- package/lib/components/LocaleProvider/LocaleContext.js +15 -0
- package/lib/components/LocaleProvider/LocaleProvider.d.ts +7 -0
- package/lib/components/LocaleProvider/LocaleProvider.js +44 -0
- package/lib/components/LocaleProvider/index.d.ts +12 -0
- package/lib/components/LocaleProvider/index.js +20 -0
- package/lib/components/LocaleProvider/locale/en_US.js +55 -0
- package/lib/components/LocaleProvider/locale/zh_CN.js +55 -0
- package/lib/components/LocaleProvider/localeConsumerDecorator.d.ts +11 -0
- package/lib/components/LocaleProvider/localeConsumerDecorator.js +78 -0
- package/lib/components/LocaleProvider/runtime.d.ts +4 -0
- package/lib/components/LocaleProvider/runtime.js +28 -0
- package/lib/components/LocaleProvider/useLocale.d.ts +6 -0
- package/lib/components/LocaleProvider/useLocale.js +44 -0
- package/lib/components/Menu/Item.d.ts +20 -0
- package/lib/components/Menu/Item.js +107 -0
- package/lib/components/Menu/Menu.d.ts +59 -0
- package/lib/components/Menu/Menu.js +386 -0
- package/lib/components/Menu/MenuContext.d.ts +8 -0
- package/lib/components/Menu/MenuContext.js +27 -0
- package/lib/components/Menu/SubMenu.d.ts +20 -0
- package/lib/components/Menu/SubMenu.js +128 -0
- package/lib/components/Menu/index.d.ts +19 -0
- package/lib/components/Menu/index.js +35 -0
- package/lib/components/Menu/locale/en_US.js +10 -0
- package/lib/components/Menu/locale/zh_CN.d.ts +4 -0
- package/lib/components/Menu/locale/zh_CN.js +10 -0
- package/lib/components/Menu/style/index.d.ts +36 -0
- package/lib/components/Menu/style/index.js +117 -0
- package/lib/components/Message/Message.js +158 -0
- package/lib/components/Message/MessageContainer.js +145 -0
- package/lib/components/Message/index.js +22 -0
- package/lib/components/Message/method.js +232 -0
- package/lib/components/Message/style/index.js +141 -0
- package/lib/components/Modal/Content.js +57 -0
- package/lib/components/Modal/Modal.js +287 -0
- package/lib/components/Modal/index.js +25 -0
- package/lib/components/Modal/locale/en_US.js +11 -0
- package/lib/components/Modal/locale/zh_CN.js +11 -0
- package/lib/components/Modal/method.js +436 -0
- package/lib/components/Modal/style/index.js +137 -0
- package/lib/components/Notice/Notice.d.ts +16 -0
- package/lib/components/Notice/Notice.js +126 -0
- package/lib/components/Notice/index.d.ts +16 -0
- package/lib/components/Notice/index.js +23 -0
- package/lib/components/Notice/style/index.d.ts +12 -0
- package/lib/components/Notice/style/index.js +90 -0
- package/lib/components/NumberInput/NumberInput.d.ts +149 -0
- package/lib/components/NumberInput/NumberInput.js +936 -0
- package/lib/components/NumberInput/index.d.ts +2 -0
- package/lib/components/NumberInput/index.js +13 -0
- package/lib/components/NumberInput/style/index.d.ts +9 -0
- package/lib/components/NumberInput/style/index.js +92 -0
- package/lib/components/Pagination/Options.js +205 -0
- package/lib/components/Pagination/Pager.js +65 -0
- package/lib/components/Pagination/Pagination.js +664 -0
- package/lib/components/Pagination/index.js +13 -0
- package/lib/components/Pagination/locale/en_US.js +23 -0
- package/lib/components/Pagination/locale/zh_CN.js +23 -0
- package/lib/components/Pagination/style/index.js +40 -0
- package/lib/components/PopConfirm/PopConfirm.d.ts +11 -0
- package/lib/components/PopConfirm/PopConfirm.js +119 -0
- package/lib/components/PopConfirm/index.d.ts +2 -0
- package/lib/components/PopConfirm/index.js +13 -0
- package/lib/components/PopConfirm/locale/en_US.js +11 -0
- package/lib/components/PopConfirm/locale/zh_CN.d.ts +5 -0
- package/lib/components/PopConfirm/locale/zh_CN.js +11 -0
- package/lib/components/PopConfirm/style/index.d.ts +10 -0
- package/lib/components/PopConfirm/style/index.js +70 -0
- package/lib/components/Popover/ContainerContext.d.ts +8 -0
- package/lib/components/Popover/ContainerContext.js +52 -0
- package/lib/components/Popover/Popover.d.ts +187 -0
- package/lib/components/Popover/Popover.js +380 -0
- package/lib/components/Popover/index.d.ts +3 -0
- package/lib/components/Popover/index.js +51 -0
- package/lib/components/Popover/placements.d.ts +183 -0
- package/lib/components/Popover/placements.js +96 -0
- package/lib/components/Popover/style/index.d.ts +17 -0
- package/lib/components/Popover/style/index.js +96 -0
- package/lib/components/Progress/Progress.js +95 -0
- package/lib/components/Progress/index.js +13 -0
- package/lib/components/Progress/style/index.js +75 -0
- package/lib/components/Radio/Button.js +30 -0
- package/lib/components/Radio/Card.d.ts +12 -0
- package/lib/components/Radio/Card.js +58 -0
- package/lib/components/Radio/Group.js +181 -0
- package/lib/components/Radio/Radio.js +380 -0
- package/lib/components/Radio/RadioIcon.d.ts +6 -0
- package/lib/components/Radio/RadioIcon.js +37 -0
- package/lib/components/Radio/Tag.js +30 -0
- package/lib/components/Radio/index.js +22 -0
- package/lib/components/Radio/style/index.d.ts +26 -0
- package/lib/components/Radio/style/index.js +260 -0
- package/lib/components/Row/index.js +14 -0
- package/lib/components/Select/Extra.d.ts +11 -0
- package/lib/components/Select/Extra.js +56 -0
- package/lib/components/Select/Group.d.ts +20 -0
- package/lib/components/Select/Group.js +46 -0
- package/lib/components/Select/Option.d.ts +24 -0
- package/lib/components/Select/Option.js +64 -0
- package/lib/components/Select/Overflow.d.ts +19 -0
- package/lib/components/Select/Overflow.js +114 -0
- package/lib/components/Select/Select.d.ts +126 -0
- package/lib/components/Select/Select.js +1452 -0
- package/lib/components/Select/SelectContext.d.ts +8 -0
- package/lib/components/Select/SelectContext.js +33 -0
- package/lib/components/Select/index.d.ts +21 -0
- package/lib/components/Select/index.js +27 -0
- package/lib/components/Select/locale/en_US.js +14 -0
- package/lib/components/Select/locale/zh_CN.d.ts +8 -0
- package/lib/components/Select/locale/zh_CN.js +14 -0
- package/lib/components/Select/style/index.d.ts +85 -0
- package/lib/components/Select/style/index.js +254 -0
- package/lib/components/Skeleton/Skeleton.d.ts +11 -0
- package/lib/components/Skeleton/Skeleton.js +64 -0
- package/lib/components/Skeleton/index.d.ts +2 -0
- package/lib/components/Skeleton/index.js +13 -0
- package/lib/components/Skeleton/style/index.d.ts +9 -0
- package/lib/components/Skeleton/style/index.js +41 -0
- package/lib/components/Slider/Slider.js +781 -0
- package/lib/components/Slider/index.js +13 -0
- package/lib/components/Slider/locale/en_US.js +19 -0
- package/lib/components/Slider/locale/zh_CN.js +19 -0
- package/lib/components/Slider/style/index.js +45 -0
- package/lib/components/Spin/Spin.js +29 -0
- package/lib/components/Spin/index.js +13 -0
- package/lib/components/Spin/style/index.js +18 -0
- package/lib/components/Steps/Link.js +71 -0
- package/lib/components/Steps/Step.js +80 -0
- package/lib/components/Steps/StepIcon.js +115 -0
- package/lib/components/Steps/Steps.js +147 -0
- package/lib/components/Steps/index.js +13 -0
- package/lib/components/Steps/style/index.js +141 -0
- package/lib/components/SvgIcon/SvgIcon.d.ts +29 -0
- package/lib/components/SvgIcon/SvgIcon.js +248 -0
- package/lib/components/SvgIcon/SvgIconWrap.d.ts +21 -0
- package/lib/components/SvgIcon/SvgIconWrap.js +83 -0
- package/lib/components/SvgIcon/icons/ArrowDown.d.ts +3 -0
- package/lib/components/SvgIcon/icons/ArrowDown.js +24 -0
- package/lib/components/SvgIcon/icons/ArrowLeft.d.ts +3 -0
- package/lib/components/SvgIcon/icons/ArrowLeft.js +25 -0
- package/lib/components/SvgIcon/icons/ArrowRight.d.ts +3 -0
- package/lib/components/SvgIcon/icons/ArrowRight.js +24 -0
- package/lib/components/SvgIcon/icons/ArrowUp.d.ts +3 -0
- package/lib/components/SvgIcon/icons/ArrowUp.js +24 -0
- package/lib/components/SvgIcon/icons/Calendar.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Calendar.js +23 -0
- package/lib/components/SvgIcon/icons/Circle.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Circle.js +25 -0
- package/lib/components/SvgIcon/icons/CircleCrossFill.d.ts +3 -0
- package/lib/components/SvgIcon/icons/CircleCrossFill.js +23 -0
- package/lib/components/SvgIcon/icons/CircleMarkFill.d.ts +3 -0
- package/lib/components/SvgIcon/icons/CircleMarkFill.js +23 -0
- package/lib/components/SvgIcon/icons/CircleYesMdFill.d.ts +3 -0
- package/lib/components/SvgIcon/icons/CircleYesMdFill.js +23 -0
- package/lib/components/SvgIcon/icons/Clock.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Clock.js +23 -0
- package/lib/components/SvgIcon/icons/Cog.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Cog.js +24 -0
- package/lib/components/SvgIcon/icons/Cross.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Cross.js +23 -0
- package/lib/components/SvgIcon/icons/CrossBold.d.ts +3 -0
- package/lib/components/SvgIcon/icons/CrossBold.js +23 -0
- package/lib/components/SvgIcon/icons/CrossCircle.d.ts +3 -0
- package/lib/components/SvgIcon/icons/CrossCircle.js +23 -0
- package/lib/components/SvgIcon/icons/CrossCircleFilled.d.ts +3 -0
- package/lib/components/SvgIcon/icons/CrossCircleFilled.js +23 -0
- package/lib/components/SvgIcon/icons/DottedLineArrowRight.d.ts +3 -0
- package/lib/components/SvgIcon/icons/DottedLineArrowRight.js +23 -0
- package/lib/components/SvgIcon/icons/DoubleArrowLeft.d.ts +3 -0
- package/lib/components/SvgIcon/icons/DoubleArrowLeft.js +24 -0
- package/lib/components/SvgIcon/icons/DoubleArrowRight.d.ts +3 -0
- package/lib/components/SvgIcon/icons/DoubleArrowRight.js +24 -0
- package/lib/components/SvgIcon/icons/Dragger.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Dragger.js +23 -0
- package/lib/components/SvgIcon/icons/Ellipsis.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Ellipsis.js +23 -0
- package/lib/components/SvgIcon/icons/ExclamationCircleFilled.d.ts +3 -0
- package/lib/components/SvgIcon/icons/ExclamationCircleFilled.js +24 -0
- package/lib/components/SvgIcon/icons/Eye.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Eye.js +23 -0
- package/lib/components/SvgIcon/icons/Filter.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Filter.js +23 -0
- package/lib/components/SvgIcon/icons/Horz.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Horz.js +27 -0
- package/lib/components/SvgIcon/icons/InfoCircleFilled.d.ts +3 -0
- package/lib/components/SvgIcon/icons/InfoCircleFilled.js +24 -0
- package/lib/components/SvgIcon/icons/LineArrowDown.d.ts +3 -0
- package/lib/components/SvgIcon/icons/LineArrowDown.js +23 -0
- package/lib/components/SvgIcon/icons/LineArrowUp.d.ts +3 -0
- package/lib/components/SvgIcon/icons/LineArrowUp.js +23 -0
- package/lib/components/SvgIcon/icons/LoadingLIne.js +24 -0
- package/lib/components/SvgIcon/icons/LoadingLine.d.ts +3 -0
- package/lib/components/SvgIcon/icons/LoadingLine.js +24 -0
- package/lib/components/SvgIcon/icons/Minus.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Minus.js +24 -0
- package/lib/components/SvgIcon/icons/Plus.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Plus.js +23 -0
- package/lib/components/SvgIcon/icons/QuestionCircle.d.ts +3 -0
- package/lib/components/SvgIcon/icons/QuestionCircle.js +24 -0
- package/lib/components/SvgIcon/icons/Refresh.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Refresh.js +23 -0
- package/lib/components/SvgIcon/icons/RingLoading.d.ts +3 -0
- package/lib/components/SvgIcon/icons/RingLoading.js +23 -0
- package/lib/components/SvgIcon/icons/Search.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Search.js +23 -0
- package/lib/components/SvgIcon/icons/Sort.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Sort.js +23 -0
- package/lib/components/SvgIcon/icons/Tick.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Tick.js +23 -0
- package/lib/components/SvgIcon/icons/TickCircleFilled.d.ts +3 -0
- package/lib/components/SvgIcon/icons/TickCircleFilled.js +23 -0
- package/lib/components/SvgIcon/icons/TickSmall.d.ts +3 -0
- package/lib/components/SvgIcon/icons/TickSmall.js +23 -0
- package/lib/components/SvgIcon/icons/Trash.d.ts +3 -0
- package/lib/components/SvgIcon/icons/Trash.js +23 -0
- package/lib/components/SvgIcon/icons/TriangleDown.d.ts +3 -0
- package/lib/components/SvgIcon/icons/TriangleDown.js +23 -0
- package/lib/components/SvgIcon/icons/TriangleLeft.d.ts +3 -0
- package/lib/components/SvgIcon/icons/TriangleLeft.js +24 -0
- package/lib/components/SvgIcon/icons/TriangleRight.d.ts +3 -0
- package/lib/components/SvgIcon/icons/TriangleRight.js +23 -0
- package/lib/components/SvgIcon/icons/TriangleUp.d.ts +3 -0
- package/lib/components/SvgIcon/icons/TriangleUp.js +23 -0
- package/lib/components/SvgIcon/index.d.ts +2 -0
- package/lib/components/SvgIcon/index.js +13 -0
- package/lib/components/SvgIcon/style/index.d.ts +1 -0
- package/lib/components/SvgIcon/style/index.js +35 -0
- package/lib/components/Switch/Switch.d.ts +19 -0
- package/lib/components/Switch/Switch.js +93 -0
- package/lib/components/Switch/index.d.ts +3 -0
- package/lib/components/Switch/index.js +15 -0
- package/lib/components/Switch/style/index.d.ts +16 -0
- package/lib/components/Switch/style/index.js +77 -0
- package/lib/components/Table/ActionList.js +14 -0
- package/lib/components/Table/ColumnConfigButton.js +267 -0
- package/lib/components/Table/DragWrap.d.ts +42 -0
- package/lib/components/Table/DragWrap.js +64 -0
- package/lib/components/Table/ExpandedRowContent.js +55 -0
- package/lib/components/Table/HoverDisplayArea.js +69 -0
- package/lib/components/Table/ResizableTH.js +214 -0
- package/lib/components/Table/SearchInput.js +69 -0
- package/lib/components/Table/Table.js +1808 -0
- package/lib/components/Table/TableRow.d.ts +9 -0
- package/lib/components/Table/TableRow.js +98 -0
- package/lib/components/Table/index.js +37 -0
- package/lib/components/Table/locale/en_US.js +23 -0
- package/lib/components/Table/locale/zh_CN.js +23 -0
- package/lib/components/Table/style/index.js +200 -0
- package/lib/components/Table/utils.js +53 -0
- package/lib/components/Tabs/Pane.d.ts +30 -0
- package/lib/components/Tabs/Pane.js +75 -0
- package/lib/components/Tabs/RefContext.d.ts +8 -0
- package/lib/components/Tabs/RefContext.js +33 -0
- package/lib/components/Tabs/TabBar.d.ts +13 -0
- package/lib/components/Tabs/TabBar.js +663 -0
- package/lib/components/Tabs/TabContent.d.ts +12 -0
- package/lib/components/Tabs/TabContent.js +77 -0
- package/lib/components/Tabs/Tabs.d.ts +27 -0
- package/lib/components/Tabs/Tabs.js +238 -0
- package/lib/components/Tabs/index.d.ts +23 -0
- package/lib/components/Tabs/index.js +28 -0
- package/lib/components/Tabs/shared.d.ts +12 -0
- package/lib/components/Tabs/shared.js +19 -0
- package/lib/components/Tabs/style/index.d.ts +6 -0
- package/lib/components/Tabs/style/index.js +67 -0
- package/lib/components/Tabs/utils.d.ts +5 -0
- package/lib/components/Tabs/utils.js +36 -0
- package/lib/components/Tag/Group.d.ts +16 -0
- package/lib/components/Tag/Group.js +68 -0
- package/lib/components/Tag/Icon.d.ts +33 -0
- package/lib/components/Tag/Icon.js +102 -0
- package/lib/components/Tag/Tag.d.ts +52 -0
- package/lib/components/Tag/Tag.js +132 -0
- package/lib/components/Tag/index.d.ts +8 -0
- package/lib/components/Tag/index.js +23 -0
- package/lib/components/Tag/style/index.d.ts +110 -0
- package/lib/components/Tag/style/index.js +241 -0
- package/lib/components/Textarea/Textarea.d.ts +12 -0
- package/lib/components/Textarea/Textarea.js +64 -0
- package/lib/components/Textarea/index.d.ts +2 -0
- package/lib/components/Textarea/index.js +13 -0
- package/lib/components/Textarea/style/index.d.ts +1 -0
- package/lib/components/Textarea/style/index.js +32 -0
- package/lib/components/ThemeProvider/ThemeProvider.d.ts +21 -0
- package/lib/components/ThemeProvider/ThemeProvider.js +145 -0
- package/lib/components/ThemeProvider/dark.js +15 -0
- package/lib/components/ThemeProvider/designTokens.d.ts +269 -0
- package/lib/components/ThemeProvider/designTokens.js +543 -0
- package/lib/components/ThemeProvider/designTokensDark.d.ts +269 -0
- package/lib/components/ThemeProvider/designTokensDark.js +543 -0
- package/lib/components/ThemeProvider/green.js +9 -0
- package/lib/components/ThemeProvider/index.d.ts +2 -0
- package/lib/components/ThemeProvider/index.js +16 -0
- package/lib/components/ThemeProvider/material.js +20 -0
- package/lib/components/ThemeProvider/ocean.js +9 -0
- package/lib/components/ThemeProvider/runtime.d.ts +2 -0
- package/lib/components/ThemeProvider/runtime.js +30 -0
- package/lib/components/ThemeProvider/theme.d.ts +6 -0
- package/lib/components/ThemeProvider/theme.js +115 -0
- package/lib/components/ThemeProvider/useDesignTokens.d.ts +2 -0
- package/lib/components/ThemeProvider/useDesignTokens.js +26 -0
- package/lib/components/TimePicker/Time.d.ts +11 -0
- package/lib/components/TimePicker/Time.js +39 -0
- package/lib/components/TimePicker/TimePicker.d.ts +27 -0
- package/lib/components/TimePicker/TimePicker.js +282 -0
- package/lib/components/TimePicker/index.d.ts +2 -0
- package/lib/components/TimePicker/index.js +13 -0
- package/lib/components/TimePicker/locale/en_US.js +10 -0
- package/lib/components/TimePicker/locale/zh_CN.d.ts +4 -0
- package/lib/components/TimePicker/locale/zh_CN.js +10 -0
- package/lib/components/TimePicker/style/index.d.ts +14 -0
- package/lib/components/TimePicker/style/index.js +81 -0
- package/lib/components/TimePicker/util.d.ts +1 -0
- package/lib/components/TimePicker/util.js +49 -0
- package/lib/components/Tooltip/Tooltip.d.ts +13 -0
- package/lib/components/Tooltip/Tooltip.js +96 -0
- package/lib/components/Tooltip/index.d.ts +2 -0
- package/lib/components/Tooltip/index.js +13 -0
- package/lib/components/Tooltip/style/index.d.ts +19 -0
- package/lib/components/Tooltip/style/index.js +103 -0
- package/lib/components/Transfer/Transfer.js +578 -0
- package/lib/components/Transfer/index.js +13 -0
- package/lib/components/Transfer/locale/en_US.js +15 -0
- package/lib/components/Transfer/locale/zh_CN.js +15 -0
- package/lib/components/Transfer/style/index.js +55 -0
- package/lib/components/TransferMenu/TransferMenu.js +115 -0
- package/lib/components/TransferMenu/index.js +13 -0
- package/lib/components/TransferMenu/style/index.js +23 -0
- package/lib/components/TransferTable/TransferTable.js +148 -0
- package/lib/components/TransferTable/index.js +13 -0
- package/lib/components/TransferTable/style/index.js +38 -0
- package/lib/components/Tree/Item.d.ts +27 -0
- package/lib/components/Tree/Item.js +305 -0
- package/lib/components/Tree/Items.d.ts +14 -0
- package/lib/components/Tree/Items.js +105 -0
- package/lib/components/Tree/Tree.d.ts +49 -0
- package/lib/components/Tree/Tree.js +580 -0
- package/lib/components/Tree/TreeContext.d.ts +7 -0
- package/lib/components/Tree/TreeContext.js +18 -0
- package/lib/components/Tree/index.d.ts +4 -0
- package/lib/components/Tree/index.js +14 -0
- package/lib/components/Tree/interface.d.ts +19 -0
- package/lib/components/Tree/interface.js +5 -0
- package/lib/components/Tree/style/index.d.ts +22 -0
- package/lib/components/Tree/style/index.js +63 -0
- package/lib/components/Tree/util.d.ts +2 -0
- package/lib/components/Tree/util.js +44 -0
- package/lib/components/Upload/CardItem.js +214 -0
- package/lib/components/Upload/Dropzone.js +187 -0
- package/lib/components/Upload/Item.js +209 -0
- package/lib/components/Upload/List.js +200 -0
- package/lib/components/Upload/Progress.js +115 -0
- package/lib/components/Upload/Selector.js +152 -0
- package/lib/components/Upload/Thumbnail.js +110 -0
- package/lib/components/Upload/Upload.js +556 -0
- package/lib/components/Upload/icons/Archive.js +18 -0
- package/lib/components/Upload/icons/Docs.js +18 -0
- package/lib/components/Upload/icons/Dropzone.js +18 -0
- package/lib/components/Upload/icons/Image.js +18 -0
- package/lib/components/Upload/icons/PDF.js +18 -0
- package/lib/components/Upload/icons/Text.js +18 -0
- package/lib/components/Upload/icons/Unknown.js +18 -0
- package/lib/components/Upload/icons/Upload.js +18 -0
- package/lib/components/Upload/index.js +16 -0
- package/lib/components/Upload/locale/en_US.js +22 -0
- package/lib/components/Upload/locale/zh_CN.js +22 -0
- package/lib/components/Upload/style/index.js +177 -0
- package/lib/components/Upload/utils.js +143 -0
- package/lib/components/ZForm/ZForm.js +79 -0
- package/lib/components/ZForm/controllerDecorator.js +90 -0
- package/lib/components/ZForm/index.js +16 -0
- package/lib/config.d.ts +6 -0
- package/lib/config.js +28 -0
- package/lib/decorators/selectableWithStore/item.js +170 -0
- package/lib/decorators/selectableWithStore/store.js +424 -0
- package/lib/decorators/uncontrolled.d.ts +7 -0
- package/lib/decorators/uncontrolled.js +122 -0
- package/lib/hooks/group.d.ts +42 -0
- package/lib/hooks/group.js +403 -0
- package/lib/hooks/selectable.d.ts +22 -0
- package/lib/hooks/selectable.js +127 -0
- package/lib/hooks/useConfig.d.ts +2 -0
- package/lib/hooks/useConfig.js +30 -0
- package/lib/hooks/useConstructor.d.ts +2 -0
- package/lib/hooks/useConstructor.js +31 -0
- package/lib/hooks/useDidMount.d.ts +2 -0
- package/lib/hooks/useDidMount.js +34 -0
- package/lib/hooks/useInitial.d.ts +2 -0
- package/lib/hooks/useInitial.js +23 -0
- package/lib/hooks/useIsInitial.d.ts +2 -0
- package/lib/hooks/useIsInitial.js +40 -0
- package/lib/hooks/useOverflow.d.ts +24 -0
- package/lib/hooks/useOverflow.js +159 -0
- package/lib/hooks/usePopoverConfig.d.ts +27 -0
- package/lib/hooks/usePopoverConfig.js +78 -0
- package/lib/hooks/useSearch.d.ts +23 -0
- package/lib/hooks/useSearch.js +387 -0
- package/lib/hooks/useSimpleVirtualList.d.ts +6 -0
- package/lib/hooks/useSimpleVirtualList.js +128 -0
- package/lib/hooks/useUncontrolled.d.ts +4 -0
- package/lib/hooks/useUncontrolled.js +85 -0
- package/lib/hooks/useVirtualList.d.ts +6 -0
- package/lib/hooks/useVirtualList.js +196 -0
- package/lib/index.js +241 -0
- package/lib/interfaces/Color.js +9 -0
- package/lib/interfaces/Size.js +8 -0
- package/lib/libs/dom-align/adjustForViewport.js +55 -0
- package/lib/libs/dom-align/align/align.js +244 -0
- package/lib/libs/dom-align/align/alignElement.js +34 -0
- package/lib/libs/dom-align/align/alignPoint.js +67 -0
- package/lib/libs/dom-align/getAlignOffset.js +38 -0
- package/lib/libs/dom-align/getElFuturePos.js +23 -0
- package/lib/libs/dom-align/getOffsetParent.js +63 -0
- package/lib/libs/dom-align/getRegion.js +38 -0
- package/lib/libs/dom-align/getVisibleRectForElement.js +118 -0
- package/lib/libs/dom-align/index.js +27 -0
- package/lib/libs/dom-align/isAncestorFixed.js +34 -0
- package/lib/libs/dom-align/propertyUtils.js +138 -0
- package/lib/libs/dom-align/utils.js +657 -0
- package/lib/libs/rc-align/index.d.ts +42 -0
- package/lib/libs/rc-align/index.js +275 -0
- package/lib/libs/rc-align/util.d.ts +8 -0
- package/lib/libs/rc-align/util.js +67 -0
- package/lib/libs/rc-drawer/Drawer.js +831 -0
- package/lib/libs/rc-drawer/index.js +14 -0
- package/lib/libs/rc-drawer/utils.js +87 -0
- package/lib/libs/rc-table/BaseTable.d.ts +2 -0
- package/lib/libs/rc-table/BaseTable.js +221 -0
- package/lib/libs/rc-table/BodyTable.d.ts +18 -0
- package/lib/libs/rc-table/BodyTable.js +82 -0
- package/lib/libs/rc-table/ColGroup.d.ts +10 -0
- package/lib/libs/rc-table/ColGroup.js +47 -0
- package/lib/libs/rc-table/ColumnManager.d.ts +10 -0
- package/lib/libs/rc-table/ColumnManager.js +206 -0
- package/lib/libs/rc-table/ExpandIcon.d.ts +11 -0
- package/lib/libs/rc-table/ExpandIcon.js +65 -0
- package/lib/libs/rc-table/ExpandableRow.d.ts +2 -0
- package/lib/libs/rc-table/ExpandableRow.js +191 -0
- package/lib/libs/rc-table/ExpandableTable.d.ts +2 -0
- package/lib/libs/rc-table/ExpandableTable.js +304 -0
- package/lib/libs/rc-table/HeadTable.d.ts +18 -0
- package/lib/libs/rc-table/HeadTable.js +76 -0
- package/lib/libs/rc-table/Table.d.ts +81 -0
- package/lib/libs/rc-table/Table.js +452 -0
- package/lib/libs/rc-table/TableCell.d.ts +17 -0
- package/lib/libs/rc-table/TableCell.js +168 -0
- package/lib/libs/rc-table/TableHeader.d.ts +16 -0
- package/lib/libs/rc-table/TableHeader.js +109 -0
- package/lib/libs/rc-table/TableHeaderRow.d.ts +2 -0
- package/lib/libs/rc-table/TableHeaderRow.js +146 -0
- package/lib/libs/rc-table/TableRow.d.ts +2 -0
- package/lib/libs/rc-table/TableRow.js +301 -0
- package/lib/libs/rc-table/index.d.ts +2 -0
- package/lib/libs/rc-table/index.js +13 -0
- package/lib/libs/rc-table/utils.d.ts +7 -0
- package/lib/libs/rc-table/utils.js +117 -0
- package/lib/libs/rc-trigger/index.js +14 -0
- package/lib/libs/rc-trigger/src/LazyRenderBox.js +82 -0
- package/lib/libs/rc-trigger/src/Popup.js +383 -0
- package/lib/libs/rc-trigger/src/PopupInner.js +85 -0
- package/lib/libs/rc-trigger/src/index.js +867 -0
- package/lib/libs/rc-trigger/src/mock.js +33 -0
- package/lib/libs/rc-trigger/src/utils.js +48 -0
- package/lib/sharedComponents/InputWrap.d.ts +16 -0
- package/lib/sharedComponents/InputWrap.js +66 -0
- package/lib/sharedComponents/Search/Highlight.d.ts +5 -0
- package/lib/sharedComponents/Search/Highlight.js +20 -0
- package/lib/sharedComponents/Search/Search.d.ts +19 -0
- package/lib/sharedComponents/Search/Search.js +72 -0
- package/lib/sharedComponents/Search/SearchInput.d.ts +4 -0
- package/lib/sharedComponents/Search/SearchInput.js +51 -0
- package/lib/sharedComponents/Search/index.d.ts +5 -0
- package/lib/sharedComponents/Search/index.js +29 -0
- package/lib/sharedComponents/Search/locale/en_US.js +11 -0
- package/lib/sharedComponents/Search/locale/zh_CN.d.ts +5 -0
- package/lib/sharedComponents/Search/locale/zh_CN.js +11 -0
- package/lib/sharedComponents/Search/style.d.ts +14 -0
- package/lib/sharedComponents/Search/style.js +56 -0
- package/lib/sharedComponents/VirtualScrollList.d.ts +7 -0
- package/lib/sharedComponents/VirtualScrollList.js +68 -0
- package/lib/stores/SimpleStore.js +73 -0
- package/lib/style/animation.d.ts +17 -0
- package/lib/style/animation.js +49 -0
- package/lib/style/globalAnimation.d.ts +1 -0
- package/lib/style/globalAnimation.js +20 -0
- package/lib/style/index.d.ts +10 -0
- package/lib/style/index.js +114 -0
- package/lib/style/interface.d.ts +8 -0
- package/lib/style/interface.js +13 -0
- package/lib/style/sWrap.d.ts +18 -0
- package/lib/style/sWrap.js +110 -0
- package/lib/style/utils.d.ts +14 -0
- package/lib/style/utils.js +171 -0
- package/lib/type.d.ts +9 -0
- package/lib/type.js +118 -0
- package/lib/utils/KeyCode.d.ts +15 -0
- package/lib/utils/KeyCode.js +21 -0
- package/lib/utils/attrs.d.ts +5 -0
- package/lib/utils/attrs.js +39 -0
- package/lib/utils/checkStickySupport.d.ts +2 -0
- package/lib/utils/checkStickySupport.js +38 -0
- package/lib/utils/deprecatedLog.d.ts +2 -0
- package/lib/utils/deprecatedLog.js +27 -0
- package/lib/utils/each.d.ts +1 -0
- package/lib/utils/each.js +15 -0
- package/lib/utils/generateError.js +27 -0
- package/lib/utils/hoistStatics.d.ts +1 -0
- package/lib/utils/hoistStatics.js +14 -0
- package/lib/utils/isArray.d.ts +2 -0
- package/lib/utils/isArray.js +19 -0
- package/lib/utils/isEmpty.d.ts +2 -0
- package/lib/utils/isEmpty.js +26 -0
- package/lib/utils/isFirefox.d.ts +2 -0
- package/lib/utils/isFirefox.js +12 -0
- package/lib/utils/isFunction.d.ts +2 -0
- package/lib/utils/isFunction.js +20 -0
- package/lib/utils/isIE.d.ts +2 -0
- package/lib/utils/isIE.js +12 -0
- package/lib/utils/isNumber.d.ts +2 -0
- package/lib/utils/isNumber.js +19 -0
- package/lib/utils/isObject.d.ts +2 -0
- package/lib/utils/isObject.js +19 -0
- package/lib/utils/isSafari.d.ts +2 -0
- package/lib/utils/isSafari.js +10 -0
- package/lib/utils/memo.d.ts +2 -0
- package/lib/utils/memo.js +32 -0
- package/lib/utils/noop.d.ts +2 -0
- package/lib/utils/noop.js +20 -0
- package/lib/utils/once.d.ts +2 -0
- package/lib/utils/once.js +29 -0
- package/lib/utils/pick.d.ts +2 -0
- package/lib/utils/pick.js +29 -0
- package/lib/utils/string.d.ts +1 -0
- package/lib/utils/string.js +24 -0
- package/lib/utils/styledWrap.d.ts +22 -0
- package/lib/utils/styledWrap.js +98 -0
- package/lib/utils/typeMemo.d.ts +2 -0
- package/lib/utils/typeMemo.js +18 -0
- package/lib/utils/wait.d.ts +2 -0
- package/lib/utils/wait.js +23 -0
- package/lib/utils/warning.d.ts +4 -0
- package/lib/utils/warning.js +34 -0
- package/lib/utils/withProps.d.ts +3 -0
- package/lib/utils/withProps.js +86 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
fillRule: "evenodd",
|
|
20
|
+
d: "M12,1.995 C17.5254886,1.995 22.005,6.47428398 22.005,12 C22.005,17.525716 17.5254886,22.005 12,22.005 C6.47451136,22.005 1.995,17.525716 1.995,12 C1.995,6.47428398 6.47451136,1.995 12,1.995 Z M12,3.81409091 C7.47910432,3.81409091 3.81409091,7.47910432 3.81409091,12 C3.81409091,16.5208957 7.47910432,20.1859091 12,20.1859091 C16.5208957,20.1859091 20.1859091,16.5208957 20.1859091,12 C20.1859091,7.47910432 16.5208957,3.81409091 12,3.81409091 Z M12.3979261,16.9267803 C12.9316497,16.9267803 13.3643182,17.3594488 13.3643182,17.8931724 C13.3643182,18.426896 12.9316497,18.8595644 12.3979261,18.8595644 C11.8642025,18.8595644 11.4315341,18.426896 11.4315341,17.8931724 C11.4315341,17.3594488 11.8642025,16.9267803 12.3979261,16.9267803 Z M10.2152444,5.89262966 C10.9728958,5.41238966 11.9035882,5.2932392 12.9059073,5.54745716 C14.1904128,5.87375659 15.0892711,6.6807508 15.4369449,7.82018386 C15.7691564,8.90890977 15.518804,10.2079681 14.8282316,10.9797174 C14.5262625,11.3169314 14.2345258,11.5761518 14.0000905,11.7846651 C13.5214422,12.2098776 13.4054751,12.3369866 13.3638634,12.6087133 C13.3111098,12.9518393 13.2533536,14.3175218 13.2292507,15.0979118 C13.2140158,15.5904307 12.8099502,15.9792614 12.3206148,15.9792614 C12.3110645,15.9792614 12.3015143,15.979034 12.2919641,15.9788066 C11.789895,15.9633443 11.395607,15.5435891 11.4110693,15.04152 C11.4222112,14.6863425 11.4813317,12.8856699 11.565692,12.3335758 C11.7109919,11.3853747 12.2603574,10.8971761 12.7919867,10.4248947 C13.0125515,10.2288876 13.2403926,10.0262864 13.4727815,9.76661114 C13.707899,9.50352511 13.8607026,8.88753545 13.6969844,8.35090364 C13.537814,7.82882455 13.1210148,7.47864955 12.4584109,7.31038364 C11.9415617,7.1791817 11.5288555,7.21647307 11.1961892,7.42453159 C10.6409117,7.77152318 10.372141,8.55805261 10.3152944,8.8318258 C10.2138801,9.32161602 9.73568659,9.64018432 9.24498682,9.54195341 C8.75451443,9.44349511 8.43526398,8.97053148 8.53053886,8.47960432 C8.53354432,8.46420136 8.53885888,8.43819679 8.54691973,8.40300466 L8.57977826,8.27127969 C8.71268867,7.77582461 9.13290511,6.5788125 10.2152444,5.89262966 Z"
|
|
21
|
+
});
|
|
22
|
+
}.bind(void 0));
|
|
23
|
+
|
|
24
|
+
exports.default = _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M22.005,5.33 L22.005,10.3325 C22.005,10.7910625 21.6298125,11.16625 21.17125,11.16625 L16.16875,11.16625 C15.7101875,11.16625 15.335,10.7910625 15.335,10.3325 C15.335,9.8739375 15.7101875,9.49875 16.16875,9.49875 L18.9826562,9.49875 C17.8570937,8.414875 16.9816562,7.5394375 16.7315312,7.2893125 C16.7315312,7.2893125 16.7315312,7.2893125 16.7315312,7.2893125 C16.085375,6.64315625 15.3558437,6.16375 14.5220937,5.83025 C13.7300312,5.49675 12.8754375,5.35084375 12.0208437,5.35084375 C11.16625,5.35084375 10.3116562,5.51759375 9.51959375,5.83025 C8.68584375,6.16375 7.9563125,6.664 7.31015625,7.2893125 C7.247625,7.35184375 7.2059375,7.39353125 7.14340625,7.4560625 C6.60146875,8.01884375 6.18459375,8.68584375 5.89278125,9.39453125 C5.85109375,9.51959375 5.7885625,9.64465625 5.746875,9.7905625 C5.60096875,10.2282813 5.1215625,10.4575625 4.68384375,10.2908125 C4.246125,10.1449063 4.01684375,9.6655 4.16275,9.22778125 C4.22528125,9.0401875 4.2878125,8.8734375 4.3711875,8.68584375 C4.5379375,8.31065625 4.72553125,7.93546875 4.9548125,7.581125 C5.22578125,7.14340625 5.55928125,6.7056875 5.913625,6.3305 C5.97615625,6.26796875 6.05953125,6.18459375 6.1220625,6.1220625 C6.914125,5.33 7.85209375,4.7046875 8.8734375,4.2878125 C9.3736875,4.079375 9.89478125,3.93346875 10.415875,3.82925 C10.9369688,3.7041875 11.4580625,3.6625 12,3.6625 C12.5419375,3.6625 13.0630312,3.7041875 13.584125,3.80840625 C14.1052187,3.912625 14.6263125,4.05853125 15.1265625,4.26696875 C16.16875,4.68384375 17.085875,5.30915625 17.8779375,6.10121875 L17.8987812,6.1220625 C18.16975,6.39303125 19.1285625,7.331 20.3375,8.49825 L20.3375,5.33 C20.3375,4.8714375 20.7126875,4.49625 21.17125,4.49625 C21.6298125,4.49625 22.005,4.8714375 22.005,5.33 Z M2.82875,19.50375 C3.2873125,19.50375 3.6625,19.1285625 3.6625,18.67 L3.6625,15.50175 C4.8714375,16.669 5.83025,17.6069688 6.10121875,17.8779375 L6.1220625,17.8987813 C6.914125,18.6908438 7.85209375,19.3161563 8.8734375,19.7330313 C9.3736875,19.9414688 9.89478125,20.087375 10.415875,20.1915938 C10.9369687,20.2958125 11.4789062,20.3375 12,20.3375 C13.0630312,20.3375 14.1469062,20.1290625 15.1265625,19.7330313 C16.16875,19.3161563 17.085875,18.6908438 17.8779375,17.8987813 C17.9404687,17.83625 18.0238437,17.752875 18.086375,17.6903438 C18.4407187,17.2943125 18.7742187,16.8774375 19.0451875,16.4397188 C19.2744687,16.085375 19.4620625,15.7101875 19.6288125,15.335 C19.7121875,15.16825 19.7747187,14.9806563 19.83725,14.7930625 C19.9831562,14.3553438 19.753875,13.8967813 19.3161562,13.7300313 C18.8784375,13.584125 18.3990312,13.8134063 18.253125,14.2302813 C18.2114375,14.3553438 18.1489062,14.4804063 18.1072187,14.6263125 C17.419375,16.2312813 16.1062188,17.5444375 14.4804062,18.1905938 C13.6883437,18.5240938 12.83375,18.67 11.9791562,18.67 C11.1245625,18.67 10.2699688,18.50325 9.47790625,18.1905938 C8.64415625,17.8570938 7.914625,17.3568438 7.26846875,16.7315313 C7.26846875,16.7315313 7.26846875,16.7315313 7.26846875,16.7315313 C7.01834375,16.4814063 6.1220625,15.6059688 5.01734375,14.5220938 L7.83125,14.5220938 C8.2898125,14.5220938 8.665,14.1469063 8.665,13.6883438 C8.665,13.2297813 8.2898125,12.8545938 7.83125,12.8545938 L2.82875,12.8545938 C2.3701875,12.8545938 1.995,13.2297813 1.995,13.6883438 L1.995,18.6908438 C1.995,19.1285625 2.3701875,19.50375 2.82875,19.50375 Z"
|
|
20
|
+
});
|
|
21
|
+
}.bind(void 0));
|
|
22
|
+
|
|
23
|
+
exports.default = _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M12 2a1 1 0 010 2.09A7.91 7.91 0 1019.91 12 1 1 0 0122 12 10 10 0 1112 2z"
|
|
20
|
+
});
|
|
21
|
+
}.bind(void 0));
|
|
22
|
+
|
|
23
|
+
exports.default = _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M11,3 C15.418278,3 19,6.581722 19,11 C19,12.8491176 18.3726428,14.5517081 17.3191633,15.9065366 L20.981429,19.5692608 L19.5692608,20.981429 L15.9065366,17.3191633 C14.5517081,18.3726428 12.8491176,19 11,19 C6.581722,19 3,15.418278 3,11 C3,6.581722 6.581722,3 11,3 Z M11,5 C7.6862915,5 5,7.6862915 5,11 C5,14.3137085 7.6862915,17 11,17 C14.3137085,17 17,14.3137085 17,11 C17,7.6862915 14.3137085,5 11,5 Z"
|
|
20
|
+
});
|
|
21
|
+
}.bind(void 0));
|
|
22
|
+
|
|
23
|
+
exports.default = _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M10.5606602,2.14644661 C10.6544284,2.2402148 10.7071068,2.36739176 10.7071068,2.5 L10.7071068,22 L8.70710678,22 L8.70705307,6.12085678 L5.41421356,9.41421356 L4,8 L9.85355339,2.14644661 C10.0488155,1.95118446 10.365398,1.95118446 10.5606602,2.14644661 Z M15.2928932,2 L15.2929469,17.8791432 L18.5857864,14.5857864 L20,16 L14.1464466,21.8535534 C13.9511845,22.0488155 13.634602,22.0488155 13.4393398,21.8535534 C13.3455716,21.7597852 13.2928932,21.6326082 13.2928932,21.5 L13.2928932,2 L15.2928932,2 Z"
|
|
20
|
+
});
|
|
21
|
+
}.bind(void 0));
|
|
22
|
+
|
|
23
|
+
exports.default = _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M19.23 5.52a1 1 0 011.62 1.16l-.08.11-9.93 12.07a1 1 0 01-1.33.19l-.1-.05-6.07-5.38A1 1 0 014.56 12l.1.08L10 16.79z"
|
|
20
|
+
});
|
|
21
|
+
}.bind(void 0));
|
|
22
|
+
|
|
23
|
+
exports.default = _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M12,2 C17.5227273,2 22,6.47704545 22,12 C22,17.5229545 17.5227273,22 12,22 C6.47727273,22 2,17.5229545 2,12 C2,6.47704545 6.47727273,2 12,2 Z M16.5200193,8.98135163 C16.1469184,8.60872882 15.541055,8.60880279 15.1678348,8.98154502 L15.1678348,8.98154502 L10.9389153,13.2107635 L9.16283652,11.4346847 C8.78949694,11.0613451 8.18431639,11.0613451 7.81069249,11.43473 C7.43740574,11.8077778 7.43740574,12.4135014 7.81071277,12.7870475 L7.81071277,12.7870475 L10.2627164,15.2381841 C10.635767,15.6112347 11.2415256,15.6112347 11.6148194,15.23818 L11.6148194,15.23818 L16.5195943,10.333694 C16.893265,9.95978409 16.8935605,9.35489292 16.5200193,8.98135163 Z"
|
|
20
|
+
});
|
|
21
|
+
}.bind(void 0));
|
|
22
|
+
|
|
23
|
+
exports.default = _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M17.7546146,7 L16.3114912,7 C15.9976349,7 15.6991638,7.15410017 15.5145424,7.41827188 L10.6774635,14.2741568 L8.48662368,11.1669943 C8.30200234,10.9059675 8.00660821,10.7487224 7.68967492,10.7487224 L6.24655149,10.7487224 C6.04654505,10.7487224 5.9296182,10.9814451 6.04654505,11.1481249 L9.88051475,16.5825143 C10.2712966,17.1391619 11.0805534,17.1391619 11.4713352,16.5825143 L17.9515441,7.39940247 C18.0715479,7.2327227 17.9546211,7 17.7546146,7 Z"
|
|
20
|
+
});
|
|
21
|
+
}.bind(void 0));
|
|
22
|
+
|
|
23
|
+
exports.default = _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M20.5757143,5.80642857 L16.7642857,5.80642857 L16.7642857,4.85357143 C16.7642857,3.28135714 15.4779286,1.995 13.9057143,1.995 L10.0942857,1.995 C8.52207143,1.995 7.23571429,3.28135714 7.23571429,4.85357143 L7.23571429,5.80642857 L3.42428571,5.80642857 C2.90021429,5.80642857 2.47142857,6.23521429 2.47142857,6.75928571 C2.47142857,7.28335714 2.90021429,7.71214286 3.42428571,7.71214286 L4.37714286,7.71214286 L4.37714286,19.1464286 C4.37714286,20.7186429 5.6635,22.005 7.23571429,22.005 L16.7642857,22.005 C18.3365,22.005 19.6228571,20.7186429 19.6228571,19.1464286 L19.6228571,7.71214286 L20.5757143,7.71214286 C21.0997857,7.71214286 21.5285714,7.28335714 21.5285714,6.75928571 C21.5285714,6.23521429 21.0997857,5.80642857 20.5757143,5.80642857 Z M9.14142857,4.85357143 C9.14142857,4.3295 9.57021429,3.90071429 10.0942857,3.90071429 L13.9057143,3.90071429 C14.4297857,3.90071429 14.8585714,4.3295 14.8585714,4.85357143 L14.8585714,5.80642857 L9.14142857,5.80642857 L9.14142857,4.85357143 Z M17.7171429,19.1464286 C17.7171429,19.6705 17.2883571,20.0992857 16.7642857,20.0992857 L7.23571429,20.0992857 C6.71164286,20.0992857 6.28285714,19.6705 6.28285714,19.1464286 L6.28285714,7.71214286 L17.7171429,7.71214286 L17.7171429,19.1464286 Z"
|
|
20
|
+
});
|
|
21
|
+
}.bind(void 0));
|
|
22
|
+
|
|
23
|
+
exports.default = _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M12.6965559,17.7233146 L21.8268863,8.96758429 C22.0577046,8.746236 22.0577046,8.38735951 21.8268863,8.16601122 C21.7160434,8.05971602 21.5657082,8 21.4089527,8 L2.5910473,8 C2.26462089,8 2,8.253764 2,8.56679776 C2,8.71712187 2.06227088,8.86128909 2.17311375,8.96758429 L11.3034441,17.7233146 C11.6881413,18.0922285 12.3118587,18.0922285 12.6965559,17.7233146 Z"
|
|
20
|
+
});
|
|
21
|
+
}.bind(void 0));
|
|
22
|
+
|
|
23
|
+
exports.default = _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M11.6965559,16.7233146 L20.8268863,7.96758429 C21.0577046,7.746236 21.0577046,7.38735951 20.8268863,7.16601122 C20.7160434,7.05971602 20.5657082,7 20.4089527,7 L1.5910473,7 C1.26462089,7 1,7.253764 1,7.56679776 C1,7.71712187 1.06227088,7.86128909 1.17311375,7.96758429 L10.3034441,16.7233146 C10.6881413,17.0922285 11.3118587,17.0922285 11.6965559,16.7233146 Z",
|
|
20
|
+
transform: "rotate(90 11 12)"
|
|
21
|
+
});
|
|
22
|
+
}.bind(void 0));
|
|
23
|
+
|
|
24
|
+
exports.default = _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M17.7233146,12.6965559 L8.96758429,21.8268863 C8.746236,22.0577046 8.38735951,22.0577046 8.16601122,21.8268863 C8.05971602,21.7160434 8,21.5657082 8,21.4089527 L8,2.5910473 C8,2.26462089 8.253764,2 8.56679776,2 C8.71712187,2 8.86128909,2.06227088 8.96758429,2.17311375 L17.7233146,11.3034441 C18.0922285,11.6881413 18.0922285,12.3118587 17.7233146,12.6965559 Z"
|
|
20
|
+
});
|
|
21
|
+
}.bind(void 0));
|
|
22
|
+
|
|
23
|
+
exports.default = _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var _this = void 0;
|
|
15
|
+
|
|
16
|
+
var _default = /*#__PURE__*/_react.default.memo(function () {
|
|
17
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M12.6965559,6.27668537 L21.8268863,15.0324157 C22.0577046,15.253764 22.0577046,15.6126405 21.8268863,15.8339888 C21.7160434,15.940284 21.5657082,16 21.4089527,16 L2.5910473,16 C2.26462089,16 2,15.746236 2,15.4332022 C2,15.2828781 2.06227088,15.1387109 2.17311375,15.0324157 L11.3034441,6.27668537 C11.6881413,5.90777154 12.3118587,5.90777154 12.6965559,6.27668537 Z"
|
|
20
|
+
});
|
|
21
|
+
}.bind(void 0));
|
|
22
|
+
|
|
23
|
+
exports.default = _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _SvgIcon = _interopRequireDefault(require("./SvgIcon"));
|
|
11
|
+
|
|
12
|
+
var _default = _SvgIcon.default;
|
|
13
|
+
exports.default = _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const SvgIconWrapper: import("react").SFC<import("emotion-theming/types/helper").AddOptionalTo<Pick<any, string | number | symbol> & import("react").RefAttributes<any>, "theme">>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.SvgIconWrapper = void 0;
|
|
9
|
+
|
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
11
|
+
|
|
12
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
13
|
+
|
|
14
|
+
var _styledBase = _interopRequireDefault(require("@emotion/styled-base"));
|
|
15
|
+
|
|
16
|
+
var _core = require("@emotion/core");
|
|
17
|
+
|
|
18
|
+
var _style = require("../../../style");
|
|
19
|
+
|
|
20
|
+
var _withProps = _interopRequireDefault(require("../../../utils/withProps"));
|
|
21
|
+
|
|
22
|
+
var _this = void 0,
|
|
23
|
+
_templateObject;
|
|
24
|
+
|
|
25
|
+
var SvgIconWrapper = (0, _withProps.default)({})(( /*#__PURE__*/0, _styledBase.default)('svg', {
|
|
26
|
+
target: "e1diw3at0",
|
|
27
|
+
label: "SvgIconWrapper"
|
|
28
|
+
})(function (props) {
|
|
29
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
30
|
+
var color = props.color,
|
|
31
|
+
size = props.size,
|
|
32
|
+
spin = props.spin;
|
|
33
|
+
return /*#__PURE__*/(0, _core.css)("transition:fill 0.3s,width 0.3s,height 0.3s;", _style.inlineBlockWithVerticalMixin, ";fill:currentcolor;", color && /*#__PURE__*/(0, _core.css)("fill:", color, ";;label:SvgIconWrapper;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1N2Z0ljb24vc3R5bGUvaW5kZXguanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0JlIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1N2Z0ljb24vc3R5bGUvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcblxuaW1wb3J0IHsgc3Bpbk1peGluLCBpbmxpbmVCbG9ja1dpdGhWZXJ0aWNhbE1peGluIH0gZnJvbSAnc3JjL3N0eWxlJztcbmltcG9ydCB3aXRoUHJvcHMgZnJvbSAnc3JjL3V0aWxzL3dpdGhQcm9wcyc7XG5cbmV4cG9ydCBjb25zdCBTdmdJY29uV3JhcHBlciA9IHdpdGhQcm9wcyh7fSkoXG4gICAgc3R5bGVkKCdzdmcnKShwcm9wcyA9PiB7XG4gICAgICAgIGNvbnN0IHsgY29sb3IsIHNpemUsIHNwaW4gfSA9IHByb3BzO1xuXG4gICAgICAgIHJldHVybiBjc3NgXG4gICAgICAgICAgICB0cmFuc2l0aW9uOiBmaWxsIDAuM3MsIHdpZHRoIDAuM3MsIGhlaWdodCAwLjNzO1xuXG4gICAgICAgICAgICAke2lubGluZUJsb2NrV2l0aFZlcnRpY2FsTWl4aW59O1xuXG4gICAgICAgICAgICBmaWxsOiBjdXJyZW50Y29sb3I7XG5cbiAgICAgICAgICAgICR7Y29sb3IgJiZcbiAgICAgICAgICAgIGNzc2BcbiAgICAgICAgICAgICAgICBmaWxsOiAke2NvbG9yfTtcbiAgICAgICAgICAgIGB9O1xuXG4gICAgICAgICAgICAke2Nzc2BcbiAgICAgICAgICAgICAgICB3aWR0aDogJHtzaXplfTtcbiAgICAgICAgICAgICAgICBoZWlnaHQ6ICR7c2l6ZX07XG4gICAgICAgICAgICBgfTtcbiAgICAgICAgICAgICR7c3BpbiAmJiBzcGluTWl4aW59O1xuICAgICAgICBgO1xuICAgIH0pXG4pO1xuIl19 */")), ";", (0, _core.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: ", ";\n height: ", ";\n "])), size, size), ";", spin && _style.spinMixin, ";;label:SvgIconWrapper;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1N2Z0ljb24vc3R5bGUvaW5kZXguanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVWtCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1N2Z0ljb24vc3R5bGUvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcblxuaW1wb3J0IHsgc3Bpbk1peGluLCBpbmxpbmVCbG9ja1dpdGhWZXJ0aWNhbE1peGluIH0gZnJvbSAnc3JjL3N0eWxlJztcbmltcG9ydCB3aXRoUHJvcHMgZnJvbSAnc3JjL3V0aWxzL3dpdGhQcm9wcyc7XG5cbmV4cG9ydCBjb25zdCBTdmdJY29uV3JhcHBlciA9IHdpdGhQcm9wcyh7fSkoXG4gICAgc3R5bGVkKCdzdmcnKShwcm9wcyA9PiB7XG4gICAgICAgIGNvbnN0IHsgY29sb3IsIHNpemUsIHNwaW4gfSA9IHByb3BzO1xuXG4gICAgICAgIHJldHVybiBjc3NgXG4gICAgICAgICAgICB0cmFuc2l0aW9uOiBmaWxsIDAuM3MsIHdpZHRoIDAuM3MsIGhlaWdodCAwLjNzO1xuXG4gICAgICAgICAgICAke2lubGluZUJsb2NrV2l0aFZlcnRpY2FsTWl4aW59O1xuXG4gICAgICAgICAgICBmaWxsOiBjdXJyZW50Y29sb3I7XG5cbiAgICAgICAgICAgICR7Y29sb3IgJiZcbiAgICAgICAgICAgIGNzc2BcbiAgICAgICAgICAgICAgICBmaWxsOiAke2NvbG9yfTtcbiAgICAgICAgICAgIGB9O1xuXG4gICAgICAgICAgICAke2Nzc2BcbiAgICAgICAgICAgICAgICB3aWR0aDogJHtzaXplfTtcbiAgICAgICAgICAgICAgICBoZWlnaHQ6ICR7c2l6ZX07XG4gICAgICAgICAgICBgfTtcbiAgICAgICAgICAgICR7c3BpbiAmJiBzcGluTWl4aW59O1xuICAgICAgICBgO1xuICAgIH0pXG4pO1xuIl19 */"));
|
|
34
|
+
}.bind(void 0), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1N2Z0ljb24vc3R5bGUvaW5kZXguanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT0kiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvU3ZnSWNvbi9zdHlsZS9pbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xuXG5pbXBvcnQgeyBzcGluTWl4aW4sIGlubGluZUJsb2NrV2l0aFZlcnRpY2FsTWl4aW4gfSBmcm9tICdzcmMvc3R5bGUnO1xuaW1wb3J0IHdpdGhQcm9wcyBmcm9tICdzcmMvdXRpbHMvd2l0aFByb3BzJztcblxuZXhwb3J0IGNvbnN0IFN2Z0ljb25XcmFwcGVyID0gd2l0aFByb3BzKHt9KShcbiAgICBzdHlsZWQoJ3N2ZycpKHByb3BzID0+IHtcbiAgICAgICAgY29uc3QgeyBjb2xvciwgc2l6ZSwgc3BpbiB9ID0gcHJvcHM7XG5cbiAgICAgICAgcmV0dXJuIGNzc2BcbiAgICAgICAgICAgIHRyYW5zaXRpb246IGZpbGwgMC4zcywgd2lkdGggMC4zcywgaGVpZ2h0IDAuM3M7XG5cbiAgICAgICAgICAgICR7aW5saW5lQmxvY2tXaXRoVmVydGljYWxNaXhpbn07XG5cbiAgICAgICAgICAgIGZpbGw6IGN1cnJlbnRjb2xvcjtcblxuICAgICAgICAgICAgJHtjb2xvciAmJlxuICAgICAgICAgICAgY3NzYFxuICAgICAgICAgICAgICAgIGZpbGw6ICR7Y29sb3J9O1xuICAgICAgICAgICAgYH07XG5cbiAgICAgICAgICAgICR7Y3NzYFxuICAgICAgICAgICAgICAgIHdpZHRoOiAke3NpemV9O1xuICAgICAgICAgICAgICAgIGhlaWdodDogJHtzaXplfTtcbiAgICAgICAgICAgIGB9O1xuICAgICAgICAgICAgJHtzcGluICYmIHNwaW5NaXhpbn07XG4gICAgICAgIGA7XG4gICAgfSlcbik7XG4iXX0= */"));
|
|
35
|
+
exports.SvgIconWrapper = SvgIconWrapper;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export interface SwitchProps {
|
|
3
|
+
/** 是否选中 */
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
/** 默认选中状态 */
|
|
6
|
+
defaultChecked?: boolean;
|
|
7
|
+
/** 选中状态改变时的回调 */
|
|
8
|
+
onChange?: (checked: boolean) => void;
|
|
9
|
+
/** 是否禁用 */
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
/** 尺寸 */
|
|
12
|
+
size?: 'sm' | 'md' | 'lg';
|
|
13
|
+
/** 打开的文字 */
|
|
14
|
+
onText?: ReactNode;
|
|
15
|
+
/** 关闭的文字 */
|
|
16
|
+
offText?: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<SwitchProps & Omit<React.HTMLAttributes<HTMLDivElement>, keyof SwitchProps> & React.RefAttributes<unknown>>>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.default = void 0;
|
|
11
|
+
|
|
12
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
13
|
+
|
|
14
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
15
|
+
|
|
16
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
17
|
+
|
|
18
|
+
var _newArrowCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/newArrowCheck"));
|
|
19
|
+
|
|
20
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
21
|
+
|
|
22
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
23
|
+
|
|
24
|
+
var _useUncontrolled3 = _interopRequireDefault(require("../../hooks/useUncontrolled"));
|
|
25
|
+
|
|
26
|
+
var _style = require("./style");
|
|
27
|
+
|
|
28
|
+
var _excluded = ["checked", "defaultChecked", "onChange", "disabled", "size", "onText", "offText"];
|
|
29
|
+
|
|
30
|
+
var _this = void 0;
|
|
31
|
+
|
|
32
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
33
|
+
|
|
34
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
35
|
+
|
|
36
|
+
// eslint-disable-next-line react/display-name
|
|
37
|
+
var Switch = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
38
|
+
var _this2 = this;
|
|
39
|
+
|
|
40
|
+
(0, _newArrowCheck2.default)(this, _this);
|
|
41
|
+
var _checked = _ref.checked,
|
|
42
|
+
defaultChecked = _ref.defaultChecked,
|
|
43
|
+
_onChange = _ref.onChange,
|
|
44
|
+
disabled = _ref.disabled,
|
|
45
|
+
_ref$size = _ref.size,
|
|
46
|
+
size = _ref$size === void 0 ? 'md' : _ref$size,
|
|
47
|
+
_ref$onText = _ref.onText,
|
|
48
|
+
onText = _ref$onText === void 0 ? 'ON' : _ref$onText,
|
|
49
|
+
_ref$offText = _ref.offText,
|
|
50
|
+
offText = _ref$offText === void 0 ? 'OFF' : _ref$offText,
|
|
51
|
+
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
52
|
+
|
|
53
|
+
var _useUncontrolled = (0, _useUncontrolled3.default)(_checked, defaultChecked || false, _onChange),
|
|
54
|
+
_useUncontrolled2 = (0, _slicedToArray2.default)(_useUncontrolled, 2),
|
|
55
|
+
checked = _useUncontrolled2[0],
|
|
56
|
+
onChange = _useUncontrolled2[1];
|
|
57
|
+
|
|
58
|
+
var handleClick = (0, _react.useCallback)(function () {
|
|
59
|
+
(0, _newArrowCheck2.default)(this, _this2);
|
|
60
|
+
if (disabled) return;
|
|
61
|
+
onChange(!checked);
|
|
62
|
+
}.bind(this), [checked, disabled, onChange]);
|
|
63
|
+
return /*#__PURE__*/_react.default.createElement(_style.SwitchWrap, (0, _extends2.default)({}, rest, {
|
|
64
|
+
checked: checked,
|
|
65
|
+
disabled: disabled,
|
|
66
|
+
size: size,
|
|
67
|
+
onClick: handleClick
|
|
68
|
+
}), /*#__PURE__*/_react.default.createElement("span", {
|
|
69
|
+
className: _style.innerCls
|
|
70
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
71
|
+
className: _style.onTipCls
|
|
72
|
+
}, onText), /*#__PURE__*/_react.default.createElement("span", {
|
|
73
|
+
className: _style.offTipCls
|
|
74
|
+
}, offText)), /*#__PURE__*/_react.default.createElement("span", {
|
|
75
|
+
className: _style.buttonCls
|
|
76
|
+
}, /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement("span", {
|
|
77
|
+
className: _style.dotCls
|
|
78
|
+
}))));
|
|
79
|
+
}.bind(void 0));
|
|
80
|
+
|
|
81
|
+
Switch.propTypes = {
|
|
82
|
+
checked: _propTypes.default.bool,
|
|
83
|
+
defaultChecked: _propTypes.default.bool,
|
|
84
|
+
onChange: _propTypes.default.func,
|
|
85
|
+
disabled: _propTypes.default.bool,
|
|
86
|
+
size: _propTypes.default.oneOf(['sm', 'md', 'lg']),
|
|
87
|
+
onText: _propTypes.default.node,
|
|
88
|
+
offText: _propTypes.default.node
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
var _default = /*#__PURE__*/_react.default.memo(Switch);
|
|
92
|
+
|
|
93
|
+
exports.default = _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
|
|
10
|
+
var _Switch = _interopRequireDefault(require("./Switch"));
|
|
11
|
+
|
|
12
|
+
var ExportSwitch = _Switch.default;
|
|
13
|
+
ExportSwitch.Sizes = ['sm', 'md', 'lg'];
|
|
14
|
+
var _default = _Switch.default;
|
|
15
|
+
exports.default = _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const prefixCls: string;
|
|
3
|
+
export declare const dotCls: string;
|
|
4
|
+
export declare const onTipCls: string;
|
|
5
|
+
export declare const offTipCls: string;
|
|
6
|
+
export declare const innerCls: string;
|
|
7
|
+
export declare const buttonCls: string;
|
|
8
|
+
declare type Size = 'sm' | 'md' | 'lg';
|
|
9
|
+
export declare const SwitchWrap: import("react").ForwardRefExoticComponent<{
|
|
10
|
+
disabled?: boolean | undefined;
|
|
11
|
+
checked?: boolean | undefined;
|
|
12
|
+
size: Size;
|
|
13
|
+
} & import("react").HTMLAttributes<HTMLElement> & {
|
|
14
|
+
theme?: import("../../../style").Theme | undefined;
|
|
15
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
16
|
+
export {};
|