@almadar/std 16.151.0 → 16.152.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 (40) hide show
  1. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +14 -4
  2. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +12 -0
  3. package/behaviors/lolo/ui/game/atoms/ui-draw-group.lolo +54 -0
  4. package/behaviors/lolo/ui/game/atoms/ui-draw-shape.lolo +6 -1
  5. package/behaviors/lolo/ui/game/atoms/ui-svg-draw-group.lolo +58 -0
  6. package/behaviors/lolo/ui/game/atoms/ui-svg-draw-shape.lolo +103 -0
  7. package/behaviors/lolo/ui/game/atoms/ui-svg-draw-text.lolo +58 -0
  8. package/behaviors/lolo/ui/game/molecules/ui-draw-shape-layer.lolo +3 -2
  9. package/behaviors/lolo/ui/game/molecules/ui-svg-draw-shape-layer.lolo +52 -0
  10. package/behaviors/lolo/ui/game/molecules/ui-svg-stage.lolo +98 -0
  11. package/behaviors/registry/ui/core/atoms/std-browse.orb +104 -28
  12. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +21 -0
  13. package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +196 -0
  14. package/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +9 -1
  15. package/behaviors/registry/ui/game/atoms/ui-svg-draw-group.orb +186 -0
  16. package/behaviors/registry/ui/game/atoms/ui-svg-draw-shape.orb +259 -0
  17. package/behaviors/registry/ui/game/atoms/ui-svg-draw-text.orb +195 -0
  18. package/behaviors/registry/ui/game/molecules/ui-draw-shape-layer.orb +9 -1
  19. package/behaviors/registry/ui/game/molecules/ui-svg-draw-shape-layer.orb +188 -0
  20. package/behaviors/registry/ui/game/molecules/ui-svg-stage.orb +362 -0
  21. package/dist/behaviors/behaviors-embeddings.json +511 -487
  22. package/dist/behaviors/behaviors-registry.json +2277 -341
  23. package/dist/behaviors/functions/index.d.ts +14 -2
  24. package/dist/behaviors/index.d.ts +1 -1
  25. package/dist/behaviors/knob-embeddings.json +1 -1
  26. package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +104 -28
  27. package/dist/behaviors/registry/ui/core/molecules/ui-data-list.orb +21 -0
  28. package/dist/behaviors/registry/ui/game/atoms/ui-draw-group.orb +196 -0
  29. package/dist/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +9 -1
  30. package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-group.orb +186 -0
  31. package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-shape.orb +259 -0
  32. package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-text.orb +195 -0
  33. package/dist/behaviors/registry/ui/game/molecules/ui-draw-shape-layer.orb +9 -1
  34. package/dist/behaviors/registry/ui/game/molecules/ui-svg-draw-shape-layer.orb +188 -0
  35. package/dist/behaviors/registry/ui/game/molecules/ui-svg-stage.orb +362 -0
  36. package/dist/behaviors-embeddings.json +511 -487
  37. package/dist/behaviors-registry.json +2277 -341
  38. package/dist/index.d.ts +1 -1
  39. package/dist/knob-embeddings.json +1 -1
  40. package/package.json +2 -2
