@huyooo/ui 0.4.24 → 0.4.25
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/{ReferrerReferees-BZqtRuiP.js → ReferrerReferees--Nqx-Llc.js} +25 -32
- package/dist/{UserPanel-BL8qPaxq.js → UserPanel-CyUzPZw9.js} +1 -1
- package/dist/common.js +2 -2
- package/dist/index.js +2 -2
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/user.js +1 -1
- package/package.json +1 -1
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { defineComponent as V, ref as k, createBlock as v, openBlock as g, unref as e, withCtx as i, createElementVNode as
|
|
5
|
+
import { defineComponent as V, ref as k, createBlock as v, openBlock as g, unref as e, withCtx as i, createElementVNode as r, createVNode as N, createCommentVNode as S, toDisplayString as n, createTextVNode as h } from "vue";
|
|
6
6
|
import { Modal as B, Tag as O } from "@arco-design/web-vue";
|
|
7
7
|
import { api as q } from "@huyooo/api";
|
|
8
8
|
import { u as E } from "./useTableHandle-DKUIdSSh.js";
|
|
9
9
|
import { C as H, f as L, a as M } from "./CustomTable-C6Xcn_J7.js";
|
|
10
|
-
import { C as
|
|
10
|
+
import { C as y } from "./Clipboard-Bful1lNJ.js";
|
|
11
11
|
import { a as $ } from "./useAuthkitUsersProfile-Diituvy1.js";
|
|
12
12
|
import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
function F(
|
|
13
|
+
function F(d, p) {
|
|
14
14
|
return q({
|
|
15
|
-
url: `${
|
|
15
|
+
url: `${d}/restfulApi/referrer/referees`,
|
|
16
16
|
method: "post",
|
|
17
17
|
data: p
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
|
-
const
|
|
20
|
+
const P = [{
|
|
21
21
|
key: "normal",
|
|
22
22
|
label: "正常",
|
|
23
23
|
color: "green"
|
|
@@ -40,17 +40,17 @@ const y = [{
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
emits: ["cancel"],
|
|
43
|
-
setup(
|
|
43
|
+
setup(d, {
|
|
44
44
|
expose: p,
|
|
45
|
-
emit:
|
|
45
|
+
emit: R
|
|
46
46
|
}) {
|
|
47
|
-
const
|
|
47
|
+
const z = d, A = R, {
|
|
48
48
|
pagination: o,
|
|
49
49
|
dataSource: I,
|
|
50
50
|
setPage: _
|
|
51
51
|
} = E("被邀请人"), {
|
|
52
52
|
userProfile: c
|
|
53
|
-
} = $(),
|
|
53
|
+
} = $(), W = [{
|
|
54
54
|
dataIndex: "refereeId",
|
|
55
55
|
slotName: "refereeId",
|
|
56
56
|
title: "被邀请人ID",
|
|
@@ -85,24 +85,17 @@ const y = [{
|
|
|
85
85
|
ellipsis: !0,
|
|
86
86
|
tooltip: !0,
|
|
87
87
|
minWidth: 180
|
|
88
|
-
},
|
|
89
|
-
dataIndex: "updateAt",
|
|
90
|
-
slotName: "updateAt",
|
|
91
|
-
title: "更新日期",
|
|
92
|
-
ellipsis: !0,
|
|
93
|
-
tooltip: !0,
|
|
94
|
-
minWidth: 180
|
|
95
|
-
}], r = k(!1);
|
|
88
|
+
}], l = k(!1);
|
|
96
89
|
function m() {
|
|
97
|
-
|
|
90
|
+
l.value = !0, F(z.prefixUrl, {
|
|
98
91
|
current: o.value.current,
|
|
99
92
|
pageSize: o.value.pageSize
|
|
100
93
|
}).then(({
|
|
101
94
|
data: a
|
|
102
95
|
}) => {
|
|
103
|
-
|
|
96
|
+
l.value = !1, I.value = a.items, o.value.total = a.count;
|
|
104
97
|
}).catch(() => {
|
|
105
|
-
|
|
98
|
+
l.value = !1;
|
|
106
99
|
});
|
|
107
100
|
}
|
|
108
101
|
function w(a) {
|
|
@@ -113,7 +106,7 @@ const y = [{
|
|
|
113
106
|
}
|
|
114
107
|
const s = k(!1);
|
|
115
108
|
function T() {
|
|
116
|
-
s.value = !1,
|
|
109
|
+
s.value = !1, A("cancel");
|
|
117
110
|
}
|
|
118
111
|
function U(a) {
|
|
119
112
|
s.value = a, m();
|
|
@@ -122,34 +115,34 @@ const y = [{
|
|
|
122
115
|
setData: U
|
|
123
116
|
}), (a, u) => (g(), v(e(B), {
|
|
124
117
|
visible: s.value,
|
|
125
|
-
"onUpdate:visible": u[0] || (u[0] = (
|
|
118
|
+
"onUpdate:visible": u[0] || (u[0] = (f) => s.value = f),
|
|
126
119
|
title: "被邀请人详情",
|
|
127
120
|
width: "60%",
|
|
128
|
-
"ok-loading":
|
|
121
|
+
"ok-loading": l.value,
|
|
129
122
|
footer: !1,
|
|
130
123
|
"mask-closable": !1,
|
|
131
124
|
"unmount-on-close": "",
|
|
132
125
|
onCancel: T
|
|
133
126
|
}, {
|
|
134
127
|
default: i(() => {
|
|
135
|
-
var
|
|
136
|
-
return [
|
|
128
|
+
var f, b;
|
|
129
|
+
return [r("div", G, [u[1] || (u[1] = r("div", {
|
|
137
130
|
class: "invite-code-label"
|
|
138
|
-
}, "我的邀请码:", -1)),
|
|
131
|
+
}, "我的邀请码:", -1)), r("div", J, [r("span", null, n(((f = e(c)) == null ? void 0 : f.id) || "-"), 1), (b = e(c)) != null && b.id ? (g(), v(y, {
|
|
139
132
|
key: 0,
|
|
140
133
|
value: e(c).id,
|
|
141
134
|
message: "邀请码复制成功"
|
|
142
135
|
}, null, 8, ["value"])) : S("", !0)])]), N(H, {
|
|
143
|
-
columns:
|
|
136
|
+
columns: W,
|
|
144
137
|
data: e(I),
|
|
145
|
-
loading:
|
|
138
|
+
loading: l.value,
|
|
146
139
|
pagination: e(o),
|
|
147
140
|
onPageChange: w,
|
|
148
141
|
onPageSizeChange: D
|
|
149
142
|
}, {
|
|
150
143
|
refereeId: i(({
|
|
151
144
|
record: t
|
|
152
|
-
}) => [
|
|
145
|
+
}) => [r("div", K, [r("span", null, n(t.refereeInfo.id || "-"), 1), t.refereeInfo.id ? (g(), v(y, {
|
|
153
146
|
key: 0,
|
|
154
147
|
value: t.refereeInfo.id,
|
|
155
148
|
message: "被邀请人ID复制成功"
|
|
@@ -165,11 +158,11 @@ const y = [{
|
|
|
165
158
|
}) => {
|
|
166
159
|
var x;
|
|
167
160
|
return [N(e(O), {
|
|
168
|
-
color: (x = e(L)(e(
|
|
161
|
+
color: (x = e(L)(e(P), t.refereeInfo.status)) == null ? void 0 : x.color
|
|
169
162
|
}, {
|
|
170
163
|
default: i(() => {
|
|
171
164
|
var C;
|
|
172
|
-
return [h(n((C = e(M)(e(
|
|
165
|
+
return [h(n((C = e(M)(e(P), t.refereeInfo.status)) == null ? void 0 : C.label), 1)];
|
|
173
166
|
}),
|
|
174
167
|
_: 2
|
|
175
168
|
}, 1032, ["color"])];
|
|
@@ -180,7 +173,7 @@ const y = [{
|
|
|
180
173
|
_: 1
|
|
181
174
|
}, 8, ["visible", "ok-loading"]));
|
|
182
175
|
}
|
|
183
|
-
}), ue = /* @__PURE__ */ j(Q, [["__scopeId", "data-v-
|
|
176
|
+
}), ue = /* @__PURE__ */ j(Q, [["__scopeId", "data-v-f17a87b2"]]);
|
|
184
177
|
export {
|
|
185
178
|
ue as R
|
|
186
179
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { defineComponent as _, createElementBlock as g, openBlock as l, normalizeStyle as V, normalizeClass as O, createElementVNode as d, computed as A, createBlock as v, createCommentVNode as R, createVNode as r, unref as t, withCtx as s, createTextVNode as f, toDisplayString as U, renderSlot as Se, ref as p, Fragment as be } from "vue";
|
|
6
6
|
import { Tag as Ce, Button as q, Avatar as E, Dropdown as he, Divider as K, Doption as y } from "@arco-design/web-vue";
|
|
7
7
|
import { S as $e } from "./PaySubscriptions-BS6gjndk.js";
|
|
8
|
-
import { R as Ie } from "./ReferrerReferees-
|
|
8
|
+
import { R as Ie } from "./ReferrerReferees--Nqx-Llc.js";
|
|
9
9
|
import { a as T, u as xe } from "./useAuthkitUsersProfile-Diituvy1.js";
|
|
10
10
|
import { a as Ue, u as Pe } from "./useAuthkitProps-CW3Jem_o.js";
|
|
11
11
|
import { u as Be } from "./useUserPanelProps-C5W72fZJ.js";
|
package/dist/common.js
CHANGED
|
@@ -3,9 +3,9 @@ import { C as t, G as n, S as p, W as m } from "./WidthContainer-D795bWdT.js";
|
|
|
3
3
|
import { C as i, E as u } from "./CustomTable-C6Xcn_J7.js";
|
|
4
4
|
import { I as x } from "./MessageHandle-DN_JsQb2.js";
|
|
5
5
|
import { M as d, a as U } from "./Menu-Cxo8Rpu3.js";
|
|
6
|
-
import { S as I, b, c as S, a as g, U as v } from "./UserPanel-
|
|
6
|
+
import { S as I, b, c as S, a as g, U as v } from "./UserPanel-CyUzPZw9.js";
|
|
7
7
|
import { S as B } from "./PaySubscriptions-BS6gjndk.js";
|
|
8
|
-
import { R as P } from "./ReferrerReferees-
|
|
8
|
+
import { R as P } from "./ReferrerReferees--Nqx-Llc.js";
|
|
9
9
|
import { _ as G } from "./Upload.vue_vue_type_script_setup_true_lang-uy8hhi_o.js";
|
|
10
10
|
import { u as R } from "./useUserPanelProps-C5W72fZJ.js";
|
|
11
11
|
import { a as W, u as h } from "./useActiveDoc-BWHkOJhJ.js";
|
package/dist/index.js
CHANGED
|
@@ -14,9 +14,9 @@ import { C as us, a as Ps } from "./CollapseItem-Cw1vcdLu.js";
|
|
|
14
14
|
import { C as cs, G as ps, S as Ls, W as hs } from "./WidthContainer-D795bWdT.js";
|
|
15
15
|
import { C as ms, E as ks } from "./CustomTable-C6Xcn_J7.js";
|
|
16
16
|
import { M as bs, a as Cs } from "./Menu-Cxo8Rpu3.js";
|
|
17
|
-
import { S as Ss, b as xs, c as Fs, a as Is, U as Us, S as Ts } from "./UserPanel-
|
|
17
|
+
import { S as Ss, b as xs, c as Fs, a as Is, U as Us, S as Ts } from "./UserPanel-CyUzPZw9.js";
|
|
18
18
|
import { S as Ns, S as Es } from "./PaySubscriptions-BS6gjndk.js";
|
|
19
|
-
import { R as Ds, R as Rs } from "./ReferrerReferees-
|
|
19
|
+
import { R as Ds, R as Rs } from "./ReferrerReferees--Nqx-Llc.js";
|
|
20
20
|
import { _ as ys } from "./Upload.vue_vue_type_script_setup_true_lang-uy8hhi_o.js";
|
|
21
21
|
import { u as Hs } from "./useUserPanelProps-C5W72fZJ.js";
|
|
22
22
|
import { a as _s, u as Vs } from "./useActiveDoc-BWHkOJhJ.js";
|
package/dist/referrer.js
CHANGED