@huyooo/ui 0.4.55 → 0.4.57

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.
@@ -0,0 +1,42 @@
1
+ import { defineComponent as d, createElementBlock as u, openBlock as _, Fragment as p, createElementVNode as e, renderSlot as v, toDisplayString as i, unref as s, createVNode as f } from "vue";
2
+ import { Icon as k } from "@iconify/vue";
3
+ import { a as h } from "./useAuthkitUsersProfile-CT2MN1S5.js";
4
+ import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ const A = {
6
+ class: "avatar"
7
+ }, M = {
8
+ class: "meta"
9
+ }, S = {
10
+ class: "name"
11
+ }, g = {
12
+ class: "email"
13
+ }, w = {
14
+ class: "arrow"
15
+ }, x = /* @__PURE__ */ d({
16
+ __name: "UserAccountMenu",
17
+ emits: ["click"],
18
+ setup(B, {
19
+ emit: a
20
+ }) {
21
+ const {
22
+ userProfile: t
23
+ } = h(), l = a;
24
+ function m(o) {
25
+ l("click", o);
26
+ }
27
+ return (o, n) => {
28
+ var c, r;
29
+ return _(), u(p, null, [e("div", {
30
+ class: "UserAccountMenu",
31
+ onClick: m
32
+ }, [e("div", A, [v(o.$slots, "avatar", {}, void 0, !0)]), e("div", M, [e("div", S, i(((c = s(t)) == null ? void 0 : c.nickname) || ""), 1), e("div", g, i(((r = s(t)) == null ? void 0 : r.email) || ""), 1)]), e("div", w, [f(s(k), {
33
+ icon: "lucide:chevrons-up-down"
34
+ })])]), n[0] || (n[0] = e("div", {
35
+ class: "UserAccountMenuSpacer"
36
+ }, null, -1))], 64);
37
+ };
38
+ }
39
+ }), P = /* @__PURE__ */ U(x, [["__scopeId", "data-v-3871b2e4"]]);
40
+ export {
41
+ P as U
42
+ };
@@ -0,0 +1,576 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ import { defineComponent as S, createElementBlock as y, openBlock as l, normalizeStyle as F, normalizeClass as q, createElementVNode as f, computed as U, createBlock as g, createCommentVNode as D, createVNode as i, unref as o, withCtx as s, createTextVNode as m, toDisplayString as C, mergeModels as V, useModel as E, renderSlot as _e, ref as d, Fragment as Se } from "vue";
6
+ import { Tag as be, Button as K, Avatar as T, Dropdown as Ce, Divider as W, Doption as _ } from "@arco-design/web-vue";
7
+ import { S as Ie } from "./PaySubscriptions-B42IdT-5.js";
8
+ import { R as $e } from "./ReferrerReferees-CvuUodDZ.js";
9
+ import { a as X, u as we } from "./useAuthkitUsersProfile-CT2MN1S5.js";
10
+ import { u as he } from "./useAuthkitAuthModal-C153ZpNb.js";
11
+ import { a as xe, b as Be } from "./AuthkitAppSetting-D7k_8buM.js";
12
+ import { d as Me } from "./FeedbackModal-D7tjJLBj.js";
13
+ import { M as Ue } from "./MessageHandle-Dt6rb0rg.js";
14
+ /* empty css */
15
+ /* empty css */
16
+ import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ /* empty css */
18
+ import { I as w } from "./index-Cr5RQSnA.js";
19
+ import { _ as Y, g as G, i as J } from "./plugin-vue_export-helper-LjDO2Zua.js";
20
+ const Ve = S({
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: t
48
+ }) {
49
+ const n = G("icon"), a = U(() => [n, `${n}-export`, {
50
+ [`${n}-spin`]: e.spin
51
+ }]), c = U(() => {
52
+ const r = {};
53
+ return e.size && (r.fontSize = J(e.size) ? `${e.size}px` : e.size), e.rotate && (r.transform = `rotate(${e.rotate}deg)`), r;
54
+ });
55
+ return {
56
+ cls: a,
57
+ innerStyle: c,
58
+ onClick: (r) => {
59
+ t("click", r);
60
+ }
61
+ };
62
+ }
63
+ }), De = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
64
+ function Pe(e, t, n, a, c, k) {
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: q(e.cls),
71
+ style: F(e.innerStyle),
72
+ "stroke-width": e.strokeWidth,
73
+ "stroke-linecap": e.strokeLinecap,
74
+ "stroke-linejoin": e.strokeLinejoin,
75
+ onClick: t[0] || (t[0] = (...r) => e.onClick && e.onClick(...r))
76
+ }, t[1] || (t[1] = [f("path", {
77
+ d: "M31.928 33.072 41 24.002l-9.072-9.072M16.858 24h24M31 41H7V7h24"
78
+ }, null, -1)]), 14, De);
79
+ }
80
+ var R = /* @__PURE__ */ Y(Ve, [["render", Pe]]);
81
+ const Ae = Object.assign(R, {
82
+ install: (e, t) => {
83
+ var n;
84
+ const a = (n = t == null ? void 0 : t.iconPrefix) != null ? n : "";
85
+ e.component(a + R.name, R);
86
+ }
87
+ }), Re = S({
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: t
115
+ }) {
116
+ const n = G("icon"), a = U(() => [n, `${n}-launch`, {
117
+ [`${n}-spin`]: e.spin
118
+ }]), c = U(() => {
119
+ const r = {};
120
+ return e.size && (r.fontSize = J(e.size) ? `${e.size}px` : e.size), e.rotate && (r.transform = `rotate(${e.rotate}deg)`), r;
121
+ });
122
+ return {
123
+ cls: a,
124
+ innerStyle: c,
125
+ onClick: (r) => {
126
+ t("click", r);
127
+ }
128
+ };
129
+ }
130
+ }), ze = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
131
+ function Ne(e, t, n, a, c, k) {
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: q(e.cls),
138
+ style: F(e.innerStyle),
139
+ "stroke-width": e.strokeWidth,
140
+ "stroke-linecap": e.strokeLinecap,
141
+ "stroke-linejoin": e.strokeLinejoin,
142
+ onClick: t[0] || (t[0] = (...r) => e.onClick && e.onClick(...r))
143
+ }, t[1] || (t[1] = [f("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, ze);
146
+ }
147
+ var z = /* @__PURE__ */ Y(Re, [["render", Ne]]);
148
+ const Le = Object.assign(z, {
149
+ install: (e, t) => {
150
+ var n;
151
+ const a = (n = t == null ? void 0 : t.iconPrefix) != null ? n : "";
152
+ e.component(a + z.name, z);
153
+ }
154
+ }), Oe = {
155
+ class: "pricing"
156
+ }, je = {
157
+ class: "base"
158
+ }, He = {
159
+ class: "pricingInfo"
160
+ }, Fe = /* @__PURE__ */ S({
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: t
179
+ }) {
180
+ const n = e, a = t;
181
+ function c() {
182
+ a("upgradeHandle");
183
+ }
184
+ return (k, r) => (l(), y("div", Oe, [f("div", je, [f("div", He, [r[0] || (r[0] = f("span", null, "我的订阅:", -1)), i(o(be), {
185
+ color: "arcoblue",
186
+ style: {
187
+ "border-radius": "6px"
188
+ }
189
+ }, {
190
+ default: s(() => [m(C(n.currentVersionName), 1)]),
191
+ _: 1
192
+ })]), n.canUpgrade ? (l(), g(o(K), {
193
+ key: 0,
194
+ type: "primary",
195
+ size: "mini",
196
+ class: "updatePricing",
197
+ onClick: c
198
+ }, {
199
+ default: s(() => r[1] || (r[1] = [m(" 升级 ")])),
200
+ _: 1,
201
+ __: [1]
202
+ })) : D("", !0)]), f("span", null, "有效期至: " + C(n.expireDate), 1)]));
203
+ }
204
+ }), qe = /* @__PURE__ */ h(Fe, [["__scopeId", "data-v-1e32fa72"]]), Ee = {
205
+ class: "userInfo"
206
+ }, Ke = {
207
+ key: 0,
208
+ class: "userName"
209
+ }, Te = /* @__PURE__ */ S({
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 t = e;
223
+ return (n, a) => (l(), y("div", Ee, [t.nickname ? (l(), y("span", Ke, C(t.nickname), 1)) : D("", !0), i(o(T), {
224
+ "image-url": t.avatar,
225
+ size: 32,
226
+ "object-fit": "cover"
227
+ }, null, 8, ["image-url"])]));
228
+ }
229
+ }), We = /* @__PURE__ */ h(Te, [["__scopeId", "data-v-a7a47cc4"]]), Xe = {
230
+ class: "userInfo"
231
+ }, Ye = {
232
+ class: "extra"
233
+ }, Ge = {
234
+ class: "userName"
235
+ }, Je = {
236
+ class: "email"
237
+ }, Qe = {
238
+ key: 0,
239
+ class: "referrerId"
240
+ }, Ze = /* @__PURE__ */ S({
241
+ __name: "UserBasicInformation",
242
+ props: {
243
+ nickname: {
244
+ type: String,
245
+ default: ""
246
+ },
247
+ email: {
248
+ type: String,
249
+ default: ""
250
+ },
251
+ avatarUrl: {
252
+ type: String,
253
+ default: ""
254
+ },
255
+ referrerId: {
256
+ type: String,
257
+ default: ""
258
+ }
259
+ },
260
+ setup(e) {
261
+ const t = e;
262
+ return (n, a) => (l(), y("div", Xe, [i(o(T), {
263
+ "image-url": t.avatarUrl,
264
+ size: 42,
265
+ "object-fit": "cover"
266
+ }, null, 8, ["image-url"]), f("div", Ye, [f("span", Ge, C(t.nickname), 1), f("span", Je, C(t.email), 1), t.referrerId ? (l(), y("span", Qe, " 邀请码:" + C(t.referrerId), 1)) : D("", !0)])]));
267
+ }
268
+ }), et = /* @__PURE__ */ h(Ze, [["__scopeId", "data-v-367449da"]]), tt = {
269
+ class: "dropdownContent"
270
+ }, nt = {
271
+ class: "header"
272
+ }, ot = /* @__PURE__ */ S({
273
+ __name: "UserButton",
274
+ props: /* @__PURE__ */ V({
275
+ position: {
276
+ default: "bl"
277
+ },
278
+ dropdownOffsetX: {
279
+ default: "0"
280
+ },
281
+ dropdownOffsetY: {
282
+ default: "0"
283
+ }
284
+ }, {
285
+ modelValue: {
286
+ type: Boolean,
287
+ default: !1
288
+ },
289
+ modelModifiers: {}
290
+ }),
291
+ emits: /* @__PURE__ */ V(["enterSystem", "toSignIn"], ["update:modelValue"]),
292
+ setup(e, {
293
+ emit: t
294
+ }) {
295
+ const n = e, a = t, {
296
+ userProfile: c,
297
+ isLoggedIn: k
298
+ } = X();
299
+ function r() {
300
+ a("toSignIn");
301
+ }
302
+ const I = E(e, "modelValue");
303
+ return (P, p) => o(k) ? (l(), g(o(Ce), {
304
+ key: 1,
305
+ popupVisible: I.value,
306
+ "onUpdate:popupVisible": p[0] || (p[0] = (v) => I.value = v),
307
+ class: "DropdownUserInfo",
308
+ position: n.position,
309
+ "popup-style": {
310
+ "--dropdown-translate-x": n.dropdownOffsetX ?? "0",
311
+ "--dropdown-translate-y": n.dropdownOffsetY ?? "0"
312
+ }
313
+ }, {
314
+ content: s(() => {
315
+ var v, x, B, $;
316
+ return [f("div", tt, [f("div", nt, [i(et, {
317
+ "avatar-url": (v = o(c)) == null ? void 0 : v.avatarUrl,
318
+ nickname: (x = o(c)) == null ? void 0 : x.nickname,
319
+ email: (B = o(c)) == null ? void 0 : B.email,
320
+ "referrer-id": ($ = o(c)) == null ? void 0 : $.referrerId
321
+ }, null, 8, ["avatar-url", "nickname", "email", "referrer-id"]), i(qe, {
322
+ currentVersionName: "免费版本",
323
+ "expire-date": "2025-01-01",
324
+ "can-upgrade": !0
325
+ })]), i(o(W), {
326
+ style: {
327
+ margin: "10px 0px"
328
+ }
329
+ }), _e(P.$slots, "DoptionList", {}, void 0, !0)])];
330
+ }),
331
+ default: s(() => {
332
+ var v;
333
+ return [i(We, {
334
+ avatar: (v = o(c)) == null ? void 0 : v.avatarUrl
335
+ }, null, 8, ["avatar"])];
336
+ }),
337
+ _: 3
338
+ }, 8, ["popupVisible", "position", "popup-style"])) : (l(), g(o(K), {
339
+ key: 0,
340
+ type: "primary",
341
+ class: "handle",
342
+ onClick: r
343
+ }, {
344
+ default: s(() => p[1] || (p[1] = [m(" 登陆 ")])),
345
+ _: 1,
346
+ __: [1]
347
+ }));
348
+ }
349
+ }), rt = /* @__PURE__ */ h(ot, [["__scopeId", "data-v-ba98c4bf"]]), it = {
350
+ class: "UserPanel"
351
+ }, st = /* @__PURE__ */ S({
352
+ __name: "UserPanel",
353
+ props: /* @__PURE__ */ V({
354
+ position: {
355
+ default: "bl"
356
+ },
357
+ dropdownOffsetX: {
358
+ default: "0"
359
+ },
360
+ dropdownOffsetY: {
361
+ default: "0"
362
+ }
363
+ }, {
364
+ modelValue: {
365
+ type: Boolean,
366
+ default: !1
367
+ },
368
+ modelModifiers: {}
369
+ }),
370
+ emits: /* @__PURE__ */ V(["toHomePage", "signOut", "signIn"], ["update:modelValue"]),
371
+ setup(e, {
372
+ emit: t
373
+ }) {
374
+ const n = e, a = d(), c = d(), k = d(Symbol("key")), r = t, {
375
+ fetchUserProfile: I,
376
+ clearUserProfile: P,
377
+ isLoggedIn: p
378
+ } = X(), {
379
+ addSignInCallback: v,
380
+ initializeAuth: x,
381
+ clearAuth: B
382
+ } = we();
383
+ x() && I();
384
+ const $ = d(), N = d(Symbol("key")), L = d(), O = d(), Q = d(Symbol("key")), Z = d(), ee = d(Symbol("key"));
385
+ function te(H) {
386
+ }
387
+ function ne(H) {
388
+ }
389
+ const {
390
+ show: oe
391
+ } = he(), j = E(e, "modelValue");
392
+ function re() {
393
+ N.value = Symbol("key");
394
+ }
395
+ const A = d(), M = d(Symbol("key"));
396
+ function ie() {
397
+ M.value = Symbol("key");
398
+ }
399
+ function se() {
400
+ M.value = Symbol("key");
401
+ }
402
+ function b() {
403
+ oe.value = !0, r("signIn");
404
+ }
405
+ v(() => {
406
+ I();
407
+ });
408
+ function ae() {
409
+ k.value = Symbol("key");
410
+ }
411
+ function le() {
412
+ c.value.show = !1;
413
+ }
414
+ function ue() {
415
+ M.value = Symbol("key");
416
+ }
417
+ function ce() {
418
+ A.value.setData(null, !0);
419
+ }
420
+ function de() {
421
+ if (!p.value) {
422
+ b();
423
+ return;
424
+ }
425
+ A.value.setData(null, !0);
426
+ }
427
+ function pe() {
428
+ if (!p.value) {
429
+ b();
430
+ return;
431
+ }
432
+ L.value.openNotification();
433
+ }
434
+ function fe() {
435
+ if (!p.value) {
436
+ b();
437
+ return;
438
+ }
439
+ O.value.setData(null, !0);
440
+ }
441
+ function me() {
442
+ if (!p.value) {
443
+ b();
444
+ return;
445
+ }
446
+ a.value.setData(!0);
447
+ }
448
+ function ke() {
449
+ if (!p.value) {
450
+ b();
451
+ return;
452
+ }
453
+ $.value.setData(!0);
454
+ }
455
+ function ve() {
456
+ r("toHomePage");
457
+ }
458
+ async function ye() {
459
+ P(), B(), r("signOut");
460
+ }
461
+ return (H, u) => (l(), y("div", it, [i(rt, {
462
+ modelValue: j.value,
463
+ "onUpdate:modelValue": u[0] || (u[0] = (ge) => j.value = ge),
464
+ position: n.position,
465
+ "dropdown-offset-x": n.dropdownOffsetX,
466
+ "dropdown-offset-y": n.dropdownOffsetY,
467
+ onToSignIn: b
468
+ }, {
469
+ DoptionList: s(() => [i(o(_), {
470
+ value: "messages",
471
+ class: "Doption",
472
+ onClick: pe
473
+ }, {
474
+ icon: s(() => u[1] || (u[1] = [m("消息中心")])),
475
+ default: s(() => [i(o(w))]),
476
+ _: 1
477
+ }), i(o(_), {
478
+ value: "setting",
479
+ class: "Doption",
480
+ onClick: de
481
+ }, {
482
+ icon: s(() => u[2] || (u[2] = [m("系统设置 ")])),
483
+ default: s(() => [i(o(w))]),
484
+ _: 1
485
+ }), i(o(_), {
486
+ value: "subscription",
487
+ class: "Doption",
488
+ onClick: fe
489
+ }, {
490
+ icon: s(() => u[3] || (u[3] = [m("订阅信息 ")])),
491
+ default: s(() => [i(o(w))]),
492
+ _: 1
493
+ }), i(o(_), {
494
+ value: "feedBack",
495
+ class: "Doption",
496
+ onClick: me
497
+ }, {
498
+ icon: s(() => u[4] || (u[4] = [m("系统反馈 ")])),
499
+ default: s(() => [i(o(w))]),
500
+ _: 1
501
+ }), i(o(_), {
502
+ value: "invitations",
503
+ class: "Doption",
504
+ onClick: ke
505
+ }, {
506
+ icon: s(() => u[5] || (u[5] = [m("邀请 ")])),
507
+ default: s(() => [i(o(w))]),
508
+ _: 1
509
+ }), i(o(W), {
510
+ style: {
511
+ margin: "10px 0px"
512
+ }
513
+ }), i(o(_), {
514
+ value: "homePage",
515
+ class: "Doption",
516
+ onClick: ve
517
+ }, {
518
+ icon: s(() => u[6] || (u[6] = [m("主页 ")])),
519
+ default: s(() => [i(o(Le))]),
520
+ _: 1
521
+ }), i(o(_), {
522
+ value: "signOut",
523
+ class: "Doption",
524
+ onClick: ye
525
+ }, {
526
+ icon: s(() => u[7] || (u[7] = [m("退出登陆 ")])),
527
+ default: s(() => [i(o(Ae))]),
528
+ _: 1
529
+ })]),
530
+ _: 1
531
+ }, 8, ["modelValue", "position", "dropdown-offset-x", "dropdown-offset-y"]), (l(), g(xe, {
532
+ ref_key: "AuthModalRef",
533
+ ref: Z,
534
+ key: ee.value,
535
+ size: "large",
536
+ onToPrivacyPolicy: te,
537
+ onToUserServiceAgreement: ne
538
+ })), o(p) ? (l(), y(Se, {
539
+ key: 0
540
+ }, [(l(), g(Be, {
541
+ ref_key: "AppSettingRef",
542
+ ref: A,
543
+ key: M.value,
544
+ onConfirm: ce,
545
+ onCancel: ue
546
+ })), (l(), g($e, {
547
+ ref_key: "RefereesRef",
548
+ ref: $,
549
+ key: N.value,
550
+ onCancel: re
551
+ })), (l(), g(Ie, {
552
+ ref_key: "SubscriptionsRef",
553
+ ref: O,
554
+ key: Q.value,
555
+ title: "订阅详情",
556
+ onConfirm: ie,
557
+ onCancel: se
558
+ })), i(Ue, {
559
+ ref_key: "MessageHandleRef",
560
+ ref: L
561
+ }, null, 512), (l(), g(Me, {
562
+ ref_key: "FeedBackModalRef",
563
+ ref: a,
564
+ key: k.value,
565
+ onConfirm: le,
566
+ onCancel: ae
567
+ }))], 64)) : D("", !0)]));
568
+ }
569
+ }), ht = /* @__PURE__ */ h(st, [["__scopeId", "data-v-4c4c85af"]]);
570
+ export {
571
+ qe as S,
572
+ ht as U,
573
+ rt as a,
574
+ We as b,
575
+ et as c
576
+ };
package/dist/common.js CHANGED
@@ -3,7 +3,7 @@ import { C as t, G as n, S as p, W as m } from "./WidthContainer-D795bWdT.js";
3
3
  import { C as i, E as l } from "./CustomTable-JflAYS8i.js";
4
4
  import { I as x } from "./MessageHandle-Dt6rb0rg.js";
5
5
  import { M as d, a as b } from "./Menu-Cxo8Rpu3.js";
6
- import { S as U, b as g, c as I, a as S, U as v } from "./UserPanel-BfwmCJ7B.js";
6
+ import { S as U, b as g, c as I, a as S, U as v } from "./UserPanel-02AaOgsx.js";
7
7
  import { S as B } from "./PaySubscriptions-B42IdT-5.js";
8
8
  import { R as M } from "./ReferrerReferees-CvuUodDZ.js";
9
9
  import { _ as H } from "./Upload.vue_vue_type_script_setup_true_lang-Bw3IlEUj.js";
@@ -0,0 +1,21 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ avatar?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: any;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ click: (...args: any[]) => void;
12
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
13
+ onClick?: ((...args: any[]) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -1,3 +1,11 @@
1
+ type __VLS_Props = {
2
+ position?: "tl" | "tr" | "bl" | "br" | "top" | "bottom" | "left" | "right" | "lt" | "lb" | "rt" | "rb";
3
+ dropdownOffsetX?: string;
4
+ dropdownOffsetY?: string;
5
+ };
6
+ type __VLS_PublicProps = {
7
+ modelValue?: boolean;
8
+ } & __VLS_Props;
1
9
  declare function __VLS_template(): {
2
10
  attrs: Partial<{}>;
3
11
  slots: {
@@ -7,13 +15,19 @@ declare function __VLS_template(): {
7
15
  rootEl: any;
8
16
  };
9
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
19
  enterSystem: (...args: any[]) => void;
12
20
  toSignIn: (...args: any[]) => void;
13
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
21
+ "update:modelValue": (value: boolean) => void;
22
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
24
  onEnterSystem?: ((...args: any[]) => any) | undefined;
15
25
  onToSignIn?: ((...args: any[]) => any) | undefined;
16
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
+ }>, {
27
+ position: "tl" | "tr" | "bl" | "br" | "top" | "bottom" | "left" | "right" | "lt" | "lb" | "rt" | "rb";
28
+ dropdownOffsetX: string;
29
+ dropdownOffsetY: string;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
32
  export default _default;
19
33
  type __VLS_WithTemplateSlots<T, S> = T & {