@nutui/nutui 3.2.7 → 3.2.8-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 (200) hide show
  1. package/dist/nutui.es.js +1932 -3372
  2. package/dist/nutui.umd.js +1929 -3370
  3. package/dist/packages/_es/ActionSheet.js +2 -5
  4. package/dist/packages/_es/Address.js +162 -250
  5. package/dist/packages/_es/AddressList.js +229 -307
  6. package/dist/packages/_es/Animate.js +1 -1
  7. package/dist/packages/_es/Audio.js +1 -1
  8. package/dist/packages/_es/AudioOperate.js +1 -1
  9. package/dist/packages/_es/Avatar.js +1 -1
  10. package/dist/packages/_es/AvatarGroup.js +1 -1
  11. package/dist/packages/_es/BackTop.js +1 -1
  12. package/dist/packages/_es/Badge.js +1 -1
  13. package/dist/packages/_es/Barrage.js +1 -1
  14. package/dist/packages/_es/Button.js +1 -1
  15. package/dist/packages/_es/Calendar.js +1 -1
  16. package/dist/packages/_es/CalendarItem.js +1 -1
  17. package/dist/packages/_es/Card.js +1 -1
  18. package/dist/packages/_es/Cascader.js +2 -5
  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 +2 -2
  26. package/dist/packages/_es/Col.js +1 -1
  27. package/dist/packages/_es/Collapse.js +4 -11
  28. package/dist/packages/_es/CollapseItem.js +8 -5
  29. package/dist/packages/_es/Comment.js +1 -1
  30. package/dist/packages/_es/ConfigProvider.js +1 -1
  31. package/dist/packages/_es/CountDown.js +2 -10
  32. package/dist/packages/_es/CountUp.js +1 -1
  33. package/dist/packages/_es/DatePicker.js +8 -17
  34. package/dist/packages/_es/Dialog.js +38 -63
  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 +2 -2
  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 +39 -31
  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 +1 -1
  46. package/dist/packages/_es/Icon.js +1 -1
  47. package/dist/packages/_es/Image.js +1 -1
  48. package/dist/packages/_es/ImagePreview.js +126 -220
  49. package/dist/packages/_es/Indicator.js +4 -4
  50. package/dist/packages/_es/InfiniteLoading.js +1 -1
  51. package/dist/packages/_es/Input.js +107 -123
  52. package/dist/packages/_es/InputNumber.js +1 -1
  53. package/dist/packages/_es/Invoice.js +1 -1
  54. package/dist/packages/_es/Layout.js +1 -1
  55. package/dist/packages/_es/List.js +1 -1
  56. package/dist/packages/_es/Menu.js +14 -1
  57. package/dist/packages/_es/MenuItem.js +10 -7
  58. package/dist/packages/_es/Navbar.js +1 -1
  59. package/dist/packages/_es/NoticeBar.js +1 -1
  60. package/dist/packages/_es/Notify.js +5 -7
  61. package/dist/packages/_es/NumberKeyboard.js +4 -4
  62. package/dist/packages/_es/OverLay.js +60 -63
  63. package/dist/packages/_es/Pagination.js +1 -1
  64. package/dist/packages/_es/Picker.js +25 -50
  65. package/dist/packages/_es/Popover.js +111 -930
  66. package/dist/packages/_es/Popup.js +105 -217
  67. package/dist/packages/_es/Price.js +1 -1
  68. package/dist/packages/_es/Progress.js +1 -1
  69. package/dist/packages/_es/Radio.js +1 -1
  70. package/dist/packages/_es/RadioGroup.js +1 -1
  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 +4 -4
  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 +4 -7
  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 +1 -1
  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 +1 -1
  90. package/dist/packages/_es/Tabbar.js +1 -1
  91. package/dist/packages/_es/TabbarItem.js +2 -2
  92. package/dist/packages/_es/Table.js +1 -1
  93. package/dist/packages/_es/Tabs.js +2 -2
  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 +4 -4
  99. package/dist/packages/_es/Toast.js +5 -6
  100. package/dist/packages/_es/TrendArrow.js +1 -1
  101. package/dist/packages/_es/Uploader.js +2 -2
  102. package/dist/packages/_es/Video.js +1 -1
  103. package/dist/packages/_es/WaterMark.js +1 -1
  104. package/dist/packages/_es/common.js +1 -1
  105. package/dist/packages/_es/component.js +22 -2
  106. package/dist/packages/_es/index.js +1 -1
  107. package/dist/packages/_es/index2.js +1 -1
  108. package/dist/packages/_es/index3.js +1 -1
  109. package/dist/packages/_es/index4.js +1 -1
  110. package/dist/packages/_es/index5.js +1 -1
  111. package/dist/packages/_es/interceptor.js +32 -0
  112. package/dist/packages/_es/mountComponent.js +42 -0
  113. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  114. package/dist/packages/_es/props.js +80 -0
  115. package/dist/packages/_es/pxCheck.js +1 -1
  116. package/dist/packages/_es/raf.js +1 -1
  117. package/dist/packages/_es/style.css +1 -1
  118. package/dist/packages/address/index.scss +7 -2
  119. package/dist/packages/addresslist/index.scss +61 -101
  120. package/dist/packages/imagepreview/index.scss +9 -1
  121. package/dist/packages/inputnumber/index.scss +5 -1
  122. package/dist/packages/locale/lang/baseLang.js +1 -1
  123. package/dist/packages/locale/lang/en-US.js +1 -1
  124. package/dist/packages/locale/lang/id-ID.js +1 -1
  125. package/dist/packages/locale/lang/index.js +1 -1
  126. package/dist/packages/locale/lang/zh-CN.js +1 -1
  127. package/dist/packages/locale/lang/zh-TW.js +1 -1
  128. package/dist/packages/menuitem/index.scss +0 -15
  129. package/dist/packages/notify/index.scss +2 -2
  130. package/dist/packages/overlay/index.scss +2 -1
  131. package/dist/packages/picker/index.scss +20 -12
  132. package/dist/packages/popover/index.scss +191 -363
  133. package/dist/packages/popup/index.scss +3 -14
  134. package/dist/smartips/attributes.json +59 -55
  135. package/dist/smartips/tags.json +16 -19
  136. package/dist/smartips/web-types.json +115 -113
  137. package/dist/style.css +1 -1
  138. package/dist/styles/themes/default.scss +54 -55
  139. package/dist/styles/themes/jdb.scss +54 -55
  140. package/dist/styles/themes/jddkh.scss +54 -55
  141. package/dist/styles/themes/jdt.scss +54 -55
  142. package/dist/styles/variables.scss +9 -0
  143. package/dist/types/__VUE/actionsheet/index.vue.d.ts +61 -57
  144. package/dist/types/__VUE/address/index.vue.d.ts +74 -94
  145. package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +29 -9
  146. package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +4 -13
  147. package/dist/types/__VUE/addresslist/components/SwipeShell.vue.d.ts +9 -9
  148. package/dist/types/__VUE/addresslist/index.vue.d.ts +23 -20
  149. package/dist/types/__VUE/calendar/index.vue.d.ts +1 -1
  150. package/dist/types/__VUE/cascader/index.vue.d.ts +49 -54
  151. package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
  152. package/dist/types/__VUE/countdown/index.vue.d.ts +0 -1
  153. package/dist/types/__VUE/countdown/util.d.ts +0 -1
  154. package/dist/types/__VUE/datepicker/index.vue.d.ts +57 -62
  155. package/dist/types/__VUE/dialog/index.d.ts +0 -3
  156. package/dist/types/__VUE/dialog/index.vue.d.ts +52 -61
  157. package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
  158. package/dist/types/__VUE/fixednav/index.vue.d.ts +1 -1
  159. package/dist/types/__VUE/form/common.d.ts +4 -2
  160. package/dist/types/__VUE/form/index.vue.d.ts +4 -4
  161. package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
  162. package/dist/types/__VUE/image/index.vue.d.ts +1 -1
  163. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +27 -20
  164. package/dist/types/__VUE/imagepreview/index.d.ts +19 -5
  165. package/dist/types/__VUE/imagepreview/index.vue.d.ts +57 -43
  166. package/dist/types/__VUE/imagepreview/types.d.ts +44 -0
  167. package/dist/types/__VUE/indicator/index.vue.d.ts +1 -0
  168. package/dist/types/__VUE/input/index.vue.d.ts +35 -23
  169. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
  170. package/dist/types/__VUE/invoice/index.vue.d.ts +1 -1
  171. package/dist/types/__VUE/menu/index.vue.d.ts +1 -1
  172. package/dist/types/__VUE/menuitem/index.vue.d.ts +3 -3
  173. package/dist/types/__VUE/notify/index.vue.d.ts +3 -3
  174. package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +4 -4
  175. package/dist/types/__VUE/overlay/index.vue.d.ts +12 -13
  176. package/dist/types/__VUE/picker/Column.vue.d.ts +0 -2
  177. package/dist/types/__VUE/picker/index.vue.d.ts +59 -66
  178. package/dist/types/__VUE/popover/index.vue.d.ts +40 -143
  179. package/dist/types/__VUE/popup/common.d.ts +103 -0
  180. package/dist/types/__VUE/popup/index.vue.d.ts +57 -1593
  181. package/dist/types/__VUE/popup/props.d.ts +82 -0
  182. package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
  183. package/dist/types/__VUE/shortpassword/index.vue.d.ts +5 -5
  184. package/dist/types/__VUE/sku/index.vue.d.ts +59 -64
  185. package/dist/types/__VUE/swipe/index.vue.d.ts +2 -2
  186. package/dist/types/__VUE/switch/index.vue.d.ts +1 -1
  187. package/dist/types/__VUE/tabbar/index.vue.d.ts +1 -1
  188. package/dist/types/__VUE/timeselect/index.vue.d.ts +3 -3
  189. package/dist/types/__VUE/video/index.vue.d.ts +2 -2
  190. package/dist/types/index.d.ts +1 -1
  191. package/dist/types/nutui.d.ts +1 -2
  192. package/package.json +2 -3
  193. package/dist/packages/_es/PullRefresh.js +0 -349
  194. package/dist/packages/pullrefresh/index.scss +0 -71
  195. package/dist/types/__VUE/addresslist/components/LongPressShell.vue.d.ts +0 -47
  196. package/dist/types/__VUE/datepicker/utils.d.ts +0 -5
  197. package/dist/types/__VUE/popup/use-lock-scroll.d.ts +0 -5
  198. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +0 -128
  199. package/dist/types/__VUE/pullrefresh/use-touch.d.ts +0 -20
  200. package/dist/types/__VUE/pullrefresh/util.d.ts +0 -6
