@nutui/nutui 3.2.0 → 3.2.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 (183) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/nutui.es.js +272 -275
  3. package/dist/nutui.umd.js +265 -268
  4. package/dist/packages/_es/ActionSheet.js +1 -1
  5. package/dist/packages/_es/Address.js +14 -13
  6. package/dist/packages/_es/AddressList.js +1 -3
  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 +2 -4
  10. package/dist/packages/_es/Avatar.js +4 -5
  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 +6 -5
  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 +1 -1
  19. package/dist/packages/_es/Cascader.js +1 -1
  20. package/dist/packages/_es/Category.js +2 -2
  21. package/dist/packages/_es/CategoryPane.js +10 -10
  22. package/dist/packages/_es/Cell.js +8 -9
  23. package/dist/packages/_es/CellGroup.js +1 -1
  24. package/dist/packages/_es/Checkbox.js +1 -1
  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 +13 -11
  30. package/dist/packages/_es/Comment.js +1 -1
  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 +1 -1
  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 +18 -14
  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 +6 -5
  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 +3 -6
  50. package/dist/packages/_es/Indicator.js +1 -1
  51. package/dist/packages/_es/InfiniteLoading.js +4 -10
  52. package/dist/packages/_es/Input.js +68 -65
  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 +6 -5
  57. package/dist/packages/_es/MenuItem.js +4 -6
  58. package/dist/packages/_es/Navbar.js +10 -8
  59. package/dist/packages/_es/NoticeBar.js +4 -4
  60. package/dist/packages/_es/Notify.js +1 -1
  61. package/dist/packages/_es/NumberKeyboard.js +10 -12
  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 +7 -1
  66. package/dist/packages/_es/Popover.js +4 -7
  67. package/dist/packages/_es/Popup.js +4 -4
  68. package/dist/packages/_es/Price.js +1 -1
  69. package/dist/packages/_es/Progress.js +4 -5
  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 +6 -5
  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 +1 -1
  89. package/dist/packages/_es/SwiperItem.js +1 -1
  90. package/dist/packages/_es/Switch.js +6 -5
  91. package/dist/packages/_es/TabPane.js +1 -1
  92. package/dist/packages/_es/Tabbar.js +1 -1
  93. package/dist/packages/_es/TabbarItem.js +1 -1
  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 +11 -15
  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 +4 -5
  102. package/dist/packages/_es/Uploader.js +34 -30
  103. package/dist/packages/_es/Video.js +1 -1
  104. package/dist/packages/_es/WaterMark.js +1 -4
  105. package/dist/packages/_es/common.js +1 -1
  106. package/dist/packages/_es/component.js +1 -1
  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 +1 -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/_es/style.css +1 -111
  116. package/dist/packages/addresslist/index.scss +57 -17
  117. package/dist/packages/category/index.scss +25 -4
  118. package/dist/packages/categorypane/index.scss +18 -65
  119. package/dist/packages/fixednav/index.scss +7 -0
  120. package/dist/packages/locale/lang/baseLang.js +1 -1
  121. package/dist/packages/locale/lang/en-US.js +1 -1
  122. package/dist/packages/locale/lang/id-ID.js +1 -1
  123. package/dist/packages/locale/lang/index.js +1 -1
  124. package/dist/packages/locale/lang/zh-CN.js +1 -1
  125. package/dist/packages/locale/lang/zh-TW.js +1 -1
  126. package/dist/packages/menu/index.scss +14 -2
  127. package/dist/packages/menuitem/index.scss +8 -0
  128. package/dist/packages/step/index.scss +52 -0
  129. package/dist/packages/swiper/index.scss +2 -0
  130. package/dist/packages/swiperitem/index.scss +3 -0
  131. package/dist/packages/tag/index.scss +20 -0
  132. package/dist/packages/watermark/index.scss +1 -1
  133. package/dist/smartips/attributes.json +13 -1
  134. package/dist/smartips/tags.json +7 -3
  135. package/dist/smartips/web-types.json +31 -3
  136. package/dist/style.css +1 -1
  137. package/dist/styles/themes/default.scss +50 -50
  138. package/dist/styles/themes/jdb.scss +50 -50
  139. package/dist/styles/themes/jdt.scss +50 -50
  140. package/dist/styles/variables-jdb.scss +22 -7
  141. package/dist/styles/variables-jdt.scss +22 -7
  142. package/dist/styles/variables.scss +21 -7
  143. package/dist/types/__VUE/actionsheet/index.vue.d.ts +3 -3
  144. package/dist/types/__VUE/address/index.vue.d.ts +4 -4
  145. package/dist/types/__VUE/audiooperate/index.vue.d.ts +14 -71
  146. package/dist/types/__VUE/avatar/index.vue.d.ts +4 -4
  147. package/dist/types/__VUE/avatargroup/index.vue.d.ts +2 -2
  148. package/dist/types/__VUE/backtop/index.vue.d.ts +4 -4
  149. package/dist/types/__VUE/badge/index.vue.d.ts +2 -2
  150. package/dist/types/__VUE/button/index.vue.d.ts +2 -2
  151. package/dist/types/__VUE/calendar/index.vue.d.ts +1 -1
  152. package/dist/types/__VUE/cascader/index.vue.d.ts +2 -2
  153. package/dist/types/__VUE/cell/index.vue.d.ts +15 -8
  154. package/dist/types/__VUE/collapse/index.vue.d.ts +2 -2
  155. package/dist/types/__VUE/collapseitem/index.vue.d.ts +2 -2
  156. package/dist/types/__VUE/datepicker/index.vue.d.ts +2 -2
  157. package/dist/types/__VUE/dialog/index.vue.d.ts +2 -2
  158. package/dist/types/__VUE/fixednav/common.d.ts +56 -0
  159. package/dist/types/__VUE/fixednav/index.vue.d.ts +18 -10
  160. package/dist/types/__VUE/grid/index.vue.d.ts +2 -2
  161. package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
  162. package/dist/types/__VUE/input/index.vue.d.ts +6 -11
  163. package/dist/types/__VUE/menu/index.vue.d.ts +5 -2
  164. package/dist/types/__VUE/menuitem/index.vue.d.ts +0 -3
  165. package/dist/types/__VUE/noticebar/index.vue.d.ts +3 -3
  166. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +4 -4
  167. package/dist/types/__VUE/oldpicker/index.vue.d.ts +3 -3
  168. package/dist/types/__VUE/picker/index.vue.d.ts +3 -3
  169. package/dist/types/__VUE/popover/index.vue.d.ts +6 -6
  170. package/dist/types/__VUE/popup/index.vue.d.ts +4 -4
  171. package/dist/types/__VUE/range/index.vue.d.ts +1 -1
  172. package/dist/types/__VUE/rate/index.vue.d.ts +2 -2
  173. package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
  174. package/dist/types/__VUE/sku/index.vue.d.ts +3 -3
  175. package/dist/types/__VUE/step/index.vue.d.ts +2 -2
  176. package/dist/types/__VUE/swipe/index.vue.d.ts +2 -2
  177. package/dist/types/__VUE/switch/index.vue.d.ts +2 -2
  178. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +2 -2
  179. package/dist/types/__VUE/toast/index.vue.d.ts +2 -2
  180. package/dist/types/__VUE/uploader/index.vue.d.ts +2 -2
  181. package/dist/types/__VUE/video/index.vue.d.ts +1 -1
  182. package/dist/types/index.d.ts +1 -1
  183. package/package.json +1 -1
