@nutui/nutui 3.2.6-beta.1 → 3.2.6-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 +18 -4
- package/dist/nutui.es.js +4461 -4135
- package/dist/nutui.umd.js +4559 -4133
- package/dist/packages/_es/ActionSheet.js +19 -18
- package/dist/packages/_es/Address.js +85 -94
- package/dist/packages/_es/AddressList.js +12 -25
- package/dist/packages/_es/Animate.js +3 -3
- package/dist/packages/_es/Audio.js +2 -9
- package/dist/packages/_es/AudioOperate.js +1 -5
- package/dist/packages/_es/Avatar.js +10 -10
- package/dist/packages/_es/AvatarGroup.js +5 -5
- package/dist/packages/_es/BackTop.js +108 -55
- package/dist/packages/_es/Badge.js +12 -10
- package/dist/packages/_es/Barrage.js +103 -79
- package/dist/packages/_es/Button.js +3 -5
- package/dist/packages/_es/Calendar.js +23 -36
- package/dist/packages/_es/CalendarItem.js +3 -4
- package/dist/packages/_es/Card.js +5 -15
- package/dist/packages/_es/Cascader.js +11 -12
- package/dist/packages/_es/Category.js +12 -13
- package/dist/packages/_es/CategoryPane.js +13 -17
- package/dist/packages/_es/Cell.js +12 -9
- package/dist/packages/_es/CellGroup.js +2 -4
- package/dist/packages/_es/Checkbox.js +1 -1
- package/dist/packages/_es/CheckboxGroup.js +2 -2
- package/dist/packages/_es/CircleProgress.js +82 -98
- package/dist/packages/_es/Col.js +1 -1
- package/dist/packages/_es/Collapse.js +34 -65
- package/dist/packages/_es/CollapseItem.js +60 -93
- package/dist/packages/_es/Comment.js +19 -43
- package/dist/packages/_es/ConfigProvider.js +1 -1
- package/dist/packages/_es/CountDown.js +3 -3
- package/dist/packages/_es/CountUp.js +52 -47
- package/dist/packages/_es/DatePicker.js +54 -37
- package/dist/packages/_es/Dialog.js +88 -9
- package/dist/packages/_es/Divider.js +3 -3
- package/dist/packages/_es/Drag.js +49 -75
- package/dist/packages/_es/Ecard.js +18 -20
- package/dist/packages/_es/Elevator.js +76 -101
- package/dist/packages/_es/Ellipsis.js +100 -140
- package/dist/packages/_es/Empty.js +4 -6
- package/dist/packages/_es/FixedNav.js +6 -11
- package/dist/packages/_es/Form.js +4 -4
- package/dist/packages/_es/FormItem.js +1 -3
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +27 -10
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/Image.js +114 -13
- package/dist/packages/_es/ImagePreview.js +411 -149
- package/dist/packages/_es/Indicator.js +3 -3
- package/dist/packages/_es/InfiniteLoading.js +115 -103
- package/dist/packages/_es/Input.js +32 -56
- package/dist/packages/_es/InputNumber.js +16 -25
- package/dist/packages/_es/Invoice.js +5 -6
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/List.js +34 -47
- package/dist/packages/_es/Menu.js +35 -35
- package/dist/packages/_es/MenuItem.js +29 -56
- package/dist/packages/_es/Navbar.js +39 -49
- package/dist/packages/_es/NoticeBar.js +45 -54
- package/dist/packages/_es/Notify.js +162 -44
- package/dist/packages/_es/NumberKeyboard.js +20 -15
- package/dist/packages/_es/OldPicker.js +116 -130
- package/dist/packages/_es/OverLay.js +28 -5
- package/dist/packages/_es/Pagination.js +5 -8
- package/dist/packages/_es/Picker.js +74 -198
- package/dist/packages/_es/Popover.js +881 -201
- package/dist/packages/_es/Popup.js +84 -28
- package/dist/packages/_es/Price.js +6 -22
- package/dist/packages/_es/Progress.js +11 -18
- package/dist/packages/_es/PullRefresh.js +2 -4
- package/dist/packages/_es/Radio.js +3 -3
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +34 -48
- package/dist/packages/_es/Rate.js +14 -15
- package/dist/packages/_es/Row.js +1 -1
- package/dist/packages/_es/SearchBar.js +36 -39
- package/dist/packages/_es/ShortPassword.js +66 -97
- package/dist/packages/_es/SideNavBar.js +18 -7
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +80 -113
- package/dist/packages/_es/Skeleton.js +11 -12
- package/dist/packages/_es/Sku.js +38 -63
- package/dist/packages/_es/Step.js +2 -7
- package/dist/packages/_es/Steps.js +1 -1
- package/dist/packages/_es/Sticky.js +23 -33
- package/dist/packages/_es/SubSideNavBar.js +2 -4
- package/dist/packages/_es/Swipe.js +26 -41
- package/dist/packages/_es/Swiper.js +21 -38
- package/dist/packages/_es/SwiperItem.js +2 -2
- package/dist/packages/_es/Switch.js +8 -8
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +13 -15
- package/dist/packages/_es/TabbarItem.js +30 -24
- package/dist/packages/_es/Table.js +17 -22
- package/dist/packages/_es/Tabs.js +16 -49
- package/dist/packages/_es/Tag.js +5 -6
- package/dist/packages/_es/TextArea.js +49 -114
- package/dist/packages/_es/TimeDetail.js +3 -4
- package/dist/packages/_es/TimePannel.js +3 -3
- package/dist/packages/_es/TimeSelect.js +10 -12
- package/dist/packages/_es/Toast.js +164 -53
- package/dist/packages/_es/TrendArrow.js +4 -6
- package/dist/packages/_es/Uploader.js +140 -141
- package/dist/packages/_es/Video.js +18 -39
- package/dist/packages/_es/WaterMark.js +14 -22
- package/dist/packages/_es/common.js +1 -1
- package/dist/packages/_es/component.js +1 -1
- package/dist/packages/_es/index.js +6 -44
- package/dist/packages/_es/index2.js +31 -8
- package/dist/packages/_es/index3.js +7 -64
- package/dist/packages/_es/index4.js +62 -424
- package/dist/packages/_es/{index.taro.js → index5.js} +154 -167
- 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/_es/style.css +3 -21
- package/dist/packages/checkbox/index.scss +1 -0
- package/dist/packages/locale/lang/baseLang.js +1 -1
- package/dist/packages/locale/lang/en-US.js +1 -1
- package/dist/packages/locale/lang/id-ID.js +1 -1
- package/dist/packages/locale/lang/index.js +1 -1
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/locale/lang/zh-TW.js +1 -1
- package/dist/packages/menuitem/index.scss +12 -3
- package/dist/smartips/attributes.json +5 -1
- package/dist/smartips/tags.json +1 -0
- package/dist/smartips/web-types.json +11 -2
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +48 -48
- package/dist/styles/themes/jdb.scss +48 -48
- package/dist/styles/themes/jddkh.scss +48 -48
- package/dist/styles/themes/jdt.scss +48 -48
- package/dist/types/__VUE/actionsheet/{index.taro.vue.d.ts → index.vue.d.ts} +9 -9
- package/dist/types/__VUE/address/{index.taro.vue.d.ts → index.vue.d.ts} +33 -73
- package/dist/types/__VUE/addresslist/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/animate/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/avatar/{index.taro.vue.d.ts → index.vue.d.ts} +6 -6
- package/dist/types/__VUE/avatargroup/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/backtop/{index.taro.vue.d.ts → index.vue.d.ts} +37 -15
- package/dist/types/__VUE/badge/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/barrage/{index.taro.vue.d.ts → index.vue.d.ts} +2 -2
- package/dist/types/__VUE/button/index.vue.d.ts +1 -1
- package/dist/types/__VUE/calendar/{index.taro.vue.d.ts → index.vue.d.ts} +1 -13
- package/dist/types/__VUE/calendaritem/{index.taro.vue.d.ts → index.vue.d.ts} +17 -17
- package/dist/types/__VUE/card/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/cascader/{index.taro.vue.d.ts → index.vue.d.ts} +1 -1
- package/dist/types/__VUE/category/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/categorypane/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/cell/{index.taro.vue.d.ts → index.vue.d.ts} +5 -12
- package/dist/types/__VUE/checkbox/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/circleprogress/{index.taro.vue.d.ts → index.vue.d.ts} +15 -14
- package/dist/types/__VUE/collapse/{index.taro.vue.d.ts → index.vue.d.ts} +1 -1
- package/dist/types/__VUE/collapseitem/{index.taro.vue.d.ts → index.vue.d.ts} +10 -2
- package/dist/types/__VUE/comment/{index.taro.vue.d.ts → index.vue.d.ts} +2 -1
- package/dist/types/__VUE/configprovider/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/countdown/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/countup/{index.taro.vue.d.ts → index.vue.d.ts} +7 -5
- package/dist/types/__VUE/datepicker/{index.taro.vue.d.ts → index.vue.d.ts} +5 -5
- package/dist/types/__VUE/dialog/index.d.ts +48 -0
- package/dist/types/__VUE/dialog/{index.taro.vue.d.ts → index.vue.d.ts} +12 -9
- package/dist/types/__VUE/divider/{index.taro.vue.d.ts → index.vue.d.ts} +1 -1
- package/dist/types/__VUE/drag/{index.taro.vue.d.ts → index.vue.d.ts} +1 -2
- package/dist/types/__VUE/ecard/{index.taro.vue.d.ts → index.vue.d.ts} +3 -3
- package/dist/types/__VUE/elevator/{index.taro.vue.d.ts → index.vue.d.ts} +2 -11
- package/dist/types/__VUE/ellipsis/{index.taro.vue.d.ts → index.vue.d.ts} +0 -4
- package/dist/types/__VUE/empty/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/fixednav/{index.taro.vue.d.ts → index.vue.d.ts} +1 -1
- package/dist/types/__VUE/form/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/grid/{index.taro.vue.d.ts → index.vue.d.ts} +2 -2
- package/dist/types/__VUE/griditem/{index.taro.vue.d.ts → index.vue.d.ts} +27 -2
- package/dist/types/__VUE/image/index.vue.d.ts +117 -0
- package/dist/types/__VUE/image/type.d.ts +6 -0
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +109 -0
- package/dist/types/__VUE/imagepreview/index.d.ts +25 -0
- package/dist/types/__VUE/imagepreview/{index.taro.vue.d.ts → index.vue.d.ts} +44 -33
- package/dist/types/__VUE/indicator/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/infiniteloading/{index.taro.vue.d.ts → index.vue.d.ts} +12 -19
- package/dist/types/__VUE/input/{index.taro.vue.d.ts → index.vue.d.ts} +16 -34
- package/dist/types/__VUE/inputnumber/{index.taro.vue.d.ts → index.vue.d.ts} +2 -2
- package/dist/types/__VUE/invoice/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/layout/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/list/{index.taro.vue.d.ts → index.vue.d.ts} +2 -2
- package/dist/types/__VUE/menu/{index.taro.vue.d.ts → index.vue.d.ts} +0 -1
- package/dist/types/__VUE/menuitem/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/navbar/{index.taro.vue.d.ts → index.vue.d.ts} +3 -2
- package/dist/types/__VUE/noticebar/{index.taro.vue.d.ts → index.vue.d.ts} +4 -4
- package/dist/types/__VUE/notify/index.d.ts +26 -0
- package/dist/types/__VUE/notify/{index.taro.vue.d.ts → index.vue.d.ts} +18 -5
- package/dist/types/__VUE/numberkeyboard/{index.taro.vue.d.ts → index.vue.d.ts} +29 -5
- package/dist/types/__VUE/oldpicker/{ColumnTaro.vue.d.ts → Column.vue.d.ts} +17 -28
- package/dist/types/__VUE/oldpicker/{index.taro.vue.d.ts → index.vue.d.ts} +44 -64
- package/dist/types/__VUE/pagination/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/picker/{ColumnTaro.vue.d.ts → Column.vue.d.ts} +4 -16
- package/dist/types/__VUE/picker/{index.taro.vue.d.ts → index.vue.d.ts} +28 -53
- package/dist/types/__VUE/popover/{index.taro.vue.d.ts → index.vue.d.ts} +13 -15
- package/dist/types/__VUE/popup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/price/{index.taro.vue.d.ts → index.vue.d.ts} +0 -1
- package/dist/types/__VUE/progress/{index.taro.vue.d.ts → index.vue.d.ts} +1 -1
- package/dist/types/__VUE/radio/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/range/{index.taro.vue.d.ts → index.vue.d.ts} +7 -8
- package/dist/types/__VUE/rate/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/searchbar/{index.taro.vue.d.ts → index.vue.d.ts} +19 -19
- package/dist/types/__VUE/shortpassword/{index.taro.vue.d.ts → index.vue.d.ts} +21 -6
- package/dist/types/__VUE/sidenavbar/{index.taro.vue.d.ts → index.vue.d.ts} +5 -0
- package/dist/types/__VUE/signature/{index.taro.vue.d.ts → index.vue.d.ts} +5 -8
- package/dist/types/__VUE/skeleton/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/sku/index.vue.d.ts +310 -0
- package/dist/types/__VUE/step/index.vue.d.ts +1 -1
- package/dist/types/__VUE/steps/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/sticky/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/swipe/{index.taro.vue.d.ts → index.vue.d.ts} +1 -2
- package/dist/types/__VUE/swiper/{index.taro.vue.d.ts → index.vue.d.ts} +1 -2
- package/dist/types/__VUE/swiperitem/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/switch/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/tabbar/{index.taro.vue.d.ts → index.vue.d.ts} +2 -1
- package/dist/types/__VUE/tabbaritem/{index.taro.vue.d.ts → index.vue.d.ts} +9 -9
- package/dist/types/__VUE/table/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/tabs/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/tag/{index.taro.vue.d.ts → index.vue.d.ts} +4 -4
- package/dist/types/__VUE/tag/type.d.ts +5 -0
- package/dist/types/__VUE/textarea/{index.taro.vue.d.ts → index.vue.d.ts} +3 -5
- package/dist/types/__VUE/timedetail/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/timepannel/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/timeselect/{index.taro.vue.d.ts → index.vue.d.ts} +8 -7
- package/dist/types/__VUE/toast/index.d.ts +16 -0
- package/dist/types/__VUE/toast/{index.taro.vue.d.ts → index.vue.d.ts} +22 -44
- package/dist/types/__VUE/trendarrow/{index.taro.vue.d.ts → index.vue.d.ts} +0 -0
- package/dist/types/__VUE/uploader/{index.taro.vue.d.ts → index.vue.d.ts} +13 -22
- package/dist/types/__VUE/watermark/{index.taro.vue.d.ts → index.vue.d.ts} +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/nutui.d.ts +89 -89
- package/package.json +3 -2
- package/dist/packages/_es/use-lock-scroll.js +0 -23
- package/dist/types/__VUE/button/index.taro.vue.d.ts +0 -116
- package/dist/types/__VUE/icon/index.taro.vue.d.ts +0 -74
- package/dist/types/__VUE/image/index.taro.vue.d.ts +0 -33
- package/dist/types/__VUE/overlay/index.taro.vue.d.ts +0 -85
- package/dist/types/__VUE/popup/index.taro.vue.d.ts +0 -1728
- package/dist/types/__VUE/sku/index.taro.vue.d.ts +0 -182
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.6-beta.
|
|
2
|
+
* @nutui/nutui v3.2.6-beta.2 Fri Nov 04 2022 17:24:29 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { ref, reactive, computed, watch, onMounted, toRefs, openBlock, createElementBlock, createElementVNode, normalizeStyle, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode,
|
|
6
|
+
import { ref, reactive, computed, watch, onMounted, toRefs, openBlock, createElementBlock, createElementVNode, normalizeStyle, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, onBeforeUnmount, resolveComponent, createVNode, withCtx, renderSlot } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
|
-
import { popupProps } from "./Popup.js";
|
|
9
|
-
import { u as useTouch } from "./
|
|
8
|
+
import Popup, { popupProps } from "./Popup.js";
|
|
9
|
+
import { u as useTouch } from "./index4.js";
|
|
10
10
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
11
|
-
import { u as useTaroRect } from "./index.js";
|
|
12
|
-
import Taro from "@tarojs/taro";
|
|
13
11
|
import "../locale/lang";
|
|
14
|
-
import "./use-lock-scroll.js";
|
|
15
12
|
import "./OverLay.js";
|
|
16
13
|
import "./Icon.js";
|
|
17
14
|
import "./pxCheck.js";
|
|
@@ -20,10 +17,6 @@ const _sfc_main$1 = create$1({
|
|
|
20
17
|
props: {
|
|
21
18
|
value: [String, Number],
|
|
22
19
|
columnsType: String,
|
|
23
|
-
lineSpacing: {
|
|
24
|
-
type: Number,
|
|
25
|
-
default: 36
|
|
26
|
-
},
|
|
27
20
|
itemShow: {
|
|
28
21
|
type: Boolean,
|
|
29
22
|
default: false
|
|
@@ -49,7 +42,6 @@ const _sfc_main$1 = create$1({
|
|
|
49
42
|
setup(props, { emit }) {
|
|
50
43
|
const touch = useTouch();
|
|
51
44
|
const wrapper = ref();
|
|
52
|
-
const itemref = ref();
|
|
53
45
|
const state = reactive({
|
|
54
46
|
touchParams: {
|
|
55
47
|
startY: 0,
|
|
@@ -62,29 +54,28 @@ const _sfc_main$1 = create$1({
|
|
|
62
54
|
currIndex: 1,
|
|
63
55
|
transformY: 0,
|
|
64
56
|
scrollDistance: 0,
|
|
57
|
+
lineSpacing: 36,
|
|
65
58
|
rotation: 20,
|
|
66
59
|
timer: null
|
|
67
60
|
});
|
|
68
61
|
const roller = ref(null);
|
|
69
62
|
const list = ref(null);
|
|
70
|
-
const listitem = ref(null);
|
|
71
63
|
const moving = ref(false);
|
|
72
64
|
const touchDeg = ref(0);
|
|
73
65
|
const touchTime = ref(0);
|
|
74
|
-
const touchTranslateY = ref(0);
|
|
75
66
|
const DEFAULT_DURATION = 200;
|
|
76
67
|
const INERTIA_TIME = 300;
|
|
77
68
|
const INERTIA_DISTANCE = 15;
|
|
78
|
-
const
|
|
69
|
+
const touchRollerStyle = computed(() => {
|
|
79
70
|
return {
|
|
80
71
|
transition: `transform ${touchTime.value}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,
|
|
81
|
-
transform: `
|
|
72
|
+
transform: `rotate3d(1, 0, 0, ${touchDeg.value})`
|
|
82
73
|
};
|
|
83
74
|
});
|
|
84
|
-
const
|
|
75
|
+
const touchTileStyle = computed(() => {
|
|
85
76
|
return {
|
|
86
77
|
transition: `transform ${touchTime.value}ms cubic-bezier(0.17, 0.89, 0.45, 1)`,
|
|
87
|
-
transform: `
|
|
78
|
+
transform: `translate3d(0, ${state.scrollDistance}px, 0)`
|
|
88
79
|
};
|
|
89
80
|
});
|
|
90
81
|
const setRollerStyle = (index) => {
|
|
@@ -106,7 +97,7 @@ const _sfc_main$1 = create$1({
|
|
|
106
97
|
};
|
|
107
98
|
const onTouchMove = (event) => {
|
|
108
99
|
touch.move(event);
|
|
109
|
-
if (touch.isVertical) {
|
|
100
|
+
if (touch.isVertical()) {
|
|
110
101
|
moving.value = true;
|
|
111
102
|
preventDefault(event, true);
|
|
112
103
|
}
|
|
@@ -150,7 +141,6 @@ const _sfc_main$1 = create$1({
|
|
|
150
141
|
touchTime.value = 0;
|
|
151
142
|
}
|
|
152
143
|
touchDeg.value = deg;
|
|
153
|
-
touchTranslateY.value = translateY;
|
|
154
144
|
state.scrollDistance = translateY;
|
|
155
145
|
};
|
|
156
146
|
const setMove = (move, type, time) => {
|
|
@@ -159,22 +149,22 @@ const _sfc_main$1 = create$1({
|
|
|
159
149
|
if (updateMove > 0) {
|
|
160
150
|
updateMove = 0;
|
|
161
151
|
}
|
|
162
|
-
if (updateMove < -(props.column.length - 1) *
|
|
163
|
-
updateMove = -(props.column.length - 1) *
|
|
152
|
+
if (updateMove < -(props.column.length - 1) * state.lineSpacing) {
|
|
153
|
+
updateMove = -(props.column.length - 1) * state.lineSpacing;
|
|
164
154
|
}
|
|
165
|
-
let endMove = Math.round(updateMove /
|
|
166
|
-
let deg = `${(Math.abs(Math.round(endMove /
|
|
155
|
+
let endMove = Math.round(updateMove / state.lineSpacing) * state.lineSpacing;
|
|
156
|
+
let deg = `${(Math.abs(Math.round(endMove / state.lineSpacing)) + 1) * state.rotation}deg`;
|
|
167
157
|
setTransform(endMove, type, time, deg);
|
|
168
|
-
state.currIndex = Math.abs(Math.round(endMove /
|
|
158
|
+
state.currIndex = Math.abs(Math.round(endMove / state.lineSpacing)) + 1;
|
|
169
159
|
} else {
|
|
170
160
|
let deg = 0;
|
|
171
|
-
let currentDeg = (-updateMove /
|
|
161
|
+
let currentDeg = (-updateMove / state.lineSpacing + 1) * state.rotation;
|
|
172
162
|
const maxDeg = (props.column.length + 1) * state.rotation;
|
|
173
163
|
const minDeg = 0;
|
|
174
164
|
deg = Math.min(Math.max(currentDeg, minDeg), maxDeg);
|
|
175
165
|
if (minDeg < deg && deg < maxDeg) {
|
|
176
166
|
setTransform(updateMove, null, void 0, deg + "deg");
|
|
177
|
-
state.currIndex = Math.abs(Math.round(updateMove /
|
|
167
|
+
state.currIndex = Math.abs(Math.round(updateMove / state.lineSpacing)) + 1;
|
|
178
168
|
}
|
|
179
169
|
}
|
|
180
170
|
};
|
|
@@ -185,7 +175,7 @@ const _sfc_main$1 = create$1({
|
|
|
185
175
|
const { column: column2 } = props;
|
|
186
176
|
let index = column2.findIndex((columnItem) => columnItem.value == props.value);
|
|
187
177
|
state.currIndex = index === -1 ? 1 : index + 1;
|
|
188
|
-
let move = index === -1 ? 0 : index *
|
|
178
|
+
let move = index === -1 ? 0 : index * state.lineSpacing;
|
|
189
179
|
type && setChooseValue();
|
|
190
180
|
setMove(-move);
|
|
191
181
|
};
|
|
@@ -224,47 +214,36 @@ const _sfc_main$1 = create$1({
|
|
|
224
214
|
deep: true
|
|
225
215
|
}
|
|
226
216
|
);
|
|
227
|
-
watch(
|
|
228
|
-
() => props.lineSpacing,
|
|
229
|
-
(val) => {
|
|
230
|
-
console.log("\u66F4\u65B0");
|
|
231
|
-
modifyStatus(false);
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
deep: true
|
|
235
|
-
}
|
|
236
|
-
);
|
|
237
217
|
onMounted(() => {
|
|
238
|
-
modifyStatus(
|
|
218
|
+
modifyStatus(true);
|
|
239
219
|
});
|
|
240
|
-
const refRandomId = Math.random().toString(36).slice(-8);
|
|
241
220
|
return {
|
|
242
221
|
...toRefs(state),
|
|
243
222
|
...toRefs(props),
|
|
244
223
|
wrapper,
|
|
245
|
-
itemref,
|
|
246
224
|
setRollerStyle,
|
|
247
225
|
isHidden,
|
|
248
226
|
roller,
|
|
249
227
|
list,
|
|
250
|
-
listitem,
|
|
251
228
|
onTouchStart,
|
|
252
229
|
onTouchMove,
|
|
253
230
|
onTouchEnd,
|
|
254
|
-
touchTileStyle,
|
|
255
231
|
touchRollerStyle,
|
|
232
|
+
touchTileStyle,
|
|
256
233
|
setMove,
|
|
257
|
-
refRandomId,
|
|
258
234
|
stopMomentum
|
|
259
235
|
};
|
|
260
236
|
}
|
|
261
237
|
});
|
|
262
|
-
const _hoisted_1$1 =
|
|
263
|
-
const _hoisted_2$1 = {
|
|
238
|
+
const _hoisted_1$1 = {
|
|
264
239
|
key: 1,
|
|
265
240
|
class: "nut-picker-roller-item-tile"
|
|
266
241
|
};
|
|
267
|
-
const
|
|
242
|
+
const _hoisted_2$1 = /* @__PURE__ */ createElementVNode("view", { class: "nut-picker-roller-mask" }, null, -1);
|
|
243
|
+
const _hoisted_3$1 = {
|
|
244
|
+
key: 0,
|
|
245
|
+
class: "nut-picker-content"
|
|
246
|
+
};
|
|
268
247
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
269
248
|
return openBlock(), createElementBlock("view", {
|
|
270
249
|
class: "nut-picker__list",
|
|
@@ -275,7 +254,6 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
275
254
|
createElementVNode("view", {
|
|
276
255
|
class: "nut-picker-roller",
|
|
277
256
|
ref: "roller",
|
|
278
|
-
id: "roller" + _ctx.refRandomId,
|
|
279
257
|
style: normalizeStyle(_ctx.threeDimensional ? _ctx.touchRollerStyle : _ctx.touchTileStyle),
|
|
280
258
|
onTransitionend: _cache[0] || (_cache[0] = (...args) => _ctx.stopMomentum && _ctx.stopMomentum(...args))
|
|
281
259
|
}, [
|
|
@@ -288,20 +266,26 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
288
266
|
class: normalizeClass(["nut-picker-roller-item", { "nut-picker-roller-item-hidden": _ctx.isHidden(index + 1) }]),
|
|
289
267
|
style: normalizeStyle(_ctx.setRollerStyle(index + 1))
|
|
290
268
|
}, toDisplayString(item.text), 7)) : createCommentVNode("", true),
|
|
291
|
-
|
|
292
|
-
item && item.text && !_ctx.threeDimensional ? (openBlock(), createElementBlock("view", _hoisted_2$1, toDisplayString(item.text), 1)) : createCommentVNode("", true)
|
|
269
|
+
item && item.text && !_ctx.threeDimensional ? (openBlock(), createElementBlock("view", _hoisted_1$1, toDisplayString(item.text), 1)) : createCommentVNode("", true)
|
|
293
270
|
], 64);
|
|
294
271
|
}), 128))
|
|
295
|
-
],
|
|
296
|
-
|
|
297
|
-
_hoisted_3$1
|
|
272
|
+
], 36),
|
|
273
|
+
_hoisted_2$1,
|
|
274
|
+
_ctx.threeDimensional ? (openBlock(), createElementBlock("view", _hoisted_3$1, [
|
|
275
|
+
createElementVNode("view", {
|
|
276
|
+
class: "nut-picker-list-panel",
|
|
277
|
+
ref: "list",
|
|
278
|
+
style: normalizeStyle(_ctx.touchTileStyle)
|
|
279
|
+
}, null, 4)
|
|
280
|
+
])) : createCommentVNode("", true)
|
|
298
281
|
], 32);
|
|
299
282
|
}
|
|
300
283
|
var column = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
301
284
|
const { componentName, create, translate } = createComponent("picker");
|
|
302
285
|
const _sfc_main = create({
|
|
303
286
|
components: {
|
|
304
|
-
[column.name]: column
|
|
287
|
+
[column.name]: column,
|
|
288
|
+
[Popup.name]: Popup
|
|
305
289
|
},
|
|
306
290
|
props: {
|
|
307
291
|
...popupProps,
|
|
@@ -344,15 +328,11 @@ const _sfc_main = create({
|
|
|
344
328
|
setup(props, { emit }) {
|
|
345
329
|
const state = reactive({
|
|
346
330
|
show: false,
|
|
347
|
-
formattedColumns: props.columns
|
|
348
|
-
lineSpacing: 36,
|
|
349
|
-
picking: false,
|
|
350
|
-
ENV: Taro.getEnv(),
|
|
351
|
-
ENV_TYPE: Taro.ENV_TYPE
|
|
331
|
+
formattedColumns: props.columns
|
|
352
332
|
});
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
333
|
+
let defaultValues = ref(
|
|
334
|
+
Array.isArray(props.modelValue) && props.modelValue.length > 0 ? props.modelValue : []
|
|
335
|
+
);
|
|
356
336
|
const pickerColumn = ref([]);
|
|
357
337
|
const swipeRef = (el) => {
|
|
358
338
|
if (el && pickerColumn.value.length < columnsList.value.length) {
|
|
@@ -367,13 +347,11 @@ const _sfc_main = create({
|
|
|
367
347
|
});
|
|
368
348
|
const selectedOptions = computed(() => {
|
|
369
349
|
let optins = [];
|
|
370
|
-
columnsList.value.map(
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
}
|
|
376
|
-
);
|
|
350
|
+
columnsList.value.map((column2, index) => {
|
|
351
|
+
let currOptions = [];
|
|
352
|
+
currOptions = column2.filter((item) => item.value == defaultValues.value[index]);
|
|
353
|
+
optins.push(currOptions[0]);
|
|
354
|
+
});
|
|
377
355
|
return optins;
|
|
378
356
|
});
|
|
379
357
|
const columnsType = computed(() => {
|
|
@@ -393,7 +371,10 @@ const _sfc_main = create({
|
|
|
393
371
|
case "multiple":
|
|
394
372
|
return state.formattedColumns;
|
|
395
373
|
case "cascade":
|
|
396
|
-
return formatCascade(
|
|
374
|
+
return formatCascade(
|
|
375
|
+
state.formattedColumns,
|
|
376
|
+
defaultValues.value ? defaultValues.value : []
|
|
377
|
+
);
|
|
397
378
|
default:
|
|
398
379
|
return [state.formattedColumns];
|
|
399
380
|
}
|
|
@@ -427,6 +408,7 @@ const _sfc_main = create({
|
|
|
427
408
|
};
|
|
428
409
|
const changeHandler = (columnIndex, option) => {
|
|
429
410
|
if (option && Object.keys(option).length) {
|
|
411
|
+
defaultValues.value = defaultValues.value ? defaultValues.value : [];
|
|
430
412
|
if (columnsType.value === "cascade") {
|
|
431
413
|
defaultValues.value[columnIndex] = option.value ? option.value : "";
|
|
432
414
|
let index = columnIndex;
|
|
@@ -449,83 +431,25 @@ const _sfc_main = create({
|
|
|
449
431
|
});
|
|
450
432
|
}
|
|
451
433
|
};
|
|
452
|
-
const defaultValuesConvert = computed(() => {
|
|
453
|
-
let defaultIndexs = [];
|
|
454
|
-
if (defaultValues.value.length > 0) {
|
|
455
|
-
defaultValues.value.forEach((value, index) => {
|
|
456
|
-
for (let i = 0; i < columnsList.value[index].length; i++) {
|
|
457
|
-
if (columnsList.value[index][i].value == value) {
|
|
458
|
-
defaultIndexs.push(i);
|
|
459
|
-
break;
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
});
|
|
463
|
-
}
|
|
464
|
-
return defaultIndexs;
|
|
465
|
-
});
|
|
466
|
-
const tileChange = ({ detail }) => {
|
|
467
|
-
console.log("\u9009\u62E9");
|
|
468
|
-
const prevDefaultValue = defaultIndexes.value;
|
|
469
|
-
let changeIndex = 0;
|
|
470
|
-
detail.value.forEach((col, index) => {
|
|
471
|
-
if (prevDefaultValue[index] != col)
|
|
472
|
-
changeIndex = index;
|
|
473
|
-
});
|
|
474
|
-
if (state.show) {
|
|
475
|
-
defaultIndexes.value = detail.value;
|
|
476
|
-
changeHandler(changeIndex, columnsList.value[changeIndex][detail.value[changeIndex]]);
|
|
477
|
-
}
|
|
478
|
-
};
|
|
479
434
|
const confirmHandler = () => {
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
confirmHandlerAwit();
|
|
484
|
-
}, 0);
|
|
485
|
-
} else {
|
|
486
|
-
confirmHandlerAwit();
|
|
487
|
-
}
|
|
488
|
-
};
|
|
489
|
-
const confirmHandlerAwit = () => {
|
|
435
|
+
pickerColumn.value.length > 0 && pickerColumn.value.forEach((column2) => {
|
|
436
|
+
column2.stopMomentum();
|
|
437
|
+
});
|
|
490
438
|
if (defaultValues.value && !defaultValues.value.length) {
|
|
491
439
|
columnsList.value.forEach((columns) => {
|
|
492
440
|
defaultValues.value.push(columns[0].value);
|
|
493
441
|
selectedOptions.value.push(columns[0]);
|
|
494
442
|
});
|
|
495
443
|
}
|
|
496
|
-
console.log("\u786E\u5B9A", defaultValues.value);
|
|
497
444
|
emit("confirm", {
|
|
498
445
|
selectedValue: defaultValues.value,
|
|
499
446
|
selectedOptions: selectedOptions.value
|
|
500
447
|
});
|
|
501
448
|
emit("update:visible", false);
|
|
502
|
-
state.show = false;
|
|
503
|
-
};
|
|
504
|
-
const handlePickstart = () => {
|
|
505
|
-
console.log("\u5F00\u59CB\u6EDA\u52A8");
|
|
506
|
-
state.picking = true;
|
|
507
|
-
};
|
|
508
|
-
const handlePickend = () => {
|
|
509
|
-
console.log("\u6EDA\u52A8\u7ED3\u675F");
|
|
510
|
-
state.picking = false;
|
|
511
|
-
};
|
|
512
|
-
const refRandomId = Math.random().toString(36).slice(-8);
|
|
513
|
-
const getReference = async () => {
|
|
514
|
-
const refe = await useTaroRect(pickerline, Taro);
|
|
515
|
-
console.log(refe.height);
|
|
516
|
-
state.lineSpacing = refe.height ? refe.height : 36;
|
|
517
449
|
};
|
|
518
450
|
onMounted(() => {
|
|
519
|
-
if (props.visible)
|
|
520
|
-
if (Taro.getEnv() == Taro.ENV_TYPE.WEB) {
|
|
521
|
-
setTimeout(() => {
|
|
522
|
-
getReference();
|
|
523
|
-
}, 200);
|
|
524
|
-
} else {
|
|
525
|
-
defaultIndexes.value = defaultValuesConvert.value;
|
|
526
|
-
}
|
|
451
|
+
if (props.visible)
|
|
527
452
|
state.show = props.visible;
|
|
528
|
-
}
|
|
529
453
|
});
|
|
530
454
|
onBeforeUnmount(() => {
|
|
531
455
|
if (props.visible)
|
|
@@ -537,7 +461,6 @@ const _sfc_main = create({
|
|
|
537
461
|
const isSameValue = JSON.stringify(newValues) === JSON.stringify(defaultValues.value);
|
|
538
462
|
if (!isSameValue) {
|
|
539
463
|
defaultValues.value = newValues;
|
|
540
|
-
defaultIndexes.value = defaultValuesConvert.value;
|
|
541
464
|
}
|
|
542
465
|
},
|
|
543
466
|
{ deep: true }
|
|
@@ -550,21 +473,14 @@ const _sfc_main = create({
|
|
|
550
473
|
emit("update:modelValue", newValues);
|
|
551
474
|
}
|
|
552
475
|
},
|
|
553
|
-
{
|
|
476
|
+
{ deep: true }
|
|
554
477
|
);
|
|
555
478
|
watch(
|
|
556
479
|
() => props.visible,
|
|
557
480
|
(val) => {
|
|
558
481
|
state.show = val;
|
|
559
482
|
if (val) {
|
|
560
|
-
|
|
561
|
-
setTimeout(() => {
|
|
562
|
-
getReference();
|
|
563
|
-
}, 200);
|
|
564
|
-
pickerColumn.value = [];
|
|
565
|
-
} else {
|
|
566
|
-
defaultIndexes.value = defaultValuesConvert.value;
|
|
567
|
-
}
|
|
483
|
+
pickerColumn.value = [];
|
|
568
484
|
}
|
|
569
485
|
}
|
|
570
486
|
);
|
|
@@ -585,27 +501,19 @@ const _sfc_main = create({
|
|
|
585
501
|
changeHandler,
|
|
586
502
|
confirmHandler,
|
|
587
503
|
defaultValues,
|
|
588
|
-
defaultIndexes,
|
|
589
504
|
translate,
|
|
590
505
|
pickerColumn,
|
|
591
|
-
swipeRef
|
|
592
|
-
refRandomId,
|
|
593
|
-
pickerline,
|
|
594
|
-
tileChange,
|
|
595
|
-
defaultValuesConvert,
|
|
596
|
-
handlePickstart,
|
|
597
|
-
handlePickend
|
|
506
|
+
swipeRef
|
|
598
507
|
};
|
|
599
508
|
}
|
|
600
509
|
});
|
|
601
510
|
const _hoisted_1 = { class: "nut-picker__bar" };
|
|
602
511
|
const _hoisted_2 = { class: "nut-picker__title" };
|
|
603
|
-
const _hoisted_3 =
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
class: "nut-picker__column"
|
|
512
|
+
const _hoisted_3 = {
|
|
513
|
+
class: "nut-picker__column",
|
|
514
|
+
ref: "wrapHeight"
|
|
607
515
|
};
|
|
608
|
-
const
|
|
516
|
+
const _hoisted_4 = /* @__PURE__ */ createElementVNode("view", { class: "nut-picker__hairline" }, null, -1);
|
|
609
517
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
610
518
|
const _component_nut_picker_column = resolveComponent("nut-picker-column");
|
|
611
519
|
const _component_nut_popup = resolveComponent("nut-popup");
|
|
@@ -615,12 +523,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
615
523
|
createVNode(_component_nut_popup, {
|
|
616
524
|
position: "bottom",
|
|
617
525
|
visible: _ctx.show,
|
|
618
|
-
"onUpdate:visible": _cache[
|
|
526
|
+
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => _ctx.show = $event),
|
|
619
527
|
teleport: _ctx.teleport,
|
|
620
528
|
"lock-scroll": _ctx.lockScroll,
|
|
621
529
|
"close-on-click-overlay": _ctx.closeOnClickOverlay,
|
|
622
530
|
onClose: _ctx.close,
|
|
623
531
|
round: true,
|
|
532
|
+
isWrapTeleport: _ctx.isWrapTeleport,
|
|
624
533
|
safeAreaInsetBottom: _ctx.safeAreaInsetBottom,
|
|
625
534
|
destroyOnClose: _ctx.destroyOnClose
|
|
626
535
|
}, {
|
|
@@ -630,46 +539,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
630
539
|
class: "nut-picker__cancel nut-picker__left nut-picker__button",
|
|
631
540
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.close && _ctx.close(...args))
|
|
632
541
|
}, toDisplayString(_ctx.cancelText || _ctx.translate("cancel")), 1),
|
|
633
|
-
createTextVNode(),
|
|
634
542
|
createElementVNode("view", _hoisted_2, toDisplayString(_ctx.title), 1),
|
|
635
|
-
createTextVNode(),
|
|
636
543
|
createElementVNode("view", {
|
|
637
544
|
class: "nut-picker__confirm nut-picker__right nut-picker__button",
|
|
638
545
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.confirmHandler())
|
|
639
546
|
}, toDisplayString(_ctx.okText || _ctx.translate("confirm")), 1)
|
|
640
547
|
]),
|
|
641
|
-
createTextVNode(),
|
|
642
548
|
renderSlot(_ctx.$slots, "top"),
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
key: 0,
|
|
646
|
-
"indicator-style": "height: 34px;",
|
|
647
|
-
value: _ctx.defaultIndexes,
|
|
648
|
-
style: { "width": "100%", "height": "252px" },
|
|
649
|
-
"immediate-change": true,
|
|
650
|
-
onChange: _cache[2] || (_cache[2] = (...args) => _ctx.tileChange && _ctx.tileChange(...args)),
|
|
651
|
-
onPickstart: _cache[3] || (_cache[3] = (...args) => _ctx.handlePickstart && _ctx.handlePickstart(...args)),
|
|
652
|
-
onPickend: _cache[4] || (_cache[4] = (...args) => _ctx.handlePickend && _ctx.handlePickend(...args))
|
|
653
|
-
}, [
|
|
654
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columnsList, (column2, columnIndex) => {
|
|
655
|
-
return openBlock(), createElementBlock("picker-view-column", { key: columnIndex }, [
|
|
656
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(column2, (item, index) => {
|
|
657
|
-
return openBlock(), createElementBlock("view", {
|
|
658
|
-
class: "nut-picker-roller-item-tarotile",
|
|
659
|
-
key: item.value ? item.value : index
|
|
660
|
-
}, toDisplayString(item.text), 1);
|
|
661
|
-
}), 128))
|
|
662
|
-
]);
|
|
663
|
-
}), 128))
|
|
664
|
-
], 40, _hoisted_3)) : createCommentVNode("", true),
|
|
665
|
-
createTextVNode(),
|
|
666
|
-
_ctx.ENV == _ctx.ENV_TYPE.WEB ? (openBlock(), createElementBlock("view", _hoisted_4, [
|
|
667
|
-
createElementVNode("view", {
|
|
668
|
-
class: "nut-picker__hairline",
|
|
669
|
-
ref: "pickerline",
|
|
670
|
-
id: "pickerline" + _ctx.refRandomId
|
|
671
|
-
}, null, 8, _hoisted_5),
|
|
672
|
-
createTextVNode(),
|
|
549
|
+
createElementVNode("view", _hoisted_3, [
|
|
550
|
+
_hoisted_4,
|
|
673
551
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columnsList, (column2, columnIndex) => {
|
|
674
552
|
return openBlock(), createElementBlock("view", {
|
|
675
553
|
class: "nut-picker__columnitem",
|
|
@@ -682,23 +560,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
682
560
|
column: column2,
|
|
683
561
|
readonly: _ctx.readonly,
|
|
684
562
|
columnsType: _ctx.columnsType,
|
|
685
|
-
value: _ctx.defaultValues[columnIndex],
|
|
686
|
-
threeDimensional:
|
|
563
|
+
value: _ctx.defaultValues && _ctx.defaultValues[columnIndex],
|
|
564
|
+
threeDimensional: _ctx.threeDimensional,
|
|
687
565
|
swipeDuration: _ctx.swipeDuration,
|
|
688
|
-
lineSpacing: _ctx.lineSpacing,
|
|
689
566
|
onChange: (option) => {
|
|
690
567
|
_ctx.changeHandler(columnIndex, option);
|
|
691
568
|
}
|
|
692
|
-
}, null, 8, ["itemShow", "column", "readonly", "columnsType", "value", "
|
|
569
|
+
}, null, 8, ["itemShow", "column", "readonly", "columnsType", "value", "threeDimensional", "swipeDuration", "onChange"])
|
|
693
570
|
]);
|
|
694
571
|
}), 128))
|
|
695
|
-
]
|
|
696
|
-
createTextVNode(),
|
|
572
|
+
], 512),
|
|
697
573
|
renderSlot(_ctx.$slots, "default")
|
|
698
574
|
]),
|
|
699
575
|
_: 3
|
|
700
|
-
}, 8, ["visible", "teleport", "lock-scroll", "close-on-click-overlay", "onClose", "safeAreaInsetBottom", "destroyOnClose"])
|
|
576
|
+
}, 8, ["visible", "teleport", "lock-scroll", "close-on-click-overlay", "onClose", "isWrapTeleport", "safeAreaInsetBottom", "destroyOnClose"])
|
|
701
577
|
], 2);
|
|
702
578
|
}
|
|
703
|
-
var
|
|
704
|
-
export {
|
|
579
|
+
var Picker = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
580
|
+
export { Picker as default };
|