@huyooo/ui 0.8.0 → 0.8.1

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 (46) hide show
  1. package/dist/{AuthkitAuthModal-CX6-EB-D.js → AuthkitAuthModal-DPf1AlaQ.js} +363 -354
  2. package/dist/{AuthkitSignInPhone-D3hR0dGZ.js → AuthkitSignInPhone-CWzkKKL0.js} +4 -4
  3. package/dist/{Clipboard-CI4IUrMw.js → Clipboard-D9v7JOBm.js} +14 -13
  4. package/dist/{Contact-mQa-gB4k.js → Contact-ytZiAQRw.js} +3 -3
  5. package/dist/{CustomTable-D8ubfrWL.js → CustomTable-BCOwLyRJ.js} +2 -2
  6. package/dist/{FeedbackItem-qaxaQ8gu.js → FeedbackItem-i0oANWbH.js} +4 -4
  7. package/dist/{FeedbackModal-CUSOWVn5.js → FeedbackModal-DHWN4Jhy.js} +6 -6
  8. package/dist/{LandingPageSectionTabs-BOX6nVdh.js → LandingPageSectionTabs-DYNXKElT.js} +2 -2
  9. package/dist/{MessageHandle-WcCeYl7E.js → MessageHandle-42tZkEyh.js} +3 -3
  10. package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BwZM2SQn.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-Dt5A9Six.js} +2 -2
  11. package/dist/{PaySubscriptions-DO2W3Y5v.js → PaySubscriptions-CX3DhX82.js} +4 -4
  12. package/dist/{ReferrerReferees-CXVi2pUl.js → ReferrerReferees-CdAsYLZl.js} +17 -17
  13. package/dist/{Upload.vue_vue_type_script_setup_true_lang-CY_Pk57x.js → Upload.vue_vue_type_script_setup_true_lang-7AFuqo0A.js} +2 -2
  14. package/dist/{UserAccountMenu-CHkdka0u.js → UserAccountMenu-DBVdpUn8.js} +8 -8
  15. package/dist/{WidthContainer-BBoIS50Z.js → WidthContainer-CFNPAWZ8.js} +10 -10
  16. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  17. package/dist/apiClients-myKy30Xh.js +167 -0
  18. package/dist/authkit.js +6 -6
  19. package/dist/common/globalConfig.d.ts +2 -2
  20. package/dist/common.js +2 -2
  21. package/dist/composables.js +9 -9
  22. package/dist/feedback.js +3 -3
  23. package/dist/{index-4_tj9bS1.js → index-Bb-d5pBq.js} +1 -1
  24. package/dist/index.js +26 -26
  25. package/dist/landingPage.js +1 -1
  26. package/dist/message.js +3 -3
  27. package/dist/pay.js +1 -1
  28. package/dist/privateCom.js +1 -1
  29. package/dist/referrer.js +1 -1
  30. package/dist/style.css +1 -1
  31. package/dist/types/api/auth.generated.d.ts +822 -594
  32. package/dist/types/api/billing.generated.d.ts +72 -0
  33. package/dist/types/api/ones.generated.d.ts +0 -379
  34. package/dist/upload.js +2 -2
  35. package/dist/{useAuthkitAppsAuthPageInfo-gn2zm_NY.js → useAuthkitAppsAuthPageInfo-Bb7RIaTy.js} +1 -1
  36. package/dist/{useAuthkitCreateAndUpdate-yNpIyVXV.js → useAuthkitCreateAndUpdate-DXdMyzQQ.js} +2 -2
  37. package/dist/{useAuthkitUsersProfile-D32zPSn2.js → useAuthkitUsersProfile-4plbUlY5.js} +1 -1
  38. package/dist/{useDownloads-MF9rK9J_.js → useDownloads-gcrEJA6i.js} +2 -2
  39. package/dist/{useMessageNotifications-CCfM6W6J.js → useMessageNotifications-Bph752i8.js} +1 -1
  40. package/dist/{useSEO-DivOwPWc.js → useSEO-D1NT53Rv.js} +2 -2
  41. package/dist/{useTableHandle-DpemWl6Y.js → useTableHandle-DrYIPjL5.js} +2 -2
  42. package/dist/{useUploadCos-BVvRc0BW.js → useUploadCos-F3oBTo2B.js} +2 -2
  43. package/dist/user.js +1 -1
  44. package/package.json +1 -1
  45. package/dist/apiClients-CChPISR0.js +0 -1805
  46. package/dist/index-96pA3ONI.js +0 -30
