@nutui/nutui 4.0.2 → 4.0.3-beta.2

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 (141) hide show
  1. package/dist/nutui.es.js +1 -1
  2. package/dist/nutui.umd.js +2 -2
  3. package/dist/packages/_es/ActionSheet.js +2 -2
  4. package/dist/packages/_es/Address.js +2 -2
  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 +3 -3
  16. package/dist/packages/_es/CalendarItem.js +2 -2
  17. package/dist/packages/_es/Card.js +1 -1
  18. package/dist/packages/_es/Cascader.js +4 -3
  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 +2 -34
  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 +4 -4
  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 +2 -2
  45. package/dist/packages/_es/GridItem.js +2 -2
  46. package/dist/packages/_es/Image.js +1 -1
  47. package/dist/packages/_es/ImagePreview.js +4 -4
  48. package/dist/packages/_es/Indicator.js +1 -1
  49. package/dist/packages/_es/InfiniteLoading.js +1 -1
  50. package/dist/packages/_es/Input.js +11 -7
  51. package/dist/packages/_es/InputNumber.js +1 -1
  52. package/dist/packages/_es/Invoice.js +3 -3
  53. package/dist/packages/_es/Layout.js +1 -1
  54. package/dist/packages/_es/List.js +2 -2
  55. package/dist/packages/_es/Menu.js +1 -1
  56. package/dist/packages/_es/MenuItem.js +2 -2
  57. package/dist/packages/_es/Navbar.js +1 -1
  58. package/dist/packages/_es/Noticebar.js +4 -3
  59. package/dist/packages/_es/Notify.js +2 -2
  60. package/dist/packages/_es/NumberKeyboard.js +2 -2
  61. package/dist/packages/_es/Overlay.js +2 -2
  62. package/dist/packages/_es/Pagination.js +1 -1
  63. package/dist/packages/_es/Picker.js +1 -1
  64. package/dist/packages/_es/Popover.js +2 -2
  65. package/dist/packages/_es/Popup.js +2 -2
  66. package/dist/packages/_es/Price.js +7 -2
  67. package/dist/packages/_es/Progress.js +1 -1
  68. package/dist/packages/_es/PullRefresh.js +1 -1
  69. package/dist/packages/_es/Radio.js +2 -2
  70. package/dist/packages/_es/RadioGroup.js +2 -2
  71. package/dist/packages/_es/Range.js +1 -1
  72. package/dist/packages/_es/Rate.js +1 -1
  73. package/dist/packages/_es/Row.js +1 -1
  74. package/dist/packages/_es/Searchbar.js +1 -1
  75. package/dist/packages/_es/ShortPassword.js +2 -2
  76. package/dist/packages/_es/SideNavbar.js +1 -1
  77. package/dist/packages/_es/SideNavbarItem.js +1 -1
  78. package/dist/packages/_es/Signature.js +1 -1
  79. package/dist/packages/_es/Skeleton.js +1 -1
  80. package/dist/packages/_es/Sku.js +2 -2
  81. package/dist/packages/_es/Step.js +1 -1
  82. package/dist/packages/_es/Steps.js +1 -1
  83. package/dist/packages/_es/Sticky.js +2 -2
  84. package/dist/packages/_es/SubSideNavbar.js +1 -1
  85. package/dist/packages/_es/Swipe.js +1 -1
  86. package/dist/packages/_es/Swiper.js +1 -1
  87. package/dist/packages/_es/SwiperItem.js +1 -1
  88. package/dist/packages/_es/Switch.js +1 -1
  89. package/dist/packages/_es/TabPane.js +13 -8
  90. package/dist/packages/_es/Tabbar.js +1 -1
  91. package/dist/packages/_es/TabbarItem.js +1 -1
  92. package/dist/packages/_es/Table.js +1 -1
  93. package/dist/packages/_es/Tabs.js +168 -26
  94. package/dist/packages/_es/Tag.js +1 -1
  95. package/dist/packages/_es/Textarea.js +1 -1
  96. package/dist/packages/_es/TimeDetail.js +1 -1
  97. package/dist/packages/_es/TimePannel.js +1 -1
  98. package/dist/packages/_es/TimeSelect.js +2 -2
  99. package/dist/packages/_es/Toast.js +2 -2
  100. package/dist/packages/_es/Tour.js +2 -2
  101. package/dist/packages/_es/TrendArrow.js +1 -1
  102. package/dist/packages/_es/Uploader.js +2 -2
  103. package/dist/packages/_es/Video.js +1 -1
  104. package/dist/packages/_es/Watermark.js +1 -1
  105. package/dist/packages/_es/{common-05c67d9a.js → common-ceb98554.js} +1 -1
  106. package/dist/packages/_es/{component-bb5ff48e.js → component-81a4c1d0.js} +6 -6
  107. package/dist/packages/_es/{index-c4bbec14.js → index-2a2f92bd.js} +1 -1
  108. package/dist/packages/_es/{index-a564e25f.js → index-c55ad69e.js} +2 -2
  109. package/dist/packages/_es/{index.vue_vue_type_script_lang-ee936659.js → index.vue_vue_type_script_lang-1291fceb.js} +1 -1
  110. package/dist/packages/_es/{index.vue_vue_type_script_lang-8f90bbd8.js → index.vue_vue_type_script_lang-cc5c4086.js} +1 -1
  111. package/dist/packages/_es/{index.vue_vue_type_script_lang-8b9f3de5.js → index.vue_vue_type_script_lang-d4c88f85.js} +1 -1
  112. package/dist/packages/_es/{interceptor-648bf3d0.js → interceptor-956b24fc.js} +1 -1
  113. package/dist/packages/_es/{mountComponent-3865592f.js → mountComponent-1ece4110.js} +1 -1
  114. package/dist/packages/input/index.scss +2 -2
  115. package/dist/packages/menuitem/index.scss +1 -1
  116. package/dist/packages/navbar/index.scss +0 -1
  117. package/dist/packages/price/index.scss +5 -10
  118. package/dist/resolver/package.json +20 -0
  119. package/dist/smartips/web-types.json +20 -20
  120. package/dist/style.css +1 -1
  121. package/dist/styles/themes/default.scss +56 -56
  122. package/dist/styles/themes/jdb.scss +56 -56
  123. package/dist/styles/themes/jddkh.scss +56 -56
  124. package/dist/styles/themes/jdt.scss +56 -56
  125. package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
  126. package/dist/types/__VUE/configprovider/index.vue.d.ts +4 -4
  127. package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
  128. package/dist/types/__VUE/input/index.vue.d.ts +4 -2
  129. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
  130. package/dist/types/__VUE/noticebar/index.vue.d.ts +4 -2
  131. package/dist/types/__VUE/price/index.vue.d.ts +9 -0
  132. package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
  133. package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
  134. package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
  135. package/dist/types/__VUE/tabpane/index.vue.d.ts +1 -4
  136. package/dist/types/__VUE/tabs/hooks.d.ts +12 -0
  137. package/dist/types/__VUE/tabs/index.vue.d.ts +20 -5
  138. package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
  139. package/dist/types/index.d.ts +1 -1
  140. package/dist/types/utils/useTaroRect/index.d.ts +1 -1
  141. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { toRefs, ref, computed, onMounted, nextTick, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createVNode, createCommentVNode, toDisplayString } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { Left } from "@nutui/icons-vue";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
