@praxisui/settings-panel 9.0.4-rc.27 → 9.0.4-rc.29

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
@@ -94,6 +94,8 @@ Peer dependencies (Angular v21):
94
94
  - O shell preserva a instancia Angular, o scroll e o alvo de foco dos frames anteriores. O botao Voltar so aparece quando existe historico e devolve o foco para a etapa restaurada.
95
95
  - `surfaceRuntime.navigation$` publica `sessionId`, `activeFrameId`, profundidade e `canGoBack`; esse estado e efemero e nunca deve ser persistido em metadata, `x-ui` ou configuracao de componente.
96
96
  - Formularios podem registrar `surfaceRuntime.setCanLeave(guard)` para impedir `back`, `replace`, Escape, backdrop ou fechamento enquanto o lifecycle da etapa exigir confirmacao. O guard e runtime-only e nao substitui regras de negocio nem autorizacao.
97
+ - Componentes criados dentro de uma frame podem injetar `SURFACE_DRAWER_REF` e `SURFACE_DRAWER_CONTENT_DATA`. Esses tokens representam exclusivamente a frame ativa e seus inputs efemeros; nao devem ser usados como uma segunda fonte de metadata.
98
+ - O CRUD oficial reutiliza automaticamente a sessao ativa: formularios abertos em modo drawer viram uma nova frame, publicam `save/delete/close` no mesmo ref e retornam ao contexto anterior sem empilhar overlays.
97
99
 
98
100
  ## Fronteira canonica
99
101
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-08-04T23:26:34.977Z",
3
+ "generatedAt": "2026-08-05T00:54:29.592Z",
4
4
  "packageName": "@praxisui/settings-panel",
5
- "packageVersion": "9.0.4-rc.27",
5
+ "packageVersion": "9.0.4-rc.29",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 1,
@@ -17,7 +17,7 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
17
17
  import { filter, switchMap, debounceTime, distinctUntilChanged } from 'rxjs/operators';
18
18
  import { isObservable, firstValueFrom, of, from, Subject, ReplaySubject, take, BehaviorSubject } from 'rxjs';
19
19
  import * as i1$2 from '@praxisui/core';
20
- import { providePraxisI18n, PraxisI18nService, PraxisIconButtonComponent, PraxisIconDirective, SETTINGS_PANEL_DATA as SETTINGS_PANEL_DATA$1, PraxisLayerScaleStyleService, SETTINGS_PANEL_BRIDGE, SURFACE_DRAWER_BRIDGE, GlobalConfigService, FieldControlType, IconPickerService, LoggerService, ComponentMetadataRegistry } from '@praxisui/core';
20
+ import { providePraxisI18n, PraxisI18nService, PraxisIconButtonComponent, PraxisIconDirective, SETTINGS_PANEL_DATA as SETTINGS_PANEL_DATA$1, PraxisLayerScaleStyleService, SETTINGS_PANEL_BRIDGE, SURFACE_DRAWER_BRIDGE, SURFACE_DRAWER_CONTENT_DATA, SURFACE_DRAWER_REF, GlobalConfigService, FieldControlType, IconPickerService, LoggerService, ComponentMetadataRegistry } from '@praxisui/core';
21
21
  import { ConfirmDialogComponent } from '@praxisui/dynamic-fields';
22
22
  import * as i1$1 from '@angular/cdk/overlay';
23
23
  import { ComponentPortal } from '@angular/cdk/portal';
@@ -2151,6 +2151,8 @@ function providePraxisSurfaceDrawerBridge() {
2151
2151
  providers: [
2152
2152
  { provide: BASE_SIDE_PANEL_DATA, useValue: contentInputs },
2153
2153
  { provide: BASE_SIDE_PANEL_REF, useValue: runtimeRef },
2154
+ { provide: SURFACE_DRAWER_CONTENT_DATA, useValue: contentInputs },
2155
+ { provide: SURFACE_DRAWER_REF, useValue: runtimeRef },
2154
2156
  ],
2155
2157
  parent: injector,
2156
2158
  });
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@praxisui/settings-panel",
3
- "version": "9.0.4-rc.27",
3
+ "version": "9.0.4-rc.29",
4
4
  "description": "Settings panel for Praxis UI libraries: open editors for configuration at runtime and persist settings.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
7
7
  "@angular/core": "^21.0.0",
8
8
  "@angular/cdk": "^21.0.0",
9
9
  "@angular/material": "^21.0.0",
10
- "@praxisui/ai": "^9.0.4-rc.27",
11
- "@praxisui/core": "^9.0.4-rc.27",
12
- "@praxisui/dynamic-fields": "^9.0.4-rc.27",
10
+ "@praxisui/ai": "^9.0.4-rc.29",
11
+ "@praxisui/core": "^9.0.4-rc.29",
12
+ "@praxisui/dynamic-fields": "^9.0.4-rc.29",
13
13
  "rxjs": "~7.8.0"
14
14
  },
15
15
  "dependencies": {