@praxisui/stepper 10.0.0-rc.7 → 10.0.0-rc.71
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 +4 -2
- package/ai/component-registry.json +331 -30
- package/fesm2022/praxisui-stepper.mjs +274 -149
- package/package.json +9 -9
- package/types/praxisui-stepper.d.ts +6 -1
package/README.md
CHANGED
|
@@ -6,8 +6,8 @@ The stepper owns workflow navigation and step composition. The host owns resourc
|
|
|
6
6
|
|
|
7
7
|
## LLM Recommendation Guide
|
|
8
8
|
|
|
9
|
-
- Recommend when: users need metadata-driven multi-step workflows, wizards, dynamic-form steps, rich content, uploads, and runtime authoring.
|
|
10
|
-
- Avoid when: for a static Material stepper that has no metadata, persistence, validation, or governed authoring requirement.
|
|
9
|
+
- Recommend when: users need metadata-driven multi-step workflows, wizards, multi-aggregate dynamic-form steps, rich content, uploads, per-step `serverValidate`, and runtime authoring.
|
|
10
|
+
- Avoid when: the journey is a **single-aggregate transactional form** (same `resourcePath`, one `FormGroup` / `FormArray` tree, cross-step reactive determinations, `ETag`/`If-Match` custody, automatic review diff step, and a single final `POST`/`PUT`/`PATCH` with `422` field jump-back) — use `<praxis-dynamic-form>` with `config.layout.mode = 'stepper'` (or backend `@FormLayout(mode = FormLayoutMode.STEPPER)` / `FormLayoutMode.AUTO`) instead. Also avoid for a static Material stepper that has no metadata, persistence, validation, or governed authoring requirement.
|
|
11
11
|
- Pair with: @praxisui/dynamic-form, @praxisui/rich-content, @praxisui/files-upload, @praxisui/list, and @praxisui/page-builder.
|
|
12
12
|
|
|
13
13
|
## Install
|
|
@@ -105,6 +105,8 @@ validateStep = async ({ step, stepIndex, formGroup, formData }) => {
|
|
|
105
105
|
|
|
106
106
|
Remote dynamic forms still require the effective host to provide the CRUD/resource services expected by `@praxisui/dynamic-form`.
|
|
107
107
|
|
|
108
|
+
When a workflow includes rich-content review blocks (`stepBlocksBeforeForm` or `stepBlocksAfterForm`), `PraxisStepper` reactively merges live form values from all steps into the rich-content evaluation context (`values`, root fields, and `forms[stepId | stepIndex]`). Review steps can therefore bind `recordReference`, `keyValueList`, `propertySheet` or `recordSummary` nodes with `quickView` (`ResourceQuickViewBinding`) to foreign-key IDs or `entity-lookup` selections made in earlier steps.
|
|
109
|
+
|
|
108
110
|
## Main Inputs And Outputs
|
|
109
111
|
|
|
110
112
|
- `stepperId: string`: required stable id for persisted configuration.
|