@almadar/std 16.150.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 (93) hide show
  1. package/behaviors/lolo/ui/core/atoms/std-app-search.lolo +18 -0
  2. package/behaviors/lolo/ui/core/atoms/std-board.lolo +1 -1
  3. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +39 -10
  4. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +13 -1
  5. package/behaviors/lolo/ui/core/atoms/std-multi-party-flow.lolo +8 -10
  6. package/behaviors/lolo/ui/core/atoms/std-stats.lolo +3 -0
  7. package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +6 -1
  8. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +4 -2
  9. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +27 -1
  10. package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +57 -0
  11. package/behaviors/lolo/ui/core/molecules/ui-simple-grid.lolo +2 -2
  12. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +3 -1
  13. package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +4 -2
  14. package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +2 -0
  15. package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +3 -1
  16. package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +3 -1
  17. package/behaviors/lolo/ui/game/atoms/ui-draw-group.lolo +54 -0
  18. package/behaviors/lolo/ui/game/atoms/ui-draw-shape.lolo +6 -1
  19. package/behaviors/lolo/ui/game/atoms/ui-svg-draw-group.lolo +58 -0
  20. package/behaviors/lolo/ui/game/atoms/ui-svg-draw-shape.lolo +103 -0
  21. package/behaviors/lolo/ui/game/atoms/ui-svg-draw-text.lolo +58 -0
  22. package/behaviors/lolo/ui/game/molecules/ui-draw-shape-layer.lolo +3 -2
  23. package/behaviors/lolo/ui/game/molecules/ui-svg-draw-shape-layer.lolo +52 -0
  24. package/behaviors/lolo/ui/game/molecules/ui-svg-stage.lolo +98 -0
  25. package/behaviors/lolo/ui/learning/atoms/std-branching-logic.lolo +0 -28
  26. package/behaviors/registry/factory-signatures.json +2435 -782
  27. package/behaviors/registry/ui/core/atoms/std-app-search.orb +60 -0
  28. package/behaviors/registry/ui/core/atoms/std-board.orb +1 -1
  29. package/behaviors/registry/ui/core/atoms/std-browse.orb +242 -35
  30. package/behaviors/registry/ui/core/atoms/std-calendar.orb +25 -1
  31. package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +8 -10
  32. package/behaviors/registry/ui/core/atoms/std-stats.orb +27 -0
  33. package/behaviors/registry/ui/core/atoms/ui-typography.orb +17 -1
  34. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +39 -2
  35. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +71 -1
  36. package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +296 -0
  37. package/behaviors/registry/ui/core/molecules/ui-simple-grid.orb +0 -2
  38. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +34 -1
  39. package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +49 -2
  40. package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +2 -0
  41. package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +54 -1
  42. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +33 -1
  43. package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +196 -0
  44. package/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +9 -1
  45. package/behaviors/registry/ui/game/atoms/ui-svg-draw-group.orb +186 -0
  46. package/behaviors/registry/ui/game/atoms/ui-svg-draw-shape.orb +259 -0
  47. package/behaviors/registry/ui/game/atoms/ui-svg-draw-text.orb +195 -0
  48. package/behaviors/registry/ui/game/molecules/ui-draw-shape-layer.orb +9 -1
  49. package/behaviors/registry/ui/game/molecules/ui-svg-draw-shape-layer.orb +188 -0
  50. package/behaviors/registry/ui/game/molecules/ui-svg-stage.orb +362 -0
  51. package/behaviors/registry/ui/learning/atoms/std-branching-logic.orb +0 -34
  52. package/dist/behaviors/behaviors-embeddings.json +476 -452
  53. package/dist/behaviors/behaviors-registry.json +2814 -877
  54. package/dist/behaviors/exports-reader.js +143 -4
  55. package/dist/behaviors/functions/index.d.ts +33 -20
  56. package/dist/behaviors/functions/index.js +143 -4
  57. package/dist/behaviors/index.d.ts +1 -1
  58. package/dist/behaviors/index.js +143 -4
  59. package/dist/behaviors/knob-embeddings.json +1 -1
  60. package/dist/behaviors/query.js +143 -4
  61. package/dist/behaviors/registry/factory-signatures.json +2435 -782
  62. package/dist/behaviors/registry/ui/core/atoms/std-app-search.orb +60 -0
  63. package/dist/behaviors/registry/ui/core/atoms/std-board.orb +1 -1
  64. package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +242 -35
  65. package/dist/behaviors/registry/ui/core/atoms/std-calendar.orb +25 -1
  66. package/dist/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +8 -10
  67. package/dist/behaviors/registry/ui/core/atoms/std-stats.orb +27 -0
  68. package/dist/behaviors/registry/ui/core/atoms/ui-typography.orb +17 -1
  69. package/dist/behaviors/registry/ui/core/molecules/ui-data-grid.orb +39 -2
  70. package/dist/behaviors/registry/ui/core/molecules/ui-data-list.orb +71 -1
  71. package/dist/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +296 -0
  72. package/dist/behaviors/registry/ui/core/molecules/ui-simple-grid.orb +0 -2
  73. package/dist/behaviors/registry/ui/core/molecules/ui-table-view.orb +34 -1
  74. package/dist/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +49 -2
  75. package/dist/behaviors/registry/ui/core/organisms/ui-entity-list.orb +2 -0
  76. package/dist/behaviors/registry/ui/core/organisms/ui-entity-table.orb +54 -1
  77. package/dist/behaviors/registry/ui/core/organisms/ui-timeline.orb +33 -1
  78. package/dist/behaviors/registry/ui/game/atoms/ui-draw-group.orb +196 -0
  79. package/dist/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +9 -1
  80. package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-group.orb +186 -0
  81. package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-shape.orb +259 -0
  82. package/dist/behaviors/registry/ui/game/atoms/ui-svg-draw-text.orb +195 -0
  83. package/dist/behaviors/registry/ui/game/molecules/ui-draw-shape-layer.orb +9 -1
  84. package/dist/behaviors/registry/ui/game/molecules/ui-svg-draw-shape-layer.orb +188 -0
  85. package/dist/behaviors/registry/ui/game/molecules/ui-svg-stage.orb +362 -0
  86. package/dist/behaviors/registry/ui/learning/atoms/std-branching-logic.orb +0 -34
  87. package/dist/behaviors-embeddings.json +476 -452
  88. package/dist/behaviors-registry.json +2814 -877
  89. package/dist/index.d.ts +1 -1
  90. package/dist/index.js +143 -4
  91. package/dist/knob-embeddings.json +1 -1
  92. package/dist/registry/factory-signatures.json +2435 -782
  93. package/package.json +3 -3
@@ -0,0 +1,362 @@
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
+ }
@@ -484,40 +484,6 @@
484
484
  "gap": "sm",
485
485
  "type": "stack"
486
486
  },
487
- {
488
- "children": [
489
- {
490
- "icon": "git-branch",
491
- "label": "Total rules",
492
- "look": "@config.statLook",
493
- "type": "stat-display",
494
- "value": "@payload.data.length"
495
- },
496
- {
497
- "icon": "clipboard-list",
498
- "label": "Active surveys",
499
- "look": "@config.statLook",
500
- "type": "stat-display",
501
- "value": "8"
502
- },
503
- {
504
- "icon": "skip-forward",
505
- "label": "Skip jumps",
506
- "look": "@config.statLook",
507
- "type": "stat-display",
508
- "value": "42"
509
- },
510
- {
511
- "icon": "trending-up",
512
- "label": "Priority avg",
513
- "look": "@config.statLook",
514
- "type": "stat-display",
515
- "value": "3"
516
- }
517
- ],
518
- "cols": 4.0,
519
- "type": "simple-grid"
520
- },
521
487
  {
522
488
  "type": "divider"
523
489
  },