@nutui/nutui 3.1.23-beta.0 → 3.1.23-beta.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 (135) hide show
  1. package/dist/nutui.es.js +69 -75
  2. package/dist/nutui.umd.js +69 -75
  3. package/dist/packages/_es/ActionSheet.js +1 -1
  4. package/dist/packages/_es/Address.js +1 -1
  5. package/dist/packages/_es/AddressList.js +1 -1
  6. package/dist/packages/_es/Animate.js +1 -1
  7. package/dist/packages/_es/Audio.js +1 -1
  8. package/dist/packages/_es/AudioOperate.js +1 -1
  9. package/dist/packages/_es/Avatar.js +1 -1
  10. package/dist/packages/_es/AvatarGroup.js +1 -1
  11. package/dist/packages/_es/BackTop.js +1 -1
  12. package/dist/packages/_es/Badge.js +1 -1
  13. package/dist/packages/_es/Barrage.js +1 -1
  14. package/dist/packages/_es/Button.js +1 -1
  15. package/dist/packages/_es/Calendar.js +1 -1
  16. package/dist/packages/_es/CalendarItem.js +1 -1
  17. package/dist/packages/_es/Card.js +1 -1
  18. package/dist/packages/_es/Cascader.js +1 -1
  19. package/dist/packages/_es/Category.js +1 -1
  20. package/dist/packages/_es/CategoryPane.js +1 -1
  21. package/dist/packages/_es/Cell.js +1 -1
  22. package/dist/packages/_es/CellGroup.js +1 -1
  23. package/dist/packages/_es/Checkbox.js +1 -1
  24. package/dist/packages/_es/CheckboxGroup.js +1 -1
  25. package/dist/packages/_es/CircleProgress.js +1 -1
  26. package/dist/packages/_es/Col.js +1 -1
  27. package/dist/packages/_es/Collapse.js +1 -1
  28. package/dist/packages/_es/CollapseItem.js +1 -1
  29. package/dist/packages/_es/Comment.js +1 -1
  30. package/dist/packages/_es/ConfigProvider.js +1 -1
  31. package/dist/packages/_es/CountDown.js +1 -1
  32. package/dist/packages/_es/CountUp.js +1 -1
  33. package/dist/packages/_es/DatePicker.js +1 -1
  34. package/dist/packages/_es/Dialog.js +1 -1
  35. package/dist/packages/_es/Divider.js +1 -1
  36. package/dist/packages/_es/Drag.js +1 -1
  37. package/dist/packages/_es/Ecard.js +1 -1
  38. package/dist/packages/_es/Elevator.js +1 -1
  39. package/dist/packages/_es/Ellipsis.js +1 -1
  40. package/dist/packages/_es/Empty.js +1 -1
  41. package/dist/packages/_es/FixedNav.js +1 -1
  42. package/dist/packages/_es/Form.js +1 -1
  43. package/dist/packages/_es/FormItem.js +1 -1
  44. package/dist/packages/_es/Grid.js +1 -1
  45. package/dist/packages/_es/GridItem.js +1 -1
  46. package/dist/packages/_es/Icon.js +1 -1
  47. package/dist/packages/_es/Image.js +1 -1
  48. package/dist/packages/_es/ImagePreview.js +1 -1
  49. package/dist/packages/_es/Indicator.js +1 -1
  50. package/dist/packages/_es/InfiniteLoading.js +1 -1
  51. package/dist/packages/_es/Input.js +1 -1
  52. package/dist/packages/_es/InputNumber.js +1 -1
  53. package/dist/packages/_es/Layout.js +1 -1
  54. package/dist/packages/_es/List.js +1 -1
  55. package/dist/packages/_es/Menu.js +1 -1
  56. package/dist/packages/_es/MenuItem.js +1 -1
  57. package/dist/packages/_es/Navbar.js +1 -1
  58. package/dist/packages/_es/NoticeBar.js +1 -1
  59. package/dist/packages/_es/Notify.js +1 -1
  60. package/dist/packages/_es/NumberKeyboard.js +1 -1
  61. package/dist/packages/_es/OldPicker.js +1 -1
  62. package/dist/packages/_es/OverLay.js +1 -1
  63. package/dist/packages/_es/Pagination.js +1 -1
  64. package/dist/packages/_es/Picker.js +34 -40
  65. package/dist/packages/_es/Popover.js +1 -1
  66. package/dist/packages/_es/Popup.js +1 -1
  67. package/dist/packages/_es/Price.js +1 -1
  68. package/dist/packages/_es/Progress.js +1 -1
  69. package/dist/packages/_es/PullRefresh.js +1 -1
  70. package/dist/packages/_es/Radio.js +1 -1
  71. package/dist/packages/_es/RadioGroup.js +1 -1
  72. package/dist/packages/_es/Range.js +1 -1
  73. package/dist/packages/_es/Rate.js +1 -1
  74. package/dist/packages/_es/Row.js +1 -1
  75. package/dist/packages/_es/SearchBar.js +1 -1
  76. package/dist/packages/_es/ShortPassword.js +1 -1
  77. package/dist/packages/_es/SideNavBar.js +1 -1
  78. package/dist/packages/_es/SideNavBarItem.js +1 -1
  79. package/dist/packages/_es/Signature.js +1 -1
  80. package/dist/packages/_es/Skeleton.js +1 -1
  81. package/dist/packages/_es/Sku.js +1 -1
  82. package/dist/packages/_es/Step.js +1 -1
  83. package/dist/packages/_es/Steps.js +1 -1
  84. package/dist/packages/_es/Sticky.js +1 -1
  85. package/dist/packages/_es/SubSideNavBar.js +1 -1
  86. package/dist/packages/_es/Swipe.js +1 -1
  87. package/dist/packages/_es/Swiper.js +1 -1
  88. package/dist/packages/_es/SwiperItem.js +1 -1
  89. package/dist/packages/_es/Switch.js +1 -1
  90. package/dist/packages/_es/TabPane.js +1 -1
  91. package/dist/packages/_es/Tabbar.js +1 -1
  92. package/dist/packages/_es/TabbarItem.js +1 -1
  93. package/dist/packages/_es/Table.js +1 -1
  94. package/dist/packages/_es/Tabs.js +1 -1
  95. package/dist/packages/_es/Tag.js +1 -1
  96. package/dist/packages/_es/TextArea.js +1 -1
  97. package/dist/packages/_es/TimeDetail.js +1 -1
  98. package/dist/packages/_es/TimePannel.js +1 -1
  99. package/dist/packages/_es/TimeSelect.js +1 -1
  100. package/dist/packages/_es/Toast.js +1 -1
  101. package/dist/packages/_es/Uploader.js +1 -1
  102. package/dist/packages/_es/Video.js +1 -1
  103. package/dist/packages/_es/common.js +1 -1
  104. package/dist/packages/_es/component.js +1 -1
  105. package/dist/packages/_es/index.js +1 -1
  106. package/dist/packages/_es/index2.js +1 -1
  107. package/dist/packages/_es/index3.js +1 -1
  108. package/dist/packages/_es/index4.js +1 -1
  109. package/dist/packages/_es/index5.js +1 -1
  110. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  111. package/dist/packages/_es/pxCheck.js +1 -1
  112. package/dist/packages/_es/raf.js +1 -1
  113. package/dist/packages/locale/lang/baseLang.js +1 -1
  114. package/dist/packages/locale/lang/en-US.js +1 -1
  115. package/dist/packages/locale/lang/id-ID.js +1 -1
  116. package/dist/packages/locale/lang/index.js +1 -1
  117. package/dist/packages/locale/lang/zh-CN.js +1 -1
  118. package/dist/packages/locale/lang/zh-TW.js +1 -1
  119. package/dist/packages/picker/index.scss +13 -0
  120. package/dist/smartips/web-types.json +1 -1
  121. package/dist/style.css +1 -1
  122. package/dist/style.es.js +1 -1
  123. package/dist/styles/themes/default.scss +53 -53
  124. package/dist/styles/themes/jdb.scss +53 -53
  125. package/dist/styles/themes/jdt.scss +53 -53
  126. package/dist/styles/variables-jdb.scss +1 -1
  127. package/dist/styles/variables-jdt.scss +1 -1
  128. package/dist/styles/variables.scss +1 -1
  129. package/dist/types/__VUE/divider/index.vue.d.ts +2 -2
  130. package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
  131. package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -1
  132. package/dist/types/__VUE/range/index.vue.d.ts +1 -1
  133. package/dist/types/__VUE/tabbar/index.vue.d.ts +2 -2
  134. package/dist/types/index.d.ts +1 -1
  135. package/package.json +1 -1
