@w6w/ui 0.2.60 → 0.2.62
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 +7 -0
- package/dist/AddConnectionModal.d.ts +7 -6
- package/dist/components/CredentialPicker.d.ts +15 -6
- package/dist/components/ExpressionOptions.d.ts +8 -0
- package/dist/{connection-app-meta-CEkQSIlc.js → connection-app-meta-CIfXp2O-.js} +5466 -4945
- package/dist/connection-app-meta-CIfXp2O-.js.map +1 -0
- package/dist/connection-app-meta-Cn39S3ED.cjs +24 -0
- package/dist/connection-app-meta-Cn39S3ED.cjs.map +1 -0
- package/dist/credentialLinkContext.d.ts +8 -0
- package/dist/flow-loop.d.ts +7 -2
- package/dist/flow-types.d.ts +12 -0
- package/dist/flow.cjs +5 -5
- package/dist/flow.cjs.map +1 -1
- package/dist/flow.mjs +1270 -1208
- package/dist/flow.mjs.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +833 -866
- package/dist/index.mjs.map +1 -1
- package/dist/provider.d.ts +5 -0
- package/dist/resolve-params.d.ts +4 -0
- package/dist/step-preview-state.d.ts +13 -7
- package/dist/types.d.ts +6 -0
- package/package.json +1 -1
- package/src/styles/_tester.scss +8 -0
- package/src/styles.css +10 -0
- package/dist/connection-app-meta-BXCIgekK.cjs +0 -24
- package/dist/connection-app-meta-BXCIgekK.cjs.map +0 -1
- package/dist/connection-app-meta-CEkQSIlc.js.map +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lets a host say, once and app-wide, where "Create a shared credential" goes. The connect form's
|
|
3
|
+
* empty "Use existing" state offers that link; `AddConnectionModal` takes its
|
|
4
|
+
* `onCreateSharedCredential` prop first and this context second, so every mount of the modal
|
|
5
|
+
* (including the ones inside the step builder and the workflow connection panels) gets the link
|
|
6
|
+
* once a host provides it. `undefined` (the default) means no link: the form shows the hint only.
|
|
7
|
+
*/
|
|
8
|
+
export declare const CreateSharedCredentialContext: import('react').Context<(() => void) | undefined>;
|
package/dist/flow-loop.d.ts
CHANGED
|
@@ -40,8 +40,13 @@ export declare function isPlainBody(body: readonly string[], edges: readonly Edg
|
|
|
40
40
|
export declare function loopBodyDefinitionEdges(nodes: readonly StepNode[], edges: readonly Edge[]): FlowEdge[];
|
|
41
41
|
/** Every foreach's body, handled in `nodes` order so emitted bodies are disjoint (P6). */
|
|
42
42
|
export declare function loopBodies(nodes: readonly StepNode[], edges: readonly Edge[]): Map<string, string[]>;
|
|
43
|
-
/** `bodyStepId → foreachId` over the whole canvas. */
|
|
43
|
+
/** `bodyStepId → innermost foreachId` over the whole canvas. */
|
|
44
44
|
export declare function loopMembership(nodes: readonly StepNode[], edges: readonly Edge[]): Record<string, string>;
|
|
45
|
+
/**
|
|
46
|
+
* The For each ids enclosing `stepId`, outermost first (`[]` for a top-level step). The
|
|
47
|
+
* last entry is the innermost owner, i.e. `data.loopOf`.
|
|
48
|
+
*/
|
|
49
|
+
export declare function loopChain(stepId: string, nodes: readonly StepNode[], edges: readonly Edge[]): string[];
|
|
45
50
|
/**
|
|
46
51
|
* The edge set after deleting step `id` (D-A4). A body step with exactly one inbound
|
|
47
52
|
* and one outbound each-lane edge is bridged (`prev → next`, each lane, keeping the
|
|
@@ -62,7 +67,7 @@ export type LoopRefusalReason = "error_lane_in_body" | "outside_inbound" | "loop
|
|
|
62
67
|
* connect from a body node arrives as `"each"`). First match wins. Pure; run on the
|
|
63
68
|
* INPUT edges, never a post-eviction set.
|
|
64
69
|
*/
|
|
65
|
-
export declare function loopRefusal(source: string, target: string, lane: "success" | "error" | "each", nodes: StepNode[], edges: Edge[]): LoopRefusalReason | null;
|
|
70
|
+
export declare function loopRefusal(source: string, target: string, lane: "success" | "error" | "each", nodes: StepNode[], edges: Edge[], route?: string): LoopRefusalReason | null;
|
|
66
71
|
export declare function loopRefusalMessage(reason: LoopRefusalReason): string;
|
|
67
72
|
/**
|
|
68
73
|
* Set or clear `data.loopOf` from {@link loopMembership}. Same array reference when
|
package/dist/flow-types.d.ts
CHANGED
|
@@ -324,6 +324,18 @@ export declare const REGEX_APP = "@w6w/regex";
|
|
|
324
324
|
* `@w6w/store` internal-app manifest (pinned by `store-node-parity.test.ts`).
|
|
325
325
|
*/
|
|
326
326
|
export declare const STORE_APP = "@w6w/store";
|
|
327
|
+
/**
|
|
328
|
+
* Build, edit and serialise CSV tables (`{ columns, rows }`). Host node, like
|
|
329
|
+
* {@link REGEX_APP}: pure computation, no scope param. The params mirror the
|
|
330
|
+
* `@w6w/csv` internal-app manifest (pinned by `csv-node-parity.test.ts`).
|
|
331
|
+
*/
|
|
332
|
+
export declare const CSV_APP = "@w6w/csv";
|
|
333
|
+
/**
|
|
334
|
+
* Save a file under a path in the run's own account and project. Host node,
|
|
335
|
+
* like {@link STORE_APP}: scope is bound host-side. The params mirror the
|
|
336
|
+
* `@w6w/files` internal-app manifest (pinned by `files-node-parity.test.ts`).
|
|
337
|
+
*/
|
|
338
|
+
export declare const FILES_APP = "@w6w/files";
|
|
327
339
|
/** End the whole workflow successfully when its optional condition matches. */
|
|
328
340
|
export declare const STOP_APP = "@w6w/stop";
|
|
329
341
|
export declare const ROUTER_APP = "@w6w/router";
|