@nutui/nutui 3.1.23-beta.2 → 3.1.23-beta.3

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 (150) hide show
  1. package/dist/nutui.es.js +90 -60
  2. package/dist/nutui.umd.js +90 -60
  3. package/dist/packages/_es/ActionSheet.js +8 -3
  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 +7 -4
  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 +4 -3
  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 +8 -3
  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 +41 -25
  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/WaterMark.js +1 -1
  104. package/dist/packages/_es/common.js +1 -1
  105. package/dist/packages/_es/component.js +1 -1
  106. package/dist/packages/_es/index.js +1 -1
  107. package/dist/packages/_es/index2.js +1 -1
  108. package/dist/packages/_es/index3.js +1 -1
  109. package/dist/packages/_es/index4.js +1 -1
  110. package/dist/packages/_es/index5.js +1 -1
  111. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  112. package/dist/packages/_es/pxCheck.js +1 -1
  113. package/dist/packages/_es/raf.js +1 -1
  114. package/dist/packages/locale/lang/baseLang.js +1 -1
  115. package/dist/packages/locale/lang/en-US.js +1 -1
  116. package/dist/packages/locale/lang/id-ID.js +1 -1
  117. package/dist/packages/locale/lang/index.js +1 -1
  118. package/dist/packages/locale/lang/zh-CN.js +1 -1
  119. package/dist/packages/locale/lang/zh-TW.js +1 -1
  120. package/dist/packages/picker/index.scss +9 -0
  121. package/dist/smartips/attributes.json +8 -0
  122. package/dist/smartips/tags.json +4 -2
  123. package/dist/smartips/web-types.json +19 -1
  124. package/dist/style.css +1 -1
  125. package/dist/style.es.js +1 -1
  126. package/dist/styles/themes/default.scss +50 -50
  127. package/dist/styles/themes/jdb.scss +50 -50
  128. package/dist/styles/themes/jdt.scss +50 -50
  129. package/dist/types/__VUE/actionsheet/index.vue.d.ts +7 -0
  130. package/dist/types/__VUE/avatar/index.vue.d.ts +4 -4
  131. package/dist/types/__VUE/backtop/index.vue.d.ts +2 -2
  132. package/dist/types/__VUE/button/index.vue.d.ts +2 -2
  133. package/dist/types/__VUE/cell/index.vue.d.ts +4 -4
  134. package/dist/types/__VUE/collapse/index.vue.d.ts +2 -2
  135. package/dist/types/__VUE/collapseitem/index.vue.d.ts +2 -2
  136. package/dist/types/__VUE/datepicker/index.vue.d.ts +7 -0
  137. package/dist/types/__VUE/grid/index.vue.d.ts +2 -2
  138. package/dist/types/__VUE/input/index.vue.d.ts +2 -2
  139. package/dist/types/__VUE/picker/Column.vue.d.ts +10 -3
  140. package/dist/types/__VUE/picker/index.vue.d.ts +17 -3
  141. package/dist/types/__VUE/range/index.vue.d.ts +1 -1
  142. package/dist/types/__VUE/rate/index.vue.d.ts +2 -2
  143. package/dist/types/__VUE/step/index.vue.d.ts +2 -2
  144. package/dist/types/__VUE/switch/index.vue.d.ts +2 -2
  145. package/dist/types/__VUE/tabbar/index.vue.d.ts +2 -2
  146. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +2 -2
  147. package/dist/types/__VUE/toast/index.vue.d.ts +2 -2
  148. package/dist/types/__VUE/uploader/index.vue.d.ts +2 -2
  149. package/dist/types/index.d.ts +1 -1
  150. package/package.json +1 -1
package/dist/nutui.umd.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.2 Thu Jul 07 2022 19:06:46 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:15 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -529,7 +529,7 @@
529
529
  key: 1,
530
530
  class: "nut-cell__title"
531
531
  };
532
- const _hoisted_3$P = { class: "title" };
532
+ const _hoisted_3$Q = { class: "title" };
533
533
  const _hoisted_4$E = { class: "nut-cell__title-desc" };
