@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.umd.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
|
*/
|
|
@@ -59,8 +59,8 @@ var __publicField = (obj, key, value) => {
|
|
|
59
59
|
}
|
|
60
60
|
return sfc;
|
|
61
61
|
};
|
|
62
|
-
const { componentName: componentName$
|
|
63
|
-
const _sfc_main$
|
|
62
|
+
const { componentName: componentName$P, create: create$12 } = createComponent("avatar");
|
|
63
|
+
const _sfc_main$12 = create$12({
|
|
64
64
|
props: {
|
|
65
65
|
size: {
|
|
66
66
|
type: String,
|
|
@@ -84,7 +84,7 @@ var __publicField = (obj, key, value) => {
|
|
|
84
84
|
const { size, shape, bgColor, icon } = vue.toRefs(props);
|
|
85
85
|
const sizeValue = ["large", "normal", "small"];
|
|
86
86
|
const classes = vue.computed(() => {
|
|
87
|
-
const prefixCls = componentName$
|
|
87
|
+
const prefixCls = componentName$P;
|
|
88
88
|
return {
|
|
89
89
|
[prefixCls]: true,
|
|
90
90
|
["avatar-" + size.value]: true,
|
|
@@ -120,7 +120,7 @@ var __publicField = (obj, key, value) => {
|
|
|
120
120
|
key: 0,
|
|
121
121
|
class: "text"
|
|
122
122
|
};
|
|
123
|
-
function _sfc_render$
|
|
123
|
+
function _sfc_render$X(_ctx, _cache, $props, $setup, $data, $options) {
|
|
124
124
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
125
125
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
126
126
|
style: vue.normalizeStyle(_ctx.styles),
|
|
@@ -136,12 +136,12 @@ var __publicField = (obj, key, value) => {
|
|
|
136
136
|
])) : vue.createCommentVNode("", true)
|
|
137
137
|
], 6);
|
|
138
138
|
}
|
|
139
|
-
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
139
|
+
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$X]]);
|
|
140
140
|
const pxCheck = (value) => {
|
|
141
141
|
return isNaN(Number(value)) ? String(value) : `${value}px`;
|
|
142
142
|
};
|
|
143
|
-
const { componentName: componentName$
|
|
144
|
-
const _sfc_main$
|
|
143
|
+
const { componentName: componentName$O, create: create$11 } = createComponent("icon");
|
|
144
|
+
const _sfc_main$11 = create$11({
|
|
145
145
|
props: {
|
|
146
146
|
name: { type: String, default: "" },
|
|
147
147
|
size: { type: [String, Number], default: "" },
|
|
@@ -162,7 +162,7 @@ var __publicField = (obj, key, value) => {
|
|
|
162
162
|
var _a;
|
|
163
163
|
const _isImage = isImage();
|
|
164
164
|
return vue.h(_isImage ? "img" : props.tag, {
|
|
165
|
-
class: _isImage ? `${componentName$
|
|
165
|
+
class: _isImage ? `${componentName$O}__img` : `${props.fontClassName} ${componentName$O} ${props.classPrefix}-${props.name}`,
|
|
166
166
|
style: {
|
|
167
167
|
color: props.color,
|
|
168
168
|
fontSize: pxCheck(props.size),
|
|
@@ -175,10 +175,10 @@ var __publicField = (obj, key, value) => {
|
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
177
|
});
|
|
178
|
-
const { componentName: componentName$
|
|
179
|
-
const _sfc_main$
|
|
178
|
+
const { componentName: componentName$N, create: create$10 } = createComponent("button");
|
|
179
|
+
const _sfc_main$10 = create$10({
|
|
180
180
|
components: {
|
|
181
|
-
[_sfc_main$
|
|
181
|
+
[_sfc_main$11.name]: _sfc_main$11
|
|
182
182
|
},
|
|
183
183
|
props: {
|
|
184
184
|
color: String,
|
|
@@ -224,7 +224,7 @@ var __publicField = (obj, key, value) => {
|
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
226
|
const classes = vue.computed(() => {
|
|
227
|
-
const prefixCls = componentName$
|
|
227
|
+
const prefixCls = componentName$N;
|
|
228
228
|
return {
|
|
229
229
|
[prefixCls]: true,
|
|
230
230
|
[`${prefixCls}--${type.value}`]: type.value,
|
|
@@ -261,7 +261,7 @@ var __publicField = (obj, key, value) => {
|
|
|
261
261
|
}
|
|
262
262
|
});
|
|
263
263
|
const _hoisted_1$F = { class: "nut-button__warp" };
|
|
264
|
-
function _sfc_render$
|
|
264
|
+
function _sfc_render$W(_ctx, _cache, $props, $setup, $data, $options) {
|
|
265
265
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
266
266
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
267
267
|
class: vue.normalizeClass(_ctx.classes),
|
|
@@ -287,9 +287,9 @@ var __publicField = (obj, key, value) => {
|
|
|
287
287
|
])
|
|
288
288
|
], 6);
|
|
289
289
|
}
|
|
290
|
-
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
291
|
-
const { componentName: componentName$
|
|
292
|
-
const _sfc_main
|
|
290
|
+
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$W]]);
|
|
291
|
+
const { componentName: componentName$M, create: create$$ } = createComponent("cell");
|
|
292
|
+
const _sfc_main$$ = create$$({
|
|
293
293
|
props: {
|
|
294
294
|
title: { type: String, default: "" },
|
|
295
295
|
subTitle: { type: String, default: "" },
|
|
@@ -305,7 +305,7 @@ var __publicField = (obj, key, value) => {
|
|
|
305
305
|
emits: ["click"],
|
|
306
306
|
setup(props, { emit }) {
|
|
307
307
|
const classes = vue.computed(() => {
|
|
308
|
-
const prefixCls = componentName$
|
|
308
|
+
const prefixCls = componentName$M;
|
|
309
309
|
return {
|
|
310
310
|
[prefixCls]: true,
|
|
311
311
|
[`${prefixCls}--clickable`]: props.isLink || props.to
|
|
@@ -334,7 +334,7 @@ var __publicField = (obj, key, value) => {
|
|
|
334
334
|
});
|
|
335
335
|
const _hoisted_1$E = { class: "title" };
|
|
336
336
|
const _hoisted_2$z = { class: "nut-cell__title-desc" };
|
|
337
|
-
function _sfc_render$
|
|
337
|
+
function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
|
|
338
338
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
339
339
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
340
340
|
class: vue.normalizeClass(_ctx.classes),
|
|
@@ -371,15 +371,15 @@ var __publicField = (obj, key, value) => {
|
|
|
371
371
|
])
|
|
372
372
|
], 6);
|
|
373
373
|
}
|
|
374
|
-
var Cell = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
375
|
-
const { componentName: componentName$
|
|
376
|
-
const _sfc_main
|
|
374
|
+
var Cell = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$V]]);
|
|
375
|
+
const { componentName: componentName$L, create: create$_ } = createComponent("cell-group");
|
|
376
|
+
const _sfc_main$_ = create$_({
|
|
377
377
|
props: {
|
|
378
378
|
title: { type: String, default: "" }
|
|
379
379
|
},
|
|
380
380
|
setup() {
|
|
381
381
|
const classes = vue.computed(() => {
|
|
382
|
-
const prefixCls = componentName$
|
|
382
|
+
const prefixCls = componentName$L;
|
|
383
383
|
return {
|
|
384
384
|
[prefixCls]: true
|
|
385
385
|
};
|
|
@@ -394,7 +394,7 @@ var __publicField = (obj, key, value) => {
|
|
|
394
394
|
class: "nut-cell-group__title"
|
|
395
395
|
};
|
|
396
396
|
const _hoisted_2$y = { class: "nut-cell-group__warp" };
|
|
397
|
-
function _sfc_render$
|
|
397
|
+
function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
|
|
398
398
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
399
399
|
class: vue.normalizeClass(_ctx.classes)
|
|
400
400
|
}, [
|
|
@@ -404,9 +404,9 @@ var __publicField = (obj, key, value) => {
|
|
|
404
404
|
])
|
|
405
405
|
], 2);
|
|
406
406
|
}
|
|
407
|
-
var CellGroup = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
408
|
-
const { componentName: componentName$
|
|
409
|
-
const _sfc_main$
|
|
407
|
+
var CellGroup = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$U]]);
|
|
408
|
+
const { componentName: componentName$K, create: create$Z } = createComponent("price");
|
|
409
|
+
const _sfc_main$Z = create$Z({
|
|
410
410
|
props: {
|
|
411
411
|
price: {
|
|
412
412
|
type: [Number, String],
|
|
@@ -432,7 +432,7 @@ var __publicField = (obj, key, value) => {
|
|
|
432
432
|
setup(props) {
|
|
433
433
|
const classes = vue.computed(() => {
|
|
434
434
|
return {
|
|
435
|
-
[componentName$
|
|
435
|
+
[componentName$K]: true
|
|
436
436
|
};
|
|
437
437
|
});
|
|
438
438
|
const showSymbol = vue.computed(() => {
|
|
@@ -485,7 +485,7 @@ var __publicField = (obj, key, value) => {
|
|
|
485
485
|
const _hoisted_2$x = { class: "nut-price--big" };
|
|
486
486
|
const _hoisted_3$p = /* @__PURE__ */ vue.createElementVNode("view", { class: "nut-price--point" }, ".", -1);
|
|
487
487
|
const _hoisted_4$j = { class: "nut-price--small" };
|
|
488
|
-
function _sfc_render$
|
|
488
|
+
function _sfc_render$T(_ctx, _cache, $props, $setup, $data, $options) {
|
|
489
489
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
490
490
|
class: vue.normalizeClass(_ctx.classes)
|
|
491
491
|
}, [
|
|
@@ -499,8 +499,8 @@ var __publicField = (obj, key, value) => {
|
|
|
499
499
|
vue.createElementVNode("view", _hoisted_4$j, vue.toDisplayString(_ctx.formatDecimal(_ctx.price)), 1)
|
|
500
500
|
], 2);
|
|
501
501
|
}
|
|
502
|
-
var Price = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
503
|
-
const { componentName: componentName$
|
|
502
|
+
var Price = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$T]]);
|
|
503
|
+
const { componentName: componentName$J, create: create$Y } = createComponent("overlay");
|
|
504
504
|
const overlayProps = {
|
|
505
505
|
visible: {
|
|
506
506
|
type: Boolean,
|
|
@@ -530,12 +530,12 @@ var __publicField = (obj, key, value) => {
|
|
|
530
530
|
default: true
|
|
531
531
|
}
|
|
532
532
|
};
|
|
533
|
-
const _sfc_main$
|
|
533
|
+
const _sfc_main$Y = create$Y({
|
|
534
534
|
props: overlayProps,
|
|
535
535
|
emits: ["click", "update:visible"],
|
|
536
536
|
setup(props, { emit }) {
|
|
537
537
|
const classes = vue.computed(() => {
|
|
538
|
-
const prefixCls = componentName$
|
|
538
|
+
const prefixCls = componentName$J;
|
|
539
539
|
return {
|
|
540
540
|
[prefixCls]: true,
|
|
541
541
|
[props.overlayClass]: true
|
|
@@ -575,7 +575,7 @@ var __publicField = (obj, key, value) => {
|
|
|
575
575
|
return { classes, style, touchmove, onClick };
|
|
576
576
|
}
|
|
577
577
|
});
|
|
578
|
-
function _sfc_render$
|
|
578
|
+
function _sfc_render$S(_ctx, _cache, $props, $setup, $data, $options) {
|
|
579
579
|
return vue.openBlock(), vue.createBlock(vue.Transition, { name: "overlay-fade" }, {
|
|
580
580
|
default: vue.withCtx(() => [
|
|
581
581
|
vue.withDirectives(vue.createElementVNode("view", {
|
|
@@ -592,9 +592,9 @@ var __publicField = (obj, key, value) => {
|
|
|
592
592
|
_: 3
|
|
593
593
|
});
|
|
594
594
|
}
|
|
595
|
-
var OverLay = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
596
|
-
const { componentName: componentName$
|
|
597
|
-
const _sfc_main$
|
|
595
|
+
var OverLay = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$S]]);
|
|
596
|
+
const { componentName: componentName$I, create: create$X } = createComponent("divider");
|
|
597
|
+
const _sfc_main$X = create$X({
|
|
598
598
|
props: {
|
|
599
599
|
contentPosition: {
|
|
600
600
|
type: String,
|
|
@@ -612,7 +612,7 @@ var __publicField = (obj, key, value) => {
|
|
|
612
612
|
components: {},
|
|
613
613
|
setup(props, context) {
|
|
614
614
|
const classes = vue.computed(() => {
|
|
615
|
-
const prefixCls = componentName$
|
|
615
|
+
const prefixCls = componentName$I;
|
|
616
616
|
return {
|
|
617
617
|
[prefixCls]: true,
|
|
618
618
|
[`${prefixCls}-center`]: context.slots.default,
|
|
@@ -625,18 +625,18 @@ var __publicField = (obj, key, value) => {
|
|
|
625
625
|
return { classes };
|
|
626
626
|
}
|
|
627
627
|
});
|
|
628
|
-
function _sfc_render$
|
|
628
|
+
function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
|
|
629
629
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
630
630
|
class: vue.normalizeClass(_ctx.classes)
|
|
631
631
|
}, [
|
|
632
632
|
vue.renderSlot(_ctx.$slots, "default")
|
|
633
633
|
], 2);
|
|
634
634
|
}
|
|
635
|
-
var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
636
|
-
const { create: create$
|
|
637
|
-
const _sfc_main$
|
|
638
|
-
const { componentName: componentName$
|
|
639
|
-
const _sfc_main$
|
|
635
|
+
var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$R]]);
|
|
636
|
+
const { create: create$W } = createComponent("layout");
|
|
637
|
+
const _sfc_main$W = create$W({});
|
|
638
|
+
const { componentName: componentName$H, create: create$V } = createComponent("col");
|
|
639
|
+
const _sfc_main$V = create$V({
|
|
640
640
|
props: {
|
|
641
641
|
span: {
|
|
642
642
|
type: [String, Number],
|
|
@@ -648,7 +648,7 @@ var __publicField = (obj, key, value) => {
|
|
|
648
648
|
}
|
|
649
649
|
},
|
|
650
650
|
setup(props) {
|
|
651
|
-
const prefixCls = componentName$
|
|
651
|
+
const prefixCls = componentName$H;
|
|
652
652
|
const gutter = vue.inject("gutter");
|
|
653
653
|
const classes = vue.computed(() => {
|
|
654
654
|
return {
|
|
@@ -670,7 +670,7 @@ var __publicField = (obj, key, value) => {
|
|
|
670
670
|
};
|
|
671
671
|
}
|
|
672
672
|
});
|
|
673
|
-
function _sfc_render$
|
|
673
|
+
function _sfc_render$Q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
674
674
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
675
675
|
class: vue.normalizeClass(_ctx.classes),
|
|
676
676
|
style: vue.normalizeStyle(_ctx.style)
|
|
@@ -678,9 +678,9 @@ var __publicField = (obj, key, value) => {
|
|
|
678
678
|
vue.renderSlot(_ctx.$slots, "default")
|
|
679
679
|
], 6);
|
|
680
680
|
}
|
|
681
|
-
var Col = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
682
|
-
const { componentName: componentName$
|
|
683
|
-
const _sfc_main$
|
|
681
|
+
var Col = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$Q]]);
|
|
682
|
+
const { componentName: componentName$G, create: create$U } = createComponent("row");
|
|
683
|
+
const _sfc_main$U = create$U({
|
|
684
684
|
props: {
|
|
685
685
|
type: {
|
|
686
686
|
type: String,
|
|
@@ -704,7 +704,7 @@ var __publicField = (obj, key, value) => {
|
|
|
704
704
|
}
|
|
705
705
|
},
|
|
706
706
|
setup(props) {
|
|
707
|
-
const prefixCls = componentName$
|
|
707
|
+
const prefixCls = componentName$G;
|
|
708
708
|
vue.provide("gutter", props.gutter);
|
|
709
709
|
const getClass = (prefix, type) => {
|
|
710
710
|
return prefix ? type ? `nut-row-${prefix}-${type}` : "" : `nut-row-${type}`;
|
|
@@ -723,16 +723,16 @@ var __publicField = (obj, key, value) => {
|
|
|
723
723
|
};
|
|
724
724
|
}
|
|
725
725
|
});
|
|
726
|
-
function _sfc_render$
|
|
726
|
+
function _sfc_render$P(_ctx, _cache, $props, $setup, $data, $options) {
|
|
727
727
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
728
728
|
class: vue.normalizeClass(_ctx.getClasses())
|
|
729
729
|
}, [
|
|
730
730
|
vue.renderSlot(_ctx.$slots, "default")
|
|
731
731
|
], 2);
|
|
732
732
|
}
|
|
733
|
-
var Row = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
734
|
-
const { componentName: componentName$
|
|
735
|
-
const _sfc_main$
|
|
733
|
+
var Row = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$P]]);
|
|
734
|
+
const { componentName: componentName$F, create: create$T } = createComponent("imagepreview");
|
|
735
|
+
const _sfc_main$T = create$T({
|
|
736
736
|
props: {
|
|
737
737
|
show: {
|
|
738
738
|
type: Boolean,
|
|
@@ -770,7 +770,7 @@ var __publicField = (obj, key, value) => {
|
|
|
770
770
|
const _hoisted_1$B = { class: "nut-imagepreview" };
|
|
771
771
|
const _hoisted_2$w = ["src"];
|
|
772
772
|
const _hoisted_3$o = { class: "nut-imagepreview-index" };
|
|
773
|
-
function _sfc_render$
|
|
773
|
+
function _sfc_render$O(_ctx, _cache, $props, $setup, $data, $options) {
|
|
774
774
|
const _component_nut_swiper_item = vue.resolveComponent("nut-swiper-item");
|
|
775
775
|
const _component_nut_swiper = vue.resolveComponent("nut-swiper");
|
|
776
776
|
const _component_nut_popup = vue.resolveComponent("nut-popup");
|
|
@@ -811,7 +811,7 @@ var __publicField = (obj, key, value) => {
|
|
|
811
811
|
}, 8, ["visible", "onClick"])
|
|
812
812
|
]);
|
|
813
813
|
}
|
|
814
|
-
var ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
814
|
+
var ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$O]]);
|
|
815
815
|
const MIN_DISTANCE = 10;
|
|
816
816
|
function getDirection(x, y) {
|
|
817
817
|
if (x > y && x > MIN_DISTANCE) {
|
|
@@ -869,8 +869,8 @@ var __publicField = (obj, key, value) => {
|
|
|
869
869
|
isHorizontal
|
|
870
870
|
};
|
|
871
871
|
}
|
|
872
|
-
const { componentName: componentName$
|
|
873
|
-
const _sfc_main$
|
|
872
|
+
const { componentName: componentName$E, create: create$S } = createComponent("swipe");
|
|
873
|
+
const _sfc_main$S = create$S({
|
|
874
874
|
props: {
|
|
875
875
|
name: {
|
|
876
876
|
type: String,
|
|
@@ -884,7 +884,7 @@ var __publicField = (obj, key, value) => {
|
|
|
884
884
|
emits: ["open", "close"],
|
|
885
885
|
setup(props, { emit }) {
|
|
886
886
|
const classes = vue.computed(() => {
|
|
887
|
-
const prefixCls = componentName$
|
|
887
|
+
const prefixCls = componentName$E;
|
|
888
888
|
return {
|
|
889
889
|
[prefixCls]: true
|
|
890
890
|
};
|
|
@@ -1012,7 +1012,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1012
1012
|
class: "nut-swipe__right",
|
|
1013
1013
|
ref: "rightRef"
|
|
1014
1014
|
};
|
|
1015
|
-
function _sfc_render$
|
|
1015
|
+
function _sfc_render$N(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1016
1016
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
1017
1017
|
class: vue.normalizeClass(_ctx.classes),
|
|
1018
1018
|
style: vue.normalizeStyle(_ctx.touchStyle),
|
|
@@ -1032,7 +1032,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1032
1032
|
], 512)
|
|
1033
1033
|
], 38);
|
|
1034
1034
|
}
|
|
1035
|
-
var Swipe = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1035
|
+
var Swipe = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$N]]);
|
|
1036
1036
|
let count = 0;
|
|
1037
1037
|
const CLSNAME = "nut-overflow-hidden";
|
|
1038
1038
|
const useLockScroll = (isLock) => {
|
|
@@ -1050,7 +1050,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1050
1050
|
};
|
|
1051
1051
|
return [lock, unlock];
|
|
1052
1052
|
};
|
|
1053
|
-
const { componentName: componentName$
|
|
1053
|
+
const { componentName: componentName$D, create: create$R } = createComponent("popup");
|
|
1054
1054
|
let _zIndex = 2e3;
|
|
1055
1055
|
const popupProps = __spreadProps(__spreadValues({}, overlayProps), {
|
|
1056
1056
|
position: {
|
|
@@ -1094,10 +1094,10 @@ var __publicField = (obj, key, value) => {
|
|
|
1094
1094
|
default: false
|
|
1095
1095
|
}
|
|
1096
1096
|
});
|
|
1097
|
-
const _sfc_main$
|
|
1097
|
+
const _sfc_main$R = create$R({
|
|
1098
1098
|
components: {
|
|
1099
1099
|
[OverLay.name]: OverLay,
|
|
1100
|
-
[_sfc_main$
|
|
1100
|
+
[_sfc_main$11.name]: _sfc_main$11
|
|
1101
1101
|
},
|
|
1102
1102
|
props: __spreadValues({}, popupProps),
|
|
1103
1103
|
emits: [
|
|
@@ -1120,7 +1120,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1120
1120
|
});
|
|
1121
1121
|
const [lockScroll, unlockScroll] = useLockScroll(() => props.lockScroll);
|
|
1122
1122
|
const classes = vue.computed(() => {
|
|
1123
|
-
const prefixCls = componentName$
|
|
1123
|
+
const prefixCls = componentName$D;
|
|
1124
1124
|
return {
|
|
1125
1125
|
[prefixCls]: true,
|
|
1126
1126
|
["round"]: props.round,
|
|
@@ -1224,7 +1224,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1224
1224
|
});
|
|
1225
1225
|
}
|
|
1226
1226
|
});
|
|
1227
|
-
function _sfc_render$
|
|
1227
|
+
function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1228
1228
|
const _component_nut_overlay = vue.resolveComponent("nut-overlay");
|
|
1229
1229
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
1230
1230
|
return vue.openBlock(), vue.createBlock(vue.Teleport, { to: _ctx.teleport }, [
|
|
@@ -1269,9 +1269,9 @@ var __publicField = (obj, key, value) => {
|
|
|
1269
1269
|
}, 8, ["name", "onAfterEnter", "onAfterLeave"])
|
|
1270
1270
|
], 8, ["to"]);
|
|
1271
1271
|
}
|
|
1272
|
-
var Popup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1273
|
-
const { componentName: componentName$
|
|
1274
|
-
const _sfc_main$
|
|
1272
|
+
var Popup = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$M]]);
|
|
1273
|
+
const { componentName: componentName$C, create: create$Q } = createComponent("actionsheet");
|
|
1274
|
+
const _sfc_main$Q = create$Q({
|
|
1275
1275
|
props: __spreadProps(__spreadValues({}, popupProps), {
|
|
1276
1276
|
cancelTxt: {
|
|
1277
1277
|
type: String,
|
|
@@ -1309,7 +1309,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1309
1309
|
emits: ["cancel", "choose", "update:visible"],
|
|
1310
1310
|
setup(props, { emit }) {
|
|
1311
1311
|
const classes = vue.computed(() => {
|
|
1312
|
-
const prefixCls = componentName$
|
|
1312
|
+
const prefixCls = componentName$C;
|
|
1313
1313
|
return {
|
|
1314
1314
|
[prefixCls]: true
|
|
1315
1315
|
};
|
|
@@ -1355,7 +1355,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1355
1355
|
};
|
|
1356
1356
|
const _hoisted_5$e = ["onClick"];
|
|
1357
1357
|
const _hoisted_6$c = { class: "subdesc" };
|
|
1358
|
-
function _sfc_render$
|
|
1358
|
+
function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1359
1359
|
const _component_nut_popup = vue.resolveComponent("nut-popup");
|
|
1360
1360
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
1361
1361
|
class: vue.normalizeClass(_ctx.classes)
|
|
@@ -1395,9 +1395,9 @@ var __publicField = (obj, key, value) => {
|
|
|
1395
1395
|
}, 8, ["visible", "onClickOverlay"])
|
|
1396
1396
|
], 2);
|
|
1397
1397
|
}
|
|
1398
|
-
var ActionSheet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1399
|
-
const { componentName: componentName$
|
|
1400
|
-
const _sfc_main$
|
|
1398
|
+
var ActionSheet = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$L]]);
|
|
1399
|
+
const { componentName: componentName$B, create: create$P } = createComponent("backtop");
|
|
1400
|
+
const _sfc_main$P = create$P({
|
|
1401
1401
|
props: {
|
|
1402
1402
|
bottom: {
|
|
1403
1403
|
type: Number,
|
|
@@ -1438,7 +1438,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1438
1438
|
keepAlive: false
|
|
1439
1439
|
});
|
|
1440
1440
|
const classes = vue.computed(() => {
|
|
1441
|
-
const prefixCls = componentName$
|
|
1441
|
+
const prefixCls = componentName$B;
|
|
1442
1442
|
return {
|
|
1443
1443
|
[prefixCls]: true,
|
|
1444
1444
|
show: state.backTop
|
|
@@ -1529,7 +1529,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1529
1529
|
};
|
|
1530
1530
|
}
|
|
1531
1531
|
});
|
|
1532
|
-
function _sfc_render$
|
|
1532
|
+
function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1533
1533
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
1534
1534
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
1535
1535
|
class: vue.normalizeClass(_ctx.classes),
|
|
@@ -1545,9 +1545,9 @@ var __publicField = (obj, key, value) => {
|
|
|
1545
1545
|
])
|
|
1546
1546
|
], 6);
|
|
1547
1547
|
}
|
|
1548
|
-
var BackTop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1549
|
-
const { create: create$
|
|
1550
|
-
const _sfc_main$
|
|
1548
|
+
var BackTop = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$K]]);
|
|
1549
|
+
const { create: create$O } = createComponent("collapse");
|
|
1550
|
+
const _sfc_main$O = create$O({
|
|
1551
1551
|
props: {
|
|
1552
1552
|
active: {
|
|
1553
1553
|
type: [String, Number, Array]
|
|
@@ -1620,14 +1620,14 @@ var __publicField = (obj, key, value) => {
|
|
|
1620
1620
|
});
|
|
1621
1621
|
}
|
|
1622
1622
|
});
|
|
1623
|
-
function _sfc_render$
|
|
1623
|
+
function _sfc_render$J(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1624
1624
|
return vue.openBlock(), vue.createElementBlock("view", null, [
|
|
1625
1625
|
vue.renderSlot(_ctx.$slots, "default")
|
|
1626
1626
|
]);
|
|
1627
1627
|
}
|
|
1628
|
-
var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1629
|
-
const { create: create$
|
|
1630
|
-
const _sfc_main$
|
|
1628
|
+
var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$J]]);
|
|
1629
|
+
const { create: create$N, componentName: componentName$A } = createComponent("collapse-item");
|
|
1630
|
+
const _sfc_main$N = create$N({
|
|
1631
1631
|
props: {
|
|
1632
1632
|
title: {
|
|
1633
1633
|
type: String,
|
|
@@ -1654,7 +1654,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1654
1654
|
const collapse = vue.inject("collapseParent");
|
|
1655
1655
|
const parent = vue.reactive(collapse);
|
|
1656
1656
|
const classes = vue.computed(() => {
|
|
1657
|
-
const prefixCls = componentName$
|
|
1657
|
+
const prefixCls = componentName$A;
|
|
1658
1658
|
return {
|
|
1659
1659
|
[prefixCls]: true,
|
|
1660
1660
|
[`${prefixCls}-icon`]: parent.props.icon
|
|
@@ -1795,7 +1795,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1795
1795
|
class: "collapse-content",
|
|
1796
1796
|
ref: "contentRef"
|
|
1797
1797
|
};
|
|
1798
|
-
function _sfc_render$
|
|
1798
|
+
function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1799
1799
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
1800
1800
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
1801
1801
|
class: vue.normalizeClass(_ctx.classes)
|
|
@@ -1854,7 +1854,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1854
1854
|
], 512)
|
|
1855
1855
|
], 2);
|
|
1856
1856
|
}
|
|
1857
|
-
var CollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1857
|
+
var CollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$I]]);
|
|
1858
1858
|
const _window = window;
|
|
1859
1859
|
function requestAniFrame() {
|
|
1860
1860
|
if (typeof _window !== "undefined") {
|
|
@@ -1868,8 +1868,8 @@ var __publicField = (obj, key, value) => {
|
|
|
1868
1868
|
}
|
|
1869
1869
|
}
|
|
1870
1870
|
var requestAniFrame$1 = requestAniFrame();
|
|
1871
|
-
const { componentName: componentName$
|
|
1872
|
-
const _sfc_main$
|
|
1871
|
+
const { componentName: componentName$z, create: create$M } = createComponent("drag");
|
|
1872
|
+
const _sfc_main$M = create$M({
|
|
1873
1873
|
props: {
|
|
1874
1874
|
attract: {
|
|
1875
1875
|
type: Boolean,
|
|
@@ -1914,7 +1914,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
});
|
|
1916
1916
|
const classes = vue.computed(() => {
|
|
1917
|
-
const prefixCls = componentName$
|
|
1917
|
+
const prefixCls = componentName$z;
|
|
1918
1918
|
return {
|
|
1919
1919
|
[prefixCls]: true
|
|
1920
1920
|
};
|
|
@@ -2044,7 +2044,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2044
2044
|
};
|
|
2045
2045
|
}
|
|
2046
2046
|
});
|
|
2047
|
-
function _sfc_render$
|
|
2047
|
+
function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2048
2048
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
2049
2049
|
class: vue.normalizeClass(_ctx.classes),
|
|
2050
2050
|
ref: "myDrag",
|
|
@@ -2055,9 +2055,9 @@ var __publicField = (obj, key, value) => {
|
|
|
2055
2055
|
vue.renderSlot(_ctx.$slots, "default")
|
|
2056
2056
|
], 34);
|
|
2057
2057
|
}
|
|
2058
|
-
var Drag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2059
|
-
const { componentName: componentName$
|
|
2060
|
-
const _sfc_main$
|
|
2058
|
+
var Drag = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$H]]);
|
|
2059
|
+
const { componentName: componentName$y, create: create$L } = createComponent("dialog");
|
|
2060
|
+
const _sfc_main$L = create$L({
|
|
2061
2061
|
inheritAttrs: false,
|
|
2062
2062
|
components: {
|
|
2063
2063
|
[Popup.name]: Popup,
|
|
@@ -2153,7 +2153,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2153
2153
|
});
|
|
2154
2154
|
const classes = vue.computed(() => {
|
|
2155
2155
|
return {
|
|
2156
|
-
[componentName$
|
|
2156
|
+
[componentName$y]: true
|
|
2157
2157
|
};
|
|
2158
2158
|
});
|
|
2159
2159
|
const update = (val) => {
|
|
@@ -2192,7 +2192,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2192
2192
|
key: 1,
|
|
2193
2193
|
class: "nut-dialog__footer"
|
|
2194
2194
|
};
|
|
2195
|
-
function _sfc_render$
|
|
2195
|
+
function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2196
2196
|
const _component_nut_button = vue.resolveComponent("nut-button");
|
|
2197
2197
|
const _component_nut_popup = vue.resolveComponent("nut-popup");
|
|
2198
2198
|
return vue.openBlock(), vue.createBlock(_component_nut_popup, {
|
|
@@ -2258,7 +2258,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2258
2258
|
_: 3
|
|
2259
2259
|
}, 8, ["teleport", "visible", "close-on-click-overlay", "lock-scroll", "onClickOverlay", "onClickCloseIcon"]);
|
|
2260
2260
|
}
|
|
2261
|
-
var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2261
|
+
var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$G]]);
|
|
2262
2262
|
class DialogOptions {
|
|
2263
2263
|
constructor() {
|
|
2264
2264
|
__publicField(this, "title", "");
|
|
@@ -2332,8 +2332,8 @@ var __publicField = (obj, key, value) => {
|
|
|
2332
2332
|
app.use(Dialog);
|
|
2333
2333
|
app.config.globalProperties.$dialog = _Dialog;
|
|
2334
2334
|
};
|
|
2335
|
-
const { componentName: componentName$
|
|
2336
|
-
const _sfc_main$
|
|
2335
|
+
const { componentName: componentName$x, create: create$K } = createComponent("infiniteloading");
|
|
2336
|
+
const _sfc_main$K = create$K({
|
|
2337
2337
|
props: {
|
|
2338
2338
|
hasMore: {
|
|
2339
2339
|
type: Boolean,
|
|
@@ -2395,7 +2395,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2395
2395
|
distance: 0
|
|
2396
2396
|
});
|
|
2397
2397
|
const classes = vue.computed(() => {
|
|
2398
|
-
const prefixCls = componentName$
|
|
2398
|
+
const prefixCls = componentName$x;
|
|
2399
2399
|
return {
|
|
2400
2400
|
[prefixCls]: true
|
|
2401
2401
|
};
|
|
@@ -2532,7 +2532,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2532
2532
|
key: 1,
|
|
2533
2533
|
class: "tips"
|
|
2534
2534
|
};
|
|
2535
|
-
function _sfc_render$
|
|
2535
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2536
2536
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
2537
2537
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
2538
2538
|
class: vue.normalizeClass(_ctx.classes),
|
|
@@ -2568,9 +2568,9 @@ var __publicField = (obj, key, value) => {
|
|
|
2568
2568
|
])
|
|
2569
2569
|
], 34);
|
|
2570
2570
|
}
|
|
2571
|
-
var InfiniteLoading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2572
|
-
const { componentName: componentName$
|
|
2573
|
-
const _sfc_main$
|
|
2571
|
+
var InfiniteLoading = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$F]]);
|
|
2572
|
+
const { componentName: componentName$w, create: create$J } = createComponent("notify");
|
|
2573
|
+
const _sfc_main$J = create$J({
|
|
2574
2574
|
components: {
|
|
2575
2575
|
[Popup.name]: Popup
|
|
2576
2576
|
},
|
|
@@ -2640,7 +2640,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2640
2640
|
return { state, hide, onAfterLeave, clickCover };
|
|
2641
2641
|
}
|
|
2642
2642
|
});
|
|
2643
|
-
function _sfc_render$
|
|
2643
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2644
2644
|
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
2645
2645
|
name: "toast-fade",
|
|
2646
2646
|
onAfterLeave: _ctx.onAfterLeave
|
|
@@ -2661,7 +2661,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2661
2661
|
_: 3
|
|
2662
2662
|
}, 8, ["onAfterLeave"]);
|
|
2663
2663
|
}
|
|
2664
|
-
var Notify = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2664
|
+
var Notify = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$E]]);
|
|
2665
2665
|
const defaultOptions$1 = {
|
|
2666
2666
|
type: "base",
|
|
2667
2667
|
showPopup: false,
|
|
@@ -2799,8 +2799,8 @@ var __publicField = (obj, key, value) => {
|
|
|
2799
2799
|
height: 0
|
|
2800
2800
|
};
|
|
2801
2801
|
};
|
|
2802
|
-
const { componentName: componentName$
|
|
2803
|
-
const _sfc_main$
|
|
2802
|
+
const { componentName: componentName$v, create: create$I } = createComponent("range");
|
|
2803
|
+
const _sfc_main$I = create$I({
|
|
2804
2804
|
props: {
|
|
2805
2805
|
range: {
|
|
2806
2806
|
type: Boolean,
|
|
@@ -2845,7 +2845,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2845
2845
|
const touch = useTouch$1();
|
|
2846
2846
|
const scope = vue.computed(() => Number(props.max) - Number(props.min));
|
|
2847
2847
|
const classes = vue.computed(() => {
|
|
2848
|
-
const prefixCls = componentName$
|
|
2848
|
+
const prefixCls = componentName$v;
|
|
2849
2849
|
return {
|
|
2850
2850
|
[prefixCls]: true,
|
|
2851
2851
|
[`${prefixCls}-disabled`]: props.disabled,
|
|
@@ -3015,7 +3015,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3015
3015
|
key: 1,
|
|
3016
3016
|
class: "max"
|
|
3017
3017
|
};
|
|
3018
|
-
function _sfc_render$
|
|
3018
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3019
3019
|
return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$v, [
|
|
3020
3020
|
!_ctx.hiddenRange ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$q, vue.toDisplayString(+_ctx.min), 1)) : vue.createCommentVNode("", true),
|
|
3021
3021
|
vue.createElementVNode("view", {
|
|
@@ -3090,7 +3090,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3090
3090
|
!_ctx.hiddenRange ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_7$7, vue.toDisplayString(+_ctx.max), 1)) : vue.createCommentVNode("", true)
|
|
3091
3091
|
]);
|
|
3092
3092
|
}
|
|
3093
|
-
var Range = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3093
|
+
var Range = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$D]]);
|
|
3094
3094
|
const throttle = (func, wait, type) => {
|
|
3095
3095
|
if (type === 1) {
|
|
3096
3096
|
var previous = 0;
|
|
@@ -3116,8 +3116,8 @@ var __publicField = (obj, key, value) => {
|
|
|
3116
3116
|
}
|
|
3117
3117
|
};
|
|
3118
3118
|
};
|
|
3119
|
-
const { create: create$
|
|
3120
|
-
const _sfc_main$
|
|
3119
|
+
const { create: create$H } = createComponent("video");
|
|
3120
|
+
const _sfc_main$H = create$H({
|
|
3121
3121
|
props: {
|
|
3122
3122
|
source: {
|
|
3123
3123
|
type: Object,
|
|
@@ -3386,7 +3386,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3386
3386
|
const _hoisted_10$3 = { class: "duration-time" };
|
|
3387
3387
|
const _hoisted_11$3 = { class: "nut-video-error" };
|
|
3388
3388
|
const _hoisted_12$3 = /* @__PURE__ */ vue.createElementVNode("p", { class: "lose" }, "\u89C6\u9891\u52A0\u8F7D\u5931\u8D25", -1);
|
|
3389
|
-
function _sfc_render$
|
|
3389
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3390
3390
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
|
|
3391
3391
|
vue.createElementVNode("video", {
|
|
3392
3392
|
ref: "root",
|
|
@@ -3467,9 +3467,9 @@ var __publicField = (obj, key, value) => {
|
|
|
3467
3467
|
])
|
|
3468
3468
|
], 512);
|
|
3469
3469
|
}
|
|
3470
|
-
var Video = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3471
|
-
const { create: create$
|
|
3472
|
-
const _sfc_main$
|
|
3470
|
+
var Video = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$C]]);
|
|
3471
|
+
const { create: create$G, componentName: componentName$u } = createComponent("steps");
|
|
3472
|
+
const _sfc_main$G = create$G({
|
|
3473
3473
|
props: {
|
|
3474
3474
|
direction: {
|
|
3475
3475
|
type: String,
|
|
@@ -3489,7 +3489,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3489
3489
|
children: []
|
|
3490
3490
|
});
|
|
3491
3491
|
const classes = vue.computed(() => {
|
|
3492
|
-
const prefixCls = componentName$
|
|
3492
|
+
const prefixCls = componentName$u;
|
|
3493
3493
|
return {
|
|
3494
3494
|
[prefixCls]: true,
|
|
3495
3495
|
[`${prefixCls}-${props.direction}`]: true,
|
|
@@ -3512,8 +3512,8 @@ var __publicField = (obj, key, value) => {
|
|
|
3512
3512
|
};
|
|
3513
3513
|
}
|
|
3514
3514
|
});
|
|
3515
|
-
const { create: create$
|
|
3516
|
-
const _sfc_main$
|
|
3515
|
+
const { create: create$F, componentName: componentName$t } = createComponent("step");
|
|
3516
|
+
const _sfc_main$F = create$F({
|
|
3517
3517
|
props: {
|
|
3518
3518
|
title: {
|
|
3519
3519
|
type: String,
|
|
@@ -3550,7 +3550,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3550
3550
|
return getCurrentStatus();
|
|
3551
3551
|
});
|
|
3552
3552
|
const classes = vue.computed(() => {
|
|
3553
|
-
const prefixCls = componentName$
|
|
3553
|
+
const prefixCls = componentName$t;
|
|
3554
3554
|
return {
|
|
3555
3555
|
[prefixCls]: true,
|
|
3556
3556
|
[`${prefixCls}-${status.value}`]: true
|
|
@@ -3571,7 +3571,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3571
3571
|
const _hoisted_4$d = { class: "nut-step-main" };
|
|
3572
3572
|
const _hoisted_5$9 = { class: "nut-step-title" };
|
|
3573
3573
|
const _hoisted_6$7 = ["innerHTML"];
|
|
3574
|
-
function _sfc_render$
|
|
3574
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3575
3575
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
3576
3576
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
3577
3577
|
class: vue.normalizeClass(_ctx.classes)
|
|
@@ -3599,7 +3599,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3599
3599
|
])
|
|
3600
3600
|
], 2);
|
|
3601
3601
|
}
|
|
3602
|
-
var Step = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3602
|
+
var Step = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$B]]);
|
|
3603
3603
|
const DISTANCE = 5;
|
|
3604
3604
|
function useTouch() {
|
|
3605
3605
|
const state = vue.reactive({
|
|
@@ -3654,8 +3654,8 @@ var __publicField = (obj, key, value) => {
|
|
|
3654
3654
|
Object.assign(instance.proxy, apis);
|
|
3655
3655
|
}
|
|
3656
3656
|
}
|
|
3657
|
-
const { create: create$
|
|
3658
|
-
const _sfc_main$
|
|
3657
|
+
const { create: create$E, componentName: componentName$s } = createComponent("swiper");
|
|
3658
|
+
const _sfc_main$E = create$E({
|
|
3659
3659
|
props: {
|
|
3660
3660
|
width: {
|
|
3661
3661
|
type: [Number, String],
|
|
@@ -3724,7 +3724,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3724
3724
|
});
|
|
3725
3725
|
const touch = useTouch();
|
|
3726
3726
|
const classes = vue.computed(() => {
|
|
3727
|
-
const prefixCls = componentName$
|
|
3727
|
+
const prefixCls = componentName$s;
|
|
3728
3728
|
return {
|
|
3729
3729
|
[prefixCls]: true
|
|
3730
3730
|
};
|
|
@@ -3977,7 +3977,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3977
3977
|
state,
|
|
3978
3978
|
classes,
|
|
3979
3979
|
container,
|
|
3980
|
-
componentName: componentName$
|
|
3980
|
+
componentName: componentName$s,
|
|
3981
3981
|
isVertical,
|
|
3982
3982
|
slots,
|
|
3983
3983
|
activePagination,
|
|
@@ -3987,7 +3987,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3987
3987
|
};
|
|
3988
3988
|
}
|
|
3989
3989
|
});
|
|
3990
|
-
function _sfc_render$
|
|
3990
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3991
3991
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
3992
3992
|
ref: "container",
|
|
3993
3993
|
class: vue.normalizeClass(_ctx.classes),
|
|
@@ -4024,15 +4024,15 @@ var __publicField = (obj, key, value) => {
|
|
|
4024
4024
|
], 2)) : vue.createCommentVNode("", true)
|
|
4025
4025
|
], 34);
|
|
4026
4026
|
}
|
|
4027
|
-
var Swiper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4027
|
+
var Swiper = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$A]]);
|
|
4028
4028
|
function useExpose(apis) {
|
|
4029
4029
|
const instance = vue.getCurrentInstance();
|
|
4030
4030
|
if (instance) {
|
|
4031
4031
|
Object.assign(instance.proxy, apis);
|
|
4032
4032
|
}
|
|
4033
4033
|
}
|
|
4034
|
-
const { create: create$
|
|
4035
|
-
const _sfc_main$
|
|
4034
|
+
const { create: create$D, componentName: componentName$r } = createComponent("swiper-item");
|
|
4035
|
+
const _sfc_main$D = create$D({
|
|
4036
4036
|
props: {},
|
|
4037
4037
|
setup(props, { slots }) {
|
|
4038
4038
|
const parent = vue.inject("parent");
|
|
@@ -4041,7 +4041,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4041
4041
|
offset: 0
|
|
4042
4042
|
});
|
|
4043
4043
|
const classes = vue.computed(() => {
|
|
4044
|
-
const prefixCls = componentName$
|
|
4044
|
+
const prefixCls = componentName$r;
|
|
4045
4045
|
return {
|
|
4046
4046
|
[prefixCls]: true
|
|
4047
4047
|
};
|
|
@@ -4067,7 +4067,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4067
4067
|
};
|
|
4068
4068
|
}
|
|
4069
4069
|
});
|
|
4070
|
-
function _sfc_render$
|
|
4070
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4071
4071
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
4072
4072
|
class: vue.normalizeClass(_ctx.classes),
|
|
4073
4073
|
style: vue.normalizeStyle(_ctx.style)
|
|
@@ -4075,9 +4075,9 @@ var __publicField = (obj, key, value) => {
|
|
|
4075
4075
|
vue.renderSlot(_ctx.$slots, "default")
|
|
4076
4076
|
], 6);
|
|
4077
4077
|
}
|
|
4078
|
-
var SwiperItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4079
|
-
const { componentName: componentName$
|
|
4080
|
-
const _sfc_main$
|
|
4078
|
+
var SwiperItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$z]]);
|
|
4079
|
+
const { componentName: componentName$q, create: create$C } = createComponent("switch");
|
|
4080
|
+
const _sfc_main$C = create$C({
|
|
4081
4081
|
props: {
|
|
4082
4082
|
modelValue: {
|
|
4083
4083
|
type: Boolean,
|
|
@@ -4107,7 +4107,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4107
4107
|
emits: ["change", "update:modelValue"],
|
|
4108
4108
|
setup(props, { emit }) {
|
|
4109
4109
|
const classes = vue.computed(() => {
|
|
4110
|
-
const prefixCls = componentName$
|
|
4110
|
+
const prefixCls = componentName$q;
|
|
4111
4111
|
return {
|
|
4112
4112
|
[prefixCls]: true,
|
|
4113
4113
|
[props.modelValue ? "switch-open" : "switch-close"]: true,
|
|
@@ -4135,7 +4135,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4135
4135
|
});
|
|
4136
4136
|
const _hoisted_1$s = { class: "switch-button" };
|
|
4137
4137
|
const _hoisted_2$n = { class: "close-line" };
|
|
4138
|
-
function _sfc_render$
|
|
4138
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4139
4139
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
4140
4140
|
class: vue.normalizeClass(_ctx.classes),
|
|
4141
4141
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args)),
|
|
@@ -4156,11 +4156,11 @@ var __publicField = (obj, key, value) => {
|
|
|
4156
4156
|
])
|
|
4157
4157
|
], 6);
|
|
4158
4158
|
}
|
|
4159
|
-
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4160
|
-
const { create: create$
|
|
4161
|
-
const _sfc_main$
|
|
4159
|
+
var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$y]]);
|
|
4160
|
+
const { create: create$B } = createComponent("toast");
|
|
4161
|
+
const _sfc_main$B = create$B({
|
|
4162
4162
|
components: {
|
|
4163
|
-
[_sfc_main$
|
|
4163
|
+
[_sfc_main$11.name]: _sfc_main$11
|
|
4164
4164
|
},
|
|
4165
4165
|
props: {
|
|
4166
4166
|
id: String,
|
|
@@ -4287,7 +4287,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4287
4287
|
class: "nut-toast-icon-wrapper"
|
|
4288
4288
|
};
|
|
4289
4289
|
const _hoisted_2$m = ["innerHTML"];
|
|
4290
|
-
function _sfc_render$
|
|
4290
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4291
4291
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
4292
4292
|
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
4293
4293
|
name: "toast-fade",
|
|
@@ -4328,7 +4328,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4328
4328
|
_: 1
|
|
4329
4329
|
}, 8, ["onAfterLeave"]);
|
|
4330
4330
|
}
|
|
4331
|
-
var Toast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4331
|
+
var Toast = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$x]]);
|
|
4332
4332
|
const defaultOptions = {
|
|
4333
4333
|
msg: "",
|
|
4334
4334
|
id: "",
|
|
@@ -4444,8 +4444,8 @@ var __publicField = (obj, key, value) => {
|
|
|
4444
4444
|
app.config.globalProperties.$toast = ToastFunction;
|
|
4445
4445
|
}
|
|
4446
4446
|
};
|
|
4447
|
-
const { create: create$
|
|
4448
|
-
const _sfc_main$
|
|
4447
|
+
const { create: create$A } = createComponent("progress");
|
|
4448
|
+
const _sfc_main$A = create$A({
|
|
4449
4449
|
props: {
|
|
4450
4450
|
percentage: {
|
|
4451
4451
|
type: [Number, String],
|
|
@@ -4522,7 +4522,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4522
4522
|
}
|
|
4523
4523
|
});
|
|
4524
4524
|
const _hoisted_1$q = { class: "nut-progress" };
|
|
4525
|
-
function _sfc_render$
|
|
4525
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4526
4526
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
4527
4527
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
|
|
4528
4528
|
vue.createElementVNode("div", {
|
|
@@ -4565,9 +4565,9 @@ var __publicField = (obj, key, value) => {
|
|
|
4565
4565
|
], 4)) : vue.createCommentVNode("", true)
|
|
4566
4566
|
]);
|
|
4567
4567
|
}
|
|
4568
|
-
var Progress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4569
|
-
const { componentName: componentName$
|
|
4570
|
-
const _sfc_main$
|
|
4568
|
+
var Progress = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$w]]);
|
|
4569
|
+
const { componentName: componentName$p, create: create$z } = createComponent("circleprogress");
|
|
4570
|
+
const _sfc_main$z = create$z({
|
|
4571
4571
|
props: {
|
|
4572
4572
|
progress: {
|
|
4573
4573
|
type: [Number, String],
|
|
@@ -4589,7 +4589,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4589
4589
|
},
|
|
4590
4590
|
setup(props, { emit }) {
|
|
4591
4591
|
const classes = vue.computed(() => {
|
|
4592
|
-
const prefixCls = componentName$
|
|
4592
|
+
const prefixCls = componentName$p;
|
|
4593
4593
|
return {
|
|
4594
4594
|
[prefixCls]: true
|
|
4595
4595
|
};
|
|
@@ -4627,7 +4627,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4627
4627
|
const _hoisted_2$l = ["r", "cx", "cy", "stroke", "stroke-width"];
|
|
4628
4628
|
const _hoisted_3$f = ["r", "cx", "cy", "stroke", "stroke-dasharray", "stroke-width", "transform"];
|
|
4629
4629
|
const _hoisted_4$c = { class: "nut-circleprogress-content" };
|
|
4630
|
-
function _sfc_render$
|
|
4630
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4631
4631
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
4632
4632
|
class: vue.normalizeClass(_ctx.classes),
|
|
4633
4633
|
style: vue.normalizeStyle({ height: _ctx.option.size + "px", width: _ctx.option.size + "px" })
|
|
@@ -4665,9 +4665,9 @@ var __publicField = (obj, key, value) => {
|
|
|
4665
4665
|
])
|
|
4666
4666
|
], 6);
|
|
4667
4667
|
}
|
|
4668
|
-
var CircleProgress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4669
|
-
const { componentName: componentName$
|
|
4670
|
-
const _sfc_main$
|
|
4668
|
+
var CircleProgress = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$v]]);
|
|
4669
|
+
const { componentName: componentName$o, create: create$y } = createComponent("noticebar");
|
|
4670
|
+
const _sfc_main$y = create$y({
|
|
4671
4671
|
props: {
|
|
4672
4672
|
direction: {
|
|
4673
4673
|
type: String,
|
|
@@ -4733,7 +4733,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4733
4733
|
},
|
|
4734
4734
|
emits: ["click", "close"],
|
|
4735
4735
|
setup(props, { emit, slots }) {
|
|
4736
|
-
console.log("componentName", componentName$
|
|
4736
|
+
console.log("componentName", componentName$o);
|
|
4737
4737
|
const wrap = vue.ref(null);
|
|
4738
4738
|
const content = vue.ref(null);
|
|
4739
4739
|
const state = vue.reactive({
|
|
@@ -4750,7 +4750,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4750
4750
|
keepAlive: false
|
|
4751
4751
|
});
|
|
4752
4752
|
const classes = vue.computed(() => {
|
|
4753
|
-
const prefixCls = componentName$
|
|
4753
|
+
const prefixCls = componentName$o;
|
|
4754
4754
|
return {
|
|
4755
4755
|
[prefixCls]: true
|
|
4756
4756
|
};
|
|
@@ -4928,7 +4928,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4928
4928
|
class: "wrap"
|
|
4929
4929
|
};
|
|
4930
4930
|
const _hoisted_2$k = ["onClick"];
|
|
4931
|
-
function _sfc_render$
|
|
4931
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4932
4932
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
4933
4933
|
const _component_ScrollItem = vue.resolveComponent("ScrollItem");
|
|
4934
4934
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
@@ -5026,9 +5026,9 @@ var __publicField = (obj, key, value) => {
|
|
|
5026
5026
|
], 4)) : vue.createCommentVNode("", true)
|
|
5027
5027
|
], 2);
|
|
5028
5028
|
}
|
|
5029
|
-
var NoticeBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5030
|
-
const { componentName: componentName$
|
|
5031
|
-
const _sfc_main$
|
|
5029
|
+
var NoticeBar = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$u]]);
|
|
5030
|
+
const { componentName: componentName$n, create: create$x } = createComponent("navbar");
|
|
5031
|
+
const _sfc_main$x = create$x({
|
|
5032
5032
|
props: {
|
|
5033
5033
|
leftShow: { type: Boolean, default: true },
|
|
5034
5034
|
title: { type: String, default: "" },
|
|
@@ -5063,7 +5063,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5063
5063
|
setup(props, { emit }) {
|
|
5064
5064
|
const activeIndex = vue.ref(props.defaultIndex);
|
|
5065
5065
|
const classes = vue.computed(() => {
|
|
5066
|
-
const prefixCls = componentName$
|
|
5066
|
+
const prefixCls = componentName$n;
|
|
5067
5067
|
return {
|
|
5068
5068
|
[prefixCls]: true
|
|
5069
5069
|
};
|
|
@@ -5111,7 +5111,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5111
5111
|
const _hoisted_1$n = { class: "nut-navbar__left" };
|
|
5112
5112
|
const _hoisted_2$j = { class: "tab-title" };
|
|
5113
5113
|
const _hoisted_3$e = ["onClick"];
|
|
5114
|
-
function _sfc_render$
|
|
5114
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5115
5115
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
5116
5116
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
5117
5117
|
class: vue.normalizeClass(_ctx.classes)
|
|
@@ -5177,9 +5177,9 @@ var __publicField = (obj, key, value) => {
|
|
|
5177
5177
|
], 2)) : vue.createCommentVNode("", true)
|
|
5178
5178
|
], 2);
|
|
5179
5179
|
}
|
|
5180
|
-
var Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5181
|
-
const { componentName: componentName$
|
|
5182
|
-
const _sfc_main$
|
|
5180
|
+
var Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$t]]);
|
|
5181
|
+
const { componentName: componentName$m, create: create$w } = createComponent("fixednav");
|
|
5182
|
+
const _sfc_main$w = create$w({
|
|
5183
5183
|
components: {
|
|
5184
5184
|
[OverLay.name]: OverLay
|
|
5185
5185
|
},
|
|
@@ -5222,7 +5222,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5222
5222
|
emits: ["update:visible", "selected"],
|
|
5223
5223
|
setup(props, { emit }) {
|
|
5224
5224
|
const classes = vue.computed(() => {
|
|
5225
|
-
const prefixCls = componentName$
|
|
5225
|
+
const prefixCls = componentName$m;
|
|
5226
5226
|
return {
|
|
5227
5227
|
[prefixCls]: true,
|
|
5228
5228
|
active: props.visible,
|
|
@@ -5250,7 +5250,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5250
5250
|
class: "b"
|
|
5251
5251
|
};
|
|
5252
5252
|
const _hoisted_6$6 = { class: "text" };
|
|
5253
|
-
function _sfc_render$
|
|
5253
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5254
5254
|
const _component_nut_overlay = vue.resolveComponent("nut-overlay");
|
|
5255
5255
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
5256
5256
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
@@ -5294,7 +5294,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5294
5294
|
])
|
|
5295
5295
|
], 6);
|
|
5296
5296
|
}
|
|
5297
|
-
var FixedNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5297
|
+
var FixedNav = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$s]]);
|
|
5298
5298
|
var TabTitle = {
|
|
5299
5299
|
setup(props) {
|
|
5300
5300
|
return () => vue.h(`view`, {}, props.slots);
|
|
@@ -5303,8 +5303,8 @@ var __publicField = (obj, key, value) => {
|
|
|
5303
5303
|
slots: Object
|
|
5304
5304
|
}
|
|
5305
5305
|
};
|
|
5306
|
-
const { create: create$
|
|
5307
|
-
const _sfc_main$
|
|
5306
|
+
const { create: create$v } = createComponent("tab");
|
|
5307
|
+
const _sfc_main$v = create$v({
|
|
5308
5308
|
props: {
|
|
5309
5309
|
defaultIndex: {
|
|
5310
5310
|
type: Number,
|
|
@@ -5415,7 +5415,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5415
5415
|
const _hoisted_2$h = ["onClick"];
|
|
5416
5416
|
const _hoisted_3$c = { class: "world" };
|
|
5417
5417
|
const _hoisted_4$a = /* @__PURE__ */ vue.createElementVNode("view", { class: "underline" }, null, -1);
|
|
5418
|
-
function _sfc_render$
|
|
5418
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5419
5419
|
const _component_TabTitle = vue.resolveComponent("TabTitle");
|
|
5420
5420
|
const _component_nut_swiper = vue.resolveComponent("nut-swiper");
|
|
5421
5421
|
return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$l, [
|
|
@@ -5464,9 +5464,9 @@ var __publicField = (obj, key, value) => {
|
|
|
5464
5464
|
], 2)
|
|
5465
5465
|
]);
|
|
5466
5466
|
}
|
|
5467
|
-
var Tab = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5468
|
-
const { create: create$
|
|
5469
|
-
const _sfc_main$
|
|
5467
|
+
var Tab = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$r]]);
|
|
5468
|
+
const { create: create$u } = createComponent("tab-panel");
|
|
5469
|
+
const _sfc_main$u = create$u({
|
|
5470
5470
|
props: {
|
|
5471
5471
|
tabTitle: {
|
|
5472
5472
|
type: String,
|
|
@@ -5476,7 +5476,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5476
5476
|
setup(props, ctx) {
|
|
5477
5477
|
}
|
|
5478
5478
|
});
|
|
5479
|
-
function _sfc_render$
|
|
5479
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5480
5480
|
const _component_nut_swiper_item = vue.resolveComponent("nut-swiper-item");
|
|
5481
5481
|
return vue.openBlock(), vue.createBlock(_component_nut_swiper_item, null, {
|
|
5482
5482
|
default: vue.withCtx(() => [
|
|
@@ -5485,9 +5485,9 @@ var __publicField = (obj, key, value) => {
|
|
|
5485
5485
|
_: 3
|
|
5486
5486
|
});
|
|
5487
5487
|
}
|
|
5488
|
-
var TabPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5489
|
-
const { create: create$
|
|
5490
|
-
const _sfc_main$
|
|
5488
|
+
var TabPanel = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$q]]);
|
|
5489
|
+
const { create: create$t, componentName: componentName$l } = createComponent("menu-item");
|
|
5490
|
+
const _sfc_main$t = create$t({
|
|
5491
5491
|
props: {
|
|
5492
5492
|
title: {
|
|
5493
5493
|
type: String,
|
|
@@ -5527,7 +5527,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5527
5527
|
showMask: false
|
|
5528
5528
|
});
|
|
5529
5529
|
const classes = vue.computed(() => {
|
|
5530
|
-
const prefixCls = componentName$
|
|
5530
|
+
const prefixCls = componentName$l;
|
|
5531
5531
|
return {
|
|
5532
5532
|
[prefixCls]: true,
|
|
5533
5533
|
disabled: props.disabled,
|
|
@@ -5586,7 +5586,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5586
5586
|
});
|
|
5587
5587
|
const _hoisted_1$k = ["innerHTML"];
|
|
5588
5588
|
const _hoisted_2$g = ["onClick"];
|
|
5589
|
-
function _sfc_render$
|
|
5589
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5590
5590
|
const _component_nut_popup = vue.resolveComponent("nut-popup");
|
|
5591
5591
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
5592
5592
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
@@ -5637,9 +5637,9 @@ var __publicField = (obj, key, value) => {
|
|
|
5637
5637
|
], 4)
|
|
5638
5638
|
], 2);
|
|
5639
5639
|
}
|
|
5640
|
-
var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5641
|
-
const { create: create$
|
|
5642
|
-
const _sfc_main$
|
|
5640
|
+
var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$p]]);
|
|
5641
|
+
const { create: create$s } = createComponent("tabbar");
|
|
5642
|
+
const _sfc_main$s = create$s({
|
|
5643
5643
|
props: {
|
|
5644
5644
|
visible: {
|
|
5645
5645
|
type: [Number, String],
|
|
@@ -5694,16 +5694,16 @@ var __publicField = (obj, key, value) => {
|
|
|
5694
5694
|
};
|
|
5695
5695
|
}
|
|
5696
5696
|
});
|
|
5697
|
-
function _sfc_render$
|
|
5697
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5698
5698
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
5699
5699
|
class: vue.normalizeClass(["nut-tabbar", { "nut-tabbar-bottom": _ctx.bottom }])
|
|
5700
5700
|
}, [
|
|
5701
5701
|
vue.renderSlot(_ctx.$slots, "default")
|
|
5702
5702
|
], 2);
|
|
5703
5703
|
}
|
|
5704
|
-
var Tabbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5705
|
-
const { create: create$
|
|
5706
|
-
const _sfc_main$
|
|
5704
|
+
var Tabbar = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$o]]);
|
|
5705
|
+
const { create: create$r } = createComponent("tabbar-item");
|
|
5706
|
+
const _sfc_main$r = create$r({
|
|
5707
5707
|
props: {
|
|
5708
5708
|
tabTitle: {
|
|
5709
5709
|
type: String,
|
|
@@ -5795,7 +5795,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5795
5795
|
class: "nut-tabbar-item_icon-box_tips nut-tabbar-item_icon-box_nums"
|
|
5796
5796
|
};
|
|
5797
5797
|
const _hoisted_4$9 = { key: 2 };
|
|
5798
|
-
function _sfc_render$
|
|
5798
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5799
5799
|
const _component_nut_icon = vue.resolveComponent("nut-icon");
|
|
5800
5800
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
5801
5801
|
class: vue.normalizeClass(["nut-tabbar-item", { "nut-tabbar-item__icon--unactive": _ctx.state.active != _ctx.state.index }]),
|
|
@@ -5833,9 +5833,9 @@ var __publicField = (obj, key, value) => {
|
|
|
5833
5833
|
])
|
|
5834
5834
|
], 6);
|
|
5835
5835
|
}
|
|
5836
|
-
var TabbarItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5837
|
-
const { componentName: componentName$
|
|
5838
|
-
const _sfc_main$
|
|
5836
|
+
var TabbarItem = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$n]]);
|
|
5837
|
+
const { componentName: componentName$k, create: create$q } = createComponent("elevator");
|
|
5838
|
+
const _sfc_main$q = create$q({
|
|
5839
5839
|
props: {
|
|
5840
5840
|
height: {
|
|
5841
5841
|
type: [Number, String],
|
|
@@ -5868,7 +5868,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5868
5868
|
currentIndex: 0
|
|
5869
5869
|
});
|
|
5870
5870
|
const classes = vue.computed(() => {
|
|
5871
|
-
const prefixCls = componentName$
|
|
5871
|
+
const prefixCls = componentName$k;
|
|
5872
5872
|
return {
|
|
5873
5873
|
[prefixCls]: true
|
|
5874
5874
|
};
|
|
@@ -5961,7 +5961,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5961
5961
|
const _hoisted_2$e = ["onClick"];
|
|
5962
5962
|
const _hoisted_3$a = { class: "nut-elevator__bars__inner" };
|
|
5963
5963
|
const _hoisted_4$8 = ["data-index", "onClick"];
|
|
5964
|
-
function _sfc_render$
|
|
5964
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5965
5965
|
return vue.openBlock(), vue.createElementBlock("view", {
|
|
5966
5966
|
class: vue.normalizeClass(_ctx.classes)
|
|
5967
5967
|
}, [
|
|
@@ -6012,9 +6012,9 @@ var __publicField = (obj, key, value) => {
|
|
|
6012
6012
|
], 32)
|
|
6013
6013
|
], 2);
|
|
6014
6014
|
}
|
|
6015
|
-
var Elevator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6016
|
-
const { componentName: componentName$
|
|
6017
|
-
const _sfc_main$
|
|
6015
|
+
var Elevator = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$m]]);
|
|
6016
|
+
const { componentName: componentName$j, create: create$p } = createComponent("pagination");
|
|
6017
|
+
const _sfc_main$p = create$p({
|
|
6018
6018
|
props: {
|
|
6019
6019
|
modelValue: {
|
|
6020
6020
|
type: Number,
|
|
@@ -6130,7 +6130,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6130
6130
|
class: "nut-pagination-contain"
|
|
6131
6131
|
};
|
|
6132
6132
|
const _hoisted_5$7 = { class: "nut-pagination-simple" };
|
|
6133
|
-
function _sfc_render$
|
|
6133
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6134
6134
|
return vue.openBlock(), vue.createElementBlock("view", _hoisted_1$h, [
|
|
6135
6135
|
vue.createElementVNode("view", {
|
|
6136
6136
|
class: vue.normalizeClass(["nut-pagination-prev", _ctx.mode == "multi" ? "" : "simple-border", _ctx.modelValue == 1 ? "disabled" : ""]),
|
|
@@ -6166,43 +6166,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6166
6166
|
], 2)
|
|
6167
6167
|
]);
|
|
6168
6168
|
}
|
|
6169
|
-
var Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6170
|
-
const { componentName: componentName$j, create: create$p } = createComponent("tabs");
|
|
6171
|
-
const _sfc_main$p = create$p({
|
|
6172
|
-
props: {
|
|
6173
|
-
modelValue: {
|
|
6174
|
-
type: String,
|
|
6175
|
-
default: ""
|
|
6176
|
-
},
|
|
6177
|
-
color: {
|
|
6178
|
-
type: String,
|
|
6179
|
-
default: ""
|
|
6180
|
-
},
|
|
6181
|
-
background: {
|
|
6182
|
-
type: String,
|
|
6183
|
-
default: ""
|
|
6184
|
-
},
|
|
6185
|
-
animated: {
|
|
6186
|
-
type: Boolean,
|
|
6187
|
-
default: false
|
|
6188
|
-
}
|
|
6189
|
-
},
|
|
6190
|
-
components: {},
|
|
6191
|
-
emits: ["click"],
|
|
6192
|
-
setup(props, { emit }) {
|
|
6193
|
-
return {};
|
|
6194
|
-
}
|
|
6195
|
-
});
|
|
6196
|
-
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6197
|
-
return vue.openBlock(), vue.createElementBlock("view", {
|
|
6198
|
-
class: vue.normalizeClass(_ctx.classes),
|
|
6199
|
-
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
6200
|
-
}, [
|
|
6201
|
-
vue.createElementVNode("view", null, vue.toDisplayString(_ctx.name), 1),
|
|
6202
|
-
vue.createElementVNode("view", null, vue.toDisplayString(_ctx.txt), 1)
|
|
6203
|
-
], 2);
|
|
6204
|
-
}
|
|
6205
|
-
var Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$l]]);
|
|
6169
|
+
var Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$l]]);
|
|
6206
6170
|
const { componentName: componentName$i, create: create$o } = createComponent("tabpane");
|
|
6207
6171
|
const _sfc_main$o = create$o({
|
|
6208
6172
|
props: {
|
|
@@ -6913,7 +6877,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6913
6877
|
const { create: create$l, componentName: componentName$h } = createComponent("checkbox");
|
|
6914
6878
|
const _sfc_main$l = create$l({
|
|
6915
6879
|
components: {
|
|
6916
|
-
nutIcon: _sfc_main$
|
|
6880
|
+
nutIcon: _sfc_main$11
|
|
6917
6881
|
},
|
|
6918
6882
|
props: {
|
|
6919
6883
|
modelValue: {
|
|
@@ -6969,7 +6933,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6969
6933
|
};
|
|
6970
6934
|
const renderIcon = () => {
|
|
6971
6935
|
const { iconName, iconSize, iconActiveName } = props;
|
|
6972
|
-
return vue.h(_sfc_main$
|
|
6936
|
+
return vue.h(_sfc_main$11, {
|
|
6973
6937
|
name: !pValue.value ? iconName : iconActiveName,
|
|
6974
6938
|
size: iconSize,
|
|
6975
6939
|
class: color.value
|
|
@@ -8135,7 +8099,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8135
8099
|
});
|
|
8136
8100
|
const renderIcon = () => {
|
|
8137
8101
|
const { iconName, iconSize, iconActiveName } = props;
|
|
8138
|
-
return vue.h(_sfc_main$
|
|
8102
|
+
return vue.h(_sfc_main$11, {
|
|
8139
8103
|
name: isCurValue.value ? iconActiveName : iconName,
|
|
8140
8104
|
size: iconSize,
|
|
8141
8105
|
class: color.value
|
|
@@ -11021,7 +10985,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11021
10985
|
}
|
|
11022
10986
|
var Signature = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
11023
10987
|
function install(app) {
|
|
11024
|
-
const packages = [Avatar, Button, Cell, CellGroup, _sfc_main$
|
|
10988
|
+
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];
|
|
11025
10989
|
packages.forEach((item) => {
|
|
11026
10990
|
if (item.install) {
|
|
11027
10991
|
app.use(item);
|
|
@@ -11030,7 +10994,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11030
10994
|
}
|
|
11031
10995
|
});
|
|
11032
10996
|
}
|
|
11033
|
-
const version = "3.1.7
|
|
10997
|
+
const version = "3.1.7";
|
|
11034
10998
|
var nutui_vue_build = { install, version };
|
|
11035
10999
|
exports2.ActionSheet = ActionSheet;
|
|
11036
11000
|
exports2.Address = Address;
|
|
@@ -11056,12 +11020,12 @@ var __publicField = (obj, key, value) => {
|
|
|
11056
11020
|
exports2.Drag = Drag;
|
|
11057
11021
|
exports2.Elevator = Elevator;
|
|
11058
11022
|
exports2.FixedNav = FixedNav;
|
|
11059
|
-
exports2.Icon = _sfc_main$
|
|
11023
|
+
exports2.Icon = _sfc_main$11;
|
|
11060
11024
|
exports2.ImagePreview = ImagePreview;
|
|
11061
11025
|
exports2.InfiniteLoading = InfiniteLoading;
|
|
11062
11026
|
exports2.Input = Input;
|
|
11063
11027
|
exports2.InputNumber = InputNumber;
|
|
11064
|
-
exports2.Layout = _sfc_main$
|
|
11028
|
+
exports2.Layout = _sfc_main$W;
|
|
11065
11029
|
exports2.MenuItem = MenuItem;
|
|
11066
11030
|
exports2.Navbar = Navbar;
|
|
11067
11031
|
exports2.NoticeBar = NoticeBar;
|
|
@@ -11082,7 +11046,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11082
11046
|
exports2.ShortPassword = ShortPassword;
|
|
11083
11047
|
exports2.Signature = Signature;
|
|
11084
11048
|
exports2.Step = Step;
|
|
11085
|
-
exports2.Steps = _sfc_main$
|
|
11049
|
+
exports2.Steps = _sfc_main$G;
|
|
11086
11050
|
exports2.Swipe = Swipe;
|
|
11087
11051
|
exports2.Swiper = Swiper;
|
|
11088
11052
|
exports2.SwiperItem = SwiperItem;
|
|
@@ -11092,7 +11056,6 @@ var __publicField = (obj, key, value) => {
|
|
|
11092
11056
|
exports2.TabPanel = TabPanel;
|
|
11093
11057
|
exports2.Tabbar = Tabbar;
|
|
11094
11058
|
exports2.TabbarItem = TabbarItem;
|
|
11095
|
-
exports2.Tabs = Tabs;
|
|
11096
11059
|
exports2.Tag = Tag;
|
|
11097
11060
|
exports2.TextArea = TextArea;
|
|
11098
11061
|
exports2.Toast = ToastFunction;
|