@nutui/nutui 3.1.17 → 3.1.19-beta.0
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 -0
- package/LICENSE +1 -1
- package/README.md +7 -1
- package/dist/nutui.d.ts +3 -1
- package/dist/nutui.es.js +2335 -1280
- package/dist/nutui.umd.js +2350 -1293
- package/dist/packages/_es/ActionSheet.js +8 -3
- package/dist/packages/_es/Address.js +17 -11
- package/dist/packages/_es/Audio.js +2 -2
- package/dist/packages/_es/AudioOperate.js +125 -0
- package/dist/packages/_es/Avatar.js +2 -2
- package/dist/packages/_es/BackTop.js +7 -4
- package/dist/packages/_es/Badge.js +2 -2
- package/dist/packages/_es/Barrage.js +2 -2
- package/dist/packages/_es/Button.js +2 -2
- package/dist/packages/_es/Calendar.js +10 -687
- package/dist/packages/_es/CalendarItem.js +10 -0
- package/dist/packages/_es/Card.js +2 -2
- package/dist/packages/_es/Cascader.js +2 -2
- package/dist/packages/_es/Cell.js +25 -18
- package/dist/packages/_es/CellGroup.js +2 -2
- package/dist/packages/_es/Checkbox.js +4 -4
- package/dist/packages/_es/CheckboxGroup.js +4 -4
- package/dist/packages/_es/CircleProgress.js +2 -2
- package/dist/packages/_es/Col.js +2 -2
- package/dist/packages/_es/Collapse.js +2 -2
- package/dist/packages/_es/CollapseItem.js +31 -19
- package/dist/packages/_es/CountDown.js +4 -2
- package/dist/packages/_es/CountUp.js +25 -16
- package/dist/packages/_es/DatePicker.js +83 -47
- package/dist/packages/_es/Dialog.js +7 -5
- package/dist/packages/_es/Divider.js +2 -2
- package/dist/packages/_es/Drag.js +4 -4
- package/dist/packages/_es/Elevator.js +3 -3
- package/dist/packages/_es/Empty.js +2 -2
- package/dist/packages/_es/FixedNav.js +2 -2
- package/dist/packages/_es/Form.js +8 -6
- package/dist/packages/_es/FormItem.js +9 -6
- package/dist/packages/_es/Grid.js +2 -2
- package/dist/packages/_es/GridItem.js +3 -3
- package/dist/packages/_es/Icon.js +2 -2
- package/dist/packages/_es/ImagePreview.js +11 -6
- package/dist/packages/_es/Indicator.js +2 -2
- package/dist/packages/_es/InfiniteLoading.js +2 -2
- package/dist/packages/_es/Input.js +290 -66
- package/dist/packages/_es/InputNumber.js +2 -2
- package/dist/packages/_es/Layout.js +2 -2
- package/dist/packages/_es/List.js +124 -0
- package/dist/packages/_es/Menu.js +3 -3
- package/dist/packages/_es/MenuItem.js +4 -4
- package/dist/packages/_es/Navbar.js +31 -66
- package/dist/packages/_es/NoticeBar.js +41 -22
- package/dist/packages/_es/Notify.js +9 -5
- package/dist/packages/_es/NumberKeyboard.js +9 -4
- package/dist/packages/_es/OldPicker.js +484 -0
- package/dist/packages/_es/OverLay.js +2 -2
- package/dist/packages/_es/Pagination.js +2 -2
- package/dist/packages/_es/Picker.js +164 -157
- package/dist/packages/_es/Popover.js +7 -4
- package/dist/packages/_es/Popup.js +4 -4
- package/dist/packages/_es/Price.js +2 -2
- package/dist/packages/_es/Progress.js +14 -22
- package/dist/packages/_es/PullRefresh.js +363 -0
- package/dist/packages/_es/Radio.js +3 -3
- package/dist/packages/_es/RadioGroup.js +2 -2
- package/dist/packages/_es/Range.js +131 -21
- package/dist/packages/_es/Rate.js +2 -2
- package/dist/packages/_es/Row.js +2 -2
- package/dist/packages/_es/SearchBar.js +2 -2
- package/dist/packages/_es/ShortPassword.js +9 -4
- package/dist/packages/_es/SideNavBar.js +2 -2
- package/dist/packages/_es/SideNavBarItem.js +2 -2
- package/dist/packages/_es/Signature.js +25 -6
- package/dist/packages/_es/Skeleton.js +2 -2
- package/dist/packages/_es/Sku.js +31 -13
- package/dist/packages/_es/Step.js +28 -12
- package/dist/packages/_es/Steps.js +8 -3
- package/dist/packages/_es/Sticky.js +3 -3
- package/dist/packages/_es/SubSideNavBar.js +2 -2
- package/dist/packages/_es/Swipe.js +3 -3
- package/dist/packages/_es/Swiper.js +3 -3
- package/dist/packages/_es/SwiperItem.js +3 -3
- package/dist/packages/_es/Switch.js +2 -2
- package/dist/packages/_es/TabPane.js +2 -2
- package/dist/packages/_es/Tabbar.js +2 -2
- package/dist/packages/_es/TabbarItem.js +23 -8
- package/dist/packages/_es/Table.js +2 -2
- package/dist/packages/_es/Tabs.js +8 -5
- package/dist/packages/_es/Tag.js +11 -5
- package/dist/packages/_es/TextArea.js +38 -6
- package/dist/packages/_es/TimeDetail.js +2 -2
- package/dist/packages/_es/TimePannel.js +2 -2
- package/dist/packages/_es/TimeSelect.js +8 -3
- package/dist/packages/_es/Toast.js +16 -9
- package/dist/packages/_es/Uploader.js +2 -4
- package/dist/packages/_es/Video.js +12 -8
- package/dist/packages/_es/common.js +2 -2
- package/dist/packages/_es/component.js +2 -2
- package/dist/packages/_es/index.js +6 -8
- package/dist/packages/_es/index2.js +9 -32
- package/dist/packages/_es/index3.js +29 -57
- package/dist/packages/_es/index4.js +64 -0
- package/dist/packages/_es/index5.js +687 -0
- package/dist/packages/_es/plugin-vue_export-helper.js +2 -2
- package/dist/packages/_es/pxCheck.js +2 -2
- package/dist/packages/_es/raf.js +2 -2
- package/dist/packages/_es/util.js +2 -2
- package/dist/packages/actionsheet/index.scss +7 -6
- package/dist/packages/badge/index.scss +11 -13
- package/dist/packages/button/index.scss +6 -5
- package/dist/packages/calendar/index.scss +9 -4
- package/dist/packages/calendaritem/index.scss +0 -207
- package/dist/packages/cell/index.scss +9 -9
- package/dist/packages/cellgroup/index.scss +1 -1
- package/dist/packages/checkbox/index.scss +4 -3
- package/dist/packages/collapseitem/index.scss +21 -11
- package/dist/packages/countdown/index.scss +3 -1
- package/dist/packages/divider/index.scss +8 -8
- package/dist/packages/elevator/index.scss +36 -36
- package/dist/packages/formitem/index.scss +15 -8
- package/dist/packages/indicator/index.scss +1 -1
- package/dist/packages/input/index.scss +70 -24
- package/dist/packages/inputnumber/index.scss +4 -2
- package/dist/packages/list/index.scss +24 -0
- package/dist/packages/menu/index.scss +3 -3
- package/dist/packages/navbar/index.scss +30 -8
- package/dist/packages/noticebar/index.scss +10 -5
- package/dist/packages/notify/index.scss +10 -0
- package/dist/packages/numberkeyboard/index.scss +22 -21
- package/dist/packages/oldpicker/index.scss +131 -0
- package/dist/packages/picker/index.scss +38 -32
- package/dist/packages/progress/index.scss +24 -19
- package/dist/packages/radio/index.scss +7 -6
- package/dist/packages/range/index.scss +113 -6
- package/dist/packages/searchbar/index.scss +7 -7
- package/dist/packages/sidenavbaritem/index.scss +5 -5
- package/dist/packages/step/index.scss +29 -29
- package/dist/packages/subsidenavbar/index.scss +10 -8
- package/dist/packages/swiper/index.scss +4 -4
- package/dist/packages/switch/index.scss +8 -8
- package/dist/packages/tabbar/index.scss +3 -2
- package/dist/packages/tabbaritem/index.scss +19 -3
- package/dist/packages/tabs/index.scss +1 -0
- package/dist/packages/timedetail/index.scss +13 -13
- package/dist/packages/timepannel/index.scss +7 -7
- package/dist/packages/timeselect/index.scss +3 -3
- package/dist/packages/toast/index.scss +8 -7
- package/dist/packages/uploader/index.scss +4 -4
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +43 -41
- package/dist/styles/themes/jdt.scss +91 -0
- package/dist/styles/variables-jdt.scss +728 -0
- package/dist/styles/variables.scss +322 -38
- package/package.json +3 -2
- package/dist/styles/themes/jdd.scss +0 -2
|
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
22
|
-
* (c)
|
|
21
|
+
* @nutui/nutui v3.1.19-beta.0 Mon Mar 28 2022 17:50:21 GMT+0800 (中国标准时间)
|
|
22
|
+
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { c as createComponent } from "./component.js";
|
|
@@ -63,6 +63,10 @@ const _sfc_main = create({
|
|
|
63
63
|
menuItems: {
|
|
64
64
|
type: Array,
|
|
65
65
|
default: () => []
|
|
66
|
+
},
|
|
67
|
+
isWrapTeleport: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: true
|
|
66
70
|
}
|
|
67
71
|
}),
|
|
68
72
|
emits: ["cancel", "close", "choose", "update:visible"],
|
|
@@ -122,6 +126,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
122
126
|
createVNode(_component_nut_popup, {
|
|
123
127
|
"pop-class": "popclass",
|
|
124
128
|
visible: _ctx.visible,
|
|
129
|
+
isWrapTeleport: _ctx.isWrapTeleport,
|
|
125
130
|
position: "bottom",
|
|
126
131
|
round: "",
|
|
127
132
|
onClickOverlay: _ctx.close
|
|
@@ -151,7 +156,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
151
156
|
])
|
|
152
157
|
]),
|
|
153
158
|
_: 1
|
|
154
|
-
}, 8, ["visible", "onClickOverlay"])
|
|
159
|
+
}, 8, ["visible", "isWrapTeleport", "onClickOverlay"])
|
|
155
160
|
], 2);
|
|
156
161
|
}
|
|
157
162
|
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
2
4
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
6
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -14,26 +16,27 @@ var __spreadValues = (a, b) => {
|
|
|
14
16
|
}
|
|
15
17
|
return a;
|
|
16
18
|
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
17
20
|
/*!
|
|
18
|
-
* @nutui/nutui v3.1.
|
|
19
|
-
* (c)
|
|
21
|
+
* @nutui/nutui v3.1.19-beta.0 Mon Mar 28 2022 17:50:21 GMT+0800 (中国标准时间)
|
|
22
|
+
* (c) 2022 @jdf2e.
|
|
20
23
|
* Released under the MIT License.
|
|
21
24
|
*/
|
|
22
25
|
import { ref, computed, reactive, onMounted, watch, toRefs, nextTick, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, withDirectives, createVNode, vShow, toDisplayString, createCommentVNode, createElementBlock, Fragment, renderList, normalizeClass, normalizeStyle, createTextVNode } from "vue";
|
|
23
26
|
import { c as createComponent } from "./component.js";
|
|
27
|
+
import { popupProps } from "./Popup.js";
|
|
24
28
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
29
|
+
import "./OverLay.js";
|
|
30
|
+
import "./Icon.js";
|
|
31
|
+
import "./pxCheck.js";
|
|
25
32
|
const { componentName, create } = createComponent("address");
|
|
26
33
|
const _sfc_main = create({
|
|
27
34
|
inheritAttrs: false,
|
|
28
|
-
props: {
|
|
35
|
+
props: __spreadProps(__spreadValues({}, popupProps), {
|
|
29
36
|
modelValue: {
|
|
30
37
|
type: Array,
|
|
31
38
|
default: () => []
|
|
32
39
|
},
|
|
33
|
-
visible: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: false
|
|
36
|
-
},
|
|
37
40
|
type: {
|
|
38
41
|
type: String,
|
|
39
42
|
default: "custom"
|
|
@@ -98,7 +101,7 @@ const _sfc_main = create({
|
|
|
98
101
|
type: [String, Array],
|
|
99
102
|
default: "\u8BF7\u9009\u62E9"
|
|
100
103
|
}
|
|
101
|
-
},
|
|
104
|
+
}),
|
|
102
105
|
emits: ["update:visible", "update:modelValue", "type", "change", "selected", "close", "close-mask", "switch-module"],
|
|
103
106
|
setup(props, { emit }) {
|
|
104
107
|
const regionLine = ref(null);
|
|
@@ -368,7 +371,8 @@ const _sfc_main = create({
|
|
|
368
371
|
selectedExist,
|
|
369
372
|
clickOverlay,
|
|
370
373
|
handClose,
|
|
371
|
-
handleElevatorItem
|
|
374
|
+
handleElevatorItem,
|
|
375
|
+
initCustomSelected
|
|
372
376
|
}, toRefs(props));
|
|
373
377
|
}
|
|
374
378
|
});
|
|
@@ -423,7 +427,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
423
427
|
onClickOverlay: _ctx.clickOverlay,
|
|
424
428
|
onOpen: _cache[3] || (_cache[3] = ($event) => _ctx.closeWay = "self"),
|
|
425
429
|
visible: _ctx.showPopup,
|
|
426
|
-
"onUpdate:visible": _cache[4] || (_cache[4] = ($event) => _ctx.showPopup = $event)
|
|
430
|
+
"onUpdate:visible": _cache[4] || (_cache[4] = ($event) => _ctx.showPopup = $event),
|
|
431
|
+
isWrapTeleport: _ctx.isWrapTeleport,
|
|
432
|
+
teleport: _ctx.teleport
|
|
427
433
|
}, {
|
|
428
434
|
default: withCtx(() => [
|
|
429
435
|
createElementVNode("view", _hoisted_1, [
|
|
@@ -552,7 +558,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
552
558
|
])
|
|
553
559
|
]),
|
|
554
560
|
_: 1
|
|
555
|
-
}, 8, ["onClose", "onClickOverlay", "visible"]);
|
|
561
|
+
}, 8, ["onClose", "onClickOverlay", "visible", "isWrapTeleport", "teleport"]);
|
|
556
562
|
}
|
|
557
563
|
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
558
564
|
export { index as default };
|
|
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
/*!
|
|
21
|
-
* @nutui/nutui v3.1.
|
|
22
|
-
* (c)
|
|
21
|
+
* @nutui/nutui v3.1.19-beta.0 Mon Mar 28 2022 17:50:21 GMT+0800 (中国标准时间)
|
|
22
|
+
* (c) 2022 @jdf2e.
|
|
23
23
|
* Released under the MIT License.
|
|
24
24
|
*/
|
|
25
25
|
import { ref, reactive, onMounted, watch, provide, toRefs, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode, withCtx, createCommentVNode, normalizeClass, createBlock, renderSlot } from "vue";
|
|
@@ -0,0 +1,125 @@
|
|
|
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));
|
|
20
|
+
/*!
|
|
21
|
+
* @nutui/nutui v3.1.19-beta.0 Mon Mar 28 2022 17:50:21 GMT+0800 (中国标准时间)
|
|
22
|
+
* (c) 2022 @jdf2e.
|
|
23
|
+
* Released under the MIT License.
|
|
24
|
+
*/
|
|
25
|
+
import { inject, reactive, ref, useSlots, toRefs, resolveComponent, openBlock, createElementBlock, createBlock, withCtx, createCommentVNode, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
26
|
+
import { c as createComponent } from "./component.js";
|
|
27
|
+
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
|
+
const { componentName, create } = createComponent("audio-operate");
|
|
29
|
+
const _sfc_main = create({
|
|
30
|
+
props: {
|
|
31
|
+
type: {
|
|
32
|
+
type: String,
|
|
33
|
+
default() {
|
|
34
|
+
return "play";
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
components: {},
|
|
39
|
+
emits: ["click"],
|
|
40
|
+
setup(props, { emit }) {
|
|
41
|
+
const audio = inject("audioParent");
|
|
42
|
+
const parent = reactive(audio);
|
|
43
|
+
const customSlot = ref(useSlots().default);
|
|
44
|
+
return __spreadProps(__spreadValues(__spreadValues({}, toRefs(props)), toRefs(parent)), { customSlot });
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
const _hoisted_1 = { class: "nut-audio-operate" };
|
|
48
|
+
const _hoisted_2 = /* @__PURE__ */ createTextVNode("\u5012\u9000");
|
|
49
|
+
const _hoisted_3 = /* @__PURE__ */ createTextVNode("\u5FEB\u8FDB");
|
|
50
|
+
const _hoisted_4 = /* @__PURE__ */ createTextVNode("\u9759\u97F3");
|
|
51
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
52
|
+
const _component_nut_button = resolveComponent("nut-button");
|
|
53
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
54
|
+
_ctx.type == "back" ? (openBlock(), createElementBlock("div", {
|
|
55
|
+
key: 0,
|
|
56
|
+
class: "nut-audio-operate-item",
|
|
57
|
+
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.fastBack && _ctx.fastBack(...args))
|
|
58
|
+
}, [
|
|
59
|
+
!_ctx.customSlot ? (openBlock(), createBlock(_component_nut_button, {
|
|
60
|
+
key: 0,
|
|
61
|
+
type: "primary",
|
|
62
|
+
size: "small"
|
|
63
|
+
}, {
|
|
64
|
+
default: withCtx(() => [
|
|
65
|
+
_hoisted_2
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
})) : createCommentVNode("", true),
|
|
69
|
+
renderSlot(_ctx.$slots, "default")
|
|
70
|
+
])) : createCommentVNode("", true),
|
|
71
|
+
_ctx.type == "play" ? (openBlock(), createElementBlock("div", {
|
|
72
|
+
key: 1,
|
|
73
|
+
class: "nut-audio-operate-item",
|
|
74
|
+
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.changeStatus && _ctx.changeStatus(...args))
|
|
75
|
+
}, [
|
|
76
|
+
!_ctx.customSlot ? (openBlock(), createBlock(_component_nut_button, {
|
|
77
|
+
key: 0,
|
|
78
|
+
type: "primary",
|
|
79
|
+
size: "small"
|
|
80
|
+
}, {
|
|
81
|
+
default: withCtx(() => [
|
|
82
|
+
createTextVNode(toDisplayString(!_ctx.audioData.playing ? "\u5F00\u59CB" : "\u6682\u505C"), 1)
|
|
83
|
+
]),
|
|
84
|
+
_: 1
|
|
85
|
+
})) : createCommentVNode("", true),
|
|
86
|
+
renderSlot(_ctx.$slots, "default")
|
|
87
|
+
])) : createCommentVNode("", true),
|
|
88
|
+
_ctx.type == "forward" ? (openBlock(), createElementBlock("div", {
|
|
89
|
+
key: 2,
|
|
90
|
+
class: "nut-audio-operate-item",
|
|
91
|
+
onClick: _cache[2] || (_cache[2] = (...args) => _ctx.forward && _ctx.forward(...args))
|
|
92
|
+
}, [
|
|
93
|
+
!_ctx.customSlot ? (openBlock(), createBlock(_component_nut_button, {
|
|
94
|
+
key: 0,
|
|
95
|
+
type: "primary",
|
|
96
|
+
size: "small"
|
|
97
|
+
}, {
|
|
98
|
+
default: withCtx(() => [
|
|
99
|
+
_hoisted_3
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
})) : createCommentVNode("", true),
|
|
103
|
+
renderSlot(_ctx.$slots, "default")
|
|
104
|
+
])) : createCommentVNode("", true),
|
|
105
|
+
_ctx.type == "mute" ? (openBlock(), createElementBlock("div", {
|
|
106
|
+
key: 3,
|
|
107
|
+
class: "nut-audio-operate-item",
|
|
108
|
+
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.handleMute && _ctx.handleMute(...args))
|
|
109
|
+
}, [
|
|
110
|
+
!_ctx.customSlot ? (openBlock(), createBlock(_component_nut_button, {
|
|
111
|
+
key: 0,
|
|
112
|
+
type: !_ctx.audioData.hanMuted ? "primary" : "default",
|
|
113
|
+
size: "small"
|
|
114
|
+
}, {
|
|
115
|
+
default: withCtx(() => [
|
|
116
|
+
_hoisted_4
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}, 8, ["type"])) : createCommentVNode("", true),
|
|
120
|
+
renderSlot(_ctx.$slots, "default")
|
|
121
|
+
])) : createCommentVNode("", true)
|
|
122
|
+
]);
|
|
123
|
+
}
|
|
124
|
+
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
125
|
+
export { index as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.19-beta.0 Mon Mar 28 2022 17:50:21 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeStyle, normalizeClass, createVNode, renderSlot, createCommentVNode } from "vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.19-beta.0 Mon Mar 28 2022 17:50:21 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { reactive, computed, onMounted, onUnmounted, onActivated, onDeactivated, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, withModifiers, renderSlot, createVNode } from "vue";
|
|
@@ -18,8 +18,8 @@ const _sfc_main = create({
|
|
|
18
18
|
default: 10
|
|
19
19
|
},
|
|
20
20
|
elId: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: ""
|
|
21
|
+
type: [String, Element],
|
|
22
|
+
default: "body"
|
|
23
23
|
},
|
|
24
24
|
distance: {
|
|
25
25
|
type: Number,
|
|
@@ -116,6 +116,9 @@ const _sfc_main = create({
|
|
|
116
116
|
initCancelAniFrame();
|
|
117
117
|
}
|
|
118
118
|
onMounted(() => {
|
|
119
|
+
if (props.distance == 0) {
|
|
120
|
+
state.backTop = true;
|
|
121
|
+
}
|
|
119
122
|
init();
|
|
120
123
|
});
|
|
121
124
|
onUnmounted(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.19-beta.0 Mon Mar 28 2022 17:50:21 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { reactive, computed, openBlock, createElementBlock, createElementVNode, renderSlot, withDirectives, toDisplayString, normalizeClass, normalizeStyle, vShow } from "vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.19-beta.0 Mon Mar 28 2022 17:50:21 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { computed, ref, onMounted, onUnmounted, onDeactivated, watch, nextTick, openBlock, createElementBlock, normalizeClass, createElementVNode } from "vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.1.
|
|
3
|
-
* (c)
|
|
2
|
+
* @nutui/nutui v3.1.19-beta.0 Mon Mar 28 2022 17:50:21 GMT+0800 (中国标准时间)
|
|
3
|
+
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
import { toRefs, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, createBlock, createCommentVNode, renderSlot } from "vue";
|