@nutui/nutui 3.1.23-beta.4 → 3.2.0

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 (234) hide show
  1. package/CHANGELOG.md +41 -1
  2. package/dist/nutui.es.js +164 -103
  3. package/dist/nutui.umd.js +164 -103
  4. package/dist/packages/_es/ActionSheet.js +1 -1
  5. package/dist/packages/_es/Address.js +5 -4
  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 +29 -44
  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 +1 -1
  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 +1 -1
  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 +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 +11 -10
  29. package/dist/packages/_es/CollapseItem.js +1 -1
  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 +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 +31 -4
  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 +1 -1
  57. package/dist/packages/_es/MenuItem.js +8 -4
  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 +5 -11
  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 +13 -3
  66. package/dist/packages/_es/Popover.js +1 -1
  67. package/dist/packages/_es/Popup.js +1 -1
  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 +21 -8
  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 +1 -1
  89. package/dist/packages/_es/SwiperItem.js +1 -1
  90. package/dist/packages/_es/Switch.js +1 -1
  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 +36 -21
  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 +8 -3
  103. package/dist/packages/_es/Video.js +1 -1
  104. package/dist/packages/_es/WaterMark.js +1 -1
  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/actionsheet/index.scss +17 -0
  116. package/dist/packages/address/index.scss +60 -0
  117. package/dist/packages/audio/index.scss +8 -0
  118. package/dist/packages/backtop/index.scss +8 -0
  119. package/dist/packages/badge/index.scss +8 -0
  120. package/dist/packages/barrage/index.scss +7 -0
  121. package/dist/packages/calendar/index.scss +27 -1
  122. package/dist/packages/card/index.scss +8 -1
  123. package/dist/packages/circleprogress/index.scss +6 -0
  124. package/dist/packages/collapseitem/index.scss +21 -0
  125. package/dist/packages/comment/index.scss +37 -0
  126. package/dist/packages/countup/index.scss +24 -3
  127. package/dist/packages/ecard/index.scss +31 -1
  128. package/dist/packages/elevator/index.scss +16 -0
  129. package/dist/packages/empty/index.scss +6 -0
  130. package/dist/packages/image/index.scss +12 -0
  131. package/dist/packages/infiniteloading/index.scss +18 -0
  132. package/dist/packages/locale/lang/baseLang.js +1 -1
  133. package/dist/packages/locale/lang/en-US.js +1 -1
  134. package/dist/packages/locale/lang/id-ID.js +1 -1
  135. package/dist/packages/locale/lang/index.js +1 -1
  136. package/dist/packages/locale/lang/zh-CN.js +1 -1
  137. package/dist/packages/locale/lang/zh-TW.js +1 -1
  138. package/dist/packages/noticebar/index.scss +13 -0
  139. package/dist/packages/notify/index.scss +5 -0
  140. package/dist/packages/numberkeyboard/index.scss +10 -0
  141. package/dist/packages/oldpicker/index.scss +2 -0
  142. package/dist/packages/picker/index.scss +35 -0
  143. package/dist/packages/popup/index.scss +10 -0
  144. package/dist/packages/shortpassword/index.scss +20 -0
  145. package/dist/packages/sidenavbaritem/index.scss +9 -0
  146. package/dist/packages/sku/index.scss +40 -0
  147. package/dist/packages/subsidenavbar/index.scss +12 -0
  148. package/dist/packages/textarea/index.scss +6 -0
  149. package/dist/smartips/attributes.json +5 -1
  150. package/dist/smartips/tags.json +2 -1
  151. package/dist/smartips/web-types.json +11 -2
  152. package/dist/style.css +1 -1
  153. package/dist/styles/themes/default.scss +48 -48
  154. package/dist/styles/themes/jdb.scss +48 -48
  155. package/dist/styles/themes/jdt.scss +48 -48
  156. package/dist/styles/variables-jdb.scss +8 -1
  157. package/dist/styles/variables-jdt.scss +8 -1
  158. package/dist/styles/variables.scss +8 -1
  159. package/dist/types/__VUE/actionsheet/index.vue.d.ts +4 -4
  160. package/dist/types/__VUE/address/index.vue.d.ts +3 -3
  161. package/dist/types/__VUE/addresslist/index.vue.d.ts +1 -1
  162. package/dist/types/__VUE/audio/index.vue.d.ts +4 -1
  163. package/dist/types/__VUE/audiooperate/index.vue.d.ts +1 -1
  164. package/dist/types/__VUE/avatar/index.vue.d.ts +4 -4
  165. package/dist/types/__VUE/avatargroup/index.vue.d.ts +3 -3
  166. package/dist/types/__VUE/backtop/index.vue.d.ts +5 -5
  167. package/dist/types/__VUE/badge/index.vue.d.ts +2 -2
  168. package/dist/types/__VUE/button/index.vue.d.ts +2 -2
  169. package/dist/types/__VUE/calendar/index.vue.d.ts +1 -1
  170. package/dist/types/__VUE/calendaritem/index.vue.d.ts +1 -1
  171. package/dist/types/__VUE/cascader/index.vue.d.ts +2 -2
  172. package/dist/types/__VUE/categorypane/index.vue.d.ts +1 -1
  173. package/dist/types/__VUE/cell/index.vue.d.ts +8 -8
  174. package/dist/types/__VUE/cellgroup/index.vue.d.ts +1 -1
  175. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +1 -1
  176. package/dist/types/__VUE/circleprogress/index.vue.d.ts +1 -1
  177. package/dist/types/__VUE/collapse/index.vue.d.ts +2 -2
  178. package/dist/types/__VUE/collapseitem/index.vue.d.ts +3 -3
  179. package/dist/types/__VUE/configprovider/index.vue.d.ts +1 -1
  180. package/dist/types/__VUE/countdown/index.vue.d.ts +1 -1
  181. package/dist/types/__VUE/countup/index.vue.d.ts +1 -1
  182. package/dist/types/__VUE/datepicker/index.vue.d.ts +3 -3
  183. package/dist/types/__VUE/dialog/index.vue.d.ts +2 -2
  184. package/dist/types/__VUE/fixednav/index.vue.d.ts +3 -3
  185. package/dist/types/__VUE/formitem/index.vue.d.ts +1 -1
  186. package/dist/types/__VUE/grid/index.vue.d.ts +2 -2
  187. package/dist/types/__VUE/griditem/index.vue.d.ts +2 -2
  188. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +1 -1
  189. package/dist/types/__VUE/imagepreview/index.vue.d.ts +1 -1
  190. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +1 -1
  191. package/dist/types/__VUE/input/index.vue.d.ts +3 -2
  192. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
  193. package/dist/types/__VUE/menu/index.vue.d.ts +2 -2
  194. package/dist/types/__VUE/menuitem/index.vue.d.ts +7 -1
  195. package/dist/types/__VUE/noticebar/index.vue.d.ts +1 -1
  196. package/dist/types/__VUE/notify/index.vue.d.ts +5 -5
  197. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +3 -3
  198. package/dist/types/__VUE/oldpicker/Column.vue.d.ts +1 -1
  199. package/dist/types/__VUE/oldpicker/index.vue.d.ts +4 -4
  200. package/dist/types/__VUE/overlay/index.vue.d.ts +1 -1
  201. package/dist/types/__VUE/picker/index.vue.d.ts +16 -16
  202. package/dist/types/__VUE/popover/index.vue.d.ts +6 -6
  203. package/dist/types/__VUE/popup/index.vue.d.ts +4 -4
  204. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +1 -1
  205. package/dist/types/__VUE/radiogroup/index.vue.d.ts +1 -1
  206. package/dist/types/__VUE/range/index.vue.d.ts +1 -1
  207. package/dist/types/__VUE/rate/index.vue.d.ts +2 -2
  208. package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
  209. package/dist/types/__VUE/shortpassword/index.vue.d.ts +2 -2
  210. package/dist/types/__VUE/sidenavbar/index.vue.d.ts +1 -1
  211. package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +1 -1
  212. package/dist/types/__VUE/signature/index.vue.d.ts +5 -2
  213. package/dist/types/__VUE/sku/index.vue.d.ts +3 -3
  214. package/dist/types/__VUE/step/index.vue.d.ts +2 -2
  215. package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +1 -1
  216. package/dist/types/__VUE/swipe/index.vue.d.ts +2 -2
  217. package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -1
  218. package/dist/types/__VUE/switch/index.vue.d.ts +2 -2
  219. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +3 -3
  220. package/dist/types/__VUE/table/common.d.ts +3 -0
  221. package/dist/types/__VUE/table/index.vue.d.ts +3 -0
  222. package/dist/types/__VUE/table/types.d.ts +2 -0
  223. package/dist/types/__VUE/tabpane/index.vue.d.ts +1 -1
  224. package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
  225. package/dist/types/__VUE/timedetail/index.vue.d.ts +1 -1
  226. package/dist/types/__VUE/timepannel/index.vue.d.ts +1 -1
  227. package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -1
  228. package/dist/types/__VUE/toast/index.vue.d.ts +2 -2
  229. package/dist/types/__VUE/uploader/index.vue.d.ts +11 -4
  230. package/dist/types/__VUE/uploader/uploader.d.ts +1 -0
  231. package/dist/types/__VUE/video/index.vue.d.ts +1 -1
  232. package/dist/types/__VUE/watermark/index.vue.d.ts +1 -1
  233. package/dist/types/index.d.ts +1 -1
  234. package/package.json +1 -1
