sa2kit 3.0.0 → 3.1.0

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 (198) hide show
  1. package/dist/ai/llm/ui/miniapp/index.d.mts +2 -2
  2. package/dist/ai/llm/ui/miniapp/index.d.ts +2 -2
  3. package/dist/ai/llm/ui/rn/index.d.mts +2 -2
  4. package/dist/ai/llm/ui/rn/index.d.ts +2 -2
  5. package/dist/ai/llm/ui/web/index.d.mts +3 -3
  6. package/dist/ai/llm/ui/web/index.d.ts +3 -3
  7. package/dist/analytics/index.d.mts +1 -1
  8. package/dist/analytics/index.d.ts +1 -1
  9. package/dist/{chunk-QP5N3ER6.js → chunk-3CSCIRQY.js} +5 -6
  10. package/dist/chunk-3CSCIRQY.js.map +1 -0
  11. package/dist/{chunk-RJP2BRJD.mjs → chunk-4OOANEJV.mjs} +2 -2
  12. package/dist/{chunk-RJP2BRJD.mjs.map → chunk-4OOANEJV.mjs.map} +1 -1
  13. package/dist/chunk-5FUAQLGC.mjs +14 -0
  14. package/dist/chunk-5FUAQLGC.mjs.map +1 -0
  15. package/dist/{chunk-S732H246.js → chunk-6PMXAK7F.js} +2 -2
  16. package/dist/{chunk-S732H246.js.map → chunk-6PMXAK7F.js.map} +1 -1
  17. package/dist/chunk-6YLCRWKM.mjs +8 -0
  18. package/dist/chunk-6YLCRWKM.mjs.map +1 -0
  19. package/dist/{chunk-IBWDBBX5.mjs → chunk-7B5SI4OF.mjs} +3 -4
  20. package/dist/chunk-7B5SI4OF.mjs.map +1 -0
  21. package/dist/chunk-EQXPL7TN.mjs +78 -0
  22. package/dist/chunk-EQXPL7TN.mjs.map +1 -0
  23. package/dist/{chunk-GQZHGSRR.js → chunk-GSNGCENJ.js} +39 -2
  24. package/dist/chunk-GSNGCENJ.js.map +1 -0
  25. package/dist/chunk-HQLKOXG7.js +16 -0
  26. package/dist/chunk-HQLKOXG7.js.map +1 -0
  27. package/dist/{chunk-S3PUP7N4.js → chunk-PA4ELVGI.js} +2 -2
  28. package/dist/{chunk-S3PUP7N4.js.map → chunk-PA4ELVGI.js.map} +1 -1
  29. package/dist/{chunk-WZDTNDYR.js → chunk-QSKLQX6H.js} +11 -11
  30. package/dist/{chunk-WZDTNDYR.js.map → chunk-QSKLQX6H.js.map} +1 -1
  31. package/dist/{chunk-LHJKLUM7.mjs → chunk-TNJ6LYX7.mjs} +2 -2
  32. package/dist/{chunk-LHJKLUM7.mjs.map → chunk-TNJ6LYX7.mjs.map} +1 -1
  33. package/dist/{chunk-J77KR2EV.mjs → chunk-WJ7IMUEJ.mjs} +3 -3
  34. package/dist/{chunk-J77KR2EV.mjs.map → chunk-WJ7IMUEJ.mjs.map} +1 -1
  35. package/dist/chunk-YTGUIRRH.js +10 -0
  36. package/dist/chunk-YTGUIRRH.js.map +1 -0
  37. package/dist/common/auth/client/index.d.mts +1 -31
  38. package/dist/common/auth/client/index.d.ts +1 -31
  39. package/dist/common/auth/client/index.js +2 -15
  40. package/dist/common/auth/client/index.mjs +1 -2
  41. package/dist/common/auth/components/index.d.mts +14 -248
  42. package/dist/common/auth/components/index.d.ts +14 -248
  43. package/dist/common/auth/components/index.js +878 -49
  44. package/dist/common/auth/components/index.js.map +1 -1
  45. package/dist/common/auth/components/index.mjs +871 -5
  46. package/dist/common/auth/components/index.mjs.map +1 -1
  47. package/dist/common/auth/hooks/index.d.mts +2 -29
  48. package/dist/common/auth/hooks/index.d.ts +2 -29
  49. package/dist/common/auth/hooks/index.js +2 -11
  50. package/dist/common/auth/hooks/index.mjs +1 -2
  51. package/dist/common/auth/index.d.mts +5 -9
  52. package/dist/common/auth/index.d.ts +5 -9
  53. package/dist/common/auth/index.js +7 -28
  54. package/dist/common/auth/index.mjs +3 -4
  55. package/dist/common/auth/react/index.d.mts +3 -3
  56. package/dist/common/auth/react/index.d.ts +3 -3
  57. package/dist/common/auth/rn/index.d.mts +3 -19
  58. package/dist/common/auth/rn/index.d.ts +3 -19
  59. package/dist/common/auth/rn/index.js +0 -32
  60. package/dist/common/auth/rn/index.js.map +1 -1
  61. package/dist/common/auth/rn/index.mjs +1 -30
  62. package/dist/common/auth/rn/index.mjs.map +1 -1
  63. package/dist/common/auth/server/index.d.mts +81 -2
  64. package/dist/common/auth/server/index.d.ts +81 -2
  65. package/dist/common/auth/server/index.js +128 -37
  66. package/dist/common/auth/server/index.js.map +1 -1
  67. package/dist/common/auth/server/index.mjs +124 -1
  68. package/dist/common/auth/server/index.mjs.map +1 -1
  69. package/dist/common/auth/services/index.js +12 -9
  70. package/dist/common/auth/services/index.js.map +1 -1
  71. package/dist/common/auth/services/index.mjs +10 -1
  72. package/dist/common/auth/services/index.mjs.map +1 -1
  73. package/dist/common/file/server/index.js +32 -32
  74. package/dist/common/file/server/index.mjs +3 -3
  75. package/dist/common/index.d.mts +5 -8
  76. package/dist/common/index.d.ts +5 -8
  77. package/dist/common/index.js +12 -14
  78. package/dist/common/index.mjs +6 -8
  79. package/dist/common/request/index.js +4 -5
  80. package/dist/common/request/index.mjs +2 -3
  81. package/dist/i18n/index.d.mts +1 -1
  82. package/dist/i18n/index.d.ts +1 -1
  83. package/dist/imageCrop/index.d.mts +3 -3
  84. package/dist/imageCrop/index.d.ts +3 -3
  85. package/dist/index-Bd7cKF1j.d.mts +50 -0
  86. package/dist/{index-CLB80GCP.d.ts → index-D0cqaQEH.d.mts} +5 -5
  87. package/dist/{index-CLB80GCP.d.mts → index-D0cqaQEH.d.ts} +5 -5
  88. package/dist/index-DRQxtCDw.d.ts +50 -0
  89. package/dist/{index-BxZauNN_.d.mts → index-DoUo8IrU.d.mts} +8 -8
  90. package/dist/{index-BxZauNN_.d.ts → index-DoUo8IrU.d.ts} +8 -8
  91. package/dist/index.d.mts +152 -131
  92. package/dist/index.d.ts +152 -131
  93. package/dist/index.js +105 -554
  94. package/dist/index.js.map +1 -1
  95. package/dist/index.mjs +106 -555
  96. package/dist/index.mjs.map +1 -1
  97. package/dist/ossFile/server/index.js +32 -32
  98. package/dist/ossFile/server/index.mjs +3 -3
  99. package/dist/request/index.js +3 -4
  100. package/dist/request/index.mjs +1 -2
  101. package/dist/universalExport/index.d.mts +3 -3
  102. package/dist/universalExport/index.d.ts +3 -3
  103. package/dist/universalFile/index.d.mts +5 -5
  104. package/dist/universalFile/index.d.ts +5 -5
  105. package/dist/universalFile/server/index.js +62 -62
  106. package/dist/universalFile/server/index.mjs +2 -2
  107. package/package.json +1 -36
  108. package/dist/auth/client/index.d.mts +0 -13
  109. package/dist/auth/client/index.d.ts +0 -13
  110. package/dist/auth/client/index.js +0 -26
  111. package/dist/auth/client/index.js.map +0 -1
  112. package/dist/auth/client/index.mjs +0 -5
  113. package/dist/auth/client/index.mjs.map +0 -1
  114. package/dist/auth/components/index.d.mts +0 -10
  115. package/dist/auth/components/index.d.ts +0 -10
  116. package/dist/auth/components/index.js +0 -70
  117. package/dist/auth/components/index.js.map +0 -1
  118. package/dist/auth/components/index.mjs +0 -9
  119. package/dist/auth/components/index.mjs.map +0 -1
  120. package/dist/auth/hooks/index.d.mts +0 -13
  121. package/dist/auth/hooks/index.d.ts +0 -13
  122. package/dist/auth/hooks/index.js +0 -28
  123. package/dist/auth/hooks/index.js.map +0 -1
  124. package/dist/auth/hooks/index.mjs +0 -7
  125. package/dist/auth/hooks/index.mjs.map +0 -1
  126. package/dist/auth/index.d.mts +0 -21
  127. package/dist/auth/index.d.ts +0 -21
  128. package/dist/auth/index.js +0 -112
  129. package/dist/auth/index.js.map +0 -1
  130. package/dist/auth/index.mjs +0 -11
  131. package/dist/auth/index.mjs.map +0 -1
  132. package/dist/auth/rn/index.d.mts +0 -3133
  133. package/dist/auth/rn/index.d.ts +0 -3133
  134. package/dist/auth/rn/index.js +0 -684
  135. package/dist/auth/rn/index.js.map +0 -1
  136. package/dist/auth/rn/index.mjs +0 -663
  137. package/dist/auth/rn/index.mjs.map +0 -1
  138. package/dist/auth/schema/index.d.mts +0 -4
  139. package/dist/auth/schema/index.d.ts +0 -4
  140. package/dist/auth/schema/index.js +0 -49
  141. package/dist/auth/schema/index.js.map +0 -1
  142. package/dist/auth/schema/index.mjs +0 -4
  143. package/dist/auth/schema/index.mjs.map +0 -1
  144. package/dist/auth/services/index.d.mts +0 -1
  145. package/dist/auth/services/index.d.ts +0 -1
  146. package/dist/auth/services/index.js +0 -17
  147. package/dist/auth/services/index.js.map +0 -1
  148. package/dist/auth/services/index.mjs +0 -4
  149. package/dist/auth/services/index.mjs.map +0 -1
  150. package/dist/base-api-client-BpmcQt4Q.d.ts +0 -103
  151. package/dist/base-api-client-CFIhZK4C.d.mts +0 -277
  152. package/dist/base-api-client-CFIhZK4C.d.ts +0 -277
  153. package/dist/base-api-client-DXLsq2yz.d.mts +0 -103
  154. package/dist/chunk-7E3J7VAD.mjs +0 -3
  155. package/dist/chunk-7E3J7VAD.mjs.map +0 -1
  156. package/dist/chunk-B3CZ3HXJ.mjs +0 -126
  157. package/dist/chunk-B3CZ3HXJ.mjs.map +0 -1
  158. package/dist/chunk-FOQEQWX5.js +0 -4
  159. package/dist/chunk-FOQEQWX5.js.map +0 -1
  160. package/dist/chunk-G4NFB2QA.mjs +0 -212
  161. package/dist/chunk-G4NFB2QA.mjs.map +0 -1
  162. package/dist/chunk-G5HJGXGC.mjs +0 -39
  163. package/dist/chunk-G5HJGXGC.mjs.map +0 -1
  164. package/dist/chunk-GQZHGSRR.js.map +0 -1
  165. package/dist/chunk-GS7XLKET.js +0 -41
  166. package/dist/chunk-GS7XLKET.js.map +0 -1
  167. package/dist/chunk-IBWDBBX5.mjs.map +0 -1
  168. package/dist/chunk-MWSAH7ZG.mjs +0 -42
  169. package/dist/chunk-MWSAH7ZG.mjs.map +0 -1
  170. package/dist/chunk-MZOGYD4N.mjs +0 -186
  171. package/dist/chunk-MZOGYD4N.mjs.map +0 -1
  172. package/dist/chunk-QDUBO567.js +0 -1148
  173. package/dist/chunk-QDUBO567.js.map +0 -1
  174. package/dist/chunk-QP5N3ER6.js.map +0 -1
  175. package/dist/chunk-RWCD2CAD.mjs +0 -1132
  176. package/dist/chunk-RWCD2CAD.mjs.map +0 -1
  177. package/dist/chunk-S37OK2QG.js +0 -216
  178. package/dist/chunk-S37OK2QG.js.map +0 -1
  179. package/dist/chunk-SFDJNKWC.js +0 -22
  180. package/dist/chunk-SFDJNKWC.js.map +0 -1
  181. package/dist/chunk-TXMX6PZR.js +0 -190
  182. package/dist/chunk-TXMX6PZR.js.map +0 -1
  183. package/dist/chunk-VHN7PF5I.js +0 -20
  184. package/dist/chunk-VHN7PF5I.js.map +0 -1
  185. package/dist/chunk-XBZIS3MV.mjs +0 -13
  186. package/dist/chunk-XBZIS3MV.mjs.map +0 -1
  187. package/dist/chunk-XFOZ56FB.mjs +0 -20
  188. package/dist/chunk-XFOZ56FB.mjs.map +0 -1
  189. package/dist/chunk-Z23HAXHL.js +0 -136
  190. package/dist/chunk-Z23HAXHL.js.map +0 -1
  191. package/dist/index-BcjDRcKp.d.mts +0 -40
  192. package/dist/index-BlpXrrTy.d.ts +0 -40
  193. package/dist/session-BCXvGCnm.d.mts +0 -81
  194. package/dist/session-BCXvGCnm.d.ts +0 -81
  195. package/dist/types-C_W_CoUD.d.ts +0 -99
  196. package/dist/types-DCRvasyH.d.mts +0 -99
  197. package/dist/types.legacy-J-j-_ig_.d.mts +0 -25
  198. package/dist/types.legacy-J-j-_ig_.d.ts +0 -25
