@praxisui/crud 10.0.0-rc.6 → 10.0.0-rc.60
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 +160 -10
- package/ai/component-registry.json +3463 -261
- package/fesm2022/praxisui-crud-crud-route-form.component-C13OzhOs.mjs +72 -0
- package/fesm2022/praxisui-crud-praxisui-crud-BzH-kq3N.mjs +31780 -0
- package/fesm2022/praxisui-crud.mjs +2 -9426
- package/package.json +8 -7
- package/types/praxisui-crud-drawer-adapter.d.ts +16 -1
- package/types/praxisui-crud.d.ts +1648 -50
package/README.md
CHANGED
|
@@ -4,6 +4,16 @@ CRUD shell for Praxis UI applications.
|
|
|
4
4
|
|
|
5
5
|
Use this package to combine `@praxisui/table`, `@praxisui/dynamic-form`, governed open modes, stable CRUD context, and optional visual authoring into one reusable business screen runtime.
|
|
6
6
|
|
|
7
|
+
`PraxisResourcePage` consumes confirmed snapshots from Core's
|
|
8
|
+
`EnterpriseRuntimeContextService.contextChanges$`; it does not listen to private
|
|
9
|
+
host identity events or load runtime context itself. Initial bootstrap and
|
|
10
|
+
unchanged snapshots retain the child CRUD. Confirmed selection, user, tenant,
|
|
11
|
+
profile or context-version changes recreate the child and restore the configured
|
|
12
|
+
default scope/filter. Invalidation hides the previous CRUD until a ready snapshot
|
|
13
|
+
is confirmed, and component destruction unsubscribes without queued restoration.
|
|
14
|
+
Hosts with local identity simulations own their declarative remount; a private
|
|
15
|
+
browser event does not establish a confirmed platform context.
|
|
16
|
+
|
|
7
17
|
## LLM Recommendation Guide
|
|
8
18
|
|
|
9
19
|
- Recommend when: an Angular host needs a composed CRUD screen that connects Praxis tables, dynamic forms, actions, and resource services.
|
|
@@ -146,6 +156,7 @@ It emits:
|
|
|
146
156
|
- `configureRequested`
|
|
147
157
|
- `afterOpen`, `afterClose`, `afterSave`, `afterDelete`
|
|
148
158
|
- `reactiveDeterminationExecuted` (metadata-only evidence with action context), `reactiveDeterminationPendingChange`, and `reactiveDeterminationStabilityChange`. The aggregate stability output preserves `action` and distinguishes `pending`, `settled-satisfied`, and `settled-unsatisfied`; “settled” alone is never a success signal.
|
|
159
|
+
- `formStepTelemetry` (`CrudFormStepTelemetryEvent`: `{ action, openMode, event: FormStepTelemetryEvent }`), forwarding metadata-only step transitions (`next`, `previous`, `header`, `review-edit`, `validation-recovery`, `http-422-recovery`, `draft-restored`) from the hosted Dynamic Form across `modal`, `drawer`, nested `surfaceRuntime` frame, and seeded `route` handoffs without exposing field values.
|
|
149
160
|
- `error`
|
|
150
161
|
- `resourceEvent` is the canonical output for governed host composition and preserves `kind`, `resourcePath`, `resourceId`, `payload` and runtime context from the internal table. The legacy `rowClick`, `rowAction` and `selectionChange` outputs remain available; `rowAction` preserves the table envelope (`row`, `action`, `resourceIdentity`) without forcing visual row selection.
|
|
151
162
|
- `tableRuntimeConfigChange`
|
|
@@ -162,7 +173,7 @@ ignored. Use only `metadata.data` for a local-data preview.
|
|
|
162
173
|
|
|
163
174
|
The component keeps `crudContext` stable for change detection and refreshes the table after successful save/delete flows.
|
|
164
175
|
|
|
165
|
-
Built-in modal, drawer and nested surface-frame form hosts do not close or complete save while a child Reactive Determination is pending or when its latest generation settled unsatisfied; cancel waits for bounded successful stabilization and stays open on timeout/failure. A custom `CrudDrawerAdapter` must bind `onReactiveDetermination`, `onReactiveDeterminationPendingChange`, and `
|
|
176
|
+
Built-in modal, drawer and nested surface-frame form hosts do not close or complete save while a child Reactive Determination is pending or when its latest generation settled unsatisfied; cancel waits for bounded successful stabilization and stays open on timeout/failure. When `config.behavior.draftPersistence === true` in `mode='create'`, dirty cancel/close confirmation (`canLeaveForm()` / `onCancel()`) informs the operator that the session draft remains saved locally (`crud.dialog.leaveWithDraft*`, `"Sair e manter rascunho"`) and flushes any debounced keystrokes via `flushSessionDraft()` before closing so the draft can be resumed on the next `create` open. A custom `CrudDrawerAdapter` must bind `onReactiveDetermination`, `onReactiveDeterminationPendingChange`, `onReactiveDeterminationStabilityChange`, and `onStepTelemetry`, use the child Dynamic Form stability API, and refuse every adapter-owned close/submit while pending or unsatisfied. These callbacks are runtime-only and must never be persisted in CRUD metadata.
|
|
166
177
|
|
|
167
178
|
## Metadata Boundaries
|
|
168
179
|
|
|
@@ -282,6 +293,14 @@ drawer adapters receive the same `resourceIdentity` context and the
|
|
|
282
293
|
`showResourceIdentityKey` presentation preference. They must keep the identity
|
|
283
294
|
outside form inputs and retain responsibility for presenting its readable title.
|
|
284
295
|
|
|
296
|
+
For read-only overlays (`DynamicFormDialogHostComponent`), `action: 'view'` defaults
|
|
297
|
+
to `presentationModeGlobal = true` (Presentation/Dossier mode) for backward compatibility,
|
|
298
|
+
while setting `action.form.presentationModeGlobal = false` keeps blocked input fields.
|
|
299
|
+
Actions using `'presentation'` or `'dossier'` also retain read-only behavior (suppressing
|
|
300
|
+
submit actions and preserving `resourceIdentity`), and `action.form.presentationPreset` /
|
|
301
|
+
`action.form.presentation` forward preset and 3-tier density (`'comfortable' | 'cozy' | 'compact'`)
|
|
302
|
+
without leaking into `initialValue`.
|
|
303
|
+
|
|
285
304
|
Related operations also receive `contextIdentity` when the governed surface
|
|
286
305
|
publishes `context.operation.taskScope`. The default host labels it as “Related
|
|
287
306
|
to” and keeps it distinct from the current child record. Both identities stay
|
|
@@ -301,8 +320,7 @@ into CRUD metadata or `x-ui`.
|
|
|
301
320
|
boundary for components hosted in a runtime frame. Hosts should not manufacture
|
|
302
321
|
an equivalent local token or pass the drawer reference through form values.
|
|
303
322
|
|
|
304
|
-
|
|
305
|
-
destination component. Routed edit hosts must load the entity through the
|
|
323
|
+
Routed edit/view hosts own their destination component and load the entity through the
|
|
306
324
|
canonical read contract and materialize identity from its response schema. Do
|
|
307
325
|
not serialize `resourceIdentity` into query parameters or treat transient
|
|
308
326
|
navigation state as reload-safe identity evidence.
|
|
@@ -323,17 +341,112 @@ guided states without host CSS or a parallel empty-state component.
|
|
|
323
341
|
|
|
324
342
|
`PraxisCrudComponent` recognizes the canonical optional `duplicate-draft`
|
|
325
343
|
operation published by `praxis-metadata-starter`. When a selected row exposes
|
|
326
|
-
`_links['duplicate-draft']
|
|
344
|
+
`_links['duplicate-draft']` (and is not denied by runtime availability), the runtime:
|
|
327
345
|
|
|
328
|
-
1. invokes the non-mutating draft endpoint;
|
|
329
|
-
2. unwraps the returned draft DTO;
|
|
330
|
-
3. opens the canonical `create` form with that DTO as `initialValue
|
|
331
|
-
4.
|
|
346
|
+
1. invokes the non-mutating `POST /{resource}/{id}/duplicate-draft` endpoint;
|
|
347
|
+
2. unwraps the returned draft DTO (`RestApiResponse.data`);
|
|
348
|
+
3. opens the canonical `create` form (`mode='create'`) with that DTO as `initialValue`, contextual copy dialog/submit labels (`crud.duplicate.dialogTitleWithSource` / `crud.duplicate.dialogTitleFallback`), `contextIdentity` set to the source record identity (`resourceIdentity` stays unset because a new record is being created), and `focusOrigin` preserved for focus restoration;
|
|
349
|
+
4. in `openMode='route'`, hands off the create seed through `@praxisui/crud`'s `CrudRouteFormHandoffService` (`NavigationExtras.info` opaque marker claimed once by `createCrudFormRoute` / `CrudRouteFormComponent`, scoped by `resourcePath`, `formId`, and route URL, with `canDeactivate` dirty-exit guard and `crud.route.unavailable` status when reloaded without a fresh handoff) without serializing personal or domain fields into URL query parameters, `history.state`, or persistent storage;
|
|
350
|
+
5. refreshes the table only after the user saves the new record via `POST /{resource}`.
|
|
332
351
|
|
|
333
352
|
The host does not need to call `HttpClient`, rebuild create schema URLs, or own
|
|
334
|
-
a second launcher. Absence of the HATEOAS link keeps the operation unavailable;
|
|
353
|
+
a second launcher. Absence of the HATEOAS link or an explicit `allowed: false` availability decision keeps the operation unavailable;
|
|
335
354
|
the runtime does not infer permission from labels, tags, or frontend flags.
|
|
336
355
|
|
|
356
|
+
For a seeded route destination, register the CRUD-owned form host in the host's
|
|
357
|
+
Angular routes and use its URL in the create action:
|
|
358
|
+
|
|
359
|
+
```ts
|
|
360
|
+
import { createCrudFormRoute } from '@praxisui/crud';
|
|
361
|
+
|
|
362
|
+
export const routes = [
|
|
363
|
+
createCrudFormRoute({
|
|
364
|
+
path: 'employees/copy',
|
|
365
|
+
formId: 'employees-create',
|
|
366
|
+
resourcePath: 'employees',
|
|
367
|
+
}),
|
|
368
|
+
];
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
`formId` and `resourcePath` must match the create action and resource. The seed is
|
|
372
|
+
claimed once during that navigation. Reload, back or direct access without a new
|
|
373
|
+
handoff shows an unavailable state; a custom `RouteReuseStrategy` must not cache
|
|
374
|
+
this destination. Ordinary unseeded form routes keep their existing host flow.
|
|
375
|
+
Modal/drawer restore focus to the surviving launch control; route navigation
|
|
376
|
+
destroys that control and focuses the destination heading.
|
|
377
|
+
|
|
378
|
+
Custom drawer adapters receive an optional `AbortSignal` and must honor it to
|
|
379
|
+
cancel their own asynchronous opening. For `surfaceRuntime.push`, CRUD closes an
|
|
380
|
+
obsolete frame as soon as its reference resolves; it cannot cancel an external
|
|
381
|
+
pending push before a reference exists.
|
|
382
|
+
|
|
383
|
+
The backend owns the copied/cleared field policy. CRUD clones the returned DTO,
|
|
384
|
+
uses the CREATE request schema and preserves an explicit create seed over saved
|
|
385
|
+
overrides. An object seed, including `{}`, suppresses omitted schema/config
|
|
386
|
+
defaults in Dynamic Form, including metadata rebuilds; `false` and `null` remain
|
|
387
|
+
values. Compatible edits survive rebuilds. Ordinary create without an object
|
|
388
|
+
seed keeps defaults. Submit remains POST; cancel/discard sends no create request.
|
|
389
|
+
An unavailable link, denial, preparation error or invalid response never opens an
|
|
390
|
+
empty copy or retries through generic workflow discovery. Links and runtime
|
|
391
|
+
denials are checked again after preparation to reject obsolete results.
|
|
392
|
+
|
|
393
|
+
`createCrudFormRoute` is an additive public helper for seeded create; hosts must
|
|
394
|
+
adopt it for that route. The handoff service and marker are private CRUD runtime,
|
|
395
|
+
not a Form/Core global slot or saved authoring document. They bind the transfer
|
|
396
|
+
to navigation, final URL, resource, form and context. After claim, the destination
|
|
397
|
+
owns its context/lifetime; a normal source teardown after successful guards is
|
|
398
|
+
allowed. Redirects, rejection, cancellation and obsolete context release the
|
|
399
|
+
payload. Explicit `enableCustomization=false`/`true` survives the private handoff;
|
|
400
|
+
absence alone selects the form host's global fallback.
|
|
401
|
+
|
|
402
|
+
Copy title, guidance and submit use CRUD i18n. Domain labels stay host-owned.
|
|
403
|
+
This does not imply complete Form localization: its generated section fallback
|
|
404
|
+
“Informações” in `dynamic-form-layout.service.ts` is an existing runtime i18n gap.
|
|
405
|
+
|
|
406
|
+
## Governed Two-Phase Bulk Operations
|
|
407
|
+
|
|
408
|
+
`PraxisCrudComponent` discovers governed two-phase bulk operations published by
|
|
409
|
+
`praxis-metadata-starter` on collection capabilities (`actions[].execution.bulk`
|
|
410
|
+
for `DOMAIN_COMMAND` and `operations['bulk-update'].bulk` for `UNIFORM_UPDATE`)
|
|
411
|
+
and materializes them in the contextual bulk selection toolbar:
|
|
412
|
+
|
|
413
|
+
1. **Pre-evaluation gates**: validates `limits.maxTargets` before evaluation and
|
|
414
|
+
resolves `expectedVersion` (`ETag`) via `_links.self` only when
|
|
415
|
+
`preconditions.resourceVersion === 'REQUIRED'`.
|
|
416
|
+
2. **Phase 1 — Immutable Proposal (`PraxisBulkOperationDialogComponent` / `PraxisBulkEditDialogComponent`)**:
|
|
417
|
+
hydrates command parameters (unwrapping `/properties/parameters` and OpenAPI
|
|
418
|
+
`$ref` definitions with a resource-and-action-scoped `formId`) or
|
|
419
|
+
`@BulkEditable` fields (`SET` / `CLEAR`), submits the evaluation request, and
|
|
420
|
+
renders target eligibility totals (`executable`, `blocked`) and per-item
|
|
421
|
+
diagnostics.
|
|
422
|
+
3. **Phase 2 — Transactional Confirmation & Reconciliation**: confirms the
|
|
423
|
+
approved `proposalId` with an `Idempotency-Key`, polls asynchronous
|
|
424
|
+
executions until terminal state (`COMPLETED`, `COMPLETED_WITH_ERRORS`,
|
|
425
|
+
`CANCELLED`, `STOPPED`, `RECONCILIATION_REQUIRED`), aggregates all rejection
|
|
426
|
+
categories (`denied`, `invalid`, `conflict`, `notProcessed`, `unknown`),
|
|
427
|
+
clears table selection on full success or deselects only confirmed items on
|
|
428
|
+
partial outcomes so rejected/unprocessed rows remain selected across
|
|
429
|
+
`persistOnDataUpdate: true` table refreshes, and re-fetches capabilities
|
|
430
|
+
when `refresh.capabilities === true`.
|
|
431
|
+
|
|
432
|
+
`CANCEL_REQUESTED` stays pending: requesting cancellation does not imply that the
|
|
433
|
+
server finished. The dialogs keep one execution-tracking subscription, prevent
|
|
434
|
+
duplicate cancellation and accept final results only from canonical terminal
|
|
435
|
+
snapshots. Once terminal, late polling or cancellation callbacks cannot downgrade
|
|
436
|
+
the result. Terminal status is not proof of full success; partial totals and
|
|
437
|
+
reconciliation diagnostics remain visible.
|
|
438
|
+
|
|
439
|
+
If tracking fails or expires, the dialogs show an unknown outcome rather than a
|
|
440
|
+
completed result: server effects may already exist. The explicit resume action
|
|
441
|
+
only reads the same execution with the original proposal/key; it never repeats
|
|
442
|
+
confirmation or evaluation. The person can close this state with `success:false`
|
|
443
|
+
and the last snapshot, without claiming that no effects committed. Tracking ends
|
|
444
|
+
when the dialog closes or is destroyed. Retaining intention/key custody across
|
|
445
|
+
reopening or reload remains a separate requirement, not a guarantee of this flow.
|
|
446
|
+
|
|
447
|
+
Unavailable bulk operations (`availability.allowed === false`) remain visible
|
|
448
|
+
but disabled in the bulk toolbar with their canonical translated reason tooltip.
|
|
449
|
+
|
|
337
450
|
## Visual Authoring
|
|
338
451
|
|
|
339
452
|
The package publishes the CRUD-specific authoring surface:
|
|
@@ -344,14 +457,50 @@ The package publishes the CRUD-specific authoring surface:
|
|
|
344
457
|
- `openCrudMetadataEditor(...)`
|
|
345
458
|
- `PRAXIS_CRUD_AUTHORING_MANIFEST`
|
|
346
459
|
|
|
460
|
+
`CrudMetadataEditorComponent` provides guided authoring tabs for:
|
|
461
|
+
|
|
462
|
+
- **Connection (`resource` / `data` / `pageHeader`)**: bind remote resource paths, `idField`, `endpointKey`, or inspect-only local rows, and author the executive `pageHeader` (`title`, `subtitle`, `domain.label`, `domain.icon`, `domain.tone`) consumed by `PraxisResourcePage`.
|
|
463
|
+
- **Opening & Return (`defaults`)**: configure modal/drawer presentation defaults, header options, and back navigation policy.
|
|
464
|
+
- **Actions (`actions`)**: configure `create`, `view`, `edit`, and `delete` open modes, form bindings, parameter mappings, and initial value seeds. Action expansion panels stay open while typing (`isActionPanelOpen`) until explicitly closed or reset.
|
|
465
|
+
- **KPI Band (`kpiBand`)**: enable or disable the top summary band, author KPI cards (`id`, `label`, `value`, `valueExpr`, `captionExpr`, `variant`/`tone`), bind card click filters (`none`, clear filter `{}`, field equality `{ [field]: value }`, or custom JSON criteria), and preview the rendered band live with CSP-safe arithmetic and pipe evaluation.
|
|
466
|
+
- **Filter Bar (`filterBar`)**: toggle advanced filter visibility (`showAdvanced`), select inline filter fields (`inlineFields`), configure quick filter pills (`quickFilters` with `id`, `label`, `icon`, and `filter` criteria), and control `placement` (`'table-toolbar'` or `'scope-bar'`) without editing raw JSON.
|
|
467
|
+
- **Table (`table`)**: embedded `<praxis-table-inline-authoring-editor>` with explicit column inheritance awareness. When `metadata.table.columns` is `[]` and the CRUD resolves columns dynamically from the bound resource schema (`effectiveTableConfig`), the editor surfaces an inheritance banner showing the resolved resource columns, forwards those columns into the inline table editor for direct inspection/customization, preserves `columns: []` when only toolbar or pagination settings change, and provides a one-click reset back to inherited resource columns after customization.
|
|
468
|
+
- **Form Layout Scope & Persistence (`layoutScope?: 'shared' | 'mode-only'`)**: when customizing an inner `praxis-dynamic-form` inside a CRUD dialog or drawer (`DynamicFormDialogHostComponent`), the **Comportamento & Contexto** tab exposes the layout scope selector (`[data-testid="dynamic-form-layout-scope-toggle"]`):
|
|
469
|
+
- `'shared'` (default): structural layout edits (`sections`, `rows`, `columns`, `layout`) propagate across sibling modes (`create`, `edit`, `view`, `presentation`, `dossier`) while automatically protecting any sibling mode explicitly locked with `metadata.layoutScope === 'mode-only'`.
|
|
470
|
+
- `'mode-only'`: locks the structural layout exclusively to the active mode (`create`, `edit`, `view`, `presentation`, or `dossier`), isolating it from future shared updates or resets triggered from sibling modes.
|
|
471
|
+
- Even though `DynamicFormDialogHostComponent` sets `formConfigPersistenceStrategy = 'input-first'`, when `metadata.form` is empty/policy-only (no explicit `sections` or `fieldMetadata`), it hydrates user-saved `metadata.source === 'local'` snapshots for `praxis-form-config-<id>:<mode>` while preserving host `actions`, `helpPresentation`, and fallback `formRules`.
|
|
472
|
+
- Both `crud-authoring:<id>` and `praxis-form-config-<id>:<mode>` keys persist seamlessly through `ASYNC_CONFIG_STORAGE` (local `LocalStorageConfigService` or remote `ApiConfigStorage` backed by `praxis-config-starter` at `/api/praxis/config/ui` with `If-Match` / `ETag` concurrency and automatic 412 conflict retry).
|
|
473
|
+
|
|
347
474
|
Use this authoring surface to edit CRUD orchestration metadata. Do not build local CRUD editors in consuming apps when the needed behavior belongs to the package contract.
|
|
348
475
|
|
|
476
|
+
## Multi-step forms in modals, drawers, and routes
|
|
477
|
+
|
|
478
|
+
When a CRUD form schema or `FormConfig` configures `layout.mode = 'stepper'`, `DynamicFormDialogHostComponent` (dialogs and drawers) and routed CRUD form hosts run the native multi-step form contract directly on top of the inner `PraxisDynamicForm`:
|
|
479
|
+
|
|
480
|
+
- **Single root `FormGroup` & concurrency**: all steps read from and write to the same root `FormGroup`, preserving `initialValue` seeding, `PATCH` dirty-field diffing, and optimistic `ETag` / `If-Match` headers.
|
|
481
|
+
- **Dirty guard on modal/drawer exit (`canLeaveForm()`) & session draft awareness**: closing via backdrop click, `Escape`, or `Cancelar` across any step still triggers the CRUD unsaved-changes confirmation before discarding edits across steps; when `behavior.draftPersistence` is active in `create` mode, the confirmation dialog explicitly informs the operator that the session draft remains saved locally (`Sair e manter rascunho`).
|
|
482
|
+
- **Step telemetry forwarding (`@Output() formStepTelemetry`)**: `DynamicFormDialogHostComponent` and `PraxisCrudComponent` forward metadata-only step transitions (`CrudFormStepTelemetryEvent`: `{ action, openMode, event }`) so host applications can monitor multi-step progress and drop-off across Modal, Drawer, and Route flows without inspecting field values.
|
|
483
|
+
- **Mode synchronization (`layoutScope: 'shared'`) & read-mode stepper policy**: editing steps inside `create`, `edit`, `view`, `presentation`, or `dossier` automatically propagates structural sections and `layout` across sibling modes (ignoring `'mode-only'` siblings). Read-only behavior follows `layout.stepperInReadMode` (`'off'`, default `'presentation'`, or `'all'`): interactive input `view` mode (`presentationModeGlobal === false`) flattens steps unless `'all'` is set, whereas Presentation/Dossier mode retains editorial step navigation (with all chapters automatically expanded for `@media print`).
|
|
484
|
+
- **Single action bar & `422` error recovery**: intermediate steps expose `Anterior` / `Próxima etapa` in `<praxis-form-actions>` while the write request (`POST` / `PUT` / `PATCH`) executes exclusively from the final step. Both cumulative linear validation (`0..targetIndex - 1`) and backend HTTP `422` field errors automatically reveal the owning step and focus the offending control inside the modal/drawer.
|
|
485
|
+
- **Host sizing guidance**: prefer `drawer`, full routes, or `md`/`lg`/`xl` dialog presets when rendering forms with 3 or more steps, reserving standalone `@praxisui/stepper` only for multi-aggregate wizards that commit separate resources across stages.
|
|
486
|
+
|
|
487
|
+
## Custom Fields Studio (`metadata.customFieldsStudio`)
|
|
488
|
+
|
|
489
|
+
When an application host enables dynamic `@CustomFields` resources, `<praxis-crud>` and `<praxis-resource-page>` expose `PraxisCustomFieldStudioDialogComponent` declaratively via `metadata.customFieldsStudio`:
|
|
490
|
+
|
|
491
|
+
- **Modes**: `'catalog'` intercepts `create`/`edit` actions on the definitions catalog resource; `'target-resource'` renders a header trigger on the extensible resource page pre-bound to `targetResourceKey`.
|
|
492
|
+
- **Host configuration & domain neutrality**: configure `definitionsResourcePath`, optional `targetsCatalogEndpoint`, `previewDeterminationEndpoint`, `aiDraftEndpoint`, `requiredAuthority`, `officialCatalogHint`, and `aiPromptExamples`. `@praxisui/crud` stays domain-agnostic and delegates host-specific catalog hints or example prompts through metadata.
|
|
493
|
+
- **Security & profile guard**: `customFieldsStudio` is blocked whenever `interactionMode === 'inspect-only'` (enforced by runtime components, `assertCrudMetadata`, and the `public-local-inspect-only` metadata profile) and requires `EnterpriseRuntimeContextService` authority matching when `requiredAuthority` is set.
|
|
494
|
+
- **Runtime cache & schema synchronization**: confirmed Studio saves and catalog mutations (save, delete, bulk, discovered surfaces) invalidate `DynamicFormService` and `PraxisCacheInvalidatorService`, reload the active CRUD schema, and invoke `PraxisTable.reloadSchema()` (refreshing columns and `<praxis-filter>` criteria in place).
|
|
495
|
+
|
|
349
496
|
## AI Authoring
|
|
350
497
|
|
|
351
498
|
`PRAXIS_CRUD_AUTHORING_MANIFEST` declares the governed operation families for AI-assisted authoring:
|
|
352
499
|
|
|
353
500
|
- `resource.bind`
|
|
354
501
|
- `list.surface.configure`
|
|
502
|
+
- `list.kpiBand.configure`
|
|
503
|
+
- `list.filterBar.configure`
|
|
355
504
|
- `surface.create.configure`
|
|
356
505
|
- `surface.edit.configure`
|
|
357
506
|
- `surface.view.configure`
|
|
@@ -367,9 +516,10 @@ The manifest owns CRUD orchestration only. It delegates table, form, field, and
|
|
|
367
516
|
Main exports:
|
|
368
517
|
|
|
369
518
|
- `PraxisCrudComponent`
|
|
519
|
+
- `PraxisBulkOperationDialogComponent`, `PraxisBulkEditDialogComponent`
|
|
370
520
|
- `CrudLauncherService`
|
|
371
521
|
- `DynamicFormDialogHostComponent`
|
|
372
|
-
- `CrudMetadata`, `CrudActionFormContract`, `CrudDefaults`, `CrudParamMapping`
|
|
522
|
+
- `CrudMetadata`, `CrudActionFormContract`, `CrudDefaults`, `CrudParamMapping`, `CrudKpiBandConfig`, `CrudKpiCardConfig`, `CrudKpiCardVariant`, `CrudFilterBarConfig`, `CrudFilterBarQuickFilter`
|
|
373
523
|
- `DialogService`
|
|
374
524
|
- `CrudPageHeaderComponent`
|
|
375
525
|
- `CrudMetadataEditorComponent`
|