package/dist/nutui.umd.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:38:58 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -525,7 +525,7 @@
525
525
  key: 0,
526
526
  class: "nut-cell__icon"
527
527
  };
528
- const _hoisted_2$14 = {
528
+ const _hoisted_2$13 = {
529
529
  key: 1,
530
530
  class: "nut-cell__title"
531
531
  };
@@ -548,7 +548,7 @@
548
548
  }, null, 8, ["name"])) : vue.createCommentVNode("", true)
549
549
  ])
550
550
  ])) : vue.createCommentVNode("", true),
551
- _ctx.title || _ctx.subTitle || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$14, [
551
+ _ctx.title || _ctx.subTitle || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$13, [
552
552
  _ctx.subTitle ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
553
553
  vue.renderSlot(_ctx.$slots, "title", {}, () => [
554
554
  vue.createElementVNode("view", _hoisted_3$P, vue.toDisplayString(_ctx.title), 1)
@@ -644,7 +644,7 @@
644
644
  key: 1,
645
645
  class: "nut-cell-group__title"
646
646
  };
647
- const _hoisted_2$13 = {
647
+ const _hoisted_2$12 = {
648
648
  key: 3,
649
649
  class: "nut-cell-group__desc"
650
650
  };
@@ -654,7 +654,7 @@
654
654
  class: vue.normalizeClass(_ctx.classes)
655
655
  }, [
656
656
  _ctx.$slots.title ? vue.renderSlot(_ctx.$slots, "title", { key: 0 }) : _ctx.title ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$1j, vue.toDisplayString(_ctx.title), 1)) : vue.createCommentVNode("", true),
657
- _ctx.$slots.desc ? vue.renderSlot(_ctx.$slots, "desc", { key: 2 }) : _ctx.desc ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$13, vue.toDisplayString(_ctx.desc), 1)) : vue.createCommentVNode("", true),
657
+ _ctx.$slots.desc ? vue.renderSlot(_ctx.$slots, "desc", { key: 2 }) : _ctx.desc ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$12, vue.toDisplayString(_ctx.desc), 1)) : vue.createCommentVNode("", true),
658
658
  vue.createElementVNode("view", _hoisted_3$O, [
659
659
  vue.renderSlot(_ctx.$slots, "default")
660
660
  ])
