@knpkv/herdr-work 0.10.0 → 0.12.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.
- package/README.md +3 -1
- package/dist/errors.d.ts +8 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +7 -0
- package/dist/errors.js.map +1 -1
- package/dist/model.d.ts +13 -0
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +11 -0
- package/dist/model.js.map +1 -1
- package/dist/service.d.ts +9 -2
- package/dist/service.d.ts.map +1 -1
- package/dist/service.js +2 -0
- package/dist/service.js.map +1 -1
- package/dist/store.d.ts +11 -12
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +83 -22
- package/dist/store.js.map +1 -1
- package/dist/view.d.ts +6 -1
- package/dist/view.d.ts.map +1 -1
- package/dist/view.js +194 -105
- package/dist/view.js.map +1 -1
- package/dist/work-triage.d.ts +3 -1
- package/dist/work-triage.d.ts.map +1 -1
- package/dist/work-triage.js +3 -6
- package/dist/work-triage.js.map +1 -1
- package/package.json +4 -4
- package/src/styles.css +382 -46
package/dist/view.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { type WorkRequestDecisions } from "./request-decision.js";
|
|
|
4
4
|
export type { WorkRequestAnswer, WorkRequestDecision, WorkRequestDecisions } from "./request-decision.js";
|
|
5
5
|
/** The request clock's wording ("52s", "4m 12s", "11m", "expiring"), shared with hosts that show the same clocks. */
|
|
6
6
|
export { workRequestClockText } from "./request-decision.js";
|
|
7
|
-
export declare const WorkBoard: ({ decisions, externalLinks, initialGoalId, initialWindow, navigation, snapshots }: {
|
|
7
|
+
export declare const WorkBoard: ({ decisions, externalLinks, host, initialGoalId, initialWindow, navigation, snapshots }: {
|
|
8
8
|
readonly snapshots: WorkSnapshots;
|
|
9
9
|
/**
|
|
10
10
|
* Lets the reader decide approval requests in place, with their clock. Omit it (the LAN view, a
|
|
@@ -12,8 +12,13 @@ export declare const WorkBoard: ({ decisions, externalLinks, initialGoalId, init
|
|
|
12
12
|
*/
|
|
13
13
|
readonly decisions?: WorkRequestDecisions;
|
|
14
14
|
readonly externalLinks?: "disabled" | "enabled";
|
|
15
|
+
/** The application supplies its own host; goal owners may be on other hosts. Omit when unknown. */
|
|
16
|
+
readonly host?: string;
|
|
17
|
+
/** Initial local selection; when navigation is supplied, the current URL-owned selection. */
|
|
15
18
|
readonly initialGoalId?: string | null;
|
|
19
|
+
/** Initial local window; when navigation is supplied, the current URL-owned window. */
|
|
16
20
|
readonly initialWindow?: WorkSnapshotWindow;
|
|
21
|
+
/** Uses URL-owned selection props on every render and renders links instead of local controls. */
|
|
17
22
|
readonly navigation?: (selection: {
|
|
18
23
|
readonly goalId: string | null;
|
|
19
24
|
readonly window: WorkSnapshotWindow;
|
package/dist/view.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../src/view.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../src/view.tsx"],"names":[],"mappings":"AAUA,OAAO,EAA+B,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;AACtE,OAAO,KAAK,EAaV,aAAa,EACb,kBAAkB,EAEnB,MAAM,YAAY,CAAA;AAGnB,OAAO,EAAiD,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAYhH,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AACzG,qHAAqH;AACrH,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAy5B5D,eAAO,MAAM,SAAS,4FAQnB;IACD,QAAQ,CAAC,SAAS,EAAE,aAAa,CAAA;IACjC;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,oBAAoB,CAAA;IACzC,QAAQ,CAAC,aAAa,CAAC,EAAE,UAAU,GAAG,SAAS,CAAA;IAC/C,mGAAmG;IACnG,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,6FAA6F;IAC7F,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,uFAAuF;IACvF,QAAQ,CAAC,aAAa,CAAC,EAAE,kBAAkB,CAAA;IAC3C,kGAAkG;IAClG,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,SAAS,EAAE;QAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAA;KAAE,KAAK,MAAM,CAAA;CACrH,KAAG,YAmhBH,CAAA"}
|