@nutui/nutui 3.1.23-beta.5 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/CHANGELOG.md +63 -1
  2. package/dist/nutui.es.js +382 -355
  3. package/dist/nutui.umd.js +375 -348
  4. package/dist/packages/_es/ActionSheet.js +1 -1
  5. package/dist/packages/_es/Address.js +17 -15
  6. package/dist/packages/_es/AddressList.js +3 -5
  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 +2 -4
  10. package/dist/packages/_es/Avatar.js +4 -5
  11. package/dist/packages/_es/AvatarGroup.js +1 -1
  12. package/dist/packages/_es/BackTop.js +1 -1
  13. package/dist/packages/_es/Badge.js +1 -1
  14. package/dist/packages/_es/Barrage.js +1 -1
  15. package/dist/packages/_es/Button.js +6 -5
  16. package/dist/packages/_es/Calendar.js +1 -1
  17. package/dist/packages/_es/CalendarItem.js +1 -1
  18. package/dist/packages/_es/Card.js +1 -1
  19. package/dist/packages/_es/Cascader.js +1 -1
  20. package/dist/packages/_es/Category.js +2 -2
  21. package/dist/packages/_es/CategoryPane.js +10 -10
  22. package/dist/packages/_es/Cell.js +8 -9
  23. package/dist/packages/_es/CellGroup.js +1 -1
  24. package/dist/packages/_es/Checkbox.js +1 -1
  25. package/dist/packages/_es/CheckboxGroup.js +1 -1
  26. package/dist/packages/_es/CircleProgress.js +1 -1
  27. package/dist/packages/_es/Col.js +1 -1
  28. package/dist/packages/_es/Collapse.js +11 -10
  29. package/dist/packages/_es/CollapseItem.js +13 -11
  30. package/dist/packages/_es/Comment.js +1 -1
  31. package/dist/packages/_es/ConfigProvider.js +1 -1
  32. package/dist/packages/_es/CountDown.js +1 -1
  33. package/dist/packages/_es/CountUp.js +1 -1
  34. package/dist/packages/_es/DatePicker.js +1 -1
  35. package/dist/packages/_es/Dialog.js +1 -1
  36. package/dist/packages/_es/Divider.js +1 -1
  37. package/dist/packages/_es/Drag.js +1 -1
  38. package/dist/packages/_es/Ecard.js +1 -1
  39. package/dist/packages/_es/Elevator.js +1 -1
  40. package/dist/packages/_es/Ellipsis.js +1 -1
  41. package/dist/packages/_es/Empty.js +1 -1
  42. package/dist/packages/_es/FixedNav.js +18 -14
  43. package/dist/packages/_es/Form.js +1 -1
  44. package/dist/packages/_es/FormItem.js +1 -1
  45. package/dist/packages/_es/Grid.js +1 -1
  46. package/dist/packages/_es/GridItem.js +6 -5
  47. package/dist/packages/_es/Icon.js +1 -1
  48. package/dist/packages/_es/Image.js +1 -1
  49. package/dist/packages/_es/ImagePreview.js +3 -6
  50. package/dist/packages/_es/Indicator.js +1 -1
  51. package/dist/packages/_es/InfiniteLoading.js +4 -10
  52. package/dist/packages/_es/Input.js +97 -67
  53. package/dist/packages/_es/InputNumber.js +1 -1
  54. package/dist/packages/_es/Layout.js +1 -1
  55. package/dist/packages/_es/List.js +1 -1
  56. package/dist/packages/_es/Menu.js +6 -5
  57. package/dist/packages/_es/MenuItem.js +9 -7
  58. package/dist/packages/_es/Navbar.js +10 -8
  59. package/dist/packages/_es/NoticeBar.js +4 -4
  60. package/dist/packages/_es/Notify.js +5 -11
  61. package/dist/packages/_es/NumberKeyboard.js +10 -12
  62. package/dist/packages/_es/OldPicker.js +1 -1
  63. package/dist/packages/_es/OverLay.js +1 -1
  64. package/dist/packages/_es/Pagination.js +1 -1
  65. package/dist/packages/_es/Picker.js +7 -1
  66. package/dist/packages/_es/Popover.js +4 -7
  67. package/dist/packages/_es/Popup.js +4 -4
  68. package/dist/packages/_es/Price.js +1 -1
  69. package/dist/packages/_es/Progress.js +4 -5
  70. package/dist/packages/_es/PullRefresh.js +1 -1
  71. package/dist/packages/_es/Radio.js +1 -1
  72. package/dist/packages/_es/RadioGroup.js +1 -1
  73. package/dist/packages/_es/Range.js +1 -1
  74. package/dist/packages/_es/Rate.js +1 -1
  75. package/dist/packages/_es/Row.js +1 -1
  76. package/dist/packages/_es/SearchBar.js +1 -1
  77. package/dist/packages/_es/ShortPassword.js +1 -1
  78. package/dist/packages/_es/SideNavBar.js +1 -1
  79. package/dist/packages/_es/SideNavBarItem.js +1 -1
  80. package/dist/packages/_es/Signature.js +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 +6 -5
  84. package/dist/packages/_es/Steps.js +1 -1
  85. package/dist/packages/_es/Sticky.js +1 -1
  86. package/dist/packages/_es/SubSideNavBar.js +1 -1
  87. package/dist/packages/_es/Swipe.js +1 -1
  88. package/dist/packages/_es/Swiper.js +1 -1
  89. package/dist/packages/_es/SwiperItem.js +1 -1
  90. package/dist/packages/_es/Switch.js +6 -5
  91. package/dist/packages/_es/TabPane.js +1 -1
  92. package/dist/packages/_es/Tabbar.js +1 -1
  93. package/dist/packages/_es/TabbarItem.js +1 -1
  94. package/dist/packages/_es/Table.js +1 -1
  95. package/dist/packages/_es/Tabs.js +1 -1
  96. package/dist/packages/_es/Tag.js +11 -15
  97. package/dist/packages/_es/TextArea.js +1 -1
  98. package/dist/packages/_es/TimeDetail.js +1 -1
  99. package/dist/packages/_es/TimePannel.js +1 -1
  100. package/dist/packages/_es/TimeSelect.js +1 -1
  101. package/dist/packages/_es/Toast.js +4 -5
  102. package/dist/packages/_es/Uploader.js +41 -32
  103. package/dist/packages/_es/Video.js +1 -1
  104. package/dist/packages/_es/WaterMark.js +1 -4
  105. package/dist/packages/_es/common.js +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 +1 -1
  112. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  113. package/dist/packages/_es/pxCheck.js +1 -1
  114. package/dist/packages/_es/raf.js +1 -1
  115. package/dist/packages/_es/style.css +1 -111
  116. package/dist/packages/actionsheet/index.scss +17 -0
  117. package/dist/packages/address/index.scss +60 -0
  118. package/dist/packages/addresslist/index.scss +57 -17
  119. package/dist/packages/audio/index.scss +8 -0
  120. package/dist/packages/barrage/index.scss +7 -0
  121. package/dist/packages/card/index.scss +8 -1
  122. package/dist/packages/category/index.scss +25 -4
  123. package/dist/packages/categorypane/index.scss +18 -65
  124. package/dist/packages/circleprogress/index.scss +6 -0
  125. package/dist/packages/collapseitem/index.scss +21 -0
  126. package/dist/packages/comment/index.scss +37 -0
  127. package/dist/packages/countup/index.scss +24 -3
  128. package/dist/packages/ecard/index.scss +31 -1
  129. package/dist/packages/elevator/index.scss +16 -0
  130. package/dist/packages/empty/index.scss +6 -0
  131. package/dist/packages/fixednav/index.scss +7 -0
  132. package/dist/packages/image/index.scss +12 -0
  133. package/dist/packages/infiniteloading/index.scss +18 -0
  134. package/dist/packages/locale/lang/baseLang.js +1 -1
  135. package/dist/packages/locale/lang/en-US.js +1 -1
  136. package/dist/packages/locale/lang/id-ID.js +1 -1
  137. package/dist/packages/locale/lang/index.js +1 -1
  138. package/dist/packages/locale/lang/zh-CN.js +1 -1
  139. package/dist/packages/locale/lang/zh-TW.js +1 -1
  140. package/dist/packages/menu/index.scss +14 -2
  141. package/dist/packages/menuitem/index.scss +8 -0
  142. package/dist/packages/noticebar/index.scss +13 -0
  143. package/dist/packages/notify/index.scss +5 -0
  144. package/dist/packages/numberkeyboard/index.scss +10 -0
  145. package/dist/packages/picker/index.scss +33 -0
  146. package/dist/packages/popup/index.scss +10 -0
  147. package/dist/packages/shortpassword/index.scss +20 -0
  148. package/dist/packages/sidenavbaritem/index.scss +9 -0
  149. package/dist/packages/sku/index.scss +40 -0
  150. package/dist/packages/step/index.scss +52 -0
  151. package/dist/packages/subsidenavbar/index.scss +12 -0
  152. package/dist/packages/swiper/index.scss +2 -0
  153. package/dist/packages/swiperitem/index.scss +3 -0
  154. package/dist/packages/tag/index.scss +20 -0
  155. package/dist/packages/textarea/index.scss +6 -0
  156. package/dist/packages/watermark/index.scss +1 -1
  157. package/dist/smartips/attributes.json +17 -1
  158. package/dist/smartips/tags.json +8 -3
  159. package/dist/smartips/web-types.json +40 -3
  160. package/dist/style.css +1 -1
  161. package/dist/style.es.js +1 -1
  162. package/dist/styles/themes/default.scss +50 -50
  163. package/dist/styles/themes/jdb.scss +50 -50
  164. package/dist/styles/themes/jdt.scss +50 -50
  165. package/dist/styles/variables-jdb.scss +28 -7
  166. package/dist/styles/variables-jdt.scss +28 -7
  167. package/dist/styles/variables.scss +27 -7
  168. package/dist/types/__VUE/actionsheet/index.vue.d.ts +1 -1
  169. package/dist/types/__VUE/address/index.vue.d.ts +1 -1
  170. package/dist/types/__VUE/addresslist/index.vue.d.ts +1 -1
  171. package/dist/types/__VUE/audio/index.vue.d.ts +4 -1
  172. package/dist/types/__VUE/audiooperate/index.vue.d.ts +15 -72
  173. package/dist/types/__VUE/avatargroup/index.vue.d.ts +1 -1
  174. package/dist/types/__VUE/backtop/index.vue.d.ts +1 -1
  175. package/dist/types/__VUE/calendaritem/index.vue.d.ts +1 -1
  176. package/dist/types/__VUE/categorypane/index.vue.d.ts +1 -1
  177. package/dist/types/__VUE/cell/index.vue.d.ts +7 -0
  178. package/dist/types/__VUE/cellgroup/index.vue.d.ts +1 -1
  179. package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +1 -1
  180. package/dist/types/__VUE/circleprogress/index.vue.d.ts +1 -1
  181. package/dist/types/__VUE/collapse/index.vue.d.ts +2 -2
  182. package/dist/types/__VUE/collapseitem/index.vue.d.ts +1 -1
  183. package/dist/types/__VUE/configprovider/index.vue.d.ts +1 -1
  184. package/dist/types/__VUE/countdown/index.vue.d.ts +1 -1
  185. package/dist/types/__VUE/countup/index.vue.d.ts +1 -1
  186. package/dist/types/__VUE/datepicker/index.vue.d.ts +1 -1
  187. package/dist/types/__VUE/fixednav/common.d.ts +56 -0
  188. package/dist/types/__VUE/fixednav/index.vue.d.ts +17 -9
  189. package/dist/types/__VUE/formitem/index.vue.d.ts +1 -1
  190. package/dist/types/__VUE/grid/index.vue.d.ts +2 -2
  191. package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
  192. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +1 -1
  193. package/dist/types/__VUE/imagepreview/index.vue.d.ts +1 -1
  194. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +1 -1
  195. package/dist/types/__VUE/input/index.vue.d.ts +5 -9
  196. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
  197. package/dist/types/__VUE/menu/index.vue.d.ts +3 -0
  198. package/dist/types/__VUE/menuitem/index.vue.d.ts +7 -4
  199. package/dist/types/__VUE/noticebar/index.vue.d.ts +4 -4
  200. package/dist/types/__VUE/notify/index.vue.d.ts +5 -5
  201. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +3 -3
  202. package/dist/types/__VUE/oldpicker/Column.vue.d.ts +1 -1
  203. package/dist/types/__VUE/oldpicker/index.vue.d.ts +1 -1
  204. package/dist/types/__VUE/overlay/index.vue.d.ts +1 -1
  205. package/dist/types/__VUE/picker/index.vue.d.ts +13 -13
  206. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +1 -1
  207. package/dist/types/__VUE/radiogroup/index.vue.d.ts +1 -1
  208. package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
  209. package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
  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/subsidenavbar/index.vue.d.ts +1 -1
  214. package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -1
  215. package/dist/types/__VUE/switch/index.vue.d.ts +2 -2
  216. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +1 -1
  217. package/dist/types/__VUE/tabpane/index.vue.d.ts +1 -1
  218. package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
  219. package/dist/types/__VUE/timedetail/index.vue.d.ts +1 -1
  220. package/dist/types/__VUE/timepannel/index.vue.d.ts +1 -1
  221. package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -1
  222. package/dist/types/__VUE/uploader/index.vue.d.ts +9 -2
  223. package/dist/types/__VUE/uploader/uploader.d.ts +1 -0
  224. package/dist/types/__VUE/watermark/index.vue.d.ts +1 -1
  225. package/dist/types/index.d.ts +1 -1
  226. package/package.json +1 -1
package/dist/nutui.es.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.5 Thu Jul 28 2022 13:54:27 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.1 Tue Aug 09 2022 17:11:03 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { reactive, ref, defineComponent, h, toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, renderSlot, getCurrentInstance, Fragment, toDisplayString, createTextVNode, watch, onDeactivated, onBeforeUnmount, onMounted, onActivated, Transition, withCtx, withDirectives, withModifiers, vShow, onBeforeMount, Teleport, createVNode, useSlots, inject, provide, unref, onUnmounted, shallowReactive, markRaw, isVNode, nextTick, renderList, mergeProps, watchEffect, createSlots, readonly, vModelText, toRaw, resolveDynamicComponent, render as render$3 } from "vue";
6
+ import { reactive, ref, defineComponent, h, toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, mergeProps, renderSlot, getCurrentInstance, Fragment, toDisplayString, createTextVNode, watch, onDeactivated, onBeforeUnmount, onMounted, onActivated, Transition, withCtx, withDirectives, withModifiers, vShow, onBeforeMount, Teleport, createVNode, useSlots, inject, provide, unref, onUnmounted, shallowReactive, markRaw, isVNode, nextTick, renderList, watchEffect, createSlots, readonly, vModelText, toRaw, resolveDynamicComponent, render as render$4 } from "vue";
7
7
  class BaseLang {
8
8
  }
9
9
  class Lang$1 extends BaseLang {
@@ -217,11 +217,11 @@ class Lang extends BaseLang {
217
217
  }
218
218
  }
219
219
  const TypeOfFun = (value) => {
220
- if (value === null) {
220
+ if (null === value) {
221
221
  return "null";
222
222
  }
223
223
  const type = typeof value;
224
- if (type === "undefined" || type === "string") {
224
+ if ("undefined" === type || "string" === type) {
225
225
  return type;
226
226
  }
227
227
  const typeString = toString.call(value);
@@ -239,8 +239,8 @@ const TypeOfFun = (value) => {
239
239
  case "[object RegExp]":
240
240
  return "regexp";
241
241
  case "[object Object]":
242
- if (value.nodeType !== void 0) {
243
- if (value.nodeType == 3) {
242
+ if (void 0 !== value.nodeType) {
243
+ if (3 == value.nodeType) {
244
244
  return /\S/.test(value.nodeValue) ? "textnode" : "whitespace";
245
245
  } else {
246
246
  return "element";
@@ -486,7 +486,7 @@ const _sfc_main$1O = create$1O({
486
486
  }
487
487
  });
488
488
  const _hoisted_1$1l = { class: "nut-button__warp" };
489
- function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
489
+ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
490
490
  const _component_nut_icon = resolveComponent("nut-icon");
491
491
  return openBlock(), createElementBlock("view", {
492
492
  class: normalizeClass(_ctx.classes),
@@ -498,12 +498,13 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
498
498
  key: 0,
499
499
  class: "nut-icon-loading"
500
500
  })) : createCommentVNode("", true),
501
- _ctx.icon && !_ctx.loading ? (openBlock(), createBlock(_component_nut_icon, {
501
+ _ctx.icon && !_ctx.loading ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
502
502
  key: 1,
503
- name: _ctx.icon,
503
+ name: _ctx.icon
504
+ }, _ctx.$attrs, {
504
505
  "class-prefix": _ctx.iconClassPrefix,
505
506
  "font-class-name": _ctx.iconFontClassName
506
- }, null, 8, ["name", "class-prefix", "font-class-name"])) : createCommentVNode("", true),
507
+ }), null, 16, ["name", "class-prefix", "font-class-name"])) : createCommentVNode("", true),
507
508
  _ctx.$slots.default ? (openBlock(), createElementBlock("view", {
508
509
  key: 2,
509
510
  class: normalizeClass({ text: _ctx.icon || _ctx.loading })
@@ -513,7 +514,7 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
513
514
  ])
514
515
  ], 6);
515
516
  }
