@pushwoosh/rpc-gateway-ai-assistant 0.1.215 → 0.1.217
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/data.js +31 -1
- package/package.json +1 -1
- package/pushwoosh_aibuilder_v1.d.ts +23 -1
package/data.js
CHANGED
|
@@ -372,6 +372,14 @@ export const data = {
|
|
|
372
372
|
"fontFamily": {
|
|
373
373
|
"type": "string",
|
|
374
374
|
"optional": true
|
|
375
|
+
},
|
|
376
|
+
"padding": {
|
|
377
|
+
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
378
|
+
"optional": true
|
|
379
|
+
},
|
|
380
|
+
"widthPercent": {
|
|
381
|
+
"type": "number",
|
|
382
|
+
"optional": true
|
|
375
383
|
}
|
|
376
384
|
}
|
|
377
385
|
},
|
|
@@ -607,6 +615,24 @@ export const data = {
|
|
|
607
615
|
}
|
|
608
616
|
}
|
|
609
617
|
},
|
|
618
|
+
"pushwoosh.aibuilder.v1.SocialRow": {
|
|
619
|
+
"type": "I",
|
|
620
|
+
"fields": {
|
|
621
|
+
"links": {
|
|
622
|
+
"type": "pushwoosh.aibuilder.v1.SocialLink",
|
|
623
|
+
"array": true
|
|
624
|
+
},
|
|
625
|
+
"align": {
|
|
626
|
+
"type": "pushwoosh.aibuilder.v1.TextAlign"
|
|
627
|
+
},
|
|
628
|
+
"iconSize": {
|
|
629
|
+
"type": "number"
|
|
630
|
+
},
|
|
631
|
+
"gap": {
|
|
632
|
+
"type": "number"
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
},
|
|
610
636
|
"pushwoosh.aibuilder.v1.ContentItem": {
|
|
611
637
|
"type": "I",
|
|
612
638
|
"fields": {
|
|
@@ -634,6 +660,9 @@ export const data = {
|
|
|
634
660
|
"menu": {
|
|
635
661
|
"type": "pushwoosh.aibuilder.v1.Menu"
|
|
636
662
|
},
|
|
663
|
+
"social": {
|
|
664
|
+
"type": "pushwoosh.aibuilder.v1.SocialRow"
|
|
665
|
+
},
|
|
637
666
|
"padding": {
|
|
638
667
|
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
639
668
|
"optional": true
|
|
@@ -649,7 +678,8 @@ export const data = {
|
|
|
649
678
|
"form",
|
|
650
679
|
"timer",
|
|
651
680
|
"rawHtml",
|
|
652
|
-
"menu"
|
|
681
|
+
"menu",
|
|
682
|
+
"social"
|
|
653
683
|
]
|
|
654
684
|
}
|
|
655
685
|
}
|
package/package.json
CHANGED
|
@@ -360,6 +360,10 @@ export type ButtonStyles = {
|
|
|
360
360
|
* enforced by construction.
|
|
361
361
|
*/
|
|
362
362
|
fontFamily?: string;
|
|
363
|
+
/** Label padding, px. Client-managed; unset = renderer default (8 / 16). */
|
|
364
|
+
padding?: EdgeInsets;
|
|
365
|
+
/** Width as % of the block row (1-100). Client-managed; unset = auto (fit the label). */
|
|
366
|
+
widthPercent?: number;
|
|
363
367
|
};
|
|
364
368
|
export type ButtonGroup = {
|
|
365
369
|
buttons: Button[];
|
|
@@ -505,6 +509,20 @@ export type Menu = {
|
|
|
505
509
|
separator: string;
|
|
506
510
|
itemPadding?: EdgeInsets;
|
|
507
511
|
};
|
|
512
|
+
/**
|
|
513
|
+
* Row of social-network icon links in the content flow (Unlayer's "social"
|
|
514
|
+
* widget; same SocialLink shape as the footer row). Client-managed — the
|
|
515
|
+
* LLM never emits it; icons come from the client's stock icon set.
|
|
516
|
+
*/
|
|
517
|
+
export type SocialRow = {
|
|
518
|
+
links: SocialLink[];
|
|
519
|
+
/** UNSPECIFIED renders center (Unlayer's social default). */
|
|
520
|
+
align: TextAlign;
|
|
521
|
+
/** px; 0 = client default (24) */
|
|
522
|
+
iconSize: number;
|
|
523
|
+
/** px between icons; 0 = client default (12) */
|
|
524
|
+
gap: number;
|
|
525
|
+
};
|
|
508
526
|
export type ContentItem_item_text = {
|
|
509
527
|
type: 'text';
|
|
510
528
|
data: TextBlock;
|
|
@@ -537,7 +555,11 @@ export type ContentItem_item_menu = {
|
|
|
537
555
|
type: 'menu';
|
|
538
556
|
data: Menu;
|
|
539
557
|
};
|
|
540
|
-
export type
|
|
558
|
+
export type ContentItem_item_social = {
|
|
559
|
+
type: 'social';
|
|
560
|
+
data: SocialRow;
|
|
561
|
+
};
|
|
562
|
+
export type ContentItem_item = ContentItem_item_text | ContentItem_item_buttonGroup | ContentItem_item_list | ContentItem_item_image | ContentItem_item_form | ContentItem_item_timer | ContentItem_item_rawHtml | ContentItem_item_menu | ContentItem_item_social;
|
|
541
563
|
export type ContentItem = {
|
|
542
564
|
/**
|
|
543
565
|
* Container padding of the item. Unset = client's default inter-item gap;
|