@operato/process 8.0.1 → 9.0.0-beta.10
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.
- package/CHANGELOG.md +263 -31
- package/dist/src/data-storage/data-storage.js +12 -0
- package/dist/src/data-storage/data-storage.js.map +1 -1
- package/dist/src/graphql/index.d.ts +3 -3
- package/dist/src/graphql/index.js +3 -3
- package/dist/src/graphql/index.js.map +1 -1
- package/dist/src/graphql/process-group.d.ts +1 -1
- package/dist/src/graphql/process-group.js.map +1 -1
- package/dist/src/graphql/process.d.ts +1 -1
- package/dist/src/graphql/process.js.map +1 -1
- package/dist/src/modeller/component-toolbar/component-detail.js +15 -5
- package/dist/src/modeller/component-toolbar/component-detail.js.map +1 -1
- package/dist/src/modeller/component-toolbar/component-menu.d.ts +3 -3
- package/dist/src/modeller/component-toolbar/component-menu.js +47 -10
- package/dist/src/modeller/component-toolbar/component-menu.js.map +1 -1
- package/dist/src/modeller/component-toolbar/component-toolbar.d.ts +2 -2
- package/dist/src/modeller/component-toolbar/component-toolbar.js +64 -8
- package/dist/src/modeller/component-toolbar/component-toolbar.js.map +1 -1
- package/dist/src/modeller/edit-toolbar.js +115 -4
- package/dist/src/modeller/edit-toolbar.js.map +1 -1
- package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.js +85 -26
- package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.js.map +1 -1
- package/dist/src/modeller/property-sidebar/data-binding/data-binding.d.ts +1 -1
- package/dist/src/modeller/property-sidebar/data-binding/data-binding.js +64 -8
- package/dist/src/modeller/property-sidebar/data-binding/data-binding.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/effects.d.ts +1 -1
- package/dist/src/modeller/property-sidebar/effects/effects.js +22 -2
- package/dist/src/modeller/property-sidebar/effects/effects.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-event-hover.js +28 -6
- package/dist/src/modeller/property-sidebar/effects/property-event-hover.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-event-tap.js +36 -9
- package/dist/src/modeller/property-sidebar/effects/property-event-tap.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-event.d.ts +3 -3
- package/dist/src/modeller/property-sidebar/effects/property-event.js +26 -6
- package/dist/src/modeller/property-sidebar/effects/property-event.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-shadow.js +18 -4
- package/dist/src/modeller/property-sidebar/effects/property-shadow.js.map +1 -1
- package/dist/src/modeller/property-sidebar/inspector/inspector.js +38 -6
- package/dist/src/modeller/property-sidebar/inspector/inspector.js.map +1 -1
- package/dist/src/modeller/property-sidebar/property-sidebar.d.ts +2 -2
- package/dist/src/modeller/property-sidebar/property-sidebar.js +108 -22
- package/dist/src/modeller/property-sidebar/property-sidebar.js.map +1 -1
- package/dist/src/modeller/property-sidebar/shapes/shapes.d.ts +1 -1
- package/dist/src/modeller/property-sidebar/shapes/shapes.js +38 -12
- package/dist/src/modeller/property-sidebar/shapes/shapes.js.map +1 -1
- package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.js +18 -1
- package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.js.map +1 -1
- package/dist/src/modeller/property-sidebar/specifics/specifics.d.ts +1 -1
- package/dist/src/modeller/property-sidebar/specifics/specifics.js +47 -11
- package/dist/src/modeller/property-sidebar/specifics/specifics.js.map +1 -1
- package/dist/src/modeller/property-sidebar/styles/styles.d.ts +1 -1
- package/dist/src/modeller/property-sidebar/styles/styles.js +28 -8
- package/dist/src/modeller/property-sidebar/styles/styles.js.map +1 -1
- package/dist/src/ox-editor-process-selector.d.ts +1 -1
- package/dist/src/ox-editor-process-selector.js +22 -1
- package/dist/src/ox-editor-process-selector.js.map +1 -1
- package/dist/src/ox-process-list.js +58 -9
- package/dist/src/ox-process-list.js.map +1 -1
- package/dist/src/ox-process-modeller.d.ts +6 -6
- package/dist/src/ox-process-modeller.js +139 -26
- package/dist/src/ox-process-modeller.js.map +1 -1
- package/dist/src/ox-process-template-list.js +21 -5
- package/dist/src/ox-process-template-list.js.map +1 -1
- package/dist/src/ox-process-template-viewer.js +35 -9
- package/dist/src/ox-process-template-viewer.js.map +1 -1
- package/dist/src/ox-process-viewer.js +111 -13
- package/dist/src/ox-process-viewer.js.map +1 -1
- package/dist/src/ox-property-editor-process-selector.d.ts +1 -1
- package/dist/src/ox-property-editor-process-selector.js +1 -1
- package/dist/src/ox-property-editor-process-selector.js.map +1 -1
- package/dist/src/selector/ox-process-creation-card.d.ts +1 -1
- package/dist/src/selector/ox-process-creation-card.js +23 -1
- package/dist/src/selector/ox-process-creation-card.js.map +1 -1
- package/dist/src/selector/ox-process-selector.d.ts +1 -1
- package/dist/src/selector/ox-process-selector.js +43 -6
- package/dist/src/selector/ox-process-selector.js.map +1 -1
- package/dist/src/selector/process-creation-popup.d.ts +2 -2
- package/dist/src/selector/process-creation-popup.js +22 -1
- package/dist/src/selector/process-creation-popup.js.map +1 -1
- package/dist/src/selector/process-thumbnail-card.js +15 -0
- package/dist/src/selector/process-thumbnail-card.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +24 -24
package/CHANGELOG.md
CHANGED
|
@@ -3,16 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
## [9.0.0-beta.10](https://github.com/heartyoh/ioperato/compare/v9.0.0-beta.9...v9.0.0-beta.10) (2025-01-25)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### :bug: Bug Fix
|
|
10
10
|
|
|
11
|
-
* @
|
|
11
|
+
* @open-wc/scoped-elements@3.0.5 ([45f8a55](https://github.com/heartyoh/ioperato/commit/45f8a557e3f7b95771bf8886d7590fb459fb2746))
|
|
12
|
+
* tweak tsconfig.json ([3c424b1](https://github.com/heartyoh/ioperato/commit/3c424b18d046f95d5619076d113d49a4b4dc9bbb))
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
## [
|
|
16
|
+
## [9.0.0-beta.9](https://github.com/heartyoh/ioperato/compare/v9.0.0-beta.8...v9.0.0-beta.9) (2025-01-25)
|
|
16
17
|
|
|
17
18
|
**Note:** Version bump only for package @operato/process
|
|
18
19
|
|
|
@@ -20,7 +21,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
## [9.0.0-beta.7](https://github.com/heartyoh/ioperato/compare/v9.0.0-beta.6...v9.0.0-beta.7) (2025-01-20)
|
|
24
25
|
|
|
25
26
|
**Note:** Version bump only for package @operato/process
|
|
26
27
|
|
|
@@ -28,17 +29,134 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
## [9.0.0-beta.6](https://github.com/heartyoh/ioperato/compare/v9.0.0-beta.5...v9.0.0-beta.6) (2025-01-20)
|
|
32
33
|
|
|
33
34
|
|
|
34
35
|
### :bug: Bug Fix
|
|
35
36
|
|
|
36
|
-
*
|
|
37
|
-
* typo .npmignore ([df91cae](https://github.com/heartyoh/ioperato/commit/df91caea0f5938a3febd9307184e5b036a65e2bd))
|
|
37
|
+
* esm module ([9642b97](https://github.com/heartyoh/ioperato/commit/9642b97650623d9ce71f6db0fd1995a2379205b5))
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
## [9.0.0-beta.5](https://github.com/heartyoh/ioperato/compare/v9.0.0-beta.4...v9.0.0-beta.5) (2025-01-20)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### :bug: Bug Fix
|
|
45
|
+
|
|
46
|
+
* esm module ([1319b00](https://github.com/heartyoh/ioperato/commit/1319b00d6955a514f63b3469fb514a28f84168a2))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
## [9.0.0-beta.4](https://github.com/heartyoh/ioperato/compare/v9.0.0-beta.3...v9.0.0-beta.4) (2025-01-20)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### :bug: Bug Fix
|
|
54
|
+
|
|
55
|
+
* esm module ([0402232](https://github.com/heartyoh/ioperato/commit/04022327fa47eac64eaf3c56eeec55b9ace13e0e))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## [9.0.0-beta.0](https://github.com/heartyoh/ioperato/compare/v8.0.0-beta.11...v9.0.0-beta.0) (2025-01-13)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### :bug: Bug Fix
|
|
63
|
+
|
|
64
|
+
* hatiolab/things-factory@9.0.0-beta ([f6bd257](https://github.com/heartyoh/ioperato/commit/f6bd257bf2dba80afb8deb4ded11c5c1d5f0f2d9))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
## [8.0.0-beta.11](https://github.com/heartyoh/ioperato/compare/v8.0.0-beta.10...v8.0.0-beta.11) (2025-01-11)
|
|
69
|
+
|
|
70
|
+
**Note:** Version bump only for package @operato/process
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## [8.0.0-beta.10](https://github.com/heartyoh/ioperato/compare/v8.0.0-beta.9...v8.0.0-beta.10) (2025-01-11)
|
|
77
|
+
|
|
78
|
+
**Note:** Version bump only for package @operato/process
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
## [8.0.0-beta.6](https://github.com/heartyoh/ioperato/compare/v8.0.0-beta.5...v8.0.0-beta.6) (2025-01-11)
|
|
85
|
+
|
|
86
|
+
**Note:** Version bump only for package @operato/process
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## [8.0.0-beta.5](https://github.com/heartyoh/ioperato/compare/v8.0.0-beta.4...v8.0.0-beta.5) (2025-01-10)
|
|
93
|
+
|
|
94
|
+
**Note:** Version bump only for package @operato/process
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
## [8.0.0-beta.4](https://github.com/heartyoh/ioperato/compare/v8.0.0-beta.3...v8.0.0-beta.4) (2025-01-09)
|
|
101
|
+
|
|
102
|
+
**Note:** Version bump only for package @operato/process
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
## [8.0.0-beta.2](https://github.com/heartyoh/ioperato/compare/v8.0.0-beta.1...v8.0.0-beta.2) (2025-01-08)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### :bug: Bug Fix
|
|
112
|
+
|
|
113
|
+
* typo .npmignore ([d9c0c8c](https://github.com/heartyoh/ioperato/commit/d9c0c8c79abc688c3c2cfb6c37fcb689483a5977))
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
## [8.0.0-beta.1](https://github.com/heartyoh/ioperato/compare/v8.0.0-beta.0...v8.0.0-beta.1) (2025-01-08)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
### :bug: Bug Fix
|
|
121
|
+
|
|
122
|
+
* missing .npmignore ([be05985](https://github.com/heartyoh/ioperato/commit/be05985abfae4af53501f718dd52932099f7fbcb))
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## [8.0.0-beta.0](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.56...v8.0.0-beta.0) (2025-01-07)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
### :bug: Bug Fix
|
|
130
|
+
|
|
131
|
+
* @hatiolab/things-scene@8.0.0-beta ([604fb29](https://github.com/heartyoh/ioperato/commit/604fb292cd45caf055c5da0eff94125df0428f16))
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
## [8.0.0-alpha.56](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.55...v8.0.0-alpha.56) (2025-01-05)
|
|
136
|
+
|
|
137
|
+
**Note:** Version bump only for package @operato/process
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
## [8.0.0-alpha.54](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.53...v8.0.0-alpha.54) (2024-12-09)
|
|
144
|
+
|
|
145
|
+
**Note:** Version bump only for package @operato/process
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
## [8.0.0-alpha.52](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.51...v8.0.0-alpha.52) (2024-12-03)
|
|
152
|
+
|
|
153
|
+
**Note:** Version bump only for package @operato/process
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
## [8.0.0-alpha.51](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.50...v8.0.0-alpha.51) (2024-11-29)
|
|
42
160
|
|
|
43
161
|
**Note:** Version bump only for package @operato/process
|
|
44
162
|
|
|
@@ -46,7 +164,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
46
164
|
|
|
47
165
|
|
|
48
166
|
|
|
49
|
-
|
|
167
|
+
## [8.0.0-alpha.50](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.49...v8.0.0-alpha.50) (2024-11-16)
|
|
50
168
|
|
|
51
169
|
**Note:** Version bump only for package @operato/process
|
|
52
170
|
|
|
@@ -54,7 +172,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
54
172
|
|
|
55
173
|
|
|
56
174
|
|
|
57
|
-
|
|
175
|
+
## [8.0.0-alpha.49](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.48...v8.0.0-alpha.49) (2024-11-13)
|
|
58
176
|
|
|
59
177
|
**Note:** Version bump only for package @operato/process
|
|
60
178
|
|
|
@@ -62,7 +180,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
62
180
|
|
|
63
181
|
|
|
64
182
|
|
|
65
|
-
|
|
183
|
+
## [8.0.0-alpha.48](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.47...v8.0.0-alpha.48) (2024-11-13)
|
|
66
184
|
|
|
67
185
|
**Note:** Version bump only for package @operato/process
|
|
68
186
|
|
|
@@ -70,7 +188,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
70
188
|
|
|
71
189
|
|
|
72
190
|
|
|
73
|
-
|
|
191
|
+
## [8.0.0-alpha.46](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.45...v8.0.0-alpha.46) (2024-10-23)
|
|
74
192
|
|
|
75
193
|
**Note:** Version bump only for package @operato/process
|
|
76
194
|
|
|
@@ -78,7 +196,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
78
196
|
|
|
79
197
|
|
|
80
198
|
|
|
81
|
-
|
|
199
|
+
## [8.0.0-alpha.45](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.44...v8.0.0-alpha.45) (2024-10-23)
|
|
82
200
|
|
|
83
201
|
**Note:** Version bump only for package @operato/process
|
|
84
202
|
|
|
@@ -86,7 +204,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
86
204
|
|
|
87
205
|
|
|
88
206
|
|
|
89
|
-
|
|
207
|
+
## [8.0.0-alpha.44](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.43...v8.0.0-alpha.44) (2024-10-23)
|
|
90
208
|
|
|
91
209
|
**Note:** Version bump only for package @operato/process
|
|
92
210
|
|
|
@@ -94,7 +212,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
94
212
|
|
|
95
213
|
|
|
96
214
|
|
|
97
|
-
|
|
215
|
+
## [8.0.0-alpha.43](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.42...v8.0.0-alpha.43) (2024-10-22)
|
|
98
216
|
|
|
99
217
|
**Note:** Version bump only for package @operato/process
|
|
100
218
|
|
|
@@ -102,7 +220,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
102
220
|
|
|
103
221
|
|
|
104
222
|
|
|
105
|
-
|
|
223
|
+
## [8.0.0-alpha.42](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.41...v8.0.0-alpha.42) (2024-10-21)
|
|
106
224
|
|
|
107
225
|
**Note:** Version bump only for package @operato/process
|
|
108
226
|
|
|
@@ -110,7 +228,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
110
228
|
|
|
111
229
|
|
|
112
230
|
|
|
113
|
-
|
|
231
|
+
## [8.0.0-alpha.41](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.40...v8.0.0-alpha.41) (2024-10-21)
|
|
114
232
|
|
|
115
233
|
**Note:** Version bump only for package @operato/process
|
|
116
234
|
|
|
@@ -118,7 +236,64 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
118
236
|
|
|
119
237
|
|
|
120
238
|
|
|
121
|
-
|
|
239
|
+
## [8.0.0-alpha.37](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.36...v8.0.0-alpha.37) (2024-10-20)
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
### :bug: Bug Fix
|
|
243
|
+
|
|
244
|
+
* update dev-dependencies version ([d6fe342](https://github.com/heartyoh/ioperato/commit/d6fe342de738c6bad3528550a862b5a1d2573161))
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
## [8.0.0-alpha.34](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.33...v8.0.0-alpha.34) (2024-10-15)
|
|
249
|
+
|
|
250
|
+
**Note:** Version bump only for package @operato/process
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
## [8.0.0-alpha.33](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.32...v8.0.0-alpha.33) (2024-10-14)
|
|
257
|
+
|
|
258
|
+
**Note:** Version bump only for package @operato/process
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
## [8.0.0-alpha.30](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.29...v8.0.0-alpha.30) (2024-10-11)
|
|
265
|
+
|
|
266
|
+
**Note:** Version bump only for package @operato/process
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
## [8.0.0-alpha.29](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.28...v8.0.0-alpha.29) (2024-10-10)
|
|
273
|
+
|
|
274
|
+
**Note:** Version bump only for package @operato/process
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
## [8.0.0-alpha.27](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.26...v8.0.0-alpha.27) (2024-10-06)
|
|
281
|
+
|
|
282
|
+
**Note:** Version bump only for package @operato/process
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
## [8.0.0-alpha.26](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.25...v8.0.0-alpha.26) (2024-10-06)
|
|
289
|
+
|
|
290
|
+
**Note:** Version bump only for package @operato/process
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
## [8.0.0-alpha.21](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.20...v8.0.0-alpha.21) (2024-10-05)
|
|
122
297
|
|
|
123
298
|
**Note:** Version bump only for package @operato/process
|
|
124
299
|
|
|
@@ -126,7 +301,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
126
301
|
|
|
127
302
|
|
|
128
303
|
|
|
129
|
-
|
|
304
|
+
## [8.0.0-alpha.20](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.19...v8.0.0-alpha.20) (2024-10-04)
|
|
130
305
|
|
|
131
306
|
**Note:** Version bump only for package @operato/process
|
|
132
307
|
|
|
@@ -134,7 +309,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
134
309
|
|
|
135
310
|
|
|
136
311
|
|
|
137
|
-
|
|
312
|
+
## [8.0.0-alpha.19](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.18...v8.0.0-alpha.19) (2024-10-04)
|
|
138
313
|
|
|
139
314
|
**Note:** Version bump only for package @operato/process
|
|
140
315
|
|
|
@@ -142,7 +317,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
142
317
|
|
|
143
318
|
|
|
144
319
|
|
|
145
|
-
|
|
320
|
+
## [8.0.0-alpha.16](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.15...v8.0.0-alpha.16) (2024-10-03)
|
|
146
321
|
|
|
147
322
|
**Note:** Version bump only for package @operato/process
|
|
148
323
|
|
|
@@ -150,17 +325,65 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
150
325
|
|
|
151
326
|
|
|
152
327
|
|
|
153
|
-
|
|
328
|
+
## [8.0.0-alpha.15](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.14...v8.0.0-alpha.15) (2024-10-03)
|
|
329
|
+
|
|
330
|
+
**Note:** Version bump only for package @operato/process
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
## [8.0.0-alpha.14](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.13...v8.0.0-alpha.14) (2024-10-02)
|
|
337
|
+
|
|
338
|
+
**Note:** Version bump only for package @operato/process
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
## [8.0.0-alpha.12](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.11...v8.0.0-alpha.12) (2024-09-23)
|
|
345
|
+
|
|
346
|
+
**Note:** Version bump only for package @operato/process
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
## [8.0.0-alpha.11](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.10...v8.0.0-alpha.11) (2024-09-21)
|
|
353
|
+
|
|
354
|
+
**Note:** Version bump only for package @operato/process
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
## [8.0.0-alpha.10](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.9...v8.0.0-alpha.10) (2024-09-18)
|
|
361
|
+
|
|
362
|
+
**Note:** Version bump only for package @operato/process
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
## [8.0.0-alpha.9](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.8...v8.0.0-alpha.9) (2024-09-15)
|
|
369
|
+
|
|
370
|
+
**Note:** Version bump only for package @operato/process
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
## [8.0.0-alpha.8](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.7...v8.0.0-alpha.8) (2024-09-15)
|
|
154
377
|
|
|
155
378
|
|
|
156
379
|
### :bug: Bug Fix
|
|
157
380
|
|
|
158
|
-
* synchronize ox-process-creation-popup with ox-board-creation-popup ([
|
|
159
|
-
* template viewer for board and process ([
|
|
381
|
+
* synchronize ox-process-creation-popup with ox-board-creation-popup ([eb4d739](https://github.com/heartyoh/ioperato/commit/eb4d739c0ac04c2475b32b2a3423b29b6404b223))
|
|
382
|
+
* template viewer for board and process ([535433c](https://github.com/heartyoh/ioperato/commit/535433c7227190714a14cc0d1089a99e1075a381))
|
|
160
383
|
|
|
161
384
|
|
|
162
385
|
|
|
163
|
-
|
|
386
|
+
## [8.0.0-alpha.7](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.6...v8.0.0-alpha.7) (2024-09-14)
|
|
164
387
|
|
|
165
388
|
**Note:** Version bump only for package @operato/process
|
|
166
389
|
|
|
@@ -168,7 +391,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
168
391
|
|
|
169
392
|
|
|
170
393
|
|
|
171
|
-
|
|
394
|
+
## [8.0.0-alpha.6](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.5...v8.0.0-alpha.6) (2024-09-14)
|
|
172
395
|
|
|
173
396
|
**Note:** Version bump only for package @operato/process
|
|
174
397
|
|
|
@@ -176,7 +399,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
176
399
|
|
|
177
400
|
|
|
178
401
|
|
|
179
|
-
|
|
402
|
+
## [8.0.0-alpha.5](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.4...v8.0.0-alpha.5) (2024-09-12)
|
|
180
403
|
|
|
181
404
|
**Note:** Version bump only for package @operato/process
|
|
182
405
|
|
|
@@ -184,7 +407,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
184
407
|
|
|
185
408
|
|
|
186
409
|
|
|
187
|
-
|
|
410
|
+
## [8.0.0-alpha.4](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.3...v8.0.0-alpha.4) (2024-09-07)
|
|
188
411
|
|
|
189
412
|
**Note:** Version bump only for package @operato/process
|
|
190
413
|
|
|
@@ -192,7 +415,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
192
415
|
|
|
193
416
|
|
|
194
417
|
|
|
195
|
-
|
|
418
|
+
## [8.0.0-alpha.3](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.2...v8.0.0-alpha.3) (2024-09-06)
|
|
196
419
|
|
|
197
420
|
**Note:** Version bump only for package @operato/process
|
|
198
421
|
|
|
@@ -200,7 +423,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
200
423
|
|
|
201
424
|
|
|
202
425
|
|
|
203
|
-
|
|
426
|
+
## [8.0.0-alpha.2](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.1...v8.0.0-alpha.2) (2024-09-05)
|
|
204
427
|
|
|
205
428
|
**Note:** Version bump only for package @operato/process
|
|
206
429
|
|
|
@@ -208,7 +431,16 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
208
431
|
|
|
209
432
|
|
|
210
433
|
|
|
211
|
-
|
|
434
|
+
## [8.0.0-alpha.1](https://github.com/heartyoh/ioperato/compare/v8.0.0-alpha.0...v8.0.0-alpha.1) (2024-09-04)
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
### :bug: Bug Fix
|
|
438
|
+
|
|
439
|
+
* update @hatiola/things-scene@^8.0.0-alpha ([4b6309e](https://github.com/heartyoh/ioperato/commit/4b6309e56b96705206caa81d4ed2b4d9c9f56813))
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
## [8.0.0-alpha.0](https://github.com/heartyoh/ioperato/compare/v7.1.1...v8.0.0-alpha.0) (2024-09-01)
|
|
212
444
|
|
|
213
445
|
**Note:** Version bump only for package @operato/process
|
|
214
446
|
|
|
@@ -3,6 +3,12 @@ class ProcessDatabase extends Dexie {
|
|
|
3
3
|
//...other tables goes here...
|
|
4
4
|
constructor() {
|
|
5
5
|
super('operato-process-database');
|
|
6
|
+
Object.defineProperty(this, "process_data", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
configurable: true,
|
|
9
|
+
writable: true,
|
|
10
|
+
value: void 0
|
|
11
|
+
}); // number = type of the primkey
|
|
6
12
|
this.version(1).stores({
|
|
7
13
|
process_data: '[process+refid]'
|
|
8
14
|
//...other tables goes here...
|
|
@@ -12,6 +18,12 @@ class ProcessDatabase extends Dexie {
|
|
|
12
18
|
const db = new ProcessDatabase();
|
|
13
19
|
export class DataStorage {
|
|
14
20
|
constructor(id) {
|
|
21
|
+
Object.defineProperty(this, "id", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
configurable: true,
|
|
24
|
+
writable: true,
|
|
25
|
+
value: void 0
|
|
26
|
+
});
|
|
15
27
|
this.id = id;
|
|
16
28
|
}
|
|
17
29
|
async load(key) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-storage.js","sourceRoot":"","sources":["../../../src/data-storage/data-storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,eAAgB,SAAQ,KAAK;IAEjC,8BAA8B;IAE9B;QACE,KAAK,CAAC,0BAA0B,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"data-storage.js","sourceRoot":"","sources":["../../../src/data-storage/data-storage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,eAAgB,SAAQ,KAAK;IAEjC,8BAA8B;IAE9B;QACE,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAJnC;;;;;WAAgD,CAAC,+BAA+B;QAK9E,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;YACrB,YAAY,EAAE,iBAAiB;YAC/B,8BAA8B;SAC/B,CAAC,CAAA;IACJ,CAAC;CACF;AAUD,MAAM,EAAE,GAAG,IAAI,eAAe,EAAE,CAAA;AAEhC,MAAM,OAAO,WAAW;IAGtB,YAAY,EAAU;QAFd;;;;;WAAU;QAGhB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;IACd,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,GAAc;QAC9B,MAAM,KAAK,GAAG,MAAM,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,CAAA;QAC/F,OAAO,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,CAAA;IACpB,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,GAAc,EAAE,KAAU;QAC1C,MAAM,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;IAC7G,CAAC;IAEM,KAAK,CAAC,KAAK,CAAC,GAAc;QAC/B,MAAM,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAA;IACpF,CAAC;CACF","sourcesContent":["import Dexie from 'dexie'\n\nimport { Component, PersistentDataStorage } from '@hatiolab/things-scene'\n\nclass ProcessDatabase extends Dexie {\n process_data!: Dexie.Table<IProcessData, number> // number = type of the primkey\n //...other tables goes here...\n\n constructor() {\n super('operato-process-database')\n this.version(1).stores({\n process_data: '[process+refid]'\n //...other tables goes here...\n })\n }\n}\n\ninterface IProcessData {\n id?: number\n process: string\n refid: string | number\n data: any\n timestamp: number\n}\n\nconst db = new ProcessDatabase()\n\nexport class DataStorage implements PersistentDataStorage {\n private id: string\n\n constructor(id: string) {\n this.id = id\n }\n\n public async load(key: Component): Promise<any> {\n const saved = await db.process_data.where({ process: this.id, refid: key.state.refid }).first()\n return saved?.data\n }\n\n public async save(key: Component, value: any): Promise<void> {\n await db.process_data.put({ process: this.id, refid: key.state.refid, data: value, timestamp: Date.now() })\n }\n\n public async clear(key: Component): Promise<void> {\n await db.process_data.where({ process: this.id, refid: key.state.refid }).delete()\n }\n}\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './process';
|
|
2
|
-
export * from './process-group';
|
|
3
|
-
export * from './favorite-process';
|
|
1
|
+
export * from './process.js';
|
|
2
|
+
export * from './process-group.js';
|
|
3
|
+
export * from './favorite-process.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './process';
|
|
2
|
-
export * from './process-group';
|
|
3
|
-
export * from './favorite-process';
|
|
1
|
+
export * from './process.js';
|
|
2
|
+
export * from './process-group.js';
|
|
3
|
+
export * from './favorite-process.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graphql/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graphql/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA","sourcesContent":["export * from './process.js'\nexport * from './process-group.js'\nexport * from './favorite-process.js'\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProcessGroup } from '../types';
|
|
1
|
+
import { ProcessGroup } from '../types.js';
|
|
2
2
|
export declare function fetchProcessGroup(id: string): Promise<any>;
|
|
3
3
|
export declare function updateProcessGroup(group: ProcessGroup): Promise<any>;
|
|
4
4
|
export declare function deleteProcessGroup(id: string): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-group.js","sourceRoot":"","sources":["../../../src/graphql/process-group.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACzC,OAAO,GAAG,MAAM,aAAa,CAAA;AAE7B,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,EAAU;IAChD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC;QAClC,KAAK,EAAE,GAAG,CAAA;;;;;;;;;;;;;;;;;;KAkBT;QACD,SAAS,EAAE,EAAE,EAAE,EAAE;KAClB,CAA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AG,MAAM,MAAM,CAAC,MAAM,CAAC;QACnC,QAAQ,EAAE,GAAG,CAAA;;;;;;;;;;;;;;;;;KAiBZ;QACD,SAAS,EAAE;YACT,EAAE,EAAE,OAAO;YACX,UAAU,EAAE,CAAC,SAAS,CAAC;SACxB;KACF,CAAC,CAAA;IAEF,OAAO,QAAQ,CAAC,IAAI,CAAA;AACtB,CAAC","sourcesContent":["import { ProcessGroup } from '../types'\nimport { client } from '@operato/graphql'\nimport gql from 'graphql-tag'\n\nexport async function fetchProcessGroup(id: string) {\n const response = await client.query({\n query: gql`\n query FetchProcessGroupById($id: String!) {\n group(id: $id) {\n id\n name\n description\n createdAt\n creator {\n id\n name\n }\n updatedAt\n updater {\n id\n name\n }\n }\n }\n `,\n variables: { id }\n })\n\n return response.data\n}\n\nexport async function updateProcessGroup(group: ProcessGroup) {\n var { id, name, description } = group\n\n const response = await client.mutate({\n mutation: gql`\n mutation UpdateProcessGroup($id: String!, $patch: ProcessGroupPatch!) {\n updateProcessGroup(id: $id, patch: $patch) {\n id\n name\n description\n createdAt\n updatedAt\n }\n }\n `,\n variables: {\n id,\n patch: { name, description }\n }\n })\n\n return response.data\n}\n\nexport async function deleteProcessGroup(id: string) {\n const response = await client.mutate({\n mutation: gql`\n mutation ($id: String!) {\n deleteProcessGroup(id: $id)\n }\n `,\n variables: {\n id\n }\n })\n\n return response.data\n}\n\nexport async function fetchProcessGroupList() {\n const response = await client.query({\n query: gql`\n {\n processGroups {\n items {\n id\n name\n description\n createdAt\n updatedAt\n }\n total\n }\n }\n `\n })\n\n return response.data\n}\n\nexport async function createProcessGroup(group: ProcessGroup) {\n const response = await client.mutate({\n mutation: gql`\n mutation CreateProcessGroup($group: NewProcessGroup!) {\n createProcessGroup(group: $group) {\n id\n name\n description\n createdAt\n updatedAt\n }\n }\n `,\n variables: { group }\n })\n\n return response.data\n}\n\nexport async function joinProcessGroup(processId: string, groupId: string) {\n const response = await client.mutate({\n mutation: gql`\n mutation JoinProcessGroup($id: String!, $processIds: [String!]!) {\n joinProcessGroup(id: $id, processIds: $processIds) {\n id\n name\n description\n processes {\n id\n name\n description\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n }\n }\n `,\n variables: {\n id: groupId,\n processIds: [processId]\n }\n })\n\n return response.data\n}\n"]}
|
|
1
|
+
{"version":3,"file":"process-group.js","sourceRoot":"","sources":["../../../src/graphql/process-group.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACzC,OAAO,GAAG,MAAM,aAAa,CAAA;AAE7B,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,EAAU;IAChD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC;QAClC,KAAK,EAAE,GAAG,CAAA;;;;;;;;;;;;;;;;;;KAkBT;QACD,SAAS,EAAE,EAAE,EAAE,EAAE;KAClB,CAAC,CAAA;IAEF,OAAO,QAAQ,CAAC,IAAI,CAAA;AACtB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,KAAmB;IAC1D,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,KAAK,CAAA;IAErC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC;QACnC,QAAQ,EAAE,GAAG,CAAA;;;;;;;;;;KAUZ;QACD,SAAS,EAAE;YACT,EAAE;YACF,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;SAC7B;KACF,CAAC,CAAA;IAEF,OAAO,QAAQ,CAAC,IAAI,CAAA;AACtB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,EAAU;IACjD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC;QACnC,QAAQ,EAAE,GAAG,CAAA;;;;KAIZ;QACD,SAAS,EAAE;YACT,EAAE;SACH;KACF,CAAC,CAAA;IAEF,OAAO,QAAQ,CAAC,IAAI,CAAA;AACtB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,qBAAqB;IACzC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC;QAClC,KAAK,EAAE,GAAG,CAAA;;;;;;;;;;;;;KAaT;KACF,CAAC,CAAA;IAEF,OAAO,QAAQ,CAAC,IAAI,CAAA;AACtB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,KAAmB;IAC1D,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC;QACnC,QAAQ,EAAE,GAAG,CAAA;;;;;;;;;;KAUZ;QACD,SAAS,EAAE,EAAE,KAAK,EAAE;KACrB,CAAC,CAAA;IAEF,OAAO,QAAQ,CAAC,IAAI,CAAA;AACtB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,SAAiB,EAAE,OAAe;IACvE,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC;QACnC,QAAQ,EAAE,GAAG,CAAA;;;;;;;;;;;;;;;;;KAiBZ;QACD,SAAS,EAAE;YACT,EAAE,EAAE,OAAO;YACX,UAAU,EAAE,CAAC,SAAS,CAAC;SACxB;KACF,CAAC,CAAA;IAEF,OAAO,QAAQ,CAAC,IAAI,CAAA;AACtB,CAAC","sourcesContent":["import { ProcessGroup } from '../types.js'\nimport { client } from '@operato/graphql'\nimport gql from 'graphql-tag'\n\nexport async function fetchProcessGroup(id: string) {\n const response = await client.query({\n query: gql`\n query FetchProcessGroupById($id: String!) {\n group(id: $id) {\n id\n name\n description\n createdAt\n creator {\n id\n name\n }\n updatedAt\n updater {\n id\n name\n }\n }\n }\n `,\n variables: { id }\n })\n\n return response.data\n}\n\nexport async function updateProcessGroup(group: ProcessGroup) {\n var { id, name, description } = group\n\n const response = await client.mutate({\n mutation: gql`\n mutation UpdateProcessGroup($id: String!, $patch: ProcessGroupPatch!) {\n updateProcessGroup(id: $id, patch: $patch) {\n id\n name\n description\n createdAt\n updatedAt\n }\n }\n `,\n variables: {\n id,\n patch: { name, description }\n }\n })\n\n return response.data\n}\n\nexport async function deleteProcessGroup(id: string) {\n const response = await client.mutate({\n mutation: gql`\n mutation ($id: String!) {\n deleteProcessGroup(id: $id)\n }\n `,\n variables: {\n id\n }\n })\n\n return response.data\n}\n\nexport async function fetchProcessGroupList() {\n const response = await client.query({\n query: gql`\n {\n processGroups {\n items {\n id\n name\n description\n createdAt\n updatedAt\n }\n total\n }\n }\n `\n })\n\n return response.data\n}\n\nexport async function createProcessGroup(group: ProcessGroup) {\n const response = await client.mutate({\n mutation: gql`\n mutation CreateProcessGroup($group: NewProcessGroup!) {\n createProcessGroup(group: $group) {\n id\n name\n description\n createdAt\n updatedAt\n }\n }\n `,\n variables: { group }\n })\n\n return response.data\n}\n\nexport async function joinProcessGroup(processId: string, groupId: string) {\n const response = await client.mutate({\n mutation: gql`\n mutation JoinProcessGroup($id: String!, $processIds: [String!]!) {\n joinProcessGroup(id: $id, processIds: $processIds) {\n id\n name\n description\n processes {\n id\n name\n description\n createdAt\n updatedAt\n }\n createdAt\n updatedAt\n }\n }\n `,\n variables: {\n id: groupId,\n processIds: [processId]\n }\n })\n\n return response.data\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Process } from '../types';
|
|
1
|
+
import { Process } from '../types.js';
|
|
2
2
|
export declare function fetchProcessList(listParam?: {}): Promise<any>;
|
|
3
3
|
export declare function fetchProcess(id: string): Promise<any>;
|
|
4
4
|
export declare function createProcess(process: Process): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process.js","sourceRoot":"","sources":["../../../src/graphql/process.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAGpD,OAAO,GAAG,MAAM,aAAa,CAAA;AAE7B,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,SAAS,GAAG,EAAE;IACnD,MAAM,QAAQ,GAAG,MAAM,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AG,MAAM,MAAM,CAAC,MAAM,CAAC;QACnC,QAAQ,EAAE,GAAG,CAAA;;;;KAIZ;QACD,SAAS,EAAE;YACT,EAAE;SACH;KACF,CAAC,CAAA;IAEF,OAAO,QAAQ,CAAC,IAAI,CAAA;AACtB,CAAC","sourcesContent":["import { buildArgs, client } from '@operato/graphql'\n\nimport { Process } from '../types'\nimport gql from 'graphql-tag'\n\nexport async function fetchProcessList(listParam = {}) {\n const response = await client.query({\n query: gql`\n {\n processes(${buildArgs(listParam)}) {\n items {\n id\n name\n description\n thumbnail\n createdAt\n updatedAt\n }\n total\n }\n }\n `\n })\n\n return response.data\n}\n\nexport async function fetchProcess(id: string) {\n const response = await client.query({\n query: gql`\n query FetchProcessById($id: String!) {\n process(id: $id) {\n id\n name\n description\n group {\n id\n name\n }\n thumbnail\n model\n createdAt\n creator {\n id\n name\n }\n updatedAt\n updater {\n id\n name\n }\n }\n }\n `,\n variables: { id }\n })\n\n return response.data\n}\n\nexport async function createProcess(process: Process) {\n /*\n input NewProcess {\n name : String!\n description : String\n model : String!\n groupId : String!\n }\n */\n\n const response = await client.mutate({\n mutation: gql`\n mutation CreateProcess($process: NewProcess!) {\n createProcess(process: $process) {\n id\n name\n description\n model\n createdAt\n updatedAt\n }\n }\n `,\n variables: {\n process\n }\n })\n\n return response.data\n}\n\nexport async function updateProcess(process: Process) {\n /*\n input ProcessPatch {\n name : String\n description : String\n model : String\n }\n */\n var { id, name, description, model, groupId } = process\n\n const response = await client.mutate({\n mutation: gql`\n mutation UpdateProcess($id: String!, $patch: ProcessPatch!) {\n updateProcess(id: $id, patch: $patch) {\n id\n name\n description\n model\n group {\n id\n name\n }\n createdAt\n updatedAt\n }\n }\n `,\n variables: {\n id,\n patch: { name, description, model, groupId }\n }\n })\n\n return response.data\n}\n\nexport async function deleteProcess(id: string) {\n const response = await client.mutate({\n mutation: gql`\n mutation ($id: String!) {\n deleteProcess(id: $id)\n }\n `,\n variables: {\n id\n }\n })\n\n return response.data\n}\n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AG,CAAA;;;;;;;;;;;;;;;KAeZ;QACD,SAAS,EAAE;YACT,EAAE;YACF,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE;SAC7C;KACF,CAAC,CAAA;IAEF,OAAO,QAAQ,CAAC,IAAI,CAAA;AACtB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,EAAU;IAC5C,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC;QACnC,QAAQ,EAAE,GAAG,CAAA;;;;KAIZ;QACD,SAAS,EAAE;YACT,EAAE;SACH;KACF,CAAC,CAAA;IAEF,OAAO,QAAQ,CAAC,IAAI,CAAA;AACtB,CAAC","sourcesContent":["import { buildArgs, client } from '@operato/graphql'\n\nimport { Process } from '../types.js'\nimport gql from 'graphql-tag'\n\nexport async function fetchProcessList(listParam = {}) {\n const response = await client.query({\n query: gql`\n {\n processes(${buildArgs(listParam)}) {\n items {\n id\n name\n description\n thumbnail\n createdAt\n updatedAt\n }\n total\n }\n }\n `\n })\n\n return response.data\n}\n\nexport async function fetchProcess(id: string) {\n const response = await client.query({\n query: gql`\n query FetchProcessById($id: String!) {\n process(id: $id) {\n id\n name\n description\n group {\n id\n name\n }\n thumbnail\n model\n createdAt\n creator {\n id\n name\n }\n updatedAt\n updater {\n id\n name\n }\n }\n }\n `,\n variables: { id }\n })\n\n return response.data\n}\n\nexport async function createProcess(process: Process) {\n /*\n input NewProcess {\n name : String!\n description : String\n model : String!\n groupId : String!\n }\n */\n\n const response = await client.mutate({\n mutation: gql`\n mutation CreateProcess($process: NewProcess!) {\n createProcess(process: $process) {\n id\n name\n description\n model\n createdAt\n updatedAt\n }\n }\n `,\n variables: {\n process\n }\n })\n\n return response.data\n}\n\nexport async function updateProcess(process: Process) {\n /*\n input ProcessPatch {\n name : String\n description : String\n model : String\n }\n */\n var { id, name, description, model, groupId } = process\n\n const response = await client.mutate({\n mutation: gql`\n mutation UpdateProcess($id: String!, $patch: ProcessPatch!) {\n updateProcess(id: $id, patch: $patch) {\n id\n name\n description\n model\n group {\n id\n name\n }\n createdAt\n updatedAt\n }\n }\n `,\n variables: {\n id,\n patch: { name, description, model, groupId }\n }\n })\n\n return response.data\n}\n\nexport async function deleteProcess(id: string) {\n const response = await client.mutate({\n mutation: gql`\n mutation ($id: String!) {\n deleteProcess(id: $id)\n }\n `,\n variables: {\n id\n }\n })\n\n return response.data\n}\n"]}
|
|
@@ -9,7 +9,12 @@ import { ScrollbarStyles } from '@operato/styles';
|
|
|
9
9
|
export class ComponentDetail extends LitElement {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
12
|
-
this
|
|
12
|
+
Object.defineProperty(this, "template", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
configurable: true,
|
|
15
|
+
writable: true,
|
|
16
|
+
value: null
|
|
17
|
+
});
|
|
13
18
|
}
|
|
14
19
|
render() {
|
|
15
20
|
const { about } = this.template || {};
|
|
@@ -22,9 +27,13 @@ export class ComponentDetail extends LitElement {
|
|
|
22
27
|
return html ` <ox-markdown .src=${about}></ox-markdown> `;
|
|
23
28
|
}
|
|
24
29
|
}
|
|
25
|
-
ComponentDetail
|
|
26
|
-
|
|
27
|
-
|
|
30
|
+
Object.defineProperty(ComponentDetail, "styles", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
configurable: true,
|
|
33
|
+
writable: true,
|
|
34
|
+
value: [
|
|
35
|
+
ScrollbarStyles,
|
|
36
|
+
css `
|
|
28
37
|
:host {
|
|
29
38
|
display: flex;
|
|
30
39
|
flex-direction: column;
|
|
@@ -51,7 +60,8 @@ ComponentDetail.styles = [
|
|
|
51
60
|
overflow: auto;
|
|
52
61
|
}
|
|
53
62
|
`
|
|
54
|
-
]
|
|
63
|
+
]
|
|
64
|
+
});
|
|
55
65
|
__decorate([
|
|
56
66
|
property({ type: Object })
|
|
57
67
|
], ComponentDetail.prototype, "template", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-detail.js","sourceRoot":"","sources":["../../../../src/modeller/component-toolbar/component-detail.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,mBAAmB,CAAA;AAE1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,MAAM,OAAO,eAAgB,SAAQ,UAAU;IAA/C;;QAgC8B,
|
|
1
|
+
{"version":3,"file":"component-detail.js","sourceRoot":"","sources":["../../../../src/modeller/component-toolbar/component-detail.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,mBAAmB,CAAA;AAE1B,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,MAAM,OAAO,eAAgB,SAAQ,UAAU;IAA/C;;QAgC8B;;;;mBAAqC,IAAI;WAAA;IAcvE,CAAC;IAZC,MAAM;QACJ,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAA;QAErC,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,QAAQ,GAAG,IAAI,GAAG,CAAC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;YAC9C,IAAI,QAAQ,CAAC,MAAM,KAAK,QAAQ,CAAC,MAAM,EAAE,CAAC;gBACxC,OAAO,IAAI,CAAA,eAAe,KAAK,YAAY,CAAA;YAC7C,CAAC;QACH,CAAC;QAED,OAAO,IAAI,CAAA,sBAAsB,KAAK,kBAAkB,CAAA;IAC1D,CAAC;;AA5CM;;;;WAAS;QACd,eAAe;QACf,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;KA0BF;KACF;EA7BY,CA6BZ;AAE2B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iDAA0C","sourcesContent":["/**\n * @license Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport '@operato/markdown'\n\nimport { css, html, LitElement } from 'lit'\nimport { property } from 'lit/decorators.js'\n\nimport { ScrollbarStyles } from '@operato/styles'\n\nexport class ComponentDetail extends LitElement {\n static styles = [\n ScrollbarStyles,\n css`\n :host {\n display: flex;\n flex-direction: column;\n align-content: stretch;\n\n background-color: var(--component-detail-background-color, white);\n margin: 0px;\n padding: 0px;\n\n overflow: hidden;\n\n border: 2px solid var(--component-detail-border-color, gray);\n box-sizing: border-box;\n\n top: 0px;\n\n z-index: 1;\n }\n\n ox-markdown,\n iframe {\n flex: 1;\n padding: 10px;\n overflow: auto;\n }\n `\n ]\n\n @property({ type: Object }) template: { about: string } | null = null\n\n render() {\n const { about } = this.template || {}\n\n if (about) {\n var aboutURL = new URL(about, location.origin)\n if (aboutURL.origin !== location.origin) {\n return html`<iframe src=${about}></iframe>`\n }\n }\n\n return html` <ox-markdown .src=${about}></ox-markdown> `\n }\n}\n"]}
|