@@ -1155,7 +1155,7 @@
1155
1155
  }
1156
1156
  });
1157
1157
  const _hoisted_1$1h = ["src", "alt"];
1158
- const _hoisted_2$12 = {
1158
+ const _hoisted_2$11 = {
1159
1159
  key: 0,
1160
1160
  class: "nut-img-loading"
1161
1161
  };
@@ -1178,7 +1178,7 @@
1178
1178
  onError: _cache[1] || (_cache[1] = (...args) => _ctx.error && _ctx.error(...args)),
1179
1179
  style: vue.normalizeStyle(_ctx.styles)
1180
1180
  }, null, 44, _hoisted_1$1h),
1181
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$12, [
1181
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$11, [
1182
1182
  !_ctx.slotLoding ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
1183
1183
  key: 0,
1184
1184
  name: "image"
@@ -1883,7 +1883,7 @@
1883
1883
  class: "nut-navbar--placeholder",
1884
1884
  ref: "navBarWrap"
1885
1885
  };
1886
- const _hoisted_2$11 = {
1886
+ const _hoisted_2$10 = {
1887
1887
  key: 1,
1888
1888
  class: "nut-navbar__text"
1889
1889
  };
@@ -1918,7 +1918,7 @@
1918
1918
  color: "#979797",
1919
1919
  name: "left"
1920
1920
  })) : vue.createCommentVNode("", true),
1921
- _ctx.leftText ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$11, vue.toDisplayString(_ctx.leftText), 1)) : vue.createCommentVNode("", true),
1921
+ _ctx.leftText ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$10, vue.toDisplayString(_ctx.leftText), 1)) : vue.createCommentVNode("", true),
1922
1922
  vue.renderSlot(_ctx.$slots, "left")
1923
1923
  ]),
1924
1924
  vue.createElementVNode("view", _hoisted_3$M, [
@@ -2047,7 +2047,7 @@
2047
2047
  }
2048
2048
  });
2049
2049
  const _hoisted_1$1e = { class: "nut-fixednav__list" };
2050
- const _hoisted_2$10 = ["onClick"];
2050
+ const _hoisted_2$$ = ["onClick"];
2051
2051
  const _hoisted_3$L = ["src"];
2052
2052
  const _hoisted_4$C = { class: "span" };
