@nutui/nutui 3.1.23-beta.6 → 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 (213) hide show
  1. package/CHANGELOG.md +41 -1
  2. package/dist/nutui.es.js +275 -257
  3. package/dist/nutui.umd.js +275 -257
  4. package/dist/packages/_es/ActionSheet.js +4 -22
  5. package/dist/packages/_es/Address.js +12 -29
  6. package/dist/packages/_es/AddressList.js +2 -2
  7. package/dist/packages/_es/Animate.js +2 -21
  8. package/dist/packages/_es/Audio.js +33 -65
  9. package/dist/packages/_es/AudioOperate.js +2 -21
  10. package/dist/packages/_es/Avatar.js +5 -20
  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 +19 -46
  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 +2 -2
  29. package/dist/packages/_es/CollapseItem.js +7 -24
  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 +5 -23
  33. package/dist/packages/_es/CountUp.js +5 -22
  34. package/dist/packages/_es/DatePicker.js +7 -24
  35. package/dist/packages/_es/Dialog.js +4 -22
  36. package/dist/packages/_es/Divider.js +7 -24
  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 +5 -24
  40. package/dist/packages/_es/Ellipsis.js +2 -21
  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 +2 -21
  49. package/dist/packages/_es/ImagePreview.js +8 -26
  50. package/dist/packages/_es/Indicator.js +1 -1
  51. package/dist/packages/_es/InfiniteLoading.js +5 -24
  52. package/dist/packages/_es/Input.js +1 -1
  53. package/dist/packages/_es/InputNumber.js +1 -1
  54. package/dist/packages/_es/Layout.js +1 -1
  55. package/dist/packages/_es/List.js +4 -22
  56. package/dist/packages/_es/Menu.js +2 -2
  57. package/dist/packages/_es/MenuItem.js +2 -21
  58. package/dist/packages/_es/Navbar.js +1 -1
  59. package/dist/packages/_es/NoticeBar.js +6 -23
  60. package/dist/packages/_es/Notify.js +9 -28
  61. package/dist/packages/_es/NumberKeyboard.js +1 -1
  62. package/dist/packages/_es/OldPicker.js +12 -28
  63. package/dist/packages/_es/OverLay.js +5 -20
  64. package/dist/packages/_es/Pagination.js +1 -1
  65. package/dist/packages/_es/Picker.js +12 -28
  66. package/dist/packages/_es/Popover.js +4 -22
  67. package/dist/packages/_es/Popup.js +14 -28
  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 +5 -20
  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 +5 -24
  74. package/dist/packages/_es/Rate.js +5 -24
  75. package/dist/packages/_es/Row.js +1 -1
  76. package/dist/packages/_es/SearchBar.js +5 -24
  77. package/dist/packages/_es/ShortPassword.js +1 -1
  78. package/dist/packages/_es/SideNavBar.js +4 -22
  79. package/dist/packages/_es/SideNavBarItem.js +1 -1
  80. package/dist/packages/_es/Signature.js +15 -23
  81. package/dist/packages/_es/Skeleton.js +1 -1
  82. package/dist/packages/_es/Sku.js +4 -22
  83. package/dist/packages/_es/Step.js +4 -22
  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 +4 -22
  87. package/dist/packages/_es/Swipe.js +5 -24
  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 +4 -22
  95. package/dist/packages/_es/Tabs.js +5 -20
  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 +5 -24
  99. package/dist/packages/_es/TimePannel.js +4 -22
  100. package/dist/packages/_es/TimeSelect.js +1 -1
  101. package/dist/packages/_es/Toast.js +12 -31
  102. package/dist/packages/_es/Uploader.js +12 -22
  103. package/dist/packages/_es/Video.js +6 -24
  104. package/dist/packages/_es/WaterMark.js +2 -21
  105. package/dist/packages/_es/common.js +2 -2
  106. package/dist/packages/_es/component.js +5 -5
  107. package/dist/packages/_es/index.js +1 -1
  108. package/dist/packages/_es/index2.js +1 -1
  109. package/dist/packages/_es/index3.js +1 -1
  110. package/dist/packages/_es/index4.js +1 -1
  111. package/dist/packages/_es/index5.js +6 -24
  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/barrage/index.scss +7 -0
  119. package/dist/packages/card/index.scss +8 -1
  120. package/dist/packages/circleprogress/index.scss +6 -0
  121. package/dist/packages/collapseitem/index.scss +21 -0
  122. package/dist/packages/comment/index.scss +37 -0
  123. package/dist/packages/countup/index.scss +24 -3
  124. package/dist/packages/ecard/index.scss +31 -1
  125. package/dist/packages/elevator/index.scss +16 -0
  126. package/dist/packages/empty/index.scss +6 -0
  127. package/dist/packages/image/index.scss +12 -0
  128. package/dist/packages/infiniteloading/index.scss +18 -0
  129. package/dist/packages/locale/lang/baseLang.js +1 -1
  130. package/dist/packages/locale/lang/en-US.js +1 -1
  131. package/dist/packages/locale/lang/id-ID.js +1 -1
  132. package/dist/packages/locale/lang/index.js +1 -1
  133. package/dist/packages/locale/lang/zh-CN.js +1 -1
  134. package/dist/packages/locale/lang/zh-TW.js +1 -1
  135. package/dist/packages/noticebar/index.scss +13 -0
  136. package/dist/packages/numberkeyboard/index.scss +10 -0
  137. package/dist/packages/picker/index.scss +33 -0
  138. package/dist/packages/popup/index.scss +10 -0
  139. package/dist/packages/shortpassword/index.scss +20 -0
  140. package/dist/packages/sidenavbaritem/index.scss +9 -0
  141. package/dist/packages/sku/index.scss +40 -0
  142. package/dist/packages/subsidenavbar/index.scss +12 -0
  143. package/dist/smartips/attributes.json +5 -1
  144. package/dist/smartips/tags.json +2 -1
  145. package/dist/smartips/web-types.json +11 -2
  146. package/dist/style.css +1 -1
  147. package/dist/styles/themes/default.scss +52 -52
  148. package/dist/styles/themes/jdb.scss +52 -52
  149. package/dist/styles/themes/jdt.scss +52 -52
  150. package/dist/styles/variables-jdb.scss +6 -0
  151. package/dist/styles/variables-jdt.scss +6 -0
  152. package/dist/styles/variables.scss +6 -0
  153. package/dist/types/__VUE/actionsheet/index.vue.d.ts +1 -1
  154. package/dist/types/__VUE/address/index.vue.d.ts +2 -2
  155. package/dist/types/__VUE/addresslist/index.vue.d.ts +1 -1
  156. package/dist/types/__VUE/audio/index.vue.d.ts +4 -1
  157. package/dist/types/__VUE/audiooperate/index.vue.d.ts +1 -1
  158. package/dist/types/__VUE/avatargroup/index.vue.d.ts +1 -1
  159. package/dist/types/__VUE/backtop/index.vue.d.ts +3 -3
  160. package/dist/types/__VUE/calendaritem/index.vue.d.ts +1 -1
  161. package/dist/types/__VUE/cascader/index.vue.d.ts +1 -1
  162. package/dist/types/__VUE/categorypane/index.vue.d.ts +1 -1
  163. package/dist/types/__VUE/cell/index.vue.d.ts +2 -2
  164. package/dist/types/__VUE/cellgroup/index.vue.d.ts +1 -1
  165. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +1 -1
  166. package/dist/types/__VUE/circleprogress/index.vue.d.ts +1 -1
  167. package/dist/types/__VUE/collapse/index.vue.d.ts +2 -2
  168. package/dist/types/__VUE/collapseitem/index.vue.d.ts +1 -1
  169. package/dist/types/__VUE/configprovider/index.vue.d.ts +1 -1
  170. package/dist/types/__VUE/countdown/index.vue.d.ts +1 -1
  171. package/dist/types/__VUE/countup/index.vue.d.ts +1 -1
  172. package/dist/types/__VUE/datepicker/index.vue.d.ts +1 -1
  173. package/dist/types/__VUE/divider/index.vue.d.ts +2 -2
  174. package/dist/types/__VUE/fixednav/index.vue.d.ts +1 -1
  175. package/dist/types/__VUE/formitem/index.vue.d.ts +1 -1
  176. package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
  177. package/dist/types/__VUE/griditem/index.vue.d.ts +2 -2
  178. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +1 -1
  179. package/dist/types/__VUE/imagepreview/index.vue.d.ts +1 -1
  180. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +1 -1
  181. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
  182. package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -1
  183. package/dist/types/__VUE/noticebar/index.vue.d.ts +1 -1
  184. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +1 -1
  185. package/dist/types/__VUE/oldpicker/Column.vue.d.ts +1 -1
  186. package/dist/types/__VUE/oldpicker/index.vue.d.ts +1 -1
  187. package/dist/types/__VUE/overlay/index.vue.d.ts +1 -1
  188. package/dist/types/__VUE/picker/index.vue.d.ts +13 -13
  189. package/dist/types/__VUE/popover/index.vue.d.ts +2 -2
  190. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +1 -1
  191. package/dist/types/__VUE/radiogroup/index.vue.d.ts +1 -1
  192. package/dist/types/__VUE/range/index.vue.d.ts +1 -1
  193. package/dist/types/__VUE/rate/index.vue.d.ts +2 -2
  194. package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
  195. package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
  196. package/dist/types/__VUE/sidenavbar/index.vue.d.ts +1 -1
  197. package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +1 -1
  198. package/dist/types/__VUE/signature/index.vue.d.ts +5 -2
  199. package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +1 -1
  200. package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -1
  201. package/dist/types/__VUE/switch/index.vue.d.ts +4 -4
  202. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +1 -1
  203. package/dist/types/__VUE/tabpane/index.vue.d.ts +1 -1
  204. package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
  205. package/dist/types/__VUE/timedetail/index.vue.d.ts +1 -1
  206. package/dist/types/__VUE/timepannel/index.vue.d.ts +1 -1
  207. package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -1
  208. package/dist/types/__VUE/uploader/index.vue.d.ts +9 -2
  209. package/dist/types/__VUE/uploader/uploader.d.ts +1 -0
  210. package/dist/types/__VUE/watermark/index.vue.d.ts +1 -1
  211. package/dist/types/index.d.ts +1 -1
  212. package/package.json +1 -1
  213. package/dist/packages/index.d.ts +0 -3
