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

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 (67) hide show
  1. package/CHANGELOG.md +529 -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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,535 @@
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.43](https://github.com/hatiolab/operato/compare/v1.0.0-beta.42...v1.0.0-beta.43) (2022-07-03)
7
+
8
+ **Note:** Version bump only for package @operato/board
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.0.0-beta.42](https://github.com/hatiolab/operato/compare/v1.0.0-beta.41...v1.0.0-beta.42) (2022-07-03)
15
+
16
+
17
+ ### :bug: Bug Fix
18
+
19
+ * latest things-scene ([5eddda1](https://github.com/hatiolab/operato/commit/5eddda1850196c793a8aa0ca66e445000f8d3226))
20
+
21
+
22
+
23
+ ## [1.0.0-beta.41](https://github.com/hatiolab/operato/compare/v1.0.0-beta.40...v1.0.0-beta.41) (2022-06-30)
24
+
25
+ **Note:** Version bump only for package @operato/board
26
+
27
+
28
+
29
+
30
+
31
+ ## [1.0.0-beta.40](https://github.com/hatiolab/operato/compare/v1.0.0-beta.39...v1.0.0-beta.40) (2022-06-29)
32
+
33
+
34
+ ### :bug: Bug Fix
35
+
36
+ * latest @hatiolab/things-scene ([da99f9f](https://github.com/hatiolab/operato/commit/da99f9f6ac413f68b6f3bee9edd3162562c0a7f9))
37
+
38
+
39
+
40
+ ## [1.0.0-beta.39](https://github.com/hatiolab/operato/compare/v1.0.0-beta.38...v1.0.0-beta.39) (2022-06-22)
41
+
42
+
43
+ ### :bug: Bug Fix
44
+
45
+ * latest @hatiolab/things-scene ([da3bf6e](https://github.com/hatiolab/operato/commit/da3bf6e5194a99f5306e4d9e05fc47ea042ce8d3))
46
+
47
+
48
+ ### :rocket: New Features
49
+
50
+ * [#42](https://github.com/hatiolab/operato/issues/42) enhance properties for board pattern ([a2b8346](https://github.com/hatiolab/operato/commit/a2b8346d05ffebd82c22e067aaac8047741f73d0))
51
+
52
+
53
+
54
+ ## [1.0.0-beta.38](https://github.com/hatiolab/operato/compare/v1.0.0-beta.37...v1.0.0-beta.38) (2022-06-20)
55
+
56
+ **Note:** Version bump only for package @operato/board
57
+
58
+
59
+
60
+
61
+
62
+ ## [1.0.0-beta.37](https://github.com/hatiolab/operato/compare/v1.0.0-beta.36...v1.0.0-beta.37) (2022-06-20)
63
+
64
+ **Note:** Version bump only for package @operato/board
65
+
66
+
67
+
68
+
69
+
70
+ ## [1.0.0-beta.36](https://github.com/hatiolab/operato/compare/v1.0.0-beta.35...v1.0.0-beta.36) (2022-06-16)
71
+
72
+ **Note:** Version bump only for package @operato/board
73
+
74
+
75
+
76
+
77
+
78
+ ## [1.0.0-beta.35](https://github.com/hatiolab/operato/compare/v1.0.0-beta.34...v1.0.0-beta.35) (2022-06-16)
79
+
80
+ **Note:** Version bump only for package @operato/board
81
+
82
+
83
+
84
+
85
+
86
+ ## [1.0.0-beta.34](https://github.com/hatiolab/operato/compare/v1.0.0-beta.33...v1.0.0-beta.34) (2022-06-16)
87
+
88
+
89
+ ### :bug: Bug Fix
90
+
91
+ * update @hatiolab/things-scene ([3e4e96a](https://github.com/hatiolab/operato/commit/3e4e96ae75079fd91a67252243ef2679e45ef810))
92
+
93
+
94
+
95
+ ## [1.0.0-beta.33](https://github.com/hatiolab/operato/compare/v1.0.0-beta.32...v1.0.0-beta.33) (2022-06-16)
96
+
97
+
98
+ ### :bug: Bug Fix
99
+
100
+ * scene release ([d1ce53c](https://github.com/hatiolab/operato/commit/d1ce53cbf32cb1425812d007f3ecae4089ff8e3d))
101
+
102
+
103
+
104
+ ## [1.0.0-beta.32](https://github.com/hatiolab/operato/compare/v1.0.0-beta.31...v1.0.0-beta.32) (2022-06-15)
105
+
106
+ **Note:** Version bump only for package @operato/board
107
+
108
+
109
+
110
+
111
+
112
+ ## [1.0.0-beta.31](https://github.com/hatiolab/operato/compare/v1.0.0-beta.30...v1.0.0-beta.31) (2022-06-15)
113
+
114
+ **Note:** Version bump only for package @operato/board
115
+
116
+
117
+
118
+
119
+
120
+ ## [1.0.0-beta.30](https://github.com/hatiolab/operato/compare/v1.0.0-beta.29...v1.0.0-beta.30) (2022-06-13)
121
+
122
+ **Note:** Version bump only for package @operato/board
123
+
124
+
125
+
126
+
127
+
128
+ ## [1.0.0-beta.29](https://github.com/hatiolab/operato/compare/v1.0.0-beta.28...v1.0.0-beta.29) (2022-06-10)
129
+
130
+ **Note:** Version bump only for package @operato/board
131
+
132
+
133
+
134
+
135
+
136
+ ## [1.0.0-beta.28](https://github.com/hatiolab/operato/compare/v1.0.0-beta.27...v1.0.0-beta.28) (2022-06-10)
137
+
138
+ **Note:** Version bump only for package @operato/board
139
+
140
+
141
+
142
+
143
+
144
+ ## [1.0.0-beta.27](https://github.com/hatiolab/operato/compare/v1.0.0-beta.26...v1.0.0-beta.27) (2022-06-09)
145
+
146
+
147
+ ### :bug: Bug Fix
148
+
149
+ * input style ([a5d9c0e](https://github.com/hatiolab/operato/commit/a5d9c0eacc89522e26fe5e982b3a5ece9666b85f))
150
+ * ox-board-list ([ddf9e85](https://github.com/hatiolab/operato/commit/ddf9e85a7ae83dee28e7b2b1a60f24b88414fc83))
151
+
152
+
153
+
154
+ ## [1.0.0-beta.26](https://github.com/hatiolab/operato/compare/v1.0.0-beta.25...v1.0.0-beta.26) (2022-06-04)
155
+
156
+ **Note:** Version bump only for package @operato/board
157
+
158
+
159
+
160
+
161
+
162
+ ## [1.0.0-beta.25](https://github.com/hatiolab/operato/compare/v1.0.0-beta.24...v1.0.0-beta.25) (2022-06-02)
163
+
164
+ **Note:** Version bump only for package @operato/board
165
+
166
+
167
+
168
+
169
+
170
+ ## [1.0.0-beta.24](https://github.com/hatiolab/operato/compare/v1.0.0-beta.23...v1.0.0-beta.24) (2022-06-02)
171
+
172
+ **Note:** Version bump only for package @operato/board
173
+
174
+
175
+
176
+
177
+
178
+ ## [1.0.0-beta.23](https://github.com/hatiolab/operato/compare/v1.0.0-beta.22...v1.0.0-beta.23) (2022-06-02)
179
+
180
+ **Note:** Version bump only for package @operato/board
181
+
182
+
183
+
184
+
185
+
186
+ ## [1.0.0-beta.22](https://github.com/hatiolab/operato/compare/v1.0.0-beta.21...v1.0.0-beta.22) (2022-05-31)
187
+
188
+ **Note:** Version bump only for package @operato/board
189
+
190
+
191
+
192
+
193
+
194
+ ## [1.0.0-beta.21](https://github.com/hatiolab/operato/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2022-05-31)
195
+
196
+
197
+ ### :bug: Bug Fix
198
+
199
+ * inspector ([a787dfa](https://github.com/hatiolab/operato/commit/a787dfa93aa4b851c4ef34ed29240ba07ffefe5d))
200
+
201
+
202
+
203
+ ## [1.0.0-beta.20](https://github.com/hatiolab/operato/compare/v1.0.0-beta.19...v1.0.0-beta.20) (2022-05-30)
204
+
205
+
206
+ ### :rocket: New Features
207
+
208
+ * persistent data for board ([02875a1](https://github.com/hatiolab/operato/commit/02875a1117d490343d742241d71b606d76e10c1b))
209
+
210
+
211
+
212
+ ## [1.0.0-beta.19](https://github.com/hatiolab/operato/compare/v1.0.0-beta.18...v1.0.0-beta.19) (2022-05-29)
213
+
214
+
215
+ ### :bug: Bug Fix
216
+
217
+ * no data no spreading for operato/board ([c608dd6](https://github.com/hatiolab/operato/commit/c608dd644e964df55cdd697e3a5059a59efd17f3))
218
+
219
+
220
+
221
+ ## [1.0.0-beta.18](https://github.com/hatiolab/operato/compare/v1.0.0-beta.17...v1.0.0-beta.18) (2022-05-27)
222
+
223
+ **Note:** Version bump only for package @operato/board
224
+
225
+
226
+
227
+
228
+
229
+ ## [1.0.0-beta.17](https://github.com/hatiolab/operato/compare/v1.0.0-beta.16...v1.0.0-beta.17) (2022-05-25)
230
+
231
+ **Note:** Version bump only for package @operato/board
232
+
233
+
234
+
235
+
236
+
237
+ ## [1.0.0-beta.16](https://github.com/hatiolab/operato/compare/v1.0.0-beta.15...v1.0.0-beta.16) (2022-05-23)
238
+
239
+ **Note:** Version bump only for package @operato/board
240
+
241
+
242
+
243
+
244
+
245
+ ## [1.0.0-beta.15](https://github.com/hatiolab/operato/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2022-05-20)
246
+
247
+ **Note:** Version bump only for package @operato/board
248
+
249
+
250
+
251
+
252
+
253
+ ## [1.0.0-beta.14](https://github.com/hatiolab/operato/compare/v1.0.0-beta.13...v1.0.0-beta.14) (2022-05-19)
254
+
255
+ **Note:** Version bump only for package @operato/board
256
+
257
+
258
+
259
+
260
+
261
+ ## [1.0.0-beta.13](https://github.com/hatiolab/operato/compare/v1.0.0-beta.12...v1.0.0-beta.13) (2022-05-19)
262
+
263
+
264
+ ### :bug: Bug Fix
265
+
266
+ * incorrect package.json scripts for storybooks ([8c8c405](https://github.com/hatiolab/operato/commit/8c8c405443247108b9c411b8161c008d9b6a2261))
267
+
268
+
269
+
270
+ ## [1.0.0-beta.12](https://github.com/hatiolab/operato/compare/v1.0.0-beta.11...v1.0.0-beta.12) (2022-05-13)
271
+
272
+
273
+ ### :rocket: New Features
274
+
275
+ * storybook started ([90c08c9](https://github.com/hatiolab/operato/commit/90c08c9a15e5fe554baaa1becca07793e8434799))
276
+
277
+
278
+
279
+ ## [1.0.0-beta.11](https://github.com/hatiolab/operato/compare/v1.0.0-beta.10...v1.0.0-beta.11) (2022-05-01)
280
+
281
+
282
+ ### :rocket: New Features
283
+
284
+ * separated filter-form from data-grist ([21e27f7](https://github.com/hatiolab/operato/commit/21e27f74d3e66d782da4aa75801c39a037627f62))
285
+
286
+
287
+ ### :bug: Bug Fix
288
+
289
+ * board modeller error log on close board ([7326705](https://github.com/hatiolab/operato/commit/73267052c75ab8f386db22bba9816e2012437fbd))
290
+ * input-data, input-script height ([a151994](https://github.com/hatiolab/operato/commit/a151994f06285799d8e05fb6842f8a7f8b13660d))
291
+
292
+
293
+
294
+ ## [1.0.0-beta.10](https://github.com/hatiolab/operato/compare/v1.0.0-beta.9...v1.0.0-beta.10) (2022-04-28)
295
+
296
+ **Note:** Version bump only for package @operato/board
297
+
298
+
299
+
300
+
301
+
302
+ ## [1.0.0-beta.9](https://github.com/hatiolab/operato/compare/v1.0.0-beta.8...v1.0.0-beta.9) (2022-04-28)
303
+
304
+ **Note:** Version bump only for package @operato/board
305
+
306
+
307
+
308
+
309
+
310
+ ## [1.0.0-beta.8](https://github.com/hatiolab/operato/compare/v1.0.0-beta.7...v1.0.0-beta.8) (2022-04-27)
311
+
312
+
313
+ ### :rocket: New Features
314
+
315
+ * support add process for board-modeller ([20713f0](https://github.com/hatiolab/operato/commit/20713f0385492c6947c00e7ed892105f4dea00ca))
316
+
317
+
318
+
319
+ ## [1.0.0-beta.7](https://github.com/hatiolab/operato/compare/v1.0.0-beta.6...v1.0.0-beta.7) (2022-04-24)
320
+
321
+
322
+ ### :bug: Bug Fix
323
+
324
+ * upgrade "@hatiolab/things-scene": "^3.0.2" ([3a12fe7](https://github.com/hatiolab/operato/commit/3a12fe7fb20af35f0952c40371b5b14ff0849143))
325
+
326
+
327
+
328
+ ## [1.0.0-beta.6](https://github.com/hatiolab/operato/compare/v0.4.5...v1.0.0-beta.6) (2022-04-22)
329
+
330
+
331
+ ### :bug: Bug Fix
332
+
333
+ * things-scene 3.0.1 ([10ee63a](https://github.com/hatiolab/operato/commit/10ee63ae6cbaf61b8b240c4f2576c1eb5b6fee9a))
334
+
335
+ ## [1.0.0-beta.5](https://github.com/hatiolab/operato/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2022-04-18)
336
+
337
+
338
+ ### :bug: Bug Fix
339
+
340
+ * apply @hatiolab/things-scene [@3](https://github.com/3).0.0 ([492ac05](https://github.com/hatiolab/operato/commit/492ac05cd1fe257248cf3e4dadccfab6f4167744))
341
+
342
+ ## [1.0.0-beta.4](https://github.com/hatiolab/operato/compare/v1.0.0-beta.3...v1.0.0-beta.4) (2022-04-14)
343
+
344
+ ## [1.0.0-beta.3](https://github.com/hatiolab/operato/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2022-04-12)
345
+
346
+ ## [1.0.0-beta.2](https://github.com/hatiolab/operato/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2022-04-12)
347
+
348
+ ## [1.0.0-beta.1](https://github.com/hatiolab/operato/compare/v1.0.0-beta.0...v1.0.0-beta.1) (2022-04-11)
349
+
350
+
351
+ ### :rocket: New Features
352
+
353
+ * support start/run scenario in tab event ([3fac18f](https://github.com/hatiolab/operato/commit/3fac18fc4aa45c137d6492ad02d1275e6a3c8ced))
354
+
355
+ ## [1.0.0-beta.0](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.53...v1.0.0-beta.0) (2022-04-10)
356
+
357
+
358
+ ### :rocket: New Features
359
+
360
+ * all component can subscribe message from server ([dd761e4](https://github.com/hatiolab/operato/commit/dd761e47d73707cc967cf02101c60971cd22fee6))
361
+ * all component can subscribe message from server ([3e41da0](https://github.com/hatiolab/operato/commit/3e41da09ce24c82a88a96c26c328de293de14853))
362
+ * all component can subscribe message from server ([26354ea](https://github.com/hatiolab/operato/commit/26354ea6ae89642a9505a3763dbfe81c3a32d84e))
363
+
364
+
365
+ ### :bug: Bug Fix
366
+
367
+ * @hatiolab/things-scene 2.8.0 to support tag-subscription ([0e91c46](https://github.com/hatiolab/operato/commit/0e91c461007b9321e8cbaa7977a8b7eced394dbc))
368
+ * @hatiolab/things-scene 2.8.1 to support tag-subscription ([8e6dc87](https://github.com/hatiolab/operato/commit/8e6dc87a7e79dd053ac8e9a491f5ad8612cf96ac))
369
+
370
+ ## [1.0.0-alpha.53](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.52...v1.0.0-alpha.53) (2022-04-08)
371
+
372
+
373
+ ### :rocket: New Features
374
+
375
+ * ox-board-viewer support async model loading ([ff070cc](https://github.com/hatiolab/operato/commit/ff070ccfdceeab6ff8ec0df4d10b090f0c44f5c0))
376
+
377
+ ## [1.0.0-alpha.52](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.51...v1.0.0-alpha.52) (2022-04-08)
378
+
379
+ ## [1.0.0-alpha.51](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.50...v1.0.0-alpha.51) (2022-04-05)
380
+
381
+ ## [1.0.0-alpha.50](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.49...v1.0.0-alpha.50) (2022-04-04)
382
+
383
+ ## [1.0.0-alpha.49](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.48...v1.0.0-alpha.49) (2022-04-04)
384
+
385
+
386
+ ### :bug: Bug Fix
387
+
388
+ * lit@2.2.1 ([6707752](https://github.com/hatiolab/operato/commit/6707752907d24f7ecbe248cba18a4b18cfda282f))
389
+
390
+ ## [1.0.0-alpha.48](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.47...v1.0.0-alpha.48) (2022-04-03)
391
+
392
+ ## [1.0.0-alpha.47](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.46...v1.0.0-alpha.47) (2022-04-02)
393
+
394
+ ## [1.0.0-alpha.46](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.45...v1.0.0-alpha.46) (2022-04-02)
395
+
396
+ ## [1.0.0-alpha.45](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.44...v1.0.0-alpha.45) (2022-03-31)
397
+
398
+ ## [1.0.0-alpha.44](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.43...v1.0.0-alpha.44) (2022-03-31)
399
+
400
+ ## [1.0.0-alpha.43](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.42...v1.0.0-alpha.43) (2022-03-30)
401
+
402
+ ## [1.0.0-alpha.42](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.41...v1.0.0-alpha.42) (2022-03-29)
403
+
404
+ ## [1.0.0-alpha.41](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.40...v1.0.0-alpha.41) (2022-03-27)
405
+
406
+ ## [1.0.0-alpha.40](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.39...v1.0.0-alpha.40) (2022-03-26)
407
+
408
+ ## [1.0.0-alpha.39](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.38...v1.0.0-alpha.39) (2022-03-25)
409
+
410
+ ## [1.0.0-alpha.38](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.37...v1.0.0-alpha.38) (2022-03-25)
411
+
412
+ ## [1.0.0-alpha.37](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.36...v1.0.0-alpha.37) (2022-03-25)
413
+
414
+ ## [1.0.0-alpha.36](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.35...v1.0.0-alpha.36) (2022-03-21)
415
+
416
+ ## [1.0.0-alpha.35](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.34...v1.0.0-alpha.35) (2022-03-21)
417
+
418
+ ## [1.0.0-alpha.34](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.33...v1.0.0-alpha.34) (2022-03-20)
419
+
420
+ ## [1.0.0-alpha.33](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.32...v1.0.0-alpha.33) (2022-03-19)
421
+
422
+ ## [1.0.0-alpha.32](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.31...v1.0.0-alpha.32) (2022-03-19)
423
+
424
+ ## [1.0.0-alpha.31](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.30...v1.0.0-alpha.31) (2022-03-19)
425
+
426
+ ## [1.0.0-alpha.30](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.29...v1.0.0-alpha.30) (2022-03-18)
427
+
428
+ ## [1.0.0-alpha.29](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.28...v1.0.0-alpha.29) (2022-03-17)
429
+
430
+ ## [1.0.0-alpha.28](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.26...v1.0.0-alpha.28) (2022-03-17)
431
+
432
+ ## [1.0.0-alpha.26](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.25...v1.0.0-alpha.26) (2022-03-17)
433
+
434
+ ## [1.0.0-alpha.25](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.24...v1.0.0-alpha.25) (2022-03-17)
435
+
436
+ ## [1.0.0-alpha.24](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.23...v1.0.0-alpha.24) (2022-03-17)
437
+
438
+ ## [1.0.0-alpha.23](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.22...v1.0.0-alpha.23) (2022-03-17)
439
+
440
+ ## [1.0.0-alpha.22](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.21...v1.0.0-alpha.22) (2022-03-17)
441
+
442
+ ## [1.0.0-alpha.21](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.20...v1.0.0-alpha.21) (2022-03-16)
443
+
444
+ ## [1.0.0-alpha.20](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.19...v1.0.0-alpha.20) (2022-03-15)
445
+
446
+ ## [1.0.0-alpha.19](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.18...v1.0.0-alpha.19) (2022-03-14)
447
+
448
+ ## [1.0.0-alpha.18](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.17...v1.0.0-alpha.18) (2022-03-14)
449
+
450
+
451
+ ### :bug: Bug Fix
452
+
453
+ * missing font module import ([a5348cf](https://github.com/hatiolab/operato/commit/a5348cf0d567927f18bf31bba09994f3fbf742f6))
454
+
455
+ ## [1.0.0-alpha.17](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.16...v1.0.0-alpha.17) (2022-03-13)
456
+
457
+ ## [1.0.0-alpha.16](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.15...v1.0.0-alpha.16) (2022-03-13)
458
+
459
+ ## [1.0.0-alpha.15](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2022-03-13)
460
+
461
+
462
+ ### :rocket: New Features
463
+
464
+ * migrate input, property-editor from things-factory ([dbd5e73](https://github.com/hatiolab/operato/commit/dbd5e73eac328e72c4bb7abd113a819532bc894d))
465
+
466
+ ## [1.0.0-alpha.14](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) (2022-03-13)
467
+
468
+ ## [1.0.0-alpha.13](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.12...v1.0.0-alpha.13) (2022-03-13)
469
+
470
+
471
+ ### :bug: Bug Fix
472
+
473
+ * typos ([71447fa](https://github.com/hatiolab/operato/commit/71447fa2dfb52c5e45909baac735c2e195856256))
474
+
475
+ ## [1.0.0-alpha.12](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.11...v1.0.0-alpha.12) (2022-03-13)
476
+
477
+
478
+ ### :rocket: New Features
479
+
480
+ * migrate input, property-editor from things-factory ([4800d85](https://github.com/hatiolab/operato/commit/4800d859473bf623325233a7f2af851e5d093dcb))
481
+
482
+ ## [1.0.0-alpha.11](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.10...v1.0.0-alpha.11) (2022-03-12)
483
+
484
+ ## [1.0.0-alpha.10](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2022-03-12)
485
+
486
+
487
+ ### :bug: Bug Fix
488
+
489
+ * invalid import ([6448b1f](https://github.com/hatiolab/operato/commit/6448b1fb3df90760ca80e42827e53901fcefefe0))
490
+
491
+ ## [1.0.0-alpha.9](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2022-03-12)
492
+
493
+
494
+ ### :rocket: New Features
495
+
496
+ * settled concept for input, property-editor, grist-editor, so on ([0c9e1d0](https://github.com/hatiolab/operato/commit/0c9e1d054c7aef5d965868242cf471667af7a3c3))
497
+
498
+ ## [1.0.0-alpha.8](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2022-03-11)
499
+
500
+ ## [1.0.0-alpha.7](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2022-03-11)
501
+
502
+ ## [1.0.0-alpha.6](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2022-03-11)
503
+
504
+ ## [1.0.0-alpha.5](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.4...v1.0.0-alpha.5) (2022-03-11)
505
+
506
+ ## [1.0.0-alpha.4](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.3...v1.0.0-alpha.4) (2022-03-11)
507
+
508
+
509
+ ### :bug: Bug Fix
510
+
511
+ * ox-data-entry-form options and inputs layout ([56987c6](https://github.com/hatiolab/operato/commit/56987c664000d558427ba8dbf77730130061cb1a))
512
+
513
+ ## [1.0.0-alpha.3](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2022-03-10)
514
+
515
+ ## [1.0.0-alpha.2](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2022-03-10)
516
+
517
+ ## [1.0.0-alpha.1](https://github.com/hatiolab/operato/compare/v0.4.3...v1.0.0-alpha.1) (2022-03-09)
518
+
519
+
520
+ ### :rocket: New Features
521
+
522
+ * 1.0-alpha ([42f87cf](https://github.com/hatiolab/operato/commit/42f87cf6a3cef0381db91ecb1179e63c64c01370))
523
+
524
+
525
+
526
+ ## [1.0.0-beta.5](https://github.com/hatiolab/operato/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2022-04-18)
527
+
528
+
529
+ ### :bug: Bug Fix
530
+
531
+ * apply @hatiolab/things-scene [@3](https://github.com/3).0.0 ([492ac05](https://github.com/hatiolab/operato/commit/492ac05cd1fe257248cf3e4dadccfab6f4167744))
532
+
533
+
534
+
6
535
  ## [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
536
 
8
537
  **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
  }