@nutui/nutui-react-taro 1.3.3 → 1.3.4
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 +21 -0
- package/README.md +3 -2
- package/dist/esm/ActionSheet.js +3 -3
- package/dist/esm/Address.js +3 -3
- package/dist/esm/Audio.js +6 -7
- package/dist/esm/Avatar.js +2 -2
- package/dist/esm/BackTop.js +2 -2
- package/dist/esm/Badge.js +2 -2
- package/dist/esm/Barrage.js +2 -2
- package/dist/esm/Button.js +2 -2
- package/dist/esm/Calendar.js +3 -3
- package/dist/esm/Card.js +3 -3
- package/dist/esm/Cascader.js +4 -4
- package/dist/esm/Cell.js +2 -2
- package/dist/esm/Checkbox.js +2 -2
- package/dist/esm/CircleProgress.js +2 -2
- package/dist/esm/CollapseItem.js +2 -2
- package/dist/esm/DatePicker.js +4 -4
- package/dist/esm/Dialog.js +3 -3
- package/dist/esm/FixedNav.js +2 -2
- package/dist/esm/GridItem.js +2 -2
- package/dist/esm/ImagePreview.js +5 -5
- package/dist/esm/Infiniteloading.js +4 -2
- package/dist/esm/Input.js +2 -2
- package/dist/esm/InputNumber.js +2 -2
- package/dist/esm/Menu.js +2 -2
- package/dist/esm/MenuItem.js +2 -2
- package/dist/esm/NavBar.js +2 -2
- package/dist/esm/NoticeBar.js +2 -2
- package/dist/esm/Notify.js +2 -3
- package/dist/esm/NumberKeyboard.js +3 -3
- package/dist/esm/Picker.js +3 -3
- package/dist/esm/Popover.js +2 -2
- package/dist/esm/Popup.js +2 -2
- package/dist/esm/Progress.js +2 -2
- package/dist/esm/PullToRefresh.js +2 -2
- package/dist/esm/Radio.js +2 -2
- package/dist/esm/Range.js +3 -5
- package/dist/esm/Rate.js +2 -2
- package/dist/esm/SearchBar.js +2 -2
- package/dist/esm/ShortPassword.js +3 -3
- package/dist/esm/SideNavBar.js +3 -3
- package/dist/esm/Signature.js +3 -3
- package/dist/esm/Skeleton.js +3 -3
- package/dist/esm/Step.js +2 -2
- package/dist/esm/Sticky/style/index.js +2 -0
- package/dist/esm/Sticky.js +5 -0
- package/dist/esm/Swiper.js +3 -3
- package/dist/esm/TabbarItem.js +2 -2
- package/dist/esm/Table.js +2 -2
- package/dist/esm/Tabs.js +2 -2
- package/dist/esm/Tag.js +2 -2
- package/dist/esm/TimeSelect.js +3 -3
- package/dist/esm/Toast.js +2 -4
- package/dist/esm/Uploader.js +8 -4
- package/dist/esm/{actionsheet.taro-08b7eab2.js → actionsheet.taro-360d8d34.js} +1 -1
- package/dist/esm/{address.taro-5f8dbfc3.js → address.taro-7540c626.js} +8 -6
- package/dist/esm/{audio.taro-327472dc.js → audio.taro-ab2528b2.js} +105 -148
- package/dist/esm/{avatar.taro-766690a4.js → avatar.taro-ec620cdd.js} +5 -3
- package/dist/esm/{backtop.taro-c414da6c.js → backtop.taro-aa8b2bc5.js} +5 -3
- package/dist/esm/{badge.taro-351d0088.js → badge.taro-38684262.js} +5 -3
- package/dist/esm/{barrage.taro-efac8422.js → barrage.taro-d86c367a.js} +3 -10
- package/dist/esm/{button.taro-7074924f.js → button.taro-a9ebb937.js} +7 -5
- package/dist/esm/{calendar.taro-156a74c0.js → calendar.taro-438940bd.js} +1 -1
- package/dist/esm/{card.taro-f81f1b5c.js → card.taro-1bc35ebe.js} +1 -1
- package/dist/esm/{cascader.taro-39402f43.js → cascader.taro-35387092.js} +2 -2
- package/dist/esm/{cell.taro-075998e0.js → cell.taro-a4c3bb7b.js} +7 -5
- package/dist/esm/{checkbox.taro-62677b5e.js → checkbox.taro-104557c1.js} +2 -2
- package/dist/esm/{circleprogress.taro-1a38e1c6.js → circleprogress.taro-3c89a157.js} +85 -51
- package/dist/esm/{collapseitem-246e1699.js → collapseitem-75843a5e.js} +13 -9
- package/dist/esm/{datepicker.taro-e0e58f39.js → datepicker.taro-1acec61f.js} +1 -1
- package/dist/esm/{dialog.taro-7e9249e7.js → dialog.taro-54c67e08.js} +8 -6
- package/dist/esm/{fixednav.taro-9ee2dbea.js → fixednav.taro-582322a1.js} +5 -3
- package/dist/esm/{griditem.taro-a2ad1edd.js → griditem.taro-866cd288.js} +5 -3
- package/dist/esm/{imagepreview.taro-99659d6a.js → imagepreview.taro-3f1c7638.js} +2 -2
- package/dist/esm/{infiniteloading.taro-aa47eb1e.js → infiniteloading.taro-9701755f.js} +84 -113
- package/dist/esm/{input.taro-32fac7f7.js → input.taro-2453d7c4.js} +9 -7
- package/dist/esm/{inputnumber.taro-83d108b3.js → inputnumber.taro-0cf7c1b7.js} +7 -5
- package/dist/esm/{menu.taro-8330048e.js → menu.taro-9345dcfd.js} +5 -3
- package/dist/esm/{menuitem.taro-818c9e83.js → menuitem.taro-fc0961b7.js} +31 -14
- package/dist/esm/{navbar.taro-05d293bb.js → navbar.taro-c931c078.js} +7 -5
- package/dist/esm/{noticebar.taro-6845f9ab.js → noticebar.taro-1fa04a96.js} +9 -7
- package/dist/esm/{notify.taro-22b8f4cd.js → notify.taro-0d9cfb07.js} +38 -5
- package/dist/esm/{numberkeyboard.taro-6ff18124.js → numberkeyboard.taro-53c350b8.js} +1 -1
- package/dist/esm/nutui-react.es.js +54 -53
- package/dist/esm/{picker.taro-a3f311a0.js → picker.taro-6a4dad23.js} +1 -1
- package/dist/esm/{popover.taro-604c3116.js → popover.taro-eddd0bd2.js} +5 -3
- package/dist/esm/{popup.taro-d74c3422.js → popup.taro-33d0bbc8.js} +5 -3
- package/dist/esm/{progress.taro-57e1a455.js → progress.taro-623bc807.js} +5 -3
- package/dist/esm/{pulltorefresh.taro-8846f019.js → pulltorefresh.taro-e66c78ad.js} +0 -0
- package/dist/esm/{radio.taro-64546f70.js → radio.taro-95d43860.js} +5 -3
- package/dist/esm/{range.taro-ef3b30f0.js → range.taro-141a0163.js} +35 -12
- package/dist/esm/{rate.taro-0119c0e9.js → rate.taro-5077b962.js} +7 -5
- package/dist/esm/{searchbar.taro-2fff1f66.js → searchbar.taro-f134fb96.js} +5 -3
- package/dist/esm/{shortpassword.taro-d39e038d.js → shortpassword.taro-2e96ca22.js} +6 -4
- package/dist/esm/{sidenavbar.taro-48b136b4.js → sidenavbar.taro-87f056cd.js} +1 -1
- package/dist/esm/{signature.taro-3dbc7030.js → signature.taro-a9286cd1.js} +1 -1
- package/dist/esm/{skeleton.taro-112de52a.js → skeleton.taro-b9ff84b9.js} +1 -1
- package/dist/esm/{step.taro-8c2ba0bb.js → step.taro-f1057500.js} +5 -3
- package/dist/esm/sticky.taro-30d4e453.js +23 -0
- package/dist/esm/{swiper.taro-448cd0ad.js → swiper.taro-58ed323b.js} +4 -4
- package/dist/esm/{tabbaritem.taro-8c0a0a3b.js → tabbaritem.taro-94cd62c2.js} +5 -3
- package/dist/esm/{table.taro-04f9ec51.js → table.taro-7ac89a6c.js} +5 -3
- package/dist/esm/{tabs.taro-7bb22cb5.js → tabs.taro-86186dff.js} +12 -13
- package/dist/esm/{tag.taro-81dcc92d.js → tag.taro-95d7f5c2.js} +5 -3
- package/dist/esm/{timeselect.taro-5b6ed203.js → timeselect.taro-73796bfc.js} +1 -1
- package/dist/esm/toast.taro-cd22a0d7.js +167 -0
- package/dist/esm/types/src/packages/audio/audio.taro.d.ts +13 -14
- package/dist/esm/types/src/packages/button/demo.d.ts +1 -0
- package/dist/esm/types/src/packages/collapseitem/collapseitem.d.ts +1 -0
- package/dist/esm/types/src/packages/drag/drag.d.ts +1 -1
- package/dist/esm/types/src/packages/drag/drag.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/fixednav/fixednav.d.ts +1 -1
- package/dist/esm/types/src/packages/fixednav/fixednav.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/griditem/griditem.d.ts +1 -1
- package/dist/esm/types/src/packages/griditem/griditem.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/infiniteloading/infiniteloading.d.ts +3 -3
- package/dist/esm/types/src/packages/infiniteloading/infiniteloading.taro.d.ts +4 -6
- package/dist/esm/types/src/packages/input/input.d.ts +1 -1
- package/dist/esm/types/src/packages/input/input.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/menuitem/menuitem.d.ts +1 -1
- package/dist/esm/types/src/packages/menuitem/menuitem.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/nutui.react.build.d.ts +2 -1
- package/dist/esm/types/src/packages/nutui.react.d.ts +3 -1
- package/dist/esm/types/src/packages/nutui.react.scss.d.ts +1 -0
- package/dist/esm/types/src/packages/nutui.react.taro.d.ts +3 -1
- package/dist/esm/types/src/packages/nutui.taro.react.build.d.ts +2 -1
- package/dist/esm/types/src/packages/popover/popover.d.ts +1 -1
- package/dist/esm/types/src/packages/popover/popover.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/progress/progress.d.ts +1 -1
- package/dist/esm/types/src/packages/progress/progress.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/radio/radio.d.ts +1 -1
- package/dist/esm/types/src/packages/radio/radio.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/sticky/__test__/sticky.spec.d.ts +1 -0
- package/dist/esm/types/src/packages/sticky/demo.d.ts +3 -0
- package/dist/esm/types/src/packages/sticky/index.d.ts +2 -0
- package/dist/esm/types/src/packages/sticky/index.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/sticky/sticky.d.ts +13 -0
- package/dist/esm/types/src/packages/sticky/sticky.taro.d.ts +4 -0
- package/dist/esm/types/src/packages/tabs/tabs.d.ts +1 -1
- package/dist/esm/types/src/packages/tabs/tabs.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/toast/index.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/toast/toast.taro.d.ts +11 -17
- package/dist/esm/types/src/packages/uploader/demo.d.ts +1 -0
- package/dist/esm/types/src/packages/uploader/upload.d.ts +4 -0
- package/dist/esm/types/src/packages/uploader/uploader.d.ts +16 -12
- package/dist/esm/types/src/packages/uploader/uploader.taro.d.ts +39 -19
- package/dist/esm/types/src/utils/date.d.ts +1 -1
- package/dist/esm/types/src/utils/useWatch.d.ts +6 -0
- package/dist/esm/{uploader.taro-4fd5dd3c.js → uploader.taro-6184abe7.js} +181 -131
- 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 +1357 -1235
- package/dist/nutui.react.umd.js +1356 -1233
- package/dist/packages/barrage/barrage.scss +7 -2
- package/dist/packages/circleprogress/circleprogress.scss +3 -0
- package/dist/packages/sticky/sticky.scss +0 -0
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/themes/default.scss +1 -0
- package/dist/types/index.d.ts +75 -64
- package/dist/types/nutui.taro.react.build.ts +3 -1
- package/package.json +10 -5
- package/dist/esm/render-4a3856cb.js +0 -32
- package/dist/esm/toast.taro-d4ecd6af.js +0 -300
|
@@ -1,89 +1,90 @@
|
|
|
1
|
-
export { B as Button } from './button.taro-
|
|
2
|
-
export { C as Cell } from './cell.taro-
|
|
1
|
+
export { B as Button } from './button.taro-a9ebb937.js';
|
|
2
|
+
export { C as Cell } from './cell.taro-a4c3bb7b.js';
|
|
3
3
|
export { C as CellGroup } from './cellgroup.taro-8c87bf08.js';
|
|
4
4
|
export { I as Icon } from './icon.taro-1d0d4fb7.js';
|
|
5
5
|
export { O as Overlay } from './overlay.taro-be45fed5.js';
|
|
6
|
-
export { P as Popup } from './popup.taro-
|
|
6
|
+
export { P as Popup } from './popup.taro-33d0bbc8.js';
|
|
7
7
|
export { C as ConfigProvider } from './configprovider.taro-6c7b3056.js';
|
|
8
8
|
export { L as Layout } from './layout.taro-358f014f.js';
|
|
9
9
|
export { C as Col } from './col.taro-2a437387.js';
|
|
10
10
|
export { R as Row } from './row.taro-cec13a7e.js';
|
|
11
11
|
export { D as Divider } from './divider.taro-5236fe6a.js';
|
|
12
12
|
export { G as Grid } from './grid.taro-5d75c0ad.js';
|
|
13
|
-
export { G as GridItem } from './griditem.taro-
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
13
|
+
export { G as GridItem } from './griditem.taro-866cd288.js';
|
|
14
|
+
export { S as Sticky } from './sticky.taro-30d4e453.js';
|
|
15
|
+
export { N as NavBar } from './navbar.taro-c931c078.js';
|
|
16
|
+
export { F as FixedNav } from './fixednav.taro-582322a1.js';
|
|
16
17
|
export { T as Tabbar } from './tabbar.taro-da72fa2c.js';
|
|
17
|
-
export { T as TabbarItem } from './tabbaritem.taro-
|
|
18
|
+
export { T as TabbarItem } from './tabbaritem.taro-94cd62c2.js';
|
|
18
19
|
export { E as Elevator } from './elevator.taro-8e385785.js';
|
|
19
20
|
export { P as Pagination } from './pagination.taro-62bbd23f.js';
|
|
20
|
-
export { T as Tabs } from './tabs.taro-
|
|
21
|
+
export { T as Tabs } from './tabs.taro-86186dff.js';
|
|
21
22
|
export { T as TabPane } from './tabpane.taro-95aa185b.js';
|
|
22
23
|
export { I as Indicator } from './indicator.taro-183ea169.js';
|
|
23
|
-
export { S as SideNavBar } from './sidenavbar.taro-
|
|
24
|
+
export { S as SideNavBar } from './sidenavbar.taro-87f056cd.js';
|
|
24
25
|
export { S as SubSideNavBar } from './subsidenavbar.taro-2c1fcf16.js';
|
|
25
26
|
export { S as SideNavBarItem } from './sidenavbaritem.taro-77e077f4.js';
|
|
26
|
-
export { M as Menu } from './menu.taro-
|
|
27
|
-
export { M as MenuItem } from './menuitem.taro-
|
|
28
|
-
export { R as Range } from './range.taro-
|
|
29
|
-
export { C as Calendar } from './calendar.taro-
|
|
30
|
-
export { C as Checkbox } from './checkbox.taro-
|
|
27
|
+
export { M as Menu } from './menu.taro-9345dcfd.js';
|
|
28
|
+
export { M as MenuItem } from './menuitem.taro-fc0961b7.js';
|
|
29
|
+
export { R as Range } from './range.taro-141a0163.js';
|
|
30
|
+
export { C as Calendar } from './calendar.taro-438940bd.js';
|
|
31
|
+
export { C as Checkbox } from './checkbox.taro-104557c1.js';
|
|
31
32
|
export { C as CheckboxGroup } from './checkboxgroup.taro-3d380042.js';
|
|
32
|
-
export { D as DatePicker } from './datepicker.taro-
|
|
33
|
-
export { I as InputNumber } from './inputnumber.taro-
|
|
34
|
-
export { I as Input } from './input.taro-
|
|
35
|
-
export { R as Radio } from './radio.taro-
|
|
33
|
+
export { D as DatePicker } from './datepicker.taro-1acec61f.js';
|
|
34
|
+
export { I as InputNumber } from './inputnumber.taro-0cf7c1b7.js';
|
|
35
|
+
export { I as Input } from './input.taro-2453d7c4.js';
|
|
36
|
+
export { R as Radio } from './radio.taro-95d43860.js';
|
|
36
37
|
export { R as RadioGroup } from './radiogroup.taro-b5dad516.js';
|
|
37
|
-
export { R as Rate } from './rate.taro-
|
|
38
|
+
export { R as Rate } from './rate.taro-5077b962.js';
|
|
38
39
|
export { C as CalendarItem } from './calendaritem.taro-11333579.js';
|
|
39
|
-
export { P as Picker } from './picker.taro-
|
|
40
|
-
export { S as ShortPassword } from './shortpassword.taro-
|
|
40
|
+
export { P as Picker } from './picker.taro-6a4dad23.js';
|
|
41
|
+
export { S as ShortPassword } from './shortpassword.taro-2e96ca22.js';
|
|
41
42
|
export { T as TextArea } from './textarea.taro-388d1f90.js';
|
|
42
|
-
export { U as Uploader } from './uploader.taro-
|
|
43
|
-
export { C as Cascader } from './cascader.taro-
|
|
44
|
-
export { S as SearchBar } from './searchbar.taro-
|
|
45
|
-
export { N as NumberKeyboard } from './numberkeyboard.taro-
|
|
46
|
-
export { A as ActionSheet } from './actionsheet.taro-
|
|
47
|
-
export { B as BackTop } from './backtop.taro-
|
|
43
|
+
export { U as Uploader } from './uploader.taro-6184abe7.js';
|
|
44
|
+
export { C as Cascader } from './cascader.taro-35387092.js';
|
|
45
|
+
export { S as SearchBar } from './searchbar.taro-f134fb96.js';
|
|
46
|
+
export { N as NumberKeyboard } from './numberkeyboard.taro-53c350b8.js';
|
|
47
|
+
export { A as ActionSheet } from './actionsheet.taro-360d8d34.js';
|
|
48
|
+
export { B as BackTop } from './backtop.taro-aa8b2bc5.js';
|
|
48
49
|
export { D as Drag } from './drag.taro-56e8c87a.js';
|
|
49
|
-
export { D as Dialog } from './dialog.taro-
|
|
50
|
-
export { I as Infiniteloading } from './infiniteloading.taro-
|
|
51
|
-
export { N as Notify } from './notify.taro-
|
|
50
|
+
export { D as Dialog } from './dialog.taro-54c67e08.js';
|
|
51
|
+
export { I as Infiniteloading } from './infiniteloading.taro-9701755f.js';
|
|
52
|
+
export { N as Notify } from './notify.taro-0d9cfb07.js';
|
|
52
53
|
export { S as Switch } from './switch.taro-be5eb823.js';
|
|
53
|
-
export { T as Toast } from './toast.taro-
|
|
54
|
+
export { T as Toast } from './toast.taro-cd22a0d7.js';
|
|
54
55
|
export { S as Swipe } from './swipe.taro-dfb9a049.js';
|
|
55
|
-
export { P as PullToRefresh } from './pulltorefresh.taro-
|
|
56
|
-
export { C as CircleProgress } from './circleprogress.taro-
|
|
57
|
-
export { N as NoticeBar } from './noticebar.taro-
|
|
56
|
+
export { P as PullToRefresh } from './pulltorefresh.taro-e66c78ad.js';
|
|
57
|
+
export { C as CircleProgress } from './circleprogress.taro-3c89a157.js';
|
|
58
|
+
export { N as NoticeBar } from './noticebar.taro-1fa04a96.js';
|
|
58
59
|
export { S as Steps } from './steps.taro-943f4fbb.js';
|
|
59
|
-
export { S as Step } from './step.taro-
|
|
60
|
-
export { S as Swiper } from './swiper.taro-
|
|
60
|
+
export { S as Step } from './step.taro-f1057500.js';
|
|
61
|
+
export { S as Swiper } from './swiper.taro-58ed323b.js';
|
|
61
62
|
export { S as SwiperItem } from './swiperitem-d00e7513.js';
|
|
62
|
-
export { A as Avatar } from './avatar.taro-
|
|
63
|
+
export { A as Avatar } from './avatar.taro-ec620cdd.js';
|
|
63
64
|
export { A as AvatarGroup } from './avatargroup-5b2584d9.js';
|
|
64
65
|
export { P as Price } from './price.taro-97393d8f.js';
|
|
65
|
-
export { B as Badge } from './badge.taro-
|
|
66
|
-
export { T as Tag } from './tag.taro-
|
|
67
|
-
export { P as Popover } from './popover.taro-
|
|
68
|
-
export { S as Skeleton } from './skeleton.taro-
|
|
66
|
+
export { B as Badge } from './badge.taro-38684262.js';
|
|
67
|
+
export { T as Tag } from './tag.taro-95d7f5c2.js';
|
|
68
|
+
export { P as Popover } from './popover.taro-eddd0bd2.js';
|
|
69
|
+
export { S as Skeleton } from './skeleton.taro-b9ff84b9.js';
|
|
69
70
|
export { C as CountDown } from './countdown.taro-f2d9ffed.js';
|
|
70
71
|
export { C as Collapse } from './collapse.taro-72e58ba2.js';
|
|
71
|
-
export { C as CollapseItem } from './collapseitem-
|
|
72
|
+
export { C as CollapseItem } from './collapseitem-75843a5e.js';
|
|
72
73
|
export { A as AnimatingNumbers } from './animatingnumbers.taro-877baa98.js';
|
|
73
74
|
export { E as Empty } from './empty.taro-ab9c4f03.js';
|
|
74
75
|
export { V as VirtualList } from './virtuallist.taro-6858f690.js';
|
|
75
|
-
export { T as Table } from './table.taro-
|
|
76
|
+
export { T as Table } from './table.taro-7ac89a6c.js';
|
|
76
77
|
export { V as Video } from './video-c1090c92.js';
|
|
77
|
-
export { P as Progress } from './progress.taro-
|
|
78
|
-
export { A as Audio } from './audio.taro-
|
|
79
|
-
export { I as ImagePreview } from './imagepreview.taro-
|
|
80
|
-
export { A as Address } from './address.taro-
|
|
81
|
-
export { B as Barrage } from './barrage.taro-
|
|
82
|
-
export { S as Signature } from './signature.taro-
|
|
83
|
-
export { C as Card } from './card.taro-
|
|
78
|
+
export { P as Progress } from './progress.taro-623bc807.js';
|
|
79
|
+
export { A as Audio } from './audio.taro-ab2528b2.js';
|
|
80
|
+
export { I as ImagePreview } from './imagepreview.taro-3f1c7638.js';
|
|
81
|
+
export { A as Address } from './address.taro-7540c626.js';
|
|
82
|
+
export { B as Barrage } from './barrage.taro-d86c367a.js';
|
|
83
|
+
export { S as Signature } from './signature.taro-a9286cd1.js';
|
|
84
|
+
export { C as Card } from './card.taro-1bc35ebe.js';
|
|
84
85
|
export { T as TimePannel } from './timepannel.taro-9904f6e6.js';
|
|
85
86
|
export { T as TimeDetail } from './timedetail.taro-519808cf.js';
|
|
86
|
-
export { T as TimeSelect } from './timeselect.taro-
|
|
87
|
+
export { T as TimeSelect } from './timeselect.taro-73796bfc.js';
|
|
87
88
|
import 'react';
|
|
88
89
|
import './typings-1c5f2628.js';
|
|
89
90
|
import 'react-router-dom';
|
|
@@ -95,14 +96,14 @@ import 'react-dom';
|
|
|
95
96
|
import 'react-transition-group';
|
|
96
97
|
import './zh-CN-14165629.js';
|
|
97
98
|
import './UserContext-be8097d2.js';
|
|
99
|
+
import './configprovider-3e87d67a.js';
|
|
98
100
|
import '@use-gesture/react';
|
|
99
101
|
import '@react-spring/web';
|
|
100
102
|
import './offsetContext-0e3d04b3.js';
|
|
101
103
|
import './useTouch-a2ea68c6.js';
|
|
102
104
|
import './useClientRect-8b7cc406.js';
|
|
103
105
|
import './icon-8dc4de10.js';
|
|
104
|
-
import '
|
|
106
|
+
import '@tarojs/components';
|
|
105
107
|
import './UserContext-68f62e66.js';
|
|
106
108
|
import './UserContext-b4181162.js';
|
|
107
109
|
import './AvatarContext-7153ad2b.js';
|
|
108
|
-
import './configprovider-3e87d67a.js';
|
|
@@ -11,7 +11,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
11
11
|
|
|
12
12
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
13
13
|
import React__default, { useState, useRef, useEffect, useImperativeHandle } from 'react';
|
|
14
|
-
import { P as Popup } from './popup.taro-
|
|
14
|
+
import { P as Popup } from './popup.taro-33d0bbc8.js';
|
|
15
15
|
import { u as useTouch } from './useTouch-a2ea68c6.js';
|
|
16
16
|
import { g as getRectByTaro } from './useClientRect-8b7cc406.js';
|
|
17
17
|
import { u as useConfig } from './configprovider.taro-6c7b3056.js';
|
|
@@ -8,7 +8,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
8
8
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
9
9
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
10
10
|
import _typeof from "@babel/runtime/helpers/typeof";
|
|
11
|
-
var _excluded = ["children", "list", "theme", "location", "visible", "offset", "className", "style", "onClick", "onChoose"];
|
|
11
|
+
var _excluded = ["children", "list", "theme", "location", "visible", "offset", "className", "style", "onClick", "onChoose", "iconClassPrefix", "iconFontClassName"];
|
|
12
12
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
13
13
|
|
|
14
14
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -128,6 +128,8 @@ var Popover = function Popover(props) {
|
|
|
128
128
|
style = _defaultProps$props.style,
|
|
129
129
|
onClick = _defaultProps$props.onClick,
|
|
130
130
|
onChoose = _defaultProps$props.onChoose,
|
|
131
|
+
iconClassPrefix = _defaultProps$props.iconClassPrefix,
|
|
132
|
+
iconFontClassName = _defaultProps$props.iconFontClassName,
|
|
131
133
|
reset = _objectWithoutProperties(_defaultProps$props, _excluded);
|
|
132
134
|
|
|
133
135
|
var goodItem = useRef(null);
|
|
@@ -262,8 +264,8 @@ var Popover = function Popover(props) {
|
|
|
262
264
|
handleChoose(item, i);
|
|
263
265
|
}
|
|
264
266
|
}, item.icon ? React__default.createElement(Icon, {
|
|
265
|
-
classPrefix:
|
|
266
|
-
fontClassName:
|
|
267
|
+
classPrefix: iconClassPrefix,
|
|
268
|
+
fontClassName: iconFontClassName,
|
|
267
269
|
className: "popover-menu-item-img",
|
|
268
270
|
name: item.icon
|
|
269
271
|
}) : '', React__default.createElement("div", {
|
|
@@ -66,7 +66,9 @@ var Popup = function Popup(props) {
|
|
|
66
66
|
onClickCloseIcon = props.onClickCloseIcon,
|
|
67
67
|
onOpened = props.onOpened,
|
|
68
68
|
onClosed = props.onClosed,
|
|
69
|
-
onClick = props.onClick
|
|
69
|
+
onClick = props.onClick,
|
|
70
|
+
iconClassPrefix = props.iconClassPrefix,
|
|
71
|
+
iconFontClassName = props.iconFontClassName;
|
|
70
72
|
|
|
71
73
|
var _useState = useState(zIndex || _zIndex),
|
|
72
74
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -185,8 +187,8 @@ var Popup = function Popup(props) {
|
|
|
185
187
|
className: closeClasses,
|
|
186
188
|
onClick: onHandleClickCloseIcon
|
|
187
189
|
}, React__default.createElement(Icon, {
|
|
188
|
-
classPrefix:
|
|
189
|
-
fontClassName:
|
|
190
|
+
classPrefix: iconClassPrefix,
|
|
191
|
+
fontClassName: iconFontClassName,
|
|
190
192
|
name: closeIcon,
|
|
191
193
|
size: "12px"
|
|
192
194
|
})) : ''));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
-
var _excluded = ["className", "style", "isShowPercentage", "percentage", "fillColor", "strokeColor", "strokeWidth", "size", "textColor", "textWidth", "showText", "textInside", "textBackground", "textType", "status", "iconName", "iconColor", "iconSize", "rounded", "children"];
|
|
3
|
+
var _excluded = ["className", "style", "isShowPercentage", "percentage", "fillColor", "strokeColor", "strokeWidth", "size", "textColor", "textWidth", "showText", "textInside", "textBackground", "textType", "status", "iconName", "iconColor", "iconSize", "rounded", "children", "iconClassPrefix", "iconFontClassName"];
|
|
4
4
|
|
|
5
5
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
6
|
|
|
@@ -58,6 +58,8 @@ var Progress = function Progress(props) {
|
|
|
58
58
|
iconSize = _defaultProps$props.iconSize,
|
|
59
59
|
rounded = _defaultProps$props.rounded,
|
|
60
60
|
children = _defaultProps$props.children,
|
|
61
|
+
iconClassPrefix = _defaultProps$props.iconClassPrefix,
|
|
62
|
+
iconFontClassName = _defaultProps$props.iconFontClassName,
|
|
61
63
|
rest = _objectWithoutProperties(_defaultProps$props, _excluded);
|
|
62
64
|
|
|
63
65
|
var b = cn('progress');
|
|
@@ -120,8 +122,8 @@ var Progress = function Progress(props) {
|
|
|
120
122
|
color: textColor || '#333'
|
|
121
123
|
}
|
|
122
124
|
}, percentage, isShowPercentage ? '%' : ''), textType === 'icon' && React__default.createElement(Icon, {
|
|
123
|
-
classPrefix:
|
|
124
|
-
fontClassName:
|
|
125
|
+
classPrefix: iconClassPrefix,
|
|
126
|
+
fontClassName: iconFontClassName,
|
|
125
127
|
size: iconSize,
|
|
126
128
|
name: iconName,
|
|
127
129
|
color: iconColor
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
|
-
var _excluded = ["className", "disabled", "checked", "shape", "textPosition", "value", "iconName", "iconActiveName", "iconSize", "onChange"];
|
|
4
|
+
var _excluded = ["className", "disabled", "checked", "shape", "textPosition", "value", "iconName", "iconActiveName", "iconSize", "onChange", "iconClassPrefix", "iconFontClassName"];
|
|
5
5
|
|
|
6
6
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7
7
|
|
|
@@ -38,6 +38,8 @@ var Radio = function Radio(props) {
|
|
|
38
38
|
iconActiveName = props.iconActiveName,
|
|
39
39
|
iconSize = props.iconSize,
|
|
40
40
|
onChange = props.onChange,
|
|
41
|
+
iconClassPrefix = props.iconClassPrefix,
|
|
42
|
+
iconFontClassName = props.iconFontClassName,
|
|
41
43
|
rest = _objectWithoutProperties(props, _excluded);
|
|
42
44
|
|
|
43
45
|
var componentName = 'nut-radio';
|
|
@@ -93,8 +95,8 @@ var Radio = function Radio(props) {
|
|
|
93
95
|
iconSize = props.iconSize,
|
|
94
96
|
iconActiveName = props.iconActiveName;
|
|
95
97
|
return React__default.createElement(Icon, {
|
|
96
|
-
classPrefix:
|
|
97
|
-
fontClassName:
|
|
98
|
+
classPrefix: iconClassPrefix,
|
|
99
|
+
fontClassName: iconFontClassName,
|
|
98
100
|
name: checkedStatement ? iconActiveName : iconName,
|
|
99
101
|
size: iconSize,
|
|
100
102
|
className: color()
|
|
@@ -10,7 +10,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
10
10
|
import React__default, { useState, useRef, useEffect, useCallback } from 'react';
|
|
11
11
|
import { u as useTouch } from './useTouch-a2ea68c6.js';
|
|
12
12
|
import { g as getRectByTaro } from './useClientRect-8b7cc406.js';
|
|
13
|
-
import { T as Toast } from './toast.taro-
|
|
13
|
+
import { T as Toast } from './toast.taro-cd22a0d7.js';
|
|
14
14
|
import { u as useConfig } from './configprovider.taro-6c7b3056.js';
|
|
15
15
|
var defaultProps = {
|
|
16
16
|
range: false,
|
|
@@ -79,11 +79,27 @@ var Range = function Range(props) {
|
|
|
79
79
|
marksList = _useState8[0],
|
|
80
80
|
SetMarksList = _useState8[1];
|
|
81
81
|
|
|
82
|
+
var _useState9 = useState(false),
|
|
83
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
84
|
+
show = _useState10[0],
|
|
85
|
+
SetShow = _useState10[1];
|
|
86
|
+
|
|
87
|
+
var _useState11 = useState(''),
|
|
88
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
89
|
+
toastMsg = _useState12[0],
|
|
90
|
+
SetToastMsg = _useState12[1];
|
|
91
|
+
|
|
92
|
+
var toastShow = function toastShow(msg) {
|
|
93
|
+
SetToastMsg(msg);
|
|
94
|
+
SetShow(true);
|
|
95
|
+
};
|
|
96
|
+
|
|
82
97
|
useEffect(function () {
|
|
83
98
|
if (modelValue) {
|
|
84
99
|
if (!range && (modelValue < min || modelValue > max)) {
|
|
85
|
-
SetInitValue(0);
|
|
86
|
-
|
|
100
|
+
SetInitValue(0); // Toast.text(`${modelValue} ${locale.range.rangeText}`)
|
|
101
|
+
|
|
102
|
+
toastShow("".concat(modelValue, " ").concat(locale.range.rangeText));
|
|
87
103
|
return;
|
|
88
104
|
}
|
|
89
105
|
|
|
@@ -134,15 +150,15 @@ var Range = function Range(props) {
|
|
|
134
150
|
return ["".concat(classPrefix, "-text"), "".concat(isActive ? "".concat(classPrefix, "-text-active") : '')].filter(Boolean).join(' ');
|
|
135
151
|
}, [range, modelValue, min, max]);
|
|
136
152
|
|
|
137
|
-
var
|
|
138
|
-
|
|
139
|
-
rangeName =
|
|
140
|
-
setRangeName =
|
|
153
|
+
var _useState13 = useState(classes()),
|
|
154
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
155
|
+
rangeName = _useState14[0],
|
|
156
|
+
setRangeName = _useState14[1];
|
|
141
157
|
|
|
142
|
-
var
|
|
143
|
-
|
|
144
|
-
containerName =
|
|
145
|
-
setContainerName =
|
|
158
|
+
var _useState15 = useState(containerClasses()),
|
|
159
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
160
|
+
containerName = _useState16[0],
|
|
161
|
+
setContainerName = _useState16[1];
|
|
146
162
|
|
|
147
163
|
useEffect(function () {
|
|
148
164
|
setRangeName(classes());
|
|
@@ -515,7 +531,14 @@ var Range = function Range(props) {
|
|
|
515
531
|
className: "number"
|
|
516
532
|
}, curValue()) : null)))), !hiddenRange ? React__default.createElement("div", {
|
|
517
533
|
className: "max"
|
|
518
|
-
}, +max) : null
|
|
534
|
+
}, +max) : null, React__default.createElement(Toast, {
|
|
535
|
+
type: "text",
|
|
536
|
+
visible: show,
|
|
537
|
+
msg: toastMsg,
|
|
538
|
+
onClose: function onClose() {
|
|
539
|
+
SetShow(false);
|
|
540
|
+
}
|
|
541
|
+
}));
|
|
519
542
|
};
|
|
520
543
|
|
|
521
544
|
Range.defaultProps = defaultProps;
|
|
@@ -39,7 +39,9 @@ var Rate = function Rate(props) {
|
|
|
39
39
|
readonly = _defaultProps$props.readonly,
|
|
40
40
|
allowHalf = _defaultProps$props.allowHalf,
|
|
41
41
|
spacing = _defaultProps$props.spacing,
|
|
42
|
-
onChange = _defaultProps$props.onChange
|
|
42
|
+
onChange = _defaultProps$props.onChange,
|
|
43
|
+
iconClassPrefix = _defaultProps$props.iconClassPrefix,
|
|
44
|
+
iconFontClassName = _defaultProps$props.iconFontClassName;
|
|
43
45
|
|
|
44
46
|
var b = cn('rate');
|
|
45
47
|
var bi = cn('rate-item');
|
|
@@ -105,15 +107,15 @@ var Rate = function Rate(props) {
|
|
|
105
107
|
marginRight: pxCheck(spacing)
|
|
106
108
|
}
|
|
107
109
|
}, React__default.createElement(Icon, {
|
|
108
|
-
classPrefix:
|
|
109
|
-
fontClassName:
|
|
110
|
+
classPrefix: iconClassPrefix,
|
|
111
|
+
fontClassName: iconFontClassName,
|
|
110
112
|
size: iconSize,
|
|
111
113
|
className: "".concat(bi('icon'), " ").concat(disabled || n > score ? bi('icon--disabled') : ''),
|
|
112
114
|
name: n <= score ? checkedIcon : uncheckedIcon,
|
|
113
115
|
color: n <= score ? activeColor : voidColor
|
|
114
116
|
}), allowHalf && score > n - 1 && React__default.createElement(Icon, {
|
|
115
|
-
classPrefix:
|
|
116
|
-
fontClassName:
|
|
117
|
+
classPrefix: iconClassPrefix,
|
|
118
|
+
fontClassName: iconFontClassName,
|
|
117
119
|
onClick: function onClick(event) {
|
|
118
120
|
return onHalfClick(event, n);
|
|
119
121
|
},
|
|
@@ -67,7 +67,9 @@ var SearchBar = function SearchBar(props) {
|
|
|
67
67
|
onClickLeftinIcon = _defaultProps$props.onClickLeftinIcon,
|
|
68
68
|
onClickLeftoutIcon = _defaultProps$props.onClickLeftoutIcon,
|
|
69
69
|
onClickRightinIcon = _defaultProps$props.onClickRightinIcon,
|
|
70
|
-
onClickRightoutIcon = _defaultProps$props.onClickRightoutIcon
|
|
70
|
+
onClickRightoutIcon = _defaultProps$props.onClickRightoutIcon,
|
|
71
|
+
iconClassPrefix = _defaultProps$props.iconClassPrefix,
|
|
72
|
+
iconFontClassName = _defaultProps$props.iconFontClassName;
|
|
71
73
|
|
|
72
74
|
var alignClass = "".concat(align);
|
|
73
75
|
|
|
@@ -193,8 +195,8 @@ var SearchBar = function SearchBar(props) {
|
|
|
193
195
|
return clearaVal(e);
|
|
194
196
|
}
|
|
195
197
|
}, React__default.createElement(Icon, {
|
|
196
|
-
classPrefix:
|
|
197
|
-
fontClassName:
|
|
198
|
+
classPrefix: iconClassPrefix,
|
|
199
|
+
fontClassName: iconFontClassName,
|
|
198
200
|
name: "circle-close",
|
|
199
201
|
size: "12",
|
|
200
202
|
color: "#555"
|
|
@@ -2,7 +2,7 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
5
|
-
var _excluded = ["title", "desc", "tips", "visible", "modelValue", "errorMsg", "noButton", "closeOnClickOverlay", "length", "style", "className", "onChange", "onOk", "onTips", "onCancel", "onClose", "onComplete"];
|
|
5
|
+
var _excluded = ["title", "desc", "tips", "visible", "modelValue", "errorMsg", "noButton", "closeOnClickOverlay", "length", "style", "className", "onChange", "onOk", "onTips", "onCancel", "onClose", "onComplete", "iconClassPrefix", "iconFontClassName"];
|
|
6
6
|
|
|
7
7
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
10
10
|
|
|
11
11
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
12
12
|
import { c as cn } from './bem-893ad28d.js';
|
|
13
|
-
import { P as Popup } from './popup.taro-
|
|
13
|
+
import { P as Popup } from './popup.taro-33d0bbc8.js';
|
|
14
14
|
import { I as Icon } from './icon.taro-1d0d4fb7.js';
|
|
15
15
|
import { u as useConfig } from './configprovider.taro-6c7b3056.js';
|
|
16
16
|
import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
@@ -55,6 +55,8 @@ var ShortPassword = function ShortPassword(props) {
|
|
|
55
55
|
onCancel = props.onCancel,
|
|
56
56
|
onClose = props.onClose,
|
|
57
57
|
onComplete = props.onComplete,
|
|
58
|
+
iconClassPrefix = props.iconClassPrefix,
|
|
59
|
+
iconFontClassName = props.iconFontClassName,
|
|
58
60
|
reset = _objectWithoutProperties(props, _excluded);
|
|
59
61
|
|
|
60
62
|
var b = cn('shortpassword');
|
|
@@ -190,8 +192,8 @@ var ShortPassword = function ShortPassword(props) {
|
|
|
190
192
|
}, errorMsg), tips || locale.shortpassword.tips ? React__default.createElement("div", {
|
|
191
193
|
className: b('message__forget')
|
|
192
194
|
}, React__default.createElement(Icon, {
|
|
193
|
-
classPrefix:
|
|
194
|
-
fontClassName:
|
|
195
|
+
classPrefix: iconClassPrefix,
|
|
196
|
+
fontClassName: iconFontClassName,
|
|
195
197
|
className: "icon",
|
|
196
198
|
size: "11px",
|
|
197
199
|
name: "tips"
|
|
@@ -8,7 +8,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
8
8
|
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import { u as useConfig } from './configprovider.taro-6c7b3056.js';
|
|
11
|
-
import { P as Popup } from './popup.taro-
|
|
11
|
+
import { P as Popup } from './popup.taro-33d0bbc8.js';
|
|
12
12
|
import { h as handleClick, O as OffsetContext } from './offsetContext-0e3d04b3.js';
|
|
13
13
|
var defaultProps = {
|
|
14
14
|
showhead: false,
|
|
@@ -8,7 +8,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
8
8
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9
9
|
|
|
10
10
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
11
|
-
import { B as Button } from './button.taro-
|
|
11
|
+
import { B as Button } from './button.taro-a9ebb937.js';
|
|
12
12
|
import { c as cn } from './bem-893ad28d.js';
|
|
13
13
|
import { u as useConfig } from './configprovider.taro-6c7b3056.js';
|
|
14
14
|
var defaultProps = {
|
|
@@ -8,7 +8,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
8
8
|
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import classNames from 'classnames';
|
|
11
|
-
import { A as Avatar } from './avatar.taro-
|
|
11
|
+
import { A as Avatar } from './avatar.taro-ec620cdd.js';
|
|
12
12
|
import { c as cn } from './bem-893ad28d.js';
|
|
13
13
|
var defaultProps = {
|
|
14
14
|
width: '100px',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
-
var _excluded = ["children", "title", "content", "activeIndex", "icon", "iconColor", "size", "className", "renderContent"];
|
|
3
|
+
var _excluded = ["children", "title", "content", "activeIndex", "icon", "iconColor", "size", "className", "renderContent", "iconClassPrefix", "iconFontClassName"];
|
|
4
4
|
|
|
5
5
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
6
|
|
|
@@ -33,6 +33,8 @@ var Step = function Step(props) {
|
|
|
33
33
|
size = _defaultProps$props.size,
|
|
34
34
|
className = _defaultProps$props.className,
|
|
35
35
|
renderContent = _defaultProps$props.renderContent,
|
|
36
|
+
iconClassPrefix = _defaultProps$props.iconClassPrefix,
|
|
37
|
+
iconFontClassName = _defaultProps$props.iconFontClassName,
|
|
36
38
|
restProps = _objectWithoutProperties(_defaultProps$props, _excluded);
|
|
37
39
|
|
|
38
40
|
var parent = useContext(DataContext);
|
|
@@ -80,8 +82,8 @@ var Step = function Step(props) {
|
|
|
80
82
|
}), React__default.createElement("div", {
|
|
81
83
|
className: renderIconClass()
|
|
82
84
|
}, icon ? React__default.createElement(Icon, {
|
|
83
|
-
classPrefix:
|
|
84
|
-
fontClassName:
|
|
85
|
+
classPrefix: iconClassPrefix,
|
|
86
|
+
fontClassName: iconFontClassName,
|
|
85
87
|
className: "nut-step-icon-inner",
|
|
86
88
|
color: iconColor,
|
|
87
89
|
name: icon,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
|
+
|
|
7
|
+
import React__default from 'react';
|
|
8
|
+
import { u as useConfig } from './configprovider-3e87d67a.js';
|
|
9
|
+
var defaultProps = {};
|
|
10
|
+
|
|
11
|
+
var Sticky = function Sticky(props) {
|
|
12
|
+
useConfig();
|
|
13
|
+
|
|
14
|
+
_objectSpread(_objectSpread({}, defaultProps), props);
|
|
15
|
+
|
|
16
|
+
return React__default.createElement("div", {
|
|
17
|
+
className: "nut-sticky"
|
|
18
|
+
}, "Sticky");
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
Sticky.defaultProps = defaultProps;
|
|
22
|
+
Sticky.displayName = 'NutSticky';
|
|
23
|
+
export { Sticky as S };
|
|
@@ -12,9 +12,9 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
12
12
|
|
|
13
13
|
import React__default, { useRef, useState, useMemo, useEffect } from 'react';
|
|
14
14
|
import classNames from 'classnames';
|
|
15
|
+
import { useReady, nextTick, createSelectorQuery } from '@tarojs/taro';
|
|
15
16
|
import { D as DataContext } from './UserContext-b4181162.js';
|
|
16
17
|
import { c as cn } from './bem-893ad28d.js';
|
|
17
|
-
import Taro, { useReady } from '@tarojs/taro';
|
|
18
18
|
var defaultProps = {
|
|
19
19
|
width: (typeof window === "undefined" ? "undefined" : _typeof(window)) === 'object' ? window.innerWidth : 375,
|
|
20
20
|
height: 0,
|
|
@@ -448,7 +448,7 @@ var Swiper = React__default.forwardRef(function (props, ref) {
|
|
|
448
448
|
|
|
449
449
|
var queryRect = function queryRect(element) {
|
|
450
450
|
return new Promise(function (resolve) {
|
|
451
|
-
var query =
|
|
451
|
+
var query = createSelectorQuery();
|
|
452
452
|
query.select("#".concat(element.id)) && query.select("#".concat(element.id)).boundingClientRect();
|
|
453
453
|
query.exec(function (res) {
|
|
454
454
|
resolve(res[0]);
|
|
@@ -536,7 +536,7 @@ var Swiper = React__default.forwardRef(function (props, ref) {
|
|
|
536
536
|
};
|
|
537
537
|
}, []);
|
|
538
538
|
useReady(function () {
|
|
539
|
-
|
|
539
|
+
nextTick(function () {
|
|
540
540
|
init();
|
|
541
541
|
});
|
|
542
542
|
});
|
|
@@ -574,7 +574,7 @@ var Swiper = React__default.forwardRef(function (props, ref) {
|
|
|
574
574
|
className: "".concat(classes, " ").concat(className),
|
|
575
575
|
ref: container
|
|
576
576
|
}, rest), {}, {
|
|
577
|
-
id:
|
|
577
|
+
id: "container-".concat(refRandomId),
|
|
578
578
|
onTouchStart: onTouchStart,
|
|
579
579
|
onTouchMove: onTouchMove,
|
|
580
580
|
onTouchEnd: onTouchEnd,
|
|
@@ -40,7 +40,9 @@ var TabbarItem = function TabbarItem(props) {
|
|
|
40
40
|
activeColor = _defaultProps$props.activeColor,
|
|
41
41
|
unactiveColor = _defaultProps$props.unactiveColor,
|
|
42
42
|
index = _defaultProps$props.index,
|
|
43
|
-
handleClick = _defaultProps$props.handleClick
|
|
43
|
+
handleClick = _defaultProps$props.handleClick,
|
|
44
|
+
iconClassPrefix = _defaultProps$props.iconClassPrefix,
|
|
45
|
+
iconFontClassName = _defaultProps$props.iconFontClassName;
|
|
44
46
|
|
|
45
47
|
var b = cn('tabbar-item');
|
|
46
48
|
var bIcon = cn('tabbar-item__icon-box');
|
|
@@ -74,8 +76,8 @@ var TabbarItem = function TabbarItem(props) {
|
|
|
74
76
|
}, "99+")) : React__default.createElement("div", {
|
|
75
77
|
className: "".concat(bIcon('dot'))
|
|
76
78
|
}), icon && React__default.createElement("div", null, React__default.createElement(Icon, {
|
|
77
|
-
classPrefix:
|
|
78
|
-
fontClassName:
|
|
79
|
+
classPrefix: iconClassPrefix,
|
|
80
|
+
fontClassName: iconFontClassName,
|
|
79
81
|
size: size,
|
|
80
82
|
name: icon
|
|
81
83
|
})), React__default.createElement("div", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
|
-
var _excluded = ["children", "className", "style", "columns", "data", "bordered", "summary", "striped", "noData", "onSorter"];
|
|
4
|
+
var _excluded = ["children", "className", "style", "columns", "data", "bordered", "summary", "striped", "noData", "onSorter", "iconClassPrefix", "iconFontClassName"];
|
|
5
5
|
|
|
6
6
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7
7
|
|
|
@@ -41,6 +41,8 @@ var Table = function Table(props) {
|
|
|
41
41
|
striped = _defaultProps$props.striped,
|
|
42
42
|
noData = _defaultProps$props.noData,
|
|
43
43
|
onSorter = _defaultProps$props.onSorter,
|
|
44
|
+
iconClassPrefix = _defaultProps$props.iconClassPrefix,
|
|
45
|
+
iconFontClassName = _defaultProps$props.iconFontClassName,
|
|
44
46
|
rest = _objectWithoutProperties(_defaultProps$props, _excluded);
|
|
45
47
|
|
|
46
48
|
var _useState = useState(data),
|
|
@@ -90,8 +92,8 @@ var Table = function Table(props) {
|
|
|
90
92
|
return handleSorterClick(item);
|
|
91
93
|
}
|
|
92
94
|
}, item.title, item.sorter && React__default.createElement(Icon, {
|
|
93
|
-
classPrefix:
|
|
94
|
-
fontClassName:
|
|
95
|
+
classPrefix: iconClassPrefix,
|
|
96
|
+
fontClassName: iconFontClassName,
|
|
95
97
|
name: "down-arrow",
|
|
96
98
|
size: "12px"
|
|
97
99
|
}));
|