@nutui/nutui-react 1.3.3-beta.0 → 1.3.3-beta.2
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 +10 -0
- package/dist/esm/Address.js +7 -2
- package/dist/esm/Audio.js +9 -3
- package/dist/esm/Avatar.js +7 -3
- package/dist/esm/BackTop.js +6 -2
- package/dist/esm/Badge.js +6 -2
- package/dist/esm/Button.js +9 -3
- package/dist/esm/Cascader.js +2 -1
- package/dist/esm/Cell.js +9 -3
- package/dist/esm/Checkbox.js +7 -5
- package/dist/esm/CollapseItem.js +11 -3
- package/dist/esm/CountDown.js +184 -121
- package/dist/esm/FixedNav.js +7 -3
- package/dist/esm/GridItem.js +7 -3
- package/dist/esm/Icon/style/index.js +1 -0
- package/dist/esm/Infiniteloading.js +9 -3
- package/dist/esm/Input.js +10 -3
- package/dist/esm/InputNumber.js +9 -3
- package/dist/esm/Menu.js +7 -3
- package/dist/esm/MenuItem.js +6 -4
- package/dist/esm/NavBar.js +8 -2
- package/dist/esm/NoticeBar.js +10 -2
- package/dist/esm/Popover.js +5 -2
- package/dist/esm/Popup.js +4 -1
- package/dist/esm/Progress.js +70 -5
- package/dist/esm/Radio.js +6 -2
- package/dist/esm/Rate.js +10 -2
- package/dist/esm/SearchBar.js +7 -3
- package/dist/esm/ShortPassword.js +7 -3
- package/dist/esm/Step.js +7 -3
- package/dist/esm/TabbarItem.js +7 -4
- package/dist/esm/Table.js +7 -3
- package/dist/esm/Tabs.js +3 -2
- package/dist/esm/Tag.js +6 -2
- package/dist/esm/Uploader.js +15 -2
- package/dist/esm/{tabs-a48583e9.js → tabs-41234c2c.js} +5 -2
- package/dist/esm/types/src/locales/base.d.ts +125 -0
- package/dist/esm/types/src/locales/en-US.d.ts +3 -0
- package/dist/esm/types/src/locales/id-ID.d.ts +3 -0
- package/dist/esm/types/src/locales/zh-CN.d.ts +3 -0
- package/dist/esm/types/src/locales/zh-TW.d.ts +3 -0
- package/dist/{types → esm/types/src/packages}/actionsheet/__test__/actionsheet.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/actionsheet/actionsheet.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/actionsheet/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/actionsheet/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/actionsheet/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/__test__/address.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/address.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/address/customRender.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/existRender.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/type.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/animatingnumbers/__tests__/animatingnumbers.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/animatingnumbers/animatingnumbers.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/animatingnumbers/countup.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/animatingnumbers/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/animatingnumbers/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/animatingnumbers/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/audio/__test__/audio.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/audio/audio.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/audio/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/audio/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/audio/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatar/__tests__/avatar.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatar/avatar.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/avatar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatargroup/AvatarContext.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatargroup/__tests__/avatargroup.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatargroup/avatargroup.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatargroup/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatargroup/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/backtop/__test__/backtop.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/backtop/backtop.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/backtop/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/backtop/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/backtop/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/badge/__test__/badge.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/badge/badge.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/badge/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/badge/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/badge/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/barrage/__tests__/barrage.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/barrage/barrage.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/barrage/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/barrage/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/barrage/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/button/__test__/button.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/button/button.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/button/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/button/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/button/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendar/__tests__/calendar.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendar/calendar.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendaritem/calendaritem.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendaritem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendaritem/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/card/__test__/card.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/card/card.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/card/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/card/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/card/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/__tests__/cascader.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/cascader.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/cascaderItem.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/helper.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/tree.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/types.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cell/__test__/cell.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cell/cell.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/cell/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cell/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cell/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cellgroup/__test__/cellgroup.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cellgroup/cellgroup.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cellgroup/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cellgroup/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkbox/__test__/checkbox.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkbox/checkbox.d.ts +3 -2
- package/dist/{types → esm/types/src/packages}/checkbox/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkbox/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkbox/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkboxgroup/checkboxgroup.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkboxgroup/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkboxgroup/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/circleprogress/__tests__/circleprogress.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/circleprogress/circleprogress.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/circleprogress/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/circleprogress/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/circleprogress/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/col/col.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/col/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/col/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapse/__test__/collapse.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapse/collapse.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapse/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapse/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapse/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapseitem/collapseitem.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/collapseitem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapseitem/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/configprovider/configprovider.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/configprovider/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/configprovider/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/configprovider/index.taro.d.ts +0 -0
- package/dist/{types/datepicker/__test__/datepicker.spec.d.ts → esm/types/src/packages/countdown/__test__/countdown.spec.d.ts} +0 -0
- package/dist/esm/types/src/packages/countdown/countdown.d.ts +18 -0
- package/dist/{types → esm/types/src/packages}/countdown/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/countdown/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/countdown/index.taro.d.ts +0 -0
- package/dist/{types/dialog/__test__/dialog.spec.d.ts → esm/types/src/packages/datepicker/__test__/datepicker.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/datepicker/datepicker.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/datepicker/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/datepicker/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/datepicker/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/Confirm.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/Content.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/DialogWrap.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/DialogWrapper.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/Mask.d.ts +0 -0
- package/dist/{types/divider/__test__/divider.spec.d.ts → esm/types/src/packages/dialog/__test__/dialog.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/config.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/dialog.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/index.taro.d.ts +0 -0
- package/dist/{types/drag/__test__/drag.spec.d.ts → esm/types/src/packages/divider/__test__/divider.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/divider/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/divider/divider.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/divider/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/divider/index.taro.d.ts +0 -0
- package/dist/{types/elevator/__tests__/elevator.spec.d.ts → esm/types/src/packages/drag/__test__/drag.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/drag/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/drag/drag.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/drag/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/drag/index.taro.d.ts +0 -0
- package/dist/{types/empty/__test__/empty.spec.d.ts → esm/types/src/packages/elevator/__tests__/elevator.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/elevator/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/elevator/elevator.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/elevator/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/elevator/index.taro.d.ts +0 -0
- package/dist/{types/fixednav/__tests__/fixednav.spec.d.ts → esm/types/src/packages/empty/__test__/empty.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/empty/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/empty/empty.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/empty/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/empty/index.taro.d.ts +0 -0
- package/dist/{types/grid/__test__/grid.spec.d.ts → esm/types/src/packages/fixednav/__tests__/fixednav.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/fixednav/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/fixednav/fixednav.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/fixednav/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/fixednav/index.taro.d.ts +0 -0
- package/dist/{types/icon/__test__/icon.spec.d.ts → esm/types/src/packages/grid/__test__/grid.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/grid/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/grid/grid.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/grid/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/grid/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/griditem/griditem.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/griditem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/griditem/index.taro.d.ts +0 -0
- package/dist/{types/imagepreview/__test__/imagepreview.spec.d.ts → esm/types/src/packages/icon/__test__/icon.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/icon/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/icon/icon.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/icon/icon.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/icon/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/icon/index.taro.d.ts +0 -0
- package/dist/{types/indicator/__test__/indicator.spec.d.ts → esm/types/src/packages/imagepreview/__test__/imagepreview.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/imagepreview/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/imagepreview/imagepreview.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/imagepreview/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/imagepreview/index.taro.d.ts +0 -0
- package/dist/{types/infiniteloading/__tests__/infiniteloading.spec.d.ts → esm/types/src/packages/indicator/__test__/indicator.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/indicator/demo.d.ts +1 -1
- package/dist/{types → esm/types/src/packages}/indicator/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/indicator/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/indicator/indicator.d.ts +0 -0
- package/dist/{types/input/__test__/input.spec.d.ts → esm/types/src/packages/infiniteloading/__tests__/infiniteloading.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/infiniteloading/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/infiniteloading/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/infiniteloading/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/infiniteloading/infiniteloading.d.ts +2 -1
- package/dist/{types/inputnumber/__tests__/inputnumber.spec.d.ts → esm/types/src/packages/input/__test__/input.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/input/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/input/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/input/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/input/input.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/input/util.d.ts +0 -0
- package/dist/{types/layout/__tests__/layout.spec.d.ts → esm/types/src/packages/inputnumber/__tests__/inputnumber.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/inputnumber/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/inputnumber/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/inputnumber/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/inputnumber/inputnumber.d.ts +2 -1
- package/dist/{types/menu/__test__/menu.spec.d.ts → esm/types/src/packages/layout/__tests__/layout.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/layout/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/layout/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/layout/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/layout/layout.d.ts +0 -0
- package/dist/{types/navbar/__test__/navbar.spec.d.ts → esm/types/src/packages/menu/__test__/menu.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/menu/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/menu/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/menu/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/menu/menu.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/menuitem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/menuitem/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/menuitem/menuitem.d.ts +2 -1
- package/dist/{types/noticebar/__test__/noticebar.spec.d.ts → esm/types/src/packages/navbar/__test__/navbar.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/navbar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/navbar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/navbar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/navbar/navbar.d.ts +2 -1
- package/dist/{types/notify/__test__/notify.spec.d.ts → esm/types/src/packages/noticebar/__test__/noticebar.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/noticebar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/noticebar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/noticebar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/noticebar/noticebar.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/notify/Notification.d.ts +0 -0
- package/dist/{types/numberkeyboard/_test_/index.spec.d.ts → esm/types/src/packages/notify/__test__/notify.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/notify/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/notify/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/notify/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/notify/notify.d.ts +0 -0
- package/dist/{types/shortpassword → esm/types/src/packages/numberkeyboard}/_test_/index.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/numberkeyboard/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/numberkeyboard/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/numberkeyboard/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/numberkeyboard/numberkeyboard.d.ts +0 -0
- package/dist/esm/types/src/packages/nutui.react.build.d.ts +87 -0
- package/dist/esm/types/src/packages/nutui.react.d.ts +173 -0
- package/dist/esm/types/src/packages/nutui.react.scss.d.ts +86 -0
- package/dist/esm/types/src/packages/nutui.react.taro.d.ts +173 -0
- package/dist/esm/types/src/packages/nutui.taro.react.build.d.ts +87 -0
- package/dist/{types → esm/types/src/packages}/overlay/__tests__/overlay.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/overlay/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/overlay/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/overlay/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/overlay/overlay.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pagination/__tests__/pagination.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pagination/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pagination/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pagination/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pagination/pagination.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/picker/__tests__/picker.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/picker/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/picker/doc.en.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/picker/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/picker/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/picker/picker.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/picker/pickerSlot.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popover/Trigger.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popover/__tests__/popover.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popover/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popover/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popover/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popover/popover.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/popup/__tests__/popup.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popup/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popup/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popup/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popup/popup.d.ts +3 -2
- package/dist/{types → esm/types/src/packages}/price/__test__/price.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/price/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/price/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/price/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/price/price.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/progress/__tests__/progress.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/progress/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/progress/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/progress/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/progress/progress.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/pulltorefresh/__test__/pulltorefresh.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pulltorefresh/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pulltorefresh/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pulltorefresh/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pulltorefresh/pulltorefresh.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radio/__test__/radio.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radio/context.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radio/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radio/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radio/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radio/radio.d.ts +3 -2
- package/dist/{types → esm/types/src/packages}/radiogroup/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radiogroup/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radiogroup/radiogroup.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/range/__test__/range.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/range/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/range/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/range/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/range/range.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/rate/__test__/rate.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/rate/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/rate/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/rate/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/rate/rate.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/row/UserContext.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/row/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/row/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/row/row.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/searchbar/__tests__/searchbar.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/searchbar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/searchbar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/searchbar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/searchbar/searchbar.d.ts +2 -1
- package/dist/{types/sidenavbar/__test__/sidenavbar.spec.d.ts → esm/types/src/packages/shortpassword/_test_/index.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/shortpassword/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/shortpassword/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/shortpassword/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/shortpassword/shortpassword.d.ts +2 -1
- package/dist/{types/sidenavbaritem/__test__/sidenavbaritem.spec.d.ts → esm/types/src/packages/sidenavbar/__test__/sidenavbar.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/offsetContext.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/sidenavbar.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/type.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/utils.d.ts +0 -0
- package/dist/{types/skeleton/__test__/skeleton.spec.d.ts → esm/types/src/packages/sidenavbaritem/__test__/sidenavbaritem.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbaritem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbaritem/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbaritem/sidenavbaritem.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/signature/__test__/signature.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/signature/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/signature/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/signature/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/signature/signature.d.ts +0 -0
- package/dist/{types/steps/__tests__/steps.spec.d.ts → esm/types/src/packages/skeleton/__test__/skeleton.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/skeleton/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/skeleton/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/skeleton/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/skeleton/skeleton.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/step/index.d.ts +0 -0
- package/dist/esm/types/src/packages/step/index.taro.d.ts +2 -0
- package/dist/{types → esm/types/src/packages}/step/step.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/steps/UserContext.d.ts +0 -0
- package/dist/{types/subsidenavbar/__test__/subsidenavbar.spec.d.ts → esm/types/src/packages/steps/__tests__/steps.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/steps/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/steps/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/steps/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/steps/steps.d.ts +0 -0
- package/dist/{types/swipe/__tests__/swipe.spec.d.ts → esm/types/src/packages/subsidenavbar/__test__/subsidenavbar.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/subsidenavbar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/subsidenavbar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/subsidenavbar/subsidenavbar.d.ts +0 -0
- package/dist/{types/swiper/__tests__/swiper.spec.d.ts → esm/types/src/packages/swipe/__tests__/swipe.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/swipe/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swipe/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swipe/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swipe/swipe.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swiper/UserContext.d.ts +0 -0
- package/dist/{types/switch/__test__/switch.spec.d.ts → esm/types/src/packages/swiper/__tests__/swiper.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/swiper/demo.d.ts +1 -1
- package/dist/{types → esm/types/src/packages}/swiper/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swiper/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swiper/swiper.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swiperitem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swiperitem/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swiperitem/swiperitem.d.ts +0 -0
- package/dist/{types/tabbar/__tests__/tabbar.spec.d.ts → esm/types/src/packages/switch/__test__/switch.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/switch/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/switch/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/switch/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/switch/switch.d.ts +0 -0
- package/dist/{types/table/__test__/table.spec.d.ts → esm/types/src/packages/tabbar/__tests__/tabbar.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/tabbar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabbar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabbar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabbar/tabbar.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabbaritem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabbaritem/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabbaritem/tabbaritem.d.ts +2 -1
- package/dist/{types/tabs/__test__/tabs.spec.d.ts → esm/types/src/packages/table/__test__/table.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/table/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/table/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/table/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/table/table.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/table/types.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/tabpane/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabpane/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabpane/tabpane.d.ts +0 -0
- package/dist/{types/tag/__test__/tag.spec.d.ts → esm/types/src/packages/tabs/__test__/tabs.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/tabs/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabs/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabs/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabs/tabs.d.ts +2 -1
- package/dist/{types/textarea/__test__/textarea.spec.d.ts → esm/types/src/packages/tag/__test__/tag.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/tag/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tag/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tag/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tag/tag.d.ts +2 -1
- package/dist/{types/timeselect/__test__/timeselect.spec.d.ts → esm/types/src/packages/textarea/__test__/textarea.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/textarea/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/textarea/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/textarea/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/textarea/textarea.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timedetail/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timedetail/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timedetail/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timedetail/timedetail.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timepannel/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timepannel/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timepannel/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timepannel/timepannel.d.ts +0 -0
- package/dist/{types/toast/__test__/toast.spec.d.ts → esm/types/src/packages/timeselect/__test__/timeselect.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/timeselect/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timeselect/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timeselect/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timeselect/timeselect.d.ts +1 -1
- package/dist/{types → esm/types/src/packages}/toast/Notification.d.ts +0 -0
- package/dist/{types/uploader/__tests__/uploader.spec.d.ts → esm/types/src/packages/toast/__test__/toast.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/toast/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/toast/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/toast/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/toast/toast.d.ts +0 -0
- package/dist/{types/video/__tests__/video.spec.d.ts → esm/types/src/packages/uploader/__tests__/uploader.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/uploader/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/uploader/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/uploader/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/uploader/upload.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/uploader/uploader.d.ts +2 -1
- package/dist/{types/virtuallist/__test__/virtuallist.spec.d.ts → esm/types/src/packages/video/__tests__/video.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/video/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/video/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/video/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/video/video.d.ts +0 -0
- package/dist/esm/types/src/packages/virtuallist/__test__/virtuallist.spec.d.ts +1 -0
- package/dist/{types → esm/types/src/packages}/virtuallist/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/virtuallist/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/virtuallist/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/virtuallist/type.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/virtuallist/utils.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/virtuallist/virtuallist.d.ts +0 -0
- package/dist/esm/types/src/utils/bem.d.ts +2 -0
- package/dist/esm/types/src/utils/bound.d.ts +1 -0
- package/dist/esm/types/src/utils/can-use-dom.d.ts +1 -0
- package/dist/esm/types/src/utils/date.d.ts +49 -0
- package/dist/esm/types/src/utils/get-scroll-parent.d.ts +3 -0
- package/dist/esm/types/src/utils/index.d.ts +1 -0
- package/dist/esm/types/src/utils/raf.d.ts +2 -0
- package/dist/esm/types/src/utils/render.d.ts +2 -0
- package/dist/esm/types/src/utils/rubberband.d.ts +2 -0
- package/dist/esm/types/src/utils/sleep.d.ts +1 -0
- package/dist/esm/types/src/utils/supports-passive.d.ts +1 -0
- package/dist/esm/types/src/utils/test/event.d.ts +3 -0
- package/dist/esm/types/src/utils/typings.d.ts +12 -0
- package/dist/esm/types/src/utils/useClientRect.d.ts +18 -0
- package/dist/esm/types/src/utils/useRefs.d.ts +1 -0
- package/dist/esm/types/src/utils/useTouch.d.ts +18 -0
- package/dist/esm/typings-1c5f2628.js +8 -0
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/nutui.react.es.js +653 -404
- package/dist/nutui.react.umd.js +653 -404
- package/dist/packages/icon/icon.scss +2 -1
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/types/index.d.ts +1886 -0
- package/dist/types/nutui.react.build.ts +174 -0
- package/package.json +5 -7
- package/dist/types/actionsheet/actionsheet.taro.d.ts +0 -20
- package/dist/types/address/address.taro.d.ts +0 -34
- package/dist/types/animatingnumbers/animatingnumbers.taro.d.ts +0 -12
- package/dist/types/animatingnumbers/countup.taro.d.ts +0 -11
- package/dist/types/audio/audio.taro.d.ts +0 -18
- package/dist/types/avatar/avatar.taro.d.ts +0 -17
- package/dist/types/backtop/backtop.taro.d.ts +0 -15
- package/dist/types/badge/badge.taro.d.ts +0 -14
- package/dist/types/barrage/barrage.taro.d.ts +0 -12
- package/dist/types/button/button.taro.d.ts +0 -20
- package/dist/types/calendar/calendar.taro.d.ts +0 -14
- package/dist/types/calendaritem/calendaritem.taro.d.ts +0 -17
- package/dist/types/card/card.taro.d.ts +0 -17
- package/dist/types/cascader/cascader.taro.d.ts +0 -25
- package/dist/types/cascader/cascaderItem.taro.d.ts +0 -25
- package/dist/types/cell/cell.taro.d.ts +0 -20
- package/dist/types/cellgroup/cellgroup.taro.d.ts +0 -10
- package/dist/types/checkbox/checkbox.taro.d.ts +0 -19
- package/dist/types/checkboxgroup/checkboxgroup.taro.d.ts +0 -8
- package/dist/types/circleprogress/circleprogress.taro.d.ts +0 -15
- package/dist/types/col/col.taro.d.ts +0 -10
- package/dist/types/collapse/collapse.taro.d.ts +0 -12
- package/dist/types/configprovider/configprovider.taro.d.ts +0 -12
- package/dist/types/countdown/countdown.d.ts +0 -15
- package/dist/types/countdown/countdown.taro.d.ts +0 -15
- package/dist/types/datepicker/datepicker.taro.d.ts +0 -27
- package/dist/types/dialog/dialog.taro.d.ts +0 -3
- package/dist/types/divider/divider.taro.d.ts +0 -12
- package/dist/types/drag/drag.taro.d.ts +0 -14
- package/dist/types/elevator/elevator.taro.d.ts +0 -22
- package/dist/types/empty/empty.taro.d.ts +0 -8
- package/dist/types/fixednav/fixednav.taro.d.ts +0 -22
- package/dist/types/grid/grid.taro.d.ts +0 -16
- package/dist/types/griditem/griditem.taro.d.ts +0 -20
- package/dist/types/imagepreview/imagepreview.taro.d.ts +0 -26
- package/dist/types/indicator/indicator.taro.d.ts +0 -10
- package/dist/types/infiniteloading/infiniteloading.taro.d.ts +0 -20
- package/dist/types/input/input.taro.d.ts +0 -57
- package/dist/types/inputnumber/inputnumber.taro.d.ts +0 -22
- package/dist/types/layout/layout.taro.d.ts +0 -4
- package/dist/types/menu/menu.taro.d.ts +0 -12
- package/dist/types/menuitem/menuitem.taro.d.ts +0 -23
- package/dist/types/navbar/navbar.taro.d.ts +0 -21
- package/dist/types/noticebar/noticebar.taro.d.ts +0 -23
- package/dist/types/notify/notify.taro.d.ts +0 -23
- package/dist/types/numberkeyboard/numberkeyboard.taro.d.ts +0 -20
- package/dist/types/nutui.react.d.ts +0 -174
- package/dist/types/overlay/overlay.taro.d.ts +0 -12
- package/dist/types/pagination/pagination.taro.d.ts +0 -19
- package/dist/types/picker/picker.taro.d.ts +0 -24
- package/dist/types/picker/pickerSlot.taro.d.ts +0 -16
- package/dist/types/popover/popover.taro.d.ts +0 -21
- package/dist/types/popup/popup.taro.d.ts +0 -25
- package/dist/types/price/price.taro.d.ts +0 -11
- package/dist/types/progress/progress.taro.d.ts +0 -26
- package/dist/types/pulltorefresh/pulltorefresh.taro.d.ts +0 -18
- package/dist/types/radio/radio.taro.d.ts +0 -21
- package/dist/types/radiogroup/radiogroup.taro.d.ts +0 -11
- package/dist/types/range/range.taro.d.ts +0 -25
- package/dist/types/rate/rate.taro.d.ts +0 -17
- package/dist/types/row/row.taro.d.ts +0 -12
- package/dist/types/searchbar/searchbar.taro.d.ts +0 -60
- package/dist/types/shortpassword/shortpassword.taro.d.ts +0 -21
- package/dist/types/sidenavbar/sidenavbar.taro.d.ts +0 -15
- package/dist/types/sidenavbaritem/sidenavbaritem.taro.d.ts +0 -11
- package/dist/types/signature/signature.taro.d.ts +0 -11
- package/dist/types/skeleton/skeleton.taro.d.ts +0 -19
- package/dist/types/step/index.taro.d.ts +0 -2
- package/dist/types/steps/steps.taro.d.ts +0 -10
- package/dist/types/subsidenavbar/subsidenavbar.taro.d.ts +0 -13
- package/dist/types/swipe/swipe.taro.d.ts +0 -41
- package/dist/types/swiper/swiper.taro.d.ts +0 -27
- package/dist/types/switch/switch.taro.d.ts +0 -14
- package/dist/types/tabbar/tabbar.taro.d.ts +0 -14
- package/dist/types/tabbaritem/tabbaritem.taro.d.ts +0 -17
- package/dist/types/table/table.taro.d.ts +0 -4
- package/dist/types/tabpane/tabpane.taro.d.ts +0 -10
- package/dist/types/tabs/tabs.taro.d.ts +0 -30
- package/dist/types/tag/tag.taro.d.ts +0 -16
- package/dist/types/textarea/textarea.taro.d.ts +0 -18
- package/dist/types/timedetail/timedetail.taro.d.ts +0 -13
- package/dist/types/timepannel/timepannel.taro.d.ts +0 -8
- package/dist/types/timeselect/timeselect.taro.d.ts +0 -21
- package/dist/types/toast/toast.taro.d.ts +0 -29
- package/dist/types/uploader/uploader.taro.d.ts +0 -68
- package/dist/types/virtuallist/virtuallist.taro.d.ts +0 -4
|
@@ -0,0 +1,1886 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { CSSProperties, ReactNode, FunctionComponent, ReactHTML, ReactElement, MouseEvent as MouseEvent$1, ChangeEvent, FocusEvent, HTMLInputTypeAttribute, MouseEventHandler, RefObject, ForwardRefExoticComponent, PropsWithChildren, Component, ReactEventHandler } from 'react';
|
|
3
|
+
|
|
4
|
+
interface IComponent {
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
iconFontClassName?: string;
|
|
8
|
+
iconClassPrefix?: string;
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface ButtonProps extends IComponent {
|
|
13
|
+
className: string;
|
|
14
|
+
color: string;
|
|
15
|
+
shape: ButtonShape;
|
|
16
|
+
plain: boolean;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
style: React__default.CSSProperties;
|
|
20
|
+
type: ButtonType;
|
|
21
|
+
size: ButtonSize;
|
|
22
|
+
block: boolean;
|
|
23
|
+
icon: string;
|
|
24
|
+
children: any;
|
|
25
|
+
onClick: (e: MouseEvent) => void;
|
|
26
|
+
}
|
|
27
|
+
declare type ButtonType = 'default' | 'primary' | 'info' | 'success' | 'warning' | 'danger';
|
|
28
|
+
declare type ButtonSize = 'large' | 'normal' | 'small';
|
|
29
|
+
declare type ButtonShape = 'square' | 'round';
|
|
30
|
+
declare const Button: FunctionComponent<Partial<ButtonProps>>;
|
|
31
|
+
|
|
32
|
+
interface CellProps extends IComponent {
|
|
33
|
+
title: ReactNode;
|
|
34
|
+
subTitle: ReactNode;
|
|
35
|
+
desc: string;
|
|
36
|
+
descTextAlign: string;
|
|
37
|
+
isLink: boolean;
|
|
38
|
+
icon: string;
|
|
39
|
+
roundRadius: string | number;
|
|
40
|
+
url: string;
|
|
41
|
+
to: string;
|
|
42
|
+
replace: boolean;
|
|
43
|
+
center: boolean;
|
|
44
|
+
size: string;
|
|
45
|
+
className: string;
|
|
46
|
+
iconSlot: ReactNode;
|
|
47
|
+
linkSlot: ReactNode;
|
|
48
|
+
click: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
49
|
+
}
|
|
50
|
+
declare const Cell: FunctionComponent<Partial<CellProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'title'>>;
|
|
51
|
+
|
|
52
|
+
interface CellGroupProps {
|
|
53
|
+
title: ReactNode;
|
|
54
|
+
desc: ReactNode;
|
|
55
|
+
titleSlot: ReactNode;
|
|
56
|
+
descSlot: ReactNode;
|
|
57
|
+
classPrefix: string;
|
|
58
|
+
children?: ReactNode;
|
|
59
|
+
}
|
|
60
|
+
declare const CellGroup: FunctionComponent<Partial<CellGroupProps>>;
|
|
61
|
+
|
|
62
|
+
interface IconProps {
|
|
63
|
+
name: string;
|
|
64
|
+
size: string | number;
|
|
65
|
+
classPrefix: string;
|
|
66
|
+
color: string;
|
|
67
|
+
tag: keyof ReactHTML;
|
|
68
|
+
onClick: (e: MouseEvent) => void;
|
|
69
|
+
fontClassName: string;
|
|
70
|
+
className: string;
|
|
71
|
+
style: React__default.CSSProperties;
|
|
72
|
+
children: React__default.ReactNode;
|
|
73
|
+
}
|
|
74
|
+
declare function Icon<T>(props: Partial<IconProps> & T): ReactElement;
|
|
75
|
+
declare namespace Icon {
|
|
76
|
+
var defaultProps: IconProps;
|
|
77
|
+
var displayName: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
interface OverlayProps {
|
|
81
|
+
zIndex: number;
|
|
82
|
+
duration: number;
|
|
83
|
+
overlayClass: string;
|
|
84
|
+
overlayStyle: React__default.CSSProperties;
|
|
85
|
+
closeOnClickOverlay: boolean;
|
|
86
|
+
visible: boolean;
|
|
87
|
+
lockScroll: boolean;
|
|
88
|
+
}
|
|
89
|
+
declare const Overlay: FunctionComponent<Partial<OverlayProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
90
|
+
|
|
91
|
+
declare type Teleport = HTMLElement | (() => HTMLElement) | null;
|
|
92
|
+
interface PopupProps extends OverlayProps, IComponent {
|
|
93
|
+
position: string;
|
|
94
|
+
transition: string;
|
|
95
|
+
style: React__default.CSSProperties;
|
|
96
|
+
popClass: string;
|
|
97
|
+
closeable: boolean;
|
|
98
|
+
closeIconPosition: string;
|
|
99
|
+
closeIcon: string;
|
|
100
|
+
destroyOnClose: boolean;
|
|
101
|
+
teleport: Teleport;
|
|
102
|
+
overlay: boolean;
|
|
103
|
+
round: boolean;
|
|
104
|
+
onOpen: () => void;
|
|
105
|
+
onClose: () => void;
|
|
106
|
+
onClick: (e: MouseEvent$1) => void;
|
|
107
|
+
onOpened: (e: HTMLElement) => void;
|
|
108
|
+
onClosed: (e: HTMLElement) => void;
|
|
109
|
+
onClickOverlay: (e: MouseEvent$1) => void;
|
|
110
|
+
onClickCloseIcon: (e: MouseEvent$1) => void;
|
|
111
|
+
}
|
|
112
|
+
declare const Popup: FunctionComponent<Partial<PopupProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
113
|
+
|
|
114
|
+
interface BaseLang {
|
|
115
|
+
save: string;
|
|
116
|
+
confirm: string;
|
|
117
|
+
cancel: string;
|
|
118
|
+
done: string;
|
|
119
|
+
noData: string;
|
|
120
|
+
placeholder: string;
|
|
121
|
+
select: string;
|
|
122
|
+
video: {
|
|
123
|
+
errorTip: string;
|
|
124
|
+
clickRetry: string;
|
|
125
|
+
};
|
|
126
|
+
fixednav: {
|
|
127
|
+
activeText: string;
|
|
128
|
+
unActiveText: string;
|
|
129
|
+
};
|
|
130
|
+
infiniteloading: {
|
|
131
|
+
pullRefreshText: string;
|
|
132
|
+
loadText: string;
|
|
133
|
+
loadMoreText: string;
|
|
134
|
+
};
|
|
135
|
+
pagination: {
|
|
136
|
+
prev: string;
|
|
137
|
+
next: string;
|
|
138
|
+
};
|
|
139
|
+
range: {
|
|
140
|
+
rangeText: string;
|
|
141
|
+
};
|
|
142
|
+
calendaritem: {
|
|
143
|
+
weekdays: Array<string>;
|
|
144
|
+
end: string;
|
|
145
|
+
start: string;
|
|
146
|
+
title: string;
|
|
147
|
+
monthTitle: Function;
|
|
148
|
+
today: string;
|
|
149
|
+
loadPreviousMonth: string;
|
|
150
|
+
noEarlierMonth: string;
|
|
151
|
+
};
|
|
152
|
+
shortpassword: {
|
|
153
|
+
title: string;
|
|
154
|
+
desc: string;
|
|
155
|
+
tips: string;
|
|
156
|
+
};
|
|
157
|
+
uploader: {
|
|
158
|
+
ready: string;
|
|
159
|
+
readyUpload: string;
|
|
160
|
+
waitingUpload: string;
|
|
161
|
+
uploading: string;
|
|
162
|
+
success: string;
|
|
163
|
+
error: string;
|
|
164
|
+
deleteWord: string;
|
|
165
|
+
};
|
|
166
|
+
countdown: {
|
|
167
|
+
day: string;
|
|
168
|
+
hour: string;
|
|
169
|
+
minute: string;
|
|
170
|
+
second: string;
|
|
171
|
+
};
|
|
172
|
+
address: {
|
|
173
|
+
selectRegion: string;
|
|
174
|
+
deliveryTo: string;
|
|
175
|
+
chooseAnotherAddress: string;
|
|
176
|
+
};
|
|
177
|
+
signature: {
|
|
178
|
+
reSign: string;
|
|
179
|
+
unSupportTpl: string;
|
|
180
|
+
};
|
|
181
|
+
ecard: {
|
|
182
|
+
chooseText: string;
|
|
183
|
+
otherValueText: string;
|
|
184
|
+
placeholder: string;
|
|
185
|
+
};
|
|
186
|
+
timeselect: {
|
|
187
|
+
pickupTime: string;
|
|
188
|
+
};
|
|
189
|
+
sku: {
|
|
190
|
+
buyNow: string;
|
|
191
|
+
buyNumber: string;
|
|
192
|
+
addToCard: string;
|
|
193
|
+
};
|
|
194
|
+
skuheader: {
|
|
195
|
+
skuId: string;
|
|
196
|
+
};
|
|
197
|
+
addresslist: {
|
|
198
|
+
addAddress: string;
|
|
199
|
+
};
|
|
200
|
+
comment: {
|
|
201
|
+
complaintsText: string;
|
|
202
|
+
additionalReview: Function;
|
|
203
|
+
additionalImages: Function;
|
|
204
|
+
};
|
|
205
|
+
searchbar: {
|
|
206
|
+
basePlaceholder: string;
|
|
207
|
+
text: string;
|
|
208
|
+
test: string;
|
|
209
|
+
title1: string;
|
|
210
|
+
title2: string;
|
|
211
|
+
title3: string;
|
|
212
|
+
title4: string;
|
|
213
|
+
title5: string;
|
|
214
|
+
title6: string;
|
|
215
|
+
};
|
|
216
|
+
audio: {
|
|
217
|
+
back: string;
|
|
218
|
+
forward: string;
|
|
219
|
+
pause: string;
|
|
220
|
+
start: string;
|
|
221
|
+
mute: string;
|
|
222
|
+
tips: string;
|
|
223
|
+
};
|
|
224
|
+
datepicker: {
|
|
225
|
+
year: string;
|
|
226
|
+
month: string;
|
|
227
|
+
day: string;
|
|
228
|
+
hour: string;
|
|
229
|
+
min: string;
|
|
230
|
+
seconds: string;
|
|
231
|
+
};
|
|
232
|
+
pullToRefresh: {
|
|
233
|
+
pullingText: string;
|
|
234
|
+
canReleaseText: string;
|
|
235
|
+
refreshingText: string;
|
|
236
|
+
completeText: string;
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
interface ConfigProviderProps {
|
|
241
|
+
locale: BaseLang;
|
|
242
|
+
}
|
|
243
|
+
declare const ConfigProvider: FunctionComponent<Partial<ConfigProviderProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
244
|
+
|
|
245
|
+
interface LayoutProps {
|
|
246
|
+
}
|
|
247
|
+
declare const Layout: FunctionComponent<Partial<LayoutProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
248
|
+
|
|
249
|
+
declare type EventType$1 = 'row' | 'col';
|
|
250
|
+
interface ColProps {
|
|
251
|
+
span: string | number;
|
|
252
|
+
offset: string | number;
|
|
253
|
+
gutter: string | number;
|
|
254
|
+
onClick: (e: any, type: EventType$1) => void;
|
|
255
|
+
}
|
|
256
|
+
declare const Col: FunctionComponent<Partial<ColProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
257
|
+
|
|
258
|
+
declare type EventType = 'row' | 'col';
|
|
259
|
+
interface RowProps {
|
|
260
|
+
type: string;
|
|
261
|
+
justify: string;
|
|
262
|
+
align: string;
|
|
263
|
+
wrap: string;
|
|
264
|
+
gutter: string | number;
|
|
265
|
+
onClick: (e: any, type: EventType) => void;
|
|
266
|
+
}
|
|
267
|
+
declare const Row: FunctionComponent<Partial<RowProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
268
|
+
|
|
269
|
+
declare type ContentPositionType = 'left' | 'center' | 'right';
|
|
270
|
+
declare type DirectionType = 'horizontal' | 'vertical';
|
|
271
|
+
interface DividerProps {
|
|
272
|
+
contentPosition: ContentPositionType;
|
|
273
|
+
dashed: boolean;
|
|
274
|
+
hairline: boolean;
|
|
275
|
+
styles?: React__default.CSSProperties;
|
|
276
|
+
className?: string;
|
|
277
|
+
direction?: DirectionType;
|
|
278
|
+
}
|
|
279
|
+
declare const Divider: FunctionComponent<Partial<DividerProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
280
|
+
|
|
281
|
+
declare type GridDirection$1 = 'horizontal' | 'vertical';
|
|
282
|
+
interface GridProps {
|
|
283
|
+
columnNum: string | number;
|
|
284
|
+
border: boolean;
|
|
285
|
+
gutter: string | number;
|
|
286
|
+
center: boolean;
|
|
287
|
+
square: boolean;
|
|
288
|
+
reverse: boolean;
|
|
289
|
+
direction: GridDirection$1;
|
|
290
|
+
className?: string;
|
|
291
|
+
iconSize?: string | number;
|
|
292
|
+
iconColor?: string;
|
|
293
|
+
style?: CSSProperties;
|
|
294
|
+
}
|
|
295
|
+
declare const Grid: FunctionComponent<Partial<GridProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
296
|
+
|
|
297
|
+
declare type GridDirection = 'horizontal' | 'vertical';
|
|
298
|
+
|
|
299
|
+
interface GridItemProps extends IComponent {
|
|
300
|
+
text: string | ReactNode;
|
|
301
|
+
icon: string | ReactNode;
|
|
302
|
+
iconSize?: string | number;
|
|
303
|
+
iconColor?: string;
|
|
304
|
+
parentIconSize?: string | number;
|
|
305
|
+
parentIconColor?: string;
|
|
306
|
+
index: number;
|
|
307
|
+
columnNum: string | number;
|
|
308
|
+
border: boolean;
|
|
309
|
+
gutter: string | number;
|
|
310
|
+
center: boolean;
|
|
311
|
+
square: boolean;
|
|
312
|
+
reverse: boolean;
|
|
313
|
+
direction: GridDirection;
|
|
314
|
+
}
|
|
315
|
+
declare const GridItem: FunctionComponent<Partial<GridItemProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
316
|
+
|
|
317
|
+
interface NavBarProps$1 extends IComponent {
|
|
318
|
+
leftShow: boolean;
|
|
319
|
+
title: string;
|
|
320
|
+
titIcon: string;
|
|
321
|
+
leftText: string;
|
|
322
|
+
desc: string;
|
|
323
|
+
className: string;
|
|
324
|
+
fixed: boolean;
|
|
325
|
+
safeAreaInsetTop: boolean;
|
|
326
|
+
border: boolean;
|
|
327
|
+
placeholder: boolean;
|
|
328
|
+
zIndex: number | string;
|
|
329
|
+
style: React__default.CSSProperties;
|
|
330
|
+
onClickTitle: (e: React__default.MouseEvent<HTMLDivElement>) => void;
|
|
331
|
+
onClickIcon: (e: React__default.MouseEvent<HTMLDivElement>) => void;
|
|
332
|
+
onClickBack: (e: React__default.MouseEvent<HTMLElement>) => void;
|
|
333
|
+
onClickRight: (e: React__default.MouseEvent<HTMLDivElement>) => void;
|
|
334
|
+
children?: React__default.ReactNode;
|
|
335
|
+
}
|
|
336
|
+
declare const NavBar: FunctionComponent<Partial<NavBarProps$1>>;
|
|
337
|
+
|
|
338
|
+
declare type Direction$1 = 'right' | 'left';
|
|
339
|
+
declare type Position$2 = {
|
|
340
|
+
top?: string;
|
|
341
|
+
bottom?: string;
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
interface FixedNavProps extends IComponent {
|
|
345
|
+
fixednavClass: string;
|
|
346
|
+
visible: boolean;
|
|
347
|
+
overlay: boolean;
|
|
348
|
+
navList: Array<any>;
|
|
349
|
+
activeText: string;
|
|
350
|
+
unActiveText: string;
|
|
351
|
+
position: Position$2;
|
|
352
|
+
type: Direction$1;
|
|
353
|
+
onChange: (v: any) => void;
|
|
354
|
+
onSelected: (v: any, event: MouseEvent$1) => void;
|
|
355
|
+
slotList: React__default.ReactNode;
|
|
356
|
+
slotBtn: React__default.ReactNode;
|
|
357
|
+
}
|
|
358
|
+
declare const FixedNav: FunctionComponent<Partial<FixedNavProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
359
|
+
|
|
360
|
+
interface TabbarProps {
|
|
361
|
+
visible: number | string;
|
|
362
|
+
bottom: boolean;
|
|
363
|
+
size: string | number;
|
|
364
|
+
unactiveColor: string;
|
|
365
|
+
activeColor: string;
|
|
366
|
+
safeAreaInsetBottom: boolean;
|
|
367
|
+
className: string;
|
|
368
|
+
style: React__default.CSSProperties;
|
|
369
|
+
tabSwitch: (child: React__default.ReactElement<any>, active: number) => void;
|
|
370
|
+
children?: React__default.ReactNode;
|
|
371
|
+
}
|
|
372
|
+
declare const Tabbar: FunctionComponent<Partial<TabbarProps>>;
|
|
373
|
+
|
|
374
|
+
interface TabbarItemProps extends IComponent {
|
|
375
|
+
dot: boolean;
|
|
376
|
+
size: string | number;
|
|
377
|
+
classPrefix: string;
|
|
378
|
+
tabTitle: string;
|
|
379
|
+
icon: string;
|
|
380
|
+
href: string;
|
|
381
|
+
to: any;
|
|
382
|
+
num: string | number;
|
|
383
|
+
active: boolean;
|
|
384
|
+
activeColor: string;
|
|
385
|
+
unactiveColor: string;
|
|
386
|
+
index: number;
|
|
387
|
+
handleClick: (idx: number) => void;
|
|
388
|
+
}
|
|
389
|
+
declare const TabbarItem: FunctionComponent<Partial<TabbarItemProps>>;
|
|
390
|
+
|
|
391
|
+
interface ElevatorProps {
|
|
392
|
+
height: number | string;
|
|
393
|
+
acceptKey: string;
|
|
394
|
+
indexList: any[];
|
|
395
|
+
isSticky: boolean;
|
|
396
|
+
spaceHeight: number;
|
|
397
|
+
titleHeight: number;
|
|
398
|
+
className: string;
|
|
399
|
+
style: React__default.CSSProperties;
|
|
400
|
+
children: React__default.ReactNode;
|
|
401
|
+
onClickItem: (key: string, item: ElevatorData) => void;
|
|
402
|
+
onClickIndex: (key: string) => void;
|
|
403
|
+
}
|
|
404
|
+
interface ElevatorData {
|
|
405
|
+
name: string;
|
|
406
|
+
id: number | string;
|
|
407
|
+
[key: string]: string | number;
|
|
408
|
+
}
|
|
409
|
+
declare const Elevator: FunctionComponent<Partial<ElevatorProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
410
|
+
|
|
411
|
+
interface PaginationProps {
|
|
412
|
+
defaultValue: number;
|
|
413
|
+
modelValue: number;
|
|
414
|
+
mode: 'multi' | 'simple';
|
|
415
|
+
prevText?: React__default.ReactNode;
|
|
416
|
+
nextText?: React__default.ReactNode;
|
|
417
|
+
pageCount: string | number;
|
|
418
|
+
totalItems: string | number;
|
|
419
|
+
itemsPerPage: string | number;
|
|
420
|
+
showPageSize: string | number;
|
|
421
|
+
forceEllipses: boolean;
|
|
422
|
+
pageNodeRender: (page: any) => React__default.ReactNode;
|
|
423
|
+
onChange: (currPage: number) => void;
|
|
424
|
+
updatecurrent: (currPage: number) => void;
|
|
425
|
+
style?: React__default.CSSProperties;
|
|
426
|
+
className?: string;
|
|
427
|
+
}
|
|
428
|
+
declare const Pagination: FunctionComponent<Partial<PaginationProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
429
|
+
|
|
430
|
+
declare class Title {
|
|
431
|
+
title: string;
|
|
432
|
+
paneKey: string;
|
|
433
|
+
disabled: boolean;
|
|
434
|
+
index: number;
|
|
435
|
+
constructor();
|
|
436
|
+
}
|
|
437
|
+
declare type TabsSize = 'large' | 'normal' | 'small';
|
|
438
|
+
|
|
439
|
+
interface TabsProps extends IComponent {
|
|
440
|
+
className: string;
|
|
441
|
+
style: React__default.CSSProperties;
|
|
442
|
+
value: string | number;
|
|
443
|
+
color: string;
|
|
444
|
+
background: string;
|
|
445
|
+
direction: string;
|
|
446
|
+
type: string;
|
|
447
|
+
titleScroll: boolean;
|
|
448
|
+
ellipsis: boolean;
|
|
449
|
+
animatedTime: number | string;
|
|
450
|
+
titleGutter: number | string;
|
|
451
|
+
size: TabsSize;
|
|
452
|
+
titleNode: () => JSX.Element[];
|
|
453
|
+
onChange: (t: Title) => void;
|
|
454
|
+
onClick: (t: Title) => void;
|
|
455
|
+
autoHeight: boolean;
|
|
456
|
+
children?: React__default.ReactNode;
|
|
457
|
+
}
|
|
458
|
+
declare const Tabs: FunctionComponent<Partial<TabsProps>>;
|
|
459
|
+
|
|
460
|
+
interface TabPaneProps {
|
|
461
|
+
title: string | number;
|
|
462
|
+
paneKey: string | number;
|
|
463
|
+
activeKey: string | number;
|
|
464
|
+
disabled: boolean;
|
|
465
|
+
autoHeightClassName: string;
|
|
466
|
+
children?: React__default.ReactNode;
|
|
467
|
+
}
|
|
468
|
+
declare const TabPane: FunctionComponent<Partial<TabPaneProps>>;
|
|
469
|
+
|
|
470
|
+
interface IndicatorProps {
|
|
471
|
+
size: number;
|
|
472
|
+
current: number;
|
|
473
|
+
block: boolean;
|
|
474
|
+
align: 'left' | 'right' | 'center';
|
|
475
|
+
fillZero: boolean;
|
|
476
|
+
vertical: boolean;
|
|
477
|
+
}
|
|
478
|
+
declare const Indicator: FunctionComponent<Partial<IndicatorProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
479
|
+
|
|
480
|
+
declare type NavBarProps = {
|
|
481
|
+
showhead?: boolean;
|
|
482
|
+
};
|
|
483
|
+
interface SideNavBarProps extends React__default.HTMLAttributes<HTMLDivElement>, NavBarProps {
|
|
484
|
+
title: string;
|
|
485
|
+
visible: boolean;
|
|
486
|
+
width?: string;
|
|
487
|
+
offset?: number;
|
|
488
|
+
position?: 'left' | 'right';
|
|
489
|
+
handleClose: () => void;
|
|
490
|
+
children?: React__default.ReactNode;
|
|
491
|
+
}
|
|
492
|
+
declare const SideNavBar: FunctionComponent<SideNavBarProps>;
|
|
493
|
+
|
|
494
|
+
declare type SubSideNavBarProps = {
|
|
495
|
+
title: string;
|
|
496
|
+
ikey: string | number;
|
|
497
|
+
open?: boolean;
|
|
498
|
+
children?: React__default.ReactNode;
|
|
499
|
+
titleClick?: ({ title, ikey, isShow, }: {
|
|
500
|
+
title: string;
|
|
501
|
+
ikey: string | number;
|
|
502
|
+
isShow: boolean;
|
|
503
|
+
}) => void;
|
|
504
|
+
};
|
|
505
|
+
declare const SubSideNavBar: FunctionComponent<SubSideNavBarProps>;
|
|
506
|
+
|
|
507
|
+
declare type SideNavBarItemProps = {
|
|
508
|
+
title: string;
|
|
509
|
+
ikey: string | number;
|
|
510
|
+
click?: ({ title, ikey }: {
|
|
511
|
+
title: string;
|
|
512
|
+
ikey: string | number;
|
|
513
|
+
}) => void;
|
|
514
|
+
children?: React__default.ReactNode;
|
|
515
|
+
};
|
|
516
|
+
declare const SideNavBarItem: FunctionComponent<SideNavBarItemProps>;
|
|
517
|
+
|
|
518
|
+
interface MenuProps extends IComponent {
|
|
519
|
+
className: string;
|
|
520
|
+
style: React__default.CSSProperties;
|
|
521
|
+
activeColor: string;
|
|
522
|
+
closeOnClickOverlay: boolean;
|
|
523
|
+
scrollFixed: boolean | string | number;
|
|
524
|
+
lockScroll: boolean;
|
|
525
|
+
titleIcon: string;
|
|
526
|
+
children: React__default.ReactNode;
|
|
527
|
+
}
|
|
528
|
+
declare const Menu: FunctionComponent<Partial<MenuProps>>;
|
|
529
|
+
|
|
530
|
+
interface OptionItem {
|
|
531
|
+
text: string;
|
|
532
|
+
value: string | number;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
interface MenuItemProps extends IComponent {
|
|
536
|
+
className: string;
|
|
537
|
+
style: React__default.CSSProperties;
|
|
538
|
+
title: React__default.ReactNode;
|
|
539
|
+
options: OptionItem[];
|
|
540
|
+
disabled: boolean;
|
|
541
|
+
columns: number;
|
|
542
|
+
optionsIcon: string;
|
|
543
|
+
direction: string;
|
|
544
|
+
activeTitleClass: string;
|
|
545
|
+
inactiveTitleClass: string;
|
|
546
|
+
fontClassName: string;
|
|
547
|
+
iconClassPrefix: string;
|
|
548
|
+
value: string | number;
|
|
549
|
+
onChange: (event: any) => void;
|
|
550
|
+
children: React__default.ReactNode;
|
|
551
|
+
}
|
|
552
|
+
declare const MenuItem: FunctionComponent<Partial<MenuItemProps>>;
|
|
553
|
+
|
|
554
|
+
declare type SliderValue = number | number[];
|
|
555
|
+
interface RangeProps {
|
|
556
|
+
className: string;
|
|
557
|
+
style: CSSProperties;
|
|
558
|
+
range: boolean;
|
|
559
|
+
disabled: boolean;
|
|
560
|
+
activeColor: string;
|
|
561
|
+
inactiveColor: string;
|
|
562
|
+
buttonColor: string;
|
|
563
|
+
hiddenRange: boolean;
|
|
564
|
+
hiddenTag: boolean;
|
|
565
|
+
min: number | string;
|
|
566
|
+
max: number | string;
|
|
567
|
+
step: number | string;
|
|
568
|
+
modelValue: SliderValue;
|
|
569
|
+
button: React__default.ReactNode;
|
|
570
|
+
vertical: boolean;
|
|
571
|
+
marks: Record<string, unknown>;
|
|
572
|
+
change?: (value: number) => void;
|
|
573
|
+
dragStart?: () => void;
|
|
574
|
+
dragEnd?: () => void;
|
|
575
|
+
}
|
|
576
|
+
declare const Range: FunctionComponent<Partial<RangeProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
577
|
+
|
|
578
|
+
declare type CalendarRef$1 = {
|
|
579
|
+
scrollToDate: (date: string) => void;
|
|
580
|
+
};
|
|
581
|
+
interface Day$1 {
|
|
582
|
+
day: string | number;
|
|
583
|
+
type: string;
|
|
584
|
+
}
|
|
585
|
+
interface CalendarProps {
|
|
586
|
+
type?: string;
|
|
587
|
+
isAutoBackFill?: boolean;
|
|
588
|
+
poppable?: boolean;
|
|
589
|
+
visible?: boolean;
|
|
590
|
+
title?: string;
|
|
591
|
+
defaultValue?: string | string[];
|
|
592
|
+
startDate?: string;
|
|
593
|
+
endDate?: string;
|
|
594
|
+
showToday?: boolean;
|
|
595
|
+
startText?: string;
|
|
596
|
+
endText?: string;
|
|
597
|
+
confirmText?: string;
|
|
598
|
+
showTitle?: boolean;
|
|
599
|
+
showSubTitle?: boolean;
|
|
600
|
+
toDateAnimation?: boolean;
|
|
601
|
+
onBtn?: (() => string | JSX.Element) | undefined;
|
|
602
|
+
onDay?: ((date: Day$1) => string | JSX.Element) | undefined;
|
|
603
|
+
onTopInfo?: ((date: Day$1) => string | JSX.Element) | undefined;
|
|
604
|
+
onBottomInfo?: ((date: Day$1) => string | JSX.Element) | undefined;
|
|
605
|
+
onClose?: () => void;
|
|
606
|
+
onChoose?: (param: string) => void;
|
|
607
|
+
onSelected?: (data: string) => void;
|
|
608
|
+
}
|
|
609
|
+
declare const Calendar: React__default.ForwardRefExoticComponent<Partial<CalendarProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, ""> & React__default.RefAttributes<CalendarRef$1>>;
|
|
610
|
+
|
|
611
|
+
interface CheckboxGroupProps {
|
|
612
|
+
disabled: boolean;
|
|
613
|
+
checkedValue: string[];
|
|
614
|
+
max: number | undefined;
|
|
615
|
+
onChange: (value: string[]) => void;
|
|
616
|
+
}
|
|
617
|
+
declare const CheckboxGroup: React__default.ForwardRefExoticComponent<Partial<CheckboxGroupProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & React__default.RefAttributes<unknown>>;
|
|
618
|
+
|
|
619
|
+
interface CheckboxProps extends IComponent {
|
|
620
|
+
checked: boolean;
|
|
621
|
+
disabled: boolean;
|
|
622
|
+
textPosition: 'left' | 'right';
|
|
623
|
+
iconSize: string | number;
|
|
624
|
+
iconName: string;
|
|
625
|
+
iconActiveName: string;
|
|
626
|
+
iconIndeterminateName: string;
|
|
627
|
+
iconClassPrefix: string;
|
|
628
|
+
iconFontClassName: string;
|
|
629
|
+
indeterminate: boolean;
|
|
630
|
+
label: string;
|
|
631
|
+
onChange: (state: boolean, label: string) => void;
|
|
632
|
+
}
|
|
633
|
+
declare const Checkbox: FunctionComponent<Partial<CheckboxProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>> & {
|
|
634
|
+
Group: typeof CheckboxGroup;
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
interface PickerOption$1 {
|
|
638
|
+
text: string | number;
|
|
639
|
+
value: string | number;
|
|
640
|
+
disabled?: string;
|
|
641
|
+
children?: PickerOption$1[];
|
|
642
|
+
className?: string | number;
|
|
643
|
+
}
|
|
644
|
+
interface DatePickerProps {
|
|
645
|
+
modelValue: Date | null;
|
|
646
|
+
visible: boolean;
|
|
647
|
+
title: string;
|
|
648
|
+
type: 'date' | 'time' | 'year-month' | 'month-day' | 'datehour' | 'datetime';
|
|
649
|
+
isShowChinese: boolean;
|
|
650
|
+
minuteStep: number;
|
|
651
|
+
minDate: Date;
|
|
652
|
+
maxDate: Date;
|
|
653
|
+
threeDimensional: boolean;
|
|
654
|
+
className?: string;
|
|
655
|
+
style?: React__default.CSSProperties;
|
|
656
|
+
formatter: (type: string, option: PickerOption$1) => PickerOption$1;
|
|
657
|
+
filter: (type: string, option: PickerOption$1[]) => PickerOption$1[];
|
|
658
|
+
onCloseDatePicker: () => void;
|
|
659
|
+
onConfirmDatePicker: (values: (string | number)[], options: PickerOption$1[]) => void;
|
|
660
|
+
onChangeDatePicker: (columnIndex: string | number, values: (string | number)[], options: PickerOption$1[]) => void;
|
|
661
|
+
}
|
|
662
|
+
declare const DatePicker: FunctionComponent<Partial<DatePickerProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
663
|
+
|
|
664
|
+
interface InputNumberProps extends IComponent {
|
|
665
|
+
disabled: boolean;
|
|
666
|
+
buttonSize: string | number;
|
|
667
|
+
min: string | number;
|
|
668
|
+
max: string | number;
|
|
669
|
+
inputWidth: string | number;
|
|
670
|
+
readonly: boolean;
|
|
671
|
+
modelValue: string | number;
|
|
672
|
+
step: string | number;
|
|
673
|
+
decimalPlaces: string | number;
|
|
674
|
+
isAsync: boolean;
|
|
675
|
+
className: string;
|
|
676
|
+
style: React__default.CSSProperties;
|
|
677
|
+
add: (e: MouseEvent) => void;
|
|
678
|
+
reduce: (e: MouseEvent) => void;
|
|
679
|
+
overlimit: (e: MouseEvent) => void;
|
|
680
|
+
blur: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
681
|
+
focus: (e: FocusEvent<HTMLInputElement>) => void;
|
|
682
|
+
change: (param: string | number, e: MouseEvent | ChangeEvent<HTMLInputElement>) => void;
|
|
683
|
+
}
|
|
684
|
+
declare const InputNumber: FunctionComponent<Partial<InputNumberProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
685
|
+
|
|
686
|
+
declare type InputAlignType = 'left' | 'center' | 'right';
|
|
687
|
+
declare type InputFormatTrigger = 'onChange' | 'onBlur';
|
|
688
|
+
declare type InputType = HTMLInputTypeAttribute;
|
|
689
|
+
declare type InputRule = {
|
|
690
|
+
pattern?: RegExp;
|
|
691
|
+
message?: string;
|
|
692
|
+
required?: boolean;
|
|
693
|
+
};
|
|
694
|
+
interface InputProps extends IComponent {
|
|
695
|
+
type: InputType;
|
|
696
|
+
defaultValue: any;
|
|
697
|
+
placeholder: string;
|
|
698
|
+
label: string;
|
|
699
|
+
labelClass: string;
|
|
700
|
+
labelWidth: string | number;
|
|
701
|
+
labelAlign: InputAlignType;
|
|
702
|
+
colon: boolean;
|
|
703
|
+
inputAlign: InputAlignType;
|
|
704
|
+
center: boolean;
|
|
705
|
+
required: boolean;
|
|
706
|
+
disabled: boolean;
|
|
707
|
+
readonly: boolean;
|
|
708
|
+
error: boolean;
|
|
709
|
+
maxlength: any;
|
|
710
|
+
leftIcon: string;
|
|
711
|
+
leftIconSize: string | number;
|
|
712
|
+
rightIcon: string;
|
|
713
|
+
rightIconSize: string | number;
|
|
714
|
+
clearable: boolean;
|
|
715
|
+
clearIcon: string;
|
|
716
|
+
clearSize: string | number;
|
|
717
|
+
border: boolean;
|
|
718
|
+
formatTrigger: InputFormatTrigger;
|
|
719
|
+
rules: Array<InputRule>;
|
|
720
|
+
errorMessage: string;
|
|
721
|
+
errorMessageAlign: InputAlignType;
|
|
722
|
+
rows: string | number;
|
|
723
|
+
showWordLimit: boolean;
|
|
724
|
+
autofocus: boolean;
|
|
725
|
+
style?: CSSProperties;
|
|
726
|
+
className?: string;
|
|
727
|
+
slotButton?: React__default.ReactNode;
|
|
728
|
+
slotInput?: React__default.ReactNode;
|
|
729
|
+
formatter: (value: string) => void;
|
|
730
|
+
change?: (value: any, event: Event) => void;
|
|
731
|
+
blur?: (value: any, event: Event) => void;
|
|
732
|
+
focus?: (value: any, event: Event) => void;
|
|
733
|
+
clear?: (value: any, event: Event) => void;
|
|
734
|
+
keypress?: (value: any, event: Event) => void;
|
|
735
|
+
clickInput?: (value: any) => void;
|
|
736
|
+
clickLeftIcon?: (value: any) => void;
|
|
737
|
+
clickRightIcon?: (value: any) => void;
|
|
738
|
+
click?: (value: any) => void;
|
|
739
|
+
}
|
|
740
|
+
declare const Input: FunctionComponent<Partial<InputProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
741
|
+
|
|
742
|
+
declare type Position$1 = 'left' | 'right';
|
|
743
|
+
declare type Direction = 'horizontal' | 'vertical';
|
|
744
|
+
interface RadioGroupProps {
|
|
745
|
+
value: string | number | boolean | null;
|
|
746
|
+
textPosition: Position$1;
|
|
747
|
+
direction: Direction;
|
|
748
|
+
onChange: (value: string | number | boolean) => void;
|
|
749
|
+
}
|
|
750
|
+
declare const RadioGroup: React__default.ForwardRefExoticComponent<Partial<RadioGroupProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & React__default.RefAttributes<unknown>>;
|
|
751
|
+
|
|
752
|
+
declare type Shape = 'button' | 'round';
|
|
753
|
+
declare type Position = 'right' | 'left';
|
|
754
|
+
|
|
755
|
+
interface RadioProps extends IComponent {
|
|
756
|
+
className: string;
|
|
757
|
+
style: React__default.CSSProperties;
|
|
758
|
+
disabled: boolean;
|
|
759
|
+
checked: boolean;
|
|
760
|
+
shape: Shape;
|
|
761
|
+
textPosition: Position;
|
|
762
|
+
value: string | number | boolean;
|
|
763
|
+
iconName: string;
|
|
764
|
+
iconActiveName: string;
|
|
765
|
+
iconSize: string | number;
|
|
766
|
+
onChange: MouseEventHandler<HTMLDivElement>;
|
|
767
|
+
}
|
|
768
|
+
declare const Radio: FunctionComponent<Partial<RadioProps> & React__default.HTMLAttributes<HTMLDivElement>> & {
|
|
769
|
+
RadioGroup: typeof RadioGroup;
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
interface RateProps extends IComponent {
|
|
773
|
+
count: string | number;
|
|
774
|
+
modelValue: string | number;
|
|
775
|
+
minimizeValue: string | number;
|
|
776
|
+
iconSize: string | number;
|
|
777
|
+
activeColor: string;
|
|
778
|
+
voidColor: string;
|
|
779
|
+
checkedIcon: string;
|
|
780
|
+
uncheckedIcon: string;
|
|
781
|
+
disabled: boolean;
|
|
782
|
+
readonly: boolean;
|
|
783
|
+
allowHalf: boolean;
|
|
784
|
+
spacing: string | number;
|
|
785
|
+
onChange: (val: number) => void;
|
|
786
|
+
}
|
|
787
|
+
declare const Rate: FunctionComponent<Partial<RateProps>>;
|
|
788
|
+
|
|
789
|
+
declare type CalendarRef = {
|
|
790
|
+
scrollToDate: (date: string) => void;
|
|
791
|
+
};
|
|
792
|
+
declare type InputDate = string | string[];
|
|
793
|
+
interface Day {
|
|
794
|
+
day: string | number;
|
|
795
|
+
type: string;
|
|
796
|
+
}
|
|
797
|
+
interface CalendarItemProps {
|
|
798
|
+
type?: string;
|
|
799
|
+
isAutoBackFill?: boolean;
|
|
800
|
+
poppable?: boolean;
|
|
801
|
+
visible?: boolean;
|
|
802
|
+
title?: string;
|
|
803
|
+
defaultValue: InputDate;
|
|
804
|
+
startDate?: InputDate;
|
|
805
|
+
endDate?: InputDate;
|
|
806
|
+
showToday?: boolean;
|
|
807
|
+
startText?: string;
|
|
808
|
+
endText?: string;
|
|
809
|
+
confirmText?: string;
|
|
810
|
+
showTitle?: boolean;
|
|
811
|
+
showSubTitle?: boolean;
|
|
812
|
+
toDateAnimation?: boolean;
|
|
813
|
+
onBtn?: (() => string | JSX.Element) | undefined;
|
|
814
|
+
onDay?: ((date: Day) => string | JSX.Element) | undefined;
|
|
815
|
+
onTopInfo?: ((date: Day) => string | JSX.Element) | undefined;
|
|
816
|
+
onBottomInfo?: ((date: Day) => string | JSX.Element) | undefined;
|
|
817
|
+
onChoose?: (data: any) => void;
|
|
818
|
+
onUpdate?: () => void;
|
|
819
|
+
onSelected?: (data: string) => void;
|
|
820
|
+
}
|
|
821
|
+
declare const CalendarItem: React__default.ForwardRefExoticComponent<Partial<CalendarItemProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, ""> & React__default.RefAttributes<CalendarRef>>;
|
|
822
|
+
|
|
823
|
+
interface PickerOption {
|
|
824
|
+
text: string | number;
|
|
825
|
+
value: string | number;
|
|
826
|
+
disabled?: string;
|
|
827
|
+
children?: PickerOption[];
|
|
828
|
+
className?: string | number;
|
|
829
|
+
}
|
|
830
|
+
interface PickerProps {
|
|
831
|
+
isVisible: boolean;
|
|
832
|
+
title?: string;
|
|
833
|
+
listData: (PickerOption | PickerOption[])[];
|
|
834
|
+
defaultValueData?: (number | string)[];
|
|
835
|
+
className?: '';
|
|
836
|
+
style?: React__default.CSSProperties;
|
|
837
|
+
threeDimensional?: boolean;
|
|
838
|
+
swipeDuration: number | string;
|
|
839
|
+
onConfirm?: (selectedValue: (string | number)[], selectedOptions: PickerOption[]) => void;
|
|
840
|
+
onClose?: (selectedValue: (string | number)[], selectedOptions: PickerOption[]) => void;
|
|
841
|
+
onCloseUpdate?: (selectedValue: (string | number)[], list: PickerOption[], pickerRef: RefObject<HTMLDivElement>) => void;
|
|
842
|
+
onChange?: (index: number, value: (string | number)[], selectedOptions: PickerOption[]) => void;
|
|
843
|
+
}
|
|
844
|
+
declare const Picker: React__default.ForwardRefExoticComponent<Partial<PickerProps> & React__default.RefAttributes<unknown>>;
|
|
845
|
+
|
|
846
|
+
interface ShortPasswordProps extends IComponent {
|
|
847
|
+
title: string;
|
|
848
|
+
desc: string;
|
|
849
|
+
tips: string;
|
|
850
|
+
visible: boolean;
|
|
851
|
+
modelValue: string | number;
|
|
852
|
+
errorMsg: string;
|
|
853
|
+
noButton: boolean;
|
|
854
|
+
closeOnClickOverlay: boolean;
|
|
855
|
+
length: string | number;
|
|
856
|
+
className: string;
|
|
857
|
+
style?: CSSProperties;
|
|
858
|
+
onChange: (value: string | number) => void;
|
|
859
|
+
onOk: (value: string | number) => void;
|
|
860
|
+
onCancel: () => void;
|
|
861
|
+
onClose: () => void;
|
|
862
|
+
onTips: () => void;
|
|
863
|
+
onComplete: (value: string | number) => void;
|
|
864
|
+
}
|
|
865
|
+
declare const ShortPassword: FunctionComponent<Partial<ShortPasswordProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
866
|
+
|
|
867
|
+
interface TextAreaProps {
|
|
868
|
+
className?: string;
|
|
869
|
+
defaultValue: string | number | any;
|
|
870
|
+
textAlign?: string | any;
|
|
871
|
+
limitshow?: boolean;
|
|
872
|
+
maxlength?: any;
|
|
873
|
+
rows?: any;
|
|
874
|
+
placeholder?: string;
|
|
875
|
+
readonly?: boolean;
|
|
876
|
+
disabled?: boolean;
|
|
877
|
+
autosize?: boolean;
|
|
878
|
+
style?: CSSProperties;
|
|
879
|
+
onChange?: (value: any, event: Event) => void;
|
|
880
|
+
onBlur?: (event: Event) => void;
|
|
881
|
+
onFocus?: (event: Event) => void;
|
|
882
|
+
}
|
|
883
|
+
declare const TextArea: FunctionComponent<Partial<TextAreaProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur' | 'onFocus'>>;
|
|
884
|
+
|
|
885
|
+
declare class UploadOptions {
|
|
886
|
+
url: string;
|
|
887
|
+
name: string;
|
|
888
|
+
formData?: FormData;
|
|
889
|
+
method: string;
|
|
890
|
+
xhrState: string | number;
|
|
891
|
+
timeout: number;
|
|
892
|
+
headers: {};
|
|
893
|
+
withCredentials: boolean;
|
|
894
|
+
onStart?: Function;
|
|
895
|
+
taroFilePath?: string;
|
|
896
|
+
onProgress?: Function;
|
|
897
|
+
onSuccess?: Function;
|
|
898
|
+
onFailure?: Function;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
declare type FileType<T> = {
|
|
902
|
+
[key: string]: T;
|
|
903
|
+
};
|
|
904
|
+
declare type FileItemStatus = 'ready' | 'uploading' | 'success' | 'error' | 'removed';
|
|
905
|
+
|
|
906
|
+
interface UploaderProps extends IComponent {
|
|
907
|
+
url: string;
|
|
908
|
+
maximum: string | number;
|
|
909
|
+
maximize: number;
|
|
910
|
+
defaultFileList: FileType<string>[];
|
|
911
|
+
listType: string;
|
|
912
|
+
uploadIcon: string;
|
|
913
|
+
uploadIconSize: string | number;
|
|
914
|
+
name: string;
|
|
915
|
+
accept: string;
|
|
916
|
+
disabled: boolean;
|
|
917
|
+
autoUpload: boolean;
|
|
918
|
+
multiple: boolean;
|
|
919
|
+
timeout: number;
|
|
920
|
+
data: any;
|
|
921
|
+
method: string;
|
|
922
|
+
xhrState: number | string;
|
|
923
|
+
headers: any;
|
|
924
|
+
withCredentials: boolean;
|
|
925
|
+
clearInput: boolean;
|
|
926
|
+
isPreview: boolean;
|
|
927
|
+
isDeletable: boolean;
|
|
928
|
+
capture: boolean;
|
|
929
|
+
className: string;
|
|
930
|
+
defaultImg: string;
|
|
931
|
+
style: React__default.CSSProperties;
|
|
932
|
+
start?: (option: UploadOptions) => void;
|
|
933
|
+
removeImage?: (file: FileItem, fileList: FileItem[]) => void;
|
|
934
|
+
success?: (param: {
|
|
935
|
+
responseText: XMLHttpRequest['responseText'];
|
|
936
|
+
option: UploadOptions;
|
|
937
|
+
}) => void;
|
|
938
|
+
progress?: (param: {
|
|
939
|
+
e: ProgressEvent<XMLHttpRequestEventTarget>;
|
|
940
|
+
option: UploadOptions;
|
|
941
|
+
}) => void;
|
|
942
|
+
failure?: (param: {
|
|
943
|
+
responseText: XMLHttpRequest['responseText'];
|
|
944
|
+
option: UploadOptions;
|
|
945
|
+
}) => void;
|
|
946
|
+
update?: (fileList: any[]) => void;
|
|
947
|
+
oversize?: (file: File[]) => void;
|
|
948
|
+
change?: (param: {
|
|
949
|
+
fileList: any[];
|
|
950
|
+
event: React__default.ChangeEvent<HTMLInputElement>;
|
|
951
|
+
}) => void;
|
|
952
|
+
beforeUpload?: (file: File[]) => Promise<File[]>;
|
|
953
|
+
beforeDelete?: (file: FileItem, files: FileItem[]) => boolean;
|
|
954
|
+
fileItemClick?: (file: FileItem) => void;
|
|
955
|
+
}
|
|
956
|
+
declare class FileItem {
|
|
957
|
+
status: FileItemStatus;
|
|
958
|
+
message: string;
|
|
959
|
+
uid: string;
|
|
960
|
+
name?: string;
|
|
961
|
+
url?: string;
|
|
962
|
+
type?: string;
|
|
963
|
+
formData: FormData;
|
|
964
|
+
}
|
|
965
|
+
declare const Uploader: React__default.ForwardRefExoticComponent<Partial<UploaderProps> & {
|
|
966
|
+
children?: React__default.ReactNode;
|
|
967
|
+
} & React__default.RefAttributes<unknown>>;
|
|
968
|
+
|
|
969
|
+
interface CascaderOption {
|
|
970
|
+
text?: string;
|
|
971
|
+
value?: number | string;
|
|
972
|
+
paneKey?: string;
|
|
973
|
+
disabled?: boolean;
|
|
974
|
+
children?: CascaderOption[];
|
|
975
|
+
leaf?: boolean;
|
|
976
|
+
level?: number;
|
|
977
|
+
loading?: boolean;
|
|
978
|
+
root?: boolean;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
interface CascaderProps {
|
|
982
|
+
className: string;
|
|
983
|
+
style: CSSProperties;
|
|
984
|
+
visible: boolean;
|
|
985
|
+
options: CascaderOption[];
|
|
986
|
+
value: string[];
|
|
987
|
+
title: string;
|
|
988
|
+
textKey: string;
|
|
989
|
+
valueKey: string;
|
|
990
|
+
childrenKey: string;
|
|
991
|
+
convertConfig: Record<string, string | number | null>;
|
|
992
|
+
closeable: boolean;
|
|
993
|
+
closeIconPosition: string;
|
|
994
|
+
closeIcon: string;
|
|
995
|
+
lazy: boolean;
|
|
996
|
+
lazyLoad: (node: any, resolve: any) => void;
|
|
997
|
+
onClose?: () => void;
|
|
998
|
+
onChange: (value: any, params: any) => void;
|
|
999
|
+
onPathChange: (value: any, params: any) => void;
|
|
1000
|
+
}
|
|
1001
|
+
declare const Cascader: React__default.ForwardRefExoticComponent<Partial<CascaderProps> & {
|
|
1002
|
+
children?: React__default.ReactNode;
|
|
1003
|
+
} & React__default.RefAttributes<unknown>>;
|
|
1004
|
+
|
|
1005
|
+
interface SearchBarProps extends IComponent {
|
|
1006
|
+
/** 文本值 */
|
|
1007
|
+
value?: number | string;
|
|
1008
|
+
/** 输入框占位提示文字 */
|
|
1009
|
+
placeholder?: string;
|
|
1010
|
+
/** 搜索框形状,可选值为 round */
|
|
1011
|
+
shape?: 'square' | 'round';
|
|
1012
|
+
/** 自定义class名 */
|
|
1013
|
+
className?: string;
|
|
1014
|
+
/** 是否禁用输入框 */
|
|
1015
|
+
disabled?: boolean;
|
|
1016
|
+
/** 最大输入长度 */
|
|
1017
|
+
maxLength?: number;
|
|
1018
|
+
/** 是否启用清除图标,点击清除图标后会清空输入框 */
|
|
1019
|
+
clearable?: boolean;
|
|
1020
|
+
/** 搜索框外部背景色 */
|
|
1021
|
+
background?: string;
|
|
1022
|
+
/** 搜索框背景色 */
|
|
1023
|
+
inputBackground?: string;
|
|
1024
|
+
/** 输入框内容对齐方式 */
|
|
1025
|
+
align?: string;
|
|
1026
|
+
/** 是否将输入框设为只读状态,只读状态下无法输入内容 */
|
|
1027
|
+
readOnly?: boolean;
|
|
1028
|
+
/** 是否自动聚焦,iOS 系统不支持该属性 */
|
|
1029
|
+
autoFocus?: boolean;
|
|
1030
|
+
/** 搜索框左侧文本 */
|
|
1031
|
+
label?: React__default.ReactNode;
|
|
1032
|
+
/** 输入框内 左icon */
|
|
1033
|
+
leftinIcon?: React__default.ReactNode;
|
|
1034
|
+
/** 输入框内 右icon */
|
|
1035
|
+
rightinIcon?: React__default.ReactNode;
|
|
1036
|
+
/** 输入框外 左icon */
|
|
1037
|
+
leftoutIcon?: React__default.ReactNode;
|
|
1038
|
+
/** 输入框外 右icon */
|
|
1039
|
+
rightoutIcon?: React__default.ReactNode;
|
|
1040
|
+
/** 取消按钮文字 */
|
|
1041
|
+
actionText?: React__default.ReactNode;
|
|
1042
|
+
/** 确定搜索时触发 */
|
|
1043
|
+
onSearch?: (val: string) => void;
|
|
1044
|
+
/** 输入框内容变化时触发 */
|
|
1045
|
+
onChange?: (value: string, event: Event) => void;
|
|
1046
|
+
/** 输入框获得焦点时触发 */
|
|
1047
|
+
onFocus?: (value: string, event: Event) => void;
|
|
1048
|
+
/** 输入框失去焦点时触发 */
|
|
1049
|
+
onBlur?: (value: string, event: Event) => void;
|
|
1050
|
+
/** 点击清除按钮后触发 */
|
|
1051
|
+
onClear?: (event: Event) => void;
|
|
1052
|
+
/** 点击输入区域时触发 */
|
|
1053
|
+
onClickInput?: (event: Event) => void;
|
|
1054
|
+
/** 点击输入框内左侧图标时触发 */
|
|
1055
|
+
onClickLeftinIcon?: (value: string, event: Event) => void;
|
|
1056
|
+
/** 点击输入框外左侧图标时触发 */
|
|
1057
|
+
onClickLeftoutIcon?: (value: string, event: Event) => void;
|
|
1058
|
+
/** 点击输入框内右侧图标时触发 */
|
|
1059
|
+
onClickRightinIcon?: (value: string, event: Event) => void;
|
|
1060
|
+
/** 点击输入框外右侧图标时触发 */
|
|
1061
|
+
onClickRightoutIcon?: (value: string, event: Event) => void;
|
|
1062
|
+
}
|
|
1063
|
+
declare const SearchBar: FunctionComponent<Partial<SearchBarProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onFocus' | 'onBlur'>>;
|
|
1064
|
+
|
|
1065
|
+
interface NumberKeyboardProps {
|
|
1066
|
+
confirmText: string;
|
|
1067
|
+
title: string;
|
|
1068
|
+
visible: boolean;
|
|
1069
|
+
type: string;
|
|
1070
|
+
customKey: Array<string>;
|
|
1071
|
+
randomKeys: boolean;
|
|
1072
|
+
popClass: string;
|
|
1073
|
+
className: string;
|
|
1074
|
+
style?: CSSProperties;
|
|
1075
|
+
onChange?: (value: string) => void;
|
|
1076
|
+
onDelete?: () => void;
|
|
1077
|
+
onClose: () => void;
|
|
1078
|
+
}
|
|
1079
|
+
declare const NumberKeyboard: FunctionComponent<Partial<NumberKeyboardProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
1080
|
+
|
|
1081
|
+
declare type ItemType<T> = {
|
|
1082
|
+
[key: string]: T;
|
|
1083
|
+
};
|
|
1084
|
+
interface ActionSheetProps {
|
|
1085
|
+
cancelTxt: string;
|
|
1086
|
+
optionTag: string;
|
|
1087
|
+
optionSubTag: string;
|
|
1088
|
+
chooseTagValue: string;
|
|
1089
|
+
title: string;
|
|
1090
|
+
color: string;
|
|
1091
|
+
description: string;
|
|
1092
|
+
menuItems: ItemType<string | boolean>[];
|
|
1093
|
+
onCancel: () => void;
|
|
1094
|
+
onChoose: (item: any, index: number) => void;
|
|
1095
|
+
visible: boolean;
|
|
1096
|
+
className: string;
|
|
1097
|
+
style: React__default.CSSProperties;
|
|
1098
|
+
}
|
|
1099
|
+
declare const ActionSheet: FunctionComponent<Partial<ActionSheetProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1100
|
+
|
|
1101
|
+
interface BackTopProps extends IComponent {
|
|
1102
|
+
className?: string;
|
|
1103
|
+
bottom: number;
|
|
1104
|
+
right: number;
|
|
1105
|
+
elId: string;
|
|
1106
|
+
distance: number;
|
|
1107
|
+
zIndex: number;
|
|
1108
|
+
isAnimation: boolean;
|
|
1109
|
+
duration: number;
|
|
1110
|
+
children?: HTMLElement | any;
|
|
1111
|
+
style?: React__default.CSSProperties;
|
|
1112
|
+
onClick?: (event: MouseEvent) => void;
|
|
1113
|
+
}
|
|
1114
|
+
declare const BackTop: FunctionComponent<Partial<BackTopProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
1115
|
+
|
|
1116
|
+
interface DragProps {
|
|
1117
|
+
attract: boolean;
|
|
1118
|
+
direction: undefined | string;
|
|
1119
|
+
boundary: {
|
|
1120
|
+
top: number;
|
|
1121
|
+
left: number;
|
|
1122
|
+
right: number;
|
|
1123
|
+
bottom: number;
|
|
1124
|
+
};
|
|
1125
|
+
className: string;
|
|
1126
|
+
style: React__default.CSSProperties;
|
|
1127
|
+
}
|
|
1128
|
+
declare const Drag: FunctionComponent<Partial<DragProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1129
|
+
|
|
1130
|
+
declare type DialogConfigType = {
|
|
1131
|
+
prefixCls?: string;
|
|
1132
|
+
simple?: boolean;
|
|
1133
|
+
};
|
|
1134
|
+
interface IDialogProps {
|
|
1135
|
+
className?: string;
|
|
1136
|
+
style?: CSSProperties;
|
|
1137
|
+
visible?: boolean;
|
|
1138
|
+
title?: ReactNode;
|
|
1139
|
+
content?: ReactNode;
|
|
1140
|
+
footer?: ReactNode;
|
|
1141
|
+
okText?: ReactNode;
|
|
1142
|
+
cancelText?: ReactNode;
|
|
1143
|
+
mask?: boolean;
|
|
1144
|
+
noOkBtn?: boolean;
|
|
1145
|
+
noCancelBtn?: boolean;
|
|
1146
|
+
okBtnDisabled?: boolean;
|
|
1147
|
+
noFooter?: boolean;
|
|
1148
|
+
closeOnClickOverlay?: boolean;
|
|
1149
|
+
cancelAutoClose?: boolean;
|
|
1150
|
+
textAlign?: string;
|
|
1151
|
+
footerDirection?: string;
|
|
1152
|
+
lockScroll?: boolean;
|
|
1153
|
+
onClosed?: () => void;
|
|
1154
|
+
onOk?: (e?: MouseEvent) => Promise<() => void> | void;
|
|
1155
|
+
onCancel?: () => void;
|
|
1156
|
+
onClickSelf?: () => void;
|
|
1157
|
+
onConfirm?: (e?: MouseEvent) => Promise<() => void> | void;
|
|
1158
|
+
}
|
|
1159
|
+
declare type DialogReturnProps = {
|
|
1160
|
+
update: (newConfig: ConfirmProps) => void;
|
|
1161
|
+
close: () => void;
|
|
1162
|
+
};
|
|
1163
|
+
interface ConfirmProps extends IDialogProps {
|
|
1164
|
+
content?: ReactNode;
|
|
1165
|
+
icon?: ReactNode | null;
|
|
1166
|
+
isNotice?: boolean;
|
|
1167
|
+
noticeType?: string;
|
|
1168
|
+
}
|
|
1169
|
+
interface DialogComponent extends ForwardRefExoticComponent<PropsWithChildren<IDialogProps>> {
|
|
1170
|
+
confirm: (props: ConfirmProps) => DialogReturnProps;
|
|
1171
|
+
alert: (props: ConfirmProps) => DialogReturnProps;
|
|
1172
|
+
config: (config: DialogConfigType) => void;
|
|
1173
|
+
destroyAll: () => void;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
declare type DialogProps = IDialogProps;
|
|
1177
|
+
declare const Dialog: DialogComponent;
|
|
1178
|
+
|
|
1179
|
+
interface InfiniteloadingProps extends IComponent {
|
|
1180
|
+
hasMore: boolean;
|
|
1181
|
+
threshold: number;
|
|
1182
|
+
containerId: string;
|
|
1183
|
+
useWindow: boolean;
|
|
1184
|
+
useCapture: boolean;
|
|
1185
|
+
isOpenRefresh: boolean;
|
|
1186
|
+
pullIcon: string;
|
|
1187
|
+
pullTxt: string;
|
|
1188
|
+
loadIcon: string;
|
|
1189
|
+
loadTxt: string;
|
|
1190
|
+
loadMoreTxt: string;
|
|
1191
|
+
className: string;
|
|
1192
|
+
style: React__default.CSSProperties;
|
|
1193
|
+
refresh: (param: () => void) => void;
|
|
1194
|
+
loadMore: (param: () => void) => void;
|
|
1195
|
+
scrollChange: (param: number) => void;
|
|
1196
|
+
}
|
|
1197
|
+
declare const Infiniteloading: FunctionComponent<Partial<InfiniteloadingProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1198
|
+
|
|
1199
|
+
interface NotifyProps {
|
|
1200
|
+
id: string;
|
|
1201
|
+
color?: string;
|
|
1202
|
+
msg: string;
|
|
1203
|
+
duration: number;
|
|
1204
|
+
className?: string;
|
|
1205
|
+
background?: string;
|
|
1206
|
+
type: string;
|
|
1207
|
+
position: string;
|
|
1208
|
+
isWrapTeleport: boolean;
|
|
1209
|
+
onClick: () => void;
|
|
1210
|
+
onClosed: () => void;
|
|
1211
|
+
}
|
|
1212
|
+
declare const _default$1: {
|
|
1213
|
+
text(msg: string | React$1.ReactNode, option?: {}): void;
|
|
1214
|
+
success(msg: string | React$1.ReactNode, option?: {}): void;
|
|
1215
|
+
primary(msg: string | React$1.ReactNode, option?: {}): void;
|
|
1216
|
+
danger(msg: string | React$1.ReactNode, option?: {}): void;
|
|
1217
|
+
warn(msg: string | React$1.ReactNode, option?: {}): void;
|
|
1218
|
+
hide(): void;
|
|
1219
|
+
};
|
|
1220
|
+
|
|
1221
|
+
interface SwitchProps {
|
|
1222
|
+
isAsync: boolean;
|
|
1223
|
+
checked: boolean;
|
|
1224
|
+
disable: boolean;
|
|
1225
|
+
activeColor: string;
|
|
1226
|
+
inactiveColor: string;
|
|
1227
|
+
activeText: string;
|
|
1228
|
+
inactiveText: string;
|
|
1229
|
+
className: string;
|
|
1230
|
+
style: React__default.CSSProperties;
|
|
1231
|
+
change: (val: boolean, event: React__default.MouseEvent) => void;
|
|
1232
|
+
}
|
|
1233
|
+
declare const Switch: FunctionComponent<Partial<SwitchProps>>;
|
|
1234
|
+
|
|
1235
|
+
interface ToastProps {
|
|
1236
|
+
id?: string;
|
|
1237
|
+
msg: string;
|
|
1238
|
+
style?: React$1.CSSProperties;
|
|
1239
|
+
duration: number;
|
|
1240
|
+
center: boolean;
|
|
1241
|
+
type: string;
|
|
1242
|
+
title: string;
|
|
1243
|
+
customClass?: string;
|
|
1244
|
+
bottom: string;
|
|
1245
|
+
size: string | number;
|
|
1246
|
+
icon: string | null;
|
|
1247
|
+
iconSize: string;
|
|
1248
|
+
textAlignCenter: boolean;
|
|
1249
|
+
loadingRotate: boolean;
|
|
1250
|
+
bgColor: string;
|
|
1251
|
+
onClose: () => void;
|
|
1252
|
+
cover: boolean;
|
|
1253
|
+
coverColor: string;
|
|
1254
|
+
closeOnClickOverlay: boolean;
|
|
1255
|
+
}
|
|
1256
|
+
declare const _default: {
|
|
1257
|
+
text(msg: string | React$1.ReactNode, option?: {}): void;
|
|
1258
|
+
success(msg: string | React$1.ReactNode, option?: {}): void;
|
|
1259
|
+
fail(msg: string | React$1.ReactNode, option?: {}): void;
|
|
1260
|
+
loading(msg: string | React$1.ReactNode, option?: {}): void;
|
|
1261
|
+
warn(msg: string | React$1.ReactNode, option?: {}): void;
|
|
1262
|
+
customIcon(msg: string | React$1.ReactNode, option?: {}): void;
|
|
1263
|
+
hide(): void;
|
|
1264
|
+
};
|
|
1265
|
+
|
|
1266
|
+
declare type SwipeSide = 'left' | 'right';
|
|
1267
|
+
declare type SwipePosition = SwipeSide | 'cell' | 'outside';
|
|
1268
|
+
interface SwipeInstance {
|
|
1269
|
+
open: (side: SwipeSide) => void;
|
|
1270
|
+
close: () => void;
|
|
1271
|
+
}
|
|
1272
|
+
interface SwipeProps {
|
|
1273
|
+
/** 自定义类名 */
|
|
1274
|
+
className: string;
|
|
1275
|
+
/** 自定义样式 */
|
|
1276
|
+
style: React__default.CSSProperties;
|
|
1277
|
+
/** 标识符,可以在事件参数中获取到 */
|
|
1278
|
+
name?: string | number;
|
|
1279
|
+
/** 指定左侧滑动区域宽度,单位为px */
|
|
1280
|
+
leftWidth?: string | number;
|
|
1281
|
+
/** 指定右侧滑动区域宽度,单位为 px */
|
|
1282
|
+
rightWidth?: string | number;
|
|
1283
|
+
/** 左侧滑动区域的内容 */
|
|
1284
|
+
leftAction?: React__default.ReactNode;
|
|
1285
|
+
/** 右侧滑动区域的内容 */
|
|
1286
|
+
rightAction?: React__default.ReactNode;
|
|
1287
|
+
/** 关闭前的回调函数,返回 false 可阻止关闭,支持返回 Promise */
|
|
1288
|
+
beforeClose?: (position: string) => void;
|
|
1289
|
+
/** 是否禁用 */
|
|
1290
|
+
disabled?: boolean;
|
|
1291
|
+
/** 打开时触发 */
|
|
1292
|
+
onOpen?: ({ name, position, }: {
|
|
1293
|
+
name: string | number;
|
|
1294
|
+
position: SwipeSide;
|
|
1295
|
+
}) => void;
|
|
1296
|
+
/** 关闭时触发 */
|
|
1297
|
+
onClose?: ({ name, position, }: {
|
|
1298
|
+
name: string | number;
|
|
1299
|
+
position: SwipePosition;
|
|
1300
|
+
}) => void;
|
|
1301
|
+
/** 点击时触发 */
|
|
1302
|
+
onActionClick?: (event: Event, position: SwipePosition) => void;
|
|
1303
|
+
children?: React__default.ReactNode;
|
|
1304
|
+
}
|
|
1305
|
+
declare const Swipe: React__default.ForwardRefExoticComponent<Partial<SwipeProps> & React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<SwipeInstance>>;
|
|
1306
|
+
|
|
1307
|
+
declare type PullStatus = 'pulling' | 'canRelease' | 'refreshing' | 'complete';
|
|
1308
|
+
interface PullToRefreshProps {
|
|
1309
|
+
className: string;
|
|
1310
|
+
style: React__default.CSSProperties;
|
|
1311
|
+
onRefresh: () => Promise<any>;
|
|
1312
|
+
pullingText: ReactNode;
|
|
1313
|
+
canReleaseText: ReactNode;
|
|
1314
|
+
refreshingText: ReactNode;
|
|
1315
|
+
completeText: ReactNode;
|
|
1316
|
+
completeDelay: number;
|
|
1317
|
+
headHeight: number;
|
|
1318
|
+
threshold: number;
|
|
1319
|
+
disabled: boolean;
|
|
1320
|
+
renderText: (status: PullStatus) => ReactNode;
|
|
1321
|
+
children: React__default.ReactNode;
|
|
1322
|
+
}
|
|
1323
|
+
declare const PullToRefresh: FunctionComponent<Partial<PullToRefreshProps>>;
|
|
1324
|
+
|
|
1325
|
+
interface CircleProgressProps {
|
|
1326
|
+
progress: string | number;
|
|
1327
|
+
strokeWidth?: string | number;
|
|
1328
|
+
radius?: number | string;
|
|
1329
|
+
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
|
|
1330
|
+
circleColor?: object | string;
|
|
1331
|
+
pathColor?: string;
|
|
1332
|
+
clockwise?: boolean;
|
|
1333
|
+
className?: string;
|
|
1334
|
+
}
|
|
1335
|
+
declare const CircleProgress: FunctionComponent<CircleProgressProps & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1336
|
+
|
|
1337
|
+
interface NoticeBarProps extends IComponent {
|
|
1338
|
+
direction: string;
|
|
1339
|
+
className?: string;
|
|
1340
|
+
style?: CSSProperties;
|
|
1341
|
+
list: any;
|
|
1342
|
+
standTime: number;
|
|
1343
|
+
complexAm: boolean;
|
|
1344
|
+
height: number;
|
|
1345
|
+
text: string;
|
|
1346
|
+
closeMode: boolean;
|
|
1347
|
+
wrapable: boolean;
|
|
1348
|
+
leftIcon: string;
|
|
1349
|
+
color: string;
|
|
1350
|
+
background: string;
|
|
1351
|
+
delay: string | number;
|
|
1352
|
+
scrollable: boolean | null;
|
|
1353
|
+
speed: number;
|
|
1354
|
+
rightIcon?: HTMLElement | any;
|
|
1355
|
+
close?: (list?: any) => void;
|
|
1356
|
+
click?: (item?: any) => void;
|
|
1357
|
+
}
|
|
1358
|
+
declare const NoticeBar: FunctionComponent<Partial<NoticeBarProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1359
|
+
|
|
1360
|
+
interface StepsProps {
|
|
1361
|
+
current: number;
|
|
1362
|
+
direction: string;
|
|
1363
|
+
progressDot: boolean;
|
|
1364
|
+
className: string;
|
|
1365
|
+
style: React__default.CSSProperties;
|
|
1366
|
+
clickStep: (index: number) => void;
|
|
1367
|
+
}
|
|
1368
|
+
declare const Steps: FunctionComponent<Partial<StepsProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1369
|
+
|
|
1370
|
+
interface StepProps extends IComponent {
|
|
1371
|
+
title: string;
|
|
1372
|
+
content: string;
|
|
1373
|
+
activeIndex: number;
|
|
1374
|
+
icon: string;
|
|
1375
|
+
iconColor: string;
|
|
1376
|
+
size: string;
|
|
1377
|
+
className: string;
|
|
1378
|
+
style: React__default.CSSProperties;
|
|
1379
|
+
renderContent: () => React__default.ReactNode;
|
|
1380
|
+
}
|
|
1381
|
+
declare const Step: FunctionComponent<Partial<StepProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1382
|
+
|
|
1383
|
+
declare type SwiperRef = {
|
|
1384
|
+
to: (index: number) => void;
|
|
1385
|
+
next: () => void;
|
|
1386
|
+
prev: () => void;
|
|
1387
|
+
};
|
|
1388
|
+
interface SwiperProps {
|
|
1389
|
+
width: number | string;
|
|
1390
|
+
height: number | string;
|
|
1391
|
+
duration: number | string;
|
|
1392
|
+
initPage: number | string;
|
|
1393
|
+
autoPlay: number | string;
|
|
1394
|
+
direction: 'horizontal' | 'vertical';
|
|
1395
|
+
paginationColor: string;
|
|
1396
|
+
paginationVisible: boolean;
|
|
1397
|
+
loop: boolean;
|
|
1398
|
+
touchable: boolean;
|
|
1399
|
+
isPreventDefault: boolean;
|
|
1400
|
+
isStopPropagation: boolean;
|
|
1401
|
+
isCenter: boolean;
|
|
1402
|
+
className?: string;
|
|
1403
|
+
style?: React__default.CSSProperties;
|
|
1404
|
+
pageContent?: React__default.ReactNode;
|
|
1405
|
+
onChange?: (currPage: number) => void;
|
|
1406
|
+
}
|
|
1407
|
+
declare const Swiper: React__default.ForwardRefExoticComponent<Partial<SwiperProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & React__default.RefAttributes<SwiperRef>>;
|
|
1408
|
+
|
|
1409
|
+
interface SwiperItemProps {
|
|
1410
|
+
direction?: string;
|
|
1411
|
+
size?: 0;
|
|
1412
|
+
}
|
|
1413
|
+
declare const SwiperItem: React__default.ForwardRefExoticComponent<Partial<SwiperItemProps> & React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1414
|
+
|
|
1415
|
+
interface AvatarProps extends IComponent {
|
|
1416
|
+
size: string;
|
|
1417
|
+
icon: string;
|
|
1418
|
+
shape: AvatarShape;
|
|
1419
|
+
bgColor: string;
|
|
1420
|
+
color: string;
|
|
1421
|
+
prefixCls: string;
|
|
1422
|
+
url: string;
|
|
1423
|
+
className: string;
|
|
1424
|
+
alt: string;
|
|
1425
|
+
style: React__default.CSSProperties;
|
|
1426
|
+
activeAvatar: (e: MouseEvent) => void;
|
|
1427
|
+
onError: (e: any) => void;
|
|
1428
|
+
}
|
|
1429
|
+
declare type AvatarShape = 'round' | 'square';
|
|
1430
|
+
declare const Avatar: FunctionComponent<Partial<AvatarProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1431
|
+
|
|
1432
|
+
interface AvatarGroupProps {
|
|
1433
|
+
maxContent: string;
|
|
1434
|
+
maxCount: string | number;
|
|
1435
|
+
maxBgColor: string;
|
|
1436
|
+
maxColor: string;
|
|
1437
|
+
size: string;
|
|
1438
|
+
shape: string;
|
|
1439
|
+
span: string;
|
|
1440
|
+
zIndex: string;
|
|
1441
|
+
className: string;
|
|
1442
|
+
style: React__default.CSSProperties;
|
|
1443
|
+
}
|
|
1444
|
+
declare const AvatarGroup: FunctionComponent<Partial<AvatarGroupProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1445
|
+
|
|
1446
|
+
interface PriceProps {
|
|
1447
|
+
price: number | string;
|
|
1448
|
+
needSymbol: boolean;
|
|
1449
|
+
symbol: string;
|
|
1450
|
+
decimalDigits: number;
|
|
1451
|
+
thousands: boolean;
|
|
1452
|
+
className: string;
|
|
1453
|
+
style: React__default.CSSProperties;
|
|
1454
|
+
}
|
|
1455
|
+
declare const Price: FunctionComponent<Partial<PriceProps>>;
|
|
1456
|
+
|
|
1457
|
+
interface BadgeProps extends IComponent {
|
|
1458
|
+
value: any;
|
|
1459
|
+
dot: boolean;
|
|
1460
|
+
max: number;
|
|
1461
|
+
top: string;
|
|
1462
|
+
right: string;
|
|
1463
|
+
zIndex: string;
|
|
1464
|
+
color: string;
|
|
1465
|
+
icons: any;
|
|
1466
|
+
children?: ReactNode;
|
|
1467
|
+
}
|
|
1468
|
+
declare const Badge: FunctionComponent<Partial<BadgeProps>>;
|
|
1469
|
+
|
|
1470
|
+
interface TagProps extends IComponent {
|
|
1471
|
+
type: TagType;
|
|
1472
|
+
color: string;
|
|
1473
|
+
textColor: string;
|
|
1474
|
+
plain: boolean;
|
|
1475
|
+
round: boolean;
|
|
1476
|
+
mark: boolean;
|
|
1477
|
+
closeable: boolean;
|
|
1478
|
+
prefixCls: string;
|
|
1479
|
+
onClick: (e: MouseEvent) => void;
|
|
1480
|
+
onClose: (e?: any) => void;
|
|
1481
|
+
children?: React__default.ReactNode;
|
|
1482
|
+
}
|
|
1483
|
+
declare type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
1484
|
+
declare const Tag: FunctionComponent<Partial<TagProps>>;
|
|
1485
|
+
|
|
1486
|
+
declare type PopoverTheme = 'light' | 'dark';
|
|
1487
|
+
declare type PopoverLocation = 'bottom' | 'top' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
1488
|
+
interface List {
|
|
1489
|
+
name: string;
|
|
1490
|
+
icon?: string;
|
|
1491
|
+
disabled?: boolean;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
interface PopoverProps extends IComponent {
|
|
1495
|
+
list: List[];
|
|
1496
|
+
theme: PopoverTheme;
|
|
1497
|
+
location: PopoverLocation | string;
|
|
1498
|
+
visible: boolean;
|
|
1499
|
+
offset: string | number;
|
|
1500
|
+
className: string;
|
|
1501
|
+
style?: CSSProperties;
|
|
1502
|
+
children?: React__default.ReactNode;
|
|
1503
|
+
onClick: (e: React__default.MouseEvent) => void;
|
|
1504
|
+
onChoose: (item: List, index: number) => void;
|
|
1505
|
+
}
|
|
1506
|
+
declare const Popover: FunctionComponent<Partial<PopoverProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1507
|
+
|
|
1508
|
+
declare type avatarShape = 'round' | 'square';
|
|
1509
|
+
interface SkeletonProps {
|
|
1510
|
+
width: string;
|
|
1511
|
+
height: string;
|
|
1512
|
+
animated: boolean;
|
|
1513
|
+
row: number;
|
|
1514
|
+
title: boolean;
|
|
1515
|
+
avatar: boolean;
|
|
1516
|
+
className?: string;
|
|
1517
|
+
style?: React__default.CSSProperties;
|
|
1518
|
+
avatarSize: string;
|
|
1519
|
+
round: boolean;
|
|
1520
|
+
loading: boolean;
|
|
1521
|
+
avatarShape: avatarShape;
|
|
1522
|
+
children?: React__default.ReactNode;
|
|
1523
|
+
}
|
|
1524
|
+
declare const Skeleton: FunctionComponent<Partial<SkeletonProps>>;
|
|
1525
|
+
|
|
1526
|
+
interface CountDownProps {
|
|
1527
|
+
className?: string;
|
|
1528
|
+
style?: CSSProperties;
|
|
1529
|
+
paused: boolean;
|
|
1530
|
+
startTime: number;
|
|
1531
|
+
endTime: number;
|
|
1532
|
+
millisecond: boolean;
|
|
1533
|
+
format: string;
|
|
1534
|
+
autoStart: boolean;
|
|
1535
|
+
time: number;
|
|
1536
|
+
onEnd: () => void;
|
|
1537
|
+
onPaused: (restTime: number) => void;
|
|
1538
|
+
onRestart: (restTime: number) => void;
|
|
1539
|
+
onUpdate: (restTime: any) => void;
|
|
1540
|
+
children: ReactNode;
|
|
1541
|
+
}
|
|
1542
|
+
declare const CountDown: React__default.ForwardRefExoticComponent<Partial<CountDownProps> & React__default.RefAttributes<unknown>>;
|
|
1543
|
+
|
|
1544
|
+
interface CollapseProps {
|
|
1545
|
+
activeName: Array<number | string> | number | string;
|
|
1546
|
+
accordion: boolean;
|
|
1547
|
+
icon: string;
|
|
1548
|
+
iconSize: string;
|
|
1549
|
+
iconColor: string;
|
|
1550
|
+
rotate: number;
|
|
1551
|
+
change: (isOpen: boolean, name: string) => void;
|
|
1552
|
+
children?: React__default.ReactNode;
|
|
1553
|
+
}
|
|
1554
|
+
declare const Collapse: FunctionComponent<Partial<CollapseProps>>;
|
|
1555
|
+
|
|
1556
|
+
interface CollapseItemProps extends IComponent {
|
|
1557
|
+
title: string;
|
|
1558
|
+
name: string;
|
|
1559
|
+
isOpen: boolean;
|
|
1560
|
+
icon: string;
|
|
1561
|
+
iconSize: string;
|
|
1562
|
+
iconColor: string;
|
|
1563
|
+
disabled: boolean;
|
|
1564
|
+
rotate: number;
|
|
1565
|
+
subTitle: string;
|
|
1566
|
+
titleIcon: string;
|
|
1567
|
+
titleIconColor: string;
|
|
1568
|
+
titleIconPosition: string;
|
|
1569
|
+
titleIconSize: string;
|
|
1570
|
+
onToggle: (isOpen: boolean, name: string) => void;
|
|
1571
|
+
}
|
|
1572
|
+
declare const CollapseItem: FunctionComponent<Partial<CollapseItemProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1573
|
+
|
|
1574
|
+
interface CountUpProps {
|
|
1575
|
+
maxLen: number;
|
|
1576
|
+
endNumber: string;
|
|
1577
|
+
delaySpeed?: number;
|
|
1578
|
+
easeSpeed: number;
|
|
1579
|
+
thousands: boolean;
|
|
1580
|
+
className: string;
|
|
1581
|
+
style: React__default.CSSProperties;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
interface AnimatingNumbersProps {
|
|
1585
|
+
}
|
|
1586
|
+
declare type AnimatingNumbersStates = {};
|
|
1587
|
+
declare class AnimatingNumbers extends Component<AnimatingNumbersProps, AnimatingNumbersStates> {
|
|
1588
|
+
static defaultProps: AnimatingNumbersProps;
|
|
1589
|
+
static displayName: string;
|
|
1590
|
+
static CountUp: React__default.FunctionComponent<Partial<CountUpProps>>;
|
|
1591
|
+
constructor(props: AnimatingNumbersProps);
|
|
1592
|
+
render(): JSX.Element;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
interface EmptyProps {
|
|
1596
|
+
image: ReactNode;
|
|
1597
|
+
imageSize: number | string;
|
|
1598
|
+
description: ReactNode;
|
|
1599
|
+
className: string;
|
|
1600
|
+
}
|
|
1601
|
+
declare const Empty: FunctionComponent<Partial<EmptyProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1602
|
+
|
|
1603
|
+
declare type Data = any;
|
|
1604
|
+
interface IVirtualListProps {
|
|
1605
|
+
sourceData: Array<Data>;
|
|
1606
|
+
containerSize?: number;
|
|
1607
|
+
ItemRender?: React.FC<any>;
|
|
1608
|
+
itemSize?: number;
|
|
1609
|
+
itemEqualSize?: boolean;
|
|
1610
|
+
horizontal?: boolean;
|
|
1611
|
+
overscan?: number;
|
|
1612
|
+
handleScroll?: (...args: any[]) => any;
|
|
1613
|
+
key?: string;
|
|
1614
|
+
locale?: {
|
|
1615
|
+
[key in string]: string;
|
|
1616
|
+
};
|
|
1617
|
+
className?: string;
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
declare type VirtualListProps = IVirtualListProps;
|
|
1621
|
+
declare const VirtualList: FunctionComponent<VirtualListProps & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1622
|
+
|
|
1623
|
+
interface ITableProps extends IComponent {
|
|
1624
|
+
className: string;
|
|
1625
|
+
style: React__default.CSSProperties;
|
|
1626
|
+
columns: Array<TableColumnProps>;
|
|
1627
|
+
data: Array<any>;
|
|
1628
|
+
bordered: boolean;
|
|
1629
|
+
summary?: React__default.ReactNode;
|
|
1630
|
+
striped?: boolean;
|
|
1631
|
+
noData?: React__default.ReactNode;
|
|
1632
|
+
onSorter?: (item: TableColumnProps, data: Array<any>) => void;
|
|
1633
|
+
}
|
|
1634
|
+
interface TableColumnProps {
|
|
1635
|
+
key: string;
|
|
1636
|
+
title?: string;
|
|
1637
|
+
align?: string;
|
|
1638
|
+
sorter?: ((a: any, b: any) => number) | boolean | string;
|
|
1639
|
+
render?: (rowData?: any, rowIndex?: number) => string | React__default.ReactNode;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
declare type TableProps = ITableProps;
|
|
1643
|
+
declare const Table: FunctionComponent<Partial<TableProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1644
|
+
|
|
1645
|
+
interface VideoProps {
|
|
1646
|
+
source: {
|
|
1647
|
+
type: string;
|
|
1648
|
+
src: string;
|
|
1649
|
+
};
|
|
1650
|
+
options: {
|
|
1651
|
+
controls?: boolean;
|
|
1652
|
+
muted?: boolean;
|
|
1653
|
+
autoplay?: boolean;
|
|
1654
|
+
poster?: string;
|
|
1655
|
+
playsinline?: boolean;
|
|
1656
|
+
loop?: boolean;
|
|
1657
|
+
};
|
|
1658
|
+
className: string;
|
|
1659
|
+
style: React__default.CSSProperties;
|
|
1660
|
+
play: (e: HTMLVideoElement) => void;
|
|
1661
|
+
pause: (e: HTMLVideoElement) => void;
|
|
1662
|
+
playend: (e: HTMLVideoElement) => void;
|
|
1663
|
+
}
|
|
1664
|
+
declare const Video: FunctionComponent<Partial<VideoProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1665
|
+
|
|
1666
|
+
declare type ProgressSize = 'small' | 'base' | 'large';
|
|
1667
|
+
declare type TextType = 'icon' | 'text';
|
|
1668
|
+
|
|
1669
|
+
interface ProgressProps extends IComponent {
|
|
1670
|
+
className: string;
|
|
1671
|
+
style: CSSProperties;
|
|
1672
|
+
isShowPercentage: boolean;
|
|
1673
|
+
percentage: number;
|
|
1674
|
+
fillColor: string;
|
|
1675
|
+
strokeColor: string;
|
|
1676
|
+
strokeWidth: string;
|
|
1677
|
+
size: ProgressSize;
|
|
1678
|
+
textColor: string;
|
|
1679
|
+
textWidth: string;
|
|
1680
|
+
showText: boolean;
|
|
1681
|
+
textInside: boolean;
|
|
1682
|
+
textBackground: string;
|
|
1683
|
+
textType: TextType;
|
|
1684
|
+
status: boolean;
|
|
1685
|
+
iconName: string;
|
|
1686
|
+
iconColor: string;
|
|
1687
|
+
iconSize: string;
|
|
1688
|
+
rounded: boolean | string;
|
|
1689
|
+
children: ReactNode;
|
|
1690
|
+
}
|
|
1691
|
+
declare const Progress: FunctionComponent<Partial<ProgressProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1692
|
+
|
|
1693
|
+
interface AudioProps extends IComponent {
|
|
1694
|
+
className: string;
|
|
1695
|
+
style: CSSProperties;
|
|
1696
|
+
url: string;
|
|
1697
|
+
muted: boolean;
|
|
1698
|
+
autoplay: boolean;
|
|
1699
|
+
loop: boolean;
|
|
1700
|
+
preload: string;
|
|
1701
|
+
type: string;
|
|
1702
|
+
onFastBack: (e: HTMLAudioElement) => void;
|
|
1703
|
+
onForward: (e: HTMLAudioElement) => void;
|
|
1704
|
+
onPause: ((e: HTMLAudioElement) => void) & ReactEventHandler<HTMLAudioElement>;
|
|
1705
|
+
onPlayEnd: (e: HTMLAudioElement) => void;
|
|
1706
|
+
onMute: (e: HTMLAudioElement) => void;
|
|
1707
|
+
onCanPlay: ((e: HTMLAudioElement) => void) & ReactEventHandler<HTMLAudioElement>;
|
|
1708
|
+
}
|
|
1709
|
+
declare const Audio: FunctionComponent<Partial<AudioProps> & React__default.HTMLAttributes<HTMLElement>>;
|
|
1710
|
+
|
|
1711
|
+
interface ImagePreviewProps {
|
|
1712
|
+
className?: string;
|
|
1713
|
+
images: Array<{
|
|
1714
|
+
src: string;
|
|
1715
|
+
}>;
|
|
1716
|
+
videos: Array<{
|
|
1717
|
+
source: {
|
|
1718
|
+
src: string;
|
|
1719
|
+
type: string;
|
|
1720
|
+
};
|
|
1721
|
+
options: {
|
|
1722
|
+
muted: boolean;
|
|
1723
|
+
controls: boolean;
|
|
1724
|
+
};
|
|
1725
|
+
}>;
|
|
1726
|
+
show: boolean;
|
|
1727
|
+
autoplay: number | string;
|
|
1728
|
+
initNo: number;
|
|
1729
|
+
contentClose: boolean;
|
|
1730
|
+
paginationVisible: boolean;
|
|
1731
|
+
style?: CSSProperties;
|
|
1732
|
+
paginationColor: string;
|
|
1733
|
+
onClose: () => void;
|
|
1734
|
+
}
|
|
1735
|
+
declare const ImagePreview: FunctionComponent<Partial<ImagePreviewProps>>;
|
|
1736
|
+
|
|
1737
|
+
interface RegionData {
|
|
1738
|
+
name?: string;
|
|
1739
|
+
[key: string]: any;
|
|
1740
|
+
}
|
|
1741
|
+
interface ChangeCallBack {
|
|
1742
|
+
next: string;
|
|
1743
|
+
value: string | RegionData;
|
|
1744
|
+
custom: string;
|
|
1745
|
+
}
|
|
1746
|
+
interface CloseCallBackData extends SelectedRegionObj {
|
|
1747
|
+
addressIdStr: string;
|
|
1748
|
+
addressStr: string;
|
|
1749
|
+
}
|
|
1750
|
+
interface CloseCallBack {
|
|
1751
|
+
data: CloseCallBackData | AddressList;
|
|
1752
|
+
type: string;
|
|
1753
|
+
}
|
|
1754
|
+
interface AddressList {
|
|
1755
|
+
id?: string | number;
|
|
1756
|
+
provinceName: string;
|
|
1757
|
+
cityName: string;
|
|
1758
|
+
countyName: string;
|
|
1759
|
+
townName: string;
|
|
1760
|
+
addressDetail: string;
|
|
1761
|
+
selectedAddress: boolean;
|
|
1762
|
+
name?: string;
|
|
1763
|
+
phone?: string;
|
|
1764
|
+
}
|
|
1765
|
+
interface SelectedRegionObj {
|
|
1766
|
+
province: RegionData;
|
|
1767
|
+
city: RegionData;
|
|
1768
|
+
country: RegionData;
|
|
1769
|
+
town: RegionData;
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
interface AddressProps extends IComponent {
|
|
1773
|
+
className?: string;
|
|
1774
|
+
style?: CSSProperties;
|
|
1775
|
+
modelValue: boolean;
|
|
1776
|
+
modelSelect: (string | number)[];
|
|
1777
|
+
type: string;
|
|
1778
|
+
customAddressTitle: string;
|
|
1779
|
+
province: RegionData[];
|
|
1780
|
+
city: RegionData[];
|
|
1781
|
+
country: RegionData[];
|
|
1782
|
+
town: RegionData[];
|
|
1783
|
+
isShowCustomAddress: boolean;
|
|
1784
|
+
existAddress: AddressList[];
|
|
1785
|
+
existAddressTitle: string;
|
|
1786
|
+
customAndExistTitle: string;
|
|
1787
|
+
height: string | number;
|
|
1788
|
+
defaultIcon: string;
|
|
1789
|
+
selectedIcon: string;
|
|
1790
|
+
closeBtnIcon: string;
|
|
1791
|
+
backBtnIcon: string;
|
|
1792
|
+
onSelected?: (prevExistAdd: AddressList, item: AddressList, copyExistAdd: AddressList[]) => void;
|
|
1793
|
+
onClose?: (cal: CloseCallBack) => void;
|
|
1794
|
+
closeMask?: (cal: {
|
|
1795
|
+
closeWay: string;
|
|
1796
|
+
}) => void;
|
|
1797
|
+
switchModule?: (cal: {
|
|
1798
|
+
type: string;
|
|
1799
|
+
}) => void;
|
|
1800
|
+
onChange?: (cal: ChangeCallBack) => void;
|
|
1801
|
+
onTabChecked?: (cal: string) => void;
|
|
1802
|
+
}
|
|
1803
|
+
declare const Address: FunctionComponent<Partial<AddressProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
1804
|
+
|
|
1805
|
+
interface BarrageProps {
|
|
1806
|
+
className: string;
|
|
1807
|
+
style: React__default.CSSProperties;
|
|
1808
|
+
barrageList: Array<string>;
|
|
1809
|
+
frequency: number;
|
|
1810
|
+
loop: boolean;
|
|
1811
|
+
speeds: number;
|
|
1812
|
+
rows: number;
|
|
1813
|
+
top: number;
|
|
1814
|
+
}
|
|
1815
|
+
declare const Barrage: React__default.ForwardRefExoticComponent<Partial<BarrageProps> & React__default.RefAttributes<unknown>>;
|
|
1816
|
+
|
|
1817
|
+
interface SignatureProps {
|
|
1818
|
+
type: string;
|
|
1819
|
+
lineWidth: number;
|
|
1820
|
+
strokeStyle: string;
|
|
1821
|
+
unSupportTpl: string;
|
|
1822
|
+
className: string;
|
|
1823
|
+
confirm?: (canvas: HTMLCanvasElement, dataurl: string) => void;
|
|
1824
|
+
clear?: () => void;
|
|
1825
|
+
}
|
|
1826
|
+
declare const Signature: FunctionComponent<Partial<SignatureProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1827
|
+
|
|
1828
|
+
interface CardProps {
|
|
1829
|
+
imgUrl: string;
|
|
1830
|
+
title: string;
|
|
1831
|
+
price: string;
|
|
1832
|
+
vipPrice: string;
|
|
1833
|
+
shopDesc: string;
|
|
1834
|
+
delivery: string;
|
|
1835
|
+
shopName: string;
|
|
1836
|
+
className: string;
|
|
1837
|
+
style: React__default.CSSProperties;
|
|
1838
|
+
prolistTpl: React__default.ReactNode;
|
|
1839
|
+
shopTagTpl: React__default.ReactNode;
|
|
1840
|
+
originTpl: React__default.ReactNode;
|
|
1841
|
+
footerTpl: React__default.ReactNode;
|
|
1842
|
+
}
|
|
1843
|
+
declare const Card: FunctionComponent<Partial<CardProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1844
|
+
|
|
1845
|
+
interface TimePannelProps {
|
|
1846
|
+
date: string;
|
|
1847
|
+
curKey: string | number;
|
|
1848
|
+
className?: string;
|
|
1849
|
+
change: (curKey: string | number) => void;
|
|
1850
|
+
}
|
|
1851
|
+
declare const TimePannel: FunctionComponent<Partial<TimePannelProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1852
|
+
|
|
1853
|
+
interface TimeType {
|
|
1854
|
+
key?: string | number;
|
|
1855
|
+
list: string[];
|
|
1856
|
+
}
|
|
1857
|
+
interface TimeDetailProps {
|
|
1858
|
+
className?: string;
|
|
1859
|
+
currentKey: string | number;
|
|
1860
|
+
currentTime: TimeType[];
|
|
1861
|
+
times: TimeType[];
|
|
1862
|
+
select: (time: string) => void;
|
|
1863
|
+
}
|
|
1864
|
+
declare const TimeDetail: FunctionComponent<Partial<TimeDetailProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1865
|
+
|
|
1866
|
+
interface DateType {
|
|
1867
|
+
'pannel-key'?: string | number;
|
|
1868
|
+
date: string;
|
|
1869
|
+
}
|
|
1870
|
+
interface TimeSelectProps {
|
|
1871
|
+
className?: string;
|
|
1872
|
+
visible?: boolean;
|
|
1873
|
+
height?: string;
|
|
1874
|
+
multiple?: boolean;
|
|
1875
|
+
title?: string;
|
|
1876
|
+
currentKey: string | number;
|
|
1877
|
+
currentTime: TimeType[];
|
|
1878
|
+
dates: DateType[];
|
|
1879
|
+
times: TimeType[];
|
|
1880
|
+
select?: (selectTimeData: TimeType[]) => void;
|
|
1881
|
+
pannelChange?: (pannelKey: string | number, selectTimeData: TimeType[]) => void;
|
|
1882
|
+
timeChange?: (time: string, selectTimeData: TimeType[]) => void;
|
|
1883
|
+
}
|
|
1884
|
+
declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1885
|
+
|
|
1886
|
+
export { ActionSheet, ActionSheetProps, Address, AddressProps, AnimatingNumbers, AnimatingNumbersProps, Audio, AudioProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, BackTop, BackTopProps, Badge, BadgeProps, Barrage, BarrageProps, Button, ButtonProps, Calendar, CalendarItem, CalendarItemProps, CalendarProps, Card, CardProps, Cascader, CascaderProps, Cell, CellGroup, CellGroupProps, CellProps, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CircleProgress, CircleProgressProps, Col, ColProps, Collapse, CollapseItem, CollapseItemProps, CollapseProps, ConfigProvider, ConfigProviderProps, CountDown, CountDownProps, DatePicker, DatePickerProps, Dialog, DialogProps, Divider, DividerProps, Drag, DragProps, Elevator, ElevatorProps, Empty, EmptyProps, FixedNav, FixedNavProps, Grid, GridItem, GridItemProps, GridProps, Icon, IconProps, ImagePreview, ImagePreviewProps, Indicator, IndicatorProps, Infiniteloading, InfiniteloadingProps, Input, InputNumber, InputNumberProps, InputProps, Layout, LayoutProps, Menu, MenuItem, MenuItemProps, MenuProps, NavBar, NavBarProps$1 as NavBarProps, NoticeBar, NoticeBarProps, _default$1 as Notify, NotifyProps, NumberKeyboard, NumberKeyboardProps, Overlay, OverlayProps, Pagination, PaginationProps, Picker, PickerProps, Popover, PopoverProps, Popup, PopupProps, Price, PriceProps, Progress, ProgressProps, PullToRefresh, PullToRefreshProps, Radio, RadioGroup, RadioGroupProps, RadioProps, Range, RangeProps, Rate, RateProps, Row, RowProps, SearchBar, SearchBarProps, ShortPassword, ShortPasswordProps, SideNavBar, SideNavBarItem, SideNavBarItemProps, SideNavBarProps, Signature, SignatureProps, Skeleton, SkeletonProps, Step, StepProps, Steps, StepsProps, SubSideNavBar, SubSideNavBarProps, Swipe, SwipeProps, Swiper, SwiperItem, SwiperItemProps, SwiperProps, Switch, SwitchProps, TabPane, TabPaneProps, Tabbar, TabbarItem, TabbarItemProps, TabbarProps, Table, TableProps, Tabs, TabsProps, Tag, TagProps, TextArea, TextAreaProps, TimeDetail, TimeDetailProps, TimePannel, TimePannelProps, TimeSelect, TimeSelectProps, _default as Toast, ToastProps, Uploader, UploaderProps, Video, VideoProps, VirtualList, VirtualListProps };
|