@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.
Files changed (168) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +3 -2
  3. package/dist/esm/ActionSheet.js +3 -3
  4. package/dist/esm/Address.js +3 -3
  5. package/dist/esm/Audio.js +6 -7
  6. package/dist/esm/Avatar.js +2 -2
  7. package/dist/esm/BackTop.js +2 -2
  8. package/dist/esm/Badge.js +2 -2
  9. package/dist/esm/Barrage.js +2 -2
  10. package/dist/esm/Button.js +2 -2
  11. package/dist/esm/Calendar.js +3 -3
  12. package/dist/esm/Card.js +3 -3
  13. package/dist/esm/Cascader.js +4 -4
  14. package/dist/esm/Cell.js +2 -2
  15. package/dist/esm/Checkbox.js +2 -2
  16. package/dist/esm/CircleProgress.js +2 -2
  17. package/dist/esm/CollapseItem.js +2 -2
  18. package/dist/esm/DatePicker.js +4 -4
  19. package/dist/esm/Dialog.js +3 -3
  20. package/dist/esm/FixedNav.js +2 -2
  21. package/dist/esm/GridItem.js +2 -2
  22. package/dist/esm/ImagePreview.js +5 -5
  23. package/dist/esm/Infiniteloading.js +4 -2
  24. package/dist/esm/Input.js +2 -2
  25. package/dist/esm/InputNumber.js +2 -2
  26. package/dist/esm/Menu.js +2 -2
  27. package/dist/esm/MenuItem.js +2 -2
  28. package/dist/esm/NavBar.js +2 -2
  29. package/dist/esm/NoticeBar.js +2 -2
  30. package/dist/esm/Notify.js +2 -3
  31. package/dist/esm/NumberKeyboard.js +3 -3
  32. package/dist/esm/Picker.js +3 -3
  33. package/dist/esm/Popover.js +2 -2
  34. package/dist/esm/Popup.js +2 -2
  35. package/dist/esm/Progress.js +2 -2
  36. package/dist/esm/PullToRefresh.js +2 -2
  37. package/dist/esm/Radio.js +2 -2
  38. package/dist/esm/Range.js +3 -5
  39. package/dist/esm/Rate.js +2 -2
  40. package/dist/esm/SearchBar.js +2 -2
  41. package/dist/esm/ShortPassword.js +3 -3
  42. package/dist/esm/SideNavBar.js +3 -3
  43. package/dist/esm/Signature.js +3 -3
  44. package/dist/esm/Skeleton.js +3 -3
  45. package/dist/esm/Step.js +2 -2
  46. package/dist/esm/Sticky/style/index.js +2 -0
  47. package/dist/esm/Sticky.js +5 -0
  48. package/dist/esm/Swiper.js +3 -3
  49. package/dist/esm/TabbarItem.js +2 -2
  50. package/dist/esm/Table.js +2 -2
  51. package/dist/esm/Tabs.js +2 -2
  52. package/dist/esm/Tag.js +2 -2
  53. package/dist/esm/TimeSelect.js +3 -3
  54. package/dist/esm/Toast.js +2 -4
  55. package/dist/esm/Uploader.js +8 -4
  56. package/dist/esm/{actionsheet.taro-08b7eab2.js → actionsheet.taro-360d8d34.js} +1 -1
  57. package/dist/esm/{address.taro-5f8dbfc3.js → address.taro-7540c626.js} +8 -6
  58. package/dist/esm/{audio.taro-327472dc.js → audio.taro-ab2528b2.js} +105 -148
  59. package/dist/esm/{avatar.taro-766690a4.js → avatar.taro-ec620cdd.js} +5 -3
  60. package/dist/esm/{backtop.taro-c414da6c.js → backtop.taro-aa8b2bc5.js} +5 -3
  61. package/dist/esm/{badge.taro-351d0088.js → badge.taro-38684262.js} +5 -3
  62. package/dist/esm/{barrage.taro-efac8422.js → barrage.taro-d86c367a.js} +3 -10
  63. package/dist/esm/{button.taro-7074924f.js → button.taro-a9ebb937.js} +7 -5
  64. package/dist/esm/{calendar.taro-156a74c0.js → calendar.taro-438940bd.js} +1 -1
  65. package/dist/esm/{card.taro-f81f1b5c.js → card.taro-1bc35ebe.js} +1 -1
  66. package/dist/esm/{cascader.taro-39402f43.js → cascader.taro-35387092.js} +2 -2
  67. package/dist/esm/{cell.taro-075998e0.js → cell.taro-a4c3bb7b.js} +7 -5
  68. package/dist/esm/{checkbox.taro-62677b5e.js → checkbox.taro-104557c1.js} +2 -2
  69. package/dist/esm/{circleprogress.taro-1a38e1c6.js → circleprogress.taro-3c89a157.js} +85 -51
  70. package/dist/esm/{collapseitem-246e1699.js → collapseitem-75843a5e.js} +13 -9
  71. package/dist/esm/{datepicker.taro-e0e58f39.js → datepicker.taro-1acec61f.js} +1 -1
  72. package/dist/esm/{dialog.taro-7e9249e7.js → dialog.taro-54c67e08.js} +8 -6
  73. package/dist/esm/{fixednav.taro-9ee2dbea.js → fixednav.taro-582322a1.js} +5 -3
  74. package/dist/esm/{griditem.taro-a2ad1edd.js → griditem.taro-866cd288.js} +5 -3
  75. package/dist/esm/{imagepreview.taro-99659d6a.js → imagepreview.taro-3f1c7638.js} +2 -2
  76. package/dist/esm/{infiniteloading.taro-aa47eb1e.js → infiniteloading.taro-9701755f.js} +84 -113
  77. package/dist/esm/{input.taro-32fac7f7.js → input.taro-2453d7c4.js} +9 -7
  78. package/dist/esm/{inputnumber.taro-83d108b3.js → inputnumber.taro-0cf7c1b7.js} +7 -5
  79. package/dist/esm/{menu.taro-8330048e.js → menu.taro-9345dcfd.js} +5 -3
  80. package/dist/esm/{menuitem.taro-818c9e83.js → menuitem.taro-fc0961b7.js} +31 -14
  81. package/dist/esm/{navbar.taro-05d293bb.js → navbar.taro-c931c078.js} +7 -5
  82. package/dist/esm/{noticebar.taro-6845f9ab.js → noticebar.taro-1fa04a96.js} +9 -7
  83. package/dist/esm/{notify.taro-22b8f4cd.js → notify.taro-0d9cfb07.js} +38 -5
  84. package/dist/esm/{numberkeyboard.taro-6ff18124.js → numberkeyboard.taro-53c350b8.js} +1 -1
  85. package/dist/esm/nutui-react.es.js +54 -53
  86. package/dist/esm/{picker.taro-a3f311a0.js → picker.taro-6a4dad23.js} +1 -1
  87. package/dist/esm/{popover.taro-604c3116.js → popover.taro-eddd0bd2.js} +5 -3
  88. package/dist/esm/{popup.taro-d74c3422.js → popup.taro-33d0bbc8.js} +5 -3
  89. package/dist/esm/{progress.taro-57e1a455.js → progress.taro-623bc807.js} +5 -3
  90. package/dist/esm/{pulltorefresh.taro-8846f019.js → pulltorefresh.taro-e66c78ad.js} +0 -0
  91. package/dist/esm/{radio.taro-64546f70.js → radio.taro-95d43860.js} +5 -3
  92. package/dist/esm/{range.taro-ef3b30f0.js → range.taro-141a0163.js} +35 -12
  93. package/dist/esm/{rate.taro-0119c0e9.js → rate.taro-5077b962.js} +7 -5
  94. package/dist/esm/{searchbar.taro-2fff1f66.js → searchbar.taro-f134fb96.js} +5 -3
  95. package/dist/esm/{shortpassword.taro-d39e038d.js → shortpassword.taro-2e96ca22.js} +6 -4
  96. package/dist/esm/{sidenavbar.taro-48b136b4.js → sidenavbar.taro-87f056cd.js} +1 -1
  97. package/dist/esm/{signature.taro-3dbc7030.js → signature.taro-a9286cd1.js} +1 -1
  98. package/dist/esm/{skeleton.taro-112de52a.js → skeleton.taro-b9ff84b9.js} +1 -1
  99. package/dist/esm/{step.taro-8c2ba0bb.js → step.taro-f1057500.js} +5 -3
  100. package/dist/esm/sticky.taro-30d4e453.js +23 -0
  101. package/dist/esm/{swiper.taro-448cd0ad.js → swiper.taro-58ed323b.js} +4 -4
  102. package/dist/esm/{tabbaritem.taro-8c0a0a3b.js → tabbaritem.taro-94cd62c2.js} +5 -3
  103. package/dist/esm/{table.taro-04f9ec51.js → table.taro-7ac89a6c.js} +5 -3
  104. package/dist/esm/{tabs.taro-7bb22cb5.js → tabs.taro-86186dff.js} +12 -13
  105. package/dist/esm/{tag.taro-81dcc92d.js → tag.taro-95d7f5c2.js} +5 -3
  106. package/dist/esm/{timeselect.taro-5b6ed203.js → timeselect.taro-73796bfc.js} +1 -1
  107. package/dist/esm/toast.taro-cd22a0d7.js +167 -0
  108. package/dist/esm/types/src/packages/audio/audio.taro.d.ts +13 -14
  109. package/dist/esm/types/src/packages/button/demo.d.ts +1 -0
  110. package/dist/esm/types/src/packages/collapseitem/collapseitem.d.ts +1 -0
  111. package/dist/esm/types/src/packages/drag/drag.d.ts +1 -1
  112. package/dist/esm/types/src/packages/drag/drag.taro.d.ts +1 -1
  113. package/dist/esm/types/src/packages/fixednav/fixednav.d.ts +1 -1
  114. package/dist/esm/types/src/packages/fixednav/fixednav.taro.d.ts +1 -1
  115. package/dist/esm/types/src/packages/griditem/griditem.d.ts +1 -1
  116. package/dist/esm/types/src/packages/griditem/griditem.taro.d.ts +1 -1
  117. package/dist/esm/types/src/packages/infiniteloading/infiniteloading.d.ts +3 -3
  118. package/dist/esm/types/src/packages/infiniteloading/infiniteloading.taro.d.ts +4 -6
  119. package/dist/esm/types/src/packages/input/input.d.ts +1 -1
  120. package/dist/esm/types/src/packages/input/input.taro.d.ts +1 -1
  121. package/dist/esm/types/src/packages/menuitem/menuitem.d.ts +1 -1
  122. package/dist/esm/types/src/packages/menuitem/menuitem.taro.d.ts +1 -1
  123. package/dist/esm/types/src/packages/nutui.react.build.d.ts +2 -1
  124. package/dist/esm/types/src/packages/nutui.react.d.ts +3 -1
  125. package/dist/esm/types/src/packages/nutui.react.scss.d.ts +1 -0
  126. package/dist/esm/types/src/packages/nutui.react.taro.d.ts +3 -1
  127. package/dist/esm/types/src/packages/nutui.taro.react.build.d.ts +2 -1
  128. package/dist/esm/types/src/packages/popover/popover.d.ts +1 -1
  129. package/dist/esm/types/src/packages/popover/popover.taro.d.ts +1 -1
  130. package/dist/esm/types/src/packages/progress/progress.d.ts +1 -1
  131. package/dist/esm/types/src/packages/progress/progress.taro.d.ts +1 -1
  132. package/dist/esm/types/src/packages/radio/radio.d.ts +1 -1
  133. package/dist/esm/types/src/packages/radio/radio.taro.d.ts +1 -1
  134. package/dist/esm/types/src/packages/sticky/__test__/sticky.spec.d.ts +1 -0
  135. package/dist/esm/types/src/packages/sticky/demo.d.ts +3 -0
  136. package/dist/esm/types/src/packages/sticky/index.d.ts +2 -0
  137. package/dist/esm/types/src/packages/sticky/index.taro.d.ts +2 -0
  138. package/dist/esm/types/src/packages/sticky/sticky.d.ts +13 -0
  139. package/dist/esm/types/src/packages/sticky/sticky.taro.d.ts +4 -0
  140. package/dist/esm/types/src/packages/tabs/tabs.d.ts +1 -1
  141. package/dist/esm/types/src/packages/tabs/tabs.taro.d.ts +1 -1
  142. package/dist/esm/types/src/packages/toast/index.taro.d.ts +1 -1
  143. package/dist/esm/types/src/packages/toast/toast.taro.d.ts +11 -17
  144. package/dist/esm/types/src/packages/uploader/demo.d.ts +1 -0
  145. package/dist/esm/types/src/packages/uploader/upload.d.ts +4 -0
  146. package/dist/esm/types/src/packages/uploader/uploader.d.ts +16 -12
  147. package/dist/esm/types/src/packages/uploader/uploader.taro.d.ts +39 -19
  148. package/dist/esm/types/src/utils/date.d.ts +1 -1
  149. package/dist/esm/types/src/utils/useWatch.d.ts +6 -0
  150. package/dist/esm/{uploader.taro-4fd5dd3c.js → uploader.taro-6184abe7.js} +181 -131
  151. package/dist/locales/base.js +1 -1
  152. package/dist/locales/en-US.js +1 -1
  153. package/dist/locales/id-ID.js +1 -1
  154. package/dist/locales/zh-CN.js +1 -1
  155. package/dist/locales/zh-TW.js +1 -1
  156. package/dist/nutui.react.es.js +1357 -1235
  157. package/dist/nutui.react.umd.js +1356 -1233
  158. package/dist/packages/barrage/barrage.scss +7 -2
  159. package/dist/packages/circleprogress/circleprogress.scss +3 -0
  160. package/dist/packages/sticky/sticky.scss +0 -0
  161. package/dist/style.css +1 -1
  162. package/dist/style.es.js +1 -1
  163. package/dist/styles/themes/default.scss +1 -0
  164. package/dist/types/index.d.ts +75 -64
  165. package/dist/types/nutui.taro.react.build.ts +3 -1
  166. package/package.json +10 -5
  167. package/dist/esm/render-4a3856cb.js +0 -32
  168. package/dist/esm/toast.taro-d4ecd6af.js +0 -300