@@ -1,18 +1,14 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createBlock, createCommentVNode, renderSlot, createElementVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
7
6
  import { c as createComponent } from "./component.js";
8
- import overlay from "./OverLay.js";
7
+ import { computed, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createBlock, createCommentVNode, renderSlot, createElementVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
9
8
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
10
9
  import "../locale/lang";
11
- const { componentName, create, translate } = createComponent("fixednav");
12
- const _sfc_main = create({
13
- components: {
14
- [overlay.name]: overlay
15
- },
10
+ const { componentName, translate } = createComponent("fixednav");
11
+ const component = {
16
12
  props: {
17
13
  visible: {
18
14
  type: Boolean,
@@ -26,6 +22,10 @@ const _sfc_main = create({
26
22
  default: () => [],
27
23
  type: Array
28
24
  },
25
+ activeColor: {
26
+ default: "",
27
+ type: String
28
+ },
29
29
  activeText: {
30
30
  default: "",
31
31
  type: String
@@ -58,6 +58,7 @@ const _sfc_main = create({
58
58
  [props.type]: true
59
59
  };
60
60
  });
61
+ const current = ref(-1);
61
62
  const updateValue = (value = !props.visible) => {
62
63
  emit("update:visible", value);
63
64
  };
@@ -66,10 +67,11 @@ const _sfc_main = create({
66
67
  item,
67
68
  event
68
69
  });
70
+ current.value = item.id;
69
71
  };
70
- return { classes, updateValue, selected, translate };
72
+ return { classes, updateValue, selected, translate, current };
71
73
  }
72
- });
74
+ };
73
75
  const _hoisted_1 = { class: "nut-fixednav__list" };
74
76
  const _hoisted_2 = ["onClick"];
75
77
  const _hoisted_3 = ["src"];
@@ -79,7 +81,7 @@ const _hoisted_5 = {
79
81
  class: "b"
80
82
  };
81
83
  const _hoisted_6 = { class: "text" };
82
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
84
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
83
85
  const _component_nut_overlay = resolveComponent("nut-overlay");
84
86
  const _component_nut_icon = resolveComponent("nut-icon");
85
87
  return openBlock(), createElementBlock("view", {
@@ -96,7 +98,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
96
98
  createElementVNode("view", _hoisted_1, [
97
99
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navList, (item, index2) => {
98
100
  return openBlock(), createElementBlock("view", {
99
- class: "nut-fixednav__list-item",
101
+ class: normalizeClass(["nut-fixednav__list-item", { active: item.id == _ctx.current }]),
100
102
  onClick: ($event) => _ctx.selected(item, $event),
101
103
  key: item.id || index2
102
104
  }, [
@@ -105,7 +107,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
105
107
  }, null, 8, _hoisted_3),
106
108
  createElementVNode("view", _hoisted_4, toDisplayString(item.text), 1),
107
109
  item.num ? (openBlock(), createElementBlock("view", _hoisted_5, toDisplayString(item.num), 1)) : createCommentVNode("", true)
108
- ], 8, _hoisted_2);
110
+ ], 10, _hoisted_2);
109
111
  }), 128))
