@almadar/core 10.61.0 → 10.63.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/dist/builders.d.ts +3 -3
- package/dist/builders.js +10 -0
- package/dist/builders.js.map +1 -1
- package/dist/{effect-a1W_hXyG.d.ts → effect-CgDrWfKW.d.ts} +60 -8
- package/dist/{entityAccess-DU_mdtr5.d.ts → entityAccess-Dr7XPoi_.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +10 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-C-qK6t2U.d.ts → index-D2rQS1PS.d.ts} +4 -4
- package/dist/index.d.ts +11 -11
- package/dist/index.js +855 -15
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/mock/index.js +30 -0
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +11 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +1788 -15
- package/dist/patterns/index.js +835 -13
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +817 -10
- package/dist/patterns/registry.json +817 -10
- package/dist/{schema-Dj4GC3Vo.d.ts → schema-KdqDOMXm.d.ts} +2 -2
- package/dist/{trait-DgZ5Exel.d.ts → trait-CesmHKZ2.d.ts} +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +16 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CGjZ7Odu.d.ts → types-mYXAkmBy.d.ts} +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-08-
|
|
3
|
+
"exportedAt": "2026-08-20T23:14:19.545Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -1236,6 +1236,7 @@
|
|
|
1236
1236
|
"tier": "organisms",
|
|
1237
1237
|
"family": "core",
|
|
1238
1238
|
"description": "Detail view panel for drawers/sidebars",
|
|
1239
|
+
"fieldsContract": "display",
|
|
1239
1240
|
"suggestedFor": [
|
|
1240
1241
|
"drawer content",
|
|
1241
1242
|
"side panels",
|
|
@@ -1517,6 +1518,54 @@
|
|
|
1517
1518
|
]
|
|
1518
1519
|
}
|
|
1519
1520
|
},
|
|
1521
|
+
"backAction": {
|
|
1522
|
+
"types": [
|
|
1523
|
+
"object"
|
|
1524
|
+
],
|
|
1525
|
+
"description": "Navigation-back affordance. Renders top-LEFT before the title (OS/back convention — Almadar_UX §8.4), spatially separated from the right-aligned action buttons + close X. Never inferred from actions[] labels.",
|
|
1526
|
+
"properties": {
|
|
1527
|
+
"label": {
|
|
1528
|
+
"types": [
|
|
1529
|
+
"string"
|
|
1530
|
+
]
|
|
1531
|
+
},
|
|
1532
|
+
"icon": {
|
|
1533
|
+
"types": [
|
|
1534
|
+
"icon",
|
|
1535
|
+
"string"
|
|
1536
|
+
]
|
|
1537
|
+
},
|
|
1538
|
+
"onClick": {
|
|
1539
|
+
"types": [
|
|
1540
|
+
"function"
|
|
1541
|
+
]
|
|
1542
|
+
},
|
|
1543
|
+
"event": {
|
|
1544
|
+
"types": [
|
|
1545
|
+
"string"
|
|
1546
|
+
]
|
|
1547
|
+
},
|
|
1548
|
+
"navigatesTo": {
|
|
1549
|
+
"types": [
|
|
1550
|
+
"string"
|
|
1551
|
+
]
|
|
1552
|
+
},
|
|
1553
|
+
"variant": {
|
|
1554
|
+
"types": [
|
|
1555
|
+
"string"
|
|
1556
|
+
],
|
|
1557
|
+
"enumValues": [
|
|
1558
|
+
"primary",
|
|
1559
|
+
"secondary",
|
|
1560
|
+
"ghost",
|
|
1561
|
+
"danger"
|
|
1562
|
+
]
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1565
|
+
"propertyRequired": [
|
|
1566
|
+
"label"
|
|
1567
|
+
]
|
|
1568
|
+
},
|
|
1520
1569
|
"footer": {
|
|
1521
1570
|
"types": [
|
|
1522
1571
|
"node"
|
|
@@ -1551,6 +1600,26 @@
|
|
|
1551
1600
|
"types": [
|
|
1552
1601
|
"string"
|
|
1553
1602
|
]
|
|
1603
|
+
},
|
|
1604
|
+
"type": {
|
|
1605
|
+
"types": [
|
|
1606
|
+
"string"
|
|
1607
|
+
]
|
|
1608
|
+
},
|
|
1609
|
+
"values": {
|
|
1610
|
+
"types": [
|
|
1611
|
+
"array"
|
|
1612
|
+
],
|
|
1613
|
+
"items": {
|
|
1614
|
+
"types": [
|
|
1615
|
+
"string"
|
|
1616
|
+
]
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1619
|
+
"relation": {
|
|
1620
|
+
"types": [
|
|
1621
|
+
"string"
|
|
1622
|
+
]
|
|
1554
1623
|
}
|
|
1555
1624
|
},
|
|
1556
1625
|
"required": [
|
|
@@ -1615,6 +1684,48 @@
|
|
|
1615
1684
|
"boolean"
|
|
1616
1685
|
],
|
|
1617
1686
|
"description": "Show actions flag"
|
|
1687
|
+
},
|
|
1688
|
+
"relationsData": {
|
|
1689
|
+
"types": [
|
|
1690
|
+
"object"
|
|
1691
|
+
],
|
|
1692
|
+
"description": "Relation display data: { fieldName: [{value, label}] } — injected server-side by the runtime (relation-option injection) or bound by compiled codegen; resolves stored foreign ids to display names.",
|
|
1693
|
+
"mapValue": {
|
|
1694
|
+
"types": [
|
|
1695
|
+
"array"
|
|
1696
|
+
],
|
|
1697
|
+
"items": {
|
|
1698
|
+
"types": [
|
|
1699
|
+
"object"
|
|
1700
|
+
],
|
|
1701
|
+
"properties": {
|
|
1702
|
+
"value": {
|
|
1703
|
+
"types": [
|
|
1704
|
+
"string"
|
|
1705
|
+
]
|
|
1706
|
+
},
|
|
1707
|
+
"label": {
|
|
1708
|
+
"types": [
|
|
1709
|
+
"string"
|
|
1710
|
+
]
|
|
1711
|
+
},
|
|
1712
|
+
"description": {
|
|
1713
|
+
"types": [
|
|
1714
|
+
"string"
|
|
1715
|
+
]
|
|
1716
|
+
},
|
|
1717
|
+
"disabled": {
|
|
1718
|
+
"types": [
|
|
1719
|
+
"boolean"
|
|
1720
|
+
]
|
|
1721
|
+
}
|
|
1722
|
+
},
|
|
1723
|
+
"required": [
|
|
1724
|
+
"value",
|
|
1725
|
+
"label"
|
|
1726
|
+
]
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1618
1729
|
}
|
|
1619
1730
|
}
|
|
1620
1731
|
},
|
|
@@ -1689,9 +1800,10 @@
|
|
|
1689
1800
|
},
|
|
1690
1801
|
"status": {
|
|
1691
1802
|
"types": [
|
|
1692
|
-
"object"
|
|
1803
|
+
"object",
|
|
1804
|
+
"string"
|
|
1693
1805
|
],
|
|
1694
|
-
"description": "Status badge",
|
|
1806
|
+
"description": "Status badge — a bare string (an entity's status field bound directly, e.g. `status: @entity.status`) renders as a default-variant badge",
|
|
1695
1807
|
"properties": {
|
|
1696
1808
|
"label": {
|
|
1697
1809
|
"types": [
|
|
@@ -1886,6 +1998,7 @@
|
|
|
1886
1998
|
"tier": "organisms",
|
|
1887
1999
|
"family": "core",
|
|
1888
2000
|
"description": "Complete form with fields and actions",
|
|
2001
|
+
"fieldsContract": "form",
|
|
1889
2002
|
"suggestedFor": [
|
|
1890
2003
|
"create forms",
|
|
1891
2004
|
"edit forms",
|
|
@@ -2118,6 +2231,11 @@
|
|
|
2118
2231
|
"types": [
|
|
2119
2232
|
"boolean"
|
|
2120
2233
|
]
|
|
2234
|
+
},
|
|
2235
|
+
"hint": {
|
|
2236
|
+
"types": [
|
|
2237
|
+
"string"
|
|
2238
|
+
]
|
|
2121
2239
|
}
|
|
2122
2240
|
}
|
|
2123
2241
|
}
|
|
@@ -2270,6 +2388,42 @@
|
|
|
2270
2388
|
},
|
|
2271
2389
|
"default": {}
|
|
2272
2390
|
},
|
|
2391
|
+
"fieldOverrides": {
|
|
2392
|
+
"types": [
|
|
2393
|
+
"array"
|
|
2394
|
+
],
|
|
2395
|
+
"description": "Per-field display-copy overrides (label/placeholder/hint), merged by field name over the schema-enriched fields.",
|
|
2396
|
+
"items": {
|
|
2397
|
+
"types": [
|
|
2398
|
+
"object"
|
|
2399
|
+
],
|
|
2400
|
+
"properties": {
|
|
2401
|
+
"name": {
|
|
2402
|
+
"types": [
|
|
2403
|
+
"string"
|
|
2404
|
+
]
|
|
2405
|
+
},
|
|
2406
|
+
"label": {
|
|
2407
|
+
"types": [
|
|
2408
|
+
"string"
|
|
2409
|
+
]
|
|
2410
|
+
},
|
|
2411
|
+
"placeholder": {
|
|
2412
|
+
"types": [
|
|
2413
|
+
"string"
|
|
2414
|
+
]
|
|
2415
|
+
},
|
|
2416
|
+
"hint": {
|
|
2417
|
+
"types": [
|
|
2418
|
+
"string"
|
|
2419
|
+
]
|
|
2420
|
+
}
|
|
2421
|
+
},
|
|
2422
|
+
"required": [
|
|
2423
|
+
"name"
|
|
2424
|
+
]
|
|
2425
|
+
}
|
|
2426
|
+
},
|
|
2273
2427
|
"conditionalFields": {
|
|
2274
2428
|
"types": [
|
|
2275
2429
|
"object",
|
|
@@ -2396,7 +2550,12 @@
|
|
|
2396
2550
|
"formValues": {
|
|
2397
2551
|
"types": [
|
|
2398
2552
|
"object"
|
|
2399
|
-
]
|
|
2553
|
+
],
|
|
2554
|
+
"mapValue": {
|
|
2555
|
+
"types": [
|
|
2556
|
+
"object"
|
|
2557
|
+
]
|
|
2558
|
+
}
|
|
2400
2559
|
},
|
|
2401
2560
|
"globalVariables": {
|
|
2402
2561
|
"types": [
|
|
@@ -2423,7 +2582,12 @@
|
|
|
2423
2582
|
"entity": {
|
|
2424
2583
|
"types": [
|
|
2425
2584
|
"object"
|
|
2426
|
-
]
|
|
2585
|
+
],
|
|
2586
|
+
"mapValue": {
|
|
2587
|
+
"types": [
|
|
2588
|
+
"object"
|
|
2589
|
+
]
|
|
2590
|
+
}
|
|
2427
2591
|
}
|
|
2428
2592
|
},
|
|
2429
2593
|
"propertyRequired": [
|
|
@@ -2612,6 +2776,11 @@
|
|
|
2612
2776
|
"types": [
|
|
2613
2777
|
"boolean"
|
|
2614
2778
|
]
|
|
2779
|
+
},
|
|
2780
|
+
"hint": {
|
|
2781
|
+
"types": [
|
|
2782
|
+
"string"
|
|
2783
|
+
]
|
|
2615
2784
|
}
|
|
2616
2785
|
}
|
|
2617
2786
|
}
|
|
@@ -2695,6 +2864,7 @@
|
|
|
2695
2864
|
"tier": "organisms",
|
|
2696
2865
|
"family": "core",
|
|
2697
2866
|
"description": "Alias for form — Complete form with fields and actions",
|
|
2867
|
+
"fieldsContract": "form",
|
|
2698
2868
|
"suggestedFor": [
|
|
2699
2869
|
"create forms",
|
|
2700
2870
|
"edit forms",
|
|
@@ -2927,6 +3097,11 @@
|
|
|
2927
3097
|
"types": [
|
|
2928
3098
|
"boolean"
|
|
2929
3099
|
]
|
|
3100
|
+
},
|
|
3101
|
+
"hint": {
|
|
3102
|
+
"types": [
|
|
3103
|
+
"string"
|
|
3104
|
+
]
|
|
2930
3105
|
}
|
|
2931
3106
|
}
|
|
2932
3107
|
}
|
|
@@ -3079,6 +3254,42 @@
|
|
|
3079
3254
|
},
|
|
3080
3255
|
"default": {}
|
|
3081
3256
|
},
|
|
3257
|
+
"fieldOverrides": {
|
|
3258
|
+
"types": [
|
|
3259
|
+
"array"
|
|
3260
|
+
],
|
|
3261
|
+
"description": "Per-field display-copy overrides (label/placeholder/hint), merged by field name over the schema-enriched fields.",
|
|
3262
|
+
"items": {
|
|
3263
|
+
"types": [
|
|
3264
|
+
"object"
|
|
3265
|
+
],
|
|
3266
|
+
"properties": {
|
|
3267
|
+
"name": {
|
|
3268
|
+
"types": [
|
|
3269
|
+
"string"
|
|
3270
|
+
]
|
|
3271
|
+
},
|
|
3272
|
+
"label": {
|
|
3273
|
+
"types": [
|
|
3274
|
+
"string"
|
|
3275
|
+
]
|
|
3276
|
+
},
|
|
3277
|
+
"placeholder": {
|
|
3278
|
+
"types": [
|
|
3279
|
+
"string"
|
|
3280
|
+
]
|
|
3281
|
+
},
|
|
3282
|
+
"hint": {
|
|
3283
|
+
"types": [
|
|
3284
|
+
"string"
|
|
3285
|
+
]
|
|
3286
|
+
}
|
|
3287
|
+
},
|
|
3288
|
+
"required": [
|
|
3289
|
+
"name"
|
|
3290
|
+
]
|
|
3291
|
+
}
|
|
3292
|
+
},
|
|
3082
3293
|
"conditionalFields": {
|
|
3083
3294
|
"types": [
|
|
3084
3295
|
"object",
|
|
@@ -3205,7 +3416,12 @@
|
|
|
3205
3416
|
"formValues": {
|
|
3206
3417
|
"types": [
|
|
3207
3418
|
"object"
|
|
3208
|
-
]
|
|
3419
|
+
],
|
|
3420
|
+
"mapValue": {
|
|
3421
|
+
"types": [
|
|
3422
|
+
"object"
|
|
3423
|
+
]
|
|
3424
|
+
}
|
|
3209
3425
|
},
|
|
3210
3426
|
"globalVariables": {
|
|
3211
3427
|
"types": [
|
|
@@ -3232,7 +3448,12 @@
|
|
|
3232
3448
|
"entity": {
|
|
3233
3449
|
"types": [
|
|
3234
3450
|
"object"
|
|
3235
|
-
]
|
|
3451
|
+
],
|
|
3452
|
+
"mapValue": {
|
|
3453
|
+
"types": [
|
|
3454
|
+
"object"
|
|
3455
|
+
]
|
|
3456
|
+
}
|
|
3236
3457
|
}
|
|
3237
3458
|
},
|
|
3238
3459
|
"propertyRequired": [
|
|
@@ -3421,6 +3642,11 @@
|
|
|
3421
3642
|
"types": [
|
|
3422
3643
|
"boolean"
|
|
3423
3644
|
]
|
|
3645
|
+
},
|
|
3646
|
+
"hint": {
|
|
3647
|
+
"types": [
|
|
3648
|
+
"string"
|
|
3649
|
+
]
|
|
3424
3650
|
}
|
|
3425
3651
|
}
|
|
3426
3652
|
}
|
|
@@ -12814,7 +13040,7 @@
|
|
|
12814
13040
|
"types": [
|
|
12815
13041
|
"object"
|
|
12816
13042
|
],
|
|
12817
|
-
"description": "Current user info (optional - auto-populated from auth context if not provided)",
|
|
13043
|
+
"description": "Current user info (optional - auto-populated from auth context if not provided). Accepts `null` as well as `undefined`: the `.lolo` substrate's signed-out spelling is `(if @config.viewerName {…} null)`, and the compiled path passes that `null` through verbatim.",
|
|
12818
13044
|
"properties": {
|
|
12819
13045
|
"name": {
|
|
12820
13046
|
"types": [
|
|
@@ -12833,8 +13059,7 @@
|
|
|
12833
13059
|
}
|
|
12834
13060
|
},
|
|
12835
13061
|
"propertyRequired": [
|
|
12836
|
-
"name"
|
|
12837
|
-
"email"
|
|
13062
|
+
"name"
|
|
12838
13063
|
]
|
|
12839
13064
|
},
|
|
12840
13065
|
"headerActions": {
|
|
@@ -40052,6 +40277,28 @@
|
|
|
40052
40277
|
}
|
|
40053
40278
|
]
|
|
40054
40279
|
},
|
|
40280
|
+
"keyMap": {
|
|
40281
|
+
"types": [
|
|
40282
|
+
"object"
|
|
40283
|
+
],
|
|
40284
|
+
"description": "Maps a keydown `e.code` → the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}` — same contract as the game canvas keyMap.",
|
|
40285
|
+
"mapValue": {
|
|
40286
|
+
"types": [
|
|
40287
|
+
"string"
|
|
40288
|
+
]
|
|
40289
|
+
}
|
|
40290
|
+
},
|
|
40291
|
+
"keyUpMap": {
|
|
40292
|
+
"types": [
|
|
40293
|
+
"object"
|
|
40294
|
+
],
|
|
40295
|
+
"description": "Maps a keyup `e.code` → the board's SEMANTIC event.",
|
|
40296
|
+
"mapValue": {
|
|
40297
|
+
"types": [
|
|
40298
|
+
"string"
|
|
40299
|
+
]
|
|
40300
|
+
}
|
|
40301
|
+
},
|
|
40055
40302
|
"isLoading": {
|
|
40056
40303
|
"types": [
|
|
40057
40304
|
"boolean"
|
|
@@ -46764,6 +47011,566 @@
|
|
|
46764
47011
|
]
|
|
46765
47012
|
}
|
|
46766
47013
|
}
|
|
47014
|
+
},
|
|
47015
|
+
"fx-overlay": {
|
|
47016
|
+
"type": "fx-overlay",
|
|
47017
|
+
"category": "container",
|
|
47018
|
+
"tier": "molecules",
|
|
47019
|
+
"family": "core",
|
|
47020
|
+
"description": "FxOverlay component",
|
|
47021
|
+
"suggestedFor": [
|
|
47022
|
+
"overlay",
|
|
47023
|
+
"fx overlay"
|
|
47024
|
+
],
|
|
47025
|
+
"typicalSize": "medium",
|
|
47026
|
+
"propsSchema": {
|
|
47027
|
+
"items": {
|
|
47028
|
+
"types": [
|
|
47029
|
+
"array"
|
|
47030
|
+
],
|
|
47031
|
+
"description": "Live screen-space fx entries (the mechanic's fx list filtered to `space == \"screen\"`); mount starts each item's animation, ttl decay unmounts it.",
|
|
47032
|
+
"required": true,
|
|
47033
|
+
"items": {
|
|
47034
|
+
"types": [
|
|
47035
|
+
"object"
|
|
47036
|
+
],
|
|
47037
|
+
"properties": {
|
|
47038
|
+
"id": {
|
|
47039
|
+
"types": [
|
|
47040
|
+
"string"
|
|
47041
|
+
]
|
|
47042
|
+
},
|
|
47043
|
+
"type": {
|
|
47044
|
+
"types": [
|
|
47045
|
+
"string"
|
|
47046
|
+
]
|
|
47047
|
+
},
|
|
47048
|
+
"effect": {
|
|
47049
|
+
"types": [
|
|
47050
|
+
"string"
|
|
47051
|
+
],
|
|
47052
|
+
"enumValues": [
|
|
47053
|
+
"confetti",
|
|
47054
|
+
"flash",
|
|
47055
|
+
"shake",
|
|
47056
|
+
"sparkle",
|
|
47057
|
+
"float-text",
|
|
47058
|
+
"streak-glow"
|
|
47059
|
+
]
|
|
47060
|
+
},
|
|
47061
|
+
"message": {
|
|
47062
|
+
"types": [
|
|
47063
|
+
"string"
|
|
47064
|
+
]
|
|
47065
|
+
},
|
|
47066
|
+
"color": {
|
|
47067
|
+
"types": [
|
|
47068
|
+
"string"
|
|
47069
|
+
]
|
|
47070
|
+
},
|
|
47071
|
+
"size": {
|
|
47072
|
+
"types": [
|
|
47073
|
+
"number"
|
|
47074
|
+
]
|
|
47075
|
+
},
|
|
47076
|
+
"x": {
|
|
47077
|
+
"types": [
|
|
47078
|
+
"number"
|
|
47079
|
+
]
|
|
47080
|
+
},
|
|
47081
|
+
"z": {
|
|
47082
|
+
"types": [
|
|
47083
|
+
"number"
|
|
47084
|
+
]
|
|
47085
|
+
},
|
|
47086
|
+
"y": {
|
|
47087
|
+
"types": [
|
|
47088
|
+
"number"
|
|
47089
|
+
]
|
|
47090
|
+
},
|
|
47091
|
+
"ttl": {
|
|
47092
|
+
"types": [
|
|
47093
|
+
"number"
|
|
47094
|
+
]
|
|
47095
|
+
},
|
|
47096
|
+
"maxTtl": {
|
|
47097
|
+
"types": [
|
|
47098
|
+
"number"
|
|
47099
|
+
]
|
|
47100
|
+
},
|
|
47101
|
+
"bornAt": {
|
|
47102
|
+
"types": [
|
|
47103
|
+
"number"
|
|
47104
|
+
]
|
|
47105
|
+
},
|
|
47106
|
+
"space": {
|
|
47107
|
+
"types": [
|
|
47108
|
+
"string"
|
|
47109
|
+
],
|
|
47110
|
+
"enumValues": [
|
|
47111
|
+
"world",
|
|
47112
|
+
"screen"
|
|
47113
|
+
]
|
|
47114
|
+
},
|
|
47115
|
+
"particleCount": {
|
|
47116
|
+
"types": [
|
|
47117
|
+
"number"
|
|
47118
|
+
]
|
|
47119
|
+
},
|
|
47120
|
+
"vx": {
|
|
47121
|
+
"types": [
|
|
47122
|
+
"number"
|
|
47123
|
+
]
|
|
47124
|
+
},
|
|
47125
|
+
"vy": {
|
|
47126
|
+
"types": [
|
|
47127
|
+
"number"
|
|
47128
|
+
]
|
|
47129
|
+
},
|
|
47130
|
+
"vz": {
|
|
47131
|
+
"types": [
|
|
47132
|
+
"number"
|
|
47133
|
+
]
|
|
47134
|
+
}
|
|
47135
|
+
},
|
|
47136
|
+
"required": [
|
|
47137
|
+
"id",
|
|
47138
|
+
"type",
|
|
47139
|
+
"ttl"
|
|
47140
|
+
]
|
|
47141
|
+
}
|
|
47142
|
+
},
|
|
47143
|
+
"tickMs": {
|
|
47144
|
+
"types": [
|
|
47145
|
+
"number"
|
|
47146
|
+
],
|
|
47147
|
+
"description": "The fx mechanic's decay tick period in ms; per-item animation duration = maxTtl × tickMs. Default 500."
|
|
47148
|
+
},
|
|
47149
|
+
"children": {
|
|
47150
|
+
"types": [
|
|
47151
|
+
"node"
|
|
47152
|
+
],
|
|
47153
|
+
"description": "Wrapped content — the `shake` target and the overlay's bounds."
|
|
47154
|
+
},
|
|
47155
|
+
"className": {
|
|
47156
|
+
"types": [
|
|
47157
|
+
"string"
|
|
47158
|
+
],
|
|
47159
|
+
"description": "Additional class names on the outermost element."
|
|
47160
|
+
}
|
|
47161
|
+
}
|
|
47162
|
+
},
|
|
47163
|
+
"draw-fx-layer": {
|
|
47164
|
+
"type": "draw-fx-layer",
|
|
47165
|
+
"category": "game",
|
|
47166
|
+
"tier": "molecules",
|
|
47167
|
+
"family": "game",
|
|
47168
|
+
"description": "DrawFxLayer component",
|
|
47169
|
+
"suggestedFor": [
|
|
47170
|
+
"draw",
|
|
47171
|
+
"layer",
|
|
47172
|
+
"draw fx layer"
|
|
47173
|
+
],
|
|
47174
|
+
"typicalSize": "medium",
|
|
47175
|
+
"propsSchema": {
|
|
47176
|
+
"id": {
|
|
47177
|
+
"types": [
|
|
47178
|
+
"string"
|
|
47179
|
+
],
|
|
47180
|
+
"description": "Optional source-tagged hit-test handle — the host indexes the drawable's ScenePos→id so a pointer/raycast at that cell resolves to this id (unit/entity click). No id → the host emits only the coordinate (tile click)."
|
|
47181
|
+
},
|
|
47182
|
+
"type": {
|
|
47183
|
+
"types": [
|
|
47184
|
+
"unknown"
|
|
47185
|
+
],
|
|
47186
|
+
"description": "type prop",
|
|
47187
|
+
"required": true
|
|
47188
|
+
},
|
|
47189
|
+
"items": {
|
|
47190
|
+
"types": [
|
|
47191
|
+
"array"
|
|
47192
|
+
],
|
|
47193
|
+
"description": "The live fx entries — the mechanic's `@entity.fx` list passed whole; `space: \"screen\"` entries are skipped (the overlay owns those).",
|
|
47194
|
+
"required": true,
|
|
47195
|
+
"items": {
|
|
47196
|
+
"types": [
|
|
47197
|
+
"object"
|
|
47198
|
+
],
|
|
47199
|
+
"properties": {
|
|
47200
|
+
"id": {
|
|
47201
|
+
"types": [
|
|
47202
|
+
"string"
|
|
47203
|
+
]
|
|
47204
|
+
},
|
|
47205
|
+
"type": {
|
|
47206
|
+
"types": [
|
|
47207
|
+
"string"
|
|
47208
|
+
]
|
|
47209
|
+
},
|
|
47210
|
+
"position": {
|
|
47211
|
+
"types": [
|
|
47212
|
+
"object"
|
|
47213
|
+
],
|
|
47214
|
+
"scenePos": true,
|
|
47215
|
+
"properties": {
|
|
47216
|
+
"x": {
|
|
47217
|
+
"types": [
|
|
47218
|
+
"number"
|
|
47219
|
+
]
|
|
47220
|
+
},
|
|
47221
|
+
"y": {
|
|
47222
|
+
"types": [
|
|
47223
|
+
"number"
|
|
47224
|
+
]
|
|
47225
|
+
},
|
|
47226
|
+
"z": {
|
|
47227
|
+
"types": [
|
|
47228
|
+
"number"
|
|
47229
|
+
]
|
|
47230
|
+
}
|
|
47231
|
+
},
|
|
47232
|
+
"required": [
|
|
47233
|
+
"x",
|
|
47234
|
+
"y"
|
|
47235
|
+
]
|
|
47236
|
+
},
|
|
47237
|
+
"x": {
|
|
47238
|
+
"types": [
|
|
47239
|
+
"number"
|
|
47240
|
+
]
|
|
47241
|
+
},
|
|
47242
|
+
"z": {
|
|
47243
|
+
"types": [
|
|
47244
|
+
"number"
|
|
47245
|
+
]
|
|
47246
|
+
},
|
|
47247
|
+
"y": {
|
|
47248
|
+
"types": [
|
|
47249
|
+
"number"
|
|
47250
|
+
]
|
|
47251
|
+
},
|
|
47252
|
+
"message": {
|
|
47253
|
+
"types": [
|
|
47254
|
+
"string"
|
|
47255
|
+
]
|
|
47256
|
+
},
|
|
47257
|
+
"ttl": {
|
|
47258
|
+
"types": [
|
|
47259
|
+
"number"
|
|
47260
|
+
]
|
|
47261
|
+
},
|
|
47262
|
+
"maxTtl": {
|
|
47263
|
+
"types": [
|
|
47264
|
+
"number"
|
|
47265
|
+
]
|
|
47266
|
+
},
|
|
47267
|
+
"bornAt": {
|
|
47268
|
+
"types": [
|
|
47269
|
+
"number"
|
|
47270
|
+
]
|
|
47271
|
+
},
|
|
47272
|
+
"space": {
|
|
47273
|
+
"types": [
|
|
47274
|
+
"string"
|
|
47275
|
+
],
|
|
47276
|
+
"enumValues": [
|
|
47277
|
+
"world",
|
|
47278
|
+
"screen"
|
|
47279
|
+
]
|
|
47280
|
+
},
|
|
47281
|
+
"effect": {
|
|
47282
|
+
"types": [
|
|
47283
|
+
"string"
|
|
47284
|
+
],
|
|
47285
|
+
"enumValues": [
|
|
47286
|
+
"confetti",
|
|
47287
|
+
"flash",
|
|
47288
|
+
"shake",
|
|
47289
|
+
"sparkle",
|
|
47290
|
+
"float-text",
|
|
47291
|
+
"streak-glow"
|
|
47292
|
+
]
|
|
47293
|
+
},
|
|
47294
|
+
"color": {
|
|
47295
|
+
"types": [
|
|
47296
|
+
"string"
|
|
47297
|
+
]
|
|
47298
|
+
},
|
|
47299
|
+
"size": {
|
|
47300
|
+
"types": [
|
|
47301
|
+
"number"
|
|
47302
|
+
]
|
|
47303
|
+
},
|
|
47304
|
+
"vx": {
|
|
47305
|
+
"types": [
|
|
47306
|
+
"number"
|
|
47307
|
+
]
|
|
47308
|
+
},
|
|
47309
|
+
"vy": {
|
|
47310
|
+
"types": [
|
|
47311
|
+
"number"
|
|
47312
|
+
]
|
|
47313
|
+
},
|
|
47314
|
+
"vz": {
|
|
47315
|
+
"types": [
|
|
47316
|
+
"number"
|
|
47317
|
+
]
|
|
47318
|
+
},
|
|
47319
|
+
"particleCount": {
|
|
47320
|
+
"types": [
|
|
47321
|
+
"number"
|
|
47322
|
+
]
|
|
47323
|
+
}
|
|
47324
|
+
},
|
|
47325
|
+
"required": [
|
|
47326
|
+
"id",
|
|
47327
|
+
"type",
|
|
47328
|
+
"x",
|
|
47329
|
+
"ttl"
|
|
47330
|
+
]
|
|
47331
|
+
}
|
|
47332
|
+
},
|
|
47333
|
+
"presets": {
|
|
47334
|
+
"types": [
|
|
47335
|
+
"array"
|
|
47336
|
+
],
|
|
47337
|
+
"description": "Consumer-declared effect vocabulary — one row per fx `type` (look + recipe). Unknown types fall back to a neutral spark burst.",
|
|
47338
|
+
"items": {
|
|
47339
|
+
"types": [
|
|
47340
|
+
"object"
|
|
47341
|
+
],
|
|
47342
|
+
"properties": {
|
|
47343
|
+
"type": {
|
|
47344
|
+
"types": [
|
|
47345
|
+
"string"
|
|
47346
|
+
]
|
|
47347
|
+
},
|
|
47348
|
+
"color": {
|
|
47349
|
+
"types": [
|
|
47350
|
+
"string"
|
|
47351
|
+
]
|
|
47352
|
+
},
|
|
47353
|
+
"color2": {
|
|
47354
|
+
"types": [
|
|
47355
|
+
"string"
|
|
47356
|
+
]
|
|
47357
|
+
},
|
|
47358
|
+
"size": {
|
|
47359
|
+
"types": [
|
|
47360
|
+
"number"
|
|
47361
|
+
]
|
|
47362
|
+
},
|
|
47363
|
+
"shape": {
|
|
47364
|
+
"types": [
|
|
47365
|
+
"string"
|
|
47366
|
+
],
|
|
47367
|
+
"enumValues": [
|
|
47368
|
+
"spark",
|
|
47369
|
+
"ring",
|
|
47370
|
+
"puff",
|
|
47371
|
+
"streak"
|
|
47372
|
+
]
|
|
47373
|
+
},
|
|
47374
|
+
"count": {
|
|
47375
|
+
"types": [
|
|
47376
|
+
"number"
|
|
47377
|
+
]
|
|
47378
|
+
},
|
|
47379
|
+
"glow": {
|
|
47380
|
+
"types": [
|
|
47381
|
+
"number"
|
|
47382
|
+
]
|
|
47383
|
+
},
|
|
47384
|
+
"gravity": {
|
|
47385
|
+
"types": [
|
|
47386
|
+
"number"
|
|
47387
|
+
]
|
|
47388
|
+
},
|
|
47389
|
+
"vx": {
|
|
47390
|
+
"types": [
|
|
47391
|
+
"number"
|
|
47392
|
+
]
|
|
47393
|
+
},
|
|
47394
|
+
"vy": {
|
|
47395
|
+
"types": [
|
|
47396
|
+
"number"
|
|
47397
|
+
]
|
|
47398
|
+
},
|
|
47399
|
+
"vz": {
|
|
47400
|
+
"types": [
|
|
47401
|
+
"number"
|
|
47402
|
+
]
|
|
47403
|
+
},
|
|
47404
|
+
"space": {
|
|
47405
|
+
"types": [
|
|
47406
|
+
"string"
|
|
47407
|
+
],
|
|
47408
|
+
"enumValues": [
|
|
47409
|
+
"world",
|
|
47410
|
+
"screen"
|
|
47411
|
+
]
|
|
47412
|
+
},
|
|
47413
|
+
"effect": {
|
|
47414
|
+
"types": [
|
|
47415
|
+
"string"
|
|
47416
|
+
],
|
|
47417
|
+
"enumValues": [
|
|
47418
|
+
"confetti",
|
|
47419
|
+
"flash",
|
|
47420
|
+
"shake",
|
|
47421
|
+
"sparkle",
|
|
47422
|
+
"float-text",
|
|
47423
|
+
"streak-glow"
|
|
47424
|
+
]
|
|
47425
|
+
},
|
|
47426
|
+
"particleCount": {
|
|
47427
|
+
"types": [
|
|
47428
|
+
"number"
|
|
47429
|
+
]
|
|
47430
|
+
}
|
|
47431
|
+
},
|
|
47432
|
+
"required": [
|
|
47433
|
+
"type"
|
|
47434
|
+
]
|
|
47435
|
+
}
|
|
47436
|
+
},
|
|
47437
|
+
"art": {
|
|
47438
|
+
"types": [
|
|
47439
|
+
"object"
|
|
47440
|
+
],
|
|
47441
|
+
"description": "Vector art per fx type (an asset-art map: type → anim-state → drawables); a type's `idle` state wins over sprites/procedural.",
|
|
47442
|
+
"mapValue": {
|
|
47443
|
+
"types": [
|
|
47444
|
+
"object"
|
|
47445
|
+
],
|
|
47446
|
+
"mapValue": {
|
|
47447
|
+
"types": [
|
|
47448
|
+
"array"
|
|
47449
|
+
],
|
|
47450
|
+
"items": {
|
|
47451
|
+
"types": [
|
|
47452
|
+
"object"
|
|
47453
|
+
],
|
|
47454
|
+
"drawableSlot": true
|
|
47455
|
+
}
|
|
47456
|
+
}
|
|
47457
|
+
}
|
|
47458
|
+
},
|
|
47459
|
+
"sprites": {
|
|
47460
|
+
"types": [
|
|
47461
|
+
"object"
|
|
47462
|
+
],
|
|
47463
|
+
"description": "Sprite asset per fx type (an asset-manifest effects map) — used when no vector art matches.",
|
|
47464
|
+
"mapValue": {
|
|
47465
|
+
"types": [
|
|
47466
|
+
"object"
|
|
47467
|
+
],
|
|
47468
|
+
"properties": {
|
|
47469
|
+
"url": {
|
|
47470
|
+
"types": [
|
|
47471
|
+
"asset"
|
|
47472
|
+
]
|
|
47473
|
+
},
|
|
47474
|
+
"role": {
|
|
47475
|
+
"types": [
|
|
47476
|
+
"string"
|
|
47477
|
+
]
|
|
47478
|
+
},
|
|
47479
|
+
"category": {
|
|
47480
|
+
"types": [
|
|
47481
|
+
"string"
|
|
47482
|
+
]
|
|
47483
|
+
},
|
|
47484
|
+
"animations": {
|
|
47485
|
+
"types": [
|
|
47486
|
+
"array"
|
|
47487
|
+
],
|
|
47488
|
+
"items": {
|
|
47489
|
+
"types": [
|
|
47490
|
+
"string"
|
|
47491
|
+
]
|
|
47492
|
+
}
|
|
47493
|
+
},
|
|
47494
|
+
"style": {
|
|
47495
|
+
"types": [
|
|
47496
|
+
"string"
|
|
47497
|
+
],
|
|
47498
|
+
"enumValues": [
|
|
47499
|
+
"pixel",
|
|
47500
|
+
"vector",
|
|
47501
|
+
"hd",
|
|
47502
|
+
"1-bit",
|
|
47503
|
+
"isometric"
|
|
47504
|
+
]
|
|
47505
|
+
},
|
|
47506
|
+
"variant": {
|
|
47507
|
+
"types": [
|
|
47508
|
+
"string"
|
|
47509
|
+
]
|
|
47510
|
+
},
|
|
47511
|
+
"dimension": {
|
|
47512
|
+
"types": [
|
|
47513
|
+
"string"
|
|
47514
|
+
],
|
|
47515
|
+
"enumValues": [
|
|
47516
|
+
"2d",
|
|
47517
|
+
"3d"
|
|
47518
|
+
]
|
|
47519
|
+
},
|
|
47520
|
+
"aspect": {
|
|
47521
|
+
"types": [
|
|
47522
|
+
"string"
|
|
47523
|
+
],
|
|
47524
|
+
"enumValues": [
|
|
47525
|
+
"1:1",
|
|
47526
|
+
"16:9",
|
|
47527
|
+
"5:7",
|
|
47528
|
+
"8:1"
|
|
47529
|
+
]
|
|
47530
|
+
},
|
|
47531
|
+
"atlas": {
|
|
47532
|
+
"types": [
|
|
47533
|
+
"asset"
|
|
47534
|
+
]
|
|
47535
|
+
},
|
|
47536
|
+
"sprite": {
|
|
47537
|
+
"types": [
|
|
47538
|
+
"string"
|
|
47539
|
+
]
|
|
47540
|
+
},
|
|
47541
|
+
"name": {
|
|
47542
|
+
"types": [
|
|
47543
|
+
"string"
|
|
47544
|
+
]
|
|
47545
|
+
},
|
|
47546
|
+
"thumbnailUrl": {
|
|
47547
|
+
"types": [
|
|
47548
|
+
"string"
|
|
47549
|
+
]
|
|
47550
|
+
}
|
|
47551
|
+
},
|
|
47552
|
+
"required": [
|
|
47553
|
+
"url",
|
|
47554
|
+
"role",
|
|
47555
|
+
"category"
|
|
47556
|
+
]
|
|
47557
|
+
}
|
|
47558
|
+
},
|
|
47559
|
+
"tickMs": {
|
|
47560
|
+
"types": [
|
|
47561
|
+
"number"
|
|
47562
|
+
],
|
|
47563
|
+
"description": "The fx mechanic's decay tick period in ms; lifetime = maxTtl × tickMs. Default 500."
|
|
47564
|
+
},
|
|
47565
|
+
"textColor": {
|
|
47566
|
+
"types": [
|
|
47567
|
+
"string"
|
|
47568
|
+
],
|
|
47569
|
+
"description": "Floating-message text color when an item declares none. Default `#ffe066`."
|
|
47570
|
+
}
|
|
47571
|
+
},
|
|
47572
|
+
"drawable": true,
|
|
47573
|
+
"drawHost": true
|
|
46767
47574
|
}
|
|
46768
47575
|
},
|
|
46769
47576
|
"categories": [
|