@eintrek/erp-shell 0.1.75 → 0.1.76
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 +25 -0
- package/dist/chunks/{format-CVazK0hP.cjs → format-BVoVc7Yk.cjs} +510 -35
- package/dist/chunks/format-BVoVc7Yk.cjs.map +1 -0
- package/dist/chunks/{format-DCTuLpBU.esm.js → format-BWUKNKxg.esm.js} +509 -36
- package/dist/chunks/format-BWUKNKxg.esm.js.map +1 -0
- package/dist/guide/core.d.ts +2 -2
- package/dist/guide/guide-store.d.ts +18 -3
- package/dist/guide/guide-ui.d.ts +16 -2
- package/dist/guide/machine.d.ts +46 -7
- package/dist/guide/pages.d.ts +29 -1
- package/dist/guide/progress-sync.d.ts +1 -1
- package/dist/guide/progress.d.ts +5 -3
- package/dist/guide/types.d.ts +53 -0
- package/dist/guide-core.cjs +3 -1
- package/dist/guide-core.cjs.map +1 -1
- package/dist/guide-core.esm.js +1 -1
- package/dist/help/help-button.d.ts +4 -2
- package/dist/index.cjs +11 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +12 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunks/format-CVazK0hP.cjs.map +0 -1
- package/dist/chunks/format-DCTuLpBU.esm.js.map +0 -1
package/README.md
CHANGED
|
@@ -176,6 +176,31 @@ progress API: `API.md` next to it.
|
|
|
176
176
|
shell's adapters), `guide-ui.tsx`, `guide-styles.ts`. Tests:
|
|
177
177
|
`src/guide/*.test.ts`.
|
|
178
178
|
|
|
179
|
+
### 0.1.76
|
|
180
|
+
|
|
181
|
+
Workflow guides ("พาทำงาน", phase 2; authors: `_claude-work/guides-r4/GUIDE-PAGES.md` §11).
|
|
182
|
+
|
|
183
|
+
- `GuideSuite.flows?: GuideFlow[]` (`key`, `version`, `title`, `minutes?`,
|
|
184
|
+
`visible`, `requires`, `startRoute`, `href?`, `transit?`, `offer?`,
|
|
185
|
+
`allowCommit?`, `steps`): one job across pages, its steps as a mission's
|
|
186
|
+
(`route`, checkpoints, ทำต่อ). Played as a replay: never in "ไกด์เริ่มต้น
|
|
187
|
+
n/N" or the welcome, never writing the tour's row.
|
|
188
|
+
- Audience and switch as page guides (every member; `visible`/`requires`;
|
|
189
|
+
`guides.<app>.pages` not off).
|
|
190
|
+
- "?" → "พาทำงาน" opens the panel's flows section (the flows this person
|
|
191
|
+
has); on a flow's start page "?" also has "พาทำ · <title>". Offered only
|
|
192
|
+
in `offer` mode, only flows with `offer: true`, on the start page, after
|
|
193
|
+
the missions and the page guide's offer, once.
|
|
194
|
+
- One row per flow per person, `<app>.flow.<key>`, written once at the end
|
|
195
|
+
(finished: completed; exited, left, จบโดยไม่บันทึก: skipped).
|
|
196
|
+
- The chain (start routes + steps' routes and route triggers + `transit`):
|
|
197
|
+
moving between its pages goes on; leaving it ends the flow silently. A
|
|
198
|
+
flow in progress survives a refresh in the same tab session (resumed at
|
|
199
|
+
its checkpoint), never across sessions.
|
|
200
|
+
- Writes: view and click steps only unless `allowCommit: true`, and then
|
|
201
|
+
every commit step must name its `abort` (else the flow is dropped, with a
|
|
202
|
+
warning in development).
|
|
203
|
+
|
|
179
204
|
### 0.1.75
|
|
180
205
|
|
|
181
206
|
Section guides ("อธิบายส่วนนี้"; authors: `_claude-work/guides-r4/GUIDE-PAGES.md` §10).
|