516
- var Button = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1C]]);
517
+ var Button = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1B]]);
517
518
  function useRouter() {
518
519
  const proxy = getCurrentInstance().proxy;
519
520
  return proxy.$router || null;
@@ -528,7 +529,7 @@ const _hoisted_2$14 = {
528
529
  };
529
530
  const _hoisted_3$Q = { class: "title" };
530
531
  const _hoisted_4$E = { class: "nut-cell__title-desc" };
531
- function render$2(_ctx, _cache, $props, $setup, $data, $options) {
532
+ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
532
533
  const _component_nut_icon = resolveComponent("nut-icon");
533
534
  return openBlock(), createElementBlock("view", {
534
535
  class: normalizeClass(_ctx.classes),
@@ -538,11 +539,10 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
538
539
  renderSlot(_ctx.$slots, "default", {}, () => [
539
540
  _ctx.icon || _ctx.$slots.icon ? (openBlock(), createElementBlock("view", _hoisted_1$1k, [
540
541
  renderSlot(_ctx.$slots, "icon", {}, () => [
541
- _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
542
- key: 0,
542
+ _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 0 }, _ctx.$attrs, {
543
543
  class: "icon",
544
544
  name: _ctx.icon
545
- }, null, 8, ["name"])) : createCommentVNode("", true)
545
+ }), null, 16, ["name"])) : createCommentVNode("", true)
546
546
  ])
547
547
  ])) : createCommentVNode("", true),
548
548
  _ctx.title || _ctx.subTitle || _ctx.$slots.title ? (openBlock(), createElementBlock("view", _hoisted_2$14, [
@@ -561,11 +561,10 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
561
561
  style: normalizeStyle({ "text-align": _ctx.descTextAlign })
562
562
  }, toDisplayString(_ctx.desc), 7)) : createCommentVNode("", true),
563
563
  renderSlot(_ctx.$slots, "link", {}, () => [
564
- _ctx.isLink || _ctx.to ? (openBlock(), createBlock(_component_nut_icon, {
564
+ _ctx.isLink || _ctx.to ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
565
565
  key: 0,
566
- class: "nut-cell__link",
567
- name: "right"
568
- })) : createCommentVNode("", true)
566
+ class: "nut-cell__link"
567
+ }, _ctx.$attrs, { name: _ctx.rightIcon }), null, 16, ["name"])) : createCommentVNode("", true)
569
568
  ])
570
569
  ])
571
570
  ], 6);
@@ -583,6 +582,7 @@ const _sfc_main$1N = create$1N({
583
582
  roundRadius: { type: [String, Number], default: "" },
584
583
  url: { type: String, default: "" },
585
584
  icon: { type: String, default: "" },
585
+ rightIcon: { type: String, default: "right" },
586
586
  center: { type: Boolean, default: false },
587
587
  size: { type: String, default: "" }
588
588
  },
@@ -618,7 +618,7 @@ const _sfc_main$1N = create$1N({
618
618
  };
619
619
  }
620
620
  });
621
- var Cell = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", render$2]]);
621
+ var Cell = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", render$3]]);
622
622
  const { componentName: componentName$1q, create: create$1M } = createComponent("cell-group");
623
623
  const _sfc_main$1M = create$1M({
624
624
  props: {
@@ -646,7 +646,7 @@ const _hoisted_2$13 = {
646
646
  class: "nut-cell-group__desc"
647
647
  };
648
648
  const _hoisted_3$P = { class: "nut-cell-group__warp" };
649
- function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
649
+ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
650
650
  return openBlock(), createElementBlock("view", {
651
651
  class: normalizeClass(_ctx.classes)
652
652
  }, [
@@ -657,7 +657,7 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
657
657
  ])
658
658
  ], 2);
659
659
  }
660
- var CellGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$1B]]);
660
+ var CellGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$1A]]);
661
661
  const { componentName: componentName$1p, create: create$1L } = createComponent("overlay");
662
662
  const overlayProps = {
663
663
  visible: {
@@ -734,7 +734,7 @@ const _sfc_main$1L = create$1L({
734
734
  return { classes, style, touchmove, onClick };
735
735
  }
736
736
  });
737
- function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
737
+ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
738
738
  return openBlock(), createBlock(Transition, { name: "overlay-fade" }, {
739
739
  default: withCtx(() => [
740
740
  withDirectives(createElementVNode("view", {
@@ -751,7 +751,7 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
751
751
  _: 3
752
752
  });
753
753
  }
754
- var OverLay = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$1A]]);
754
+ var OverLay = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$1z]]);
755
755
  let count = 0;
756
756
  const CLSNAME = "nut-overflow-hidden";
757
757
  const useLockScroll = (isLock) => {
@@ -951,7 +951,7 @@ const _sfc_main$1K = create$1K({
951
951
  }
952
952
  });
953
953
  const _hoisted_1$1i = { key: 1 };
954
- function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
954
+ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
955
955
  const _component_nut_overlay = resolveComponent("nut-overlay");
956
956
  const _component_nut_icon = resolveComponent("nut-icon");
957
957
  return _ctx.isWrapTeleport ? (openBlock(), createBlock(Teleport, {
@@ -987,10 +987,10 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
987
987
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClickCloseIcon && _ctx.onClickCloseIcon(...args)),
988
988
  class: normalizeClass(["nutui-popup__close-icon", "nutui-popup__close-icon--" + _ctx.closeIconPosition])
989
989
  }, [
990
- createVNode(_component_nut_icon, {
990
+ createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
991
991
  name: _ctx.closeIcon,
992
992
  size: "12px"
993
- }, null, 8, ["name"])
993
+ }), null, 16, ["name"])
994
994
  ], 2)) : createCommentVNode("", true)
995
995
  ], 6), [
996
996
  [vShow, _ctx.visible]
@@ -1040,8 +1040,8 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
1040
1040
  }, 8, ["name", "onAfterEnter", "onAfterLeave"])
1041
1041
  ]));
1042
1042
  }
1043
- var Popup = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1z]]);
1044
- const component$7 = {
1043
+ var Popup = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1y]]);
1044
+ const component$8 = {
1045
1045
  props: {
1046
1046
  theme: { type: String, default: "" },
1047
1047
  tag: { type: String, default: "div" }
@@ -1056,7 +1056,7 @@ const component$7 = {
1056
1056
  }
1057
1057
  };
1058
1058
  const { componentName: componentName$1n, create: create$1J } = createComponent("config-provider");
1059
- const _sfc_main$1J = create$1J(component$7);
1059
+ const _sfc_main$1J = create$1J(component$8);
1060
1060
  const { componentName: componentName$1m, create: create$1I } = createComponent("image");
1061
1061
  const _sfc_main$1I = create$1I({
1062
1062
  props: {
@@ -1156,7 +1156,7 @@ const _hoisted_3$O = {
1156
1156
  key: 1,
1157
1157
  class: "nut-img-error"
1158
1158
  };
1159
- function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
1159
+ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
1160
1160
  const _component_nut_icon = resolveComponent("nut-icon");
1161
1161
  return openBlock(), createElementBlock("view", {
1162
1162
  class: normalizeClass(_ctx.classes),
@@ -1187,7 +1187,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
1187
1187
  ])) : createCommentVNode("", true)
1188
1188
  ], 6);
1189
1189
  }
1190
- var Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1y]]);
1190
+ var Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1x]]);
1191
1191
  const { create: create$1H } = createComponent("layout");
1192
1192
  const _sfc_main$1H = create$1H({});
1193
1193
  const { componentName: componentName$1l, create: create$1G } = createComponent("col");
@@ -1231,7 +1231,7 @@ const _sfc_main$1G = create$1G({
1231
1231
  };
1232
1232
  }
1233
1233
  });
1234
- function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
1234
+ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
1235
1235
  return openBlock(), createElementBlock("view", {
1236
1236
  class: normalizeClass(_ctx.classes),
1237
1237
  style: normalizeStyle(_ctx.style),
@@ -1240,7 +1240,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
1240
1240
  renderSlot(_ctx.$slots, "default")
1241
1241
  ], 6);
1242
1242
  }
1243
- var Col = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1x]]);
1243
+ var Col = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1w]]);
1244
1244
  const { componentName: componentName$1k, create: create$1F } = createComponent("row");
1245
1245
  const _sfc_main$1F = create$1F({
1246
1246
  props: {
@@ -1291,7 +1291,7 @@ const _sfc_main$1F = create$1F({
1291
1291
  };
1292
1292
  }
1293
1293
  });
1294
- function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
1294
+ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
1295
1295
  return openBlock(), createElementBlock("view", {
1296
1296
  class: normalizeClass(_ctx.getClasses()),
1297
1297
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
@@ -1299,7 +1299,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
1299
1299
  renderSlot(_ctx.$slots, "default")
1300
1300
  ], 2);
1301
1301
  }
1302
- var Row = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1w]]);
1302
+ var Row = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1v]]);
1303
1303
  function isWindow(val) {
1304
1304
  return val === window;
1305
1305
  }
@@ -1511,7 +1511,7 @@ const _sfc_main$1D = create$1D({
1511
1511
  return { classes };
1512
1512
  }
1513
1513
  });
1514
- function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
1514
+ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
1515
1515
  return _ctx.direction === "horizontal" ? (openBlock(), createElementBlock("view", {
1516
1516
  key: 0,
1517
1517
  class: normalizeClass(_ctx.classes)
@@ -1522,7 +1522,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
1522
1522
  class: normalizeClass(_ctx.classes)
1523
1523
  }, null, 2));
1524
1524
  }
1525
- var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1v]]);
1525
+ var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1u]]);
1526
1526
  function flattenVNodes(children, childName) {
1527
1527
  const result = [];
1528
1528
  const traverse = (children2) => {
@@ -1623,7 +1623,7 @@ const gridProps = {
1623
1623
  default: false
1624
1624
  }
1625
1625
  };
1626
- const component$6 = {
1626
+ const component$7 = {
1627
1627
  props: gridProps,
1628
1628
  setup(props, { slots }) {
1629
1629
  useProvide(GRID_KEY, `${componentName$1h}-item`)({ props });
@@ -1651,7 +1651,7 @@ const component$6 = {
1651
1651
  }
1652
1652
  };
1653
1653
  const { create: create$1C } = createComponent("grid");
1654
- const _sfc_main$1C = create$1C(component$6);
1654
+ const _sfc_main$1C = create$1C(component$7);
1655
1655
  function useInject(key) {
1656
1656
  const parent = inject(key, null);
1657
1657
  if (parent) {
@@ -1766,7 +1766,7 @@ const _hoisted_1$1g = {
1766
1766
  key: 3,
1767
1767
  class: "nut-grid-item__text"
1768
1768
  };
1769
- function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
1769
+ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
1770
1770
  const _component_nut_icon = resolveComponent("nut-icon");
1771
1771
  return openBlock(), createElementBlock("view", {
1772
1772
  class: normalizeClass(_ctx.rootClass),
@@ -1777,18 +1777,19 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
1777
1777
  class: normalizeClass(_ctx.contentClass)
1778
1778
  }, [
1779
1779
  _ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1780
- _ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 0 }) : (openBlock(), createBlock(_component_nut_icon, {
1780
+ _ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 0 }) : (openBlock(), createBlock(_component_nut_icon, mergeProps({
1781
1781
  key: 1,
1782
- name: _ctx.iconProps.name,
1782
+ name: _ctx.iconProps.name
1783
+ }, _ctx.$attrs, {
1783
1784
  size: _ctx.iconProps.size,
1784
1785
  color: _ctx.iconProps.color
1785
- }, null, 8, ["name", "size", "color"])),
1786
+ }), null, 16, ["name", "size", "color"])),
1786
1787
  _ctx.$slots.text ? renderSlot(_ctx.$slots, "text", { key: 2 }) : (openBlock(), createElementBlock("view", _hoisted_1$1g, toDisplayString(_ctx.text), 1))
1787
1788
  ], 64))
1788
1789
  ], 2)
1789
1790
  ], 6);
1790
1791
  }
1791
- var GridItem = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1u]]);
1792
+ var GridItem = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1t]]);
1792
1793
  const { componentName: componentName$1f, create: create$1A } = createComponent("navbar");
1793
1794
  const _sfc_main$1A = create$1A({
1794
1795
  props: {
@@ -1894,7 +1895,7 @@ const _hoisted_7$k = {
1894
1895
  key: 0,
1895
1896
  class: "nut-navbar__text"
1896
1897
  };
1897
- function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
1898
+ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
1898
1899
  const _component_nut_icon = resolveComponent("nut-icon");
1899
1900
  return _ctx.fixed && _ctx.placeholder ? (openBlock(), createElementBlock("view", _hoisted_1$1f, [
1900
1901
  createElementVNode("view", {
@@ -1920,12 +1921,13 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
1920
1921
  class: "title",
1921
1922
  onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleCenter && _ctx.handleCenter(...args))
1922
1923
  }, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
1923
- _ctx.titIcon ? (openBlock(), createBlock(_component_nut_icon, {
1924
+ _ctx.titIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
1924
1925
  key: 1,
1925
- class: "icon",
1926
+ class: "icon"
1927
+ }, _ctx.$attrs, {
1926
1928
  name: _ctx.titIcon,
1927
1929
  onClick: _ctx.handleCenterIcon
1928
- }, null, 8, ["name", "onClick"])) : createCommentVNode("", true),
1930
+ }), null, 16, ["name", "onClick"])) : createCommentVNode("", true),
1929
1931
  renderSlot(_ctx.$slots, "content")
1930
1932
  ]),
1931
1933
  createElementVNode("view", {
@@ -1959,12 +1961,13 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
1959
1961
  class: "title",
1960
1962
  onClick: _cache[4] || (_cache[4] = (...args) => _ctx.handleCenter && _ctx.handleCenter(...args))
1961
1963
  }, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
1962
- _ctx.titIcon ? (openBlock(), createBlock(_component_nut_icon, {
1964
+ _ctx.titIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
1963
1965
  key: 1,
1964
- class: "icon",
1966
+ class: "icon"
1967
+ }, _ctx.$attrs, {
1965
1968
  name: _ctx.titIcon,
1966
1969
  onClick: _ctx.handleCenterIcon
1967
- }, null, 8, ["name", "onClick"])) : createCommentVNode("", true),
1970
+ }), null, 16, ["name", "onClick"])) : createCommentVNode("", true),
1968
1971
  renderSlot(_ctx.$slots, "content")
1969
1972
  ]),
1970
1973
  createElementVNode("view", {
@@ -1976,12 +1979,9 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
1976
1979
  ])
1977
1980
  ], 6));
1978
1981
  }
