@nutui/nutui 3.2.5-beta.1 → 3.2.6-beta.1

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 (240) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/nutui.es.js +4214 -4444
  3. package/dist/nutui.umd.js +4213 -4543
  4. package/dist/packages/_es/ActionSheet.js +18 -19
  5. package/dist/packages/_es/Address.js +94 -85
  6. package/dist/packages/_es/AddressList.js +25 -12
  7. package/dist/packages/_es/Animate.js +3 -3
  8. package/dist/packages/_es/Audio.js +9 -2
  9. package/dist/packages/_es/AudioOperate.js +5 -1
  10. package/dist/packages/_es/Avatar.js +10 -10
  11. package/dist/packages/_es/AvatarGroup.js +5 -5
  12. package/dist/packages/_es/BackTop.js +55 -108
  13. package/dist/packages/_es/Badge.js +6 -4
  14. package/dist/packages/_es/Barrage.js +79 -103
  15. package/dist/packages/_es/Button.js +5 -3
  16. package/dist/packages/_es/Calendar.js +36 -23
  17. package/dist/packages/_es/CalendarItem.js +4 -3
  18. package/dist/packages/_es/Card.js +15 -5
  19. package/dist/packages/_es/Cascader.js +12 -11
  20. package/dist/packages/_es/Category.js +13 -12
  21. package/dist/packages/_es/CategoryPane.js +17 -13
  22. package/dist/packages/_es/Cell.js +9 -12
  23. package/dist/packages/_es/CellGroup.js +4 -2
  24. package/dist/packages/_es/Checkbox.js +1 -1
  25. package/dist/packages/_es/CheckboxGroup.js +2 -2
  26. package/dist/packages/_es/CircleProgress.js +98 -82
  27. package/dist/packages/_es/Col.js +1 -1
  28. package/dist/packages/_es/Collapse.js +65 -34
  29. package/dist/packages/_es/CollapseItem.js +93 -60
  30. package/dist/packages/_es/Comment.js +43 -19
  31. package/dist/packages/_es/ConfigProvider.js +1 -1
  32. package/dist/packages/_es/CountDown.js +3 -3
  33. package/dist/packages/_es/CountUp.js +47 -52
  34. package/dist/packages/_es/DatePicker.js +37 -54
  35. package/dist/packages/_es/Dialog.js +9 -88
  36. package/dist/packages/_es/Divider.js +3 -3
  37. package/dist/packages/_es/Drag.js +75 -49
  38. package/dist/packages/_es/Ecard.js +20 -18
  39. package/dist/packages/_es/Elevator.js +101 -76
  40. package/dist/packages/_es/Ellipsis.js +140 -100
  41. package/dist/packages/_es/Empty.js +6 -4
  42. package/dist/packages/_es/FixedNav.js +11 -6
  43. package/dist/packages/_es/Form.js +4 -4
  44. package/dist/packages/_es/FormItem.js +3 -1
  45. package/dist/packages/_es/Grid.js +1 -1
  46. package/dist/packages/_es/GridItem.js +10 -27
  47. package/dist/packages/_es/Icon.js +1 -1
  48. package/dist/packages/_es/Image.js +13 -114
  49. package/dist/packages/_es/ImagePreview.js +154 -400
  50. package/dist/packages/_es/Indicator.js +3 -3
  51. package/dist/packages/_es/InfiniteLoading.js +103 -115
  52. package/dist/packages/_es/Input.js +54 -26
  53. package/dist/packages/_es/InputNumber.js +25 -16
  54. package/dist/packages/_es/Invoice.js +6 -5
  55. package/dist/packages/_es/Layout.js +1 -1
  56. package/dist/packages/_es/List.js +47 -34
  57. package/dist/packages/_es/Menu.js +35 -35
  58. package/dist/packages/_es/MenuItem.js +56 -29
  59. package/dist/packages/_es/Navbar.js +49 -39
  60. package/dist/packages/_es/NoticeBar.js +52 -41
  61. package/dist/packages/_es/Notify.js +37 -166
  62. package/dist/packages/_es/NumberKeyboard.js +15 -20
  63. package/dist/packages/_es/OldPicker.js +130 -116
  64. package/dist/packages/_es/OverLay.js +5 -28
  65. package/dist/packages/_es/Pagination.js +8 -5
  66. package/dist/packages/_es/Picker.js +196 -65
  67. package/dist/packages/_es/Popover.js +201 -881
  68. package/dist/packages/_es/Popup.js +28 -84
  69. package/dist/packages/_es/Price.js +22 -6
  70. package/dist/packages/_es/Progress.js +18 -11
  71. package/dist/packages/_es/PullRefresh.js +4 -2
  72. package/dist/packages/_es/Radio.js +3 -3
  73. package/dist/packages/_es/RadioGroup.js +1 -1
  74. package/dist/packages/_es/Range.js +48 -34
  75. package/dist/packages/_es/Rate.js +15 -14
  76. package/dist/packages/_es/Row.js +1 -1
  77. package/dist/packages/_es/SearchBar.js +39 -36
  78. package/dist/packages/_es/ShortPassword.js +97 -66
  79. package/dist/packages/_es/SideNavBar.js +7 -18
  80. package/dist/packages/_es/SideNavBarItem.js +1 -1
  81. package/dist/packages/_es/Signature.js +113 -80
  82. package/dist/packages/_es/Skeleton.js +12 -11
  83. package/dist/packages/_es/Sku.js +63 -38
  84. package/dist/packages/_es/Step.js +7 -2
  85. package/dist/packages/_es/Steps.js +1 -1
  86. package/dist/packages/_es/Sticky.js +33 -23
  87. package/dist/packages/_es/SubSideNavBar.js +4 -2
  88. package/dist/packages/_es/Swipe.js +41 -26
  89. package/dist/packages/_es/Swiper.js +38 -21
  90. package/dist/packages/_es/SwiperItem.js +2 -2
  91. package/dist/packages/_es/Switch.js +8 -8
  92. package/dist/packages/_es/TabPane.js +1 -1
  93. package/dist/packages/_es/Tabbar.js +40 -9
  94. package/dist/packages/_es/TabbarItem.js +24 -30
  95. package/dist/packages/_es/Table.js +22 -17
  96. package/dist/packages/_es/Tabs.js +49 -16
  97. package/dist/packages/_es/Tag.js +6 -5
  98. package/dist/packages/_es/TextArea.js +114 -49
  99. package/dist/packages/_es/TimeDetail.js +4 -3
  100. package/dist/packages/_es/TimePannel.js +3 -3
  101. package/dist/packages/_es/TimeSelect.js +12 -10
  102. package/dist/packages/_es/Toast.js +53 -164
  103. package/dist/packages/_es/TrendArrow.js +6 -4
  104. package/dist/packages/_es/Uploader.js +141 -140
  105. package/dist/packages/_es/Video.js +72 -5
  106. package/dist/packages/_es/WaterMark.js +22 -14
  107. package/dist/packages/_es/common.js +1 -1
  108. package/dist/packages/_es/component.js +1 -1
  109. package/dist/packages/_es/index.js +44 -6
  110. package/dist/packages/_es/{index5.js → index.taro.js} +167 -154
  111. package/dist/packages/_es/index2.js +8 -31
  112. package/dist/packages/_es/index3.js +64 -7
  113. package/dist/packages/_es/index4.js +424 -62
  114. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  115. package/dist/packages/_es/pxCheck.js +1 -1
  116. package/dist/packages/_es/raf.js +1 -1
  117. package/dist/packages/_es/style.css +21 -3
  118. package/dist/packages/_es/use-lock-scroll.js +23 -0
  119. package/dist/packages/locale/lang/baseLang.js +1 -1
  120. package/dist/packages/locale/lang/en-US.js +1 -1
  121. package/dist/packages/locale/lang/id-ID.js +1 -1
  122. package/dist/packages/locale/lang/index.js +1 -1
  123. package/dist/packages/locale/lang/zh-CN.js +1 -1
  124. package/dist/packages/locale/lang/zh-TW.js +1 -1
  125. package/dist/packages/signature/index.scss +4 -1
  126. package/dist/packages/swiperitem/index.scss +1 -1
  127. package/dist/smartips/attributes.json +4 -0
  128. package/dist/smartips/tags.json +2 -1
  129. package/dist/smartips/web-types.json +10 -1
  130. package/dist/style.css +1 -1
  131. package/dist/styles/themes/default.scss +44 -44
  132. package/dist/styles/themes/jdb.scss +44 -44
  133. package/dist/styles/themes/jddkh.scss +44 -44
  134. package/dist/styles/themes/jdt.scss +44 -44
  135. package/dist/types/__VUE/actionsheet/{index.vue.d.ts → index.taro.vue.d.ts} +9 -9
  136. package/dist/types/__VUE/address/{index.vue.d.ts → index.taro.vue.d.ts} +73 -33
  137. package/dist/types/__VUE/addresslist/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  138. package/dist/types/__VUE/animate/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  139. package/dist/types/__VUE/avatar/{index.vue.d.ts → index.taro.vue.d.ts} +6 -6
  140. package/dist/types/__VUE/avatargroup/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  141. package/dist/types/__VUE/backtop/{index.vue.d.ts → index.taro.vue.d.ts} +15 -37
  142. package/dist/types/__VUE/badge/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  143. package/dist/types/__VUE/barrage/{index.vue.d.ts → index.taro.vue.d.ts} +2 -2
  144. package/dist/types/__VUE/button/index.taro.vue.d.ts +116 -0
  145. package/dist/types/__VUE/button/index.vue.d.ts +1 -1
  146. package/dist/types/__VUE/calendar/{index.vue.d.ts → index.taro.vue.d.ts} +13 -1
  147. package/dist/types/__VUE/calendaritem/{index.vue.d.ts → index.taro.vue.d.ts} +17 -17
  148. package/dist/types/__VUE/card/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  149. package/dist/types/__VUE/cascader/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  150. package/dist/types/__VUE/category/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  151. package/dist/types/__VUE/categorypane/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  152. package/dist/types/__VUE/cell/{index.vue.d.ts → index.taro.vue.d.ts} +13 -6
  153. package/dist/types/__VUE/checkbox/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  154. package/dist/types/__VUE/circleprogress/{index.vue.d.ts → index.taro.vue.d.ts} +14 -15
  155. package/dist/types/__VUE/collapse/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  156. package/dist/types/__VUE/collapseitem/{index.vue.d.ts → index.taro.vue.d.ts} +2 -10
  157. package/dist/types/__VUE/comment/{index.vue.d.ts → index.taro.vue.d.ts} +1 -2
  158. package/dist/types/__VUE/configprovider/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  159. package/dist/types/__VUE/countdown/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  160. package/dist/types/__VUE/countup/{index.vue.d.ts → index.taro.vue.d.ts} +5 -7
  161. package/dist/types/__VUE/datepicker/{index.vue.d.ts → index.taro.vue.d.ts} +5 -5
  162. package/dist/types/__VUE/dialog/{index.vue.d.ts → index.taro.vue.d.ts} +9 -12
  163. package/dist/types/__VUE/divider/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  164. package/dist/types/__VUE/drag/{index.vue.d.ts → index.taro.vue.d.ts} +2 -1
  165. package/dist/types/__VUE/ecard/{index.vue.d.ts → index.taro.vue.d.ts} +3 -3
  166. package/dist/types/__VUE/elevator/{index.vue.d.ts → index.taro.vue.d.ts} +11 -2
  167. package/dist/types/__VUE/ellipsis/{index.vue.d.ts → index.taro.vue.d.ts} +4 -0
  168. package/dist/types/__VUE/empty/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  169. package/dist/types/__VUE/fixednav/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  170. package/dist/types/__VUE/form/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  171. package/dist/types/__VUE/grid/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  172. package/dist/types/__VUE/griditem/{index.vue.d.ts → index.taro.vue.d.ts} +2 -27
  173. package/dist/types/__VUE/icon/index.taro.vue.d.ts +74 -0
  174. package/dist/types/__VUE/image/index.taro.vue.d.ts +33 -0
  175. package/dist/types/__VUE/imagepreview/{index.vue.d.ts → index.taro.vue.d.ts} +40 -42
  176. package/dist/types/__VUE/indicator/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  177. package/dist/types/__VUE/infiniteloading/{index.vue.d.ts → index.taro.vue.d.ts} +15 -8
  178. package/dist/types/__VUE/input/{index.vue.d.ts → index.taro.vue.d.ts} +34 -16
  179. package/dist/types/__VUE/inputnumber/{index.vue.d.ts → index.taro.vue.d.ts} +2 -2
  180. package/dist/types/__VUE/invoice/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  181. package/dist/types/__VUE/layout/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  182. package/dist/types/__VUE/list/{index.vue.d.ts → index.taro.vue.d.ts} +2 -2
  183. package/dist/types/__VUE/menu/{index.vue.d.ts → index.taro.vue.d.ts} +1 -0
  184. package/dist/types/__VUE/menuitem/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  185. package/dist/types/__VUE/navbar/{index.vue.d.ts → index.taro.vue.d.ts} +1 -2
  186. package/dist/types/__VUE/noticebar/{index.vue.d.ts → index.taro.vue.d.ts} +4 -3
  187. package/dist/types/__VUE/notify/{index.vue.d.ts → index.taro.vue.d.ts} +10 -25
  188. package/dist/types/__VUE/numberkeyboard/{index.vue.d.ts → index.taro.vue.d.ts} +5 -29
  189. package/dist/types/__VUE/oldpicker/{Column.vue.d.ts → ColumnTaro.vue.d.ts} +28 -17
  190. package/dist/types/__VUE/oldpicker/{index.vue.d.ts → index.taro.vue.d.ts} +64 -44
  191. package/dist/types/__VUE/overlay/index.taro.vue.d.ts +85 -0
  192. package/dist/types/__VUE/pagination/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  193. package/dist/types/__VUE/picker/{Column.vue.d.ts → ColumnTaro.vue.d.ts} +16 -4
  194. package/dist/types/__VUE/picker/{index.vue.d.ts → index.taro.vue.d.ts} +53 -28
  195. package/dist/types/__VUE/popover/{index.vue.d.ts → index.taro.vue.d.ts} +15 -13
  196. package/dist/types/__VUE/popup/index.taro.vue.d.ts +1728 -0
  197. package/dist/types/__VUE/popup/index.vue.d.ts +1 -1
  198. package/dist/types/__VUE/price/{index.vue.d.ts → index.taro.vue.d.ts} +1 -0
  199. package/dist/types/__VUE/progress/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  200. package/dist/types/__VUE/radio/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  201. package/dist/types/__VUE/range/{index.vue.d.ts → index.taro.vue.d.ts} +8 -7
  202. package/dist/types/__VUE/rate/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  203. package/dist/types/__VUE/searchbar/{index.vue.d.ts → index.taro.vue.d.ts} +19 -19
  204. package/dist/types/__VUE/shortpassword/{index.vue.d.ts → index.taro.vue.d.ts} +6 -21
  205. package/dist/types/__VUE/sidenavbar/{index.vue.d.ts → index.taro.vue.d.ts} +0 -5
  206. package/dist/types/__VUE/signature/{index.vue.d.ts → index.taro.vue.d.ts} +8 -5
  207. package/dist/types/__VUE/skeleton/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  208. package/dist/types/__VUE/sku/{index.vue.d.ts → index.taro.vue.d.ts} +54 -182
  209. package/dist/types/__VUE/step/index.vue.d.ts +1 -1
  210. package/dist/types/__VUE/steps/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  211. package/dist/types/__VUE/sticky/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  212. package/dist/types/__VUE/swipe/{index.vue.d.ts → index.taro.vue.d.ts} +2 -1
  213. package/dist/types/__VUE/swiper/{index.vue.d.ts → index.taro.vue.d.ts} +2 -1
  214. package/dist/types/__VUE/swiperitem/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  215. package/dist/types/__VUE/switch/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  216. package/dist/types/__VUE/tabbar/{index.vue.d.ts → index.taro.vue.d.ts} +10 -0
  217. package/dist/types/__VUE/tabbaritem/{index.vue.d.ts → index.taro.vue.d.ts} +9 -9
  218. package/dist/types/__VUE/table/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  219. package/dist/types/__VUE/tabs/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  220. package/dist/types/__VUE/tag/{index.vue.d.ts → index.taro.vue.d.ts} +4 -4
  221. package/dist/types/__VUE/textarea/{index.vue.d.ts → index.taro.vue.d.ts} +5 -3
  222. package/dist/types/__VUE/timedetail/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  223. package/dist/types/__VUE/timepannel/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  224. package/dist/types/__VUE/timeselect/{index.vue.d.ts → index.taro.vue.d.ts} +7 -8
  225. package/dist/types/__VUE/toast/{index.vue.d.ts → index.taro.vue.d.ts} +44 -22
  226. package/dist/types/__VUE/trendarrow/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  227. package/dist/types/__VUE/uploader/{index.vue.d.ts → index.taro.vue.d.ts} +22 -13
  228. package/dist/types/__VUE/video/index.vue.d.ts +3 -1
  229. package/dist/types/__VUE/watermark/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  230. package/dist/types/index.d.ts +1 -1
  231. package/dist/types/nutui.d.ts +89 -89
  232. package/package.json +1 -1
  233. package/dist/types/__VUE/dialog/index.d.ts +0 -48
  234. package/dist/types/__VUE/image/index.vue.d.ts +0 -117
  235. package/dist/types/__VUE/image/type.d.ts +0 -6
  236. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +0 -108
  237. package/dist/types/__VUE/imagepreview/index.d.ts +0 -25
  238. package/dist/types/__VUE/notify/index.d.ts +0 -26
  239. package/dist/types/__VUE/tag/type.d.ts +0 -5
  240. package/dist/types/__VUE/toast/index.d.ts +0 -16
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5-beta.1 Tue Oct 25 2022 11:38:42 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, mergeProps, renderSlot } from "vue";
6
+ import { toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, createTextVNode, mergeProps, renderSlot } from "vue";
7
7
  import { c as createComponent } from "./component.js";
