@nutui/nutui 3.1.18 → 3.1.19-beta.2
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/README.md +9 -8
- package/dist/nutui.es.js +12360 -12238
- package/dist/nutui.umd.js +12367 -12245
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/Audio.js +1 -1
- package/dist/packages/_es/AudioOperate.js +125 -0
- package/dist/packages/_es/Avatar.js +1 -1
- package/dist/packages/_es/BackTop.js +1 -1
- package/dist/packages/_es/Badge.js +1 -1
- package/dist/packages/_es/Barrage.js +1 -1
- package/dist/packages/_es/Button.js +1 -1
- package/dist/packages/_es/Calendar.js +8 -684
- package/dist/packages/_es/CalendarItem.js +10 -0
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/Cell.js +1 -1
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +13 -3
- package/dist/packages/_es/CheckboxGroup.js +2 -2
- package/dist/packages/_es/CircleProgress.js +1 -1
- package/dist/packages/_es/Col.js +1 -1
- package/dist/packages/_es/Collapse.js +1 -1
- package/dist/packages/_es/CollapseItem.js +1 -1
- package/dist/packages/_es/CountDown.js +1 -1
- package/dist/packages/_es/CountUp.js +1 -1
- package/dist/packages/_es/DatePicker.js +1 -1
- package/dist/packages/_es/Dialog.js +10 -9
- package/dist/packages/_es/Divider.js +1 -1
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Elevator.js +2 -2
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +6 -7
- package/dist/packages/_es/Form.js +2 -6
- package/dist/packages/_es/FormItem.js +1 -1
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +1 -1
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/ImagePreview.js +2 -2
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/Input.js +1 -1
- package/dist/packages/_es/InputNumber.js +1 -1
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/List.js +1 -1
- package/dist/packages/_es/Menu.js +2 -2
- package/dist/packages/_es/MenuItem.js +1 -1
- package/dist/packages/_es/Navbar.js +1 -1
- package/dist/packages/_es/NoticeBar.js +1 -1
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +9 -4
- package/dist/packages/_es/OldPicker.js +484 -0
- package/dist/packages/_es/OverLay.js +1 -1
- package/dist/packages/_es/Pagination.js +8 -7
- package/dist/packages/_es/Picker.js +1 -1
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +1 -1
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +1 -1
- package/dist/packages/_es/PullRefresh.js +363 -0
- package/dist/packages/_es/Radio.js +13 -3
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +2 -2
- package/dist/packages/_es/Rate.js +1 -1
- package/dist/packages/_es/Row.js +1 -1
- package/dist/packages/_es/SearchBar.js +6 -5
- package/dist/packages/_es/ShortPassword.js +1 -1
- package/dist/packages/_es/SideNavBar.js +1 -1
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Skeleton.js +1 -1
- package/dist/packages/_es/Sku.js +2 -3
- package/dist/packages/_es/Step.js +1 -1
- package/dist/packages/_es/Steps.js +1 -1
- package/dist/packages/_es/Sticky.js +2 -2
- package/dist/packages/_es/SubSideNavBar.js +1 -1
- package/dist/packages/_es/Swipe.js +1 -1
- package/dist/packages/_es/Swiper.js +2 -2
- package/dist/packages/_es/SwiperItem.js +2 -2
- package/dist/packages/_es/Switch.js +1 -1
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +1 -1
- package/dist/packages/_es/TabbarItem.js +7 -3
- package/dist/packages/_es/Table.js +1 -1
- package/dist/packages/_es/Tabs.js +1 -1
- package/dist/packages/_es/Tag.js +1 -1
- package/dist/packages/_es/TextArea.js +1 -1
- package/dist/packages/_es/TimeDetail.js +1 -1
- package/dist/packages/_es/TimePannel.js +1 -1
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +1 -1
- package/dist/packages/_es/Uploader.js +1 -1
- package/dist/packages/_es/Video.js +7 -6
- package/dist/packages/_es/common.js +1 -1
- package/dist/packages/_es/component.js +135 -3
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +31 -8
- package/dist/packages/_es/index3.js +8 -31
- package/dist/packages/_es/index4.js +1 -1
- package/dist/packages/_es/index5.js +692 -0
- package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- package/dist/packages/uploader/index.scss +2 -2
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +65 -65
- package/dist/styles/themes/jdt.scss +65 -65
- package/dist/styles/variables-jdt.scss +2 -1
- package/dist/styles/variables.scss +1 -1
- package/dist/types/__VUE/actionsheet/index.d.ts +269 -0
- package/dist/types/__VUE/address/index.d.ts +386 -0
- package/dist/types/__VUE/audio/index.d.ts +92 -0
- package/dist/types/__VUE/audiooperate/index.d.ts +68 -0
- package/dist/types/__VUE/avatar/index.d.ts +66 -0
- package/dist/types/__VUE/backtop/index.d.ts +105 -0
- package/dist/types/__VUE/badge/index.d.ts +94 -0
- package/dist/types/__VUE/barrage/index.d.ts +80 -0
- package/dist/types/__VUE/button/index.d.ts +116 -0
- package/dist/types/__VUE/calendar/index.d.ts +155 -0
- package/dist/types/__VUE/calendaritem/index.d.ts +195 -0
- package/dist/types/__VUE/card/index.d.ts +81 -0
- package/dist/types/__VUE/cascader/cascader-item.d.ts +76 -0
- package/dist/types/__VUE/cascader/helper.d.ts +8 -0
- package/dist/types/__VUE/cascader/index.d.ts +76 -0
- package/dist/types/__VUE/cascader/tree.d.ts +17 -0
- package/dist/types/__VUE/cascader/types.d.ts +30 -0
- package/dist/types/__VUE/cell/index.d.ts +109 -0
- package/dist/types/__VUE/cellgroup/index.d.ts +38 -0
- package/dist/types/__VUE/checkbox/index.d.ts +102 -0
- package/dist/types/__VUE/checkboxgroup/index.d.ts +39 -0
- package/dist/types/__VUE/circleprogress/index.d.ts +66 -0
- package/dist/types/__VUE/col/index.d.ts +42 -0
- package/dist/types/__VUE/collapse/index.d.ts +104 -0
- package/dist/types/__VUE/collapseitem/index.d.ts +83 -0
- package/dist/types/__VUE/countdown/index.d.ts +90 -0
- package/dist/types/__VUE/countup/index.d.ts +216 -0
- package/dist/types/__VUE/datepicker/index.d.ts +347 -0
- package/dist/types/__VUE/datepicker/utils.d.ts +5 -0
- package/dist/types/__VUE/dialog/index.d.ts +306 -0
- package/dist/types/__VUE/divider/index.d.ts +47 -0
- package/dist/types/__VUE/drag/index.d.ts +61 -0
- package/dist/types/__VUE/elevator/index.d.ts +71 -0
- package/dist/types/__VUE/empty/index.d.ts +46 -0
- package/dist/types/__VUE/fixednav/index.d.ts +96 -0
- package/dist/types/__VUE/form/common.d.ts +20 -0
- package/dist/types/__VUE/form/index.d.ts +32 -0
- package/dist/types/__VUE/form/types.d.ts +13 -0
- package/dist/types/__VUE/formitem/index.d.ts +120 -0
- package/dist/types/__VUE/formitem/types.d.ts +10 -0
- package/dist/types/__VUE/grid/common.d.ts +91 -0
- package/dist/types/__VUE/grid/index.d.ts +100 -0
- package/dist/types/__VUE/griditem/index.d.ts +80 -0
- package/dist/types/__VUE/icon/index.d.ts +74 -0
- package/dist/types/__VUE/imagepreview/index.d.ts +125 -0
- package/dist/types/__VUE/indicator/index.d.ts +70 -0
- package/dist/types/__VUE/infiniteloading/index.d.ts +140 -0
- package/dist/types/__VUE/input/index.d.ts +336 -0
- package/dist/types/__VUE/input/util.d.ts +5 -0
- package/dist/types/__VUE/inputnumber/index.d.ts +117 -0
- package/dist/types/__VUE/layout/index.d.ts +13 -0
- package/dist/types/__VUE/list/index.d.ts +48 -0
- package/dist/types/__VUE/menu/index.d.ts +51 -0
- package/dist/types/__VUE/menuitem/index.d.ts +77 -0
- package/dist/types/__VUE/navbar/index.d.ts +84 -0
- package/dist/types/__VUE/noticebar/index.d.ts +209 -0
- package/dist/types/__VUE/notify/index.d.ts +103 -0
- package/dist/types/__VUE/numberkeyboard/index.d.ts +123 -0
- package/dist/types/__VUE/oldpicker/Column.d.ts +96 -0
- package/dist/types/__VUE/oldpicker/commonProps.d.ts +22 -0
- package/dist/types/__VUE/oldpicker/index.d.ts +360 -0
- package/dist/types/__VUE/oldpicker/types.d.ts +24 -0
- package/dist/types/__VUE/overlay/index.d.ts +1614 -0
- package/dist/types/__VUE/pagination/index.d.ts +112 -0
- package/dist/types/__VUE/picker/Column.d.ts +90 -0
- package/dist/types/__VUE/picker/index.d.ts +342 -0
- package/dist/types/__VUE/picker/types.d.ts +26 -0
- package/dist/types/__VUE/popover/index.d.ts +233 -0
- package/dist/types/__VUE/popup/index.d.ts +1734 -0
- package/dist/types/__VUE/popup/use-lock-scroll.d.ts +5 -0
- package/dist/types/__VUE/price/index.d.ts +87 -0
- package/dist/types/__VUE/progress/index.d.ts +137 -0
- package/dist/types/__VUE/pullrefresh/index.d.ts +128 -0
- package/dist/types/__VUE/pullrefresh/use-touch.d.ts +20 -0
- package/dist/types/__VUE/pullrefresh/util.d.ts +6 -0
- package/dist/types/__VUE/radio/index.d.ts +90 -0
- package/dist/types/__VUE/radiogroup/index.d.ts +48 -0
- package/dist/types/__VUE/range/index.d.ts +156 -0
- package/dist/types/__VUE/rate/index.d.ts +142 -0
- package/dist/types/__VUE/row/index.d.ts +63 -0
- package/dist/types/__VUE/searchbar/index.d.ts +100 -0
- package/dist/types/__VUE/shortpassword/index.d.ts +136 -0
- package/dist/types/__VUE/sidenavbar/index.d.ts +36 -0
- package/dist/types/__VUE/sidenavbaritem/index.d.ts +41 -0
- package/dist/types/__VUE/signature/index.d.ts +73 -0
- package/dist/types/__VUE/skeleton/common.d.ts +63 -0
- package/dist/types/__VUE/skeleton/index.d.ts +117 -0
- package/dist/types/__VUE/sku/components/SkuHeader.d.ts +27 -0
- package/dist/types/__VUE/sku/components/SkuOperate.d.ts +70 -0
- package/dist/types/__VUE/sku/components/SkuSelect.d.ts +30 -0
- package/dist/types/__VUE/sku/components/SkuStepper.d.ts +67 -0
- package/dist/types/__VUE/sku/index.d.ts +300 -0
- package/dist/types/__VUE/step/index.d.ts +70 -0
- package/dist/types/__VUE/steps/index.d.ts +47 -0
- package/dist/types/__VUE/sticky/index.d.ts +63 -0
- package/dist/types/__VUE/subsidenavbar/index.d.ts +54 -0
- package/dist/types/__VUE/swipe/index.d.ts +69 -0
- package/dist/types/__VUE/swiper/index.d.ts +163 -0
- package/dist/types/__VUE/swiper/use-touch.d.ts +20 -0
- package/dist/types/__VUE/swiperitem/index.d.ts +24 -0
- package/dist/types/__VUE/switch/index.d.ts +136 -0
- package/dist/types/__VUE/tabbar/index.d.ts +84 -0
- package/dist/types/__VUE/tabbaritem/index.d.ts +108 -0
- package/dist/types/__VUE/table/common.d.ts +54 -0
- package/dist/types/__VUE/table/index.d.ts +75 -0
- package/dist/types/__VUE/table/renderColumn.d.ts +20 -0
- package/dist/types/__VUE/table/types.d.ts +19 -0
- package/dist/types/__VUE/tabpane/index.d.ts +47 -0
- package/dist/types/__VUE/tabs/index.d.ts +128 -0
- package/dist/types/__VUE/tag/index.d.ts +89 -0
- package/dist/types/__VUE/textarea/index.d.ts +120 -0
- package/dist/types/__VUE/timedetail/index.d.ts +48 -0
- package/dist/types/__VUE/timepannel/index.d.ts +43 -0
- package/dist/types/__VUE/timeselect/index.d.ts +82 -0
- package/dist/types/__VUE/toast/index.d.ts +149 -0
- package/dist/types/__VUE/uploader/index.d.ts +258 -0
- package/dist/types/__VUE/uploader/uploader.d.ts +25 -0
- package/dist/types/__VUE/video/index.d.ts +123 -0
- package/dist/{index.d.ts → types/index.d.ts} +0 -0
- package/dist/types/nutui.d.ts +92 -0
- package/package.json +14 -5
- package/dist/nutui.d.ts +0 -103
- package/dist/packages/_es/util.js +0 -47
|
@@ -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.2 Thu Apr 07 2022 17:52:31 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,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.19-beta.2 Thu Apr 07 2022 17:52:31 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -33,6 +33,14 @@ const _sfc_main = create({
|
|
|
33
33
|
iconSize: {
|
|
34
34
|
type: [String, Number],
|
|
35
35
|
default: ""
|
|
36
|
+
},
|
|
37
|
+
iconClassPrefix: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: "nut-icon"
|
|
40
|
+
},
|
|
41
|
+
iconFontClassName: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: "nutui-iconfont"
|
|
36
44
|
}
|
|
37
45
|
},
|
|
38
46
|
setup(props, { emit, slots }) {
|
|
@@ -47,11 +55,13 @@ const _sfc_main = create({
|
|
|
47
55
|
return parent.position;
|
|
48
56
|
});
|
|
49
57
|
const renderIcon = () => {
|
|
50
|
-
const { iconName, iconSize, iconActiveName } = props;
|
|
58
|
+
const { iconName, iconSize, iconActiveName, iconClassPrefix, iconFontClassName } = props;
|
|
51
59
|
return h(_sfc_main$1, {
|
|
52
60
|
name: isCurValue.value ? iconActiveName : iconName,
|
|
53
61
|
size: iconSize,
|
|
54
|
-
class: color.value
|
|
62
|
+
class: color.value,
|
|
63
|
+
classPrefix: iconClassPrefix,
|
|
64
|
+
fontClassName: iconFontClassName
|
|
55
65
|
});
|
|
56
66
|
};
|
|
57
67
|
const renderLabel = () => {
|
|
@@ -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.
|
|
21
|
+
* @nutui/nutui v3.1.19-beta.2 Thu Apr 07 2022 17:52:31 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
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
27
|
import { u as useTouch } from "./index4.js";
|
|
28
|
-
import { u as useRect } from "./
|
|
28
|
+
import { u as useRect } from "./index2.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({
|
package/dist/packages/_es/Row.js
CHANGED
|
@@ -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.
|
|
21
|
+
* @nutui/nutui v3.1.19-beta.2 Thu Apr 07 2022 17:52:31 GMT+0800 (中国标准时间)
|
|
22
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";
|
|
26
26
|
import { c as createComponent } from "./component.js";
|
|
27
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
|
-
const { create } = createComponent("searchbar");
|
|
28
|
+
const { create, translate } = createComponent("searchbar");
|
|
29
29
|
const _sfc_main = create({
|
|
30
30
|
props: {
|
|
31
31
|
modelValue: {
|
|
@@ -42,7 +42,7 @@ const _sfc_main = create({
|
|
|
42
42
|
},
|
|
43
43
|
placeholder: {
|
|
44
44
|
type: String,
|
|
45
|
-
default: "
|
|
45
|
+
default: ""
|
|
46
46
|
},
|
|
47
47
|
clearable: {
|
|
48
48
|
type: Boolean,
|
|
@@ -113,7 +113,8 @@ const _sfc_main = create({
|
|
|
113
113
|
handleClear,
|
|
114
114
|
handleSubmit,
|
|
115
115
|
searchbarStyle,
|
|
116
|
-
inputSearchbarStyle
|
|
116
|
+
inputSearchbarStyle,
|
|
117
|
+
translate
|
|
117
118
|
});
|
|
118
119
|
}
|
|
119
120
|
});
|
|
@@ -160,7 +161,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
160
161
|
class: "nut-searchbar__input-bar",
|
|
161
162
|
type: _ctx.inputType,
|
|
162
163
|
maxlength: _ctx.maxLength,
|
|
163
|
-
placeholder: _ctx.placeholder,
|
|
164
|
+
placeholder: _ctx.placeholder || _ctx.translate("placeholder"),
|
|
164
165
|
value: _ctx.modelValue,
|
|
165
166
|
onInput: _cache[0] || (_cache[0] = (...args) => _ctx.valueChange && _ctx.valueChange(...args)),
|
|
166
167
|
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.valueFocus && _ctx.valueFocus(...args)),
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.19-beta.2 Thu Apr 07 2022 17:52:31 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.19-beta.2 Thu Apr 07 2022 17:52:31 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
package/dist/packages/_es/Sku.js
CHANGED
|
@@ -18,14 +18,13 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.19-beta.2 Thu Apr 07 2022 17:52:31 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, createBlock, createCommentVNode, toDisplayString, ref, watch, onMounted, Fragment, renderList, normalizeClass, createVNode, withCtx, createSlots } from "vue";
|
|
26
|
-
import { c as createComponent } from "./component.js";
|
|
26
|
+
import { c as createComponent, T as TypeOfFun } from "./component.js";
|
|
27
27
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
|
-
import { T as TypeOfFun } from "./util.js";
|
|
29
28
|
import { popupProps } from "./Popup.js";
|
|
30
29
|
import "./OverLay.js";
|
|
31
30
|
import "./Icon.js";
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.19-beta.2 Thu Apr 07 2022 17:52:31 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.19-beta.2 Thu Apr 07 2022 17:52:31 GMT+0800 (中国标准时间)
|
|
3
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 "./index2.js";
|
|
9
9
|
const { componentName, create } = createComponent("sticky");
|
|
10
10
|
const _sfc_main = create({
|
|
11
11
|
props: {
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.19-beta.2 Thu Apr 07 2022 17:52:31 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
21
|
+
* @nutui/nutui v3.1.19-beta.2 Thu Apr 07 2022 17:52:31 GMT+0800 (中国标准时间)
|
|
22
22
|
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.19-beta.2 Thu Apr 07 2022 17:52:31 GMT+0800 (中国标准时间)
|
|
3
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 "./index3.js";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
10
10
|
const DISTANCE = 5;
|
|
11
11
|
function useTouch() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
2
|
+
* @nutui/nutui v3.1.19-beta.2 Thu Apr 07 2022 17:52:31 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { inject, getCurrentInstance, reactive, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
|
-
import { u as useExpose } from "./
|
|
8
|
+
import { u as useExpose } from "./index3.js";
|
|
9
9
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
10
10
|
const { create, componentName } = createComponent("swiper-item");
|
|
11
11
|
const _sfc_main = create({
|