@aranzatech/diagrams-bpmn 0.2.0 → 0.2.1

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 (63) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/dist/catalog-OVnBDD8R.d.ts +9 -0
  3. package/dist/catalog-OWfI_yHU.d.cts +9 -0
  4. package/dist/{chunk-MF2WE3OM.js → chunk-33AR3PXF.js} +36 -8
  5. package/dist/chunk-33AR3PXF.js.map +1 -0
  6. package/dist/{chunk-3AFZDIMQ.js → chunk-ECTJRD7Z.js} +3 -3
  7. package/dist/{chunk-3AFZDIMQ.js.map → chunk-ECTJRD7Z.js.map} +1 -1
  8. package/dist/{chunk-S3GGEEA5.js → chunk-H3YMTGFG.js} +50 -32
  9. package/dist/chunk-H3YMTGFG.js.map +1 -0
  10. package/dist/chunk-KALSGH4D.js +36 -0
  11. package/dist/chunk-KALSGH4D.js.map +1 -0
  12. package/dist/{chunk-DNR5WBQH.js → chunk-L5Z22RLX.js} +81 -20
  13. package/dist/chunk-L5Z22RLX.js.map +1 -0
  14. package/dist/{chunk-5GRCJ5X6.js → chunk-RLAJNRF2.js} +3 -3
  15. package/dist/{chunk-5GRCJ5X6.js.map → chunk-RLAJNRF2.js.map} +1 -1
  16. package/dist/chunk-YQTIODXH.js +532 -0
  17. package/dist/chunk-YQTIODXH.js.map +1 -0
  18. package/dist/chunk-ZFGQVLHB.js +226 -0
  19. package/dist/chunk-ZFGQVLHB.js.map +1 -0
  20. package/dist/edges/index.cjs +1 -1
  21. package/dist/edges/index.cjs.map +1 -1
  22. package/dist/edges/index.js +2 -2
  23. package/dist/elements/index.cjs +81 -17
  24. package/dist/elements/index.cjs.map +1 -1
  25. package/dist/elements/index.d.cts +4 -6
  26. package/dist/elements/index.d.ts +4 -6
  27. package/dist/elements/index.js +2 -2
  28. package/dist/index.cjs +689 -75
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.d.cts +6 -4
  31. package/dist/index.d.ts +6 -4
  32. package/dist/index.js +8 -7
  33. package/dist/modeling/index.cjs +383 -36
  34. package/dist/modeling/index.cjs.map +1 -1
  35. package/dist/modeling/index.d.cts +61 -3
  36. package/dist/modeling/index.d.ts +61 -3
  37. package/dist/modeling/index.js +3 -3
  38. package/dist/nodes/index.cjs +62 -32
  39. package/dist/nodes/index.cjs.map +1 -1
  40. package/dist/nodes/index.js +2 -2
  41. package/dist/{types-hj621ZRJ.d.ts → types-BxjCV2oX.d.ts} +1 -1
  42. package/dist/{types-BKA0GZz5.d.cts → types-DznxZxpV.d.cts} +11 -1
  43. package/dist/{types-BKA0GZz5.d.ts → types-DznxZxpV.d.ts} +11 -1
  44. package/dist/{types-CCkHqtC_.d.cts → types-vVi5T7qj.d.cts} +1 -1
  45. package/dist/validation/index.cjs +848 -0
  46. package/dist/validation/index.cjs.map +1 -0
  47. package/dist/validation/index.d.cts +25 -0
  48. package/dist/validation/index.d.ts +25 -0
  49. package/dist/validation/index.js +5 -0
  50. package/dist/validation/index.js.map +1 -0
  51. package/dist/xml/index.cjs +74 -22
  52. package/dist/xml/index.cjs.map +1 -1
  53. package/dist/xml/index.d.cts +2 -2
  54. package/dist/xml/index.d.ts +2 -2
  55. package/dist/xml/index.js +2 -2
  56. package/package.json +8 -3
  57. package/dist/chunk-23B2IGK5.js +0 -24
  58. package/dist/chunk-23B2IGK5.js.map +0 -1
  59. package/dist/chunk-DNR5WBQH.js.map +0 -1
  60. package/dist/chunk-G5S4ASP3.js +0 -277
  61. package/dist/chunk-G5S4ASP3.js.map +0 -1
  62. package/dist/chunk-MF2WE3OM.js.map +0 -1
  63. package/dist/chunk-S3GGEEA5.js.map +0 -1
@@ -1,4 +1,4 @@
1
- export { AnnotationNode, BPMN_NODE_TYPES, BoundaryEventNode, CallChoreographyNode, CallConversationNode, ChoreographyTaskNode, ConversationNode, DataInputNode, DataObjectNode, DataObjectReferenceNode, DataOutputNode, DataStoreNode, DataStoreReferenceNode, EndEventNode, GatewayNode, GroupNode, IntermediateCatchEventNode, IntermediateThrowEventNode, LaneNode, PoolNode, StartEventNode, SubChoreographyNode, SubConversationNode, SubProcessNode, TaskNode } from '../chunk-S3GGEEA5.js';
2
- import '../chunk-23B2IGK5.js';
1
+ export { AnnotationNode, BPMN_NODE_TYPES, BoundaryEventNode, CallChoreographyNode, CallConversationNode, ChoreographyTaskNode, ConversationNode, DataInputNode, DataObjectNode, DataObjectReferenceNode, DataOutputNode, DataStoreNode, DataStoreReferenceNode, EndEventNode, GatewayNode, GroupNode, IntermediateCatchEventNode, IntermediateThrowEventNode, LaneNode, PoolNode, StartEventNode, SubChoreographyNode, SubConversationNode, SubProcessNode, TaskNode } from '../chunk-H3YMTGFG.js';
2
+ import '../chunk-KALSGH4D.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { Node, Edge } from '@xyflow/react';
2
- import { g as BpmnNodeData, a as BpmnEdgeData } from './types-BKA0GZz5.js';
2
+ import { h as BpmnNodeData, a as BpmnEdgeData } from './types-DznxZxpV.js';
3
3
 