8
8
  import _sfc_main$1 from "./Icon.js";
9
9
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
@@ -105,7 +105,7 @@ const _sfc_main = create({
105
105
  const _hoisted_1 = { class: "nut-button__warp" };
106
106
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
107
107
  const _component_nut_icon = resolveComponent("nut-icon");
108
- return openBlock(), createElementBlock("view", {
108
+ return openBlock(), createElementBlock("button", {
109
109
  class: normalizeClass(_ctx.classes),
110
110
  style: normalizeStyle(_ctx.getStyle),
111
111
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
@@ -115,6 +115,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
115
115
  key: 0,
116
116
  class: "nut-icon-loading"
117
117
  })) : createCommentVNode("", true),
118
+ createTextVNode(),
118
119
  _ctx.icon && !_ctx.loading ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
119
120
  key: 1,
120
121
  name: _ctx.icon
@@ -122,6 +123,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
122
123
  "class-prefix": _ctx.iconClassPrefix,
123
124
  "font-class-name": _ctx.iconFontClassName
124
125
  }), null, 16, ["name", "class-prefix", "font-class-name"])) : createCommentVNode("", true),
126
+ createTextVNode(),
125
127
  _ctx.$slots.default ? (openBlock(), createElementBlock("view", {
126
128
  key: 2,
127
129
  class: normalizeClass({ text: _ctx.icon || _ctx.loading })
@@ -1,12 +1,13 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5-beta.1 Tue Oct 25 2022 11:38:42 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { computed, ref, resolveComponent, openBlock, createBlock, withCtx, createSlots, renderSlot, createCommentVNode } from "vue";
6
+ import { reactive, computed, ref, watch, toRefs, resolveComponent, openBlock, createBlock, withCtx, createSlots, renderSlot, createCommentVNode } from "vue";
7
7
  import { c as createComponent } from "./component.js";
8
- import { C as CalendarItem, U as Utils } from "./index5.js";
9
- import { u as useExpose } from "./index3.js";
8
+ import { C as CalendarItem, U as Utils } from "./index.taro.js";
9
+ import { u as useExpose } from "./index2.js";
10
+ import Taro from "@tarojs/taro";
10
11
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
11
12
  import "../locale/lang";
12
13
  import "./raf.js";
@@ -78,6 +79,10 @@ const _sfc_main = create({
78
79
  },
79
80
  emits: ["choose", "close", "update:visible", "select"],
80
81
  setup(props, { emit, slots }) {
82
+ const state = reactive({
83
+ ENV: Taro.getEnv(),
84
+ ENV_TYPE: Taro.ENV_TYPE
85
+ });
81
86
  const showTopBtn = computed(() => {
82
87
  return slots.btn;
83
88
  });
@@ -90,6 +95,7 @@ const _sfc_main = create({
90
95
  const bottomInfo = computed(() => {
91
96
  return slots.bottomInfo;
92
97
  });
98
+ let show = ref(props.visible);
93
99
  const calendarRef = ref(null);
94
100
  const scrollToDate = (date) => {
95
101
  var _a;
@@ -99,9 +105,11 @@ const _sfc_main = create({
99
105
  scrollToDate
100
106
  });
101
107
  const update = () => {
108
+ show.value = false;
102
109
  emit("update:visible", false);
103
110
  };
104
111
  const close = () => {
112
+ show.value = false;
105
113
  emit("close");
106
114
  emit("update:visible", false);
107
115
  };
@@ -109,18 +117,26 @@ const _sfc_main = create({
109
117
  close();
110
118
  emit("choose", param);
111
119
  };
112
- const select = (param) => {
113
- emit("select", param);
114
- };
115
120
  const closePopup = () => {
116
121
  close();
117
122
  };
123
+ const select = (param) => {
124
+ emit("select", param);
125
+ };
126
+ watch(
127
+ () => props.visible,
128
+ (value) => {
129
+ show.value = value;
130
+ }
131
+ );
118
132
  return {
133
+ ...toRefs(state),
134
+ show,
119
135
  closePopup,
120
136
  update,
121
137
  close,
122
- choose,
123
138
  select,
139
+ choose,
124
140
  calendarRef,
125
141
  showTopBtn,
126
142
  topInfo,
@@ -134,27 +150,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
134
150
  const _component_nut_popup = resolveComponent("nut-popup");
135
151
  return _ctx.poppable ? (openBlock(), createBlock(_component_nut_popup, {
136
152
  key: 0,
137
- visible: _ctx.visible,
153
+ visible: _ctx.show,
154
+ "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => _ctx.show = $event),
138
155
  position: "bottom",
139
156
  round: "",
140
- closeable: true,
157
+ closeable: "",
141
158
  onClickOverlay: _ctx.closePopup,
142
159
  onClickCloseIcon: _ctx.closePopup,
143
- "destroy-on-close": true,
144
160
  style: { height: "85vh" }
145
161
  }, {
146
162
  default: withCtx(() => [
147
- _ctx.visible ? (openBlock(), createBlock(_component_nut_calendar_item, {
163
+ _ctx.show ? (openBlock(), createBlock(_component_nut_calendar_item, {
148
164
  key: 0,
149
- props: "",
150
165
  ref: "calendarRef",
151
166
  type: _ctx.type,
152
167
  "is-auto-back-fill": _ctx.isAutoBackFill,
153
168
  poppable: _ctx.poppable,
154
169
  title: _ctx.title,
155
- "confirm-text": _ctx.confirmText,
156
- "start-text": _ctx.startText,
157
- "end-text": _ctx.endText,
158
170
  "default-value": _ctx.defaultValue,
159
171
  "start-date": _ctx.startDate,
160
172
  "end-date": _ctx.endDate,
@@ -162,6 +174,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
162
174
  onClose: _ctx.close,
163
175
  onChoose: _ctx.choose,
164
176
  onSelect: _ctx.select,
177
+ "confirm-text": _ctx.confirmText,
178
+ "start-text": _ctx.startText,
179
+ "end-text": _ctx.endText,
165
180
  "show-today": _ctx.showToday,
166
181
  "show-title": _ctx.showTitle,
167
182
  "show-sub-title": _ctx.showSubTitle,
@@ -201,7 +216,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
201
216
  ]),
202
217
  key: "3"
203
218
  } : void 0
204
- ]), 1032, ["type", "is-auto-back-fill", "poppable", "title", "confirm-text", "start-text", "end-text", "default-value", "start-date", "end-date", "onUpdate", "onClose", "onChoose", "onSelect", "show-today", "show-title", "show-sub-title", "to-date-animation"])) : createCommentVNode("", true)
219
+ ]), 1032, ["type", "is-auto-back-fill", "poppable", "title", "default-value", "start-date", "end-date", "onUpdate", "onClose", "onChoose", "onSelect", "confirm-text", "start-text", "end-text", "show-today", "show-title", "show-sub-title", "to-date-animation"])) : createCommentVNode("", true)
205
220
  ]),
206
221
  _: 3
207
222
  }, 8, ["visible", "onClickOverlay", "onClickCloseIcon"])) : (openBlock(), createBlock(_component_nut_calendar_item, {
@@ -216,15 +231,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
216
231
  "default-value": _ctx.defaultValue,
217
232
  "start-date": _ctx.startDate,
218
233
  "end-date": _ctx.endDate,
219
- onUpdate: _ctx.update,
220
234
  onClose: _ctx.close,
221
235
  onChoose: _ctx.choose,
222
236
  onSelect: _ctx.select,
223
- "show-today": _ctx.showToday,
224
237
  "show-title": _ctx.showTitle,
225
238
  "show-sub-title": _ctx.showSubTitle,
226
239
  "to-date-animation": _ctx.toDateAnimation,
227
- ref: "calendarRef"
240
+ "show-today": _ctx.showToday
228
241
  }, createSlots({ _: 2 }, [
229
242
  _ctx.showTopBtn ? {
230
243
  name: "btn",
@@ -260,7 +273,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
260
273
  ]),
261
274
  key: "3"
262
275
  } : void 0
263
- ]), 1032, ["type", "is-auto-back-fill", "poppable", "title", "confirm-text", "start-text", "end-text", "default-value", "start-date", "end-date", "onUpdate", "onClose", "onChoose", "onSelect", "show-today", "show-title", "show-sub-title", "to-date-animation"]));
276
+ ]), 1032, ["type", "is-auto-back-fill", "poppable", "title", "confirm-text", "start-text", "end-text", "default-value", "start-date", "end-date", "onClose", "onChoose", "onSelect", "show-title", "show-sub-title", "to-date-animation", "show-today"]));
264
277
  }
