@w6w/ui 0.2.66 → 0.2.68
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/CHANGELOG.md +19 -1
- package/README.md +5 -3
- package/dist/{CodeBlock-C1IC5_6O.cjs → CodeBlock-85y9qvE3.cjs} +4 -4
- package/dist/{CodeBlock-C1IC5_6O.cjs.map → CodeBlock-85y9qvE3.cjs.map} +1 -1
- package/dist/{CodeBlock-CsdRXzb0.js → CodeBlock-a5QVaIGk.js} +158 -131
- package/dist/{CodeBlock-CsdRXzb0.js.map → CodeBlock-a5QVaIGk.js.map} +1 -1
- package/dist/FormBuilder.d.ts +19 -0
- package/dist/ManualWebhookPanel.d.ts +34 -0
- package/dist/NodeConfigForm.d.ts +8 -2
- package/dist/StepBuilderModal.d.ts +2 -0
- package/dist/TriggerFillForm.d.ts +3 -0
- package/dist/WebhookListenPanel.d.ts +8 -1
- package/dist/code.cjs +1 -1
- package/dist/code.mjs +1 -1
- package/dist/components/AuthFieldsForm.d.ts +10 -0
- package/dist/components/AuthGuide.d.ts +19 -1
- package/dist/components/CallableList.d.ts +30 -4
- package/dist/components/Combobox.d.ts +5 -0
- package/dist/components/ExecutionLogDock.d.ts +44 -0
- package/dist/components/ExecutionLogPanel.d.ts +66 -0
- package/dist/components/ExecutionLogView.d.ts +30 -0
- package/dist/components/ExpressionOptions.d.ts +22 -0
- package/dist/components/icons.d.ts +1 -1
- package/dist/connection-app-meta-DID4zDg-.cjs +29 -0
- package/dist/connection-app-meta-DID4zDg-.cjs.map +1 -0
- package/dist/{connection-app-meta-CKBbgN7e.js → connection-app-meta-mmyKM3H9.js} +5725 -4161
- package/dist/connection-app-meta-mmyKM3H9.js.map +1 -0
- package/dist/dynamic-fields.d.ts +3 -0
- package/dist/flow-types.d.ts +27 -1
- package/dist/flow.cjs +8 -5
- package/dist/flow.cjs.map +1 -1
- package/dist/flow.mjs +3681 -2463
- package/dist/flow.mjs.map +1 -1
- package/dist/form-schema.d.ts +270 -0
- package/dist/form-trigger.d.ts +8 -0
- package/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +8 -4
- package/dist/index.mjs +1766 -1343
- package/dist/index.mjs.map +1 -1
- package/dist/provider.d.ts +14 -0
- package/dist/resolve-params.d.ts +2 -0
- package/dist/types.d.ts +17 -1
- package/dist/workflow-connections.d.ts +11 -0
- package/package.json +2 -2
- package/src/styles/_callable-list.scss +37 -3
- package/src/styles/_connections.scss +29 -0
- package/src/styles/_execution-log-view.scss +322 -0
- package/src/styles/_expression-modal.scss +7 -0
- package/src/styles/_form-builder.scss +245 -0
- package/src/styles/_sections.scss +29 -0
- package/src/styles.css +725 -7
- package/src/styles.scss +2 -0
- package/dist/connection-app-meta-CKBbgN7e.js.map +0 -1
- package/dist/connection-app-meta-DfA6Yqhh.cjs +0 -28
- package/dist/connection-app-meta-DfA6Yqhh.cjs.map +0 -1
package/dist/provider.d.ts
CHANGED
|
@@ -298,6 +298,13 @@ export interface W6WApi {
|
|
|
298
298
|
resolveActionFields?(appId: string, actionKey: string, body: ResolveFieldsBody, opts?: {
|
|
299
299
|
signal?: AbortSignal;
|
|
300
300
|
}): Promise<ResolveFieldsResult>;
|
|
301
|
+
/**
|
|
302
|
+
* OPTIONAL: the same for a TRIGGER's subscription form (`POST /apps/:id/triggers/:key/fields`).
|
|
303
|
+
* Absent, a trigger's `source: "resolveFields"` params render as plain inputs.
|
|
304
|
+
*/
|
|
305
|
+
resolveTriggerFields?(appId: string, triggerKey: string, body: ResolveFieldsBody, opts?: {
|
|
306
|
+
signal?: AbortSignal;
|
|
307
|
+
}): Promise<ResolveFieldsResult>;
|
|
301
308
|
/** Load auth methods declared by an app's manifest, with availability flags. */
|
|
302
309
|
getAppAuth(appId: string): Promise<AuthDef[]>;
|
|
303
310
|
/** Create a non-OAuth connection with a user-supplied credential. */
|
|
@@ -389,6 +396,8 @@ export interface W6WApi {
|
|
|
389
396
|
* webhook node's `url`) as on a run. The host reads only the caller's own workflows.
|
|
390
397
|
*/
|
|
391
398
|
workflowId?: string;
|
|
399
|
+
/** Per-call time limit in ms; absent = the server default. */
|
|
400
|
+
timeoutMs?: number;
|
|
392
401
|
}): Promise<{
|
|
393
402
|
value: unknown;
|
|
394
403
|
logs?: string[];
|
|
@@ -608,6 +617,11 @@ export interface W6WApi {
|
|
|
608
617
|
params?: Record<string, unknown>;
|
|
609
618
|
/** Poll triggers only, in milliseconds. */
|
|
610
619
|
intervalMs?: number;
|
|
620
|
+
/**
|
|
621
|
+
* The trigger node this row feeds. The server keeps ONE row per node (a repeat create
|
|
622
|
+
* answers the existing row) and leaves it pending until the node is published.
|
|
623
|
+
*/
|
|
624
|
+
nodeId?: string;
|
|
611
625
|
}): Promise<SubscriptionSummary>;
|
|
612
626
|
}
|
|
613
627
|
export interface W6WUIProviderProps {
|
package/dist/resolve-params.d.ts
CHANGED
|
@@ -50,6 +50,8 @@ export interface ResolveScope {
|
|
|
50
50
|
/** The SAME object as {@link vars}: `state`, `var` and `vars` are one tree (optional: hand-built scopes omit it). */
|
|
51
51
|
state?: Record<string, unknown>;
|
|
52
52
|
documents: Record<string, unknown>;
|
|
53
|
+
/** The workflow's bound connections, read as `connections.<name>.<field>`. */
|
|
54
|
+
connections?: Record<string, unknown>;
|
|
53
55
|
/** Account constants, read as `const.<name>`. */
|
|
54
56
|
constants?: Record<string, unknown>;
|
|
55
57
|
steps: Record<string, {
|
package/dist/types.d.ts
CHANGED
|
@@ -52,6 +52,16 @@ export interface TriggerSummary {
|
|
|
52
52
|
output?: unknown;
|
|
53
53
|
/** A representative event payload the app declares (never fabricated). */
|
|
54
54
|
sample?: unknown;
|
|
55
|
+
/** A manual webhook: the user adds its URL in the vendor by hand (rfcs/trigger.md 2026-11-22). */
|
|
56
|
+
webhook?: WebhookSetup;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* How a webhook trigger's URL reaches the vendor. `"manual"`: the user pastes it into the vendor's
|
|
60
|
+
* own settings, following `instructions` (plain text, one step per line).
|
|
61
|
+
*/
|
|
62
|
+
export interface WebhookSetup {
|
|
63
|
+
registration: "manual";
|
|
64
|
+
instructions?: string;
|
|
55
65
|
}
|
|
56
66
|
/** A Subscription (rfcs/trigger.md) as returned by the console subscription routes. */
|
|
57
67
|
export interface SubscriptionSummary {
|
|
@@ -60,8 +70,12 @@ export interface SubscriptionSummary {
|
|
|
60
70
|
triggerKey: string;
|
|
61
71
|
workflowId: string;
|
|
62
72
|
connectionId: string | null;
|
|
63
|
-
/**
|
|
73
|
+
/** The server's own computed receive URL — on every webhook-type subscription, any app. */
|
|
64
74
|
webhookUrl?: string;
|
|
75
|
+
/** Present only for `appId === "@w6w/form"` — the public form page's URL. */
|
|
76
|
+
formUrl?: string;
|
|
77
|
+
/** The subscription's params (sealed secrets masked). A form one names its node as `node`. */
|
|
78
|
+
params?: Record<string, unknown>;
|
|
65
79
|
type?: "webhook" | "poll" | "protocol";
|
|
66
80
|
status?: SubscriptionStatus;
|
|
67
81
|
/** Poll interval in milliseconds; null for webhook subscriptions. */
|
|
@@ -314,6 +328,8 @@ export interface ActionDef {
|
|
|
314
328
|
in?: number | "many";
|
|
315
329
|
out?: number | "many";
|
|
316
330
|
};
|
|
331
|
+
/** App triggers only: a manual webhook, whose URL the user adds in the vendor. */
|
|
332
|
+
webhook?: WebhookSetup;
|
|
317
333
|
}
|
|
318
334
|
/**
|
|
319
335
|
* Summary of a registered Function, as returned by GET /functions (core
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ExpressionConnectionSource } from './components/ExpressionOptions.tsx';
|
|
1
2
|
import { FlowStep, FlowWorkflow } from './flow-types.ts';
|
|
2
3
|
import { AppSummary, AuthDef, ConnectionSummary } from './types.ts';
|
|
3
4
|
export type FlowConnections = Record<string, {
|
|
@@ -76,3 +77,13 @@ export declare function defaultConnectionFor(step: FlowStep, choices: Connection
|
|
|
76
77
|
export declare function withDefaultConnection(appId: string, auths: AuthDef[], choices: ConnectionSummary[]): ConnectionSummary[];
|
|
77
78
|
/** Change every binding used by the displayed account's consumers, retaining reference keys. */
|
|
78
79
|
export declare function replaceWorkflowConnection(app: string, before: string, after: string, nodes: FlowStep[], connections: FlowConnections): FlowConnections;
|
|
80
|
+
/**
|
|
81
|
+
* The expression picker's "Connections" section and its preview values: one source per binding,
|
|
82
|
+
* with the fields a run reads at `connections.<name>` (`id`, `app`, `name`, `state`, `profile.*`).
|
|
83
|
+
* A binding whose connection is unbound or not (yet) loaded still lists its fixed fields, so the
|
|
84
|
+
* author can write the ref before the account is picked; the run fills it.
|
|
85
|
+
*/
|
|
86
|
+
export declare function connectionExpressionSources(connections: FlowConnections, summaries: ReadonlyMap<string, ConnectionSummary>, apps: ReadonlyMap<string, Pick<AppSummary, "displayName">>): {
|
|
87
|
+
sources: ExpressionConnectionSource[];
|
|
88
|
+
sampleValues: Record<string, unknown>;
|
|
89
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w6w/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.68",
|
|
4
4
|
"description": "React components for w6w — central API management. Build plugins, apps and integrations on them.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://w6w.io",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@codemirror/state": "^6.5.0",
|
|
73
73
|
"@codemirror/view": "^6.35.0",
|
|
74
74
|
"@uiw/react-codemirror": "^4.23.7",
|
|
75
|
-
"@w6w/expr": "^0.1.
|
|
75
|
+
"@w6w/expr": "^0.1.7",
|
|
76
76
|
"@xyflow/react": "^12.3.6",
|
|
77
77
|
"prism-react-renderer": "^2.4.1",
|
|
78
78
|
"react-markdown": "^10.1.0",
|
|
@@ -21,11 +21,45 @@
|
|
|
21
21
|
.w6w-callable-list-description {
|
|
22
22
|
margin: 0;
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
/* Status tabs (All · Active · Draft · Archived) on the left, the search box on the right;
|
|
25
|
+
they wrap onto two lines on a narrow panel. */
|
|
26
|
+
.w6w-callable-list-filters {
|
|
25
27
|
display: flex;
|
|
28
|
+
flex-wrap: wrap;
|
|
26
29
|
align-items: center;
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
gap: var(--w6w-sp-2) var(--w6w-sp-3);
|
|
32
|
+
}
|
|
33
|
+
/* A fieldset (the tab group), reset to the segmented box `.w6w-subtabs` draws. */
|
|
34
|
+
.w6w-callable-list-tabs {
|
|
35
|
+
margin: 0;
|
|
36
|
+
min-width: 0;
|
|
37
|
+
}
|
|
38
|
+
.w6w-callable-list-filters .w6w-subtab {
|
|
39
|
+
display: inline-flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: var(--w6w-sp-1-5);
|
|
42
|
+
}
|
|
43
|
+
.w6w-callable-list-count {
|
|
44
|
+
font-size: 11px;
|
|
45
|
+
font-variant-numeric: tabular-nums;
|
|
46
|
+
color: var(--w6w-muted);
|
|
47
|
+
}
|
|
48
|
+
/* Same box as `.w6w-field` inputs: no host page styles a bare search input. */
|
|
49
|
+
.w6w-callable-list-search {
|
|
50
|
+
flex: 0 1 240px;
|
|
51
|
+
min-width: 160px;
|
|
52
|
+
background: var(--w6w-panel-2);
|
|
53
|
+
border: 1px solid var(--w6w-border);
|
|
54
|
+
border-radius: 8px;
|
|
55
|
+
padding: var(--w6w-sp-1-5) var(--w6w-sp-2-5);
|
|
56
|
+
color: var(--w6w-text);
|
|
57
|
+
font-size: var(--w6w-fs-sm);
|
|
58
|
+
font-family: inherit;
|
|
59
|
+
}
|
|
60
|
+
.w6w-callable-list-search:focus {
|
|
61
|
+
outline: none;
|
|
62
|
+
border-color: var(--w6w-accent);
|
|
29
63
|
}
|
|
30
64
|
.w6w-callable-list-actions {
|
|
31
65
|
display: flex;
|
|
@@ -363,3 +363,32 @@
|
|
|
363
363
|
.w6w-keyfile code {
|
|
364
364
|
user-select: all;
|
|
365
365
|
}
|
|
366
|
+
|
|
367
|
+
/* AddConnectionModal / EditConnectionModal: domain-wide delegation, spelled out. */
|
|
368
|
+
.w6w-delegation {
|
|
369
|
+
display: flex;
|
|
370
|
+
flex-direction: column;
|
|
371
|
+
gap: var(--w6w-sp-2);
|
|
372
|
+
padding: var(--w6w-sp-3);
|
|
373
|
+
border: 1px solid var(--w6w-border);
|
|
374
|
+
border-radius: var(--w6w-radius);
|
|
375
|
+
background: var(--w6w-panel-2);
|
|
376
|
+
font-size: var(--w6w-fs-sm);
|
|
377
|
+
}
|
|
378
|
+
.w6w-delegation h4 {
|
|
379
|
+
margin: 0;
|
|
380
|
+
font-size: var(--w6w-fs-sm);
|
|
381
|
+
}
|
|
382
|
+
.w6w-delegation ol {
|
|
383
|
+
margin: 0;
|
|
384
|
+
padding-left: var(--w6w-sp-4);
|
|
385
|
+
display: flex;
|
|
386
|
+
flex-direction: column;
|
|
387
|
+
gap: var(--w6w-sp-2);
|
|
388
|
+
}
|
|
389
|
+
.w6w-delegation .w6w-scopes {
|
|
390
|
+
margin-top: var(--w6w-sp-1);
|
|
391
|
+
}
|
|
392
|
+
.w6w-delegation .w6w-scopes code {
|
|
393
|
+
background: var(--w6w-panel);
|
|
394
|
+
}
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
/* --- ExecutionLogView: a run's log as two columns ------------------------- */
|
|
2
|
+
/* Left: the steps in execution order. Right: the picked step's timing, error, input and output.
|
|
3
|
+
The view fills its host's box (a docked panel, a floating window, a page) and each column
|
|
4
|
+
scrolls on its own, so a long step list never pushes the detail out of view. */
|
|
5
|
+
.w6w-log-view {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
height: 100%;
|
|
9
|
+
min-height: 0;
|
|
10
|
+
min-width: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.w6w-log-view-is-empty {
|
|
14
|
+
gap: var(--w6w-sp-3);
|
|
15
|
+
padding: var(--w6w-sp-3);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.w6w-log-view-errors {
|
|
19
|
+
flex: 0 0 auto;
|
|
20
|
+
padding: var(--w6w-sp-2) var(--w6w-sp-3);
|
|
21
|
+
border-bottom: 1px solid var(--w6w-border);
|
|
22
|
+
max-height: 30%;
|
|
23
|
+
overflow: auto;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.w6w-log-view-cols {
|
|
27
|
+
display: grid;
|
|
28
|
+
grid-template-columns: minmax(200px, 30%) minmax(0, 1fr);
|
|
29
|
+
flex: 1 1 auto;
|
|
30
|
+
min-height: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.w6w-log-view-list-col {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
gap: var(--w6w-sp-3);
|
|
37
|
+
min-height: 0;
|
|
38
|
+
overflow: auto;
|
|
39
|
+
padding: var(--w6w-sp-2);
|
|
40
|
+
border-right: 1px solid var(--w6w-border);
|
|
41
|
+
background: var(--w6w-panel-2);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.w6w-log-view-list {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
gap: var(--w6w-sp-0-5);
|
|
48
|
+
list-style: none;
|
|
49
|
+
margin: 0;
|
|
50
|
+
padding: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.w6w-log-view-item {
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
gap: var(--w6w-sp-2);
|
|
57
|
+
width: 100%;
|
|
58
|
+
padding: var(--w6w-sp-1-5) var(--w6w-sp-2);
|
|
59
|
+
border: 1px solid transparent;
|
|
60
|
+
border-radius: 6px;
|
|
61
|
+
background: transparent;
|
|
62
|
+
color: var(--w6w-text);
|
|
63
|
+
font: inherit;
|
|
64
|
+
text-align: left;
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
}
|
|
67
|
+
.w6w-log-view-item:hover {
|
|
68
|
+
background: color-mix(in srgb, var(--w6w-text) 6%, transparent);
|
|
69
|
+
}
|
|
70
|
+
.w6w-log-view-item:focus-visible {
|
|
71
|
+
outline: 2px solid var(--w6w-accent);
|
|
72
|
+
outline-offset: -2px;
|
|
73
|
+
}
|
|
74
|
+
.w6w-log-view-item-selected,
|
|
75
|
+
.w6w-log-view-item-selected:hover {
|
|
76
|
+
background: var(--w6w-panel);
|
|
77
|
+
border-color: var(--w6w-border);
|
|
78
|
+
}
|
|
79
|
+
/* A failed step reads as failed in the list even before it is picked — the dot alone is colour,
|
|
80
|
+
and colour is never the only signal, so its label turns danger too. */
|
|
81
|
+
.w6w-log-view-item[data-status="failed"] .w6w-log-view-item-label {
|
|
82
|
+
color: var(--w6w-danger);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* The status dot reuses StepStatusPill's per-state colour (`--w6w-step-color`), not its shape. */
|
|
86
|
+
.w6w-log-view-dot {
|
|
87
|
+
flex-shrink: 0;
|
|
88
|
+
width: 8px;
|
|
89
|
+
height: 8px;
|
|
90
|
+
border-radius: 50%;
|
|
91
|
+
background: var(--w6w-step-color);
|
|
92
|
+
}
|
|
93
|
+
.w6w-log-view-dot.w6w-step-pill-skipped {
|
|
94
|
+
background: transparent;
|
|
95
|
+
border: 1px dashed var(--w6w-step-color);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.w6w-log-view-item-title {
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
flex: 1 1 auto;
|
|
102
|
+
min-width: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.w6w-log-view-item-label,
|
|
106
|
+
.w6w-log-view-item-uses {
|
|
107
|
+
overflow: hidden;
|
|
108
|
+
text-overflow: ellipsis;
|
|
109
|
+
white-space: nowrap;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.w6w-log-view-item-label {
|
|
113
|
+
font-size: var(--w6w-fs-sm);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.w6w-log-view-item-uses,
|
|
117
|
+
.w6w-log-view-item-time {
|
|
118
|
+
color: var(--w6w-muted);
|
|
119
|
+
font-size: var(--w6w-fs-xs);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.w6w-log-view-item-time {
|
|
123
|
+
flex-shrink: 0;
|
|
124
|
+
font-variant-numeric: tabular-nums;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.w6w-log-view-detail-col {
|
|
128
|
+
min-width: 0;
|
|
129
|
+
min-height: 0;
|
|
130
|
+
overflow: auto;
|
|
131
|
+
padding: var(--w6w-sp-3);
|
|
132
|
+
container-type: inline-size;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.w6w-log-view-detail-head {
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
flex-wrap: wrap;
|
|
139
|
+
gap: var(--w6w-sp-2);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.w6w-log-view-detail-title {
|
|
143
|
+
display: flex;
|
|
144
|
+
flex-direction: column;
|
|
145
|
+
flex: 1 1 auto;
|
|
146
|
+
min-width: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.w6w-log-view-timing {
|
|
150
|
+
display: flex;
|
|
151
|
+
flex-wrap: wrap;
|
|
152
|
+
gap: var(--w6w-sp-1) var(--w6w-sp-6);
|
|
153
|
+
margin: 0;
|
|
154
|
+
font-size: var(--w6w-fs-xs);
|
|
155
|
+
|
|
156
|
+
> div {
|
|
157
|
+
display: flex;
|
|
158
|
+
flex-direction: column;
|
|
159
|
+
gap: var(--w6w-sp-0-5);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
dt {
|
|
163
|
+
color: var(--w6w-muted);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
dd {
|
|
167
|
+
margin: 0;
|
|
168
|
+
font-family: var(--w6w-font-mono);
|
|
169
|
+
font-variant-numeric: tabular-nums;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* Input and Output side by side once the detail column is wide enough to read two payloads. */
|
|
174
|
+
.w6w-log-view-io {
|
|
175
|
+
display: grid;
|
|
176
|
+
grid-template-columns: minmax(0, 1fr);
|
|
177
|
+
gap: var(--w6w-sp-3);
|
|
178
|
+
}
|
|
179
|
+
@container (min-width: 640px) {
|
|
180
|
+
.w6w-log-view-io {
|
|
181
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* --- ExecutionLogDock: the bottom bar that slides the log up ------------- */
|
|
186
|
+
.w6w-log-dock {
|
|
187
|
+
position: relative;
|
|
188
|
+
display: flex;
|
|
189
|
+
flex-direction: column;
|
|
190
|
+
flex: 0 0 auto;
|
|
191
|
+
min-width: 0;
|
|
192
|
+
background: var(--w6w-panel);
|
|
193
|
+
border-top: 1px solid var(--w6w-border);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.w6w-log-dock-bar {
|
|
197
|
+
display: flex;
|
|
198
|
+
align-items: center;
|
|
199
|
+
gap: var(--w6w-sp-3);
|
|
200
|
+
min-height: 36px;
|
|
201
|
+
padding: 0 var(--w6w-sp-2);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.w6w-log-dock-open .w6w-log-dock-bar {
|
|
205
|
+
border-bottom: 1px solid var(--w6w-border);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.w6w-log-dock-toggle {
|
|
209
|
+
display: inline-flex;
|
|
210
|
+
align-items: center;
|
|
211
|
+
gap: var(--w6w-sp-1-5);
|
|
212
|
+
padding: var(--w6w-sp-1) var(--w6w-sp-2);
|
|
213
|
+
border: none;
|
|
214
|
+
border-radius: 6px;
|
|
215
|
+
background: transparent;
|
|
216
|
+
color: var(--w6w-text);
|
|
217
|
+
font: inherit;
|
|
218
|
+
font-size: var(--w6w-fs-sm);
|
|
219
|
+
font-weight: var(--w6w-fw-semibold);
|
|
220
|
+
cursor: pointer;
|
|
221
|
+
}
|
|
222
|
+
.w6w-log-dock-toggle:hover {
|
|
223
|
+
background: var(--w6w-panel-2);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.w6w-log-dock-summary {
|
|
227
|
+
display: flex;
|
|
228
|
+
align-items: center;
|
|
229
|
+
gap: var(--w6w-sp-2);
|
|
230
|
+
flex: 1 1 auto;
|
|
231
|
+
min-width: 0;
|
|
232
|
+
color: var(--w6w-muted);
|
|
233
|
+
font-size: var(--w6w-fs-xs);
|
|
234
|
+
overflow: hidden;
|
|
235
|
+
white-space: nowrap;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.w6w-log-dock-actions {
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
gap: var(--w6w-sp-0-5);
|
|
242
|
+
margin-left: auto;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.w6w-log-dock-body {
|
|
246
|
+
min-height: 0;
|
|
247
|
+
overflow: hidden;
|
|
248
|
+
}
|
|
249
|
+
.w6w-log-dock-body[hidden] {
|
|
250
|
+
display: none;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/* The split handle: a thin strip on the dock's top edge, wider to grab than it looks. */
|
|
254
|
+
.w6w-log-dock-resize {
|
|
255
|
+
position: absolute;
|
|
256
|
+
top: -4px;
|
|
257
|
+
left: 0;
|
|
258
|
+
right: 0;
|
|
259
|
+
height: 8px;
|
|
260
|
+
cursor: ns-resize;
|
|
261
|
+
z-index: 1;
|
|
262
|
+
touch-action: none;
|
|
263
|
+
}
|
|
264
|
+
.w6w-log-dock-resize:hover,
|
|
265
|
+
.w6w-log-dock-resize:focus-visible {
|
|
266
|
+
outline: none;
|
|
267
|
+
background: linear-gradient(
|
|
268
|
+
to bottom,
|
|
269
|
+
transparent 3px,
|
|
270
|
+
var(--w6w-accent) 3px,
|
|
271
|
+
var(--w6w-accent) 5px,
|
|
272
|
+
transparent 5px
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/* In-page floating window: where the browser blocks the pop-out window. */
|
|
277
|
+
.w6w-log-float {
|
|
278
|
+
position: fixed;
|
|
279
|
+
z-index: 40;
|
|
280
|
+
display: flex;
|
|
281
|
+
flex-direction: column;
|
|
282
|
+
width: min(900px, calc(100vw - 32px));
|
|
283
|
+
height: min(560px, calc(100vh - 96px));
|
|
284
|
+
min-width: 360px;
|
|
285
|
+
min-height: 200px;
|
|
286
|
+
resize: both;
|
|
287
|
+
overflow: hidden;
|
|
288
|
+
background: var(--w6w-panel);
|
|
289
|
+
border: 1px solid var(--w6w-border);
|
|
290
|
+
border-radius: var(--w6w-radius);
|
|
291
|
+
box-shadow: 0 12px 32px rgb(0 0 0 / 0.22);
|
|
292
|
+
|
|
293
|
+
> .w6w-log-dock-body {
|
|
294
|
+
flex: 1 1 auto;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.w6w-log-float-head {
|
|
299
|
+
display: flex;
|
|
300
|
+
align-items: center;
|
|
301
|
+
gap: var(--w6w-sp-2);
|
|
302
|
+
padding: var(--w6w-sp-1) var(--w6w-sp-2) var(--w6w-sp-1) var(--w6w-sp-3);
|
|
303
|
+
border-bottom: 1px solid var(--w6w-border);
|
|
304
|
+
cursor: move;
|
|
305
|
+
user-select: none;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/* The popped-out browser window: the log fills it. */
|
|
309
|
+
.w6w-log-window-body {
|
|
310
|
+
margin: 0;
|
|
311
|
+
height: 100vh;
|
|
312
|
+
background: var(--w6w-panel);
|
|
313
|
+
color: var(--w6w-text);
|
|
314
|
+
font-family: var(--w6w-font-sans);
|
|
315
|
+
}
|
|
316
|
+
.w6w-log-window {
|
|
317
|
+
height: 100%;
|
|
318
|
+
|
|
319
|
+
> .w6w-log-dock-body {
|
|
320
|
+
height: 100%;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
@@ -143,6 +143,13 @@
|
|
|
143
143
|
}
|
|
144
144
|
/* A step's per-field sources, nested under its whole-output source, so three
|
|
145
145
|
upstream steps x four fields reads as a tree rather than a flat wall. */
|
|
146
|
+
/* A Connections binding's app · account caption, under its row (`ExpressionEditorModal`). */
|
|
147
|
+
.w6w-exprmodal-connection-note {
|
|
148
|
+
margin: -2px 0 2px 22px;
|
|
149
|
+
overflow: hidden;
|
|
150
|
+
text-overflow: ellipsis;
|
|
151
|
+
white-space: nowrap;
|
|
152
|
+
}
|
|
146
153
|
.w6w-exprmodal-subsources {
|
|
147
154
|
display: flex;
|
|
148
155
|
flex-direction: column;
|