@@ -242,6 +242,26 @@ export type Api = {
242
242
  return: any;
243
243
  };
244
244
  };
245
+ count: {
246
+ /** 供其他服务查询用户订阅数量 */
247
+ post: {
248
+ body: {
249
+ userId: string;
250
+ appId?: string;
251
+ };
252
+ return: any;
253
+ };
254
+ };
255
+ countBatch: {
256
+ /** 供其他服务批量查询用户订阅数量 */
257
+ post: {
258
+ body: {
259
+ userIds: string[];
260
+ appId?: string;
261
+ };
262
+ return: any;
263
+ };
264
+ };
245
265
  };
246
266
  quotas: {
247
267
  create: {
@@ -492,6 +512,28 @@ export type Api = {
492
512
  return: any;
493
513
  };
494
514
  };
515
+ stats: {
516
+ /** 供其他服务查询发票统计数据 */
517
+ post: {
518
+ body: {
519
+ appId: string;
520
+ userIds: string[];
521
+ status?: string;
522
+ };
523
+ return: any;
524
+ };
525
+ };
526
+ statsByUser: {
527
+ /** 供其他服务按用户分组查询发票统计 */
528
+ post: {
529
+ body: {
530
+ appId: string;
531
+ userIds: string[];
532
+ status?: string;
533
+ };
534
+ return: any;
535
+ };
536
+ };
495
537
  };
496
538
  points: {
497
539
  account: {
@@ -1287,6 +1329,20 @@ export interface ApiClient {
1287
1329
  };
1288
1330
  }, config?: RequestConfig) => Promise<ApiResponse<any>>;
1289
1331
  };
1332
+ count: {
1333
+ /** 供其他服务查询用户订阅数量 */
1334
+ post: (body: {
1335
+ userId: string;
1336
+ appId?: string;
1337
+ }, config?: RequestConfig) => Promise<ApiResponse<any>>;
1338
+ };
1339
+ countBatch: {
1340
+ /** 供其他服务批量查询用户订阅数量 */
1341
+ post: (body: {
1342
+ userIds: string[];
1343
+ appId?: string;
1344
+ }, config?: RequestConfig) => Promise<ApiResponse<any>>;
1345
+ };
1290
1346
  };
1291
1347
  quotas: {
1292
1348
  create: {
@@ -1478,6 +1534,22 @@ export interface ApiClient {
1478
1534
  granularity: "day" | "week" | "month" | "year";
1479
1535
  }, config?: RequestConfig) => Promise<ApiResponse<any>>;
1480
1536
  };
1537
+ stats: {
1538
+ /** 供其他服务查询发票统计数据 */
1539
+ post: (body: {
1540
+ appId: string;
1541
+ userIds: string[];
1542
+ status?: string;
1543
+ }, config?: RequestConfig) => Promise<ApiResponse<any>>;
1544
+ };
1545
+ statsByUser: {
1546
+ /** 供其他服务按用户分组查询发票统计 */
1547
+ post: (body: {
1548
+ appId: string;
1549
+ userIds: string[];
1550
+ status?: string;
1551
+ }, config?: RequestConfig) => Promise<ApiResponse<any>>;
1552
+ };
1481
1553
  };
