@praxisui/settings-panel 10.0.0-rc.8 → 10.0.0-rc.80
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 +10 -0
- package/ai/component-registry.json +136 -8
- package/fesm2022/praxisui-settings-panel.mjs +1980 -236
- package/package.json +4 -4
- package/types/praxisui-settings-panel.d.ts +191 -9
package/README.md
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
- Abrir editores de configuracao com UX autoral consistente
|
|
23
23
|
- Padronizar `Apply`, `Save`, `Reset` e `Cancel` em flows de authoring
|
|
24
24
|
- Reutilizar uma base neutra de side panel para drawers runtime do `surface.open`
|
|
25
|
+
- Abrir o editor global de configuracoes (`openGlobalConfigEditor(settingsPanel, opts?)`) para governar `crud`, `dynamicFields`, `table`, `dialog`, `pages.defaults` (presets de layout, tema, moldura de widget e grade padrao das paginas dinamicas) e `ai`
|
|
25
26
|
|
|
26
27
|
## Instalacao
|
|
27
28
|
|
|
@@ -98,6 +99,8 @@ Peer dependencies (Angular v21):
|
|
|
98
99
|
- 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.
|
|
99
100
|
- `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.
|
|
100
101
|
- 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.
|
|
102
|
+
- O guard registrado pelos hooks do conteúdo pertence à etapa que está sendo criada, inclusive na abertura inicial e em replace. A etapa é ativada antes da primeira detecção de mudanças.
|
|
103
|
+
- Em etapas aninhadas, Voltar, X/Fechar, Escape e backdrop consultam o guard da etapa atual e retornam ao pai vivo; nas saídas do usuário, o fechamento da raiz encerra a sessão. O fechamento programático de escopo consulta os guards da sessão inteira. Saídas simultâneas não devem duplicar prompts ou remover duas etapas. Escape continua subordinado a menus, seletores e confirmações sobrepostos.
|
|
101
104
|
- 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.
|
|
102
105
|
- 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.
|
|
103
106
|
|
|
@@ -449,6 +452,13 @@ das abas. Acima desse limite, reaparece a navegação por abas. O Settings Panel
|
|
|
449
452
|
organiza título, expandir e fechar em uma grade até 599px; a prévia, quando
|
|
450
453
|
suportada, ocupa a linha seguinte. Nenhum documento ou protocolo de Save é alterado.
|
|
451
454
|
|
|
455
|
+
### Persistência assíncrona, erro RFC-7807 inline e Write Gate
|
|
456
|
+
|
|
457
|
+
- `SettingsPanelService.open(...)`, `SettingsPanelRef` e `SettingsPanelComponent` aguardam handlers assíncronos `onSave` e `onReset` com proteção de ciclo de vida (`configStorageKey`, `confirmDialogOpen`, `takeUntilDestroyed`) antes de concluir ou fechar o painel.
|
|
458
|
+
- Falhas HTTP (`403`, `409`, `422`, `5xx` ou rede `status: 0`) mantêm o painel aberto, preservam o botão de tentativa (`saveFailedPendingRetry`) e movem o foco para o banner RFC-7807 `#saveErrorBanner` (com detalhamento de campos em `saveErrorFieldMessages`).
|
|
459
|
+
- `checkWriteGate()` valida permissões e `canWriteTargetScope()` antes de salvar ou redefinir; a troca rápida para escopo pessoal no banner (`canSwitchToPersonalScopeFromError`) só é exibida quando o bloqueio decorre de critérios sensíveis no escopo organizacional compartilhado e o escopo pessoal é permitido.
|
|
460
|
+
- Redefinir uma sobreposição pessoal para a baseline organizacional exige confirmação explícita via `ConfirmDialogComponent` e propaga o documento restaurado ao editor através de `SettingsPanelRef.tenantBaselineRestored$` (ou `ref.reset()` quando não houver baseline remoto).
|
|
461
|
+
|
|
452
462
|
<!-- praxis-npm-catalog-links:start -->
|
|
453
463
|
## Official documentation and examples
|
|
454
464
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-
|
|
3
|
+
"generatedAt": "2026-12-01T19:14:00.841Z",
|
|
4
4
|
"packageName": "@praxisui/settings-panel",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.80",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -223,41 +223,105 @@
|
|
|
223
223
|
{
|
|
224
224
|
"kind": "panelShell",
|
|
225
225
|
"resolver": "settings-panel-config-root",
|
|
226
|
+
"resolutionSpec": {
|
|
227
|
+
"strategy": "root-path",
|
|
228
|
+
"paths": [
|
|
229
|
+
"config",
|
|
230
|
+
""
|
|
231
|
+
],
|
|
232
|
+
"allowIndex": false
|
|
233
|
+
},
|
|
226
234
|
"description": "Top-level shell identity and title fields owned by SettingsPanelConfig."
|
|
227
235
|
},
|
|
228
236
|
{
|
|
229
237
|
"kind": "openMode",
|
|
230
238
|
"resolver": "settings-panel-open-mode",
|
|
239
|
+
"resolutionSpec": {
|
|
240
|
+
"strategy": "root-path",
|
|
241
|
+
"paths": [
|
|
242
|
+
"config",
|
|
243
|
+
""
|
|
244
|
+
],
|
|
245
|
+
"allowIndex": false
|
|
246
|
+
},
|
|
231
247
|
"description": "Initial expanded state, replacement mediation and close behavior for an authoring panel."
|
|
232
248
|
},
|
|
233
249
|
{
|
|
234
250
|
"kind": "panelSize",
|
|
235
251
|
"resolver": "settings-panel-size-and-resize",
|
|
252
|
+
"resolutionSpec": {
|
|
253
|
+
"strategy": "root-path",
|
|
254
|
+
"paths": [
|
|
255
|
+
"config",
|
|
256
|
+
"runtime.size"
|
|
257
|
+
],
|
|
258
|
+
"allowIndex": false
|
|
259
|
+
},
|
|
236
260
|
"description": "Width, min/max width, resize enablement and persisted size key."
|
|
237
261
|
},
|
|
238
262
|
{
|
|
239
263
|
"kind": "applyBehavior",
|
|
240
264
|
"resolver": "settings-value-provider-apply-contract",
|
|
265
|
+
"resolutionSpec": {
|
|
266
|
+
"strategy": "root-path",
|
|
267
|
+
"paths": [
|
|
268
|
+
"provider",
|
|
269
|
+
"ref"
|
|
270
|
+
],
|
|
271
|
+
"allowIndex": false
|
|
272
|
+
},
|
|
241
273
|
"description": "Apply availability and payload emission through getSettingsValue()."
|
|
242
274
|
},
|
|
243
275
|
{
|
|
244
276
|
"kind": "saveBehavior",
|
|
245
277
|
"resolver": "settings-value-provider-save-contract",
|
|
278
|
+
"resolutionSpec": {
|
|
279
|
+
"strategy": "root-path",
|
|
280
|
+
"paths": [
|
|
281
|
+
"provider",
|
|
282
|
+
"ref"
|
|
283
|
+
],
|
|
284
|
+
"allowIndex": false
|
|
285
|
+
},
|
|
246
286
|
"description": "Save availability, onSave fallback and close-after-save behavior."
|
|
247
287
|
},
|
|
248
288
|
{
|
|
249
289
|
"kind": "resetBehavior",
|
|
250
290
|
"resolver": "settings-value-provider-reset-contract",
|
|
291
|
+
"resolutionSpec": {
|
|
292
|
+
"strategy": "root-path",
|
|
293
|
+
"paths": [
|
|
294
|
+
"provider",
|
|
295
|
+
"ref"
|
|
296
|
+
],
|
|
297
|
+
"allowIndex": false
|
|
298
|
+
},
|
|
251
299
|
"description": "Reset confirmation, provider reset hook and reset event emission."
|
|
252
300
|
},
|
|
253
301
|
{
|
|
254
302
|
"kind": "editorHost",
|
|
255
303
|
"resolver": "settings-panel-editor-host",
|
|
304
|
+
"resolutionSpec": {
|
|
305
|
+
"strategy": "root-path",
|
|
306
|
+
"paths": [
|
|
307
|
+
"config.content",
|
|
308
|
+
"content"
|
|
309
|
+
],
|
|
310
|
+
"allowIndex": false
|
|
311
|
+
},
|
|
256
312
|
"description": "Hosted editor component and serializable input envelope."
|
|
257
313
|
},
|
|
258
314
|
{
|
|
259
315
|
"kind": "diagnostics",
|
|
260
316
|
"resolver": "settings-panel-state-diagnostics",
|
|
317
|
+
"resolutionSpec": {
|
|
318
|
+
"strategy": "root-path",
|
|
319
|
+
"paths": [
|
|
320
|
+
"config.diagnostics",
|
|
321
|
+
"panel"
|
|
322
|
+
],
|
|
323
|
+
"allowIndex": false
|
|
324
|
+
},
|
|
261
325
|
"description": "Dirty, valid, busy, disabled reason and status message visibility."
|
|
262
326
|
}
|
|
263
327
|
],
|
|
@@ -270,6 +334,14 @@
|
|
|
270
334
|
"target": {
|
|
271
335
|
"kind": "panelShell",
|
|
272
336
|
"resolver": "settings-panel-config-root",
|
|
337
|
+
"resolutionSpec": {
|
|
338
|
+
"strategy": "root-path",
|
|
339
|
+
"paths": [
|
|
340
|
+
"config",
|
|
341
|
+
""
|
|
342
|
+
],
|
|
343
|
+
"allowIndex": false
|
|
344
|
+
},
|
|
273
345
|
"ambiguityPolicy": "fail",
|
|
274
346
|
"required": true
|
|
275
347
|
},
|
|
@@ -319,6 +391,14 @@
|
|
|
319
391
|
"target": {
|
|
320
392
|
"kind": "openMode",
|
|
321
393
|
"resolver": "settings-panel-open-mode",
|
|
394
|
+
"resolutionSpec": {
|
|
395
|
+
"strategy": "root-path",
|
|
396
|
+
"paths": [
|
|
397
|
+
"config",
|
|
398
|
+
""
|
|
399
|
+
],
|
|
400
|
+
"allowIndex": false
|
|
401
|
+
},
|
|
322
402
|
"ambiguityPolicy": "fail",
|
|
323
403
|
"required": false
|
|
324
404
|
},
|
|
@@ -366,6 +446,14 @@
|
|
|
366
446
|
"target": {
|
|
367
447
|
"kind": "panelSize",
|
|
368
448
|
"resolver": "settings-panel-size-and-resize",
|
|
449
|
+
"resolutionSpec": {
|
|
450
|
+
"strategy": "root-path",
|
|
451
|
+
"paths": [
|
|
452
|
+
"config",
|
|
453
|
+
"runtime.size"
|
|
454
|
+
],
|
|
455
|
+
"allowIndex": false
|
|
456
|
+
},
|
|
369
457
|
"ambiguityPolicy": "fail",
|
|
370
458
|
"required": false
|
|
371
459
|
},
|
|
@@ -489,6 +577,14 @@
|
|
|
489
577
|
"target": {
|
|
490
578
|
"kind": "applyBehavior",
|
|
491
579
|
"resolver": "settings-value-provider-apply-contract",
|
|
580
|
+
"resolutionSpec": {
|
|
581
|
+
"strategy": "root-path",
|
|
582
|
+
"paths": [
|
|
583
|
+
"provider",
|
|
584
|
+
"ref"
|
|
585
|
+
],
|
|
586
|
+
"allowIndex": false
|
|
587
|
+
},
|
|
492
588
|
"ambiguityPolicy": "fail",
|
|
493
589
|
"required": false
|
|
494
590
|
},
|
|
@@ -589,6 +685,14 @@
|
|
|
589
685
|
"target": {
|
|
590
686
|
"kind": "saveBehavior",
|
|
591
687
|
"resolver": "settings-value-provider-save-contract",
|
|
688
|
+
"resolutionSpec": {
|
|
689
|
+
"strategy": "root-path",
|
|
690
|
+
"paths": [
|
|
691
|
+
"provider",
|
|
692
|
+
"ref"
|
|
693
|
+
],
|
|
694
|
+
"allowIndex": false
|
|
695
|
+
},
|
|
592
696
|
"ambiguityPolicy": "fail",
|
|
593
697
|
"required": false
|
|
594
698
|
},
|
|
@@ -691,6 +795,14 @@
|
|
|
691
795
|
"target": {
|
|
692
796
|
"kind": "resetBehavior",
|
|
693
797
|
"resolver": "settings-value-provider-reset-contract",
|
|
798
|
+
"resolutionSpec": {
|
|
799
|
+
"strategy": "root-path",
|
|
800
|
+
"paths": [
|
|
801
|
+
"provider",
|
|
802
|
+
"ref"
|
|
803
|
+
],
|
|
804
|
+
"allowIndex": false
|
|
805
|
+
},
|
|
694
806
|
"ambiguityPolicy": "fail",
|
|
695
807
|
"required": false
|
|
696
808
|
},
|
|
@@ -781,6 +893,14 @@
|
|
|
781
893
|
"target": {
|
|
782
894
|
"kind": "editorHost",
|
|
783
895
|
"resolver": "settings-panel-editor-host",
|
|
896
|
+
"resolutionSpec": {
|
|
897
|
+
"strategy": "root-path",
|
|
898
|
+
"paths": [
|
|
899
|
+
"config.content",
|
|
900
|
+
"content"
|
|
901
|
+
],
|
|
902
|
+
"allowIndex": false
|
|
903
|
+
},
|
|
784
904
|
"ambiguityPolicy": "fail",
|
|
785
905
|
"required": true
|
|
786
906
|
},
|
|
@@ -885,6 +1005,14 @@
|
|
|
885
1005
|
"target": {
|
|
886
1006
|
"kind": "diagnostics",
|
|
887
1007
|
"resolver": "settings-panel-state-diagnostics",
|
|
1008
|
+
"resolutionSpec": {
|
|
1009
|
+
"strategy": "root-path",
|
|
1010
|
+
"paths": [
|
|
1011
|
+
"config.diagnostics",
|
|
1012
|
+
"panel"
|
|
1013
|
+
],
|
|
1014
|
+
"allowIndex": false
|
|
1015
|
+
},
|
|
888
1016
|
"ambiguityPolicy": "fail",
|
|
889
1017
|
"required": false
|
|
890
1018
|
},
|
|
@@ -1335,9 +1463,9 @@
|
|
|
1335
1463
|
{
|
|
1336
1464
|
"chunkIndex": 12,
|
|
1337
1465
|
"chunkKind": "authoring_manifest",
|
|
1338
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-settings-panel\",\"ownerPackage\":\"@praxisui/settings-panel\",\"configSchemaId\":\"SettingsPanelConfig\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"panelShell\",\"resolver\":\"settings-panel-config-root\",\"description\":\"Top-level shell identity and title fields owned by SettingsPanelConfig.\"},{\"kind\":\"openMode\",\"resolver\":\"settings-panel-open-mode\",\"description\":\"Initial expanded state, replacement mediation and close behavior for an authoring panel.\"},{\"kind\":\"panelSize\",\"resolver\":\"settings-panel-size-and-resize\",\"description\":\"Width, min/max width, resize enablement and persisted size key.\"},{\"kind\":\"applyBehavior\",\"resolver\":\"settings-value-provider-apply-contract\",\"description\":\"Apply availability and payload emission through getSettingsValue().\"},{\"kind\":\"saveBehavior\",\"resolver\":\"settings-value-provider-save-contract\",\"description\":\"Save availability, onSave fallback and close-after-save behavior.\"},{\"kind\":\"resetBehavior\",\"resolver\":\"settings-value-provider-reset-contract\",\"description\":\"Reset confirmation, provider reset hook and reset event emission.\"},{\"kind\":\"editorHost\",\"resolver\":\"settings-panel-editor-host\",\"description\":\"Hosted editor component and serializable input envelope.\"},{\"kind\":\"diagnostics\",\"resolver\":\"settings-panel-state-diagnostics\",\"description\":\"Dirty, valid, busy, disabled reason and status message visibility.\"}]}",
|
|
1466
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-settings-panel\",\"ownerPackage\":\"@praxisui/settings-panel\",\"configSchemaId\":\"SettingsPanelConfig\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"panelShell\",\"resolver\":\"settings-panel-config-root\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"\"],\"allowIndex\":false},\"description\":\"Top-level shell identity and title fields owned by SettingsPanelConfig.\"},{\"kind\":\"openMode\",\"resolver\":\"settings-panel-open-mode\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"\"],\"allowIndex\":false},\"description\":\"Initial expanded state, replacement mediation and close behavior for an authoring panel.\"},{\"kind\":\"panelSize\",\"resolver\":\"settings-panel-size-and-resize\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"runtime.size\"],\"allowIndex\":false},\"description\":\"Width, min/max width, resize enablement and persisted size key.\"},{\"kind\":\"applyBehavior\",\"resolver\":\"settings-value-provider-apply-contract\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"provider\",\"ref\"],\"allowIndex\":false},\"description\":\"Apply availability and payload emission through getSettingsValue().\"},{\"kind\":\"saveBehavior\",\"resolver\":\"settings-value-provider-save-contract\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"provider\",\"ref\"],\"allowIndex\":false},\"description\":\"Save availability, onSave fallback and close-after-save behavior.\"},{\"kind\":\"resetBehavior\",\"resolver\":\"settings-value-provider-reset-contract\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"provider\",\"ref\"],\"allowIndex\":false},\"description\":\"Reset confirmation, provider reset hook and reset event emission.\"},{\"kind\":\"editorHost\",\"resolver\":\"settings-panel-editor-host\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config.content\",\"content\"],\"allowIndex\":false},\"description\":\"Hosted editor component and serializable input envelope.\"},{\"kind\":\"diagnostics\",\"resolver\":\"settings-panel-state-diagnostics\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config.diagnostics\",\"panel\"],\"allowIndex\":false},\"description\":\"Dirty, valid, busy, disabled reason and status message visibility.\"}]}",
|
|
1339
1467
|
"sourcePointer": "projects/praxis-settings-panel/src/lib/ai/praxis-settings-panel-authoring-manifest.ts",
|
|
1340
|
-
"contentHash": "
|
|
1468
|
+
"contentHash": "9cc9114474254871e1f456efaae9790621df96ed0184b934ad0b40312077a469",
|
|
1341
1469
|
"sourceKind": "component_definition",
|
|
1342
1470
|
"sourceId": "praxis-settings-panel",
|
|
1343
1471
|
"corpusVersion": "1.0.0"
|
|
@@ -1345,9 +1473,9 @@
|
|
|
1345
1473
|
{
|
|
1346
1474
|
"chunkIndex": 13,
|
|
1347
1475
|
"chunkKind": "authoring_manifest",
|
|
1348
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-settings-panel\",\"ownerPackage\":\"@praxisui/settings-panel\",\"configSchemaId\":\"SettingsPanelConfig\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"panel.shell.configure\",\"title\":\"Configure panel shell identity\",\"scope\":\"global\",\"targetKind\":\"panelShell\",\"target\":{\"kind\":\"panelShell\",\"resolver\":\"settings-panel-config-root\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"titleIcon\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config\"}],\"validators\":[\"panel-id-stable\",\"title-i18n-compatible\",\"settings-panel-round-trip\"],\"affectedPaths\":[\"config.id\",\"config.title\",\"config.titleIcon\"],\"submissionImpact\":\"config-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"panel.openMode.set\",\"title\":\"Set panel open mode\",\"scope\":\"global\",\"targetKind\":\"openMode\",\"target\":{\"kind\":\"openMode\",\"resolver\":\"settings-panel-open-mode\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"expanded\":{\"type\":\"boolean\"},\"replacementPolicy\":{\"enum\":[\"consult-current-editor\",\"reject-when-dirty\",\"force-close-disallowed\"]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config\"}],\"validators\":[\"replacement-mediates-before-close\",\"settings-panel-round-trip\"],\"affectedPaths\":[\"config.expanded\"],\"submissionImpact\":\"config-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"panel.size.set\",\"title\":\"Set panel size and resize policy\",\"scope\":\"layout\",\"targetKind\":\"panelSize\",\"target\":{\"kind\":\"panelSize\",\"resolver\":\"settings-panel-size-and-resize\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"width\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"minWidth\":{\"type\":\"string\"},\"maxWidth\":{\"type\":\"string\"},\"resizable\":{\"type\":\"boolean\"},\"persistSizeKey\":{\"type\":\"string\"},\"expanded\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"settings-panel-size-set\",\"handlerContract\":{\"reads\":[\"SettingsPanelConfig\",\"SettingsPanelRef.sizeChanged$\",\"persistSizeKey\"],\"writes\":[\"config.minWidth\",\"config.maxWidth\",\"config.resizable\",\"config.persistSizeKey\",\"runtime.size\"],\"identityKeys\":[\"config.id\",\"persistSizeKey\"],\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"width\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"minWidth\":{\"type\":\"string\"},\"maxWidth\":{\"type\":\"string\"},\"resizable\":{\"type\":\"boolean\"},\"persistSizeKey\":{\"type\":\"string\"},\"expanded\":{\"type\":\"boolean\"}}},\"failureModes\":[\"invalid-css-size\",\"min-width-greater-than-max-width\",\"persist-size-key-missing-for-persistence\"],\"description\":\"Applies shell size configuration and open-panel width changes through SettingsPanelRef.updateSize without changing hosted editor config semantics.\"}}],\"validators\":[\"panel-size-safe\",\"panel-min-max-consistent\",\"resize-persistence-explicit\",\"settings-panel-round-trip\"],\"affectedPaths\":[\"config.minWidth\",\"config.maxWidth\",\"config.resizable\",\"config.persistSizeKey\",\"runtime.width\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"panel.applyBehavior.set\",\"title\":\"Set apply behavior\",\"scope\":\"interaction\",\"targetKind\":\"applyBehavior\",\"target\":{\"kind\":\"applyBehavior\",\"resolver\":\"settings-value-provider-apply-contract\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"requireDirty\":{\"type\":\"boolean\"},\"requireValid\":{\"type\":\"boolean\"},\"blockWhileBusy\":{\"type\":\"boolean\"},\"useProviderHook\":{\"type\":\"boolean\"},\"closeAfterSave\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"settings-panel-apply-behavior-set\",\"handlerContract\":{\"reads\":[\"SettingsValueProvider.isDirty$\",\"SettingsValueProvider.isValid$\",\"SettingsValueProvider.isBusy$\",\"SettingsValueProvider.getSettingsValue\"],\"writes\":[\"SettingsPanelRef.applied$\"],\"identityKeys\":[\"config.id\",\"provider.getSettingsValue\"],\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"requireDirty\":{\"type\":\"boolean\"},\"requireValid\":{\"type\":\"boolean\"},\"blockWhileBusy\":{\"type\":\"boolean\"},\"useProviderHook\":{\"type\":\"boolean\"},\"closeAfterSave\":{\"type\":\"boolean\"}}},\"failureModes\":[\"provider-missing-get-settings-value\",\"apply-while-invalid\",\"apply-while-busy\",\"apply-without-dirty-state\"],\"description\":\"Keeps Apply gated by dirty, valid and busy state and emits the provider value through SettingsPanelRef.applied$.\"}}],\"validators\":[\"apply-requires-provider-value\",\"dirty-valid-busy-gates-preserved\",\"apply-does-not-close-panel\",\"settings-panel-round-trip\"],\"affectedPaths\":[\"provider.isDirty$\",\"provider.isValid$\",\"provider.isBusy$\",\"ref.applied$\"],\"submissionImpact\":\"none\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"settings-value-provider-attached\"]},{\"operationId\":\"panel.saveBehavior.set\",\"title\":\"Set save behavior\",\"scope\":\"interaction\",\"targetKind\":\"saveBehavior\",\"target\":{\"kind\":\"saveBehavior\",\"resolver\":\"settings-value-provider-save-contract\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"requireDirty\":{\"type\":\"boolean\"},\"requireValid\":{\"type\":\"boolean\"},\"blockWhileBusy\":{\"type\":\"boolean\"},\"useProviderHook\":{\"type\":\"boolean\"},\"closeAfterSave\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"settings-panel-save-behavior-set\",\"handlerContract\":{\"reads\":[\"SettingsValueProvider.onSave\",\"SettingsValueProvider.getSettingsValue\",\"SettingsValueProvider.isDirty$\",\"SettingsValueProvider.isValid$\",\"SettingsValueProvider.isBusy$\"],\"writes\":[\"SettingsPanelRef.saved$\",\"SettingsPanelRef.closed$\"],\"identityKeys\":[\"config.id\",\"provider.onSave\"],\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"requireDirty\":{\"type\":\"boolean\"},\"requireValid\":{\"type\":\"boolean\"},\"blockWhileBusy\":{\"type\":\"boolean\"},\"useProviderHook\":{\"type\":\"boolean\"},\"closeAfterSave\":{\"type\":\"boolean\"}}},\"failureModes\":[\"save-while-invalid\",\"save-while-busy\",\"save-result-undefined\",\"provider-save-rejected\"],\"description\":\"Save requires a dirty draft or changes already applied in the open panel, plus valid and non-busy state. It obtains a fresh value through onSave or getSettingsValue and closes with reason save; it never replays a cached Apply payload.\"}}],\"validators\":[\"save-prefers-provider-hook\",\"save-fallback-value-preserved\",\"save-closes-with-save-reason\",\"dirty-valid-busy-gates-preserved\"],\"affectedPaths\":[\"provider.onSave\",\"provider.getSettingsValue\",\"ref.saved$\",\"ref.closed$\"],\"submissionImpact\":\"config-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"settings-value-provider-attached\"]}]}",
|
|
1476
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-settings-panel\",\"ownerPackage\":\"@praxisui/settings-panel\",\"configSchemaId\":\"SettingsPanelConfig\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"panel.shell.configure\",\"title\":\"Configure panel shell identity\",\"scope\":\"global\",\"targetKind\":\"panelShell\",\"target\":{\"kind\":\"panelShell\",\"resolver\":\"settings-panel-config-root\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"titleIcon\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config\"}],\"validators\":[\"panel-id-stable\",\"title-i18n-compatible\",\"settings-panel-round-trip\"],\"affectedPaths\":[\"config.id\",\"config.title\",\"config.titleIcon\"],\"submissionImpact\":\"config-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"panel.openMode.set\",\"title\":\"Set panel open mode\",\"scope\":\"global\",\"targetKind\":\"openMode\",\"target\":{\"kind\":\"openMode\",\"resolver\":\"settings-panel-open-mode\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"expanded\":{\"type\":\"boolean\"},\"replacementPolicy\":{\"enum\":[\"consult-current-editor\",\"reject-when-dirty\",\"force-close-disallowed\"]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config\"}],\"validators\":[\"replacement-mediates-before-close\",\"settings-panel-round-trip\"],\"affectedPaths\":[\"config.expanded\"],\"submissionImpact\":\"config-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"panel.size.set\",\"title\":\"Set panel size and resize policy\",\"scope\":\"layout\",\"targetKind\":\"panelSize\",\"target\":{\"kind\":\"panelSize\",\"resolver\":\"settings-panel-size-and-resize\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config\",\"runtime.size\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"width\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"minWidth\":{\"type\":\"string\"},\"maxWidth\":{\"type\":\"string\"},\"resizable\":{\"type\":\"boolean\"},\"persistSizeKey\":{\"type\":\"string\"},\"expanded\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"settings-panel-size-set\",\"handlerContract\":{\"reads\":[\"SettingsPanelConfig\",\"SettingsPanelRef.sizeChanged$\",\"persistSizeKey\"],\"writes\":[\"config.minWidth\",\"config.maxWidth\",\"config.resizable\",\"config.persistSizeKey\",\"runtime.size\"],\"identityKeys\":[\"config.id\",\"persistSizeKey\"],\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"width\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"number\"}]},\"minWidth\":{\"type\":\"string\"},\"maxWidth\":{\"type\":\"string\"},\"resizable\":{\"type\":\"boolean\"},\"persistSizeKey\":{\"type\":\"string\"},\"expanded\":{\"type\":\"boolean\"}}},\"failureModes\":[\"invalid-css-size\",\"min-width-greater-than-max-width\",\"persist-size-key-missing-for-persistence\"],\"description\":\"Applies shell size configuration and open-panel width changes through SettingsPanelRef.updateSize without changing hosted editor config semantics.\"}}],\"validators\":[\"panel-size-safe\",\"panel-min-max-consistent\",\"resize-persistence-explicit\",\"settings-panel-round-trip\"],\"affectedPaths\":[\"config.minWidth\",\"config.maxWidth\",\"config.resizable\",\"config.persistSizeKey\",\"runtime.width\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"panel.applyBehavior.set\",\"title\":\"Set apply behavior\",\"scope\":\"interaction\",\"targetKind\":\"applyBehavior\",\"target\":{\"kind\":\"applyBehavior\",\"resolver\":\"settings-value-provider-apply-contract\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"provider\",\"ref\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"requireDirty\":{\"type\":\"boolean\"},\"requireValid\":{\"type\":\"boolean\"},\"blockWhileBusy\":{\"type\":\"boolean\"},\"useProviderHook\":{\"type\":\"boolean\"},\"closeAfterSave\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"settings-panel-apply-behavior-set\",\"handlerContract\":{\"reads\":[\"SettingsValueProvider.isDirty$\",\"SettingsValueProvider.isValid$\",\"SettingsValueProvider.isBusy$\",\"SettingsValueProvider.getSettingsValue\"],\"writes\":[\"SettingsPanelRef.applied$\"],\"identityKeys\":[\"config.id\",\"provider.getSettingsValue\"],\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"requireDirty\":{\"type\":\"boolean\"},\"requireValid\":{\"type\":\"boolean\"},\"blockWhileBusy\":{\"type\":\"boolean\"},\"useProviderHook\":{\"type\":\"boolean\"},\"closeAfterSave\":{\"type\":\"boolean\"}}},\"failureModes\":[\"provider-missing-get-settings-value\",\"apply-while-invalid\",\"apply-while-busy\",\"apply-without-dirty-state\"],\"description\":\"Keeps Apply gated by dirty, valid and busy state and emits the provider value through SettingsPanelRef.applied$.\"}}],\"validators\":[\"apply-requires-provider-value\",\"dirty-valid-busy-gates-preserved\",\"apply-does-not-close-panel\",\"settings-panel-round-trip\"],\"affectedPaths\":[\"provider.isDirty$\",\"provider.isValid$\",\"provider.isBusy$\",\"ref.applied$\"],\"submissionImpact\":\"none\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"settings-value-provider-attached\"]},{\"operationId\":\"panel.saveBehavior.set\",\"title\":\"Set save behavior\",\"scope\":\"interaction\",\"targetKind\":\"saveBehavior\",\"target\":{\"kind\":\"saveBehavior\",\"resolver\":\"settings-value-provider-save-contract\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"provider\",\"ref\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"requireDirty\":{\"type\":\"boolean\"},\"requireValid\":{\"type\":\"boolean\"},\"blockWhileBusy\":{\"type\":\"boolean\"},\"useProviderHook\":{\"type\":\"boolean\"},\"closeAfterSave\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"settings-panel-save-behavior-set\",\"handlerContract\":{\"reads\":[\"SettingsValueProvider.onSave\",\"SettingsValueProvider.getSettingsValue\",\"SettingsValueProvider.isDirty$\",\"SettingsValueProvider.isValid$\",\"SettingsValueProvider.isBusy$\"],\"writes\":[\"SettingsPanelRef.saved$\",\"SettingsPanelRef.closed$\"],\"identityKeys\":[\"config.id\",\"provider.onSave\"],\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"requireDirty\":{\"type\":\"boolean\"},\"requireValid\":{\"type\":\"boolean\"},\"blockWhileBusy\":{\"type\":\"boolean\"},\"useProviderHook\":{\"type\":\"boolean\"},\"closeAfterSave\":{\"type\":\"boolean\"}}},\"failureModes\":[\"save-while-invalid\",\"save-while-busy\",\"save-result-undefined\",\"provider-save-rejected\"],\"description\":\"Save requires a dirty draft or changes already applied in the open panel, plus valid and non-busy state. It obtains a fresh value through onSave or getSettingsValue and closes with reason save; it never replays a cached Apply payload.\"}}],\"validators\":[\"save-prefers-provider-hook\",\"save-fallback-value-preserved\",\"save-closes-with-save-reason\",\"dirty-valid-busy-gates-preserved\"],\"affectedPaths\":[\"provider.onSave\",\"provider.getSettingsValue\",\"ref.saved$\",\"ref.closed$\"],\"submissionImpact\":\"config-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"settings-value-provider-attached\"]}]}",
|
|
1349
1477
|
"sourcePointer": "projects/praxis-settings-panel/src/lib/ai/praxis-settings-panel-authoring-manifest.ts",
|
|
1350
|
-
"contentHash": "
|
|
1478
|
+
"contentHash": "3e052a18f43c76b71ea2044d5ae0b13887e89326cb2d2c27025169bb618b0840",
|
|
1351
1479
|
"sourceKind": "component_definition",
|
|
1352
1480
|
"sourceId": "praxis-settings-panel",
|
|
1353
1481
|
"corpusVersion": "1.0.0"
|
|
@@ -1355,9 +1483,9 @@
|
|
|
1355
1483
|
{
|
|
1356
1484
|
"chunkIndex": 14,
|
|
1357
1485
|
"chunkKind": "authoring_manifest",
|
|
1358
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-settings-panel\",\"ownerPackage\":\"@praxisui/settings-panel\",\"configSchemaId\":\"SettingsPanelConfig\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"panel.resetBehavior.set\",\"title\":\"Set reset behavior\",\"scope\":\"interaction\",\"targetKind\":\"resetBehavior\",\"target\":{\"kind\":\"resetBehavior\",\"resolver\":\"settings-value-provider-reset-contract\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"requireConfirmation\":{\"type\":\"boolean\"},\"callProviderReset\":{\"type\":\"boolean\"},\"emitResetEvent\":{\"type\":\"boolean\"},\"clearSavedStatus\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"settings-panel-reset-behavior-set\",\"handlerContract\":{\"reads\":[\"SettingsValueProvider.reset\",\"SettingsPanelRef.reset$\",\"ConfirmDialogComponent\"],\"writes\":[\"provider.reset()\",\"SettingsPanelRef.reset$\",\"panel.lastSavedAt\"],\"identityKeys\":[\"config.id\",\"provider.reset\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"requireConfirmation\":{\"type\":\"boolean\"},\"callProviderReset\":{\"type\":\"boolean\"},\"emitResetEvent\":{\"type\":\"boolean\"}}},\"failureModes\":[\"reset-confirmation-missing\",\"provider-reset-failed\",\"reset-event-not-emitted\"],\"description\":\"Preserves Reset as a confirmed shell action that calls the provider reset hook and emits SettingsPanelRef.reset$.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"reset-requires-confirmation\",\"reset-calls-provider-reset\",\"reset-event-emitted\",\"settings-panel-round-trip\"],\"affectedPaths\":[\"provider.reset\",\"ref.reset$\",\"panel.lastSavedAt\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"settings-value-provider-attached\",\"confirmation-collected\"]},{\"operationId\":\"editor.host.configure\",\"title\":\"Configure hosted editor\",\"scope\":\"templating\",\"targetKind\":\"editorHost\",\"target\":{\"kind\":\"editorHost\",\"resolver\":\"settings-panel-editor-host\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"componentId\"],\"properties\":{\"componentId\":{\"type\":\"string\"},\"inputs\":{\"type\":\"object\"},\"configManifestComponentId\":{\"type\":\"string\"},\"editorContract\":{\"enum\":[\"SettingsValueProvider\"]}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"settings-panel-editor-host-configure\",\"handlerContract\":{\"reads\":[\"ComponentMetadataRegistry\",\"SettingsPanelConfig.content\",\"SettingsValueProvider\",\"component.authoringManifest\"],\"writes\":[\"config.content.component\",\"config.content.inputs\",\"delegatedConsumerPatch\"],\"identityKeys\":[\"componentId\",\"configManifestComponentId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"componentId\"],\"properties\":{\"componentId\":{\"type\":\"string\"},\"inputs\":{\"type\":\"object\"},\"configManifestComponentId\":{\"type\":\"string\"},\"editorContract\":{\"enum\":[\"SettingsValueProvider\"]}}},\"failureModes\":[\"editor-component-not-registered\",\"settings-value-provider-missing\",\"consumer-manifest-required\",\"consumer-config-boundary-violation\"],\"description\":\"Configures the hosted editor component and input envelope while delegating consumer-specific config edits to the owning component manifest.\"}}],\"validators\":[\"editor-component-registered\",\"settings-value-provider-contract-present\",\"consumer-config-delegated\",\"editor-inputs-serializable\",\"child-panel-isolates-parent-interaction\"],\"affectedPaths\":[\"config.content.component\",\"config.content.inputs\",\"delegatedConsumerPatch\"],\"submissionImpact\":\"config-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"component-metadata-resolved\"]},{\"operationId\":\"diagnostics.visibility.set\",\"title\":\"Set panel diagnostics visibility\",\"scope\":\"interaction\",\"targetKind\":\"diagnostics\",\"target\":{\"kind\":\"diagnostics\",\"resolver\":\"settings-panel-state-diagnostics\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"showStatusMessage\":{\"type\":\"boolean\"},\"showDisabledReason\":{\"type\":\"boolean\"},\"showBusyState\":{\"type\":\"boolean\"},\"exposeValidationState\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config.diagnostics\"}],\"validators\":[\"diagnostics-follow-provider-state\",\"diagnostics-i18n-compatible\",\"busy-valid-dirty-visible-when-needed\",\"settings-panel-round-trip\"],\"affectedPaths\":[\"config.diagnostics.showStatusMessage\",\"config.diagnostics.showDisabledReason\",\"config.diagnostics.showBusyState\",\"config.diagnostics.exposeValidationState\",\"panel.statusMessage\",\"panel.disabledReason\",\"panel.isDirty\",\"panel.isValid\",\"panel.isBusy\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"settings-value-provider-attached\"]}]}",
|
|
1486
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-settings-panel\",\"ownerPackage\":\"@praxisui/settings-panel\",\"configSchemaId\":\"SettingsPanelConfig\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"panel.resetBehavior.set\",\"title\":\"Set reset behavior\",\"scope\":\"interaction\",\"targetKind\":\"resetBehavior\",\"target\":{\"kind\":\"resetBehavior\",\"resolver\":\"settings-value-provider-reset-contract\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"provider\",\"ref\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"requireConfirmation\":{\"type\":\"boolean\"},\"callProviderReset\":{\"type\":\"boolean\"},\"emitResetEvent\":{\"type\":\"boolean\"},\"clearSavedStatus\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"settings-panel-reset-behavior-set\",\"handlerContract\":{\"reads\":[\"SettingsValueProvider.reset\",\"SettingsPanelRef.reset$\",\"ConfirmDialogComponent\"],\"writes\":[\"provider.reset()\",\"SettingsPanelRef.reset$\",\"panel.lastSavedAt\"],\"identityKeys\":[\"config.id\",\"provider.reset\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"requireConfirmation\":{\"type\":\"boolean\"},\"callProviderReset\":{\"type\":\"boolean\"},\"emitResetEvent\":{\"type\":\"boolean\"}}},\"failureModes\":[\"reset-confirmation-missing\",\"provider-reset-failed\",\"reset-event-not-emitted\"],\"description\":\"Preserves Reset as a confirmed shell action that calls the provider reset hook and emits SettingsPanelRef.reset$.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"reset-requires-confirmation\",\"reset-calls-provider-reset\",\"reset-event-emitted\",\"settings-panel-round-trip\"],\"affectedPaths\":[\"provider.reset\",\"ref.reset$\",\"panel.lastSavedAt\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"settings-value-provider-attached\",\"confirmation-collected\"]},{\"operationId\":\"editor.host.configure\",\"title\":\"Configure hosted editor\",\"scope\":\"templating\",\"targetKind\":\"editorHost\",\"target\":{\"kind\":\"editorHost\",\"resolver\":\"settings-panel-editor-host\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config.content\",\"content\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"componentId\"],\"properties\":{\"componentId\":{\"type\":\"string\"},\"inputs\":{\"type\":\"object\"},\"configManifestComponentId\":{\"type\":\"string\"},\"editorContract\":{\"enum\":[\"SettingsValueProvider\"]}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"settings-panel-editor-host-configure\",\"handlerContract\":{\"reads\":[\"ComponentMetadataRegistry\",\"SettingsPanelConfig.content\",\"SettingsValueProvider\",\"component.authoringManifest\"],\"writes\":[\"config.content.component\",\"config.content.inputs\",\"delegatedConsumerPatch\"],\"identityKeys\":[\"componentId\",\"configManifestComponentId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"componentId\"],\"properties\":{\"componentId\":{\"type\":\"string\"},\"inputs\":{\"type\":\"object\"},\"configManifestComponentId\":{\"type\":\"string\"},\"editorContract\":{\"enum\":[\"SettingsValueProvider\"]}}},\"failureModes\":[\"editor-component-not-registered\",\"settings-value-provider-missing\",\"consumer-manifest-required\",\"consumer-config-boundary-violation\"],\"description\":\"Configures the hosted editor component and input envelope while delegating consumer-specific config edits to the owning component manifest.\"}}],\"validators\":[\"editor-component-registered\",\"settings-value-provider-contract-present\",\"consumer-config-delegated\",\"editor-inputs-serializable\",\"child-panel-isolates-parent-interaction\"],\"affectedPaths\":[\"config.content.component\",\"config.content.inputs\",\"delegatedConsumerPatch\"],\"submissionImpact\":\"config-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"component-metadata-resolved\"]},{\"operationId\":\"diagnostics.visibility.set\",\"title\":\"Set panel diagnostics visibility\",\"scope\":\"interaction\",\"targetKind\":\"diagnostics\",\"target\":{\"kind\":\"diagnostics\",\"resolver\":\"settings-panel-state-diagnostics\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"config.diagnostics\",\"panel\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"showStatusMessage\":{\"type\":\"boolean\"},\"showDisabledReason\":{\"type\":\"boolean\"},\"showBusyState\":{\"type\":\"boolean\"},\"exposeValidationState\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"config.diagnostics\"}],\"validators\":[\"diagnostics-follow-provider-state\",\"diagnostics-i18n-compatible\",\"busy-valid-dirty-visible-when-needed\",\"settings-panel-round-trip\"],\"affectedPaths\":[\"config.diagnostics.showStatusMessage\",\"config.diagnostics.showDisabledReason\",\"config.diagnostics.showBusyState\",\"config.diagnostics.exposeValidationState\",\"panel.statusMessage\",\"panel.disabledReason\",\"panel.isDirty\",\"panel.isValid\",\"panel.isBusy\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"settings-value-provider-attached\"]}]}",
|
|
1359
1487
|
"sourcePointer": "projects/praxis-settings-panel/src/lib/ai/praxis-settings-panel-authoring-manifest.ts",
|
|
1360
|
-
"contentHash": "
|
|
1488
|
+
"contentHash": "cd9f78f1035ddff78e9d7fb2ec85df01f754a024aca592d49776b39a09342303",
|
|
1361
1489
|
"sourceKind": "component_definition",
|
|
1362
1490
|
"sourceId": "praxis-settings-panel",
|
|
1363
1491
|
"corpusVersion": "1.0.0"
|