@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,526 @@
1
+ import { defineComponent as f, createElementBlock as d, openBlock as c, normalizeStyle as w, normalizeClass as h, createElementVNode as a, computed as m, Fragment as U, renderList as P, toDisplayString as g, withDirectives as q, createVNode as b, unref as y, vShow as B, ref as N, createBlock as V, withCtx as j, renderSlot as M, onMounted as D, onBeforeUnmount as E, createCommentVNode as W } from "vue";
2
+ import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ /* empty css */
4
+ /* empty css */
5
+ import { Popover as O, Upload as T } from "@arco-design/web-vue";
6
+ import { _ as x, g as F, i as L } from "./plugin-vue_export-helper-LjDO2Zua.js";
7
+ /* empty css */
8
+ /* empty css */
9
+ /* empty css */
10
+ import { u as Z } from "./useUploadCos-DpOqkozy.js";
11
+ import "./FeedbackFeedBackModal-DKgZZ8OR.js";
12
+ import { Icon as A } from "@iconify/vue";
13
+ const Y = f({
14
+ name: "IconDown",
15
+ props: {
16
+ size: {
17
+ type: [Number, String]
18
+ },
19
+ strokeWidth: {
20
+ type: Number,
21
+ default: 4
22
+ },
23
+ strokeLinecap: {
24
+ type: String,
25
+ default: "butt",
26
+ validator: (e) => ["butt", "round", "square"].includes(e)
27
+ },
28
+ strokeLinejoin: {
29
+ type: String,
30
+ default: "miter",
31
+ validator: (e) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(e)
32
+ },
33
+ rotate: Number,
34
+ spin: Boolean
35
+ },
36
+ emits: {
37
+ click: (e) => !0
38
+ },
39
+ setup(e, {
40
+ emit: t
41
+ }) {
42
+ const n = F("icon"), o = m(() => [n, `${n}-down`, {
43
+ [`${n}-spin`]: e.spin
44
+ }]), r = m(() => {
45
+ const i = {};
46
+ return e.size && (i.fontSize = L(e.size) ? `${e.size}px` : e.size), e.rotate && (i.transform = `rotate(${e.rotate}deg)`), i;
47
+ });
48
+ return {
49
+ cls: o,
50
+ innerStyle: r,
51
+ onClick: (i) => {
52
+ t("click", i);
53
+ }
54
+ };
55
+ }
56
+ }), H = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
57
+ function K(e, t, n, o, r, l) {
58
+ return c(), d("svg", {
59
+ viewBox: "0 0 48 48",
60
+ fill: "none",
61
+ xmlns: "http://www.w3.org/2000/svg",
62
+ stroke: "currentColor",
63
+ class: h(e.cls),
64
+ style: w(e.innerStyle),
65
+ "stroke-width": e.strokeWidth,
66
+ "stroke-linecap": e.strokeLinecap,
67
+ "stroke-linejoin": e.strokeLinejoin,
68
+ onClick: t[0] || (t[0] = (...i) => e.onClick && e.onClick(...i))
69
+ }, t[1] || (t[1] = [a("path", {
70
+ d: "M39.6 17.443 24.043 33 8.487 17.443"
71
+ }, null, -1)]), 14, H);
72
+ }
73
+ var C = /* @__PURE__ */ x(Y, [["render", K]]);
74
+ const X = Object.assign(C, {
75
+ install: (e, t) => {
76
+ var n;
77
+ const o = (n = t == null ? void 0 : t.iconPrefix) != null ? n : "";
78
+ e.component(o + C.name, C);
79
+ }
80
+ }), G = f({
81
+ name: "IconClose",
82
+ props: {
83
+ size: {
84
+ type: [Number, String]
85
+ },
86
+ strokeWidth: {
87
+ type: Number,
88
+ default: 4
89
+ },
90
+ strokeLinecap: {
91
+ type: String,
92
+ default: "butt",
93
+ validator: (e) => ["butt", "round", "square"].includes(e)
94
+ },
95
+ strokeLinejoin: {
96
+ type: String,
97
+ default: "miter",
98
+ validator: (e) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(e)
99
+ },
100
+ rotate: Number,
101
+ spin: Boolean
102
+ },
103
+ emits: {
104
+ click: (e) => !0
105
+ },
106
+ setup(e, {
107
+ emit: t
108
+ }) {
109
+ const n = F("icon"), o = m(() => [n, `${n}-close`, {
110
+ [`${n}-spin`]: e.spin
111
+ }]), r = m(() => {
112
+ const i = {};
113
+ return e.size && (i.fontSize = L(e.size) ? `${e.size}px` : e.size), e.rotate && (i.transform = `rotate(${e.rotate}deg)`), i;
114
+ });
115
+ return {
116
+ cls: o,
117
+ innerStyle: r,
118
+ onClick: (i) => {
119
+ t("click", i);
120
+ }
121
+ };
122
+ }
123
+ }), J = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
124
+ function Q(e, t, n, o, r, l) {
125
+ return c(), d("svg", {
126
+ viewBox: "0 0 48 48",
127
+ fill: "none",
128
+ xmlns: "http://www.w3.org/2000/svg",
129
+ stroke: "currentColor",
130
+ class: h(e.cls),
131
+ style: w(e.innerStyle),
132
+ "stroke-width": e.strokeWidth,
133
+ "stroke-linecap": e.strokeLinecap,
134
+ "stroke-linejoin": e.strokeLinejoin,
135
+ onClick: t[0] || (t[0] = (...i) => e.onClick && e.onClick(...i))
136
+ }, t[1] || (t[1] = [a("path", {
137
+ d: "M9.857 9.858 24 24m0 0 14.142 14.142M24 24 38.142 9.858M24 24 9.857 38.142"
138
+ }, null, -1)]), 14, J);
139
+ }
140
+ var I = /* @__PURE__ */ x(G, [["render", Q]]);
141
+ const ee = Object.assign(I, {
142
+ install: (e, t) => {
143
+ var n;
144
+ const o = (n = t == null ? void 0 : t.iconPrefix) != null ? n : "";
145
+ e.component(o + I.name, I);
146
+ }
147
+ }), te = f({
148
+ name: "IconRobot",
149
+ props: {
150
+ size: {
151
+ type: [Number, String]
152
+ },
153
+ strokeWidth: {
154
+ type: Number,
155
+ default: 4
156
+ },
157
+ strokeLinecap: {
158
+ type: String,
159
+ default: "butt",
160
+ validator: (e) => ["butt", "round", "square"].includes(e)
161
+ },
162
+ strokeLinejoin: {
163
+ type: String,
164
+ default: "miter",
165
+ validator: (e) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(e)
166
+ },
167
+ rotate: Number,
168
+ spin: Boolean
169
+ },
170
+ emits: {
171
+ click: (e) => !0
172
+ },
173
+ setup(e, {
174
+ emit: t
175
+ }) {
176
+ const n = F("icon"), o = m(() => [n, `${n}-robot`, {
177
+ [`${n}-spin`]: e.spin
178
+ }]), r = m(() => {
179
+ const i = {};
180
+ return e.size && (i.fontSize = L(e.size) ? `${e.size}px` : e.size), e.rotate && (i.transform = `rotate(${e.rotate}deg)`), i;
181
+ });
182
+ return {
183
+ cls: o,
184
+ innerStyle: r,
185
+ onClick: (i) => {
186
+ t("click", i);
187
+ }
188
+ };
189
+ }
190
+ }), ne = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
191
+ function oe(e, t, n, o, r, l) {
192
+ return c(), d("svg", {
193
+ viewBox: "0 0 48 48",
194
+ fill: "none",
195
+ xmlns: "http://www.w3.org/2000/svg",
196
+ stroke: "currentColor",
197
+ class: h(e.cls),
198
+ style: w(e.innerStyle),
199
+ "stroke-width": e.strokeWidth,
200
+ "stroke-linecap": e.strokeLinecap,
201
+ "stroke-linejoin": e.strokeLinejoin,
202
+ onClick: t[0] || (t[0] = (...i) => e.onClick && e.onClick(...i))
203
+ }, t[1] || (t[1] = [a("path", {
204
+ d: "M18 26h1v1h-1v-1ZM29 26h1v1h-1v-1Z",
205
+ fill: "currentColor",
206
+ stroke: "none"
207
+ }, null, -1), a("path", {
208
+ d: "M24 7v6m0-6h5m-5 0h-5M3 21v11m36 8H9V13h30v29m6-21v11m-27-6h1v1h-1v-1Zm11 0h1v1h-1v-1Z"
209
+ }, null, -1)]), 14, ne);
210
+ }
211
+ var z = /* @__PURE__ */ x(te, [["render", oe]]);
212
+ const ie = Object.assign(z, {
213
+ install: (e, t) => {
214
+ var n;
215
+ const o = (n = t == null ? void 0 : t.iconPrefix) != null ? n : "";
216
+ e.component(o + z.name, z);
217
+ }
218
+ }), re = {
219
+ style: {
220
+ "margin-bottom": "10px",
221
+ display: "flex",
222
+ gap: "10px"
223
+ }
224
+ }, se = ["onClick"], ae = /* @__PURE__ */ f({
225
+ __name: "FeedbackCustomTabs",
226
+ props: {
227
+ modelValue: {
228
+ type: String,
229
+ default: "1"
230
+ },
231
+ tabs: {
232
+ type: Array,
233
+ default: () => [{
234
+ label: "未读消息",
235
+ key: "1"
236
+ }, {
237
+ label: "已读消息",
238
+ key: "2"
239
+ }]
240
+ }
241
+ },
242
+ emits: ["update:modelValue", "change"],
243
+ setup(e, {
244
+ emit: t
245
+ }) {
246
+ const n = e, o = t;
247
+ function r(l) {
248
+ l !== n.modelValue && (o("update:modelValue", l), o("change", l));
249
+ }
250
+ return (l, i) => (c(), d("div", re, [(c(!0), d(U, null, P(e.tabs, (p) => (c(), d("span", {
251
+ key: p.key,
252
+ class: h(["custom-tab", [{
253
+ active: e.modelValue === p.key
254
+ }]]),
255
+ onClick: (k) => r(p.key)
256
+ }, g(p.label), 11, se))), 128))]));
257
+ }
258
+ }), Me = /* @__PURE__ */ _(ae, [["__scopeId", "data-v-4da22ce9"]]), le = /* @__PURE__ */ f({
259
+ __name: "FeedbackFloatButton",
260
+ props: {
261
+ active: {
262
+ type: Boolean,
263
+ required: !0,
264
+ default: !0
265
+ },
266
+ offsetX: {
267
+ type: Number,
268
+ default: 20
269
+ },
270
+ offsetY: {
271
+ type: Number,
272
+ default: 20
273
+ },
274
+ iconSize: {
275
+ type: Number,
276
+ default: 18
277
+ }
278
+ },
279
+ setup(e) {
280
+ const t = e, n = m(() => ({
281
+ bottom: `${t.offsetY}px`,
282
+ right: `${t.offsetY}px`,
283
+ fontSize: `${t.iconSize}px`
284
+ }));
285
+ return (o, r) => (c(), d("div", {
286
+ class: h(["float-button", {
287
+ active: e.active
288
+ }]),
289
+ style: w(n.value)
290
+ }, [q(b(y(ie), {
291
+ name: "Feedback/Help",
292
+ filled: "",
293
+ size: 18
294
+ }, null, 512), [[B, !e.active]]), q(b(y(X), {
295
+ name: "Feedback/Close",
296
+ filled: "",
297
+ size: 18
298
+ }, null, 512), [[B, e.active]])], 6));
299
+ }
300
+ }), ce = /* @__PURE__ */ _(le, [["__scopeId", "data-v-2f26b4bc"]]), ue = {
301
+ class: "card"
302
+ }, de = {
303
+ class: "content"
304
+ }, pe = {
305
+ class: "header"
306
+ }, me = {
307
+ class: "title"
308
+ }, fe = {
309
+ class: "description"
310
+ }, ke = {
311
+ class: "body"
312
+ }, ve = /* @__PURE__ */ f({
313
+ __name: "FeedbackFeedBack",
314
+ props: {
315
+ title: {
316
+ type: String,
317
+ required: !0
318
+ },
319
+ description: {
320
+ type: String,
321
+ required: !0
322
+ },
323
+ appId: {
324
+ type: String,
325
+ required: !0
326
+ },
327
+ prefixUrl: {
328
+ type: String,
329
+ required: !0
330
+ }
331
+ },
332
+ setup(e, {
333
+ expose: t
334
+ }) {
335
+ const n = e, o = N(!1), r = m(() => ({
336
+ padding: 0,
337
+ marginTop: 0,
338
+ "border-radius": "14px",
339
+ background: "linear-gradient(#1672f3, #1672f3 100%, rgba(176, 209, 255, 0) 81%)",
340
+ backgroundSize: "100% 505px",
341
+ backgroundRepeat: "no-repeat",
342
+ border: "0px solid"
343
+ }));
344
+ function l() {
345
+ o.value = !0;
346
+ }
347
+ function i(k) {
348
+ }
349
+ function p() {
350
+ o.value = !1;
351
+ }
352
+ return t({
353
+ show: o
354
+ }), (k, s) => (c(), V(y(O), {
355
+ "popup-visible": o.value,
356
+ "onUpdate:popupVisible": s[0] || (s[0] = (u) => o.value = u),
357
+ trigger: "click",
358
+ "content-style": r.value,
359
+ "arrow-style": {
360
+ display: "none"
361
+ },
362
+ position: "tr",
363
+ onPopupVisibleChange: i
364
+ }, {
365
+ content: j(() => [a("div", ue, [a("div", de, [a("div", pe, [a("div", {
366
+ class: "headerCancel",
367
+ onClick: p
368
+ }, [b(y(ee))]), a("div", me, g(n.title), 1), a("div", fe, g(n.description), 1)]), a("div", ke, [M(k.$slots, "default", {}, void 0, !0)])])])]),
369
+ default: j(() => [b(ce, {
370
+ active: o.value,
371
+ onClick: l
372
+ }, null, 8, ["active"])]),
373
+ _: 3
374
+ }, 8, ["popup-visible", "content-style"]));
375
+ }
376
+ }), De = /* @__PURE__ */ _(ve, [["__scopeId", "data-v-1a19fa2b"]]), be = {
377
+ class: "screenshots-upload"
378
+ }, ye = /* @__PURE__ */ f({
379
+ __name: "FeedbackScreenshots",
380
+ props: {
381
+ appId: {
382
+ type: String,
383
+ required: !0
384
+ },
385
+ bucketId: {
386
+ type: String,
387
+ required: !0
388
+ },
389
+ baseURL: {
390
+ type: String,
391
+ required: !0
392
+ },
393
+ bucket: {
394
+ type: String,
395
+ required: !0
396
+ },
397
+ region: {
398
+ type: String,
399
+ required: !0
400
+ },
401
+ prefixUrl: {
402
+ type: String,
403
+ required: !0
404
+ },
405
+ urls: {
406
+ type: Array,
407
+ required: !0
408
+ }
409
+ },
410
+ emits: ["change"],
411
+ setup(e, {
412
+ emit: t
413
+ }) {
414
+ const n = e, o = t, r = N(null), l = m(() => n.urls.map((s) => ({
415
+ uid: s,
416
+ name: s.split("/").pop() || s,
417
+ url: s,
418
+ status: "done",
419
+ response: {
420
+ url: s
421
+ }
422
+ })));
423
+ function i(s) {
424
+ return new Promise((u, v) => {
425
+ const {
426
+ uploadFile: $
427
+ } = Z({
428
+ appId: n.appId,
429
+ bucketId: n.bucketId,
430
+ baseURL: n.baseURL,
431
+ bucket: n.bucket,
432
+ region: n.region
433
+ });
434
+ $({
435
+ file: s,
436
+ onFileFinish(S, Ie, R) {
437
+ u(R.Key);
438
+ },
439
+ onError(S) {
440
+ v(new Error("上传截图失败"));
441
+ }
442
+ });
443
+ });
444
+ }
445
+ async function p(s) {
446
+ const u = s.fileItem.file, v = await i(u);
447
+ o("change", {
448
+ key: v,
449
+ localUrl: URL.createObjectURL(u)
450
+ });
451
+ }
452
+ function k(s) {
453
+ var v;
454
+ const u = (v = s.clipboardData) == null ? void 0 : v.items;
455
+ if (u) {
456
+ for (const $ of u)
457
+ if ($.type.indexOf("image") !== -1) {
458
+ const S = $.getAsFile();
459
+ S && p({
460
+ fileItem: {
461
+ file: S
462
+ }
463
+ });
464
+ }
465
+ }
466
+ }
467
+ return D(() => {
468
+ window.addEventListener("paste", k);
469
+ }), E(() => {
470
+ window.removeEventListener("paste", k);
471
+ }), (s, u) => (c(), d("div", be, [b(y(T), {
472
+ ref_key: "uploadRef",
473
+ ref: r,
474
+ "list-type": "picture",
475
+ "file-list": l.value,
476
+ "show-upload-list": !0,
477
+ "show-file-list": !0,
478
+ "image-preview": !0,
479
+ accept: "image/*",
480
+ "custom-request": p
481
+ }, null, 8, ["file-list"])]));
482
+ }
483
+ }), Ee = /* @__PURE__ */ _(ye, [["__scopeId", "data-v-6e05fe02"]]), ge = {
484
+ class: "operate-wrapper"
485
+ }, he = {
486
+ class: "operate-item"
487
+ }, _e = {
488
+ class: "icon"
489
+ }, $e = {
490
+ class: "title"
491
+ }, Se = {
492
+ class: "feedback-info"
493
+ }, we = {
494
+ key: 0,
495
+ class: "feedback-count"
496
+ }, Ce = /* @__PURE__ */ f({
497
+ __name: "FeedbackFeedBackItem",
498
+ props: {
499
+ title: {
500
+ type: String,
501
+ required: !0
502
+ },
503
+ icon: {
504
+ type: String,
505
+ required: !0
506
+ },
507
+ extra: {
508
+ type: String,
509
+ required: !1,
510
+ default: () => ""
511
+ }
512
+ },
513
+ setup(e) {
514
+ const t = e;
515
+ return (n, o) => (c(), d("div", ge, [a("div", he, [a("div", _e, [b(y(A), {
516
+ icon: t.icon
517
+ }, null, 8, ["icon"])]), a("p", $e, g(t.title), 1)]), a("div", Se, [e.extra ? (c(), d("span", we, g(e.extra), 1)) : W("", !0)])]));
518
+ }
519
+ }), We = /* @__PURE__ */ _(Ce, [["__scopeId", "data-v-9f855d41"]]);
520
+ export {
521
+ Me as F,
522
+ De as a,
523
+ We as b,
524
+ ce as c,
525
+ Ee as d
526
+ };