1482
1554
  points: {
1483
1555
  account: {
@@ -270,121 +270,6 @@ export type Api = {
270
270
  };
271
271
  };
272
272
  };
273
- organizations: {
274
- create: {
275
- /** 创建新的组织 */
276
- post: {
277
- body: {
278
- name: string;
279
- domain: string;
280
- email: string;
281
- };
282
- return: any;
283
- };
284
- };
285
- delete: {
286
- /** 删除指定组织 */
287
- post: {
288
- body: {
289
- id: string;
290
- };
291
- return: any;
292
- };
293
- };
294
- update: {
295
- /** 更新组织信息 */
296
- post: {
297
- body: {
298
- id: string;
299
- name: string;
300
- domain: string;
301
- email: string;
302
- };
303
- return: any;
304
- };
305
- };
306
- find: {
307
- /** 分页查询组织列表 */
308
- post: {
309
- body: {
310
- current: number;
311
- pageSize: number;
312
- where: {
313
- name?: string;
314
- domain?: string;
315
- email?: string;
316
- };
317
- };
318
- return: any;
319
- };
320
- };
321
- findAll: {
322
- /** 查询用户所有组织 */
323
- post: {
324
- return: any;
325
- };
326
- };
327
- findOne: {
328
- /** 根据 ID 查询组织详情 */
329
- post: {
330
- body: {
331
- id: string;
332
- };
333
- return: any;
334
- };
335
- };
336
- addApp: {
337
- /** 将应用关联到组织 */
338
- post: {
339
- body: {
340
- organizationId: string;
341
- appId: string;
342
- };
343
- return: any;
344
- };
345
- };
346
- addMember: {
347
- /** 添加用户到组织 */
348
- post: {
349
- body: {
350
- organizationId: string;
351
- userId: string;
352
- role?: "admin" | "member";
353
- };
354
- return: any;
355
- };
356
- };
357
- removeMember: {
358
- /** 从组织中移除用户 */
359
- post: {
360
- body: {
361
- organizationId: string;
362
- userId: string;
363
- };
364
- return: any;
365
- };
366
- };
367
- updateMemberRole: {
368
- /** 更新组织成员的角色 */
369
- post: {
370
- body: {
371
- organizationId: string;
372
- userId: string;
373
- role: "admin" | "member";
374
- };
375
- return: any;
376
- };
377
- };
378
- getMembers: {
379
- /** 获取指定组织的成员列表 */
380
- post: {
381
- body: {
382
- organizationId: string;
383
- };
384
- return: any;
385
- };
386
- };
387
- };
388
273
  messageCenter: {
389
274
  messageNotifications: {
390
275
  create: {
@@ -1500,111 +1385,6 @@ export type Api = {
1500
1385
  };
1501
1386
  };
1502
1387
  };
1503
- referrer: {
1504
- find: {
1505
- /** 分页查询推荐人列表 */
1506
- post: {
1507
- body: {
1508
- current: number;
1509
- pageSize: number;
1510
- where: {
1511
- referrerEmail?: string;
1512
- referrerPhone?: string;
1513
- };
1514
- };
1515
- return: any;
1516
- };
1517
- };
1518
- findOne: {
1519
- /** 根据 ID 查询推荐人详情 */
1520
- post: {
1521
- body: {
1522
- id: string;
1523
- };
1524
- return: any;
1525
- };
1526
- };
1527
- referees: {
1528
- /** 查询推荐人邀请的用户列表 */
1529
- post: {
1530
- body: {
1531
- current: number;
1532
- pageSize: number;
1533
- };
1534
- return: any;
1535
- };
1536
- };
1537
- delete: {
1538
- /** 删除推荐记录 */
1539
- post: {
1540
- body: {
1541
- id: string;
1542
- };
1543
- return: any;
1544
- };
1545
- };
1546
- getReferrerStatistics: {
1547
- /** 获取推荐统计数据 */
1548
- post: {
1549
- return: any;
1550
- };
1551
- };
1552
- getReferralCountChart: {
1553
- /** 获取推荐数量趋势图表 */
1554
- post: {
1555
- body: {
1556
- startTime: string;
1557
- endTime: string;
1558
- granularity: "minute" | "hour" | "day" | "month" | "year";
1559
- };
1560
- return: any;
1561
- };
1562
- };
1563
- getReferralConversionChart: {
1564
- /** 获取推荐转化率趋势图表 */
1565
- post: {
1566
- body: {
1567
- startTime: string;
1568
- endTime: string;
1569
- granularity: "minute" | "hour" | "day" | "month" | "year";
1570
- };
1571
- return: any;
1572
- };
1573
- };
1574
- getAvgReferralsChart: {
1575
- /** 获取平均推荐数趋势图表 */
1576
- post: {
1577
- body: {
1578
- startTime: string;
1579
- endTime: string;
1580
- granularity: "minute" | "hour" | "day" | "month" | "year";
1581
- };
1582
- return: any;
1583
- };
1584
- };
1585
- getReferralOrderAmountChart: {
1586
- /** 获取推荐订单金额趋势图表 */
1587
- post: {
1588
- body: {
1589
- startTime: string;
1590
- endTime: string;
1591
- granularity: "minute" | "hour" | "day" | "month" | "year";
1592
- };
1593
- return: any;
1594
- };
1595
- };
1596
- getReferralOrderCountChart: {
1597
- /** 获取推荐订单数量趋势图表 */
1598
- post: {
1599
- body: {
1600
- startTime: string;
1601
- endTime: string;
1602
- granularity: "minute" | "hour" | "day" | "month" | "year";
1603
- };
1604
- return: any;
1605
- };
1606
- };
1607
- };
1608
1388
  docs: {
1609
1389
  create: {
1610
1390
  /** 创建新文档 */
@@ -3363,89 +3143,6 @@ export interface ApiClient {
3363
3143
  post: (config?: RequestConfig) => Promise<ApiResponse<any>>;
3364
3144
  };
3365
3145
  };
3366
- organizations: {
3367
- create: {
3368
- /** 创建新的组织 */
3369
- post: (body: {
3370
- name: string;
3371
- domain: string;
3372
- email: string;
3373
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
3374
- };
3375
- delete: {
3376
- /** 删除指定组织 */
3377
- post: (body: {
3378
- id: string;
3379
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
3380
- };
3381
- update: {
3382
- /** 更新组织信息 */
3383
- post: (body: {
3384
- id: string;
3385
- name: string;
3386
- domain: string;
3387
- email: string;
3388
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
3389
- };
3390
- find: {
3391
- /** 分页查询组织列表 */
3392
- post: (body: {
3393
- current: number;
3394
- pageSize: number;
3395
- where: {
3396
- name?: string;
3397
- domain?: string;
3398
- email?: string;
3399
- };
3400
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
3401
- };
3402
- findAll: {
3403
- /** 查询用户所有组织 */
3404
- post: (config?: RequestConfig) => Promise<ApiResponse<any>>;
3405
- };
3406
- findOne: {
3407
- /** 根据 ID 查询组织详情 */
3408
- post: (body: {
3409
- id: string;
3410
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
3411
- };
3412
- addApp: {
3413
- /** 将应用关联到组织 */
3414
- post: (body: {
3415
- organizationId: string;
3416
- appId: string;
3417
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
3418
- };
3419
- addMember: {
3420
- /** 添加用户到组织 */
3421
- post: (body: {
3422
- organizationId: string;
3423
- userId: string;
3424
- role?: "admin" | "member";
3425
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
3426
- };
3427
- removeMember: {
3428
- /** 从组织中移除用户 */
3429
- post: (body: {
3430
- organizationId: string;
3431
- userId: string;
3432
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
3433
- };
3434
- updateMemberRole: {
3435
- /** 更新组织成员的角色 */
3436
- post: (body: {
3437
- organizationId: string;
3438
- userId: string;
3439
- role: "admin" | "member";
3440
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
3441
- };
3442
- getMembers: {
3443
- /** 获取指定组织的成员列表 */
3444
- post: (body: {
3445
- organizationId: string;
3446
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
3447
- };
3448
- };
3449
3146
  messageCenter: {
3450
3147
  messageNotifications: {
3451
3148
  create: {
@@ -4283,82 +3980,6 @@ export interface ApiClient {
4283
3980
  }, config?: RequestConfig) => Promise<ApiResponse<any>>;
4284
3981
  };
4285
3982
  };
4286
- referrer: {
4287
- find: {
4288
- /** 分页查询推荐人列表 */
4289
- post: (body: {
4290
- current: number;
4291
- pageSize: number;
4292
- where: {
4293
- referrerEmail?: string;
4294
- referrerPhone?: string;
4295
- };
4296
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
4297
- };
4298
- findOne: {
4299
- /** 根据 ID 查询推荐人详情 */
4300
- post: (body: {
4301
- id: string;
4302
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
4303
- };
4304
- referees: {
4305
- /** 查询推荐人邀请的用户列表 */
4306
- post: (body: {
4307
- current: number;
4308
- pageSize: number;
4309
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
4310
- };
4311
- delete: {
4312
- /** 删除推荐记录 */
4313
- post: (body: {
4314
- id: string;
4315
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
4316
- };
4317
- getReferrerStatistics: {
4318
- /** 获取推荐统计数据 */
4319
- post: (config?: RequestConfig) => Promise<ApiResponse<any>>;
4320
- };
4321
- getReferralCountChart: {
4322
- /** 获取推荐数量趋势图表 */
4323
- post: (body: {
4324
- startTime: string;
4325
- endTime: string;
4326
- granularity: "minute" | "hour" | "day" | "month" | "year";
4327
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
4328
- };
4329
- getReferralConversionChart: {
4330
- /** 获取推荐转化率趋势图表 */
4331
- post: (body: {
4332
- startTime: string;
4333
- endTime: string;
4334
- granularity: "minute" | "hour" | "day" | "month" | "year";
4335
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
4336
- };
4337
- getAvgReferralsChart: {
4338
- /** 获取平均推荐数趋势图表 */
4339
- post: (body: {
4340
- startTime: string;
4341
- endTime: string;
4342
- granularity: "minute" | "hour" | "day" | "month" | "year";
4343
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
4344
- };
4345
- getReferralOrderAmountChart: {
4346
- /** 获取推荐订单金额趋势图表 */
4347
- post: (body: {
4348
- startTime: string;
4349
- endTime: string;
4350
- granularity: "minute" | "hour" | "day" | "month" | "year";
4351
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
4352
- };
4353
- getReferralOrderCountChart: {
4354
- /** 获取推荐订单数量趋势图表 */
4355
- post: (body: {
4356
- startTime: string;
4357
- endTime: string;
4358
- granularity: "minute" | "hour" | "day" | "month" | "year";
4359
- }, config?: RequestConfig) => Promise<ApiResponse<any>>;
4360
- };
4361
- };
4362
3983
  docs: {
4363
3984
  create: {
4364
3985
  /** 创建新文档 */
package/dist/upload.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as p } from "./Upload.vue_vue_type_script_setup_true_lang-CY_Pk57x.js";
2
- import { u as s } from "./useUploadCos-BVvRc0BW.js";
1
+ import { _ as p } from "./Upload.vue_vue_type_script_setup_true_lang-7AFuqo0A.js";
2
+ import { u as s } from "./useUploadCos-F3oBTo2B.js";
3
3
  export {
4
4
  p as Upload,
5
5
  s as useUploadCos
@@ -1,5 +1,5 @@
1
1
  import { ref as n } from "vue";
2
- import { c as u } from "./apiClients-CChPISR0.js";
2
+ import { c as u } from "./apiClients-myKy30Xh.js";
3
3
  const e = n({
4
4
  id: "",
5
5
  appKey: "",
@@ -1,5 +1,5 @@
1
- import "./index-96pA3ONI.js";
2
- import "./apiClients-CChPISR0.js";
1
+ /* empty css */
2
+ import "./apiClients-myKy30Xh.js";
3
3
  import { Message as u } from "@arco-design/web-vue";
4
4
  import { ref as e } from "vue";
5
5
  function h(s) {
@@ -1,5 +1,5 @@
1
1
  import { ref as t, readonly as P, computed as U } from "vue";
2
- import { c as d } from "./apiClients-CChPISR0.js";
2
+ import { c as d } from "./apiClients-myKy30Xh.js";
3
3
  const u = t("signIn"), p = [], v = [], m = [], s = t(null);
4
4
  function I() {
5
5
  try {
@@ -1,5 +1,5 @@
1
- import "./index-96pA3ONI.js";
2
- import "./apiClients-CChPISR0.js";
1
+ /* empty css */
2
+ import "./apiClients-myKy30Xh.js";
3
3
  import { Message as v } from "@arco-design/web-vue";
4
4
  import { ref as n } from "vue";
5
5
  function g(l) {
@@ -1,5 +1,5 @@
1
1
  import { ref as a, computed as L } from "vue";
2
- import { o as c } from "./apiClients-CChPISR0.js";
2
+ import { o as c } from "./apiClients-myKy30Xh.js";
3
3
  function S(f = "system") {
4
4
  const n = a(!0), d = a(""), i = a(!1), g = a(!1), o = a([]), t = a({
5
5
  total: 0,
@@ -1,7 +1,7 @@
1
1
  import { ref as I, computed as d, watch as V, toValue as G, isRef as B, hasInjectionContext as F, inject as J, watchEffect as Q, getCurrentInstance as Z, onBeforeUnmount as X, onDeactivated as Y, onActivated as ee } from "vue";
2
2
  import { useRouter as x, useRoute as R } from "vue-router";
3
- import { u as U } from "./useAuthkitAppsAuthPageInfo-gn2zm_NY.js";
4
- import { a as D } from "./useAuthkitUsersProfile-D32zPSn2.js";
3
+ import { u as U } from "./useAuthkitAppsAuthPageInfo-Bb7RIaTy.js";
4
+ import { a as D } from "./useAuthkitUsersProfile-4plbUlY5.js";
5
5
  const v = I({
6
6
  key: "",
7
7
  name: ""
@@ -1,5 +1,5 @@
1
- import "./index-96pA3ONI.js";
2
- import "./apiClients-CChPISR0.js";
1
+ /* empty css */
2
+ import "./apiClients-myKy30Xh.js";
3
3
  import { Message as O } from "@arco-design/web-vue";
4
4
  import { ref as t } from "vue";
5
5
  function A(r) {
@@ -1,5 +1,5 @@
1
- import { c as It, g as Ft } from "./index-96pA3ONI.js";
2
- import { o as at } from "./apiClients-CChPISR0.js";
1
+ import { c as It, g as Ft } from "./_commonjsHelpers-DaMA6jEr.js";
2
+ import { o as at } from "./apiClients-myKy30Xh.js";
3
3
  var At = { exports: {} };
4
4
  (function(He, ct) {
5
5
  (function(se, E) {
package/dist/user.js CHANGED
@@ -1,4 +1,4 @@
1
- import { d as r, U as e, a as n, b as o, c as t, S as U } from "./UserAccountMenu-CHkdka0u.js";
1
+ import { d as r, U as e, a as n, b as o, c as t, S as U } from "./UserAccountMenu-DBVdpUn8.js";
2
2
  export {
3
3
  r as UserAccountMenu,
4
4
  e as UserAvatar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huyooo/ui",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [