pxengine 0.1.75 → 0.1.77
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 +1923 -1788
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +133 -77
- package/dist/index.d.ts +133 -77
- package/dist/index.mjs +1424 -1290
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +121 -1
- 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-05-
|
|
4
|
+
"lastUpdated": "2026-05-14T12:55:25.854Z",
|
|
5
5
|
"components": {
|
|
6
6
|
"AccordionAtom": {
|
|
7
7
|
"name": "AccordionAtom",
|
|
@@ -16247,6 +16247,121 @@
|
|
|
16247
16247
|
"preview": null,
|
|
16248
16248
|
"layoutHints": null
|
|
16249
16249
|
},
|
|
16250
|
+
"DynamicFormCard": {
|
|
16251
|
+
"name": "DynamicFormCard",
|
|
16252
|
+
"type": "molecule",
|
|
16253
|
+
"isBuilderComponent": true,
|
|
16254
|
+
"description": "DynamicFormCard\n\nA thin wrapper around FormCard that removes the requirement to supply an\nexplicit `fields` array. When `fields` is omitted, field configs are\nauto-generated from the keys of `data` using generateFieldsFromData, giving\nagents a zero-config path to render any structured form payload.\n\nSchema usage (composition.root):\n { \"name\": \"DynamicFormCard\", \"props\": { \"title\": \"…\", \"data\": { … } } }\n\nAlternatively the agent may supply \"dynamic-form-card\" (kebab) or\n\"dynamicformcard\" (lower) — the renderer normalises all of these to\n\"DynamicFormCard\" before lookup.",
|
|
16255
|
+
"props": {
|
|
16256
|
+
"data": {
|
|
16257
|
+
"type": "record<string, any>",
|
|
16258
|
+
"required": false,
|
|
16259
|
+
"description": "Field values — keys become labels automatically when no `fields` override is given."
|
|
16260
|
+
},
|
|
16261
|
+
"fields": {
|
|
16262
|
+
"type": "fieldconfig[]",
|
|
16263
|
+
"required": false,
|
|
16264
|
+
"description": "Explicit field configs. When omitted, fields are auto-generated from `data` keys."
|
|
16265
|
+
},
|
|
16266
|
+
"onAction": {
|
|
16267
|
+
"type": "(action: { type: string; data: record<string, any>; }) => void",
|
|
16268
|
+
"required": false,
|
|
16269
|
+
"description": "Callback fired after proceed/submit. Receives the current data snapshot."
|
|
16270
|
+
},
|
|
16271
|
+
"sendMessage": {
|
|
16272
|
+
"type": "(text: string) => void",
|
|
16273
|
+
"required": false,
|
|
16274
|
+
"description": "Send a plain-text message back to the agent on submit.\nWhen provided, the form serialises all field values into a human-readable\nstring and calls this instead of (or in addition to) onAction."
|
|
16275
|
+
},
|
|
16276
|
+
"className": {
|
|
16277
|
+
"type": "string",
|
|
16278
|
+
"required": false,
|
|
16279
|
+
"description": "Custom className"
|
|
16280
|
+
},
|
|
16281
|
+
"id": {
|
|
16282
|
+
"type": "string",
|
|
16283
|
+
"required": false,
|
|
16284
|
+
"description": "Unique identifier"
|
|
16285
|
+
},
|
|
16286
|
+
"title": {
|
|
16287
|
+
"type": "string",
|
|
16288
|
+
"required": true,
|
|
16289
|
+
"description": "Title of the form card"
|
|
16290
|
+
},
|
|
16291
|
+
"editingFields": {
|
|
16292
|
+
"type": "record<string, boolean>",
|
|
16293
|
+
"required": false,
|
|
16294
|
+
"description": "Current editing states for each field"
|
|
16295
|
+
},
|
|
16296
|
+
"changedFields": {
|
|
16297
|
+
"type": "record<string, boolean>",
|
|
16298
|
+
"required": false,
|
|
16299
|
+
"description": "Fields that have been modified"
|
|
16300
|
+
},
|
|
16301
|
+
"savingFields": {
|
|
16302
|
+
"type": "record<string, boolean>",
|
|
16303
|
+
"required": false,
|
|
16304
|
+
"description": "Fields currently being saved"
|
|
16305
|
+
},
|
|
16306
|
+
"onFieldEdit": {
|
|
16307
|
+
"type": "(key: string) => void",
|
|
16308
|
+
"required": false,
|
|
16309
|
+
"description": "Triggered when a field starts editing"
|
|
16310
|
+
},
|
|
16311
|
+
"onFieldSave": {
|
|
16312
|
+
"type": "(key: string, newvalue: any) => void",
|
|
16313
|
+
"required": false,
|
|
16314
|
+
"description": "Triggered when a field value is saved"
|
|
16315
|
+
},
|
|
16316
|
+
"onFieldCancel": {
|
|
16317
|
+
"type": "(key: string) => void",
|
|
16318
|
+
"required": false,
|
|
16319
|
+
"description": "Triggered when a field edit is cancelled"
|
|
16320
|
+
},
|
|
16321
|
+
"showTimeline": {
|
|
16322
|
+
"type": "boolean",
|
|
16323
|
+
"required": false,
|
|
16324
|
+
"description": "Show a dotted timeline visual on the left"
|
|
16325
|
+
},
|
|
16326
|
+
"proceedLabel": {
|
|
16327
|
+
"type": "string",
|
|
16328
|
+
"required": false,
|
|
16329
|
+
"description": "Label for the \"Proceed\" button"
|
|
16330
|
+
},
|
|
16331
|
+
"onProceed": {
|
|
16332
|
+
"type": "() => void",
|
|
16333
|
+
"required": false,
|
|
16334
|
+
"description": "Proceed handler"
|
|
16335
|
+
},
|
|
16336
|
+
"footer": {
|
|
16337
|
+
"type": "reactnode",
|
|
16338
|
+
"required": false,
|
|
16339
|
+
"description": "Footer content (optional)"
|
|
16340
|
+
},
|
|
16341
|
+
"hideTitle": {
|
|
16342
|
+
"type": "boolean",
|
|
16343
|
+
"required": false,
|
|
16344
|
+
"description": "Whether to hide the title"
|
|
16345
|
+
},
|
|
16346
|
+
"hideCopyButton": {
|
|
16347
|
+
"type": "boolean",
|
|
16348
|
+
"required": false,
|
|
16349
|
+
"description": "Whether to hide the copy button"
|
|
16350
|
+
},
|
|
16351
|
+
"isLatestMessage": {
|
|
16352
|
+
"type": "boolean",
|
|
16353
|
+
"required": false,
|
|
16354
|
+
"description": "Whether this is the latest message"
|
|
16355
|
+
},
|
|
16356
|
+
"shouldStopPropagation": {
|
|
16357
|
+
"type": "boolean",
|
|
16358
|
+
"required": false,
|
|
16359
|
+
"description": "Whether to stop event propagation when the edit icon is clicked in child fields."
|
|
16360
|
+
}
|
|
16361
|
+
},
|
|
16362
|
+
"preview": null,
|
|
16363
|
+
"layoutHints": null
|
|
16364
|
+
},
|
|
16250
16365
|
"EditableField": {
|
|
16251
16366
|
"name": "EditableField",
|
|
16252
16367
|
"type": "molecule",
|
|
@@ -17546,6 +17661,11 @@
|
|
|
17546
17661
|
"required": false,
|
|
17547
17662
|
"description": "URL polled every 3 s while status is pending/running.\nExpected response shape: { status, output: { slide_count, formats } }\ne.g. /api/agents-proxy/jobs/{job_id}/status"
|
|
17548
17663
|
},
|
|
17664
|
+
"shareUrl": {
|
|
17665
|
+
"type": "string",
|
|
17666
|
+
"required": false,
|
|
17667
|
+
"description": "Shareable link copied when the user clicks Share.\nFalls back to formats.html_url if not provided.\nPass a /p/{id} permanent URL once that route exists."
|
|
17668
|
+
},
|
|
17549
17669
|
"className": {
|
|
17550
17670
|
"type": "string",
|
|
17551
17671
|
"required": false,
|