1979
- var Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1t]]);
1980
- const { componentName: componentName$1e, create: create$1z, translate: translate$t } = createComponent("fixednav");
1981
- const _sfc_main$1z = create$1z({
1982
- components: {
1983
- [OverLay.name]: OverLay
1984
- },
1982
+ var Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1s]]);
1983
+ const { componentName: componentName$1e, translate: translate$t } = createComponent("fixednav");
1984
+ const component$6 = {
1985
1985
  props: {
1986
1986
  visible: {
1987
1987
  type: Boolean,
@@ -1995,6 +1995,10 @@ const _sfc_main$1z = create$1z({
1995
1995
  default: () => [],
1996
1996
  type: Array
1997
1997
  },
1998
+ activeColor: {
1999
+ default: "",
2000
+ type: String
2001
+ },
1998
2002
  activeText: {
1999
2003
  default: "",
2000
2004
  type: String
@@ -2027,6 +2031,7 @@ const _sfc_main$1z = create$1z({
2027
2031
  [props.type]: true
2028
2032
  };
2029
2033
  });
2034
+ const current = ref(-1);
2030
2035
  const updateValue = (value = !props.visible) => {
2031
2036
  emit("update:visible", value);
2032
2037
  };
@@ -2035,10 +2040,11 @@ const _sfc_main$1z = create$1z({
2035
2040
  item,
2036
2041
  event
2037
2042
  });
2043
+ current.value = item.id;
2038
2044
  };
2039
- return { classes, updateValue, selected, translate: translate$t };
2045
+ return { classes, updateValue, selected, translate: translate$t, current };
2040
2046
  }
2041
- });
2047
+ };
2042
2048
  const _hoisted_1$1e = { class: "nut-fixednav__list" };
2043
2049
  const _hoisted_2$10 = ["onClick"];
2044
2050
  const _hoisted_3$M = ["src"];
@@ -2048,7 +2054,7 @@ const _hoisted_5$s = {
2048
2054
  class: "b"
2049
2055
  };
2050
2056
  const _hoisted_6$p = { class: "text" };
2051
- function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
2057
+ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
2052
2058
  const _component_nut_overlay = resolveComponent("nut-overlay");
2053
2059
  const _component_nut_icon = resolveComponent("nut-icon");
2054
2060
  return openBlock(), createElementBlock("view", {
@@ -2065,7 +2071,7 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
2065
2071
  createElementVNode("view", _hoisted_1$1e, [
2066
2072
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navList, (item, index) => {
2067
2073
  return openBlock(), createElementBlock("view", {
2068
- class: "nut-fixednav__list-item",
2074
+ class: normalizeClass(["nut-fixednav__list-item", { active: item.id == _ctx.current }]),
2069
2075
  onClick: ($event) => _ctx.selected(item, $event),
2070
2076
  key: item.id || index
2071
2077
  }, [
@@ -2074,7 +2080,7 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
2074
2080
  }, null, 8, _hoisted_3$M),
2075
2081
  createElementVNode("view", _hoisted_4$C, toDisplayString(item.text), 1),
2076
2082
  item.num ? (openBlock(), createElementBlock("view", _hoisted_5$s, toDisplayString(item.num), 1)) : createCommentVNode("", true)
2077
- ], 8, _hoisted_2$10);
2083
+ ], 10, _hoisted_2$10);
2078
2084
  }), 128))
2079
2085
  ])
2080
2086
  ]),
@@ -2092,7 +2098,9 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
2092
2098
  ])
2093
2099
  ], 6);
2094
2100
  }
2095
- var FixedNav = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$1s]]);
2101
+ const { create: create$1z } = createComponent("fixednav");
2102
+ const _sfc_main$1z = create$1z(component$6);
2103
+ var FixedNav = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", render$2]]);
2096
2104
  const { componentName: componentName$1d, create: create$1y } = createComponent("menu");
2097
2105
  const _sfc_main$1y = create$1y({
2098
2106
  props: {
@@ -2112,6 +2120,7 @@ const _sfc_main$1y = create$1y({
2112
2120
  type: [Number, String],
2113
2121
  default: 0
2114
2122
  },
2123
+ titleIcon: String,
2115
2124
  closeOnClickOverlay: {
2116
2125
  type: Boolean,
2117
2126
  default: true
@@ -2244,11 +2253,11 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
2244
2253
  class: normalizeClass(["nut-menu__title", _ctx.getClasses(item.state.showPopup)])
2245
2254
  }, [
2246
2255
  createElementVNode("view", _hoisted_2$$, toDisplayString(item.renderTitle()), 1),
2247
- createVNode(_component_nut_icon, {
2248
- name: item.titleIcon || (_ctx.direction === "up" ? "arrow-up" : "down-arrow"),
2256
+ createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
2257
+ name: _ctx.titleIcon || (_ctx.direction === "up" ? "arrow-up" : "down-arrow"),
2249
2258
  size: "10",
2250
2259
  class: "nut-menu__title-icon"
2251
- }, null, 8, ["name"])
2260
+ }), null, 16, ["name"])
2252
2261
  ], 2)
2253
2262
  ], 14, _hoisted_1$1d);
2254
2263
  }), 128))
@@ -2274,7 +2283,8 @@ const _sfc_main$1x = create$1x({
2274
2283
  type: Number,
2275
2284
  default: 1
2276
2285
  },
2277
- titleIcon: String,
2286
+ activeTitleClass: String,
2287
+ inactiveTitleClass: String,
2278
2288
  optionIcon: {
2279
2289
  type: String,
2280
2290
  default: "Check"
@@ -2400,18 +2410,19 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
2400
2410
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option, index) => {
2401
2411
  return openBlock(), createElementBlock("view", {
2402
2412
  key: index,
2403
- class: normalizeClass(["nut-menu-item__option", { active: option.value === _ctx.modelValue }]),
2413
+ class: normalizeClass(["nut-menu-item__option", [{ active: option.value === _ctx.modelValue }]]),
2404
2414
  style: normalizeStyle({ "flex-basis": 100 / _ctx.cols + "%" }),
2405
2415
  onClick: ($event) => _ctx.onClick(option)
2406
2416
  }, [
2407
- option.value === _ctx.modelValue ? (openBlock(), createBlock(_component_nut_icon, {
2408
- key: 0,
2417
+ option.value === _ctx.modelValue ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 0 }, _ctx.$attrs, {
2418
+ class: { activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue },
2409
2419
  name: _ctx.optionIcon,
2410
2420
  color: _ctx.parent.props.activeColor
2411
- }, null, 8, ["name", "color"])) : createCommentVNode("", true),
2421
+ }), null, 16, ["class", "name", "color"])) : createCommentVNode("", true),
2412
2422
  createElementVNode("view", {
2423
+ class: normalizeClass({ activeTitleClass: option.value === _ctx.modelValue, inactiveTitleClass: option.value !== _ctx.modelValue }),
2413
2424
  style: normalizeStyle({ color: option.value === _ctx.modelValue ? _ctx.parent.props.activeColor : "" })
2414
- }, toDisplayString(option.text), 5)
2425
+ }, toDisplayString(option.text), 7)
2415
2426
  ], 14, _hoisted_2$_);
2416
2427
  }), 128)),
2417
2428
  renderSlot(_ctx.$slots, "default")