265
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
266
- export { index as default };
278
+ var index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
279
+ export { index_taro as default };
@@ -1,12 +1,13 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5-beta.1 Tue Oct 25 2022 11:38:42 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import "vue";
7
7
  import "./component.js";
8
- export { C as default } from "./index5.js";
8
+ import "@tarojs/taro";
9
+ export { C as default } from "./index.taro.js";
10
+ import "./index2.js";
9
11
  import "./raf.js";
10
- import "./index3.js";
11
12
  import "./plugin-vue_export-helper.js";
12
13
  import "../locale/lang";
@@ -1,10 +1,10 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5-beta.1 Tue Oct 25 2022 11:38:42 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { c as createComponent } from "./component.js";
7
- import { resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, renderSlot, createBlock, createCommentVNode, Fragment, createVNode, withCtx, createTextVNode } from "vue";
7
+ import { resolveComponent, openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, renderSlot, createBlock, createCommentVNode, Fragment, createVNode, withCtx } from "vue";
8
8
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
9
9
  import "../locale/lang";
10
10
  const { create } = createComponent("card");
@@ -74,20 +74,27 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
74
74
  alt: ""
75
75
  }, null, 8, _hoisted_3)
76
76
  ]),
77
+ createTextVNode(),
77
78
  createElementVNode("div", _hoisted_4, [
78
79
  createElementVNode("div", _hoisted_5, toDisplayString(_ctx.title), 1),
80
+ createTextVNode(),
79
81
  renderSlot(_ctx.$slots, "prolist"),
82
+ createTextVNode(),
80
83
  _ctx.isNeedPrice ? (openBlock(), createElementBlock("div", _hoisted_6, [
81
84
  _ctx.isHaveSlot("price") ? renderSlot(_ctx.$slots, "price", { key: 0 }) : (openBlock(), createBlock(_component_nut_price, {
82
85
  key: 1,
83
86
  price: _ctx.price
84
87
  }, null, 8, ["price"])),
88
+ createTextVNode(),
85
89
  _ctx.isHaveSlot("origin") ? renderSlot(_ctx.$slots, "origin", { key: 2 }) : (openBlock(), createBlock(_component_nut_price, {
86
90
  key: 3,
87
91
  class: "nut-card__right__price__origin",
88
92
  price: _ctx.vipPrice
89
- }, null, 8, ["price"]))
93
+ }, null, 8, ["price"])),
94
+ createTextVNode(),
95
+ _ctx.isHaveSlot("tag") ? renderSlot(_ctx.$slots, "tag", { key: 4 }) : createCommentVNode("", true)
90
96
  ])) : createCommentVNode("", true),
