@nutui/nutui 3.2.6-beta.2 → 3.2.7

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 (195) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/README.md +11 -1
  3. package/dist/nutui.es.js +682 -1156
  4. package/dist/nutui.umd.js +689 -1164
  5. package/dist/packages/_es/ActionSheet.js +1 -1
  6. package/dist/packages/_es/Address.js +1 -1
  7. package/dist/packages/_es/AddressList.js +1 -1
  8. package/dist/packages/_es/Animate.js +1 -1
  9. package/dist/packages/_es/Audio.js +1 -1
  10. package/dist/packages/_es/AudioOperate.js +1 -1
  11. package/dist/packages/_es/Avatar.js +1 -1
  12. package/dist/packages/_es/AvatarGroup.js +1 -1
  13. package/dist/packages/_es/BackTop.js +1 -1
  14. package/dist/packages/_es/Badge.js +1 -1
  15. package/dist/packages/_es/Barrage.js +1 -1
  16. package/dist/packages/_es/Button.js +1 -1
  17. package/dist/packages/_es/Calendar.js +11 -4
  18. package/dist/packages/_es/CalendarItem.js +1 -1
  19. package/dist/packages/_es/Card.js +1 -1
  20. package/dist/packages/_es/Cascader.js +1 -1
  21. package/dist/packages/_es/Category.js +1 -1
  22. package/dist/packages/_es/CategoryPane.js +1 -1
  23. package/dist/packages/_es/Cell.js +1 -1
  24. package/dist/packages/_es/CellGroup.js +1 -1
  25. package/dist/packages/_es/Checkbox.js +1 -1
  26. package/dist/packages/_es/CheckboxGroup.js +1 -1
  27. package/dist/packages/_es/CircleProgress.js +1 -1
  28. package/dist/packages/_es/Col.js +1 -1
  29. package/dist/packages/_es/Collapse.js +1 -1
  30. package/dist/packages/_es/CollapseItem.js +9 -12
  31. package/dist/packages/_es/Comment.js +1 -1
  32. package/dist/packages/_es/ConfigProvider.js +1 -1
  33. package/dist/packages/_es/CountDown.js +1 -1
  34. package/dist/packages/_es/CountUp.js +1 -1
  35. package/dist/packages/_es/DatePicker.js +1 -1
  36. package/dist/packages/_es/Dialog.js +1 -1
  37. package/dist/packages/_es/Divider.js +1 -1
  38. package/dist/packages/_es/Drag.js +1 -1
  39. package/dist/packages/_es/Ecard.js +1 -1
  40. package/dist/packages/_es/Elevator.js +8 -2
  41. package/dist/packages/_es/Ellipsis.js +3 -3
  42. package/dist/packages/_es/Empty.js +1 -1
  43. package/dist/packages/_es/FixedNav.js +1 -1
  44. package/dist/packages/_es/Form.js +1 -1
  45. package/dist/packages/_es/FormItem.js +1 -1
  46. package/dist/packages/_es/Grid.js +1 -1
  47. package/dist/packages/_es/GridItem.js +1 -1
  48. package/dist/packages/_es/Icon.js +1 -1
  49. package/dist/packages/_es/Image.js +1 -1
  50. package/dist/packages/_es/ImagePreview.js +16 -5
  51. package/dist/packages/_es/Indicator.js +1 -1
  52. package/dist/packages/_es/InfiniteLoading.js +9 -2
  53. package/dist/packages/_es/Input.js +5 -12
  54. package/dist/packages/_es/InputNumber.js +1 -1
  55. package/dist/packages/_es/Invoice.js +1 -1
  56. package/dist/packages/_es/Layout.js +1 -1
  57. package/dist/packages/_es/List.js +1 -1
  58. package/dist/packages/_es/Menu.js +1 -1
  59. package/dist/packages/_es/MenuItem.js +5 -2
  60. package/dist/packages/_es/Navbar.js +1 -1
  61. package/dist/packages/_es/NoticeBar.js +1 -1
  62. package/dist/packages/_es/Notify.js +1 -1
  63. package/dist/packages/_es/NumberKeyboard.js +1 -1
  64. package/dist/packages/_es/OverLay.js +1 -1
  65. package/dist/packages/_es/Pagination.js +1 -1
  66. package/dist/packages/_es/Picker.js +1 -1
  67. package/dist/packages/_es/Popover.js +1 -1
  68. package/dist/packages/_es/Popup.js +6 -47
  69. package/dist/packages/_es/Price.js +1 -1
  70. package/dist/packages/_es/Progress.js +1 -1
  71. package/dist/packages/_es/PullRefresh.js +1 -1
  72. package/dist/packages/_es/Radio.js +1 -1
  73. package/dist/packages/_es/RadioGroup.js +1 -1
  74. package/dist/packages/_es/Range.js +1 -1
  75. package/dist/packages/_es/Rate.js +1 -1
  76. package/dist/packages/_es/Row.js +1 -1
  77. package/dist/packages/_es/SearchBar.js +1 -1
  78. package/dist/packages/_es/ShortPassword.js +1 -1
  79. package/dist/packages/_es/SideNavBar.js +1 -1
  80. package/dist/packages/_es/SideNavBarItem.js +1 -1
  81. package/dist/packages/_es/Signature.js +1 -1
  82. package/dist/packages/_es/Skeleton.js +19 -24
  83. package/dist/packages/_es/Sku.js +1 -1
  84. package/dist/packages/_es/Step.js +1 -1
  85. package/dist/packages/_es/Steps.js +1 -1
  86. package/dist/packages/_es/Sticky.js +1 -1
  87. package/dist/packages/_es/SubSideNavBar.js +1 -1
  88. package/dist/packages/_es/Swipe.js +1 -1
  89. package/dist/packages/_es/Swiper.js +1 -1
  90. package/dist/packages/_es/SwiperItem.js +1 -1
  91. package/dist/packages/_es/Switch.js +1 -1
  92. package/dist/packages/_es/TabPane.js +1 -1
  93. package/dist/packages/_es/Tabbar.js +1 -1
  94. package/dist/packages/_es/TabbarItem.js +24 -10
  95. package/dist/packages/_es/Table.js +1 -1
  96. package/dist/packages/_es/Tabs.js +1 -1
  97. package/dist/packages/_es/Tag.js +1 -1
  98. package/dist/packages/_es/TextArea.js +1 -1
  99. package/dist/packages/_es/TimeDetail.js +1 -1
  100. package/dist/packages/_es/TimePannel.js +1 -1
  101. package/dist/packages/_es/TimeSelect.js +1 -1
  102. package/dist/packages/_es/Toast.js +1 -1
  103. package/dist/packages/_es/TrendArrow.js +1 -1
  104. package/dist/packages/_es/Uploader.js +6 -6
  105. package/dist/packages/_es/Video.js +3 -2
  106. package/dist/packages/_es/WaterMark.js +1 -1
  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 +1 -1
  110. package/dist/packages/_es/index2.js +1 -1
  111. package/dist/packages/_es/index3.js +1 -1
  112. package/dist/packages/_es/index4.js +1 -1
  113. package/dist/packages/_es/index5.js +8 -2
  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/address/index.scss +5 -1
  118. package/dist/packages/card/index.scss +1 -0
  119. package/dist/packages/ellipsis/index.scss +4 -0
  120. package/dist/packages/formitem/index.scss +2 -0
  121. package/dist/packages/imagepreview/index.scss +5 -0
  122. package/dist/packages/locale/lang/baseLang.js +1 -1
  123. package/dist/packages/locale/lang/en-US.js +1 -1
  124. package/dist/packages/locale/lang/id-ID.js +1 -1
  125. package/dist/packages/locale/lang/index.js +1 -1
  126. package/dist/packages/locale/lang/zh-CN.js +1 -1
  127. package/dist/packages/locale/lang/zh-TW.js +1 -1
  128. package/dist/packages/menuitem/index.scss +1 -0
  129. package/dist/packages/signature/index.scss +6 -2
  130. package/dist/packages/skeleton/index.scss +21 -19
  131. package/dist/packages/sticky/index.scss +3 -0
  132. package/dist/packages/tabbaritem/index.scss +4 -0
  133. package/dist/packages/timeselect/index.scss +0 -1
  134. package/dist/smartips/attributes.json +32 -56
  135. package/dist/smartips/tags.json +6 -16
  136. package/dist/smartips/web-types.json +48 -109
  137. package/dist/style.css +1 -1
  138. package/dist/styles/font/config.json +4 -0
  139. package/dist/styles/font/demo_index.html +118 -26
  140. package/dist/styles/font/iconfont.css +23 -7
  141. package/dist/styles/font/iconfont.js +6 -6
  142. package/dist/styles/font/iconfont.json +35 -7
  143. package/dist/styles/font/iconfont.ttf +0 -0
  144. package/dist/styles/font/iconfont.woff +0 -0
  145. package/dist/styles/font/iconfont.woff2 +0 -0
  146. package/dist/styles/themes/default.scss +53 -54
  147. package/dist/styles/themes/jdb.scss +53 -54
  148. package/dist/styles/themes/jddkh.scss +53 -54
  149. package/dist/styles/themes/jdt.scss +53 -54
  150. package/dist/styles/variables-jdb.scss +8 -1
  151. package/dist/styles/variables-jddkh.scss +8 -1
  152. package/dist/styles/variables-jdt.scss +8 -1
  153. package/dist/styles/variables.scss +8 -1
  154. package/dist/types/__VUE/address/index.vue.d.ts +2 -2
  155. package/dist/types/__VUE/audio/index.vue.d.ts +4 -4
  156. package/dist/types/__VUE/calendar/index.vue.d.ts +11 -0
  157. package/dist/types/__VUE/calendaritem/index.vue.d.ts +15 -5
  158. package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
  159. package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
  160. package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
  161. package/dist/types/__VUE/elevator/index.vue.d.ts +2 -1
  162. package/dist/types/__VUE/fixednav/index.vue.d.ts +1 -1
  163. package/dist/types/__VUE/image/index.vue.d.ts +4 -4
  164. package/dist/types/__VUE/imagepreview/index.vue.d.ts +1 -1
  165. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +4 -4
  166. package/dist/types/__VUE/input/index.vue.d.ts +1 -2
  167. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
  168. package/dist/types/__VUE/menuitem/index.vue.d.ts +3 -1
  169. package/dist/types/__VUE/navbar/index.vue.d.ts +2 -2
  170. package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -2
  171. package/dist/types/__VUE/picker/Column.vue.d.ts +4 -4
  172. package/dist/types/__VUE/picker/index.vue.d.ts +4 -4
  173. package/dist/types/__VUE/popover/index.vue.d.ts +1 -1
  174. package/dist/types/__VUE/range/index.vue.d.ts +7 -7
  175. package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
  176. package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
  177. package/dist/types/__VUE/skeleton/common.d.ts +2 -3
  178. package/dist/types/__VUE/skeleton/index.vue.d.ts +2 -3
  179. package/dist/types/__VUE/swiper/index.vue.d.ts +1 -1
  180. package/dist/types/__VUE/switch/index.vue.d.ts +1 -1
  181. package/dist/types/__VUE/tabbar/index.vue.d.ts +1 -1
  182. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +1 -0
  183. package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -1
  184. package/dist/types/__VUE/uploader/index.vue.d.ts +13 -4
  185. package/dist/types/__VUE/video/index.vue.d.ts +2 -2
  186. package/dist/types/__VUE/watermark/index.vue.d.ts +1 -1
  187. package/dist/types/index.d.ts +1 -1
  188. package/dist/types/nutui.d.ts +1 -2
  189. package/package.json +2 -1
  190. package/dist/packages/_es/OldPicker.js +0 -486
  191. package/dist/packages/oldpicker/index.scss +0 -133
  192. package/dist/types/__VUE/oldpicker/Column.vue.d.ts +0 -96
  193. package/dist/types/__VUE/oldpicker/commonProps.d.ts +0 -22
  194. package/dist/types/__VUE/oldpicker/index.vue.d.ts +0 -369
  195. package/dist/types/__VUE/oldpicker/types.d.ts +0 -24
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -300,12 +300,6 @@ const _sfc_main = create({
300
300
  }
301
301
  emit("click-right-icon", event);
302
302
  };