@@ -5441,12 +5452,12 @@ const _hoisted_5$m = {
5441
5452
  const _hoisted_6$l = { class: "calendar-month-title" };
5442
5453
  const _hoisted_7$i = { class: "calendar-month-con" };
5443
5454
  const _hoisted_8$d = ["onClick"];
5444
- const _hoisted_9$8 = { class: "calendar-day" };
5445
- const _hoisted_10$5 = {
5455
+ const _hoisted_9$9 = { class: "calendar-day" };
5456
+ const _hoisted_10$6 = {
5446
5457
  key: 0,
5447
5458
  class: "calendar-curr-tips calendar-curr-tips-top"
5448
5459
  };
5449
- const _hoisted_11$5 = {
5460
+ const _hoisted_11$6 = {
5450
5461
  key: 1,
5451
5462
  class: "calendar-curr-tips calendar-curr-tips-bottom"
5452
5463
  };
@@ -5458,7 +5469,7 @@ const _hoisted_13$3 = {
5458
5469
  key: 4,
5459
5470
  class: "calendar-day-tip"
5460
5471
  };
5461
- const _hoisted_14$2 = {
5472
+ const _hoisted_14$3 = {
5462
5473
  key: 0,
5463
5474
  class: "nut-calendar-footer"
5464
5475
  };
@@ -5513,19 +5524,19 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
5513
5524
  class: normalizeClass(["calendar-month-day", _ctx.getClass(day, month)]),
5514
5525
  onClick: ($event) => _ctx.chooseDay(day, month)
5515
5526
  }, [
5516
- createElementVNode("view", _hoisted_9$8, [
5527
+ createElementVNode("view", _hoisted_9$9, [
5517
5528
  renderSlot(_ctx.$slots, "day", {
5518
5529
  date: day.type == "curr" ? day : ""
5519
5530
  }, () => [
5520
5531
  createTextVNode(toDisplayString(day.type == "curr" ? day.day : ""), 1)
5521
5532
  ])
5522
5533
  ]),
5523
- _ctx.topInfo ? (openBlock(), createElementBlock("view", _hoisted_10$5, [
5534
+ _ctx.topInfo ? (openBlock(), createElementBlock("view", _hoisted_10$6, [
5524
5535
  renderSlot(_ctx.$slots, "topInfo", {
5525
5536
  date: day.type == "curr" ? day : ""
5526
5537
  })
5527
5538
  ])) : createCommentVNode("", true),
5528
- _ctx.bottomInfo ? (openBlock(), createElementBlock("view", _hoisted_11$5, [
5539
+ _ctx.bottomInfo ? (openBlock(), createElementBlock("view", _hoisted_11$6, [
5529
5540
  renderSlot(_ctx.$slots, "bottomInfo", {
5530
5541
  date: day.type == "curr" ? day : ""
5531
5542
  })
@@ -5545,7 +5556,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
5545
5556
  ], 4)
5546
5557
  ], 512)
5547
5558
  ], 544),
5548
- _ctx.poppable && !_ctx.isAutoBackFill ? (openBlock(), createElementBlock("view", _hoisted_14$2, [
5559
+ _ctx.poppable && !_ctx.isAutoBackFill ? (openBlock(), createElementBlock("view", _hoisted_14$3, [
5549
5560
  createElementVNode("view", {
5550
5561
  class: "calendar-confirm-btn",
5551
5562
  onClick: _cache[1] || (_cache[1] = (...args) => _ctx.confirm && _ctx.confirm(...args))
@@ -6399,6 +6410,12 @@ const _sfc_main$1d = create$1d({
6399
6410
  }
6400
6411
  };
6401
6412
  const confirmHandler = () => {
6413
+ if (defaultValues.value && !defaultValues.value.length) {
6414
+ columnsList.value.forEach((columns) => {
6415
+ defaultValues.value.push(columns[0].value);
6416
+ selectedOptions.value.push(columns[0]);
6417
+ });
6418
+ }
6402
6419
  emit("confirm", {
6403
6420
  selectedValue: defaultValues.value,
6404
6421
  selectedOptions: selectedOptions.value
@@ -7226,12 +7243,18 @@ const _sfc_main$1a = create$1a({
7226
7243
  }
7227
7244
  };
7228
7245
  const onFocus = (event) => {
7246
+ if (props.disabled || props.readonly) {
7247
+ return;
7248
+ }
7229
7249
  const input = event.target;
7230
7250
  let value = input.value;
7231
7251
  active.value = true;
7232
7252
  emit("focus", value, event);
7233
7253
  };
7234
7254
  const onBlur = (event) => {
7255
+ if (props.disabled || props.readonly) {
7256
+ return;
7257
+ }
7235
7258
  setTimeout(() => {
7236
7259
  active.value = false;
7237
7260
  }, 200);
@@ -7244,6 +7267,8 @@ const _sfc_main$1a = create$1a({
7244
7267
  emit("blur", value, event);
7245
7268
  };
7246
7269
  const clear = (event) => {
7270
+ if (props.disabled)
7271
+ return;
7247
7272
  emit("update:modelValue", "", event);
7248
7273
  emit("change", "", event);
7249
7274
  emit("clear", "", event);
@@ -7255,10 +7280,29 @@ const _sfc_main$1a = create$1a({
7255
7280
  }
7256
7281
  };
7257
7282
  const onClickInput = (event) => {
7283
+ if (props.disabled) {
7284
+ return;
7285
+ }
7258
7286
  emit("click-input", event);
7259
7287
  };
7260
- const onClickLeftIcon = (event) => emit("click-left-icon", event);
7261
- const onClickRightIcon = (event) => emit("click-right-icon", event);
7288
+ const onClickLeftIcon = (event) => {
7289
+ if (props.disabled) {
7290
+ return;
7291
+ }
7292
+ emit("click-left-icon", event);
7293
+ };
7294
+ const onClickRightIcon = (event) => {
7295
+ if (props.disabled) {
7296
+ return;
7297
+ }
7298
+ emit("click-right-icon", event);
7299
+ };
7300
+ const onClick = (e) => {
7301
+ if (props.disabled) {
7302
+ e.stopImmediatePropagation();
7303
+ return;
7304
+ }
7305
+ };
7262
7306
  watch(() => props.modelValue, () => {
7263
7307
  updateValue(getModelValue());
7264
7308
  resetValidation();
@@ -7280,6 +7324,7 @@ const _sfc_main$1a = create$1a({
7280
7324
  onClickInput,
7281
7325
  onClickLeftIcon,
7282
7326
  onClickRightIcon,
7327
+ onClick,
7283
7328
  translate: translate$m
7284
7329
  };
7285
7330
  }
@@ -7288,17 +7333,21 @@ const _hoisted_1$Y = { class: "label-string" };
7288
7333
  const _hoisted_2$N = { class: "nut-input-value" };
7289
7334
  const _hoisted_3$B = { class: "label-string" };
7290
7335
  const _hoisted_4$t = { class: "nut-input-value" };
7291
- const _hoisted_5$l = ["maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
7292
- const _hoisted_6$k = ["type", "maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
7293
- const _hoisted_7$h = {
7336
+ const _hoisted_5$l = { class: "nut-input-inner" };
7337
+ const _hoisted_6$k = { class: "nut-input-box" };
7338
+ const _hoisted_7$h = ["maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
7339
+ const _hoisted_8$c = ["type", "maxlength", "placeholder", "disabled", "readonly", "value", "formatTrigger", "autofocus"];
7340
+ const _hoisted_9$8 = { class: "nut-input-clear-box" };
7341
+ const _hoisted_10$5 = {
7294
7342
  key: 0,
7295
7343
  class: "nut-input-word-limit"
7296
7344
  };
7297
- const _hoisted_8$c = { class: "nut-input-word-num" };
7345
+ const _hoisted_11$5 = { class: "nut-input-word-num" };
7298
7346
  function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
7299
7347
  const _component_nut_icon = resolveComponent("nut-icon");
7300
7348
  return openBlock(), createElementBlock("view", {
7301
- class: normalizeClass(_ctx.classes)
7349
+ class: normalizeClass(_ctx.classes),
7350
+ onClick: _cache[11] || (_cache[11] = (...args) => _ctx.onClick && _ctx.onClick(...args))
7302
7351
  }, [
7303
7352
  _ctx.$slots.input ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
7304
7353
  _ctx.label ? (openBlock(), createElementBlock("view", {
@@ -7325,10 +7374,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
7325
7374
  class: "nut-input-left-icon",
7326
7375
  onClick: _cache[1] || (_cache[1] = (...args) => _ctx.onClickLeftIcon && _ctx.onClickLeftIcon(...args))
7327
7376
  }, [
7328
- createVNode(_component_nut_icon, {
7329
- name: _ctx.leftIcon,
7330
- size: _ctx.leftIconSize
7331
- }, null, 8, ["name", "size"])
7377
+ createVNode(_component_nut_icon, mergeProps({ name: _ctx.leftIcon }, _ctx.$attrs, { size: _ctx.leftIconSize }), null, 16, ["name", "size"])
7332
7378
  ])) : createCommentVNode("", true),
7333
7379
  _ctx.label ? (openBlock(), createElementBlock("view", {
7334
7380
  key: 1,
@@ -7341,68 +7387,69 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
7341
7387
  createElementVNode("view", _hoisted_3$B, toDisplayString(_ctx.label) + " " + toDisplayString(_ctx.colon ? ":" : ""), 1)
7342
7388
  ], 6)) : createCommentVNode("", true),
7343
7389
  createElementVNode("view", _hoisted_4$t, [
7344
- createElementVNode("view", {
7345
- class: "nut-input-inner",
7346
- onClick: _cache[9] || (_cache[9] = (...args) => _ctx.onClickInput && _ctx.onClickInput(...args))
7347
- }, [
7348
- _ctx.type == "textarea" ? (openBlock(), createElementBlock("textarea", {
7349
- key: 0,
7350
- class: "input-text",
7351
- ref: "inputRef",
7352
- style: normalizeStyle(_ctx.stylesTextarea),
7353
- maxlength: _ctx.maxLength,
7354
- placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
7355
- disabled: _ctx.disabled,
7356
- readonly: _ctx.readonly,
7357
- value: _ctx.modelValue,
7358
- formatTrigger: _ctx.formatTrigger,
7359
- autofocus: _ctx.autofocus,
7360
- onInput: _cache[2] || (_cache[2] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
7361
- onFocus: _cache[3] || (_cache[3] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
7362
- onBlur: _cache[4] || (_cache[4] = (...args) => _ctx.onBlur && _ctx.onBlur(...args))
7363
- }, null, 44, _hoisted_5$l)) : (openBlock(), createElementBlock("input", {
7364
- key: 1,
7365
- class: "input-text",
7366
- ref: "inputRef",
7367
- style: normalizeStyle(_ctx.styles),
7368
- type: _ctx.inputType(_ctx.type),
7369
- maxlength: _ctx.maxLength,
7370
- placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
7371
- disabled: _ctx.disabled,
7372
- readonly: _ctx.readonly,
7373
- value: _ctx.modelValue,
7374
- formatTrigger: _ctx.formatTrigger,
7375
- autofocus: _ctx.autofocus,
7376
- onInput: _cache[5] || (_cache[5] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
7377
- onFocus: _cache[6] || (_cache[6] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
7378
- onBlur: _cache[7] || (_cache[7] = (...args) => _ctx.onBlur && _ctx.onBlur(...args))
7379
- }, null, 44, _hoisted_6$k)),
7380
- _ctx.clearable && !_ctx.readonly ? withDirectives((openBlock(), createBlock(_component_nut_icon, {
7381
- key: 2,
7382
- class: "nut-input-clear",
7383
- name: _ctx.clearIcon,
7384
- size: _ctx.clearSize,
7385
- onClick: _ctx.clear
7386
- }, null, 8, ["name", "size", "onClick"])), [
7387
- [vShow, _ctx.active && _ctx.modelValue.length > 0]
7388
- ]) : createCommentVNode("", true),
7390
+ createElementVNode("view", _hoisted_5$l, [
7391
+ createElementVNode("view", _hoisted_6$k, [
7392
+ _ctx.type == "textarea" ? (openBlock(), createElementBlock("textarea", {
7393
+ key: 0,
7394
+ class: "input-text",
7395
+ ref: "inputRef",
7396
+ style: normalizeStyle(_ctx.stylesTextarea),
7397
+ maxlength: _ctx.maxLength,
7398
+ placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
7399
+ disabled: _ctx.disabled,
7400
+ readonly: _ctx.readonly,
7401
+ value: _ctx.modelValue,
7402
+ formatTrigger: _ctx.formatTrigger,
7403
+ autofocus: _ctx.autofocus,
7404
+ onInput: _cache[2] || (_cache[2] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
7405
+ onFocus: _cache[3] || (_cache[3] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
7406
+ onBlur: _cache[4] || (_cache[4] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),
7407
+ onClick: _cache[5] || (_cache[5] = (...args) => _ctx.onClickInput && _ctx.onClickInput(...args))
7408
+ }, null, 44, _hoisted_7$h)) : (openBlock(), createElementBlock("input", {
7409
+ key: 1,
7410
+ class: "input-text",
7411
+ ref: "inputRef",
7412
+ style: normalizeStyle(_ctx.styles),
7413
+ type: _ctx.inputType(_ctx.type),
7414
+ maxlength: _ctx.maxLength,
7415
+ placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
7416
+ disabled: _ctx.disabled,
7417
+ readonly: _ctx.readonly,
7418
+ value: _ctx.modelValue,
7419
+ formatTrigger: _ctx.formatTrigger,
7420
+ autofocus: _ctx.autofocus,
7421
+ onInput: _cache[6] || (_cache[6] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
7422
+ onFocus: _cache[7] || (_cache[7] = (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
7423
+ onBlur: _cache[8] || (_cache[8] = (...args) => _ctx.onBlur && _ctx.onBlur(...args)),
7424
+ onClick: _cache[9] || (_cache[9] = (...args) => _ctx.onClickInput && _ctx.onClickInput(...args))
7425
+ }, null, 44, _hoisted_8$c))
7426
+ ]),
7427
+ createElementVNode("view", _hoisted_9$8, [
7428
+ _ctx.clearable && !_ctx.readonly ? withDirectives((openBlock(), createBlock(_component_nut_icon, mergeProps({
7429
+ key: 0,
7430
+ class: "nut-input-clear",
7431
+ name: _ctx.clearIcon
7432
+ }, _ctx.$attrs, {
7433
+ size: _ctx.clearSize,
7434
+ onClick: _ctx.clear
7435
+ }), null, 16, ["name", "size", "onClick"])), [
7436
+ [vShow, _ctx.active && _ctx.modelValue.length > 0]
7437
+ ]) : createCommentVNode("", true)
7438
+ ]),
7389
7439
  _ctx.rightIcon && _ctx.rightIcon.length > 0 ? (openBlock(), createElementBlock("view", {
7390
- key: 3,
7440
+ key: 0,
7391
7441
  class: "nut-input-right-icon",
7392
- onClick: _cache[8] || (_cache[8] = (...args) => _ctx.onClickRightIcon && _ctx.onClickRightIcon(...args))
7442
+ onClick: _cache[10] || (_cache[10] = (...args) => _ctx.onClickRightIcon && _ctx.onClickRightIcon(...args))
7393
7443
  }, [
7394
- createVNode(_component_nut_icon, {
7395
- name: _ctx.rightIcon,
7396
- size: _ctx.rightIconSize
7397
- }, null, 8, ["name", "size"])
7444
+ createVNode(_component_nut_icon, mergeProps({ name: _ctx.rightIcon }, _ctx.$attrs, { size: _ctx.rightIconSize }), null, 16, ["name", "size"])
7398
7445
  ])) : createCommentVNode("", true),
7399
7446
  _ctx.$slots.button ? renderSlot(_ctx.$slots, "button", {
7400
- key: 4,
7447
+ key: 1,
7401
7448
  class: "nut-input-button"
7402
7449
  }) : createCommentVNode("", true)
7403
7450
  ]),
7404
- _ctx.showWordLimit && _ctx.maxLength ? (openBlock(), createElementBlock("view", _hoisted_7$h, [
7405
- createElementVNode("span", _hoisted_8$c, toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0), 1),
7451
+ _ctx.showWordLimit && _ctx.maxLength ? (openBlock(), createElementBlock("view", _hoisted_10$5, [
7452
+ createElementVNode("span", _hoisted_11$5, toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0), 1),
7406
7453
  createTextVNode("/" + toDisplayString(_ctx.maxLength), 1)
7407
7454
  ])) : createCommentVNode("", true),
7408
7455
  _ctx.errorMessage ? (openBlock(), createElementBlock("view", {
@@ -8140,8 +8187,8 @@ class Uploader$1 {
8140
8187
  xhr.setRequestHeader(key, value);
8141
8188
  }
8142
8189
  (_a = options.onStart) == null ? void 0 : _a.call(options, options);
8143
- if (options.method.toLowerCase() == "put") {
8144
- xhr.send(options.sourceFile);
8190
+ if (options.beforeXhrUpload) {
8191
+ options.beforeXhrUpload(xhr, options);
8145
8192
  } else {
8146
8193
  xhr.send(options.formData);
8147
8194
  }
@@ -8155,34 +8202,38 @@ class Uploader$1 {
8155
8202
  if (env === "WEB") {
8156
8203
  this.upload();
8157
8204
  } else {
8158
- const uploadTask = uploadFile({
8159
- url: options.url,
8160
- filePath: options.taroFilePath,
8161
- fileType: options.fileType,
8162
- header: {
8163
- "Content-Type": "multipart/form-data",
8164
- ...options.headers
8165
- },
8166
- formData: options.formData,
8167
- name: options.name,
8168
- success(response) {
8169
- var _a2, _b;
8170
- if (options.xhrState == response.statusCode) {
8171
- (_a2 = options.onSuccess) == null ? void 0 : _a2.call(options, response, options);
8172
- } else {
8173
- (_b = options.onFailure) == null ? void 0 : _b.call(options, response, options);
8205
+ if (options.beforeXhrUpload) {
8206
+ options.beforeXhrUpload(uploadFile, options);
8207
+ } else {
8208
+ const uploadTask = uploadFile({
8209
+ url: options.url,
8210
+ filePath: options.taroFilePath,
8211
+ fileType: options.fileType,
8212
+ header: {
8213
+ "Content-Type": "multipart/form-data",
8214
+ ...options.headers
8215
+ },
8216
+ formData: options.formData,
8217
+ name: options.name,
8218
+ success(response) {
8219
+ var _a2, _b;
8220
+ if (options.xhrState == response.statusCode) {
8221
+ (_a2 = options.onSuccess) == null ? void 0 : _a2.call(options, response, options);
8222
+ } else {
8223
+ (_b = options.onFailure) == null ? void 0 : _b.call(options, response, options);
8224
+ }
8225
+ },
8226
+ fail(e) {
8227
+ var _a2;
8228
+ (_a2 = options.onFailure) == null ? void 0 : _a2.call(options, e, options);
8174
8229
  }
8175
- },
8176
- fail(e) {
8230
+ });
8231
+ (_a = options.onStart) == null ? void 0 : _a.call(options, options);
8232
+ uploadTask.progress((res) => {
8177
8233
  var _a2;
8178
- (_a2 = options.onFailure) == null ? void 0 : _a2.call(options, e, options);
8179
- }
8180
- });
8181
- (_a = options.onStart) == null ? void 0 : _a.call(options, options);
8182
- uploadTask.progress((res) => {
8183
- var _a2;
8184
- (_a2 = options.onProgress) == null ? void 0 : _a2.call(options, res, options);
8185
- });
8234
+ (_a2 = options.onProgress) == null ? void 0 : _a2.call(options, res, options);
8235
+ });
8236
+ }
8186
8237
  }
8187
8238
  }
8188
8239
  }
@@ -8225,6 +8276,10 @@ const _sfc_main$14 = create$14({
8225
8276
  type: Function,
8226
8277
  default: null
8227
8278
  },
8279
+ beforeXhrUpload: {
8280
+ type: Function,
8281
+ default: null
8282
+ },
8228
8283
  beforeDelete: {
8229
8284
  type: Function,
8230
8285
  default: (file, files) => {
@@ -8268,6 +8323,7 @@ const _sfc_main$14 = create$14({
8268
8323
  uploadOption.xhrState = props.xhrState;
8269
8324
  uploadOption.headers = props.headers;
8270
8325
  uploadOption.withCredentials = props.withCredentials;
8326
+ uploadOption.beforeXhrUpload = props.beforeXhrUpload;
8271
8327
  try {
8272
8328
  uploadOption.sourceFile = fileItem.formData.get(props.name);
8273
8329
  } catch (error) {
@@ -8447,7 +8503,7 @@ const _hoisted_13$2 = {
8447
8503
  key: 1,
8448
8504
  class: "nut-uploader__preview-list"
8449
8505
  };
8450
- const _hoisted_14$1 = ["onClick"];
8506
+ const _hoisted_14$2 = ["onClick"];
8451
8507
  const _hoisted_15$1 = ["accept", "multiple", "name", "disabled"];
8452
8508
  const _hoisted_16$1 = ["accept", "multiple", "name", "disabled"];
8453
8509
  function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
@@ -8527,7 +8583,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
8527
8583
  }, [
8528
8584
  createVNode(_component_nut_icon, { name: "link" }),
8529
8585
  createTextVNode("\xA0" + toDisplayString(item.name), 1)
8530
- ], 10, _hoisted_14$1),
8586
+ ], 10, _hoisted_14$2),
8531
8587
  createVNode(_component_nut_icon, {
8532
8588
  class: "nut-uploader__preview-img__file__del",
8533
8589
  onClick: ($event) => _ctx.onDelete(item, index),
@@ -8548,11 +8604,11 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
8548
8604
  key: 1,
8549
8605
  class: normalizeClass(["nut-uploader__upload", [_ctx.listType]])
8550
8606
  }, [
8551
- createVNode(_component_nut_icon, {
8607
+ createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
8552
8608
  size: _ctx.uploadIconSize,
8553
8609
  color: "#808080",
8554
8610
  name: _ctx.uploadIcon
8555
- }, null, 8, ["size", "name"]),
8611
+ }), null, 16, ["size", "name"]),
8556
8612
  _ctx.capture ? (openBlock(), createElementBlock("input", {
8557
8613
  key: 0,
8558
8614
  class: "nut-uploader__input",
@@ -8666,19 +8722,17 @@ const _sfc_main$13 = create$13({
8666
8722
  if (customKeys.length > 2) {
8667
8723
  customKeys = [customKeys[0], customKeys[1]];
8668
8724
  }
8725
+ if (customKeys.length == 2 && props.title && props.type != "rightColumn") {
8726
+ customKeys = [customKeys[0]];
8727
+ }
8669
8728
  if (customKeys.length === 1) {
8670
- if (props.title) {
8729
+ if (props.title && props.type != "rightColumn") {
8671
8730
  keys.push({ id: customKeys[0], type: "custom" }, { id: 0, type: "number" }, { id: "delete", type: "delete" });
8672
8731
  } else {
8673
8732
  keys.push({ id: 0, type: "number" }, { id: customKeys[0], type: "custom" });
8674
8733
  }
8675
8734
  } else if (customKeys.length === 2) {
8676
8735
  keys.push({ id: customKeys[0], type: "custom" }, { id: 0, type: "number" }, { id: customKeys[1], type: "custom" });
8677
- if (props.title) {
8678
- keys.push({ id: "delete", type: "delete" });
8679
- }
8680
- } else {
8681
- keys.push({ id: 0, type: "number" });
8682
8736
  }
8683
8737
  return keys;
8684
8738
  }
@@ -8782,10 +8836,11 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
8782
8836
  createElementVNode("div", _hoisted_1$T, [
8783
8837
  _ctx.title ? (openBlock(), createElementBlock("div", _hoisted_2$J, [
8784
8838
  createElementVNode("h3", _hoisted_3$y, toDisplayString(_ctx.title), 1),
8785
- createElementVNode("span", {
8839
+ _ctx.type == "default" ? (openBlock(), createElementBlock("span", {
8840
+ key: 0,
8786
8841
  class: "keyboard-close",
8787
8842
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.closeBoard())
8788
- }, toDisplayString(_ctx.translate("done")), 1)
8843
+ }, toDisplayString(_ctx.translate("done")), 1)) : createCommentVNode("", true)
8789
8844
  ])) : createCommentVNode("", true),
8790
8845
  createElementVNode("div", _hoisted_4$q, [
8791
8846
  createElementVNode("div", _hoisted_5$i, [
@@ -8828,15 +8883,14 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
8828
8883
  onTouchend: _cache[4] || (_cache[4] = (...args) => _ctx.onTouchEnd && _ctx.onTouchEnd(...args))
8829
8884
  }, _hoisted_12$3, 34)
8830
8885
  ]),
8831
- _ctx.title == "" ? (openBlock(), createElementBlock("div", {
8832
- key: 0,
8886
+ createElementVNode("div", {
8833
8887
  class: "key-board-wrapper key-board-finish",
8834
8888
  onClick: _cache[5] || (_cache[5] = ($event) => _ctx.closeBoard())
8835
8889
  }, [
8836
8890
  createElementVNode("div", {
8837
8891
  class: normalizeClass(["key", "finish", { activeFinsh: _ctx.clickKeyIndex == "finish" }])
8838
8892
  }, toDisplayString(_ctx.confirmText || _ctx.translate("done")), 3)
8839
- ])) : createCommentVNode("", true)
8893
+ ])
8840
8894
  ])) : createCommentVNode("", true)
8841
8895
  ])
8842
8896
  ], 512)
@@ -10508,7 +10562,7 @@ class DialogFunction {
10508
10562
  };
10509
10563
  this.instance = createVNode(Wrapper);
10510
10564
  elWarp.appendChild(root);
10511
- render$3(this.instance, root);
10565
+ render$4(this.instance, root);
10512
10566
  }
10513
10567
  }
10514
10568
  const _Dialog = function(options) {
@@ -10738,10 +10792,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
10738
10792
  style: normalizeStyle(_ctx.getStyle)
10739
10793
  }, [
10740
10794
  createElementVNode("view", _hoisted_1$M, [
10741
- createVNode(_component_nut_icon, {
10742
- class: "top-img",
10743
- name: _ctx.pullIcon
10744
- }, null, 8, ["name"]),
10795
+ createVNode(_component_nut_icon, mergeProps({ class: "top-img" }, _ctx.$attrs, { name: _ctx.pullIcon }), null, 16, ["name"]),
10745
10796
  createElementVNode("view", _hoisted_2$D, toDisplayString(_ctx.pullTxt || _ctx.translate("pullTxt")), 1)
10746
10797
  ])
10747
10798
  ], 4),
@@ -10751,10 +10802,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
10751
10802
  createElementVNode("view", _hoisted_4$n, [
10752
10803
  _ctx.isInfiniting ? (openBlock(), createElementBlock("view", _hoisted_5$g, [
10753
10804
  !_ctx.slots.loading ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
10754
- createVNode(_component_nut_icon, {
10755
- class: "bottom-img",
10756
- name: _ctx.loadIcon
10757
- }, null, 8, ["name"]),
10805
+ createVNode(_component_nut_icon, mergeProps({ class: "bottom-img" }, _ctx.$attrs, { name: _ctx.loadIcon }), null, 16, ["name"]),
10758
10806
  createElementVNode("view", _hoisted_6$f, toDisplayString(_ctx.loadTxt || _ctx.translate("loading")), 1)
10759
10807
  ], 64)) : renderSlot(_ctx.$slots, "loading", { key: 1 })
10760
10808
  ])) : !_ctx.hasMore ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
@@ -10783,7 +10831,7 @@ const _sfc_main$U = create$U({
10783
10831
  type: String,
10784
10832
  default: "danger"
10785
10833
  },
10786
- showPopup: {
10834
+ modelVisible: {
10787
10835
  type: Boolean,
10788
10836
  default: false
10789
10837
  },
@@ -10806,7 +10854,7 @@ const _sfc_main$U = create$U({
10806
10854
  });
10807
10855
  onMounted(() => {
10808
10856
  });
10809
- const visible = ref(false);
10857
+ const showPopup = ref(props.modelVisible);
10810
10858
  const clickCover = () => {
10811
10859
  props.onClick && props.onClick();
10812
10860
  };
@@ -10840,7 +10888,7 @@ const _sfc_main$U = create$U({
10840
10888
  props.unmount && props.unmount(props.id);
10841
10889
  props.onClose && props.onClose();
10842
10890
  };
10843
- return { state, hide, onAfterLeave, clickCover, visible };
10891
+ return { state, hide, onAfterLeave, clickCover, showPopup };
10844
10892
  }
10845
10893
  });
10846
10894
  function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
@@ -10869,18 +10917,12 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
10869
10917
  var Notify = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$T]]);
10870
10918
  const defaultOptions$1 = {
10871
10919
  type: "base",
10872
- showPopup: true,
10873
10920
  visible: true,
10874
10921
  msg: "",
10875
10922
  color: void 0,
10876
10923
  background: void 0,
10877
10924
  duration: 3e3,
10878
- className: "",
10879
- onClosed: null,
10880
- onClick: null,
10881
- onOpened: null,
10882
- textTimer: null,
10883
- unmount: null
10925
+ className: ""
10884
10926
  };
10885
10927
  let idsMap$1 = [];
10886
10928
  let optsMap$1 = [];
@@ -10913,7 +10955,7 @@ const updateNotify = (opts) => {
10913
10955
  opts = { ...defaultOptions$1, ...opts };
10914
10956
  }
10915
10957
  const instance = createVNode(Notify, opts);
10916
- render$3(instance, container);
10958
+ render$4(instance, container);
10917
10959
  return instance.component.ctx;
10918
10960
  }
10919
10961
  };
@@ -10949,7 +10991,7 @@ const mountNotify = (opts) => {
10949
10991
  };
10950
10992
  const instance = createVNode(Wrapper);
10951
10993
  document.body.appendChild(root);
10952
- render$3(instance, root);
10994
+ render$4(instance, root);
10953
10995
  };
10954
10996
  const errorMsg$1 = (msg) => {
10955
10997
  if (!msg) {
@@ -11426,12 +11468,13 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
11426
11468
  style: normalizeStyle(_ctx.style)
11427
11469
  }, [
11428
11470
  createElementVNode("view", _hoisted_1$K, [
11429
- _ctx.loading ? (openBlock(), createBlock(_component_nut_icon, {
11471
+ _ctx.loading ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
11430
11472
  key: 0,
11431
- name: _ctx.name,
11473
+ name: _ctx.name
11474
+ }, _ctx.$attrs, {
11432
11475
  size: _ctx.size,
11433
11476
  color: _ctx.color
11434
- }, null, 8, ["name", "size", "color"])) : createCommentVNode("", true),
11477
+ }), null, 16, ["name", "size", "color"])) : createCommentVNode("", true),
11435
11478
  _ctx.activeText ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
11436
11479
  withDirectives(createElementVNode("view", { class: "nut-switch-label open" }, toDisplayString(_ctx.activeText), 513), [
11437
11480
  [vShow, _ctx.modelValue]
@@ -11611,11 +11654,10 @@ function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
11611
11654
  })
11612
11655
  }, [
11613
11656
  _ctx.hasIcon ? (openBlock(), createElementBlock("view", _hoisted_1$J, [
11614
- createVNode(_component_nut_icon, {
11615
- size: _ctx.iconSize,
11657
+ createVNode(_component_nut_icon, mergeProps({ size: _ctx.iconSize }, _ctx.$attrs, {
11616
11658
  color: "#ffffff",
11617
11659
  name: _ctx.icon
11618
- }, null, 8, ["size", "name"])
11660
+ }), null, 16, ["size", "name"])
11619
11661
  ])) : createCommentVNode("", true),
11620
11662
  _ctx.title ? (openBlock(), createElementBlock("div", _hoisted_2$C, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
11621
11663
  createElementVNode("view", {
@@ -11683,7 +11725,7 @@ const updateToast = (opts) => {
11683
11725
  opts = { ...defaultOptions, ...opts };
11684
11726
  }
11685
11727
  const instance = createVNode(Toast, opts);
11686
- render$3(instance, container);
11728
+ render$4(instance, container);
11687
11729
  return instance.component.ctx;
11688
11730
  }
11689
11731
  };
@@ -11705,7 +11747,7 @@ const mountToast = (opts) => {
11705
11747
  const container = document.createElement("div");
11706
11748
  container.id = opts.id;
11707
11749
  const instance = createVNode(Toast, opts);
11708
- render$3(instance, container);
11750
+ render$4(instance, container);
11709
11751
  document.body.appendChild(container);
11710
11752
  return instance.component.ctx;
11711
11753
  };
@@ -11781,7 +11823,7 @@ const _sfc_main$Q = create$Q({
11781
11823
  }
11782
11824
  },
11783
11825
  components: {},
11784
- emits: ["fastBack", "play", "forward", "ended", "changeProgress", "mute"],
11826
+ emits: ["fastBack", "play", "forward", "ended", "changeProgress", "mute", "can-play"],
11785
11827
  setup(props, { emit }) {
11786
11828
  const audioRef = ref(null);
11787
11829
  const audioData = reactive({
@@ -11813,22 +11855,25 @@ const _sfc_main$Q = create$Q({
11813
11855
  } catch (e) {
11814
11856
  console.log(e.message);
11815
11857
  }
11816
- setTimeout(() => {
11817
- const audioR = audioRef.value;
11818
- if (props.autoplay) {
11819
- if (audioR && audioR.paused) {
11820
- audioR.play();
11821
- }
11822
- }
11823
- audioData.second = audioR.duration;
11824
- audioData.duration = formatSeconds(audioR.duration);
11825
- }, 500);
11826
11858
  });
11859
+ const onCanplay = (e) => {
11860
+ const audioR = audioRef.value;
11861
+ if (props.autoplay) {
11862
+ if (audioR && audioR.paused) {
11863
+ audioR.play();
11864
+ }
11865
+ }
11866
+ audioData.second = audioR.duration;
11867
+ audioData.duration = formatSeconds(audioR.duration);
11868
+ emit("can-play", e);
11869
+ };
11827
11870
  const onTimeupdate = (e) => {
11828
11871
  audioData.currentTime = parseInt(e.target.currentTime);
11829
11872
  };
11830
11873
  const fastBack = () => {
11831
- audioData.currentTime--;
11874
+ if (audioData.currentTime > 0) {
11875
+ audioData.currentTime--;
11876
+ }
11832
11877
  audioRef.value.currentTime = audioData.currentTime;
11833
11878
  emit("fastBack", audioData.currentTime);
11834
11879
  };
@@ -11867,37 +11912,17 @@ const _sfc_main$Q = create$Q({
11867
11912
  emit("mute", audioData.hanMuted);
11868
11913
  };
11869
11914
  const formatSeconds = (value) => {
11870
- let theTime = parseInt(value);
11871
- let theTime1 = 0;
11872
- let theTime2 = 0;
11873
- if (theTime > 60) {
11874
- theTime1 = Math.floor(theTime / 60);
11875
- theTime = Math.floor(theTime % 60);
11876
- if (theTime1 > 60) {
11877
- theTime2 = Math.floor(theTime1 / 60);
11878
- theTime1 = Math.floor(theTime1 % 60);
11879
- }
11915
+ if (!value) {
11916
+ return "00:00:00";
11880
11917
  }
11918
+ let time = parseInt(value);
11919
+ let hours = Math.floor(time / 3600);
11920
+ let minutes = Math.floor((time - hours * 3600) / 60);
11921
+ let seconds = time - hours * 3600 - minutes * 60;
11881
11922
  let result = "";
11882
- if (theTime < 10) {
11883
- result = "0" + result;
11884
- }
11885
- if (theTime1 > 0) {
11886
- result = "" + theTime1 + ":" + result;
11887
- if (theTime1 < 10) {
11888
- result = "0" + result;
11889
- }
11890
- } else {
11891
- result = "00:" + result;
11892
- }
11893
- if (theTime2 > 0) {
11894
- result = "" + theTime2 + ":" + result;
11895
- if (theTime2 < 10) {
11896
- result = "0" + result;
11897
- }
11898
- } else {
11899
- result = "00:" + result;
11900
- }
11923
+ result += ("0" + hours.toString()).slice(-2) + ":";
11924
+ result += ("0" + minutes.toString()).slice(-2) + ":";
11925
+ result += ("0" + seconds.toString()).slice(-2);
11901
11926
  return result;
11902
11927
  };
11903
11928
  watch(() => audioData.currentTime, (value) => {
@@ -11922,7 +11947,8 @@ const _sfc_main$Q = create$Q({
11922
11947
  progressChange,
11923
11948
  audioEnd,
11924
11949
  onTimeupdate,
11925
- handleMute
11950
+ handleMute,
11951
+ onCanplay
11926
11952
  };
11927
11953
  }
11928
11954
  });
@@ -11995,7 +12021,8 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
11995
12021
  autoplay: _ctx.autoplay,
11996
12022
  loop: _ctx.loop,
11997
12023
  onTimeupdate: _cache[3] || (_cache[3] = (...args) => _ctx.onTimeupdate && _ctx.onTimeupdate(...args)),
11998
- onEnded: _cache[4] || (_cache[4] = (...args) => _ctx.audioEnd && _ctx.audioEnd(...args)),
12024
+ onCanplay: _cache[4] || (_cache[4] = (...args) => _ctx.onCanplay && _ctx.onCanplay(...args)),
12025
+ onEnded: _cache[5] || (_cache[5] = (...args) => _ctx.audioEnd && _ctx.audioEnd(...args)),
11999
12026
  muted: _ctx.hanMuted
12000
12027
  }, null, 40, _hoisted_8$7)
12001
12028
  ]);
@@ -12006,9 +12033,7 @@ const _sfc_main$P = create$P({
12006
12033
  props: {
12007
12034
  type: {
12008
12035
  type: String,
12009
- default() {
12010
- return "play";
12011
- }
12036
+ default: () => "play"
12012
12037
  }
12013
12038
  },
12014
12039
  components: {},
@@ -12241,11 +12266,10 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
12241
12266
  src: _ctx.url,
12242
12267
  alt: _ctx.alt,
12243
12268
  onError: _cache[0] || (_cache[0] = (...args) => _ctx.onError && _ctx.onError(...args))
12244
- }, null, 40, _hoisted_1$G)) : _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
12245
- key: 1,
12269
+ }, null, 40, _hoisted_1$G)) : _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 1 }, _ctx.$attrs, {
12246
12270
  class: "icon",
12247
12271
  name: _ctx.iconStyles
12248
- }, null, 8, ["name"])) : createCommentVNode("", true),
12272
+ }), null, 16, ["name"])) : createCommentVNode("", true),
12249
12273
  _ctx.isShowText ? (openBlock(), createElementBlock("view", _hoisted_2$z, [
12250
12274
  renderSlot(_ctx.$slots, "default")
12251
12275
  ])) : createCommentVNode("", true)
@@ -12554,12 +12578,11 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
12554
12578
  _ctx.status == "active" || _ctx.status == "" ? (openBlock(), createElementBlock("span", {
12555
12579
  key: 0,
12556
12580
  style: normalizeStyle(_ctx.textStyle)
12557
- }, toDisplayString(_ctx.percentage) + toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)) : _ctx.status == "icon" ? (openBlock(), createBlock(_component_nut_icon, {
12558
- key: 1,
12581
+ }, toDisplayString(_ctx.percentage) + toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)) : _ctx.status == "icon" ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 1 }, _ctx.$attrs, {
12559
12582
  size: "16px",
12560
12583
  name: _ctx.iconName,
12561
12584
  color: _ctx.iconColor
12562
- }, null, 8, ["name", "color"])) : createCommentVNode("", true)
12585
+ }), null, 16, ["name", "color"])) : createCommentVNode("", true)
12563
12586
  ], 4)) : createCommentVNode("", true)
12564
12587
  ]);
12565
12588
  }
@@ -13031,10 +13054,10 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
13031
13054
  onClick: _cache[2] || (_cache[2] = withModifiers((...args) => _ctx.onClickIcon && _ctx.onClickIcon(...args), ["stop"]))
13032
13055
  }, [
13033
13056
  renderSlot(_ctx.$slots, "right-icon", {}, () => [
13034
- createVNode(_component_nut_icon, {
13057
+ createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
13035
13058
  name: _ctx.rightIcon ? _ctx.rightIcon : "close",
13036
13059
  color: _ctx.color
13037
- }, null, 8, ["name", "color"])
13060
+ }), null, 16, ["name", "color"])
13038
13061
  ])
13039
13062
  ])) : createCommentVNode("", true)
13040
13063
  ], 6)), [
@@ -13615,13 +13638,14 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
13615
13638
  createElementVNode("view", {
13616
13639
  class: normalizeClass(["nut-step-icon", [!_ctx.dot ? _ctx.icon ? "is-icon" : "is-text" : ""]])
13617
13640
  }, [
13618
- _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
13641
+ _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
13619
13642
  key: 0,
13620
- class: "nut-step-icon-inner",
13643
+ class: "nut-step-icon-inner"
13644
+ }, _ctx.$attrs, {
13621
13645
  color: _ctx.iconColor,
13622
13646
  name: _ctx.icon,
13623
13647
  size: _ctx.size
13624
- }, null, 8, ["color", "name", "size"])) : _ctx.dot ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [], 64)) : (openBlock(), createElementBlock("view", _hoisted_3$n, toDisplayString(_ctx.index), 1))
13648
+ }), null, 16, ["color", "name", "size"])) : _ctx.dot ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [], 64)) : (openBlock(), createElementBlock("view", _hoisted_3$n, toDisplayString(_ctx.index), 1))
13625
13649
  ], 2)