2053
2053
  const _hoisted_5$s = {
@@ -2081,7 +2081,7 @@
2081
2081
  }, null, 8, _hoisted_3$L),
2082
2082
  vue.createElementVNode("view", _hoisted_4$C, vue.toDisplayString(item.text), 1),
2083
2083
  item.num ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$s, vue.toDisplayString(item.num), 1)) : vue.createCommentVNode("", true)
2084
- ], 8, _hoisted_2$10);
2084
+ ], 8, _hoisted_2$$);
2085
2085
  }), 128))
2086
2086
  ])
2087
2087
  ]),
@@ -2230,7 +2230,7 @@
2230
2230
  }
2231
2231
  });
2232
2232
  const _hoisted_1$1d = ["onClick"];
2233
- const _hoisted_2$$ = { class: "nut-menu__title-text" };
2233
+ const _hoisted_2$_ = { class: "nut-menu__title-text" };
2234
2234
  function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
2235
2235
  const _component_nut_icon = vue.resolveComponent("nut-icon");
2236
2236
  return vue.openBlock(), vue.createElementBlock("view", {
@@ -2250,7 +2250,7 @@
2250
2250
  vue.createElementVNode("view", {
2251
2251
  class: vue.normalizeClass(["nut-menu__title", _ctx.getClasses(item.state.showPopup)])
2252
2252
  }, [
2253
- vue.createElementVNode("view", _hoisted_2$$, vue.toDisplayString(item.renderTitle()), 1),
2253
+ vue.createElementVNode("view", _hoisted_2$_, vue.toDisplayString(item.renderTitle()), 1),
2254
2254
  vue.createVNode(_component_nut_icon, {
2255
2255
  name: item.titleIcon || (_ctx.direction === "up" ? "arrow-up" : "down-arrow"),
2256
2256
  size: "10",
@@ -2372,7 +2372,7 @@
2372
2372
  }
2373
2373
  });
2374
2374
  const _hoisted_1$1c = { class: "nut-menu-item__content" };
2375
- const _hoisted_2$_ = ["onClick"];
2375
+ const _hoisted_2$Z = ["onClick"];
2376
2376
  function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
2377
2377
  const _component_nut_icon = vue.resolveComponent("nut-icon");
2378
2378
  const _component_nut_popup = vue.resolveComponent("nut-popup");
@@ -2419,7 +2419,7 @@
2419
2419
  vue.createElementVNode("view", {
2420
2420
  style: vue.normalizeStyle({ color: option.value === _ctx.modelValue ? _ctx.parent.props.activeColor : "" })
2421
2421
  }, vue.toDisplayString(option.text), 5)
2422
- ], 14, _hoisted_2$_);
2422
+ ], 14, _hoisted_2$Z);
2423
2423
  }), 128)),
2424
2424
  vue.renderSlot(_ctx.$slots, "default")
2425
2425
  ])
@@ -2591,7 +2591,7 @@
2591
2591
  }
2592
2592
  });
2593
2593
  const _hoisted_1$1b = { class: "nut-tabbar-item_icon-box" };
2594
- const _hoisted_2$Z = {
2594
+ const _hoisted_2$Y = {
2595
2595
  key: 0,
2596
2596
  class: "nut-tabbar-item_icon-box_tips nut-tabbar-item_icon-box_num"
2597
2597
  };
@@ -2616,7 +2616,7 @@
2616
2616
  }, [
2617
2617
  vue.createElementVNode("view", _hoisted_1$1b, [
2618
2618
  !_ctx.dot ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
2619
- _ctx.num && _ctx.num <= 99 ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$Z, vue.toDisplayString(_ctx.num), 1)) : _ctx.num && _ctx.num > 100 ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$K, vue.toDisplayString("99+"))) : vue.createCommentVNode("", true)
2619
+ _ctx.num && _ctx.num <= 99 ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$Y, vue.toDisplayString(_ctx.num), 1)) : _ctx.num && _ctx.num > 100 ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$K, vue.toDisplayString("99+"))) : vue.createCommentVNode("", true)
2620
2620
  ], 64)) : vue.createCommentVNode("", true),
2621
2621
  _ctx.dot ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$B)) : vue.createCommentVNode("", true),
2622
2622
  _ctx.icon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$r, [
@@ -2828,7 +2828,7 @@
2828
2828
  }
2829
2829
  });
2830
2830
  const _hoisted_1$1a = { class: "nut-elevator__list__item__code" };
