@nutui/nutui 4.2.2 → 4.2.4

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 (210) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +34 -21
  3. package/dist/nutui.es.js +1 -1
  4. package/dist/nutui.js +6465 -6441
  5. package/dist/nutui.umd.js +1 -1
  6. package/dist/packages/{Interceptor-6aab6fe0.js → Interceptor-WYVtGbGC.js} +1 -1
  7. package/dist/packages/actionsheet/ActionSheet.js +4 -4
  8. package/dist/packages/address/Address.js +5 -6
  9. package/dist/packages/addresslist/AddressList.js +6 -5
  10. package/dist/packages/animate/Animate.js +2 -2
  11. package/dist/packages/audio/Audio.js +5 -5
  12. package/dist/packages/audiooperate/AudioOperate.js +4 -4
  13. package/dist/packages/avatar/Avatar.js +5 -65
  14. package/dist/packages/avatarcropper/AvatarCropper.js +5 -5
  15. package/dist/packages/avatargroup/AvatarGroup.js +4 -4
  16. package/dist/packages/backtop/Backtop.js +3 -3
  17. package/dist/packages/badge/Badge.js +2 -2
  18. package/dist/packages/barrage/Barrage.js +2 -2
  19. package/dist/packages/button/Button.js +2 -2
  20. package/dist/packages/calendar/Calendar.js +9 -10
  21. package/dist/packages/calendaritem/CalendarItem.js +6 -7
  22. package/dist/packages/card/Card.js +2 -2
  23. package/dist/packages/cascader/Cascader.js +10 -10
  24. package/dist/packages/cascader/index.css +1 -1
  25. package/dist/packages/category/Category.js +2 -2
  26. package/dist/packages/categorypane/CategoryPane.js +2 -2
  27. package/dist/packages/cell/Cell.js +4 -4
  28. package/dist/packages/cellgroup/CellGroup.js +2 -2
  29. package/dist/packages/checkbox/Checkbox.js +149 -152
  30. package/dist/packages/checkboxgroup/CheckboxGroup.js +5 -5
  31. package/dist/packages/circleprogress/CircleProgress.js +3 -3
  32. package/dist/packages/col/Col.js +6 -5
  33. package/dist/packages/collapse/Collapse.js +7 -6
  34. package/dist/packages/collapseitem/CollapseItem.js +9 -9
  35. package/dist/packages/comment/Comment.js +7 -7
  36. package/dist/packages/{common-1579352e.js → common-4inKawxR.js} +2 -2
  37. package/dist/packages/configprovider/ConfigProvider.js +1 -1
  38. package/dist/packages/countdown/Countdown.js +4 -4
  39. package/dist/packages/countup/Countup.js +2 -2
  40. package/dist/packages/datepicker/DatePicker.js +6 -6
  41. package/dist/packages/dialog/Dialog.js +7 -7
  42. package/dist/packages/divider/Divider.js +4 -4
  43. package/dist/packages/drag/Drag.js +3 -3
  44. package/dist/packages/ecard/Ecard.js +5 -5
  45. package/dist/packages/elevator/Elevator.js +7 -8
  46. package/dist/packages/ellipsis/Ellipsis.js +2 -2
  47. package/dist/packages/empty/Empty.js +5 -5
  48. package/dist/packages/fixednav/FixedNav.js +4 -4
  49. package/dist/packages/form/Form.js +15 -46
  50. package/dist/packages/formitem/FormItem.js +38 -24
  51. package/dist/packages/formitem/index.css +1 -1
  52. package/dist/packages/formitem/index.scss +25 -0
  53. package/dist/packages/grid/Grid.js +3 -3
  54. package/dist/packages/griditem/GridItem.js +5 -5
  55. package/dist/packages/image/Image.js +3 -3
  56. package/dist/packages/imagepreview/ImagePreview.js +11 -11
  57. package/dist/packages/index--uVlasFu.js +69 -0
  58. package/dist/packages/{index-914a76f0.js → index-NLe0VBkN.js} +6 -7
  59. package/dist/packages/{index-37ae1f41.js → index-rbZsBckW.js} +2 -2
  60. package/dist/packages/{index-c0fa0f6b.js → index-s3RgMhc7.js} +1 -1
  61. package/dist/packages/{index.vue_vue_type_script_lang-0185ccea.js → index.vue_vue_type_script_lang-54PRh3YM.js} +3 -3
  62. package/dist/packages/{index.vue_vue_type_script_lang-825ed1e0.js → index.vue_vue_type_script_lang-MJYVRFbp.js} +14 -9
  63. package/dist/packages/indicator/Indicator.js +3 -3
  64. package/dist/packages/infiniteloading/InfiniteLoading.js +6 -6
  65. package/dist/packages/input/Input.js +2 -2
  66. package/dist/packages/inputnumber/InputNumber.js +4 -4
  67. package/dist/packages/invoice/Invoice.js +11 -7
  68. package/dist/packages/invoice/index.css +1 -1
  69. package/dist/packages/layout/Layout.js +1 -1
  70. package/dist/packages/list/List.js +3 -3
  71. package/dist/packages/locale/lang/en-US.js +1 -1
  72. package/dist/packages/locale/lang/id-ID.js +1 -1
  73. package/dist/packages/locale/lang/index.js +1 -1
  74. package/dist/packages/locale/lang/zh-CN.js +1 -1
  75. package/dist/packages/locale/lang/zh-TW.js +1 -1
  76. package/dist/packages/menu/Menu.js +17 -52
  77. package/dist/packages/menuitem/MenuItem.js +8 -18
  78. package/dist/packages/{mountComponent-867a9167.js → mountComponent-uInXoTMp.js} +1 -1
  79. package/dist/packages/navbar/Navbar.js +2 -2
  80. package/dist/packages/navbar/index.css +1 -1
  81. package/dist/packages/navbar/index.scss +5 -16
  82. package/dist/packages/noticebar/Noticebar.js +3 -3
  83. package/dist/packages/notify/Notify.js +4 -4
  84. package/dist/packages/numberkeyboard/NumberKeyboard.js +5 -5
  85. package/dist/packages/overlay/Overlay.js +3 -3
  86. package/dist/packages/pagination/Pagination.js +4 -4
  87. package/dist/packages/picker/Picker.js +6 -6
  88. package/dist/packages/popover/Popover.js +9 -8
  89. package/dist/packages/popup/Popup.js +4 -4
  90. package/dist/packages/price/Price.js +2 -2
  91. package/dist/packages/progress/Progress.js +2 -2
  92. package/dist/packages/pullrefresh/PullRefresh.js +7 -7
  93. package/dist/packages/radio/Radio.js +4 -3
  94. package/dist/packages/radio/index.css +1 -1
  95. package/dist/packages/radio/index.scss +21 -0
  96. package/dist/packages/radiogroup/RadioGroup.js +3 -2
  97. package/dist/packages/radiogroup/index.scss +0 -5
  98. package/dist/packages/range/Range.js +5 -7
  99. package/dist/packages/rate/Rate.js +5 -5
  100. package/dist/packages/row/Row.js +6 -5
  101. package/dist/packages/searchbar/Searchbar.js +5 -5
  102. package/dist/packages/shortpassword/ShortPassword.js +5 -5
  103. package/dist/packages/sidenavbar/SideNavbar.js +2 -2
  104. package/dist/packages/sidenavbaritem/SideNavbarItem.js +2 -2
  105. package/dist/packages/signature/Signature.js +4 -4
  106. package/dist/packages/skeleton/Skeleton.js +3 -3
  107. package/dist/packages/sku/Sku.js +6 -6
  108. package/dist/packages/space/Space.js +1 -1
  109. package/dist/packages/step/Step.js +4 -3
  110. package/dist/packages/steps/Steps.js +3 -2
  111. package/dist/packages/sticky/Sticky.js +4 -4
  112. package/dist/packages/subsidenavbar/SubSideNavbar.js +2 -2
  113. package/dist/packages/swipe/Swipe.js +5 -4
  114. package/dist/packages/swipegroup/SwipeGroup.js +4 -3
  115. package/dist/packages/swiper/Swiper.js +9 -9
  116. package/dist/packages/swiperitem/SwiperItem.js +11 -5
  117. package/dist/packages/switch/Switch.js +2 -2
  118. package/dist/packages/tabbar/Tabbar.js +5 -4
  119. package/dist/packages/tabbaritem/TabbarItem.js +6 -5
  120. package/dist/packages/table/Table.js +4 -4
  121. package/dist/packages/tabpane/TabPane.js +2 -2
  122. package/dist/packages/tabs/Tabs.js +9 -9
  123. package/dist/packages/tabs/index.css +1 -1
  124. package/dist/packages/tabs/index.scss +114 -117
  125. package/dist/packages/tag/Tag.js +2 -2
  126. package/dist/packages/textarea/Textarea.js +4 -4
  127. package/dist/packages/textarea/index.css +1 -1
  128. package/dist/packages/textarea/index.scss +1 -0
  129. package/dist/packages/timedetail/TimeDetail.js +2 -2
  130. package/dist/packages/timepannel/TimePannel.js +2 -2
  131. package/dist/packages/timeselect/TimeSelect.js +5 -5
  132. package/dist/packages/toast/Toast.js +5 -5
  133. package/dist/packages/tour/Tour.js +6 -6
  134. package/dist/packages/trendarrow/TrendArrow.js +3 -3
  135. package/dist/packages/types-4IflWeQO.js +4 -0
  136. package/dist/packages/types-9wCQwtH3.js +4 -0
  137. package/dist/packages/types-Cq2YypZn.js +4 -0
  138. package/dist/packages/types-RCVUm7Nb.js +4 -0
  139. package/dist/packages/types-Ww4ErYJT.js +4 -0
  140. package/dist/packages/types-Ynmct7na.js +4 -0
  141. package/dist/packages/types-j71K23JP.js +4 -0
  142. package/dist/packages/types-odSRziQJ.js +4 -0
  143. package/dist/packages/types-qOrhXtA_.js +4 -0
  144. package/dist/packages/types-zeKkNDAq.js +4 -0
  145. package/dist/packages/uploader/Uploader.js +5 -5
  146. package/dist/packages/useChildren-GU_NVfD8.js +54 -0
  147. package/dist/packages/useParent-KIxqkovs.js +16 -0
  148. package/dist/packages/video/Video.js +4 -4
  149. package/dist/packages/watermark/Watermark.js +2 -2
  150. package/dist/smartips/web-types.json +55 -1
  151. package/dist/style.css +1 -1
  152. package/dist/style.js +1 -4
  153. package/dist/types/__VUE/address/index.vue.d.ts +3 -3
  154. package/dist/types/__VUE/avatar/index.vue.d.ts +1 -1
  155. package/dist/types/__VUE/avatar/types.d.ts +1 -0
  156. package/dist/types/__VUE/avatargroup/index.vue.d.ts +2 -2
  157. package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
  158. package/dist/types/__VUE/checkbox/index.vue.d.ts +72 -1
  159. package/dist/types/__VUE/checkbox/types.d.ts +1 -0
  160. package/dist/types/__VUE/col/index.vue.d.ts +1 -0
  161. package/dist/types/__VUE/collapse/index.vue.d.ts +4 -29
  162. package/dist/types/__VUE/collapse/types.d.ts +5 -0
  163. package/dist/types/__VUE/collapseitem/index.vue.d.ts +2 -1
  164. package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
  165. package/dist/types/__VUE/divider/index.vue.d.ts +15 -1
  166. package/dist/types/__VUE/form/common.d.ts +9 -1
  167. package/dist/types/__VUE/form/index.vue.d.ts +18 -0
  168. package/dist/types/__VUE/form/types.d.ts +4 -1
  169. package/dist/types/__VUE/formitem/index.vue.d.ts +21 -1
  170. package/dist/types/__VUE/formitem/types.d.ts +2 -0
  171. package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
  172. package/dist/types/__VUE/image/index.vue.d.ts +1 -1
  173. package/dist/types/__VUE/layout/types.d.ts +1 -0
  174. package/dist/types/__VUE/menu/index.vue.d.ts +18 -9
  175. package/dist/types/__VUE/menu/types.d.ts +6 -0
  176. package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -1
  177. package/dist/types/__VUE/navbar/index.vue.d.ts +1 -1
  178. package/dist/types/__VUE/radio/index.vue.d.ts +14 -3
  179. package/dist/types/__VUE/radio/types.d.ts +5 -0
  180. package/dist/types/__VUE/radiogroup/index.vue.d.ts +8 -6
  181. package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +1 -1
  182. package/dist/types/__VUE/sku/index.vue.d.ts +1 -1
  183. package/dist/types/__VUE/steps/types.d.ts +1 -0
  184. package/dist/types/__VUE/swipe/types.d.ts +1 -0
  185. package/dist/types/__VUE/swiper/types.d.ts +1 -0
  186. package/dist/types/__VUE/tabbar/types.d.ts +1 -0
  187. package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
  188. package/dist/types/__VUE/toast/index.vue.d.ts +1 -1
  189. package/dist/types/__VUE/uploader/index.vue.d.ts +2 -28
  190. package/dist/types/index.d.ts +1 -1
  191. package/dist/types/utils/index.d.ts +1 -0
  192. package/dist/types/utils/useRelation/index.d.ts +2 -0
  193. package/dist/types/utils/useRelation/useChildren.d.ts +4 -0
  194. package/dist/types/utils/useRelation/useParent.d.ts +3 -0
  195. package/package.json +1 -1
  196. package/dist/packages/index-79c5dc33.js +0 -10
  197. package/dist/types/__VUE/checkbox/common.d.ts +0 -2
  198. package/dist/types/__VUE/menuitem/type.d.ts +0 -4
  199. package/dist/types/__VUE/picker/common.d.ts +0 -406
  200. /package/dist/packages/{_plugin-vue_export-helper-cc2b3d55.js → _plugin-vue_export-helper-yVxbj29m.js} +0 -0
  201. /package/dist/packages/{component-669c158a.js → component-TCzwHGVq.js} +0 -0
  202. /package/dist/packages/{index-7a7385e4.js → index-084nl_oE.js} +0 -0
  203. /package/dist/packages/{index-54d03fc1.js → index-Ii9XdkPy.js} +0 -0
  204. /package/dist/packages/{index-29892cda.js → index-rf29bejW.js} +0 -0
  205. /package/dist/packages/{index-97b44e6c.js → index-xDfQLRen.js} +0 -0
  206. /package/dist/packages/locale/lang/{baseLang-3a8457ac.js → baseLang-7uiEiO-2.js} +0 -0
  207. /package/dist/packages/{pxCheck-a27490eb.js → pxCheck-OnXlN1NC.js} +0 -0
  208. /package/dist/packages/{raf-729dad54.js → raf-MQjoO-Ag.js} +0 -0
  209. /package/dist/packages/{renderIcon-3d0fd47c.js → renderIcon--EgZu5_5.js} +0 -0
  210. /package/dist/packages/{util-6f26722f.js → util-4Jkyw4BJ.js} +0 -0
