@acorex-platform/module-platform-management-client 0.0.37 → 0.0.46

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 (87) hide show
  1. package/fesm2022/{acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-BGVhn6wv.mjs → acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-YuJijjKh.mjs} +465 -101
  2. package/fesm2022/acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-YuJijjKh.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-command-definition.mjs +20 -0
  4. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-command-definition.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-entity-access-policy.mjs +20 -0
  6. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-entity-access-policy.mjs.map +1 -1
  7. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-entity-definition.mjs +1499 -30
  8. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-entity-definition.mjs.map +1 -1
  9. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-module-definition.mjs +396 -0
  10. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-module-definition.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-plugin-definition.mjs +20 -0
  12. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-plugin-definition.mjs.map +1 -1
  13. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-query-definition.mjs +49 -1
  14. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-query-definition.mjs.map +1 -1
  15. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-token.mjs +20 -0
  16. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-token.mjs.map +1 -1
  17. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-widget.mjs +20 -0
  18. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entities-widget.mjs.map +1 -1
  19. package/fesm2022/{acorex-platform-module-platform-management-client-contracts-entity-catalog-acorex-platform-module-platform-management-client-contracts-entity-catalog-BOwC5Ns9.mjs → acorex-platform-module-platform-management-client-contracts-entity-catalog-acorex-platform-module-platform-management-client-contracts-entity-catalog-HWczTPH2.mjs} +15 -8
  20. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-acorex-platform-module-platform-management-client-contracts-entity-catalog-HWczTPH2.mjs.map +1 -0
  21. package/fesm2022/{acorex-platform-module-platform-management-client-contracts-entity-catalog-command-definition.entity-CdvQlwAk.mjs → acorex-platform-module-platform-management-client-contracts-entity-catalog-command-definition.entity-C3B1_QMs.mjs} +16 -2
  22. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-command-definition.entity-C3B1_QMs.mjs.map +1 -0
  23. package/fesm2022/{acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-access-policy.entity-Dye4aSKE.mjs → acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-access-policy.entity-BPkJloHy.mjs} +16 -2
  24. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-access-policy.entity-BPkJloHy.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-definition.entity-BL1I9pmK.mjs +1621 -0
  26. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-definition.entity-BL1I9pmK.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-module-definition.entity-Cknl0vbc.mjs +299 -0
  28. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-module-definition.entity-Cknl0vbc.mjs.map +1 -0
  29. package/fesm2022/{acorex-platform-module-platform-management-client-contracts-entity-catalog-plugin-definition.entity-CwU5hMjI.mjs → acorex-platform-module-platform-management-client-contracts-entity-catalog-plugin-definition.entity-BxABTl8L.mjs} +16 -2
  30. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-plugin-definition.entity-BxABTl8L.mjs.map +1 -0
  31. package/fesm2022/{acorex-platform-module-platform-management-client-contracts-entity-catalog-query-definition.entity-DGK684Q1.mjs → acorex-platform-module-platform-management-client-contracts-entity-catalog-query-definition.entity-Cv6HVQOU.mjs} +45 -3
  32. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-query-definition.entity-Cv6HVQOU.mjs.map +1 -0
  33. package/fesm2022/{acorex-platform-module-platform-management-client-contracts-entity-catalog-token.entity-DI_k6-ha.mjs → acorex-platform-module-platform-management-client-contracts-entity-catalog-token.entity-BV8iSuoK.mjs} +16 -2
  34. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-token.entity-BV8iSuoK.mjs.map +1 -0
  35. package/fesm2022/{acorex-platform-module-platform-management-client-contracts-entity-catalog-widget.entity-C18msniH.mjs → acorex-platform-module-platform-management-client-contracts-entity-catalog-widget.entity-BYH6SIqU.mjs} +16 -2
  36. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-widget.entity-BYH6SIqU.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog.mjs +1 -1
  38. package/fesm2022/acorex-platform-module-platform-management-client-contracts.mjs +1664 -1
  39. package/fesm2022/acorex-platform-module-platform-management-client-contracts.mjs.map +1 -1
  40. package/fesm2022/acorex-platform-module-platform-management-client-create-user-query-contract.util-D_af2BUi.mjs +586 -0
  41. package/fesm2022/acorex-platform-module-platform-management-client-create-user-query-contract.util-D_af2BUi.mjs.map +1 -0
  42. package/fesm2022/{acorex-platform-module-platform-management-client-create-user-query.command-9Ku7C1BC.mjs → acorex-platform-module-platform-management-client-create-user-query.command-Bh49QHkl.mjs} +374 -324
  43. package/fesm2022/acorex-platform-module-platform-management-client-create-user-query.command-Bh49QHkl.mjs.map +1 -0
  44. package/fesm2022/acorex-platform-module-platform-management-client-entity-definition-form-page.component-BgBWob9p.mjs +329 -0
  45. package/fesm2022/acorex-platform-module-platform-management-client-entity-definition-form-page.component-BgBWob9p.mjs.map +1 -0
  46. package/fesm2022/acorex-platform-module-platform-management-client-entity-definition-form-page.provider-hLzgoJu3.mjs +23 -0
  47. package/fesm2022/acorex-platform-module-platform-management-client-entity-definition-form-page.provider-hLzgoJu3.mjs.map +1 -0
  48. package/fesm2022/acorex-platform-module-platform-management-client-list-registered-entities.query-CZM6JQou.mjs +197 -0
  49. package/fesm2022/acorex-platform-module-platform-management-client-list-registered-entities.query-CZM6JQou.mjs.map +1 -0
  50. package/fesm2022/acorex-platform-module-platform-management-client-local-entities.mjs +1 -0
  51. package/fesm2022/acorex-platform-module-platform-management-client-local-entities.mjs.map +1 -1
  52. package/fesm2022/{acorex-platform-module-platform-management-client-menu-list.component-uF5w1c7t.mjs → acorex-platform-module-platform-management-client-menu-list.component-iMEnFPEY.mjs} +2 -2
  53. package/fesm2022/{acorex-platform-module-platform-management-client-menu-list.component-uF5w1c7t.mjs.map → acorex-platform-module-platform-management-client-menu-list.component-iMEnFPEY.mjs.map} +1 -1
  54. package/fesm2022/acorex-platform-module-platform-management-client-query-contract-widget-column.component-COfOzMGh.mjs +45 -0
  55. package/fesm2022/acorex-platform-module-platform-management-client-query-contract-widget-column.component-COfOzMGh.mjs.map +1 -0
  56. package/fesm2022/acorex-platform-module-platform-management-client-query-contract-widget-edit.component-BW2pBOeg.mjs +166 -0
  57. package/fesm2022/acorex-platform-module-platform-management-client-query-contract-widget-edit.component-BW2pBOeg.mjs.map +1 -0
  58. package/fesm2022/acorex-platform-module-platform-management-client-query-contract-widget-view.component-DD9ETjFD.mjs +45 -0
  59. package/fesm2022/acorex-platform-module-platform-management-client-query-contract-widget-view.component-DD9ETjFD.mjs.map +1 -0
  60. package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-column.component-B0g6dweQ.mjs → acorex-platform-module-platform-management-client-rest-api-generator-widget-column.component-DRkE2a7n.mjs} +2 -2
  61. package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-column.component-B0g6dweQ.mjs.map → acorex-platform-module-platform-management-client-rest-api-generator-widget-column.component-DRkE2a7n.mjs.map} +1 -1
  62. package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-edit.component-A0v5MWRU.mjs → acorex-platform-module-platform-management-client-rest-api-generator-widget-edit.component-CXI6fJi3.mjs} +2 -3
  63. package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-edit.component-A0v5MWRU.mjs.map → acorex-platform-module-platform-management-client-rest-api-generator-widget-edit.component-CXI6fJi3.mjs.map} +1 -1
  64. package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-view.component-RR5zcsnI.mjs → acorex-platform-module-platform-management-client-rest-api-generator-widget-view.component-C3iHgoC2.mjs} +2 -2
  65. package/fesm2022/{acorex-platform-module-platform-management-client-rest-api-generator-widget-view.component-RR5zcsnI.mjs.map → acorex-platform-module-platform-management-client-rest-api-generator-widget-view.component-C3iHgoC2.mjs.map} +1 -1
  66. package/fesm2022/acorex-platform-module-platform-management-client-run-user-query.command-BzNa3B48.mjs +144 -0
  67. package/fesm2022/acorex-platform-module-platform-management-client-run-user-query.command-BzNa3B48.mjs.map +1 -0
  68. package/fesm2022/acorex-platform-module-platform-management-client.mjs +1 -1
  69. package/package.json +7 -3
  70. package/types/acorex-platform-module-platform-management-client-contracts-entities-module-definition.d.ts +5 -0
  71. package/types/acorex-platform-module-platform-management-client-contracts.d.ts +225 -5
  72. package/types/acorex-platform-module-platform-management-client.d.ts +35 -3
  73. package/fesm2022/acorex-platform-module-platform-management-client-acorex-platform-module-platform-management-client-BGVhn6wv.mjs.map +0 -1
  74. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-acorex-platform-module-platform-management-client-contracts-entity-catalog-BOwC5Ns9.mjs.map +0 -1
  75. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-command-definition.entity-CdvQlwAk.mjs.map +0 -1
  76. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-access-policy.entity-Dye4aSKE.mjs.map +0 -1
  77. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-definition.entity-CcJ58vfr.mjs +0 -158
  78. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-entity-definition.entity-CcJ58vfr.mjs.map +0 -1
  79. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-plugin-definition.entity-CwU5hMjI.mjs.map +0 -1
  80. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-query-definition.entity-DGK684Q1.mjs.map +0 -1
  81. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-token.entity-DI_k6-ha.mjs.map +0 -1
  82. package/fesm2022/acorex-platform-module-platform-management-client-contracts-entity-catalog-widget.entity-C18msniH.mjs.map +0 -1
  83. package/fesm2022/acorex-platform-module-platform-management-client-create-user-query.command-9Ku7C1BC.mjs.map +0 -1
  84. package/fesm2022/acorex-platform-module-platform-management-client-create-user-query.types-DdygAori.mjs +0 -71
  85. package/fesm2022/acorex-platform-module-platform-management-client-create-user-query.types-DdygAori.mjs.map +0 -1
  86. package/fesm2022/acorex-platform-module-platform-management-client-list-registered-entities.query-DjStd3a8.mjs +0 -136
  87. package/fesm2022/acorex-platform-module-platform-management-client-list-registered-entities.query-DjStd3a8.mjs.map +0 -1
