@operato/board 1.0.0-beta.4 → 1.0.0-beta.40

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 (68) hide show
  1. package/CHANGELOG.md +504 -0
  2. package/demo/index-modeller.html +1 -1
  3. package/demo/index-player.html +1 -1
  4. package/demo/index-viewer.html +1 -1
  5. package/demo/index.html +1 -1
  6. package/dist/src/data-storage/data-storage.d.ts +8 -0
  7. package/dist/src/data-storage/data-storage.js +28 -0
  8. package/dist/src/data-storage/data-storage.js.map +1 -0
  9. package/dist/src/index.d.ts +7 -6
  10. package/dist/src/index.js +7 -6
  11. package/dist/src/index.js.map +1 -1
  12. package/dist/src/modeller/component-toolbar/component-menu.js +2 -2
  13. package/dist/src/modeller/component-toolbar/component-menu.js.map +1 -1
  14. package/dist/src/modeller/component-toolbar/component-toolbar.js +1 -1
  15. package/dist/src/modeller/component-toolbar/component-toolbar.js.map +1 -1
  16. package/dist/src/modeller/edit-toolbar.d.ts +1 -1
  17. package/dist/src/modeller/edit-toolbar.js +3 -3
  18. package/dist/src/modeller/edit-toolbar.js.map +1 -1
  19. package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.d.ts +1 -0
  20. package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.js +40 -7
  21. package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.js.map +1 -1
  22. package/dist/src/modeller/property-sidebar/data-binding/data-binding.js +7 -0
  23. package/dist/src/modeller/property-sidebar/data-binding/data-binding.js.map +1 -1
  24. package/dist/src/modeller/property-sidebar/effects/effects-shared-style.js +4 -0
  25. package/dist/src/modeller/property-sidebar/effects/effects-shared-style.js.map +1 -1
  26. package/dist/src/modeller/property-sidebar/inspector/inspector.js +6 -4
  27. package/dist/src/modeller/property-sidebar/inspector/inspector.js.map +1 -1
  28. package/dist/src/modeller/property-sidebar/property-shared-style.js +4 -0
  29. package/dist/src/modeller/property-sidebar/property-shared-style.js.map +1 -1
  30. package/dist/src/modeller/property-sidebar/property-sidebar.js +1 -0
  31. package/dist/src/modeller/property-sidebar/property-sidebar.js.map +1 -1
  32. package/dist/src/modeller/property-sidebar/styles/styles.d.ts +1 -0
  33. package/dist/src/modeller/property-sidebar/styles/styles.js +4 -3
  34. package/dist/src/modeller/property-sidebar/styles/styles.js.map +1 -1
  35. package/dist/src/modeller/scene-viewer/ox-scene-player.js +2 -2
  36. package/dist/src/modeller/scene-viewer/ox-scene-player.js.map +1 -1
  37. package/dist/src/modeller/scene-viewer/ox-scene-viewer.d.ts +1 -1
  38. package/dist/src/modeller/scene-viewer/ox-scene-viewer.js +6 -3
  39. package/dist/src/modeller/scene-viewer/ox-scene-viewer.js.map +1 -1
  40. package/dist/src/ox-board-list.js +1 -1
  41. package/dist/src/ox-board-list.js.map +1 -1
  42. package/dist/src/ox-board-modeller.js +1 -0
  43. package/dist/src/ox-board-modeller.js.map +1 -1
  44. package/dist/src/ox-board-viewer.js +9 -7
  45. package/dist/src/ox-board-viewer.js.map +1 -1
  46. package/dist/src/player/ox-board-wrapper.js +2 -2
  47. package/dist/src/player/ox-board-wrapper.js.map +1 -1
  48. package/dist/tsconfig.tsbuildinfo +1 -1
  49. package/package.json +17 -16
  50. package/src/data-storage/data-storage.ts +47 -0
  51. package/src/index.ts +7 -6
  52. package/src/modeller/component-toolbar/component-menu.ts +3 -4
  53. package/src/modeller/component-toolbar/component-toolbar.ts +1 -1
  54. package/src/modeller/edit-toolbar.ts +3 -3
  55. package/src/modeller/property-sidebar/data-binding/data-binding-mapper.ts +44 -10
  56. package/src/modeller/property-sidebar/data-binding/data-binding.ts +10 -2
  57. package/src/modeller/property-sidebar/effects/effects-shared-style.ts +4 -0
  58. package/src/modeller/property-sidebar/inspector/inspector.ts +7 -4
  59. package/src/modeller/property-sidebar/property-shared-style.ts +4 -0
  60. package/src/modeller/property-sidebar/property-sidebar.ts +1 -0
  61. package/src/modeller/property-sidebar/styles/styles.ts +5 -4
  62. package/src/modeller/scene-viewer/ox-scene-player.ts +2 -2
  63. package/src/modeller/scene-viewer/ox-scene-viewer.ts +6 -3
  64. package/src/ox-board-list.ts +1 -1
  65. package/src/ox-board-modeller.ts +1 -0
  66. package/src/ox-board-viewer.ts +9 -7
  67. package/src/player/ox-board-wrapper.ts +2 -2
  68. package/yarn-error.log +18355 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,510 @@
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
+ ## [1.0.0-beta.40](https://github.com/hatiolab/operato/compare/v1.0.0-beta.39...v1.0.0-beta.40) (2022-06-29)
7
+
8
+
9
+ ### :bug: Bug Fix
10
+
11
+ * latest @hatiolab/things-scene ([da99f9f](https://github.com/hatiolab/operato/commit/da99f9f6ac413f68b6f3bee9edd3162562c0a7f9))
12
+
13
+
14
+
15
+ ## [1.0.0-beta.39](https://github.com/hatiolab/operato/compare/v1.0.0-beta.38...v1.0.0-beta.39) (2022-06-22)
16
+
17
+
18
+ ### :bug: Bug Fix
19
+
20
+ * latest @hatiolab/things-scene ([da3bf6e](https://github.com/hatiolab/operato/commit/da3bf6e5194a99f5306e4d9e05fc47ea042ce8d3))
21
+
22
+
23
+ ### :rocket: New Features
24
+
25
+ * [#42](https://github.com/hatiolab/operato/issues/42) enhance properties for board pattern ([a2b8346](https://github.com/hatiolab/operato/commit/a2b8346d05ffebd82c22e067aaac8047741f73d0))
26
+
27
+
28
+
29
+ ## [1.0.0-beta.38](https://github.com/hatiolab/operato/compare/v1.0.0-beta.37...v1.0.0-beta.38) (2022-06-20)
30
+
31
+ **Note:** Version bump only for package @operato/board
32
+
33
+
34
+
35
+
36
+
37
+ ## [1.0.0-beta.37](https://github.com/hatiolab/operato/compare/v1.0.0-beta.36...v1.0.0-beta.37) (2022-06-20)
38
+
39
+ **Note:** Version bump only for package @operato/board
40
+
41
+
42
+
43
+
44
+
45
+ ## [1.0.0-beta.36](https://github.com/hatiolab/operato/compare/v1.0.0-beta.35...v1.0.0-beta.36) (2022-06-16)
46
+
47
+ **Note:** Version bump only for package @operato/board
48
+
49
+
50
+
51
+
52
+
53
+ ## [1.0.0-beta.35](https://github.com/hatiolab/operato/compare/v1.0.0-beta.34...v1.0.0-beta.35) (2022-06-16)
54
+
55
+ **Note:** Version bump only for package @operato/board
56
+
57
+
58
+
59
+
60
+
61
+ ## [1.0.0-beta.34](https://github.com/hatiolab/operato/compare/v1.0.0-beta.33...v1.0.0-beta.34) (2022-06-16)
62
+
63
+
64
+ ### :bug: Bug Fix
65
+
66
+ * update @hatiolab/things-scene ([3e4e96a](https://github.com/hatiolab/operato/commit/3e4e96ae75079fd91a67252243ef2679e45ef810))
67
+
68
+
69
+
70
+ ## [1.0.0-beta.33](https://github.com/hatiolab/operato/compare/v1.0.0-beta.32...v1.0.0-beta.33) (2022-06-16)
71
+
72
+
73
+ ### :bug: Bug Fix
74
+
75
+ * scene release ([d1ce53c](https://github.com/hatiolab/operato/commit/d1ce53cbf32cb1425812d007f3ecae4089ff8e3d))
76
+
77
+
78
+
79
+ ## [1.0.0-beta.32](https://github.com/hatiolab/operato/compare/v1.0.0-beta.31...v1.0.0-beta.32) (2022-06-15)
80
+
81
+ **Note:** Version bump only for package @operato/board
82
+
83
+
84
+
85
+
86
+
87
+ ## [1.0.0-beta.31](https://github.com/hatiolab/operato/compare/v1.0.0-beta.30...v1.0.0-beta.31) (2022-06-15)
88
+
89
+ **Note:** Version bump only for package @operato/board
90
+
91
+
92
+
93
+
94
+
95
+ ## [1.0.0-beta.30](https://github.com/hatiolab/operato/compare/v1.0.0-beta.29...v1.0.0-beta.30) (2022-06-13)
96
+
97
+ **Note:** Version bump only for package @operato/board
98
+
99
+
100
+
101
+
102
+
103
+ ## [1.0.0-beta.29](https://github.com/hatiolab/operato/compare/v1.0.0-beta.28...v1.0.0-beta.29) (2022-06-10)
104
+
105
+ **Note:** Version bump only for package @operato/board
106
+
107
+
108
+
109
+
110
+
111
+ ## [1.0.0-beta.28](https://github.com/hatiolab/operato/compare/v1.0.0-beta.27...v1.0.0-beta.28) (2022-06-10)
112
+
113
+ **Note:** Version bump only for package @operato/board
114
+
115
+
116
+
117
+
118
+
119
+ ## [1.0.0-beta.27](https://github.com/hatiolab/operato/compare/v1.0.0-beta.26...v1.0.0-beta.27) (2022-06-09)
120
+
121
+
122
+ ### :bug: Bug Fix
123
+
124
+ * input style ([a5d9c0e](https://github.com/hatiolab/operato/commit/a5d9c0eacc89522e26fe5e982b3a5ece9666b85f))
125
+ * ox-board-list ([ddf9e85](https://github.com/hatiolab/operato/commit/ddf9e85a7ae83dee28e7b2b1a60f24b88414fc83))
126
+
127
+
128
+
129
+ ## [1.0.0-beta.26](https://github.com/hatiolab/operato/compare/v1.0.0-beta.25...v1.0.0-beta.26) (2022-06-04)
130
+
131
+ **Note:** Version bump only for package @operato/board
132
+
133
+
134
+
135
+
136
+
137
+ ## [1.0.0-beta.25](https://github.com/hatiolab/operato/compare/v1.0.0-beta.24...v1.0.0-beta.25) (2022-06-02)
138
+
139
+ **Note:** Version bump only for package @operato/board
140
+
141
+
142
+
143
+
144
+
145
+ ## [1.0.0-beta.24](https://github.com/hatiolab/operato/compare/v1.0.0-beta.23...v1.0.0-beta.24) (2022-06-02)
146
+
147
+ **Note:** Version bump only for package @operato/board
148
+
149
+
150
+
151
+
152
+
153
+ ## [1.0.0-beta.23](https://github.com/hatiolab/operato/compare/v1.0.0-beta.22...v1.0.0-beta.23) (2022-06-02)
154
+
155
+ **Note:** Version bump only for package @operato/board
156
+
157
+
158
+
159
+
160
+
161
+ ## [1.0.0-beta.22](https://github.com/hatiolab/operato/compare/v1.0.0-beta.21...v1.0.0-beta.22) (2022-05-31)
162
+
163
+ **Note:** Version bump only for package @operato/board
164
+
165
+
166
+
167
+
168
+
169
+ ## [1.0.0-beta.21](https://github.com/hatiolab/operato/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2022-05-31)
170
+
171
+
172
+ ### :bug: Bug Fix
173
+
174
+ * inspector ([a787dfa](https://github.com/hatiolab/operato/commit/a787dfa93aa4b851c4ef34ed29240ba07ffefe5d))
175
+
176
+
177
+
178
+ ## [1.0.0-beta.20](https://github.com/hatiolab/operato/compare/v1.0.0-beta.19...v1.0.0-beta.20) (2022-05-30)
179
+
180
+
181
+ ### :rocket: New Features
182
+
183
+ * persistent data for board ([02875a1](https://github.com/hatiolab/operato/commit/02875a1117d490343d742241d71b606d76e10c1b))
184
+
185
+
186
+
187
+ ## [1.0.0-beta.19](https://github.com/hatiolab/operato/compare/v1.0.0-beta.18...v1.0.0-beta.19) (2022-05-29)
188
+
189
+
190
+ ### :bug: Bug Fix
191
+
192
+ * no data no spreading for operato/board ([c608dd6](https://github.com/hatiolab/operato/commit/c608dd644e964df55cdd697e3a5059a59efd17f3))
193
+
194
+
195
+
196
+ ## [1.0.0-beta.18](https://github.com/hatiolab/operato/compare/v1.0.0-beta.17...v1.0.0-beta.18) (2022-05-27)
197
+
198
+ **Note:** Version bump only for package @operato/board
199
+
200
+
201
+
202
+
203
+
204
+ ## [1.0.0-beta.17](https://github.com/hatiolab/operato/compare/v1.0.0-beta.16...v1.0.0-beta.17) (2022-05-25)
205
+
206
+ **Note:** Version bump only for package @operato/board
207
+
208
+
209
+
210
+
211
+
212
+ ## [1.0.0-beta.16](https://github.com/hatiolab/operato/compare/v1.0.0-beta.15...v1.0.0-beta.16) (2022-05-23)
213
+
214
+ **Note:** Version bump only for package @operato/board
215
+
216
+
217
+
218
+
219
+
220
+ ## [1.0.0-beta.15](https://github.com/hatiolab/operato/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2022-05-20)
221
+
222
+ **Note:** Version bump only for package @operato/board
223
+
224
+
225
+
226
+
227
+
228
+ ## [1.0.0-beta.14](https://github.com/hatiolab/operato/compare/v1.0.0-beta.13...v1.0.0-beta.14) (2022-05-19)
229
+
230
+ **Note:** Version bump only for package @operato/board
231
+
232
+
233
+
234
+
235
+
236
+ ## [1.0.0-beta.13](https://github.com/hatiolab/operato/compare/v1.0.0-beta.12...v1.0.0-beta.13) (2022-05-19)
237
+
238
+
239
+ ### :bug: Bug Fix
240
+
241
+ * incorrect package.json scripts for storybooks ([8c8c405](https://github.com/hatiolab/operato/commit/8c8c405443247108b9c411b8161c008d9b6a2261))
242
+
243
+
244
+
245
+ ## [1.0.0-beta.12](https://github.com/hatiolab/operato/compare/v1.0.0-beta.11...v1.0.0-beta.12) (2022-05-13)
246
+
247
+
248
+ ### :rocket: New Features
249
+
250
+ * storybook started ([90c08c9](https://github.com/hatiolab/operato/commit/90c08c9a15e5fe554baaa1becca07793e8434799))
251
+
252
+
253
+
254
+ ## [1.0.0-beta.11](https://github.com/hatiolab/operato/compare/v1.0.0-beta.10...v1.0.0-beta.11) (2022-05-01)
255
+
256
+
257
+ ### :rocket: New Features
258
+
259
+ * separated filter-form from data-grist ([21e27f7](https://github.com/hatiolab/operato/commit/21e27f74d3e66d782da4aa75801c39a037627f62))
260
+
261
+
262
+ ### :bug: Bug Fix
263
+
264
+ * board modeller error log on close board ([7326705](https://github.com/hatiolab/operato/commit/73267052c75ab8f386db22bba9816e2012437fbd))
265
+ * input-data, input-script height ([a151994](https://github.com/hatiolab/operato/commit/a151994f06285799d8e05fb6842f8a7f8b13660d))
266
+
267
+
268
+
269
+ ## [1.0.0-beta.10](https://github.com/hatiolab/operato/compare/v1.0.0-beta.9...v1.0.0-beta.10) (2022-04-28)
270
+
271
+ **Note:** Version bump only for package @operato/board
272
+
273
+
274
+
275
+
276
+
277
+ ## [1.0.0-beta.9](https://github.com/hatiolab/operato/compare/v1.0.0-beta.8...v1.0.0-beta.9) (2022-04-28)
278
+
279
+ **Note:** Version bump only for package @operato/board
280
+
281
+
282
+
283
+
284
+
285
+ ## [1.0.0-beta.8](https://github.com/hatiolab/operato/compare/v1.0.0-beta.7...v1.0.0-beta.8) (2022-04-27)
286
+
287
+
288
+ ### :rocket: New Features
289
+
290
+ * support add process for board-modeller ([20713f0](https://github.com/hatiolab/operato/commit/20713f0385492c6947c00e7ed892105f4dea00ca))
291
+
292
+
293
+
294
+ ## [1.0.0-beta.7](https://github.com/hatiolab/operato/compare/v1.0.0-beta.6...v1.0.0-beta.7) (2022-04-24)
295
+
296
+
297
+ ### :bug: Bug Fix
298
+
299
+ * upgrade "@hatiolab/things-scene": "^3.0.2" ([3a12fe7](https://github.com/hatiolab/operato/commit/3a12fe7fb20af35f0952c40371b5b14ff0849143))
300
+
301
+
302
+
303
+ ## [1.0.0-beta.6](https://github.com/hatiolab/operato/compare/v0.4.5...v1.0.0-beta.6) (2022-04-22)
304
+
305
+
306
+ ### :bug: Bug Fix
307
+
308
+ * things-scene 3.0.1 ([10ee63a](https://github.com/hatiolab/operato/commit/10ee63ae6cbaf61b8b240c4f2576c1eb5b6fee9a))
309
+
310
+ ## [1.0.0-beta.5](https://github.com/hatiolab/operato/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2022-04-18)
311
+
312
+
313
+ ### :bug: Bug Fix
314
+
315
+ * apply @hatiolab/things-scene [@3](https://github.com/3).0.0 ([492ac05](https://github.com/hatiolab/operato/commit/492ac05cd1fe257248cf3e4dadccfab6f4167744))
316
+
317
+ ## [1.0.0-beta.4](https://github.com/hatiolab/operato/compare/v1.0.0-beta.3...v1.0.0-beta.4) (2022-04-14)
318
+
319
+ ## [1.0.0-beta.3](https://github.com/hatiolab/operato/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2022-04-12)
320
+
321
+ ## [1.0.0-beta.2](https://github.com/hatiolab/operato/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2022-04-12)
322
+
323
+ ## [1.0.0-beta.1](https://github.com/hatiolab/operato/compare/v1.0.0-beta.0...v1.0.0-beta.1) (2022-04-11)
324
+
325
+
326
+ ### :rocket: New Features
327
+
328
+ * support start/run scenario in tab event ([3fac18f](https://github.com/hatiolab/operato/commit/3fac18fc4aa45c137d6492ad02d1275e6a3c8ced))
329
+
330
+ ## [1.0.0-beta.0](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.53...v1.0.0-beta.0) (2022-04-10)
331
+
332
+
333
+ ### :rocket: New Features
334
+
335
+ * all component can subscribe message from server ([dd761e4](https://github.com/hatiolab/operato/commit/dd761e47d73707cc967cf02101c60971cd22fee6))
336
+ * all component can subscribe message from server ([3e41da0](https://github.com/hatiolab/operato/commit/3e41da09ce24c82a88a96c26c328de293de14853))
337
+ * all component can subscribe message from server ([26354ea](https://github.com/hatiolab/operato/commit/26354ea6ae89642a9505a3763dbfe81c3a32d84e))
338
+
339
+
340
+ ### :bug: Bug Fix
341
+
342
+ * @hatiolab/things-scene 2.8.0 to support tag-subscription ([0e91c46](https://github.com/hatiolab/operato/commit/0e91c461007b9321e8cbaa7977a8b7eced394dbc))
343
+ * @hatiolab/things-scene 2.8.1 to support tag-subscription ([8e6dc87](https://github.com/hatiolab/operato/commit/8e6dc87a7e79dd053ac8e9a491f5ad8612cf96ac))
344
+
345
+ ## [1.0.0-alpha.53](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.52...v1.0.0-alpha.53) (2022-04-08)
346
+
347
+
348
+ ### :rocket: New Features
349
+
350
+ * ox-board-viewer support async model loading ([ff070cc](https://github.com/hatiolab/operato/commit/ff070ccfdceeab6ff8ec0df4d10b090f0c44f5c0))
351
+
352
+ ## [1.0.0-alpha.52](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.51...v1.0.0-alpha.52) (2022-04-08)
353
+
354
+ ## [1.0.0-alpha.51](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.50...v1.0.0-alpha.51) (2022-04-05)
355
+
356
+ ## [1.0.0-alpha.50](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.49...v1.0.0-alpha.50) (2022-04-04)
357
+
358
+ ## [1.0.0-alpha.49](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.48...v1.0.0-alpha.49) (2022-04-04)
359
+
360
+
361
+ ### :bug: Bug Fix
362
+
363
+ * lit@2.2.1 ([6707752](https://github.com/hatiolab/operato/commit/6707752907d24f7ecbe248cba18a4b18cfda282f))
364
+
365
+ ## [1.0.0-alpha.48](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.47...v1.0.0-alpha.48) (2022-04-03)
366
+
367
+ ## [1.0.0-alpha.47](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.46...v1.0.0-alpha.47) (2022-04-02)
368
+
369
+ ## [1.0.0-alpha.46](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.45...v1.0.0-alpha.46) (2022-04-02)
370
+
371
+ ## [1.0.0-alpha.45](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.44...v1.0.0-alpha.45) (2022-03-31)
372
+
373
+ ## [1.0.0-alpha.44](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.43...v1.0.0-alpha.44) (2022-03-31)
374
+
375
+ ## [1.0.0-alpha.43](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.42...v1.0.0-alpha.43) (2022-03-30)
376
+
377
+ ## [1.0.0-alpha.42](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.41...v1.0.0-alpha.42) (2022-03-29)
378
+
379
+ ## [1.0.0-alpha.41](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.40...v1.0.0-alpha.41) (2022-03-27)
380
+
381
+ ## [1.0.0-alpha.40](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.39...v1.0.0-alpha.40) (2022-03-26)
382
+
383
+ ## [1.0.0-alpha.39](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.38...v1.0.0-alpha.39) (2022-03-25)
384
+
385
+ ## [1.0.0-alpha.38](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.37...v1.0.0-alpha.38) (2022-03-25)
386
+
387
+ ## [1.0.0-alpha.37](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.36...v1.0.0-alpha.37) (2022-03-25)
388
+
389
+ ## [1.0.0-alpha.36](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.35...v1.0.0-alpha.36) (2022-03-21)
390
+
391
+ ## [1.0.0-alpha.35](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.34...v1.0.0-alpha.35) (2022-03-21)
392
+
393
+ ## [1.0.0-alpha.34](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.33...v1.0.0-alpha.34) (2022-03-20)
394
+
395
+ ## [1.0.0-alpha.33](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.32...v1.0.0-alpha.33) (2022-03-19)
396
+
397
+ ## [1.0.0-alpha.32](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.31...v1.0.0-alpha.32) (2022-03-19)
398
+
399
+ ## [1.0.0-alpha.31](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.30...v1.0.0-alpha.31) (2022-03-19)
400
+
401
+ ## [1.0.0-alpha.30](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.29...v1.0.0-alpha.30) (2022-03-18)
402
+
403
+ ## [1.0.0-alpha.29](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.28...v1.0.0-alpha.29) (2022-03-17)
404
+
405
+ ## [1.0.0-alpha.28](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.26...v1.0.0-alpha.28) (2022-03-17)
406
+
407
+ ## [1.0.0-alpha.26](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.25...v1.0.0-alpha.26) (2022-03-17)
408
+
409
+ ## [1.0.0-alpha.25](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.24...v1.0.0-alpha.25) (2022-03-17)
410
+
411
+ ## [1.0.0-alpha.24](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.23...v1.0.0-alpha.24) (2022-03-17)
412
+
413
+ ## [1.0.0-alpha.23](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.22...v1.0.0-alpha.23) (2022-03-17)
414
+
415
+ ## [1.0.0-alpha.22](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.21...v1.0.0-alpha.22) (2022-03-17)
416
+
417
+ ## [1.0.0-alpha.21](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.20...v1.0.0-alpha.21) (2022-03-16)
418
+
419
+ ## [1.0.0-alpha.20](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.19...v1.0.0-alpha.20) (2022-03-15)
420
+
421
+ ## [1.0.0-alpha.19](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.18...v1.0.0-alpha.19) (2022-03-14)
422
+
423
+ ## [1.0.0-alpha.18](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.17...v1.0.0-alpha.18) (2022-03-14)
424
+
425
+
426
+ ### :bug: Bug Fix
427
+
428
+ * missing font module import ([a5348cf](https://github.com/hatiolab/operato/commit/a5348cf0d567927f18bf31bba09994f3fbf742f6))
429
+
430
+ ## [1.0.0-alpha.17](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.16...v1.0.0-alpha.17) (2022-03-13)
431
+
432
+ ## [1.0.0-alpha.16](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.15...v1.0.0-alpha.16) (2022-03-13)
433
+
434
+ ## [1.0.0-alpha.15](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2022-03-13)
435
+
436
+
437
+ ### :rocket: New Features
438
+
439
+ * migrate input, property-editor from things-factory ([dbd5e73](https://github.com/hatiolab/operato/commit/dbd5e73eac328e72c4bb7abd113a819532bc894d))
440
+
441
+ ## [1.0.0-alpha.14](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) (2022-03-13)
442
+
443
+ ## [1.0.0-alpha.13](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.12...v1.0.0-alpha.13) (2022-03-13)
444
+
445
+
446
+ ### :bug: Bug Fix
447
+
448
+ * typos ([71447fa](https://github.com/hatiolab/operato/commit/71447fa2dfb52c5e45909baac735c2e195856256))
449
+
450
+ ## [1.0.0-alpha.12](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.11...v1.0.0-alpha.12) (2022-03-13)
451
+
452
+
453
+ ### :rocket: New Features
454
+
455
+ * migrate input, property-editor from things-factory ([4800d85](https://github.com/hatiolab/operato/commit/4800d859473bf623325233a7f2af851e5d093dcb))
456
+
457
+ ## [1.0.0-alpha.11](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.10...v1.0.0-alpha.11) (2022-03-12)
458
+
459
+ ## [1.0.0-alpha.10](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2022-03-12)
460
+
461
+
462
+ ### :bug: Bug Fix
463
+
464
+ * invalid import ([6448b1f](https://github.com/hatiolab/operato/commit/6448b1fb3df90760ca80e42827e53901fcefefe0))
465
+
466
+ ## [1.0.0-alpha.9](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2022-03-12)
467
+
468
+
469
+ ### :rocket: New Features
470
+
471
+ * settled concept for input, property-editor, grist-editor, so on ([0c9e1d0](https://github.com/hatiolab/operato/commit/0c9e1d054c7aef5d965868242cf471667af7a3c3))
472
+
473
+ ## [1.0.0-alpha.8](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2022-03-11)
474
+
475
+ ## [1.0.0-alpha.7](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2022-03-11)
476
+
477
+ ## [1.0.0-alpha.6](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2022-03-11)
478
+
479
+ ## [1.0.0-alpha.5](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.4...v1.0.0-alpha.5) (2022-03-11)
480
+
481
+ ## [1.0.0-alpha.4](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.3...v1.0.0-alpha.4) (2022-03-11)
482
+
483
+
484
+ ### :bug: Bug Fix
485
+
486
+ * ox-data-entry-form options and inputs layout ([56987c6](https://github.com/hatiolab/operato/commit/56987c664000d558427ba8dbf77730130061cb1a))
487
+
488
+ ## [1.0.0-alpha.3](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2022-03-10)
489
+
490
+ ## [1.0.0-alpha.2](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2022-03-10)
491
+
492
+ ## [1.0.0-alpha.1](https://github.com/hatiolab/operato/compare/v0.4.3...v1.0.0-alpha.1) (2022-03-09)
493
+
494
+
495
+ ### :rocket: New Features
496
+
497
+ * 1.0-alpha ([42f87cf](https://github.com/hatiolab/operato/commit/42f87cf6a3cef0381db91ecb1179e63c64c01370))
498
+
499
+
500
+
501
+ ## [1.0.0-beta.5](https://github.com/hatiolab/operato/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2022-04-18)
502
+
503
+
504
+ ### :bug: Bug Fix
505
+
506
+ * apply @hatiolab/things-scene [@3](https://github.com/3).0.0 ([492ac05](https://github.com/hatiolab/operato/commit/492ac05cd1fe257248cf3e4dadccfab6f4167744))
507
+
508
+
509
+
6
510
  ## [1.0.0-beta.4](https://github.com/hatiolab/operato/compare/v1.0.0-beta.3...v1.0.0-beta.4) (2022-04-14)
7
511
 
8
512
  **Note:** Version bump only for package @operato/board
@@ -2,7 +2,7 @@
2
2
  <html lang="en-GB">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="viewport" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <style>
7
7
  body {
8
8
  margin: 0;
@@ -2,7 +2,7 @@
2
2
  <html lang="en-GB">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="viewport" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <style>
7
7
  body {
8
8
  margin: 0;
@@ -2,7 +2,7 @@
2
2
  <html lang="en-GB">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="viewport" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <style>
7
7
  body {
8
8
  margin: 0;
package/demo/index.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <html lang="en-GB">
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="viewport" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <style>
7
7
  body {
8
8
  margin: 0;
@@ -0,0 +1,8 @@
1
+ import { Component, PersistentDataStorage } from '@hatiolab/things-scene';
2
+ export declare class DataStorage implements PersistentDataStorage {
3
+ private id;
4
+ constructor(id: string);
5
+ load(key: Component): Promise<any>;
6
+ save(key: Component, value: any): Promise<void>;
7
+ clear(key: Component): Promise<void>;
8
+ }
@@ -0,0 +1,28 @@
1
+ import Dexie from 'dexie';
2
+ class BoardDatabase extends Dexie {
3
+ //...other tables goes here...
4
+ constructor() {
5
+ super('operato-board-database');
6
+ this.version(1).stores({
7
+ board_data: '[board+refid]'
8
+ //...other tables goes here...
9
+ });
10
+ }
11
+ }
12
+ const db = new BoardDatabase();
13
+ export class DataStorage {
14
+ constructor(id) {
15
+ this.id = id;
16
+ }
17
+ async load(key) {
18
+ const saved = await db.board_data.where({ board: this.id, refid: key.state.refid }).first();
19
+ return saved === null || saved === void 0 ? void 0 : saved.data;
20
+ }
21
+ async save(key, value) {
22
+ await db.board_data.put({ board: this.id, refid: key.state.refid, data: value, timestamp: Date.now() });
23
+ }
24
+ async clear(key) {
25
+ await db.board_data.where({ board: this.id, refid: key.state.refid }).delete();
26
+ }
27
+ }
28
+ //# sourceMappingURL=data-storage.js.map
@@ -0,0 +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,aAAc,SAAQ,KAAK;IAE/B,8BAA8B;IAE9B;QACE,KAAK,CAAC,wBAAwB,CAAC,CAAA;QAC/B,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;YACrB,UAAU,EAAE,eAAe;YAC3B,8BAA8B;SAC/B,CAAC,CAAA;IACJ,CAAC;CACF;AAUD,MAAM,EAAE,GAAG,IAAI,aAAa,EAAE,CAAA;AAE9B,MAAM,OAAO,WAAW;IAGtB,YAAY,EAAU;QACpB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;IACd,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,GAAc;QAC9B,MAAM,KAAK,GAAG,MAAM,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,CAAA;QAC3F,OAAO,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,CAAA;IACpB,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,GAAc,EAAE,KAAU;QAC1C,MAAM,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,KAAK,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;IACzG,CAAC;IAEM,KAAK,CAAC,KAAK,CAAC,GAAc;QAC/B,MAAM,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAA;IAChF,CAAC;CACF","sourcesContent":["import Dexie from 'dexie'\n\nimport { Component, PersistentDataStorage } from '@hatiolab/things-scene'\n\nclass BoardDatabase extends Dexie {\n board_data!: Dexie.Table<IBoardData, number> // number = type of the primkey\n //...other tables goes here...\n\n constructor() {\n super('operato-board-database')\n this.version(1).stores({\n board_data: '[board+refid]'\n //...other tables goes here...\n })\n }\n}\n\ninterface IBoardData {\n id?: number\n board: string\n refid: string | number\n data: any\n timestamp: number\n}\n\nconst db = new BoardDatabase()\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.board_data.where({ board: 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.board_data.put({ board: this.id, refid: key.state.refid, data: value, timestamp: Date.now() })\n }\n\n public async clear(key: Component): Promise<void> {\n await db.board_data.where({ board: this.id, refid: key.state.refid }).delete()\n }\n}\n"]}
@@ -1,6 +1,7 @@
1
- export * from './types';
2
- export { registerDefaultGroups } from './component/register-default-groups';
3
- export * from './ox-board-viewer';
4
- export * from './ox-board-player';
5
- export * from './ox-board-modeller';
6
- export * from './ox-board-list';
1
+ export * from './types.js';
2
+ export { registerDefaultGroups } from './component/register-default-groups.js';
3
+ export { DataStorage } from './data-storage/data-storage.js';
4
+ export * from './ox-board-viewer.js';
5
+ export * from './ox-board-player.js';
6
+ export * from './ox-board-modeller.js';
7
+ export * from './ox-board-list.js';
package/dist/src/index.js CHANGED
@@ -1,7 +1,8 @@
1
- export * from './types';
2
- export { registerDefaultGroups } from './component/register-default-groups';
3
- export * from './ox-board-viewer';
4
- export * from './ox-board-player';
5
- export * from './ox-board-modeller';
6
- export * from './ox-board-list';
1
+ export * from './types.js';
2
+ export { registerDefaultGroups } from './component/register-default-groups.js';
3
+ export { DataStorage } from './data-storage/data-storage.js';
4
+ export * from './ox-board-viewer.js';
5
+ export * from './ox-board-player.js';
6
+ export * from './ox-board-modeller.js';
7
+ export * from './ox-board-list.js';
7
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AAEvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;AAE3E,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA","sourcesContent":["export * from './types'\n\nexport { registerDefaultGroups } from './component/register-default-groups'\n\nexport * from './ox-board-viewer'\nexport * from './ox-board-player'\nexport * from './ox-board-modeller'\nexport * from './ox-board-list'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAE1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAA;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAE5D,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA","sourcesContent":["export * from './types.js'\n\nexport { registerDefaultGroups } from './component/register-default-groups.js'\nexport { DataStorage } from './data-storage/data-storage.js'\n\nexport * from './ox-board-viewer.js'\nexport * from './ox-board-player.js'\nexport * from './ox-board-modeller.js'\nexport * from './ox-board-list.js'\n"]}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { __decorate } from "tslib";
5
5
  import './component-detail';
6
- import { css, html, LitElement } from 'lit';
6
+ import { LitElement, css, html } from 'lit';
7
7
  import { customElement, property, query, state } from 'lit/decorators.js';
8
8
  import { ScrollbarStyles } from '@operato/styles';
9
9
  const noImage = new URL('../../../../icons/components/no-image.png', import.meta.url).href;
@@ -79,7 +79,7 @@ let ComponentMenu = class ComponentMenu extends LitElement {
79
79
  }
80
80
  if (this.scene) {
81
81
  this.template = this.templates.find(template => template.type == type);
82
- this.template && this.scene.add(JSON.parse(JSON.stringify(this.template.model)), { cx: 200, cy: 200 });
82
+ this.template && this.scene.startAddMode(JSON.parse(JSON.stringify(this.template.model)));
83
83
  }
84
84
  this.group = null;
85
85
  }