110
112
  ])
111
113
  ]),
@@ -123,5 +125,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
123
125
  ])
124
126
  ], 6);
125
127
  }
126
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
128
+ const { create } = createComponent("fixednav");
129
+ const _sfc_main = create(component);
130
+ var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", render]]);
127
131
  export { index as default };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 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.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 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.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { inject, getCurrentInstance, onUnmounted, computed, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, Fragment, createBlock, toDisplayString } from "vue";
6
+ import { inject, getCurrentInstance, onUnmounted, computed, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, Fragment, createBlock, mergeProps, toDisplayString } from "vue";
7
7
  import { u as useRouter } from "./index.js";
8
8
  import { c as createComponent } from "./component.js";
9
9
  import { p as pxCheck } from "./pxCheck.js";
@@ -135,12 +135,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
135
135
  class: normalizeClass(_ctx.contentClass)
136
136
  }, [
137
137
  _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
138
- _ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 0 }) : (openBlock(), createBlock(_component_nut_icon, {
138
+ _ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 0 }) : (openBlock(), createBlock(_component_nut_icon, mergeProps({
139
139
  key: 1,
140
- name: _ctx.iconProps.name,
140
+ name: _ctx.iconProps.name
141
+ }, _ctx.$attrs, {
141
142
  size: _ctx.iconProps.size,
142
143
  color: _ctx.iconProps.color
143
- }, null, 8, ["name", "size", "color"])),
144
+ }), null, 16, ["name", "size", "color"])),
144
145
  _ctx.$slots.text ? renderSlot(_ctx.$slots, "text", { key: 2 }) : (openBlock(), createElementBlock("view", _hoisted_1, toDisplayString(_ctx.text), 1))