package/dist/nutui.umd.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:36 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:13 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -2278,6 +2278,8 @@
2278
2278
  default: 1
2279
2279
  },
2280
2280
  titleIcon: String,
2281
+ activeTitleClass: String,
2282
+ inactiveTitleClass: String,
2281
2283
  optionIcon: {
2282
2284
  type: String,
2283
2285
  default: "Check"
@@ -2403,18 +2405,20 @@
2403
2405
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option, index) => {
2404
2406
  return vue.openBlock(), vue.createElementBlock("view", {
2405
2407
  key: index,
2406
- class: vue.normalizeClass(["nut-menu-item__option", { active: option.value === _ctx.modelValue }]),
2408
+ class: vue.normalizeClass(["nut-menu-item__option", [{ active: option.value === _ctx.modelValue }]]),
2407
2409
  style: vue.normalizeStyle({ "flex-basis": 100 / _ctx.cols + "%" }),
2408
2410
  onClick: ($event) => _ctx.onClick(option)
2409
2411
  }, [
2410
2412
  option.value === _ctx.modelValue ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
2411
2413
  key: 0,
2414
+ class: vue.normalizeClass({ activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue }),
2412
2415
  name: _ctx.optionIcon,
2413
2416
  color: _ctx.parent.props.activeColor
2414
- }, null, 8, ["name", "color"])) : vue.createCommentVNode("", true),
2417
+ }, null, 8, ["class", "name", "color"])) : vue.createCommentVNode("", true),
2415
2418
  vue.createElementVNode("view", {
2419
+ class: vue.normalizeClass({ activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue }),
2416
2420
  style: vue.normalizeStyle({ color: option.value === _ctx.modelValue ? _ctx.parent.props.activeColor : "" })
2417
- }, vue.toDisplayString(option.text), 5)
2421
+ }, vue.toDisplayString(option.text), 7)
2418
2422
  ], 14, _hoisted_2$_);
