@almadar/std 16.151.0 → 16.153.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.
- package/behaviors/lolo/infra/atoms/std-data-erasure.lolo +5 -1
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +15 -4
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +12 -0
- package/behaviors/lolo/ui/core/molecules/ui-emoji-picker.lolo +56 -0
- package/behaviors/lolo/ui/core/molecules/ui-popover.lolo +39 -0
- package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +11 -0
- package/behaviors/lolo/ui/game/atoms/ui-draw-group.lolo +54 -0
- package/behaviors/lolo/ui/game/atoms/ui-draw-shape.lolo +6 -1
- package/behaviors/lolo/ui/game/atoms/ui-draw-sprite.lolo +2 -2
- package/behaviors/lolo/ui/game/atoms/ui-svg-draw-group.lolo +58 -0
- package/behaviors/lolo/ui/game/atoms/ui-svg-draw-shape.lolo +103 -0
- package/behaviors/lolo/ui/game/atoms/ui-svg-draw-text.lolo +58 -0
- package/behaviors/lolo/ui/game/molecules/ui-canvas-2d.lolo +11 -1
- package/behaviors/lolo/ui/game/molecules/ui-canvas.lolo +10 -0
- package/behaviors/lolo/ui/game/molecules/ui-draw-shape-layer.lolo +3 -2
- package/behaviors/lolo/ui/game/molecules/ui-svg-draw-shape-layer.lolo +52 -0
- package/behaviors/lolo/ui/game/molecules/ui-svg-stage.lolo +98 -0
- package/behaviors/lolo/ui/game/organisms/ui-fishing-board.lolo +8 -8
- package/behaviors/lolo/ui/game/organisms/ui-physics-sandbox-board.lolo +5 -5
- package/behaviors/lolo/ui/game/organisms/ui-roguelike-board.lolo +5 -5
- package/behaviors/lolo/ui/game/organisms/ui-sokoban-board.lolo +5 -5
- package/behaviors/lolo/ui/game/organisms/ui-state-architect-board.lolo +4 -4
- package/behaviors/lolo/ui/game/organisms/ui-winter-ski-board.lolo +7 -7
- package/behaviors/registry/factory-signatures.json +6211 -2181
- package/behaviors/registry/infra/atoms/std-approval-gate.orb +16 -8
- package/behaviors/registry/infra/atoms/std-cache-aside.orb +62 -31
- package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +32 -16
- package/behaviors/registry/infra/atoms/std-data-erasure.orb +17 -9
- package/behaviors/registry/infra/atoms/std-mod-queue.orb +16 -8
- package/behaviors/registry/infra/atoms/std-rate-limiter.orb +28 -14
- package/behaviors/registry/ml/molecules/std-escalating-decision.orb +10 -5
- package/behaviors/registry/ml/molecules/std-knowledge-tracing.orb +4 -2
- package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +2 -1
- package/behaviors/registry/ui/core/atoms/std-browse.orb +108 -28
- package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +2 -1
- package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +4 -2
- package/behaviors/registry/ui/core/atoms/std-esign-request.orb +6 -3
- package/behaviors/registry/ui/core/atoms/std-gallery.orb +18 -9
- package/behaviors/registry/ui/core/atoms/std-import.orb +4 -2
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +21 -0
- package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +214 -0
- package/behaviors/registry/ui/core/molecules/ui-popover.orb +112 -1
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +44 -0
- package/behaviors/registry/ui/game/atoms/std-arcade-flow.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-arcade-play.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-chase-ai.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-dungeon-combat.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-fx-particles.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-gather.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-gold.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-grid-tactics.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-hero-nav.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-market-flow.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-objective-flow.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-objective-reach.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-patience.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-production.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-round-flow.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-score.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-survival-flow.orb +1 -0
- package/behaviors/registry/ui/game/atoms/std-xp.orb +1 -0
- package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +196 -0
- package/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +9 -1
- package/behaviors/registry/ui/game/atoms/ui-draw-sprite.orb +2 -2
- package/behaviors/registry/ui/game/atoms/ui-svg-draw-group.orb +186 -0
- package/behaviors/registry/ui/game/atoms/ui-svg-draw-shape.orb +259 -0
- package/behaviors/registry/ui/game/atoms/ui-svg-draw-text.orb +195 -0
- package/behaviors/registry/ui/game/molecules/std-worldmap-board-2d.orb +6 -3
- package/behaviors/registry/ui/game/molecules/ui-canvas-2d.orb +16 -1
- package/behaviors/registry/ui/game/molecules/ui-canvas.orb +14 -0
- package/behaviors/registry/ui/game/molecules/ui-draw-shape-layer.orb +9 -1
- package/behaviors/registry/ui/game/molecules/ui-svg-draw-shape-layer.orb +188 -0
- package/behaviors/registry/ui/game/molecules/ui-svg-stage.orb +362 -0
- package/behaviors/registry/ui/game/organisms/ui-fishing-board.orb +16 -16
- package/behaviors/registry/ui/game/organisms/ui-physics-sandbox-board.orb +10 -10
- package/behaviors/registry/ui/game/organisms/ui-roguelike-board.orb +10 -10
- package/behaviors/registry/ui/game/organisms/ui-sokoban-board.orb +10 -10
- package/behaviors/registry/ui/game/organisms/ui-state-architect-board.orb +8 -8
- package/behaviors/registry/ui/game/organisms/ui-winter-ski-board.orb +14 -14
- package/dist/behaviors/behaviors-embeddings.json +371 -343
- package/dist/behaviors/behaviors-registry.json +4851 -2388
- package/dist/behaviors/exports-reader.js +3409 -3101
- package/dist/behaviors/functions/index.d.ts +609 -6
- package/dist/behaviors/functions/index.js +3389 -3102
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +3410 -3102
- package/dist/behaviors/knob-embeddings.json +1 -1
- package/dist/behaviors/query.js +3409 -3101
- package/dist/behaviors/registry/factory-signatures.json +6211 -2181
- package/dist/behaviors/registry/infra/atoms/std-approval-gate.orb +16 -8
- package/dist/behaviors/registry/infra/atoms/std-cache-aside.orb +62 -31
- package/dist/behaviors/registry/infra/atoms/std-circuit-breaker.orb +32 -16
- package/dist/behaviors/registry/infra/atoms/std-data-erasure.orb +17 -9
- package/dist/behaviors/registry/infra/atoms/std-mod-queue.orb +16 -8
- package/dist/behaviors/registry/infra/atoms/std-rate-limiter.orb +28 -14
- package/dist/behaviors/registry/ml/molecules/std-escalating-decision.orb +10 -5
- package/dist/behaviors/registry/ml/molecules/std-knowledge-tracing.orb +4 -2
- package/dist/behaviors/registry/ui/core/atoms/std-billable-hour.orb +2 -1
- package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +108 -28
- package/dist/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +2 -1
- package/dist/behaviors/registry/ui/core/atoms/std-esign-flow.orb +4 -2
- package/dist/behaviors/registry/ui/core/atoms/std-esign-request.orb +6 -3
- package/dist/behaviors/registry/ui/core/atoms/std-gallery.orb +18 -9
- package/dist/behaviors/registry/ui/core/atoms/std-import.orb +4 -2
- package/dist/behaviors/registry/ui/core/molecules/ui-data-list.orb +21 -0
- package/dist/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +214 -0
- package/dist/behaviors/registry/ui/core/molecules/ui-popover.orb +112 -1
- package/dist/behaviors/registry/ui/core/molecules/ui-table-view.orb +44 -0
- package/dist/behaviors/registry/ui/game/atoms/std-arcade-flow.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-arcade-play.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-chase-ai.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-dungeon-combat.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-fx-particles.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-gather.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-gold.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-grid-tactics.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-hero-nav.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-market-flow.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-objective-flow.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-objective-reach.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-patience.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-production.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-round-flow.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-score.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-survival-flow.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/std-xp.orb +1 -0
- package/dist/behaviors/registry/ui/game/atoms/ui-draw-group.orb +196 -0
- package/dist/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +9 -1
- package/dist/behaviors/registry/ui/game/atoms/ui-draw-sprite.orb +2 -2
- package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-group.orb +186 -0
- package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-shape.orb +259 -0
- package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-text.orb +195 -0
- package/dist/behaviors/registry/ui/game/molecules/std-worldmap-board-2d.orb +6 -3
- package/dist/behaviors/registry/ui/game/molecules/ui-canvas-2d.orb +16 -1
- package/dist/behaviors/registry/ui/game/molecules/ui-canvas.orb +14 -0
- package/dist/behaviors/registry/ui/game/molecules/ui-draw-shape-layer.orb +9 -1
- package/dist/behaviors/registry/ui/game/molecules/ui-svg-draw-shape-layer.orb +188 -0
- package/dist/behaviors/registry/ui/game/molecules/ui-svg-stage.orb +362 -0
- package/dist/behaviors/registry/ui/game/organisms/ui-fishing-board.orb +16 -16
- package/dist/behaviors/registry/ui/game/organisms/ui-physics-sandbox-board.orb +10 -10
- package/dist/behaviors/registry/ui/game/organisms/ui-roguelike-board.orb +10 -10
- package/dist/behaviors/registry/ui/game/organisms/ui-sokoban-board.orb +10 -10
- package/dist/behaviors/registry/ui/game/organisms/ui-state-architect-board.orb +8 -8
- package/dist/behaviors/registry/ui/game/organisms/ui-winter-ski-board.orb +14 -14
- package/dist/behaviors-embeddings.json +371 -343
- package/dist/behaviors-registry.json +4851 -2388
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3410 -3102
- package/dist/knob-embeddings.json +1 -1
- package/dist/registry/factory-signatures.json +6211 -2181
- package/package.json +2 -2
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "DrawGroup — UI factory (1:1 with the @almadar/ui draw-group pattern).",
|
|
3
|
+
"ledger": {
|
|
4
|
+
"entries": {
|
|
5
|
+
"ent_01KYMSJ0XC4FZ6XDMWJFY33XPW": {
|
|
6
|
+
"bakedName": "DrawGroupItem",
|
|
7
|
+
"curName": "DrawGroupItem",
|
|
8
|
+
"id": "ent_01KYMSJ0XC4FZ6XDMWJFY33XPW",
|
|
9
|
+
"kind": "entity",
|
|
10
|
+
"owner": "workspace",
|
|
11
|
+
"renames": []
|
|
12
|
+
},
|
|
13
|
+
"evt_01KYMSJ0XCMQ913RB16GM5PWV3": {
|
|
14
|
+
"bakedName": "INIT",
|
|
15
|
+
"curName": "INIT",
|
|
16
|
+
"id": "evt_01KYMSJ0XCMQ913RB16GM5PWV3",
|
|
17
|
+
"kind": "event",
|
|
18
|
+
"owner": "workspace",
|
|
19
|
+
"parent": "trt_01KYMSJ0XCXD36RE50XVZ2PJDP",
|
|
20
|
+
"renames": []
|
|
21
|
+
},
|
|
22
|
+
"orb_01KYMSJ0XCK8CKQ75MKSNFD3JY": {
|
|
23
|
+
"bakedName": "DrawGroupOrbital",
|
|
24
|
+
"curName": "DrawGroupOrbital",
|
|
25
|
+
"id": "orb_01KYMSJ0XCK8CKQ75MKSNFD3JY",
|
|
26
|
+
"kind": "orbital",
|
|
27
|
+
"owner": "workspace",
|
|
28
|
+
"renames": []
|
|
29
|
+
},
|
|
30
|
+
"pag_01KYMSJ0XGAMW6KQFWSN214CQZ": {
|
|
31
|
+
"bakedName": "DrawGroupPage",
|
|
32
|
+
"curName": "DrawGroupPage",
|
|
33
|
+
"id": "pag_01KYMSJ0XGAMW6KQFWSN214CQZ",
|
|
34
|
+
"kind": "page",
|
|
35
|
+
"owner": "workspace",
|
|
36
|
+
"renames": []
|
|
37
|
+
},
|
|
38
|
+
"trt_01KYMSJ0XCXD36RE50XVZ2PJDP": {
|
|
39
|
+
"bakedName": "DrawGroupRender",
|
|
40
|
+
"curName": "DrawGroupRender",
|
|
41
|
+
"id": "trt_01KYMSJ0XCXD36RE50XVZ2PJDP",
|
|
42
|
+
"kind": "trait",
|
|
43
|
+
"owner": "workspace",
|
|
44
|
+
"renames": []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"schemaVersion": 1
|
|
48
|
+
},
|
|
49
|
+
"name": "ui-draw-group",
|
|
50
|
+
"orbitals": [
|
|
51
|
+
{
|
|
52
|
+
"entity": {
|
|
53
|
+
"fields": [
|
|
54
|
+
{
|
|
55
|
+
"name": "id",
|
|
56
|
+
"required": true,
|
|
57
|
+
"type": "string"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"id": "ent_01KYMSJ0XC4FZ6XDMWJFY33XPW",
|
|
61
|
+
"name": "DrawGroupItem",
|
|
62
|
+
"persistence": "runtime"
|
|
63
|
+
},
|
|
64
|
+
"id": "orb_01KYMSJ0XCK8CKQ75MKSNFD3JY",
|
|
65
|
+
"name": "DrawGroupOrbital",
|
|
66
|
+
"pages": [
|
|
67
|
+
{
|
|
68
|
+
"id": "pag_01KYMSJ0XGAMW6KQFWSN214CQZ",
|
|
69
|
+
"name": "DrawGroupPage",
|
|
70
|
+
"path": "/draw-group",
|
|
71
|
+
"traits": [
|
|
72
|
+
{
|
|
73
|
+
"ref": "DrawGroupRender",
|
|
74
|
+
"refId": "trt_01KYMSJ0XCXD36RE50XVZ2PJDP"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"traits": [
|
|
80
|
+
{
|
|
81
|
+
"category": "interaction",
|
|
82
|
+
"config": {
|
|
83
|
+
"items": {
|
|
84
|
+
"default": [],
|
|
85
|
+
"description": "The grouped drawables, painted through the normal dispatch.",
|
|
86
|
+
"items": {
|
|
87
|
+
"type": "object"
|
|
88
|
+
},
|
|
89
|
+
"label": "Items",
|
|
90
|
+
"tier": "presentation",
|
|
91
|
+
"type": "[json]"
|
|
92
|
+
},
|
|
93
|
+
"opacity": {
|
|
94
|
+
"description": "0..1 opacity.",
|
|
95
|
+
"label": "Opacity",
|
|
96
|
+
"tier": "presentation",
|
|
97
|
+
"type": "number"
|
|
98
|
+
},
|
|
99
|
+
"position": {
|
|
100
|
+
"default": {
|
|
101
|
+
"x": 1.0,
|
|
102
|
+
"y": 1.0,
|
|
103
|
+
"z": 1.0
|
|
104
|
+
},
|
|
105
|
+
"description": "Logical scene position; the projector maps it to pixels / world.",
|
|
106
|
+
"label": "Position",
|
|
107
|
+
"properties": {
|
|
108
|
+
"x": {
|
|
109
|
+
"name": "x",
|
|
110
|
+
"required": true,
|
|
111
|
+
"type": "number"
|
|
112
|
+
},
|
|
113
|
+
"y": {
|
|
114
|
+
"name": "y",
|
|
115
|
+
"required": true,
|
|
116
|
+
"type": "number"
|
|
117
|
+
},
|
|
118
|
+
"z": {
|
|
119
|
+
"name": "z",
|
|
120
|
+
"required": false,
|
|
121
|
+
"type": "number"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"tier": "presentation",
|
|
125
|
+
"type": "DrawGroupPosition"
|
|
126
|
+
},
|
|
127
|
+
"rotate": {
|
|
128
|
+
"description": "Rotation in radians (painter units).",
|
|
129
|
+
"label": "Rotate",
|
|
130
|
+
"tier": "presentation",
|
|
131
|
+
"type": "number"
|
|
132
|
+
},
|
|
133
|
+
"scale": {
|
|
134
|
+
"description": "Uniform scale applied to the whole group.",
|
|
135
|
+
"label": "Scale",
|
|
136
|
+
"tier": "presentation",
|
|
137
|
+
"type": "number"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"entityContract": {
|
|
141
|
+
"provides": [],
|
|
142
|
+
"requires": []
|
|
143
|
+
},
|
|
144
|
+
"entityRebindable": true,
|
|
145
|
+
"entityRefIds": {
|
|
146
|
+
"DrawGroupItem": "ent_01KYMSJ0XC4FZ6XDMWJFY33XPW"
|
|
147
|
+
},
|
|
148
|
+
"id": "trt_01KYMSJ0XCXD36RE50XVZ2PJDP",
|
|
149
|
+
"linkedEntity": "DrawGroupItem",
|
|
150
|
+
"linkedEntityId": "ent_01KYMSJ0XC4FZ6XDMWJFY33XPW",
|
|
151
|
+
"name": "DrawGroupRender",
|
|
152
|
+
"scope": "instance",
|
|
153
|
+
"stateMachine": {
|
|
154
|
+
"events": [
|
|
155
|
+
{
|
|
156
|
+
"id": "evt_01KYMSJ0XCMQ913RB16GM5PWV3",
|
|
157
|
+
"key": "INIT",
|
|
158
|
+
"name": "Initialize"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"states": [
|
|
162
|
+
{
|
|
163
|
+
"isInitial": true,
|
|
164
|
+
"name": "idle"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"transitions": [
|
|
168
|
+
{
|
|
169
|
+
"effects": [
|
|
170
|
+
[
|
|
171
|
+
"render-ui",
|
|
172
|
+
"main",
|
|
173
|
+
{
|
|
174
|
+
"items": "@config.items",
|
|
175
|
+
"opacity": "@config.opacity",
|
|
176
|
+
"position": "@config.position",
|
|
177
|
+
"rotate": "@config.rotate",
|
|
178
|
+
"scale": "@config.scale",
|
|
179
|
+
"type": "draw-group"
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
],
|
|
183
|
+
"event": "INIT",
|
|
184
|
+
"eventId": "evt_01KYMSJ0XCMQ913RB16GM5PWV3",
|
|
185
|
+
"from": "idle",
|
|
186
|
+
"to": "idle"
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"schemaVersion": 1,
|
|
195
|
+
"version": "1.0.0"
|
|
196
|
+
}
|
|
@@ -87,6 +87,12 @@
|
|
|
87
87
|
"tier": "presentation",
|
|
88
88
|
"type": "json"
|
|
89
89
|
},
|
|
90
|
+
"d": {
|
|
91
|
+
"description": "SVG path data in world units relative to the cell's projected top-left — same coordinate convention as `points`.",
|
|
92
|
+
"label": "D",
|
|
93
|
+
"tier": "presentation",
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
90
96
|
"fill": {
|
|
91
97
|
"description": "fill prop",
|
|
92
98
|
"label": "Fill",
|
|
@@ -177,7 +183,8 @@
|
|
|
177
183
|
"cell",
|
|
178
184
|
"rect",
|
|
179
185
|
"ellipse",
|
|
180
|
-
"poly"
|
|
186
|
+
"poly",
|
|
187
|
+
"path"
|
|
181
188
|
]
|
|
182
189
|
},
|
|
183
190
|
"stroke": {
|
|
@@ -234,6 +241,7 @@
|
|
|
234
241
|
"main",
|
|
235
242
|
{
|
|
236
243
|
"anchor": "@config.anchor",
|
|
244
|
+
"d": "@config.d",
|
|
237
245
|
"fill": "@config.fill",
|
|
238
246
|
"height": "@config.height",
|
|
239
247
|
"offsetX": "@config.offsetX",
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"type": "json"
|
|
196
196
|
},
|
|
197
197
|
"height": {
|
|
198
|
-
"description": "Draw height in world units (fractions of `projector.tileWidth`)
|
|
198
|
+
"description": "Draw height in world units (fractions of `projector.tileWidth`). Omitted → one cell on tile grids (`flat`/`iso`/`hex`); native source px on `free`/`side`.",
|
|
199
199
|
"label": "Height",
|
|
200
200
|
"tier": "presentation",
|
|
201
201
|
"type": "number"
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
"type": "json"
|
|
249
249
|
},
|
|
250
250
|
"width": {
|
|
251
|
-
"description": "Draw width in world units (fractions of `projector.tileWidth`)
|
|
251
|
+
"description": "Draw width in world units (fractions of `projector.tileWidth`). Omitted → one cell on tile grids (`flat`/`iso`/`hex`); native source px on `free`/`side`.",
|
|
252
252
|
"label": "Width",
|
|
253
253
|
"tier": "presentation",
|
|
254
254
|
"type": "number"
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "SvgDrawGroup — UI factory (1:1 with the @almadar/ui svg-draw-group pattern).",
|
|
3
|
+
"ledger": {
|
|
4
|
+
"entries": {
|
|
5
|
+
"ent_01KYMKTF35MDDAS1R74C2SG6T5": {
|
|
6
|
+
"bakedName": "SvgDrawGroupItem",
|
|
7
|
+
"curName": "SvgDrawGroupItem",
|
|
8
|
+
"id": "ent_01KYMKTF35MDDAS1R74C2SG6T5",
|
|
9
|
+
"kind": "entity",
|
|
10
|
+
"owner": "workspace",
|
|
11
|
+
"renames": []
|
|
12
|
+
},
|
|
13
|
+
"evt_01KYMKTF3562FXPARGCC220TWE": {
|
|
14
|
+
"bakedName": "INIT",
|
|
15
|
+
"curName": "INIT",
|
|
16
|
+
"id": "evt_01KYMKTF3562FXPARGCC220TWE",
|
|
17
|
+
"kind": "event",
|
|
18
|
+
"owner": "workspace",
|
|
19
|
+
"parent": "trt_01KYMKTF35P7FYP2AJB4689VCN",
|
|
20
|
+
"renames": []
|
|
21
|
+
},
|
|
22
|
+
"orb_01KYMKTF35FTQ5Y8HCZBQPYVZ4": {
|
|
23
|
+
"bakedName": "SvgDrawGroupOrbital",
|
|
24
|
+
"curName": "SvgDrawGroupOrbital",
|
|
25
|
+
"id": "orb_01KYMKTF35FTQ5Y8HCZBQPYVZ4",
|
|
26
|
+
"kind": "orbital",
|
|
27
|
+
"owner": "workspace",
|
|
28
|
+
"renames": []
|
|
29
|
+
},
|
|
30
|
+
"pag_01KYMKTF36J0SESNTGYJ55AZTF": {
|
|
31
|
+
"bakedName": "SvgDrawGroupPage",
|
|
32
|
+
"curName": "SvgDrawGroupPage",
|
|
33
|
+
"id": "pag_01KYMKTF36J0SESNTGYJ55AZTF",
|
|
34
|
+
"kind": "page",
|
|
35
|
+
"owner": "workspace",
|
|
36
|
+
"renames": []
|
|
37
|
+
},
|
|
38
|
+
"trt_01KYMKTF35P7FYP2AJB4689VCN": {
|
|
39
|
+
"bakedName": "SvgDrawGroupRender",
|
|
40
|
+
"curName": "SvgDrawGroupRender",
|
|
41
|
+
"id": "trt_01KYMKTF35P7FYP2AJB4689VCN",
|
|
42
|
+
"kind": "trait",
|
|
43
|
+
"owner": "workspace",
|
|
44
|
+
"renames": []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"schemaVersion": 1
|
|
48
|
+
},
|
|
49
|
+
"name": "ui-svg-draw-group",
|
|
50
|
+
"orbitals": [
|
|
51
|
+
{
|
|
52
|
+
"entity": {
|
|
53
|
+
"fields": [
|
|
54
|
+
{
|
|
55
|
+
"name": "id",
|
|
56
|
+
"required": true,
|
|
57
|
+
"type": "string"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"id": "ent_01KYMKTF35MDDAS1R74C2SG6T5",
|
|
61
|
+
"name": "SvgDrawGroupItem",
|
|
62
|
+
"persistence": "runtime"
|
|
63
|
+
},
|
|
64
|
+
"id": "orb_01KYMKTF35FTQ5Y8HCZBQPYVZ4",
|
|
65
|
+
"name": "SvgDrawGroupOrbital",
|
|
66
|
+
"pages": [
|
|
67
|
+
{
|
|
68
|
+
"id": "pag_01KYMKTF36J0SESNTGYJ55AZTF",
|
|
69
|
+
"name": "SvgDrawGroupPage",
|
|
70
|
+
"path": "/svg-draw-group",
|
|
71
|
+
"traits": [
|
|
72
|
+
{
|
|
73
|
+
"ref": "SvgDrawGroupRender",
|
|
74
|
+
"refId": "trt_01KYMKTF35P7FYP2AJB4689VCN"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"traits": [
|
|
80
|
+
{
|
|
81
|
+
"category": "interaction",
|
|
82
|
+
"config": {
|
|
83
|
+
"children": {
|
|
84
|
+
"description": "children prop",
|
|
85
|
+
"label": "Children",
|
|
86
|
+
"tier": "presentation",
|
|
87
|
+
"type": "node"
|
|
88
|
+
},
|
|
89
|
+
"className": {
|
|
90
|
+
"description": "Additional CSS classes",
|
|
91
|
+
"label": "Class Name",
|
|
92
|
+
"tier": "presentation",
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"opacity": {
|
|
96
|
+
"description": "0..1 opacity.",
|
|
97
|
+
"label": "Opacity",
|
|
98
|
+
"tier": "presentation",
|
|
99
|
+
"type": "number"
|
|
100
|
+
},
|
|
101
|
+
"rotate": {
|
|
102
|
+
"description": "Rotation in degrees applied after the translate.",
|
|
103
|
+
"label": "Rotate",
|
|
104
|
+
"tier": "presentation",
|
|
105
|
+
"type": "number"
|
|
106
|
+
},
|
|
107
|
+
"scale": {
|
|
108
|
+
"description": "Uniform scale applied after the translate.",
|
|
109
|
+
"label": "Scale",
|
|
110
|
+
"tier": "presentation",
|
|
111
|
+
"type": "number"
|
|
112
|
+
},
|
|
113
|
+
"x": {
|
|
114
|
+
"default": 0.0,
|
|
115
|
+
"description": "Grid-cell x of the group's origin.",
|
|
116
|
+
"label": "X",
|
|
117
|
+
"tier": "presentation",
|
|
118
|
+
"type": "number"
|
|
119
|
+
},
|
|
120
|
+
"y": {
|
|
121
|
+
"default": 0.0,
|
|
122
|
+
"description": "Grid-cell y of the group's origin.",
|
|
123
|
+
"label": "Y",
|
|
124
|
+
"tier": "presentation",
|
|
125
|
+
"type": "number"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"entityContract": {
|
|
129
|
+
"provides": [],
|
|
130
|
+
"requires": []
|
|
131
|
+
},
|
|
132
|
+
"entityRebindable": true,
|
|
133
|
+
"entityRefIds": {
|
|
134
|
+
"SvgDrawGroupItem": "ent_01KYMKTF35MDDAS1R74C2SG6T5"
|
|
135
|
+
},
|
|
136
|
+
"id": "trt_01KYMKTF35P7FYP2AJB4689VCN",
|
|
137
|
+
"linkedEntity": "SvgDrawGroupItem",
|
|
138
|
+
"linkedEntityId": "ent_01KYMKTF35MDDAS1R74C2SG6T5",
|
|
139
|
+
"name": "SvgDrawGroupRender",
|
|
140
|
+
"scope": "instance",
|
|
141
|
+
"stateMachine": {
|
|
142
|
+
"events": [
|
|
143
|
+
{
|
|
144
|
+
"id": "evt_01KYMKTF3562FXPARGCC220TWE",
|
|
145
|
+
"key": "INIT",
|
|
146
|
+
"name": "Initialize"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"states": [
|
|
150
|
+
{
|
|
151
|
+
"isInitial": true,
|
|
152
|
+
"name": "idle"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"transitions": [
|
|
156
|
+
{
|
|
157
|
+
"effects": [
|
|
158
|
+
[
|
|
159
|
+
"render-ui",
|
|
160
|
+
"main",
|
|
161
|
+
{
|
|
162
|
+
"children": "@config.children",
|
|
163
|
+
"className": "@config.className",
|
|
164
|
+
"opacity": "@config.opacity",
|
|
165
|
+
"rotate": "@config.rotate",
|
|
166
|
+
"scale": "@config.scale",
|
|
167
|
+
"type": "svg-draw-group",
|
|
168
|
+
"x": "@config.x",
|
|
169
|
+
"y": "@config.y"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
],
|
|
173
|
+
"event": "INIT",
|
|
174
|
+
"eventId": "evt_01KYMKTF3562FXPARGCC220TWE",
|
|
175
|
+
"from": "idle",
|
|
176
|
+
"to": "idle"
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"schemaVersion": 1,
|
|
185
|
+
"version": "1.0.0"
|
|
186
|
+
}
|