@eintrek/erp-shell 0.1.74 → 0.1.75
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/{guide-runtime-YS2nUhwS.cjs → format-CVazK0hP.cjs} +523 -57
- package/dist/chunks/format-CVazK0hP.cjs.map +1 -0
- package/dist/chunks/{guide-runtime-Dl8V1iy9.esm.js → format-DCTuLpBU.esm.js} +517 -59
- package/dist/chunks/format-DCTuLpBU.esm.js.map +1 -0
- package/dist/guide/core.d.ts +4 -2
- package/dist/guide/format.d.ts +26 -0
- package/dist/guide/guide-store.d.ts +37 -4
- package/dist/guide/machine.d.ts +42 -5
- package/dist/guide/pages.d.ts +24 -1
- package/dist/guide/progress-sync.d.ts +3 -2
- package/dist/guide/progress.d.ts +6 -4
- package/dist/guide/section-button.d.ts +12 -0
- package/dist/guide/types.d.ts +47 -0
- package/dist/guide-core.cjs +32 -24
- package/dist/guide-core.cjs.map +1 -1
- package/dist/guide-core.esm.js +1 -1
- package/dist/help/help-button.d.ts +2 -1
- package/dist/index.cjs +46 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.esm.js +10 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunks/guide-runtime-Dl8V1iy9.esm.js.map +0 -1
- package/dist/chunks/guide-runtime-YS2nUhwS.cjs.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.75
|
|
180
|
+
|
|
181
|
+
Section guides ("อธิบายส่วนนี้"; authors: `_claude-work/guides-r4/GUIDE-PAGES.md` §10).
|
|
182
|
+
|
|
183
|
+
- `GuideSuite.sections?: GuideSection[]`: explains one section of a page
|
|
184
|
+
(a number-heavy card or table) row by row. View steps only (the default
|
|
185
|
+
kind here); a step may point at a row or cell (`targetId`). Tied to a
|
|
186
|
+
route and a root anchor: there only while the root is on screen, and it
|
|
187
|
+
ends when the root goes or the page is left.
|
|
188
|
+
- Live values: the app hands its computed numbers to the guide with
|
|
189
|
+
`useSectionGuideValues(key, values)` or `<SectionGuideButton guideKey
|
|
190
|
+
values />`; step `title`/`why` read `ctx.values`. The latest render wins,
|
|
191
|
+
so a page that re-renders mid-guide never leaves an old number. A step
|
|
192
|
+
lists what it uses in `needs` and is skipped while one is missing (also
|
|
193
|
+
when its title comes out empty). `formatBaht`, `thaiMonth`,
|
|
194
|
+
`thaiMonthYear` for the copy.
|
|
195
|
+
- Entry points: `<SectionGuideButton guideKey />` (a small "?" for the
|
|
196
|
+
section header, drawn only while the guide is there for this person) and
|
|
197
|
+
"?" → "อธิบายส่วนนี้ · <title>" for every section guide on screen. Never
|
|
198
|
+
offered by itself, in any mode; not in the panel's list.
|
|
199
|
+
- Progress: one row per section guide per person, `<app>.section.<key>`,
|
|
200
|
+
written once, as page rows. Same switch and audience as page guides.
|
|
201
|
+
- Fix: "ขั้นที่ x/y" no longer counts a click step that passes by itself
|
|
202
|
+
(its outcome already on screen): Plannex's overview said 1/9, then 3/9.
|
|
203
|
+
|
|
179
204
|
### 0.1.74
|
|
180
205
|
|
|
181
206
|
Page guides ("คู่มือหน้านี้", guides round 4; authors:
|