2419
2423
  }), 128)),
2420
2424
  vue.renderSlot(_ctx.$slots, "default")
@@ -6186,7 +6190,14 @@
6186
6190
  setChooseValue();
6187
6191
  };
6188
6192
  vue.watch(() => props.column, (val) => {
6189
- console.log("props.column\u53D8\u5316", props.column);
6193
+ if (props.column && props.column.length > 0) {
6194
+ state.transformY = 0;
6195
+ modifyStatus(false);
6196
+ }
6197
+ }, {
6198
+ deep: true
6199
+ });
6200
+ vue.watch(() => props.value, (val) => {
6190
6201
  state.transformY = 0;
6191
6202
  modifyStatus(false);
6192
6203
  }, {
@@ -6376,11 +6387,14 @@
6376
6387
  defaultValues.value[columnIndex] = option.value ? option.value : "";
6377
6388
  let index = columnIndex;
6378
6389
  let cursor = option;
6379
- while (cursor && cursor.children) {
6390
+ while (cursor && cursor.children && cursor.children[0]) {
6380
6391
  defaultValues.value[index + 1] = cursor.children[0].value;
6381
6392
  index++;
6382
6393
  cursor = cursor.children[0];
6383
6394
  }
6395
+ if (cursor && cursor.children && cursor.children.length == 0) {
6396
+ defaultValues.value = defaultValues.value.slice(0, index + 1);
6397
+ }
6384
6398
  } else {
6385
6399
  defaultValues.value[columnIndex] = option.hasOwnProperty("value") ? option.value : "";
6386
6400
  }
@@ -6700,7 +6714,7 @@
6700
6714
  selectedValue,
6701
6715
  selectedOptions
6702
6716
  }) => {
6703
- if (["date", "datetime", "datehour", "month-day"].includes(props.type)) {
6717
+ if (["date", "datetime", "datehour", "month-day", "year-month"].includes(props.type)) {
6704
6718
  let formatDate = [];
6705
6719
  selectedValue.forEach((item) => {
6706
6720
  formatDate.push(item);
@@ -6708,11 +6722,14 @@
6708
6722
  if (props.type == "month-day" && formatDate.length < 3) {
6709
6723
  formatDate.unshift(new Date(props.modelValue || props.minDate || props.maxDate).getFullYear());
6710
6724
  }
6725
+ if (props.type == "year-month" && formatDate.length < 3) {
6726
+ formatDate.push(new Date(props.modelValue || props.minDate || props.maxDate).getDate());
6727
+ }
6711
6728
  const year = Number(formatDate[0]);
6712
6729
  const month = Number(formatDate[1]) - 1;
6713
6730
  const day = Math.min(Number(formatDate[2]), getMonthEndDay(Number(formatDate[0]), Number(formatDate[1])));
6714
6731
  let date = null;
6715
- if (props.type === "date" || props.type === "month-day") {
6732
+ if (props.type === "date" || props.type === "month-day" || props.type === "year-month") {
6716
6733
  date = new Date(year, month, day);
6717
6734
  } else if (props.type === "datetime") {
6718
6735
  date = new Date(year, month, day, Number(formatDate[3]), Number(formatDate[4]));
@@ -6813,6 +6830,9 @@
6813
6830
  isWrapTeleport: _ctx.isWrapTeleport,
6814
6831
  threeDimensional: _ctx.threeDimensional
6815
6832
  }, {
6833
+ top: vue.withCtx(() => [
6834
+ vue.renderSlot(_ctx.$slots, "top")
6835
+ ]),
6816
6836
  default: vue.withCtx(() => [
6817
6837
  vue.renderSlot(_ctx.$slots, "default")
6818
6838
  ]),
@@ -7213,12 +7233,18 @@
7213
7233
  }
7214
7234
  };
7215
7235
  const onFocus = (event) => {
7236
+ if (props.disabled || props.readonly) {
7237
+ return;
7238
+ }
7216
7239
  const input = event.target;
7217
7240
  let value = input.value;
7218
7241
  active.value = true;
7219
7242
  emit("focus", value, event);
7220
7243
  };
7221
7244
  const onBlur = (event) => {
7245
+ if (props.disabled || props.readonly) {
7246
+ return;
7247
+ }
7222
7248
  setTimeout(() => {
7223
7249
  active.value = false;
7224
7250
  }, 200);
@@ -7242,10 +7268,29 @@
7242
7268
  }
7243
7269
  };
7244
7270
  const onClickInput = (event) => {
7271
+ if (props.disabled) {
7272
+ return;
7273
+ }
7245
7274
  emit("click-input", event);
7246
7275
  };
7247
- const onClickLeftIcon = (event) => emit("click-left-icon", event);
7248
- const onClickRightIcon = (event) => emit("click-right-icon", event);
7276
+ const onClickLeftIcon = (event) => {
7277
+ if (props.disabled) {
7278
+ return;
7279
+ }
7280
+ emit("click-left-icon", event);
7281
+ };
7282
+ const onClickRightIcon = (event) => {
7283
+ if (props.disabled) {
7284
+ return;
7285
+ }
7286
+ emit("click-right-icon", event);
7287
+ };
7288
+ const onClick = (e) => {
7289
+ if (props.disabled) {
7290
+ e.stopImmediatePropagation();
7291
+ return;
7292
+ }
7293
+ };
7249
7294
  vue.watch(() => props.modelValue, () => {
7250
7295
  updateValue(getModelValue());
7251
7296
  resetValidation();
@@ -7267,6 +7312,7 @@
7267
7312
  onClickInput,
7268
7313
  onClickLeftIcon,
7269
7314
  onClickRightIcon,
7315
+ onClick,
7270
7316
  translate: translate$m
7271
7317
  };
7272
7318
  }
@@ -7285,7 +7331,8 @@
7285
7331
  function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
7286
7332
  const _component_nut_icon = vue.resolveComponent("nut-icon");
7287
7333
  return vue.openBlock(), vue.createElementBlock("view", {
7288
- class: vue.normalizeClass(_ctx.classes)
7334
+ class: vue.normalizeClass(_ctx.classes),
7335
+ onClick: _cache[10] || (_cache[10] = (...args) => _ctx.onClick && _ctx.onClick(...args))
7289
7336
  }, [
7290
7337
  _ctx.$slots.input ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
7291
7338
  _ctx.label ? (vue.openBlock(), vue.createElementBlock("view", {
@@ -8127,8 +8174,8 @@
8127
8174
  xhr.setRequestHeader(key, value);
8128
8175
  }
8129
8176
  (_a = options.onStart) == null ? void 0 : _a.call(options, options);
8130
- if (options.method.toLowerCase() == "put") {
8131
- xhr.send(options.sourceFile);
8177
+ if (options.beforeXhrUpload) {
8178
+ options.beforeXhrUpload(xhr, options);
8132
8179
  } else {
8133
8180
  xhr.send(options.formData);
8134
8181
  }
@@ -8212,6 +8259,10 @@
8212
8259
  type: Function,
8213
8260
  default: null
8214
8261
  },
8262
+ beforeXhrUpload: {
8263
+ type: Function,
8264
+ default: null
8265
+ },
8215
8266
  beforeDelete: {
8216
8267
  type: Function,
8217
8268
  default: (file, files) => {
@@ -8255,6 +8306,7 @@
8255
8306
  uploadOption.xhrState = props.xhrState;
8256
8307
  uploadOption.headers = props.headers;
8257
8308
  uploadOption.withCredentials = props.withCredentials;
8309
+ uploadOption.beforeXhrUpload = props.beforeXhrUpload;
8258
8310
  try {
8259
8311
  uploadOption.sourceFile = fileItem.formData.get(props.name);
8260
8312
  } catch (error) {
@@ -10770,7 +10822,7 @@
10770
10822
  type: String,
10771
10823
  default: "danger"
10772
10824
  },
10773
- showPopup: {
10825
+ modelVisible: {
10774
10826
  type: Boolean,
10775
10827
  default: false
10776
10828
  },
@@ -10793,7 +10845,7 @@
10793
10845
  });
10794
10846
  vue.onMounted(() => {
10795
10847
  });
10796
- const visible = vue.ref(false);
10848
+ const showPopup = vue.ref(props.modelVisible);
10797
10849
  const clickCover = () => {
10798
10850
  props.onClick && props.onClick();
10799
10851
  };
@@ -10827,7 +10879,7 @@
10827
10879
  props.unmount && props.unmount(props.id);
10828
10880
  props.onClose && props.onClose();
10829
10881
  };
10830
- return { state, hide, onAfterLeave, clickCover, visible };
10882
+ return { state, hide, onAfterLeave, clickCover, showPopup };
10831
10883
  }
10832
10884
  });
10833
10885
  function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
@@ -10856,18 +10908,12 @@
10856
10908
  var Notify = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$T]]);
10857
10909
  const defaultOptions$1 = {
10858
10910
  type: "base",
10859
- showPopup: true,
10860
10911
  visible: true,
10861
10912
  msg: "",
10862
10913
  color: void 0,
10863
10914
  background: void 0,
10864
10915
  duration: 3e3,
10865
- className: "",
10866
- onClosed: null,
10867
- onClick: null,
10868
- onOpened: null,
10869
- textTimer: null,
10870
- unmount: null
10916
+ className: ""
10871
10917
  };
10872
10918
  let idsMap$1 = [];
10873
10919
  let optsMap$1 = [];
@@ -11768,7 +11814,7 @@
11768
11814
  }
11769
11815
  },
