@operato/board 2.0.0-alpha.7 → 2.0.0-alpha.71

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 (91) hide show
  1. package/CHANGELOG.md +428 -0
  2. package/demo/index-modeller.html +13 -2
  3. package/demo/index-player.html +13 -2
  4. package/demo/index-viewer.html +13 -2
  5. package/demo/index.html +13 -2
  6. package/dist/src/component/etc.js +2 -2
  7. package/dist/src/component/etc.js.map +1 -1
  8. package/dist/src/modeller/component-toolbar/component-detail.d.ts +1 -1
  9. package/dist/src/modeller/component-toolbar/component-menu.d.ts +1 -1
  10. package/dist/src/modeller/component-toolbar/component-menu.js +9 -4
  11. package/dist/src/modeller/component-toolbar/component-menu.js.map +1 -1
  12. package/dist/src/modeller/component-toolbar/component-toolbar.d.ts +1 -1
  13. package/dist/src/modeller/edit-toolbar.d.ts +1 -1
  14. package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.d.ts +1 -1
  15. package/dist/src/modeller/property-sidebar/data-binding/data-binding-value-map.d.ts +1 -1
  16. package/dist/src/modeller/property-sidebar/data-binding/data-binding-value-range.d.ts +1 -1
  17. package/dist/src/modeller/property-sidebar/data-binding/data-binding.d.ts +2 -2
  18. package/dist/src/modeller/property-sidebar/data-binding/data-binding.js +19 -19
  19. package/dist/src/modeller/property-sidebar/data-binding/data-binding.js.map +1 -1
  20. package/dist/src/modeller/property-sidebar/effects/effects.d.ts +1 -1
  21. package/dist/src/modeller/property-sidebar/effects/property-animation.d.ts +1 -1
  22. package/dist/src/modeller/property-sidebar/effects/property-animations.d.ts +2 -2
  23. package/dist/src/modeller/property-sidebar/effects/property-animations.js +4 -4
  24. package/dist/src/modeller/property-sidebar/effects/property-animations.js.map +1 -1
  25. package/dist/src/modeller/property-sidebar/effects/property-event-hover.d.ts +1 -1
  26. package/dist/src/modeller/property-sidebar/effects/property-event-tap.d.ts +1 -1
  27. package/dist/src/modeller/property-sidebar/effects/property-event.d.ts +1 -1
  28. package/dist/src/modeller/property-sidebar/effects/property-shadow.d.ts +1 -1
  29. package/dist/src/modeller/property-sidebar/inspector/inspector.js +1 -1
  30. package/dist/src/modeller/property-sidebar/inspector/inspector.js.map +1 -1
  31. package/dist/src/modeller/property-sidebar/property-sidebar.d.ts +2 -2
  32. package/dist/src/modeller/property-sidebar/property-sidebar.js +8 -8
  33. package/dist/src/modeller/property-sidebar/property-sidebar.js.map +1 -1
  34. package/dist/src/modeller/property-sidebar/shapes/shapes.d.ts +2 -2
  35. package/dist/src/modeller/property-sidebar/shapes/shapes.js +15 -4
  36. package/dist/src/modeller/property-sidebar/shapes/shapes.js.map +1 -1
  37. package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.d.ts +1 -1
  38. package/dist/src/modeller/property-sidebar/specifics/specifics.d.ts +1 -1
  39. package/dist/src/modeller/property-sidebar/specifics/specifics.js +4 -1
  40. package/dist/src/modeller/property-sidebar/specifics/specifics.js.map +1 -1
  41. package/dist/src/modeller/property-sidebar/styles/styles.d.ts +1 -1
  42. package/dist/src/modeller/scene-viewer/ox-scene-handler.d.ts +1 -1
  43. package/dist/src/modeller/scene-viewer/ox-scene-layer.d.ts +1 -1
  44. package/dist/src/modeller/scene-viewer/ox-scene-viewer.d.ts +1 -1
  45. package/dist/src/ox-board-component-info.d.ts +2 -3
  46. package/dist/src/ox-board-component-info.js +5 -6
  47. package/dist/src/ox-board-component-info.js.map +1 -1
  48. package/dist/src/ox-board-list.js +14 -14
  49. package/dist/src/ox-board-list.js.map +1 -1
  50. package/dist/src/ox-board-modeller.d.ts +4 -3
  51. package/dist/src/ox-board-modeller.js +6 -3
  52. package/dist/src/ox-board-modeller.js.map +1 -1
  53. package/dist/src/ox-board-player-style.js +10 -10
  54. package/dist/src/ox-board-player-style.js.map +1 -1
  55. package/dist/src/ox-board-player.d.ts +2 -3
  56. package/dist/src/ox-board-player.js +17 -18
  57. package/dist/src/ox-board-player.js.map +1 -1
  58. package/dist/src/ox-board-template-list.d.ts +1 -1
  59. package/dist/src/ox-board-viewer.d.ts +3 -3
  60. package/dist/src/ox-board-viewer.js +16 -15
  61. package/dist/src/ox-board-viewer.js.map +1 -1
  62. package/dist/src/ox-editor-board-selector.d.ts +2 -2
  63. package/dist/src/ox-editor-board-selector.js +3 -3
  64. package/dist/src/ox-editor-board-selector.js.map +1 -1
  65. package/dist/src/selector/board-creation-popup.d.ts +1 -1
  66. package/dist/src/selector/board-thumbnail-card.d.ts +1 -1
  67. package/dist/src/selector/board-thumbnail-card.js +2 -2
  68. package/dist/src/selector/board-thumbnail-card.js.map +1 -1
  69. package/dist/src/selector/ox-board-creation-card.d.ts +2 -2
  70. package/dist/src/selector/ox-board-creation-card.js +7 -3
  71. package/dist/src/selector/ox-board-creation-card.js.map +1 -1
  72. package/dist/src/selector/ox-board-selector.d.ts +1 -1
  73. package/dist/tsconfig.tsbuildinfo +1 -1
  74. package/package.json +26 -27
  75. package/src/component/etc.ts +2 -2
  76. package/src/modeller/component-toolbar/component-menu.ts +9 -5
  77. package/src/modeller/property-sidebar/data-binding/data-binding.ts +19 -19
  78. package/src/modeller/property-sidebar/effects/property-animations.ts +4 -4
  79. package/src/modeller/property-sidebar/inspector/inspector.ts +1 -1
  80. package/src/modeller/property-sidebar/property-sidebar.ts +8 -8
  81. package/src/modeller/property-sidebar/shapes/shapes.ts +15 -4
  82. package/src/modeller/property-sidebar/specifics/specifics.ts +5 -1
  83. package/src/ox-board-component-info.ts +5 -6
  84. package/src/ox-board-list.ts +14 -17
  85. package/src/ox-board-modeller.ts +6 -3
  86. package/src/ox-board-player-style.ts +10 -10
  87. package/src/ox-board-player.ts +18 -20
  88. package/src/ox-board-viewer.ts +16 -15
  89. package/src/ox-editor-board-selector.ts +3 -3
  90. package/src/selector/board-thumbnail-card.ts +2 -2
  91. package/src/selector/ox-board-creation-card.ts +7 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,434 @@
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
+ ## [2.0.0-alpha.71](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.70...v2.0.0-alpha.71) (2024-04-13)
7
+
8
+ **Note:** Version bump only for package @operato/board
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.0-alpha.70](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.69...v2.0.0-alpha.70) (2024-04-13)
15
+
16
+ **Note:** Version bump only for package @operato/board
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.0-alpha.69](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.68...v2.0.0-alpha.69) (2024-04-13)
23
+
24
+
25
+ ### :bug: Bug Fix
26
+
27
+ * mwc=>md for context ([972f5fd](https://github.com/hatiolab/operato/commit/972f5fd8da02820b6d6238cf1dd099591f97d8df))
28
+
29
+
30
+
31
+ ## [2.0.0-alpha.68](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.67...v2.0.0-alpha.68) (2024-04-13)
32
+
33
+
34
+ ### :bug: Bug Fix
35
+
36
+ * mwc=>md for context ([2bc13f2](https://github.com/hatiolab/operato/commit/2bc13f285f257782f73e5d7b5d1ddd197df85393))
37
+
38
+
39
+
40
+ ## [2.0.0-alpha.64](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.63...v2.0.0-alpha.64) (2024-04-13)
41
+
42
+ **Note:** Version bump only for package @operato/board
43
+
44
+
45
+
46
+
47
+
48
+ ## [2.0.0-alpha.63](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.62...v2.0.0-alpha.63) (2024-04-12)
49
+
50
+ **Note:** Version bump only for package @operato/board
51
+
52
+
53
+
54
+
55
+
56
+ ## [2.0.0-alpha.62](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.61...v2.0.0-alpha.62) (2024-04-12)
57
+
58
+ **Note:** Version bump only for package @operato/board
59
+
60
+
61
+
62
+
63
+
64
+ ## [2.0.0-alpha.61](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.60...v2.0.0-alpha.61) (2024-04-11)
65
+
66
+ **Note:** Version bump only for package @operato/board
67
+
68
+
69
+
70
+
71
+
72
+ ## [2.0.0-alpha.60](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.59...v2.0.0-alpha.60) (2024-04-11)
73
+
74
+ **Note:** Version bump only for package @operato/board
75
+
76
+
77
+
78
+
79
+
80
+ ## [2.0.0-alpha.59](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.58...v2.0.0-alpha.59) (2024-04-11)
81
+
82
+ **Note:** Version bump only for package @operato/board
83
+
84
+
85
+
86
+
87
+
88
+ ## [2.0.0-alpha.58](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.57...v2.0.0-alpha.58) (2024-04-07)
89
+
90
+ **Note:** Version bump only for package @operato/board
91
+
92
+
93
+
94
+
95
+
96
+ ## [2.0.0-alpha.57](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.56...v2.0.0-alpha.57) (2024-04-07)
97
+
98
+ **Note:** Version bump only for package @operato/board
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+ **Note:** Version bump only for package @operato/board
107
+
108
+
109
+
110
+
111
+
112
+ ## [2.0.0-alpha.54](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.53...v2.0.0-alpha.54) (2024-04-01)
113
+
114
+ **Note:** Version bump only for package @operato/board
115
+
116
+
117
+
118
+
119
+
120
+ ## [2.0.0-alpha.52](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.51...v2.0.0-alpha.52) (2024-03-29)
121
+
122
+ **Note:** Version bump only for package @operato/board
123
+
124
+
125
+
126
+
127
+
128
+ ## [2.0.0-alpha.51](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.50...v2.0.0-alpha.51) (2024-03-29)
129
+
130
+
131
+ ### :bug: Bug Fix
132
+
133
+ * upgrade lit ([e661c33](https://github.com/hatiolab/operato/commit/e661c333d2bb97f784b5ac2c0e365714ee5e80ff))
134
+
135
+
136
+
137
+ ## [2.0.0-alpha.50](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.49...v2.0.0-alpha.50) (2024-03-28)
138
+
139
+ **Note:** Version bump only for package @operato/board
140
+
141
+
142
+
143
+
144
+
145
+ ## [2.0.0-alpha.49](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.48...v2.0.0-alpha.49) (2024-03-28)
146
+
147
+ **Note:** Version bump only for package @operato/board
148
+
149
+
150
+
151
+
152
+
153
+ ## [2.0.0-alpha.48](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.47...v2.0.0-alpha.48) (2024-03-28)
154
+
155
+ **Note:** Version bump only for package @operato/board
156
+
157
+
158
+
159
+
160
+
161
+ ## [2.0.0-alpha.47](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.46...v2.0.0-alpha.47) (2024-03-27)
162
+
163
+ **Note:** Version bump only for package @operato/board
164
+
165
+
166
+
167
+
168
+
169
+ ## [2.0.0-alpha.46](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.45...v2.0.0-alpha.46) (2024-03-26)
170
+
171
+ **Note:** Version bump only for package @operato/board
172
+
173
+
174
+
175
+
176
+
177
+ ## [2.0.0-alpha.45](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.44...v2.0.0-alpha.45) (2024-03-26)
178
+
179
+
180
+ ### :bug: Bug Fix
181
+
182
+ * board modeller style ([53445fc](https://github.com/hatiolab/operato/commit/53445fca78ba87f81549da395b25911f0341e323))
183
+
184
+
185
+
186
+ ## [2.0.0-alpha.44](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.43...v2.0.0-alpha.44) (2024-03-24)
187
+
188
+ **Note:** Version bump only for package @operato/board
189
+
190
+
191
+
192
+
193
+
194
+ ## [2.0.0-alpha.43](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.42...v2.0.0-alpha.43) (2024-03-24)
195
+
196
+ **Note:** Version bump only for package @operato/board
197
+
198
+
199
+
200
+
201
+
202
+ ## [2.0.0-alpha.42](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.41...v2.0.0-alpha.42) (2024-03-21)
203
+
204
+
205
+ ### :bug: Bug Fix
206
+
207
+ * board template type ([cb26db6](https://github.com/hatiolab/operato/commit/cb26db61c6a93583c8fe33196491045df4ce795b))
208
+
209
+
210
+
211
+ ## [2.0.0-alpha.41](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.40...v2.0.0-alpha.41) (2024-03-20)
212
+
213
+
214
+ ### :bug: Bug Fix
215
+
216
+ * scene component label ([b8e56cf](https://github.com/hatiolab/operato/commit/b8e56cf2eb42f0767ed5d2a5f153b1fbbe7cabe5))
217
+
218
+
219
+
220
+ ## [2.0.0-alpha.40](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.39...v2.0.0-alpha.40) (2024-03-20)
221
+
222
+
223
+ ### :bug: Bug Fix
224
+
225
+ * scene component label ([f55c4a8](https://github.com/hatiolab/operato/commit/f55c4a8eb377974da0685c48afb668051bdcb04c))
226
+
227
+
228
+
229
+ ## [2.0.0-alpha.39](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.38...v2.0.0-alpha.39) (2024-03-20)
230
+
231
+
232
+ ### :bug: Bug Fix
233
+
234
+ * scene component label ([b5058fa](https://github.com/hatiolab/operato/commit/b5058fa526a791d2be8f982f1c1d8208440c0f38))
235
+
236
+
237
+
238
+ ## [2.0.0-alpha.37](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.36...v2.0.0-alpha.37) (2024-03-18)
239
+
240
+ **Note:** Version bump only for package @operato/board
241
+
242
+
243
+
244
+
245
+
246
+ ## [2.0.0-alpha.35](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.34...v2.0.0-alpha.35) (2024-03-13)
247
+
248
+ **Note:** Version bump only for package @operato/board
249
+
250
+
251
+
252
+
253
+
254
+ ## [2.0.0-alpha.34](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.33...v2.0.0-alpha.34) (2024-03-12)
255
+
256
+ **Note:** Version bump only for package @operato/board
257
+
258
+
259
+
260
+
261
+
262
+ ## [2.0.0-alpha.32](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.31...v2.0.0-alpha.32) (2024-03-12)
263
+
264
+ **Note:** Version bump only for package @operato/board
265
+
266
+
267
+
268
+
269
+
270
+ ## [2.0.0-alpha.31](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.30...v2.0.0-alpha.31) (2024-03-03)
271
+
272
+ **Note:** Version bump only for package @operato/board
273
+
274
+
275
+
276
+
277
+
278
+ ## [2.0.0-alpha.30](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.29...v2.0.0-alpha.30) (2024-03-03)
279
+
280
+ **Note:** Version bump only for package @operato/board
281
+
282
+
283
+
284
+
285
+
286
+ ## [2.0.0-alpha.29](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.28...v2.0.0-alpha.29) (2024-02-22)
287
+
288
+
289
+ ### :rocket: New Features
290
+
291
+ * 말줄임 텍스트 UI 수정 ([29fce15](https://github.com/hatiolab/operato/commit/29fce1511cf13c3bb19ff28c3d334846da0a7dbb))
292
+ * 보드 프로퍼티 UI에 textOverflow 추가 ([b9639a7](https://github.com/hatiolab/operato/commit/b9639a7f34cec066e37660f28068f9a6d125277b))
293
+
294
+
295
+
296
+ ## [2.0.0-alpha.28](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.27...v2.0.0-alpha.28) (2024-02-20)
297
+
298
+
299
+ ### :bug: Bug Fix
300
+
301
+ * upgrade devDependencies for webcomponents ([1489b8b](https://github.com/hatiolab/operato/commit/1489b8b790d9bcee779a070a630697f25c01728f))
302
+
303
+
304
+
305
+ ## [2.0.0-alpha.27](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.26...v2.0.0-alpha.27) (2024-02-17)
306
+
307
+ **Note:** Version bump only for package @operato/board
308
+
309
+
310
+
311
+
312
+
313
+ ## [2.0.0-alpha.25](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.24...v2.0.0-alpha.25) (2024-02-12)
314
+
315
+ **Note:** Version bump only for package @operato/board
316
+
317
+
318
+
319
+
320
+
321
+ ## [2.0.0-alpha.24](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.23...v2.0.0-alpha.24) (2024-02-11)
322
+
323
+ **Note:** Version bump only for package @operato/board
324
+
325
+
326
+
327
+
328
+
329
+ ## [2.0.0-alpha.23](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.22...v2.0.0-alpha.23) (2024-02-10)
330
+
331
+ **Note:** Version bump only for package @operato/board
332
+
333
+
334
+
335
+
336
+
337
+ ## [2.0.0-alpha.22](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.21...v2.0.0-alpha.22) (2024-02-10)
338
+
339
+ **Note:** Version bump only for package @operato/board
340
+
341
+
342
+
343
+
344
+
345
+ ## [2.0.0-alpha.21](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.20...v2.0.0-alpha.21) (2024-02-09)
346
+
347
+ **Note:** Version bump only for package @operato/board
348
+
349
+
350
+
351
+
352
+
353
+ ## [2.0.0-alpha.20](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.19...v2.0.0-alpha.20) (2024-02-05)
354
+
355
+ **Note:** Version bump only for package @operato/board
356
+
357
+
358
+
359
+
360
+
361
+ ## [2.0.0-alpha.19](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.18...v2.0.0-alpha.19) (2024-02-05)
362
+
363
+ **Note:** Version bump only for package @operato/board
364
+
365
+
366
+
367
+
368
+
369
+ ## [2.0.0-alpha.17](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2024-02-04)
370
+
371
+ **Note:** Version bump only for package @operato/board
372
+
373
+
374
+
375
+
376
+
377
+ ## [2.0.0-alpha.16](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.15...v2.0.0-alpha.16) (2024-02-03)
378
+
379
+ **Note:** Version bump only for package @operato/board
380
+
381
+
382
+
383
+
384
+
385
+ ## [2.0.0-alpha.13](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2024-01-28)
386
+
387
+ **Note:** Version bump only for package @operato/board
388
+
389
+
390
+
391
+
392
+
393
+ ## [2.0.0-alpha.12](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2024-01-24)
394
+
395
+ **Note:** Version bump only for package @operato/board
396
+
397
+
398
+
399
+
400
+
401
+ ## [2.0.0-alpha.11](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.10...v2.0.0-alpha.11) (2024-01-24)
402
+
403
+ **Note:** Version bump only for package @operato/board
404
+
405
+
406
+
407
+
408
+
409
+ ## [2.0.0-alpha.10](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.9...v2.0.0-alpha.10) (2024-01-22)
410
+
411
+ **Note:** Version bump only for package @operato/board
412
+
413
+
414
+
415
+
416
+
417
+ ## [2.0.0-alpha.9](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.8...v2.0.0-alpha.9) (2024-01-20)
418
+
419
+ **Note:** Version bump only for package @operato/board
420
+
421
+
422
+
423
+
424
+
425
+ ## [2.0.0-alpha.8](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.7...v2.0.0-alpha.8) (2024-01-20)
426
+
427
+
428
+ ### :bug: Bug Fix
429
+
430
+ * default board size for process model ([20ef44d](https://github.com/hatiolab/operato/commit/20ef44dd1840179157cda949e49b13af518144cd))
431
+
432
+
433
+
6
434
  ## [2.0.0-alpha.7](https://github.com/hatiolab/operato/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2024-01-15)
7
435
 
8
436
  **Note:** Version bump only for package @operato/board
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en-GB">
3
3
  <head>
4
4
  <meta charset="utf-8" />
@@ -21,7 +21,18 @@
21
21
  }
22
22
  </style>
23
23
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
24
- <link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet" />
24
+ <link
25
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
26
+ rel="stylesheet"
27
+ />
28
+ <link
29
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
30
+ rel="stylesheet"
31
+ />
32
+ <link
33
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
34
+ rel="stylesheet"
35
+ />
25
36
  </head>
26
37
  <body>
27
38
  <div id="demo"></div>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en-GB">
3
3
  <head>
4
4
  <meta charset="utf-8" />
@@ -21,7 +21,18 @@
21
21
  }
22
22
  </style>
23
23
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
24
- <link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet" />
24
+ <link
25
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
26
+ rel="stylesheet"
27
+ />
28
+ <link
29
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
30
+ rel="stylesheet"
31
+ />
32
+ <link
33
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
34
+ rel="stylesheet"
35
+ />
25
36
  </head>
26
37
  <body>
27
38
  <div id="demo"></div>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en-GB">
3
3
  <head>
4
4
  <meta charset="utf-8" />
@@ -21,7 +21,18 @@
21
21
  }
22
22
  </style>
23
23
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
24
- <link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet" />
24
+ <link
25
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
26
+ rel="stylesheet"
27
+ />
28
+ <link
29
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
30
+ rel="stylesheet"
31
+ />
32
+ <link
33
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
34
+ rel="stylesheet"
35
+ />
25
36
  </head>
26
37
  <body>
27
38
  <div id="demo"></div>
package/demo/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html lang="en-GB">
3
3
  <head>
4
4
  <meta charset="utf-8" />
@@ -21,7 +21,18 @@
21
21
  }
22
22
  </style>
23
23
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
24
- <link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet" />
24
+ <link
25
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20..48,100..700,0..1"
26
+ rel="stylesheet"
27
+ />
28
+ <link
29
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL@20..48,100..700,0..1"
30
+ rel="stylesheet"
31
+ />
32
+ <link
33
+ href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL@20..48,100..700,0..1"
34
+ rel="stylesheet"
35
+ />
25
36
  </head>
26
37
  <body>
27
38
  <div id="demo"></div>
@@ -38,7 +38,7 @@ export const etc = {
38
38
  }
39
39
  },
40
40
  {
41
- type: 'local reference',
41
+ type: 'local-ref',
42
42
  description: 'local reference',
43
43
  icon: localReference,
44
44
  group: 'etc',
@@ -58,7 +58,7 @@ export const etc = {
58
58
  }
59
59
  },
60
60
  {
61
- type: 'global reference',
61
+ type: 'global-ref',
62
62
  description: 'global reference',
63
63
  icon: globalReference,
64
64
  group: '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AM,EAAE,GAAG;gBACX,SAAS,EAAE,MAAM;gBACjB,WAAW,EAAE,MAAM;gBACnB,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,KAAK;gBACb,SAAS,EAAE,CAAC;gBACZ,QAAQ,EAAE,OAAO;gBACjB,OAAO,EAAE,MAAM;aAChB;SACF;QACD;YACE,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,KAAK;YACZ,KAAK,EAAE;gBACL,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,GAAG;gBACT,GAAG,EAAE,GAAG;gBACR,KAAK,EAAE,GAAG;gBACV,MAAM,EAAE,GAAG;gBACX,SAAS,EAAE,MAAM;gBACjB,WAAW,EAAE,MAAM;gBACnB,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,KAAK;gBACb,SAAS,EAAE,CAAC;gBACZ,QAAQ,EAAE,OAAO;gBACjB,OAAO,EAAE,MAAM;aAChB;SACF;KACF;CACF,CAAA","sourcesContent":["import { ComponentGroup } from '../types'\n\nconst globalReference = new URL('../../../icons/components/global-reference.png', import.meta.url).href\nconst infoWindow = new URL('../../../icons/components/info-window.png', import.meta.url).href\nconst localReference = new URL('../../../icons/components/local-reference.png', import.meta.url).href\n\nconst icon = `\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 30 30\" style=\"enable-background:new 0 0 30 30;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <g>\n <circle class=\"st0\" cx=\"7.1\" cy=\"15\" r=\"2\"/>\n <circle class=\"st0\" cx=\"15\" cy=\"15\" r=\"2\"/>\n <circle class=\"st0\" cx=\"22.9\" cy=\"15\" r=\"2\"/>\n </g>\n</svg>\n`\n\nexport const etc: ComponentGroup = {\n name: 'etc',\n description: 'a group of components that have not yet been defined.',\n icon,\n templates: [\n {\n type: 'info-window',\n description: 'information window',\n icon: infoWindow,\n group: 'etc',\n model: {\n type: 'info-window',\n left: 10,\n top: 10,\n width: 50,\n height: 50,\n fillStyle: '#fff',\n strokeStyle: 'DarkGoldenRod',\n hidden: true,\n frontSideTemplate:\n \"<h2 id='xxx'>\\n\\t<%= text %>\\n</h2>\\n<img src='https://www.tutorialspoint.com/images/html.gif' alt='HTML Tutorial' height='150' width='140' />\",\n backSideTemplate:\n \"<h2 id='yyy'>\\n\\t<%= text %>\\n</h2>\\n<img src='https://www.tutorialspoint.com/images/html.gif' alt='HTML Tutorial' height='150' width='140' />\",\n style:\n '#yyy {\\n\\tbackground-color:navy;\\n\\tcolor:white\\n}\\n#xxx, #yyy {\\n\\twhite-space:nowrap;\\n\\tmin-width:200px;\\n}'\n }\n },\n {\n type: 'local reference',\n description: 'local reference',\n icon: localReference,\n group: 'etc',\n model: {\n type: 'local-ref',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 1,\n lineDash: 'solid',\n lineCap: 'butt'\n }\n },\n {\n type: 'global reference',\n description: 'global reference',\n icon: globalReference,\n group: 'etc',\n model: {\n type: 'global-ref',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 1,\n lineDash: 'solid',\n lineCap: 'butt'\n }\n }\n ]\n}\n"]}
1
+ {"version":3,"file":"etc.js","sourceRoot":"","sources":["../../../src/component/etc.ts"],"names":[],"mappings":"AAEA,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC,gDAAgD,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AACvG,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,2CAA2C,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CA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AE,KAAK;YACZ,KAAK,EAAE;gBACL,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,GAAG;gBACT,GAAG,EAAE,GAAG;gBACR,KAAK,EAAE,GAAG;gBACV,MAAM,EAAE,GAAG;gBACX,SAAS,EAAE,MAAM;gBACjB,WAAW,EAAE,MAAM;gBACnB,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,KAAK;gBACb,SAAS,EAAE,CAAC;gBACZ,QAAQ,EAAE,OAAO;gBACjB,OAAO,EAAE,MAAM;aAChB;SACF;KACF;CACF,CAAA","sourcesContent":["import { ComponentGroup } from '../types'\n\nconst globalReference = new URL('../../../icons/components/global-reference.png', import.meta.url).href\nconst infoWindow = new URL('../../../icons/components/info-window.png', import.meta.url).href\nconst localReference = new URL('../../../icons/components/local-reference.png', import.meta.url).href\n\nconst icon = `\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 30 30\" style=\"enable-background:new 0 0 30 30;\" xml:space=\"preserve\">\n <style type=\"text/css\">\n .st0{fill:{{strokeColor}};}\n </style>\n <g>\n <circle class=\"st0\" cx=\"7.1\" cy=\"15\" r=\"2\"/>\n <circle class=\"st0\" cx=\"15\" cy=\"15\" r=\"2\"/>\n <circle class=\"st0\" cx=\"22.9\" cy=\"15\" r=\"2\"/>\n </g>\n</svg>\n`\n\nexport const etc: ComponentGroup = {\n name: 'etc',\n description: 'a group of components that have not yet been defined.',\n icon,\n templates: [\n {\n type: 'info-window',\n description: 'information window',\n icon: infoWindow,\n group: 'etc',\n model: {\n type: 'info-window',\n left: 10,\n top: 10,\n width: 50,\n height: 50,\n fillStyle: '#fff',\n strokeStyle: 'DarkGoldenRod',\n hidden: true,\n frontSideTemplate:\n \"<h2 id='xxx'>\\n\\t<%= text %>\\n</h2>\\n<img src='https://www.tutorialspoint.com/images/html.gif' alt='HTML Tutorial' height='150' width='140' />\",\n backSideTemplate:\n \"<h2 id='yyy'>\\n\\t<%= text %>\\n</h2>\\n<img src='https://www.tutorialspoint.com/images/html.gif' alt='HTML Tutorial' height='150' width='140' />\",\n style:\n '#yyy {\\n\\tbackground-color:navy;\\n\\tcolor:white\\n}\\n#xxx, #yyy {\\n\\twhite-space:nowrap;\\n\\tmin-width:200px;\\n}'\n }\n },\n {\n type: 'local-ref',\n description: 'local reference',\n icon: localReference,\n group: 'etc',\n model: {\n type: 'local-ref',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 1,\n lineDash: 'solid',\n lineCap: 'butt'\n }\n },\n {\n type: 'global-ref',\n description: 'global reference',\n icon: globalReference,\n group: 'etc',\n model: {\n type: 'global-ref',\n left: 100,\n top: 100,\n width: 100,\n height: 100,\n fillStyle: '#fff',\n strokeStyle: '#000',\n alpha: 1,\n hidden: false,\n lineWidth: 1,\n lineDash: 'solid',\n lineCap: 'butt'\n }\n }\n ]\n}\n"]}
@@ -8,5 +8,5 @@ export declare class ComponentDetail extends LitElement {
8
8
  template: {
9
9
  about: string;
10
10
  } | null;
11
- render(): import("lit").TemplateResult<1>;
11
+ render(): import("lit-html").TemplateResult<1>;
12
12
  }
@@ -17,7 +17,7 @@ export declare class ComponentMenu extends ComponentMenu_base {
17
17
  static get scopedElements(): {
18
18
  'component-detail': typeof ComponentDetail;
19
19
  };
20
- render(): import("lit").TemplateResult<1>;
20
+ render(): import("lit-html").TemplateResult<1>;
21
21
  updated(changes: PropertyValues<this>): void;
22
22
  findTemplate(type: string | null | undefined): void;
23
23
  onHoverComponent(e: MouseEvent): void;
@@ -6,6 +6,7 @@ import { css, html, LitElement } from 'lit';
6
6
  import { property, query, state } from 'lit/decorators.js';
7
7
  import { ScopedElementsMixin } from '@open-wc/scoped-elements';
8
8
  import { ScrollbarStyles } from '@operato/styles';
9
+ import { i18next } from '@operato/i18n';
9
10
  import { ComponentDetail } from './component-detail';
10
11
  const noImage = new URL('../../../../icons/components/no-image.png', import.meta.url).href;
11
12
  export class ComponentMenu extends ScopedElementsMixin(LitElement) {
@@ -27,11 +28,14 @@ export class ComponentMenu extends ScopedElementsMixin(LitElement) {
27
28
  <h2 onclick=${(e) => e.stopPropagation()}>${this.group} list</h2>
28
29
 
29
30
  <div templates @mouseover=${(e) => this.onHoverComponent(e)}>
30
- ${(this.templates || []).map(template => html `
31
- <div @click=${this.onClickTemplate} data-type=${template.type} template>
32
- <img src=${this.templateIcon(template)} />${template.type}
31
+ ${(this.templates || []).map(template => {
32
+ const { type } = template;
33
+ return html `
34
+ <div @click=${this.onClickTemplate} data-type=${type} template>
35
+ <img src=${String(this.templateIcon(template))} />${i18next.t(`component.${type}`)}
33
36
  </div>
34
- `)}
37
+ `;
38
+ })}
35
39
  </div>
36
40
 
37
41
  <component-detail
@@ -143,6 +147,7 @@ ComponentMenu.styles = [
143
147
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
144
148
  font-size: 11px;
145
149
  color: var(--component-menu-item-color);
150
+ text-transform: capitalize;
146
151
  }
147
152
 
148
153
  [template]:hover,