@huyooo/ui 0.4.4 → 0.4.7

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.
Files changed (167) hide show
  1. package/dist/AuthkitAppSetting-CufEYL2W.js +1815 -0
  2. package/dist/AuthkitAuthorize-DnvypjyO.js +250 -0
  3. package/dist/CollapseItem-Cw1vcdLu.js +57 -0
  4. package/dist/CustomTable-Cd6RiAPX.js +1337 -0
  5. package/dist/FeedbackFeedBackItem-DYUIzqYg.js +526 -0
  6. package/dist/FeedbackFeedBackModal-DKgZZ8OR.js +1731 -0
  7. package/dist/LandingPageToc-BkL7mxo7.js +1555 -0
  8. package/dist/Menu-2SePYCYT.js +115 -0
  9. package/dist/MessageHandle-C9nSNw5A.js +867 -0
  10. package/dist/MessageMenu-x26lfAeK.js +114 -0
  11. package/dist/PaySubscriptions-CFKM4gyf.js +278 -0
  12. package/dist/ReferrerReferees-q8H-v-Hq.js +185 -0
  13. package/dist/Upload.vue_vue_type_script_setup_true_lang-DqfW_OJJ.js +96 -0
  14. package/dist/UserPanel-azycBFZP.js +511 -0
  15. package/dist/WidthContainer-D795bWdT.js +128 -0
  16. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  17. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  18. package/dist/authkit.d.ts +32 -0
  19. package/dist/authkit.js +36 -0
  20. package/dist/common.d.ts +24 -0
  21. package/dist/common.js +39 -0
  22. package/dist/components/Authkit/Auth/AuthkitAuthorize.vue.d.ts +104 -0
  23. package/dist/components/Feedback/FeedbackFeedBack.vue.d.ts +53 -0
  24. package/dist/components/Feedback/FeedbackFeedBackItem.vue.d.ts +32 -0
  25. package/dist/components/Feedback/FeedbackFloatButton.vue.d.ts +42 -0
  26. package/dist/components/Gradientbackground.vue.d.ts +1 -1
  27. package/dist/components/LandingPage/LandingPageAbout.vue.d.ts +2 -0
  28. package/dist/components/LandingPage/LandingPageAside.vue.d.ts +2 -0
  29. package/dist/components/LandingPage/LandingPageBlockHeader.vue.d.ts +18 -0
  30. package/dist/components/LandingPage/LandingPageBlockLayout.vue.d.ts +41 -0
  31. package/dist/components/LandingPage/LandingPageBrandInfo.vue.d.ts +47 -0
  32. package/dist/components/LandingPage/LandingPageButton.vue.d.ts +20 -0
  33. package/dist/components/LandingPage/LandingPageContact.vue.d.ts +29 -0
  34. package/dist/components/LandingPage/LandingPageContactForm.vue.d.ts +2 -0
  35. package/dist/components/LandingPage/LandingPageContainer.vue.d.ts +17 -0
  36. package/dist/components/LandingPage/LandingPageCta.vue.d.ts +25 -0
  37. package/dist/components/LandingPage/LandingPageDescription.vue.d.ts +17 -0
  38. package/dist/components/LandingPage/LandingPageDivider.vue.d.ts +2 -0
  39. package/dist/components/LandingPage/LandingPageFAQ.vue.d.ts +13 -0
  40. package/dist/components/LandingPage/LandingPageFeatures.vue.d.ts +16 -0
  41. package/dist/components/LandingPage/LandingPageFeatures2.vue.d.ts +13 -0
  42. package/dist/components/LandingPage/LandingPageFooter.vue.d.ts +2 -0
  43. package/dist/components/LandingPage/LandingPageFooterLayout.vue.d.ts +19 -0
  44. package/dist/components/LandingPage/LandingPageHero.vue.d.ts +49 -0
  45. package/dist/components/LandingPage/LandingPageLink.vue.d.ts +17 -0
  46. package/dist/components/LandingPage/LandingPageLinkGroup.vue.d.ts +22 -0
  47. package/dist/components/LandingPage/LandingPageListItem.vue.d.ts +7 -0
  48. package/dist/components/LandingPage/LandingPageLogo.vue.d.ts +53 -0
  49. package/dist/components/LandingPage/LandingPageLogos.vue.d.ts +14 -0
  50. package/dist/components/LandingPage/LandingPageMission.vue.d.ts +10 -0
  51. package/dist/components/LandingPage/LandingPagePageContent.vue.d.ts +31 -0
  52. package/dist/components/LandingPage/LandingPagePriceGroup.vue.d.ts +17 -0
  53. package/dist/components/LandingPage/LandingPagePricingGrid.vue.d.ts +17 -0
  54. package/dist/components/LandingPage/LandingPageSections.vue.d.ts +23 -0
  55. package/dist/components/LandingPage/LandingPageShowcase.vue.d.ts +26 -0
  56. package/dist/components/LandingPage/LandingPageStats.vue.d.ts +16 -0
  57. package/dist/components/LandingPage/LandingPageSteps.vue.d.ts +33 -0
  58. package/dist/components/LandingPage/LandingPageSubTitle.vue.d.ts +17 -0
  59. package/dist/components/LandingPage/LandingPageTabs.vue.d.ts +32 -0
  60. package/dist/components/LandingPage/LandingPageTeamInfo.vue.d.ts +6 -0
  61. package/dist/components/LandingPage/LandingPageTeamList.vue.d.ts +9 -0
  62. package/dist/components/LandingPage/LandingPageTestimonial.vue.d.ts +13 -0
  63. package/dist/components/LandingPage/LandingPageTips.vue.d.ts +23 -0
  64. package/dist/components/LandingPage/LandingPageTitle.vue.d.ts +17 -0
  65. package/dist/components/LandingPage/LandingPageToc.vue.d.ts +2 -0
  66. package/dist/components/Message/MessageCustomTabs.vue.d.ts +44 -0
  67. package/dist/components/{MessageCenter/MessageCenterHandle.vue.d.ts → Message/MessageHandle.vue.d.ts} +5 -5
  68. package/dist/components/Message/MessageMenu.vue.d.ts +27 -0
  69. package/dist/components/Message/MessageMenuItem.vue.d.ts +44 -0
  70. package/dist/components/Upload/Upload.vue.d.ts +80 -0
  71. package/dist/components/User/UserBasicInformation.vue.d.ts +1 -1
  72. package/dist/components/User/UserPanel.vue.d.ts +23 -23
  73. package/dist/composables/Authkit/{useAppsAuthPageInfo.d.ts → useAuthkitAppsAuthPageInfo.d.ts} +1 -1
  74. package/dist/composables/Authkit/{useAuth.d.ts → useAuthkitAuth.d.ts} +1 -1
  75. package/dist/composables/Authkit/{useAuthModal.d.ts → useAuthkitAuthModal.d.ts} +1 -1
  76. package/dist/composables/Authkit/{useCreateAndUpdate.d.ts → useAuthkitCreateAndUpdate.d.ts} +1 -1
  77. package/dist/composables/Authkit/{useOAuth.d.ts → useAuthkitOAuth.d.ts} +1 -1
  78. package/dist/composables/Authkit/useAuthkitProps.d.ts +7 -0
  79. package/dist/composables/Authkit/{useUsersProfile.d.ts → useAuthkitUsersProfile.d.ts} +2 -2
  80. package/dist/composables/Upload/{useCos.d.ts → useUploadCos.d.ts} +1 -1
  81. package/dist/composables.d.ts +12 -0
  82. package/dist/composables.js +21 -0
  83. package/dist/feedback.d.ts +14 -0
  84. package/dist/feedback.js +17 -0
  85. package/dist/index-Cr5RQSnA.js +73 -0
  86. package/dist/index.js +153 -98959
  87. package/dist/landingPage.d.ts +42 -0
  88. package/dist/landingPage.js +45 -0
  89. package/dist/main.d.ts +13 -42
  90. package/dist/message.d.ts +17 -0
  91. package/dist/message.js +22 -0
  92. package/dist/pay.d.ts +1 -0
  93. package/dist/pay.js +4 -0
  94. package/dist/plugin-vue_export-helper-LjDO2Zua.js +19 -0
  95. package/dist/referrer.d.ts +1 -0
  96. package/dist/referrer.js +4 -0
  97. package/dist/style.css +1 -1
  98. package/dist/styles.d.ts +1 -0
  99. package/dist/styles.js +4 -0
  100. package/dist/upload.d.ts +2 -0
  101. package/dist/upload.js +6 -0
  102. package/dist/useActiveDoc-BWHkOJhJ.js +39 -0
  103. package/dist/useAuthkitCreateAndUpdate-BpPW409v.js +25 -0
  104. package/dist/useAuthkitProps-ZAjekGnM.js +287 -0
  105. package/dist/useMessageNotifications-lmP0vJDM.js +105 -0
  106. package/dist/useTableHandle-DKUIdSSh.js +69 -0
  107. package/dist/useUploadCos-DpOqkozy.js +7395 -0
  108. package/dist/useUserPanelProps-Dt9zkMJw.js +14 -0
  109. package/dist/user.d.ts +7 -0
  110. package/dist/user.js +10 -0
  111. package/package.json +75 -23
  112. package/dist/composables/Authkit/useProps.d.ts +0 -7
  113. package/dist/api/{MessageCenter → Message}/ChangelogNotifications.d.ts +0 -0
  114. package/dist/api/{MessageCenter → Message}/EventNotifications.d.ts +0 -0
  115. package/dist/api/{MessageCenter → Message}/MessageNotifications.d.ts +0 -0
  116. package/dist/api/{MessageCenter → Message}/NoticeNotifications.d.ts +0 -0
  117. package/dist/components/Authkit/AppSetting/{EmailBinding.vue.d.ts → AuthkitEmailBinding.vue.d.ts} +0 -0
  118. package/dist/components/Authkit/AppSetting/{EmailVerify.vue.d.ts → AuthkitEmailVerify.vue.d.ts} +0 -0
  119. package/dist/components/Authkit/AppSetting/{GithubBinding.vue.d.ts → AuthkitGithubBinding.vue.d.ts} +0 -0
  120. package/dist/components/Authkit/AppSetting/{PasswordUpdate.vue.d.ts → AuthkitPasswordUpdate.vue.d.ts} +0 -0
  121. package/dist/components/Authkit/AppSetting/{PersonalInformation.vue.d.ts → AuthkitPersonalInformation.vue.d.ts} +0 -0
  122. package/dist/components/Authkit/AppSetting/{SetPassword.vue.d.ts → AuthkitSetPassword.vue.d.ts} +0 -0
  123. package/dist/components/Authkit/Auth/{AuthContainer.vue.d.ts → AuthkitAuthContainer.vue.d.ts} +0 -0
  124. package/dist/components/Authkit/Auth/{Title.vue.d.ts → AuthkitAuthTitle.vue.d.ts} +0 -0
  125. package/dist/components/Authkit/Auth/{EmailUpdate.vue.d.ts → AuthkitEmailUpdate.vue.d.ts} +0 -0
  126. package/dist/components/Authkit/Auth/{OAuthItem.vue.d.ts → AuthkitOAuthItem.vue.d.ts} +1 -1
  127. package/dist/components/Authkit/Auth/{OAuthList.vue.d.ts → AuthkitOAuthList.vue.d.ts} +1 -1
  128. package/dist/components/Authkit/Auth/{PasswordAuth.vue.d.ts → AuthkitPasswordAuth.vue.d.ts} +0 -0
  129. package/dist/components/Authkit/Auth/{PasswordUpdateAndVerify.vue.d.ts → AuthkitPasswordUpdateAndVerify.vue.d.ts} +2 -2
  130. package/dist/components/Authkit/Auth/{ResetPassword.vue.d.ts → AuthkitResetPassword.vue.d.ts} +0 -0
  131. package/dist/components/Authkit/Auth/{ServiceAgreementAndPrivacyProtection.vue.d.ts → AuthkitServiceAgreementAndPrivacyProtection.vue.d.ts} +0 -0
  132. package/dist/components/Authkit/Auth/{SignIn.vue.d.ts → AuthkitSignIn.vue.d.ts} +0 -0
  133. package/dist/components/Authkit/Auth/{SignUp.vue.d.ts → AuthkitSignUp.vue.d.ts} +0 -0
  134. package/dist/components/Authkit/Auth/{SwitchSignIn.vue.d.ts → AuthkitSwitchSignIn.vue.d.ts} +0 -0
  135. package/dist/components/Authkit/Auth/{SwitchSignUpOrResetPassword.vue.d.ts → AuthkitSwitchSignUpOrResetPassword.vue.d.ts} +0 -0
  136. package/dist/components/Authkit/{AppSetting.vue.d.ts → AuthkitAppSetting.vue.d.ts} +2 -2
  137. package/dist/components/Authkit/{Auth.vue.d.ts → AuthkitAuth.vue.d.ts} +0 -0
  138. package/dist/components/Authkit/{AuthModal.vue.d.ts → AuthkitAuthModal.vue.d.ts} +4 -4
  139. package/dist/components/Authkit/{SendVerifyCode.vue.d.ts → AuthkitSendVerifyCode.vue.d.ts} +0 -0
  140. package/dist/components/Feedback/{BubbleEnd.vue.d.ts → FeedbackBubbleEnd.vue.d.ts} +0 -0
  141. package/dist/components/Feedback/{BubbleStart.vue.d.ts → FeedbackBubbleStart.vue.d.ts} +0 -0
  142. package/dist/components/Feedback/{Clipboard.vue.d.ts → FeedbackClipboard.vue.d.ts} +0 -0
  143. package/dist/components/{MessageCenter/CustomTabs.vue.d.ts → Feedback/FeedbackCustomTabs.vue.d.ts} +0 -0
  144. package/dist/components/Feedback/{FeedBackDetails.vue.d.ts → FeedbackFeedBackDetails.vue.d.ts} +0 -0
  145. package/dist/components/Feedback/{FeedBackFrom.vue.d.ts → FeedbackFeedBackFrom.vue.d.ts} +0 -0
  146. package/dist/components/Feedback/{FeedBackList.vue.d.ts → FeedbackFeedBackList.vue.d.ts} +0 -0
  147. package/dist/components/Feedback/{FeedBackModal.vue.d.ts → FeedbackFeedBackModal.vue.d.ts} +2 -2
  148. package/dist/components/Feedback/{Refresh.vue.d.ts → FeedbackRefresh.vue.d.ts} +0 -0
  149. package/dist/components/Feedback/{Screenshots.vue.d.ts → FeedbackScreenshots.vue.d.ts} +0 -0
  150. package/dist/components/{Pay/PricingGrid.vue.d.ts → LandingPage/LandingPageCard.vue.d.ts} +0 -0
  151. package/dist/components/{FooterContact.vue.d.ts → LandingPage/LandingPageFooterContact.vue.d.ts} +0 -0
  152. package/dist/components/{Pay/PricingCard.vue.d.ts → LandingPage/LandingPagePricingCard.vue.d.ts} +0 -0
  153. package/dist/components/{MessageCenter/AppMessage.vue.d.ts → Message/MessageAppMessage.vue.d.ts} +2 -2
  154. package/dist/components/{MessageCenter/ChangelogNotifications.vue.d.ts → Message/MessageChangelogNotifications.vue.d.ts} +0 -0
  155. package/dist/components/{MessageCenter/ChangelogNotificationsDetails.vue.d.ts → Message/MessageChangelogNotificationsDetails.vue.d.ts} +0 -0
  156. package/dist/components/{MessageCenter/Details.vue.d.ts → Message/MessageDetails.vue.d.ts} +0 -0
  157. package/dist/components/{MessageCenter/EventNotifications.vue.d.ts → Message/MessageEventNotifications.vue.d.ts} +0 -0
  158. package/dist/components/{MessageCenter/EventNotificationsDetails.vue.d.ts → Message/MessageEventNotificationsDetails.vue.d.ts} +0 -0
  159. package/dist/components/{MessageCenter/InfiniteLoading.vue.d.ts → Message/MessageInfiniteLoading.vue.d.ts} +0 -0
  160. package/dist/components/{MessageCenter → Message}/MessageList.vue.d.ts +0 -0
  161. package/dist/components/{MessageCenter/MessageNotifications.vue.d.ts → Message/MessageNoticeNotifications.vue.d.ts} +0 -0
  162. package/dist/components/{MessageCenter/NoticeNotificationsDetails.vue.d.ts → Message/MessageNoticeNotificationsDetails.vue.d.ts} +0 -0
  163. package/dist/components/{MessageCenter/NoticeNotifications.vue.d.ts → Message/MessageNotifications.vue.d.ts} +0 -0
  164. package/dist/components/{MessageCenter → Message}/MessageTabs.vue.d.ts +0 -0
  165. package/dist/components/Pay/{Subscriptions.vue.d.ts → PaySubscriptions.vue.d.ts} +2 -2
  166. /package/dist/components/Referrer/{Referees.vue.d.ts → ReferrerReferees.vue.d.ts} +0 -0
  167. /package/dist/components/User/{SubscriptionBaseInformation.vue.d.ts → UserSubscriptionBaseInformation.vue.d.ts} +0 -0