@@ -0,0 +1,259 @@
1
+ {
2
+ "description": "SvgDrawShape — UI factory (1:1 with the @almadar/ui svg-draw-shape pattern).",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01KYMKTF3TQSHVDC76J06N5NCE": {
6
+ "bakedName": "SvgDrawShapeItem",
7
+ "curName": "SvgDrawShapeItem",
8
+ "id": "ent_01KYMKTF3TQSHVDC76J06N5NCE",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01KYMKTF3TKA2772N1N9CNSCPJ": {
14
+ "bakedName": "INIT",
15
+ "curName": "INIT",
16
+ "id": "evt_01KYMKTF3TKA2772N1N9CNSCPJ",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01KYMKTF3TT3YY4G7HJP7K7RJW",
20
+ "renames": []
21
+ },
22
+ "orb_01KYMKTF3TZSC5FY0F8SRMZ6D5": {
23
+ "bakedName": "SvgDrawShapeOrbital",
24
+ "curName": "SvgDrawShapeOrbital",
25
+ "id": "orb_01KYMKTF3TZSC5FY0F8SRMZ6D5",
26
+ "kind": "orbital",
27
+ "owner": "workspace",
28
+ "renames": []
29
+ },
30
+ "pag_01KYMKTF3V6TMQ09CYBXNRZSX9": {
31
+ "bakedName": "SvgDrawShapePage",
32
+ "curName": "SvgDrawShapePage",
33
+ "id": "pag_01KYMKTF3V6TMQ09CYBXNRZSX9",
34
+ "kind": "page",
35
+ "owner": "workspace",
36
+ "renames": []
37
+ },
38
+ "trt_01KYMKTF3TT3YY4G7HJP7K7RJW": {
39
+ "bakedName": "SvgDrawShapeRender",
40
+ "curName": "SvgDrawShapeRender",
41
+ "id": "trt_01KYMKTF3TT3YY4G7HJP7K7RJW",
42
+ "kind": "trait",
43
+ "owner": "workspace",
44
+ "renames": []
45
+ }
46
+ },
47
+ "schemaVersion": 1
48
+ },
49
+ "name": "ui-svg-draw-shape",
50
+ "orbitals": [
51
+ {
52
+ "entity": {
53
+ "fields": [
54
+ {
55
+ "name": "id",
56
+ "required": true,
57
+ "type": "string"
58
+ }
59
+ ],
60
+ "id": "ent_01KYMKTF3TQSHVDC76J06N5NCE",
61
+ "name": "SvgDrawShapeItem",
62
+ "persistence": "runtime"
63
+ },
64
+ "id": "orb_01KYMKTF3TZSC5FY0F8SRMZ6D5",
65
+ "name": "SvgDrawShapeOrbital",
66
+ "pages": [
67
+ {
68
+ "id": "pag_01KYMKTF3V6TMQ09CYBXNRZSX9",
69
+ "name": "SvgDrawShapePage",
70
+ "path": "/svg-draw-shape",
71
+ "traits": [
72
+ {
73
+ "ref": "SvgDrawShapeRender",
74
+ "refId": "trt_01KYMKTF3TT3YY4G7HJP7K7RJW"
75
+ }
76
+ ]
77
+ }
78
+ ],
79
+ "traits": [
80
+ {
81
+ "category": "interaction",
82
+ "config": {
83
+ "className": {
84
+ "description": "Additional CSS classes",
85
+ "label": "Class Name",
86
+ "tier": "presentation",
87
+ "type": "string"
88
+ },
89
+ "d": {
90
+ "description": "Path data, viewBox units relative to the translated origin.",
91
+ "label": "D",
92
+ "tier": "presentation",
93
+ "type": "string"
94
+ },
95
+ "fill": {
96
+ "description": "fill prop",
97
+ "label": "Fill",
98
+ "tier": "presentation",
99
+ "type": "string"
100
+ },
101
+ "height": {
102
+ "description": "Rect height in cell units.",
103
+ "label": "Height",
104
+ "tier": "presentation",
105
+ "type": "number"
106
+ },
107
+ "opacity": {
108
+ "description": "0..1 opacity.",
109
+ "label": "Opacity",
110
+ "tier": "presentation",
111
+ "type": "number"
112
+ },
113
+ "points": {
114
+ "description": "Polygon/polyline points, viewBox units relative to the translated origin.",
115
+ "label": "Points",
116
+ "tier": "presentation",
117
+ "type": "string"
118
+ },
119
+ "radius": {
120
+ "description": "Circle radius / ellipse horizontal radius in cell units.",
121
+ "label": "Radius",
122
+ "tier": "presentation",
123
+ "type": "number"
124
+ },
125
+ "radiusY": {
126
+ "description": "Ellipse vertical radius in cell units; omitted → `radius` (a circle).",
127
+ "label": "Radius Y",
128
+ "tier": "presentation",
129
+ "type": "number"
130
+ },
131
+ "shape": {
132
+ "default": "rect",
133
+ "description": "shape prop",
134
+ "label": "Shape",
135
+ "tier": "presentation",
136
+ "type": "string",
137
+ "values": [
138
+ "rect",
139
+ "circle",
140
+ "ellipse",
141
+ "polygon",
142
+ "polyline",
143
+ "path",
144
+ "line"
145
+ ]
146
+ },
147
+ "stroke": {
148
+ "description": "stroke prop",
149
+ "label": "Stroke",
150
+ "tier": "presentation",
151
+ "type": "string"
152
+ },
153
+ "strokeWidth": {
154
+ "description": "strokeWidth prop",
155
+ "label": "Stroke Width",
156
+ "tier": "presentation",
157
+ "type": "number"
158
+ },
159
+ "width": {
160
+ "description": "Rect width in cell units.",
161
+ "label": "Width",
162
+ "tier": "presentation",
163
+ "type": "number"
164
+ },
165
+ "x": {
166
+ "default": 1.0,
167
+ "description": "Grid-cell x of the element's translated origin.",
168
+ "label": "X",
169
+ "tier": "presentation",
170
+ "type": "number"
171
+ },
172
+ "x2": {
173
+ "description": "Line end x in cell units.",
174
+ "label": "X2",
175
+ "tier": "presentation",
176
+ "type": "number"
177
+ },
178
+ "y": {
179
+ "default": 1.0,
180
+ "description": "Grid-cell y of the element's translated origin.",
181
+ "label": "Y",
182
+ "tier": "presentation",
183
+ "type": "number"
184
+ },
185
+ "y2": {
186
+ "description": "Line end y in cell units.",
187
+ "label": "Y2",
188
+ "tier": "presentation",
189
+ "type": "number"
190
+ }
191
+ },
192
+ "entityContract": {
193
+ "provides": [],
194
+ "requires": []
195
+ },
196
+ "entityRebindable": true,
197
+ "entityRefIds": {
198
+ "SvgDrawShapeItem": "ent_01KYMKTF3TQSHVDC76J06N5NCE"
199
+ },
200
+ "id": "trt_01KYMKTF3TT3YY4G7HJP7K7RJW",
201
+ "linkedEntity": "SvgDrawShapeItem",
202
+ "linkedEntityId": "ent_01KYMKTF3TQSHVDC76J06N5NCE",
203
+ "name": "SvgDrawShapeRender",
204
+ "scope": "instance",
205
+ "stateMachine": {
206
+ "events": [
207
+ {
208
+ "id": "evt_01KYMKTF3TKA2772N1N9CNSCPJ",
209
+ "key": "INIT",
210
+ "name": "Initialize"
211
+ }
212
+ ],
213
+ "states": [
214
+ {
215
+ "isInitial": true,
216
+ "name": "idle"
217
+ }
218
+ ],
219
+ "transitions": [
220
+ {
221
+ "effects": [
222
+ [
223
+ "render-ui",
224
+ "main",
225
+ {
226
+ "className": "@config.className",
227
+ "d": "@config.d",
228
+ "fill": "@config.fill",
229
+ "height": "@config.height",
230
+ "opacity": "@config.opacity",
231
+ "points": "@config.points",
232
+ "radius": "@config.radius",
233
+ "radiusY": "@config.radiusY",
234
+ "shape": "@config.shape",
235
+ "stroke": "@config.stroke",
236
+ "strokeWidth": "@config.strokeWidth",
237
+ "type": "svg-draw-shape",
238
+ "width": "@config.width",
239
+ "x": "@config.x",
240
+ "x2": "@config.x2",
241
+ "y": "@config.y",
242
+ "y2": "@config.y2"
243
+ }
244
+ ]
245
+ ],
246
+ "event": "INIT",
247
+ "eventId": "evt_01KYMKTF3TKA2772N1N9CNSCPJ",
248
+ "from": "idle",
249
+ "to": "idle"
250
+ }
251
+ ]
252
+ }
253
+ }
254
+ ]
255
+ }
256
+ ],
257
+ "schemaVersion": 1,
258
+ "version": "1.0.0"
259
+ }
@@ -0,0 +1,195 @@
1
+ {
2
+ "description": "SvgDrawText — UI factory (1:1 with the @almadar/ui svg-draw-text pattern).",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01KYMKTF4QQ6FPCBBY32HS73AF": {
6
+ "bakedName": "SvgDrawTextItem",
7
+ "curName": "SvgDrawTextItem",
8
+ "id": "ent_01KYMKTF4QQ6FPCBBY32HS73AF",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01KYMKTF4QYE2WQ95CQPP36TMB": {
14
+ "bakedName": "INIT",
15
+ "curName": "INIT",
16
+ "id": "evt_01KYMKTF4QYE2WQ95CQPP36TMB",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01KYMKTF4QTG7QV2Y7N9J2TWY2",
20
+ "renames": []
21
+ },
22
+ "orb_01KYMKTF4QZP93EF8DZMBDZJCR": {
23
+ "bakedName": "SvgDrawTextOrbital",
24
+ "curName": "SvgDrawTextOrbital",
25
+ "id": "orb_01KYMKTF4QZP93EF8DZMBDZJCR",
26
+ "kind": "orbital",
27
+ "owner": "workspace",
28
+ "renames": []
29
+ },
30
+ "pag_01KYMKTF4SJXHA654TD526HAJ7": {
31
+ "bakedName": "SvgDrawTextPage",
32
+ "curName": "SvgDrawTextPage",
33
+ "id": "pag_01KYMKTF4SJXHA654TD526HAJ7",
34
+ "kind": "page",
35
+ "owner": "workspace",
36
+ "renames": []
37
+ },
38
+ "trt_01KYMKTF4QTG7QV2Y7N9J2TWY2": {
39
+ "bakedName": "SvgDrawTextRender",
40
+ "curName": "SvgDrawTextRender",
41
+ "id": "trt_01KYMKTF4QTG7QV2Y7N9J2TWY2",
42
+ "kind": "trait",
43
+ "owner": "workspace",
44
+ "renames": []
45
+ }
46
+ },
47
+ "schemaVersion": 1
48
+ },
49
+ "name": "ui-svg-draw-text",
50
+ "orbitals": [
51
+ {
52
+ "entity": {
53
+ "fields": [
54
+ {
55
+ "name": "id",
56
+ "required": true,
57
+ "type": "string"
58
+ }
59
+ ],
60
+ "id": "ent_01KYMKTF4QQ6FPCBBY32HS73AF",
61
+ "name": "SvgDrawTextItem",
62
+ "persistence": "runtime"
63
+ },
64
+ "id": "orb_01KYMKTF4QZP93EF8DZMBDZJCR",
65
+ "name": "SvgDrawTextOrbital",
66
+ "pages": [
67
+ {
68
+ "id": "pag_01KYMKTF4SJXHA654TD526HAJ7",
69
+ "name": "SvgDrawTextPage",
70
+ "path": "/svg-draw-text",
71
+ "traits": [
72
+ {
73
+ "ref": "SvgDrawTextRender",
74
+ "refId": "trt_01KYMKTF4QTG7QV2Y7N9J2TWY2"
75
+ }
76
+ ]
77
+ }
78
+ ],
79
+ "traits": [
80
+ {
81
+ "category": "interaction",
82
+ "config": {
83
+ "anchor": {
84
+ "default": "middle",
85
+ "description": "Text anchor (default 'middle').",
86
+ "label": "Anchor",
87
+ "tier": "presentation",
88
+ "type": "string",
89
+ "values": [
90
+ "start",
91
+ "middle",
92
+ "end"
93
+ ]
94
+ },
95
+ "className": {
96
+ "description": "Additional CSS classes",
97
+ "label": "Class Name",
98
+ "tier": "presentation",
99
+ "type": "string"
100
+ },
101
+ "fill": {
102
+ "default": "var(--color-foreground)",
103
+ "description": "fill prop",
104
+ "label": "Fill",
105
+ "tier": "presentation",
106
+ "type": "string"
107
+ },
108
+ "size": {
109
+ "default": 12.0,
110
+ "description": "Font size in viewBox units (default 12).",
111
+ "label": "Size",
112
+ "tier": "presentation",
113
+ "type": "number"
114
+ },
115
+ "text": {
116
+ "default": "",
117
+ "description": "The text content.",
118
+ "label": "Text",
119
+ "tier": "presentation",
120
+ "type": "string"
121
+ },
122
+ "x": {
123
+ "default": 1.0,
124
+ "description": "Grid-cell x of the text anchor.",
125
+ "label": "X",
126
+ "tier": "presentation",
127
+ "type": "number"
128
+ },
129
+ "y": {
130
+ "default": 1.0,
131
+ "description": "Grid-cell y of the text anchor.",
132
+ "label": "Y",
133
+ "tier": "presentation",
134
+ "type": "number"
135
+ }
136
+ },
137
+ "entityContract": {
138
+ "provides": [],
139
+ "requires": []
140
+ },
141
+ "entityRebindable": true,
142
+ "entityRefIds": {
143
+ "SvgDrawTextItem": "ent_01KYMKTF4QQ6FPCBBY32HS73AF"
144
+ },
145
+ "id": "trt_01KYMKTF4QTG7QV2Y7N9J2TWY2",
146
+ "linkedEntity": "SvgDrawTextItem",
147
+ "linkedEntityId": "ent_01KYMKTF4QQ6FPCBBY32HS73AF",
148
+ "name": "SvgDrawTextRender",
149
+ "scope": "instance",
150
+ "stateMachine": {
151
+ "events": [
152
+ {
153
+ "id": "evt_01KYMKTF4QYE2WQ95CQPP36TMB",
154
+ "key": "INIT",
155
+ "name": "Initialize"
156
+ }
157
+ ],
158
+ "states": [
159
+ {
160
+ "isInitial": true,
161
+ "name": "idle"
162
+ }
163
+ ],
164
+ "transitions": [
165
+ {
166
+ "effects": [
167
+ [
168
+ "render-ui",
169
+ "main",
170
+ {
171
+ "anchor": "@config.anchor",
172
+ "className": "@config.className",
173
+ "fill": "@config.fill",
174
+ "size": "@config.size",
175
+ "text": "@config.text",
176
+ "type": "svg-draw-text",
177
+ "x": "@config.x",
178
+ "y": "@config.y"
179
+ }
180
+ ]
181
+ ],
182
+ "event": "INIT",
183
+ "eventId": "evt_01KYMKTF4QYE2WQ95CQPP36TMB",
184
+ "from": "idle",
185
+ "to": "idle"
186
+ }
187
+ ]
188
+ }
189
+ }
190
+ ]
191
+ }
192
+ ],
193
+ "schemaVersion": 1,
194
+ "version": "1.0.0"
195
+ }
@@ -83,6 +83,7 @@
83
83
  "items": {
84
84
  "default": [
85
85
  {
86
+ "d": "D",
86
87
  "fill": "Fill",
87
88
  "height": 1.0,
88
89
  "offsetX": 1.0,
@@ -103,6 +104,7 @@
103
104
  "width": 1.0
104
105
  },
105
106
  {
107
+ "d": "D 2",
106
108
  "fill": "Fill 2",
107
109
  "height": 2.0,
108
110
  "offsetX": 2.0,
@@ -131,6 +133,11 @@
131
133
  "required": false,
132
134
  "type": "string"
133
135
  },
136
+ "d": {
137
+ "name": "d",
138
+ "required": false,
139
+ "type": "string"
140
+ },
134
141
  "fill": {
135
142
  "name": "fill",
136
143
  "required": false,
@@ -204,7 +211,8 @@
204
211
  "cell",
205
212
  "rect",
206
213
  "ellipse",
207
- "poly"
214
+ "poly",
215
+ "path"
208
216
  ]
209
217
  },
210
218
  "stroke": {
@@ -0,0 +1,188 @@
1
+ {
2
+ "description": "SvgDrawShapeLayer — UI factory (1:1 with the @almadar/ui svg-draw-shape-layer pattern).",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01KYMKTFJYG59H080R8RV6DDQ0": {
6
+ "bakedName": "SvgDrawShapeLayerItem",
7
+ "curName": "SvgDrawShapeLayerItem",
8
+ "id": "ent_01KYMKTFJYG59H080R8RV6DDQ0",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01KYMKTFJYSWAQZGA9X351SKQK": {
14
+ "bakedName": "INIT",
15
+ "curName": "INIT",
16
+ "id": "evt_01KYMKTFJYSWAQZGA9X351SKQK",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01KYMKTFJY3X1PADCDKW8APT2H",
20
+ "renames": []
21
+ },
22
+ "orb_01KYMKTFJYYHTQ5VAAXT29ZEKB": {
23
+ "bakedName": "SvgDrawShapeLayerOrbital",
24
+ "curName": "SvgDrawShapeLayerOrbital",
25
+ "id": "orb_01KYMKTFJYYHTQ5VAAXT29ZEKB",
26
+ "kind": "orbital",
27
+ "owner": "workspace",
28
+ "renames": []
29
+ },
30
+ "pag_01KYMKTFJZ5Z0NK5TTJEMF9F4K": {
31
+ "bakedName": "SvgDrawShapeLayerPage",
32
+ "curName": "SvgDrawShapeLayerPage",
33
+ "id": "pag_01KYMKTFJZ5Z0NK5TTJEMF9F4K",
34
+ "kind": "page",
35
+ "owner": "workspace",
36
+ "renames": []
37
+ },
38
+ "trt_01KYMKTFJY3X1PADCDKW8APT2H": {
39
+ "bakedName": "SvgDrawShapeLayerRender",
40
+ "curName": "SvgDrawShapeLayerRender",
41
+ "id": "trt_01KYMKTFJY3X1PADCDKW8APT2H",
42
+ "kind": "trait",
43
+ "owner": "workspace",
44
+ "renames": []
45
+ }
46
+ },
47
+ "schemaVersion": 1
48
+ },
49
+ "name": "ui-svg-draw-shape-layer",
50
+ "orbitals": [
51
+ {
52
+ "entity": {
53
+ "fields": [
54
+ {
55
+ "name": "id",
56
+ "required": true,
57
+ "type": "string"
58
+ }
59
+ ],
60
+ "id": "ent_01KYMKTFJYG59H080R8RV6DDQ0",
61
+ "name": "SvgDrawShapeLayerItem",
62
+ "persistence": "runtime"
63
+ },
64
+ "id": "orb_01KYMKTFJYYHTQ5VAAXT29ZEKB",
65
+ "name": "SvgDrawShapeLayerOrbital",
66
+ "pages": [
67
+ {
68
+ "id": "pag_01KYMKTFJZ5Z0NK5TTJEMF9F4K",
69
+ "name": "SvgDrawShapeLayerPage",
70
+ "path": "/svg-draw-shape-layer",
71
+ "traits": [
72
+ {
73
+ "ref": "SvgDrawShapeLayerRender",
74
+ "refId": "trt_01KYMKTFJY3X1PADCDKW8APT2H"
75
+ }
76
+ ]
77
+ }
78
+ ],
79
+ "traits": [
80
+ {
81
+ "category": "interaction",
82
+ "config": {
83
+ "fill": {
84
+ "description": "Default fill for items that don't set one.",
85
+ "label": "Fill",
86
+ "tier": "presentation",
87
+ "type": "string"
88
+ },
89
+ "items": {
90
+ "default": [
91
+ {
92
+ "id": "Id"
93
+ },
94
+ {
95
+ "id": "Id 2"
96
+ }
97
+ ],
98
+ "description": "items prop",
99
+ "items": {
100
+ "properties": {
101
+ "id": {
102
+ "name": "id",
103
+ "required": true,
104
+ "type": "string"
105
+ }
106
+ },
107
+ "type": "object"
108
+ },
109
+ "label": "Items",
110
+ "tier": "presentation",
111
+ "type": "[SvgDrawShapeLayerItemsItem]"
112
+ },
113
+ "opacity": {
114
+ "description": "Default 0..1 opacity for items that don't set one.",
115
+ "label": "Opacity",
116
+ "tier": "presentation",
117
+ "type": "number"
118
+ },
119
+ "stroke": {
120
+ "description": "Default stroke for items that don't set one.",
121
+ "label": "Stroke",
122
+ "tier": "presentation",
123
+ "type": "string"
124
+ },
125
+ "strokeWidth": {
126
+ "description": "Default strokeWidth for items that don't set one.",
127
+ "label": "Stroke Width",
128
+ "tier": "presentation",
129
+ "type": "number"
130
+ }
131
+ },
132
+ "entityContract": {
133
+ "provides": [],
134
+ "requires": []
135
+ },
136
+ "entityRebindable": true,
137
+ "entityRefIds": {
138
+ "SvgDrawShapeLayerItem": "ent_01KYMKTFJYG59H080R8RV6DDQ0"
139
+ },
140
+ "id": "trt_01KYMKTFJY3X1PADCDKW8APT2H",
141
+ "linkedEntity": "SvgDrawShapeLayerItem",
142
+ "linkedEntityId": "ent_01KYMKTFJYG59H080R8RV6DDQ0",
143
+ "name": "SvgDrawShapeLayerRender",
144
+ "scope": "instance",
145
+ "stateMachine": {
146
+ "events": [
147
+ {
148
+ "id": "evt_01KYMKTFJYSWAQZGA9X351SKQK",
149
+ "key": "INIT",
150
+ "name": "Initialize"
151
+ }
152
+ ],
153
+ "states": [
154
+ {
155
+ "isInitial": true,
156
+ "name": "idle"
157
+ }
158
+ ],
159
+ "transitions": [
160
+ {
161
+ "effects": [
162
+ [
163
+ "render-ui",
164
+ "main",
165
+ {
166
+ "fill": "@config.fill",
167
+ "items": "@config.items",
168
+ "opacity": "@config.opacity",
169
+ "stroke": "@config.stroke",
170
+ "strokeWidth": "@config.strokeWidth",
171
+ "type": "svg-draw-shape-layer"
172
+ }
173
+ ]
174
+ ],
175
+ "event": "INIT",
176
+ "eventId": "evt_01KYMKTFJYSWAQZGA9X351SKQK",
177
+ "from": "idle",
178
+ "to": "idle"
179
+ }
180
+ ]
181
+ }
182
+ }
183
+ ]
184
+ }
185
+ ],
186
+ "schemaVersion": 1,
187
+ "version": "1.0.0"
188
+ }