@nutui/nutui 4.0.2 → 4.0.3-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) 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 +5 -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 +7 -1
  8. package/dist/packages/_es/AudioOperate.js +2 -1
  9. package/dist/packages/_es/Avatar.js +3 -1
  10. package/dist/packages/_es/AvatarGroup.js +2 -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 +6 -3
  19. package/dist/packages/_es/Category.js +3 -1
  20. package/dist/packages/_es/CategoryPane.js +4 -1
  21. package/dist/packages/_es/Cell.js +2 -1
  22. package/dist/packages/_es/CellGroup.js +1 -1
  23. package/dist/packages/_es/Checkbox.js +2 -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 +2 -1
  29. package/dist/packages/_es/Comment.js +6 -1
  30. package/dist/packages/_es/ConfigProvider.js +2 -34
  31. package/dist/packages/_es/Countdown.js +9 -1
  32. package/dist/packages/_es/Countup.js +11 -1
  33. package/dist/packages/_es/DatePicker.js +3 -1
  34. package/dist/packages/_es/Dialog.js +7 -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 +3 -1
  40. package/dist/packages/_es/Empty.js +4 -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 +3 -2
  46. package/dist/packages/_es/Image.js +1 -1
  47. package/dist/packages/_es/ImagePreview.js +5 -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 +13 -7
  51. package/dist/packages/_es/InputNumber.js +1 -1
  52. package/dist/packages/_es/Invoice.js +6 -4
  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 +2 -2
  57. package/dist/packages/_es/Navbar.js +7 -1
  58. package/dist/packages/_es/Noticebar.js +5 -3
  59. package/dist/packages/_es/Notify.js +5 -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 +3 -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 +5 -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 +2 -1
  75. package/dist/packages/_es/ShortPassword.js +3 -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 +11 -1
  80. package/dist/packages/_es/Sku.js +16 -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 +2 -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 +6 -1
  92. package/dist/packages/_es/Table.js +1 -1
  93. package/dist/packages/_es/Tabs.js +171 -26
  94. package/dist/packages/_es/Tag.js +1 -1
  95. package/dist/packages/_es/Textarea.js +2 -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 +10 -2
  100. package/dist/packages/_es/Tour.js +3 -2
  101. package/dist/packages/_es/TrendArrow.js +1 -1
  102. package/dist/packages/_es/Uploader.js +4 -2
  103. package/dist/packages/_es/Video.js +19 -1
  104. package/dist/packages/_es/Watermark.js +1 -1
  105. package/dist/packages/_es/{common-05c67d9a.js → common-b9a5e726.js} +9 -1
  106. package/dist/packages/_es/{component-bb5ff48e.js → component-81a4c1d0.js} +6 -6
  107. package/dist/packages/_es/{index-a564e25f.js → index-c55ad69e.js} +2 -2
  108. package/dist/packages/_es/{index-c4bbec14.js → index-cb5fe1dc.js} +38 -1
  109. package/dist/packages/_es/{index.vue_vue_type_script_lang-ee936659.js → index.vue_vue_type_script_lang-22dfc112.js} +2 -1
  110. package/dist/packages/_es/{index.vue_vue_type_script_lang-8b9f3de5.js → index.vue_vue_type_script_lang-442e4704.js} +2 -1
  111. package/dist/packages/_es/{index.vue_vue_type_script_lang-8f90bbd8.js → index.vue_vue_type_script_lang-cc5c4086.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/smartips/web-types.json +20 -20
  119. package/dist/style.css +1 -1
  120. package/dist/styles/themes/default.scss +53 -53
  121. package/dist/styles/themes/jdb.scss +53 -53
  122. package/dist/styles/themes/jddkh.scss +53 -53
  123. package/dist/styles/themes/jdt.scss +53 -53
  124. package/dist/types/__VUE/configprovider/index.vue.d.ts +4 -4
  125. package/dist/types/__VUE/input/index.vue.d.ts +3 -1
  126. package/dist/types/__VUE/noticebar/index.vue.d.ts +4 -2
  127. package/dist/types/__VUE/price/index.vue.d.ts +9 -0
  128. package/dist/types/__VUE/tabpane/index.vue.d.ts +1 -4
  129. package/dist/types/__VUE/tabs/hooks.d.ts +12 -0
  130. package/dist/types/__VUE/tabs/index.vue.d.ts +20 -5
  131. package/dist/types/index.d.ts +1 -1
  132. package/dist/types/utils/useTaroRect/index.d.ts +1 -1
  133. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { computed, 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("divider");
@@ -1,5 +1,5 @@
1
1
  import { ref, reactive, computed, onMounted, onActivated, onDeactivated, 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 { r as requestAniFrame } from "./raf-729dad54.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 { ref, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, normalizeClass, withDirectives, vModelText, createTextVNode, createVNode } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import InputNumber from "./InputNumber.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 { ref, reactive, computed, onMounted, watch, nextTick, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, Fragment, renderList, toDisplayString, renderSlot, withDirectives, vShow, createCommentVNode, withModifiers } 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 { ref, reactive, computed, watch, onMounted, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createTextVNode, withModifiers } 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("ellipsis");
@@ -42,7 +42,9 @@ const _sfc_main = create({
42
42
  const ellipsis = ref();
43
43
  const state = reactive({
44
44
  exceeded: false,
45
+ //是否超出
45
46
  expanded: false
47
+ //是否折叠
46
48
  });
47
49
  const classes = computed(() => {
48
50
  const prefixCls = componentName;
@@ -1,5 +1,5 @@
1
1
  import { toRefs, computed, openBlock, createElementBlock, createElementVNode, normalizeStyle, renderSlot, Fragment, 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 { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
4
4
  import "../locale/lang";
5
5
  const { componentName, create, translate } = createComponent("empty");
@@ -13,13 +13,16 @@ const _sfc_main = create({
13
13
  image: {
14
14
  type: String,
15
15
  default: "empty"
16
+ //默认empty
16
17
  },
17
18
  imageSize: {
18
19
  type: [Number, String],
20
+ // 图片大小,正方形
19
21
  default: ""
20
22
  },
21
23
  description: {
22
24
  type: String,
25
+ // 文字区
23
26
  default: ""
24
27
  }
25
28
  },
@@ -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 { computed, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createBlock, createCommentVNode, renderSlot, createElementVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
3
3
  import Overlay from "./Overlay.js";
4
4
  import { Left } from "@nutui/icons-vue";
@@ -1,4 +1,4 @@
1
- import { i as isObject, h as getPropByPath, g as isPromise, c as createComponent } from "./component-bb5ff48e.js";
1
+ import { g as isObject, h as getPropByPath, f as isPromise, c as createComponent } from "./component-81a4c1d0.js";
2
2
  import { computed, reactive, provide, watch, resolveComponent, openBlock, createElementBlock, withModifiers, createVNode, withCtx, renderSlot } from "vue";
3
3
  import CellGroup from "./CellGroup.js";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -1,6 +1,6 @@
1
1
  import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
2
2
  import { inject, provide, computed, resolveComponent, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode } from "vue";
3
- import { c as createComponent } from "./component-bb5ff48e.js";
3
+ import { c as createComponent } from "./component-81a4c1d0.js";
4
4
  import Cell from "./Cell.js";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
6
6
  import "../locale/lang";
@@ -1,6 +1,6 @@
1
- import { c as createComponent } from "./component-bb5ff48e.js";
1
+ import { c as createComponent } from "./component-81a4c1d0.js";
2
2
  import "vue";
3
- import { c as component } from "./common-05c67d9a.js";
3
+ import { c as component } from "./common-b9a5e726.js";
4
4
  import "../locale/lang";
5
5
  import "./pxCheck-c6b9f6b7.js";
6
6
  const { create } = createComponent("grid");
@@ -1,8 +1,8 @@
1
1
  import { inject, getCurrentInstance, onUnmounted, computed, ref, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, Fragment, createTextVNode, toDisplayString } from "vue";
2
2
  import { u as useRouter } from "./index-54d03fc1.js";
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
- import { G as GRID_KEY } from "./common-05c67d9a.js";
5
+ import { G as GRID_KEY } from "./common-b9a5e726.js";
6
6
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
7
7
  import "../locale/lang";
8
8
  function useInject(key) {
@@ -29,6 +29,7 @@ const _sfc_main = create({
29
29
  text: {
30
30
  type: String
31
31
  },
32
+ // router
32
33
  to: {
33
34
  type: [String, Object]
34
35
  },
@@ -1,5 +1,5 @@
1
1
  import { reactive, useSlots, computed, watch, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, renderSlot } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
4
4
  import { Image, ImageError } from "@nutui/icons-vue";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -5,18 +5,18 @@ var __publicField = (obj, key, value) => {
5
5
  return value;
6
6
  };
7
7
  import { reactive, computed, watch, toRefs, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeStyle, createElementBlock, createCommentVNode, ref, onMounted, Fragment, renderList, toDisplayString, normalizeClass, renderSlot, createVNode, h } from "vue";
8
- import { c as createComponent, f as clamp, e as preventDefault, a as isArray } from "./component-bb5ff48e.js";
8
+ import { c as createComponent, e as clamp, d as preventDefault, i as isArray } from "./component-81a4c1d0.js";
9
9
  import { u as useRect } from "./index-29892cda.js";
10
10
  import { u as useTouch } from "./index-7a7385e4.js";
11
11
  import Video from "./Video.js";
12
12
  import SwiperItem from "./SwiperItem.js";
13
13
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
14
14
  import { CircleClose } from "@nutui/icons-vue";
15
- import { P as Popup } from "./index-a564e25f.js";
15
+ import { P as Popup } from "./index-c55ad69e.js";
16
16
  import Swiper from "./Swiper.js";
17
- import { f as funInterceptor } from "./interceptor-648bf3d0.js";
17
+ import { f as funInterceptor } from "./interceptor-956b24fc.js";
18
18
  import "../locale/lang";
19
- import { C as CreateComponent } from "./mountComponent-3865592f.js";
19
+ import { C as CreateComponent } from "./mountComponent-1ece4110.js";
20
20
  import Overlay from "./Overlay.js";
21
21
  import "./index-79c5dc33.js";
22
22
  import "./raf-729dad54.js";
@@ -296,6 +296,7 @@ const _sfc_main = create({
296
296
  closeIconPosition: {
297
297
  type: String,
298
298
  default: "top-right"
299
+ // top-right top-left
299
300
  },
300
301
  beforeClose: Function,
301
302
  isLoop: {
@@ -1,5 +1,5 @@
1
1
  import { toRefs, computed, openBlock, createElementBlock, normalizeClass, Fragment, renderList, toDisplayString } from "vue";
2
- import { p as padZero, c as createComponent } from "./component-bb5ff48e.js";
2
+ import { p as padZero, 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("indicator");
@@ -1,5 +1,5 @@
1
1
  import { ref, reactive, computed, onMounted, onUnmounted, onActivated, onDeactivated, watch, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createVNode, toDisplayString, createCommentVNode } 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 useScrollParent } from "./index-43c34ac6.js";
4
4
  import { r as requestAniFrame } from "./raf-729dad54.js";
5
5
  import { Loading } from "@nutui/icons-vue";
@@ -1,5 +1,5 @@
1
1
  import { ref, reactive, computed, watch, onMounted, h, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, resolveDynamicComponent, normalizeStyle, toDisplayString, createTextVNode, createCommentVNode, withDirectives, createVNode, mergeProps, vShow } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { MaskClose } from "@nutui/icons-vue";
4
4
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
5
5
  import "../locale/lang";
@@ -112,13 +112,15 @@ const _sfc_main = create({
112
112
  const renderInput = (type) => {
113
113
  return h("input", {
114
114
  style: styles,
115
- type: type != "textarea" && inputType(type)
115
+ ...inputType(type)
116
116
  });
117
117
  };
118
118
  const state = reactive({
119
119
  focused: false,
120
120
  validateFailed: false,
121
+ // 校验失败
121
122
  validateMessage: ""
123
+ // 校验信息
122
124
  });
123
125
  const classes = computed(() => {
124
126
  const prefixCls = componentName;
@@ -137,12 +139,16 @@ const _sfc_main = create({
137
139
  });
138
140
  const inputType = (type) => {
139
141
  if (type === "number") {
140
- return "text";
141
- } else if (type === "digit") {
142
- return "tel";
143
- } else {
144
- return type;
142
+ return {
143
+ type: "text"
144
+ };
145
145
  }
146
+ if (type === "digit") {
147
+ return {
148
+ type: "tel"
149
+ };
150
+ }
151
+ return { type };
146
152
  };
147
153
  const onInput = (event) => {
148
154
  if (!event.target.composing) {
@@ -1,5 +1,5 @@
1
1
  import { computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createVNode, normalizeStyle } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
4
4
  import { Minus, Plus } from "@nutui/icons-vue";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -1,9 +1,9 @@
1
1
  import { ref, reactive, computed, onMounted, watch, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, toDisplayString, withDirectives, vModelText, createCommentVNode } from "vue";
2
- import { c as createComponent } from "./component-bb5ff48e.js";
2
+ import { c as createComponent } from "./component-81a4c1d0.js";
3
3
  import Form from "./Form.js";
4
4
  import FormItem from "./FormItem.js";
5
- import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang-8b9f3de5.js";
6
- import { _ as _sfc_main$2 } from "./index.vue_vue_type_script_lang-ee936659.js";
5
+ import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_lang-442e4704.js";
6
+ import { _ as _sfc_main$2 } from "./index.vue_vue_type_script_lang-22dfc112.js";
7
7
  import Button from "./Button.js";
8
8
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
9
9
  import "../locale/lang";
@@ -39,7 +39,9 @@ const _sfc_main = create({
39
39
  setup(props, { emit }) {
40
40
  const formRef = ref();
41
41
  const list = ref([]);
42
- const state = reactive({});
42
+ const state = reactive({
43
+ // list: []
44
+ });
43
45
  const classes = computed(() => {
44
46
  const prefixCls = componentName;
45
47
  return {
@@ -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 "vue";
3
3
  import "../locale/lang";
4
4
  const { create } = createComponent("layout");
@@ -1,5 +1,5 @@
1
1
  import { ref, reactive, computed, watch, toRefs, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, renderList, 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 useRect } from "./index-29892cda.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 { ref, computed, onMounted, onUnmounted, reactive, provide, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, normalizeStyle, toDisplayString, renderSlot, createBlock } 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 useRect } from "./index-29892cda.js";
4
4
  import { ArrowUp2, ArrowDown2 } from "@nutui/icons-vue";
5
5
  import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
@@ -1,6 +1,6 @@
1
1
  import { reactive, computed, inject, getCurrentInstance, onUnmounted, resolveComponent, withDirectives, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, vShow, createVNode, mergeProps, withCtx, Fragment, renderList, renderSlot, createCommentVNode, toDisplayString } 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 { Check } 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 { 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";
@@ -8,10 +8,15 @@ const _sfc_main = create({
8
8
  components: { Left },
9
9
  props: {
10
10
  leftShow: { type: Boolean, default: false },
11
+ //左侧 是否显示返回icon
11
12
  title: { type: String, default: "" },
13
+ //中间 文字标题
12
14
  titleIcon: { type: Boolean, default: false },
15
+ //中间
13
16
  leftText: { type: String, default: "" },
17
+ //左侧文字
14
18
  desc: { type: String, default: "" },
19
+ //右侧 按钮文字
15
20
  fixed: {
16
21
  type: Boolean,
17
22
  default: false
@@ -25,6 +30,7 @@ const _sfc_main = create({
25
30
  default: false
26
31
  },
27
32
  placeholder: {
33
+ // 生成一个等高的占位元素
28
34
  type: Boolean,
29
35
  default: true
30
36
  },
@@ -1,12 +1,13 @@
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";
7
7
  const { componentName, create } = createComponent("noticebar");
8
8
  const _sfc_main = create({
9
9
  props: {
10
+ // 滚动方向 across 横向 vertical 纵向
10
11
  direction: {
11
12
  type: String,
12
13
  default: "across"
@@ -72,7 +73,7 @@ const _sfc_main = create({
72
73
  Notice,
73
74
  CircleClose
74
75
  },
75
- emits: ["click", "close"],
76
+ emits: ["click", "close", "across-end"],
76
77
  setup(props, { emit, slots }) {
77
78
  const wrap = ref(null);
78
79
  const content = ref(null);
@@ -186,8 +187,9 @@ const _sfc_main = create({
186
187
  }
187
188
  emit("close", event);
188
189
  };
189
- const onAnimationEnd = () => {
190
+ const onAnimationEnd = (event) => {
190
191
  state.firstRound = false;
192
+ emit("across-end", event);
191
193
  setTimeout(() => {
192
194
  state.duration = (state.offsetWidth + state.wrapWidth) / props.speed;
193
195
  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";
@@ -109,6 +109,9 @@ const defaultOptions = {
109
109
  duration: 3e3,
110
110
  className: "",
111
111
  onClose: Function,
112
+ // onClick: null,
113
+ // onOpened: null,
114
+ // textTimer: null,
112
115
  teleport: "",
113
116
  unmount: new Function()
114
117
  };
@@ -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";
@@ -159,12 +159,14 @@ const usePicker = (props, emit) => {
159
159
  const { create: create$1 } = createComponent("picker-column");
160
160
  const _sfc_main$1 = create$1({
161
161
  props: {
162
+ // 当前选中项
162
163
  value: [String, Number],
163
164
  columnsType: String,
164
165
  column: {
165
166
  type: Array,
166
167
  default: () => []
167
168
  },
169
+ // 是否开启3D效果
168
170
  threeDimensional: {
169
171
  type: Boolean,
170
172
  default: true
@@ -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";
@@ -25,6 +25,10 @@ const _sfc_main = create({
25
25
  type: String,
26
26
  default: translate("loading")
27
27
  },
28
+ // completeTxt: {
29
+ // type: String,
30
+ // default: ''
31
+ // },
28
32
  headHeight: {
29
33
  type: [String, Number],
30
34
  default: 50
@@ -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-442e4704.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-22dfc112.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";
@@ -45,6 +45,7 @@ const _sfc_main = create({
45
45
  },
46
46
  focusStyle: {
47
47
  type: Object,
48
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
48
49
  default: () => {
49
50
  }
50
51
  },
@@ -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";
@@ -42,6 +42,7 @@ const _sfc_main = create({
42
42
  },
43
43
  length: {
44
44
  type: [String, Number],
45
+ //4~6
45
46
  default: 6
46
47
  }
47
48
  },
@@ -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");