@nutui/nutui 3.1.23-beta.1 → 3.1.23-beta.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 (173) hide show
  1. package/README.md +7 -0
  2. package/dist/nutui.es.js +910 -622
  3. package/dist/nutui.umd.js +921 -632
  4. package/dist/packages/_es/ActionSheet.js +8 -3
  5. package/dist/packages/_es/Address.js +1 -1
  6. package/dist/packages/_es/AddressList.js +2 -2
  7. package/dist/packages/_es/Animate.js +1 -1
  8. package/dist/packages/_es/Audio.js +1 -1
  9. package/dist/packages/_es/AudioOperate.js +1 -1
  10. package/dist/packages/_es/Avatar.js +1 -1
  11. package/dist/packages/_es/AvatarGroup.js +1 -1
  12. package/dist/packages/_es/BackTop.js +1 -1
  13. package/dist/packages/_es/Badge.js +1 -1
  14. package/dist/packages/_es/Barrage.js +1 -1
  15. package/dist/packages/_es/Button.js +1 -1
  16. package/dist/packages/_es/Calendar.js +1 -1
  17. package/dist/packages/_es/CalendarItem.js +1 -1
  18. package/dist/packages/_es/Card.js +7 -4
  19. package/dist/packages/_es/Cascader.js +1 -1
  20. package/dist/packages/_es/Category.js +1 -1
  21. package/dist/packages/_es/CategoryPane.js +25 -23
  22. package/dist/packages/_es/Cell.js +1 -1
  23. package/dist/packages/_es/CellGroup.js +1 -1
  24. package/dist/packages/_es/Checkbox.js +11 -2
  25. package/dist/packages/_es/CheckboxGroup.js +1 -1
  26. package/dist/packages/_es/CircleProgress.js +1 -1
  27. package/dist/packages/_es/Col.js +1 -1
  28. package/dist/packages/_es/Collapse.js +1 -1
  29. package/dist/packages/_es/CollapseItem.js +1 -1
  30. package/dist/packages/_es/Comment.js +4 -3
  31. package/dist/packages/_es/ConfigProvider.js +1 -1
  32. package/dist/packages/_es/CountDown.js +1 -1
  33. package/dist/packages/_es/CountUp.js +1 -1
  34. package/dist/packages/_es/DatePicker.js +9 -3
  35. package/dist/packages/_es/Dialog.js +1 -1
  36. package/dist/packages/_es/Divider.js +1 -1
  37. package/dist/packages/_es/Drag.js +1 -1
  38. package/dist/packages/_es/Ecard.js +1 -1
  39. package/dist/packages/_es/Elevator.js +1 -1
  40. package/dist/packages/_es/Ellipsis.js +1 -1
  41. package/dist/packages/_es/Empty.js +1 -1
  42. package/dist/packages/_es/FixedNav.js +1 -1
  43. package/dist/packages/_es/Form.js +1 -1
  44. package/dist/packages/_es/FormItem.js +1 -1
  45. package/dist/packages/_es/Grid.js +1 -1
  46. package/dist/packages/_es/GridItem.js +1 -1
  47. package/dist/packages/_es/Icon.js +1 -1
  48. package/dist/packages/_es/Image.js +1 -1
  49. package/dist/packages/_es/ImagePreview.js +1 -1
  50. package/dist/packages/_es/Indicator.js +1 -1
  51. package/dist/packages/_es/InfiniteLoading.js +1 -1
  52. package/dist/packages/_es/Input.js +1 -1
  53. package/dist/packages/_es/InputNumber.js +1 -1
  54. package/dist/packages/_es/Layout.js +1 -1
  55. package/dist/packages/_es/List.js +1 -1
  56. package/dist/packages/_es/Menu.js +2 -2
  57. package/dist/packages/_es/MenuItem.js +1 -1
  58. package/dist/packages/_es/Navbar.js +1 -1
  59. package/dist/packages/_es/NoticeBar.js +1 -1
  60. package/dist/packages/_es/Notify.js +1 -1
  61. package/dist/packages/_es/NumberKeyboard.js +1 -1
  62. package/dist/packages/_es/OldPicker.js +1 -1
  63. package/dist/packages/_es/OverLay.js +1 -1
  64. package/dist/packages/_es/Pagination.js +1 -1
  65. package/dist/packages/_es/Picker.js +106 -62
  66. package/dist/packages/_es/Popover.js +1 -1
  67. package/dist/packages/_es/Popup.js +14 -18
  68. package/dist/packages/_es/Price.js +1 -1
  69. package/dist/packages/_es/Progress.js +1 -1
  70. package/dist/packages/_es/PullRefresh.js +1 -1
  71. package/dist/packages/_es/Radio.js +1 -1
  72. package/dist/packages/_es/RadioGroup.js +1 -1
  73. package/dist/packages/_es/Range.js +1 -1
  74. package/dist/packages/_es/Rate.js +1 -1
  75. package/dist/packages/_es/Row.js +1 -1
  76. package/dist/packages/_es/SearchBar.js +1 -1
  77. package/dist/packages/_es/ShortPassword.js +1 -1
  78. package/dist/packages/_es/SideNavBar.js +1 -1
  79. package/dist/packages/_es/SideNavBarItem.js +1 -1
  80. package/dist/packages/_es/Signature.js +1 -1
  81. package/dist/packages/_es/Skeleton.js +1 -1
  82. package/dist/packages/_es/Sku.js +1 -1
  83. package/dist/packages/_es/Step.js +1 -1
  84. package/dist/packages/_es/Steps.js +1 -1
  85. package/dist/packages/_es/Sticky.js +1 -1
  86. package/dist/packages/_es/SubSideNavBar.js +1 -1
  87. package/dist/packages/_es/Swipe.js +1 -1
  88. package/dist/packages/_es/Swiper.js +13 -2
  89. package/dist/packages/_es/SwiperItem.js +1 -1
  90. package/dist/packages/_es/Switch.js +11 -3
  91. package/dist/packages/_es/TabPane.js +1 -1
  92. package/dist/packages/_es/Tabbar.js +3 -3
  93. package/dist/packages/_es/TabbarItem.js +33 -13
  94. package/dist/packages/_es/Table.js +1 -1
  95. package/dist/packages/_es/Tabs.js +1 -1
  96. package/dist/packages/_es/Tag.js +1 -1
  97. package/dist/packages/_es/TextArea.js +1 -1
  98. package/dist/packages/_es/TimeDetail.js +1 -1
  99. package/dist/packages/_es/TimePannel.js +1 -1
  100. package/dist/packages/_es/TimeSelect.js +1 -1
  101. package/dist/packages/_es/Toast.js +1 -1
  102. package/dist/packages/_es/Uploader.js +10 -3
  103. package/dist/packages/_es/Video.js +1 -1
  104. package/dist/packages/_es/WaterMark.js +187 -0
  105. package/dist/packages/_es/common.js +2 -2
  106. package/dist/packages/_es/component.js +5 -5
  107. package/dist/packages/_es/index.js +1 -1
  108. package/dist/packages/_es/index2.js +1 -1
  109. package/dist/packages/_es/index3.js +1 -1
  110. package/dist/packages/_es/index4.js +1 -1
  111. package/dist/packages/_es/index5.js +2 -1
  112. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  113. package/dist/packages/_es/pxCheck.js +1 -1
  114. package/dist/packages/_es/raf.js +1 -1
  115. package/dist/packages/cascader/index.scss +13 -0
  116. package/dist/packages/cell/index.scss +2 -1
  117. package/dist/packages/imagepreview/index.scss +0 -1
  118. package/dist/packages/locale/lang/baseLang.js +1 -1
  119. package/dist/packages/locale/lang/en-US.js +1 -1
  120. package/dist/packages/locale/lang/id-ID.js +1 -1
  121. package/dist/packages/locale/lang/index.js +1 -1
  122. package/dist/packages/locale/lang/zh-CN.js +1 -1
  123. package/dist/packages/locale/lang/zh-TW.js +1 -1
  124. package/dist/packages/picker/index.scss +10 -0
  125. package/dist/packages/table/index.scss +33 -0
  126. package/dist/packages/timedetail/index.scss +16 -0
  127. package/dist/packages/timepannel/index.scss +10 -0
  128. package/dist/packages/timeselect/index.scss +19 -1
  129. package/dist/packages/uploader/index.scss +10 -0
  130. package/dist/packages/watermark/index.scss +13 -0
  131. package/dist/smartips/attributes.json +68 -0
  132. package/dist/smartips/tags.json +24 -3
  133. package/dist/smartips/web-types.json +161 -1
  134. package/dist/style.css +1 -1
  135. package/dist/style.es.js +1 -1
  136. package/dist/styles/themes/default.scss +51 -50
  137. package/dist/styles/themes/jdb.scss +51 -50
  138. package/dist/styles/themes/jdt.scss +51 -50
  139. package/dist/styles/variables-jdb.scss +5 -3
  140. package/dist/styles/variables-jdt.scss +5 -3
  141. package/dist/styles/variables.scss +6 -3
  142. package/dist/types/__VUE/actionsheet/index.vue.d.ts +7 -0
  143. package/dist/types/__VUE/avatar/index.vue.d.ts +4 -4
  144. package/dist/types/__VUE/avatargroup/index.vue.d.ts +2 -2
  145. package/dist/types/__VUE/backtop/index.vue.d.ts +2 -2
  146. package/dist/types/__VUE/badge/index.vue.d.ts +2 -2
  147. package/dist/types/__VUE/button/index.vue.d.ts +2 -2
  148. package/dist/types/__VUE/cascader/index.vue.d.ts +1 -1
  149. package/dist/types/__VUE/categorypane/index.vue.d.ts +1 -1
  150. package/dist/types/__VUE/cell/index.vue.d.ts +6 -6
  151. package/dist/types/__VUE/collapseitem/index.vue.d.ts +2 -2
  152. package/dist/types/__VUE/datepicker/index.vue.d.ts +7 -0
  153. package/dist/types/__VUE/divider/index.vue.d.ts +2 -2
  154. package/dist/types/__VUE/grid/index.vue.d.ts +3 -3
  155. package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
  156. package/dist/types/__VUE/input/index.vue.d.ts +2 -2
  157. package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -1
  158. package/dist/types/__VUE/picker/Column.vue.d.ts +10 -2
  159. package/dist/types/__VUE/picker/index.vue.d.ts +17 -2
  160. package/dist/types/__VUE/popup/index.vue.d.ts +2 -2
  161. package/dist/types/__VUE/range/index.vue.d.ts +1 -1
  162. package/dist/types/__VUE/step/index.vue.d.ts +2 -2
  163. package/dist/types/__VUE/swiper/index.vue.d.ts +7 -0
  164. package/dist/types/__VUE/tabbar/index.vue.d.ts +3 -3
  165. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +9 -3
  166. package/dist/types/__VUE/toast/index.vue.d.ts +2 -2
  167. package/dist/types/__VUE/uploader/index.vue.d.ts +4 -4
  168. package/dist/types/__VUE/uploader/uploader.d.ts +1 -0
  169. package/dist/types/__VUE/video/index.vue.d.ts +1 -1
  170. package/dist/types/__VUE/watermark/index.vue.d.ts +143 -0
  171. package/dist/types/index.d.ts +1 -1
  172. package/dist/types/nutui.d.ts +2 -1
  173. package/package.json +8 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -50,6 +50,10 @@ const _sfc_main = create({
50
50
  isWrapTeleport: {
51
51
  type: Boolean,
52
52
  default: true
53
+ },
54
+ closeAbled: {
55
+ type: Boolean,
56
+ default: true
53
57
  }
54
58
  },
55
59
  emits: ["cancel", "close", "choose", "update:visible"],
@@ -117,7 +121,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
117
121
  isWrapTeleport: _ctx.isWrapTeleport,
118
122
  position: "bottom",
119
123
  round: "",
120
- onClickOverlay: _ctx.close
124
+ onClickOverlay: _ctx.close,
125
+ closeOnClickOverlay: _ctx.closeAbled
121
126
  }, {
122
127
  default: withCtx(() => [
123
128
  createElementVNode("view", _hoisted_1, [
@@ -150,7 +155,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
150
155
  ])
151
156
  ]),
152
157
  _: 3
153
- }, 8, ["visible", "isWrapTeleport", "onClickOverlay"])
158
+ }, 8, ["visible", "isWrapTeleport", "onClickOverlay", "closeOnClickOverlay"])
154
159
  ], 2);
