@nutui/nutui-react-taro 2.0.0-alpha.13 → 2.0.0-alpha.15
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 +30 -0
- package/dist/esm/ActionSheet/style/style.css +1 -1
- package/dist/esm/Address/style/style.css +1 -1
- package/dist/esm/Address.js +2 -2
- package/dist/esm/Audio.js +4 -4
- package/dist/esm/Avatar.js +3 -3
- package/dist/esm/Barrage/style/style.css +1 -1
- package/dist/esm/Barrage.js +2 -3
- package/dist/esm/Calendar/style/style.css +1 -1
- package/dist/esm/Calendar.js +3 -3
- package/dist/esm/CalendarItem.js +2 -2
- package/dist/esm/Card/style/style.css +1 -1
- package/dist/esm/Card.js +2 -4
- package/dist/esm/Cascader/style/style.css +1 -1
- package/dist/esm/CircleProgress.js +2 -2
- package/dist/esm/ConfigProvider.js +2 -2
- package/dist/esm/CountDown.js +2 -2
- package/dist/esm/DatePicker/style/style.css +1 -1
- package/dist/esm/DatePicker.js +4 -4
- package/dist/esm/Dialog.js +2 -2
- package/dist/esm/Ellipsis.js +2 -2
- package/dist/esm/Empty.js +2 -2
- package/dist/esm/FixedNav.js +2 -2
- package/dist/esm/Grid.js +3 -3
- package/dist/esm/GridItem.js +2 -2
- package/dist/esm/Image.js +2 -2
- package/dist/esm/ImagePreview/style/style.css +1 -1
- package/dist/esm/ImagePreview.js +1 -1
- package/dist/esm/InfiniteLoading/style/style.css +1 -0
- package/dist/esm/InfiniteLoading.js +10 -0
- package/dist/esm/Input.js +2 -2
- package/dist/esm/Menu.js +1 -1
- package/dist/esm/MenuItem.js +2 -2
- package/dist/esm/NoticeBar.js +2 -2
- package/dist/esm/NumberKeyboard/style/style.css +1 -1
- package/dist/esm/NumberKeyboard.js +2 -2
- package/dist/esm/Pagination.js +2 -2
- package/dist/esm/Picker/style/style.css +1 -1
- package/dist/esm/Picker.js +3 -3
- package/dist/esm/Popover/style/index.js +1 -1
- package/dist/esm/Popover/style/style.css +1 -1
- package/dist/esm/Popover.js +9 -3
- package/dist/esm/Popup/style/style.css +1 -1
- package/dist/esm/PullToRefresh.js +2 -2
- package/dist/esm/Range.js +2 -2
- package/dist/esm/SearchBar.js +2 -2
- package/dist/esm/ShortPassword/style/style.css +1 -1
- package/dist/esm/ShortPassword.js +2 -2
- package/dist/esm/SideNavBar/style/style.css +1 -1
- package/dist/esm/SideNavBar.js +3 -3
- package/dist/esm/SideNavBarItem/style/style.css +1 -1
- package/dist/esm/SideNavBarItem.js +1 -1
- package/dist/esm/Signature/style/index.js +1 -1
- package/dist/esm/Signature/style/style.css +1 -1
- package/dist/esm/Signature.js +1 -7
- package/dist/esm/Skeleton.js +4 -4
- package/dist/esm/Sticky.js +2 -2
- package/dist/esm/SubSideNavBar/style/style.css +1 -1
- package/dist/esm/SubSideNavBar.js +2 -2
- package/dist/esm/Swipe.js +2 -2
- package/dist/esm/Table.js +2 -2
- package/dist/esm/Tag/style/style.css +1 -1
- package/dist/esm/Tag.js +1 -1
- package/dist/esm/TextArea/style/style.css +1 -1
- package/dist/esm/TextArea.js +2 -2
- package/dist/esm/TimeDetail/style/style.css +1 -1
- package/dist/esm/TimeDetail.js +3 -4
- package/dist/esm/TimeSelect/style/index.js +0 -1
- package/dist/esm/TimeSelect/style/style.css +1 -1
- package/dist/esm/TimeSelect.js +4 -7
- package/dist/esm/Uploader.js +3 -3
- package/dist/esm/WaterMark.js +2 -2
- package/dist/esm/{address.taro-1a8ab3f1.js → address.taro-cc879a1d.js} +1 -1
- package/dist/esm/{audio.taro-bbd39f93.js → audio.taro-64b15071.js} +4 -4
- package/dist/esm/{avatar.taro-01536aff.js → avatar.taro-8a26cd6c.js} +1 -1
- package/dist/esm/{barrage.taro-c8cb9864.js → barrage.taro-e87bc58e.js} +32 -32
- package/dist/esm/{calendar.taro-10a6cb11.js → calendar.taro-02195ddb.js} +2 -2
- package/dist/esm/{calendaritem.taro-3e5f114e.js → calendaritem.taro-4230e5c4.js} +1 -1
- package/dist/esm/card.taro-92fe9733.js +64 -0
- package/dist/esm/{circleprogress.taro-7149e09d.js → circleprogress.taro-9064d69c.js} +1 -1
- package/dist/esm/{configprovider.taro-25758d9f.js → configprovider.taro-372b1525.js} +1 -1
- package/dist/esm/{countdown.taro-c399cc08.js → countdown.taro-8f19d21b.js} +1 -1
- package/dist/esm/{datepicker.taro-65dbeceb.js → datepicker.taro-8c9230b6.js} +2 -2
- package/dist/esm/{dialog.taro-290eb9a6.js → dialog.taro-e5c2cb03.js} +1 -1
- package/dist/esm/{ellipsis.taro-f423affa.js → ellipsis.taro-5653d0b2.js} +12 -12
- package/dist/esm/{empty.taro-ca792f57.js → empty.taro-8345ac72.js} +1 -1
- package/dist/esm/{fixednav.taro-b9ecf0d5.js → fixednav.taro-6c69ad79.js} +1 -1
- package/dist/esm/{grid.taro-fbbd8618.js → grid.taro-9b63aca5.js} +1 -1
- package/dist/esm/{griditem.taro-b0c37077.js → griditem.taro-48971911.js} +1 -1
- package/dist/esm/{image.taro-767aa000.js → image.taro-fde6e649.js} +1 -1
- package/dist/esm/{imagepreview.taro-daa5a84f.js → imagepreview.taro-cfe0a4cc.js} +3 -2
- package/dist/esm/{index-e3184f19.js → index-0a89a47b.js} +7 -1
- package/dist/esm/{infiniteloading.taro-f8f23ac6.js → infiniteloading.taro-53eeb1ec.js} +17 -33
- package/dist/esm/{input.taro-27d686c9.js → input.taro-69c08268.js} +1 -1
- package/dist/esm/{menu.taro-cd0fef41.js → menu.taro-40d36e0a.js} +3 -3
- package/dist/esm/{menuitem.taro-6076bffa.js → menuitem.taro-6aa35a00.js} +1 -1
- package/dist/esm/{noticebar.taro-2f02b2ad.js → noticebar.taro-8d496dd6.js} +1 -1
- package/dist/esm/{numberkeyboard.taro-ad8afaf9.js → numberkeyboard.taro-18879f04.js} +1 -1
- package/dist/esm/nutui-react.es.js +53 -55
- package/dist/esm/{pagination.taro-63607c3b.js → pagination.taro-592bca05.js} +1 -1
- package/dist/esm/{picker.taro-0570ec32.js → picker.taro-6b672469.js} +45 -41
- package/dist/esm/popover.taro-ba6c323a.js +229 -0
- package/dist/esm/{pulltorefresh.taro-5b36a881.js → pulltorefresh.taro-3719fdfb.js} +1 -1
- package/dist/esm/{range.taro-615e193a.js → range.taro-a1d1ad25.js} +1 -1
- package/dist/esm/{searchbar.taro-09468fff.js → searchbar.taro-39351331.js} +1 -1
- package/dist/esm/{shortpassword.taro-eabbde1b.js → shortpassword.taro-cff61e4e.js} +1 -1
- package/dist/esm/{sidenavbar.taro-9f210df4.js → sidenavbar.taro-1aefdd3c.js} +13 -10
- package/dist/esm/sidenavbaritem.taro-7d805f92.js +13 -0
- package/dist/esm/{signature.taro-c57469aa.js → signature.taro-4f68516a.js} +20 -21
- package/dist/esm/{skeleton.taro-0552c2ec.js → skeleton.taro-ce714b06.js} +1 -1
- package/dist/esm/{sticky.taro-f8ae8d5e.js → sticky.taro-6bc62a96.js} +2 -2
- package/dist/esm/{subsidenavbar.taro-abe07673.js → subsidenavbar.taro-47bb6e74.js} +10 -9
- package/dist/esm/{swipe.taro-de80fcd8.js → swipe.taro-966af6d3.js} +1 -1
- package/dist/esm/{table.taro-15a55c5d.js → table.taro-a20f15f2.js} +1 -1
- package/dist/esm/tag.taro-614758eb.js +76 -0
- package/dist/esm/{textarea.taro-c110565e.js → textarea.taro-593cd471.js} +1 -1
- package/dist/esm/timedetail.taro-d7aa4c1b.js +48 -0
- package/dist/esm/timeselect.taro-9e37e648.js +114 -0
- package/dist/esm/types/src/locales/base.d.ts +1 -1
- package/dist/esm/types/src/packages/barrage/barrage.d.ts +6 -7
- package/dist/esm/types/src/packages/barrage/barrage.taro.d.ts +6 -7
- package/dist/esm/types/src/packages/barrage/index.d.ts +1 -0
- package/dist/esm/types/src/packages/barrage/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/button/button.d.ts +1 -0
- package/dist/esm/types/src/packages/card/card.d.ts +8 -9
- package/dist/esm/types/src/packages/card/card.taro.d.ts +8 -9
- package/dist/esm/types/src/packages/card/index.d.ts +1 -0
- package/dist/esm/types/src/packages/card/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/configprovider/types.d.ts +1 -1
- package/dist/esm/types/src/packages/imagepreview/imagepreview.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/infiniteloading/demo.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/infiniteloading/index.d.ts +3 -2
- package/dist/esm/types/src/packages/infiniteloading/index.taro.d.ts +3 -2
- package/dist/esm/types/src/packages/infiniteloading/infiniteloading.d.ts +9 -14
- package/dist/esm/types/src/packages/infiniteloading/infiniteloading.taro.d.ts +8 -12
- package/dist/esm/types/src/packages/input/input.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/menu/menu.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/nutui.react.build.d.ts +2 -3
- package/dist/esm/types/src/packages/nutui.react.d.ts +2 -4
- package/dist/esm/types/src/packages/nutui.react.scss.d.ts +0 -1
- package/dist/esm/types/src/packages/nutui.react.taro.d.ts +2 -4
- package/dist/esm/types/src/packages/nutui.react.taro.scss.d.ts +0 -1
- package/dist/esm/types/src/packages/nutui.taro.react.build.d.ts +2 -3
- package/dist/esm/types/src/packages/picker/doc.en.d.ts +9 -9
- package/dist/esm/types/src/packages/popover/demo.d.ts +3 -2
- package/dist/esm/types/src/packages/popover/demo.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/popover/index.d.ts +1 -0
- package/dist/esm/types/src/packages/popover/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/popover/popover.d.ts +20 -9
- package/dist/esm/types/src/packages/popover/popover.taro.d.ts +20 -10
- package/dist/esm/types/src/packages/sidenavbar/index.d.ts +1 -0
- package/dist/esm/types/src/packages/sidenavbar/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/sidenavbar/sidenavbar.d.ts +5 -9
- package/dist/esm/types/src/packages/sidenavbar/sidenavbar.taro.d.ts +5 -9
- package/dist/esm/types/src/packages/sidenavbaritem/index.d.ts +1 -0
- package/dist/esm/types/src/packages/sidenavbaritem/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/sidenavbaritem/sidenavbaritem.d.ts +3 -3
- package/dist/esm/types/src/packages/sidenavbaritem/sidenavbaritem.taro.d.ts +3 -3
- package/dist/esm/types/src/packages/signature/index.d.ts +1 -0
- package/dist/esm/types/src/packages/signature/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/signature/signature.d.ts +10 -8
- package/dist/esm/types/src/packages/signature/signature.taro.d.ts +7 -12
- package/dist/esm/types/src/packages/subsidenavbar/index.d.ts +1 -0
- package/dist/esm/types/src/packages/subsidenavbar/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/subsidenavbar/subsidenavbar.d.ts +3 -3
- package/dist/esm/types/src/packages/subsidenavbar/subsidenavbar.taro.d.ts +3 -3
- package/dist/esm/types/src/packages/tag/index.d.ts +1 -0
- package/dist/esm/types/src/packages/tag/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/tag/tag.d.ts +4 -6
- package/dist/esm/types/src/packages/tag/tag.taro.d.ts +4 -6
- package/dist/esm/types/src/packages/timedetail/index.d.ts +1 -2
- package/dist/esm/types/src/packages/timedetail/timedetail.d.ts +9 -11
- package/dist/esm/types/src/packages/timedetail/timedetail.taro.d.ts +9 -11
- package/dist/esm/types/src/packages/timeselect/demo.taro.d.ts +0 -4
- package/dist/esm/types/src/packages/timeselect/index.d.ts +1 -0
- package/dist/esm/types/src/packages/timeselect/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/timeselect/timeselect.d.ts +25 -20
- package/dist/esm/types/src/packages/timeselect/timeselect.taro.d.ts +25 -20
- package/dist/esm/types/src/utils/index.d.ts +1 -0
- package/dist/esm/types/src/utils/use-click-away.d.ts +3 -0
- package/dist/esm/{uploader.taro-7e38fc37.js → uploader.taro-5ad88f83.js} +2 -2
- package/dist/esm/use-client-rect-2bb6c562.js +40 -0
- package/dist/esm/{watermark.taro-e2245bb1.js → watermark.taro-b6b1ae18.js} +1 -1
- package/dist/locales/base.d.ts +1 -1
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +2 -2
- package/dist/locales/id-ID.js +2 -2
- package/dist/locales/tr-TR.js +2 -2
- package/dist/locales/zh-CN.js +2 -2
- package/dist/locales/zh-TW.js +2 -2
- package/dist/locales/zh-UG.js +2 -2
- package/dist/nutui.react.es.js +970 -874
- package/dist/nutui.react.umd.js +969 -873
- package/dist/packages/barrage/barrage.scss +0 -13
- package/dist/packages/card/card.scss +8 -14
- package/dist/packages/infiniteloading/infiniteloading.scss +2 -25
- package/dist/packages/popover/popover.scss +158 -230
- package/dist/packages/popup/popup.scss +36 -0
- package/dist/packages/sidenavbar/sidenavbar.scss +10 -16
- package/dist/packages/sidenavbaritem/sidenavbaritem.scss +7 -19
- package/dist/packages/signature/signature.scss +1 -18
- package/dist/packages/subsidenavbar/subsidenavbar.scss +10 -19
- package/dist/packages/tag/tag.scss +10 -17
- package/dist/packages/timedetail/timedetail.scss +12 -37
- package/dist/packages/timeselect/timeselect.scss +15 -44
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/themes/default.scss +0 -1
- package/dist/styles/variables-jmapp.scss +85 -144
- package/dist/styles/variables.scss +96 -155
- package/dist/types/index.d.ts +2 -3
- package/dist/types/locales/base.d.ts +1 -1
- package/dist/types/packages/barrage/barrage.taro.d.ts +32 -9
- package/dist/types/packages/barrage/index.taro.d.ts +1 -0
- package/dist/types/packages/card/card.taro.d.ts +57 -14
- package/dist/types/packages/card/index.taro.d.ts +1 -0
- package/dist/types/packages/configprovider/types.d.ts +1 -1
- package/dist/types/packages/imagepreview/imagepreview.taro.d.ts +5 -0
- package/dist/types/packages/infiniteloading/index.taro.d.ts +3 -2
- package/dist/types/packages/infiniteloading/infiniteloading.taro.d.ts +52 -16
- package/dist/types/packages/input/input.taro.d.ts +1 -1
- package/dist/types/packages/menu/menu.taro.d.ts +5 -1
- package/dist/types/packages/popover/index.taro.d.ts +1 -0
- package/dist/types/packages/popover/popover.taro.d.ts +99 -13
- package/dist/types/packages/sidenavbar/index.taro.d.ts +1 -0
- package/dist/types/packages/sidenavbar/sidenavbar.taro.d.ts +33 -13
- package/dist/types/packages/sidenavbaritem/index.taro.d.ts +1 -0
- package/dist/types/packages/sidenavbaritem/sidenavbaritem.taro.d.ts +3 -3
- package/dist/types/packages/signature/index.taro.d.ts +1 -0
- package/dist/types/packages/signature/signature.taro.d.ts +32 -17
- package/dist/types/packages/subsidenavbar/index.taro.d.ts +1 -0
- package/dist/types/packages/subsidenavbar/subsidenavbar.taro.d.ts +3 -3
- package/dist/types/packages/tag/index.taro.d.ts +1 -0
- package/dist/types/packages/tag/tag.taro.d.ts +52 -14
- package/dist/types/packages/timedetail/timedetail.taro.d.ts +9 -11
- package/dist/types/packages/timeselect/index.taro.d.ts +1 -0
- package/dist/types/packages/timeselect/timeselect.taro.d.ts +62 -21
- package/dist/types/packages/toast/toast.taro.d.ts +60 -12
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/esm/Infiniteloading/style/style.css +0 -1
- package/dist/esm/Infiniteloading.js +0 -12
- package/dist/esm/TimePannel/style/css.js +0 -1
- package/dist/esm/TimePannel/style/index.js +0 -2
- package/dist/esm/TimePannel/style/style.css +0 -1
- package/dist/esm/TimePannel.js +0 -8
- package/dist/esm/card.taro-2080f4d2.js +0 -51
- package/dist/esm/popover.taro-ad483372.js +0 -162
- package/dist/esm/sidenavbaritem.taro-32a45ce6.js +0 -12
- package/dist/esm/tag.taro-1b4134a5.js +0 -92
- package/dist/esm/timedetail.taro-8d2acbbf.js +0 -41
- package/dist/esm/timepannel.taro-ee4c5dfa.js +0 -22
- package/dist/esm/timeselect.taro-069deedd.js +0 -133
- package/dist/esm/types/src/packages/popover/Trigger.d.ts +0 -19
- package/dist/esm/types/src/packages/sidenavbar/type.d.ts +0 -34
- package/dist/esm/types/src/packages/timedetail/demo.d.ts +0 -3
- package/dist/esm/types/src/packages/timedetail/demo.taro.d.ts +0 -3
- package/dist/esm/types/src/packages/timepannel/demo.d.ts +0 -3
- package/dist/esm/types/src/packages/timepannel/demo.taro.d.ts +0 -3
- package/dist/esm/types/src/packages/timepannel/index.d.ts +0 -2
- package/dist/esm/types/src/packages/timepannel/index.taro.d.ts +0 -2
- package/dist/esm/types/src/packages/timepannel/timepannel.d.ts +0 -8
- package/dist/esm/types/src/packages/timepannel/timepannel.taro.d.ts +0 -8
- package/dist/esm/use-client-rect-f317804e.js +0 -10
- package/dist/packages/timepannel/timepannel.scss +0 -17
- package/dist/types/packages/popover/Trigger.d.ts +0 -19
- package/dist/types/packages/timepannel/index.taro.d.ts +0 -2
- package/dist/types/packages/timepannel/timepannel.taro.d.ts +0 -8
- /package/dist/esm/{Infiniteloading → InfiniteLoading}/style/css.js +0 -0
- /package/dist/esm/{Infiniteloading → InfiniteLoading}/style/index.js +0 -0
- /package/dist/esm/{offsetContext-f32a9246.js → context-f32a9246.js} +0 -0
- /package/dist/esm/types/src/packages/sidenavbar/{offsetContext.d.ts → context.d.ts} +0 -0
- /package/dist/types/packages/sidenavbar/{offsetContext.d.ts → context.d.ts} +0 -0
|
@@ -52,7 +52,7 @@ import Badge from '@/packages/badge/index.taro';
|
|
|
52
52
|
import Dialog from '@/packages/dialog/index.taro';
|
|
53
53
|
import Drag from '@/packages/drag/index.taro';
|
|
54
54
|
import Empty from '@/packages/empty/index.taro';
|
|
55
|
-
import
|
|
55
|
+
import InfiniteLoading from '@/packages/infiniteloading/index.taro';
|
|
56
56
|
import NoticeBar from '@/packages/noticebar/index.taro';
|
|
57
57
|
import Notify from '@/packages/notify/index.taro';
|
|
58
58
|
import Popover from '@/packages/popover/index.taro';
|
|
@@ -87,7 +87,6 @@ import Video from '@/packages/video/index.taro';
|
|
|
87
87
|
import Barrage from '@/packages/barrage/index.taro';
|
|
88
88
|
import Card from '@/packages/card/index.taro';
|
|
89
89
|
import TimeDetail from '@/packages/timedetail/index.taro';
|
|
90
|
-
import TimePannel from '@/packages/timepannel/index.taro';
|
|
91
90
|
import TimeSelect from '@/packages/timeselect/index.taro';
|
|
92
91
|
import TrendArrow from '@/packages/trendarrow/index.taro';
|
|
93
92
|
import WaterMark from '@/packages/watermark/index.taro';
|
|
@@ -180,8 +179,7 @@ import '@/packages/video/video.scss';
|
|
|
180
179
|
import '@/packages/barrage/barrage.scss';
|
|
181
180
|
import '@/packages/card/card.scss';
|
|
182
181
|
import '@/packages/timedetail/timedetail.scss';
|
|
183
|
-
import '@/packages/timepannel/timepannel.scss';
|
|
184
182
|
import '@/packages/timeselect/timeselect.scss';
|
|
185
183
|
import '@/packages/trendarrow/trendarrow.scss';
|
|
186
184
|
import '@/packages/watermark/watermark.scss';
|
|
187
|
-
export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Col, Divider, Grid, GridItem, Layout, Row, Sticky, BackTop, Elevator, FixedNav, NavBar, SideNavBar, SideNavBarItem, SubSideNavBar, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, Cascader, Checkbox, CheckboxGroup, DatePicker, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty,
|
|
185
|
+
export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Col, Divider, Grid, GridItem, Layout, Row, Sticky, BackTop, Elevator, FixedNav, NavBar, SideNavBar, SideNavBarItem, SubSideNavBar, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, Cascader, Checkbox, CheckboxGroup, DatePicker, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, NoticeBar, Notify, Popover, PullToRefresh, Skeleton, Swipe, Popup, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, VirtualList, Pagination, Price, Progress, Step, Steps, Swiper, SwiperItem, Table, Tag, Video, Barrage, Card, TimeDetail, TimeSelect, TrendArrow, WaterMark };
|
|
@@ -87,7 +87,6 @@ import '@/packages/video/video.scss';
|
|
|
87
87
|
import '@/packages/barrage/barrage.scss';
|
|
88
88
|
import '@/packages/card/card.scss';
|
|
89
89
|
import '@/packages/timedetail/timedetail.scss';
|
|
90
|
-
import '@/packages/timepannel/timepannel.scss';
|
|
91
90
|
import '@/packages/timeselect/timeselect.scss';
|
|
92
91
|
import '@/packages/trendarrow/trendarrow.scss';
|
|
93
92
|
import '@/packages/watermark/watermark.scss';
|
|
@@ -52,7 +52,7 @@ import Badge from '@/packages/badge/index.taro';
|
|
|
52
52
|
import Dialog from '@/packages/dialog/index.taro';
|
|
53
53
|
import Drag from '@/packages/drag/index.taro';
|
|
54
54
|
import Empty from '@/packages/empty/index.taro';
|
|
55
|
-
import
|
|
55
|
+
import InfiniteLoading from '@/packages/infiniteloading/index.taro';
|
|
56
56
|
import NoticeBar from '@/packages/noticebar/index.taro';
|
|
57
57
|
import Notify from '@/packages/notify/index.taro';
|
|
58
58
|
import Popover from '@/packages/popover/index.taro';
|
|
@@ -87,8 +87,7 @@ import Video from '@/packages/video/index.taro';
|
|
|
87
87
|
import Barrage from '@/packages/barrage/index.taro';
|
|
88
88
|
import Card from '@/packages/card/index.taro';
|
|
89
89
|
import TimeDetail from '@/packages/timedetail/index.taro';
|
|
90
|
-
import TimePannel from '@/packages/timepannel/index.taro';
|
|
91
90
|
import TimeSelect from '@/packages/timeselect/index.taro';
|
|
92
91
|
import TrendArrow from '@/packages/trendarrow/index.taro';
|
|
93
92
|
import WaterMark from '@/packages/watermark/index.taro';
|
|
94
|
-
export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Col, Divider, Grid, GridItem, Layout, Row, Sticky, BackTop, Elevator, FixedNav, NavBar, SideNavBar, SideNavBarItem, SubSideNavBar, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, Cascader, Checkbox, CheckboxGroup, DatePicker, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty,
|
|
93
|
+
export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Col, Divider, Grid, GridItem, Layout, Row, Sticky, BackTop, Elevator, FixedNav, NavBar, SideNavBar, SideNavBarItem, SubSideNavBar, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, Cascader, Checkbox, CheckboxGroup, DatePicker, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, NoticeBar, Notify, Popover, PullToRefresh, Skeleton, Swipe, Popup, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, VirtualList, Pagination, Price, Progress, Step, Steps, Swiper, SwiperItem, Table, Tag, Video, Barrage, Card, TimeDetail, TimeSelect, TrendArrow, WaterMark };
|
|
@@ -25,12 +25,12 @@ export declare const Internation: {
|
|
|
25
25
|
zangZu: string;
|
|
26
26
|
beiJing: string;
|
|
27
27
|
lianYunGang: string;
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
wuhan: string;
|
|
29
|
+
yangzhou: string;
|
|
30
30
|
daQing: string;
|
|
31
31
|
suiHua: string;
|
|
32
32
|
weiFang: string;
|
|
33
|
-
|
|
33
|
+
shijiazhuang: string;
|
|
34
34
|
wlmq: string;
|
|
35
35
|
hangZhou: string;
|
|
36
36
|
chaoYang: string;
|
|
@@ -71,12 +71,12 @@ export declare const Internation: {
|
|
|
71
71
|
zangZu: string;
|
|
72
72
|
beiJing: string;
|
|
73
73
|
lianYunGang: string;
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
wuhan: string;
|
|
75
|
+
yangzhou: string;
|
|
76
76
|
daQing: string;
|
|
77
77
|
suiHua: string;
|
|
78
78
|
weiFang: string;
|
|
79
|
-
|
|
79
|
+
shijiazhuang: string;
|
|
80
80
|
wlmq: string;
|
|
81
81
|
hangZhou: string;
|
|
82
82
|
chaoYang: string;
|
|
@@ -118,12 +118,12 @@ export declare const Internation: {
|
|
|
118
118
|
zangZu: string;
|
|
119
119
|
beiJing: string;
|
|
120
120
|
lianYunGang: string;
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
wuhan: string;
|
|
122
|
+
yangzhou: string;
|
|
123
123
|
daQing: string;
|
|
124
124
|
suiHua: string;
|
|
125
125
|
weiFang: string;
|
|
126
|
-
|
|
126
|
+
shijiazhuang: string;
|
|
127
127
|
wlmq: string;
|
|
128
128
|
hangZhou: string;
|
|
129
129
|
chaoYang: string;
|
|
@@ -1,22 +1,33 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
2
|
import { BasicComponent } from '@/utils/typings';
|
|
3
|
-
export type PopoverTheme = 'light' | 'dark';
|
|
4
3
|
export type PopoverLocation = 'bottom' | 'top' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
5
4
|
export interface List {
|
|
5
|
+
key?: string;
|
|
6
6
|
name: string;
|
|
7
7
|
icon?: React.ReactNode;
|
|
8
8
|
disabled?: boolean;
|
|
9
|
+
className?: string;
|
|
9
10
|
}
|
|
10
11
|
export interface PopoverProps extends BasicComponent {
|
|
11
12
|
list: List[];
|
|
12
|
-
theme: PopoverTheme;
|
|
13
13
|
location: PopoverLocation | string;
|
|
14
14
|
visible: boolean;
|
|
15
|
-
offset: string | number;
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
offset: string[] | number[];
|
|
16
|
+
targetId: string;
|
|
17
|
+
background: string;
|
|
18
|
+
color: string;
|
|
19
|
+
showArrow: boolean;
|
|
20
|
+
duration: string | number;
|
|
21
|
+
overlay: boolean;
|
|
22
|
+
overlayClassName: string;
|
|
23
|
+
overlayStyle: React.CSSProperties;
|
|
24
|
+
closeOnClickOutside: boolean;
|
|
25
|
+
closeOnClickAction: boolean;
|
|
26
|
+
closeOnOverlayClick: boolean;
|
|
18
27
|
children?: React.ReactNode;
|
|
19
|
-
onClick: (
|
|
20
|
-
|
|
28
|
+
onClick: () => void;
|
|
29
|
+
onOpen: () => void;
|
|
30
|
+
onClose: () => void;
|
|
31
|
+
onSelect: (item: List, index: number) => void;
|
|
21
32
|
}
|
|
22
|
-
export declare const Popover: FunctionComponent<Partial<PopoverProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
33
|
+
export declare const Popover: FunctionComponent<Partial<PopoverProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'>>;
|
|
@@ -1,23 +1,33 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
import { ITouchEvent } from '@tarojs/components';
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
3
2
|
import { BasicComponent } from '@/utils/typings';
|
|
4
|
-
export type PopoverTheme = 'light' | 'dark';
|
|
5
3
|
export type PopoverLocation = 'bottom' | 'top' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
6
4
|
export interface List {
|
|
5
|
+
key?: string;
|
|
7
6
|
name: string;
|
|
8
7
|
icon?: React.ReactNode;
|
|
9
8
|
disabled?: boolean;
|
|
9
|
+
className?: string;
|
|
10
10
|
}
|
|
11
11
|
export interface PopoverProps extends BasicComponent {
|
|
12
12
|
list: List[];
|
|
13
|
-
theme: PopoverTheme;
|
|
14
13
|
location: PopoverLocation | string;
|
|
15
14
|
visible: boolean;
|
|
16
|
-
offset: string | number;
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
offset: string[] | number[];
|
|
16
|
+
targetId: string;
|
|
17
|
+
background: string;
|
|
18
|
+
color: string;
|
|
19
|
+
showArrow: boolean;
|
|
20
|
+
duration: string | number;
|
|
21
|
+
overlay: boolean;
|
|
22
|
+
overlayClassName: string;
|
|
23
|
+
overlayStyle: React.CSSProperties;
|
|
24
|
+
closeOnClickOutside: boolean;
|
|
25
|
+
closeOnClickAction: boolean;
|
|
26
|
+
closeOnOverlayClick: boolean;
|
|
19
27
|
children?: React.ReactNode;
|
|
20
|
-
onClick: (
|
|
21
|
-
|
|
28
|
+
onClick: () => void;
|
|
29
|
+
onOpen: () => void;
|
|
30
|
+
onClose: () => void;
|
|
31
|
+
onSelect: (item: List, index: number) => void;
|
|
22
32
|
}
|
|
23
|
-
export declare const Popover: FunctionComponent<Partial<PopoverProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
33
|
+
export declare const Popover: FunctionComponent<Partial<PopoverProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'>>;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export interface SideNavBarProps extends React.HTMLAttributes<HTMLDivElement>, NavBarProps {
|
|
6
|
-
title: string;
|
|
1
|
+
import React, { FunctionComponent, ReactNode } from 'react';
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface SideNavBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>, BasicComponent {
|
|
4
|
+
title: ReactNode;
|
|
7
5
|
visible: boolean;
|
|
8
6
|
width?: string;
|
|
9
|
-
|
|
7
|
+
indent?: number;
|
|
10
8
|
position?: 'left' | 'right';
|
|
11
9
|
onClose: () => void;
|
|
12
|
-
children?: React.ReactNode;
|
|
13
10
|
}
|
|
14
11
|
export declare const SideNavBar: FunctionComponent<SideNavBarProps>;
|
|
15
|
-
export {};
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export interface SideNavBarProps extends React.HTMLAttributes<HTMLDivElement>, NavBarProps {
|
|
6
|
-
title: string;
|
|
1
|
+
import React, { FunctionComponent, ReactNode } from 'react';
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface SideNavBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>, BasicComponent {
|
|
4
|
+
title: ReactNode;
|
|
7
5
|
visible: boolean;
|
|
8
6
|
width?: string;
|
|
9
|
-
|
|
7
|
+
indent?: number;
|
|
10
8
|
position?: 'left' | 'right';
|
|
11
9
|
onClose: () => void;
|
|
12
|
-
children?: React.ReactNode;
|
|
13
10
|
}
|
|
14
11
|
export declare const SideNavBar: FunctionComponent<SideNavBarProps>;
|
|
15
|
-
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
2
|
export type SideNavBarItemProps = {
|
|
3
3
|
title: string;
|
|
4
|
-
|
|
5
|
-
onClick?: ({ title,
|
|
4
|
+
value: string | number;
|
|
5
|
+
onClick?: ({ title, value, }: {
|
|
6
6
|
title: string;
|
|
7
|
-
|
|
7
|
+
value: string | number;
|
|
8
8
|
}) => void;
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
2
|
export type SideNavBarItemProps = {
|
|
3
3
|
title: string;
|
|
4
|
-
|
|
5
|
-
onClick?: ({ title,
|
|
4
|
+
value: string | number;
|
|
5
|
+
onClick?: ({ title, value, }: {
|
|
6
6
|
title: string;
|
|
7
|
-
|
|
7
|
+
value: string | number;
|
|
8
8
|
}) => void;
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface FileType {
|
|
4
|
+
jpg: string;
|
|
5
|
+
png: string;
|
|
6
|
+
}
|
|
7
|
+
export interface SignatureProps extends BasicComponent {
|
|
8
|
+
type: keyof FileType;
|
|
4
9
|
lineWidth: number;
|
|
5
10
|
strokeStyle: string;
|
|
6
|
-
|
|
7
|
-
className: string;
|
|
8
|
-
confirm?: (canvas: HTMLCanvasElement, dataurl: string) => void;
|
|
9
|
-
clear?: () => void;
|
|
11
|
+
unsupported: ReactNode;
|
|
10
12
|
onConfirm?: (canvas: HTMLCanvasElement, dataurl: string) => void;
|
|
11
13
|
onClear?: () => void;
|
|
12
14
|
}
|
|
13
|
-
export declare const Signature:
|
|
15
|
+
export declare const Signature: React.ForwardRefExoticComponent<Partial<SignatureProps> & React.RefAttributes<unknown>>;
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import React
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
jpg:
|
|
5
|
-
|
|
6
|
-
png: any;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface FileType {
|
|
4
|
+
jpg: string;
|
|
5
|
+
png: string;
|
|
7
6
|
}
|
|
8
|
-
export interface SignatureProps {
|
|
7
|
+
export interface SignatureProps extends BasicComponent {
|
|
9
8
|
canvasId: string;
|
|
10
9
|
type: keyof FileType;
|
|
11
10
|
lineWidth: number;
|
|
12
11
|
strokeStyle: string;
|
|
13
12
|
unSupportTpl: string;
|
|
14
|
-
className: string;
|
|
15
|
-
confirm?: (dataurl: string) => void;
|
|
16
|
-
clear?: () => void;
|
|
17
13
|
onConfirm?: (dataurl: string) => void;
|
|
18
14
|
onClear?: () => void;
|
|
19
15
|
}
|
|
20
|
-
export declare const Signature:
|
|
21
|
-
export {};
|
|
16
|
+
export declare const Signature: React.ForwardRefExoticComponent<Partial<SignatureProps> & React.RefAttributes<unknown>>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
2
|
export type SubSideNavBarProps = {
|
|
3
3
|
title: string;
|
|
4
|
-
|
|
4
|
+
value: string | number;
|
|
5
5
|
open?: boolean;
|
|
6
6
|
children?: React.ReactNode;
|
|
7
|
-
onClick?: ({ title,
|
|
7
|
+
onClick?: ({ title, value, isShow, }: {
|
|
8
8
|
title: string;
|
|
9
|
-
|
|
9
|
+
value: string | number;
|
|
10
10
|
isShow: boolean;
|
|
11
11
|
}) => void;
|
|
12
12
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
2
|
export type SubSideNavBarProps = {
|
|
3
3
|
title: string;
|
|
4
|
-
|
|
4
|
+
value: string | number;
|
|
5
5
|
open?: boolean;
|
|
6
6
|
children?: React.ReactNode;
|
|
7
|
-
onClick?: ({ title,
|
|
7
|
+
onClick?: ({ title, value, isShow, }: {
|
|
8
8
|
title: string;
|
|
9
|
-
|
|
9
|
+
value: string | number;
|
|
10
10
|
isShow: boolean;
|
|
11
11
|
}) => void;
|
|
12
12
|
};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
3
4
|
export interface TagProps extends BasicComponent {
|
|
4
5
|
type: TagType;
|
|
6
|
+
background: string;
|
|
5
7
|
color: string;
|
|
6
|
-
textColor: string;
|
|
7
8
|
plain: boolean;
|
|
8
9
|
round: boolean;
|
|
9
10
|
mark: boolean;
|
|
10
11
|
closeable: boolean;
|
|
11
|
-
closeIcon:
|
|
12
|
-
prefixCls: string;
|
|
12
|
+
closeIcon: ReactNode;
|
|
13
13
|
onClick: (e: MouseEvent) => void;
|
|
14
14
|
onClose: (e?: any) => void;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
15
|
}
|
|
17
|
-
export type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
18
16
|
export declare const Tag: FunctionComponent<Partial<TagProps>>;
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
3
4
|
export interface TagProps extends BasicComponent {
|
|
4
5
|
type: TagType;
|
|
6
|
+
background: string;
|
|
5
7
|
color: string;
|
|
6
|
-
textColor: string;
|
|
7
8
|
plain: boolean;
|
|
8
9
|
round: boolean;
|
|
9
10
|
mark: boolean;
|
|
10
11
|
closeable: boolean;
|
|
11
|
-
closeIcon:
|
|
12
|
-
prefixCls: string;
|
|
12
|
+
closeIcon: ReactNode;
|
|
13
13
|
onClick: (e: MouseEvent) => void;
|
|
14
14
|
onClose: (e?: any) => void;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
15
|
}
|
|
17
|
-
export type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
18
16
|
export declare const Tag: FunctionComponent<Partial<TagProps>>;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
import { TimeType, DateType, OptionKeyType } from '@/packages/timeselect';
|
|
4
|
+
export interface TimeDetailProps extends BasicComponent {
|
|
5
|
+
activeDate: string;
|
|
6
|
+
activeTime: DateType[];
|
|
7
|
+
options: DateType[];
|
|
8
|
+
optionKey: OptionKeyType;
|
|
9
|
+
onSelect: (time: TimeType) => void;
|
|
5
10
|
}
|
|
6
|
-
export
|
|
7
|
-
className?: string;
|
|
8
|
-
currentKey: string | number;
|
|
9
|
-
currentTime: TimeType[];
|
|
10
|
-
times: TimeType[];
|
|
11
|
-
select: (time: string) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const TimeDetail: FunctionComponent<Partial<TimeDetailProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
11
|
+
export declare const TimeDetail: FunctionComponent<Partial<TimeDetailProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'>>;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
import { TimeType, DateType, OptionKeyType } from '@/packages/timeselect/index.taro';
|
|
4
|
+
export interface TimeDetailProps extends BasicComponent {
|
|
5
|
+
activeDate: string;
|
|
6
|
+
activeTime: DateType[];
|
|
7
|
+
options: DateType[];
|
|
8
|
+
optionKey: OptionKeyType;
|
|
9
|
+
onSelect: (time: TimeType) => void;
|
|
5
10
|
}
|
|
6
|
-
export
|
|
7
|
-
className?: string;
|
|
8
|
-
currentKey: string | number;
|
|
9
|
-
currentTime: TimeType[];
|
|
10
|
-
times: TimeType[];
|
|
11
|
-
select: (time: string) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const TimeDetail: FunctionComponent<Partial<TimeDetailProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
11
|
+
export declare const TimeDetail: FunctionComponent<Partial<TimeDetailProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'>>;
|
|
@@ -1,25 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
2
|
+
import { BasicComponent } from '@/utils/typings';
|
|
3
|
+
export interface TimeType {
|
|
4
|
+
value?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
[prop: string]: any;
|
|
7
|
+
}
|
|
3
8
|
export interface DateType {
|
|
4
|
-
|
|
5
|
-
|
|
9
|
+
value?: string;
|
|
10
|
+
text?: string;
|
|
11
|
+
children?: TimeType[];
|
|
12
|
+
[prop: string]: any;
|
|
13
|
+
}
|
|
14
|
+
export interface OptionKeyType {
|
|
15
|
+
valueKey: string;
|
|
16
|
+
textKey: string;
|
|
17
|
+
childrenKey: string;
|
|
6
18
|
}
|
|
7
|
-
export interface TimeSelectProps {
|
|
8
|
-
|
|
9
|
-
style: React.CSSProperties;
|
|
10
|
-
visible?: boolean;
|
|
11
|
-
height?: string;
|
|
19
|
+
export interface TimeSelectProps extends BasicComponent {
|
|
20
|
+
visible: boolean;
|
|
12
21
|
multiple?: boolean;
|
|
13
|
-
title?:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
timeChange?: (time: string, selectTimeData: TimeType[]) => void;
|
|
21
|
-
onSelect?: (selectTimeData: TimeType[]) => void;
|
|
22
|
-
onPannelChange?: (pannelKey: string | number, selectTimeData: TimeType[]) => void;
|
|
23
|
-
onTimeChange?: (time: string, selectTimeData: TimeType[]) => void;
|
|
22
|
+
title?: ReactNode;
|
|
23
|
+
defaultValue: DateType[];
|
|
24
|
+
options: DateType[];
|
|
25
|
+
optionKey: OptionKeyType;
|
|
26
|
+
onSelect?: (value: DateType[]) => void;
|
|
27
|
+
onDateChange?: (date: DateType, value: DateType[]) => void;
|
|
28
|
+
onTimeChange?: (time: TimeType, value: DateType[]) => void;
|
|
24
29
|
}
|
|
25
30
|
export declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps>>;
|