ugcinc-render 1.8.128 → 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.d.mts +4 -13
- package/dist/index.d.ts +4 -13
- package/dist/index.js +55 -117
- package/dist/index.mjs +55 -117
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -821,19 +821,10 @@ interface InstagramDmCompositionProps {
|
|
|
821
821
|
cell4Bottom?: number;
|
|
822
822
|
cell4Left?: number;
|
|
823
823
|
cell4Right?: number;
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
wifi1Right?: number;
|
|
829
|
-
wifi2Top?: number;
|
|
830
|
-
wifi2Bottom?: number;
|
|
831
|
-
wifi2Left?: number;
|
|
832
|
-
wifi2Right?: number;
|
|
833
|
-
wifi3Top?: number;
|
|
834
|
-
wifi3Bottom?: number;
|
|
835
|
-
wifi3Left?: number;
|
|
836
|
-
wifi3Right?: number;
|
|
824
|
+
wifiTop?: number;
|
|
825
|
+
wifiBottom?: number;
|
|
826
|
+
wifiLeft?: number;
|
|
827
|
+
wifiRight?: number;
|
|
837
828
|
batteryTop?: number;
|
|
838
829
|
batteryBottom?: number;
|
|
839
830
|
batteryLeft?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -821,19 +821,10 @@ interface InstagramDmCompositionProps {
|
|
|
821
821
|
cell4Bottom?: number;
|
|
822
822
|
cell4Left?: number;
|
|
823
823
|
cell4Right?: number;
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
wifi1Right?: number;
|
|
829
|
-
wifi2Top?: number;
|
|
830
|
-
wifi2Bottom?: number;
|
|
831
|
-
wifi2Left?: number;
|
|
832
|
-
wifi2Right?: number;
|
|
833
|
-
wifi3Top?: number;
|
|
834
|
-
wifi3Bottom?: number;
|
|
835
|
-
wifi3Left?: number;
|
|
836
|
-
wifi3Right?: number;
|
|
824
|
+
wifiTop?: number;
|
|
825
|
+
wifiBottom?: number;
|
|
826
|
+
wifiLeft?: number;
|
|
827
|
+
wifiRight?: number;
|
|
837
828
|
batteryTop?: number;
|
|
838
829
|
batteryBottom?: number;
|
|
839
830
|
batteryLeft?: number;
|
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,47 +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:
|
|
4326
|
-
// Status bar - WiFi
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
wifi1Right: 977,
|
|
4332
|
-
wifi2Top: 91,
|
|
4333
|
-
wifi2Bottom: 103,
|
|
4334
|
-
wifi2Left: 954,
|
|
4335
|
-
wifi2Right: 986,
|
|
4336
|
-
wifi3Top: 79,
|
|
4337
|
-
wifi3Bottom: 94,
|
|
4338
|
-
wifi3Left: 945,
|
|
4339
|
-
wifi3Right: 995,
|
|
4325
|
+
cell4Right: 923,
|
|
4326
|
+
// Status bar - WiFi icon
|
|
4327
|
+
wifiTop: 79,
|
|
4328
|
+
wifiBottom: 116,
|
|
4329
|
+
wifiLeft: 945,
|
|
4330
|
+
wifiRight: 996,
|
|
4340
4331
|
// Status bar - Battery
|
|
4341
4332
|
batteryTop: 78,
|
|
4342
|
-
batteryBottom:
|
|
4333
|
+
batteryBottom: 117,
|
|
4343
4334
|
batteryLeft: 1018,
|
|
4344
|
-
batteryRight:
|
|
4335
|
+
batteryRight: 1100
|
|
4345
4336
|
};
|
|
4346
4337
|
function InstagramDmComposition(props) {
|
|
4347
4338
|
const {
|
|
@@ -4378,20 +4369,11 @@ function InstagramDmComposition(props) {
|
|
|
4378
4369
|
cell4Bottom = 115,
|
|
4379
4370
|
cell4Left = 913,
|
|
4380
4371
|
cell4Right = 922,
|
|
4381
|
-
// WiFi
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
wifi1Right = 977,
|
|
4387
|
-
wifi2Top = 91,
|
|
4388
|
-
wifi2Bottom = 103,
|
|
4389
|
-
wifi2Left = 954,
|
|
4390
|
-
wifi2Right = 986,
|
|
4391
|
-
wifi3Top = 79,
|
|
4392
|
-
wifi3Bottom = 94,
|
|
4393
|
-
wifi3Left = 945,
|
|
4394
|
-
wifi3Right = 995
|
|
4372
|
+
// WiFi icon props
|
|
4373
|
+
wifiTop = 79,
|
|
4374
|
+
wifiBottom = 115,
|
|
4375
|
+
wifiLeft = 945,
|
|
4376
|
+
wifiRight = 995
|
|
4395
4377
|
} = props;
|
|
4396
4378
|
const clampedReferenceOpacity = Math.max(0, Math.min(100, referenceOpacity));
|
|
4397
4379
|
const [zoom, setZoom] = (0, import_react8.useState)(100);
|
|
@@ -4552,51 +4534,16 @@ function InstagramDmComposition(props) {
|
|
|
4552
4534
|
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4553
4535
|
import_remotion9.Img,
|
|
4554
4536
|
{
|
|
4555
|
-
src: (0, import_remotion9.staticFile)("ig-wifi
|
|
4537
|
+
src: (0, import_remotion9.staticFile)("ig-wifi.png"),
|
|
4556
4538
|
style: {
|
|
4557
4539
|
position: "absolute",
|
|
4558
|
-
top:
|
|
4559
|
-
left:
|
|
4560
|
-
width:
|
|
4561
|
-
height:
|
|
4540
|
+
top: wifiTop,
|
|
4541
|
+
left: wifiLeft,
|
|
4542
|
+
width: wifiRight - wifiLeft,
|
|
4543
|
+
height: wifiBottom - wifiTop,
|
|
4562
4544
|
objectFit: "fill",
|
|
4563
4545
|
pointerEvents: "none",
|
|
4564
|
-
zIndex: 30
|
|
4565
|
-
filter: wifiLevel >= 1 ? "none" : "brightness(0.25)"
|
|
4566
|
-
}
|
|
4567
|
-
}
|
|
4568
|
-
),
|
|
4569
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4570
|
-
import_remotion9.Img,
|
|
4571
|
-
{
|
|
4572
|
-
src: (0, import_remotion9.staticFile)("ig-wifi-middle.png"),
|
|
4573
|
-
style: {
|
|
4574
|
-
position: "absolute",
|
|
4575
|
-
top: wifi2Top,
|
|
4576
|
-
left: wifi2Left,
|
|
4577
|
-
width: wifi2Right - wifi2Left,
|
|
4578
|
-
height: wifi2Bottom - wifi2Top,
|
|
4579
|
-
objectFit: "fill",
|
|
4580
|
-
pointerEvents: "none",
|
|
4581
|
-
zIndex: 30,
|
|
4582
|
-
filter: wifiLevel >= 2 ? "none" : "brightness(0.25)"
|
|
4583
|
-
}
|
|
4584
|
-
}
|
|
4585
|
-
),
|
|
4586
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
4587
|
-
import_remotion9.Img,
|
|
4588
|
-
{
|
|
4589
|
-
src: (0, import_remotion9.staticFile)("ig-wifi-top.png"),
|
|
4590
|
-
style: {
|
|
4591
|
-
position: "absolute",
|
|
4592
|
-
top: wifi3Top,
|
|
4593
|
-
left: wifi3Left,
|
|
4594
|
-
width: wifi3Right - wifi3Left,
|
|
4595
|
-
height: wifi3Bottom - wifi3Top,
|
|
4596
|
-
objectFit: "fill",
|
|
4597
|
-
pointerEvents: "none",
|
|
4598
|
-
zIndex: 30,
|
|
4599
|
-
filter: wifiLevel >= 3 ? "none" : "brightness(0.25)"
|
|
4546
|
+
zIndex: 30
|
|
4600
4547
|
}
|
|
4601
4548
|
}
|
|
4602
4549
|
),
|
|
@@ -5722,47 +5669,38 @@ var instagramDmSchema = import_zod.z.object({
|
|
|
5722
5669
|
videoIconLeft: import_zod.z.number().optional().default(948).describe("Video icon left X"),
|
|
5723
5670
|
videoIconRight: import_zod.z.number().optional().default(1020).describe("Video icon right X"),
|
|
5724
5671
|
// Header - Flag icon
|
|
5725
|
-
flagTop: import_zod.z.number().optional().default(
|
|
5726
|
-
flagBottom: import_zod.z.number().optional().default(
|
|
5727
|
-
flagLeft: import_zod.z.number().optional().default(
|
|
5728
|
-
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"),
|
|
5729
5676
|
// Status bar - Cell signal (0-4)
|
|
5730
5677
|
cellLevel: import_zod.z.number().min(0).max(4).optional().default(4).describe("Cell signal level (0-4)"),
|
|
5731
5678
|
cell1Top: import_zod.z.number().optional().default(102).describe("Cell bar 1 top Y"),
|
|
5732
|
-
cell1Bottom: import_zod.z.number().optional().default(
|
|
5679
|
+
cell1Bottom: import_zod.z.number().optional().default(116).describe("Cell bar 1 bottom Y"),
|
|
5733
5680
|
cell1Left: import_zod.z.number().optional().default(865).describe("Cell bar 1 left X"),
|
|
5734
|
-
cell1Right: import_zod.z.number().optional().default(
|
|
5681
|
+
cell1Right: import_zod.z.number().optional().default(875).describe("Cell bar 1 right X"),
|
|
5735
5682
|
cell2Top: import_zod.z.number().optional().default(95).describe("Cell bar 2 top Y"),
|
|
5736
|
-
cell2Bottom: import_zod.z.number().optional().default(
|
|
5683
|
+
cell2Bottom: import_zod.z.number().optional().default(116).describe("Cell bar 2 bottom Y"),
|
|
5737
5684
|
cell2Left: import_zod.z.number().optional().default(881).describe("Cell bar 2 left X"),
|
|
5738
|
-
cell2Right: import_zod.z.number().optional().default(
|
|
5685
|
+
cell2Right: import_zod.z.number().optional().default(891).describe("Cell bar 2 right X"),
|
|
5739
5686
|
cell3Top: import_zod.z.number().optional().default(87).describe("Cell bar 3 top Y"),
|
|
5740
|
-
cell3Bottom: import_zod.z.number().optional().default(
|
|
5687
|
+
cell3Bottom: import_zod.z.number().optional().default(116).describe("Cell bar 3 bottom Y"),
|
|
5741
5688
|
cell3Left: import_zod.z.number().optional().default(897).describe("Cell bar 3 left X"),
|
|
5742
|
-
cell3Right: import_zod.z.number().optional().default(
|
|
5689
|
+
cell3Right: import_zod.z.number().optional().default(907).describe("Cell bar 3 right X"),
|
|
5743
5690
|
cell4Top: import_zod.z.number().optional().default(79).describe("Cell bar 4 top Y"),
|
|
5744
|
-
cell4Bottom: import_zod.z.number().optional().default(
|
|
5691
|
+
cell4Bottom: import_zod.z.number().optional().default(116).describe("Cell bar 4 bottom Y"),
|
|
5745
5692
|
cell4Left: import_zod.z.number().optional().default(913).describe("Cell bar 4 left X"),
|
|
5746
|
-
cell4Right: import_zod.z.number().optional().default(
|
|
5747
|
-
// Status bar - WiFi
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
wifi1Right: import_zod.z.number().optional().default(977).describe("WiFi arc 1 (bottom) right X"),
|
|
5753
|
-
wifi2Top: import_zod.z.number().optional().default(91).describe("WiFi arc 2 (middle) top Y"),
|
|
5754
|
-
wifi2Bottom: import_zod.z.number().optional().default(103).describe("WiFi arc 2 (middle) bottom Y"),
|
|
5755
|
-
wifi2Left: import_zod.z.number().optional().default(954).describe("WiFi arc 2 (middle) left X"),
|
|
5756
|
-
wifi2Right: import_zod.z.number().optional().default(986).describe("WiFi arc 2 (middle) right X"),
|
|
5757
|
-
wifi3Top: import_zod.z.number().optional().default(79).describe("WiFi arc 3 (top) top Y"),
|
|
5758
|
-
wifi3Bottom: import_zod.z.number().optional().default(94).describe("WiFi arc 3 (top) bottom Y"),
|
|
5759
|
-
wifi3Left: import_zod.z.number().optional().default(945).describe("WiFi arc 3 (top) left X"),
|
|
5760
|
-
wifi3Right: import_zod.z.number().optional().default(995).describe("WiFi arc 3 (top) right X"),
|
|
5693
|
+
cell4Right: import_zod.z.number().optional().default(923).describe("Cell bar 4 right X"),
|
|
5694
|
+
// Status bar - WiFi icon
|
|
5695
|
+
wifiTop: import_zod.z.number().optional().default(79).describe("WiFi icon top Y"),
|
|
5696
|
+
wifiBottom: import_zod.z.number().optional().default(116).describe("WiFi icon bottom Y"),
|
|
5697
|
+
wifiLeft: import_zod.z.number().optional().default(945).describe("WiFi icon left X"),
|
|
5698
|
+
wifiRight: import_zod.z.number().optional().default(996).describe("WiFi icon right X"),
|
|
5761
5699
|
// Status bar - Battery icon
|
|
5762
5700
|
batteryTop: import_zod.z.number().optional().default(78).describe("Battery icon top Y"),
|
|
5763
|
-
batteryBottom: import_zod.z.number().optional().default(
|
|
5701
|
+
batteryBottom: import_zod.z.number().optional().default(117).describe("Battery icon bottom Y"),
|
|
5764
5702
|
batteryLeft: import_zod.z.number().optional().default(1018).describe("Battery icon left X"),
|
|
5765
|
-
batteryRight: import_zod.z.number().optional().default(
|
|
5703
|
+
batteryRight: import_zod.z.number().optional().default(1100).describe("Battery icon right X")
|
|
5766
5704
|
});
|
|
5767
5705
|
var ImageComp = ImageEditorComposition;
|
|
5768
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,47 +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:
|
|
3395
|
-
// Status bar - WiFi
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
wifi1Right: 977,
|
|
3401
|
-
wifi2Top: 91,
|
|
3402
|
-
wifi2Bottom: 103,
|
|
3403
|
-
wifi2Left: 954,
|
|
3404
|
-
wifi2Right: 986,
|
|
3405
|
-
wifi3Top: 79,
|
|
3406
|
-
wifi3Bottom: 94,
|
|
3407
|
-
wifi3Left: 945,
|
|
3408
|
-
wifi3Right: 995,
|
|
3394
|
+
cell4Right: 923,
|
|
3395
|
+
// Status bar - WiFi icon
|
|
3396
|
+
wifiTop: 79,
|
|
3397
|
+
wifiBottom: 116,
|
|
3398
|
+
wifiLeft: 945,
|
|
3399
|
+
wifiRight: 996,
|
|
3409
3400
|
// Status bar - Battery
|
|
3410
3401
|
batteryTop: 78,
|
|
3411
|
-
batteryBottom:
|
|
3402
|
+
batteryBottom: 117,
|
|
3412
3403
|
batteryLeft: 1018,
|
|
3413
|
-
batteryRight:
|
|
3404
|
+
batteryRight: 1100
|
|
3414
3405
|
};
|
|
3415
3406
|
function InstagramDmComposition(props) {
|
|
3416
3407
|
const {
|
|
@@ -3447,20 +3438,11 @@ function InstagramDmComposition(props) {
|
|
|
3447
3438
|
cell4Bottom = 115,
|
|
3448
3439
|
cell4Left = 913,
|
|
3449
3440
|
cell4Right = 922,
|
|
3450
|
-
// WiFi
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
wifi1Right = 977,
|
|
3456
|
-
wifi2Top = 91,
|
|
3457
|
-
wifi2Bottom = 103,
|
|
3458
|
-
wifi2Left = 954,
|
|
3459
|
-
wifi2Right = 986,
|
|
3460
|
-
wifi3Top = 79,
|
|
3461
|
-
wifi3Bottom = 94,
|
|
3462
|
-
wifi3Left = 945,
|
|
3463
|
-
wifi3Right = 995
|
|
3441
|
+
// WiFi icon props
|
|
3442
|
+
wifiTop = 79,
|
|
3443
|
+
wifiBottom = 115,
|
|
3444
|
+
wifiLeft = 945,
|
|
3445
|
+
wifiRight = 995
|
|
3464
3446
|
} = props;
|
|
3465
3447
|
const clampedReferenceOpacity = Math.max(0, Math.min(100, referenceOpacity));
|
|
3466
3448
|
const [zoom, setZoom] = useState3(100);
|
|
@@ -3621,51 +3603,16 @@ function InstagramDmComposition(props) {
|
|
|
3621
3603
|
/* @__PURE__ */ jsx10(
|
|
3622
3604
|
Img4,
|
|
3623
3605
|
{
|
|
3624
|
-
src: staticFile2("ig-wifi
|
|
3606
|
+
src: staticFile2("ig-wifi.png"),
|
|
3625
3607
|
style: {
|
|
3626
3608
|
position: "absolute",
|
|
3627
|
-
top:
|
|
3628
|
-
left:
|
|
3629
|
-
width:
|
|
3630
|
-
height:
|
|
3609
|
+
top: wifiTop,
|
|
3610
|
+
left: wifiLeft,
|
|
3611
|
+
width: wifiRight - wifiLeft,
|
|
3612
|
+
height: wifiBottom - wifiTop,
|
|
3631
3613
|
objectFit: "fill",
|
|
3632
3614
|
pointerEvents: "none",
|
|
3633
|
-
zIndex: 30
|
|
3634
|
-
filter: wifiLevel >= 1 ? "none" : "brightness(0.25)"
|
|
3635
|
-
}
|
|
3636
|
-
}
|
|
3637
|
-
),
|
|
3638
|
-
/* @__PURE__ */ jsx10(
|
|
3639
|
-
Img4,
|
|
3640
|
-
{
|
|
3641
|
-
src: staticFile2("ig-wifi-middle.png"),
|
|
3642
|
-
style: {
|
|
3643
|
-
position: "absolute",
|
|
3644
|
-
top: wifi2Top,
|
|
3645
|
-
left: wifi2Left,
|
|
3646
|
-
width: wifi2Right - wifi2Left,
|
|
3647
|
-
height: wifi2Bottom - wifi2Top,
|
|
3648
|
-
objectFit: "fill",
|
|
3649
|
-
pointerEvents: "none",
|
|
3650
|
-
zIndex: 30,
|
|
3651
|
-
filter: wifiLevel >= 2 ? "none" : "brightness(0.25)"
|
|
3652
|
-
}
|
|
3653
|
-
}
|
|
3654
|
-
),
|
|
3655
|
-
/* @__PURE__ */ jsx10(
|
|
3656
|
-
Img4,
|
|
3657
|
-
{
|
|
3658
|
-
src: staticFile2("ig-wifi-top.png"),
|
|
3659
|
-
style: {
|
|
3660
|
-
position: "absolute",
|
|
3661
|
-
top: wifi3Top,
|
|
3662
|
-
left: wifi3Left,
|
|
3663
|
-
width: wifi3Right - wifi3Left,
|
|
3664
|
-
height: wifi3Bottom - wifi3Top,
|
|
3665
|
-
objectFit: "fill",
|
|
3666
|
-
pointerEvents: "none",
|
|
3667
|
-
zIndex: 30,
|
|
3668
|
-
filter: wifiLevel >= 3 ? "none" : "brightness(0.25)"
|
|
3615
|
+
zIndex: 30
|
|
3669
3616
|
}
|
|
3670
3617
|
}
|
|
3671
3618
|
),
|
|
@@ -4508,47 +4455,38 @@ var instagramDmSchema = z.object({
|
|
|
4508
4455
|
videoIconLeft: z.number().optional().default(948).describe("Video icon left X"),
|
|
4509
4456
|
videoIconRight: z.number().optional().default(1020).describe("Video icon right X"),
|
|
4510
4457
|
// Header - Flag icon
|
|
4511
|
-
flagTop: z.number().optional().default(
|
|
4512
|
-
flagBottom: z.number().optional().default(
|
|
4513
|
-
flagLeft: z.number().optional().default(
|
|
4514
|
-
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"),
|
|
4515
4462
|
// Status bar - Cell signal (0-4)
|
|
4516
4463
|
cellLevel: z.number().min(0).max(4).optional().default(4).describe("Cell signal level (0-4)"),
|
|
4517
4464
|
cell1Top: z.number().optional().default(102).describe("Cell bar 1 top Y"),
|
|
4518
|
-
cell1Bottom: z.number().optional().default(
|
|
4465
|
+
cell1Bottom: z.number().optional().default(116).describe("Cell bar 1 bottom Y"),
|
|
4519
4466
|
cell1Left: z.number().optional().default(865).describe("Cell bar 1 left X"),
|
|
4520
|
-
cell1Right: z.number().optional().default(
|
|
4467
|
+
cell1Right: z.number().optional().default(875).describe("Cell bar 1 right X"),
|
|
4521
4468
|
cell2Top: z.number().optional().default(95).describe("Cell bar 2 top Y"),
|
|
4522
|
-
cell2Bottom: z.number().optional().default(
|
|
4469
|
+
cell2Bottom: z.number().optional().default(116).describe("Cell bar 2 bottom Y"),
|
|
4523
4470
|
cell2Left: z.number().optional().default(881).describe("Cell bar 2 left X"),
|
|
4524
|
-
cell2Right: z.number().optional().default(
|
|
4471
|
+
cell2Right: z.number().optional().default(891).describe("Cell bar 2 right X"),
|
|
4525
4472
|
cell3Top: z.number().optional().default(87).describe("Cell bar 3 top Y"),
|
|
4526
|
-
cell3Bottom: z.number().optional().default(
|
|
4473
|
+
cell3Bottom: z.number().optional().default(116).describe("Cell bar 3 bottom Y"),
|
|
4527
4474
|
cell3Left: z.number().optional().default(897).describe("Cell bar 3 left X"),
|
|
4528
|
-
cell3Right: z.number().optional().default(
|
|
4475
|
+
cell3Right: z.number().optional().default(907).describe("Cell bar 3 right X"),
|
|
4529
4476
|
cell4Top: z.number().optional().default(79).describe("Cell bar 4 top Y"),
|
|
4530
|
-
cell4Bottom: z.number().optional().default(
|
|
4477
|
+
cell4Bottom: z.number().optional().default(116).describe("Cell bar 4 bottom Y"),
|
|
4531
4478
|
cell4Left: z.number().optional().default(913).describe("Cell bar 4 left X"),
|
|
4532
|
-
cell4Right: z.number().optional().default(
|
|
4533
|
-
// Status bar - WiFi
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
wifi1Right: z.number().optional().default(977).describe("WiFi arc 1 (bottom) right X"),
|
|
4539
|
-
wifi2Top: z.number().optional().default(91).describe("WiFi arc 2 (middle) top Y"),
|
|
4540
|
-
wifi2Bottom: z.number().optional().default(103).describe("WiFi arc 2 (middle) bottom Y"),
|
|
4541
|
-
wifi2Left: z.number().optional().default(954).describe("WiFi arc 2 (middle) left X"),
|
|
4542
|
-
wifi2Right: z.number().optional().default(986).describe("WiFi arc 2 (middle) right X"),
|
|
4543
|
-
wifi3Top: z.number().optional().default(79).describe("WiFi arc 3 (top) top Y"),
|
|
4544
|
-
wifi3Bottom: z.number().optional().default(94).describe("WiFi arc 3 (top) bottom Y"),
|
|
4545
|
-
wifi3Left: z.number().optional().default(945).describe("WiFi arc 3 (top) left X"),
|
|
4546
|
-
wifi3Right: z.number().optional().default(995).describe("WiFi arc 3 (top) right X"),
|
|
4479
|
+
cell4Right: z.number().optional().default(923).describe("Cell bar 4 right X"),
|
|
4480
|
+
// Status bar - WiFi icon
|
|
4481
|
+
wifiTop: z.number().optional().default(79).describe("WiFi icon top Y"),
|
|
4482
|
+
wifiBottom: z.number().optional().default(116).describe("WiFi icon bottom Y"),
|
|
4483
|
+
wifiLeft: z.number().optional().default(945).describe("WiFi icon left X"),
|
|
4484
|
+
wifiRight: z.number().optional().default(996).describe("WiFi icon right X"),
|
|
4547
4485
|
// Status bar - Battery icon
|
|
4548
4486
|
batteryTop: z.number().optional().default(78).describe("Battery icon top Y"),
|
|
4549
|
-
batteryBottom: z.number().optional().default(
|
|
4487
|
+
batteryBottom: z.number().optional().default(117).describe("Battery icon bottom Y"),
|
|
4550
4488
|
batteryLeft: z.number().optional().default(1018).describe("Battery icon left X"),
|
|
4551
|
-
batteryRight: z.number().optional().default(
|
|
4489
|
+
batteryRight: z.number().optional().default(1100).describe("Battery icon right X")
|
|
4552
4490
|
});
|
|
4553
4491
|
var ImageComp = ImageEditorComposition;
|
|
4554
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",
|