package/dist/nutui.es.js CHANGED
@@ -1,37 +1,5 @@
1
- var __defProp = Object.defineProperty;
2
- var __defProps = Object.defineProperties;
3
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
- var __spreadValues = (a, b) => {
9
- for (var prop in b || (b = {}))
10
- if (__hasOwnProp.call(b, prop))
11
- __defNormalProp(a, prop, b[prop]);
12
- if (__getOwnPropSymbols)
13
- for (var prop of __getOwnPropSymbols(b)) {
14
- if (__propIsEnum.call(b, prop))
15
- __defNormalProp(a, prop, b[prop]);
16
- }
17
- return a;
18
- };
19
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- var __restKey = (key) => typeof key === "symbol" ? key : key + "";
21
- var __objRest = (source, exclude) => {
22
- var target = {};
23
- for (var prop in source)
24
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
25
- target[prop] = source[prop];
26
- if (source != null && __getOwnPropSymbols)
27
- for (var prop of __getOwnPropSymbols(source)) {
28
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
29
- target[prop] = source[prop];
30
- }
31
- return target;
32
- };
33
1
  /*!
34
- * @nutui/nutui v3.1.23-beta.6 Thu Jul 28 2022 18:06:25 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.0 Mon Aug 01 2022 21:25:13 GMT+0800 (中国标准时间)
35
3
  * (c) 2022 @jdf2e.
36
4
  * Released under the MIT License.
37
5
  */
@@ -249,11 +217,11 @@ class Lang extends BaseLang {
249
217
  }
250
218
  }