97
+ createTextVNode(),
91
98
  createElementVNode("div", _hoisted_7, [
92
99
  _ctx.isHaveSlot("shop-tag") ? renderSlot(_ctx.$slots, "shop-tag", { key: 0 }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
93
100
  createVNode(_component_nut_tag, { type: "danger" }, {
@@ -96,6 +103,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
96
103
  ]),
97
104
  _: 1
98
105
  }),
106
+ createTextVNode(),
99
107
  createVNode(_component_nut_tag, { plain: "" }, {
100
108
  default: withCtx(() => [
101
109
  createTextVNode(toDisplayString(_ctx.delivery), 1)
@@ -104,12 +112,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
104
112
  })
105
113
  ], 64))
106
114
  ]),
115
+ createTextVNode(),
107
116
  createElementVNode("div", _hoisted_8, [
108
117
  createElementVNode("div", _hoisted_9, toDisplayString(_ctx.shopName), 1),
118
+ createTextVNode(),
109
119
  renderSlot(_ctx.$slots, "footer")
110
120
  ])
111
121
  ])
112
122
  ]);
113
123
  }
114
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
115
- export { index as default };
124
+ var index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
125
+ export { index_taro as default };
@@ -1,15 +1,14 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5-beta.1 Tue Oct 25 2022 11:38:42 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { computed, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, createVNode } from "vue";
7
- import { popupProps } from "./Popup.js";
6
+ import { computed, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, createTextVNode, createCommentVNode, createVNode } from "vue";
8
7
  import { c as createComponent } from "./component.js";