155
160
  }
156
161
  var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -7,7 +7,7 @@ import { resolveComponent, openBlock, createElementBlock, createElementVNode, re
7
7
  import { c as createComponent, f as floatData } from "./component.js";
8
8
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
9
9
  import "../locale/lang";
10
- var ItemContents_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => "/* @import './index.scss'; */")();
10
+ var ItemContents_vue_vue_type_style_index_0_lang = "";
11
11
  const { componentName: componentName$4, create: create$4 } = createComponent("item-contents");
12
12
  const { translate: translate$1 } = createComponent("addresslist");
13
13
  const _sfc_main$4 = create$4({
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,10 +1,10 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 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, createVNode, createBlock, createCommentVNode, Fragment, withCtx, createTextVNode } from "vue";
7
+ import { resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, renderSlot, createBlock, createCommentVNode, Fragment, createVNode, withCtx, createTextVNode } 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");
@@ -78,9 +78,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
78
78
  createElementVNode("div", _hoisted_5, toDisplayString(_ctx.title), 1),
79
79
  renderSlot(_ctx.$slots, "prolist"),
80
80
  _ctx.isNeedPrice ? (openBlock(), createElementBlock("div", _hoisted_6, [
81
- createVNode(_component_nut_price, { price: _ctx.price }, null, 8, ["price"]),
82
- _ctx.isHaveSlot("origin") ? renderSlot(_ctx.$slots, "origin", { key: 0 }) : (openBlock(), createBlock(_component_nut_price, {
81
+ _ctx.isHaveSlot("price") ? renderSlot(_ctx.$slots, "price", { key: 0 }) : (openBlock(), createBlock(_component_nut_price, {
83
82
  key: 1,
83
+ price: _ctx.price
84
+ }, null, 8, ["price"])),
85
+ _ctx.isHaveSlot("origin") ? renderSlot(_ctx.$slots, "origin", { key: 2 }) : (openBlock(), createBlock(_component_nut_price, {
86
+ key: 3,
84
87
  class: "nut-card__right__price__origin",
85
88
  price: _ctx.vipPrice
86
89
  }, null, 8, ["price"]))
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -7,7 +7,7 @@ import { c as createComponent } from "./component.js";
7
7
  import { openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createCommentVNode } from "vue";
8
8
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
9
9
  import "../locale/lang";
10
- var index_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".nut-categorypane__cateList {\n display: flex;\n background: rgb(255, 255, 255);\n}\n.nut-categorypane__cateListLeft {\n background: rgb(246, 247, 249);\n}\n.nut-categorypane__cateListItemChecked, .nut-categorypane__cateListItem {\n width: 100px;\n height: 50px;\n font-size: 13px;\n font-family: PingFangSC;\n font-weight: normal;\n color: rgb(51, 51, 51);\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all 0.3s;\n}\n.nut-categorypane__cateListItemChecked {\n background: rgb(255, 255, 255);\n font-weight: 500;\n transition: all 0.3s;\n}\n.nut-categorypane__cateListRight {\n padding-left: 15px;\n background: rgb(255, 255, 255);\n}\n.nut-categorypane__childTitle {\n margin-top: 15px;\n margin-bottom: 15px;\n font-size: 13px;\n font-family: PingFangSC;\n font-weight: 500;\n color: rgb(51, 51, 51);\n}\n.nut-categorypane__childItemList {\n display: flex;\n flex-wrap: wrap;\n}\n.nut-categorypane__childItem {\n margin-right: 10px;\n}\n.nut-categorypane__childImg {\n width: 75px;\n height: 75px;\n border-radius: 5px;\n}\n.nut-categorypane__skuName {\n margin-right: 10px;\n width: 75px;\n height: 40px;\n border: 1px solid rgb(153, 153, 153);\n border-radius: 5px;\n font-size: 12px;\n font-family: PingFangSC;\n font-weight: normal;\n color: rgb(102, 102, 102);\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.nut-categorypane__skuName:nth-child(3n) {\n margin-right: 0;\n}\n.nut-categorypane__skuName:nth-child(n+4) {\n margin-top: 15px;\n}\n.nut-categorypane__skuImg {\n font-size: 12px;\n font-family: PingFangSC;\n font-weight: normal;\n color: rgb(102, 102, 102);\n margin-top: 10px;\n margin-bottom: 10px;\n text-align: center;\n}\n.nut-categorypane__selfItemList {\n display: flex;\n flex-wrap: wrap;\n}\n.nut-categorypane__selfskuName {\n margin-left: 15px;\n margin-top: 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 75px;\n height: 40px;\n border: 1px solid rgb(153, 153, 153);\n border-radius: 5px;\n font-size: 12px;\n font-family: PingFangSC;\n font-weight: normal;\n color: rgb(102, 102, 102);\n}\n.nut-categorypane__skuName {\n margin-left: 15px;\n margin-top: 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 75px;\n height: 40px;\n border: 1px solid rgb(153, 153, 153);\n border-radius: 5px;\n font-size: 12px;\n font-family: PingFangSC;\n font-weight: normal;\n color: rgb(102, 102, 102);\n}")();
10
+ var index_vue_vue_type_style_index_0_lang = "";
11
11
  const { componentName, create } = createComponent("categorypane");
12
12
  const _sfc_main = create({
13
13
  props: {
@@ -25,8 +25,8 @@ const _sfc_main = create({
25
25
  }
26
26
  },
27
27
  setup(props, { emit }) {
28
- const onChange = () => {
29
- emit("onChange");
28
+ const onChange = (sku) => {
29
+ emit("onChange", sku);
30
30
  };
31
31
  return {
32
32
  onChange
@@ -43,19 +43,21 @@ const _hoisted_4 = {
43
43
  key: 0,
44
44
  class: "nut-categorypane__childItemList"
45
45
  };
46
- const _hoisted_5 = ["src"];
47
- const _hoisted_6 = { class: "nut-categorypane__skuImg" };
48
- const _hoisted_7 = {
46
+ const _hoisted_5 = ["onClick"];
47
+ const _hoisted_6 = ["src"];
48
+ const _hoisted_7 = { class: "nut-categorypane__skuImg" };
49
+ const _hoisted_8 = {
49
50
  key: 1,
50
51
  class: "nut-categorypane__cateListRight"
51
52
  };
52
- const _hoisted_8 = { class: "nut-categorypane__childTitle" };
53
- const _hoisted_9 = {
53
+ const _hoisted_9 = { class: "nut-categorypane__childTitle" };
54
+ const _hoisted_10 = {
54
55
  key: 0,
55
56
  class: "nut-categorypane__childItemList"
56
57
  };
57
- const _hoisted_10 = { class: "nut-categorypane__skuName" };
58
- const _hoisted_11 = {
58
+ const _hoisted_11 = ["onClick"];
59
+ const _hoisted_12 = { class: "nut-categorypane__skuName" };
60
+ const _hoisted_13 = {
59
61
  key: 2,
60
62
  class: "nut-categorypane__selfItemList"
61
63
  };
@@ -70,43 +72,43 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
70
72
  return openBlock(), createElementBlock("div", {
71
73
  class: "nut-categorypane__childItem",
72
74
  key,
73
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.onChange())
75
+ onClick: ($event) => _ctx.onChange(sku)
74
76
  }, [
75
77
  createElementVNode("img", {
76
78
  class: "nut-categorypane__childImg",
77
79
  src: sku.backImg
78
- }, null, 8, _hoisted_5),
79
- createElementVNode("div", _hoisted_6, toDisplayString(sku.catName), 1)
80
- ]);
80
+ }, null, 8, _hoisted_6),
81
+ createElementVNode("div", _hoisted_7, toDisplayString(sku.catName), 1)
82
+ ], 8, _hoisted_5);
81
83
  }), 128))
82
84
  ])) : createCommentVNode("", true)
83
85
  ]);
84
86
  }), 128))