534
534
  function render$2(_ctx, _cache, $props, $setup, $data, $options) {
535
535
  const _component_nut_icon = vue.resolveComponent("nut-icon");
@@ -551,7 +551,7 @@
551
551
  _ctx.title || _ctx.subTitle || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$14, [
552
552
  _ctx.subTitle ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
553
553
  vue.renderSlot(_ctx.$slots, "title", {}, () => [
554
- vue.createElementVNode("view", _hoisted_3$P, vue.toDisplayString(_ctx.title), 1)
554
+ vue.createElementVNode("view", _hoisted_3$Q, vue.toDisplayString(_ctx.title), 1)
555
555
  ]),
556
556
  vue.createElementVNode("view", _hoisted_4$E, vue.toDisplayString(_ctx.subTitle), 1)
557
557
  ], 64)) : vue.renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
@@ -648,14 +648,14 @@
648
648
  key: 3,
649
649
  class: "nut-cell-group__desc"
650
650
  };
651
- const _hoisted_3$O = { class: "nut-cell-group__warp" };
651
+ const _hoisted_3$P = { class: "nut-cell-group__warp" };
652
652
  function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
653
653
  return vue.openBlock(), vue.createElementBlock("view", {
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
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),
658
- vue.createElementVNode("view", _hoisted_3$O, [
658
+ vue.createElementVNode("view", _hoisted_3$P, [
659
659
  vue.renderSlot(_ctx.$slots, "default")
660
660
  ])
661
661
  ], 2);
@@ -1155,7 +1155,7 @@
1155
1155
  key: 0,
1156
1156
  class: "nut-img-loading"
1157
1157
  };
1158
- const _hoisted_3$N = {
1158
+ const _hoisted_3$O = {
1159
1159
  key: 1,
1160
1160
  class: "nut-img-error"
1161
1161
  };
@@ -1181,7 +1181,7 @@
1181
1181
  })) : vue.createCommentVNode("", true),
1182
1182
  vue.renderSlot(_ctx.$slots, "loading")
1183
1183
  ])) : vue.createCommentVNode("", true),
1184
- _ctx.isError && !_ctx.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$N, [
1184
+ _ctx.isError && !_ctx.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$O, [
1185
1185
  !_ctx.slotError ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
1186
1186
  key: 0,
1187
1187
  name: "image-error"
@@ -1883,7 +1883,7 @@
1883
1883
  key: 1,
1884
1884
  class: "nut-navbar__text"
1885
1885
  };
1886
- const _hoisted_3$M = { class: "nut-navbar__title" };
1886
+ const _hoisted_3$N = { class: "nut-navbar__title" };
1887
1887
  const _hoisted_4$D = {
1888
1888
  key: 0,
1889
1889
  class: "nut-navbar__text"
@@ -1917,7 +1917,7 @@
1917
1917
  _ctx.leftText ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$11, vue.toDisplayString(_ctx.leftText), 1)) : vue.createCommentVNode("", true),
1918
1918
  vue.renderSlot(_ctx.$slots, "left")
1919
1919
  ]),
1920
- vue.createElementVNode("view", _hoisted_3$M, [
1920
+ vue.createElementVNode("view", _hoisted_3$N, [
1921
1921
  _ctx.title ? (vue.openBlock(), vue.createElementBlock("view", {
1922
1922
  key: 0,
1923
1923
  class: "title",
@@ -2044,7 +2044,7 @@
2044
2044
  });
2045
2045
  const _hoisted_1$1e = { class: "nut-fixednav__list" };
2046
2046
  const _hoisted_2$10 = ["onClick"];
2047
- const _hoisted_3$L = ["src"];
2047
+ const _hoisted_3$M = ["src"];
2048
2048
  const _hoisted_4$C = { class: "span" };
2049
2049
  const _hoisted_5$s = {
2050
2050
  key: 0,
@@ -2074,7 +2074,7 @@
2074
2074
  }, [
2075
2075
  vue.createElementVNode("img", {
2076
2076
  src: item.icon
2077
- }, null, 8, _hoisted_3$L),
2077
+ }, null, 8, _hoisted_3$M),
2078
2078
  vue.createElementVNode("view", _hoisted_4$C, vue.toDisplayString(item.text), 1),
2079
2079
  item.num ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$s, vue.toDisplayString(item.num), 1)) : vue.createCommentVNode("", true)
2080
2080
  ], 8, _hoisted_2$10);