145
146
  ], 64))
146
147
  ], 2)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 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.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { reactive, computed, watch, toRefs, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, normalizeStyle, createElementVNode, createCommentVNode, createVNode, ref, onMounted, Fragment, renderList, toDisplayString, render, h } from "vue";
6
+ import { reactive, computed, watch, toRefs, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, normalizeStyle, createElementVNode, createCommentVNode, createVNode, ref, onMounted, Fragment, renderList, toDisplayString, mergeProps, render, h } from "vue";
7
7
  import { c as createComponent, a as isPromise } from "./component.js";
8
8
  import Popup from "./Popup.js";
9
9
  import Video from "./Video.js";
@@ -505,10 +505,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
505
505
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleCloseIcon && _ctx.handleCloseIcon(...args)),
506
506
  style: normalizeStyle(_ctx.styles)
507
507
  }, [
508
- createVNode(_component_nut_icon, {
509
- name: _ctx.closeIcon,
510
- color: "#ffffff"
511
- }, null, 8, ["name"])
508
+ createVNode(_component_nut_icon, mergeProps({ name: _ctx.closeIcon }, _ctx.$attrs, { color: "#ffffff" }), null, 16, ["name"])
512
509
  ], 4)) : createCommentVNode("", true)
513
510
  ]),
514
511
  _: 1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { reactive, computed, onMounted, onUnmounted, ref, onActivated, onDeactivated, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createVNode, toDisplayString, renderSlot, Fragment, createCommentVNode } from "vue";
6
+ import { reactive, computed, onMounted, onUnmounted, ref, onActivated, onDeactivated, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createVNode, mergeProps, toDisplayString, renderSlot, Fragment, createCommentVNode } 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";
@@ -227,10 +227,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
227
227
  style: normalizeStyle(_ctx.getStyle)
228
228
  }, [
229
229
  createElementVNode("view", _hoisted_1, [
230
- createVNode(_component_nut_icon, {
231
- class: "top-img",
232
- name: _ctx.pullIcon
233
- }, null, 8, ["name"]),
230
+ createVNode(_component_nut_icon, mergeProps({ class: "top-img" }, _ctx.$attrs, { name: _ctx.pullIcon }), null, 16, ["name"]),
234
231
  createElementVNode("view", _hoisted_2, toDisplayString(_ctx.pullTxt || _ctx.translate("pullTxt")), 1)
235
232
  ])
236
233
  ], 4),
@@ -240,10 +237,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
240
237
  createElementVNode("view", _hoisted_4, [
241
238
  _ctx.isInfiniting ? (openBlock(), createElementBlock("view", _hoisted_5, [
242
239
  !_ctx.slots.loading ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
243
- createVNode(_component_nut_icon, {
244
- class: "bottom-img",
245
- name: _ctx.loadIcon
246
- }, null, 8, ["name"]),
240
+ createVNode(_component_nut_icon, mergeProps({ class: "bottom-img" }, _ctx.$attrs, { name: _ctx.loadIcon }), null, 16, ["name"]),
247
241
  createElementVNode("view", _hoisted_6, toDisplayString(_ctx.loadTxt || _ctx.translate("loading")), 1)
248
242
  ], 64)) : renderSlot(_ctx.$slots, "loading", { key: 1 })
249
243
  ])) : !_ctx.hasMore ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { ref, reactive, computed, watch, onMounted, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, normalizeStyle, createElementVNode, toDisplayString, createCommentVNode, renderSlot, createVNode, withDirectives, createBlock, vShow, createTextVNode } from "vue";
