@huyooo/ui 0.4.9 → 0.4.11
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/{AuthkitAppSetting-D4uAa2Ni.js → AuthkitAppSetting-B_ddDZoJ.js} +451 -432
- package/dist/{AuthkitAuthorize-WTE1sCbr.js → AuthkitAuthorize-DEGTLm9-.js} +33 -33
- package/dist/{CustomTable-Cd6RiAPX.js → CustomTable-DbiCOvmO.js} +209 -205
- package/dist/{FeedbackFeedBackItem-DYUIzqYg.js → FeedbackFeedBackItem-D1JwJFBF.js} +2 -2
- package/dist/{FeedbackFeedBackModal-DKgZZ8OR.js → FeedbackFeedBackModal-DOocV38w.js} +597 -596
- package/dist/InfiniteLoading-BOurBPUR.js +66 -0
- package/dist/{Menu-2SePYCYT.js → Menu-MZJINp6f.js} +32 -32
- package/dist/{MessageHandle-C9nSNw5A.js → MessageHandle-cZ2FXsJ5.js} +220 -260
- package/dist/{PaySubscriptions-CFKM4gyf.js → PaySubscriptions-MYoi8Ob_.js} +1 -1
- package/dist/{ReferrerReferees-q8H-v-Hq.js → ReferrerReferees-CFwb0s28.js} +49 -49
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-DqfW_OJJ.js → Upload.vue_vue_type_script_setup_true_lang-uy8hhi_o.js} +1 -1
- package/dist/{UserPanel-xh-QbW8U.js → UserPanel-BhAJ5Dya.js} +167 -168
- package/dist/api/Authkit/Users.d.ts +5 -4
- package/dist/api/Authkit/auth.d.ts +5 -4
- package/dist/authkit.js +3 -3
- package/dist/common.js +9 -9
- package/dist/components/InfiniteLoading.vue.d.ts +40 -4
- package/dist/components/Upload/Upload.vue.d.ts +2 -2
- package/dist/components/User/UserAvatar.vue.d.ts +1 -1
- package/dist/components/User/UserBasicInformation.vue.d.ts +1 -1
- package/dist/composables/Authkit/useAuthkitAuth.d.ts +1 -1
- package/dist/composables/Authkit/useAuthkitProps.d.ts +5 -0
- package/dist/composables/Authkit/useAuthkitUsersProfile.d.ts +143 -1
- package/dist/composables/usePolling.d.ts +27 -0
- package/dist/composables/useUserPanelProps.d.ts +27 -5
- package/dist/composables.js +3 -3
- package/dist/feedback.js +2 -2
- package/dist/index.js +47 -47
- package/dist/message.d.ts +1 -1
- package/dist/message.js +9 -8
- package/dist/pay.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/api.d.ts +133 -0
- package/dist/upload.js +2 -2
- package/dist/useAuthkitProps-DXXCuvZp.js +325 -0
- package/dist/{useUploadCos-DpOqkozy.js → useUploadCos-B8D9lYIk.js} +1486 -1489
- package/dist/useUserPanelProps-C5W72fZJ.js +54 -0
- package/dist/user.js +2 -2
- package/dist/utils/authkit.d.ts +7 -1
- package/dist/utils/configHelper.d.ts +17 -0
- package/dist/utils/errorHandler.d.ts +32 -0
- package/dist/utils/index.d.ts +11 -1
- package/package.json +1 -1
- package/dist/components/Message/MessageInfiniteLoading.vue.d.ts +0 -29
- package/dist/useAuthkitProps-DwKPhFjM.js +0 -283
- package/dist/useUserPanelProps-Dt9zkMJw.js +0 -14
|
@@ -8,7 +8,7 @@ import { Modal as V, Popconfirm as U, Button as E, Tag as g } from "@arco-design
|
|
|
8
8
|
import { api as _ } from "@huyooo/api";
|
|
9
9
|
import { u as H } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
10
10
|
import { u as $ } from "./useTableHandle-DKUIdSSh.js";
|
|
11
|
-
import { C as j,
|
|
11
|
+
import { C as j, a as y } from "./CustomTable-DbiCOvmO.js";
|
|
12
12
|
import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
function F(c) {
|
|
14
14
|
return _({
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { defineComponent as
|
|
6
|
-
import { Modal as
|
|
7
|
-
import { api as
|
|
8
|
-
import { u as
|
|
9
|
-
import { C as
|
|
10
|
-
import { _ as
|
|
11
|
-
function
|
|
12
|
-
return
|
|
5
|
+
import { defineComponent as A, ref as v, createBlock as R, openBlock as z, unref as t, withCtx as l, createVNode as b, createTextVNode as s, toDisplayString as u } from "vue";
|
|
6
|
+
import { Modal as P, Tag as T } from "@arco-design/web-vue";
|
|
7
|
+
import { api as D } from "@huyooo/api";
|
|
8
|
+
import { u as O } from "./useTableHandle-DKUIdSSh.js";
|
|
9
|
+
import { C as U, f as B, a as x } from "./CustomTable-DbiCOvmO.js";
|
|
10
|
+
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
function q(p, c) {
|
|
12
|
+
return D({
|
|
13
13
|
url: `${p}/restfulApi/referrer/referees`,
|
|
14
14
|
method: "post",
|
|
15
15
|
data: c
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const E = [{
|
|
19
19
|
key: "searchEngine",
|
|
20
20
|
label: "搜索引擎"
|
|
21
21
|
}, {
|
|
@@ -35,7 +35,7 @@ const q = [{
|
|
|
35
35
|
key: "forbidden",
|
|
36
36
|
label: "禁用",
|
|
37
37
|
color: "red"
|
|
38
|
-
}],
|
|
38
|
+
}], H = /* @__PURE__ */ A({
|
|
39
39
|
__name: "ReferrerReferees",
|
|
40
40
|
props: {
|
|
41
41
|
prefixUrl: {
|
|
@@ -48,11 +48,11 @@ const q = [{
|
|
|
48
48
|
expose: c,
|
|
49
49
|
emit: _
|
|
50
50
|
}) {
|
|
51
|
-
const k = p,
|
|
52
|
-
pagination:
|
|
53
|
-
dataSource:
|
|
54
|
-
setPage:
|
|
55
|
-
} =
|
|
51
|
+
const k = p, y = _, {
|
|
52
|
+
pagination: o,
|
|
53
|
+
dataSource: d,
|
|
54
|
+
setPage: m
|
|
55
|
+
} = O("被推荐人"), C = [{
|
|
56
56
|
dataIndex: "id",
|
|
57
57
|
slotName: "id",
|
|
58
58
|
title: "ID",
|
|
@@ -101,37 +101,37 @@ const q = [{
|
|
|
101
101
|
ellipsis: !0,
|
|
102
102
|
tooltip: !0,
|
|
103
103
|
minWidth: 180
|
|
104
|
-
}], i =
|
|
105
|
-
function
|
|
106
|
-
i.value = !0,
|
|
107
|
-
current:
|
|
108
|
-
pageSize:
|
|
104
|
+
}], i = v(!1);
|
|
105
|
+
function f() {
|
|
106
|
+
i.value = !0, q(k.prefixUrl, {
|
|
107
|
+
current: o.value.current,
|
|
108
|
+
pageSize: o.value.pageSize
|
|
109
109
|
}).then(({
|
|
110
|
-
data:
|
|
110
|
+
data: a
|
|
111
111
|
}) => {
|
|
112
|
-
|
|
112
|
+
i.value = !1, d.value = a.items, o.value.total = a.count;
|
|
113
113
|
}).catch(() => {
|
|
114
114
|
i.value = !1;
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
|
-
function N(
|
|
118
|
-
|
|
117
|
+
function N(a) {
|
|
118
|
+
m(a, o.value.pageSize), f();
|
|
119
119
|
}
|
|
120
|
-
function S(
|
|
121
|
-
|
|
120
|
+
function S(a) {
|
|
121
|
+
m(o.value.current, a), f();
|
|
122
122
|
}
|
|
123
|
-
const n =
|
|
123
|
+
const n = v(!1);
|
|
124
124
|
function W() {
|
|
125
|
-
n.value = !1,
|
|
125
|
+
n.value = !1, y("cancel");
|
|
126
126
|
}
|
|
127
|
-
function w(
|
|
128
|
-
n.value =
|
|
127
|
+
function w(a) {
|
|
128
|
+
n.value = a, f();
|
|
129
129
|
}
|
|
130
130
|
return c({
|
|
131
131
|
setData: w
|
|
132
|
-
}), (
|
|
132
|
+
}), (a, g) => (z(), R(t(P), {
|
|
133
133
|
visible: n.value,
|
|
134
|
-
"onUpdate:visible":
|
|
134
|
+
"onUpdate:visible": g[0] || (g[0] = (e) => n.value = e),
|
|
135
135
|
title: "被推荐人详情",
|
|
136
136
|
width: "60%",
|
|
137
137
|
"ok-loading": i.value,
|
|
@@ -140,36 +140,36 @@ const q = [{
|
|
|
140
140
|
"unmount-on-close": "",
|
|
141
141
|
onCancel: W
|
|
142
142
|
}, {
|
|
143
|
-
default: l(() => [
|
|
144
|
-
columns:
|
|
145
|
-
data:
|
|
143
|
+
default: l(() => [b(U, {
|
|
144
|
+
columns: C,
|
|
145
|
+
data: t(d),
|
|
146
146
|
loading: i.value,
|
|
147
|
-
pagination: o
|
|
147
|
+
pagination: t(o),
|
|
148
148
|
onPageChange: N,
|
|
149
149
|
onPageSizeChange: S
|
|
150
150
|
}, {
|
|
151
151
|
email: l(({
|
|
152
|
-
record:
|
|
153
|
-
}) => [s(u(
|
|
152
|
+
record: e
|
|
153
|
+
}) => [s(u(e.refereeInfo.email || "-"), 1)]),
|
|
154
154
|
phone: l(({
|
|
155
|
-
record:
|
|
156
|
-
}) => [s(u(
|
|
155
|
+
record: e
|
|
156
|
+
}) => [s(u(e.refereeInfo.phone || "-"), 1)]),
|
|
157
157
|
source: l(({
|
|
158
|
-
record:
|
|
158
|
+
record: e
|
|
159
159
|
}) => {
|
|
160
160
|
var r;
|
|
161
|
-
return [s(u((r =
|
|
161
|
+
return [s(u((r = t(x)(t(E), e.refereeInfo.source)) == null ? void 0 : r.label), 1)];
|
|
162
162
|
}),
|
|
163
163
|
status: l(({
|
|
164
|
-
record:
|
|
164
|
+
record: e
|
|
165
165
|
}) => {
|
|
166
166
|
var r;
|
|
167
|
-
return [
|
|
168
|
-
color: (r =
|
|
167
|
+
return [b(t(T), {
|
|
168
|
+
color: (r = t(B)(t(I), e.refereeInfo.status)) == null ? void 0 : r.color
|
|
169
169
|
}, {
|
|
170
170
|
default: l(() => {
|
|
171
|
-
var
|
|
172
|
-
return [s(u((
|
|
171
|
+
var h;
|
|
172
|
+
return [s(u((h = t(x)(t(I), e.refereeInfo.status)) == null ? void 0 : h.label), 1)];
|
|
173
173
|
}),
|
|
174
174
|
_: 2
|
|
175
175
|
}, 1032, ["color"])];
|
|
@@ -179,7 +179,7 @@ const q = [{
|
|
|
179
179
|
_: 1
|
|
180
180
|
}, 8, ["visible", "ok-loading"]));
|
|
181
181
|
}
|
|
182
|
-
}),
|
|
182
|
+
}), Y = /* @__PURE__ */ V(H, [["__scopeId", "data-v-7c1e3175"]]);
|
|
183
183
|
export {
|
|
184
|
-
|
|
184
|
+
Y as R
|
|
185
185
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { defineComponent as k, createBlock as q, openBlock as y, unref as S, mergeProps as I, createSlots as F, withCtx as p, renderSlot as u } from "vue";
|
|
7
7
|
import { Upload as U } from "@arco-design/web-vue";
|
|
8
|
-
import { u as h } from "./useUploadCos-
|
|
8
|
+
import { u as h } from "./useUploadCos-B8D9lYIk.js";
|
|
9
9
|
const j = /* @__PURE__ */ k({
|
|
10
10
|
__name: "Upload",
|
|
11
11
|
props: {
|