@operato/board 9.0.0-beta.5 → 9.0.0-beta.51

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 (97) hide show
  1. package/CHANGELOG.md +325 -0
  2. package/dist/src/component/etc.js +17 -0
  3. package/dist/src/component/etc.js.map +1 -1
  4. package/dist/src/modeller/component-toolbar/component-menu.d.ts +1 -1
  5. package/dist/src/modeller/component-toolbar/component-toolbar.d.ts +1 -1
  6. package/dist/src/modeller/edit-toolbar.js +21 -19
  7. package/dist/src/modeller/edit-toolbar.js.map +1 -1
  8. package/dist/src/modeller/{property-sidebar/property-sidebar.d.ts → property-sidebar.d.ts} +18 -17
  9. package/dist/src/modeller/{property-sidebar/property-sidebar.js → property-sidebar.js} +46 -31
  10. package/dist/src/modeller/property-sidebar.js.map +1 -0
  11. package/dist/src/ox-board-component-info.js +1 -1
  12. package/dist/src/ox-board-component-info.js.map +1 -1
  13. package/dist/src/ox-board-modeller.d.ts +2 -2
  14. package/dist/src/ox-board-modeller.js +1 -13
  15. package/dist/src/ox-board-modeller.js.map +1 -1
  16. package/dist/src/ox-board-viewer.js +17 -5
  17. package/dist/src/ox-board-viewer.js.map +1 -1
  18. package/dist/src/player/ox-board-wrapper.js +2 -1
  19. package/dist/src/player/ox-board-wrapper.js.map +1 -1
  20. package/dist/tsconfig.tsbuildinfo +1 -1
  21. package/icons/components/pdf-page.png +0 -0
  22. package/package.json +15 -16
  23. package/dist/src/modeller/property-sidebar/abstract-property.d.ts +0 -10
  24. package/dist/src/modeller/property-sidebar/abstract-property.js +0 -55
  25. package/dist/src/modeller/property-sidebar/abstract-property.js.map +0 -1
  26. package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.d.ts +0 -58
  27. package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.js +0 -443
  28. package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.js.map +0 -1
  29. package/dist/src/modeller/property-sidebar/data-binding/data-binding-value-map.d.ts +0 -6
  30. package/dist/src/modeller/property-sidebar/data-binding/data-binding-value-map.js +0 -20
  31. package/dist/src/modeller/property-sidebar/data-binding/data-binding-value-map.js.map +0 -1
  32. package/dist/src/modeller/property-sidebar/data-binding/data-binding-value-range.d.ts +0 -6
  33. package/dist/src/modeller/property-sidebar/data-binding/data-binding-value-range.js +0 -20
  34. package/dist/src/modeller/property-sidebar/data-binding/data-binding-value-range.js.map +0 -1
  35. package/dist/src/modeller/property-sidebar/data-binding/data-binding.d.ts +0 -44
  36. package/dist/src/modeller/property-sidebar/data-binding/data-binding.js +0 -458
  37. package/dist/src/modeller/property-sidebar/data-binding/data-binding.js.map +0 -1
  38. package/dist/src/modeller/property-sidebar/effects/effects-shared-style.d.ts +0 -4
  39. package/dist/src/modeller/property-sidebar/effects/effects-shared-style.js +0 -61
  40. package/dist/src/modeller/property-sidebar/effects/effects-shared-style.js.map +0 -1
  41. package/dist/src/modeller/property-sidebar/effects/effects.d.ts +0 -24
  42. package/dist/src/modeller/property-sidebar/effects/effects.js +0 -64
  43. package/dist/src/modeller/property-sidebar/effects/effects.js.map +0 -1
  44. package/dist/src/modeller/property-sidebar/effects/property-animation.d.ts +0 -23
  45. package/dist/src/modeller/property-sidebar/effects/property-animation.js +0 -138
  46. package/dist/src/modeller/property-sidebar/effects/property-animation.js.map +0 -1
  47. package/dist/src/modeller/property-sidebar/effects/property-animations.d.ts +0 -22
  48. package/dist/src/modeller/property-sidebar/effects/property-animations.js +0 -89
  49. package/dist/src/modeller/property-sidebar/effects/property-animations.js.map +0 -1
  50. package/dist/src/modeller/property-sidebar/effects/property-event-hover.d.ts +0 -21
  51. package/dist/src/modeller/property-sidebar/effects/property-event-hover.js +0 -182
  52. package/dist/src/modeller/property-sidebar/effects/property-event-hover.js.map +0 -1
  53. package/dist/src/modeller/property-sidebar/effects/property-event-tap.d.ts +0 -36
  54. package/dist/src/modeller/property-sidebar/effects/property-event-tap.js +0 -244
  55. package/dist/src/modeller/property-sidebar/effects/property-event-tap.js.map +0 -1
  56. package/dist/src/modeller/property-sidebar/effects/property-event.d.ts +0 -22
  57. package/dist/src/modeller/property-sidebar/effects/property-event.js +0 -64
  58. package/dist/src/modeller/property-sidebar/effects/property-event.js.map +0 -1
  59. package/dist/src/modeller/property-sidebar/effects/property-shadow.d.ts +0 -23
  60. package/dist/src/modeller/property-sidebar/effects/property-shadow.js +0 -103
  61. package/dist/src/modeller/property-sidebar/effects/property-shadow.js.map +0 -1
  62. package/dist/src/modeller/property-sidebar/effects/value-converter.d.ts +0 -1
  63. package/dist/src/modeller/property-sidebar/effects/value-converter.js +0 -21
  64. package/dist/src/modeller/property-sidebar/effects/value-converter.js.map +0 -1
  65. package/dist/src/modeller/property-sidebar/inspector/inspector.d.ts +0 -27
  66. package/dist/src/modeller/property-sidebar/inspector/inspector.js +0 -355
  67. package/dist/src/modeller/property-sidebar/inspector/inspector.js.map +0 -1
  68. package/dist/src/modeller/property-sidebar/property-shared-style.d.ts +0 -4
  69. package/dist/src/modeller/property-sidebar/property-shared-style.js +0 -135
  70. package/dist/src/modeller/property-sidebar/property-shared-style.js.map +0 -1
  71. package/dist/src/modeller/property-sidebar/property-sidebar.js.map +0 -1
  72. package/dist/src/modeller/property-sidebar/shapes/box-padding-editor-styles.d.ts +0 -1
  73. package/dist/src/modeller/property-sidebar/shapes/box-padding-editor-styles.js +0 -94
  74. package/dist/src/modeller/property-sidebar/shapes/box-padding-editor-styles.js.map +0 -1
  75. package/dist/src/modeller/property-sidebar/shapes/shapes.d.ts +0 -26
  76. package/dist/src/modeller/property-sidebar/shapes/shapes.js +0 -430
  77. package/dist/src/modeller/property-sidebar/shapes/shapes.js.map +0 -1
  78. package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.d.ts +0 -16
  79. package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.js +0 -138
  80. package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.js.map +0 -1
  81. package/dist/src/modeller/property-sidebar/specifics/specifics.d.ts +0 -25
  82. package/dist/src/modeller/property-sidebar/specifics/specifics.js +0 -84
  83. package/dist/src/modeller/property-sidebar/specifics/specifics.js.map +0 -1
  84. package/dist/src/modeller/property-sidebar/styles/styles.d.ts +0 -21
  85. package/dist/src/modeller/property-sidebar/styles/styles.js +0 -559
  86. package/dist/src/modeller/property-sidebar/styles/styles.js.map +0 -1
  87. package/dist/stories/property-data-binding.stories.d.ts +0 -20
  88. package/dist/stories/property-data-binding.stories.js +0 -19
  89. package/dist/stories/property-data-binding.stories.js.map +0 -1
  90. package/icons/icon-properties-arrow-type.png +0 -0
  91. package/icons/icon-properties-gradient-direction.png +0 -0
  92. package/icons/icon-properties-label.png +0 -0
  93. package/icons/icon-properties-line-type.png +0 -0
  94. package/icons/icon-properties-padding.png +0 -0
  95. package/icons/icon-properties-ratio.png +0 -0
  96. package/icons/icon-properties-table.png +0 -0
  97. package/icons/icon-shell-inspector.png +0 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,331 @@
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
+ ## [9.0.0-beta.51](https://github.com/hatiolab/operato/compare/v9.0.0-beta.50...v9.0.0-beta.51) (2025-02-19)
7
+
8
+
9
+ ### :bug: Bug Fix
10
+
11
+ * history control for ox-board-viewer ([df4e841](https://github.com/hatiolab/operato/commit/df4e8419862b539e86897d8e505081f3fbd55303))
12
+
13
+
14
+
15
+ ## [9.0.0-beta.49](https://github.com/hatiolab/operato/compare/v9.0.0-beta.48...v9.0.0-beta.49) (2025-02-14)
16
+
17
+
18
+ ### :bug: Bug Fix
19
+
20
+ * missing dependencies ([6d466f2](https://github.com/hatiolab/operato/commit/6d466f22a2ad1413d32451252981961bc345cbd9))
21
+
22
+
23
+
24
+ ## [9.0.0-beta.48](https://github.com/hatiolab/operato/compare/v9.0.0-beta.47...v9.0.0-beta.48) (2025-02-14)
25
+
26
+ **Note:** Version bump only for package @operato/board
27
+
28
+
29
+
30
+
31
+
32
+ ## [9.0.0-beta.47](https://github.com/hatiolab/operato/compare/v9.0.0-beta.46...v9.0.0-beta.47) (2025-02-14)
33
+
34
+
35
+ ### :rocket: New Features
36
+
37
+ * pdf-page component for things-scene ([7ad9400](https://github.com/hatiolab/operato/commit/7ad940035ef3725d2554f72ad043e297ecf6c19f))
38
+
39
+
40
+
41
+ ## [9.0.0-beta.46](https://github.com/hatiolab/operato/compare/v9.0.0-beta.45...v9.0.0-beta.46) (2025-02-12)
42
+
43
+
44
+ ### :rocket: New Features
45
+
46
+ * pdf-page component for things-scene ([9032eee](https://github.com/hatiolab/operato/commit/9032eee8049f318f028f37b0293bf81060210a03))
47
+
48
+
49
+
50
+ ## [9.0.0-beta.45](https://github.com/hatiolab/operato/compare/v9.0.0-beta.44...v9.0.0-beta.45) (2025-02-12)
51
+
52
+
53
+ ### :rocket: New Features
54
+
55
+ * pdf-page component for things-scene ([233349b](https://github.com/hatiolab/operato/commit/233349b1e01db80b488900dab367ca639b9f99a9))
56
+
57
+
58
+
59
+ ## [9.0.0-beta.44](https://github.com/hatiolab/operato/compare/v9.0.0-beta.43...v9.0.0-beta.44) (2025-02-10)
60
+
61
+ **Note:** Version bump only for package @operato/board
62
+
63
+
64
+
65
+
66
+
67
+ ## [9.0.0-beta.43](https://github.com/hatiolab/operato/compare/v9.0.0-beta.42...v9.0.0-beta.43) (2025-02-10)
68
+
69
+ **Note:** Version bump only for package @operato/board
70
+
71
+
72
+
73
+
74
+
75
+ ## [9.0.0-beta.42](https://github.com/hatiolab/operato/compare/v9.0.0-beta.41...v9.0.0-beta.42) (2025-02-10)
76
+
77
+ **Note:** Version bump only for package @operato/board
78
+
79
+
80
+
81
+
82
+
83
+ ## [9.0.0-beta.41](https://github.com/hatiolab/operato/compare/v9.0.0-beta.40...v9.0.0-beta.41) (2025-02-09)
84
+
85
+ **Note:** Version bump only for package @operato/board
86
+
87
+
88
+
89
+
90
+
91
+ ## [9.0.0-beta.40](https://github.com/hatiolab/operato/compare/v9.0.0-beta.39...v9.0.0-beta.40) (2025-02-06)
92
+
93
+
94
+ ### :bug: Bug Fix
95
+
96
+ * animated-icon-handler => animator-handler ([8a9bf93](https://github.com/hatiolab/operato/commit/8a9bf939f4bf7e42084ab56a4ce5c4968f2939b3))
97
+
98
+
99
+
100
+ ## [9.0.0-beta.39](https://github.com/hatiolab/operato/compare/v9.0.0-beta.38...v9.0.0-beta.39) (2025-02-05)
101
+
102
+
103
+ ### :rocket: New Features
104
+
105
+ * support animated-icon feature for ox-board-view ([1e94592](https://github.com/hatiolab/operato/commit/1e94592c9c85999afbe23de8b1b8291cf63481fc))
106
+
107
+
108
+
109
+ ## [9.0.0-beta.38](https://github.com/hatiolab/operato/compare/v9.0.0-beta.37...v9.0.0-beta.38) (2025-02-02)
110
+
111
+ **Note:** Version bump only for package @operato/board
112
+
113
+
114
+
115
+
116
+
117
+ ## [9.0.0-beta.37](https://github.com/hatiolab/operato/compare/v9.0.0-beta.36...v9.0.0-beta.37) (2025-02-01)
118
+
119
+ **Note:** Version bump only for package @operato/board
120
+
121
+
122
+
123
+
124
+
125
+ ## [9.0.0-beta.36](https://github.com/hatiolab/operato/compare/v9.0.0-beta.35...v9.0.0-beta.36) (2025-02-01)
126
+
127
+ **Note:** Version bump only for package @operato/board
128
+
129
+
130
+
131
+
132
+
133
+ ## [9.0.0-beta.35](https://github.com/hatiolab/operato/compare/v9.0.0-beta.34...v9.0.0-beta.35) (2025-02-01)
134
+
135
+
136
+ ### :bug: Bug Fix
137
+
138
+ * change tap => click event (due to polymer library being removed) ([2f1add0](https://github.com/hatiolab/operato/commit/2f1add0ed89214b63acb127de34f65caf3bec9b5))
139
+
140
+
141
+
142
+ ## [9.0.0-beta.34](https://github.com/hatiolab/operato/compare/v9.0.0-beta.33...v9.0.0-beta.34) (2025-01-31)
143
+
144
+ **Note:** Version bump only for package @operato/board
145
+
146
+
147
+
148
+
149
+
150
+ ## [9.0.0-beta.33](https://github.com/hatiolab/operato/compare/v9.0.0-beta.32...v9.0.0-beta.33) (2025-01-31)
151
+
152
+ **Note:** Version bump only for package @operato/board
153
+
154
+
155
+
156
+
157
+
158
+ ## [9.0.0-beta.32](https://github.com/hatiolab/operato/compare/v9.0.0-beta.31...v9.0.0-beta.32) (2025-01-31)
159
+
160
+ **Note:** Version bump only for package @operato/board
161
+
162
+
163
+
164
+
165
+
166
+ ## [9.0.0-beta.31](https://github.com/hatiolab/operato/compare/v9.0.0-beta.30...v9.0.0-beta.31) (2025-01-31)
167
+
168
+ **Note:** Version bump only for package @operato/board
169
+
170
+
171
+
172
+
173
+
174
+ ## [9.0.0-beta.29](https://github.com/hatiolab/operato/compare/v9.0.0-beta.28...v9.0.0-beta.29) (2025-01-30)
175
+
176
+ **Note:** Version bump only for package @operato/board
177
+
178
+
179
+
180
+
181
+
182
+ ## [9.0.0-beta.28](https://github.com/hatiolab/operato/compare/v9.0.0-beta.27...v9.0.0-beta.28) (2025-01-28)
183
+
184
+ **Note:** Version bump only for package @operato/board
185
+
186
+
187
+
188
+
189
+
190
+ ## [9.0.0-beta.23](https://github.com/hatiolab/operato/compare/v9.0.0-beta.22...v9.0.0-beta.23) (2025-01-28)
191
+
192
+
193
+ ### :rocket: New Features
194
+
195
+ * module property-panel ([f0f6b98](https://github.com/hatiolab/operato/commit/f0f6b98331b3b7350afbd03136e2864e3d7c300a))
196
+
197
+
198
+
199
+ ## [9.0.0-beta.22](https://github.com/hatiolab/operato/compare/v9.0.0-beta.21...v9.0.0-beta.22) (2025-01-28)
200
+
201
+ **Note:** Version bump only for package @operato/board
202
+
203
+
204
+
205
+
206
+
207
+ ## [9.0.0-beta.21](https://github.com/hatiolab/operato/compare/v9.0.0-beta.20...v9.0.0-beta.21) (2025-01-28)
208
+
209
+ **Note:** Version bump only for package @operato/board
210
+
211
+
212
+
213
+
214
+
215
+ ## [9.0.0-beta.20](https://github.com/hatiolab/operato/compare/v9.0.0-beta.19...v9.0.0-beta.20) (2025-01-27)
216
+
217
+ **Note:** Version bump only for package @operato/board
218
+
219
+
220
+
221
+
222
+
223
+ ## [9.0.0-beta.19](https://github.com/hatiolab/operato/compare/v9.0.0-beta.18...v9.0.0-beta.19) (2025-01-27)
224
+
225
+
226
+ ### :rocket: New Features
227
+
228
+ * module property-panel ([6aa698d](https://github.com/hatiolab/operato/commit/6aa698dfe681606a640a909ddfd80a8dbc9f0f18))
229
+
230
+
231
+
232
+ ## [9.0.0-beta.18](https://github.com/hatiolab/operato/compare/v9.0.0-beta.17...v9.0.0-beta.18) (2025-01-27)
233
+
234
+
235
+ ### :rocket: New Features
236
+
237
+ * module property-panel ([8276cce](https://github.com/hatiolab/operato/commit/8276cce10d5c84058632d49ed24361db5c80aa6d))
238
+
239
+
240
+
241
+ ## [9.0.0-beta.16](https://github.com/hatiolab/operato/compare/v9.0.0-beta.15...v9.0.0-beta.16) (2025-01-27)
242
+
243
+
244
+ ### :rocket: New Features
245
+
246
+ * module property-panel ([eaa45f9](https://github.com/hatiolab/operato/commit/eaa45f98e3f4349732f2d0d9d346eef8093be3e8))
247
+
248
+
249
+
250
+ ## [9.0.0-beta.15](https://github.com/hatiolab/operato/compare/v9.0.0-beta.14...v9.0.0-beta.15) (2025-01-27)
251
+
252
+ **Note:** Version bump only for package @operato/board
253
+
254
+
255
+
256
+
257
+
258
+ ## [9.0.0-beta.14](https://github.com/hatiolab/operato/compare/v9.0.0-beta.13...v9.0.0-beta.14) (2025-01-27)
259
+
260
+
261
+ ### :rocket: New Features
262
+
263
+ * module property-panel ([d78e4cf](https://github.com/hatiolab/operato/commit/d78e4cf7080b95fa74e61b42094b9f3f59f1409b))
264
+
265
+
266
+
267
+ ## [9.0.0-beta.13](https://github.com/hatiolab/operato/compare/v9.0.0-beta.12...v9.0.0-beta.13) (2025-01-25)
268
+
269
+
270
+ ### :bug: Bug Fix
271
+
272
+ * resource for letter-spacing ([8be23be](https://github.com/hatiolab/operato/commit/8be23bec5b7099a971147c979cefadb0b75aefed))
273
+
274
+
275
+
276
+ ## [9.0.0-beta.12](https://github.com/hatiolab/operato/compare/v9.0.0-beta.11...v9.0.0-beta.12) (2025-01-25)
277
+
278
+
279
+ ### :bug: Bug Fix
280
+
281
+ * revert @open-wc/scoped-elements@3.0.5 => 2.1.3 ([393cf28](https://github.com/hatiolab/operato/commit/393cf2893381f0e720c53687e48b6552f3f78ed8))
282
+
283
+
284
+
285
+ ## [9.0.0-beta.11](https://github.com/hatiolab/operato/compare/v9.0.0-beta.10...v9.0.0-beta.11) (2025-01-25)
286
+
287
+
288
+ ### :bug: Bug Fix
289
+
290
+ * tsconfig option useDefineForClassFields=false ([0d77c0a](https://github.com/hatiolab/operato/commit/0d77c0aa620282c65b3c05f8e0b559e82836b6ab))
291
+
292
+
293
+
294
+ ## [9.0.0-beta.10](https://github.com/hatiolab/operato/compare/v9.0.0-beta.9...v9.0.0-beta.10) (2025-01-25)
295
+
296
+
297
+ ### :bug: Bug Fix
298
+
299
+ * @open-wc/scoped-elements@3.0.5 ([45f8a55](https://github.com/hatiolab/operato/commit/45f8a557e3f7b95771bf8886d7590fb459fb2746))
300
+ * @undecaf/zbar-wasm@0.11.0 ([722c68e](https://github.com/hatiolab/operato/commit/722c68e24275b28c84cf057d3038fb9c6a0e6e78))
301
+ * tweak tsconfig.json ([3c424b1](https://github.com/hatiolab/operato/commit/3c424b18d046f95d5619076d113d49a4b4dc9bbb))
302
+
303
+
304
+
305
+ ## [9.0.0-beta.9](https://github.com/hatiolab/operato/compare/v9.0.0-beta.8...v9.0.0-beta.9) (2025-01-25)
306
+
307
+
308
+ ### :bug: Bug Fix
309
+
310
+ * support letter-spacing property for text ([60e58f8](https://github.com/hatiolab/operato/commit/60e58f81ca9cd46b4f6dadcceadc9bc3d456b9d1))
311
+
312
+
313
+
314
+ ## [9.0.0-beta.7](https://github.com/hatiolab/operato/compare/v9.0.0-beta.6...v9.0.0-beta.7) (2025-01-20)
315
+
316
+ **Note:** Version bump only for package @operato/board
317
+
318
+
319
+
320
+
321
+
322
+ ## [9.0.0-beta.6](https://github.com/hatiolab/operato/compare/v9.0.0-beta.5...v9.0.0-beta.6) (2025-01-20)
323
+
324
+
325
+ ### :bug: Bug Fix
326
+
327
+ * esm module ([9642b97](https://github.com/hatiolab/operato/commit/9642b97650623d9ce71f6db0fd1995a2379205b5))
328
+
329
+
330
+
6
331
  ## [9.0.0-beta.5](https://github.com/hatiolab/operato/compare/v9.0.0-beta.4...v9.0.0-beta.5) (2025-01-20)
7
332
 
8
333
 
@@ -1,6 +1,7 @@
1
1
  const globalReference = new URL('../../../icons/components/global-reference.png', import.meta.url).href;
2
2
  const infoWindow = new URL('../../../icons/components/info-window.png', import.meta.url).href;
3
3
  const localReference = new URL('../../../icons/components/local-reference.png', import.meta.url).href;
4
+ const pdfPage = new URL('../../../icons/components/pdf-page.png', import.meta.url).href;
4
5
  const icon = `
5
6
  <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">
6
7
  <style type="text/css">
@@ -76,6 +77,22 @@ export const etc = {
76
77
  lineDash: 'solid',
77
78
  lineCap: 'butt'
78
79
  }
80
+ },
81
+ {
82
+ type: 'pdf-page',
83
+ description: 'pdf page viewer',
84
+ icon: pdfPage,
85
+ group: 'etc',
86
+ model: {
87
+ type: 'pdf-page',
88
+ left: 100,
89
+ top: 100,
90
+ width: 800,
91
+ height: 600,
92
+ strokeStyle: '#000',
93
+ lineDash: 'solid',
94
+ lineWidth: 1
95
+ }
79
96
  }
80
97
  ]
81
98
  };
@@ -1 +1 @@
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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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.js'\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"]}
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,CAAC,IAAI,CAAA;AAC7F,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,+CAA+C,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AACrG,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,wCAAwC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;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BACV,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;QACD;YACE,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,KAAK;YACZ,KAAK,EAAE;gBACL,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,GAAG;gBACT,GAAG,EAAE,GAAG;gBACR,KAAK,EAAE,GAAG;gBACV,MAAM,EAAE,GAAG;gBACX,WAAW,EAAE,MAAM;gBACnB,QAAQ,EAAE,OAAO;gBACjB,SAAS,EAAE,CAAC;aACb;SACF;KACF;CACF,CAAA","sourcesContent":["import { ComponentGroup } from '../types.js'\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\nconst pdfPage = new URL('../../../icons/components/pdf-page.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 type: 'pdf-page',\n description: 'pdf page viewer',\n icon: pdfPage,\n group: 'etc',\n model: {\n type: 'pdf-page',\n left: 100,\n top: 100,\n width: 800,\n height: 600,\n strokeStyle: '#000',\n lineDash: 'solid',\n lineWidth: 1\n }\n }\n ]\n}\n"]}
@@ -5,7 +5,7 @@ import { LitElement, PropertyValues } from 'lit';
5
5
  import { Scene } from '@hatiolab/things-scene';
6
6
  import { Pallet, PalletItem } from '../../types.js';
7
7
  import { ComponentDetail } from './component-detail.js';
8
- declare const ComponentMenu_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("@open-wc/scoped-elements/types/src/types.js").ScopedElementsHost>;
8
+ declare const ComponentMenu_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("@open-wc/scoped-elements/types.js").ScopedElementsHost>;
9
9
  export declare class ComponentMenu extends ComponentMenu_base {
10
10
  static styles: import("lit").CSSResult[];
11
11
  groups: Pallet[];
@@ -5,7 +5,7 @@ import { LitElement, PropertyValues } from 'lit';
5
5
  import { Scene, SCENE_MODE } from '@hatiolab/things-scene';
6
6
  import { ComponentGroup } from '../../types.js';
7
7
  import { ComponentMenu } from './component-menu.js';
8
- declare const ComponentToolbar_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("@open-wc/scoped-elements/types/src/types.js").ScopedElementsHost>;
8
+ declare const ComponentToolbar_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("@open-wc/scoped-elements/types.js").ScopedElementsHost>;
9
9
  export declare class ComponentToolbar extends ComponentToolbar_base {
10
10
  static styles: import("lit").CSSResult[];
11
11
  componentGroupList: ComponentGroup[];
@@ -24,31 +24,33 @@ export class EditToolbar extends LitElement {
24
24
  console.error('model paste failed', e);
25
25
  }
26
26
  });
27
- this.aligners.forEach(aligner => aligner.addEventListener('tap', this.onTapAlign.bind(this)));
28
- this.zorders.forEach(zorder => zorder.addEventListener('tap', this.onTapZorder.bind(this)));
29
- this.distributes.forEach(distribute => distribute.addEventListener('tap', this.onTapDistribute.bind(this)));
30
- this.undo.addEventListener('tap', this.onTapUndo.bind(this));
31
- this.redo.addEventListener('tap', this.onTapRedo.bind(this));
32
- this.fullscreen.addEventListener('tap', this.onTapFullscreen.bind(this));
33
- this.styleCopy.addEventListener('tap', this.onStartStylePasteMode.bind(this));
34
- this.databindCopy.addEventListener('tap', this.onStartDatabindPasteMode.bind(this));
35
- this.cut.addEventListener('tap', this.onTapCut.bind(this));
36
- this.copy.addEventListener('tap', this.onTapCopy.bind(this));
37
- this.paste.addEventListener('tap', this.onTapPaste.bind(this));
38
- this.delete.addEventListener('tap', this.onTapDelete.bind(this));
27
+ this.aligners.forEach(aligner => aligner.addEventListener('click', this.onTapAlign.bind(this)));
28
+ this.zorders.forEach(zorder => zorder.addEventListener('click', this.onTapZorder.bind(this)));
29
+ this.distributes.forEach(distribute => distribute.addEventListener('click', this.onTapDistribute.bind(this)));
30
+ this.undo.addEventListener('click', this.onTapUndo.bind(this));
31
+ this.redo.addEventListener('click', this.onTapRedo.bind(this));
32
+ this.fullscreen.addEventListener('click', this.onTapFullscreen.bind(this));
33
+ this.styleCopy.addEventListener('click', this.onStartStylePasteMode.bind(this));
34
+ this.databindCopy.addEventListener('click', this.onStartDatabindPasteMode.bind(this));
35
+ this.cut.addEventListener('click', this.onTapCut.bind(this));
36
+ this.copy.addEventListener('click', this.onTapCopy.bind(this));
37
+ this.paste.addEventListener('click', this.onTapPaste.bind(this));
38
+ this.delete.addEventListener('click', this.onTapDelete.bind(this));
39
39
  this.renderRoot
40
40
  .querySelector('#font-increase')
41
- .addEventListener('tap', this.onTapFontIncrease.bind(this));
41
+ .addEventListener('click', this.onTapFontIncrease.bind(this));
42
42
  this.renderRoot
43
43
  .querySelector('#font-decrease')
44
- .addEventListener('tap', this.onTapFontDecrease.bind(this));
45
- this.renderRoot.querySelector('#group').addEventListener('tap', this.onTapGroup.bind(this));
46
- this.renderRoot.querySelector('#ungroup').addEventListener('tap', this.onTapUngroup.bind(this));
44
+ .addEventListener('click', this.onTapFontDecrease.bind(this));
45
+ this.renderRoot.querySelector('#group').addEventListener('click', this.onTapGroup.bind(this));
46
+ this.renderRoot.querySelector('#ungroup').addEventListener('click', this.onTapUngroup.bind(this));
47
47
  this.renderRoot
48
48
  .querySelector('#toggle-property')
49
- .addEventListener('tap', this.onTapToggle.bind(this));
50
- this.renderRoot.querySelector('#fit-scene').addEventListener('tap', this.onTapFitScene.bind(this));
51
- this.renderRoot.querySelector('#preview').addEventListener('tap', this.onTapPreview.bind(this));
49
+ .addEventListener('click', this.onTapToggle.bind(this));
50
+ this.renderRoot
51
+ .querySelector('#fit-scene')
52
+ .addEventListener('click', this.onTapFitScene.bind(this));
53
+ this.renderRoot.querySelector('#preview').addEventListener('click', this.onTapPreview.bind(this));
52
54
  }
53
55
  updated(changes) {
54
56
  changes.has('scene') && this.onSceneChanged(this.scene, changes.get('scene'));