@mc-markets/ui 1.1.48 → 1.1.49
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +50 -50
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/packages/components/Picker/Picker.vue +8 -7
package/dist/index.mjs
CHANGED
|
@@ -842,7 +842,7 @@ function _o(e, t, n, o, a, l) {
|
|
|
842
842
|
}
|
|
843
843
|
const St = /* @__PURE__ */ G(ao, [["render", _o]]), se = _([]);
|
|
844
844
|
let ho = 0;
|
|
845
|
-
const
|
|
845
|
+
const Ka = {
|
|
846
846
|
// 默认配置
|
|
847
847
|
defaultOptions: {
|
|
848
848
|
title: "",
|
|
@@ -2464,7 +2464,7 @@ var la = ge({
|
|
|
2464
2464
|
}) : x(H, null, [k(), be()]);
|
|
2465
2465
|
}
|
|
2466
2466
|
});
|
|
2467
|
-
const ia = Le(la), ca = { class: "header" }, ua = { class: "title" }, da = { class: "list-container" }, fa = ["onClick"], ma = { class: "label" }, pa = { class: "active-icon" }, va = /* @__PURE__ */ Object.assign({
|
|
2467
|
+
const ia = Le(la), ca = { class: "header" }, ua = { class: "title" }, da = { class: "list-container" }, fa = ["onClick"], ma = { class: "label" }, pa = { class: "active-icon" }, va = { class: "iconfont icon-check" }, ga = /* @__PURE__ */ Object.assign({
|
|
2468
2468
|
name: "MPicker"
|
|
2469
2469
|
}, {
|
|
2470
2470
|
__name: "Picker",
|
|
@@ -2527,10 +2527,10 @@ const ia = Le(la), ca = { class: "header" }, ua = { class: "title" }, da = { cla
|
|
|
2527
2527
|
Ue(K(u[e.columnsFieldNames.label]), 1)
|
|
2528
2528
|
], 64))
|
|
2529
2529
|
]),
|
|
2530
|
-
|
|
2531
|
-
C("i",
|
|
2532
|
-
|
|
2533
|
-
|
|
2530
|
+
C("div", pa, [
|
|
2531
|
+
xe(C("i", va, null, 512), [
|
|
2532
|
+
[Pe, a.value === u[e.columnsFieldNames.value]]
|
|
2533
|
+
])
|
|
2534
2534
|
])
|
|
2535
2535
|
], 10, fa))), 128)),
|
|
2536
2536
|
h(i.$slots, "default", {}, void 0, !0)
|
|
@@ -2539,15 +2539,15 @@ const ia = Le(la), ca = { class: "header" }, ua = { class: "title" }, da = { cla
|
|
|
2539
2539
|
_: 3
|
|
2540
2540
|
}, 16, ["show"]));
|
|
2541
2541
|
}
|
|
2542
|
-
}),
|
|
2542
|
+
}), _a = /* @__PURE__ */ G(ga, [["__scopeId", "data-v-7d78766d"]]), Dt = [ze, On, kn, xn, Pn, Bn, Nn, Dn, Fn, jn, zn, Vn, Gn, Wn, Hn, Xn, Jn, to, St, Et, wo, Oo, ko, xo, No, qo, Qo, ss, Mt, ds, _a];
|
|
2543
2543
|
function Ft(e) {
|
|
2544
2544
|
return !e || typeof e != "string" || !e.startsWith("M") ? null : "m-" + e.slice(1).replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
2545
2545
|
}
|
|
2546
|
-
const
|
|
2546
|
+
const ha = [
|
|
2547
2547
|
{ id: "global-message-container", component: St },
|
|
2548
2548
|
{ id: "global-notification-container", component: Et }
|
|
2549
2549
|
];
|
|
2550
|
-
function
|
|
2550
|
+
function ba(n) {
|
|
2551
2551
|
return De(this, arguments, function* ({ id: e, component: t }) {
|
|
2552
2552
|
try {
|
|
2553
2553
|
if (document.getElementById(e)) return;
|
|
@@ -2560,14 +2560,14 @@ function ha(n) {
|
|
|
2560
2560
|
}
|
|
2561
2561
|
});
|
|
2562
2562
|
}
|
|
2563
|
-
function
|
|
2563
|
+
function ya() {
|
|
2564
2564
|
return De(this, null, function* () {
|
|
2565
|
-
const e =
|
|
2565
|
+
const e = ha.map(ba);
|
|
2566
2566
|
yield Promise.all(e);
|
|
2567
2567
|
});
|
|
2568
2568
|
}
|
|
2569
2569
|
const g = {};
|
|
2570
|
-
function
|
|
2570
|
+
function Ca(e) {
|
|
2571
2571
|
const t = Dt.map((n) => Ft(n == null ? void 0 : n.name)).filter(Boolean);
|
|
2572
2572
|
Object.entries(pt).forEach(([n, o]) => {
|
|
2573
2573
|
if (o && o.name && typeof o.name == "string" && o.name.startsWith("El")) {
|
|
@@ -2578,62 +2578,62 @@ function ya(e) {
|
|
|
2578
2578
|
}
|
|
2579
2579
|
});
|
|
2580
2580
|
}
|
|
2581
|
-
const
|
|
2581
|
+
const $a = (e) => {
|
|
2582
2582
|
typeof window != "undefined" && Promise.resolve().then(() => Go).then(({ applyGlobalOverride: t, enableH5Override: n }) => {
|
|
2583
2583
|
t(), n({ mode: "auto", breakpoint: 768 });
|
|
2584
2584
|
}), console.log("🚀 开始安装 @mc-markets/ui 组件库..."), Dt.forEach((t) => {
|
|
2585
2585
|
const n = Ft(t == null ? void 0 : t.name), o = t == null ? void 0 : t.name;
|
|
2586
2586
|
n && e.component(n, t), o && e.component(o, t);
|
|
2587
|
-
}),
|
|
2588
|
-
},
|
|
2587
|
+
}), Ca(e), typeof window != "undefined" && ya();
|
|
2588
|
+
}, qa = { install: $a }, Za = pt.ElMessageBox, Xa = W({}, g), Ja = g.MButtonGroup, Qa = g.MCarousel, er = g.MCarouselItem, tr = g.MCascader, nr = g.MCascaderPanel, or = g.MCheckTag, sr = g.MCalendar, ar = g.MTimePicker, rr = g.MDateTimePicker, lr = g.MColorPicker, ir = g.MTransfer, cr = g.MTree, ur = g.MTreeSelect, dr = g.MUpload, fr = g.MImage, mr = g.MImageViewer, pr = g.MBacktop, vr = g.MInfiniteScroll, gr = g.MAffix, _r = g.MScrollbar, hr = g.MResult, br = g.MSkeleton, yr = g.MLoading, Cr = g.MSpinner, $r = g.MProgress, Sr = g.MBadge, Er = g.MAvatar, Mr = g.MImagePreview, Rr = g.MTeleport, wr = g.MConfigProvider;
|
|
2589
2589
|
export {
|
|
2590
|
-
|
|
2590
|
+
gr as MAffix,
|
|
2591
2591
|
Xn as MAlert,
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2592
|
+
Er as MAvatar,
|
|
2593
|
+
pr as MBacktop,
|
|
2594
|
+
Sr as MBadge,
|
|
2595
2595
|
No as MBanner,
|
|
2596
2596
|
ds as MBreadcrumb,
|
|
2597
2597
|
On as MButton,
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2598
|
+
Ja as MButtonGroup,
|
|
2599
|
+
sr as MCalendar,
|
|
2600
|
+
Qa as MCarousel,
|
|
2601
|
+
er as MCarouselItem,
|
|
2602
|
+
tr as MCascader,
|
|
2603
|
+
nr as MCascaderPanel,
|
|
2604
|
+
or as MCheckTag,
|
|
2605
|
+
lr as MColorPicker,
|
|
2606
|
+
wr as MConfigProvider,
|
|
2607
2607
|
wo as MDatePicker,
|
|
2608
|
-
|
|
2608
|
+
rr as MDateTimePicker,
|
|
2609
2609
|
Jn as MDialog,
|
|
2610
2610
|
Oo as MEmpty,
|
|
2611
2611
|
xn as MForm,
|
|
2612
2612
|
Pn as MFormItem,
|
|
2613
2613
|
ze as MIcon,
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2614
|
+
fr as MImage,
|
|
2615
|
+
Mr as MImagePreview,
|
|
2616
|
+
mr as MImageViewer,
|
|
2617
|
+
vr as MInfiniteScroll,
|
|
2618
2618
|
kn as MInput,
|
|
2619
|
-
|
|
2619
|
+
yr as MLoading,
|
|
2620
2620
|
St as MMessage,
|
|
2621
|
-
|
|
2621
|
+
Za as MMessageBox,
|
|
2622
2622
|
Et as MNotifiMessage,
|
|
2623
2623
|
to as MNotification,
|
|
2624
2624
|
Dn as MOption,
|
|
2625
2625
|
Fn as MOptionGroup,
|
|
2626
2626
|
jn as MPagination,
|
|
2627
|
-
|
|
2628
|
-
|
|
2627
|
+
_a as MPicker,
|
|
2628
|
+
$r as MProgress,
|
|
2629
2629
|
zn as MRadio,
|
|
2630
2630
|
Gn as MRadioButton,
|
|
2631
2631
|
Vn as MRadioGroup,
|
|
2632
|
-
|
|
2633
|
-
|
|
2632
|
+
hr as MResult,
|
|
2633
|
+
_r as MScrollbar,
|
|
2634
2634
|
Nn as MSelect,
|
|
2635
|
-
|
|
2636
|
-
|
|
2635
|
+
br as MSkeleton,
|
|
2636
|
+
Cr as MSpinner,
|
|
2637
2637
|
Wn as MSwitch,
|
|
2638
2638
|
ss as MTabCard,
|
|
2639
2639
|
Mt as MTabCardItem,
|
|
@@ -2642,23 +2642,23 @@ export {
|
|
|
2642
2642
|
xo as MTableColumn,
|
|
2643
2643
|
qo as MTabs,
|
|
2644
2644
|
Hn as MTag,
|
|
2645
|
-
|
|
2646
|
-
|
|
2645
|
+
Rr as MTeleport,
|
|
2646
|
+
ar as MTimePicker,
|
|
2647
2647
|
Bn as MTooltip,
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2648
|
+
ir as MTransfer,
|
|
2649
|
+
cr as MTree,
|
|
2650
|
+
ur as MTreeSelect,
|
|
2651
|
+
dr as MUpload,
|
|
2652
2652
|
oo as Message,
|
|
2653
|
-
|
|
2653
|
+
Ka as NotifiMessage,
|
|
2654
2654
|
Do as addComponentOverride,
|
|
2655
2655
|
we as addOverrideClass,
|
|
2656
2656
|
Fo as applyGlobalOverride,
|
|
2657
2657
|
Vo as createOverrideComponent,
|
|
2658
|
-
|
|
2658
|
+
qa as default,
|
|
2659
2659
|
jo as enableH5Override,
|
|
2660
2660
|
zo as forceRefreshStyles,
|
|
2661
2661
|
Ve as isH5,
|
|
2662
|
-
|
|
2662
|
+
Xa as mComponents
|
|
2663
2663
|
};
|
|
2664
2664
|
//# sourceMappingURL=index.mjs.map
|