11770
11816
  components: {},
11771
- emits: ["fastBack", "play", "forward", "ended", "changeProgress", "mute"],
11817
+ emits: ["fastBack", "play", "forward", "ended", "changeProgress", "mute", "can-play"],
11772
11818
  setup(props, { emit }) {
11773
11819
  const audioRef = vue.ref(null);
11774
11820
  const audioData = vue.reactive({
@@ -11800,22 +11846,25 @@
11800
11846
  } catch (e) {
11801
11847
  console.log(e.message);
11802
11848
  }
11803
- setTimeout(() => {
11804
- const audioR = audioRef.value;
11805
- if (props.autoplay) {
11806
- if (audioR && audioR.paused) {
11807
- audioR.play();
11808
- }
11809
- }
11810
- audioData.second = audioR.duration;
11811
- audioData.duration = formatSeconds(audioR.duration);
11812
- }, 500);
11813
11849
  });
11850
+ const onCanplay = (e) => {
11851
+ const audioR = audioRef.value;
11852
+ if (props.autoplay) {
11853
+ if (audioR && audioR.paused) {
11854
+ audioR.play();
11855
+ }
11856
+ }
11857
+ audioData.second = audioR.duration;
11858
+ audioData.duration = formatSeconds(audioR.duration);
11859
+ emit("can-play", e);
11860
+ };
11814
11861
  const onTimeupdate = (e) => {
11815
11862
  audioData.currentTime = parseInt(e.target.currentTime);
11816
11863
  };
