@operato/scene-bpmn 1.1.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 (180) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/LICENSE +21 -0
  3. package/README.md +13 -0
  4. package/assets/favicon.ico +0 -0
  5. package/assets/images/spinner.png +0 -0
  6. package/db.sqlite +0 -0
  7. package/dist/base/bpmn-activity.d.ts +5 -0
  8. package/dist/base/bpmn-activity.js +23 -0
  9. package/dist/base/bpmn-activity.js.map +1 -0
  10. package/dist/base/bpmn-container-base.d.ts +36 -0
  11. package/dist/base/bpmn-container-base.js +167 -0
  12. package/dist/base/bpmn-container-base.js.map +1 -0
  13. package/dist/base/bpmn-control-base.d.ts +36 -0
  14. package/dist/base/bpmn-control-base.js +167 -0
  15. package/dist/base/bpmn-control-base.js.map +1 -0
  16. package/dist/bpmn-call-activity.d.ts +11 -0
  17. package/dist/bpmn-call-activity.js +19 -0
  18. package/dist/bpmn-call-activity.js.map +1 -0
  19. package/dist/bpmn-comment.d.ts +14 -0
  20. package/dist/bpmn-comment.js +53 -0
  21. package/dist/bpmn-comment.js.map +1 -0
  22. package/dist/bpmn-data-object.d.ts +25 -0
  23. package/dist/bpmn-data-object.js +106 -0
  24. package/dist/bpmn-data-object.js.map +1 -0
  25. package/dist/bpmn-data-store.d.ts +11 -0
  26. package/dist/bpmn-data-store.js +36 -0
  27. package/dist/bpmn-data-store.js.map +1 -0
  28. package/dist/bpmn-event.d.ts +25 -0
  29. package/dist/bpmn-event.js +421 -0
  30. package/dist/bpmn-event.js.map +1 -0
  31. package/dist/bpmn-flow.d.ts +19 -0
  32. package/dist/bpmn-flow.js +26 -0
  33. package/dist/bpmn-flow.js.map +1 -0
  34. package/dist/bpmn-gateway.d.ts +25 -0
  35. package/dist/bpmn-gateway.js +146 -0
  36. package/dist/bpmn-gateway.js.map +1 -0
  37. package/dist/bpmn-group.d.ts +11 -0
  38. package/dist/bpmn-group.js +35 -0
  39. package/dist/bpmn-group.js.map +1 -0
  40. package/dist/bpmn-lane.d.ts +15 -0
  41. package/dist/bpmn-lane.js +25 -0
  42. package/dist/bpmn-lane.js.map +1 -0
  43. package/dist/bpmn-pool.d.ts +14 -0
  44. package/dist/bpmn-pool.js +22 -0
  45. package/dist/bpmn-pool.js.map +1 -0
  46. package/dist/bpmn-subprocess.d.ts +19 -0
  47. package/dist/bpmn-subprocess.js +146 -0
  48. package/dist/bpmn-subprocess.js.map +1 -0
  49. package/dist/bpmn-task.d.ts +32 -0
  50. package/dist/bpmn-task.js +311 -0
  51. package/dist/bpmn-task.js.map +1 -0
  52. package/dist/editors/index.d.ts +0 -0
  53. package/dist/editors/index.js +2 -0
  54. package/dist/editors/index.js.map +1 -0
  55. package/dist/groups/index.d.ts +7 -0
  56. package/dist/groups/index.js +3 -0
  57. package/dist/groups/index.js.map +1 -0
  58. package/dist/groups/process.d.ts +6 -0
  59. package/dist/groups/process.js +48 -0
  60. package/dist/groups/process.js.map +1 -0
  61. package/dist/index.d.ts +12 -0
  62. package/dist/index.js +13 -0
  63. package/dist/index.js.map +1 -0
  64. package/dist/templates/bpmn-call-activity.d.ts +17 -0
  65. package/dist/templates/bpmn-call-activity.js +18 -0
  66. package/dist/templates/bpmn-call-activity.js.map +1 -0
  67. package/dist/templates/bpmn-comment.d.ts +19 -0
  68. package/dist/templates/bpmn-comment.js +20 -0
  69. package/dist/templates/bpmn-comment.js.map +1 -0
  70. package/dist/templates/bpmn-data-object.d.ts +19 -0
  71. package/dist/templates/bpmn-data-object.js +20 -0
  72. package/dist/templates/bpmn-data-object.js.map +1 -0
  73. package/dist/templates/bpmn-data-store.d.ts +17 -0
  74. package/dist/templates/bpmn-data-store.js +18 -0
  75. package/dist/templates/bpmn-data-store.js.map +1 -0
  76. package/dist/templates/bpmn-event.d.ts +17 -0
  77. package/dist/templates/bpmn-event.js +18 -0
  78. package/dist/templates/bpmn-event.js.map +1 -0
  79. package/dist/templates/bpmn-flow.d.ts +15 -0
  80. package/dist/templates/bpmn-flow.js +16 -0
  81. package/dist/templates/bpmn-flow.js.map +1 -0
  82. package/dist/templates/bpmn-gateway.d.ts +17 -0
  83. package/dist/templates/bpmn-gateway.js +18 -0
  84. package/dist/templates/bpmn-gateway.js.map +1 -0
  85. package/dist/templates/bpmn-group.d.ts +15 -0
  86. package/dist/templates/bpmn-group.js +16 -0
  87. package/dist/templates/bpmn-group.js.map +1 -0
  88. package/dist/templates/bpmn-lane.d.ts +17 -0
  89. package/dist/templates/bpmn-lane.js +18 -0
  90. package/dist/templates/bpmn-lane.js.map +1 -0
  91. package/dist/templates/bpmn-pool.d.ts +15 -0
  92. package/dist/templates/bpmn-pool.js +16 -0
  93. package/dist/templates/bpmn-pool.js.map +1 -0
  94. package/dist/templates/bpmn-subprocess.d.ts +17 -0
  95. package/dist/templates/bpmn-subprocess.js +18 -0
  96. package/dist/templates/bpmn-subprocess.js.map +1 -0
  97. package/dist/templates/bpmn-task.d.ts +17 -0
  98. package/dist/templates/bpmn-task.js +18 -0
  99. package/dist/templates/bpmn-task.js.map +1 -0
  100. package/dist/templates/index.d.ts +15 -0
  101. package/dist/templates/index.js +28 -0
  102. package/dist/templates/index.js.map +1 -0
  103. package/helps/bpmn/gateway/complex-decision-gateway-example.png +0 -0
  104. package/helps/bpmn/gateway/complex-decision-gateway.png +0 -0
  105. package/helps/bpmn/gateway/event-based-gateway-example.webp +0 -0
  106. package/helps/bpmn/gateway/exclusive-event-based-gateway-example.png +0 -0
  107. package/helps/bpmn/gateway/exclusive-event-based-gateway.webp +0 -0
  108. package/helps/bpmn/gateway/exclusive-gateway-example.webp +0 -0
  109. package/helps/bpmn/gateway/exclusive-gateway.png +0 -0
  110. package/helps/bpmn/gateway/gateway-types.webp +0 -0
  111. package/helps/bpmn/gateway/gateway.md +111 -0
  112. package/helps/bpmn/gateway/inclusive-gateway-example.webp +0 -0
  113. package/helps/bpmn/gateway/inclusive-gateway.png +0 -0
  114. package/helps/bpmn/gateway/parallel-event-based-gateway-example.png +0 -0
  115. package/helps/bpmn/gateway/parallel-event-based-gateway.png +0 -0
  116. package/helps/bpmn/gateway/parallel-gateway-example.webp +0 -0
  117. package/helps/bpmn/gateway/parallel-gateway.png +0 -0
  118. package/icons/bpmn-group.png +0 -0
  119. package/icons/bpmn-lane.png +0 -0
  120. package/icons/bpmn-pool.png +0 -0
  121. package/icons/icon-bpmn-association-flow.png +0 -0
  122. package/icons/icon-bpmn-call-activity.png +0 -0
  123. package/icons/icon-bpmn-comment.png +0 -0
  124. package/icons/icon-bpmn-data-object.png +0 -0
  125. package/icons/icon-bpmn-data-store.png +0 -0
  126. package/icons/icon-bpmn-event.png +0 -0
  127. package/icons/icon-bpmn-flow.png +0 -0
  128. package/icons/icon-bpmn-gateway.png +0 -0
  129. package/icons/icon-bpmn-group.png +0 -0
  130. package/icons/icon-bpmn-lane.png +0 -0
  131. package/icons/icon-bpmn-message-flow.png +0 -0
  132. package/icons/icon-bpmn-pool.png +0 -0
  133. package/icons/icon-bpmn-subprocess.png +0 -0
  134. package/icons/icon-bpmn-task.png +0 -0
  135. package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +20 -0
  136. package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +20 -0
  137. package/logs/application-2022-11-03-10.log +22 -0
  138. package/logs/application-2022-11-03-11.log +18 -0
  139. package/logs/connections-2022-11-03-10.log +70 -0
  140. package/logs/connections-2022-11-03-11.log +105 -0
  141. package/package.json +60 -0
  142. package/src/base/bpmn-activity.ts +32 -0
  143. package/src/base/bpmn-container-base.ts +201 -0
  144. package/src/base/bpmn-control-base.ts +201 -0
  145. package/src/bpmn-call-activity.ts +22 -0
  146. package/src/bpmn-comment.ts +65 -0
  147. package/src/bpmn-data-object.ts +127 -0
  148. package/src/bpmn-data-store.ts +47 -0
  149. package/src/bpmn-event.ts +442 -0
  150. package/src/bpmn-flow.ts +28 -0
  151. package/src/bpmn-gateway.ts +165 -0
  152. package/src/bpmn-group.ts +39 -0
  153. package/src/bpmn-lane.ts +46 -0
  154. package/src/bpmn-pool.ts +25 -0
  155. package/src/bpmn-subprocess.ts +165 -0
  156. package/src/bpmn-task.ts +340 -0
  157. package/src/editors/index.ts +0 -0
  158. package/src/groups/index.ts +3 -0
  159. package/src/groups/process.ts +48 -0
  160. package/src/index.ts +12 -0
  161. package/src/templates/bpmn-call-activity.ts +18 -0
  162. package/src/templates/bpmn-comment.ts +20 -0
  163. package/src/templates/bpmn-data-object.ts +20 -0
  164. package/src/templates/bpmn-data-store.ts +18 -0
  165. package/src/templates/bpmn-event.ts +18 -0
  166. package/src/templates/bpmn-flow.ts +16 -0
  167. package/src/templates/bpmn-gateway.ts +18 -0
  168. package/src/templates/bpmn-group.ts +16 -0
  169. package/src/templates/bpmn-lane.ts +18 -0
  170. package/src/templates/bpmn-pool.ts +16 -0
  171. package/src/templates/bpmn-subprocess.ts +18 -0
  172. package/src/templates/bpmn-task.ts +18 -0
  173. package/src/templates/index.ts +29 -0
  174. package/things-scene.config.js +7 -0
  175. package/translations/en.json +11 -0
  176. package/translations/ko.json +11 -0
  177. package/translations/ms.json +11 -0
  178. package/translations/zh.json +11 -0
  179. package/tsconfig.json +22 -0
  180. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,19 @@