@@ -1,6 +1,6 @@
1
1
  import { h, ref, reactive, computed, watch, onMounted, onActivated, onDeactivated, onUnmounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, normalizeStyle, createElementVNode, renderSlot, createBlock, createCommentVNode, createTextVNode, toDisplayString, withModifiers, vShow, Fragment, renderList } from "vue";
2
2
  import { Notice, CircleClose } from "@nutui/icons-vue";
3
- import { c as createComponent } from "./component-bb5ff48e.js";
3
+ import { c as createComponent } from "./component-81a4c1d0.js";
4
4
  import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
6
6
  import "../locale/lang";
@@ -72,7 +72,7 @@ const _sfc_main = create({
72
72
  Notice,
73
73
  CircleClose
74
74
  },
75
- emits: ["click", "close"],
75
+ emits: ["click", "close", "across-end"],
76
76
  setup(props, { emit, slots }) {
77
77
  const wrap = ref(null);
78
78
  const content = ref(null);
@@ -186,8 +186,9 @@ const _sfc_main = create({
186
186
  }
187
187
  emit("close", event);
188
188
  };
189
- const onAnimationEnd = () => {
189
+ const onAnimationEnd = (event) => {
190
190
  state.firstRound = false;
191
+ emit("across-end", event);
191
192
  setTimeout(() => {
192
193
  state.duration = (state.offsetWidth + state.wrapWidth) / props.speed;
193
194
  state.animationClass = "play-infinite";
@@ -1,6 +1,6 @@
1
1
  import { ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createElementBlock, Fragment, createTextVNode, toDisplayString, createVNode, render, onMounted, h } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
3
- import { P as Popup } from "./index-a564e25f.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { P as Popup } from "./index-c55ad69e.js";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
6
6
  import "./Overlay.js";
@@ -1,6 +1,6 @@
1
1
  import { ref, computed, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, createTextVNode } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
3
- import { P as Popup } from "./index-a564e25f.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { P as Popup } from "./index-c55ad69e.js";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
6
6
  import "./Overlay.js";
@@ -1,5 +1,5 @@
1
1
  import { computed, watchEffect, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, withModifiers, normalizeStyle, renderSlot, vShow } from "vue";
2
- import { b as body, c as createComponent } from "./component-bb5ff48e.js";
2
+ import { b as body, c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  let count = 0;
@@ -77,9 +77,9 @@ const _sfc_main = create({
77
77
  props.visible ? lock() : unlock();
78
78
  });
79
79
  const onClick = (e) => {
80
+ emit("click", e);
80
81
  if (props.closeOnClickOverlay) {
81
82
  emit("update:visible", false);
82
- emit("click", e);
83
83
  }
84
84
  };
85
85
  return { classes, style, onClick };
@@ -1,5 +1,5 @@
1
1
  import { toRefs, computed, watchEffect, openBlock, createElementBlock, createElementVNode, normalizeClass, renderSlot, createTextVNode, toDisplayString, Fragment, renderList, createCommentVNode } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { create, translate } = createComponent("pagination");
@@ -1,5 +1,5 @@
1
1
  import { reactive, ref, computed, watch, toRefs, onMounted, openBlock, createElementBlock, createElementVNode, normalizeStyle, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, resolveComponent, renderSlot, createVNode } from "vue";
2
- import { c as createComponent, e as preventDefault, f as clamp } from "./component-bb5ff48e.js";
2
+ import { c as createComponent, d as preventDefault, e as clamp } from "./component-81a4c1d0.js";
3
3
  import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
4
4
  import { u as useTouch } from "./index-7a7385e4.js";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -1,8 +1,8 @@
1
1
  import { ref, computed, onMounted, watch, resolveComponent, openBlock, createElementBlock, Fragment, renderSlot, createCommentVNode, createElementVNode, normalizeClass, normalizeStyle, createVNode, withCtx, renderList, withModifiers, createBlock, resolveDynamicComponent, toDisplayString } from "vue";
2
- import { a as isArray, c as createComponent } from "./component-bb5ff48e.js";
2
+ import { i as isArray, c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
4
4
  import { u as useRect } from "./index-29892cda.js";
5
- import { P as Popup } from "./index-a564e25f.js";
5
+ import { P as Popup } from "./index-c55ad69e.js";
6
6
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
7
7
  import "../locale/lang";
8
8
  import "./Overlay.js";
@@ -1,7 +1,7 @@
1
- import { P } from "./index-a564e25f.js";
1
+ import { P } from "./index-c55ad69e.js";
2
2
  import "vue";
3
3
  import "./_plugin-vue_export-helper-cc2b3d55.js";
4
- import "./component-bb5ff48e.js";
4
+ import "./component-81a4c1d0.js";
5
5
  import "../locale/lang";
6
6
  import "./Overlay.js";
7
7
  import "@nutui/icons-vue";
@@ -1,5 +1,5 @@
1
1
  import { computed, openBlock, createElementBlock, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { componentName, create } = createComponent("price");
@@ -32,12 +32,17 @@ const _sfc_main = create({
32
32
  size: {
33
33
  type: String,
34
34
  default: "normal"
35
+ },
36
+ strikeThrough: {
37
+ type: Boolean,
38
+ default: false
35
39
  }
36
40
  },
37
41
  setup(props) {
38
42
  const classes = computed(() => {
39
43
  return {
40
- [componentName]: true
44
+ [componentName]: true,
45
+ [`${componentName}--strike`]: props.strikeThrough
41
46
  };
42
47
  });
43
48
  const showSymbol = computed(() => {
@@ -1,5 +1,5 @@
1
1
  import { useSlots, ref, computed, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { Checked } from "@nutui/icons-vue";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
@@ -1,5 +1,5 @@
1
1
  import { ref, reactive, computed, watch, nextTick, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createBlock, createCommentVNode, toDisplayString, renderSlot } from "vue";
2
- import { c as createComponent, l as getScrollTopRoot } from "./component-bb5ff48e.js";
2
+ import { c as createComponent, l as getScrollTopRoot } from "./component-81a4c1d0.js";
3
3
  import { u as useTouch } from "./index-7a7385e4.js";
4
4
  import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
5
5
  import { u as useScrollParent } from "./index-43c34ac6.js";
@@ -1,6 +1,6 @@
1
- import { _ as _sfc_main } from "./index.vue_vue_type_script_lang-8b9f3de5.js";
1
+ import { _ as _sfc_main } from "./index.vue_vue_type_script_lang-d4c88f85.js";
2
2
  import "vue";
3
- import "./component-bb5ff48e.js";
3
+ import "./component-81a4c1d0.js";
4
4
  import "../locale/lang";
5
5
  import "@nutui/icons-vue";
6
6
  import "./pxCheck-c6b9f6b7.js";
@@ -1,6 +1,6 @@
1
- import { _ as _sfc_main } from "./index.vue_vue_type_script_lang-ee936659.js";
1
+ import { _ as _sfc_main } from "./index.vue_vue_type_script_lang-1291fceb.js";
2
2
  import "vue";
3
- import "./component-bb5ff48e.js";
3
+ import "./component-81a4c1d0.js";
4
4
  import "../locale/lang";
5
5
  export {
6
6
  _sfc_main as default
@@ -1,5 +1,5 @@
1
1
  import { ref, computed, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle, withModifiers, Fragment, renderList, createTextVNode, renderSlot } from "vue";
2
- import { c as createComponent, a as isArray } from "./component-bb5ff48e.js";
2
+ import { c as createComponent, i as isArray } from "./component-81a4c1d0.js";
3
3
  import { u as useTouch } from "./index-7a7385e4.js";
4
4
  import { u as useRect } from "./index-29892cda.js";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -1,6 +1,6 @@
1
1
  import { ref, computed, openBlock, createElementBlock, normalizeClass, Fragment, renderList, normalizeStyle, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode } from "vue";
2
2
  import { StarFillN } from "@nutui/icons-vue";
3
- import { c as createComponent } from "./component-bb5ff48e.js";
3
+ import { c as createComponent } from "./component-81a4c1d0.js";
4
4
  import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
5
5
  import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
6
6
  import { u as useTouch } from "./index-7a7385e4.js";
@@ -1,5 +1,5 @@
1
1
  import { provide, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { componentName, create } = createComponent("row");
@@ -1,5 +1,5 @@
1
1
  import { reactive, computed, ref, onMounted, toRefs, openBlock, createElementBlock, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createElementVNode, normalizeClass, withModifiers, withDirectives, createBlock, resolveDynamicComponent, vShow } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
4
4
  import { CircleClose } from "@nutui/icons-vue";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -1,6 +1,6 @@
1
1
  import { ref, computed, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, Fragment, renderList, createCommentVNode } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
3
- import { P as Popup } from "./index-a564e25f.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
+ import { P as Popup } from "./index-c55ad69e.js";
4
4
  import { Tips } from "@nutui/icons-vue";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
6
6
  import "../locale/lang";
@@ -1,5 +1,5 @@
1
1
  import { ref, reactive, computed, onMounted, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { componentName, create } = createComponent("side-navbar");
@@ -1,5 +1,5 @@
1
1
  import { computed, openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, toDisplayString } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { componentName, create } = createComponent("side-navbar-item");
@@ -1,5 +1,5 @@
1
1
  import { ref, computed, reactive, onMounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, withDirectives, vShow, toDisplayString, createCommentVNode, createVNode, withCtx, createTextVNode } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import Button from "./Button.js";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
@@ -1,4 +1,4 @@
1
- import { c as createComponent } from "./component-bb5ff48e.js";
1
+ import { c as createComponent } from "./component-81a4c1d0.js";
2
2
  import { toRefs, computed, resolveComponent, openBlock, createElementBlock, renderSlot, createCommentVNode, createElementVNode, createBlock, normalizeClass, normalizeStyle, Fragment, renderList } from "vue";
3
3
  import Avatar from "./Avatar.js";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -1,9 +1,9 @@
1
1
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, createBlock, createCommentVNode, toDisplayString, ref, watch, onMounted, Fragment, renderList, normalizeClass, createVNode, withCtx, createSlots } from "vue";
2
2
  import Price from "./Price.js";
3
- import { c as createComponent, T as TypeOfFun } from "./component-bb5ff48e.js";
3
+ import { c as createComponent, T as TypeOfFun } from "./component-81a4c1d0.js";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import InputNumber from "./InputNumber.js";
6
- import { p as popupProps, P as Popup } from "./index-a564e25f.js";
6
+ import { p as popupProps, P as Popup } from "./index-c55ad69e.js";
7
7
  import "../locale/lang";
8
8
  import "./pxCheck-c6b9f6b7.js";
9
9
  import "@nutui/icons-vue";
@@ -1,5 +1,5 @@
1
1
  import { getCurrentInstance, inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, Fragment, toDisplayString, createCommentVNode } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { create, componentName } = createComponent("step");
@@ -1,5 +1,5 @@
1
1
  import { reactive, computed, provide, h } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import "../locale/lang";
4
4
  const { create, componentName } = createComponent("steps");
5
5
  const _sfc_main = create({
@@ -1,6 +1,6 @@
1
- import { _ as _sfc_main } from "./index.vue_vue_type_script_lang-8f90bbd8.js";
1
+ import { _ as _sfc_main } from "./index.vue_vue_type_script_lang-cc5c4086.js";
2
2
  import "vue";
3
- import "./component-bb5ff48e.js";
3
+ import "./component-81a4c1d0.js";
4
4
  import "../locale/lang";
5
5
  import "./index-29892cda.js";
6
6
  export {
@@ -1,5 +1,5 @@
1
1
  import { reactive, computed, onMounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, toDisplayString, createBlock, withDirectives, normalizeStyle, renderSlot, vShow } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { ArrowDown2, ArrowUp2 } from "@nutui/icons-vue";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
@@ -1,6 +1,6 @@
1
1
  import { u as useTouch } from "./index-7a7385e4.js";
2
2
  import { computed, ref, reactive, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot } from "vue";
3
- import { c as createComponent } from "./component-bb5ff48e.js";
3
+ import { c as createComponent } from "./component-81a4c1d0.js";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
6
6
  const { componentName, create } = createComponent("swipe");
@@ -1,5 +1,5 @@
1
1
  import { ref, reactive, computed, provide, onDeactivated, onBeforeUnmount, watch, nextTick, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, renderSlot, Fragment, renderList, createCommentVNode } from "vue";
2
- import { c as createComponent, f as clamp } from "./component-bb5ff48e.js";
2
+ import { c as createComponent, e as clamp } from "./component-81a4c1d0.js";
3
3
  import { u as useTouch } from "./index-7a7385e4.js";
4
4
  import { u as useExpose } from "./index-79c5dc33.js";
5
5
  import { r as requestAniFrame } from "./raf-729dad54.js";
@@ -1,5 +1,5 @@
1
1
  import { inject, getCurrentInstance, reactive, computed, onUnmounted, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { u as useExpose } from "./index-79c5dc33.js";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
@@ -1,5 +1,5 @@
1
1
  import { computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, createVNode, createCommentVNode, Fragment, withDirectives, toDisplayString, vShow } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { Loading1 } from "@nutui/icons-vue";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
@@ -1,5 +1,5 @@
1
- import { inject, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
1
+ import { inject, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot } from "vue";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { create } = createComponent("tab-pane");
@@ -20,20 +20,25 @@ const _sfc_main = create({
20
20
  },
21
21
  emits: ["click"],
22
22
  setup(props, { emit }) {
23
- const parent = inject("activeKey");
24
- const parentOption = inject("autoHeight");
23
+ const parentOption = inject("tabsOpiton");
24
+ const paneStyle = computed(() => {
25
+ return {
26
+ display: parentOption.animatedTime.value == 0 && props.paneKey != parentOption.activeKey.value ? "none" : void 0
27
+ };
28
+ });
25
29
  return {
26
- activeKey: parent.activeKey,
27
- autoHeight: parentOption.autoHeight
30
+ ...parentOption,
31
+ paneStyle
28
32
  };
29
33
  }
30
34
  });
31
35
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
32
36
  return openBlock(), createElementBlock("view", {
33
- class: normalizeClass(["nut-tab-pane", { inactive: _ctx.paneKey != _ctx.activeKey && _ctx.autoHeight }])
37
+ class: normalizeClass(["nut-tab-pane", { inactive: _ctx.paneKey != _ctx.activeKey && _ctx.autoHeight }]),
38
+ style: normalizeStyle(_ctx.paneStyle)
34
39
  }, [
35
40
  renderSlot(_ctx.$slots, "default")
36
- ], 2);
41
+ ], 6);
37
42
  }
38
43
  const TabPane = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
39
44
  export {
@@ -1,5 +1,5 @@
1
1
  import { toRefs, ref, reactive, provide, watch, onMounted, nextTick, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { create } = createComponent("tabbar");
@@ -1,4 +1,4 @@
1
- import { c as createComponent } from "./component-bb5ff48e.js";
1
+ import { c as createComponent } from "./component-81a4c1d0.js";
2
2
  import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
3
3
  import { inject, reactive, getCurrentInstance, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createVNode, normalizeProps, guardReactiveProps, withCtx, createElementVNode, renderSlot, createCommentVNode, createBlock, resolveDynamicComponent, toDisplayString } from "vue";
4
4
  import { u as useRouter } from "./index-54d03fc1.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, h, reactive, computed, watch, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, normalizeStyle, createTextVNode, toDisplayString, renderSlot, createBlock, createCommentVNode } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { DownArrow } from "@nutui/icons-vue";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";