85
87
  ])) : createCommentVNode("", true),
86
- _ctx.type == "text" ? (openBlock(), createElementBlock("div", _hoisted_7, [
88
+ _ctx.type == "text" ? (openBlock(), createElementBlock("div", _hoisted_8, [
87
89
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index2) => {
88
90
  return openBlock(), createElementBlock("div", { key: index2 }, [
89
- createElementVNode("div", _hoisted_8, toDisplayString(item.catName), 1),
90
- item.catType == 1 ? (openBlock(), createElementBlock("div", _hoisted_9, [
91
+ createElementVNode("div", _hoisted_9, toDisplayString(item.catName), 1),
92
+ item.catType == 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
91
93
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
92
94
  return openBlock(), createElementBlock("div", {
93
95
  class: "nut-categorypane__childItem",
94
96
  key,
95
- onClick: _cache[1] || (_cache[1] = ($event) => _ctx.onChange())
97
+ onClick: ($event) => _ctx.onChange(sku)
96
98
  }, [
97
- createElementVNode("div", _hoisted_10, toDisplayString(sku.catName), 1)
98
- ]);
99
+ createElementVNode("div", _hoisted_12, toDisplayString(sku.catName), 1)
100
+ ], 8, _hoisted_11);
99
101
  }), 128))
100
102
  ])) : createCommentVNode("", true)
101
103
  ]);