6
+ import { ref, reactive, computed, watch, onMounted, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, normalizeStyle, createElementVNode, toDisplayString, createCommentVNode, renderSlot, createVNode, mergeProps, withDirectives, createBlock, vShow, createTextVNode } 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";
@@ -270,6 +270,8 @@ const _sfc_main = create({
270
270
  emit("blur", value, event);
271
271
  };
272
272
  const clear = (event) => {
273
+ if (props.disabled)
274
+ return;
273
275
  emit("update:modelValue", "", event);
274
276
  emit("change", "", event);
275
277
  emit("clear", "", event);
@@ -334,18 +336,21 @@ const _hoisted_1 = { class: "label-string" };
334
336
  const _hoisted_2 = { class: "nut-input-value" };
335
337
  const _hoisted_3 = { class: "label-string" };
336
338
  const _hoisted_4 = { class: "nut-input-value" };
337
- const _hoisted_5 = ["maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
338
- const _hoisted_6 = ["type", "maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
339
- const _hoisted_7 = {
339
+ const _hoisted_5 = { class: "nut-input-inner" };
340
+ const _hoisted_6 = { class: "nut-input-box" };
341
+ const _hoisted_7 = ["maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
342
+ const _hoisted_8 = ["type", "maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
343
+ const _hoisted_9 = { class: "nut-input-clear-box" };
344
+ const _hoisted_10 = {
340
345
  key: 0,
341
346
  class: "nut-input-word-limit"
342
347
  };
343
- const _hoisted_8 = { class: "nut-input-word-num" };
348
+ const _hoisted_11 = { class: "nut-input-word-num" };
344
349
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
345
350
  const _component_nut_icon = resolveComponent("nut-icon");
346
351
  return openBlock(), createElementBlock("view", {
347
352
  class: normalizeClass(_ctx.classes),
348
- onClick: _cache[10] || (_cache[10] = (...args) => _ctx.onClick && _ctx.onClick(...args))
353
+ onClick: _cache[11] || (_cache[11] = (...args) => _ctx.onClick && _ctx.onClick(...args))
349
354
  }, [
350
355
  _ctx.$slots.input ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
351
356
  _ctx.label ? (openBlock(), createElementBlock("view", {
@@ -372,10 +377,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
372
377
  class: "nut-input-left-icon",
373
378
  onClick: _cache[1] || (_cache[1] = (...args) => _ctx.onClickLeftIcon && _ctx.onClickLeftIcon(...args))
374
379
  }, [
375
- createVNode(_component_nut_icon, {
376
- name: _ctx.leftIcon,
377
- size: _ctx.leftIconSize
378
- }, null, 8, ["name", "size"])
380
+ createVNode(_component_nut_icon, mergeProps({ name: _ctx.leftIcon }, _ctx.$attrs, { size: _ctx.leftIconSize }), null, 16, ["name", "size"])
379
381
  ])) : createCommentVNode("", true),
380
382
  _ctx.label ? (openBlock(), createElementBlock("view", {
381
383
  key: 1,
@@ -388,68 +390,69 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
388
390
  createElementVNode("view", _hoisted_3, toDisplayString(_ctx.label) + " " + toDisplayString(_ctx.colon ? ":" : ""), 1)
389
391
  ], 6)) : createCommentVNode("", true),
390
392
  createElementVNode("view", _hoisted_4, [
391
- createElementVNode("view", {
392
- class: "nut-input-inner",
393
- onClick: _cache[9] || (_cache[9] = (...args) => _ctx.onClickInput && _ctx.onClickInput(...args))
394
- }, [
395
- _ctx.type == "textarea" ? (openBlock(), createElementBlock("textarea", {
396
- key: 0,
397
- class: "input-text",
398
- ref: "inputRef",
399
- style: normalizeStyle(_ctx.stylesTextarea),
400
- maxlength: _ctx.maxLength,
401
- placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
402
- disabled: _ctx.disabled,
403
- readonly: _ctx.readonly,
404
- value: _ctx.modelValue,
405
- formatTrigger: _ctx.formatTrigger,
406
- autofocus: _ctx.autofocus,
407
- onInput: _cache[2] || (_cache[2] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
408
- onFocus: _cache[3] || (_cache[3] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
409
- onBlur: _cache[4] || (_cache[4] = (...args) => _ctx.onBlur && _ctx.onBlur(...args))
410
- }, null, 44, _hoisted_5)) : (openBlock(), createElementBlock("input", {
411
- key: 1,
412
- class: "input-text",
413
- ref: "inputRef",
414
- style: normalizeStyle(_ctx.styles),
415
- type: _ctx.inputType(_ctx.type),
416
- maxlength: _ctx.maxLength,
417
- placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
418
- disabled: _ctx.disabled,
419
- readonly: _ctx.readonly,
420
- value: _ctx.modelValue,
421
- formatTrigger: _ctx.formatTrigger,
422
- autofocus: _ctx.autofocus,
423
- onInput: _cache[5] || (_cache[5] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
424
- onFocus: _cache[6] || (_cache[6] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
425
- onBlur: _cache[7] || (_cache[7] = (...args) => _ctx.onBlur && _ctx.onBlur(...args))
426
- }, null, 44, _hoisted_6)),
427
- _ctx.clearable && !_ctx.readonly ? withDirectives((openBlock(), createBlock(_component_nut_icon, {
428
- key: 2,
429
- class: "nut-input-clear",
430
- name: _ctx.clearIcon,
431
- size: _ctx.clearSize,
432
- onClick: _ctx.clear
433
- }, null, 8, ["name", "size", "onClick"])), [
434
- [vShow, _ctx.active && _ctx.modelValue.length > 0]
435
- ]) : createCommentVNode("", true),
393
+ createElementVNode("view", _hoisted_5, [
394
+ createElementVNode("view", _hoisted_6, [
395
+ _ctx.type == "textarea" ? (openBlock(), createElementBlock("textarea", {
396
+ key: 0,
397
+ class: "input-text",
398
+ ref: "inputRef",
399
+ style: normalizeStyle(_ctx.stylesTextarea),
400
+ maxlength: _ctx.maxLength,
401
+ placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
402
+ disabled: _ctx.disabled,
403
+ readonly: _ctx.readonly,
404
+ value: _ctx.modelValue,
405
+ formatTrigger: _ctx.formatTrigger,
406
+ autofocus: _ctx.autofocus,
407
+ onInput: _cache[2] || (_cache[2] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
408
+ onFocus: _cache[3] || (_cache[3] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
409
+ onBlur: _cache[4] || (_cache[4] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),
410
+ onClick: _cache[5] || (_cache[5] = (...args) => _ctx.onClickInput && _ctx.onClickInput(...args))
411
+ }, null, 44, _hoisted_7)) : (openBlock(), createElementBlock("input", {
412
+ key: 1,
413
+ class: "input-text",
414
+ ref: "inputRef",
415
+ style: normalizeStyle(_ctx.styles),
416
+ type: _ctx.inputType(_ctx.type),
417
+ maxlength: _ctx.maxLength,
418
+ placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
419
+ disabled: _ctx.disabled,
420
+ readonly: _ctx.readonly,
421
+ value: _ctx.modelValue,
422
+ formatTrigger: _ctx.formatTrigger,
423
+ autofocus: _ctx.autofocus,
424
+ onInput: _cache[6] || (_cache[6] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
425
+ onFocus: _cache[7] || (_cache[7] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
426
+ onBlur: _cache[8] || (_cache[8] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),
427
+ onClick: _cache[9] || (_cache[9] = (...args) => _ctx.onClickInput && _ctx.onClickInput(...args))
428
+ }, null, 44, _hoisted_8))
429
+ ]),
430
+ createElementVNode("view", _hoisted_9, [
431
+ _ctx.clearable && !_ctx.readonly ? withDirectives((openBlock(), createBlock(_component_nut_icon, mergeProps({
432
+ key: 0,
433
+ class: "nut-input-clear",
434
+ name: _ctx.clearIcon
435
+ }, _ctx.$attrs, {
436
+ size: _ctx.clearSize,
437
+ onClick: _ctx.clear
438
+ }), null, 16, ["name", "size", "onClick"])), [
439
+ [vShow, _ctx.active && _ctx.modelValue.length > 0]
440
+ ]) : createCommentVNode("", true)
441
+ ]),
436
442
  _ctx.rightIcon && _ctx.rightIcon.length > 0 ? (openBlock(), createElementBlock("view", {
437
- key: 3,
443
+ key: 0,
438
444
  class: "nut-input-right-icon",
439
- onClick: _cache[8] || (_cache[8] = (...args) => _ctx.onClickRightIcon && _ctx.onClickRightIcon(...args))
445
+ onClick: _cache[10] || (_cache[10] = (...args) => _ctx.onClickRightIcon && _ctx.onClickRightIcon(...args))
440
446
  }, [
441
- createVNode(_component_nut_icon, {
442
- name: _ctx.rightIcon,
443
- size: _ctx.rightIconSize
444
- }, null, 8, ["name", "size"])
447
+ createVNode(_component_nut_icon, mergeProps({ name: _ctx.rightIcon }, _ctx.$attrs, { size: _ctx.rightIconSize }), null, 16, ["name", "size"])
445
448
  ])) : createCommentVNode("", true),
446
449
  _ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {
447
- key: 4,
450
+ key: 1,
448
451
  class: "nut-input-button"
449
452
  }) : createCommentVNode("", true)
450
453
  ]),
451
- _ctx.showWordLimit && _ctx.maxLength ? (openBlock(), createElementBlock("view", _hoisted_7, [
452
- createElementVNode("span", _hoisted_8, toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0), 1),
454
+ _ctx.showWordLimit && _ctx.maxLength ? (openBlock(), createElementBlock("view", _hoisted_10, [
455
+ createElementVNode("span", _hoisted_11, toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0), 1),
453
456
  createTextVNode("/" + toDisplayString(_ctx.maxLength), 1)
454
457
  ])) : createCommentVNode("", true),
455
458
  _ctx.errorMessage ? (openBlock(), createElementBlock("view", {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 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.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 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.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { ref, computed, onMounted, onUnmounted, reactive, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, normalizeStyle, toDisplayString, createVNode, renderSlot, provide } from "vue";
6
+ import { ref, computed, onMounted, onUnmounted, reactive, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, normalizeStyle, toDisplayString, createVNode, mergeProps, renderSlot, provide } from "vue";
7
7
  import { c as createComponent } from "./component.js";
8
8
  import { u as useRect } from "./index2.js";
9
9
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
@@ -27,6 +27,7 @@ const _sfc_main = create({
27
27
  type: [Number, String],
28
28
  default: 0
29
29
  },
30
+ titleIcon: String,
30
31
  closeOnClickOverlay: {
31
32
  type: Boolean,
32
33
  default: true
@@ -159,11 +160,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
159
160
  class: normalizeClass(["nut-menu__title", _ctx.getClasses(item.state.showPopup)])
160
161
  }, [
161
162
  createElementVNode("view", _hoisted_2, toDisplayString(item.renderTitle()), 1),
162
- createVNode(_component_nut_icon, {
163
- name: item.titleIcon || (_ctx.direction === "up" ? "arrow-up" : "down-arrow"),
163
+ createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
164
+ name: _ctx.titleIcon || (_ctx.direction === "up" ? "arrow-up" : "down-arrow"),
164
165
  size: "10",
165
166
  class: "nut-menu__title-icon"
166
- }, null, 8, ["name"])
167
+ }), null, 16, ["name"])
167
168
  ], 2)
168
169
  ], 14, _hoisted_1);
169
170
  }), 128))
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -28,7 +28,6 @@ const _sfc_main = create({
28
28
  type: Number,
29
29
  default: 1
30
30
  },
31
- titleIcon: String,
32
31
  activeTitleClass: String,
33
32
  inactiveTitleClass: String,
34
33
  optionIcon: {
@@ -160,12 +159,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
160
159
  style: normalizeStyle({ "flex-basis": 100 / _ctx.cols + "%" }),
161
160
  onClick: ($event) => _ctx.onClick(option)
162
161
  }, [
163
- option.value === _ctx.modelValue ? (openBlock(), createBlock(_component_nut_icon, {
164
- key: 0,
165
- class: normalizeClass({ activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue }),
162
+ option.value === _ctx.modelValue ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 0 }, _ctx.$attrs, {
163
+ class: { activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue },
166
164
  name: _ctx.optionIcon,
167
165
  color: _ctx.parent.props.activeColor
168
- }, null, 8, ["class", "name", "color"])) : createCommentVNode("", true),
166
+ }), null, 16, ["class", "name", "color"])) : createCommentVNode("", true),
169
167
  createElementVNode("view", {
170
168
  class: normalizeClass({ activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue }),
171
169
  style: normalizeStyle({ color: option.value === _ctx.modelValue ? _ctx.parent.props.activeColor : "" })
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { toRefs, ref, computed, onMounted, nextTick, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, createBlock, createCommentVNode, toDisplayString, renderSlot } from "vue";
6
+ import { toRefs, ref, computed, onMounted, nextTick, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, createBlock, createCommentVNode, toDisplayString, renderSlot, mergeProps } 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";
@@ -138,12 +138,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
138
138
  class: "title",
139
139
  onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleCenter && _ctx.handleCenter(...args))
140
140
  }, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
141
- _ctx.titIcon ? (openBlock(), createBlock(_component_nut_icon, {
141
+ _ctx.titIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
142
142
  key: 1,
143
- class: "icon",
143
+ class: "icon"
144
+ }, _ctx.$attrs, {
144
145
  name: _ctx.titIcon,
145
146
  onClick: _ctx.handleCenterIcon
146
- }, null, 8, ["name", "onClick"])) : createCommentVNode("", true),
147
+ }), null, 16, ["name", "onClick"])) : createCommentVNode("", true),
147
148
  renderSlot(_ctx.$slots, "content")
148
149
  ]),
149
150
  createElementVNode("view", {
@@ -177,12 +178,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
177
178
  class: "title",
178
179
  onClick: _cache[4] || (_cache[4] = (...args) => _ctx.handleCenter && _ctx.handleCenter(...args))
179
180
  }, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
180
- _ctx.titIcon ? (openBlock(), createBlock(_component_nut_icon, {
181
+ _ctx.titIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
181
182
  key: 1,
182
- class: "icon",
183
+ class: "icon"
184
+ }, _ctx.$attrs, {
183
185
  name: _ctx.titIcon,
184
186
  onClick: _ctx.handleCenterIcon
185
- }, null, 8, ["name", "onClick"])) : createCommentVNode("", true),
187
+ }), null, 16, ["name", "onClick"])) : createCommentVNode("", true),
186
188
  renderSlot(_ctx.$slots, "content")
187
189
  ]),
188
190
  createElementVNode("view", {
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { h, ref, reactive, computed, watch, onMounted, onActivated, onDeactivated, onUnmounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, normalizeStyle, renderSlot, createBlock, createCommentVNode, createElementVNode, createTextVNode, toDisplayString, withModifiers, createVNode, vShow, Fragment, renderList } from "vue";
6
+ import { h, ref, reactive, computed, watch, onMounted, onActivated, onDeactivated, onUnmounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, normalizeStyle, renderSlot, createBlock, createCommentVNode, createElementVNode, createTextVNode, toDisplayString, withModifiers, createVNode, mergeProps, vShow, Fragment, renderList } 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";
@@ -329,10 +329,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
329
329
  onClick: _cache[2] || (_cache[2] = withModifiers((...args) => _ctx.onClickIcon && _ctx.onClickIcon(...args), ["stop"]))
330
330
  }, [
331
331
  renderSlot(_ctx.$slots, "right-icon", {}, () => [
332
- createVNode(_component_nut_icon, {
332
+ createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
333
333
  name: _ctx.rightIcon ? _ctx.rightIcon : "close",
334
334
  color: _ctx.color
335
- }, null, 8, ["name", "color"])
335
+ }), null, 16, ["name", "color"])
336
336
  ])
337
337
  ])) : createCommentVNode("", true)
338
338
  ], 6)), [
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:10 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */