ugcinc-render 1.8.129 → 1.8.130
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/index.js +38 -38
- package/dist/index.mjs +38 -38
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3471,14 +3471,14 @@ var HEADER_DEFAULTS = {
|
|
|
3471
3471
|
videoIconBottom: 300,
|
|
3472
3472
|
videoIconLeft: 948,
|
|
3473
3473
|
videoIconRight: 1020,
|
|
3474
|
-
flagTop:
|
|
3475
|
-
flagBottom:
|
|
3476
|
-
flagLeft:
|
|
3477
|
-
flagRight:
|
|
3474
|
+
flagTop: 237,
|
|
3475
|
+
flagBottom: 303,
|
|
3476
|
+
flagLeft: 1098,
|
|
3477
|
+
flagRight: 1153,
|
|
3478
3478
|
batteryTop: 78,
|
|
3479
|
-
batteryBottom:
|
|
3479
|
+
batteryBottom: 117,
|
|
3480
3480
|
batteryLeft: 1018,
|
|
3481
|
-
batteryRight:
|
|
3481
|
+
batteryRight: 1100
|
|
3482
3482
|
};
|
|
3483
3483
|
function generateHeaderElements(props) {
|
|
3484
3484
|
const elements = [];
|
|
@@ -4301,38 +4301,38 @@ var defaultInstagramDmProps = {
|
|
|
4301
4301
|
videoIconLeft: 948,
|
|
4302
4302
|
videoIconRight: 1020,
|
|
4303
4303
|
// Header - Flag icon
|
|
4304
|
-
flagTop:
|
|
4305
|
-
flagBottom:
|
|
4306
|
-
flagLeft:
|
|
4307
|
-
flagRight:
|
|
4304
|
+
flagTop: 237,
|
|
4305
|
+
flagBottom: 303,
|
|
4306
|
+
flagLeft: 1098,
|
|
4307
|
+
flagRight: 1153,
|
|
4308
4308
|
// Status bar - Cell signal
|
|
4309
4309
|
cellLevel: 4,
|
|
4310
4310
|
cell1Top: 102,
|
|
4311
|
-
cell1Bottom:
|
|
4311
|
+
cell1Bottom: 116,
|
|
4312
4312
|
cell1Left: 865,
|
|
4313
|
-
cell1Right:
|
|
4313
|
+
cell1Right: 875,
|
|
4314
4314
|
cell2Top: 95,
|
|
4315
|
-
cell2Bottom:
|
|
4315
|
+
cell2Bottom: 116,
|
|
4316
4316
|
cell2Left: 881,
|
|
4317
|
-
cell2Right:
|
|
4317
|
+
cell2Right: 891,
|
|
4318
4318
|
cell3Top: 87,
|
|
4319
|
-
cell3Bottom:
|
|
4319
|
+
cell3Bottom: 116,
|
|
4320
4320
|
cell3Left: 897,
|
|
4321
|
-
cell3Right:
|
|
4321
|
+
cell3Right: 907,
|
|
4322
4322
|
cell4Top: 79,
|
|
4323
|
-
cell4Bottom:
|
|
4323
|
+
cell4Bottom: 116,
|
|
4324
4324
|
cell4Left: 913,
|
|
4325
|
-
cell4Right:
|
|
4325
|
+
cell4Right: 923,
|
|
4326
4326
|
// Status bar - WiFi icon
|
|
4327
4327
|
wifiTop: 79,
|
|
4328
|
-
wifiBottom:
|
|
4328
|
+
wifiBottom: 116,
|
|
4329
4329
|
wifiLeft: 945,
|
|
4330
|
-
wifiRight:
|
|
4330
|
+
wifiRight: 996,
|
|
4331
4331
|
// Status bar - Battery
|
|
4332
4332
|
batteryTop: 78,
|
|
4333
|
-
batteryBottom:
|
|
4333
|
+
batteryBottom: 117,
|
|
4334
4334
|
batteryLeft: 1018,
|
|
4335
|
-
batteryRight:
|
|
4335
|
+
batteryRight: 1100
|
|
4336
4336
|
};
|
|
4337
4337
|
function InstagramDmComposition(props) {
|
|
4338
4338
|
const {
|
|
@@ -5669,38 +5669,38 @@ var instagramDmSchema = import_zod.z.object({
|
|
|
5669
5669
|
videoIconLeft: import_zod.z.number().optional().default(948).describe("Video icon left X"),
|
|
5670
5670
|
videoIconRight: import_zod.z.number().optional().default(1020).describe("Video icon right X"),
|
|
5671
5671
|
// Header - Flag icon
|
|
5672
|
-
flagTop: import_zod.z.number().optional().default(
|
|
5673
|
-
flagBottom: import_zod.z.number().optional().default(
|
|
5674
|
-
flagLeft: import_zod.z.number().optional().default(
|
|
5675
|
-
flagRight: import_zod.z.number().optional().default(
|
|
5672
|
+
flagTop: import_zod.z.number().optional().default(237).describe("Flag icon top Y"),
|
|
5673
|
+
flagBottom: import_zod.z.number().optional().default(303).describe("Flag icon bottom Y"),
|
|
5674
|
+
flagLeft: import_zod.z.number().optional().default(1098).describe("Flag icon left X"),
|
|
5675
|
+
flagRight: import_zod.z.number().optional().default(1153).describe("Flag icon right X"),
|
|
5676
5676
|
// Status bar - Cell signal (0-4)
|
|
5677
5677
|
cellLevel: import_zod.z.number().min(0).max(4).optional().default(4).describe("Cell signal level (0-4)"),
|
|
5678
5678
|
cell1Top: import_zod.z.number().optional().default(102).describe("Cell bar 1 top Y"),
|
|
5679
|
-
cell1Bottom: import_zod.z.number().optional().default(
|
|
5679
|
+
cell1Bottom: import_zod.z.number().optional().default(116).describe("Cell bar 1 bottom Y"),
|
|
5680
5680
|
cell1Left: import_zod.z.number().optional().default(865).describe("Cell bar 1 left X"),
|
|
5681
|
-
cell1Right: import_zod.z.number().optional().default(
|
|
5681
|
+
cell1Right: import_zod.z.number().optional().default(875).describe("Cell bar 1 right X"),
|
|
5682
5682
|
cell2Top: import_zod.z.number().optional().default(95).describe("Cell bar 2 top Y"),
|
|
5683
|
-
cell2Bottom: import_zod.z.number().optional().default(
|
|
5683
|
+
cell2Bottom: import_zod.z.number().optional().default(116).describe("Cell bar 2 bottom Y"),
|
|
5684
5684
|
cell2Left: import_zod.z.number().optional().default(881).describe("Cell bar 2 left X"),
|
|
5685
|
-
cell2Right: import_zod.z.number().optional().default(
|
|
5685
|
+
cell2Right: import_zod.z.number().optional().default(891).describe("Cell bar 2 right X"),
|
|
5686
5686
|
cell3Top: import_zod.z.number().optional().default(87).describe("Cell bar 3 top Y"),
|
|
5687
|
-
cell3Bottom: import_zod.z.number().optional().default(
|
|
5687
|
+
cell3Bottom: import_zod.z.number().optional().default(116).describe("Cell bar 3 bottom Y"),
|
|
5688
5688
|
cell3Left: import_zod.z.number().optional().default(897).describe("Cell bar 3 left X"),
|
|
5689
|
-
cell3Right: import_zod.z.number().optional().default(
|
|
5689
|
+
cell3Right: import_zod.z.number().optional().default(907).describe("Cell bar 3 right X"),
|
|
5690
5690
|
cell4Top: import_zod.z.number().optional().default(79).describe("Cell bar 4 top Y"),
|
|
5691
|
-
cell4Bottom: import_zod.z.number().optional().default(
|
|
5691
|
+
cell4Bottom: import_zod.z.number().optional().default(116).describe("Cell bar 4 bottom Y"),
|
|
5692
5692
|
cell4Left: import_zod.z.number().optional().default(913).describe("Cell bar 4 left X"),
|
|
5693
|
-
cell4Right: import_zod.z.number().optional().default(
|
|
5693
|
+
cell4Right: import_zod.z.number().optional().default(923).describe("Cell bar 4 right X"),
|
|
5694
5694
|
// Status bar - WiFi icon
|
|
5695
5695
|
wifiTop: import_zod.z.number().optional().default(79).describe("WiFi icon top Y"),
|
|
5696
|
-
wifiBottom: import_zod.z.number().optional().default(
|
|
5696
|
+
wifiBottom: import_zod.z.number().optional().default(116).describe("WiFi icon bottom Y"),
|
|
5697
5697
|
wifiLeft: import_zod.z.number().optional().default(945).describe("WiFi icon left X"),
|
|
5698
|
-
wifiRight: import_zod.z.number().optional().default(
|
|
5698
|
+
wifiRight: import_zod.z.number().optional().default(996).describe("WiFi icon right X"),
|
|
5699
5699
|
// Status bar - Battery icon
|
|
5700
5700
|
batteryTop: import_zod.z.number().optional().default(78).describe("Battery icon top Y"),
|
|
5701
|
-
batteryBottom: import_zod.z.number().optional().default(
|
|
5701
|
+
batteryBottom: import_zod.z.number().optional().default(117).describe("Battery icon bottom Y"),
|
|
5702
5702
|
batteryLeft: import_zod.z.number().optional().default(1018).describe("Battery icon left X"),
|
|
5703
|
-
batteryRight: import_zod.z.number().optional().default(
|
|
5703
|
+
batteryRight: import_zod.z.number().optional().default(1100).describe("Battery icon right X")
|
|
5704
5704
|
});
|
|
5705
5705
|
var ImageComp = ImageEditorComposition;
|
|
5706
5706
|
var VideoComp = VideoEditorComposition;
|
package/dist/index.mjs
CHANGED
|
@@ -2540,14 +2540,14 @@ var HEADER_DEFAULTS = {
|
|
|
2540
2540
|
videoIconBottom: 300,
|
|
2541
2541
|
videoIconLeft: 948,
|
|
2542
2542
|
videoIconRight: 1020,
|
|
2543
|
-
flagTop:
|
|
2544
|
-
flagBottom:
|
|
2545
|
-
flagLeft:
|
|
2546
|
-
flagRight:
|
|
2543
|
+
flagTop: 237,
|
|
2544
|
+
flagBottom: 303,
|
|
2545
|
+
flagLeft: 1098,
|
|
2546
|
+
flagRight: 1153,
|
|
2547
2547
|
batteryTop: 78,
|
|
2548
|
-
batteryBottom:
|
|
2548
|
+
batteryBottom: 117,
|
|
2549
2549
|
batteryLeft: 1018,
|
|
2550
|
-
batteryRight:
|
|
2550
|
+
batteryRight: 1100
|
|
2551
2551
|
};
|
|
2552
2552
|
function generateHeaderElements(props) {
|
|
2553
2553
|
const elements = [];
|
|
@@ -3370,38 +3370,38 @@ var defaultInstagramDmProps = {
|
|
|
3370
3370
|
videoIconLeft: 948,
|
|
3371
3371
|
videoIconRight: 1020,
|
|
3372
3372
|
// Header - Flag icon
|
|
3373
|
-
flagTop:
|
|
3374
|
-
flagBottom:
|
|
3375
|
-
flagLeft:
|
|
3376
|
-
flagRight:
|
|
3373
|
+
flagTop: 237,
|
|
3374
|
+
flagBottom: 303,
|
|
3375
|
+
flagLeft: 1098,
|
|
3376
|
+
flagRight: 1153,
|
|
3377
3377
|
// Status bar - Cell signal
|
|
3378
3378
|
cellLevel: 4,
|
|
3379
3379
|
cell1Top: 102,
|
|
3380
|
-
cell1Bottom:
|
|
3380
|
+
cell1Bottom: 116,
|
|
3381
3381
|
cell1Left: 865,
|
|
3382
|
-
cell1Right:
|
|
3382
|
+
cell1Right: 875,
|
|
3383
3383
|
cell2Top: 95,
|
|
3384
|
-
cell2Bottom:
|
|
3384
|
+
cell2Bottom: 116,
|
|
3385
3385
|
cell2Left: 881,
|
|
3386
|
-
cell2Right:
|
|
3386
|
+
cell2Right: 891,
|
|
3387
3387
|
cell3Top: 87,
|
|
3388
|
-
cell3Bottom:
|
|
3388
|
+
cell3Bottom: 116,
|
|
3389
3389
|
cell3Left: 897,
|
|
3390
|
-
cell3Right:
|
|
3390
|
+
cell3Right: 907,
|
|
3391
3391
|
cell4Top: 79,
|
|
3392
|
-
cell4Bottom:
|
|
3392
|
+
cell4Bottom: 116,
|
|
3393
3393
|
cell4Left: 913,
|
|
3394
|
-
cell4Right:
|
|
3394
|
+
cell4Right: 923,
|
|
3395
3395
|
// Status bar - WiFi icon
|
|
3396
3396
|
wifiTop: 79,
|
|
3397
|
-
wifiBottom:
|
|
3397
|
+
wifiBottom: 116,
|
|
3398
3398
|
wifiLeft: 945,
|
|
3399
|
-
wifiRight:
|
|
3399
|
+
wifiRight: 996,
|
|
3400
3400
|
// Status bar - Battery
|
|
3401
3401
|
batteryTop: 78,
|
|
3402
|
-
batteryBottom:
|
|
3402
|
+
batteryBottom: 117,
|
|
3403
3403
|
batteryLeft: 1018,
|
|
3404
|
-
batteryRight:
|
|
3404
|
+
batteryRight: 1100
|
|
3405
3405
|
};
|
|
3406
3406
|
function InstagramDmComposition(props) {
|
|
3407
3407
|
const {
|
|
@@ -4455,38 +4455,38 @@ var instagramDmSchema = z.object({
|
|
|
4455
4455
|
videoIconLeft: z.number().optional().default(948).describe("Video icon left X"),
|
|
4456
4456
|
videoIconRight: z.number().optional().default(1020).describe("Video icon right X"),
|
|
4457
4457
|
// Header - Flag icon
|
|
4458
|
-
flagTop: z.number().optional().default(
|
|
4459
|
-
flagBottom: z.number().optional().default(
|
|
4460
|
-
flagLeft: z.number().optional().default(
|
|
4461
|
-
flagRight: z.number().optional().default(
|
|
4458
|
+
flagTop: z.number().optional().default(237).describe("Flag icon top Y"),
|
|
4459
|
+
flagBottom: z.number().optional().default(303).describe("Flag icon bottom Y"),
|
|
4460
|
+
flagLeft: z.number().optional().default(1098).describe("Flag icon left X"),
|
|
4461
|
+
flagRight: z.number().optional().default(1153).describe("Flag icon right X"),
|
|
4462
4462
|
// Status bar - Cell signal (0-4)
|
|
4463
4463
|
cellLevel: z.number().min(0).max(4).optional().default(4).describe("Cell signal level (0-4)"),
|
|
4464
4464
|
cell1Top: z.number().optional().default(102).describe("Cell bar 1 top Y"),
|
|
4465
|
-
cell1Bottom: z.number().optional().default(
|
|
4465
|
+
cell1Bottom: z.number().optional().default(116).describe("Cell bar 1 bottom Y"),
|
|
4466
4466
|
cell1Left: z.number().optional().default(865).describe("Cell bar 1 left X"),
|
|
4467
|
-
cell1Right: z.number().optional().default(
|
|
4467
|
+
cell1Right: z.number().optional().default(875).describe("Cell bar 1 right X"),
|
|
4468
4468
|
cell2Top: z.number().optional().default(95).describe("Cell bar 2 top Y"),
|
|
4469
|
-
cell2Bottom: z.number().optional().default(
|
|
4469
|
+
cell2Bottom: z.number().optional().default(116).describe("Cell bar 2 bottom Y"),
|
|
4470
4470
|
cell2Left: z.number().optional().default(881).describe("Cell bar 2 left X"),
|
|
4471
|
-
cell2Right: z.number().optional().default(
|
|
4471
|
+
cell2Right: z.number().optional().default(891).describe("Cell bar 2 right X"),
|
|
4472
4472
|
cell3Top: z.number().optional().default(87).describe("Cell bar 3 top Y"),
|
|
4473
|
-
cell3Bottom: z.number().optional().default(
|
|
4473
|
+
cell3Bottom: z.number().optional().default(116).describe("Cell bar 3 bottom Y"),
|
|
4474
4474
|
cell3Left: z.number().optional().default(897).describe("Cell bar 3 left X"),
|
|
4475
|
-
cell3Right: z.number().optional().default(
|
|
4475
|
+
cell3Right: z.number().optional().default(907).describe("Cell bar 3 right X"),
|
|
4476
4476
|
cell4Top: z.number().optional().default(79).describe("Cell bar 4 top Y"),
|
|
4477
|
-
cell4Bottom: z.number().optional().default(
|
|
4477
|
+
cell4Bottom: z.number().optional().default(116).describe("Cell bar 4 bottom Y"),
|
|
4478
4478
|
cell4Left: z.number().optional().default(913).describe("Cell bar 4 left X"),
|
|
4479
|
-
cell4Right: z.number().optional().default(
|
|
4479
|
+
cell4Right: z.number().optional().default(923).describe("Cell bar 4 right X"),
|
|
4480
4480
|
// Status bar - WiFi icon
|
|
4481
4481
|
wifiTop: z.number().optional().default(79).describe("WiFi icon top Y"),
|
|
4482
|
-
wifiBottom: z.number().optional().default(
|
|
4482
|
+
wifiBottom: z.number().optional().default(116).describe("WiFi icon bottom Y"),
|
|
4483
4483
|
wifiLeft: z.number().optional().default(945).describe("WiFi icon left X"),
|
|
4484
|
-
wifiRight: z.number().optional().default(
|
|
4484
|
+
wifiRight: z.number().optional().default(996).describe("WiFi icon right X"),
|
|
4485
4485
|
// Status bar - Battery icon
|
|
4486
4486
|
batteryTop: z.number().optional().default(78).describe("Battery icon top Y"),
|
|
4487
|
-
batteryBottom: z.number().optional().default(
|
|
4487
|
+
batteryBottom: z.number().optional().default(117).describe("Battery icon bottom Y"),
|
|
4488
4488
|
batteryLeft: z.number().optional().default(1018).describe("Battery icon left X"),
|
|
4489
|
-
batteryRight: z.number().optional().default(
|
|
4489
|
+
batteryRight: z.number().optional().default(1100).describe("Battery icon right X")
|
|
4490
4490
|
});
|
|
4491
4491
|
var ImageComp = ImageEditorComposition;
|
|
4492
4492
|
var VideoComp = VideoEditorComposition;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ugcinc-render",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.130",
|
|
4
4
|
"description": "Unified rendering package for UGC Inc - shared types, components, and compositions for pixel-perfect client/server rendering",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|