@almadar/std 16.158.0 → 16.160.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
|
@@ -80,6 +80,100 @@
|
|
|
80
80
|
{
|
|
81
81
|
"category": "interaction",
|
|
82
82
|
"config": {
|
|
83
|
+
"animation": {
|
|
84
|
+
"description": "Keyframe animation over the group TRANSFORM tracks (`offsetX/Y/Z` in cells, `rotateX/Y/Z` in radians, `scale`; the 2D painter also honors `opacity`) — children inherit it, so nested animated groups form a joint chain. Material tracks belong on leaf meshes.",
|
|
85
|
+
"label": "Animation",
|
|
86
|
+
"properties": {
|
|
87
|
+
"durationMs": {
|
|
88
|
+
"name": "durationMs",
|
|
89
|
+
"required": true,
|
|
90
|
+
"type": "number"
|
|
91
|
+
},
|
|
92
|
+
"keyframes": {
|
|
93
|
+
"items": {
|
|
94
|
+
"properties": {
|
|
95
|
+
"at": {
|
|
96
|
+
"name": "at",
|
|
97
|
+
"required": true,
|
|
98
|
+
"type": "number"
|
|
99
|
+
},
|
|
100
|
+
"color": {
|
|
101
|
+
"name": "color",
|
|
102
|
+
"required": false,
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
105
|
+
"emissive": {
|
|
106
|
+
"name": "emissive",
|
|
107
|
+
"required": false,
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"emissiveIntensity": {
|
|
111
|
+
"name": "emissiveIntensity",
|
|
112
|
+
"required": false,
|
|
113
|
+
"type": "number"
|
|
114
|
+
},
|
|
115
|
+
"offsetX": {
|
|
116
|
+
"name": "offsetX",
|
|
117
|
+
"required": false,
|
|
118
|
+
"type": "number"
|
|
119
|
+
},
|
|
120
|
+
"offsetY": {
|
|
121
|
+
"name": "offsetY",
|
|
122
|
+
"required": false,
|
|
123
|
+
"type": "number"
|
|
124
|
+
},
|
|
125
|
+
"offsetZ": {
|
|
126
|
+
"name": "offsetZ",
|
|
127
|
+
"required": false,
|
|
128
|
+
"type": "number"
|
|
129
|
+
},
|
|
130
|
+
"opacity": {
|
|
131
|
+
"name": "opacity",
|
|
132
|
+
"required": false,
|
|
133
|
+
"type": "number"
|
|
134
|
+
},
|
|
135
|
+
"rotateX": {
|
|
136
|
+
"name": "rotateX",
|
|
137
|
+
"required": false,
|
|
138
|
+
"type": "number"
|
|
139
|
+
},
|
|
140
|
+
"rotateY": {
|
|
141
|
+
"name": "rotateY",
|
|
142
|
+
"required": false,
|
|
143
|
+
"type": "number"
|
|
144
|
+
},
|
|
145
|
+
"rotateZ": {
|
|
146
|
+
"name": "rotateZ",
|
|
147
|
+
"required": false,
|
|
148
|
+
"type": "number"
|
|
149
|
+
},
|
|
150
|
+
"scale": {
|
|
151
|
+
"name": "scale",
|
|
152
|
+
"required": false,
|
|
153
|
+
"type": "number"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"type": "object"
|
|
157
|
+
},
|
|
158
|
+
"name": "keyframes",
|
|
159
|
+
"required": true,
|
|
160
|
+
"type": "array"
|
|
161
|
+
},
|
|
162
|
+
"loop": {
|
|
163
|
+
"name": "loop",
|
|
164
|
+
"required": false,
|
|
165
|
+
"type": "boolean"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"tier": "presentation",
|
|
169
|
+
"type": "DrawGroupAnimation"
|
|
170
|
+
},
|
|
171
|
+
"bone": {
|
|
172
|
+
"description": "Skeleton bone name. A named group is addressable by a `draw-mesh` `skin` block (smooth skinning): the skinned mesh deforms with this group's animated transform. Names resolve within the nearest enclosing `skeleton: true` group (falling back to the canvas), so multiple instances of one rig never collide. Distinct from `id` (the hit-test handle).",
|
|
173
|
+
"label": "Bone",
|
|
174
|
+
"tier": "presentation",
|
|
175
|
+
"type": "string"
|
|
176
|
+
},
|
|
83
177
|
"clip": {
|
|
84
178
|
"description": "Clip the group's items to an SVG path (`d` syntax) in world units relative to the group origin — masked reveals, meters, portraits.",
|
|
85
179
|
"label": "Clip",
|
|
@@ -136,11 +230,27 @@
|
|
|
136
230
|
"tier": "presentation",
|
|
137
231
|
"type": "number"
|
|
138
232
|
},
|
|
233
|
+
"rotation": {
|
|
234
|
+
"default": [],
|
|
235
|
+
"description": "Euler rotation `[x, y, z]` in radians (world axes) — per-axis joint rotation for the 3D backend; a group placed at a joint with children authored joint-local IS a bone. The 2D painter applies only the in-plane `z` component, after `rotate`.",
|
|
236
|
+
"items": {
|
|
237
|
+
"type": "number"
|
|
238
|
+
},
|
|
239
|
+
"label": "Rotation",
|
|
240
|
+
"tier": "presentation",
|
|
241
|
+
"type": "[number]"
|
|
242
|
+
},
|
|
139
243
|
"scale": {
|
|
140
244
|
"description": "Uniform scale applied to the whole group.",
|
|
141
245
|
"label": "Scale",
|
|
142
246
|
"tier": "presentation",
|
|
143
247
|
"type": "number"
|
|
248
|
+
},
|
|
249
|
+
"skeleton": {
|
|
250
|
+
"description": "Marks this group as a skeleton SCOPE: `bone` names and `skin` bindings in its subtree resolve against each other only — one scope per rig instance.",
|
|
251
|
+
"label": "Skeleton",
|
|
252
|
+
"tier": "presentation",
|
|
253
|
+
"type": "boolean"
|
|
144
254
|
}
|
|
145
255
|
},
|
|
146
256
|
"entityContract": {
|
|
@@ -177,12 +287,16 @@
|
|
|
177
287
|
"render-ui",
|
|
178
288
|
"main",
|
|
179
289
|
{
|
|
290
|
+
"animation": "@config.animation",
|
|
291
|
+
"bone": "@config.bone",
|
|
180
292
|
"clip": "@config.clip",
|
|
181
293
|
"items": "@config.items",
|
|
182
294
|
"opacity": "@config.opacity",
|
|
183
295
|
"position": "@config.position",
|
|
184
296
|
"rotate": "@config.rotate",
|
|
297
|
+
"rotation": "@config.rotation",
|
|
185
298
|
"scale": "@config.scale",
|
|
299
|
+
"skeleton": "@config.skeleton",
|
|
186
300
|
"type": "draw-group"
|
|
187
301
|
}
|
|
188
302
|
]
|
|
@@ -180,6 +180,19 @@
|
|
|
180
180
|
"tier": "presentation",
|
|
181
181
|
"type": "number"
|
|
182
182
|
},
|
|
183
|
+
"faces": {
|
|
184
|
+
"default": [],
|
|
185
|
+
"description": "`polyhedron` only: triangle index triples into `vertices`, wound counter-clockwise seen from OUTSIDE in the scene frame.",
|
|
186
|
+
"items": {
|
|
187
|
+
"items": {
|
|
188
|
+
"type": "number"
|
|
189
|
+
},
|
|
190
|
+
"type": "array"
|
|
191
|
+
},
|
|
192
|
+
"label": "Faces",
|
|
193
|
+
"tier": "presentation",
|
|
194
|
+
"type": "[[number]]"
|
|
195
|
+
},
|
|
183
196
|
"height": {
|
|
184
197
|
"description": "Box Y (height) extent / capsule-cylinder-cone length in cells (default 1).",
|
|
185
198
|
"label": "Height",
|
|
@@ -286,7 +299,7 @@
|
|
|
286
299
|
},
|
|
287
300
|
"pivot": {
|
|
288
301
|
"default": "bottom",
|
|
289
|
-
"description": "`bottom` (default) rests the mesh on its position's ground plane; `center` centers it there.",
|
|
302
|
+
"description": "`bottom` (default) rests the mesh on its position's ground plane; `center` centers it there. For `polyhedron`, `bottom` lifts by −min(z) and `center` applies no offset — the vertices are authoritative.",
|
|
290
303
|
"label": "Pivot",
|
|
291
304
|
"tier": "presentation",
|
|
292
305
|
"type": "string",
|
|
@@ -377,15 +390,78 @@
|
|
|
377
390
|
"cone",
|
|
378
391
|
"torus",
|
|
379
392
|
"plane",
|
|
380
|
-
"circle"
|
|
393
|
+
"circle",
|
|
394
|
+
"polyhedron"
|
|
381
395
|
]
|
|
382
396
|
},
|
|
397
|
+
"skin": {
|
|
398
|
+
"description": "`polyhedron` only: smooth-skinning weights binding the vertices to named bone groups. Vertices must then be authored in BIND POSE model space; the bones' animated transforms deform them.",
|
|
399
|
+
"label": "Skin",
|
|
400
|
+
"properties": {
|
|
401
|
+
"bones": {
|
|
402
|
+
"items": {
|
|
403
|
+
"type": "string"
|
|
404
|
+
},
|
|
405
|
+
"name": "bones",
|
|
406
|
+
"required": true,
|
|
407
|
+
"type": "array"
|
|
408
|
+
},
|
|
409
|
+
"indices": {
|
|
410
|
+
"items": {
|
|
411
|
+
"items": {
|
|
412
|
+
"type": "number"
|
|
413
|
+
},
|
|
414
|
+
"type": "array"
|
|
415
|
+
},
|
|
416
|
+
"name": "indices",
|
|
417
|
+
"required": true,
|
|
418
|
+
"type": "array"
|
|
419
|
+
},
|
|
420
|
+
"inverseBindMatrices": {
|
|
421
|
+
"items": {
|
|
422
|
+
"items": {
|
|
423
|
+
"type": "number"
|
|
424
|
+
},
|
|
425
|
+
"type": "array"
|
|
426
|
+
},
|
|
427
|
+
"name": "inverseBindMatrices",
|
|
428
|
+
"required": true,
|
|
429
|
+
"type": "array"
|
|
430
|
+
},
|
|
431
|
+
"weights": {
|
|
432
|
+
"items": {
|
|
433
|
+
"items": {
|
|
434
|
+
"type": "number"
|
|
435
|
+
},
|
|
436
|
+
"type": "array"
|
|
437
|
+
},
|
|
438
|
+
"name": "weights",
|
|
439
|
+
"required": true,
|
|
440
|
+
"type": "array"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"tier": "presentation",
|
|
444
|
+
"type": "DrawMeshSkin"
|
|
445
|
+
},
|
|
383
446
|
"tube": {
|
|
384
447
|
"description": "Torus tube radius in cells (default `radius` / 3).",
|
|
385
448
|
"label": "Tube",
|
|
386
449
|
"tier": "presentation",
|
|
387
450
|
"type": "number"
|
|
388
451
|
},
|
|
452
|
+
"vertices": {
|
|
453
|
+
"default": [],
|
|
454
|
+
"description": "`polyhedron` only: raw vertices as scene-frame `[x, y, z]` triples in cells, `z` = up.",
|
|
455
|
+
"items": {
|
|
456
|
+
"items": {
|
|
457
|
+
"type": "number"
|
|
458
|
+
},
|
|
459
|
+
"type": "array"
|
|
460
|
+
},
|
|
461
|
+
"label": "Vertices",
|
|
462
|
+
"tier": "presentation",
|
|
463
|
+
"type": "[[number]]"
|
|
464
|
+
},
|
|
389
465
|
"width": {
|
|
390
466
|
"description": "Box/plane X extent in cells (default 1).",
|
|
391
467
|
"label": "Width",
|
|
@@ -430,6 +506,7 @@
|
|
|
430
506
|
"animation": "@config.animation",
|
|
431
507
|
"castShadow": "@config.castShadow",
|
|
432
508
|
"depth": "@config.depth",
|
|
509
|
+
"faces": "@config.faces",
|
|
433
510
|
"height": "@config.height",
|
|
434
511
|
"material": "@config.material",
|
|
435
512
|
"opacity": "@config.opacity",
|
|
@@ -443,8 +520,10 @@
|
|
|
443
520
|
"rotation": "@config.rotation",
|
|
444
521
|
"segments": "@config.segments",
|
|
445
522
|
"shape": "@config.shape",
|
|
523
|
+
"skin": "@config.skin",
|
|
446
524
|
"tube": "@config.tube",
|
|
447
525
|
"type": "draw-mesh",
|
|
526
|
+
"vertices": "@config.vertices",
|
|
448
527
|
"width": "@config.width"
|
|
449
528
|
}
|
|
450
529
|
]
|
|
@@ -338,6 +338,11 @@
|
|
|
338
338
|
"required": false,
|
|
339
339
|
"type": "number"
|
|
340
340
|
},
|
|
341
|
+
"yaw": {
|
|
342
|
+
"name": "yaw",
|
|
343
|
+
"required": false,
|
|
344
|
+
"type": "number"
|
|
345
|
+
},
|
|
341
346
|
"z": {
|
|
342
347
|
"name": "z",
|
|
343
348
|
"required": false,
|
|
@@ -2181,6 +2186,24 @@
|
|
|
2181
2186
|
"z"
|
|
2182
2187
|
]
|
|
2183
2188
|
},
|
|
2189
|
+
"rotate": [
|
|
2190
|
+
"-",
|
|
2191
|
+
0.0,
|
|
2192
|
+
[
|
|
2193
|
+
"if",
|
|
2194
|
+
[
|
|
2195
|
+
"object/get",
|
|
2196
|
+
"@u",
|
|
2197
|
+
"yaw"
|
|
2198
|
+
],
|
|
2199
|
+
[
|
|
2200
|
+
"object/get",
|
|
2201
|
+
"@u",
|
|
2202
|
+
"yaw"
|
|
2203
|
+
],
|
|
2204
|
+
0.0
|
|
2205
|
+
]
|
|
2206
|
+
],
|
|
2184
2207
|
"scale": "@config.meshUnitScale",
|
|
2185
2208
|
"type": "draw-group"
|
|
2186
2209
|
}
|
|
@@ -3583,6 +3606,24 @@
|
|
|
3583
3606
|
"z"
|
|
3584
3607
|
]
|
|
3585
3608
|
},
|
|
3609
|
+
"rotate": [
|
|
3610
|
+
"-",
|
|
3611
|
+
0.0,
|
|
3612
|
+
[
|
|
3613
|
+
"if",
|
|
3614
|
+
[
|
|
3615
|
+
"object/get",
|
|
3616
|
+
"@u",
|
|
3617
|
+
"yaw"
|
|
3618
|
+
],
|
|
3619
|
+
[
|
|
3620
|
+
"object/get",
|
|
3621
|
+
"@u",
|
|
3622
|
+
"yaw"
|
|
3623
|
+
],
|
|
3624
|
+
0.0
|
|
3625
|
+
]
|
|
3626
|
+
],
|
|
3586
3627
|
"scale": "@config.meshUnitScale",
|
|
3587
3628
|
"type": "draw-group"
|
|
3588
3629
|
}
|