@praxisui/core 9.0.32 → 9.0.34
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 +172 -162
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-08-
|
|
3
|
+
"generatedAt": "2026-08-29T01:52:55.015Z",
|
|
4
4
|
"packageName": "@praxisui/core",
|
|
5
|
-
"packageVersion": "9.0.
|
|
5
|
+
"packageVersion": "9.0.34",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 4,
|
|
@@ -3188,9 +3188,9 @@
|
|
|
3188
3188
|
{
|
|
3189
3189
|
"chunkIndex": 20,
|
|
3190
3190
|
"chunkKind": "recipe",
|
|
3191
|
-
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"templateMeta\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"analytics-dashboard-showcase\",\"status\":\"golden-fixture\",\"useWhen\":\"Evaluate governed analytics projections, chart breadth and chart-to-table presentation continuity against the Praxis API Quickstart.\",\"examplePrompts\":[\"monte um dashboard analitico enterprise usando apenas dados do quickstart\",\"mostre funnel, pyramid e troca governada entre chart e tabela\",\"compare as apresentacoes elegiveis de uma projection analitica\"]}}",
|
|
3191
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"templateMeta\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"analytics-dashboard-showcase\",\"status\":\"golden-fixture\",\"useWhen\":\"Evaluate governed analytics projections, chart breadth and chart-to-table presentation continuity against the Praxis API Quickstart.\",\"examplePrompts\":[\"monte um dashboard analitico enterprise usando apenas dados do quickstart\",\"mostre gauge, funnel, pyramid, treemap e troca governada entre chart e tabela\",\"compare as apresentacoes elegiveis de uma projection analitica\"]}}",
|
|
3192
3192
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.analytics-dashboard-showcase.json",
|
|
3193
|
-
"contentHash": "
|
|
3193
|
+
"contentHash": "92436394b9b5c6f9008be5784fc490e1fb17f701f6b9cf0cdf69f2534e2d573a",
|
|
3194
3194
|
"sourceKind": "component_definition",
|
|
3195
3195
|
"sourceId": "praxis-dynamic-page",
|
|
3196
3196
|
"corpusVersion": "1.0.0"
|
|
@@ -3228,9 +3228,9 @@
|
|
|
3228
3228
|
{
|
|
3229
3229
|
"chunkIndex": 24,
|
|
3230
3230
|
"chunkKind": "recipe",
|
|
3231
|
-
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"themePreset\":\"executive-command-center\",\"layout\":{\"orientation\":\"columns\",\"columns\":4,\"gap\":\"16px\"},\"deviceLayouts\":{\"desktop\":{\"layout\":{\"orientation\":\"columns\",\"columns\":4,\"gap\":\"16px\"},\"widgetOverrides\":{\"procurementFilter\":{\"order\":10,\"span\":4},\"procurementPresentation\":{\"order\":20,\"span\":2},\"procurementFunnel\":{\"order\":30,\"span\":1},\"procurementPyramid\":{\"order\":40,\"span\":1},\"missionStatusChart\":{\"order\":50,\"span\":2},\"missionStatusTable\":{\"order\":60,\"span\":2},\"payrollTrend\":{\"order\":70,\"span\":2},\"payrollStackedArea\":{\"order\":80,\"span\":2},\"payrollProfile\":{\"order\":90,\"span\":1},\"payrollCombo\":{\"order\":100,\"span\":2},\"absenceCorrelation\":{\"order\":110,\"span\":1}}},\"tablet\":{\"layout\":{\"orientation\":\"columns\",\"columns\":2,\"gap\":\"14px\"}},\"mobile\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"12px\"}}},\"state\":{\"values\":{\"analytics\":{\"procurementQueryContext\":{\"filters\":{}},\"missionQueryContext\":{\"filters\":{}}}}}}}",
|
|
3231
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"themePreset\":\"executive-command-center\",\"layout\":{\"orientation\":\"columns\",\"columns\":4,\"gap\":\"16px\"},\"deviceLayouts\":{\"desktop\":{\"layout\":{\"orientation\":\"columns\",\"columns\":4,\"gap\":\"16px\"},\"widgetOverrides\":{\"procurementFilter\":{\"order\":10,\"span\":4},\"procurementPresentation\":{\"order\":20,\"span\":2},\"procurementFunnel\":{\"order\":30,\"span\":1},\"procurementPyramid\":{\"order\":40,\"span\":1},\"procurementGauge\":{\"order\":45,\"span\":2},\"missionStatusChart\":{\"order\":50,\"span\":2},\"missionStatusTable\":{\"order\":60,\"span\":2},\"payrollTrend\":{\"order\":70,\"span\":2},\"payrollStackedArea\":{\"order\":80,\"span\":2},\"payrollProfile\":{\"order\":90,\"span\":1},\"payrollProfileTreemap\":{\"order\":95,\"span\":1},\"payrollCombo\":{\"order\":100,\"span\":2},\"absenceCorrelation\":{\"order\":110,\"span\":1}}},\"tablet\":{\"layout\":{\"orientation\":\"columns\",\"columns\":2,\"gap\":\"14px\"}},\"mobile\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"12px\"}}},\"state\":{\"values\":{\"analytics\":{\"procurementQueryContext\":{\"filters\":{}},\"missionQueryContext\":{\"filters\":{}}}}}}}",
|
|
3232
3232
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.analytics-dashboard-showcase.json",
|
|
3233
|
-
"contentHash": "
|
|
3233
|
+
"contentHash": "73ea5c8f830d3d012c6c54f70179dd739d0c29611243fea2d8fe827e63fe7d87",
|
|
3234
3234
|
"sourceKind": "component_definition",
|
|
3235
3235
|
"sourceId": "praxis-dynamic-page",
|
|
3236
3236
|
"corpusVersion": "1.0.0"
|
|
@@ -3238,9 +3238,9 @@
|
|
|
3238
3238
|
{
|
|
3239
3239
|
"chunkIndex": 25,
|
|
3240
3240
|
"chunkKind": "recipe",
|
|
3241
|
-
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets\",\"page\":{\"widgets\":[{\"key\":\"procurementFilter\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"filter_alt\",\"title\":\"Filtros governados\",\"subtitle\":\"O DTO remoto preserva a empresa selecionada em todas as apresentações do funil\"},\"definition\":{\"id\":\"praxis-filter\",\"bindingOrder\":[\"resourcePath\",\"filterId\",\"formId\",\"alwaysVisibleFields\",\"selectedFieldIds\",\"disablePersistence\",\"showFilterSettings\",\"showAdvancedButton\",\"showAddButton\",\"showSearchButton\"],\"inputs\":{\"resourcePath\":\"procurement/vw-supplier-procurement-funnel\",\"filterId\":\"analytics-dashboard-procurement-filter\",\"formId\":\"analytics-dashboard-procurement-filter-form\",\"componentInstanceId\":\"analytics-dashboard-procurement-filter\",\"alwaysVisibleFields\":[\"companyId\"],\"selectedFieldIds\":[\"companyId\"],\"disablePersistence\":true,\"showFilterSettings\":false,\"showAdvancedButton\":false,\"showAddButton\":false,\"showSearchButton\":false},\"outputs\":{\"change\":\"emit\",\"clear\":\"emit\"}}},{\"key\":\"procurementPresentation\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"view_quilt\",\"title\":\"Uma projection, três apresentações\",\"subtitle\":\"Gráfico, tabela e indicadores executam o mesmo contrato e preservam o mesmo queryContext\"},\"definition\":{\"id\":\"praxis-analytics-presentation\",\"bindingOrder\":[\"analytics\",\"projectionId\",\"availableFamilies\",\"preferredFamily\",\"queryContext\",\"title\",\"subtitle\",\"enableCustomization\"],\"inputs\":{\"analytics\":{\"projections\":[{\"id\":\"supplier-procurement-funnel\",\"intent\":\"composition\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/procurement/vw-supplier-procurement-funnel\",\"operation\":\"group-by\"},\"bindings\":{\"primaryDimension\":{\"field\":\"stage\",\"role\":\"category\",\"label\":\"Etapa\"},\"primaryMetrics\":[{\"field\":\"volume\",\"aggregation\":\"sum\",\"label\":\"Fornecedores\"}]},\"defaults\":{\"sort\":[{\"field\":\"stage\",\"direction\":\"asc\"}],\"limit\":6},\"presentationHints\":{\"preferredFamilies\":[\"chart\",\"analytic-table\",\"kpi\"]},\"interactions\":{\"pointSelection\":true}}]},\"projectionId\":\"supplier-procurement-funnel\",\"availableFamilies\":[\"chart\",\"analytic-table\",\"kpi\"],\"preferredFamily\":\"chart\",\"queryContext\":{\"filters\":{}},\"title\":\"Funil de fornecedores\",\"subtitle\":\"Etapas cumulativas derivadas de fatos operacionais persistidos\",\"enableCustomization\":true},\"outputs\":{\"presentationChange\":\"emit\",\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"crossFilter\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"procurementFunnel\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"filter_alt\",\"title\":\"Funnel\",\"subtitle\":\"Ordem canônica 1→6 por bucket rotulado do stats\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"queryContext\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"supplier-procurement-funnel-chart\",\"kind\":\"funnel\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/procurement/vw-supplier-procurement-funnel\",\"operation\":\"group-by\",\"options\":{\"limit\":6,\"orderBy\":\"key-asc\"}},\"dimensions\":[{\"field\":\"stage\",\"label\":\"Etapa\",\"role\":\"category\"}],\"metrics\":[{\"field\":\"volume\",\"label\":\"Fornecedores\",\"aggregation\":\"sum\"}],\"legend\":{\"enabled\":true},\"tooltip\":{\"enabled\":true}},\"queryContext\":{\"filters\":{}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"procurementPyramid\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"change_history\",\"title\":\"Pyramid\",\"subtitle\":\"A mesma série remota com ordem visual invertida pelo renderer\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"queryContext\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"supplier-procurement-pyramid-chart\",\"kind\":\"pyramid\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/procurement/vw-supplier-procurement-funnel\",\"operation\":\"group-by\",\"options\":{\"limit\":6,\"orderBy\":\"key-asc\"}},\"dimensions\":[{\"field\":\"stage\",\"label\":\"Etapa\",\"role\":\"category\"}],\"metrics\":[{\"field\":\"volume\",\"label\":\"Fornecedores\",\"aggregation\":\"sum\"}],\"legend\":{\"enabled\":true},\"tooltip\":{\"enabled\":true}},\"queryContext\":{\"filters\":{}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"
|
|
3241
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets\",\"page\":{\"widgets\":[{\"key\":\"procurementFilter\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"filter_alt\",\"title\":\"Filtros governados\",\"subtitle\":\"O DTO remoto preserva a empresa selecionada em todas as apresentações do funil\"},\"definition\":{\"id\":\"praxis-filter\",\"bindingOrder\":[\"resourcePath\",\"filterId\",\"formId\",\"alwaysVisibleFields\",\"selectedFieldIds\",\"disablePersistence\",\"showFilterSettings\",\"showAdvancedButton\",\"showAddButton\",\"showSearchButton\"],\"inputs\":{\"resourcePath\":\"procurement/vw-supplier-procurement-funnel\",\"filterId\":\"analytics-dashboard-procurement-filter\",\"formId\":\"analytics-dashboard-procurement-filter-form\",\"componentInstanceId\":\"analytics-dashboard-procurement-filter\",\"alwaysVisibleFields\":[\"companyId\"],\"selectedFieldIds\":[\"companyId\"],\"disablePersistence\":true,\"showFilterSettings\":false,\"showAdvancedButton\":false,\"showAddButton\":false,\"showSearchButton\":false},\"outputs\":{\"change\":\"emit\",\"clear\":\"emit\"}}},{\"key\":\"procurementPresentation\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"view_quilt\",\"title\":\"Uma projection, três apresentações\",\"subtitle\":\"Gráfico, tabela e indicadores executam o mesmo contrato e preservam o mesmo queryContext\"},\"definition\":{\"id\":\"praxis-analytics-presentation\",\"bindingOrder\":[\"analytics\",\"projectionId\",\"availableFamilies\",\"preferredFamily\",\"queryContext\",\"title\",\"subtitle\",\"enableCustomization\"],\"inputs\":{\"analytics\":{\"projections\":[{\"id\":\"supplier-procurement-funnel\",\"intent\":\"composition\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/procurement/vw-supplier-procurement-funnel\",\"operation\":\"group-by\"},\"bindings\":{\"primaryDimension\":{\"field\":\"stage\",\"role\":\"category\",\"label\":\"Etapa\"},\"primaryMetrics\":[{\"field\":\"volume\",\"aggregation\":\"sum\",\"label\":\"Fornecedores\"}]},\"defaults\":{\"sort\":[{\"field\":\"stage\",\"direction\":\"asc\"}],\"limit\":6},\"presentationHints\":{\"preferredFamilies\":[\"chart\",\"analytic-table\",\"kpi\"]},\"interactions\":{\"pointSelection\":true}}]},\"projectionId\":\"supplier-procurement-funnel\",\"availableFamilies\":[\"chart\",\"analytic-table\",\"kpi\"],\"preferredFamily\":\"chart\",\"queryContext\":{\"filters\":{}},\"title\":\"Funil de fornecedores\",\"subtitle\":\"Etapas cumulativas derivadas de fatos operacionais persistidos\",\"enableCustomization\":true},\"outputs\":{\"presentationChange\":\"emit\",\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"crossFilter\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"procurementFunnel\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"filter_alt\",\"title\":\"Funnel\",\"subtitle\":\"Ordem canônica 1→6 por bucket rotulado do stats\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"queryContext\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"supplier-procurement-funnel-chart\",\"kind\":\"funnel\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/procurement/vw-supplier-procurement-funnel\",\"operation\":\"group-by\",\"options\":{\"limit\":6,\"orderBy\":\"key-asc\"}},\"dimensions\":[{\"field\":\"stage\",\"label\":\"Etapa\",\"role\":\"category\"}],\"metrics\":[{\"field\":\"volume\",\"label\":\"Fornecedores\",\"aggregation\":\"sum\"}],\"legend\":{\"enabled\":true},\"tooltip\":{\"enabled\":true}},\"queryContext\":{\"filters\":{}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"procurementPyramid\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"change_history\",\"title\":\"Pyramid\",\"subtitle\":\"A mesma série remota com ordem visual invertida pelo renderer\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"queryContext\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"supplier-procurement-pyramid-chart\",\"kind\":\"pyramid\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/procurement/vw-supplier-procurement-funnel\",\"operation\":\"group-by\",\"options\":{\"limit\":6,\"orderBy\":\"key-asc\"}},\"dimensions\":[{\"field\":\"stage\",\"label\":\"Etapa\",\"role\":\"category\"}],\"metrics\":[{\"field\":\"volume\",\"label\":\"Fornecedores\",\"aggregation\":\"sum\"}],\"legend\":{\"enabled\":true},\"tooltip\":{\"enabled\":true}},\"queryContext\":{\"filters\":{}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"procurementGauge\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"speed\",\"title\":\"Conversão no recebimento\",\"subtitle\":\"AVG conversionRate da etapa 6 em uma única faixa governada de 0 a 100%\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"queryContext\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"supplier-procurement-receipt-conversion-gauge\",\"kind\":\"gauge\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/procurement/vw-supplier-procurement-funnel\",\"operation\":\"group-by\",\"options\":{\"limit\":1,\"orderBy\":\"key-asc\"}},\"dimensions\":[{\"field\":\"stage\",\"label\":\"Etapa\",\"role\":\"category\"}],\"metrics\":[{\"field\":\"conversionRate\",\"label\":\"Conversão\",\"aggregation\":\"avg\",\"format\":\"percent\"}],\"filters\":[{\"field\":\"stageOrdersIn\",\"operator\":\"in\",\"values\":[6]}],\"gauge\":{\"scale\":{\"min\":0,\"max\":1}},\"legend\":{\"enabled\":false},\"labels\":{\"enabled\":true,\"format\":\"percent\"},\"tooltip\":{\"enabled\":true}},\"queryContext\":{\"filters\":{}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"missionStatusChart\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"bar_chart\",\"title\":\"Status das missões\",\"subtitle\":\"Selecione uma barra para filtrar a tabela operacional\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"queryContext\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"analytics-dashboard-mission-status\",\"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\":\"Missões\",\"aggregation\":\"count\"}],\"events\":{\"pointClick\":{\"action\":\"emit\"},\"selectionChange\":{\"action\":\"emit\",\"mapping\":{\"status\":\"status\"}},\"crossFilter\":{\"action\":\"filter-widget\",\"target\":\"missionStatusTable\",\"mapping\":{\"status\":\"status\"}}},\"legend\":{\"enabled\":false},\"tooltip\":{\"enabled\":true}},\"queryContext\":{\"filters\":{}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"crossFilter\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"missionStatusTable\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"table_rows\",\"title\":\"Portfólio filtrável\",\"subtitle\":\"A tabela remota recebe o filtro emitido pelo chart\"},\"definition\":{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\",\"queryContext\"],\"inputs\":{\"resourcePath\":\"operations/vw-resumo-missoes\",\"tableId\":\"analytics-dashboard-mission-status-table\",\"queryContext\":{\"filters\":{}},\"config\":{\"toolbar\":{\"visible\":true,\"title\":\"Missões\",\"subtitle\":\"Resultado operacional remoto\"},\"columns\":[{\"field\":\"titulo\",\"header\":\"Missão\",\"type\":\"text\",\"sticky\":\"start\"},{\"field\":\"status\",\"header\":\"Status\",\"type\":\"badge\"},{\"field\":\"prioridade\",\"header\":\"Prioridade\",\"type\":\"badge\"},{\"field\":\"ameaca\",\"header\":\"Ameaça\",\"type\":\"text\"},{\"field\":\"qtdEventos\",\"header\":\"Eventos\",\"type\":\"number\"}],\"behavior\":{\"selection\":{\"enabled\":true,\"type\":\"single\"}}}},\"outputs\":{\"rowClick\":\"emit\",\"selectionChange\":\"emit\",\"loadingStateChange\":\"emit\"}}}]}}",
|
|
3242
3242
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.analytics-dashboard-showcase.json",
|
|
3243
|
-
"contentHash": "
|
|
3243
|
+
"contentHash": "8aebec87a3adc54eacdcb1491b81f1953cda3038597d43779dcf0f622f34a7d7",
|
|
3244
3244
|
"sourceKind": "component_definition",
|
|
3245
3245
|
"sourceId": "praxis-dynamic-page",
|
|
3246
3246
|
"corpusVersion": "1.0.0"
|
|
@@ -3248,9 +3248,9 @@
|
|
|
3248
3248
|
{
|
|
3249
3249
|
"chunkIndex": 26,
|
|
3250
3250
|
"chunkKind": "recipe",
|
|
3251
|
-
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets\",\"page\":{\"widgets\":[{\"key\":\"
|
|
3251
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets\",\"page\":{\"widgets\":[{\"key\":\"missionStatusVerticalBar\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"bar_chart\",\"title\":\"Status em barras verticais\",\"subtitle\":\"A mesma distribuição remota em apresentação vertical\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"analytics-dashboard-mission-status-vertical\",\"kind\":\"bar\",\"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\":\"Missões\",\"aggregation\":\"count\"}],\"legend\":{\"enabled\":false},\"tooltip\":{\"enabled\":true}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"payrollTrend\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"show_chart\",\"title\":\"Tendência mensal\",\"subtitle\":\"Linha remota de salário líquido por competência\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"analytics-dashboard-payroll-trend\",\"kind\":\"line\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/human-resources/vw-analytics-folha-pagamento\",\"operation\":\"timeseries\",\"options\":{\"granularity\":\"month\",\"orderBy\":\"key-asc\"}},\"dimensions\":[{\"field\":\"competencia\",\"label\":\"Competência\",\"role\":\"time\"}],\"metrics\":[{\"field\":\"salarioLiquido\",\"label\":\"Salário líquido\",\"aggregation\":\"sum\"}],\"legend\":{\"enabled\":true},\"tooltip\":{\"enabled\":true}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"payrollAreaTrend\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"area_chart\",\"title\":\"Massa líquida em área\",\"subtitle\":\"A tendência mensal remota com preenchimento de área\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"analytics-dashboard-payroll-area-trend\",\"kind\":\"area\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/human-resources/vw-analytics-folha-pagamento\",\"operation\":\"timeseries\",\"options\":{\"granularity\":\"month\",\"orderBy\":\"key-asc\"}},\"dimensions\":[{\"field\":\"competencia\",\"label\":\"Competência\",\"role\":\"time\"}],\"metrics\":[{\"field\":\"salarioLiquido\",\"label\":\"Salário líquido\",\"aggregation\":\"sum\"}],\"legend\":{\"enabled\":true},\"tooltip\":{\"enabled\":true}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"payrollStackedArea\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"area_chart\",\"title\":\"Composição da folha\",\"subtitle\":\"Área empilhada com séries legítimas do mesmo endpoint\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"analytics-dashboard-payroll-stacked-area\",\"kind\":\"stacked-area\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/human-resources/vw-analytics-folha-pagamento\",\"operation\":\"timeseries\",\"options\":{\"granularity\":\"month\",\"orderBy\":\"key-asc\"}},\"dimensions\":[{\"field\":\"competencia\",\"label\":\"Competência\",\"role\":\"time\"}],\"metrics\":[{\"field\":\"salarioBruto\",\"label\":\"Massa bruta\",\"aggregation\":\"sum\"},{\"field\":\"totalDescontos\",\"label\":\"Descontos\",\"aggregation\":\"sum\"}],\"legend\":{\"enabled\":true},\"tooltip\":{\"enabled\":true}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"payrollStackedBar\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"stacked_bar_chart\",\"title\":\"Composição em barras empilhadas\",\"subtitle\":\"As mesmas séries remotas em comparação mensal discreta\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"analytics-dashboard-payroll-stacked-bar\",\"kind\":\"stacked-bar\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/human-resources/vw-analytics-folha-pagamento\",\"operation\":\"timeseries\",\"options\":{\"granularity\":\"month\",\"orderBy\":\"key-asc\"}},\"dimensions\":[{\"field\":\"competencia\",\"label\":\"Competência\",\"role\":\"time\"}],\"metrics\":[{\"field\":\"salarioBruto\",\"label\":\"Massa bruta\",\"aggregation\":\"sum\"},{\"field\":\"totalDescontos\",\"label\":\"Descontos\",\"aggregation\":\"sum\"}],\"legend\":{\"enabled\":true},\"tooltip\":{\"enabled\":true}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"payrollProfile\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"donut_large\",\"title\":\"Perfis da folha\",\"subtitle\":\"Rosca remota por perfil calculado\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"analytics-dashboard-payroll-profile\",\"kind\":\"donut\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/human-resources/vw-analytics-folha-pagamento\",\"operation\":\"group-by\",\"options\":{\"limit\":8,\"orderBy\":\"value-desc\"}},\"dimensions\":[{\"field\":\"payrollProfile\",\"label\":\"Perfil\",\"role\":\"category\"}],\"metrics\":[{\"field\":\"count\",\"label\":\"Registros\",\"aggregation\":\"count\"}],\"legend\":{\"enabled\":true},\"tooltip\":{\"enabled\":true}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"payrollProfilePie\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"pie_chart\",\"title\":\"Perfis em pizza\",\"subtitle\":\"A mesma composição remota em setores preenchidos\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"analytics-dashboard-payroll-profile-pie\",\"kind\":\"pie\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/human-resources/vw-analytics-folha-pagamento\",\"operation\":\"group-by\",\"options\":{\"limit\":8,\"orderBy\":\"value-desc\"}},\"dimensions\":[{\"field\":\"payrollProfile\",\"label\":\"Perfil\",\"role\":\"category\"}],\"metrics\":[{\"field\":\"count\",\"label\":\"Registros\",\"aggregation\":\"count\"}],\"legend\":{\"enabled\":true},\"tooltip\":{\"enabled\":true}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"payrollProfileTreemap\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"account_tree\",\"title\":\"Perfis em mapa de árvore\",\"subtitle\":\"Composição remota proporcional com a mesma dimensão governada\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"analytics-dashboard-payroll-profile-treemap\",\"kind\":\"treemap\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/human-resources/vw-analytics-folha-pagamento\",\"operation\":\"group-by\",\"options\":{\"limit\":8,\"orderBy\":\"value-desc\"}},\"dimensions\":[{\"field\":\"payrollProfile\",\"label\":\"Perfil\",\"role\":\"category\"}],\"metrics\":[{\"field\":\"count\",\"label\":\"Registros\",\"aggregation\":\"count\"}],\"labels\":{\"enabled\":true},\"legend\":{\"enabled\":false},\"tooltip\":{\"enabled\":true}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}}]}}",
|
|
3252
3252
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.analytics-dashboard-showcase.json",
|
|
3253
|
-
"contentHash": "
|
|
3253
|
+
"contentHash": "9f7708fd74bdf5826b56fee964ad1849aafd51b5cfb039be75cf21f76f5e5358",
|
|
3254
3254
|
"sourceKind": "component_definition",
|
|
3255
3255
|
"sourceId": "praxis-dynamic-page",
|
|
3256
3256
|
"corpusVersion": "1.0.0"
|
|
@@ -3258,9 +3258,9 @@
|
|
|
3258
3258
|
{
|
|
3259
3259
|
"chunkIndex": 27,
|
|
3260
3260
|
"chunkKind": "recipe",
|
|
3261
|
-
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"
|
|
3261
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.widgets\",\"page\":{\"widgets\":[{\"key\":\"payrollCombo\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"multiline_chart\",\"title\":\"Bruto × descontos\",\"subtitle\":\"Combo remoto com descontos no eixo secundário\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"analytics-dashboard-payroll-combo\",\"kind\":\"combo\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/human-resources/vw-analytics-folha-pagamento\",\"operation\":\"timeseries\",\"options\":{\"granularity\":\"month\",\"orderBy\":\"key-asc\"}},\"dimensions\":[{\"field\":\"competencia\",\"label\":\"Competência\",\"role\":\"time\"}],\"metrics\":[{\"field\":\"salarioBruto\",\"label\":\"Massa bruta\",\"aggregation\":\"sum\",\"seriesKind\":\"bar\",\"axis\":\"primary\"},{\"field\":\"totalDescontos\",\"label\":\"Descontos\",\"aggregation\":\"sum\",\"seriesKind\":\"line\",\"axis\":\"secondary\"}],\"legend\":{\"enabled\":true},\"tooltip\":{\"enabled\":true}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}},{\"key\":\"absenceCorrelation\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"scatter_plot\",\"title\":\"Pessoas × dias afastados\",\"subtitle\":\"Dispersão remota por departamento\"},\"definition\":{\"id\":\"praxis-chart\",\"bindingOrder\":[\"chartDocument\",\"enableCustomization\"],\"inputs\":{\"chartDocument\":{\"version\":\"0.1.0\",\"chartId\":\"analytics-dashboard-absence-correlation\",\"kind\":\"scatter\",\"source\":{\"kind\":\"praxis.stats\",\"resource\":\"/api/human-resources/vw-analytics-afastamentos\",\"operation\":\"group-by\",\"options\":{\"limit\":20,\"orderBy\":\"value-desc\"}},\"dimensions\":[{\"field\":\"departamento\",\"label\":\"Departamento\",\"role\":\"category\"}],\"metrics\":[{\"field\":\"funcionarioId\",\"label\":\"Colaboradores\",\"aggregation\":\"distinct-count\"},{\"field\":\"diasAfastado\",\"label\":\"Dias afastados\",\"aggregation\":\"sum\"}],\"events\":{\"pointClick\":{\"action\":\"emit\"},\"selectionChange\":{\"action\":\"emit\"}},\"legend\":{\"enabled\":false},\"tooltip\":{\"enabled\":true}},\"enableCustomization\":true},\"outputs\":{\"pointClick\":\"emit\",\"selectionChange\":\"emit\",\"loadStateChange\":\"emit\"}}}]}}",
|
|
3262
3262
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.analytics-dashboard-showcase.json",
|
|
3263
|
-
"contentHash": "
|
|
3263
|
+
"contentHash": "2eca366fc68fb796fbecabd968b7b1ce96649b67ff29a540dfb797d1ac31394c",
|
|
3264
3264
|
"sourceKind": "component_definition",
|
|
3265
3265
|
"sourceId": "praxis-dynamic-page",
|
|
3266
3266
|
"corpusVersion": "1.0.0"
|
|
@@ -3268,6 +3268,16 @@
|
|
|
3268
3268
|
{
|
|
3269
3269
|
"chunkIndex": 28,
|
|
3270
3270
|
"chunkKind": "recipe",
|
|
3271
|
+
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"composition\":{\"version\":\"1.0.0\",\"links\":[{\"id\":\"analytics:procurement-filter-change->presentation.queryContext\",\"intent\":\"event-propagation\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"procurementFilter\",\"port\":\"change\",\"direction\":\"output\",\"componentType\":\"praxis-filter\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"procurementPresentation\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-analytics-presentation\"}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"payload\"}],\"steps\":[{\"id\":\"analytics:procurement-filter-dto-to-query-context\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"filters\":\"${source}\",\"meta\":{\"source\":\"praxis-filter-change\"}}}}]},\"policy\":{\"debounceMs\":80,\"missingValuePolicy\":\"use-default\",\"distinct\":true,\"errorPolicy\":\"diagnostic\"}},{\"id\":\"analytics:procurement-filter-change->funnel.queryContext\",\"intent\":\"event-propagation\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"procurementFilter\",\"port\":\"change\",\"direction\":\"output\",\"componentType\":\"praxis-filter\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"procurementFunnel\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-chart\"}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"payload\"}],\"steps\":[{\"id\":\"analytics:procurement-filter-dto-to-funnel-query-context\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"filters\":\"${source}\",\"meta\":{\"source\":\"praxis-filter-change\"}}}}]},\"policy\":{\"debounceMs\":80,\"missingValuePolicy\":\"use-default\",\"distinct\":true,\"errorPolicy\":\"diagnostic\"}},{\"id\":\"analytics:procurement-filter-change->pyramid.queryContext\",\"intent\":\"event-propagation\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"procurementFilter\",\"port\":\"change\",\"direction\":\"output\",\"componentType\":\"praxis-filter\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"procurementPyramid\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-chart\"}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"payload\"}],\"steps\":[{\"id\":\"analytics:procurement-filter-dto-to-pyramid-query-context\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"filters\":\"${source}\",\"meta\":{\"source\":\"praxis-filter-change\"}}}}]},\"policy\":{\"debounceMs\":80,\"missingValuePolicy\":\"use-default\",\"distinct\":true,\"errorPolicy\":\"diagnostic\"}},{\"id\":\"analytics:procurement-filter-change->gauge.queryContext\",\"intent\":\"event-propagation\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"procurementFilter\",\"port\":\"change\",\"direction\":\"output\",\"componentType\":\"praxis-filter\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"procurementGauge\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-chart\"}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"object-fragment\",\"sourceBindings\":[{\"source\":\"payload\"}],\"steps\":[{\"id\":\"analytics:procurement-filter-dto-to-gauge-query-context\",\"kind\":\"object-template\",\"phase\":\"link-propagation\",\"config\":{\"template\":{\"filters\":\"${source}\",\"meta\":{\"source\":\"praxis-filter-change\"}}}}]},\"policy\":{\"debounceMs\":80,\"missingValuePolicy\":\"use-default\",\"distinct\":true,\"errorPolicy\":\"diagnostic\"}},{\"id\":\"analytics:mission-status-crossFilter->table.queryContext.filters.status\",\"intent\":\"data-projection\",\"from\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionStatusChart\",\"port\":\"crossFilter\",\"direction\":\"output\",\"componentType\":\"praxis-chart\"}},\"to\":{\"kind\":\"component-port\",\"ref\":{\"widget\":\"missionStatusTable\",\"port\":\"queryContext\",\"direction\":\"input\",\"componentType\":\"praxis-table\",\"bindingPath\":\"filters.status\"}},\"transform\":{\"version\":\"2.0\",\"phase\":\"link-propagation\",\"mode\":\"single-value\",\"sourceBindings\":[{\"source\":\"event\"}],\"steps\":[{\"id\":\"analytics:pick-mission-status\",\"kind\":\"pick-path\",\"phase\":\"link-propagation\",\"input\":{\"source\":\"event\"},\"config\":{\"path\":\"payload.filters.status\"}}]},\"policy\":{\"debounceMs\":0,\"missingValuePolicy\":\"skip\",\"distinct\":true,\"errorPolicy\":\"diagnostic\"}}]}}}",
|
|
3272
|
+
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.analytics-dashboard-showcase.json",
|
|
3273
|
+
"contentHash": "f1c7a83f89d22866046361fb9f6cbae7b2096ac606a6bde300857613875f0379",
|
|
3274
|
+
"sourceKind": "component_definition",
|
|
3275
|
+
"sourceId": "praxis-dynamic-page",
|
|
3276
|
+
"corpusVersion": "1.0.0"
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
"chunkIndex": 29,
|
|
3280
|
+
"chunkKind": "recipe",
|
|
3271
3281
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an approval audit workbench using portable rich-content blocks for compliance signals, evidence tabs and governed remediation actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"approval-audit-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an approval audit or compliance workbench with evidence context, policy views and governed remediation actions.\",\"examplePrompts\":[\"create an approval audit workbench\",\"show a governed approval compliance rich content surface\",\"generate an approval audit page with evidence packet and remediation actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable approval audit surface.\",\"hostMediation\":\"The host mediates open, lock, remediate and escalate actions through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same approval audit workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps audit signals, evidence context, policy notes and remediation actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model compliance metrics with statGroup instead of custom host KPI cards.\",\"Model the selected audit case with lookupCard when the host already resolved the case context.\",\"Use tabs for evidence and policy instead of host-authored audit sections.\",\"Use relatedRecord, ctaGroup and actionCard for governed remediation 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\":\"approvalAuditWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"policy\",\"title\":\"Approval audit workbench\",\"subtitle\":\"Portable rich-content surface for governed approval audit flows\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"approval-audit-workbench\",\"context\":{\"audit\":{\"caseId\":\"AUD-771\",\"title\":\"Expense delegation exception\",\"status\":\"Packet under review\",\"exceptions\":\"4\",\"sla\":\"6h\",\"severity\":\"Critical\",\"controlFamily\":\"Delegation of authority\",\"submitter\":\"Livia Costa\"},\"owner\":{\"name\":\"Priya Nunes\",\"department\":\"Internal controls\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"warning\",\"icon\":\"policy\",\"titleExpr\":\"${audit.title}\",\"message\":\"Use a portable approval audit surface when the host must expose governed compliance and remediation actions without inventing approval-specific templates.\"},{\"type\":\"statGroup\",\"title\":\"Audit signals\",\"subtitle\":\"Canonical KPI block for approval audit surfaces\",\"layout\":\"grid\",\"items\":[{\"label\":\"Exceptions\",\"valueExpr\":\"${audit.exceptions}\",\"captionExpr\":\"${audit.caseId}\",\"icon\":\"gpp_maybe\"},{\"label\":\"SLA\",\"valueExpr\":\"${audit.sla}\",\"captionExpr\":\"${audit.status}\",\"icon\":\"schedule\"},{\"label\":\"Severity\",\"valueExpr\":\"${audit.severity}\",\"captionExpr\":\"${audit.controlFamily}\",\"icon\":\"priority_high\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected audit case\",\"status\":\"resolved\",\"subtitleExpr\":\"${audit.caseId}\",\"metaExpr\":\"${audit.title}\",\"ctaLabel\":\"Open case\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.audit.case.open\",\"payloadExpr\":\"${audit}\"},\"fields\":[{\"label\":\"Control family\",\"valueExpr\":\"${audit.controlFamily}\"},{\"label\":\"Severity\",\"valueExpr\":\"${audit.severity}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open evidence packet\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.audit.packet.open\",\"payloadExpr\":\"${audit}\"}}]},{\"type\":\"tabs\",\"title\":\"Audit views\",\"subtitle\":\"Portable editorial tabs for evidence and policy context.\",\"appearance\":\"underline\",\"defaultTabId\":\"evidence\",\"items\":[{\"id\":\"evidence\",\"label\":\"Evidence\",\"icon\":\"inventory_2\",\"content\":[{\"type\":\"text\",\"text\":\"Tabs keep audit evidence, policy notes and remediation criteria inside the same RichContentDocument.\"}]},{\"id\":\"policy\",\"label\":\"Policy\",\"icon\":\"policy\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Submitter\",\"valueExpr\":\"${audit.submitter}\"},{\"label\":\"Control family\",\"valueExpr\":\"${audit.controlFamily}\"},{\"label\":\"Remediation rule\",\"value\":\"Lock the packet and route to compliance whenever the policy owner is unresolved.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Compliance owner\",\"subtitleExpr\":\"${owner.name}\",\"relationLabel\":\"Audit lead\",\"metaExpr\":\"${owner.department}\",\"ctaLabel\":\"Open owner\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.audit.owner.open\",\"payloadExpr\":\"${owner}\"},\"fields\":[{\"label\":\"Control area\",\"value\":\"Finance / delegation\",\"hint\":\"Resolved from the current audit assignment context.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Assign reviewer\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.audit.owner.assignReviewer\",\"payloadExpr\":\"${audit}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Audit actions\",\"subtitle\":\"Governed audit and remediation outcomes\",\"message\":\"Use semantic audit actions instead of host-authored compliance button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Lock packet\",\"icon\":\"lock\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.audit.packet.lock\",\"payloadExpr\":\"${audit}\"}},{\"type\":\"actionButton\",\"label\":\"Request remediation\",\"icon\":\"assignment_late\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.audit.remediation.request\",\"payloadExpr\":\"${audit}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate compliance review\",\"subtitleExpr\":\"${audit.caseId}\",\"message\":\"Use actionCard when the approval host needs a governed audit escalation flow.\",\"metaExpr\":\"${audit.status}\",\"ctaLabel\":\"Escalate audit\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.audit.escalate\",\"payloadExpr\":\"${audit}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open evidence packet\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.audit.packet.open\",\"payloadExpr\":\"${audit}\"}}]}]}}}}]}}",
|
|
3272
3282
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.approval-audit-workbench.json",
|
|
3273
3283
|
"contentHash": "007828cc9b095df41c32724084b32f5ac8b92d5f3fd6dfd447da9d8219063380",
|
|
@@ -3276,7 +3286,7 @@
|
|
|
3276
3286
|
"corpusVersion": "1.0.0"
|
|
3277
3287
|
},
|
|
3278
3288
|
{
|
|
3279
|
-
"chunkIndex":
|
|
3289
|
+
"chunkIndex": 30,
|
|
3280
3290
|
"chunkKind": "recipe",
|
|
3281
3291
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an approval decision workbench using portable rich-content blocks instead of host-authored markup.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"approval-decision-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an approval workbench with governed metrics, approver context and semantic decision actions.\",\"examplePrompts\":[\"create an approval decision workbench\",\"show a governed approval rich content surface\",\"generate an approval page with approver summary and decisions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable approval surface.\",\"hostMediation\":\"The host mediates approve, request changes and escalate actions through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same approval workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps approval guidance, approver summaries and decision actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model approval KPIs with statGroup instead of custom host KPI cards.\",\"Model the assigned approver with relatedRecord when the record is already resolved in host context.\",\"Use ctaGroup and actionCard for governed decision 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\":\"approvalDecisionWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"approval\",\"title\":\"Approval decision workbench\",\"subtitle\":\"Portable rich-content surface for governed approval flows\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"approval-decision-workbench\",\"context\":{\"approval\":{\"requestId\":\"APR-2048\",\"title\":\"Payroll reconciliation package\",\"status\":\"Needs review\",\"amount\":\"$182.5k\",\"sla\":\"18h\",\"lane\":\"Finance / P0\",\"risk\":\"High\",\"submitter\":\"Ayla Hayes\"},\"approver\":{\"name\":\"Mira Drax\",\"department\":\"Finance Governance\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"warning\",\"icon\":\"gavel\",\"titleExpr\":\"${approval.title}\",\"message\":\"Use a portable approval surface when the host must expose governed decision actions without inventing approval-specific templates.\"},{\"type\":\"statGroup\",\"title\":\"Approval signals\",\"subtitle\":\"Canonical KPI block for the decision workbench\",\"layout\":\"grid\",\"items\":[{\"label\":\"Amount\",\"valueExpr\":\"${approval.amount}\",\"captionExpr\":\"${approval.requestId}\",\"icon\":\"payments\"},{\"label\":\"SLA\",\"valueExpr\":\"${approval.sla}\",\"captionExpr\":\"${approval.status}\",\"icon\":\"schedule\"},{\"label\":\"Risk\",\"valueExpr\":\"${approval.risk}\",\"captionExpr\":\"${approval.lane}\",\"icon\":\"priority_high\"}]},{\"type\":\"tabs\",\"title\":\"Approval views\",\"subtitle\":\"Portable editorial tabs for approval context and rationale.\",\"appearance\":\"underline\",\"defaultTabId\":\"summary\",\"items\":[{\"id\":\"summary\",\"label\":\"Summary\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Tabs keep approval rationale and operational notes inside the same RichContentDocument.\"}]},{\"id\":\"rationale\",\"label\":\"Rationale\",\"icon\":\"rule\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Submitter\",\"valueExpr\":\"${approval.submitter}\"},{\"label\":\"Approval lane\",\"valueExpr\":\"${approval.lane}\"},{\"label\":\"Portability rule\",\"value\":\"Keep domain semantics in the rich-content document; keep execution in the host.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Assigned approver\",\"subtitleExpr\":\"${approver.name}\",\"relationLabel\":\"Current owner\",\"metaExpr\":\"${approver.department}\",\"ctaLabel\":\"Open approver\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.owner.open\",\"payloadExpr\":\"${approver}\"},\"fields\":[{\"label\":\"Approval lane\",\"valueExpr\":\"${approval.lane}\",\"hint\":\"Resolved from the current approval assignment context.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Reassign\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.owner.reassign\",\"payloadExpr\":\"${approval}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Decision\",\"subtitle\":\"Governed approval outcomes\",\"message\":\"Use semantic decision actions instead of host-authored approval button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Approve\",\"icon\":\"check_circle\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.decision.approve\",\"payloadExpr\":\"${approval}\"}},{\"type\":\"actionButton\",\"label\":\"Request changes\",\"icon\":\"edit_note\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.decision.requestChanges\",\"payloadExpr\":\"${approval}\"}}]},{\"type\":\"actionCard\",\"title\":\"Inspect approval package\",\"subtitleExpr\":\"${approval.requestId}\",\"message\":\"Use actionCard when the approval host needs a governed deep-inspection flow.\",\"metaExpr\":\"${approval.status}\",\"ctaLabel\":\"Inspect package\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.package.inspect\",\"payloadExpr\":\"${approval}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Escalate\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.package.escalate\",\"payloadExpr\":\"${approval}\"}}]}]}}}}]}}",
|
|
3282
3292
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.approval-decision-workbench.json",
|
|
@@ -3286,7 +3296,7 @@
|
|
|
3286
3296
|
"corpusVersion": "1.0.0"
|
|
3287
3297
|
},
|
|
3288
3298
|
{
|
|
3289
|
-
"chunkIndex":
|
|
3299
|
+
"chunkIndex": 31,
|
|
3290
3300
|
"chunkKind": "recipe",
|
|
3291
3301
|
"content": "{\"_comment\":\"AI recipe: approval delegation exception workbench with portable rich-content blocks and host-mediated actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"approval-delegation-exception-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an approval delegation exception workbench with substitute coverage signals, selected exception context, policy tabs, delegate context and governed exception actions.\",\"examplePrompts\":[\"crie um workbench de excecao e delegacao de aprovacoes\",\"pagina de continuidade de aprovacao com substituto e acoes governadas\",\"approval delegation exception workbench with rich-content\"],\"platformValue\":[\"Keeps approval exception semantics in a portable praxis.rich-content document instead of host-specific approval markup.\",\"Uses lookupCard, relatedRecord, tabs, ctaGroup and actionCard so dynamic pages, dialogs, tabs and AI surfaces can render the same document.\",\"Declares actionId contracts for host-mediated execution; no handler, URL or capability snapshot is serialized into the document.\"],\"authoringGuidance\":[\"Use praxis-rich-content when an approval exception surface needs editorial policy context plus governed action affordances.\",\"Model substitute coverage metrics as statGroup, the active exception as lookupCard and the delegate as relatedRecord.\",\"Use ctaGroup for primary delegation outcomes and actionCard for escalations that must be mediated by the host.\",\"Do not serialize hostCapabilities or arbitrary handlers inside the recipe; hosts resolve capability and execution at runtime.\"]},\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"approvalDelegationExceptionWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"rule\",\"title\":\"Approval delegation exception workbench\",\"subtitle\":\"Portable rich-content surface for substitute approval coverage\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"approval-delegation-exception-workbench\",\"context\":{\"exception\":{\"id\":\"EXC-418\",\"title\":\"Unavailable approver coverage\",\"state\":\"Delegate nomination pending\",\"blockedApprovals\":\"7\",\"coverageGaps\":\"3\",\"agingRisk\":\"High\",\"lane\":\"Procurement approval / substitute required\",\"threshold\":\"48h\",\"requester\":\"Amanda Rocha\"},\"delegate\":{\"name\":\"Marina Lopes\",\"department\":\"Procurement governance\",\"scope\":\"Procurement contracts up to BRL 250k\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"warning\",\"icon\":\"rule\",\"titleExpr\":\"${exception.title}\",\"message\":\"Use a portable approval delegation exception surface when the host must expose substitute coverage and governed approval continuity actions without inventing approval-specific templates.\"},{\"type\":\"statGroup\",\"title\":\"Delegation signals\",\"subtitle\":\"Canonical KPI block for approval exception coverage surfaces\",\"layout\":\"grid\",\"items\":[{\"label\":\"Blocked approvals\",\"valueExpr\":\"${exception.blockedApprovals}\",\"captionExpr\":\"${exception.state}\",\"icon\":\"block\"},{\"label\":\"Coverage gaps\",\"valueExpr\":\"${exception.coverageGaps}\",\"caption\":\"Policy exceptions\",\"icon\":\"rule\"},{\"label\":\"Aging risk\",\"valueExpr\":\"${exception.agingRisk}\",\"captionExpr\":\"${exception.threshold}\",\"icon\":\"priority_high\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected exception\",\"status\":\"resolved\",\"subtitleExpr\":\"${exception.id}\",\"metaExpr\":\"${exception.title}\",\"ctaLabel\":\"Open exception\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.delegation.exception.open\",\"payloadExpr\":\"${exception}\"},\"fields\":[{\"label\":\"Policy lane\",\"valueExpr\":\"${exception.lane}\"},{\"label\":\"Exception state\",\"valueExpr\":\"${exception.state}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open exception packet\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.delegation.packet.open\",\"payloadExpr\":\"${exception}\"}}]},{\"type\":\"tabs\",\"title\":\"Exception views\",\"subtitle\":\"Portable editorial tabs for delegation rationale, policy and audit context.\",\"appearance\":\"underline\",\"defaultTabId\":\"coverage\",\"items\":[{\"id\":\"coverage\",\"label\":\"Coverage\",\"icon\":\"groups\",\"content\":[{\"type\":\"text\",\"text\":\"Keep substitute coverage rationale, approver availability and delegation notes inside the same RichContentDocument.\"}]},{\"id\":\"policy\",\"label\":\"Policy\",\"icon\":\"policy\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Requester\",\"valueExpr\":\"${exception.requester}\"},{\"label\":\"Delegation rule\",\"value\":\"Require a qualified substitute when the primary approver is unavailable and the request age crosses the policy threshold.\"},{\"label\":\"Audit source\",\"value\":\"Delegation matrix, approval event history and exception justification.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Proposed delegate\",\"relationLabel\":\"Substitute approver\",\"subtitleExpr\":\"${delegate.name}\",\"metaExpr\":\"${delegate.department}\",\"ctaLabel\":\"Open delegate\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.delegation.delegate.open\",\"payloadExpr\":\"${delegate}\"},\"fields\":[{\"label\":\"Delegation scope\",\"valueExpr\":\"${delegate.scope}\",\"hint\":\"Resolved from the approval delegation matrix.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Review delegate fit\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.delegation.delegate.reviewFit\",\"payloadExpr\":\"${delegate}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Delegation actions\",\"subtitle\":\"Governed approval exception outcomes\",\"message\":\"Use semantic delegation actions instead of host-authored exception button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Approve delegation\",\"icon\":\"task_alt\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.delegation.approve\",\"payloadExpr\":\"${exception}\"}},{\"type\":\"actionButton\",\"label\":\"Request alternate delegate\",\"icon\":\"sync\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.delegation.requestAlternate\",\"payloadExpr\":\"${exception}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate delegation exception\",\"subtitleExpr\":\"${exception.id}\",\"message\":\"Use actionCard when the approval host needs a governed escalation for unresolved delegation coverage gaps.\",\"metaExpr\":\"${exception.state}\",\"ctaLabel\":\"Escalate exception\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.delegation.exception.escalate\",\"payloadExpr\":\"${exception}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open exception packet\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.delegation.packet.open\",\"payloadExpr\":\"${exception}\"}}]}]}}}}]}}",
|
|
3292
3302
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.approval-delegation-exception-workbench.json",
|
|
@@ -3296,7 +3306,7 @@
|
|
|
3296
3306
|
"corpusVersion": "1.0.0"
|
|
3297
3307
|
},
|
|
3298
3308
|
{
|
|
3299
|
-
"chunkIndex":
|
|
3309
|
+
"chunkIndex": 32,
|
|
3300
3310
|
"chunkKind": "recipe",
|
|
3301
3311
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an approval review workbench using portable rich-content blocks for queue review, evidence tabs and governed escalation actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"approval-review-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an approval review workbench with queue metrics, selected request context, evidence tabs and governed escalation actions.\",\"examplePrompts\":[\"create an approval review workbench\",\"show a governed approval review rich content surface\",\"generate an approval review page with evidence tabs and escalation actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable approval review surface.\",\"hostMediation\":\"The host mediates open, approve, request evidence and escalate actions through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same approval review workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps review metrics, selected request context, evidence tabs and escalation actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model queue metrics with statGroup instead of custom host dashboard cards.\",\"Model the selected approval request with lookupCard when the host already resolved the queue item.\",\"Use tabs for summary and evidence instead of host-authored accordion wrappers.\",\"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\":\"approvalReviewWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"fact_check\",\"title\":\"Approval review workbench\",\"subtitle\":\"Portable rich-content surface for governed approval review flows\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"approval-review-workbench\",\"context\":{\"review\":{\"requestId\":\"APR-4096\",\"title\":\"Vendor onboarding policy exception\",\"status\":\"Escalation candidate\",\"pending\":\"12\",\"escalations\":\"3\",\"risk\":\"High\",\"portfolio\":\"Vendor operations\",\"reviewWindow\":\"4h\",\"submitter\":\"Noemi Vega\"},\"owner\":{\"name\":\"Noah Hart\",\"department\":\"Operations governance\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"warning\",\"icon\":\"fact_check\",\"titleExpr\":\"${review.title}\",\"message\":\"Use a portable approval review surface when the host must expose governed queue review and escalation actions without inventing approval-specific templates.\"},{\"type\":\"statGroup\",\"title\":\"Review signals\",\"subtitle\":\"Canonical KPI block for approval review surfaces\",\"layout\":\"grid\",\"items\":[{\"label\":\"Pending\",\"valueExpr\":\"${review.pending}\",\"captionExpr\":\"${review.requestId}\",\"icon\":\"pending_actions\"},{\"label\":\"Escalations\",\"valueExpr\":\"${review.escalations}\",\"captionExpr\":\"${review.status}\",\"icon\":\"warning\"},{\"label\":\"Review window\",\"valueExpr\":\"${review.reviewWindow}\",\"captionExpr\":\"${review.risk}\",\"icon\":\"schedule\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected request\",\"status\":\"resolved\",\"subtitleExpr\":\"${review.requestId}\",\"metaExpr\":\"${review.title}\",\"ctaLabel\":\"Open request\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.review.open\",\"payloadExpr\":\"${review}\"},\"fields\":[{\"label\":\"Portfolio\",\"valueExpr\":\"${review.portfolio}\"},{\"label\":\"Risk\",\"valueExpr\":\"${review.risk}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.review.dossier.open\",\"payloadExpr\":\"${review}\"}}]},{\"type\":\"tabs\",\"title\":\"Review views\",\"subtitle\":\"Portable editorial tabs for approval review context.\",\"appearance\":\"underline\",\"defaultTabId\":\"summary\",\"items\":[{\"id\":\"summary\",\"label\":\"Summary\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Tabs keep approval review rationale, evidence notes and escalation criteria inside the same RichContentDocument.\"}]},{\"id\":\"evidence\",\"label\":\"Evidence\",\"icon\":\"inventory_2\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Submitter\",\"valueExpr\":\"${review.submitter}\"},{\"label\":\"Portfolio\",\"valueExpr\":\"${review.portfolio}\"},{\"label\":\"Escalation rule\",\"value\":\"Escalate requests above the policy threshold or unresolved compliance exceptions.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Escalation owner\",\"subtitleExpr\":\"${owner.name}\",\"relationLabel\":\"Review lead\",\"metaExpr\":\"${owner.department}\",\"ctaLabel\":\"Open owner\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.review.owner.open\",\"payloadExpr\":\"${owner}\"},\"fields\":[{\"label\":\"Coverage\",\"value\":\"Vendor onboarding / P1\",\"hint\":\"Resolved from the current review assignment context.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Reassign\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.review.owner.reassign\",\"payloadExpr\":\"${review}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Review actions\",\"subtitle\":\"Governed approval review outcomes\",\"message\":\"Use semantic review actions instead of host-authored approval queue button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Approve review\",\"icon\":\"check_circle\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.review.approve\",\"payloadExpr\":\"${review}\"}},{\"type\":\"actionButton\",\"label\":\"Request evidence\",\"icon\":\"fact_check\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.review.requestEvidence\",\"payloadExpr\":\"${review}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate approval case\",\"subtitleExpr\":\"${review.requestId}\",\"message\":\"Use actionCard when the approval host needs a governed escalation flow.\",\"metaExpr\":\"${review.status}\",\"ctaLabel\":\"Escalate case\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.review.escalate\",\"payloadExpr\":\"${review}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open dossier\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.review.dossier.open\",\"payloadExpr\":\"${review}\"}}]}]}}}}]}}",
|
|
3302
3312
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.approval-review-workbench.json",
|
|
@@ -3306,7 +3316,7 @@
|
|
|
3306
3316
|
"corpusVersion": "1.0.0"
|
|
3307
3317
|
},
|
|
3308
3318
|
{
|
|
3309
|
-
"chunkIndex":
|
|
3319
|
+
"chunkIndex": 33,
|
|
3310
3320
|
"chunkKind": "recipe",
|
|
3311
3321
|
"content": "{\"_comment\":\"Praxis Dynamic Page recipe for an approval SLA triage workbench using portable rich-content blocks for breach signals, queue ownership and governed triage actions.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"approval-sla-triage-workbench\",\"status\":\"public-example\",\"useWhen\":\"Create an approval SLA or queue triage workbench with breach signals, queue ownership and governed triage actions.\",\"examplePrompts\":[\"create an approval sla triage workbench\",\"show a governed approval queue triage rich content surface\",\"generate an approval page with breach signals and queue triage actions\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/rich-content owns the portable approval SLA triage surface.\",\"hostMediation\":\"The host mediates open, rebalance, owner handoff and escalation actions through actionId contracts.\",\"publicExamples\":\"praxis-ui-landing-page can expose the same approval SLA triage workbench without serializing runtime helpers.\",\"agentCorpus\":\"This recipe keeps breach metrics, selected queue case context, SLA policy tabs and triage actions inside RichContentDocument so agents can reuse the same semantic surface across hosts.\"},\"authoringGuidance\":[\"Use definition.id \\\"praxis-rich-content\\\".\",\"Model breach metrics with statGroup instead of custom host queue cards.\",\"Model the selected queue case with lookupCard when the host already resolved the SLA triage item.\",\"Use tabs for summary and policy instead of host-authored accordion wrappers.\",\"Use relatedRecord, ctaGroup and actionCard for governed triage 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\":\"approvalSlaTriageWorkbench\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"timer\",\"title\":\"Approval SLA triage workbench\",\"subtitle\":\"Portable rich-content surface for governed approval queue triage\"},\"definition\":{\"id\":\"praxis-rich-content\",\"bindingOrder\":[\"document\",\"context\",\"layout\",\"rootClassName\"],\"inputs\":{\"layout\":\"block\",\"rootClassName\":\"approval-sla-triage-workbench\",\"context\":{\"triage\":{\"caseId\":\"SLA-221\",\"title\":\"Procurement contract escalation\",\"status\":\"Breach in progress\",\"breaches\":\"5\",\"p1Queue\":\"11\",\"medianAge\":\"9h\",\"priority\":\"P1\",\"queue\":\"Procurement approvals\",\"submitter\":\"Amanda Rocha\"},\"owner\":{\"name\":\"Helena Costa\",\"department\":\"Approval operations\"}},\"document\":{\"kind\":\"praxis.rich-content\",\"version\":\"1.0.0\",\"nodes\":[{\"type\":\"callout\",\"tone\":\"warning\",\"icon\":\"timer\",\"titleExpr\":\"${triage.title}\",\"message\":\"Use a portable approval SLA triage surface when the host must expose governed breach intervention and queue triage actions without inventing approval-specific templates.\"},{\"type\":\"statGroup\",\"title\":\"Triage signals\",\"subtitle\":\"Canonical KPI block for approval SLA triage surfaces\",\"layout\":\"grid\",\"items\":[{\"label\":\"Breaches\",\"valueExpr\":\"${triage.breaches}\",\"captionExpr\":\"${triage.status}\",\"icon\":\"timer_off\"},{\"label\":\"P1 queue\",\"valueExpr\":\"${triage.p1Queue}\",\"captionExpr\":\"${triage.queue}\",\"icon\":\"priority_high\"},{\"label\":\"Median age\",\"valueExpr\":\"${triage.medianAge}\",\"captionExpr\":\"${triage.priority}\",\"icon\":\"schedule\"}]},{\"type\":\"lookupCard\",\"title\":\"Selected queue case\",\"status\":\"resolved\",\"subtitleExpr\":\"${triage.caseId}\",\"metaExpr\":\"${triage.title}\",\"ctaLabel\":\"Open case\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.sla.case.open\",\"payloadExpr\":\"${triage}\"},\"fields\":[{\"label\":\"Queue\",\"valueExpr\":\"${triage.queue}\"},{\"label\":\"Priority\",\"valueExpr\":\"${triage.priority}\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open queue packet\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.sla.packet.open\",\"payloadExpr\":\"${triage}\"}}]},{\"type\":\"tabs\",\"title\":\"Triage views\",\"subtitle\":\"Portable editorial tabs for queue summary and SLA policy context.\",\"appearance\":\"underline\",\"defaultTabId\":\"summary\",\"items\":[{\"id\":\"summary\",\"label\":\"Summary\",\"icon\":\"dashboard\",\"content\":[{\"type\":\"text\",\"text\":\"Keep queue rationale, breach context and reassignment notes inside the same RichContentDocument.\"}]},{\"id\":\"policy\",\"label\":\"Policy\",\"icon\":\"policy\",\"content\":[{\"type\":\"keyValueList\",\"layout\":\"stacked\",\"items\":[{\"label\":\"Submitter\",\"valueExpr\":\"${triage.submitter}\"},{\"label\":\"Triage rule\",\"value\":\"Escalate any P1 request above the SLA threshold or any queue with missing owner coverage.\"},{\"label\":\"Evidence source\",\"value\":\"SLA board snapshot, owner rota and approval event history.\"}]}]}]},{\"type\":\"relatedRecord\",\"title\":\"Queue owner\",\"subtitleExpr\":\"${owner.name}\",\"relationLabel\":\"Triage lead\",\"metaExpr\":\"${owner.department}\",\"ctaLabel\":\"Open owner\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.sla.owner.open\",\"payloadExpr\":\"${owner}\"},\"fields\":[{\"label\":\"Coverage\",\"value\":\"Procurement / P1 / EMEA\",\"hint\":\"Resolved from the queue triage assignment.\"}],\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Rebalance queue\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.sla.queue.rebalance\",\"payloadExpr\":\"${triage}\"}}]},{\"type\":\"ctaGroup\",\"title\":\"Triage actions\",\"subtitle\":\"Governed SLA triage outcomes\",\"message\":\"Use semantic triage actions instead of host-authored SLA queue button bars.\",\"layout\":\"split\",\"actions\":[{\"type\":\"actionButton\",\"label\":\"Start triage\",\"icon\":\"task_alt\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.sla.triage.start\",\"payloadExpr\":\"${triage}\"}},{\"type\":\"actionButton\",\"label\":\"Request owner update\",\"icon\":\"sync\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.sla.owner.requestUpdate\",\"payloadExpr\":\"${triage}\"}}]},{\"type\":\"actionCard\",\"title\":\"Escalate SLA breach\",\"subtitleExpr\":\"${triage.caseId}\",\"message\":\"Use actionCard when the approval host needs a governed escalation flow for unresolved SLA breaches.\",\"metaExpr\":\"${triage.status}\",\"ctaLabel\":\"Escalate breach\",\"variant\":\"raised\",\"color\":\"primary\",\"action\":{\"actionId\":\"approval.sla.escalate\",\"payloadExpr\":\"${triage}\"},\"secondaryActions\":[{\"type\":\"actionButton\",\"label\":\"Open queue packet\",\"variant\":\"stroked\",\"action\":{\"actionId\":\"approval.sla.packet.open\",\"payloadExpr\":\"${triage}\"}}]}]}}}}]}}",
|
|
3312
3322
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.approval-sla-triage-workbench.json",
|
|
@@ -3316,7 +3326,7 @@
|
|
|
3316
3326
|
"corpusVersion": "1.0.0"
|
|
3317
3327
|
},
|
|
3318
3328
|
{
|
|
3319
|
-
"chunkIndex":
|
|
3329
|
+
"chunkIndex": 34,
|
|
3320
3330
|
"chunkKind": "recipe",
|
|
3321
3331
|
"content": "{\"_comment\":\"Template base para Praxis Dynamic Page (praxis-dynamic-page) com um widget principal.\",\"_comment2\":\"resourcePath deve ser o path base do recurso (sem /filter).\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"base\",\"useWhen\":\"Create a dynamic page with a single widget.\",\"examplePrompts\":[\"create a simple page with a table\",\"add a dynamic page with one widget\"]},\"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\"}}}]}}",
|
|
3322
3332
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.base.json",
|
|
@@ -3326,7 +3336,7 @@
|
|
|
3326
3336
|
"corpusVersion": "1.0.0"
|
|
3327
3337
|
},
|
|
3328
3338
|
{
|
|
3329
|
-
"chunkIndex":
|
|
3339
|
+
"chunkIndex": 35,
|
|
3330
3340
|
"chunkKind": "recipe",
|
|
3331
3341
|
"content": "{\"_comment\":\"Template de pagina com CRUD (Praxis Dynamic Page), usando acoes canonicas inferidas no metadata do CRUD.\",\"_comment2\":\"resourcePath deve ser o path base do recurso (sem /filter).\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"crud\",\"useWhen\":\"Create a dynamic page with a CRUD widget.\",\"examplePrompts\":[\"pagina com crud\",\"crie um crud completo\",\"tela de cadastro completa\"]},\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":2,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"mainCrud\",\"definition\":{\"id\":\"praxis-crud\",\"bindingOrder\":[\"metadata\"],\"inputs\":{\"crudId\":\"{{resourceKey}}-crud\",\"metadata\":{\"component\":\"praxis-crud\",\"resource\":{\"path\":\"{{resourcePath}}\",\"idField\":\"{{idField}}\",\"endpointKey\":\"{{resourceKey}}\"},\"table\":{\"toolbar\":{\"visible\":true}},\"actions\":[{\"action\":\"create\",\"openMode\":\"modal\"}]}},\"outputs\":{\"afterSave\":\"emit\",\"afterDelete\":\"emit\"}}}]}}",
|
|
3332
3342
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.crud.json",
|
|
@@ -3336,7 +3346,7 @@
|
|
|
3336
3346
|
"corpusVersion": "1.0.0"
|
|
3337
3347
|
},
|
|
3338
3348
|
{
|
|
3339
|
-
"chunkIndex":
|
|
3349
|
+
"chunkIndex": 36,
|
|
3340
3350
|
"chunkKind": "recipe",
|
|
3341
3351
|
"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.\"}",
|
|
3342
3352
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
@@ -3346,7 +3356,7 @@
|
|
|
3346
3356
|
"corpusVersion": "1.0.0"
|
|
3347
3357
|
},
|
|
3348
3358
|
{
|
|
3349
|
-
"chunkIndex":
|
|
3359
|
+
"chunkIndex": 37,
|
|
3350
3360
|
"chunkKind": "recipe",
|
|
3351
3361
|
"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.\"}",
|
|
3352
3362
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
@@ -3356,7 +3366,7 @@
|
|
|
3356
3366
|
"corpusVersion": "1.0.0"
|
|
3357
3367
|
},
|
|
3358
3368
|
{
|
|
3359
|
-
"chunkIndex":
|
|
3369
|
+
"chunkIndex": 38,
|
|
3360
3370
|
"chunkKind": "recipe",
|
|
3361
3371
|
"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\"]}}",
|
|
3362
3372
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
@@ -3366,7 +3376,7 @@
|
|
|
3366
3376
|
"corpusVersion": "1.0.0"
|
|
3367
3377
|
},
|
|
3368
3378
|
{
|
|
3369
|
-
"chunkIndex":
|
|
3379
|
+
"chunkIndex": 39,
|
|
3370
3380
|
"chunkKind": "recipe",
|
|
3371
3381
|
"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.\"]}}",
|
|
3372
3382
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
@@ -3376,7 +3386,7 @@
|
|
|
3376
3386
|
"corpusVersion": "1.0.0"
|
|
3377
3387
|
},
|
|
3378
3388
|
{
|
|
3379
|
-
"chunkIndex":
|
|
3389
|
+
"chunkIndex": 40,
|
|
3380
3390
|
"chunkKind": "recipe",
|
|
3381
3391
|
"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\"}}",
|
|
3382
3392
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
@@ -3386,7 +3396,7 @@
|
|
|
3386
3396
|
"corpusVersion": "1.0.0"
|
|
3387
3397
|
},
|
|
3388
3398
|
{
|
|
3389
|
-
"chunkIndex":
|
|
3399
|
+
"chunkIndex": 41,
|
|
3390
3400
|
"chunkKind": "recipe",
|
|
3391
3401
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"}}}",
|
|
3392
3402
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
@@ -3396,7 +3406,7 @@
|
|
|
3396
3406
|
"corpusVersion": "1.0.0"
|
|
3397
3407
|
},
|
|
3398
3408
|
{
|
|
3399
|
-
"chunkIndex":
|
|
3409
|
+
"chunkIndex": 42,
|
|
3400
3410
|
"chunkKind": "recipe",
|
|
3401
3411
|
"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\"}}}",
|
|
3402
3412
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
@@ -3406,7 +3416,7 @@
|
|
|
3406
3416
|
"corpusVersion": "1.0.0"
|
|
3407
3417
|
},
|
|
3408
3418
|
{
|
|
3409
|
-
"chunkIndex":
|
|
3419
|
+
"chunkIndex": 43,
|
|
3410
3420
|
"chunkKind": "recipe",
|
|
3411
3421
|
"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\"]}}",
|
|
3412
3422
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
@@ -3416,7 +3426,7 @@
|
|
|
3416
3426
|
"corpusVersion": "1.0.0"
|
|
3417
3427
|
},
|
|
3418
3428
|
{
|
|
3419
|
-
"chunkIndex":
|
|
3429
|
+
"chunkIndex": 44,
|
|
3420
3430
|
"chunkKind": "recipe",
|
|
3421
3431
|
"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\"}}",
|
|
3422
3432
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
@@ -3426,7 +3436,7 @@
|
|
|
3426
3436
|
"corpusVersion": "1.0.0"
|
|
3427
3437
|
},
|
|
3428
3438
|
{
|
|
3429
|
-
"chunkIndex":
|
|
3439
|
+
"chunkIndex": 45,
|
|
3430
3440
|
"chunkKind": "recipe",
|
|
3431
3441
|
"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\"}}}",
|
|
3432
3442
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
@@ -3436,7 +3446,7 @@
|
|
|
3436
3446
|
"corpusVersion": "1.0.0"
|
|
3437
3447
|
},
|
|
3438
3448
|
{
|
|
3439
|
-
"chunkIndex":
|
|
3449
|
+
"chunkIndex": 46,
|
|
3440
3450
|
"chunkKind": "recipe",
|
|
3441
3451
|
"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\"}}}",
|
|
3442
3452
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
@@ -3446,7 +3456,7 @@
|
|
|
3446
3456
|
"corpusVersion": "1.0.0"
|
|
3447
3457
|
},
|
|
3448
3458
|
{
|
|
3449
|
-
"chunkIndex":
|
|
3459
|
+
"chunkIndex": 47,
|
|
3450
3460
|
"chunkKind": "recipe",
|
|
3451
3461
|
"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\"}}}",
|
|
3452
3462
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
|
|
@@ -3456,7 +3466,7 @@
|
|
|
3456
3466
|
"corpusVersion": "1.0.0"
|
|
3457
3467
|
},
|
|
3458
3468
|
{
|
|
3459
|
-
"chunkIndex":
|
|
3469
|
+
"chunkIndex": 48,
|
|
3460
3470
|
"chunkKind": "recipe",
|
|
3461
3471
|
"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.\"}",
|
|
3462
3472
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3466,7 +3476,7 @@
|
|
|
3466
3476
|
"corpusVersion": "1.0.0"
|
|
3467
3477
|
},
|
|
3468
3478
|
{
|
|
3469
|
-
"chunkIndex":
|
|
3479
|
+
"chunkIndex": 49,
|
|
3470
3480
|
"chunkKind": "recipe",
|
|
3471
3481
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment2\",\"_comment2\":\"Use quando a meta for mostrar muitos controlType package-owned em um formulario local/transient.\"}",
|
|
3472
3482
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3476,7 +3486,7 @@
|
|
|
3476
3486
|
"corpusVersion": "1.0.0"
|
|
3477
3487
|
},
|
|
3478
3488
|
{
|
|
3479
|
-
"chunkIndex":
|
|
3489
|
+
"chunkIndex": 50,
|
|
3480
3490
|
"chunkKind": "recipe",
|
|
3481
3491
|
"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\"]}}",
|
|
3482
3492
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3486,7 +3496,7 @@
|
|
|
3486
3496
|
"corpusVersion": "1.0.0"
|
|
3487
3497
|
},
|
|
3488
3498
|
{
|
|
3489
|
-
"chunkIndex":
|
|
3499
|
+
"chunkIndex": 51,
|
|
3490
3500
|
"chunkKind": "recipe",
|
|
3491
3501
|
"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.\"}}",
|
|
3492
3502
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3496,7 +3506,7 @@
|
|
|
3496
3506
|
"corpusVersion": "1.0.0"
|
|
3497
3507
|
},
|
|
3498
3508
|
{
|
|
3499
|
-
"chunkIndex":
|
|
3509
|
+
"chunkIndex": 52,
|
|
3500
3510
|
"chunkKind": "recipe",
|
|
3501
3511
|
"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\"]}}",
|
|
3502
3512
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3506,7 +3516,7 @@
|
|
|
3506
3516
|
"corpusVersion": "1.0.0"
|
|
3507
3517
|
},
|
|
3508
3518
|
{
|
|
3509
|
-
"chunkIndex":
|
|
3519
|
+
"chunkIndex": 53,
|
|
3510
3520
|
"chunkKind": "recipe",
|
|
3511
3521
|
"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.\"]}",
|
|
3512
3522
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3516,7 +3526,7 @@
|
|
|
3516
3526
|
"corpusVersion": "1.0.0"
|
|
3517
3527
|
},
|
|
3518
3528
|
{
|
|
3519
|
-
"chunkIndex":
|
|
3529
|
+
"chunkIndex": 54,
|
|
3520
3530
|
"chunkKind": "recipe",
|
|
3521
3531
|
"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\"]}",
|
|
3522
3532
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3526,7 +3536,7 @@
|
|
|
3526
3536
|
"corpusVersion": "1.0.0"
|
|
3527
3537
|
},
|
|
3528
3538
|
{
|
|
3529
|
-
"chunkIndex":
|
|
3539
|
+
"chunkIndex": 55,
|
|
3530
3540
|
"chunkKind": "recipe",
|
|
3531
3541
|
"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\"}}}}}]}}",
|
|
3532
3542
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
|
|
@@ -3536,7 +3546,7 @@
|
|
|
3536
3546
|
"corpusVersion": "1.0.0"
|
|
3537
3547
|
},
|
|
3538
3548
|
{
|
|
3539
|
-
"chunkIndex":
|
|
3549
|
+
"chunkIndex": 56,
|
|
3540
3550
|
"chunkKind": "recipe",
|
|
3541
3551
|
"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\"}}}}}]}}",
|
|
3542
3552
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.editable-collection-form.json",
|
|
@@ -3546,7 +3556,7 @@
|
|
|
3546
3556
|
"corpusVersion": "1.0.0"
|
|
3547
3557
|
},
|
|
3548
3558
|
{
|
|
3549
|
-
"chunkIndex":
|
|
3559
|
+
"chunkIndex": 57,
|
|
3550
3560
|
"chunkKind": "recipe",
|
|
3551
3561
|
"content": "{\"_comment\":\"Recipe for agents to compose a governed enterprise briefing from the canonical editorial widgets owned by @praxisui/core.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"editorial-governance-briefing\",\"status\":\"public-example\",\"useWhen\":\"Create a contextual enterprise briefing where the page must establish decision scope, reviewer identity, policy boundaries and trusted follow-up links without embedding business rules in editorial copy.\",\"examplePrompts\":[\"create a governed rollout briefing\",\"show an enterprise editorial shell with viewer context\",\"compose hero, context, legal notice and footer widgets\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/core owns the editorial widget contracts, content policy, safe link normalization and context projection.\",\"hostBoundary\":\"The host supplies authenticated context, resolves authorization and handles emitted actions; editorial widgets explain a decision but never grant permission or execute it.\",\"angularRuntime\":\"Dynamic Page resolves each registered widget from ComponentMetadataRegistry and materializes the ordered briefing without route-specific Angular markup.\",\"publicExamples\":\"praxis-ui-landing-page publishes the executable page, its JSON walkthrough and explicit production boundaries.\",\"agentCorpus\":\"This recipe keeps agents on stable widget ids and documented inputs instead of generating arbitrary HTML or local navigation behavior.\"},\"authoringGuidance\":[\"Use widget:hero-banner to establish the outcome, status and executive evidence before operational detail.\",\"Use form:user-context-summary to project authenticated host context; do not duplicate those values in formData or treat display fields as authorization evidence.\",\"Use widget:legal-notice for explanatory policy content only; the backend remains the owner of enforceable rules and consent records.\",\"Use widget:footer-links with links accepted by the editorial content policy; do not add frontend command routing to labels or href fragments.\",\"Keep instanceId, analyticsId and actionId stable when the host correlates telemetry or mediated actions.\"],\"teaches\":[\"editorial.hero-decision-framing\",\"editorial.authenticated-context-projection\",\"editorial.legal-boundary\",\"editorial.safe-link-normalization\",\"dynamic-page.registry-materialization\",\"dynamic-page.host-mediated-actions\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"launchBriefingHero\",\"definition\":{\"id\":\"widget:hero-banner\",\"inputs\":{\"instanceId\":\"regulated-rollout-hero\",\"analyticsId\":\"dynamic-page.editorial-governance.hero\",\"ariaLabel\":\"Regulated market rollout briefing\",\"brandText\":\"Praxis Decision Operations\",\"badges\":[{\"label\":\"Human approval required\",\"tone\":\"warning\"},{\"label\":\"Evidence complete\",\"tone\":\"highlight\"}],\"subtitle\":\"Release council briefing\",\"title\":\"Regulated market rollout\",\"titleAccent\":\"ready for governed review\",\"description\":\"One portable document frames the decision, identifies the active review scope and keeps policy evidence visible before any host-mediated approval.\",\"metaItems\":[{\"label\":\"Decision package\",\"value\":\"DP-2026-091\"},{\"label\":\"Review window\",\"value\":\"26–30 Aug 2026\"},{\"label\":\"Owner\",\"value\":\"Enterprise Risk Office\"}],\"visualSummary\":{\"eyebrow\":\"Readiness evidence\",\"title\":\"Release posture\",\"status\":\"Reviewable\",\"statusTone\":\"success\",\"items\":[{\"label\":\"Controls mapped\",\"value\":\"18 / 18\",\"tone\":\"success\"},{\"label\":\"Open exceptions\",\"value\":\"2\",\"tone\":\"warning\"},{\"label\":\"Markets\",\"value\":\"3\",\"tone\":\"info\"}],\"events\":[{\"label\":\"Security attestation\",\"value\":\"Received\",\"tone\":\"success\"},{\"label\":\"Legal review\",\"value\":\"Pending council\",\"tone\":\"warning\"}]},\"variant\":\"institutional\",\"appearance\":\"card\"}}},{\"key\":\"reviewerContext\",\"definition\":{\"id\":\"form:user-context-summary\",\"inputs\":{\"instanceId\":\"regulated-rollout-reviewer-context\",\"analyticsId\":\"dynamic-page.editorial-governance.context\",\"ariaLabel\":\"Active review context\",\"title\":\"You are reviewing as\",\"subtitle\":\"This context is supplied by the authenticated host and remains outside the decision payload.\",\"appearance\":\"card\",\"source\":\"context\",\"context\":{\"identity\":{\"displayName\":\"Marina Costa\",\"role\":\"Release council member\"},\"scope\":{\"organization\":\"Praxis Europe\",\"market\":\"EU regulated operations\"}},\"fields\":[{\"label\":\"Reviewer\",\"valuePath\":\"identity.displayName\",\"fallback\":\"Authenticated reviewer\"},{\"label\":\"Role\",\"valuePath\":\"identity.role\",\"fallback\":\"Role unavailable\"},{\"label\":\"Organization\",\"valuePath\":\"scope.organization\",\"fallback\":\"Organization unavailable\"},{\"label\":\"Decision scope\",\"valuePath\":\"scope.market\",\"fallback\":\"Scope unavailable\"}],\"actionId\":\"request-context-change\",\"actionLabel\":\"Review another scope\"},\"outputs\":{\"actionTriggered\":\"emit\"}}},{\"key\":\"decisionPolicyNotice\",\"definition\":{\"id\":\"widget:legal-notice\",\"inputs\":{\"instanceId\":\"regulated-rollout-policy-notice\",\"analyticsId\":\"dynamic-page.editorial-governance.policy\",\"ariaLabel\":\"Decision policy notice\",\"title\":\"Decision authority remains outside this briefing\",\"subtitle\":\"Read before recording a recommendation\",\"contentFormat\":\"plain\",\"content\":\"This page explains the current evidence package. It does not grant market access, replace capability checks or persist approval. The authenticated host and backend remain responsible for authorization, policy evaluation, audit and the final command.\",\"severity\":\"warning\",\"appearance\":\"card\",\"links\":[{\"label\":\"Review governance model\",\"href\":\"/docs\"},{\"label\":\"Inspect public examples\",\"href\":\"/examples\"}]}}},{\"key\":\"institutionalEvidenceLinks\",\"definition\":{\"id\":\"widget:footer-links\",\"inputs\":{\"instanceId\":\"regulated-rollout-footer\",\"analyticsId\":\"dynamic-page.editorial-governance.footer\",\"ariaLabel\":\"Institutional evidence links\",\"brandText\":\"Praxis Decision Operations\",\"secondaryText\":\"Portable editorial context. Governed decisions remain host- and backend-owned.\",\"layout\":\"inline\",\"appearance\":\"surface\",\"links\":[{\"label\":\"Documentation\",\"href\":\"/docs\"},{\"label\":\"Dynamic Page examples\",\"href\":\"/examples/dynamic-page\"},{\"label\":\"Platform overview\",\"href\":\"/\"}]}}}]}}",
|
|
3552
3562
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.editorial-governance-briefing.json",
|
|
@@ -3556,7 +3566,7 @@
|
|
|
3556
3566
|
"corpusVersion": "1.0.0"
|
|
3557
3567
|
},
|
|
3558
3568
|
{
|
|
3559
|
-
"chunkIndex":
|
|
3569
|
+
"chunkIndex": 58,
|
|
3560
3570
|
"chunkKind": "recipe",
|
|
3561
3571
|
"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}\"}}]}]}}}}]}}",
|
|
3562
3572
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-compensation-review-workbench.json",
|
|
@@ -3566,7 +3576,7 @@
|
|
|
3566
3576
|
"corpusVersion": "1.0.0"
|
|
3567
3577
|
},
|
|
3568
3578
|
{
|
|
3569
|
-
"chunkIndex":
|
|
3579
|
+
"chunkIndex": 59,
|
|
3570
3580
|
"chunkKind": "recipe",
|
|
3571
3581
|
"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}\"}}]}]}}}}]}}",
|
|
3572
3582
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-insight-workbench.json",
|
|
@@ -3576,7 +3586,7 @@
|
|
|
3576
3586
|
"corpusVersion": "1.0.0"
|
|
3577
3587
|
},
|
|
3578
3588
|
{
|
|
3579
|
-
"chunkIndex":
|
|
3589
|
+
"chunkIndex": 60,
|
|
3580
3590
|
"chunkKind": "recipe",
|
|
3581
3591
|
"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}\"}}]}]}}}}]}}",
|
|
3582
3592
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-internal-mobility-workbench.json",
|
|
@@ -3586,7 +3596,7 @@
|
|
|
3586
3596
|
"corpusVersion": "1.0.0"
|
|
3587
3597
|
},
|
|
3588
3598
|
{
|
|
3589
|
-
"chunkIndex":
|
|
3599
|
+
"chunkIndex": 61,
|
|
3590
3600
|
"chunkKind": "recipe",
|
|
3591
3601
|
"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}\"}}]}]}}}}]}}",
|
|
3592
3602
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-leave-absence-workbench.json",
|
|
@@ -3596,7 +3606,7 @@
|
|
|
3596
3606
|
"corpusVersion": "1.0.0"
|
|
3597
3607
|
},
|
|
3598
3608
|
{
|
|
3599
|
-
"chunkIndex":
|
|
3609
|
+
"chunkIndex": 62,
|
|
3600
3610
|
"chunkKind": "recipe",
|
|
3601
3611
|
"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}\"}}]}]}}}}]}}",
|
|
3602
3612
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-offboarding-workbench.json",
|
|
@@ -3606,7 +3616,7 @@
|
|
|
3606
3616
|
"corpusVersion": "1.0.0"
|
|
3607
3617
|
},
|
|
3608
3618
|
{
|
|
3609
|
-
"chunkIndex":
|
|
3619
|
+
"chunkIndex": 63,
|
|
3610
3620
|
"chunkKind": "recipe",
|
|
3611
3621
|
"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.\"}",
|
|
3612
3622
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3616,7 +3626,7 @@
|
|
|
3616
3626
|
"corpusVersion": "1.0.0"
|
|
3617
3627
|
},
|
|
3618
3628
|
{
|
|
3619
|
-
"chunkIndex":
|
|
3629
|
+
"chunkIndex": 64,
|
|
3620
3630
|
"chunkKind": "recipe",
|
|
3621
3631
|
"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.\"}",
|
|
3622
3632
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3626,7 +3636,7 @@
|
|
|
3626
3636
|
"corpusVersion": "1.0.0"
|
|
3627
3637
|
},
|
|
3628
3638
|
{
|
|
3629
|
-
"chunkIndex":
|
|
3639
|
+
"chunkIndex": 65,
|
|
3630
3640
|
"chunkKind": "recipe",
|
|
3631
3641
|
"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\"]}}",
|
|
3632
3642
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3636,7 +3646,7 @@
|
|
|
3636
3646
|
"corpusVersion": "1.0.0"
|
|
3637
3647
|
},
|
|
3638
3648
|
{
|
|
3639
|
-
"chunkIndex":
|
|
3649
|
+
"chunkIndex": 66,
|
|
3640
3650
|
"chunkKind": "recipe",
|
|
3641
3651
|
"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.\"}}",
|
|
3642
3652
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3646,7 +3656,7 @@
|
|
|
3646
3656
|
"corpusVersion": "1.0.0"
|
|
3647
3657
|
},
|
|
3648
3658
|
{
|
|
3649
|
-
"chunkIndex":
|
|
3659
|
+
"chunkIndex": 67,
|
|
3650
3660
|
"chunkKind": "recipe",
|
|
3651
3661
|
"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\"}}",
|
|
3652
3662
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3656,7 +3666,7 @@
|
|
|
3656
3666
|
"corpusVersion": "1.0.0"
|
|
3657
3667
|
},
|
|
3658
3668
|
{
|
|
3659
|
-
"chunkIndex":
|
|
3669
|
+
"chunkIndex": 68,
|
|
3660
3670
|
"chunkKind": "recipe",
|
|
3661
3671
|
"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.\"]}}",
|
|
3662
3672
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3666,7 +3676,7 @@
|
|
|
3666
3676
|
"corpusVersion": "1.0.0"
|
|
3667
3677
|
},
|
|
3668
3678
|
{
|
|
3669
|
-
"chunkIndex":
|
|
3679
|
+
"chunkIndex": 69,
|
|
3670
3680
|
"chunkKind": "recipe",
|
|
3671
3681
|
"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.\"]}",
|
|
3672
3682
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3676,7 +3686,7 @@
|
|
|
3676
3686
|
"corpusVersion": "1.0.0"
|
|
3677
3687
|
},
|
|
3678
3688
|
{
|
|
3679
|
-
"chunkIndex":
|
|
3689
|
+
"chunkIndex": 70,
|
|
3680
3690
|
"chunkKind": "recipe",
|
|
3681
3691
|
"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\"]}",
|
|
3682
3692
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3686,7 +3696,7 @@
|
|
|
3686
3696
|
"corpusVersion": "1.0.0"
|
|
3687
3697
|
},
|
|
3688
3698
|
{
|
|
3689
|
-
"chunkIndex":
|
|
3699
|
+
"chunkIndex": 71,
|
|
3690
3700
|
"chunkKind": "recipe",
|
|
3691
3701
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlanRef\",\"authoringPlanRef\":\"./praxis-dynamic-page.employee-operations-casework.ui-composition-plan.artifact.json\"}",
|
|
3692
3702
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3696,7 +3706,7 @@
|
|
|
3696
3706
|
"corpusVersion": "1.0.0"
|
|
3697
3707
|
},
|
|
3698
3708
|
{
|
|
3699
|
-
"chunkIndex":
|
|
3709
|
+
"chunkIndex": 72,
|
|
3700
3710
|
"chunkKind": "recipe",
|
|
3701
3711
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"pageRef\",\"pageRef\":\"./praxis-dynamic-page.employee-operations-casework.page.json\"}",
|
|
3702
3712
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3706,7 +3716,7 @@
|
|
|
3706
3716
|
"corpusVersion": "1.0.0"
|
|
3707
3717
|
},
|
|
3708
3718
|
{
|
|
3709
|
-
"chunkIndex":
|
|
3719
|
+
"chunkIndex": 73,
|
|
3710
3720
|
"chunkKind": "recipe",
|
|
3711
3721
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.i18n\",\"page\":{\"i18n\":{\"fallbackLocale\":\"pt-BR\"}}}",
|
|
3712
3722
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3716,7 +3726,7 @@
|
|
|
3716
3726
|
"corpusVersion": "1.0.0"
|
|
3717
3727
|
},
|
|
3718
3728
|
{
|
|
3719
|
-
"chunkIndex":
|
|
3729
|
+
"chunkIndex": 74,
|
|
3720
3730
|
"chunkKind": "recipe",
|
|
3721
3731
|
"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\"}}}}}",
|
|
3722
3732
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3726,7 +3736,7 @@
|
|
|
3726
3736
|
"corpusVersion": "1.0.0"
|
|
3727
3737
|
},
|
|
3728
3738
|
{
|
|
3729
|
-
"chunkIndex":
|
|
3739
|
+
"chunkIndex": 75,
|
|
3730
3740
|
"chunkKind": "recipe",
|
|
3731
3741
|
"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\"}}}}}",
|
|
3732
3742
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3736,7 +3746,7 @@
|
|
|
3736
3746
|
"corpusVersion": "1.0.0"
|
|
3737
3747
|
},
|
|
3738
3748
|
{
|
|
3739
|
-
"chunkIndex":
|
|
3749
|
+
"chunkIndex": 76,
|
|
3740
3750
|
"chunkKind": "recipe",
|
|
3741
3751
|
"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}}}}}",
|
|
3742
3752
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3746,7 +3756,7 @@
|
|
|
3746
3756
|
"corpusVersion": "1.0.0"
|
|
3747
3757
|
},
|
|
3748
3758
|
{
|
|
3749
|
-
"chunkIndex":
|
|
3759
|
+
"chunkIndex": 77,
|
|
3750
3760
|
"chunkKind": "recipe",
|
|
3751
3761
|
"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\"}}}]}}",
|
|
3752
3762
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3756,7 +3766,7 @@
|
|
|
3756
3766
|
"corpusVersion": "1.0.0"
|
|
3757
3767
|
},
|
|
3758
3768
|
{
|
|
3759
|
-
"chunkIndex":
|
|
3769
|
+
"chunkIndex": 78,
|
|
3760
3770
|
"chunkKind": "recipe",
|
|
3761
3771
|
"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}}}}",
|
|
3762
3772
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3766,7 +3776,7 @@
|
|
|
3766
3776
|
"corpusVersion": "1.0.0"
|
|
3767
3777
|
},
|
|
3768
3778
|
{
|
|
3769
|
-
"chunkIndex":
|
|
3779
|
+
"chunkIndex": 79,
|
|
3770
3780
|
"chunkKind": "recipe",
|
|
3771
3781
|
"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\"]}}",
|
|
3772
3782
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3776,7 +3786,7 @@
|
|
|
3776
3786
|
"corpusVersion": "1.0.0"
|
|
3777
3787
|
},
|
|
3778
3788
|
{
|
|
3779
|
-
"chunkIndex":
|
|
3789
|
+
"chunkIndex": 80,
|
|
3780
3790
|
"chunkKind": "recipe",
|
|
3781
3791
|
"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}}",
|
|
3782
3792
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3786,7 +3796,7 @@
|
|
|
3786
3796
|
"corpusVersion": "1.0.0"
|
|
3787
3797
|
},
|
|
3788
3798
|
{
|
|
3789
|
-
"chunkIndex":
|
|
3799
|
+
"chunkIndex": 81,
|
|
3790
3800
|
"chunkKind": "recipe",
|
|
3791
3801
|
"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}}}",
|
|
3792
3802
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3796,7 +3806,7 @@
|
|
|
3796
3806
|
"corpusVersion": "1.0.0"
|
|
3797
3807
|
},
|
|
3798
3808
|
{
|
|
3799
|
-
"chunkIndex":
|
|
3809
|
+
"chunkIndex": 82,
|
|
3800
3810
|
"chunkKind": "recipe",
|
|
3801
3811
|
"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\"}}]}]}",
|
|
3802
3812
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3806,7 +3816,7 @@
|
|
|
3806
3816
|
"corpusVersion": "1.0.0"
|
|
3807
3817
|
},
|
|
3808
3818
|
{
|
|
3809
|
-
"chunkIndex":
|
|
3819
|
+
"chunkIndex": 83,
|
|
3810
3820
|
"chunkKind": "recipe",
|
|
3811
3821
|
"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\"}}]}]}",
|
|
3812
3822
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3816,7 +3826,7 @@
|
|
|
3816
3826
|
"corpusVersion": "1.0.0"
|
|
3817
3827
|
},
|
|
3818
3828
|
{
|
|
3819
|
-
"chunkIndex":
|
|
3829
|
+
"chunkIndex": 84,
|
|
3820
3830
|
"chunkKind": "recipe",
|
|
3821
3831
|
"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\"}}}",
|
|
3822
3832
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3826,7 +3836,7 @@
|
|
|
3826
3836
|
"corpusVersion": "1.0.0"
|
|
3827
3837
|
},
|
|
3828
3838
|
{
|
|
3829
|
-
"chunkIndex":
|
|
3839
|
+
"chunkIndex": 85,
|
|
3830
3840
|
"chunkKind": "recipe",
|
|
3831
3841
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page.composition\",\"page\":{\"composition\":{\"version\":\"1.0.0\"}}}",
|
|
3832
3842
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3836,7 +3846,7 @@
|
|
|
3836
3846
|
"corpusVersion": "1.0.0"
|
|
3837
3847
|
},
|
|
3838
3848
|
{
|
|
3839
|
-
"chunkIndex":
|
|
3849
|
+
"chunkIndex": 86,
|
|
3840
3850
|
"chunkKind": "recipe",
|
|
3841
3851
|
"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}}]}}}",
|
|
3842
3852
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3846,7 +3856,7 @@
|
|
|
3846
3856
|
"corpusVersion": "1.0.0"
|
|
3847
3857
|
},
|
|
3848
3858
|
{
|
|
3849
|
-
"chunkIndex":
|
|
3859
|
+
"chunkIndex": 87,
|
|
3850
3860
|
"chunkKind": "recipe",
|
|
3851
3861
|
"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}}]}}}",
|
|
3852
3862
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3856,7 +3866,7 @@
|
|
|
3856
3866
|
"corpusVersion": "1.0.0"
|
|
3857
3867
|
},
|
|
3858
3868
|
{
|
|
3859
|
-
"chunkIndex":
|
|
3869
|
+
"chunkIndex": 88,
|
|
3860
3870
|
"chunkKind": "recipe",
|
|
3861
3871
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan\",\"authoringPlan\":{\"version\":\"1.0\",\"kind\":\"praxis.ui-composition-plan\"}}",
|
|
3862
3872
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3866,7 +3876,7 @@
|
|
|
3866
3876
|
"corpusVersion": "1.0.0"
|
|
3867
3877
|
},
|
|
3868
3878
|
{
|
|
3869
|
-
"chunkIndex":
|
|
3879
|
+
"chunkIndex": 89,
|
|
3870
3880
|
"chunkKind": "recipe",
|
|
3871
3881
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan.i18n\",\"authoringPlan\":{\"i18n\":{\"fallbackLocale\":\"pt-BR\"}}}",
|
|
3872
3882
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3876,7 +3886,7 @@
|
|
|
3876
3886
|
"corpusVersion": "1.0.0"
|
|
3877
3887
|
},
|
|
3878
3888
|
{
|
|
3879
|
-
"chunkIndex":
|
|
3889
|
+
"chunkIndex": 90,
|
|
3880
3890
|
"chunkKind": "recipe",
|
|
3881
3891
|
"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\"}}}}}",
|
|
3882
3892
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3886,7 +3896,7 @@
|
|
|
3886
3896
|
"corpusVersion": "1.0.0"
|
|
3887
3897
|
},
|
|
3888
3898
|
{
|
|
3889
|
-
"chunkIndex":
|
|
3899
|
+
"chunkIndex": 91,
|
|
3890
3900
|
"chunkKind": "recipe",
|
|
3891
3901
|
"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\"}}}}}",
|
|
3892
3902
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3896,7 +3906,7 @@
|
|
|
3896
3906
|
"corpusVersion": "1.0.0"
|
|
3897
3907
|
},
|
|
3898
3908
|
{
|
|
3899
|
-
"chunkIndex":
|
|
3909
|
+
"chunkIndex": 92,
|
|
3900
3910
|
"chunkKind": "recipe",
|
|
3901
3911
|
"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}}}}}",
|
|
3902
3912
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3906,7 +3916,7 @@
|
|
|
3906
3916
|
"corpusVersion": "1.0.0"
|
|
3907
3917
|
},
|
|
3908
3918
|
{
|
|
3909
|
-
"chunkIndex":
|
|
3919
|
+
"chunkIndex": 93,
|
|
3910
3920
|
"chunkKind": "recipe",
|
|
3911
3921
|
"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\"}}]}}",
|
|
3912
3922
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3916,7 +3926,7 @@
|
|
|
3916
3926
|
"corpusVersion": "1.0.0"
|
|
3917
3927
|
},
|
|
3918
3928
|
{
|
|
3919
|
-
"chunkIndex":
|
|
3929
|
+
"chunkIndex": 94,
|
|
3920
3930
|
"chunkKind": "recipe",
|
|
3921
3931
|
"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\"]}}",
|
|
3922
3932
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3926,7 +3936,7 @@
|
|
|
3926
3936
|
"corpusVersion": "1.0.0"
|
|
3927
3937
|
},
|
|
3928
3938
|
{
|
|
3929
|
-
"chunkIndex":
|
|
3939
|
+
"chunkIndex": 95,
|
|
3930
3940
|
"chunkKind": "recipe",
|
|
3931
3941
|
"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}}",
|
|
3932
3942
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3936,7 +3946,7 @@
|
|
|
3936
3946
|
"corpusVersion": "1.0.0"
|
|
3937
3947
|
},
|
|
3938
3948
|
{
|
|
3939
|
-
"chunkIndex":
|
|
3949
|
+
"chunkIndex": 96,
|
|
3940
3950
|
"chunkKind": "recipe",
|
|
3941
3951
|
"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}}}",
|
|
3942
3952
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3946,7 +3956,7 @@
|
|
|
3946
3956
|
"corpusVersion": "1.0.0"
|
|
3947
3957
|
},
|
|
3948
3958
|
{
|
|
3949
|
-
"chunkIndex":
|
|
3959
|
+
"chunkIndex": 97,
|
|
3950
3960
|
"chunkKind": "recipe",
|
|
3951
3961
|
"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\"}}]}]}",
|
|
3952
3962
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3956,7 +3966,7 @@
|
|
|
3956
3966
|
"corpusVersion": "1.0.0"
|
|
3957
3967
|
},
|
|
3958
3968
|
{
|
|
3959
|
-
"chunkIndex":
|
|
3969
|
+
"chunkIndex": 98,
|
|
3960
3970
|
"chunkKind": "recipe",
|
|
3961
3971
|
"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\"}}]}]}",
|
|
3962
3972
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3966,7 +3976,7 @@
|
|
|
3966
3976
|
"corpusVersion": "1.0.0"
|
|
3967
3977
|
},
|
|
3968
3978
|
{
|
|
3969
|
-
"chunkIndex":
|
|
3979
|
+
"chunkIndex": 99,
|
|
3970
3980
|
"chunkKind": "recipe",
|
|
3971
3981
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"authoringPlan.widgets[1]\",\"fragmentPath\":\"authoringPlan.widgets[1]\",\"fragmentIdentity\":{\"key\":\"employeeCaseTabs\",\"componentId\":\"praxis-tabs\"},\"fragment\":{\"outputs\":{\"selectedIndexChange\":\"emit\"}}}",
|
|
3972
3982
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3976,7 +3986,7 @@
|
|
|
3976
3986
|
"corpusVersion": "1.0.0"
|
|
3977
3987
|
},
|
|
3978
3988
|
{
|
|
3979
|
-
"chunkIndex":
|
|
3989
|
+
"chunkIndex": 100,
|
|
3980
3990
|
"chunkKind": "recipe",
|
|
3981
3991
|
"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}}]}}",
|
|
3982
3992
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
|
|
@@ -3986,7 +3996,7 @@
|
|
|
3986
3996
|
"corpusVersion": "1.0.0"
|
|
3987
3997
|
},
|
|
3988
3998
|
{
|
|
3989
|
-
"chunkIndex":
|
|
3999
|
+
"chunkIndex": 101,
|
|
3990
4000
|
"chunkKind": "recipe",
|
|
3991
4001
|
"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}\"}}]}]}}}}]}}",
|
|
3992
4002
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-performance-review-workbench.json",
|
|
@@ -3996,7 +4006,7 @@
|
|
|
3996
4006
|
"corpusVersion": "1.0.0"
|
|
3997
4007
|
},
|
|
3998
4008
|
{
|
|
3999
|
-
"chunkIndex":
|
|
4009
|
+
"chunkIndex": 102,
|
|
4000
4010
|
"chunkKind": "recipe",
|
|
4001
4011
|
"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}\"}}]}]}}}}]}}",
|
|
4002
4012
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-promotion-review-workbench.json",
|
|
@@ -4006,7 +4016,7 @@
|
|
|
4006
4016
|
"corpusVersion": "1.0.0"
|
|
4007
4017
|
},
|
|
4008
4018
|
{
|
|
4009
|
-
"chunkIndex":
|
|
4019
|
+
"chunkIndex": 103,
|
|
4010
4020
|
"chunkKind": "recipe",
|
|
4011
4021
|
"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}\"}}]}]}}}}]}}",
|
|
4012
4022
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.employee-succession-planning-workbench.json",
|
|
@@ -4016,7 +4026,7 @@
|
|
|
4016
4026
|
"corpusVersion": "1.0.0"
|
|
4017
4027
|
},
|
|
4018
4028
|
{
|
|
4019
|
-
"chunkIndex":
|
|
4029
|
+
"chunkIndex": 104,
|
|
4020
4030
|
"chunkKind": "recipe",
|
|
4021
4031
|
"content": "{\"_comment\":\"Recipe for agents to create a Praxis Dynamic Page with a governed, progressively disclosed case dossier.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"expansion-governed-case-dossier\",\"status\":\"public-example\",\"useWhen\":\"Create a dense enterprise review page where praxis-expansion organizes related context, evidence and decision notes without owning business effects.\",\"examplePrompts\":[\"create a governed case review dossier\",\"show praxis-expansion with lazy nested widgets\",\"generate an enterprise accordion with stable panel identities\"]},\"platformValue\":{\"canonicalRuntime\":\"@praxisui/expansion owns panel identity, disclosure state, lazy content and panel-aware nested widget events.\",\"hostBoundary\":\"The host owns authorization, business effects and durable domain state; panel action identifiers only express local intent.\",\"angularRuntime\":\"@praxisui/core resolves praxis-expansion and its nested widgets through ComponentMetadataRegistry and DynamicWidgetLoader.\",\"publicExamples\":\"praxis-ui-landing-page exposes the live preview, complete envelope and didactic walkthrough.\",\"agentCorpus\":\"This recipe keeps agents on ExpansionMetadata paths: accordion, appearance, panels, content, widgets and actionButtons.\"},\"authoringGuidance\":[\"Use a stable expansionId and stable panels[].id values because persistence, authoring and event paths depend on them.\",\"Use panels[].content for metadata-driven fields and panels[].widgets for registered runtime widgets.\",\"Keep optional or expensive nested widgets in collapsed panels so matExpansionPanelContent preserves lazy materialization.\",\"Use panel actionButtons only for local intent; authorization and side effects remain host-owned.\",\"Do not replace WidgetEventEnvelope with local callback names or title-based routing.\"],\"teaches\":[\"expansion.stable-panel-identity\",\"expansion.lazy-content\",\"expansion.nested-widgets\",\"expansion.panel-actions\",\"expansion.widget-event-paths\",\"dynamic-page.registry-materialization\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"governedCaseDossier\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"fact_check\",\"title\":\"Governed case dossier\",\"subtitle\":\"Progressive context, lazy evidence and panel-aware actions\"},\"definition\":{\"id\":\"praxis-expansion\",\"bindingOrder\":[\"expansionId\",\"componentInstanceId\",\"config\",\"context\"],\"inputs\":{\"expansionId\":\"governed-case-dossier\",\"componentInstanceId\":\"dynamic-page-showcase\",\"enableCustomization\":false,\"strictValidation\":true,\"context\":{\"caseId\":\"CASE-2026-0842\",\"resourceKey\":\"operations.case-review\",\"reviewStage\":\"human-approval\"},\"config\":{\"appearance\":{\"density\":\"comfortable\",\"container\":{\"panelGap\":\"12px\"},\"header\":{\"titleWeight\":\"700\",\"descriptionWeight\":\"500\"}},\"accordion\":{\"id\":\"case-review-sections\",\"multi\":true,\"displayMode\":\"default\",\"togglePosition\":\"after\",\"hideToggle\":false},\"panels\":[{\"id\":\"case-context\",\"title\":\"Decision context\",\"description\":\"Identity, ownership and review priority\",\"icon\":\"assignment\",\"expanded\":true,\"content\":[{\"name\":\"caseReference\",\"label\":\"Case reference\",\"controlType\":\"input\",\"defaultValue\":\"CASE-2026-0842\",\"prefixIcon\":\"tag\",\"hint\":\"Stable domain identity remains owned by the host.\"},{\"name\":\"reviewOwner\",\"label\":\"Review owner\",\"controlType\":\"input\",\"defaultValue\":\"Enterprise Risk Office\",\"prefixIcon\":\"group\"},{\"name\":\"priority\",\"label\":\"Priority\",\"controlType\":\"select\",\"defaultValue\":\"high\",\"options\":[{\"text\":\"Standard\",\"value\":\"standard\"},{\"text\":\"High\",\"value\":\"high\"},{\"text\":\"Critical\",\"value\":\"critical\"}]}],\"actionButtons\":[{\"label\":\"Acknowledge context\",\"icon\":\"visibility\",\"action\":\"acknowledge-case-context\"}]},{\"id\":\"evidence-register\",\"title\":\"Evidence register\",\"description\":\"Materialized only when the reviewer requests detail\",\"icon\":\"inventory_2\",\"widgets\":[{\"id\":\"praxis-list\",\"inputs\":{\"listId\":\"case-evidence-register\",\"config\":{\"dataSource\":{\"data\":[{\"id\":1,\"title\":\"Identity verification\",\"owner\":\"People Operations\",\"status\":\"Verified\",\"risk\":\"Low\"},{\"id\":2,\"title\":\"Access review\",\"owner\":\"Security\",\"status\":\"Pending\",\"risk\":\"High\"},{\"id\":3,\"title\":\"Manager attestation\",\"owner\":\"Business Unit\",\"status\":\"Received\",\"risk\":\"Medium\"}]},\"selection\":{\"mode\":\"single\",\"compareBy\":\"id\",\"return\":\"id\"},\"templating\":{\"leading\":{\"type\":\"icon\",\"expr\":\"description\"},\"primary\":{\"type\":\"text\",\"expr\":\"${item.title}\"},\"secondary\":{\"type\":\"text\",\"expr\":\"${item.owner}\"},\"meta\":{\"type\":\"chip\",\"expr\":\"${item.risk}\",\"variant\":\"outlined\"},\"trailing\":{\"type\":\"chip\",\"expr\":\"${item.status}\",\"variant\":\"filled\"}}}},\"outputs\":{\"itemClick\":\"emit\",\"selectionChange\":\"emit\"}}],\"actionButtons\":[{\"label\":\"Request evidence\",\"icon\":\"add_task\",\"action\":\"request-case-evidence\"}]},{\"id\":\"decision-rationale\",\"title\":\"Decision rationale\",\"description\":\"Governance boundary and host-owned outcome\",\"icon\":\"gavel\",\"widgets\":[{\"id\":\"widget:rich-text-block\",\"inputs\":{\"title\":\"The panel coordinates context; it does not decide\",\"content\":\"Praxis Expansion preserves progressive disclosure, stable identity and event provenance. Authorization, policy evaluation and durable approval remain explicit responsibilities of the host and backend.\",\"variant\":\"emphasis\"}}],\"actionButtons\":[{\"label\":\"Submit for approval\",\"icon\":\"send\",\"action\":\"submit-case-for-approval\"}]}]}},\"outputs\":{\"opened\":\"emit\",\"closed\":\"emit\",\"expandedChange\":\"emit\",\"afterExpand\":\"emit\",\"afterCollapse\":\"emit\",\"widgetEvent\":\"emit\"}}}]}}",
|
|
4022
4032
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.expansion-governed-case-dossier.json",
|
|
@@ -4026,7 +4036,7 @@
|
|
|
4026
4036
|
"corpusVersion": "1.0.0"
|
|
4027
4037
|
},
|
|
4028
4038
|
{
|
|
4029
|
-
"chunkIndex":
|
|
4039
|
+
"chunkIndex": 105,
|
|
4030
4040
|
"chunkKind": "recipe",
|
|
4031
4041
|
"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\"}}}]}}",
|
|
4032
4042
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.files-upload-evidence-flow.json",
|
|
@@ -4036,7 +4046,7 @@
|
|
|
4036
4046
|
"corpusVersion": "1.0.0"
|
|
4037
4047
|
},
|
|
4038
4048
|
{
|
|
4039
|
-
"chunkIndex":
|
|
4049
|
+
"chunkIndex": 106,
|
|
4040
4050
|
"chunkKind": "recipe",
|
|
4041
4051
|
"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\"}}}]}}",
|
|
4042
4052
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.form.json",
|
|
@@ -4046,7 +4056,7 @@
|
|
|
4046
4056
|
"corpusVersion": "1.0.0"
|
|
4047
4057
|
},
|
|
4048
4058
|
{
|
|
4049
|
-
"chunkIndex":
|
|
4059
|
+
"chunkIndex": 107,
|
|
4050
4060
|
"chunkKind": "recipe",
|
|
4051
4061
|
"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\"}}}]}}",
|
|
4052
4062
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.inline-filter-editorial-lab.json",
|
|
@@ -4056,7 +4066,7 @@
|
|
|
4056
4066
|
"corpusVersion": "1.0.0"
|
|
4057
4067
|
},
|
|
4058
4068
|
{
|
|
4059
|
-
"chunkIndex":
|
|
4069
|
+
"chunkIndex": 108,
|
|
4060
4070
|
"chunkKind": "recipe",
|
|
4061
4071
|
"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\"}}}]}}",
|
|
4062
4072
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.inline-filter-lab.json",
|
|
@@ -4066,7 +4076,7 @@
|
|
|
4066
4076
|
"corpusVersion": "1.0.0"
|
|
4067
4077
|
},
|
|
4068
4078
|
{
|
|
4069
|
-
"chunkIndex":
|
|
4079
|
+
"chunkIndex": 109,
|
|
4070
4080
|
"chunkKind": "recipe",
|
|
4071
4081
|
"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\"}}}]}}",
|
|
4072
4082
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.json",
|
|
@@ -4076,7 +4086,7 @@
|
|
|
4076
4086
|
"corpusVersion": "1.0.0"
|
|
4077
4087
|
},
|
|
4078
4088
|
{
|
|
4079
|
-
"chunkIndex":
|
|
4089
|
+
"chunkIndex": 110,
|
|
4080
4090
|
"chunkKind": "recipe",
|
|
4081
4091
|
"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.\"}",
|
|
4082
4092
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -4086,7 +4096,7 @@
|
|
|
4086
4096
|
"corpusVersion": "1.0.0"
|
|
4087
4097
|
},
|
|
4088
4098
|
{
|
|
4089
|
-
"chunkIndex":
|
|
4099
|
+
"chunkIndex": 111,
|
|
4090
4100
|
"chunkKind": "recipe",
|
|
4091
4101
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment2\",\"_comment2\":\"Use quando a meta for mostrar conditionalDisplay, conditionalRequired, formRules e workflow fields em praxis-dynamic-form.\"}",
|
|
4092
4102
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -4096,7 +4106,7 @@
|
|
|
4096
4106
|
"corpusVersion": "1.0.0"
|
|
4097
4107
|
},
|
|
4098
4108
|
{
|
|
4099
|
-
"chunkIndex":
|
|
4109
|
+
"chunkIndex": 112,
|
|
4100
4110
|
"chunkKind": "recipe",
|
|
4101
4111
|
"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\"]}}",
|
|
4102
4112
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -4106,7 +4116,7 @@
|
|
|
4106
4116
|
"corpusVersion": "1.0.0"
|
|
4107
4117
|
},
|
|
4108
4118
|
{
|
|
4109
|
-
"chunkIndex":
|
|
4119
|
+
"chunkIndex": 113,
|
|
4110
4120
|
"chunkKind": "recipe",
|
|
4111
4121
|
"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.\"}}",
|
|
4112
4122
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -4116,7 +4126,7 @@
|
|
|
4116
4126
|
"corpusVersion": "1.0.0"
|
|
4117
4127
|
},
|
|
4118
4128
|
{
|
|
4119
|
-
"chunkIndex":
|
|
4129
|
+
"chunkIndex": 114,
|
|
4120
4130
|
"chunkKind": "recipe",
|
|
4121
4131
|
"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\"]}}",
|
|
4122
4132
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -4126,7 +4136,7 @@
|
|
|
4126
4136
|
"corpusVersion": "1.0.0"
|
|
4127
4137
|
},
|
|
4128
4138
|
{
|
|
4129
|
-
"chunkIndex":
|
|
4139
|
+
"chunkIndex": 115,
|
|
4130
4140
|
"chunkKind": "recipe",
|
|
4131
4141
|
"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.\"]}",
|
|
4132
4142
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -4136,7 +4146,7 @@
|
|
|
4136
4146
|
"corpusVersion": "1.0.0"
|
|
4137
4147
|
},
|
|
4138
4148
|
{
|
|
4139
|
-
"chunkIndex":
|
|
4149
|
+
"chunkIndex": 116,
|
|
4140
4150
|
"chunkKind": "recipe",
|
|
4141
4151
|
"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\"]}",
|
|
4142
4152
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -4146,7 +4156,7 @@
|
|
|
4146
4156
|
"corpusVersion": "1.0.0"
|
|
4147
4157
|
},
|
|
4148
4158
|
{
|
|
4149
|
-
"chunkIndex":
|
|
4159
|
+
"chunkIndex": 117,
|
|
4150
4160
|
"chunkKind": "recipe",
|
|
4151
4161
|
"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\"}}}}}]}}",
|
|
4152
4162
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json",
|
|
@@ -4156,7 +4166,7 @@
|
|
|
4156
4166
|
"corpusVersion": "1.0.0"
|
|
4157
4167
|
},
|
|
4158
4168
|
{
|
|
4159
|
-
"chunkIndex":
|
|
4169
|
+
"chunkIndex": 118,
|
|
4160
4170
|
"chunkKind": "recipe",
|
|
4161
4171
|
"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\"}}}]}}",
|
|
4162
4172
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.list.json",
|
|
@@ -4166,7 +4176,7 @@
|
|
|
4166
4176
|
"corpusVersion": "1.0.0"
|
|
4167
4177
|
},
|
|
4168
4178
|
{
|
|
4169
|
-
"chunkIndex":
|
|
4179
|
+
"chunkIndex": 119,
|
|
4170
4180
|
"chunkKind": "recipe",
|
|
4171
4181
|
"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\"}]}}",
|
|
4172
4182
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.master-detail-address.json",
|
|
@@ -4176,7 +4186,7 @@
|
|
|
4176
4186
|
"corpusVersion": "1.0.0"
|
|
4177
4187
|
},
|
|
4178
4188
|
{
|
|
4179
|
-
"chunkIndex":
|
|
4189
|
+
"chunkIndex": 120,
|
|
4180
4190
|
"chunkKind": "recipe",
|
|
4181
4191
|
"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}}\"}]}}",
|
|
4182
4192
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.master-detail.json",
|
|
@@ -4186,7 +4196,7 @@
|
|
|
4186
4196
|
"corpusVersion": "1.0.0"
|
|
4187
4197
|
},
|
|
4188
4198
|
{
|
|
4189
|
-
"chunkIndex":
|
|
4199
|
+
"chunkIndex": 121,
|
|
4190
4200
|
"chunkKind": "recipe",
|
|
4191
4201
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment\",\"_comment\":\"Recipe end-to-end para agentes criarem uma Praxis Dynamic Page rica contra o quickstart publicado.\"}",
|
|
4192
4202
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4196,7 +4206,7 @@
|
|
|
4196
4206
|
"corpusVersion": "1.0.0"
|
|
4197
4207
|
},
|
|
4198
4208
|
{
|
|
4199
|
-
"chunkIndex":
|
|
4209
|
+
"chunkIndex": 122,
|
|
4200
4210
|
"chunkKind": "recipe",
|
|
4201
4211
|
"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.\"}",
|
|
4202
4212
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4206,7 +4216,7 @@
|
|
|
4206
4216
|
"corpusVersion": "1.0.0"
|
|
4207
4217
|
},
|
|
4208
4218
|
{
|
|
4209
|
-
"chunkIndex":
|
|
4219
|
+
"chunkIndex": 123,
|
|
4210
4220
|
"chunkKind": "recipe",
|
|
4211
4221
|
"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\"]}}",
|
|
4212
4222
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4216,7 +4226,7 @@
|
|
|
4216
4226
|
"corpusVersion": "1.0.0"
|
|
4217
4227
|
},
|
|
4218
4228
|
{
|
|
4219
|
-
"chunkIndex":
|
|
4229
|
+
"chunkIndex": 124,
|
|
4220
4230
|
"chunkKind": "recipe",
|
|
4221
4231
|
"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.\"}}",
|
|
4222
4232
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4226,7 +4236,7 @@
|
|
|
4226
4236
|
"corpusVersion": "1.0.0"
|
|
4227
4237
|
},
|
|
4228
4238
|
{
|
|
4229
|
-
"chunkIndex":
|
|
4239
|
+
"chunkIndex": 125,
|
|
4230
4240
|
"chunkKind": "recipe",
|
|
4231
4241
|
"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\"]}}",
|
|
4232
4242
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4236,7 +4246,7 @@
|
|
|
4236
4246
|
"corpusVersion": "1.0.0"
|
|
4237
4247
|
},
|
|
4238
4248
|
{
|
|
4239
|
-
"chunkIndex":
|
|
4249
|
+
"chunkIndex": 126,
|
|
4240
4250
|
"chunkKind": "recipe",
|
|
4241
4251
|
"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.\"]}",
|
|
4242
4252
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4246,7 +4256,7 @@
|
|
|
4246
4256
|
"corpusVersion": "1.0.0"
|
|
4247
4257
|
},
|
|
4248
4258
|
{
|
|
4249
|
-
"chunkIndex":
|
|
4259
|
+
"chunkIndex": 127,
|
|
4250
4260
|
"chunkKind": "recipe",
|
|
4251
4261
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"themePreset\":\"executive-command-center\",\"i18n\":{\"fallbackLocale\":\"en-US\",\"dictionaries\":{\"en-US\":{\"mission.chart.shell.title\":\"Mission status mix\",\"mission.chart.shell.subtitle\":\"Remote stats projection from the published quickstart\",\"mission.chart.dimension.status\":\"Status\",\"mission.chart.metric.missions\":\"Missions\",\"mission.portfolio.shell.title\":\"Mission portfolio\",\"mission.portfolio.shell.subtitle\":\"Aggregated mission status and threat context\",\"mission.portfolio.toolbar.title\":\"Mission portfolio\",\"mission.workflow.shell.title\":\"Workflow actions\",\"mission.workflow.shell.subtitle\":\"Host-mediated actions declared by the mission controller contract\",\"mission.workflow.toolbar.title\":\"Mission workflow\",\"mission.discovery.surfaces\":\"Surfaces\",\"mission.discovery.actions\":\"Actions\",\"mission.column.mission\":\"Mission\",\"mission.column.status\":\"Status\",\"mission.column.priority\":\"Priority\",\"mission.column.threat\":\"Threat\",\"mission.column.workflow\":\"Workflow\",\"mission.action.start\":\"Start\",\"mission.action.pause\":\"Pause\",\"mission.action.resume\":\"Resume\",\"mission.action.complete\":\"Complete\",\"mission.team.shell.title\":\"Mission team\",\"mission.team.shell.subtitle\":\"Participants, roles and outcomes\",\"mission.team.toolbar.title\":\"Mission team\",\"mission.column.order\":\"Order\",\"mission.column.hero\":\"Hero\",\"mission.column.role\":\"Role\",\"mission.column.outcome\":\"Outcome\",\"mission.timeline.shell.title\":\"Mission timeline\",\"mission.timeline.shell.subtitle\":\"Governed event surface for selected mission\",\"mission.timeline.toolbar.title\":\"Mission timeline\",\"mission.column.type\":\"Type\",\"mission.column.event\":\"Event\",\"mission.column.occurredAt\":\"Occurred at\"},\"pt-BR\":{\"mission.chart.shell.title\":\"Distribuição de status das missões\",\"mission.chart.shell.subtitle\":\"Projeção remota de estatísticas do quickstart publicado\",\"mission.chart.dimension.status\":\"Status\",\"mission.chart.metric.missions\":\"Missões\",\"mission.portfolio.shell.title\":\"Portfólio de missões\",\"mission.portfolio.shell.subtitle\":\"Contexto agregado de status e ameaças das missões\",\"mission.portfolio.toolbar.title\":\"Portfólio de missões\",\"mission.workflow.shell.title\":\"Ações do fluxo\",\"mission.workflow.shell.subtitle\":\"Ações mediadas pelo host e declaradas pelo contrato do controlador de missões\",\"mission.workflow.toolbar.title\":\"Fluxo da missão\",\"mission.discovery.surfaces\":\"Superfícies\",\"mission.discovery.actions\":\"Ações\",\"mission.column.mission\":\"Missão\",\"mission.column.status\":\"Status\",\"mission.column.priority\":\"Prioridade\",\"mission.column.threat\":\"Ameaça\",\"mission.column.workflow\":\"Fluxo\",\"mission.action.start\":\"Iniciar\",\"mission.action.pause\":\"Pausar\",\"mission.action.resume\":\"Retomar\",\"mission.action.complete\":\"Concluir\",\"mission.team.shell.title\":\"Equipe da missão\",\"mission.team.shell.subtitle\":\"Participantes, papéis e resultados\",\"mission.team.toolbar.title\":\"Equipe da missão\",\"mission.column.order\":\"Ordem\",\"mission.column.hero\":\"Herói\",\"mission.column.role\":\"Papel\",\"mission.column.outcome\":\"Resultado\",\"mission.timeline.shell.title\":\"Linha do tempo da missão\",\"mission.timeline.shell.subtitle\":\"Superfície governada de eventos da missão selecionada\",\"mission.timeline.toolbar.title\":\"Linha do tempo da missão\",\"mission.column.type\":\"Tipo\",\"mission.column.event\":\"Evento\",\"mission.column.occurredAt\":\"Ocorrido em\"}}},\"layout\":{\"orientation\":\"columns\",\"columns\":3,\"gap\":\"16px\"},\"deviceLayouts\":{\"tablet\":{\"layout\":{\"orientation\":\"columns\",\"columns\":2,\"gap\":\"14px\"}},\"mobile\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"12px\"}}},\"state\":{\"values\":{\"selection\":{\"missionId\":1}}}}}",
|
|
4252
4262
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4256,7 +4266,7 @@
|
|
|
4256
4266
|
"corpusVersion": "1.0.0"
|
|
4257
4267
|
},
|
|
4258
4268
|
{
|
|
4259
|
-
"chunkIndex":
|
|
4269
|
+
"chunkIndex": 128,
|
|
4260
4270
|
"chunkKind": "recipe",
|
|
4261
4271
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"widgets\":[{\"key\":\"missionStatusChart\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"bar_chart\",\"title\":{\"key\":\"mission.chart.shell.title\",\"text\":\"Mission status mix\"},\"subtitle\":{\"key\":\"mission.chart.shell.subtitle\",\"text\":\"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\":{\"key\":\"mission.chart.dimension.status\",\"text\":\"Status\"},\"role\":\"category\"}],\"metrics\":[{\"field\":\"missions\",\"label\":{\"key\":\"mission.chart.metric.missions\",\"text\":\"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\":{\"key\":\"mission.portfolio.shell.title\",\"text\":\"Mission portfolio\"},\"subtitle\":{\"key\":\"mission.portfolio.shell.subtitle\",\"text\":\"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\":{\"key\":\"mission.portfolio.toolbar.title\",\"text\":\"Mission portfolio\"},\"actions\":[{\"id\":\"inspect-surfaces\",\"label\":{\"key\":\"mission.discovery.surfaces\",\"text\":\"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\":{\"key\":\"mission.discovery.actions\",\"text\":\"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\":{\"key\":\"mission.column.mission\",\"text\":\"Mission\"},\"type\":\"text\",\"sticky\":\"start\"},{\"field\":\"status\",\"header\":{\"key\":\"mission.column.status\",\"text\":\"Status\"},\"type\":\"badge\"},{\"field\":\"prioridade\",\"header\":{\"key\":\"mission.column.priority\",\"text\":\"Priority\"},\"type\":\"badge\"},{\"field\":\"ameaca\",\"header\":{\"key\":\"mission.column.threat\",\"text\":\"Threat\"},\"type\":\"text\"}],\"behavior\":{\"selection\":{\"enabled\":true,\"type\":\"single\"}}}},\"outputs\":{\"rowClick\":\"emit\",\"toolbarAction\":\"emit\"}}},{\"key\":\"missionWorkflow\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"bolt\",\"title\":{\"key\":\"mission.workflow.shell.title\",\"text\":\"Workflow actions\"},\"subtitle\":{\"key\":\"mission.workflow.shell.subtitle\",\"text\":\"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\":{\"key\":\"mission.workflow.toolbar.title\",\"text\":\"Mission workflow\"},\"actions\":[{\"id\":\"inspect-surfaces\",\"label\":{\"key\":\"mission.discovery.surfaces\",\"text\":\"Surfaces\"},\"icon\":\"layers\",\"action\":\"inspect-surfaces\",\"discovery\":{\"rel\":\"surfaces\",\"scope\":\"resource\",\"resourcePath\":\"operations/missoes\",\"resourceKey\":\"operations.missoes\"}},{\"id\":\"inspect-actions\",\"label\":{\"key\":\"mission.discovery.actions\",\"text\":\"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\":{\"key\":\"mission.column.workflow\",\"text\":\"Workflow\"},\"icon\":\"bolt\"},\"actions\":[{\"id\":\"start\",\"action\":\"start\",\"label\":{\"key\":\"mission.action.start\",\"text\":\"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\":{\"key\":\"mission.action.pause\",\"text\":\"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\":{\"key\":\"mission.action.resume\",\"text\":\"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\":{\"key\":\"mission.action.complete\",\"text\":\"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\":{\"key\":\"mission.team.shell.title\",\"text\":\"Mission team\"},\"subtitle\":{\"key\":\"mission.team.shell.subtitle\",\"text\":\"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\":{\"key\":\"mission.team.toolbar.title\",\"text\":\"Mission team\"}},\"columns\":[{\"field\":\"ordem\",\"header\":{\"key\":\"mission.column.order\",\"text\":\"Order\"},\"type\":\"number\"},{\"field\":\"funcionarioNome\",\"header\":{\"key\":\"mission.column.hero\",\"text\":\"Hero\"},\"type\":\"text\",\"sticky\":\"start\"},{\"field\":\"papel\",\"header\":{\"key\":\"mission.column.role\",\"text\":\"Role\"},\"type\":\"badge\"},{\"field\":\"resultado\",\"header\":{\"key\":\"mission.column.outcome\",\"text\":\"Outcome\"},\"type\":\"badge\"}]}},\"outputs\":{\"rowClick\":\"emit\",\"toolbarAction\":\"emit\"}}},{\"key\":\"missionTimeline\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"timeline\",\"title\":{\"key\":\"mission.timeline.shell.title\",\"text\":\"Mission timeline\"},\"subtitle\":{\"key\":\"mission.timeline.shell.subtitle\",\"text\":\"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\":{\"key\":\"mission.timeline.toolbar.title\",\"text\":\"Mission timeline\"}},\"columns\":[{\"field\":\"ordem\",\"header\":{\"key\":\"mission.column.order\",\"text\":\"Order\"},\"type\":\"number\"},{\"field\":\"tipo\",\"header\":{\"key\":\"mission.column.type\",\"text\":\"Type\"},\"type\":\"text\",\"sticky\":\"start\"},{\"field\":\"descricao\",\"header\":{\"key\":\"mission.column.event\",\"text\":\"Event\"},\"type\":\"text\"},{\"field\":\"ocorridoEm\",\"header\":{\"key\":\"mission.column.occurredAt\",\"text\":\"Occurred at\"},\"type\":\"date-time\"}]}},\"outputs\":{\"rowClick\":\"emit\",\"toolbarAction\":\"emit\"}}}]}}",
|
|
4262
4272
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4266,7 +4276,7 @@
|
|
|
4266
4276
|
"corpusVersion": "1.0.0"
|
|
4267
4277
|
},
|
|
4268
4278
|
{
|
|
4269
|
-
"chunkIndex":
|
|
4279
|
+
"chunkIndex": 129,
|
|
4270
4280
|
"chunkKind": "recipe",
|
|
4271
4281
|
"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}\"}}}}]}}]}}}",
|
|
4272
4282
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
|
|
@@ -4276,7 +4286,7 @@
|
|
|
4276
4286
|
"corpusVersion": "1.0.0"
|
|
4277
4287
|
},
|
|
4278
4288
|
{
|
|
4279
|
-
"chunkIndex":
|
|
4289
|
+
"chunkIndex": 130,
|
|
4280
4290
|
"chunkKind": "recipe",
|
|
4281
4291
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"_comment\",\"_comment\":\"Golden recipe for nested component ports in Praxis Dynamic Page.\"}",
|
|
4282
4292
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4286,7 +4296,7 @@
|
|
|
4286
4296
|
"corpusVersion": "1.0.0"
|
|
4287
4297
|
},
|
|
4288
4298
|
{
|
|
4289
|
-
"chunkIndex":
|
|
4299
|
+
"chunkIndex": 131,
|
|
4290
4300
|
"chunkKind": "recipe",
|
|
4291
4301
|
"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.\"}",
|
|
4292
4302
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4296,7 +4306,7 @@
|
|
|
4296
4306
|
"corpusVersion": "1.0.0"
|
|
4297
4307
|
},
|
|
4298
4308
|
{
|
|
4299
|
-
"chunkIndex":
|
|
4309
|
+
"chunkIndex": 132,
|
|
4300
4310
|
"chunkKind": "recipe",
|
|
4301
4311
|
"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\"]}}",
|
|
4302
4312
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4306,7 +4316,7 @@
|
|
|
4306
4316
|
"corpusVersion": "1.0.0"
|
|
4307
4317
|
},
|
|
4308
4318
|
{
|
|
4309
|
-
"chunkIndex":
|
|
4319
|
+
"chunkIndex": 133,
|
|
4310
4320
|
"chunkKind": "recipe",
|
|
4311
4321
|
"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.\"}}",
|
|
4312
4322
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4316,7 +4326,7 @@
|
|
|
4316
4326
|
"corpusVersion": "1.0.0"
|
|
4317
4327
|
},
|
|
4318
4328
|
{
|
|
4319
|
-
"chunkIndex":
|
|
4329
|
+
"chunkIndex": 134,
|
|
4320
4330
|
"chunkKind": "recipe",
|
|
4321
4331
|
"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\"]}}",
|
|
4322
4332
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4326,7 +4336,7 @@
|
|
|
4326
4336
|
"corpusVersion": "1.0.0"
|
|
4327
4337
|
},
|
|
4328
4338
|
{
|
|
4329
|
-
"chunkIndex":
|
|
4339
|
+
"chunkIndex": 135,
|
|
4330
4340
|
"chunkKind": "recipe",
|
|
4331
4341
|
"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.\"]}",
|
|
4332
4342
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4336,7 +4346,7 @@
|
|
|
4336
4346
|
"corpusVersion": "1.0.0"
|
|
4337
4347
|
},
|
|
4338
4348
|
{
|
|
4339
|
-
"chunkIndex":
|
|
4349
|
+
"chunkIndex": 136,
|
|
4340
4350
|
"chunkKind": "recipe",
|
|
4341
4351
|
"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\"]}",
|
|
4342
4352
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4346,7 +4356,7 @@
|
|
|
4346
4356
|
"corpusVersion": "1.0.0"
|
|
4347
4357
|
},
|
|
4348
4358
|
{
|
|
4349
|
-
"chunkIndex":
|
|
4359
|
+
"chunkIndex": 137,
|
|
4350
4360
|
"chunkKind": "recipe",
|
|
4351
4361
|
"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\"}}}]}}",
|
|
4352
4362
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4356,7 +4366,7 @@
|
|
|
4356
4366
|
"corpusVersion": "1.0.0"
|
|
4357
4367
|
},
|
|
4358
4368
|
{
|
|
4359
|
-
"chunkIndex":
|
|
4369
|
+
"chunkIndex": 138,
|
|
4360
4370
|
"chunkKind": "recipe",
|
|
4361
4371
|
"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}}]}}}",
|
|
4362
4372
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
|
|
@@ -4366,7 +4376,7 @@
|
|
|
4366
4376
|
"corpusVersion": "1.0.0"
|
|
4367
4377
|
},
|
|
4368
4378
|
{
|
|
4369
|
-
"chunkIndex":
|
|
4379
|
+
"chunkIndex": 139,
|
|
4370
4380
|
"chunkKind": "recipe",
|
|
4371
4381
|
"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}\"}}]}]}}}}]}}",
|
|
4372
4382
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.onboarding-day-30-coaching-workbench.json",
|
|
@@ -4376,7 +4386,7 @@
|
|
|
4376
4386
|
"corpusVersion": "1.0.0"
|
|
4377
4387
|
},
|
|
4378
4388
|
{
|
|
4379
|
-
"chunkIndex":
|
|
4389
|
+
"chunkIndex": 140,
|
|
4380
4390
|
"chunkKind": "recipe",
|
|
4381
4391
|
"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}\"}}]}]}}}}]}}",
|
|
4382
4392
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.onboarding-equipment-access-recovery-workbench.json",
|
|
@@ -4386,7 +4396,7 @@
|
|
|
4386
4396
|
"corpusVersion": "1.0.0"
|
|
4387
4397
|
},
|
|
4388
4398
|
{
|
|
4389
|
-
"chunkIndex":
|
|
4399
|
+
"chunkIndex": 141,
|
|
4390
4400
|
"chunkKind": "recipe",
|
|
4391
4401
|
"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}\"}}]}]}}}}]}}",
|
|
4392
4402
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.onboarding-journey-workbench.json",
|
|
@@ -4396,7 +4406,7 @@
|
|
|
4396
4406
|
"corpusVersion": "1.0.0"
|
|
4397
4407
|
},
|
|
4398
4408
|
{
|
|
4399
|
-
"chunkIndex":
|
|
4409
|
+
"chunkIndex": 142,
|
|
4400
4410
|
"chunkKind": "recipe",
|
|
4401
4411
|
"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}\"}}]}]}}}}]}}",
|
|
4402
4412
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.onboarding-manager-follow-up-workbench.json",
|
|
@@ -4406,7 +4416,7 @@
|
|
|
4406
4416
|
"corpusVersion": "1.0.0"
|
|
4407
4417
|
},
|
|
4408
4418
|
{
|
|
4409
|
-
"chunkIndex":
|
|
4419
|
+
"chunkIndex": 143,
|
|
4410
4420
|
"chunkKind": "recipe",
|
|
4411
4421
|
"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}\"}}]}]}}}}]}}",
|
|
4412
4422
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.onboarding-readiness-workbench.json",
|
|
@@ -4416,7 +4426,7 @@
|
|
|
4416
4426
|
"corpusVersion": "1.0.0"
|
|
4417
4427
|
},
|
|
4418
4428
|
{
|
|
4419
|
-
"chunkIndex":
|
|
4429
|
+
"chunkIndex": 144,
|
|
4420
4430
|
"chunkKind": "recipe",
|
|
4421
4431
|
"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\"}}}}}]}}",
|
|
4422
4432
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.profile-form.json",
|
|
@@ -4426,7 +4436,7 @@
|
|
|
4426
4436
|
"corpusVersion": "1.0.0"
|
|
4427
4437
|
},
|
|
4428
4438
|
{
|
|
4429
|
-
"chunkIndex":
|
|
4439
|
+
"chunkIndex": 145,
|
|
4430
4440
|
"chunkKind": "recipe",
|
|
4431
4441
|
"content": "{\"_comment\":\"Focused Dynamic Page proof for a backend-published relatedResource surface. The page names the surface and parent identity; it never duplicates the child filter.\",\"templateMeta\":{\"registryKey\":\"praxis-dynamic-page\",\"variantId\":\"related-resource-mission-team\",\"status\":\"public-example\",\"useWhen\":\"Teach how a parent item surface materializes a governed child collection without host-authored relationship rules.\",\"examplePrompts\":[\"show the team related to mission 1\",\"materialize a child table from surface.relatedResource\",\"explain how Praxis derives the parent filter from backend metadata\"]},\"platformValue\":{\"canonicalContract\":\"praxis-api-quickstart publishes operations.missoes item surface team with availability, child resource identity, child path, parent field and allowed child operations.\",\"angularRuntime\":\"@praxisui/core discovers the exact item surface, fails closed when it is missing or denied, derives queryContext.filters.missaoId from relatedResource.childParentField and materializes the child praxis-table.\",\"businessFlow\":\"An operations lead opens the roster for a known mission and receives the current governed participant collection without maintaining a second parent-child rule in the page.\",\"hostResponsibility\":\"The host provides the trusted API origin, authentication and runtime providers. Authorization, availability and relationship metadata remain backend-owned.\"},\"operationalEvidence\":{\"baseUrl\":\"https://praxis-enterprise-proof-sandbox-v2.onrender.com\",\"parentRead\":\"/api/operations/missoes/1\",\"itemSurfaces\":\"/api/operations/missoes/1/surfaces\",\"childFilter\":\"/api/operations/missao-participantes/filter?page=0&size=10\",\"expectedSurface\":{\"id\":\"team\",\"availabilityAllowed\":true,\"childResourceKey\":\"operations.missao-participantes\",\"childResourcePath\":\"/api/operations/missao-participantes\",\"childParentField\":\"missaoId\"}},\"authoringGuidance\":[\"Use surfaceId=team with the canonical parentResourcePath and a real parent identity.\",\"Do not author queryContext.filters.missaoId; RelatedResourceSurfaceResolverService derives it from the published childParentField.\",\"Keep table columns schema-driven and use columnProjection only to select and present the fields that support the story.\",\"Treat permission-limited, not-found and empty as distinct states; never turn missing or denied metadata into an apparently empty authorized table.\",\"Keep child create, update and delete availability capability-governed even when the published relationship lists those operation types.\"],\"teaches\":[\"surface.relatedResource\",\"surface.availability\",\"related-resource.childParentField\",\"related-resource.childResourceKey\",\"related-resource.childResourcePath\",\"praxis-related-resource-outlet\",\"related-resource.fail-closed\"],\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"},\"widgets\":[{\"key\":\"missionTeamRelationship\",\"shell\":{\"kind\":\"dashboard-card\",\"icon\":\"hub\",\"title\":\"Equipe da missão\",\"subtitle\":\"Relação governada pela surface team da missão Batalha de Nova York\",\"windowActions\":{\"collapsible\":false,\"fullscreen\":true}},\"definition\":{\"id\":\"praxis-related-resource-outlet\",\"bindingOrder\":[\"surfaceId\",\"parentRecord\",\"parentResourceId\",\"parentResourcePath\",\"mode\",\"tableId\",\"tableConfig\"],\"inputs\":{\"surfaceId\":\"team\",\"parentResourcePath\":\"operations/missoes\",\"parentResourceId\":1,\"parentRecord\":{\"id\":1,\"titulo\":\"Batalha de Nova York\",\"status\":\"EM_ANDAMENTO\",\"prioridade\":\"CRITICA\"},\"mode\":\"inline\",\"tableId\":\"mission-team-related-resource\",\"tableConfig\":{\"toolbar\":{\"visible\":true,\"title\":\"Participantes materializados\",\"subtitle\":\"O filtro missaoId nasce de surface.relatedResource, não deste documento\",\"search\":{\"enabled\":true},\"columnsVisibility\":{\"enabled\":false},\"densityToggle\":{\"enabled\":true}},\"columns\":[],\"behavior\":{\"pagination\":{\"enabled\":true,\"strategy\":\"server\",\"pageSize\":10,\"pageSizeOptions\":[10,20]},\"sorting\":{\"enabled\":true,\"defaultSort\":{\"column\":\"ordem\",\"direction\":\"asc\"}}},\"columnProjection\":{\"source\":\"schema\",\"include\":[\"funcionarioFotoUrl\",\"funcionarioNome\",\"papel\",\"principal\",\"resultado\"],\"overrides\":{\"funcionarioFotoUrl\":{\"header\":\"Foto\",\"width\":\"72px\"},\"funcionarioNome\":{\"header\":\"Participante\",\"sticky\":\"start\"},\"papel\":{\"header\":\"Papel\"},\"principal\":{\"header\":\"Liderança\",\"format\":\"yes-no\",\"align\":\"center\"},\"resultado\":{\"header\":\"Resultado\"}}}}},\"outputs\":{\"widgetEvent\":\"emit\",\"resourceEvent\":\"emit\",\"surfaceOpen\":\"emit\"}}}]}}",
|
|
4432
4442
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.related-resource-mission-team.json",
|
|
@@ -4436,7 +4446,7 @@
|
|
|
4436
4446
|
"corpusVersion": "1.0.0"
|
|
4437
4447
|
},
|
|
4438
4448
|
{
|
|
4439
|
-
"chunkIndex":
|
|
4449
|
+
"chunkIndex": 146,
|
|
4440
4450
|
"chunkKind": "recipe",
|
|
4441
4451
|
"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\"}}}]}}",
|
|
4442
4452
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.remote-list.json",
|
|
@@ -4446,7 +4456,7 @@
|
|
|
4446
4456
|
"corpusVersion": "1.0.0"
|
|
4447
4457
|
},
|
|
4448
4458
|
{
|
|
4449
|
-
"chunkIndex":
|
|
4459
|
+
"chunkIndex": 147,
|
|
4450
4460
|
"chunkKind": "recipe",
|
|
4451
4461
|
"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.\"}",
|
|
4452
4462
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4456,7 +4466,7 @@
|
|
|
4456
4466
|
"corpusVersion": "1.0.0"
|
|
4457
4467
|
},
|
|
4458
4468
|
{
|
|
4459
|
-
"chunkIndex":
|
|
4469
|
+
"chunkIndex": 148,
|
|
4460
4470
|
"chunkKind": "recipe",
|
|
4461
4471
|
"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\"]}}",
|
|
4462
4472
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4466,7 +4476,7 @@
|
|
|
4466
4476
|
"corpusVersion": "1.0.0"
|
|
4467
4477
|
},
|
|
4468
4478
|
{
|
|
4469
|
-
"chunkIndex":
|
|
4479
|
+
"chunkIndex": 149,
|
|
4470
4480
|
"chunkKind": "recipe",
|
|
4471
4481
|
"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.\"}}",
|
|
4472
4482
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4476,7 +4486,7 @@
|
|
|
4476
4486
|
"corpusVersion": "1.0.0"
|
|
4477
4487
|
},
|
|
4478
4488
|
{
|
|
4479
|
-
"chunkIndex":
|
|
4489
|
+
"chunkIndex": 150,
|
|
4480
4490
|
"chunkKind": "recipe",
|
|
4481
4491
|
"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.\"]}",
|
|
4482
4492
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4486,7 +4496,7 @@
|
|
|
4486
4496
|
"corpusVersion": "1.0.0"
|
|
4487
4497
|
},
|
|
4488
4498
|
{
|
|
4489
|
-
"chunkIndex":
|
|
4499
|
+
"chunkIndex": 151,
|
|
4490
4500
|
"chunkKind": "recipe",
|
|
4491
4501
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"}}}",
|
|
4492
4502
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4496,7 +4506,7 @@
|
|
|
4496
4506
|
"corpusVersion": "1.0.0"
|
|
4497
4507
|
},
|
|
4498
4508
|
{
|
|
4499
|
-
"chunkIndex":
|
|
4509
|
+
"chunkIndex": 152,
|
|
4500
4510
|
"chunkKind": "recipe",
|
|
4501
4511
|
"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\"}}}",
|
|
4502
4512
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4506,7 +4516,7 @@
|
|
|
4506
4516
|
"corpusVersion": "1.0.0"
|
|
4507
4517
|
},
|
|
4508
4518
|
{
|
|
4509
|
-
"chunkIndex":
|
|
4519
|
+
"chunkIndex": 153,
|
|
4510
4520
|
"chunkKind": "recipe",
|
|
4511
4521
|
"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\"]}}",
|
|
4512
4522
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4516,7 +4526,7 @@
|
|
|
4516
4526
|
"corpusVersion": "1.0.0"
|
|
4517
4527
|
},
|
|
4518
4528
|
{
|
|
4519
|
-
"chunkIndex":
|
|
4529
|
+
"chunkIndex": 154,
|
|
4520
4530
|
"chunkKind": "recipe",
|
|
4521
4531
|
"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\"}}}}",
|
|
4522
4532
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4526,7 +4536,7 @@
|
|
|
4526
4536
|
"corpusVersion": "1.0.0"
|
|
4527
4537
|
},
|
|
4528
4538
|
{
|
|
4529
|
-
"chunkIndex":
|
|
4539
|
+
"chunkIndex": 155,
|
|
4530
4540
|
"chunkKind": "recipe",
|
|
4531
4541
|
"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\"}}",
|
|
4532
4542
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4536,7 +4546,7 @@
|
|
|
4536
4546
|
"corpusVersion": "1.0.0"
|
|
4537
4547
|
},
|
|
4538
4548
|
{
|
|
4539
|
-
"chunkIndex":
|
|
4549
|
+
"chunkIndex": 156,
|
|
4540
4550
|
"chunkKind": "recipe",
|
|
4541
4551
|
"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\"}]}]}]}",
|
|
4542
4552
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4546,7 +4556,7 @@
|
|
|
4546
4556
|
"corpusVersion": "1.0.0"
|
|
4547
4557
|
},
|
|
4548
4558
|
{
|
|
4549
|
-
"chunkIndex":
|
|
4559
|
+
"chunkIndex": 157,
|
|
4550
4560
|
"chunkKind": "recipe",
|
|
4551
4561
|
"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\"}]}]}",
|
|
4552
4562
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4556,7 +4566,7 @@
|
|
|
4556
4566
|
"corpusVersion": "1.0.0"
|
|
4557
4567
|
},
|
|
4558
4568
|
{
|
|
4559
|
-
"chunkIndex":
|
|
4569
|
+
"chunkIndex": 158,
|
|
4560
4570
|
"chunkKind": "recipe",
|
|
4561
4571
|
"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\"}}}]}]}}}}]}}",
|
|
4562
4572
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
|
|
@@ -4566,7 +4576,7 @@
|
|
|
4566
4576
|
"corpusVersion": "1.0.0"
|
|
4567
4577
|
},
|
|
4568
4578
|
{
|
|
4569
|
-
"chunkIndex":
|
|
4579
|
+
"chunkIndex": 159,
|
|
4570
4580
|
"chunkKind": "recipe",
|
|
4571
4581
|
"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\"}}}]}}",
|
|
4572
4582
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rich-table-surface.json",
|
|
@@ -4576,7 +4586,7 @@
|
|
|
4576
4586
|
"corpusVersion": "1.0.0"
|
|
4577
4587
|
},
|
|
4578
4588
|
{
|
|
4579
|
-
"chunkIndex":
|
|
4589
|
+
"chunkIndex": 160,
|
|
4580
4590
|
"chunkKind": "recipe",
|
|
4581
4591
|
"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\"}}}]}}",
|
|
4582
4592
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.rules-computed-table.json",
|
|
@@ -4586,7 +4596,7 @@
|
|
|
4586
4596
|
"corpusVersion": "1.0.0"
|
|
4587
4597
|
},
|
|
4588
4598
|
{
|
|
4589
|
-
"chunkIndex":
|
|
4599
|
+
"chunkIndex": 161,
|
|
4590
4600
|
"chunkKind": "recipe",
|
|
4591
4601
|
"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\"}}}]}}",
|
|
4592
4602
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.stepper-onboarding-workflow.json",
|
|
@@ -4596,7 +4606,7 @@
|
|
|
4596
4606
|
"corpusVersion": "1.0.0"
|
|
4597
4607
|
},
|
|
4598
4608
|
{
|
|
4599
|
-
"chunkIndex":
|
|
4609
|
+
"chunkIndex": 162,
|
|
4600
4610
|
"chunkKind": "recipe",
|
|
4601
4611
|
"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\"}}}}}]}}",
|
|
4602
4612
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.stepper.json",
|
|
@@ -4606,7 +4616,7 @@
|
|
|
4606
4616
|
"corpusVersion": "1.0.0"
|
|
4607
4617
|
},
|
|
4608
4618
|
{
|
|
4609
|
-
"chunkIndex":
|
|
4619
|
+
"chunkIndex": 163,
|
|
4610
4620
|
"chunkKind": "recipe",
|
|
4611
4621
|
"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}}]}}}",
|
|
4612
4622
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.surfaces-actions-showcase.json",
|
|
@@ -4616,7 +4626,7 @@
|
|
|
4616
4626
|
"corpusVersion": "1.0.0"
|
|
4617
4627
|
},
|
|
4618
4628
|
{
|
|
4619
|
-
"chunkIndex":
|
|
4629
|
+
"chunkIndex": 164,
|
|
4620
4630
|
"chunkKind": "recipe",
|
|
4621
4631
|
"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\"}}}]}}",
|
|
4622
4632
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.table.json",
|
|
@@ -4626,7 +4636,7 @@
|
|
|
4626
4636
|
"corpusVersion": "1.0.0"
|
|
4627
4637
|
},
|
|
4628
4638
|
{
|
|
4629
|
-
"chunkIndex":
|
|
4639
|
+
"chunkIndex": 165,
|
|
4630
4640
|
"chunkKind": "recipe",
|
|
4631
4641
|
"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\"}}}]}}",
|
|
4632
4642
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.tabs-nav-routing-workspace.json",
|
|
@@ -4636,7 +4646,7 @@
|
|
|
4636
4646
|
"corpusVersion": "1.0.0"
|
|
4637
4647
|
},
|
|
4638
4648
|
{
|
|
4639
|
-
"chunkIndex":
|
|
4649
|
+
"chunkIndex": 166,
|
|
4640
4650
|
"chunkKind": "recipe",
|
|
4641
4651
|
"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\"}}]}]}}}}]}}",
|
|
4642
4652
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.tabs.json",
|
|
@@ -4646,7 +4656,7 @@
|
|
|
4646
4656
|
"corpusVersion": "1.0.0"
|
|
4647
4657
|
},
|
|
4648
4658
|
{
|
|
4649
|
-
"chunkIndex":
|
|
4659
|
+
"chunkIndex": 167,
|
|
4650
4660
|
"chunkKind": "recipe",
|
|
4651
4661
|
"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.\"}",
|
|
4652
4662
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4656,7 +4666,7 @@
|
|
|
4656
4666
|
"corpusVersion": "1.0.0"
|
|
4657
4667
|
},
|
|
4658
4668
|
{
|
|
4659
|
-
"chunkIndex":
|
|
4669
|
+
"chunkIndex": 168,
|
|
4660
4670
|
"chunkKind": "recipe",
|
|
4661
4671
|
"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\"]}}",
|
|
4662
4672
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4666,7 +4676,7 @@
|
|
|
4666
4676
|
"corpusVersion": "1.0.0"
|
|
4667
4677
|
},
|
|
4668
4678
|
{
|
|
4669
|
-
"chunkIndex":
|
|
4679
|
+
"chunkIndex": 169,
|
|
4670
4680
|
"chunkKind": "recipe",
|
|
4671
4681
|
"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.\"}}",
|
|
4672
4682
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4676,7 +4686,7 @@
|
|
|
4676
4686
|
"corpusVersion": "1.0.0"
|
|
4677
4687
|
},
|
|
4678
4688
|
{
|
|
4679
|
-
"chunkIndex":
|
|
4689
|
+
"chunkIndex": 170,
|
|
4680
4690
|
"chunkKind": "recipe",
|
|
4681
4691
|
"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\"]}}",
|
|
4682
4692
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4686,7 +4696,7 @@
|
|
|
4686
4696
|
"corpusVersion": "1.0.0"
|
|
4687
4697
|
},
|
|
4688
4698
|
{
|
|
4689
|
-
"chunkIndex":
|
|
4699
|
+
"chunkIndex": 171,
|
|
4690
4700
|
"chunkKind": "recipe",
|
|
4691
4701
|
"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.\"]}",
|
|
4692
4702
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4696,7 +4706,7 @@
|
|
|
4696
4706
|
"corpusVersion": "1.0.0"
|
|
4697
4707
|
},
|
|
4698
4708
|
{
|
|
4699
|
-
"chunkIndex":
|
|
4709
|
+
"chunkIndex": 172,
|
|
4700
4710
|
"chunkKind": "recipe",
|
|
4701
4711
|
"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\"]}",
|
|
4702
4712
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4706,7 +4716,7 @@
|
|
|
4706
4716
|
"corpusVersion": "1.0.0"
|
|
4707
4717
|
},
|
|
4708
4718
|
{
|
|
4709
|
-
"chunkIndex":
|
|
4719
|
+
"chunkIndex": 173,
|
|
4710
4720
|
"chunkKind": "recipe",
|
|
4711
4721
|
"content": "{\"componentId\":\"praxis-dynamic-page\",\"chunkSection\":\"page\",\"page\":{\"layout\":{\"orientation\":\"columns\",\"columns\":1,\"gap\":\"16px\"}}}",
|
|
4712
4722
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4716,7 +4726,7 @@
|
|
|
4716
4726
|
"corpusVersion": "1.0.0"
|
|
4717
4727
|
},
|
|
4718
4728
|
{
|
|
4719
|
-
"chunkIndex":
|
|
4729
|
+
"chunkIndex": 174,
|
|
4720
4730
|
"chunkKind": "recipe",
|
|
4721
4731
|
"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.\"}]}]}}}}]}}",
|
|
4722
4732
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4726,7 +4736,7 @@
|
|
|
4726
4736
|
"corpusVersion": "1.0.0"
|
|
4727
4737
|
},
|
|
4728
4738
|
{
|
|
4729
|
-
"chunkIndex":
|
|
4739
|
+
"chunkIndex": 175,
|
|
4730
4740
|
"chunkKind": "recipe",
|
|
4731
4741
|
"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\"}}}",
|
|
4732
4742
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4736,7 +4746,7 @@
|
|
|
4736
4746
|
"corpusVersion": "1.0.0"
|
|
4737
4747
|
},
|
|
4738
4748
|
{
|
|
4739
|
-
"chunkIndex":
|
|
4749
|
+
"chunkIndex": 176,
|
|
4740
4750
|
"chunkKind": "recipe",
|
|
4741
4751
|
"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\"]}}",
|
|
4742
4752
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4746,7 +4756,7 @@
|
|
|
4746
4756
|
"corpusVersion": "1.0.0"
|
|
4747
4757
|
},
|
|
4748
4758
|
{
|
|
4749
|
-
"chunkIndex":
|
|
4759
|
+
"chunkIndex": 177,
|
|
4750
4760
|
"chunkKind": "recipe",
|
|
4751
4761
|
"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\"}}",
|
|
4752
4762
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4756,7 +4766,7 @@
|
|
|
4756
4766
|
"corpusVersion": "1.0.0"
|
|
4757
4767
|
},
|
|
4758
4768
|
{
|
|
4759
|
-
"chunkIndex":
|
|
4769
|
+
"chunkIndex": 178,
|
|
4760
4770
|
"chunkKind": "recipe",
|
|
4761
4771
|
"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\":[]}]}]}]}}",
|
|
4762
4772
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|
|
@@ -4766,7 +4776,7 @@
|
|
|
4766
4776
|
"corpusVersion": "1.0.0"
|
|
4767
4777
|
},
|
|
4768
4778
|
{
|
|
4769
|
-
"chunkIndex":
|
|
4779
|
+
"chunkIndex": 179,
|
|
4770
4780
|
"chunkKind": "recipe",
|
|
4771
4781
|
"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\"}}}]}}",
|
|
4772
4782
|
"sourcePointer": "examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
|