11817
11864
  const fastBack = () => {
11818
- audioData.currentTime--;
11865
+ if (audioData.currentTime > 0) {
11866
+ audioData.currentTime--;
11867
+ }
11819
11868
  audioRef.value.currentTime = audioData.currentTime;
11820
11869
  emit("fastBack", audioData.currentTime);
11821
11870
  };
@@ -11854,37 +11903,17 @@
11854
11903
  emit("mute", audioData.hanMuted);
11855
11904
  };
11856
11905
  const formatSeconds = (value) => {
11857
- let theTime = parseInt(value);
11858
- let theTime1 = 0;
11859
- let theTime2 = 0;
11860
- if (theTime > 60) {
11861
- theTime1 = Math.floor(theTime / 60);
11862
- theTime = Math.floor(theTime % 60);
11863
- if (theTime1 > 60) {
11864
- theTime2 = Math.floor(theTime1 / 60);
11865
- theTime1 = Math.floor(theTime1 % 60);
11866
- }
11906
+ if (!value) {
11907
+ return "00:00:00";
11867
11908
  }
11909
+ let time = parseInt(value);
11910
+ let hours = Math.floor(time / 3600);
11911
+ let minutes = Math.floor((time - hours * 3600) / 60);
11912
+ let seconds = time - hours * 3600 - minutes * 60;
11868
11913
  let result = "";
11869
- if (theTime < 10) {
11870
- result = "0" + result;
11871
- }
11872
- if (theTime1 > 0) {
11873
- result = "" + theTime1 + ":" + result;
11874
- if (theTime1 < 10) {
11875
- result = "0" + result;
11876
- }
11877
- } else {
11878
- result = "00:" + result;
11879
- }
11880
- if (theTime2 > 0) {
11881
- result = "" + theTime2 + ":" + result;
11882
- if (theTime2 < 10) {
11883
- result = "0" + result;
11884
- }
11885
- } else {
11886
- result = "00:" + result;
11887
- }
11914
+ result += ("0" + hours.toString()).slice(-2) + ":";
11915
+ result += ("0" + minutes.toString()).slice(-2) + ":";
11916
+ result += ("0" + seconds.toString()).slice(-2);
11888
11917
  return result;
11889
11918
  };
11890
11919
  vue.watch(() => audioData.currentTime, (value) => {
@@ -11909,7 +11938,8 @@
11909
11938
  progressChange,
11910
11939
  audioEnd,
11911
11940
  onTimeupdate,
11912
- handleMute
11941
+ handleMute,
11942
+ onCanplay
11913
11943
  };
11914
11944
  }
11915
11945
  });
@@ -11982,7 +12012,8 @@
11982
12012
  autoplay: _ctx.autoplay,
11983
12013
  loop: _ctx.loop,
11984
12014
  onTimeupdate: _cache[3] || (_cache[3] = (...args) => _ctx.onTimeupdate && _ctx.onTimeupdate(...args)),
11985
- onEnded: _cache[4] || (_cache[4] = (...args) => _ctx.audioEnd && _ctx.audioEnd(...args)),
12015
+ onCanplay: _cache[4] || (_cache[4] = (...args) => _ctx.onCanplay && _ctx.onCanplay(...args)),
12016
+ onEnded: _cache[5] || (_cache[5] = (...args) => _ctx.audioEnd && _ctx.audioEnd(...args)),
11986
12017
  muted: _ctx.hanMuted
11987
12018
  }, null, 40, _hoisted_8$7)
11988
12019
  ]);
@@ -16878,20 +16909,18 @@
16878
16909
  emits: ["update:active", "change"],
