@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.
Files changed (56) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/README.md +5 -3
  3. package/dist/{CodeBlock-C1IC5_6O.cjs → CodeBlock-85y9qvE3.cjs} +4 -4
  4. package/dist/{CodeBlock-C1IC5_6O.cjs.map → CodeBlock-85y9qvE3.cjs.map} +1 -1
  5. package/dist/{CodeBlock-CsdRXzb0.js → CodeBlock-a5QVaIGk.js} +158 -131
  6. package/dist/{CodeBlock-CsdRXzb0.js.map → CodeBlock-a5QVaIGk.js.map} +1 -1
  7. package/dist/FormBuilder.d.ts +19 -0
  8. package/dist/ManualWebhookPanel.d.ts +34 -0
  9. package/dist/NodeConfigForm.d.ts +8 -2
  10. package/dist/StepBuilderModal.d.ts +2 -0
  11. package/dist/TriggerFillForm.d.ts +3 -0
  12. package/dist/WebhookListenPanel.d.ts +8 -1
  13. package/dist/code.cjs +1 -1
  14. package/dist/code.mjs +1 -1
  15. package/dist/components/AuthFieldsForm.d.ts +10 -0
  16. package/dist/components/AuthGuide.d.ts +19 -1
  17. package/dist/components/CallableList.d.ts +30 -4
  18. package/dist/components/Combobox.d.ts +5 -0
  19. package/dist/components/ExecutionLogDock.d.ts +44 -0
  20. package/dist/components/ExecutionLogPanel.d.ts +66 -0
  21. package/dist/components/ExecutionLogView.d.ts +30 -0
  22. package/dist/components/ExpressionOptions.d.ts +22 -0
  23. package/dist/components/icons.d.ts +1 -1
  24. package/dist/connection-app-meta-DID4zDg-.cjs +29 -0
  25. package/dist/connection-app-meta-DID4zDg-.cjs.map +1 -0
  26. package/dist/{connection-app-meta-CKBbgN7e.js → connection-app-meta-mmyKM3H9.js} +5725 -4161
  27. package/dist/connection-app-meta-mmyKM3H9.js.map +1 -0
  28. package/dist/dynamic-fields.d.ts +3 -0
  29. package/dist/flow-types.d.ts +27 -1
  30. package/dist/flow.cjs +8 -5
  31. package/dist/flow.cjs.map +1 -1
  32. package/dist/flow.mjs +3681 -2463
  33. package/dist/flow.mjs.map +1 -1
  34. package/dist/form-schema.d.ts +270 -0
  35. package/dist/form-trigger.d.ts +8 -0
  36. package/dist/index.cjs +3 -2
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.d.ts +8 -4
  39. package/dist/index.mjs +1766 -1343
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/provider.d.ts +14 -0
  42. package/dist/resolve-params.d.ts +2 -0
  43. package/dist/types.d.ts +17 -1
  44. package/dist/workflow-connections.d.ts +11 -0
  45. package/package.json +2 -2
  46. package/src/styles/_callable-list.scss +37 -3
  47. package/src/styles/_connections.scss +29 -0
  48. package/src/styles/_execution-log-view.scss +322 -0
  49. package/src/styles/_expression-modal.scss +7 -0
  50. package/src/styles/_form-builder.scss +245 -0
  51. package/src/styles/_sections.scss +29 -0
  52. package/src/styles.css +725 -7
  53. package/src/styles.scss +2 -0
  54. package/dist/connection-app-meta-CKBbgN7e.js.map +0 -1
  55. package/dist/connection-app-meta-DfA6Yqhh.cjs +0 -28
  56. package/dist/connection-app-meta-DfA6Yqhh.cjs.map +0 -1
@@ -2,7 +2,10 @@ import { ActionParam, ParamOption, ResolveFieldsBody } from './types.ts';
2
2
  /** Dynamic-field context a ParamsForm host passes. */
3
3
  export interface DynamicContext {
4
4
  appId: string;
5
+ /** The Action's key, or the Trigger's when `kind` is `"trigger"`. */
5
6
  actionKey: string;
7
+ /** Whose form this is: an Action's step params (default) or a Trigger's subscription params. */
8
+ kind?: "action" | "trigger";
6
9
  version?: string;
7
10
  connectionId?: string;
8
11
  appName?: string;
@@ -33,6 +33,12 @@ export interface FlowStep {
33
33
  * - `continue-record` — keep going, but record the error into the run's end state
34
34
  */
35
35
  onError?: "fail" | "continue" | "continue-record";
36
+ /**
37
+ * How long this step waits for the app before it fails, in milliseconds.
38
+ * Absent = the default (the action's own limit, else 120 s); the server
39
+ * clamps to 1 000…280 000.
40
+ */
41
+ timeoutMs?: number;
36
42
  /** Free-form author notes for this step. Not executed. */
37
43
  notes?: string;
38
44
  /**
@@ -283,6 +289,8 @@ export declare const HTTP_APP = "@w6w/http";
283
289
  export declare const WEBHOOK_APP = "@w6w/webhook";
284
290
  /** Time-based scheduler trigger (entry node; fires the workflow on a schedule). */
285
291
  export declare const SCHEDULER_APP = "@w6w/scheduler";
292
+ /** Hosted-form trigger (entry node; serves a form page and fires on each submission). */
293
+ export declare const FORM_APP = "@w6w/form";
286
294
  /** "Respond to Webhook" — shapes the HTTP response for `responseMode: responseNode`. */
287
295
  export declare const RESPOND_APP = "@w6w/respond";
288
296
  /**
@@ -336,7 +344,25 @@ export declare const CSV_APP = "@w6w/csv";
336
344
  * `@w6w/files` internal-app manifest (pinned by `files-node-parity.test.ts`).
337
345
  */
338
346
  export declare const FILES_APP = "@w6w/files";
339
- /** End the whole workflow successfully when its optional condition matches. */
347
+ /**
348
+ * Date and time operations (now, format, parse, add, subtract, difference, extract, round,
349
+ * convert). Host node: pure computation. The params mirror the `@w6w/datetime` internal-app
350
+ * manifest (pinned by `datetime-node-parity.test.ts`).
351
+ */
352
+ export declare const DATETIME_APP = "@w6w/datetime";
353
+ /**
354
+ * Hashes, HMAC signing and verification, UUIDs and random strings. Host node: pure
355
+ * computation. The params mirror the `@w6w/crypto` internal-app manifest (pinned by
356
+ * `crypto-node-parity.test.ts`).
357
+ */
358
+ export declare const CRYPTO_APP = "@w6w/crypto";
359
+ /**
360
+ * Filter, sort, limit, pluck, de-duplicate, batch, merge and summarize lists. Host node: pure
361
+ * computation. The params mirror the `@w6w/list` internal-app manifest (pinned by
362
+ * `list-node-parity.test.ts`).
363
+ */
364
+ export declare const LIST_APP = "@w6w/list";
365
+ /** End the whole workflow (successfully or with an error) when its optional condition matches. */
340
366
  export declare const STOP_APP = "@w6w/stop";
341
367
  export declare const ROUTER_APP = "@w6w/router";
342
368
  export declare const RACE_APP = "@w6w/race";