@operato/property-editor 1.0.0-alpha.9 → 1.0.0-beta.0

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 (30) hide show
  1. package/CHANGELOG.md +376 -0
  2. package/demo/index.html +75 -4
  3. package/dist/src/ox-properties-dynamic-view.js +11 -7
  4. package/dist/src/ox-properties-dynamic-view.js.map +1 -1
  5. package/dist/src/ox-property-editor-crontab.d.ts +5 -0
  6. package/dist/src/ox-property-editor-crontab.js +15 -0
  7. package/dist/src/ox-property-editor-crontab.js.map +1 -0
  8. package/dist/src/ox-property-editor-table.d.ts +5 -0
  9. package/dist/src/ox-property-editor-table.js +15 -0
  10. package/dist/src/ox-property-editor-table.js.map +1 -0
  11. package/dist/src/ox-property-editor-value-map.d.ts +5 -0
  12. package/dist/src/ox-property-editor-value-map.js +20 -0
  13. package/dist/src/ox-property-editor-value-map.js.map +1 -0
  14. package/dist/src/ox-property-editor-value-ranges.d.ts +5 -0
  15. package/dist/src/ox-property-editor-value-ranges.js +20 -0
  16. package/dist/src/ox-property-editor-value-ranges.js.map +1 -0
  17. package/dist/src/ox-property-editor-work-shift.d.ts +5 -0
  18. package/dist/src/ox-property-editor-work-shift.js +16 -0
  19. package/dist/src/ox-property-editor-work-shift.js.map +1 -0
  20. package/dist/src/ox-property-editor.js +3 -35
  21. package/dist/src/ox-property-editor.js.map +1 -1
  22. package/dist/tsconfig.tsbuildinfo +1 -1
  23. package/package.json +12 -8
  24. package/src/ox-properties-dynamic-view.ts +10 -7
  25. package/src/ox-property-editor-crontab.ts +13 -0
  26. package/src/ox-property-editor-table.ts +12 -0
  27. package/src/ox-property-editor-value-map.ts +18 -0
  28. package/src/ox-property-editor-value-ranges.ts +19 -0
  29. package/src/ox-property-editor-work-shift.ts +15 -0
  30. package/src/ox-property-editor.ts +3 -36