2831
- const _hoisted_2$Y = ["onClick"];
2831
+ const _hoisted_2$X = ["onClick"];
2832
2832
  const _hoisted_3$J = ["innerHTML"];
2833
2833
  const _hoisted_4$A = { class: "fixed-title" };
2834
2834
  const _hoisted_5$q = { class: "nut-elevator__bars__inner" };
@@ -2864,7 +2864,7 @@
2864
2864
  key: 1,
2865
2865
  item: subitem
2866
2866
  })
2867
- ], 10, _hoisted_2$Y);
2867
+ ], 10, _hoisted_2$X);
2868
2868
  }), 128))
2869
2869
  ], 512);
2870
2870
  }), 128)),
@@ -3012,7 +3012,7 @@
3012
3012
  }
3013
3013
  });
3014
3014
  const _hoisted_1$19 = { class: "nut-pagination" };
3015
- const _hoisted_2$X = {
3015
+ const _hoisted_2$W = {
3016
3016
  key: 0,
3017
3017
  class: "nut-pagination-contain"
3018
3018
  };
@@ -3032,7 +3032,7 @@
3032
3032
  vue.createTextVNode(vue.toDisplayString(_ctx.prevText || _ctx.translate("prev")), 1)
3033
3033
  ])
3034
3034
  ], 2),
3035
- _ctx.mode == "multi" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$X, [
3035
+ _ctx.mode == "multi" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$W, [
3036
3036
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.pages, (item, index) => {
3037
3037
  return vue.openBlock(), vue.createElementBlock("view", {
3038
3038
  key: index + "pagination",
@@ -3411,7 +3411,7 @@
3411
3411
  }
3412
3412
  });
3413
3413
  const _hoisted_1$17 = { class: "nut-sidenavbar__content" };
3414
- const _hoisted_2$W = {
3414
+ const _hoisted_2$V = {
3415
3415
  class: "nut-sidenavbar__content__list",
3416
3416
  ref: "list"
3417
3417
  };
@@ -3420,7 +3420,7 @@
3420
3420
  class: vue.normalizeClass(_ctx.classes)
3421
3421
  }, [
3422
3422
  vue.createElementVNode("view", _hoisted_1$17, [
3423
- vue.createElementVNode("view", _hoisted_2$W, [
3423
+ vue.createElementVNode("view", _hoisted_2$V, [
3424
3424
  vue.renderSlot(_ctx.$slots, "default")
3425
3425
  ], 512)
3426
3426
  ])
@@ -3457,14 +3457,14 @@
3457
3457
  }
3458
3458
  });
3459
3459
  const _hoisted_1$16 = ["ikey"];
3460
- const _hoisted_2$V = { class: "nut-sidenavbaritem__title" };
3460
+ const _hoisted_2$U = { class: "nut-sidenavbaritem__title" };
3461
3461
  function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
3462
3462
  return vue.openBlock(), vue.createElementBlock("view", {
3463
3463
  class: "nut-sidenavbaritem",
3464
3464
  onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => _ctx.handleClick && _ctx.handleClick(...args), ["stop"])),
3465
3465
  ikey: _ctx.ikey
3466
3466
  }, [
3467
- vue.createElementVNode("span", _hoisted_2$V, vue.toDisplayString(_ctx.title), 1)
3467
+ vue.createElementVNode("span", _hoisted_2$U, vue.toDisplayString(_ctx.title), 1)
3468
3468
  ], 8, _hoisted_1$16);
3469
3469
  }
3470
3470
  var SideNavBarItem = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1h]]);
@@ -3516,7 +3516,7 @@
3516
3516
  }
3517
3517
  });
3518
3518
  const _hoisted_1$15 = ["ikey"];
3519
- const _hoisted_2$U = { class: "nut-subsidenavbar__title__text" };
3519
+ const _hoisted_2$T = { class: "nut-subsidenavbar__title__text" };
3520
3520
  const _hoisted_3$H = { class: "nut-subsidenavbar__title__icon" };
3521
3521
  function _sfc_render$1g(_ctx, _cache, $props, $setup, $data, $options) {
3522
3522
  const _component_nut_icon = vue.resolveComponent("nut-icon");
@@ -3528,7 +3528,7 @@
3528
3528
  class: "nut-subsidenavbar__title",
3529
3529
  onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => _ctx.handleClick && _ctx.handleClick(...args), ["stop"]))