@@ -2591,7 +2591,7 @@
2591
2591
  key: 0,
2592
2592
  class: "nut-tabbar-item_icon-box_tips nut-tabbar-item_icon-box_num"
2593
2593
  };
2594
- const _hoisted_3$K = {
2594
+ const _hoisted_3$L = {
2595
2595
  key: 1,
2596
2596
  class: "nut-tabbar-item_icon-box_tips nut-tabbar-item_icon-box_nums"
2597
2597
  };
@@ -2612,7 +2612,7 @@
2612
2612
  }, [
2613
2613
  vue.createElementVNode("view", _hoisted_1$1b, [
2614
2614
  !_ctx.dot ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
2615
- _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)
2615
+ _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$L, vue.toDisplayString("99+"))) : vue.createCommentVNode("", true)
2616
2616
  ], 64)) : vue.createCommentVNode("", true),
2617
2617
  _ctx.dot ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$B)) : vue.createCommentVNode("", true),
2618
2618
  _ctx.icon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$r, [
@@ -2825,7 +2825,7 @@
2825
2825
  });
2826
2826
  const _hoisted_1$1a = { class: "nut-elevator__list__item__code" };
2827
2827
  const _hoisted_2$Y = ["onClick"];
2828
- const _hoisted_3$J = ["innerHTML"];
2828
+ const _hoisted_3$K = ["innerHTML"];
2829
2829
  const _hoisted_4$A = { class: "fixed-title" };
2830
2830
  const _hoisted_5$q = { class: "nut-elevator__bars__inner" };
2831
2831
  const _hoisted_6$n = ["data-index", "onClick"];
@@ -2856,7 +2856,7 @@
2856
2856
  !_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", {
2857
2857
  key: 0,
2858
2858
  innerHTML: subitem.name
2859
- }, null, 8, _hoisted_3$J)) : vue.renderSlot(_ctx.$slots, "default", {
2859
+ }, null, 8, _hoisted_3$K)) : vue.renderSlot(_ctx.$slots, "default", {
2860
2860
  key: 1,
2861
2861
  item: subitem
2862
2862
  })
@@ -3012,7 +3012,7 @@
3012
3012
  key: 0,
3013
3013
  class: "nut-pagination-contain"
3014
3014
  };
3015
- const _hoisted_3$I = ["onClick"];
3015
+ const _hoisted_3$J = ["onClick"];
3016
3016
  const _hoisted_4$z = {
3017
3017
  key: 1,
3018
3018
  class: "nut-pagination-contain"
@@ -3038,7 +3038,7 @@
3038
3038
  vue.renderSlot(_ctx.$slots, "page", { item }, () => [
3039
3039
  vue.createTextVNode(vue.toDisplayString(item.text), 1)
3040
3040
  ])
3041
- ], 10, _hoisted_3$I);
3041
+ ], 10, _hoisted_3$J);
3042
3042
  }), 128))
3043
3043
  ])) : vue.createCommentVNode("", true),
3044
3044
  _ctx.mode == "simple" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$z, [
@@ -3513,7 +3513,7 @@
3513
3513
  });
3514
3514
  const _hoisted_1$15 = ["ikey"];
3515
3515
  const _hoisted_2$U = { class: "nut-subsidenavbar__title__text" };
