@xyne/workflow-ui 1.3.29 → 1.3.31

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 (54) hide show
  1. package/dist/components/builder/icons.d.ts.map +1 -1
  2. package/dist/components/builder/icons.js +1 -0
  3. package/dist/components/builder/icons.js.map +1 -1
  4. package/dist/components/builder/v3/EnhancedSchemaFormRenderer.d.ts.map +1 -1
  5. package/dist/components/builder/v3/EnhancedSchemaFormRenderer.js +9 -1
  6. package/dist/components/builder/v3/EnhancedSchemaFormRenderer.js.map +1 -1
  7. package/dist/components/builder/v3/InputSchemaBuilder.d.ts.map +1 -1
  8. package/dist/components/builder/v3/InputSchemaBuilder.js +8 -0
  9. package/dist/components/builder/v3/InputSchemaBuilder.js.map +1 -1
  10. package/dist/components/credentials/CredentialVault.d.ts +9 -0
  11. package/dist/components/credentials/CredentialVault.d.ts.map +1 -0
  12. package/dist/components/credentials/CredentialVault.js +417 -0
  13. package/dist/components/credentials/CredentialVault.js.map +1 -0
  14. package/dist/components/execution/ApprovalsView.js +2 -2
  15. package/dist/components/execution/ApprovalsView.js.map +1 -1
  16. package/dist/components/index.d.ts +2 -0
  17. package/dist/components/index.d.ts.map +1 -1
  18. package/dist/components/index.js +1 -0
  19. package/dist/components/index.js.map +1 -1
  20. package/dist/components/schema-form/CredentialDropdown.d.ts +8 -0
  21. package/dist/components/schema-form/CredentialDropdown.d.ts.map +1 -0
  22. package/dist/components/schema-form/CredentialDropdown.js +107 -0
  23. package/dist/components/schema-form/CredentialDropdown.js.map +1 -0
  24. package/dist/components/schema-form/SchemaFormRenderer.d.ts.map +1 -1
  25. package/dist/components/schema-form/SchemaFormRenderer.js +4 -0
  26. package/dist/components/schema-form/SchemaFormRenderer.js.map +1 -1
  27. package/dist/components/workflows/WorkflowApp.d.ts +1 -1
  28. package/dist/components/workflows/WorkflowApp.d.ts.map +1 -1
  29. package/dist/components/workflows/WorkflowApp.js +2 -0
  30. package/dist/components/workflows/WorkflowApp.js.map +1 -1
  31. package/dist/components/workflows/WorkflowHome.d.ts +7 -8
  32. package/dist/components/workflows/WorkflowHome.d.ts.map +1 -1
  33. package/dist/components/workflows/WorkflowHome.js +6 -6
  34. package/dist/components/workflows/WorkflowHome.js.map +1 -1
  35. package/dist/hooks/use-schema-form.d.ts.map +1 -1
  36. package/dist/hooks/use-schema-form.js +3 -1
  37. package/dist/hooks/use-schema-form.js.map +1 -1
  38. package/dist/index.d.ts +3 -3
  39. package/dist/index.d.ts.map +1 -1
  40. package/dist/index.js +1 -1
  41. package/dist/index.js.map +1 -1
  42. package/dist/layout-engine/chart-data.d.ts +50 -0
  43. package/dist/layout-engine/chart-data.d.ts.map +1 -0
  44. package/dist/layout-engine/chart-data.js +151 -0
  45. package/dist/layout-engine/chart-data.js.map +1 -0
  46. package/dist/layout-engine/components.d.ts.map +1 -1
  47. package/dist/layout-engine/components.js +57 -0
  48. package/dist/layout-engine/components.js.map +1 -1
  49. package/dist/styles.css +1 -1
  50. package/dist/types/index.d.ts +1 -1
  51. package/dist/types/index.d.ts.map +1 -1
  52. package/dist/types/slots.d.ts +13 -1
  53. package/dist/types/slots.d.ts.map +1 -1
  54. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- export type { SlotName, SlotOverrides, ClassNamesOverrides, AttributeFieldsProps, ShareSlotProps } from './slots.js';
1
+ export type { SlotName, SlotOverrides, ClassNamesOverrides, AttributeFieldsProps, CredentialAttributesDisplayProps, ShareSlotProps, } from './slots.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,QAAQ,EACR,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,gCAAgC,EAChC,cAAc,GACf,MAAM,YAAY,CAAC"}
@@ -3,7 +3,7 @@ import type { ComponentType } from 'react';
3
3
  * Named slots that consumers can replace globally (via provider)
4
4
  * or per-component (via `slots` prop).
5
5
  */
6
- export type SlotName = 'StepNode' | 'TriggerNode' | 'BranchEdge' | 'AddStepButton' | 'StepPalette' | 'BuilderToolbar' | 'StepConfigDrawer' | 'ExecutionStepNode' | 'ExecutionEdge' | 'PauseInteractionPanel' | 'StepDetailPanel' | 'folderAttributes' | 'workflowAttributes' | 'shareResource';
6
+ export type SlotName = 'StepNode' | 'TriggerNode' | 'BranchEdge' | 'AddStepButton' | 'StepPalette' | 'BuilderToolbar' | 'StepConfigDrawer' | 'ExecutionStepNode' | 'ExecutionEdge' | 'PauseInteractionPanel' | 'StepDetailPanel' | 'folderAttributes' | 'workflowAttributes' | 'credentialAttributesDisplay' | 'shareResource';
7
7
  /**
8
8
  * Map of slot name → component type for global overrides.
9
9
  * Each value is typed as `ComponentType<any>` at the provider level;
@@ -19,6 +19,18 @@ export interface AttributeFieldsProps<TAttrs = unknown> {
19
19
  value: Partial<TAttrs>;
20
20
  onChange: (patch: Partial<TAttrs>) => void;
21
21
  }
22
+ /**
23
+ * Props passed to the optional host-defined credential table columns slot.
24
+ * The host renders matching `<th>` elements in header mode and `<td>` elements
25
+ * in row mode. The generic vault never needs to know the host's field names.
26
+ */
27
+ export type CredentialAttributesDisplayProps<TAttrs = unknown> = {
28
+ mode: 'header';
29
+ } | {
30
+ mode: 'row';
31
+ summary: import('@xyne/workflow-sdk/common').CredentialSummary;
32
+ attributes?: TAttrs;
33
+ };
22
34
  /**
23
35
  * Props the framework passes to the `shareResource` slot. The framework decides
24
36
  * *whether* to open it (gated by `permittedActions`) and identifies the target;
@@ -1 +1 @@
1
- {"version":3,"file":"slots.d.ts","sourceRoot":"","sources":["../../src/types/slots.ts"],"names":[],"mappings":"A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6B,GAK7B,eAAe,CAAC;AAEpB;;;;GAIG;AAEH,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE1E;;;;GAIG;AACH,MAAM,WAAW,oBAAoB,CAAC,MAAM,GAAG,OAAO;IACpD,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACvB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;CAC5C;AAED;;;;GAIG;AACH,MAAM,MAAM,gCAAgC,CAAC,MAAM,GAAG,OAAO,IACzD;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAClB;IACE,IAAI,EAAE,KAAK,CAAC;IACZ,OAAO,EAAE,OAAO,2BAA2B,EAAE,iBAAiB,CAAC;IAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEN;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,YAAY,EAAE,UAAU,GAAG,QAAQ,CAAC;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyne/workflow-ui",
3
- "version": "1.3.29",
3
+ "version": "1.3.31",
4
4
  "description": "Workflow builder + execution-viewer React UI for @xyne/workflow-sdk.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {