@praxisui/dynamic-form 10.0.0-rc.47 → 10.0.0-rc.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -290,9 +290,9 @@ Example backend-owned `x-ui` metadata:
290
290
 
291
291
  In that flow, local `FormConfig` may place `frequencyType` in sections, rows, tabs, custom actions, or corporate-only local fields. It should not persist competing `label`, `helpText`, `tooltip`, or icon metadata for `frequencyType`, because the next schema reconciliation will restore the backend DTO semantics.
292
292
 
293
- ### ErgonX migration baseline
293
+ ### Enterprise legacy migration baseline
294
294
 
295
- For ErgonX-style migrations, use schema-driven layout as the preferred target once the DTO/schema is semantically ready. Treat local `FormConfig.sections` as a temporary bridge, not as the standard for hundreds of screens.
295
+ For large-scale enterprise screen migrations, use schema-driven layout as the preferred target once the DTO/schema is semantically ready. Treat local `FormConfig.sections` as a temporary bridge, not as the standard for hundreds of screens.
296
296
 
297
297
  Recommended defaults:
298
298
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-11-15T21:11:07.512Z",
3
+ "generatedAt": "2026-11-17T22:43:07.679Z",
4
4
  "packageName": "@praxisui/dynamic-form",
5
- "packageVersion": "10.0.0-rc.47",
5
+ "packageVersion": "10.0.0-rc.49",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 2,
@@ -203,7 +203,7 @@
203
203
  "name": "layoutMode",
204
204
  "type": "FormLayoutMode",
205
205
  "required": false,
206
- "description": "Modo de organização das seções do formulário (vertical, tabs ou accordion)."
206
+ "description": "Modo de organização das seções do formulário (vertical, tabs, accordion ou stepper)."
207
207
  },
208
208
  {
209
209
  "name": "formLayout",
@@ -211,6 +211,13 @@
211
211
  "required": false,
212
212
  "description": "Opções de organização das seções do formulário (mode, tabs, defaultTabId, tabsAppearance, accordionMulti)."
213
213
  },
214
+ {
215
+ "name": "activeStepIndex",
216
+ "type": "number",
217
+ "required": false,
218
+ "description": "Índice da etapa ativa (baseado em 0) quando layoutMode/formLayout.mode for stepper.",
219
+ "default": 0
220
+ },
214
221
  {
215
222
  "name": "generatedLayoutPreset",
216
223
  "type": "'default' | 'compactPresentation'",
@@ -432,6 +439,12 @@
432
439
  "type": "boolean",
433
440
  "required": false,
434
441
  "description": "Emite o estado agregado de estabilizacao das determinacoes, sem valores do formulario ou da resposta."
442
+ },
443
+ {
444
+ "name": "stepChange",
445
+ "type": "number",
446
+ "required": false,
447
+ "description": "Emite o índice da etapa ativa (baseado em 0) ao navegar no modo stepper."
435
448
  }
436
449
  ],
437
450
  "configSchemaId": "FormConfig",
@@ -6971,6 +6984,27 @@
6971
6984
  "type": "DynamicFormLayoutPolicy",
6972
6985
  "description": "Politica opt-in para layout schema-driven transient. Use source=schema apenas quando o backend schema for a fonte canonica do agrupamento; use detailSummary para seleção de campos e densidade responsiva do resumo read-only compacto sem FormConfig.sections locais. Quando o resumo precisar vencer x-ui.width publicado para outras surfaces, use detailSummary.widthPrecedence=summary. Em groupedCommand, orphanFieldExpansion governa linhas lógicas com um unico campo; partialRowStrategy=fill-compatible projeta spans compatíveis depois de resolver visibilidade responsiva, CSS order e wrap, sem alterar x-ui.width ou persistir sections; contextFields identifica campos do request hidratados pela surface que permanecem no payload sem criar controles redundantes."
6973
6986
  },