3516
- const _hoisted_3$H = { class: "nut-subsidenavbar__title__icon" };
3516
+ const _hoisted_3$I = { class: "nut-subsidenavbar__title__icon" };
3517
3517
  function _sfc_render$1h(_ctx, _cache, $props, $setup, $data, $options) {
3518
3518
  const _component_nut_icon = vue.resolveComponent("nut-icon");
3519
3519
  return vue.openBlock(), vue.createElementBlock("view", {
@@ -3525,7 +3525,7 @@
3525
3525
  onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => _ctx.handleClick && _ctx.handleClick(...args), ["stop"]))
3526
3526
  }, [
3527
3527
  vue.createElementVNode("span", _hoisted_2$U, vue.toDisplayString(_ctx.title), 1),
3528
- vue.createElementVNode("span", _hoisted_3$H, [
3528
+ vue.createElementVNode("span", _hoisted_3$I, [
3529
3529
  vue.createVNode(_component_nut_icon, {
3530
3530
  name: "down-arrow",
3531
3531
  class: vue.normalizeClass(_ctx.direction)
@@ -3899,7 +3899,7 @@
3899
3899
  key: 0,
3900
3900
  class: "nut-range-mark"
3901
3901
  };
3902
- const _hoisted_3$G = ["tabindex", "aria-valuemin", "aria-valuenow", "aria-valuemax", "onTouchstart"];
3902
+ const _hoisted_3$H = ["tabindex", "aria-valuemin", "aria-valuenow", "aria-valuemax", "onTouchstart"];
3903
3903
  const _hoisted_4$y = {
3904
3904
  key: 0,
3905
3905
  class: "number"
@@ -3974,7 +3974,7 @@
3974
3974
  }, [
3975
3975
  !_ctx.hiddenTag ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$y, vue.toDisplayString(_ctx.curValue(index)), 1)) : vue.createCommentVNode("", true)
3976
3976
  ], 4))
3977
- ], 42, _hoisted_3$G);
3977
+ ], 42, _hoisted_3$H);
3978
3978
  }), 64)) : (vue.openBlock(), vue.createElementBlock("view", {
3979
3979
  key: 1,
3980
3980
  role: "slider",
@@ -4163,7 +4163,7 @@
4163
4163
  key: 1,
4164
4164
  class: "nut-searchbar__search-icon nut-searchbar__left-search-icon"
4165
4165
  };
4166
- const _hoisted_3$F = { class: "nut-searchbar__input-inner" };
4166
+ const _hoisted_3$G = { class: "nut-searchbar__input-inner" };
4167
4167
  const _hoisted_4$x = ["type", "maxlength", "placeholder", "value", "disabled", "readonly"];
4168
4168
  const _hoisted_5$n = {
4169
4169
  key: 2,
@@ -4190,7 +4190,7 @@
4190
4190
  }, [
4191
4191
  vue.renderSlot(_ctx.$slots, "leftin")
4192
4192
  ])) : vue.createCommentVNode("", true),