251
219
  const TypeOfFun = (value) => {
252
- if (value === null) {
220
+ if (null === value) {
253
221
  return "null";
254
222
  }
255
223
  const type = typeof value;
256
- if (type === "undefined" || type === "string") {
224
+ if ("undefined" === type || "string" === type) {
257
225
  return type;
258
226
  }
259
227
  const typeString = toString.call(value);
@@ -271,8 +239,8 @@ const TypeOfFun = (value) => {
271
239
  case "[object RegExp]":
272
240
  return "regexp";
273
241
  case "[object Object]":
274
- if (value.nodeType !== void 0) {
275
- if (value.nodeType == 3) {
242
+ if (void 0 !== value.nodeType) {
243
+ if (3 == value.nodeType) {
276
244
  return /\S/.test(value.nodeValue) ? "textnode" : "whitespace";
277
245
  } else {
278
246
  return "element";
@@ -747,10 +715,11 @@ const _sfc_main$1L = create$1L({
747
715
  onMounted(lock);
748
716
  onActivated(lock);
749
717
  const style = computed(() => {
750
- return __spreadValues({
718
+ return {
751
719
  animationDuration: `${props.duration}s`,
752
- zIndex: props.zIndex
753
- }, props.overlayStyle);
720
+ zIndex: props.zIndex,
721
+ ...props.overlayStyle
722
+ };
754
723
  });
755
724
  const touchmove = (e) => {
756
725
  if (props.lockScroll)
@@ -802,7 +771,8 @@ const useLockScroll = (isLock) => {
802
771
  };
803
772
  const { componentName: componentName$1o, create: create$1K } = createComponent("popup");
804
773
  let _zIndex = 2e3;
805
- const popupProps = __spreadProps(__spreadValues({}, overlayProps), {
774
+ const popupProps = {
775
+ ...overlayProps,
806
776
  position: {
807
777
  type: String,
808
778
  default: "center"
@@ -851,13 +821,15 @@ const popupProps = __spreadProps(__spreadValues({}, overlayProps), {
851
821
  type: Boolean,
852
822
  default: false
853
823
  }
854
- });
824
+ };
855
825
  const _sfc_main$1K = create$1K({
856
826
  components: {
857
827
  [OverLay.name]: OverLay,
858
828
  [_sfc_main$1P.name]: _sfc_main$1P
859
829
  },
860
- props: __spreadValues({}, popupProps),
830
+ props: {
831
+ ...popupProps
832
+ },
861
833
  emits: ["click", "click-close-icon", "open", "close", "opend", "closed", "update:visible", "click-overlay"],
862
834
  setup(props, { emit }) {
863
835
  const popupRef = ref();
@@ -881,10 +853,11 @@ const _sfc_main$1K = create$1K({
881
853
  };
882
854
  });
883
855
  const popStyle = computed(() => {
884
- return __spreadValues({
856
+ return {
885
857
  zIndex: state.zIndex,
886
- animationDuration: props.duration ? `${props.duration}s` : "initial"
887
- }, props.style);
858
+ animationDuration: props.duration ? `${props.duration}s` : "initial",
859
+ ...props.style
860
+ };
888
861
  });
889
862
  const open = () => {
890
863
  if (props.zIndex != 2e3) {
@@ -964,7 +937,8 @@ const _sfc_main$1K = create$1K({
964
937
  watch(() => props.closeable, (value) => {
965
938
  state.closed = value;
966
939
  });
967
- return __spreadProps(__spreadValues({}, toRefs(state)), {
940
+ return {
941
+ ...toRefs(state),
968
942
  popStyle,
969
943
  classes,
970
944
  onClick,
@@ -973,7 +947,7 @@ const _sfc_main$1K = create$1K({
973
947
  onOpened,
974
948
  onClosed,
975
949
  popupRef
976
- });
950
+ };
977
951
  }
978
952
  });
979
953
  const _hoisted_1$1i = { key: 1 };
@@ -1170,7 +1144,7 @@ const _sfc_main$1I = create$1I({
1170
1144
  const imageClick = (event) => {
1171
1145
  emit("click", event);
1172
1146
  };
1173
- return __spreadProps(__spreadValues({}, toRefs(state)), { imageClick, classes, styles, stylebox, error, load });
1147
+ return { ...toRefs(state), imageClick, classes, styles, stylebox, error, load };
1174
1148
  }
1175
1149
  });
1176
1150
  const _hoisted_1$1h = ["src", "alt"];
@@ -1518,17 +1492,19 @@ const _sfc_main$1D = create$1D({
1518
1492
  };
1519
1493
  let classesObj = {};
1520
1494
  if (props.direction === "horizontal") {
1521
- classesObj = __spreadProps(__spreadValues({}, defaultClassesObj), {
1495
+ classesObj = {
1496
+ ...defaultClassesObj,
1522
1497
  [`${prefixCls}-center`]: context.slots.default,
1523
1498
  [`${prefixCls}-left`]: props.contentPosition === "left",
1524
1499
  [`${prefixCls}-right`]: props.contentPosition === "right",
1525
1500
  [`${prefixCls}-dashed`]: props.dashed,
1526
1501
  [`${prefixCls}-hairline`]: props.hairline
1527
- });
1502
+ };
1528
1503
  } else {
1529
- classesObj = __spreadProps(__spreadValues({}, defaultClassesObj), {
1504
+ classesObj = {
1505
+ ...defaultClassesObj,
1530
1506
  [`${prefixCls}-vertical`]: props.direction === "vertical"
1531
- });
1507
+ };
1532
1508
  }
1533
1509
  return classesObj;
1534
1510
  });
@@ -2341,7 +2317,7 @@ const _sfc_main$1x = create$1x({
2341
2317
  if (parent.props.direction === "down") {
2342
2318
  return heightStyle;
2343
2319
  } else {
2344
- return __spreadProps(__spreadValues({}, heightStyle), { top: "auto" });
2320
+ return { ...heightStyle, top: "auto" };
2345
2321
  }
2346
2322
  });
2347
2323
  const toggle = (show = !state.showPopup, options = {}) => {
@@ -2853,9 +2829,9 @@ const _sfc_main$1u = create$1u({
2853
2829
  return;
2854
2830
  state.fixedTop = fixedTop;
2855
2831
  });
2856
- return __spreadProps(__spreadValues({
2857
- classes
2858
- }, toRefs(state)), {
2832
+ return {
2833
+ classes,
2834
+ ...toRefs(state),
2859
2835
  fixedStyle,
2860
2836
  clientHeight,
2861
2837
  setListGroup,
@@ -2865,7 +2841,7 @@ const _sfc_main$1u = create$1u({
2865
2841
  touchEnd,
2866
2842
  handleClickItem,
2867
2843
  handleClickIndex
2868
- });
2844
+ };
2869
2845
  }
2870
2846
  });
2871
2847
  const _hoisted_1$1a = { class: "nut-elevator__list__item__code" };
@@ -3241,13 +3217,14 @@ const component$5 = {
3241
3217
  emit("change", item);
3242
3218
  }
3243
3219
  };
3244
- return __spreadValues({
3220
+ return {
3245
3221
  titles,
3246
3222
  contentStyle,
3247
3223
  tabsNavStyle,
3248
3224
  titleStyle,
3249
- tabsActiveStyle
3250
- }, methods);
3225
+ tabsActiveStyle,
3226
+ ...methods
3227
+ };
3251
3228
  }
3252
3229
  };
3253
3230
  const _hoisted_1$18 = ["onClick"];
@@ -3443,10 +3420,11 @@ const _sfc_main$1p = create$1p({
3443
3420
  subtree: false
3444
3421
  });
3445
3422
  });
3446
- return __spreadProps(__spreadValues({}, toRefs(state)), {
3423
+ return {
3424
+ ...toRefs(state),
3447
3425
  list,
3448
3426
  classes
3449
- });
3427
+ };
3450
3428
  }
3451
3429
  });
3452
3430
  const _hoisted_1$17 = { class: "nut-sidenavbar__content" };
@@ -3546,11 +3524,12 @@ const _sfc_main$1n = create$1n({
3546
3524
  onMounted(() => {
3547
3525
  state.direction = props.open ? "" : "up";
3548
3526
  });
3549
- return __spreadProps(__spreadValues({}, toRefs(state)), {
3527
+ return {
3528
+ ...toRefs(state),
3550
3529
  classes,
3551
3530
  style,
3552
3531
  handleClick
3553
- });
3532
+ };
3554
3533
  }
3555
3534
  });
3556
3535
  const _hoisted_1$15 = ["ikey"];
@@ -3912,7 +3891,7 @@ const _sfc_main$1m = create$1m({
3912
3891
  const value = typeof idx === "number" ? props.modelValue[idx] : props.modelValue;
3913
3892
  return value;
3914
3893
  };
3915
- return __spreadProps(__spreadValues({
3894
+ return {
3916
3895
  root,
3917
3896
  classes,
3918
3897
  wrapperStyle,
@@ -3920,8 +3899,8 @@ const _sfc_main$1m = create$1m({
3920
3899
  onClick,
3921
3900
  onTouchStart,
3922
3901
  onTouchMove,
3923
- onTouchEnd
3924
- }, toRefs(props)), {
3902
+ onTouchEnd,
3903
+ ...toRefs(props),
3925
3904
  barStyle,
3926
3905
  curValue,
3927
3906
  buttonIndex,
@@ -3930,7 +3909,7 @@ const _sfc_main$1m = create$1m({
3930
3909
  marksStyle,
3931
3910
  marksList,
3932
3911
  tickStyle
3933
- });
3912
+ };
3934
3913
  }
3935
3914
  });
3936
3915
  const _hoisted_1$14 = {
@@ -4179,9 +4158,9 @@ const _sfc_main$1l = create$1l({
4179
4158
  inputsearch.value.focus();
4180
4159
  }
4181
4160
  });
4182
- return __spreadProps(__spreadValues({
4183
- inputsearch
4184
- }, toRefs(state)), {
4161
+ return {
4162
+ inputsearch,
4163
+ ...toRefs(state),
4185
4164
  valueChange,
4186
4165
  valueFocus,
4187
4166
  valueBlur,
@@ -4194,7 +4173,7 @@ const _sfc_main$1l = create$1l({
4194
4173
  leftIconClick,
4195
4174
  rightIconClick,
4196
4175
  styleSearchbar
4197
- });
4176
+ };
4198
4177
  }
4199
4178
  });
4200
4179
  const _hoisted_1$13 = {
@@ -4283,16 +4262,16 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
4283
4262
  var SearchBar = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1f]]);
4284
4263
  const formatTree = (tree, parent, config) => tree.map((node) => {
4285
4264
  const { value: valueKey = "value", text: textKey = "text", children: childrenKey = "children" } = config;
4286
- const _a = node, { [valueKey]: value, [textKey]: text, [childrenKey]: children } = _a, others = __objRest(_a, [__restKey(valueKey), __restKey(textKey), __restKey(childrenKey)]);
4287
- const newNode = __spreadProps(__spreadValues({
4288
- loading: false
4289
- }, others), {
4265
+ const { [valueKey]: value, [textKey]: text, [childrenKey]: children, ...others } = node;
4266
+ const newNode = {
4267
+ loading: false,
4268
+ ...others,
4290
4269
  level: parent ? (parent && parent.level || 0) + 1 : 0,
4291
4270
  value,
4292
4271
  text,
4293
4272
  children,
4294
4273
  _parent: parent
4295
- });
4274
+ };
4296
4275
  if (newNode.children && newNode.children.length) {
4297
4276
  newNode.children = formatTree(newNode.children, newNode, config);
4298
4277
  }
@@ -4317,12 +4296,15 @@ const defaultConvertConfig = {
4317
4296
  sortKey: ""
4318
4297
  };
4319
4298
  const convertListToOptions = (list, options) => {
4320
- const mergedOptions = __spreadValues(__spreadValues({}, defaultConvertConfig), options || {});
4299
+ const mergedOptions = {
4300
+ ...defaultConvertConfig,
4301
+ ...options || {}
4302
+ };
4321
4303
  const { topId, idKey, pidKey, sortKey } = mergedOptions;
4322
4304
  let result = [];
4323
4305
  let map = {};
4324
4306
  list.forEach((node) => {
4325
- node = __spreadValues({}, node);
4307
+ node = { ...node };
4326
4308
  const { [idKey]: id, [pidKey]: pid } = node;
4327
4309
  const children = map[pid] = map[pid] || [];
4328
4310
  if (!result.length && pid === topId) {
@@ -4343,11 +4325,12 @@ const convertListToOptions = (list, options) => {
4343
4325
  };
4344
4326
  class Tree {
4345
4327
  constructor(nodes, config) {
4346
- this.config = __spreadValues({
4328
+ this.config = {
4347
4329
  value: "value",
4348
4330
  text: "text",
4349
- children: "children"
4350
- }, config || {});
4331
+ children: "children",
4332
+ ...config || {}
4333
+ };
4351
4334
  this.nodes = formatTree(nodes, null, this.config);
4352
4335
  }
4353
4336
  updateChildren(nodes, parent) {
@@ -4612,7 +4595,7 @@ const _sfc_main$1k = create$1k({
4612
4595
  syncValue();
4613
4596
  }
4614
4597
  });
4615
- return __spreadValues({ panes, initLoading, tabsCursor }, methods);
4598
+ return { panes, initLoading, tabsCursor, ...methods };
4616
4599
  }
4617
4600
  });
4618
4601
  const _hoisted_1$12 = {
@@ -4685,7 +4668,8 @@ const _sfc_main$1j = create$1j({
4685
4668
  components: {
4686
4669
  [CascaderItem.name]: CascaderItem
4687
4670
  },
4688
- props: __spreadProps(__spreadValues({}, popupProps), {
4671
+ props: {
4672
+ ...popupProps,
4689
4673
  modelValue: Array,
4690
4674
  visible: Boolean,
4691
4675
  title: String,
@@ -4708,7 +4692,7 @@ const _sfc_main$1j = create$1j({
4708
4692
  default: "children"
4709
4693
  },
4710
4694
  convertConfig: Object
4711
- }),
4695
+ },
4712
4696
  emits: ["update:modelValue", "change", "pathChange", "update:visible"],
4713
4697
  setup(props, { emit }) {
4714
4698
  const innerValue = ref(props.modelValue);
@@ -5414,7 +5398,7 @@ const _sfc_main$1i = create$1i({
5414
5398
  }
5415
5399
  }
5416
5400
  });
5417
- return __spreadProps(__spreadValues(__spreadValues({
5401
+ return {
5418
5402
  weeks,
5419
5403
  compConthsData,
5420
5404
  showTopBtn,
@@ -5431,10 +5415,11 @@ const _sfc_main$1i = create$1i({
5431
5415
  monthsPanel,
5432
5416
  months,
5433
5417
  weeksPanel,
5434
- viewArea
5435
- }, toRefs(state)), toRefs(props)), {
5418
+ viewArea,
5419
+ ...toRefs(state),
5420
+ ...toRefs(props),
5436
5421
  translate: translate$p
5437
- });
5422
+ };
5438
5423
  }
5439
5424
  });
5440
5425
  const _hoisted_1$10 = {
@@ -6218,7 +6203,9 @@ const _sfc_main$1e = create$1e({
6218
6203
  onMounted(() => {
6219
6204
  modifyStatus(true);
6220
6205
  });
6221
- return __spreadProps(__spreadValues(__spreadValues({}, toRefs(state)), toRefs(props)), {
6206
+ return {
6207
+ ...toRefs(state),
6208
+ ...toRefs(props),
6222
6209
  wrapper,
6223
6210
  setRollerStyle,
6224
6211
  isHidden,
@@ -6231,7 +6218,7 @@ const _sfc_main$1e = create$1e({
6231
6218
  touchTileStyle,
6232
6219
  setMove,
6233
6220
  stopMomentum
6234
- });
6221
+ };
6235
6222
  }
6236
6223
  });
6237
6224
  const _hoisted_1$$ = {
@@ -6286,7 +6273,8 @@ const _sfc_main$1d = create$1d({
6286
6273
  [column$1.name]: column$1,
6287
6274
  [Popup.name]: Popup
6288
6275
  },
6289
- props: __spreadProps(__spreadValues({}, popupProps), {
6276
+ props: {
6277
+ ...popupProps,
6290
6278
  modelValue: {
6291
6279
  type: Array,
6292
6280
  default: () => []
@@ -6317,7 +6305,7 @@ const _sfc_main$1d = create$1d({
6317
6305
  type: Boolean,
6318
6306
  default: true
6319
6307
  }
6320
- }),
6308
+ },
6321
6309
  emits: ["close", "change", "confirm", "update:visible", "update:modelValue"],
6322
6310
  setup(props, { emit }) {
6323
6311
  const state = reactive({
@@ -6448,9 +6436,9 @@ const _sfc_main$1d = create$1d({
6448
6436
  if (val.length)
6449
6437
  state.formattedColumns = val;
6450
6438
  });
6451
- return __spreadProps(__spreadValues({
6452
- classes
6453
- }, toRefs(state)), {
6439
+ return {
6440
+ classes,
6441
+ ...toRefs(state),
6454
6442
  column: column$1,
6455
6443
  columnsType,
6456
6444
  columnsList,
@@ -6459,7 +6447,7 @@ const _sfc_main$1d = create$1d({
6459
6447
  confirmHandler,
6460
6448
  defaultValues,
6461
6449
  translate: translate$o
6462
- });
6450
+ };
6463
6451
  }
6464
6452
  });
6465
6453
  const _hoisted_1$_ = { class: "nut-picker__bar" };
@@ -6551,7 +6539,8 @@ const _sfc_main$1c = create$1c({
6551
6539
  components: {
6552
6540
  [Picker.name]: Picker
6553
6541
  },
6554
- props: __spreadProps(__spreadValues({}, popupProps), {
6542
+ props: {
6543
+ ...popupProps,
6555
6544
  modelValue: null,
6556
6545
  title: {
6557
6546
  type: String,
@@ -6596,7 +6585,7 @@ const _sfc_main$1c = create$1c({
6596
6585
  default: true
6597
6586
  },
6598
6587
  filter: Function
6599
- }),
6588
+ },
6600
6589
  emits: ["click", "update:visible", "change", "confirm", "update:moduleValue"],
6601
6590
  setup(props, { emit }) {
6602
6591
  const state = reactive({
@@ -6812,12 +6801,13 @@ const _sfc_main$1c = create$1c({
6812
6801
  watch(() => props.visible, (val) => {
6813
6802
  state.show = val;
6814
6803
  });
6815
- return __spreadProps(__spreadValues({}, toRefs(state)), {
6804
+ return {
6805
+ ...toRefs(state),
6816
6806
  changeHandler,
6817
6807
  closeHandler,
6818
6808
  confirm,
6819
6809
  columns
6820
- });
6810
+ };
6821
6811
  }
6822
6812
  });
6823
6813
  function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
@@ -7699,14 +7689,14 @@ const useComponent = (touchable = true) => {
7699
7689
  }
7700
7690
  };
7701
7691
  const refRandomId = Math.random().toString(36).slice(-8);
7702
- return __spreadProps(__spreadValues({
7703
- classes
7704
- }, touchMethods), {
7692
+ return {
7693
+ classes,
7694
+ ...touchMethods,
7705
7695
  onClick,
7706
7696
  pxCheck,
7707
7697
  rateRefs,
7708
7698
  refRandomId
7709
- });
7699
+ };
7710
7700
  }
7711
7701
  };
7712
7702
  };
@@ -8181,8 +8171,8 @@ class Uploader$1 {
8181
8171
  xhr.setRequestHeader(key, value);
8182
8172
  }
8183
8173
  (_a = options.onStart) == null ? void 0 : _a.call(options, options);
8184
- if (options.method.toLowerCase() == "put") {
8185
- xhr.send(options.sourceFile);
8174
+ if (options.beforeXhrUpload) {
8175
+ options.beforeXhrUpload(xhr, options);
8186
8176
  } else {
8187
8177
  xhr.send(options.formData);
8188
8178
  }
@@ -8200,9 +8190,10 @@ class Uploader$1 {
8200
8190
  url: options.url,
8201
8191
  filePath: options.taroFilePath,
8202
8192
  fileType: options.fileType,
8203
- header: __spreadValues({
8204
- "Content-Type": "multipart/form-data"
8205
- }, options.headers),
8193
+ header: {
8194
+ "Content-Type": "multipart/form-data",
8195
+ ...options.headers
8196
+ },
8206
8197
  formData: options.formData,
8207
8198
  name: options.name,
8208
8199
  success(response) {
@@ -8265,6 +8256,10 @@ const _sfc_main$14 = create$14({
8265
8256
  type: Function,
8266
8257
  default: null
8267
8258
  },
8259
+ beforeXhrUpload: {
8260
+ type: Function,
8261
+ default: null
8262
+ },
8268
8263
  beforeDelete: {
8269
8264
  type: Function,
8270
8265
  default: (file, files) => {
@@ -8308,6 +8303,7 @@ const _sfc_main$14 = create$14({
8308
8303
  uploadOption.xhrState = props.xhrState;
8309
8304
  uploadOption.headers = props.headers;
8310
8305
  uploadOption.withCredentials = props.withCredentials;
8306
+ uploadOption.beforeXhrUpload = props.beforeXhrUpload;
8311
8307
  try {
8312
8308
  uploadOption.sourceFile = fileItem.formData.get(props.name);
8313
8309
  } catch (error) {
@@ -9301,7 +9297,9 @@ const _sfc_main$10 = create$10({
9301
9297
  onMounted(() => {
9302
9298
  modifyStatus(true);
9303
9299
  });
9304
- return __spreadProps(__spreadValues(__spreadValues({}, toRefs(state)), toRefs(props)), {
9300
+ return {
9301
+ ...toRefs(state),
9302
+ ...toRefs(props),
9305
9303
  wrapper,
9306
9304
  setRollerStyle,
9307
9305
  isHidden,
@@ -9314,7 +9312,7 @@ const _sfc_main$10 = create$10({
9314
9312
  touchRollerStyle,
9315
9313
  touchListStyle,
9316
9314
  setMove
9317
- });
9315
+ };
9318
9316
  }
9319
9317
  });
9320
9318
  const _hoisted_1$R = { class: "nut-oldpicker-content" };
@@ -9366,7 +9364,8 @@ const _sfc_main$$ = create$$({
9366
9364
  [column.name]: column,
9367
9365
  [Popup.name]: Popup
9368
9366
  },
9369
- props: __spreadProps(__spreadValues({}, popupProps), {
9367
+ props: {
9368
+ ...popupProps,
9370
9369
  title: {
9371
9370
  type: String,
9372
9371
  default: ""
@@ -9393,7 +9392,7 @@ const _sfc_main$$ = create$$({
9393
9392
  type: [Number, String],
9394
9393
  default: 0
9395
9394
  }
9396
- }),
9395
+ },
9397
9396
  emits: ["close", "change", "confirm", "update:visible"],
9398
9397
  setup(props, { emit }) {
9399
9398
  const childrenKey = "children";
@@ -9522,16 +9521,16 @@ const _sfc_main$$ = create$$({
9522
9521
  watch(() => props.listData, (val) => {
9523
9522
  state.formattedColumns = val;
9524
9523
  });
9525
- return __spreadProps(__spreadValues({
9526
- classes
9527
- }, toRefs(state)), {
9524
+ return {
9525
+ classes,
9526
+ ...toRefs(state),
9528
9527
  column,
9529
9528
  dataType,
9530
9529
  columnList,
9531
9530
  close,
9532
9531
  changeHandler,
9533
9532
  confirm
9534
- });
9533
+ };
9535
9534
  }
9536
9535
  });
9537
9536
  const _hoisted_1$Q = { class: "nut-oldpicker__bar" };
@@ -9729,15 +9728,15 @@ const _sfc_main$_ = create$_({
9729
9728
  }
9730
9729
  }
9731
9730
  };
9732
- return __spreadProps(__spreadValues({
9731
+ return {
9733
9732
  classes,
9734
- touchStyle
9735
- }, touchMethods), {
9733
+ touchStyle,
9734
+ ...touchMethods,
9736
9735
  leftRef,
9737
9736
  rightRef,
9738
9737
  open,
9739
9738
  close
9740
- });
9739
+ };
9741
9740
  }
9742
9741
  });
9743
9742
  const _hoisted_1$P = {
@@ -9772,7 +9771,8 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
9772
9771
  var Swipe = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$Z]]);
9773
9772
  const { componentName: componentName$S, create: create$Z } = createComponent("actionsheet");
9774
9773
  const _sfc_main$Z = create$Z({
9775
- props: __spreadProps(__spreadValues({}, popupProps), {
9774
+ props: {
9775
+ ...popupProps,
9776
9776
  cancelTxt: {
9777
9777
  type: String,
9778
9778
  default: ""
@@ -9813,7 +9813,7 @@ const _sfc_main$Z = create$Z({
9813
9813
  type: Boolean,
9814
9814
  default: true
9815
9815
  }
9816
- }),
9816
+ },
9817
9817
  emits: ["cancel", "close", "choose", "update:visible"],
9818
9818
  setup(props, { emit }) {
9819
9819
  const slotDefault = !!useSlots().default;
@@ -10270,7 +10270,8 @@ const _sfc_main$W = create$W({
10270
10270
  [Popup.name]: Popup,
10271
10271
  [Button.name]: Button
10272
10272
  },
10273
- props: __spreadProps(__spreadValues({}, popupProps), {
10273
+ props: {
10274
+ ...popupProps,
10274
10275
  closeOnClickOverlay: {
10275
10276
  type: Boolean,
10276
10277
  default: false
@@ -10329,7 +10330,7 @@ const _sfc_main$W = create$W({
10329
10330
  beforeClose: {
10330
10331
  type: Function
10331
10332
  }
10332
- }),
10333
+ },
10333
10334
  emits: ["update", "update:visible", "ok", "cancel", "opened", "closed"],
10334
10335
  setup(props, { emit }) {
10335
10336
  const showPopup = ref(props.visible);
@@ -10733,16 +10734,16 @@ const _sfc_main$V = create$V({
10733
10734
  isKeepAlive.value = true;
10734
10735
  state.scrollEl.removeEventListener("scroll", handleScroll, props.useCapture);
10735
10736
  });
10736
- return __spreadProps(__spreadValues({
10737
- classes
10738
- }, toRefs(state)), {
10737
+ return {
10738
+ classes,
10739
+ ...toRefs(state),
10739
10740
  touchStart,
10740
10741
  touchMove,
10741
10742
  touchEnd,
10742
10743
  getStyle,
10743
10744
  translate: translate$f,
10744
10745
  slots
10745
- });
10746
+ };
10746
10747
  }
10747
10748
  });
10748
10749
  const _hoisted_1$M = { class: "top-box" };
@@ -10937,9 +10938,9 @@ const updateNotify = (opts) => {
10937
10938
  if (container) {
10938
10939
  const currentOpt = optsMap$1.find((item) => item.id === opts.id);
10939
10940
  if (currentOpt) {
10940
- opts = __spreadValues(__spreadValues(__spreadValues({}, defaultOptions$1), currentOpt), opts);
10941
+ opts = { ...defaultOptions$1, ...currentOpt, ...opts };
10941
10942
  } else {
10942
- opts = __spreadValues(__spreadValues({}, defaultOptions$1), opts);
10943
+ opts = { ...defaultOptions$1, ...opts };
10943
10944
  }
10944
10945
  const instance = createVNode(Notify, opts);
10945
10946
  render$3(instance, container);
@@ -10957,7 +10958,7 @@ const mountNotify = (opts) => {
10957
10958
  } else {
10958
10959
  _id = new Date().getTime() + "";
10959
10960
  }
10960
- opts = __spreadValues(__spreadValues({}, defaultOptions$1), opts);
10961
+ opts = { ...defaultOptions$1, ...opts };
10961
10962
  opts.id = _id;
10962
10963
  idsMap$1.push(opts.id);
10963
10964
  optsMap$1.push(opts);
@@ -10989,23 +10990,23 @@ const errorMsg$1 = (msg) => {
10989
10990
  const NotifyFunction = {
10990
10991
  text(msg, obj = {}) {
10991
10992
  errorMsg$1(msg);
10992
- return mountNotify(__spreadProps(__spreadValues({}, obj), { msg }));
10993
+ return mountNotify({ ...obj, msg });
10993
10994
  },
10994
10995
  primary(msg, obj = {}) {
10995
10996
  errorMsg$1(msg);
10996
- return mountNotify(__spreadProps(__spreadValues({}, obj), { msg, type: "primary" }));
10997
+ return mountNotify({ ...obj, msg, type: "primary" });
10997
10998
  },
10998
10999
  success(msg, obj = {}) {
10999
11000
  errorMsg$1(msg);
11000
- return mountNotify(__spreadProps(__spreadValues({}, obj), { msg, type: "success" }));
11001
+ return mountNotify({ ...obj, msg, type: "success" });
11001
11002
  },
11002
11003
  danger(msg, obj = {}) {
11003
11004
  errorMsg$1(msg);
11004
- return mountNotify(__spreadProps(__spreadValues({}, obj), { msg, type: "danger" }));
11005
+ return mountNotify({ ...obj, msg, type: "danger" });
11005
11006
  },
11006
11007
  warn(msg, obj = {}) {
11007
11008
  errorMsg$1(msg);
11008
- return mountNotify(__spreadProps(__spreadValues({}, obj), { msg, type: "warning" }));
11009
+ return mountNotify({ ...obj, msg, type: "warning" });
11009
11010
  },
11010
11011
  hide() {
11011
11012
  clearNotify();
@@ -11311,7 +11312,7 @@ const _sfc_main$T = create$T({
11311
11312
  }
11312
11313
  }
11313
11314
  };
11314
- return __spreadValues({
11315
+ return {
11315
11316
  scroller,
11316
11317
  touchStart,
11317
11318
  touchMove,
@@ -11323,8 +11324,9 @@ const _sfc_main$T = create$T({
11323
11324
  reachLeft,
11324
11325
  getBottomStyle,
11325
11326
  refreshTopTem,
11326
- refreshBottomTem
11327
- }, toRefs(state));
11327
+ refreshBottomTem,
11328
+ ...toRefs(state)
11329
+ };
11328
11330
  }
11329
11331
  });
11330
11332
  const _hoisted_1$L = {
@@ -11706,9 +11708,9 @@ const updateToast = (opts) => {
11706
11708
  if (container) {
11707
11709
  const currentOpt = optsMap.find((item) => item.id === opts.id);
11708
11710
  if (currentOpt) {
11709
- opts = __spreadValues(__spreadValues(__spreadValues({}, defaultOptions), currentOpt), opts);
11711
+ opts = { ...defaultOptions, ...currentOpt, ...opts };
11710
11712
  } else {
11711
- opts = __spreadValues(__spreadValues({}, defaultOptions), opts);
11713
+ opts = { ...defaultOptions, ...opts };
11712
11714
  }
11713
11715
  const instance = createVNode(Toast, opts);
11714
11716
  render$3(instance, container);
@@ -11726,7 +11728,7 @@ const mountToast = (opts) => {
11726
11728
  } else {
11727
11729
  _id = new Date().getTime() + "";
11728
11730
  }
11729
- opts = __spreadValues(__spreadValues({}, defaultOptions), opts);
11731
+ opts = { ...defaultOptions, ...opts };
11730
11732
  opts.id = _id;
11731
11733
  idsMap.push(opts.id);
11732
11734
  optsMap.push(opts);
@@ -11746,27 +11748,27 @@ const errorMsg = (msg) => {
11746
11748
  const ToastFunction = {
11747
11749
  text(msg, opts = {}) {
11748
11750
  errorMsg(msg);
11749
- return mountToast(__spreadProps(__spreadValues({}, opts), { type: "text", msg }));
11751
+ return mountToast({ ...opts, type: "text", msg });
11750
11752
  },
11751
11753
  success(msg, opts = {}) {
11752
11754
  errorMsg(msg);
11753
- return mountToast(__spreadProps(__spreadValues({ icon: "success" }, opts), { msg, type: "success" }));
11755
+ return mountToast({ icon: "success", ...opts, msg, type: "success" });
11754
11756
  },
11755
11757
  fail(msg, opts = {}) {
11756
11758
  errorMsg(msg);
11757
- return mountToast(__spreadProps(__spreadValues({ icon: "failure" }, opts), { msg, type: "fail" }));
11759
+ return mountToast({ icon: "failure", ...opts, msg, type: "fail" });
11758
11760
  },
11759
11761
  warn(msg, opts = {}) {
11760
11762
  errorMsg(msg);
11761
- return mountToast(__spreadProps(__spreadValues({ icon: "tips" }, opts), { msg, type: "warn" }));
11763
+ return mountToast({ icon: "tips", ...opts, msg, type: "warn" });
11762
11764
  },
11763
11765
  loading(msg, opts = {}) {
11764
- return mountToast(__spreadProps(__spreadValues({
11765
- icon: "loading"
11766
- }, opts), {
11766
+ return mountToast({
11767
+ icon: "loading",
11768
+ ...opts,
11767
11769
  msg,
11768
11770
  type: "loading"
11769
- }));
11771
+ });
11770
11772
  },
11771
11773
  hide(id) {
11772
11774
  clearToast(id);
@@ -11809,7 +11811,7 @@ const _sfc_main$Q = create$Q({
11809
11811
  }
11810
11812
  },
11811
11813
  components: {},
11812
- emits: ["fastBack", "play", "forward", "ended", "changeProgress", "mute"],
11814
+ emits: ["fastBack", "play", "forward", "ended", "changeProgress", "mute", "can-play"],
11813
11815
  setup(props, { emit }) {
11814
11816
  const audioRef = ref(null);
11815
11817
  const audioData = reactive({
@@ -11841,22 +11843,25 @@ const _sfc_main$Q = create$Q({
11841
11843
  } catch (e) {
11842
11844
  console.log(e.message);
11843
11845
  }
11844
- setTimeout(() => {
11845
- const audioR = audioRef.value;
11846
- if (props.autoplay) {
11847
- if (audioR && audioR.paused) {
11848
- audioR.play();
11849
- }
11850
- }
11851
- audioData.second = audioR.duration;
11852
- audioData.duration = formatSeconds(audioR.duration);
11853
- }, 500);
11854
11846
  });
11847
+ const onCanplay = (e) => {
11848
+ const audioR = audioRef.value;
11849
+ if (props.autoplay) {
11850
+ if (audioR && audioR.paused) {
11851
+ audioR.play();
11852
+ }
11853
+ }
11854
+ audioData.second = audioR.duration;
11855
+ audioData.duration = formatSeconds(audioR.duration);
11856
+ emit("can-play", e);
11857
+ };
11855
11858
  const onTimeupdate = (e) => {
11856
11859
  audioData.currentTime = parseInt(e.target.currentTime);
11857
11860
  };
11858
11861
  const fastBack = () => {
11859
- audioData.currentTime--;
11862
+ if (audioData.currentTime > 0) {
11863
+ audioData.currentTime--;
11864
+ }
11860
11865
  audioRef.value.currentTime = audioData.currentTime;
11861
11866
  emit("fastBack", audioData.currentTime);
11862
11867
  };
@@ -11895,37 +11900,17 @@ const _sfc_main$Q = create$Q({
11895
11900
  emit("mute", audioData.hanMuted);
11896
11901
  };
11897
11902
  const formatSeconds = (value) => {
11898
- let theTime = parseInt(value);
11899
- let theTime1 = 0;
11900
- let theTime2 = 0;
11901
- if (theTime > 60) {
11902
- theTime1 = Math.floor(theTime / 60);
11903
- theTime = Math.floor(theTime % 60);
11904
- if (theTime1 > 60) {
11905
- theTime2 = Math.floor(theTime1 / 60);
11906
- theTime1 = Math.floor(theTime1 % 60);
11907
- }
11903
+ if (!value) {
11904
+ return "00:00:00";
11908
11905
  }
11906
+ let time = parseInt(value);
11907
+ let hours = Math.floor(time / 3600);
11908
+ let minutes = Math.floor((time - hours * 3600) / 60);
11909
+ let seconds = time - hours * 3600 - minutes * 60;
11909
11910
  let result = "";
11910
- if (theTime < 10) {
11911
- result = "0" + result;
11912
- }
11913
- if (theTime1 > 0) {
11914
- result = "" + theTime1 + ":" + result;
11915
- if (theTime1 < 10) {
11916
- result = "0" + result;
11917
- }
11918
- } else {
11919
- result = "00:" + result;
11920
- }
11921
- if (theTime2 > 0) {
11922
- result = "" + theTime2 + ":" + result;
11923
- if (theTime2 < 10) {
11924
- result = "0" + result;
11925
- }
11926
- } else {
11927
- result = "00:" + result;
11928
- }
11911
+ result += ("0" + hours.toString()).slice(-2) + ":";
11912
+ result += ("0" + minutes.toString()).slice(-2) + ":";
11913
+ result += ("0" + seconds.toString()).slice(-2);
11929
11914
  return result;
11930
11915
  };
11931
11916
  watch(() => audioData.currentTime, (value) => {
@@ -11940,7 +11925,9 @@ const _sfc_main$Q = create$Q({
11940
11925
  fastBack,
11941
11926
  changeStatus
11942
11927
  });
11943
- return __spreadProps(__spreadValues(__spreadValues({}, toRefs(props)), toRefs(audioData)), {
11928
+ return {
11929
+ ...toRefs(props),
11930
+ ...toRefs(audioData),
11944
11931
  audioRef,
11945
11932
  fastBack,
11946
11933
  forward,
@@ -11948,8 +11935,9 @@ const _sfc_main$Q = create$Q({
11948
11935
  progressChange,
11949
11936
  audioEnd,
11950
11937
  onTimeupdate,
11951
- handleMute
11952
- });
11938
+ handleMute,
11939
+ onCanplay
11940
+ };
11953
11941
  }
11954
11942
  });
11955
11943
  const _hoisted_1$I = { class: "nut-audio" };
@@ -12021,7 +12009,8 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
12021
12009
  autoplay: _ctx.autoplay,
12022
12010
  loop: _ctx.loop,
12023
12011
  onTimeupdate: _cache[3] || (_cache[3] = (...args) => _ctx.onTimeupdate && _ctx.onTimeupdate(...args)),
12024
- onEnded: _cache[4] || (_cache[4] = (...args) => _ctx.audioEnd && _ctx.audioEnd(...args)),
12012
+ onCanplay: _cache[4] || (_cache[4] = (...args) => _ctx.onCanplay && _ctx.onCanplay(...args)),
12013
+ onEnded: _cache[5] || (_cache[5] = (...args) => _ctx.audioEnd && _ctx.audioEnd(...args)),
12025
12014
  muted: _ctx.hanMuted
12026
12015
  }, null, 40, _hoisted_8$7)
12027
12016
  ]);
@@ -12043,7 +12032,7 @@ const _sfc_main$P = create$P({
12043
12032
  const audio = inject("audioParent");
12044
12033
  const parent = reactive(audio);
12045
12034
  const customSlot = ref(useSlots().default);
12046
- return __spreadProps(__spreadValues(__spreadValues({}, toRefs(props)), toRefs(parent)), { customSlot, translate: translate$e });
12035
+ return { ...toRefs(props), ...toRefs(parent), customSlot, translate: translate$e };
12047
12036
  }
12048
12037
  });
12049
12038
  const _hoisted_1$H = { class: "nut-audio-operate" };
@@ -12227,7 +12216,7 @@ const _sfc_main$O = create$O({
12227
12216
  const onError = (event) => {
12228
12217
  emit("onError", event);
12229
12218
  };
12230
- return __spreadValues({
12219
+ return {
12231
12220
  classes,
12232
12221
  styles,
12233
12222
  iconStyles,
@@ -12237,8 +12226,9 @@ const _sfc_main$O = create$O({
12237
12226
  onError,
12238
12227
  avatarGroup,
12239
12228
  visible,
12240
- avatarRef
12241
- }, toRefs(state));
12229
+ avatarRef,
12230
+ ...toRefs(state)
12231
+ };
12242
12232
  }
12243
12233
  });
12244
12234
  const _hoisted_1$G = ["src", "alt"];
@@ -12407,14 +12397,15 @@ const _sfc_main$M = create$M({
12407
12397
  watch(() => props.listData, () => {
12408
12398
  state.list = props.listData.slice();
12409
12399
  });
12410
- return __spreadProps(__spreadValues({}, toRefs(state)), {
12400
+ return {
12401
+ ...toRefs(state),
12411
12402
  list,
12412
12403
  getTransform,
12413
12404
  listHeight,
12414
12405
  visibleData,
12415
12406
  classes,
12416
12407
  handleScrollEvent
12417
- });
12408
+ };
12418
12409
  }
12419
12410
  });
12420
12411
  function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
@@ -12879,7 +12870,7 @@ const _sfc_main$J = create$J({
12879
12870
  return styles;
12880
12871
  });
12881
12872
  watch(() => props.text, (value) => {
12882
- initScrollWrap(value);
12873
+ initScrollWrap();
12883
12874
  });
12884
12875
  watch(() => props.list, (value) => {
12885
12876
  state.scrollList = [].concat(value);
@@ -12984,7 +12975,9 @@ const _sfc_main$J = create$J({
12984
12975
  onUnmounted(() => {
12985
12976
  clearInterval(state.timer);
12986
12977
  });
12987
- return __spreadProps(__spreadValues(__spreadValues({}, toRefs(props)), toRefs(state)), {
12978
+ return {
12979
+ ...toRefs(props),
12980
+ ...toRefs(state),
12988
12981
  isEllipsis,
12989
12982
  classes,
12990
12983
  iconShow,
@@ -13000,7 +12993,7 @@ const _sfc_main$J = create$J({
13000
12993
  go,
13001
12994
  handleClickIcon,
13002
12995
  slots
13003
- });
12996
+ };
13004
12997
  }
13005
12998
  });
13006
12999
  const _hoisted_1$D = {
@@ -13381,9 +13374,10 @@ const _sfc_main$H = create$H({
13381
13374
  onMounted(() => {
13382
13375
  init();
13383
13376
  });
13384
- return __spreadProps(__spreadValues(__spreadValues({
13385
- root
13386
- }, toRefs(props)), toRefs(state)), {
13377
+ return {
13378
+ root,
13379
+ ...toRefs(props),
13380
+ ...toRefs(state),
13387
13381
  handleError,
13388
13382
  isDisabled,
13389
13383
  play,
@@ -13394,7 +13388,7 @@ const _sfc_main$H = create$H({
13394
13388
  retry,
13395
13389
  fullScreen,
13396
13390
  translate: translate$c
13397
- });
13391
+ };
13398
13392
  }
13399
13393
  });
13400
13394
  const _hoisted_1$B = {
@@ -13603,11 +13597,12 @@ const _sfc_main$F = create$F({
13603
13597
  const handleClickStep = () => {
13604
13598
  parent["onEmit"](index.value);
13605
13599
  };
13606
- return __spreadProps(__spreadValues({}, toRefs(state)), {
13600
+ return {
13601
+ ...toRefs(state),
13607
13602
  index,
13608
13603
  classes,
13609
13604
  handleClickStep
13610
- });
13605
+ };
13611
13606
  }
13612
13607
  });
13613
13608
  const _hoisted_1$A = { class: "nut-step-head" };
@@ -14493,14 +14488,15 @@ const _sfc_main$B = create$B({
14493
14488
  resetScale();
14494
14489
  }
14495
14490
  });
14496
- return __spreadProps(__spreadValues({}, toRefs(state)), {
14491
+ return {
14492
+ ...toRefs(state),
14497
14493
  onTouchStart,
14498
14494
  onTouchMove,
14499
14495
  onTouchEnd,
14500
14496
  getDistance,
14501
14497
  imageStyle,
14502
14498
  imageLoad
14503
- });
14499
+ };
14504
14500
  }
14505
14501
  });
14506
14502
  const _hoisted_1$y = ["src"];
@@ -14676,14 +14672,14 @@ const _sfc_main$A = create$A({
14676
14672
  state.showPop = props.show;
14677
14673
  state.maxNo = props.images.length + props.videos.length;
14678
14674
  });
14679
- return __spreadProps(__spreadValues({
14680
- swipeRef
14681
- }, toRefs(state)), {
14675
+ return {
14676
+ swipeRef,
14677
+ ...toRefs(state),
14682
14678
  slideChangeEnd,
14683
14679
  onClose,
14684
14680
  handleCloseIcon,
14685
14681
  styles
14686
- });
14682
+ };
14687
14683
  }
14688
14684
  });
14689
14685
  const _hoisted_1$x = {
@@ -15236,12 +15232,14 @@ const _sfc_main$z = create$z({
15236
15232
  clearIntervalTime();
15237
15233
  data.timer = null;
15238
15234
  });
15239
- return __spreadProps(__spreadValues(__spreadValues({}, toRefs(data)), toRefs(reactive(props))), {
15235
+ return {
15236
+ ...toRefs(data),
15237
+ ...toRefs(reactive(props)),
15240
15238
  runNumberImg,
15241
15239
  setRef,
15242
15240
  topNumber,
15243
15241
  turnNumber
15244
- });
15242
+ };
15245
15243
  }
15246
15244
  });
15247
15245
  const _hoisted_1$w = { class: "nut-countup" };
@@ -15473,7 +15471,7 @@ const _sfc_main$y = create$y({
15473
15471
  rest.s = Math.floor(ts % MINUTE / SECOND);
15474
15472
  rest.ms = Math.floor(ts % SECOND);
15475
15473
  }
15476
- return type == "custom" ? rest : parseFormat(__spreadValues({}, rest));
15474
+ return type == "custom" ? rest : parseFormat({ ...rest });
15477
15475
  };
15478
15476
  const parseFormat = (time) => {
15479
15477
  let { d, h: h2, m, s, ms } = time;
@@ -15561,7 +15559,8 @@ const _sfc_main$y = create$y({
15561
15559
  watch(() => props.startTime, (value) => {
15562
15560
  initTime();
15563
15561
  });
15564
- return __spreadProps(__spreadValues({}, toRefs(props)), {
15562
+ return {
15563
+ ...toRefs(props),
15565
15564
  slots,
15566
15565
  classes,
15567
15566
  getTimeStamp,
@@ -15570,7 +15569,7 @@ const _sfc_main$y = create$y({
15570
15569
  renderTime,
15571
15570
  translate: translate$b,
15572
15571
  reset
15573
- });
15572
+ };
15574
15573
  }
15575
15574
  });
15576
15575
  const _hoisted_1$v = ["innerHTML"];
@@ -16534,7 +16533,8 @@ const _sfc_main$v = create$v({
16534
16533
  [Popup.name]: Popup,
16535
16534
  [Button.name]: Button
16536
16535
  },
16537
- props: __spreadProps(__spreadValues({}, popupProps), {
16536
+ props: {
16537
+ ...popupProps,
16538
16538
  list: {
16539
16539
  type: Array,
16540
16540
  default: []
@@ -16559,7 +16559,7 @@ const _sfc_main$v = create$v({
16559
16559
  type: Boolean,
16560
16560
  default: true
16561
16561
  }
16562
- }),
16562
+ },
16563
16563
  emits: ["update", "update:visible", "close", "choose", "open"],
16564
16564
  setup(props, { emit }) {
16565
16565
  let popper;
@@ -16912,7 +16912,7 @@ const _sfc_main$t = create$t({
16912
16912
  Array.from(doms).forEach((item) => {
16913
16913
  if (typeof newval == "number" || typeof newval == "string") {
16914
16914
  if (newval == item.name) {
16915
- item.changeOpen(!item.openExpanded);
16915
+ item.changeOpen(true);
16916
16916
  } else {
16917
16917
  item.changeOpen(false);
16918
16918
  }
@@ -17126,17 +17126,19 @@ const _sfc_main$s = create$s({
17126
17126
  }
17127
17127
  return _class;
17128
17128
  });
17129
- return __spreadProps(__spreadValues(__spreadValues(__spreadValues({
17129
+ return {
17130
17130
  classes,
17131
- emptyContent
17132
- }, toRefs(proxyData)), toRefs(parent.props)), toRefs(titleIconStyle)), {
17131
+ emptyContent,
17132
+ ...toRefs(proxyData),
17133
+ ...toRefs(parent.props),
17134
+ ...toRefs(titleIconStyle),
17133
17135
  wrapperRef,
17134
17136
  contentRef,
17135
17137
  open,
17136
17138
  toggleOpen,
17137
17139
  changeOpen,
17138
17140
  animation
17139
- });
17141
+ };
17140
17142
  }
17141
17143
  });
17142
17144
  const _hoisted_1$q = { class: "collapse-title" };
@@ -17299,7 +17301,8 @@ const component = (componentName2, translate2) => {
17299
17301
  watch(() => props.data, (val) => {
17300
17302
  state.curData = val.slice();
17301
17303
  });
17302
- return __spreadProps(__spreadValues({}, toRefs(state)), {
17304
+ return {
17305
+ ...toRefs(state),
17303
17306
  classes,
17304
17307
  cellClasses,
17305
17308
  getColumnItem,
@@ -17309,7 +17312,7 @@ const component = (componentName2, translate2) => {
17309
17312
  translate: translate2,
17310
17313
  stylehead,
17311
17314
  stylecolumn
17312
- });
17315
+ };
17313
17316
  }
17314
17317
  };
17315
17318
  };
@@ -17441,7 +17444,7 @@ const _sfc_main$q = create$q({
17441
17444
  }
17442
17445
  emit("click", event);
17443
17446
  };
17444
- return __spreadProps(__spreadValues({}, toRefs(state)), { classes, handleClick });
17447
+ return { ...toRefs(state), classes, handleClick };
17445
17448
  }
17446
17449
  });
17447
17450
  const _hoisted_1$o = { class: "nut-animate" };
@@ -17619,7 +17622,7 @@ const _sfc_main$p = create$p({
17619
17622
  const handleClick = () => {
17620
17623
  emit("click");
17621
17624
  };
17622
- return __spreadProps(__spreadValues({}, toRefs(state)), { root, ellipsis, classes, clickHandle, handleClick });
17625
+ return { ...toRefs(state), root, ellipsis, classes, clickHandle, handleClick };
17623
17626
  }
17624
17627
  });
17625
17628
  const _hoisted_1$n = { key: 0 };
@@ -17815,7 +17818,7 @@ const _sfc_main$o = create$o({
17815
17818
  [`${prefixCls}-full-page`]: props.fullPage
17816
17819
  };
17817
17820
  });
17818
- return __spreadProps(__spreadValues({}, toRefs(state)), { classes });
17821
+ return { ...toRefs(state), classes };
17819
17822
  }
17820
17823
  });
17821
17824
  function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
@@ -17832,7 +17835,8 @@ var WaterMark = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render
17832
17835
  const { componentName: componentName$m, create: create$n, translate: translate$9 } = createComponent("address");
17833
17836
  const _sfc_main$n = create$n({
17834
17837
  inheritAttrs: false,
17835
- props: __spreadProps(__spreadValues({}, popupProps), {
17838
+ props: {
17839
+ ...popupProps,
17836
17840
  modelValue: {
17837
17841
  type: Array,
17838
17842
  default: () => []
@@ -17901,7 +17905,7 @@ const _sfc_main$n = create$n({
17901
17905
  type: [String, Array],
17902
17906
  default: ""
17903
17907
  }
17904
- }),
17908
+ },
17905
17909
  emits: ["update:visible", "update:modelValue", "type", "change", "selected", "close", "close-mask", "switch-module"],
17906
17910
  setup(props, { emit }) {
17907
17911
  const regionLine = ref(null);
@@ -18152,7 +18156,7 @@ const _sfc_main$n = create$n({
18152
18156
  }
18153
18157
  });
18154
18158
  });
18155
- return __spreadProps(__spreadValues({
18159
+ return {
18156
18160
  showPopup,
18157
18161
  privateType,
18158
18162
  tabIndex,
@@ -18173,10 +18177,10 @@ const _sfc_main$n = create$n({
18173
18177
  clickOverlay,
18174
18178
  handClose,
18175
18179
  handleElevatorItem,
18176
- initCustomSelected
18177
- }, toRefs(props)), {
18180
+ initCustomSelected,
18181
+ ...toRefs(props),
18178
18182
  translate: translate$9
18179
- });
18183
+ };
18180
18184
  }
18181
18185
  });
18182
18186
  const _hoisted_1$m = { class: "nut-address" };
@@ -18358,10 +18362,11 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
18358
18362
  }, [
18359
18363
  createElementVNode("div", _hoisted_23, toDisplayString(_ctx.customAndExistTitle || _ctx.translate("chooseAnotherAddress")), 1)
18360
18364
  ])) : createCommentVNode("", true)
18361
- ])) : createCommentVNode("", true)
18365
+ ])) : createCommentVNode("", true),
18366
+ renderSlot(_ctx.$slots, "bottom")
18362
18367
  ])
18363
18368
  ]),
18364
- _: 1
18369
+ _: 3
18365
18370
  }, 8, ["lock-scroll", "onClose", "onClickOverlay", "visible", "isWrapTeleport", "teleport"]);
18366
18371
  }
18367
18372
  var Address = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n]]);
@@ -18494,7 +18499,15 @@ const _sfc_main$l = create$l({
18494
18499
  },
18495
18500
  strokeStyle: {
18496
18501
  type: String,
18497
- default: "#000"
18502
+ default: () => {
18503
+ let bodyDom = document.getElementsByTagName("body");
18504
+ let clsName = bodyDom[0]["className"];
18505
+ if (clsName.indexOf("nut-theme-dark") == -1) {
18506
+ return "#000";
18507
+ } else {
18508
+ return "#fff";
18509
+ }
18510
+ }
18498
18511
  },
18499
18512
  type: {
18500
18513
  type: String,
@@ -18506,7 +18519,7 @@ const _sfc_main$l = create$l({
18506
18519
  }
18507
18520
  },
18508
18521
  components: {},
18509
- emits: ["confirm", "clear"],
18522
+ emits: ["start", "end", "signing", "confirm", "clear"],
18510
18523
  setup(props, { emit }) {
18511
18524
  const canvas = ref(null);
18512
18525
  const wrap = ref(null);
@@ -18536,6 +18549,7 @@ const _sfc_main$l = create$l({
18536
18549
  state.ctx.beginPath();
18537
18550
  state.ctx.lineWidth = props.lineWidth;
18538
18551
  state.ctx.strokeStyle = props.strokeStyle;
18552
+ emit("start");
18539
18553
  canvas.value.addEventListener(state.events[1], moveEventHandler, false);
18540
18554
  canvas.value.addEventListener(state.events[2], endEventHandler, false);
18541
18555
  canvas.value.addEventListener(state.events[3], leaveEventHandler, false);
@@ -18543,6 +18557,7 @@ const _sfc_main$l = create$l({
18543
18557
  const moveEventHandler = (event) => {
18544
18558
  event.preventDefault();
18545
18559
  let evt = state.isSupportTouch ? event.touches[0] : event;
18560
+ emit("signing", evt);
18546
18561
  let coverPos = canvas.value.getBoundingClientRect();
18547
18562
  let mouseX = evt.clientX - coverPos.left;
18548
18563
  let mouseY = evt.clientY - coverPos.top;
@@ -18551,6 +18566,7 @@ const _sfc_main$l = create$l({
18551
18566
  };
18552
18567
  const endEventHandler = (event) => {
18553
18568
  event.preventDefault();
18569
+ emit("end");
18554
18570
  canvas.value.removeEventListener(state.events[1], moveEventHandler, false);
18555
18571
  canvas.value.removeEventListener(state.events[2], endEventHandler, false);
18556
18572
  };
@@ -18589,7 +18605,7 @@ const _sfc_main$l = create$l({
18589
18605
  addEvent();
18590
18606
  }
18591
18607
  });
18592
- return __spreadProps(__spreadValues({}, toRefs(state)), { canvas, wrap, isCanvasSupported, confirm, clear, classes, translate: translate$8 });
18608
+ return { ...toRefs(state), canvas, wrap, isCanvasSupported, confirm, clear, classes, translate: translate$8 };
18593
18609
  }
18594
18610
  });
18595
18611
  const _hoisted_1$k = {
@@ -18775,10 +18791,11 @@ const _sfc_main$j = create$j({
18775
18791
  const handlePannel = (pannelKey) => {
18776
18792
  context.emit("change", pannelKey);
18777
18793
  };
18778
- return __spreadProps(__spreadValues({}, toRefs(state)), {
18794
+ return {
18795
+ ...toRefs(state),
18779
18796
  classes,
18780
18797
  handlePannel
18781
- });
18798
+ };
18782
18799
  }
18783
18800
  });
18784
18801
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
@@ -18832,13 +18849,13 @@ const _sfc_main$i = create$i({
18832
18849
  const handleTime = (time) => {
18833
18850
  context.emit("select", time);
18834
18851
  };
18835
- return __spreadProps(__spreadValues({
18836
- classes
18837
- }, toRefs(state)), {
18852
+ return {
18853
+ classes,
18854
+ ...toRefs(state),
18838
18855
  getClass,
18839
18856
  renderData,
18840
18857
  handleTime
18841
- });
18858
+ };
18842
18859
  }
18843
18860
  });
18844
18861
  const _hoisted_1$i = { class: "nut-timedetail__detail nut-timedetail__detail--moring" };
@@ -19131,7 +19148,8 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
19131
19148
  var SkuOperate = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e]]);
19132
19149
  const { componentName: componentName$c, create: create$d, translate: translate$5 } = createComponent("sku");
19133
19150
  const _sfc_main$d = create$d({
19134
- props: __spreadProps(__spreadValues({}, popupProps), {
19151
+ props: {
19152
+ ...popupProps,
19135
19153
  sku: {
19136
19154
  type: Array,
19137
19155
  default: []
@@ -19176,7 +19194,7 @@ const _sfc_main$d = create$d({
19176
19194
  type: String,
19177
19195
  default: ""
19178
19196
  }
19179
- }),
19197
+ },
19180
19198
  emits: [
19181
19199
  "update:visible",
19182
19200
  "selectSku",
@@ -20074,7 +20092,7 @@ const _sfc_main$6 = create$6({
20074
20092
  });
20075
20093
  const trowelData = () => {
20076
20094
  console.log("props.data", props.data);
20077
- if (Object.keys(props.dataMapOptions).length > 0 && props.data.length > 0) {
20095
+ if (Object.keys(props.dataMapOptions).length > 0) {
20078
20096
  dataArray.value = props.data.map((item, index) => {
20079
20097
  return floatData(dataInfo, item, props.dataMapOptions);
20080
20098
  });
@@ -20817,6 +20835,6 @@ function install(app) {
20817
20835
  }
20818
20836
  });
20819
20837
  }
20820
- const version = "3.1.23-beta.6";
20838
+ const version = "3.2.0";
20821
20839
  var nutui_vue_build = { install, version, Locale };
20822
20840
  export { ActionSheet, Address, AddressList, Animate, Audio, AudioOperate, Avatar, AvatarGroup, BackTop, Badge, Barrage, Button, Calendar, CalendarItem, Card, Cascader, Category, CategoryPane, Cell, CellGroup, _sfc_main$1g as Checkbox, _sfc_main$1f as CheckboxGroup, CircleProgress, Col, Collapse, CollapseItem, Comment, _sfc_main$1J as ConfigProvider, CountDown, CountUp, DatePicker, _Dialog as Dialog, Divider, Drag, Ecard, Elevator, Ellipsis, Empty, FixedNav, Form, FormItem, _sfc_main$1C as Grid, GridItem, _sfc_main$1P as Icon, Image$1 as Image, _ImagePreview as ImagePreview, Indicator, InfiniteLoading, Input, InputNumber, _sfc_main$1H as Layout, List, Locale, Menu, MenuItem, Navbar, NoticeBar, NotifyFunction as Notify, NumberKeyboard, OldPicker, OverLay, Pagination, Picker, Popover, Popup, Price, Progress, PullRefresh, _sfc_main$19 as Radio, _sfc_main$18 as RadioGroup, Range, Rate, Row, SearchBar, ShortPassword, SideNavBar, SideNavBarItem, Signature, Skeleton, Sku, Step, _sfc_main$G as Steps, _sfc_main$1E as Sticky, SubSideNavBar, Swipe, Swiper, SwiperItem, Switch, TabPane, Tabbar, TabbarItem, Table, Tabs, Tag, TextArea, TimeDetail, TimePannel, TimeSelect, ToastFunction as Toast, Uploader, Video, WaterMark, nutui_vue_build as default, install, version };