@nutui/nutui 3.2.0 → 3.2.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/CHANGELOG.md +62 -0
- package/README.md +5 -3
- package/dist/nutui.es.js +1563 -1402
- package/dist/nutui.umd.js +1567 -1405
- package/dist/packages/_es/ActionSheet.js +22 -4
- package/dist/packages/_es/Address.js +39 -20
- package/dist/packages/_es/AddressList.js +2 -4
- package/dist/packages/_es/Animate.js +21 -2
- package/dist/packages/_es/Audio.js +22 -5
- package/dist/packages/_es/AudioOperate.js +22 -5
- package/dist/packages/_es/Avatar.js +23 -9
- package/dist/packages/_es/AvatarGroup.js +1 -1
- package/dist/packages/_es/BackTop.js +2 -2
- package/dist/packages/_es/Badge.js +1 -1
- package/dist/packages/_es/Barrage.js +1 -1
- package/dist/packages/_es/Button.js +6 -5
- package/dist/packages/_es/Calendar.js +10 -4
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +46 -19
- package/dist/packages/_es/Category.js +2 -2
- package/dist/packages/_es/CategoryPane.js +10 -10
- package/dist/packages/_es/Cell.js +8 -9
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +1 -1
- package/dist/packages/_es/CheckboxGroup.js +1 -1
- package/dist/packages/_es/CircleProgress.js +1 -1
- package/dist/packages/_es/Col.js +5 -11
- package/dist/packages/_es/Collapse.js +1 -1
- package/dist/packages/_es/CollapseItem.js +36 -17
- package/dist/packages/_es/Comment.js +1 -1
- package/dist/packages/_es/ConfigProvider.js +1 -1
- package/dist/packages/_es/CountDown.js +23 -5
- package/dist/packages/_es/CountUp.js +22 -5
- package/dist/packages/_es/DatePicker.js +31 -9
- package/dist/packages/_es/Dialog.js +23 -5
- package/dist/packages/_es/Divider.js +24 -7
- package/dist/packages/_es/Drag.js +4 -4
- package/dist/packages/_es/Ecard.js +1 -1
- package/dist/packages/_es/Elevator.js +24 -5
- package/dist/packages/_es/Ellipsis.js +21 -2
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +18 -14
- package/dist/packages/_es/Form.js +2 -2
- package/dist/packages/_es/FormItem.js +5 -4
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +6 -5
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/Image.js +21 -2
- package/dist/packages/_es/ImagePreview.js +28 -13
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +27 -14
- package/dist/packages/_es/Input.js +70 -68
- package/dist/packages/_es/InputNumber.js +20 -14
- package/dist/packages/_es/Invoice.js +156 -0
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/List.js +22 -4
- package/dist/packages/_es/Menu.js +6 -5
- package/dist/packages/_es/MenuItem.js +25 -8
- package/dist/packages/_es/Navbar.js +11 -9
- package/dist/packages/_es/NoticeBar.js +26 -9
- package/dist/packages/_es/Notify.js +34 -13
- package/dist/packages/_es/NumberKeyboard.js +10 -12
- package/dist/packages/_es/OldPicker.js +28 -12
- package/dist/packages/_es/OverLay.js +20 -5
- package/dist/packages/_es/Pagination.js +1 -1
- package/dist/packages/_es/Picker.js +63 -17
- package/dist/packages/_es/Popover.js +25 -10
- package/dist/packages/_es/Popup.js +31 -17
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +4 -5
- package/dist/packages/_es/PullRefresh.js +20 -5
- package/dist/packages/_es/Radio.js +3 -3
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +24 -5
- package/dist/packages/_es/Rate.js +24 -5
- package/dist/packages/_es/Row.js +5 -11
- package/dist/packages/_es/SearchBar.js +44 -11
- package/dist/packages/_es/ShortPassword.js +1 -1
- package/dist/packages/_es/SideNavBar.js +22 -4
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +21 -2
- package/dist/packages/_es/Skeleton.js +1 -1
- package/dist/packages/_es/Sku.js +22 -4
- package/dist/packages/_es/Step.js +27 -8
- package/dist/packages/_es/Steps.js +1 -1
- package/dist/packages/_es/Sticky.js +1 -1
- package/dist/packages/_es/SubSideNavBar.js +22 -4
- package/dist/packages/_es/Swipe.js +24 -5
- package/dist/packages/_es/Swiper.js +1 -1
- package/dist/packages/_es/SwiperItem.js +1 -1
- package/dist/packages/_es/Switch.js +6 -5
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +1 -1
- package/dist/packages/_es/TabbarItem.js +13 -14
- package/dist/packages/_es/Table.js +22 -4
- package/dist/packages/_es/Tabs.js +32 -10
- package/dist/packages/_es/Tag.js +11 -15
- package/dist/packages/_es/TextArea.js +1 -1
- package/dist/packages/_es/TimeDetail.js +24 -5
- package/dist/packages/_es/TimePannel.js +22 -4
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +46 -25
- package/dist/packages/_es/Uploader.js +49 -30
- package/dist/packages/_es/Video.js +24 -6
- package/dist/packages/_es/WaterMark.js +21 -5
- package/dist/packages/_es/common.js +2 -2
- package/dist/packages/_es/component.js +5 -5
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +1 -1
- package/dist/packages/_es/index3.js +1 -1
- package/dist/packages/_es/index4.js +1 -1
- package/dist/packages/_es/index5.js +28 -11
- 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 +1 -111
- package/dist/packages/address/index.scss +17 -0
- package/dist/packages/addresslist/index.scss +57 -17
- package/dist/packages/button/index.scss +1 -0
- package/dist/packages/category/index.scss +25 -4
- package/dist/packages/categorypane/index.scss +18 -65
- package/dist/packages/fixednav/index.scss +7 -0
- package/dist/packages/invoice/index.scss +33 -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/menu/index.scss +14 -2
- package/dist/packages/menuitem/index.scss +11 -1
- package/dist/packages/navbar/index.scss +6 -8
- package/dist/packages/picker/index.scss +8 -0
- package/dist/packages/price/index.scss +1 -1
- package/dist/packages/radio/index.scss +1 -0
- package/dist/packages/searchbar/index.scss +2 -0
- package/dist/packages/step/index.scss +52 -0
- package/dist/packages/swiper/index.scss +2 -0
- package/dist/packages/swiperitem/index.scss +3 -0
- package/dist/packages/tag/index.scss +20 -0
- package/dist/packages/textarea/index.scss +4 -1
- package/dist/packages/toast/index.scss +3 -0
- package/dist/packages/watermark/index.scss +1 -1
- package/dist/smartips/attributes.json +70 -14
- package/dist/smartips/tags.json +34 -15
- package/dist/smartips/web-types.json +150 -16
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/themes/default.scss +55 -54
- package/dist/styles/themes/jdb.scss +55 -54
- package/dist/styles/themes/jdt.scss +55 -54
- package/dist/styles/variables-jdb.scss +26 -8
- package/dist/styles/variables-jdt.scss +26 -8
- package/dist/styles/variables.scss +25 -8
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +3 -3
- package/dist/types/__VUE/address/index.vue.d.ts +4 -4
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +14 -71
- package/dist/types/__VUE/avatar/index.vue.d.ts +4 -4
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/backtop/index.vue.d.ts +5 -8
- package/dist/types/__VUE/badge/index.vue.d.ts +2 -2
- package/dist/types/__VUE/button/index.vue.d.ts +2 -2
- package/dist/types/__VUE/calendar/index.vue.d.ts +8 -1
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/cascader/index.vue.d.ts +2 -2
- package/dist/types/__VUE/cell/index.vue.d.ts +15 -8
- package/dist/types/__VUE/col/index.vue.d.ts +2 -5
- package/dist/types/__VUE/collapse/index.vue.d.ts +2 -2
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/datepicker/index.vue.d.ts +9 -2
- package/dist/types/__VUE/dialog/index.vue.d.ts +2 -2
- package/dist/types/__VUE/divider/index.vue.d.ts +2 -2
- package/dist/types/__VUE/fixednav/common.d.ts +56 -0
- package/dist/types/__VUE/fixednav/index.vue.d.ts +18 -10
- package/dist/types/__VUE/formitem/index.vue.d.ts +1 -0
- package/dist/types/__VUE/grid/index.vue.d.ts +5 -5
- package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/imagepreview/index.d.ts +7 -6
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +3 -3
- package/dist/types/__VUE/imagepreview/types.d.ts +7 -0
- package/dist/types/__VUE/input/index.vue.d.ts +8 -14
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +14 -0
- package/dist/types/__VUE/invoice/index.vue.d.ts +48 -0
- package/dist/types/__VUE/menu/index.vue.d.ts +5 -2
- package/dist/types/__VUE/menuitem/index.vue.d.ts +0 -3
- package/dist/types/__VUE/noticebar/index.vue.d.ts +3 -3
- package/dist/types/__VUE/notify/index.d.ts +15 -5
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +2 -2
- package/dist/types/__VUE/oldpicker/index.vue.d.ts +3 -3
- package/dist/types/__VUE/picker/Column.vue.d.ts +8 -0
- package/dist/types/__VUE/picker/index.vue.d.ts +20 -3
- package/dist/types/__VUE/popover/index.vue.d.ts +6 -6
- package/dist/types/__VUE/popup/index.vue.d.ts +4 -4
- package/dist/types/__VUE/radio/index.vue.d.ts +3 -3
- package/dist/types/__VUE/range/index.vue.d.ts +1 -1
- package/dist/types/__VUE/rate/index.vue.d.ts +2 -2
- package/dist/types/__VUE/row/index.vue.d.ts +2 -5
- package/dist/types/__VUE/searchbar/index.vue.d.ts +18 -3
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/index.vue.d.ts +3 -3
- package/dist/types/__VUE/step/index.vue.d.ts +2 -2
- package/dist/types/__VUE/swipe/index.vue.d.ts +2 -2
- package/dist/types/__VUE/switch/index.vue.d.ts +2 -2
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/toast/index.vue.d.ts +5 -2
- package/dist/types/__VUE/uploader/index.vue.d.ts +2 -2
- package/dist/types/__VUE/video/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/nutui.d.ts +2 -1
- package/package.json +2 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -51,7 +51,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
51
51
|
createElementVNode("div", {
|
|
52
52
|
class: normalizeClass([_ctx.checkIndex == index2 ? "nut-category__cateListItemChecked" : "nut-category__cateListItem"]),
|
|
53
53
|
onClick: ($event) => _ctx.getChildList(index2)
|
|
54
|
-
}, toDisplayString(item.catName), 11, _hoisted_4)
|
|
54
|
+
}, toDisplayString(item == null ? void 0 : item.catName), 11, _hoisted_4)
|
|
55
55
|
]);
|
|
56
56
|
}), 128))
|
|
57
57
|
])) : createCommentVNode("", true),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -7,7 +7,6 @@ import { c as createComponent } from "./component.js";
|
|
|
7
7
|
import { openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
9
|
import "../locale/lang";
|
|
10
|
-
var index_vue_vue_type_style_index_0_lang = "";
|
|
11
10
|
const { componentName, create } = createComponent("categorypane");
|
|
12
11
|
const _sfc_main = create({
|
|
13
12
|
props: {
|
|
@@ -61,13 +60,14 @@ const _hoisted_13 = {
|
|
|
61
60
|
key: 2,
|
|
62
61
|
class: "nut-categorypane__selfItemList"
|
|
63
62
|
};
|
|
63
|
+
const _hoisted_14 = ["onClick"];
|
|
64
64
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
65
65
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
66
66
|
_ctx.type == "classify" ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
67
67
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index2) => {
|
|
68
68
|
return openBlock(), createElementBlock("div", { key: index2 }, [
|
|
69
|
-
createElementVNode("div", _hoisted_3, toDisplayString(item.catName), 1),
|
|
70
|
-
item.catType == 1 ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
69
|
+
createElementVNode("div", _hoisted_3, toDisplayString(item == null ? void 0 : item.catName), 1),
|
|
70
|
+
(item == null ? void 0 : item.catType) == 1 ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
71
71
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
|
|
72
72
|
return openBlock(), createElementBlock("div", {
|
|
73
73
|
class: "nut-categorypane__childItem",
|
|
@@ -78,7 +78,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
78
78
|
class: "nut-categorypane__childImg",
|
|
79
79
|
src: sku.backImg
|
|
80
80
|
}, null, 8, _hoisted_6),
|
|
81
|
-
createElementVNode("div", _hoisted_7, toDisplayString(sku.catName), 1)
|
|
81
|
+
createElementVNode("div", _hoisted_7, toDisplayString(sku == null ? void 0 : sku.catName), 1)
|
|
82
82
|
], 8, _hoisted_5);
|
|
83
83
|
}), 128))
|
|
84
84
|
])) : createCommentVNode("", true)
|
|
@@ -88,15 +88,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
88
88
|
_ctx.type == "text" ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
89
89
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.categoryChild, (item, index2) => {
|
|
90
90
|
return openBlock(), createElementBlock("div", { key: index2 }, [
|
|
91
|
-
createElementVNode("div", _hoisted_9, toDisplayString(item.catName), 1),
|
|
92
|
-
item.catType == 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
91
|
+
createElementVNode("div", _hoisted_9, toDisplayString(item == null ? void 0 : item.catName), 1),
|
|
92
|
+
(item == null ? void 0 : item.catType) == 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
93
93
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.childCateList, (sku, key) => {
|
|
94
94
|
return openBlock(), createElementBlock("div", {
|
|
95
95
|
class: "nut-categorypane__childItem",
|
|
96
96
|
key,
|
|
97
97
|
onClick: ($event) => _ctx.onChange(sku)
|
|
98
98
|
}, [
|
|
99
|
-
createElementVNode("div", _hoisted_12, toDisplayString(sku.catName), 1)
|
|
99
|
+
createElementVNode("div", _hoisted_12, toDisplayString(sku == null ? void 0 : sku.catName), 1)
|
|
100
100
|
], 8, _hoisted_11);
|
|
101
101
|
}), 128))
|
|
102
102
|
])) : createCommentVNode("", true)
|
|
@@ -108,8 +108,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
108
108
|
return openBlock(), createElementBlock("div", {
|
|
109
109
|
class: "nut-categorypane__skuName",
|
|
110
110
|
key,
|
|
111
|
-
onClick:
|
|
112
|
-
}, toDisplayString(sku.catName),
|
|
111
|
+
onClick: ($event) => _ctx.onChange(sku)
|
|
112
|
+
}, toDisplayString(sku == null ? void 0 : sku.catName), 9, _hoisted_14);
|
|
113
113
|
}), 128))
|
|
114
114
|
])) : createCommentVNode("", true)
|
|
115
115
|
]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createBlock, createCommentVNode, Fragment, createElementVNode, toDisplayString, createTextVNode, computed } from "vue";
|
|
6
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createBlock, mergeProps, createCommentVNode, Fragment, createElementVNode, toDisplayString, createTextVNode, computed } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { u as useRouter } from "./index.js";
|
|
9
9
|
import { p as pxCheck } from "./pxCheck.js";
|
|
@@ -29,11 +29,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29
29
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
30
30
|
_ctx.icon || _ctx.$slots.icon ? (openBlock(), createElementBlock("view", _hoisted_1, [
|
|
31
31
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
32
|
-
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
33
|
-
key: 0,
|
|
32
|
+
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
34
33
|
class: "icon",
|
|
35
34
|
name: _ctx.icon
|
|
36
|
-
}, null,
|
|
35
|
+
}), null, 16, ["name"])) : createCommentVNode("", true)
|
|
37
36
|
])
|
|
38
37
|
])) : createCommentVNode("", true),
|
|
39
38
|
_ctx.title || _ctx.subTitle || _ctx.$slots.title ? (openBlock(), createElementBlock("view", _hoisted_2, [
|
|
@@ -52,11 +51,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
52
51
|
style: normalizeStyle({ "text-align": _ctx.descTextAlign })
|
|
53
52
|
}, toDisplayString(_ctx.desc), 7)) : createCommentVNode("", true),
|
|
54
53
|
renderSlot(_ctx.$slots, "link", {}, () => [
|
|
55
|
-
_ctx.isLink || _ctx.to ? (openBlock(), createBlock(_component_nut_icon, {
|
|
54
|
+
_ctx.isLink || _ctx.to ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
56
55
|
key: 0,
|
|
57
|
-
class: "nut-cell__link"
|
|
58
|
-
|
|
59
|
-
})) : createCommentVNode("", true)
|
|
56
|
+
class: "nut-cell__link"
|
|
57
|
+
}, _ctx.$attrs, { name: _ctx.rightIcon }), null, 16, ["name"])) : createCommentVNode("", true)
|
|
60
58
|
])
|
|
61
59
|
])
|
|
62
60
|
], 6);
|
|
@@ -74,6 +72,7 @@ const _sfc_main = create({
|
|
|
74
72
|
roundRadius: { type: [String, Number], default: "" },
|
|
75
73
|
url: { type: String, default: "" },
|
|
76
74
|
icon: { type: String, default: "" },
|
|
75
|
+
rightIcon: { type: String, default: "right" },
|
|
77
76
|
center: { type: Boolean, default: false },
|
|
78
77
|
size: { type: String, default: "" }
|
|
79
78
|
},
|
package/dist/packages/_es/Col.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -19,8 +19,8 @@ const _sfc_main = create({
|
|
|
19
19
|
default: "0"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
emits: [
|
|
23
|
-
setup(props
|
|
22
|
+
emits: [],
|
|
23
|
+
setup(props) {
|
|
24
24
|
const prefixCls = componentName;
|
|
25
25
|
const gutter = inject("gutter");
|
|
26
26
|
const classes = computed(() => {
|
|
@@ -37,22 +37,16 @@ const _sfc_main = create({
|
|
|
37
37
|
paddingRight: gutter / 2 + "px"
|
|
38
38
|
};
|
|
39
39
|
});
|
|
40
|
-
const handleClick = (evt) => {
|
|
41
|
-
evt.stopPropagation();
|
|
42
|
-
emit("click", evt);
|
|
43
|
-
};
|
|
44
40
|
return {
|
|
45
41
|
classes,
|
|
46
|
-
style
|
|
47
|
-
handleClick
|
|
42
|
+
style
|
|
48
43
|
};
|
|
49
44
|
}
|
|
50
45
|
});
|
|
51
46
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
52
47
|
return openBlock(), createElementBlock("view", {
|
|
53
48
|
class: normalizeClass(_ctx.classes),
|
|
54
|
-
style: normalizeStyle(_ctx.style)
|
|
55
|
-
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
49
|
+
style: normalizeStyle(_ctx.style)
|
|
56
50
|
}, [
|
|
57
51
|
renderSlot(_ctx.$slots, "default")
|
|
58
52
|
], 6);
|
|
@@ -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.2.
|
|
21
|
+
* @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
|
|
3
22
|
* (c) 2022 @jdf2e.
|
|
4
23
|
* Released under the MIT License.
|
|
5
24
|
*/
|
|
6
|
-
import { inject, reactive, computed, getCurrentInstance, ref, watch, onMounted, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, renderSlot
|
|
25
|
+
import { inject, reactive, computed, getCurrentInstance, ref, watch, onMounted, toRefs, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, mergeProps, createCommentVNode, renderSlot } 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 "../locale/lang";
|
|
@@ -166,19 +185,17 @@ const _sfc_main = create({
|
|
|
166
185
|
}
|
|
167
186
|
return _class;
|
|
168
187
|
});
|
|
169
|
-
return {
|
|
188
|
+
return __spreadProps(__spreadValues(__spreadValues(__spreadValues({
|
|
170
189
|
classes,
|
|
171
|
-
emptyContent
|
|
172
|
-
|
|
173
|
-
...toRefs(parent.props),
|
|
174
|
-
...toRefs(titleIconStyle),
|
|
190
|
+
emptyContent
|
|
191
|
+
}, toRefs(proxyData)), toRefs(parent.props)), toRefs(titleIconStyle)), {
|
|
175
192
|
wrapperRef,
|
|
176
193
|
contentRef,
|
|
177
194
|
open,
|
|
178
195
|
toggleOpen,
|
|
179
196
|
changeOpen,
|
|
180
197
|
animation
|
|
181
|
-
};
|
|
198
|
+
});
|
|
182
199
|
}
|
|
183
200
|
});
|
|
184
201
|
const _hoisted_1 = { class: "collapse-title" };
|
|
@@ -210,13 +227,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
210
227
|
createElementVNode("view", _hoisted_1, [
|
|
211
228
|
createElementVNode("view", null, [
|
|
212
229
|
createElementVNode("view", _hoisted_2, [
|
|
213
|
-
_ctx.titleIcon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
230
|
+
_ctx.titleIcon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
214
231
|
key: 0,
|
|
215
|
-
name: _ctx.titleIcon
|
|
232
|
+
name: _ctx.titleIcon
|
|
233
|
+
}, _ctx.$attrs, {
|
|
216
234
|
size: _ctx.titleIconSize,
|
|
217
235
|
color: _ctx.titleIconColor,
|
|
218
|
-
class:
|
|
219
|
-
}, null,
|
|
236
|
+
class: [_ctx.titleIconPosition == "left" ? "titleIconLeft" : "titleIconRight"]
|
|
237
|
+
}), null, 16, ["name", "size", "color", "class"])) : createCommentVNode("", true),
|
|
220
238
|
_ctx.$slots.mTitle ? renderSlot(_ctx.$slots, "mTitle", { key: 1 }) : (openBlock(), createElementBlock("view", {
|
|
221
239
|
key: 2,
|
|
222
240
|
innerHTML: _ctx.title,
|
|
@@ -232,14 +250,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
232
250
|
innerHTML: _ctx.subTitle,
|
|
233
251
|
class: "subTitle"
|
|
234
252
|
}, null, 8, _hoisted_5)),
|
|
235
|
-
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, {
|
|
253
|
+
_ctx.icon ? (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
236
254
|
key: 2,
|
|
237
|
-
name: _ctx.icon
|
|
255
|
+
name: _ctx.icon
|
|
256
|
+
}, _ctx.$attrs, {
|
|
238
257
|
size: _ctx.iconSize,
|
|
239
258
|
color: _ctx.iconColor,
|
|
240
|
-
class:
|
|
241
|
-
style:
|
|
242
|
-
}, null,
|
|
259
|
+
class: ["collapse-icon", { "col-expanded": _ctx.openExpanded }, { "collapse-icon-disabled": _ctx.disabled }],
|
|
260
|
+
style: _ctx.iconStyle
|
|
261
|
+
}), null, 16, ["name", "size", "color", "class", "style"])) : createCommentVNode("", true)
|
|
243
262
|
], 2),
|
|
244
263
|
_ctx.$slots.extraRender ? (openBlock(), createElementBlock("view", _hoisted_6, [
|
|
245
264
|
createElementVNode("div", _hoisted_7, [
|
|
@@ -1,5 +1,24 @@
|
|
|
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.2.
|
|
21
|
+
* @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
|
|
3
22
|
* (c) 2022 @jdf2e.
|
|
4
23
|
* Released under the MIT License.
|
|
5
24
|
*/
|
|
@@ -129,7 +148,7 @@ const _sfc_main = create({
|
|
|
129
148
|
rest.s = Math.floor(ts % MINUTE / SECOND);
|
|
130
149
|
rest.ms = Math.floor(ts % SECOND);
|
|
131
150
|
}
|
|
132
|
-
return type == "custom" ? rest : parseFormat({
|
|
151
|
+
return type == "custom" ? rest : parseFormat(__spreadValues({}, rest));
|
|
133
152
|
};
|
|
134
153
|
const parseFormat = (time) => {
|
|
135
154
|
let { d, h, m, s, ms } = time;
|
|
@@ -217,8 +236,7 @@ const _sfc_main = create({
|
|
|
217
236
|
watch(() => props.startTime, (value) => {
|
|
218
237
|
initTime();
|
|
219
238
|
});
|
|
220
|
-
return {
|
|
221
|
-
...toRefs(props),
|
|
239
|
+
return __spreadProps(__spreadValues({}, toRefs(props)), {
|
|
222
240
|
slots,
|
|
223
241
|
classes,
|
|
224
242
|
getTimeStamp,
|
|
@@ -227,7 +245,7 @@ const _sfc_main = create({
|
|
|
227
245
|
renderTime,
|
|
228
246
|
translate,
|
|
229
247
|
reset
|
|
230
|
-
};
|
|
248
|
+
});
|
|
231
249
|
}
|
|
232
250
|
});
|
|
233
251
|
const _hoisted_1 = ["innerHTML"];
|
|
@@ -1,5 +1,24 @@
|
|
|
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.2.
|
|
21
|
+
* @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
|
|
3
22
|
* (c) 2022 @jdf2e.
|
|
4
23
|
* Released under the MIT License.
|
|
5
24
|
*/
|
|
@@ -429,14 +448,12 @@ const _sfc_main = create({
|
|
|
429
448
|
clearIntervalTime();
|
|
430
449
|
data.timer = null;
|
|
431
450
|
});
|
|
432
|
-
return {
|
|
433
|
-
...toRefs(data),
|
|
434
|
-
...toRefs(reactive(props)),
|
|
451
|
+
return __spreadProps(__spreadValues(__spreadValues({}, toRefs(data)), toRefs(reactive(props))), {
|
|
435
452
|
runNumberImg,
|
|
436
453
|
setRef,
|
|
437
454
|
topNumber,
|
|
438
455
|
turnNumber
|
|
439
|
-
};
|
|
456
|
+
});
|
|
440
457
|
}
|
|
441
458
|
});
|
|
442
459
|
const _hoisted_1 = { class: "nut-countup" };
|
|
@@ -1,5 +1,24 @@
|
|
|
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.2.
|
|
21
|
+
* @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
|
|
3
22
|
* (c) 2022 @jdf2e.
|
|
4
23
|
* Released under the MIT License.
|
|
5
24
|
*/
|
|
@@ -37,8 +56,7 @@ const _sfc_main = create({
|
|
|
37
56
|
components: {
|
|
38
57
|
[Picker.name]: Picker
|
|
39
58
|
},
|
|
40
|
-
props: {
|
|
41
|
-
...popupProps,
|
|
59
|
+
props: __spreadProps(__spreadValues({}, popupProps), {
|
|
42
60
|
modelValue: null,
|
|
43
61
|
title: {
|
|
44
62
|
type: String,
|
|
@@ -82,8 +100,12 @@ const _sfc_main = create({
|
|
|
82
100
|
type: Boolean,
|
|
83
101
|
default: true
|
|
84
102
|
},
|
|
103
|
+
swipeDuration: {
|
|
104
|
+
type: [Number, String],
|
|
105
|
+
default: 1e3
|
|
106
|
+
},
|
|
85
107
|
filter: Function
|
|
86
|
-
},
|
|
108
|
+
}),
|
|
87
109
|
emits: ["click", "update:visible", "change", "confirm", "update:moduleValue"],
|
|
88
110
|
setup(props, { emit }) {
|
|
89
111
|
const state = reactive({
|
|
@@ -299,13 +321,12 @@ const _sfc_main = create({
|
|
|
299
321
|
watch(() => props.visible, (val) => {
|
|
300
322
|
state.show = val;
|
|
301
323
|
});
|
|
302
|
-
return {
|
|
303
|
-
...toRefs(state),
|
|
324
|
+
return __spreadProps(__spreadValues({}, toRefs(state)), {
|
|
304
325
|
changeHandler,
|
|
305
326
|
closeHandler,
|
|
306
327
|
confirm,
|
|
307
328
|
columns
|
|
308
|
-
};
|
|
329
|
+
});
|
|
309
330
|
}
|
|
310
331
|
});
|
|
311
332
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -323,7 +344,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
323
344
|
title: _ctx.title,
|
|
324
345
|
onConfirm: _ctx.confirm,
|
|
325
346
|
isWrapTeleport: _ctx.isWrapTeleport,
|
|
326
|
-
threeDimensional: _ctx.threeDimensional
|
|
347
|
+
threeDimensional: _ctx.threeDimensional,
|
|
348
|
+
swipeDuration: _ctx.swipeDuration
|
|
327
349
|
}, {
|
|
328
350
|
top: withCtx(() => [
|
|
329
351
|
renderSlot(_ctx.$slots, "top")
|
|
@@ -332,7 +354,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
332
354
|
renderSlot(_ctx.$slots, "default")
|
|
333
355
|
]),
|
|
334
356
|
_: 3
|
|
335
|
-
}, 8, ["modelValue", "visible", "okText", "cancelText", "onClose", "columns", "onChange", "title", "onConfirm", "isWrapTeleport", "threeDimensional"]);
|
|
357
|
+
}, 8, ["modelValue", "visible", "okText", "cancelText", "onClose", "columns", "onChange", "title", "onConfirm", "isWrapTeleport", "threeDimensional", "swipeDuration"]);
|
|
336
358
|
}
|
|
337
359
|
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
338
360
|
export { index as default };
|
|
@@ -1,5 +1,24 @@
|
|
|
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.2.
|
|
21
|
+
* @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
|
|
3
22
|
* (c) 2022 @jdf2e.
|
|
4
23
|
* Released under the MIT License.
|
|
5
24
|
*/
|
|
@@ -19,8 +38,7 @@ const _sfc_main = create({
|
|
|
19
38
|
[Popup.name]: Popup,
|
|
20
39
|
[Button.name]: Button
|
|
21
40
|
},
|
|
22
|
-
props: {
|
|
23
|
-
...popupProps,
|
|
41
|
+
props: __spreadProps(__spreadValues({}, popupProps), {
|
|
24
42
|
closeOnClickOverlay: {
|
|
25
43
|
type: Boolean,
|
|
26
44
|
default: false
|
|
@@ -79,7 +97,7 @@ const _sfc_main = create({
|
|
|
79
97
|
beforeClose: {
|
|
80
98
|
type: Function
|
|
81
99
|
}
|
|
82
|
-
},
|
|
100
|
+
}),
|
|
83
101
|
emits: ["update", "update:visible", "ok", "cancel", "opened", "closed"],
|
|
84
102
|
setup(props, { emit }) {
|
|
85
103
|
const showPopup = ref(props.visible);
|
|
@@ -168,7 +186,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
168
186
|
createElementVNode("view", {
|
|
169
187
|
class: normalizeClass(_ctx.classes)
|
|
170
188
|
}, [
|
|
171
|
-
_ctx.title ? (openBlock(), createElementBlock("view", _hoisted_1, [
|
|
189
|
+
_ctx.$slots.header || _ctx.title ? (openBlock(), createElementBlock("view", _hoisted_1, [
|
|
172
190
|
_ctx.$slots.header ? renderSlot(_ctx.$slots, "header", { key: 0 }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
173
191
|
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
174
192
|
], 64))
|
|
@@ -1,5 +1,24 @@
|
|
|
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.2.
|
|
21
|
+
* @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
|
|
3
22
|
* (c) 2022 @jdf2e.
|
|
4
23
|
* Released under the MIT License.
|
|
5
24
|
*/
|
|
@@ -36,19 +55,17 @@ const _sfc_main = create({
|
|
|
36
55
|
};
|
|
37
56
|
let classesObj = {};
|
|
38
57
|
if (props.direction === "horizontal") {
|
|
39
|
-
classesObj = {
|
|
40
|
-
...defaultClassesObj,
|
|
58
|
+
classesObj = __spreadProps(__spreadValues({}, defaultClassesObj), {
|
|
41
59
|
[`${prefixCls}-center`]: context.slots.default,
|
|
42
60
|
[`${prefixCls}-left`]: props.contentPosition === "left",
|
|
43
61
|
[`${prefixCls}-right`]: props.contentPosition === "right",
|
|
44
62
|
[`${prefixCls}-dashed`]: props.dashed,
|
|
45
63
|
[`${prefixCls}-hairline`]: props.hairline
|
|
46
|
-
};
|
|
64
|
+
});
|
|
47
65
|
} else {
|
|
48
|
-
classesObj = {
|
|
49
|
-
...defaultClassesObj,
|
|
66
|
+
classesObj = __spreadProps(__spreadValues({}, defaultClassesObj), {
|
|
50
67
|
[`${prefixCls}-vertical`]: props.direction === "vertical"
|
|
51
|
-
};
|
|
68
|
+
});
|
|
52
69
|
}
|
|
53
70
|
return classesObj;
|
|
54
71
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.
|
|
2
|
+
* @nutui/nutui v3.2.2 Thu Sep 08 2022 22:10:31 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -176,9 +176,9 @@ const _sfc_main = create({
|
|
|
176
176
|
});
|
|
177
177
|
onDeactivated(() => {
|
|
178
178
|
state.keepAlive = true;
|
|
179
|
-
myDrag.removeEventListener("touchstart", touchStart);
|
|
180
|
-
myDrag.removeEventListener("touchmove", touchMove);
|
|
181
|
-
myDrag.removeEventListener("touchend", touchEnd);
|
|
179
|
+
myDrag.value.removeEventListener("touchstart", touchStart);
|
|
180
|
+
myDrag.value.removeEventListener("touchmove", touchMove);
|
|
181
|
+
myDrag.value.removeEventListener("touchend", touchEnd);
|
|
182
182
|
});
|
|
183
183
|
return {
|
|
184
184
|
classes,
|