4
4
  type BpmnRFNode = Node<BpmnNodeData>;
5
5
  type BpmnRFEdge = Edge<BpmnEdgeData>;
@@ -14,6 +14,9 @@ interface BpmnElementMeta {
14
14
  category: BpmnCategory;
15
15
  defaultWidth: number;
16
16
  defaultHeight: number;
17
+ minWidth?: number;
18
+ minHeight?: number;
19
+ resizable?: boolean;
17
20
  /** Default handle exposure for the rendered node shape. */
18
21
  handlePolicy: BpmnHandlePolicy;
19
22
  /** Preferred orientation when the element acts as a container. */
@@ -37,6 +40,13 @@ interface BpmnElementMeta {
37
40
  /** Max number of outgoing sequence flows. undefined = unlimited. */
38
41
  maxOutgoing?: number;
39
42
  }
43
+ interface BpmnElementSize {
44
+ width: number;
45
+ height: number;
46
+ minWidth: number;
47
+ minHeight: number;
48
+ resizable: boolean;
49
+ }
40
50
  interface BpmnNodeData extends Record<string, unknown> {
41
51
  label?: string;
42
52
  elementType: BpmnElementType;
@@ -98,4 +108,4 @@ interface BpmnEdgeData extends Record<string, unknown> {
98
108
  }>;
99
109
  }
100
110
 
101
- export type { BpmnCategory as B, EventTrigger as E, SubProcessVariant as S, TaskMarker as T, BpmnEdgeData as a, BpmnEdgeType as b, BpmnElementMeta as c, BpmnElementType as d, BpmnEventSemantics as e, BpmnHandlePolicy as f, BpmnNodeData as g, BpmnOrientation as h };
111
+ export type { BpmnCategory as B, EventTrigger as E, SubProcessVariant as S, TaskMarker as T, BpmnEdgeData as a, BpmnEdgeType as b, BpmnElementMeta as c, BpmnElementSize as d, BpmnElementType as e, BpmnEventSemantics as f, BpmnHandlePolicy as g, BpmnNodeData as h, BpmnOrientation as i };
@@ -14,6 +14,9 @@ interface BpmnElementMeta {
14
14
  category: BpmnCategory;
15
15
  defaultWidth: number;
16
16
  defaultHeight: number;
17
+ minWidth?: number;
18
+ minHeight?: number;
19
+ resizable?: boolean;
17
20
  /** Default handle exposure for the rendered node shape. */
18
21
  handlePolicy: BpmnHandlePolicy;
19
22
  /** Preferred orientation when the element acts as a container. */
@@ -37,6 +40,13 @@ interface BpmnElementMeta {
37
40
  /** Max number of outgoing sequence flows. undefined = unlimited. */
38
41
  maxOutgoing?: number;
39
42
  }
43
+ interface BpmnElementSize {
44
+ width: number;
45
+ height: number;
46
+ minWidth: number;
47
+ minHeight: number;
48
+ resizable: boolean;
49
+ }
40
50
  interface BpmnNodeData extends Record<string, unknown> {
41
51
  label?: string;
42
52
  elementType: BpmnElementType;
@@ -98,4 +108,4 @@ interface BpmnEdgeData extends Record<string, unknown> {
98
108
  }>;
99
109
  }
100
110
 
101
- export type { BpmnCategory as B, EventTrigger as E, SubProcessVariant as S, TaskMarker as T, BpmnEdgeData as a, BpmnEdgeType as b, BpmnElementMeta as c, BpmnElementType as d, BpmnEventSemantics as e, BpmnHandlePolicy as f, BpmnNodeData as g, BpmnOrientation as h };
111
+ export type { BpmnCategory as B, EventTrigger as E, SubProcessVariant as S, TaskMarker as T, BpmnEdgeData as a, BpmnEdgeType as b, BpmnElementMeta as c, BpmnElementSize as d, BpmnElementType as e, BpmnEventSemantics as f, BpmnHandlePolicy as g, BpmnNodeData as h, BpmnOrientation as i };
@@ -1,5 +1,5 @@
1
1
  import { Node, Edge } from '@xyflow/react';
2
- import { g as BpmnNodeData, a as BpmnEdgeData } from './types-BKA0GZz5.cjs';
2
+ import { h as BpmnNodeData, a as BpmnEdgeData } from './types-DznxZxpV.cjs';
3
3
 
4
4
  type BpmnRFNode = Node<BpmnNodeData>;
5
5
  type BpmnRFEdge = Edge<BpmnEdgeData>;