@skillre/dsh-plugin-work-dashboard 0.14.0 → 0.15.0

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.
Files changed (34) hide show
  1. package/README.en.md +5 -8
  2. package/README.md +5 -8
  3. package/lib/client/api.d.ts +3 -3
  4. package/lib/client/api.js +1 -3
  5. package/lib/client.js +18 -16
  6. package/lib/index.js +35 -1
  7. package/lib/report-contract.d.ts +132 -2
  8. package/lib/report-contract.js +126 -0
  9. package/lib/report-form.d.ts +10 -1
  10. package/lib/report-form.js +26 -2
  11. package/lib/report-page.js +1989 -1170
  12. package/lib/report-style.d.ts +24 -13
  13. package/lib/report-style.js +367 -399
  14. package/lib/transport.d.ts +5 -5
  15. package/lib/transport.js +4 -3
  16. package/lib/types.d.ts +5 -3
  17. package/package.json +9 -16
  18. package/compatibility.json +0 -240
  19. package/docs/DESIGN-0.3.md +0 -122
  20. package/docs/DESIGN-1.0-/344/274/230/345/214/226/346/226/271/346/241/210.md +0 -212
  21. package/docs/DESIGN-/344/274/232/350/257/235/344/272/214-SuperAgent/344/270/216/344/273/223/345/272/223/346/224/271/351/200/240.md +0 -275
  22. package/docs/DESIGN-/345/257/274/345/207/272/350/241/250/345/215/225/351/207/215/350/256/276/350/256/241.md +0 -330
  23. package/docs/DESIGN-/346/217/220/351/206/222/344/270/216Gate/350/257/204/345/256/241.md +0 -518
  24. package/docs/DESIGN-/346/226/207/346/234/254/346/210/252/346/226/255.md +0 -565
  25. package/docs/DESIGN-/350/241/250/345/215/225/345/210/206/351/230/266/346/256/265.md +0 -420
  26. package/docs/LEDGER-REQUIREMENTS-v3.1.md +0 -367
  27. package/docs/PLAN-0.7-0.9.md +0 -230
  28. package/docs/PLAN-v3.1-adaptation.md +0 -237
  29. package/docs/POC-3.2-/350/277/233/345/261/225/345/245/221/347/272/246.md +0 -21
  30. package/docs/Super-Agent-3.2-/350/201/224/350/260/203/346/211/213/345/206/214.md +0 -38
  31. package/docs/TARGET-/345/217/260/350/264/246/344/273/223/345/272/223v3.1.md +0 -500
  32. package/docs//350/200/201Mac-SuperAgent/346/224/271/351/200/240/350/256/260/345/275/225-/347/254/254/344/272/214/346/255/245.md +0 -233
  33. package/lib/form.d.ts +0 -597
  34. package/lib/form.js +0 -3211
@@ -1,18 +1,29 @@
1
1
  /**
2
- * The stylesheet for the POC 3.2 report page and its return receipt.
2
+ * The stylesheet for the POC 3.2 report page.
3
3
  *
4
- * This is a plain string on purpose: the page is a single offline HTML file, so
5
- * there is nothing to import and no build-time asset to reference. The Host
6
- * embeds it in a `<style>` element; {@link REPORT_PAGE_SCRIPT} reads the same
7
- * bytes back out of the document when it builds the return receipt, so the page
8
- * and the receipt cannot drift apart.
4
+ * ## Two screens, one document
9
5
  *
10
- * Constraints:
11
- * - No `@import`, no remote font, no remote image: the file has to open from
12
- * `file://` on a locked-down laptop with no network.
13
- * - Every selector is prefixed `rp-` so it cannot collide with the Host shell.
14
- * - Only the interactive page lives here. Saving writes the same document back
15
- * with the colleague's answers embedded, so there is no second "receipt"
16
- * style sheet to keep in sync.
6
+ * The page is one HTML file with two screens: the worksheet the colleague fills
7
+ * in, and a read-only dossier of the project. The top bar carries a two-tab
8
+ * switcher; only one screen is displayed at a time.
9
+ *
10
+ * The visual split is the point, not decoration. Everything the colleague may
11
+ * EDIT sits on a white sheet with visible input boxes; everything they may only
12
+ * READ sits on the second screen, which has no inputs at all. The previous
13
+ * design mixed both in one column of bordered cards, and the practical result
14
+ * was that nobody could tell which boxes were theirs to fill.
15
+ *
16
+ * ## Everything is scoped under `.rp-app`
17
+ *
18
+ * The document is opened from `file://` and shares a machine with nothing else,
19
+ * but the generated page still owns only its own `main#app` element. Scoping
20
+ * every selector keeps that boundary honest and makes the stylesheet safe to
21
+ * embed next to any other content in the same file.
22
+ *
23
+ * ## No external resources
24
+ *
25
+ * Fonts are named, never fetched: a `file://` page that requests a webfont gets
26
+ * a blocked request and a flash of fallback text on a colleague's laptop with no
27
+ * network. The stacks below degrade to the platform's own Chinese faces.
17
28
  */
18
29
  export declare const REPORT_STYLE: string;