16879
16910
  setup(props, { emit, slots }) {
16880
16911
  const collapseDom = vue.ref(null);
16912
+ const collapseChldren = vue.ref([]);
16881
16913
  vue.watch(() => props.active, (newval, oldval) => {
16882
- var _a, _b;
16883
- let domsProps = (_a = slots == null ? void 0 : slots.default) == null ? void 0 : _a.call(slots);
16884
- let doms = (_b = collapseDom.value) == null ? void 0 : _b.children;
16885
- Array.from(doms).forEach((dom, index) => {
16886
- const item = dom["__vueParentComponent"]["ctx"];
16914
+ let doms = collapseChldren.value;
16915
+ Array.from(doms).forEach((item) => {
16887
16916
  if (typeof newval == "number" || typeof newval == "string") {
16888
- if (newval == domsProps[index].props.name) {
16889
- item.changeOpen(!item.openExpanded);
16917
+ if (newval == item.name) {
16918
+ item.changeOpen(true);
16890
16919
  } else {
16891
16920
  item.changeOpen(false);
16892
16921
  }
16893
16922
  } else if (Object.values(newval) instanceof Array) {
16894
- if (newval.indexOf(Number(domsProps[index].props.name)) > -1 || newval.indexOf(String(domsProps[index].props.name)) > -1) {
16923
+ if (newval.indexOf(Number(item.name)) > -1 || newval.indexOf(String(item.name)) > -1) {
16895
16924
  item.changeOpen(true);
16896
16925
  } else {
16897
16926
  item.changeOpen(false);
@@ -16900,6 +16929,9 @@
16900
16929
  item.animation();
16901
16930
  });
16902
16931
  });
16932
+ vue.onMounted(() => {
16933
+ collapseChldren.value = vue.getCurrentInstance().provides.collapseParent.children || [];
16934
+ });
16903
16935
  const changeVal = (val) => {
16904
16936
  emit("update:active", val);
16905
16937
  emit("change", val);
@@ -17245,9 +17277,19 @@
17245
17277
  [`nut-table__main__head__tr--align${item.align ? item.align : ""}`]: true
17246
17278
  };
17247
17279
  };
17280
+ const stylehead = (item) => {
17281
+ return item.stylehead ? item.stylehead : "";
17282
+ };
17283
+ const stylecolumn = (item) => {
17284
+ return item.stylecolumn ? item.stylecolumn : "";
17285
+ };
17248
17286
  const getColumnItem = (value) => {
17249
17287
  return props.columns.filter((item) => item.key === value)[0];
17250
17288
  };
17289
+ const getColumnItemStyle = (value) => {
17290
+ const style = props.columns.filter((item) => item.key === value);
17291
+ return style[0].stylecolumn ? style[0].stylecolumn : "";
17292
+ };
17251
17293
  const handleSorterClick = (item) => {
17252
17294
  if (item.sorter) {
17253
17295
  emit("sorter", item);
@@ -17267,9 +17309,12 @@
17267
17309
  classes,
17268
17310
  cellClasses,
17269
17311
  getColumnItem,
17312
+ getColumnItemStyle,
17270
17313
  handleSorterClick,
17271
17314
  sortDataItem,
17272
- translate: translate2
17315
+ translate: translate2,
17316
+ stylehead,
17317
+ stylecolumn
17273
17318
  };
17274
17319
  }
17275
17320
  };
@@ -17283,17 +17328,17 @@
17283
17328
  const _hoisted_5$9 = { key: 1 };
17284
17329
  const _hoisted_6$8 = {
17285
17330
  key: 0,
17286
- class: "nut-table__summary"
17287
- };
17288
- const _hoisted_7$6 = ["innerHTML"];
17289
- const _hoisted_8$3 = {
17290
- key: 1,
17291
17331
  class: "nut-table__nodata"
17292
17332
  };
17293
- const _hoisted_9$3 = {
17333
+ const _hoisted_7$6 = {
17294
17334
  key: 0,
17295
17335
  class: "nut-table__nodata__text"
17296
17336
  };
17337
+ const _hoisted_8$3 = {
17338
+ key: 1,
17339
+ class: "nut-table__summary"
17340
+ };
17341
+ const _hoisted_9$3 = ["innerHTML"];
17297
17342
  function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
17298
17343
  const _component_nut_icon = vue.resolveComponent("nut-icon");
17299
17344
  const _component_RenderColumn = vue.resolveComponent("RenderColumn");
@@ -17309,7 +17354,8 @@
17309
17354
  return vue.openBlock(), vue.createElementBlock("span", {
17310
17355
  class: vue.normalizeClass(["nut-table__main__head__tr__th", _ctx.cellClasses(item)]),
17311
17356
  key: item.key,
17312
- onClick: ($event) => _ctx.handleSorterClick(item)
17357
+ onClick: ($event) => _ctx.handleSorterClick(item),
17358
+ style: vue.normalizeStyle(item.stylehead)
17313
17359
  }, [
17314
17360
  vue.createTextVNode(vue.toDisplayString(item.title) + " ", 1),
17315
17361
  vue.renderSlot(_ctx.$slots, "icon"),
@@ -17318,7 +17364,7 @@
17318
17364
  name: "down-arrow",
17319
17365
  size: "12px"
17320
17366
  })) : vue.createCommentVNode("", true)
17321
- ], 10, _hoisted_3$j);
17367
+ ], 14, _hoisted_3$j);
17322
17368
  }), 128))
