@operato/scene-bpmn 1.1.4 → 1.1.5

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 (98) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/bpmn-data-object.d.ts +9 -2
  3. package/dist/bpmn-data-object.js +34 -2
  4. package/dist/bpmn-data-object.js.map +1 -1
  5. package/dist/bpmn-event.js +1 -1
  6. package/dist/bpmn-event.js.map +1 -1
  7. package/dist/bpmn-expanded-subprocess.d.ts +16 -0
  8. package/dist/bpmn-expanded-subprocess.js +45 -0
  9. package/dist/bpmn-expanded-subprocess.js.map +1 -0
  10. package/dist/bpmn-gateway.js +1 -1
  11. package/dist/bpmn-gateway.js.map +1 -1
  12. package/dist/{bpmn-call-activity.d.ts → bpmn-message.d.ts} +3 -3
  13. package/dist/bpmn-message.js +32 -0
  14. package/dist/bpmn-message.js.map +1 -0
  15. package/dist/bpmn-subprocess.js +9 -3
  16. package/dist/bpmn-subprocess.js.map +1 -1
  17. package/dist/bpmn-task.js +11 -5
  18. package/dist/bpmn-task.js.map +1 -1
  19. package/dist/characteristics/loop.d.ts +0 -0
  20. package/dist/characteristics/loop.js +2 -0
  21. package/dist/characteristics/loop.js.map +1 -0
  22. package/dist/index.d.ts +2 -1
  23. package/dist/index.js +2 -1
  24. package/dist/index.js.map +1 -1
  25. package/dist/templates/bpmn-data-object.js +2 -2
  26. package/dist/templates/bpmn-data-object.js.map +1 -1
  27. package/dist/templates/bpmn-data-store.js +2 -2
  28. package/dist/templates/bpmn-data-store.js.map +1 -1
  29. package/dist/templates/bpmn-event.js +2 -2
  30. package/dist/templates/bpmn-event.js.map +1 -1
  31. package/dist/templates/bpmn-expanded-subprocess.d.ts +25 -0
  32. package/dist/templates/bpmn-expanded-subprocess.js +26 -0
  33. package/dist/templates/bpmn-expanded-subprocess.js.map +1 -0
  34. package/dist/templates/bpmn-gateway.js +2 -2
  35. package/dist/templates/bpmn-gateway.js.map +1 -1
  36. package/dist/templates/bpmn-group.js +2 -2
  37. package/dist/templates/bpmn-group.js.map +1 -1
  38. package/dist/templates/bpmn-lane.js +2 -2
  39. package/dist/templates/bpmn-lane.js.map +1 -1
  40. package/dist/templates/{bpmn-call-activity.d.ts → bpmn-message.d.ts} +2 -0
  41. package/dist/templates/bpmn-message.js +20 -0
  42. package/dist/templates/bpmn-message.js.map +1 -0
  43. package/dist/templates/bpmn-pool.js +2 -2
  44. package/dist/templates/bpmn-pool.js.map +1 -1
  45. package/dist/templates/bpmn-subprocess.js +2 -2
  46. package/dist/templates/bpmn-subprocess.js.map +1 -1
  47. package/dist/templates/bpmn-task.js +2 -2
  48. package/dist/templates/bpmn-task.js.map +1 -1
  49. package/dist/templates/index.js +5 -3
  50. package/dist/templates/index.js.map +1 -1
  51. package/icons/icon-bpmn-expanded-subprocess.png +0 -0
  52. package/icons/icon-bpmn-message.png +0 -0
  53. package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +20 -10
  54. package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +20 -0
  55. package/logs/application-2022-11-05-10.log +6 -0
  56. package/logs/application-2022-11-05-11.log +6 -0
  57. package/logs/application-2022-11-05-16.log +30 -0
  58. package/logs/application-2022-11-05-17.log +6 -0
  59. package/logs/connections-2022-11-05-10.log +35 -0
  60. package/logs/connections-2022-11-05-11.log +35 -0
  61. package/logs/connections-2022-11-05-16.log +175 -0
  62. package/logs/connections-2022-11-05-17.log +35 -0
  63. package/package.json +3 -3
  64. package/src/bpmn-data-object.ts +40 -2
  65. package/src/bpmn-event.ts +1 -1
  66. package/src/bpmn-expanded-subprocess.ts +54 -0
  67. package/src/bpmn-gateway.ts +1 -1
  68. package/src/bpmn-message.ts +41 -0
  69. package/src/bpmn-subprocess.ts +9 -3
  70. package/src/bpmn-task.ts +11 -6
  71. package/src/characteristics/loop.ts +0 -0
  72. package/src/index.ts +2 -1
  73. package/src/templates/bpmn-data-object.ts +2 -2
  74. package/src/templates/bpmn-data-store.ts +2 -2
  75. package/src/templates/bpmn-event.ts +2 -2
  76. package/src/templates/bpmn-expanded-subprocess.ts +27 -0
  77. package/src/templates/bpmn-gateway.ts +2 -2
  78. package/src/templates/bpmn-group.ts +2 -2
  79. package/src/templates/bpmn-lane.ts +2 -2
  80. package/src/templates/bpmn-message.ts +20 -0
  81. package/src/templates/bpmn-pool.ts +2 -2
  82. package/src/templates/bpmn-subprocess.ts +2 -2
  83. package/src/templates/bpmn-task.ts +2 -2
  84. package/src/templates/index.ts +5 -3
  85. package/translations/en.json +3 -1
  86. package/translations/ko.json +3 -1
  87. package/translations/ms.json +3 -1
  88. package/translations/zh.json +3 -1
  89. package/tsconfig.tsbuildinfo +1 -1
  90. package/db.sqlite +0 -0
  91. package/dist/bpmn-call-activity.js +0 -19
  92. package/dist/bpmn-call-activity.js.map +0 -1
  93. package/dist/templates/bpmn-call-activity.js +0 -18
  94. package/dist/templates/bpmn-call-activity.js.map +0 -1
  95. package/logs/application-2022-11-03-10.log +0 -22
  96. package/logs/application-2022-11-03-11.log +0 -18
  97. package/src/bpmn-call-activity.ts +0 -22
  98. package/src/templates/bpmn-call-activity.ts +0 -18
