@nutui/nutui 3.1.17-beta.0 → 3.1.18
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.
- package/CHANGELOG.md +78 -0
- package/LICENSE +1 -1
- package/README.md +7 -1
- package/dist/nutui.d.ts +3 -1
- package/dist/nutui.es.js +2335 -1280
- package/dist/nutui.umd.js +2350 -1293
- package/dist/packages/_es/ActionSheet.js +8 -3
- package/dist/packages/_es/Address.js +17 -11
- package/dist/packages/_es/Audio.js +2 -2
- package/dist/packages/_es/Avatar.js +2 -2
- package/dist/packages/_es/BackTop.js +7 -4
- package/dist/packages/_es/Badge.js +2 -2
- package/dist/packages/_es/Barrage.js +2 -2
- package/dist/packages/_es/Button.js +2 -2
- package/dist/packages/_es/Calendar.js +15 -16
- package/dist/packages/_es/Card.js +2 -2
- package/dist/packages/_es/Cascader.js +2 -2
- package/dist/packages/_es/Cell.js +25 -18
- package/dist/packages/_es/CellGroup.js +2 -2
- package/dist/packages/_es/Checkbox.js +4 -4
- package/dist/packages/_es/CheckboxGroup.js +4 -4
- package/dist/packages/_es/CircleProgress.js +2 -2
- package/dist/packages/_es/Col.js +2 -2
- package/dist/packages/_es/Collapse.js +2 -2
- package/dist/packages/_es/CollapseItem.js +31 -19
- package/dist/packages/_es/CountDown.js +4 -2
- package/dist/packages/_es/CountUp.js +25 -16
- package/dist/packages/_es/DatePicker.js +83 -47
- package/dist/packages/_es/Dialog.js +5 -3
- package/dist/packages/_es/Divider.js +2 -2
- package/dist/packages/_es/Drag.js +4 -4
- package/dist/packages/_es/Elevator.js +3 -3
- package/dist/packages/_es/Empty.js +2 -2
- package/dist/packages/_es/FixedNav.js +2 -2
- package/dist/packages/_es/Form.js +8 -6
- package/dist/packages/_es/FormItem.js +9 -6
- package/dist/packages/_es/Grid.js +2 -2
- package/dist/packages/_es/GridItem.js +3 -3
- package/dist/packages/_es/Icon.js +2 -2
- package/dist/packages/_es/ImagePreview.js +9 -4
- package/dist/packages/_es/Indicator.js +2 -2
- package/dist/packages/_es/InfiniteLoading.js +2 -2
- package/dist/packages/_es/Input.js +290 -66
- package/dist/packages/_es/InputNumber.js +2 -2
- package/dist/packages/_es/Layout.js +2 -2
- package/dist/packages/_es/List.js +124 -0
- package/dist/packages/_es/Menu.js +3 -3
- package/dist/packages/_es/MenuItem.js +2 -2
- package/dist/packages/_es/Navbar.js +31 -66
- package/dist/packages/_es/NoticeBar.js +41 -22
- package/dist/packages/_es/Notify.js +7 -3
- package/dist/packages/_es/NumberKeyboard.js +9 -4
- package/dist/packages/_es/OverLay.js +2 -2
- package/dist/packages/_es/Pagination.js +2 -2
- package/dist/packages/_es/Picker.js +163 -156
- package/dist/packages/_es/Popover.js +5 -2
- package/dist/packages/_es/Popup.js +2 -2
- package/dist/packages/_es/Price.js +2 -2
- package/dist/packages/_es/Progress.js +14 -22
- package/dist/packages/_es/Radio.js +3 -3
- package/dist/packages/_es/RadioGroup.js +2 -2
- package/dist/packages/_es/Range.js +131 -21
- package/dist/packages/_es/Rate.js +2 -2
- package/dist/packages/_es/Row.js +2 -2
- package/dist/packages/_es/SearchBar.js +2 -2
- package/dist/packages/_es/ShortPassword.js +9 -4
- package/dist/packages/_es/SideNavBar.js +2 -2
- package/dist/packages/_es/SideNavBarItem.js +2 -2
- package/dist/packages/_es/Signature.js +25 -6
- package/dist/packages/_es/Skeleton.js +2 -2
- package/dist/packages/_es/Sku.js +31 -13
- package/dist/packages/_es/Step.js +28 -12
- package/dist/packages/_es/Steps.js +8 -3
- package/dist/packages/_es/Sticky.js +3 -3
- package/dist/packages/_es/SubSideNavBar.js +2 -2
- package/dist/packages/_es/Swipe.js +3 -3
- package/dist/packages/_es/Swiper.js +3 -3
- package/dist/packages/_es/SwiperItem.js +3 -3
- package/dist/packages/_es/Switch.js +2 -2
- package/dist/packages/_es/TabPane.js +2 -2
- package/dist/packages/_es/Tabbar.js +2 -2
- package/dist/packages/_es/TabbarItem.js +23 -8
- package/dist/packages/_es/Table.js +2 -2
- package/dist/packages/_es/Tabs.js +8 -5
- package/dist/packages/_es/Tag.js +11 -5
- package/dist/packages/_es/TextArea.js +38 -6
- package/dist/packages/_es/TimeDetail.js +2 -2
- package/dist/packages/_es/TimePannel.js +2 -2
- package/dist/packages/_es/TimeSelect.js +8 -3
- package/dist/packages/_es/Toast.js +16 -9
- package/dist/packages/_es/Uploader.js +2 -4
- package/dist/packages/_es/Video.js +12 -8
- package/dist/packages/_es/common.js +2 -2
- package/dist/packages/_es/component.js +2 -2
- package/dist/packages/_es/index.js +6 -8
- package/dist/packages/_es/index2.js +9 -32
- package/dist/packages/_es/index3.js +29 -57
- package/dist/packages/_es/index4.js +64 -0
- package/dist/packages/_es/plugin-vue_export-helper.js +2 -2
- package/dist/packages/_es/pxCheck.js +2 -2
- package/dist/packages/_es/raf.js +2 -2
- package/dist/packages/_es/util.js +2 -2
- package/dist/packages/actionsheet/index.scss +7 -6
- package/dist/packages/badge/index.scss +11 -13
- package/dist/packages/button/index.scss +6 -5
- package/dist/packages/calendar/index.scss +9 -4
- package/dist/packages/calendaritem/index.scss +0 -207
- package/dist/packages/cell/index.scss +9 -9
- package/dist/packages/cellgroup/index.scss +1 -1
- package/dist/packages/checkbox/index.scss +4 -3
- package/dist/packages/collapseitem/index.scss +21 -11
- package/dist/packages/countdown/index.scss +3 -1
- package/dist/packages/divider/index.scss +8 -8
- package/dist/packages/elevator/index.scss +36 -36
- package/dist/packages/formitem/index.scss +15 -8
- package/dist/packages/indicator/index.scss +1 -1
- package/dist/packages/input/index.scss +70 -24
- package/dist/packages/inputnumber/index.scss +4 -2
- package/dist/packages/list/index.scss +24 -0
- package/dist/packages/menu/index.scss +3 -3
- package/dist/packages/navbar/index.scss +30 -8
- package/dist/packages/noticebar/index.scss +10 -5
- package/dist/packages/notify/index.scss +10 -0
- package/dist/packages/numberkeyboard/index.scss +22 -21
- package/dist/packages/oldpicker/index.scss +131 -0
- package/dist/packages/picker/index.scss +38 -32
- package/dist/packages/progress/index.scss +24 -19
- package/dist/packages/radio/index.scss +7 -6
- package/dist/packages/range/index.scss +113 -6
- package/dist/packages/searchbar/index.scss +7 -7
- package/dist/packages/sidenavbaritem/index.scss +5 -5
- package/dist/packages/step/index.scss +29 -29
- package/dist/packages/subsidenavbar/index.scss +10 -8
- package/dist/packages/swiper/index.scss +4 -4
- package/dist/packages/switch/index.scss +8 -8
- package/dist/packages/tabbar/index.scss +3 -2
- package/dist/packages/tabbaritem/index.scss +19 -3
- package/dist/packages/tabs/index.scss +1 -0
- package/dist/packages/timedetail/index.scss +13 -13
- package/dist/packages/timepannel/index.scss +7 -7
- package/dist/packages/timeselect/index.scss +3 -3
- package/dist/packages/toast/index.scss +8 -7
- package/dist/packages/uploader/index.scss +4 -4
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +43 -41
- package/dist/styles/themes/jdt.scss +91 -0
- package/dist/styles/variables-jdt.scss +727 -0
- package/dist/styles/variables.scss +322 -38
- package/package.json +3 -2
- package/dist/styles/themes/jdd.scss +0 -2
|
@@ -18,14 +18,14 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
22
|
-
* (c)
|
|
21
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
22
|
+
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
|
-
import { ref, computed, toRefs, openBlock, createElementBlock, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle,
|
|
25
|
+
import { ref, computed, toRefs, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle, withModifiers, Fragment, renderList, createTextVNode, renderSlot } from "vue";
|
|
26
26
|
import { c as createComponent } from "./component.js";
|
|
27
|
-
import { u as useTouch } from "./
|
|
28
|
-
import { u as useRect } from "./
|
|
27
|
+
import { u as useTouch } from "./index4.js";
|
|
28
|
+
import { u as useRect } from "./index3.js";
|
|
29
29
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
30
30
|
const { componentName, create } = createComponent("range");
|
|
31
31
|
const _sfc_main = create({
|
|
@@ -38,6 +38,14 @@ const _sfc_main = create({
|
|
|
38
38
|
activeColor: String,
|
|
39
39
|
inactiveColor: String,
|
|
40
40
|
buttonColor: String,
|
|
41
|
+
vertical: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: false
|
|
44
|
+
},
|
|
45
|
+
marks: {
|
|
46
|
+
type: Object,
|
|
47
|
+
default: {}
|
|
48
|
+
},
|
|
41
49
|
hiddenRange: {
|
|
42
50
|
type: Boolean,
|
|
43
51
|
default: false
|
|
@@ -71,15 +79,29 @@ const _sfc_main = create({
|
|
|
71
79
|
const root = ref();
|
|
72
80
|
const dragStatus = ref();
|
|
73
81
|
const touch = useTouch();
|
|
82
|
+
const marksList = computed(() => {
|
|
83
|
+
const { marks, max, min } = props;
|
|
84
|
+
const marksKeys = Object.keys(marks);
|
|
85
|
+
const list = marksKeys.map(parseFloat).sort((a, b) => a - b).filter((point) => point >= min && point <= max);
|
|
86
|
+
return list;
|
|
87
|
+
});
|
|
74
88
|
const scope = computed(() => Number(props.max) - Number(props.min));
|
|
75
89
|
const classes = computed(() => {
|
|
76
90
|
const prefixCls = componentName;
|
|
77
91
|
return {
|
|
78
92
|
[prefixCls]: true,
|
|
79
93
|
[`${prefixCls}-disabled`]: props.disabled,
|
|
94
|
+
[`${prefixCls}-vertical`]: props.vertical,
|
|
80
95
|
[`${prefixCls}-show-number`]: !props.hiddenRange
|
|
81
96
|
};
|
|
82
97
|
});
|
|
98
|
+
const containerClasses = computed(() => {
|
|
99
|
+
const prefixCls = "nut-range-container";
|
|
100
|
+
return {
|
|
101
|
+
[prefixCls]: true,
|
|
102
|
+
[`${prefixCls}-vertical`]: props.vertical
|
|
103
|
+
};
|
|
104
|
+
});
|
|
83
105
|
const wrapperStyle = computed(() => {
|
|
84
106
|
return {
|
|
85
107
|
background: props.inactiveColor
|
|
@@ -106,13 +128,67 @@ const _sfc_main = create({
|
|
|
106
128
|
return `0%`;
|
|
107
129
|
};
|
|
108
130
|
const barStyle = computed(() => {
|
|
131
|
+
if (props.vertical) {
|
|
132
|
+
return {
|
|
133
|
+
height: calcMainAxis(),
|
|
134
|
+
top: calcOffset(),
|
|
135
|
+
background: props.activeColor,
|
|
136
|
+
transition: dragStatus.value ? "none" : void 0
|
|
137
|
+
};
|
|
138
|
+
} else {
|
|
139
|
+
return {
|
|
140
|
+
width: calcMainAxis(),
|
|
141
|
+
left: calcOffset(),
|
|
142
|
+
background: props.activeColor,
|
|
143
|
+
transition: dragStatus.value ? "none" : void 0
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
const markClassName = (mark) => {
|
|
148
|
+
const classPrefix = "nut-range-mark";
|
|
149
|
+
const { modelValue, max, min } = props;
|
|
150
|
+
let lowerBound = Number(min);
|
|
151
|
+
let upperBound = Number(max);
|
|
152
|
+
if (props.range) {
|
|
153
|
+
const [left, right] = modelValue;
|
|
154
|
+
lowerBound = left;
|
|
155
|
+
upperBound = right;
|
|
156
|
+
} else {
|
|
157
|
+
upperBound = modelValue;
|
|
158
|
+
}
|
|
159
|
+
let isActive = mark <= upperBound && mark >= lowerBound;
|
|
109
160
|
return {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
background: props.activeColor,
|
|
113
|
-
transition: dragStatus.value ? "none" : void 0
|
|
161
|
+
[`${classPrefix}-text`]: true,
|
|
162
|
+
[`${classPrefix}-text-active`]: isActive
|
|
114
163
|
};
|
|
115
|
-
}
|
|
164
|
+
};
|
|
165
|
+
const marksStyle = (mark) => {
|
|
166
|
+
const { max, min, vertical } = props;
|
|
167
|
+
let style = {
|
|
168
|
+
left: `${(mark - Number(min)) / scope.value * 100}%`
|
|
169
|
+
};
|
|
170
|
+
if (vertical) {
|
|
171
|
+
style = {
|
|
172
|
+
top: `${(mark - Number(min)) / scope.value * 100}%`
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
return style;
|
|
176
|
+
};
|
|
177
|
+
const tickStyle = (mark) => {
|
|
178
|
+
const { modelValue, max, min } = props;
|
|
179
|
+
let lowerBound = Number(min);
|
|
180
|
+
let upperBound = Number(max);
|
|
181
|
+
if (props.range) {
|
|
182
|
+
const [left, right] = modelValue;
|
|
183
|
+
lowerBound = left;
|
|
184
|
+
upperBound = right;
|
|
185
|
+
}
|
|
186
|
+
let isActive = mark <= upperBound && mark >= lowerBound;
|
|
187
|
+
let style = {
|
|
188
|
+
background: !isActive ? props.inactiveColor : props.activeColor
|
|
189
|
+
};
|
|
190
|
+
return style;
|
|
191
|
+
};
|
|
116
192
|
const format = (value) => {
|
|
117
193
|
const { min, max, step } = props;
|
|
118
194
|
value = Math.max(+min, Math.min(value, +max));
|
|
@@ -144,8 +220,12 @@ const _sfc_main = create({
|
|
|
144
220
|
}
|
|
145
221
|
const { min, modelValue } = props;
|
|
146
222
|
const rect = useRect(root);
|
|
147
|
-
|
|
148
|
-
|
|
223
|
+
let delta = event.clientX - rect.left;
|
|
224
|
+
let total = rect.width;
|
|
225
|
+
if (props.vertical) {
|
|
226
|
+
delta = event.clientY - rect.top;
|
|
227
|
+
total = rect.height;
|
|
228
|
+
}
|
|
149
229
|
const value = Number(min) + delta / total * scope.value;
|
|
150
230
|
if (isRange(modelValue)) {
|
|
151
231
|
const [left, right] = modelValue;
|
|
@@ -182,9 +262,14 @@ const _sfc_main = create({
|
|
|
182
262
|
touch.move(event);
|
|
183
263
|
dragStatus.value = "draging";
|
|
184
264
|
const rect = useRect(root);
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
265
|
+
let delta = touch.deltaX.value;
|
|
266
|
+
let total = rect.width;
|
|
267
|
+
let diff = delta / total * scope.value;
|
|
268
|
+
if (props.vertical) {
|
|
269
|
+
delta = touch.deltaY.value;
|
|
270
|
+
total = rect.height;
|
|
271
|
+
diff = delta / total * scope.value;
|
|
272
|
+
}
|
|
188
273
|
if (isRange(startValue)) {
|
|
189
274
|
currentValue[buttonIndex.value] = startValue[buttonIndex.value] + diff;
|
|
190
275
|
} else {
|
|
@@ -220,15 +305,23 @@ const _sfc_main = create({
|
|
|
220
305
|
}, toRefs(props)), {
|
|
221
306
|
barStyle,
|
|
222
307
|
curValue,
|
|
223
|
-
buttonIndex
|
|
308
|
+
buttonIndex,
|
|
309
|
+
containerClasses,
|
|
310
|
+
markClassName,
|
|
311
|
+
marksStyle,
|
|
312
|
+
marksList,
|
|
313
|
+
tickStyle
|
|
224
314
|
});
|
|
225
315
|
}
|
|
226
316
|
});
|
|
227
|
-
const _hoisted_1 = {
|
|
228
|
-
const _hoisted_2 = {
|
|
317
|
+
const _hoisted_1 = {
|
|
229
318
|
key: 0,
|
|
230
319
|
class: "min"
|
|
231
320
|
};
|
|
321
|
+
const _hoisted_2 = {
|
|
322
|
+
key: 0,
|
|
323
|
+
class: "nut-range-mark"
|
|
324
|
+
};
|
|
232
325
|
const _hoisted_3 = ["tabindex", "aria-valuemin", "aria-valuenow", "aria-valuemax", "onTouchstart"];
|
|
233
326
|
const _hoisted_4 = {
|
|
234
327
|
key: 0,
|
|
@@ -244,14 +337,31 @@ const _hoisted_7 = {
|
|
|
244
337
|
class: "max"
|
|
245
338
|
};
|
|
246
339
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
247
|
-
return openBlock(), createElementBlock("view",
|
|
248
|
-
|
|
340
|
+
return openBlock(), createElementBlock("view", {
|
|
341
|
+
class: normalizeClass(_ctx.containerClasses)
|
|
342
|
+
}, [
|
|
343
|
+
!_ctx.hiddenRange ? (openBlock(), createElementBlock("view", _hoisted_1, toDisplayString(+_ctx.min), 1)) : createCommentVNode("", true),
|
|
249
344
|
createElementVNode("view", {
|
|
250
345
|
ref: "root",
|
|
251
346
|
style: normalizeStyle(_ctx.wrapperStyle),
|
|
252
347
|
class: normalizeClass(_ctx.classes),
|
|
253
348
|
onClick: _cache[9] || (_cache[9] = withModifiers((...args) => _ctx.onClick && _ctx.onClick(...args), ["stop"]))
|
|
254
349
|
}, [
|
|
350
|
+
_ctx.marksList.length > 0 ? (openBlock(), createElementBlock("view", _hoisted_2, [
|
|
351
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.marksList, (marks) => {
|
|
352
|
+
return openBlock(), createElementBlock("span", {
|
|
353
|
+
key: marks,
|
|
354
|
+
class: normalizeClass(_ctx.markClassName(marks)),
|
|
355
|
+
style: normalizeStyle(_ctx.marksStyle(marks))
|
|
356
|
+
}, [
|
|
357
|
+
createTextVNode(toDisplayString(marks) + " ", 1),
|
|
358
|
+
createElementVNode("span", {
|
|
359
|
+
class: "nut-range-tick",
|
|
360
|
+
style: normalizeStyle(_ctx.tickStyle(marks))
|
|
361
|
+
}, null, 4)
|
|
362
|
+
], 6);
|
|
363
|
+
}), 128))
|
|
364
|
+
])) : createCommentVNode("", true),
|
|
255
365
|
createElementVNode("view", {
|
|
256
366
|
class: "nut-range-bar",
|
|
257
367
|
style: normalizeStyle(_ctx.barStyle)
|
|
@@ -316,7 +426,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
316
426
|
], 4)
|
|
317
427
|
], 6),
|
|
318
428
|
!_ctx.hiddenRange ? (openBlock(), createElementBlock("view", _hoisted_7, toDisplayString(+_ctx.max), 1)) : createCommentVNode("", true)
|
|
319
|
-
]);
|
|
429
|
+
], 2);
|
|
320
430
|
}
|
|
321
431
|
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
322
432
|
export { index as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { computed, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, normalizeStyle, createVNode, createBlock, createCommentVNode } from "vue";
|
package/dist/packages/_es/Row.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { provide, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
22
|
-
* (c)
|
|
21
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
22
|
+
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeStyle, renderSlot, createCommentVNode, createElementVNode, withModifiers, withDirectives, createVNode, vShow } from "vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { ref, computed, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, withDirectives, normalizeStyle, vModelText, Fragment, renderList, createCommentVNode } from "vue";
|
|
@@ -44,6 +44,10 @@ const _sfc_main = create({
|
|
|
44
44
|
length: {
|
|
45
45
|
type: [String, Number],
|
|
46
46
|
default: 6
|
|
47
|
+
},
|
|
48
|
+
isWrapTeleport: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: true
|
|
47
51
|
}
|
|
48
52
|
},
|
|
49
53
|
emits: ["update:modelValue", "update:visible", "complete", "change", "ok", "tips", "close", "cancel"],
|
|
@@ -160,7 +164,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
160
164
|
closeable: true,
|
|
161
165
|
onClickCloseIcon: _ctx.closeIcon,
|
|
162
166
|
"close-on-click-overlay": _ctx.closeOnClickOverlay,
|
|
163
|
-
onClickOverlay: _ctx.close
|
|
167
|
+
onClickOverlay: _ctx.close,
|
|
168
|
+
isWrapTeleport: _ctx.isWrapTeleport
|
|
164
169
|
}, {
|
|
165
170
|
default: withCtx(() => [
|
|
166
171
|
createElementVNode("view", _hoisted_1, toDisplayString(_ctx.title), 1),
|
|
@@ -217,7 +222,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
217
222
|
])) : createCommentVNode("", true)
|
|
218
223
|
]),
|
|
219
224
|
_: 1
|
|
220
|
-
}, 8, ["visible", "onClickCloseIcon", "close-on-click-overlay", "onClickOverlay"])
|
|
225
|
+
}, 8, ["visible", "onClickCloseIcon", "close-on-click-overlay", "onClickOverlay", "isWrapTeleport"])
|
|
221
226
|
]);
|
|
222
227
|
}
|
|
223
228
|
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
22
|
-
* (c)
|
|
21
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
22
|
+
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { ref, reactive, computed, onMounted, toRefs, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot } from "vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { computed, openBlock, createElementBlock, withModifiers, createElementVNode, toDisplayString } from "vue";
|
|
@@ -1,9 +1,28 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __spreadValues = (a, b) => {
|
|
9
|
+
for (var prop in b || (b = {}))
|
|
10
|
+
if (__hasOwnProp.call(b, prop))
|
|
11
|
+
__defNormalProp(a, prop, b[prop]);
|
|
12
|
+
if (__getOwnPropSymbols)
|
|
13
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
+
if (__propIsEnum.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
}
|
|
17
|
+
return a;
|
|
18
|
+
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
1
20
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
21
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
22
|
+
* (c) 2022 @jdf2e.
|
|
4
23
|
* Released under the MIT License.
|
|
5
24
|
*/
|
|
6
|
-
import { ref, computed, reactive, onMounted, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode,
|
|
25
|
+
import { ref, computed, reactive, onMounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, createTextVNode } from "vue";
|
|
7
26
|
import { c as createComponent } from "./component.js";
|
|
8
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
28
|
const { componentName, create } = createComponent("signature");
|
|
@@ -114,7 +133,7 @@ const _sfc_main = create({
|
|
|
114
133
|
addEvent();
|
|
115
134
|
}
|
|
116
135
|
});
|
|
117
|
-
return { canvas, wrap, isCanvasSupported, confirm, clear, classes };
|
|
136
|
+
return __spreadProps(__spreadValues({}, toRefs(state)), { canvas, wrap, isCanvasSupported, confirm, clear, classes });
|
|
118
137
|
}
|
|
119
138
|
});
|
|
120
139
|
const _hoisted_1 = {
|
|
@@ -134,12 +153,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
134
153
|
class: normalizeClass(_ctx.classes)
|
|
135
154
|
}, [
|
|
136
155
|
createElementVNode("div", _hoisted_1, [
|
|
137
|
-
_ctx.isCanvasSupported ? (openBlock(), createElementBlock("canvas", {
|
|
156
|
+
(() => _ctx.isCanvasSupported()) ? (openBlock(), createElementBlock("canvas", {
|
|
138
157
|
key: 0,
|
|
139
158
|
ref: "canvas",
|
|
140
159
|
height: _ctx.canvasHeight,
|
|
141
160
|
width: _ctx.canvasWidth
|
|
142
|
-
}, null, 8, _hoisted_2)) : (openBlock(), createElementBlock("p", _hoisted_3,
|
|
161
|
+
}, null, 8, _hoisted_2)) : (openBlock(), createElementBlock("p", _hoisted_3, _toDisplayString(_ctx.unSupportTpl), 1))
|
|
143
162
|
], 512),
|
|
144
163
|
createVNode(_component_nut_button, {
|
|
145
164
|
class: "nut-signature-btn",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { c as createComponent } from "./component.js";
|
package/dist/packages/_es/Sku.js
CHANGED
|
@@ -1,12 +1,35 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __spreadValues = (a, b) => {
|
|
9
|
+
for (var prop in b || (b = {}))
|
|
10
|
+
if (__hasOwnProp.call(b, prop))
|
|
11
|
+
__defNormalProp(a, prop, b[prop]);
|
|
12
|
+
if (__getOwnPropSymbols)
|
|
13
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
+
if (__propIsEnum.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
}
|
|
17
|
+
return a;
|
|
18
|
+
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
1
20
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
21
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
22
|
+
* (c) 2022 @jdf2e.
|
|
4
23
|
* Released under the MIT License.
|
|
5
24
|
*/
|
|
6
25
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, createBlock, createCommentVNode, toDisplayString, ref, watch, onMounted, Fragment, renderList, normalizeClass, createVNode, withCtx, createSlots } from "vue";
|
|
7
26
|
import { c as createComponent } from "./component.js";
|
|
8
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
28
|
import { T as TypeOfFun } from "./util.js";
|
|
29
|
+
import { popupProps } from "./Popup.js";
|
|
30
|
+
import "./OverLay.js";
|
|
31
|
+
import "./Icon.js";
|
|
32
|
+
import "./pxCheck.js";
|
|
10
33
|
const { componentName: componentName$4, create: create$4 } = createComponent("sku-header");
|
|
11
34
|
const _sfc_main$4 = create$4({
|
|
12
35
|
props: {
|
|
@@ -232,9 +255,6 @@ const _sfc_main$1 = create$1({
|
|
|
232
255
|
};
|
|
233
256
|
return mapD[type];
|
|
234
257
|
};
|
|
235
|
-
onMounted(() => {
|
|
236
|
-
console.log(slots);
|
|
237
|
-
});
|
|
238
258
|
const getSlots = (name) => slots[name];
|
|
239
259
|
const clickBtnOperate = (btn) => {
|
|
240
260
|
emit("clickBtnOperate", btn);
|
|
@@ -278,11 +298,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
278
298
|
var SkuOperate = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
279
299
|
const { componentName, create } = createComponent("sku");
|
|
280
300
|
const _sfc_main = create({
|
|
281
|
-
props: {
|
|
282
|
-
visible: {
|
|
283
|
-
type: Boolean,
|
|
284
|
-
default: false
|
|
285
|
-
},
|
|
301
|
+
props: __spreadProps(__spreadValues({}, popupProps), {
|
|
286
302
|
sku: {
|
|
287
303
|
type: Array,
|
|
288
304
|
default: []
|
|
@@ -327,7 +343,7 @@ const _sfc_main = create({
|
|
|
327
343
|
type: String,
|
|
328
344
|
default: "\u786E\u5B9A"
|
|
329
345
|
}
|
|
330
|
-
},
|
|
346
|
+
}),
|
|
331
347
|
emits: [
|
|
332
348
|
"update:visible",
|
|
333
349
|
"selectSku",
|
|
@@ -428,7 +444,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
428
444
|
onClickCloseIcon: _cache[1] || (_cache[1] = ($event) => _ctx.closePopup("icon")),
|
|
429
445
|
onClickOverlay: _cache[2] || (_cache[2] = ($event) => _ctx.closePopup("overlay")),
|
|
430
446
|
onClose: _cache[3] || (_cache[3] = ($event) => _ctx.closePopup("close")),
|
|
431
|
-
style: { "height": "75%" }
|
|
447
|
+
style: { "height": "75%" },
|
|
448
|
+
isWrapTeleport: _ctx.isWrapTeleport,
|
|
449
|
+
teleport: _ctx.teleport
|
|
432
450
|
}, {
|
|
433
451
|
default: withCtx(() => [
|
|
434
452
|
createElementVNode("view", _hoisted_1, [
|
|
@@ -491,7 +509,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
491
509
|
])
|
|
492
510
|
]),
|
|
493
511
|
_: 3
|
|
494
|
-
}, 8, ["visible"]);
|
|
512
|
+
}, 8, ["visible", "isWrapTeleport", "teleport"]);
|
|
495
513
|
}
|
|
496
514
|
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
497
515
|
export { index as default };
|
|
@@ -18,11 +18,11 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
22
|
-
* (c)
|
|
21
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
22
|
+
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
|
-
import { getCurrentInstance, inject, reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, Fragment, toDisplayString, createCommentVNode } from "vue";
|
|
25
|
+
import { getCurrentInstance, inject, reactive, computed, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, Fragment, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
26
26
|
import { c as createComponent } from "./component.js";
|
|
27
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
28
|
const { create, componentName } = createComponent("step");
|
|
@@ -49,6 +49,7 @@ const _sfc_main = create({
|
|
|
49
49
|
default: "12px"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
+
emits: ["click-step"],
|
|
52
53
|
setup(props, { emit, slots }) {
|
|
53
54
|
const { proxy } = getCurrentInstance();
|
|
54
55
|
const parent = inject("parent");
|
|
@@ -73,9 +74,13 @@ const _sfc_main = create({
|
|
|
73
74
|
[`${prefixCls}-${status.value}`]: true
|
|
74
75
|
};
|
|
75
76
|
});
|
|
77
|
+
const handleClickStep = () => {
|
|
78
|
+
parent["onEmit"](index2.value);
|
|
79
|
+
};
|
|
76
80
|
return __spreadProps(__spreadValues({}, toRefs(state)), {
|
|
77
81
|
index: index2,
|
|
78
|
-
classes
|
|
82
|
+
classes,
|
|
83
|
+
handleClickStep
|
|
79
84
|
});
|
|
80
85
|
}
|
|
81
86
|
});
|
|
@@ -87,11 +92,17 @@ const _hoisted_3 = {
|
|
|
87
92
|
};
|
|
88
93
|
const _hoisted_4 = { class: "nut-step-main" };
|
|
89
94
|
const _hoisted_5 = { class: "nut-step-title" };
|
|
90
|
-
const _hoisted_6 =
|
|
95
|
+
const _hoisted_6 = { key: 0 };
|
|
96
|
+
const _hoisted_7 = {
|
|
97
|
+
key: 0,
|
|
98
|
+
class: "nut-step-content"
|
|
99
|
+
};
|
|
100
|
+
const _hoisted_8 = ["innerHTML"];
|
|
91
101
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
92
102
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
93
103
|
return openBlock(), createElementBlock("view", {
|
|
94
|
-
class: normalizeClass(_ctx.classes)
|
|
104
|
+
class: normalizeClass(_ctx.classes),
|
|
105
|
+
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClickStep && _ctx.handleClickStep(...args))
|
|
95
106
|
}, [
|
|
96
107
|
createElementVNode("view", _hoisted_1, [
|
|
97
108
|
_hoisted_2,
|
|
@@ -108,12 +119,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
108
119
|
], 2)
|
|
109
120
|
]),
|
|
110
121
|
createElementVNode("view", _hoisted_4, [
|
|
111
|
-
createElementVNode("view", _hoisted_5,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
122
|
+
createElementVNode("view", _hoisted_5, [
|
|
123
|
+
!_ctx.$slots.title ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
|
|
124
|
+
renderSlot(_ctx.$slots, "title")
|
|
125
|
+
]),
|
|
126
|
+
_ctx.content || _ctx.$slots.content ? (openBlock(), createElementBlock("view", _hoisted_7, [
|
|
127
|
+
!_ctx.$slots.content ? (openBlock(), createElementBlock("span", {
|
|
128
|
+
key: 0,
|
|
129
|
+
innerHTML: _ctx.content
|
|
130
|
+
}, null, 8, _hoisted_8)) : createCommentVNode("", true),
|
|
131
|
+
renderSlot(_ctx.$slots, "content")
|
|
132
|
+
])) : createCommentVNode("", true)
|
|
117
133
|
])
|
|
118
134
|
], 2);
|
|
119
135
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { reactive, computed, provide, h } from "vue";
|
|
@@ -21,6 +21,7 @@ const _sfc_main = create({
|
|
|
21
21
|
default: false
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
+
emits: ["click-step"],
|
|
24
25
|
setup(props, { emit, slots }) {
|
|
25
26
|
const state = reactive({
|
|
26
27
|
children: []
|
|
@@ -36,10 +37,14 @@ const _sfc_main = create({
|
|
|
36
37
|
const relation = (child) => {
|
|
37
38
|
child && state.children.push(child);
|
|
38
39
|
};
|
|
40
|
+
const onEmit = (index) => {
|
|
41
|
+
emit("click-step", index);
|
|
42
|
+
};
|
|
39
43
|
provide("parent", {
|
|
40
44
|
relation,
|
|
41
45
|
state,
|
|
42
|
-
props
|
|
46
|
+
props,
|
|
47
|
+
onEmit
|
|
43
48
|
});
|
|
44
49
|
return () => {
|
|
45
50
|
var _a;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { ref, reactive, computed, watch, onMounted, onUnmounted, h, unref } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
|
-
import { u as useRect } from "./
|
|
8
|
+
import { u as useRect } from "./index3.js";
|
|
9
9
|
const { componentName, create } = createComponent("sticky");
|
|
10
10
|
const _sfc_main = create({
|
|
11
11
|
props: {
|
|
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
22
|
-
* (c)
|
|
21
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
22
|
+
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { reactive, computed, onMounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, toDisplayString, createVNode, normalizeStyle, renderSlot } from "vue";
|
|
@@ -18,11 +18,11 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
22
|
-
* (c)
|
|
21
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
22
|
+
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
|
-
import { u as useTouch } from "./
|
|
25
|
+
import { u as useTouch } from "./index4.js";
|
|
26
26
|
import { computed, ref, reactive, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot } from "vue";
|
|
27
27
|
import { c as createComponent } from "./component.js";
|
|
28
28
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.18 Fri Mar 25 2022 15:02:08 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { reactive, ref, computed, provide, onMounted, nextTick, onActivated, onDeactivated, onBeforeUnmount, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, renderSlot, Fragment, renderList, createCommentVNode } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
|
-
import { u as useExpose } from "./
|
|
8
|
+
import { u as useExpose } from "./index2.js";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
10
10
|
const DISTANCE = 5;
|
|
11
11
|
function useTouch() {
|