@almadar/std 16.158.0 → 16.159.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/ui/core/atoms/std-calendar.lolo +8 -1
- package/behaviors/lolo/ui/core/atoms/std-esign-flow.lolo +8 -1
- package/behaviors/lolo/ui/core/atoms/std-list.lolo +8 -1
- package/behaviors/lolo/ui/core/atoms/std-related.lolo +8 -1
- package/behaviors/lolo/ui/core/atoms/std-selection.lolo +8 -1
- package/behaviors/lolo/ui/game/atoms/std-grid-tactics.lolo +3 -2
- package/behaviors/lolo/ui/game/atoms/ui-draw-group.lolo +39 -0
- package/behaviors/lolo/ui/game/atoms/ui-draw-mesh.lolo +23 -2
- package/behaviors/lolo/ui/game/molecules/std-tactics-board-3d.lolo +3 -2
- package/behaviors/registry/factory-signatures.json +16058 -34167
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +40 -1
- package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +40 -1
- package/behaviors/registry/ui/core/atoms/std-list.orb +40 -1
- package/behaviors/registry/ui/core/atoms/std-related.orb +40 -1
- package/behaviors/registry/ui/core/atoms/std-selection.orb +40 -1
- package/behaviors/registry/ui/game/atoms/std-grid-tactics.orb +218 -2
- package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +114 -0
- package/behaviors/registry/ui/game/atoms/ui-draw-mesh.orb +81 -2
- package/behaviors/registry/ui/game/molecules/std-tactics-board-3d.orb +41 -0
- package/behaviors/registry/ui/game/organisms/ui-sokoban-board.orb +1 -475
- package/dist/behaviors/behaviors-registry.json +155 -1494
- package/dist/behaviors/exports-reader.js +8343 -15544
- package/dist/behaviors/functions/index.d.ts +54 -459
- package/dist/behaviors/functions/index.js +8344 -15530
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +8344 -15545
- package/dist/behaviors/query.js +8343 -15544
- package/dist/behaviors/registry/factory-signatures.json +16058 -34167
- package/dist/behaviors/registry/ui/core/atoms/std-calendar.orb +40 -1
- package/dist/behaviors/registry/ui/core/atoms/std-esign-flow.orb +40 -1
- package/dist/behaviors/registry/ui/core/atoms/std-list.orb +40 -1
- package/dist/behaviors/registry/ui/core/atoms/std-related.orb +40 -1
- package/dist/behaviors/registry/ui/core/atoms/std-selection.orb +40 -1
- package/dist/behaviors/registry/ui/game/atoms/std-grid-tactics.orb +218 -2
- package/dist/behaviors/registry/ui/game/atoms/ui-draw-group.orb +114 -0
- package/dist/behaviors/registry/ui/game/atoms/ui-draw-mesh.orb +81 -2
- package/dist/behaviors/registry/ui/game/molecules/std-tactics-board-3d.orb +41 -0
- package/dist/behaviors/registry/ui/game/organisms/ui-sokoban-board.orb +1 -475
- package/dist/behaviors-registry.json +155 -1494
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8344 -15545
- package/dist/registry/factory-signatures.json +16058 -34167
- package/package.json +4 -4
- package/behaviors/lolo/ui/game/atoms/ui-svg-draw-group.lolo +0 -58
- package/behaviors/lolo/ui/game/atoms/ui-svg-draw-shape.lolo +0 -103
- package/behaviors/lolo/ui/game/atoms/ui-svg-draw-text.lolo +0 -58
- package/behaviors/lolo/ui/game/molecules/ui-svg-draw-shape-layer.lolo +0 -52
- package/behaviors/lolo/ui/game/molecules/ui-svg-stage.lolo +0 -98
- package/behaviors/registry/ui/game/atoms/ui-svg-draw-group.orb +0 -186
- package/behaviors/registry/ui/game/atoms/ui-svg-draw-shape.orb +0 -259
- package/behaviors/registry/ui/game/atoms/ui-svg-draw-text.orb +0 -195
- package/behaviors/registry/ui/game/molecules/ui-svg-draw-shape-layer.orb +0 -188
- package/behaviors/registry/ui/game/molecules/ui-svg-stage.orb +0 -362
- package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-group.orb +0 -186
- package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-shape.orb +0 -259
- package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-text.orb +0 -195
- package/dist/behaviors/registry/ui/game/molecules/ui-svg-draw-shape-layer.orb +0 -188
- package/dist/behaviors/registry/ui/game/molecules/ui-svg-stage.orb +0 -362
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"description": "SvgStage — UI factory (1:1 with the @almadar/ui svg-stage pattern).",
|
|
3
|
-
"ledger": {
|
|
4
|
-
"entries": {
|
|
5
|
-
"ent_01KYMKTFKPV2QRNK6ASWK59WVZ": {
|
|
6
|
-
"bakedName": "SvgStageItem",
|
|
7
|
-
"curName": "SvgStageItem",
|
|
8
|
-
"id": "ent_01KYMKTFKPV2QRNK6ASWK59WVZ",
|
|
9
|
-
"kind": "entity",
|
|
10
|
-
"owner": "workspace",
|
|
11
|
-
"renames": []
|
|
12
|
-
},
|
|
13
|
-
"evt_01KYMKTFKPR2ZPXXA6KCWNCTS3": {
|
|
14
|
-
"bakedName": "INIT",
|
|
15
|
-
"curName": "INIT",
|
|
16
|
-
"id": "evt_01KYMKTFKPR2ZPXXA6KCWNCTS3",
|
|
17
|
-
"kind": "event",
|
|
18
|
-
"owner": "workspace",
|
|
19
|
-
"parent": "trt_01KYMKTFKP4BFAJG32Y4B6306Q",
|
|
20
|
-
"renames": []
|
|
21
|
-
},
|
|
22
|
-
"evt_01KYMKTFKQ0QH8MMXA3M3YMM6X": {
|
|
23
|
-
"bakedName": "@config.tileHoverEvent",
|
|
24
|
-
"curName": "@config.tileHoverEvent",
|
|
25
|
-
"id": "evt_01KYMKTFKQ0QH8MMXA3M3YMM6X",
|
|
26
|
-
"kind": "event",
|
|
27
|
-
"owner": "workspace",
|
|
28
|
-
"parent": "trt_01KYMKTFKP4BFAJG32Y4B6306Q",
|
|
29
|
-
"renames": []
|
|
30
|
-
},
|
|
31
|
-
"evt_01KYMKTFKQ9H8BKC0KQGH2FJ93": {
|
|
32
|
-
"bakedName": "@config.tileLeaveEvent",
|
|
33
|
-
"curName": "@config.tileLeaveEvent",
|
|
34
|
-
"id": "evt_01KYMKTFKQ9H8BKC0KQGH2FJ93",
|
|
35
|
-
"kind": "event",
|
|
36
|
-
"owner": "workspace",
|
|
37
|
-
"parent": "trt_01KYMKTFKP4BFAJG32Y4B6306Q",
|
|
38
|
-
"renames": []
|
|
39
|
-
},
|
|
40
|
-
"evt_01KYMKTFKQJ02SSK9J2QG9DZ2X": {
|
|
41
|
-
"bakedName": "@config.tileClickEvent",
|
|
42
|
-
"curName": "@config.tileClickEvent",
|
|
43
|
-
"id": "evt_01KYMKTFKQJ02SSK9J2QG9DZ2X",
|
|
44
|
-
"kind": "event",
|
|
45
|
-
"owner": "workspace",
|
|
46
|
-
"parent": "trt_01KYMKTFKP4BFAJG32Y4B6306Q",
|
|
47
|
-
"renames": []
|
|
48
|
-
},
|
|
49
|
-
"orb_01KYMKTFKPDBTDR7FRE565XPHD": {
|
|
50
|
-
"bakedName": "SvgStageOrbital",
|
|
51
|
-
"curName": "SvgStageOrbital",
|
|
52
|
-
"id": "orb_01KYMKTFKPDBTDR7FRE565XPHD",
|
|
53
|
-
"kind": "orbital",
|
|
54
|
-
"owner": "workspace",
|
|
55
|
-
"renames": []
|
|
56
|
-
},
|
|
57
|
-
"pag_01KYMKTFKR13VTRW51EBDYJJDB": {
|
|
58
|
-
"bakedName": "SvgStagePage",
|
|
59
|
-
"curName": "SvgStagePage",
|
|
60
|
-
"id": "pag_01KYMKTFKR13VTRW51EBDYJJDB",
|
|
61
|
-
"kind": "page",
|
|
62
|
-
"owner": "workspace",
|
|
63
|
-
"renames": []
|
|
64
|
-
},
|
|
65
|
-
"trt_01KYMKTFKP4BFAJG32Y4B6306Q": {
|
|
66
|
-
"bakedName": "SvgStageRender",
|
|
67
|
-
"curName": "SvgStageRender",
|
|
68
|
-
"id": "trt_01KYMKTFKP4BFAJG32Y4B6306Q",
|
|
69
|
-
"kind": "trait",
|
|
70
|
-
"owner": "workspace",
|
|
71
|
-
"renames": []
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"schemaVersion": 1
|
|
75
|
-
},
|
|
76
|
-
"name": "ui-svg-stage",
|
|
77
|
-
"orbitals": [
|
|
78
|
-
{
|
|
79
|
-
"entity": {
|
|
80
|
-
"fields": [
|
|
81
|
-
{
|
|
82
|
-
"name": "id",
|
|
83
|
-
"required": true,
|
|
84
|
-
"type": "string"
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"id": "ent_01KYMKTFKPV2QRNK6ASWK59WVZ",
|
|
88
|
-
"name": "SvgStageItem",
|
|
89
|
-
"persistence": "runtime"
|
|
90
|
-
},
|
|
91
|
-
"id": "orb_01KYMKTFKPDBTDR7FRE565XPHD",
|
|
92
|
-
"name": "SvgStageOrbital",
|
|
93
|
-
"pages": [
|
|
94
|
-
{
|
|
95
|
-
"id": "pag_01KYMKTFKR13VTRW51EBDYJJDB",
|
|
96
|
-
"name": "SvgStagePage",
|
|
97
|
-
"path": "/svg-stage",
|
|
98
|
-
"traits": [
|
|
99
|
-
{
|
|
100
|
-
"ref": "SvgStageRender",
|
|
101
|
-
"refId": "trt_01KYMKTFKP4BFAJG32Y4B6306Q"
|
|
102
|
-
}
|
|
103
|
-
]
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"traits": [
|
|
107
|
-
{
|
|
108
|
-
"category": "interaction",
|
|
109
|
-
"config": {
|
|
110
|
-
"background": {
|
|
111
|
-
"default": "var(--color-background)",
|
|
112
|
-
"description": "Background rect fill (default `var(--color-background)`).",
|
|
113
|
-
"label": "Background",
|
|
114
|
-
"tier": "presentation",
|
|
115
|
-
"type": "string"
|
|
116
|
-
},
|
|
117
|
-
"children": {
|
|
118
|
-
"description": "children prop",
|
|
119
|
-
"label": "Children",
|
|
120
|
-
"tier": "presentation",
|
|
121
|
-
"type": "node"
|
|
122
|
-
},
|
|
123
|
-
"className": {
|
|
124
|
-
"description": "Additional CSS classes",
|
|
125
|
-
"label": "Class Name",
|
|
126
|
-
"tier": "presentation",
|
|
127
|
-
"type": "string"
|
|
128
|
-
},
|
|
129
|
-
"cols": {
|
|
130
|
-
"default": 1.0,
|
|
131
|
-
"description": "Grid width in cells.",
|
|
132
|
-
"label": "Cols",
|
|
133
|
-
"tier": "presentation",
|
|
134
|
-
"type": "number"
|
|
135
|
-
},
|
|
136
|
-
"keyMap": {
|
|
137
|
-
"default": {
|
|
138
|
-
"item": "Item"
|
|
139
|
-
},
|
|
140
|
-
"description": "Keyboard → semantic events: `e.code` → event name, emitted as `UI:<event>` with `{}`.",
|
|
141
|
-
"items": {
|
|
142
|
-
"type": "string"
|
|
143
|
-
},
|
|
144
|
-
"label": "Key Map",
|
|
145
|
-
"tier": "presentation",
|
|
146
|
-
"type": "Map<string,string>"
|
|
147
|
-
},
|
|
148
|
-
"keyUpMap": {
|
|
149
|
-
"default": {
|
|
150
|
-
"item": "Item"
|
|
151
|
-
},
|
|
152
|
-
"description": "Keyup counterpart of `keyMap`.",
|
|
153
|
-
"items": {
|
|
154
|
-
"type": "string"
|
|
155
|
-
},
|
|
156
|
-
"label": "Key Up Map",
|
|
157
|
-
"tier": "presentation",
|
|
158
|
-
"type": "Map<string,string>"
|
|
159
|
-
},
|
|
160
|
-
"rows": {
|
|
161
|
-
"default": 1.0,
|
|
162
|
-
"description": "Grid height in cells.",
|
|
163
|
-
"label": "Rows",
|
|
164
|
-
"tier": "presentation",
|
|
165
|
-
"type": "number"
|
|
166
|
-
},
|
|
167
|
-
"tileClickEvent": {
|
|
168
|
-
"default": "TILE_CLICK",
|
|
169
|
-
"description": "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer up (<5px drag).",
|
|
170
|
-
"label": "Tile Click Event",
|
|
171
|
-
"tier": "presentation",
|
|
172
|
-
"type": "string"
|
|
173
|
-
},
|
|
174
|
-
"tileHoverEvent": {
|
|
175
|
-
"default": "TILE_HOVER",
|
|
176
|
-
"description": "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer move.",
|
|
177
|
-
"label": "Tile Hover Event",
|
|
178
|
-
"tier": "presentation",
|
|
179
|
-
"type": "string"
|
|
180
|
-
},
|
|
181
|
-
"tileLeaveEvent": {
|
|
182
|
-
"default": "TILE_LEAVE",
|
|
183
|
-
"description": "Emitted as `UI:<event>` with `{}` when the pointer leaves the stage.",
|
|
184
|
-
"label": "Tile Leave Event",
|
|
185
|
-
"tier": "presentation",
|
|
186
|
-
"type": "string"
|
|
187
|
-
},
|
|
188
|
-
"tileSize": {
|
|
189
|
-
"default": 32.0,
|
|
190
|
-
"description": "ViewBox units per cell (default 32); viewBox is `0 0 cols*tileSize rows*tileSize`.",
|
|
191
|
-
"label": "Tile Size",
|
|
192
|
-
"tier": "presentation",
|
|
193
|
-
"type": "number"
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
"emits": [
|
|
197
|
-
{
|
|
198
|
-
"description": "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer up (<5px drag).",
|
|
199
|
-
"event": "@config.tileClickEvent",
|
|
200
|
-
"eventId": "evt_01KYMKTFKQJ02SSK9J2QG9DZ2X",
|
|
201
|
-
"payloadSchema": [
|
|
202
|
-
{
|
|
203
|
-
"name": "x",
|
|
204
|
-
"required": true,
|
|
205
|
-
"type": "number"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"name": "y",
|
|
209
|
-
"required": true,
|
|
210
|
-
"type": "number"
|
|
211
|
-
}
|
|
212
|
-
],
|
|
213
|
-
"scope": "external",
|
|
214
|
-
"tier": "essential"
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
"description": "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer move.",
|
|
218
|
-
"event": "@config.tileHoverEvent",
|
|
219
|
-
"eventId": "evt_01KYMKTFKQ0QH8MMXA3M3YMM6X",
|
|
220
|
-
"payloadSchema": [
|
|
221
|
-
{
|
|
222
|
-
"name": "x",
|
|
223
|
-
"required": true,
|
|
224
|
-
"type": "number"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"name": "y",
|
|
228
|
-
"required": true,
|
|
229
|
-
"type": "number"
|
|
230
|
-
}
|
|
231
|
-
],
|
|
232
|
-
"scope": "external",
|
|
233
|
-
"tier": "essential"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"description": "Emitted as `UI:<event>` with `{}` when the pointer leaves the stage.",
|
|
237
|
-
"event": "@config.tileLeaveEvent",
|
|
238
|
-
"eventId": "evt_01KYMKTFKQ9H8BKC0KQGH2FJ93",
|
|
239
|
-
"payloadSchema": [
|
|
240
|
-
{
|
|
241
|
-
"name": "id",
|
|
242
|
-
"type": "string"
|
|
243
|
-
}
|
|
244
|
-
],
|
|
245
|
-
"scope": "external",
|
|
246
|
-
"tier": "essential"
|
|
247
|
-
}
|
|
248
|
-
],
|
|
249
|
-
"entityContract": {
|
|
250
|
-
"provides": [],
|
|
251
|
-
"requires": []
|
|
252
|
-
},
|
|
253
|
-
"entityRebindable": true,
|
|
254
|
-
"entityRefIds": {
|
|
255
|
-
"SvgStageItem": "ent_01KYMKTFKPV2QRNK6ASWK59WVZ"
|
|
256
|
-
},
|
|
257
|
-
"id": "trt_01KYMKTFKP4BFAJG32Y4B6306Q",
|
|
258
|
-
"linkedEntity": "SvgStageItem",
|
|
259
|
-
"linkedEntityId": "ent_01KYMKTFKPV2QRNK6ASWK59WVZ",
|
|
260
|
-
"name": "SvgStageRender",
|
|
261
|
-
"scope": "instance",
|
|
262
|
-
"stateMachine": {
|
|
263
|
-
"events": [
|
|
264
|
-
{
|
|
265
|
-
"id": "evt_01KYMKTFKPR2ZPXXA6KCWNCTS3",
|
|
266
|
-
"key": "INIT",
|
|
267
|
-
"name": "Initialize"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"description": "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer up (<5px drag).",
|
|
271
|
-
"id": "evt_01KYMKTFKQJ02SSK9J2QG9DZ2X",
|
|
272
|
-
"key": "@config.tileClickEvent",
|
|
273
|
-
"name": "@config.tile click event",
|
|
274
|
-
"payloadSchema": [
|
|
275
|
-
{
|
|
276
|
-
"name": "x",
|
|
277
|
-
"required": true,
|
|
278
|
-
"type": "number"
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"name": "y",
|
|
282
|
-
"required": true,
|
|
283
|
-
"type": "number"
|
|
284
|
-
}
|
|
285
|
-
],
|
|
286
|
-
"tier": "essential"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"description": "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer move.",
|
|
290
|
-
"id": "evt_01KYMKTFKQ0QH8MMXA3M3YMM6X",
|
|
291
|
-
"key": "@config.tileHoverEvent",
|
|
292
|
-
"name": "@config.tile hover event",
|
|
293
|
-
"payloadSchema": [
|
|
294
|
-
{
|
|
295
|
-
"name": "x",
|
|
296
|
-
"required": true,
|
|
297
|
-
"type": "number"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"name": "y",
|
|
301
|
-
"required": true,
|
|
302
|
-
"type": "number"
|
|
303
|
-
}
|
|
304
|
-
],
|
|
305
|
-
"tier": "essential"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"description": "Emitted as `UI:<event>` with `{}` when the pointer leaves the stage.",
|
|
309
|
-
"id": "evt_01KYMKTFKQ9H8BKC0KQGH2FJ93",
|
|
310
|
-
"key": "@config.tileLeaveEvent",
|
|
311
|
-
"name": "@config.tile leave event",
|
|
312
|
-
"payloadSchema": [
|
|
313
|
-
{
|
|
314
|
-
"name": "id",
|
|
315
|
-
"type": "string"
|
|
316
|
-
}
|
|
317
|
-
],
|
|
318
|
-
"tier": "essential"
|
|
319
|
-
}
|
|
320
|
-
],
|
|
321
|
-
"states": [
|
|
322
|
-
{
|
|
323
|
-
"isInitial": true,
|
|
324
|
-
"name": "idle"
|
|
325
|
-
}
|
|
326
|
-
],
|
|
327
|
-
"transitions": [
|
|
328
|
-
{
|
|
329
|
-
"effects": [
|
|
330
|
-
[
|
|
331
|
-
"render-ui",
|
|
332
|
-
"main",
|
|
333
|
-
{
|
|
334
|
-
"background": "@config.background",
|
|
335
|
-
"children": "@config.children",
|
|
336
|
-
"className": "@config.className",
|
|
337
|
-
"cols": "@config.cols",
|
|
338
|
-
"keyMap": "@config.keyMap",
|
|
339
|
-
"keyUpMap": "@config.keyUpMap",
|
|
340
|
-
"rows": "@config.rows",
|
|
341
|
-
"tileClickEvent": "@config.tileClickEvent",
|
|
342
|
-
"tileHoverEvent": "@config.tileHoverEvent",
|
|
343
|
-
"tileLeaveEvent": "@config.tileLeaveEvent",
|
|
344
|
-
"tileSize": "@config.tileSize",
|
|
345
|
-
"type": "svg-stage"
|
|
346
|
-
}
|
|
347
|
-
]
|
|
348
|
-
],
|
|
349
|
-
"event": "INIT",
|
|
350
|
-
"eventId": "evt_01KYMKTFKPR2ZPXXA6KCWNCTS3",
|
|
351
|
-
"from": "idle",
|
|
352
|
-
"to": "idle"
|
|
353
|
-
}
|
|
354
|
-
]
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
]
|
|
358
|
-
}
|
|
359
|
-
],
|
|
360
|
-
"schemaVersion": 1,
|
|
361
|
-
"version": "1.0.0"
|
|
362
|
-
}
|