8
+ import { p as popupProps } from "./index4.js";
9
9
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
10
- import "./OverLay.js";
11
10
  import "../locale/lang";
12
- import "./Icon.js";
11
+ import "./use-lock-scroll.js";
13
12
  import "./pxCheck.js";
14
13
  const formatTree = (tree, parent, config) => tree.map((node) => {
15
14
  const { value: valueKey = "value", text: textKey = "text", children: childrenKey = "children" } = config;
@@ -234,8 +233,8 @@ const _sfc_main$1 = create$1({
234
233
  }
235
234
  if (needToSync.length && currentValue === props.modelValue) {
236
235
  const pathNodes = tree.value.getPathNodesByValue(needToSync);
237
- pathNodes.map((node, index2) => {
238
- tabsCursor.value = index2;
236
+ pathNodes.map((node, index) => {
237
+ tabsCursor.value = index;
239
238
  methods.handleNode(node, true);
240
239
  });
241
240
  }
@@ -378,10 +377,10 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
378
377
  "title-scroll": ""
379
378
  }, {
380
379
  default: withCtx(() => [
381
- !_ctx.initLoading && _ctx.panes.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.panes, (pane, index2) => {
380
+ !_ctx.initLoading && _ctx.panes.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.panes, (pane, index) => {
382
381
  return openBlock(), createBlock(_component_nut_tabpane, {
383
382
  title: _ctx.formatTabTitle(pane),
384
- key: index2
383
+ key: index
385
384
  }, {
386
385
  default: withCtx(() => [
387
386
  createElementVNode("view", _hoisted_1$1, [
@@ -395,6 +394,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
395
394
  onClick: ($event) => _ctx.handleNode(node, false)
396
395
  }, [
397
396
  createElementVNode("view", _hoisted_3, toDisplayString(node.text), 1),
397
+ createTextVNode(),
398
398
  node.loading ? (openBlock(), createBlock(_component_nut_icon, {
399
399
  key: 0,
400
400
  class: "nut-cascader-item__icon-loading",
@@ -516,6 +516,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
516
516
  class: "nut-cascader__bar",
517
517
  innerHTML: _ctx.title
518
518
  }, null, 8, _hoisted_1)) : createCommentVNode("", true),
519
+ createTextVNode(),
519
520
  createVNode(_component_nut_cascader_item, {
520
521
  onChange: _ctx.onChange,
521
522
  onPathChange: _ctx.onPathChange,
@@ -546,5 +547,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
546
547
  visible: _ctx.innerVisible
547
548
  }, null, 8, ["onChange", "onPathChange", "modelValue", "options", "lazy", "lazy-load", "value-key", "text-key", "children-key", "convert-config", "visible"]));
548
549
  }
549
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
550
- export { index as default };
550
+ var index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
551
+ export { index_taro as default };
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5-beta.1 Tue Oct 25 2022 11:38:42 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { ref, onMounted, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, renderSlot } from "vue";
6
+ import { ref, onMounted, openBlock, createElementBlock, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, createTextVNode, renderSlot } from "vue";
7
7
  import { c as createComponent } from "./component.js";
8
8
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
9
9
  import "../locale/lang";
@@ -22,9 +22,9 @@ const _sfc_main = create({
22
22
  setup(props, { emit, slots }) {
23
23
  const checkIndex = ref(0);
24
24
  const categoryLeft = ref(false);
25
- const getChildList = (index2) => {
26
- checkIndex.value = index2;
27
- emit("change", index2);
25
+ const getChildList = (index) => {
26
+ checkIndex.value = index;
27
+ emit("change", index);
28
28
  };
29
29
  onMounted(() => {
30
30
  });
@@ -43,21 +43,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
43
43
  return openBlock(), createElementBlock("div", _hoisted_1, [
44
44
  createElementVNode("div", _hoisted_2, [
45
45
  _ctx.type == "classify" || _ctx.type == "text" ? (openBlock(), createElementBlock("div", _hoisted_3, [
46
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.category, (item, index2) => {
46
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.category, (item, index) => {
47
47
  return openBlock(), createElementBlock("div", {
48
48
  class: "nut-category__cateListLeft",
49
- key: index2
49
+ key: index
50
50
  }, [
51
51
  createElementVNode("div", {
52
- class: normalizeClass([_ctx.checkIndex == index2 ? "nut-category__cateListItemChecked" : "nut-category__cateListItem"]),
53
- onClick: ($event) => _ctx.getChildList(index2)
54
- }, toDisplayString(item == null ? void 0 : item.catName), 11, _hoisted_4)
52
+ class: normalizeClass([_ctx.checkIndex == index ? "nut-category__cateListItemChecked" : "nut-category__cateListItem"]),
53
+ onClick: ($event) => _ctx.getChildList(index)
54
+ }, toDisplayString(item.catName), 11, _hoisted_4)
55
55
  ]);
56
56
  }), 128))
57
57
  ])) : createCommentVNode("", true),
58
+ createTextVNode(),
58
59
  renderSlot(_ctx.$slots, "default")
59
60
  ])
60
61
  ]);
61
62
  }
62
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
63
- export { index as default };
63
+ var index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
64
+ export { index_taro as default };
@@ -1,10 +1,10 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5-beta.1 Tue Oct 25 2022 11:38:42 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { c as createComponent } from "./component.js";
7
- import { openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createCommentVNode } from "vue";
7
+ import { openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createTextVNode, createCommentVNode } from "vue";
8
8
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
9
9
  import "../locale/lang";
10
10
  const { componentName, create } = createComponent("categorypane");
@@ -60,14 +60,14 @@ const _hoisted_13 = {
60
60
  key: 2,
61
61
  class: "nut-categorypane__selfItemList"
62
62
  };
63
- const _hoisted_14 = ["onClick"];
64
63
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
65
64
  return openBlock(), createElementBlock("div", _hoisted_1, [
66
65
  _ctx.type == "classify" ? (openBlock(), createElementBlock("div", _hoisted_2, [
67
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index2) => {
68
- return openBlock(), createElementBlock("div", { key: index2 }, [
66
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index) => {
67
+ return openBlock(), createElementBlock("div", { key: index }, [
69
68
  createElementVNode("div", _hoisted_3, toDisplayString(item == null ? void 0 : item.catName), 1),
70
- (item == null ? void 0 : item.catType) == 1 ? (openBlock(), createElementBlock("div", _hoisted_4, [
69
+ createTextVNode(),
70
+ item.catType == 1 ? (openBlock(), createElementBlock("div", _hoisted_4, [
71
71
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
72
72
  return openBlock(), createElementBlock("div", {
73
73
  class: "nut-categorypane__childItem",
@@ -78,6 +78,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
78
78
  class: "nut-categorypane__childImg",
79
79
  src: sku.backImg
80
80
  }, null, 8, _hoisted_6),
81
+ createTextVNode(),
81
82
  createElementVNode("div", _hoisted_7, toDisplayString(sku == null ? void 0 : sku.catName), 1)
82
83
  ], 8, _hoisted_5);
83
84
  }), 128))
@@ -85,11 +86,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
85
86
  ]);
86
87
  }), 128))
87
88
  ])) : createCommentVNode("", true),
89
+ createTextVNode(),
88
90
  _ctx.type == "text" ? (openBlock(), createElementBlock("div", _hoisted_8, [
89
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index2) => {
90
- return openBlock(), createElementBlock("div", { key: index2 }, [
91
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index) => {
92
+ return openBlock(), createElementBlock("div", { key: index }, [
91
93
  createElementVNode("div", _hoisted_9, toDisplayString(item == null ? void 0 : item.catName), 1),
92
- (item == null ? void 0 : item.catType) == 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
94
+ createTextVNode(),
95
+ item.catType == 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
93
96
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
94
97
  return openBlock(), createElementBlock("div", {
95
98
  class: "nut-categorypane__childItem",
@@ -103,16 +106,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
103
106
  ]);
104
107
  }), 128))
105
108
  ])) : createCommentVNode("", true),
109
+ createTextVNode(),
106
110
  _ctx.type == "custom" ? (openBlock(), createElementBlock("div", _hoisted_13, [
107
111
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.customCategory, (sku, key) => {
108
112
  return openBlock(), createElementBlock("div", {
109
113
  class: "nut-categorypane__skuName",
110
114
  key,
111
- onClick: ($event) => _ctx.onChange(sku)
112
- }, toDisplayString(sku == null ? void 0 : sku.catName), 9, _hoisted_14);
115
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.onChange())
116
+ }, toDisplayString(sku == null ? void 0 : sku.catName), 1);
113
117
  }), 128))
114
118
  ])) : createCommentVNode("", true)
115
119
  ]);
116
120
  }
117
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
118
- export { index as default };
121
+ var index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
122
+ export { index_taro as default };
@@ -1,11 +1,10 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5-beta.1 Tue Oct 25 2022 11:38:42 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createBlock, mergeProps, createCommentVNode, Fragment, createElementVNode, toDisplayString, createTextVNode, computed } from "vue";
6
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createBlock, mergeProps, createCommentVNode, createTextVNode, Fragment, createElementVNode, toDisplayString, computed } from "vue";
7
7
  import { c as createComponent } from "./component.js";
8
- import { u as useRouter } from "./index.js";
9
8
  import { p as pxCheck } from "./pxCheck.js";
10
9
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
11
10
  import "../locale/lang";
@@ -35,21 +34,25 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
35
34
  }), null, 16, ["name"])) : createCommentVNode("", true)
