@nutui/nutui 3.1.7-beta.6 → 3.1.7
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 +17 -0
- package/dist/nutui.d.ts +1 -2
- package/dist/nutui.es.js +204 -240
- package/dist/nutui.umd.js +206 -243
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/Avatar.js +1 -1
- package/dist/packages/_es/BackTop.js +1 -1
- package/dist/packages/_es/Badge.js +1 -1
- package/dist/packages/_es/Barrage.js +1 -1
- package/dist/packages/_es/Button.js +1 -1
- package/dist/packages/_es/Calendar.js +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/CountDown.js +1 -1
- package/dist/packages/_es/CountUp.js +1 -1
- package/dist/packages/_es/DatePicker.js +1 -1
- package/dist/packages/_es/Dialog.js +1 -1
- package/dist/packages/_es/Divider.js +1 -1
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Elevator.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/ImagePreview.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/Input.js +1 -1
- package/dist/packages/_es/InputNumber.js +1 -1
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/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/OverLay.js +1 -1
- package/dist/packages/_es/Pagination.js +1 -1
- package/dist/packages/_es/Picker.js +1 -1
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +1 -1
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +1 -1
- package/dist/packages/_es/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/ShortPassword.js +1 -1
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Step.js +1 -1
- package/dist/packages/_es/Steps.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/Tab.js +1 -1
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/TabPanel.js +1 -1
- package/dist/packages/_es/Tabbar.js +1 -1
- package/dist/packages/_es/TabbarItem.js +1 -1
- package/dist/packages/_es/Tag.js +1 -1
- package/dist/packages/_es/TextArea.js +1 -1
- package/dist/packages/_es/Toast.js +1 -1
- package/dist/packages/_es/Uploader.js +1 -1
- package/dist/packages/_es/Video.js +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/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/style.css +1 -1
- package/dist/style.es.js +2 -1
- package/dist/styles/themes/default.scss +31 -31
- package/package.json +3 -3
- package/dist/packages/_es/Tabs.js +0 -45
package/dist/nutui.es.js
CHANGED
|
@@ -22,7 +22,7 @@ var __publicField = (obj, key, value) => {
|
|
|
22
22
|
return value;
|
|
23
23
|
};
|
|
24
24
|
/*!
|
|
25
|
-
* @nutui/nutui v3.1.7
|
|
25
|
+
* @nutui/nutui v3.1.7 Thu Sep 30 2021 20:17:00 GMT+0800 (中国标准时间)
|
|
26
26
|
* (c) 2021 @jdf2e.
|
|
27
27
|
* Released under the MIT License.
|
|
28
28
|
*/
|
|
@@ -54,8 +54,8 @@ var _export_sfc = (sfc, props) => {
|
|
|
54
54
|
}
|
|
55
55
|
return sfc;
|
|
56
56
|
};
|
|
57
|
-
const { componentName: componentName$
|
|
58
|
-
const _sfc_main$
|
|
57
|
+
const { componentName: componentName$P, create: create$12 } = createComponent("avatar");
|
|
58
|
+
const _sfc_main$12 = create$12({
|
|
59
59
|
props: {
|
|
60
60
|
size: {
|
|
61
61
|
type: String,
|
|
@@ -79,7 +79,7 @@ const _sfc_main$13 = create$13({
|
|
|
79
79
|
const { size, shape, bgColor, icon } = toRefs(props);
|
|
80
80
|
const sizeValue = ["large", "normal", "small"];
|
|
81
81
|
const classes = computed(() => {
|
|
82
|
-
const prefixCls = componentName$
|
|
82
|
+
const prefixCls = componentName$P;
|
|
83
83
|
return {
|
|
84
84
|
[prefixCls]: true,
|
|
85
85
|
["avatar-" + size.value]: true,
|
|
@@ -115,7 +115,7 @@ const _hoisted_1$G = {
|
|
|
115
115
|
key: 0,
|
|
116
116
|
class: "text"
|
|
117
117
|
};
|
|
118
|
-
function _sfc_render$
|
|
118
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
119
119
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
120
120
|
return openBlock(), createElementBlock("view", {
|
|
121
121
|
style: normalizeStyle(_ctx.styles),
|
|
@@ -131,12 +131,12 @@ function _sfc_render$Y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
131
131
|
])) : createCommentVNode("", true)
|
|
132
132
|
], 6);
|
|
133
133
|
}
|
|
134
|
-
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
134
|
+
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$X]]);
|
|
135
135
|
const pxCheck = (value) => {
|
|
136
136
|
return isNaN(Number(value)) ? String(value) : `${value}px`;
|
|
137
137
|
};
|
|
138
|
-
const { componentName: componentName$
|
|
139
|
-
const _sfc_main$
|
|
138
|
+
const { componentName: componentName$O, create: create$11 } = createComponent("icon");
|
|
139
|
+
const _sfc_main$11 = create$11({
|
|
140
140
|
props: {
|
|
141
141
|
name: { type: String, default: "" },
|
|
142
142
|
size: { type: [String, Number], default: "" },
|
|
@@ -157,7 +157,7 @@ const _sfc_main$12 = create$12({
|
|
|
157
157
|
var _a;
|
|
158
158
|
const _isImage = isImage();
|
|
159
159
|
return h(_isImage ? "img" : props.tag, {
|
|
160
|
-
class: _isImage ? `${componentName$
|
|
160
|
+
class: _isImage ? `${componentName$O}__img` : `${props.fontClassName} ${componentName$O} ${props.classPrefix}-${props.name}`,
|
|
161
161
|
style: {
|
|
162
162
|
color: props.color,
|
|
163
163
|
fontSize: pxCheck(props.size),
|
|
@@ -170,10 +170,10 @@ const _sfc_main$12 = create$12({
|
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
|
-
const { componentName: componentName$
|
|
174
|
-
const _sfc_main$
|
|
173
|
+
const { componentName: componentName$N, create: create$10 } = createComponent("button");
|
|
174
|
+
const _sfc_main$10 = create$10({
|
|
175
175
|
components: {
|
|
176
|
-
[_sfc_main$
|
|
176
|
+
[_sfc_main$11.name]: _sfc_main$11
|
|
177
177
|
},
|
|
178
178
|
props: {
|
|
179
179
|
color: String,
|
|
@@ -219,7 +219,7 @@ const _sfc_main$11 = create$11({
|
|
|
219
219
|
}
|
|
220
220
|
};
|
|
221
221
|
const classes = computed(() => {
|
|
222
|
-
const prefixCls = componentName$
|
|
222
|
+
const prefixCls = componentName$N;
|
|
223
223
|
return {
|
|
224
224
|
[prefixCls]: true,
|
|
225
225
|
[`${prefixCls}--${type.value}`]: type.value,
|
|
@@ -256,7 +256,7 @@ const _sfc_main$11 = create$11({
|
|
|
256
256
|
}
|
|
257
257
|
});
|
|
258
258
|
const _hoisted_1$F = { class: "nut-button__warp" };
|
|
259
|
-
function _sfc_render$
|
|
259
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
260
260
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
261
261
|
return openBlock(), createElementBlock("view", {
|
|
262
262
|
class: normalizeClass(_ctx.classes),
|
|
@@ -282,9 +282,9 @@ function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
282
282
|
])
|
|
283
283
|
], 6);
|
|
284
284
|
}
|
|
285
|
-
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
286
|
-
const { componentName: componentName$
|
|
287
|
-
const _sfc_main
|
|
285
|
+
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$W]]);
|
|
286
|
+
const { componentName: componentName$M, create: create$$ } = createComponent("cell");
|
|
287
|
+
const _sfc_main$$ = create$$({
|
|
288
288
|
props: {
|
|
289
289
|
title: { type: String, default: "" },
|
|
290
290
|
subTitle: { type: String, default: "" },
|
|
@@ -300,7 +300,7 @@ const _sfc_main$10 = create$10({
|
|
|
300
300
|
emits: ["click"],
|
|
301
301
|
setup(props, { emit }) {
|
|
302
302
|
const classes = computed(() => {
|
|
303
|
-
const prefixCls = componentName$
|
|
303
|
+
const prefixCls = componentName$M;
|
|
304
304
|
return {
|
|
305
305
|
[prefixCls]: true,
|
|
306
306
|
[`${prefixCls}--clickable`]: props.isLink || props.to
|
|
@@ -329,7 +329,7 @@ const _sfc_main$10 = create$10({
|
|
|
329
329
|
});
|
|
330
330
|
const _hoisted_1$E = { class: "title" };
|
|
331
331
|
const _hoisted_2$z = { class: "nut-cell__title-desc" };
|
|
332
|
-
function _sfc_render$
|
|
332
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
333
333
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
334
334
|
return openBlock(), createElementBlock("view", {
|
|
335
335
|
class: normalizeClass(_ctx.classes),
|
|
@@ -366,15 +366,15 @@ function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
366
366
|
])
|
|
367
367
|
], 6);
|
|
368
368
|
}
|
|
369
|
-
var Cell = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
370
|
-
const { componentName: componentName$
|
|
371
|
-
const _sfc_main
|
|
369
|
+
var Cell = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$V]]);
|
|
370
|
+
const { componentName: componentName$L, create: create$_ } = createComponent("cell-group");
|
|
371
|
+
const _sfc_main$_ = create$_({
|
|
372
372
|
props: {
|
|
373
373
|
title: { type: String, default: "" }
|
|
374
374
|
},
|
|
375
375
|
setup() {
|
|
376
376
|
const classes = computed(() => {
|
|
377
|
-
const prefixCls = componentName$
|
|
377
|
+
const prefixCls = componentName$L;
|
|
378
378
|
return {
|
|
379
379
|
[prefixCls]: true
|
|
380
380
|
};
|
|
@@ -389,7 +389,7 @@ const _hoisted_1$D = {
|
|
|
389
389
|
class: "nut-cell-group__title"
|
|
390
390
|
};
|
|
391
391
|
const _hoisted_2$y = { class: "nut-cell-group__warp" };
|
|
392
|
-
function _sfc_render$
|
|
392
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
393
393
|
return openBlock(), createElementBlock("view", {
|
|
394
394
|
class: normalizeClass(_ctx.classes)
|
|
395
395
|
}, [
|
|
@@ -399,9 +399,9 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
399
399
|
])
|
|
400
400
|
], 2);
|
|
401
401
|
}
|
|
402
|
-
var CellGroup = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
403
|
-
const { componentName: componentName$
|
|
404
|
-
const _sfc_main$
|
|
402
|
+
var CellGroup = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$U]]);
|
|
403
|
+
const { componentName: componentName$K, create: create$Z } = createComponent("price");
|
|
404
|
+
const _sfc_main$Z = create$Z({
|
|
405
405
|
props: {
|
|
406
406
|
price: {
|
|
407
407
|
type: [Number, String],
|
|
@@ -427,7 +427,7 @@ const _sfc_main$_ = create$_({
|
|
|
427
427
|
setup(props) {
|
|
428
428
|
const classes = computed(() => {
|
|
429
429
|
return {
|
|
430
|
-
[componentName$
|
|
430
|
+
[componentName$K]: true
|
|
431
431
|
};
|
|
432
432
|
});
|
|
433
433
|
const showSymbol = computed(() => {
|
|
@@ -480,7 +480,7 @@ const _hoisted_1$C = ["innerHTML"];
|
|
|
480
480
|
const _hoisted_2$x = { class: "nut-price--big" };
|
|
481
481
|
const _hoisted_3$p = /* @__PURE__ */ createElementVNode("view", { class: "nut-price--point" }, ".", -1);
|
|
482
482
|
const _hoisted_4$j = { class: "nut-price--small" };
|
|
483
|
-
function _sfc_render$
|
|
483
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
484
484
|
return openBlock(), createElementBlock("view", {
|
|
485
485
|
class: normalizeClass(_ctx.classes)
|
|
486
486
|
}, [
|
|
@@ -494,8 +494,8 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
494
494
|
createElementVNode("view", _hoisted_4$j, toDisplayString(_ctx.formatDecimal(_ctx.price)), 1)
|
|
495
495
|
], 2);
|
|
496
496
|
}
|
|
497
|
-
var Price = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
498
|
-
const { componentName: componentName$
|
|
497
|
+
var Price = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$T]]);
|
|
498
|
+
const { componentName: componentName$J, create: create$Y } = createComponent("overlay");
|
|
499
499
|
const overlayProps = {
|
|
500
500
|
visible: {
|
|
501
501
|
type: Boolean,
|
|
@@ -525,12 +525,12 @@ const overlayProps = {
|
|
|
525
525
|
default: true
|
|
526
526
|
}
|
|
527
527
|
};
|
|
528
|
-
const _sfc_main$
|
|
528
|
+
const _sfc_main$Y = create$Y({
|
|
529
529
|
props: overlayProps,
|
|
530
530
|
emits: ["click", "update:visible"],
|
|
531
531
|
setup(props, { emit }) {
|
|
532
532
|
const classes = computed(() => {
|
|
533
|
-
const prefixCls = componentName$
|
|
533
|
+
const prefixCls = componentName$J;
|
|
534
534
|
return {
|
|
535
535
|
[prefixCls]: true,
|
|
536
536
|
[props.overlayClass]: true
|
|
@@ -570,7 +570,7 @@ const _sfc_main$Z = create$Z({
|
|
|
570
570
|
return { classes, style, touchmove, onClick };
|
|
571
571
|
}
|
|
572
572
|
});
|
|
573
|
-
function _sfc_render$
|
|
573
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
574
574
|
return openBlock(), createBlock(Transition, { name: "overlay-fade" }, {
|
|
575
575
|
default: withCtx(() => [
|
|
576
576
|
withDirectives(createElementVNode("view", {
|
|
@@ -587,9 +587,9 @@ function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
587
587
|
_: 3
|
|
588
588
|
});
|
|
589
589
|
}
|
|
590
|
-
var OverLay = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
591
|
-
const { componentName: componentName$
|
|
592
|
-
const _sfc_main$
|
|
590
|
+
var OverLay = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$S]]);
|
|
591
|
+
const { componentName: componentName$I, create: create$X } = createComponent("divider");
|
|
592
|
+
const _sfc_main$X = create$X({
|
|
593
593
|
props: {
|
|
594
594
|
contentPosition: {
|
|
595
595
|
type: String,
|
|
@@ -607,7 +607,7 @@ const _sfc_main$Y = create$Y({
|
|
|
607
607
|
components: {},
|
|
608
608
|
setup(props, context) {
|
|
609
609
|
const classes = computed(() => {
|
|
610
|
-
const prefixCls = componentName$
|
|
610
|
+
const prefixCls = componentName$I;
|
|
611
611
|
return {
|
|
612
612
|
[prefixCls]: true,
|
|
613
613
|
[`${prefixCls}-center`]: context.slots.default,
|
|
@@ -620,18 +620,18 @@ const _sfc_main$Y = create$Y({
|
|
|
620
620
|
return { classes };
|
|
621
621
|
}
|
|
622
622
|
});
|
|
623
|
-
function _sfc_render$
|
|
623
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
624
624
|
return openBlock(), createElementBlock("div", {
|
|
625
625
|
class: normalizeClass(_ctx.classes)
|
|
626
626
|
}, [
|
|
627
627
|
renderSlot(_ctx.$slots, "default")
|
|
628
628
|
], 2);
|
|
629
629
|
}
|
|
630
|
-
var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
631
|
-
const { create: create$
|
|
632
|
-
const _sfc_main$
|
|
633
|
-
const { componentName: componentName$
|
|
634
|
-
const _sfc_main$
|
|
630
|
+
var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$R]]);
|
|
631
|
+
const { create: create$W } = createComponent("layout");
|
|
632
|
+
const _sfc_main$W = create$W({});
|
|
633
|
+
const { componentName: componentName$H, create: create$V } = createComponent("col");
|
|
634
|
+
const _sfc_main$V = create$V({
|
|
635
635
|
props: {
|
|
636
636
|
span: {
|
|
637
637
|
type: [String, Number],
|
|
@@ -643,7 +643,7 @@ const _sfc_main$W = create$W({
|
|
|
643
643
|
}
|
|
644
644
|
},
|
|
645
645
|
setup(props) {
|
|
646
|
-
const prefixCls = componentName$
|
|
646
|
+
const prefixCls = componentName$H;
|
|
647
647
|
const gutter = inject("gutter");
|
|
648
648
|
const classes = computed(() => {
|
|
649
649
|
return {
|
|
@@ -665,7 +665,7 @@ const _sfc_main$W = create$W({
|
|
|
665
665
|
};
|
|
666
666
|
}
|
|
667
667
|
});
|
|
668
|
-
function _sfc_render$
|
|
668
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
669
669
|
return openBlock(), createElementBlock("view", {
|
|
670
670
|
class: normalizeClass(_ctx.classes),
|
|
671
671
|
style: normalizeStyle(_ctx.style)
|
|
@@ -673,9 +673,9 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
673
673
|
renderSlot(_ctx.$slots, "default")
|
|
674
674
|
], 6);
|
|
675
675
|
}
|
|
676
|
-
var Col = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
677
|
-
const { componentName: componentName$
|
|
678
|
-
const _sfc_main$
|
|
676
|
+
var Col = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$Q]]);
|
|
677
|
+
const { componentName: componentName$G, create: create$U } = createComponent("row");
|
|
678
|
+
const _sfc_main$U = create$U({
|
|
679
679
|
props: {
|
|
680
680
|
type: {
|
|
681
681
|
type: String,
|
|
@@ -699,7 +699,7 @@ const _sfc_main$V = create$V({
|
|
|
699
699
|
}
|
|
700
700
|
},
|
|
701
701
|
setup(props) {
|
|
702
|
-
const prefixCls = componentName$
|
|
702
|
+
const prefixCls = componentName$G;
|
|
703
703
|
provide("gutter", props.gutter);
|
|
704
704
|
const getClass = (prefix, type) => {
|
|
705
705
|
return prefix ? type ? `nut-row-${prefix}-${type}` : "" : `nut-row-${type}`;
|
|
@@ -718,16 +718,16 @@ const _sfc_main$V = create$V({
|
|
|
718
718
|
};
|
|
719
719
|
}
|
|
720
720
|
});
|
|
721
|
-
function _sfc_render$
|
|
721
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
722
722
|
return openBlock(), createElementBlock("view", {
|
|
723
723
|
class: normalizeClass(_ctx.getClasses())
|
|
724
724
|
}, [
|
|
725
725
|
renderSlot(_ctx.$slots, "default")
|
|
726
726
|
], 2);
|
|
727
727
|
}
|
|
728
|
-
var Row = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
729
|
-
const { componentName: componentName$
|
|
730
|
-
const _sfc_main$
|
|
728
|
+
var Row = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$P]]);
|
|
729
|
+
const { componentName: componentName$F, create: create$T } = createComponent("imagepreview");
|
|
730
|
+
const _sfc_main$T = create$T({
|
|
731
731
|
props: {
|
|
732
732
|
show: {
|
|
733
733
|
type: Boolean,
|
|
@@ -765,7 +765,7 @@ const _sfc_main$U = create$U({
|
|
|
765
765
|
const _hoisted_1$B = { class: "nut-imagepreview" };
|
|
766
766
|
const _hoisted_2$w = ["src"];
|
|
767
767
|
const _hoisted_3$o = { class: "nut-imagepreview-index" };
|
|
768
|
-
function _sfc_render$
|
|
768
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
769
769
|
const _component_nut_swiper_item = resolveComponent("nut-swiper-item");
|
|
770
770
|
const _component_nut_swiper = resolveComponent("nut-swiper");
|
|
771
771
|
const _component_nut_popup = resolveComponent("nut-popup");
|
|
@@ -806,7 +806,7 @@ function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
806
806
|
}, 8, ["visible", "onClick"])
|
|
807
807
|
]);
|
|
808
808
|
}
|
|
809
|
-
var ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
809
|
+
var ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$O]]);
|
|
810
810
|
const MIN_DISTANCE = 10;
|
|
811
811
|
function getDirection(x, y) {
|
|
812
812
|
if (x > y && x > MIN_DISTANCE) {
|
|
@@ -864,8 +864,8 @@ function useTouch$1() {
|
|
|
864
864
|
isHorizontal
|
|
865
865
|
};
|
|
866
866
|
}
|
|
867
|
-
const { componentName: componentName$
|
|
868
|
-
const _sfc_main$
|
|
867
|
+
const { componentName: componentName$E, create: create$S } = createComponent("swipe");
|
|
868
|
+
const _sfc_main$S = create$S({
|
|
869
869
|
props: {
|
|
870
870
|
name: {
|
|
871
871
|
type: String,
|
|
@@ -879,7 +879,7 @@ const _sfc_main$T = create$T({
|
|
|
879
879
|
emits: ["open", "close"],
|
|
880
880
|
setup(props, { emit }) {
|
|
881
881
|
const classes = computed(() => {
|
|
882
|
-
const prefixCls = componentName$
|
|
882
|
+
const prefixCls = componentName$E;
|
|
883
883
|
return {
|
|
884
884
|
[prefixCls]: true
|
|
885
885
|
};
|
|
@@ -1007,7 +1007,7 @@ const _hoisted_3$n = {
|
|
|
1007
1007
|
class: "nut-swipe__right",
|
|
1008
1008
|
ref: "rightRef"
|
|
1009
1009
|
};
|
|
1010
|
-
function _sfc_render$
|
|
1010
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1011
1011
|
return openBlock(), createElementBlock("view", {
|
|
1012
1012
|
class: normalizeClass(_ctx.classes),
|
|
1013
1013
|
style: normalizeStyle(_ctx.touchStyle),
|
|
@@ -1027,7 +1027,7 @@ function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1027
1027
|
], 512)
|
|
1028
1028
|
], 38);
|
|
1029
1029
|
}
|
|
1030
|
-
var Swipe = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1030
|
+
var Swipe = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$N]]);
|
|
1031
1031
|
let count = 0;
|
|
1032
1032
|
const CLSNAME = "nut-overflow-hidden";
|
|
1033
1033
|
const useLockScroll = (isLock) => {
|
|
@@ -1045,7 +1045,7 @@ const useLockScroll = (isLock) => {
|
|
|
1045
1045
|
};
|
|
1046
1046
|
return [lock, unlock];
|
|
1047
1047
|
};
|
|
1048
|
-
const { componentName: componentName$
|
|
1048
|
+
const { componentName: componentName$D, create: create$R } = createComponent("popup");
|
|
1049
1049
|
let _zIndex = 2e3;
|
|
1050
1050
|
const popupProps = __spreadProps(__spreadValues({}, overlayProps), {
|
|
1051
1051
|
position: {
|
|
@@ -1089,10 +1089,10 @@ const popupProps = __spreadProps(__spreadValues({}, overlayProps), {
|
|
|
1089
1089
|
default: false
|
|
1090
1090
|
}
|
|
1091
1091
|
});
|
|
1092
|
-
const _sfc_main$
|
|
1092
|
+
const _sfc_main$R = create$R({
|
|
1093
1093
|
components: {
|
|
1094
1094
|
[OverLay.name]: OverLay,
|
|
1095
|
-
[_sfc_main$
|
|
1095
|
+
[_sfc_main$11.name]: _sfc_main$11
|
|
1096
1096
|
},
|
|
1097
1097
|
props: __spreadValues({}, popupProps),
|
|
1098
1098
|
emits: [
|
|
@@ -1115,7 +1115,7 @@ const _sfc_main$S = create$S({
|
|
|
1115
1115
|
});
|
|
1116
1116
|
const [lockScroll, unlockScroll] = useLockScroll(() => props.lockScroll);
|
|
1117
1117
|
const classes = computed(() => {
|
|
1118
|
-
const prefixCls = componentName$
|
|
1118
|
+
const prefixCls = componentName$D;
|
|
1119
1119
|
return {
|
|
1120
1120
|
[prefixCls]: true,
|
|
1121
1121
|
["round"]: props.round,
|
|
@@ -1219,7 +1219,7 @@ const _sfc_main$S = create$S({
|
|
|
1219
1219
|
});
|
|
1220
1220
|
}
|
|
1221
1221
|
});
|
|
1222
|
-
function _sfc_render$
|
|
1222
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1223
1223
|
const _component_nut_overlay = resolveComponent("nut-overlay");
|
|
1224
1224
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
1225
1225
|
return openBlock(), createBlock(Teleport, { to: _ctx.teleport }, [
|
|
@@ -1264,9 +1264,9 @@ function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1264
1264
|
}, 8, ["name", "onAfterEnter", "onAfterLeave"])
|
|
1265
1265
|
], 8, ["to"]);
|
|
1266
1266
|
}
|
|
1267
|
-
var Popup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1268
|
-
const { componentName: componentName$
|
|
1269
|
-
const _sfc_main$
|
|
1267
|
+
var Popup = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$M]]);
|
|
1268
|
+
const { componentName: componentName$C, create: create$Q } = createComponent("actionsheet");
|
|
1269
|
+
const _sfc_main$Q = create$Q({
|
|
1270
1270
|
props: __spreadProps(__spreadValues({}, popupProps), {
|
|
1271
1271
|
cancelTxt: {
|
|
1272
1272
|
type: String,
|
|
@@ -1304,7 +1304,7 @@ const _sfc_main$R = create$R({
|
|
|
1304
1304
|
emits: ["cancel", "choose", "update:visible"],
|
|
1305
1305
|
setup(props, { emit }) {
|
|
1306
1306
|
const classes = computed(() => {
|
|
1307
|
-
const prefixCls = componentName$
|
|
1307
|
+
const prefixCls = componentName$C;
|
|
1308
1308
|
return {
|
|
1309
1309
|
[prefixCls]: true
|
|
1310
1310
|
};
|
|
@@ -1350,7 +1350,7 @@ const _hoisted_4$i = {
|
|
|
1350
1350
|
};
|
|
1351
1351
|
const _hoisted_5$e = ["onClick"];
|
|
1352
1352
|
const _hoisted_6$c = { class: "subdesc" };
|
|
1353
|
-
function _sfc_render$
|
|
1353
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1354
1354
|
const _component_nut_popup = resolveComponent("nut-popup");
|
|
1355
1355
|
return openBlock(), createElementBlock("view", {
|
|
1356
1356
|
class: normalizeClass(_ctx.classes)
|
|
@@ -1390,9 +1390,9 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1390
1390
|
}, 8, ["visible", "onClickOverlay"])
|
|
1391
1391
|
], 2);
|
|
1392
1392
|
}
|
|
1393
|
-
var ActionSheet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1394
|
-
const { componentName: componentName$
|
|
1395
|
-
const _sfc_main$
|
|
1393
|
+
var ActionSheet = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$L]]);
|
|
1394
|
+
const { componentName: componentName$B, create: create$P } = createComponent("backtop");
|
|
1395
|
+
const _sfc_main$P = create$P({
|
|
1396
1396
|
props: {
|
|
1397
1397
|
bottom: {
|
|
1398
1398
|
type: Number,
|
|
@@ -1433,7 +1433,7 @@ const _sfc_main$Q = create$Q({
|
|
|
1433
1433
|
keepAlive: false
|
|
1434
1434
|
});
|
|
1435
1435
|
const classes = computed(() => {
|
|
1436
|
-
const prefixCls = componentName$
|
|
1436
|
+
const prefixCls = componentName$B;
|
|
1437
1437
|
return {
|
|
1438
1438
|
[prefixCls]: true,
|
|
1439
1439
|
show: state.backTop
|
|
@@ -1524,7 +1524,7 @@ const _sfc_main$Q = create$Q({
|
|
|
1524
1524
|
};
|
|
1525
1525
|
}
|
|
1526
1526
|
});
|
|
1527
|
-
function _sfc_render$
|
|
1527
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1528
1528
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
1529
1529
|
return openBlock(), createElementBlock("div", {
|
|
1530
1530
|
class: normalizeClass(_ctx.classes),
|
|
@@ -1540,9 +1540,9 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1540
1540
|
])
|
|
1541
1541
|
], 6);
|
|
1542
1542
|
}
|
|
1543
|
-
var BackTop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1544
|
-
const { create: create$
|
|
1545
|
-
const _sfc_main$
|
|
1543
|
+
var BackTop = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$K]]);
|
|
1544
|
+
const { create: create$O } = createComponent("collapse");
|
|
1545
|
+
const _sfc_main$O = create$O({
|
|
1546
1546
|
props: {
|
|
1547
1547
|
active: {
|
|
1548
1548
|
type: [String, Number, Array]
|
|
@@ -1615,14 +1615,14 @@ const _sfc_main$P = create$P({
|
|
|
1615
1615
|
});
|
|
1616
1616
|
}
|
|
1617
1617
|
});
|
|
1618
|
-
function _sfc_render$
|
|
1618
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1619
1619
|
return openBlock(), createElementBlock("view", null, [
|
|
1620
1620
|
renderSlot(_ctx.$slots, "default")
|
|
1621
1621
|
]);
|
|
1622
1622
|
}
|
|
1623
|
-
var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1624
|
-
const { create: create$
|
|
1625
|
-
const _sfc_main$
|
|
1623
|
+
var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$J]]);
|
|
1624
|
+
const { create: create$N, componentName: componentName$A } = createComponent("collapse-item");
|
|
1625
|
+
const _sfc_main$N = create$N({
|
|
1626
1626
|
props: {
|
|
1627
1627
|
title: {
|
|
1628
1628
|
type: String,
|
|
@@ -1649,7 +1649,7 @@ const _sfc_main$O = create$O({
|
|
|
1649
1649
|
const collapse = inject("collapseParent");
|
|
1650
1650
|
const parent = reactive(collapse);
|
|
1651
1651
|
const classes = computed(() => {
|
|
1652
|
-
const prefixCls = componentName$
|
|
1652
|
+
const prefixCls = componentName$A;
|
|
1653
1653
|
return {
|
|
1654
1654
|
[prefixCls]: true,
|
|
1655
1655
|
[`${prefixCls}-icon`]: parent.props.icon
|
|
@@ -1790,7 +1790,7 @@ const _hoisted_7$9 = {
|
|
|
1790
1790
|
class: "collapse-content",
|
|
1791
1791
|
ref: "contentRef"
|
|
1792
1792
|
};
|
|
1793
|
-
function _sfc_render$
|
|
1793
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1794
1794
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
1795
1795
|
return openBlock(), createElementBlock("view", {
|
|
1796
1796
|
class: normalizeClass(_ctx.classes)
|
|
@@ -1849,7 +1849,7 @@ function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1849
1849
|
], 512)
|
|
1850
1850
|
], 2);
|
|
1851
1851
|
}
|
|
1852
|
-
var CollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1852
|
+
var CollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$I]]);
|
|
1853
1853
|
const _window = window;
|
|
1854
1854
|
function requestAniFrame() {
|
|
1855
1855
|
if (typeof _window !== "undefined") {
|
|
@@ -1863,8 +1863,8 @@ function requestAniFrame() {
|
|
|
1863
1863
|
}
|
|
1864
1864
|
}
|
|
1865
1865
|
var requestAniFrame$1 = requestAniFrame();
|
|
1866
|
-
const { componentName: componentName$
|
|
1867
|
-
const _sfc_main$
|
|
1866
|
+
const { componentName: componentName$z, create: create$M } = createComponent("drag");
|
|
1867
|
+
const _sfc_main$M = create$M({
|
|
1868
1868
|
props: {
|
|
1869
1869
|
attract: {
|
|
1870
1870
|
type: Boolean,
|
|
@@ -1909,7 +1909,7 @@ const _sfc_main$N = create$N({
|
|
|
1909
1909
|
}
|
|
1910
1910
|
});
|
|
1911
1911
|
const classes = computed(() => {
|
|
1912
|
-
const prefixCls = componentName$
|
|
1912
|
+
const prefixCls = componentName$z;
|
|
1913
1913
|
return {
|
|
1914
1914
|
[prefixCls]: true
|
|
1915
1915
|
};
|
|
@@ -2039,7 +2039,7 @@ const _sfc_main$N = create$N({
|
|
|
2039
2039
|
};
|
|
2040
2040
|
}
|
|
2041
2041
|
});
|
|
2042
|
-
function _sfc_render$
|
|
2042
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2043
2043
|
return openBlock(), createElementBlock("view", {
|
|
2044
2044
|
class: normalizeClass(_ctx.classes),
|
|
2045
2045
|
ref: "myDrag",
|
|
@@ -2050,9 +2050,9 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2050
2050
|
renderSlot(_ctx.$slots, "default")
|
|
2051
2051
|
], 34);
|
|
2052
2052
|
}
|
|
2053
|
-
var Drag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2054
|
-
const { componentName: componentName$
|
|
2055
|
-
const _sfc_main$
|
|
2053
|
+
var Drag = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$H]]);
|
|
2054
|
+
const { componentName: componentName$y, create: create$L } = createComponent("dialog");
|
|
2055
|
+
const _sfc_main$L = create$L({
|
|
2056
2056
|
inheritAttrs: false,
|
|
2057
2057
|
components: {
|
|
2058
2058
|
[Popup.name]: Popup,
|
|
@@ -2148,7 +2148,7 @@ const _sfc_main$M = create$M({
|
|
|
2148
2148
|
});
|
|
2149
2149
|
const classes = computed(() => {
|
|
2150
2150
|
return {
|
|
2151
|
-
[componentName$
|
|
2151
|
+
[componentName$y]: true
|
|
2152
2152
|
};
|
|
2153
2153
|
});
|
|
2154
2154
|
const update = (val) => {
|
|
@@ -2187,7 +2187,7 @@ const _hoisted_3$k = {
|
|
|
2187
2187
|
key: 1,
|
|
2188
2188
|
class: "nut-dialog__footer"
|
|
2189
2189
|
};
|
|
2190
|
-
function _sfc_render$
|
|
2190
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2191
2191
|
const _component_nut_button = resolveComponent("nut-button");
|
|
2192
2192
|
const _component_nut_popup = resolveComponent("nut-popup");
|
|
2193
2193
|
return openBlock(), createBlock(_component_nut_popup, {
|
|
@@ -2253,7 +2253,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2253
2253
|
_: 3
|
|
2254
2254
|
}, 8, ["teleport", "visible", "close-on-click-overlay", "lock-scroll", "onClickOverlay", "onClickCloseIcon"]);
|
|
2255
2255
|
}
|
|
2256
|
-
var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2256
|
+
var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$G]]);
|
|
2257
2257
|
class DialogOptions {
|
|
2258
2258
|
constructor() {
|
|
2259
2259
|
__publicField(this, "title", "");
|
|
@@ -2327,8 +2327,8 @@ _Dialog.install = (app) => {
|
|
|
2327
2327
|
app.use(Dialog);
|
|
2328
2328
|
app.config.globalProperties.$dialog = _Dialog;
|
|
2329
2329
|
};
|
|
2330
|
-
const { componentName: componentName$
|
|
2331
|
-
const _sfc_main$
|
|
2330
|
+
const { componentName: componentName$x, create: create$K } = createComponent("infiniteloading");
|
|
2331
|
+
const _sfc_main$K = create$K({
|
|
2332
2332
|
props: {
|
|
2333
2333
|
hasMore: {
|
|
2334
2334
|
type: Boolean,
|
|
@@ -2390,7 +2390,7 @@ const _sfc_main$L = create$L({
|
|
|
2390
2390
|
distance: 0
|
|
2391
2391
|
});
|
|
2392
2392
|
const classes = computed(() => {
|
|
2393
|
-
const prefixCls = componentName$
|
|
2393
|
+
const prefixCls = componentName$x;
|
|
2394
2394
|
return {
|
|
2395
2395
|
[prefixCls]: true
|
|
2396
2396
|
};
|
|
@@ -2527,7 +2527,7 @@ const _hoisted_7$8 = {
|
|
|
2527
2527
|
key: 1,
|
|
2528
2528
|
class: "tips"
|
|
2529
2529
|
};
|
|
2530
|
-
function _sfc_render$
|
|
2530
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2531
2531
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
2532
2532
|
return openBlock(), createElementBlock("view", {
|
|
2533
2533
|
class: normalizeClass(_ctx.classes),
|
|
@@ -2563,9 +2563,9 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2563
2563
|
])
|
|
2564
2564
|
], 34);
|
|
2565
2565
|
}
|
|
2566
|
-
var InfiniteLoading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2567
|
-
const { componentName: componentName$
|
|
2568
|
-
const _sfc_main$
|
|
2566
|
+
var InfiniteLoading = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$F]]);
|
|
2567
|
+
const { componentName: componentName$w, create: create$J } = createComponent("notify");
|
|
2568
|
+
const _sfc_main$J = create$J({
|
|
2569
2569
|
components: {
|
|
2570
2570
|
[Popup.name]: Popup
|
|
2571
2571
|
},
|
|
@@ -2635,7 +2635,7 @@ const _sfc_main$K = create$K({
|
|
|
2635
2635
|
return { state, hide, onAfterLeave, clickCover };
|
|
2636
2636
|
}
|
|
2637
2637
|
});
|
|
2638
|
-
function _sfc_render$
|
|
2638
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2639
2639
|
return openBlock(), createBlock(Transition, {
|
|
2640
2640
|
name: "toast-fade",
|
|
2641
2641
|
onAfterLeave: _ctx.onAfterLeave
|
|
@@ -2656,7 +2656,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2656
2656
|
_: 3
|
|
2657
2657
|
}, 8, ["onAfterLeave"]);
|
|
2658
2658
|
}
|
|
2659
|
-
var Notify = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2659
|
+
var Notify = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$E]]);
|
|
2660
2660
|
const defaultOptions$1 = {
|
|
2661
2661
|
type: "base",
|
|
2662
2662
|
showPopup: false,
|
|
@@ -2794,8 +2794,8 @@ const useRect = (elementRef) => {
|
|
|
2794
2794
|
height: 0
|
|
2795
2795
|
};
|
|
2796
2796
|
};
|
|
2797
|
-
const { componentName: componentName$
|
|
2798
|
-
const _sfc_main$
|
|
2797
|
+
const { componentName: componentName$v, create: create$I } = createComponent("range");
|
|
2798
|
+
const _sfc_main$I = create$I({
|
|
2799
2799
|
props: {
|
|
2800
2800
|
range: {
|
|
2801
2801
|
type: Boolean,
|
|
@@ -2840,7 +2840,7 @@ const _sfc_main$J = create$J({
|
|
|
2840
2840
|
const touch = useTouch$1();
|
|
2841
2841
|
const scope = computed(() => Number(props.max) - Number(props.min));
|
|
2842
2842
|
const classes = computed(() => {
|
|
2843
|
-
const prefixCls = componentName$
|
|
2843
|
+
const prefixCls = componentName$v;
|
|
2844
2844
|
return {
|
|
2845
2845
|
[prefixCls]: true,
|
|
2846
2846
|
[`${prefixCls}-disabled`]: props.disabled,
|
|
@@ -3010,7 +3010,7 @@ const _hoisted_7$7 = {
|
|
|
3010
3010
|
key: 1,
|
|
3011
3011
|
class: "max"
|
|
3012
3012
|
};
|
|
3013
|
-
function _sfc_render$
|
|
3013
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3014
3014
|
return openBlock(), createElementBlock("view", _hoisted_1$v, [
|
|
3015
3015
|
!_ctx.hiddenRange ? (openBlock(), createElementBlock("view", _hoisted_2$q, toDisplayString(+_ctx.min), 1)) : createCommentVNode("", true),
|
|
3016
3016
|
createElementVNode("view", {
|
|
@@ -3085,7 +3085,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3085
3085
|
!_ctx.hiddenRange ? (openBlock(), createElementBlock("view", _hoisted_7$7, toDisplayString(+_ctx.max), 1)) : createCommentVNode("", true)
|
|
3086
3086
|
]);
|
|
3087
3087
|
}
|
|
3088
|
-
var Range = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3088
|
+
var Range = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$D]]);
|
|
3089
3089
|
const throttle = (func, wait, type) => {
|
|
3090
3090
|
if (type === 1) {
|
|
3091
3091
|
var previous = 0;
|
|
@@ -3111,8 +3111,8 @@ const throttle = (func, wait, type) => {
|
|
|
3111
3111
|
}
|
|
3112
3112
|
};
|
|
3113
3113
|
};
|
|
3114
|
-
const { create: create$
|
|
3115
|
-
const _sfc_main$
|
|
3114
|
+
const { create: create$H } = createComponent("video");
|
|
3115
|
+
const _sfc_main$H = create$H({
|
|
3116
3116
|
props: {
|
|
3117
3117
|
source: {
|
|
3118
3118
|
type: Object,
|
|
@@ -3381,7 +3381,7 @@ const _hoisted_9$5 = {
|
|
|
3381
3381
|
const _hoisted_10$3 = { class: "duration-time" };
|
|
3382
3382
|
const _hoisted_11$3 = { class: "nut-video-error" };
|
|
3383
3383
|
const _hoisted_12$3 = /* @__PURE__ */ createElementVNode("p", { class: "lose" }, "\u89C6\u9891\u52A0\u8F7D\u5931\u8D25", -1);
|
|
3384
|
-
function _sfc_render$
|
|
3384
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3385
3385
|
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
3386
3386
|
createElementVNode("video", {
|
|
3387
3387
|
ref: "root",
|
|
@@ -3462,9 +3462,9 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3462
3462
|
])
|
|
3463
3463
|
], 512);
|
|
3464
3464
|
}
|
|
3465
|
-
var Video = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3466
|
-
const { create: create$
|
|
3467
|
-
const _sfc_main$
|
|
3465
|
+
var Video = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$C]]);
|
|
3466
|
+
const { create: create$G, componentName: componentName$u } = createComponent("steps");
|
|
3467
|
+
const _sfc_main$G = create$G({
|
|
3468
3468
|
props: {
|
|
3469
3469
|
direction: {
|
|
3470
3470
|
type: String,
|
|
@@ -3484,7 +3484,7 @@ const _sfc_main$H = create$H({
|
|
|
3484
3484
|
children: []
|
|
3485
3485
|
});
|
|
3486
3486
|
const classes = computed(() => {
|
|
3487
|
-
const prefixCls = componentName$
|
|
3487
|
+
const prefixCls = componentName$u;
|
|
3488
3488
|
return {
|
|
3489
3489
|
[prefixCls]: true,
|
|
3490
3490
|
[`${prefixCls}-${props.direction}`]: true,
|
|
@@ -3507,8 +3507,8 @@ const _sfc_main$H = create$H({
|
|
|
3507
3507
|
};
|
|
3508
3508
|
}
|
|
3509
3509
|
});
|
|
3510
|
-
const { create: create$
|
|
3511
|
-
const _sfc_main$
|
|
3510
|
+
const { create: create$F, componentName: componentName$t } = createComponent("step");
|
|
3511
|
+
const _sfc_main$F = create$F({
|
|
3512
3512
|
props: {
|
|
3513
3513
|
title: {
|
|
3514
3514
|
type: String,
|
|
@@ -3545,7 +3545,7 @@ const _sfc_main$G = create$G({
|
|
|
3545
3545
|
return getCurrentStatus();
|
|
3546
3546
|
});
|
|
3547
3547
|
const classes = computed(() => {
|
|
3548
|
-
const prefixCls = componentName$
|
|
3548
|
+
const prefixCls = componentName$t;
|
|
3549
3549
|
return {
|
|
3550
3550
|
[prefixCls]: true,
|
|
3551
3551
|
[`${prefixCls}-${status.value}`]: true
|
|
@@ -3566,7 +3566,7 @@ const _hoisted_3$g = {
|
|
|
3566
3566
|
const _hoisted_4$d = { class: "nut-step-main" };
|
|
3567
3567
|
const _hoisted_5$9 = { class: "nut-step-title" };
|
|
3568
3568
|
const _hoisted_6$7 = ["innerHTML"];
|
|
3569
|
-
function _sfc_render$
|
|
3569
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3570
3570
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
3571
3571
|
return openBlock(), createElementBlock("view", {
|
|
3572
3572
|
class: normalizeClass(_ctx.classes)
|
|
@@ -3594,7 +3594,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3594
3594
|
])
|
|
3595
3595
|
], 2);
|
|
3596
3596
|
}
|
|
3597
|
-
var Step = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3597
|
+
var Step = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$B]]);
|
|
3598
3598
|
const DISTANCE = 5;
|
|
3599
3599
|
function useTouch() {
|
|
3600
3600
|
const state = reactive({
|
|
@@ -3649,8 +3649,8 @@ function useExpose$1(apis) {
|
|
|
3649
3649
|
Object.assign(instance.proxy, apis);
|
|
3650
3650
|
}
|
|
3651
3651
|
}
|
|
3652
|
-
const { create: create$
|
|
3653
|
-
const _sfc_main$
|
|
3652
|
+
const { create: create$E, componentName: componentName$s } = createComponent("swiper");
|
|
3653
|
+
const _sfc_main$E = create$E({
|
|
3654
3654
|
props: {
|
|
3655
3655
|
width: {
|
|
3656
3656
|
type: [Number, String],
|
|
@@ -3719,7 +3719,7 @@ const _sfc_main$F = create$F({
|
|
|
3719
3719
|
});
|
|
3720
3720
|
const touch = useTouch();
|
|
3721
3721
|
const classes = computed(() => {
|
|
3722
|
-
const prefixCls = componentName$
|
|
3722
|
+
const prefixCls = componentName$s;
|
|
3723
3723
|
return {
|
|
3724
3724
|
[prefixCls]: true
|
|
3725
3725
|
};
|
|
@@ -3972,7 +3972,7 @@ const _sfc_main$F = create$F({
|
|
|
3972
3972
|
state,
|
|
3973
3973
|
classes,
|
|
3974
3974
|
container,
|
|
3975
|
-
componentName: componentName$
|
|
3975
|
+
componentName: componentName$s,
|
|
3976
3976
|
isVertical,
|
|
3977
3977
|
slots,
|
|
3978
3978
|
activePagination,
|
|
@@ -3982,7 +3982,7 @@ const _sfc_main$F = create$F({
|
|
|
3982
3982
|
};
|
|
3983
3983
|
}
|
|
3984
3984
|
});
|
|
3985
|
-
function _sfc_render$
|
|
3985
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3986
3986
|
return openBlock(), createElementBlock("view", {
|
|
3987
3987
|
ref: "container",
|
|
3988
3988
|
class: normalizeClass(_ctx.classes),
|
|
@@ -4019,15 +4019,15 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4019
4019
|
], 2)) : createCommentVNode("", true)
|
|
4020
4020
|
], 34);
|
|
4021
4021
|
}
|
|
4022
|
-
var Swiper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4022
|
+
var Swiper = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$A]]);
|
|
4023
4023
|
function useExpose(apis) {
|
|
4024
4024
|
const instance = getCurrentInstance();
|
|
4025
4025
|
if (instance) {
|
|
4026
4026
|
Object.assign(instance.proxy, apis);
|
|
4027
4027
|
}
|
|
4028
4028
|
}
|
|
4029
|
-
const { create: create$
|
|
4030
|
-
const _sfc_main$
|
|
4029
|
+
const { create: create$D, componentName: componentName$r } = createComponent("swiper-item");
|
|
4030
|
+
const _sfc_main$D = create$D({
|
|
4031
4031
|
props: {},
|
|
4032
4032
|
setup(props, { slots }) {
|
|
4033
4033
|
const parent = inject("parent");
|
|
@@ -4036,7 +4036,7 @@ const _sfc_main$E = create$E({
|
|
|
4036
4036
|
offset: 0
|
|
4037
4037
|
});
|
|
4038
4038
|
const classes = computed(() => {
|
|
4039
|
-
const prefixCls = componentName$
|
|
4039
|
+
const prefixCls = componentName$r;
|
|
4040
4040
|
return {
|
|
4041
4041
|
[prefixCls]: true
|
|
4042
4042
|
};
|
|
@@ -4062,7 +4062,7 @@ const _sfc_main$E = create$E({
|
|
|
4062
4062
|
};
|
|
4063
4063
|
}
|
|
4064
4064
|
});
|
|
4065
|
-
function _sfc_render$
|
|
4065
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4066
4066
|
return openBlock(), createElementBlock("view", {
|
|
4067
4067
|
class: normalizeClass(_ctx.classes),
|
|
4068
4068
|
style: normalizeStyle(_ctx.style)
|
|
@@ -4070,9 +4070,9 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4070
4070
|
renderSlot(_ctx.$slots, "default")
|
|
4071
4071
|
], 6);
|
|
4072
4072
|
}
|
|
4073
|
-
var SwiperItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4074
|
-
const { componentName: componentName$
|
|
4075
|
-
const _sfc_main$
|
|
4073
|
+
var SwiperItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$z]]);
|
|
4074
|
+
const { componentName: componentName$q, create: create$C } = createComponent("switch");
|
|
4075
|
+
const _sfc_main$C = create$C({
|
|
4076
4076
|
props: {
|
|
4077
4077
|
modelValue: {
|
|
4078
4078
|
type: Boolean,
|
|
@@ -4102,7 +4102,7 @@ const _sfc_main$D = create$D({
|
|
|
4102
4102
|
emits: ["change", "update:modelValue"],
|
|
4103
4103
|
setup(props, { emit }) {
|
|
4104
4104
|
const classes = computed(() => {
|
|
4105
|
-
const prefixCls = componentName$
|
|
4105
|
+
const prefixCls = componentName$q;
|
|
4106
4106
|
return {
|
|
4107
4107
|
[prefixCls]: true,
|
|
4108
4108
|
[props.modelValue ? "switch-open" : "switch-close"]: true,
|
|
@@ -4130,7 +4130,7 @@ const _sfc_main$D = create$D({
|
|
|
4130
4130
|
});
|
|
4131
4131
|
const _hoisted_1$s = { class: "switch-button" };
|
|
4132
4132
|
const _hoisted_2$n = { class: "close-line" };
|
|
4133
|
-
function _sfc_render$
|
|
4133
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4134
4134
|
return openBlock(), createElementBlock("view", {
|
|
4135
4135
|
class: normalizeClass(_ctx.classes),
|
|
4136
4136
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
@@ -4151,11 +4151,11 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4151
4151
|
])
|
|
4152
4152
|
], 6);
|
|
4153
4153
|
}
|
|
4154
|
-
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4155
|
-
const { create: create$
|
|
4156
|
-
const _sfc_main$
|
|
4154
|
+
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$y]]);
|
|
4155
|
+
const { create: create$B } = createComponent("toast");
|
|
4156
|
+
const _sfc_main$B = create$B({
|
|
4157
4157
|
components: {
|
|
4158
|
-
[_sfc_main$
|
|
4158
|
+
[_sfc_main$11.name]: _sfc_main$11
|
|
4159
4159
|
},
|
|
4160
4160
|
props: {
|
|
4161
4161
|
id: String,
|
|
@@ -4282,7 +4282,7 @@ const _hoisted_1$r = {
|
|
|
4282
4282
|
class: "nut-toast-icon-wrapper"
|
|
4283
4283
|
};
|
|
4284
4284
|
const _hoisted_2$m = ["innerHTML"];
|
|
4285
|
-
function _sfc_render$
|
|
4285
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4286
4286
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
4287
4287
|
return openBlock(), createBlock(Transition, {
|
|
4288
4288
|
name: "toast-fade",
|
|
@@ -4323,7 +4323,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4323
4323
|
_: 1
|
|
4324
4324
|
}, 8, ["onAfterLeave"]);
|
|
4325
4325
|
}
|
|
4326
|
-
var Toast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4326
|
+
var Toast = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$x]]);
|
|
4327
4327
|
const defaultOptions = {
|
|
4328
4328
|
msg: "",
|
|
4329
4329
|
id: "",
|
|
@@ -4439,8 +4439,8 @@ const ToastFunction = {
|
|
|
4439
4439
|
app.config.globalProperties.$toast = ToastFunction;
|
|
4440
4440
|
}
|
|
4441
4441
|
};
|
|
4442
|
-
const { create: create$
|
|
4443
|
-
const _sfc_main$
|
|
4442
|
+
const { create: create$A } = createComponent("progress");
|
|
4443
|
+
const _sfc_main$A = create$A({
|
|
4444
4444
|
props: {
|
|
4445
4445
|
percentage: {
|
|
4446
4446
|
type: [Number, String],
|
|
@@ -4517,7 +4517,7 @@ const _sfc_main$B = create$B({
|
|
|
4517
4517
|
}
|
|
4518
4518
|
});
|
|
4519
4519
|
const _hoisted_1$q = { class: "nut-progress" };
|
|
4520
|
-
function _sfc_render$
|
|
4520
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4521
4521
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
4522
4522
|
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
4523
4523
|
createElementVNode("div", {
|
|
@@ -4560,9 +4560,9 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4560
4560
|
], 4)) : createCommentVNode("", true)
|
|
4561
4561
|
]);
|
|
4562
4562
|
}
|
|
4563
|
-
var Progress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4564
|
-
const { componentName: componentName$
|
|
4565
|
-
const _sfc_main$
|
|
4563
|
+
var Progress = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$w]]);
|
|
4564
|
+
const { componentName: componentName$p, create: create$z } = createComponent("circleprogress");
|
|
4565
|
+
const _sfc_main$z = create$z({
|
|
4566
4566
|
props: {
|
|
4567
4567
|
progress: {
|
|
4568
4568
|
type: [Number, String],
|
|
@@ -4584,7 +4584,7 @@ const _sfc_main$A = create$A({
|
|
|
4584
4584
|
},
|
|
4585
4585
|
setup(props, { emit }) {
|
|
4586
4586
|
const classes = computed(() => {
|
|
4587
|
-
const prefixCls = componentName$
|
|
4587
|
+
const prefixCls = componentName$p;
|
|
4588
4588
|
return {
|
|
4589
4589
|
[prefixCls]: true
|
|
4590
4590
|
};
|
|
@@ -4622,7 +4622,7 @@ const _hoisted_1$p = ["height", "width"];
|
|
|
4622
4622
|
const _hoisted_2$l = ["r", "cx", "cy", "stroke", "stroke-width"];
|
|
4623
4623
|
const _hoisted_3$f = ["r", "cx", "cy", "stroke", "stroke-dasharray", "stroke-width", "transform"];
|
|
4624
4624
|
const _hoisted_4$c = { class: "nut-circleprogress-content" };
|
|
4625
|
-
function _sfc_render$
|
|
4625
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4626
4626
|
return openBlock(), createElementBlock("div", {
|
|
4627
4627
|
class: normalizeClass(_ctx.classes),
|
|
4628
4628
|
style: normalizeStyle({ height: _ctx.option.size + "px", width: _ctx.option.size + "px" })
|
|
@@ -4660,9 +4660,9 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4660
4660
|
])
|
|
4661
4661
|
], 6);
|
|
4662
4662
|
}
|
|
4663
|
-
var CircleProgress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4664
|
-
const { componentName: componentName$
|
|
4665
|
-
const _sfc_main$
|
|
4663
|
+
var CircleProgress = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$v]]);
|
|
4664
|
+
const { componentName: componentName$o, create: create$y } = createComponent("noticebar");
|
|
4665
|
+
const _sfc_main$y = create$y({
|
|
4666
4666
|
props: {
|
|
4667
4667
|
direction: {
|
|
4668
4668
|
type: String,
|
|
@@ -4728,7 +4728,7 @@ const _sfc_main$z = create$z({
|
|
|
4728
4728
|
},
|
|
4729
4729
|
emits: ["click", "close"],
|
|
4730
4730
|
setup(props, { emit, slots }) {
|
|
4731
|
-
console.log("componentName", componentName$
|
|
4731
|
+
console.log("componentName", componentName$o);
|
|
4732
4732
|
const wrap = ref(null);
|
|
4733
4733
|
const content = ref(null);
|
|
4734
4734
|
const state = reactive({
|
|
@@ -4745,7 +4745,7 @@ const _sfc_main$z = create$z({
|
|
|
4745
4745
|
keepAlive: false
|
|
4746
4746
|
});
|
|
4747
4747
|
const classes = computed(() => {
|
|
4748
|
-
const prefixCls = componentName$
|
|
4748
|
+
const prefixCls = componentName$o;
|
|
4749
4749
|
return {
|
|
4750
4750
|
[prefixCls]: true
|
|
4751
4751
|
};
|
|
@@ -4923,7 +4923,7 @@ const _hoisted_1$o = {
|
|
|
4923
4923
|
class: "wrap"
|
|
4924
4924
|
};
|
|
4925
4925
|
const _hoisted_2$k = ["onClick"];
|
|
4926
|
-
function _sfc_render$
|
|
4926
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4927
4927
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
4928
4928
|
const _component_ScrollItem = resolveComponent("ScrollItem");
|
|
4929
4929
|
return openBlock(), createElementBlock("view", {
|
|
@@ -5021,9 +5021,9 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5021
5021
|
], 4)) : createCommentVNode("", true)
|
|
5022
5022
|
], 2);
|
|
5023
5023
|
}
|
|
5024
|
-
var NoticeBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5025
|
-
const { componentName: componentName$
|
|
5026
|
-
const _sfc_main$
|
|
5024
|
+
var NoticeBar = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$u]]);
|
|
5025
|
+
const { componentName: componentName$n, create: create$x } = createComponent("navbar");
|
|
5026
|
+
const _sfc_main$x = create$x({
|
|
5027
5027
|
props: {
|
|
5028
5028
|
leftShow: { type: Boolean, default: true },
|
|
5029
5029
|
title: { type: String, default: "" },
|
|
@@ -5058,7 +5058,7 @@ const _sfc_main$y = create$y({
|
|
|
5058
5058
|
setup(props, { emit }) {
|
|
5059
5059
|
const activeIndex = ref(props.defaultIndex);
|
|
5060
5060
|
const classes = computed(() => {
|
|
5061
|
-
const prefixCls = componentName$
|
|
5061
|
+
const prefixCls = componentName$n;
|
|
5062
5062
|
return {
|
|
5063
5063
|
[prefixCls]: true
|
|
5064
5064
|
};
|
|
@@ -5106,7 +5106,7 @@ const _sfc_main$y = create$y({
|
|
|
5106
5106
|
const _hoisted_1$n = { class: "nut-navbar__left" };
|
|
5107
5107
|
const _hoisted_2$j = { class: "tab-title" };
|
|
5108
5108
|
const _hoisted_3$e = ["onClick"];
|
|
5109
|
-
function _sfc_render$
|
|
5109
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5110
5110
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
5111
5111
|
return openBlock(), createElementBlock("view", {
|
|
5112
5112
|
class: normalizeClass(_ctx.classes)
|
|
@@ -5172,9 +5172,9 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5172
5172
|
], 2)) : createCommentVNode("", true)
|
|
5173
5173
|
], 2);
|
|
5174
5174
|
}
|
|
5175
|
-
var Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5176
|
-
const { componentName: componentName$
|
|
5177
|
-
const _sfc_main$
|
|
5175
|
+
var Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$t]]);
|
|
5176
|
+
const { componentName: componentName$m, create: create$w } = createComponent("fixednav");
|
|
5177
|
+
const _sfc_main$w = create$w({
|
|
5178
5178
|
components: {
|
|
5179
5179
|
[OverLay.name]: OverLay
|
|
5180
5180
|
},
|
|
@@ -5217,7 +5217,7 @@ const _sfc_main$x = create$x({
|
|
|
5217
5217
|
emits: ["update:visible", "selected"],
|
|
5218
5218
|
setup(props, { emit }) {
|
|
5219
5219
|
const classes = computed(() => {
|
|
5220
|
-
const prefixCls = componentName$
|
|
5220
|
+
const prefixCls = componentName$m;
|
|
5221
5221
|
return {
|
|
5222
5222
|
[prefixCls]: true,
|
|
5223
5223
|
active: props.visible,
|
|
@@ -5245,7 +5245,7 @@ const _hoisted_5$8 = {
|
|
|
5245
5245
|
class: "b"
|
|
5246
5246
|
};
|
|
5247
5247
|
const _hoisted_6$6 = { class: "text" };
|
|
5248
|
-
function _sfc_render$
|
|
5248
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5249
5249
|
const _component_nut_overlay = resolveComponent("nut-overlay");
|
|
5250
5250
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
5251
5251
|
return openBlock(), createElementBlock("view", {
|
|
@@ -5289,7 +5289,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5289
5289
|
])
|
|
5290
5290
|
], 6);
|
|
5291
5291
|
}
|
|
5292
|
-
var FixedNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5292
|
+
var FixedNav = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$s]]);
|
|
5293
5293
|
var TabTitle = {
|
|
5294
5294
|
setup(props) {
|
|
5295
5295
|
return () => h(`view`, {}, props.slots);
|
|
@@ -5298,8 +5298,8 @@ var TabTitle = {
|
|
|
5298
5298
|
slots: Object
|
|
5299
5299
|
}
|
|
5300
5300
|
};
|
|
5301
|
-
const { create: create$
|
|
5302
|
-
const _sfc_main$
|
|
5301
|
+
const { create: create$v } = createComponent("tab");
|
|
5302
|
+
const _sfc_main$v = create$v({
|
|
5303
5303
|
props: {
|
|
5304
5304
|
defaultIndex: {
|
|
5305
5305
|
type: Number,
|
|
@@ -5410,7 +5410,7 @@ const _hoisted_1$l = { class: "nutui-tab" };
|
|
|
5410
5410
|
const _hoisted_2$h = ["onClick"];
|
|
5411
5411
|
const _hoisted_3$c = { class: "world" };
|
|
5412
5412
|
const _hoisted_4$a = /* @__PURE__ */ createElementVNode("view", { class: "underline" }, null, -1);
|
|
5413
|
-
function _sfc_render$
|
|
5413
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5414
5414
|
const _component_TabTitle = resolveComponent("TabTitle");
|
|
5415
5415
|
const _component_nut_swiper = resolveComponent("nut-swiper");
|
|
5416
5416
|
return openBlock(), createElementBlock("view", _hoisted_1$l, [
|
|
@@ -5459,9 +5459,9 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5459
5459
|
], 2)
|
|
5460
5460
|
]);
|
|
5461
5461
|
}
|
|
5462
|
-
var Tab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5463
|
-
const { create: create$
|
|
5464
|
-
const _sfc_main$
|
|
5462
|
+
var Tab = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$r]]);
|
|
5463
|
+
const { create: create$u } = createComponent("tab-panel");
|
|
5464
|
+
const _sfc_main$u = create$u({
|
|
5465
5465
|
props: {
|
|
5466
5466
|
tabTitle: {
|
|
5467
5467
|
type: String,
|
|
@@ -5471,7 +5471,7 @@ const _sfc_main$v = create$v({
|
|
|
5471
5471
|
setup(props, ctx) {
|
|
5472
5472
|
}
|
|
5473
5473
|
});
|
|
5474
|
-
function _sfc_render$
|
|
5474
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5475
5475
|
const _component_nut_swiper_item = resolveComponent("nut-swiper-item");
|
|
5476
5476
|
return openBlock(), createBlock(_component_nut_swiper_item, null, {
|
|
5477
5477
|
default: withCtx(() => [
|
|
@@ -5480,9 +5480,9 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5480
5480
|
_: 3
|
|
5481
5481
|
});
|
|
5482
5482
|
}
|
|
5483
|
-
var TabPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5484
|
-
const { create: create$
|
|
5485
|
-
const _sfc_main$
|
|
5483
|
+
var TabPanel = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$q]]);
|
|
5484
|
+
const { create: create$t, componentName: componentName$l } = createComponent("menu-item");
|
|
5485
|
+
const _sfc_main$t = create$t({
|
|
5486
5486
|
props: {
|
|
5487
5487
|
title: {
|
|
5488
5488
|
type: String,
|
|
@@ -5522,7 +5522,7 @@ const _sfc_main$u = create$u({
|
|
|
5522
5522
|
showMask: false
|
|
5523
5523
|
});
|
|
5524
5524
|
const classes = computed(() => {
|
|
5525
|
-
const prefixCls = componentName$
|
|
5525
|
+
const prefixCls = componentName$l;
|
|
5526
5526
|
return {
|
|
5527
5527
|
[prefixCls]: true,
|
|
5528
5528
|
disabled: props.disabled,
|
|
@@ -5581,7 +5581,7 @@ const _sfc_main$u = create$u({
|
|
|
5581
5581
|
});
|
|
5582
5582
|
const _hoisted_1$k = ["innerHTML"];
|
|
5583
5583
|
const _hoisted_2$g = ["onClick"];
|
|
5584
|
-
function _sfc_render$
|
|
5584
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5585
5585
|
const _component_nut_popup = resolveComponent("nut-popup");
|
|
5586
5586
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
5587
5587
|
return openBlock(), createElementBlock("view", {
|
|
@@ -5632,9 +5632,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5632
5632
|
], 4)
|
|
5633
5633
|
], 2);
|
|
5634
5634
|
}
|
|
5635
|
-
var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5636
|
-
const { create: create$
|
|
5637
|
-
const _sfc_main$
|
|
5635
|
+
var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$p]]);
|
|
5636
|
+
const { create: create$s } = createComponent("tabbar");
|
|
5637
|
+
const _sfc_main$s = create$s({
|
|
5638
5638
|
props: {
|
|
5639
5639
|
visible: {
|
|
5640
5640
|
type: [Number, String],
|
|
@@ -5689,16 +5689,16 @@ const _sfc_main$t = create$t({
|
|
|
5689
5689
|
};
|
|
5690
5690
|
}
|
|
5691
5691
|
});
|
|
5692
|
-
function _sfc_render$
|
|
5692
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5693
5693
|
return openBlock(), createElementBlock("view", {
|
|
5694
5694
|
class: normalizeClass(["nut-tabbar", { "nut-tabbar-bottom": _ctx.bottom }])
|
|
5695
5695
|
}, [
|
|
5696
5696
|
renderSlot(_ctx.$slots, "default")
|
|
5697
5697
|
], 2);
|
|
5698
5698
|
}
|
|
5699
|
-
var Tabbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5700
|
-
const { create: create$
|
|
5701
|
-
const _sfc_main$
|
|
5699
|
+
var Tabbar = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$o]]);
|
|
5700
|
+
const { create: create$r } = createComponent("tabbar-item");
|
|
5701
|
+
const _sfc_main$r = create$r({
|
|
5702
5702
|
props: {
|
|
5703
5703
|
tabTitle: {
|
|
5704
5704
|
type: String,
|
|
@@ -5790,7 +5790,7 @@ const _hoisted_3$b = {
|
|
|
5790
5790
|
class: "nut-tabbar-item_icon-box_tips nut-tabbar-item_icon-box_nums"
|
|
5791
5791
|
};
|
|
5792
5792
|
const _hoisted_4$9 = { key: 2 };
|
|
5793
|
-
function _sfc_render$
|
|
5793
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5794
5794
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
5795
5795
|
return openBlock(), createElementBlock("div", {
|
|
5796
5796
|
class: normalizeClass(["nut-tabbar-item", { "nut-tabbar-item__icon--unactive": _ctx.state.active != _ctx.state.index }]),
|
|
@@ -5828,9 +5828,9 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5828
5828
|
])
|
|
5829
5829
|
], 6);
|
|
5830
5830
|
}
|
|
5831
|
-
var TabbarItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5832
|
-
const { componentName: componentName$
|
|
5833
|
-
const _sfc_main$
|
|
5831
|
+
var TabbarItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$n]]);
|
|
5832
|
+
const { componentName: componentName$k, create: create$q } = createComponent("elevator");
|
|
5833
|
+
const _sfc_main$q = create$q({
|
|
5834
5834
|
props: {
|
|
5835
5835
|
height: {
|
|
5836
5836
|
type: [Number, String],
|
|
@@ -5863,7 +5863,7 @@ const _sfc_main$r = create$r({
|
|
|
5863
5863
|
currentIndex: 0
|
|
5864
5864
|
});
|
|
5865
5865
|
const classes = computed(() => {
|
|
5866
|
-
const prefixCls = componentName$
|
|
5866
|
+
const prefixCls = componentName$k;
|
|
5867
5867
|
return {
|
|
5868
5868
|
[prefixCls]: true
|
|
5869
5869
|
};
|
|
@@ -5956,7 +5956,7 @@ const _hoisted_1$i = { class: "nut-elevator__list__item__code" };
|
|
|
5956
5956
|
const _hoisted_2$e = ["onClick"];
|
|
5957
5957
|
const _hoisted_3$a = { class: "nut-elevator__bars__inner" };
|
|
5958
5958
|
const _hoisted_4$8 = ["data-index", "onClick"];
|
|
5959
|
-
function _sfc_render$
|
|
5959
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5960
5960
|
return openBlock(), createElementBlock("view", {
|
|
5961
5961
|
class: normalizeClass(_ctx.classes)
|
|
5962
5962
|
}, [
|
|
@@ -6007,9 +6007,9 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6007
6007
|
], 32)
|
|
6008
6008
|
], 2);
|
|
6009
6009
|
}
|
|
6010
|
-
var Elevator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6011
|
-
const { componentName: componentName$
|
|
6012
|
-
const _sfc_main$
|
|
6010
|
+
var Elevator = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$m]]);
|
|
6011
|
+
const { componentName: componentName$j, create: create$p } = createComponent("pagination");
|
|
6012
|
+
const _sfc_main$p = create$p({
|
|
6013
6013
|
props: {
|
|
6014
6014
|
modelValue: {
|
|
6015
6015
|
type: Number,
|
|
@@ -6125,7 +6125,7 @@ const _hoisted_4$7 = {
|
|
|
6125
6125
|
class: "nut-pagination-contain"
|
|
6126
6126
|
};
|
|
6127
6127
|
const _hoisted_5$7 = { class: "nut-pagination-simple" };
|
|
6128
|
-
function _sfc_render$
|
|
6128
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6129
6129
|
return openBlock(), createElementBlock("view", _hoisted_1$h, [
|
|
6130
6130
|
createElementVNode("view", {
|
|
6131
6131
|
class: normalizeClass(["nut-pagination-prev", _ctx.mode == "multi" ? "" : "simple-border", _ctx.modelValue == 1 ? "disabled" : ""]),
|
|
@@ -6161,43 +6161,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6161
6161
|
], 2)
|
|
6162
6162
|
]);
|
|
6163
6163
|
}
|
|
6164
|
-
var Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6165
|
-
const { componentName: componentName$j, create: create$p } = createComponent("tabs");
|
|
6166
|
-
const _sfc_main$p = create$p({
|
|
6167
|
-
props: {
|
|
6168
|
-
modelValue: {
|
|
6169
|
-
type: String,
|
|
6170
|
-
default: ""
|
|
6171
|
-
},
|
|
6172
|
-
color: {
|
|
6173
|
-
type: String,
|
|
6174
|
-
default: ""
|
|
6175
|
-
},
|
|
6176
|
-
background: {
|
|
6177
|
-
type: String,
|
|
6178
|
-
default: ""
|
|
6179
|
-
},
|
|
6180
|
-
animated: {
|
|
6181
|
-
type: Boolean,
|
|
6182
|
-
default: false
|
|
6183
|
-
}
|
|
6184
|
-
},
|
|
6185
|
-
components: {},
|
|
6186
|
-
emits: ["click"],
|
|
6187
|
-
setup(props, { emit }) {
|
|
6188
|
-
return {};
|
|
6189
|
-
}
|
|
6190
|
-
});
|
|
6191
|
-
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6192
|
-
return openBlock(), createElementBlock("view", {
|
|
6193
|
-
class: normalizeClass(_ctx.classes),
|
|
6194
|
-
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
6195
|
-
}, [
|
|
6196
|
-
createElementVNode("view", null, toDisplayString(_ctx.name), 1),
|
|
6197
|
-
createElementVNode("view", null, toDisplayString(_ctx.txt), 1)
|
|
6198
|
-
], 2);
|
|
6199
|
-
}
|
|
6200
|
-
var Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$l]]);
|
|
6164
|
+
var Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$l]]);
|
|
6201
6165
|
const { componentName: componentName$i, create: create$o } = createComponent("tabpane");
|
|
6202
6166
|
const _sfc_main$o = create$o({
|
|
6203
6167
|
props: {
|
|
@@ -6908,7 +6872,7 @@ var Calendar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$
|
|
|
6908
6872
|
const { create: create$l, componentName: componentName$h } = createComponent("checkbox");
|
|
6909
6873
|
const _sfc_main$l = create$l({
|
|
6910
6874
|
components: {
|
|
6911
|
-
nutIcon: _sfc_main$
|
|
6875
|
+
nutIcon: _sfc_main$11
|
|
6912
6876
|
},
|
|
6913
6877
|
props: {
|
|
6914
6878
|
modelValue: {
|
|
@@ -6964,7 +6928,7 @@ const _sfc_main$l = create$l({
|
|
|
6964
6928
|
};
|
|
6965
6929
|
const renderIcon = () => {
|
|
6966
6930
|
const { iconName, iconSize, iconActiveName } = props;
|
|
6967
|
-
return h(_sfc_main$
|
|
6931
|
+
return h(_sfc_main$11, {
|
|
6968
6932
|
name: !pValue.value ? iconName : iconActiveName,
|
|
6969
6933
|
size: iconSize,
|
|
6970
6934
|
class: color.value
|
|
@@ -8130,7 +8094,7 @@ const _sfc_main$e = create$e({
|
|
|
8130
8094
|
});
|
|
8131
8095
|
const renderIcon = () => {
|
|
8132
8096
|
const { iconName, iconSize, iconActiveName } = props;
|
|
8133
|
-
return h(_sfc_main$
|
|
8097
|
+
return h(_sfc_main$11, {
|
|
8134
8098
|
name: isCurValue.value ? iconActiveName : iconName,
|
|
8135
8099
|
size: iconSize,
|
|
8136
8100
|
class: color.value
|
|
@@ -11016,7 +10980,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11016
10980
|
}
|
|
11017
10981
|
var Signature = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
11018
10982
|
function install(app) {
|
|
11019
|
-
const packages = [Avatar, Button, Cell, CellGroup, _sfc_main$
|
|
10983
|
+
const packages = [Avatar, Button, Cell, CellGroup, _sfc_main$11, Price, OverLay, Divider, _sfc_main$W, Col, Row, ImagePreview, Swipe, ActionSheet, BackTop, Collapse, CollapseItem, Drag, _Dialog, InfiniteLoading, NotifyFunction, Range, Video, Popup, _sfc_main$G, Step, Swiper, SwiperItem, Switch, ToastFunction, Progress, CircleProgress, NoticeBar, Navbar, FixedNav, Tab, TabPanel, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, TabPane, Calendar, _sfc_main$l, _sfc_main$k, DatePicker, InputNumber, Input, _sfc_main$e, _sfc_main$d, Rate, Picker, ShortPassword, TextArea, Uploader, CountUp, NumberKeyboard, CountDown, Badge, Tag, Popover, Address, Barrage, Signature];
|
|
11020
10984
|
packages.forEach((item) => {
|
|
11021
10985
|
if (item.install) {
|
|
11022
10986
|
app.use(item);
|
|
@@ -11025,6 +10989,6 @@ function install(app) {
|
|
|
11025
10989
|
}
|
|
11026
10990
|
});
|
|
11027
10991
|
}
|
|
11028
|
-
const version = "3.1.7
|
|
10992
|
+
const version = "3.1.7";
|
|
11029
10993
|
var nutui_vue_build = { install, version };
|
|
11030
|
-
export { ActionSheet, Address, Avatar, BackTop, Badge, Barrage, Button, Calendar, Cell, CellGroup, _sfc_main$l as Checkbox, _sfc_main$k as CheckboxGroup, CircleProgress, Col, Collapse, CollapseItem, CountDown, CountUp, DatePicker, _Dialog as Dialog, Divider, Drag, Elevator, FixedNav, _sfc_main$
|
|
10994
|
+
export { ActionSheet, Address, Avatar, BackTop, Badge, Barrage, Button, Calendar, Cell, CellGroup, _sfc_main$l as Checkbox, _sfc_main$k as CheckboxGroup, CircleProgress, Col, Collapse, CollapseItem, CountDown, CountUp, DatePicker, _Dialog as Dialog, Divider, Drag, Elevator, FixedNav, _sfc_main$11 as Icon, ImagePreview, InfiniteLoading, Input, InputNumber, _sfc_main$W as Layout, MenuItem, Navbar, NoticeBar, NotifyFunction as Notify, NumberKeyboard, OverLay, Pagination, Picker, Popover, Popup, Price, Progress, _sfc_main$e as Radio, _sfc_main$d as RadioGroup, Range, Rate, Row, ShortPassword, Signature, Step, _sfc_main$G as Steps, Swipe, Swiper, SwiperItem, Switch, Tab, TabPane, TabPanel, Tabbar, TabbarItem, Tag, TextArea, ToastFunction as Toast, Uploader, Video, nutui_vue_build as default, install, version };
|