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.
- package/dist/ai/llm/ui/miniapp/index.d.mts +2 -2
- package/dist/ai/llm/ui/miniapp/index.d.ts +2 -2
- package/dist/ai/llm/ui/rn/index.d.mts +2 -2
- package/dist/ai/llm/ui/rn/index.d.ts +2 -2
- package/dist/ai/llm/ui/web/index.d.mts +3 -3
- package/dist/ai/llm/ui/web/index.d.ts +3 -3
- package/dist/analytics/index.d.mts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/{chunk-QP5N3ER6.js → chunk-3CSCIRQY.js} +5 -6
- package/dist/chunk-3CSCIRQY.js.map +1 -0
- package/dist/{chunk-RJP2BRJD.mjs → chunk-4OOANEJV.mjs} +2 -2
- package/dist/{chunk-RJP2BRJD.mjs.map → chunk-4OOANEJV.mjs.map} +1 -1
- package/dist/chunk-5FUAQLGC.mjs +14 -0
- package/dist/chunk-5FUAQLGC.mjs.map +1 -0
- package/dist/{chunk-S732H246.js → chunk-6PMXAK7F.js} +2 -2
- package/dist/{chunk-S732H246.js.map → chunk-6PMXAK7F.js.map} +1 -1
- package/dist/chunk-6YLCRWKM.mjs +8 -0
- package/dist/chunk-6YLCRWKM.mjs.map +1 -0
- package/dist/{chunk-IBWDBBX5.mjs → chunk-7B5SI4OF.mjs} +3 -4
- package/dist/chunk-7B5SI4OF.mjs.map +1 -0
- package/dist/chunk-EQXPL7TN.mjs +78 -0
- package/dist/chunk-EQXPL7TN.mjs.map +1 -0
- package/dist/{chunk-GQZHGSRR.js → chunk-GSNGCENJ.js} +39 -2
- package/dist/chunk-GSNGCENJ.js.map +1 -0
- package/dist/chunk-HQLKOXG7.js +16 -0
- package/dist/chunk-HQLKOXG7.js.map +1 -0
- package/dist/{chunk-S3PUP7N4.js → chunk-PA4ELVGI.js} +2 -2
- package/dist/{chunk-S3PUP7N4.js.map → chunk-PA4ELVGI.js.map} +1 -1
- package/dist/{chunk-WZDTNDYR.js → chunk-QSKLQX6H.js} +11 -11
- package/dist/{chunk-WZDTNDYR.js.map → chunk-QSKLQX6H.js.map} +1 -1
- package/dist/{chunk-LHJKLUM7.mjs → chunk-TNJ6LYX7.mjs} +2 -2
- package/dist/{chunk-LHJKLUM7.mjs.map → chunk-TNJ6LYX7.mjs.map} +1 -1
- package/dist/{chunk-J77KR2EV.mjs → chunk-WJ7IMUEJ.mjs} +3 -3
- package/dist/{chunk-J77KR2EV.mjs.map → chunk-WJ7IMUEJ.mjs.map} +1 -1
- package/dist/chunk-YTGUIRRH.js +10 -0
- package/dist/chunk-YTGUIRRH.js.map +1 -0
- package/dist/common/auth/client/index.d.mts +1 -31
- package/dist/common/auth/client/index.d.ts +1 -31
- package/dist/common/auth/client/index.js +2 -15
- package/dist/common/auth/client/index.mjs +1 -2
- package/dist/common/auth/components/index.d.mts +14 -248
- package/dist/common/auth/components/index.d.ts +14 -248
- package/dist/common/auth/components/index.js +878 -49
- package/dist/common/auth/components/index.js.map +1 -1
- package/dist/common/auth/components/index.mjs +871 -5
- package/dist/common/auth/components/index.mjs.map +1 -1
- package/dist/common/auth/hooks/index.d.mts +2 -29
- package/dist/common/auth/hooks/index.d.ts +2 -29
- package/dist/common/auth/hooks/index.js +2 -11
- package/dist/common/auth/hooks/index.mjs +1 -2
- package/dist/common/auth/index.d.mts +5 -9
- package/dist/common/auth/index.d.ts +5 -9
- package/dist/common/auth/index.js +7 -28
- package/dist/common/auth/index.mjs +3 -4
- package/dist/common/auth/react/index.d.mts +3 -3
- package/dist/common/auth/react/index.d.ts +3 -3
- package/dist/common/auth/rn/index.d.mts +3 -19
- package/dist/common/auth/rn/index.d.ts +3 -19
- package/dist/common/auth/rn/index.js +0 -32
- package/dist/common/auth/rn/index.js.map +1 -1
- package/dist/common/auth/rn/index.mjs +1 -30
- package/dist/common/auth/rn/index.mjs.map +1 -1
- package/dist/common/auth/server/index.d.mts +81 -2
- package/dist/common/auth/server/index.d.ts +81 -2
- package/dist/common/auth/server/index.js +128 -37
- package/dist/common/auth/server/index.js.map +1 -1
- package/dist/common/auth/server/index.mjs +124 -1
- package/dist/common/auth/server/index.mjs.map +1 -1
- package/dist/common/auth/services/index.js +12 -9
- package/dist/common/auth/services/index.js.map +1 -1
- package/dist/common/auth/services/index.mjs +10 -1
- package/dist/common/auth/services/index.mjs.map +1 -1
- package/dist/common/file/server/index.js +32 -32
- package/dist/common/file/server/index.mjs +3 -3
- package/dist/common/index.d.mts +5 -8
- package/dist/common/index.d.ts +5 -8
- package/dist/common/index.js +12 -14
- package/dist/common/index.mjs +6 -8
- package/dist/common/request/index.js +4 -5
- package/dist/common/request/index.mjs +2 -3
- package/dist/i18n/index.d.mts +1 -1
- package/dist/i18n/index.d.ts +1 -1
- package/dist/imageCrop/index.d.mts +3 -3
- package/dist/imageCrop/index.d.ts +3 -3
- package/dist/index-Bd7cKF1j.d.mts +50 -0
- package/dist/{index-CLB80GCP.d.ts → index-D0cqaQEH.d.mts} +5 -5
- package/dist/{index-CLB80GCP.d.mts → index-D0cqaQEH.d.ts} +5 -5
- package/dist/index-DRQxtCDw.d.ts +50 -0
- package/dist/{index-BxZauNN_.d.mts → index-DoUo8IrU.d.mts} +8 -8
- package/dist/{index-BxZauNN_.d.ts → index-DoUo8IrU.d.ts} +8 -8
- package/dist/index.d.mts +152 -131
- package/dist/index.d.ts +152 -131
- package/dist/index.js +105 -554
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +106 -555
- package/dist/index.mjs.map +1 -1
- package/dist/ossFile/server/index.js +32 -32
- package/dist/ossFile/server/index.mjs +3 -3
- package/dist/request/index.js +3 -4
- package/dist/request/index.mjs +1 -2
- package/dist/universalExport/index.d.mts +3 -3
- package/dist/universalExport/index.d.ts +3 -3
- package/dist/universalFile/index.d.mts +5 -5
- package/dist/universalFile/index.d.ts +5 -5
- package/dist/universalFile/server/index.js +62 -62
- package/dist/universalFile/server/index.mjs +2 -2
- package/package.json +1 -36
- package/dist/auth/client/index.d.mts +0 -13
- package/dist/auth/client/index.d.ts +0 -13
- package/dist/auth/client/index.js +0 -26
- package/dist/auth/client/index.js.map +0 -1
- package/dist/auth/client/index.mjs +0 -5
- package/dist/auth/client/index.mjs.map +0 -1
- package/dist/auth/components/index.d.mts +0 -10
- package/dist/auth/components/index.d.ts +0 -10
- package/dist/auth/components/index.js +0 -70
- package/dist/auth/components/index.js.map +0 -1
- package/dist/auth/components/index.mjs +0 -9
- package/dist/auth/components/index.mjs.map +0 -1
- package/dist/auth/hooks/index.d.mts +0 -13
- package/dist/auth/hooks/index.d.ts +0 -13
- package/dist/auth/hooks/index.js +0 -28
- package/dist/auth/hooks/index.js.map +0 -1
- package/dist/auth/hooks/index.mjs +0 -7
- package/dist/auth/hooks/index.mjs.map +0 -1
- package/dist/auth/index.d.mts +0 -21
- package/dist/auth/index.d.ts +0 -21
- package/dist/auth/index.js +0 -112
- package/dist/auth/index.js.map +0 -1
- package/dist/auth/index.mjs +0 -11
- package/dist/auth/index.mjs.map +0 -1
- package/dist/auth/rn/index.d.mts +0 -3133
- package/dist/auth/rn/index.d.ts +0 -3133
- package/dist/auth/rn/index.js +0 -684
- package/dist/auth/rn/index.js.map +0 -1
- package/dist/auth/rn/index.mjs +0 -663
- package/dist/auth/rn/index.mjs.map +0 -1
- package/dist/auth/schema/index.d.mts +0 -4
- package/dist/auth/schema/index.d.ts +0 -4
- package/dist/auth/schema/index.js +0 -49
- package/dist/auth/schema/index.js.map +0 -1
- package/dist/auth/schema/index.mjs +0 -4
- package/dist/auth/schema/index.mjs.map +0 -1
- package/dist/auth/services/index.d.mts +0 -1
- package/dist/auth/services/index.d.ts +0 -1
- package/dist/auth/services/index.js +0 -17
- package/dist/auth/services/index.js.map +0 -1
- package/dist/auth/services/index.mjs +0 -4
- package/dist/auth/services/index.mjs.map +0 -1
- package/dist/base-api-client-BpmcQt4Q.d.ts +0 -103
- package/dist/base-api-client-CFIhZK4C.d.mts +0 -277
- package/dist/base-api-client-CFIhZK4C.d.ts +0 -277
- package/dist/base-api-client-DXLsq2yz.d.mts +0 -103
- package/dist/chunk-7E3J7VAD.mjs +0 -3
- package/dist/chunk-7E3J7VAD.mjs.map +0 -1
- package/dist/chunk-B3CZ3HXJ.mjs +0 -126
- package/dist/chunk-B3CZ3HXJ.mjs.map +0 -1
- package/dist/chunk-FOQEQWX5.js +0 -4
- package/dist/chunk-FOQEQWX5.js.map +0 -1
- package/dist/chunk-G4NFB2QA.mjs +0 -212
- package/dist/chunk-G4NFB2QA.mjs.map +0 -1
- package/dist/chunk-G5HJGXGC.mjs +0 -39
- package/dist/chunk-G5HJGXGC.mjs.map +0 -1
- package/dist/chunk-GQZHGSRR.js.map +0 -1
- package/dist/chunk-GS7XLKET.js +0 -41
- package/dist/chunk-GS7XLKET.js.map +0 -1
- package/dist/chunk-IBWDBBX5.mjs.map +0 -1
- package/dist/chunk-MWSAH7ZG.mjs +0 -42
- package/dist/chunk-MWSAH7ZG.mjs.map +0 -1
- package/dist/chunk-MZOGYD4N.mjs +0 -186
- package/dist/chunk-MZOGYD4N.mjs.map +0 -1
- package/dist/chunk-QDUBO567.js +0 -1148
- package/dist/chunk-QDUBO567.js.map +0 -1
- package/dist/chunk-QP5N3ER6.js.map +0 -1
- package/dist/chunk-RWCD2CAD.mjs +0 -1132
- package/dist/chunk-RWCD2CAD.mjs.map +0 -1
- package/dist/chunk-S37OK2QG.js +0 -216
- package/dist/chunk-S37OK2QG.js.map +0 -1
- package/dist/chunk-SFDJNKWC.js +0 -22
- package/dist/chunk-SFDJNKWC.js.map +0 -1
- package/dist/chunk-TXMX6PZR.js +0 -190
- package/dist/chunk-TXMX6PZR.js.map +0 -1
- package/dist/chunk-VHN7PF5I.js +0 -20
- package/dist/chunk-VHN7PF5I.js.map +0 -1
- package/dist/chunk-XBZIS3MV.mjs +0 -13
- package/dist/chunk-XBZIS3MV.mjs.map +0 -1
- package/dist/chunk-XFOZ56FB.mjs +0 -20
- package/dist/chunk-XFOZ56FB.mjs.map +0 -1
- package/dist/chunk-Z23HAXHL.js +0 -136
- package/dist/chunk-Z23HAXHL.js.map +0 -1
- package/dist/index-BcjDRcKp.d.mts +0 -40
- package/dist/index-BlpXrrTy.d.ts +0 -40
- package/dist/session-BCXvGCnm.d.mts +0 -81
- package/dist/session-BCXvGCnm.d.ts +0 -81
- package/dist/types-C_W_CoUD.d.ts +0 -99
- package/dist/types-DCRvasyH.d.mts +0 -99
- package/dist/types.legacy-J-j-_ig_.d.mts +0 -25
- package/dist/types.legacy-J-j-_ig_.d.ts +0 -25
package/dist/common/index.js
CHANGED
|
@@ -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
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
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
|
|
24
|
-
require('../chunk-
|
|
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
|
|
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
|
|
76
|
+
get: function () { return chunk3CSCIRQY_js.request_exports; }
|
|
79
77
|
});
|
|
80
78
|
Object.defineProperty(exports, "file", {
|
|
81
79
|
enumerable: true,
|
package/dist/common/index.mjs
CHANGED
|
@@ -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-
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
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-
|
|
22
|
-
import '../chunk-
|
|
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-
|
|
4
|
-
var
|
|
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
|
|
12
|
+
get: function () { return chunkGSNGCENJ_js.MiniappRequestAdapter; }
|
|
14
13
|
});
|
|
15
14
|
Object.defineProperty(exports, "ReactNativeRequestAdapter", {
|
|
16
15
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
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-
|
|
2
|
-
export { MiniappRequestAdapter } from '../../chunk-
|
|
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
|
package/dist/i18n/index.d.mts
CHANGED
|
@@ -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-
|
|
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';
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -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-
|
|
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
|
|
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:
|
|
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:
|
|
104
|
+
declare const GridControls: React.FC<GridControlsProps>;
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* 图片裁剪工具函数
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
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:
|
|
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
|
|
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):
|
|
402
|
+
declare function LanguageSwitcherButtons({ className, onLanguageChange, }: LanguageSwitcherProps): React.JSX.Element;
|
|
403
403
|
/**
|
|
404
404
|
* 下拉菜单语言切换器
|
|
405
405
|
*/
|
|
406
|
-
declare function LanguageSwitcherDropdown({ className, onLanguageChange, }: LanguageSwitcherProps):
|
|
406
|
+
declare function LanguageSwitcherDropdown({ className, onLanguageChange, }: LanguageSwitcherProps): React.JSX.Element;
|
|
407
407
|
/**
|
|
408
408
|
* 图标按钮语言切换器(带下拉菜单)
|
|
409
409
|
*/
|
|
410
|
-
declare function LanguageSwitcherIcon({ className, onLanguageChange }: LanguageSwitcherProps):
|
|
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):
|
|
415
|
+
declare function LanguageSwitcher({ variant, className, onLanguageChange, }: LanguageSwitcherProps): React.JSX.Element;
|
|
416
416
|
|
|
417
417
|
/**
|
|
418
418
|
* i18n 国际化模块
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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):
|
|
402
|
+
declare function LanguageSwitcherButtons({ className, onLanguageChange, }: LanguageSwitcherProps): React.JSX.Element;
|
|
403
403
|
/**
|
|
404
404
|
* 下拉菜单语言切换器
|
|
405
405
|
*/
|
|
406
|
-
declare function LanguageSwitcherDropdown({ className, onLanguageChange, }: LanguageSwitcherProps):
|
|
406
|
+
declare function LanguageSwitcherDropdown({ className, onLanguageChange, }: LanguageSwitcherProps): React.JSX.Element;
|
|
407
407
|
/**
|
|
408
408
|
* 图标按钮语言切换器(带下拉菜单)
|
|
409
409
|
*/
|
|
410
|
-
declare function LanguageSwitcherIcon({ className, onLanguageChange }: LanguageSwitcherProps):
|
|
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):
|
|
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
|
|
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?:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
1077
|
+
declare const AnalyticsDashboard: React.FC<AnalyticsDashboardProps>;
|
|
1078
1078
|
|
|
1079
1079
|
/**
|
|
1080
1080
|
* Analytics 埋点分析模块
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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?:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
1077
|
+
declare const AnalyticsDashboard: React.FC<AnalyticsDashboardProps>;
|
|
1078
1078
|
|
|
1079
1079
|
/**
|
|
1080
1080
|
* Analytics 埋点分析模块
|