17323
17369
  ])
17324
17370
  ]),
@@ -17331,32 +17377,33 @@
17331
17377
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.sortDataItem(), ([value, render2]) => {
17332
17378
  return vue.openBlock(), vue.createElementBlock("span", {
17333
17379
  class: vue.normalizeClass(["nut-table__main__body__tr__td", _ctx.cellClasses(_ctx.getColumnItem(value))]),
17334
- key: value
17380
+ key: value,
17381
+ style: vue.normalizeStyle(_ctx.getColumnItemStyle(value))
17335
17382
  }, [
17336
17383
  typeof item[value] === "function" || typeof render2 === "function" ? (vue.openBlock(), vue.createBlock(_component_RenderColumn, {
17337
17384
  key: 0,
17338
17385
  slots: [render2, item[value]],
17339
17386
  record: item
17340
17387
  }, null, 8, ["slots", "record"])) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$9, vue.toDisplayString(item[value]), 1))
17341
- ], 2);
17388
+ ], 6);
17342
17389
  }), 128))
17343
17390
  ]);
17344
17391
  }), 128))
17345
17392
  ])
17346
17393
  ], 2),
17347
- _ctx.summary ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6$8, [
17348
- vue.createElementVNode("span", {
17349
- class: "nut-table__summary__text",
17350
- innerHTML: _ctx.summary().value
17351
- }, null, 8, _hoisted_7$6)
17352
- ])) : vue.createCommentVNode("", true),
17353
- !_ctx.curData.length ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_8$3, [
17394
+ !_ctx.curData.length ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6$8, [
17354
17395
  vue.createElementVNode("div", {
17355
17396
  class: vue.normalizeClass(["nut-table__nodata", { "nut-table__nodata--border": _ctx.bordered }])
17356
17397
  }, [
17357
17398
  vue.renderSlot(_ctx.$slots, "nodata"),
17358
- !_ctx.$slots.nodata ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$3, vue.toDisplayString(_ctx.translate("noData")), 1)) : vue.createCommentVNode("", true)
17399
+ !_ctx.$slots.nodata ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$6, vue.toDisplayString(_ctx.translate("noData")), 1)) : vue.createCommentVNode("", true)
17359
17400
  ], 2)
17401
+ ])) : vue.createCommentVNode("", true),
17402
+ _ctx.summary ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_8$3, [
17403
+ vue.createElementVNode("span", {
17404
+ class: "nut-table__summary__text",
17405
+ innerHTML: _ctx.summary().value
17406
+ }, null, 8, _hoisted_9$3)
17360
17407
  ])) : vue.createCommentVNode("", true)
17361
17408
  ], 2);
17362
17409
  }
@@ -18318,10 +18365,11 @@
18318
18365
  }, [
18319
18366
  vue.createElementVNode("div", _hoisted_23, vue.toDisplayString(_ctx.customAndExistTitle || _ctx.translate("chooseAnotherAddress")), 1)
18320
18367
  ])) : vue.createCommentVNode("", true)
18321
- ])) : vue.createCommentVNode("", true)
18368
+ ])) : vue.createCommentVNode("", true),
18369
+ vue.renderSlot(_ctx.$slots, "bottom")
18322
18370
  ])
18323
18371
  ]),
18324
- _: 1
18372
+ _: 3
18325
18373
  }, 8, ["lock-scroll", "onClose", "onClickOverlay", "visible", "isWrapTeleport", "teleport"]);
18326
18374
  }
18327
18375
  var Address = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n]]);
@@ -18454,7 +18502,15 @@
18454
18502
  },
18455
18503
  strokeStyle: {
18456
18504
  type: String,
18457
- default: "#000"
18505
+ default: () => {
18506
+ let bodyDom = document.getElementsByTagName("body");
18507
+ let clsName = bodyDom[0]["className"];
18508
+ if (clsName.indexOf("nut-theme-dark") == -1) {
18509
+ return "#000";
18510
+ } else {
18511
+ return "#fff";
18512
+ }
18513
+ }
18458
18514
  },
18459
18515
  type: {
18460
18516
  type: String,
@@ -18466,7 +18522,7 @@
18466
18522
  }
18467
18523
  },
18468
18524
  components: {},
18469
- emits: ["confirm", "clear"],
18525
+ emits: ["start", "end", "signing", "confirm", "clear"],
18470
18526
  setup(props, { emit }) {
18471
18527
  const canvas = vue.ref(null);
18472
18528
  const wrap = vue.ref(null);
@@ -18496,6 +18552,7 @@
18496
18552
  state.ctx.beginPath();
18497
18553
  state.ctx.lineWidth = props.lineWidth;
18498
18554
  state.ctx.strokeStyle = props.strokeStyle;
18555
+ emit("start");
18499
18556
  canvas.value.addEventListener(state.events[1], moveEventHandler, false);
18500
18557
  canvas.value.addEventListener(state.events[2], endEventHandler, false);
18501
18558
  canvas.value.addEventListener(state.events[3], leaveEventHandler, false);
@@ -18503,6 +18560,7 @@
18503
18560
  const moveEventHandler = (event) => {
18504
18561
  event.preventDefault();
18505
18562
  let evt = state.isSupportTouch ? event.touches[0] : event;
18563
+ emit("signing", evt);
18506
18564
  let coverPos = canvas.value.getBoundingClientRect();
18507
18565
  let mouseX = evt.clientX - coverPos.left;
18508
18566
  let mouseY = evt.clientY - coverPos.top;
@@ -18511,6 +18569,7 @@
18511
18569
  };
18512
18570
  const endEventHandler = (event) => {
18513
18571
  event.preventDefault();
18572
+ emit("end");
18514
18573
  canvas.value.removeEventListener(state.events[1], moveEventHandler, false);
18515
18574
  canvas.value.removeEventListener(state.events[2], endEventHandler, false);
18516
18575
  };
@@ -18558,7 +18617,7 @@
18558
18617
  };