1
+ declare const _default: {
2
+ type: string;
3
+ description: string;
4
+ group: string;
5
+ icon: string;
6
+ model: {
7
+ type: string;
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ strokeStyle: string;
13
+ lineWidth: number;
14
+ lineCap: string;
15
+ lineJoin: string;
16
+ };
17
+ about: string;
18
+ };
19
+ export default _default;
@@ -0,0 +1,20 @@
1
+ const icon = new URL('../../icons/icon-bpmn-data-object.png', import.meta.url).href;
2
+ export default {
3
+ type: 'bpmn-data-object',
4
+ description: 'controls for BPMN data-object',
5
+ group: 'process',
6
+ icon,
7
+ model: {
8
+ type: 'bpmn-data-object',
9
+ left: 10,
10
+ top: 10,
11
+ width: 80,
12
+ height: 80,
13
+ strokeStyle: 'black',
14
+ lineWidth: 2,
15
+ lineCap: 'round',
16
+ lineJoin: 'round'
17
+ },
18
+ about: '/helps/bpmn/data-object/data-object.md'
19
+ };
20
+ //# sourceMappingURL=bpmn-data-object.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpmn-data-object.js","sourceRoot":"","sources":["../../src/templates/bpmn-data-object.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,uCAAuC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAEnF,eAAe;IACb,IAAI,EAAE,kBAAkB;IACxB,WAAW,EAAE,+BAA+B;IAC5C,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;QACZ,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE,OAAO;KAClB;IACD,KAAK,EAAE,wCAAwC;CAChD,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-data-object.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-data-object',\n description: 'controls for BPMN data-object',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-data-object',\n left: 10,\n top: 10,\n width: 80,\n height: 80,\n strokeStyle: 'black',\n lineWidth: 2,\n lineCap: 'round',\n lineJoin: 'round'\n },\n about: '/helps/bpmn/data-object/data-object.md'\n}\n"]}
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ type: string;
3
+ description: string;
4
+ group: string;
5
+ icon: string;
6
+ model: {
7
+ type: string;
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ strokeStyle: string;
13
+ lineWidth: number;
14
+ };
15
+ about: string;
16
+ };
17
+ export default _default;
@@ -0,0 +1,18 @@
1
+ const icon = new URL('../../icons/icon-bpmn-data-store.png', import.meta.url).href;
2
+ export default {
3
+ type: 'bpmn-data-store',
4
+ description: 'controls for BPMN data-store',
5
+ group: 'process',
6
+ icon,
7
+ model: {
8
+ type: 'bpmn-data-store',
9
+ left: 10,
10
+ top: 10,
11
+ width: 80,
12
+ height: 80,
13
+ strokeStyle: 'black',
14
+ lineWidth: 2
15
+ },
16
+ about: '/helps/bpmn/data-store/data-store.md'
17
+ };
18
+ //# sourceMappingURL=bpmn-data-store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpmn-data-store.js","sourceRoot":"","sources":["../../src/templates/bpmn-data-store.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,sCAAsC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAElF,eAAe;IACb,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,8BAA8B;IAC3C,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;KACb;IACD,KAAK,EAAE,sCAAsC;CAC9C,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-data-store.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-data-store',\n description: 'controls for BPMN data-store',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-data-store',\n left: 10,\n top: 10,\n width: 80,\n height: 80,\n strokeStyle: 'black',\n lineWidth: 2\n },\n about: '/helps/bpmn/data-store/data-store.md'\n}\n"]}
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ type: string;
3
+ description: string;
4
+ group: string;
5
+ icon: string;
6
+ model: {
7
+ type: string;
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ strokeStyle: string;
13
+ lineWidth: number;
14
+ };
15
+ about: string;
16
+ };
17
+ export default _default;
@@ -0,0 +1,18 @@
1
+ const icon = new URL('../../icons/icon-bpmn-event.png', import.meta.url).href;
2
+ export default {
3
+ type: 'bpmn-event',
4
+ description: 'controls for BPMN event',
5
+ group: 'process',
6
+ icon,
7
+ model: {
8
+ type: 'bpmn-event',
9
+ left: 10,
10
+ top: 10,
11
+ width: 60,
12
+ height: 60,
13
+ strokeStyle: 'black',
14
+ lineWidth: 2
15
+ },
16
+ about: 'https://www.visual-paradigm.com/guide/bpmn/bpmn-events/'
17
+ };
18
+ //# sourceMappingURL=bpmn-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpmn-event.js","sourceRoot":"","sources":["../../src/templates/bpmn-event.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,iCAAiC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE7E,eAAe;IACb,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,yBAAyB;IACtC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;KACb;IACD,KAAK,EAAE,yDAAyD;CACjE,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-event.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-event',\n description: 'controls for BPMN event',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-event',\n left: 10,\n top: 10,\n width: 60,\n height: 60,\n strokeStyle: 'black',\n lineWidth: 2\n },\n about: 'https://www.visual-paradigm.com/guide/bpmn/bpmn-events/'\n}\n"]}
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ type: string;
3
+ description: string;
4
+ group: string;
5
+ icon: string;
6
+ model: {
7
+ type: string;
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ };
13
+ about: string;
14
+ };
15
+ export default _default;
@@ -0,0 +1,16 @@
1
+ const icon = new URL('../../icons/icon-bpmn-flow.png', import.meta.url).href;
2
+ export default {
3
+ type: 'bpmn-flow',
4
+ description: 'controls for BPMN flow',
5
+ group: 'process',
6
+ icon,
7
+ model: {
8
+ type: 'bpmn-flow',
9
+ left: 10,
10
+ top: 10,
11
+ width: 80,
12
+ height: 50
13
+ },
14
+ about: '/helps/bpmn/flow/flow.md'
15
+ };
16
+ //# sourceMappingURL=bpmn-flow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpmn-flow.js","sourceRoot":"","sources":["../../src/templates/bpmn-flow.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE5E,eAAe;IACb,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,wBAAwB;IACrC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;KACX;IACD,KAAK,EAAE,0BAA0B;CAClC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-flow.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-flow',\n description: 'controls for BPMN flow',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-flow',\n left: 10,\n top: 10,\n width: 80,\n height: 50\n },\n about: '/helps/bpmn/flow/flow.md'\n}\n"]}
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ type: string;
3
+ description: string;
4
+ group: string;
5
+ icon: string;
6
+ model: {
7
+ type: string;
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ strokeStyle: string;
13
+ lineWidth: number;
14
+ };
15
+ about: string;
16
+ };
17
+ export default _default;
@@ -0,0 +1,18 @@
1
+ const icon = new URL('../../icons/icon-bpmn-gateway.png', import.meta.url).href;
2
+ export default {
3
+ type: 'bpmn-gateway',
4
+ description: 'controls for BPMN gateway',
5
+ group: 'process',
6
+ icon,
7
+ model: {
8
+ type: 'bpmn-gateway',
9
+ left: 10,
10
+ top: 10,
11
+ width: 80,
12
+ height: 80,
13
+ strokeStyle: 'black',
14
+ lineWidth: 2
15
+ },
16
+ about: '/helps/bpmn/gateway/gateway.md'
17
+ };
18
+ //# sourceMappingURL=bpmn-gateway.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpmn-gateway.js","sourceRoot":"","sources":["../../src/templates/bpmn-gateway.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,mCAAmC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE/E,eAAe;IACb,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;KACb;IACD,KAAK,EAAE,gCAAgC;CACxC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-gateway.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-gateway',\n description: 'controls for BPMN gateway',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-gateway',\n left: 10,\n top: 10,\n width: 80,\n height: 80,\n strokeStyle: 'black',\n lineWidth: 2\n },\n about: '/helps/bpmn/gateway/gateway.md'\n}\n"]}
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ type: string;
3
+ description: string;
4
+ group: string;
5
+ icon: string;
6
+ model: {
7
+ type: string;
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ };
13
+ about: string;
14
+ };
15
+ export default _default;
@@ -0,0 +1,16 @@
1
+ const icon = new URL('../../icons/icon-bpmn-group.png', import.meta.url).href;
2
+ export default {
3
+ type: 'bpmn-group',
4
+ description: 'controls for BPMN group',
5
+ group: 'process',
6
+ icon,
7
+ model: {
8
+ type: 'bpmn-group',
9
+ left: 10,
10
+ top: 10,
11
+ width: 80,
12
+ height: 50
13
+ },
14
+ about: '/helps/bpmn/group/group.md'
15
+ };
16
+ //# sourceMappingURL=bpmn-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpmn-group.js","sourceRoot":"","sources":["../../src/templates/bpmn-group.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,iCAAiC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE7E,eAAe;IACb,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,yBAAyB;IACtC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;KACX;IACD,KAAK,EAAE,4BAA4B;CACpC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-group.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-group',\n description: 'controls for BPMN group',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-group',\n left: 10,\n top: 10,\n width: 80,\n height: 50\n },\n about: '/helps/bpmn/group/group.md'\n}\n"]}
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ type: string;
3
+ description: string;
4
+ group: string;
5
+ icon: string;
6
+ model: {
7
+ type: string;
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ strokeStyle: string;
13
+ lineWidth: number;
14
+ };
15
+ about: string;
16
+ };
17
+ export default _default;
@@ -0,0 +1,18 @@
1
+ const icon = new URL('../../icons/icon-bpmn-lane.png', import.meta.url).href;
2
+ export default {
3
+ type: 'bpmn-lane',
4
+ description: 'controls for BPMN lane',
5
+ group: 'process',
6
+ icon,
7
+ model: {
8
+ type: 'bpmn-lane',
9
+ left: 10,
10
+ top: 10,
11
+ width: 600,
12
+ height: 200,
13
+ strokeStyle: 'black',
14
+ lineWidth: 2
15
+ },
16
+ about: '/helps/bpmn/lane/lane.md'
17
+ };
18
+ //# sourceMappingURL=bpmn-lane.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpmn-lane.js","sourceRoot":"","sources":["../../src/templates/bpmn-lane.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE5E,eAAe;IACb,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,wBAAwB;IACrC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,GAAG;QACX,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;KACb;IACD,KAAK,EAAE,0BAA0B;CAClC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-lane.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-lane',\n description: 'controls for BPMN lane',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-lane',\n left: 10,\n top: 10,\n width: 600,\n height: 200,\n strokeStyle: 'black',\n lineWidth: 2\n },\n about: '/helps/bpmn/lane/lane.md'\n}\n"]}
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ type: string;
3
+ description: string;
4
+ group: string;
5
+ icon: string;
6
+ model: {
7
+ type: string;
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ };
13
+ about: string;
14
+ };
15
+ export default _default;
@@ -0,0 +1,16 @@
1
+ const icon = new URL('../../icons/icon-bpmn-pool.png', import.meta.url).href;
2
+ export default {
3
+ type: 'bpmn-pool',
4
+ description: 'controls for BPMN pool',
5
+ group: 'process',
6
+ icon,
7
+ model: {
8
+ type: 'bpmn-pool',
9
+ left: 10,
10
+ top: 10,
11
+ width: 80,
12
+ height: 50
13
+ },
14
+ about: '/helps/bpmn/pool/pool.md'
15
+ };
16
+ //# sourceMappingURL=bpmn-pool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpmn-pool.js","sourceRoot":"","sources":["../../src/templates/bpmn-pool.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE5E,eAAe;IACb,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,wBAAwB;IACrC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;KACX;IACD,KAAK,EAAE,0BAA0B;CAClC,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-pool.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-pool',\n description: 'controls for BPMN pool',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-pool',\n left: 10,\n top: 10,\n width: 80,\n height: 50\n },\n about: '/helps/bpmn/pool/pool.md'\n}\n"]}
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ type: string;
3
+ description: string;
4
+ group: string;
5
+ icon: string;
6
+ model: {
7
+ type: string;
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ strokeStyle: string;
13
+ lineWidth: number;
14
+ };
15
+ about: string;
16
+ };
17
+ export default _default;
@@ -0,0 +1,18 @@
1
+ const icon = new URL('../../icons/icon-bpmn-subprocess.png', import.meta.url).href;
2
+ export default {
3
+ type: 'bpmn-subprocess',
4
+ description: 'controls for BPMN subprocess',
5
+ group: 'process',
6
+ icon,
7
+ model: {
8
+ type: 'bpmn-subprocess',
9
+ left: 10,
10
+ top: 10,
11
+ width: 100,
12
+ height: 60,
13
+ strokeStyle: 'black',
14
+ lineWidth: 2
15
+ },
16
+ about: 'https://www.visual-paradigm.com/guide/bpmn/bpmn-activity-types-explained/'
17
+ };
18
+ //# sourceMappingURL=bpmn-subprocess.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpmn-subprocess.js","sourceRoot":"","sources":["../../src/templates/bpmn-subprocess.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,sCAAsC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAElF,eAAe;IACb,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,8BAA8B;IAC3C,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;KACb;IACD,KAAK,EAAE,2EAA2E;CACnF,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-subprocess.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-subprocess',\n description: 'controls for BPMN subprocess',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-subprocess',\n left: 10,\n top: 10,\n width: 100,\n height: 60,\n strokeStyle: 'black',\n lineWidth: 2\n },\n about: 'https://www.visual-paradigm.com/guide/bpmn/bpmn-activity-types-explained/'\n}\n"]}
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ type: string;
3
+ description: string;
4
+ group: string;
5
+ icon: string;
6
+ model: {
7
+ type: string;
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ strokeStyle: string;
13
+ lineWidth: number;
14
+ };
15
+ about: string;
16
+ };
17
+ export default _default;
@@ -0,0 +1,18 @@
1
+ const icon = new URL('../../icons/icon-bpmn-task.png', import.meta.url).href;
2
+ export default {
3
+ type: 'bpmn-task',
4
+ description: 'controls for BPMN task',
5
+ group: 'process',
6
+ icon,
7
+ model: {
8
+ type: 'bpmn-task',
9
+ left: 10,
10
+ top: 10,
11
+ width: 100,
12
+ height: 60,
13
+ strokeStyle: 'black',
14
+ lineWidth: 2
15
+ },
16
+ about: 'https://www.visual-paradigm.com/guide/bpmn/bpmn-activity-types-explained/'
17
+ };
18
+ //# sourceMappingURL=bpmn-task.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bpmn-task.js","sourceRoot":"","sources":["../../src/templates/bpmn-task.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAE5E,eAAe;IACb,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,wBAAwB;IACrC,KAAK,EAAE,SAAS;IAChB,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,EAAE;QACP,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,EAAE;QACV,WAAW,EAAE,OAAO;QACpB,SAAS,EAAE,CAAC;KACb;IACD,KAAK,EAAE,2EAA2E;CACnF,CAAA","sourcesContent":["const icon = new URL('../../icons/icon-bpmn-task.png', import.meta.url).href\n\nexport default {\n type: 'bpmn-task',\n description: 'controls for BPMN task',\n group: 'process',\n icon,\n model: {\n type: 'bpmn-task',\n left: 10,\n top: 10,\n width: 100,\n height: 60,\n strokeStyle: 'black',\n lineWidth: 2\n },\n about: 'https://www.visual-paradigm.com/guide/bpmn/bpmn-activity-types-explained/'\n}\n"]}
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ type: string;
3
+ description: string;
4
+ group: string;
5
+ icon: string;
6
+ model: {
7
+ type: string;
8
+ left: number;
9
+ top: number;
10
+ width: number;
11
+ height: number;
12
+ };
13
+ about: string;
14
+ }[];
15
+ export default _default;
@@ -0,0 +1,28 @@
1
+ // IMPORT
2
+ import bpmnCallActivity from './bpmn-call-activity';
3
+ import bpmnComment from './bpmn-comment';
4
+ import bpmnDataObject from './bpmn-data-object';
5
+ import bpmnDataStore from './bpmn-data-store';
6
+ import bpmnEvent from './bpmn-event';
7
+ import bpmnFlow from './bpmn-flow';
8
+ import bpmnGateway from './bpmn-gateway';
9
+ import bpmnGroup from './bpmn-group';
10
+ import bpmnLane from './bpmn-lane';
11
+ import bpmnPool from './bpmn-pool';
12
+ import bpmnSubprocess from './bpmn-subprocess';
13
+ import bpmnTask from './bpmn-task';
14
+ export default [
15
+ bpmnTask,
16
+ bpmnCallActivity,
17
+ bpmnComment,
18
+ bpmnDataObject,
19
+ bpmnDataStore,
20
+ bpmnEvent,
21
+ bpmnFlow,
22
+ bpmnGateway,
23
+ bpmnGroup,
24
+ bpmnLane,
25
+ bpmnPool,
26
+ bpmnSubprocess
27
+ ];
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA,SAAS;AAET,OAAO,gBAAgB,MAAM,sBAAsB,CAAA;AACnD,OAAO,WAAW,MAAM,gBAAgB,CAAA;AACxC,OAAO,cAAc,MAAM,oBAAoB,CAAA;AAC/C,OAAO,aAAa,MAAM,mBAAmB,CAAA;AAC7C,OAAO,SAAS,MAAM,cAAc,CAAA;AACpC,OAAO,QAAQ,MAAM,aAAa,CAAA;AAClC,OAAO,WAAW,MAAM,gBAAgB,CAAA;AACxC,OAAO,SAAS,MAAM,cAAc,CAAA;AACpC,OAAO,QAAQ,MAAM,aAAa,CAAA;AAClC,OAAO,QAAQ,MAAM,aAAa,CAAA;AAClC,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,QAAQ,MAAM,aAAa,CAAA;AAElC,eAAe;IACb,QAAQ;IACR,gBAAgB;IAChB,WAAW;IACX,cAAc;IACd,aAAa;IACb,SAAS;IACT,QAAQ;IACR,WAAW;IACX,SAAS;IACT,QAAQ;IACR,QAAQ;IACR,cAAc;CACf,CAAA","sourcesContent":["// IMPORT\n\nimport bpmnCallActivity from './bpmn-call-activity'\nimport bpmnComment from './bpmn-comment'\nimport bpmnDataObject from './bpmn-data-object'\nimport bpmnDataStore from './bpmn-data-store'\nimport bpmnEvent from './bpmn-event'\nimport bpmnFlow from './bpmn-flow'\nimport bpmnGateway from './bpmn-gateway'\nimport bpmnGroup from './bpmn-group'\nimport bpmnLane from './bpmn-lane'\nimport bpmnPool from './bpmn-pool'\nimport bpmnSubprocess from './bpmn-subprocess'\nimport bpmnTask from './bpmn-task'\n\nexport default [\n bpmnTask,\n bpmnCallActivity,\n bpmnComment,\n bpmnDataObject,\n bpmnDataStore,\n bpmnEvent,\n bpmnFlow,\n bpmnGateway,\n bpmnGroup,\n bpmnLane,\n bpmnPool,\n bpmnSubprocess\n]\n"]}
@@ -0,0 +1,111 @@
1
+ # Gateway
2
+
3
+ Gateways determine what path is taken through a process that controls the flow of both diverging and converging Sequence Flows. That is, a single Gateway could have multiple inputs and multiple output flows. The term “gateway” implies that there is a gating mechanism that either allows or disallows passage through the Gateway–that is, as tokens arrive at a Gateway, they can be merged on input and/or split apart on output as the Gateway mechanisms are invoked. If the flow does not need to be controlled, then a Gateway is not needed.
4
+
5
+ Gateways, like Activities, are capable of consuming or generating additional control tokens, effectively controlling the execution semantics of a given Process. The main difference is that Gateways do not represent ‘work’ being done and they are considered to have zero effect on the operational measures of the Process being executed (cost, time, etc.).
6
+
7
+ ## types of gateway
8
+
9
+ All Gateways are represented with a diamond shape, with different icons within to distinguish the type of Gateway. In BPMN we can divide Gateways element into the following categories:
10
+
11
+ ![gateway types](./gateway-types.webp)
12
+
13
+ ### Exclusive Gateway
14
+
15
+ ![exclusive-gateway](./exclusive-gateway.png)
16
+
17
+ A diverging Exclusive Gateway (or XOR Gateway) is used to create alternative paths within a Process flow. For a given instance of the Process, only one of the paths can be taken.
18
+
19
+ When the execution of a workflow arrives at this gateway, all outgoing sequence flows are evaluated in the order in which they are defined. The sequence flow whose condition evaluates to true is selected for propagating the token flow.
20
+
21
+ Note that the semantics of an outgoing sequence flow:
22
+
23
+ In general, in BPMN 2.0, all sequence flows whose conditions evaluate to true are selected to continue in a parallel way. When using an exclusive gateway, only one sequence flow is selected.
24
+ When multiple sequence flows have conditions that evaluate to true, only the first one defined is selected to continue the process.
25
+ If no sequence flow can be selected, an exception will be thrown. To ensure a sequence flow will always be selected, have no condition on one of your flows.
26
+ Exclusive Gateway Example
27
+ The following diagram shows an exclusive gateway that will choose one sequence flow based on the value of a property, in this example, the invoice amount. Only two flows have conditions on them going to CFO Approval and Finance Director Approval. The last sequence flow has no condition and will be selected by default if the other conditional flows evaluate to false.
28
+
29
+ ![exclusive gateway example](./exclusive-event-based-gateway-example.png)
30
+
31
+ ### Event-Based Gateway
32
+
33
+ The event-based gateway also can be used to instantiate a process. When this is the case the Event-Based Exclusive Gateway icon has only a single circle within the diamond. When used to start a process, the Event-Based Exclusive Gateway allows the process to start in several ways based on the event that triggers it.
34
+
35
+ Event-Based Gateway Example
36
+ event based gateway example
37
+
38
+ ### Parallel Gateway
39
+
40
+ Parallel gateway
41
+
42
+ Parallel gateways are used to represent two tasks in a business flow. A parallel gateway is used to visualize the concurrent execution of activities. A parallel gateway models a fork into multiple paths of execution, or a join of multiple incoming paths of execution.
43
+
44
+ Fork – all outgoing sequence flows are followed in parallel, creating one concurrent execution for each sequence flow.
45
+ Join – all concurrent executions arriving at the parallel gateway wait at the gateway until execution has completed for each of the incoming sequence flows. The process then continues.
46
+ A parallel gateway can have both fork and join behavior if there are multiple incoming and outgoing sequence flows for the same parallel gateway. In this case, the gateway will first join all the incoming sequence flows, before splitting into multiple concurrent paths of execution.
47
+
48
+ Parallel Gateway Example
49
+ The following diagram shows a definition with two parallel gateways.
50
+
51
+ Parallel gateway example
52
+
53
+ ### Inclusive Gateway
54
+
55
+ Inclusive gateway
56
+
57
+ An inclusive Gateway specifies that one or more of the available paths will be taken. They could all be taken, or only one of them.
58
+
59
+ Inclusive Gateway Example – Car Purchase
60
+ Inclusive gateway example
61
+
62
+ The first OR gateway represents the control of the flow of the process along one or more paths in the model.
63
+
64
+ If the car needs to be cleaned, it will be cleaned.
65
+ Also, if it needs to be repaired, it will be repaired.
66
+ If the car needs to be both cleaned and repaired, both things happen.
67
+ The possibility that neither cleaning nor repairs are required.
68
+ The second OR gateway represents the reconnection of those paths and the continuation of flow.
69
+
70
+ When reconnecting paths like this, the OR gateway explicitly requires that all paths that were activated must be completed before continuing in the process.
71
+ By explanation, if the car needed only to be cleaned, then the car may be driven once the cleaning is done.
72
+ If the car needed to be both cleaned and repaired, the car could not be driven until both the cleaning and repairs were completed.
73
+ Exclusive Event-based Gateway
74
+ exclusive event based gateway
75
+
76
+ An exclusive event-based gateway is used to branch a process when alternative paths are determined by events (various messages or signals) rather than by conditional flows. This can happen when the decision about one of the alternative paths is taken by someone out of the process.
77
+
78
+ Exclusive Event-based Gateway Example
79
+ A signing contract process expects a signal regarding a client’s decision during the negotiation process. Further development of the process depends on this decision.
80
+
81
+ exclusive event based gateway-example
82
+
83
+ An exclusive event-based gateway, the decision is made based on whichever the associated intermediate event occurs first.
84
+
85
+ ### Complex Decision Gateway
86
+
87
+ A complex decision gateway allows for a more expressive decision within a business process. Multiple factors, rules, and analyses can all combine to yield results. The analysis should result in at least one path always being taken.
88
+
89
+ complex decision gateway
90
+
91
+ Complex Gateway Example
92
+ A student takes an SAT examination. If the student scores under an 800 (the possible scores range from 200 to 1600), the student will enroll in an expensive class to improve his test score – and then retake the exam. If the student performs moderately, he will read a low-cost book designed to help him improve his score – and then retake the exam. If the student scores above 1000, he will immediately attend university.
93
+
94
+ complex decision gateway example
95
+
96
+ Parallel Event-Based Gateway
97
+ Parallel event based gateway
98
+
99
+ A Parallel Event-Based gateway is similar to a parallel gateway. It allows for more than one process to happen at the same time. It is important to note that while the Event-Based Parallel Gateway will allow multiple events to pass through and start the corresponding portion of the process, it does not wait for all of the events to arrive. That is, it does not wait and synchronize the events before the start of each processing path is permitted.
100
+
101
+ Parallel Event-based Gateway Example
102
+ Event Gateways can be used to instantiate a Process. By default the Gateway’s instantiate attribute is false, but if set to true, then the Process is instantiated when the first Event of the Gateway’s configuration is triggered. In this example, if your Bank Manager Approval event is triggered then the Increase Overdraft process will be executed.
103
+
104
+ Parallel event based gateway-example
105
+
106
+ ## Summary
107
+
108
+ We now know how to use the seven different types of gateways in BPMN modeling. Gateways can define all the types of Business Process Sequence Flow behavior:
109
+
110
+ Decisions/branching (exclusive, inclusive, parallel, complex)
111
+ merging, forking, joining
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file