6987
+ {
6988
+ "name": "layoutMode",
6989
+ "type": "FormLayoutMode",
6990
+ "allowedValues": [
6991
+ "vertical",
6992
+ "tabs",
6993
+ "accordion",
6994
+ "stepper"
6995
+ ],
6996
+ "description": "Modo de organização das seções do formulário (vertical, tabs, accordion ou stepper)."
6997
+ },
6998
+ {
6999
+ "name": "formLayout",
7000
+ "type": "FormLayoutOptions",
7001
+ "description": "Opções de organização das seções do formulário (mode, tabs, defaultTabId, tabsAppearance, accordionMulti)."
7002
+ },
7003
+ {
7004
+ "name": "activeStepIndex",
7005
+ "type": "number",
7006
+ "description": "Índice da etapa ativa (baseado em 0) quando o formulário estiver em modo stepper."
7007
+ },
6974
7008
  {
6975
7009
  "name": "fieldIconPolicy",
6976
7010
  "type": "string",
@@ -10222,9 +10256,9 @@
10222
10256
  {
10223
10257
  "chunkIndex": 0,
10224
10258
  "chunkKind": "summary",
10225
- "content": "Component ID: praxis-dynamic-form\nSelector: praxis-dynamic-form\nFriendly Name: Praxis Dynamic Form\nDescription: Formulario dinamico com layout por secoes/linhas/colunas e campos renderizados por metadados.\nCategory: form\nLib/Package: @praxisui/dynamic-form\nTags: widget, form, configurable, hasWizard, stable\nInputs:\n - resourcePath (string)\n - resourceId (string | number | null)\n - initialValue (Record<string, unknown> | null)\n - emptyState (PraxisDynamicFormEmptyState | null)\n - editorialContext (Record<string, unknown> | null)\n - mode ('create' | 'edit' | 'view' | 'presentation' | 'dossier')\n - config (FormConfig)\n - actions (FormConfig['actions'] | null)\n - schemaSource ('resource' | 'filter' | 'action')\n - actionId (string | null)\n - operationId (string | null)\n - schemaUrl (string | null)\n - readUrl (string | null)\n - apiEndpointKey (ApiEndpoint | string | null)\n - apiUrlEntry (ApiUrlEntry | null)\n - submitUrl (string | null)\n - submitMethod ('post' | 'put' | 'patch' | null)\n - submitIdempotencyKey (string | null)\n - submitCorrelationId (string | null)\n - submitResourceVersion (string | number | null)\n - submitResourceVersionTargetResourceKey (string | null)\n - submitResourceVersionTargetIdField (string | null)\n - responseSchemaUrl (string | null)\n - enableCustomization (boolean)\n - showAiAssistant (boolean)\n - formId (string)\n - componentInstanceId (string)\n - configPersistenceStrategy ('local-first' | 'input-first' | 'volatile')\n - layout (FormLayout)\n - layoutMode (FormLayoutMode)\n - formLayout (FormLayoutOptions)\n - generatedLayoutPreset ('default' | 'compactPresentation')\n - layoutPolicy (DynamicFormLayoutPolicy | null)\n - backConfig (BackConfig)\n - hooks (FormHooksLayout)\n - removeEmptyContainersOnSave (boolean)\n - reactiveValidation (boolean | null)\n - reactiveValidationDebounceMs (number | null)\n - notifyIfOutdated ('inline' | 'snackbar' | 'both' | 'none')\n - snoozeMs (number)\n - autoOpenSettingsOnOutdated (boolean)\n - readonlyModeGlobal (boolean | null)\n - disabledModeGlobal (boolean | null)\n - presentation (DynamicFormPresentationSnapshot | null)\n - presentationPreset (FormPresentationPreset)\n - presentationModeGlobal (boolean | null)\n - fieldIconPolicy ('all' | 'presentation-only' | 'none')\n - visibleGlobal (boolean | null)\n - customEndpoints (EndpointConfig)\nOutputs:\n - formSubmit (FormSubmitEvent)\n - formCancel (void)\n - formReset (void)\n - configChange (FormConfig)\n - configPatchChange (DynamicFormConfigPatchChangeEvent)\n - formReady (FormReadyEvent)\n - valueChange (FormValueChangeEvent)\n - payloadPreviewChange (FormPayloadPreviewEvent)\n - syncCompleted (SyncResult)\n - initializationError (FormInitializationError)\n - enableCustomizationChange (boolean)\n - customAction (FormCustomActionEvent)\n - actionConfirmation (FormActionConfirmationEvent)\n - schemaStatusChange ({ outdated: boolean; serverHash?: string; lastVerifiedAt?: string; formId?: string })\n - reactiveDeterminationExecuted (ReactiveDeterminationExecutionEvent)\n - reactiveDeterminationPendingChange (boolean)\n",
10259
+ "content": "Component ID: praxis-dynamic-form\nSelector: praxis-dynamic-form\nFriendly Name: Praxis Dynamic Form\nDescription: Formulario dinamico com layout por secoes/linhas/colunas e campos renderizados por metadados.\nCategory: form\nLib/Package: @praxisui/dynamic-form\nTags: widget, form, configurable, hasWizard, stable\nInputs:\n - resourcePath (string)\n - resourceId (string | number | null)\n - initialValue (Record<string, unknown> | null)\n - emptyState (PraxisDynamicFormEmptyState | null)\n - editorialContext (Record<string, unknown> | null)\n - mode ('create' | 'edit' | 'view' | 'presentation' | 'dossier')\n - config (FormConfig)\n - actions (FormConfig['actions'] | null)\n - schemaSource ('resource' | 'filter' | 'action')\n - actionId (string | null)\n - operationId (string | null)\n - schemaUrl (string | null)\n - readUrl (string | null)\n - apiEndpointKey (ApiEndpoint | string | null)\n - apiUrlEntry (ApiUrlEntry | null)\n - submitUrl (string | null)\n - submitMethod ('post' | 'put' | 'patch' | null)\n - submitIdempotencyKey (string | null)\n - submitCorrelationId (string | null)\n - submitResourceVersion (string | number | null)\n - submitResourceVersionTargetResourceKey (string | null)\n - submitResourceVersionTargetIdField (string | null)\n - responseSchemaUrl (string | null)\n - enableCustomization (boolean)\n - showAiAssistant (boolean)\n - formId (string)\n - componentInstanceId (string)\n - configPersistenceStrategy ('local-first' | 'input-first' | 'volatile')\n - layout (FormLayout)\n - layoutMode (FormLayoutMode)\n - formLayout (FormLayoutOptions)\n - activeStepIndex (number)\n - generatedLayoutPreset ('default' | 'compactPresentation')\n - layoutPolicy (DynamicFormLayoutPolicy | null)\n - backConfig (BackConfig)\n - hooks (FormHooksLayout)\n - removeEmptyContainersOnSave (boolean)\n - reactiveValidation (boolean | null)\n - reactiveValidationDebounceMs (number | null)\n - notifyIfOutdated ('inline' | 'snackbar' | 'both' | 'none')\n - snoozeMs (number)\n - autoOpenSettingsOnOutdated (boolean)\n - readonlyModeGlobal (boolean | null)\n - disabledModeGlobal (boolean | null)\n - presentation (DynamicFormPresentationSnapshot | null)\n - presentationPreset (FormPresentationPreset)\n - presentationModeGlobal (boolean | null)\n - fieldIconPolicy ('all' | 'presentation-only' | 'none')\n - visibleGlobal (boolean | null)\n - customEndpoints (EndpointConfig)\nOutputs:\n - formSubmit (FormSubmitEvent)\n - formCancel (void)\n - formReset (void)\n - configChange (FormConfig)\n - configPatchChange (DynamicFormConfigPatchChangeEvent)\n - formReady (FormReadyEvent)\n - valueChange (FormValueChangeEvent)\n - payloadPreviewChange (FormPayloadPreviewEvent)\n - syncCompleted (SyncResult)\n - initializationError (FormInitializationError)\n - enableCustomizationChange (boolean)\n - customAction (FormCustomActionEvent)\n - actionConfirmation (FormActionConfirmationEvent)\n - schemaStatusChange ({ outdated: boolean; serverHash?: string; lastVerifiedAt?: string; formId?: string })\n - reactiveDeterminationExecuted (ReactiveDeterminationExecutionEvent)\n - reactiveDeterminationPendingChange (boolean)\n - stepChange (number)\n",
10226
10260
  "sourcePointer": "projects/praxis-dynamic-form/src/lib/praxis-dynamic-form.metadata.ts",
10227
- "contentHash": "3f2e6a1c5e1facfa5cfb973a1da58b665cfe84ae70a97af4ad0107241dc6a42c",
10261
+ "contentHash": "13c1fd52d4eaf9350931bd7d83df557192628c3c62810ce0404f00abd149e705",
10228
10262
  "sourceKind": "component_definition",
10229
10263
  "sourceId": "praxis-dynamic-form",
10230
10264
  "corpusVersion": "1.0.0"
@@ -10652,9 +10686,9 @@
10652
10686
  {
10653
10687
  "chunkIndex": 43,
10654
10688
  "chunkKind": "authoring_manifest",
10655
- "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.5.4\",\"componentId\":\"praxis-dynamic-form\",\"ownerPackage\":\"@praxisui/dynamic-form\",\"configSchemaId\":\"FormConfig\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"showAiAssistant\",\"type\":\"boolean\",\"description\":\"Mostra os gatilhos do copiloto semantico Praxis\"},{\"name\":\"config\",\"type\":\"FormConfig\",\"description\":\"Configuração do formulário; sections é opcional em forms schema-driven e não deve ser criado como array vazio apenas para satisfazer TypeScript.\"},{\"name\":\"actions\",\"type\":\"FormConfig['actions'] | null\",\"description\":\"Overrides de apresentação da barra de ações fornecidos pelo host sem substituir o contrato HTTP da surface.\"},{\"name\":\"formId\",\"type\":\"string\",\"description\":\"Identidade estável usada pelo runtime para persistência local da configuração.\"},{\"name\":\"resourcePath\",\"type\":\"string\",\"description\":\"Caminho do recurso (API)\"},{\"name\":\"resourceId\",\"type\":\"string | number | null\",\"description\":\"Identidade canônica do registro carregado em modos edit e view.\"},{\"name\":\"emptyState\",\"type\":\"PraxisDynamicFormEmptyState | null\",\"description\":\"Authorado em bindings.emptyState no editor; null desliga explicitamente. Placeholder opt-in para mode=view sem resourceId nem snapshot local; reutiliza o empty state compartilhado e mantém a mensagem de negócio no plano/host.\"},{\"name\":\"readUrl\",\"type\":\"string\",\"description\":\"Endpoint canonico de leitura para surfaces VIEW/READ_PROJECTION\"},{\"name\":\"mode\",\"type\":\"string\",\"allowedValues\":[\"create\",\"edit\",\"view\",\"presentation\",\"dossier\"],\"description\":\"Modos nativos preservados em documentos. Em novos fluxos, prefira view com presentationModeGlobal para separar operação dos dados e apresentação.\"},{\"name\":\"presentation\",\"type\":\"DynamicFormPresentationSnapshot | null\",\"description\":\"Projeção de contextSnapshot.presentation para hosts e Page Builder. Tamanhos em pixels; null remove ajustes explícitos. Não altera mode nem presentationModeGlobal.\"},{\"name\":\"presentationModeGlobal\",\"type\":\"boolean | null\",\"description\":\"Preferência de exibição, também authorada em bindings.presentationModeGlobal: true apresenta rótulos e valores somente em mode=view; false força campos; null/ausência segue layoutPolicy. Não altera o modo dos dados.\"},{\"name\":\"configPersistenceStrategy\",\"type\":\"string\",\"allowedValues\":[\"local-first\",\"input-first\",\"volatile\"],\"description\":\"Precedência entre configuração persistida e contrato explícito do host. Use volatile para filhos controlados por página, sem storage independente. Use input-first em dialogs e surfaces transitórias governadas por schema para preservar mode e estados operacionais publicados pelo servidor.\"},{\"name\":\"generatedLayoutPreset\",\"type\":\"string\",\"allowedValues\":[\"default\",\"compactPresentation\"],\"description\":\"Preset usado apenas ao gerar a configuracao inicial a partir de metadata/schema; nao reprocessa layouts persistidos ou autorados.\"},{\"name\":\"layoutPolicy\",\"type\":\"DynamicFormLayoutPolicy\",\"description\":\"Politica opt-in para layout schema-driven transient. Use source=schema apenas quando o backend schema for a fonte canonica do agrupamento; use detailSummary para seleção de campos e densidade responsiva do resumo read-only compacto sem FormConfig.sections locais. Quando o resumo precisar vencer x-ui.width publicado para outras surfaces, use detailSummary.widthPrecedence=summary. Em groupedCommand, orphanFieldExpansion governa linhas lógicas com um unico campo; partialRowStrategy=fill-compatible projeta spans compatíveis depois de resolver visibilidade responsiva, CSS order e wrap, sem alterar x-ui.width ou persistir sections; contextFields identifica campos do request hidratados pela surface que permanecem no payload sem criar controles redundantes.\"},{\"name\":\"fieldIconPolicy\",\"type\":\"string\",\"allowedValues\":[\"all\",\"presentation-only\",\"none\"],\"description\":\"Politica visual do host para icones prefix/suffix de campos vindos da metadata. Use presentation-only para manter icones decorativos em apresentacao e ocultar em controles tradicionais.\"},{\"name\":\"enableCustomization\",\"type\":\"boolean\",\"description\":\"Habilita edição visual\"}]}",
10689
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.5.4\",\"componentId\":\"praxis-dynamic-form\",\"ownerPackage\":\"@praxisui/dynamic-form\",\"configSchemaId\":\"FormConfig\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"showAiAssistant\",\"type\":\"boolean\",\"description\":\"Mostra os gatilhos do copiloto semantico Praxis\"},{\"name\":\"config\",\"type\":\"FormConfig\",\"description\":\"Configuração do formulário; sections é opcional em forms schema-driven e não deve ser criado como array vazio apenas para satisfazer TypeScript.\"},{\"name\":\"actions\",\"type\":\"FormConfig['actions'] | null\",\"description\":\"Overrides de apresentação da barra de ações fornecidos pelo host sem substituir o contrato HTTP da surface.\"},{\"name\":\"formId\",\"type\":\"string\",\"description\":\"Identidade estável usada pelo runtime para persistência local da configuração.\"},{\"name\":\"resourcePath\",\"type\":\"string\",\"description\":\"Caminho do recurso (API)\"},{\"name\":\"resourceId\",\"type\":\"string | number | null\",\"description\":\"Identidade canônica do registro carregado em modos edit e view.\"},{\"name\":\"emptyState\",\"type\":\"PraxisDynamicFormEmptyState | null\",\"description\":\"Authorado em bindings.emptyState no editor; null desliga explicitamente. Placeholder opt-in para mode=view sem resourceId nem snapshot local; reutiliza o empty state compartilhado e mantém a mensagem de negócio no plano/host.\"},{\"name\":\"readUrl\",\"type\":\"string\",\"description\":\"Endpoint canonico de leitura para surfaces VIEW/READ_PROJECTION\"},{\"name\":\"mode\",\"type\":\"string\",\"allowedValues\":[\"create\",\"edit\",\"view\",\"presentation\",\"dossier\"],\"description\":\"Modos nativos preservados em documentos. Em novos fluxos, prefira view com presentationModeGlobal para separar operação dos dados e apresentação.\"},{\"name\":\"presentation\",\"type\":\"DynamicFormPresentationSnapshot | null\",\"description\":\"Projeção de contextSnapshot.presentation para hosts e Page Builder. Tamanhos em pixels; null remove ajustes explícitos. Não altera mode nem presentationModeGlobal.\"},{\"name\":\"presentationModeGlobal\",\"type\":\"boolean | null\",\"description\":\"Preferência de exibição, também authorada em bindings.presentationModeGlobal: true apresenta rótulos e valores somente em mode=view; false força campos; null/ausência segue layoutPolicy. Não altera o modo dos dados.\"},{\"name\":\"configPersistenceStrategy\",\"type\":\"string\",\"allowedValues\":[\"local-first\",\"input-first\",\"volatile\"],\"description\":\"Precedência entre configuração persistida e contrato explícito do host. Use volatile para filhos controlados por página, sem storage independente. Use input-first em dialogs e surfaces transitórias governadas por schema para preservar mode e estados operacionais publicados pelo servidor.\"},{\"name\":\"generatedLayoutPreset\",\"type\":\"string\",\"allowedValues\":[\"default\",\"compactPresentation\"],\"description\":\"Preset usado apenas ao gerar a configuracao inicial a partir de metadata/schema; nao reprocessa layouts persistidos ou autorados.\"},{\"name\":\"layoutPolicy\",\"type\":\"DynamicFormLayoutPolicy\",\"description\":\"Politica opt-in para layout schema-driven transient. Use source=schema apenas quando o backend schema for a fonte canonica do agrupamento; use detailSummary para seleção de campos e densidade responsiva do resumo read-only compacto sem FormConfig.sections locais. Quando o resumo precisar vencer x-ui.width publicado para outras surfaces, use detailSummary.widthPrecedence=summary. Em groupedCommand, orphanFieldExpansion governa linhas lógicas com um unico campo; partialRowStrategy=fill-compatible projeta spans compatíveis depois de resolver visibilidade responsiva, CSS order e wrap, sem alterar x-ui.width ou persistir sections; contextFields identifica campos do request hidratados pela surface que permanecem no payload sem criar controles redundantes.\"},{\"name\":\"layoutMode\",\"type\":\"FormLayoutMode\",\"allowedValues\":[\"vertical\",\"tabs\",\"accordion\",\"stepper\"],\"description\":\"Modo de organização das seções do formulário (vertical, tabs, accordion ou stepper).\"},{\"name\":\"formLayout\",\"type\":\"FormLayoutOptions\",\"description\":\"Opções de organização das seções do formulário (mode, tabs, defaultTabId, tabsAppearance, accordionMulti).\"},{\"name\":\"activeStepIndex\",\"type\":\"number\",\"description\":\"Índice da etapa ativa (baseado em 0) quando o formulário estiver em modo stepper.\"},{\"name\":\"fieldIconPolicy\",\"type\":\"string\",\"allowedValues\":[\"all\",\"presentation-only\",\"none\"],\"description\":\"Politica visual do host para icones prefix/suffix de campos vindos da metadata. Use presentation-only para manter icones decorativos em apresentacao e ocultar em controles tradicionais.\"},{\"name\":\"enableCustomization\",\"type\":\"boolean\",\"description\":\"Habilita edição visual\"}]}",
10656
10690
  "sourcePointer": "projects/praxis-dynamic-form/src/lib/ai/praxis-dynamic-form-authoring-manifest.ts",
10657
- "contentHash": "2c3f132524d3cf73b6c9cb6f4591d2b1c076e1b444aa5c792be33a8d3d758c46",
10691
+ "contentHash": "a88821d47acc90fe1dba1fac9adafa2cb7dff60e6f6fd41b9917de28024d6a23",
10658
10692
  "sourceKind": "component_definition",
10659
10693
  "sourceId": "praxis-dynamic-form",
10660
10694
  "corpusVersion": "1.0.0"
@@ -1,7 +1,7 @@
1
1
  # Revisão independente — Form Authoring #635
2
2
 
3
3
  Revisor: `rules_audit`; atualizado em 2026-10-23T21:18:03+00:00.
4
- Checkout: `/Users/rodrigo/Dev/pessoal/praxis-plataform/.worktrees/form-p1-631-633`; branch `fix/form-authoring-635`; HEAD `51075de81704596606bb578ab681124df5ae8493` **mais alterações locais**. Os hashes abaixo identificam os bytes revisados, não um futuro commit.
4
+ Checkout: `<workspace>`; branch `fix/form-authoring-635`; HEAD `51075de81704596606bb578ab681124df5ae8493` **mais alterações locais**. Os hashes abaixo identificam os bytes revisados, não um futuro commit.
5
5
 
6
6
  ## Resultado e limites
7
7
 
@@ -22,9 +22,9 @@ Specialized review approved the direction and blocked implementation readiness u
22
22
 
23
23
  Praxis Dynamic Form already consumes backend metadata and can generate form layouts from schema-derived fields. In practice, hosts still repeat `FormConfig.sections` locally for read-only detail views and for create/edit command forms, even when the backend DTOs publish `x-ui` metadata such as `group`, `order`, `width`, labels, help text, read-only hints and presentation metadata.
24
24
 
25
- The Ergon migration exposed this as a recurring platform issue. The `ERGadm00034` screen for codigos de frequencia currently needs local section configs for detail and command forms although the Java DTOs already publish grouped metadata. The same pattern appears in other migrated forms, including regras de frequencia, tipos de rubrica and vinculos funcionais.
25
+ The Workforce migration exposed this as a recurring platform issue. The `WF-00034` screen for codigos de frequencia currently needs local section configs for detail and command forms although the Java DTOs already publish grouped metadata. The same pattern appears in other migrated forms, including regras de frequencia, tipos de rubrica and vinculos funcionais.
26
26
 
27
- This is not an Ergon-only design problem. If every migrated screen must author local `FormConfig.sections`, the platform loses the main benefit of schema-driven UI: one canonical backend contract feeding many hosts consistently.
27
+ This is not an Workforce-only design problem. If every migrated screen must author local `FormConfig.sections`, the platform loses the main benefit of schema-driven UI: one canonical backend contract feeding many hosts consistently.
28
28
 
29
29
  ## Classification
30
30
 
@@ -35,9 +35,9 @@ The affected public surface is the Dynamic Form layout contract around schema ma
35
35
  ## Impact Map
36
36
 
37
37
  - Canonical subprojects affected: `praxis-ui-angular`, primarily `@praxisui/dynamic-form` and `@praxisui/core`.
38
- - Consumers impacted: `ergon-web`, `@praxisui/crud`, surface action launchers, official examples, playgrounds and any host using `schemaUrl`, `resourcePath` or local `FormConfig`.
38
+ - Consumers impacted: `workforce-web`, `@praxisui/crud`, surface action launchers, official examples, playgrounds and any host using `schemaUrl`, `resourcePath` or local `FormConfig`.
39
39
  - Public docs potentially affected: Dynamic Form README, JSON API docs, authoring docs, docs shell registry, landing-page published guides and AI authoring manifests.
40
- - Examples and recipes potentially affected: Dynamic Form examples, CRUD dialog examples, schema-driven resource examples and Ergon migration recipes.
40
+ - Examples and recipes potentially affected: Dynamic Form examples, CRUD dialog examples, schema-driven resource examples and Workforce migration recipes.
41
41
  - Minimum validations needed for implementation: focused unit tests for the shared materializer, Dynamic Form runtime tests, CRUD dialog-host tests and visual checks for desktop and narrow viewports.
42
42
  - Breaking-change risk: medium if defaults are changed; low if the new behavior is opt-in and authored configs keep precedence by default.
43
43
 
@@ -70,7 +70,7 @@ The backend can already publish the metadata required for a reasonable layout. T
70
70
  - Centralize the layout algorithm so Dynamic Form, CRUD and surface action launchers do not diverge.
71
71
  - Keep the backend as the canonical owner of field semantics.
72
72
  - Allow host config to continue owning non-layout concerns such as actions, messages, hooks and behavior.
73
- - Provide a migration path for Ergon and other hosts to remove repeated local layout sections gradually.
73
+ - Provide a migration path for Workforce and other hosts to remove repeated local layout sections gradually.
74
74
 
75
75
  ## Non-goals
76
76
 
@@ -78,7 +78,7 @@ The backend can already publish the metadata required for a reasonable layout. T
78
78
  - Do not move domain semantics from backend DTOs into Angular configs.
79
79
  - Do not change Dynamic Form defaults in this RFC.
80
80
  - Do not overwrite or silently discard authored `FormConfig.sections`.
81
- - Do not create an Ergon-specific preset.
81
+ - Do not create an Workforce-specific preset.
82
82
  - Do not introduce new backend `x-ui` metadata until existing metadata is proven insufficient.
83
83
 
84
84
  ## Proposed Design
@@ -352,11 +352,11 @@ Core surface action materializers must stop injecting local `config.sections` fo
352
352
  - Use `compactPresentation` with detail intent for read-only detail actions where appropriate.
353
353
  - Replace duplicated `SurfaceOpenMaterializerService` local section generation with the shared materializer or by passing the policy downstream.
354
354
 
355
- ### Phase 5 - Ergon migration cleanup
355
+ ### Phase 5 - Workforce migration cleanup
356
356
 
357
357
  - Remove local repeated `FormConfig.sections` from migrated screens that can rely on schema metadata.
358
358
  - Keep local config only for screen-specific actions, labels, hooks or behavior that are not field layout.
359
- - Validate ERGadm00034 as the reference screen before applying the pattern broadly.
359
+ - Validate WF-00034 as the reference screen before applying the pattern broadly.
360
360
 
361
361
  ## Acceptance Criteria
362
362
 
@@ -368,7 +368,7 @@ Core surface action materializers must stop injecting local `config.sections` fo
368
368
  - Generated section ids are stable.
369
369
  - Runtime and presentation mode suppress generated or authored sections/rows/columns that do not contain any visible field or visible rich content block; customization mode still exposes empty containers for authoring.
370
370
  - Documentation explains when to use authored config versus schema materialization.
371
- - Ergon reference screens can remove repeated local layout sections without losing grouping quality.
371
+ - Workforce reference screens can remove repeated local layout sections without losing grouping quality.
372
372
  - Detail layout has consistent label/value hierarchy, readable null and long-value states, no horizontal scroll on narrow viewports and no editable controls.
373
373
  - Command layout handles required, invalid, dirty, disabled, read-only and saving states without shifting or hiding actions.
374
374
  - Actions distinguish primary, secondary and destructive intent visually and accessibly.
@@ -389,7 +389,7 @@ Implementation should use focused validation:
389
389
  - JSON API docs, README, docs manifest and public docs registry review where applicable.
390
390
  - Documentation manifest validation where applicable.
391
391
  - Visual validation on desktop and narrow viewport for at least one read-only detail and one command form before promoting the pattern as a migration template.
392
- - ERGadm00034 visual validation with realistic PT-BR data, empty values, long text, small and large groups, invalid required fields, option source loading/empty states, disabled/read-only states, submit/saving state and dialog/drawer narrow viewport.
392
+ - WF-00034 visual validation with realistic PT-BR data, empty values, long text, small and large groups, invalid required fields, option source loading/empty states, disabled/read-only states, submit/saving state and dialog/drawer narrow viewport.
393
393
 
394
394
  Broad workspace builds are not required for the RFC-only step.
395
395
 
@@ -417,17 +417,17 @@ Broad workspace builds are not required for the RFC-only step.
417
417
  - Adding new metadata too early would expand the public contract before proving existing `x-ui` fields are insufficient.
418
418
  - Persisting transient generated layouts by accident would turn schema materialization into silent authored config.
419
419
  - Using the wrong operation schema could leak detail-only fields into create/edit forms.
420
- - Promoting ERGadm00034 as a template before visual validation could institutionalize poor layouts across hundreds of screens.
420
+ - Promoting WF-00034 as a template before visual validation could institutionalize poor layouts across hundreds of screens.
421
421
 
422
- ## Relationship To Ergon Migration
422
+ ## Relationship To Workforce Migration
423
423
 
424
- The immediate trigger was ERGadm00034, but the problem already appears across read-only and editable forms in the Ergon migration.
424
+ The immediate trigger was WF-00034, but the problem already appears across read-only and editable forms in the Workforce migration.
425
425
 
426
- Ergon may continue using local configs as a temporary bridge, but the intended platform direction is to remove repeated `FormConfig.sections` when the backend DTO already publishes complete field metadata.
426
+ Workforce may continue using local configs as a temporary bridge, but the intended platform direction is to remove repeated `FormConfig.sections` when the backend DTO already publishes complete field metadata.
427
427
 
428
428
  ## ErgonX Migration Playbook
429
429
 
430
- Use this section as the operational checklist before promoting a migrated Ergon screen as a reusable example.
430
+ Use this section as the operational checklist before promoting a migrated Workforce screen as a reusable example.
431
431
 
432
432
  ### 1. Prove the DTO/schema is ready
433
433
 
@@ -459,7 +459,7 @@ For command forms, `schemaUrl` must identify the request operation. A create/edi
459
459
 
460
460
  Large enterprise forms should not render every DTO description inline. Inline help is useful for short guidance, but dense groups become noisy when every toggle, select and date field owns multiple lines of explanatory text.
461
461
 
462
- Recommended default for Ergon-style command drawers:
462
+ Recommended default for Workforce-style command drawers:
463
463
 
464
464
  ```ts
465
465
  helpPresentation: {
@@ -486,7 +486,7 @@ Use `fieldIconPolicy: "all"` only when icons are part of the field affordance or
486
486
 
487
487
  ### 5. Preserve Praxis actions and loading patterns
488
488
 
489
- Migrated screens should use native Praxis action discovery, surfaces and capabilities for row, collection and global actions. Do not implement an Ergon-local action launcher when the backend publishes actions or surfaces that Praxis can discover.
489
+ Migrated screens should use native Praxis action discovery, surfaces and capabilities for row, collection and global actions. Do not implement an Workforce-local action launcher when the backend publishes actions or surfaces that Praxis can discover.
490
490
 
491
491
  For loading states, avoid whole-page flicker. Prefer stable shells, table/detail skeletons or top progress indicators that preserve layout while data refreshes. A migration example should prove that refresh, filter, pagination and row selection do not blank the whole screen.
492
492
 
@@ -504,9 +504,9 @@ Before using a screen as a migration template, run at least one desktop browser
504
504
 
505
505
  Mobile can be deferred when the product decision says it is not priority, but narrow drawer behavior still needs enough validation to avoid broken desktop split-screen usage.
506
506
 
507
- ### 7. Handoff artifact for each Ergon screen
507
+ ### 7. Handoff artifact for each Workforce screen
508
508
 
509
- Each migrated screen should record the following in its Ergon migration folder:
509
+ Each migrated screen should record the following in its Workforce migration folder:
510
510
 
511
511
  - DTO/schema readiness result and unresolved semantic gaps;
512
512
  - chosen `layoutPolicy`, `helpPresentation` and `fieldIconPolicy`;
@@ -514,4 +514,4 @@ Each migrated screen should record the following in its Ergon migration folder:
514
514
  - visual QA evidence and known accepted deviations;
515
515
  - temporary authored config sections that should be removed after DTO/schema hardening.
516
516
 
517
- This keeps ERGadm00034 useful as a repeatable migration reference instead of a one-off visual implementation.
517
+ This keeps WF-00034 useful as a repeatable migration reference instead of a one-off visual implementation.