@@ -1,10 +1,10 @@
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 { c as createComponent } from "../component-669c158a.js";
3
- import { r as renderIcon } from "../renderIcon-3d0fd47c.js";
4
- import { a as isArray } from "../util-6f26722f.js";
5
- import { u as useRect } from "../index-29892cda.js";
6
- import { N as NutPopup } from "../index-37ae1f41.js";
7
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
2
+ import { c as createComponent } from "../component-TCzwHGVq.js";
3
+ import { r as renderIcon } from "../renderIcon--EgZu5_5.js";
4
+ import { a as isArray } from "../util-4Jkyw4BJ.js";
5
+ import { u as useRect } from "../index-rf29bejW.js";
6
+ import { N as NutPopup } from "../index-rbZsBckW.js";
7
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
8
8
  import "@nutui/icons-vue";
9
9
  import "../overlay/Overlay.js";
10
10
  const { create } = createComponent("popover");
@@ -144,9 +144,10 @@ const _sfc_main = create({
144
144
  }
145
145
  rootRect.value = rect2;
146
146
  setTimeout(() => {
147
+ var _a, _b;
147
148
  conentRootRect.value = {
148
- height: popoverContentRef.value.clientHeight,
149
- width: popoverContentRef.value.clientWidth
149
+ height: (_a = popoverContentRef.value) == null ? void 0 : _a.clientHeight,
150
+ width: (_b = popoverContentRef.value) == null ? void 0 : _b.clientWidth
150
151
  };
151
152
  }, 0);
152
153
  };