3530
3530
  }, [
3531
- vue.createElementVNode("span", _hoisted_2$U, vue.toDisplayString(_ctx.title), 1),
3531
+ vue.createElementVNode("span", _hoisted_2$T, vue.toDisplayString(_ctx.title), 1),
3532
3532
  vue.createElementVNode("span", _hoisted_3$H, [
3533
3533
  vue.createVNode(_component_nut_icon, {
3534
3534
  name: "down-arrow",
@@ -3899,7 +3899,7 @@
3899
3899
  key: 0,
3900
3900
  class: "min"
3901
3901
  };
3902
- const _hoisted_2$T = {
3902
+ const _hoisted_2$S = {
3903
3903
  key: 0,
3904
3904
  class: "nut-range-mark"
3905
3905
  };
@@ -3928,7 +3928,7 @@
3928
3928
  class: vue.normalizeClass(_ctx.classes),
3929
3929
  onClick: _cache[9] || (_cache[9] = vue.withModifiers((...args) => _ctx.onClick && _ctx.onClick(...args), ["stop"]))
3930
3930
  }, [
3931
- _ctx.marksList.length > 0 ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$T, [
3931
+ _ctx.marksList.length > 0 ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$S, [
3932
3932
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.marksList, (marks) => {
3933
3933
  return vue.openBlock(), vue.createElementBlock("span", {
3934
3934
  key: marks,
@@ -4163,7 +4163,7 @@
4163
4163
  key: 0,
4164
4164
  class: "nut-searchbar__search-label"
4165
4165
  };
4166
- const _hoisted_2$S = {
4166
+ const _hoisted_2$R = {
4167
4167
  key: 1,
4168
4168
  class: "nut-searchbar__search-icon nut-searchbar__left-search-icon"
4169
4169
  };
@@ -4180,7 +4180,7 @@
4180
4180
  style: vue.normalizeStyle(_ctx.searchbarStyle)
4181
4181
  }, [
4182
4182
  _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$13, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
4183
- _ctx.$slots.leftout ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$S, [
4183
+ _ctx.$slots.leftout ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$R, [
4184
4184
  vue.renderSlot(_ctx.$slots, "leftout")
4185
4185
  ])) : vue.createCommentVNode("", true),
4186
4186
  vue.createElementVNode("view", {
@@ -4585,7 +4585,7 @@
4585
4585
  role: "menu",
4586
4586
  class: "nut-cascader-pane"
4587
4587
  };
4588
- const _hoisted_2$R = ["aria-checked", "aria-disabled", "onClick"];
4588
+ const _hoisted_2$Q = ["aria-checked", "aria-disabled", "onClick"];
4589
4589
  const _hoisted_3$E = { class: "nut-cascader-item__title" };
4590
4590
  const _hoisted_4$w = /* @__PURE__ */ vue.createElementVNode("view", { class: "nut-cascader-pane" }, null, -1);
4591
4591
  function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
@@ -4626,7 +4626,7 @@
4626
4626
  class: "nut-cascader-item__icon-check",
4627
4627
  name: "checklist"
4628
4628
  }))
4629
- ], 10, _hoisted_2$R);
4629
+ ], 10, _hoisted_2$Q);
4630
4630
  }), 128))
4631
4631
  ])
4632
4632
  ]),
@@ -5408,7 +5408,7 @@
5408
5408
  key: 0,
5409
5409
  class: "calendar-title"
5410
5410
  };
5411
- const _hoisted_2$Q = {
5411
+ const _hoisted_2$P = {
5412
5412
  key: 1,
5413
5413
  class: "calendar-top-slot"
5414
5414
  };
@@ -5459,7 +5459,7 @@
5459
5459
  class: vue.normalizeClass(["nut-calendar-header", { "nut-calendar-header-tile": !_ctx.poppable }])
5460
5460
  }, [
5461
5461
  _ctx.showTitle ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$10, vue.toDisplayString(_ctx.title || _ctx.translate("title")), 1)) : vue.createCommentVNode("", true),
5462
- _ctx.showTopBtn ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$Q, [
5462
+ _ctx.showTopBtn ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$P, [
5463
5463
  vue.renderSlot(_ctx.$slots, "btn")
5464
5464
  ])) : vue.createCommentVNode("", true),
5465
5465
  _ctx.showSubTitle ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$D, vue.toDisplayString(_ctx.yearMonthTitle), 1)) : vue.createCommentVNode("", true),
@@ -6062,6 +6062,7 @@
6062
6062
  state.touchParams.lastTime = event.timeStamp || Date.now();
6063
6063
  let move = state.touchParams.lastY - state.touchParams.startY;