303
- const onClick = (e) => {
304
- if (props.disabled) {
305
- e.stopImmediatePropagation();
306
- return;
307
- }
308
- };
309
303
  watch(
310
304
  () => props.modelValue,
311
305
  () => {
@@ -333,8 +327,7 @@ const _sfc_main = create({
333
327
  clear,
334
328
  onClickInput,
335
329
  onClickLeftIcon,
336
- onClickRightIcon,
337
- onClick
330
+ onClickRightIcon
338
331
  };
339
332
  }
340
333
  });
@@ -355,8 +348,7 @@ const _hoisted_11 = { class: "nut-input-word-num" };
355
348
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
356
349
  const _component_nut_icon = resolveComponent("nut-icon");
357
350
  return openBlock(), createElementBlock("view", {
358
- class: normalizeClass(_ctx.classes),
359
- onClick: _cache[11] || (_cache[11] = (...args) => _ctx.onClick && _ctx.onClick(...args))
351
+ class: normalizeClass(_ctx.classes)
360
352
  }, [
361
353
  _ctx.$slots.input ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
362
354
  _ctx.label ? (openBlock(), createElementBlock("view", {
@@ -455,7 +447,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
455
447
  _ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {
456
448
  key: 1,
457
449
  class: "nut-input-button"
458
- }) : createCommentVNode("", true)
450
+ }) : createCommentVNode("", true),
451
+ _ctx.$slots.rightExtra ? renderSlot(_ctx.$slots, "rightExtra", { key: 2 }) : createCommentVNode("", true)
459
452
  ]),