18559
18618
  const _hoisted_2$i = ["height", "width"];
18560
18619
  const _hoisted_3$g = {
18561
- key: 1,
18620
+ key: 0,
18562
18621
  class: "nut-signature-unsopport"
18563
18622
  };
18564
18623
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
@@ -18567,12 +18626,14 @@
18567
18626
  class: vue.normalizeClass(_ctx.classes)
18568
18627
  }, [
18569
18628
  vue.createElementVNode("div", _hoisted_1$k, [
18570
- (() => _ctx.isCanvasSupported()) ? (vue.openBlock(), vue.createElementBlock("canvas", {
18571
- key: 0,
18629
+ vue.withDirectives(vue.createElementVNode("canvas", {
18572
18630
  ref: "canvas",
18573
18631
  height: _ctx.canvasHeight,
18574
18632
  width: _ctx.canvasWidth
18575
- }, null, 8, _hoisted_2$i)) : (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$g, vue.toDisplayString(_ctx.unSupportTpl || _ctx.translate("unSupportTpl")), 1))
18633
+ }, null, 8, _hoisted_2$i), [
18634
+ [vue.vShow, _ctx.isCanvasSupported()]
18635
+ ]),
18636
+ !_ctx.isCanvasSupported() ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$g, vue.toDisplayString(_ctx.unSupportTpl || _ctx.translate("unSupportTpl")), 1)) : vue.createCommentVNode("", true)
18576
18637
  ], 512),
18577
18638
  vue.createVNode(_component_nut_button, {
18578
18639
  class: "nut-signature-btn",
@@ -20034,7 +20095,7 @@
20034
20095
  });
20035
20096
  const trowelData = () => {
20036
20097
  console.log("props.data", props.data);
20037
- if (Object.keys(props.dataMapOptions).length > 0 && props.data.length > 0) {
20098
+ if (Object.keys(props.dataMapOptions).length > 0) {
20038
20099
  dataArray.value = props.data.map((item, index) => {
20039
20100
  return floatData(dataInfo, item, props.dataMapOptions);
20040
20101
  });
@@ -20777,7 +20838,7 @@
20777
20838
  }
20778
20839
  });
20779
20840
  }
20780
- const version = "3.1.23-beta.4";
20841
+ const version = "3.2.0";
20781
20842
  var nutui_vue_build = { install, version, Locale };
20782
20843
  exports2.ActionSheet = ActionSheet;
20783
20844
  exports2.Address = Address;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 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.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { ref, computed, reactive, onMounted, watch, toRefs, nextTick, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, withDirectives, createVNode, vShow, toDisplayString, createCommentVNode, createElementBlock, Fragment, renderList, normalizeClass, normalizeStyle, createTextVNode } from "vue";
6
+ import { ref, computed, reactive, onMounted, watch, toRefs, nextTick, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, withDirectives, createVNode, vShow, toDisplayString, createCommentVNode, createElementBlock, Fragment, renderList, normalizeClass, normalizeStyle, createTextVNode, renderSlot } from "vue";
7
7
  import { c as createComponent } from "./component.js";
8
8
  import { popupProps } from "./Popup.js";
9
9
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
@@ -541,10 +541,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
541
541
  }, [
542
542
  createElementVNode("div", _hoisted_23, toDisplayString(_ctx.customAndExistTitle || _ctx.translate("chooseAnotherAddress")), 1)
543
543
  ])) : createCommentVNode("", true)
544
- ])) : createCommentVNode("", true)
544
+ ])) : createCommentVNode("", true),
545
+ renderSlot(_ctx.$slots, "bottom")
545
546
  ])
546
547
  ]),
547
- _: 1
548
+ _: 3
548
549
  }, 8, ["lock-scroll", "onClose", "onClickOverlay", "visible", "isWrapTeleport", "teleport"]);
549
550
  }
550
551
  var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -476,7 +476,7 @@ const _sfc_main = create({
476
476
  });
477
477
  const trowelData = () => {
478
478
  console.log("props.data", props.data);
479
- if (Object.keys(props.dataMapOptions).length > 0 && props.data.length > 0) {
479
+ if (Object.keys(props.dataMapOptions).length > 0) {
480
480
  dataArray.value = props.data.map((item, index2) => {
481
481
  return floatData(dataInfo, item, props.dataMapOptions);
482
482
  });
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.4 Mon Jul 25 2022 22:41:41 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:20 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */