@calliopelabs/ui 0.6.1 → 0.11.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 +253 -3
- package/dist/appearance/AppearancePicker.js +6 -4
- package/dist/appearance/AppearanceProvider.d.ts +10 -2
- package/dist/appearance/AppearanceProvider.js +6 -2
- package/dist/appearance/AppearanceScript.d.ts +15 -4
- package/dist/appearance/AppearanceScript.js +11 -5
- package/dist/appearance/appearance.js +1 -1
- package/dist/appearance/boot.d.ts +13 -2
- package/dist/appearance/boot.js +35 -5
- package/dist/appearance/product.d.ts +13 -0
- package/dist/appearance/product.js +2 -2
- package/dist/appearance/runtime-brand.d.ts +106 -0
- package/dist/appearance/runtime-brand.js +420 -0
- package/dist/css/appearance.js +147 -0
- package/dist/css/calliope.css +1221 -0
- package/dist/css/components.css +729 -0
- package/dist/css/tokens.css +491 -0
- package/dist/data/DefinitionList.d.ts +16 -0
- package/dist/data/DefinitionList.js +9 -0
- package/dist/data/Stat.d.ts +25 -0
- package/dist/data/Stat.js +19 -0
- package/dist/data/Tag.d.ts +21 -0
- package/dist/data/Tag.js +18 -0
- package/dist/data/types.d.ts +3 -2
- package/dist/data/use-local-table.d.ts +36 -0
- package/dist/data/use-local-table.js +127 -0
- package/dist/index.d.ts +42 -3
- package/dist/index.js +39 -1
- package/dist/nav/Nav.d.ts +2 -1
- package/dist/nav/Nav.js +34 -15
- package/dist/nav/model.d.ts +21 -0
- package/dist/page/PageHeader.d.ts +5 -3
- package/dist/page/PageHeader.js +5 -4
- package/dist/page/Panel.d.ts +19 -0
- package/dist/page/Panel.js +12 -0
- package/dist/primitives/Avatar.d.ts +37 -0
- package/dist/primitives/Avatar.js +43 -0
- package/dist/primitives/Field.d.ts +33 -0
- package/dist/primitives/Field.js +30 -0
- package/dist/primitives/Segmented.d.ts +30 -0
- package/dist/primitives/Segmented.js +20 -0
- package/dist/primitives/Select.d.ts +40 -0
- package/dist/primitives/Select.js +47 -0
- package/dist/primitives/Switch.d.ts +7 -0
- package/dist/primitives/Switch.js +8 -0
- package/dist/primitives/Textarea.d.ts +3 -0
- package/dist/primitives/Textarea.js +6 -0
- package/dist/provider/messages.d.ts +415 -2
- package/dist/provider/messages.js +633 -0
- package/dist/shell/BrandMark.d.ts +25 -3
- package/dist/shell/BrandMark.js +34 -4
- package/dist/shell/RailPanel.js +2 -2
- package/dist/shell/RailTree.js +2 -2
- package/dist/shell/Sidebar.d.ts +9 -2
- package/dist/shell/Sidebar.js +10 -4
- package/dist/shell/UserMenu.d.ts +3 -1
- package/dist/shell/UserMenu.js +3 -11
- package/dist/shell/rail-boot.d.ts +28 -0
- package/dist/shell/rail-boot.js +45 -0
- package/dist/shell/rail-state.d.ts +6 -1
- package/dist/shell/rail-state.js +18 -2
- package/dist/styles/preset.css +4 -0
- package/dist/styles/theme.css +36 -13
- package/dist/theme/css-layer.d.ts +19 -0
- package/dist/theme/css-layer.js +171 -0
- package/dist/theme/css.d.ts +1 -0
- package/dist/theme/css.js +45 -9
- package/dist/workflow/ArtifactCard.d.ts +47 -0
- package/dist/workflow/ArtifactCard.js +45 -0
- package/dist/workflow/DocumentReview.d.ts +74 -0
- package/dist/workflow/DocumentReview.js +54 -0
- package/dist/workflow/FormReview.d.ts +53 -0
- package/dist/workflow/FormReview.js +83 -0
- package/dist/workflow/GateBadge.d.ts +11 -0
- package/dist/workflow/GateBadge.js +14 -0
- package/dist/workflow/MediaReview.d.ts +63 -0
- package/dist/workflow/MediaReview.js +166 -0
- package/dist/workflow/ReviewPanel.d.ts +41 -0
- package/dist/workflow/ReviewPanel.js +59 -0
- package/dist/workflow/RunTimeline.d.ts +25 -0
- package/dist/workflow/RunTimeline.js +56 -0
- package/dist/workflow/WorkflowCard.d.ts +39 -0
- package/dist/workflow/WorkflowCard.js +56 -0
- package/dist/workflow/WorkflowGallery.d.ts +43 -0
- package/dist/workflow/WorkflowGallery.js +69 -0
- package/dist/workflow/canvas/WorkflowCanvas.d.ts +39 -0
- package/dist/workflow/canvas/WorkflowCanvas.js +648 -0
- package/dist/workflow/definition.d.ts +408 -0
- package/dist/workflow/definition.js +411 -0
- package/dist/workflow/editor/WorkflowDiff.d.ts +17 -0
- package/dist/workflow/editor/WorkflowDiff.js +25 -0
- package/dist/workflow/editor/WorkflowImportPreview.d.ts +19 -0
- package/dist/workflow/editor/WorkflowImportPreview.js +50 -0
- package/dist/workflow/editor/WorkflowInspector.d.ts +40 -0
- package/dist/workflow/editor/WorkflowInspector.js +349 -0
- package/dist/workflow/editor/WorkflowJsonView.d.ts +16 -0
- package/dist/workflow/editor/WorkflowJsonView.js +40 -0
- package/dist/workflow/editor/WorkflowPalette.d.ts +16 -0
- package/dist/workflow/editor/WorkflowPalette.js +36 -0
- package/dist/workflow/editor/WorkflowProblems.d.ts +20 -0
- package/dist/workflow/editor/WorkflowProblems.js +51 -0
- package/dist/workflow/editor/WorkflowWorkspace.d.ts +49 -0
- package/dist/workflow/editor/WorkflowWorkspace.js +154 -0
- package/dist/workflow/gallery.d.ts +21 -0
- package/dist/workflow/gallery.js +29 -0
- package/dist/workflow/layout.d.ts +49 -0
- package/dist/workflow/layout.js +162 -0
- package/dist/workflow/model.d.ts +50 -0
- package/dist/workflow/model.js +7 -0
- package/dist/workflow/palette.d.ts +34 -0
- package/dist/workflow/palette.js +70 -0
- package/dist/workflow/portable.d.ts +162 -0
- package/dist/workflow/portable.js +547 -0
- package/dist/workflow/problems.d.ts +38 -0
- package/dist/workflow/problems.js +409 -0
- package/dist/workflow/run.d.ts +94 -0
- package/dist/workflow/run.js +31 -0
- package/dist/workflow/workspace.d.ts +33 -0
- package/dist/workflow/workspace.js +17 -0
- package/package.json +6 -1
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import type { ProductTheme } from "../appearance/product.js";
|
|
2
|
+
import type { WorkflowAction, WorkflowAvailability, WorkflowScope, WorkflowStatus } from "../workflow/model.js";
|
|
3
|
+
import type { ArtifactStatus, GateStatus, ReviewDecision, ReviewVerdict, RunStageStatus } from "../workflow/run.js";
|
|
4
|
+
import type { WorkflowConnectReason, WorkflowNode, WorkflowNodeKind, WorkflowSelector } from "../workflow/definition.js";
|
|
5
|
+
/** The names a node's summary line uses, looked up by the caller. */
|
|
6
|
+
export interface WorkflowSummaryNames {
|
|
7
|
+
/** A step's or variants' preset, and its module. */
|
|
8
|
+
preset?: string;
|
|
9
|
+
module?: string;
|
|
10
|
+
/** A gate's kind. */
|
|
11
|
+
gate?: string;
|
|
12
|
+
/** A go-to's target's label. */
|
|
13
|
+
target?: string;
|
|
14
|
+
}
|
|
15
|
+
import type { WorkflowProblem, WorkflowProblemLevel } from "../workflow/problems.js";
|
|
16
|
+
import type { WorkflowReadError } from "../workflow/portable.js";
|
|
2
17
|
/**
|
|
3
18
|
* Every string the package renders, in English. An app with a message
|
|
4
19
|
* catalog overrides any of them through `UIProvider messages={...}`; a
|
|
@@ -19,6 +34,10 @@ export interface Messages {
|
|
|
19
34
|
expand: string;
|
|
20
35
|
collapseTitle: string;
|
|
21
36
|
expandTitle: string;
|
|
37
|
+
/** An icon-only row or area with a badge: its name and the badge's label, "Inbox, 3 unread". */
|
|
38
|
+
withBadge: (label: string, badge: string) => string;
|
|
39
|
+
/** A collapsed area whose rows carry badges, named before its flyout opens. */
|
|
40
|
+
areaWithBadges: (area: string) => string;
|
|
22
41
|
};
|
|
23
42
|
rail: {
|
|
24
43
|
show: (label: string) => string;
|
|
@@ -72,6 +91,18 @@ export interface Messages {
|
|
|
72
91
|
failed: string;
|
|
73
92
|
reasonRequired: string;
|
|
74
93
|
};
|
|
94
|
+
data: {
|
|
95
|
+
/** A Stat whose figure the server did not give: read in place of the dash. */
|
|
96
|
+
noValue: string;
|
|
97
|
+
/** A DefinitionList entry with no value. */
|
|
98
|
+
notSet: string;
|
|
99
|
+
/** A removable Tag's remove button. */
|
|
100
|
+
removeTag: (label: string) => string;
|
|
101
|
+
};
|
|
102
|
+
avatar: {
|
|
103
|
+
/** An AvatarStack read as one phrase: the names shown, then how many more. */
|
|
104
|
+
people: (names: readonly string[], more: number) => string;
|
|
105
|
+
};
|
|
75
106
|
user: {
|
|
76
107
|
/** The collapsed trigger's name: it shows only the initials, so the name starts with them (WCAG 2.5.3). */
|
|
77
108
|
accountMenu: (name: string, initials: string) => string;
|
|
@@ -100,8 +131,390 @@ export interface Messages {
|
|
|
100
131
|
customAccentHelp: string;
|
|
101
132
|
customAccentInvalid: string;
|
|
102
133
|
customAccentInUse: string;
|
|
103
|
-
|
|
104
|
-
|
|
134
|
+
/** `ground` is the ground's key, for a message that names it. */
|
|
135
|
+
customAccentOk: (ratio: string, ground: string) => string;
|
|
136
|
+
customAccentFaint: (ratio: string, min: number, mode: "dark" | "light", ground: string) => string;
|
|
137
|
+
};
|
|
138
|
+
workflow: {
|
|
139
|
+
status: (status: WorkflowStatus) => string;
|
|
140
|
+
scope: (scope: WorkflowScope) => string;
|
|
141
|
+
/** A module and the version a definition was written against: "Media 1.2". */
|
|
142
|
+
module: (label: string, version?: string) => string;
|
|
143
|
+
revision: (revision: string) => string;
|
|
144
|
+
/** An action's visible label. */
|
|
145
|
+
action: (action: WorkflowAction) => string;
|
|
146
|
+
/** An action's accessible name: its visible label first (WCAG 2.5.3), then the workflow. */
|
|
147
|
+
actionName: (label: string, name: string) => string;
|
|
148
|
+
/** The badge for a workflow this factory cannot run. */
|
|
149
|
+
availability: (status: WorkflowAvailability["status"]) => string;
|
|
150
|
+
unsupported: string;
|
|
151
|
+
missingCapabilities: (missing: readonly string[]) => string;
|
|
152
|
+
/** The actions the person's role does not allow, in one sentence. */
|
|
153
|
+
denied: (actions: readonly string[]) => string;
|
|
154
|
+
/** Names the host's preview. */
|
|
155
|
+
preview: (name: string) => string;
|
|
156
|
+
galleryTitle: string;
|
|
157
|
+
/** Names the gallery's search and filter region. */
|
|
158
|
+
filters: string;
|
|
159
|
+
search: string;
|
|
160
|
+
moduleFilter: string;
|
|
161
|
+
anyModule: string;
|
|
162
|
+
scopeFilter: string;
|
|
163
|
+
anyScope: string;
|
|
164
|
+
statusFilter: string;
|
|
165
|
+
anyStatus: string;
|
|
166
|
+
view: string;
|
|
167
|
+
grid: string;
|
|
168
|
+
list: string;
|
|
169
|
+
count: (count: number) => string;
|
|
170
|
+
create: string;
|
|
171
|
+
import: string;
|
|
172
|
+
loadFailed: string;
|
|
173
|
+
empty: string;
|
|
174
|
+
emptyDescription: string;
|
|
175
|
+
noMatches: string;
|
|
176
|
+
noMatchesDescription: string;
|
|
177
|
+
clearFilters: string;
|
|
178
|
+
};
|
|
179
|
+
editor: {
|
|
180
|
+
/** A node kind's name: "Step", "Sub-flow", "Go to". */
|
|
181
|
+
kind: (kind: WorkflowNodeKind) => string;
|
|
182
|
+
/** One line on what a kind does, for the palette. */
|
|
183
|
+
kindHint: (kind: WorkflowNodeKind) => string;
|
|
184
|
+
/** A fixed exit's name (`else`, `yes`, `no`, `other`, `pass`, `fail`, `out`); a case's or label's own words come through as they are. */
|
|
185
|
+
exit: (exit: string) => string;
|
|
186
|
+
selector: (selector: WorkflowSelector) => string;
|
|
187
|
+
problemLevel: (level: WorkflowProblemLevel) => string;
|
|
188
|
+
/** One problem, in a sentence. */
|
|
189
|
+
problem: (problem: WorkflowProblem) => string;
|
|
190
|
+
/** Why a connection was refused, for the live region. */
|
|
191
|
+
connect: (reason: WorkflowConnectReason, values: Record<string, string>) => string;
|
|
192
|
+
/** Why a definition or package could not be read. */
|
|
193
|
+
readError: (error: WorkflowReadError) => string;
|
|
194
|
+
canvas: string;
|
|
195
|
+
canvasTools: string;
|
|
196
|
+
add: string;
|
|
197
|
+
/** A palette group that is not a module. */
|
|
198
|
+
paletteGroup: (group: "gates" | "logic" | "judges" | "other") => string;
|
|
199
|
+
customStep: string;
|
|
200
|
+
connectAction: string;
|
|
201
|
+
connectTitle: (node: string) => string;
|
|
202
|
+
connectDescription: string;
|
|
203
|
+
connectFrom: string;
|
|
204
|
+
connectTo: string;
|
|
205
|
+
connectNone: string;
|
|
206
|
+
cancel: string;
|
|
207
|
+
deleteSelection: string;
|
|
208
|
+
arrange: string;
|
|
209
|
+
zoomIn: string;
|
|
210
|
+
zoomOut: string;
|
|
211
|
+
fit: string;
|
|
212
|
+
/** A node's accessible name: kind, label, then what is wrong. */
|
|
213
|
+
nodeName: (kind: string, label: string, blocking: number, warnings: number, notRun: boolean) => string;
|
|
214
|
+
/** An edge's accessible name. */
|
|
215
|
+
edgeName: (kind: "next" | "loop" | "data" | "goto", from: string, to: string, detail?: string) => string;
|
|
216
|
+
/** One line under a node's label saying what it is set to. */
|
|
217
|
+
summary: (node: WorkflowNode, names: WorkflowSummaryNames) => string;
|
|
218
|
+
notRun: string;
|
|
219
|
+
/** A loop's limit, on its edge. */
|
|
220
|
+
loopMax: (max?: number) => string;
|
|
221
|
+
/** A port, with its type. */
|
|
222
|
+
port: (label: string, type: string) => string;
|
|
223
|
+
loopHandle: string;
|
|
224
|
+
loopInHandle: string;
|
|
225
|
+
inHandle: string;
|
|
226
|
+
regionName: (kind: "loop" | "branches", head: string, count: number) => string;
|
|
227
|
+
fold: (name: string) => string;
|
|
228
|
+
unfold: (name: string) => string;
|
|
229
|
+
showInPlace: (label: string) => string;
|
|
230
|
+
hideInPlace: (label: string) => string;
|
|
231
|
+
readOnly: string;
|
|
232
|
+
/** The live region, after an edit or a refusal. */
|
|
233
|
+
connected: (from: string, to: string) => string;
|
|
234
|
+
added: (label: string) => string;
|
|
235
|
+
deleted: (count: number) => string;
|
|
236
|
+
selected: (name: string) => string;
|
|
237
|
+
/** How to work a focused node and edge with the keyboard. */
|
|
238
|
+
nodeHelp: string;
|
|
239
|
+
edgeHelp: string;
|
|
240
|
+
movedLive: (direction: string, x: number, y: number) => string;
|
|
241
|
+
palette: string;
|
|
242
|
+
paletteSearch: string;
|
|
243
|
+
paletteEmpty: string;
|
|
244
|
+
problems: string;
|
|
245
|
+
noProblems: string;
|
|
246
|
+
problemCount: (level: WorkflowProblemLevel, count: number) => string;
|
|
247
|
+
json: string;
|
|
248
|
+
jsonHint: string;
|
|
249
|
+
inspector: string;
|
|
250
|
+
inspectorFor: (kind: string, label: string) => string;
|
|
251
|
+
inspectorEmpty: string;
|
|
252
|
+
workflowDetails: string;
|
|
253
|
+
name: string;
|
|
254
|
+
description: string;
|
|
255
|
+
runInputs: string;
|
|
256
|
+
label: string;
|
|
257
|
+
nodeId: (id: string) => string;
|
|
258
|
+
note: string;
|
|
259
|
+
choose: string;
|
|
260
|
+
hostDefault: string;
|
|
261
|
+
preset: string;
|
|
262
|
+
noPreset: string;
|
|
263
|
+
model: string;
|
|
264
|
+
harness: string;
|
|
265
|
+
effort: string;
|
|
266
|
+
inputs: string;
|
|
267
|
+
outputs: string;
|
|
268
|
+
optional: string;
|
|
269
|
+
addPort: string;
|
|
270
|
+
newPort: string;
|
|
271
|
+
portLabel: string;
|
|
272
|
+
portType: string;
|
|
273
|
+
anyType: string;
|
|
274
|
+
remove: (label: string) => string;
|
|
275
|
+
subflow: string;
|
|
276
|
+
each: string;
|
|
277
|
+
eachHint: string;
|
|
278
|
+
gateKind: string;
|
|
279
|
+
approvers: string;
|
|
280
|
+
roles: string;
|
|
281
|
+
members: string;
|
|
282
|
+
quorum: string;
|
|
283
|
+
quorumHint: string;
|
|
284
|
+
timeoutHours: string;
|
|
285
|
+
onTimeout: string;
|
|
286
|
+
onTimeoutOption: (option: "fail" | "escalate") => string;
|
|
287
|
+
threshold: string;
|
|
288
|
+
rule: string;
|
|
289
|
+
cases: string;
|
|
290
|
+
caseLabel: string;
|
|
291
|
+
addCase: string;
|
|
292
|
+
newCase: (n: number) => string;
|
|
293
|
+
when: (label: string) => string;
|
|
294
|
+
fact: string;
|
|
295
|
+
factNode: string;
|
|
296
|
+
operator: string;
|
|
297
|
+
value: string;
|
|
298
|
+
boolean: (value: boolean) => string;
|
|
299
|
+
target: string;
|
|
300
|
+
limit: string;
|
|
301
|
+
wait: string;
|
|
302
|
+
waitOption: (wait: "all" | "any" | "n") => string;
|
|
303
|
+
waitN: string;
|
|
304
|
+
winner: string;
|
|
305
|
+
evaluator: string;
|
|
306
|
+
variants: string;
|
|
307
|
+
addVariant: string;
|
|
308
|
+
newVariant: (n: number) => string;
|
|
309
|
+
variantLabel: string;
|
|
310
|
+
question: string;
|
|
311
|
+
levels: string;
|
|
312
|
+
levelsHint: string;
|
|
313
|
+
routes: string;
|
|
314
|
+
minConfidence: string;
|
|
315
|
+
minConfidenceHint: string;
|
|
316
|
+
options: string;
|
|
317
|
+
addOption: string;
|
|
318
|
+
newOption: (n: number) => string;
|
|
319
|
+
optionLabel: string;
|
|
320
|
+
optionDescription: string;
|
|
321
|
+
otherExit: string;
|
|
322
|
+
yesAt: string;
|
|
323
|
+
exitIs: (exit: string) => string;
|
|
324
|
+
edgeLabel: string;
|
|
325
|
+
dataFlow: (output: string, input: string) => string;
|
|
326
|
+
until: string;
|
|
327
|
+
deleteNode: (label: string) => string;
|
|
328
|
+
deleteEdge: string;
|
|
329
|
+
};
|
|
330
|
+
workspace: {
|
|
331
|
+
loading: string;
|
|
332
|
+
loadFailed: string;
|
|
333
|
+
actions: string;
|
|
334
|
+
panels: string;
|
|
335
|
+
paletteRegion: string;
|
|
336
|
+
problemsTab: (count: number) => string;
|
|
337
|
+
jsonTab: string;
|
|
338
|
+
flow: string;
|
|
339
|
+
unsaved: string;
|
|
340
|
+
saved: (label?: string) => string;
|
|
341
|
+
live: (label?: string) => string;
|
|
342
|
+
differsFromLive: (label?: string) => string;
|
|
343
|
+
notPublished: string;
|
|
344
|
+
conflict: string;
|
|
345
|
+
conflictDescription: (by?: string, label?: string) => string;
|
|
346
|
+
compare: string;
|
|
347
|
+
compareTitle: string;
|
|
348
|
+
compareDescription: string;
|
|
349
|
+
useTheirs: string;
|
|
350
|
+
keepMine: string;
|
|
351
|
+
save: string;
|
|
352
|
+
saving: string;
|
|
353
|
+
savedNotice: string;
|
|
354
|
+
saveAs: string;
|
|
355
|
+
saveAsTitle: string;
|
|
356
|
+
saveAsDescription: string;
|
|
357
|
+
copyName: (name: string) => string;
|
|
358
|
+
savedAsNotice: (name: string) => string;
|
|
359
|
+
publish: string;
|
|
360
|
+
publishing: string;
|
|
361
|
+
publishTitle: string;
|
|
362
|
+
publishDescription: (label?: string) => string;
|
|
363
|
+
firstPublish: string;
|
|
364
|
+
draftAgainstLive: string;
|
|
365
|
+
publishBlocked: (count: number) => string;
|
|
366
|
+
publishedNotice: string;
|
|
367
|
+
failed: string;
|
|
368
|
+
discard: string;
|
|
369
|
+
discardTitle: string;
|
|
370
|
+
discardDescription: string;
|
|
371
|
+
export: string;
|
|
372
|
+
import: string;
|
|
373
|
+
importTitle: string;
|
|
374
|
+
importDescription: string;
|
|
375
|
+
importAction: string;
|
|
376
|
+
importing: string;
|
|
377
|
+
importedNotice: string;
|
|
378
|
+
importAvailability: (status: WorkflowAvailability["status"]) => string;
|
|
379
|
+
modules: string;
|
|
380
|
+
noModules: string;
|
|
381
|
+
moduleStatus: (status: "available" | "missing" | "version" | "unavailable", installed?: string) => string;
|
|
382
|
+
missingCapabilities: string;
|
|
383
|
+
unknownVocabulary: string;
|
|
384
|
+
unknownGateKind: (id: string) => string;
|
|
385
|
+
unknownFact: (id: string) => string;
|
|
386
|
+
unknownOperator: (id: string) => string;
|
|
387
|
+
disabledNodes: (count: number) => string;
|
|
388
|
+
needsApprovers: string;
|
|
389
|
+
importBlocking: (count: number) => string;
|
|
390
|
+
replaces: string;
|
|
391
|
+
diff: string;
|
|
392
|
+
noChanges: string;
|
|
393
|
+
onlyMoved: (count: number) => string;
|
|
394
|
+
moved: (count: number) => string;
|
|
395
|
+
change: (change: "added" | "removed" | "changed", what: string) => string;
|
|
396
|
+
details: string;
|
|
397
|
+
detail: (key: "name" | "description" | "module" | "main") => string;
|
|
398
|
+
flows: string;
|
|
399
|
+
nodes: string;
|
|
400
|
+
connections: string;
|
|
401
|
+
};
|
|
402
|
+
run: {
|
|
403
|
+
/** The timeline's default name. */
|
|
404
|
+
timeline: string;
|
|
405
|
+
loadFailed: (label: string) => string;
|
|
406
|
+
noStages: string;
|
|
407
|
+
noStagesDescription: string;
|
|
408
|
+
stageStatus: (status: RunStageStatus) => string;
|
|
409
|
+
/** "Attempt 2 of 3", or "Attempt 2" without a limit. */
|
|
410
|
+
attempt: (attempt: number, max?: number) => string;
|
|
411
|
+
startedAt: (time: string) => string;
|
|
412
|
+
duration: (duration: string) => string;
|
|
413
|
+
/** The disclosure for a stage's values. */
|
|
414
|
+
inputsOutputs: (inputs: number, outputs: number) => string;
|
|
415
|
+
inputs: string;
|
|
416
|
+
outputs: string;
|
|
417
|
+
none: string;
|
|
418
|
+
/** A gate in one phrase: what it asks, where it stands, the quorum. */
|
|
419
|
+
gate: (label: string, status: GateStatus, approvals?: number, required?: number) => string;
|
|
420
|
+
artifacts: string;
|
|
421
|
+
noArtifacts: string;
|
|
422
|
+
noArtifactsDescription: string;
|
|
423
|
+
artifactStatus: (status: ArtifactStatus) => string;
|
|
424
|
+
version: (version: string) => string;
|
|
425
|
+
producedBy: (stage: string) => string;
|
|
426
|
+
};
|
|
427
|
+
review: {
|
|
428
|
+
title: string;
|
|
429
|
+
titleFor: (subject: string) => string;
|
|
430
|
+
verdict: (verdict: ReviewVerdict) => string;
|
|
431
|
+
/** The closing decision's line: who decided what, when. */
|
|
432
|
+
decided: (verdict: ReviewDecision["verdict"], by?: string, at?: string) => string;
|
|
433
|
+
approve: string;
|
|
434
|
+
reject: string;
|
|
435
|
+
approveTitle: string;
|
|
436
|
+
approveDescription: string;
|
|
437
|
+
rejectTitle: string;
|
|
438
|
+
rejectDescription: string;
|
|
439
|
+
reasonLabel: string;
|
|
440
|
+
comments: (count: number) => string;
|
|
441
|
+
noComments: string;
|
|
442
|
+
addComment: string;
|
|
443
|
+
post: string;
|
|
444
|
+
commentOn: (anchor: string) => string;
|
|
445
|
+
clearAnchor: string;
|
|
446
|
+
/** A comment's anchor as a button: its visible anchor first (WCAG 2.5.3). */
|
|
447
|
+
goToAnchor: (anchor: string) => string;
|
|
448
|
+
resolved: string;
|
|
449
|
+
};
|
|
450
|
+
media: {
|
|
451
|
+
/** Names the rail of timecoded comments. */
|
|
452
|
+
markers: string;
|
|
453
|
+
/** A timeline marker's name: the timecode first, then who wrote it. */
|
|
454
|
+
timeComment: (timecode: string, author: string) => string;
|
|
455
|
+
/** A region box's name. */
|
|
456
|
+
regionComment: (author: string, timecode?: string) => string;
|
|
457
|
+
commentHere: string;
|
|
458
|
+
drawHint: string;
|
|
459
|
+
count: (count: number) => string;
|
|
460
|
+
/** Starts the keyboard path: drops a box to move and size before commenting on it. */
|
|
461
|
+
markRegion: string;
|
|
462
|
+
/** Names the box being placed. */
|
|
463
|
+
regionBox: string;
|
|
464
|
+
/** How to move, size, confirm and cancel the box from the keyboard. */
|
|
465
|
+
regionHelp: string;
|
|
466
|
+
/** The box's bounds in whole percent of the picture. */
|
|
467
|
+
regionBounds: (left: number, top: number, width: number, height: number) => string;
|
|
468
|
+
confirmRegion: string;
|
|
469
|
+
cancel: string;
|
|
470
|
+
};
|
|
471
|
+
document: {
|
|
472
|
+
changes: (count: number) => string;
|
|
473
|
+
annotations: (count: number) => string;
|
|
474
|
+
/** Names the page navigation. */
|
|
475
|
+
pages: string;
|
|
476
|
+
previousPage: string;
|
|
477
|
+
nextPage: string;
|
|
478
|
+
pageOf: (page: number, total: number) => string;
|
|
479
|
+
/** A block's anchor in words, for a comment: "p. 3, 4.2". */
|
|
480
|
+
anchor: (page: number, clause?: string) => string;
|
|
481
|
+
/** A clause reference as a button: the visible reference first. */
|
|
482
|
+
commentOnClause: (clause: string) => string;
|
|
483
|
+
commentOnBlock: (anchor: string) => string;
|
|
484
|
+
/** Read in place of a redline's colour and strike. */
|
|
485
|
+
inserted: (text: string) => string;
|
|
486
|
+
deleted: (text: string) => string;
|
|
487
|
+
annotationBy: (author: string, anchor: string) => string;
|
|
488
|
+
empty: string;
|
|
489
|
+
signOff: string;
|
|
490
|
+
signOffAction: string;
|
|
491
|
+
signOffStatus: (status: "pending" | "signed" | "declined") => string;
|
|
492
|
+
signOffTitle: (title: string) => string;
|
|
493
|
+
signOffDescription: (role?: string) => string;
|
|
494
|
+
};
|
|
495
|
+
form: {
|
|
496
|
+
source: string;
|
|
497
|
+
/** Names the source page switcher. */
|
|
498
|
+
sourcePage: string;
|
|
499
|
+
page: (page: number) => string;
|
|
500
|
+
fields: string;
|
|
501
|
+
/** A field's box on the source page. */
|
|
502
|
+
fieldOnSource: (label: string) => string;
|
|
503
|
+
/** Progress: confirmed of all, and how many low-confidence fields remain. */
|
|
504
|
+
progress: (done: number, total: number, flagged: number) => string;
|
|
505
|
+
/** Confidence from 0 to 1, in words. */
|
|
506
|
+
confidence: (confidence: number) => string;
|
|
507
|
+
status: (status: "accepted" | "corrected") => string;
|
|
508
|
+
accept: string;
|
|
509
|
+
correct: string;
|
|
510
|
+
/** An action's accessible name: its visible label first, then the field. */
|
|
511
|
+
actionName: (label: string, field: string) => string;
|
|
512
|
+
correctLabel: (label: string) => string;
|
|
513
|
+
extracted: (value: string) => string;
|
|
514
|
+
save: string;
|
|
515
|
+
cancel: string;
|
|
516
|
+
/** A field extraction found nothing in. */
|
|
517
|
+
empty: string;
|
|
105
518
|
};
|
|
106
519
|
}
|
|
107
520
|
export declare const defaultMessages: Messages;
|