36
35
  ])
37
36
  ])) : createCommentVNode("", true),
37
+ createTextVNode(),
38
38
  _ctx.title || _ctx.subTitle || _ctx.$slots.title ? (openBlock(), createElementBlock("view", _hoisted_2, [
39
39
  _ctx.subTitle ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
40
40
  renderSlot(_ctx.$slots, "title", {}, () => [
41
41
  createElementVNode("view", _hoisted_3, toDisplayString(_ctx.title), 1)
42
42
  ]),
43
+ createTextVNode(),
43
44
  createElementVNode("view", _hoisted_4, toDisplayString(_ctx.subTitle), 1)
44
45
  ], 64)) : renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
45
46
  createTextVNode(toDisplayString(_ctx.title), 1)
46
47
  ])
47
48
  ])) : createCommentVNode("", true),
49
+ createTextVNode(),
48
50
  _ctx.desc ? (openBlock(), createElementBlock("view", {
49
51
  key: 2,
50
52
  class: normalizeClass(["nut-cell__value", { "nut-cell__value--alone": !_ctx.title && !_ctx.subTitle && !_ctx.$slots.title }]),
51
53
  style: normalizeStyle({ "text-align": _ctx.descTextAlign })
52
54
  }, toDisplayString(_ctx.desc), 7)) : createCommentVNode("", true),
55
+ createTextVNode(),
53
56
  renderSlot(_ctx.$slots, "link", {}, () => [
54
57
  _ctx.isLink || _ctx.to ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
55
58
  key: 0,
@@ -67,7 +70,7 @@ const _sfc_main = create({
67
70
  desc: { type: String, default: "" },
68
71
  descTextAlign: { type: String, default: "right" },
69
72
  isLink: { type: Boolean, default: false },
70
- to: [String, Object],
73
+ to: { type: String, default: "" },
71
74
  replace: { type: Boolean, default: false },
72
75
  roundRadius: { type: [String, Number], default: "" },
73
76
  url: { type: String, default: "" },
@@ -87,7 +90,6 @@ const _sfc_main = create({
87
90
  [`${prefixCls}--large`]: props.size == "large"
88
91
  };
89
92
  });
90
- const router = useRouter();
91
93
  const baseStyle = computed(() => {
92
94
  return {
93
95
  borderRadius: pxCheck(props.roundRadius)
@@ -95,11 +97,6 @@ const _sfc_main = create({
95
97
  });
96
98
  const handleClick = (event) => {
97
99
  emit("click", event);
98
- if (props.to && router) {
99
- router[props.replace ? "replace" : "push"](props.to);
100
- } else if (props.url) {
101
- props.replace ? location.replace(props.url) : location.href = props.url;
102
- }
103
100
  };
104
101
  return {
105
102
  handleClick,
@@ -108,5 +105,5 @@ const _sfc_main = create({
108
105
  };
109
106
  }
110
107
  });
111
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", render]]);
112
- export { index as default };
108
+ var index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", render]]);
109
+ export { index_taro as default };
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5-beta.1 Tue Oct 25 2022 11:38:42 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { computed, openBlock, createElementBlock, normalizeClass, renderSlot, toDisplayString, createCommentVNode, createElementVNode } from "vue";
6
+ import { computed, openBlock, createElementBlock, normalizeClass, renderSlot, toDisplayString, createCommentVNode, createTextVNode, createElementVNode } from "vue";
7
7
  import { c as createComponent } from "./component.js";
8
8
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
9
9
  import "../locale/lang";
@@ -39,7 +39,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
39
39
  class: normalizeClass(_ctx.classes)
40
40
  }, [
41
41
  _ctx.$slots.title ? renderSlot(_ctx.$slots, "title", { key: 0 }) : _ctx.title ? (openBlock(), createElementBlock("view", _hoisted_1, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
42
+ createTextVNode(),
42
43
  _ctx.$slots.desc ? renderSlot(_ctx.$slots, "desc", { key: 2 }) : _ctx.desc ? (openBlock(), createElementBlock("view", _hoisted_2, toDisplayString(_ctx.desc), 1)) : createCommentVNode("", true),
44
+ createTextVNode(),
43
45
  createElementVNode("view", _hoisted_3, [
44
46
  renderSlot(_ctx.$slots, "default")
45
47
  ])
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5-beta.1 Tue Oct 25 2022 11:38:42 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5-beta.1 Tue Oct 25 2022 11:38:42 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { reactive, provide, computed, watch, h } from "vue";
7
7
  import { c as createComponent } from "./component.js";
8
- import { u as useExpose } from "./index3.js";
8
+ import { u as useExpose } from "./index2.js";
9
9
  import "../locale/lang";
10
10
  const { create, componentName } = createComponent("checkboxgroup");
11
11
  const _sfc_main = create({