@happyvertical/smrt-projects 0.60.8 → 0.60.10
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 +20 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +297 -75
- package/dist/smrt-knowledge.json +3 -3
- package/dist/smrt-knowledge.okf.md +131 -0
- package/dist/svelte/ProjectInterview.svelte +387 -0
- package/dist/svelte/ProjectInterview.svelte.d.ts +26 -0
- package/dist/svelte/ProjectInterview.svelte.d.ts.map +1 -0
- package/dist/svelte/i18n.d.ts +21 -0
- package/dist/svelte/i18n.d.ts.map +1 -1
- package/dist/svelte/i18n.js +21 -0
- package/dist/svelte/index.d.ts +4 -2
- package/dist/svelte/index.d.ts.map +1 -1
- package/dist/svelte/index.js +3 -1
- package/dist/svelte/project-governance-types.d.ts +25 -0
- package/dist/svelte/project-governance-types.d.ts.map +1 -1
- package/package.json +18 -18
package/README.md
CHANGED
|
@@ -107,6 +107,26 @@ and question answer state remain separate lifecycles.
|
|
|
107
107
|
renders authorized projections and emits typed answer/decision callbacks. It
|
|
108
108
|
does not fetch records or decide application permissions.
|
|
109
109
|
|
|
110
|
+
`ProjectInterview` (registry slot `project-interview`) is the guided,
|
|
111
|
+
one-record-at-a-time surface over the same `ProjectQuestionView` /
|
|
112
|
+
`ProjectDecisionView` projections and `onanswer` / `ondecide` callbacks. It
|
|
113
|
+
also does not fetch. Props: `questions`, `decisions` (asked after the
|
|
114
|
+
questions, each in the host's order), `busy`, `framing` (keyed by record id:
|
|
115
|
+
`why`, `unblocks` labels, `recommendedOptionId`), `startIndex` (read once on
|
|
116
|
+
mount; defaults to the first open record) and `onadvance`, which receives a
|
|
117
|
+
`ProjectInterviewAdvanceDetail` (`index`, `total`, `id`, `kind`, `reason`) on
|
|
118
|
+
every move so hosts can persist resume position. The recommended option
|
|
119
|
+
(`framing.recommendedOptionId`, else the option's `recommended` flag) is listed
|
|
120
|
+
first but never preselected, and question choices keep the Other text box. The
|
|
121
|
+
interview only advances after the host re-renders the submitted record with a
|
|
122
|
+
non-`open` status (or withdraws it), so a failed save leaves the person on that
|
|
123
|
+
question. Skip moves on without calling a callback; Back revisits earlier
|
|
124
|
+
records, showing recorded answers read-only. Progress shows the position and
|
|
125
|
+
answered count; when no record remains open it shows a completion state,
|
|
126
|
+
otherwise a summary that returns to skipped records. Focus moves to each new
|
|
127
|
+
record's heading. The entry animation runs only when the browser reports no
|
|
128
|
+
reduced-motion preference.
|
|
129
|
+
|
|
110
130
|
### Canonical project specification
|
|
111
131
|
|
|
112
132
|
`ProjectSpecificationService` persists one canonical specification per tenant
|