13626
13650
  ]),
13627
13651
  createElementVNode("view", _hoisted_4$j, [
@@ -14738,10 +14762,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
14738
14762
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleCloseIcon && _ctx.handleCloseIcon(...args)),
14739
14763
  style: normalizeStyle(_ctx.styles)
14740
14764
  }, [
14741
- createVNode(_component_nut_icon, {
14742
- name: _ctx.closeIcon,
14743
- color: "#ffffff"
14744
- }, null, 8, ["name"])
14765
+ createVNode(_component_nut_icon, mergeProps({ name: _ctx.closeIcon }, _ctx.$attrs, { color: "#ffffff" }), null, 16, ["name"])
14745
14766
  ], 4)) : createCommentVNode("", true)
14746
14767
  ]),
14747
14768
  _: 1
@@ -14785,7 +14806,7 @@ class ImagePreviewFunction {
14785
14806
  };
14786
14807
  const instance = createVNode(Wrapper);
14787
14808
  elWarp.appendChild(root);
14788
- render$3(instance, root);
14809
+ render$4(instance, root);
14789
14810
  }
14790
14811
  }
14791
14812
  const _ImagePreview = function(options) {
@@ -15691,23 +15712,19 @@ const _sfc_main$w = create$w({
15691
15712
  };
15692
15713
  });
