@nutui/nutui 4.0.0-beta.7 → 4.0.0-beta.8
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/dist/nutui.es.js +121 -0
- package/dist/nutui.umd.cjs +267 -339
- package/dist/packages/_es/Barrage.js +15 -27
- package/dist/packages/_es/ImagePreview.js +4 -5
- package/dist/packages/_es/Notify.js +2 -0
- package/dist/packages/_es/Swiper.js +56 -114
- package/dist/packages/_es/Switch.js +1 -1
- package/dist/packages/barrage/index.scss +17 -1
- package/dist/packages/cell/index.scss +3 -1
- package/dist/packages/pullrefresh/index.scss +3 -2
- package/dist/smartips/attributes.json +19 -15
- package/dist/smartips/tags.json +3 -2
- package/dist/smartips/web-types.json +32 -23
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +50 -50
- package/dist/styles/themes/jdb.scss +50 -50
- package/dist/styles/themes/jddkh.scss +50 -50
- package/dist/styles/themes/jdt.scss +50 -50
- package/dist/types/__VUE/barrage/index.vue.d.ts +0 -1
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +0 -9
- package/dist/types/__VUE/swiper/index.vue.d.ts +8 -7
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/nutui.umd.cjs
CHANGED
|
@@ -457,7 +457,7 @@ var __publicField = (obj, key, value) => {
|
|
|
457
457
|
};
|
|
458
458
|
};
|
|
459
459
|
const { componentName: componentName$1l, create: create$1O } = createComponent("button");
|
|
460
|
-
const _sfc_main$
|
|
460
|
+
const _sfc_main$1O = create$1O({
|
|
461
461
|
components: { Loading: iconsVue.Loading },
|
|
462
462
|
props: {
|
|
463
463
|
color: String,
|
|
@@ -565,7 +565,7 @@ var __publicField = (obj, key, value) => {
|
|
|
565
565
|
])
|
|
566
566
|
], 6);
|
|
567
567
|
}
|
|
568
|
-
const Button = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
568
|
+
const Button = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1C]]);
|
|
569
569
|
function useRouter() {
|
|
570
570
|
const proxy = vue.getCurrentInstance().proxy;
|
|
571
571
|
return proxy.$router || null;
|
|
@@ -574,7 +574,7 @@ var __publicField = (obj, key, value) => {
|
|
|
574
574
|
return isNaN(Number(value)) ? String(value) : `${value}px`;
|
|
575
575
|
};
|
|
576
576
|
const { componentName: componentName$1k, create: create$1N } = createComponent("cell");
|
|
577
|
-
const _sfc_main$
|
|
577
|
+
const _sfc_main$1N = create$1N({
|
|
578
578
|
components: { Right: iconsVue.Right },
|
|
579
579
|
props: {
|
|
580
580
|
title: { type: String, default: "" },
|
|
@@ -666,9 +666,9 @@ var __publicField = (obj, key, value) => {
|
|
|
666
666
|
])
|
|
667
667
|
], 6);
|
|
668
668
|
}
|
|
669
|
-
const Cell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
669
|
+
const Cell = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["render", render$2]]);
|
|
670
670
|
const { componentName: componentName$1j, create: create$1M } = createComponent("cell-group");
|
|
671
|
-
const _sfc_main$
|
|
671
|
+
const _sfc_main$1M = create$1M({
|
|
672
672
|
props: {
|
|
673
673
|
title: { type: String, default: "" },
|
|
674
674
|
desc: { type: String, default: "" }
|
|
@@ -705,7 +705,7 @@ var __publicField = (obj, key, value) => {
|
|
|
705
705
|
])
|
|
706
706
|
], 2);
|
|
707
707
|
}
|
|
708
|
-
const CellGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
708
|
+
const CellGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["render", _sfc_render$1B]]);
|
|
709
709
|
let count = 0;
|
|
710
710
|
const CLSNAME = "nut-overflow-hidden";
|
|
711
711
|
const useLockScroll = (isLock) => {
|
|
@@ -724,7 +724,7 @@ var __publicField = (obj, key, value) => {
|
|
|
724
724
|
return [lock, unlock];
|
|
725
725
|
};
|
|
726
726
|
const { componentName: componentName$1i, create: create$1L } = createComponent("overlay");
|
|
727
|
-
const _sfc_main$
|
|
727
|
+
const _sfc_main$1L = create$1L({
|
|
728
728
|
props: {
|
|
729
729
|
visible: {
|
|
730
730
|
type: Boolean,
|
|
@@ -799,7 +799,7 @@ var __publicField = (obj, key, value) => {
|
|
|
799
799
|
_: 3
|
|
800
800
|
});
|
|
801
801
|
}
|
|
802
|
-
const Overlay = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
802
|
+
const Overlay = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$1A]]);
|
|
803
803
|
const popupProps = {
|
|
804
804
|
visible: {
|
|
805
805
|
type: Boolean,
|
|
@@ -973,7 +973,7 @@ var __publicField = (obj, key, value) => {
|
|
|
973
973
|
};
|
|
974
974
|
};
|
|
975
975
|
const { componentName: componentName$1h, create: create$1K } = createComponent("popup");
|
|
976
|
-
const _sfc_main$
|
|
976
|
+
const _sfc_main$1K = create$1K(
|
|
977
977
|
component$6(componentName$1h, {
|
|
978
978
|
[Overlay.name]: Overlay,
|
|
979
979
|
Close: iconsVue.Close
|
|
@@ -1024,9 +1024,9 @@ var __publicField = (obj, key, value) => {
|
|
|
1024
1024
|
}, 8, ["name", "onAfterEnter", "onAfterLeave"])
|
|
1025
1025
|
], 8, ["to", "disabled"]);
|
|
1026
1026
|
}
|
|
1027
|
-
const Popup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1027
|
+
const Popup = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$1z]]);
|
|
1028
1028
|
const { componentName: componentName$1g, create: create$1J } = createComponent("config-provider");
|
|
1029
|
-
const _sfc_main$
|
|
1029
|
+
const _sfc_main$1J = create$1J({
|
|
1030
1030
|
props: {
|
|
1031
1031
|
theme: { type: String, default: "" },
|
|
1032
1032
|
themeVars: { type: Object, default: () => {
|
|
@@ -1061,7 +1061,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
});
|
|
1063
1063
|
const { componentName: componentName$1f, create: create$1I } = createComponent("image");
|
|
1064
|
-
const _sfc_main$
|
|
1064
|
+
const _sfc_main$1I = create$1I({
|
|
1065
1065
|
props: {
|
|
1066
1066
|
src: String,
|
|
1067
1067
|
fit: {
|
|
@@ -1202,11 +1202,11 @@ var __publicField = (obj, key, value) => {
|
|
|
1202
1202
|
])) : vue.createCommentVNode("", true)
|
|
1203
1203
|
], 6);
|
|
1204
1204
|
}
|
|
1205
|
-
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1205
|
+
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["render", _sfc_render$1y]]);
|
|
1206
1206
|
const { create: create$1H } = createComponent("layout");
|
|
1207
|
-
const _sfc_main$
|
|
1207
|
+
const _sfc_main$1H = create$1H({});
|
|
1208
1208
|
const { componentName: componentName$1e, create: create$1G } = createComponent("col");
|
|
1209
|
-
const _sfc_main$
|
|
1209
|
+
const _sfc_main$1G = create$1G({
|
|
1210
1210
|
props: {
|
|
1211
1211
|
span: {
|
|
1212
1212
|
type: [String, Number],
|
|
@@ -1249,9 +1249,9 @@ var __publicField = (obj, key, value) => {
|
|
|
1249
1249
|
vue.renderSlot(_ctx.$slots, "default")
|
|
1250
1250
|
], 6);
|
|
1251
1251
|
}
|
|
1252
|
-
const Col = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1252
|
+
const Col = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$1x]]);
|
|
1253
1253
|
const { componentName: componentName$1d, create: create$1F } = createComponent("row");
|
|
1254
|
-
const _sfc_main$
|
|
1254
|
+
const _sfc_main$1F = create$1F({
|
|
1255
1255
|
props: {
|
|
1256
1256
|
type: {
|
|
1257
1257
|
type: String,
|
|
@@ -1302,7 +1302,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1302
1302
|
vue.renderSlot(_ctx.$slots, "default")
|
|
1303
1303
|
], 2);
|
|
1304
1304
|
}
|
|
1305
|
-
const Row = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1305
|
+
const Row = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$1w]]);
|
|
1306
1306
|
function isWindow(val) {
|
|
1307
1307
|
return val === window;
|
|
1308
1308
|
}
|
|
@@ -1333,7 +1333,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1333
1333
|
};
|
|
1334
1334
|
};
|
|
1335
1335
|
const { componentName: componentName$1c, create: create$1E } = createComponent("sticky");
|
|
1336
|
-
const _sfc_main$
|
|
1336
|
+
const _sfc_main$1E = create$1E({
|
|
1337
1337
|
props: {
|
|
1338
1338
|
position: {
|
|
1339
1339
|
type: String,
|
|
@@ -1478,7 +1478,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
});
|
|
1480
1480
|
const { componentName: componentName$1b, create: create$1D } = createComponent("divider");
|
|
1481
|
-
const _sfc_main$
|
|
1481
|
+
const _sfc_main$1D = create$1D({
|
|
1482
1482
|
props: {
|
|
1483
1483
|
contentPosition: {
|
|
1484
1484
|
type: String,
|
|
@@ -1536,7 +1536,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1536
1536
|
class: vue.normalizeClass(_ctx.classes)
|
|
1537
1537
|
}, null, 2));
|
|
1538
1538
|
}
|
|
1539
|
-
const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1539
|
+
const Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$1v]]);
|
|
1540
1540
|
function flattenVNodes(children, childName) {
|
|
1541
1541
|
const result = [];
|
|
1542
1542
|
const traverse = (children2) => {
|
|
@@ -1668,7 +1668,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
};
|
|
1670
1670
|
const { create: create$1C } = createComponent("grid");
|
|
1671
|
-
const _sfc_main$
|
|
1671
|
+
const _sfc_main$1C = create$1C(component$5);
|
|
1672
1672
|
function useInject(key) {
|
|
1673
1673
|
const parent = vue.inject(key, null);
|
|
1674
1674
|
if (parent) {
|
|
@@ -1688,7 +1688,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1688
1688
|
};
|
|
1689
1689
|
}
|
|
1690
1690
|
const { create: create$1B, componentName: componentName$19 } = createComponent("grid-item");
|
|
1691
|
-
const _sfc_main$
|
|
1691
|
+
const _sfc_main$1B = create$1B({
|
|
1692
1692
|
props: {
|
|
1693
1693
|
text: {
|
|
1694
1694
|
type: String
|
|
@@ -1781,9 +1781,9 @@ var __publicField = (obj, key, value) => {
|
|
|
1781
1781
|
], 2)
|
|
1782
1782
|
], 6);
|
|
1783
1783
|
}
|
|
1784
|
-
const GridItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1784
|
+
const GridItem = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$1u]]);
|
|
1785
1785
|
const { componentName: componentName$18, create: create$1A } = createComponent("navbar");
|
|
1786
|
-
const _sfc_main$
|
|
1786
|
+
const _sfc_main$1A = create$1A({
|
|
1787
1787
|
components: { Left: iconsVue.Left },
|
|
1788
1788
|
props: {
|
|
1789
1789
|
leftShow: { type: Boolean, default: false },
|
|
@@ -1978,7 +1978,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1978
1978
|
])
|
|
1979
1979
|
], 6));
|
|
1980
1980
|
}
|
|
1981
|
-
const Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1981
|
+
const Navbar = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$1t]]);
|
|
1982
1982
|
const { componentName: componentName$17, translate: translate$t } = createComponent("fixed-nav");
|
|
1983
1983
|
const component$4 = (components) => {
|
|
1984
1984
|
return {
|
|
@@ -2048,7 +2048,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2048
2048
|
};
|
|
2049
2049
|
};
|
|
2050
2050
|
const { create: create$1z } = createComponent("fixed-nav");
|
|
2051
|
-
const _sfc_main$
|
|
2051
|
+
const _sfc_main$1z = create$1z(
|
|
2052
2052
|
component$4({
|
|
2053
2053
|
[Overlay.name]: Overlay,
|
|
2054
2054
|
Left: iconsVue.Left
|
|
@@ -2104,9 +2104,9 @@ var __publicField = (obj, key, value) => {
|
|
|
2104
2104
|
])
|
|
2105
2105
|
], 6);
|
|
2106
2106
|
}
|
|
2107
|
-
const FixedNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2107
|
+
const FixedNav = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", render$1]]);
|
|
2108
2108
|
const { componentName: componentName$16, create: create$1y } = createComponent("menu");
|
|
2109
|
-
const _sfc_main$
|
|
2109
|
+
const _sfc_main$1y = create$1y({
|
|
2110
2110
|
components: {
|
|
2111
2111
|
ArrowUp2: iconsVue.ArrowUp2,
|
|
2112
2112
|
ArrowDown2: iconsVue.ArrowDown2
|
|
@@ -2294,9 +2294,9 @@ var __publicField = (obj, key, value) => {
|
|
|
2294
2294
|
vue.renderSlot(_ctx.$slots, "default")
|
|
2295
2295
|
], 2);
|
|
2296
2296
|
}
|
|
2297
|
-
const Menu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2297
|
+
const Menu = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$1s]]);
|
|
2298
2298
|
const { componentName: componentName$15, create: create$1x } = createComponent("menu-item");
|
|
2299
|
-
const _sfc_main$
|
|
2299
|
+
const _sfc_main$1x = create$1x({
|
|
2300
2300
|
props: {
|
|
2301
2301
|
title: String,
|
|
2302
2302
|
options: {
|
|
@@ -2474,9 +2474,9 @@ var __publicField = (obj, key, value) => {
|
|
|
2474
2474
|
[vue.vShow, _ctx.state.showWrapper]
|
|
2475
2475
|
]);
|
|
2476
2476
|
}
|
|
2477
|
-
const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2477
|
+
const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$1r]]);
|
|
2478
2478
|
const { create: create$1w } = createComponent("tabbar");
|
|
2479
|
-
const _sfc_main$
|
|
2479
|
+
const _sfc_main$1w = create$1w({
|
|
2480
2480
|
props: {
|
|
2481
2481
|
modelValue: {
|
|
2482
2482
|
type: [Number, String],
|
|
@@ -2563,9 +2563,9 @@ var __publicField = (obj, key, value) => {
|
|
|
2563
2563
|
], 2)
|
|
2564
2564
|
], 6);
|
|
2565
2565
|
}
|
|
2566
|
-
const Tabbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2566
|
+
const Tabbar = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$1q]]);
|
|
2567
2567
|
const { create: create$1v } = createComponent("badge");
|
|
2568
|
-
const _sfc_main$
|
|
2568
|
+
const _sfc_main$1v = create$1v({
|
|
2569
2569
|
props: {
|
|
2570
2570
|
value: {
|
|
2571
2571
|
type: [String, Number]
|
|
@@ -2648,9 +2648,9 @@ var __publicField = (obj, key, value) => {
|
|
|
2648
2648
|
])
|
|
2649
2649
|
]);
|
|
2650
2650
|
}
|
|
2651
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2651
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$1p]]);
|
|
2652
2652
|
const { create: create$1u } = createComponent("tabbar-item");
|
|
2653
|
-
const _sfc_main$
|
|
2653
|
+
const _sfc_main$1u = create$1u({
|
|
2654
2654
|
components: { [Badge.name]: Badge },
|
|
2655
2655
|
props: {
|
|
2656
2656
|
tabTitle: {
|
|
@@ -2763,7 +2763,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2763
2763
|
}, 16)
|
|
2764
2764
|
], 6);
|
|
2765
2765
|
}
|
|
2766
|
-
const TabbarItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2766
|
+
const TabbarItem = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$1o]]);
|
|
2767
2767
|
function useExpose(apis) {
|
|
2768
2768
|
const instance = vue.getCurrentInstance();
|
|
2769
2769
|
if (instance) {
|
|
@@ -2771,7 +2771,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2771
2771
|
}
|
|
2772
2772
|
}
|
|
2773
2773
|
const { componentName: componentName$14, create: create$1t } = createComponent("elevator");
|
|
2774
|
-
const _sfc_main$
|
|
2774
|
+
const _sfc_main$1t = create$1t({
|
|
2775
2775
|
props: {
|
|
2776
2776
|
height: {
|
|
2777
2777
|
type: [Number, String],
|
|
@@ -3033,9 +3033,9 @@ var __publicField = (obj, key, value) => {
|
|
|
3033
3033
|
], 32)
|
|
3034
3034
|
], 2);
|
|
3035
3035
|
}
|
|
3036
|
-
const Elevator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3036
|
+
const Elevator = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$1n]]);
|
|
3037
3037
|
const { create: create$1s, translate: translate$s } = createComponent("pagination");
|
|
3038
|
-
const _sfc_main$
|
|
3038
|
+
const _sfc_main$1s = create$1s({
|
|
3039
3039
|
props: {
|
|
3040
3040
|
modelValue: {
|
|
3041
3041
|
type: Number,
|
|
@@ -3188,7 +3188,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3188
3188
|
], 2)
|
|
3189
3189
|
]);
|
|
3190
3190
|
}
|
|
3191
|
-
const Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3191
|
+
const Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$1m]]);
|
|
3192
3192
|
class Title {
|
|
3193
3193
|
constructor() {
|
|
3194
3194
|
__publicField(this, "title", "");
|
|
@@ -3198,8 +3198,8 @@ var __publicField = (obj, key, value) => {
|
|
|
3198
3198
|
}
|
|
3199
3199
|
}
|
|
3200
3200
|
const { create: create$1r } = createComponent("tabs");
|
|
3201
|
-
const _sfc_main$
|
|
3202
|
-
components: { [_sfc_main$
|
|
3201
|
+
const _sfc_main$1r = create$1r({
|
|
3202
|
+
components: { [_sfc_main$1E.name]: _sfc_main$1E, JoySmile: iconsVue.JoySmile },
|
|
3203
3203
|
props: {
|
|
3204
3204
|
modelValue: {
|
|
3205
3205
|
type: [String, Number],
|
|
@@ -3468,9 +3468,9 @@ var __publicField = (obj, key, value) => {
|
|
|
3468
3468
|
], 4)
|
|
3469
3469
|
], 2);
|
|
3470
3470
|
}
|
|
3471
|
-
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3471
|
+
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$1l]]);
|
|
3472
3472
|
const { create: create$1q } = createComponent("tab-pane");
|
|
3473
|
-
const _sfc_main$
|
|
3473
|
+
const _sfc_main$1q = create$1q({
|
|
3474
3474
|
props: {
|
|
3475
3475
|
title: {
|
|
3476
3476
|
type: [String, Number],
|
|
@@ -3502,9 +3502,9 @@ var __publicField = (obj, key, value) => {
|
|
|
3502
3502
|
vue.renderSlot(_ctx.$slots, "default")
|
|
3503
3503
|
], 2);
|
|
3504
3504
|
}
|
|
3505
|
-
const TabPane = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3505
|
+
const TabPane = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$1k]]);
|
|
3506
3506
|
const { componentName: componentName$13, create: create$1p } = createComponent("indicator");
|
|
3507
|
-
const _sfc_main$
|
|
3507
|
+
const _sfc_main$1p = create$1p({
|
|
3508
3508
|
props: {
|
|
3509
3509
|
size: {
|
|
3510
3510
|
type: Number,
|
|
@@ -3559,9 +3559,9 @@ var __publicField = (obj, key, value) => {
|
|
|
3559
3559
|
}), 128))
|
|
3560
3560
|
], 2);
|
|
3561
3561
|
}
|
|
3562
|
-
const Indicator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3562
|
+
const Indicator = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$1j]]);
|
|
3563
3563
|
const { componentName: componentName$12, create: create$1o } = createComponent("side-navbar");
|
|
3564
|
-
const _sfc_main$
|
|
3564
|
+
const _sfc_main$1o = create$1o({
|
|
3565
3565
|
props: {
|
|
3566
3566
|
offset: {
|
|
3567
3567
|
type: [String, Number],
|
|
@@ -3636,9 +3636,9 @@ var __publicField = (obj, key, value) => {
|
|
|
3636
3636
|
])
|
|
3637
3637
|
], 2);
|
|
3638
3638
|
}
|
|
3639
|
-
const SideNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3639
|
+
const SideNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$1i]]);
|
|
3640
3640
|
const { componentName: componentName$11, create: create$1n } = createComponent("side-navbar-item");
|
|
3641
|
-
const _sfc_main$
|
|
3641
|
+
const _sfc_main$1n = create$1n({
|
|
3642
3642
|
props: {
|
|
3643
3643
|
title: {
|
|
3644
3644
|
type: String,
|
|
@@ -3677,9 +3677,9 @@ var __publicField = (obj, key, value) => {
|
|
|
3677
3677
|
vue.createElementVNode("span", _hoisted_2$Q, vue.toDisplayString(_ctx.title), 1)
|
|
3678
3678
|
], 10, _hoisted_1$$);
|
|
3679
3679
|
}
|
|
3680
|
-
const SideNavbarItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3680
|
+
const SideNavbarItem = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$1h]]);
|
|
3681
3681
|
const { componentName: componentName$10, create: create$1m } = createComponent("sub-side-navbar");
|
|
3682
|
-
const _sfc_main$
|
|
3682
|
+
const _sfc_main$1m = create$1m({
|
|
3683
3683
|
props: {
|
|
3684
3684
|
title: {
|
|
3685
3685
|
type: String,
|
|
@@ -3755,7 +3755,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3755
3755
|
])
|
|
3756
3756
|
], 10, _hoisted_1$_);
|
|
3757
3757
|
}
|
|
3758
|
-
const SubSideNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3758
|
+
const SubSideNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$1g]]);
|
|
3759
3759
|
const MIN_DISTANCE = 10;
|
|
3760
3760
|
function getDirection(x, y) {
|
|
3761
3761
|
if (x > y && x > MIN_DISTANCE) {
|
|
@@ -3766,7 +3766,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3766
3766
|
}
|
|
3767
3767
|
return "";
|
|
3768
3768
|
}
|
|
3769
|
-
function useTouch
|
|
3769
|
+
function useTouch() {
|
|
3770
3770
|
const startX = vue.ref(0);
|
|
3771
3771
|
const startY = vue.ref(0);
|
|
3772
3772
|
const moveX = vue.ref(0);
|
|
@@ -3820,7 +3820,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3820
3820
|
};
|
|
3821
3821
|
}
|
|
3822
3822
|
const { componentName: componentName$$, create: create$1l } = createComponent("range");
|
|
3823
|
-
const _sfc_main$
|
|
3823
|
+
const _sfc_main$1l = create$1l({
|
|
3824
3824
|
props: {
|
|
3825
3825
|
range: {
|
|
3826
3826
|
type: Boolean,
|
|
@@ -3870,7 +3870,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3870
3870
|
let currentValue;
|
|
3871
3871
|
const root = vue.ref();
|
|
3872
3872
|
const dragStatus = vue.ref();
|
|
3873
|
-
const touch = useTouch
|
|
3873
|
+
const touch = useTouch();
|
|
3874
3874
|
const marksList = vue.computed(() => {
|
|
3875
3875
|
const { marks, max, min } = props;
|
|
3876
3876
|
const marksKeys = Object.keys(marks);
|
|
@@ -4226,9 +4226,9 @@ var __publicField = (obj, key, value) => {
|
|
|
4226
4226
|
!_ctx.hiddenRange ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_7$i, vue.toDisplayString(+_ctx.max), 1)) : vue.createCommentVNode("", true)
|
|
4227
4227
|
], 2);
|
|
4228
4228
|
}
|
|
4229
|
-
const Range = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4229
|
+
const Range = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$1f]]);
|
|
4230
4230
|
const { create: create$1k, translate: translate$r } = createComponent("searchbar");
|
|
4231
|
-
const _sfc_main$
|
|
4231
|
+
const _sfc_main$1k = create$1k({
|
|
4232
4232
|
props: {
|
|
4233
4233
|
modelValue: {
|
|
4234
4234
|
type: [String, Number],
|
|
@@ -4470,7 +4470,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4470
4470
|
])) : vue.createCommentVNode("", true)
|
|
4471
4471
|
], 4);
|
|
4472
4472
|
}
|
|
4473
|
-
const Searchbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4473
|
+
const Searchbar = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$1e]]);
|
|
4474
4474
|
const formatTree = (tree, parent, config) => tree.map((node) => {
|
|
4475
4475
|
const { value: valueKey = "value", text: textKey = "text", children: childrenKey = "children" } = config;
|
|
4476
4476
|
const { [valueKey]: value, [textKey]: text, [childrenKey]: children, ...others } = node;
|
|
@@ -4594,7 +4594,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4594
4594
|
}
|
|
4595
4595
|
}
|
|
4596
4596
|
const { create: create$1j, translate: translate$q } = createComponent("cascader-item");
|
|
4597
|
-
const _sfc_main$
|
|
4597
|
+
const _sfc_main$1j = create$1j({
|
|
4598
4598
|
components: {
|
|
4599
4599
|
Loading: iconsVue.Loading,
|
|
4600
4600
|
Checklist: iconsVue.Checklist,
|
|
@@ -4892,9 +4892,9 @@ var __publicField = (obj, key, value) => {
|
|
|
4892
4892
|
_: 1
|
|
4893
4893
|
}, 8, ["modelValue", "onClick"]);
|
|
4894
4894
|
}
|
|
4895
|
-
const CascaderItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4895
|
+
const CascaderItem = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$1d]]);
|
|
4896
4896
|
const { create: create$1i } = createComponent("cascader");
|
|
4897
|
-
const _sfc_main$
|
|
4897
|
+
const _sfc_main$1i = create$1i({
|
|
4898
4898
|
components: {
|
|
4899
4899
|
[CascaderItem.name]: CascaderItem,
|
|
4900
4900
|
[Popup.name]: Popup
|
|
@@ -5016,7 +5016,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5016
5016
|
visible: _ctx.innerVisible
|
|
5017
5017
|
}, null, 8, ["onChange", "onPathChange", "modelValue", "options", "lazy", "lazy-load", "value-key", "text-key", "children-key", "convert-config", "visible"]));
|
|
5018
5018
|
}
|
|
5019
|
-
const Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5019
|
+
const Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$1c]]);
|
|
5020
5020
|
const Utils = {
|
|
5021
5021
|
isLeapYear: function(y) {
|
|
5022
5022
|
return y % 4 == 0 && y % 100 != 0 || y % 400 == 0;
|
|
@@ -5120,7 +5120,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5120
5120
|
}
|
|
5121
5121
|
const requestAniFrame$1 = requestAniFrame();
|
|
5122
5122
|
const { create: create$1h, translate: translate$p } = createComponent("calendar-item");
|
|
5123
|
-
const _sfc_main$
|
|
5123
|
+
const _sfc_main$1h = create$1h({
|
|
5124
5124
|
props: {
|
|
5125
5125
|
type: {
|
|
5126
5126
|
type: String,
|
|
@@ -5837,9 +5837,9 @@ var __publicField = (obj, key, value) => {
|
|
|
5837
5837
|
])) : vue.createCommentVNode("", true)
|
|
5838
5838
|
], 2);
|
|
5839
5839
|
}
|
|
5840
|
-
const CalendarItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5840
|
+
const CalendarItem = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$1b]]);
|
|
5841
5841
|
const { create: create$1g } = createComponent("calendar");
|
|
5842
|
-
const _sfc_main$
|
|
5842
|
+
const _sfc_main$1g = create$1g({
|
|
5843
5843
|
components: {
|
|
5844
5844
|
[CalendarItem.name]: CalendarItem,
|
|
5845
5845
|
[Popup.name]: Popup
|
|
@@ -6098,7 +6098,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6098
6098
|
} : void 0
|
|
6099
6099
|
]), 1032, ["type", "is-auto-back-fill", "poppable", "title", "confirm-text", "start-text", "end-text", "default-value", "start-date", "end-date", "onUpdate", "onClose", "onChoose", "onSelect", "show-today", "show-title", "show-sub-title", "to-date-animation", "first-day-of-week"]));
|
|
6100
6100
|
}
|
|
6101
|
-
const Calendar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6101
|
+
const Calendar = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$1a]]);
|
|
6102
6102
|
const component$3 = (componentName2, components) => {
|
|
6103
6103
|
return {
|
|
6104
6104
|
components,
|
|
@@ -6237,9 +6237,9 @@ var __publicField = (obj, key, value) => {
|
|
|
6237
6237
|
};
|
|
6238
6238
|
};
|
|
6239
6239
|
const { create: create$1f, componentName: componentName$_ } = createComponent("checkbox");
|
|
6240
|
-
const _sfc_main$
|
|
6240
|
+
const _sfc_main$1f = create$1f(component$3(componentName$_, { CheckNormal: iconsVue.CheckNormal, Checked: iconsVue.Checked, CheckDisabled: iconsVue.CheckDisabled }));
|
|
6241
6241
|
const { create: create$1e, componentName: componentName$Z } = createComponent("checkbox-group");
|
|
6242
|
-
const _sfc_main$
|
|
6242
|
+
const _sfc_main$1e = create$1e({
|
|
6243
6243
|
props: {
|
|
6244
6244
|
modelValue: {
|
|
6245
6245
|
type: Array,
|
|
@@ -6472,7 +6472,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6472
6472
|
};
|
|
6473
6473
|
};
|
|
6474
6474
|
const { create: create$1d } = createComponent("picker-column");
|
|
6475
|
-
const _sfc_main$
|
|
6475
|
+
const _sfc_main$1d = create$1d({
|
|
6476
6476
|
props: {
|
|
6477
6477
|
value: [String, Number],
|
|
6478
6478
|
columnsType: String,
|
|
@@ -6499,7 +6499,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6499
6499
|
},
|
|
6500
6500
|
emits: ["click", "change"],
|
|
6501
6501
|
setup(props, { emit }) {
|
|
6502
|
-
const touch = useTouch
|
|
6502
|
+
const touch = useTouch();
|
|
6503
6503
|
const state = vue.reactive({
|
|
6504
6504
|
touchParams: {
|
|
6505
6505
|
startY: 0,
|
|
@@ -6733,7 +6733,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6733
6733
|
}, null, 4)
|
|
6734
6734
|
], 32);
|
|
6735
6735
|
}
|
|
6736
|
-
const column = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6736
|
+
const column = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$19]]);
|
|
6737
6737
|
const baseProps$1 = {
|
|
6738
6738
|
modelValue: {
|
|
6739
6739
|
type: Array,
|
|
@@ -6779,7 +6779,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6779
6779
|
}
|
|
6780
6780
|
};
|
|
6781
6781
|
const { componentName: componentName$X, create: create$1c, translate: translate$o } = createComponent("picker");
|
|
6782
|
-
const _sfc_main$
|
|
6782
|
+
const _sfc_main$1c = create$1c({
|
|
6783
6783
|
components: {
|
|
6784
6784
|
[column.name]: column
|
|
6785
6785
|
},
|
|
@@ -6872,7 +6872,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6872
6872
|
vue.renderSlot(_ctx.$slots, "default")
|
|
6873
6873
|
], 2);
|
|
6874
6874
|
}
|
|
6875
|
-
const Picker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6875
|
+
const Picker = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$18]]);
|
|
6876
6876
|
const { componentName: componentName$W, create: create$1b, translate: translate$n } = createComponent("date-picker");
|
|
6877
6877
|
const currentYear = new Date().getFullYear();
|
|
6878
6878
|
function isDate(val) {
|
|
@@ -6886,7 +6886,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6886
6886
|
minute: translate$n("minute"),
|
|
6887
6887
|
seconds: translate$n("seconds")
|
|
6888
6888
|
};
|
|
6889
|
-
const _sfc_main$
|
|
6889
|
+
const _sfc_main$1b = create$1b({
|
|
6890
6890
|
components: {
|
|
6891
6891
|
[Picker.name]: Picker
|
|
6892
6892
|
},
|
|
@@ -7217,9 +7217,9 @@ var __publicField = (obj, key, value) => {
|
|
|
7217
7217
|
_: 3
|
|
7218
7218
|
}, 8, ["modelValue", "okText", "cancelText", "onCancel", "columns", "onChange", "title", "onConfirm", "threeDimensional", "swipeDuration", "showToolbar", "visibleOptionNum", "optionHeight"]);
|
|
7219
7219
|
}
|
|
7220
|
-
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7220
|
+
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$17]]);
|
|
7221
7221
|
const { componentName: componentName$V, create: create$1a } = createComponent("input-number");
|
|
7222
|
-
const _sfc_main$
|
|
7222
|
+
const _sfc_main$1a = create$1a({
|
|
7223
7223
|
components: { Minus: iconsVue.Minus, Plus: iconsVue.Plus },
|
|
7224
7224
|
props: {
|
|
7225
7225
|
modelValue: {
|
|
@@ -7382,7 +7382,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7382
7382
|
], 2)
|
|
7383
7383
|
], 2);
|
|
7384
7384
|
}
|
|
7385
|
-
const InputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7385
|
+
const InputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$16]]);
|
|
7386
7386
|
function trimExtraChar(value, char, regExp) {
|
|
7387
7387
|
const index = value.indexOf(char);
|
|
7388
7388
|
if (index === -1) {
|
|
@@ -7408,7 +7408,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7408
7408
|
return value.replace(regExp, "");
|
|
7409
7409
|
}
|
|
7410
7410
|
const { componentName: componentName$U, create: create$19 } = createComponent("input");
|
|
7411
|
-
const _sfc_main$
|
|
7411
|
+
const _sfc_main$19 = create$19({
|
|
7412
7412
|
props: {
|
|
7413
7413
|
ref: {
|
|
7414
7414
|
type: String,
|
|
@@ -7691,9 +7691,9 @@ var __publicField = (obj, key, value) => {
|
|
|
7691
7691
|
])
|
|
7692
7692
|
], 2);
|
|
7693
7693
|
}
|
|
7694
|
-
const Input = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7694
|
+
const Input = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$15]]);
|
|
7695
7695
|
const { componentName: componentName$T, create: create$18 } = createComponent("radio");
|
|
7696
|
-
const _sfc_main$
|
|
7696
|
+
const _sfc_main$18 = create$18({
|
|
7697
7697
|
components: {
|
|
7698
7698
|
CheckNormal: iconsVue.CheckNormal,
|
|
7699
7699
|
CheckChecked: iconsVue.CheckChecked
|
|
@@ -7783,7 +7783,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7783
7783
|
}
|
|
7784
7784
|
});
|
|
7785
7785
|
const { componentName: componentName$S, create: create$17 } = createComponent("radio-group");
|
|
7786
|
-
const _sfc_main$
|
|
7786
|
+
const _sfc_main$17 = create$17({
|
|
7787
7787
|
props: {
|
|
7788
7788
|
modelValue: {
|
|
7789
7789
|
type: [Number, String, Boolean],
|
|
@@ -7823,7 +7823,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7823
7823
|
}
|
|
7824
7824
|
});
|
|
7825
7825
|
const { create: create$16, componentName: componentName$R } = createComponent("rate");
|
|
7826
|
-
const _sfc_main$
|
|
7826
|
+
const _sfc_main$16 = create$16({
|
|
7827
7827
|
props: {
|
|
7828
7828
|
count: {
|
|
7829
7829
|
type: [String, Number],
|
|
@@ -7911,7 +7911,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7911
7911
|
}
|
|
7912
7912
|
return v;
|
|
7913
7913
|
};
|
|
7914
|
-
const touch = useTouch
|
|
7914
|
+
const touch = useTouch();
|
|
7915
7915
|
const touchMethods = {
|
|
7916
7916
|
onTouchStart(event) {
|
|
7917
7917
|
if (!props.touchable)
|
|
@@ -7991,9 +7991,9 @@ var __publicField = (obj, key, value) => {
|
|
|
7991
7991
|
}), 128))
|
|
7992
7992
|
], 34);
|
|
7993
7993
|
}
|
|
7994
|
-
const Rate = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7994
|
+
const Rate = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", render]]);
|
|
7995
7995
|
const { create: create$15, translate: translate$m } = createComponent("short-password");
|
|
7996
|
-
const _sfc_main$
|
|
7996
|
+
const _sfc_main$15 = create$15({
|
|
7997
7997
|
components: {
|
|
7998
7998
|
[Popup.name]: Popup,
|
|
7999
7999
|
Tips: iconsVue.Tips
|
|
@@ -8146,9 +8146,9 @@ var __publicField = (obj, key, value) => {
|
|
|
8146
8146
|
}, 8, ["visible", "onClickCloseIcon", "close-on-click-overlay", "onClickOverlay"])
|
|
8147
8147
|
]);
|
|
8148
8148
|
}
|
|
8149
|
-
const ShortPassword = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8149
|
+
const ShortPassword = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$14]]);
|
|
8150
8150
|
const { componentName: componentName$Q, create: create$14, translate: translate$l } = createComponent("textarea");
|
|
8151
|
-
const _sfc_main$
|
|
8151
|
+
const _sfc_main$14 = create$14({
|
|
8152
8152
|
props: {
|
|
8153
8153
|
modelValue: {
|
|
8154
8154
|
type: String,
|
|
@@ -8305,7 +8305,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8305
8305
|
_ctx.limitShow ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$G, vue.toDisplayString(_ctx.modelValue ? _ctx.modelValue.length : 0) + "/" + vue.toDisplayString(_ctx.maxLength), 1)) : vue.createCommentVNode("", true)
|
|
8306
8306
|
], 2);
|
|
8307
8307
|
}
|
|
8308
|
-
const Textarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8308
|
+
const Textarea = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$13]]);
|
|
8309
8309
|
class UploadOptions {
|
|
8310
8310
|
constructor() {
|
|
8311
8311
|
__publicField(this, "url", "");
|
|
@@ -8386,7 +8386,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8386
8386
|
}
|
|
8387
8387
|
}
|
|
8388
8388
|
const { create: create$13 } = createComponent("progress");
|
|
8389
|
-
const _sfc_main$
|
|
8389
|
+
const _sfc_main$13 = create$13({
|
|
8390
8390
|
components: { Checked: iconsVue.Checked },
|
|
8391
8391
|
props: {
|
|
8392
8392
|
percentage: {
|
|
@@ -8519,9 +8519,9 @@ var __publicField = (obj, key, value) => {
|
|
|
8519
8519
|
], 4)) : vue.createCommentVNode("", true)
|
|
8520
8520
|
]);
|
|
8521
8521
|
}
|
|
8522
|
-
const Progress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8522
|
+
const Progress = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$12]]);
|
|
8523
8523
|
const { componentName: componentName$P, create: create$12, translate: translate$j } = createComponent("uploader");
|
|
8524
|
-
const _sfc_main$
|
|
8524
|
+
const _sfc_main$12 = create$12({
|
|
8525
8525
|
components: {
|
|
8526
8526
|
[Progress.name]: Progress,
|
|
8527
8527
|
Photograph: iconsVue.Photograph,
|
|
@@ -8893,9 +8893,9 @@ var __publicField = (obj, key, value) => {
|
|
|
8893
8893
|
], 2)) : vue.createCommentVNode("", true)
|
|
8894
8894
|
], 2);
|
|
8895
8895
|
}
|
|
8896
|
-
const Uploader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8896
|
+
const Uploader = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$11]]);
|
|
8897
8897
|
const { create: create$11, translate: translate$i } = createComponent("number-keyboard");
|
|
8898
|
-
const _sfc_main$
|
|
8898
|
+
const _sfc_main$11 = create$11({
|
|
8899
8899
|
components: {
|
|
8900
8900
|
[Popup.name]: Popup
|
|
8901
8901
|
},
|
|
@@ -9170,7 +9170,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9170
9170
|
}, 8, ["visible", "popClass"])
|
|
9171
9171
|
], 512);
|
|
9172
9172
|
}
|
|
9173
|
-
const NumberKeyboard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9173
|
+
const NumberKeyboard = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$10]]);
|
|
9174
9174
|
const component$2 = (components) => {
|
|
9175
9175
|
return {
|
|
9176
9176
|
props: {
|
|
@@ -9323,7 +9323,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9323
9323
|
};
|
|
9324
9324
|
};
|
|
9325
9325
|
const { create: create$10 } = createComponent("form");
|
|
9326
|
-
const _sfc_main
|
|
9326
|
+
const _sfc_main$10 = create$10(
|
|
9327
9327
|
component$2({
|
|
9328
9328
|
[CellGroup.name]: CellGroup
|
|
9329
9329
|
})
|
|
@@ -9343,9 +9343,9 @@ var __publicField = (obj, key, value) => {
|
|
|
9343
9343
|
})
|
|
9344
9344
|
], 32);
|
|
9345
9345
|
}
|
|
9346
|
-
const Form = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
9346
|
+
const Form = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$$]]);
|
|
9347
9347
|
const { componentName: componentName$O, create: create$$ } = createComponent("form-item");
|
|
9348
|
-
const _sfc_main
|
|
9348
|
+
const _sfc_main$$ = create$$({
|
|
9349
9349
|
inheritAttrs: false,
|
|
9350
9350
|
props: {
|
|
9351
9351
|
prop: {
|
|
@@ -9454,9 +9454,9 @@ var __publicField = (obj, key, value) => {
|
|
|
9454
9454
|
_: 3
|
|
9455
9455
|
}, 8, ["class", "style"]);
|
|
9456
9456
|
}
|
|
9457
|
-
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
9457
|
+
const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$_]]);
|
|
9458
9458
|
const { componentName: componentName$N, create: create$_ } = createComponent("swipe");
|
|
9459
|
-
const _sfc_main$
|
|
9459
|
+
const _sfc_main$_ = create$_({
|
|
9460
9460
|
props: {
|
|
9461
9461
|
name: {
|
|
9462
9462
|
type: String,
|
|
@@ -9544,7 +9544,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9544
9544
|
}
|
|
9545
9545
|
state.offset = offset;
|
|
9546
9546
|
};
|
|
9547
|
-
const touch = useTouch
|
|
9547
|
+
const touch = useTouch();
|
|
9548
9548
|
const touchMethods = {
|
|
9549
9549
|
onTouchStart(event) {
|
|
9550
9550
|
if (props.disabled)
|
|
@@ -9631,9 +9631,9 @@ var __publicField = (obj, key, value) => {
|
|
|
9631
9631
|
], 512)
|
|
9632
9632
|
], 38);
|
|
9633
9633
|
}
|
|
9634
|
-
const Swipe = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9634
|
+
const Swipe = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$Z]]);
|
|
9635
9635
|
const { componentName: componentName$M, create: create$Z } = createComponent("action-sheet");
|
|
9636
|
-
const _sfc_main$
|
|
9636
|
+
const _sfc_main$Z = create$Z({
|
|
9637
9637
|
components: {
|
|
9638
9638
|
[Popup.name]: Popup,
|
|
9639
9639
|
Loading: iconsVue.Loading
|
|
@@ -9782,9 +9782,9 @@ var __publicField = (obj, key, value) => {
|
|
|
9782
9782
|
_: 3
|
|
9783
9783
|
}, 8, ["visible", "isWrapTeleport", "onClickOverlay", "closeOnClickOverlay"]);
|
|
9784
9784
|
}
|
|
9785
|
-
const ActionSheet = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9785
|
+
const ActionSheet = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$Y]]);
|
|
9786
9786
|
const { componentName: componentName$L, create: create$Y } = createComponent("backtop");
|
|
9787
|
-
const _sfc_main$
|
|
9787
|
+
const _sfc_main$Y = create$Y({
|
|
9788
9788
|
components: {
|
|
9789
9789
|
Top: iconsVue.Top
|
|
9790
9790
|
},
|
|
@@ -9929,9 +9929,9 @@ var __publicField = (obj, key, value) => {
|
|
|
9929
9929
|
])
|
|
9930
9930
|
], 6);
|
|
9931
9931
|
}
|
|
9932
|
-
const Backtop = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9932
|
+
const Backtop = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$X]]);
|
|
9933
9933
|
const { componentName: componentName$K, create: create$X } = createComponent("drag");
|
|
9934
|
-
const _sfc_main$
|
|
9934
|
+
const _sfc_main$X = create$X({
|
|
9935
9935
|
props: {
|
|
9936
9936
|
attract: {
|
|
9937
9937
|
type: Boolean,
|
|
@@ -10122,9 +10122,9 @@ var __publicField = (obj, key, value) => {
|
|
|
10122
10122
|
vue.renderSlot(_ctx.$slots, "default")
|
|
10123
10123
|
], 34);
|
|
10124
10124
|
}
|
|
10125
|
-
const Drag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10125
|
+
const Drag = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$W]]);
|
|
10126
10126
|
const { componentName: componentName$J, create: create$W, translate: translate$h } = createComponent("dialog");
|
|
10127
|
-
const _sfc_main$
|
|
10127
|
+
const _sfc_main$W = create$W({
|
|
10128
10128
|
inheritAttrs: false,
|
|
10129
10129
|
components: {
|
|
10130
10130
|
[Popup.name]: Popup,
|
|
@@ -10328,7 +10328,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10328
10328
|
_: 3
|
|
10329
10329
|
}, 8, ["teleport", "visible", "close-on-click-overlay", "lock-scroll", "pop-class", "style", "onClickOverlay", "onClickCloseIcon"]);
|
|
10330
10330
|
}
|
|
10331
|
-
const Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10331
|
+
const Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$V]]);
|
|
10332
10332
|
class DialogOptions {
|
|
10333
10333
|
constructor() {
|
|
10334
10334
|
__publicField(this, "title", "");
|
|
@@ -10427,7 +10427,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10427
10427
|
return scrollParent;
|
|
10428
10428
|
}
|
|
10429
10429
|
const { componentName: componentName$I, create: create$V, translate: translate$g } = createComponent("infinite-loading");
|
|
10430
|
-
const _sfc_main$
|
|
10430
|
+
const _sfc_main$V = create$V({
|
|
10431
10431
|
props: {
|
|
10432
10432
|
modelValue: {
|
|
10433
10433
|
type: Boolean,
|
|
@@ -10591,9 +10591,9 @@ var __publicField = (obj, key, value) => {
|
|
|
10591
10591
|
])
|
|
10592
10592
|
], 2);
|
|
10593
10593
|
}
|
|
10594
|
-
const InfiniteLoading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10594
|
+
const InfiniteLoading = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$U]]);
|
|
10595
10595
|
const { componentName: componentName$H, create: create$U, translate: translate$f } = createComponent("pullrefresh");
|
|
10596
|
-
const _sfc_main$
|
|
10596
|
+
const _sfc_main$U = create$U({
|
|
10597
10597
|
props: {
|
|
10598
10598
|
modelValue: {
|
|
10599
10599
|
type: Boolean,
|
|
@@ -10631,7 +10631,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10631
10631
|
emits: ["change", "refresh", "update:modelValue"],
|
|
10632
10632
|
components: { Loading: iconsVue.Loading },
|
|
10633
10633
|
setup(props, { emit, slots }) {
|
|
10634
|
-
const touch = useTouch
|
|
10634
|
+
const touch = useTouch();
|
|
10635
10635
|
const scroller = vue.ref();
|
|
10636
10636
|
const scrollParent = useScrollParent(scroller);
|
|
10637
10637
|
const state = vue.reactive({
|
|
@@ -10797,9 +10797,9 @@ var __publicField = (obj, key, value) => {
|
|
|
10797
10797
|
], 4)
|
|
10798
10798
|
], 34);
|
|
10799
10799
|
}
|
|
10800
|
-
const PullRefresh = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10800
|
+
const PullRefresh = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$T]]);
|
|
10801
10801
|
const { create: create$T } = createComponent("notify");
|
|
10802
|
-
const _sfc_main$
|
|
10802
|
+
const _sfc_main$T = create$T({
|
|
10803
10803
|
components: {
|
|
10804
10804
|
[Popup.name]: Popup
|
|
10805
10805
|
},
|
|
@@ -10892,7 +10892,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10892
10892
|
_: 3
|
|
10893
10893
|
}, 8, ["visible", "position", "teleportDisable"]);
|
|
10894
10894
|
}
|
|
10895
|
-
const Notify = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10895
|
+
const Notify = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$S]]);
|
|
10896
10896
|
const defaultOptions$1 = {
|
|
10897
10897
|
type: "base",
|
|
10898
10898
|
visible: true,
|
|
@@ -10901,6 +10901,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10901
10901
|
background: void 0,
|
|
10902
10902
|
duration: 3e3,
|
|
10903
10903
|
className: "",
|
|
10904
|
+
onClose: Function,
|
|
10904
10905
|
teleport: "",
|
|
10905
10906
|
unmount: new Function()
|
|
10906
10907
|
};
|
|
@@ -10961,6 +10962,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10961
10962
|
opts.teleport = `#notify-${opts.id}`;
|
|
10962
10963
|
vue.onMounted(() => {
|
|
10963
10964
|
setTimeout(() => {
|
|
10965
|
+
opts.onClose && opts.onClose();
|
|
10964
10966
|
document.body.removeChild(root);
|
|
10965
10967
|
}, opts.duration);
|
|
10966
10968
|
});
|
|
@@ -11009,7 +11011,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11009
11011
|
}
|
|
11010
11012
|
};
|
|
11011
11013
|
const { componentName: componentName$G, create: create$S } = createComponent("switch");
|
|
11012
|
-
const _sfc_main$
|
|
11014
|
+
const _sfc_main$S = create$S({
|
|
11013
11015
|
components: { Loading1: iconsVue.Loading1 },
|
|
11014
11016
|
props: {
|
|
11015
11017
|
modelValue: {
|
|
@@ -11102,7 +11104,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11102
11104
|
}, [
|
|
11103
11105
|
vue.createElementVNode("view", _hoisted_1$F, [
|
|
11104
11106
|
_ctx.loading ? vue.renderSlot(_ctx.$slots, "icon", { key: 0 }, () => [
|
|
11105
|
-
vue.createVNode(_component_Loading1)
|
|
11107
|
+
vue.createVNode(_component_Loading1, { name: "loading" })
|
|
11106
11108
|
]) : vue.createCommentVNode("", true),
|
|
11107
11109
|
_ctx.activeText ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
11108
11110
|
vue.withDirectives(vue.createElementVNode("view", { class: "nut-switch-label open" }, vue.toDisplayString(_ctx.activeText), 513), [
|
|
@@ -11115,9 +11117,9 @@ var __publicField = (obj, key, value) => {
|
|
|
11115
11117
|
])
|
|
11116
11118
|
], 6);
|
|
11117
11119
|
}
|
|
11118
|
-
const Switch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11120
|
+
const Switch = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$R]]);
|
|
11119
11121
|
const { create: create$R } = createComponent("toast");
|
|
11120
|
-
const _sfc_main$
|
|
11122
|
+
const _sfc_main$R = create$R({
|
|
11121
11123
|
components: {},
|
|
11122
11124
|
props: {
|
|
11123
11125
|
id: String,
|
|
@@ -11302,7 +11304,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11302
11304
|
_: 1
|
|
11303
11305
|
}, 8, ["onAfterLeave"]);
|
|
11304
11306
|
}
|
|
11305
|
-
const Toast = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11307
|
+
const Toast = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$Q]]);
|
|
11306
11308
|
const defaultOptions = {
|
|
11307
11309
|
msg: "",
|
|
11308
11310
|
id: "",
|
|
@@ -11419,7 +11421,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11419
11421
|
}
|
|
11420
11422
|
};
|
|
11421
11423
|
const { componentName: componentName$F, create: create$Q } = createComponent("audio");
|
|
11422
|
-
const _sfc_main$
|
|
11424
|
+
const _sfc_main$Q = create$Q({
|
|
11423
11425
|
props: {
|
|
11424
11426
|
url: {
|
|
11425
11427
|
type: String,
|
|
@@ -11657,9 +11659,9 @@ var __publicField = (obj, key, value) => {
|
|
|
11657
11659
|
}, null, 40, _hoisted_8$8)
|
|
11658
11660
|
]);
|
|
11659
11661
|
}
|
|
11660
|
-
const Audio = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11662
|
+
const Audio = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$P]]);
|
|
11661
11663
|
const { componentName: componentName$E, create: create$P, translate: translate$e } = createComponent("audio-operate");
|
|
11662
|
-
const _sfc_main$
|
|
11664
|
+
const _sfc_main$P = create$P({
|
|
11663
11665
|
props: {
|
|
11664
11666
|
type: {
|
|
11665
11667
|
type: String,
|
|
@@ -11751,9 +11753,9 @@ var __publicField = (obj, key, value) => {
|
|
|
11751
11753
|
])) : vue.createCommentVNode("", true)
|
|
11752
11754
|
]);
|
|
11753
11755
|
}
|
|
11754
|
-
const AudioOperate = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11756
|
+
const AudioOperate = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$O]]);
|
|
11755
11757
|
const { componentName: componentName$D, create: create$O } = createComponent("avatar");
|
|
11756
|
-
const _sfc_main$
|
|
11758
|
+
const _sfc_main$O = create$O({
|
|
11757
11759
|
props: {
|
|
11758
11760
|
size: {
|
|
11759
11761
|
type: String,
|
|
@@ -11857,9 +11859,9 @@ var __publicField = (obj, key, value) => {
|
|
|
11857
11859
|
], 64)) : vue.createCommentVNode("", true)
|
|
11858
11860
|
], 6)) : vue.createCommentVNode("", true);
|
|
11859
11861
|
}
|
|
11860
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11862
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$N]]);
|
|
11861
11863
|
const { componentName: componentName$C, create: create$N } = createComponent("avatar-group");
|
|
11862
|
-
const _sfc_main$
|
|
11864
|
+
const _sfc_main$N = create$N({
|
|
11863
11865
|
props: {
|
|
11864
11866
|
maxContent: {
|
|
11865
11867
|
type: String,
|
|
@@ -11925,10 +11927,10 @@ var __publicField = (obj, key, value) => {
|
|
|
11925
11927
|
vue.renderSlot(_ctx.$slots, "default")
|
|
11926
11928
|
], 2);
|
|
11927
11929
|
}
|
|
11928
|
-
const AvatarGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11930
|
+
const AvatarGroup = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$M]]);
|
|
11929
11931
|
const { componentName: componentName$B, create: create$M } = createComponent("list");
|
|
11930
11932
|
const clientHeight = document.documentElement.clientHeight || document.body.clientHeight || 667;
|
|
11931
|
-
const _sfc_main$
|
|
11933
|
+
const _sfc_main$M = create$M({
|
|
11932
11934
|
props: {
|
|
11933
11935
|
height: {
|
|
11934
11936
|
type: [Number],
|
|
@@ -12035,9 +12037,9 @@ var __publicField = (obj, key, value) => {
|
|
|
12035
12037
|
], 4)
|
|
12036
12038
|
], 38);
|
|
12037
12039
|
}
|
|
12038
|
-
const List = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12040
|
+
const List = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$L]]);
|
|
12039
12041
|
const { componentName: componentName$A, create: create$L } = createComponent("circle-progress");
|
|
12040
|
-
const _sfc_main$
|
|
12042
|
+
const _sfc_main$L = create$L({
|
|
12041
12043
|
props: {
|
|
12042
12044
|
progress: {
|
|
12043
12045
|
type: [Number, String],
|
|
@@ -12180,9 +12182,9 @@ var __publicField = (obj, key, value) => {
|
|
|
12180
12182
|
])
|
|
12181
12183
|
], 6);
|
|
12182
12184
|
}
|
|
12183
|
-
const CircleProgress = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12185
|
+
const CircleProgress = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$K]]);
|
|
12184
12186
|
const { componentName: componentName$z, create: create$K } = createComponent("noticebar");
|
|
12185
|
-
const _sfc_main$
|
|
12187
|
+
const _sfc_main$K = create$K({
|
|
12186
12188
|
props: {
|
|
12187
12189
|
direction: {
|
|
12188
12190
|
type: String,
|
|
@@ -12547,14 +12549,14 @@ var __publicField = (obj, key, value) => {
|
|
|
12547
12549
|
], 4)) : vue.createCommentVNode("", true)
|
|
12548
12550
|
], 2);
|
|
12549
12551
|
}
|
|
12550
|
-
const Noticebar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12552
|
+
const Noticebar = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$J]]);
|
|
12551
12553
|
const { componentName: componentName$y, create: create$J, translate: translate$d } = createComponent("empty");
|
|
12552
12554
|
const defaultStatus = {
|
|
12553
12555
|
empty: "https://static-ftcms.jd.com/p/files/61a9e3183985005b3958672b.png",
|
|
12554
12556
|
error: "https://ftcms.jd.com/p/files/61a9e33ee7dcdbcc0ce62736.png",
|
|
12555
12557
|
network: "https://static-ftcms.jd.com/p/files/61a9e31de7dcdbcc0ce62734.png"
|
|
12556
12558
|
};
|
|
12557
|
-
const _sfc_main$
|
|
12559
|
+
const _sfc_main$J = create$J({
|
|
12558
12560
|
props: {
|
|
12559
12561
|
image: {
|
|
12560
12562
|
type: String,
|
|
@@ -12613,7 +12615,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12613
12615
|
_ctx.$slots.default ? vue.renderSlot(_ctx.$slots, "default", { key: 2 }) : vue.createCommentVNode("", true)
|
|
12614
12616
|
]);
|
|
12615
12617
|
}
|
|
12616
|
-
const Empty = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12618
|
+
const Empty = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$I]]);
|
|
12617
12619
|
function throttle(fn, delay) {
|
|
12618
12620
|
let timer = null;
|
|
12619
12621
|
let startTime = Date.now();
|
|
@@ -12631,7 +12633,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12631
12633
|
};
|
|
12632
12634
|
}
|
|
12633
12635
|
const { create: create$I, translate: translate$c } = createComponent("video");
|
|
12634
|
-
const _sfc_main$
|
|
12636
|
+
const _sfc_main$I = create$I({
|
|
12635
12637
|
props: {
|
|
12636
12638
|
source: {
|
|
12637
12639
|
type: Object,
|
|
@@ -12996,9 +12998,9 @@ var __publicField = (obj, key, value) => {
|
|
|
12996
12998
|
])
|
|
12997
12999
|
], 512);
|
|
12998
13000
|
}
|
|
12999
|
-
const Video = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13001
|
+
const Video = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$H]]);
|
|
13000
13002
|
const { create: create$H, componentName: componentName$x } = createComponent("steps");
|
|
13001
|
-
const _sfc_main$
|
|
13003
|
+
const _sfc_main$H = create$H({
|
|
13002
13004
|
props: {
|
|
13003
13005
|
direction: {
|
|
13004
13006
|
type: String,
|
|
@@ -13051,7 +13053,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13051
13053
|
}
|
|
13052
13054
|
});
|
|
13053
13055
|
const { create: create$G, componentName: componentName$w } = createComponent("step");
|
|
13054
|
-
const _sfc_main$
|
|
13056
|
+
const _sfc_main$G = create$G({
|
|
13055
13057
|
props: {
|
|
13056
13058
|
title: {
|
|
13057
13059
|
type: String,
|
|
@@ -13145,57 +13147,9 @@ var __publicField = (obj, key, value) => {
|
|
|
13145
13147
|
])
|
|
13146
13148
|
], 2);
|
|
13147
13149
|
}
|
|
13148
|
-
const Step = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13149
|
-
const DISTANCE = 5;
|
|
13150
|
-
function useTouch() {
|
|
13151
|
-
const state = vue.reactive({
|
|
13152
|
-
startX: 0,
|
|
13153
|
-
startY: 0,
|
|
13154
|
-
deltaX: 0,
|
|
13155
|
-
deltaY: 0,
|
|
13156
|
-
offsetX: 0,
|
|
13157
|
-
offsetY: 0,
|
|
13158
|
-
direction: ""
|
|
13159
|
-
});
|
|
13160
|
-
const getDirection2 = (x, y) => {
|
|
13161
|
-
if (x > y && x > DISTANCE)
|
|
13162
|
-
return "horizontal";
|
|
13163
|
-
if (y > x && y > DISTANCE)
|
|
13164
|
-
return "vertical";
|
|
13165
|
-
return "";
|
|
13166
|
-
};
|
|
13167
|
-
const reset = () => {
|
|
13168
|
-
state.startX = 0;
|
|
13169
|
-
state.startY = 0;
|
|
13170
|
-
state.deltaX = 0;
|
|
13171
|
-
state.deltaY = 0;
|
|
13172
|
-
state.offsetX = 0;
|
|
13173
|
-
state.offsetY = 0;
|
|
13174
|
-
state.direction = "";
|
|
13175
|
-
};
|
|
13176
|
-
const start = (e) => {
|
|
13177
|
-
reset();
|
|
13178
|
-
state.startX = e.touches[0].clientX;
|
|
13179
|
-
state.startY = e.touches[0].clientY;
|
|
13180
|
-
};
|
|
13181
|
-
const move = (e) => {
|
|
13182
|
-
state.deltaX = e.touches[0].clientX - state.startX;
|
|
13183
|
-
state.deltaY = e.touches[0].clientY - state.startY;
|
|
13184
|
-
state.offsetX = Math.abs(state.deltaX);
|
|
13185
|
-
state.offsetY = Math.abs(state.deltaY);
|
|
13186
|
-
if (!state.direction) {
|
|
13187
|
-
state.direction = getDirection2(state.offsetX, state.offsetY);
|
|
13188
|
-
}
|
|
13189
|
-
};
|
|
13190
|
-
return {
|
|
13191
|
-
state,
|
|
13192
|
-
start,
|
|
13193
|
-
reset,
|
|
13194
|
-
move
|
|
13195
|
-
};
|
|
13196
|
-
}
|
|
13150
|
+
const Step = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$G]]);
|
|
13197
13151
|
const { create: create$F, componentName: componentName$v } = createComponent("swiper");
|
|
13198
|
-
const _sfc_main$
|
|
13152
|
+
const _sfc_main$F = create$F({
|
|
13199
13153
|
props: {
|
|
13200
13154
|
width: {
|
|
13201
13155
|
type: [Number, String],
|
|
@@ -13206,7 +13160,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13206
13160
|
default: 0
|
|
13207
13161
|
},
|
|
13208
13162
|
direction: {
|
|
13209
|
-
type:
|
|
13163
|
+
type: String,
|
|
13210
13164
|
default: "horizontal"
|
|
13211
13165
|
},
|
|
13212
13166
|
paginationVisible: {
|
|
@@ -13275,11 +13229,25 @@ var __publicField = (obj, key, value) => {
|
|
|
13275
13229
|
};
|
|
13276
13230
|
});
|
|
13277
13231
|
const isVertical = vue.computed(() => props.direction === "vertical");
|
|
13232
|
+
const classesInner = vue.computed(() => {
|
|
13233
|
+
const prefixCls = componentName$v;
|
|
13234
|
+
return {
|
|
13235
|
+
[`${prefixCls}-inner`]: true,
|
|
13236
|
+
[`${prefixCls}-vertical`]: isVertical.value
|
|
13237
|
+
};
|
|
13238
|
+
});
|
|
13239
|
+
const classesPagination = vue.computed(() => {
|
|
13240
|
+
const prefixCls = componentName$v;
|
|
13241
|
+
return {
|
|
13242
|
+
[`${prefixCls}-pagination`]: true,
|
|
13243
|
+
[`${prefixCls}-pagination-vertical`]: isVertical.value
|
|
13244
|
+
};
|
|
13245
|
+
});
|
|
13278
13246
|
const delTa = vue.computed(() => {
|
|
13279
|
-
return isVertical.value ? touch.
|
|
13247
|
+
return isVertical.value ? touch.deltaY.value : touch.deltaX.value;
|
|
13280
13248
|
});
|
|
13281
13249
|
const isCorrectDirection = vue.computed(() => {
|
|
13282
|
-
return touch.
|
|
13250
|
+
return touch.direction.value === props.direction;
|
|
13283
13251
|
});
|
|
13284
13252
|
const childCount = vue.computed(() => state.children.length);
|
|
13285
13253
|
const size = vue.computed(() => state[isVertical.value ? "height" : "width"]);
|
|
@@ -13294,12 +13262,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13294
13262
|
const activePagination = vue.computed(() => (state.active + childCount.value) % childCount.value);
|
|
13295
13263
|
const getStyle = () => {
|
|
13296
13264
|
let offset = 0;
|
|
13297
|
-
|
|
13298
|
-
offset = state.offset;
|
|
13299
|
-
} else {
|
|
13300
|
-
let val = isVertical.value ? state.rect.height - size.value : state.rect.width - size.value;
|
|
13301
|
-
offset = state.offset + (state.active === childCount.value - 1 ? -val / 2 : val / 2);
|
|
13302
|
-
}
|
|
13265
|
+
offset = state.offset;
|
|
13303
13266
|
state.style = {
|
|
13304
13267
|
transitionDuration: `${state.moving ? 0 : props.duration}ms`,
|
|
13305
13268
|
transform: `translate${isVertical.value ? "Y" : "X"}(${offset}px)`,
|
|
@@ -13310,26 +13273,27 @@ var __publicField = (obj, key, value) => {
|
|
|
13310
13273
|
const relation = (child) => {
|
|
13311
13274
|
var _a;
|
|
13312
13275
|
let children = [];
|
|
13276
|
+
const childrenVNodeLen = state.childrenVNode.length;
|
|
13313
13277
|
let slot = (_a = slots == null ? void 0 : slots.default) == null ? void 0 : _a.call(slots);
|
|
13314
13278
|
slot = slot.filter((item) => item.children && Array.isArray(item.children));
|
|
13315
13279
|
slot.forEach((item) => {
|
|
13316
13280
|
children = children.concat(item.children);
|
|
13317
13281
|
});
|
|
13318
|
-
if (!
|
|
13282
|
+
if (!childrenVNodeLen) {
|
|
13319
13283
|
state.childrenVNode = children.slice();
|
|
13320
13284
|
child.proxy && state.children.push(child.proxy);
|
|
13321
13285
|
} else {
|
|
13322
|
-
if (
|
|
13286
|
+
if (childrenVNodeLen > children.length) {
|
|
13323
13287
|
state.children = state.children.filter((item) => child.proxy !== item);
|
|
13324
|
-
} else if (
|
|
13325
|
-
for (let i = 0; i <
|
|
13288
|
+
} else if (childrenVNodeLen < children.length) {
|
|
13289
|
+
for (let i = 0; i < childrenVNodeLen; i++) {
|
|
13326
13290
|
if (children[i].key !== state.childrenVNode[i].key) {
|
|
13327
13291
|
child.proxy && state.children.splice(i, 0, child.proxy);
|
|
13328
13292
|
child.vnode && state.childrenVNode.splice(i, 0, child.vnode);
|
|
13329
13293
|
break;
|
|
13330
13294
|
}
|
|
13331
13295
|
}
|
|
13332
|
-
if (
|
|
13296
|
+
if (childrenVNodeLen !== children.length) {
|
|
13333
13297
|
child.proxy && state.children.push(child.proxy);
|
|
13334
13298
|
child.vnode && state.childrenVNode.push(child.vnode);
|
|
13335
13299
|
}
|
|
@@ -13339,12 +13303,6 @@ var __publicField = (obj, key, value) => {
|
|
|
13339
13303
|
}
|
|
13340
13304
|
}
|
|
13341
13305
|
};
|
|
13342
|
-
const range = (num, min, max) => {
|
|
13343
|
-
return Math.min(Math.max(num, min), max);
|
|
13344
|
-
};
|
|
13345
|
-
const requestFrame = (fn) => {
|
|
13346
|
-
window.requestAnimationFrame.call(window, fn);
|
|
13347
|
-
};
|
|
13348
13306
|
const getOffset = (active, offset = 0) => {
|
|
13349
13307
|
let currentPosition = active * size.value;
|
|
13350
13308
|
if (!props.loop) {
|
|
@@ -13352,7 +13310,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13352
13310
|
}
|
|
13353
13311
|
let targetOffset = offset - currentPosition;
|
|
13354
13312
|
if (!props.loop) {
|
|
13355
|
-
targetOffset =
|
|
13313
|
+
targetOffset = clamp(targetOffset, minOffset.value, 0);
|
|
13356
13314
|
}
|
|
13357
13315
|
return targetOffset;
|
|
13358
13316
|
};
|
|
@@ -13360,9 +13318,9 @@ var __publicField = (obj, key, value) => {
|
|
|
13360
13318
|
const { active } = state;
|
|
13361
13319
|
if (pace) {
|
|
13362
13320
|
if (props.loop) {
|
|
13363
|
-
return
|
|
13321
|
+
return clamp(active + pace, -1, childCount.value);
|
|
13364
13322
|
}
|
|
13365
|
-
return
|
|
13323
|
+
return clamp(active + pace, 0, childCount.value - 1);
|
|
13366
13324
|
}
|
|
13367
13325
|
return active;
|
|
13368
13326
|
};
|
|
@@ -13401,48 +13359,39 @@ var __publicField = (obj, key, value) => {
|
|
|
13401
13359
|
const stopAutoPlay = () => {
|
|
13402
13360
|
clearTimeout(state.autoplayTimer);
|
|
13403
13361
|
};
|
|
13404
|
-
const
|
|
13362
|
+
const jump = (pace) => {
|
|
13405
13363
|
resettPosition();
|
|
13406
13364
|
touch.reset();
|
|
13407
|
-
|
|
13408
|
-
|
|
13365
|
+
requestAniFrame$1(() => {
|
|
13366
|
+
requestAniFrame$1(() => {
|
|
13409
13367
|
state.moving = false;
|
|
13410
13368
|
move({
|
|
13411
|
-
pace
|
|
13369
|
+
pace,
|
|
13412
13370
|
isEmit: true
|
|
13413
13371
|
});
|
|
13414
13372
|
});
|
|
13415
13373
|
});
|
|
13416
13374
|
};
|
|
13375
|
+
const prev = () => {
|
|
13376
|
+
jump(-1);
|
|
13377
|
+
};
|
|
13417
13378
|
const next = () => {
|
|
13418
|
-
|
|
13419
|
-
touch.reset();
|
|
13420
|
-
requestFrame(() => {
|
|
13421
|
-
requestFrame(() => {
|
|
13422
|
-
state.moving = false;
|
|
13423
|
-
move({
|
|
13424
|
-
pace: 1,
|
|
13425
|
-
isEmit: true
|
|
13426
|
-
});
|
|
13427
|
-
});
|
|
13428
|
-
});
|
|
13379
|
+
jump(1);
|
|
13429
13380
|
};
|
|
13430
13381
|
const to = (index) => {
|
|
13431
13382
|
resettPosition();
|
|
13432
13383
|
touch.reset();
|
|
13433
|
-
|
|
13434
|
-
|
|
13435
|
-
|
|
13436
|
-
|
|
13437
|
-
|
|
13438
|
-
|
|
13439
|
-
|
|
13440
|
-
|
|
13441
|
-
|
|
13442
|
-
|
|
13443
|
-
|
|
13444
|
-
isEmit: true
|
|
13445
|
-
});
|
|
13384
|
+
requestAniFrame$1(() => {
|
|
13385
|
+
state.moving = false;
|
|
13386
|
+
let targetIndex;
|
|
13387
|
+
if (props.loop && childCount.value === index) {
|
|
13388
|
+
targetIndex = state.active === 0 ? 0 : index;
|
|
13389
|
+
} else {
|
|
13390
|
+
targetIndex = index % childCount.value;
|
|
13391
|
+
}
|
|
13392
|
+
move({
|
|
13393
|
+
pace: targetIndex - state.active,
|
|
13394
|
+
isEmit: true
|
|
13446
13395
|
});
|
|
13447
13396
|
});
|
|
13448
13397
|
};
|
|
@@ -13496,7 +13445,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13496
13445
|
const isShouldMove = Math.abs(speed) > 0.3 || Math.abs(delTa.value) > +(size.value / 2).toFixed(2);
|
|
13497
13446
|
if (isShouldMove && isCorrectDirection.value) {
|
|
13498
13447
|
let pace = 0;
|
|
13499
|
-
const offset = isVertical.value ? touch.
|
|
13448
|
+
const offset = isVertical.value ? touch.offsetY.value : touch.offsetX.value;
|
|
13500
13449
|
if (props.loop) {
|
|
13501
13450
|
pace = offset > 0 ? delTa.value > 0 ? -1 : 1 : 0;
|
|
13502
13451
|
} else {
|
|
@@ -13554,10 +13503,9 @@ var __publicField = (obj, key, value) => {
|
|
|
13554
13503
|
return {
|
|
13555
13504
|
state,
|
|
13556
13505
|
classes,
|
|
13506
|
+
classesInner,
|
|
13507
|
+
classesPagination,
|
|
13557
13508
|
container,
|
|
13558
|
-
componentName: componentName$v,
|
|
13559
|
-
isVertical,
|
|
13560
|
-
slots,
|
|
13561
13509
|
activePagination,
|
|
13562
13510
|
onTouchStart,
|
|
13563
13511
|
onTouchMove,
|
|
@@ -13575,21 +13523,15 @@ var __publicField = (obj, key, value) => {
|
|
|
13575
13523
|
onTouchcancel: _cache[3] || (_cache[3] = (...args) => _ctx.onTouchEnd && _ctx.onTouchEnd(...args))
|
|
13576
13524
|
}, [
|
|
13577
13525
|
vue.createElementVNode("view", {
|
|
13578
|
-
class: vue.normalizeClass(
|
|
13579
|
-
[`${_ctx.componentName}-inner`]: true,
|
|
13580
|
-
[`${_ctx.componentName}-vertical`]: _ctx.isVertical
|
|
13581
|
-
}),
|
|
13526
|
+
class: vue.normalizeClass(_ctx.classesInner),
|
|
13582
13527
|
style: vue.normalizeStyle(_ctx.state.style)
|
|
13583
13528
|
}, [
|
|
13584
13529
|
vue.renderSlot(_ctx.$slots, "default")
|
|
13585
13530
|
], 6),
|
|
13586
13531
|
vue.renderSlot(_ctx.$slots, "page"),
|
|
13587
|
-
_ctx.paginationVisible && !_ctx
|
|
13532
|
+
_ctx.paginationVisible && !_ctx.$slots.page ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
13588
13533
|
key: 0,
|
|
13589
|
-
class: vue.normalizeClass(
|
|
13590
|
-
[`${_ctx.componentName}-pagination`]: true,
|
|
13591
|
-
[`${_ctx.componentName}-pagination-vertical`]: _ctx.isVertical
|
|
13592
|
-
})
|
|
13534
|
+
class: vue.normalizeClass(_ctx.classesPagination)
|
|
13593
13535
|
}, [
|
|
13594
13536
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.state.children.length, (item, index) => {
|
|
13595
13537
|
return vue.openBlock(), vue.createElementBlock("i", {
|
|
@@ -13603,9 +13545,9 @@ var __publicField = (obj, key, value) => {
|
|
|
13603
13545
|
], 2)) : vue.createCommentVNode("", true)
|
|
13604
13546
|
], 34);
|
|
13605
13547
|
}
|
|
13606
|
-
const Swiper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13548
|
+
const Swiper = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$F]]);
|
|
13607
13549
|
const { create: create$E, componentName: componentName$u } = createComponent("swiper-item");
|
|
13608
|
-
const _sfc_main$
|
|
13550
|
+
const _sfc_main$E = create$E({
|
|
13609
13551
|
setup(props, { slots }) {
|
|
13610
13552
|
const parent = vue.inject("parent");
|
|
13611
13553
|
parent["relation"](vue.getCurrentInstance());
|
|
@@ -13650,9 +13592,9 @@ var __publicField = (obj, key, value) => {
|
|
|
13650
13592
|
vue.renderSlot(_ctx.$slots, "default")
|
|
13651
13593
|
], 6);
|
|
13652
13594
|
}
|
|
13653
|
-
const SwiperItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13595
|
+
const SwiperItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$E]]);
|
|
13654
13596
|
const { componentName: componentName$t, create: create$D } = createComponent("price");
|
|
13655
|
-
const _sfc_main$
|
|
13597
|
+
const _sfc_main$D = create$D({
|
|
13656
13598
|
props: {
|
|
13657
13599
|
price: {
|
|
13658
13600
|
type: [Number, String],
|
|
@@ -13763,7 +13705,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13763
13705
|
}, null, 10, _hoisted_2$s)) : vue.createCommentVNode("", true)
|
|
13764
13706
|
], 2);
|
|
13765
13707
|
}
|
|
13766
|
-
const Price = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13708
|
+
const Price = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$D]]);
|
|
13767
13709
|
const baseProps = {
|
|
13768
13710
|
show: { type: Boolean, default: false },
|
|
13769
13711
|
initNo: { type: Number, default: 0 },
|
|
@@ -13772,7 +13714,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13772
13714
|
maxZoom: { type: Number, default: 3 }
|
|
13773
13715
|
};
|
|
13774
13716
|
const { create: create$C } = createComponent("image-preview-item");
|
|
13775
|
-
const _sfc_main$
|
|
13717
|
+
const _sfc_main$C = create$C({
|
|
13776
13718
|
props: {
|
|
13777
13719
|
...baseProps,
|
|
13778
13720
|
image: {
|
|
@@ -13807,7 +13749,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13807
13749
|
displayWidth: 0,
|
|
13808
13750
|
displayHeight: 0
|
|
13809
13751
|
});
|
|
13810
|
-
const touch = useTouch
|
|
13752
|
+
const touch = useTouch();
|
|
13811
13753
|
const vertical = vue.computed(() => {
|
|
13812
13754
|
const { rootWidth, rootHeight } = props;
|
|
13813
13755
|
const rootRatio = rootHeight / rootWidth;
|
|
@@ -14019,9 +13961,9 @@ var __publicField = (obj, key, value) => {
|
|
|
14019
13961
|
_: 1
|
|
14020
13962
|
}, 8, ["onClick"]);
|
|
14021
13963
|
}
|
|
14022
|
-
const ImagePreviewItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13964
|
+
const ImagePreviewItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$C]]);
|
|
14023
13965
|
const { create: create$B } = createComponent("image-preview");
|
|
14024
|
-
const _sfc_main$
|
|
13966
|
+
const _sfc_main$B = create$B({
|
|
14025
13967
|
props: {
|
|
14026
13968
|
...baseProps,
|
|
14027
13969
|
images: { type: Array, default: () => [] },
|
|
@@ -14036,10 +13978,6 @@ var __publicField = (obj, key, value) => {
|
|
|
14036
13978
|
type: Boolean,
|
|
14037
13979
|
default: false
|
|
14038
13980
|
},
|
|
14039
|
-
closeIcon: {
|
|
14040
|
-
type: String,
|
|
14041
|
-
default: "circle-close"
|
|
14042
|
-
},
|
|
14043
13981
|
closeIconPosition: {
|
|
14044
13982
|
type: String,
|
|
14045
13983
|
default: "top-right"
|
|
@@ -14096,6 +14034,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14096
14034
|
const init = () => {
|
|
14097
14035
|
if (swipeRef.value) {
|
|
14098
14036
|
const rect = useRect(swipeRef.value);
|
|
14037
|
+
console.log("show");
|
|
14099
14038
|
state.rootHeight = rect.height;
|
|
14100
14039
|
state.rootWidth = rect.width;
|
|
14101
14040
|
}
|
|
@@ -14103,6 +14042,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14103
14042
|
vue.watch(
|
|
14104
14043
|
() => props.show,
|
|
14105
14044
|
(val) => {
|
|
14045
|
+
console.log("展示", val);
|
|
14106
14046
|
state.showPop = val;
|
|
14107
14047
|
init();
|
|
14108
14048
|
}
|
|
@@ -14196,7 +14136,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14196
14136
|
_: 3
|
|
14197
14137
|
}, 8, ["visible", "teleportDisable", "teleport", "onClosed"]);
|
|
14198
14138
|
}
|
|
14199
|
-
const ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14139
|
+
const ImagePreview = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B]]);
|
|
14200
14140
|
class ImagePreviewOptions {
|
|
14201
14141
|
constructor() {
|
|
14202
14142
|
__publicField(this, "show", false);
|
|
@@ -14226,7 +14166,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14226
14166
|
__publicField(this, "options", new ImagePreviewOptions());
|
|
14227
14167
|
const options = Object.assign(this.options, _options);
|
|
14228
14168
|
const { instance, unmount } = CreateComponent(options, {
|
|
14229
|
-
name: "
|
|
14169
|
+
name: "image-preview",
|
|
14230
14170
|
components: [Popup, Video, Swiper, SwiperItem, Overlay],
|
|
14231
14171
|
wrapper: () => {
|
|
14232
14172
|
return {
|
|
@@ -14255,7 +14195,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14255
14195
|
}
|
|
14256
14196
|
}
|
|
14257
14197
|
const { componentName: componentName$s, create: create$A } = createComponent("countup");
|
|
14258
|
-
const _sfc_main$
|
|
14198
|
+
const _sfc_main$A = create$A({
|
|
14259
14199
|
props: {
|
|
14260
14200
|
initNum: {
|
|
14261
14201
|
type: Number,
|
|
@@ -14804,7 +14744,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14804
14744
|
], 64))
|
|
14805
14745
|
]);
|
|
14806
14746
|
}
|
|
14807
|
-
const Countup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14747
|
+
const Countup = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A]]);
|
|
14808
14748
|
const getTimeStamp = (timeStr) => {
|
|
14809
14749
|
if (!timeStr)
|
|
14810
14750
|
return Date.now();
|
|
@@ -14813,7 +14753,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14813
14753
|
return new Date(t).getTime();
|
|
14814
14754
|
};
|
|
14815
14755
|
const { componentName: componentName$r, create: create$z, translate: translate$b } = createComponent("countdown");
|
|
14816
|
-
const _sfc_main$
|
|
14756
|
+
const _sfc_main$z = create$z({
|
|
14817
14757
|
props: {
|
|
14818
14758
|
modelValue: {
|
|
14819
14759
|
type: Object,
|
|
@@ -15044,9 +14984,9 @@ var __publicField = (obj, key, value) => {
|
|
|
15044
14984
|
}, null, 8, _hoisted_1$s))
|
|
15045
14985
|
], 2);
|
|
15046
14986
|
}
|
|
15047
|
-
const Countdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14987
|
+
const Countdown = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z]]);
|
|
15048
14988
|
const { componentName: componentName$q, create: create$y } = createComponent("tag");
|
|
15049
|
-
const _sfc_main$
|
|
14989
|
+
const _sfc_main$y = create$y({
|
|
15050
14990
|
props: {
|
|
15051
14991
|
color: { type: String, default: "" },
|
|
15052
14992
|
textColor: { type: String, default: "" },
|
|
@@ -15134,9 +15074,9 @@ var __publicField = (obj, key, value) => {
|
|
|
15134
15074
|
}, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
|
|
15135
15075
|
], 6);
|
|
15136
15076
|
}
|
|
15137
|
-
const Tag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15077
|
+
const Tag = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y]]);
|
|
15138
15078
|
const { create: create$x } = createComponent("popover");
|
|
15139
|
-
const _sfc_main$
|
|
15079
|
+
const _sfc_main$x = create$x({
|
|
15140
15080
|
components: {
|
|
15141
15081
|
[Popup.name]: Popup
|
|
15142
15082
|
},
|
|
@@ -15403,7 +15343,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15403
15343
|
], 6)
|
|
15404
15344
|
], 64);
|
|
15405
15345
|
}
|
|
15406
|
-
const Popover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15346
|
+
const Popover = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$x]]);
|
|
15407
15347
|
const component$1 = (components) => {
|
|
15408
15348
|
return {
|
|
15409
15349
|
components,
|
|
@@ -15488,7 +15428,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15488
15428
|
};
|
|
15489
15429
|
};
|
|
15490
15430
|
const { create: create$w } = createComponent("skeleton");
|
|
15491
|
-
const _sfc_main$
|
|
15431
|
+
const _sfc_main$w = create$w(
|
|
15492
15432
|
component$1({
|
|
15493
15433
|
[Avatar.name]: Avatar
|
|
15494
15434
|
})
|
|
@@ -15536,9 +15476,9 @@ var __publicField = (obj, key, value) => {
|
|
|
15536
15476
|
])
|
|
15537
15477
|
]));
|
|
15538
15478
|
}
|
|
15539
|
-
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15479
|
+
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w]]);
|
|
15540
15480
|
const { create: create$v, componentName: componentName$p } = createComponent("collapse");
|
|
15541
|
-
const _sfc_main$
|
|
15481
|
+
const _sfc_main$v = create$v({
|
|
15542
15482
|
props: {
|
|
15543
15483
|
active: {
|
|
15544
15484
|
type: [String, Number, Array],
|
|
@@ -15616,9 +15556,9 @@ var __publicField = (obj, key, value) => {
|
|
|
15616
15556
|
vue.renderSlot(_ctx.$slots, "default")
|
|
15617
15557
|
], 2);
|
|
15618
15558
|
}
|
|
15619
|
-
const Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15559
|
+
const Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$v]]);
|
|
15620
15560
|
const { create: create$u, componentName: componentName$o } = createComponent("collapse-item");
|
|
15621
|
-
const _sfc_main$
|
|
15561
|
+
const _sfc_main$u = create$u({
|
|
15622
15562
|
props: {
|
|
15623
15563
|
collapseRef: {
|
|
15624
15564
|
type: Object
|
|
@@ -15855,7 +15795,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15855
15795
|
], 512)
|
|
15856
15796
|
], 2);
|
|
15857
15797
|
}
|
|
15858
|
-
const CollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15798
|
+
const CollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u]]);
|
|
15859
15799
|
const RenderColumn = {
|
|
15860
15800
|
setup(props) {
|
|
15861
15801
|
return () => vue.h(`view`, {}, props.slots[0] ? props.slots[0](props.record) : props.slots[1](props.record));
|
|
@@ -15960,7 +15900,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15960
15900
|
};
|
|
15961
15901
|
};
|
|
15962
15902
|
const { componentName: componentName$n, create: create$t, translate: translate$a } = createComponent("table");
|
|
15963
|
-
const _sfc_main$
|
|
15903
|
+
const _sfc_main$t = create$t(component(componentName$n, translate$a));
|
|
15964
15904
|
const _hoisted_1$o = { class: "nut-table__main__head" };
|
|
15965
15905
|
const _hoisted_2$m = { class: "nut-table__main__head__tr" };
|
|
15966
15906
|
const _hoisted_3$k = ["onClick"];
|
|
@@ -16047,9 +15987,9 @@ var __publicField = (obj, key, value) => {
|
|
|
16047
15987
|
])) : vue.createCommentVNode("", true)
|
|
16048
15988
|
], 2);
|
|
16049
15989
|
}
|
|
16050
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15990
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t]]);
|
|
16051
15991
|
const { componentName: componentName$m, create: create$s } = createComponent("animate");
|
|
16052
|
-
const _sfc_main$
|
|
15992
|
+
const _sfc_main$s = create$s({
|
|
16053
15993
|
props: {
|
|
16054
15994
|
type: {
|
|
16055
15995
|
type: String,
|
|
@@ -16101,9 +16041,9 @@ var __publicField = (obj, key, value) => {
|
|
|
16101
16041
|
], 2)
|
|
16102
16042
|
]);
|
|
16103
16043
|
}
|
|
16104
|
-
const Animate = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16044
|
+
const Animate = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s]]);
|
|
16105
16045
|
const { componentName: componentName$l, create: create$r } = createComponent("ellipsis");
|
|
16106
|
-
const _sfc_main$
|
|
16046
|
+
const _sfc_main$r = create$r({
|
|
16107
16047
|
props: {
|
|
16108
16048
|
content: {
|
|
16109
16049
|
type: String,
|
|
@@ -16306,9 +16246,9 @@ var __publicField = (obj, key, value) => {
|
|
|
16306
16246
|
])) : vue.createCommentVNode("", true)
|
|
16307
16247
|
], 2);
|
|
16308
16248
|
}
|
|
16309
|
-
const Ellipsis = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16249
|
+
const Ellipsis = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$r]]);
|
|
16310
16250
|
const { componentName: componentName$k, create: create$q } = createComponent("watermark");
|
|
16311
|
-
const _sfc_main$
|
|
16251
|
+
const _sfc_main$q = create$q({
|
|
16312
16252
|
props: {
|
|
16313
16253
|
name: {
|
|
16314
16254
|
type: String,
|
|
@@ -16489,9 +16429,9 @@ var __publicField = (obj, key, value) => {
|
|
|
16489
16429
|
})
|
|
16490
16430
|
}, null, 6);
|
|
16491
16431
|
}
|
|
16492
|
-
const Watermark = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16432
|
+
const Watermark = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q]]);
|
|
16493
16433
|
const { componentName: componentName$j, create: create$p } = createComponent("trend-arrow");
|
|
16494
|
-
const _sfc_main$
|
|
16434
|
+
const _sfc_main$p = create$p({
|
|
16495
16435
|
components: { TriangleUp: iconsVue.TriangleUp, TriangleDown: iconsVue.TriangleDown },
|
|
16496
16436
|
props: {
|
|
16497
16437
|
rate: {
|
|
@@ -16588,9 +16528,9 @@ var __publicField = (obj, key, value) => {
|
|
|
16588
16528
|
}, vue.toDisplayString(_ctx.calcRate), 5)) : vue.createCommentVNode("", true)
|
|
16589
16529
|
], 2);
|
|
16590
16530
|
}
|
|
16591
|
-
const TrendArrow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16531
|
+
const TrendArrow = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p]]);
|
|
16592
16532
|
const { create: create$o } = createComponent("tour");
|
|
16593
|
-
const _sfc_main$
|
|
16533
|
+
const _sfc_main$o = create$o({
|
|
16594
16534
|
components: {
|
|
16595
16535
|
[Popover.name]: Popover,
|
|
16596
16536
|
Close: iconsVue.Close
|
|
@@ -16840,9 +16780,9 @@ var __publicField = (obj, key, value) => {
|
|
|
16840
16780
|
}), 128))
|
|
16841
16781
|
], 2);
|
|
16842
16782
|
}
|
|
16843
|
-
const Tour = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16783
|
+
const Tour = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o]]);
|
|
16844
16784
|
const { componentName: componentName$i, create: create$n, translate: translate$9 } = createComponent("address");
|
|
16845
|
-
const _sfc_main$
|
|
16785
|
+
const _sfc_main$n = create$n({
|
|
16846
16786
|
components: {
|
|
16847
16787
|
Location: iconsVue.Location,
|
|
16848
16788
|
Location2: iconsVue.Location2,
|
|
@@ -17319,9 +17259,9 @@ var __publicField = (obj, key, value) => {
|
|
|
17319
17259
|
_: 3
|
|
17320
17260
|
}, 8, ["lock-scroll", "onClose", "onClickOverlay", "visible", "teleportDisable", "teleport"]);
|
|
17321
17261
|
}
|
|
17322
|
-
const Address = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17262
|
+
const Address = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n]]);
|
|
17323
17263
|
const { componentName: componentName$h, create: create$m } = createComponent("barrage");
|
|
17324
|
-
const
|
|
17264
|
+
const _sfc_main$m = create$m({
|
|
17325
17265
|
name: "barrage",
|
|
17326
17266
|
props: {
|
|
17327
17267
|
danmu: {
|
|
@@ -17384,6 +17324,8 @@ var __publicField = (obj, key, value) => {
|
|
|
17384
17324
|
danmuList.value = dmList;
|
|
17385
17325
|
}
|
|
17386
17326
|
setTimeout(() => {
|
|
17327
|
+
var _a2;
|
|
17328
|
+
(_a2 = dmBody.value) == null ? void 0 : _a2.style.setProperty("--move-distance", `-${danmuCWidth.value}px`);
|
|
17387
17329
|
run();
|
|
17388
17330
|
}, 300);
|
|
17389
17331
|
});
|
|
@@ -17416,14 +17358,13 @@ var __publicField = (obj, key, value) => {
|
|
|
17416
17358
|
const run = () => {
|
|
17417
17359
|
clearInterval(timer);
|
|
17418
17360
|
timer = 0;
|
|
17419
|
-
timer =
|
|
17361
|
+
timer = setTimeout(() => {
|
|
17420
17362
|
play();
|
|
17421
17363
|
run();
|
|
17422
17364
|
}, props.frequency);
|
|
17423
17365
|
};
|
|
17424
|
-
const distance = vue.ref("0");
|
|
17425
17366
|
const play = () => {
|
|
17426
|
-
var _a
|
|
17367
|
+
var _a;
|
|
17427
17368
|
if (!props.loop && index.value >= danmuList.value.length) {
|
|
17428
17369
|
return;
|
|
17429
17370
|
}
|
|
@@ -17431,13 +17372,7 @@ var __publicField = (obj, key, value) => {
|
|
|
17431
17372
|
let el = document.createElement(`view`);
|
|
17432
17373
|
if (slotDefault && typeof danmuList.value[_index] == "object") {
|
|
17433
17374
|
el = danmuList.value[_index];
|
|
17434
|
-
|
|
17435
|
-
el.classList.remove("nut-barrage__item");
|
|
17436
|
-
}
|
|
17437
|
-
if ((_b = el == null ? void 0 : el.classList) == null ? void 0 : _b.contains("move")) {
|
|
17438
|
-
el.classList.remove("move");
|
|
17439
|
-
}
|
|
17440
|
-
(_c = el == null ? void 0 : el.classList) == null ? void 0 : _c.add("nut-barrage__item");
|
|
17375
|
+
(_a = el == null ? void 0 : el.classList) == null ? void 0 : _a.add("nut-barrage__item");
|
|
17441
17376
|
} else {
|
|
17442
17377
|
el.innerHTML = danmuList.value[_index];
|
|
17443
17378
|
el.classList.add("nut-barrage__item");
|
|
@@ -17454,11 +17389,15 @@ var __publicField = (obj, key, value) => {
|
|
|
17454
17389
|
const width = el.offsetWidth;
|
|
17455
17390
|
el.style.width = width + 20 + "px";
|
|
17456
17391
|
}
|
|
17457
|
-
el.style.setProperty("--move-distance", `-${danmuCWidth.value}px`);
|
|
17458
|
-
distance.value = "-" + speeds / 1e3 * 150 + "%";
|
|
17459
17392
|
el.dataset.index = `${_index}`;
|
|
17460
17393
|
if (slotDefault) {
|
|
17461
17394
|
index.value++;
|
|
17395
|
+
el.addEventListener("animationend", () => {
|
|
17396
|
+
var _a3;
|
|
17397
|
+
if ((_a3 = el == null ? void 0 : el.classList) == null ? void 0 : _a3.contains("move")) {
|
|
17398
|
+
el.classList.remove("move");
|
|
17399
|
+
}
|
|
17400
|
+
});
|
|
17462
17401
|
} else {
|
|
17463
17402
|
el.addEventListener("animationend", () => {
|
|
17464
17403
|
dmContainer.value.removeChild(el);
|
|
@@ -17467,20 +17406,9 @@ var __publicField = (obj, key, value) => {
|
|
|
17467
17406
|
}
|
|
17468
17407
|
});
|
|
17469
17408
|
};
|
|
17470
|
-
return { classTime, classes, danmuList, dmBody, dmContainer, add
|
|
17409
|
+
return { classTime, classes, danmuList, dmBody, dmContainer, add };
|
|
17471
17410
|
}
|
|
17472
17411
|
});
|
|
17473
|
-
const __injectCSSVars__ = () => {
|
|
17474
|
-
vue.useCssVars((_ctx) => ({
|
|
17475
|
-
"9e8362c8": _ctx.distance
|
|
17476
|
-
}));
|
|
17477
|
-
};
|
|
17478
|
-
const __setup__ = __default__.setup;
|
|
17479
|
-
__default__.setup = __setup__ ? (props, ctx) => {
|
|
17480
|
-
__injectCSSVars__();
|
|
17481
|
-
return __setup__(props, ctx);
|
|
17482
|
-
} : __injectCSSVars__;
|
|
17483
|
-
const index_vue_vue_type_style_index_0_lang = "";
|
|
17484
17412
|
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17485
17413
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17486
17414
|
ref: "dmBody",
|
|
@@ -17499,7 +17427,7 @@ var __publicField = (obj, key, value) => {
|
|
|
17499
17427
|
], 2)
|
|
17500
17428
|
], 2);
|
|
17501
17429
|
}
|
|
17502
|
-
const Barrage = /* @__PURE__ */ _export_sfc(
|
|
17430
|
+
const Barrage = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m]]);
|
|
17503
17431
|
const { componentName: componentName$g, create: create$l, translate: translate$8 } = createComponent("signature");
|
|
17504
17432
|
const _sfc_main$l = create$l({
|
|
17505
17433
|
props: {
|
|
@@ -19791,8 +19719,8 @@ var __publicField = (obj, key, value) => {
|
|
|
19791
19719
|
components: {
|
|
19792
19720
|
[Form.name]: Form,
|
|
19793
19721
|
[FormItem.name]: FormItem,
|
|
19722
|
+
[_sfc_main$18.name]: _sfc_main$18,
|
|
19794
19723
|
[_sfc_main$17.name]: _sfc_main$17,
|
|
19795
|
-
[_sfc_main$16.name]: _sfc_main$16,
|
|
19796
19724
|
[Button.name]: Button
|
|
19797
19725
|
},
|
|
19798
19726
|
props: {
|
|
@@ -19925,7 +19853,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19925
19853
|
}
|
|
19926
19854
|
const Invoice = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
19927
19855
|
function install(app) {
|
|
19928
|
-
const packages = [Button, Cell, CellGroup, Overlay, Popup, _sfc_main$
|
|
19856
|
+
const packages = [Button, Cell, CellGroup, Overlay, Popup, _sfc_main$1J, Image$1, _sfc_main$1H, Col, Row, _sfc_main$1E, Divider, _sfc_main$1C, GridItem, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, _sfc_main$1f, _sfc_main$1e, DatePicker, InputNumber, Input, _sfc_main$18, _sfc_main$17, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, ActionSheet, Backtop, Drag, _Dialog, InfiniteLoading, PullRefresh, NotifyFunction, Switch, ToastFunction, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, _sfc_main$H, Step, Swiper, SwiperItem, Price, _ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice];
|
|
19929
19857
|
packages.forEach((item) => {
|
|
19930
19858
|
if (item.install) {
|
|
19931
19859
|
app.use(item);
|
|
@@ -19934,7 +19862,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19934
19862
|
}
|
|
19935
19863
|
});
|
|
19936
19864
|
}
|
|
19937
|
-
const version = "4.0.0-beta.
|
|
19865
|
+
const version = "4.0.0-beta.8";
|
|
19938
19866
|
const nutui_vue_build = { install, version, Locale };
|
|
19939
19867
|
exports2.ActionSheet = ActionSheet;
|
|
19940
19868
|
exports2.Address = Address;
|
|
@@ -19956,14 +19884,14 @@ var __publicField = (obj, key, value) => {
|
|
|
19956
19884
|
exports2.CategoryPane = CategoryPane;
|
|
19957
19885
|
exports2.Cell = Cell;
|
|
19958
19886
|
exports2.CellGroup = CellGroup;
|
|
19959
|
-
exports2.Checkbox = _sfc_main$
|
|
19960
|
-
exports2.CheckboxGroup = _sfc_main$
|
|
19887
|
+
exports2.Checkbox = _sfc_main$1f;
|
|
19888
|
+
exports2.CheckboxGroup = _sfc_main$1e;
|
|
19961
19889
|
exports2.CircleProgress = CircleProgress;
|
|
19962
19890
|
exports2.Col = Col;
|
|
19963
19891
|
exports2.Collapse = Collapse;
|
|
19964
19892
|
exports2.CollapseItem = CollapseItem;
|
|
19965
19893
|
exports2.Comment = Comment;
|
|
19966
|
-
exports2.ConfigProvider = _sfc_main$
|
|
19894
|
+
exports2.ConfigProvider = _sfc_main$1J;
|
|
19967
19895
|
exports2.Countdown = Countdown;
|
|
19968
19896
|
exports2.Countup = Countup;
|
|
19969
19897
|
exports2.DatePicker = DatePicker;
|
|
@@ -19977,7 +19905,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19977
19905
|
exports2.FixedNav = FixedNav;
|
|
19978
19906
|
exports2.Form = Form;
|
|
19979
19907
|
exports2.FormItem = FormItem;
|
|
19980
|
-
exports2.Grid = _sfc_main$
|
|
19908
|
+
exports2.Grid = _sfc_main$1C;
|
|
19981
19909
|
exports2.GridItem = GridItem;
|
|
19982
19910
|
exports2.Image = Image$1;
|
|
19983
19911
|
exports2.ImagePreview = _ImagePreview;
|
|
@@ -19986,7 +19914,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19986
19914
|
exports2.Input = Input;
|
|
19987
19915
|
exports2.InputNumber = InputNumber;
|
|
19988
19916
|
exports2.Invoice = Invoice;
|
|
19989
|
-
exports2.Layout = _sfc_main$
|
|
19917
|
+
exports2.Layout = _sfc_main$1H;
|
|
19990
19918
|
exports2.List = List;
|
|
19991
19919
|
exports2.Locale = Locale;
|
|
19992
19920
|
exports2.Menu = Menu;
|
|
@@ -20003,8 +19931,8 @@ var __publicField = (obj, key, value) => {
|
|
|
20003
19931
|
exports2.Price = Price;
|
|
20004
19932
|
exports2.Progress = Progress;
|
|
20005
19933
|
exports2.PullRefresh = PullRefresh;
|
|
20006
|
-
exports2.Radio = _sfc_main$
|
|
20007
|
-
exports2.RadioGroup = _sfc_main$
|
|
19934
|
+
exports2.Radio = _sfc_main$18;
|
|
19935
|
+
exports2.RadioGroup = _sfc_main$17;
|
|
20008
19936
|
exports2.Range = Range;
|
|
20009
19937
|
exports2.Rate = Rate;
|
|
20010
19938
|
exports2.Row = Row;
|
|
@@ -20016,8 +19944,8 @@ var __publicField = (obj, key, value) => {
|
|
|
20016
19944
|
exports2.Skeleton = Skeleton;
|
|
20017
19945
|
exports2.Sku = Sku;
|
|
20018
19946
|
exports2.Step = Step;
|
|
20019
|
-
exports2.Steps = _sfc_main$
|
|
20020
|
-
exports2.Sticky = _sfc_main$
|
|
19947
|
+
exports2.Steps = _sfc_main$H;
|
|
19948
|
+
exports2.Sticky = _sfc_main$1E;
|
|
20021
19949
|
exports2.SubSideNavbar = SubSideNavbar;
|
|
20022
19950
|
exports2.Swipe = Swipe;
|
|
20023
19951
|
exports2.Swiper = Swiper;
|