@huyooo/ui 0.11.2 → 0.11.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/AuthkitAppSetting-CSHkDxQT.js +1914 -0
- package/dist/{Clipboard---tG2Zxz.js → Clipboard-CRZDADLE.js} +1 -1
- package/dist/{Contact-BEUbBGiB.js → Contact-Y0Yczmc9.js} +8 -7
- package/dist/{CustomTable-CVZ4mFzi.js → CustomTable-BUkwlbzN.js} +3 -2
- package/dist/{FeedbackItem-CN041vTm.js → FeedbackItem-D7MpOmoM.js} +3 -3
- package/dist/FeedbackModal-CvNF1D-5.js +1050 -0
- package/dist/LandingPageFAQ-CZJXvor9.js +80 -0
- package/dist/LandingPageLinkGroup-DDNRivMt.js +521 -0
- package/dist/LandingPageSectionHeader-D_74W4My.js +69 -0
- package/dist/{LandingPageSectionTabs-B6ZVxR47.js → LandingPageSectionTabs-Ce3_Rc2L.js} +354 -426
- package/dist/MessageHandle-B12koVQL.js +924 -0
- package/dist/MessageList-Bo6YCfRO.js +233 -0
- package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-F6neJUg3.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DxDn6Ok8.js} +2 -2
- package/dist/PaySubscriptions-B8jAtG5n.js +515 -0
- package/dist/PricingPlans-CO26OcbJ.js +210 -0
- package/dist/ReferrerReferees-D_Iiw9wZ.js +106 -0
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-D_-oMTOo.js → Upload.vue_vue_type_script_setup_true_lang-CbVSY_vt.js} +1 -1
- package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DpVadjMH.js +508 -0
- package/dist/WidthContainer-B6d4xrGT.js +693 -0
- package/dist/{apiClients-9b4zNZ2S.js → apiClients-DVz12LeW.js} +81 -75
- package/dist/authkit.d.ts +7 -0
- package/dist/authkit.js +52 -45
- package/dist/common/globalConfig.d.ts +2 -2
- package/dist/common/userMenuModal.d.ts +1 -0
- package/dist/common.js +2 -2
- package/dist/components/Authkit/AppSetting/AuthkitOAuthBinding.vue.d.ts +31 -0
- package/dist/components/Authkit/AppSetting/AuthkitPhoneBinding.vue.d.ts +14 -0
- package/dist/components/Authkit/AppSetting/AuthkitPhoneVerify.vue.d.ts +66 -0
- package/dist/components/Authkit/Auth/AuthkitBindPhone.vue.d.ts +27 -0
- package/dist/components/Authkit/Auth/AuthkitEmailUpdate.vue.d.ts +11 -1
- package/dist/components/Authkit/Auth/AuthkitOauthCallback.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitOauthItem.vue.d.ts +1 -1
- package/dist/components/Authkit/Auth/AuthkitPasswordAuth.vue.d.ts +11 -1
- package/dist/components/Authkit/Auth/AuthkitPhonePasswordUpdateAndVerify.vue.d.ts +68 -0
- package/dist/components/Authkit/Auth/AuthkitSignInEmailCode.vue.d.ts +68 -0
- package/dist/components/Authkit/Auth/AuthkitSwitchSignUpOrResetPassword.vue.d.ts +15 -3
- package/dist/components/Authkit/AuthkitOAuthCallbackProvider.vue.d.ts +11 -0
- package/dist/components/Authkit/AuthkitProvider.vue.d.ts +45 -0
- package/dist/components/Feedback/FeedbackBubbleEnd.vue.d.ts +9 -0
- package/dist/components/Feedback/FeedbackBubbleStart.vue.d.ts +11 -6
- package/dist/components/LandingPage/LandingPageSections.vue.d.ts +1 -1
- package/dist/components/Pay/PaySubscriptions.vue.d.ts +2 -1
- package/dist/components/Pay/PricingFAQ.vue.d.ts +17 -0
- package/dist/components/Pay/PricingPlans.vue.d.ts +12 -0
- package/dist/components/UserMenu/UserMenuModals.vue.d.ts +2 -2
- package/dist/components/UserMenu/parts/UserSubscriptionBaseInformation.vue.d.ts +8 -0
- package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +26 -0
- package/dist/composables/Authkit/useAuthkitAuth.d.ts +21 -9
- package/dist/composables/Authkit/useEnsureAuthenticated.d.ts +26 -0
- package/dist/composables/Authkit/useOauth.d.ts +4 -1
- package/dist/composables/Billing/useBillingPlans.d.ts +201 -0
- package/dist/composables/Billing/useBillingSubscriptionSummary.d.ts +280 -0
- package/dist/composables/Billing/useSubscriptionCheckout.d.ts +12 -0
- package/dist/composables/UserMenu/useUserMenu.d.ts +5 -1
- package/dist/composables.d.ts +2 -0
- package/dist/composables.js +25 -22
- package/dist/feedback.js +3 -3
- package/dist/index-D3Kp6R4z.js +4 -0
- package/dist/landingPage.js +42 -40
- package/dist/main.js +285 -269
- package/dist/message.js +19 -18
- package/dist/pay.d.ts +5 -0
- package/dist/pay.js +9 -2
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/api/auth.generated.d.ts +103 -39
- package/dist/types/api/billing.generated.d.ts +61 -28
- package/dist/types/api.d.ts +1 -1
- package/dist/types/app.d.ts +14 -0
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-494yLvsu.js → useAuthkitAppsAuthPageInfo-Du5d6VK-.js} +20 -7
- package/dist/{useAuthkitCreateAndUpdate-DyRtFxZS.js → useAuthkitCreateAndUpdate-Bc9D5C6R.js} +1 -1
- package/dist/useAuthkitUsersProfile-CQGyvL7g.js +201 -0
- package/dist/{useDownloads-DaeIY0E9.js → useDownloads-BFx1a-f9.js} +1 -1
- package/dist/useEnsureAuthenticated-Cc64hF1O.js +2247 -0
- package/dist/{useLegalLinks-CPbWqlu6.js → useLegalLinks-Deksq9h-.js} +2 -2
- package/dist/{useMessageNotifications-Dg5q-C_o.js → useMessageNotifications-DY5xKtif.js} +1 -1
- package/dist/{useSEO-CXX9dcBx.js → useSEO-CvfzTZA9.js} +2 -2
- package/dist/useSubscriptionCheckout-BgQJN61l.js +345 -0
- package/dist/{useTableHandle-Cjq4gcC0.js → useTableHandle-D71P3Ez_.js} +1 -1
- package/dist/{useUploadCos-DiJmmbRf.js → useUploadCos-N5pim6q1.js} +501 -515
- package/dist/useUserMenu-ClPBlvaM.js +44 -0
- package/dist/user.js +12 -13
- package/dist/utils/apiMiddlewares.d.ts +6 -0
- package/package.json +1 -1
- package/dist/AuthkitAppSetting-BCrLMpLg.js +0 -1322
- package/dist/AuthkitSignInPhone-DmCQ2fWs.js +0 -1721
- package/dist/FeedbackModal-aI28o-w5.js +0 -1053
- package/dist/LandingPageSectionHeader-Cs1x8i3q.js +0 -584
- package/dist/MessageHandle-BV1nKlxs.js +0 -1147
- package/dist/PaySubscriptions-B3gI1Eme.js +0 -408
- package/dist/ReferrerReferees-DJzPo7X5.js +0 -106
- package/dist/UserAccountMenu-CJ9KKVYa.js +0 -371
- package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-ClAXNSgl.js +0 -81
- package/dist/WidthContainer-BG10rumn.js +0 -669
- package/dist/useAuthkitUsersProfile-lGlQP54m.js +0 -186
- package/dist/useUserMenu-B3HKZKJ4.js +0 -43
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import "./index-D3Kp6R4z.js";
|
|
3
|
+
import { defineComponent as B, ref as L, openBlock as i, createElementBlock as r, createVNode as $, unref as m, createCommentVNode as c, normalizeClass as S, createElementVNode as d, renderSlot as a, toDisplayString as w, createBlock as f, withCtx as l, createTextVNode as u, Fragment as C, renderList as T, createSlots as V, mergeProps as g } from "vue";
|
|
4
|
+
import { Spin as M, Empty as _, Tag as k, Button as b } from "@arco-design/web-vue";
|
|
5
|
+
import { useIntersectionObserver as z } from "@vueuse/core";
|
|
6
|
+
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
const N = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "loading"
|
|
12
|
+
}, R = {
|
|
13
|
+
key: 1,
|
|
14
|
+
class: "none"
|
|
15
|
+
}, E = /* @__PURE__ */ B({
|
|
16
|
+
__name: "InfiniteLoading",
|
|
17
|
+
props: {
|
|
18
|
+
loading: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !1
|
|
21
|
+
},
|
|
22
|
+
finished: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
},
|
|
26
|
+
loadingText: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: "数据加载中..."
|
|
29
|
+
},
|
|
30
|
+
finishedText: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: "亲,没有更多了!"
|
|
33
|
+
},
|
|
34
|
+
showFinishedText: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: !0
|
|
37
|
+
},
|
|
38
|
+
threshold: {
|
|
39
|
+
type: Number,
|
|
40
|
+
default: 0
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
emits: ["infinite"],
|
|
44
|
+
setup(e, {
|
|
45
|
+
emit: o
|
|
46
|
+
}) {
|
|
47
|
+
const t = e, h = o, y = L(null);
|
|
48
|
+
return z(y, ([{
|
|
49
|
+
isIntersecting: s
|
|
50
|
+
}]) => {
|
|
51
|
+
s && // 当loading和finished的值都为false时,就通知父组件调用方法继续向后台请求数据
|
|
52
|
+
!t.loading && !t.finished && h("infinite");
|
|
53
|
+
}, {
|
|
54
|
+
threshold: t.threshold
|
|
55
|
+
}), (s, p) => (i(), r("div", {
|
|
56
|
+
ref_key: "container",
|
|
57
|
+
ref: y,
|
|
58
|
+
class: "infinite-loading"
|
|
59
|
+
}, [e.loading ? (i(), r("div", N, [$(m(M), {
|
|
60
|
+
tip: e.loadingText
|
|
61
|
+
}, null, 8, ["tip"])])) : c("", !0), e.finished && e.showFinishedText ? (i(), r("div", R, [$(m(_), {
|
|
62
|
+
description: e.finishedText
|
|
63
|
+
}, null, 8, ["description"])])) : c("", !0)], 512));
|
|
64
|
+
}
|
|
65
|
+
}), F = /* @__PURE__ */ I(E, [["__scopeId", "data-v-8be68707"]]), x = {
|
|
66
|
+
class: "message-item__content"
|
|
67
|
+
}, A = {
|
|
68
|
+
class: "message-item__header"
|
|
69
|
+
}, D = {
|
|
70
|
+
class: "message-item__title"
|
|
71
|
+
}, O = {
|
|
72
|
+
class: "message-item__tags"
|
|
73
|
+
}, P = {
|
|
74
|
+
class: "message-item__description"
|
|
75
|
+
}, j = {
|
|
76
|
+
class: "message-item__footer"
|
|
77
|
+
}, q = {
|
|
78
|
+
class: "message-item__time"
|
|
79
|
+
}, G = {
|
|
80
|
+
class: "message-item__actions"
|
|
81
|
+
}, H = /* @__PURE__ */ B({
|
|
82
|
+
__name: "MessageItem",
|
|
83
|
+
props: {
|
|
84
|
+
item: {},
|
|
85
|
+
showReadStatus: {
|
|
86
|
+
type: Boolean
|
|
87
|
+
},
|
|
88
|
+
showViewButton: {
|
|
89
|
+
type: Boolean
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
emits: ["click"],
|
|
93
|
+
setup(e) {
|
|
94
|
+
return (o, t) => (i(), r("div", {
|
|
95
|
+
class: S(["message-item", {
|
|
96
|
+
"message-item--unread": e.showReadStatus && !e.item.read
|
|
97
|
+
}]),
|
|
98
|
+
onClick: t[0] || (t[0] = (h) => o.$emit("click", e.item))
|
|
99
|
+
}, [d("div", x, [d("div", A, [e.showReadStatus ? (i(), r("span", {
|
|
100
|
+
key: 0,
|
|
101
|
+
class: S(["message-item__dot", {
|
|
102
|
+
"message-item__dot--unread": !e.item.read
|
|
103
|
+
}])
|
|
104
|
+
}, null, 2)) : c("", !0), a(o.$slots, "prefix", {
|
|
105
|
+
item: e.item
|
|
106
|
+
}, void 0, !0), d("span", D, w(e.item.title), 1), d("div", O, [e.item.pinned ? (i(), f(m(k), {
|
|
107
|
+
key: 0,
|
|
108
|
+
color: "arcoblue",
|
|
109
|
+
size: "small"
|
|
110
|
+
}, {
|
|
111
|
+
default: l(() => [...t[1] || (t[1] = [u("置顶", -1)])]),
|
|
112
|
+
_: 1
|
|
113
|
+
})) : c("", !0), a(o.$slots, "tags", {
|
|
114
|
+
item: e.item
|
|
115
|
+
}, () => [e.item.priority === "urgent" ? (i(), f(m(k), {
|
|
116
|
+
key: 0,
|
|
117
|
+
color: "red",
|
|
118
|
+
size: "small"
|
|
119
|
+
}, {
|
|
120
|
+
default: l(() => [...t[2] || (t[2] = [u("紧急", -1)])]),
|
|
121
|
+
_: 1
|
|
122
|
+
})) : e.item.priority === "important" ? (i(), f(m(k), {
|
|
123
|
+
key: 1,
|
|
124
|
+
color: "orange",
|
|
125
|
+
size: "small"
|
|
126
|
+
}, {
|
|
127
|
+
default: l(() => [...t[3] || (t[3] = [u("重要", -1)])]),
|
|
128
|
+
_: 1
|
|
129
|
+
})) : e.item.priority === "high" ? (i(), f(m(k), {
|
|
130
|
+
key: 2,
|
|
131
|
+
color: "orange",
|
|
132
|
+
size: "small"
|
|
133
|
+
}, {
|
|
134
|
+
default: l(() => [...t[4] || (t[4] = [u("高", -1)])]),
|
|
135
|
+
_: 1
|
|
136
|
+
})) : c("", !0)], !0)])]), d("div", P, [a(o.$slots, "description", {
|
|
137
|
+
item: e.item
|
|
138
|
+
}, () => [u(w(e.item.description), 1)], !0)]), d("div", j, [d("span", q, w(e.item.createAt), 1), a(o.$slots, "footer", {
|
|
139
|
+
item: e.item
|
|
140
|
+
}, void 0, !0)])]), d("div", G, [a(o.$slots, "actions", {
|
|
141
|
+
item: e.item
|
|
142
|
+
}, () => [e.showViewButton ? (i(), f(m(b), {
|
|
143
|
+
key: 0,
|
|
144
|
+
type: "text",
|
|
145
|
+
size: "small"
|
|
146
|
+
}, {
|
|
147
|
+
default: l(() => [...t[5] || (t[5] = [u("查看", -1)])]),
|
|
148
|
+
_: 1
|
|
149
|
+
})) : c("", !0)], !0)])], 2));
|
|
150
|
+
}
|
|
151
|
+
}), J = /* @__PURE__ */ I(H, [["__scopeId", "data-v-ca3f3399"]]), K = {
|
|
152
|
+
class: "message-list"
|
|
153
|
+
}, Q = {
|
|
154
|
+
key: 0,
|
|
155
|
+
class: "message-list__empty"
|
|
156
|
+
}, U = /* @__PURE__ */ B({
|
|
157
|
+
__name: "MessageList",
|
|
158
|
+
props: {
|
|
159
|
+
messageList: {},
|
|
160
|
+
loading: {
|
|
161
|
+
type: Boolean
|
|
162
|
+
},
|
|
163
|
+
finished: {
|
|
164
|
+
type: Boolean
|
|
165
|
+
},
|
|
166
|
+
showReadStatus: {
|
|
167
|
+
type: Boolean
|
|
168
|
+
},
|
|
169
|
+
showViewButton: {
|
|
170
|
+
type: Boolean
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
emits: ["itemClick", "loadMore"],
|
|
174
|
+
setup(e, {
|
|
175
|
+
emit: o
|
|
176
|
+
}) {
|
|
177
|
+
const t = e, h = o;
|
|
178
|
+
function y(s) {
|
|
179
|
+
h("itemClick", s);
|
|
180
|
+
}
|
|
181
|
+
return (s, p) => (i(), r("div", K, [t.messageList.length === 0 && !t.loading ? (i(), r("div", Q, [$(m(_), {
|
|
182
|
+
description: "暂无消息"
|
|
183
|
+
})])) : (i(), r(C, {
|
|
184
|
+
key: 1
|
|
185
|
+
}, [(i(!0), r(C, null, T(t.messageList, (v) => (i(), f(J, {
|
|
186
|
+
key: v.id,
|
|
187
|
+
item: v,
|
|
188
|
+
"show-read-status": t.showReadStatus,
|
|
189
|
+
"show-view-button": t.showViewButton,
|
|
190
|
+
onClick: (n) => y(v)
|
|
191
|
+
}, V({
|
|
192
|
+
_: 2
|
|
193
|
+
}, [s.$slots.prefix ? {
|
|
194
|
+
name: "prefix",
|
|
195
|
+
fn: l((n) => [a(s.$slots, "prefix", g({
|
|
196
|
+
ref_for: !0
|
|
197
|
+
}, n), void 0, !0)]),
|
|
198
|
+
key: "0"
|
|
199
|
+
} : void 0, s.$slots.tags ? {
|
|
200
|
+
name: "tags",
|
|
201
|
+
fn: l((n) => [a(s.$slots, "tags", g({
|
|
202
|
+
ref_for: !0
|
|
203
|
+
}, n), void 0, !0)]),
|
|
204
|
+
key: "1"
|
|
205
|
+
} : void 0, s.$slots.description ? {
|
|
206
|
+
name: "description",
|
|
207
|
+
fn: l((n) => [a(s.$slots, "description", g({
|
|
208
|
+
ref_for: !0
|
|
209
|
+
}, n), void 0, !0)]),
|
|
210
|
+
key: "2"
|
|
211
|
+
} : void 0, s.$slots.footer ? {
|
|
212
|
+
name: "footer",
|
|
213
|
+
fn: l((n) => [a(s.$slots, "footer", g({
|
|
214
|
+
ref_for: !0
|
|
215
|
+
}, n), void 0, !0)]),
|
|
216
|
+
key: "3"
|
|
217
|
+
} : void 0, s.$slots.actions ? {
|
|
218
|
+
name: "actions",
|
|
219
|
+
fn: l((n) => [a(s.$slots, "actions", g({
|
|
220
|
+
ref_for: !0
|
|
221
|
+
}, n), void 0, !0)]),
|
|
222
|
+
key: "4"
|
|
223
|
+
} : void 0]), 1032, ["item", "show-read-status", "show-view-button", "onClick"]))), 128)), $(F, {
|
|
224
|
+
loading: t.loading,
|
|
225
|
+
finished: t.finished,
|
|
226
|
+
onInfinite: p[0] || (p[0] = (v) => s.$emit("loadMore"))
|
|
227
|
+
}, null, 8, ["loading", "finished"])], 64))]));
|
|
228
|
+
}
|
|
229
|
+
}), oe = /* @__PURE__ */ I(U, [["__scopeId", "data-v-991c4730"]]);
|
|
230
|
+
export {
|
|
231
|
+
F as I,
|
|
232
|
+
oe as M
|
|
233
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as f, ref as p, openBlock as t, createElementBlock as i, normalizeClass as K, createBlock as d, unref as S, createCommentVNode as v, createElementVNode as _, toDisplayString as A, Fragment as h, renderList as N } from "vue";
|
|
2
2
|
import { Icon as D } from "@iconify/vue";
|
|
3
3
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
import { o as $ } from "./apiClients-
|
|
5
|
-
import { D as x } from "./MessageHandle-
|
|
4
|
+
import { o as $ } from "./apiClients-DVz12LeW.js";
|
|
5
|
+
import { D as x } from "./MessageHandle-B12koVQL.js";
|
|
6
6
|
const b = /* @__PURE__ */ f({
|
|
7
7
|
__name: "MessageMenuItem",
|
|
8
8
|
props: {
|