@@ -1,10 +1,10 @@
1
- import { N } from "../index-37ae1f41.js";
1
+ import { N } from "../index-rbZsBckW.js";
2
2
  import "vue";
3
- import "../_plugin-vue_export-helper-cc2b3d55.js";
3
+ import "../_plugin-vue_export-helper-yVxbj29m.js";
4
4
  import "@nutui/icons-vue";
5
5
  import "../overlay/Overlay.js";
6
- import "../component-669c158a.js";
7
- import "../util-6f26722f.js";
6
+ import "../component-TCzwHGVq.js";
7
+ import "../util-4Jkyw4BJ.js";
8
8
  export {
9
9
  N as default
10
10
  };
@@ -1,6 +1,6 @@
1
1
  import { computed, openBlock, createElementBlock, normalizeClass, createCommentVNode, createElementVNode, toDisplayString } from "vue";
2
- import { c as createComponent } from "../component-669c158a.js";
3
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
2
+ import { c as createComponent } from "../component-TCzwHGVq.js";
3
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
4
4
  const { componentName, create } = createComponent("price");
5
5
  const _sfc_main = create({
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  import { useSlots, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
2
2
  import { Checked } from "@nutui/icons-vue";
3
- import { c as createComponent } from "../component-669c158a.js";
4
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
3
+ import { c as createComponent } from "../component-TCzwHGVq.js";
4
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
5
5
  const { create } = createComponent("progress");
6
6
  const _sfc_main = create({
7
7
  components: { Checked },
@@ -18,14 +18,14 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { ref, reactive, computed, watch, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeStyle, createBlock, createCommentVNode, toDisplayString, renderSlot } from "vue";
21
- import { c as createComponent } from "../component-669c158a.js";
22
- import { j as getScrollTopRoot } from "../util-6f26722f.js";
23
- import { u as useTouch } from "../index-7a7385e4.js";
24
- import { p as pxCheck } from "../pxCheck-a27490eb.js";
25
- import { u as useScrollParent } from "../index-97b44e6c.js";
21
+ import { c as createComponent } from "../component-TCzwHGVq.js";
22
+ import { j as getScrollTopRoot } from "../util-4Jkyw4BJ.js";
23
+ import { u as useTouch } from "../index-084nl_oE.js";
24
+ import { p as pxCheck } from "../pxCheck-OnXlN1NC.js";
25
+ import { u as useScrollParent } from "../index-xDfQLRen.js";
26
26
  import { Loading } from "@nutui/icons-vue";
27
- import { u as useLocale } from "../index-c0fa0f6b.js";
28
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
27
+ import { u as useLocale } from "../index-s3RgMhc7.js";
28
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
29
29
  import "@nutui/nutui/dist/packages/locale/lang";
30
30
  const { create } = createComponent("pull-refresh");
31
31
  const cN = "NutPullRefresh";
@@ -1,8 +1,9 @@
1
- import { _ as _sfc_main } from "../index.vue_vue_type_script_lang-825ed1e0.js";
1
+ import { _ as _sfc_main } from "../index.vue_vue_type_script_lang-MJYVRFbp.js";
2
2
  import "vue";
3
- import "../component-669c158a.js";
3
+ import "../component-TCzwHGVq.js";
4
4
  import "@nutui/icons-vue";
5
- import "../pxCheck-a27490eb.js";
5
+ import "../pxCheck-OnXlN1NC.js";
6
+ import "../types-odSRziQJ.js";
6
7
  export {
7
8
  _sfc_main as default
8
9
  };
@@ -1 +1 @@
1
- .nut-theme-dark .nut-radio__label{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-radio__label--disabled{color:var(--nut-radio-label-disable-color, #999)}.nut-theme-dark .nut-radio__button{background:var(--nut-dark-background, #131313);color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-radio__button--disabled{color:var(--nut-radio-label-disable-color, #999);border:1px solid var(--nut-radio-label-disable-color, #999)}.nut-radio{display:flex;align-items:center;flex-shrink:0}.nut-radio:last-child{margin-bottom:0 !important;margin-right:0 !important}.nut-radio--reverse{flex-direction:row-reverse}.nut-radio--reverse .nut-radio__label{margin-right:var(--nut-radio-label-margin-left, 15px);margin-left:0}.nut-radio__button{display:inline-flex;align-items:center;padding:var(--nut-radio-button-padding, 5px 18px);font-size:var(--nut-radio-button-font-size, 12px);background:#f6f7f9;border-radius:var(--nut-radio-button-border-radius, 15px);color:var(--nut-radio-label-font-color, #1d1e1e);box-sizing:border-box;border:1px solid #f6f7f9}.nut-radio__button--active{background:rgba(0,0,0,0);color:var(--nut-radio-label-font-active-color, var(--nut-primary-color, #fa2c19));border:1px solid var(--nut-radio-label-button-border-color, var(--nut-primary-color, #fa2c19));position:relative}.nut-radio__button--active::after{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:var(--nut-radio-label-button-background, var(--nut-primary-color, #fa2c19));border-radius:var(--nut-radio-button-border-radius, 15px);opacity:.05;content:""}.nut-radio__button--disabled{color:var(--nut-radio-label-disable-color, #999);border:none}.nut-radio__label{flex:1;margin-left:var(--nut-radio-label-margin-left, 15px);font-size:var(--nut-radio-label-font-size, 14px);color:var(--nut-radio-label-font-color, #1d1e1e)}.nut-radio__label--disabled{color:var(--nut-radio-label-disable-color, #999)}.nut-radio__icon{color:var(--nut-radio-label-font-active-color, var(--nut-primary-color, #fa2c19));transition-duration:.3s;transition-property:color,border-color,background-color}.nut-radio__icon--unchecked{color:var(--nut-radio-icon-disable-color, #d6d6d6)}.nut-radio__icon--disable{color:var(--nut-radio-icon-disable-color2, var(--nut-help-color, #f5f5f5))}
1
+ .nut-theme-dark .nut-radio__label{color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-radio__label--disabled{color:var(--nut-radio-label-disable-color, #999)}.nut-theme-dark .nut-radio__button{background:var(--nut-dark-background, #131313);color:var(--nut-dark-color, var(--nut-white, #fff))}.nut-theme-dark .nut-radio__button--disabled{color:var(--nut-radio-label-disable-color, #999);border:1px solid var(--nut-radio-label-disable-color, #999)}.nut-radio{display:flex;align-items:center;flex-shrink:0;cursor:pointer}.nut-radio:last-child{margin-bottom:0 !important;margin-right:0 !important}.nut-radio--reverse{flex-direction:row-reverse}.nut-radio--reverse .nut-radio__label{margin-right:var(--nut-radio-label-margin-left, 15px);margin-left:0}.nut-radio__button{display:inline-flex;align-items:center;padding:var(--nut-radio-button-padding, 5px 18px);font-size:var(--nut-radio-button-font-size, 12px);background:#f6f7f9;border-radius:var(--nut-radio-button-border-radius, 15px);color:var(--nut-radio-label-font-color, #1d1e1e);box-sizing:border-box;border:1px solid #f6f7f9}.nut-radio__button--active{background:rgba(0,0,0,0);color:var(--nut-radio-label-font-active-color, var(--nut-primary-color, #fa2c19));border:1px solid var(--nut-radio-label-button-border-color, var(--nut-primary-color, #fa2c19));position:relative}.nut-radio__button--active::after{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:var(--nut-radio-label-button-background, var(--nut-primary-color, #fa2c19));border-radius:var(--nut-radio-button-border-radius, 15px);opacity:.05;content:""}.nut-radio__button--disabled{color:var(--nut-radio-label-disable-color, #999);border:none}.nut-radio__button--large{height:var(--nut-button-large-height, 48px);line-height:var(--nut-button-large-line-height, 46px);font-size:var(--nut-button-large-font-size, var(--nut-button-default-font-size, var(--nut-font-size-2, 14px)))}.nut-radio__button--small{height:var(--nut-button-small-height, 28px);line-height:var(--nut-button-small-line-height, 26px);padding:var(--nut-button-small-padding, 0 12px);font-size:var(--nut-button-small-font-size, var(--nut-font-size-1, 12px))}.nut-radio__button--mini{height:var(--nut-button-mini-height, 24px);line-height:var(--nut-button-mini-line-height, 1.2);padding:var(--nut-button-mini-padding, 0 12px);font-size:var(--nut-button-mini-font-size, var(--nut-font-size-1, 12px))}.nut-radio__label{flex:1;margin-left:var(--nut-radio-label-margin-left, 15px);font-size:var(--nut-radio-label-font-size, 14px);color:var(--nut-radio-label-font-color, #1d1e1e)}.nut-radio__label--disabled{color:var(--nut-radio-label-disable-color, #999)}.nut-radio__icon{color:var(--nut-radio-label-font-active-color, var(--nut-primary-color, #fa2c19));transition-duration:.3s;transition-property:color,border-color,background-color}.nut-radio__icon--unchecked{color:var(--nut-radio-icon-disable-color, #d6d6d6)}.nut-radio__icon--disable{color:var(--nut-radio-icon-disable-color2, var(--nut-help-color, #f5f5f5))}
@@ -24,6 +24,7 @@
24
24
  display: flex;
25
25
  align-items: center;
26
26
  flex-shrink: 0;
27
+ cursor: pointer;
27
28
 
28
29
  &:last-child {
29
30
  margin-bottom: 0 !important;
@@ -75,6 +76,26 @@
75
76
  color: $radio-label-disable-color;
76
77
  border: none;
77
78
  }
79
+
80
+ &--large {
81
+ height: $button-large-height;
82
+ line-height: $button-large-line-height;
83
+ font-size: $button-large-font-size;
84
+ }
85
+
86
+ &--small {
87
+ height: $button-small-height;
88
+ line-height: $button-small-line-height;
89
+ padding: $button-small-padding;
90
+ font-size: $button-small-font-size;
91
+ }
92
+
93
+ &--mini {
94
+ height: $button-mini-height;
95
+ line-height: $button-mini-line-height;
96
+ padding: $button-mini-padding;
97
+ font-size: $button-mini-font-size;
98
+ }
78
99
  }
79
100
 
80
101
  &__label {
@@ -1,6 +1,7 @@
1
- import { _ as _sfc_main } from "../index.vue_vue_type_script_lang-0185ccea.js";
1
+ import { _ as _sfc_main } from "../index.vue_vue_type_script_lang-54PRh3YM.js";
2
2
  import "vue";
3
- import "../component-669c158a.js";
3
+ import "../component-TCzwHGVq.js";
4
+ import "../types-odSRziQJ.js";
4
5
  export {
5
6
  _sfc_main as default
6
7
  };
@@ -3,8 +3,6 @@
3
3
  .nut-radio {
4
4
  margin-bottom: 5px;
5
5
  }
6
- &--vertical {
7
- }
8
6
  &--horizontal {
9
7
  .nut-radio {
10
8
  display: inline-flex;
@@ -14,9 +12,6 @@
14
12
  margin: 0 6px;
15
13
  }
16
14
  }
17
- &--button {
18
- // ...
19
- }
20
15
  }
21
16
  }
22
17
  }
@@ -18,11 +18,11 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { ref, computed, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle, withModifiers, Fragment, renderList, createTextVNode, renderSlot } from "vue";
21
- import { c as createComponent } from "../component-669c158a.js";
22
- import { a as isArray } from "../util-6f26722f.js";
23
- import { u as useTouch } from "../index-7a7385e4.js";
24
- import { u as useRect } from "../index-29892cda.js";
25
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
21
+ import { c as createComponent } from "../component-TCzwHGVq.js";
22
+ import { a as isArray } from "../util-4Jkyw4BJ.js";
23
+ import { u as useTouch } from "../index-084nl_oE.js";
24
+ import { u as useRect } from "../index-rf29bejW.js";
25
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
26
26
  const { componentName, create } = createComponent("range");
27
27
  const _sfc_main = create({
28
28
  props: {
@@ -272,8 +272,6 @@ const _sfc_main = create({
272
272
  currentValue = startValue + diff;
273
273
  }
274
274
  updateValue(currentValue);
275
- event.stopPropagation();
276
- event.preventDefault();
277
275
  };
278
276
  const onTouchEnd = () => {
279
277
  if (props.disabled) {
@@ -19,11 +19,11 @@ var __spreadValues = (a, b) => {
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { ref, openBlock, createElementBlock, Fragment, renderList, normalizeStyle, createElementVNode, createBlock, resolveDynamicComponent, normalizeClass, createCommentVNode } from "vue";
21
21
  import { StarFillN } from "@nutui/icons-vue";
22
- import { c as createComponent } from "../component-669c158a.js";
23
- import { r as renderIcon } from "../renderIcon-3d0fd47c.js";
24
- import { p as pxCheck } from "../pxCheck-a27490eb.js";
25
- import { u as useTouch } from "../index-7a7385e4.js";
26
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
22
+ import { c as createComponent } from "../component-TCzwHGVq.js";
23
+ import { r as renderIcon } from "../renderIcon--EgZu5_5.js";
24
+ import { p as pxCheck } from "../pxCheck-OnXlN1NC.js";
25
+ import { u as useTouch } from "../index-084nl_oE.js";
26
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
27
27
  const { create } = createComponent("rate");
28
28
  const _sfc_main = create({
29
29
  props: {
@@ -1,7 +1,8 @@
1
1
  import { provide, computed, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
2
- import { c as createComponent } from "../component-669c158a.js";
3
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
4
- const { componentName, create } = createComponent("row");
2
+ import { c as createComponent } from "../component-TCzwHGVq.js";
3
+ import { L as LAYOUT_KEY } from "../types-Ww4ErYJT.js";
4
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
5
+ const { create } = createComponent("row");
5
6
  const _sfc_main = create({
6
7
  props: {
7
8
  type: {
@@ -26,8 +27,8 @@ const _sfc_main = create({
26
27
  }
27
28
  },
28
29
  setup(props) {
29
- const prefixCls = componentName;
30
- provide("gutter", props.gutter);
30
+ const prefixCls = "nut-row";
31
+ provide(LAYOUT_KEY, props.gutter);
31
32
  const getClass = (prefix, type) => {
32
33
  return prefix ? type ? `nut-row-${prefix}-${type}` : "" : `nut-row-${type}`;
33
34
  };
@@ -18,13 +18,13 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { reactive, computed, ref, onMounted, toRefs, openBlock, createElementBlock, normalizeClass, normalizeStyle, toDisplayString, createCommentVNode, renderSlot, createElementVNode, withModifiers, withDirectives, createBlock, resolveDynamicComponent, vShow } from "vue";
21
- import { c as createComponent } from "../component-669c158a.js";
22
- import { r as renderIcon } from "../renderIcon-3d0fd47c.js";
21
+ import { c as createComponent } from "../component-TCzwHGVq.js";
22
+ import { r as renderIcon } from "../renderIcon--EgZu5_5.js";
23
23
  import { CircleClose } from "@nutui/icons-vue";
24
- import { u as useLocale } from "../index-c0fa0f6b.js";
25
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
24
+ import { u as useLocale } from "../index-s3RgMhc7.js";
25
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
26
26
  import "@nutui/nutui/dist/packages/locale/lang";
27
- import "../util-6f26722f.js";
27
+ import "../util-4Jkyw4BJ.js";
28
28
  const { create } = createComponent("searchbar");
29
29
  const cN = "NutSearchbar";
30
30
  const _sfc_main = create({
@@ -1,11 +1,11 @@
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-669c158a.js";
3
- import { N as NutPopup } from "../index-37ae1f41.js";
2
+ import { c as createComponent } from "../component-TCzwHGVq.js";
3
+ import { N as NutPopup } from "../index-rbZsBckW.js";
4
4
  import { Tips } from "@nutui/icons-vue";
5
- import { u as useLocale } from "../index-c0fa0f6b.js";
6
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
5
+ import { u as useLocale } from "../index-s3RgMhc7.js";
6
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
7
7
  import "../overlay/Overlay.js";
8
- import "../util-6f26722f.js";
8
+ import "../util-4Jkyw4BJ.js";
9
9
  import "@nutui/nutui/dist/packages/locale/lang";
10
10
  const { create } = createComponent("short-password");
11
11
  const cN = "NutShortPassword";
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { ref, reactive, onMounted, toRefs, openBlock, createElementBlock, createElementVNode, renderSlot } from "vue";
21
- import { c as createComponent } from "../component-669c158a.js";
22
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
21
+ import { c as createComponent } from "../component-TCzwHGVq.js";
22
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
23
23
  const { create } = createComponent("side-navbar");
24
24
  const _sfc_main = create({
25
25
  props: {
@@ -1,6 +1,6 @@
1
- import { c as createComponent } from "../component-669c158a.js";
1
+ import { c as createComponent } from "../component-TCzwHGVq.js";
2
2
  import { openBlock, createElementBlock, withModifiers, createElementVNode, toDisplayString } from "vue";
3
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
3
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
4
4
  const { create } = createComponent("side-navbar-item");
5
5
  const _sfc_main = create({
6
6
  props: {
@@ -18,13 +18,13 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { ref, computed, reactive, onMounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, withDirectives, vShow, toDisplayString, createCommentVNode, createVNode, withCtx, createTextVNode } from "vue";
21
- import { c as createComponent } from "../component-669c158a.js";
21
+ import { c as createComponent } from "../component-TCzwHGVq.js";
22
22
  import NutButton from "../button/Button.js";
23
- import { u as useLocale } from "../index-c0fa0f6b.js";
24
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
23
+ import { u as useLocale } from "../index-s3RgMhc7.js";
24
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
25
25
  import "@nutui/icons-vue";
26
26
  import "@nutui/nutui/dist/packages/locale/lang";
27
- import "../util-6f26722f.js";
27
+ import "../util-4Jkyw4BJ.js";
28
28
  const { create } = createComponent("signature");
29
29
  const cN = "NutSignature";
30
30
  const _sfc_main = create({
@@ -1,7 +1,7 @@
1
- import { c as createComponent } from "../component-669c158a.js";
1
+ import { c as createComponent } from "../component-TCzwHGVq.js";
2
2
  import { toRefs, computed, resolveComponent, openBlock, createElementBlock, renderSlot, createCommentVNode, createElementVNode, createBlock, normalizeClass, normalizeStyle, Fragment, renderList } from "vue";
3
- import NutAvatar from "../avatar/Avatar.js";
4
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
3
+ import { N as NutAvatar } from "../index--uVlasFu.js";
4
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
5
5
  const { create } = createComponent("skeleton");
6
6
  const _sfc_main = create({
7
7
  components: {
@@ -1,13 +1,13 @@
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 NutPrice from "../price/Price.js";
3
- import { c as createComponent } from "../component-669c158a.js";
4
- import { u as useLocale } from "../index-c0fa0f6b.js";
5
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
6
- import { T as TypeOfFun } from "../util-6f26722f.js";
3
+ import { c as createComponent } from "../component-TCzwHGVq.js";
4
+ import { u as useLocale } from "../index-s3RgMhc7.js";
5
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
6
+ import { T as TypeOfFun } from "../util-4Jkyw4BJ.js";
7
7
  import NutInputNumber from "../inputnumber/InputNumber.js";
8
- import { N as NutPopup } from "../index-37ae1f41.js";
8
+ import { N as NutPopup } from "../index-rbZsBckW.js";
9
9
  import "@nutui/nutui/dist/packages/locale/lang";
10
- import "../pxCheck-a27490eb.js";
10
+ import "../pxCheck-OnXlN1NC.js";
11
11
  import "@nutui/icons-vue";
12
12
  import "../overlay/Overlay.js";
13
13
  const { create: create$4 } = createComponent("sku-header");
@@ -1,5 +1,5 @@
1
1
  import { h, Fragment, Comment, Text } from "vue";
2
- import { c as createComponent } from "../component-669c158a.js";
2
+ import { c as createComponent } from "../component-TCzwHGVq.js";
3
3
  const { create, componentName } = createComponent("space");
4
4
  const _sfc_main = create({
5
5
  props: {
@@ -18,8 +18,9 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { getCurrentInstance, inject, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, Fragment, toDisplayString, createCommentVNode } from "vue";
21
- import { c as createComponent } from "../component-669c158a.js";
22
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
21
+ import { c as createComponent } from "../component-TCzwHGVq.js";
22
+ import { S as STEPS_KEY } from "../types-RCVUm7Nb.js";
23
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
23
24
  const { create, componentName } = createComponent("step");
24
25
  const _sfc_main = create({
25
26
  props: {
@@ -35,7 +36,7 @@ const _sfc_main = create({
35
36
  emits: ["clickStep"],
36
37
  setup() {
37
38
  const { proxy } = getCurrentInstance();
38
- const parent = inject("parent");
39
+ const parent = inject(STEPS_KEY);
39
40
  parent["relation"](proxy);
40
41
  const state = reactive({
41
42
  dot: parent.props.progressDot
@@ -1,5 +1,6 @@
1
1
  import { reactive, computed, provide, h } from "vue";
2
- import { c as createComponent } from "../component-669c158a.js";
2
+ import { c as createComponent } from "../component-TCzwHGVq.js";
3
+ import { S as STEPS_KEY } from "../types-RCVUm7Nb.js";
3
4
  const { create, componentName } = createComponent("steps");
4
5
  const _sfc_main = create({
5
6
  props: {
@@ -35,7 +36,7 @@ const _sfc_main = create({
35
36
  const onEmit = (index) => {
36
37
  emit("clickStep", index);
37
38
  };
38
- provide("parent", {
39
+ provide(STEPS_KEY, {
39
40
  relation,
40
41
  state,
41
42
  props,
@@ -1,8 +1,8 @@
1
1
  import { ref, reactive, computed, watch, onMounted, onUnmounted, openBlock, createElementBlock, normalizeStyle, createElementVNode, renderSlot } from "vue";
2
- import { c as createComponent } from "../component-669c158a.js";
3
- import { g as getScrollParent } from "../index-97b44e6c.js";
4
- import { u as useRect } from "../index-29892cda.js";
5
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
2
+ import { c as createComponent } from "../component-TCzwHGVq.js";
3
+ import { g as getScrollParent } from "../index-xDfQLRen.js";
4
+ import { u as useRect } from "../index-rf29bejW.js";
5
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
6
6
  const { create } = createComponent("sticky");
7
7
  const _sfc_main = create({
8
8
  props: {
@@ -18,9 +18,9 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { reactive, computed, onMounted, toRefs, resolveComponent, openBlock, createElementBlock, createElementVNode, withModifiers, toDisplayString, createBlock, withDirectives, normalizeClass, normalizeStyle, renderSlot, vShow } from "vue";
21
- import { c as createComponent } from "../component-669c158a.js";
21
+ import { c as createComponent } from "../component-TCzwHGVq.js";
22
22
  import { ArrowDown2, ArrowUp2 } from "@nutui/icons-vue";
23
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
23
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
24
24
  const { create } = createComponent("sub-side-navbar");
25
25
  const _sfc_main = create({
26
26
  props: {
@@ -17,10 +17,11 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { u as useTouch } from "../index-7a7385e4.js";
20
+ import { u as useTouch } from "../index-084nl_oE.js";
21
21
  import { ref, computed, inject, watch, reactive, openBlock, createElementBlock, normalizeStyle, createElementVNode, renderSlot } from "vue";
22
- import { c as createComponent } from "../component-669c158a.js";
23
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
22
+ import { c as createComponent } from "../component-TCzwHGVq.js";
23
+ import { S as SWIPE_KEY } from "../types-qOrhXtA_.js";
24
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
24
25
  const { create } = createComponent("swipe");
25
26
  const _sfc_main = create({
26
27
  props: {
@@ -54,7 +55,7 @@ const _sfc_main = create({
54
55
  const rightRef = ref(), rightRefWidth = computed(() => {
55
56
  return getRefWidth(rightRef);
56
57
  });
57
- const parent = inject("swipeGroup", null);
58
+ const parent = inject(SWIPE_KEY, null);
58
59
  watch(
59
60
  () => {
60
61
  var _a;
@@ -1,6 +1,7 @@
1
1
  import { ref, provide, openBlock, createElementBlock, renderSlot } from "vue";
2
- import { c as createComponent } from "../component-669c158a.js";
3
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
2
+ import { c as createComponent } from "../component-TCzwHGVq.js";
3
+ import { S as SWIPE_KEY } from "../types-qOrhXtA_.js";
4
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
4
5
  const { create } = createComponent("swipe-group");
5
6
  const _sfc_main = create({
6
7
  props: {
@@ -15,7 +16,7 @@ const _sfc_main = create({
15
16
  const update = (n) => {
16
17
  name.value = n;
17
18
  };
18
- provide("swipeGroup", {
19
+ provide(SWIPE_KEY, {
19
20
  update,
20
21
  lock: props.lock,
21
22
  name
@@ -1,10 +1,10 @@
1
1
  import { ref, reactive, computed, provide, onDeactivated, onBeforeUnmount, watch, nextTick, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, renderSlot, Fragment, renderList, createCommentVNode } from "vue";
2
- import { c as createComponent } from "../component-669c158a.js";
3
- import { e as clamp } from "../util-6f26722f.js";
4
- import { u as useTouch } from "../index-7a7385e4.js";
5
- import { u as useExpose } from "../index-79c5dc33.js";
6
- import { r as requestAniFrame } from "../raf-729dad54.js";
7
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
2
+ import { c as createComponent } from "../component-TCzwHGVq.js";
3
+ import { e as clamp } from "../util-4Jkyw4BJ.js";
4
+ import { u as useTouch } from "../index-084nl_oE.js";
5
+ import { r as requestAniFrame } from "../raf-MQjoO-Ag.js";
6
+ import { S as SWIPER_KEY } from "../types-9wCQwtH3.js";
7
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
8
8
  const { create, componentName } = createComponent("swiper");
9
9
  const _sfc_main = create({
10
10
  props: {
@@ -57,7 +57,7 @@ const _sfc_main = create({
57
57
  }
58
58
  },
59
59
  emits: ["change"],
60
- setup(props, { emit, slots }) {
60
+ setup(props, { emit, slots, expose }) {
61
61
  const container = ref();
62
62
  const state = reactive({
63
63
  active: 0,
@@ -310,12 +310,12 @@ const _sfc_main = create({
310
310
  getStyle();
311
311
  autoplay();
312
312
  };
313
- provide("parent", {
313
+ provide(SWIPER_KEY, {
314
314
  props,
315
315
  size,
316
316
  relation
317
317
  });
318
- useExpose({
318
+ expose({
319
319
  prev,
320
320
  next,
321
321
  to
@@ -1,11 +1,17 @@
1
- import { inject, getCurrentInstance, reactive, computed, onUnmounted, openBlock, createElementBlock, normalizeStyle, renderSlot } from "vue";
2
- import { c as createComponent } from "../component-669c158a.js";
3
- import { u as useExpose } from "../index-79c5dc33.js";
4
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
1
+ import { getCurrentInstance, inject, reactive, computed, onUnmounted, openBlock, createElementBlock, normalizeStyle, renderSlot } from "vue";
2
+ import { c as createComponent } from "../component-TCzwHGVq.js";
3
+ import { S as SWIPER_KEY } from "../types-9wCQwtH3.js";
4
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
5
+ function useExpose(apis) {
6
+ const instance = getCurrentInstance();
7
+ if (instance) {
8
+ Object.assign(instance.proxy, apis);
9
+ }
10
+ }
5
11
  const { create } = createComponent("swiper-item");
6
12
  const _sfc_main = create({
7
13
  setup() {
8
- const parent = inject("parent");
14
+ const parent = inject(SWIPER_KEY);
9
15
  parent["relation"](getCurrentInstance());
10
16
  const state = reactive({
11
17
  offset: 0
@@ -1,7 +1,7 @@
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-669c158a.js";
2
+ import { c as createComponent } from "../component-TCzwHGVq.js";
3
3
  import { Loading1 } from "@nutui/icons-vue";
4
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
4
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
5
5
  const { componentName, create } = createComponent("switch");
6
6
  const _sfc_main = create({
7
7
  components: { Loading1 },
@@ -1,6 +1,7 @@
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-669c158a.js";
3
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
2
+ import { c as createComponent } from "../component-TCzwHGVq.js";
3
+ import { T as TABBAR_KEY } from "../types-Cq2YypZn.js";
4
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
4
5
  const { create } = createComponent("tabbar");
5
6
  const _sfc_main = create({
6
7
  props: {
@@ -47,14 +48,14 @@ const _sfc_main = create({
47
48
  parentData.modelValue = active;
48
49
  emit("tabSwitch", parentData.children[index2], active);
49
50
  }
50
- let parentData = reactive({
51
+ const parentData = reactive({
51
52
  children: mdValue.children,
52
53
  modelValue: mdValue.val,
53
54
  unactiveColor: props.unactiveColor,
54
55
  activeColor: props.activeColor,
55
56
  changeIndex
56
57
  });
57
- provide("parent", parentData);
58
+ provide(TABBAR_KEY, parentData);
58
59
  watch(
59
60
  () => props.modelValue,
60
61
  (value) => {
@@ -1,9 +1,10 @@
1
- import { c as createComponent } from "../component-669c158a.js";
2
- import { r as renderIcon } from "../renderIcon-3d0fd47c.js";
1
+ import { c as createComponent } from "../component-TCzwHGVq.js";
2
+ import { r as renderIcon } from "../renderIcon--EgZu5_5.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
- import { u as useRouter } from "../index-54d03fc1.js";
4
+ import { u as useRouter } from "../index-Ii9XdkPy.js";
5
5
  import NutBadge from "../badge/Badge.js";
6
- import { _ as _export_sfc } from "../_plugin-vue_export-helper-cc2b3d55.js";
6
+ import { T as TABBAR_KEY } from "../types-Cq2YypZn.js";
7
+ import { _ as _export_sfc } from "../_plugin-vue_export-helper-yVxbj29m.js";
7
8
  const { create } = createComponent("tabbar-item");
8
9
  const _sfc_main = create({
9
10
  components: { NutBadge },
@@ -31,7 +32,7 @@ const _sfc_main = create({
31
32
  const isHaveSlot = (slot) => {
32
33
  return slots[slot];
33
34
  };
34
- const parent = inject("parent");
35
+ const parent = inject(TABBAR_KEY);
35
36
  const state = reactive({
36
37
  unactiveColor: parent.unactiveColor,
37
38
  // 未选中的颜色