@nutui/nutui 3.1.18-beta.0 → 3.1.19-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 (149) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/LICENSE +1 -1
  3. package/README.md +6 -0
  4. package/dist/nutui.d.ts +39 -36
  5. package/dist/nutui.es.js +13149 -11288
  6. package/dist/nutui.umd.js +13156 -11381
  7. package/dist/packages/_es/ActionSheet.js +13 -19
  8. package/dist/packages/_es/Address.js +70 -55
  9. package/dist/packages/_es/Audio.js +13 -13
  10. package/dist/packages/_es/AudioOperate.js +125 -0
  11. package/dist/packages/_es/Avatar.js +4 -4
  12. package/dist/packages/_es/BackTop.js +69 -108
  13. package/dist/packages/_es/Badge.js +4 -4
  14. package/dist/packages/_es/Barrage.js +63 -56
  15. package/dist/packages/_es/Button.js +3 -3
  16. package/dist/packages/_es/Calendar.js +30 -702
  17. package/dist/packages/_es/CalendarItem.js +10 -0
  18. package/dist/packages/_es/Card.js +7 -6
  19. package/dist/packages/_es/Cascader.js +8 -8
  20. package/dist/packages/_es/Cell.js +27 -27
  21. package/dist/packages/_es/CellGroup.js +2 -2
  22. package/dist/packages/_es/Checkbox.js +4 -4
  23. package/dist/packages/_es/CheckboxGroup.js +3 -3
  24. package/dist/packages/_es/CircleProgress.js +150 -41
  25. package/dist/packages/_es/Col.js +2 -2
  26. package/dist/packages/_es/Collapse.js +35 -9
  27. package/dist/packages/_es/CollapseItem.js +79 -38
  28. package/dist/packages/_es/CountDown.js +8 -6
  29. package/dist/packages/_es/CountUp.js +31 -30
  30. package/dist/packages/_es/DatePicker.js +81 -44
  31. package/dist/packages/_es/Dialog.js +7 -83
  32. package/dist/packages/_es/Divider.js +5 -5
  33. package/dist/packages/_es/Drag.js +93 -55
  34. package/dist/packages/_es/Elevator.js +75 -50
  35. package/dist/packages/_es/Empty.js +4 -4
  36. package/dist/packages/_es/FixedNav.js +6 -6
  37. package/dist/packages/_es/Form.js +11 -9
  38. package/dist/packages/_es/FormItem.js +9 -6
  39. package/dist/packages/_es/Grid.js +2 -2
  40. package/dist/packages/_es/GridItem.js +9 -27
  41. package/dist/packages/_es/Icon.js +2 -2
  42. package/dist/packages/_es/ImagePreview.js +14 -83
  43. package/dist/packages/_es/Indicator.js +4 -4
  44. package/dist/packages/_es/InfiniteLoading.js +94 -108
  45. package/dist/packages/_es/Input.js +297 -73
  46. package/dist/packages/_es/InputNumber.js +24 -17
  47. package/dist/packages/_es/Layout.js +2 -2
  48. package/dist/packages/_es/List.js +131 -0
  49. package/dist/packages/_es/Menu.js +16 -13
  50. package/dist/packages/_es/MenuItem.js +8 -8
  51. package/dist/packages/_es/Navbar.js +17 -12
  52. package/dist/packages/_es/NoticeBar.js +47 -39
  53. package/dist/packages/_es/Notify.js +28 -163
  54. package/dist/packages/_es/NumberKeyboard.js +4 -4
  55. package/dist/packages/_es/OldPicker.js +486 -0
  56. package/dist/packages/_es/OverLay.js +6 -26
  57. package/dist/packages/_es/Pagination.js +8 -8
  58. package/dist/packages/_es/Picker.js +192 -163
  59. package/dist/packages/_es/Popover.js +155 -30
  60. package/dist/packages/_es/Popup.js +7 -70
  61. package/dist/packages/_es/Price.js +18 -6
  62. package/dist/packages/_es/Progress.js +29 -27
  63. package/dist/packages/_es/PullRefresh.js +363 -0
  64. package/dist/packages/_es/Radio.js +4 -4
  65. package/dist/packages/_es/RadioGroup.js +2 -2
  66. package/dist/packages/_es/Range.js +169 -46
  67. package/dist/packages/_es/Rate.js +17 -20
  68. package/dist/packages/_es/Row.js +2 -2
  69. package/dist/packages/_es/SearchBar.js +9 -7
  70. package/dist/packages/_es/ShortPassword.js +90 -68
  71. package/dist/packages/_es/SideNavBar.js +6 -17
  72. package/dist/packages/_es/SideNavBarItem.js +2 -2
  73. package/dist/packages/_es/Signature.js +70 -70
  74. package/dist/packages/_es/Skeleton.js +9 -12
  75. package/dist/packages/_es/Sku.js +40 -31
  76. package/dist/packages/_es/Step.js +28 -12
  77. package/dist/packages/_es/Steps.js +8 -3
  78. package/dist/packages/_es/Sticky.js +29 -24
  79. package/dist/packages/_es/SubSideNavBar.js +2 -2
  80. package/dist/packages/_es/Swipe.js +40 -27
  81. package/dist/packages/_es/Swiper.js +32 -14
  82. package/dist/packages/_es/SwiperItem.js +2 -2
  83. package/dist/packages/_es/Switch.js +4 -4
  84. package/dist/packages/_es/TabPane.js +2 -2
  85. package/dist/packages/_es/Tabbar.js +4 -4
  86. package/dist/packages/_es/TabbarItem.js +28 -23
  87. package/dist/packages/_es/Table.js +14 -14
  88. package/dist/packages/_es/Tabs.js +19 -15
  89. package/dist/packages/_es/Tag.js +14 -8
  90. package/dist/packages/_es/TextArea.js +49 -15
  91. package/dist/packages/_es/TimeDetail.js +5 -4
  92. package/dist/packages/_es/TimePannel.js +4 -4
  93. package/dist/packages/_es/TimeSelect.js +9 -8
  94. package/dist/packages/_es/Toast.js +42 -171
  95. package/dist/packages/_es/Uploader.js +108 -139
  96. package/dist/packages/_es/Video.js +14 -10
  97. package/dist/packages/_es/common.js +2 -2
  98. package/dist/packages/_es/component.js +2 -2
  99. package/dist/packages/_es/index.js +45 -7
  100. package/dist/packages/_es/index.taro.js +719 -0
  101. package/dist/packages/_es/index2.js +2 -2
  102. package/dist/packages/_es/index3.js +57 -29
  103. package/dist/packages/_es/index4.js +414 -57
  104. package/dist/packages/_es/plugin-vue_export-helper.js +2 -2
  105. package/dist/packages/_es/pxCheck.js +2 -2
  106. package/dist/packages/_es/use-lock-scroll.js +23 -0
  107. package/dist/packages/_es/util.js +2 -2
  108. package/dist/packages/badge/index.scss +11 -13
  109. package/dist/packages/button/index.scss +1 -0
  110. package/dist/packages/calendar/index.scss +9 -4
  111. package/dist/packages/calendaritem/index.scss +0 -207
  112. package/dist/packages/cell/index.scss +6 -6
  113. package/dist/packages/checkbox/index.scss +4 -3
  114. package/dist/packages/collapseitem/index.scss +21 -11
  115. package/dist/packages/countdown/index.scss +3 -1
  116. package/dist/packages/divider/index.scss +8 -8
  117. package/dist/packages/elevator/index.scss +36 -36
  118. package/dist/packages/formitem/index.scss +15 -8
  119. package/dist/packages/indicator/index.scss +1 -1
  120. package/dist/packages/input/index.scss +70 -24
  121. package/dist/packages/inputnumber/index.scss +4 -2
  122. package/dist/packages/list/index.scss +24 -0
  123. package/dist/packages/menu/index.scss +3 -3
  124. package/dist/packages/navbar/index.scss +28 -8
  125. package/dist/packages/noticebar/index.scss +7 -8
  126. package/dist/packages/notify/index.scss +9 -0
  127. package/dist/packages/numberkeyboard/index.scss +22 -21
  128. package/dist/packages/oldpicker/index.scss +131 -0
  129. package/dist/packages/picker/index.scss +38 -32
  130. package/dist/packages/progress/index.scss +6 -5
  131. package/dist/packages/radio/index.scss +7 -6
  132. package/dist/packages/range/index.scss +109 -2
  133. package/dist/packages/searchbar/index.scss +7 -7
  134. package/dist/packages/sidenavbaritem/index.scss +5 -5
  135. package/dist/packages/step/index.scss +29 -29
  136. package/dist/packages/subsidenavbar/index.scss +10 -8
  137. package/dist/packages/tabbaritem/index.scss +15 -0
  138. package/dist/packages/timedetail/index.scss +13 -13
  139. package/dist/packages/timepannel/index.scss +7 -7
  140. package/dist/packages/timeselect/index.scss +3 -3
  141. package/dist/packages/uploader/index.scss +6 -6
  142. package/dist/style.css +1 -1
  143. package/dist/styles/themes/default.scss +64 -62
  144. package/dist/styles/themes/jdt.scss +91 -0
  145. package/dist/styles/variables-jdt.scss +728 -0
  146. package/dist/styles/variables.scss +250 -44
  147. package/package.json +2 -1
  148. package/dist/packages/_es/raf.js +0 -19
  149. package/dist/styles/themes/jdd.scss +0 -2