@@ -1,17 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkKQ643L7Z_js = require('../chunk-KQ643L7Z.js');
4
3
  var chunkBCE6RUZV_js = require('../chunk-BCE6RUZV.js');
4
+ var chunkKQ643L7Z_js = require('../chunk-KQ643L7Z.js');
5
5
  var chunkSLKOEYFH_js = require('../chunk-SLKOEYFH.js');
6
6
  var chunkAQPU2AXH_js = require('../chunk-AQPU2AXH.js');
7
7
  var chunkZM2SZJTZ_js = require('../chunk-ZM2SZJTZ.js');
8
8
  var chunkFHLTPXAR_js = require('../chunk-FHLTPXAR.js');
9
9
  require('../chunk-VMTEDX5H.js');
10
10
  require('../chunk-UIYKZ73N.js');
11
- var chunkSFDJNKWC_js = require('../chunk-SFDJNKWC.js');
12
- require('../chunk-S3PUP7N4.js');
13
- require('../chunk-S37OK2QG.js');
14
- require('../chunk-TXMX6PZR.js');
11
+ var chunkHQLKOXG7_js = require('../chunk-HQLKOXG7.js');
12
+ require('../chunk-YTGUIRRH.js');
13
+ require('../chunk-PA4ELVGI.js');
15
14
  var chunkFCEBAWN6_js = require('../chunk-FCEBAWN6.js');