@@ -0,0 +1,511 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ import { defineComponent as _, createElementBlock as y, openBlock as l, normalizeStyle as L, normalizeClass as H, createElementVNode as d, computed as B, createBlock as v, createCommentVNode as V, createVNode as r, unref as t, withCtx as a, createTextVNode as f, toDisplayString as h, renderSlot as ve, ref as p } from "vue";
6
+ import { Tag as ge, Button as F, Avatar as O, Dropdown as ye, Divider as T, Doption as g } from "@arco-design/web-vue";
7
+ import { S as _e } from "./PaySubscriptions-CFKM4gyf.js";
8
+ import { R as Se } from "./ReferrerReferees-q8H-v-Hq.js";
9
+ import { a as q, u as be, b as Ce, c as $e } from "./useAuthkitProps-ZAjekGnM.js";
10
+ import { u as he } from "./useUserPanelProps-Dt9zkMJw.js";
11
+ import { b as Ie, a as xe } from "./AuthkitAppSetting-CufEYL2W.js";
12
+ import { d as Ue } from "./FeedbackFeedBackModal-DKgZZ8OR.js";
13
+ import { M as Be } from "./MessageHandle-C9nSNw5A.js";
14
+ /* empty css */
15
+ /* empty css */
16
+ import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ /* empty css */
18
+ import { I as $ } from "./index-Cr5RQSnA.js";
19
+ import { _ as E, g as K, i as W } from "./plugin-vue_export-helper-LjDO2Zua.js";
20
+ const Pe = _({
21
+ name: "IconExport",
22
+ props: {
23
+ size: {
24
+ type: [Number, String]
25
+ },
26
+ strokeWidth: {
27
+ type: Number,
28
+ default: 4
29
+ },
30
+ strokeLinecap: {
31
+ type: String,
32
+ default: "butt",
33
+ validator: (e) => ["butt", "round", "square"].includes(e)
34
+ },
35
+ strokeLinejoin: {
36
+ type: String,
37
+ default: "miter",
38
+ validator: (e) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(e)
39
+ },
40
+ rotate: Number,
41
+ spin: Boolean
42
+ },
43
+ emits: {
44
+ click: (e) => !0
45
+ },
46
+ setup(e, {
47
+ emit: n
48
+ }) {
49
+ const i = K("icon"), s = B(() => [i, `${i}-export`, {
50
+ [`${i}-spin`]: e.spin
51
+ }]), u = B(() => {
52
+ const o = {};
53
+ return e.size && (o.fontSize = W(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
54
+ });
55
+ return {
56
+ cls: s,
57
+ innerStyle: u,
58
+ onClick: (o) => {
59
+ n("click", o);
60
+ }
61
+ };
62
+ }
63
+ }), we = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
64
+ function De(e, n, i, s, u, m) {
65
+ return l(), y("svg", {
66
+ viewBox: "0 0 48 48",
67
+ fill: "none",
68
+ xmlns: "http://www.w3.org/2000/svg",
69
+ stroke: "currentColor",
70
+ class: H(e.cls),
71
+ style: L(e.innerStyle),
72
+ "stroke-width": e.strokeWidth,
73
+ "stroke-linecap": e.strokeLinecap,
74
+ "stroke-linejoin": e.strokeLinejoin,
75
+ onClick: n[0] || (n[0] = (...o) => e.onClick && e.onClick(...o))
76
+ }, n[1] || (n[1] = [d("path", {
77
+ d: "M31.928 33.072 41 24.002l-9.072-9.072M16.858 24h24M31 41H7V7h24"
78
+ }, null, -1)]), 14, we);
79
+ }
80
+ var D = /* @__PURE__ */ E(Pe, [["render", De]]);
81
+ const Me = Object.assign(D, {
82
+ install: (e, n) => {
83
+ var i;
84
+ const s = (i = n == null ? void 0 : n.iconPrefix) != null ? i : "";
85
+ e.component(s + D.name, D);
86
+ }
87
+ }), Re = _({
88
+ name: "IconLaunch",
89
+ props: {
90
+ size: {
91
+ type: [Number, String]
92
+ },
93
+ strokeWidth: {
94
+ type: Number,
95
+ default: 4
96
+ },
97
+ strokeLinecap: {
98
+ type: String,
99
+ default: "butt",
100
+ validator: (e) => ["butt", "round", "square"].includes(e)
101
+ },
102
+ strokeLinejoin: {
103
+ type: String,
104
+ default: "miter",
105
+ validator: (e) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(e)
106
+ },
107
+ rotate: Number,
108
+ spin: Boolean
109
+ },
110
+ emits: {
111
+ click: (e) => !0
112
+ },
113
+ setup(e, {
114
+ emit: n
115
+ }) {
116
+ const i = K("icon"), s = B(() => [i, `${i}-launch`, {
117
+ [`${i}-spin`]: e.spin
118
+ }]), u = B(() => {
119
+ const o = {};
120
+ return e.size && (o.fontSize = W(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
121
+ });
122
+ return {
123
+ cls: s,
124
+ innerStyle: u,
125
+ onClick: (o) => {
126
+ n("click", o);
127
+ }
128
+ };
129
+ }
130
+ }), Ae = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
131
+ function ze(e, n, i, s, u, m) {
132
+ return l(), y("svg", {
133
+ viewBox: "0 0 48 48",
134
+ fill: "none",
135
+ stroke: "currentColor",
136
+ xmlns: "http://www.w3.org/2000/svg",
137
+ class: H(e.cls),
138
+ style: L(e.innerStyle),
139
+ "stroke-width": e.strokeWidth,
140
+ "stroke-linecap": e.strokeLinecap,
141
+ "stroke-linejoin": e.strokeLinejoin,
142
+ onClick: n[0] || (n[0] = (...o) => e.onClick && e.onClick(...o))
143
+ }, n[1] || (n[1] = [d("path", {
144
+ d: "M41 26v14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h14M19.822 28.178 39.899 8.1M41 20V7H28"
145
+ }, null, -1)]), 14, Ae);
146
+ }
147
+ var M = /* @__PURE__ */ E(Re, [["render", ze]]);
148
+ const Ne = Object.assign(M, {
149
+ install: (e, n) => {
150
+ var i;
151
+ const s = (i = n == null ? void 0 : n.iconPrefix) != null ? i : "";
152
+ e.component(s + M.name, M);
153
+ }
154
+ }), je = {
155
+ class: "pricing"
156
+ }, Le = {
157
+ class: "base"
158
+ }, He = {
159
+ class: "pricingInfo"
160
+ }, Ve = /* @__PURE__ */ _({
161
+ __name: "UserSubscriptionBaseInformation",
162
+ props: {
163
+ currentVersionName: {
164
+ type: String,
165
+ required: !0
166
+ },
167
+ expireDate: {
168
+ type: String,
169
+ required: !0
170
+ },
171
+ canUpgrade: {
172
+ type: Boolean,
173
+ required: !0
174
+ }
175
+ },
176
+ emits: ["upgradeHandle"],
177
+ setup(e, {
178
+ emit: n
179
+ }) {
180
+ const i = e, s = n;
181
+ function u() {
182
+ s("upgradeHandle");
183
+ }
184
+ return (m, o) => (l(), y("div", je, [d("div", Le, [d("div", He, [o[0] || (o[0] = d("span", null, "我的订阅:", -1)), r(t(ge), {
185
+ color: "arcoblue",
186
+ style: {
187
+ "border-radius": "6px"
188
+ }
189
+ }, {
190
+ default: a(() => [f(h(i.currentVersionName), 1)]),
191
+ _: 1
192
+ })]), i.canUpgrade ? (l(), v(t(F), {
193
+ key: 0,
194
+ type: "primary",
195
+ size: "mini",
196
+ class: "updatePricing",
197
+ onClick: u
198
+ }, {
199
+ default: a(() => o[1] || (o[1] = [f(" 升级 ")])),
200
+ _: 1,
201
+ __: [1]
202
+ })) : V("", !0)]), d("span", null, "有效期至: " + h(i.expireDate), 1)]));
203
+ }
204
+ }), Fe = /* @__PURE__ */ I(Ve, [["__scopeId", "data-v-1e32fa72"]]), Oe = {
205
+ class: "userInfo"
206
+ }, Te = {
207
+ key: 0,
208
+ class: "userName"
209
+ }, qe = /* @__PURE__ */ _({
210
+ __name: "UserAvatar",
211
+ props: {
212
+ nickname: {
213
+ type: String,
214
+ default: ""
215
+ },
216
+ avatar: {
217
+ type: String,
218
+ default: ""
219
+ }
220
+ },
221
+ setup(e) {
222
+ const n = e;
223
+ return (i, s) => (l(), y("div", Oe, [n.nickname ? (l(), y("span", Te, h(n.nickname), 1)) : V("", !0), r(t(O), {
224
+ "image-url": n.avatar,
225
+ size: 32,
226
+ "object-fit": "cover"
227
+ }, null, 8, ["image-url"])]));
228
+ }
229
+ }), Ee = /* @__PURE__ */ I(qe, [["__scopeId", "data-v-a7a47cc4"]]), Ke = {
230
+ class: "userInfo"
231
+ }, We = {
232
+ class: "extra"
233
+ }, Ge = {
234
+ class: "userName"
235
+ }, Je = {
236
+ class: "email"
237
+ }, Qe = /* @__PURE__ */ _({
238
+ __name: "UserBasicInformation",
239
+ props: {
240
+ nickname: {
241
+ type: String,
242
+ default: ""
243
+ },
244
+ email: {
245
+ type: String,
246
+ default: ""
247
+ },
248
+ avatarUrl: {
249
+ type: String,
250
+ default: ""
251
+ }
252
+ },
253
+ setup(e) {
254
+ const n = e;
255
+ return (i, s) => (l(), y("div", Ke, [r(t(O), {
256
+ "image-url": n.avatarUrl,
257
+ size: 42,
258
+ "object-fit": "cover"
259
+ }, null, 8, ["image-url"]), d("div", We, [d("span", Ge, h(n.nickname), 1), d("span", Je, h(n.email), 1)])]));
260
+ }
261
+ }), Xe = /* @__PURE__ */ I(Qe, [["__scopeId", "data-v-611a1dda"]]), Ye = {
262
+ class: "dropdownContent"
263
+ }, Ze = {
264
+ class: "header"
265
+ }, et = /* @__PURE__ */ _({
266
+ __name: "UserButton",
267
+ emits: ["enterSystem", "toSignIn"],
268
+ setup(e, {
269
+ emit: n
270
+ }) {
271
+ const i = n, {
272
+ userProfile: s
273
+ } = q();
274
+ function u() {
275
+ i("toSignIn");
276
+ }
277
+ return (m, o) => t(s) ? (l(), v(t(ye), {
278
+ key: 1,
279
+ class: "DropdownUserInfo",
280
+ position: "bl"
281
+ }, {
282
+ content: a(() => {
283
+ var k, S, b;
284
+ return [d("div", Ye, [d("div", Ze, [r(Xe, {
285
+ "avatar-url": (k = t(s)) == null ? void 0 : k.avatarUrl,
286
+ nickname: (S = t(s)) == null ? void 0 : S.nickname,
287
+ email: (b = t(s)) == null ? void 0 : b.email
288
+ }, null, 8, ["avatar-url", "nickname", "email"]), r(Fe, {
289
+ currentVersionName: "免费版本",
290
+ "expire-date": "2025-01-01",
291
+ "can-upgrade": !0
292
+ })]), r(t(T), {
293
+ style: {
294
+ margin: "10px 0px"
295
+ }
296
+ }), ve(m.$slots, "DoptionList", {}, void 0, !0)])];
297
+ }),
298
+ default: a(() => {
299
+ var k;
300
+ return [r(Ee, {
301
+ avatar: (k = t(s)) == null ? void 0 : k.avatarUrl
302
+ }, null, 8, ["avatar"])];
303
+ }),
304
+ _: 3
305
+ })) : (l(), v(t(F), {
306
+ key: 0,
307
+ type: "primary",
308
+ class: "handle",
309
+ onClick: u
310
+ }, {
311
+ default: a(() => o[0] || (o[0] = [f(" 登陆 ")])),
312
+ _: 1,
313
+ __: [0]
314
+ }));
315
+ }
316
+ }), tt = /* @__PURE__ */ I(et, [["__scopeId", "data-v-8f2cb031"]]), nt = {
317
+ class: "UserPanel"
318
+ }, ot = /* @__PURE__ */ _({
319
+ __name: "UserPanel",
320
+ emits: ["toHomePage", "signOut"],
321
+ setup(e, {
322
+ emit: n
323
+ }) {
324
+ const i = p(), s = p(), u = p(Symbol("key")), m = n, {
325
+ prefixUrl: o,
326
+ bucketId: k,
327
+ bucket: S,
328
+ region: b,
329
+ appId: R
330
+ } = he(), {
331
+ fetchUserProfile: P
332
+ } = q(), {
333
+ addSignInCallback: G
334
+ } = be();
335
+ P();
336
+ const A = p(), z = p(Symbol("key")), N = p(), j = p(), J = p(Symbol("key")), Q = p(), X = p(Symbol("key"));
337
+ function Y(U) {
338
+ console.log("跳转隐私政策", U);
339
+ }
340
+ function Z(U) {
341
+ console.log("跳转用户协议", U);
342
+ }
343
+ const C = $e(), {
344
+ show: ee
345
+ } = Ce();
346
+ C.appId.value = R.value, C.prefixUrl.value = o.value, C.bucketId.value = k.value, C.bucket.value = S.value, C.region.value = b.value;
347
+ function te() {
348
+ z.value = Symbol("key");
349
+ }
350
+ const w = p(), x = p(Symbol("key"));
351
+ function ne() {
352
+ x.value = Symbol("key");
353
+ }
354
+ function oe() {
355
+ x.value = Symbol("key");
356
+ }
357
+ function ie() {
358
+ ee.value = !0;
359
+ }
360
+ G(() => {
361
+ P();
362
+ });
363
+ function re() {
364
+ u.value = Symbol("key");
365
+ }
366
+ function se() {
367
+ s.value.show = !1;
368
+ }
369
+ function ae() {
370
+ x.value = Symbol("key");
371
+ }
372
+ function le() {
373
+ w.value.setData(null, !0);
374
+ }
375
+ function ce() {
376
+ w.value.setData(null, !0);
377
+ }
378
+ function ue() {
379
+ N.value.openNotification();
380
+ }
381
+ function pe() {
382
+ j.value.setData(null, !0);
383
+ }
384
+ function de() {
385
+ i.value.setData(!0);
386
+ }
387
+ function fe() {
388
+ A.value.setData(!0);
389
+ }
390
+ function me() {
391
+ m("toHomePage");
392
+ }
393
+ async function ke() {
394
+ localStorage.removeItem("jwtToken"), await P(), m("signOut");
395
+ }
396
+ return (U, c) => (l(), y("div", nt, [r(tt, {
397
+ onToSignIn: ie
398
+ }, {
399
+ DoptionList: a(() => [r(t(g), {
400
+ value: "messages",
401
+ class: "Doption",
402
+ onClick: ue
403
+ }, {
404
+ icon: a(() => c[0] || (c[0] = [f("消息中心")])),
405
+ default: a(() => [r(t($))]),
406
+ _: 1
407
+ }), r(t(g), {
408
+ value: "setting",
409
+ class: "Doption",
410
+ onClick: ce
411
+ }, {
412
+ icon: a(() => c[1] || (c[1] = [f("系统设置 ")])),
413
+ default: a(() => [r(t($))]),
414
+ _: 1
415
+ }), r(t(g), {
416
+ value: "subscription",
417
+ class: "Doption",
418
+ onClick: pe
419
+ }, {
420
+ icon: a(() => c[2] || (c[2] = [f("订阅信息 ")])),
421
+ default: a(() => [r(t($))]),
422
+ _: 1
423
+ }), r(t(g), {
424
+ value: "feedBack",
425
+ class: "Doption",
426
+ onClick: de
427
+ }, {
428
+ icon: a(() => c[3] || (c[3] = [f("系统反馈 ")])),
429
+ default: a(() => [r(t($))]),
430
+ _: 1
431
+ }), r(t(g), {
432
+ value: "invitations",
433
+ class: "Doption",
434
+ onClick: fe
435
+ }, {
436
+ icon: a(() => c[4] || (c[4] = [f("邀请 ")])),
437
+ default: a(() => [r(t($))]),
438
+ _: 1
439
+ }), r(t(T), {
440
+ style: {
441
+ margin: "10px 0px"
442
+ }
443
+ }), r(t(g), {
444
+ value: "homePage",
445
+ class: "Doption",
446
+ onClick: me
447
+ }, {
448
+ icon: a(() => c[5] || (c[5] = [f("主页 ")])),
449
+ default: a(() => [r(t(Ne))]),
450
+ _: 1
451
+ }), r(t(g), {
452
+ value: "signOut",
453
+ class: "Doption",
454
+ onClick: ke
455
+ }, {
456
+ icon: a(() => c[6] || (c[6] = [f("退出登陆 ")])),
457
+ default: a(() => [r(t(Me))]),
458
+ _: 1
459
+ })]),
460
+ _: 1
461
+ }), (l(), v(Ie, {
462
+ ref_key: "AppSettingRef",
463
+ ref: w,
464
+ key: x.value,
465
+ onConfirm: le,
466
+ onCancel: ae
467
+ })), (l(), v(Se, {
468
+ ref_key: "RefereesRef",
469
+ ref: A,
470
+ key: z.value,
471
+ "prefix-url": t(o),
472
+ onCancel: te
473
+ }, null, 8, ["prefix-url"])), (l(), v(_e, {
474
+ ref_key: "SubscriptionsRef",
475
+ ref: j,
476
+ key: J.value,
477
+ title: "订阅详情",
478
+ onConfirm: ne,
479
+ onCancel: oe
480
+ })), (l(), v(xe, {
481
+ ref_key: "AuthModalRef",
482
+ ref: Q,
483
+ key: X.value,
484
+ size: "large",
485
+ onToPrivacyPolicy: Y,
486
+ onToUserServiceAgreement: Z
487
+ })), r(Be, {
488
+ ref_key: "MessageHandleRef",
489
+ ref: N,
490
+ "prefix-url": t(o)
491
+ }, null, 8, ["prefix-url"]), (l(), v(Ue, {
492
+ ref_key: "FeedBackModalRef",
493
+ ref: i,
494
+ key: u.value,
495
+ "app-id": t(R),
496
+ "prefix-url": t(o),
497
+ "bucket-id": t(k),
498
+ bucket: t(S),
499
+ region: t(b),
500
+ onConfirm: se,
501
+ onCancel: re
502
+ }, null, 8, ["app-id", "prefix-url", "bucket-id", "bucket", "region"]))]));
503
+ }
504
+ }), $t = /* @__PURE__ */ I(ot, [["__scopeId", "data-v-c4578d15"]]);
505
+ export {
506
+ Fe as S,
507
+ $t as U,
508
+ tt as a,
509
+ Ee as b,
510
+ Xe as c
511
+ };
@@ -0,0 +1,128 @@
1
+ import { defineComponent as d, createElementBlock as n, openBlock as r, createElementVNode as c, createCommentVNode as _, toDisplayString as l, computed as a, normalizeStyle as p, renderSlot as f } from "vue";
2
+ import { _ as i } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ const g = {
4
+ class: "ContentHead"
5
+ }, h = {
6
+ class: "title"
7
+ }, m = {
8
+ key: 0,
9
+ class: "description"
10
+ }, S = /* @__PURE__ */ d({
11
+ __name: "ContentHead",
12
+ props: {
13
+ title: {
14
+ type: String,
15
+ required: !0,
16
+ default: () => ""
17
+ },
18
+ description: {
19
+ type: String,
20
+ required: !0,
21
+ default: () => ""
22
+ }
23
+ },
24
+ setup(t) {
25
+ const e = t;
26
+ return (s, o) => (r(), n("div", g, [c("h1", h, l(e.title), 1), e.description ? (r(), n("p", m, l(e.description), 1)) : _("", !0)]));
27
+ }
28
+ }), z = /* @__PURE__ */ i(S, [["__scopeId", "data-v-209a7bef"]]), y = /* @__PURE__ */ d({
29
+ __name: "Gradientbackground",
30
+ props: {
31
+ width: {
32
+ type: String,
33
+ default: "100%"
34
+ },
35
+ height: {
36
+ type: String,
37
+ default: "100%"
38
+ },
39
+ zIndex: {
40
+ type: String,
41
+ default: "-1"
42
+ },
43
+ top: {
44
+ type: String,
45
+ default: "10%"
46
+ },
47
+ left: {
48
+ type: String,
49
+ default: "0%"
50
+ },
51
+ right: {
52
+ type: String,
53
+ default: "auto"
54
+ },
55
+ blur: {
56
+ type: String,
57
+ default: "0px"
58
+ },
59
+ background: {
60
+ type: String,
61
+ required: !1,
62
+ default: () => "linear-gradient(180deg, rgb(0 225 10 / 10%) 0.31%, rgb(26 214 255 / 52%) 74.99%, rgb(220 189 0 / 0%) 99.69%)"
63
+ }
64
+ },
65
+ setup(t) {
66
+ const e = t, s = a(() => ({
67
+ pointerEvents: "none",
68
+ position: "absolute",
69
+ zIndex: e.zIndex,
70
+ width: e.width,
71
+ height: e.height,
72
+ filter: `blur(${e.blur})`
73
+ })), o = a(() => ({
74
+ width: "100%",
75
+ height: "100%",
76
+ background: e.background
77
+ // background: `linear-gradient(180deg, #D5D1FF 0.31%, #EAEDFF 74.99%, rgba(240, 246, 255, 0) 99.69%)`,
78
+ // background: `linear-gradient(180deg, rgb(0 225 10 / 63%) 0.31%, rgb(26 214 255 / 52%) 74.99%, rgb(220 189 0 / 0%) 99.69%)`,
79
+ // background: `linear-gradient(315deg, rgb(0 225 10 / 63%) 10%, rgb(26 214 255 / 52%) 50%, rgb(220 189 0 / 37%) 100%)`,
80
+ }));
81
+ return (u, C) => (r(), n("div", {
82
+ class: "ellipsis",
83
+ style: p(s.value)
84
+ }, [c("div", {
85
+ class: "ellipsis-item",
86
+ style: p(o.value)
87
+ }, null, 4)], 4));
88
+ }
89
+ }), E = /* @__PURE__ */ i(y, [["__scopeId", "data-v-b6461ac4"]]), v = {
90
+ class: "SvgIcon"
91
+ }, b = ["href", "fill"], I = /* @__PURE__ */ d({
92
+ __name: "SvgIcon",
93
+ props: {
94
+ prefix: {
95
+ type: String,
96
+ required: !1,
97
+ default: "icon"
98
+ },
99
+ name: {
100
+ type: String,
101
+ required: !0
102
+ },
103
+ color: {
104
+ type: String,
105
+ required: !1,
106
+ default: "#333"
107
+ }
108
+ },
109
+ setup(t) {
110
+ const e = t, s = a(() => `#${e.prefix ?? "icon"}-${e.name}`);
111
+ return (o, u) => (r(), n("svg", v, [c("use", {
112
+ href: s.value,
113
+ fill: e.color
114
+ }, null, 8, b)]));
115
+ }
116
+ }), G = /* @__PURE__ */ i(I, [["__scopeId", "data-v-0a9de94e"]]), x = {}, $ = {
117
+ class: "WidthContainer"
118
+ };
119
+ function k(t, e) {
120
+ return r(), n("div", $, [f(t.$slots, "default", {}, void 0, !0)]);
121
+ }
122
+ const H = /* @__PURE__ */ i(x, [["render", k], ["__scopeId", "data-v-d06aac1f"]]);
123
+ export {
124
+ z as C,
125
+ E as G,
126
+ G as S,
127
+ H as W
128
+ };
@@ -0,0 +1,8 @@
1
+ var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function l(e) {
3
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
+ }
5
+ export {
6
+ o as c,
7
+ l as g
8
+ };
@@ -0,0 +1,9 @@
1
+ const s = (t, r) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [c, e] of r)
4
+ o[c] = e;
5
+ return o;
6
+ };
7
+ export {
8
+ s as _
9
+ };
@@ -0,0 +1,32 @@
1
+ export { default as AuthkitAppSetting } from './components/Authkit/AuthkitAppSetting.vue';
2
+ export { default as AuthkitAuth } from './components/Authkit/AuthkitAuth.vue';
3
+ export { default as AuthkitAuthContainer } from './components/Authkit/Auth/AuthkitAuthContainer.vue';
4
+ export { default as AuthkitAuthTitle } from './components/Authkit/Auth/AuthkitAuthTitle.vue';
5
+ export { default as AuthkitAuthModal } from './components/Authkit/AuthkitAuthModal.vue';
6
+ export { default as AuthkitSendVerifyCode } from './components/Authkit/AuthkitSendVerifyCode.vue';
7
+ export { default as AuthkitSignIn } from './components/Authkit/Auth/AuthkitSignIn.vue';
8
+ export { default as AuthkitSignUp } from './components/Authkit/Auth/AuthkitSignUp.vue';
9
+ export { default as AuthkitAuthorize } from './components/Authkit/Auth/AuthkitAuthorize.vue';
10
+ export { default as AuthkitOAuthItem } from './components/Authkit/Auth/AuthkitOAuthItem.vue';
11
+ export { default as AuthkitOAuthList } from './components/Authkit/Auth/AuthkitOAuthList.vue';
12
+ export { default as AuthkitPasswordUpdateAndVerify } from './components/Authkit/Auth/AuthkitPasswordUpdateAndVerify.vue';
13
+ export { default as AuthkitResetPassword } from './components/Authkit/Auth/AuthkitResetPassword.vue';
14
+ export { default as AuthkitPasswordAuth } from './components/Authkit/Auth/AuthkitPasswordAuth.vue';
15
+ export { default as AuthkitSwitchSignIn } from './components/Authkit/Auth/AuthkitSwitchSignIn.vue';
16
+ export { default as AuthkitSwitchSignUpOrResetPassword } from './components/Authkit/Auth/AuthkitSwitchSignUpOrResetPassword.vue';
17
+ export { default as AuthkitEmailUpdate } from './components/Authkit/Auth/AuthkitEmailUpdate.vue';
18
+ export { default as AuthkitServiceAgreementAndPrivacyProtection } from './components/Authkit/Auth/AuthkitServiceAgreementAndPrivacyProtection.vue';
19
+ export { default as AuthkitPersonalInformation } from './components/Authkit/AppSetting/AuthkitPersonalInformation.vue';
20
+ export { default as AuthkitEmailVerify } from './components/Authkit/AppSetting/AuthkitEmailVerify.vue';
21
+ export { default as AuthkitGithubBinding } from './components/Authkit/AppSetting/AuthkitGithubBinding.vue';
22
+ export { default as AuthkitSetPassword } from './components/Authkit/AppSetting/AuthkitSetPassword.vue';
23
+ export { default as AuthkitEmailBinding } from './components/Authkit/AppSetting/AuthkitEmailBinding.vue';
24
+ export { default as AuthkitPasswordUpdate } from './components/Authkit/AppSetting/AuthkitPasswordUpdate.vue';
25
+ export { UseAuthkitAppsAuthPageInfo } from './composables/Authkit/useAuthkitAppsAuthPageInfo';
26
+ export { useAuthkitAuth } from './composables/Authkit/useAuthkitAuth';
27
+ export { useAuthkitAuthModal } from './composables/Authkit/useAuthkitAuthModal';
28
+ export { useAuthkitProps } from './composables/Authkit/useAuthkitProps';
29
+ export { useAuthkitUsersProfile } from './composables/Authkit/useAuthkitUsersProfile';
30
+ export { useAuthkitCreateAndUpdate } from './composables/Authkit/useAuthkitCreateAndUpdate';
31
+ export type * from './types/auth';
32
+ export type * from './types/users';