@@ -1,240 +1,129 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { ref, reactive, computed, onMounted, onBeforeUnmount, onBeforeMount, onActivated, onDeactivated, watch, toRefs, resolveComponent, openBlock, createBlock, Teleport, normalizeClass, normalizeStyle, createCommentVNode, createVNode, Transition, withCtx, withDirectives, createElementVNode, renderSlot, createElementBlock, mergeProps, vShow } from "vue";
7
- import overlay, { overlayProps } from "./OverLay.js";
8
- import _sfc_main$1 from "./Icon.js";
9
6
  import { c as createComponent } from "./component.js";
7
+ import { reactive, computed, watch, watchEffect, toRefs, resolveComponent, openBlock, createBlock, Teleport, mergeProps, createCommentVNode, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createElementBlock, vShow } from "vue";
8
+ import { p as popupProps } from "./props.js";
10
9
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
11
10
  import "../locale/lang";
12
- import "./pxCheck.js";
13
- let count = 0;
14
- const CLSNAME = "nut-overflow-hidden";
15
- const useLockScroll = (isLock) => {
16
- const lock = () => {
17
- if (isLock()) {
18
- !count && document.body.classList.add(CLSNAME);
19
- count++;
20
- }
21
- };
22
- const unlock = () => {
23
- if (isLock() && count) {
24
- count--;
25
- !count && document.body.classList.remove(CLSNAME);
11
+ const initIndex = 2e3;
12
+ let _zIndex = initIndex;
13
+ const component = (componentName2) => {
14
+ return {
15
+ components: {},
16
+ props: {
17
+ ...popupProps
18
+ },
19
+ emits: ["click-pop", "click-close-icon", "open", "close", "opend", "closed", "click-overlay", "update:visible"],
20
+ setup(props, { emit }) {
21
+ const state = reactive({
22
+ zIndex: props.zIndex,
23
+ showSlot: true,
24
+ closed: props.closeable
25
+ });
26
+ const classes = computed(() => {
27
+ const prefixCls = componentName2;
28
+ return {
29
+ [prefixCls]: true,
30
+ ["round"]: props.round,
31
+ [`popup-${props.position}`]: true,
32
+ [`popup-${props.position}--safebottom`]: props.position === "bottom" && props.safeAreaInsetBottom,
33
+ [props.popClass]: true
34
+ };
35
+ });
36
+ const popStyle = computed(() => {
37
+ return {
38
+ zIndex: state.zIndex,
39
+ transitionDuration: `${props.duration}s`,
40
+ ...props.style
41
+ };
42
+ });
43
+ const transitionName = computed(() => {
44
+ return props.transition ? props.transition : `popup-slide-${props.position}`;
45
+ });
46
+ const open = () => {
47
+ if (props.zIndex !== initIndex) {
48
+ _zIndex = Number(props.zIndex);
49
+ }
50
+ emit("update:visible", true);
51
+ state.zIndex = ++_zIndex;
52
+ if (props.destroyOnClose) {
53
+ state.showSlot = true;
54
+ }
55
+ emit("open");
56
+ };
57
+ const close = () => {
58
+ emit("update:visible", false);
59
+ emit("close");
60
+ if (props.destroyOnClose) {
61
+ setTimeout(() => {
62
+ state.showSlot = false;
63
+ }, +props.duration * 1e3);
64
+ }
65
+ };
66
+ const onClick = (e) => {
67
+ emit("click-pop", e);
68
+ };
69
+ const onClickCloseIcon = (e) => {
70
+ e.stopPropagation();
71
+ emit("click-close-icon", e);
72
+ emit("update:visible", false);
73
+ };
74
+ const onClickOverlay = (e) => {
75
+ if (props.closeOnClickOverlay) {
76
+ emit("click-overlay", e);
77
+ emit("update:visible", false);
78
+ }
79
+ };
80
+ const onOpened = (e) => {
81
+ emit("opend", e);
82
+ };
83
+ const onClosed = (e) => {
84
+ emit("closed", e);
85
+ };
86
+ watch(
87
+ () => props.visible,
88
+ (val) => {
89
+ props.visible ? open() : close();
90
+ }
91
+ );
92
+ watchEffect(() => {
93
+ state.closed = props.closeable;
94
+ });
95
+ return {
96
+ ...toRefs(state),
97
+ popStyle,
98
+ transitionName,
99
+ classes,
100
+ onClick,
101
+ onClickCloseIcon,
102
+ onClickOverlay,
103
+ onOpened,
104
+ onClosed
105
+ };
26
106
  }
27
107
  };
28
- return [lock, unlock];
29
108
  };
30
109
  const { componentName, create } = createComponent("popup");
31
- let _zIndex = 2e3;
32
- const popupProps = {
33
- ...overlayProps,
34
- position: {
35
- type: String,
36
- default: "center"
37
- },
38
- transition: String,
39
- style: {
40
- type: Object
41
- },
42
- popClass: {
43
- type: String,
44
- default: ""
45
- },
46
- closeable: {
47
- type: Boolean,
48
- default: false
49
- },
50
- closeIconPosition: {
51
- type: String,
52
- default: "top-right"
53
- },
54
- closeIcon: {
55
- type: String,
56
- default: "close"
57
- },
58
- destroyOnClose: {
59
- type: Boolean,
60
- default: true
61
- },
62
- teleport: {
63
- type: [String, Element],
64
- default: "body"
65
- },
66
- overlay: {
67
- type: Boolean,
68
- default: true
69
- },
70
- round: {
71
- type: Boolean,
72
- default: false
73
- },
74
- isWrapTeleport: {
75
- type: Boolean,
76
- default: false
77
- },
78
- safeAreaInsetBottom: {
79
- type: Boolean,
80
- default: false
81
- }
82
- };
83
- const _sfc_main = create({
84
- components: {
85
- [overlay.name]: overlay,
86
- [_sfc_main$1.name]: _sfc_main$1
87
- },
88
- props: {
89
- ...popupProps
90
- },
91
- emits: ["click", "click-close-icon", "open", "close", "opend", "closed", "update:visible", "click-overlay"],
92
- setup(props, { emit }) {
93
- const popupRef = ref();
94
- const state = reactive({
95
- zIndex: props.zIndex,
96
- showSlot: true,
97
- transitionName: `popup-fade-${props.position}`,
98
- overLayCount: 1,
99
- keepAlive: false,
100
- closed: props.closeable
101
- });
102
- const [lockScroll, unlockScroll] = useLockScroll(() => props.lockScroll);
103
- const classes = computed(() => {
104
- const prefixCls = componentName;
105
- return {
106
- [prefixCls]: true,
107
- ["round"]: props.round,
108
- [`popup-${props.position}`]: true,
109
- [`popup-${props.position}--safebottom`]: props.position === "bottom" && props.safeAreaInsetBottom,
110
- [props.popClass]: true
111
- };
112
- });
113
- const popStyle = computed(() => {
114
- return {
115
- zIndex: state.zIndex,
116
- animationDuration: props.duration ? `${props.duration}s` : "initial",
117
- ...props.style
118
- };
119
- });
120
- const open = () => {
121
- if (props.zIndex != 2e3) {
122
- _zIndex = Number(props.zIndex);
123
- }
124
- emit("update:visible", true);
125
- lockScroll();
126
- state.zIndex = ++_zIndex;
127
- if (props.destroyOnClose) {
128
- state.showSlot = true;
129
- }
130
- emit("open");
131
- };
132
- const close = () => {
133
- unlockScroll();
134
- emit("update:visible", false);
135
- emit("close");
136
- if (props.destroyOnClose) {
137
- setTimeout(() => {
138
- state.showSlot = false;
139
- }, +props.duration * 1e3);
140
- }
141
- };
142
- const onClick = (e) => {
143
- emit("click", e);
144
- };
145
- const onClickCloseIcon = (e) => {
146
- emit("click-close-icon", e);
147
- close();
148
- };
149
- const onClickOverlay = (e) => {
150
- if (props.closeOnClickOverlay) {
151
- emit("click-overlay", e);
152
- close();
153
- }
154
- };
155
- const onOpened = (e) => {
156
- emit("opend", e);
157
- };
158
- const onClosed = (e) => {
159
- emit("closed", e);
160
- };
161
- onMounted(() => {
162
- props.transition ? state.transitionName = props.transition : state.transitionName = `popup-slide-${props.position}`;
163
- props.visible && open();
164
- });
165
- onBeforeUnmount(() => {
166
- props.visible && close();
167
- });
168
- onBeforeMount(() => {
169
- if (props.visible) {
170
- unlockScroll();
171
- }
172
- });
173
- onActivated(() => {
174
- if (state.keepAlive) {
175
- emit("update:visible", true);
176
- state.keepAlive = false;
177
- }
178
- });
179
- onDeactivated(() => {
180
- if (props.visible) {
181
- close();
182
- state.keepAlive = true;
183
- }
184
- });
185
- watch(
186
- () => props.visible,
187
- (value) => {
188
- if (value) {
189
- open();
190
- } else {
191
- close();
192
- }
193
- }
194
- );
195
- watch(
196
- () => props.position,
197
- (value) => {
198
- value === "center" ? state.transitionName = "popup-fade" : state.transitionName = `popup-slide-${value}`;
199
- }
200
- );
201
- watch(
202
- () => props.closeable,
203
- (value) => {
204
- state.closed = value;
205
- }
206
- );
207
- return {
208
- ...toRefs(state),
209
- popStyle,
210
- classes,
211
- onClick,
212
- onClickCloseIcon,
213
- onClickOverlay,
214
- onOpened,
215
- onClosed,
216
- popupRef
217
- };
218
- }
219
- });
110
+ const _sfc_main = create(component(componentName));
220
111
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
221
112
  const _component_nut_overlay = resolveComponent("nut-overlay");
222
113
  const _component_nut_icon = resolveComponent("nut-icon");
223
114
  return openBlock(), createBlock(Teleport, {
224
115
  to: _ctx.teleport,
225
- disabled: !_ctx.isWrapTeleport
116
+ disabled: !_ctx.teleportDisable
226
117
  }, [
227
- _ctx.overlay ? (openBlock(), createBlock(_component_nut_overlay, {
118
+ _ctx.overlay ? (openBlock(), createBlock(_component_nut_overlay, mergeProps({
228
119
  key: 0,
229
120
  visible: _ctx.visible,
230
121
  "close-on-click-overlay": _ctx.closeOnClickOverlay,
231
- class: normalizeClass(_ctx.overlayClass),
232
- style: normalizeStyle(_ctx.overlayStyle),
233
122
  "z-index": _ctx.zIndex,
234
123
  "lock-scroll": _ctx.lockScroll,
235
124
  duration: _ctx.duration,
236
125
  onClick: _ctx.onClickOverlay
237
- }, null, 8, ["visible", "close-on-click-overlay", "class", "style", "z-index", "lock-scroll", "duration", "onClick"])) : createCommentVNode("", true),
126
+ }, _ctx.$attrs), null, 16, ["visible", "close-on-click-overlay", "z-index", "lock-scroll", "duration", "onClick"])) : createCommentVNode("", true),
238
127
  createVNode(Transition, {
239
128
  name: _ctx.transitionName,
240
129
  onAfterEnter: _ctx.onOpened,
@@ -244,14 +133,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
244
133
  withDirectives(createElementVNode("view", {
245
134
  class: normalizeClass(_ctx.classes),
246
135
  style: normalizeStyle(_ctx.popStyle),
247
- onClick: _cache[1] || (_cache[1] = (...args) => _ctx.onClick && _ctx.onClick(...args)),
248
- ref: "popupRef"
136
+ onClick: _cache[1] || (_cache[1] = (...args) => _ctx.onClick && _ctx.onClick(...args))
249
137
  }, [
250
138
  _ctx.showSlot ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("", true),
251
139
  _ctx.closed ? (openBlock(), createElementBlock("view", {
252
140
  key: 1,
253
141
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClickCloseIcon && _ctx.onClickCloseIcon(...args)),
254
- class: normalizeClass(["nutui-popup__close-icon", "nutui-popup__close-icon--" + _ctx.closeIconPosition])
142
+ class: normalizeClass(["nut-popup__close-icon", "nut-popup__close-icon--" + _ctx.closeIconPosition])
255
143
  }, [
256
144
  createVNode(_component_nut_icon, mergeProps(_ctx.$attrs, {
257
145
  name: _ctx.closeIcon,
@@ -267,4 +155,4 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
267
155
  ], 8, ["to", "disabled"]);
268
156
  }
269
157
  var Popup = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
270
- export { Popup as default, popupProps };
158
+ export { Popup as default };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -46,7 +46,7 @@ const _sfc_main = create({
46
46
  type: [String, Number],
47
47
  default: 6
48
48
  },
49
- isWrapTeleport: {
49
+ teleportDisable: {
50
50
  type: Boolean,
51
51
  default: true
52
52
  }
@@ -174,7 +174,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
174
174
  onClickCloseIcon: _ctx.closeIcon,
175
175
  "close-on-click-overlay": _ctx.closeOnClickOverlay,
176
176
  onClickOverlay: _ctx.close,
177
- isWrapTeleport: _ctx.isWrapTeleport
177
+ teleportDisable: _ctx.teleportDisable
178
178
  }, {
179
179
  default: withCtx(() => [
180
180
  createElementVNode("view", _hoisted_1, toDisplayString(_ctx.title || _ctx.translate("title")), 1),
@@ -231,7 +231,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
231
231
  ])) : createCommentVNode("", true)
232
232
  ]),
233
233
  _: 1
234
- }, 8, ["visible", "onClickCloseIcon", "close-on-click-overlay", "onClickOverlay", "isWrapTeleport"])
234
+ }, 8, ["visible", "onClickCloseIcon", "close-on-click-overlay", "onClickOverlay", "teleportDisable"])
235
235
  ]);
236
236
  }
237
237
  var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,16 +1,13 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, createBlock, createCommentVNode, toDisplayString, ref, watch, onMounted, Fragment, renderList, normalizeClass, createVNode, withCtx, createSlots } from "vue";
7
7
  import { c as createComponent, T as TypeOfFun } from "./component.js";
8
8
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
9
- import { popupProps } from "./Popup.js";
9
+ import { p as popupProps } from "./props.js";
10
10
  import "../locale/lang";
11
- import "./OverLay.js";
12
- import "./Icon.js";
13
- import "./pxCheck.js";
14
11
  const { componentName: componentName$4, create: create$4, translate: translate$1 } = createComponent("sku-header");
15
12
  const _sfc_main$4 = create$4({
16
13
  props: {
@@ -439,7 +436,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
439
436
  onClickOverlay: _cache[2] || (_cache[2] = ($event) => _ctx.closePopup("overlay")),
440
437
  onClose: _cache[3] || (_cache[3] = ($event) => _ctx.closePopup("close")),
441
438
  style: { "height": "75%" },
442
- isWrapTeleport: _ctx.isWrapTeleport,
439
+ teleportDisable: _ctx.teleportDisable,
443
440
  teleport: _ctx.teleport
444
441
  }, {
445
442
  default: withCtx(() => [
@@ -506,7 +503,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
506
503
  ])
507
504
  ]),
508
505
  _: 3
509
- }, 8, ["visible", "isWrapTeleport", "teleport"]);
506
+ }, 8, ["visible", "teleportDisable", "teleport"]);
510
507
  }
