@operato/board 1.0.0-beta.5 → 1.0.0-beta.50

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