package/CHANGELOG.md CHANGED
@@ -3,6 +3,382 @@
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.0](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.53...v1.0.0-beta.0) (2022-04-10)
7
+
8
+
9
+ ### :bug: Bug Fix
10
+
11
+ * @hatiolab/things-scene 2.8.0 to support tag-subscription ([0e91c46](https://github.com/hatiolab/operato/commit/0e91c461007b9321e8cbaa7977a8b7eced394dbc))
12
+
13
+
14
+
15
+ ## [1.0.0-alpha.53](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.52...v1.0.0-alpha.53) (2022-04-08)
16
+
17
+ **Note:** Version bump only for package @operato/property-editor
18
+
19
+
20
+
21
+
22
+
23
+ ## [1.0.0-alpha.52](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.51...v1.0.0-alpha.52) (2022-04-08)
24
+
25
+ **Note:** Version bump only for package @operato/property-editor
26
+
27
+
28
+
29
+
30
+
31
+ ## [1.0.0-alpha.51](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.50...v1.0.0-alpha.51) (2022-04-05)
32
+
33
+ **Note:** Version bump only for package @operato/property-editor
34
+
35
+
36
+
37
+
38
+
39
+ ## [1.0.0-alpha.50](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.49...v1.0.0-alpha.50) (2022-04-04)
40
+
41
+ **Note:** Version bump only for package @operato/property-editor
42
+
43
+
44
+
45
+
46
+
47
+ ## [1.0.0-alpha.49](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.48...v1.0.0-alpha.49) (2022-04-04)
48
+
49
+
50
+ ### :bug: Bug Fix
51
+
52
+ * lit@2.2.1 ([6707752](https://github.com/hatiolab/operato/commit/6707752907d24f7ecbe248cba18a4b18cfda282f))
53
+
54
+
55
+ ### :rocket: New Features
56
+
57
+ * translation crontab for ox-grist-renderer-crontab ([c13d6ef](https://github.com/hatiolab/operato/commit/c13d6efab9ff02ceb4b4d244455a480070a80a3e))
58
+
59
+
60
+
61
+ ## [1.0.0-alpha.48](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.47...v1.0.0-alpha.48) (2022-04-03)
62
+
63
+ **Note:** Version bump only for package @operato/property-editor
64
+
65
+
66
+
67
+
68
+
69
+ ## [1.0.0-alpha.47](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.46...v1.0.0-alpha.47) (2022-04-02)
70
+
71
+ **Note:** Version bump only for package @operato/property-editor
72
+
73
+
74
+
75
+
76
+
77
+ ## [1.0.0-alpha.46](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.45...v1.0.0-alpha.46) (2022-04-02)
78
+
79
+
80
+ ### :rocket: New Features
81
+
82
+ * add ox-property-editor-work-shift ([c37ad88](https://github.com/hatiolab/operato/commit/c37ad8813fc372e89c5b3fb8effd86844c823120))
83
+
84
+
85
+
86
+ ## [1.0.0-alpha.45](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.44...v1.0.0-alpha.45) (2022-03-31)
87
+
88
+ **Note:** Version bump only for package @operato/property-editor
89
+
90
+
91
+
92
+
93
+
94
+ ## [1.0.0-alpha.44](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.43...v1.0.0-alpha.44) (2022-03-31)
95
+
96
+ **Note:** Version bump only for package @operato/property-editor
97
+
98
+
99
+
100
+
101
+
102
+ ## [1.0.0-alpha.43](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.42...v1.0.0-alpha.43) (2022-03-30)
103
+
104
+ **Note:** Version bump only for package @operato/property-editor
105
+
106
+
107
+
108
+
109
+
110
+ ## [1.0.0-alpha.42](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.41...v1.0.0-alpha.42) (2022-03-29)
111
+
112
+ **Note:** Version bump only for package @operato/property-editor
113
+
114
+
115
+
116
+
117
+
118
+ ## [1.0.0-alpha.41](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.40...v1.0.0-alpha.41) (2022-03-27)
119
+
120
+ **Note:** Version bump only for package @operato/property-editor
121
+
122
+
123
+
124
+
125
+
126
+ ## [1.0.0-alpha.40](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.39...v1.0.0-alpha.40) (2022-03-26)
127
+
128
+ **Note:** Version bump only for package @operato/property-editor
129
+
130
+
131
+
132
+
133
+
134
+ ## [1.0.0-alpha.39](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.38...v1.0.0-alpha.39) (2022-03-25)
135
+
136
+ **Note:** Version bump only for package @operato/property-editor
137
+
138
+
139
+
140
+
141
+
142
+ ## [1.0.0-alpha.38](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.37...v1.0.0-alpha.38) (2022-03-25)
143
+
144
+ **Note:** Version bump only for package @operato/property-editor
145
+
146
+
147
+
148
+
149
+
150
+ ## [1.0.0-alpha.37](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.36...v1.0.0-alpha.37) (2022-03-25)
151
+
152
+ **Note:** Version bump only for package @operato/property-editor
153
+
154
+
155
+
156
+
157
+
158
+ ## [1.0.0-alpha.36](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.35...v1.0.0-alpha.36) (2022-03-21)
159
+
160
+ **Note:** Version bump only for package @operato/property-editor
161
+
162
+
163
+
164
+
165
+
166
+ ## [1.0.0-alpha.35](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.34...v1.0.0-alpha.35) (2022-03-21)
167
+
168
+ **Note:** Version bump only for package @operato/property-editor
169
+
170
+
171
+
172
+
173
+
174
+ ## [1.0.0-alpha.34](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.33...v1.0.0-alpha.34) (2022-03-20)
175
+
176
+ **Note:** Version bump only for package @operato/property-editor
177
+
178
+
179
+
180
+
181
+
182
+ ## [1.0.0-alpha.33](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.32...v1.0.0-alpha.33) (2022-03-19)
183
+
184
+ **Note:** Version bump only for package @operato/property-editor
185
+
186
+
187
+
188
+
189
+
190
+ ## [1.0.0-alpha.32](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.31...v1.0.0-alpha.32) (2022-03-19)
191
+
192
+ **Note:** Version bump only for package @operato/property-editor
193
+
194
+
195
+
196
+
197
+
198
+ ## [1.0.0-alpha.31](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.30...v1.0.0-alpha.31) (2022-03-19)
199
+
200
+ **Note:** Version bump only for package @operato/property-editor
201
+
202
+
203
+
204
+
205
+
206
+ ## [1.0.0-alpha.30](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.29...v1.0.0-alpha.30) (2022-03-18)
207
+
208
+ **Note:** Version bump only for package @operato/property-editor
209
+
210
+
211
+
212
+
213
+
214
+ ## [1.0.0-alpha.29](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.28...v1.0.0-alpha.29) (2022-03-17)
215
+
216
+ **Note:** Version bump only for package @operato/property-editor
217
+
218
+
219
+
220
+
221
+
222
+ ## [1.0.0-alpha.28](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.26...v1.0.0-alpha.28) (2022-03-17)
223
+
224
+ **Note:** Version bump only for package @operato/property-editor
225
+
226
+
227
+
228
+
229
+
230
+ ## [1.0.0-alpha.27](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.26...v1.0.0-alpha.27) (2022-03-17)
231
+
232
+ **Note:** Version bump only for package @operato/property-editor
233
+
234
+
235
+
236
+
237
+
238
+ ## [1.0.0-alpha.26](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.25...v1.0.0-alpha.26) (2022-03-17)
239
+
240
+ **Note:** Version bump only for package @operato/property-editor
241
+
242
+
243
+
244
+
245
+
246
+ ## [1.0.0-alpha.25](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.24...v1.0.0-alpha.25) (2022-03-17)
247
+
248
+ **Note:** Version bump only for package @operato/property-editor
249
+
250
+
251
+
252
+
253
+
254
+ ## [1.0.0-alpha.24](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.23...v1.0.0-alpha.24) (2022-03-17)
255
+
256
+
257
+ ### :bug: Bug Fix
258
+
259
+ * ccp, dataset, property-editor style ([92b2448](https://github.com/hatiolab/operato/commit/92b2448756604ee0b885949dd193241f319cf147))
260
+ * refactoring grist-editor, property-editor and input ([ea7431a](https://github.com/hatiolab/operato/commit/ea7431a5e2dfd96ef392c1905e9622df7c2ef88c))
261
+
262
+
263
+
264
+ ## [1.0.0-alpha.23](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.22...v1.0.0-alpha.23) (2022-03-17)
265
+
266
+
267
+ ### :rocket: New Features
268
+
269
+ * added qc module ([263b679](https://github.com/hatiolab/operato/commit/263b6794b97a635df1a50d013adaef2e83635908))
270
+
271
+
272
+
273
+ ## [1.0.0-alpha.22](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.21...v1.0.0-alpha.22) (2022-03-17)
274
+
275
+ **Note:** Version bump only for package @operato/property-editor
276
+
277
+
278
+
279
+
280
+
281
+ ## [1.0.0-alpha.21](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.20...v1.0.0-alpha.21) (2022-03-16)
282
+
283
+
284
+ ### :rocket: New Features
285
+
286
+ * add ccp module ([cbea635](https://github.com/hatiolab/operato/commit/cbea635d5f638d49fc99d68cc1727ac3e06ddf22))
287
+
288
+
289
+
290
+ ## [1.0.0-alpha.20](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.19...v1.0.0-alpha.20) (2022-03-15)
291
+
292
+ **Note:** Version bump only for package @operato/property-editor
293
+
294
+
295
+
296
+
297
+
298
+ ## [1.0.0-alpha.19](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.18...v1.0.0-alpha.19) (2022-03-14)
299
+
300
+ **Note:** Version bump only for package @operato/property-editor
301
+
302
+
303
+
304
+
305
+
306
+ ## [1.0.0-alpha.18](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.17...v1.0.0-alpha.18) (2022-03-14)
307
+
308
+ **Note:** Version bump only for package @operato/property-editor
309
+
310
+
311
+
312
+
313
+
314
+ ## [1.0.0-alpha.17](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.16...v1.0.0-alpha.17) (2022-03-13)
315
+
316
+ **Note:** Version bump only for package @operato/property-editor
317
+
318
+
319
+
320
+
321
+
322
+ ## [1.0.0-alpha.16](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.15...v1.0.0-alpha.16) (2022-03-13)
323
+
324
+ **Note:** Version bump only for package @operato/property-editor
325
+
326
+
327
+
328
+
329
+
330
+ ## [1.0.0-alpha.15](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) (2022-03-13)
331
+
332
+
333
+ ### :rocket: New Features
334
+
335
+ * migrate input, property-editor from things-factory ([dbd5e73](https://github.com/hatiolab/operato/commit/dbd5e73eac328e72c4bb7abd113a819532bc894d))
336
+
337
+
338
+
339
+ ## [1.0.0-alpha.14](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) (2022-03-13)
340
+
341
+
342
+ ### :bug: Bug Fix
343
+
344
+ * typo ([24e77ac](https://github.com/hatiolab/operato/commit/24e77aca7938c895fdfe37f5235c6c781964d81a))
345
+
346
+
347
+
348
+ ## [1.0.0-alpha.13](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.12...v1.0.0-alpha.13) (2022-03-13)
349
+
350
+
351
+ ### :bug: Bug Fix
352
+
353
+ * typos ([71447fa](https://github.com/hatiolab/operato/commit/71447fa2dfb52c5e45909baac735c2e195856256))
354
+
355
+
356
+
357
+ ## [1.0.0-alpha.12](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.11...v1.0.0-alpha.12) (2022-03-13)
358
+
359
+
360
+ ### :rocket: New Features
361
+
362
+ * migrate input, property-editor from things-factory ([4800d85](https://github.com/hatiolab/operato/commit/4800d859473bf623325233a7f2af851e5d093dcb))
363
+
364
+
365
+
366
+ ## [1.0.0-alpha.11](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.10...v1.0.0-alpha.11) (2022-03-12)
367
+
368
+ **Note:** Version bump only for package @operato/property-editor
369
+
370
+
371
+
372
+
373
+
374
+ ## [1.0.0-alpha.10](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2022-03-12)
375
+
376
+ **Note:** Version bump only for package @operato/property-editor
377
+
378
+
379
+
380
+
381
+
6
382
  ## [1.0.0-alpha.9](https://github.com/hatiolab/operato/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2022-03-12)
7
383
 
8
384
 
package/demo/index.html CHANGED
@@ -7,7 +7,6 @@
7
7
  body {
8
8
  margin: 0;
9
9
  padding: 0;
10
- overflow: hidden;
11
10
 
12
11
  /* This is a font-stack that tries to use the system-default sans-serifs first */
13
12
  font-family: Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -15,9 +14,8 @@
15
14
  -webkit-font-smoothing: antialiased;
16
15
  }
17
16
 
18
- ox-property-editor {
17
+ ox-properties-dynamic-view {
19
18
  width: 100vw;
20
- height: 100vh;
21
19
  }
22
20
  </style>
23
21
 
@@ -46,11 +44,50 @@
46
44
  import '../dist/src/ox-property-editor-image.js'
47
45
  import '../dist/src/ox-property-editor-file.js'
48
46
  import '../dist/src/ox-property-editor-multiple-colors.js'
47
+ import '../dist/src/ox-property-editor-crontab.js'
48
+ import '../dist/src/ox-property-editor-work-shift.js'
49
49
  // import '../dist/src/ox-property-editor-textarea.js'
50
50
  // import '../dist/src/ox-property-editor-options.js'
51
51
 
52
52
  import '../dist/src/ox-properties-dynamic-view.js'
53
53
 
54
+ import { OxPropertyEditor } from '@operato/property-editor'
55
+
56
+ OxPropertyEditor.register({
57
+ legend: 'ox-property-editor-legend',
58
+ number: 'ox-property-editor-number',
59
+ slider: 'ox-property-editor-range',
60
+ password: 'ox-property-editor-password',
61
+ angle: 'ox-property-editor-angle',
62
+ string: 'ox-property-editor-string',
63
+ textarea: 'ox-property-editor-textarea',
64
+ javascript: 'ox-property-editor-textarea',
65
+ checkbox: 'ox-property-editor-checkbox',
66
+ boolean: 'ox-property-editor-checkbox',
67
+ select: 'ox-property-editor-select',
68
+ date: 'ox-property-editor-date',
69
+ options: 'ox-property-editor-options',
70
+ data: 'ox-property-editor-data',
71
+ file: 'ox-property-editor-file',
72
+ image: 'ox-property-editor-image',
73
+ 'range-input': 'ox-property-editor-range',
74
+ 'attachment-selector': 'ox-property-editor-attachment-selector',
75
+ 'gltf-selector': 'ox-property-editor-attachment-selector',
76
+ 'image-selector': 'ox-property-editor-image-selector',
77
+ color: 'ox-property-editor-color',
78
+ 'solid-color-stops': 'ox-property-editor-solid-colorstops',
79
+ 'gradient-color-stops': 'ox-property-editor-gradient-colorstops',
80
+ 'multiple-color': 'ox-property-editor-multiple-colors',
81
+ map: 'ox-property-editor-value-map',
82
+ range: 'ox-property-editor-value-ranges',
83
+ graphql: 'ox-property-editor-graphql',
84
+ 'editor-table': 'ox-property-editor-table',
85
+ 'id-input': 'ox-property-editor-scene-component-id',
86
+ 'font-selector': 'ox-property-editor-font-selector',
87
+ crontab: 'ox-property-editor-crontab',
88
+ shift: 'ox-property-editor-work-shift'
89
+ })
90
+
54
91
  const properties = [
55
92
  {
56
93
  type: 'string',
@@ -145,6 +182,16 @@
145
182
  property: {
146
183
  multiple: true
147
184
  }
185
+ },
186
+ {
187
+ type: 'crontab',
188
+ label: 'schedule',
189
+ name: 'schedule'
190
+ },
191
+ {
192
+ type: 'shift',
193
+ label: 'shift',
194
+ name: 'shift'
148
195
  }
149
196
  ]
150
197
 
@@ -152,7 +199,31 @@
152
199
  S: 290,
153
200
  SLT: 'bbb',
154
201
  IM: 'https://www.hatiolab.com/assets/img/arch-thingsboard.png',
155
- CLS: ['yello', 'green']
202
+ CLS: ['yello', 'green'],
203
+ schedule: '* * * * * *',
204
+ shift: [
205
+ {
206
+ name: 'DAY',
207
+ fromDate: -1,
208
+ fromTime: '22:00',
209
+ toDate: 0,
210
+ toTime: '06:00'
211
+ },
212
+ {
213
+ name: 'SWING',
214
+ fromDate: 0,
215
+ fromTime: '06:00',
216
+ toDate: 0,
217
+ toTime: '14:00'
218
+ },
219
+ {
220
+ name: 'NIGHT',
221
+ fromDate: 0,
222
+ fromTime: '14:00',
223
+ toDate: 0,
224
+ toTime: '22:00'
225
+ }
226
+ ]
156
227
  }
157
228
 
158
229
  render(
@@ -10,12 +10,12 @@ import { OxPropertyEditor } from './ox-property-editor.js';
10
10
 
11
11
  Example:
12
12
 
13
- <specific-properties-builder value="{{value}}">
13
+ <ox-properties-dynamic-view value="{{value}}">
14
14
  <label>Center X</label>
15
15
  <input type="number" .value="${value.cx}">
16
16
  <label>Width</label>
17
17
  <input type="number" .value="${value.width}">
18
- </specific-properties-builder>
18
+ </ox-properties-dynamic-view>
19
19
  */
20
20
  const DEFAULT_VALUE = {
21
21
  legend: '',
@@ -95,14 +95,18 @@ let OxPropertiesDynamicView = class OxPropertiesDynamicView extends LitElement {
95
95
  if (!name) {
96
96
  return;
97
97
  }
98
- this.value[name] = editor.value;
99
- this._setValues();
98
+ if (this.value) {
99
+ this.value[name] = editor.value;
100
+ }
101
+ else {
102
+ this.value = {
103
+ [name]: editor.value
104
+ };
105
+ }
100
106
  this.dispatchEvent(new CustomEvent('property-change', {
101
107
  bubbles: true,
102
108
  composed: true,
103
- detail: {
104
- [name]: editor.value
105
- }
109
+ detail: this.value
106
110
  }));
107
111
  }
108
112
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ox-properties-dynamic-view.js","sourceRoot":"","sources":["../../src/ox-properties-dynamic-view.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,EAAE,UAAU,EAAkB,IAAI,EAAE,MAAM,KAAK,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAG1D;;;;;;;;;;;EAWE;AAEF,MAAM,aAAa,GAAG;IACpB,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,EAA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AC;IAED,eAAe,CAAC,CAAQ;QACtB,CAAC,CAAC,eAAe,EAAE,CAAA;QACnB,IAAI,MAAM,GAAG,CAAC,CAAC,MAAiB,CAAA;QAEhC,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,mBAAmB,CAAqB,CAAA;QAEtE,IAAI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAA;QACtC,IAAI,CAAC,IAAI,EAAE;YACT,OAAM;SACP;QAED,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAA;QAC/B,IAAI,CAAC,UAAU,EAAE,CAAA;QAEjB,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,iBAAiB,EAAE;YACjC,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,IAAI;YACd,MAAM,EAAE;gBACN,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK;aACrB;SACF,CAAC,CACH,CAAA;IACH,CAAC;CACF,CAAA;AAnF6B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;sDAAoC;AACpC;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;sDAAuB;AAF7C,uBAAuB;IAD5B,aAAa,CAAC,4BAA4B,CAAC;GACtC,uBAAuB,CAoF5B","sourcesContent":["/**\n * @license Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport { LitElement, PropertyValues, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n/**\n모든 에디터들은 change 이벤트를 지원해야 한다. 또한, 모든 에디터들은 value속성에 값을 가져야 한다.\n\nExample:\n\n <specific-properties-builder value=\"{{value}}\">\n <label>Center X</label>\n <input type=\"number\" .value=\"${value.cx}\">\n <label>Width</label>\n <input type=\"number\" .value=\"${value.width}\">\n </specific-properties-builder>\n*/\n\nconst DEFAULT_VALUE = {\n legend: '',\n number: 0,\n angle: 0,\n string: '',\n password: '',\n textarea: '',\n checkbox: false,\n select: '',\n color: '#000000',\n 'solidcolor-stops': null,\n 'gradientcolor-stops': null,\n 'gltf-selector': '',\n 'image-selector': '',\n multiplecolor: null,\n editortable: null,\n imageselector: '',\n options: null,\n date: null\n}\n\n@customElement('ox-properties-dynamic-view')\nclass OxPropertiesDynamicView extends LitElement {\n @property({ type: Object }) value: { [name: string]: any } = {}\n @property({ type: Array }) props?: PropertySpec[]\n\n render() {\n return html`<slot></slot>`\n }\n\n firstUpdated() {\n this.addEventListener('change', this._onValueChanged.bind(this))\n }\n\n updated(changes: PropertyValues<this>) {\n changes.has('props') && this._onPropsChanged(this.props || [])\n changes.has('value') && this._setValues()\n }\n\n _onPropsChanged(props: PropertySpec[]) {\n const specs = this.props || []\n\n this.textContent = ''\n specs.forEach(spec => {\n let elementType = OxPropertyEditor.getEditor(spec.type)\n if (!elementType) {\n console.warn('Property Editor not defined', spec.type)\n return\n }\n let element = document.createElement(elementType) as OxPropertyEditor\n\n element.label = spec.label\n element.type = spec.type\n element.placeholder = spec.placeholder\n element.setAttribute('name', spec.name)\n\n if (spec.observe) {\n element.observe = spec.observe\n }\n element.property = spec.property\n element.setAttribute('property-editor', 'true')\n\n this.appendChild(element)\n })\n }\n\n _setValues() {\n this.value &&\n Array.from(this.querySelectorAll('[name]')).forEach(prop => {\n const editor = prop as OxPropertyEditor\n const name = editor.getAttribute('name')\n\n var value = this.value[name!]\n if (value === undefined) {\n value = (DEFAULT_VALUE as any)[editor.type]\n }\n\n editor.value = value\n editor.observe && editor.observe.call(prop, editor.value)\n })\n }\n\n _onValueChanged(e: Event) {\n e.stopPropagation()\n var target = e.target as Element\n\n const editor = target.closest('[property-editor]') as OxPropertyEditor\n\n var name = editor.getAttribute('name')\n if (!name) {\n return\n }\n\n this.value[name] = editor.value\n this._setValues()\n\n this.dispatchEvent(\n new CustomEvent('property-change', {\n bubbles: true,\n composed: true,\n detail: {\n [name]: editor.value\n }\n })\n )\n }\n}\n"]}
1
+ {"version":3,"file":"ox-properties-dynamic-view.js","sourceRoot":"","sources":["../../src/ox-properties-dynamic-view.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,EAAE,UAAU,EAAkB,IAAI,EAAE,MAAM,KAAK,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAG1D;;;;;;;;;;;EAWE;AAEF,MAAM,aAAa,GAAG;IACpB,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,EAAE;IACZ,QAAQ,EAAE,EAAE;IACZ,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,SAAS;IAChB,kBAAkB,EAAE,IAAI;IACxB,qBAAqB,EAAE,IAAI;IAC3B,eAAe,EAAE,EAAE;IACnB,gBAAgB,EAAE,EAAE;IACpB,aAAa,EAAE,IAAI;IACnB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,EAAE;IACjB,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,IAAI;CACX,CAAA;AAGD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,UAAU;IAAhD;;QAC8B,UAAK,GAA4B,EAAE,CAAA;IAsFjE,CAAC;IAnFC,MAAM;QACJ,OAAO,IAAI,CAAA,eAAe,CAAA;IAC5B,CAAC;IAED,YAAY;QACV,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IAClE,CAAC;IAED,OAAO,CAAC,OAA6B;QACnC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC,IAAI,CAA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AAE,MAAM,EAAE,CAAC;sDAAoC;AACpC;IAA1B,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;sDAAuB;AAF7C,uBAAuB;IAD5B,aAAa,CAAC,4BAA4B,CAAC;GACtC,uBAAuB,CAuF5B","sourcesContent":["/**\n * @license Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport { LitElement, PropertyValues, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n/**\n모든 에디터들은 change 이벤트를 지원해야 한다. 또한, 모든 에디터들은 value속성에 값을 가져야 한다.\n\nExample:\n\n <ox-properties-dynamic-view value=\"{{value}}\">\n <label>Center X</label>\n <input type=\"number\" .value=\"${value.cx}\">\n <label>Width</label>\n <input type=\"number\" .value=\"${value.width}\">\n </ox-properties-dynamic-view>\n*/\n\nconst DEFAULT_VALUE = {\n legend: '',\n number: 0,\n angle: 0,\n string: '',\n password: '',\n textarea: '',\n checkbox: false,\n select: '',\n color: '#000000',\n 'solidcolor-stops': null,\n 'gradientcolor-stops': null,\n 'gltf-selector': '',\n 'image-selector': '',\n multiplecolor: null,\n editortable: null,\n imageselector: '',\n options: null,\n date: null\n}\n\n@customElement('ox-properties-dynamic-view')\nclass OxPropertiesDynamicView extends LitElement {\n @property({ type: Object }) value: { [name: string]: any } = {}\n @property({ type: Array }) props?: PropertySpec[]\n\n render() {\n return html`<slot></slot>`\n }\n\n firstUpdated() {\n this.addEventListener('change', this._onValueChanged.bind(this))\n }\n\n updated(changes: PropertyValues<this>) {\n changes.has('props') && this._onPropsChanged(this.props || [])\n changes.has('value') && this._setValues()\n }\n\n _onPropsChanged(props: PropertySpec[]) {\n const specs = this.props || []\n\n this.textContent = ''\n specs.forEach(spec => {\n let elementType = OxPropertyEditor.getEditor(spec.type)\n if (!elementType) {\n console.warn('Property Editor not defined', spec.type)\n return\n }\n let element = document.createElement(elementType) as OxPropertyEditor\n\n element.label = spec.label\n element.type = spec.type\n element.placeholder = spec.placeholder\n element.setAttribute('name', spec.name)\n\n if (spec.observe) {\n element.observe = spec.observe\n }\n element.property = spec.property\n element.setAttribute('property-editor', 'true')\n\n this.appendChild(element)\n })\n }\n\n _setValues() {\n this.value &&\n Array.from(this.querySelectorAll('[name]')).forEach(prop => {\n const editor = prop as OxPropertyEditor\n const name = editor.getAttribute('name')\n\n var value = this.value[name!]\n if (value === undefined) {\n value = (DEFAULT_VALUE as any)[editor.type]\n }\n\n editor.value = value\n editor.observe && editor.observe.call(prop, editor.value)\n })\n }\n\n _onValueChanged(e: Event) {\n e.stopPropagation()\n var target = e.target as Element\n\n const editor = target.closest('[property-editor]') as OxPropertyEditor\n\n var name = editor.getAttribute('name')\n if (!name) {\n return\n }\n\n if (this.value) {\n this.value[name] = editor.value\n } else {\n this.value = {\n [name]: editor.value\n }\n }\n\n this.dispatchEvent(\n new CustomEvent('property-change', {\n bubbles: true,\n composed: true,\n detail: this.value\n })\n )\n }\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import '@operato/input/ox-input-crontab.js';
2
+ import { OxPropertyEditor } from './ox-property-editor.js';
3
+ export declare class OxPropertyEditorCrontab extends OxPropertyEditor {
4
+ editorTemplate(): import("lit-html").TemplateResult<1>;
5
+ }
@@ -0,0 +1,15 @@
1
+ import { __decorate } from "tslib";
2
+ import '@operato/input/ox-input-crontab.js';
3
+ import { html } from 'lit';
4
+ import { customElement } from 'lit/decorators.js';
5
+ import { OxPropertyEditor } from './ox-property-editor.js';
6
+ let OxPropertyEditorCrontab = class OxPropertyEditorCrontab extends OxPropertyEditor {
7
+ editorTemplate() {
8
+ return html ` <ox-input-crontab id="editor" .value=${this.value} fullwidth> </ox-input-crontab> `;
9
+ }
10
+ };
11
+ OxPropertyEditorCrontab = __decorate([
12
+ customElement('ox-property-editor-crontab')
13
+ ], OxPropertyEditorCrontab);
14
+ export { OxPropertyEditorCrontab };
15
+ //# sourceMappingURL=ox-property-editor-crontab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ox-property-editor-crontab.js","sourceRoot":"","sources":["../../src/ox-property-editor-crontab.ts"],"names":[],"mappings":";AAAA,OAAO,oCAAoC,CAAA;AAE3C,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAG1D,IAAa,uBAAuB,GAApC,MAAa,uBAAwB,SAAQ,gBAAgB;IAC3D,cAAc;QACZ,OAAO,IAAI,CAAA,yCAAyC,IAAI,CAAC,KAAK,kCAAkC,CAAA;IAClG,CAAC;CACF,CAAA;AAJY,uBAAuB;IADnC,aAAa,CAAC,4BAA4B,CAAC;GAC/B,uBAAuB,CAInC;SAJY,uBAAuB","sourcesContent":["import '@operato/input/ox-input-crontab.js'\n\nimport { html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\n\n@customElement('ox-property-editor-crontab')\nexport class OxPropertyEditorCrontab extends OxPropertyEditor {\n editorTemplate() {\n return html` <ox-input-crontab id=\"editor\" .value=${this.value} fullwidth> </ox-input-crontab> `\n }\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import '@operato/input/ox-input-table.js';
2
+ import { OxPropertyEditor } from './ox-property-editor.js';
3
+ export declare class OxPropertyEditorString extends OxPropertyEditor {
4
+ editorTemplate(): import("lit-html").TemplateResult<1>;
5
+ }
@@ -0,0 +1,15 @@
1
+ import { __decorate } from "tslib";
2
+ import '@operato/input/ox-input-table.js';
3
+ import { OxPropertyEditor } from './ox-property-editor.js';
4
+ import { customElement } from 'lit/decorators.js';
5
+ import { html } from 'lit';
6
+ let OxPropertyEditorString = class OxPropertyEditorString extends OxPropertyEditor {
7
+ editorTemplate() {
8
+ return html ` <ox-input-table id="editor" .property=${this.property} fullwidth></ox-input-table> `;
9
+ }
10
+ };
11
+ OxPropertyEditorString = __decorate([
12
+ customElement('ox-property-editor-table')
13
+ ], OxPropertyEditorString);
14
+ export { OxPropertyEditorString };
15
+ //# sourceMappingURL=ox-property-editor-table.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ox-property-editor-table.js","sourceRoot":"","sources":["../../src/ox-property-editor-table.ts"],"names":[],"mappings":";AAAA,OAAO,kCAAkC,CAAA;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,gBAAgB;IAC1D,cAAc;QACZ,OAAO,IAAI,CAAA,0CAA0C,IAAI,CAAC,QAAQ,+BAA+B,CAAA;IACnG,CAAC;CACF,CAAA;AAJY,sBAAsB;IADlC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,sBAAsB,CAIlC;SAJY,sBAAsB","sourcesContent":["import '@operato/input/ox-input-table.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-table')\nexport class OxPropertyEditorString extends OxPropertyEditor {\n editorTemplate() {\n return html` <ox-input-table id=\"editor\" .property=${this.property} fullwidth></ox-input-table> `\n }\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import '@operato/input/ox-input-value-map.js';
2
+ import { OxPropertyEditor } from './ox-property-editor.js';
3
+ export declare class OxPropertyEditorValueMap extends OxPropertyEditor {
4
+ editorTemplate(): import("lit-html").TemplateResult<1>;
5
+ }
@@ -0,0 +1,20 @@
1
+ import { __decorate } from "tslib";
2
+ import '@operato/input/ox-input-value-map.js';
3
+ import { OxPropertyEditor } from './ox-property-editor.js';
4
+ import { customElement } from 'lit/decorators.js';
5
+ import { html } from 'lit';
6
+ let OxPropertyEditorValueMap = class OxPropertyEditorValueMap extends OxPropertyEditor {
7
+ editorTemplate() {
8
+ const { value, property } = this;
9
+ const valuetype = (property === null || property === void 0 ? void 0 : property.valuetype) || 'string';
10
+ /* IMPLEMENT-ME valuetype 에 editor를 전달할 수 있는 기능 개발 */
11
+ return html `
12
+ <ox-input-value-map id="editor" .valuetype=${valuetype} .value=${value} fullwidth></ox-input-value-map>
13
+ `;
14
+ }
15
+ };
16
+ OxPropertyEditorValueMap = __decorate([
17
+ customElement('ox-property-editor-value-map')
18
+ ], OxPropertyEditorValueMap);
19
+ export { OxPropertyEditorValueMap };
20
+ //# sourceMappingURL=ox-property-editor-value-map.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ox-property-editor-value-map.js","sourceRoot":"","sources":["../../src/ox-property-editor-value-map.ts"],"names":[],"mappings":";AAAA,OAAO,sCAAsC,CAAA;AAE7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,gBAAgB;IAC5D,cAAc;QACZ,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;QAChC,MAAM,SAAS,GAAG,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,SAAS,KAAI,QAAQ,CAAA;QACjD,qDAAqD;QAErD,OAAO,IAAI,CAAA;mDACoC,SAAS,WAAW,KAAK;KACvE,CAAA;IACH,CAAC;CACF,CAAA;AAVY,wBAAwB;IADpC,aAAa,CAAC,8BAA8B,CAAC;GACjC,wBAAwB,CAUpC;SAVY,wBAAwB","sourcesContent":["import '@operato/input/ox-input-value-map.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-value-map')\nexport class OxPropertyEditorValueMap extends OxPropertyEditor {\n editorTemplate() {\n const { value, property } = this\n const valuetype = property?.valuetype || 'string'\n /* IMPLEMENT-ME valuetype 에 editor를 전달할 수 있는 기능 개발 */\n\n return html`\n <ox-input-value-map id=\"editor\" .valuetype=${valuetype} .value=${value} fullwidth></ox-input-value-map>\n `\n }\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import '@operato/input/ox-input-value-ranges.js';
2
+ import { OxPropertyEditor } from './ox-property-editor.js';
3
+ export declare class OxPropertyEditorValueRanges extends OxPropertyEditor {
4
+ editorTemplate(): import("lit-html").TemplateResult<1>;
5
+ }
@@ -0,0 +1,20 @@
1
+ import { __decorate } from "tslib";
2
+ import '@operato/input/ox-input-value-ranges.js';
3
+ import { html } from 'lit';
4
+ import { customElement } from 'lit/decorators.js';
5
+ import { OxPropertyEditor } from './ox-property-editor.js';
6
+ let OxPropertyEditorValueRanges = class OxPropertyEditorValueRanges extends OxPropertyEditor {
7
+ editorTemplate() {
8
+ const { value, property } = this;
9
+ const valuetype = (property === null || property === void 0 ? void 0 : property.valuetype) || 'string';
10
+ /* IMPLEMENT-ME valuetype 에 editor를 전달할 수 있는 기능 개발 */
11
+ return html `
12
+ <ox-input-value-ranges id="editor" .valuetype=${valuetype} .value=${value} fullwidth></ox-input-value-ranges>
13
+ `;
14
+ }
15
+ };
16
+ OxPropertyEditorValueRanges = __decorate([
17
+ customElement('ox-property-editor-value-ranges')
18
+ ], OxPropertyEditorValueRanges);
19
+ export { OxPropertyEditorValueRanges };
20
+ //# sourceMappingURL=ox-property-editor-value-ranges.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ox-property-editor-value-ranges.js","sourceRoot":"","sources":["../../src/ox-property-editor-value-ranges.ts"],"names":[],"mappings":";AAAA,OAAO,yCAAyC,CAAA;AAEhD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAG1D,IAAa,2BAA2B,GAAxC,MAAa,2BAA4B,SAAQ,gBAAgB;IAC/D,cAAc;QACZ,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;QAChC,MAAM,SAAS,GAAG,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,SAAS,KAAI,QAAQ,CAAA;QACjD,qDAAqD;QAErD,OAAO,IAAI,CAAA;sDACuC,SAAS,WAAW,KAAK;KAC1E,CAAA;IACH,CAAC;CACF,CAAA;AAVY,2BAA2B;IADvC,aAAa,CAAC,iCAAiC,CAAC;GACpC,2BAA2B,CAUvC;SAVY,2BAA2B","sourcesContent":["import '@operato/input/ox-input-value-ranges.js'\n\nimport { html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\n\n@customElement('ox-property-editor-value-ranges')\nexport class OxPropertyEditorValueRanges extends OxPropertyEditor {\n editorTemplate() {\n const { value, property } = this\n const valuetype = property?.valuetype || 'string'\n /* IMPLEMENT-ME valuetype 에 editor를 전달할 수 있는 기능 개발 */\n\n return html`\n <ox-input-value-ranges id=\"editor\" .valuetype=${valuetype} .value=${value} fullwidth></ox-input-value-ranges>\n `\n }\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import '@operato/input/ox-input-work-shift.js';
2
+ import { OxPropertyEditor } from './ox-property-editor.js';
3
+ export declare class OxPropertyEditorValueRanges extends OxPropertyEditor {
4
+ editorTemplate(): import("lit-html").TemplateResult<1>;
5
+ }
@@ -0,0 +1,16 @@
1
+ import { __decorate } from "tslib";
2
+ import '@operato/input/ox-input-work-shift.js';
3
+ import { html } from 'lit';
4
+ import { customElement } from 'lit/decorators.js';
5
+ import { OxPropertyEditor } from './ox-property-editor.js';
6
+ let OxPropertyEditorValueRanges = class OxPropertyEditorValueRanges extends OxPropertyEditor {
7
+ editorTemplate() {
8
+ const { value } = this;
9
+ return html ` <ox-input-work-shift id="editor" .value=${value} fullwidth></ox-input-work-shift> `;
10
+ }
11
+ };
12
+ OxPropertyEditorValueRanges = __decorate([
13
+ customElement('ox-property-editor-work-shift')
14
+ ], OxPropertyEditorValueRanges);
15
+ export { OxPropertyEditorValueRanges };
16
+ //# sourceMappingURL=ox-property-editor-work-shift.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ox-property-editor-work-shift.js","sourceRoot":"","sources":["../../src/ox-property-editor-work-shift.ts"],"names":[],"mappings":";AAAA,OAAO,uCAAuC,CAAA;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAG1D,IAAa,2BAA2B,GAAxC,MAAa,2BAA4B,SAAQ,gBAAgB;IAC/D,cAAc;QACZ,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAA;QAEtB,OAAO,IAAI,CAAA,4CAA4C,KAAK,oCAAoC,CAAA;IAClG,CAAC;CACF,CAAA;AANY,2BAA2B;IADvC,aAAa,CAAC,+BAA+B,CAAC;GAClC,2BAA2B,CAMvC;SANY,2BAA2B","sourcesContent":["import '@operato/input/ox-input-work-shift.js'\n\nimport { html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\n\n@customElement('ox-property-editor-work-shift')\nexport class OxPropertyEditorValueRanges extends OxPropertyEditor {\n editorTemplate() {\n const { value } = this\n\n return html` <ox-input-work-shift id=\"editor\" .value=${value} fullwidth></ox-input-work-shift> `\n }\n}\n"]}
@@ -1,6 +1,6 @@
1
1
  import { __decorate } from "tslib";
2
2
  import '@operato/i18n/ox-i18n.js';
3
- import { LitElement, css, html } from 'lit';
3
+ import { css, html, LitElement } from 'lit';
4
4
  import { property, state } from 'lit/decorators.js';
5
5
  import deepClone from 'lodash-es/cloneDeep';
6
6
  export class OxPropertyEditor extends LitElement {
@@ -66,38 +66,7 @@ export class OxPropertyEditor extends LitElement {
66
66
  this.observe.call(this, this.value);
67
67
  }
68
68
  }
69
- OxPropertyEditor.registry = {
70
- legend: 'ox-property-editor-legend',
71
- number: 'ox-property-editor-number',
72
- slider: 'ox-property-editor-range',
73
- password: 'ox-property-editor-password',
74
- angle: 'ox-property-editor-angle',
75
- string: 'ox-property-editor-string',
76
- textarea: 'ox-property-editor-textarea',
77
- javascript: 'ox-property-editor-textarea',
78
- checkbox: 'ox-property-editor-checkbox',
79
- boolean: 'ox-property-editor-checkbox',
80
- select: 'ox-property-editor-select',
81
- date: 'ox-property-editor-date',
82
- options: 'ox-property-editor-options',
83
- data: 'ox-property-editor-data',
84
- file: 'ox-property-editor-file',
85
- image: 'ox-property-editor-image',
86
- 'range-input': 'ox-property-editor-range',
87
- 'attachment-selector': 'ox-property-editor-attachment-selector',
88
- 'gltf-selector': 'ox-property-editor-attachment-selector',
89
- color: 'ox-property-editor-color',
90
- 'solid-color-stops': 'ox-property-editor-solid-colorstops',
91
- 'gradient-color-stops': 'ox-property-editor-gradient-colorstops',
92
- 'multiple-color': 'ox-property-editor-multiple-colors',
93
- 'id-input': 'ox-property-editor-scene-component-id'
94
- // graphql: 'ox-property-editor-graphql',
95
- // 'editor-table': 'ox-property-editor-table',
96
- // map: 'ox-property-editor-value-map',
97
- // range: 'ox-property-editor-value-range',
98
- // 'image-selector': 'ox-property-editor-image-selector',
99
- // 'font-selector': 'ox-property-editor-font-selector'
100
- };
69
+ OxPropertyEditor.registry = {};
101
70
  OxPropertyEditor.styles = [
102
71
  css `
103
72
  :host {
@@ -127,8 +96,7 @@ OxPropertyEditor.styles = [
127
96
 
128
97
  text-align: right;
129
98
 
130
- font-size: 0.8em;
131
- line-height: 2;
99
+ font: var(--label-font);
132
100
  text-transform: capitalize;
133
101
 
134
102
  align-self: center;
@@ -1 +1 @@
1
- {"version":3,"file":"ox-property-editor.js","sour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E,CAAC;iDAA+B;AAyBjD;IAAR,KAAK,EAAE;iDAAgB","sourcesContent":["import '@operato/i18n/ox-i18n.js'\n\nimport { LitElement, css, html } from 'lit'\nimport { property, state } from 'lit/decorators.js'\n\nimport deepClone from 'lodash-es/cloneDeep'\n\nexport class OxPropertyEditor extends LitElement {\n static registry: { [type: string]: string } = {\n legend: 'ox-property-editor-legend',\n number: 'ox-property-editor-number',\n slider: 'ox-property-editor-range',\n password: 'ox-property-editor-password',\n angle: 'ox-property-editor-angle',\n string: 'ox-property-editor-string',\n textarea: 'ox-property-editor-textarea',\n javascript: 'ox-property-editor-textarea',\n checkbox: 'ox-property-editor-checkbox',\n boolean: 'ox-property-editor-checkbox',\n select: 'ox-property-editor-select',\n date: 'ox-property-editor-date',\n options: 'ox-property-editor-options',\n data: 'ox-property-editor-data',\n file: 'ox-property-editor-file',\n image: 'ox-property-editor-image',\n 'range-input': 'ox-property-editor-range',\n 'attachment-selector': 'ox-property-editor-attachment-selector',\n 'gltf-selector': 'ox-property-editor-attachment-selector',\n color: 'ox-property-editor-color',\n 'solid-color-stops': 'ox-property-editor-solid-colorstops',\n 'gradient-color-stops': 'ox-property-editor-gradient-colorstops',\n 'multiple-color': 'ox-property-editor-multiple-colors',\n 'id-input': 'ox-property-editor-scene-component-id'\n // graphql: 'ox-property-editor-graphql',\n // 'editor-table': 'ox-property-editor-table',\n // map: 'ox-property-editor-value-map',\n // range: 'ox-property-editor-value-range',\n // 'image-selector': 'ox-property-editor-image-selector',\n // 'font-selector': 'ox-property-editor-font-selector'\n }\n\n public static register(types: { [type: string]: string }) {\n Object.keys(types).forEach(type => {\n OxPropertyEditor.registry[type] = types[type]\n })\n }\n\n public static getEditor(type: string): string {\n return OxPropertyEditor.registry[type]\n }\n\n static styles = [\n css`\n :host {\n margin: 5px;\n\n display: grid;\n grid-template-columns: repeat(10, 1fr);\n grid-gap: 5px;\n\n align-items: center;\n\n color: var(--property-sidebar-fieldset-legend-color);\n }\n\n :host > * {\n box-sizing: border-box;\n\n grid-column: span 7;\n order: 2;\n\n align-self: stretch;\n }\n\n :host > label {\n grid-column: span 3;\n order: 1;\n\n text-align: right;\n\n font-size: 0.8em;\n line-height: 2;\n text-transform: capitalize;\n\n align-self: center;\n }\n\n :host > input[type='checkbox'] ~ label,\n :host > ox-checkbox ~ label {\n grid-column: span 6;\n order: 2;\n\n text-align: left;\n }\n\n :host > select,\n :host > ox-select,\n :host > input[type='text'],\n :host > input[type='number'] {\n border: 1px solid rgba(0, 0, 0, 0.2);\n }\n\n :host > legend {\n grid-column: 1 / -1;\n\n display: inline-block;\n\n text-align: left;\n text-transform: capitalize;\n }\n\n :host > [fullwidth] {\n grid-column: 1 / -1;\n }\n\n :host > input[type='checkbox'],\n :host > ox-checkbox {\n grid-column: span 4;\n order: 1;\n\n justify-self: end;\n align-self: center;\n }\n `\n ]\n\n @property({ type: Object }) value: any\n @property({ type: String }) type!: string\n @property({ type: String }) label!: string\n @property({ type: String }) placeholder?: string\n @property({ type: Object }) property: any\n @property({ type: Object }) host: any\n @property({ type: Object }) observe?: (value: any) => void\n\n connectedCallback() {\n super.connectedCallback()\n\n this.renderRoot.addEventListener('change', this._valueChanged.bind(this))\n }\n\n editorTemplate(props: { [key: string]: any }) {\n return html``\n }\n\n render() {\n return html`\n ${this.editorTemplate(this)}\n ${this.label\n ? html`\n <label for=\"editor\">\n <ox-i18n msgid=${this._computeLabelId(this.label)}>${this.label}</ox-i18n>\n </label>\n `\n : html``}\n `\n }\n\n @state() __by_me = false\n\n shouldUpdate(changedProperties: any) {\n if (this.__by_me) {\n return false\n }\n\n if (changedProperties.has('value')) {\n this.__by_me = true\n this.value = deepClone(this.value)\n this.__by_me = false\n }\n\n return true\n }\n\n get valueProperty() {\n return 'value'\n }\n\n makeup(v: any) {\n return deepClone(v)\n }\n\n _computeLabelId(label: string) {\n if (label.indexOf('label.') >= 0) return label\n\n return 'label.' + label\n }\n\n _valueChanged(e: Event) {\n e.stopPropagation()\n\n this.value = this.makeup((e.target as any)[this.valueProperty])\n\n this.dispatchEvent(new CustomEvent('change', { bubbles: true, composed: true }))\n\n if (!this.observe) return\n this.observe.call(this, this.value)\n }\n}\n"]}
1
+ {"version":3,"file":"ox-property-editor.js","sourceRoot":"","sources":["../../src/ox-property-editor.ts"],"names":[],"mappings":";AAAA,OAAO,0BAA0B,CAAA;AAEjC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,SAAS,MAAM,qBAAqB,CAAA;AAE3C,MAAM,OAAO,gBAAiB,SAAQ,UAAU;IAAhD;;QAsHW,YAAO,GAAG,KAAK,CAAA;IAwC1B,CAAC;IA3JQ,MAAM,CAAC,QAAQ,CAAC,KAAiC;QACtD,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YAChC,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAA;QAC/C,CAAC,CAAC,CAAA;IACJ,CAAC;IAEM,MAAM,CAAC,SAAS,CAAC,IAAY;QAClC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;IACxC,CAAC;IAoFD,iBAAiB;QACf,KAAK,CAAC,iBAAiB,EAAE,CAAA;QAEzB,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IAC3E,CAAC;IAED,cAAc,CAAC,KAA6B;QAC1C,OAAO,IAAI,CAAA,EAAE,CAAA;IACf,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAA;QACP,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC;QACzB,IAAI,CAAC,KAAK;YACV,CAAC,CAAC,IAAI,CAAA;;+BAEiB,IAA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Q,GAA+B,EAAE,CAAA;AAYzC,uBAAM,GAAG;IACd,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsEF;CACF,CAAA;AAE2B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+CAAW;AACV;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8CAAc;AACb;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;+CAAe;AACd;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;qDAAqB;AACpB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;kDAAc;AACb;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8CAAU;AACT;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iDAA+B;AAyBjD;IAAR,KAAK,EAAE;iDAAgB","sourcesContent":["import '@operato/i18n/ox-i18n.js'\n\nimport { css, html, LitElement } from 'lit'\nimport { property, state } from 'lit/decorators.js'\nimport deepClone from 'lodash-es/cloneDeep'\n\nexport class OxPropertyEditor extends LitElement {\n static registry: { [type: string]: string } = {}\n\n public static register(types: { [type: string]: string }) {\n Object.keys(types).forEach(type => {\n OxPropertyEditor.registry[type] = types[type]\n })\n }\n\n public static getEditor(type: string): string {\n return OxPropertyEditor.registry[type]\n }\n\n static styles = [\n css`\n :host {\n margin: 5px;\n\n display: grid;\n grid-template-columns: repeat(10, 1fr);\n grid-gap: 5px;\n\n align-items: center;\n\n color: var(--property-sidebar-fieldset-legend-color);\n }\n\n :host > * {\n box-sizing: border-box;\n\n grid-column: span 7;\n order: 2;\n\n align-self: stretch;\n }\n\n :host > label {\n grid-column: span 3;\n order: 1;\n\n text-align: right;\n\n font: var(--label-font);\n text-transform: capitalize;\n\n align-self: center;\n }\n\n :host > input[type='checkbox'] ~ label,\n :host > ox-checkbox ~ label {\n grid-column: span 6;\n order: 2;\n\n text-align: left;\n }\n\n :host > select,\n :host > ox-select,\n :host > input[type='text'],\n :host > input[type='number'] {\n border: 1px solid rgba(0, 0, 0, 0.2);\n }\n\n :host > legend {\n grid-column: 1 / -1;\n\n display: inline-block;\n\n text-align: left;\n text-transform: capitalize;\n }\n\n :host > [fullwidth] {\n grid-column: 1 / -1;\n }\n\n :host > input[type='checkbox'],\n :host > ox-checkbox {\n grid-column: span 4;\n order: 1;\n\n justify-self: end;\n align-self: center;\n }\n `\n ]\n\n @property({ type: Object }) value: any\n @property({ type: String }) type!: string\n @property({ type: String }) label!: string\n @property({ type: String }) placeholder?: string\n @property({ type: Object }) property: any\n @property({ type: Object }) host: any\n @property({ type: Object }) observe?: (value: any) => void\n\n connectedCallback() {\n super.connectedCallback()\n\n this.renderRoot.addEventListener('change', this._valueChanged.bind(this))\n }\n\n editorTemplate(props: { [key: string]: any }) {\n return html``\n }\n\n render() {\n return html`\n ${this.editorTemplate(this)}\n ${this.label\n ? html`\n <label for=\"editor\">\n <ox-i18n msgid=${this._computeLabelId(this.label)}>${this.label}</ox-i18n>\n </label>\n `\n : html``}\n `\n }\n\n @state() __by_me = false\n\n shouldUpdate(changedProperties: any) {\n if (this.__by_me) {\n return false\n }\n\n if (changedProperties.has('value')) {\n this.__by_me = true\n this.value = deepClone(this.value)\n this.__by_me = false\n }\n\n return true\n }\n\n get valueProperty() {\n return 'value'\n }\n\n makeup(v: any) {\n return deepClone(v)\n }\n\n _computeLabelId(label: string) {\n if (label.indexOf('label.') >= 0) return label\n\n return 'label.' + label\n }\n\n _valueChanged(e: Event) {\n e.stopPropagation()\n\n this.value = this.makeup((e.target as any)[this.valueProperty])\n\n this.dispatchEvent(new CustomEvent('change', { bubbles: true, composed: true }))\n\n if (!this.observe) return\n this.observe.call(this, this.value)\n }\n}\n"]}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../@types/global/index.d.ts","../../../node_modules/tslib/tslib.d.ts","../src/types.ts","../../../node_modules/@lit/reactive-element/css-tag.d.ts","../../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/@types/trusted-types/index.d.ts","../../../node_modules/lit-html/directive.d.ts","../../../node_modules/lit-html/lit-html.d.ts","../../../node_modules/lit-element/lit-element.d.ts","../../../node_modules/lit/index.d.ts","../../../node_modules/@lit/reactive-element/decorators/base.d.ts","../../../node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../../node_modules/@lit/reactive-element/decorators/property.d.ts","../../../node_modules/@lit/reactive-element/decorators/state.d.ts","../../../node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../../node_modules/@lit/reactive-element/decorators/query.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../../node_modules/lit/decorators.d.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/lodash-es/clonedeep.d.ts","../src/ox-property-editor.ts","../src/index.ts","../src/ox-properties-dynamic-view.ts","../src/ox-property-editor-angle.ts","../src/ox-property-editor-checkbox.ts","../src/ox-property-editor-color.ts","../src/ox-property-editor-data.ts","../src/ox-property-editor-date.ts","../src/ox-property-editor-file.ts","../src/ox-property-editor-gradient-colorstops.ts","../src/ox-property-editor-image.ts","../src/ox-property-editor-legend.ts","../src/ox-property-editor-multiple-colors.ts","../src/ox-property-editor-number.ts","../src/ox-property-editor-options.ts","../src/ox-property-editor-password.ts","../src/ox-property-editor-range.ts","../src/ox-property-editor-scene-component-id.ts","../src/ox-property-editor-select.ts","../src/ox-property-editor-solid-colorstops.ts","../src/ox-property-editor-string.ts","../src/ox-property-editor-textarea.ts","../stories/index.stories.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"5075b36ab861c8c0c45377cb8c96270d7c65f0eeaf105d53fac6850da61f1027","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"b5c159239c33d1bcb3d7ca8d24cf9ba1b1579aab80e70fbb0029e374880f2470","12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75","eb6dccbf985dced705b6697877295dabc2482db383ee89d122cfa0afc5f2692c","6e2c5a9358c2be6791713f778c3af2d3357b8665d881e22f50b3aa861a2a9717","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a","13bb750b495c48fd60d7b5e09f65d4a7b010ab7e09a8943a6d54511e7d184f84","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"bb4248c7f953233ac52332088fac897d62b82be07244e551d87c5049600b6cf7","affectsGlobalScope":true},"70f04c91d3186b1b10157157887fab664968fc9b88377785a5ee42750c202c6d","f690af1a7043e58fce8c672df5e1d1e27bad7459b81143af991db7c5427a0785","eba7cf33380cc3a3cf614faf67300e14d0bdff9ea6c5cd6f4b040b1756a48ab1","f07a77a7fb1d49aa2b61cb68bf712a083487acd7130d20223a83de03af0c257d","97c58f6db61d45712d91d2260994817ae2b568bbb37cc280013079b6b5d2232d","ac388c7c7a262213a3700451bc921e382a93fb27c0252c34ccf03540b4ce044b","1da789e534bc558808021dd64abf33a91a68e422bbf28aeec236bd74df640401","fb0107c83e2e0e75b77dacd0c3c6c3ab6844e98dce2a8f858c6f0a57c12136a6","0a478dcb6e6bd8a5d871165659c79cee7b8c3b7a87289118d22e1a04d171e252","a25d1e52291791819032826af5c52987e16ffdb96e8bb69f7f1790f5ab080be6","d660961abada6b5030461f3322ef3a2e1d9fec74167574f8b590a7796cf90a72","707b4eae3d469b2f347d2083037151922f94c370a9456ebd5ac0a4fb7441c7e7","4bcb813ea56182beaaab1e8274524eb9f1449b0d8e79efc4a0399de09e43f816","c784eab1cf838d9d6527bce3d9f2d373145606666b68f7610291a7adf6e6bda9","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"7e7a817c8ec57035b2b74df8d5dbcc376a4a60ad870b27ec35463536158e1156",{"version":"bb019f94194bf2f536227ac8c06a314643ea5730cf339ff0db12d3adacae3d9f","signature":"661d3a80e2683e213ccc991ed2912648342b0fb1bc6b71e4e6957c403a4a26dd"},{"version":"df492e3eef69529602938c05f86513c9213d6ab231a2239437eee25eb26913c5","signature":"4b19ef22586a488de7412e25b5490ace2562e86cfdb3e1c9a22cad11ecb9fd5e"},{"version":"6cc029c0133e41ed3a5bbd8c0d8241a14f35bdce00ee5b5997b9529f63a485ab","signature":"0b98ae9c19957b68eb6c1ddada4c52b03b74c4729b51c6dc1e3300869fe66d2a"},{"version":"f11241fdc37a2369df7b2979f7a1a290921870e9b22e4a72ea81bf276e29e0d2","signature":"e34b389f735527aae35b9122bbe114030bd1600675286029d794153b6a4112aa"},{"version":"ffe531f555bcbe4ac75e2d656703558bdb867d9a5b61fe5f0006f39174dca364","signature":"b99e767a1872ee17be612d4e1eedb1a225f1de875612cf7d0f71e82681932114"},{"version":"196b61558ba2d23f9295f5ca47e41595bb3ca2a9b9b82b4c7033f2988c29371a","signature":"baa53499e8b71cfccd2d1d1f966475f90b2ab707d67f20e524590852adf16ac2"},{"version":"df94dcda157129874bdc1704e5d09e82cfe49785c99d26b5281e86caeb6041b1","signature":"0531fa1cd75bbecfe172e76c8e7e5b6c92a752b1ea3cea4129266941e91a9bb3"},{"version":"173cb6fcbb2ebc32d20944f5d3549dc10cdf073d245dac166e22f62b4e0f9b5b","signature":"6aa1ff0bf37314280ad9e2a7f70200509f0372b75edfb747b2ab6eab53d60ef5"},{"version":"8b4f90ab313a543a0c4274c6b78bd3db9a661da1d4a6e1b4e2eae5587a7d8662","signature":"85e5a99225a10b36a4112e89c8bd16981c3fb855fa6091598e9b156fc8ba7229"},{"version":"4e26868c10b8b80266ed4753c23db49150db79504ba7ca0ed7fb90b7f802687e","signature":"c1498b8a17804181454fb337b0db5e0f808bf5993cfe7d41e2a653a5dee530da"},{"version":"4e99203c3877643e8f3fa17e5c7ead66b1ccfbc0a42a73d66927170d8693c02e","signature":"39a1bdd48df794113dd9eb8798f0e6d6bf5168c3560669c922bca6559bd314dc"},{"version":"18e07ff52bb51b2c83b5f5e718302b0d77484a1d3dcb931478b465d8bc3d063d","signature":"04d8ca3dcd35e5598c352474d60251efa3cb3f2b1b0e6351f8eeb219ad178e33"},{"version":"f3179ba836a4d86339054bc47b8b625326566971152e8ef1f548d748dd2e7a75","signature":"46647d049873ac335c78fb57f78551a2520cde27f5c321cbf0c4d748cfc081b7"},{"version":"e68b7162212a038987332559f7cf4d813635e29716a54310453f4867244c5370","signature":"92338acfa76fff07619d5ebd6180fa00d2c107a5db0a60665c2a324acb5573d6"},{"version":"ecadd228532f6900d559bef61b672d19e8e7fc39cefa67849c536438286b7f32","signature":"4b3a3346a92a2f3ca8b039a615149d31fc4def148f4246bd2b70736b4e6b35a8"},{"version":"d45d742e8aebd3ffce63dce0d48ccb3a59dd61a37d1c09a73118c7df74c32b0b","signature":"e53a88224f90d8f11da1f27f7800f008bf447278044b6cea77e2f765d22f800f"},{"version":"4ccee34e32a687c91f835f6c4d0878407ea65c186e9cc3455859912175327413","signature":"c5884d7ba4c535a3fd54b278fce5925fad4f8c6fec40aa05d7947e03aec89c69"},{"version":"4173bf9f3ce751784838ae6f31062ebb3efb67337b2e9bbdf911d346dbbb103f","signature":"46b835a4e31d60e0e48cd22c7e5f72f6c3b1f2f3dbc000fc61cbc4712ecb0ff3"},{"version":"9f0f523f8068ecf84f8bcec861e32dc49d123dd0bc2c52e2a41a03dc0641d1b9","signature":"c44536b66d7e1c85e1677df1a3cc2135fb375de6aa1a59ba8519242626b366cf"},{"version":"1428ea72373bc6cd26dd28302959122b2ee05b2e42bf74a7fd1867e5b5240a85","signature":"d36fe083d181616e85bc56d049593a9a74080937c8e83e202b9a0c0b58674de5"},{"version":"1c42a64f448c39f2af11a424e708f3434b2740913d15885e8db8e5d647243ec2","signature":"d76fe5b35bf3d132233b9c1655d6b3fb33ff757c7da7d986f7b0407b95690e0d"},{"version":"885c5b5453ff8302f0760528ecaddea160ad22a1dc57c9a31753fe9f9ae42e54","signature":"0832b1edfc1840196774e542489220ea4ac2fff9c19085c82f3e9cc81e9d311a"},"82a33aaf265ee049bb894e2e290d5a63502e60d88e6095fc9c01beaecc5d7bd0","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"712ba0d43b44d144dfd01593f61af6e2e21cfae83e834d297643e7973e55ed61","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","98a3ebfa494b46265634a73459050befba5da8fdc6ca0ef9b7269421780f4ff3","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"7a5459efa09ea82088234e6533a203d528c594b01787fb90fba148885a36e8b6","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","e383ff72aabf294913f8c346f5da1445ae6ad525836d28efd52cbadc01a361a6","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5,"useDefineForClassFields":false},"fileIdsList":[[143],[45,143],[52,143],[45,52,143],[45,52,60,143],[43,44,143],[75,143],[63,65,66,67,68,69,70,71,72,73,74,75,143],[63,64,66,67,68,69,70,71,72,73,74,75,143],[64,65,66,67,68,69,70,71,72,73,74,75,143],[63,64,65,67,68,69,70,71,72,73,74,75,143],[63,64,65,66,68,69,70,71,72,73,74,75,143],[63,64,65,66,67,69,70,71,72,73,74,75,143],[63,64,65,66,67,68,70,71,72,73,74,75,143],[63,64,65,66,67,68,69,71,72,73,74,75,143],[63,64,65,66,67,68,69,70,72,73,74,75,143],[63,64,65,66,67,68,69,70,71,73,74,75,143],[63,64,65,66,67,68,69,70,71,72,74,75,143],[63,64,65,66,67,68,69,70,71,72,73,75,143],[63,64,65,66,67,68,69,70,71,72,73,74,143],[100,143],[103,143],[104,109,143],[105,115,116,123,132,142,143],[105,106,115,123,143],[107,143],[108,109,116,124,143],[109,132,139,143],[110,112,115,123,143],[111,143],[112,113,143],[114,115,143],[115,143],[115,116,117,132,142,143],[115,116,117,132,143],[118,123,132,142,143],[115,116,118,119,123,132,139,142,143],[118,120,132,139,142,143],[100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149],[115,121,143],[122,142,143],[112,115,123,132,143],[124,143],[125,143],[103,126,143],[127,141,143,147],[128,143],[129,143],[115,130,143],[130,131,143,145],[115,132,133,134,143],[132,134,143],[132,133,143],[135,143],[136,143],[115,137,138,143],[137,138,143],[109,123,132,139,143],[140,143],[123,141,143],[104,118,129,142,143],[109,143],[132,143,144],[143,145],[143,146],[104,109,115,117,126,132,142,143,145,147],[132,143,148],[46,143],[45,49,143],[49,143],[47,48,143],[53,54,55,56,57,58,59,60,61,143],[45,49,50,143],[41,42,77,143],[41,42,51,62,77,143],[41,51,62,77,143],[41,51,62,76,143],[41,143],[41,51,143],[42,77],[49,77],[49,51,77],[49,51]],"referencedMap":[[43,1],[52,2],[53,3],[56,4],[54,4],[58,4],[61,5],[60,1],[59,4],[57,4],[55,3],[44,1],[45,6],[76,7],[64,8],[65,9],[63,10],[66,11],[67,12],[68,13],[69,14],[70,15],[71,16],[72,17],[73,18],[74,19],[75,20],[151,1],[100,21],[101,21],[103,22],[104,23],[105,24],[106,25],[107,26],[108,27],[109,28],[110,29],[111,30],[112,31],[113,31],[114,32],[115,33],[116,34],[117,35],[102,1],[149,1],[118,36],[119,37],[120,38],[150,39],[121,40],[122,41],[123,42],[124,43],[125,44],[126,45],[127,46],[128,47],[129,48],[130,49],[131,50],[132,51],[134,52],[133,53],[135,54],[136,55],[137,56],[138,57],[139,58],[140,59],[141,60],[142,61],[143,62],[144,63],[145,64],[146,65],[147,66],[148,67],[47,68],[46,1],[50,69],[48,70],[49,71],[62,72],[51,73],[41,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[38,1],[34,1],[35,1],[36,1],[37,1],[1,1],[39,1],[40,1],[78,74],[79,75],[80,76],[81,76],[82,76],[83,76],[84,76],[85,76],[86,76],[87,76],[88,76],[89,76],[90,76],[91,76],[92,76],[93,76],[94,76],[95,76],[96,76],[97,76],[98,76],[77,77],[42,78],[99,79]],"exportedModulesMap":[[43,1],[52,2],[53,3],[56,4],[54,4],[58,4],[61,5],[60,1],[59,4],[57,4],[55,3],[44,1],[45,6],[76,7],[64,8],[65,9],[63,10],[66,11],[67,12],[68,13],[69,14],[70,15],[71,16],[72,17],[73,18],[74,19],[75,20],[151,1],[100,21],[101,21],[103,22],[104,23],[105,24],[106,25],[107,26],[108,27],[109,28],[110,29],[111,30],[112,31],[113,31],[114,32],[115,33],[116,34],[117,35],[102,1],[149,1],[118,36],[119,37],[120,38],[150,39],[121,40],[122,41],[123,42],[124,43],[125,44],[126,45],[127,46],[128,47],[129,48],[130,49],[131,50],[132,51],[134,52],[133,53],[135,54],[136,55],[137,56],[138,57],[139,58],[140,59],[141,60],[142,61],[143,62],[144,63],[145,64],[146,65],[147,66],[148,67],[47,68],[46,1],[50,69],[48,70],[49,71],[62,72],[51,73],[41,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[38,1],[34,1],[35,1],[36,1],[37,1],[1,1],[39,1],[40,1],[78,80],[80,81],[81,81],[82,81],[83,81],[84,81],[85,81],[86,81],[87,81],[88,81],[89,81],[90,81],[91,81],[92,81],[93,81],[94,81],[95,82],[96,81],[97,81],[98,81],[77,83],[42,78],[99,79]],"semanticDiagnosticsPerFile":[43,52,53,56,54,58,61,60,59,57,55,44,45,76,64,65,63,66,67,68,69,70,71,72,73,74,75,151,100,101,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,102,149,118,119,120,150,121,122,123,124,125,126,127,128,129,130,131,132,134,133,135,136,137,138,139,140,141,142,143,144,145,146,147,148,47,46,50,48,49,62,51,41,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,38,34,35,36,37,1,39,40,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,77,42,99]},"version":"4.6.2"}
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../@types/global/index.d.ts","../../../node_modules/tslib/tslib.d.ts","../src/types.ts","../../../node_modules/@lit/reactive-element/css-tag.d.ts","../../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/@types/trusted-types/index.d.ts","../../../node_modules/lit-html/directive.d.ts","../../../node_modules/lit-html/lit-html.d.ts","../../../node_modules/lit-element/lit-element.d.ts","../../../node_modules/lit/index.d.ts","../../../node_modules/@lit/reactive-element/decorators/base.d.ts","../../../node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../../node_modules/@lit/reactive-element/decorators/property.d.ts","../../../node_modules/@lit/reactive-element/decorators/state.d.ts","../../../node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../../node_modules/@lit/reactive-element/decorators/query.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../../node_modules/lit/decorators.d.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/lodash-es/clonedeep.d.ts","../src/ox-property-editor.ts","../src/index.ts","../src/ox-properties-dynamic-view.ts","../src/ox-property-editor-angle.ts","../src/ox-property-editor-checkbox.ts","../src/ox-property-editor-color.ts","../src/ox-property-editor-crontab.ts","../src/ox-property-editor-data.ts","../src/ox-property-editor-date.ts","../src/ox-property-editor-file.ts","../src/ox-property-editor-gradient-colorstops.ts","../src/ox-property-editor-image.ts","../src/ox-property-editor-legend.ts","../src/ox-property-editor-multiple-colors.ts","../src/ox-property-editor-number.ts","../src/ox-property-editor-options.ts","../src/ox-property-editor-password.ts","../src/ox-property-editor-range.ts","../src/ox-property-editor-scene-component-id.ts","../src/ox-property-editor-select.ts","../src/ox-property-editor-solid-colorstops.ts","../src/ox-property-editor-string.ts","../src/ox-property-editor-table.ts","../src/ox-property-editor-textarea.ts","../src/ox-property-editor-value-map.ts","../src/ox-property-editor-value-ranges.ts","../src/ox-property-editor-work-shift.ts","../stories/index.stories.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"5075b36ab861c8c0c45377cb8c96270d7c65f0eeaf105d53fac6850da61f1027","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"b5c159239c33d1bcb3d7ca8d24cf9ba1b1579aab80e70fbb0029e374880f2470","12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75","eb6dccbf985dced705b6697877295dabc2482db383ee89d122cfa0afc5f2692c","6e2c5a9358c2be6791713f778c3af2d3357b8665d881e22f50b3aa861a2a9717","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a","13bb750b495c48fd60d7b5e09f65d4a7b010ab7e09a8943a6d54511e7d184f84","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"bb4248c7f953233ac52332088fac897d62b82be07244e551d87c5049600b6cf7","affectsGlobalScope":true},"70f04c91d3186b1b10157157887fab664968fc9b88377785a5ee42750c202c6d","f690af1a7043e58fce8c672df5e1d1e27bad7459b81143af991db7c5427a0785","eba7cf33380cc3a3cf614faf67300e14d0bdff9ea6c5cd6f4b040b1756a48ab1","f07a77a7fb1d49aa2b61cb68bf712a083487acd7130d20223a83de03af0c257d","97c58f6db61d45712d91d2260994817ae2b568bbb37cc280013079b6b5d2232d","ac388c7c7a262213a3700451bc921e382a93fb27c0252c34ccf03540b4ce044b","1da789e534bc558808021dd64abf33a91a68e422bbf28aeec236bd74df640401","fb0107c83e2e0e75b77dacd0c3c6c3ab6844e98dce2a8f858c6f0a57c12136a6","0a478dcb6e6bd8a5d871165659c79cee7b8c3b7a87289118d22e1a04d171e252","a25d1e52291791819032826af5c52987e16ffdb96e8bb69f7f1790f5ab080be6","d660961abada6b5030461f3322ef3a2e1d9fec74167574f8b590a7796cf90a72","707b4eae3d469b2f347d2083037151922f94c370a9456ebd5ac0a4fb7441c7e7","4bcb813ea56182beaaab1e8274524eb9f1449b0d8e79efc4a0399de09e43f816","c784eab1cf838d9d6527bce3d9f2d373145606666b68f7610291a7adf6e6bda9","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"7e7a817c8ec57035b2b74df8d5dbcc376a4a60ad870b27ec35463536158e1156","96c07a75f7e35d03fe1b5aead97d37183b7cd566e1cab11a399ec2c6eddb1609","df492e3eef69529602938c05f86513c9213d6ab231a2239437eee25eb26913c5","e6556b10a9f031b883d07b2f9ed1c8bbde20b2b793d145d2455bebf084a095e5","f11241fdc37a2369df7b2979f7a1a290921870e9b22e4a72ea81bf276e29e0d2","ffe531f555bcbe4ac75e2d656703558bdb867d9a5b61fe5f0006f39174dca364","196b61558ba2d23f9295f5ca47e41595bb3ca2a9b9b82b4c7033f2988c29371a",{"version":"7c6b8b80d8d14d65ea84326b6c083ebea30a30b323c1558e731a9923bd1e9458","signature":"3c2fbf104bd60b9abc60e7d84fa2388eec0dc56f537e98a8e95a79d3ebd29dd0"},"df94dcda157129874bdc1704e5d09e82cfe49785c99d26b5281e86caeb6041b1","173cb6fcbb2ebc32d20944f5d3549dc10cdf073d245dac166e22f62b4e0f9b5b","8b4f90ab313a543a0c4274c6b78bd3db9a661da1d4a6e1b4e2eae5587a7d8662","4e26868c10b8b80266ed4753c23db49150db79504ba7ca0ed7fb90b7f802687e","4e99203c3877643e8f3fa17e5c7ead66b1ccfbc0a42a73d66927170d8693c02e","18e07ff52bb51b2c83b5f5e718302b0d77484a1d3dcb931478b465d8bc3d063d","f3179ba836a4d86339054bc47b8b625326566971152e8ef1f548d748dd2e7a75","e68b7162212a038987332559f7cf4d813635e29716a54310453f4867244c5370","ecadd228532f6900d559bef61b672d19e8e7fc39cefa67849c536438286b7f32","d45d742e8aebd3ffce63dce0d48ccb3a59dd61a37d1c09a73118c7df74c32b0b","4ccee34e32a687c91f835f6c4d0878407ea65c186e9cc3455859912175327413","4173bf9f3ce751784838ae6f31062ebb3efb67337b2e9bbdf911d346dbbb103f","9f0f523f8068ecf84f8bcec861e32dc49d123dd0bc2c52e2a41a03dc0641d1b9","1428ea72373bc6cd26dd28302959122b2ee05b2e42bf74a7fd1867e5b5240a85","1c42a64f448c39f2af11a424e708f3434b2740913d15885e8db8e5d647243ec2","8b2704243844d708ef9198ef35068ad3f822e174510a8b7682ddd7ed65a08b04","885c5b5453ff8302f0760528ecaddea160ad22a1dc57c9a31753fe9f9ae42e54","1744a7fa08e2e95186d1eabc95795a7bd428af31741add98c402aca6c7872be5",{"version":"249eeac03b91e5258248546fff82b288d1b052b6c5edd66dfba52093388a4689","signature":"54a6d452be686a05e68eafedb8cb5781dcf450320c459f161520ab02038beaba"},{"version":"3c423f788c84e49ecaf4b09b9b4c96840232c3f84cd9729c644e370035ffb034","signature":"a70a3cf1f18738c7fcf1c32b8bcf94f83731909e8ac47e472a55f0d14b9ca71a"},"82a33aaf265ee049bb894e2e290d5a63502e60d88e6095fc9c01beaecc5d7bd0","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"712ba0d43b44d144dfd01593f61af6e2e21cfae83e834d297643e7973e55ed61","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","98a3ebfa494b46265634a73459050befba5da8fdc6ca0ef9b7269421780f4ff3","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"7a5459efa09ea82088234e6533a203d528c594b01787fb90fba148885a36e8b6","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","e383ff72aabf294913f8c346f5da1445ae6ad525836d28efd52cbadc01a361a6","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5,"useDefineForClassFields":false},"fileIdsList":[[148],[45,148],[52,148],[45,52,148],[45,52,60,148],[43,44,148],[75,148],[63,65,66,67,68,69,70,71,72,73,74,75,148],[63,64,66,67,68,69,70,71,72,73,74,75,148],[64,65,66,67,68,69,70,71,72,73,74,75,148],[63,64,65,67,68,69,70,71,72,73,74,75,148],[63,64,65,66,68,69,70,71,72,73,74,75,148],[63,64,65,66,67,69,70,71,72,73,74,75,148],[63,64,65,66,67,68,70,71,72,73,74,75,148],[63,64,65,66,67,68,69,71,72,73,74,75,148],[63,64,65,66,67,68,69,70,72,73,74,75,148],[63,64,65,66,67,68,69,70,71,73,74,75,148],[63,64,65,66,67,68,69,70,71,72,74,75,148],[63,64,65,66,67,68,69,70,71,72,73,75,148],[63,64,65,66,67,68,69,70,71,72,73,74,148],[105,148],[108,148],[109,114,148],[110,120,121,128,137,147,148],[110,111,120,128,148],[112,148],[113,114,121,129,148],[114,137,144,148],[115,117,120,128,148],[116,148],[117,118,148],[119,120,148],[120,148],[120,121,122,137,147,148],[120,121,122,137,148],[123,128,137,147,148],[120,121,123,124,128,137,144,147,148],[123,125,137,144,147,148],[105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154],[120,126,148],[127,147,148],[117,120,128,137,148],[129,148],[130,148],[108,131,148],[132,146,148,152],[133,148],[134,148],[120,135,148],[135,136,148,150],[120,137,138,139,148],[137,139,148],[137,138,148],[140,148],[141,148],[120,142,143,148],[142,143,148],[114,128,137,144,148],[145,148],[128,146,148],[109,123,134,147,148],[114,148],[137,148,149],[148,150],[148,151],[109,114,120,122,131,137,147,148,150,152],[137,148,153],[46,148],[45,49,148],[49,148],[47,48,148],[53,54,55,56,57,58,59,60,61,148],[45,49,50,148],[41,42,77,148],[41,42,51,62,77,148],[41,51,62,77,148],[41,51,62,76,148],[41,148],[41,51,148],[49,77]],"referencedMap":[[43,1],[52,2],[53,3],[56,4],[54,4],[58,4],[61,5],[60,1],[59,4],[57,4],[55,3],[44,1],[45,6],[76,7],[64,8],[65,9],[63,10],[66,11],[67,12],[68,13],[69,14],[70,15],[71,16],[72,17],[73,18],[74,19],[75,20],[156,1],[105,21],[106,21],[108,22],[109,23],[110,24],[111,25],[112,26],[113,27],[114,28],[115,29],[116,30],[117,31],[118,31],[119,32],[120,33],[121,34],[122,35],[107,1],[154,1],[123,36],[124,37],[125,38],[155,39],[126,40],[127,41],[128,42],[129,43],[130,44],[131,45],[132,46],[133,47],[134,48],[135,49],[136,50],[137,51],[139,52],[138,53],[140,54],[141,55],[142,56],[143,57],[144,58],[145,59],[146,60],[147,61],[148,62],[149,63],[150,64],[151,65],[152,66],[153,67],[47,68],[46,1],[50,69],[48,70],[49,71],[62,72],[51,73],[41,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[38,1],[34,1],[35,1],[36,1],[37,1],[1,1],[39,1],[40,1],[78,74],[79,75],[80,76],[81,76],[82,76],[83,76],[84,76],[85,76],[86,76],[87,76],[88,76],[89,76],[90,76],[91,76],[92,76],[93,76],[94,76],[95,76],[96,76],[97,76],[98,76],[99,76],[100,76],[101,76],[102,76],[103,76],[77,77],[42,78],[104,79]],"exportedModulesMap":[[43,1],[52,2],[53,3],[56,4],[54,4],[58,4],[61,5],[60,1],[59,4],[57,4],[55,3],[44,1],[45,6],[76,7],[64,8],[65,9],[63,10],[66,11],[67,12],[68,13],[69,14],[70,15],[71,16],[72,17],[73,18],[74,19],[75,20],[156,1],[105,21],[106,21],[108,22],[109,23],[110,24],[111,25],[112,26],[113,27],[114,28],[115,29],[116,30],[117,31],[118,31],[119,32],[120,33],[121,34],[122,35],[107,1],[154,1],[123,36],[124,37],[125,38],[155,39],[126,40],[127,41],[128,42],[129,43],[130,44],[131,45],[132,46],[133,47],[134,48],[135,49],[136,50],[137,51],[139,52],[138,53],[140,54],[141,55],[142,56],[143,57],[144,58],[145,59],[146,60],[147,61],[148,62],[149,63],[150,64],[151,65],[152,66],[153,67],[47,68],[46,1],[50,69],[48,70],[49,71],[62,72],[51,73],[41,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[38,1],[34,1],[35,1],[36,1],[37,1],[1,1],[39,1],[40,1],[78,74],[79,75],[80,76],[81,76],[82,76],[83,80],[84,76],[85,76],[86,76],[87,76],[88,76],[89,76],[90,76],[91,76],[92,76],[93,76],[94,76],[95,76],[96,76],[97,76],[98,76],[99,76],[100,76],[101,76],[102,80],[103,80],[77,77],[42,78],[104,79]],"semanticDiagnosticsPerFile":[43,52,53,56,54,58,61,60,59,57,55,44,45,76,64,65,63,66,67,68,69,70,71,72,73,74,75,156,105,106,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,107,154,123,124,125,155,126,127,128,129,130,131,132,133,134,135,136,137,139,138,140,141,142,143,144,145,146,147,148,149,150,151,152,153,47,46,50,48,49,62,51,41,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,38,34,35,36,37,1,39,40,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,77,42,104]},"version":"4.6.2"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@operato/property-editor",
3
- "version": "1.0.0-alpha.9",
3
+ "version": "1.0.0-beta.0",
4
4
  "description": "Webcomponent for property-editor following open-wc recommendations",
5
5
  "author": "heartyoh",
6
6
  "license": "MIT",
@@ -21,6 +21,7 @@
21
21
  "./ox-property-editor-angle.js": "./dist/src/ox-property-editor-angle.js",
22
22
  "./ox-property-editor-checkbox.js": "./dist/src/ox-property-editor-checkbox.js",
23
23
  "./ox-property-editor-color.js": "./dist/src/ox-property-editor-color.js",
24
+ "./ox-property-editor-crontab.js": "./dist/src/ox-property-editor-crontab.js",
24
25
  "./ox-property-editor-data.js": "./dist/src/ox-property-editor-data.js",
25
26
  "./ox-property-editor-date.js": "./dist/src/ox-property-editor-date.js",
26
27
  "./ox-property-editor-file.js": "./dist/src/ox-property-editor-file.js",
@@ -37,6 +38,10 @@
37
38
  "./ox-property-editor-solid-colorstops.js": "./dist/src/ox-property-editor-solid-colorstops.js",
38
39
  "./ox-property-editor-gradient-colorstops.js": "./dist/src/ox-property-editor-gradient-colorstops.js",
39
40
  "./ox-property-editor-multiple-colors.js": "./dist/src/ox-property-editor-multiple-colors.js",
41
+ "./ox-property-editor-value-map.js": "./dist/src/ox-property-editor-value-map.js",
42
+ "./ox-property-editor-value-ranges.js": "./dist/src/ox-property-editor-value-ranges.js",
43
+ "./ox-property-editor-table.js": "./dist/src/ox-property-editor-table.js",
44
+ "./ox-property-editor-work-shift.js": "./dist/src/ox-property-editor-work-shift.js",
40
45
  "./ox-properties-dynamic-view.js": "./dist/src/ox-properties-dynamic-view.js"
41
46
  },
42
47
  "scripts": {
@@ -52,17 +57,16 @@
52
57
  "storybook:build": "tsc && npm run analyze -- --exclude dist && build-storybook"
53
58
  },
54
59
  "dependencies": {
55
- "@operato/help": "^1.0.0-alpha.9",
56
- "@operato/i18n": "^1.0.0-alpha.9",
57
- "@operato/input": "^1.0.0-alpha.9",
58
- "@operato/popup": "^1.0.0-alpha.9",
59
- "lit": "^2.2.0",
60
+ "@operato/help": "^1.0.0-beta.0",
61
+ "@operato/i18n": "^1.0.0-beta.0",
62
+ "@operato/input": "^1.0.0-beta.0",
63
+ "@operato/popup": "^1.0.0-beta.0",
64
+ "lit": "^2.2.1",
60
65
  "lodash-es": "^4.17.21"
61
66
  },
62
67
  "devDependencies": {
63
68
  "@custom-elements-manifest/analyzer": "^0.4.17",
64
69
  "@hatiolab/prettier-config": "^1.0.0",
65
- "@hatiolab/things-scene": "^2.7.34",
66
70
  "@material/mwc-fab": "^0.25.3",
67
71
  "@material/mwc-icon": "^0.25.3",
68
72
  "@open-wc/eslint-config": "^4.3.0",
@@ -97,5 +101,5 @@
97
101
  "prettier --write"
98
102
  ]
99
103
  },
100
- "gitHead": "fb82c87ab8b869139076c4e74c46309460b67d35"
104
+ "gitHead": "06b7a224872643b4dfdd95efc83770ce96057bdf"
101
105
  }
@@ -13,12 +13,12 @@ import { PropertySpec } from './types.js'
13
13
 
14
14
  Example:
15
15
 
16
- <specific-properties-builder value="{{value}}">
16
+ <ox-properties-dynamic-view value="{{value}}">
17
17
  <label>Center X</label>
18
18
  <input type="number" .value="${value.cx}">
19
19
  <label>Width</label>
20
20
  <input type="number" .value="${value.width}">
21
- </specific-properties-builder>
21
+ </ox-properties-dynamic-view>
22
22
  */
23
23
 
24
24
  const DEFAULT_VALUE = {
@@ -114,16 +114,19 @@ class OxPropertiesDynamicView extends LitElement {
114
114
  return
115
115
  }
116
116
 
117
- this.value[name] = editor.value
118
- this._setValues()
117
+ if (this.value) {
118
+ this.value[name] = editor.value
119
+ } else {
120
+ this.value = {
121
+ [name]: editor.value
122
+ }
123
+ }
119
124
 
120
125
  this.dispatchEvent(
121
126
  new CustomEvent('property-change', {
122
127
  bubbles: true,
123
128
  composed: true,
124
- detail: {
125
- [name]: editor.value
126
- }
129
+ detail: this.value
127
130
  })
128
131
  )
129
132
  }
@@ -0,0 +1,13 @@
1
+ import '@operato/input/ox-input-crontab.js'
2
+
3
+ import { html } from 'lit'
4
+ import { customElement } from 'lit/decorators.js'
5
+
6
+ import { OxPropertyEditor } from './ox-property-editor.js'
7
+
8
+ @customElement('ox-property-editor-crontab')
9
+ export class OxPropertyEditorCrontab extends OxPropertyEditor {
10
+ editorTemplate() {
11
+ return html` <ox-input-crontab id="editor" .value=${this.value} fullwidth> </ox-input-crontab> `
12
+ }
13
+ }
@@ -0,0 +1,12 @@
1
+ import '@operato/input/ox-input-table.js'
2
+
3
+ import { OxPropertyEditor } from './ox-property-editor.js'
4
+ import { customElement } from 'lit/decorators.js'
5
+ import { html } from 'lit'
6
+
7
+ @customElement('ox-property-editor-table')
8
+ export class OxPropertyEditorString extends OxPropertyEditor {
9
+ editorTemplate() {
10
+ return html` <ox-input-table id="editor" .property=${this.property} fullwidth></ox-input-table> `
11
+ }
12
+ }
@@ -0,0 +1,18 @@
1
+ import '@operato/input/ox-input-value-map.js'
2
+
3
+ import { OxPropertyEditor } from './ox-property-editor.js'
4
+ import { customElement } from 'lit/decorators.js'
5
+ import { html } from 'lit'
6
+
7
+ @customElement('ox-property-editor-value-map')
8
+ export class OxPropertyEditorValueMap extends OxPropertyEditor {
9
+ editorTemplate() {
10
+ const { value, property } = this
11
+ const valuetype = property?.valuetype || 'string'
12
+ /* IMPLEMENT-ME valuetype 에 editor를 전달할 수 있는 기능 개발 */
13
+
14
+ return html`
15
+ <ox-input-value-map id="editor" .valuetype=${valuetype} .value=${value} fullwidth></ox-input-value-map>
16
+ `
17
+ }
18
+ }
@@ -0,0 +1,19 @@
1
+ import '@operato/input/ox-input-value-ranges.js'
2
+
3
+ import { html } from 'lit'
4
+ import { customElement } from 'lit/decorators.js'
5
+
6
+ import { OxPropertyEditor } from './ox-property-editor.js'
7
+
8
+ @customElement('ox-property-editor-value-ranges')
9
+ export class OxPropertyEditorValueRanges extends OxPropertyEditor {
10
+ editorTemplate() {
11
+ const { value, property } = this
12
+ const valuetype = property?.valuetype || 'string'
13
+ /* IMPLEMENT-ME valuetype 에 editor를 전달할 수 있는 기능 개발 */
14
+
15
+ return html`
16
+ <ox-input-value-ranges id="editor" .valuetype=${valuetype} .value=${value} fullwidth></ox-input-value-ranges>
17
+ `
18
+ }
19
+ }
@@ -0,0 +1,15 @@
1
+ import '@operato/input/ox-input-work-shift.js'
2
+
3
+ import { html } from 'lit'
4
+ import { customElement } from 'lit/decorators.js'
5
+
6
+ import { OxPropertyEditor } from './ox-property-editor.js'
7
+
8
+ @customElement('ox-property-editor-work-shift')
9
+ export class OxPropertyEditorValueRanges extends OxPropertyEditor {
10
+ editorTemplate() {
11
+ const { value } = this
12
+
13
+ return html` <ox-input-work-shift id="editor" .value=${value} fullwidth></ox-input-work-shift> `
14
+ }
15
+ }
@@ -1,43 +1,11 @@
1
1
  import '@operato/i18n/ox-i18n.js'
2
2
 
3
- import { LitElement, css, html } from 'lit'
3
+ import { css, html, LitElement } from 'lit'
4
4
  import { property, state } from 'lit/decorators.js'
5
-
6
5
  import deepClone from 'lodash-es/cloneDeep'
7
6
 
8
7
  export class OxPropertyEditor extends LitElement {
9
- static registry: { [type: string]: string } = {
10
- legend: 'ox-property-editor-legend',
11
- number: 'ox-property-editor-number',
12
- slider: 'ox-property-editor-range',
13
- password: 'ox-property-editor-password',
14
- angle: 'ox-property-editor-angle',
15
- string: 'ox-property-editor-string',
16
- textarea: 'ox-property-editor-textarea',
17
- javascript: 'ox-property-editor-textarea',
18
- checkbox: 'ox-property-editor-checkbox',
19
- boolean: 'ox-property-editor-checkbox',
20
- select: 'ox-property-editor-select',
21
- date: 'ox-property-editor-date',
22
- options: 'ox-property-editor-options',
23
- data: 'ox-property-editor-data',
24
- file: 'ox-property-editor-file',
25
- image: 'ox-property-editor-image',
26
- 'range-input': 'ox-property-editor-range',
27
- 'attachment-selector': 'ox-property-editor-attachment-selector',
28
- 'gltf-selector': 'ox-property-editor-attachment-selector',
29
- color: 'ox-property-editor-color',
30
- 'solid-color-stops': 'ox-property-editor-solid-colorstops',
31
- 'gradient-color-stops': 'ox-property-editor-gradient-colorstops',
32
- 'multiple-color': 'ox-property-editor-multiple-colors',
33
- 'id-input': 'ox-property-editor-scene-component-id'
34
- // graphql: 'ox-property-editor-graphql',
35
- // 'editor-table': 'ox-property-editor-table',
36
- // map: 'ox-property-editor-value-map',
37
- // range: 'ox-property-editor-value-range',
38
- // 'image-selector': 'ox-property-editor-image-selector',
39
- // 'font-selector': 'ox-property-editor-font-selector'
40
- }
8
+ static registry: { [type: string]: string } = {}
41
9
 
42
10
  public static register(types: { [type: string]: string }) {
43
11
  Object.keys(types).forEach(type => {
@@ -78,8 +46,7 @@ export class OxPropertyEditor extends LitElement {
78
46
 
79
47
  text-align: right;
80
48
 
81
- font-size: 0.8em;
82
- line-height: 2;
49
+ font: var(--label-font);
83
50
  text-transform: capitalize;
84
51
 
85
52
  align-self: center;