@nutui/nutui 3.2.4-beta.0 → 3.2.4
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 +41 -7
- package/README.md +72 -39
- package/dist/nutui.es.js +303 -271
- package/dist/nutui.umd.js +303 -271
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +6 -4
- package/dist/packages/_es/AddressList.js +1 -1
- package/dist/packages/_es/Animate.js +1 -1
- package/dist/packages/_es/Audio.js +1 -1
- package/dist/packages/_es/AudioOperate.js +1 -1
- package/dist/packages/_es/Avatar.js +1 -1
- package/dist/packages/_es/AvatarGroup.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 +42 -29
- package/dist/packages/_es/Button.js +1 -1
- package/dist/packages/_es/Calendar.js +1 -1
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/Category.js +1 -1
- package/dist/packages/_es/CategoryPane.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 +1 -1
- package/dist/packages/_es/CheckboxGroup.js +1 -1
- 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/Comment.js +1 -1
- package/dist/packages/_es/ConfigProvider.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 +22 -7
- package/dist/packages/_es/Dialog.js +1 -1
- package/dist/packages/_es/Divider.js +1 -1
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Ecard.js +1 -1
- package/dist/packages/_es/Elevator.js +1 -1
- package/dist/packages/_es/Ellipsis.js +1 -1
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Form.js +1 -1
- 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/Image.js +1 -1
- package/dist/packages/_es/ImagePreview.js +3 -3
- 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/Invoice.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 +1 -1
- 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 +1 -1
- package/dist/packages/_es/OldPicker.js +1 -1
- package/dist/packages/_es/OverLay.js +1 -1
- package/dist/packages/_es/Pagination.js +1 -1
- package/dist/packages/_es/Picker.js +5 -3
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +2 -2
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +1 -1
- package/dist/packages/_es/PullRefresh.js +1 -1
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +1 -1
- package/dist/packages/_es/Rate.js +1 -1
- package/dist/packages/_es/Row.js +1 -1
- package/dist/packages/_es/SearchBar.js +1 -1
- 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 +1 -1
- package/dist/packages/_es/Step.js +1 -1
- package/dist/packages/_es/Steps.js +1 -1
- package/dist/packages/_es/Sticky.js +1 -1
- package/dist/packages/_es/SubSideNavBar.js +1 -1
- package/dist/packages/_es/Swipe.js +1 -1
- package/dist/packages/_es/Swiper.js +1 -1
- package/dist/packages/_es/SwiperItem.js +1 -1
- 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 +1 -1
- 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/TrendArrow.js +1 -1
- package/dist/packages/_es/Uploader.js +1 -1
- package/dist/packages/_es/Video.js +1 -1
- package/dist/packages/_es/WaterMark.js +1 -1
- package/dist/packages/_es/common.js +1 -1
- package/dist/packages/_es/component.js +1 -1
- 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 +1 -1
- 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 +2 -2
- package/dist/packages/address/index.scss +10 -8
- package/dist/packages/barrage/index.scss +0 -8
- package/dist/packages/button/index.scss +4 -0
- package/dist/packages/calendar/index.scss +1 -0
- package/dist/packages/card/index.scss +2 -0
- package/dist/packages/checkbox/index.scss +1 -1
- package/dist/packages/dialog/index.scss +3 -2
- package/dist/packages/inputnumber/index.scss +11 -1
- 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 +1 -1
- package/dist/packages/popover/index.scss +3 -2
- package/dist/packages/radio/index.scss +1 -1
- package/dist/packages/searchbar/index.scss +5 -0
- package/dist/packages/skeleton/index.scss +1 -1
- package/dist/packages/sku/index.scss +20 -17
- package/dist/packages/tabbar/index.scss +10 -1
- package/dist/packages/tabs/index.scss +2 -0
- package/dist/packages/tag/index.scss +1 -0
- package/dist/smartips/attributes.json +10 -2
- package/dist/smartips/tags.json +5 -3
- package/dist/smartips/web-types.json +22 -4
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +53 -53
- package/dist/styles/themes/jdb.scss +53 -53
- package/dist/styles/themes/jddkh.scss +104 -0
- package/dist/styles/themes/jdt.scss +53 -53
- package/dist/styles/variables-jdb.scss +60 -0
- package/dist/styles/variables-jddkh.scss +894 -0
- package/dist/styles/variables-jdt.scss +61 -0
- package/dist/styles/variables.scss +60 -0
- 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/badge/index.vue.d.ts +1 -1
- package/dist/types/__VUE/barrage/index.vue.d.ts +1 -0
- package/dist/types/__VUE/calendar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/cascader/index.vue.d.ts +2 -2
- package/dist/types/__VUE/datepicker/index.vue.d.ts +4 -4
- package/dist/types/__VUE/dialog/index.vue.d.ts +3 -3
- package/dist/types/__VUE/fixednav/index.vue.d.ts +1 -1
- package/dist/types/__VUE/image/index.vue.d.ts +1 -1
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +1 -1
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +1 -1
- package/dist/types/__VUE/input/index.vue.d.ts +2 -2
- package/dist/types/__VUE/menu/index.vue.d.ts +1 -1
- package/dist/types/__VUE/noticebar/index.vue.d.ts +3 -3
- package/dist/types/__VUE/notify/index.vue.d.ts +1 -1
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +1 -1
- package/dist/types/__VUE/oldpicker/index.vue.d.ts +3 -3
- package/dist/types/__VUE/picker/Column.vue.d.ts +1 -1
- package/dist/types/__VUE/picker/index.vue.d.ts +4 -4
- package/dist/types/__VUE/popover/index.vue.d.ts +4 -4
- package/dist/types/__VUE/popup/index.vue.d.ts +4 -4
- package/dist/types/__VUE/range/index.vue.d.ts +1 -1
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
- package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sku/index.vue.d.ts +3 -3
- package/dist/types/__VUE/sticky/index.vue.d.ts +1 -1
- package/dist/types/__VUE/swipe/index.vue.d.ts +2 -2
- package/dist/types/__VUE/swiper/index.vue.d.ts +1 -1
- package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -1
- package/dist/types/__VUE/toast/index.vue.d.ts +1 -1
- package/dist/types/__VUE/watermark/index.vue.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.4
|
|
2
|
+
* @nutui/nutui v3.2.4 Fri Oct 21 2022 18:50:39 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -260,6 +260,7 @@ const _sfc_main = create({
|
|
|
260
260
|
lineAnimation();
|
|
261
261
|
};
|
|
262
262
|
const close = () => {
|
|
263
|
+
console.log("\u5173\u95ED", closeWay.value, showPopup.value);
|
|
263
264
|
const resCopy = Object.assign(
|
|
264
265
|
{
|
|
265
266
|
addressIdStr: "",
|
|
@@ -318,9 +319,10 @@ const _sfc_main = create({
|
|
|
318
319
|
watch(
|
|
319
320
|
() => showPopup.value,
|
|
320
321
|
(value) => {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
322
|
+
console.log("\u76D1\u542C showpopup", showPopup.value);
|
|
323
|
+
if (value == false)
|
|
324
|
+
;
|
|
325
|
+
else {
|
|
324
326
|
initCustomSelected();
|
|
325
327
|
}
|
|
326
328
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.4
|
|
2
|
+
* @nutui/nutui v3.2.4 Fri Oct 21 2022 18:50:39 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { useSlots, computed, ref, onMounted, onUnmounted, onDeactivated, watch, nextTick, useCssVars, openBlock, createElementBlock, normalizeClass, renderSlot } from "vue";
|
|
6
|
+
import { useSlots, computed, ref, onMounted, onUnmounted, onDeactivated, watch, nextTick, useCssVars, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode } from "vue";
|
|
7
7
|
import { c as createComponent } from "./component.js";
|
|
8
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
9
9
|
import "../locale/lang";
|
|
10
10
|
var index_vue_vue_type_style_index_0_lang = "";
|
|
11
11
|
const { componentName, create } = createComponent("barrage");
|
|
12
12
|
const __default__ = create({
|
|
13
|
+
name: "barrage",
|
|
13
14
|
props: {
|
|
14
15
|
danmu: {
|
|
15
16
|
type: Array,
|
|
@@ -38,6 +39,7 @@ const __default__ = create({
|
|
|
38
39
|
},
|
|
39
40
|
emits: ["click"],
|
|
40
41
|
setup(props, { slots }) {
|
|
42
|
+
const classTime = new Date().getTime();
|
|
41
43
|
const slotDefault = !!useSlots().default;
|
|
42
44
|
const classes = computed(() => {
|
|
43
45
|
const prefixCls = componentName;
|
|
@@ -58,17 +60,28 @@ const __default__ = create({
|
|
|
58
60
|
var _a;
|
|
59
61
|
danmuCWidth.value = dmBody.value.offsetWidth;
|
|
60
62
|
if (slotDefault) {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
const list = document.getElementsByClassName("slotBody" + classTime);
|
|
64
|
+
let childrens = ((_a = list == null ? void 0 : list[0]) == null ? void 0 : _a.children) || [];
|
|
65
|
+
const dmList = [];
|
|
66
|
+
if (childrens) {
|
|
67
|
+
Array.from(childrens).forEach((item) => {
|
|
68
|
+
item.style.opacity = "0";
|
|
69
|
+
dmList.push(item);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
danmuList.value = dmList;
|
|
65
73
|
}
|
|
74
|
+
setTimeout(() => {
|
|
75
|
+
run();
|
|
76
|
+
}, 300);
|
|
66
77
|
});
|
|
67
78
|
onUnmounted(() => {
|
|
79
|
+
danmuList.value = [];
|
|
68
80
|
clearInterval(timer);
|
|
69
81
|
timer = 0;
|
|
70
82
|
});
|
|
71
83
|
onDeactivated(() => {
|
|
84
|
+
danmuList.value = [];
|
|
72
85
|
clearInterval(timer);
|
|
73
86
|
timer = 0;
|
|
74
87
|
});
|
|
@@ -98,31 +111,33 @@ const __default__ = create({
|
|
|
98
111
|
};
|
|
99
112
|
const distance = ref("0");
|
|
100
113
|
const play = () => {
|
|
101
|
-
var _a, _b;
|
|
114
|
+
var _a, _b, _c;
|
|
102
115
|
if (!props.loop && index2.value >= danmuList.value.length) {
|
|
103
116
|
return;
|
|
104
117
|
}
|
|
105
118
|
const _index = props.loop ? index2.value % danmuList.value.length : index2.value;
|
|
106
|
-
let el = document.createElement(`
|
|
107
|
-
if (slotDefault &&
|
|
108
|
-
el =
|
|
109
|
-
if (el == null ? void 0 : el.classList.contains("dmitem")) {
|
|
119
|
+
let el = document.createElement(`view`);
|
|
120
|
+
if (slotDefault && typeof danmuList.value[_index] == "object") {
|
|
121
|
+
el = danmuList.value[_index];
|
|
122
|
+
if ((_a = el == null ? void 0 : el.classList) == null ? void 0 : _a.contains("dmitem")) {
|
|
110
123
|
el.classList.remove("dmitem");
|
|
111
124
|
}
|
|
112
|
-
if (el == null ? void 0 : el.classList.contains("move")) {
|
|
125
|
+
if ((_b = el == null ? void 0 : el.classList) == null ? void 0 : _b.contains("move")) {
|
|
113
126
|
el.classList.remove("move");
|
|
114
127
|
}
|
|
115
|
-
el == null ? void 0 : el.classList.add("dmitem");
|
|
128
|
+
(_c = el == null ? void 0 : el.classList) == null ? void 0 : _c.add("dmitem");
|
|
116
129
|
} else {
|
|
117
130
|
el.innerHTML = danmuList.value[_index];
|
|
118
131
|
el.classList.add("dmitem");
|
|
119
132
|
dmContainer.value.appendChild(el);
|
|
120
133
|
}
|
|
121
134
|
nextTick(() => {
|
|
135
|
+
var _a2;
|
|
122
136
|
const height = el.offsetHeight;
|
|
123
|
-
el.classList.add("move");
|
|
137
|
+
(_a2 = el == null ? void 0 : el.classList) == null ? void 0 : _a2.add("move");
|
|
124
138
|
el.style.animationDuration = `${speeds}ms`;
|
|
125
139
|
el.style.top = _index % rows.value * (height + top.value) + 20 + "px";
|
|
140
|
+
el.style.opacity = "1";
|
|
126
141
|
if (!slotDefault) {
|
|
127
142
|
const width = el.offsetWidth;
|
|
128
143
|
el.style.width = width + 20 + "px";
|
|
@@ -140,12 +155,12 @@ const __default__ = create({
|
|
|
140
155
|
}
|
|
141
156
|
});
|
|
142
157
|
};
|
|
143
|
-
return { classes, danmuList, dmBody, dmContainer, add, distance };
|
|
158
|
+
return { classTime, classes, danmuList, dmBody, dmContainer, add, distance };
|
|
144
159
|
}
|
|
145
160
|
});
|
|
146
161
|
const __injectCSSVars__ = () => {
|
|
147
162
|
useCssVars((_ctx) => ({
|
|
148
|
-
"
|
|
163
|
+
"01d702ea": _ctx.distance
|
|
149
164
|
}));
|
|
150
165
|
};
|
|
151
166
|
const __setup__ = __default__.setup;
|
|
@@ -154,24 +169,22 @@ __default__.setup = __setup__ ? (props, ctx) => {
|
|
|
154
169
|
return __setup__(props, ctx);
|
|
155
170
|
} : __injectCSSVars__;
|
|
156
171
|
const _sfc_main = __default__;
|
|
157
|
-
const _hoisted_1 = {
|
|
158
|
-
key: 0,
|
|
159
|
-
ref: "dmContainer",
|
|
160
|
-
class: "dmContainer slotContainer"
|
|
161
|
-
};
|
|
162
|
-
const _hoisted_2 = {
|
|
163
|
-
key: 1,
|
|
164
|
-
ref: "dmContainer",
|
|
165
|
-
class: "dmContainer"
|
|
166
|
-
};
|
|
167
172
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
168
173
|
return openBlock(), createElementBlock("div", {
|
|
169
174
|
ref: "dmBody",
|
|
170
175
|
class: normalizeClass(_ctx.classes)
|
|
171
176
|
}, [
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
177
|
+
createElementVNode("div", {
|
|
178
|
+
ref: "dmContainer",
|
|
179
|
+
class: normalizeClass(["dmContainer", _ctx.$slots.default && "slotContainer"])
|
|
180
|
+
}, [
|
|
181
|
+
_ctx.$slots.default ? (openBlock(), createElementBlock("div", {
|
|
182
|
+
key: 0,
|
|
183
|
+
class: normalizeClass(["slotBody", "slotBody" + _ctx.classTime])
|
|
184
|
+
}, [
|
|
185
|
+
renderSlot(_ctx.$slots, "default")
|
|
186
|
+
], 2)) : createCommentVNode("", true)
|
|
187
|
+
], 2)
|
|
175
188
|
], 2);
|
|
176
189
|
}
|
|
177
190
|
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
package/dist/packages/_es/Col.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.4
|
|
2
|
+
* @nutui/nutui v3.2.4 Fri Oct 21 2022 18:50:39 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -88,7 +88,7 @@ const _sfc_main = create({
|
|
|
88
88
|
},
|
|
89
89
|
filter: Function
|
|
90
90
|
},
|
|
91
|
-
emits: ["click", "update:visible", "change", "confirm", "update:
|
|
91
|
+
emits: ["click", "update:visible", "change", "confirm", "update:modelValue"],
|
|
92
92
|
setup(props, { emit }) {
|
|
93
93
|
const state = reactive({
|
|
94
94
|
show: props.visible,
|
|
@@ -219,10 +219,10 @@ const _sfc_main = create({
|
|
|
219
219
|
formatDate.push(item);
|
|
220
220
|
});
|
|
221
221
|
if (props.type == "month-day" && formatDate.length < 3) {
|
|
222
|
-
formatDate.unshift(new Date(
|
|
222
|
+
formatDate.unshift(new Date(state.currentDate || props.minDate || props.maxDate).getFullYear());
|
|
223
223
|
}
|
|
224
224
|
if (props.type == "year-month" && formatDate.length < 3) {
|
|
225
|
-
formatDate.push(new Date(
|
|
225
|
+
formatDate.push(new Date(state.currentDate || props.minDate || props.maxDate).getDate());
|
|
226
226
|
}
|
|
227
227
|
const year = Number(formatDate[0]);
|
|
228
228
|
const month = Number(formatDate[1]) - 1;
|
|
@@ -297,7 +297,20 @@ const _sfc_main = create({
|
|
|
297
297
|
watch(
|
|
298
298
|
() => props.modelValue,
|
|
299
299
|
(value) => {
|
|
300
|
-
|
|
300
|
+
const newValues = formatValue(value);
|
|
301
|
+
const isSameValue = JSON.stringify(newValues) === JSON.stringify(state.currentDate);
|
|
302
|
+
if (!isSameValue) {
|
|
303
|
+
state.currentDate = newValues;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
);
|
|
307
|
+
watch(
|
|
308
|
+
() => state.currentDate,
|
|
309
|
+
(newValues) => {
|
|
310
|
+
const isSameValue = JSON.stringify(newValues) === JSON.stringify(props.modelValue);
|
|
311
|
+
if (!isSameValue) {
|
|
312
|
+
emit("update:modelValue", newValues);
|
|
313
|
+
}
|
|
301
314
|
}
|
|
302
315
|
);
|
|
303
316
|
watch(
|
|
@@ -337,7 +350,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
337
350
|
onConfirm: _ctx.confirm,
|
|
338
351
|
isWrapTeleport: _ctx.isWrapTeleport,
|
|
339
352
|
threeDimensional: _ctx.threeDimensional,
|
|
340
|
-
swipeDuration: _ctx.swipeDuration
|
|
353
|
+
swipeDuration: _ctx.swipeDuration,
|
|
354
|
+
safeAreaInsetBottom: _ctx.safeAreaInsetBottom,
|
|
355
|
+
destroyOnClose: _ctx.destroyOnClose
|
|
341
356
|
}, {
|
|
342
357
|
top: withCtx(() => [
|
|
343
358
|
renderSlot(_ctx.$slots, "top")
|
|
@@ -346,7 +361,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
346
361
|
renderSlot(_ctx.$slots, "default")
|
|
347
362
|
]),
|
|
348
363
|
_: 3
|
|
349
|
-
}, 8, ["modelValue", "visible", "okText", "cancelText", "onClose", "columns", "onChange", "title", "onConfirm", "isWrapTeleport", "threeDimensional", "swipeDuration"]);
|
|
364
|
+
}, 8, ["modelValue", "visible", "okText", "cancelText", "onClose", "columns", "onChange", "title", "onConfirm", "isWrapTeleport", "threeDimensional", "swipeDuration", "safeAreaInsetBottom", "destroyOnClose"]);
|
|
350
365
|
}
|
|
351
366
|
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
352
367
|
export { index as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.2.4
|
|
2
|
+
* @nutui/nutui v3.2.4 Fri Oct 21 2022 18:50:39 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -455,7 +455,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
455
455
|
visible: _ctx.showPop,
|
|
456
456
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => _ctx.showPop = $event),
|
|
457
457
|
isWrapTeleport: _ctx.isWrapTeleport,
|
|
458
|
-
|
|
458
|
+
onClosed: _ctx.onClose,
|
|
459
459
|
style: { "width": "100%" },
|
|
460
460
|
"lock-scroll": ""
|
|
461
461
|
}, {
|
|
@@ -513,7 +513,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
513
513
|
], 4)) : createCommentVNode("", true)
|
|
514
514
|
]),
|
|
515
515
|
_: 1
|
|
516
|
-
}, 8, ["visible", "isWrapTeleport", "
|
|
516
|
+
}, 8, ["visible", "isWrapTeleport", "onClosed"]);
|
|
517
517
|
}
|
|
518
518
|
var ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
519
519
|
class ImagePreviewOptions {
|