@lingxia/types 0.1.2 → 0.4.3
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/app/index.d.ts +7 -0
- package/dist/app/index.d.ts.map +1 -1
- package/dist/device/actions.d.ts +8 -0
- package/dist/device/actions.d.ts.map +1 -0
- package/dist/device/actions.js +7 -0
- package/dist/device/actions.js.map +1 -0
- package/dist/device/index.d.ts +4 -37
- package/dist/device/index.d.ts.map +1 -1
- package/dist/device/index.js +18 -4
- package/dist/device/index.js.map +1 -1
- package/dist/device/info.d.ts +17 -0
- package/dist/device/info.d.ts.map +1 -0
- package/dist/device/info.js +7 -0
- package/dist/device/info.js.map +1 -0
- package/dist/device/network.d.ts +13 -0
- package/dist/device/network.d.ts.map +1 -0
- package/dist/device/network.js +7 -0
- package/dist/device/network.js.map +1 -0
- package/dist/device/wifi.d.ts +21 -0
- package/dist/device/wifi.d.ts.map +1 -0
- package/dist/device/wifi.js +7 -0
- package/dist/device/wifi.js.map +1 -0
- package/dist/display/index.d.ts +9 -0
- package/dist/display/index.d.ts.map +1 -0
- package/dist/display/index.js +7 -0
- package/dist/display/index.js.map +1 -0
- package/dist/error.d.ts +15 -0
- package/dist/error.d.ts.map +1 -0
- package/dist/error.js +85 -0
- package/dist/error.js.map +1 -0
- package/dist/file/index.d.ts +102 -0
- package/dist/file/index.d.ts.map +1 -0
- package/dist/file/index.js +7 -0
- package/dist/file/index.js.map +1 -0
- package/dist/generated/error.d.ts +165 -0
- package/dist/generated/error.d.ts.map +1 -0
- package/dist/generated/error.js +46 -0
- package/dist/generated/error.js.map +1 -0
- package/dist/generated/i18n.d.ts +3 -0
- package/dist/generated/i18n.d.ts.map +1 -0
- package/dist/generated/i18n.js +124 -0
- package/dist/generated/i18n.js.map +1 -0
- package/dist/index.d.ts +44 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/media/index.d.ts +233 -3
- package/dist/media/index.d.ts.map +1 -1
- package/dist/navigator/index.d.ts +10 -0
- package/dist/navigator/index.d.ts.map +1 -0
- package/dist/navigator/index.js +7 -0
- package/dist/navigator/index.js.map +1 -0
- package/dist/storage/index.d.ts +2 -7
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +2 -2
- package/dist/system/index.d.ts +3 -12
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +1 -1
- package/dist/update/index.d.ts +18 -0
- package/dist/update/index.d.ts.map +1 -0
- package/dist/update/index.js +7 -0
- package/dist/update/index.js.map +1 -0
- package/package.json +29 -3
- package/src/app/index.ts +9 -0
- package/src/device/actions.ts +8 -0
- package/src/device/index.ts +4 -46
- package/src/device/info.ts +18 -0
- package/src/device/network.ts +24 -0
- package/src/device/wifi.ts +24 -0
- package/src/display/index.ts +10 -0
- package/src/error.ts +82 -0
- package/src/file/index.ts +121 -0
- package/src/generated/error.ts +52 -0
- package/src/generated/i18n.ts +123 -0
- package/src/index.ts +65 -8
- package/src/media/index.ts +250 -3
- package/src/navigator/index.ts +10 -0
- package/src/storage/index.ts +2 -8
- package/src/system/index.ts +3 -14
- package/src/update/index.ts +20 -0
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import type { I18nKey } from "./i18n";
|
|
2
|
+
export declare const ERR_CODE_INFO_BY_CODE: {
|
|
3
|
+
readonly 1000: {
|
|
4
|
+
readonly code: 1000;
|
|
5
|
+
readonly key: "err_code_1000";
|
|
6
|
+
};
|
|
7
|
+
readonly 1001: {
|
|
8
|
+
readonly code: 1001;
|
|
9
|
+
readonly key: "err_code_1001";
|
|
10
|
+
};
|
|
11
|
+
readonly 1002: {
|
|
12
|
+
readonly code: 1002;
|
|
13
|
+
readonly key: "err_code_1002";
|
|
14
|
+
};
|
|
15
|
+
readonly 1003: {
|
|
16
|
+
readonly code: 1003;
|
|
17
|
+
readonly key: "err_code_1003";
|
|
18
|
+
};
|
|
19
|
+
readonly 1004: {
|
|
20
|
+
readonly code: 1004;
|
|
21
|
+
readonly key: "err_code_1004";
|
|
22
|
+
};
|
|
23
|
+
readonly 1005: {
|
|
24
|
+
readonly code: 1005;
|
|
25
|
+
readonly key: "err_code_1005";
|
|
26
|
+
};
|
|
27
|
+
readonly 2000: {
|
|
28
|
+
readonly code: 2000;
|
|
29
|
+
readonly key: "err_code_2000";
|
|
30
|
+
};
|
|
31
|
+
readonly 2001: {
|
|
32
|
+
readonly code: 2001;
|
|
33
|
+
readonly key: "err_code_2001";
|
|
34
|
+
};
|
|
35
|
+
readonly 3000: {
|
|
36
|
+
readonly code: 3000;
|
|
37
|
+
readonly key: "err_code_3000";
|
|
38
|
+
};
|
|
39
|
+
readonly 3001: {
|
|
40
|
+
readonly code: 3001;
|
|
41
|
+
readonly key: "err_code_3001";
|
|
42
|
+
};
|
|
43
|
+
readonly 3002: {
|
|
44
|
+
readonly code: 3002;
|
|
45
|
+
readonly key: "err_code_3002";
|
|
46
|
+
};
|
|
47
|
+
readonly 3003: {
|
|
48
|
+
readonly code: 3003;
|
|
49
|
+
readonly key: "err_code_3003";
|
|
50
|
+
};
|
|
51
|
+
readonly 3004: {
|
|
52
|
+
readonly code: 3004;
|
|
53
|
+
readonly key: "err_code_3004";
|
|
54
|
+
};
|
|
55
|
+
readonly 3005: {
|
|
56
|
+
readonly code: 3005;
|
|
57
|
+
readonly key: "err_code_3005";
|
|
58
|
+
};
|
|
59
|
+
readonly 3006: {
|
|
60
|
+
readonly code: 3006;
|
|
61
|
+
readonly key: "err_code_3006";
|
|
62
|
+
};
|
|
63
|
+
readonly 3007: {
|
|
64
|
+
readonly code: 3007;
|
|
65
|
+
readonly key: "err_code_3007";
|
|
66
|
+
};
|
|
67
|
+
readonly 4000: {
|
|
68
|
+
readonly code: 4000;
|
|
69
|
+
readonly key: "err_code_4000";
|
|
70
|
+
};
|
|
71
|
+
readonly 4001: {
|
|
72
|
+
readonly code: 4001;
|
|
73
|
+
readonly key: "err_code_4001";
|
|
74
|
+
};
|
|
75
|
+
readonly 4002: {
|
|
76
|
+
readonly code: 4002;
|
|
77
|
+
readonly key: "err_code_4002";
|
|
78
|
+
};
|
|
79
|
+
readonly 4003: {
|
|
80
|
+
readonly code: 4003;
|
|
81
|
+
readonly key: "err_code_4003";
|
|
82
|
+
};
|
|
83
|
+
readonly 5000: {
|
|
84
|
+
readonly code: 5000;
|
|
85
|
+
readonly key: "err_code_5000";
|
|
86
|
+
};
|
|
87
|
+
readonly 5001: {
|
|
88
|
+
readonly code: 5001;
|
|
89
|
+
readonly key: "err_code_5001";
|
|
90
|
+
};
|
|
91
|
+
readonly 5002: {
|
|
92
|
+
readonly code: 5002;
|
|
93
|
+
readonly key: "err_code_5002";
|
|
94
|
+
};
|
|
95
|
+
readonly 5003: {
|
|
96
|
+
readonly code: 5003;
|
|
97
|
+
readonly key: "err_code_5003";
|
|
98
|
+
};
|
|
99
|
+
readonly 5004: {
|
|
100
|
+
readonly code: 5004;
|
|
101
|
+
readonly key: "err_code_5004";
|
|
102
|
+
};
|
|
103
|
+
readonly 6000: {
|
|
104
|
+
readonly code: 6000;
|
|
105
|
+
readonly key: "err_code_6000";
|
|
106
|
+
};
|
|
107
|
+
readonly 6001: {
|
|
108
|
+
readonly code: 6001;
|
|
109
|
+
readonly key: "err_code_6001";
|
|
110
|
+
};
|
|
111
|
+
readonly 6002: {
|
|
112
|
+
readonly code: 6002;
|
|
113
|
+
readonly key: "err_code_6002";
|
|
114
|
+
};
|
|
115
|
+
readonly 12000: {
|
|
116
|
+
readonly code: 12000;
|
|
117
|
+
readonly key: "err_code_12000";
|
|
118
|
+
};
|
|
119
|
+
readonly 12001: {
|
|
120
|
+
readonly code: 12001;
|
|
121
|
+
readonly key: "err_code_12001";
|
|
122
|
+
};
|
|
123
|
+
readonly 12002: {
|
|
124
|
+
readonly code: 12002;
|
|
125
|
+
readonly key: "err_code_12002";
|
|
126
|
+
};
|
|
127
|
+
readonly 12003: {
|
|
128
|
+
readonly code: 12003;
|
|
129
|
+
readonly key: "err_code_12003";
|
|
130
|
+
};
|
|
131
|
+
readonly 12004: {
|
|
132
|
+
readonly code: 12004;
|
|
133
|
+
readonly key: "err_code_12004";
|
|
134
|
+
};
|
|
135
|
+
readonly 12005: {
|
|
136
|
+
readonly code: 12005;
|
|
137
|
+
readonly key: "err_code_12005";
|
|
138
|
+
};
|
|
139
|
+
readonly 12006: {
|
|
140
|
+
readonly code: 12006;
|
|
141
|
+
readonly key: "err_code_12006";
|
|
142
|
+
};
|
|
143
|
+
readonly 12007: {
|
|
144
|
+
readonly code: 12007;
|
|
145
|
+
readonly key: "err_code_12007";
|
|
146
|
+
};
|
|
147
|
+
readonly 12008: {
|
|
148
|
+
readonly code: 12008;
|
|
149
|
+
readonly key: "err_code_12008";
|
|
150
|
+
};
|
|
151
|
+
readonly 12009: {
|
|
152
|
+
readonly code: 12009;
|
|
153
|
+
readonly key: "err_code_12009";
|
|
154
|
+
};
|
|
155
|
+
readonly 12010: {
|
|
156
|
+
readonly code: 12010;
|
|
157
|
+
readonly key: "err_code_12010";
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
export type LxErrorCode = (typeof ERR_CODE_INFO_BY_CODE)[keyof typeof ERR_CODE_INFO_BY_CODE]["code"];
|
|
161
|
+
export interface LxErrorCodeInfo {
|
|
162
|
+
readonly code: LxErrorCode;
|
|
163
|
+
readonly key: I18nKey;
|
|
164
|
+
}
|
|
165
|
+
//# sourceMappingURL=error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/generated/error.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCxB,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AACrG,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Auto-generated by lingxia-gen. DO NOT EDIT.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ERR_CODE_INFO_BY_CODE = void 0;
|
|
5
|
+
exports.ERR_CODE_INFO_BY_CODE = {
|
|
6
|
+
1000: { code: 1000, key: "err_code_1000" },
|
|
7
|
+
1001: { code: 1001, key: "err_code_1001" },
|
|
8
|
+
1002: { code: 1002, key: "err_code_1002" },
|
|
9
|
+
1003: { code: 1003, key: "err_code_1003" },
|
|
10
|
+
1004: { code: 1004, key: "err_code_1004" },
|
|
11
|
+
1005: { code: 1005, key: "err_code_1005" },
|
|
12
|
+
2000: { code: 2000, key: "err_code_2000" },
|
|
13
|
+
2001: { code: 2001, key: "err_code_2001" },
|
|
14
|
+
3000: { code: 3000, key: "err_code_3000" },
|
|
15
|
+
3001: { code: 3001, key: "err_code_3001" },
|
|
16
|
+
3002: { code: 3002, key: "err_code_3002" },
|
|
17
|
+
3003: { code: 3003, key: "err_code_3003" },
|
|
18
|
+
3004: { code: 3004, key: "err_code_3004" },
|
|
19
|
+
3005: { code: 3005, key: "err_code_3005" },
|
|
20
|
+
3006: { code: 3006, key: "err_code_3006" },
|
|
21
|
+
3007: { code: 3007, key: "err_code_3007" },
|
|
22
|
+
4000: { code: 4000, key: "err_code_4000" },
|
|
23
|
+
4001: { code: 4001, key: "err_code_4001" },
|
|
24
|
+
4002: { code: 4002, key: "err_code_4002" },
|
|
25
|
+
4003: { code: 4003, key: "err_code_4003" },
|
|
26
|
+
5000: { code: 5000, key: "err_code_5000" },
|
|
27
|
+
5001: { code: 5001, key: "err_code_5001" },
|
|
28
|
+
5002: { code: 5002, key: "err_code_5002" },
|
|
29
|
+
5003: { code: 5003, key: "err_code_5003" },
|
|
30
|
+
5004: { code: 5004, key: "err_code_5004" },
|
|
31
|
+
6000: { code: 6000, key: "err_code_6000" },
|
|
32
|
+
6001: { code: 6001, key: "err_code_6001" },
|
|
33
|
+
6002: { code: 6002, key: "err_code_6002" },
|
|
34
|
+
12000: { code: 12000, key: "err_code_12000" },
|
|
35
|
+
12001: { code: 12001, key: "err_code_12001" },
|
|
36
|
+
12002: { code: 12002, key: "err_code_12002" },
|
|
37
|
+
12003: { code: 12003, key: "err_code_12003" },
|
|
38
|
+
12004: { code: 12004, key: "err_code_12004" },
|
|
39
|
+
12005: { code: 12005, key: "err_code_12005" },
|
|
40
|
+
12006: { code: 12006, key: "err_code_12006" },
|
|
41
|
+
12007: { code: 12007, key: "err_code_12007" },
|
|
42
|
+
12008: { code: 12008, key: "err_code_12008" },
|
|
43
|
+
12009: { code: 12009, key: "err_code_12009" },
|
|
44
|
+
12010: { code: 12010, key: "err_code_12010" },
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../src/generated/error.ts"],"names":[],"mappings":";AAAA,8CAA8C;;;AAIjC,QAAA,qBAAqB,GAAG;IACnC,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,EAAE;IAC1C,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,EAAE;IAC1C,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,EAAE;IAC1C,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,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AE;IAC7C,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,gBAAgB,EAAE;IAC7C,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,gBAAgB,EAAE;CACrC,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const I18N_KEYS: readonly ["album_add_more_media", "album_add_more_photos", "album_add_more_videos", "album_all_media", "album_all_photos", "album_all_videos", "album_label", "album_original_image", "album_selected", "camera_access_denied", "camera_audio_init_failed", "camera_cancelling", "camera_init_failed", "camera_label", "camera_long_press_to_record", "camera_max_duration_reached", "camera_preparing", "camera_record_video", "camera_release_to_stop", "camera_switch", "camera_switch_failed", "camera_switch_to_back", "camera_switch_to_front", "camera_switching", "camera_tap_to_capture", "camera_tap_to_record", "camera_tap_to_stop", "camera_video_input_failed", "camera_video_output_failed", "capsule_clean_cache", "capsule_restart", "capsule_uninstall", "common_auto", "common_back", "common_cancel", "common_close", "common_confirm", "common_delete", "common_done", "common_edit", "common_home", "common_loading", "common_ok", "common_retry", "common_save", "common_settings", "common_share", "common_success", "common_warning", "date_last_30_days", "date_last_7_days", "date_last_month", "date_last_week", "date_this_month", "date_this_week", "document_pdf_page_preview", "err_code_1000", "err_code_1001", "err_code_1002", "err_code_1003", "err_code_1004", "err_code_1005", "err_code_12000", "err_code_12001", "err_code_12002", "err_code_12003", "err_code_12004", "err_code_12005", "err_code_12006", "err_code_12007", "err_code_12008", "err_code_12009", "err_code_12010", "err_code_2000", "err_code_2001", "err_code_3000", "err_code_3001", "err_code_3002", "err_code_3003", "err_code_3004", "err_code_3005", "err_code_3006", "err_code_3007", "err_code_4000", "err_code_4001", "err_code_4002", "err_code_4003", "err_code_5000", "err_code_5001", "err_code_5002", "err_code_5003", "err_code_5004", "err_code_6000", "err_code_6001", "err_code_6002", "error_network_error", "error_save_failed", "error_server_error", "error_timeout", "error_unauthorized", "error_unknown", "error_video_too_short", "permission_limited_access_add_more_media", "permission_limited_access_add_more_photos", "permission_limited_access_add_more_videos", "permission_limited_access_warning", "permission_location_reason", "permission_media_reason", "permission_network_reason", "permission_wifi_reason", "update_confirm", "update_download_failed", "update_downloading", "update_message", "update_title", "video_quality", "video_speed"];
|
|
2
|
+
export type I18nKey = (typeof I18N_KEYS)[number];
|
|
3
|
+
//# sourceMappingURL=i18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/generated/i18n.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,o2EAsHZ,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Auto-generated by lingxia-gen. DO NOT EDIT.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.I18N_KEYS = void 0;
|
|
5
|
+
exports.I18N_KEYS = [
|
|
6
|
+
"album_add_more_media",
|
|
7
|
+
"album_add_more_photos",
|
|
8
|
+
"album_add_more_videos",
|
|
9
|
+
"album_all_media",
|
|
10
|
+
"album_all_photos",
|
|
11
|
+
"album_all_videos",
|
|
12
|
+
"album_label",
|
|
13
|
+
"album_original_image",
|
|
14
|
+
"album_selected",
|
|
15
|
+
"camera_access_denied",
|
|
16
|
+
"camera_audio_init_failed",
|
|
17
|
+
"camera_cancelling",
|
|
18
|
+
"camera_init_failed",
|
|
19
|
+
"camera_label",
|
|
20
|
+
"camera_long_press_to_record",
|
|
21
|
+
"camera_max_duration_reached",
|
|
22
|
+
"camera_preparing",
|
|
23
|
+
"camera_record_video",
|
|
24
|
+
"camera_release_to_stop",
|
|
25
|
+
"camera_switch",
|
|
26
|
+
"camera_switch_failed",
|
|
27
|
+
"camera_switch_to_back",
|
|
28
|
+
"camera_switch_to_front",
|
|
29
|
+
"camera_switching",
|
|
30
|
+
"camera_tap_to_capture",
|
|
31
|
+
"camera_tap_to_record",
|
|
32
|
+
"camera_tap_to_stop",
|
|
33
|
+
"camera_video_input_failed",
|
|
34
|
+
"camera_video_output_failed",
|
|
35
|
+
"capsule_clean_cache",
|
|
36
|
+
"capsule_restart",
|
|
37
|
+
"capsule_uninstall",
|
|
38
|
+
"common_auto",
|
|
39
|
+
"common_back",
|
|
40
|
+
"common_cancel",
|
|
41
|
+
"common_close",
|
|
42
|
+
"common_confirm",
|
|
43
|
+
"common_delete",
|
|
44
|
+
"common_done",
|
|
45
|
+
"common_edit",
|
|
46
|
+
"common_home",
|
|
47
|
+
"common_loading",
|
|
48
|
+
"common_ok",
|
|
49
|
+
"common_retry",
|
|
50
|
+
"common_save",
|
|
51
|
+
"common_settings",
|
|
52
|
+
"common_share",
|
|
53
|
+
"common_success",
|
|
54
|
+
"common_warning",
|
|
55
|
+
"date_last_30_days",
|
|
56
|
+
"date_last_7_days",
|
|
57
|
+
"date_last_month",
|
|
58
|
+
"date_last_week",
|
|
59
|
+
"date_this_month",
|
|
60
|
+
"date_this_week",
|
|
61
|
+
"document_pdf_page_preview",
|
|
62
|
+
"err_code_1000",
|
|
63
|
+
"err_code_1001",
|
|
64
|
+
"err_code_1002",
|
|
65
|
+
"err_code_1003",
|
|
66
|
+
"err_code_1004",
|
|
67
|
+
"err_code_1005",
|
|
68
|
+
"err_code_12000",
|
|
69
|
+
"err_code_12001",
|
|
70
|
+
"err_code_12002",
|
|
71
|
+
"err_code_12003",
|
|
72
|
+
"err_code_12004",
|
|
73
|
+
"err_code_12005",
|
|
74
|
+
"err_code_12006",
|
|
75
|
+
"err_code_12007",
|
|
76
|
+
"err_code_12008",
|
|
77
|
+
"err_code_12009",
|
|
78
|
+
"err_code_12010",
|
|
79
|
+
"err_code_2000",
|
|
80
|
+
"err_code_2001",
|
|
81
|
+
"err_code_3000",
|
|
82
|
+
"err_code_3001",
|
|
83
|
+
"err_code_3002",
|
|
84
|
+
"err_code_3003",
|
|
85
|
+
"err_code_3004",
|
|
86
|
+
"err_code_3005",
|
|
87
|
+
"err_code_3006",
|
|
88
|
+
"err_code_3007",
|
|
89
|
+
"err_code_4000",
|
|
90
|
+
"err_code_4001",
|
|
91
|
+
"err_code_4002",
|
|
92
|
+
"err_code_4003",
|
|
93
|
+
"err_code_5000",
|
|
94
|
+
"err_code_5001",
|
|
95
|
+
"err_code_5002",
|
|
96
|
+
"err_code_5003",
|
|
97
|
+
"err_code_5004",
|
|
98
|
+
"err_code_6000",
|
|
99
|
+
"err_code_6001",
|
|
100
|
+
"err_code_6002",
|
|
101
|
+
"error_network_error",
|
|
102
|
+
"error_save_failed",
|
|
103
|
+
"error_server_error",
|
|
104
|
+
"error_timeout",
|
|
105
|
+
"error_unauthorized",
|
|
106
|
+
"error_unknown",
|
|
107
|
+
"error_video_too_short",
|
|
108
|
+
"permission_limited_access_add_more_media",
|
|
109
|
+
"permission_limited_access_add_more_photos",
|
|
110
|
+
"permission_limited_access_add_more_videos",
|
|
111
|
+
"permission_limited_access_warning",
|
|
112
|
+
"permission_location_reason",
|
|
113
|
+
"permission_media_reason",
|
|
114
|
+
"permission_network_reason",
|
|
115
|
+
"permission_wifi_reason",
|
|
116
|
+
"update_confirm",
|
|
117
|
+
"update_download_failed",
|
|
118
|
+
"update_downloading",
|
|
119
|
+
"update_message",
|
|
120
|
+
"update_title",
|
|
121
|
+
"video_quality",
|
|
122
|
+
"video_speed",
|
|
123
|
+
];
|
|
124
|
+
//# sourceMappingURL=i18n.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../src/generated/i18n.ts"],"names":[],"mappings":";AAAA,8CAA8C;;;AAEjC,QAAA,SAAS,GAAG;IACvB,sBAAsB;IACtB,uBAAuB;IACvB,uBAAuB;IACvB,iBAAiB;IACjB,kBAAkB;IAClB,kBAAkB;IAClB,aAAa;IACb,sBAAsB;IACtB,gBAAgB;IAChB,sBAAsB;IACt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C;IACnC,4BAA4B;IAC5B,yBAAyB;IACzB,2BAA2B;IAC3B,wBAAwB;IACxB,gBAAgB;IAChB,wBAAwB;IACxB,oBAAoB;IACpB,gBAAgB;IAChB,cAAc;IACd,eAAe;IACf,aAAa;CACL,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,19 +5,30 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export * from './app';
|
|
7
7
|
export * from './device';
|
|
8
|
+
export * from './display';
|
|
8
9
|
export * from './input';
|
|
9
10
|
export * from './storage';
|
|
11
|
+
export * from './file';
|
|
10
12
|
export * from './location';
|
|
13
|
+
export * from './navigator';
|
|
11
14
|
export * from './system';
|
|
15
|
+
export * from './update';
|
|
12
16
|
export * from './media';
|
|
13
17
|
export * from './ui';
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
export * from './error';
|
|
19
|
+
export * from './generated/error';
|
|
20
|
+
export * from './generated/i18n';
|
|
21
|
+
import type { AppConfig, AppInstance, LxAppInfo, PageConfig, PageInstance } from './app';
|
|
22
|
+
import type { DeviceInfo, ScreenInfo, MakePhoneCallOptions, WifiInfo, ConnectWifiOptions, WifiConnectedCallback, NetworkInfo, NetworkChangeCallback } from './device';
|
|
16
23
|
import type { KeyEventCallback } from './input';
|
|
17
|
-
import type { LxEnv, Storage
|
|
24
|
+
import type { LxEnv, Storage } from './storage';
|
|
25
|
+
import type { OpenDocumentOptions, ChooseDirectoryOptions, ChooseDirectoryResult, ChooseFileOptions, ChooseFileResult, DownloadTask, DownloadOptions } from './file';
|
|
26
|
+
import type { DeviceOrientation, DeviceOrientationChangeEvent } from './display';
|
|
18
27
|
import type { GetLocationOptions, LocationInfo } from './location';
|
|
19
|
-
import type { AppBaseInfo, SystemSettingInfo, OpenURLOptions
|
|
20
|
-
import type {
|
|
28
|
+
import type { AppBaseInfo, SystemSettingInfo, OpenURLOptions } from './system';
|
|
29
|
+
import type { NavigateToLxAppOptions } from './navigator';
|
|
30
|
+
import type { UpdateManager } from './update';
|
|
31
|
+
import type { GetImageInfoOptions, ImageInfo, CompressImageOptions, CompressImageResult, CompressVideoOptions, CompressVideoResult, GetVideoInfoOptions, VideoInfo, ExtractVideoThumbnailOptions, ExtractVideoThumbnailResult, ChooseMediaOptions, ChosenMediaEntry, PreviewMediaOptions, PreviewMediaResult, SaveMediaOptions, ScanCodeOptions, ScanCodeResult, VideoContext } from './media';
|
|
21
32
|
import type { ShowToastOptions, ShowModalOptions, ModalResult, ShowActionSheetOptions, ActionSheetResult, NavigateToOptions, NavigateToResult, NavigateBackOptions, RedirectToOptions, SwitchTabOptions, ReLaunchOptions, SetNavigationBarTitleOptions, SetNavigationBarColorOptions, TabBarRedDotOptions, SetTabBarBadgeOptions, RemoveTabBarBadgeOptions, SetTabBarStyleOptions, SetTabBarItemOptions, ShowPopupOptions, ShowPopupResult, CapsuleRect } from './ui';
|
|
22
33
|
export interface Lx {
|
|
23
34
|
env: LxEnv;
|
|
@@ -33,21 +44,42 @@ export interface Lx {
|
|
|
33
44
|
getConnectedWifi(): Promise<WifiInfo>;
|
|
34
45
|
onWifiConnected(callback: WifiConnectedCallback): void;
|
|
35
46
|
offWifiConnected(callback?: WifiConnectedCallback): void;
|
|
36
|
-
|
|
37
|
-
|
|
47
|
+
getNetworkInfo(): Promise<NetworkInfo>;
|
|
48
|
+
onNetworkChange(callback: NetworkChangeCallback): void;
|
|
49
|
+
offNetworkChange(callback?: NetworkChangeCallback): void;
|
|
50
|
+
setDeviceOrientation(orientation: DeviceOrientation): boolean;
|
|
51
|
+
onDeviceOrientationChange(callback: (event: DeviceOrientationChangeEvent) => void): void;
|
|
52
|
+
offDeviceOrientationChange(callback?: (event: DeviceOrientationChangeEvent) => void): void;
|
|
38
53
|
openDocument(options: OpenDocumentOptions): void;
|
|
54
|
+
downloadFile(options: DownloadOptions): DownloadTask;
|
|
39
55
|
getStorage(): Storage;
|
|
40
56
|
getLocation(options?: GetLocationOptions): Promise<LocationInfo>;
|
|
41
57
|
navigateToLxApp(options: NavigateToLxAppOptions): Promise<void>;
|
|
42
58
|
navigateBackLxApp(): Promise<void>;
|
|
43
59
|
getAppBaseInfo(): AppBaseInfo;
|
|
60
|
+
getLxAppInfo(): LxAppInfo;
|
|
44
61
|
getSystemSetting(): SystemSettingInfo;
|
|
45
62
|
openURL(options: OpenURLOptions): void;
|
|
46
63
|
getUpdateManager(): UpdateManager;
|
|
47
64
|
getImageInfo(options: GetImageInfoOptions): Promise<ImageInfo>;
|
|
48
65
|
compressImage(options: CompressImageOptions): Promise<CompressImageResult>;
|
|
66
|
+
compressVideo(options: CompressVideoOptions): Promise<CompressVideoResult>;
|
|
67
|
+
getVideoInfo(options: GetVideoInfoOptions): Promise<VideoInfo>;
|
|
68
|
+
extractVideoThumbnail(options: ExtractVideoThumbnailOptions): Promise<ExtractVideoThumbnailResult>;
|
|
49
69
|
chooseMedia(options?: ChooseMediaOptions): Promise<ChosenMediaEntry[]>;
|
|
50
|
-
|
|
70
|
+
/**
|
|
71
|
+
* Opens native media preview.
|
|
72
|
+
*
|
|
73
|
+
* Supports:
|
|
74
|
+
* - a single source path string for the simplest case
|
|
75
|
+
* - a single-item object for per-item options like `rotate`, `objectFit`, or `durationMs`
|
|
76
|
+
* - a sequence object for multi-item preview with `sources`, `startIndex`, and `advance`
|
|
77
|
+
*
|
|
78
|
+
* Resolves when preview session is closed (manual/auto/interrupted/error).
|
|
79
|
+
* Rejects with a cancellation error if `signal` is aborted, and abort also requests
|
|
80
|
+
* the active native preview session to close immediately.
|
|
81
|
+
*/
|
|
82
|
+
previewMedia(options: PreviewMediaOptions): Promise<PreviewMediaResult>;
|
|
51
83
|
saveImageToPhotosAlbum(options: SaveMediaOptions): Promise<void>;
|
|
52
84
|
saveVideoToPhotosAlbum(options: SaveMediaOptions): Promise<void>;
|
|
53
85
|
scanCode(options?: ScanCodeOptions): Promise<ScanCodeResult>;
|
|
@@ -77,6 +109,10 @@ export interface Lx {
|
|
|
77
109
|
startPullDownRefresh(): void;
|
|
78
110
|
stopPullDownRefresh(): void;
|
|
79
111
|
getCapsuleRect(): Promise<CapsuleRect>;
|
|
112
|
+
/** Desktop only. Currently supported on macOS. Windows is planned. */
|
|
113
|
+
chooseFile(options?: ChooseFileOptions): Promise<ChooseFileResult>;
|
|
114
|
+
/** Desktop only. Currently supported on macOS. Windows is planned. */
|
|
115
|
+
chooseDirectory(options?: ChooseDirectoryOptions): Promise<ChooseDirectoryResult>;
|
|
80
116
|
onKeyDown(callback: KeyEventCallback): void;
|
|
81
117
|
offKeyDown(callback?: KeyEventCallback): void;
|
|
82
118
|
onKeyUp(callback: KeyEventCallback): void;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AAEjC,OAAO,KAAK,EACV,SAAS,EACT,WAAW,EACX,SAAS,EACT,UAAU,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,eAAe,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,KAAK,CAAC,EAAE,CAAC;CACxE;AAED,OAAO,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -21,10 +21,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
__exportStar(require("./app"), exports);
|
|
23
23
|
__exportStar(require("./device"), exports);
|
|
24
|
+
__exportStar(require("./display"), exports);
|
|
24
25
|
__exportStar(require("./input"), exports);
|
|
25
26
|
__exportStar(require("./storage"), exports);
|
|
27
|
+
__exportStar(require("./file"), exports);
|
|
26
28
|
__exportStar(require("./location"), exports);
|
|
29
|
+
__exportStar(require("./navigator"), exports);
|
|
27
30
|
__exportStar(require("./system"), exports);
|
|
31
|
+
__exportStar(require("./update"), exports);
|
|
28
32
|
__exportStar(require("./media"), exports);
|
|
29
33
|
__exportStar(require("./ui"), exports);
|
|
34
|
+
__exportStar(require("./error"), exports);
|
|
35
|
+
__exportStar(require("./generated/error"), exports);
|
|
36
|
+
__exportStar(require("./generated/i18n"), exports);
|
|
30
37
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAEH,wCAAsB;AACtB,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,uCAAqB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAEH,wCAAsB;AACtB,2CAAyB;AACzB,4CAA0B;AAC1B,0CAAwB;AACxB,4CAA0B;AAC1B,yCAAuB;AACvB,6CAA2B;AAC3B,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,0CAAwB;AACxB,uCAAqB;AACrB,0CAAwB;AACxB,oDAAkC;AAClC,mDAAiC"}
|