@arkts/image-manager 0.4.3 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -75
- package/dist/default-emulator-config.d.cts +274 -3
- package/dist/default-emulator-config.d.mts +274 -3
- package/dist/default-product-config.cjs +8 -0
- package/dist/default-product-config.d.cts +379 -3
- package/dist/default-product-config.d.mts +379 -3
- package/dist/default-product-config.mjs +8 -0
- package/dist/index.cjs +1383 -1063
- package/dist/index.d.cts +1113 -537
- package/dist/index.d.mts +1112 -536
- package/dist/index.mjs +1307 -1034
- package/package.json +7 -2
- package/dist/emulator-config-DbI3FRE5.d.mts +0 -64
- package/dist/emulator-config-HeXlMqZ-.d.cts +0 -64
- package/dist/product-config-ByDVg0-5.d.mts +0 -67
- package/dist/product-config-DuzOJEvZ.d.cts +0 -67
- package/dist/types-CayFonNb.d.cts +0 -16
- package/dist/types-DD8_iqBV.d.mts +0 -16
|
@@ -1,6 +1,382 @@
|
|
|
1
|
-
import { t as ProductConfig } from "./product-config-ByDVg0-5.mjs";
|
|
2
|
-
|
|
3
1
|
//#region src/default-product-config.d.ts
|
|
4
|
-
declare const _default:
|
|
2
|
+
declare const _default: {
|
|
3
|
+
Phone: ({
|
|
4
|
+
name: "nova 15 Pro、nova 15 Ultra";
|
|
5
|
+
screenWidth: string;
|
|
6
|
+
screenHeight: string;
|
|
7
|
+
screenDiagonal: string;
|
|
8
|
+
screenDensity: string;
|
|
9
|
+
oneCutoutPath: string;
|
|
10
|
+
visible: true;
|
|
11
|
+
devModel: string;
|
|
12
|
+
} | {
|
|
13
|
+
name: "nova 15";
|
|
14
|
+
screenWidth: string;
|
|
15
|
+
screenHeight: string;
|
|
16
|
+
screenDiagonal: string;
|
|
17
|
+
screenDensity: string;
|
|
18
|
+
oneCutoutPath: string;
|
|
19
|
+
visible: true;
|
|
20
|
+
devModel: string;
|
|
21
|
+
} | {
|
|
22
|
+
name: "Mate 80 Pro Max、Mate 80 RS";
|
|
23
|
+
screenWidth: string;
|
|
24
|
+
screenHeight: string;
|
|
25
|
+
screenDiagonal: string;
|
|
26
|
+
screenDensity: string;
|
|
27
|
+
visible: true;
|
|
28
|
+
devModel: string;
|
|
29
|
+
oneCutoutPath?: undefined;
|
|
30
|
+
} | {
|
|
31
|
+
name: "Mate 80、Mate 80 Pro";
|
|
32
|
+
screenWidth: string;
|
|
33
|
+
screenHeight: string;
|
|
34
|
+
screenDiagonal: string;
|
|
35
|
+
screenDensity: string;
|
|
36
|
+
visible: true;
|
|
37
|
+
devModel: string;
|
|
38
|
+
oneCutoutPath?: undefined;
|
|
39
|
+
} | {
|
|
40
|
+
name: "Mate 70 Pro、Mate 70 Pro+、Mate 70 RS";
|
|
41
|
+
screenWidth: string;
|
|
42
|
+
screenHeight: string;
|
|
43
|
+
screenDiagonal: string;
|
|
44
|
+
screenDensity: string;
|
|
45
|
+
visible: true;
|
|
46
|
+
devModel: string;
|
|
47
|
+
oneCutoutPath?: undefined;
|
|
48
|
+
} | {
|
|
49
|
+
name: "Mate 70";
|
|
50
|
+
screenWidth: string;
|
|
51
|
+
screenHeight: string;
|
|
52
|
+
screenDiagonal: string;
|
|
53
|
+
screenDensity: string;
|
|
54
|
+
visible: true;
|
|
55
|
+
devModel: string;
|
|
56
|
+
oneCutoutPath?: undefined;
|
|
57
|
+
} | {
|
|
58
|
+
name: "Mate 70 Air";
|
|
59
|
+
screenWidth: string;
|
|
60
|
+
screenHeight: string;
|
|
61
|
+
screenDiagonal: string;
|
|
62
|
+
screenDensity: string;
|
|
63
|
+
visible: true;
|
|
64
|
+
devModel: string;
|
|
65
|
+
oneCutoutPath?: undefined;
|
|
66
|
+
} | {
|
|
67
|
+
name: "Mate 60 Pro、Mate 60 Pro+、Mate 60 RS";
|
|
68
|
+
screenWidth: string;
|
|
69
|
+
screenHeight: string;
|
|
70
|
+
screenDiagonal: string;
|
|
71
|
+
screenDensity: string;
|
|
72
|
+
visible: true;
|
|
73
|
+
devModel: string;
|
|
74
|
+
oneCutoutPath?: undefined;
|
|
75
|
+
} | {
|
|
76
|
+
name: "Mate 60";
|
|
77
|
+
screenWidth: string;
|
|
78
|
+
screenHeight: string;
|
|
79
|
+
screenDiagonal: string;
|
|
80
|
+
screenDensity: string;
|
|
81
|
+
visible: true;
|
|
82
|
+
devModel: string;
|
|
83
|
+
oneCutoutPath?: undefined;
|
|
84
|
+
} | {
|
|
85
|
+
name: "Pura 80 Pro、Pura 80 Pro+、Pura 80 Ultra";
|
|
86
|
+
screenWidth: string;
|
|
87
|
+
screenHeight: string;
|
|
88
|
+
screenDiagonal: string;
|
|
89
|
+
screenDensity: string;
|
|
90
|
+
visible: true;
|
|
91
|
+
devModel: string;
|
|
92
|
+
oneCutoutPath?: undefined;
|
|
93
|
+
} | {
|
|
94
|
+
name: "Pura 80";
|
|
95
|
+
screenWidth: string;
|
|
96
|
+
screenHeight: string;
|
|
97
|
+
screenDiagonal: string;
|
|
98
|
+
screenDensity: string;
|
|
99
|
+
visible: true;
|
|
100
|
+
devModel: string;
|
|
101
|
+
oneCutoutPath?: undefined;
|
|
102
|
+
} | {
|
|
103
|
+
name: "Pura 70 Pro、Pura 70 Pro+、Pura 70 Ultra";
|
|
104
|
+
screenWidth: string;
|
|
105
|
+
screenHeight: string;
|
|
106
|
+
screenDiagonal: string;
|
|
107
|
+
screenDensity: string;
|
|
108
|
+
visible: true;
|
|
109
|
+
devModel: string;
|
|
110
|
+
oneCutoutPath?: undefined;
|
|
111
|
+
} | {
|
|
112
|
+
name: "Pura 70";
|
|
113
|
+
screenWidth: string;
|
|
114
|
+
screenHeight: string;
|
|
115
|
+
screenDiagonal: string;
|
|
116
|
+
screenDensity: string;
|
|
117
|
+
visible: true;
|
|
118
|
+
devModel: string;
|
|
119
|
+
oneCutoutPath?: undefined;
|
|
120
|
+
} | {
|
|
121
|
+
name: "nova 14 Ultra";
|
|
122
|
+
screenWidth: string;
|
|
123
|
+
screenHeight: string;
|
|
124
|
+
screenDiagonal: string;
|
|
125
|
+
screenDensity: string;
|
|
126
|
+
visible: true;
|
|
127
|
+
devModel: string;
|
|
128
|
+
oneCutoutPath?: undefined;
|
|
129
|
+
} | {
|
|
130
|
+
name: "nova 14 Pro";
|
|
131
|
+
screenWidth: string;
|
|
132
|
+
screenHeight: string;
|
|
133
|
+
screenDiagonal: string;
|
|
134
|
+
screenDensity: string;
|
|
135
|
+
visible: true;
|
|
136
|
+
oneCutoutPath?: undefined;
|
|
137
|
+
devModel?: undefined;
|
|
138
|
+
} | {
|
|
139
|
+
name: "nova 14";
|
|
140
|
+
screenWidth: string;
|
|
141
|
+
screenHeight: string;
|
|
142
|
+
screenDiagonal: string;
|
|
143
|
+
screenDensity: string;
|
|
144
|
+
visible: true;
|
|
145
|
+
devModel: string;
|
|
146
|
+
oneCutoutPath?: undefined;
|
|
147
|
+
} | {
|
|
148
|
+
name: "nova 13 Pro";
|
|
149
|
+
screenWidth: string;
|
|
150
|
+
screenHeight: string;
|
|
151
|
+
screenDiagonal: string;
|
|
152
|
+
screenDensity: string;
|
|
153
|
+
visible: true;
|
|
154
|
+
devModel: string;
|
|
155
|
+
oneCutoutPath?: undefined;
|
|
156
|
+
} | {
|
|
157
|
+
name: "nova 13";
|
|
158
|
+
screenWidth: string;
|
|
159
|
+
screenHeight: string;
|
|
160
|
+
screenDiagonal: string;
|
|
161
|
+
screenDensity: string;
|
|
162
|
+
visible: true;
|
|
163
|
+
devModel: string;
|
|
164
|
+
oneCutoutPath?: undefined;
|
|
165
|
+
} | {
|
|
166
|
+
name: "nova 12 Pro、nova 12 Ultra";
|
|
167
|
+
screenWidth: string;
|
|
168
|
+
screenHeight: string;
|
|
169
|
+
screenDiagonal: string;
|
|
170
|
+
screenDensity: string;
|
|
171
|
+
visible: true;
|
|
172
|
+
devModel: string;
|
|
173
|
+
oneCutoutPath?: undefined;
|
|
174
|
+
} | {
|
|
175
|
+
name: "nova 12";
|
|
176
|
+
screenWidth: string;
|
|
177
|
+
screenHeight: string;
|
|
178
|
+
screenDiagonal: string;
|
|
179
|
+
screenDensity: string;
|
|
180
|
+
visible: true;
|
|
181
|
+
devModel: string;
|
|
182
|
+
oneCutoutPath?: undefined;
|
|
183
|
+
} | {
|
|
184
|
+
name: "Pocket 2";
|
|
185
|
+
screenWidth: string;
|
|
186
|
+
screenHeight: string;
|
|
187
|
+
screenDiagonal: string;
|
|
188
|
+
screenDensity: string;
|
|
189
|
+
visible: true;
|
|
190
|
+
devModel: string;
|
|
191
|
+
oneCutoutPath?: undefined;
|
|
192
|
+
} | {
|
|
193
|
+
name: "nova flip、nova flip S";
|
|
194
|
+
screenWidth: string;
|
|
195
|
+
screenHeight: string;
|
|
196
|
+
screenDiagonal: string;
|
|
197
|
+
screenDensity: string;
|
|
198
|
+
visible: true;
|
|
199
|
+
devModel: string;
|
|
200
|
+
oneCutoutPath?: undefined;
|
|
201
|
+
} | {
|
|
202
|
+
name: "Customize";
|
|
203
|
+
screenWidth: string;
|
|
204
|
+
screenHeight: string;
|
|
205
|
+
screenDiagonal: string;
|
|
206
|
+
screenDensity: string;
|
|
207
|
+
visible: true;
|
|
208
|
+
devModel: string;
|
|
209
|
+
oneCutoutPath?: undefined;
|
|
210
|
+
})[];
|
|
211
|
+
Tablet: ({
|
|
212
|
+
name: "MatePad Pro 11";
|
|
213
|
+
screenWidth: string;
|
|
214
|
+
screenHeight: string;
|
|
215
|
+
screenDiagonal: string;
|
|
216
|
+
screenDensity: string;
|
|
217
|
+
visible: true;
|
|
218
|
+
} | {
|
|
219
|
+
name: "MatePad Pro 12";
|
|
220
|
+
screenWidth: string;
|
|
221
|
+
screenHeight: string;
|
|
222
|
+
screenDiagonal: string;
|
|
223
|
+
screenDensity: string;
|
|
224
|
+
visible: true;
|
|
225
|
+
} | {
|
|
226
|
+
name: "MatePad Pro 13";
|
|
227
|
+
screenWidth: string;
|
|
228
|
+
screenHeight: string;
|
|
229
|
+
screenDiagonal: string;
|
|
230
|
+
screenDensity: string;
|
|
231
|
+
visible: true;
|
|
232
|
+
} | {
|
|
233
|
+
name: "MatePad 11 S";
|
|
234
|
+
screenWidth: string;
|
|
235
|
+
screenHeight: string;
|
|
236
|
+
screenDiagonal: string;
|
|
237
|
+
screenDensity: string;
|
|
238
|
+
visible: true;
|
|
239
|
+
} | {
|
|
240
|
+
name: "MatePad Air 12";
|
|
241
|
+
screenWidth: string;
|
|
242
|
+
screenHeight: string;
|
|
243
|
+
screenDiagonal: string;
|
|
244
|
+
screenDensity: string;
|
|
245
|
+
visible: true;
|
|
246
|
+
} | {
|
|
247
|
+
name: "Customize";
|
|
248
|
+
screenWidth: string;
|
|
249
|
+
screenHeight: string;
|
|
250
|
+
screenDiagonal: string;
|
|
251
|
+
screenDensity: string;
|
|
252
|
+
visible: true;
|
|
253
|
+
})[];
|
|
254
|
+
'2in1': ({
|
|
255
|
+
name: "MateBook Pro";
|
|
256
|
+
screenWidth: string;
|
|
257
|
+
screenHeight: string;
|
|
258
|
+
screenDiagonal: string;
|
|
259
|
+
screenDensity: string;
|
|
260
|
+
visible: true;
|
|
261
|
+
devModel: string;
|
|
262
|
+
} | {
|
|
263
|
+
name: "Customize";
|
|
264
|
+
screenWidth: string;
|
|
265
|
+
screenHeight: string;
|
|
266
|
+
screenDiagonal: string;
|
|
267
|
+
screenDensity: string;
|
|
268
|
+
visible: true;
|
|
269
|
+
devModel: string;
|
|
270
|
+
})[];
|
|
271
|
+
Foldable: ({
|
|
272
|
+
name: "Mate X5";
|
|
273
|
+
screenWidth: string;
|
|
274
|
+
screenHeight: string;
|
|
275
|
+
screenDiagonal: string;
|
|
276
|
+
screenDensity: string;
|
|
277
|
+
outerScreenWidth: string;
|
|
278
|
+
outerScreenHeight: string;
|
|
279
|
+
outerScreenDiagonal: string;
|
|
280
|
+
visible: true;
|
|
281
|
+
devModel: string;
|
|
282
|
+
} | {
|
|
283
|
+
name: "Mate X6";
|
|
284
|
+
screenWidth: string;
|
|
285
|
+
screenHeight: string;
|
|
286
|
+
screenDiagonal: string;
|
|
287
|
+
screenDensity: string;
|
|
288
|
+
outerScreenWidth: string;
|
|
289
|
+
outerScreenHeight: string;
|
|
290
|
+
outerScreenDiagonal: string;
|
|
291
|
+
visible: true;
|
|
292
|
+
devModel: string;
|
|
293
|
+
} | {
|
|
294
|
+
name: "Mate X7";
|
|
295
|
+
screenWidth: string;
|
|
296
|
+
screenHeight: string;
|
|
297
|
+
screenDiagonal: string;
|
|
298
|
+
screenDensity: string;
|
|
299
|
+
outerScreenWidth: string;
|
|
300
|
+
outerScreenHeight: string;
|
|
301
|
+
outerScreenDiagonal: string;
|
|
302
|
+
visible: true;
|
|
303
|
+
devModel: string;
|
|
304
|
+
} | {
|
|
305
|
+
name: "Customize";
|
|
306
|
+
screenWidth: string;
|
|
307
|
+
screenHeight: string;
|
|
308
|
+
screenDiagonal: string;
|
|
309
|
+
screenDensity: string;
|
|
310
|
+
outerScreenWidth: string;
|
|
311
|
+
outerScreenHeight: string;
|
|
312
|
+
outerScreenDiagonal: string;
|
|
313
|
+
visible: true;
|
|
314
|
+
devModel: string;
|
|
315
|
+
})[];
|
|
316
|
+
WideFold: {
|
|
317
|
+
name: "Pura X";
|
|
318
|
+
screenWidth: string;
|
|
319
|
+
screenHeight: string;
|
|
320
|
+
screenDiagonal: string;
|
|
321
|
+
screenDensity: string;
|
|
322
|
+
outerScreenWidth: string;
|
|
323
|
+
outerScreenHeight: string;
|
|
324
|
+
outerScreenDiagonal: string;
|
|
325
|
+
visible: false;
|
|
326
|
+
devModel: string;
|
|
327
|
+
}[];
|
|
328
|
+
TripleFold: {
|
|
329
|
+
name: "Mate XT";
|
|
330
|
+
screenWidth: string;
|
|
331
|
+
screenHeight: string;
|
|
332
|
+
screenDiagonal: string;
|
|
333
|
+
screenDensity: string;
|
|
334
|
+
outerScreenWidth: string;
|
|
335
|
+
outerScreenHeight: string;
|
|
336
|
+
outerScreenDiagonal: string;
|
|
337
|
+
outerDoubleScreenWidth: string;
|
|
338
|
+
outerDoubleScreenHeight: string;
|
|
339
|
+
outerDoubleScreenDiagonal: string;
|
|
340
|
+
visible: false;
|
|
341
|
+
devModel: string;
|
|
342
|
+
}[];
|
|
343
|
+
'2in1 Foldable': {
|
|
344
|
+
name: "MateBook Fold";
|
|
345
|
+
screenWidth: string;
|
|
346
|
+
screenHeight: string;
|
|
347
|
+
screenDiagonal: string;
|
|
348
|
+
screenDensity: string;
|
|
349
|
+
outerScreenWidth: string;
|
|
350
|
+
outerScreenHeight: string;
|
|
351
|
+
outerScreenDiagonal: string;
|
|
352
|
+
visible: false;
|
|
353
|
+
devModel: string;
|
|
354
|
+
}[];
|
|
355
|
+
TV: {
|
|
356
|
+
name: "TV";
|
|
357
|
+
screenWidth: string;
|
|
358
|
+
screenHeight: string;
|
|
359
|
+
screenDiagonal: string;
|
|
360
|
+
screenDensity: string;
|
|
361
|
+
visible: false;
|
|
362
|
+
}[];
|
|
363
|
+
Wearable: {
|
|
364
|
+
name: "Wearable";
|
|
365
|
+
screenWidth: string;
|
|
366
|
+
screenHeight: string;
|
|
367
|
+
screenDiagonal: string;
|
|
368
|
+
screenDensity: string;
|
|
369
|
+
visible: false;
|
|
370
|
+
devModel: string;
|
|
371
|
+
}[];
|
|
372
|
+
WearableKid: {
|
|
373
|
+
name: "WearableKid";
|
|
374
|
+
screenWidth: string;
|
|
375
|
+
screenHeight: string;
|
|
376
|
+
screenDiagonal: string;
|
|
377
|
+
screenDensity: string;
|
|
378
|
+
visible: false;
|
|
379
|
+
}[];
|
|
380
|
+
};
|
|
5
381
|
//#endregion
|
|
6
382
|
export { _default as default };
|
|
@@ -382,6 +382,14 @@ var default_product_config_default = {
|
|
|
382
382
|
screenDensity: "320",
|
|
383
383
|
visible: false,
|
|
384
384
|
devModel: "MCHEMU-AL00CN"
|
|
385
|
+
}],
|
|
386
|
+
"WearableKid": [{
|
|
387
|
+
name: "WearableKid",
|
|
388
|
+
screenWidth: "480",
|
|
389
|
+
screenHeight: "408",
|
|
390
|
+
screenDiagonal: "1.6",
|
|
391
|
+
screenDensity: "320",
|
|
392
|
+
visible: false
|
|
385
393
|
}]
|
|
386
394
|
};
|
|
387
395
|
|