102
104
  }), 128))
103
105
  ])) : createCommentVNode("", true),
104
- _ctx.type == "custom" ? (openBlock(), createElementBlock("div", _hoisted_11, [
106
+ _ctx.type == "custom" ? (openBlock(), createElementBlock("div", _hoisted_13, [
105
107
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.customCategory, (sku, key) => {
106
108
  return openBlock(), createElementBlock("div", {
107
109
  class: "nut-categorypane__skuName",
108
110
  key,
109
- onClick: _cache[2] || (_cache[2] = ($event) => _ctx.onChange())
111
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.onChange())
110
112
  }, toDisplayString(sku.catName), 1);
111
113
  }), 128))
112
114
  ])) : createCommentVNode("", true)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,10 +1,10 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 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 { inject, reactive, computed, onMounted, getCurrentInstance, watch, h } from "vue";
7
+ import { inject, reactive, computed, watch, onMounted, getCurrentInstance, h } from "vue";
8
8
  import _sfc_main$1 from "./Icon.js";
9
9
  import "../locale/lang";
10
10
  import "./pxCheck.js";
@@ -80,10 +80,19 @@ const component = (componentName2, nutIcon) => {
80
80
  const color = computed(() => {
81
81
  return !pDisabled.value ? !pValue.value ? "nut-checkbox__icon--unchecked" : state.partialSelect ? "nut-checkbox__icon--indeterminate" : "nut-checkbox__icon" : "nut-checkbox__icon--disable";
82
82
  });
83
+ let updateType = "";
83
84
  const emitChange = (value, label) => {
85
+ updateType = "click";
84
86
  emit("update:modelValue", value);
85
87
  emit("change", value, label);
86
88
  };
89
+ watch(() => props.modelValue, (v) => {
90
+ if (updateType == "click") {
91
+ updateType = "";
92
+ } else {
93
+ emit("change", v);
94
+ }
95
+ });
87
96
  const renderIcon = () => {
88
97
  const { iconName, iconSize, iconActiveName, iconClassPrefix, iconFontClassName, iconIndeterminateName } = props;
89
98
  return h(nutIcon, {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -72,7 +72,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
72
72
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.info.score = $event),
73
73
  "icon-size": "10",
74
74
  spacing: "5",
75
- readOnly: "",
75
+ readonly: "",
76
76
  onChange: _ctx.handleClick
77
77
  }, null, 8, ["modelValue", "onChange"])
78
78
  ])