@@ -1,89 +1,90 @@
1
- export { B as Button } from './button.taro-7074924f.js';
2
- export { C as Cell } from './cell.taro-075998e0.js';
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-d74c3422.js';
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-a2ad1edd.js';
14
- export { N as NavBar } from './navbar.taro-05d293bb.js';
15
- export { F as FixedNav } from './fixednav.taro-9ee2dbea.js';
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-8c0a0a3b.js';
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-7bb22cb5.js';
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-48b136b4.js';
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-8330048e.js';
27
- export { M as MenuItem } from './menuitem.taro-818c9e83.js';
28
- export { R as Range } from './range.taro-ef3b30f0.js';
29
- export { C as Calendar } from './calendar.taro-156a74c0.js';
30
- export { C as Checkbox } from './checkbox.taro-62677b5e.js';
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-e0e58f39.js';
33
- export { I as InputNumber } from './inputnumber.taro-83d108b3.js';
34
- export { I as Input } from './input.taro-32fac7f7.js';
35
- export { R as Radio } from './radio.taro-64546f70.js';
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-0119c0e9.js';
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-a3f311a0.js';
40
- export { S as ShortPassword } from './shortpassword.taro-d39e038d.js';
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-4fd5dd3c.js';
43
- export { C as Cascader } from './cascader.taro-39402f43.js';
44
- export { S as SearchBar } from './searchbar.taro-2fff1f66.js';
45
- export { N as NumberKeyboard } from './numberkeyboard.taro-6ff18124.js';
46
- export { A as ActionSheet } from './actionsheet.taro-08b7eab2.js';
47
- export { B as BackTop } from './backtop.taro-c414da6c.js';
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-7e9249e7.js';
50
- export { I as Infiniteloading } from './infiniteloading.taro-aa47eb1e.js';
51
- export { N as Notify } from './notify.taro-22b8f4cd.js';
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-d4ecd6af.js';
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-8846f019.js';
56
- export { C as CircleProgress } from './circleprogress.taro-1a38e1c6.js';
57
- export { N as NoticeBar } from './noticebar.taro-6845f9ab.js';
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-8c2ba0bb.js';
60
- export { S as Swiper } from './swiper.taro-448cd0ad.js';
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-766690a4.js';
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-351d0088.js';
66
- export { T as Tag } from './tag.taro-81dcc92d.js';
67
- export { P as Popover } from './popover.taro-604c3116.js';
68
- export { S as Skeleton } from './skeleton.taro-112de52a.js';
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-246e1699.js';
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-04f9ec51.js';
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-57e1a455.js';
78
- export { A as Audio } from './audio.taro-327472dc.js';
79
- export { I as ImagePreview } from './imagepreview.taro-99659d6a.js';
80
- export { A as Address } from './address.taro-5f8dbfc3.js';
81
- export { B as Barrage } from './barrage.taro-efac8422.js';
82
- export { S as Signature } from './signature.taro-3dbc7030.js';
83
- export { C as Card } from './card.taro-f81f1b5c.js';
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-5b6ed203.js';
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 './render-4a3856cb.js';
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-d74c3422.js';
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: props.iconClassPrefix,
266
- fontClassName: props.iconFontClassName,
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: props.iconClassPrefix,
189
- fontClassName: props.iconFontClassName,
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: props.iconClassPrefix,
124
- fontClassName: props.iconFontClassName,
125
+ classPrefix: iconClassPrefix,
126
+ fontClassName: iconFontClassName,
125
127
  size: iconSize,
126
128
  name: iconName,
127
129
  color: iconColor
@@ -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: props.iconClassPrefix,
97
- fontClassName: props.iconFontClassName,
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-d4ecd6af.js';
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
- Toast.text("".concat(modelValue, " ").concat(locale.range.rangeText));
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 _useState9 = useState(classes()),
138
- _useState10 = _slicedToArray(_useState9, 2),
139
- rangeName = _useState10[0],
140
- setRangeName = _useState10[1];
153
+ var _useState13 = useState(classes()),
154
+ _useState14 = _slicedToArray(_useState13, 2),
155
+ rangeName = _useState14[0],
156
+ setRangeName = _useState14[1];
141
157
 
142
- var _useState11 = useState(containerClasses()),
143
- _useState12 = _slicedToArray(_useState11, 2),
144
- containerName = _useState12[0],
145
- setContainerName = _useState12[1];
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: props.iconClassPrefix,
109
- fontClassName: props.iconFontClassName,
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: props.iconClassPrefix,
116
- fontClassName: props.iconFontClassName,
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: props.iconClassPrefix,
197
- fontClassName: props.iconFontClassName,
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-d74c3422.js';
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: props.iconClassPrefix,
194
- fontClassName: props.iconFontClassName,
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-d74c3422.js';
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-7074924f.js';
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-766690a4.js';
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: props.iconClassPrefix,
84
- fontClassName: props.iconFontClassName,
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 = Taro.createSelectorQuery();
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
- Taro.nextTick(function () {
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: 'container-' + refRandomId,
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: props.iconClassPrefix,
78
- fontClassName: props.iconFontClassName,
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: props.iconClassPrefix,
94
- fontClassName: props.iconFontClassName,
95
+ classPrefix: iconClassPrefix,
96
+ fontClassName: iconFontClassName,
95
97
  name: "down-arrow",
96
98
  size: "12px"
97
99
  }));