@huyooo/ui 0.5.3 → 0.5.5
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/{AuthkitAuthModal-cEi5Hm14.js → AuthkitAuthModal-BjqMoIed.js} +141 -162
- package/dist/AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js +10 -0
- package/dist/{AuthkitAuthorize-DksJZktr.js → AuthkitAuthorize-DWb0xKRa.js} +12 -15
- package/dist/{Clipboard-CGm0G1dN.js → Clipboard-Bful1lNJ.js} +1 -1
- package/dist/CustomTable-B8i1SbFB.js +202 -0
- package/dist/{FeedbackItem-Day3rfSw.js → FeedbackItem-bPlL6uEE.js} +15 -14
- package/dist/{FeedbackModal-CsRXm-MY.js → FeedbackModal-DJx3R3rM.js} +22 -25
- package/dist/Introduce-e3nEDSRY.js +390 -0
- package/dist/LandingPageSectionHeader-Dlc5rL21.js +463 -0
- package/dist/LandingPageSectionTabs-CrFrtbqu.js +1369 -0
- package/dist/{MessageHandle-DqH_478k.js → MessageHandle-BJH_S-61.js} +37 -45
- package/dist/{PaySubscriptions-Dp8y1fdJ.js → PaySubscriptions-BGl9BQru.js} +17 -16
- package/dist/{ReferrerReferees-xIXZglpy.js → ReferrerReferees-oi-zzWCo.js} +20 -19
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-CxGZSDoo.js → Upload.vue_vue_type_script_setup_true_lang-CDyUt05d.js} +11 -10
- package/dist/{UserAccountMenu-DD3zoOBd.js → UserAccountMenu-BD8F9vEK.js} +1 -1
- package/dist/{UserPanel-C1NGdsFk.js → UserPanel-C6XusLxb.js} +23 -24
- package/dist/{WidthContainer-C30YFs9X.js → WidthContainer-uWfPyPEH.js} +19 -18
- package/dist/authkit.js +12 -11
- package/dist/common.js +2 -2
- package/dist/components/PrivateCom/BodyAndFooterLayout.vue.d.ts +17 -0
- package/dist/components/PrivateCom/Footer.vue.d.ts +2 -0
- package/dist/components/PrivateCom/Introduce.vue.d.ts +2 -0
- package/dist/components/PrivateCom/useSEO.d.ts +71 -0
- package/dist/composables.js +26 -25
- package/dist/feedback.js +3 -3
- package/dist/index-Bb-d5pBq.js +1167 -0
- package/dist/index.js +367 -359
- package/dist/landingPage.js +46 -45
- package/dist/main.d.ts +1 -0
- package/dist/message.js +2 -2
- package/dist/pay.js +1 -1
- package/dist/privateCom.d.ts +4 -0
- package/dist/privateCom.js +8 -0
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/upload.js +2 -2
- package/dist/{AuthkitAuthModal.vue_vue_type_style_index_1_lang-B-QKS_BT.js → useAuthkitAppsAuthPageInfo-Dr5K7ULW.js} +16 -23
- package/dist/{useAuthkitUsersProfile-D2UZf7n0.js → useAuthkitUsersProfile-DNOB_Kuk.js} +1 -1
- package/dist/{useMessageNotifications-BahKMcby.js → useMessageNotifications-DOH1MS61.js} +1 -1
- package/dist/{useRoutePermission-Uxu5S3m1.js → useRoutePermission-DuZZniIv.js} +18 -17
- package/dist/{useUploadCos-DNKp_9xt.js → useUploadCos-B5P_PDcy.js} +2 -2
- package/dist/user.js +2 -2
- package/package.json +6 -1
- package/dist/CustomTable-kfI18phy.js +0 -1359
- package/dist/LandingPageSectionTabs-DPTZIwiJ.js +0 -1838
- package/dist/utils/landingPage.d.ts +0 -1
- /package/dist/{index-DaMA6jEr.js → _commonjsHelpers-DaMA6jEr.js} +0 -0
- /package/dist/{index-DZIhLe1R.js → globalConfig-DZIhLe1R.js} +0 -0
package/dist/upload.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as p } from "./Upload.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { u as s } from "./useUploadCos-
|
|
1
|
+
import { _ as p } from "./Upload.vue_vue_type_script_setup_true_lang-CDyUt05d.js";
|
|
2
|
+
import { u as s } from "./useUploadCos-B5P_PDcy.js";
|
|
3
3
|
export {
|
|
4
4
|
p as Upload,
|
|
5
5
|
s as useUploadCos
|
|
@@ -1,26 +1,20 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { api as
|
|
3
|
-
import { g as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
show: l
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
function g(a) {
|
|
11
|
-
return i({
|
|
12
|
-
url: `${r.authPrefixUrl}/restfulApi/apps/findOne`,
|
|
1
|
+
import { ref as r } from "vue";
|
|
2
|
+
import { api as t } from "@huyooo/api";
|
|
3
|
+
import { g as i } from "./globalConfig-DZIhLe1R.js";
|
|
4
|
+
function s(a) {
|
|
5
|
+
return t({
|
|
6
|
+
url: `${i.authPrefixUrl}/restfulApi/apps/findOne`,
|
|
13
7
|
method: "post",
|
|
14
8
|
data: a
|
|
15
9
|
});
|
|
16
10
|
}
|
|
17
|
-
function
|
|
18
|
-
return
|
|
19
|
-
url: `${
|
|
11
|
+
function l() {
|
|
12
|
+
return t({
|
|
13
|
+
url: `${i.authPrefixUrl}/restfulApi/apps/authPageInfo`,
|
|
20
14
|
method: "post"
|
|
21
15
|
});
|
|
22
16
|
}
|
|
23
|
-
const o =
|
|
17
|
+
const o = r({
|
|
24
18
|
id: "",
|
|
25
19
|
appKey: "",
|
|
26
20
|
name: "",
|
|
@@ -93,12 +87,12 @@ const o = n({
|
|
|
93
87
|
backgroundImage: "/66a0d5b35203890887f0e1a4/6714e2458fe86895bf3da8ae/1ef8ed72-1731-6e00-93d1-fa24165f1a3e.webp"
|
|
94
88
|
}
|
|
95
89
|
});
|
|
96
|
-
function
|
|
97
|
-
function a(
|
|
98
|
-
|
|
90
|
+
function f() {
|
|
91
|
+
function a(n) {
|
|
92
|
+
l().then(({
|
|
99
93
|
data: e
|
|
100
94
|
}) => {
|
|
101
|
-
o.value.id = e.id, o.value.appKey = e.appKey, o.value.name = e.name, o.value.description = e.description, o.value.homePageUrl = e.homePageUrl, o.value.applicationLogo = e.applicationLogo, o.value.applicationLogoUrl = e.applicationLogoUrl, o.value.publicRoutes = e.publicRoutes || [], o.value.oauth = e.oauth, o.value.authorizationCallback = e.authorizationCallback, o.value.aboutUs = e.aboutUs, o.value.brand = e.brand,
|
|
95
|
+
o.value.id = e.id, o.value.appKey = e.appKey, o.value.name = e.name, o.value.description = e.description, o.value.homePageUrl = e.homePageUrl, o.value.applicationLogo = e.applicationLogo, o.value.applicationLogoUrl = e.applicationLogoUrl, o.value.publicRoutes = e.publicRoutes || [], o.value.oauth = e.oauth, o.value.authorizationCallback = e.authorizationCallback, o.value.aboutUs = e.aboutUs, o.value.brand = e.brand, n && n();
|
|
102
96
|
}).catch((e) => {
|
|
103
97
|
console.error("获取应用认证页面信息失败:", e);
|
|
104
98
|
});
|
|
@@ -109,7 +103,6 @@ function h() {
|
|
|
109
103
|
};
|
|
110
104
|
}
|
|
111
105
|
export {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
h as u
|
|
106
|
+
s as a,
|
|
107
|
+
f as u
|
|
115
108
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as u, readonly as S, computed as A } from "vue";
|
|
2
2
|
import { api as a } from "@huyooo/api";
|
|
3
|
-
import { g as n } from "./
|
|
3
|
+
import { g as n } from "./globalConfig-DZIhLe1R.js";
|
|
4
4
|
function b(e) {
|
|
5
5
|
return a({
|
|
6
6
|
url: `${n.authPrefixUrl}/restfulApi/auth/signIn`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as a, computed as x } from "vue";
|
|
2
2
|
import { api as c } from "@huyooo/api";
|
|
3
|
-
import { g } from "./
|
|
3
|
+
import { g } from "./globalConfig-DZIhLe1R.js";
|
|
4
4
|
function z(t) {
|
|
5
5
|
return c({
|
|
6
6
|
url: `${g.prefixUrl}/restfulApi/messageCenter/messageNotifications/find`,
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { computed as f, ref as R, watch as b } from "vue";
|
|
2
2
|
import { useRouter as h, useRoute as y } from "vue-router";
|
|
3
3
|
/* empty css */
|
|
4
|
-
|
|
4
|
+
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import "@arco-design/web-vue";
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
|
-
import "./useUploadCos-
|
|
9
|
+
import "./useUploadCos-B5P_PDcy.js";
|
|
10
10
|
import "@huyooo/api";
|
|
11
|
-
import
|
|
12
|
-
import { a as
|
|
11
|
+
import "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js";
|
|
12
|
+
import { a as v } from "./useAuthkitUsersProfile-DNOB_Kuk.js";
|
|
13
13
|
import "@iconify/vue";
|
|
14
14
|
/* empty css */
|
|
15
|
+
import { u as d } from "./useAuthkitAppsAuthPageInfo-Dr5K7ULW.js";
|
|
15
16
|
/* empty css */
|
|
16
17
|
/* empty css */
|
|
17
18
|
/* empty css */
|
|
18
|
-
|
|
19
|
-
function
|
|
19
|
+
/* empty css */
|
|
20
|
+
function z(n, r = "default") {
|
|
20
21
|
const o = document;
|
|
21
22
|
if (o && typeof o.startViewTransition == "function") {
|
|
22
23
|
const i = document.body;
|
|
@@ -31,20 +32,20 @@ function q(n, r = "default") {
|
|
|
31
32
|
} else
|
|
32
33
|
n();
|
|
33
34
|
}
|
|
34
|
-
function
|
|
35
|
+
function B(n, r, o) {
|
|
35
36
|
const i = n.find((a) => {
|
|
36
37
|
var c;
|
|
37
38
|
return ((c = a.meta) == null ? void 0 : c.menuType) === r;
|
|
38
39
|
});
|
|
39
40
|
return (i == null ? void 0 : i.path) || o;
|
|
40
41
|
}
|
|
41
|
-
function
|
|
42
|
+
function E(n) {
|
|
42
43
|
const r = h(), {
|
|
43
44
|
appsData: o
|
|
44
|
-
} =
|
|
45
|
+
} = d(), {
|
|
45
46
|
isLoggedIn: i,
|
|
46
47
|
userProfile: a
|
|
47
|
-
} =
|
|
48
|
+
} = v(), c = f(() => {
|
|
48
49
|
var t;
|
|
49
50
|
return !i.value || !a.value ? [] : ((t = a.value.permissions) == null ? void 0 : t.map((e) => e.permissionKey)) || [];
|
|
50
51
|
});
|
|
@@ -75,14 +76,14 @@ function B(n) {
|
|
|
75
76
|
isLoggedIn: i
|
|
76
77
|
};
|
|
77
78
|
}
|
|
78
|
-
function
|
|
79
|
+
function F() {
|
|
79
80
|
const n = h(), r = y(), {
|
|
80
81
|
appsAuthPageInfoApi: o,
|
|
81
82
|
appsData: i
|
|
82
|
-
} =
|
|
83
|
+
} = d(), {
|
|
83
84
|
isLoggedIn: a,
|
|
84
85
|
userProfile: c
|
|
85
|
-
} =
|
|
86
|
+
} = v(), u = R(!1);
|
|
86
87
|
function m(e) {
|
|
87
88
|
return (i.value.publicRoutes || []).some((p) => p.permissionKey === e);
|
|
88
89
|
}
|
|
@@ -112,8 +113,8 @@ function E() {
|
|
|
112
113
|
};
|
|
113
114
|
}
|
|
114
115
|
export {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
F as a,
|
|
117
|
+
B as f,
|
|
118
|
+
E as u,
|
|
119
|
+
z as w
|
|
119
120
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as _t, g as Ht } from "./
|
|
1
|
+
import { c as _t, g as Ht } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
2
2
|
import { api as bt } from "@huyooo/api";
|
|
3
|
-
import { g as it } from "./
|
|
3
|
+
import { g as it } from "./globalConfig-DZIhLe1R.js";
|
|
4
4
|
var Nt = { exports: {} };
|
|
5
5
|
(function(_, fe) {
|
|
6
6
|
(function(Y, A) {
|
package/dist/user.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as r, a as e, b as o, c as n, S as t } from "./UserPanel-
|
|
2
|
-
import { U as c } from "./UserAccountMenu-
|
|
1
|
+
import { U as r, a as e, b as o, c as n, S as t } from "./UserPanel-C6XusLxb.js";
|
|
2
|
+
import { U as c } from "./UserAccountMenu-BD8F9vEK.js";
|
|
3
3
|
export {
|
|
4
4
|
c as UserAccountMenu,
|
|
5
5
|
r as UserAvatar,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huyooo/ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -58,6 +58,10 @@
|
|
|
58
58
|
"import": "./dist/user.js",
|
|
59
59
|
"types": "./dist/user.d.ts"
|
|
60
60
|
},
|
|
61
|
+
"./privateCom": {
|
|
62
|
+
"import": "./dist/privateCom.js",
|
|
63
|
+
"types": "./dist/privateCom.d.ts"
|
|
64
|
+
},
|
|
61
65
|
"./style.css": "./dist/style.css",
|
|
62
66
|
"./dist/*": "./dist/*"
|
|
63
67
|
},
|
|
@@ -85,6 +89,7 @@
|
|
|
85
89
|
"vue-router": ">=4.0.0"
|
|
86
90
|
},
|
|
87
91
|
"dependencies": {
|
|
92
|
+
"@unhead/vue": "^2.0.19",
|
|
88
93
|
"cos-js-sdk-v5": "^1.10.1",
|
|
89
94
|
"json-bigint": "^1.0.0",
|
|
90
95
|
"uuid": "^11.1.0",
|