460
453
  _ctx.showWordLimit && _ctx.maxLength ? (openBlock(), createElementBlock("view", _hoisted_10, [
461
454
  createElementVNode("span", _hoisted_11, toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0), 1),
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -39,7 +39,7 @@ const _sfc_main = create({
39
39
  [_sfc_main$1.name]: _sfc_main$1,
40
40
  [Popup.name]: Popup
41
41
  },
42
- emits: ["update:modelValue", "change"],
42
+ emits: ["update:modelValue", "change", "open", "close"],
43
43
  setup(props, { emit, slots }) {
44
44
  const state = reactive({
45
45
  showPopup: false,
@@ -81,6 +81,7 @@ const _sfc_main = create({
81
81
  state.isShowPlaceholderElement = show;
82
82
  if (show) {
83
83
  state.showWrapper = true;
84
+ emit("open");
84
85
  }
85
86
  };
86
87
  const renderTitle = () => {
@@ -100,11 +101,13 @@ const _sfc_main = create({
100
101
  }
101
102
  };
102
103
  const handleClose = () => {
104
+ emit("close");
103
105
  state.showWrapper = false;
104
106
  state.isShowPlaceholderElement = false;
105
107
  };
106
108
  const handleClickOutside = () => {
107
109
  state.showPopup = false;
110
+ emit("close");
108
111
  };
109
112
  return {
110
113
  classes,
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -73,7 +73,7 @@ const popupProps = {
73
73
  },
74
74
  isWrapTeleport: {
75
75
  type: Boolean,
76
- default: true
76
+ default: false
77
77
  },
78
78
  safeAreaInsetBottom: {
79
79
  type: Boolean,
@@ -217,13 +217,12 @@ const _sfc_main = create({
217
217
  };
218
218
  }
219
219
  });
220
- const _hoisted_1 = { key: 1 };
221
220
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
222
221
  const _component_nut_overlay = resolveComponent("nut-overlay");
223
222
  const _component_nut_icon = resolveComponent("nut-icon");
224
- return _ctx.isWrapTeleport ? (openBlock(), createBlock(Teleport, {
225
- key: 0,
226
- to: _ctx.teleport
223
+ return openBlock(), createBlock(Teleport, {
224
+ to: _ctx.teleport,
225
+ disabled: !_ctx.isWrapTeleport
227
226
  }, [
228
227
  _ctx.overlay ? (openBlock(), createBlock(_component_nut_overlay, {
229
228
  key: 0,
@@ -265,47 +264,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
265
264
  ]),
266
265
  _: 3
267
266
  }, 8, ["name", "onAfterEnter", "onAfterLeave"])
268
- ], 8, ["to"])) : (openBlock(), createElementBlock("view", _hoisted_1, [
269
- _ctx.overlay ? (openBlock(), createBlock(_component_nut_overlay, {
270
- key: 0,
271
- visible: _ctx.visible,
272
- "close-on-click-overlay": _ctx.closeOnClickOverlay,
273
- class: normalizeClass(_ctx.overlayClass),
274
- style: normalizeStyle(_ctx.overlayStyle),
275
- "z-index": _ctx.zIndex,
276
- "lock-scroll": _ctx.lockScroll,
277
- duration: _ctx.duration,
278
- onClick: _ctx.onClickOverlay
279
- }, null, 8, ["visible", "close-on-click-overlay", "class", "style", "z-index", "lock-scroll", "duration", "onClick"])) : createCommentVNode("", true),
280
- createVNode(Transition, {
281
- name: _ctx.transitionName,
282
- onAfterEnter: _ctx.onOpened,
283
- onAfterLeave: _ctx.onClosed
284
- }, {
285
- default: withCtx(() => [
286
- withDirectives(createElementVNode("view", {
287
- class: normalizeClass(_ctx.classes),
288
- style: normalizeStyle(_ctx.popStyle),
289
- onClick: _cache[3] || (_cache[3] = (...args) => _ctx.onClick && _ctx.onClick(...args))
290
- }, [
291
- _ctx.showSlot ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("", true),
292
- _ctx.closed ? (openBlock(), createElementBlock("view", {
293
- key: 1,
294
- onClick: _cache[2] || (_cache[2] = (...args) => _ctx.onClickCloseIcon && _ctx.onClickCloseIcon(...args)),
295
- class: normalizeClass(["nutui-popup__close-icon", "nutui-popup__close-icon--" + _ctx.closeIconPosition])
296
- }, [
297
- createVNode(_component_nut_icon, {
298
- name: _ctx.closeIcon,
299
- size: "12px"
300
- }, null, 8, ["name"])
301
- ], 2)) : createCommentVNode("", true)
302
- ], 6), [
303
- [vShow, _ctx.visible]
304
- ])
305
- ]),
306
- _: 3
307
- }, 8, ["name", "onAfterEnter", "onAfterLeave"])
308
- ]));
267
+ ], 8, ["to", "disabled"]);
309
268
  }
310
269
  var Popup = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
311
270
  export { Popup as default, popupProps };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -59,13 +59,12 @@ const component = {
59
59
  [`${prefixCls}--${avatarShape.value}`]: avatarShape.value
60
60
  };
61
61
  });
62
- const blockClass = computed(() => {
63
- const prefixCls = "blockClass";
62
+ const getBlockClass = (prefixCls) => {
64
63
  return {
65
64
  [prefixCls]: true,
66
65
  [`${prefixCls}--round`]: round.value
67
66
  };
68
- });
67
+ };
69
68
  const getStyle = () => {
70
69
  if (avatarSize.value) {
71
70
  return {
@@ -83,7 +82,7 @@ const component = {
83
82
  return {
84
83
  avatarShape,
85
84
  avatarClass,
86
- blockClass,
85
+ getBlockClass,
87
86
  getStyle
88
87
  };
89
88
  }
@@ -100,11 +99,6 @@ const _hoisted_3 = {
100
99
  class: "skeleton-animation"
101
100
  };
102
101
  const _hoisted_4 = { class: "content" };
103
- const _hoisted_5 = { class: "content-line" };
104
- const _hoisted_6 = {
105
- key: 0,
106
- class: "title"
107
- };
108
102
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
109
103
  const _component_nut_avatar = resolveComponent("nut-avatar");
110
104
  return !_ctx.loading ? (openBlock(), createElementBlock("view", _hoisted_1, [
@@ -116,24 +110,25 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
116
110
  key: 0,
117
111
  class: normalizeClass(_ctx.avatarClass),
118
112
  shape: _ctx.avatarShape,
119
- style: normalizeStyle(_ctx.getStyle()),
120
- "bg-color": "rgb(239, 239, 239)"
113
+ style: normalizeStyle(_ctx.getStyle())
121
114
  }, null, 8, ["class", "shape", "style"])) : createCommentVNode("", true),
122
- Number(_ctx.row) == 1 ? (openBlock(), createElementBlock("view", {
123
- key: 1,
124
- class: normalizeClass(_ctx.blockClass),
125
- style: normalizeStyle({ width: _ctx.width, height: _ctx.height })
126
- }, null, 6)) : createCommentVNode("", true),
127
- createElementVNode("view", _hoisted_5, [
128
- _ctx.title ? (openBlock(), createElementBlock("view", _hoisted_6)) : createCommentVNode("", true),
129
- (openBlock(true), createElementBlock(Fragment, null, renderList(Number(_ctx.row), (item, index2) => {
115
+ createElementVNode("view", {
116
+ class: "content-line",
117
+ style: normalizeStyle({ width: _ctx.width })
118
+ }, [
119
+ _ctx.title ? (openBlock(), createElementBlock("view", {
120
+ key: 0,
121
+ class: normalizeClass(_ctx.getBlockClass("blockTitle")),
122
+ style: normalizeStyle({ height: _ctx.height })
123
+ }, null, 6)) : createCommentVNode("", true),
124
+ (openBlock(true), createElementBlock(Fragment, null, renderList(Number(_ctx.row), (_) => {
130
125
  return openBlock(), createElementBlock("view", {
131
- key: index2,
132
- class: normalizeClass(_ctx.blockClass),
133
- style: normalizeStyle({ width: _ctx.width, height: _ctx.height })
126
+ key: _,
127
+ class: normalizeClass(_ctx.getBlockClass("blockLine")),
128
+ style: normalizeStyle({ height: _ctx.height })
134
129
  }, null, 6);
135
130
  }), 128))
136
- ])
131
+ ], 4)
137
132
  ])
138
133
  ]));
139
134
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 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.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */