pxengine 0.1.47 → 0.1.49
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.cjs +2219 -430
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +73 -8
- package/dist/index.d.ts +73 -8
- package/dist/index.mjs +2332 -546
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +251 -4
- package/package.json +1 -1
package/dist/registry.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pxengine/ui",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"lastUpdated": "2026-03-
|
|
4
|
+
"lastUpdated": "2026-03-17T09:10:50.026Z",
|
|
5
5
|
"components": {
|
|
6
6
|
"AccordionAtom": {
|
|
7
7
|
"name": "AccordionAtom",
|
|
@@ -13978,6 +13978,11 @@
|
|
|
13978
13978
|
"required": false,
|
|
13979
13979
|
"description": "Optional action handler"
|
|
13980
13980
|
},
|
|
13981
|
+
"sendMessage": {
|
|
13982
|
+
"type": "(text: string) => void",
|
|
13983
|
+
"required": false,
|
|
13984
|
+
"description": "Optional callback to send a message to the agent directly.\nWhen provided, the proceed button calls this instead of relying on onAction."
|
|
13985
|
+
},
|
|
13981
13986
|
"className": {
|
|
13982
13987
|
"type": "string",
|
|
13983
13988
|
"required": false,
|
|
@@ -14401,6 +14406,21 @@
|
|
|
14401
14406
|
"preview": null,
|
|
14402
14407
|
"layoutHints": null
|
|
14403
14408
|
},
|
|
14409
|
+
"BrandCollaborationsList": {
|
|
14410
|
+
"name": "BrandCollaborationsList",
|
|
14411
|
+
"type": "molecule",
|
|
14412
|
+
"isBuilderComponent": true,
|
|
14413
|
+
"description": "",
|
|
14414
|
+
"props": {
|
|
14415
|
+
"brandBreakdown": {
|
|
14416
|
+
"type": "any",
|
|
14417
|
+
"required": false,
|
|
14418
|
+
"description": ""
|
|
14419
|
+
}
|
|
14420
|
+
},
|
|
14421
|
+
"preview": null,
|
|
14422
|
+
"layoutHints": null
|
|
14423
|
+
},
|
|
14404
14424
|
"CreatorCompactView": {
|
|
14405
14425
|
"name": "CreatorCompactView",
|
|
14406
14426
|
"type": "molecule",
|
|
@@ -14473,6 +14493,66 @@
|
|
|
14473
14493
|
"preview": null,
|
|
14474
14494
|
"layoutHints": null
|
|
14475
14495
|
},
|
|
14496
|
+
"CreatorExpandedPanel": {
|
|
14497
|
+
"name": "CreatorExpandedPanel",
|
|
14498
|
+
"type": "molecule",
|
|
14499
|
+
"isBuilderComponent": true,
|
|
14500
|
+
"description": "",
|
|
14501
|
+
"props": {
|
|
14502
|
+
"isOpen": {
|
|
14503
|
+
"type": "boolean",
|
|
14504
|
+
"required": true,
|
|
14505
|
+
"description": ""
|
|
14506
|
+
},
|
|
14507
|
+
"onClose": {
|
|
14508
|
+
"type": "() => void",
|
|
14509
|
+
"required": true,
|
|
14510
|
+
"description": ""
|
|
14511
|
+
},
|
|
14512
|
+
"sessionId": {
|
|
14513
|
+
"type": "string",
|
|
14514
|
+
"required": true,
|
|
14515
|
+
"description": ""
|
|
14516
|
+
},
|
|
14517
|
+
"creatorIds": {
|
|
14518
|
+
"type": "number[]",
|
|
14519
|
+
"required": true,
|
|
14520
|
+
"description": ""
|
|
14521
|
+
},
|
|
14522
|
+
"version": {
|
|
14523
|
+
"type": "number",
|
|
14524
|
+
"required": false,
|
|
14525
|
+
"description": ""
|
|
14526
|
+
},
|
|
14527
|
+
"searchSpec": {
|
|
14528
|
+
"type": "record<string, any>",
|
|
14529
|
+
"required": true,
|
|
14530
|
+
"description": ""
|
|
14531
|
+
},
|
|
14532
|
+
"fetchCreatorDetails": {
|
|
14533
|
+
"type": "(params: fetchcreatordetailsparams) => promise<creatordetaildata>",
|
|
14534
|
+
"required": false,
|
|
14535
|
+
"description": ""
|
|
14536
|
+
}
|
|
14537
|
+
},
|
|
14538
|
+
"preview": null,
|
|
14539
|
+
"layoutHints": null
|
|
14540
|
+
},
|
|
14541
|
+
"CreatorGridView": {
|
|
14542
|
+
"name": "CreatorGridView",
|
|
14543
|
+
"type": "molecule",
|
|
14544
|
+
"isBuilderComponent": true,
|
|
14545
|
+
"description": "",
|
|
14546
|
+
"props": {
|
|
14547
|
+
"creatorData": {
|
|
14548
|
+
"type": "any[]",
|
|
14549
|
+
"required": true,
|
|
14550
|
+
"description": ""
|
|
14551
|
+
}
|
|
14552
|
+
},
|
|
14553
|
+
"preview": null,
|
|
14554
|
+
"layoutHints": null
|
|
14555
|
+
},
|
|
14476
14556
|
"CreatorImageList": {
|
|
14477
14557
|
"name": "CreatorImageList",
|
|
14478
14558
|
"type": "molecule",
|
|
@@ -14548,12 +14628,17 @@
|
|
|
14548
14628
|
},
|
|
14549
14629
|
"fetchVersions": {
|
|
14550
14630
|
"type": "(params: fetchversionsparams) => promise<creatorversiondata>",
|
|
14551
|
-
"required":
|
|
14631
|
+
"required": false,
|
|
14552
14632
|
"description": ""
|
|
14553
14633
|
},
|
|
14554
14634
|
"fetchStatus": {
|
|
14555
14635
|
"type": "(params: fetchstatusparams) => promise<{ status: statusdetails; }>",
|
|
14556
|
-
"required":
|
|
14636
|
+
"required": false,
|
|
14637
|
+
"description": ""
|
|
14638
|
+
},
|
|
14639
|
+
"fetchCreatorDetails": {
|
|
14640
|
+
"type": "(params: fetchcreatordetailsparams) => promise<creatordetaildata>",
|
|
14641
|
+
"required": false,
|
|
14557
14642
|
"description": ""
|
|
14558
14643
|
},
|
|
14559
14644
|
"pollingConfig": {
|
|
@@ -14580,6 +14665,143 @@
|
|
|
14580
14665
|
"preview": null,
|
|
14581
14666
|
"layoutHints": null
|
|
14582
14667
|
},
|
|
14668
|
+
"EngagedAudienceDemographics": {
|
|
14669
|
+
"name": "EngagedAudienceDemographics",
|
|
14670
|
+
"type": "molecule",
|
|
14671
|
+
"isBuilderComponent": true,
|
|
14672
|
+
"description": "",
|
|
14673
|
+
"props": {
|
|
14674
|
+
"audienceDemographics": {
|
|
14675
|
+
"type": "audiencedemographicsdata",
|
|
14676
|
+
"required": false,
|
|
14677
|
+
"description": ""
|
|
14678
|
+
}
|
|
14679
|
+
},
|
|
14680
|
+
"preview": null,
|
|
14681
|
+
"layoutHints": null
|
|
14682
|
+
},
|
|
14683
|
+
"InstagramIcon": {
|
|
14684
|
+
"name": "InstagramIcon",
|
|
14685
|
+
"type": "molecule",
|
|
14686
|
+
"isBuilderComponent": true,
|
|
14687
|
+
"description": "",
|
|
14688
|
+
"props": {
|
|
14689
|
+
"className": {
|
|
14690
|
+
"type": "string",
|
|
14691
|
+
"required": false,
|
|
14692
|
+
"description": ""
|
|
14693
|
+
}
|
|
14694
|
+
},
|
|
14695
|
+
"preview": null,
|
|
14696
|
+
"layoutHints": null
|
|
14697
|
+
},
|
|
14698
|
+
"YouTubeIcon": {
|
|
14699
|
+
"name": "YouTubeIcon",
|
|
14700
|
+
"type": "molecule",
|
|
14701
|
+
"isBuilderComponent": true,
|
|
14702
|
+
"description": "",
|
|
14703
|
+
"props": {
|
|
14704
|
+
"className": {
|
|
14705
|
+
"type": "string",
|
|
14706
|
+
"required": false,
|
|
14707
|
+
"description": ""
|
|
14708
|
+
}
|
|
14709
|
+
},
|
|
14710
|
+
"preview": null,
|
|
14711
|
+
"layoutHints": null
|
|
14712
|
+
},
|
|
14713
|
+
"TikTokIcon": {
|
|
14714
|
+
"name": "TikTokIcon",
|
|
14715
|
+
"type": "molecule",
|
|
14716
|
+
"isBuilderComponent": true,
|
|
14717
|
+
"description": "",
|
|
14718
|
+
"props": {
|
|
14719
|
+
"className": {
|
|
14720
|
+
"type": "string",
|
|
14721
|
+
"required": false,
|
|
14722
|
+
"description": ""
|
|
14723
|
+
}
|
|
14724
|
+
},
|
|
14725
|
+
"preview": null,
|
|
14726
|
+
"layoutHints": null
|
|
14727
|
+
},
|
|
14728
|
+
"getPlatformIcon": {
|
|
14729
|
+
"name": "getPlatformIcon",
|
|
14730
|
+
"type": "molecule",
|
|
14731
|
+
"isBuilderComponent": true,
|
|
14732
|
+
"description": "",
|
|
14733
|
+
"props": {},
|
|
14734
|
+
"preview": null,
|
|
14735
|
+
"layoutHints": null
|
|
14736
|
+
},
|
|
14737
|
+
"getPlatformName": {
|
|
14738
|
+
"name": "getPlatformName",
|
|
14739
|
+
"type": "molecule",
|
|
14740
|
+
"isBuilderComponent": true,
|
|
14741
|
+
"description": "",
|
|
14742
|
+
"props": {},
|
|
14743
|
+
"preview": null,
|
|
14744
|
+
"layoutHints": null
|
|
14745
|
+
},
|
|
14746
|
+
"getPlatformBgColor": {
|
|
14747
|
+
"name": "getPlatformBgColor",
|
|
14748
|
+
"type": "molecule",
|
|
14749
|
+
"isBuilderComponent": true,
|
|
14750
|
+
"description": "",
|
|
14751
|
+
"props": {},
|
|
14752
|
+
"preview": null,
|
|
14753
|
+
"layoutHints": null
|
|
14754
|
+
},
|
|
14755
|
+
"getPlatformIconColor": {
|
|
14756
|
+
"name": "getPlatformIconColor",
|
|
14757
|
+
"type": "molecule",
|
|
14758
|
+
"isBuilderComponent": true,
|
|
14759
|
+
"description": "",
|
|
14760
|
+
"props": {},
|
|
14761
|
+
"preview": null,
|
|
14762
|
+
"layoutHints": null
|
|
14763
|
+
},
|
|
14764
|
+
"PlatformPostsSection": {
|
|
14765
|
+
"name": "PlatformPostsSection",
|
|
14766
|
+
"type": "molecule",
|
|
14767
|
+
"isBuilderComponent": true,
|
|
14768
|
+
"description": "",
|
|
14769
|
+
"props": {
|
|
14770
|
+
"platformMetrics": {
|
|
14771
|
+
"type": "{ instagrammetrics?: platformmetrics; tiktokmetrics?: platformmetrics; youtubemetrics?: platformmetrics; }",
|
|
14772
|
+
"required": false,
|
|
14773
|
+
"description": ""
|
|
14774
|
+
},
|
|
14775
|
+
"posts": {
|
|
14776
|
+
"type": "any[]",
|
|
14777
|
+
"required": false,
|
|
14778
|
+
"defaultValue": "[]",
|
|
14779
|
+
"description": ""
|
|
14780
|
+
}
|
|
14781
|
+
},
|
|
14782
|
+
"preview": null,
|
|
14783
|
+
"layoutHints": null
|
|
14784
|
+
},
|
|
14785
|
+
"PostCard": {
|
|
14786
|
+
"name": "PostCard",
|
|
14787
|
+
"type": "molecule",
|
|
14788
|
+
"isBuilderComponent": true,
|
|
14789
|
+
"description": "",
|
|
14790
|
+
"props": {
|
|
14791
|
+
"post": {
|
|
14792
|
+
"type": "{ thumbnail_url?: string; thumbnail?: string; image?: string; title?: string; description?: string; platform?: string; url: string; engagement?: { likes?: number; comments?: number; views?: number; plays?: number; }; ... 6 more ...; post_id?: string; }",
|
|
14793
|
+
"required": true,
|
|
14794
|
+
"description": ""
|
|
14795
|
+
},
|
|
14796
|
+
"platformUsername": {
|
|
14797
|
+
"type": "string",
|
|
14798
|
+
"required": false,
|
|
14799
|
+
"description": ""
|
|
14800
|
+
}
|
|
14801
|
+
},
|
|
14802
|
+
"preview": null,
|
|
14803
|
+
"layoutHints": null
|
|
14804
|
+
},
|
|
14583
14805
|
"GrowthChartCard": {
|
|
14584
14806
|
"name": "GrowthChartCard",
|
|
14585
14807
|
"type": "molecule",
|
|
@@ -14639,7 +14861,7 @@
|
|
|
14639
14861
|
"name": "MCQCard",
|
|
14640
14862
|
"type": "molecule",
|
|
14641
14863
|
"isBuilderComponent": true,
|
|
14642
|
-
"description": "MCQCard\n\nA molecule for Multiple Choice Questions.\
|
|
14864
|
+
"description": "MCQCard\n\nA molecule for Multiple Choice Questions.\nSelf-contained: when `sessionId` + `sendMessage` are provided,\nit manages its own persistence and agent communication.",
|
|
14643
14865
|
"props": {
|
|
14644
14866
|
"question": {
|
|
14645
14867
|
"type": "string",
|
|
@@ -14705,6 +14927,26 @@
|
|
|
14705
14927
|
"required": false,
|
|
14706
14928
|
"description": "Whether the interaction is disabled externally"
|
|
14707
14929
|
},
|
|
14930
|
+
"sessionId": {
|
|
14931
|
+
"type": "string",
|
|
14932
|
+
"required": false,
|
|
14933
|
+
"description": "Session ID for self-contained persistence.\nWhen provided with sendMessage, MCQCard handles its own state."
|
|
14934
|
+
},
|
|
14935
|
+
"sendMessage": {
|
|
14936
|
+
"type": "(text: string) => void",
|
|
14937
|
+
"required": false,
|
|
14938
|
+
"description": "Callback to send a message to the agent.\nCalled after user confirms selection."
|
|
14939
|
+
},
|
|
14940
|
+
"fetchSelections": {
|
|
14941
|
+
"type": "(sessionid: string) => promise<record<string, string>>",
|
|
14942
|
+
"required": false,
|
|
14943
|
+
"description": "Custom fetcher for loading existing selections.\nDefaults to hitting /api/agents-proxy/custom-agents/sessions/{sessionId}/mcq-selections/get"
|
|
14944
|
+
},
|
|
14945
|
+
"persistSelection": {
|
|
14946
|
+
"type": "(sessionid: string, questionkey: string, value: string) => promise<void>",
|
|
14947
|
+
"required": false,
|
|
14948
|
+
"description": "Custom fetcher for persisting a selection.\nDefaults to hitting /api/agents-proxy/custom-agents/sessions/{sessionId}/mcq-selections"
|
|
14949
|
+
},
|
|
14708
14950
|
"disableContinueInDiscovery": {
|
|
14709
14951
|
"type": "boolean",
|
|
14710
14952
|
"required": false,
|
|
@@ -14905,6 +15147,11 @@
|
|
|
14905
15147
|
"required": false,
|
|
14906
15148
|
"description": "Optional action handler"
|
|
14907
15149
|
},
|
|
15150
|
+
"sendMessage": {
|
|
15151
|
+
"type": "(text: string) => void",
|
|
15152
|
+
"required": false,
|
|
15153
|
+
"description": "Optional callback to send a message to the agent directly.\nWhen provided, the proceed button calls this instead of relying on onAction."
|
|
15154
|
+
},
|
|
14908
15155
|
"className": {
|
|
14909
15156
|
"type": "string",
|
|
14910
15157
|
"required": false,
|