511
508
  var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
512
509
  export { index as default };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { c as createComponent } from "./component.js";
7
- import { u as useRouter } from "./index.js";
8
7
  import { inject, reactive, getCurrentInstance, computed, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, toDisplayString, createCommentVNode, renderSlot, createVNode } from "vue";
8
+ import { u as useRouter } from "./index.js";
9
9
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
10
10
  import "../locale/lang";
11
11
  const { create } = createComponent("tabbar-item");
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,12 +1,12 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.7 Fri Nov 18 2022 19:57:44 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.8-beta.1 Fri Dec 02 2022 14:18:21 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { T as TypeOfFun, c as createComponent } from "./component.js";
7
+ import { ref, provide, computed, watch, onMounted, onActivated, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, createElementVNode, normalizeStyle, renderSlot, Fragment, renderList, createCommentVNode, createVNode, toDisplayString } from "vue";
7
8
  import { p as pxCheck } from "./pxCheck.js";
8
9
  import { u as useRect } from "./index2.js";
9
- import { ref, provide, computed, watch, onMounted, onActivated, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, createElementVNode, normalizeStyle, renderSlot, Fragment, renderList, createCommentVNode, createVNode, toDisplayString } from "vue";
10
10
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
11
11
  import "../locale/lang";
12
12
  class Title {