@@ -0,0 +1,35 @@
1
+ 2022-11-05T10:54:45+09:00 info: Initializing ConnectionManager...
2
+ 2022-11-05T10:54:45+09:00 info: Connector 'echo-back-server' started to ready
3
+ 2022-11-05T10:54:45+09:00 info: Connector 'echo-back' started to ready
4
+ 2022-11-05T10:54:45+09:00 info: Connector 'http-connector' started to ready
5
+ 2022-11-05T10:54:45+09:00 info: Connector 'graphql-connector' started to ready
6
+ 2022-11-05T10:54:45+09:00 info: Connector 'sqlite-connector' started to ready
7
+ 2022-11-05T10:54:45+09:00 info: Connector 'postgresql-connector' started to ready
8
+ 2022-11-05T10:54:45+09:00 info: Connector 'mqtt-connector' started to ready
9
+ 2022-11-05T10:54:45+09:00 info: Connector 'mssql-connector' started to ready
10
+ 2022-11-05T10:54:45+09:00 info: Connector 'oracle-connector' started to ready
11
+ 2022-11-05T10:54:45+09:00 info: Connector 'mysql-connector' started to ready
12
+ 2022-11-05T10:54:45+09:00 info: Connector 'socket-server' started to ready
13
+ 2022-11-05T10:54:45+09:00 info: echo-back-servers are ready
14
+ 2022-11-05T10:54:45+09:00 info: echo-back connections are ready
15
+ 2022-11-05T10:54:45+09:00 info: http-connector connections are ready
16
+ 2022-11-05T10:54:45+09:00 info: graphql-connector connections are ready
17
+ 2022-11-05T10:54:45+09:00 info: sqlite-connector connections are ready
18
+ 2022-11-05T10:54:45+09:00 info: postgresql-connector connections are ready
19
+ 2022-11-05T10:54:45+09:00 info: mqtt-connector connections are ready
20
+ 2022-11-05T10:54:45+09:00 info: mssql-connector connections are ready
21
+ 2022-11-05T10:54:45+09:00 info: oracle-connector connections are ready
22
+ 2022-11-05T10:54:45+09:00 info: mysql-connector connections are ready
23
+ 2022-11-05T10:54:45+09:00 info: socket servers are ready
24
+ 2022-11-05T10:54:45+09:00 info: All connector for 'echo-back-server' ready
25
+ 2022-11-05T10:54:45+09:00 info: All connector for 'echo-back' ready
26
+ 2022-11-05T10:54:45+09:00 info: All connector for 'http-connector' ready
27
+ 2022-11-05T10:54:45+09:00 info: All connector for 'graphql-connector' ready
28
+ 2022-11-05T10:54:45+09:00 info: All connector for 'sqlite-connector' ready
29
+ 2022-11-05T10:54:45+09:00 info: All connector for 'postgresql-connector' ready
30
+ 2022-11-05T10:54:45+09:00 info: All connector for 'mqtt-connector' ready
31
+ 2022-11-05T10:54:45+09:00 info: All connector for 'mssql-connector' ready
32
+ 2022-11-05T10:54:45+09:00 info: All connector for 'oracle-connector' ready
33
+ 2022-11-05T10:54:45+09:00 info: All connector for 'mysql-connector' ready
34
+ 2022-11-05T10:54:45+09:00 info: All connector for 'socket-server' ready
35
+ 2022-11-05T10:54:45+09:00 info: ConnectionManager initialization done:
@@ -0,0 +1,35 @@
1
+ 2022-11-05T11:40:41+09:00 info: Initializing ConnectionManager...
2
+ 2022-11-05T11:40:41+09:00 info: Connector 'echo-back-server' started to ready
3
+ 2022-11-05T11:40:41+09:00 info: Connector 'echo-back' started to ready
4
+ 2022-11-05T11:40:41+09:00 info: Connector 'http-connector' started to ready
5
+ 2022-11-05T11:40:41+09:00 info: Connector 'graphql-connector' started to ready
6
+ 2022-11-05T11:40:41+09:00 info: Connector 'sqlite-connector' started to ready
7
+ 2022-11-05T11:40:41+09:00 info: Connector 'postgresql-connector' started to ready
8
+ 2022-11-05T11:40:41+09:00 info: Connector 'mqtt-connector' started to ready
9
+ 2022-11-05T11:40:41+09:00 info: Connector 'mssql-connector' started to ready
10
+ 2022-11-05T11:40:41+09:00 info: Connector 'oracle-connector' started to ready
11
+ 2022-11-05T11:40:41+09:00 info: Connector 'mysql-connector' started to ready
12
+ 2022-11-05T11:40:41+09:00 info: Connector 'socket-server' started to ready
13
+ 2022-11-05T11:40:41+09:00 info: echo-back-servers are ready
14
+ 2022-11-05T11:40:41+09:00 info: echo-back connections are ready
15
+ 2022-11-05T11:40:41+09:00 info: http-connector connections are ready
16
+ 2022-11-05T11:40:41+09:00 info: graphql-connector connections are ready
17
+ 2022-11-05T11:40:41+09:00 info: sqlite-connector connections are ready
18
+ 2022-11-05T11:40:41+09:00 info: postgresql-connector connections are ready
19
+ 2022-11-05T11:40:41+09:00 info: mqtt-connector connections are ready
20
+ 2022-11-05T11:40:41+09:00 info: mssql-connector connections are ready
21
+ 2022-11-05T11:40:41+09:00 info: oracle-connector connections are ready
22
+ 2022-11-05T11:40:41+09:00 info: mysql-connector connections are ready
23
+ 2022-11-05T11:40:41+09:00 info: socket servers are ready
24
+ 2022-11-05T11:40:41+09:00 info: All connector for 'echo-back-server' ready
25
+ 2022-11-05T11:40:41+09:00 info: All connector for 'echo-back' ready
26
+ 2022-11-05T11:40:41+09:00 info: All connector for 'http-connector' ready
27
+ 2022-11-05T11:40:41+09:00 info: All connector for 'graphql-connector' ready
28
+ 2022-11-05T11:40:41+09:00 info: All connector for 'sqlite-connector' ready
29
+ 2022-11-05T11:40:41+09:00 info: All connector for 'postgresql-connector' ready
30
+ 2022-11-05T11:40:41+09:00 info: All connector for 'mqtt-connector' ready
31
+ 2022-11-05T11:40:41+09:00 info: All connector for 'mssql-connector' ready
32
+ 2022-11-05T11:40:41+09:00 info: All connector for 'oracle-connector' ready
33
+ 2022-11-05T11:40:41+09:00 info: All connector for 'mysql-connector' ready
34
+ 2022-11-05T11:40:41+09:00 info: All connector for 'socket-server' ready
35
+ 2022-11-05T11:40:41+09:00 info: ConnectionManager initialization done:
@@ -0,0 +1,175 @@
1
+ 2022-11-05T16:32:59+09:00 info: Initializing ConnectionManager...
2
+ 2022-11-05T16:32:59+09:00 info: Connector 'echo-back-server' started to ready
3
+ 2022-11-05T16:32:59+09:00 info: Connector 'echo-back' started to ready
4
+ 2022-11-05T16:32:59+09:00 info: Connector 'http-connector' started to ready
5
+ 2022-11-05T16:32:59+09:00 info: Connector 'graphql-connector' started to ready
6
+ 2022-11-05T16:32:59+09:00 info: Connector 'sqlite-connector' started to ready
7
+ 2022-11-05T16:32:59+09:00 info: Connector 'postgresql-connector' started to ready
8
+ 2022-11-05T16:32:59+09:00 info: Connector 'mqtt-connector' started to ready
9
+ 2022-11-05T16:32:59+09:00 info: Connector 'mssql-connector' started to ready
10
+ 2022-11-05T16:32:59+09:00 info: Connector 'oracle-connector' started to ready
11
+ 2022-11-05T16:32:59+09:00 info: Connector 'mysql-connector' started to ready
12
+ 2022-11-05T16:32:59+09:00 info: Connector 'socket-server' started to ready
13
+ 2022-11-05T16:32:59+09:00 info: echo-back-servers are ready
14
+ 2022-11-05T16:32:59+09:00 info: echo-back connections are ready
15
+ 2022-11-05T16:32:59+09:00 info: http-connector connections are ready
16
+ 2022-11-05T16:32:59+09:00 info: graphql-connector connections are ready
17
+ 2022-11-05T16:32:59+09:00 info: sqlite-connector connections are ready
18
+ 2022-11-05T16:32:59+09:00 info: postgresql-connector connections are ready
19
+ 2022-11-05T16:32:59+09:00 info: mqtt-connector connections are ready
20
+ 2022-11-05T16:32:59+09:00 info: mssql-connector connections are ready
21
+ 2022-11-05T16:32:59+09:00 info: oracle-connector connections are ready
22
+ 2022-11-05T16:32:59+09:00 info: mysql-connector connections are ready
23
+ 2022-11-05T16:32:59+09:00 info: socket servers are ready
24
+ 2022-11-05T16:32:59+09:00 info: All connector for 'echo-back-server' ready
25
+ 2022-11-05T16:32:59+09:00 info: All connector for 'echo-back' ready
26
+ 2022-11-05T16:32:59+09:00 info: All connector for 'http-connector' ready
27
+ 2022-11-05T16:32:59+09:00 info: All connector for 'graphql-connector' ready
28
+ 2022-11-05T16:32:59+09:00 info: All connector for 'sqlite-connector' ready
29
+ 2022-11-05T16:32:59+09:00 info: All connector for 'postgresql-connector' ready
30
+ 2022-11-05T16:32:59+09:00 info: All connector for 'mqtt-connector' ready
31
+ 2022-11-05T16:32:59+09:00 info: All connector for 'mssql-connector' ready
32
+ 2022-11-05T16:32:59+09:00 info: All connector for 'oracle-connector' ready
33
+ 2022-11-05T16:32:59+09:00 info: All connector for 'mysql-connector' ready
34
+ 2022-11-05T16:32:59+09:00 info: All connector for 'socket-server' ready
35
+ 2022-11-05T16:32:59+09:00 info: ConnectionManager initialization done:
36
+ 2022-11-05T16:37:56+09:00 info: Initializing ConnectionManager...
37
+ 2022-11-05T16:37:56+09:00 info: Connector 'echo-back-server' started to ready
38
+ 2022-11-05T16:37:56+09:00 info: Connector 'echo-back' started to ready
39
+ 2022-11-05T16:37:56+09:00 info: Connector 'http-connector' started to ready
40
+ 2022-11-05T16:37:56+09:00 info: Connector 'graphql-connector' started to ready
41
+ 2022-11-05T16:37:56+09:00 info: Connector 'sqlite-connector' started to ready
42
+ 2022-11-05T16:37:56+09:00 info: Connector 'postgresql-connector' started to ready
43
+ 2022-11-05T16:37:56+09:00 info: Connector 'mqtt-connector' started to ready
44
+ 2022-11-05T16:37:56+09:00 info: Connector 'mssql-connector' started to ready
45
+ 2022-11-05T16:37:56+09:00 info: Connector 'oracle-connector' started to ready
46
+ 2022-11-05T16:37:56+09:00 info: Connector 'mysql-connector' started to ready
47
+ 2022-11-05T16:37:56+09:00 info: Connector 'socket-server' started to ready
48
+ 2022-11-05T16:37:56+09:00 info: echo-back-servers are ready
49
+ 2022-11-05T16:37:56+09:00 info: echo-back connections are ready
50
+ 2022-11-05T16:37:56+09:00 info: http-connector connections are ready
51
+ 2022-11-05T16:37:56+09:00 info: graphql-connector connections are ready
52
+ 2022-11-05T16:37:56+09:00 info: sqlite-connector connections are ready
53
+ 2022-11-05T16:37:56+09:00 info: postgresql-connector connections are ready
54
+ 2022-11-05T16:37:56+09:00 info: mqtt-connector connections are ready
55
+ 2022-11-05T16:37:56+09:00 info: mssql-connector connections are ready
56
+ 2022-11-05T16:37:56+09:00 info: oracle-connector connections are ready
57
+ 2022-11-05T16:37:56+09:00 info: mysql-connector connections are ready
58
+ 2022-11-05T16:37:56+09:00 info: socket servers are ready
59
+ 2022-11-05T16:37:56+09:00 info: All connector for 'echo-back-server' ready
60
+ 2022-11-05T16:37:56+09:00 info: All connector for 'echo-back' ready
61
+ 2022-11-05T16:37:56+09:00 info: All connector for 'http-connector' ready
62
+ 2022-11-05T16:37:56+09:00 info: All connector for 'graphql-connector' ready
63
+ 2022-11-05T16:37:56+09:00 info: All connector for 'sqlite-connector' ready
64
+ 2022-11-05T16:37:56+09:00 info: All connector for 'postgresql-connector' ready
65
+ 2022-11-05T16:37:56+09:00 info: All connector for 'mqtt-connector' ready
66
+ 2022-11-05T16:37:56+09:00 info: All connector for 'mssql-connector' ready
67
+ 2022-11-05T16:37:56+09:00 info: All connector for 'oracle-connector' ready
68
+ 2022-11-05T16:37:56+09:00 info: All connector for 'mysql-connector' ready
69
+ 2022-11-05T16:37:56+09:00 info: All connector for 'socket-server' ready
70
+ 2022-11-05T16:37:56+09:00 info: ConnectionManager initialization done:
71
+ 2022-11-05T16:45:17+09:00 info: Initializing ConnectionManager...
72
+ 2022-11-05T16:45:17+09:00 info: Connector 'echo-back-server' started to ready
73
+ 2022-11-05T16:45:17+09:00 info: Connector 'echo-back' started to ready
74
+ 2022-11-05T16:45:17+09:00 info: Connector 'http-connector' started to ready
75
+ 2022-11-05T16:45:17+09:00 info: Connector 'graphql-connector' started to ready
76
+ 2022-11-05T16:45:17+09:00 info: Connector 'sqlite-connector' started to ready
77
+ 2022-11-05T16:45:17+09:00 info: Connector 'postgresql-connector' started to ready
78
+ 2022-11-05T16:45:17+09:00 info: Connector 'mqtt-connector' started to ready
79
+ 2022-11-05T16:45:17+09:00 info: Connector 'mssql-connector' started to ready
80
+ 2022-11-05T16:45:17+09:00 info: Connector 'oracle-connector' started to ready
81
+ 2022-11-05T16:45:17+09:00 info: Connector 'mysql-connector' started to ready
82
+ 2022-11-05T16:45:17+09:00 info: Connector 'socket-server' started to ready
83
+ 2022-11-05T16:45:17+09:00 info: echo-back-servers are ready
84
+ 2022-11-05T16:45:17+09:00 info: echo-back connections are ready
85
+ 2022-11-05T16:45:17+09:00 info: http-connector connections are ready
86
+ 2022-11-05T16:45:17+09:00 info: graphql-connector connections are ready
87
+ 2022-11-05T16:45:17+09:00 info: sqlite-connector connections are ready
88
+ 2022-11-05T16:45:17+09:00 info: postgresql-connector connections are ready
89
+ 2022-11-05T16:45:17+09:00 info: mqtt-connector connections are ready
90
+ 2022-11-05T16:45:17+09:00 info: mssql-connector connections are ready
91
+ 2022-11-05T16:45:17+09:00 info: oracle-connector connections are ready
92
+ 2022-11-05T16:45:17+09:00 info: mysql-connector connections are ready
93
+ 2022-11-05T16:45:17+09:00 info: socket servers are ready
94
+ 2022-11-05T16:45:17+09:00 info: All connector for 'echo-back-server' ready
95
+ 2022-11-05T16:45:17+09:00 info: All connector for 'echo-back' ready
96
+ 2022-11-05T16:45:17+09:00 info: All connector for 'http-connector' ready
97
+ 2022-11-05T16:45:17+09:00 info: All connector for 'graphql-connector' ready
98
+ 2022-11-05T16:45:17+09:00 info: All connector for 'sqlite-connector' ready
99
+ 2022-11-05T16:45:17+09:00 info: All connector for 'postgresql-connector' ready
100
+ 2022-11-05T16:45:17+09:00 info: All connector for 'mqtt-connector' ready
101
+ 2022-11-05T16:45:17+09:00 info: All connector for 'mssql-connector' ready
102
+ 2022-11-05T16:45:17+09:00 info: All connector for 'oracle-connector' ready
103
+ 2022-11-05T16:45:17+09:00 info: All connector for 'mysql-connector' ready
104
+ 2022-11-05T16:45:17+09:00 info: All connector for 'socket-server' ready
105
+ 2022-11-05T16:45:17+09:00 info: ConnectionManager initialization done:
106
+ 2022-11-05T16:47:56+09:00 info: Initializing ConnectionManager...
107
+ 2022-11-05T16:47:56+09:00 info: Connector 'echo-back-server' started to ready
108
+ 2022-11-05T16:47:56+09:00 info: Connector 'echo-back' started to ready
109
+ 2022-11-05T16:47:56+09:00 info: Connector 'http-connector' started to ready
110
+ 2022-11-05T16:47:56+09:00 info: Connector 'graphql-connector' started to ready
111
+ 2022-11-05T16:47:56+09:00 info: Connector 'sqlite-connector' started to ready
112
+ 2022-11-05T16:47:56+09:00 info: Connector 'postgresql-connector' started to ready
113
+ 2022-11-05T16:47:56+09:00 info: Connector 'mqtt-connector' started to ready
114
+ 2022-11-05T16:47:56+09:00 info: Connector 'mssql-connector' started to ready
115
+ 2022-11-05T16:47:56+09:00 info: Connector 'oracle-connector' started to ready
116
+ 2022-11-05T16:47:56+09:00 info: Connector 'mysql-connector' started to ready
117
+ 2022-11-05T16:47:56+09:00 info: Connector 'socket-server' started to ready
118
+ 2022-11-05T16:47:56+09:00 info: echo-back-servers are ready
119
+ 2022-11-05T16:47:56+09:00 info: echo-back connections are ready
120
+ 2022-11-05T16:47:56+09:00 info: http-connector connections are ready
121
+ 2022-11-05T16:47:56+09:00 info: graphql-connector connections are ready
122
+ 2022-11-05T16:47:56+09:00 info: sqlite-connector connections are ready
123
+ 2022-11-05T16:47:56+09:00 info: postgresql-connector connections are ready
124
+ 2022-11-05T16:47:56+09:00 info: mqtt-connector connections are ready
125
+ 2022-11-05T16:47:56+09:00 info: mssql-connector connections are ready
126
+ 2022-11-05T16:47:56+09:00 info: oracle-connector connections are ready
127
+ 2022-11-05T16:47:56+09:00 info: mysql-connector connections are ready
128
+ 2022-11-05T16:47:56+09:00 info: socket servers are ready
129
+ 2022-11-05T16:47:56+09:00 info: All connector for 'echo-back-server' ready
130
+ 2022-11-05T16:47:56+09:00 info: All connector for 'echo-back' ready
131
+ 2022-11-05T16:47:56+09:00 info: All connector for 'http-connector' ready
132
+ 2022-11-05T16:47:56+09:00 info: All connector for 'graphql-connector' ready
133
+ 2022-11-05T16:47:56+09:00 info: All connector for 'sqlite-connector' ready
134
+ 2022-11-05T16:47:56+09:00 info: All connector for 'postgresql-connector' ready
135
+ 2022-11-05T16:47:56+09:00 info: All connector for 'mqtt-connector' ready
136
+ 2022-11-05T16:47:56+09:00 info: All connector for 'mssql-connector' ready
137
+ 2022-11-05T16:47:56+09:00 info: All connector for 'oracle-connector' ready
138
+ 2022-11-05T16:47:56+09:00 info: All connector for 'mysql-connector' ready
139
+ 2022-11-05T16:47:56+09:00 info: All connector for 'socket-server' ready
140
+ 2022-11-05T16:47:56+09:00 info: ConnectionManager initialization done:
141
+ 2022-11-05T16:53:48+09:00 info: Initializing ConnectionManager...
142
+ 2022-11-05T16:53:48+09:00 info: Connector 'echo-back-server' started to ready
143
+ 2022-11-05T16:53:48+09:00 info: Connector 'echo-back' started to ready
144
+ 2022-11-05T16:53:48+09:00 info: Connector 'http-connector' started to ready
145
+ 2022-11-05T16:53:48+09:00 info: Connector 'graphql-connector' started to ready
146
+ 2022-11-05T16:53:48+09:00 info: Connector 'sqlite-connector' started to ready
147
+ 2022-11-05T16:53:48+09:00 info: Connector 'postgresql-connector' started to ready
148
+ 2022-11-05T16:53:48+09:00 info: Connector 'mqtt-connector' started to ready
149
+ 2022-11-05T16:53:48+09:00 info: Connector 'mssql-connector' started to ready
150
+ 2022-11-05T16:53:48+09:00 info: Connector 'oracle-connector' started to ready
151
+ 2022-11-05T16:53:48+09:00 info: Connector 'mysql-connector' started to ready
152
+ 2022-11-05T16:53:48+09:00 info: Connector 'socket-server' started to ready
153
+ 2022-11-05T16:53:48+09:00 info: echo-back-servers are ready
154
+ 2022-11-05T16:53:48+09:00 info: echo-back connections are ready
155
+ 2022-11-05T16:53:48+09:00 info: http-connector connections are ready
156
+ 2022-11-05T16:53:48+09:00 info: graphql-connector connections are ready
157
+ 2022-11-05T16:53:48+09:00 info: sqlite-connector connections are ready
158
+ 2022-11-05T16:53:48+09:00 info: postgresql-connector connections are ready
159
+ 2022-11-05T16:53:48+09:00 info: mqtt-connector connections are ready
160
+ 2022-11-05T16:53:48+09:00 info: mssql-connector connections are ready
161
+ 2022-11-05T16:53:48+09:00 info: oracle-connector connections are ready
162
+ 2022-11-05T16:53:48+09:00 info: mysql-connector connections are ready
163
+ 2022-11-05T16:53:48+09:00 info: socket servers are ready
164
+ 2022-11-05T16:53:48+09:00 info: All connector for 'echo-back-server' ready
165
+ 2022-11-05T16:53:48+09:00 info: All connector for 'echo-back' ready
166
+ 2022-11-05T16:53:48+09:00 info: All connector for 'http-connector' ready
167
+ 2022-11-05T16:53:48+09:00 info: All connector for 'graphql-connector' ready
168
+ 2022-11-05T16:53:48+09:00 info: All connector for 'sqlite-connector' ready
169
+ 2022-11-05T16:53:48+09:00 info: All connector for 'postgresql-connector' ready
170
+ 2022-11-05T16:53:48+09:00 info: All connector for 'mqtt-connector' ready
171
+ 2022-11-05T16:53:48+09:00 info: All connector for 'mssql-connector' ready
172
+ 2022-11-05T16:53:48+09:00 info: All connector for 'oracle-connector' ready
173
+ 2022-11-05T16:53:48+09:00 info: All connector for 'mysql-connector' ready
174
+ 2022-11-05T16:53:48+09:00 info: All connector for 'socket-server' ready
175
+ 2022-11-05T16:53:48+09:00 info: ConnectionManager initialization done:
@@ -0,0 +1,35 @@
1
+ 2022-11-05T17:35:25+09:00 info: Initializing ConnectionManager...
2
+ 2022-11-05T17:35:25+09:00 info: Connector 'echo-back-server' started to ready
3
+ 2022-11-05T17:35:25+09:00 info: Connector 'echo-back' started to ready
4
+ 2022-11-05T17:35:25+09:00 info: Connector 'http-connector' started to ready
5
+ 2022-11-05T17:35:25+09:00 info: Connector 'graphql-connector' started to ready
6
+ 2022-11-05T17:35:25+09:00 info: Connector 'sqlite-connector' started to ready
7
+ 2022-11-05T17:35:25+09:00 info: Connector 'postgresql-connector' started to ready
8
+ 2022-11-05T17:35:25+09:00 info: Connector 'mqtt-connector' started to ready
9
+ 2022-11-05T17:35:25+09:00 info: Connector 'mssql-connector' started to ready
10
+ 2022-11-05T17:35:25+09:00 info: Connector 'oracle-connector' started to ready
11
+ 2022-11-05T17:35:25+09:00 info: Connector 'mysql-connector' started to ready
12
+ 2022-11-05T17:35:25+09:00 info: Connector 'socket-server' started to ready
13
+ 2022-11-05T17:35:25+09:00 info: echo-back-servers are ready
14
+ 2022-11-05T17:35:25+09:00 info: echo-back connections are ready
15
+ 2022-11-05T17:35:25+09:00 info: http-connector connections are ready
16
+ 2022-11-05T17:35:25+09:00 info: graphql-connector connections are ready
17
+ 2022-11-05T17:35:25+09:00 info: sqlite-connector connections are ready
18
+ 2022-11-05T17:35:25+09:00 info: postgresql-connector connections are ready
19
+ 2022-11-05T17:35:25+09:00 info: mqtt-connector connections are ready
20
+ 2022-11-05T17:35:25+09:00 info: mssql-connector connections are ready
21
+ 2022-11-05T17:35:25+09:00 info: oracle-connector connections are ready
22
+ 2022-11-05T17:35:25+09:00 info: mysql-connector connections are ready
23
+ 2022-11-05T17:35:25+09:00 info: socket servers are ready
24
+ 2022-11-05T17:35:25+09:00 info: All connector for 'echo-back-server' ready
25
+ 2022-11-05T17:35:25+09:00 info: All connector for 'echo-back' ready
26
+ 2022-11-05T17:35:25+09:00 info: All connector for 'http-connector' ready
27
+ 2022-11-05T17:35:25+09:00 info: All connector for 'graphql-connector' ready
28
+ 2022-11-05T17:35:25+09:00 info: All connector for 'sqlite-connector' ready
29
+ 2022-11-05T17:35:25+09:00 info: All connector for 'postgresql-connector' ready
30
+ 2022-11-05T17:35:25+09:00 info: All connector for 'mqtt-connector' ready
31
+ 2022-11-05T17:35:25+09:00 info: All connector for 'mssql-connector' ready
32
+ 2022-11-05T17:35:25+09:00 info: All connector for 'oracle-connector' ready
33
+ 2022-11-05T17:35:25+09:00 info: All connector for 'mysql-connector' ready
34
+ 2022-11-05T17:35:25+09:00 info: All connector for 'socket-server' ready
35
+ 2022-11-05T17:35:25+09:00 info: ConnectionManager initialization done:
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "bpmn components for things-scene",
4
4
  "license": "MIT",
