@nutui/nutui-react 1.2.3-beta.4 → 1.3.1-beta.0
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 +28 -0
- package/dist/esm/Audio/style/index.js +4 -0
- package/dist/esm/Audio.js +293 -0
- package/dist/esm/Avatar.js +7 -5
- package/dist/esm/Calendar/style/index.js +1 -2
- package/dist/esm/Calendar.js +80 -33
- package/dist/esm/CalendarItem.js +440 -238
- package/dist/esm/Cascader/style/index.js +2 -0
- package/dist/esm/Cascader.js +788 -0
- package/dist/esm/CheckboxGroup.js +0 -1
- package/dist/esm/ConfigProvider.js +16 -0
- package/dist/esm/DatePicker.js +37 -6
- package/dist/esm/Dialog.js +9 -16
- package/dist/esm/Drag.js +1 -1
- package/dist/esm/Elevator.js +16 -5
- package/dist/esm/Grid/style/index.js +2 -0
- package/dist/esm/Grid.js +91 -0
- package/dist/esm/GridItem/style/index.js +2 -0
- package/dist/esm/GridItem.js +99 -0
- package/dist/esm/Icon/style/index.js +1 -0
- package/dist/esm/Icon.js +2 -2
- package/dist/esm/ImagePreview/style/index.js +2 -0
- package/dist/esm/ImagePreview.js +257 -0
- package/dist/esm/Input.js +8 -2
- package/dist/esm/InputNumber.js +11 -11
- package/dist/esm/Menu/style/index.js +3 -0
- package/dist/esm/Menu.js +153 -0
- package/dist/esm/MenuItem/style/index.js +3 -0
- package/dist/esm/MenuItem.js +197 -0
- package/dist/esm/NoticeBar.js +70 -30
- package/dist/esm/Notify.js +19 -4
- package/dist/esm/Picker.js +9 -4
- package/dist/esm/Popover.js +57 -80
- package/dist/esm/Price.js +14 -3
- package/dist/esm/Progress.js +1 -1
- package/dist/esm/Range.js +11 -48
- package/dist/esm/Swipe/style/index.js +2 -0
- package/dist/esm/Swipe.js +265 -0
- package/dist/esm/Swiper.js +2 -1
- package/dist/esm/TabPane.js +5 -33
- package/dist/esm/TabbarItem.js +1 -1
- package/dist/esm/Tabs.js +6 -196
- package/dist/esm/Tag.js +1 -1
- package/dist/esm/TextArea.js +48 -4
- package/dist/esm/Toast.js +24 -13
- package/dist/esm/Uploader.js +16 -6
- package/dist/esm/{icon-62bd7379.js → icon-8dc4de10.js} +9 -9
- package/dist/esm/nutui-react.es.js +8 -0
- package/dist/esm/render-4a3856cb.js +32 -0
- package/dist/esm/tabpane-c957ab14.js +33 -0
- package/dist/esm/tabs-a48583e9.js +196 -0
- package/dist/esm/useClientRect-839d18c5.js +44 -0
- package/dist/locales/base.d.ts +16 -0
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +17 -1
- package/dist/locales/id-ID.js +17 -1
- package/dist/locales/zh-CN.js +17 -1
- package/dist/locales/zh-TW.js +17 -1
- package/dist/nutui.react.es.js +2639 -768
- package/dist/nutui.react.umd.js +2646 -767
- package/dist/packages/audio/audio.scss +80 -0
- package/dist/packages/calendar/calendar.scss +57 -36
- package/dist/packages/calendaritem/calendaritem.scss +0 -191
- package/dist/packages/cascader/cascader.scss +69 -0
- package/dist/packages/col/col.scss +2 -2
- package/dist/packages/collapseitem/collapseitem.scss +1 -2
- package/dist/packages/grid/grid.scss +10 -0
- package/dist/packages/griditem/griditem.scss +103 -0
- package/dist/packages/icon/icon.scss +104 -12
- package/dist/packages/imagepreview/imagepreview.scss +51 -0
- package/dist/packages/menu/menu.scss +72 -0
- package/dist/packages/menuitem/menuitem.scss +90 -0
- package/dist/packages/noticebar/noticebar.scss +31 -15
- package/dist/packages/notify/notify.scss +9 -0
- package/dist/packages/popover/popover.scss +205 -83
- package/dist/packages/popup/popup.scss +1 -1
- package/dist/packages/rate/rate.scss +14 -13
- package/dist/packages/searchbar/searchbar.scss +1 -0
- package/dist/packages/shortpassword/shortpassword.scss +6 -1
- package/dist/packages/swipe/swipe.scss +33 -0
- package/dist/packages/textarea/textarea.scss +16 -1
- package/dist/packages/toast/toast.scss +16 -13
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/animation/icon.scss +245 -0
- package/dist/styles/animation/index.scss +1 -0
- package/dist/styles/font/config.json +169 -0
- package/dist/styles/font/demo_index.html +210 -3
- package/dist/styles/font/iconfont.css +39 -3
- package/dist/styles/font/iconfont.js +42 -40
- package/dist/styles/font/iconfont.json +63 -0
- package/dist/styles/font/iconfont.ttf +0 -0
- package/dist/styles/font/iconfont.woff +0 -0
- package/dist/styles/font/iconfont.woff2 +0 -0
- package/dist/styles/themes/default.scss +8 -0
- package/dist/styles/variables.scss +82 -15
- package/dist/types/actionsheet/actionsheet.taro.d.ts +20 -0
- package/dist/types/actionsheet/index.taro.d.ts +2 -0
- package/dist/types/address/address.taro.d.ts +34 -0
- package/dist/types/address/index.taro.d.ts +2 -0
- package/dist/types/animatingnumbers/animatingnumbers.taro.d.ts +12 -0
- package/dist/types/animatingnumbers/countup.taro.d.ts +11 -0
- package/dist/types/animatingnumbers/index.taro.d.ts +2 -0
- package/dist/types/audio/__test__/audio.spec.d.ts +1 -0
- package/dist/types/audio/audio.d.ts +18 -0
- package/dist/types/audio/audio.taro.d.ts +18 -0
- package/dist/types/audio/demo.d.ts +4 -0
- package/dist/types/audio/index.d.ts +2 -0
- package/dist/types/audio/index.taro.d.ts +2 -0
- package/dist/types/avatar/avatar.taro.d.ts +17 -0
- package/dist/types/avatar/index.taro.d.ts +2 -0
- package/dist/types/avatargroup/index.taro.d.ts +2 -0
- package/dist/types/backtop/__test__/backtop.spec.d.ts +1 -0
- package/dist/types/backtop/backtop.taro.d.ts +15 -0
- package/dist/types/backtop/index.taro.d.ts +2 -0
- package/dist/types/badge/badge.taro.d.ts +14 -0
- package/dist/types/badge/index.taro.d.ts +2 -0
- package/dist/types/barrage/barrage.taro.d.ts +12 -0
- package/dist/types/barrage/index.taro.d.ts +2 -0
- package/dist/types/button/button.taro.d.ts +20 -0
- package/dist/types/button/index.taro.d.ts +2 -0
- package/dist/types/calendar/__tests__/calendar.spec.d.ts +1 -0
- package/dist/types/calendar/calendar.d.ts +22 -2
- package/dist/types/calendar/calendar.taro.d.ts +14 -0
- package/dist/types/calendar/demo.d.ts +1 -0
- package/dist/types/calendar/index.taro.d.ts +2 -0
- package/dist/types/calendaritem/calendaritem.d.ts +21 -3
- package/dist/types/calendaritem/calendaritem.taro.d.ts +17 -0
- package/dist/types/calendaritem/index.taro.d.ts +2 -0
- package/dist/types/card/card.taro.d.ts +17 -0
- package/dist/types/card/index.taro.d.ts +2 -0
- package/dist/types/cascader/__tests__/cascader.spec.d.ts +1 -0
- package/dist/types/cascader/cascader.d.ts +25 -0
- package/dist/types/cascader/cascader.taro.d.ts +25 -0
- package/dist/types/cascader/cascaderItem.d.ts +25 -0
- package/dist/types/cascader/cascaderItem.taro.d.ts +25 -0
- package/dist/types/cascader/demo.d.ts +3 -0
- package/dist/types/cascader/helper.d.ts +4 -0
- package/dist/types/cascader/index.d.ts +2 -0
- package/dist/types/cascader/index.taro.d.ts +2 -0
- package/dist/types/cascader/tree.d.ts +12 -0
- package/dist/types/cascader/types.d.ts +28 -0
- package/dist/types/cell/cell.taro.d.ts +20 -0
- package/dist/types/cell/index.taro.d.ts +2 -0
- package/dist/types/cellgroup/cellgroup.taro.d.ts +10 -0
- package/dist/types/cellgroup/index.taro.d.ts +2 -0
- package/dist/types/checkbox/checkbox.d.ts +2 -2
- package/dist/types/checkbox/checkbox.taro.d.ts +19 -0
- package/dist/types/checkbox/index.taro.d.ts +2 -0
- package/dist/types/checkboxgroup/checkboxgroup.d.ts +2 -2
- package/dist/types/checkboxgroup/checkboxgroup.taro.d.ts +8 -0
- package/dist/types/checkboxgroup/index.taro.d.ts +2 -0
- package/dist/types/circleprogress/circleprogress.taro.d.ts +15 -0
- package/dist/types/circleprogress/index.taro.d.ts +2 -0
- package/dist/types/col/col.taro.d.ts +10 -0
- package/dist/types/col/index.taro.d.ts +2 -0
- package/dist/types/collapse/collapse.taro.d.ts +12 -0
- package/dist/types/collapse/index.taro.d.ts +2 -0
- package/dist/types/collapseitem/index.taro.d.ts +2 -0
- package/dist/types/configprovider/configprovider.taro.d.ts +12 -0
- package/dist/types/configprovider/index.taro.d.ts +2 -0
- package/dist/types/countdown/countdown.taro.d.ts +15 -0
- package/dist/types/countdown/index.taro.d.ts +2 -0
- package/dist/types/datepicker/datepicker.taro.d.ts +27 -0
- package/dist/types/datepicker/index.taro.d.ts +2 -0
- package/dist/types/dialog/__test__/dialog.spec.d.ts +1 -0
- package/dist/types/dialog/config.d.ts +3 -3
- package/dist/types/dialog/dialog.d.ts +2 -1
- package/dist/types/dialog/dialog.taro.d.ts +3 -0
- package/dist/types/dialog/index.taro.d.ts +2 -0
- package/dist/types/divider/divider.taro.d.ts +12 -0
- package/dist/types/divider/index.taro.d.ts +2 -0
- package/dist/types/drag/drag.taro.d.ts +14 -0
- package/dist/types/drag/index.taro.d.ts +2 -0
- package/dist/types/elevator/elevator.taro.d.ts +22 -0
- package/dist/types/elevator/index.taro.d.ts +2 -0
- package/dist/types/empty/empty.taro.d.ts +8 -0
- package/dist/types/empty/index.taro.d.ts +2 -0
- package/dist/types/fixednav/fixednav.d.ts +2 -2
- package/dist/types/fixednav/fixednav.taro.d.ts +22 -0
- package/dist/types/fixednav/index.taro.d.ts +2 -0
- package/dist/types/grid/__test__/grid.spec.d.ts +1 -0
- package/dist/types/grid/demo.d.ts +3 -0
- package/dist/types/grid/grid.d.ts +16 -0
- package/dist/types/grid/grid.taro.d.ts +16 -0
- package/dist/types/grid/index.d.ts +2 -0
- package/dist/types/grid/index.taro.d.ts +2 -0
- package/dist/types/griditem/griditem.d.ts +20 -0
- package/dist/types/griditem/griditem.taro.d.ts +20 -0
- package/dist/types/griditem/index.d.ts +2 -0
- package/dist/types/griditem/index.taro.d.ts +2 -0
- package/dist/types/icon/icon.d.ts +10 -5
- package/dist/types/icon/icon.taro.d.ts +18 -0
- package/dist/types/icon/index.taro.d.ts +2 -0
- package/dist/types/imagepreview/__test__/imagepreview.spec.d.ts +1 -0
- package/dist/types/imagepreview/demo.d.ts +3 -0
- package/dist/types/imagepreview/imagepreview.d.ts +26 -0
- package/dist/types/imagepreview/imagepreview.taro.d.ts +26 -0
- package/dist/types/imagepreview/index.d.ts +2 -0
- package/dist/types/imagepreview/index.taro.d.ts +2 -0
- package/dist/types/indicator/index.taro.d.ts +2 -0
- package/dist/types/indicator/indicator.taro.d.ts +10 -0
- package/dist/types/infiniteloading/index.taro.d.ts +2 -0
- package/dist/types/infiniteloading/infiniteloading.taro.d.ts +20 -0
- package/dist/types/input/__test__/input.spec.d.ts +1 -0
- package/dist/types/input/index.taro.d.ts +2 -0
- package/dist/types/input/input.taro.d.ts +57 -0
- package/dist/types/inputnumber/index.taro.d.ts +2 -0
- package/dist/types/inputnumber/inputnumber.taro.d.ts +22 -0
- package/dist/types/layout/index.taro.d.ts +2 -0
- package/dist/types/layout/layout.taro.d.ts +4 -0
- package/dist/types/menu/__test__/menu.spec.d.ts +1 -0
- package/dist/types/menu/demo.d.ts +4 -0
- package/dist/types/menu/index.d.ts +2 -0
- package/dist/types/menu/index.taro.d.ts +2 -0
- package/dist/types/menu/menu.d.ts +12 -0
- package/dist/types/menu/menu.taro.d.ts +12 -0
- package/dist/types/menuitem/index.d.ts +2 -0
- package/dist/types/menuitem/index.taro.d.ts +2 -0
- package/dist/types/menuitem/menuitem.d.ts +23 -0
- package/dist/types/menuitem/menuitem.taro.d.ts +23 -0
- package/dist/types/navbar/index.taro.d.ts +2 -0
- package/dist/types/navbar/navbar.taro.d.ts +21 -0
- package/dist/types/noticebar/demo.d.ts +1 -0
- package/dist/types/noticebar/index.taro.d.ts +2 -0
- package/dist/types/noticebar/noticebar.d.ts +1 -1
- package/dist/types/noticebar/noticebar.taro.d.ts +23 -0
- package/dist/types/notify/Notification.d.ts +8 -7
- package/dist/types/notify/__test__/notify.spec.d.ts +1 -0
- package/dist/types/notify/index.taro.d.ts +2 -0
- package/dist/types/notify/notify.d.ts +13 -0
- package/dist/types/notify/notify.taro.d.ts +23 -0
- package/dist/types/numberkeyboard/index.taro.d.ts +2 -0
- package/dist/types/numberkeyboard/numberkeyboard.taro.d.ts +20 -0
- package/dist/types/nutui.react.d.ts +95 -1
- package/dist/types/overlay/index.taro.d.ts +2 -0
- package/dist/types/overlay/overlay.taro.d.ts +12 -0
- package/dist/types/pagination/index.taro.d.ts +2 -0
- package/dist/types/pagination/pagination.taro.d.ts +19 -0
- package/dist/types/picker/doc.en.d.ts +142 -0
- package/dist/types/picker/index.taro.d.ts +2 -0
- package/dist/types/picker/picker.d.ts +3 -2
- package/dist/types/picker/picker.taro.d.ts +24 -0
- package/dist/types/picker/pickerSlot.d.ts +1 -0
- package/dist/types/popover/__tests__/popover.spec.d.ts +1 -0
- package/dist/types/popover/index.taro.d.ts +2 -0
- package/dist/types/popover/popover.d.ts +14 -7
- package/dist/types/popover/popover.taro.d.ts +21 -0
- package/dist/types/popup/index.taro.d.ts +2 -0
- package/dist/types/popup/popup.d.ts +1 -1
- package/dist/types/popup/popup.taro.d.ts +25 -0
- package/dist/types/price/index.taro.d.ts +2 -0
- package/dist/types/price/price.taro.d.ts +11 -0
- package/dist/types/progress/index.taro.d.ts +2 -0
- package/dist/types/progress/progress.taro.d.ts +26 -0
- package/dist/types/radio/index.taro.d.ts +2 -0
- package/dist/types/radio/radio.taro.d.ts +21 -0
- package/dist/types/radiogroup/index.taro.d.ts +2 -0
- package/dist/types/range/index.taro.d.ts +2 -0
- package/dist/types/range/range.taro.d.ts +25 -0
- package/dist/types/rate/index.taro.d.ts +2 -0
- package/dist/types/rate/rate.taro.d.ts +17 -0
- package/dist/types/row/index.taro.d.ts +2 -0
- package/dist/types/row/row.taro.d.ts +12 -0
- package/dist/types/searchbar/index.taro.d.ts +2 -0
- package/dist/types/searchbar/searchbar.taro.d.ts +60 -0
- package/dist/types/shortpassword/index.taro.d.ts +2 -0
- package/dist/types/shortpassword/shortpassword.taro.d.ts +21 -0
- package/dist/types/sidenavbar/index.taro.d.ts +2 -0
- package/dist/types/sidenavbar/sidenavbar.d.ts +14 -2
- package/dist/types/sidenavbar/sidenavbar.taro.d.ts +15 -0
- package/dist/types/sidenavbaritem/index.taro.d.ts +2 -0
- package/dist/types/sidenavbaritem/sidenavbaritem.d.ts +10 -2
- package/dist/types/sidenavbaritem/sidenavbaritem.taro.d.ts +11 -0
- package/dist/types/signature/index.taro.d.ts +2 -0
- package/dist/types/signature/signature.taro.d.ts +11 -0
- package/dist/types/skeleton/index.taro.d.ts +2 -0
- package/dist/types/skeleton/skeleton.taro.d.ts +19 -0
- package/dist/types/step/index.taro.d.ts +2 -0
- package/dist/types/steps/index.taro.d.ts +2 -0
- package/dist/types/steps/steps.taro.d.ts +10 -0
- package/dist/types/subsidenavbar/index.taro.d.ts +2 -0
- package/dist/types/subsidenavbar/subsidenavbar.d.ts +13 -3
- package/dist/types/subsidenavbar/subsidenavbar.taro.d.ts +13 -0
- package/dist/types/swipe/__tests__/swipe.spec.d.ts +1 -0
- package/dist/types/swipe/demo.d.ts +3 -0
- package/dist/types/swipe/index.d.ts +2 -0
- package/dist/types/swipe/index.taro.d.ts +2 -0
- package/dist/types/swipe/swipe.d.ts +41 -0
- package/dist/types/swipe/swipe.taro.d.ts +41 -0
- package/dist/types/swiper/index.taro.d.ts +2 -0
- package/dist/types/swiper/swiper.d.ts +1 -2
- package/dist/types/swiper/swiper.taro.d.ts +27 -0
- package/dist/types/swiperitem/index.taro.d.ts +2 -0
- package/dist/types/swiperitem/swiperitem.d.ts +1 -2
- package/dist/types/switch/index.taro.d.ts +2 -0
- package/dist/types/switch/switch.taro.d.ts +14 -0
- package/dist/types/tabbar/index.taro.d.ts +2 -0
- package/dist/types/tabbar/tabbar.taro.d.ts +14 -0
- package/dist/types/tabbaritem/index.taro.d.ts +2 -0
- package/dist/types/tabbaritem/tabbaritem.taro.d.ts +17 -0
- package/dist/types/table/index.taro.d.ts +2 -0
- package/dist/types/table/table.d.ts +2 -1
- package/dist/types/table/table.taro.d.ts +4 -0
- package/dist/types/table/types.d.ts +1 -1
- package/dist/types/tabpane/index.taro.d.ts +2 -0
- package/dist/types/tabpane/tabpane.taro.d.ts +10 -0
- package/dist/types/tabs/index.taro.d.ts +2 -0
- package/dist/types/tabs/tabs.taro.d.ts +30 -0
- package/dist/types/tag/index.taro.d.ts +2 -0
- package/dist/types/tag/tag.taro.d.ts +16 -0
- package/dist/types/textarea/__test__/textarea.spec.d.ts +1 -0
- package/dist/types/textarea/index.taro.d.ts +2 -0
- package/dist/types/textarea/textarea.taro.d.ts +18 -0
- package/dist/types/timedetail/index.taro.d.ts +2 -0
- package/dist/types/timedetail/timedetail.taro.d.ts +13 -0
- package/dist/types/timepannel/index.taro.d.ts +2 -0
- package/dist/types/timepannel/timepannel.taro.d.ts +8 -0
- package/dist/types/timeselect/index.taro.d.ts +2 -0
- package/dist/types/timeselect/timeselect.taro.d.ts +21 -0
- package/dist/types/toast/Notification.d.ts +6 -4
- package/dist/types/toast/__test__/toast.spec.d.ts +1 -0
- package/dist/types/toast/index.taro.d.ts +2 -0
- package/dist/types/toast/toast.d.ts +21 -0
- package/dist/types/toast/toast.taro.d.ts +29 -0
- package/dist/types/uploader/index.taro.d.ts +2 -0
- package/dist/types/uploader/uploader.d.ts +2 -2
- package/dist/types/uploader/uploader.taro.d.ts +68 -0
- package/dist/types/video/index.taro.d.ts +2 -0
- package/dist/types/virtuallist/index.taro.d.ts +2 -0
- package/dist/types/virtuallist/type.d.ts +1 -1
- package/dist/types/virtuallist/virtuallist.d.ts +2 -1
- package/dist/types/virtuallist/virtuallist.taro.d.ts +4 -0
- package/package.json +18 -7
|
@@ -5,6 +5,69 @@
|
|
|
5
5
|
"css_prefix_text": "nut-icon-",
|
|
6
6
|
"description": "nutui 3.0字体管理",
|
|
7
7
|
"glyphs": [
|
|
8
|
+
{
|
|
9
|
+
"icon_id": "30188161",
|
|
10
|
+
"name": "image-error",
|
|
11
|
+
"font_class": "image-error",
|
|
12
|
+
"unicode": "e60a",
|
|
13
|
+
"unicode_decimal": 58890
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"icon_id": "30187558",
|
|
17
|
+
"name": "image",
|
|
18
|
+
"font_class": "image",
|
|
19
|
+
"unicode": "e609",
|
|
20
|
+
"unicode_decimal": 58889
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"icon_id": "27579944",
|
|
24
|
+
"name": "voice",
|
|
25
|
+
"font_class": "voice",
|
|
26
|
+
"unicode": "e608",
|
|
27
|
+
"unicode_decimal": 58888
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"icon_id": "27574732",
|
|
31
|
+
"name": "play-stop",
|
|
32
|
+
"font_class": "play-stop",
|
|
33
|
+
"unicode": "e604",
|
|
34
|
+
"unicode_decimal": 58884
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"icon_id": "27574733",
|
|
38
|
+
"name": "play-start",
|
|
39
|
+
"font_class": "play-start",
|
|
40
|
+
"unicode": "e605",
|
|
41
|
+
"unicode_decimal": 58885
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"icon_id": "27574749",
|
|
45
|
+
"name": "play-double-back",
|
|
46
|
+
"font_class": "play-double-back",
|
|
47
|
+
"unicode": "e606",
|
|
48
|
+
"unicode_decimal": 58886
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"icon_id": "27574750",
|
|
52
|
+
"name": "play-double-forward",
|
|
53
|
+
"font_class": "play-double-forward",
|
|
54
|
+
"unicode": "e607",
|
|
55
|
+
"unicode_decimal": 58887
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"icon_id": "27276580",
|
|
59
|
+
"name": "dou-arrow-up",
|
|
60
|
+
"font_class": "dou-arrow-up",
|
|
61
|
+
"unicode": "e603",
|
|
62
|
+
"unicode_decimal": 58883
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"icon_id": "1388116",
|
|
66
|
+
"name": "loading2",
|
|
67
|
+
"font_class": "loading1",
|
|
68
|
+
"unicode": "e614",
|
|
69
|
+
"unicode_decimal": 58900
|
|
70
|
+
},
|
|
8
71
|
{
|
|
9
72
|
"icon_id": "21445300",
|
|
10
73
|
"name": "checked",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
@import '../../packages/col/col.scss';
|
|
11
11
|
@import '../../packages/row/row.scss';
|
|
12
12
|
@import '../../packages/divider/divider.scss';
|
|
13
|
+
@import '../../packages/grid/grid.scss';
|
|
14
|
+
@import '../../packages/griditem/griditem.scss';
|
|
13
15
|
@import '../../packages/navbar/navbar.scss';
|
|
14
16
|
@import '../../packages/fixednav/fixednav.scss';
|
|
15
17
|
@import '../../packages/tabbar/tabbar.scss';
|
|
@@ -22,6 +24,8 @@
|
|
|
22
24
|
@import '../../packages/sidenavbar/sidenavbar.scss';
|
|
23
25
|
@import '../../packages/subsidenavbar/subsidenavbar.scss';
|
|
24
26
|
@import '../../packages/sidenavbaritem/sidenavbaritem.scss';
|
|
27
|
+
@import '../../packages/menu/menu.scss';
|
|
28
|
+
@import '../../packages/menuitem/menuitem.scss';
|
|
25
29
|
@import '../../packages/range/range.scss';
|
|
26
30
|
@import '../../packages/calendar/calendar.scss';
|
|
27
31
|
@import '../../packages/checkbox/checkbox.scss';
|
|
@@ -37,6 +41,7 @@
|
|
|
37
41
|
@import '../../packages/shortpassword/shortpassword.scss';
|
|
38
42
|
@import '../../packages/textarea/textarea.scss';
|
|
39
43
|
@import '../../packages/uploader/uploader.scss';
|
|
44
|
+
@import '../../packages/cascader/cascader.scss';
|
|
40
45
|
@import '../../packages/searchbar/searchbar.scss';
|
|
41
46
|
@import '../../packages/numberkeyboard/numberkeyboard.scss';
|
|
42
47
|
@import '../../packages/actionsheet/actionsheet.scss';
|
|
@@ -47,6 +52,7 @@
|
|
|
47
52
|
@import '../../packages/notify/notify.scss';
|
|
48
53
|
@import '../../packages/switch/switch.scss';
|
|
49
54
|
@import '../../packages/toast/toast.scss';
|
|
55
|
+
@import '../../packages/swipe/swipe.scss';
|
|
50
56
|
@import '../../packages/circleprogress/circleprogress.scss';
|
|
51
57
|
@import '../../packages/noticebar/noticebar.scss';
|
|
52
58
|
@import '../../packages/steps/steps.scss';
|
|
@@ -69,6 +75,8 @@
|
|
|
69
75
|
@import '../../packages/table/table.scss';
|
|
70
76
|
@import '../../packages/video/video.scss';
|
|
71
77
|
@import '../../packages/progress/progress.scss';
|
|
78
|
+
@import '../../packages/audio/audio.scss';
|
|
79
|
+
@import '../../packages/imagepreview/imagepreview.scss';
|
|
72
80
|
@import '../../packages/address/address.scss';
|
|
73
81
|
@import '../../packages/barrage/barrage.scss';
|
|
74
82
|
@import '../../packages/signature/signature.scss';
|
|
@@ -194,18 +194,36 @@ $avatar-normal-height: 40px;
|
|
|
194
194
|
$switch-close-bg-color: #ebebeb;
|
|
195
195
|
$switch-close--cline-bg-color: #f0f0f0;
|
|
196
196
|
|
|
197
|
+
// toast
|
|
198
|
+
$toast-title-font-size: 16px !default;
|
|
199
|
+
$toast-text-font-size: 14px !default;
|
|
200
|
+
$toast-font-color: $white !default;
|
|
201
|
+
$toast-inner-padding: 24px 30px !default;
|
|
202
|
+
$toast-inner-bg-color: rgba(0, 0, 0, 0.8) !default;
|
|
203
|
+
$toast-inner-border-radius: 12px !default;
|
|
204
|
+
$toast-cover-bg-color: rgba(0, 0, 0, 0) !default;
|
|
205
|
+
|
|
197
206
|
//backtop
|
|
198
207
|
$backtop-border-color: #e0e0e0;
|
|
199
208
|
|
|
200
209
|
// calendar
|
|
201
|
-
$calendar-primary-color: $primary-color;
|
|
202
|
-
$calendar-choose-color:
|
|
203
|
-
$calendar-
|
|
204
|
-
$calendar-
|
|
205
|
-
$calendar-
|
|
206
|
-
$calendar-base-font: $font-size-3;
|
|
207
|
-
$calendar-
|
|
208
|
-
$calendar-
|
|
210
|
+
$calendar-primary-color: $primary-color !default;
|
|
211
|
+
$calendar-choose-color: rgba($primary-color, 0.09) !default;
|
|
212
|
+
$calendar-choose-font-color: $primary-color !default;
|
|
213
|
+
$calendar-base-color: #333333 !default;
|
|
214
|
+
$calendar-disable-color: #d1d0d0 !default;
|
|
215
|
+
$calendar-base-font: $font-size-3 !default;
|
|
216
|
+
$calendar-title-font: $font-size-4 !default;
|
|
217
|
+
$calendar-title-font-weight: 500 !default;
|
|
218
|
+
$calendar-sub-title-font: $font-size-2 !default;
|
|
219
|
+
$calendar-text-font: $font-size-1 !default;
|
|
220
|
+
$calendar-day-font: 16px !default;
|
|
221
|
+
$calendar-day-active-border-radius: 0px !default;
|
|
222
|
+
$calendar-day-width: 14.28% !default;
|
|
223
|
+
$calendar-day-height: 64px !default;
|
|
224
|
+
$calendar-day-font-weight: 500 !default;
|
|
225
|
+
$calendar-day67-font-color: $primary-color !default;
|
|
226
|
+
$calendar-top-slot-height: 24px !default;
|
|
209
227
|
|
|
210
228
|
//overlay
|
|
211
229
|
$overlay-bg-color: rgba(0, 0, 0, 0.7);
|
|
@@ -221,12 +239,19 @@ $notify-font-size: 14px;
|
|
|
221
239
|
$notify-height: 44px;
|
|
222
240
|
|
|
223
241
|
// NoticeBar
|
|
224
|
-
$
|
|
225
|
-
$
|
|
226
|
-
$
|
|
227
|
-
$
|
|
228
|
-
$
|
|
229
|
-
|
|
242
|
+
$noticebar-background: rgba(251, 248, 220, 1) !default;
|
|
243
|
+
$noticebar-color: #d9500b !default;
|
|
244
|
+
$noticebar-font-size: 14px !default;
|
|
245
|
+
$noticebar-height: 40px !default;
|
|
246
|
+
$noticebar-line-height: 24px !default;
|
|
247
|
+
$noticebar-left-icon-width: 16px !default;
|
|
248
|
+
$noticebar-right-icon-width: 16px !default;
|
|
249
|
+
$noticebar-box-padding: 0 16px !default;
|
|
250
|
+
$noticebar-wrapable-padding: 16px !default;
|
|
251
|
+
$noticebar-lefticon-margin: 0px 10px !default;
|
|
252
|
+
$noticebar-righticon-margin: 0px 10px !default;
|
|
253
|
+
|
|
254
|
+
//notify
|
|
230
255
|
$notify-base-background-color: linear-gradient(
|
|
231
256
|
135deg,
|
|
232
257
|
rgba(250, 44, 25, 1) 0%,
|
|
@@ -468,7 +493,7 @@ $indicator-color: $primary-color !default;
|
|
|
468
493
|
$indicator-dot-color: $disable-color !default;
|
|
469
494
|
$indicator-white: $white !default;
|
|
470
495
|
$indicator-size: 18px !default;
|
|
471
|
-
$indicator-dot-size: calc($indicator-size / 3) !default;
|
|
496
|
+
$indicator-dot-size: calc(#{$indicator-size} / 3) !default;
|
|
472
497
|
$indicator-border-size: $indicator-size + 2 !default;
|
|
473
498
|
$indicator-number-font-size: 10px !default;
|
|
474
499
|
$indicator-dot-margin: 4px !default;
|
|
@@ -631,3 +656,45 @@ $countup-lr-margin: 1px !default;
|
|
|
631
656
|
$countup-bgcolor: #031f63 !default;
|
|
632
657
|
$countup-color: #ffffff !default;
|
|
633
658
|
$countup-width: 24px !default;
|
|
659
|
+
|
|
660
|
+
// menu
|
|
661
|
+
$menu-bar-line-height: 48px !default;
|
|
662
|
+
$menu-item-font-size: $font-size-2 !default;
|
|
663
|
+
$menu-item-text-color: $title-color !default;
|
|
664
|
+
$menu-item-active-text-color: $primary-color !default;
|
|
665
|
+
$menu-bar-border-bottom-color: #eaf0fb !default;
|
|
666
|
+
$menu-bar-opened-z-index: 2001 !default;
|
|
667
|
+
$menu-item-disabled-color: #969799 !default;
|
|
668
|
+
$menu-title-text-padding-left: 8px !default;
|
|
669
|
+
$menu-title-text-padding-right: 8px !default;
|
|
670
|
+
$menu-item-content-padding: 12px 24px !default;
|
|
671
|
+
$menu-item-content-max-height: 214px !default;
|
|
672
|
+
$menu-item-option-padding-top: 12px !default;
|
|
673
|
+
$menu-item-option-padding-bottom: 12px !default;
|
|
674
|
+
$menu-item-option-i-margin-right: 6px !default;
|
|
675
|
+
$menu-bar-box-shadow: 0 2px 12px rgba(89, 89, 89, 0.12) !default;
|
|
676
|
+
$menu-scroll-fixed-top: 0 !default;
|
|
677
|
+
$menu-scroll-fixed-z-index: 1000 !default;
|
|
678
|
+
|
|
679
|
+
// cascader
|
|
680
|
+
$cascader-font-size: 14px !default;
|
|
681
|
+
$cascader-line-height: 22px !default;
|
|
682
|
+
$cascader-tabs-item-padding: 0 10px !default;
|
|
683
|
+
$cascader-title-padding: 24px 20px 17px !default;
|
|
684
|
+
$cascader-title-font-size: 18px !default;
|
|
685
|
+
$cascader-title-line-height: 20px !default;
|
|
686
|
+
$cascader-item-padding: 10px 20px !default;
|
|
687
|
+
$cascader-item-font-size: 14px !default;
|
|
688
|
+
$cascader-item-color: #1a1a1a !default;
|
|
689
|
+
$cascader-item-active-color: #fa2c19 !default;
|
|
690
|
+
$cascader-pane-height: 342px !default;
|
|
691
|
+
$cascader-pane-paddingTop: 10px !default;
|
|
692
|
+
$cascader-icon-checklist-marginLeft: 10px !default;
|
|
693
|
+
|
|
694
|
+
// Grid
|
|
695
|
+
$grid-border-color: #f5f6f7 !default;
|
|
696
|
+
$grid-item-content-padding: 16px 8px !default;
|
|
697
|
+
$grid-item-content-bg-color: $white !default;
|
|
698
|
+
$grid-item-text-margin: 8px !default;
|
|
699
|
+
$grid-item-text-color: $title-color2 !default;
|
|
700
|
+
$grid-item-text-font-size: $font-size-1 !default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export declare type ItemType<T> = {
|
|
3
|
+
[key: string]: T;
|
|
4
|
+
};
|
|
5
|
+
export interface ActionSheetProps {
|
|
6
|
+
cancelTxt: string;
|
|
7
|
+
optionTag: string;
|
|
8
|
+
optionSubTag: string;
|
|
9
|
+
chooseTagValue: string;
|
|
10
|
+
title: string;
|
|
11
|
+
color: string;
|
|
12
|
+
description: string;
|
|
13
|
+
menuItems: ItemType<string | boolean>[];
|
|
14
|
+
cancel: () => void;
|
|
15
|
+
choose: (item: any, index: number) => void;
|
|
16
|
+
visible: boolean;
|
|
17
|
+
className: string;
|
|
18
|
+
style: React.CSSProperties;
|
|
19
|
+
}
|
|
20
|
+
export declare const ActionSheet: FunctionComponent<Partial<ActionSheetProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React, { FunctionComponent, CSSProperties } from 'react';
|
|
2
|
+
import { RegionData, ChangeCallBack, CloseCallBack, AddressList } from './type';
|
|
3
|
+
export interface AddressProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
modelValue: boolean;
|
|
7
|
+
modelSelect: (string | number)[];
|
|
8
|
+
type: string;
|
|
9
|
+
customAddressTitle: string;
|
|
10
|
+
province: RegionData[];
|
|
11
|
+
city: RegionData[];
|
|
12
|
+
country: RegionData[];
|
|
13
|
+
town: RegionData[];
|
|
14
|
+
isShowCustomAddress: boolean;
|
|
15
|
+
existAddress: AddressList[];
|
|
16
|
+
existAddressTitle: string;
|
|
17
|
+
customAndExistTitle: string;
|
|
18
|
+
height: string | number;
|
|
19
|
+
defaultIcon: string;
|
|
20
|
+
selectedIcon: string;
|
|
21
|
+
closeBtnIcon: string;
|
|
22
|
+
backBtnIcon: string;
|
|
23
|
+
onSelected?: (prevExistAdd: AddressList, item: AddressList, copyExistAdd: AddressList[]) => void;
|
|
24
|
+
onClose?: (cal: CloseCallBack) => void;
|
|
25
|
+
closeMask?: (cal: {
|
|
26
|
+
closeWay: string;
|
|
27
|
+
}) => void;
|
|
28
|
+
switchModule?: (cal: {
|
|
29
|
+
type: string;
|
|
30
|
+
}) => void;
|
|
31
|
+
onChange?: (cal: ChangeCallBack) => void;
|
|
32
|
+
onTabChecked?: (cal: string) => void;
|
|
33
|
+
}
|
|
34
|
+
export declare const Address: FunctionComponent<Partial<AddressProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
export interface AnimatingNumbersProps {
|
|
3
|
+
}
|
|
4
|
+
declare type AnimatingNumbersStates = {};
|
|
5
|
+
export declare class AnimatingNumbers extends Component<AnimatingNumbersProps, AnimatingNumbersStates> {
|
|
6
|
+
static defaultProps: AnimatingNumbersProps;
|
|
7
|
+
static displayName: string;
|
|
8
|
+
static CountUp: React.FunctionComponent<Partial<import("./countup.taro").CountUpProps>>;
|
|
9
|
+
constructor(props: AnimatingNumbersProps);
|
|
10
|
+
render(): JSX.Element;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface CountUpProps {
|
|
3
|
+
maxLen: number;
|
|
4
|
+
endNumber: string;
|
|
5
|
+
delaySpeed?: number;
|
|
6
|
+
easeSpeed: number;
|
|
7
|
+
thousands: boolean;
|
|
8
|
+
className: string;
|
|
9
|
+
style: React.CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
export declare const CountUp: FunctionComponent<Partial<CountUpProps>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { CSSProperties, FunctionComponent, ReactEventHandler } from 'react';
|
|
2
|
+
export interface AudioProps {
|
|
3
|
+
className: string;
|
|
4
|
+
style: CSSProperties;
|
|
5
|
+
url: string;
|
|
6
|
+
muted: boolean;
|
|
7
|
+
autoplay: boolean;
|
|
8
|
+
loop: boolean;
|
|
9
|
+
preload: string;
|
|
10
|
+
type: string;
|
|
11
|
+
onFastBack: (e: HTMLAudioElement) => void;
|
|
12
|
+
onForward: (e: HTMLAudioElement) => void;
|
|
13
|
+
onPause: ((e: HTMLAudioElement) => void) & ReactEventHandler<HTMLAudioElement>;
|
|
14
|
+
onPlayEnd: (e: HTMLAudioElement) => void;
|
|
15
|
+
onMute: (e: HTMLAudioElement) => void;
|
|
16
|
+
onCanPlay: ((e: HTMLAudioElement) => void) & ReactEventHandler<HTMLAudioElement>;
|
|
17
|
+
}
|
|
18
|
+
export declare const Audio: FunctionComponent<Partial<AudioProps> & React.HTMLAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { CSSProperties, FunctionComponent, ReactEventHandler } from 'react';
|
|
2
|
+
export interface AudioProps {
|
|
3
|
+
className: string;
|
|
4
|
+
style: CSSProperties;
|
|
5
|
+
url: string;
|
|
6
|
+
muted: boolean;
|
|
7
|
+
autoplay: boolean;
|
|
8
|
+
loop: boolean;
|
|
9
|
+
preload: string;
|
|
10
|
+
type: string;
|
|
11
|
+
onFastBack: (e: HTMLAudioElement) => void;
|
|
12
|
+
onForward: (e: HTMLAudioElement) => void;
|
|
13
|
+
onPause: ((e: HTMLAudioElement) => void) & ReactEventHandler<HTMLAudioElement>;
|
|
14
|
+
onPlayEnd: (e: HTMLAudioElement) => void;
|
|
15
|
+
onMute: (e: HTMLAudioElement) => void;
|
|
16
|
+
onCanPlay: ((e: HTMLAudioElement) => void) & ReactEventHandler<HTMLAudioElement>;
|
|
17
|
+
}
|
|
18
|
+
export declare const Audio: FunctionComponent<Partial<AudioProps> & React.HTMLAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface AvatarProps {
|
|
3
|
+
size: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
shape: AvatarShape;
|
|
6
|
+
bgColor: string;
|
|
7
|
+
color: string;
|
|
8
|
+
prefixCls: string;
|
|
9
|
+
url: string;
|
|
10
|
+
className: string;
|
|
11
|
+
alt: string;
|
|
12
|
+
style: React.CSSProperties;
|
|
13
|
+
activeAvatar: (e: MouseEvent) => void;
|
|
14
|
+
onError: (e: any) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare type AvatarShape = 'round' | 'square';
|
|
17
|
+
export declare const Avatar: FunctionComponent<Partial<AvatarProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface BackTopProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
bottom: number;
|
|
5
|
+
right: number;
|
|
6
|
+
elId: string;
|
|
7
|
+
distance: number;
|
|
8
|
+
zIndex: number;
|
|
9
|
+
isAnimation: boolean;
|
|
10
|
+
duration: number;
|
|
11
|
+
children?: HTMLElement | any;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
onClick?: (event: MouseEvent) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const BackTop: FunctionComponent<Partial<BackTopProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FunctionComponent, ReactNode } from 'react';
|
|
2
|
+
export interface BadgeProps {
|
|
3
|
+
value: any;
|
|
4
|
+
dot: boolean;
|
|
5
|
+
max: number;
|
|
6
|
+
top: string;
|
|
7
|
+
right: string;
|
|
8
|
+
zIndex: string;
|
|
9
|
+
color: string;
|
|
10
|
+
icons: any;
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare type BadgeType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
14
|
+
export declare const Badge: FunctionComponent<Partial<BadgeProps>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface BarrageProps {
|
|
3
|
+
className: string;
|
|
4
|
+
style: React.CSSProperties;
|
|
5
|
+
barrageList: Array<string>;
|
|
6
|
+
frequency: number;
|
|
7
|
+
loop: boolean;
|
|
8
|
+
speeds: number;
|
|
9
|
+
rows: number;
|
|
10
|
+
top: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const Barrage: React.ForwardRefExoticComponent<Partial<BarrageProps> & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface ButtonProps {
|
|
3
|
+
className: string;
|
|
4
|
+
color: string;
|
|
5
|
+
shape: ButtonShape;
|
|
6
|
+
plain: boolean;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
style: React.CSSProperties;
|
|
10
|
+
type: ButtonType;
|
|
11
|
+
size: ButtonSize;
|
|
12
|
+
block: boolean;
|
|
13
|
+
icon: string;
|
|
14
|
+
children: any;
|
|
15
|
+
onClick: (e: MouseEvent) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare type ButtonType = 'default' | 'primary' | 'info' | 'success' | 'warning' | 'danger';
|
|
18
|
+
export declare type ButtonSize = 'large' | 'normal' | 'small';
|
|
19
|
+
export declare type ButtonShape = 'square' | 'round';
|
|
20
|
+
export declare const Button: FunctionComponent<Partial<ButtonProps>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type CalendarRef = {
|
|
3
|
+
scrollToDate: (date: string) => void;
|
|
4
|
+
};
|
|
5
|
+
interface Day {
|
|
6
|
+
day: string | number;
|
|
7
|
+
type: string;
|
|
8
|
+
}
|
|
2
9
|
export interface CalendarProps {
|
|
3
10
|
type?: string;
|
|
4
11
|
isAutoBackFill?: boolean;
|
|
@@ -8,7 +15,20 @@ export interface CalendarProps {
|
|
|
8
15
|
defaultValue?: string | string[];
|
|
9
16
|
startDate?: string;
|
|
10
17
|
endDate?: string;
|
|
18
|
+
showToday?: boolean;
|
|
19
|
+
startText?: string;
|
|
20
|
+
endText?: string;
|
|
21
|
+
confirmText?: string;
|
|
22
|
+
showTitle?: boolean;
|
|
23
|
+
showSubTitle?: boolean;
|
|
24
|
+
toDateAnimation?: boolean;
|
|
25
|
+
onBtn?: (() => string | JSX.Element) | undefined;
|
|
26
|
+
onDay?: ((date: Day) => string | JSX.Element) | undefined;
|
|
27
|
+
onTopInfo?: ((date: Day) => string | JSX.Element) | undefined;
|
|
28
|
+
onBottomInfo?: ((date: Day) => string | JSX.Element) | undefined;
|
|
11
29
|
onClose?: () => void;
|
|
12
30
|
onChoose?: (param: string) => void;
|
|
31
|
+
onSelected?: (data: string) => void;
|
|
13
32
|
}
|
|
14
|
-
export declare const Calendar:
|
|
33
|
+
export declare const Calendar: React.ForwardRefExoticComponent<Partial<CalendarProps> & Omit<React.HTMLAttributes<HTMLDivElement>, ""> & React.RefAttributes<CalendarRef>>;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface CalendarProps {
|
|
3
|
+
type?: string;
|
|
4
|
+
isAutoBackFill?: boolean;
|
|
5
|
+
poppable?: boolean;
|
|
6
|
+
visible?: boolean;
|
|
7
|
+
title?: string;
|
|
8
|
+
defaultValue?: string | string[];
|
|
9
|
+
startDate?: string;
|
|
10
|
+
endDate?: string;
|
|
11
|
+
onClose?: () => void;
|
|
12
|
+
onChoose?: (param: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const Calendar: FunctionComponent<Partial<CalendarProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type CalendarRef = {
|
|
3
|
+
scrollToDate: (date: string) => void;
|
|
4
|
+
};
|
|
2
5
|
declare type InputDate = string | string[];
|
|
6
|
+
interface Day {
|
|
7
|
+
day: string | number;
|
|
8
|
+
type: string;
|
|
9
|
+
}
|
|
3
10
|
export interface CalendarItemProps {
|
|
4
11
|
type?: string;
|
|
5
12
|
isAutoBackFill?: boolean;
|
|
@@ -9,9 +16,20 @@ export interface CalendarItemProps {
|
|
|
9
16
|
defaultValue: InputDate;
|
|
10
17
|
startDate?: InputDate;
|
|
11
18
|
endDate?: InputDate;
|
|
19
|
+
showToday?: boolean;
|
|
20
|
+
startText?: string;
|
|
21
|
+
endText?: string;
|
|
22
|
+
confirmText?: string;
|
|
23
|
+
showTitle?: boolean;
|
|
24
|
+
showSubTitle?: boolean;
|
|
25
|
+
toDateAnimation?: boolean;
|
|
26
|
+
onBtn?: (() => string | JSX.Element) | undefined;
|
|
27
|
+
onDay?: ((date: Day) => string | JSX.Element) | undefined;
|
|
28
|
+
onTopInfo?: ((date: Day) => string | JSX.Element) | undefined;
|
|
29
|
+
onBottomInfo?: ((date: Day) => string | JSX.Element) | undefined;
|
|
12
30
|
onChoose?: (data: any) => void;
|
|
13
31
|
onUpdate?: () => void;
|
|
14
|
-
|
|
32
|
+
onSelected?: (data: string) => void;
|
|
15
33
|
}
|
|
16
|
-
export declare const CalendarItem:
|
|
34
|
+
export declare const CalendarItem: React.ForwardRefExoticComponent<Partial<CalendarItemProps> & Omit<React.HTMLAttributes<HTMLDivElement>, ""> & React.RefAttributes<CalendarRef>>;
|
|
17
35
|
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
declare type InputDate = string | string[];
|
|
3
|
+
export interface CalendarItemProps {
|
|
4
|
+
type?: string;
|
|
5
|
+
isAutoBackFill?: boolean;
|
|
6
|
+
poppable?: boolean;
|
|
7
|
+
visible?: boolean;
|
|
8
|
+
title?: string;
|
|
9
|
+
defaultValue: InputDate;
|
|
10
|
+
startDate?: InputDate;
|
|
11
|
+
endDate?: InputDate;
|
|
12
|
+
onChoose?: (data: any) => void;
|
|
13
|
+
onUpdate?: () => void;
|
|
14
|
+
onClose?: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const CalendarItem: FunctionComponent<Partial<CalendarItemProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface CardProps {
|
|
3
|
+
imgUrl: string;
|
|
4
|
+
title: string;
|
|
5
|
+
price: string;
|
|
6
|
+
vipPrice: string;
|
|
7
|
+
shopDesc: string;
|
|
8
|
+
delivery: string;
|
|
9
|
+
shopName: string;
|
|
10
|
+
className: string;
|
|
11
|
+
style: React.CSSProperties;
|
|
12
|
+
prolistTpl: React.ReactNode;
|
|
13
|
+
shopTagTpl: React.ReactNode;
|
|
14
|
+
originTpl: React.ReactNode;
|
|
15
|
+
footerTpl: React.ReactNode;
|
|
16
|
+
}
|
|
17
|
+
export declare const Card: FunctionComponent<Partial<CardProps> & React.HTMLAttributes<HTMLDivElement>>;
|