15693
15714
  const getStyle = () => {
15694
- if (color == null ? void 0 : color.value) {
15695
- return {
15696
- background: color.value,
15697
- color: textColor.value
15698
- };
15715
+ const style = {};
15716
+ if (textColor.value) {
15717
+ style.color = textColor.value;
15718
+ } else if (color.value && plain.value) {
15719
+ style.color = color.value;
15699
15720
  }
15700
15721
  if (plain.value) {
15701
- return {
15702
- color: "#FA2400",
15703
- background: "#fff",
15704
- border: "1px solid rgba(250,36,0,1)"
15705
- };
15722
+ style.background = "#fff";
15723
+ style["border-color"] = color.value;
15724
+ } else if (color.value) {
15725
+ style.background = color.value;
15706
15726
  }
15707
- return {
15708
- color: "",
15709
- background: ""
15710
- };
15727
+ return style;
15711
15728
  };
15712
15729
  const onClose = (event) => {
15713
15730
  event.stopPropagation();
@@ -16571,7 +16588,6 @@ const _sfc_main$v = create$v({
16571
16588
  };
16572
16589
  });
16573
16590
  const createPopperInstance = () => {
16574
- console.log(reference.value, popoverRef.value);
16575
16591
  if (reference.value && popoverRef.value) {
16576
16592
  return createPopper(reference.value, popoverRef.value.popupRef, {
16577
16593
  placement: props.location,
@@ -16594,7 +16610,6 @@ const _sfc_main$v = create$v({
16594
16610
  return null;
16595
16611
  };
16596
16612
  const clickOverlay = () => {
16597
- console.log("\u5173\u95ED");
16598
16613
  };
16599
16614
  const uploadLocation = () => {
16600
16615
  nextTick(() => {
@@ -16602,7 +16617,6 @@ const _sfc_main$v = create$v({
16602
16617
  return;
16603
16618
  if (!popper) {
16604
16619
  popper = createPopperInstance();
16605
- console.log(popper);
16606
16620
  } else {
16607
16621
  popper.setOptions({
16608
16622
  placement: props.location
@@ -16700,10 +16714,10 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
16700
16714
  onClick: withModifiers(($event) => _ctx.chooseItem(item, index), ["stop"])
16701
16715
  }, [
16702
16716
  item.icon ? renderSlot(_ctx.$slots, "default", { key: 0 }, () => [
16703
- createVNode(_component_nut_icon, {
16717
+ createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
16704
16718
  class: "item-img",
16705
16719
  name: item.icon
16706
- }, null, 8, ["name"])
16720
+ }), null, 16, ["name"])
16707
16721
  ]) : createCommentVNode("", true),
16708
16722
  createElementVNode("view", _hoisted_2$o, toDisplayString(item.name), 1)
16709
16723
  ], 10, _hoisted_1$t);
@@ -16891,20 +16905,18 @@ const _sfc_main$t = create$t({
16891
16905
  emits: ["update:active", "change"],
16892
16906
  setup(props, { emit, slots }) {
16893
16907
  const collapseDom = ref(null);
16908
+ const collapseChldren = ref([]);
16894
16909
  watch(() => props.active, (newval, oldval) => {
16895
- var _a, _b;
16896
- let domsProps = (_a = slots == null ? void 0 : slots.default) == null ? void 0 : _a.call(slots);
16897
- let doms = (_b = collapseDom.value) == null ? void 0 : _b.children;
16898
- Array.from(doms).forEach((dom, index) => {
16899
- const item = dom["__vueParentComponent"]["ctx"];
16910
+ let doms = collapseChldren.value;
16911
+ Array.from(doms).forEach((item) => {
16900
16912
  if (typeof newval == "number" || typeof newval == "string") {
16901
- if (newval == domsProps[index].props.name) {
16902
- item.changeOpen(!item.openExpanded);
16913
+ if (newval == item.name) {
16914
+ item.changeOpen(true);
16903
16915
  } else {
16904
16916
  item.changeOpen(false);
16905
16917
  }
16906
16918
  } else if (Object.values(newval) instanceof Array) {
16907
- if (newval.indexOf(Number(domsProps[index].props.name)) > -1 || newval.indexOf(String(domsProps[index].props.name)) > -1) {
16919
+ if (newval.indexOf(Number(item.name)) > -1 || newval.indexOf(String(item.name)) > -1) {
16908
16920
  item.changeOpen(true);
16909
16921
  } else {
16910
16922
  item.changeOpen(false);
@@ -16913,6 +16925,9 @@ const _sfc_main$t = create$t({
16913
16925
  item.animation();
16914
16926
  });
16915
16927
  });
16928
+ onMounted(() => {
16929
+ collapseChldren.value = getCurrentInstance().provides.collapseParent.children || [];
16930
+ });
16916
16931
  const changeVal = (val) => {
16917
16932
  emit("update:active", val);
16918
16933
  emit("change", val);
@@ -17154,13 +17169,14 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
17154
17169
  createElementVNode("view", _hoisted_1$q, [
17155
17170
  createElementVNode("view", null, [
17156
17171
  createElementVNode("view", _hoisted_2$m, [
17157
- _ctx.titleIcon ? (openBlock(), createBlock(_component_nut_icon, {
17172
+ _ctx.titleIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
17158
17173
  key: 0,
17159
- name: _ctx.titleIcon,
17174
+ name: _ctx.titleIcon
17175
+ }, _ctx.$attrs, {
17160
17176
  size: _ctx.titleIconSize,
17161
17177
  color: _ctx.titleIconColor,
17162
- class: normalizeClass([_ctx.titleIconPosition == "left" ? "titleIconLeft" : "titleIconRight"])
17163
- }, null, 8, ["name", "size", "color", "class"])) : createCommentVNode("", true),
17178
+ class: [_ctx.titleIconPosition == "left" ? "titleIconLeft" : "titleIconRight"]
17179
+ }), null, 16, ["name", "size", "color", "class"])) : createCommentVNode("", true),
17164
17180
  _ctx.$slots.mTitle ? renderSlot(_ctx.$slots, "mTitle", { key: 1 }) : (openBlock(), createElementBlock("view", {
17165
17181
  key: 2,
17166
17182
  innerHTML: _ctx.title,
@@ -17176,14 +17192,15 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
17176
17192
  innerHTML: _ctx.subTitle,
17177
17193
  class: "subTitle"
17178
17194
  }, null, 8, _hoisted_5$a)),
17179
- _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
17195
+ _ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
17180
17196
  key: 2,
17181
- name: _ctx.icon,
17197
+ name: _ctx.icon
17198
+ }, _ctx.$attrs, {
17182
17199
  size: _ctx.iconSize,
17183
17200
  color: _ctx.iconColor,
17184
- class: normalizeClass(["collapse-icon", { "col-expanded": _ctx.openExpanded }, { "collapse-icon-disabled": _ctx.disabled }]),
17185
- style: normalizeStyle(_ctx.iconStyle)
17186
- }, null, 8, ["name", "size", "color", "class", "style"])) : createCommentVNode("", true)
17201
+ class: ["collapse-icon", { "col-expanded": _ctx.openExpanded }, { "collapse-icon-disabled": _ctx.disabled }],
17202
+ style: _ctx.iconStyle
17203
+ }), null, 16, ["name", "size", "color", "class", "style"])) : createCommentVNode("", true)
17187
17204
  ], 2),
17188
17205
  _ctx.$slots.extraRender ? (openBlock(), createElementBlock("view", _hoisted_6$9, [
17189
17206
  createElementVNode("div", _hoisted_7$7, [
@@ -17736,7 +17753,6 @@ const _sfc_main$o = create$o({
17736
17753
  const init = () => {
17737
17754
  const canvas = document.createElement("canvas");
17738
17755
  const ratio = window.devicePixelRatio;
17739
- console.log(ratio);
17740
17756
  const ctx = canvas.getContext("2d");
17741
17757
  const canvasWidth = `${(gapX + width) * ratio}px`;
17742
17758
  const canvasHeight = `${(gapY + height) * ratio}px`;
@@ -17756,7 +17772,6 @@ const _sfc_main$o = create$o({
17756
17772
  ctx.drawImage(img, -imageWidth * ratio / 2, -imageHeight * ratio / 2, imageWidth * ratio, imageHeight * ratio);
17757
17773
  ctx.restore();
17758
17774
  state.base64Url = canvas.toDataURL();
17759
- console.log(state.base64Url);
17760
17775
  };
17761
17776
  } else if (content) {
17762
17777
  ctx.textBaseline = "middle";
@@ -17769,7 +17784,6 @@ const _sfc_main$o = create$o({
17769
17784
  ctx.fillText(content, 0, 0);
17770
17785
  ctx.restore();
17771
17786
  state.base64Url = canvas.toDataURL();
17772
- console.log(state.base64Url);
17773
17787
  }
17774
17788
  } else {
17775
17789
  throw new Error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301Canvas");
@@ -18192,7 +18206,7 @@ const _hoisted_11$1 = {
18192
18206
  };
18193
18207
  const _hoisted_12$1 = ["onClick"];
18194
18208
  const _hoisted_13$1 = { class: "elevator-group" };
18195
- const _hoisted_14 = {
18209
+ const _hoisted_14$1 = {
18196
18210
  key: 2,
18197
18211
  class: "exist-address"
18198
18212
  };
@@ -18230,10 +18244,10 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
18230
18244
  class: "arrow-back",
18231
18245
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.switchModule && _ctx.switchModule(...args))
18232
18246
  }, [
18233
- withDirectives(createVNode(_component_nut_icon, {
18247
+ withDirectives(createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
18234
18248
  name: _ctx.backBtnIcon,
18235
18249
  color: "#cccccc"
18236
- }, null, 8, ["name"]), [
18250
+ }), null, 16, ["name"]), [
18237
18251
  [vShow, _ctx.type == "exist" && _ctx.privateType == "custom" && _ctx.backBtnIcon]
18238
18252
  ])
18239
18253
  ]),
@@ -18242,12 +18256,11 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
18242
18256
  class: "arrow-close",
18243
18257
  onClick: _cache[1] || (_cache[1] = ($event) => _ctx.handClose("cross"))
18244
18258
  }, [
18245
- _ctx.closeBtnIcon ? (openBlock(), createBlock(_component_nut_icon, {
18246
- key: 0,
18259
+ _ctx.closeBtnIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 0 }, _ctx.$attrs, {
18247
18260
  name: _ctx.closeBtnIcon,
18248
18261
  color: "#cccccc",
18249
18262
  size: "18px"
18250
- }, null, 8, ["name"])) : createCommentVNode("", true)
18263
+ }), null, 16, ["name"])) : createCommentVNode("", true)
18251
18264
  ])
18252
18265
  ]),
18253
18266
  _ctx.privateType == "custom" ? (openBlock(), createElementBlock("view", _hoisted_4$f, [
@@ -18275,13 +18288,14 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
18275
18288
  class: normalizeClass(["region-item", [_ctx.selectedRegion[_ctx.tabName[_ctx.tabIndex]].id == item.id ? "active" : ""]]),
18276
18289
  onClick: ($event) => _ctx.nextAreaList(item)
18277
18290
  }, [
18278
- _ctx.selectedRegion[_ctx.tabName[_ctx.tabIndex]].id == item.id ? (openBlock(), createBlock(_component_nut_icon, {
18291
+ _ctx.selectedRegion[_ctx.tabName[_ctx.tabIndex]].id == item.id ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
18279
18292
  key: 0,
18280
18293
  class: "region-item-icon",
18281
- type: "self",
18294
+ type: "self"
18295
+ }, _ctx.$attrs, {
18282
18296
  name: _ctx.selectedIcon,
18283
18297
  size: "13px"
18284
- }, null, 8, ["name"])) : createCommentVNode("", true),
18298
+ }), null, 16, ["name"])) : createCommentVNode("", true),
18285
18299
  createTextVNode(toDisplayString(item.name), 1)
18286
18300
  ], 10, _hoisted_9$2);
18287
18301
  }), 128))
@@ -18311,7 +18325,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
18311
18325
  onClickItem: _ctx.handleElevatorItem
18312
18326
  }, null, 8, ["height", "index-list", "onClickItem"])
18313
18327
  ])
18314
- ])) : _ctx.privateType == "exist" ? (openBlock(), createElementBlock("view", _hoisted_14, [
18328
+ ])) : _ctx.privateType == "exist" ? (openBlock(), createElementBlock("view", _hoisted_14$1, [
18315
18329
  createElementVNode("div", _hoisted_15, [
18316
18330
  createElementVNode("ul", _hoisted_16, [
18317
18331
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.existAddress, (item, index) => {
@@ -18320,12 +18334,13 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
18320
18334
  key: index,
18321
18335
  onClick: ($event) => _ctx.selectedExist(item)
18322
18336
  }, [
18323
- createVNode(_component_nut_icon, {
18337
+ createVNode(_component_nut_icon, mergeProps({
18324
18338
  class: "exist-item-icon",
18325
- type: "self",
18339
+ type: "self"
18340
+ }, _ctx.$attrs, {
18326
18341
  name: item.selectedAddress ? _ctx.selectedIcon : _ctx.defaultIcon,
18327
18342
  size: "13px"
18328
- }, null, 8, ["name"]),
18343
+ }), null, 16, ["name"]),
18329
18344
  createElementVNode("div", _hoisted_18, [
18330
18345
  item.name && item.phone ? (openBlock(), createElementBlock("div", _hoisted_19, [
18331
18346
  createElementVNode("div", _hoisted_20, toDisplayString(item.name), 1),
@@ -18346,10 +18361,11 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
18346
18361
  }, [
18347
18362
  createElementVNode("div", _hoisted_23, toDisplayString(_ctx.customAndExistTitle || _ctx.translate("chooseAnotherAddress")), 1)
18348
18363
  ])) : createCommentVNode("", true)
18349
- ])) : createCommentVNode("", true)
18364
+ ])) : createCommentVNode("", true),
18365
+ renderSlot(_ctx.$slots, "bottom")
18350
18366
  ])
18351
18367
  ]),
18352
- _: 1
18368
+ _: 3
18353
18369
  }, 8, ["lock-scroll", "onClose", "onClickOverlay", "visible", "isWrapTeleport", "teleport"]);
18354
18370
  }
18355
18371
  var Address = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n]]);