4193
- vue.createElementVNode("view", _hoisted_3$F, [
4193
+ vue.createElementVNode("view", _hoisted_3$G, [
4194
4194
  vue.createElementVNode("form", {
4195
4195
  action: "#",
4196
4196
  onSubmit: _cache[5] || (_cache[5] = vue.withModifiers((...args) => _ctx.handleSubmit && _ctx.handleSubmit(...args), ["prevent"]))
@@ -4582,7 +4582,7 @@
4582
4582
  class: "nut-cascader-pane"
4583
4583
  };
4584
4584
  const _hoisted_2$R = ["aria-checked", "aria-disabled", "onClick"];
4585
- const _hoisted_3$E = { class: "nut-cascader-item__title" };
4585
+ const _hoisted_3$F = { class: "nut-cascader-item__title" };
4586
4586
  const _hoisted_4$w = /* @__PURE__ */ vue.createElementVNode("view", { class: "nut-cascader-pane" }, null, -1);
4587
4587
  function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
4588
4588
  const _component_nut_icon = vue.resolveComponent("nut-icon");
@@ -4612,7 +4612,7 @@
4612
4612
  role: "menuitemradio",
4613
4613
  onClick: ($event) => _ctx.handleNode(node, false)
4614
4614
  }, [
4615
- vue.createElementVNode("view", _hoisted_3$E, vue.toDisplayString(node.text), 1),
4615
+ vue.createElementVNode("view", _hoisted_3$F, vue.toDisplayString(node.text), 1),
4616
4616
  node.loading ? (vue.openBlock(), vue.createBlock(_component_nut_icon, {
4617
4617
  key: 0,
4618
4618
  class: "nut-cascader-item__icon-loading",
@@ -5409,7 +5409,7 @@
5409
5409
  key: 1,
5410
5410
  class: "calendar-top-slot"
5411
5411
  };
5412
- const _hoisted_3$D = {
5412
+ const _hoisted_3$E = {
5413
5413
  key: 2,
5414
5414
  class: "calendar-curr-month"
5415
5415
  };
@@ -5459,7 +5459,7 @@
5459
5459
  _ctx.showTopBtn ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$Q, [
5460
5460
  vue.renderSlot(_ctx.$slots, "btn")
5461
5461
  ])) : vue.createCommentVNode("", true),
5462
- _ctx.showSubTitle ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$D, vue.toDisplayString(_ctx.yearMonthTitle), 1)) : vue.createCommentVNode("", true),
5462
+ _ctx.showSubTitle ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$E, vue.toDisplayString(_ctx.yearMonthTitle), 1)) : vue.createCommentVNode("", true),
5463
5463
  vue.createElementVNode("view", _hoisted_4$v, [
5464
5464
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.weeks, (item, index) => {
5465
5465
  return vue.openBlock(), vue.createElementBlock("view", {
@@ -6007,6 +6007,10 @@
6007
6007
  readonly: {
6008
6008
  type: Boolean,
6009
6009
  default: false
6010
+ },
6011
+ threeDimensional: {
6012
+ type: Boolean,
6013
+ default: true
6010
6014
  }
6011
6015
  },
6012
6016
  emits: ["click", "change"],
@@ -6031,7 +6035,6 @@
6031
6035
  });
6032
6036
  const roller = vue.ref(null);
6033
6037
  const list = vue.ref(null);
6034
- const listItem = vue.ref(null);
6035
6038
  const moving = vue.ref(false);
6036
6039
  const touchDeg = vue.ref(0);
6037
6040
  const touchTime = vue.ref(0);
@@ -6043,7 +6046,7 @@
6043
6046
  transform: `rotate3d(1, 0, 0, ${touchDeg.value})`
6044
6047
  };
6045
6048
  });
6046
- const touchListStyle = vue.computed(() => {
6049
+ const touchTileStyle = vue.computed(() => {
6047
6050
  return {
6048
6051
  transition: `transform ${touchTime.value}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,
6049
6052
  transform: `translate3d(0, ${state.scrollDistance}px, 0)`
@@ -6055,7 +6058,11 @@
6055
6058
  const onTouchStart = (event) => {
6056
6059
  touch.start(event);
6057
6060
  if (moving.value) {
6058
- const { transform } = window.getComputedStyle(list.value);
6061
+ let dom = list.value;
6062
+ if (!props.threeDimensional) {
6063
+ dom = roller.value;
6064
+ }
6065
+ const { transform } = window.getComputedStyle(dom);
6059
6066
  state.scrollDistance = +transform.slice(7, transform.length - 1).split(", ")[5];
6060
6067
  }
6061
6068
  state.touchParams.startY = touch.deltaY.value;
@@ -6069,13 +6076,8 @@
6069
6076
  preventDefault2(event, true);
6070
6077
  }
6071
6078
  state.touchParams.lastY = touch.deltaY.value;
6072
- const now = Date.now();
6073
6079
  let move = state.touchParams.lastY - state.touchParams.startY;
6074
6080
  setMove(move);
6075
- if (now - state.touchParams.startTime > INERTIA_TIME) {
6076
- state.touchParams.startTime = now;
6077
- state.touchParams.startY = state.touchParams.lastY;
6078
- }
6079
6081
  };
6080
6082
  const onTouchEnd = (event) => {
6081
6083
  state.touchParams.lastY = touch.deltaY.value;
@@ -6129,13 +6131,15 @@
6129
6131
  setTransform(endMove, type, time, deg);
6130
6132
  state.currIndex = Math.abs(Math.round(endMove / state.lineSpacing)) + 1;
6131
6133
  } else {
6132
- let deg = "0deg";
6134
+ let deg = 0;
6133
6135
  let currentDeg = (-updateMove / state.lineSpacing + 1) * state.rotation;
6134
6136
  const maxDeg = (props.column.length + 1) * state.rotation;
6135
6137
  const minDeg = 0;
6136
- deg = Math.min(Math.max(currentDeg, minDeg), maxDeg) + "deg";
6137
- setTransform(updateMove, null, void 0, deg);
6138
- state.currIndex = Math.abs(Math.round(updateMove / state.lineSpacing)) + 1;
6138
+ deg = Math.min(Math.max(currentDeg, minDeg), maxDeg);
6139
+ if (minDeg < deg && deg < maxDeg) {
6140
+ setTransform(updateMove, null, void 0, deg + "deg");
6141
+ state.currIndex = Math.abs(Math.round(updateMove / state.lineSpacing)) + 1;
6142
+ }
6139
6143
  }
6140
6144
  };
6141
6145
  const setChooseValue = () => {
@@ -6179,19 +6183,25 @@
6179
6183
  isHidden,
6180
6184
  roller,
6181
6185
  list,
6182
- listItem,
6183
6186
  onTouchStart,
6184
6187
  onTouchMove,
6185
6188
  onTouchEnd,
6186
6189
  touchRollerStyle,
6187
- touchListStyle,
6190
+ touchTileStyle,
6188
6191
  setMove,
6189
6192
  stopMomentum
6190
6193
  };
6191
6194
  }
6192
6195
  });
6193
- const _hoisted_1$$ = /* @__PURE__ */ vue.createElementVNode("view", { class: "nut-picker-roller-mask" }, null, -1);
6194
- const _hoisted_2$P = { class: "nut-picker-content" };
6196
+ const _hoisted_1$$ = {
6197
+ key: 1,
6198
+ class: "nut-picker-roller-item-tile"
6199
+ };
6200
+ const _hoisted_2$P = /* @__PURE__ */ vue.createElementVNode("view", { class: "nut-picker-roller-mask" }, null, -1);
6201
+ const _hoisted_3$D = {
6202
+ key: 0,
6203
+ class: "nut-picker-content"
6204
+ };
6195
6205
  function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
6196
6206
  return vue.openBlock(), vue.createElementBlock("view", {
6197
6207
  class: "nut-picker__list",
@@ -6202,29 +6212,30 @@
6202
6212
  vue.createElementVNode("view", {
6203
6213
  class: "nut-picker-roller",
6204
6214
  ref: "roller",
6205
- style: vue.normalizeStyle(_ctx.touchRollerStyle),
6215
+ style: vue.normalizeStyle(_ctx.threeDimensional ? _ctx.touchRollerStyle : _ctx.touchTileStyle),
6206
6216
  onTransitionend: _cache[0] || (_cache[0] = (...args) => _ctx.stopMomentum && _ctx.stopMomentum(...args))
6207
6217
  }, [
6208
6218
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.column, (item, index) => {
6209
6219
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
6210
6220
  key: item.value ? item.value : index
6211
6221
  }, [
6212
- item && item.text ? (vue.openBlock(), vue.createElementBlock("view", {
6222
+ item && item.text && _ctx.threeDimensional ? (vue.openBlock(), vue.createElementBlock("view", {
6213
6223
  key: 0,
6214
6224
  class: vue.normalizeClass(["nut-picker-roller-item", { "nut-picker-roller-item-hidden": _ctx.isHidden(index + 1) }]),
6215
6225
  style: vue.normalizeStyle(_ctx.setRollerStyle(index + 1))
6216
- }, vue.toDisplayString(item.text), 7)) : vue.createCommentVNode("", true)
6226
+ }, vue.toDisplayString(item.text), 7)) : vue.createCommentVNode("", true),
6227
+ item && item.text && !_ctx.threeDimensional ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_1$$, vue.toDisplayString(item.text), 1)) : vue.createCommentVNode("", true)
6217
6228
  ], 64);
6218
6229
  }), 128))
6219
6230
  ], 36),
6220
- _hoisted_1$$,
6221
- vue.createElementVNode("view", _hoisted_2$P, [
6231
+ _hoisted_2$P,
6232
+ _ctx.threeDimensional ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$D, [
6222
6233
  vue.createElementVNode("view", {
6223
6234
  class: "nut-picker-list-panel",
6224
6235
  ref: "list",
6225
- style: vue.normalizeStyle(_ctx.touchListStyle)
6236
+ style: vue.normalizeStyle(_ctx.touchTileStyle)
6226
6237
  }, null, 4)
6227
- ])
6238
+ ])) : vue.createCommentVNode("", true)
6228
6239
  ], 32);
6229
6240
  }
6230
6241
  var column$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$1a]]);
@@ -6261,6 +6272,10 @@
6261
6272
  readonly: {
6262
6273
  type: Boolean,
6263
6274
  default: false
6275
+ },
6276
+ threeDimensional: {
6277
+ type: Boolean,
6278
+ default: true
6264
6279
  }
6265
6280
  },
6266
6281
  emits: ["close", "change", "confirm", "update:visible", "update:modelValue"],
@@ -6454,10 +6469,11 @@
6454
6469
  readonly: _ctx.readonly,
6455
6470
  columnsType: _ctx.columnsType,
6456
6471
  value: _ctx.defaultValues[columnIndex],
6472
+ threeDimensional: _ctx.threeDimensional,
6457
6473
  onChange: (option) => {
6458
6474
  _ctx.changeHandler(columnIndex, option);
6459
6475
  }
6460
- }, null, 8, ["itemShow", "column", "readonly", "columnsType", "value", "onChange"])
6476
+ }, null, 8, ["itemShow", "column", "readonly", "columnsType", "value", "threeDimensional", "onChange"])
6461
6477
  ]);
6462
6478
  }), 128))
6463
6479
  ], 512),
@@ -6533,6 +6549,10 @@
6533
6549
  type: Function,
6534
6550
  default: null
6535
6551
  },
6552
+ threeDimensional: {
6553
+ type: Boolean,
6554
+ default: true
6555
+ },
6536
6556
  filter: Function
6537
6557
  },
6538
6558
  emits: ["click", "update:visible", "change", "confirm", "update:moduleValue"],
@@ -6770,13 +6790,14 @@
6770
6790
  onChange: _ctx.changeHandler,
6771
6791
  title: _ctx.title,
6772
6792
  onConfirm: _ctx.confirm,
6773
- isWrapTeleport: _ctx.isWrapTeleport
6793
+ isWrapTeleport: _ctx.isWrapTeleport,
6794
+ threeDimensional: _ctx.threeDimensional
6774
6795
  }, {
6775
6796
  default: vue.withCtx(() => [
6776
6797
  vue.renderSlot(_ctx.$slots, "default")
6777
6798
  ]),
6778
6799
  _: 3
6779
- }, 8, ["modelValue", "visible", "okText", "cancelText", "onClose", "columns", "onChange", "title", "onConfirm", "isWrapTeleport"]);
6800
+ }, 8, ["modelValue", "visible", "okText", "cancelText", "onClose", "columns", "onChange", "title", "onConfirm", "isWrapTeleport", "threeDimensional"]);
6780
6801
  }
6781
6802
  var DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$18]]);
6782
6803
  const { componentName: componentName$10, create: create$1b } = createComponent("inputnumber");
@@ -9711,6 +9732,10 @@
9711
9732
  isWrapTeleport: {
9712
9733
  type: Boolean,
9713
9734
  default: true
9735
+ },
9736
+ closeAbled: {
9737
+ type: Boolean,
9738
+ default: true
9714
9739
  }
9715
9740
  },
9716
9741
  emits: ["cancel", "close", "choose", "update:visible"],
@@ -9778,7 +9803,8 @@
9778
9803
  isWrapTeleport: _ctx.isWrapTeleport,
9779
9804
  position: "bottom",
9780
9805
  round: "",
9781
- onClickOverlay: _ctx.close
9806
+ onClickOverlay: _ctx.close,
9807
+ closeOnClickOverlay: _ctx.closeAbled
9782
9808
  }, {
9783
9809
  default: vue.withCtx(() => [
9784
9810
  vue.createElementVNode("view", _hoisted_1$O, [
@@ -9811,7 +9837,7 @@
9811
9837
  ])
9812
9838
  ]),
9813
9839
  _: 3
9814
- }, 8, ["visible", "isWrapTeleport", "onClickOverlay"])
9840
+ }, 8, ["visible", "isWrapTeleport", "onClickOverlay", "closeOnClickOverlay"])
9815
9841
  ], 2);
9816
9842
  }
9817
9843
  var ActionSheet = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Y]]);
@@ -19324,9 +19350,12 @@
19324
19350
  vue.createElementVNode("div", _hoisted_5$6, vue.toDisplayString(_ctx.title), 1),
19325
19351
  vue.renderSlot(_ctx.$slots, "prolist"),
19326
19352
  _ctx.isNeedPrice ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$5, [
19327
- vue.createVNode(_component_nut_price, { price: _ctx.price }, null, 8, ["price"]),
19328
- _ctx.isHaveSlot("origin") ? vue.renderSlot(_ctx.$slots, "origin", { key: 0 }) : (vue.openBlock(), vue.createBlock(_component_nut_price, {
19353
+ _ctx.isHaveSlot("price") ? vue.renderSlot(_ctx.$slots, "price", { key: 0 }) : (vue.openBlock(), vue.createBlock(_component_nut_price, {
19329
19354
  key: 1,
19355
+ price: _ctx.price
19356
+ }, null, 8, ["price"])),
19357
+ _ctx.isHaveSlot("origin") ? vue.renderSlot(_ctx.$slots, "origin", { key: 2 }) : (vue.openBlock(), vue.createBlock(_component_nut_price, {
19358
+ key: 3,
19330
19359
  class: "nut-card__right__price__origin",
19331
19360
  price: _ctx.vipPrice
19332
19361
  }, null, 8, ["price"]))
@@ -20345,7 +20374,7 @@
20345
20374
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.info.score = $event),
20346
20375
  "icon-size": "10",
20347
20376
  spacing: "5",
20348
- readOnly: "",
20377
+ readonly: "",
20349
20378
  onChange: _ctx.handleClick
20350
20379
  }, null, 8, ["modelValue", "onChange"])
20351
20380
  ])
@@ -20369,7 +20398,8 @@
20369
20398
  modelValue: _ctx.info.score,
20370
20399
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.info.score = $event),
20371
20400
  "icon-size": "12",
20372
- spacing: "3"
20401
+ spacing: "3",
20402
+ readonly: ""
20373
20403
  }, null, 8, ["modelValue"]),
20374
20404
  vue.createElementVNode("i", {
20375
20405
  class: vue.normalizeClass([`nut-comment-header__${_ctx.type}-score-i`])
@@ -20720,7 +20750,7 @@
20720
20750
  }
20721
20751
  });
20722
20752
  }
20723
- const version = "3.1.23-beta.2";
20753
+ const version = "3.1.23-beta.3";
20724
20754
  var nutui_vue_build = { install, version, Locale };
20725
20755
  exports2.ActionSheet = ActionSheet;
20726
20756
  exports2.Address = Address;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -50,6 +50,10 @@ const _sfc_main = create({
50
50
  isWrapTeleport: {
51
51
  type: Boolean,
52
52
  default: true
53
+ },
54
+ closeAbled: {
55
+ type: Boolean,
56
+ default: true
53
57
  }
54
58
  },
55
59
  emits: ["cancel", "close", "choose", "update:visible"],
@@ -117,7 +121,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
117
121
  isWrapTeleport: _ctx.isWrapTeleport,
118
122
  position: "bottom",
119
123
  round: "",
120
- onClickOverlay: _ctx.close
124
+ onClickOverlay: _ctx.close,
125
+ closeOnClickOverlay: _ctx.closeAbled
121
126
  }, {
122
127
  default: withCtx(() => [
123
128
  createElementVNode("view", _hoisted_1, [
@@ -150,7 +155,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
150
155
  ])
151
156
  ]),
152
157
  _: 3
153
- }, 8, ["visible", "isWrapTeleport", "onClickOverlay"])
158
+ }, 8, ["visible", "isWrapTeleport", "onClickOverlay", "closeOnClickOverlay"])
154
159
  ], 2);
155
160
  }
156
161
  var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.23-beta.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 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.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 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.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 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.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 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.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 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.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 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.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 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.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 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.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 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.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 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.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 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.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 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.2 Thu Jul 07 2022 19:06:52 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.1.23-beta.3 Fri Jul 08 2022 17:15:25 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */