@praxisui/core 9.0.8 → 9.0.10
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/ai/component-registry.json +241 -131
- package/fesm2022/praxisui-core.mjs +32 -11
- package/package.json +1 -1
- package/types/praxisui-core.d.ts +11 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-08-
|
|
3
|
+
"generatedAt": "2026-08-21T13:43:24.944Z",
|
|
4
4
|
"packageName": "@praxisui/core",
|
|
5
|
-
"packageVersion": "9.0.
|
|
5
|
+
"packageVersion": "9.0.10",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 4,
|
|
@@ -3241,9 +3241,9 @@
|
|
|
3241
3241
|
{
|
|
3242
3242
|
"chunkIndex": 26,
|
|
3243
3243
|
"chunkKind": "recipe",
|
|
3244
|
-
"content": "{\"
|
|
3244
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment\",\"_comment\":\"Praxis Dynamic Page recipe that demonstrates List actions opening governed Dialog surfaces through structured surface.open global actions.\"}",
|
|
3245
3245
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
3246
|
-
"contentHash": "
|
|
3246
|
+
"contentHash": "5313f96c4053ba2644900051a69b2f5cce1e0e6a10fe6413e83ef1ff9847bee3",
|
|
3247
3247
|
"sourceKind": "component_definition",
|
|
3248
3248
|
"sourceId": "praxis-dynamic-page",
|
|
3249
3249
|
"corpusVersion": "1.0.0"
|
|
@@ -3251,6 +3251,116 @@
|
|
|
3251
3251
|
{
|
|
3252
3252
|
"chunkIndex": 27,
|
|
3253
3253
|
"chunkKind": "recipe",
|
|
3254
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment2\",\"_comment2\":\"Use this when an agent needs a copyable end-to-end contract for modal surfaces: host-provided Praxis Dialog, PraxisSurfaceHostComponent, List actions, Chart, Praxis Filter composed with a remote List, and Rich Text Block.\"}",
|
|
3255
|
+
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
3256
|
+
"contentHash": "b6be1e8a9ba23e88fd5d35da3165c06e9a551e89d8ad6c50df3930f33117a04d",
|
|
3257
|
+
"sourceKind": "component_definition",
|
|
3258
|
+
"sourceId": "praxis-dynamic-page",
|
|
3259
|
+
"corpusVersion": "1.0.0"
|
|
3260
|
+
},
|
|
3261
|
+
{
|
|
3262
|
+
"chunkIndex": 28,
|
|
3263
|
+
"chunkKind": "recipe",
|
|
3264
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"templateMeta\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"dialog-surface-lab\",\"useWhen\":\"Create a dynamic page where list actions open modal surfaces with runtime-resolved widgets.\",\"examplePrompts\":[\"page with buttons that open modal surfaces\",\"show a chart in a Praxis Dialog from a list action\",\"create a dynamic page that opens remote list and rich text surfaces through surface.open\"],\"requires\":[\"@praxisui/core\",\"@praxisui/list\",\"@praxisui/table\",\"@praxisui/dialog\",\"@praxisui/charts\",\"@praxisui/rich-content\",\"praxis-filter\",\"providePraxisDialogGlobalActions()\",\"providePraxisSurfaceGlobalActions()\",\"GLOBAL_SURFACE_SERVICE\",\"surface.open\"]}}",
|
|
3265
|
+
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
3266
|
+
"contentHash": "c7f3d2e5cf4b9084f53a6e4e2d846c68a926b6a30d3d3a2d85f4790a150a56c6",
|
|
3267
|
+
"sourceKind": "component_definition",
|
|
3268
|
+
"sourceId": "praxis-dynamic-page",
|
|
3269
|
+
"corpusVersion": "1.0.0"
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"chunkIndex": 29,
|
|
3273
|
+
"chunkKind": "recipe",
|
|
3274
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"hostIntegration\",\"hostIntegration\":{\"providers\":[\"providePraxisDialogGlobalActions()\",\"providePraxisSurfaceGlobalActions()\"],\"styleImports\":[\"@angular/cdk/overlay-prebuilt.css\"],\"notes\":[\"The page payload stays pure JSON. The host owns Dialog registration and global action providers.\",\"surface.open resolves the supplied widget through PraxisSurfaceHostComponent inside the dialog body.\",\"The participant surface nests praxis-dynamic-page so debounced praxis-filter change/clear events update praxis-list queryContext without host handlers.\",\"Use globalAction.payload to pass the complete surface payload from the selected item.\"]}}",
|
|
3275
|
+
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
3276
|
+
"contentHash": "6c4cfaea0cbb062b5bc2af36ae0c7624bb63b08d29317affddcdda9f83a13cb5",
|
|
3277
|
+
"sourceKind": "component_definition",
|
|
3278
|
+
"sourceId": "praxis-dynamic-page",
|
|
3279
|
+
"corpusVersion": "1.0.0"
|
|
3280
|
+
},
|
|
3281
|
+
{
|
|
3282
|
+
"chunkIndex": 30,
|
|
3283
|
+
"chunkKind": "recipe",
|
|
3284
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"api\",\"api\":{\"origin\":\"https://praxis-api-quickstart.onrender.com\",\"baseUrl\":\"https://praxis-api-quickstart.onrender.com/api\",\"schemasBaseUrl\":\"https://praxis-api-quickstart.onrender.com/schemas\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}}",
|
|
3285
|
+
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
3286
|
+
"contentHash": "add0ab9a9cd97bd8b55e303a442ca632c4a34656b5c827e551e5fb9a588ce865",
|
|
3287
|
+
"sourceKind": "component_definition",
|
|
3288
|
+
"sourceId": "praxis-dynamic-page",
|
|
3289
|
+
"corpusVersion": "1.0.0"
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"chunkIndex": 31,
|
|
3293
|
+
"chunkKind": "recipe",
|
|
3294
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"}}}",
|
|
3295
|
+
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
3296
|
+
"contentHash": "9320617234af940b2af46d2303b8ac171870c71fd260403c6ed9f93ababf8cb7",
|
|
3297
|
+
"sourceKind": "component_definition",
|
|
3298
|
+
"sourceId": "praxis-dynamic-page",
|
|
3299
|
+
"corpusVersion": "1.0.0"
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"chunkIndex": 32,
|
|
3303
|
+
"chunkKind": "recipe",
|
|
3304
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[0]\",\"fragmentPath\":\"page.widgets[0]\",\"fragmentIdentity\":{\"key\":\"dialogSurfaceLaunchers\"},\"fragment\":{\"key\":\"dialogSurfaceLaunchers\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"open_in_new\",\"title\":\"Dialog surface launcher\",\"subtitle\":\"Actions open modal surfaces with widgets resolved at runtime\"}}}",
|
|
3305
|
+
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
3306
|
+
"contentHash": "82fc32e8ceb89cbb29484eae0ab18af510b9b8a9dc3b9afaf5f3856a6b159dbe",
|
|
3307
|
+
"sourceKind": "component_definition",
|
|
3308
|
+
"sourceId": "praxis-dynamic-page",
|
|
3309
|
+
"corpusVersion": "1.0.0"
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"chunkIndex": 33,
|
|
3313
|
+
"chunkKind": "recipe",
|
|
3314
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[0].definition\",\"fragmentPath\":\"page.widgets[0].definition\",\"fragmentIdentity\":{\"key\":\"dialogSurfaceLaunchers\",\"id\":\"praxis-list\"},\"fragment\":{\"id\":\"praxis-list\",\"bindingOrder\":[\"listId\",\"config\"]}}",
|
|
3315
|
+
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
3316
|
+
"contentHash": "059ada0f3542b919d9e49af82f42bc831b1513f39f841b3d184d13cc28183895",
|
|
3317
|
+
"sourceKind": "component_definition",
|
|
3318
|
+
"sourceId": "praxis-dynamic-page",
|
|
3319
|
+
"corpusVersion": "1.0.0"
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
"chunkIndex": 34,
|
|
3323
|
+
"chunkKind": "recipe",
|
|
3324
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[0].definition.inputs\",\"fragmentPath\":\"page.widgets[0].definition.inputs\",\"fragmentIdentity\":{\"key\":\"dialogSurfaceLaunchers\",\"id\":\"praxis-list\"},\"fragment\":{\"listId\":\"dialog-surface-launchers\",\"componentInstanceId\":\"dynamic-page-showcase\"}}",
|
|
3325
|
+
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
3326
|
+
"contentHash": "17d2ddd6a56a49b4b5b48b2828b3d5caff8fa31cdfd80f2d77248f085237a554",
|
|
3327
|
+
"sourceKind": "component_definition",
|
|
3328
|
+
"sourceId": "praxis-dynamic-page",
|
|
3329
|
+
"corpusVersion": "1.0.0"
|
|
3330
|
+
},
|
|
3331
|
+
{
|
|
3332
|
+
"chunkIndex": 35,
|
|
3333
|
+
"chunkKind": "recipe",
|
|
3334
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[0].definition.inputs.config\",\"fragmentPath\":\"page.widgets[0].definition.inputs.config\",\"fragmentIdentity\":{\"key\":\"dialogSurfaceLaunchers\",\"id\":\"dialog-surface-launchers-config\"},\"fragment\":{\"id\":\"dialog-surface-launchers-config\",\"dataSource\":{\"data\":[{\"id\":\"mission-analytics\",\"icon\":\"bar_chart\",\"title\":\"Mission analytics modal\",\"subtitle\":\"Open a local chart surface without changing the page layout\",\"surfaceKind\":\"Chart\",\"priority\":\"High\",\"surfacePayload\":{\"presentation\":\"modal\",\"title\":\"Mission analytics\",\"icon\":\"bar_chart\",\"subtitle\":\"Chart widget rendered inside Praxis Dialog\",\"size\":{\"width\":\"780px\",\"maxWidth\":\"92vw\",\"height\":\"620px\",\"maxHeight\":\"86vh\"},\"widget\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"config\"],\"inputs\":{\"config\":{\"id\":\"dialog-mission-status-chart\",\"type\":\"donut\",\"title\":\"Mission status mix\",\"subtitle\":\"Local chart payload opened by surface.open\",\"sizing\":{\"height\":360,\"minHeight\":320},\"dataSource\":{\"kind\":\"local\",\"items\":[{\"status\":\"EM_ANDAMENTO\",\"missions\":11},{\"status\":\"PLANEJADA\",\"missions\":7},{\"status\":\"CONCLUIDA\",\"missions\":18},{\"status\":\"SUSPENSA\",\"missions\":3}]},\"axes\":{\"x\":{\"field\":\"status\",\"type\":\"category\",\"label\":\"Status\"},\"y\":{\"field\":\"missions\",\"type\":\"value\",\"label\":\"Missions\"}},\"series\":[{\"id\":\"missions\",\"name\":\"Missions\",\"categoryField\":\"status\",\"metric\":{\"field\":\"missions\",\"aggregation\":\"sum\"}}],\"theme\":{\"palette\":[\"#0f766e\",\"#2563eb\",\"#16a34a\",\"#dc2626\"],\"legend\":{\"visible\":true,\"position\":\"bottom\"},\"tooltip\":{\"enabled\":true,\"trigger\":\"item\"}}}}}}},{\"id\":\"mission-participants\",\"icon\":\"groups\",\"title\":\"Participant roster modal\",\"subtitle\":\"Open a remote List surface backed by the quickstart filter endpoint\",\"surfaceKind\":\"Remote list\",\"priority\":\"Medium\",\"surfacePayload\":{\"presentation\":\"modal\",\"title\":\"Mission participant roster\",\"icon\":\"groups\",\"subtitle\":\"Governed inline filters and a remote List rendered inside Praxis Dialog\",\"size\":{\"width\":\"1040px\",\"maxWidth\":\"96vw\",\"height\":\"760px\",\"maxHeight\":\"90vh\"},\"widget\":{\"id\":\"praxis-dynamic-page\",\"bindingOrder\":[\"page\",\"autoPersist\",\"strictValidation\",\"enableCustomization\"],\"inputs\":{\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"8px\"},\"widgets\":[{\"key\":\"missionParticipantFilter\",\"shell\":{\"kind\":\"none\"},\"definition\":{\"id\":\"praxis-filter\",\"bindingOrder\":[\"resourcePath\",\"filterId\",\"formId\",\"alwaysVisibleFields\",\"selectedFieldIds\",\"disablePersistence\",\"placeBooleansInActions\",\"showFilterSettings\",\"showAdvancedButton\",\"showAddButton\",\"showSearchButton\"],\"inputs\":{\"resourcePath\":\"operations/missao-participantes\",\"filterId\":\"dialog-mission-participants-filter\",\"formId\":\"dialog-mission-participants-filter-form\",\"componentInstanceId\":\"dialog-mission-participants-filter\",\"alwaysVisibleFields\":[\"papel\",\"resultado\",\"principal\"],\"selectedFieldIds\":[\"papel\",\"resultado\",\"principal\"],\"disablePersistence\":true,\"placeBooleansInActions\":true,\"showFilterSettings\":false,\"showAdvancedButton\":false,\"showAddButton\":true,\"showSearchButton\":false,\"i18n\":{\"filtersAdd\":\"Add filter\",\"clear\":\"Clear filters\",\"apply\":\"Search\"}},\"outputs\":{\"change\":\"emit\",\"clear\":\"emit\"}}},{\"key\":\"missionParticipantList\",\"shell\":{\"kind\":\"none\"},\"definition\":{\"id\":\"praxis-list\",\"bindingOrder\":[\"listId\",\"queryContext\",\"config\"],\"inputs\":{\"listId\":\"dialog-mission-participants-list\",\"componentInstanceId\":\"dialog-mission-participants-list\",\"queryContext\":{\"filters\":{},\"page\":{\"index\":0,\"size\":6}},\"config\":{\"id\":\"dialog-mission-participants-list-config\",\"dataSource\":{\"resourcePath\":\"operations/missao-participantes\",\"sort\":[\"ordem,asc\"]},\"layout\":{\"variant\":\"list\",\"density\":\"compact\",\"lines\":3,\"dividers\":\"between\",\"pageSize\":6,\"rowLayout\":{\"type\":\"grid\",\"columns\":[{\"slot\":\"leading\",\"width\":\"44px\",\"align\":\"center\"},{\"slot\":\"primary\",\"width\":\"minmax(160px, 1fr)\"},{\"slot\":\"secondary\",\"width\":\"minmax(180px, 1.1fr)\"},{\"slot\":\"meta\",\"width\":\"120px\",\"align\":\"start\"},{\"slot\":\"trailing\",\"width\":\"110px\",\"align\":\"end\"}],\"gap\":\"12px\",\"align\":\"center\"}},\"selection\":{\"mode\":\"single\",\"compareBy\":\"funcionarioId\",\"return\":\"id\"},\"templating\":{\"leading\":{\"type\":\"icon\",\"expr\":\"groups\"},\"primary\":{\"type\":\"text\",\"expr\":\"${item.funcionarioNome}\"},\"secondary\":{\"type\":\"text\",\"expr\":\"${item.missaoTitulo}\"},\"meta\":{\"type\":\"chip\",\"expr\":\"${item.papel}\",\"variant\":\"outlined\"},\"trailing\":{\"type\":\"chip\",\"expr\":\"${item.resultado}\",\"variant\":\"filled\"}},\"ui\":{\"showSearch\":false,\"showSort\":true,\"showRange\":true,\"sortOptions\":[{\"label\":\"Operational order\",\"value\":\"ordem,asc\"},{\"label\":\"ID\",\"value\":\"id,asc\"},{\"label\":\"Role\",\"value\":\"papel,asc\"}]}}}}}],\"composition\":{\"version\":\"1.0.0\",\"links\":[{\"id\":\"dialog:participant-filter-change->participant-list.queryContext\",\"intent\":\"event-propagation\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionParticipantFilter\",\"port\":\"change\",\"direction\":\"output\",\"componentType\":\"praxis-filter\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionParticipantList\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-list\"}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"payload\"}],\"steps\":[{\"id\":\"participant-filter-dto-to-list-query-context\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"filters\":\"${source}\",\"page\":{\"index\":0,\"size\":6},\"meta\":{\"source\":\"praxis-filter-change\",\"resourcePath\":\"operations/missao-participantes\"}}}}]},\"policy\":{\"debounceMs\":80,\"missingValuePolicy\":\"use-default\",\"distinct\":true,\"errorPolicy\":\"diagnostic\"}},{\"id\":\"dialog:participant-filter-clear->participant-list.queryContext\",\"intent\":\"event-propagation\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionParticipantFilter\",\"port\":\"clear\",\"direction\":\"output\",\"componentType\":\"praxis-filter\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionParticipantList\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-list\"}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"constant\",\"value\":{}}],\"steps\":[{\"id\":\"clear-participant-list-query-context\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"filters\":{},\"page\":{\"index\":0,\"size\":6},\"meta\":{\"source\":\"praxis-filter-clear\",\"resourcePath\":\"operations/missao-participantes\"}}}}]},\"policy\":{\"debounceMs\":0,\"missingValuePolicy\":\"use-default\",\"distinct\":true,\"errorPolicy\":\"diagnostic\"}}]}},\"autoPersist\":false,\"strictValidation\":true,\"enableCustomization\":false}}}},{\"id\":\"policy-note\",\"icon\":\"policy\",\"title\":\"Operational guidance modal\",\"subtitle\":\"Open a rich text surface with policy and agent instructions\",\"surfaceKind\":\"Rich text\",\"priority\":\"Medium\",\"surfacePayload\":{\"presentation\":\"modal\",\"title\":\"Operational guidance\",\"icon\":\"policy\",\"subtitle\":\"Rich Text Block rendered inside Praxis Dialog\",\"size\":{\"width\":\"720px\",\"maxWidth\":\"90vw\"},\"widget\":{\"id\":\"widget:rich-text-block\",\"inputs\":{\"title\":\"Surface action guidance\",\"content\":\"Use surface.open when an action should reveal a governed runtime surface without forcing the base page to reserve permanent layout space. The payload remains pure JSON and the host owns the dialog provider.\",\"variant\":\"emphasis\"}}}}],\"sort\":[\"priority,asc\"]},\"layout\":{\"variant\":\"cards\",\"density\":\"comfortable\",\"lines\":3,\"dividers\":\"none\",\"pageSize\":6},\"skin\":{\"type\":\"outline\",\"radius\":\"8px\",\"border\":\"1px solid rgba(37, 99, 235, 0.28)\"},\"selection\":{\"mode\":\"single\",\"compareBy\":\"id\",\"return\":\"id\"},\"templating\":{\"leading\":{\"type\":\"icon\",\"expr\":\"${item.icon}\"},\"primary\":{\"type\":\"text\",\"expr\":\"${item.title}\"},\"secondary\":{\"type\":\"text\",\"expr\":\"${item.subtitle}\"},\"trailing\":{\"type\":\"chip\",\"expr\":\"${item.surfaceKind}\",\"variant\":\"outlined\"},\"features\":[{\"type\":\"chip\",\"expr\":\"${item.priority}\",\"variant\":\"filled\"},{\"type\":\"chip\",\"expr\":\"surface.open\",\"variant\":\"outlined\"}],\"featuresMode\":\"labels-only\"}}}",
|
|
3335
|
+
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
3336
|
+
"contentHash": "c98f8f6d4c6568bee63bb2f336b6cac9dbba55e40e221c2ba0b5814eeb19a959",
|
|
3337
|
+
"sourceKind": "component_definition",
|
|
3338
|
+
"sourceId": "praxis-dynamic-page",
|
|
3339
|
+
"corpusVersion": "1.0.0"
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
"chunkIndex": 36,
|
|
3343
|
+
"chunkKind": "recipe",
|
|
3344
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[0].definition.inputs.config\",\"fragmentPath\":\"page.widgets[0].definition.inputs.config\",\"fragmentIdentity\":{\"key\":\"dialogSurfaceLaunchers\",\"id\":\"dialog-surface-launchers-config\"},\"fragment\":{\"actions\":[{\"id\":\"open-surface-dialog\",\"icon\":\"open_in_new\",\"label\":\"Open surface\",\"kind\":\"button\",\"buttonVariant\":\"stroked\",\"globalAction\":{\"actionId\":\"surface.open\",\"payload\":\"${item.surfacePayload}\"},\"emitLocal\":false,\"showLoading\":true,\"placement\":\"trailing\"}],\"ui\":{\"showSearch\":false,\"showSort\":false,\"showRange\":false},\"a11y\":{\"ariaLabel\":\"Dialog surface launcher list\"}}}",
|
|
3345
|
+
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
3346
|
+
"contentHash": "1be6b4368f6a1abe6abc40189e63874eb37a6aa90043008ce1ada386c41a7c1d",
|
|
3347
|
+
"sourceKind": "component_definition",
|
|
3348
|
+
"sourceId": "praxis-dynamic-page",
|
|
3349
|
+
"corpusVersion": "1.0.0"
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
"chunkIndex": 37,
|
|
3353
|
+
"chunkKind": "recipe",
|
|
3354
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[0].definition\",\"fragmentPath\":\"page.widgets[0].definition\",\"fragmentIdentity\":{\"key\":\"dialogSurfaceLaunchers\",\"id\":\"praxis-list\"},\"fragment\":{\"outputs\":{\"itemClick\":\"emit\",\"selectionChange\":\"emit\"}}}",
|
|
3355
|
+
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
3356
|
+
"contentHash": "e55ff3d82709ddc1ffccc57893815dfb665f39a216a5bd2e4c5cc4f1c4408e26",
|
|
3357
|
+
"sourceKind": "component_definition",
|
|
3358
|
+
"sourceId": "praxis-dynamic-page",
|
|
3359
|
+
"corpusVersion": "1.0.0"
|
|
3360
|
+
},
|
|
3361
|
+
{
|
|
3362
|
+
"chunkIndex": 38,
|
|
3363
|
+
"chunkKind": "recipe",
|
|
3254
3364
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment\",\"_comment\":\"Recipe para agentes criarem uma Praxis Dynamic Page que demonstra o catalogo de controles do Dynamic Fields.\"}",
|
|
3255
3365
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
3256
3366
|
"contentHash": "dd28ade36ed9fdb645ac4b73464b8c89074f13110ae5191ba721fe157aeb9421",
|
|
@@ -3259,7 +3369,7 @@
|
|
|
3259
3369
|
"corpusVersion": "1.0.0"
|
|
3260
3370
|
},
|
|
3261
3371
|
{
|
|
3262
|
-
"chunkIndex":
|
|
3372
|
+
"chunkIndex": 39,
|
|
3263
3373
|
"chunkKind": "recipe",
|
|
3264
3374
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment2\",\"_comment2\":\"Use quando a meta for mostrar muitos controlType package-owned em um formulario local/transient.\"}",
|
|
3265
3375
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3269,7 +3379,7 @@
|
|
|
3269
3379
|
"corpusVersion": "1.0.0"
|
|
3270
3380
|
},
|
|
3271
3381
|
{
|
|
3272
|
-
"chunkIndex":
|
|
3382
|
+
"chunkIndex": 40,
|
|
3273
3383
|
"chunkKind": "recipe",
|
|
3274
3384
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"templateMeta\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"dynamic-fields-catalog\",\"status\":\"public-example\",\"useWhen\":\"Create a copyable Dynamic Fields control catalog inside a Dynamic Page.\",\"examplePrompts\":[\"crie um catalogo de campos do praxis dynamic fields\",\"mostre input, email, cpf, telefone, currency, date range, select, chips, upload e avatar\",\"gere um recipe de dynamic page com muitos control types\"]}}",
|
|
3275
3385
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3279,7 +3389,7 @@
|
|
|
3279
3389
|
"corpusVersion": "1.0.0"
|
|
3280
3390
|
},
|
|
3281
3391
|
{
|
|
3282
|
-
"chunkIndex":
|
|
3392
|
+
"chunkIndex": 41,
|
|
3283
3393
|
"chunkKind": "recipe",
|
|
3284
3394
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"platformValue\",\"platformValue\":{\"canonicalContract\":\"@praxisui/dynamic-fields owns runtime control resolution and editorial metadata for package-owned controls.\",\"referenceApi\":\"praxis-api-quickstart can still provide option endpoints for asyncSelect examples.\",\"angularRuntime\":\"@praxisui/dynamic-form renders package-owned Dynamic Fields controls from fieldMetadata.\",\"publicExamples\":\"praxis-ui-landing-page exposes the JSON envelope, runtime preview and coverage map.\",\"agentCorpus\":\"This recipe teaches exact controlType names and grouping patterns for LLM-generated forms.\"}}",
|
|
3285
3395
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3289,7 +3399,7 @@
|
|
|
3289
3399
|
"corpusVersion": "1.0.0"
|
|
3290
3400
|
},
|
|
3291
3401
|
{
|
|
3292
|
-
"chunkIndex":
|
|
3402
|
+
"chunkIndex": 42,
|
|
3293
3403
|
"chunkKind": "recipe",
|
|
3294
3404
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"operationalEvidence\",\"operationalEvidence\":{\"baseUrl\":\"https://praxis-api-quickstart.onrender.com\",\"safeFirstIds\":[\"filtered-schema-response-funcionarios\",\"cargos-options-filter\"],\"httpExamples\":[\"praxisui-http-examples/http/metadata/filtered_schema_response_funcionarios.http\",\"praxisui-http-examples/http/resources/cargos_options_filter.http\"],\"canonicalFiles\":[\"praxis-ui-angular/projects/praxis-dynamic-fields/src/lib/catalog/dynamic-fields-playground.catalog.ts\",\"praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.fields.json\",\"praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.form-config.json\"]}}",
|
|
3295
3405
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3299,7 +3409,7 @@
|
|
|
3299
3409
|
"corpusVersion": "1.0.0"
|
|
3300
3410
|
},
|
|
3301
3411
|
{
|
|
3302
|
-
"chunkIndex":
|
|
3412
|
+
"chunkIndex": 43,
|
|
3303
3413
|
"chunkKind": "recipe",
|
|
3304
3414
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringGuidance\",\"authoringGuidance\":[\"Use package-owned controlType names from the Dynamic Fields catalog.\",\"Use local transient state when the form is a capability catalog rather than a persisted backend DTO.\",\"Group controls by family so agents can copy smaller sections into real forms.\",\"Use fieldMetadata for labels, validators, masks, ranges, options and control-specific settings.\",\"Use asyncSelect only with a canonical option endpoint or a documented host-provided option source.\",\"Do not add new controlType aliases in app examples; add them only through the canonical Dynamic Fields chain.\"]}",
|
|
3305
3415
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3309,7 +3419,7 @@
|
|
|
3309
3419
|
"corpusVersion": "1.0.0"
|
|
3310
3420
|
},
|
|
3311
3421
|
{
|
|
3312
|
-
"chunkIndex":
|
|
3422
|
+
"chunkIndex": 44,
|
|
3313
3423
|
"chunkKind": "recipe",
|
|
3314
3424
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"teaches\",\"teaches\":[\"dynamic-form.fieldMetadata\",\"dynamic-form.sections\",\"dynamic-fields.input\",\"dynamic-fields.email\",\"dynamic-fields.password\",\"dynamic-fields.url\",\"dynamic-fields.phone\",\"dynamic-fields.cpfCnpjInput\",\"dynamic-fields.textarea\",\"dynamic-fields.currency\",\"dynamic-fields.slider\",\"dynamic-fields.rating\",\"dynamic-fields.date\",\"dynamic-fields.dateRange\",\"dynamic-fields.timePicker\",\"dynamic-fields.select\",\"dynamic-fields.asyncSelect\",\"dynamic-fields.multiSelect\",\"dynamic-fields.radio\",\"dynamic-fields.toggle\",\"dynamic-fields.checkbox\",\"dynamic-fields.chipInput\",\"dynamic-fields.colorPicker\",\"dynamic-fields.avatar\",\"dynamic-fields.upload\"]}",
|
|
3315
3425
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3319,7 +3429,7 @@
|
|
|
3319
3429
|
"corpusVersion": "1.0.0"
|
|
3320
3430
|
},
|
|
3321
3431
|
{
|
|
3322
|
-
"chunkIndex":
|
|
3432
|
+
"chunkIndex": 45,
|
|
3323
3433
|
"chunkKind": "recipe",
|
|
3324
3434
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"dynamicFieldsCatalogForm\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"widgets\",\"title\":\"Dynamic Fields catalog\",\"subtitle\":\"Package-owned control recipes grouped by family\"},\"definition\":{\"id\":\"praxis-dynamic-form\",\"bindingOrder\":[\"config\",\"formId\",\"initialValue\"],\"inputs\":{\"formId\":\"dynamic-fields-control-catalog\",\"mode\":\"edit\",\"initialValue\":{\"fullName\":\"Ayla Hayes\",\"emailAddress\":\"ayla.hayes@blackmesa.com\",\"password\":\"Praxis-demo-2026\",\"profileUrl\":\"https://praxisplatform.dev\",\"phoneNumber\":\"+55 11 97100047\",\"documentNumber\":\"99000000047\",\"biography\":\"Operational profile used to demonstrate text, mask and validation controls.\",\"salaryTarget\":28500,\"allocationPercent\":72,\"readinessRating\":4,\"admissionDate\":\"2022-03-05\",\"availabilityWindow\":{\"start\":\"2026-04-01\",\"end\":\"2026-04-30\"},\"briefingTime\":\"09:30\",\"department\":\"RD\",\"cargoLookup\":2,\"skills\":[\"ANGULAR\",\"SECURITY\"],\"workMode\":\"HYBRID\",\"activeAssignment\":true,\"tags\":[\"metadata\",\"runtime\",\"agent-ready\"],\"brandColor\":\"#1263b4\",\"avatarUrl\":\"https://api.dicebear.com/7.x/adventurer/png?seed=ayla\"},\"config\":{\"metadata\":{\"name\":\"Dynamic Fields control catalog\",\"version\":\"1.0.0\"},\"sections\":[{\"id\":\"text-family\",\"title\":\"Text and identity\",\"description\":\"Text, credentials, contact and Brazilian document controls.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"text-row-1\",\"columns\":[{\"id\":\"text-left\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"fullName\",\"emailAddress\",\"password\",\"profileUrl\"]},{\"id\":\"text-right\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"phoneNumber\",\"documentNumber\",\"biography\"]}]}]},{\"id\":\"numbers-dates\",\"title\":\"Numbers and dates\",\"description\":\"Numeric, currency, slider, rating, date range and time controls.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"numbers-row-1\",\"columns\":[{\"id\":\"numbers-left\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"salaryTarget\",\"allocationPercent\",\"readinessRating\"]},{\"id\":\"dates-right\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"admissionDate\",\"availabilityWindow\",\"briefingTime\"]}]}]},{\"id\":\"selection-family\",\"title\":\"Selection\",\"description\":\"Select, async select, multi select, radio and toggle controls.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"selection-row-1\",\"columns\":[{\"id\":\"selection-left\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"department\",\"cargoLookup\",\"skills\"]},{\"id\":\"selection-right\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"workMode\",\"activeAssignment\",\"acceptTerms\"]}]}]},{\"id\":\"visual-family\",\"title\":\"Visual and attachments\",\"description\":\"Chips, color, avatar and upload controls.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"visual-row-1\",\"columns\":[{\"id\":\"visual-left\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"tags\",\"brandColor\"]},{\"id\":\"visual-right\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"avatarUrl\",\"attachments\"]}]}]}],\"fieldMetadata\":[{\"name\":\"fullName\",\"label\":\"Full name\",\"controlType\":\"input\",\"validators\":{\"required\":true,\"maxLength\":160}},{\"name\":\"emailAddress\",\"label\":\"Email\",\"controlType\":\"email\",\"validators\":{\"required\":true,\"email\":true}},{\"name\":\"password\",\"label\":\"Password\",\"controlType\":\"password\",\"validators\":{\"minLength\":8}},{\"name\":\"profileUrl\",\"label\":\"Profile URL\",\"controlType\":\"url\",\"placeholder\":\"https://example.com/profile\"},{\"name\":\"phoneNumber\",\"label\":\"Phone\",\"controlType\":\"phone\",\"maskType\":\"phone\"},{\"name\":\"documentNumber\",\"label\":\"CPF\",\"controlType\":\"cpfCnpjInput\",\"maskType\":\"cpf\",\"unmaskOnSubmit\":true},{\"name\":\"biography\",\"label\":\"Biography\",\"controlType\":\"textarea\",\"rows\":4,\"validators\":{\"maxLength\":500}},{\"name\":\"salaryTarget\",\"label\":\"Salary target\",\"controlType\":\"currency\",\"currencyCode\":\"BRL\",\"locale\":\"pt-BR\",\"validators\":{\"min\":0}},{\"name\":\"allocationPercent\",\"label\":\"Allocation\",\"controlType\":\"slider\",\"min\":0,\"max\":100,\"step\":5},{\"name\":\"readinessRating\",\"label\":\"Readiness\",\"controlType\":\"rating\",\"max\":5},{\"name\":\"admissionDate\",\"label\":\"Admission date\",\"controlType\":\"date\"},{\"name\":\"availabilityWindow\",\"label\":\"Availability window\",\"controlType\":\"dateRange\"},{\"name\":\"briefingTime\",\"label\":\"Briefing time\",\"controlType\":\"timePicker\"},{\"name\":\"department\",\"label\":\"Department\",\"controlType\":\"select\",\"options\":[{\"label\":\"Research\",\"value\":\"RD\"},{\"label\":\"Operations\",\"value\":\"OPS\"},{\"label\":\"Security\",\"value\":\"SEC\"}]},{\"name\":\"cargoLookup\",\"label\":\"Cargo lookup\",\"controlType\":\"asyncSelect\",\"endpoint\":\"/api/human-resources/cargos/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\"},{\"name\":\"skills\",\"label\":\"Skills\",\"controlType\":\"multiSelect\",\"options\":[{\"label\":\"Angular\",\"value\":\"ANGULAR\"},{\"label\":\"Security\",\"value\":\"SECURITY\"},{\"label\":\"Analytics\",\"value\":\"ANALYTICS\"}]},{\"name\":\"workMode\",\"label\":\"Work mode\",\"controlType\":\"radio\",\"options\":[{\"label\":\"Remote\",\"value\":\"REMOTE\"},{\"label\":\"Hybrid\",\"value\":\"HYBRID\"},{\"label\":\"Field\",\"value\":\"FIELD\"}]},{\"name\":\"activeAssignment\",\"label\":\"Active assignment\",\"controlType\":\"toggle\"},{\"name\":\"acceptTerms\",\"label\":\"Accept operating terms\",\"controlType\":\"checkbox\",\"validators\":{\"requiredChecked\":true}},{\"name\":\"tags\",\"label\":\"Tags\",\"controlType\":\"chipInput\"},{\"name\":\"brandColor\",\"label\":\"Brand color\",\"controlType\":\"colorPicker\",\"format\":\"hex\"},{\"name\":\"avatarUrl\",\"label\":\"Avatar\",\"controlType\":\"avatar\",\"imageField\":\"avatarUrl\"},{\"name\":\"attachments\",\"label\":\"Attachments\",\"controlType\":\"upload\",\"multiple\":true,\"accept\":\".pdf,.png,.jpg\"}],\"actions\":{\"submit\":{\"id\":\"copy-field-catalog\",\"label\":\"Copy control recipe\",\"icon\":\"content_copy\",\"visible\":true,\"type\":\"submit\"},\"cancel\":{\"id\":\"clear-field-catalog\",\"label\":\"Clear\",\"visible\":true,\"type\":\"button\"},\"reset\":{\"id\":\"reset-field-catalog\",\"label\":\"Reset\",\"visible\":true,\"type\":\"reset\"},\"position\":\"right\",\"placement\":\"afterSections\",\"spacing\":\"normal\"}}}}}]}}",
|
|
3325
3435
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3329,7 +3439,7 @@
|
|
|
3329
3439
|
"corpusVersion": "1.0.0"
|
|
3330
3440
|
},
|
|
3331
3441
|
{
|
|
3332
|
-
"chunkIndex":
|
|
3442
|
+
"chunkIndex": 46,
|
|
3333
3443
|
"chunkKind": "recipe",
|
|
3334
3444
|
"content": "{\"_comment\":\"Recipe para agentes criarem uma Praxis Dynamic Page com praxis-dynamic-form renderizando Editable Collection / Array Field.\",\"_comment2\":\"Use quando a meta for demonstrar x-ui.array, itemSchema, itemSchemaRef e validacao de colecao vindos de uma action schema do backend.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"editable-collection-form\",\"status\":\"public-example\",\"useWhen\":\"Create a metadata-driven partial form with an editable array of nested object items.\",\"examplePrompts\":[\"crie um formulario com editable collection no praxis dynamic form\",\"mostre x-ui.array com itemSchema e validacao uniqueBy\",\"gere uma dynamic page para planejar equipe de missao com array field\"]},\"platformValue\":{\"canonicalContract\":\"praxis-metadata-starter publishes x-ui.array through the filtered request schema; praxis-api-quickstart owns the mission team-plan resource action.\",\"referenceApi\":\"praxis-api-quickstart exposes PATCH /api/operations/missoes/{id}/team-plan and funcionario option lookup.\",\"angularRuntime\":\"@praxisui/dynamic-form builds a FormArray and @praxisui/dynamic-fields resolves controlType array to pdx-editable-collection.\",\"publicExamples\":\"praxis-ui-landing-page exposes a local mirror of the backend action contract, the JSON envelope, runtime preview and coverage map.\",\"agentCorpus\":\"This recipe teaches agents how to model nested repeatable object collections without inventing custom widgets.\"},\"operationalEvidence\":{\"baseUrl\":\"https://praxis-api-quickstart.onrender.com\",\"safeFirstIds\":[\"filtered-schema-request-missao-team-plan\",\"funcionarios-options-filter\"],\"pendingHttpIds\":[\"missao-team-plan-schema\",\"missao-team-plan-patch\"],\"canonicalFiles\":[\"praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/operations/controller/MissaoController.java\",\"praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/operations/dto/PlanejarEquipeMissaoDTO.java\",\"praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/operations/dto/PlanejarEquipeMissaoParticipanteDTO.java\",\"praxis-ui-angular/projects/praxis-dynamic-fields/src/lib/components/editable-collection/editable-collection.component.ts\",\"praxis-ui-angular/projects/praxis-core/src/lib/services/dynamic-form.service.ts\"]},\"authoringGuidance\":[\"Use controlType array for editable object collections.\",\"Keep itemSchemaRef aligned to the backend component schema when the backend publishes one.\",\"Use array.itemSchema.fields when the runtime needs the nested field definitions inline.\",\"Use array.itemIdentityField for persisted item identity and deleteMode removeFromPayload for patch payloads.\",\"Use array.operations to govern add, edit and remove affordances.\",\"Use array.collectionValidation.uniqueBy and exactlyOne for collection-level business rules.\",\"Use asyncSelect only with a canonical option endpoint or a documented host-provided option source.\"],\"teaches\":[\"dynamic-form.FormArray\",\"dynamic-form.fieldMetadata\",\"dynamic-fields.array\",\"pdx-editable-collection\",\"array.itemSchemaRef\",\"array.itemSchema.fields\",\"array.itemIdentityField\",\"array.operations\",\"array.collectionValidation.uniqueBy\",\"array.collectionValidation.exactlyOne\",\"resource-action.partial-form\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"missionTeamEditableCollectionForm\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"groups\",\"title\":\"Mission team plan\",\"subtitle\":\"Editable Collection from the quickstart team-plan action\"},\"definition\":{\"id\":\"praxis-dynamic-form\",\"bindingOrder\":[\"config\",\"formId\",\"initialValue\",\"submitUrl\",\"submitMethod\"],\"inputs\":{\"formId\":\"operations-missoes-team-plan\",\"mode\":\"edit\",\"submitUrl\":\"/api/operations/missoes/1/team-plan\",\"submitMethod\":\"patch\",\"initialValue\":{\"participantes\":[{\"id\":2,\"funcionarioId\":2,\"funcionarioNome\":\"Ayla Hayes\",\"papel\":\"LIDER\",\"ordem\":1,\"principal\":true},{\"id\":5,\"funcionarioId\":5,\"funcionarioNome\":\"Tomas Hayes\",\"papel\":\"TECNICO\",\"ordem\":2,\"principal\":false}]},\"config\":{\"metadata\":{\"name\":\"Mission team planning request\",\"version\":\"1.0.0\"},\"sections\":[{\"id\":\"team-plan\",\"title\":\"Team plan\",\"description\":\"Edit the mission participant collection published by the quickstart team-plan action schema.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"team-plan-row\",\"columns\":[{\"id\":\"team-plan-main\",\"span\":{\"md\":12,\"lg\":12},\"fields\":[\"participantes\"]}]}]}],\"fieldMetadata\":[{\"name\":\"participantes\",\"label\":\"Participantes\",\"controlType\":\"array\",\"type\":\"array\",\"required\":true,\"array\":{\"itemType\":\"object\",\"mode\":\"cards\",\"itemSchemaRef\":\"#/components/schemas/PlanejarEquipeMissaoParticipanteDTO\",\"itemIdentityField\":\"id\",\"minItems\":1,\"maxItems\":12,\"addLabel\":\"Adicionar participante\",\"emptyState\":\"Nenhum participante planejado\",\"itemTitleTemplate\":\"{{funcionarioNome}} - {{papel}}\",\"deleteMode\":\"removeFromPayload\",\"operations\":{\"add\":true,\"edit\":true,\"remove\":true},\"collectionValidation\":{\"uniqueBy\":[\"funcionarioId\"],\"exactlyOne\":{\"field\":\"principal\",\"value\":true,\"message\":\"Defina exatamente um participante principal.\"}},\"itemSchema\":{\"fields\":[{\"name\":\"funcionarioId\",\"label\":\"Funcionario\",\"controlType\":\"asyncSelect\",\"required\":true,\"endpoint\":\"/api/human-resources/funcionarios/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\"},{\"name\":\"funcionarioNome\",\"label\":\"Nome\",\"controlType\":\"input\",\"readOnly\":true},{\"name\":\"papel\",\"label\":\"Papel\",\"controlType\":\"select\",\"required\":true,\"options\":[{\"label\":\"Lider\",\"value\":\"LIDER\"},{\"label\":\"Tecnico\",\"value\":\"TECNICO\"},{\"label\":\"Analista\",\"value\":\"ANALISTA\"},{\"label\":\"Piloto\",\"value\":\"PILOTO\"},{\"label\":\"Medico\",\"value\":\"MEDICO\"}]},{\"name\":\"ordem\",\"label\":\"Ordem\",\"controlType\":\"numericTextBox\",\"readOnly\":true},{\"name\":\"principal\",\"label\":\"Principal\",\"controlType\":\"toggle\"}]}}}],\"actions\":{\"submit\":{\"id\":\"submit-team-plan\",\"label\":\"Submit team plan\",\"icon\":\"task_alt\",\"visible\":true,\"type\":\"submit\"},\"reset\":{\"id\":\"reset-team-plan\",\"label\":\"Reset\",\"visible\":true,\"type\":\"reset\"},\"position\":\"right\",\"placement\":\"afterSections\",\"spacing\":\"normal\"}}}}}]}}",
|
|
3335
3445
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.editable-collection-form.json",
|
|
@@ -3339,7 +3449,7 @@
|
|
|
3339
3449
|
"corpusVersion": "1.0.0"
|
|
3340
3450
|
},
|
|
3341
3451
|
{
|
|
3342
|
-
"chunkIndex":
|
|
3452
|
+
"chunkIndex": 47,
|
|
3343
3453
|
"chunkKind": "recipe",
|
|
3344
3454
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an HR compensation review workbench using portable rich-content blocks for budget signals, reward partner context and governed compensation actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"employee-compensation-review-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an HR compensation review workbench with budget signals, reward partner context and governed compensation actions.\",\"examplePrompts\":[\"create an HR compensation review workbench\",\"show a governed compensation review rich content surface\",\"generate a people operations page with compensation signals and budget actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable HR compensation review surface.\",\"hostMediation\":\"The host mediates employee, reward partner, budget and escalation flows through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same compensation review workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps compensation signals, selected employee context, reward partner ownership and governed compensation actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model compensation metrics with statGroup instead of host-authored budget cards.\",\"Model the selected employee with lookupCard when the host already resolved the compensation context.\",\"Use tabs for summary and budget views instead of host-authored compensation sections.\",\"Use relatedRecord, ctaGroup and actionCard for governed compensation and escalation actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"employeeCompensationReviewWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"payments\",\"title\":\"Compensation review workbench\",\"subtitle\":\"Portable rich-content surface for governed HR compensation operations\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"employee-compensation-review-workbench\",\"context\":{\"employee\":{\"id\":\"EMP-440\",\"name\":\"Daniela Freitas\",\"role\":\"Staff Product Manager\",\"department\":\"Platform strategy\",\"cycle\":\"Q2\",\"budget\":\"18%\",\"proposedIncrease\":\"8%\",\"compaRatio\":\"0.97\",\"marketSignal\":\"Midpoint to +5%\",\"reviewWindow\":\"2d\"},\"partner\":{\"name\":\"Nadia Costa\",\"department\":\"Rewards and mobility\",\"budgetLane\":\"Reward council / compensation\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"payments\",\"titleExpr\":\"${employee.name}\",\"message\":\"Use a portable HR compensation review surface when the host must expose budget signals, market context and governed reward actions without inventing people-ops templates.\"},{\"type\":\"statGroup\",\"title\":\"Compensation signals\",\"subtitle\":\"Canonical KPI block for compensation review workbenches\",\"layout\":\"grid\",\"items\":[{\"label\":\"Cycle\",\"valueExpr\":\"${employee.cycle}\",\"captionExpr\":\"${employee.department}\",\"icon\":\"event\"},{\"label\":\"Budget\",\"valueExpr\":\"${employee.budget}\",\"captionExpr\":\"${employee.reviewWindow}\",\"icon\":\"payments\"},{\"label\":\"Increase\",\"valueExpr\":\"${employee.proposedIncrease}\",\"captionExpr\":\"${employee.marketSignal}\",\"icon\":\"trending_up\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected employee\",\"status\":\"resolved\",\"subtitleExpr\":\"${employee.name}\",\"metaExpr\":\"${employee.role}\",\"ctaLabel\":\"Open employee\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.comp.employee.open\",\"payloadExpr\":\"${employee}\"},\"fields\":[{\"label\":\"Proposed increase\",\"valueExpr\":\"${employee.proposedIncrease}\"},{\"label\":\"Compa-ratio\",\"valueExpr\":\"${employee.compaRatio}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.comp.dossier.open\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"tabs\",\"title\":\"Compensation views\",\"subtitle\":\"Portable editorial tabs for compensation summary and budget context.\",\"appearance\":\"underline\",\"defaultTabId\":\"summary\",\"items\":[{\"id\":\"summary\",\"label\":\"Summary\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Tabs keep reward notes, market context and proposal rationale inside the same RichContentDocument.\"}]},{\"id\":\"budget\",\"label\":\"Budget\",\"icon\":\"account_balance_wallet\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Budget rule\",\"value\":\"Escalate any compensation proposal above the approved budget lane or any exception requiring leadership approval.\"},{\"label\":\"Evidence source\",\"valueExpr\":\"${employee.reviewWindow}\"},{\"label\":\"Portability rule\",\"value\":\"Keep compensation semantics in the rich-content document; keep execution in the host.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Reward partner\",\"subtitleExpr\":\"${partner.name}\",\"relationLabel\":\"Partner\",\"metaExpr\":\"${partner.department}\",\"ctaLabel\":\"Open partner\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.comp.partner.open\",\"payloadExpr\":\"${partner}\"},\"fields\":[{\"label\":\"Budget lane\",\"valueExpr\":\"${partner.budgetLane}\",\"hint\":\"Resolved from the current compensation review assignment.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Schedule comp review\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.comp.partner.scheduleReview\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Compensation actions\",\"subtitle\":\"Governed HR compensation outcomes\",\"message\":\"Use semantic compensation actions instead of host-authored proposal button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Confirm comp proposal\",\"icon\":\"task_alt\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.comp.confirm\",\"payloadExpr\":\"${employee}\"}},{\"type\":\"actionButton\",\"label\":\"Request budget follow-up\",\"icon\":\"flag\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.comp.budget.followUp\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate compensation case\",\"subtitleExpr\":\"${employee.id}\",\"message\":\"Use actionCard when the HR host needs a governed reward escalation or compensation exception flow.\",\"metaExpr\":\"${employee.role}\",\"ctaLabel\":\"Escalate compensation\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.comp.escalate\",\"payloadExpr\":\"${employee}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.comp.dossier.open\",\"payloadExpr\":\"${employee}\"}}]}]}}}}]}}",
|
|
3345
3455
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-compensation-review-workbench.json",
|
|
@@ -3349,7 +3459,7 @@
|
|
|
3349
3459
|
"corpusVersion": "1.0.0"
|
|
3350
3460
|
},
|
|
3351
3461
|
{
|
|
3352
|
-
"chunkIndex":
|
|
3462
|
+
"chunkIndex": 48,
|
|
3353
3463
|
"chunkKind": "recipe",
|
|
3354
3464
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an HR employee insight workbench using portable rich-content blocks instead of host-authored templates.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"employee-insight-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an HR workbench with employee signals, reporting context and governed follow-up actions.\",\"examplePrompts\":[\"create an employee insight workbench\",\"show a governed HR rich content surface\",\"generate a people operations page with employee context and follow-up actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable HR surface.\",\"hostMediation\":\"The host mediates employee lookup, manager navigation and review flows through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same HR workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps employee insights, manager context and governed actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model employee KPIs with statGroup instead of custom host summary cards.\",\"Model the selected employee with lookupCard when the record is resolved by host context.\",\"Model the reporting manager with relatedRecord instead of host-authored relationship wrappers.\",\"Use ctaGroup and actionCard for governed HR actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"employeeInsightWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"badge\",\"title\":\"Employee insight workbench\",\"subtitle\":\"Portable rich-content surface for people operations follow-up\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"employee-insight-workbench\",\"context\":{\"employee\":{\"id\":\"EMP-2048\",\"name\":\"Carla Mendes\",\"role\":\"Senior HRBP\",\"department\":\"People Operations\",\"tenure\":\"4.2y\",\"performance\":\"Exceeds\",\"engagement\":\"82\",\"nextMilestone\":\"Promotion calibration\",\"reviewWindow\":\"6d\"},\"manager\":{\"name\":\"Ana Silva\",\"department\":\"People leadership\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"groups\",\"titleExpr\":\"${employee.name}\",\"message\":\"Use a portable HR surface when the host must expose employee insights and governed follow-up actions without inventing people-ops templates.\"},{\"type\":\"statGroup\",\"title\":\"Workforce signals\",\"subtitle\":\"Canonical KPI block for employee insight surfaces\",\"layout\":\"grid\",\"items\":[{\"label\":\"Tenure\",\"valueExpr\":\"${employee.tenure}\",\"captionExpr\":\"${employee.department}\",\"icon\":\"schedule\"},{\"label\":\"Performance\",\"valueExpr\":\"${employee.performance}\",\"captionExpr\":\"${employee.nextMilestone}\",\"icon\":\"military_tech\"},{\"label\":\"Engagement\",\"valueExpr\":\"${employee.engagement}\",\"caption\":\"Pulse score\",\"icon\":\"favorite\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected employee\",\"status\":\"resolved\",\"subtitleExpr\":\"${employee.name}\",\"metaExpr\":\"${employee.role}\",\"ctaLabel\":\"Open employee\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"employee.lookup.open\",\"payloadExpr\":\"${employee}\"},\"fields\":[{\"label\":\"Department\",\"valueExpr\":\"${employee.department}\"},{\"label\":\"Next milestone\",\"valueExpr\":\"${employee.nextMilestone}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"employee.dossier.open\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"tabs\",\"title\":\"Employee views\",\"subtitle\":\"Portable editorial tabs for people operations context.\",\"appearance\":\"underline\",\"defaultTabId\":\"overview\",\"items\":[{\"id\":\"overview\",\"label\":\"Overview\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Tabs keep coaching notes, org context and review readiness inside the same RichContentDocument.\"}]},{\"id\":\"review\",\"label\":\"Review\",\"icon\":\"assignment\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Review window\",\"valueExpr\":\"${employee.reviewWindow}\"},{\"label\":\"Next milestone\",\"valueExpr\":\"${employee.nextMilestone}\"},{\"label\":\"Portability rule\",\"value\":\"Keep domain semantics in the rich-content document; keep execution in the host.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Reporting manager\",\"subtitleExpr\":\"${manager.name}\",\"relationLabel\":\"Manager\",\"metaExpr\":\"${manager.department}\",\"ctaLabel\":\"Open manager\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"employee.manager.open\",\"payloadExpr\":\"${manager}\"},\"fields\":[{\"label\":\"Team\",\"valueExpr\":\"${employee.department}\",\"hint\":\"Resolved from the reporting chain.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Plan 1:1\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"employee.manager.planOneOnOne\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Guided actions\",\"subtitle\":\"Governed HR follow-up actions\",\"message\":\"Use semantic action clusters instead of host-authored employee button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Start review\",\"icon\":\"fact_check\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"employee.review.start\",\"payloadExpr\":\"${employee}\"}},{\"type\":\"actionButton\",\"label\":\"Plan promotion\",\"icon\":\"trending_up\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"employee.promotion.plan\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"actionCard\",\"title\":\"Open employee dossier\",\"subtitleExpr\":\"${employee.id}\",\"message\":\"Use actionCard when the HR host needs a governed dossier or case-review flow.\",\"metaExpr\":\"${employee.role}\",\"ctaLabel\":\"Open dossier\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"employee.dossier.open\",\"payloadExpr\":\"${employee}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Start retention plan\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"employee.retention.start\",\"payloadExpr\":\"${employee}\"}}]}]}}}}]}}",
|
|
3355
3465
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-insight-workbench.json",
|
|
@@ -3359,7 +3469,7 @@
|
|
|
3359
3469
|
"corpusVersion": "1.0.0"
|
|
3360
3470
|
},
|
|
3361
3471
|
{
|
|
3362
|
-
"chunkIndex":
|
|
3472
|
+
"chunkIndex": 49,
|
|
3363
3473
|
"chunkKind": "recipe",
|
|
3364
3474
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an HR internal mobility workbench using portable rich-content blocks for mobility signals, target role context and governed transition actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"employee-internal-mobility-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an HR internal mobility workbench with mobility signals, target role context and governed transition actions.\",\"examplePrompts\":[\"create an HR internal mobility workbench\",\"show a governed internal mobility rich content surface\",\"generate a people operations page with mobility signals and transition actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable HR internal mobility surface.\",\"hostMediation\":\"The host mediates employee, target role, panel scheduling and escalation flows through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same internal mobility workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps mobility signals, selected employee context, target role context and governed mobility actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model mobility metrics with statGroup instead of host-authored transition cards.\",\"Model the selected employee with lookupCard when the host already resolved the internal mobility context.\",\"Use tabs for summary and fit views instead of host-authored mobility sections.\",\"Use relatedRecord, ctaGroup and actionCard for governed mobility and escalation actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"employeeInternalMobilityWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"swap_horiz\",\"title\":\"Internal mobility workbench\",\"subtitle\":\"Portable rich-content surface for governed HR mobility operations\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"employee-internal-mobility-workbench\",\"context\":{\"mobility\":{\"employeeId\":\"EMP-903\",\"employeeName\":\"Rafael Nunes\",\"currentRole\":\"Senior Product Analyst\",\"currentArea\":\"Digital experience\",\"manager\":\"Lucas Almeida\",\"readiness\":\"87\",\"openRoles\":\"2\",\"window\":\"Q3\"},\"targetRole\":{\"name\":\"Staff Product Manager\",\"department\":\"Digital experience\",\"lane\":\"Product leadership\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"swap_horiz\",\"titleExpr\":\"${mobility.employeeName}\",\"message\":\"Use a portable HR internal mobility surface when the host must expose readiness signals, target role context and governed transition actions without inventing people-ops templates.\"},{\"type\":\"statGroup\",\"title\":\"Mobility signals\",\"subtitle\":\"Canonical KPI block for internal mobility workbenches\",\"layout\":\"grid\",\"items\":[{\"label\":\"Readiness\",\"valueExpr\":\"${mobility.readiness}\",\"caption\":\"Mobility score\",\"icon\":\"monitoring\"},{\"label\":\"Open roles\",\"valueExpr\":\"${mobility.openRoles}\",\"caption\":\"Matched opportunities\",\"icon\":\"workspaces\"},{\"label\":\"Window\",\"valueExpr\":\"${mobility.window}\",\"caption\":\"Target move\",\"icon\":\"calendar_month\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected employee\",\"status\":\"resolved\",\"subtitleExpr\":\"${mobility.employeeName}\",\"metaExpr\":\"${mobility.currentArea}\",\"ctaLabel\":\"Open employee\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.mobility.employee.open\",\"payloadExpr\":\"${mobility}\"},\"fields\":[{\"label\":\"Current role\",\"valueExpr\":\"${mobility.currentRole}\"},{\"label\":\"Manager\",\"valueExpr\":\"${mobility.manager}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.mobility.dossier.open\",\"payloadExpr\":\"${mobility}\"}}]},{\"type\":\"tabs\",\"title\":\"Mobility views\",\"subtitle\":\"Portable editorial tabs for fit, readiness and governance context.\",\"appearance\":\"underline\",\"defaultTabId\":\"summary\",\"items\":[{\"id\":\"summary\",\"label\":\"Summary\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Keep readiness rationale, target role notes and move risks inside the same RichContentDocument.\"}]},{\"id\":\"fit\",\"label\":\"Fit\",\"icon\":\"checklist\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Fit rule\",\"value\":\"Escalate any mobility move that changes compensation band or leaves critical coverage gaps unresolved.\"},{\"label\":\"Evidence source\",\"value\":\"Career matrix, calibration notes and manager alignment summary.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Target role\",\"relationLabel\":\"Role opportunity\",\"subtitleExpr\":\"${targetRole.name}\",\"metaExpr\":\"${targetRole.department}\",\"ctaLabel\":\"Open role\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.mobility.role.open\",\"payloadExpr\":\"${targetRole}\"},\"fields\":[{\"label\":\"Mobility lane\",\"valueExpr\":\"${targetRole.lane}\",\"hint\":\"Resolved from the current mobility assignment.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Schedule panel review\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.mobility.panel.schedule\",\"payloadExpr\":\"${mobility}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Mobility actions\",\"subtitle\":\"Governed HR mobility outcomes\",\"message\":\"Use semantic mobility actions instead of host-authored transition button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Start mobility review\",\"icon\":\"task_alt\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.mobility.review.start\",\"payloadExpr\":\"${mobility}\"}},{\"type\":\"actionButton\",\"label\":\"Request manager alignment\",\"icon\":\"forum\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.mobility.manager.requestAlignment\",\"payloadExpr\":\"${mobility}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate mobility risk\",\"subtitleExpr\":\"${mobility.employeeId}\",\"message\":\"Use actionCard when the HR host needs a governed escalation for unresolved mobility blockers or retention risks.\",\"metaExpr\":\"${mobility.currentRole}\",\"ctaLabel\":\"Escalate mobility risk\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.mobility.escalate\",\"payloadExpr\":\"${mobility}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.mobility.dossier.open\",\"payloadExpr\":\"${mobility}\"}}]}]}}}}]}}",
|
|
3365
3475
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-internal-mobility-workbench.json",
|
|
@@ -3369,7 +3479,7 @@
|
|
|
3369
3479
|
"corpusVersion": "1.0.0"
|
|
3370
3480
|
},
|
|
3371
3481
|
{
|
|
3372
|
-
"chunkIndex":
|
|
3482
|
+
"chunkIndex": 50,
|
|
3373
3483
|
"chunkKind": "recipe",
|
|
3374
3484
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an HR leave and absence workbench using portable rich-content blocks for leave signals, coverage context and governed absence actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"employee-leave-absence-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an HR leave and absence workbench with leave signals, coverage context and governed absence actions.\",\"examplePrompts\":[\"create an HR leave tracking workbench\",\"show a governed leave and absence rich content surface\",\"generate a people operations page with leave signals and coverage actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable HR leave and absence surface.\",\"hostMediation\":\"The host mediates employee, partner, coverage planning and escalation flows through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same leave and absence workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps leave signals, selected employee context, coverage ownership and governed leave actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model leave metrics with statGroup instead of host-authored absence cards.\",\"Model the selected employee with lookupCard when the host already resolved the leave and absence context.\",\"Use tabs for summary and compliance views instead of host-authored leave sections.\",\"Use relatedRecord, ctaGroup and actionCard for governed leave and escalation actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"employeeLeaveAbsenceWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"event_available\",\"title\":\"Leave and absence workbench\",\"subtitle\":\"Portable rich-content surface for governed HR leave operations\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"employee-leave-absence-workbench\",\"context\":{\"leave\":{\"employeeId\":\"EMP-708\",\"employeeName\":\"Marina Reis\",\"role\":\"Senior Product Analyst\",\"leaveType\":\"Parental leave\",\"window\":\"12d\",\"coverage\":\"1\",\"returnDate\":\"2026-06-08\",\"coverageOwner\":\"Carla Mendes\"},\"partner\":{\"name\":\"Mariana Torres\",\"department\":\"People operations\",\"lane\":\"Leave compliance / backfill coordination\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"event_available\",\"titleExpr\":\"${leave.employeeName}\",\"message\":\"Use a portable HR leave and absence surface when the host must expose leave signals, coverage context and governed absence actions without inventing people-ops templates.\"},{\"type\":\"statGroup\",\"title\":\"Leave signals\",\"subtitle\":\"Canonical KPI block for leave and absence workbenches\",\"layout\":\"grid\",\"items\":[{\"label\":\"Window\",\"valueExpr\":\"${leave.window}\",\"captionExpr\":\"${leave.leaveType}\",\"icon\":\"calendar_month\"},{\"label\":\"Coverage\",\"valueExpr\":\"${leave.coverage}\",\"caption\":\"Open handoffs\",\"icon\":\"groups\"},{\"label\":\"Return\",\"valueExpr\":\"${leave.returnDate}\",\"caption\":\"Expected return\",\"icon\":\"event_available\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected employee\",\"status\":\"resolved\",\"subtitleExpr\":\"${leave.employeeName}\",\"metaExpr\":\"${leave.role}\",\"ctaLabel\":\"Open employee\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.leave.employee.open\",\"payloadExpr\":\"${leave}\"},\"fields\":[{\"label\":\"Leave type\",\"valueExpr\":\"${leave.leaveType}\"},{\"label\":\"Coverage owner\",\"valueExpr\":\"${leave.coverageOwner}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.leave.dossier.open\",\"payloadExpr\":\"${leave}\"}}]},{\"type\":\"tabs\",\"title\":\"Leave views\",\"subtitle\":\"Portable editorial tabs for leave summary and compliance context.\",\"appearance\":\"underline\",\"defaultTabId\":\"summary\",\"items\":[{\"id\":\"summary\",\"label\":\"Summary\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Keep leave rationale, coverage notes and return planning inside the same RichContentDocument.\"}]},{\"id\":\"compliance\",\"label\":\"Compliance\",\"icon\":\"policy\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Policy rule\",\"value\":\"Escalate any leave extension or missing coverage handoff before payroll and access deadlines.\"},{\"label\":\"Evidence source\",\"value\":\"Leave policy snapshot, manager notes and return-to-work checklist.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Coverage partner\",\"relationLabel\":\"HR partner\",\"subtitleExpr\":\"${partner.name}\",\"metaExpr\":\"${partner.department}\",\"ctaLabel\":\"Open partner\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.leave.partner.open\",\"payloadExpr\":\"${partner}\"},\"fields\":[{\"label\":\"Coverage lane\",\"valueExpr\":\"${partner.lane}\",\"hint\":\"Resolved from the current leave assignment.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Schedule return sync\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.leave.return.scheduleSync\",\"payloadExpr\":\"${leave}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Leave actions\",\"subtitle\":\"Governed HR leave outcomes\",\"message\":\"Use semantic leave actions instead of host-authored absence button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Confirm leave plan\",\"icon\":\"task_alt\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.leave.confirm\",\"payloadExpr\":\"${leave}\"}},{\"type\":\"actionButton\",\"label\":\"Request coverage update\",\"icon\":\"sync\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.leave.coverage.requestUpdate\",\"payloadExpr\":\"${leave}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate leave risk\",\"subtitleExpr\":\"${leave.employeeId}\",\"message\":\"Use actionCard when the HR host needs a governed escalation for unresolved leave blockers or return planning risks.\",\"metaExpr\":\"${leave.leaveType}\",\"ctaLabel\":\"Escalate leave risk\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.leave.escalate\",\"payloadExpr\":\"${leave}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.leave.dossier.open\",\"payloadExpr\":\"${leave}\"}}]}]}}}}]}}",
|
|
3375
3485
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-leave-absence-workbench.json",
|
|
@@ -3379,7 +3489,7 @@
|
|
|
3379
3489
|
"corpusVersion": "1.0.0"
|
|
3380
3490
|
},
|
|
3381
3491
|
{
|
|
3382
|
-
"chunkIndex":
|
|
3492
|
+
"chunkIndex": 51,
|
|
3383
3493
|
"chunkKind": "recipe",
|
|
3384
3494
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an HR offboarding workbench using portable rich-content blocks for exit signals, transition ownership and governed departure actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"employee-offboarding-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an HR offboarding workbench with exit signals, transition ownership and governed departure actions.\",\"examplePrompts\":[\"create an HR offboarding workbench\",\"show a governed offboarding rich content surface\",\"generate a people operations page with departure signals and transition actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable HR offboarding surface.\",\"hostMediation\":\"The host mediates employee, transition-owner, departure planning and escalation flows through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same offboarding workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps exit signals, selected employee context, transition ownership and governed offboarding actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model departure metrics with statGroup instead of host-authored offboarding cards.\",\"Model the selected employee with lookupCard when the host already resolved the offboarding context.\",\"Use tabs for summary and compliance views instead of host-authored offboarding sections.\",\"Use relatedRecord, ctaGroup and actionCard for governed offboarding and escalation actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"employeeOffboardingWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"exit_to_app\",\"title\":\"Offboarding workbench\",\"subtitle\":\"Portable rich-content surface for governed HR departure operations\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"employee-offboarding-workbench\",\"context\":{\"employee\":{\"id\":\"EMP-640\",\"name\":\"Diego Nunes\",\"role\":\"Staff Product Designer\",\"department\":\"Product design\",\"lastDay\":\"2026-05-12\",\"noticeWindow\":\"14d\",\"reason\":\"Voluntary departure\",\"coverage\":\"3\",\"risk\":\"Moderate\"},\"owner\":{\"name\":\"Marina Costa\",\"department\":\"People operations\",\"lane\":\"Exit compliance / access revocation\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"exit_to_app\",\"titleExpr\":\"${employee.name}\",\"message\":\"Use a portable HR offboarding surface when the host must expose exit signals, transition ownership and governed departure actions without inventing people-ops templates.\"},{\"type\":\"statGroup\",\"title\":\"Exit signals\",\"subtitle\":\"Canonical KPI block for offboarding workbenches\",\"layout\":\"grid\",\"items\":[{\"label\":\"Notice\",\"valueExpr\":\"${employee.noticeWindow}\",\"captionExpr\":\"${employee.lastDay}\",\"icon\":\"event_busy\"},{\"label\":\"Coverage\",\"valueExpr\":\"${employee.coverage}\",\"caption\":\"Open handoffs\",\"icon\":\"handover\"},{\"label\":\"Risk\",\"valueExpr\":\"${employee.risk}\",\"captionExpr\":\"${employee.reason}\",\"icon\":\"warning\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected employee\",\"status\":\"resolved\",\"subtitleExpr\":\"${employee.name}\",\"metaExpr\":\"${employee.role}\",\"ctaLabel\":\"Open employee\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.offboarding.employee.open\",\"payloadExpr\":\"${employee}\"},\"fields\":[{\"label\":\"Last day\",\"valueExpr\":\"${employee.lastDay}\"},{\"label\":\"Reason\",\"valueExpr\":\"${employee.reason}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.offboarding.dossier.open\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"tabs\",\"title\":\"Offboarding views\",\"subtitle\":\"Portable editorial tabs for transition summary and compliance context.\",\"appearance\":\"underline\",\"defaultTabId\":\"summary\",\"items\":[{\"id\":\"summary\",\"label\":\"Summary\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Keep departure rationale, handoff progress and exit readiness inside the same RichContentDocument.\"}]},{\"id\":\"compliance\",\"label\":\"Compliance\",\"icon\":\"policy\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Asset rule\",\"value\":\"Escalate any missing asset return or access closure before the final payroll checkpoint.\"},{\"label\":\"Knowledge transfer\",\"value\":\"Document ownership transitions and successor coverage inside the same governed surface.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Transition owner\",\"relationLabel\":\"HR partner\",\"subtitleExpr\":\"${owner.name}\",\"metaExpr\":\"${owner.department}\",\"ctaLabel\":\"Open owner\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.offboarding.owner.open\",\"payloadExpr\":\"${owner}\"},\"fields\":[{\"label\":\"Checklist lane\",\"valueExpr\":\"${owner.lane}\",\"hint\":\"Resolved from the current offboarding assignment.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Plan exit interview\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.offboarding.exitInterview.plan\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Offboarding actions\",\"subtitle\":\"Governed HR departure outcomes\",\"message\":\"Use semantic offboarding actions instead of host-authored departure button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Confirm offboarding plan\",\"icon\":\"task_alt\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.offboarding.confirm\",\"payloadExpr\":\"${employee}\"}},{\"type\":\"actionButton\",\"label\":\"Request handoff update\",\"icon\":\"sync\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.offboarding.handoff.requestUpdate\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate departure risk\",\"subtitleExpr\":\"${employee.id}\",\"message\":\"Use actionCard when the HR host needs a governed escalation for unresolved exit blockers or access closure risks.\",\"metaExpr\":\"${employee.role}\",\"ctaLabel\":\"Escalate risk\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.offboarding.escalate\",\"payloadExpr\":\"${employee}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.offboarding.dossier.open\",\"payloadExpr\":\"${employee}\"}}]}]}}}}]}}",
|
|
3385
3495
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-offboarding-workbench.json",
|
|
@@ -3389,7 +3499,7 @@
|
|
|
3389
3499
|
"corpusVersion": "1.0.0"
|
|
3390
3500
|
},
|
|
3391
3501
|
{
|
|
3392
|
-
"chunkIndex":
|
|
3502
|
+
"chunkIndex": 52,
|
|
3393
3503
|
"chunkKind": "recipe",
|
|
3394
3504
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment\",\"_comment\":\"Receita enterprise para um workspace operacional de RH governado por resources, surfaces, actions, capabilities e composition.links.\"}",
|
|
3395
3505
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3399,7 +3509,7 @@
|
|
|
3399
3509
|
"corpusVersion": "1.0.0"
|
|
3400
3510
|
},
|
|
3401
3511
|
{
|
|
3402
|
-
"chunkIndex":
|
|
3512
|
+
"chunkIndex": 53,
|
|
3403
3513
|
"chunkKind": "recipe",
|
|
3404
3514
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment2\",\"_comment2\":\"Use praxis-related-resource-outlet para as colecoes filhas; nao replique filtros funcionarioId quando a surface.relatedResource ja publica a relacao.\"}",
|
|
3405
3515
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3409,7 +3519,7 @@
|
|
|
3409
3519
|
"corpusVersion": "1.0.0"
|
|
3410
3520
|
},
|
|
3411
3521
|
{
|
|
3412
|
-
"chunkIndex":
|
|
3522
|
+
"chunkIndex": 54,
|
|
3413
3523
|
"chunkKind": "recipe",
|
|
3414
3524
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"templateMeta\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"employee-operations-casework\",\"status\":\"golden-fixture\",\"useWhen\":\"Create a complex enterprise HR workbench with a rich employee CRUD, governed lifecycle actions, drawer forms and tabbed related resources.\",\"examplePrompts\":[\"crie um workspace enterprise de RH com tabela, drawers, actions e abas de detalhe\",\"mostre um formulario corporativo complexo totalmente governado pelo quickstart\",\"combine funcionarios, folha, carreira, dependentes, missoes e custodia de equipamentos\"]}}",
|
|
3415
3525
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3419,7 +3529,7 @@
|
|
|
3419
3529
|
"corpusVersion": "1.0.0"
|
|
3420
3530
|
},
|
|
3421
3531
|
{
|
|
3422
|
-
"chunkIndex":
|
|
3532
|
+
"chunkIndex": 55,
|
|
3423
3533
|
"chunkKind": "recipe",
|
|
3424
3534
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"platformValue\",\"platformValue\":{\"canonicalContract\":\"praxis-api-quickstart publishes the human-resources.funcionarios resource identity, item surfaces, lifecycle actions, capabilities and relatedResource relationships.\",\"angularRuntime\":\"@praxisui/crud materializes canonical forms and workflow actions with a stable idempotency key per command attempt; @praxisui/tabs and @praxisui/core materialize nested related-resource outlets through composition.links.\",\"businessFlow\":\"An HR operator filters and selects an employee, performs governed lifecycle operations and inspects one employee dossier without losing portfolio context.\",\"hostResponsibility\":\"The host supplies API_URL, runtime providers and drawer/surface bridges; it does not own employee business rules or parent-child filters.\"}}",
|
|
3425
3535
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3429,7 +3539,7 @@
|
|
|
3429
3539
|
"corpusVersion": "1.0.0"
|
|
3430
3540
|
},
|
|
3431
3541
|
{
|
|
3432
|
-
"chunkIndex":
|
|
3542
|
+
"chunkIndex": 56,
|
|
3433
3543
|
"chunkKind": "recipe",
|
|
3434
3544
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"inventoryOutcome\",\"inventoryOutcome\":{\"completePageCompositionPlan\":\"suportado-parcialmente-corrigido-no-page-builder\",\"selectionSyncAuthoring\":\"ja-suportado-mal-nomeado-ou-mal-materializado-corrigido-no-page-builder\",\"inheritedDossierContextAuthoring\":\"ja-suportado-mal-nomeado-ou-mal-materializado-corrigido-no-page-builder\",\"compactLocalizedCopyAuthoring\":\"ja-suportado-mal-nomeado-ou-mal-materializado-corrigido-no-page-builder-e-config-starter\",\"versionedGovernedPageTemplateReference\":\"lacuna-real-de-contrato-pendente-de-revisao-imutavel-no-ai-registry\",\"componentInsertionPresetsForBusinessPageReuse\":\"nao-aplicavel-presets-pertencem-ao-componente-nao-ao-dominio\",\"relatedTableColumnDefaults\":\"ja-suportado-mal-nomeado-ou-mal-materializado-corrigido-por-columnProjection\",\"crudDrawersAndWorkflowForms\":\"ja-suportado-mal-nomeado-ou-mal-materializado\",\"tabbedMasterDetailComposition\":\"ja-suportado-so-ux\",\"employeeContextIdentity\":\"ja-suportado-mal-nomeado-ou-mal-materializado-corrigido-no-quickstart\",\"payrollCareerPeopleAndMissionRelations\":\"ja-suportado-so-ux\",\"equipmentCustodyRelation\":\"lacuna-real-de-contrato-corrigida-no-quickstart\"}}",
|
|
3435
3545
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3439,7 +3549,7 @@
|
|
|
3439
3549
|
"corpusVersion": "1.0.0"
|
|
3440
3550
|
},
|
|
3441
3551
|
{
|
|
3442
|
-
"chunkIndex":
|
|
3552
|
+
"chunkIndex": 57,
|
|
3443
3553
|
"chunkKind": "recipe",
|
|
3444
3554
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"operationalEvidence\",\"operationalEvidence\":{\"baseUrl\":\"https://praxis-api-quickstart.onrender.com\",\"resources\":[\"api/human-resources/funcionarios\",\"api/human-resources/vw-analytics-folha-pagamento\",\"api/human-resources/funcionario-habilidades\",\"api/human-resources/historicos-cargos\",\"api/human-resources/dependentes\",\"api/human-resources/enderecos\",\"api/operations/missao-participantes\",\"api/assets/equipamento-alocacoes\"],\"safeFirstIds\":[\"schemas-surfaces-human-resources-funcionarios\",\"funcionarios-filter-basic\",\"funcionarios-get-by-id\",\"missao-participantes-stats-papel\",\"equipamento-alocacoes-filter-status-danificado\",\"employee-state-snapshot-actions\",\"employee-equipment-custody-surface\",\"employee-payroll-history-related-resource\"],\"deploymentNotes\":[\"The published Quickstart resolves deactivate/reactivate availability from persisted employee state; the read-only action snapshot is confirmed for employee 194.\",\"The published equipment-custody relatedResource surface is confirmed for employee 194; an empty collection remains a valid governed custody state.\",\"The published payroll-history relatedResource surface is confirmed for employee 194 and returns governed nominal payroll rows.\"]}}",
|
|
3445
3555
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3449,7 +3559,7 @@
|
|
|
3449
3559
|
"corpusVersion": "1.0.0"
|
|
3450
3560
|
},
|
|
3451
3561
|
{
|
|
3452
|
-
"chunkIndex":
|
|
3562
|
+
"chunkIndex": 58,
|
|
3453
3563
|
"chunkKind": "recipe",
|
|
3454
3564
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringGuidance\",\"authoringGuidance\":[\"Keep create, view and edit as canonical CRUD actions and let discovered surfaces supply schema, method and target URL.\",\"Keep deactivate and reactivate as row actions without explicit form bindings so ResourceActionOpenAdapterService materializes the backend request schema.\",\"Keep the generated submitIdempotencyKey stable while the action form remains open so a retry after timeout replays the committed result instead of repeating the transition.\",\"Use JSON Logic visibleWhen only for presentation; backend availability remains the authority for lifecycle transitions.\",\"Author repeated rowClick and rowAction projections once with UiCompositionPlan.selectionSyncs; the compiler emits the explicit canonical composition.links inspected by the runtime.\",\"Author repeated dossier parent context with UiCompositionPlan.contextScopes and component-port nestedPath; constants become explicit inputs and state values become explicit canonical links before persistence.\",\"Declare page-owned localized descriptors as key-only when the fallback key exists in page.i18n; both compilers materialize the fallback text into the executable page without duplicating copy in the authoring plan.\",\"Keep related table columns schema-driven with columnProjection.include and field-keyed overrides so the page declares only the approved projection and editorial differences.\",\"Keep person, employment, role, department and admission readable in the manager baseline viewport with compact identity widths and one frequent row action inline; preserve semantic widths for rich role and department content, while salary, contact and secondary actions remain available through horizontal discovery, the visible-column control and More actions.\",\"Use praxis-related-resource-outlet with surfaceId and parentResourceId; do not hand-author child filters already published by relatedResource.\",\"Lazy-load tabs so a large corporate dossier does not fetch every related collection before the operator asks for it.\",\"Treat salary, CPF and employee records as sensitive: production hosts must enforce backend field access, authorization, audit and masking instead of hiding fields only in the client.\"]}",
|
|
3455
3565
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3459,7 +3569,7 @@
|
|
|
3459
3569
|
"corpusVersion": "1.0.0"
|
|
3460
3570
|
},
|
|
3461
3571
|
{
|
|
3462
|
-
"chunkIndex":
|
|
3572
|
+
"chunkIndex": 59,
|
|
3463
3573
|
"chunkKind": "recipe",
|
|
3464
3574
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"teaches\",\"teaches\":[\"crud.remote-metadata\",\"crud.drawer.create-view-edit\",\"workflow-action.request-schema\",\"table.rich-columns\",\"table.quick-and-advanced-filters\",\"table.row-actions.json-logic\",\"tabs.lazy-nested-widgets\",\"composition.links\",\"ui-composition-plan.selection-syncs\",\"ui-composition-plan.context-scopes\",\"table.column-projection\",\"component-port.nestedPath\",\"surface.relatedResource\",\"resource.identity\",\"praxis-related-resource-outlet\",\"master-detail.selection-state\"]}",
|
|
3465
3575
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3469,7 +3579,7 @@
|
|
|
3469
3579
|
"corpusVersion": "1.0.0"
|
|
3470
3580
|
},
|
|
3471
3581
|
{
|
|
3472
|
-
"chunkIndex":
|
|
3582
|
+
"chunkIndex": 60,
|
|
3473
3583
|
"chunkKind": "recipe",
|
|
3474
3584
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlanRef\",\"authoringPlanRef\":\"./praxis-dynamic-page.employee-operations-casework.ui-composition-plan.artifact.json\"}",
|
|
3475
3585
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3479,7 +3589,7 @@
|
|
|
3479
3589
|
"corpusVersion": "1.0.0"
|
|
3480
3590
|
},
|
|
3481
3591
|
{
|
|
3482
|
-
"chunkIndex":
|
|
3592
|
+
"chunkIndex": 61,
|
|
3483
3593
|
"chunkKind": "recipe",
|
|
3484
3594
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"pageRef\",\"pageRef\":\"./praxis-dynamic-page.employee-operations-casework.page.json\"}",
|
|
3485
3595
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3489,7 +3599,7 @@
|
|
|
3489
3599
|
"corpusVersion": "1.0.0"
|
|
3490
3600
|
},
|
|
3491
3601
|
{
|
|
3492
|
-
"chunkIndex":
|
|
3602
|
+
"chunkIndex": 62,
|
|
3493
3603
|
"chunkKind": "recipe",
|
|
3494
3604
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.i18n\",\"page\":{\"i18n\":{\"fallbackLocale\":\"pt-BR\"}}}",
|
|
3495
3605
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3499,7 +3609,7 @@
|
|
|
3499
3609
|
"corpusVersion": "1.0.0"
|
|
3500
3610
|
},
|
|
3501
3611
|
{
|
|
3502
|
-
"chunkIndex":
|
|
3612
|
+
"chunkIndex": 63,
|
|
3503
3613
|
"chunkKind": "recipe",
|
|
3504
3614
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.i18n.dictionaries\",\"page\":{\"i18n\":{\"dictionaries\":{\"pt-BR\":{\"employeeOperations.portfolio.shell.title\":\"Gestão de pessoas\",\"employeeOperations.portfolio.shell.subtitle\":\"Encontre funcionários, atualize vínculos e consulte o dossiê sem sair da carteira\",\"employeeOperations.portfolio.resource.title\":\"Funcionários\",\"employeeOperations.portfolio.resource.formTitle\":\"Cadastro do funcionário\",\"employeeOperations.portfolio.toolbar.title\":\"Carteira de funcionários\",\"employeeOperations.portfolio.toolbar.subtitle\":\"Dados cadastrais, área, vínculo e remuneração em uma única visão\",\"employeeOperations.portfolio.search.placeholder\":\"Buscar por nome, e-mail, cargo ou departamento\",\"employeeOperations.portfolio.quickFilter.active\":\"Ativos\",\"employeeOperations.portfolio.quickFilter.inactive\":\"Inativos\",\"employeeOperations.portfolio.column.person\":\"Pessoa\",\"employeeOperations.portfolio.column.employee\":\"Funcionário\",\"employeeOperations.portfolio.column.employment\":\"Vínculo\",\"employeeOperations.portfolio.column.role\":\"Cargo\",\"employeeOperations.portfolio.column.department\":\"Departamento\",\"employeeOperations.portfolio.column.hiredAt\":\"Admissão\",\"employeeOperations.portfolio.column.salary\":\"Salário base\",\"employeeOperations.portfolio.column.contact\":\"Contato\",\"employeeOperations.portfolio.status.active\":\"Ativo\",\"employeeOperations.portfolio.status.inactive\":\"Inativo\",\"employeeOperations.portfolio.actions.header\":\"Ações\",\"employeeOperations.portfolio.actions.tooltip\":\"Visualizar, editar ou atualizar o vínculo\",\"employeeOperations.portfolio.action.view\":\"Visualizar\",\"employeeOperations.portfolio.action.view.tooltip\":\"Ver dados do funcionário\",\"employeeOperations.portfolio.action.edit\":\"Editar\",\"employeeOperations.portfolio.action.edit.tooltip\":\"Editar dados do funcionário\",\"employeeOperations.portfolio.action.deactivate\":\"Inativar\",\"employeeOperations.portfolio.action.deactivate.tooltip\":\"Inativar vínculo e registrar motivo e vigência\",\"employeeOperations.portfolio.action.reactivate\":\"Reativar\",\"employeeOperations.portfolio.action.reactivate.tooltip\":\"Reativar vínculo e registrar motivo e vigência\",\"employeeOperations.dossier.shell.title\":\"Dossiê do funcionário\",\"employeeOperations.dossier.shell.subtitle\":\"Selecione uma pessoa para consultar dados, folha, carreira e atividades relacionadas\",\"employeeOperations.dossier.ariaLabel\":\"Perspectivas do dossiê operacional do funcionário\",\"employeeOperations.dossier.tab.summary\":\"Dossiê\",\"employeeOperations.dossier.tab.payroll\":\"Folha\",\"employeeOperations.dossier.tab.career\":\"Carreira\",\"employeeOperations.dossier.tab.people\":\"Pessoas\",\"employeeOperations.dossier.tab.operations\":\"Operação\",\"employeeOperations.dossier.context.meta\":\"Contexto ativo do dossiê\",\"employeeOperations.dossier.context.employeeId\":\"ID do funcionário\",\"employeeOperations.dossier.callout.title\":\"Comece por aqui\",\"employeeOperations.dossier.callout.message\":\"Selecione uma pessoa na carteira para atualizar todo o dossiê. Use as ações da linha para visualizar, editar, inativar ou reativar o vínculo.\",\"employeeOperations.payroll.title\":\"Histórico analítico de folha\",\"employeeOperations.payroll.subtitle\":\"Competência, composição e eventos do funcionário selecionado\",\"employeeOperations.column.period\":\"Competência\",\"employeeOperations.column.gross\":\"Bruto\",\"employeeOperations.column.discounts\":\"Descontos\",\"employeeOperations.column.net\":\"Líquido\",\"employeeOperations.column.events\":\"Eventos\",\"employeeOperations.column.composition\":\"Composição\",\"employeeOperations.skills.title\":\"Matriz de competências\",\"employeeOperations.column.skill\":\"Competência\",\"employeeOperations.column.proficiency\":\"Proficiência\",\"employeeOperations.column.origin\":\"Origem\",\"employeeOperations.career.title\":\"Histórico de cargos\",\"employeeOperations.column.start\":\"Início\",\"employeeOperations.column.end\":\"Fim\",\"employeeOperations.column.context\":\"Contexto\",\"employeeOperations.dependents.title\":\"Dependentes e elegibilidade\",\"employeeOperations.column.dependent\":\"Dependente\",\"employeeOperations.column.relationship\":\"Parentesco\",\"employeeOperations.column.birthDate\":\"Nascimento\",\"employeeOperations.address.title\":\"Endereço cadastral\",\"employeeOperations.column.street\":\"Logradouro\",\"employeeOperations.column.number\":\"Número\",\"employeeOperations.column.city\":\"Cidade\",\"employeeOperations.missions.title\":\"Participações em missões\",\"employeeOperations.column.mission\":\"Missão\",\"employeeOperations.column.assignment\":\"Papel\",\"employeeOperations.column.leadership\":\"Liderança\",\"employeeOperations.column.result\":\"Resultado\",\"employeeOperations.equipment.title\":\"Equipamentos sob custódia\",\"employeeOperations.column.equipment\":\"Equipamento\",\"employeeOperations.column.status\":\"Status\",\"employeeOperations.column.custodyStart\":\"Início da custódia\",\"employeeOperations.column.custodyEnd\":\"Encerramento\"}}}}}",
|
|
3505
3615
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3509,7 +3619,7 @@
|
|
|
3509
3619
|
"corpusVersion": "1.0.0"
|
|
3510
3620
|
},
|
|
3511
3621
|
{
|
|
3512
|
-
"chunkIndex":
|
|
3622
|
+
"chunkIndex": 64,
|
|
3513
3623
|
"chunkKind": "recipe",
|
|
3514
3624
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.i18n.dictionaries\",\"page\":{\"i18n\":{\"dictionaries\":{\"en-US\":{\"employeeOperations.portfolio.shell.title\":\"People operations\",\"employeeOperations.portfolio.shell.subtitle\":\"Find employees, update employment records, and review the dossier without leaving the portfolio\",\"employeeOperations.portfolio.resource.title\":\"Employees\",\"employeeOperations.portfolio.resource.formTitle\":\"Employee record\",\"employeeOperations.portfolio.toolbar.title\":\"Employee portfolio\",\"employeeOperations.portfolio.toolbar.subtitle\":\"Profile, department, employment, and compensation data in one view\",\"employeeOperations.portfolio.search.placeholder\":\"Search by name, email, role, or department\",\"employeeOperations.portfolio.quickFilter.active\":\"Active\",\"employeeOperations.portfolio.quickFilter.inactive\":\"Inactive\",\"employeeOperations.portfolio.column.person\":\"Person\",\"employeeOperations.portfolio.column.employee\":\"Employee\",\"employeeOperations.portfolio.column.employment\":\"Employment\",\"employeeOperations.portfolio.column.role\":\"Role\",\"employeeOperations.portfolio.column.department\":\"Department\",\"employeeOperations.portfolio.column.hiredAt\":\"Hire date\",\"employeeOperations.portfolio.column.salary\":\"Base salary\",\"employeeOperations.portfolio.column.contact\":\"Contact\",\"employeeOperations.portfolio.status.active\":\"Active\",\"employeeOperations.portfolio.status.inactive\":\"Inactive\",\"employeeOperations.portfolio.actions.header\":\"Actions\",\"employeeOperations.portfolio.actions.tooltip\":\"View, edit, or update the employment record\",\"employeeOperations.portfolio.action.view\":\"View\",\"employeeOperations.portfolio.action.view.tooltip\":\"View employee details\",\"employeeOperations.portfolio.action.edit\":\"Edit\",\"employeeOperations.portfolio.action.edit.tooltip\":\"Edit employee details\",\"employeeOperations.portfolio.action.deactivate\":\"Deactivate\",\"employeeOperations.portfolio.action.deactivate.tooltip\":\"Deactivate the employment record and provide reason and effective date\",\"employeeOperations.portfolio.action.reactivate\":\"Reactivate\",\"employeeOperations.portfolio.action.reactivate.tooltip\":\"Reactivate the employment record and provide reason and effective date\",\"employeeOperations.dossier.shell.title\":\"Employee dossier\",\"employeeOperations.dossier.shell.subtitle\":\"Select a person to review profile, payroll, career, and related activities\",\"employeeOperations.dossier.ariaLabel\":\"Operational employee dossier perspectives\",\"employeeOperations.dossier.tab.summary\":\"Dossier\",\"employeeOperations.dossier.tab.payroll\":\"Payroll\",\"employeeOperations.dossier.tab.career\":\"Career\",\"employeeOperations.dossier.tab.people\":\"People\",\"employeeOperations.dossier.tab.operations\":\"Operations\",\"employeeOperations.dossier.context.meta\":\"Active dossier context\",\"employeeOperations.dossier.context.employeeId\":\"Employee ID\",\"employeeOperations.dossier.callout.title\":\"Start here\",\"employeeOperations.dossier.callout.message\":\"Select a person in the portfolio to update the entire dossier. Use the row actions to view, edit, deactivate, or reactivate the employment record.\",\"employeeOperations.payroll.title\":\"Payroll history\",\"employeeOperations.payroll.subtitle\":\"Period, composition, and events for the selected employee\",\"employeeOperations.column.period\":\"Period\",\"employeeOperations.column.gross\":\"Gross\",\"employeeOperations.column.discounts\":\"Deductions\",\"employeeOperations.column.net\":\"Net\",\"employeeOperations.column.events\":\"Events\",\"employeeOperations.column.composition\":\"Composition\",\"employeeOperations.skills.title\":\"Skills matrix\",\"employeeOperations.column.skill\":\"Skill\",\"employeeOperations.column.proficiency\":\"Proficiency\",\"employeeOperations.column.origin\":\"Source\",\"employeeOperations.career.title\":\"Role history\",\"employeeOperations.column.start\":\"Start\",\"employeeOperations.column.end\":\"End\",\"employeeOperations.column.context\":\"Context\",\"employeeOperations.dependents.title\":\"Dependents and eligibility\",\"employeeOperations.column.dependent\":\"Dependent\",\"employeeOperations.column.relationship\":\"Relationship\",\"employeeOperations.column.birthDate\":\"Birth date\",\"employeeOperations.address.title\":\"Registered address\",\"employeeOperations.column.street\":\"Street\",\"employeeOperations.column.number\":\"Number\",\"employeeOperations.column.city\":\"City\",\"employeeOperations.missions.title\":\"Mission assignments\",\"employeeOperations.column.mission\":\"Mission\",\"employeeOperations.column.assignment\":\"Assignment\",\"employeeOperations.column.leadership\":\"Leadership\",\"employeeOperations.column.result\":\"Result\",\"employeeOperations.equipment.title\":\"Equipment in custody\",\"employeeOperations.column.equipment\":\"Equipment\",\"employeeOperations.column.status\":\"Status\",\"employeeOperations.column.custodyStart\":\"Custody started\",\"employeeOperations.column.custodyEnd\":\"Closed\"}}}}}",
|
|
3515
3625
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3519,7 +3629,7 @@
|
|
|
3519
3629
|
"corpusVersion": "1.0.0"
|
|
3520
3630
|
},
|
|
3521
3631
|
{
|
|
3522
|
-
"chunkIndex":
|
|
3632
|
+
"chunkIndex": 65,
|
|
3523
3633
|
"chunkKind": "recipe",
|
|
3524
3634
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"20px\"},\"state\":{\"values\":{},\"schema\":{\"selection\":{\"persist\":false,\"mergeStrategy\":\"replace\",\"description\":\"Operational employee selection remains runtime-only and is never persisted with the authored page.\",\"tags\":[\"runtime-context\",\"employee-selection\"],\"initial\":null}}}}}",
|
|
3525
3635
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3529,7 +3639,7 @@
|
|
|
3529
3639
|
"corpusVersion": "1.0.0"
|
|
3530
3640
|
},
|
|
3531
3641
|
{
|
|
3532
|
-
"chunkIndex":
|
|
3642
|
+
"chunkIndex": 66,
|
|
3533
3643
|
"chunkKind": "recipe",
|
|
3534
3644
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets\",\"page\":{\"widgets\":[{\"key\":\"employeePortfolio\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"groups\",\"title\":{\"key\":\"employeeOperations.portfolio.shell.title\",\"text\":\"Gestão de pessoas\"},\"subtitle\":{\"key\":\"employeeOperations.portfolio.shell.subtitle\",\"text\":\"Encontre funcionários, atualize vínculos e consulte o dossiê sem sair da carteira\"},\"windowActions\":{\"collapsible\":false,\"fullscreen\":true}},\"definition\":{\"id\":\"praxis-crud\",\"bindingOrder\":[\"crudId\",\"componentInstanceId\",\"tableConfigPersistenceStrategy\",\"metadata\"],\"inputs\":{\"crudId\":\"employee-operations-casework\",\"componentInstanceId\":\"employee-operations-casework\",\"tableConfigPersistenceStrategy\":\"volatile\",\"metadata\":{\"component\":\"praxis-crud\",\"resource\":{\"path\":\"human-resources/funcionarios\",\"idField\":\"id\",\"endpointKey\":\"human-resources.funcionarios\",\"title\":{\"key\":\"employeeOperations.portfolio.resource.title\",\"text\":\"Funcionários\"},\"formTitle\":{\"key\":\"employeeOperations.portfolio.resource.formTitle\",\"text\":\"Cadastro do funcionário\"}},\"form\":{\"actions\":{\"placement\":\"afterSections\",\"sticky\":true}},\"table\":{\"ai\":{\"assistant\":{\"enabled\":false}},\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.portfolio.toolbar.title\",\"text\":\"Carteira de funcionários\"},\"subtitle\":{\"key\":\"employeeOperations.portfolio.toolbar.subtitle\",\"text\":\"Dados cadastrais, área, vínculo e remuneração em uma única visão\"},\"search\":{\"enabled\":true,\"placeholder\":{\"key\":\"employeeOperations.portfolio.search.placeholder\",\"text\":\"Buscar por nome, e-mail, cargo ou departamento\"}},\"filters\":{\"enabled\":true,\"showAdvancedButton\":true,\"quickFilters\":[{\"id\":\"active-employees\",\"label\":{\"key\":\"employeeOperations.portfolio.quickFilter.active\",\"text\":\"Ativos\"},\"icon\":\"check_circle\",\"filter\":{\"ativo\":true}},{\"id\":\"inactive-employees\",\"label\":{\"key\":\"employeeOperations.portfolio.quickFilter.inactive\",\"text\":\"Inativos\"},\"icon\":\"block\",\"filter\":{\"ativo\":false}}]},\"columnsVisibility\":{\"enabled\":true},\"densityToggle\":{\"enabled\":true}},\"columns\":[{\"field\":\"avatarUrl\",\"header\":{\"key\":\"employeeOperations.portfolio.column.person\",\"text\":\"Pessoa\"},\"type\":\"string\",\"width\":\"64px\",\"renderer\":{\"type\":\"avatar\",\"avatar\":{\"srcField\":\"avatarUrl\",\"altField\":\"nomeCompleto\",\"initialsField\":\"nomeCompleto\",\"shape\":\"circle\",\"size\":36}}},{\"field\":\"nomeCompleto\",\"header\":{\"key\":\"employeeOperations.portfolio.column.employee\",\"text\":\"Funcionário\"},\"type\":\"string\",\"width\":\"180px\",\"sticky\":\"start\"},{\"field\":\"ativo\",\"header\":{\"key\":\"employeeOperations.portfolio.column.employment\",\"text\":\"Vínculo\"},\"type\":\"boolean\",\"format\":\"active-inactive\",\"width\":\"104px\",\"align\":\"center\",\"conditionalRenderers\":[{\"condition\":{\"==\":[{\"var\":\"ativo\"},true]},\"renderer\":{\"type\":\"badge\",\"badge\":{\"text\":{\"key\":\"employeeOperations.portfolio.status.active\",\"text\":\"Ativo\"},\"color\":\"success\",\"variant\":\"filled\",\"icon\":\"check_circle\"}}},{\"condition\":{\"==\":[{\"var\":\"ativo\"},false]},\"renderer\":{\"type\":\"badge\",\"badge\":{\"text\":{\"key\":\"employeeOperations.portfolio.status.inactive\",\"text\":\"Inativo\"},\"color\":\"warn\",\"variant\":\"outlined\",\"icon\":\"block\"}}}]},{\"field\":\"cargoNome\",\"header\":{\"key\":\"employeeOperations.portfolio.column.role\",\"text\":\"Cargo\"},\"type\":\"string\",\"width\":\"190px\",\"renderer\":{\"type\":\"chip\",\"chip\":{\"textField\":\"cargoNome\",\"variant\":\"outlined\",\"color\":\"primary\"}}},{\"field\":\"departamentoNome\",\"header\":{\"key\":\"employeeOperations.portfolio.column.department\",\"text\":\"Departamento\"},\"type\":\"string\",\"width\":\"244px\",\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"departamentoNome\",\"variant\":\"soft\",\"color\":\"accent\"}}},{\"field\":\"dataAdmissao\",\"header\":{\"key\":\"employeeOperations.portfolio.column.hiredAt\",\"text\":\"Admissão\"},\"type\":\"date\",\"format\":\"dd/MM/yyyy\",\"width\":\"132px\"},{\"field\":\"salario\",\"header\":{\"key\":\"employeeOperations.portfolio.column.salary\",\"text\":\"Salário base\"},\"type\":\"currency\",\"format\":\"BRL|symbol|2\",\"align\":\"end\",\"width\":\"150px\"},{\"field\":\"email\",\"header\":{\"key\":\"employeeOperations.portfolio.column.contact\",\"text\":\"Contato\"},\"type\":\"string\",\"width\":\"240px\"}],\"behavior\":{\"pagination\":{\"enabled\":true,\"strategy\":\"server\",\"pageSize\":8,\"pageSizeOptions\":[8,16,32],\"position\":\"bottom\"},\"sorting\":{\"enabled\":true,\"strategy\":\"server\",\"defaultSort\":{\"column\":\"id\",\"direction\":\"asc\"}},\"filtering\":{\"enabled\":true,\"strategy\":\"server\",\"debounceTime\":300,\"advancedFilters\":{\"enabled\":true,\"settings\":{\"alwaysVisibleFields\":[\"departamentoIdsIn\",\"dataAdmissaoRange\",\"salarioBetween\"],\"allowSaveTags\":true,\"tags\":[{\"id\":\"executive-pay-band\",\"label\":\"Faixa executiva\",\"patch\":{\"salarioBetween\":[39000,40000]}}],\"advancedOpenMode\":\"modal\",\"advancedClearButtonsEnabled\":true,\"changeDebounceMs\":300}}},\"selection\":{\"enabled\":true,\"type\":\"single\",\"mode\":\"row\",\"persistSelection\":false},\"density\":\"compact\"},\"actions\":{\"row\":{\"enabled\":true,\"display\":\"icons\",\"position\":\"end\",\"sticky\":\"end\",\"header\":{\"label\":{\"key\":\"employeeOperations.portfolio.actions.header\",\"text\":\"Ações\"},\"icon\":\"bolt\",\"tooltip\":{\"key\":\"employeeOperations.portfolio.actions.tooltip\",\"text\":\"Visualizar, editar ou atualizar o vínculo\"}},\"behavior\":{\"enabled\":true,\"maxInline\":{\"xs\":0,\"sm\":1,\"md\":2,\"lg\":1},\"autoStrategy\":\"breakpoints\"},\"actions\":[{\"id\":\"view\",\"label\":{\"key\":\"employeeOperations.portfolio.action.view\",\"text\":\"Visualizar\"},\"icon\":\"visibility\",\"action\":\"view\",\"tooltip\":{\"key\":\"employeeOperations.portfolio.action.view.tooltip\",\"text\":\"Ver dados do funcionário\"}},{\"id\":\"edit\",\"label\":{\"key\":\"employeeOperations.portfolio.action.edit\",\"text\":\"Editar\"},\"icon\":\"edit\",\"action\":\"edit\",\"tooltip\":{\"key\":\"employeeOperations.portfolio.action.edit.tooltip\",\"text\":\"Editar dados do funcionário\"}},{\"id\":\"deactivate\",\"label\":{\"key\":\"employeeOperations.portfolio.action.deactivate\",\"text\":\"Inativar\"},\"icon\":\"person_off\",\"color\":\"warn\",\"action\":\"deactivate\",\"tooltip\":{\"key\":\"employeeOperations.portfolio.action.deactivate.tooltip\",\"text\":\"Inativar vínculo e registrar motivo e vigência\"},\"visibleWhen\":{\"==\":[{\"var\":\"ativo\"},true]}},{\"id\":\"reactivate\",\"label\":{\"key\":\"employeeOperations.portfolio.action.reactivate\",\"text\":\"Reativar\"},\"icon\":\"person_add\",\"color\":\"primary\",\"action\":\"reactivate\",\"tooltip\":{\"key\":\"employeeOperations.portfolio.action.reactivate.tooltip\",\"text\":\"Reativar vínculo e registrar motivo e vigência\"},\"visibleWhen\":{\"==\":[{\"var\":\"ativo\"},false]}}]}},\"appearance\":{\"density\":\"compact\",\"stickyHeader\":true,\"stripedRows\":false,\"hoverHighlight\":true,\"responsive\":{\"breakpoints\":{\"mobile\":640},\"mobile\":{\"horizontalScroll\":false,\"cardMode\":true,\"priorityColumns\":[\"nomeCompleto\",\"ativo\",\"cargoNome\"]}}},\"export\":{\"enabled\":true,\"formats\":[\"csv\",\"excel\"],\"general\":{\"includeHeaders\":true,\"respectFilters\":true,\"applyFormatting\":true,\"defaultFileName\":\"carteira-funcionarios\",\"includeColumns\":\"visible\",\"scope\":\"currentPage\",\"maxRows\":500},\"excel\":{\"sheetName\":\"Funcionários\",\"autoFitColumns\":true,\"freezeHeaders\":true}}},\"defaults\":{\"openMode\":\"drawer\"},\"actions\":[{\"action\":\"create\",\"openMode\":\"drawer\"},{\"action\":\"view\",\"openMode\":\"drawer\"},{\"action\":\"edit\",\"openMode\":\"drawer\"}]}},\"outputs\":{\"rowClick\":\"emit\",\"rowAction\":\"emit\",\"selectionChange\":\"emit\",\"afterSave\":\"emit\",\"afterDelete\":\"emit\"}}}]}}",
|
|
3535
3645
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3539,7 +3649,7 @@
|
|
|
3539
3649
|
"corpusVersion": "1.0.0"
|
|
3540
3650
|
},
|
|
3541
3651
|
{
|
|
3542
|
-
"chunkIndex":
|
|
3652
|
+
"chunkIndex": 67,
|
|
3543
3653
|
"chunkKind": "recipe",
|
|
3544
3654
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[1]\",\"fragmentPath\":\"page.widgets[1]\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\"},\"fragment\":{\"key\":\"employeeCaseTabs\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"folder_shared\",\"title\":{\"key\":\"employeeOperations.dossier.shell.title\",\"text\":\"Dossiê do funcionário\"},\"subtitle\":{\"key\":\"employeeOperations.dossier.shell.subtitle\",\"text\":\"Selecione uma pessoa para consultar dados, folha, carreira e atividades relacionadas\"},\"windowActions\":{\"collapsible\":false,\"fullscreen\":true}}}}",
|
|
3545
3655
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3549,7 +3659,7 @@
|
|
|
3549
3659
|
"corpusVersion": "1.0.0"
|
|
3550
3660
|
},
|
|
3551
3661
|
{
|
|
3552
|
-
"chunkIndex":
|
|
3662
|
+
"chunkIndex": 68,
|
|
3553
3663
|
"chunkKind": "recipe",
|
|
3554
3664
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[1].definition\",\"fragmentPath\":\"page.widgets[1].definition\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"id\":\"praxis-tabs\"},\"fragment\":{\"id\":\"praxis-tabs\",\"bindingOrder\":[\"tabsId\",\"componentInstanceId\",\"configPersistenceStrategy\",\"config\",\"selectedIndex\"]}}",
|
|
3555
3665
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3559,7 +3669,7 @@
|
|
|
3559
3669
|
"corpusVersion": "1.0.0"
|
|
3560
3670
|
},
|
|
3561
3671
|
{
|
|
3562
|
-
"chunkIndex":
|
|
3672
|
+
"chunkIndex": 69,
|
|
3563
3673
|
"chunkKind": "recipe",
|
|
3564
3674
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[1].definition.inputs\",\"fragmentPath\":\"page.widgets[1].definition.inputs\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"id\":\"praxis-tabs\"},\"fragment\":{\"tabsId\":\"employee-dossier-tabs\",\"componentInstanceId\":\"employee-dossier-tabs\",\"configPersistenceStrategy\":\"input-first\",\"selectedIndex\":0}}",
|
|
3565
3675
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3569,7 +3679,7 @@
|
|
|
3569
3679
|
"corpusVersion": "1.0.0"
|
|
3570
3680
|
},
|
|
3571
3681
|
{
|
|
3572
|
-
"chunkIndex":
|
|
3682
|
+
"chunkIndex": 70,
|
|
3573
3683
|
"chunkKind": "recipe",
|
|
3574
3684
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[1].definition.inputs.config\",\"fragmentPath\":\"page.widgets[1].definition.inputs.config\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"id\":\"praxis-tabs\"},\"fragment\":{\"appearance\":{\"density\":\"comfortable\"},\"group\":{\"dynamicHeight\":true,\"fitInkBarToContent\":true,\"stretchTabs\":false,\"ariaLabel\":{\"key\":\"employeeOperations.dossier.ariaLabel\",\"text\":\"Perspectivas do dossiê operacional do funcionário\"}},\"behavior\":{\"lazyLoad\":true,\"reorderable\":false,\"closeable\":false}}}",
|
|
3575
3685
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3579,7 +3689,7 @@
|
|
|
3579
3689
|
"corpusVersion": "1.0.0"
|
|
3580
3690
|
},
|
|
3581
3691
|
{
|
|
3582
|
-
"chunkIndex":
|
|
3692
|
+
"chunkIndex": 71,
|
|
3583
3693
|
"chunkKind": "recipe",
|
|
3584
3694
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[1].definition.inputs.config.tabs\",\"fragmentPath\":\"page.widgets[1].definition.inputs.config.tabs\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"id\":\"praxis-tabs\"},\"fragment\":[{\"id\":\"dossier\",\"textLabel\":{\"key\":\"employeeOperations.dossier.tab.summary\",\"text\":\"Dossiê\"},\"icon\":\"badge\",\"widgets\":[{\"id\":\"praxis-rich-content\",\"childWidgetKey\":\"employee-dossier-context\",\"bindingOrder\":[\"document\",\"context\",\"layout\"],\"inputs\":{\"layout\":\"block\",\"context\":{\"selection\":{\"employee\":null}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"lookupResult\",\"titleExpr\":\"${selection.employee.nomeCompleto}\",\"subtitleExpr\":\"${selection.employee.cargoNome}\",\"status\":\"resolved\",\"meta\":{\"key\":\"employeeOperations.dossier.context.meta\",\"text\":\"Contexto ativo do dossiê\"},\"fields\":[{\"label\":{\"key\":\"employeeOperations.portfolio.column.department\",\"text\":\"Departamento\"},\"valueExpr\":\"${selection.employee.departamentoNome}\"},{\"label\":{\"key\":\"employeeOperations.dossier.context.employeeId\",\"text\":\"ID do funcionário\"},\"valueExpr\":\"${selection.employee.id}\"}]},{\"type\":\"callout\",\"visibleWhen\":{\"==\":[{\"var\":\"selection.employee\"},null]},\"tone\":\"info\",\"icon\":\"touch_app\",\"title\":{\"key\":\"employeeOperations.dossier.callout.title\",\"text\":\"Comece por aqui\"},\"message\":{\"key\":\"employeeOperations.dossier.callout.message\",\"text\":\"Selecione uma pessoa na carteira para atualizar todo o dossiê. Use as ações da linha para visualizar, editar, inativar ou reativar o vínculo.\"}}]}}},{\"id\":\"praxis-dynamic-form\",\"childWidgetKey\":\"employee-dossier-form\",\"bindingOrder\":[\"formId\",\"componentInstanceId\",\"resourcePath\",\"resourceId\",\"mode\",\"config\"],\"inputs\":{\"formId\":\"employee-operations-dossier\",\"componentInstanceId\":\"employee-operations-dossier\",\"resourcePath\":\"human-resources/funcionarios\",\"resourceId\":null,\"mode\":\"view\",\"config\":{\"appearance\":{\"density\":\"comfortable\"}}},\"outputs\":{\"customAction\":\"emit\",\"initializationError\":\"emit\"}}]},{\"id\":\"payroll\",\"textLabel\":{\"key\":\"employeeOperations.dossier.tab.payroll\",\"text\":\"Folha\"},\"icon\":\"payments\",\"widgets\":[{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-payroll-history\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"payroll-history\",\"parentResourcePath\":\"human-resources/funcionarios\",\"parentResourceId\":null,\"mode\":\"inline\",\"tableId\":\"employee-payroll-history\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.payroll.title\",\"text\":\"Histórico analítico de folha\"},\"subtitle\":{\"key\":\"employeeOperations.payroll.subtitle\",\"text\":\"Competência, composição e eventos do funcionário selecionado\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":true,\"strategy\":\"server\",\"pageSize\":6,\"pageSizeOptions\":[6,12]}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"competencia\",\"salarioBruto\",\"totalDescontos\",\"salarioLiquido\",\"qtdEventos\",\"composicaoFolha\"],\"overrides\":{\"competencia\":{\"header\":{\"key\":\"employeeOperations.column.period\",\"text\":\"Competência\"},\"format\":\"MM/yyyy\",\"width\":\"120px\"},\"salarioBruto\":{\"header\":{\"key\":\"employeeOperations.column.gross\",\"text\":\"Bruto\"},\"type\":\"currency\",\"format\":\"BRL|symbol|2\",\"align\":\"end\"},\"totalDescontos\":{\"header\":{\"key\":\"employeeOperations.column.discounts\",\"text\":\"Descontos\"},\"type\":\"currency\",\"format\":\"BRL|symbol|2\",\"align\":\"end\"},\"salarioLiquido\":{\"header\":{\"key\":\"employeeOperations.column.net\",\"text\":\"Líquido\"},\"type\":\"currency\",\"format\":\"BRL|symbol|2\",\"align\":\"end\"},\"qtdEventos\":{\"header\":{\"key\":\"employeeOperations.column.events\",\"text\":\"Eventos\"},\"align\":\"center\",\"width\":\"100px\"},\"composicaoFolha\":{\"header\":{\"key\":\"employeeOperations.column.composition\",\"text\":\"Composição\"},\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"composicaoFolha\",\"variant\":\"soft\",\"color\":\"primary\"}}}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}}]},{\"id\":\"career\",\"textLabel\":{\"key\":\"employeeOperations.dossier.tab.career\",\"text\":\"Carreira\"},\"icon\":\"trending_up\",\"widgets\":[{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-skills\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"skills\",\"parentResourcePath\":\"human-resources/funcionarios\",\"parentResourceId\":null,\"mode\":\"inline\",\"tableId\":\"employee-skill-matrix\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.skills.title\",\"text\":\"Matriz de competências\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":false}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"habilidadeNome\",\"proficiencia\",\"origem\"],\"overrides\":{\"habilidadeNome\":{\"header\":{\"key\":\"employeeOperations.column.skill\",\"text\":\"Competência\"}},\"proficiencia\":{\"header\":{\"key\":\"employeeOperations.column.proficiency\",\"text\":\"Proficiência\"},\"renderer\":{\"type\":\"progress\",\"progress\":{\"valueExpr\":\"proficiencia\",\"color\":\"primary\",\"showLabel\":true}}},\"origem\":{\"header\":{\"key\":\"employeeOperations.column.origin\",\"text\":\"Origem\"},\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"origem\",\"variant\":\"outlined\",\"color\":\"accent\"}}}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}},{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-career-history\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"career-history\",\"parentResourcePath\":\"human-resources/funcionarios\",\"parentResourceId\":null,\"mode\":\"inline\",\"tableId\":\"employee-career-history\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.career.title\",\"text\":\"Histórico de cargos\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":false}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"cargoNome\",\"dataInicio\",\"dataFim\",\"observacoes\"],\"overrides\":{\"cargoNome\":{\"header\":{\"key\":\"employeeOperations.portfolio.column.role\",\"text\":\"Cargo\"},\"sticky\":\"start\"},\"dataInicio\":{\"header\":{\"key\":\"employeeOperations.column.start\",\"text\":\"Início\"}},\"dataFim\":{\"header\":{\"key\":\"employeeOperations.column.end\",\"text\":\"Fim\"}},\"observacoes\":{\"header\":{\"key\":\"employeeOperations.column.context\",\"text\":\"Contexto\"}}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}}]}]}",
|
|
3585
3695
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3589,7 +3699,7 @@
|
|
|
3589
3699
|
"corpusVersion": "1.0.0"
|
|
3590
3700
|
},
|
|
3591
3701
|
{
|
|
3592
|
-
"chunkIndex":
|
|
3702
|
+
"chunkIndex": 72,
|
|
3593
3703
|
"chunkKind": "recipe",
|
|
3594
3704
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[1].definition.inputs.config.tabs\",\"fragmentPath\":\"page.widgets[1].definition.inputs.config.tabs\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"id\":\"praxis-tabs\"},\"fragment\":[{\"id\":\"people\",\"textLabel\":{\"key\":\"employeeOperations.dossier.tab.people\",\"text\":\"Pessoas\"},\"icon\":\"family_restroom\",\"widgets\":[{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-dependents\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"dependents\",\"parentResourcePath\":\"human-resources/funcionarios\",\"parentResourceId\":null,\"mode\":\"inline\",\"tableId\":\"employee-dependents\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.dependents.title\",\"text\":\"Dependentes e elegibilidade\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":false}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"nomeCompleto\",\"parentesco\",\"dataNascimento\"],\"overrides\":{\"nomeCompleto\":{\"header\":{\"key\":\"employeeOperations.column.dependent\",\"text\":\"Dependente\"},\"sticky\":\"start\"},\"parentesco\":{\"header\":{\"key\":\"employeeOperations.column.relationship\",\"text\":\"Parentesco\"},\"renderer\":{\"type\":\"chip\",\"chip\":{\"textField\":\"parentesco\",\"variant\":\"outlined\",\"color\":\"primary\"}}},\"dataNascimento\":{\"header\":{\"key\":\"employeeOperations.column.birthDate\",\"text\":\"Nascimento\"}}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}},{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-address\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"address\",\"parentResourcePath\":\"human-resources/funcionarios\",\"parentResourceId\":null,\"mode\":\"inline\",\"tableId\":\"employee-address\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.address.title\",\"text\":\"Endereço cadastral\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":false}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"logradouro\",\"numero\",\"cidade\",\"estado\",\"cep\"],\"overrides\":{\"logradouro\":{\"header\":{\"key\":\"employeeOperations.column.street\",\"text\":\"Logradouro\"},\"sticky\":\"start\"},\"numero\":{\"header\":{\"key\":\"employeeOperations.column.number\",\"text\":\"Número\"},\"width\":\"100px\"},\"cidade\":{\"header\":{\"key\":\"employeeOperations.column.city\",\"text\":\"Cidade\"}},\"estado\":{\"header\":\"UF\",\"width\":\"80px\"},\"cep\":{\"header\":\"CEP\",\"width\":\"120px\"}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}}]},{\"id\":\"operations\",\"textLabel\":{\"key\":\"employeeOperations.dossier.tab.operations\",\"text\":\"Operação\"},\"icon\":\"hub\",\"widgets\":[{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-missions\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"mission-participations\",\"parentResourcePath\":\"human-resources/funcionarios\",\"parentResourceId\":null,\"mode\":\"inline\",\"tableId\":\"employee-mission-participations\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.missions.title\",\"text\":\"Participações em missões\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":true,\"strategy\":\"server\",\"pageSize\":5,\"pageSizeOptions\":[5,10]}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"missaoTitulo\",\"papel\",\"principal\",\"resultado\"],\"overrides\":{\"missaoTitulo\":{\"header\":{\"key\":\"employeeOperations.column.mission\",\"text\":\"Missão\"},\"sticky\":\"start\"},\"papel\":{\"header\":{\"key\":\"employeeOperations.column.assignment\",\"text\":\"Papel\"},\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"papel\",\"variant\":\"soft\",\"color\":\"primary\"}}},\"principal\":{\"header\":{\"key\":\"employeeOperations.column.leadership\",\"text\":\"Liderança\"},\"format\":\"yes-no\",\"align\":\"center\"},\"resultado\":{\"header\":{\"key\":\"employeeOperations.column.result\",\"text\":\"Resultado\"},\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"resultado\",\"variant\":\"outlined\",\"color\":\"accent\"}}}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}},{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-equipment-custody\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"equipment-custody\",\"parentResourcePath\":\"human-resources/funcionarios\",\"parentResourceId\":null,\"mode\":\"inline\",\"tableId\":\"employee-equipment-custody\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.equipment.title\",\"text\":\"Equipamentos sob custódia\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":false}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"equipamentoId\",\"status\",\"inicio\",\"fim\"],\"overrides\":{\"equipamentoId\":{\"header\":{\"key\":\"employeeOperations.column.equipment\",\"text\":\"Equipamento\"},\"sticky\":\"start\"},\"status\":{\"header\":{\"key\":\"employeeOperations.column.status\",\"text\":\"Status\"},\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"status\",\"variant\":\"soft\",\"color\":\"accent\"}}},\"inicio\":{\"header\":{\"key\":\"employeeOperations.column.custodyStart\",\"text\":\"Início da custódia\"}},\"fim\":{\"header\":{\"key\":\"employeeOperations.column.custodyEnd\",\"text\":\"Encerramento\"}}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}}]}]}",
|
|
3595
3705
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3599,7 +3709,7 @@
|
|
|
3599
3709
|
"corpusVersion": "1.0.0"
|
|
3600
3710
|
},
|
|
3601
3711
|
{
|
|
3602
|
-
"chunkIndex":
|
|
3712
|
+
"chunkIndex": 73,
|
|
3603
3713
|
"chunkKind": "recipe",
|
|
3604
3714
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[1].definition\",\"fragmentPath\":\"page.widgets[1].definition\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"id\":\"praxis-tabs\"},\"fragment\":{\"outputs\":{\"selectedIndexChange\":\"emit\"}}}",
|
|
3605
3715
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3609,7 +3719,7 @@
|
|
|
3609
3719
|
"corpusVersion": "1.0.0"
|
|
3610
3720
|
},
|
|
3611
3721
|
{
|
|
3612
|
-
"chunkIndex":
|
|
3722
|
+
"chunkIndex": 74,
|
|
3613
3723
|
"chunkKind": "recipe",
|
|
3614
3724
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.composition\",\"page\":{\"composition\":{\"version\":\"1.0.0\"}}}",
|
|
3615
3725
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3619,7 +3729,7 @@
|
|
|
3619
3729
|
"corpusVersion": "1.0.0"
|
|
3620
3730
|
},
|
|
3621
3731
|
{
|
|
3622
|
-
"chunkIndex":
|
|
3732
|
+
"chunkIndex": 75,
|
|
3623
3733
|
"chunkKind": "recipe",
|
|
3624
3734
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.composition.links\",\"page\":{\"composition\":{\"links\":[{\"id\":\"employee-casework:portfolio.rowClick->state.selection.employeeId\",\"intent\":\"state-write\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeePortfolio\",\"port\":\"rowClick\",\"direction\":\"output\",\"componentType\":\"praxis-crud\"}},\"to\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeId\",\"layer\":\"values\",\"writable\":true}},\"condition\":{\">\":[{\"var\":\"payload.row.id\"},0]},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"single-value\",\"sourceBindings\":[{\"source\":\"event\"}],\"steps\":[{\"id\":\"employee-casework:pick-employee-id\",\"kind\":\"pick-path\",\"phase\":\"link-propagation\",\"input\":{\"source\":\"event\"},\"config\":{\"path\":\"payload.row.id\"}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true,\"debounceMs\":50}},{\"id\":\"employee-casework:portfolio.rowClick->state.selection.employeeIdentity\",\"intent\":\"state-write\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeePortfolio\",\"port\":\"rowClick\",\"direction\":\"output\",\"componentType\":\"praxis-crud\"}},\"to\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeIdentity\",\"layer\":\"values\",\"writable\":true}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"single-value\",\"sourceBindings\":[{\"source\":\"event\"}],\"steps\":[{\"id\":\"employee-casework:pick-employee-identity\",\"kind\":\"pick-path\",\"phase\":\"link-propagation\",\"input\":{\"source\":\"event\"},\"config\":{\"path\":\"payload.resourceIdentity\"}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true,\"debounceMs\":50}},{\"id\":\"employee-casework:portfolio.rowClick->state.selection.employee\",\"intent\":\"state-write\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeePortfolio\",\"port\":\"rowClick\",\"direction\":\"output\",\"componentType\":\"praxis-crud\"}},\"to\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employee\",\"layer\":\"values\",\"writable\":true}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"single-value\",\"sourceBindings\":[{\"source\":\"event\"}],\"steps\":[{\"id\":\"employee-casework:pick-employee-record\",\"kind\":\"pick-path\",\"phase\":\"link-propagation\",\"input\":{\"source\":\"event\"},\"config\":{\"path\":\"payload.row\"}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true,\"debounceMs\":50}},{\"id\":\"employee-casework:portfolio.rowAction->state.selection.employeeId\",\"intent\":\"state-write\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeePortfolio\",\"port\":\"rowAction\",\"direction\":\"output\",\"componentType\":\"praxis-crud\"}},\"to\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeId\",\"layer\":\"values\",\"writable\":true}},\"condition\":{\">\":[{\"var\":\"payload.row.id\"},0]},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"single-value\",\"sourceBindings\":[{\"source\":\"event\"}],\"steps\":[{\"id\":\"employee-casework:pick-action-employee-id\",\"kind\":\"pick-path\",\"phase\":\"link-propagation\",\"input\":{\"source\":\"event\"},\"config\":{\"path\":\"payload.row.id\"}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true,\"debounceMs\":50}},{\"id\":\"employee-casework:portfolio.rowAction->state.selection.employeeIdentity\",\"intent\":\"state-write\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeePortfolio\",\"port\":\"rowAction\",\"direction\":\"output\",\"componentType\":\"praxis-crud\"}},\"to\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeIdentity\",\"layer\":\"values\",\"writable\":true}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"single-value\",\"sourceBindings\":[{\"source\":\"event\"}],\"steps\":[{\"id\":\"employee-casework:pick-action-employee-identity\",\"kind\":\"pick-path\",\"phase\":\"link-propagation\",\"input\":{\"source\":\"event\"},\"config\":{\"path\":\"payload.resourceIdentity\"}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true,\"debounceMs\":50}},{\"id\":\"employee-casework:portfolio.rowAction->state.selection.employee\",\"intent\":\"state-write\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeePortfolio\",\"port\":\"rowAction\",\"direction\":\"output\",\"componentType\":\"praxis-crud\"}},\"to\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employee\",\"layer\":\"values\",\"writable\":true}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"single-value\",\"sourceBindings\":[{\"source\":\"event\"}],\"steps\":[{\"id\":\"employee-casework:pick-action-employee-record\",\"kind\":\"pick-path\",\"phase\":\"link-propagation\",\"input\":{\"source\":\"event\"},\"config\":{\"path\":\"payload.row\"}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true,\"debounceMs\":50}},{\"id\":\"employee-casework:state.employee->dossier-context.context\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employee\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"context\",\"direction\":\"input\",\"componentType\":\"praxis-rich-content\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"dossier\",\"index\":0},{\"kind\":\"widget\",\"key\":\"employee-dossier-context\",\"componentType\":\"praxis-rich-content\"}]}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"state\",\"path\":\"selection.employee\"}],\"steps\":[{\"id\":\"employee-casework:employee-context\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"selection\":{\"employee\":\"${source}\"}}}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeId->dossier-form.resourceId\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"resourceId\",\"direction\":\"input\",\"componentType\":\"praxis-dynamic-form\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"dossier\",\"index\":0},{\"kind\":\"widget\",\"key\":\"employee-dossier-form\",\"componentType\":\"praxis-dynamic-form\"}]}},\"condition\":{\">\":[{\"var\":\"source\"},0]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeId->payroll.parentResourceId\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentResourceId\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"payroll\",\"index\":1},{\"kind\":\"widget\",\"key\":\"employee-payroll-history\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"condition\":{\">\":[{\"var\":\"source\"},0]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeId->skills.parentResourceId\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentResourceId\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"career\",\"index\":2},{\"kind\":\"widget\",\"key\":\"employee-skills\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"condition\":{\">\":[{\"var\":\"source\"},0]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeId->career.parentResourceId\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentResourceId\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"career\",\"index\":2},{\"kind\":\"widget\",\"key\":\"employee-career-history\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"condition\":{\">\":[{\"var\":\"source\"},0]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}}]}}}",
|
|
3625
3735
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3629,7 +3739,7 @@
|
|
|
3629
3739
|
"corpusVersion": "1.0.0"
|
|
3630
3740
|
},
|
|
3631
3741
|
{
|
|
3632
|
-
"chunkIndex":
|
|
3742
|
+
"chunkIndex": 76,
|
|
3633
3743
|
"chunkKind": "recipe",
|
|
3634
3744
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.composition.links\",\"page\":{\"composition\":{\"links\":[{\"id\":\"employee-casework:state.employeeId->dependents.parentResourceId\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentResourceId\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"people\",\"index\":3},{\"kind\":\"widget\",\"key\":\"employee-dependents\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"condition\":{\">\":[{\"var\":\"source\"},0]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeId->address.parentResourceId\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentResourceId\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"people\",\"index\":3},{\"kind\":\"widget\",\"key\":\"employee-address\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"condition\":{\">\":[{\"var\":\"source\"},0]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeId->missions.parentResourceId\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentResourceId\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"operations\",\"index\":4},{\"kind\":\"widget\",\"key\":\"employee-missions\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"condition\":{\">\":[{\"var\":\"source\"},0]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeId->equipment.parentResourceId\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentResourceId\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"operations\",\"index\":4},{\"kind\":\"widget\",\"key\":\"employee-equipment-custody\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"condition\":{\">\":[{\"var\":\"source\"},0]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeIdentity->payroll.parentIdentity\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeIdentity\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentIdentity\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"payroll\",\"index\":1},{\"kind\":\"widget\",\"key\":\"employee-payroll-history\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeIdentity->skills.parentIdentity\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeIdentity\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentIdentity\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"career\",\"index\":2},{\"kind\":\"widget\",\"key\":\"employee-skills\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeIdentity->career.parentIdentity\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeIdentity\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentIdentity\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"career\",\"index\":2},{\"kind\":\"widget\",\"key\":\"employee-career-history\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeIdentity->dependents.parentIdentity\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeIdentity\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentIdentity\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"people\",\"index\":3},{\"kind\":\"widget\",\"key\":\"employee-dependents\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeIdentity->address.parentIdentity\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeIdentity\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentIdentity\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"people\",\"index\":3},{\"kind\":\"widget\",\"key\":\"employee-address\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeIdentity->missions.parentIdentity\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeIdentity\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentIdentity\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"operations\",\"index\":4},{\"kind\":\"widget\",\"key\":\"employee-missions\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:state.employeeIdentity->equipment.parentIdentity\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.employeeIdentity\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"employeeCaseTabs\",\"port\":\"parentIdentity\",\"direction\":\"input\",\"componentType\":\"praxis-related-resource-outlet\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"operations\",\"index\":4},{\"kind\":\"widget\",\"key\":\"employee-equipment-custody\",\"componentType\":\"praxis-related-resource-outlet\"}]}},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}}]}}}",
|
|
3635
3745
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3639,7 +3749,7 @@
|
|
|
3639
3749
|
"corpusVersion": "1.0.0"
|
|
3640
3750
|
},
|
|
3641
3751
|
{
|
|
3642
|
-
"chunkIndex":
|
|
3752
|
+
"chunkIndex": 77,
|
|
3643
3753
|
"chunkKind": "recipe",
|
|
3644
3754
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan\",\"authoringPlan\":{\"version\":\"1.0\",\"kind\":\"praxis.ui-composition-plan\"}}",
|
|
3645
3755
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3649,7 +3759,7 @@
|
|
|
3649
3759
|
"corpusVersion": "1.0.0"
|
|
3650
3760
|
},
|
|
3651
3761
|
{
|
|
3652
|
-
"chunkIndex":
|
|
3762
|
+
"chunkIndex": 78,
|
|
3653
3763
|
"chunkKind": "recipe",
|
|
3654
3764
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan.i18n\",\"authoringPlan\":{\"i18n\":{\"fallbackLocale\":\"pt-BR\"}}}",
|
|
3655
3765
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3659,7 +3769,7 @@
|
|
|
3659
3769
|
"corpusVersion": "1.0.0"
|
|
3660
3770
|
},
|
|
3661
3771
|
{
|
|
3662
|
-
"chunkIndex":
|
|
3772
|
+
"chunkIndex": 79,
|
|
3663
3773
|
"chunkKind": "recipe",
|
|
3664
3774
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan.i18n.dictionaries\",\"authoringPlan\":{\"i18n\":{\"dictionaries\":{\"pt-BR\":{\"employeeOperations.portfolio.shell.title\":\"Gestão de pessoas\",\"employeeOperations.portfolio.shell.subtitle\":\"Encontre funcionários, atualize vínculos e consulte o dossiê sem sair da carteira\",\"employeeOperations.portfolio.resource.title\":\"Funcionários\",\"employeeOperations.portfolio.resource.formTitle\":\"Cadastro do funcionário\",\"employeeOperations.portfolio.toolbar.title\":\"Carteira de funcionários\",\"employeeOperations.portfolio.toolbar.subtitle\":\"Dados cadastrais, área, vínculo e remuneração em uma única visão\",\"employeeOperations.portfolio.search.placeholder\":\"Buscar por nome, e-mail, cargo ou departamento\",\"employeeOperations.portfolio.quickFilter.active\":\"Ativos\",\"employeeOperations.portfolio.quickFilter.inactive\":\"Inativos\",\"employeeOperations.portfolio.column.person\":\"Pessoa\",\"employeeOperations.portfolio.column.employee\":\"Funcionário\",\"employeeOperations.portfolio.column.employment\":\"Vínculo\",\"employeeOperations.portfolio.column.role\":\"Cargo\",\"employeeOperations.portfolio.column.department\":\"Departamento\",\"employeeOperations.portfolio.column.hiredAt\":\"Admissão\",\"employeeOperations.portfolio.column.salary\":\"Salário base\",\"employeeOperations.portfolio.column.contact\":\"Contato\",\"employeeOperations.portfolio.status.active\":\"Ativo\",\"employeeOperations.portfolio.status.inactive\":\"Inativo\",\"employeeOperations.portfolio.actions.header\":\"Ações\",\"employeeOperations.portfolio.actions.tooltip\":\"Visualizar, editar ou atualizar o vínculo\",\"employeeOperations.portfolio.action.view\":\"Visualizar\",\"employeeOperations.portfolio.action.view.tooltip\":\"Ver dados do funcionário\",\"employeeOperations.portfolio.action.edit\":\"Editar\",\"employeeOperations.portfolio.action.edit.tooltip\":\"Editar dados do funcionário\",\"employeeOperations.portfolio.action.deactivate\":\"Inativar\",\"employeeOperations.portfolio.action.deactivate.tooltip\":\"Inativar vínculo e registrar motivo e vigência\",\"employeeOperations.portfolio.action.reactivate\":\"Reativar\",\"employeeOperations.portfolio.action.reactivate.tooltip\":\"Reativar vínculo e registrar motivo e vigência\",\"employeeOperations.dossier.shell.title\":\"Dossiê do funcionário\",\"employeeOperations.dossier.shell.subtitle\":\"Selecione uma pessoa para consultar dados, folha, carreira e atividades relacionadas\",\"employeeOperations.dossier.ariaLabel\":\"Perspectivas do dossiê operacional do funcionário\",\"employeeOperations.dossier.tab.summary\":\"Dossiê\",\"employeeOperations.dossier.tab.payroll\":\"Folha\",\"employeeOperations.dossier.tab.career\":\"Carreira\",\"employeeOperations.dossier.tab.people\":\"Pessoas\",\"employeeOperations.dossier.tab.operations\":\"Operação\",\"employeeOperations.dossier.context.meta\":\"Contexto ativo do dossiê\",\"employeeOperations.dossier.context.employeeId\":\"ID do funcionário\",\"employeeOperations.dossier.callout.title\":\"Comece por aqui\",\"employeeOperations.dossier.callout.message\":\"Selecione uma pessoa na carteira para atualizar todo o dossiê. Use as ações da linha para visualizar, editar, inativar ou reativar o vínculo.\",\"employeeOperations.payroll.title\":\"Histórico analítico de folha\",\"employeeOperations.payroll.subtitle\":\"Competência, composição e eventos do funcionário selecionado\",\"employeeOperations.column.period\":\"Competência\",\"employeeOperations.column.gross\":\"Bruto\",\"employeeOperations.column.discounts\":\"Descontos\",\"employeeOperations.column.net\":\"Líquido\",\"employeeOperations.column.events\":\"Eventos\",\"employeeOperations.column.composition\":\"Composição\",\"employeeOperations.skills.title\":\"Matriz de competências\",\"employeeOperations.column.skill\":\"Competência\",\"employeeOperations.column.proficiency\":\"Proficiência\",\"employeeOperations.column.origin\":\"Origem\",\"employeeOperations.career.title\":\"Histórico de cargos\",\"employeeOperations.column.start\":\"Início\",\"employeeOperations.column.end\":\"Fim\",\"employeeOperations.column.context\":\"Contexto\",\"employeeOperations.dependents.title\":\"Dependentes e elegibilidade\",\"employeeOperations.column.dependent\":\"Dependente\",\"employeeOperations.column.relationship\":\"Parentesco\",\"employeeOperations.column.birthDate\":\"Nascimento\",\"employeeOperations.address.title\":\"Endereço cadastral\",\"employeeOperations.column.street\":\"Logradouro\",\"employeeOperations.column.number\":\"Número\",\"employeeOperations.column.city\":\"Cidade\",\"employeeOperations.missions.title\":\"Participações em missões\",\"employeeOperations.column.mission\":\"Missão\",\"employeeOperations.column.assignment\":\"Papel\",\"employeeOperations.column.leadership\":\"Liderança\",\"employeeOperations.column.result\":\"Resultado\",\"employeeOperations.equipment.title\":\"Equipamentos sob custódia\",\"employeeOperations.column.equipment\":\"Equipamento\",\"employeeOperations.column.status\":\"Status\",\"employeeOperations.column.custodyStart\":\"Início da custódia\",\"employeeOperations.column.custodyEnd\":\"Encerramento\"}}}}}",
|
|
3665
3775
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3669,7 +3779,7 @@
|
|
|
3669
3779
|
"corpusVersion": "1.0.0"
|
|
3670
3780
|
},
|
|
3671
3781
|
{
|
|
3672
|
-
"chunkIndex":
|
|
3782
|
+
"chunkIndex": 80,
|
|
3673
3783
|
"chunkKind": "recipe",
|
|
3674
3784
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan.i18n.dictionaries\",\"authoringPlan\":{\"i18n\":{\"dictionaries\":{\"en-US\":{\"employeeOperations.portfolio.shell.title\":\"People operations\",\"employeeOperations.portfolio.shell.subtitle\":\"Find employees, update employment records, and review the dossier without leaving the portfolio\",\"employeeOperations.portfolio.resource.title\":\"Employees\",\"employeeOperations.portfolio.resource.formTitle\":\"Employee record\",\"employeeOperations.portfolio.toolbar.title\":\"Employee portfolio\",\"employeeOperations.portfolio.toolbar.subtitle\":\"Profile, department, employment, and compensation data in one view\",\"employeeOperations.portfolio.search.placeholder\":\"Search by name, email, role, or department\",\"employeeOperations.portfolio.quickFilter.active\":\"Active\",\"employeeOperations.portfolio.quickFilter.inactive\":\"Inactive\",\"employeeOperations.portfolio.column.person\":\"Person\",\"employeeOperations.portfolio.column.employee\":\"Employee\",\"employeeOperations.portfolio.column.employment\":\"Employment\",\"employeeOperations.portfolio.column.role\":\"Role\",\"employeeOperations.portfolio.column.department\":\"Department\",\"employeeOperations.portfolio.column.hiredAt\":\"Hire date\",\"employeeOperations.portfolio.column.salary\":\"Base salary\",\"employeeOperations.portfolio.column.contact\":\"Contact\",\"employeeOperations.portfolio.status.active\":\"Active\",\"employeeOperations.portfolio.status.inactive\":\"Inactive\",\"employeeOperations.portfolio.actions.header\":\"Actions\",\"employeeOperations.portfolio.actions.tooltip\":\"View, edit, or update the employment record\",\"employeeOperations.portfolio.action.view\":\"View\",\"employeeOperations.portfolio.action.view.tooltip\":\"View employee details\",\"employeeOperations.portfolio.action.edit\":\"Edit\",\"employeeOperations.portfolio.action.edit.tooltip\":\"Edit employee details\",\"employeeOperations.portfolio.action.deactivate\":\"Deactivate\",\"employeeOperations.portfolio.action.deactivate.tooltip\":\"Deactivate the employment record and provide reason and effective date\",\"employeeOperations.portfolio.action.reactivate\":\"Reactivate\",\"employeeOperations.portfolio.action.reactivate.tooltip\":\"Reactivate the employment record and provide reason and effective date\",\"employeeOperations.dossier.shell.title\":\"Employee dossier\",\"employeeOperations.dossier.shell.subtitle\":\"Select a person to review profile, payroll, career, and related activities\",\"employeeOperations.dossier.ariaLabel\":\"Operational employee dossier perspectives\",\"employeeOperations.dossier.tab.summary\":\"Dossier\",\"employeeOperations.dossier.tab.payroll\":\"Payroll\",\"employeeOperations.dossier.tab.career\":\"Career\",\"employeeOperations.dossier.tab.people\":\"People\",\"employeeOperations.dossier.tab.operations\":\"Operations\",\"employeeOperations.dossier.context.meta\":\"Active dossier context\",\"employeeOperations.dossier.context.employeeId\":\"Employee ID\",\"employeeOperations.dossier.callout.title\":\"Start here\",\"employeeOperations.dossier.callout.message\":\"Select a person in the portfolio to update the entire dossier. Use the row actions to view, edit, deactivate, or reactivate the employment record.\",\"employeeOperations.payroll.title\":\"Payroll history\",\"employeeOperations.payroll.subtitle\":\"Period, composition, and events for the selected employee\",\"employeeOperations.column.period\":\"Period\",\"employeeOperations.column.gross\":\"Gross\",\"employeeOperations.column.discounts\":\"Deductions\",\"employeeOperations.column.net\":\"Net\",\"employeeOperations.column.events\":\"Events\",\"employeeOperations.column.composition\":\"Composition\",\"employeeOperations.skills.title\":\"Skills matrix\",\"employeeOperations.column.skill\":\"Skill\",\"employeeOperations.column.proficiency\":\"Proficiency\",\"employeeOperations.column.origin\":\"Source\",\"employeeOperations.career.title\":\"Role history\",\"employeeOperations.column.start\":\"Start\",\"employeeOperations.column.end\":\"End\",\"employeeOperations.column.context\":\"Context\",\"employeeOperations.dependents.title\":\"Dependents and eligibility\",\"employeeOperations.column.dependent\":\"Dependent\",\"employeeOperations.column.relationship\":\"Relationship\",\"employeeOperations.column.birthDate\":\"Birth date\",\"employeeOperations.address.title\":\"Registered address\",\"employeeOperations.column.street\":\"Street\",\"employeeOperations.column.number\":\"Number\",\"employeeOperations.column.city\":\"City\",\"employeeOperations.missions.title\":\"Mission assignments\",\"employeeOperations.column.mission\":\"Mission\",\"employeeOperations.column.assignment\":\"Assignment\",\"employeeOperations.column.leadership\":\"Leadership\",\"employeeOperations.column.result\":\"Result\",\"employeeOperations.equipment.title\":\"Equipment in custody\",\"employeeOperations.column.equipment\":\"Equipment\",\"employeeOperations.column.status\":\"Status\",\"employeeOperations.column.custodyStart\":\"Custody started\",\"employeeOperations.column.custodyEnd\":\"Closed\"}}}}}",
|
|
3675
3785
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3679,7 +3789,7 @@
|
|
|
3679
3789
|
"corpusVersion": "1.0.0"
|
|
3680
3790
|
},
|
|
3681
3791
|
{
|
|
3682
|
-
"chunkIndex":
|
|
3792
|
+
"chunkIndex": 81,
|
|
3683
3793
|
"chunkKind": "recipe",
|
|
3684
3794
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan\",\"authoringPlan\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"20px\"},\"state\":{\"values\":{},\"schema\":{\"selection\":{\"persist\":false,\"mergeStrategy\":\"replace\",\"description\":\"Operational employee selection remains runtime-only and is never persisted with the authored page.\",\"tags\":[\"runtime-context\",\"employee-selection\"],\"initial\":null}}}}}",
|
|
3685
3795
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3689,7 +3799,7 @@
|
|
|
3689
3799
|
"corpusVersion": "1.0.0"
|
|
3690
3800
|
},
|
|
3691
3801
|
{
|
|
3692
|
-
"chunkIndex":
|
|
3802
|
+
"chunkIndex": 82,
|
|
3693
3803
|
"chunkKind": "recipe",
|
|
3694
3804
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan.widgets\",\"authoringPlan\":{\"widgets\":[{\"key\":\"employeePortfolio\",\"componentId\":\"praxis-crud\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"groups\",\"title\":{\"key\":\"employeeOperations.portfolio.shell.title\"},\"subtitle\":{\"key\":\"employeeOperations.portfolio.shell.subtitle\"},\"windowActions\":{\"collapsible\":false,\"fullscreen\":true}},\"bindingOrder\":[\"crudId\",\"componentInstanceId\",\"tableConfigPersistenceStrategy\",\"metadata\"],\"inputs\":{\"crudId\":\"employee-operations-casework\",\"componentInstanceId\":\"employee-operations-casework\",\"tableConfigPersistenceStrategy\":\"volatile\",\"metadata\":{\"component\":\"praxis-crud\",\"resource\":{\"path\":\"human-resources/funcionarios\",\"idField\":\"id\",\"endpointKey\":\"human-resources.funcionarios\",\"title\":{\"key\":\"employeeOperations.portfolio.resource.title\"},\"formTitle\":{\"key\":\"employeeOperations.portfolio.resource.formTitle\"}},\"form\":{\"actions\":{\"placement\":\"afterSections\",\"sticky\":true}},\"table\":{\"ai\":{\"assistant\":{\"enabled\":false}},\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.portfolio.toolbar.title\"},\"subtitle\":{\"key\":\"employeeOperations.portfolio.toolbar.subtitle\"},\"search\":{\"enabled\":true,\"placeholder\":{\"key\":\"employeeOperations.portfolio.search.placeholder\"}},\"filters\":{\"enabled\":true,\"showAdvancedButton\":true,\"quickFilters\":[{\"id\":\"active-employees\",\"label\":{\"key\":\"employeeOperations.portfolio.quickFilter.active\"},\"icon\":\"check_circle\",\"filter\":{\"ativo\":true}},{\"id\":\"inactive-employees\",\"label\":{\"key\":\"employeeOperations.portfolio.quickFilter.inactive\"},\"icon\":\"block\",\"filter\":{\"ativo\":false}}]},\"columnsVisibility\":{\"enabled\":true},\"densityToggle\":{\"enabled\":true}},\"columns\":[{\"field\":\"avatarUrl\",\"header\":{\"key\":\"employeeOperations.portfolio.column.person\"},\"type\":\"string\",\"width\":\"64px\",\"renderer\":{\"type\":\"avatar\",\"avatar\":{\"srcField\":\"avatarUrl\",\"altField\":\"nomeCompleto\",\"initialsField\":\"nomeCompleto\",\"shape\":\"circle\",\"size\":36}}},{\"field\":\"nomeCompleto\",\"header\":{\"key\":\"employeeOperations.portfolio.column.employee\"},\"type\":\"string\",\"width\":\"180px\",\"sticky\":\"start\"},{\"field\":\"ativo\",\"header\":{\"key\":\"employeeOperations.portfolio.column.employment\"},\"type\":\"boolean\",\"format\":\"active-inactive\",\"width\":\"104px\",\"align\":\"center\",\"conditionalRenderers\":[{\"condition\":{\"==\":[{\"var\":\"ativo\"},true]},\"renderer\":{\"type\":\"badge\",\"badge\":{\"text\":{\"key\":\"employeeOperations.portfolio.status.active\"},\"color\":\"success\",\"variant\":\"filled\",\"icon\":\"check_circle\"}}},{\"condition\":{\"==\":[{\"var\":\"ativo\"},false]},\"renderer\":{\"type\":\"badge\",\"badge\":{\"text\":{\"key\":\"employeeOperations.portfolio.status.inactive\"},\"color\":\"warn\",\"variant\":\"outlined\",\"icon\":\"block\"}}}]},{\"field\":\"cargoNome\",\"header\":{\"key\":\"employeeOperations.portfolio.column.role\"},\"type\":\"string\",\"width\":\"190px\",\"renderer\":{\"type\":\"chip\",\"chip\":{\"textField\":\"cargoNome\",\"variant\":\"outlined\",\"color\":\"primary\"}}},{\"field\":\"departamentoNome\",\"header\":{\"key\":\"employeeOperations.portfolio.column.department\"},\"type\":\"string\",\"width\":\"244px\",\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"departamentoNome\",\"variant\":\"soft\",\"color\":\"accent\"}}},{\"field\":\"dataAdmissao\",\"header\":{\"key\":\"employeeOperations.portfolio.column.hiredAt\"},\"type\":\"date\",\"format\":\"dd/MM/yyyy\",\"width\":\"132px\"},{\"field\":\"salario\",\"header\":{\"key\":\"employeeOperations.portfolio.column.salary\"},\"type\":\"currency\",\"format\":\"BRL|symbol|2\",\"align\":\"end\",\"width\":\"150px\"},{\"field\":\"email\",\"header\":{\"key\":\"employeeOperations.portfolio.column.contact\"},\"type\":\"string\",\"width\":\"240px\"}],\"behavior\":{\"pagination\":{\"enabled\":true,\"strategy\":\"server\",\"pageSize\":8,\"pageSizeOptions\":[8,16,32],\"position\":\"bottom\"},\"sorting\":{\"enabled\":true,\"strategy\":\"server\",\"defaultSort\":{\"column\":\"id\",\"direction\":\"asc\"}},\"filtering\":{\"enabled\":true,\"strategy\":\"server\",\"debounceTime\":300,\"advancedFilters\":{\"enabled\":true,\"settings\":{\"alwaysVisibleFields\":[\"departamentoIdsIn\",\"dataAdmissaoRange\",\"salarioBetween\"],\"allowSaveTags\":true,\"tags\":[{\"id\":\"executive-pay-band\",\"label\":\"Faixa executiva\",\"patch\":{\"salarioBetween\":[39000,40000]}}],\"advancedOpenMode\":\"modal\",\"advancedClearButtonsEnabled\":true,\"changeDebounceMs\":300}}},\"selection\":{\"enabled\":true,\"type\":\"single\",\"mode\":\"row\",\"persistSelection\":false},\"density\":\"compact\"},\"actions\":{\"row\":{\"enabled\":true,\"display\":\"icons\",\"position\":\"end\",\"sticky\":\"end\",\"header\":{\"label\":{\"key\":\"employeeOperations.portfolio.actions.header\"},\"icon\":\"bolt\",\"tooltip\":{\"key\":\"employeeOperations.portfolio.actions.tooltip\"}},\"behavior\":{\"enabled\":true,\"maxInline\":{\"xs\":0,\"sm\":1,\"md\":2,\"lg\":1},\"autoStrategy\":\"breakpoints\"},\"actions\":[{\"id\":\"view\",\"label\":{\"key\":\"employeeOperations.portfolio.action.view\"},\"icon\":\"visibility\",\"action\":\"view\",\"tooltip\":{\"key\":\"employeeOperations.portfolio.action.view.tooltip\"}},{\"id\":\"edit\",\"label\":{\"key\":\"employeeOperations.portfolio.action.edit\"},\"icon\":\"edit\",\"action\":\"edit\",\"tooltip\":{\"key\":\"employeeOperations.portfolio.action.edit.tooltip\"}},{\"id\":\"deactivate\",\"label\":{\"key\":\"employeeOperations.portfolio.action.deactivate\"},\"icon\":\"person_off\",\"color\":\"warn\",\"action\":\"deactivate\",\"tooltip\":{\"key\":\"employeeOperations.portfolio.action.deactivate.tooltip\"},\"visibleWhen\":{\"==\":[{\"var\":\"ativo\"},true]}},{\"id\":\"reactivate\",\"label\":{\"key\":\"employeeOperations.portfolio.action.reactivate\"},\"icon\":\"person_add\",\"color\":\"primary\",\"action\":\"reactivate\",\"tooltip\":{\"key\":\"employeeOperations.portfolio.action.reactivate.tooltip\"},\"visibleWhen\":{\"==\":[{\"var\":\"ativo\"},false]}}]}},\"appearance\":{\"density\":\"compact\",\"stickyHeader\":true,\"stripedRows\":false,\"hoverHighlight\":true,\"responsive\":{\"breakpoints\":{\"mobile\":640},\"mobile\":{\"horizontalScroll\":false,\"cardMode\":true,\"priorityColumns\":[\"nomeCompleto\",\"ativo\",\"cargoNome\"]}}},\"export\":{\"enabled\":true,\"formats\":[\"csv\",\"excel\"],\"general\":{\"includeHeaders\":true,\"respectFilters\":true,\"applyFormatting\":true,\"defaultFileName\":\"carteira-funcionarios\",\"includeColumns\":\"visible\",\"scope\":\"currentPage\",\"maxRows\":500},\"excel\":{\"sheetName\":\"Funcionários\",\"autoFitColumns\":true,\"freezeHeaders\":true}}},\"defaults\":{\"openMode\":\"drawer\"},\"actions\":[{\"action\":\"create\",\"openMode\":\"drawer\"},{\"action\":\"view\",\"openMode\":\"drawer\"},{\"action\":\"edit\",\"openMode\":\"drawer\"}]}},\"outputs\":{\"rowClick\":\"emit\",\"rowAction\":\"emit\",\"selectionChange\":\"emit\",\"afterSave\":\"emit\",\"afterDelete\":\"emit\"}}]}}",
|
|
3695
3805
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3699,7 +3809,7 @@
|
|
|
3699
3809
|
"corpusVersion": "1.0.0"
|
|
3700
3810
|
},
|
|
3701
3811
|
{
|
|
3702
|
-
"chunkIndex":
|
|
3812
|
+
"chunkIndex": 83,
|
|
3703
3813
|
"chunkKind": "recipe",
|
|
3704
3814
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan.widgets[1]\",\"fragmentPath\":\"authoringPlan.widgets[1]\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"componentId\":\"praxis-tabs\"},\"fragment\":{\"key\":\"employeeCaseTabs\",\"componentId\":\"praxis-tabs\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"folder_shared\",\"title\":{\"key\":\"employeeOperations.dossier.shell.title\"},\"subtitle\":{\"key\":\"employeeOperations.dossier.shell.subtitle\"},\"windowActions\":{\"collapsible\":false,\"fullscreen\":true}},\"bindingOrder\":[\"tabsId\",\"componentInstanceId\",\"configPersistenceStrategy\",\"config\",\"selectedIndex\"]}}",
|
|
3705
3815
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3709,7 +3819,7 @@
|
|
|
3709
3819
|
"corpusVersion": "1.0.0"
|
|
3710
3820
|
},
|
|
3711
3821
|
{
|
|
3712
|
-
"chunkIndex":
|
|
3822
|
+
"chunkIndex": 84,
|
|
3713
3823
|
"chunkKind": "recipe",
|
|
3714
3824
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan.widgets[1].inputs\",\"fragmentPath\":\"authoringPlan.widgets[1].inputs\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"componentId\":\"praxis-tabs\"},\"fragment\":{\"tabsId\":\"employee-dossier-tabs\",\"componentInstanceId\":\"employee-dossier-tabs\",\"configPersistenceStrategy\":\"input-first\",\"selectedIndex\":0}}",
|
|
3715
3825
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3719,7 +3829,7 @@
|
|
|
3719
3829
|
"corpusVersion": "1.0.0"
|
|
3720
3830
|
},
|
|
3721
3831
|
{
|
|
3722
|
-
"chunkIndex":
|
|
3832
|
+
"chunkIndex": 85,
|
|
3723
3833
|
"chunkKind": "recipe",
|
|
3724
3834
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan.widgets[1].inputs.config\",\"fragmentPath\":\"authoringPlan.widgets[1].inputs.config\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"componentId\":\"praxis-tabs\"},\"fragment\":{\"appearance\":{\"density\":\"comfortable\"},\"group\":{\"dynamicHeight\":true,\"fitInkBarToContent\":true,\"stretchTabs\":false,\"ariaLabel\":{\"key\":\"employeeOperations.dossier.ariaLabel\"}},\"behavior\":{\"lazyLoad\":true,\"reorderable\":false,\"closeable\":false}}}",
|
|
3725
3835
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3729,7 +3839,7 @@
|
|
|
3729
3839
|
"corpusVersion": "1.0.0"
|
|
3730
3840
|
},
|
|
3731
3841
|
{
|
|
3732
|
-
"chunkIndex":
|
|
3842
|
+
"chunkIndex": 86,
|
|
3733
3843
|
"chunkKind": "recipe",
|
|
3734
3844
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan.widgets[1].inputs.config.tabs\",\"fragmentPath\":\"authoringPlan.widgets[1].inputs.config.tabs\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"componentId\":\"praxis-tabs\"},\"fragment\":[{\"id\":\"dossier\",\"textLabel\":{\"key\":\"employeeOperations.dossier.tab.summary\"},\"icon\":\"badge\",\"widgets\":[{\"id\":\"praxis-rich-content\",\"childWidgetKey\":\"employee-dossier-context\",\"bindingOrder\":[\"document\",\"context\",\"layout\"],\"inputs\":{\"layout\":\"block\",\"context\":{\"selection\":{\"employee\":null}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"lookupResult\",\"titleExpr\":\"${selection.employee.nomeCompleto}\",\"subtitleExpr\":\"${selection.employee.cargoNome}\",\"status\":\"resolved\",\"meta\":{\"key\":\"employeeOperations.dossier.context.meta\"},\"fields\":[{\"label\":{\"key\":\"employeeOperations.portfolio.column.department\"},\"valueExpr\":\"${selection.employee.departamentoNome}\"},{\"label\":{\"key\":\"employeeOperations.dossier.context.employeeId\"},\"valueExpr\":\"${selection.employee.id}\"}]},{\"type\":\"callout\",\"visibleWhen\":{\"==\":[{\"var\":\"selection.employee\"},null]},\"tone\":\"info\",\"icon\":\"touch_app\",\"title\":{\"key\":\"employeeOperations.dossier.callout.title\"},\"message\":{\"key\":\"employeeOperations.dossier.callout.message\"}}]}}},{\"id\":\"praxis-dynamic-form\",\"childWidgetKey\":\"employee-dossier-form\",\"bindingOrder\":[\"formId\",\"componentInstanceId\",\"resourcePath\",\"resourceId\",\"mode\",\"config\"],\"inputs\":{\"formId\":\"employee-operations-dossier\",\"componentInstanceId\":\"employee-operations-dossier\",\"resourcePath\":\"human-resources/funcionarios\",\"resourceId\":null,\"mode\":\"view\",\"config\":{\"appearance\":{\"density\":\"comfortable\"}}},\"outputs\":{\"customAction\":\"emit\",\"initializationError\":\"emit\"}}]},{\"id\":\"payroll\",\"textLabel\":{\"key\":\"employeeOperations.dossier.tab.payroll\"},\"icon\":\"payments\",\"widgets\":[{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-payroll-history\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"payroll-history\",\"mode\":\"inline\",\"tableId\":\"employee-payroll-history\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.payroll.title\"},\"subtitle\":{\"key\":\"employeeOperations.payroll.subtitle\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":true,\"strategy\":\"server\",\"pageSize\":6,\"pageSizeOptions\":[6,12]}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"competencia\",\"salarioBruto\",\"totalDescontos\",\"salarioLiquido\",\"qtdEventos\",\"composicaoFolha\"],\"overrides\":{\"competencia\":{\"header\":{\"key\":\"employeeOperations.column.period\"},\"format\":\"MM/yyyy\",\"width\":\"120px\"},\"salarioBruto\":{\"header\":{\"key\":\"employeeOperations.column.gross\"},\"type\":\"currency\",\"format\":\"BRL|symbol|2\",\"align\":\"end\"},\"totalDescontos\":{\"header\":{\"key\":\"employeeOperations.column.discounts\"},\"type\":\"currency\",\"format\":\"BRL|symbol|2\",\"align\":\"end\"},\"salarioLiquido\":{\"header\":{\"key\":\"employeeOperations.column.net\"},\"type\":\"currency\",\"format\":\"BRL|symbol|2\",\"align\":\"end\"},\"qtdEventos\":{\"header\":{\"key\":\"employeeOperations.column.events\"},\"align\":\"center\",\"width\":\"100px\"},\"composicaoFolha\":{\"header\":{\"key\":\"employeeOperations.column.composition\"},\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"composicaoFolha\",\"variant\":\"soft\",\"color\":\"primary\"}}}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}}]},{\"id\":\"career\",\"textLabel\":{\"key\":\"employeeOperations.dossier.tab.career\"},\"icon\":\"trending_up\",\"widgets\":[{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-skills\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"skills\",\"mode\":\"inline\",\"tableId\":\"employee-skill-matrix\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.skills.title\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":false}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"habilidadeNome\",\"proficiencia\",\"origem\"],\"overrides\":{\"habilidadeNome\":{\"header\":{\"key\":\"employeeOperations.column.skill\"}},\"proficiencia\":{\"header\":{\"key\":\"employeeOperations.column.proficiency\"},\"renderer\":{\"type\":\"progress\",\"progress\":{\"valueExpr\":\"proficiencia\",\"color\":\"primary\",\"showLabel\":true}}},\"origem\":{\"header\":{\"key\":\"employeeOperations.column.origin\"},\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"origem\",\"variant\":\"outlined\",\"color\":\"accent\"}}}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}},{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-career-history\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"career-history\",\"mode\":\"inline\",\"tableId\":\"employee-career-history\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.career.title\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":false}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"cargoNome\",\"dataInicio\",\"dataFim\",\"observacoes\"],\"overrides\":{\"cargoNome\":{\"header\":{\"key\":\"employeeOperations.portfolio.column.role\"},\"sticky\":\"start\"},\"dataInicio\":{\"header\":{\"key\":\"employeeOperations.column.start\"}},\"dataFim\":{\"header\":{\"key\":\"employeeOperations.column.end\"}},\"observacoes\":{\"header\":{\"key\":\"employeeOperations.column.context\"}}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}}]},{\"id\":\"people\",\"textLabel\":{\"key\":\"employeeOperations.dossier.tab.people\"},\"icon\":\"family_restroom\",\"widgets\":[{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-dependents\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"dependents\",\"mode\":\"inline\",\"tableId\":\"employee-dependents\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.dependents.title\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":false}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"nomeCompleto\",\"parentesco\",\"dataNascimento\"],\"overrides\":{\"nomeCompleto\":{\"header\":{\"key\":\"employeeOperations.column.dependent\"},\"sticky\":\"start\"},\"parentesco\":{\"header\":{\"key\":\"employeeOperations.column.relationship\"},\"renderer\":{\"type\":\"chip\",\"chip\":{\"textField\":\"parentesco\",\"variant\":\"outlined\",\"color\":\"primary\"}}},\"dataNascimento\":{\"header\":{\"key\":\"employeeOperations.column.birthDate\"}}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}},{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-address\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"address\",\"mode\":\"inline\",\"tableId\":\"employee-address\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.address.title\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":false}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"logradouro\",\"numero\",\"cidade\",\"estado\",\"cep\"],\"overrides\":{\"logradouro\":{\"header\":{\"key\":\"employeeOperations.column.street\"},\"sticky\":\"start\"},\"numero\":{\"header\":{\"key\":\"employeeOperations.column.number\"},\"width\":\"100px\"},\"cidade\":{\"header\":{\"key\":\"employeeOperations.column.city\"}},\"estado\":{\"header\":\"UF\",\"width\":\"80px\"},\"cep\":{\"header\":\"CEP\",\"width\":\"120px\"}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}}]}]}",
|
|
3735
3845
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3739,7 +3849,7 @@
|
|
|
3739
3849
|
"corpusVersion": "1.0.0"
|
|
3740
3850
|
},
|
|
3741
3851
|
{
|
|
3742
|
-
"chunkIndex":
|
|
3852
|
+
"chunkIndex": 87,
|
|
3743
3853
|
"chunkKind": "recipe",
|
|
3744
3854
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan.widgets[1].inputs.config.tabs\",\"fragmentPath\":\"authoringPlan.widgets[1].inputs.config.tabs\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"componentId\":\"praxis-tabs\"},\"fragment\":[{\"id\":\"operations\",\"textLabel\":{\"key\":\"employeeOperations.dossier.tab.operations\"},\"icon\":\"hub\",\"widgets\":[{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-missions\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"mission-participations\",\"mode\":\"inline\",\"tableId\":\"employee-mission-participations\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.missions.title\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":true,\"strategy\":\"server\",\"pageSize\":5,\"pageSizeOptions\":[5,10]}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"missaoTitulo\",\"papel\",\"principal\",\"resultado\"],\"overrides\":{\"missaoTitulo\":{\"header\":{\"key\":\"employeeOperations.column.mission\"},\"sticky\":\"start\"},\"papel\":{\"header\":{\"key\":\"employeeOperations.column.assignment\"},\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"papel\",\"variant\":\"soft\",\"color\":\"primary\"}}},\"principal\":{\"header\":{\"key\":\"employeeOperations.column.leadership\"},\"format\":\"yes-no\",\"align\":\"center\"},\"resultado\":{\"header\":{\"key\":\"employeeOperations.column.result\"},\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"resultado\",\"variant\":\"outlined\",\"color\":\"accent\"}}}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}},{\"id\":\"praxis-related-resource-outlet\",\"childWidgetKey\":\"employee-equipment-custody\",\"bindingOrder\":[\"surfaceId\",\"parentResourcePath\",\"parentResourceId\",\"parentIdentity\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"equipment-custody\",\"mode\":\"inline\",\"tableId\":\"employee-equipment-custody\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":{\"key\":\"employeeOperations.equipment.title\"}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":false}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"equipamentoId\",\"status\",\"inicio\",\"fim\"],\"overrides\":{\"equipamentoId\":{\"header\":{\"key\":\"employeeOperations.column.equipment\"},\"sticky\":\"start\"},\"status\":{\"header\":{\"key\":\"employeeOperations.column.status\"},\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"status\",\"variant\":\"soft\",\"color\":\"accent\"}}},\"inicio\":{\"header\":{\"key\":\"employeeOperations.column.custodyStart\"}},\"fim\":{\"header\":{\"key\":\"employeeOperations.column.custodyEnd\"}}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}}]}]}",
|
|
3745
3855
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3749,7 +3859,7 @@
|
|
|
3749
3859
|
"corpusVersion": "1.0.0"
|
|
3750
3860
|
},
|
|
3751
3861
|
{
|
|
3752
|
-
"chunkIndex":
|
|
3862
|
+
"chunkIndex": 88,
|
|
3753
3863
|
"chunkKind": "recipe",
|
|
3754
3864
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan.widgets[1]\",\"fragmentPath\":\"authoringPlan.widgets[1]\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"componentId\":\"praxis-tabs\"},\"fragment\":{\"outputs\":{\"selectedIndexChange\":\"emit\"}}}",
|
|
3755
3865
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3759,7 +3869,7 @@
|
|
|
3759
3869
|
"corpusVersion": "1.0.0"
|
|
3760
3870
|
},
|
|
3761
3871
|
{
|
|
3762
|
-
"chunkIndex":
|
|
3872
|
+
"chunkIndex": 89,
|
|
3763
3873
|
"chunkKind": "recipe",
|
|
3764
3874
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan\",\"authoringPlan\":{\"selectionSyncs\":[{\"id\":\"employee-casework:selection\",\"intent\":\"selection-sync\",\"sources\":[{\"kind\":\"component-port\",\"widget\":\"employeePortfolio\",\"port\":\"rowClick\",\"direction\":\"output\"},{\"kind\":\"component-port\",\"widget\":\"employeePortfolio\",\"port\":\"rowAction\",\"direction\":\"output\"}],\"target\":{\"kind\":\"state\",\"path\":\"selection\",\"layer\":\"values\"},\"mapping\":{\"employeeId\":{\"path\":\"payload.row.id\",\"condition\":{\">\":[{\"var\":\"payload.row.id\"},0]}},\"employeeIdentity\":\"payload.resourceIdentity\",\"employee\":\"payload.row\"},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true,\"debounceMs\":50}}],\"bindings\":[{\"id\":\"employee-casework:state.employee->dossier-context.context\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"path\":\"selection.employee\",\"layer\":\"values\"},\"to\":{\"kind\":\"component-port\",\"widget\":\"employeeCaseTabs\",\"port\":\"context\",\"direction\":\"input\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"dossier\",\"index\":0},{\"kind\":\"widget\",\"key\":\"employee-dossier-context\",\"componentType\":\"praxis-rich-content\"}]},\"transform\":{\"kind\":\"template\",\"id\":\"employee-casework:employee-context\",\"template\":{\"selection\":{\"employee\":\"${source}\"}},\"inputSource\":\"state\"},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}}],\"contextScopes\":[{\"id\":\"employee-casework:dossier-parent\",\"context\":{\"parentResourcePath\":{\"kind\":\"constant\",\"value\":\"human-resources/funcionarios\"},\"parentResourceId\":{\"kind\":\"state\",\"path\":\"selection.employeeId\",\"layer\":\"values\",\"initial\":null,\"condition\":{\">\":[{\"var\":\"source\"},0]}},\"parentIdentity\":{\"kind\":\"state\",\"path\":\"selection.employeeIdentity\",\"layer\":\"values\"}},\"targets\":[{\"widget\":\"employeeCaseTabs\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"payroll\",\"index\":1},{\"kind\":\"widget\",\"key\":\"employee-payroll-history\",\"componentType\":\"praxis-related-resource-outlet\"}]},{\"widget\":\"employeeCaseTabs\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"career\",\"index\":2},{\"kind\":\"widget\",\"key\":\"employee-skills\",\"componentType\":\"praxis-related-resource-outlet\"}]},{\"widget\":\"employeeCaseTabs\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"career\",\"index\":2},{\"kind\":\"widget\",\"key\":\"employee-career-history\",\"componentType\":\"praxis-related-resource-outlet\"}]},{\"widget\":\"employeeCaseTabs\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"people\",\"index\":3},{\"kind\":\"widget\",\"key\":\"employee-dependents\",\"componentType\":\"praxis-related-resource-outlet\"}]},{\"widget\":\"employeeCaseTabs\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"people\",\"index\":3},{\"kind\":\"widget\",\"key\":\"employee-address\",\"componentType\":\"praxis-related-resource-outlet\"}]},{\"widget\":\"employeeCaseTabs\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"operations\",\"index\":4},{\"kind\":\"widget\",\"key\":\"employee-missions\",\"componentType\":\"praxis-related-resource-outlet\"}]},{\"widget\":\"employeeCaseTabs\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"operations\",\"index\":4},{\"kind\":\"widget\",\"key\":\"employee-equipment-custody\",\"componentType\":\"praxis-related-resource-outlet\"}]}],\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"employee-casework:dossier-summary\",\"context\":{\"resourceId\":{\"kind\":\"state\",\"path\":\"selection.employeeId\",\"layer\":\"values\",\"condition\":{\">\":[{\"var\":\"source\"},0]}}},\"targets\":[{\"widget\":\"employeeCaseTabs\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"dossier\",\"index\":0},{\"kind\":\"widget\",\"key\":\"employee-dossier-form\",\"componentType\":\"praxis-dynamic-form\"}],\"inherit\":[\"resourceId\"]}],\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}}]}}",
|
|
3765
3875
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3769,7 +3879,7 @@
|
|
|
3769
3879
|
"corpusVersion": "1.0.0"
|
|
3770
3880
|
},
|
|
3771
3881
|
{
|
|
3772
|
-
"chunkIndex":
|
|
3882
|
+
"chunkIndex": 90,
|
|
3773
3883
|
"chunkKind": "recipe",
|
|
3774
3884
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an HR performance review workbench using portable rich-content blocks for review signals, manager context and governed calibration actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"employee-performance-review-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an HR performance review workbench with review signals, calibration context and governed review actions.\",\"examplePrompts\":[\"create an HR performance review workbench\",\"show a governed performance review rich content surface\",\"generate a people operations page with review signals and calibration actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable HR performance review surface.\",\"hostMediation\":\"The host mediates employee, manager, calibration and escalation flows through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same review workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps review signals, selected employee context, manager ownership and governed review actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model review metrics with statGroup instead of host-authored review cards.\",\"Model the selected employee with lookupCard when the host already resolved the review context.\",\"Use tabs for summary and calibration views instead of host-authored review sections.\",\"Use relatedRecord, ctaGroup and actionCard for governed review and escalation actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"employeePerformanceReviewWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"military_tech\",\"title\":\"Performance review workbench\",\"subtitle\":\"Portable rich-content surface for governed HR review operations\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"employee-performance-review-workbench\",\"context\":{\"employee\":{\"id\":\"EMP-320\",\"name\":\"Rafaela Nunes\",\"role\":\"Senior Product Designer\",\"department\":\"Experience Design\",\"cycle\":\"Q2\",\"calibration\":\"2\",\"rating\":\"Exceeds\",\"promotionReadiness\":\"Stretch role ready\",\"reviewWindow\":\"3d\"},\"manager\":{\"name\":\"Marcos Lima\",\"department\":\"Design leadership\",\"reviewLane\":\"Design council\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"military_tech\",\"titleExpr\":\"${employee.name}\",\"message\":\"Use a portable HR performance review surface when the host must expose review signals, calibration context and governed actions without inventing people-ops templates.\"},{\"type\":\"statGroup\",\"title\":\"Review signals\",\"subtitle\":\"Canonical KPI block for performance review workbenches\",\"layout\":\"grid\",\"items\":[{\"label\":\"Cycle\",\"valueExpr\":\"${employee.cycle}\",\"captionExpr\":\"${employee.department}\",\"icon\":\"event\"},{\"label\":\"Calibration\",\"valueExpr\":\"${employee.calibration}\",\"captionExpr\":\"${employee.reviewWindow}\",\"icon\":\"balance\"},{\"label\":\"Rating\",\"valueExpr\":\"${employee.rating}\",\"captionExpr\":\"${employee.promotionReadiness}\",\"icon\":\"emoji_events\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected employee\",\"status\":\"resolved\",\"subtitleExpr\":\"${employee.name}\",\"metaExpr\":\"${employee.role}\",\"ctaLabel\":\"Open employee\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.review.employee.open\",\"payloadExpr\":\"${employee}\"},\"fields\":[{\"label\":\"Current rating\",\"valueExpr\":\"${employee.rating}\"},{\"label\":\"Promotion readiness\",\"valueExpr\":\"${employee.promotionReadiness}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.review.dossier.open\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"tabs\",\"title\":\"Review views\",\"subtitle\":\"Portable editorial tabs for review and calibration context.\",\"appearance\":\"underline\",\"defaultTabId\":\"summary\",\"items\":[{\"id\":\"summary\",\"label\":\"Summary\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Tabs keep review notes, promotion context and calibration rationale inside the same RichContentDocument.\"}]},{\"id\":\"calibration\",\"label\":\"Calibration\",\"icon\":\"tune\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Calibration rule\",\"value\":\"Escalate any rating change that requires council approval.\"},{\"label\":\"Evidence source\",\"valueExpr\":\"${employee.reviewWindow}\"},{\"label\":\"Portability rule\",\"value\":\"Keep review semantics in the rich-content document; keep execution in the host.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Review manager\",\"subtitleExpr\":\"${manager.name}\",\"relationLabel\":\"Manager\",\"metaExpr\":\"${manager.department}\",\"ctaLabel\":\"Open manager\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.review.manager.open\",\"payloadExpr\":\"${manager}\"},\"fields\":[{\"label\":\"Review lane\",\"valueExpr\":\"${manager.reviewLane}\",\"hint\":\"Resolved from the current review assignment.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Schedule calibration\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.review.manager.scheduleCalibration\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Review actions\",\"subtitle\":\"Governed HR review outcomes\",\"message\":\"Use semantic review actions instead of host-authored performance review button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Confirm review\",\"icon\":\"task_alt\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.review.confirm\",\"payloadExpr\":\"${employee}\"}},{\"type\":\"actionButton\",\"label\":\"Request calibration follow-up\",\"icon\":\"flag\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.review.calibration.followUp\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate review case\",\"subtitleExpr\":\"${employee.id}\",\"message\":\"Use actionCard when the HR host needs a governed escalation or calibration flow.\",\"metaExpr\":\"${employee.role}\",\"ctaLabel\":\"Escalate review\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.review.escalate\",\"payloadExpr\":\"${employee}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.review.dossier.open\",\"payloadExpr\":\"${employee}\"}}]}]}}}}]}}",
|
|
3775
3885
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-performance-review-workbench.json",
|
|
@@ -3779,7 +3889,7 @@
|
|
|
3779
3889
|
"corpusVersion": "1.0.0"
|
|
3780
3890
|
},
|
|
3781
3891
|
{
|
|
3782
|
-
"chunkIndex":
|
|
3892
|
+
"chunkIndex": 91,
|
|
3783
3893
|
"chunkKind": "recipe",
|
|
3784
3894
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an HR promotion review workbench using portable rich-content blocks for readiness signals, sponsor context and governed promotion actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"employee-promotion-review-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an HR promotion review workbench with readiness signals, sponsor context and governed promotion actions.\",\"examplePrompts\":[\"create an HR promotion review workbench\",\"show a governed promotion review rich content surface\",\"generate a people operations page with promotion signals and sponsor actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable HR promotion review surface.\",\"hostMediation\":\"The host mediates employee, sponsor, promotion planning and escalation flows through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same promotion review workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps promotion signals, selected employee context, sponsor ownership and governed promotion actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model promotion metrics with statGroup instead of host-authored readiness cards.\",\"Model the selected employee with lookupCard when the host already resolved the promotion context.\",\"Use tabs for summary and sponsor views instead of host-authored promotion sections.\",\"Use relatedRecord, ctaGroup and actionCard for governed promotion and escalation actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"employeePromotionReviewWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"north_star\",\"title\":\"Promotion review workbench\",\"subtitle\":\"Portable rich-content surface for governed HR promotion operations\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"employee-promotion-review-workbench\",\"context\":{\"employee\":{\"id\":\"EMP-512\",\"name\":\"Larissa Azevedo\",\"role\":\"Senior Platform Engineer\",\"department\":\"Platform engineering\",\"cycle\":\"Q2\",\"readiness\":\"Ready now\",\"targetRole\":\"Staff Platform Engineer\",\"impactSignal\":\"Cross-team platform leadership\",\"reviewWindow\":\"5d\"},\"sponsor\":{\"name\":\"Helena Souza\",\"department\":\"Leadership sponsor\",\"promotionLane\":\"Leadership council / role leveling\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"north_star\",\"titleExpr\":\"${employee.name}\",\"message\":\"Use a portable HR promotion review surface when the host must expose readiness signals, sponsor context and governed promotion actions without inventing people-ops templates.\"},{\"type\":\"statGroup\",\"title\":\"Promotion signals\",\"subtitle\":\"Canonical KPI block for promotion review workbenches\",\"layout\":\"grid\",\"items\":[{\"label\":\"Cycle\",\"valueExpr\":\"${employee.cycle}\",\"captionExpr\":\"${employee.department}\",\"icon\":\"event\"},{\"label\":\"Readiness\",\"valueExpr\":\"${employee.readiness}\",\"captionExpr\":\"${employee.reviewWindow}\",\"icon\":\"trending_up\"},{\"label\":\"Target role\",\"valueExpr\":\"${employee.targetRole}\",\"captionExpr\":\"${employee.impactSignal}\",\"icon\":\"north\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected employee\",\"status\":\"resolved\",\"subtitleExpr\":\"${employee.name}\",\"metaExpr\":\"${employee.role}\",\"ctaLabel\":\"Open employee\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.promotion.employee.open\",\"payloadExpr\":\"${employee}\"},\"fields\":[{\"label\":\"Target role\",\"valueExpr\":\"${employee.targetRole}\"},{\"label\":\"Impact signal\",\"valueExpr\":\"${employee.impactSignal}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.promotion.dossier.open\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"tabs\",\"title\":\"Promotion views\",\"subtitle\":\"Portable editorial tabs for promotion summary and sponsor context.\",\"appearance\":\"underline\",\"defaultTabId\":\"summary\",\"items\":[{\"id\":\"summary\",\"label\":\"Summary\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Tabs keep promotion notes, readiness signals and sponsor rationale inside the same RichContentDocument.\"}]},{\"id\":\"sponsor\",\"label\":\"Sponsor\",\"icon\":\"groups\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Promotion rule\",\"value\":\"Escalate any readiness change that requires panel approval or role leveling exception.\"},{\"label\":\"Evidence source\",\"valueExpr\":\"${employee.reviewWindow}\"},{\"label\":\"Portability rule\",\"value\":\"Keep promotion semantics in the rich-content document; keep execution in the host.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Promotion sponsor\",\"subtitleExpr\":\"${sponsor.name}\",\"relationLabel\":\"Sponsor\",\"metaExpr\":\"${sponsor.department}\",\"ctaLabel\":\"Open sponsor\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.promotion.sponsor.open\",\"payloadExpr\":\"${sponsor}\"},\"fields\":[{\"label\":\"Promotion lane\",\"valueExpr\":\"${sponsor.promotionLane}\",\"hint\":\"Resolved from the current promotion review assignment.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Schedule sponsor review\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.promotion.sponsor.scheduleReview\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Promotion actions\",\"subtitle\":\"Governed HR promotion outcomes\",\"message\":\"Use semantic promotion actions instead of host-authored readiness button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Confirm promotion plan\",\"icon\":\"task_alt\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.promotion.confirm\",\"payloadExpr\":\"${employee}\"}},{\"type\":\"actionButton\",\"label\":\"Request sponsor follow-up\",\"icon\":\"flag\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.promotion.sponsor.followUp\",\"payloadExpr\":\"${employee}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate promotion case\",\"subtitleExpr\":\"${employee.id}\",\"message\":\"Use actionCard when the HR host needs a governed promotion escalation or leveling exception flow.\",\"metaExpr\":\"${employee.role}\",\"ctaLabel\":\"Escalate promotion\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.promotion.escalate\",\"payloadExpr\":\"${employee}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.promotion.dossier.open\",\"payloadExpr\":\"${employee}\"}}]}]}}}}]}}",
|
|
3785
3895
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-promotion-review-workbench.json",
|
|
@@ -3789,7 +3899,7 @@
|
|
|
3789
3899
|
"corpusVersion": "1.0.0"
|
|
3790
3900
|
},
|
|
3791
3901
|
{
|
|
3792
|
-
"chunkIndex":
|
|
3902
|
+
"chunkIndex": 92,
|
|
3793
3903
|
"chunkKind": "recipe",
|
|
3794
3904
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an HR succession planning workbench using portable rich-content blocks for readiness signals, sponsor context and governed succession actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"employee-succession-planning-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an HR succession planning workbench with readiness signals, sponsor context and governed succession actions.\",\"examplePrompts\":[\"create an HR succession planning workbench\",\"show a governed succession planning rich content surface\",\"generate a people operations page with succession signals and sponsor actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable HR succession planning surface.\",\"hostMediation\":\"The host mediates role, sponsor, readiness planning and escalation flows through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same succession planning workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps succession signals, target role context, sponsor ownership and governed succession actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model succession metrics with statGroup instead of host-authored readiness cards.\",\"Model the target role with lookupCard when the host already resolved the succession planning context.\",\"Use tabs for summary and pipeline views instead of host-authored succession sections.\",\"Use relatedRecord, ctaGroup and actionCard for governed succession and escalation actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"employeeSuccessionPlanningWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"account_tree\",\"title\":\"Succession planning workbench\",\"subtitle\":\"Portable rich-content surface for governed HR succession planning\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"employee-succession-planning-workbench\",\"context\":{\"plan\":{\"role\":\"Principal Platform Lead\",\"incumbent\":\"Patricia Almeida\",\"bench\":\"2\",\"risk\":\"Moderate\",\"window\":\"90d\",\"readiness\":\"Ready in < 6 months\"},\"sponsor\":{\"name\":\"Helena Souza\",\"department\":\"Leadership sponsor\",\"lane\":\"Leadership council / critical roles\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"account_tree\",\"titleExpr\":\"${plan.role}\",\"message\":\"Use a portable HR succession planning surface when the host must expose readiness signals, sponsor context and governed succession actions without inventing people-ops templates.\"},{\"type\":\"statGroup\",\"title\":\"Succession signals\",\"subtitle\":\"Canonical KPI block for succession planning workbenches\",\"layout\":\"grid\",\"items\":[{\"label\":\"Bench\",\"valueExpr\":\"${plan.bench}\",\"caption\":\"Ready successors\",\"icon\":\"groups\"},{\"label\":\"Risk\",\"valueExpr\":\"${plan.risk}\",\"caption\":\"Coverage continuity\",\"icon\":\"warning\"},{\"label\":\"Window\",\"valueExpr\":\"${plan.window}\",\"caption\":\"Planning horizon\",\"icon\":\"schedule\"}]},{\"type\":\"lookupCard\",\"title\":\"Target role\",\"status\":\"resolved\",\"subtitleExpr\":\"${plan.role}\",\"meta\":\"Succession planning\",\"ctaLabel\":\"Open successor plan\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.succession.plan.open\",\"payloadExpr\":\"${plan}\"},\"fields\":[{\"label\":\"Current incumbent\",\"valueExpr\":\"${plan.incumbent}\"},{\"label\":\"Readiness\",\"valueExpr\":\"${plan.readiness}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.succession.dossier.open\",\"payloadExpr\":\"${plan}\"}}]},{\"type\":\"tabs\",\"title\":\"Succession views\",\"subtitle\":\"Portable editorial tabs for readiness summary and pipeline context.\",\"appearance\":\"underline\",\"defaultTabId\":\"summary\",\"items\":[{\"id\":\"summary\",\"label\":\"Summary\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Keep succession rationale, readiness notes and pipeline context inside the same RichContentDocument.\"}]},{\"id\":\"pipeline\",\"label\":\"Pipeline\",\"icon\":\"account_tree\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Planning rule\",\"value\":\"Escalate any succession gap with no ready-now successor or no sponsor alignment in the current cycle.\"},{\"label\":\"Evidence source\",\"value\":\"Performance history, promotion outlook and sponsor alignment notes.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Succession sponsor\",\"relationLabel\":\"Sponsor\",\"subtitleExpr\":\"${sponsor.name}\",\"metaExpr\":\"${sponsor.department}\",\"ctaLabel\":\"Open sponsor\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.succession.sponsor.open\",\"payloadExpr\":\"${sponsor}\"},\"fields\":[{\"label\":\"Planning lane\",\"valueExpr\":\"${sponsor.lane}\",\"hint\":\"Resolved from the current succession planning assignment.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Schedule sponsor sync\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.succession.sponsor.scheduleSync\",\"payloadExpr\":\"${plan}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Succession actions\",\"subtitle\":\"Governed HR succession outcomes\",\"message\":\"Use semantic succession actions instead of host-authored planning button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Confirm succession plan\",\"icon\":\"task_alt\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.succession.confirm\",\"payloadExpr\":\"${plan}\"}},{\"type\":\"actionButton\",\"label\":\"Request readiness follow-up\",\"icon\":\"sync\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.succession.readiness.followUp\",\"payloadExpr\":\"${plan}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate succession gap\",\"subtitleExpr\":\"${plan.role}\",\"message\":\"Use actionCard when the HR host needs a governed escalation for unresolved succession gaps or sponsor exceptions.\",\"metaExpr\":\"${plan.readiness}\",\"ctaLabel\":\"Escalate gap\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"hr.succession.escalate\",\"payloadExpr\":\"${plan}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"hr.succession.dossier.open\",\"payloadExpr\":\"${plan}\"}}]}]}}}}]}}",
|
|
3795
3905
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-succession-planning-workbench.json",
|
|
@@ -3799,7 +3909,7 @@
|
|
|
3799
3909
|
"corpusVersion": "1.0.0"
|
|
3800
3910
|
},
|
|
3801
3911
|
{
|
|
3802
|
-
"chunkIndex":
|
|
3912
|
+
"chunkIndex": 93,
|
|
3803
3913
|
"chunkKind": "recipe",
|
|
3804
3914
|
"content": "{\"_comment\":\"Recipe for agents to create a Praxis Dynamic Page with a governed files evidence upload flow.\",\"_comment2\":\"Use this when a page needs file intake, validation, metadata, quota/rate-limit feedback and upload lifecycle events.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"files-upload-evidence-flow\",\"status\":\"public-example\",\"useWhen\":\"Create a metadata-driven page that embeds praxis-files-upload as a governed evidence intake surface.\",\"examplePrompts\":[\"create a mission evidence upload page\",\"show praxis-files-upload with metadata and validation\",\"generate an evidence intake dynamic page with upload lifecycle events\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/files-upload owns validation, retry, quota, rate-limit and event semantics.\",\"hostBoundary\":\"The host owns the files API provided through baseUrl and must return the documented Praxis envelopes.\",\"angularRuntime\":\"@praxisui/core resolves praxis-files-upload and the support widgets from one Dynamic Page contract.\",\"publicExamples\":\"praxis-ui-landing-page exposes the live preview and inspector JSON.\",\"agentCorpus\":\"This recipe keeps agents on the supported config paths: ui, limits, options, bulk, quotas, rateLimit, headers and messages.\"},\"authoringGuidance\":[\"Use filesUploadId as a stable instance key for persistence and diagnostics.\",\"Set baseUrl explicitly to the host files API boundary.\",\"Use ui.accept for input hints and options.allowedExtensions plus options.acceptMimeTypes for backend validation.\",\"Use limits.maxFileSizeBytes, limits.maxFilesPerBulk and limits.maxBulkSizeBytes for client-side guards.\",\"Use manualUpload when metadata or review context should be completed before sending files.\",\"Do not use legacy keys such as maxFileSize, endpoint.uploadUrl, valueMode or texts on praxis-files-upload; valueMode belongs to the form field wrapper.\"],\"teaches\":[\"files-upload.evidence-flow\",\"files-upload.validation\",\"files-upload.backend-options\",\"files-upload.bulk-policy\",\"files-upload.rateLimit\",\"files-upload.quotas\",\"page.composition-links\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":2,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"missionEvidenceUpload\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"upload_file\",\"title\":\"Mission evidence intake\",\"subtitle\":\"Manual upload, metadata, validation and host API boundary\"},\"definition\":{\"id\":\"praxis-files-upload\",\"bindingOrder\":[\"filesUploadId\",\"baseUrl\",\"displayMode\",\"config\",\"context\"],\"inputs\":{\"filesUploadId\":\"mission-evidence-upload\",\"componentInstanceId\":\"dynamic-page-showcase\",\"baseUrl\":\"/api/files\",\"displayMode\":\"full\",\"enableCustomization\":true,\"context\":{\"resourceKey\":\"operations.missoes\",\"resourcePath\":\"operations/missoes\",\"evidenceScope\":\"mission-review\"},\"config\":{\"strategy\":\"direct\",\"ui\":{\"showDropzone\":true,\"accept\":[\"application/pdf\",\"image/png\",\"image/jpeg\",\".pdf\",\".png\",\".jpg\"],\"dense\":false,\"showConflictPolicySelector\":true,\"showMetadataForm\":true,\"showProgress\":true,\"manualUpload\":true,\"dropzone\":{\"expandOnDragProximity\":true,\"proximityPx\":96,\"expandMode\":\"inline\",\"expandHeight\":180,\"expandDebounceMs\":120},\"list\":{\"collapseAfter\":4,\"detailsMode\":\"card\",\"detailsShowTechnical\":true,\"detailsFields\":[\"id\",\"fileName\",\"contentType\",\"fileSize\",\"uploadedAt\",\"scanStatus\"]}},\"limits\":{\"maxFileSizeBytes\":10485760,\"maxFilesPerBulk\":6,\"maxBulkSizeBytes\":52428800},\"options\":{\"defaultConflictPolicy\":\"MAKE_UNIQUE\",\"strictValidation\":true,\"maxUploadSizeMb\":10,\"allowedExtensions\":[\"pdf\",\"png\",\"jpg\",\"jpeg\"],\"acceptMimeTypes\":[\"application/pdf\",\"image/png\",\"image/jpeg\"],\"targetDirectory\":\"mission-evidence\",\"enableVirusScanning\":true},\"bulk\":{\"failFast\":false,\"parallelUploads\":2,\"retryCount\":2,\"retryBackoffMs\":600},\"quotas\":{\"showQuotaWarnings\":true,\"blockOnExceed\":true},\"rateLimit\":{\"autoRetryOn429\":true,\"showBannerOn429\":true,\"maxAutoRetry\":2,\"baseBackoffMs\":1000},\"headers\":{\"tenantHeader\":\"X-Tenant-Id\",\"userHeader\":\"X-User-Id\"},\"messages\":{\"successSingle\":\"Evidence uploaded and ready for review.\",\"successBulk\":\"Evidence batch processed.\",\"errors\":{\"QUOTA_EXCEEDED\":\"Evidence quota reached for this mission.\",\"TIPO_ARQUIVO_INVALIDO\":\"Only PDF, PNG and JPEG evidence is accepted.\",\"FILE_TOO_LARGE\":\"Evidence file exceeds the 10 MB limit.\"}}}},\"outputs\":{\"uploadStart\":\"emit\",\"uploadProgress\":\"emit\",\"uploadSuccess\":\"emit\",\"bulkComplete\":\"emit\",\"error\":\"emit\",\"rateLimited\":\"emit\",\"pendingStateChange\":\"emit\",\"retry\":\"emit\",\"download\":\"emit\",\"copyLink\":\"emit\",\"detailsOpened\":\"emit\",\"detailsClosed\":\"emit\"}}}]}}",
|
|
3805
3915
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.files-upload-evidence-flow.json",
|
|
@@ -3809,7 +3919,7 @@
|
|
|
3809
3919
|
"corpusVersion": "1.0.0"
|
|
3810
3920
|
},
|
|
3811
3921
|
{
|
|
3812
|
-
"chunkIndex":
|
|
3922
|
+
"chunkIndex": 94,
|
|
3813
3923
|
"chunkKind": "recipe",
|
|
3814
3924
|
"content": "{\"_comment\":\"Template de pagina com formulario unico (Praxis Dynamic Page).\",\"_comment2\":\"resourcePath deve ser o path base do recurso (sem /filter).\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"form\",\"useWhen\":\"Create a dynamic page with a single form widget.\",\"examplePrompts\":[\"pagina com formulario\",\"crie uma pagina de formulario\",\"formulario de detalhes\"]},\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":2,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"mainForm\",\"definition\":{\"id\":\"praxis-dynamic-form\",\"bindingOrder\":[\"resourcePath\",\"formId\"],\"inputs\":{\"formId\":\"{{resourceKey}}-form\",\"resourcePath\":\"{{resourcePath}}\",\"mode\":\"view\"}}}]}}",
|
|
3815
3925
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.form.json",
|
|
@@ -3819,7 +3929,7 @@
|
|
|
3819
3929
|
"corpusVersion": "1.0.0"
|
|
3820
3930
|
},
|
|
3821
3931
|
{
|
|
3822
|
-
"chunkIndex":
|
|
3932
|
+
"chunkIndex": 95,
|
|
3823
3933
|
"chunkKind": "recipe",
|
|
3824
3934
|
"content": "{\"_comment\":\"Recipe for agents that need to author inline table filter fields through the canonical Praxis Metadata Editor.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"inline-filter-editorial-lab\",\"status\":\"public-example\",\"useWhen\":\"Create an authoring workspace for inline filter field metadata before generating praxis-table advancedFilters.\",\"examplePrompts\":[\"show an inline filter metadata authoring lab\",\"generate metadata editor examples for async select date range currency range and toggle filters\",\"teach agents how to author inline table filter fields\"]},\"platformValue\":{\"canonicalContract\":\"@praxisui/core owns inline filter control type tokens and aliases.\",\"editorialOwner\":\"@praxisui/metadata-editor maps inline filter control types to package-owned editor properties.\",\"runtimeConsumer\":\"@praxisui/table consumes the authored FieldDefinition metadata inside advancedFilters.\",\"publicExamples\":\"praxis-ui-landing-page exposes a copyable Dynamic Page contract that renders the metadata editor.\",\"agentCorpus\":\"This recipe pairs with praxis-dynamic-page.inline-filter-lab.json, which shows the runtime table filter surface.\"},\"authoringGuidance\":[\"Use praxis-metadata-editor when the goal is to author or inspect FieldDefinition metadata.\",\"Set controlType to package-owned inline filter tokens such as inlineAsyncSelect, inlineDateRange, inlineCurrencyRange and inlineToggle.\",\"Keep backend filter semantics in the published filter DTO; use metadata editor seeds for field presentation, option loading and inline behavior.\",\"For async selects, prefer resourcePath or the canonical option endpoint, plus displayField/valueField or optionLabelKey/optionValueKey.\",\"For range controls, include labels, bounds, locale/currency when relevant and inlineAutoSize constraints so the table toolbar remains stable.\",\"For boolean filters, use inlineToggle when the field should behave as a toolbar affordance rather than a long form field.\",\"After authoring metadata, place the resulting fields under praxis-table behavior.filtering.advancedFilters.settings.alwaysVisibleFieldMetadataOverrides.\"],\"teaches\":[\"metadata-editor.inline-filter-editorial\",\"inline-filter-control-types\",\"inlineAsyncSelect.editorial\",\"inlineDateRange.editorial\",\"inlineCurrencyRange.editorial\",\"inlineToggle.editorial\",\"praxis-tabs.nested-widgets\",\"table.filters.advancedFilters\"],\"companionRecipes\":[\"praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.inline-filter-lab.json\",\"praxis-ui-angular/examples/ai-recipes/praxis-field-metadata-editor.json\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"inlineFilterEditorialTabs\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"tune\",\"title\":\"Inline filter editorial lab\",\"subtitle\":\"Author filter field metadata before composing table advancedFilters\"},\"definition\":{\"id\":\"praxis-tabs\",\"bindingOrder\":[\"tabsId\",\"config\"],\"inputs\":{\"tabsId\":\"inline-filter-editorial-lab\",\"componentInstanceId\":\"dynamic-page-showcase\",\"config\":{\"appearance\":{\"density\":\"comfortable\",\"color\":\"primary\",\"stretchTabs\":false,\"alignTabs\":\"start\",\"dynamicHeight\":true,\"fitInkBarToContent\":true},\"tabs\":[{\"id\":\"async-select\",\"textLabel\":\"Async select\",\"icon\":\"manage_search\",\"widgets\":[{\"id\":\"praxis-metadata-editor\",\"bindingOrder\":[\"controlType\",\"seed\"],\"inputs\":{\"controlType\":\"inlineAsyncSelect\",\"seed\":{\"name\":\"cargoId\",\"label\":\"Cargo\",\"controlType\":\"inlineAsyncSelect\",\"placeholder\":\"Buscar cargo\",\"helpText\":\"Remote option filter for the funcionarios table toolbar.\",\"resourcePath\":\"human-resources/cargos\",\"endpoint\":\"/api/human-resources/cargos/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\",\"optionLabelKey\":\"label\",\"optionValueKey\":\"id\",\"minSearchLength\":2,\"validationDebounce\":250,\"inlineAutoSize\":{\"minWidth\":220,\"maxWidth\":320},\"clearButton\":{\"enabled\":true,\"showOnlyWhenFilled\":true}}},\"outputs\":{\"applied\":\"emit\",\"cancel\":\"emit\"}}]},{\"id\":\"date-range\",\"textLabel\":\"Date range\",\"icon\":\"date_range\",\"widgets\":[{\"id\":\"praxis-metadata-editor\",\"bindingOrder\":[\"controlType\",\"seed\"],\"inputs\":{\"controlType\":\"inlineDateRange\",\"seed\":{\"name\":\"dataAdmissaoRange\",\"label\":\"Admissao\",\"controlType\":\"inlineDateRange\",\"startLabel\":\"Inicio\",\"endLabel\":\"Fim\",\"placeholder\":\"Periodo de admissao\",\"helpText\":\"Date interval filter mapped to the published funcionarios filter DTO.\",\"minDate\":\"2020-01-01\",\"maxDate\":\"2026-12-31\",\"inlinePanelTitle\":\"Periodo de admissao\",\"inlineAutoSize\":{\"minWidth\":260,\"maxWidth\":380},\"clearButton\":{\"enabled\":true}}},\"outputs\":{\"applied\":\"emit\",\"cancel\":\"emit\"}}]},{\"id\":\"currency-range\",\"textLabel\":\"Currency range\",\"icon\":\"payments\",\"widgets\":[{\"id\":\"praxis-metadata-editor\",\"bindingOrder\":[\"controlType\",\"seed\"],\"inputs\":{\"controlType\":\"inlineCurrencyRange\",\"seed\":{\"name\":\"salarioBetween\",\"label\":\"Salario\",\"controlType\":\"inlineCurrencyRange\",\"startLabel\":\"Minimo\",\"endLabel\":\"Maximo\",\"placeholder\":\"Faixa salarial\",\"helpText\":\"Currency range filter with locale and bounds for payroll analysis.\",\"currency\":\"BRL\",\"currencyCode\":\"BRL\",\"locale\":\"pt-BR\",\"min\":0,\"max\":50000,\"step\":500,\"decimalPlaces\":2,\"inlineAutoSize\":{\"minWidth\":280,\"maxWidth\":420}}},\"outputs\":{\"applied\":\"emit\",\"cancel\":\"emit\"}}]},{\"id\":\"toggle\",\"textLabel\":\"Toggle\",\"icon\":\"toggle_on\",\"widgets\":[{\"id\":\"praxis-metadata-editor\",\"bindingOrder\":[\"controlType\",\"seed\"],\"inputs\":{\"controlType\":\"inlineToggle\",\"seed\":{\"name\":\"ativo\",\"label\":\"Ativos\",\"controlType\":\"inlineToggle\",\"defaultValue\":true,\"helpText\":\"Boolean filter that can be rendered as an action-style toolbar affordance.\",\"inlineLabelVisible\":true,\"trueLabel\":\"Ativos\",\"falseLabel\":\"Inativos\",\"indeterminateLabel\":\"Todos\",\"clearButton\":{\"enabled\":true},\"inlineAutoSize\":{\"minWidth\":128,\"maxWidth\":180}}},\"outputs\":{\"applied\":\"emit\",\"cancel\":\"emit\"}}]}]}},\"outputs\":{\"selectedIndexChange\":\"emit\"}}}]}}",
|
|
3825
3935
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.inline-filter-editorial-lab.json",
|
|
@@ -3829,7 +3939,7 @@
|
|
|
3829
3939
|
"corpusVersion": "1.0.0"
|
|
3830
3940
|
},
|
|
3831
3941
|
{
|
|
3832
|
-
"chunkIndex":
|
|
3942
|
+
"chunkIndex": 96,
|
|
3833
3943
|
"chunkKind": "recipe",
|
|
3834
3944
|
"content": "{\"_comment\":\"Recipe para agentes criarem uma Praxis Dynamic Page com filtros inline avancados em praxis-table.\",\"_comment2\":\"Use quando a meta for demonstrar o filter DTO publicado renderizado como controles inline no toolbar da tabela.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"inline-filter-lab\",\"status\":\"public-example\",\"useWhen\":\"Create a metadata-driven table page that pins filter DTO fields as inline toolbar controls.\",\"examplePrompts\":[\"crie uma tabela com filtros inline para funcionarios\",\"mostre filtros com async select, date range e currency range\",\"gere um exemplo de praxis-table com advancedFilters sempre visiveis\"]},\"platformValue\":{\"canonicalContract\":\"praxis-metadata-starter publishes the filter request schema used by praxis-filter.\",\"referenceApi\":\"praxis-api-quickstart serves funcionarios data and remote option endpoints.\",\"angularRuntime\":\"@praxisui/table hosts praxis-filter in the toolbar and wires filter events into remote table refresh.\",\"publicExamples\":\"praxis-ui-landing-page exposes the JSON envelope, runtime preview and coverage map.\",\"agentCorpus\":\"praxisui-http-examples provides executable schema and filter evidence.\"},\"operationalEvidence\":{\"baseUrl\":\"https://praxis-api-quickstart.onrender.com\",\"safeFirstIds\":[\"filtered-schema-request-funcionarios\",\"funcionarios-filter-basic\",\"cargos-options-filter\",\"departamentos-options-filter\"],\"pendingHttpIds\":[],\"httpExamples\":[\"praxisui-http-examples/http/metadata/filtered_schema_request_funcionarios.http\",\"praxisui-http-examples/http/resources/funcionarios_filter_basic.http\",\"praxisui-http-examples/http/resources/cargos_options_filter.http\",\"praxisui-http-examples/http/resources/departamentos_options_filter.http\"]},\"authoringGuidance\":[\"Use behavior.filtering.advancedFilters.settings to pin filter DTO fields in the table toolbar.\",\"Prefer alwaysVisibleFields that exist in the published filter request schema.\",\"Use alwaysVisibleFieldMetadataOverrides for presentation only; do not redefine backend filter semantics.\",\"Use package-owned inline control types such as inlineInput, inlineToggle, inlineAsyncSelect, inlineDateRange and inlineCurrencyRange.\",\"Keep option endpoints from the canonical x-ui metadata when using async select filters.\"],\"teaches\":[\"table.filters.advancedFilters\",\"dynamic-fields.inlineInput\",\"dynamic-fields.inlineToggle\",\"dynamic-fields.inlineAsyncSelect\",\"dynamic-fields.inlineDateRange\",\"dynamic-fields.inlineCurrencyRange\",\"remote-options\",\"filter.dto\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"funcionariosInlineFilterTable\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"filter_alt\",\"title\":\"Funcionarios inline filter lab\",\"subtitle\":\"Filter DTO rendered as toolbar controls\"},\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\"],\"inputs\":{\"resourcePath\":\"human-resources/funcionarios\",\"tableId\":\"human-resources-funcionarios-inline-filter-lab\",\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"Funcionarios\",\"subtitle\":\"Inline filter controls backed by the quickstart filter DTO\"},\"columns\":[{\"field\":\"nomeCompleto\",\"header\":\"Funcionario\",\"type\":\"text\",\"sticky\":\"start\",\"width\":\"220px\"},{\"field\":\"cargoNome\",\"header\":\"Cargo\",\"type\":\"chip\",\"width\":\"180px\"},{\"field\":\"departamentoNome\",\"header\":\"Departamento\",\"type\":\"badge\",\"width\":\"190px\"},{\"field\":\"estadoCivil\",\"header\":\"Estado Civil\",\"type\":\"badge\",\"width\":\"150px\"},{\"field\":\"salario\",\"header\":\"Salario\",\"type\":\"currency\",\"align\":\"end\",\"format\":{\"currency\":\"BRL\",\"locale\":\"pt-BR\"},\"width\":\"150px\"},{\"field\":\"dataAdmissao\",\"header\":\"Admissao\",\"type\":\"date\",\"format\":{\"dateStyle\":\"short\",\"locale\":\"pt-BR\"},\"width\":\"140px\"},{\"field\":\"ativo\",\"header\":\"Ativo\",\"type\":\"toggle\",\"align\":\"center\",\"width\":\"110px\"}],\"behavior\":{\"filtering\":{\"enabled\":true,\"strategy\":\"server\",\"debounceTime\":250,\"advancedFilters\":{\"enabled\":true,\"settings\":{\"mode\":\"filter\",\"showAdvanced\":true,\"allowSaveTags\":true,\"changeDebounceMs\":250,\"alwaysVisibleFields\":[\"nomeCompleto\",\"ativo\",\"cargoId\",\"departamentoId\",\"dataAdmissaoRange\",\"salarioBetween\",\"estadoCivil\"],\"selectedFieldIds\":[\"email\",\"telefone\"],\"placeBooleansInActions\":true,\"showToggleLabels\":true,\"alwaysMinWidth\":180,\"alwaysColsMd\":3,\"alwaysColsLg\":4,\"tagColor\":\"primary\",\"tagVariant\":\"outlined\",\"actionsButtonColor\":\"primary\",\"actionsVariant\":\"outlined\",\"useInlineSearchableSelectVariant\":true,\"useInlineDateRangeVariant\":true,\"useInlineRangeVariant\":true,\"overlayVariant\":\"card\",\"advancedOpenMode\":\"drawer\",\"advancedClearButtonsEnabled\":true,\"alwaysVisibleFieldMetadataOverrides\":{\"nomeCompleto\":{\"label\":\"Nome\",\"controlType\":\"inlineInput\",\"inlineAutoSize\":{\"minWidth\":220,\"maxWidth\":320},\"clearButton\":{\"enabled\":true,\"showOnlyWhenFilled\":true}},\"ativo\":{\"label\":\"Ativos\",\"controlType\":\"inlineToggle\",\"inlineAutoSize\":{\"minWidth\":112}},\"cargoId\":{\"label\":\"Cargo\",\"controlType\":\"inlineAsyncSelect\",\"endpoint\":\"/api/human-resources/cargos/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\",\"inlineAutoSize\":{\"minWidth\":190,\"maxWidth\":280}},\"departamentoId\":{\"label\":\"Departamento\",\"controlType\":\"inlineAsyncSelect\",\"endpoint\":\"/api/human-resources/departamentos/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\",\"inlineAutoSize\":{\"minWidth\":210,\"maxWidth\":320}},\"dataAdmissaoRange\":{\"label\":\"Admissao\",\"controlType\":\"inlineDateRange\",\"inlineAutoSize\":{\"minWidth\":260,\"maxWidth\":360}},\"salarioBetween\":{\"label\":\"Salario\",\"controlType\":\"inlineCurrencyRange\",\"currency\":\"BRL\",\"locale\":\"pt-BR\",\"inlineAutoSize\":{\"minWidth\":250,\"maxWidth\":360}},\"estadoCivil\":{\"label\":\"Estado Civil\",\"controlType\":\"inlineSelect\",\"inlineAutoSize\":{\"minWidth\":160,\"maxWidth\":240}}}}}},\"selection\":{\"enabled\":true,\"type\":\"single\"},\"density\":\"compact\"}}},\"outputs\":{\"rowClick\":\"emit\"}}}]}}",
|
|
3835
3945
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.inline-filter-lab.json",
|
|
@@ -3839,7 +3949,7 @@
|
|
|
3839
3949
|
"corpusVersion": "1.0.0"
|
|
3840
3950
|
},
|
|
3841
3951
|
{
|
|
3842
|
-
"chunkIndex":
|
|
3952
|
+
"chunkIndex": 97,
|
|
3843
3953
|
"chunkKind": "recipe",
|
|
3844
3954
|
"content": "{\"_comment\":\"Template base para Praxis Dynamic Page (praxis-dynamic-page) com variantes.\",\"_comment2\":\"resourcePath deve ser o path base do recurso (sem /filter).\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"base\",\"defaultVariantId\":\"base\",\"variants\":[{\"id\":\"base\",\"registryKey\":\"praxis-dynamic-page:base\",\"variantId\":\"base\",\"label\":\"Base (widget único)\",\"description\":\"Cria uma página com um único widget simples.\",\"useWhen\":\"Create a dynamic page with a single widget.\"},{\"id\":\"table\",\"registryKey\":\"praxis-dynamic-page:table\",\"variantId\":\"table\",\"label\":\"Tabela\",\"description\":\"Cria uma página com uma tabela simples.\",\"useWhen\":\"Create a dynamic page with a single table.\"},{\"id\":\"form\",\"registryKey\":\"praxis-dynamic-page:form\",\"variantId\":\"form\",\"label\":\"Formulário\",\"description\":\"Cria uma página com formulário de detalhes.\",\"useWhen\":\"Create a dynamic page with a single form.\"},{\"id\":\"visual-block-presets-form\",\"registryKey\":\"praxis-dynamic-page:visual-block-presets-form\",\"variantId\":\"visual-block-presets-form\",\"label\":\"Formulário com blocos visuais\",\"description\":\"Cria uma página com praxis-dynamic-form usando FormColumn.items para misturar campos da API e blocos visuais estáticos.\",\"useWhen\":\"Create a dynamic page form that interleaves API fields with static visual blocks authored from visual block presets.\"},{\"id\":\"list\",\"registryKey\":\"praxis-dynamic-page:list\",\"variantId\":\"list\",\"label\":\"Lista\",\"description\":\"Cria uma página com lista de registros.\",\"useWhen\":\"Create a dynamic page with a single list.\"},{\"id\":\"master-detail\",\"registryKey\":\"praxis-dynamic-page:master-detail\",\"variantId\":\"master-detail\",\"label\":\"Master-detail (tabela + formulário)\",\"description\":\"Cria página com tabela, formulário e contexto editorial governado com rich-content.\",\"useWhen\":\"Create a master-detail page with table, form and governed editorial action surfaces.\"},{\"id\":\"master-detail-address\",\"registryKey\":\"praxis-dynamic-page:master-detail-address\",\"variantId\":\"master-detail-address\",\"label\":\"Master-detail + endereços\",\"description\":\"Cria master-detail com lista de endereços e formulário de detalhes.\",\"useWhen\":\"Create a master-detail page with address list + detail form.\"},{\"id\":\"tabs\",\"registryKey\":\"praxis-dynamic-page:tabs\",\"variantId\":\"tabs\",\"label\":\"Tabs (lista + detalhes)\",\"description\":\"Cria uma página com abas e conteúdo interno.\",\"useWhen\":\"Create a dynamic page with tabs.\"},{\"id\":\"stepper\",\"registryKey\":\"praxis-dynamic-page:stepper\",\"variantId\":\"stepper\",\"label\":\"Stepper (wizard)\",\"description\":\"Cria uma página com fluxo em etapas.\",\"useWhen\":\"Create a dynamic page with a stepper wizard.\"},{\"id\":\"nested-path-showcase\",\"registryKey\":\"praxis-dynamic-page:nested-path-showcase\",\"variantId\":\"nested-path-showcase\",\"label\":\"NestedPath showcase\",\"description\":\"Cria uma página com tabela, lista, formulário, expansion, chart, stepper e editorial forms conectados por nestedPath.\",\"useWhen\":\"Create a dynamic page focused on canonical nested component ports.\"},{\"id\":\"crud\",\"registryKey\":\"praxis-dynamic-page:crud\",\"variantId\":\"crud\",\"label\":\"CRUD\",\"description\":\"Cria uma página com widget CRUD completo.\",\"useWhen\":\"Create a dynamic page with a CRUD widget.\"},{\"id\":\"employee-operations-casework\",\"registryKey\":\"praxis-dynamic-page:employee-operations-casework\",\"variantId\":\"employee-operations-casework\",\"label\":\"Employee operations casework\",\"description\":\"Cria um workspace enterprise de RH com CRUD rico, actions governadas, drawers e recursos relacionados em abas.\",\"useWhen\":\"Create a complex enterprise HR workbench with governed employee actions and related-resource tabs.\"}],\"useWhen\":\"Create a dynamic page layout, including governed editorial action surfaces when the page needs hosted rich-content context or domain workbenches such as approval decisions, approval reviews, approval audits, approval SLA triage workbenches, approval delegation exception workbenches, HR employee insights, HR performance reviews, HR compensation reviews, HR promotion reviews, HR offboarding reviews, HR succession planning workbenches, HR leave and absence tracking workbenches, HR internal mobility workbenches, onboarding journeys, onboarding readiness operations, onboarding manager follow-up workbenches, onboarding equipment/access recovery workbenches and onboarding day-30 coaching workbenches.\",\"examplePrompts\":[\"crie uma pagina com tabela e formulario conectados\",\"pagina master detail com tabela de funcionarios e formulario\",\"crie uma pagina dinamica com widgets conectados\",\"master-detail com enderecos\",\"pagina master-detail com rich-content e actionCard governado\",\"workbench de aprovacao com rich-content governado\",\"workbench de revisao de aprovacao com rich-content governado\",\"workbench de auditoria de aprovacao com rich-content governado\",\"workbench de triagem de sla de approval com rich-content governado\",\"workbench de excecao e delegacao de aprovacao com rich-content governado\",\"workbench de rh com rich-content governado\",\"workbench de performance review de rh com rich-content governado\",\"workbench de compensation review de rh com rich-content governado\",\"workbench de promotion review de rh com rich-content governado\",\"workbench de offboarding de rh com rich-content governado\",\"workbench de succession planning de rh com rich-content governado\",\"workbench de leave tracking de rh com rich-content governado\",\"workbench de mobilidade interna de rh com rich-content governado\",\"workbench de onboarding com rich-content governado\",\"workbench de readiness de onboarding com rich-content governado\",\"workbench de follow-up gerencial de onboarding com rich-content governado\",\"workbench de recuperacao de acessos e equipamentos de onboarding com rich-content governado\",\"workbench de coaching day-30 de onboarding com rich-content governado\"]},\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":2,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"mainTable\",\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\"],\"inputs\":{\"resourcePath\":\"{{resourcePath}}\",\"tableId\":\"{{resourceKey}}-table\",\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"{{resourceLabel}}\"}}},\"outputs\":{\"rowClick\":\"emit\"}}}]}}",
|
|
3845
3955
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.json",
|
|
@@ -3849,7 +3959,7 @@
|
|
|
3849
3959
|
"corpusVersion": "1.0.0"
|
|
3850
3960
|
},
|
|
3851
3961
|
{
|
|
3852
|
-
"chunkIndex":
|
|
3962
|
+
"chunkIndex": 98,
|
|
3853
3963
|
"chunkKind": "recipe",
|
|
3854
3964
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment\",\"_comment\":\"Recipe para agentes criarem uma Praxis Dynamic Page com formulario de lifecycle usando regras, validacao reativa e actions.\"}",
|
|
3855
3965
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -3859,7 +3969,7 @@
|
|
|
3859
3969
|
"corpusVersion": "1.0.0"
|
|
3860
3970
|
},
|
|
3861
3971
|
{
|
|
3862
|
-
"chunkIndex":
|
|
3972
|
+
"chunkIndex": 99,
|
|
3863
3973
|
"chunkKind": "recipe",
|
|
3864
3974
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment2\",\"_comment2\":\"Use quando a meta for mostrar conditionalDisplay, conditionalRequired, formRules e workflow fields em praxis-dynamic-form.\"}",
|
|
3865
3975
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -3869,7 +3979,7 @@
|
|
|
3869
3979
|
"corpusVersion": "1.0.0"
|
|
3870
3980
|
},
|
|
3871
3981
|
{
|
|
3872
|
-
"chunkIndex":
|
|
3982
|
+
"chunkIndex": 100,
|
|
3873
3983
|
"chunkKind": "recipe",
|
|
3874
3984
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"templateMeta\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"lifecycle-form\",\"status\":\"public-example\",\"useWhen\":\"Create a metadata-driven edit form with lifecycle rules and host-owned workflow fields.\",\"examplePrompts\":[\"crie um formulario com regras condicionais para funcionario\",\"mostre conditionalDisplay e conditionalRequired no dynamic form\",\"gere uma pagina de lifecycle com validacao reativa e actions\"]}}",
|
|
3875
3985
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -3879,7 +3989,7 @@
|
|
|
3879
3989
|
"corpusVersion": "1.0.0"
|
|
3880
3990
|
},
|
|
3881
3991
|
{
|
|
3882
|
-
"chunkIndex":
|
|
3992
|
+
"chunkIndex": 101,
|
|
3883
3993
|
"chunkKind": "recipe",
|
|
3884
3994
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"platformValue\",\"platformValue\":{\"canonicalContract\":\"praxis-metadata-starter publishes the funcionario resource contract; host workflow fields remain explicit UI state.\",\"referenceApi\":\"praxis-api-quickstart serves funcionario detail data, options and capabilities.\",\"angularRuntime\":\"@praxisui/dynamic-form applies sections, fieldMetadata, conditional rules, validation and action placement.\",\"publicExamples\":\"praxis-ui-landing-page exposes this envelope, runtime preview and feature coverage.\",\"agentCorpus\":\"This recipe teaches LLMs how to add lifecycle logic without redefining backend resource semantics.\"}}",
|
|
3885
3995
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -3889,7 +3999,7 @@
|
|
|
3889
3999
|
"corpusVersion": "1.0.0"
|
|
3890
4000
|
},
|
|
3891
4001
|
{
|
|
3892
|
-
"chunkIndex":
|
|
4002
|
+
"chunkIndex": 102,
|
|
3893
4003
|
"chunkKind": "recipe",
|
|
3894
4004
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"operationalEvidence\",\"operationalEvidence\":{\"baseUrl\":\"https://praxis-api-quickstart.onrender.com\",\"safeFirstIds\":[\"filtered-schema-response-funcionarios\",\"funcionarios-get-by-id\",\"cargos-options-filter\",\"departamentos-options-filter\"],\"pendingHttpIds\":[],\"httpExamples\":[\"praxisui-http-examples/http/metadata/filtered_schema_response_funcionarios.http\",\"praxisui-http-examples/http/resources/funcionarios_get_by_id.http\",\"praxisui-http-examples/http/resources/cargos_options_filter.http\",\"praxisui-http-examples/http/resources/departamentos_options_filter.http\"]}}",
|
|
3895
4005
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -3899,7 +4009,7 @@
|
|
|
3899
4009
|
"corpusVersion": "1.0.0"
|
|
3900
4010
|
},
|
|
3901
4011
|
{
|
|
3902
|
-
"chunkIndex":
|
|
4012
|
+
"chunkIndex": 103,
|
|
3903
4013
|
"chunkKind": "recipe",
|
|
3904
4014
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringGuidance\",\"authoringGuidance\":[\"Keep persisted resource fields aligned to the published response schema.\",\"Use host-owned workflow fields for lifecycle decisions that are not part of the canonical resource DTO.\",\"Use conditionalDisplay and conditionalRequired for field-level rules.\",\"Use formRules for section, row, column, action or field property patches driven by form state.\",\"Use behavior.reactiveValidation or inputs.reactiveValidation when rules should re-evaluate during editing.\",\"Use asyncSelect with canonical option endpoints for assignment changes.\"]}",
|
|
3905
4015
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -3909,7 +4019,7 @@
|
|
|
3909
4019
|
"corpusVersion": "1.0.0"
|
|
3910
4020
|
},
|
|
3911
4021
|
{
|
|
3912
|
-
"chunkIndex":
|
|
4022
|
+
"chunkIndex": 104,
|
|
3913
4023
|
"chunkKind": "recipe",
|
|
3914
4024
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"teaches\",\"teaches\":[\"dynamic-form.conditionalDisplay\",\"dynamic-form.conditionalRequired\",\"dynamic-form.formRules\",\"dynamic-form.reactiveValidation\",\"dynamic-form.actions.custom\",\"dynamic-fields.asyncSelect\",\"dynamic-fields.currency\",\"remote-options\",\"host-workflow-fields\"]}",
|
|
3915
4025
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -3919,7 +4029,7 @@
|
|
|
3919
4029
|
"corpusVersion": "1.0.0"
|
|
3920
4030
|
},
|
|
3921
4031
|
{
|
|
3922
|
-
"chunkIndex":
|
|
4032
|
+
"chunkIndex": 105,
|
|
3923
4033
|
"chunkKind": "recipe",
|
|
3924
4034
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"funcionarioLifecycleForm\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"rule\",\"title\":\"Funcionario lifecycle\",\"subtitle\":\"Rules, validations and workflow-only fields\"},\"definition\":{\"id\":\"praxis-dynamic-form\",\"bindingOrder\":[\"config\",\"resourcePath\",\"formId\",\"resourceId\",\"initialValue\"],\"inputs\":{\"formId\":\"human-resources-funcionarios-lifecycle\",\"resourcePath\":\"human-resources/funcionarios\",\"resourceId\":1,\"mode\":\"edit\",\"reactiveValidation\":true,\"reactiveValidationDebounceMs\":200,\"initialValue\":{\"lifecycleAction\":\"UPDATE_ASSIGNMENT\",\"keepPayrollActive\":true},\"config\":{\"metadata\":{\"name\":\"Funcionario lifecycle workflow\",\"version\":\"1.0.0\"},\"behavior\":{\"reactiveValidation\":true,\"reactiveValidationDebounceMs\":200},\"sections\":[{\"id\":\"current-state\",\"title\":\"Current state\",\"description\":\"Read the current employee data before choosing a lifecycle path.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"current-state-row\",\"columns\":[{\"id\":\"current-identity\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"nomeCompleto\",\"email\",\"ativo\"]},{\"id\":\"current-assignment\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"cargoId\",\"departamentoId\",\"salario\"]}]}]},{\"id\":\"workflow-decision\",\"title\":\"Lifecycle decision\",\"description\":\"Host-owned workflow fields drive conditional display and validation.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"decision-row-1\",\"columns\":[{\"id\":\"decision-main\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"lifecycleAction\",\"effectiveDate\"]},{\"id\":\"decision-flags\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"keepPayrollActive\",\"requiresManagerApproval\"]}]}]},{\"id\":\"assignment-change\",\"title\":\"Assignment change\",\"description\":\"Only required when the selected lifecycle path changes assignment.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"assignment-change-row\",\"columns\":[{\"id\":\"assignment-change-main\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"newCargoId\",\"newDepartamentoId\"]},{\"id\":\"assignment-change-payroll\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"newSalary\",\"assignmentReason\"]}]}]},{\"id\":\"deactivation\",\"title\":\"Deactivation\",\"description\":\"Visible only for deactivation requests.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"deactivation-row\",\"columns\":[{\"id\":\"deactivation-main\",\"fields\":[\"deactivationReason\",\"deactivationNotes\"]}]}]}],\"fieldMetadata\":[{\"name\":\"nomeCompleto\",\"label\":\"Nome Completo\",\"controlType\":\"input\",\"readonly\":true,\"validators\":{\"required\":true,\"maxLength\":160}},{\"name\":\"email\",\"label\":\"Email\",\"controlType\":\"email\",\"readonly\":true,\"validators\":{\"email\":true}},{\"name\":\"ativo\",\"label\":\"Ativo\",\"controlType\":\"toggle\",\"readonly\":true},{\"name\":\"cargoId\",\"label\":\"Cargo atual\",\"controlType\":\"asyncSelect\",\"endpoint\":\"/api/human-resources/cargos/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\",\"readonly\":true},{\"name\":\"departamentoId\",\"label\":\"Departamento atual\",\"controlType\":\"asyncSelect\",\"endpoint\":\"/api/human-resources/departamentos/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\",\"readonly\":true},{\"name\":\"salario\",\"label\":\"Salario atual\",\"controlType\":\"currency\",\"currencyCode\":\"BRL\",\"locale\":\"pt-BR\",\"readonly\":true},{\"name\":\"lifecycleAction\",\"label\":\"Lifecycle action\",\"controlType\":\"select\",\"validators\":{\"required\":true},\"options\":[{\"label\":\"Update assignment\",\"value\":\"UPDATE_ASSIGNMENT\"},{\"label\":\"Promote\",\"value\":\"PROMOTE\"},{\"label\":\"Deactivate\",\"value\":\"DEACTIVATE\"}]},{\"name\":\"effectiveDate\",\"label\":\"Effective date\",\"controlType\":\"date\",\"validators\":{\"required\":true}},{\"name\":\"keepPayrollActive\",\"label\":\"Keep payroll active\",\"controlType\":\"toggle\",\"conditionalDisplay\":{\"!=\":[{\"var\":\"lifecycleAction\"},\"DEACTIVATE\"]}},{\"name\":\"requiresManagerApproval\",\"label\":\"Requires manager approval\",\"controlType\":\"checkbox\",\"conditionalDisplay\":{\"or\":[{\"==\":[{\"var\":\"lifecycleAction\"},\"PROMOTE\"]},{\"==\":[{\"var\":\"lifecycleAction\"},\"DEACTIVATE\"]}]},\"conditionalRequired\":{\"or\":[{\"==\":[{\"var\":\"lifecycleAction\"},\"PROMOTE\"]},{\"==\":[{\"var\":\"lifecycleAction\"},\"DEACTIVATE\"]}]}},{\"name\":\"newCargoId\",\"label\":\"New cargo\",\"controlType\":\"asyncSelect\",\"endpoint\":\"/api/human-resources/cargos/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\",\"conditionalDisplay\":{\"or\":[{\"==\":[{\"var\":\"lifecycleAction\"},\"UPDATE_ASSIGNMENT\"]},{\"==\":[{\"var\":\"lifecycleAction\"},\"PROMOTE\"]}]},\"conditionalRequired\":{\"or\":[{\"==\":[{\"var\":\"lifecycleAction\"},\"UPDATE_ASSIGNMENT\"]},{\"==\":[{\"var\":\"lifecycleAction\"},\"PROMOTE\"]}]}},{\"name\":\"newDepartamentoId\",\"label\":\"New departamento\",\"controlType\":\"asyncSelect\",\"endpoint\":\"/api/human-resources/departamentos/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\",\"conditionalDisplay\":{\"or\":[{\"==\":[{\"var\":\"lifecycleAction\"},\"UPDATE_ASSIGNMENT\"]},{\"==\":[{\"var\":\"lifecycleAction\"},\"PROMOTE\"]}]},\"conditionalRequired\":{\"==\":[{\"var\":\"lifecycleAction\"},\"UPDATE_ASSIGNMENT\"]}},{\"name\":\"newSalary\",\"label\":\"New salary\",\"controlType\":\"currency\",\"currencyCode\":\"BRL\",\"locale\":\"pt-BR\",\"validators\":{\"min\":0},\"conditionalDisplay\":{\"==\":[{\"var\":\"lifecycleAction\"},\"PROMOTE\"]},\"conditionalRequired\":{\"==\":[{\"var\":\"lifecycleAction\"},\"PROMOTE\"]}},{\"name\":\"assignmentReason\",\"label\":\"Assignment reason\",\"controlType\":\"textarea\",\"rows\":3,\"validators\":{\"minLength\":12,\"maxLength\":500},\"conditionalDisplay\":{\"or\":[{\"==\":[{\"var\":\"lifecycleAction\"},\"UPDATE_ASSIGNMENT\"]},{\"==\":[{\"var\":\"lifecycleAction\"},\"PROMOTE\"]}]},\"conditionalRequired\":{\"or\":[{\"==\":[{\"var\":\"lifecycleAction\"},\"UPDATE_ASSIGNMENT\"]},{\"==\":[{\"var\":\"lifecycleAction\"},\"PROMOTE\"]}]}},{\"name\":\"deactivationReason\",\"label\":\"Deactivation reason\",\"controlType\":\"select\",\"options\":[{\"label\":\"Contract ended\",\"value\":\"CONTRACT_ENDED\"},{\"label\":\"Transferred\",\"value\":\"TRANSFERRED\"},{\"label\":\"Security hold\",\"value\":\"SECURITY_HOLD\"}],\"conditionalDisplay\":{\"==\":[{\"var\":\"lifecycleAction\"},\"DEACTIVATE\"]},\"conditionalRequired\":{\"==\":[{\"var\":\"lifecycleAction\"},\"DEACTIVATE\"]}},{\"name\":\"deactivationNotes\",\"label\":\"Deactivation notes\",\"controlType\":\"textarea\",\"rows\":4,\"validators\":{\"minLength\":20,\"maxLength\":800},\"conditionalDisplay\":{\"==\":[{\"var\":\"lifecycleAction\"},\"DEACTIVATE\"]},\"conditionalRequired\":{\"==\":[{\"var\":\"lifecycleAction\"},\"DEACTIVATE\"]}}],\"formRules\":[{\"id\":\"deactivation-hides-assignment-change\",\"name\":\"Deactivation hides assignment change section\",\"targetType\":\"section\",\"targetId\":\"assignment-change\",\"condition\":{\"==\":[{\"var\":\"lifecycleAction\"},\"DEACTIVATE\"]},\"effect\":{\"propertiesWhenTrue\":{\"visible\":false},\"propertiesWhenFalse\":{\"visible\":true}}},{\"id\":\"assignment-path-hides-deactivation-section\",\"name\":\"Assignment paths hide deactivation section\",\"targetType\":\"section\",\"targetId\":\"deactivation\",\"condition\":{\"==\":[{\"var\":\"lifecycleAction\"},\"DEACTIVATE\"]},\"effect\":{\"propertiesWhenTrue\":{\"visible\":true},\"propertiesWhenFalse\":{\"visible\":false}}}],\"actions\":{\"submit\":{\"id\":\"submit-lifecycle-request\",\"label\":\"Submit request\",\"icon\":\"send\",\"color\":\"primary\",\"visible\":true,\"type\":\"submit\"},\"cancel\":{\"id\":\"cancel-lifecycle\",\"label\":\"Cancel\",\"icon\":\"close\",\"visible\":true,\"type\":\"button\"},\"reset\":{\"id\":\"reset-lifecycle\",\"label\":\"Reset workflow\",\"visible\":true,\"type\":\"reset\"},\"custom\":[{\"id\":\"preview-policy\",\"label\":\"Preview policy\",\"icon\":\"policy\",\"visible\":true,\"action\":\"previewPolicy\"}],\"position\":\"right\",\"placement\":\"afterSections\",\"spacing\":\"normal\"}}}}}]}}",
|
|
3925
4035
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -3929,7 +4039,7 @@
|
|
|
3929
4039
|
"corpusVersion": "1.0.0"
|
|
3930
4040
|
},
|
|
3931
4041
|
{
|
|
3932
|
-
"chunkIndex":
|
|
4042
|
+
"chunkIndex": 106,
|
|
3933
4043
|
"chunkKind": "recipe",
|
|
3934
4044
|
"content": "{\"_comment\":\"Template de pagina com lista unica (Praxis Dynamic Page).\",\"_comment2\":\"resourcePath deve ser o path base do recurso (sem /filter).\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"list\",\"useWhen\":\"Create a dynamic page with a single list widget.\",\"examplePrompts\":[\"pagina com lista\",\"crie uma lista simples\",\"lista de registros\"]},\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":2,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"mainList\",\"definition\":{\"id\":\"praxis-list\",\"inputs\":{\"listId\":\"{{resourceKey}}-list\",\"config\":{\"dataSource\":{\"resourcePath\":\"{{resourcePath}}\"},\"layout\":{\"variant\":\"list\",\"lines\":2,\"dividers\":\"between\",\"pageSize\":10}}},\"outputs\":{\"itemClick\":\"emit\",\"selectionChange\":\"emit\"}}}]}}",
|
|
3935
4045
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.list.json",
|
|
@@ -3939,7 +4049,7 @@
|
|
|
3939
4049
|
"corpusVersion": "1.0.0"
|
|
3940
4050
|
},
|
|
3941
4051
|
{
|
|
3942
|
-
"chunkIndex":
|
|
4052
|
+
"chunkIndex": 107,
|
|
3943
4053
|
"chunkKind": "recipe",
|
|
3944
4054
|
"content": "{\"_comment\":\"Template master-detail com lista de enderecos e formulario de detalhe.\",\"_comment2\":\"resourcePath deve ser o path base do recurso (sem /filter).\",\"_comment3\":\"A lista de enderecos usa dataSource.query para filtrar pelo campo de relacao.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"master-detail-address\",\"label\":\"Master-detail + enderecos (lista + formulario)\",\"description\":\"Cria tabela e formulario do recurso principal e adiciona lista+form de enderecos relacionados.\",\"useWhen\":\"Create a master-detail page with address list + address detail form.\",\"examplePrompts\":[\"master-detail com lista de enderecos\",\"tabela funcionarios com detalhes e enderecos\",\"master detail + enderecos\"]},\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":2,\"gap\":\"16px\"},\"widgets\":[{\"_comment\":\"Tabela principal (master). Colunas sao geradas dinamicamente.\",\"key\":\"masterTable\",\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\"],\"inputs\":{\"resourcePath\":\"{{resourcePath}}\",\"tableId\":\"{{resourceKey}}-master\",\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"{{resourceLabel}}\"},\"behavior\":{\"selection\":{\"enabled\":true,\"type\":\"single\"}}}},\"outputs\":{\"rowClick\":\"emit\"}}},{\"_comment\":\"Formulario de detalhes do recurso principal.\",\"key\":\"detailForm\",\"definition\":{\"id\":\"praxis-dynamic-form\",\"bindingOrder\":[\"resourcePath\",\"formId\",\"resourceId\"],\"inputs\":{\"formId\":\"{{resourceKey}}-detail-view\",\"resourcePath\":\"{{resourcePath}}\",\"mode\":\"view\"}}},{\"_comment\":\"Lista de enderecos em cards. O filtro sera preenchido pela relacao.\",\"key\":\"addressList\",\"definition\":{\"id\":\"praxis-list\",\"inputs\":{\"listId\":\"{{resourceKey}}-address-list\",\"config\":{\"dataSource\":{\"resourcePath\":\"{{addressResourcePath}}\",\"query\":{}},\"layout\":{\"variant\":\"cards\",\"lines\":2,\"dividers\":\"between\",\"pageSize\":6},\"selection\":{\"mode\":\"single\",\"return\":\"id\",\"compareBy\":\"id\"}}},\"outputs\":{\"selectionChange\":\"emit\",\"itemClick\":\"emit\"}}},{\"_comment\":\"Formulario de detalhes do endereco selecionado.\",\"key\":\"addressForm\",\"definition\":{\"id\":\"praxis-dynamic-form\",\"bindingOrder\":[\"resourcePath\",\"formId\",\"resourceId\"],\"inputs\":{\"formId\":\"{{resourceKey}}-address-detail\",\"resourcePath\":\"{{addressResourcePath}}\",\"mode\":\"view\"}}}],\"connections\":[{\"_comment\":\"Seleciona registro principal no formulario.\",\"from\":{\"widget\":\"masterTable\",\"output\":\"rowClick\"},\"to\":{\"widget\":\"detailForm\",\"input\":\"resourceId\"},\"map\":\"payload.row.{{idField}}\"},{\"_comment\":\"Filtra a lista de enderecos pelo campo de relacao.\",\"from\":{\"widget\":\"masterTable\",\"output\":\"rowClick\"},\"to\":{\"widget\":\"addressList\",\"input\":\"inputs.config.dataSource.query\"},\"map\":\"{\\\"{{relationField}}\\\":\\\"${payload.row.{{idField}}}\\\"}\"},{\"_comment\":\"Quando selecionar um endereco, abre detalhes no formulario.\",\"from\":{\"widget\":\"addressList\",\"output\":\"selectionChange\"},\"to\":{\"widget\":\"addressForm\",\"input\":\"resourceId\"},\"map\":\"payload.value\"}]}}",
|
|
3945
4055
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.master-detail-address.json",
|
|
@@ -3949,7 +4059,7 @@
|
|
|
3949
4059
|
"corpusVersion": "1.0.0"
|
|
3950
4060
|
},
|
|
3951
4061
|
{
|
|
3952
|
-
"chunkIndex":
|
|
4062
|
+
"chunkIndex": 108,
|
|
3953
4063
|
"chunkKind": "recipe",
|
|
3954
4064
|
"content": "{\"_comment\":\"Template master-detail para Praxis Dynamic Page.\",\"_comment2\":\"resourcePath deve ser o path base do recurso (sem /filter).\",\"_comment3\":\"Tabela e formulario podem gerar campos dinamicamente via resourcePath (nao defina columns/sections se nao precisar).\",\"_comment4\":\"Rich content hospedado pela pagina pode expor contexto editorial e actions mediadas por host, mas hostCapabilities nunca deve ser serializado no JSON persistido.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"master-detail\",\"useWhen\":\"Create a master-detail page with table, detail form and hosted editorial guidance.\",\"examplePrompts\":[\"pagina master detail de funcionarios\",\"criar tabela + formulario com detalhes\",\"conectar tabela ao formulario de detalhes\",\"adicionar contexto editorial governado por rich content em uma pagina master-detail\"]},\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":3,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"masterTable\",\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\"],\"inputs\":{\"resourcePath\":\"{{resourcePath}}\",\"tableId\":\"{{resourceKey}}-master\",\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"{{resourceLabel}}\"},\"behavior\":{\"selection\":{\"enabled\":true,\"type\":\"single\"}}}},\"outputs\":{\"rowClick\":\"emit\"}}},{\"key\":\"detailForm\",\"definition\":{\"id\":\"praxis-dynamic-form\",\"bindingOrder\":[\"resourcePath\",\"formId\",\"resourceId\",\"config\"],\"inputs\":{\"formId\":\"{{resourceKey}}-detail-view\",\"resourcePath\":\"{{resourcePath}}\",\"mode\":\"view\",\"config\":{\"formBlocksBefore\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"rule\",\"title\":\"Formulario metadata-driven\",\"message\":\"Use blocos rich-content para contexto, politicas e operacoes auxiliares. O payload persistido continua sendo o do formulario.\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Abrir detalhes\",\"icon\":\"open_in_new\",\"variant\":\"stroked\",\"color\":\"primary\",\"action\":{\"actionId\":\"openDetails\",\"payload\":{\"source\":\"dynamic-page-master-detail\",\"widgetKey\":\"detailForm\"}}}]},{\"type\":\"disclosure\",\"title\":\"Bloco dependente de capability de edicao\",\"subtitle\":\"O host do dynamic form decide se este conteudo aparece\",\"appearance\":\"card\",\"requiresCapabilities\":[\"form.mode.edit\"],\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Capability gate\",\"value\":\"form.mode.edit\"},{\"label\":\"Regra de persistencia\",\"value\":\"Nao serializar hostCapabilities no config do formulario\"}]}]}]}}},\"outputs\":{\"customAction\":\"emit\"}}},{\"key\":\"detailGuide\",\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\"],\"inputs\":{\"context\":{\"workspace\":{\"resourceLabel\":\"{{resourceLabel}}\",\"selectionFlow\":\"rowClick -> resourceId\",\"runtimeRule\":\"hostCapabilities sao apenas runtime do host\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"recordSummary\",\"title\":\"Master-detail governed by configuration\",\"subtitleExpr\":\"${workspace.resourceLabel}\",\"meta\":\"praxis-dynamic-page\",\"fields\":[{\"label\":\"Selection flow\",\"valueExpr\":\"${workspace.selectionFlow}\"},{\"label\":\"Runtime note\",\"valueExpr\":\"${workspace.runtimeRule}\"}]},{\"type\":\"statGroup\",\"title\":\"Workspace signals\",\"subtitle\":\"Portable summary blocks alongside the master-detail flow\",\"layout\":\"inline\",\"items\":[{\"label\":\"Selection flow\",\"value\":\"1\",\"captionExpr\":\"${workspace.selectionFlow}\",\"icon\":\"swap_horiz\"},{\"label\":\"Runtime contract\",\"value\":\"host\",\"captionExpr\":\"${workspace.runtimeRule}\",\"icon\":\"verified_user\"}]},{\"type\":\"tabs\",\"title\":\"Workspace views\",\"subtitle\":\"Canonical editorial tabs hosted alongside the table and detail form.\",\"appearance\":\"pills\",\"defaultTabId\":\"overview\",\"items\":[{\"id\":\"overview\",\"label\":\"Overview\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Use tabs when the same portable rich-content document needs multiple editorial panels near the master-detail flow.\"}]},{\"id\":\"runtime\",\"label\":\"Runtime\",\"icon\":\"verified_user\",\"badge\":\"Host\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Selection flow\",\"valueExpr\":\"${workspace.selectionFlow}\"},{\"label\":\"Runtime rule\",\"valueExpr\":\"${workspace.runtimeRule}\"},{\"label\":\"Persistence rule\",\"value\":\"hostCapabilities stay outside persisted page JSON.\"}]}]}]},{\"type\":\"ctaGroup\",\"title\":\"Next steps\",\"subtitle\":\"Governed actions for the selected record\",\"message\":\"Cluster primary and secondary host-mediated actions without inventing page-specific markup.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Open selected funcionario\",\"icon\":\"open_in_new\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"openDetails\",\"payload\":{\"source\":\"dynamic-page-master-detail\",\"widgetKey\":\"detailGuide\",\"resourceKey\":\"{{resourceKey}}\"}}},{\"type\":\"actionButton\",\"label\":\"Inspecionar workspace\",\"icon\":\"manage_search\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"inspectMasterDetailWorkspace\",\"payload\":{\"resourceKey\":\"{{resourceKey}}\"}}}]},{\"type\":\"emptyState\",\"icon\":\"integration_instructions\",\"title\":\"Use hosted editorial actions for auxiliary flows\",\"message\":\"O widget rich-content pode acionar fluxos governados pelo host sem misturar handlers no documento.\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Inspecionar workspace\",\"icon\":\"manage_search\",\"variant\":\"flat\",\"action\":{\"actionId\":\"inspectMasterDetailWorkspace\",\"payload\":{\"resourceKey\":\"{{resourceKey}}\"}}}]},{\"type\":\"relatedRecord\",\"title\":\"Selected related record\",\"subtitleExpr\":\"${workspace.resourceLabel}\",\"relationLabel\":\"Current selection\",\"meta\":\"resolved relationship\",\"ctaLabel\":\"Open related funcionario\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"openDetails\",\"payload\":{\"source\":\"dynamic-page-master-detail\",\"widgetKey\":\"detailGuide\",\"resourceKey\":\"{{resourceKey}}\"}},\"fields\":[{\"label\":\"Selection binding\",\"valueExpr\":\"${workspace.selectionFlow}\",\"hint\":\"Resolved from the same selected record context.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Inspecionar workspace\",\"icon\":\"manage_search\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"inspectMasterDetailWorkspace\",\"payload\":{\"resourceKey\":\"{{resourceKey}}\"}}}]},{\"type\":\"actionCard\",\"title\":\"Open governed funcionario flow\",\"subtitleExpr\":\"${workspace.resourceLabel}\",\"message\":\"Use the same canonical rich-content document to launch a governed host action from the master-detail workspace.\",\"meta\":\"host-mediated action\",\"ctaLabel\":\"Open governed funcionario flow\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"openDetails\",\"payload\":{\"source\":\"dynamic-page-master-detail\",\"widgetKey\":\"detailGuide\",\"resourceKey\":\"{{resourceKey}}\"}},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Inspecionar workspace\",\"icon\":\"manage_search\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"inspectMasterDetailWorkspace\",\"payload\":{\"resourceKey\":\"{{resourceKey}}\"}}}]}]}}}}],\"connections\":[{\"_comment\":\"Ao clicar na linha, envia o ID para o formulario.\",\"from\":{\"widget\":\"masterTable\",\"output\":\"rowClick\"},\"to\":{\"widget\":\"detailForm\",\"input\":\"resourceId\"},\"map\":\"payload.row.{{idField}}\"}]}}",
|
|
3955
4065
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.master-detail.json",
|
|
@@ -3959,7 +4069,7 @@
|
|
|
3959
4069
|
"corpusVersion": "1.0.0"
|
|
3960
4070
|
},
|
|
3961
4071
|
{
|
|
3962
|
-
"chunkIndex":
|
|
4072
|
+
"chunkIndex": 109,
|
|
3963
4073
|
"chunkKind": "recipe",
|
|
3964
4074
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment\",\"_comment\":\"Recipe end-to-end para agentes criarem uma Praxis Dynamic Page rica contra o quickstart publicado.\"}",
|
|
3965
4075
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -3969,7 +4079,7 @@
|
|
|
3969
4079
|
"corpusVersion": "1.0.0"
|
|
3970
4080
|
},
|
|
3971
4081
|
{
|
|
3972
|
-
"chunkIndex":
|
|
4082
|
+
"chunkIndex": 110,
|
|
3973
4083
|
"chunkKind": "recipe",
|
|
3974
4084
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment2\",\"_comment2\":\"Use este recipe quando a meta for demonstrar contrato metadata-driven + runtime Angular + API de referencia + superficies publicas.\"}",
|
|
3975
4085
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -3979,7 +4089,7 @@
|
|
|
3979
4089
|
"corpusVersion": "1.0.0"
|
|
3980
4090
|
},
|
|
3981
4091
|
{
|
|
3982
|
-
"chunkIndex":
|
|
4092
|
+
"chunkIndex": 111,
|
|
3983
4093
|
"chunkKind": "recipe",
|
|
3984
4094
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"templateMeta\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"mission-command-center\",\"status\":\"golden-fixture\",\"useWhen\":\"Create an end-to-end operational page that composes backend metadata, tables, charts, actions, capabilities, and cross-widget state.\",\"examplePrompts\":[\"crie um command center de missoes com tabelas, graficos e actions\",\"monte uma pagina end-to-end usando quickstart, surfaces e capabilities\",\"gere um dashboard operacional metadata-driven para missoes\"]}}",
|
|
3985
4095
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -3989,7 +4099,7 @@
|
|
|
3989
4099
|
"corpusVersion": "1.0.0"
|
|
3990
4100
|
},
|
|
3991
4101
|
{
|
|
3992
|
-
"chunkIndex":
|
|
4102
|
+
"chunkIndex": 112,
|
|
3993
4103
|
"chunkKind": "recipe",
|
|
3994
4104
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"platformValue\",\"platformValue\":{\"canonicalContract\":\"praxis-metadata-starter defines resource, schemas.filtered, surfaces, actions, capabilities, and stats semantics.\",\"referenceApi\":\"praxis-api-quickstart exposes operational mission resources on Render.\",\"referenceRepository\":\"https://github.com/codexrodrigues/praxis-api-quickstart-public\",\"angularRuntime\":\"@praxisui/core resolves praxis-dynamic-page widgets and composes tables/charts without bespoke host code.\",\"publicExamples\":\"praxis-ui-landing-page publishes the JSON envelope and runtime preview.\",\"agentCorpus\":\"praxisui-http-examples provides executable HTTP evidence for LLMs and agents.\"}}",
|
|
3995
4105
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -3999,7 +4109,7 @@
|
|
|
3999
4109
|
"corpusVersion": "1.0.0"
|
|
4000
4110
|
},
|
|
4001
4111
|
{
|
|
4002
|
-
"chunkIndex":
|
|
4112
|
+
"chunkIndex": 113,
|
|
4003
4113
|
"chunkKind": "recipe",
|
|
4004
4114
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"operationalEvidence\",\"operationalEvidence\":{\"baseUrl\":\"https://praxis-api-quickstart.onrender.com\",\"httpExamples\":[\"praxisui-http-examples/http/metadata/schemas_catalog.http\",\"praxisui-http-examples/http/metadata/schemas_surfaces_operations_missoes.http\",\"praxisui-http-examples/http/metadata/schemas_actions_operations_missoes.http\",\"praxisui-http-examples/http/operations/missoes_item_capabilities.http\",\"praxisui-http-examples/http/metadata/filtered_schema_response_funcionarios.http\",\"praxisui-http-examples/http/views/vw_resumo_missoes_filter_basic.http\",\"praxisui-http-examples/http/views/vw_resumo_missoes_stats_status.http\",\"praxisui-http-examples/http/operations/missao_participantes_stats_papel.http\",\"praxisui-http-examples/http/operations/missao_eventos_stats_ocorrido_em_day.http\"],\"safeFirstIds\":[\"schemas-catalog\",\"schemas-surfaces-operations-missoes\",\"schemas-actions-operations-missoes\",\"operations-missoes-item-capabilities\",\"vw-resumo-missoes-filter-basic\",\"vw-resumo-missoes-stats-status\",\"missao-participantes-stats-papel\",\"missao-eventos-stats-ocorrido-em-day\"],\"publishedAnalyticsIds\":[\"vw-resumo-missoes-stats-status\",\"missao-participantes-stats-papel\",\"missao-eventos-stats-ocorrido-em-day\"]}}",
|
|
4005
4115
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4009,7 +4119,7 @@
|
|
|
4009
4119
|
"corpusVersion": "1.0.0"
|
|
4010
4120
|
},
|
|
4011
4121
|
{
|
|
4012
|
-
"chunkIndex":
|
|
4122
|
+
"chunkIndex": 114,
|
|
4013
4123
|
"chunkKind": "recipe",
|
|
4014
4124
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringGuidance\",\"authoringGuidance\":[\"Start from metadata discovery before inventing columns or filters.\",\"Use resourcePath without /filter in runtime widgets.\",\"Use statsPath only inside chart dataSource.query when the backend advertises stats support.\",\"Expose backend surfaces and action catalogs as discovery toolbar actions.\",\"Executable workflow row actions are allowed in this example because the landing host mediates execution against the published endpoint and shows success, conflict, or protected-command feedback.\",\"Use composition links for cross-filtering and state writes; do not duplicate state in unrelated widgets.\"]}",
|
|
4015
4125
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4019,7 +4129,7 @@
|
|
|
4019
4129
|
"corpusVersion": "1.0.0"
|
|
4020
4130
|
},
|
|
4021
4131
|
{
|
|
4022
|
-
"chunkIndex":
|
|
4132
|
+
"chunkIndex": 115,
|
|
4023
4133
|
"chunkKind": "recipe",
|
|
4024
4134
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":3,\"gap\":\"16px\"},\"state\":{\"values\":{\"selection\":{\"missionId\":1}}},\"widgets\":[{\"key\":\"missionStatusChart\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"bar_chart\",\"title\":\"Mission status mix\",\"subtitle\":\"Remote stats projection from the published quickstart\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"mission-status-mix\",\"kind\":\"horizontal-bar\",\"orientation\":\"horizontal\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/operations/vw-resumo-missoes\",\"operation\":\"group-by\",\"options\":{\"limit\":10,\"orderBy\":\"key-asc\"}},\"dimensions\":[{\"field\":\"status\",\"label\":\"Status\",\"role\":\"category\"}],\"metrics\":[{\"field\":\"missions\",\"label\":\"Missions\",\"aggregation\":\"count\"}],\"events\":{\"pointClick\":{\"action\":\"emit\"},\"selectionChange\":{\"action\":\"emit\",\"mapping\":{\"status\":\"status\"}},\"crossFilter\":{\"action\":\"filter-widget\",\"target\":\"missionSummary\",\"mapping\":{\"status\":\"status\"}}},\"legend\":{\"enabled\":true},\"tooltip\":{\"enabled\":true},\"theme\":{\"surface\":{\"mode\":\"embedded\"}}}},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"crossFilter\":\"emit\"}}},{\"key\":\"missionSummary\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"radar\",\"title\":\"Mission portfolio\",\"subtitle\":\"Aggregated mission status and threat context\"},\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\"],\"inputs\":{\"resourcePath\":\"operations/vw-resumo-missoes\",\"tableId\":\"operations-vw-resumo-missoes-command-center\",\"config\":{\"meta\":{\"idField\":\"missaoId\"},\"toolbar\":{\"visible\":true,\"title\":\"Mission portfolio\",\"actions\":[{\"id\":\"inspect-surfaces\",\"label\":\"Surfaces\",\"icon\":\"layers\",\"action\":\"inspect-surfaces\",\"discovery\":{\"rel\":\"surfaces\",\"scope\":\"resource\",\"resourcePath\":\"operations/vw-resumo-missoes\",\"resourceKey\":\"operations.vw-resumo-missoes\"}},{\"id\":\"inspect-actions\",\"label\":\"Actions\",\"icon\":\"bolt\",\"action\":\"inspect-actions\",\"discovery\":{\"rel\":\"actions\",\"scope\":\"resource\",\"resourcePath\":\"operations/vw-resumo-missoes\",\"resourceKey\":\"operations.vw-resumo-missoes\"}}]},\"columns\":[{\"field\":\"titulo\",\"header\":\"Mission\",\"type\":\"text\",\"sticky\":\"start\"},{\"field\":\"status\",\"header\":\"Status\",\"type\":\"badge\"},{\"field\":\"prioridade\",\"header\":\"Priority\",\"type\":\"badge\"},{\"field\":\"ameaca\",\"header\":\"Threat\",\"type\":\"text\"}],\"behavior\":{\"selection\":{\"enabled\":true,\"type\":\"single\"}}}},\"outputs\":{\"rowClick\":\"emit\",\"toolbarAction\":\"emit\"}}},{\"key\":\"missionWorkflow\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"bolt\",\"title\":\"Workflow actions\",\"subtitle\":\"Host-mediated actions declared by the mission controller contract\"},\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\",\"queryContext\"],\"inputs\":{\"resourcePath\":\"operations/missoes\",\"tableId\":\"operations-missoes-workflow-actions\",\"queryContext\":{\"filters\":{}},\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"Mission workflow\",\"actions\":[{\"id\":\"inspect-surfaces\",\"label\":\"Surfaces\",\"icon\":\"layers\",\"action\":\"inspect-surfaces\",\"discovery\":{\"rel\":\"surfaces\",\"scope\":\"resource\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}},{\"id\":\"inspect-actions\",\"label\":\"Actions\",\"icon\":\"bolt\",\"action\":\"inspect-actions\",\"discovery\":{\"rel\":\"actions\",\"scope\":\"resource\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}}]},\"actions\":{\"row\":{\"enabled\":true,\"display\":\"buttons\",\"width\":\"360px\",\"maxVisibleActions\":3,\"behavior\":{\"maxInline\":3},\"position\":\"end\",\"header\":{\"label\":\"Workflow\",\"icon\":\"bolt\"},\"actions\":[{\"id\":\"start\",\"action\":\"start\",\"label\":\"Start\",\"icon\":\"play_arrow\",\"visibleWhen\":{\"===\":[{\"var\":\"status\"},\"PLANEJADA\"]},\"endpoint\":{\"method\":\"POST\",\"pathTemplate\":\"/api/operations/missoes/{id}/actions/start\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}},{\"id\":\"pause\",\"action\":\"pause\",\"label\":\"Pause\",\"icon\":\"pause\",\"visibleWhen\":{\"===\":[{\"var\":\"status\"},\"EM_ANDAMENTO\"]},\"endpoint\":{\"method\":\"POST\",\"pathTemplate\":\"/api/operations/missoes/{id}/actions/pause\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}},{\"id\":\"resume\",\"action\":\"resume\",\"label\":\"Resume\",\"icon\":\"replay\",\"visibleWhen\":{\"===\":[{\"var\":\"status\"},\"PAUSADA\"]},\"endpoint\":{\"method\":\"POST\",\"pathTemplate\":\"/api/operations/missoes/{id}/actions/resume\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}},{\"id\":\"complete\",\"action\":\"complete\",\"label\":\"Complete\",\"icon\":\"task_alt\",\"visibleWhen\":{\"===\":[{\"var\":\"status\"},\"EM_ANDAMENTO\"]},\"endpoint\":{\"method\":\"POST\",\"pathTemplate\":\"/api/operations/missoes/{id}/actions/complete\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}}]}},\"behavior\":{\"selection\":{\"enabled\":true,\"type\":\"single\"}}}},\"outputs\":{\"rowClick\":\"emit\",\"rowAction\":\"emit\",\"toolbarAction\":\"emit\"}}},{\"key\":\"missionTeam\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"groups\",\"title\":\"Mission team\",\"subtitle\":\"Participants, roles and outcomes\"},\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\",\"queryContext\"],\"inputs\":{\"resourcePath\":\"operations/missao-participantes\",\"tableId\":\"operations-missao-participantes-command-center\",\"queryContext\":{\"filters\":{\"missaoId\":1}},\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"Mission team\"},\"columns\":[{\"field\":\"ordem\",\"header\":\"Order\",\"type\":\"number\"},{\"field\":\"funcionarioNome\",\"header\":\"Hero\",\"type\":\"text\",\"sticky\":\"start\"},{\"field\":\"papel\",\"header\":\"Role\",\"type\":\"badge\"},{\"field\":\"resultado\",\"header\":\"Outcome\",\"type\":\"badge\"}]}},\"outputs\":{\"rowClick\":\"emit\",\"toolbarAction\":\"emit\"}}},{\"key\":\"missionTimeline\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"timeline\",\"title\":\"Mission timeline\",\"subtitle\":\"Governed event surface for selected mission\"},\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\",\"queryContext\"],\"inputs\":{\"resourcePath\":\"operations/missao-eventos\",\"tableId\":\"operations-missao-eventos-command-center\",\"queryContext\":{\"filters\":{\"missaoId\":1}},\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"Mission timeline\"},\"columns\":[{\"field\":\"ordem\",\"header\":\"Order\",\"type\":\"number\"},{\"field\":\"tipo\",\"header\":\"Type\",\"type\":\"text\",\"sticky\":\"start\"},{\"field\":\"descricao\",\"header\":\"Event\",\"type\":\"text\"},{\"field\":\"ocorridoEm\",\"header\":\"Occurred at\",\"type\":\"date-time\"}]}},\"outputs\":{\"rowClick\":\"emit\",\"toolbarAction\":\"emit\"}}}]}}",
|
|
4025
4135
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4029,7 +4139,7 @@
|
|
|
4029
4139
|
"corpusVersion": "1.0.0"
|
|
4030
4140
|
},
|
|
4031
4141
|
{
|
|
4032
|
-
"chunkIndex":
|
|
4142
|
+
"chunkIndex": 116,
|
|
4033
4143
|
"chunkKind": "recipe",
|
|
4034
4144
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"composition\":{\"version\":\"1.0.0\",\"links\":[{\"id\":\"missions:status-chart-crossFilter->summary.queryContext\",\"intent\":\"data-projection\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionStatusChart\",\"port\":\"crossFilter\",\"direction\":\"output\",\"componentType\":\"praxis-chart\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionSummary\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-table\"}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"event\"}],\"steps\":[{\"id\":\"missions:pick-status-filter-for-summary\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"input\":{\"source\":\"event\"},\"config\":{\"template\":{\"filters\":{\"status\":\"${payload.filters.status}\"}}}}]}},{\"id\":\"missions:summary-rowClick->state:selection.missionId\",\"intent\":\"state-write\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionSummary\",\"port\":\"rowClick\",\"direction\":\"output\",\"componentType\":\"praxis-table\"}},\"to\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.missionId\",\"layer\":\"values\",\"writable\":true}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"single-value\",\"sourceBindings\":[{\"source\":\"event\"}],\"steps\":[{\"id\":\"missions:pick-mission-id\",\"kind\":\"pick-path\",\"phase\":\"link-propagation\",\"input\":{\"source\":\"event\"},\"config\":{\"path\":\"payload.row.id\"}}]}},{\"id\":\"missions:state:selection.missionId->team.queryContext\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.missionId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionTeam\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-table\"}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"state\",\"path\":\"selection.missionId\"}],\"steps\":[{\"id\":\"missions:mission-id-to-team-filter\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"filters\":{\"missaoId\":\"${source}\"}}}}]}},{\"id\":\"missions:state:selection.missionId->timeline.queryContext\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.missionId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionTimeline\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-table\"}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"state\",\"path\":\"selection.missionId\"}],\"steps\":[{\"id\":\"missions:mission-id-to-timeline-filter\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"filters\":{\"missaoId\":\"${source}\"}}}}]}}]}}}",
|
|
4035
4145
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4039,7 +4149,7 @@
|
|
|
4039
4149
|
"corpusVersion": "1.0.0"
|
|
4040
4150
|
},
|
|
4041
4151
|
{
|
|
4042
|
-
"chunkIndex":
|
|
4152
|
+
"chunkIndex": 117,
|
|
4043
4153
|
"chunkKind": "recipe",
|
|
4044
4154
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment\",\"_comment\":\"Golden recipe for nested component ports in Praxis Dynamic Page.\"}",
|
|
4045
4155
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4049,7 +4159,7 @@
|
|
|
4049
4159
|
"corpusVersion": "1.0.0"
|
|
4050
4160
|
},
|
|
4051
4161
|
{
|
|
4052
|
-
"chunkIndex":
|
|
4162
|
+
"chunkIndex": 118,
|
|
4053
4163
|
"chunkKind": "recipe",
|
|
4054
4164
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment2\",\"_comment2\":\"Use only composition.links with component-port + nestedPath; do not use page.connections, bindingPath or widgetEvent as the final contract.\"}",
|
|
4055
4165
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4059,7 +4169,7 @@
|
|
|
4059
4169
|
"corpusVersion": "1.0.0"
|
|
4060
4170
|
},
|
|
4061
4171
|
{
|
|
4062
|
-
"chunkIndex":
|
|
4172
|
+
"chunkIndex": 119,
|
|
4063
4173
|
"chunkKind": "recipe",
|
|
4064
4174
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"templateMeta\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"nested-path-showcase\",\"status\":\"golden-fixture\",\"useWhen\":\"Create a dynamic page that demonstrates canonical nested component ports through an operational mission command workspace.\",\"examplePrompts\":[\"create a nestedPath example where selecting a mission updates summary, team and timeline tabs\",\"build a dynamic page using component-port nestedPath against the published operations quickstart\"]}}",
|
|
4065
4175
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4069,7 +4179,7 @@
|
|
|
4069
4179
|
"corpusVersion": "1.0.0"
|
|
4070
4180
|
},
|
|
4071
4181
|
{
|
|
4072
|
-
"chunkIndex":
|
|
4182
|
+
"chunkIndex": 120,
|
|
4073
4183
|
"chunkKind": "recipe",
|
|
4074
4184
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"platformValue\",\"platformValue\":{\"canonicalContract\":\"@praxisui/core owns CompositionLink, component-port endpoints, nestedPath, runtime delivery, validation and serialization.\",\"referenceApi\":\"praxis-api-quickstart exposes operations.missoes with summary, team, timeline, actions and capabilities on Render.\",\"angularRuntime\":\"Tabs own nested widget placement; child components keep their own public ports.\",\"businessFlow\":\"A selected mission becomes the shared state that drives downstream summary and team tables plus a rich-content timeline.\"}}",
|
|
4075
4185
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4079,7 +4189,7 @@
|
|
|
4079
4189
|
"corpusVersion": "1.0.0"
|
|
4080
4190
|
},
|
|
4081
4191
|
{
|
|
4082
|
-
"chunkIndex":
|
|
4192
|
+
"chunkIndex": 121,
|
|
4083
4193
|
"chunkKind": "recipe",
|
|
4084
4194
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"operationalEvidence\",\"operationalEvidence\":{\"baseUrl\":\"https://praxis-api-quickstart.onrender.com\",\"resources\":[\"api/operations/missoes\",\"api/operations/vw-resumo-missoes\",\"api/operations/missao-participantes\"],\"safeFirstIds\":[\"schemas-surfaces-operations-missoes\",\"schemas-actions-operations-missoes\",\"operations-missoes-item-capabilities\",\"vw-resumo-missoes-filter-basic\",\"missao-participantes-stats-papel\"]}}",
|
|
4085
4195
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4089,7 +4199,7 @@
|
|
|
4089
4199
|
"corpusVersion": "1.0.0"
|
|
4090
4200
|
},
|
|
4091
4201
|
{
|
|
4092
|
-
"chunkIndex":
|
|
4202
|
+
"chunkIndex": 122,
|
|
4093
4203
|
"chunkKind": "recipe",
|
|
4094
4204
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringGuidance\",\"authoringGuidance\":[\"Persist links only under page.composition.links.\",\"Use ref.kind component-port with ref.nestedPath for ports owned by nested child widgets.\",\"Every persisted nestedPath must end with a widget segment containing stable key and componentType.\",\"Use state links as the bridge between nested outputs and other nested inputs when the value must be shared.\",\"Keep resourcePath values as backend resource paths; the host API_URL supplies the Render origin.\"]}",
|
|
4095
4205
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4099,7 +4209,7 @@
|
|
|
4099
4209
|
"corpusVersion": "1.0.0"
|
|
4100
4210
|
},
|
|
4101
4211
|
{
|
|
4102
|
-
"chunkIndex":
|
|
4212
|
+
"chunkIndex": 123,
|
|
4103
4213
|
"chunkKind": "recipe",
|
|
4104
4214
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"teaches\",\"teaches\":[\"composition.links\",\"component-port.nestedPath\",\"tabs.nested-widgets\",\"table.rowClick.state-write\",\"state-read.nested-input\",\"rich-content.timeline\",\"transform.object-template\",\"lazy-mounted-input.delivery\"]}",
|
|
4105
4215
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4109,7 +4219,7 @@
|
|
|
4109
4219
|
"corpusVersion": "1.0.0"
|
|
4110
4220
|
},
|
|
4111
4221
|
{
|
|
4112
|
-
"chunkIndex":
|
|
4222
|
+
"chunkIndex": 124,
|
|
4113
4223
|
"chunkKind": "recipe",
|
|
4114
4224
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"state\":{\"values\":{\"selection\":{\"missionId\":1,\"missionTitle\":\"Batalha de Nova York\"}}},\"widgets\":[{\"key\":\"missionNestedWorkspace\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"account_tree\",\"title\":\"Mission command nestedPath workspace\",\"subtitle\":\"Select a mission once; summary, team and timeline tabs receive mission context through component-port + nestedPath\"},\"definition\":{\"id\":\"praxis-tabs\",\"bindingOrder\":[\"tabsId\",\"componentInstanceId\",\"config\",\"selectedIndex\"],\"inputs\":{\"tabsId\":\"nested-path-mission-workspace\",\"componentInstanceId\":\"nested-path-mission-workspace\",\"selectedIndex\":0,\"config\":{\"appearance\":{\"density\":\"comfortable\",\"dynamicHeight\":true,\"fitInkBarToContent\":true},\"behavior\":{\"lazyLoad\":true,\"reorderable\":false,\"closeable\":false},\"tabs\":[{\"id\":\"missions\",\"textLabel\":\"Select mission\",\"icon\":\"radar\",\"widgets\":[{\"id\":\"praxis-table\",\"childWidgetKey\":\"missions-table\",\"bindingOrder\":[\"tableId\",\"resourcePath\",\"config\"],\"inputs\":{\"tableId\":\"nested-path-missions-table\",\"resourcePath\":\"operations/missoes\",\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"Mission portfolio\",\"search\":{\"enabled\":true,\"placeholder\":\"Search by title, threat or location\"},\"layout\":{\"alignment\":\"space-between\",\"showSeparator\":true},\"actions\":[{\"id\":\"inspect-surfaces\",\"label\":\"Surfaces\",\"icon\":\"layers\",\"action\":\"inspect-surfaces\",\"discovery\":{\"rel\":\"surfaces\",\"scope\":\"resource\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}},{\"id\":\"inspect-actions\",\"label\":\"Actions\",\"icon\":\"bolt\",\"action\":\"inspect-actions\",\"discovery\":{\"rel\":\"actions\",\"scope\":\"resource\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}}]},\"columns\":[{\"field\":\"id\",\"header\":\"ID\",\"width\":\"80px\",\"align\":\"center\"},{\"field\":\"titulo\",\"header\":\"Mission\",\"type\":\"text\",\"sticky\":\"start\"},{\"field\":\"status\",\"header\":\"Status\",\"type\":\"badge\"},{\"field\":\"prioridade\",\"header\":\"Priority\",\"type\":\"badge\"},{\"field\":\"local\",\"header\":\"Location\",\"type\":\"text\"},{\"field\":\"ameacaNome\",\"header\":\"Threat\",\"type\":\"text\"}],\"behavior\":{\"pagination\":{\"enabled\":true,\"strategy\":\"server\",\"pageSize\":10,\"pageSizeOptions\":[10,25,50],\"position\":\"bottom\"},\"sorting\":{\"enabled\":true,\"strategy\":\"server\",\"defaultSort\":{\"column\":\"id\",\"direction\":\"asc\"}},\"filtering\":{\"enabled\":true,\"strategy\":\"server\",\"advancedFilters\":{\"enabled\":true,\"fields\":[\"titulo\",\"status\",\"prioridade\",\"local\"]}},\"selection\":{\"enabled\":true,\"type\":\"single\",\"mode\":\"row\",\"persistSelection\":false}}}},\"outputs\":{\"rowClick\":\"emit\",\"selectionChange\":\"emit\",\"toolbarAction\":\"emit\"}}]},{\"id\":\"summary\",\"textLabel\":\"Summary\",\"icon\":\"groups\",\"widgets\":[{\"id\":\"praxis-table\",\"childWidgetKey\":\"mission-summary-table\",\"bindingOrder\":[\"tableId\",\"resourcePath\",\"queryContext\",\"config\"],\"inputs\":{\"tableId\":\"nested-path-mission-summary-table\",\"resourcePath\":\"operations/vw-resumo-missoes\",\"queryContext\":{\"filters\":{\"missaoId\":1}},\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"Selected mission summary\"},\"columns\":[{\"field\":\"titulo\",\"header\":\"Mission\",\"type\":\"text\",\"sticky\":\"start\"},{\"field\":\"status\",\"header\":\"Status\",\"type\":\"badge\"},{\"field\":\"prioridade\",\"header\":\"Priority\",\"type\":\"badge\"},{\"field\":\"qtdHerois\",\"header\":\"Heroes\",\"type\":\"number\",\"align\":\"end\"},{\"field\":\"qtdEventos\",\"header\":\"Events\",\"type\":\"number\",\"align\":\"end\"}],\"behavior\":{\"pagination\":{\"enabled\":false}}}},\"outputs\":{\"rowClick\":\"emit\"}}]},{\"id\":\"team\",\"textLabel\":\"Team\",\"icon\":\"groups\",\"widgets\":[{\"id\":\"praxis-table\",\"childWidgetKey\":\"mission-team-table\",\"bindingOrder\":[\"tableId\",\"resourcePath\",\"queryContext\",\"config\"],\"inputs\":{\"tableId\":\"nested-path-mission-team-table\",\"resourcePath\":\"operations/missao-participantes\",\"queryContext\":{\"filters\":{\"missaoId\":1}},\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"Mission team\"},\"columns\":[{\"field\":\"funcionarioNome\",\"header\":\"Participant\",\"type\":\"text\",\"sticky\":\"start\"},{\"field\":\"papel\",\"header\":\"Role\",\"type\":\"badge\"},{\"field\":\"principal\",\"header\":\"Lead\",\"type\":\"boolean\",\"width\":\"100px\",\"align\":\"center\"},{\"field\":\"resultado\",\"header\":\"Outcome\",\"type\":\"badge\"}],\"behavior\":{\"pagination\":{\"enabled\":true,\"strategy\":\"server\",\"pageSize\":5,\"pageSizeOptions\":[5,10],\"position\":\"bottom\"}}}},\"outputs\":{\"rowClick\":\"emit\"}}]},{\"id\":\"timeline\",\"textLabel\":\"Timeline\",\"icon\":\"timeline\",\"widgets\":[{\"id\":\"praxis-rich-content\",\"childWidgetKey\":\"mission-timeline\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"nested-path-mission-timeline\",\"context\":{\"selection\":{\"missionId\":1,\"missionTitle\":\"Batalha de Nova York\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"timeline\",\"id\":\"mission-command-timeline\",\"title\":\"Authored mission timeline\",\"emptyText\":\"Select a mission to inspect its authored operational timeline.\",\"orientation\":\"vertical\",\"position\":\"alternate\",\"connectorVariant\":\"dashed\",\"connectorColor\":\"neutral\",\"markerVariant\":\"icon\",\"markerColor\":\"info\",\"markerStyle\":\"filled\",\"items\":[{\"id\":\"mission-event-intel\",\"icon\":\"travel_explore\",\"title\":\"Pacote de inteligência consolidado\",\"subtitleExpr\":\"selection.missionTitle\",\"meta\":\"INTEL\",\"opposite\":\"2025-10-18T02:41:41Z\",\"badge\":\"grounding\",\"markerColor\":\"info\"},{\"id\":\"mission-event-contact\",\"icon\":\"radar\",\"title\":\"Contato tático ativo\",\"subtitle\":\"Equipe em campo confirmou o ponto de contato operacional.\",\"meta\":\"CONTATO\",\"opposite\":\"2025-10-18T09:41:42Z\",\"badge\":\"signal\",\"markerColor\":\"primary\"},{\"id\":\"mission-event-combat\",\"icon\":\"shield\",\"title\":\"Engajamento inicial\",\"subtitle\":\"Civis evacuados e perímetro sob controle.\",\"meta\":\"COMBATE\",\"opposite\":\"2025-10-18T12:41:42Z\",\"badge\":\"operation\",\"markerColor\":\"warning\"},{\"id\":\"mission-event-reinforcement\",\"icon\":\"verified\",\"title\":\"Reforços a caminho\",\"subtitle\":\"SHIELD mobilizado para sustentação da missão.\",\"meta\":\"EXTRA\",\"opposite\":\"2025-10-18T18:41:42Z\",\"badge\":\"support\",\"markerColor\":\"success\"}]}]}}}]}]}},\"outputs\":{\"selectedIndexChange\":\"emit\"}}}]}}",
|
|
4115
4225
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4119,7 +4229,7 @@
|
|
|
4119
4229
|
"corpusVersion": "1.0.0"
|
|
4120
4230
|
},
|
|
4121
4231
|
{
|
|
4122
|
-
"chunkIndex":
|
|
4232
|
+
"chunkIndex": 125,
|
|
4123
4233
|
"chunkKind": "recipe",
|
|
4124
4234
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"composition\":{\"version\":\"1.0.0\",\"links\":[{\"id\":\"nestedPath:missions-table.rowClick->state.selection.missionId\",\"intent\":\"state-write\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionNestedWorkspace\",\"port\":\"rowClick\",\"direction\":\"output\",\"componentType\":\"praxis-table\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"missions\",\"index\":0},{\"kind\":\"widget\",\"key\":\"missions-table\",\"componentType\":\"praxis-table\"}]}},\"to\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.missionId\",\"layer\":\"values\",\"writable\":true}},\"condition\":{\">\":[{\"var\":\"payload.row.id\"},0]},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"single-value\",\"sourceBindings\":[{\"source\":\"event\"}],\"steps\":[{\"id\":\"nestedPath:pick-mission-id\",\"kind\":\"pick-path\",\"phase\":\"link-propagation\",\"input\":{\"source\":\"event\"},\"config\":{\"path\":\"payload.row.id\"}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true,\"debounceMs\":50}},{\"id\":\"nestedPath:missions-table.rowClick->state.selection.missionTitle\",\"intent\":\"state-write\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionNestedWorkspace\",\"port\":\"rowClick\",\"direction\":\"output\",\"componentType\":\"praxis-table\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"missions\",\"index\":0},{\"kind\":\"widget\",\"key\":\"missions-table\",\"componentType\":\"praxis-table\"}]}},\"to\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.missionTitle\",\"layer\":\"values\",\"writable\":true}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"single-value\",\"sourceBindings\":[{\"source\":\"event\"}],\"steps\":[{\"id\":\"nestedPath:pick-mission-title\",\"kind\":\"pick-path\",\"phase\":\"link-propagation\",\"input\":{\"source\":\"event\"},\"config\":{\"path\":\"payload.row.titulo\"}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true,\"debounceMs\":50}},{\"id\":\"nestedPath:state.selection.missionId->summary-table.queryContext\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.missionId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionNestedWorkspace\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-table\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"summary\",\"index\":1},{\"kind\":\"widget\",\"key\":\"mission-summary-table\",\"componentType\":\"praxis-table\"}]}},\"condition\":{\">\":[{\"var\":\"source\"},0]},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"state\",\"path\":\"selection.missionId\"}],\"steps\":[{\"id\":\"nestedPath:mission-id-to-summary-filter\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"filters\":{\"missaoId\":\"${source}\"}}}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"nestedPath:state.selection.missionId->team-table.queryContext\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.missionId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionNestedWorkspace\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-table\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"team\",\"index\":2},{\"kind\":\"widget\",\"key\":\"mission-team-table\",\"componentType\":\"praxis-table\"}]}},\"condition\":{\">\":[{\"var\":\"source\"},0]},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"state\",\"path\":\"selection.missionId\"}],\"steps\":[{\"id\":\"nestedPath:mission-id-to-team-filter\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"filters\":{\"missaoId\":\"${source}\"}}}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}},{\"id\":\"nestedPath:state.selection->timeline.context\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionNestedWorkspace\",\"port\":\"context\",\"direction\":\"input\",\"componentType\":\"praxis-rich-content\",\"nestedPath\":[{\"kind\":\"tab\",\"id\":\"timeline\",\"index\":3},{\"kind\":\"widget\",\"key\":\"mission-timeline\",\"componentType\":\"praxis-rich-content\"}]}},\"condition\":{\">\":[{\"var\":\"source.missionId\"},0]},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"state\",\"path\":\"selection\"}],\"steps\":[{\"id\":\"nestedPath:selection-to-rich-timeline-context\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"selection\":\"${source}\"}}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}}]}}}",
|
|
4125
4235
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4129,7 +4239,7 @@
|
|
|
4129
4239
|
"corpusVersion": "1.0.0"
|
|
4130
4240
|
},
|
|
4131
4241
|
{
|
|
4132
|
-
"chunkIndex":
|
|
4242
|
+
"chunkIndex": 126,
|
|
4133
4243
|
"chunkKind": "recipe",
|
|
4134
4244
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an onboarding day-30 coaching workbench using portable rich-content blocks for coaching signals, manager context and governed development actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"onboarding-day-30-coaching-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an onboarding day-30 coaching workbench with coaching signals, manager context, goal tabs and governed development actions.\",\"examplePrompts\":[\"create an onboarding day-30 coaching workbench\",\"show a governed onboarding coaching rich content surface\",\"generate an onboarding page with day-30 goals and manager coaching actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable onboarding day-30 coaching surface.\",\"hostMediation\":\"The host mediates open, confirm, update and escalate actions through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same onboarding coaching workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps coaching signals, selected hire context, manager context and governed coaching actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model coaching metrics with statGroup instead of host-authored manager cards.\",\"Model the selected hire with lookupCard when the host already resolved the day-30 coaching context.\",\"Use tabs for goals and blockers instead of host-authored coaching sections.\",\"Use relatedRecord, ctaGroup and actionCard for governed coaching actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"onboardingDay30CoachingWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"psychology\",\"title\":\"Onboarding day-30 coaching workbench\",\"subtitle\":\"Portable rich-content surface for governed coaching\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"onboarding-day-30-coaching-workbench\",\"context\":{\"hire\":{\"id\":\"ONB-830\",\"name\":\"Tiago Almeida\",\"role\":\"Customer Success Engineer\",\"department\":\"Customer platform\",\"focus\":\"Role clarity and first-month delivery plan\",\"confidence\":\"8.1\",\"openGoals\":\"4\",\"risk\":\"Medium\",\"pulse\":\"Needs stakeholder alignment\"},\"manager\":{\"name\":\"Helena Souza\",\"department\":\"Engineering leadership\",\"lane\":\"First-month development plan\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"psychology\",\"titleExpr\":\"${hire.name}\",\"message\":\"Use a portable onboarding day-30 coaching surface when the host must expose governed coaching and manager development actions without inventing onboarding-specific templates.\"},{\"type\":\"statGroup\",\"title\":\"Day-30 coaching signals\",\"subtitle\":\"Canonical KPI block for onboarding coaching surfaces\",\"layout\":\"grid\",\"items\":[{\"label\":\"Confidence\",\"valueExpr\":\"${hire.confidence}\",\"captionExpr\":\"${hire.id}\",\"icon\":\"psychology\"},{\"label\":\"Open goals\",\"valueExpr\":\"${hire.openGoals}\",\"caption\":\"Needs manager review\",\"icon\":\"flag\"},{\"label\":\"Coaching risk\",\"valueExpr\":\"${hire.risk}\",\"captionExpr\":\"${hire.pulse}\",\"icon\":\"report\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected hire\",\"status\":\"resolved\",\"subtitleExpr\":\"${hire.name}\",\"metaExpr\":\"${hire.role}\",\"ctaLabel\":\"Open hire\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.day30.hire.open\",\"payloadExpr\":\"${hire}\"},\"fields\":[{\"label\":\"Department\",\"valueExpr\":\"${hire.department}\"},{\"label\":\"Coaching focus\",\"valueExpr\":\"${hire.focus}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.day30.dossier.open\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"tabs\",\"title\":\"Coaching views\",\"subtitle\":\"Portable editorial tabs for goals, blockers and next steps.\",\"appearance\":\"underline\",\"defaultTabId\":\"goals\",\"items\":[{\"id\":\"goals\",\"label\":\"Goals\",\"icon\":\"flag\",\"content\":[{\"type\":\"text\",\"text\":\"Keep day-30 goals, first-month outcomes and coaching notes inside the same RichContentDocument.\"}]},{\"id\":\"blockers\",\"label\":\"Blockers\",\"icon\":\"warning\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Coaching blocker\",\"value\":\"Stakeholder map and role expectations need a manager-led reset.\"},{\"label\":\"Coaching rule\",\"value\":\"Escalate when day-30 confidence drops below target or when two coaching goals remain unowned after manager review.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Coaching owner\",\"subtitleExpr\":\"${manager.name}\",\"relationLabel\":\"Manager\",\"metaExpr\":\"${manager.department}\",\"ctaLabel\":\"Open manager\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.day30.manager.open\",\"payloadExpr\":\"${manager}\"},\"fields\":[{\"label\":\"Coaching lane\",\"valueExpr\":\"${manager.lane}\",\"hint\":\"Resolved from the day-30 coaching assignment context.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Schedule coaching sync\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.day30.manager.scheduleSync\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Coaching actions\",\"subtitle\":\"Governed day-30 coaching outcomes\",\"message\":\"Use semantic coaching actions instead of host-authored onboarding manager button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Confirm coaching plan\",\"icon\":\"check_circle\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.day30.coaching.confirm\",\"payloadExpr\":\"${hire}\"}},{\"type\":\"actionButton\",\"label\":\"Request goal update\",\"icon\":\"flag\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.day30.goals.requestUpdate\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate coaching risk\",\"subtitleExpr\":\"${hire.id}\",\"message\":\"Use actionCard when the onboarding host needs a governed escalation flow for unresolved first-month coaching risks.\",\"metaExpr\":\"${hire.pulse}\",\"ctaLabel\":\"Escalate coaching risk\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.day30.coaching.escalate\",\"payloadExpr\":\"${hire}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.day30.dossier.open\",\"payloadExpr\":\"${hire}\"}}]}]}}}}]}}",
|
|
4135
4245
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.onboarding-day-30-coaching-workbench.json",
|
|
@@ -4139,7 +4249,7 @@
|
|
|
4139
4249
|
"corpusVersion": "1.0.0"
|
|
4140
4250
|
},
|
|
4141
4251
|
{
|
|
4142
|
-
"chunkIndex":
|
|
4252
|
+
"chunkIndex": 127,
|
|
4143
4253
|
"chunkKind": "recipe",
|
|
4144
4254
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an onboarding equipment and access recovery workbench using portable rich-content blocks for recovery signals, access owner context and governed remediation actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"onboarding-equipment-access-recovery-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an onboarding equipment and access recovery workbench with recovery signals, access owner context, blocker tabs and governed remediation actions.\",\"examplePrompts\":[\"create an onboarding equipment and access recovery workbench\",\"show a governed onboarding recovery rich content surface\",\"generate an onboarding page with access blockers and remediation actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable onboarding equipment and access recovery surface.\",\"hostMediation\":\"The host mediates open, confirm, reset and escalate actions through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same onboarding recovery workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps recovery signals, selected hire context, access owner context and governed recovery actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model recovery metrics with statGroup instead of host-authored access cards.\",\"Model the selected hire with lookupCard when the host already resolved the equipment and access recovery context.\",\"Use tabs for status and blockers instead of host-authored recovery sections.\",\"Use relatedRecord, ctaGroup and actionCard for governed recovery actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"onboardingEquipmentAccessRecoveryWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"vpn_key\",\"title\":\"Onboarding equipment and access recovery workbench\",\"subtitle\":\"Portable rich-content surface for governed access recovery\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"onboarding-equipment-access-recovery-workbench\",\"context\":{\"hire\":{\"id\":\"ONB-741\",\"name\":\"Rafaela Dias\",\"role\":\"Platform Engineer\",\"department\":\"Developer experience\",\"blocker\":\"VPN and SSO provisioning\",\"openBlockers\":\"3\",\"criticalApps\":\"2\",\"recoverySla\":\"6h\",\"deviceState\":\"Laptop delivered / account pending\"},\"owner\":{\"name\":\"Marcos Lima\",\"department\":\"IT operations\",\"lane\":\"Identity and device setup\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"warning\",\"icon\":\"vpn_key\",\"titleExpr\":\"${hire.name}\",\"message\":\"Use a portable onboarding equipment and access recovery surface when the host must expose governed access recovery and device remediation actions without inventing onboarding-specific templates.\"},{\"type\":\"statGroup\",\"title\":\"Recovery signals\",\"subtitle\":\"Canonical KPI block for onboarding recovery surfaces\",\"layout\":\"grid\",\"items\":[{\"label\":\"Open blockers\",\"valueExpr\":\"${hire.openBlockers}\",\"captionExpr\":\"${hire.id}\",\"icon\":\"warning\"},{\"label\":\"Critical apps\",\"valueExpr\":\"${hire.criticalApps}\",\"caption\":\"Still missing\",\"icon\":\"apps\"},{\"label\":\"Recovery SLA\",\"valueExpr\":\"${hire.recoverySla}\",\"captionExpr\":\"${hire.blocker}\",\"icon\":\"schedule\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected hire\",\"status\":\"resolved\",\"subtitleExpr\":\"${hire.name}\",\"metaExpr\":\"${hire.role}\",\"ctaLabel\":\"Open hire\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.recovery.hire.open\",\"payloadExpr\":\"${hire}\"},\"fields\":[{\"label\":\"Department\",\"valueExpr\":\"${hire.department}\"},{\"label\":\"Device state\",\"valueExpr\":\"${hire.deviceState}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.recovery.dossier.open\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"tabs\",\"title\":\"Recovery views\",\"subtitle\":\"Portable editorial tabs for recovery status and blocker details.\",\"appearance\":\"underline\",\"defaultTabId\":\"status\",\"items\":[{\"id\":\"status\",\"label\":\"Status\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Keep access status, recovery notes and remediation evidence inside the same RichContentDocument.\"}]},{\"id\":\"blockers\",\"label\":\"Blockers\",\"icon\":\"warning\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Missing access\",\"value\":\"SSO, analytics workspace and VPN group mapping.\"},{\"label\":\"Recovery rule\",\"value\":\"Escalate any access or device blocker still unresolved after the first business day or any blocker affecting payroll, identity or secure access.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Access owner\",\"subtitleExpr\":\"${owner.name}\",\"relationLabel\":\"Ops owner\",\"metaExpr\":\"${owner.department}\",\"ctaLabel\":\"Open owner\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.recovery.owner.open\",\"payloadExpr\":\"${owner}\"},\"fields\":[{\"label\":\"Recovery lane\",\"valueExpr\":\"${owner.lane}\",\"hint\":\"Resolved from the recovery assignment context.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Schedule recovery sync\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.recovery.owner.scheduleSync\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Recovery actions\",\"subtitle\":\"Governed onboarding recovery outcomes\",\"message\":\"Use semantic recovery actions instead of host-authored onboarding access button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Confirm recovery plan\",\"icon\":\"check_circle\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.recovery.confirm\",\"payloadExpr\":\"${hire}\"}},{\"type\":\"actionButton\",\"label\":\"Request access reset\",\"icon\":\"restart_alt\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.recovery.access.reset\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate recovery risk\",\"subtitleExpr\":\"${hire.id}\",\"message\":\"Use actionCard when the onboarding host needs a governed escalation flow for unresolved access or equipment blockers.\",\"metaExpr\":\"${hire.blocker}\",\"ctaLabel\":\"Escalate recovery risk\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.recovery.escalate\",\"payloadExpr\":\"${hire}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.recovery.dossier.open\",\"payloadExpr\":\"${hire}\"}}]}]}}}}]}}",
|
|
4145
4255
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.onboarding-equipment-access-recovery-workbench.json",
|
|
@@ -4149,7 +4259,7 @@
|
|
|
4149
4259
|
"corpusVersion": "1.0.0"
|
|
4150
4260
|
},
|
|
4151
4261
|
{
|
|
4152
|
-
"chunkIndex":
|
|
4262
|
+
"chunkIndex": 128,
|
|
4153
4263
|
"chunkKind": "recipe",
|
|
4154
4264
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an onboarding journey workbench using portable rich-content blocks instead of host-authored journey templates.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"onboarding-journey-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an onboarding workbench with journey signals, assigned buddy context and governed next-step actions.\",\"examplePrompts\":[\"create an onboarding journey workbench\",\"show a governed onboarding rich content surface\",\"generate an onboarding page with buddy context and next-step actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable onboarding surface.\",\"hostMediation\":\"The host mediates hire lookup, buddy navigation and checklist flows through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same onboarding workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps onboarding signals, buddy context and governed actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model journey KPIs with statGroup instead of custom host progress cards.\",\"Model the selected hire with lookupCard when the record is resolved by host context.\",\"Model the assigned buddy with relatedRecord instead of host-authored relationship wrappers.\",\"Use ctaGroup and actionCard for governed onboarding actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"onboardingJourneyWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"person_add\",\"title\":\"Onboarding journey workbench\",\"subtitle\":\"Portable rich-content surface for governed onboarding flows\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"onboarding-journey-workbench\",\"context\":{\"hire\":{\"id\":\"ONB-301\",\"name\":\"Leonardo Ramos\",\"role\":\"Platform Engineer\",\"department\":\"Platform Engineering\",\"day\":\"D+3\",\"pendingTasks\":\"5\",\"equipment\":\"Awaiting delivery\",\"welcomeTrack\":\"Platform foundation\",\"reviewWindow\":\"Friday\"},\"buddy\":{\"name\":\"Marina Costa\",\"department\":\"Engineering enablement\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"person_add\",\"titleExpr\":\"${hire.name}\",\"message\":\"Use a portable onboarding surface when the host must expose governed journey actions without inventing onboarding-specific templates.\"},{\"type\":\"statGroup\",\"title\":\"Onboarding signals\",\"subtitle\":\"Canonical KPI block for onboarding journey surfaces\",\"layout\":\"grid\",\"items\":[{\"label\":\"Day\",\"valueExpr\":\"${hire.day}\",\"captionExpr\":\"${hire.department}\",\"icon\":\"event\"},{\"label\":\"Tasks left\",\"valueExpr\":\"${hire.pendingTasks}\",\"captionExpr\":\"${hire.welcomeTrack}\",\"icon\":\"task_alt\"},{\"label\":\"Equipment\",\"valueExpr\":\"${hire.equipment}\",\"caption\":\"Provisioning status\",\"icon\":\"laptop_mac\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected hire\",\"status\":\"resolved\",\"subtitleExpr\":\"${hire.name}\",\"metaExpr\":\"${hire.role}\",\"ctaLabel\":\"Open hire\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.hire.open\",\"payloadExpr\":\"${hire}\"},\"fields\":[{\"label\":\"Department\",\"valueExpr\":\"${hire.department}\"},{\"label\":\"Welcome track\",\"valueExpr\":\"${hire.welcomeTrack}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.dossier.open\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"tabs\",\"title\":\"Journey views\",\"subtitle\":\"Portable editorial tabs for onboarding context.\",\"appearance\":\"underline\",\"defaultTabId\":\"overview\",\"items\":[{\"id\":\"overview\",\"label\":\"Overview\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Tabs keep journey notes, provisioning context and first-week readiness inside the same RichContentDocument.\"}]},{\"id\":\"readiness\",\"label\":\"Readiness\",\"icon\":\"assignment_turned_in\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Review window\",\"valueExpr\":\"${hire.reviewWindow}\"},{\"label\":\"Equipment\",\"valueExpr\":\"${hire.equipment}\"},{\"label\":\"Portability rule\",\"value\":\"Keep journey semantics in the rich-content document; keep execution in the host.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Assigned buddy\",\"subtitleExpr\":\"${buddy.name}\",\"relationLabel\":\"Buddy\",\"metaExpr\":\"${buddy.department}\",\"ctaLabel\":\"Open buddy\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.buddy.open\",\"payloadExpr\":\"${buddy}\"},\"fields\":[{\"label\":\"Welcome track\",\"valueExpr\":\"${hire.welcomeTrack}\",\"hint\":\"Resolved from the current onboarding plan.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Schedule intro\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.buddy.scheduleIntro\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Journey actions\",\"subtitle\":\"Governed onboarding follow-up actions\",\"message\":\"Use semantic action clusters instead of host-authored onboarding button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Start checklist\",\"icon\":\"checklist\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.checklist.start\",\"payloadExpr\":\"${hire}\"}},{\"type\":\"actionButton\",\"label\":\"Request equipment\",\"icon\":\"inventory_2\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.equipment.request\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"actionCard\",\"title\":\"Open onboarding dossier\",\"subtitleExpr\":\"${hire.id}\",\"message\":\"Use actionCard when the onboarding host needs a governed dossier or coordinator workflow.\",\"metaExpr\":\"${hire.role}\",\"ctaLabel\":\"Open dossier\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.dossier.open\",\"payloadExpr\":\"${hire}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Escalate blocker\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.blocker.escalate\",\"payloadExpr\":\"${hire}\"}}]}]}}}}]}}",
|
|
4155
4265
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.onboarding-journey-workbench.json",
|
|
@@ -4159,7 +4269,7 @@
|
|
|
4159
4269
|
"corpusVersion": "1.0.0"
|
|
4160
4270
|
},
|
|
4161
4271
|
{
|
|
4162
|
-
"chunkIndex":
|
|
4272
|
+
"chunkIndex": 129,
|
|
4163
4273
|
"chunkKind": "recipe",
|
|
4164
4274
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an onboarding manager follow-up workbench using portable rich-content blocks for follow-up signals, manager context and governed follow-up actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"onboarding-manager-follow-up-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an onboarding manager follow-up workbench with follow-up signals, manager context, blocker tabs and governed coaching actions.\",\"examplePrompts\":[\"create an onboarding manager follow-up workbench\",\"show a governed onboarding manager follow-up rich content surface\",\"generate an onboarding page with follow-up signals and coaching actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable onboarding manager follow-up surface.\",\"hostMediation\":\"The host mediates open, confirm, coaching and escalate actions through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same onboarding manager follow-up workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps follow-up signals, selected hire context, manager context and governed follow-up actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model follow-up metrics with statGroup instead of host-authored manager cards.\",\"Model the selected hire with lookupCard when the host already resolved the follow-up context.\",\"Use tabs for summary and blockers instead of host-authored operational sections.\",\"Use relatedRecord, ctaGroup and actionCard for governed manager follow-up actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"onboardingManagerFollowUpWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"supervisor_account\",\"title\":\"Onboarding manager follow-up workbench\",\"subtitle\":\"Portable rich-content surface for governed manager follow-up\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"onboarding-manager-follow-up-workbench\",\"context\":{\"hire\":{\"id\":\"ONB-680\",\"name\":\"Bianca Torres\",\"role\":\"Product Analyst\",\"department\":\"Platform strategy\",\"focus\":\"First 30-day goals\",\"checkIns\":\"3\",\"openBlockers\":\"2\",\"sentiment\":\"7.8\",\"pulse\":\"Needs role clarity\"},\"manager\":{\"name\":\"Helena Souza\",\"department\":\"Engineering leadership\",\"lane\":\"30-day coaching plan\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"supervisor_account\",\"titleExpr\":\"${hire.name}\",\"message\":\"Use a portable onboarding manager follow-up surface when the host must expose governed coaching and manager follow-up actions without inventing onboarding-specific templates.\"},{\"type\":\"statGroup\",\"title\":\"Follow-up signals\",\"subtitle\":\"Canonical KPI block for onboarding manager follow-up surfaces\",\"layout\":\"grid\",\"items\":[{\"label\":\"Check-ins\",\"valueExpr\":\"${hire.checkIns}\",\"captionExpr\":\"${hire.id}\",\"icon\":\"event_note\"},{\"label\":\"Open blockers\",\"valueExpr\":\"${hire.openBlockers}\",\"caption\":\"Needs manager action\",\"icon\":\"warning\"},{\"label\":\"Sentiment\",\"valueExpr\":\"${hire.sentiment}\",\"captionExpr\":\"${hire.pulse}\",\"icon\":\"sentiment_satisfied\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected hire\",\"status\":\"resolved\",\"subtitleExpr\":\"${hire.name}\",\"metaExpr\":\"${hire.role}\",\"ctaLabel\":\"Open hire\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.followup.hire.open\",\"payloadExpr\":\"${hire}\"},\"fields\":[{\"label\":\"Department\",\"valueExpr\":\"${hire.department}\"},{\"label\":\"Current focus\",\"valueExpr\":\"${hire.focus}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.followup.dossier.open\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"tabs\",\"title\":\"Follow-up views\",\"subtitle\":\"Portable editorial tabs for manager notes and blockers.\",\"appearance\":\"underline\",\"defaultTabId\":\"summary\",\"items\":[{\"id\":\"summary\",\"label\":\"Summary\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Keep manager follow-up notes, pulse observations and enablement actions inside the same RichContentDocument.\"}]},{\"id\":\"blockers\",\"label\":\"Blockers\",\"icon\":\"warning\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Open blocker\",\"value\":\"Role expectations and stakeholder map still need clarification.\"},{\"label\":\"Follow-up rule\",\"value\":\"Escalate any blocker still unresolved after the second manager follow-up or any sentiment drop below 7.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Assigned manager\",\"subtitleExpr\":\"${manager.name}\",\"relationLabel\":\"Manager\",\"metaExpr\":\"${manager.department}\",\"ctaLabel\":\"Open manager\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.followup.manager.open\",\"payloadExpr\":\"${manager}\"},\"fields\":[{\"label\":\"Follow-up lane\",\"valueExpr\":\"${manager.lane}\",\"hint\":\"Resolved from the follow-up assignment context.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Schedule manager sync\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.followup.manager.scheduleSync\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Follow-up actions\",\"subtitle\":\"Governed onboarding follow-up outcomes\",\"message\":\"Use semantic follow-up actions instead of host-authored onboarding manager button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Confirm follow-up plan\",\"icon\":\"check_circle\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.followup.confirm\",\"payloadExpr\":\"${hire}\"}},{\"type\":\"actionButton\",\"label\":\"Request coaching update\",\"icon\":\"forum\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.followup.coaching.requestUpdate\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate onboarding risk\",\"subtitleExpr\":\"${hire.id}\",\"message\":\"Use actionCard when the onboarding host needs a governed escalation flow for unresolved manager follow-up risks.\",\"metaExpr\":\"${hire.pulse}\",\"ctaLabel\":\"Escalate follow-up risk\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.followup.escalate\",\"payloadExpr\":\"${hire}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.followup.dossier.open\",\"payloadExpr\":\"${hire}\"}}]}]}}}}]}}",
|
|
4165
4275
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.onboarding-manager-follow-up-workbench.json",
|
|
@@ -4169,7 +4279,7 @@
|
|
|
4169
4279
|
"corpusVersion": "1.0.0"
|
|
4170
4280
|
},
|
|
4171
4281
|
{
|
|
4172
|
-
"chunkIndex":
|
|
4282
|
+
"chunkIndex": 130,
|
|
4173
4283
|
"chunkKind": "recipe",
|
|
4174
4284
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an onboarding readiness workbench using portable rich-content blocks for first-week readiness, blockers and governed escalation actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"onboarding-readiness-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an onboarding readiness workbench with first-week signals, manager context, blocker tabs and governed follow-up actions.\",\"examplePrompts\":[\"create an onboarding readiness workbench\",\"show a governed onboarding readiness rich content surface\",\"generate an onboarding page with blockers and readiness actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable onboarding readiness surface.\",\"hostMediation\":\"The host mediates open, confirm, follow-up and escalate actions through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same onboarding readiness workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps readiness signals, selected hire context, blockers and escalation actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model first-week readiness metrics with statGroup instead of custom host progress cards.\",\"Model the selected hire with lookupCard when the host already resolved the readiness context.\",\"Use tabs for readiness and blockers instead of host-authored operational sections.\",\"Use relatedRecord, ctaGroup and actionCard for governed readiness and blocker actions; keep handlers out of the document.\",\"Do not serialize hostCapabilities in the page JSON; the host injects runtime mediation only while rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"onboardingReadinessWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"checklist\",\"title\":\"Onboarding readiness workbench\",\"subtitle\":\"Portable rich-content surface for governed first-week readiness\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"onboarding-readiness-workbench\",\"context\":{\"hire\":{\"id\":\"ONB-512\",\"name\":\"Bianca Torres\",\"role\":\"Product Analyst\",\"department\":\"Platform strategy\",\"startDate\":\"Monday\",\"readiness\":\"82%\",\"pendingEquipment\":\"2\",\"blocker\":\"Badge access and laptop delivery\",\"weekPlan\":\"Platform immersion\"},\"manager\":{\"name\":\"Helena Souza\",\"department\":\"Engineering leadership\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"checklist\",\"titleExpr\":\"${hire.name}\",\"message\":\"Use a portable onboarding readiness surface when the host must expose governed first-week actions without inventing onboarding-specific templates.\"},{\"type\":\"statGroup\",\"title\":\"Readiness signals\",\"subtitle\":\"Canonical KPI block for onboarding readiness surfaces\",\"layout\":\"grid\",\"items\":[{\"label\":\"Checklist\",\"valueExpr\":\"${hire.readiness}\",\"captionExpr\":\"${hire.id}\",\"icon\":\"checklist\"},{\"label\":\"Equipment\",\"valueExpr\":\"${hire.pendingEquipment}\",\"caption\":\"Pending deliveries\",\"icon\":\"laptop_mac\"},{\"label\":\"Start date\",\"valueExpr\":\"${hire.startDate}\",\"captionExpr\":\"${hire.department}\",\"icon\":\"event\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected hire\",\"status\":\"resolved\",\"subtitleExpr\":\"${hire.name}\",\"metaExpr\":\"${hire.role}\",\"ctaLabel\":\"Open hire\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.readiness.hire.open\",\"payloadExpr\":\"${hire}\"},\"fields\":[{\"label\":\"Department\",\"valueExpr\":\"${hire.department}\"},{\"label\":\"Start date\",\"valueExpr\":\"${hire.startDate}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.readiness.dossier.open\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"tabs\",\"title\":\"Readiness views\",\"subtitle\":\"Portable editorial tabs for readiness and blockers.\",\"appearance\":\"underline\",\"defaultTabId\":\"readiness\",\"items\":[{\"id\":\"readiness\",\"label\":\"Readiness\",\"icon\":\"task_alt\",\"content\":[{\"type\":\"text\",\"text\":\"Tabs keep first-week readiness notes, blockers and operational evidence inside the same RichContentDocument.\"}]},{\"id\":\"blockers\",\"label\":\"Blockers\",\"icon\":\"warning\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Pending item\",\"valueExpr\":\"${hire.blocker}\"},{\"label\":\"Readiness rule\",\"value\":\"Escalate any blocker that still exists by day two or blocks manager onboarding milestones.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Assigned manager\",\"subtitleExpr\":\"${manager.name}\",\"relationLabel\":\"Manager\",\"metaExpr\":\"${manager.department}\",\"ctaLabel\":\"Open manager\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.readiness.manager.open\",\"payloadExpr\":\"${manager}\"},\"fields\":[{\"label\":\"Week one plan\",\"valueExpr\":\"${hire.weekPlan}\",\"hint\":\"Resolved from the readiness assignment context.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Schedule check-in\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.readiness.manager.scheduleCheckIn\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Readiness actions\",\"subtitle\":\"Governed onboarding readiness outcomes\",\"message\":\"Use semantic readiness actions instead of host-authored onboarding button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Confirm readiness\",\"icon\":\"check_circle\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.readiness.confirm\",\"payloadExpr\":\"${hire}\"}},{\"type\":\"actionButton\",\"label\":\"Request equipment follow-up\",\"icon\":\"inventory\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.readiness.equipment.followUp\",\"payloadExpr\":\"${hire}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate onboarding blocker\",\"subtitleExpr\":\"${hire.id}\",\"message\":\"Use actionCard when the onboarding host needs a governed blocker escalation flow.\",\"metaExpr\":\"${hire.blocker}\",\"ctaLabel\":\"Escalate blocker\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"onboarding.readiness.blocker.escalate\",\"payloadExpr\":\"${hire}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"onboarding.readiness.dossier.open\",\"payloadExpr\":\"${hire}\"}}]}]}}}}]}}",
|
|
4175
4285
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.onboarding-readiness-workbench.json",
|
|
@@ -4179,7 +4289,7 @@
|
|
|
4179
4289
|
"corpusVersion": "1.0.0"
|
|
4180
4290
|
},
|
|
4181
4291
|
{
|
|
4182
|
-
"chunkIndex":
|
|
4292
|
+
"chunkIndex": 131,
|
|
4183
4293
|
"chunkKind": "recipe",
|
|
4184
4294
|
"content": "{\"_comment\":\"Recipe para agentes criarem uma Praxis Dynamic Page com um perfil rico em praxis-dynamic-form.\",\"_comment2\":\"Use quando a meta for demonstrar sections, fieldMetadata, readonly detail, remote options e field-specific controls.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"profile-form\",\"status\":\"public-example\",\"useWhen\":\"Create a metadata-driven readonly profile page backed by a published resource detail endpoint.\",\"examplePrompts\":[\"crie um perfil rico de funcionario com dynamic form\",\"mostre sections e fieldMetadata no praxis-dynamic-form\",\"gere uma pagina de detalhe readonly com avatar, cpf, email, telefone, salario e options remotas\"]},\"platformValue\":{\"canonicalContract\":\"praxis-metadata-starter publishes the resource detail schema and option metadata consumed by the form runtime.\",\"referenceApi\":\"praxis-api-quickstart serves funcionarios detail data and cargo/departamento option endpoints.\",\"angularRuntime\":\"@praxisui/dynamic-form renders sections, fieldMetadata and action placement; @praxisui/dynamic-fields resolves package-owned controls.\",\"publicExamples\":\"praxis-ui-landing-page exposes the JSON envelope, runtime preview and coverage map.\",\"agentCorpus\":\"This recipe gives LLMs a copyable end-to-end form profile pattern.\"},\"operationalEvidence\":{\"baseUrl\":\"https://praxis-api-quickstart.onrender.com\",\"safeFirstIds\":[\"filtered-schema-response-funcionarios\",\"funcionarios-get-by-id\",\"cargos-options-filter\",\"departamentos-options-filter\"],\"pendingHttpIds\":[],\"httpExamples\":[\"praxisui-http-examples/http/metadata/filtered_schema_response_funcionarios.http\",\"praxisui-http-examples/http/resources/funcionarios_get_by_id.http\",\"praxisui-http-examples/http/resources/cargos_options_filter.http\",\"praxisui-http-examples/http/resources/departamentos_options_filter.http\"]},\"authoringGuidance\":[\"Use praxis-dynamic-form config.sections for the visual layout and fieldMetadata for field behavior.\",\"Keep fieldMetadata.name aligned to fields present in the published response schema.\",\"Use package-owned Dynamic Fields control types already present in the runtime/editorial catalog.\",\"Use readonly mode and readonly field metadata for profile/detail surfaces that should not mutate data.\",\"Use asyncSelect with canonical option endpoints for foreign-key labels such as cargoId and departamentoId.\",\"Use actions.placement and actions.position to show form action bar layout without turning the example into CRUD.\"],\"teaches\":[\"dynamic-form.sections\",\"dynamic-form.fieldMetadata\",\"dynamic-form.actions\",\"dynamic-fields.avatar\",\"dynamic-fields.cpfCnpjInput\",\"dynamic-fields.phone\",\"dynamic-fields.currency\",\"dynamic-fields.asyncSelect\",\"dynamic-fields.toggle\",\"remote-options\",\"readonly-detail\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"funcionarioProfileForm\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"badge\",\"title\":\"Funcionario profile\",\"subtitle\":\"Sectioned readonly form with field-specific controls\"},\"definition\":{\"id\":\"praxis-dynamic-form\",\"bindingOrder\":[\"config\",\"resourcePath\",\"formId\",\"resourceId\"],\"inputs\":{\"formId\":\"human-resources-funcionarios-profile\",\"resourcePath\":\"human-resources/funcionarios\",\"resourceId\":1,\"mode\":\"view\",\"config\":{\"metadata\":{\"name\":\"Funcionario profile surface\",\"version\":\"1.0.0\"},\"sections\":[{\"id\":\"identity\",\"title\":\"Identity\",\"description\":\"Core employee identity and contact data.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"identity-row-main\",\"columns\":[{\"id\":\"identity-avatar\",\"span\":{\"md\":3,\"lg\":3},\"fields\":[\"fotoPerfilUrl\",\"ativo\"]},{\"id\":\"identity-primary\",\"span\":{\"md\":9,\"lg\":9},\"fields\":[\"nomeCompleto\",\"cpf\",\"email\",\"telefone\"]}]}]},{\"id\":\"assignment\",\"title\":\"Assignment\",\"description\":\"Role, department and compensation metadata.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"assignment-row-1\",\"columns\":[{\"id\":\"assignment-role\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"cargoId\",\"departamentoId\"]},{\"id\":\"assignment-payroll\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"salario\",\"dataAdmissao\"]}]}]},{\"id\":\"personal\",\"title\":\"Personal\",\"description\":\"Civil status and birth metadata kept readonly in this surface.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"personal-row-1\",\"columns\":[{\"id\":\"personal-main\",\"fields\":[\"estadoCivil\",\"dataNascimento\"]}]}]}],\"fieldMetadata\":[{\"name\":\"fotoPerfilUrl\",\"label\":\"Avatar\",\"controlType\":\"avatar\",\"imageField\":\"fotoPerfilUrl\",\"readonly\":true},{\"name\":\"nomeCompleto\",\"label\":\"Nome Completo\",\"controlType\":\"input\",\"validators\":{\"required\":true,\"maxLength\":160},\"readonly\":true},{\"name\":\"cpf\",\"label\":\"CPF\",\"controlType\":\"cpfCnpjInput\",\"maskType\":\"cpf\",\"unmaskOnSubmit\":true,\"readonly\":true},{\"name\":\"email\",\"label\":\"Email\",\"controlType\":\"email\",\"validators\":{\"email\":true},\"readonly\":true},{\"name\":\"telefone\",\"label\":\"Telefone\",\"controlType\":\"phone\",\"maskType\":\"phone\",\"readonly\":true},{\"name\":\"cargoId\",\"label\":\"Cargo\",\"controlType\":\"asyncSelect\",\"endpoint\":\"/api/human-resources/cargos/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\",\"readonly\":true},{\"name\":\"departamentoId\",\"label\":\"Departamento\",\"controlType\":\"asyncSelect\",\"endpoint\":\"/api/human-resources/departamentos/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\",\"readonly\":true},{\"name\":\"salario\",\"label\":\"Salario\",\"controlType\":\"currency\",\"currencyCode\":\"BRL\",\"locale\":\"pt-BR\",\"readonly\":true},{\"name\":\"dataAdmissao\",\"label\":\"Data de Admissao\",\"controlType\":\"date\",\"readonly\":true},{\"name\":\"estadoCivil\",\"label\":\"Estado Civil\",\"controlType\":\"select\",\"options\":[{\"label\":\"Solteiro\",\"value\":\"SOLTEIRO\"},{\"label\":\"Casado\",\"value\":\"CASADO\"},{\"label\":\"Divorciado\",\"value\":\"DIVORCIADO\"},{\"label\":\"Viuvo\",\"value\":\"VIUVO\"}],\"readonly\":true},{\"name\":\"dataNascimento\",\"label\":\"Data de Nascimento\",\"controlType\":\"date\",\"readonly\":true},{\"name\":\"ativo\",\"label\":\"Ativo\",\"controlType\":\"toggle\",\"readonly\":true}],\"actions\":{\"submit\":{\"id\":\"request-update\",\"label\":\"Request update\",\"visible\":false,\"type\":\"submit\"},\"cancel\":{\"id\":\"close-profile\",\"label\":\"Close\",\"visible\":true,\"type\":\"button\"},\"reset\":{\"id\":\"reset-profile\",\"label\":\"Reset\",\"visible\":false,\"type\":\"reset\"},\"position\":\"right\",\"placement\":\"afterSections\",\"spacing\":\"compact\"}}}}}]}}",
|
|
4185
4295
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.profile-form.json",
|
|
@@ -4189,7 +4299,7 @@
|
|
|
4189
4299
|
"corpusVersion": "1.0.0"
|
|
4190
4300
|
},
|
|
4191
4301
|
{
|
|
4192
|
-
"chunkIndex":
|
|
4302
|
+
"chunkIndex": 132,
|
|
4193
4303
|
"chunkKind": "recipe",
|
|
4194
4304
|
"content": "{\"_comment\":\"Live remote Praxis Dynamic Page recipe with a Praxis List widget backed only by a published quickstart resourcePath.\",\"_comment2\":\"Use this when an agent needs an end-to-end copyable contract: Dynamic Page + List + GenericCrudService.filter + rich expansion + HATEOAS follow-up actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"remote-list\",\"useWhen\":\"Create a dynamic page with a live remote list widget backed by dataSource.resourcePath and rich-content item expansion.\",\"examplePrompts\":[\"page with remote list from resourcePath\",\"list mission participants from the quickstart API\",\"copyable dynamic page with Praxis List, backend pagination and rich item expansion\"],\"requires\":[\"@praxisui/core\",\"@praxisui/list\",\"GenericCrudService\",\"POST /api/{resourcePath}/filter\"]},\"api\":{\"origin\":\"https://praxis-api-quickstart.onrender.com\",\"baseUrl\":\"https://praxis-api-quickstart.onrender.com/api\",\"schemasBaseUrl\":\"https://praxis-api-quickstart.onrender.com/schemas\",\"resourcePath\":\"operations/missao-participantes\",\"resourceKey\":\"operations.missao-participantes\"},\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"remoteMissionParticipantList\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"groups\",\"title\":\"Mission participants\",\"subtitle\":\"Remote quickstart resourcePath with pageable filter data\",\"actions\":[{\"id\":\"toggle-list-customization\",\"label\":\"Customize list\",\"tooltip\":\"Enable or disable list customization mode\",\"icon\":\"toggle_off\",\"pressedIcon\":\"toggle_on\",\"variant\":\"icon\",\"placement\":\"header\",\"command\":\"pdx:toggle-input\",\"pressed\":\"${widget.inputs.enableCustomization}\",\"payload\":{\"input\":\"enableCustomization\"}}]},\"definition\":{\"id\":\"praxis-list\",\"bindingOrder\":[\"listId\",\"componentInstanceId\",\"enableCustomization\",\"config\"],\"inputs\":{\"listId\":\"remote-mission-participant-list-live\",\"componentInstanceId\":\"dynamic-page-live-remote\",\"enableCustomization\":false,\"config\":{\"id\":\"remote-mission-participant-list-live-config\",\"dataSource\":{\"resourcePath\":\"operations/missao-participantes\",\"query\":{},\"sort\":[\"ordem,asc\"]},\"layout\":{\"variant\":\"list\",\"density\":\"comfortable\",\"lines\":3,\"dividers\":\"between\",\"pageSize\":8,\"rowLayout\":{\"type\":\"grid\",\"columns\":[{\"slot\":\"leading\",\"width\":\"44px\",\"align\":\"center\"},{\"slot\":\"primary\",\"width\":\"minmax(180px, 1fr)\"},{\"slot\":\"secondary\",\"width\":\"minmax(220px, 1.2fr)\"},{\"slot\":\"meta\",\"width\":\"140px\",\"align\":\"center\"},{\"slot\":\"trailing\",\"width\":\"120px\",\"align\":\"center\"},{\"slot\":\"actions\",\"width\":\"92px\",\"align\":\"center\"}],\"gap\":\"12px\",\"align\":\"center\"}},\"skin\":{\"type\":\"outline\",\"radius\":\"8px\",\"border\":\"1px solid rgba(20, 184, 166, 0.32)\"},\"selection\":{\"mode\":\"multiple\",\"compareBy\":\"funcionarioId\",\"return\":\"id\"},\"interaction\":{\"expandable\":true,\"expandTrigger\":\"icon\",\"expandMode\":\"single\",\"expandPlacement\":\"actions\"},\"templating\":{\"leading\":{\"type\":\"icon\",\"expr\":\"groups\"},\"primary\":{\"type\":\"text\",\"expr\":\"${item.funcionarioNome}\"},\"secondary\":{\"type\":\"text\",\"expr\":\"${item.missaoTitulo}\"},\"meta\":{\"type\":\"chip\",\"expr\":\"${item.papel}\",\"variant\":\"outlined\"},\"trailing\":{\"type\":\"chip\",\"expr\":\"${item.resultado}\",\"variant\":\"filled\"},\"features\":[{\"type\":\"chip\",\"expr\":\"missao #${item.missaoId}\",\"variant\":\"outlined\"},{\"type\":\"chip\",\"expr\":\"funcionario #${item.funcionarioId}\",\"variant\":\"outlined\"}],\"featuresMode\":\"labels-only\",\"emptyState\":{\"type\":\"text\",\"expr\":\"No mission participants returned by the quickstart filter.\"}},\"expansion\":{\"sections\":[{\"id\":\"mission-participant-detail\",\"title\":\"Mission participant detail\",\"type\":\"rich-content\",\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"id\":\"relationship-summary\",\"type\":\"propertySheet\",\"title\":\"Relationship\",\"columns\":2,\"items\":[{\"id\":\"participant\",\"label\":\"Participant\",\"valueExpr\":\"${item.funcionarioNome}\",\"icon\":\"person\"},{\"id\":\"mission\",\"label\":\"Mission\",\"valueExpr\":\"${item.missaoTitulo}\",\"icon\":\"flag\"},{\"id\":\"role\",\"label\":\"Role\",\"valueExpr\":\"${item.papel}\",\"icon\":\"military_tech\",\"tone\":\"info\"},{\"id\":\"result\",\"label\":\"Result\",\"valueExpr\":\"${item.resultado}\",\"icon\":\"verified\",\"tone\":\"success\"}]},{\"id\":\"hateoas-actions\",\"type\":\"actionCard\",\"title\":\"Governed API context\",\"subtitle\":\"HATEOAS links are available for this item without exposing raw JSON in the UI.\",\"message\":\"Use the list actions to inspect surfaces or capabilities from the same canonical resource.\",\"icon\":\"hub\",\"ctaLabel\":\"Inspect capabilities\",\"ctaIcon\":\"bolt\",\"variant\":\"stroked\",\"color\":\"primary\",\"action\":{\"actionId\":\"missionParticipant.inspectCapabilities\",\"payloadExpr\":\"${item._links.capabilities.href}\"}}]}}],\"rendering\":{\"shell\":\"attached\",\"columns\":1,\"gap\":\"12px\",\"padding\":\"12px\"}},\"actions\":[{\"id\":\"open-participant-surfaces\",\"icon\":\"layers\",\"label\":\"Surfaces\",\"kind\":\"icon\",\"globalAction\":{\"actionId\":\"surface.open\",\"payload\":{\"presentation\":\"modal\",\"title\":\"Participant surfaces\",\"icon\":\"layers\",\"subtitle\":\"Governed follow-up surfaces for the selected participant\",\"size\":{\"width\":\"720px\",\"maxWidth\":\"90vw\"},\"widget\":{\"id\":\"widget:rich-text-block\",\"inputs\":{\"title\":\"Published surfaces for ${item.funcionarioNome}\",\"content\":\"The selected participant belongs to ${item.missaoTitulo}. Surface actions should open governed runtime projections instead of leaving row buttons as inert local events. Capability link: ${item._links.capabilities.href}\",\"variant\":\"emphasis\"}}}},\"emitLocal\":false,\"showLoading\":true,\"placement\":\"actions\"},{\"id\":\"inspect-participant-capabilities\",\"icon\":\"bolt\",\"label\":\"Capabilities\",\"kind\":\"icon\",\"globalAction\":{\"actionId\":\"surface.open\",\"payload\":{\"presentation\":\"modal\",\"title\":\"Participant capabilities\",\"icon\":\"bolt\",\"subtitle\":\"Canonical capabilities entrypoint for the selected participant\",\"size\":{\"width\":\"720px\",\"maxWidth\":\"90vw\"},\"widget\":{\"id\":\"widget:rich-text-block\",\"inputs\":{\"title\":\"Capabilities for ${item.funcionarioNome}\",\"content\":\"Use the canonical HATEOAS capabilities link to inspect the operations available for this participant: ${item._links.capabilities.href}. The list action is executed through surface.open, so the runtime gives immediate feedback without host-local action glue.\",\"variant\":\"emphasis\"}}}},\"emitLocal\":false,\"showLoading\":true,\"placement\":\"actions\"}],\"ui\":{\"showSearch\":false,\"showSort\":true,\"sortOptions\":[{\"label\":\"ID\",\"value\":\"id,asc\"},{\"label\":\"Role\",\"value\":\"papel,asc\"}],\"showRange\":true},\"a11y\":{\"ariaLabel\":\"Remote mission participants list\"}}},\"outputs\":{\"itemClick\":\"emit\",\"actionClick\":\"emit\",\"selectionChange\":\"emit\"}}}]}}",
|
|
4195
4305
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.remote-list.json",
|
|
@@ -4199,7 +4309,7 @@
|
|
|
4199
4309
|
"corpusVersion": "1.0.0"
|
|
4200
4310
|
},
|
|
4201
4311
|
{
|
|
4202
|
-
"chunkIndex":
|
|
4312
|
+
"chunkIndex": 133,
|
|
4203
4313
|
"chunkKind": "recipe",
|
|
4204
4314
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment\",\"_comment\":\"Praxis Dynamic Page recipe that demonstrates praxis-rich-content as a reusable knowledge surface for policy, metrics, timelines and AI-readable operational guidance.\"}",
|
|
4205
4315
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4209,7 +4319,7 @@
|
|
|
4209
4319
|
"corpusVersion": "1.0.0"
|
|
4210
4320
|
},
|
|
4211
4321
|
{
|
|
4212
|
-
"chunkIndex":
|
|
4322
|
+
"chunkIndex": 134,
|
|
4213
4323
|
"chunkKind": "recipe",
|
|
4214
4324
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"templateMeta\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"rich-content-knowledge-surface\",\"status\":\"public-example\",\"useWhen\":\"Create a Dynamic Page with rich presentation surfaces and host-mediated actions instead of custom explanatory Angular templates.\",\"examplePrompts\":[\"create a dynamic page with a rich policy briefing\",\"show praxis-rich-content with metrics and timeline\",\"generate an AI-readable knowledge surface\",\"show host-mediated rich content actions in dynamic page\"]}}",
|
|
4215
4325
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4219,7 +4329,7 @@
|
|
|
4219
4329
|
"corpusVersion": "1.0.0"
|
|
4220
4330
|
},
|
|
4221
4331
|
{
|
|
4222
|
-
"chunkIndex":
|
|
4332
|
+
"chunkIndex": 135,
|
|
4223
4333
|
"chunkKind": "recipe",
|
|
4224
4334
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"platformValue\",\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns RichContentDocument rendering.\",\"hostMediation\":\"praxis-dynamic-page injects hostCapabilities at runtime for hosted praxis-rich-content widgets.\",\"publicExamples\":\"praxis-ui-landing-page exposes the live preview and inspector JSON.\",\"agentCorpus\":\"This recipe keeps agents on portable nodes, separates rich presentation from editable data widgets and makes host-mediated actions explicit without serializing runtime helpers.\"}}",
|
|
4225
4335
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4229,7 +4339,7 @@
|
|
|
4229
4339
|
"corpusVersion": "1.0.0"
|
|
4230
4340
|
},
|
|
4231
4341
|
{
|
|
4232
|
-
"chunkIndex":
|
|
4342
|
+
"chunkIndex": 136,
|
|
4233
4343
|
"chunkKind": "recipe",
|
|
4234
4344
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringGuidance\",\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Pass a canonical document through inputs.document for block surfaces.\",\"Pass inputs.nodes plus layout \\\"inline\\\" for compact ribbons or cell-style content.\",\"Use context and *Expr fields for host-state interpolation.\",\"Use actionButton plus action.actionId when the host should mediate an action instead of embedding handler code in the document.\",\"Use action.confirmMessage for governed confirmation. Hosted praxis-rich-content calls hostCapabilities.confirmAction first and fails closed without dispatch when the host omits or rejects confirmation.\",\"Use requiresCapabilities for nodes that should appear only when the hosting runtime exposes the required capability snapshot.\",\"Do not serialize hostCapabilities inside the page JSON; praxis-dynamic-page injects that runtime capability bridge only while rendering hosted praxis-rich-content widgets.\",\"Do not use rich-content as a replacement for table rows, form fields or list records.\"]}",
|
|
4235
4345
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4239,7 +4349,7 @@
|
|
|
4239
4349
|
"corpusVersion": "1.0.0"
|
|
4240
4350
|
},
|
|
4241
4351
|
{
|
|
4242
|
-
"chunkIndex":
|
|
4352
|
+
"chunkIndex": 137,
|
|
4243
4353
|
"chunkKind": "recipe",
|
|
4244
4354
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"}}}",
|
|
4245
4355
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4249,7 +4359,7 @@
|
|
|
4249
4359
|
"corpusVersion": "1.0.0"
|
|
4250
4360
|
},
|
|
4251
4361
|
{
|
|
4252
|
-
"chunkIndex":
|
|
4362
|
+
"chunkIndex": 138,
|
|
4253
4363
|
"chunkKind": "recipe",
|
|
4254
4364
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[0]\",\"fragmentPath\":\"page.widgets[0]\",\"fragmentIdentity\":{\"key\":\"missionKnowledgeBriefing\"},\"fragment\":{\"key\":\"missionKnowledgeBriefing\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"article\",\"title\":\"Mission knowledge briefing\",\"subtitle\":\"Policy, metrics and timeline authored as RichContentDocument\"}}}",
|
|
4255
4365
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4259,7 +4369,7 @@
|
|
|
4259
4369
|
"corpusVersion": "1.0.0"
|
|
4260
4370
|
},
|
|
4261
4371
|
{
|
|
4262
|
-
"chunkIndex":
|
|
4372
|
+
"chunkIndex": 139,
|
|
4263
4373
|
"chunkKind": "recipe",
|
|
4264
4374
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[0].definition\",\"fragmentPath\":\"page.widgets[0].definition\",\"fragmentIdentity\":{\"key\":\"missionKnowledgeBriefing\",\"id\":\"praxis-rich-content\"},\"fragment\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"]}}",
|
|
4265
4375
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4269,7 +4379,7 @@
|
|
|
4269
4379
|
"corpusVersion": "1.0.0"
|
|
4270
4380
|
},
|
|
4271
4381
|
{
|
|
4272
|
-
"chunkIndex":
|
|
4382
|
+
"chunkIndex": 140,
|
|
4273
4383
|
"chunkKind": "recipe",
|
|
4274
4384
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[0].definition.inputs\",\"fragmentPath\":\"page.widgets[0].definition.inputs\",\"fragmentIdentity\":{\"key\":\"missionKnowledgeBriefing\",\"id\":\"praxis-rich-content\"},\"fragment\":{\"layout\":\"block\",\"rootClassName\":\"dynamic-page-rich-content-knowledge-surface\",\"context\":{\"mission\":{\"name\":\"Operation Dawn Gate\",\"owner\":\"Ariadne Ops\",\"readiness\":82,\"risk\":\"Elevated\",\"semanticRisk\":\"medium\",\"governanceStatus\":\"published\",\"region\":\"South Atlantic\"},\"policy\":{\"owner\":\"Platform Governance\",\"version\":\"2026.04\",\"source\":\"Quickstart reference contract\",\"lastReviewed\":\"2026-04-18\",\"cueCount\":3,\"cueCaption\":\"governed cues\"}}}}",
|
|
4275
4385
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4279,7 +4389,7 @@
|
|
|
4279
4389
|
"corpusVersion": "1.0.0"
|
|
4280
4390
|
},
|
|
4281
4391
|
{
|
|
4282
|
-
"chunkIndex":
|
|
4392
|
+
"chunkIndex": 141,
|
|
4283
4393
|
"chunkKind": "recipe",
|
|
4284
4394
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[0].definition.inputs.document\",\"fragmentPath\":\"page.widgets[0].definition.inputs.document\",\"fragmentIdentity\":{\"key\":\"missionKnowledgeBriefing\",\"id\":\"praxis-rich-content\",\"kind\":\"praxis.rich-content\"},\"fragment\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\"}}",
|
|
4285
4395
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4289,7 +4399,7 @@
|
|
|
4289
4399
|
"corpusVersion": "1.0.0"
|
|
4290
4400
|
},
|
|
4291
4401
|
{
|
|
4292
|
-
"chunkIndex":
|
|
4402
|
+
"chunkIndex": 142,
|
|
4293
4403
|
"chunkKind": "recipe",
|
|
4294
4404
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[0].definition.inputs.document.nodes\",\"fragmentPath\":\"page.widgets[0].definition.inputs.document.nodes\",\"fragmentIdentity\":{\"key\":\"missionKnowledgeBriefing\",\"id\":\"praxis-rich-content\",\"kind\":\"praxis.rich-content\"},\"fragment\":[{\"id\":\"governed-decision-brief\",\"type\":\"decisionPackage\",\"titleExpr\":\"${mission.name}\",\"subtitleExpr\":\"${policy.source}\",\"summary\":\"Governed semantic briefing authored from the reference contract: readiness, risk, owner and policy version stay portable as one RichContentDocument while the host owns runtime actions.\",\"statusExpr\":\"${mission.governanceStatus}\",\"ownerExpr\":\"${policy.owner}\",\"policySourceExpr\":\"${policy.source}\",\"versionExpr\":\"${policy.version}\",\"confidenceExpr\":\"${mission.readiness}\",\"riskExpr\":\"${mission.semanticRisk}\",\"lastReviewedExpr\":\"${policy.lastReviewed}\",\"evidence\":[{\"id\":\"quickstart-contract\",\"label\":\"Reference contract\",\"source\":\"schemas.filtered\"},{\"id\":\"ai-authoring\",\"label\":\"AI-authored decision\",\"source\":\"RichContentDocument\"}],\"primaryAction\":{\"type\":\"actionButton\",\"label\":\"Inspect decision package\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"mission.decision.inspect\"}},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open evidence\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"mission.evidence.open\"}}],\"accessibility\":{\"role\":\"article\",\"ariaLabel\":\"Governed semantic decision briefing\"}},{\"type\":\"card\",\"title\":\"Compact policy note\",\"subtitle\":\"Outlined / neutral / compact / leading icon\",\"variant\":\"outlined\",\"tone\":\"neutral\",\"size\":\"sm\",\"density\":\"compact\",\"orientation\":\"horizontal\",\"media\":{\"kind\":\"icon\",\"icon\":\"policy\",\"label\":\"Policy note\",\"placement\":\"leading\"},\"accessibility\":{\"role\":\"group\",\"ariaLabel\":\"Compact neutral policy card with leading policy icon\"},\"content\":[{\"type\":\"text\",\"text\":\"Dense policy hints can stay readable when media, tags and body copy are balanced inside one portable card.\"},{\"type\":\"compose\",\"wrap\":true,\"gap\":\"xs\",\"items\":[{\"type\":\"badge\",\"label\":\"policy hint\"},{\"type\":\"badge\",\"label\":\"dense\"},{\"type\":\"badge\",\"label\":\"portable\"}]},{\"type\":\"metric\",\"label\":\"Signal\",\"valueExpr\":\"${policy.cueCount}\",\"captionExpr\":\"${policy.cueCaption}\"}]},{\"type\":\"card\",\"title\":\"Reusable decision package\",\"subtitle\":\"Filled / success / selectable\",\"variant\":\"filled\",\"tone\":\"success\",\"size\":\"md\",\"density\":\"comfortable\",\"orientation\":\"horizontal\",\"active\":true,\"media\":{\"kind\":\"image\",\"src\":\"/examples/rich-content/reusable-decision-package-portrait.png\",\"alt\":\"Generated portrait of a verified reusable decision package with approval lineage\",\"placement\":\"leading\",\"aspectRatio\":\"3 / 4\"},\"interaction\":{\"mode\":\"selectable\",\"selected\":true},\"accessibility\":{\"role\":\"button\",\"ariaLabel\":\"Selected reusable decision package card\"},\"content\":[{\"type\":\"text\",\"text\":\"Selectable cards can express governed choices while keeping the host responsible for persistence and action routing.\"},{\"type\":\"compose\",\"wrap\":true,\"gap\":\"sm\",\"items\":[{\"type\":\"badge\",\"label\":\"selected\"},{\"type\":\"badge\",\"label\":\"active\"},{\"type\":\"badge\",\"label\":\"portrait media\"},{\"type\":\"badge\",\"label\":\"92% confidence\"}]}]},{\"type\":\"card\",\"title\":\"Risk review checkpoint\",\"subtitle\":\"Transparent / warning / top generated media\",\"variant\":\"transparent\",\"tone\":\"warning\",\"size\":\"md\",\"density\":\"comfortable\",\"orientation\":\"vertical\",\"media\":{\"kind\":\"image\",\"src\":\"/examples/rich-content/risk-review-checkpoint.png\",\"alt\":\"Generated warning checkpoint dashboard with audit trail and review markers\",\"placement\":\"top\",\"aspectRatio\":\"21 / 9\"},\"headerAction\":{\"type\":\"actionButton\",\"label\":\"Review\",\"icon\":\"rule\",\"variant\":\"stroked\",\"color\":\"accent\",\"action\":{\"actionId\":\"reviewRiskCheckpoint\",\"payload\":{\"source\":\"rich-content-card-gallery\",\"checkpoint\":\"risk-review\"}}},\"accessibility\":{\"role\":\"article\",\"ariaLabel\":\"Risk review checkpoint card with generated warning image\"},\"content\":[{\"type\":\"compose\",\"wrap\":true,\"gap\":\"sm\",\"items\":[{\"type\":\"badge\",\"label\":\"warning\"},{\"type\":\"badge\",\"label\":\"generated image\"},{\"type\":\"badge\",\"label\":\"header action\"}]},{\"type\":\"text\",\"text\":\"Header actions keep secondary affordances visible without turning every card into a host-specific wrapper.\"}]},{\"type\":\"card\",\"title\":\"Escalation context\",\"subtitle\":\"Plain / danger / background media\",\"variant\":\"plain\",\"tone\":\"danger\",\"size\":\"sm\",\"density\":\"compact\",\"orientation\":\"vertical\",\"media\":{\"kind\":\"image\",\"src\":\"/examples/rich-content/danger-escalation-gate.png\",\"alt\":\"Generated blocked decision package paused behind a red escalation gate\",\"placement\":\"background\",\"aspectRatio\":\"21 / 9\"},\"accessibility\":{\"role\":\"article\",\"ariaLabel\":\"Plain danger escalation context card with background icon\"},\"content\":[{\"type\":\"text\",\"text\":\"Use danger tone for blocked or escalated decisions that need immediate human attention before publication.\"},{\"type\":\"compose\",\"wrap\":true,\"gap\":\"xs\",\"items\":[{\"type\":\"icon\",\"icon\":\"priority_high\",\"ariaLabel\":\"High priority\"},{\"type\":\"badge\",\"label\":\"danger\"},{\"type\":\"badge\",\"label\":\"generated background\"}]}]},{\"type\":\"card\",\"title\":\"Published visual evidence\",\"subtitle\":\"Elevated / info / image media\",\"variant\":\"elevated\",\"tone\":\"info\",\"size\":\"md\",\"density\":\"comfortable\",\"orientation\":\"vertical\",\"media\":{\"kind\":\"image\",\"src\":\"/examples/rich-content/governed-evidence-publication.png\",\"alt\":\"Generated governed evidence publication surface with verified decision document\",\"placement\":\"top\",\"aspectRatio\":\"21 / 9\"},\"accessibility\":{\"role\":\"article\",\"ariaLabel\":\"Info card with top image media\"},\"content\":[{\"type\":\"compose\",\"wrap\":true,\"gap\":\"sm\",\"items\":[{\"type\":\"badge\",\"label\":\"image\"},{\"type\":\"badge\",\"label\":\"top media\"},{\"type\":\"badge\",\"label\":\"elevated\"}]},{\"type\":\"text\",\"text\":\"Image media is useful for evidence cards, product explainers and visual attachments without leaving the canonical document contract.\"}]},{\"type\":\"card\",\"title\":\"Governed next step\",\"subtitle\":\"Outlined / action mode / button semantics\",\"variant\":\"outlined\",\"tone\":\"success\",\"size\":\"md\",\"density\":\"comfortable\",\"orientation\":\"horizontal\",\"media\":{\"kind\":\"icon\",\"icon\":\"rocket_launch\",\"label\":\"Publish\",\"placement\":\"leading\"},\"interaction\":{\"mode\":\"action\",\"action\":{\"actionId\":\"publishDecisionPreview\",\"payload\":{\"source\":\"rich-content-card-gallery\",\"step\":\"publish-preview\"}}},\"accessibility\":{\"role\":\"button\",\"ariaLabel\":\"Publish decision preview action card\"},\"content\":[{\"type\":\"text\",\"text\":\"Action cards can be keyboard-focusable semantic buttons while the host still owns authorization, routing and side effects.\"},{\"type\":\"compose\",\"wrap\":true,\"gap\":\"xs\",\"items\":[{\"type\":\"badge\",\"label\":\"action\"},{\"type\":\"badge\",\"label\":\"keyboard ready\"},{\"type\":\"badge\",\"label\":\"host mediated\"}]}]},{\"type\":\"card\",\"title\":\"Quiet reference card\",\"subtitle\":\"Transparent / neutral / trailing avatar\",\"variant\":\"transparent\",\"tone\":\"neutral\",\"size\":\"sm\",\"density\":\"compact\",\"orientation\":\"horizontal\",\"media\":{\"kind\":\"avatar\",\"label\":\"QA\",\"placement\":\"trailing\"},\"accessibility\":{\"role\":\"group\",\"ariaLabel\":\"Quiet neutral reference card with trailing avatar\"},\"content\":[{\"type\":\"text\",\"text\":\"Transparent neutral cards work well for secondary notes, attribution and compact reference material.\"}]},{\"type\":\"card\",\"title\":\"Approval pending\",\"subtitle\":\"Filled / warning / compact leading status\",\"variant\":\"filled\",\"tone\":\"warning\",\"size\":\"sm\",\"density\":\"compact\",\"orientation\":\"horizontal\",\"loading\":true,\"media\":{\"kind\":\"icon\",\"icon\":\"hourglass_top\",\"label\":\"Pending\",\"placement\":\"leading\"},\"accessibility\":{\"role\":\"article\",\"ariaLabel\":\"Warning card showing a pending loading state\"},\"content\":[{\"type\":\"text\",\"text\":\"Loading state communicates that the card is waiting for a governed publication or approval snapshot.\"},{\"type\":\"compose\",\"wrap\":true,\"gap\":\"xs\",\"items\":[{\"type\":\"badge\",\"label\":\"pending\"},{\"type\":\"badge\",\"label\":\"compact status\"}]}]}]}",
|
|
4295
4405
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4299,7 +4409,7 @@
|
|
|
4299
4409
|
"corpusVersion": "1.0.0"
|
|
4300
4410
|
},
|
|
4301
4411
|
{
|
|
4302
|
-
"chunkIndex":
|
|
4412
|
+
"chunkIndex": 143,
|
|
4303
4413
|
"chunkKind": "recipe",
|
|
4304
4414
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[0].definition.inputs.document.nodes\",\"fragmentPath\":\"page.widgets[0].definition.inputs.document.nodes\",\"fragmentIdentity\":{\"key\":\"missionKnowledgeBriefing\",\"id\":\"praxis-rich-content\",\"kind\":\"praxis.rich-content\"},\"fragment\":[{\"id\":\"decision-provenance-note\",\"type\":\"mediaBlock\",\"avatar\":{\"type\":\"avatar\",\"initials\":\"AI\",\"name\":\"AI-authored decision\"},\"title\":{\"type\":\"text\",\"text\":\"Authoring evidence\"},\"subtitle\":{\"type\":\"text\",\"text\":\"Policy context, ownership and runtime boundaries travel with the document; editable business data remains in forms, tables and governed host services.\"},\"meta\":{\"type\":\"badge\",\"label\":\"runtime-safe JSON\"},\"trailing\":[{\"type\":\"icon\",\"icon\":\"psychology\",\"ariaLabel\":\"AI ready\"}]},{\"id\":\"decision-lifecycle\",\"type\":\"timeline\",\"title\":\"Decision lifecycle\",\"orientation\":\"horizontal\",\"order\":\"reverse\",\"position\":\"alternate\",\"connectorVariant\":\"dashed\",\"markerVariant\":\"number\",\"markerColor\":\"primary\",\"emphasis\":\"strong\",\"density\":\"spacious\",\"textAppearance\":\"prominent\",\"style\":{\"--prx-rich-timeline-item-body-background\":\"color-mix(in srgb, var(--md-sys-color-primary, #6750a4) 8%, transparent)\",\"--prx-rich-timeline-item-body-border\":\"1px solid color-mix(in srgb, var(--md-sys-color-primary, #6750a4) 28%, transparent)\",\"--prx-rich-timeline-item-body-border-radius\":\"8px\",\"--prx-rich-timeline-item-body-padding\":\"14px\"},\"items\":[{\"icon\":\"schema\",\"title\":\"Grounded\",\"subtitle\":\"Resolve the canonical contract and classify the surface as explanation, data or action before rendering.\",\"meta\":\"schemas.filtered + recipes\",\"opposite\":\"1. Ground\",\"badge\":\"source\"},{\"icon\":\"article\",\"title\":\"Authored\",\"subtitle\":\"Publish briefing, metrics and evidence as a portable RichContentDocument instead of a local Angular template.\",\"meta\":\"praxis-rich-content\",\"opposite\":\"2. Author\",\"badge\":\"runtime\"},{\"icon\":\"open_in_new\",\"title\":\"Materialized\",\"subtitle\":\"Reuse the same semantic decision package in tabs, dialogs, steppers, list expansion or dashboard cells.\",\"meta\":\"Dynamic Page composition\",\"opposite\":\"3. Publish\",\"badge\":\"portable\"}]}]}",
|
|
4305
4415
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4309,7 +4419,7 @@
|
|
|
4309
4419
|
"corpusVersion": "1.0.0"
|
|
4310
4420
|
},
|
|
4311
4421
|
{
|
|
4312
|
-
"chunkIndex":
|
|
4422
|
+
"chunkIndex": 144,
|
|
4313
4423
|
"chunkKind": "recipe",
|
|
4314
4424
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets\",\"page\":{\"widgets\":[{\"key\":\"missionKnowledgeStatusRibbon\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"fact_check\",\"title\":\"Inline status ribbon\",\"subtitle\":\"Compact rich-content nodes for toolbar and table-cell style affordances\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"nodes\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"inline\",\"rootClassName\":\"dynamic-page-rich-content-inline-status\",\"context\":{\"status\":{\"icon\":\"verified\",\"label\":\"Governed knowledge surface\",\"phase\":\"Reusable\"}},\"nodes\":[{\"type\":\"icon\",\"icon\":\"verified\",\"ariaLabel\":\"Verified\"},{\"type\":\"text\",\"textExpr\":\"${status.label}\"},{\"type\":\"badge\",\"labelExpr\":\"${status.phase}\"}]}}},{\"key\":\"missionKnowledgeHostMediation\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"hub\",\"title\":\"Host-mediated editorial actions\",\"subtitle\":\"Action buttons and capability-gated blocks resolved by praxis-dynamic-page at runtime\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\"],\"inputs\":{\"context\":{\"selectedRecord\":{\"name\":\"Carla Mendes\",\"department\":\"Platform Governance\",\"status\":\"Needs review\",\"recordId\":\"employee-42\"},\"pageRuntime\":{\"capability\":\"page.widget.configurable\",\"actionChannel\":\"customAction or GlobalActionService\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"info\",\"icon\":\"hub\",\"title\":\"Runtime host mediation\",\"message\":\"Hosted praxis-rich-content widgets can trigger governed actions and capability-gated editorial blocks without persisting runtime helpers in WidgetPageDefinition.\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Open details\",\"icon\":\"open_in_new\",\"variant\":\"stroked\",\"color\":\"primary\",\"action\":{\"actionId\":\"openDetails\",\"confirmMessage\":\"Confirm opening the governed details package?\",\"payload\":{\"source\":\"rich-content-knowledge-surface\",\"widgetKey\":\"missionKnowledgeHostMediation\"}}}]},{\"type\":\"recordSummary\",\"titleExpr\":\"${selectedRecord.name}\",\"subtitleExpr\":\"${selectedRecord.department}\",\"metaExpr\":\"${pageRuntime.actionChannel}\",\"fields\":[{\"label\":\"Status\",\"valueExpr\":\"${selectedRecord.status}\"},{\"label\":\"Capability gate\",\"valueExpr\":\"${pageRuntime.capability}\"},{\"label\":\"Persistence rule\",\"value\":\"Persist only document/context; never persist hostCapabilities\"}],\"actions\":[{\"type\":\"actionButton\",\"label\":\"Inspect widget settings\",\"icon\":\"settings\",\"variant\":\"flat\",\"color\":\"accent\",\"action\":{\"actionId\":\"openWidgetSettings\",\"payloadExpr\":\"${selectedRecord}\"}}]},{\"type\":\"statGroup\",\"title\":\"Governed host metrics\",\"subtitle\":\"Portable KPI summary owned by the rich-content document\",\"layout\":\"grid\",\"items\":[{\"label\":\"Capability gates\",\"value\":\"1\",\"captionExpr\":\"${pageRuntime.capability}\",\"icon\":\"shield\"},{\"label\":\"Action channel\",\"value\":\"2\",\"captionExpr\":\"${pageRuntime.actionChannel}\",\"icon\":\"hub\"},{\"label\":\"Selection status\",\"valueExpr\":\"${selectedRecord.status}\",\"captionExpr\":\"${selectedRecord.recordId}\",\"icon\":\"person_search\"}]},{\"type\":\"tabs\",\"title\":\"Governed host views\",\"subtitle\":\"One portable document organizing multiple editorial panels without host-specific tab markup.\",\"appearance\":\"underline\",\"defaultTabId\":\"overview\",\"items\":[{\"id\":\"overview\",\"label\":\"Overview\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Tabs keep explanatory panels, summaries and governed actions inside the canonical RichContentDocument instead of forcing each host to invent its own tab container.\"}]},{\"id\":\"selection\",\"label\":\"Selection\",\"icon\":\"person_search\",\"badgeExpr\":\"${selectedRecord.status}\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Selected record\",\"valueExpr\":\"${selectedRecord.name}\"},{\"label\":\"Department\",\"valueExpr\":\"${selectedRecord.department}\"},{\"label\":\"Portability rule\",\"value\":\"Selected record context stays portable across host surfaces.\"}]}]}]},{\"type\":\"ctaGroup\",\"title\":\"Next steps\",\"subtitle\":\"Choose the governed host action\",\"message\":\"Use a semantic CTA cluster when the host must expose multiple governed next steps from one portable document.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Open governed lookup\",\"icon\":\"open_in_new\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"openDetails\",\"confirmMessage\":\"Confirm opening the governed lookup?\",\"payloadExpr\":\"${selectedRecord}\"}},{\"type\":\"actionButton\",\"label\":\"Inspect widget settings\",\"icon\":\"settings\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"openWidgetSettings\",\"payloadExpr\":\"${selectedRecord}\"}}]},{\"type\":\"relatedRecord\",\"title\":\"Reports to\",\"subtitleExpr\":\"${selectedRecord.name}\",\"relationLabel\":\"Manager record\",\"metaExpr\":\"${selectedRecord.department}\",\"ctaLabel\":\"Open related manager\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"openDetails\",\"confirmMessage\":\"Confirm opening the related manager record?\",\"payloadExpr\":\"${selectedRecord}\"},\"fields\":[{\"label\":\"Selection status\",\"valueExpr\":\"${selectedRecord.status}\",\"hint\":\"Resolved from the same selected record context.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Inspect related settings\",\"icon\":\"settings\",\"variant\":\"stroked\",\"color\":\"accent\",\"action\":{\"actionId\":\"openWidgetSettings\",\"payloadExpr\":\"${selectedRecord}\"}}]},{\"type\":\"actionCard\",\"title\":\"Inspect governed package\",\"subtitleExpr\":\"${selectedRecord.department}\",\"message\":\"Use actionCard when the host must execute a governed workflow from an editorial surface without embedding handlers in the document.\",\"metaExpr\":\"${pageRuntime.actionChannel}\",\"ctaLabel\":\"Inspect governed package\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"openDetails\",\"confirmMessage\":\"Confirm inspecting this governed package?\",\"payloadExpr\":\"${selectedRecord}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Inspect widget settings\",\"icon\":\"settings\",\"variant\":\"stroked\",\"color\":\"accent\",\"action\":{\"actionId\":\"openWidgetSettings\",\"payloadExpr\":\"${selectedRecord}\"}}]},{\"type\":\"disclosure\",\"title\":\"Visible only when the page host exposes widget configuration capability\",\"subtitle\":\"This block stays in the document but the host decides whether it renders\",\"appearance\":\"card\",\"defaultExpanded\":true,\"requiresCapabilities\":[\"page.widget.configurable\"],\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Capability source\",\"value\":\"DynamicWidgetPageComponent hostCapabilities.hasCapability\"},{\"label\":\"Action dispatch\",\"value\":\"hostCapabilities.dispatchAction resolves GlobalActionService first and falls back to customAction\"},{\"label\":\"Persisted contract\",\"value\":\"definition.inputs.document remains the only canonical rich-content payload in the page JSON\"}]}]},{\"type\":\"emptyState\",\"icon\":\"data_object\",\"title\":\"Do not serialize runtime bridges\",\"message\":\"This recipe intentionally omits hostCapabilities from definition.inputs. Runtime helpers belong to the page host, not to the persisted recipe.\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Refresh host state\",\"icon\":\"refresh\",\"variant\":\"basic\",\"action\":{\"actionId\":\"refreshHostState\",\"payload\":{\"recordId\":\"employee-42\"}}}]}]}}}}]}}",
|
|
4315
4425
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4319,7 +4429,7 @@
|
|
|
4319
4429
|
"corpusVersion": "1.0.0"
|
|
4320
4430
|
},
|
|
4321
4431
|
{
|
|
4322
|
-
"chunkIndex":
|
|
4432
|
+
"chunkIndex": 145,
|
|
4323
4433
|
"chunkKind": "recipe",
|
|
4324
4434
|
"content": "{\"_comment\":\"Recipe para agentes criarem uma Praxis Dynamic Page com tabela rica sobre o quickstart publicado.\",\"_comment2\":\"Use quando a meta for demonstrar renderers, formatters e configuracao de coluna em praxis-table sem mudar o backend.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"rich-table-surface\",\"status\":\"public-example\",\"useWhen\":\"Create a metadata-driven page that turns one resource table into a rich operational surface with explicit renderers and formatters.\",\"examplePrompts\":[\"crie uma tabela rica de funcionarios com avatar, badges, salario e datas\",\"gere um exemplo de praxis-table mostrando renderers e formatters\",\"monte uma dynamic page com tabela operacional usando o quickstart publicado\"]},\"platformValue\":{\"canonicalContract\":\"praxis-metadata-starter publishes the structural funcionarios schema through /schemas/filtered.\",\"referenceApi\":\"praxis-api-quickstart serves funcionarios data and options on Render.\",\"angularRuntime\":\"@praxisui/core resolves praxis-dynamic-page and @praxisui/table renders the configured table.\",\"publicExamples\":\"praxis-ui-landing-page exposes the JSON envelope, live runtime preview and capability coverage map.\",\"agentCorpus\":\"praxisui-http-examples provides executable metadata and filter evidence.\"},\"operationalEvidence\":{\"baseUrl\":\"https://praxis-api-quickstart.onrender.com\",\"safeFirstIds\":[\"filtered-schema-response-funcionarios\",\"funcionarios-filter-basic\"],\"httpExamples\":[\"praxisui-http-examples/http/metadata/filtered_schema_response_funcionarios.http\",\"praxisui-http-examples/http/resources/funcionarios_filter_basic.http\"]},\"authoringGuidance\":[\"Keep resourcePath as the base resource path, without /filter.\",\"Let /schemas/filtered provide the canonical field metadata.\",\"Use host-authored columns only to demonstrate renderers, formatting, width, sticky columns and visual density.\",\"Prefer renderer examples that map to real backend fields; do not invent frontend-only fields for a remote example.\",\"Keep status presentation read-only unless a real backend action is configured.\",\"Treat salary as sensitive demonstration data; real hosts should gate visibility and exports through policy.\",\"Emit rowClick and selectionChange so the page can later compose this table with forms, charts or actions.\"],\"teaches\":[\"table.renderers.avatar\",\"table.renderers.badge\",\"table.renderers.chip\",\"table.conditional-renderers.status-badge\",\"table.formatters.currency\",\"table.formatters.date\",\"table.selection-state\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"funcionariosRichTable\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"table\",\"title\":\"Funcionarios rich surface\",\"subtitle\":\"Renderers, formatters and dense business columns\"},\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\"],\"inputs\":{\"resourcePath\":\"human-resources/funcionarios\",\"tableId\":\"human-resources-funcionarios-rich-surface\",\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"Funcionarios\",\"subtitle\":\"Rich metadata-driven employee surface\"},\"columns\":[{\"field\":\"avatarUrl\",\"header\":\"Avatar\",\"type\":\"string\",\"renderer\":{\"type\":\"avatar\",\"avatar\":{\"srcField\":\"avatarUrl\",\"altField\":\"nomeCompleto\",\"initialsField\":\"nomeCompleto\",\"shape\":\"circle\",\"size\":36}},\"width\":\"88px\",\"sticky\":\"start\"},{\"field\":\"nomeCompleto\",\"header\":\"Nome Completo\",\"type\":\"string\",\"sticky\":\"start\",\"width\":\"220px\"},{\"field\":\"email\",\"header\":\"Email\",\"type\":\"string\",\"width\":\"260px\"},{\"field\":\"telefone\",\"header\":\"Telefone\",\"type\":\"string\",\"width\":\"160px\"},{\"field\":\"salario\",\"header\":\"Salario\",\"type\":\"currency\",\"align\":\"end\",\"format\":\"BRL|symbol|2\",\"width\":\"150px\"},{\"field\":\"cargoNome\",\"header\":\"Cargo\",\"type\":\"string\",\"renderer\":{\"type\":\"chip\",\"chip\":{\"textField\":\"cargoNome\",\"variant\":\"outlined\",\"color\":\"primary\"}},\"width\":\"190px\"},{\"field\":\"departamentoNome\",\"header\":\"Departamento\",\"type\":\"string\",\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"departamentoNome\",\"variant\":\"soft\",\"color\":\"accent\"}},\"width\":\"180px\"},{\"field\":\"estadoCivil\",\"header\":\"Estado Civil\",\"type\":\"string\",\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"estadoCivil\",\"variant\":\"outlined\",\"color\":\"primary\"}},\"width\":\"150px\"},{\"field\":\"dataAdmissao\",\"header\":\"Data de Admissao\",\"type\":\"date\",\"format\":\"dd/MM/yyyy\",\"width\":\"170px\"},{\"field\":\"dataNascimento\",\"header\":\"Data de Nascimento\",\"type\":\"date\",\"format\":\"dd/MM/yyyy\",\"width\":\"190px\"},{\"field\":\"ativo\",\"header\":\"Status\",\"type\":\"boolean\",\"align\":\"center\",\"format\":\"active-inactive\",\"width\":\"130px\",\"conditionalRenderers\":[{\"condition\":{\"==\":[{\"var\":\"ativo\"},true]},\"renderer\":{\"type\":\"badge\",\"badge\":{\"text\":\"Ativo\",\"color\":\"success\",\"variant\":\"filled\",\"icon\":\"check_circle\"}}},{\"condition\":{\"==\":[{\"var\":\"ativo\"},false]},\"renderer\":{\"type\":\"badge\",\"badge\":{\"text\":\"Inativo\",\"color\":\"warn\",\"variant\":\"outlined\",\"icon\":\"block\"}}}]}],\"behavior\":{\"selection\":{\"enabled\":true,\"type\":\"multiple\"},\"density\":\"compact\"}}},\"outputs\":{\"rowClick\":\"emit\",\"selectionChange\":\"emit\"}}}]}}",
|
|
4325
4435
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-table-surface.json",
|
|
@@ -4329,7 +4439,7 @@
|
|
|
4329
4439
|
"corpusVersion": "1.0.0"
|
|
4330
4440
|
},
|
|
4331
4441
|
{
|
|
4332
|
-
"chunkIndex":
|
|
4442
|
+
"chunkIndex": 146,
|
|
4333
4443
|
"chunkKind": "recipe",
|
|
4334
4444
|
"content": "{\"_comment\":\"Recipe para agentes criarem uma Praxis Dynamic Page com computed columns e conditional rules em praxis-table.\",\"_comment2\":\"Use quando a meta for mostrar regras de tabela, colunas calculadas e feedback visual runtime sobre dados reais.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"rules-computed-table\",\"status\":\"public-example\",\"useWhen\":\"Create a metadata-driven table example with Json Logic computed columns, conditional styles and conditional renderers.\",\"examplePrompts\":[\"crie uma tabela com colunas calculadas e regras condicionais\",\"mostre funcionarios com tempo de casa calculado e destaque visual\",\"gere um exemplo de praxis-table com conditionalRenderers e rowConditionalStyles\"]},\"platformValue\":{\"canonicalContract\":\"praxis-metadata-starter publishes funcionarios schema and data fields; table rules stay in the Angular runtime config.\",\"referenceApi\":\"praxis-api-quickstart serves funcionarios rows used by computed columns and rules.\",\"angularRuntime\":\"@praxisui/table evaluates computed expressions and conditional table rules without bespoke host code.\",\"publicExamples\":\"praxis-ui-landing-page exposes this JSON envelope and coverage status.\",\"agentCorpus\":\"praxisui-http-examples provides executable metadata and filter evidence.\"},\"operationalEvidence\":{\"baseUrl\":\"https://praxis-api-quickstart.onrender.com\",\"safeFirstIds\":[\"filtered-schema-response-funcionarios\",\"funcionarios-filter-basic\"],\"httpExamples\":[\"praxisui-http-examples/http/metadata/filtered_schema_response_funcionarios.http\",\"praxisui-http-examples/http/resources/funcionarios_filter_basic.http\"]},\"authoringGuidance\":[\"Use columns[].computed.expression as canonical Json Logic, not JavaScript strings.\",\"Use { \\\"var\\\": \\\"field\\\" } for row data and { \\\"var\\\": \\\"computed.field\\\" } when rules depend on computed columns.\",\"Keep conditionalStyles focused on cell-level feedback and rowConditionalStyles focused on row-level state.\",\"Use conditionalRenderers when the displayed semantic state should change by rule.\",\"Keep the remote resourcePath as the base resource path; rules are runtime config over published rows.\"],\"teaches\":[\"table.computed-columns\",\"table.rules.conditionalStyles\",\"table.rules.rowConditionalStyles\",\"table.rules.conditionalRenderers\",\"json-logic\",\"table.selection-state\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"funcionariosRulesComputedTable\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"rule\",\"title\":\"Funcionarios rules and computed columns\",\"subtitle\":\"Tenure, salary bands and conditional runtime feedback\"},\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\"],\"inputs\":{\"resourcePath\":\"human-resources/funcionarios\",\"tableId\":\"human-resources-funcionarios-rules-computed\",\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"Funcionarios\",\"subtitle\":\"Computed columns and conditional rules\"},\"columns\":[{\"field\":\"nomeCompleto\",\"header\":\"Funcionario\",\"type\":\"text\",\"sticky\":\"start\",\"width\":\"220px\"},{\"field\":\"dataAdmissao\",\"header\":\"Admissao\",\"type\":\"date\",\"format\":{\"dateStyle\":\"short\",\"locale\":\"pt-BR\"},\"width\":\"140px\"},{\"field\":\"tempoCasaAnos\",\"header\":\"Tempo de Casa\",\"type\":\"number\",\"align\":\"end\",\"width\":\"150px\",\"computed\":{\"expression\":{\"yearsSince\":[{\"var\":\"dataAdmissao\"}]},\"outputType\":\"number\",\"format\":\"1.0-0\",\"dependencies\":[\"dataAdmissao\"]},\"conditionalStyles\":[{\"condition\":{\">=\":[{\"var\":\"computed.tempoCasaAnos\"},5]},\"style\":{\"color\":\"#166534\",\"fontWeight\":\"700\"}}]},{\"field\":\"salario\",\"header\":\"Salario\",\"type\":\"currency\",\"align\":\"end\",\"format\":{\"currency\":\"BRL\",\"locale\":\"pt-BR\"},\"width\":\"150px\",\"conditionalStyles\":[{\"condition\":{\">=\":[{\"var\":\"salario\"},35000]},\"style\":{\"color\":\"#7c2d12\",\"fontWeight\":\"700\"}}]},{\"field\":\"faixaSalarial\",\"header\":\"Faixa\",\"type\":\"badge\",\"width\":\"130px\",\"computed\":{\"expression\":{\"if\":[{\">=\":[{\"var\":\"salario\"},35000]},\"executive\",{\">=\":[{\"var\":\"salario\"},18000]},\"senior\",\"standard\"]},\"outputType\":\"text\",\"dependencies\":[\"salario\"]},\"conditionalRenderers\":[{\"condition\":{\"==\":[{\"var\":\"computed.faixaSalarial\"},\"executive\"]},\"renderer\":{\"type\":\"badge\",\"badge\":{\"text\":\"Executive\",\"color\":\"warn\",\"variant\":\"filled\"}}},{\"condition\":{\"==\":[{\"var\":\"computed.faixaSalarial\"},\"senior\"]},\"renderer\":{\"type\":\"badge\",\"badge\":{\"text\":\"Senior\",\"color\":\"primary\",\"variant\":\"soft\"}}}]},{\"field\":\"departamentoNome\",\"header\":\"Departamento\",\"type\":\"chip\",\"width\":\"180px\"},{\"field\":\"ativo\",\"header\":\"Estado\",\"type\":\"badge\",\"width\":\"130px\",\"conditionalRenderers\":[{\"condition\":{\"==\":[{\"var\":\"ativo\"},true]},\"renderer\":{\"type\":\"badge\",\"badge\":{\"text\":\"Ativo\",\"color\":\"success\",\"variant\":\"filled\"}}},{\"condition\":{\"==\":[{\"var\":\"ativo\"},false]},\"renderer\":{\"type\":\"badge\",\"badge\":{\"text\":\"Inativo\",\"color\":\"warn\",\"variant\":\"outlined\"}}}]}],\"rowConditionalStyles\":[{\"condition\":{\"==\":[{\"var\":\"ativo\"},false]},\"style\":{\"opacity\":\"0.68\",\"backgroundColor\":\"rgba(239, 68, 68, 0.08)\"}},{\"condition\":{\">=\":[{\"var\":\"computed.tempoCasaAnos\"},5]},\"style\":{\"borderLeft\":\"4px solid #16a34a\"}}],\"behavior\":{\"selection\":{\"enabled\":true,\"type\":\"single\"},\"density\":\"comfortable\"}}},\"outputs\":{\"rowClick\":\"emit\"}}}]}}",
|
|
4335
4445
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rules-computed-table.json",
|
|
@@ -4339,7 +4449,7 @@
|
|
|
4339
4449
|
"corpusVersion": "1.0.0"
|
|
4340
4450
|
},
|
|
4341
4451
|
{
|
|
4342
|
-
"chunkIndex":
|
|
4452
|
+
"chunkIndex": 147,
|
|
4343
4453
|
"chunkKind": "recipe",
|
|
4344
4454
|
"content": "{\"_comment\":\"Recipe for agents to create a Praxis Dynamic Page with a rich Praxis Stepper workflow.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"stepper-onboarding-workflow\",\"status\":\"public-example\",\"useWhen\":\"Create a dynamic page where praxis-stepper orchestrates form, upload and approval widgets.\",\"examplePrompts\":[\"create an onboarding workflow page\",\"show praxis-stepper inside praxis-dynamic-page\",\"generate a stepper workflow with form, files upload and approval checklist\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/stepper owns steps, linear navigation, step forms, rich content and nested widget orchestration.\",\"angularRuntime\":\"@praxisui/core resolves the stepper and every nested widget through ComponentMetadataRegistry and DynamicWidgetLoader.\",\"publicExamples\":\"praxis-ui-landing-page exposes the envelope, live preview and inspector JSON.\",\"agentCorpus\":\"This recipe keeps agents on supported paths: steps[].form, stepBlocksBeforeForm, stepBlocksAfterForm and steps[].widgets.\"},\"authoringGuidance\":[\"Use stable stepperId and componentInstanceId values.\",\"Use steps[].form for Dynamic Form integration and put form config under steps[].form.config.\",\"Use RichContentDocument nodes in stepBlocksBeforeForm and stepBlocksAfterForm for editorial text and badges.\",\"Use steps[].widgets only for real nested runtime components.\",\"Do not use legacy steps[].content for runtime rendering.\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"employeeOnboardingStepper\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"assignment_turned_in\",\"title\":\"Employee onboarding workflow\",\"subtitle\":\"Stepper with form rules, evidence upload and approval checklist\"},\"definition\":{\"id\":\"praxis-stepper\",\"bindingOrder\":[\"stepperId\",\"componentInstanceId\",\"config\",\"stepperContext\"],\"inputs\":{\"stepperId\":\"employee-onboarding-workflow\",\"componentInstanceId\":\"dynamic-page-showcase\",\"enableCustomization\":true,\"stepperContext\":{\"workflowId\":\"employee-onboarding-demo\",\"resourcePath\":\"human-resources/funcionarios\",\"evidenceBaseUrl\":\"/api/files\"},\"config\":{\"orientation\":\"horizontal\",\"linear\":true,\"labelPosition\":\"bottom\",\"selectedIndex\":0,\"density\":\"comfortable\",\"appearance\":{\"preset\":\"ft-light\",\"icons\":{\"number\":\"radio_button_unchecked\",\"done\":\"check_circle\",\"edit\":\"edit_note\",\"error\":\"error\"}},\"navigation\":{\"visible\":true,\"prevLabel\":\"Back\",\"nextLabel\":\"Continue\",\"prevIcon\":\"arrow_back\",\"nextIcon\":\"arrow_forward\",\"variant\":\"stroked\",\"color\":\"primary\",\"align\":\"space-between\"},\"steps\":[{\"id\":\"employee-intake\",\"label\":\"Employee\",\"description\":\"Capture employee identity, assignment and workflow-only risk fields.\",\"stepBlocksBeforeForm\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"text\",\"text\":\"The step owns its local Dynamic Form config. Backend metadata can replace this config later without changing the Stepper host template.\"},{\"type\":\"badge\",\"label\":\"form rules\"},{\"type\":\"badge\",\"label\":\"validators\"}]},\"form\":{\"mode\":\"create\",\"formId\":\"employee-onboarding-intake-form\",\"schemaSource\":\"resource\",\"config\":{\"sections\":[{\"id\":\"identity\",\"title\":\"Identity\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"identity-row\",\"columns\":[{\"id\":\"identity-main\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"nomeCompleto\",\"email\"]},{\"id\":\"identity-contact\",\"span\":{\"md\":6,\"lg\":6},\"fields\":[\"telefone\",\"dataNascimento\"]}]}]}],\"fieldMetadata\":[{\"name\":\"nomeCompleto\",\"label\":\"Nome Completo\",\"controlType\":\"input\",\"validators\":{\"required\":true,\"minLength\":3,\"maxLength\":160}},{\"name\":\"email\",\"label\":\"Email\",\"controlType\":\"email\",\"validators\":{\"required\":true,\"email\":true}},{\"name\":\"telefone\",\"label\":\"Telefone\",\"controlType\":\"phone\",\"validators\":{\"required\":true}},{\"name\":\"dataNascimento\",\"label\":\"Data de Nascimento\",\"controlType\":\"date\",\"validators\":{\"required\":true}}]}}},{\"id\":\"evidence\",\"label\":\"Evidence\",\"optional\":true,\"widgets\":[{\"id\":\"praxis-files-upload\",\"inputs\":{\"filesUploadId\":\"employee-onboarding-evidence\",\"baseUrl\":\"/api/files\",\"displayMode\":\"compact\",\"config\":{\"strategy\":\"direct\",\"ui\":{\"showDropzone\":true,\"showConflictPolicySelector\":true,\"showMetadataForm\":true,\"showProgress\":true,\"manualUpload\":true},\"limits\":{\"maxFileSizeBytes\":10485760,\"maxFilesPerBulk\":4,\"maxBulkSizeBytes\":31457280}}}}]},{\"id\":\"approval\",\"label\":\"Approval\",\"widgets\":[{\"id\":\"praxis-list\",\"inputs\":{\"listId\":\"employee-onboarding-approval-checklist\",\"config\":{\"dataSource\":{\"data\":[{\"id\":1,\"title\":\"Identity fields validated\",\"owner\":\"People Ops\",\"status\":\"Required\",\"priority\":\"P0\"},{\"id\":2,\"title\":\"Evidence attached or waived\",\"owner\":\"Hiring Manager\",\"status\":\"Required\",\"priority\":\"P0\"},{\"id\":3,\"title\":\"Security review completed\",\"owner\":\"Security\",\"status\":\"Conditional\",\"priority\":\"P1\"}]},\"selection\":{\"mode\":\"multiple\",\"compareBy\":\"id\",\"return\":\"id\"},\"templating\":{\"leading\":{\"type\":\"icon\",\"expr\":\"task_alt\"},\"primary\":{\"type\":\"text\",\"expr\":\"${item.title}\"},\"secondary\":{\"type\":\"text\",\"expr\":\"${item.owner}\"},\"meta\":{\"type\":\"chip\",\"expr\":\"${item.priority}\",\"variant\":\"filled\"},\"trailing\":{\"type\":\"chip\",\"expr\":\"${item.status}\",\"variant\":\"outlined\"}}}}}]}]}},\"outputs\":{\"selectionChange\":\"emit\",\"selectedIndexChange\":\"emit\",\"stepFormReady\":\"emit\",\"stepFormValueChange\":\"emit\"}}}]}}",
|
|
4345
4455
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.stepper-onboarding-workflow.json",
|
|
@@ -4349,7 +4459,7 @@
|
|
|
4349
4459
|
"corpusVersion": "1.0.0"
|
|
4350
4460
|
},
|
|
4351
4461
|
{
|
|
4352
|
-
"chunkIndex":
|
|
4462
|
+
"chunkIndex": 148,
|
|
4353
4463
|
"chunkKind": "recipe",
|
|
4354
4464
|
"content": "{\"_comment\":\"Template de pagina com stepper (Praxis Dynamic Page).\",\"_comment2\":\"resourcePath deve ser o path base do recurso (sem /filter).\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"stepper\",\"useWhen\":\"Create a dynamic page with a stepper wizard.\",\"examplePrompts\":[\"pagina com stepper\",\"wizard de cadastro\",\"fluxo em etapas\"]},\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":2,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"mainStepper\",\"definition\":{\"id\":\"praxis-stepper\",\"inputs\":{\"stepperId\":\"{{resourceKey}}-stepper\",\"config\":{\"orientation\":\"horizontal\",\"linear\":true,\"steps\":[{\"id\":\"step-1\",\"label\":\"Dados\",\"form\":{\"resourcePath\":\"{{resourcePath}}\",\"schemaSource\":\"resource\",\"mode\":\"edit\",\"formId\":\"{{resourceKey}}-step-1\"}},{\"id\":\"step-2\",\"label\":\"Detalhes\",\"optional\":true,\"form\":{\"resourcePath\":\"{{resourcePath}}\",\"schemaSource\":\"resource\",\"mode\":\"edit\",\"formId\":\"{{resourceKey}}-step-2\"}}],\"navigation\":{\"visible\":true,\"prevLabel\":\"Voltar\",\"nextLabel\":\"Proximo\",\"finishLabel\":\"Concluir\"}}}}}]}}",
|
|
4355
4465
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.stepper.json",
|
|
@@ -4359,7 +4469,7 @@
|
|
|
4359
4469
|
"corpusVersion": "1.0.0"
|
|
4360
4470
|
},
|
|
4361
4471
|
{
|
|
4362
|
-
"chunkIndex":
|
|
4472
|
+
"chunkIndex": 149,
|
|
4363
4473
|
"chunkKind": "recipe",
|
|
4364
4474
|
"content": "{\"_comment\":\"Recipe para agentes criarem uma Praxis Dynamic Page que demonstra surfaces, actions e capabilities de ponta a ponta.\",\"_comment2\":\"Use quando o objetivo for mostrar contrato metadata-driven, runtime Angular, quickstart API e modais de discovery.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"surfaces-actions-showcase\",\"status\":\"public-example\",\"useWhen\":\"Create an operational page where table buttons open resource surfaces, actions and item capabilities.\",\"examplePrompts\":[\"crie uma pagina que demonstre surfaces actions e capabilities\",\"mostre botoes de tabela que abrem modais com metadata do backend\",\"gere um exemplo para agentes copiarem discovery actions do praxis dynamic page\"]},\"platformValue\":{\"canonicalContract\":\"praxis-metadata-starter defines /schemas/filtered, /schemas/surfaces, /schemas/actions and capabilities semantics.\",\"referenceApi\":\"praxis-api-quickstart exposes mission resources, related team/timeline resources and item capabilities on Render.\",\"angularRuntime\":\"@praxisui/core resolves praxis-dynamic-page widgets; @praxisui/table emits toolbarAction and rowAction events.\",\"publicExamples\":\"praxis-ui-landing-page renders the JSON envelope, runtime preview, floating Inspector and discovery modal.\",\"agentCorpus\":\"This recipe keeps resourcePath, resourceKey and discovery metadata explicit so LLMs can preserve the platform handoff.\"},\"operationalEvidence\":{\"baseUrl\":\"https://praxis-api-quickstart.onrender.com\",\"safeFirstIds\":[\"schemas-catalog\",\"schemas-surfaces-operations-missoes\",\"schemas-actions-operations-missoes\",\"operations-missoes-item-capabilities\",\"vw-resumo-missoes-filter-basic\",\"missao-participantes-stats-papel\",\"missao-eventos-stats-ocorrido-em-day\"],\"pendingHttpIds\":[]},\"authoringGuidance\":[\"Put resource discovery in toolbar.actions so users can inspect the full resource contract before selecting a row.\",\"Put item discovery in actions.row and include discovery.scope = item so the host can hydrate previews with the selected id.\",\"Emit toolbarAction and rowAction from the widget when the host owns modal orchestration.\",\"Preserve resourcePath and resourceKey inside discovery metadata; do not infer them from labels or routes.\",\"Use composition links to keep related surfaces, such as team and timeline, synchronized with selected state.\",\"Treat actions in the JSON as affordances; execute policy-sensitive workflows only after checking backend capabilities.\"],\"teaches\":[\"page.surfaces-actions-capabilities\",\"table.toolbar.actions\",\"table.actions.row\",\"toolbarAction\",\"rowAction\",\"composition.links\",\"state.values\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":3,\"gap\":\"16px\"},\"state\":{\"values\":{\"selection\":{\"missionId\":1}}},\"widgets\":[{\"key\":\"missionSurface\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"layers\",\"title\":\"Mission surface\",\"subtitle\":\"Resource and item discovery actions\"},\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\"],\"inputs\":{\"resourcePath\":\"operations/missoes\",\"tableId\":\"operations-missoes-surfaces-actions-showcase\",\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"Missions\",\"actionsPosition\":\"both\",\"actions\":[{\"id\":\"inspect-surfaces\",\"action\":\"inspect-surfaces\",\"label\":\"Surfaces\",\"icon\":\"layers\",\"type\":\"button\",\"appearance\":\"outlined\",\"discovery\":{\"rel\":\"surfaces\",\"scope\":\"resource\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}},{\"id\":\"inspect-actions\",\"action\":\"inspect-actions\",\"label\":\"Actions\",\"icon\":\"bolt\",\"type\":\"button\",\"appearance\":\"outlined\",\"discovery\":{\"rel\":\"actions\",\"scope\":\"resource\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}}]},\"columns\":[{\"field\":\"titulo\",\"header\":\"Mission\",\"type\":\"text\",\"sticky\":\"start\"},{\"field\":\"status\",\"header\":\"Status\",\"type\":\"badge\"},{\"field\":\"prioridade\",\"header\":\"Priority\",\"type\":\"badge\"},{\"field\":\"local\",\"header\":\"Location\",\"type\":\"text\"}],\"actions\":{\"row\":{\"enabled\":true,\"display\":\"icons\",\"position\":\"end\",\"sticky\":\"end\",\"actions\":[{\"id\":\"inspect-row-surfaces\",\"label\":\"Surfaces\",\"icon\":\"layers\",\"action\":\"inspect-surfaces\",\"discovery\":{\"rel\":\"surfaces\",\"scope\":\"item\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}},{\"id\":\"inspect-row-actions\",\"label\":\"Actions\",\"icon\":\"bolt\",\"action\":\"inspect-actions\",\"discovery\":{\"rel\":\"actions\",\"scope\":\"item\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}}]}},\"behavior\":{\"selection\":{\"enabled\":true,\"type\":\"single\"}}}},\"outputs\":{\"rowClick\":\"emit\",\"rowAction\":\"emit\",\"toolbarAction\":\"emit\"}}},{\"key\":\"missionTeamSurface\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"groups\",\"title\":\"Team surface\",\"subtitle\":\"Related resource filtered by selected mission\"},\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\",\"queryContext\"],\"inputs\":{\"resourcePath\":\"operations/missao-participantes\",\"queryContext\":{\"filters\":{\"missaoId\":1}},\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"Team\"},\"columns\":[{\"field\":\"funcionarioNome\",\"header\":\"Hero\",\"type\":\"text\",\"sticky\":\"start\"},{\"field\":\"papel\",\"header\":\"Role\",\"type\":\"badge\"},{\"field\":\"resultado\",\"header\":\"Outcome\",\"type\":\"badge\"}]}},\"outputs\":{\"rowClick\":\"emit\",\"toolbarAction\":\"emit\"}}}],\"composition\":{\"version\":\"1.0.0\",\"links\":[{\"id\":\"surfaces:mission-rowClick->state:selection.missionId\",\"intent\":\"state-write\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionSurface\",\"port\":\"rowClick\",\"direction\":\"output\",\"componentType\":\"praxis-table\"}},\"to\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.missionId\",\"layer\":\"values\",\"writable\":true}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"single-value\",\"sourceBindings\":[{\"source\":\"event\"}],\"steps\":[{\"id\":\"surfaces:pick-mission-id\",\"kind\":\"pick-path\",\"phase\":\"link-propagation\",\"input\":{\"source\":\"event\"},\"config\":{\"path\":\"payload.row.id\"}}]}},{\"id\":\"surfaces:state:selection.missionId->team.queryContext\",\"intent\":\"state-read\",\"from\":{\"kind\":\"state\",\"ref\":{\"path\":\"selection.missionId\",\"layer\":\"values\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionTeamSurface\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-table\"}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"single-value\",\"sourceBindings\":[{\"source\":\"state\",\"path\":\"selection.missionId\"}],\"steps\":[{\"id\":\"surfaces:team-query-context\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"filters\":{\"missaoId\":\"${source}\"}}}}]},\"policy\":{\"missingValuePolicy\":\"skip\",\"distinct\":true}}]}}}",
|
|
4365
4475
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.surfaces-actions-showcase.json",
|
|
@@ -4369,7 +4479,7 @@
|
|
|
4369
4479
|
"corpusVersion": "1.0.0"
|
|
4370
4480
|
},
|
|
4371
4481
|
{
|
|
4372
|
-
"chunkIndex":
|
|
4482
|
+
"chunkIndex": 150,
|
|
4373
4483
|
"chunkKind": "recipe",
|
|
4374
4484
|
"content": "{\"_comment\":\"Template de pagina com tabela unica (Praxis Dynamic Page).\",\"_comment2\":\"resourcePath deve ser o path base do recurso (sem /filter).\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"table\",\"useWhen\":\"Create a dynamic page with a single table widget.\",\"examplePrompts\":[\"pagina com tabela\",\"crie uma pagina com tabela de funcionarios\",\"tabela simples\"]},\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":2,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"mainTable\",\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\"],\"inputs\":{\"resourcePath\":\"{{resourcePath}}\",\"tableId\":\"{{resourceKey}}-table\",\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"{{resourceLabel}}\"}}},\"outputs\":{\"rowClick\":\"emit\"}}}]}}",
|
|
4375
4485
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.table.json",
|
|
@@ -4379,7 +4489,7 @@
|
|
|
4379
4489
|
"corpusVersion": "1.0.0"
|
|
4380
4490
|
},
|
|
4381
4491
|
{
|
|
4382
|
-
"chunkIndex":
|
|
4492
|
+
"chunkIndex": 151,
|
|
4383
4493
|
"chunkKind": "recipe",
|
|
4384
4494
|
"content": "{\"_comment\":\"Recipe for agents to create a Praxis Dynamic Page with Praxis Tabs in nav mode.\",\"_comment2\":\"Use this when the host shell needs navigation semantics but each link still renders metadata-driven widgets.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"tabs-nav-routing-workspace\",\"status\":\"public-example\",\"useWhen\":\"Create a dynamic page where Praxis Tabs nav.links switch between nested runtime widgets.\",\"examplePrompts\":[\"create a navigation tabs workspace with nested widgets\",\"show praxis-tabs nav mode inside praxis-dynamic-page\",\"generate a tabs nav example with list and rich content widgets\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/tabs owns nav.links and selectedIndexChange; nested widget wiring uses composition.links with component-port + nestedPath.\",\"angularRuntime\":\"@praxisui/core resolves nested widgets through the same DynamicWidgetLoader used by top-level page widgets.\",\"publicExamples\":\"praxis-ui-landing-page exposes the envelope, live preview and inspector JSON.\",\"agentCorpus\":\"This recipe gives agents a copyable nav-mode contract without inventing unsupported route fields.\"},\"authoringGuidance\":[\"Use config.nav.links for nav mode; do not add route fields unless the host explicitly maps them.\",\"Put per-link content in widgets or content arrays.\",\"Use selectedIndexChange for shell coordination.\",\"Use composition.links with component-port + nestedPath when nested widgets need to bubble actions or selections back to the page.\",\"Keep tabsId stable so preferences and host diagnostics can identify the instance.\"],\"teaches\":[\"tabs.nav-mode\",\"tabs.nested-widgets\",\"tabs.nested-component-ports\",\"page.composition-links\",\"list.selection-actions\",\"rich-content.knowledge-surface\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"tabsNavRoutingWorkspace\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"alt_route\",\"title\":\"Tabs nav workspace\",\"subtitle\":\"Navigation links with nested runtime widgets\"},\"definition\":{\"id\":\"praxis-tabs\",\"bindingOrder\":[\"tabsId\",\"config\"],\"inputs\":{\"tabsId\":\"tabs-nav-routing-workspace\",\"componentInstanceId\":\"dynamic-page-showcase\",\"config\":{\"appearance\":{\"density\":\"comfortable\",\"tokens\":{\"active-indicator-color\":\"#0f766e\",\"active-label-text-color\":\"#0f172a\",\"inactive-label-text-color\":\"#475569\"}},\"behavior\":{\"lazyLoad\":true,\"closeable\":false,\"reorderable\":false},\"accessibility\":{\"ariaLabel\":\"Navigation workspace tabs\",\"reduceMotion\":true},\"nav\":{\"selectedIndex\":0,\"fitInkBarToContent\":true,\"stretchTabs\":false,\"ariaLabel\":\"Operations navigation\",\"links\":[{\"id\":\"briefing\",\"label\":\"Briefing\",\"widgets\":[{\"id\":\"widget:rich-text-block\",\"inputs\":{\"title\":\"Mission operations briefing\",\"content\":\"Use nav mode when the host shell needs stable navigation semantics while each link remains metadata-driven content. The runtime changes the active link and renders only the selected link widgets.\",\"variant\":\"emphasis\"}}]},{\"id\":\"queue\",\"label\":\"Queue\",\"widgets\":[{\"id\":\"praxis-list\",\"bindingOrder\":[\"listId\",\"config\"],\"inputs\":{\"listId\":\"tabs-nav-routing-queue-list\",\"config\":{\"id\":\"tabs-nav-routing-queue-list-config\",\"dataSource\":{\"data\":[{\"id\":1,\"title\":\"Review mission readiness\",\"owner\":\"Sol Drax\",\"status\":\"Ready\",\"priority\":\"P1\"},{\"id\":2,\"title\":\"Confirm payroll exceptions\",\"owner\":\"Mira Drax\",\"status\":\"At risk\",\"priority\":\"P0\"},{\"id\":3,\"title\":\"Publish capability notes\",\"owner\":\"Ravi Almeida\",\"status\":\"Blocked\",\"priority\":\"P1\"}]},\"layout\":{\"variant\":\"list\",\"density\":\"compact\",\"lines\":2,\"dividers\":\"between\",\"pageSize\":5},\"selection\":{\"mode\":\"single\",\"compareBy\":\"id\",\"return\":\"id\"},\"templating\":{\"leading\":{\"type\":\"icon\",\"expr\":\"route\"},\"primary\":{\"type\":\"text\",\"expr\":\"${item.title}\"},\"secondary\":{\"type\":\"text\",\"expr\":\"${item.owner}\"},\"meta\":{\"type\":\"chip\",\"expr\":\"${item.priority}\",\"variant\":\"filled\"},\"trailing\":{\"type\":\"chip\",\"expr\":\"${item.status}\",\"variant\":\"outlined\"}},\"ui\":{\"showSearch\":false,\"showSort\":false,\"showRange\":false}}},\"outputs\":{\"itemClick\":\"emit\",\"selectionChange\":\"emit\"}}]},{\"id\":\"decisions\",\"label\":\"Decisions\",\"widgets\":[{\"id\":\"widget:rich-text-block\",\"inputs\":{\"title\":\"Host-owned routing intent\",\"content\":\"Praxis Tabs nav mode owns the selected link. The application shell can map selectedIndexChange to route state, breadcrumbs or inspector context, while nested widget events should be wired through composition.links with component-port + nestedPath.\",\"variant\":\"default\"}}]}]}}},\"outputs\":{\"selectedIndexChange\":\"emit\",\"indexFocused\":\"emit\",\"selectFocusedIndex\":\"emit\"}}}]}}",
|
|
4385
4495
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.tabs-nav-routing-workspace.json",
|
|
@@ -4389,7 +4499,7 @@
|
|
|
4389
4499
|
"corpusVersion": "1.0.0"
|
|
4390
4500
|
},
|
|
4391
4501
|
{
|
|
4392
|
-
"chunkIndex":
|
|
4502
|
+
"chunkIndex": 152,
|
|
4393
4503
|
"chunkKind": "recipe",
|
|
4394
4504
|
"content": "{\"_comment\":\"Template de pagina com abas (Praxis Dynamic Page).\",\"_comment2\":\"resourcePath deve ser o path base do recurso (sem /filter).\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"tabs\",\"useWhen\":\"Create a dynamic page with tabs.\",\"examplePrompts\":[\"pagina com abas\",\"crie tabs com tabela e formulario\",\"tela em abas\"]},\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":2,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"mainTabs\",\"definition\":{\"id\":\"praxis-tabs\",\"inputs\":{\"tabsId\":\"{{resourceKey}}-tabs\",\"config\":{\"behavior\":{\"lazyLoad\":true,\"reorderable\":false,\"closeable\":false},\"tabs\":[{\"id\":\"tab-list\",\"textLabel\":\"Lista\",\"widgets\":[{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\"],\"inputs\":{\"resourcePath\":\"{{resourcePath}}\",\"tableId\":\"{{resourceKey}}-tabs-table\",\"config\":{\"toolbar\":{\"visible\":true}}},\"outputs\":{\"rowClick\":\"emit\"}}]},{\"id\":\"tab-detail\",\"textLabel\":\"Detalhes\",\"widgets\":[{\"id\":\"praxis-dynamic-form\",\"bindingOrder\":[\"resourcePath\",\"formId\",\"resourceId\"],\"inputs\":{\"formId\":\"{{resourceKey}}-tabs-form\",\"resourcePath\":\"{{resourcePath}}\",\"mode\":\"view\"}}]}]}}}}]}}",
|
|
4395
4505
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.tabs.json",
|
|
@@ -4399,7 +4509,7 @@
|
|
|
4399
4509
|
"corpusVersion": "1.0.0"
|
|
4400
4510
|
},
|
|
4401
4511
|
{
|
|
4402
|
-
"chunkIndex":
|
|
4512
|
+
"chunkIndex": 153,
|
|
4403
4513
|
"chunkKind": "recipe",
|
|
4404
4514
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment\",\"_comment\":\"Praxis Dynamic Page recipe that demonstrates visual block presets persisted as richContent layout items inside praxis-dynamic-form columns.\"}",
|
|
4405
4515
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4409,7 +4519,7 @@
|
|
|
4409
4519
|
"corpusVersion": "1.0.0"
|
|
4410
4520
|
},
|
|
4411
4521
|
{
|
|
4412
|
-
"chunkIndex":
|
|
4522
|
+
"chunkIndex": 154,
|
|
4413
4523
|
"chunkKind": "recipe",
|
|
4414
4524
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"templateMeta\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"visual-block-presets-form\",\"status\":\"public-example\",\"useWhen\":\"Create a Dynamic Page form that keeps API fields aligned while larger visual blocks live on dedicated rows authored from visual block presets.\",\"examplePrompts\":[\"create a dynamic page form with visual block presets\",\"show FormColumn.items with fields and static rich content blocks\",\"demonstrate dynamic form layout items using text notice divider info card and timeline\",\"show dedicated rows for large guidance cards in a dynamic form layout\"]}}",
|
|
4415
4525
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4419,7 +4529,7 @@
|
|
|
4419
4529
|
"corpusVersion": "1.0.0"
|
|
4420
4530
|
},
|
|
4421
4531
|
{
|
|
4422
|
-
"chunkIndex":
|
|
4532
|
+
"chunkIndex": 155,
|
|
4423
4533
|
"chunkKind": "recipe",
|
|
4424
4534
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"platformValue\",\"platformValue\":{\"canonicalContract\":\"@praxisui/dynamic-form owns FormColumn.items and renders field plus richContent layout items in order.\",\"visualBlockRuntime\":\"@praxisui/rich-content owns the RichContentDocument rendered by each static visual block.\",\"authoringContract\":\"Preset ids are authoring shortcuts only; the persisted config stores kind richContent with a RichContentDocument.\",\"publicExamples\":\"praxis-ui-landing-page exposes the live preview and inspector JSON for the complete Dynamic Page envelope.\",\"agentCorpus\":\"This recipe gives agents a copyable canonical layout-item example instead of teaching legacy fields-only columns.\"}}",
|
|
4425
4535
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4429,7 +4539,7 @@
|
|
|
4429
4539
|
"corpusVersion": "1.0.0"
|
|
4430
4540
|
},
|
|
4431
4541
|
{
|
|
4432
|
-
"chunkIndex":
|
|
4542
|
+
"chunkIndex": 156,
|
|
4433
4543
|
"chunkKind": "recipe",
|
|
4434
4544
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"operationalEvidence\",\"operationalEvidence\":{\"baseUrl\":\"https://praxis-api-quickstart.onrender.com\",\"safeFirstIds\":[\"filtered-schema-response-funcionarios\",\"funcionarios-get-by-id\",\"cargos-options-filter\",\"departamentos-options-filter\"],\"pendingHttpIds\":[],\"httpExamples\":[\"praxisui-http-examples/http/metadata/filtered_schema_response_funcionarios.http\",\"praxisui-http-examples/http/resources/funcionarios_get_by_id.http\",\"praxisui-http-examples/http/resources/cargos_options_filter.http\",\"praxisui-http-examples/http/resources/departamentos_options_filter.http\"]}}",
|
|
4435
4545
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4439,7 +4549,7 @@
|
|
|
4439
4549
|
"corpusVersion": "1.0.0"
|
|
4440
4550
|
},
|
|
4441
4551
|
{
|
|
4442
|
-
"chunkIndex":
|
|
4552
|
+
"chunkIndex": 157,
|
|
4443
4553
|
"chunkKind": "recipe",
|
|
4444
4554
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringGuidance\",\"authoringGuidance\":[\"Use sections[].rows[].columns[].items[] as the canonical ordered column contract.\",\"Use kind field items for fields already present in fieldMetadata.\",\"Use kind richContent items for static visual blocks and pass a canonical RichContentDocument in document.\",\"Keep fields[] synchronized as a projection of the field items only.\",\"Do not store visual blocks in fieldMetadata.\",\"Do not persist preset ids; presets only create the initial RichContentDocument in the layout editor.\",\"Use text, notice, divider, info card and timeline examples as starting documents that can be edited by the Rich Content editor.\",\"Place dividers and larger guidance cards on dedicated full-width rows when they separate semantic groups or would otherwise break the field grid rhythm.\",\"Use visualBlock formRules for governed text/style changes, and prefer textNodeId/titleNodeId/messageNodeId when the document has more than one textual node.\"]}",
|
|
4445
4555
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4449,7 +4559,7 @@
|
|
|
4449
4559
|
"corpusVersion": "1.0.0"
|
|
4450
4560
|
},
|
|
4451
4561
|
{
|
|
4452
|
-
"chunkIndex":
|
|
4562
|
+
"chunkIndex": 158,
|
|
4453
4563
|
"chunkKind": "recipe",
|
|
4454
4564
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"teaches\",\"teaches\":[\"dynamic-form.layout-items\",\"FormColumn.items\",\"FormLayoutItem.kind.field\",\"FormLayoutItem.kind.richContent\",\"visual-block-presets.text\",\"visual-block-presets.notice\",\"visual-block-presets.divider\",\"visual-block-presets.infoCard\",\"visual-block-presets.contractProof\",\"rich-content.timeline\",\"rich-content.document\",\"visualBlock.formRules\",\"visualBlock.textNodeId\",\"visualBlock.titleNodeId\",\"visualBlock.messageNodeId\",\"fields-projection\"]}",
|
|
4455
4565
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4459,7 +4569,7 @@
|
|
|
4459
4569
|
"corpusVersion": "1.0.0"
|
|
4460
4570
|
},
|
|
4461
4571
|
{
|
|
4462
|
-
"chunkIndex":
|
|
4572
|
+
"chunkIndex": 159,
|
|
4463
4573
|
"chunkKind": "recipe",
|
|
4464
4574
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"}}}",
|
|
4465
4575
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4469,7 +4579,7 @@
|
|
|
4469
4579
|
"corpusVersion": "1.0.0"
|
|
4470
4580
|
},
|
|
4471
4581
|
{
|
|
4472
|
-
"chunkIndex":
|
|
4582
|
+
"chunkIndex": 160,
|
|
4473
4583
|
"chunkKind": "recipe",
|
|
4474
4584
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets\",\"page\":{\"widgets\":[{\"key\":\"visualBlockPresetBriefing\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"article\",\"title\":\"Visual block presets\",\"subtitle\":\"Authoring shortcuts that persist as RichContentDocument layout items\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"dynamic-page-visual-block-presets-briefing\",\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"card\",\"title\":\"Static guidance belongs in layout items\",\"subtitle\":\"The form stays metadata-driven while explanation, warnings and separators remain governed content.\",\"content\":[{\"type\":\"compose\",\"wrap\":true,\"gap\":\"sm\",\"items\":[{\"type\":\"badge\",\"label\":\"FormColumn.items\"},{\"type\":\"badge\",\"label\":\"richContent\"},{\"type\":\"badge\",\"label\":\"fields[] projection\"}]},{\"type\":\"text\",\"text\":\"The examples below show the persisted shape produced by visual block presets: text, notice, divider, info card and contract proof. The preset id is not part of the saved contract.\"}]}]}}}}]}}",
|
|
4475
4585
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4479,7 +4589,7 @@
|
|
|
4479
4589
|
"corpusVersion": "1.0.0"
|
|
4480
4590
|
},
|
|
4481
4591
|
{
|
|
4482
|
-
"chunkIndex":
|
|
4592
|
+
"chunkIndex": 161,
|
|
4483
4593
|
"chunkKind": "recipe",
|
|
4484
4594
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[1]\",\"fragmentPath\":\"page.widgets[1]\",\"fragmentIdentity\":{\"key\":\"funcionarioVisualBlocksForm\"},\"fragment\":{\"key\":\"funcionarioVisualBlocksForm\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"view_agenda\",\"title\":\"Funcionario review form\",\"subtitle\":\"API fields stay aligned while guidance cards move to dedicated rows\"}}}",
|
|
4485
4595
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4489,7 +4599,7 @@
|
|
|
4489
4599
|
"corpusVersion": "1.0.0"
|
|
4490
4600
|
},
|
|
4491
4601
|
{
|
|
4492
|
-
"chunkIndex":
|
|
4602
|
+
"chunkIndex": 162,
|
|
4493
4603
|
"chunkKind": "recipe",
|
|
4494
4604
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[1].definition\",\"fragmentPath\":\"page.widgets[1].definition\",\"fragmentIdentity\":{\"key\":\"funcionarioVisualBlocksForm\",\"id\":\"praxis-dynamic-form\"},\"fragment\":{\"id\":\"praxis-dynamic-form\",\"bindingOrder\":[\"config\",\"resourcePath\",\"formId\",\"resourceId\"]}}",
|
|
4495
4605
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4499,7 +4609,7 @@
|
|
|
4499
4609
|
"corpusVersion": "1.0.0"
|
|
4500
4610
|
},
|
|
4501
4611
|
{
|
|
4502
|
-
"chunkIndex":
|
|
4612
|
+
"chunkIndex": 163,
|
|
4503
4613
|
"chunkKind": "recipe",
|
|
4504
4614
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[1].definition.inputs\",\"fragmentPath\":\"page.widgets[1].definition.inputs\",\"fragmentIdentity\":{\"key\":\"funcionarioVisualBlocksForm\",\"id\":\"praxis-dynamic-form\"},\"fragment\":{\"formId\":\"human-resources-funcionarios-visual-block-presets\",\"resourcePath\":\"human-resources/funcionarios\",\"resourceId\":1,\"mode\":\"view\"}}",
|
|
4505
4615
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4509,7 +4619,7 @@
|
|
|
4509
4619
|
"corpusVersion": "1.0.0"
|
|
4510
4620
|
},
|
|
4511
4621
|
{
|
|
4512
|
-
"chunkIndex":
|
|
4622
|
+
"chunkIndex": 164,
|
|
4513
4623
|
"chunkKind": "recipe",
|
|
4514
4624
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[1].definition.inputs.config\",\"fragmentPath\":\"page.widgets[1].definition.inputs.config\",\"fragmentIdentity\":{\"key\":\"funcionarioVisualBlocksForm\",\"id\":\"praxis-dynamic-form\"},\"fragment\":{\"metadata\":{\"name\":\"Funcionario visual block review\",\"version\":\"1.0.0\"},\"editorialContext\":{\"review\":{\"scope\":4,\"scopeCaption\":\"identity fields\",\"readiness\":80}},\"sections\":[{\"id\":\"identity-and-context\",\"title\":\"Identity and context\",\"description\":\"A fields-plus-content layout that keeps larger guidance cards on dedicated rows so the field grid stays aligned.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"identity-row-main\",\"columns\":[{\"id\":\"identity-main\",\"span\":{\"md\":7,\"lg\":7},\"items\":[{\"kind\":\"richContent\",\"id\":\"identity-introduction-block\",\"layout\":\"block\",\"rootClassName\":\"visual-block-text\",\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"text\",\"text\":\"Review the employee identity before checking assignment and payroll data. This block represents a RichContentDocument created from the Text preset.\"}]}},{\"kind\":\"field\",\"id\":\"field-nomeCompleto\",\"fieldName\":\"nomeCompleto\"},{\"kind\":\"field\",\"id\":\"field-email\",\"fieldName\":\"email\"},{\"kind\":\"richContent\",\"id\":\"contact-guidance-notice\",\"layout\":\"block\",\"rootClassName\":\"visual-block-notice\",\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"compose\",\"direction\":\"row\",\"gap\":\"sm\",\"wrap\":true,\"className\":\"praxis-rich-content-notice\",\"items\":[{\"type\":\"icon\",\"icon\":\"error_outline\",\"ariaLabel\":\"Notice\"},{\"type\":\"text\",\"text\":\"Email and phone are operational contact fields. Keep changes aligned with the backend employee record instead of treating this guidance as field metadata.\"}]}]}},{\"kind\":\"field\",\"id\":\"field-telefone\",\"fieldName\":\"telefone\"}],\"fields\":[\"nomeCompleto\",\"email\",\"telefone\"]},{\"id\":\"identity-side\",\"span\":{\"md\":5,\"lg\":5},\"items\":[{\"kind\":\"field\",\"id\":\"field-fotoPerfilUrl\",\"fieldName\":\"fotoPerfilUrl\"},{\"kind\":\"field\",\"id\":\"field-ativo\",\"fieldName\":\"ativo\"},{\"kind\":\"field\",\"id\":\"field-estadoCivil\",\"fieldName\":\"estadoCivil\"}],\"fields\":[\"fotoPerfilUrl\",\"ativo\",\"estadoCivil\"]}]},{\"id\":\"identity-status-row\",\"columns\":[{\"id\":\"identity-status\",\"span\":{\"md\":12,\"lg\":12},\"items\":[{\"kind\":\"richContent\",\"id\":\"profile-status-card\",\"layout\":\"block\",\"rootClassName\":\"visual-block-info-card\",\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"card\",\"id\":\"profile-status-title\",\"title\":\"Profile status\",\"subtitle\":\"Info card preset placed on a dedicated row to preserve the field rhythm.\",\"content\":[{\"type\":\"compose\",\"wrap\":true,\"gap\":\"sm\",\"items\":[{\"type\":\"badge\",\"label\":\"API field\"},{\"type\":\"badge\",\"label\":\"visual guidance\"}]},{\"id\":\"profile-status-message\",\"type\":\"text\",\"text\":\"Keep assignment, department and contact details current.\"},{\"type\":\"metric\",\"label\":\"Review scope\",\"valueExpr\":\"${review.scope}\",\"captionExpr\":\"${review.scopeCaption}\"},{\"type\":\"progress\",\"label\":\"Readiness\",\"valueExpr\":\"${review.readiness}\",\"max\":100,\"showPercent\":true}]}]}}]}]}]},{\"id\":\"assignment-review\",\"title\":\"Assignment review\",\"description\":\"Divider and card blocks separate assignment data from compensation context while the guidance card stays on its own row.\",\"appearance\":\"outlined\",\"rows\":[{\"id\":\"assignment-role-row\",\"columns\":[{\"id\":\"assignment-role\",\"span\":{\"md\":6,\"lg\":6},\"items\":[{\"kind\":\"field\",\"id\":\"field-cargoId\",\"fieldName\":\"cargoId\"}],\"fields\":[\"cargoId\"]},{\"id\":\"assignment-department\",\"span\":{\"md\":6,\"lg\":6},\"items\":[{\"kind\":\"field\",\"id\":\"field-departamentoId\",\"fieldName\":\"departamentoId\"}],\"fields\":[\"departamentoId\"]}]},{\"id\":\"assignment-policy-row\",\"columns\":[{\"id\":\"assignment-policy\",\"span\":{\"md\":12,\"lg\":12},\"items\":[{\"kind\":\"richContent\",\"id\":\"assignment-policy-divider\",\"layout\":\"block\",\"rootClassName\":\"visual-block-divider\",\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"text\",\"id\":\"assignment-policy-divider-text\",\"text\":\"Assignment policy checkpoint\",\"className\":\"praxis-rich-content-divider\"}]}}]}]},{\"id\":\"assignment-compensation-row\",\"columns\":[{\"id\":\"assignment-admission\",\"span\":{\"md\":6,\"lg\":6},\"items\":[{\"kind\":\"field\",\"id\":\"field-dataAdmissao\",\"fieldName\":\"dataAdmissao\"}],\"fields\":[\"dataAdmissao\"]},{\"id\":\"assignment-payroll\",\"span\":{\"md\":6,\"lg\":6},\"items\":[{\"kind\":\"field\",\"id\":\"field-salario\",\"fieldName\":\"salario\"}],\"fields\":[\"salario\"]}]},{\"id\":\"assignment-guidance-row\",\"columns\":[{\"id\":\"assignment-guidance\",\"span\":{\"md\":12,\"lg\":12},\"items\":[{\"kind\":\"richContent\",\"id\":\"assignment-guidance-card\",\"layout\":\"block\",\"rootClassName\":\"visual-block-guidance-card\",\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"card\",\"id\":\"assignment-guidance-title\",\"title\":\"Operational assignment\",\"subtitle\":\"Confirm role, department and start date before closing the review.\",\"content\":[{\"type\":\"text\",\"id\":\"assignment-guidance-message\",\"text\":\"This row keeps guidance outside the submit payload while preserving the field rhythm.\"}]},{\"type\":\"keyValueList\",\"id\":\"assignment-contract-proof\",\"title\":\"Contract proof\",\"layout\":\"stacked\",\"items\":[{\"label\":\"items[]\",\"value\":\"Owns the mixed order of fields and visual blocks.\",\"icon\":\"view_week\",\"badge\":\"canonical\"},{\"label\":\"fields[]\",\"value\":\"Keeps only API field names as a derived projection.\",\"icon\":\"schema\",\"badge\":\"field projection\"}]}]}}]}]},{\"id\":\"assignment-timeline-row\",\"columns\":[{\"id\":\"assignment-timeline\",\"span\":{\"md\":12,\"lg\":12},\"items\":[{\"kind\":\"richContent\",\"id\":\"assignment-review-timeline\",\"layout\":\"block\",\"rootClassName\":\"visual-block-timeline\",\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"timeline\",\"id\":\"assignment-review-timeline-node\",\"title\":\"Assignment review timeline\",\"orientation\":\"horizontal\",\"order\":\"normal\",\"position\":\"alternate\",\"connectorVariant\":\"none\",\"connectorColor\":\"neutral\",\"markerVariant\":\"number\",\"markerColor\":\"primary\",\"markerStyle\":\"filled\",\"emphasis\":\"hero\",\"density\":\"comfortable\",\"textAppearance\":\"prominent\",\"items\":[{\"id\":\"identity-check\",\"title\":\"Validate identity\",\"subtitle\":\"Confirm name, contact data and active status before reviewing assignment.\",\"opposite\":\"1. Intake\",\"badge\":\"Form data\",\"markerColor\":\"success\",\"markerStyle\":\"outlined\",\"connectorColor\":\"success\",\"connectorVariant\":\"solid\"},{\"id\":\"assignment-check\",\"title\":\"Review assignment\",\"subtitle\":\"Cargo and department stay as API fields; this timeline remains presentation metadata.\",\"opposite\":\"2. Assignment\",\"badge\":\"Rich content\",\"markerColor\":\"warning\",\"connectorColor\":\"warning\",\"connectorVariant\":\"dashed\"},{\"id\":\"payroll-check\",\"title\":\"Confirm payroll readiness\",\"subtitle\":\"Salary and admission date remain outside the visual block payload.\",\"opposite\":\"3. Payroll\",\"badge\":\"No submit payload\",\"markerColor\":\"info\",\"markerStyle\":\"outlined\",\"connectorVariant\":\"none\"}]}]}}],\"fields\":[]}]}]}]}}",
|
|
4515
4625
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4519,7 +4629,7 @@
|
|
|
4519
4629
|
"corpusVersion": "1.0.0"
|
|
4520
4630
|
},
|
|
4521
4631
|
{
|
|
4522
|
-
"chunkIndex":
|
|
4632
|
+
"chunkIndex": 165,
|
|
4523
4633
|
"chunkKind": "recipe",
|
|
4524
4634
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets[1].definition.inputs.config\",\"fragmentPath\":\"page.widgets[1].definition.inputs.config\",\"fragmentIdentity\":{\"key\":\"funcionarioVisualBlocksForm\",\"id\":\"praxis-dynamic-form\"},\"fragment\":{\"fieldMetadata\":[{\"name\":\"fotoPerfilUrl\",\"label\":\"Avatar\",\"controlType\":\"avatar\",\"imageField\":\"fotoPerfilUrl\",\"readonly\":true},{\"name\":\"nomeCompleto\",\"label\":\"Nome Completo\",\"controlType\":\"input\",\"validators\":{\"required\":true,\"maxLength\":160},\"readonly\":true},{\"name\":\"email\",\"label\":\"Email\",\"controlType\":\"email\",\"validators\":{\"email\":true},\"readonly\":true},{\"name\":\"telefone\",\"label\":\"Telefone\",\"controlType\":\"phone\",\"maskType\":\"phone\",\"readonly\":true},{\"name\":\"ativo\",\"label\":\"Ativo\",\"controlType\":\"toggle\",\"readonly\":true},{\"name\":\"cargoId\",\"label\":\"Cargo\",\"controlType\":\"asyncSelect\",\"endpoint\":\"/api/human-resources/cargos/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\",\"readonly\":true},{\"name\":\"departamentoId\",\"label\":\"Departamento\",\"controlType\":\"asyncSelect\",\"endpoint\":\"/api/human-resources/departamentos/options/filter\",\"displayField\":\"label\",\"valueField\":\"id\",\"readonly\":true},{\"name\":\"dataAdmissao\",\"label\":\"Data de Admissão\",\"controlType\":\"date\",\"readonly\":true},{\"name\":\"salario\",\"label\":\"Salário\",\"controlType\":\"currency\",\"currencyCode\":\"BRL\",\"locale\":\"pt-BR\",\"readonly\":true},{\"name\":\"estadoCivil\",\"label\":\"Estado Civil\",\"controlType\":\"select\",\"options\":[{\"label\":\"Solteiro\",\"value\":\"SOLTEIRO\"},{\"label\":\"Casado\",\"value\":\"CASADO\"},{\"label\":\"Divorciado\",\"value\":\"DIVORCIADO\"},{\"label\":\"Viúvo\",\"value\":\"VIUVO\"}],\"readonly\":true}],\"actions\":{\"submit\":{\"id\":\"submit-visual-block-review\",\"label\":\"Submit review\",\"visible\":false,\"type\":\"submit\"},\"reset\":{\"id\":\"reset-visual-block-review\",\"label\":\"Reset\",\"visible\":false,\"type\":\"reset\"},\"cancel\":{\"id\":\"close-visual-block-review\",\"label\":\"Close\",\"visible\":false,\"type\":\"button\"},\"position\":\"right\",\"placement\":\"afterSections\",\"spacing\":\"compact\"},\"formRules\":[{\"id\":\"employee-inactive-visual-guidance\",\"name\":\"Employee inactive visual guidance\",\"targetType\":\"visualBlock\",\"targets\":[\"profile-status-card\"],\"effect\":{\"condition\":{\"===\":[{\"var\":\"ativo\"},false]},\"properties\":{\"title\":\"Employee inactive\",\"titleNodeId\":\"profile-status-title\",\"message\":\"Review offboarding, access revocation and justification before saving.\",\"messageNodeId\":\"profile-status-message\",\"className\":\"employee-status-card employee-status-card--warning\"},\"propertiesWhenFalse\":{\"title\":\"Employee active\",\"titleNodeId\":\"profile-status-title\",\"message\":\"Keep assignment, department and contact details current.\",\"messageNodeId\":\"profile-status-message\",\"className\":\"employee-status-card employee-status-card--ok\"}}},{\"id\":\"assignment-guidance-by-role\",\"name\":\"Assignment guidance by role\",\"targetType\":\"visualBlock\",\"targets\":[\"assignment-guidance-card\"],\"effect\":{\"condition\":{\"===\":[{\"var\":\"cargoId\"},\"gestor\"]},\"properties\":{\"title\":\"Managerial assignment\",\"titleNodeId\":\"assignment-guidance-title\",\"message\":\"Confirm approval scope, reporting line and department ownership.\",\"messageNodeId\":\"assignment-guidance-message\",\"rootClassName\":\"visual-block-guidance-card visual-block-guidance-card--manager\"},\"propertiesWhenFalse\":{\"title\":\"Operational assignment\",\"titleNodeId\":\"assignment-guidance-title\",\"message\":\"This row keeps guidance outside the submit payload while preserving the field rhythm.\",\"messageNodeId\":\"assignment-guidance-message\",\"rootClassName\":\"visual-block-guidance-card\"}}}]}}",
|
|
4525
4635
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|