5
5
  "author": "heartyoh",
6
- "version": "1.1.4",
6
+ "version": "1.1.5",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.js",
9
9
  "things-scene": true,
@@ -27,7 +27,7 @@
27
27
  "migration": "things-factory-migration"
28
28
  },
29
29
  "dependencies": {
30
- "@hatiolab/things-scene": "^3.0.19"
30
+ "@hatiolab/things-scene": "^3.1.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@hatiolab/prettier-config": "^1.0.0",
@@ -57,5 +57,5 @@
57
57
  "prettier --write"
58
58
  ]
59
59
  },
60
- "gitHead": "09dc7100b67c25c8cad2828d2f547b67ad7c3d42"
60
+ "gitHead": "412dd47dbdd764d4bf0e13ca423b35667e641784"
61
61
  }
@@ -27,6 +27,11 @@ const NATURE = {
27
27
  }
28
28
  ]
29
29
  }
30
+ },
31
+ {
32
+ type: 'checkbox',
33
+ name: 'collection',
34
+ label: 'collection'
30
35
  }
31
36
  ],
32
37
  help: '/bpmn/data-object/data-object'
@@ -34,13 +39,15 @@ const NATURE = {
34
39
 
35
40
  export default class BPMNDataObject extends BPMNControlBase {
36
41
  private imageElement?: HTMLImageElement
42
+ private collectionImageElement?: HTMLImageElement
37
43
 
38
44
  static get nature() {
39
45
  return NATURE
40
46
  }
41
47
 
42
48
  render(ctx: CanvasRenderingContext2D) {
43
- var { left, top, width, height } = this.bounds
49
+ const { left, top, width, height } = this.bounds
50
+ const { collection = false } = this.state
44
51
 
45
52
  const corner = (Math.min(width, height) * 2) / 5
46
53
 
@@ -72,12 +79,17 @@ export default class BPMNDataObject extends BPMNControlBase {
72
79
  this.drawImage(ctx, image, 0, 0, corner, corner)
73
80
  }
74
81
 
82
+ if (collection) {
83
+ this.drawImage(ctx, this.getCollectionImageElement()!, (width - 16) / 2, height - 16, 16, 16)
84
+ }
85
+
75
86
  ctx.translate(-left, -top)
76
87
  }
77
88
 
78
89
  onchange(after: Properties, before: Properties) {
79
- if ('inout' in after || 'strokeStyle' in after) {
90
+ if ('inout' in after || 'collection' in after || 'strokeStyle' in after) {
80
91
  delete this.imageElement
92
+ delete this.collectionImageElement
81
93
  }
82
94
  }
83
95
 
@@ -101,6 +113,18 @@ export default class BPMNDataObject extends BPMNControlBase {
101
113
 
102
114
  return this.imageElement
103
115
  }
116
+
117
+ getCollectionImageElement(): HTMLImageElement | undefined {
118
+ if (!this.collectionImageElement) {
119
+ const { strokeStyle } = this.state
120
+
121
+ this.collectionImageElement = new Image()
122
+ this.collectionImageElement.src =
123
+ 'data:image/svg+xml;charset=UTF-8;base64,' + btoa(COLLECTION.replace(/{{strokeColor}}/g, strokeStyle))
124
+ }
125
+
126
+ return this.collectionImageElement
127
+ }
104
128
  }
105
129
 
106
130
  Component.register('bpmn-data-object', BPMNDataObject)
@@ -125,3 +149,17 @@ const IMAGES: { [type: string]: string } = {
125
149
  </svg>
126
150
  `
127
151
  }
152
+
153
+ const COLLECTION: string = `
154
+ <svg version="1.1" id="Layer_3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
155
+ viewBox="0 0 35 35" style="enable-background:new 0 0 35 35;" xml:space="preserve">
156
+ <style type="text/css">
157
+ .st0{fill:{{strokeColor}};}
158
+ </style>
159
+ <g>
160
+ <rect x="5.5" y="1.9" class="st0" width="3.3" height="25.3"/>
161
+ <rect x="15.9" y="1.9" class="st0" width="3.3" height="25.3"/>
162
+ <rect x="26.2" y="1.9" class="st0" width="3.3" height="25.3"/>
163
+ </g>
164
+ </svg>
165
+ `
package/src/bpmn-event.ts CHANGED
@@ -9,7 +9,7 @@ enum BEHAVIOR {
9
9
 
10
10
  const NATURE = {
11
11
  mutable: false,
12
- resizable: false,
12
+ resizable: true,
13
13
  rotatable: false,
14
14
  properties: [
15
15
  {
@@ -0,0 +1,54 @@
1
+ import { Component } from '@hatiolab/things-scene'
2
+
3
+ import BPMNContainerBase, { DIRECTION, INOUT, NODE, FLOW } from './base/bpmn-container-base'
4
+
5
+ const NATURE = {
6
+ mutable: false,
7
+ resizable: true,
8
+ rotatable: false,
9
+ properties: [
10
+ {
11
+ type: 'string',
12
+ name: 'name',
13
+ label: 'name'
14
+ },
15
+ {
16
+ type: 'checkbox',
17
+ label: 'call-activity',
18
+ name: 'callActivity'
19
+ }
20
+ ],
21
+ help: '/bpmn/expanded-subprocess/expanded-subprocess'
22
+ }
23
+
24
+ export default class BPMNExpandedSubprocess extends BPMNContainerBase {
25
+ get nature() {
26
+ return NATURE
27
+ }
28
+
29
+ render(ctx: CanvasRenderingContext2D) {
30
+ const { left, top, width, height } = this.bounds
31
+ const { callActivity } = this.state
32
+ const radius = 9
33
+
34
+ ctx.translate(left, top)
35
+ ctx.beginPath()
36
+
37
+ ctx.moveTo(radius, 0)
38
+ ctx.arcTo(width, 0, width, height, radius)
39
+ ctx.arcTo(width, height, 0, height, radius)
40
+ ctx.arcTo(0, height, 0, 0, radius)
41
+ ctx.arcTo(0, 0, width, 0, radius)
42
+
43
+ this.drawFill(ctx)
44
+ this.drawStroke(ctx, callActivity ? { lineWidth: 5 } : undefined)
45
+
46
+ ctx.translate(-left, -top)
47
+ }
48
+
49
+ get textHidden() {
50
+ return false
51
+ }
52
+ }
53
+
54
+ Component.register('bpmn-expanded-subprocess', BPMNExpandedSubprocess)
@@ -4,7 +4,7 @@ import BPMNControlBase from './base/bpmn-control-base'
4
4
 
5
5
  const NATURE = {
6
6
  mutable: false,
7
- resizable: false,
7
+ resizable: true,
8
8
  rotatable: false,
9
9
  properties: [
10
10
  {
@@ -0,0 +1,41 @@
1
+ import { Component } from '@hatiolab/things-scene'
2
+
3
+ import BPMNControlBase from './base/bpmn-control-base'
4
+
5
+ const NATURE = {
6
+ mutable: false,
7
+ resizable: true,
8
+ rotatable: false,
9
+ properties: [],
10
+ help: '/bpmn/message/message'
11
+ }
12
+
13
+ export default class BPMNMessage extends BPMNControlBase {
14
+ static get nature() {
15
+ return NATURE
16
+ }
17
+
18
+ render(ctx: CanvasRenderingContext2D) {
19
+ var { left, top, width, height } = this.bounds
20
+
21
+ const corner = (Math.min(width, height) * 2) / 5
22
+
23
+ ctx.translate(left, top)
24
+ ctx.beginPath()
25
+
26
+ ctx.moveTo(0, 0)
27
+ ctx.lineTo(width, 0)
28
+ ctx.lineTo(width, height)
29
+ ctx.lineTo(0, height)
30
+ ctx.lineTo(0, 0)
31
+ ctx.lineTo(width / 2, height / 2)
32
+ ctx.lineTo(width, 0)
33
+
34
+ this.drawFill(ctx)
35
+ this.drawStroke(ctx)
36
+
37
+ ctx.translate(-left, -top)
38
+ }
39
+ }
40
+
41
+ Component.register('bpmn-message', BPMNMessage)
@@ -26,6 +26,11 @@ const NATURE = {
26
26
  type: 'checkbox',
27
27
  label: 'adhoc',
28
28
  name: 'adhoc'
29
+ },
30
+ {
31
+ type: 'checkbox',
32
+ label: 'call-activity',
33
+ name: 'callActivity'
29
34
  }
30
35
  ],
31
36
  help: '/bpmn/subprocess/subprocess'
@@ -40,6 +45,7 @@ export default class BPMNSubprocess extends BPMNControlBase {
40
45
 
41
46
  render(ctx: CanvasRenderingContext2D) {
42
47
  var { left, top, width, height } = this.bounds
48
+ const { callActivity } = this.state
43
49
 
44
50
  ctx.translate(left, top)
45
51
  ctx.beginPath()
@@ -53,15 +59,15 @@ export default class BPMNSubprocess extends BPMNControlBase {
53
59
  ctx.arcTo(0, 0, width, 0, radius)
54
60
 
55
61
  this.drawFill(ctx)
56
- this.drawStroke(ctx)
62
+ this.drawStroke(ctx, callActivity ? { lineWidth: 5 } : undefined)
57
63
 
58
64
  ctx.beginPath()
59
65
 
60
66
  const images = this.getMarkerImages() || []
61
- const start = (width - images.length * 24) / 2
67
+ const start = (width - images.length * 16) / 2
62
68
 
63
69
  images.forEach((image, index) => {
64
- this.drawImage(ctx, image, start + index * 24, height - 24, 24, 24)
70
+ this.drawImage(ctx, image, start + index * 16, height - 16, 16, 16)
65
71
  })
66
72
 
67
73
  ctx.translate(-left, -top)
package/src/bpmn-task.ts CHANGED
@@ -73,6 +73,11 @@ const NATURE = {
73
73
  type: 'checkbox',
74
74
  label: 'loop',
75
75
  name: 'loop'
76
+ },
77
+ {
78
+ type: 'checkbox',
79
+ label: 'call-activity',
80
+ name: 'callActivity'
76
81
  }
77
82
  ],
78
83
  help: '/bpmn/task/task'
@@ -87,13 +92,13 @@ export default class BPMNTask extends BPMNControlBase {
87
92
  }
88
93
 
89
94
  render(ctx: CanvasRenderingContext2D) {
90
- var { left, top, width, height } = this.bounds
95
+ const { left, top, width, height } = this.bounds
96
+ const { callActivity } = this.state
97
+ const radius = 9
91
98
 
92
99
  ctx.translate(left, top)
93
100
  ctx.beginPath()
94
101
 
95
- var radius = 9
96
-
97
102
  ctx.moveTo(radius, 0)
98
103
  ctx.arcTo(width, 0, width, height, radius)
99
104
  ctx.arcTo(width, height, 0, height, radius)
@@ -101,7 +106,7 @@ export default class BPMNTask extends BPMNControlBase {
101
106
  ctx.arcTo(0, 0, width, 0, radius)
102
107
 
103
108
  this.drawFill(ctx)
104
- this.drawStroke(ctx)
109
+ this.drawStroke(ctx, callActivity ? { lineWidth: 5 } : undefined)
105
110
 
106
111
  ctx.beginPath()
107
112
 
@@ -111,10 +116,10 @@ export default class BPMNTask extends BPMNControlBase {
111
116
  }
112
117
 
113
118
  const images = this.getMarkerImages() || []
114
- const start = (width - images.length * 24) / 2
119
+ const start = (width - images.length * 16) / 2
115
120
 
116
121
  images.forEach((image, index) => {
117
- this.drawImage(ctx, image, start + index * 24, height - 24, 24, 24)
122
+ this.drawImage(ctx, image, start + index * 16, height - 16, 16, 16)
118
123
  })
119
124
 
120
125
  ctx.translate(-left, -top)
File without changes
package/src/index.ts CHANGED
@@ -1,4 +1,3 @@
1
- export { default as BPMNCallActivity } from './bpmn-call-activity'
2
1
  export { default as BPMNComment } from './bpmn-comment'
3
2
  export { default as BPMNDataObject } from './bpmn-data-object'
4
3
  export { default as BPMNDataStore } from './bpmn-data-store'
@@ -9,4 +8,6 @@ export { default as BPMNGroup } from './bpmn-group'
9
8
  export { default as BPMNLane } from './bpmn-lane'
10
9
  export { default as BPMNPool } from './bpmn-pool'
11
10
  export { default as BPMNSubprocess } from './bpmn-subprocess'
11
+ export { default as BPMNExpandedSubprocess } from './bpmn-expanded-subprocess'
12
12
  export { default as BPMNTask } from './bpmn-task'
13
+ export { default as BPMNMessage } from './bpmn-message'
@@ -9,8 +9,8 @@ export default {
9
9
  type: 'bpmn-data-object',
10
10
  left: 10,
11
11
  top: 10,
12
- width: 80,
13
- height: 80,
12
+ width: 60,
13
+ height: 60,
14
14
  strokeStyle: 'black',
15
15
  lineWidth: 2,
16
16
  lineCap: 'round',
@@ -9,8 +9,8 @@ export default {
9
9
  type: 'bpmn-data-store',
10
10
  left: 10,
11
11
  top: 10,
12
- width: 80,
13
- height: 80,
12
+ width: 60,
13
+ height: 60,
14
14
  strokeStyle: 'black',
15
15
  lineWidth: 2
16
16
  },
@@ -9,8 +9,8 @@ export default {
9
9
  type: 'bpmn-event',
10
10
  left: 10,
11
11
  top: 10,
12
- width: 60,
13
- height: 60,
12
+ width: 48,
13
+ height: 48,
14
14
  strokeStyle: 'black',
15
15
  lineWidth: 2
16
16
  },