@@ -18482,7 +18498,15 @@ const _sfc_main$l = create$l({
18482
18498
  },
18483
18499
  strokeStyle: {
18484
18500
  type: String,
18485
- default: "#000"
18501
+ default: () => {
18502
+ let bodyDom = document.getElementsByTagName("body");
18503
+ let clsName = bodyDom[0]["className"];
18504
+ if (clsName.indexOf("nut-theme-dark") == -1) {
18505
+ return "#000";
18506
+ } else {
18507
+ return "#fff";
18508
+ }
18509
+ }
18486
18510
  },
18487
18511
  type: {
18488
18512
  type: String,
@@ -18494,7 +18518,7 @@ const _sfc_main$l = create$l({
18494
18518
  }
18495
18519
  },
18496
18520
  components: {},
18497
- emits: ["confirm", "clear"],
18521
+ emits: ["start", "end", "signing", "confirm", "clear"],
18498
18522
  setup(props, { emit }) {
18499
18523
  const canvas = ref(null);
18500
18524
  const wrap = ref(null);
@@ -18524,6 +18548,7 @@ const _sfc_main$l = create$l({
18524
18548
  state.ctx.beginPath();
18525
18549
  state.ctx.lineWidth = props.lineWidth;
18526
18550
  state.ctx.strokeStyle = props.strokeStyle;
18551
+ emit("start");
18527
18552
  canvas.value.addEventListener(state.events[1], moveEventHandler, false);
18528
18553
  canvas.value.addEventListener(state.events[2], endEventHandler, false);
18529
18554
  canvas.value.addEventListener(state.events[3], leaveEventHandler, false);
@@ -18531,6 +18556,7 @@ const _sfc_main$l = create$l({
18531
18556
  const moveEventHandler = (event) => {
18532
18557
  event.preventDefault();
18533
18558
  let evt = state.isSupportTouch ? event.touches[0] : event;
18559
+ emit("signing", evt);
18534
18560
  let coverPos = canvas.value.getBoundingClientRect();
18535
18561
  let mouseX = evt.clientX - coverPos.left;
18536
18562
  let mouseY = evt.clientY - coverPos.top;
@@ -18539,6 +18565,7 @@ const _sfc_main$l = create$l({
18539
18565
  };
18540
18566
  const endEventHandler = (event) => {
18541
18567
  event.preventDefault();
18568
+ emit("end");
18542
18569
  canvas.value.removeEventListener(state.events[1], moveEventHandler, false);
18543
18570
  canvas.value.removeEventListener(state.events[2], endEventHandler, false);
18544
18571
  };
@@ -18586,7 +18613,7 @@ const _hoisted_1$k = {
18586
18613
  };
18587
18614
  const _hoisted_2$i = ["height", "width"];
18588
18615
  const _hoisted_3$g = {
18589
- key: 1,
18616
+ key: 0,
18590
18617
  class: "nut-signature-unsopport"
18591
18618
  };
18592
18619
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
@@ -18595,12 +18622,14 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
18595
18622
  class: normalizeClass(_ctx.classes)
18596
18623
  }, [
18597
18624
  createElementVNode("div", _hoisted_1$k, [
18598
- (() => _ctx.isCanvasSupported()) ? (openBlock(), createElementBlock("canvas", {
18599
- key: 0,
18625
+ withDirectives(createElementVNode("canvas", {
18600
18626
  ref: "canvas",
18601
18627
  height: _ctx.canvasHeight,
18602
18628
  width: _ctx.canvasWidth
18603
- }, null, 8, _hoisted_2$i)) : (openBlock(), createElementBlock("p", _hoisted_3$g, toDisplayString(_ctx.unSupportTpl || _ctx.translate("unSupportTpl")), 1))
18629
+ }, null, 8, _hoisted_2$i), [
18630
+ [vShow, _ctx.isCanvasSupported()]
18631
+ ]),
18632
+ !_ctx.isCanvasSupported() ? (openBlock(), createElementBlock("p", _hoisted_3$g, toDisplayString(_ctx.unSupportTpl || _ctx.translate("unSupportTpl")), 1)) : createCommentVNode("", true)
18604
18633
  ], 512),
18605
18634
  createVNode(_component_nut_button, {
18606
18635
  class: "nut-signature-btn",
@@ -19593,7 +19622,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
19593
19622
  ]);
19594
19623
  }
19595
19624
  var Ecard = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b]]);
19596
- var ItemContents_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => "@-webkit-keyframes nutFadeIn {\nfrom {\n opacity: 0;\n}\nto {\n opacity: 1;\n}\n}\n@keyframes nutFadeIn {\nfrom {\n opacity: 0;\n}\nto {\n opacity: 1;\n}\n}\n@-webkit-keyframes nutFadeOut {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n@keyframes nutFadeOut {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.nutFade-enter-active,\n.nutFadeIn,\n.nutFade-leave-active,\n.nutFadeOut {\n -webkit-animation-duration: 0.25s;\n animation-duration: 0.25s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n}\n.nutFade-enter-active,\n.nutFadeIn {\n -webkit-animation-name: nutFadeIn;\n animation-name: nutFadeIn;\n}\n.nutFade-leave-active,\n.nutFadeOut {\n -webkit-animation-name: nutFadeOut;\n animation-name: nutFadeOut;\n}\n@-webkit-keyframes nutZoomIn {\nfrom {\n opacity: 0;\n -webkit-transform: scale3d(0.3, 0.3, 0.3);\n transform: scale3d(0.3, 0.3, 0.3);\n}\n50% {\n opacity: 1;\n}\n}\n@keyframes nutZoomIn {\nfrom {\n opacity: 0;\n -webkit-transform: scale3d(0.3, 0.3, 0.3);\n transform: scale3d(0.3, 0.3, 0.3);\n}\n50% {\n opacity: 1;\n}\n}\n@-webkit-keyframes nutZoomOut {\nfrom {\n opacity: 1;\n}\n50% {\n opacity: 0;\n -webkit-transform: scale3d(0.3, 0.3, 0.3);\n transform: scale3d(0.3, 0.3, 0.3);\n}\nto {\n opacity: 0;\n}\n}\n@keyframes nutZoomOut {\nfrom {\n opacity: 1;\n}\n50% {\n opacity: 0;\n -webkit-transform: scale3d(0.3, 0.3, 0.3);\n transform: scale3d(0.3, 0.3, 0.3);\n}\nto {\n opacity: 0;\n}\n}\n.nutZoom-enter-active,\n.nutZoomIn,\n.nutZoom-leave-active,\n.nutZoomOut {\n -webkit-animation-duration: 0.25s;\n animation-duration: 0.25s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n}\n.nutZoom-enter-active,\n.nutZoomIn {\n -webkit-animation-name: nutZoomIn;\n animation-name: nutZoomIn;\n}\n.nutZoom-leave-active,\n.nutZoomOut {\n -webkit-animation-name: nutZoomOut;\n animation-name: nutZoomOut;\n}\n@-webkit-keyframes nutEaseIn {\n0% {\n opacity: 0;\n -webkit-transform: scale(0.9);\n transform: scale(0.9);\n}\n100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n@keyframes nutEaseIn {\n0% {\n opacity: 0;\n -webkit-transform: scale(0.9);\n transform: scale(0.9);\n}\n100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n@-webkit-keyframes nutEaseOut {\n0% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n100% {\n opacity: 0;\n -webkit-transform: scale(0.9);\n transform: scale(0.9);\n}\n}\n@keyframes nutEaseOut {\n0% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n100% {\n opacity: 0;\n -webkit-transform: scale(0.9);\n transform: scale(0.9);\n}\n}\n.nutEase-enter-active,\n.nutEaseIn,\n.nutEase-leave-active,\n.nutEaseOut {\n -webkit-animation-duration: 0.25s;\n animation-duration: 0.25s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n}\n.nutEase-enter-active,\n.nutEaseIn {\n -webkit-animation-name: nutEaseIn;\n animation-name: nutEaseIn;\n}\n.nutEase-leave-active,\n.nutEaseOut {\n -webkit-animation-name: nutEaseOut;\n animation-name: nutEaseOut;\n}\n@-webkit-keyframes nutDropIn {\n0% {\n opacity: 0;\n -webkit-transform: scaleY(0.8);\n transform: scaleY(0.8);\n}\n100% {\n opacity: 1;\n -webkit-transform: scaleY(1);\n transform: scaleY(1);\n}\n}\n@keyframes nutDropIn {\n0% {\n opacity: 0;\n -webkit-transform: scaleY(0.8);\n transform: scaleY(0.8);\n}\n100% {\n opacity: 1;\n -webkit-transform: scaleY(1);\n transform: scaleY(1);\n}\n}\n@-webkit-keyframes nutDropOut {\n0% {\n opacity: 1;\n -webkit-transform: scaleY(1);\n transform: scaleY(1);\n}\n100% {\n opacity: 0;\n -webkit-transform: scaleY(0.8);\n transform: scaleY(0.8);\n}\n}\n@keyframes nutDropOut {\n0% {\n opacity: 1;\n -webkit-transform: scaleY(1);\n transform: scaleY(1);\n}\n100% {\n opacity: 0;\n -webkit-transform: scaleY(0.8);\n transform: scaleY(0.8);\n}\n}\n.nutDrop-enter-active,\n.nutDropIn,\n.nutDrop-leave-active,\n.nutDropOut {\n -webkit-animation-duration: 0.25s;\n animation-duration: 0.25s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n}\n.nutDrop-enter-active,\n.nutDropIn {\n -webkit-animation-name: nutDropIn;\n animation-name: nutDropIn;\n}\n.nutDrop-leave-active,\n.nutDropOut {\n -webkit-animation-name: nutDropOut;\n animation-name: nutDropOut;\n}\n@-webkit-keyframes rotation {\n0% {\n -webkit-transform: rotate(0deg);\n}\n100% {\n -webkit-transform: rotate(360deg);\n}\n}\n@keyframes rotation {\n0% {\n -webkit-transform: rotate(0deg);\n}\n100% {\n -webkit-transform: rotate(360deg);\n}\n}\n.nutRotate-enter-active,\n.nutRotateIn,\n.nutRotate-leave-active,\n.nutRotateOut {\n -webkit-animation-duration: 0.25s;\n animation-duration: 0.25s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n}\n.nutRotate-enter-active,\n.nutRotateIn {\n -webkit-animation-name: nutRotateIn;\n animation-name: nutRotateIn;\n}\n.nutRotate-leave-active,\n.nutRotateOut {\n -webkit-animation-name: nutRotateOut;\n animation-name: nutRotateOut;\n}\n@-webkit-keyframes nutJump {\nto {\n -webkit-transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n}\n}\n@keyframes nutJump {\nto {\n -webkit-transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n}\n}\n@-webkit-keyframes nutJumpOne {\n50% {\n -webkit-transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n}\n100% {\n -webkit-transform: scale3d(1, 1, 1) translateY(0);\n transform: scale3d(1, 1, 1) translateY(0);\n}\n}\n@keyframes nutJumpOne {\n50% {\n -webkit-transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n}\n100% {\n -webkit-transform: scale3d(1, 1, 1) translateY(0);\n transform: scale3d(1, 1, 1) translateY(0);\n}\n}\n@-webkit-keyframes nutBlink {\n0% {\n opacity: 0;\n}\n100% {\n opacity: 1;\n}\n}\n@keyframes nutBlink {\n0% {\n opacity: 0;\n}\n100% {\n opacity: 1;\n}\n}\n@-webkit-keyframes nutBreathe {\nfrom, to {\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n50% {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n}\n}\n@keyframes nutBreathe {\nfrom, to {\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n50% {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n}\n}\n@-webkit-keyframes nutFlash {\nfrom, 50%, to {\n opacity: 1;\n}\n25%, 75% {\n opacity: 0;\n}\n}\n@keyframes nutFlash {\nfrom, 50%, to {\n opacity: 1;\n}\n25%, 75% {\n opacity: 0;\n}\n}\n@-webkit-keyframes nutBounce {\nfrom, 20%, 53%, to {\n -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n}\n40%, 43% {\n -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n -webkit-transform: translate3d(0, -30px, 0) scaleY(1.1);\n transform: translate3d(0, -30px, 0) scaleY(1.1);\n}\n70% {\n -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n -webkit-transform: translate3d(0, -15px, 0) scaleY(1.05);\n transform: translate3d(0, -15px, 0) scaleY(1.05);\n}\n80% {\n -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n -webkit-transform: translate3d(0, 0, 0) scaleY(0.95);\n transform: translate3d(0, 0, 0) scaleY(0.95);\n}\n90% {\n -webkit-transform: translate3d(0, -4px, 0) scaleY(1.02);\n transform: translate3d(0, -4px, 0) scaleY(1.02);\n}\n}\n@keyframes nutBounce {\nfrom, 20%, 53%, to {\n -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n}\n40%, 43% {\n -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n -webkit-transform: translate3d(0, -30px, 0) scaleY(1.1);\n transform: translate3d(0, -30px, 0) scaleY(1.1);\n}\n70% {\n -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n -webkit-transform: translate3d(0, -15px, 0) scaleY(1.05);\n transform: translate3d(0, -15px, 0) scaleY(1.05);\n}\n80% {\n -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n -webkit-transform: translate3d(0, 0, 0) scaleY(0.95);\n transform: translate3d(0, 0, 0) scaleY(0.95);\n}\n90% {\n -webkit-transform: translate3d(0, -4px, 0) scaleY(1.02);\n transform: translate3d(0, -4px, 0) scaleY(1.02);\n}\n}\n@-webkit-keyframes nutShake {\n0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n6.5% {\n -webkit-transform: translateX(-6px) rotateY(-9deg);\n transform: translateX(-6px) rotateY(-9deg);\n}\n18.5% {\n -webkit-transform: translateX(5px) rotateY(7deg);\n transform: translateX(5px) rotateY(7deg);\n}\n31.5% {\n -webkit-transform: translateX(-3px) rotateY(-5deg);\n transform: translateX(-3px) rotateY(-5deg);\n}\n43.5% {\n -webkit-transform: translateX(2px) rotateY(3deg);\n transform: translateX(2px) rotateY(3deg);\n}\n50% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n}\n@keyframes nutShake {\n0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n6.5% {\n -webkit-transform: translateX(-6px) rotateY(-9deg);\n transform: translateX(-6px) rotateY(-9deg);\n}\n18.5% {\n -webkit-transform: translateX(5px) rotateY(7deg);\n transform: translateX(5px) rotateY(7deg);\n}\n31.5% {\n -webkit-transform: translateX(-3px) rotateY(-5deg);\n transform: translateX(-3px) rotateY(-5deg);\n}\n43.5% {\n -webkit-transform: translateX(2px) rotateY(3deg);\n transform: translateX(2px) rotateY(3deg);\n}\n50% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n}\n/* @import './index.scss'; */")();
19625
+ var ItemContents_vue_vue_type_style_index_0_lang = "";
19597
19626
  const { componentName: componentName$a, create: create$a } = createComponent("item-contents");
19598
19627
  const { translate: translate$3 } = createComponent("addresslist");
19599
19628
  const _sfc_main$a = create$a({
@@ -19612,7 +19641,6 @@ const _sfc_main$a = create$a({
19612
19641
  setup(props, { emit }) {
19613
19642
  const delClick = (event) => {
19614
19643
  emit("delIconClick", event, props.item);
19615
- console.log(123);
19616
19644
  event.stopPropagation();
19617
19645
  };
19618
19646
  const editClick = (event) => {
@@ -20061,8 +20089,7 @@ const _sfc_main$6 = create$6({
20061
20089
  fullAddress: "\u5317\u4EAC\u5E02\u901A\u5DDE\u533A\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5\u6D4B\u8BD5"
20062
20090
  });
20063
20091
  const trowelData = () => {
20064
- console.log("props.data", props.data);
20065
- if (Object.keys(props.dataMapOptions).length > 0 && props.data.length > 0) {
20092
+ if (Object.keys(props.dataMapOptions).length > 0) {
20066
20093
  dataArray.value = props.data.map((item, index) => {
20067
20094
  return floatData(dataInfo, item, props.dataMapOptions);
20068
20095
  });
@@ -20247,7 +20274,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
20247
20274
  createElementVNode("div", {
20248
20275
  class: normalizeClass([_ctx.checkIndex == index ? "nut-category__cateListItemChecked" : "nut-category__cateListItem"]),
20249
20276
  onClick: ($event) => _ctx.getChildList(index)
20250
- }, toDisplayString(item.catName), 11, _hoisted_4$5)
20277
+ }, toDisplayString(item == null ? void 0 : item.catName), 11, _hoisted_4$5)
20251
20278
  ]);
20252
20279
  }), 128))
20253
20280
  ])) : createCommentVNode("", true),
@@ -20256,7 +20283,6 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
20256
20283
  ]);
20257
20284
  }
20258
20285
  var Category = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5]]);
20259
- var index_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => "@-webkit-keyframes nutFadeIn {\nfrom {\n opacity: 0;\n}\nto {\n opacity: 1;\n}\n}\n@keyframes nutFadeIn {\nfrom {\n opacity: 0;\n}\nto {\n opacity: 1;\n}\n}\n@-webkit-keyframes nutFadeOut {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n@keyframes nutFadeOut {\nfrom {\n opacity: 1;\n}\nto {\n opacity: 0;\n}\n}\n.nutFade-enter-active,\n.nutFadeIn,\n.nutFade-leave-active,\n.nutFadeOut {\n -webkit-animation-duration: 0.25s;\n animation-duration: 0.25s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n}\n.nutFade-enter-active,\n.nutFadeIn {\n -webkit-animation-name: nutFadeIn;\n animation-name: nutFadeIn;\n}\n.nutFade-leave-active,\n.nutFadeOut {\n -webkit-animation-name: nutFadeOut;\n animation-name: nutFadeOut;\n}\n@-webkit-keyframes nutZoomIn {\nfrom {\n opacity: 0;\n -webkit-transform: scale3d(0.3, 0.3, 0.3);\n transform: scale3d(0.3, 0.3, 0.3);\n}\n50% {\n opacity: 1;\n}\n}\n@keyframes nutZoomIn {\nfrom {\n opacity: 0;\n -webkit-transform: scale3d(0.3, 0.3, 0.3);\n transform: scale3d(0.3, 0.3, 0.3);\n}\n50% {\n opacity: 1;\n}\n}\n@-webkit-keyframes nutZoomOut {\nfrom {\n opacity: 1;\n}\n50% {\n opacity: 0;\n -webkit-transform: scale3d(0.3, 0.3, 0.3);\n transform: scale3d(0.3, 0.3, 0.3);\n}\nto {\n opacity: 0;\n}\n}\n@keyframes nutZoomOut {\nfrom {\n opacity: 1;\n}\n50% {\n opacity: 0;\n -webkit-transform: scale3d(0.3, 0.3, 0.3);\n transform: scale3d(0.3, 0.3, 0.3);\n}\nto {\n opacity: 0;\n}\n}\n.nutZoom-enter-active,\n.nutZoomIn,\n.nutZoom-leave-active,\n.nutZoomOut {\n -webkit-animation-duration: 0.25s;\n animation-duration: 0.25s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n}\n.nutZoom-enter-active,\n.nutZoomIn {\n -webkit-animation-name: nutZoomIn;\n animation-name: nutZoomIn;\n}\n.nutZoom-leave-active,\n.nutZoomOut {\n -webkit-animation-name: nutZoomOut;\n animation-name: nutZoomOut;\n}\n@-webkit-keyframes nutEaseIn {\n0% {\n opacity: 0;\n -webkit-transform: scale(0.9);\n transform: scale(0.9);\n}\n100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n@keyframes nutEaseIn {\n0% {\n opacity: 0;\n -webkit-transform: scale(0.9);\n transform: scale(0.9);\n}\n100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n@-webkit-keyframes nutEaseOut {\n0% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n100% {\n opacity: 0;\n -webkit-transform: scale(0.9);\n transform: scale(0.9);\n}\n}\n@keyframes nutEaseOut {\n0% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n100% {\n opacity: 0;\n -webkit-transform: scale(0.9);\n transform: scale(0.9);\n}\n}\n.nutEase-enter-active,\n.nutEaseIn,\n.nutEase-leave-active,\n.nutEaseOut {\n -webkit-animation-duration: 0.25s;\n animation-duration: 0.25s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n}\n.nutEase-enter-active,\n.nutEaseIn {\n -webkit-animation-name: nutEaseIn;\n animation-name: nutEaseIn;\n}\n.nutEase-leave-active,\n.nutEaseOut {\n -webkit-animation-name: nutEaseOut;\n animation-name: nutEaseOut;\n}\n@-webkit-keyframes nutDropIn {\n0% {\n opacity: 0;\n -webkit-transform: scaleY(0.8);\n transform: scaleY(0.8);\n}\n100% {\n opacity: 1;\n -webkit-transform: scaleY(1);\n transform: scaleY(1);\n}\n}\n@keyframes nutDropIn {\n0% {\n opacity: 0;\n -webkit-transform: scaleY(0.8);\n transform: scaleY(0.8);\n}\n100% {\n opacity: 1;\n -webkit-transform: scaleY(1);\n transform: scaleY(1);\n}\n}\n@-webkit-keyframes nutDropOut {\n0% {\n opacity: 1;\n -webkit-transform: scaleY(1);\n transform: scaleY(1);\n}\n100% {\n opacity: 0;\n -webkit-transform: scaleY(0.8);\n transform: scaleY(0.8);\n}\n}\n@keyframes nutDropOut {\n0% {\n opacity: 1;\n -webkit-transform: scaleY(1);\n transform: scaleY(1);\n}\n100% {\n opacity: 0;\n -webkit-transform: scaleY(0.8);\n transform: scaleY(0.8);\n}\n}\n.nutDrop-enter-active,\n.nutDropIn,\n.nutDrop-leave-active,\n.nutDropOut {\n -webkit-animation-duration: 0.25s;\n animation-duration: 0.25s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n}\n.nutDrop-enter-active,\n.nutDropIn {\n -webkit-animation-name: nutDropIn;\n animation-name: nutDropIn;\n}\n.nutDrop-leave-active,\n.nutDropOut {\n -webkit-animation-name: nutDropOut;\n animation-name: nutDropOut;\n}\n@-webkit-keyframes rotation {\n0% {\n -webkit-transform: rotate(0deg);\n}\n100% {\n -webkit-transform: rotate(360deg);\n}\n}\n@keyframes rotation {\n0% {\n -webkit-transform: rotate(0deg);\n}\n100% {\n -webkit-transform: rotate(360deg);\n}\n}\n.nutRotate-enter-active,\n.nutRotateIn,\n.nutRotate-leave-active,\n.nutRotateOut {\n -webkit-animation-duration: 0.25s;\n animation-duration: 0.25s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n -webkit-animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n animation-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);\n}\n.nutRotate-enter-active,\n.nutRotateIn {\n -webkit-animation-name: nutRotateIn;\n animation-name: nutRotateIn;\n}\n.nutRotate-leave-active,\n.nutRotateOut {\n -webkit-animation-name: nutRotateOut;\n animation-name: nutRotateOut;\n}\n@-webkit-keyframes nutJump {\nto {\n -webkit-transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n}\n}\n@keyframes nutJump {\nto {\n -webkit-transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n}\n}\n@-webkit-keyframes nutJumpOne {\n50% {\n -webkit-transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n}\n100% {\n -webkit-transform: scale3d(1, 1, 1) translateY(0);\n transform: scale3d(1, 1, 1) translateY(0);\n}\n}\n@keyframes nutJumpOne {\n50% {\n -webkit-transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n transform: scale3d(0.8, 1, 0.9) translateY(-10px);\n}\n100% {\n -webkit-transform: scale3d(1, 1, 1) translateY(0);\n transform: scale3d(1, 1, 1) translateY(0);\n}\n}\n@-webkit-keyframes nutBlink {\n0% {\n opacity: 0;\n}\n100% {\n opacity: 1;\n}\n}\n@keyframes nutBlink {\n0% {\n opacity: 0;\n}\n100% {\n opacity: 1;\n}\n}\n@-webkit-keyframes nutBreathe {\nfrom, to {\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n50% {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n}\n}\n@keyframes nutBreathe {\nfrom, to {\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n50% {\n -webkit-transform: scale(1.2);\n transform: scale(1.2);\n}\n}\n@-webkit-keyframes nutFlash {\nfrom, 50%, to {\n opacity: 1;\n}\n25%, 75% {\n opacity: 0;\n}\n}\n@keyframes nutFlash {\nfrom, 50%, to {\n opacity: 1;\n}\n25%, 75% {\n opacity: 0;\n}\n}\n@-webkit-keyframes nutBounce {\nfrom, 20%, 53%, to {\n -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n}\n40%, 43% {\n -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n -webkit-transform: translate3d(0, -30px, 0) scaleY(1.1);\n transform: translate3d(0, -30px, 0) scaleY(1.1);\n}\n70% {\n -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n -webkit-transform: translate3d(0, -15px, 0) scaleY(1.05);\n transform: translate3d(0, -15px, 0) scaleY(1.05);\n}\n80% {\n -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n -webkit-transform: translate3d(0, 0, 0) scaleY(0.95);\n transform: translate3d(0, 0, 0) scaleY(0.95);\n}\n90% {\n -webkit-transform: translate3d(0, -4px, 0) scaleY(1.02);\n transform: translate3d(0, -4px, 0) scaleY(1.02);\n}\n}\n@keyframes nutBounce {\nfrom, 20%, 53%, to {\n -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n}\n40%, 43% {\n -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n -webkit-transform: translate3d(0, -30px, 0) scaleY(1.1);\n transform: translate3d(0, -30px, 0) scaleY(1.1);\n}\n70% {\n -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n -webkit-transform: translate3d(0, -15px, 0) scaleY(1.05);\n transform: translate3d(0, -15px, 0) scaleY(1.05);\n}\n80% {\n -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n -webkit-transform: translate3d(0, 0, 0) scaleY(0.95);\n transform: translate3d(0, 0, 0) scaleY(0.95);\n}\n90% {\n -webkit-transform: translate3d(0, -4px, 0) scaleY(1.02);\n transform: translate3d(0, -4px, 0) scaleY(1.02);\n}\n}\n@-webkit-keyframes nutShake {\n0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n6.5% {\n -webkit-transform: translateX(-6px) rotateY(-9deg);\n transform: translateX(-6px) rotateY(-9deg);\n}\n18.5% {\n -webkit-transform: translateX(5px) rotateY(7deg);\n transform: translateX(5px) rotateY(7deg);\n}\n31.5% {\n -webkit-transform: translateX(-3px) rotateY(-5deg);\n transform: translateX(-3px) rotateY(-5deg);\n}\n43.5% {\n -webkit-transform: translateX(2px) rotateY(3deg);\n transform: translateX(2px) rotateY(3deg);\n}\n50% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n}\n@keyframes nutShake {\n0% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n6.5% {\n -webkit-transform: translateX(-6px) rotateY(-9deg);\n transform: translateX(-6px) rotateY(-9deg);\n}\n18.5% {\n -webkit-transform: translateX(5px) rotateY(7deg);\n transform: translateX(5px) rotateY(7deg);\n}\n31.5% {\n -webkit-transform: translateX(-3px) rotateY(-5deg);\n transform: translateX(-3px) rotateY(-5deg);\n}\n43.5% {\n -webkit-transform: translateX(2px) rotateY(3deg);\n transform: translateX(2px) rotateY(3deg);\n}\n50% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n}\n.nut-categorypane__cateList {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n background: rgb(255, 255, 255);\n}\n.nut-categorypane__cateListLeft {\n background: rgb(246, 247, 249);\n}\n.nut-categorypane__cateListItemChecked, .nut-categorypane__cateListItem {\n width: 100px;\n height: 50px;\n font-size: 13px;\n font-family: PingFangSC;\n font-weight: normal;\n color: rgb(51, 51, 51);\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-transition: all 0.3s;\n transition: all 0.3s;\n}\n.nut-categorypane__cateListItemChecked {\n background: rgb(255, 255, 255);\n font-weight: 500;\n -webkit-transition: all 0.3s;\n transition: all 0.3s;\n}\n.nut-categorypane__cateListRight {\n padding-left: 15px;\n background: rgb(255, 255, 255);\n}\n.nut-categorypane__childTitle {\n margin-top: 15px;\n margin-bottom: 15px;\n font-size: 13px;\n font-family: PingFangSC;\n font-weight: 500;\n color: rgb(51, 51, 51);\n}\n.nut-categorypane__childItemList {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.nut-categorypane__childItem {\n margin-right: 10px;\n}\n.nut-categorypane__childImg {\n width: 75px;\n height: 75px;\n border-radius: 5px;\n}\n.nut-categorypane__skuName {\n margin-right: 10px;\n width: 75px;\n height: 40px;\n border: 1px solid rgb(153, 153, 153);\n border-radius: 5px;\n font-size: 12px;\n font-family: PingFangSC;\n font-weight: normal;\n color: rgb(102, 102, 102);\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.nut-categorypane__skuName:nth-child(3n) {\n margin-right: 0;\n}\n.nut-categorypane__skuName:nth-child(n+4) {\n margin-top: 15px;\n}\n.nut-categorypane__skuImg {\n font-size: 12px;\n font-family: PingFangSC;\n font-weight: normal;\n color: rgb(102, 102, 102);\n margin-top: 10px;\n margin-bottom: 10px;\n text-align: center;\n}\n.nut-categorypane__selfItemList {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.nut-categorypane__selfskuName {\n margin-left: 15px;\n margin-top: 15px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 75px;\n height: 40px;\n border: 1px solid rgb(153, 153, 153);\n border-radius: 5px;\n font-size: 12px;\n font-family: PingFangSC;\n font-weight: normal;\n color: rgb(102, 102, 102);\n}\n.nut-categorypane__skuName {\n margin-left: 15px;\n margin-top: 15px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 75px;\n height: 40px;\n border: 1px solid rgb(153, 153, 153);\n border-radius: 5px;\n font-size: 12px;\n font-family: PingFangSC;\n font-weight: normal;\n color: rgb(102, 102, 102);\n}")();
20260
20286
  const { componentName: componentName$4, create: create$4 } = createComponent("categorypane");
20261
20287
  const _sfc_main$4 = create$4({
20262
20288
  props: {
@@ -20310,13 +20336,14 @@ const _hoisted_13 = {
20310
20336
  key: 2,
20311
20337
  class: "nut-categorypane__selfItemList"
20312
20338
  };
20339
+ const _hoisted_14 = ["onClick"];
20313
20340
  function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
20314
20341
  return openBlock(), createElementBlock("div", _hoisted_1$4, [
20315
20342
  _ctx.type == "classify" ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
20316
20343
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index) => {
20317
20344
  return openBlock(), createElementBlock("div", { key: index }, [
20318
- createElementVNode("div", _hoisted_3$4, toDisplayString(item.catName), 1),
20319
- item.catType == 1 ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
20345
+ createElementVNode("div", _hoisted_3$4, toDisplayString(item == null ? void 0 : item.catName), 1),
20346
+ (item == null ? void 0 : item.catType) == 1 ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
20320
20347
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
20321
20348
  return openBlock(), createElementBlock("div", {
20322
20349
  class: "nut-categorypane__childItem",
@@ -20327,7 +20354,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
20327
20354
  class: "nut-categorypane__childImg",
20328
20355
  src: sku.backImg
20329
20356
  }, null, 8, _hoisted_6$1),
20330
- createElementVNode("div", _hoisted_7, toDisplayString(sku.catName), 1)
20357
+ createElementVNode("div", _hoisted_7, toDisplayString(sku == null ? void 0 : sku.catName), 1)
20331
20358
  ], 8, _hoisted_5$2);
20332
20359
  }), 128))
20333
20360
  ])) : createCommentVNode("", true)
@@ -20337,15 +20364,15 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
20337
20364
  _ctx.type == "text" ? (openBlock(), createElementBlock("div", _hoisted_8, [
20338
20365
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index) => {
20339
20366
  return openBlock(), createElementBlock("div", { key: index }, [
20340
- createElementVNode("div", _hoisted_9, toDisplayString(item.catName), 1),
20341
- item.catType == 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
20367
+ createElementVNode("div", _hoisted_9, toDisplayString(item == null ? void 0 : item.catName), 1),
20368
+ (item == null ? void 0 : item.catType) == 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
20342
20369
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
20343
20370
  return openBlock(), createElementBlock("div", {
20344
20371
  class: "nut-categorypane__childItem",
20345
20372
  key,
20346
20373
  onClick: ($event) => _ctx.onChange(sku)
20347
20374
  }, [
20348
- createElementVNode("div", _hoisted_12, toDisplayString(sku.catName), 1)
20375
+ createElementVNode("div", _hoisted_12, toDisplayString(sku == null ? void 0 : sku.catName), 1)
20349
20376
  ], 8, _hoisted_11);
20350
20377
  }), 128))
20351
20378
  ])) : createCommentVNode("", true)
@@ -20357,8 +20384,8 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
20357
20384
  return openBlock(), createElementBlock("div", {
20358
20385
  class: "nut-categorypane__skuName",
20359
20386
  key,
20360
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.onChange())
20361
- }, toDisplayString(sku.catName), 1);
20387
+ onClick: ($event) => _ctx.onChange(sku)
20388
+ }, toDisplayString(sku == null ? void 0 : sku.catName), 9, _hoisted_14);
20362
20389
  }), 128))
20363
20390
  ])) : createCommentVNode("", true)
20364
20391
  ]);
@@ -20805,6 +20832,6 @@ function install(app) {
20805
20832
  }
20806
20833
  });
20807
20834
  }
20808
- const version = "3.1.23-beta.5";
20835
+ const version = "3.2.1";
20809
20836
  var nutui_vue_build = { install, version, Locale };
20810
20837
  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 };