16
15
  var chunk4FDUURSD_js = require('../chunk-4FDUURSD.js');
17
16
  require('../chunk-ZWQJSZEY.js');
@@ -20,9 +19,8 @@ require('../chunk-S6YSGVWD.js');
20
19
  require('../chunk-CAYOQDBR.js');
21
20
  require('../chunk-UCOE6SET.js');
22
21
  require('../chunk-XJ7ZAGC5.js');
23
- var chunkQP5N3ER6_js = require('../chunk-QP5N3ER6.js');
24
- require('../chunk-GQZHGSRR.js');
25
- require('../chunk-GS7XLKET.js');
22
+ var chunk3CSCIRQY_js = require('../chunk-3CSCIRQY.js');
23
+ require('../chunk-GSNGCENJ.js');
26
24
  require('../chunk-PBI7FKMB.js');
27
25
  var chunk2Y7BKFKZ_js = require('../chunk-2Y7BKFKZ.js');
28
26
  var chunkZLYPALF3_js = require('../chunk-ZLYPALF3.js');
@@ -33,14 +31,14 @@ require('../chunk-NSBPE2FW.js');
33
31
 
34
32
 
35
33
 
36
- Object.defineProperty(exports, "config", {
37
- enumerable: true,
38
- get: function () { return chunkKQ643L7Z_js.config_exports; }
39
- });
40
34
  Object.defineProperty(exports, "analytics", {
41
35
  enumerable: true,
42
36
  get: function () { return chunkBCE6RUZV_js.analytics_exports; }
43
37
  });