@@ -96,7 +96,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
96
96
  modelValue: _ctx.info.score,
97
97
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.info.score = $event),
98
98
  "icon-size": "12",
99
- spacing: "3"
99
+ spacing: "3",
100
+ readonly: ""
100
101
  }, null, 8, ["modelValue"]),
101
102
  createElementVNode("i", {
102
103
  class: normalizeClass([`nut-comment-header__${_ctx.type}-score-i`])
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -8,6 +8,7 @@ import Picker from "./Picker.js";
8
8
  import { popupProps } from "./Popup.js";
9
9
  import { c as createComponent } from "./component.js";
10
10
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
11
+ import "./index4.js";
11
12
  import "./OverLay.js";
12
13
  import "../locale/lang";
13
14
  import "./Icon.js";
@@ -77,6 +78,10 @@ const _sfc_main = create({
77
78
  type: Function,
78
79
  default: null
79
80
  },
81
+ threeDimensional: {
82
+ type: Boolean,
83
+ default: true
84
+ },
80
85
  filter: Function
81
86
  },
82
87
  emits: ["click", "update:visible", "change", "confirm", "update:moduleValue"],
@@ -314,13 +319,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
314
319
  onChange: _ctx.changeHandler,
315
320
  title: _ctx.title,
316
321
  onConfirm: _ctx.confirm,
317
- isWrapTeleport: _ctx.isWrapTeleport
322
+ isWrapTeleport: _ctx.isWrapTeleport,
323
+ threeDimensional: _ctx.threeDimensional
318
324
  }, {
319
325
  default: withCtx(() => [
320
326
  renderSlot(_ctx.$slots, "default")
321
327
  ]),
322
328
  _: 3
323
- }, 8, ["modelValue", "visible", "okText", "cancelText", "onClose", "columns", "onChange", "title", "onConfirm", "isWrapTeleport"]);
329
+ }, 8, ["modelValue", "visible", "okText", "cancelText", "onClose", "columns", "onChange", "title", "onConfirm", "isWrapTeleport", "threeDimensional"]);
324
330
  }
325
331
  var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
326
332
  export { index as default };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */