@skillre/dsh-plugin-work-dashboard 0.14.0 → 0.15.1
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.en.md +5 -8
- package/README.md +5 -8
- package/lib/client/api.d.ts +3 -3
- package/lib/client/api.js +1 -3
- package/lib/client.js +18 -16
- package/lib/index.js +35 -1
- package/lib/report-contract.d.ts +132 -2
- package/lib/report-contract.js +126 -0
- package/lib/report-form.d.ts +10 -1
- package/lib/report-form.js +26 -2
- package/lib/report-page.js +2052 -1168
- package/lib/report-style.d.ts +24 -13
- package/lib/report-style.js +380 -398
- package/lib/transport.d.ts +5 -5
- package/lib/transport.js +4 -3
- package/lib/types.d.ts +5 -3
- package/package.json +9 -16
- package/compatibility.json +0 -240
- package/docs/DESIGN-0.3.md +0 -122
- package/docs/DESIGN-1.0-/344/274/230/345/214/226/346/226/271/346/241/210.md +0 -212
- 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
- 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
- package/docs/DESIGN-/346/217/220/351/206/222/344/270/216Gate/350/257/204/345/256/241.md +0 -518
- package/docs/DESIGN-/346/226/207/346/234/254/346/210/252/346/226/255.md +0 -565
- package/docs/DESIGN-/350/241/250/345/215/225/345/210/206/351/230/266/346/256/265.md +0 -420
- package/docs/LEDGER-REQUIREMENTS-v3.1.md +0 -367
- package/docs/PLAN-0.7-0.9.md +0 -230
- package/docs/PLAN-v3.1-adaptation.md +0 -237
- package/docs/POC-3.2-/350/277/233/345/261/225/345/245/221/347/272/246.md +0 -21
- package/docs/Super-Agent-3.2-/350/201/224/350/260/203/346/211/213/345/206/214.md +0 -38
- package/docs/TARGET-/345/217/260/350/264/246/344/273/223/345/272/223v3.1.md +0 -500
- 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
- package/lib/form.d.ts +0 -597
- package/lib/form.js +0 -3211
package/lib/report-style.d.ts
CHANGED
|
@@ -1,18 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The stylesheet for the POC 3.2 report page
|
|
2
|
+
* The stylesheet for the POC 3.2 report page.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
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
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
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;
|