38
+ Object.defineProperty(exports, "config", {
39
+ enumerable: true,
40
+ get: function () { return chunkKQ643L7Z_js.config_exports; }
41
+ });
44
42
  Object.defineProperty(exports, "api", {
45
43
  enumerable: true,
46
44
  get: function () { return chunkSLKOEYFH_js.api_exports; }
@@ -59,7 +57,7 @@ Object.defineProperty(exports, "dataExport", {
59
57
  });
60
58
  Object.defineProperty(exports, "auth", {
61
59
  enumerable: true,
62
- get: function () { return chunkSFDJNKWC_js.auth_exports; }
60
+ get: function () { return chunkHQLKOXG7_js.auth_exports; }
63
61
  });
64
62
  Object.defineProperty(exports, "logger", {
65
63
  enumerable: true,
@@ -75,7 +73,7 @@ Object.defineProperty(exports, "storage", {
75
73
  });
76
74
  Object.defineProperty(exports, "request", {
77
75
  enumerable: true,
78
- get: function () { return chunkQP5N3ER6_js.request_exports; }
76
+ get: function () { return chunk3CSCIRQY_js.request_exports; }
79
77
  });
80
78
  Object.defineProperty(exports, "file", {
81
79
  enumerable: true,
@@ -1,15 +1,14 @@
1
- export { config_exports as config } from '../chunk-QXAOXBVB.mjs';
2
1
  export { analytics_exports as analytics } from '../chunk-BIHYZA67.mjs';
2
+ export { config_exports as config } from '../chunk-QXAOXBVB.mjs';
3
3
  export { api_exports as api } from '../chunk-FIUBFREP.mjs';
4
4
  export { i18n_exports as i18n } from '../chunk-I5ZPEDNR.mjs';
5
5
  export { platform_exports as platform } from '../chunk-C6KV7VTZ.mjs';
6
6
  export { export_exports as dataExport } from '../chunk-3Z43XGA4.mjs';
7
7
  import '../chunk-GWNBVGDT.mjs';
8
8
  import '../chunk-LFB5EIIM.mjs';
9
- export { auth_exports as auth } from '../chunk-XFOZ56FB.mjs';
10
- import '../chunk-LHJKLUM7.mjs';
11
- import '../chunk-G4NFB2QA.mjs';
12
- import '../chunk-MZOGYD4N.mjs';
9
+ export { auth_exports as auth } from '../chunk-5FUAQLGC.mjs';
10
+ import '../chunk-6YLCRWKM.mjs';
11
+ import '../chunk-TNJ6LYX7.mjs';
13
12
  export { logger_exports as logger } from '../chunk-RTD2WHQQ.mjs';
14
13
  export { utils_exports as utils } from '../chunk-VXFUXZN5.mjs';
15
14
  import '../chunk-3NHAT7D4.mjs';
@@ -18,9 +17,8 @@ import '../chunk-CX2GHCAI.mjs';
18
17
  import '../chunk-Q5VFBPMG.mjs';
19
18
  import '../chunk-HJZHQW5R.mjs';
20
19
  import '../chunk-WEEXCPSE.mjs';
21
- export { request_exports as request } from '../chunk-IBWDBBX5.mjs';
22
- import '../chunk-MWSAH7ZG.mjs';
23
- import '../chunk-G5HJGXGC.mjs';
20
+ export { request_exports as request } from '../chunk-7B5SI4OF.mjs';
21
+ import '../chunk-EQXPL7TN.mjs';
24
22
  import '../chunk-G7UBMCUT.mjs';
25
23
  export { file_exports as file } from '../chunk-3FRAIS4T.mjs';
26
24
  export { clearConfigCache, clearOssFileConfigCache, configureOssFileFromPlatform, configureOssFileHttp, createOssFileFetchFromAdapter, getArtworkImageUrl, getModuleFileAccessUrl, getOssStorageModeDisplayName, getStorageModeDisplayName, refreshFileServiceConfig, refreshOssFileConfigCache, shouldUseOssFileService, shouldUseUniversalFileService, uploadArtworkImage, uploadModuleFile } from '../chunk-SKFEJPMJ.mjs';
@@ -1,8 +1,7 @@
1
1
  'use strict';
2
2
 
3
- require('../../chunk-QP5N3ER6.js');
4
- var chunkGQZHGSRR_js = require('../../chunk-GQZHGSRR.js');
5
- var chunkGS7XLKET_js = require('../../chunk-GS7XLKET.js');
3
+ require('../../chunk-3CSCIRQY.js');
4
+ var chunkGSNGCENJ_js = require('../../chunk-GSNGCENJ.js');
6
5
  var chunkPBI7FKMB_js = require('../../chunk-PBI7FKMB.js');
7
6
  require('../../chunk-NSBPE2FW.js');
8
7
 
@@ -10,11 +9,11 @@ require('../../chunk-NSBPE2FW.js');
10
9
 
11
10
  Object.defineProperty(exports, "MiniappRequestAdapter", {
12
11
  enumerable: true,
13
- get: function () { return chunkGQZHGSRR_js.MiniappRequestAdapter; }
12
+ get: function () { return chunkGSNGCENJ_js.MiniappRequestAdapter; }
14
13
  });
15
14
  Object.defineProperty(exports, "ReactNativeRequestAdapter", {
16
15
  enumerable: true,
17
- get: function () { return chunkGS7XLKET_js.ReactNativeRequestAdapter; }
16
+ get: function () { return chunkGSNGCENJ_js.ReactNativeRequestAdapter; }
18
17
  });
19
18
  Object.defineProperty(exports, "WebRequestAdapter", {
20
19
  enumerable: true,
@@ -1,6 +1,5 @@
1
- import '../../chunk-IBWDBBX5.mjs';
2
- export { MiniappRequestAdapter } from '../../chunk-MWSAH7ZG.mjs';
3
- export { ReactNativeRequestAdapter } from '../../chunk-G5HJGXGC.mjs';
1
+ import '../../chunk-7B5SI4OF.mjs';
2
+ export { MiniappRequestAdapter, ReactNativeRequestAdapter } from '../../chunk-EQXPL7TN.mjs';
4
3
  export { WebRequestAdapter } from '../../chunk-G7UBMCUT.mjs';
5
4
  import '../../chunk-MAI35PU6.mjs';
6
5
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- export { E as ElectronI18nAdapter, j as I18nAdapter, I as I18nConfig, h as I18nInstance, s as LanguageOption, n as LanguageSwitcher, o as LanguageSwitcherButtons, p as LanguageSwitcherDropdown, q as LanguageSwitcherIcon, r as LanguageSwitcherProps, L as Locale, e as LocaleResources, R as ReactNativeI18nAdapter, m as TaroI18nAdapter, f as TranslateOptions, T as TranslationKey, b as TranslationValue, d as Translations, W as WebI18nAdapter, c as createI18n, l as enUS, g as getI18n, a as initI18n, t, k as useLocale, u as useTranslation, _ as zhCN } from '../index-CLB80GCP.mjs';
1
+ export { E as ElectronI18nAdapter, j as I18nAdapter, I as I18nConfig, h as I18nInstance, s as LanguageOption, n as LanguageSwitcher, o as LanguageSwitcherButtons, p as LanguageSwitcherDropdown, q as LanguageSwitcherIcon, r as LanguageSwitcherProps, L as Locale, e as LocaleResources, R as ReactNativeI18nAdapter, m as TaroI18nAdapter, f as TranslateOptions, T as TranslationKey, b as TranslationValue, d as Translations, W as WebI18nAdapter, c as createI18n, l as enUS, g as getI18n, a as initI18n, t, k as useLocale, u as useTranslation, _ as zhCN } from '../index-D0cqaQEH.mjs';
2
2
  import 'react';
@@ -1,2 +1,2 @@
1
- export { E as ElectronI18nAdapter, j as I18nAdapter, I as I18nConfig, h as I18nInstance, s as LanguageOption, n as LanguageSwitcher, o as LanguageSwitcherButtons, p as LanguageSwitcherDropdown, q as LanguageSwitcherIcon, r as LanguageSwitcherProps, L as Locale, e as LocaleResources, R as ReactNativeI18nAdapter, m as TaroI18nAdapter, f as TranslateOptions, T as TranslationKey, b as TranslationValue, d as Translations, W as WebI18nAdapter, c as createI18n, l as enUS, g as getI18n, a as initI18n, t, k as useLocale, u as useTranslation, _ as zhCN } from '../index-CLB80GCP.js';
1
+ export { E as ElectronI18nAdapter, j as I18nAdapter, I as I18nConfig, h as I18nInstance, s as LanguageOption, n as LanguageSwitcher, o as LanguageSwitcherButtons, p as LanguageSwitcherDropdown, q as LanguageSwitcherIcon, r as LanguageSwitcherProps, L as Locale, e as LocaleResources, R as ReactNativeI18nAdapter, m as TaroI18nAdapter, f as TranslateOptions, T as TranslationKey, b as TranslationValue, d as Translations, W as WebI18nAdapter, c as createI18n, l as enUS, g as getI18n, a as initI18n, t, k as useLocale, u as useTranslation, _ as zhCN } from '../index-D0cqaQEH.js';
2
2
  import 'react';
@@ -1,4 +1,4 @@
1
- import React__default from 'react';
1
+ import React from 'react';
2
2
 
3
3
  /**
4
4
  * 图片裁剪相关类型定义
@@ -76,7 +76,7 @@ interface ImageGridCropperProps {
76
76
  /** 自定义样式类名 */
77
77
  className?: string;
78
78
  }
79
- declare const ImageGridCropper: React__default.FC<ImageGridCropperProps>;
79
+ declare const ImageGridCropper: React.FC<ImageGridCropperProps>;
80
80
 
81
81
  /**
82
82
  * 网格控制组件
@@ -101,7 +101,7 @@ interface GridControlsProps {
101
101
  /** 重置回调 */
102
102
  onReset?: () => void;
103
103
  }
104
- declare const GridControls: React__default.FC<GridControlsProps>;
104
+ declare const GridControls: React.FC<GridControlsProps>;
105
105
 
106
106
  /**
107
107
  * 图片裁剪工具函数
@@ -1,4 +1,4 @@
1
- import React__default from 'react';
1
+ import React from 'react';
2
2
 
3
3
  /**
4
4
  * 图片裁剪相关类型定义
@@ -76,7 +76,7 @@ interface ImageGridCropperProps {
76
76
  /** 自定义样式类名 */
77
77
  className?: string;
78
78
  }
79
- declare const ImageGridCropper: React__default.FC<ImageGridCropperProps>;
79
+ declare const ImageGridCropper: React.FC<ImageGridCropperProps>;
80
80
 
81
81
  /**
82
82
  * 网格控制组件
@@ -101,7 +101,7 @@ interface GridControlsProps {
101
101
  /** 重置回调 */
102
102
  onReset?: () => void;
103
103
  }
104
- declare const GridControls: React__default.FC<GridControlsProps>;
104
+ declare const GridControls: React.FC<GridControlsProps>;
105
105
 
106
106
  /**
107
107
  * 图片裁剪工具函数
@@ -0,0 +1,50 @@
1
+ import { Sa2kitAuthClient, Sa2kitAuthClientOptions, createSa2kitAuthClient } from './common/auth/client/index.mjs';
2
+ import { UseSessionReturn, useSession } from './common/auth/hooks/index.mjs';
3
+ import { U as UserRole } from './enums-Dume-V5Y.mjs';
4
+
5
+ /**
6
+ * Auth 模块类型定义
7
+ * Auth Module Types
8
+ */
9
+
10
+ /**
11
+ * 用户基础信息(核心字段)
12
+ * Base User Information
13
+ */
14
+ interface BaseUser {
15
+ id: string;
16
+ email: string;
17
+ username: string;
18
+ role: UserRole;
19
+ }
20
+ /**
21
+ * 扩展用户信息(可选字段)
22
+ * Extended User Information
23
+ */
24
+ interface User extends BaseUser {
25
+ nickname?: string;
26
+ avatar?: string;
27
+ createdAt?: string;
28
+ updatedAt?: string;
29
+ [key: string]: any;
30
+ }
31
+
32
+ /**
33
+ * @package sa2kit/common/auth
34
+ *
35
+ * Browser / client 安全入口(Better Auth 3.0)
36
+ */
37
+
38
+ type index_BaseUser = BaseUser;
39
+ declare const index_Sa2kitAuthClient: typeof Sa2kitAuthClient;
40
+ declare const index_Sa2kitAuthClientOptions: typeof Sa2kitAuthClientOptions;
41
+ declare const index_UseSessionReturn: typeof UseSessionReturn;
42
+ type index_User = User;
43
+ declare const index_UserRole: typeof UserRole;
44
+ declare const index_createSa2kitAuthClient: typeof createSa2kitAuthClient;
45
+ declare const index_useSession: typeof useSession;
46
+ declare namespace index {
47
+ export { type index_BaseUser as BaseUser, index_Sa2kitAuthClient as Sa2kitAuthClient, index_Sa2kitAuthClientOptions as Sa2kitAuthClientOptions, index_UseSessionReturn as UseSessionReturn, type index_User as User, index_UserRole as UserRole, index_createSa2kitAuthClient as createSa2kitAuthClient, index_useSession as useSession };
48
+ }
49
+
50
+ export { type BaseUser as B, type User as U, index as i };
@@ -1,4 +1,4 @@
1
- import React__default from 'react';
1
+ import React from 'react';
2
2
 
3
3
  /**
4
4
  * i18n 类型定义
@@ -399,20 +399,20 @@ interface LanguageOption {
399
399
  /**
400
400
  * 按钮组语言切换器
401
401
  */
402
- declare function LanguageSwitcherButtons({ className, onLanguageChange, }: LanguageSwitcherProps): React__default.JSX.Element;
402
+ declare function LanguageSwitcherButtons({ className, onLanguageChange, }: LanguageSwitcherProps): React.JSX.Element;
403
403
  /**
404
404
  * 下拉菜单语言切换器
405
405
  */
406
- declare function LanguageSwitcherDropdown({ className, onLanguageChange, }: LanguageSwitcherProps): React__default.JSX.Element;
406
+ declare function LanguageSwitcherDropdown({ className, onLanguageChange, }: LanguageSwitcherProps): React.JSX.Element;
407
407
  /**
408
408
  * 图标按钮语言切换器(带下拉菜单)
409
409
  */
410
- declare function LanguageSwitcherIcon({ className, onLanguageChange }: LanguageSwitcherProps): React__default.JSX.Element;
410
+ declare function LanguageSwitcherIcon({ className, onLanguageChange }: LanguageSwitcherProps): React.JSX.Element;
411
411
  /**
412
412
  * 语言切换器主组件
413
413
  * 根据 variant 自动选择样式
414
414
  */
415
- declare function LanguageSwitcher({ variant, className, onLanguageChange, }: LanguageSwitcherProps): React__default.JSX.Element;
415
+ declare function LanguageSwitcher({ variant, className, onLanguageChange, }: LanguageSwitcherProps): React.JSX.Element;
416
416
 
417
417
  /**
418
418
  * i18n 国际化模块
@@ -1,4 +1,4 @@
1
- import React__default from 'react';
1
+ import React from 'react';
2
2
 
3
3
  /**
4
4
  * i18n 类型定义
@@ -399,20 +399,20 @@ interface LanguageOption {
399
399
  /**
400
400
  * 按钮组语言切换器
401
401
  */
402
- declare function LanguageSwitcherButtons({ className, onLanguageChange, }: LanguageSwitcherProps): React__default.JSX.Element;
402
+ declare function LanguageSwitcherButtons({ className, onLanguageChange, }: LanguageSwitcherProps): React.JSX.Element;
403
403
  /**
404
404
  * 下拉菜单语言切换器
405
405
  */
406
- declare function LanguageSwitcherDropdown({ className, onLanguageChange, }: LanguageSwitcherProps): React__default.JSX.Element;
406
+ declare function LanguageSwitcherDropdown({ className, onLanguageChange, }: LanguageSwitcherProps): React.JSX.Element;
407
407
  /**
408
408
  * 图标按钮语言切换器(带下拉菜单)
409
409
  */
410
- declare function LanguageSwitcherIcon({ className, onLanguageChange }: LanguageSwitcherProps): React__default.JSX.Element;
410
+ declare function LanguageSwitcherIcon({ className, onLanguageChange }: LanguageSwitcherProps): React.JSX.Element;
411
411
  /**
412
412
  * 语言切换器主组件
413
413
  * 根据 variant 自动选择样式
414
414
  */
415
- declare function LanguageSwitcher({ variant, className, onLanguageChange, }: LanguageSwitcherProps): React__default.JSX.Element;
415
+ declare function LanguageSwitcher({ variant, className, onLanguageChange, }: LanguageSwitcherProps): React.JSX.Element;
416
416
 
417
417
  /**
418
418
  * i18n 国际化模块
@@ -0,0 +1,50 @@
1
+ import { Sa2kitAuthClient, Sa2kitAuthClientOptions, createSa2kitAuthClient } from './common/auth/client/index.js';
2
+ import { UseSessionReturn, useSession } from './common/auth/hooks/index.js';
3
+ import { U as UserRole } from './enums-Dume-V5Y.js';
4
+
5
+ /**
6
+ * Auth 模块类型定义
7
+ * Auth Module Types
8
+ */
9
+
10
+ /**
11
+ * 用户基础信息(核心字段)
12
+ * Base User Information
13
+ */
14
+ interface BaseUser {
15
+ id: string;
16
+ email: string;
17
+ username: string;
18
+ role: UserRole;
19
+ }
20
+ /**
21
+ * 扩展用户信息(可选字段)
22
+ * Extended User Information
23
+ */
24
+ interface User extends BaseUser {
25
+ nickname?: string;
26
+ avatar?: string;
27
+ createdAt?: string;
28
+ updatedAt?: string;
29
+ [key: string]: any;
30
+ }
31
+
32
+ /**
33
+ * @package sa2kit/common/auth
34
+ *
35
+ * Browser / client 安全入口(Better Auth 3.0)
36
+ */
37
+
38
+ type index_BaseUser = BaseUser;
39
+ declare const index_Sa2kitAuthClient: typeof Sa2kitAuthClient;
40
+ declare const index_Sa2kitAuthClientOptions: typeof Sa2kitAuthClientOptions;
41
+ declare const index_UseSessionReturn: typeof UseSessionReturn;
42
+ type index_User = User;
43
+ declare const index_UserRole: typeof UserRole;
44
+ declare const index_createSa2kitAuthClient: typeof createSa2kitAuthClient;
45
+ declare const index_useSession: typeof useSession;
46
+ declare namespace index {
47
+ export { type index_BaseUser as BaseUser, index_Sa2kitAuthClient as Sa2kitAuthClient, index_Sa2kitAuthClientOptions as Sa2kitAuthClientOptions, index_UseSessionReturn as UseSessionReturn, type index_User as User, index_UserRole as UserRole, index_createSa2kitAuthClient as createSa2kitAuthClient, index_useSession as useSession };
48
+ }
49
+
50
+ export { type BaseUser as B, type User as U, index as i };
@@ -1,4 +1,4 @@
1
- import React__default from 'react';
1
+ import React from 'react';
2
2
 
3
3
  /**
4
4
  * 埋点系统类型定义
@@ -1013,14 +1013,14 @@ interface StatCardProps {
1013
1013
  title: string;
1014
1014
  value: string | number;
1015
1015
  subtitle?: string;
1016
- icon?: React__default.ReactNode;
1016
+ icon?: React.ReactNode;
1017
1017
  trend?: {
1018
1018
  value: number;
1019
1019
  isPositive: boolean;
1020
1020
  };
1021
1021
  className?: string;
1022
1022
  }
1023
- declare const StatCard: React__default.FC<StatCardProps>;
1023
+ declare const StatCard: React.FC<StatCardProps>;
1024
1024
 
1025
1025
  /**
1026
1026
  * 事件列表组件
@@ -1033,7 +1033,7 @@ interface EventListProps {
1033
1033
  onEventClick?: (event: DashboardEvent) => void;
1034
1034
  className?: string;
1035
1035
  }
1036
- declare const EventList: React__default.FC<EventListProps>;
1036
+ declare const EventList: React.FC<EventListProps>;
1037
1037
 
1038
1038
  /**
1039
1039
  * 筛选面板组件
@@ -1045,7 +1045,7 @@ interface FilterPanelProps {
1045
1045
  initialFilters?: FilterOptions;
1046
1046
  className?: string;
1047
1047
  }
1048
- declare const FilterPanel: React__default.FC<FilterPanelProps>;
1048
+ declare const FilterPanel: React.FC<FilterPanelProps>;
1049
1049
 
1050
1050
  /**
1051
1051
  * 图表组件
@@ -1057,13 +1057,13 @@ interface PieChartProps {
1057
1057
  title?: string;
1058
1058
  className?: string;
1059
1059
  }
1060
- declare const PieChart: React__default.FC<PieChartProps>;
1060
+ declare const PieChart: React.FC<PieChartProps>;
1061
1061
  interface BarChartProps {
1062
1062
  data: ChartDataPoint[];
1063
1063
  title?: string;
1064
1064
  className?: string;
1065
1065
  }
1066
- declare const BarChart: React__default.FC<BarChartProps>;
1066
+ declare const BarChart: React.FC<BarChartProps>;
1067
1067
 
1068
1068
  /**
1069
1069
  * 埋点数据仪表板组件
@@ -1074,7 +1074,7 @@ interface AnalyticsDashboardProps {
1074
1074
  apiBaseUrl?: string;
1075
1075
  className?: string;
1076
1076
  }
1077
- declare const AnalyticsDashboard: React__default.FC<AnalyticsDashboardProps>;
1077
+ declare const AnalyticsDashboard: React.FC<AnalyticsDashboardProps>;
1078
1078
 
1079
1079
  /**
1080
1080
  * Analytics 埋点分析模块
@@ -1,4 +1,4 @@
1
- import React__default from 'react';
1
+ import React from 'react';
2
2
 
3
3
  /**
4
4
  * 埋点系统类型定义
@@ -1013,14 +1013,14 @@ interface StatCardProps {
1013
1013
  title: string;
1014
1014
  value: string | number;
1015
1015
  subtitle?: string;
1016
- icon?: React__default.ReactNode;
1016
+ icon?: React.ReactNode;
1017
1017
  trend?: {
1018
1018
  value: number;
1019
1019
  isPositive: boolean;
1020
1020
  };
1021
1021
  className?: string;
1022
1022
  }
1023
- declare const StatCard: React__default.FC<StatCardProps>;
1023
+ declare const StatCard: React.FC<StatCardProps>;
1024
1024
 
1025
1025
  /**
1026
1026
  * 事件列表组件
@@ -1033,7 +1033,7 @@ interface EventListProps {
1033
1033
  onEventClick?: (event: DashboardEvent) => void;
1034
1034
  className?: string;
1035
1035
  }
1036
- declare const EventList: React__default.FC<EventListProps>;
1036
+ declare const EventList: React.FC<EventListProps>;
1037
1037
 
1038
1038
  /**
1039
1039
  * 筛选面板组件
@@ -1045,7 +1045,7 @@ interface FilterPanelProps {
1045
1045
  initialFilters?: FilterOptions;
1046
1046
  className?: string;
1047
1047
  }
1048
- declare const FilterPanel: React__default.FC<FilterPanelProps>;
1048
+ declare const FilterPanel: React.FC<FilterPanelProps>;
1049
1049
 
1050
1050
  /**
1051
1051
  * 图表组件
@@ -1057,13 +1057,13 @@ interface PieChartProps {
1057
1057
  title?: string;
1058
1058
  className?: string;
1059
1059
  }
1060
- declare const PieChart: React__default.FC<PieChartProps>;
1060
+ declare const PieChart: React.FC<PieChartProps>;
1061
1061
  interface BarChartProps {
1062
1062
  data: ChartDataPoint[];
1063
1063
  title?: string;
1064
1064
  className?: string;
1065
1065
  }
1066
- declare const BarChart: React__default.FC<BarChartProps>;
1066
+ declare const BarChart: React.FC<BarChartProps>;
1067
1067
 
1068
1068
  /**
1069
1069
  * 埋点数据仪表板组件
@@ -1074,7 +1074,7 @@ interface AnalyticsDashboardProps {
1074
1074
  apiBaseUrl?: string;
1075
1075
  className?: string;
1076
1076
  }
1077
- declare const AnalyticsDashboard: React__default.FC<AnalyticsDashboardProps>;
1077
+ declare const AnalyticsDashboard: React.FC<AnalyticsDashboardProps>;
1078
1078
 
1079
1079
  /**
1080
1080
  * Analytics 埋点分析模块