@@ -83,6 +83,8 @@ interface AXPWorkflowConnector {
83
83
  sourcePortId: string;
84
84
  targetNodeId: string;
85
85
  targetPortId: string;
86
+ /** Optional text drawn beside the connector (e.g. relation name). */
87
+ label?: string;
86
88
  /** Arbitrary payload (conditions, labels, etc.). */
87
89
  data?: Record<string, unknown>;
88
90
  /** Per-connector readonly: cannot delete or reconnect. */
@@ -249,6 +251,8 @@ declare class AXPWorkflowDesignerComponent {
249
251
  /** Default snap when node does not override `snapToGrid`. */
250
252
  readonly snapToGrid: _angular_core.InputSignal<boolean>;
251
253
  readonly connectionPreviewStyle: _angular_core.InputSignal<AXPWorkflowConnectionPreviewStyle>;
254
+ /** Distance (px) the connector extends straight out of a port before turning. */
255
+ readonly connectorStub: _angular_core.InputSignal<number | undefined>;
252
256
  readonly backgroundPattern: _angular_core.InputSignal<"line" | "dots">;
253
257
  readonly zoomChange: _angular_core.OutputEmitterRef<number>;
254
258
  /** When set, replaces built-in `defaultCanConnectRequest` entirely. */
@@ -257,6 +261,18 @@ declare class AXPWorkflowDesignerComponent {
257
261
  readonly paletteItems: _angular_core.InputSignal<AXPWorkflowActivityPaletteItem[]>;
258
262
  /** When false, port labels are hidden (ports remain interactive). */
259
263
  readonly showPortLabels: _angular_core.InputSignal<boolean>;
264
+ /** When false, inbound/outbound port markers are hidden (routing still uses port anchors). */
265
+ readonly showPorts: _angular_core.InputSignal<boolean>;
266
+ /** When false, connector `label` text is hidden. */
267
+ readonly showConnectorLabels: _angular_core.InputSignal<boolean>;
268
+ /** Free space (px) kept around the content so nodes can be dragged outward. */
269
+ readonly canvasPadding: _angular_core.InputSignal<number>;
270
+ /**
271
+ * Smallest canvas the surface reserves. Editors keep a large drawing area;
272
+ * readonly diagrams can pass `{ width: 0, height: 0 }` so `fitContent` does not
273
+ * shrink a small graph to fit an oversized empty canvas.
274
+ */
275
+ readonly minCanvasSize: _angular_core.InputSignal<AXPWorkflowSize>;
260
276
  readonly nodeBodyTemplate: _angular_core.InputSignal<TemplateRef<AXPWorkflowNodeBodyTemplateContext> | null>;
261
277
  readonly designerPointerDown: _angular_core.OutputEmitterRef<PointerEvent>;
262
278
  readonly designerClick: _angular_core.OutputEmitterRef<MouseEvent>;
@@ -430,6 +446,8 @@ declare class AXPWorkflowDesignerComponent {
430
446
  private readonly onWindowPointerUpForLink;
431
447
  private pickInboundPortAtPoint;
432
448
  protected connectorPathD(c: AXPWorkflowConnector): string;
449
+ protected connectorLabelText(c: AXPWorkflowConnector): string;
450
+ protected connectorLabelPoint(c: AXPWorkflowConnector): AXPWorkflowPoint | null;
433
451
  protected connectorMidpoint(c: AXPWorkflowConnector): AXPWorkflowPoint;
434
452
  protected onConnectorClick(c: AXPWorkflowConnector, event: MouseEvent): void;
435
453
  protected onConnectorDoubleClick(c: AXPWorkflowConnector, event: MouseEvent): void;
@@ -440,10 +458,11 @@ declare class AXPWorkflowDesignerComponent {
440
458
  protected portLabelText(port: AXPWorkflowPort): string;
441
459
  protected portLabelX(node: AXPWorkflowNode, port: AXPWorkflowPort): number;
442
460
  protected portLabelY(node: AXPWorkflowNode, port: AXPWorkflowPort): number;
443
- protected portLabelAnchor(node: AXPWorkflowNode, port: AXPWorkflowPort): 'start' | 'middle' | 'end';
461
+ protected portLabelAnchor(port: AXPWorkflowPort): 'start' | 'middle' | 'end';
444
462
  protected nodeSurfaceLeft(node: AXPWorkflowNode): number;
445
463
  protected nodeSurfaceTop(node: AXPWorkflowNode): number;
446
464
  private trimmedConnectorTarget;
465
+ private connectorEnds;
447
466
  private portLabelCanvasPoint;
448
467
  private modelPointToSurface;
449
468
  private surfacePointToModel;
@@ -455,10 +474,11 @@ declare class AXPWorkflowDesignerComponent {
455
474
  * already contain the stub-out point so the connector can still exit/enter its port.
456
475
  */
457
476
  private collectObstaclesInSurface;
477
+ private connectorRouteOptions;
458
478
  private syncWrapperBackgroundStyle;
459
479
  private detachWindowListeners;
460
480
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPWorkflowDesignerComponent, never>;
461
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPWorkflowDesignerComponent, "axp-workflow-designer", never, { "model": { "alias": "model"; "required": true; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "highlightedNodeIds": { "alias": "highlightedNodeIds"; "required": false; "isSignal": true; }; "gridSize": { "alias": "gridSize"; "required": false; "isSignal": true; }; "snapToGrid": { "alias": "snapToGrid"; "required": false; "isSignal": true; }; "connectionPreviewStyle": { "alias": "connectionPreviewStyle"; "required": false; "isSignal": true; }; "backgroundPattern": { "alias": "backgroundPattern"; "required": false; "isSignal": true; }; "canConnect": { "alias": "canConnect"; "required": false; "isSignal": true; }; "paletteItems": { "alias": "paletteItems"; "required": false; "isSignal": true; }; "showPortLabels": { "alias": "showPortLabels"; "required": false; "isSignal": true; }; "nodeBodyTemplate": { "alias": "nodeBodyTemplate"; "required": false; "isSignal": true; }; }, { "modelChange": "modelChange"; "zoomChange": "zoomChange"; "designerPointerDown": "designerPointerDown"; "designerClick": "designerClick"; "designerDoubleClick": "designerDoubleClick"; "nodePointerDown": "nodePointerDown"; "nodeClick": "nodeClick"; "nodeDoubleClick": "nodeDoubleClick"; "nodeContextMenu": "nodeContextMenu"; "nodeDragStart": "nodeDragStart"; "nodeDragEnd": "nodeDragEnd"; "portPointerDown": "portPointerDown"; "linkDragStart": "linkDragStart"; "linkDragMove": "linkDragMove"; "linkDragEnd": "linkDragEnd"; "connectorClick": "connectorClick"; "connectorDoubleClick": "connectorDoubleClick"; "connectionCreated": "connectionCreated"; "connectionRejected": "connectionRejected"; "activationChange": "activationChange"; }, never, never, true, never>;
481
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPWorkflowDesignerComponent, "axp-workflow-designer", never, { "model": { "alias": "model"; "required": true; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "highlightedNodeIds": { "alias": "highlightedNodeIds"; "required": false; "isSignal": true; }; "gridSize": { "alias": "gridSize"; "required": false; "isSignal": true; }; "snapToGrid": { "alias": "snapToGrid"; "required": false; "isSignal": true; }; "connectionPreviewStyle": { "alias": "connectionPreviewStyle"; "required": false; "isSignal": true; }; "connectorStub": { "alias": "connectorStub"; "required": false; "isSignal": true; }; "backgroundPattern": { "alias": "backgroundPattern"; "required": false; "isSignal": true; }; "canConnect": { "alias": "canConnect"; "required": false; "isSignal": true; }; "paletteItems": { "alias": "paletteItems"; "required": false; "isSignal": true; }; "showPortLabels": { "alias": "showPortLabels"; "required": false; "isSignal": true; }; "showPorts": { "alias": "showPorts"; "required": false; "isSignal": true; }; "showConnectorLabels": { "alias": "showConnectorLabels"; "required": false; "isSignal": true; }; "canvasPadding": { "alias": "canvasPadding"; "required": false; "isSignal": true; }; "minCanvasSize": { "alias": "minCanvasSize"; "required": false; "isSignal": true; }; "nodeBodyTemplate": { "alias": "nodeBodyTemplate"; "required": false; "isSignal": true; }; }, { "modelChange": "modelChange"; "zoomChange": "zoomChange"; "designerPointerDown": "designerPointerDown"; "designerClick": "designerClick"; "designerDoubleClick": "designerDoubleClick"; "nodePointerDown": "nodePointerDown"; "nodeClick": "nodeClick"; "nodeDoubleClick": "nodeDoubleClick"; "nodeContextMenu": "nodeContextMenu"; "nodeDragStart": "nodeDragStart"; "nodeDragEnd": "nodeDragEnd"; "portPointerDown": "portPointerDown"; "linkDragStart": "linkDragStart"; "linkDragMove": "linkDragMove"; "linkDragEnd": "linkDragEnd"; "connectorClick": "connectorClick"; "connectorDoubleClick": "connectorDoubleClick"; "connectionCreated": "connectionCreated"; "connectionRejected": "connectionRejected"; "activationChange": "activationChange"; }, never, never, true, never>;
462
482
  }
463
483
 
464
484
  /**
@@ -522,12 +542,24 @@ declare function routeOrthogonalConnector(from: AXPWorkflowPoint, sourceSide: AX
522
542
  stub?: number;
523
543
  obstaclePadding?: number;
524
544
  }): AXPWorkflowPoint[];
545
+ /**
546
+ * Waypoints used to stroke a connector. The `straight` style is two points;
547
+ * orthogonal/rounded styles include stub-outs and obstacle detours.
548
+ */
549
+ declare function connectorRoutePoints(from: AXPWorkflowPoint, to: AXPWorkflowPoint, style: AXPWorkflowConnectionPreviewStyle, sourceSide: AXPWorkflowPortSide, options?: AXPWorkflowConnectorRouteOptions): AXPWorkflowPoint[];
525
550
  /**
526
551
  * Builds the SVG `d` string for a connector. When `options.obstacles` is supplied,
527
552
  * orthogonal/rounded routes detour around the obstacle rectangles instead of
528
553
  * passing through them. The `straight` style always draws a direct line.
529
554
  */
530
555
  declare function connectorPath(from: AXPWorkflowPoint, to: AXPWorkflowPoint, style: AXPWorkflowConnectionPreviewStyle, sourceSide: AXPWorkflowPortSide, options?: AXPWorkflowConnectorRouteOptions): string;
556
+ declare function longestConnectorSegment(points: AXPWorkflowPoint[]): {
557
+ from: AXPWorkflowPoint;
558
+ to: AXPWorkflowPoint;
559
+ mid: AXPWorkflowPoint;
560
+ } | null;
561
+ /** Offsets a point off the segment so a label sits beside the stroke, not on it. */
562
+ declare function offsetPointOffSegment(point: AXPWorkflowPoint, from: AXPWorkflowPoint, to: AXPWorkflowPoint, distance: number): AXPWorkflowPoint;
531
563
  declare function findNode(model: AXPWorkflowDiagramModel, nodeId: string): AXPWorkflowNode | undefined;
532
564
  declare function findPort(node: AXPWorkflowNode, portId: string): {
533
565
  port: AXPWorkflowPort;
@@ -544,5 +576,5 @@ declare function defaultCanConnectRequest(request: AXPWorkflowConnectRequest): b
544
576
  */
545
577
  declare function arrangeWorkflowDiagram(model: AXPWorkflowDiagramModel, options?: AXPWorkflowArrangeDiagramOptions): AXPWorkflowDiagramModel;
546
578
 
547
- export { AXMPlatformManagementModule, AXPWorkflowDesignerComponent, AXPWorkflowPaletteItemDragDirective, AXP_WORKFLOW_PALETTE_MIME, arrangeWorkflowDiagram, cloneDiagram, connectorPath, createNodeFromPaletteItem, createPortsFromPalette, createWorkflowConnectorId, createWorkflowNodeId, createWorkflowPortId, defaultCanConnectRequest, findConnector, findNode, findPort, parsePaletteItemDragPayload, portAnchorOnNode, portCanvasPosition, routeOrthogonalConnector, snapPoint, snapScalar };
579
+ export { AXMPlatformManagementModule, AXPWorkflowDesignerComponent, AXPWorkflowPaletteItemDragDirective, AXP_WORKFLOW_PALETTE_MIME, arrangeWorkflowDiagram, cloneDiagram, connectorPath, connectorRoutePoints, createNodeFromPaletteItem, createPortsFromPalette, createWorkflowConnectorId, createWorkflowNodeId, createWorkflowPortId, defaultCanConnectRequest, findConnector, findNode, findPort, longestConnectorSegment, offsetPointOffSegment, parsePaletteItemDragPayload, portAnchorOnNode, portCanvasPosition, routeOrthogonalConnector, snapPoint, snapScalar };
548
580
  export type { AXPWorkflowActivityPaletteItem, AXPWorkflowArrangeAlignment, AXPWorkflowArrangeDiagramOptions, AXPWorkflowArrangeDirection, AXPWorkflowCanConnectFn, AXPWorkflowConnectRequest, AXPWorkflowConnectionPreviewStyle, AXPWorkflowConnector, AXPWorkflowConnectorRouteOptions, AXPWorkflowDesignerActivation, AXPWorkflowDesignerActivationKind, AXPWorkflowDiagramModel, AXPWorkflowNode, AXPWorkflowNodeBodyTemplateContext, AXPWorkflowNodeShape, AXPWorkflowPoint, AXPWorkflowPort, AXPWorkflowPortSide, AXPWorkflowRect, AXPWorkflowSemanticColor, AXPWorkflowSize };