@@ -0,0 +1,363 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
3
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
4
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
5
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
+ var __spreadValues = (a, b) => {
7
+ for (var prop in b || (b = {}))
8
+ if (__hasOwnProp.call(b, prop))
9
+ __defNormalProp(a, prop, b[prop]);
10
+ if (__getOwnPropSymbols)
11
+ for (var prop of __getOwnPropSymbols(b)) {
12
+ if (__propIsEnum.call(b, prop))
13
+ __defNormalProp(a, prop, b[prop]);
14
+ }
15
+ return a;
16
+ };
17
+ /*!
18
+ * @nutui/nutui v3.1.19-beta.1 Sat Apr 02 2022 16:26:37 GMT+0800 (中国标准时间)
19
+ * (c) 2022 @jdf2e.
20
+ * Released under the MIT License.
21
+ */
22
+ import { ref, toRefs, reactive, computed, onMounted, openBlock, createElementBlock, normalizeStyle, createElementVNode, normalizeClass, toDisplayString, renderSlot } from "vue";
23
+ import { c as createComponent } from "./component.js";
24
+ import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
25
+ const MIN_DISTANCE = 10;
26
+ function getDirection(x, y) {
27
+ if (x > y && x > MIN_DISTANCE) {
28
+ return "horizontal";
29
+ }
30
+ if (y > x && y > MIN_DISTANCE) {
31
+ return "vertical";
32
+ }
33
+ return "";
34
+ }
35
+ function useTouch() {
36
+ const startX = ref(0);
37
+ const startY = ref(0);
38
+ const deltaX = ref(0);
39
+ const deltaY = ref(0);
40
+ const offsetX = ref(0);
41
+ const offsetY = ref(0);
42
+ const direction = ref("");
43
+ const isVertical = () => direction.value === "vertical";
44
+ const isHorizontal = () => direction.value === "horizontal";
45
+ const reset = () => {
46
+ deltaX.value = 0;
47
+ deltaY.value = 0;
48
+ offsetX.value = 0;
49
+ offsetY.value = 0;
50
+ direction.value = "";
51
+ };
52
+ const start = (event) => {
53
+ reset();
54
+ startX.value = event.touches[0].clientX;
55
+ startY.value = event.touches[0].clientY;
56
+ };
57
+ const move = (event) => {
58
+ const touch = event.touches[0];
59
+ deltaX.value = touch.clientX - startX.value;
60
+ deltaY.value = touch.clientY - startY.value;
61
+ offsetX.value = Math.abs(deltaX.value);
62
+ offsetY.value = Math.abs(deltaY.value);
63
+ if (!direction.value) {
64
+ direction.value = getDirection(offsetX.value, offsetY.value);
65
+ }
66
+ };
67
+ return {
68
+ move,
69
+ start,
70
+ reset,
71
+ startX,
72
+ startY,
73
+ deltaX,
74
+ deltaY,
75
+ offsetX,
76
+ offsetY,
77
+ direction,
78
+ isVertical,
79
+ isHorizontal
80
+ };
81
+ }
82
+ function preventDefault(event, isStopPropagation) {
83
+ if (typeof event.cancelable !== "boolean" || event.cancelable) {
84
+ event.preventDefault();
85
+ }
86
+ if (isStopPropagation)
87
+ event.stopPropagation();
88
+ }
89
+ const { componentName, create } = createComponent("pullrefresh");
90
+ const _sfc_main = create({
91
+ props: {
92
+ useWindow: {
93
+ type: Boolean,
94
+ default: true
95
+ },
96
+ containerId: {
97
+ type: String,
98
+ default: ""
99
+ },
100
+ disabled: {
101
+ type: Boolean,
102
+ default: false
103
+ },
104
+ direction: {
105
+ type: String,
106
+ default: "vertical"
107
+ },
108
+ pullingText: {
109
+ type: Object,
110
+ default: {
111
+ top: "\u4E0B\u62C9\u5237\u65B0",
112
+ bottom: "\u4E0A\u62C9\u52A0\u8F7D",
113
+ left: "\u5DE6\u6ED1\u5237\u65B0",
114
+ right: "\u53F3\u6ED1\u52A0\u8F7D"
115
+ }
116
+ },
117
+ loosingText: {
118
+ type: Object,
119
+ default: {
120
+ top: "\u677E\u624B\u91CA\u653E\u5237\u65B0",
121
+ bottom: "\u677E\u624B\u91CA\u653E\u5237\u65B0",
122
+ left: "\u91CA\u653E\u5237\u65B0",
123
+ right: "\u52A0\u8F7D\u66F4\u591A"
124
+ }
125
+ },
126
+ loadingText: {
127
+ type: Object,
128
+ default: {
129
+ top: "\u52A0\u8F7D\u4E2D...",
130
+ bottom: "\u52A0\u8F7D\u4E2D...",
131
+ left: "\u52A0\u8F7D\u4E2D...",
132
+ right: "\u52A0\u8F7D\u4E2D..."
133
+ }
134
+ }
135
+ },
136
+ emits: ["refresh", "downRefresh"],
137
+ setup(props, { emit }) {
138
+ const { containerId, useWindow, direction, disabled } = toRefs(props);
139
+ const reachTop = ref(false);
140
+ const reachBottom = ref(false);
141
+ const reachLeft = ref(false);
142
+ const reachRight = ref(false);
143
+ const state = reactive({
144
+ status: "normal",
145
+ distance: 0,
146
+ duration: 0
147
+ });
148
+ let scrollEl = document.documentElement || document.body;
149
+ const scroller = ref(null);
150
+ const touch = useTouch();
151
+ const getStyle = computed(() => {
152
+ let style = {};
153
+ const { deltaY, deltaX } = touch;
154
+ if (direction.value == "vertical" && (reachTop.value && deltaY.value > 0 || reachBottom.value && deltaY.value < 0) && touch.isVertical()) {
155
+ style = {
156
+ transitionDuration: `${state.duration}ms`,
157
+ transform: state.distance ? `translate3d(0,${state.distance}px, 0)` : `translate3d(0,0,0)`
158
+ };
159
+ }
160
+ if (direction.value == "horizontal" && (reachLeft.value && deltaX.value > 0 || reachRight.value && deltaX.value < 0) && touch.isHorizontal()) {
161
+ style = {
162
+ transitionDuration: `${state.duration}ms`,
163
+ transform: state.distance ? `translate3d(${state.distance}px, 0,0)` : `translate3d(0,0,0)`
164
+ };
165
+ }
166
+ return style;
167
+ });
168
+ const getBottomStyle = computed(() => {
169
+ let style = {};
170
+ if (direction.value == "vertical" && reachBottom.value && touch.deltaY.value < 0 && touch.isVertical()) {
171
+ const dis = Math.abs(state.distance) < 50 ? -state.distance : 50;
172
+ style = {
173
+ height: dis + "px"
174
+ };
175
+ }
176
+ if (direction.value == "horizontal" && reachRight.value && touch.deltaX.value < 0 && touch.isVertical()) {
177
+ const dis = Math.abs(state.distance) < 50 ? -state.distance : 50;
178
+ style = {
179
+ width: dis + "px"
180
+ };
181
+ }
182
+ return style;
183
+ });
184
+ const refreshTopTem = computed(() => {
185
+ const { status, distance } = state;
186
+ const tag = direction.value == "vertical" ? "top" : "left";
187
+ if (status == "loading" && (reachTop.value || reachLeft.value) && distance > 0) {
188
+ return props.loadingText[tag];
189
+ }
190
+ if (status == "pulling" && (reachTop.value || reachLeft.value) && distance > 0) {
191
+ return props.pullingText[tag];
192
+ }
193
+ if (status == "loosing" && (reachTop.value || reachLeft.value) && distance > 0) {
194
+ return props.loosingText[tag];
195
+ }
196
+ return "";
197
+ });
198
+ const refreshBottomTem = computed(() => {
199
+ const { status, distance } = state;
200
+ const tag = direction.value == "vertical" ? "bottom" : "right";
201
+ if (status == "loading" && (reachBottom.value || reachRight.value) && distance < 0) {
202
+ return props.loadingText[tag];
203
+ }
204
+ if (status == "pulling" && (reachBottom.value || reachRight.value) && distance < 0) {
205
+ return props.pullingText[tag];
206
+ }
207
+ if (status == "loosing" && (reachBottom.value || reachRight.value) && distance < 0) {
208
+ return props.loosingText[tag];
209
+ }
210
+ return "";
211
+ });
212
+ const isTouchable = () => state.status !== "loading" && !disabled.value;
213
+ const setStatus = (distance, isLoading) => {
214
+ state.distance = distance;
215
+ if (isLoading) {
216
+ state.status = "loading";
217
+ } else if (distance === 0) {
218
+ state.status = "normal";
219
+ } else if (Math.abs(distance) < 50) {
220
+ state.status = "pulling";
221
+ } else {
222
+ state.status = "loosing";
223
+ }
224
+ };
225
+ const getParentElement = (el) => {
226
+ if (containerId.value != "") {
227
+ return document.querySelector(`#${containerId.value}`);
228
+ }
229
+ return el && el.parentNode;
230
+ };
231
+ onMounted(() => {
232
+ const parentElement = getParentElement(scroller);
233
+ let scrollElCopy = document.documentElement || document.body;
234
+ if (useWindow.value === false) {
235
+ scrollElCopy = parentElement;
236
+ }
237
+ scrollEl = scrollElCopy;
238
+ });
239
+ const ease = (distance) => {
240
+ const headHeight = 50;
241
+ if (distance > headHeight) {
242
+ if (distance < headHeight * 2) {
243
+ distance = headHeight + (distance - headHeight) / 2;
244
+ } else {
245
+ distance = headHeight * 1.5 + (distance - headHeight * 2) / 4;
246
+ }
247
+ }
248
+ return Math.round(distance);
249
+ };
250
+ const refreshDone = () => {
251
+ setStatus(0);
252
+ };
253
+ const touchStart = (event) => {
254
+ if (isTouchable()) {
255
+ if (direction.value == "vertical") {
256
+ const top = "scrollTop" in scrollEl ? scrollEl.scrollTop : 0;
257
+ reachTop.value = Math.max(top, 0) == 0 ? true : false;
258
+ const { scrollHeight, clientHeight, scrollTop } = scrollEl;
259
+ reachBottom.value = clientHeight + scrollTop == scrollHeight ? true : false;
260
+ if (reachTop.value || reachBottom.value) {
261
+ state.duration = 0;
262
+ touch.start(event);
263
+ }
264
+ } else {
265
+ const { scrollWidth, clientWidth, scrollLeft } = scrollEl;
266
+ const left = "scrollLeft" in scrollEl ? scrollEl.scrollLeft : 0;
267
+ reachLeft.value = Math.max(left, 0) == 0 ? true : false;
268
+ reachRight.value = clientWidth + scrollLeft == scrollWidth ? true : false;
269
+ if (reachLeft.value || reachRight.value) {
270
+ state.duration = 0;
271
+ touch.start(event);
272
+ }
273
+ }
274
+ } else {
275
+ preventDefault(event);
276
+ }
277
+ };
278
+ const touchMove = (event) => {
279
+ if (isTouchable()) {
280
+ const { deltaY, deltaX } = touch;
281
+ touch.move(event);
282
+ if (direction.value == "vertical" && (reachBottom.value && deltaY.value < 0 || reachTop.value && deltaY.value >= 0) && touch.isVertical()) {
283
+ preventDefault(event);
284
+ setStatus(ease(deltaY.value));
285
+ }
286
+ if (direction.value == "horizontal" && (reachLeft.value && deltaX.value >= 0 || reachRight.value && deltaX.value < 0) && touch.isHorizontal()) {
287
+ preventDefault(event);
288
+ setStatus(ease(deltaX.value));
289
+ }
290
+ } else {
291
+ preventDefault(event);
292
+ }
293
+ };
294
+ const touchEnd = () => {
295
+ if (isTouchable()) {
296
+ const { deltaY, deltaX } = touch;
297
+ if (state.status === "loosing") {
298
+ let dis = 0;
299
+ if (direction.value == "vertical" && reachTop.value && deltaY.value > 0) {
300
+ dis = 50;
301
+ emit("downRefresh", refreshDone);
302
+ }
303
+ if (direction.value == "vertical" && reachBottom.value && deltaY.value < 0) {
304
+ dis = -50;
305
+ emit("refresh", refreshDone);
306
+ }
307
+ if (direction.value == "horizontal" && reachLeft.value && deltaX.value > 0) {
308
+ dis = 50;
309
+ emit("downRefresh", refreshDone);
310
+ }
311
+ if (direction.value == "horizontal" && reachRight.value && deltaX.value < 0) {
312
+ dis = -50;
313
+ emit("refresh", refreshDone);
314
+ }
315
+ setStatus(dis, true);
316
+ } else {
317
+ setStatus(0);
318
+ }
319
+ }
320
+ };
321
+ return __spreadValues({
322
+ scroller,
323
+ touchStart,
324
+ touchMove,
325
+ touchEnd,
326
+ getStyle,
327
+ reachBottom,
328
+ reachTop,
329
+ reachRight,
330
+ reachLeft,
331
+ getBottomStyle,
332
+ refreshTopTem,
333
+ refreshBottomTem
334
+ }, toRefs(state));
335
+ }
336
+ });
337
+ const _hoisted_1 = {
338
+ class: "pullrefresh-content",
339
+ ref: "pull"
340
+ };
341
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
342
+ return openBlock(), createElementBlock("view", {
343
+ class: "nut-pullrefresh",
344
+ ref: "scroller",
345
+ style: normalizeStyle(_ctx.getStyle),
346
+ onTouchstart: _cache[0] || (_cache[0] = (...args) => _ctx.touchStart && _ctx.touchStart(...args)),
347
+ onTouchmove: _cache[1] || (_cache[1] = (...args) => _ctx.touchMove && _ctx.touchMove(...args)),
348
+ onTouchend: _cache[2] || (_cache[2] = (...args) => _ctx.touchEnd && _ctx.touchEnd(...args))
349
+ }, [
350
+ createElementVNode("view", {
351
+ class: normalizeClass(["pullrefresh-top", _ctx.direction == "horizontal" ? "pullrefresh-top-h" : "pullrefresh-top-v"])
352
+ }, toDisplayString(_ctx.refreshTopTem), 3),
353
+ createElementVNode("view", _hoisted_1, [
354
+ renderSlot(_ctx.$slots, "default")
355
+ ], 512),
356
+ createElementVNode("view", {
357
+ class: normalizeClass(["pullrefresh-bottom", _ctx.direction == "horizontal" ? "pullrefresh-bottom-h" : "pullrefresh-bottom-v"]),
358
+ style: normalizeStyle(_ctx.getBottomStyle)
359
+ }, toDisplayString(_ctx.refreshBottomTem), 7)
360
+ ], 36);
361
+ }
362
+ var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
363
+ export { index as default };
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.18-beta.0 Tue Mar 08 2022 10:41:31 GMT+0800 (中国标准时间)
3
- * (c) 2021 @jdf2e.
2
+ * @nutui/nutui v3.1.19-beta.1 Sat Apr 02 2022 16:26:37 GMT+0800 (中国标准时间)
3
+ * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { inject, computed, h } from "vue";
7
- import { c as createComponent } from "./component.js";
8
7
  import _sfc_main$1 from "./Icon.js";
8
+ import { c as createComponent } from "./component.js";
9
9
  import "./pxCheck.js";
10
10
  const { componentName, create } = createComponent("radio");
11
11
  const _sfc_main = create({
@@ -32,7 +32,7 @@ const _sfc_main = create({
32
32
  },
33
33
  iconSize: {
34
34
  type: [String, Number],
35
- default: 18
35
+ default: ""
36
36
  }
37
37
  },
38
38
  setup(props, { emit, slots }) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * @nutui/nutui v3.1.18-beta.0 Tue Mar 08 2022 10:41:31 GMT+0800 (中国标准时间)
3
- * (c) 2021 @jdf2e.
2
+ * @nutui/nutui v3.1.19-beta.1 Sat Apr 02 2022 16:26:37 GMT+0800 (中国标准时间)
3
+ * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
6
  import { provide, readonly, computed, watch, h } from "vue";