6064
6064
  let moveTime = state.touchParams.lastTime - state.touchParams.startTime;
6065
+ console.log("touchEnd", move, moveTime);
6065
6066
  if (moveTime <= 300) {
6066
6067
  move = move * 2;
6067
6068
  moveTime = moveTime + 1e3;
@@ -6091,6 +6092,7 @@
6091
6092
  state.scrollDistance = translateY;
6092
6093
  };
6093
6094
  const setMove = (move, type, time) => {
6095
+ console.log("setMove");
6094
6096
  let updateMove = move + state.transformY;
6095
6097
  if (type === "end") {
6096
6098
  if (updateMove > 0) {
@@ -6109,13 +6111,23 @@
6109
6111
  state.currIndex = Math.abs(Math.round(endMove / state.lineSpacing)) + 1;
6110
6112
  } else {
6111
6113
  let deg = "0deg";
6114
+ let degNum = 0;
6112
6115
  if (updateMove < 0) {
6113
- deg = `${(Math.abs(updateMove / state.lineSpacing) + 1) * state.rotation}deg`;
6116
+ degNum = (Math.abs(updateMove / state.lineSpacing) + 1) * state.rotation;
6114
6117
  } else {
6115
- deg = `${(-updateMove / state.lineSpacing + 1) * state.rotation}deg`;
6118
+ degNum = (-updateMove / state.lineSpacing + 1) * state.rotation;
6119
+ }
6120
+ const maxDeg = (props.column.length + 1) * state.rotation;
6121
+ const minDeg = 0;
6122
+ if (degNum > maxDeg) {
6123
+ deg = `${maxDeg}deg`;
6124
+ } else if (degNum < minDeg) {
6125
+ deg = `${minDeg}deg`;
6126
+ } else {
6127
+ deg = `${degNum}deg`;
6128
+ setTransform(updateMove, null, void 0, deg);
6129
+ state.currIndex = Math.abs(Math.round(updateMove / state.lineSpacing)) + 1;
6116
6130
  }
6117
- setTransform(updateMove, null, void 0, deg);
6118
- state.currIndex = Math.abs(Math.round(updateMove / state.lineSpacing)) + 1;
6119
6131
  }
6120
6132
  };
6121
6133
  const setChooseValue = () => {
@@ -6130,17 +6142,12 @@
6130
6142
  setMove(-move);
6131
6143
  };
6132
6144
  vue.watch(() => props.column, (val) => {
6145
+ console.log("props.column\u53D8\u5316", props.column);
6133
6146
  state.transformY = 0;
6134
6147
  modifyStatus(false);
6135
6148
  }, {
6136
6149
  deep: true
6137
6150
  });
6138
- vue.watch(() => props.value, (val) => {
6139
- console.log("\u5217\u66F4\u65B0", val);
6140
- modifyStatus(true);
6141
- }, {
6142
- deep: true
6143
- });
6144
6151
  vue.onMounted(() => {
6145
6152
  modifyStatus(true);
6146
6153
  });
@@ -6162,11 +6169,7 @@
6162
6169
  };
6163
6170
  }
6164
6171
  });
6165
- const _hoisted_1$$ = { class: "nut-picker-content" };
6166
- const _hoisted_2$P = {
6167
- key: 0,
6168
- class: "nut-picker-placeholder"
6169
- };
6172
+ const _hoisted_1$$ = /* @__PURE__ */ vue.createElementVNode("view", { class: "nut-picker-roller-mask" }, null, -1);
6170
6173
  function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
6171
6174
  return vue.openBlock(), vue.createElementBlock("view", {
6172
6175
  class: "nut-picker__list",
@@ -6180,28 +6183,18 @@
6180
6183
  style: vue.normalizeStyle(_ctx.touchRollerStyle)
6181
6184
  }, [
6182
6185
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.column, (item, index) => {
6183
- return vue.openBlock(), vue.createElementBlock("view", {
6184
- class: vue.normalizeClass(["nut-picker-roller-item", { "nut-picker-roller-item-hidden": _ctx.isHidden(index + 1) }]),
6185
- style: vue.normalizeStyle(_ctx.setRollerStyle(index + 1)),
6186
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
6186
6187
  key: item.value ? item.value : index
6187
- }, vue.toDisplayString(item.text), 7);
6188
+ }, [
6189
+ item && item.text ? (vue.openBlock(), vue.createElementBlock("view", {
6190
+ key: 0,
6191
+ class: vue.normalizeClass(["nut-picker-roller-item", { "nut-picker-roller-item-hidden": _ctx.isHidden(index + 1) }]),
6192
+ style: vue.normalizeStyle(_ctx.setRollerStyle(index + 1))
6193
+ }, vue.toDisplayString(item.text), 7)) : vue.createCommentVNode("", true)
6194
+ ], 64);
6188
6195
  }), 128))
6189
6196
  ], 4),
6190
- vue.createElementVNode("view", _hoisted_1$$, [
6191
- vue.createElementVNode("view", {
6192
- class: "nut-picker-list-panel",
6193
- ref: "list",
6194
- style: vue.normalizeStyle(_ctx.touchListStyle)
6195
- }, [
6196
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.column, (item, index) => {
6197
- return vue.openBlock(), vue.createElementBlock("view", {
6198
- class: vue.normalizeClass(["nut-picker-item", "nut-picker-item-ref", item.className]),
6199
- key: item.value ? item.value : index
6200
- }, vue.toDisplayString(item.text), 3);
6201
- }), 128)),
6202
- _ctx.column && _ctx.column.length === 1 ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$P)) : vue.createCommentVNode("", true)
6203
- ], 4)
6204
- ])
6197
+ _hoisted_1$$
6205
6198
  ], 32);
6206
6199
  }
6207
6200
  var column$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$19]]);
@@ -6247,6 +6240,7 @@
6247
6240
  formattedColumns: props.columns
6248
6241
  });
6249
6242
  let defaultValues = vue.ref(props.modelValue);
6243
+ vue.ref();
6250
6244
  const classes = vue.computed(() => {
6251
6245
  const prefixCls = componentName$11;
6252
6246
  return {
@@ -6337,7 +6331,6 @@
6337
6331
  emit("update:visible", false);
6338
6332
  };
6339
6333
  vue.onMounted(() => {
6340
- console.log(11, props.modelValue);
6341
6334
  if (props.visible)
6342
6335
  state.show = props.visible;
6343
6336
  });
@@ -6346,7 +6339,6 @@
6346
6339
  state.show = false;
6347
6340
  });
6348
6341
  vue.watch(() => props.modelValue, (newValues) => {
6349
- console.log("change", newValues, defaultValues.value);
6350
6342
  const isSameValue = JSON.stringify(newValues) === JSON.stringify(defaultValues.value);
6351
6343
  if (!isSameValue) {
6352
6344
  defaultValues.value = newValues;
@@ -6359,7 +6351,6 @@
6359
6351
  }
6360
6352
  }, { immediate: true });
6361
6353
  vue.watch(() => props.visible, (val) => {
6362
- console.log("props\u66F4\u65B0", props.columns);
6363
6354
  state.show = val;
6364
6355
  });
6365
6356
  vue.watch(() => props.columns, (val) => {
@@ -6382,7 +6373,10 @@
6382
6373
  });
6383
6374
  const _hoisted_1$_ = { class: "nut-picker__bar" };
6384
6375
  const _hoisted_2$O = { class: "nut-picker__title" };
6385
- const _hoisted_3$C = { class: "nut-picker__column" };
6376
+ const _hoisted_3$C = {
6377
+ class: "nut-picker__column",
6378
+ ref: "wrapHeight"
6379
+ };
6386
6380
  const _hoisted_4$u = /* @__PURE__ */ vue.createElementVNode("view", { class: "nut-picker__hairline" }, null, -1);
6387
6381
  function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
6388
6382
  const _component_nut_picker_column = vue.resolveComponent("nut-picker-column");
@@ -6433,7 +6427,7 @@
6433
6427
  }, null, 8, ["itemShow", "column", "readonly", "columnsType", "value", "onChange"])
6434
6428
  ]);
6435
6429
  }), 128))
6436
- ]),
6430
+ ], 512),
6437
6431
  vue.renderSlot(_ctx.$slots, "default")
6438
6432
  ]),
6439
6433
  _: 3
@@ -20495,7 +20489,7 @@
20495
20489
  }
20496
20490
  });
20497
20491
  }
20498
- const version = "3.1.23-beta.0";
20492
+ const version = "3.1.23-beta.1";
20499
20493
  var nutui_vue_build = { install, version, Locale };
20500
20494
  exports2.ActionSheet = ActionSheet;
20501
20495
  exports2.Address = Address;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.0 Mon Jun 27 2022 17:55:50 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.1 Mon Jun 27 2022 21:39:05 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */