@almadar/patterns 2.19.3 → 2.20.1
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/component-mapping.json +1 -1
- package/dist/event-contracts.json +1 -1
- package/dist/index.d.ts +2531 -1
- package/dist/index.js +2462 -303
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +2458 -299
- package/dist/registry.json +2458 -299
- package/dist/types.d.ts +40 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/patterns-registry.json
|
|
2
2
|
var patterns_registry_default = {
|
|
3
3
|
version: "1.0.0",
|
|
4
|
-
exportedAt: "2026-05-
|
|
4
|
+
exportedAt: "2026-05-04T04:46:21.886Z",
|
|
5
5
|
patterns: {
|
|
6
6
|
"entity-table": {
|
|
7
7
|
type: "entity-table",
|
|
@@ -313,7 +313,18 @@ var patterns_registry_default = {
|
|
|
313
313
|
types: [
|
|
314
314
|
"function"
|
|
315
315
|
],
|
|
316
|
-
description: "renderItem prop"
|
|
316
|
+
description: "renderItem prop",
|
|
317
|
+
kind: "callback",
|
|
318
|
+
callbackArgs: [
|
|
319
|
+
{
|
|
320
|
+
name: "item",
|
|
321
|
+
type: "object"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
name: "index",
|
|
325
|
+
type: "number"
|
|
326
|
+
}
|
|
327
|
+
]
|
|
317
328
|
},
|
|
318
329
|
children: {
|
|
319
330
|
types: [
|
|
@@ -751,7 +762,9 @@ var patterns_registry_default = {
|
|
|
751
762
|
types: [
|
|
752
763
|
"string"
|
|
753
764
|
],
|
|
754
|
-
description: "Event to emit when back is clicked (default: BACK)"
|
|
765
|
+
description: "Event to emit when back is clicked (default: BACK)",
|
|
766
|
+
kind: "event-ref",
|
|
767
|
+
emitPayloadSchema: []
|
|
755
768
|
},
|
|
756
769
|
breadcrumbs: {
|
|
757
770
|
types: [
|
|
@@ -805,7 +818,14 @@ var patterns_registry_default = {
|
|
|
805
818
|
types: [
|
|
806
819
|
"function"
|
|
807
820
|
],
|
|
808
|
-
description: "onTabChange prop"
|
|
821
|
+
description: "onTabChange prop",
|
|
822
|
+
kind: "callback",
|
|
823
|
+
callbackArgs: [
|
|
824
|
+
{
|
|
825
|
+
name: "value",
|
|
826
|
+
type: "string"
|
|
827
|
+
}
|
|
828
|
+
]
|
|
809
829
|
},
|
|
810
830
|
children: {
|
|
811
831
|
types: [
|
|
@@ -1005,7 +1025,14 @@ var patterns_registry_default = {
|
|
|
1005
1025
|
types: [
|
|
1006
1026
|
"function"
|
|
1007
1027
|
],
|
|
1008
|
-
description: "Callback when any field value changes"
|
|
1028
|
+
description: "Callback when any field value changes",
|
|
1029
|
+
kind: "callback",
|
|
1030
|
+
callbackArgs: [
|
|
1031
|
+
{
|
|
1032
|
+
name: "change",
|
|
1033
|
+
type: "object"
|
|
1034
|
+
}
|
|
1035
|
+
]
|
|
1009
1036
|
},
|
|
1010
1037
|
configPath: {
|
|
1011
1038
|
types: [
|
|
@@ -1205,7 +1232,14 @@ var patterns_registry_default = {
|
|
|
1205
1232
|
types: [
|
|
1206
1233
|
"function"
|
|
1207
1234
|
],
|
|
1208
|
-
description: "Callback when any field value changes"
|
|
1235
|
+
description: "Callback when any field value changes",
|
|
1236
|
+
kind: "callback",
|
|
1237
|
+
callbackArgs: [
|
|
1238
|
+
{
|
|
1239
|
+
name: "change",
|
|
1240
|
+
type: "object"
|
|
1241
|
+
}
|
|
1242
|
+
]
|
|
1209
1243
|
},
|
|
1210
1244
|
configPath: {
|
|
1211
1245
|
types: [
|
|
@@ -1241,7 +1275,14 @@ var patterns_registry_default = {
|
|
|
1241
1275
|
types: [
|
|
1242
1276
|
"function"
|
|
1243
1277
|
],
|
|
1244
|
-
description: "Callback when search value changes"
|
|
1278
|
+
description: "Callback when search value changes",
|
|
1279
|
+
kind: "callback",
|
|
1280
|
+
callbackArgs: [
|
|
1281
|
+
{
|
|
1282
|
+
name: "value",
|
|
1283
|
+
type: "string"
|
|
1284
|
+
}
|
|
1285
|
+
]
|
|
1245
1286
|
},
|
|
1246
1287
|
debounceMs: {
|
|
1247
1288
|
types: [
|
|
@@ -1320,13 +1361,26 @@ var patterns_registry_default = {
|
|
|
1320
1361
|
types: [
|
|
1321
1362
|
"function"
|
|
1322
1363
|
],
|
|
1323
|
-
description: "Callback when a filter changes - for EntityStore integration"
|
|
1364
|
+
description: "Callback when a filter changes - for EntityStore integration",
|
|
1365
|
+
kind: "callback",
|
|
1366
|
+
callbackArgs: [
|
|
1367
|
+
{
|
|
1368
|
+
name: "field",
|
|
1369
|
+
type: "string"
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
name: "value",
|
|
1373
|
+
type: "string"
|
|
1374
|
+
}
|
|
1375
|
+
]
|
|
1324
1376
|
},
|
|
1325
1377
|
onClearAll: {
|
|
1326
1378
|
types: [
|
|
1327
1379
|
"function"
|
|
1328
1380
|
],
|
|
1329
|
-
description: "Callback to clear all filters"
|
|
1381
|
+
description: "Callback to clear all filters",
|
|
1382
|
+
kind: "callback",
|
|
1383
|
+
callbackArgs: []
|
|
1330
1384
|
},
|
|
1331
1385
|
className: {
|
|
1332
1386
|
types: [
|
|
@@ -1404,13 +1458,28 @@ var patterns_registry_default = {
|
|
|
1404
1458
|
types: [
|
|
1405
1459
|
"function"
|
|
1406
1460
|
],
|
|
1407
|
-
description: "Callback when tab changes"
|
|
1461
|
+
description: "Callback when tab changes",
|
|
1462
|
+
kind: "callback",
|
|
1463
|
+
callbackArgs: [
|
|
1464
|
+
{
|
|
1465
|
+
name: "tabId",
|
|
1466
|
+
type: "string"
|
|
1467
|
+
}
|
|
1468
|
+
]
|
|
1408
1469
|
},
|
|
1409
1470
|
tabChangeEvent: {
|
|
1410
1471
|
types: [
|
|
1411
1472
|
"string"
|
|
1412
1473
|
],
|
|
1413
|
-
description: "Declarative tab change event \u2014 emits UI:{tabChangeEvent} with { tabId }"
|
|
1474
|
+
description: "Declarative tab change event \u2014 emits UI:{tabChangeEvent} with { tabId }",
|
|
1475
|
+
kind: "event-ref",
|
|
1476
|
+
emitPayloadSchema: [
|
|
1477
|
+
{
|
|
1478
|
+
name: "tabId",
|
|
1479
|
+
type: "string",
|
|
1480
|
+
required: true
|
|
1481
|
+
}
|
|
1482
|
+
]
|
|
1414
1483
|
},
|
|
1415
1484
|
variant: {
|
|
1416
1485
|
types: [
|
|
@@ -1492,7 +1561,7 @@ var patterns_registry_default = {
|
|
|
1492
1561
|
types: [
|
|
1493
1562
|
"array"
|
|
1494
1563
|
],
|
|
1495
|
-
description: "Step definitions (compatible with WizardContainer's WizardStep)",
|
|
1564
|
+
description: "Step definitions (compatible with WizardContainer's WizardStep). A string is shorthand for `{ id: str, title: str }`.",
|
|
1496
1565
|
required: true
|
|
1497
1566
|
},
|
|
1498
1567
|
currentStep: {
|
|
@@ -1506,7 +1575,14 @@ var patterns_registry_default = {
|
|
|
1506
1575
|
types: [
|
|
1507
1576
|
"function"
|
|
1508
1577
|
],
|
|
1509
|
-
description: "Callback when a completed step is clicked"
|
|
1578
|
+
description: "Callback when a completed step is clicked",
|
|
1579
|
+
kind: "callback",
|
|
1580
|
+
callbackArgs: [
|
|
1581
|
+
{
|
|
1582
|
+
name: "stepIndex",
|
|
1583
|
+
type: "number"
|
|
1584
|
+
}
|
|
1585
|
+
]
|
|
1510
1586
|
},
|
|
1511
1587
|
allowNavigation: {
|
|
1512
1588
|
types: [
|
|
@@ -1530,7 +1606,15 @@ var patterns_registry_default = {
|
|
|
1530
1606
|
types: [
|
|
1531
1607
|
"string"
|
|
1532
1608
|
],
|
|
1533
|
-
description: "Declarative step click event \u2014 emits UI:{stepClickEvent} with { stepIndex }"
|
|
1609
|
+
description: "Declarative step click event \u2014 emits UI:{stepClickEvent} with { stepIndex }",
|
|
1610
|
+
kind: "event-ref",
|
|
1611
|
+
emitPayloadSchema: [
|
|
1612
|
+
{
|
|
1613
|
+
name: "stepIndex",
|
|
1614
|
+
type: "number",
|
|
1615
|
+
required: true
|
|
1616
|
+
}
|
|
1617
|
+
]
|
|
1534
1618
|
}
|
|
1535
1619
|
}
|
|
1536
1620
|
},
|
|
@@ -1622,19 +1706,25 @@ var patterns_registry_default = {
|
|
|
1622
1706
|
types: [
|
|
1623
1707
|
"function"
|
|
1624
1708
|
],
|
|
1625
|
-
description: "Direct callback for Back (alternative to event)"
|
|
1709
|
+
description: "Direct callback for Back (alternative to event)",
|
|
1710
|
+
kind: "callback",
|
|
1711
|
+
callbackArgs: []
|
|
1626
1712
|
},
|
|
1627
1713
|
onNextClick: {
|
|
1628
1714
|
types: [
|
|
1629
1715
|
"function"
|
|
1630
1716
|
],
|
|
1631
|
-
description: "Direct callback for Next (alternative to event)"
|
|
1717
|
+
description: "Direct callback for Next (alternative to event)",
|
|
1718
|
+
kind: "callback",
|
|
1719
|
+
callbackArgs: []
|
|
1632
1720
|
},
|
|
1633
1721
|
onCompleteClick: {
|
|
1634
1722
|
types: [
|
|
1635
1723
|
"function"
|
|
1636
1724
|
],
|
|
1637
|
-
description: "Direct callback for Complete (alternative to event)"
|
|
1725
|
+
description: "Direct callback for Complete (alternative to event)",
|
|
1726
|
+
kind: "callback",
|
|
1727
|
+
callbackArgs: []
|
|
1638
1728
|
},
|
|
1639
1729
|
compact: {
|
|
1640
1730
|
types: [
|
|
@@ -1680,13 +1770,22 @@ var patterns_registry_default = {
|
|
|
1680
1770
|
types: [
|
|
1681
1771
|
"function"
|
|
1682
1772
|
],
|
|
1683
|
-
description: "Callback when step changes"
|
|
1773
|
+
description: "Callback when step changes",
|
|
1774
|
+
kind: "callback",
|
|
1775
|
+
callbackArgs: [
|
|
1776
|
+
{
|
|
1777
|
+
name: "stepIndex",
|
|
1778
|
+
type: "number"
|
|
1779
|
+
}
|
|
1780
|
+
]
|
|
1684
1781
|
},
|
|
1685
1782
|
onComplete: {
|
|
1686
1783
|
types: [
|
|
1687
1784
|
"function"
|
|
1688
1785
|
],
|
|
1689
|
-
description: "Callback when wizard is completed"
|
|
1786
|
+
description: "Callback when wizard is completed",
|
|
1787
|
+
kind: "callback",
|
|
1788
|
+
callbackArgs: []
|
|
1690
1789
|
},
|
|
1691
1790
|
showProgress: {
|
|
1692
1791
|
types: [
|
|
@@ -1760,7 +1859,14 @@ var patterns_registry_default = {
|
|
|
1760
1859
|
types: [
|
|
1761
1860
|
"function"
|
|
1762
1861
|
],
|
|
1763
|
-
description: "Callback when page changes (optional - can be a no-op if not interactive)"
|
|
1862
|
+
description: "Callback when page changes (optional - can be a no-op if not interactive)",
|
|
1863
|
+
kind: "callback",
|
|
1864
|
+
callbackArgs: [
|
|
1865
|
+
{
|
|
1866
|
+
name: "page",
|
|
1867
|
+
type: "number"
|
|
1868
|
+
}
|
|
1869
|
+
]
|
|
1764
1870
|
},
|
|
1765
1871
|
showPageSize: {
|
|
1766
1872
|
types: [
|
|
@@ -1784,7 +1890,14 @@ var patterns_registry_default = {
|
|
|
1784
1890
|
types: [
|
|
1785
1891
|
"function"
|
|
1786
1892
|
],
|
|
1787
|
-
description: "Callback when page size changes"
|
|
1893
|
+
description: "Callback when page size changes",
|
|
1894
|
+
kind: "callback",
|
|
1895
|
+
callbackArgs: [
|
|
1896
|
+
{
|
|
1897
|
+
name: "size",
|
|
1898
|
+
type: "number"
|
|
1899
|
+
}
|
|
1900
|
+
]
|
|
1788
1901
|
},
|
|
1789
1902
|
showJumpToPage: {
|
|
1790
1903
|
types: [
|
|
@@ -1820,13 +1933,29 @@ var patterns_registry_default = {
|
|
|
1820
1933
|
types: [
|
|
1821
1934
|
"string"
|
|
1822
1935
|
],
|
|
1823
|
-
description: "Declarative page change event \u2014 emits UI:{pageChangeEvent} with { page }"
|
|
1936
|
+
description: "Declarative page change event \u2014 emits UI:{pageChangeEvent} with { page }",
|
|
1937
|
+
kind: "event-ref",
|
|
1938
|
+
emitPayloadSchema: [
|
|
1939
|
+
{
|
|
1940
|
+
name: "page",
|
|
1941
|
+
type: "number",
|
|
1942
|
+
required: true
|
|
1943
|
+
}
|
|
1944
|
+
]
|
|
1824
1945
|
},
|
|
1825
1946
|
pageSizeChangeEvent: {
|
|
1826
1947
|
types: [
|
|
1827
1948
|
"string"
|
|
1828
1949
|
],
|
|
1829
|
-
description: "Declarative page size change event \u2014 emits UI:{pageSizeChangeEvent} with { pageSize }"
|
|
1950
|
+
description: "Declarative page size change event \u2014 emits UI:{pageSizeChangeEvent} with { pageSize }",
|
|
1951
|
+
kind: "event-ref",
|
|
1952
|
+
emitPayloadSchema: [
|
|
1953
|
+
{
|
|
1954
|
+
name: "pageSize",
|
|
1955
|
+
type: "number",
|
|
1956
|
+
required: true
|
|
1957
|
+
}
|
|
1958
|
+
]
|
|
1830
1959
|
}
|
|
1831
1960
|
}
|
|
1832
1961
|
},
|
|
@@ -1875,7 +2004,9 @@ var patterns_registry_default = {
|
|
|
1875
2004
|
types: [
|
|
1876
2005
|
"function"
|
|
1877
2006
|
],
|
|
1878
|
-
description: "onAction prop"
|
|
2007
|
+
description: "onAction prop",
|
|
2008
|
+
kind: "callback",
|
|
2009
|
+
callbackArgs: []
|
|
1879
2010
|
},
|
|
1880
2011
|
className: {
|
|
1881
2012
|
types: [
|
|
@@ -1906,7 +2037,9 @@ var patterns_registry_default = {
|
|
|
1906
2037
|
types: [
|
|
1907
2038
|
"string"
|
|
1908
2039
|
],
|
|
1909
|
-
description: "Declarative action event \u2014 emits UI:{actionEvent} via eventBus when action button is clicked"
|
|
2040
|
+
description: "Declarative action event \u2014 emits UI:{actionEvent} via eventBus when action button is clicked",
|
|
2041
|
+
kind: "event-ref",
|
|
2042
|
+
emitPayloadSchema: []
|
|
1910
2043
|
}
|
|
1911
2044
|
}
|
|
1912
2045
|
},
|
|
@@ -1971,7 +2104,9 @@ var patterns_registry_default = {
|
|
|
1971
2104
|
types: [
|
|
1972
2105
|
"function"
|
|
1973
2106
|
],
|
|
1974
|
-
description: "onRetry prop"
|
|
2107
|
+
description: "onRetry prop",
|
|
2108
|
+
kind: "callback",
|
|
2109
|
+
callbackArgs: []
|
|
1975
2110
|
},
|
|
1976
2111
|
className: {
|
|
1977
2112
|
types: [
|
|
@@ -1983,7 +2118,9 @@ var patterns_registry_default = {
|
|
|
1983
2118
|
types: [
|
|
1984
2119
|
"string"
|
|
1985
2120
|
],
|
|
1986
|
-
description: "Declarative retry event \u2014 emits UI:{retryEvent} via eventBus when retry button is clicked"
|
|
2121
|
+
description: "Declarative retry event \u2014 emits UI:{retryEvent} via eventBus when retry button is clicked",
|
|
2122
|
+
kind: "event-ref",
|
|
2123
|
+
emitPayloadSchema: []
|
|
1987
2124
|
}
|
|
1988
2125
|
}
|
|
1989
2126
|
},
|
|
@@ -2039,7 +2176,9 @@ var patterns_registry_default = {
|
|
|
2039
2176
|
types: [
|
|
2040
2177
|
"function"
|
|
2041
2178
|
],
|
|
2042
|
-
description: "Callback when toast is dismissed"
|
|
2179
|
+
description: "Callback when toast is dismissed",
|
|
2180
|
+
kind: "callback",
|
|
2181
|
+
callbackArgs: []
|
|
2043
2182
|
},
|
|
2044
2183
|
actionLabel: {
|
|
2045
2184
|
types: [
|
|
@@ -2051,7 +2190,9 @@ var patterns_registry_default = {
|
|
|
2051
2190
|
types: [
|
|
2052
2191
|
"function"
|
|
2053
2192
|
],
|
|
2054
|
-
description: "Action button click handler"
|
|
2193
|
+
description: "Action button click handler",
|
|
2194
|
+
kind: "callback",
|
|
2195
|
+
callbackArgs: []
|
|
2055
2196
|
},
|
|
2056
2197
|
badge: {
|
|
2057
2198
|
types: [
|
|
@@ -2070,13 +2211,17 @@ var patterns_registry_default = {
|
|
|
2070
2211
|
types: [
|
|
2071
2212
|
"string"
|
|
2072
2213
|
],
|
|
2073
|
-
description: "Declarative dismiss event \u2014 emits UI:{dismissEvent} via eventBus when toast is dismissed"
|
|
2214
|
+
description: "Declarative dismiss event \u2014 emits UI:{dismissEvent} via eventBus when toast is dismissed",
|
|
2215
|
+
kind: "event-ref",
|
|
2216
|
+
emitPayloadSchema: []
|
|
2074
2217
|
},
|
|
2075
2218
|
actionEvent: {
|
|
2076
2219
|
types: [
|
|
2077
2220
|
"string"
|
|
2078
2221
|
],
|
|
2079
|
-
description: "Declarative action event \u2014 emits UI:{actionEvent} via eventBus when action button is clicked"
|
|
2222
|
+
description: "Declarative action event \u2014 emits UI:{actionEvent} via eventBus when action button is clicked",
|
|
2223
|
+
kind: "event-ref",
|
|
2224
|
+
emitPayloadSchema: []
|
|
2080
2225
|
}
|
|
2081
2226
|
}
|
|
2082
2227
|
},
|
|
@@ -2259,7 +2404,9 @@ var patterns_registry_default = {
|
|
|
2259
2404
|
types: [
|
|
2260
2405
|
"function"
|
|
2261
2406
|
],
|
|
2262
|
-
description: "Callback when modal should close (injected by slot wrapper)"
|
|
2407
|
+
description: "Callback when modal should close (injected by slot wrapper)",
|
|
2408
|
+
kind: "callback",
|
|
2409
|
+
callbackArgs: []
|
|
2263
2410
|
},
|
|
2264
2411
|
title: {
|
|
2265
2412
|
types: [
|
|
@@ -2320,7 +2467,9 @@ var patterns_registry_default = {
|
|
|
2320
2467
|
types: [
|
|
2321
2468
|
"string"
|
|
2322
2469
|
],
|
|
2323
|
-
description: "Declarative close event \u2014 emits UI:{closeEvent} via eventBus when modal should close"
|
|
2470
|
+
description: "Declarative close event \u2014 emits UI:{closeEvent} via eventBus when modal should close",
|
|
2471
|
+
kind: "event-ref",
|
|
2472
|
+
emitPayloadSchema: []
|
|
2324
2473
|
},
|
|
2325
2474
|
swipeDownToClose: {
|
|
2326
2475
|
types: [
|
|
@@ -2351,7 +2500,9 @@ var patterns_registry_default = {
|
|
|
2351
2500
|
types: [
|
|
2352
2501
|
"function"
|
|
2353
2502
|
],
|
|
2354
|
-
description: "Callback when drawer should close (injected by slot wrapper)"
|
|
2503
|
+
description: "Callback when drawer should close (injected by slot wrapper)",
|
|
2504
|
+
kind: "callback",
|
|
2505
|
+
callbackArgs: []
|
|
2355
2506
|
},
|
|
2356
2507
|
title: {
|
|
2357
2508
|
types: [
|
|
@@ -2440,13 +2591,17 @@ var patterns_registry_default = {
|
|
|
2440
2591
|
types: [
|
|
2441
2592
|
"function"
|
|
2442
2593
|
],
|
|
2443
|
-
description: "Callback when dialog is closed (injected by slot wrapper)"
|
|
2594
|
+
description: "Callback when dialog is closed (injected by slot wrapper)",
|
|
2595
|
+
kind: "callback",
|
|
2596
|
+
callbackArgs: []
|
|
2444
2597
|
},
|
|
2445
2598
|
onConfirm: {
|
|
2446
2599
|
types: [
|
|
2447
2600
|
"function"
|
|
2448
2601
|
],
|
|
2449
|
-
description: "Callback when action is confirmed (injected by slot wrapper)"
|
|
2602
|
+
description: "Callback when action is confirmed (injected by slot wrapper)",
|
|
2603
|
+
kind: "callback",
|
|
2604
|
+
callbackArgs: []
|
|
2450
2605
|
},
|
|
2451
2606
|
title: {
|
|
2452
2607
|
types: [
|
|
@@ -3250,7 +3405,14 @@ var patterns_registry_default = {
|
|
|
3250
3405
|
types: [
|
|
3251
3406
|
"function"
|
|
3252
3407
|
],
|
|
3253
|
-
description: "Called when an option is selected (legacy callback, prefer event bus)"
|
|
3408
|
+
description: "Called when an option is selected (legacy callback, prefer event bus)",
|
|
3409
|
+
kind: "callback",
|
|
3410
|
+
callbackArgs: [
|
|
3411
|
+
{
|
|
3412
|
+
name: "option",
|
|
3413
|
+
type: "object"
|
|
3414
|
+
}
|
|
3415
|
+
]
|
|
3254
3416
|
},
|
|
3255
3417
|
eventBus: {
|
|
3256
3418
|
types: [
|
|
@@ -3324,7 +3486,14 @@ var patterns_registry_default = {
|
|
|
3324
3486
|
types: [
|
|
3325
3487
|
"function"
|
|
3326
3488
|
],
|
|
3327
|
-
description: "Called when an action is selected (legacy callback, prefer event bus)"
|
|
3489
|
+
description: "Called when an action is selected (legacy callback, prefer event bus)",
|
|
3490
|
+
kind: "callback",
|
|
3491
|
+
callbackArgs: [
|
|
3492
|
+
{
|
|
3493
|
+
name: "action",
|
|
3494
|
+
type: "object"
|
|
3495
|
+
}
|
|
3496
|
+
]
|
|
3328
3497
|
},
|
|
3329
3498
|
eventBus: {
|
|
3330
3499
|
types: [
|
|
@@ -3407,37 +3576,82 @@ var patterns_registry_default = {
|
|
|
3407
3576
|
types: [
|
|
3408
3577
|
"function"
|
|
3409
3578
|
],
|
|
3410
|
-
description: "Called when a slot is selected"
|
|
3579
|
+
description: "Called when a slot is selected",
|
|
3580
|
+
kind: "callback",
|
|
3581
|
+
callbackArgs: [
|
|
3582
|
+
{
|
|
3583
|
+
name: "index",
|
|
3584
|
+
type: "number"
|
|
3585
|
+
}
|
|
3586
|
+
]
|
|
3411
3587
|
},
|
|
3412
3588
|
onUseItem: {
|
|
3413
3589
|
types: [
|
|
3414
3590
|
"function"
|
|
3415
3591
|
],
|
|
3416
|
-
description: "Called when an item is used (double-click or Enter)"
|
|
3592
|
+
description: "Called when an item is used (double-click or Enter)",
|
|
3593
|
+
kind: "callback",
|
|
3594
|
+
callbackArgs: [
|
|
3595
|
+
{
|
|
3596
|
+
name: "item",
|
|
3597
|
+
type: "object"
|
|
3598
|
+
}
|
|
3599
|
+
]
|
|
3417
3600
|
},
|
|
3418
3601
|
onDropItem: {
|
|
3419
3602
|
types: [
|
|
3420
3603
|
"function"
|
|
3421
3604
|
],
|
|
3422
|
-
description: "Called when an item is dropped"
|
|
3605
|
+
description: "Called when an item is dropped",
|
|
3606
|
+
kind: "callback",
|
|
3607
|
+
callbackArgs: [
|
|
3608
|
+
{
|
|
3609
|
+
name: "item",
|
|
3610
|
+
type: "object"
|
|
3611
|
+
}
|
|
3612
|
+
]
|
|
3423
3613
|
},
|
|
3424
3614
|
selectSlotEvent: {
|
|
3425
3615
|
types: [
|
|
3426
3616
|
"string"
|
|
3427
3617
|
],
|
|
3428
|
-
description: "Declarative event: emits UI:{selectSlotEvent} with { index } when a slot is selected"
|
|
3618
|
+
description: "Declarative event: emits UI:{selectSlotEvent} with { index } when a slot is selected",
|
|
3619
|
+
kind: "event-ref",
|
|
3620
|
+
emitPayloadSchema: [
|
|
3621
|
+
{
|
|
3622
|
+
name: "index",
|
|
3623
|
+
type: "number",
|
|
3624
|
+
required: true
|
|
3625
|
+
}
|
|
3626
|
+
]
|
|
3429
3627
|
},
|
|
3430
3628
|
useItemEvent: {
|
|
3431
3629
|
types: [
|
|
3432
3630
|
"string"
|
|
3433
3631
|
],
|
|
3434
|
-
description: "Declarative event: emits UI:{useItemEvent} with { item } when an item is used"
|
|
3632
|
+
description: "Declarative event: emits UI:{useItemEvent} with { item: InventoryItem } when an item is used",
|
|
3633
|
+
kind: "event-ref",
|
|
3634
|
+
emitPayloadSchema: [
|
|
3635
|
+
{
|
|
3636
|
+
name: "item",
|
|
3637
|
+
type: "object",
|
|
3638
|
+
required: true
|
|
3639
|
+
}
|
|
3640
|
+
]
|
|
3435
3641
|
},
|
|
3436
3642
|
dropItemEvent: {
|
|
3437
3643
|
types: [
|
|
3438
3644
|
"string"
|
|
3439
3645
|
],
|
|
3440
|
-
description: "Declarative event: emits UI:{dropItemEvent} with { item } when an item is dropped"
|
|
3646
|
+
description: "Declarative event: emits UI:{dropItemEvent} with { item: InventoryItem } when an item is dropped",
|
|
3647
|
+
kind: "event-ref",
|
|
3648
|
+
emitPayloadSchema: [
|
|
3649
|
+
{
|
|
3650
|
+
name: "item",
|
|
3651
|
+
type: "object",
|
|
3652
|
+
required: true
|
|
3653
|
+
}
|
|
3654
|
+
]
|
|
3441
3655
|
},
|
|
3442
3656
|
showTooltips: {
|
|
3443
3657
|
types: [
|
|
@@ -3497,37 +3711,60 @@ var patterns_registry_default = {
|
|
|
3497
3711
|
types: [
|
|
3498
3712
|
"function"
|
|
3499
3713
|
],
|
|
3500
|
-
description: "Called when text animation completes"
|
|
3714
|
+
description: "Called when text animation completes",
|
|
3715
|
+
kind: "callback",
|
|
3716
|
+
callbackArgs: []
|
|
3501
3717
|
},
|
|
3502
3718
|
onChoice: {
|
|
3503
3719
|
types: [
|
|
3504
3720
|
"function"
|
|
3505
3721
|
],
|
|
3506
|
-
description: "Called when a choice is selected"
|
|
3722
|
+
description: "Called when a choice is selected",
|
|
3723
|
+
kind: "callback",
|
|
3724
|
+
callbackArgs: [
|
|
3725
|
+
{
|
|
3726
|
+
name: "choice",
|
|
3727
|
+
type: "object"
|
|
3728
|
+
}
|
|
3729
|
+
]
|
|
3507
3730
|
},
|
|
3508
3731
|
onAdvance: {
|
|
3509
3732
|
types: [
|
|
3510
3733
|
"function"
|
|
3511
3734
|
],
|
|
3512
|
-
description: "Called when dialogue is advanced (no choices)"
|
|
3735
|
+
description: "Called when dialogue is advanced (no choices)",
|
|
3736
|
+
kind: "callback",
|
|
3737
|
+
callbackArgs: []
|
|
3513
3738
|
},
|
|
3514
3739
|
completeEvent: {
|
|
3515
3740
|
types: [
|
|
3516
3741
|
"string"
|
|
3517
3742
|
],
|
|
3518
|
-
description: "Declarative event: emits UI:{completeEvent} when text animation completes"
|
|
3743
|
+
description: "Declarative event: emits UI:{completeEvent} when text animation completes",
|
|
3744
|
+
kind: "event-ref",
|
|
3745
|
+
emitPayloadSchema: []
|
|
3519
3746
|
},
|
|
3520
3747
|
choiceEvent: {
|
|
3521
3748
|
types: [
|
|
3522
3749
|
"string"
|
|
3523
3750
|
],
|
|
3524
|
-
description: "Declarative event: emits UI:{choiceEvent} with { choice } when a choice is selected"
|
|
3751
|
+
description: "Declarative event: emits UI:{choiceEvent} with { choice: DialogueChoice } when a choice is selected",
|
|
3752
|
+
kind: "event-ref",
|
|
3753
|
+
emitPayloadSchema: [
|
|
3754
|
+
{
|
|
3755
|
+
name: "choice",
|
|
3756
|
+
type: "object",
|
|
3757
|
+
required: true
|
|
3758
|
+
}
|
|
3759
|
+
]
|
|
3525
3760
|
},
|
|
3526
3761
|
advanceEvent: {
|
|
3527
3762
|
types: [
|
|
3528
3763
|
"string"
|
|
3529
3764
|
],
|
|
3530
|
-
description: "Declarative event: emits UI:{advanceEvent} when dialogue is advanced"
|
|
3765
|
+
description: "Declarative event: emits UI:{advanceEvent} when dialogue is advanced",
|
|
3766
|
+
kind: "event-ref",
|
|
3767
|
+
emitPayloadSchema: []
|
|
3531
3768
|
},
|
|
3532
3769
|
className: {
|
|
3533
3770
|
types: [
|
|
@@ -3835,7 +4072,9 @@ var patterns_registry_default = {
|
|
|
3835
4072
|
types: [
|
|
3836
4073
|
"function"
|
|
3837
4074
|
],
|
|
3838
|
-
description: "Click handler"
|
|
4075
|
+
description: "Click handler",
|
|
4076
|
+
kind: "callback",
|
|
4077
|
+
callbackArgs: []
|
|
3839
4078
|
},
|
|
3840
4079
|
action: {
|
|
3841
4080
|
types: [
|
|
@@ -4212,7 +4451,9 @@ var patterns_registry_default = {
|
|
|
4212
4451
|
types: [
|
|
4213
4452
|
"function"
|
|
4214
4453
|
],
|
|
4215
|
-
description: "Callback when clear button is clicked"
|
|
4454
|
+
description: "Callback when clear button is clicked",
|
|
4455
|
+
kind: "callback",
|
|
4456
|
+
callbackArgs: []
|
|
4216
4457
|
},
|
|
4217
4458
|
options: {
|
|
4218
4459
|
types: [
|
|
@@ -4435,7 +4676,14 @@ var patterns_registry_default = {
|
|
|
4435
4676
|
types: [
|
|
4436
4677
|
"function"
|
|
4437
4678
|
],
|
|
4438
|
-
description: "onChange prop"
|
|
4679
|
+
description: "onChange prop",
|
|
4680
|
+
kind: "callback",
|
|
4681
|
+
callbackArgs: [
|
|
4682
|
+
{
|
|
4683
|
+
name: "checked",
|
|
4684
|
+
type: "boolean"
|
|
4685
|
+
}
|
|
4686
|
+
]
|
|
4439
4687
|
},
|
|
4440
4688
|
disabled: {
|
|
4441
4689
|
types: [
|
|
@@ -4551,13 +4799,17 @@ var patterns_registry_default = {
|
|
|
4551
4799
|
types: [
|
|
4552
4800
|
"function"
|
|
4553
4801
|
],
|
|
4554
|
-
description: "onDismiss prop"
|
|
4802
|
+
description: "onDismiss prop",
|
|
4803
|
+
kind: "callback",
|
|
4804
|
+
callbackArgs: []
|
|
4555
4805
|
},
|
|
4556
4806
|
onClose: {
|
|
4557
4807
|
types: [
|
|
4558
4808
|
"function"
|
|
4559
4809
|
],
|
|
4560
|
-
description: "onClose prop"
|
|
4810
|
+
description: "onClose prop",
|
|
4811
|
+
kind: "callback",
|
|
4812
|
+
callbackArgs: []
|
|
4561
4813
|
},
|
|
4562
4814
|
actions: {
|
|
4563
4815
|
types: [
|
|
@@ -4799,7 +5051,18 @@ var patterns_registry_default = {
|
|
|
4799
5051
|
types: [
|
|
4800
5052
|
"function"
|
|
4801
5053
|
],
|
|
4802
|
-
description: "Callback when item opens/closes"
|
|
5054
|
+
description: "Callback when item opens/closes",
|
|
5055
|
+
kind: "callback",
|
|
5056
|
+
callbackArgs: [
|
|
5057
|
+
{
|
|
5058
|
+
name: "itemId",
|
|
5059
|
+
type: "string"
|
|
5060
|
+
},
|
|
5061
|
+
{
|
|
5062
|
+
name: "isOpen",
|
|
5063
|
+
type: "boolean"
|
|
5064
|
+
}
|
|
5065
|
+
]
|
|
4803
5066
|
},
|
|
4804
5067
|
className: {
|
|
4805
5068
|
types: [
|
|
@@ -4811,7 +5074,20 @@ var patterns_registry_default = {
|
|
|
4811
5074
|
types: [
|
|
4812
5075
|
"string"
|
|
4813
5076
|
],
|
|
4814
|
-
description: "Declarative toggle event \u2014 emits UI:{toggleEvent} with { itemId, isOpen }"
|
|
5077
|
+
description: "Declarative toggle event \u2014 emits UI:{toggleEvent} with { itemId, isOpen }",
|
|
5078
|
+
kind: "event-ref",
|
|
5079
|
+
emitPayloadSchema: [
|
|
5080
|
+
{
|
|
5081
|
+
name: "itemId",
|
|
5082
|
+
type: "string",
|
|
5083
|
+
required: true
|
|
5084
|
+
},
|
|
5085
|
+
{
|
|
5086
|
+
name: "isOpen",
|
|
5087
|
+
type: "boolean",
|
|
5088
|
+
required: true
|
|
5089
|
+
}
|
|
5090
|
+
]
|
|
4815
5091
|
}
|
|
4816
5092
|
}
|
|
4817
5093
|
},
|
|
@@ -4990,7 +5266,18 @@ var patterns_registry_default = {
|
|
|
4990
5266
|
"function"
|
|
4991
5267
|
],
|
|
4992
5268
|
description: "Render function for each item",
|
|
4993
|
-
required: true
|
|
5269
|
+
required: true,
|
|
5270
|
+
kind: "callback",
|
|
5271
|
+
callbackArgs: [
|
|
5272
|
+
{
|
|
5273
|
+
name: "item",
|
|
5274
|
+
type: "object"
|
|
5275
|
+
},
|
|
5276
|
+
{
|
|
5277
|
+
name: "index",
|
|
5278
|
+
type: "number"
|
|
5279
|
+
}
|
|
5280
|
+
]
|
|
4994
5281
|
},
|
|
4995
5282
|
minItems: {
|
|
4996
5283
|
types: [
|
|
@@ -5038,19 +5325,43 @@ var patterns_registry_default = {
|
|
|
5038
5325
|
types: [
|
|
5039
5326
|
"function"
|
|
5040
5327
|
],
|
|
5041
|
-
description: "Add handler"
|
|
5328
|
+
description: "Add handler",
|
|
5329
|
+
kind: "callback",
|
|
5330
|
+
callbackArgs: []
|
|
5042
5331
|
},
|
|
5043
5332
|
onRemove: {
|
|
5044
5333
|
types: [
|
|
5045
5334
|
"function"
|
|
5046
5335
|
],
|
|
5047
|
-
description: "Remove handler"
|
|
5336
|
+
description: "Remove handler",
|
|
5337
|
+
kind: "callback",
|
|
5338
|
+
callbackArgs: [
|
|
5339
|
+
{
|
|
5340
|
+
name: "itemId",
|
|
5341
|
+
type: "string"
|
|
5342
|
+
},
|
|
5343
|
+
{
|
|
5344
|
+
name: "index",
|
|
5345
|
+
type: "number"
|
|
5346
|
+
}
|
|
5347
|
+
]
|
|
5048
5348
|
},
|
|
5049
5349
|
onReorder: {
|
|
5050
5350
|
types: [
|
|
5051
5351
|
"function"
|
|
5052
5352
|
],
|
|
5053
|
-
description: "Reorder handler"
|
|
5353
|
+
description: "Reorder handler",
|
|
5354
|
+
kind: "callback",
|
|
5355
|
+
callbackArgs: [
|
|
5356
|
+
{
|
|
5357
|
+
name: "fromIndex",
|
|
5358
|
+
type: "number"
|
|
5359
|
+
},
|
|
5360
|
+
{
|
|
5361
|
+
name: "toIndex",
|
|
5362
|
+
type: "number"
|
|
5363
|
+
}
|
|
5364
|
+
]
|
|
5054
5365
|
},
|
|
5055
5366
|
trackAddedInState: {
|
|
5056
5367
|
types: [
|
|
@@ -5182,7 +5493,14 @@ var patterns_registry_default = {
|
|
|
5182
5493
|
types: [
|
|
5183
5494
|
"function"
|
|
5184
5495
|
],
|
|
5185
|
-
description: "onClick prop"
|
|
5496
|
+
description: "onClick prop",
|
|
5497
|
+
kind: "callback",
|
|
5498
|
+
callbackArgs: [
|
|
5499
|
+
{
|
|
5500
|
+
name: "e",
|
|
5501
|
+
type: "object"
|
|
5502
|
+
}
|
|
5503
|
+
]
|
|
5186
5504
|
},
|
|
5187
5505
|
className: {
|
|
5188
5506
|
types: [
|
|
@@ -5312,13 +5630,27 @@ var patterns_registry_default = {
|
|
|
5312
5630
|
types: [
|
|
5313
5631
|
"function"
|
|
5314
5632
|
],
|
|
5315
|
-
description: "Click handler"
|
|
5633
|
+
description: "Click handler",
|
|
5634
|
+
kind: "callback",
|
|
5635
|
+
callbackArgs: [
|
|
5636
|
+
{
|
|
5637
|
+
name: "e",
|
|
5638
|
+
type: "object"
|
|
5639
|
+
}
|
|
5640
|
+
]
|
|
5316
5641
|
},
|
|
5317
5642
|
onKeyDown: {
|
|
5318
5643
|
types: [
|
|
5319
5644
|
"function"
|
|
5320
5645
|
],
|
|
5321
|
-
description: "Keyboard handler"
|
|
5646
|
+
description: "Keyboard handler",
|
|
5647
|
+
kind: "callback",
|
|
5648
|
+
callbackArgs: [
|
|
5649
|
+
{
|
|
5650
|
+
name: "e",
|
|
5651
|
+
type: "object"
|
|
5652
|
+
}
|
|
5653
|
+
]
|
|
5322
5654
|
},
|
|
5323
5655
|
role: {
|
|
5324
5656
|
types: [
|
|
@@ -5385,19 +5717,25 @@ var patterns_registry_default = {
|
|
|
5385
5717
|
types: [
|
|
5386
5718
|
"function"
|
|
5387
5719
|
],
|
|
5388
|
-
description: "Callback when highlight is clicked"
|
|
5720
|
+
description: "Callback when highlight is clicked",
|
|
5721
|
+
kind: "callback",
|
|
5722
|
+
callbackArgs: []
|
|
5389
5723
|
},
|
|
5390
5724
|
onMouseEnter: {
|
|
5391
5725
|
types: [
|
|
5392
5726
|
"function"
|
|
5393
5727
|
],
|
|
5394
|
-
description: "Callback when highlight is hovered"
|
|
5728
|
+
description: "Callback when highlight is hovered",
|
|
5729
|
+
kind: "callback",
|
|
5730
|
+
callbackArgs: []
|
|
5395
5731
|
},
|
|
5396
5732
|
onMouseLeave: {
|
|
5397
5733
|
types: [
|
|
5398
5734
|
"function"
|
|
5399
5735
|
],
|
|
5400
|
-
description: "Callback when hover ends"
|
|
5736
|
+
description: "Callback when hover ends",
|
|
5737
|
+
kind: "callback",
|
|
5738
|
+
callbackArgs: []
|
|
5401
5739
|
},
|
|
5402
5740
|
annotationId: {
|
|
5403
5741
|
types: [
|
|
@@ -5665,13 +6003,17 @@ var patterns_registry_default = {
|
|
|
5665
6003
|
types: [
|
|
5666
6004
|
"function"
|
|
5667
6005
|
],
|
|
5668
|
-
description: "Called when button is pressed"
|
|
6006
|
+
description: "Called when button is pressed",
|
|
6007
|
+
kind: "callback",
|
|
6008
|
+
callbackArgs: []
|
|
5669
6009
|
},
|
|
5670
6010
|
onRelease: {
|
|
5671
6011
|
types: [
|
|
5672
6012
|
"function"
|
|
5673
6013
|
],
|
|
5674
|
-
description: "Called when button is released"
|
|
6014
|
+
description: "Called when button is released",
|
|
6015
|
+
kind: "callback",
|
|
6016
|
+
callbackArgs: []
|
|
5675
6017
|
},
|
|
5676
6018
|
pressEvent: {
|
|
5677
6019
|
types: [
|
|
@@ -5933,7 +6275,9 @@ var patterns_registry_default = {
|
|
|
5933
6275
|
types: [
|
|
5934
6276
|
"function"
|
|
5935
6277
|
],
|
|
5936
|
-
description: "Optional onClick handler"
|
|
6278
|
+
description: "Optional onClick handler",
|
|
6279
|
+
kind: "callback",
|
|
6280
|
+
callbackArgs: []
|
|
5937
6281
|
},
|
|
5938
6282
|
action: {
|
|
5939
6283
|
types: [
|
|
@@ -6177,7 +6521,9 @@ var patterns_registry_default = {
|
|
|
6177
6521
|
types: [
|
|
6178
6522
|
"function"
|
|
6179
6523
|
],
|
|
6180
|
-
description: "Optional direct click handler. Runs after the action emit when both are present."
|
|
6524
|
+
description: "Optional direct click handler. Runs after the action emit when both are present.",
|
|
6525
|
+
kind: "callback",
|
|
6526
|
+
callbackArgs: []
|
|
6181
6527
|
},
|
|
6182
6528
|
variant: {
|
|
6183
6529
|
types: [
|
|
@@ -6298,7 +6644,9 @@ var patterns_registry_default = {
|
|
|
6298
6644
|
types: [
|
|
6299
6645
|
"function"
|
|
6300
6646
|
],
|
|
6301
|
-
description: "Toggle collapse handler (makes header clickable)"
|
|
6647
|
+
description: "Toggle collapse handler (makes header clickable)",
|
|
6648
|
+
kind: "callback",
|
|
6649
|
+
callbackArgs: []
|
|
6302
6650
|
},
|
|
6303
6651
|
badge: {
|
|
6304
6652
|
types: [
|
|
@@ -6399,7 +6747,14 @@ var patterns_registry_default = {
|
|
|
6399
6747
|
types: [
|
|
6400
6748
|
"function"
|
|
6401
6749
|
],
|
|
6402
|
-
description: "Callback when value changes"
|
|
6750
|
+
description: "Callback when value changes",
|
|
6751
|
+
kind: "callback",
|
|
6752
|
+
callbackArgs: [
|
|
6753
|
+
{
|
|
6754
|
+
name: "value",
|
|
6755
|
+
type: "string"
|
|
6756
|
+
}
|
|
6757
|
+
]
|
|
6403
6758
|
},
|
|
6404
6759
|
options: {
|
|
6405
6760
|
types: [
|
|
@@ -6507,7 +6862,9 @@ var patterns_registry_default = {
|
|
|
6507
6862
|
"function"
|
|
6508
6863
|
],
|
|
6509
6864
|
description: "On close handler",
|
|
6510
|
-
required: true
|
|
6865
|
+
required: true,
|
|
6866
|
+
kind: "callback",
|
|
6867
|
+
callbackArgs: []
|
|
6511
6868
|
},
|
|
6512
6869
|
width: {
|
|
6513
6870
|
types: [
|
|
@@ -6541,7 +6898,9 @@ var patterns_registry_default = {
|
|
|
6541
6898
|
types: [
|
|
6542
6899
|
"string"
|
|
6543
6900
|
],
|
|
6544
|
-
description: "Declarative close event \u2014 emits UI:{closeEvent} via eventBus when panel should close"
|
|
6901
|
+
description: "Declarative close event \u2014 emits UI:{closeEvent} via eventBus when panel should close",
|
|
6902
|
+
kind: "event-ref",
|
|
6903
|
+
emitPayloadSchema: []
|
|
6545
6904
|
}
|
|
6546
6905
|
}
|
|
6547
6906
|
},
|
|
@@ -6583,13 +6942,22 @@ var patterns_registry_default = {
|
|
|
6583
6942
|
types: [
|
|
6584
6943
|
"function"
|
|
6585
6944
|
],
|
|
6586
|
-
description: "Dismiss handler"
|
|
6945
|
+
description: "Dismiss handler",
|
|
6946
|
+
kind: "callback",
|
|
6947
|
+
callbackArgs: []
|
|
6587
6948
|
},
|
|
6588
6949
|
onNavigateToField: {
|
|
6589
6950
|
types: [
|
|
6590
6951
|
"function"
|
|
6591
6952
|
],
|
|
6592
|
-
description: "Navigate to the field that caused violation"
|
|
6953
|
+
description: "Navigate to the field that caused violation",
|
|
6954
|
+
kind: "callback",
|
|
6955
|
+
callbackArgs: [
|
|
6956
|
+
{
|
|
6957
|
+
name: "fieldId",
|
|
6958
|
+
type: "string"
|
|
6959
|
+
}
|
|
6960
|
+
]
|
|
6593
6961
|
},
|
|
6594
6962
|
compact: {
|
|
6595
6963
|
types: [
|
|
@@ -6627,13 +6995,37 @@ var patterns_registry_default = {
|
|
|
6627
6995
|
types: [
|
|
6628
6996
|
"function"
|
|
6629
6997
|
],
|
|
6630
|
-
description: "Called when a button is pressed/released"
|
|
6998
|
+
description: "Called when a button is pressed/released",
|
|
6999
|
+
kind: "callback",
|
|
7000
|
+
callbackArgs: [
|
|
7001
|
+
{
|
|
7002
|
+
name: "id",
|
|
7003
|
+
type: "string"
|
|
7004
|
+
},
|
|
7005
|
+
{
|
|
7006
|
+
name: "pressed",
|
|
7007
|
+
type: "boolean"
|
|
7008
|
+
}
|
|
7009
|
+
]
|
|
6631
7010
|
},
|
|
6632
7011
|
actionEvent: {
|
|
6633
7012
|
types: [
|
|
6634
7013
|
"string"
|
|
6635
7014
|
],
|
|
6636
|
-
description: "Declarative event name emitted on action via useEventBus"
|
|
7015
|
+
description: "Declarative event name emitted on action via useEventBus",
|
|
7016
|
+
kind: "event-ref",
|
|
7017
|
+
emitPayloadSchema: [
|
|
7018
|
+
{
|
|
7019
|
+
name: "id",
|
|
7020
|
+
type: "string",
|
|
7021
|
+
required: true
|
|
7022
|
+
},
|
|
7023
|
+
{
|
|
7024
|
+
name: "pressed",
|
|
7025
|
+
type: "boolean",
|
|
7026
|
+
required: true
|
|
7027
|
+
}
|
|
7028
|
+
]
|
|
6637
7029
|
},
|
|
6638
7030
|
layout: {
|
|
6639
7031
|
types: [
|
|
@@ -6685,13 +7077,37 @@ var patterns_registry_default = {
|
|
|
6685
7077
|
types: [
|
|
6686
7078
|
"function"
|
|
6687
7079
|
],
|
|
6688
|
-
description: "Called when a direction is pressed/released"
|
|
7080
|
+
description: "Called when a direction is pressed/released",
|
|
7081
|
+
kind: "callback",
|
|
7082
|
+
callbackArgs: [
|
|
7083
|
+
{
|
|
7084
|
+
name: "direction",
|
|
7085
|
+
type: "string"
|
|
7086
|
+
},
|
|
7087
|
+
{
|
|
7088
|
+
name: "pressed",
|
|
7089
|
+
type: "boolean"
|
|
7090
|
+
}
|
|
7091
|
+
]
|
|
6689
7092
|
},
|
|
6690
7093
|
directionEvent: {
|
|
6691
7094
|
types: [
|
|
6692
7095
|
"string"
|
|
6693
7096
|
],
|
|
6694
|
-
description: "Declarative event name emitted on direction press/release via useEventBus"
|
|
7097
|
+
description: "Declarative event name emitted on direction press/release via useEventBus",
|
|
7098
|
+
kind: "event-ref",
|
|
7099
|
+
emitPayloadSchema: [
|
|
7100
|
+
{
|
|
7101
|
+
name: "direction",
|
|
7102
|
+
type: "string",
|
|
7103
|
+
required: true
|
|
7104
|
+
},
|
|
7105
|
+
{
|
|
7106
|
+
name: "pressed",
|
|
7107
|
+
type: "boolean",
|
|
7108
|
+
required: true
|
|
7109
|
+
}
|
|
7110
|
+
]
|
|
6695
7111
|
},
|
|
6696
7112
|
size: {
|
|
6697
7113
|
types: [
|
|
@@ -7069,7 +7485,9 @@ var patterns_registry_default = {
|
|
|
7069
7485
|
types: [
|
|
7070
7486
|
"function"
|
|
7071
7487
|
],
|
|
7072
|
-
description: "Menu toggle callback"
|
|
7488
|
+
description: "Menu toggle callback",
|
|
7489
|
+
kind: "callback",
|
|
7490
|
+
callbackArgs: []
|
|
7073
7491
|
},
|
|
7074
7492
|
showSearch: {
|
|
7075
7493
|
types: [
|
|
@@ -7087,7 +7505,14 @@ var patterns_registry_default = {
|
|
|
7087
7505
|
types: [
|
|
7088
7506
|
"function"
|
|
7089
7507
|
],
|
|
7090
|
-
description: "Search callback"
|
|
7508
|
+
description: "Search callback",
|
|
7509
|
+
kind: "callback",
|
|
7510
|
+
callbackArgs: [
|
|
7511
|
+
{
|
|
7512
|
+
name: "value",
|
|
7513
|
+
type: "string"
|
|
7514
|
+
}
|
|
7515
|
+
]
|
|
7091
7516
|
},
|
|
7092
7517
|
userAvatar: {
|
|
7093
7518
|
types: [
|
|
@@ -7105,7 +7530,9 @@ var patterns_registry_default = {
|
|
|
7105
7530
|
types: [
|
|
7106
7531
|
"function"
|
|
7107
7532
|
],
|
|
7108
|
-
description: "Callback when user avatar is clicked"
|
|
7533
|
+
description: "Callback when user avatar is clicked",
|
|
7534
|
+
kind: "callback",
|
|
7535
|
+
callbackArgs: []
|
|
7109
7536
|
},
|
|
7110
7537
|
actions: {
|
|
7111
7538
|
types: [
|
|
@@ -7133,7 +7560,9 @@ var patterns_registry_default = {
|
|
|
7133
7560
|
types: [
|
|
7134
7561
|
"function"
|
|
7135
7562
|
],
|
|
7136
|
-
description: "Callback when logo/brand is clicked"
|
|
7563
|
+
description: "Callback when logo/brand is clicked",
|
|
7564
|
+
kind: "callback",
|
|
7565
|
+
callbackArgs: []
|
|
7137
7566
|
},
|
|
7138
7567
|
className: {
|
|
7139
7568
|
types: [
|
|
@@ -7375,7 +7804,9 @@ var patterns_registry_default = {
|
|
|
7375
7804
|
types: [
|
|
7376
7805
|
"function"
|
|
7377
7806
|
],
|
|
7378
|
-
description: "Click handler"
|
|
7807
|
+
description: "Click handler",
|
|
7808
|
+
kind: "callback",
|
|
7809
|
+
callbackArgs: []
|
|
7379
7810
|
},
|
|
7380
7811
|
className: {
|
|
7381
7812
|
types: [
|
|
@@ -7592,7 +8023,15 @@ var patterns_registry_default = {
|
|
|
7592
8023
|
types: [
|
|
7593
8024
|
"string"
|
|
7594
8025
|
],
|
|
7595
|
-
description: "Event emitted when collapse state changes, payload: { collapsed: boolean }"
|
|
8026
|
+
description: "Event emitted when collapse state changes, payload: { collapsed: boolean }",
|
|
8027
|
+
kind: "event-ref",
|
|
8028
|
+
emitPayloadSchema: [
|
|
8029
|
+
{
|
|
8030
|
+
name: "collapsed",
|
|
8031
|
+
type: "boolean",
|
|
8032
|
+
required: true
|
|
8033
|
+
}
|
|
8034
|
+
]
|
|
7596
8035
|
},
|
|
7597
8036
|
hideCollapseButton: {
|
|
7598
8037
|
types: [
|
|
@@ -7610,13 +8049,17 @@ var patterns_registry_default = {
|
|
|
7610
8049
|
types: [
|
|
7611
8050
|
"string"
|
|
7612
8051
|
],
|
|
7613
|
-
description: "Event emitted when close button is clicked"
|
|
8052
|
+
description: "Event emitted when close button is clicked",
|
|
8053
|
+
kind: "event-ref",
|
|
8054
|
+
emitPayloadSchema: []
|
|
7614
8055
|
},
|
|
7615
8056
|
logoClickEvent: {
|
|
7616
8057
|
types: [
|
|
7617
8058
|
"string"
|
|
7618
8059
|
],
|
|
7619
|
-
description: "Event emitted when logo/brand is clicked"
|
|
8060
|
+
description: "Event emitted when logo/brand is clicked",
|
|
8061
|
+
kind: "event-ref",
|
|
8062
|
+
emitPayloadSchema: []
|
|
7620
8063
|
}
|
|
7621
8064
|
}
|
|
7622
8065
|
},
|
|
@@ -7890,7 +8333,14 @@ var patterns_registry_default = {
|
|
|
7890
8333
|
types: [
|
|
7891
8334
|
"function"
|
|
7892
8335
|
],
|
|
7893
|
-
description: "Row actions menu items"
|
|
8336
|
+
description: "Row actions menu items",
|
|
8337
|
+
kind: "callback",
|
|
8338
|
+
callbackArgs: [
|
|
8339
|
+
{
|
|
8340
|
+
name: "row",
|
|
8341
|
+
type: "object"
|
|
8342
|
+
}
|
|
8343
|
+
]
|
|
7894
8344
|
},
|
|
7895
8345
|
emptyMessage: {
|
|
7896
8346
|
types: [
|
|
@@ -8080,7 +8530,14 @@ var patterns_registry_default = {
|
|
|
8080
8530
|
types: [
|
|
8081
8531
|
"function"
|
|
8082
8532
|
],
|
|
8083
|
-
description: "Callback when tab changes"
|
|
8533
|
+
description: "Callback when tab changes",
|
|
8534
|
+
kind: "callback",
|
|
8535
|
+
callbackArgs: [
|
|
8536
|
+
{
|
|
8537
|
+
name: "tabId",
|
|
8538
|
+
type: "string"
|
|
8539
|
+
}
|
|
8540
|
+
]
|
|
8084
8541
|
},
|
|
8085
8542
|
position: {
|
|
8086
8543
|
types: [
|
|
@@ -8171,19 +8628,25 @@ var patterns_registry_default = {
|
|
|
8171
8628
|
types: [
|
|
8172
8629
|
"function"
|
|
8173
8630
|
],
|
|
8174
|
-
description: "Called when increment is clicked"
|
|
8631
|
+
description: "Called when increment is clicked",
|
|
8632
|
+
kind: "callback",
|
|
8633
|
+
callbackArgs: []
|
|
8175
8634
|
},
|
|
8176
8635
|
onDecrement: {
|
|
8177
8636
|
types: [
|
|
8178
8637
|
"function"
|
|
8179
8638
|
],
|
|
8180
|
-
description: "Called when decrement is clicked"
|
|
8639
|
+
description: "Called when decrement is clicked",
|
|
8640
|
+
kind: "callback",
|
|
8641
|
+
callbackArgs: []
|
|
8181
8642
|
},
|
|
8182
8643
|
onReset: {
|
|
8183
8644
|
types: [
|
|
8184
8645
|
"function"
|
|
8185
8646
|
],
|
|
8186
|
-
description: "Called when reset is clicked"
|
|
8647
|
+
description: "Called when reset is clicked",
|
|
8648
|
+
kind: "callback",
|
|
8649
|
+
callbackArgs: []
|
|
8187
8650
|
},
|
|
8188
8651
|
title: {
|
|
8189
8652
|
types: [
|
|
@@ -8278,7 +8741,9 @@ var patterns_registry_default = {
|
|
|
8278
8741
|
types: [
|
|
8279
8742
|
"function"
|
|
8280
8743
|
],
|
|
8281
|
-
description: "Callback when user clicks sign out (optional - uses auth context signOut if not provided)"
|
|
8744
|
+
description: "Callback when user clicks sign out (optional - uses auth context signOut if not provided)",
|
|
8745
|
+
kind: "callback",
|
|
8746
|
+
callbackArgs: []
|
|
8282
8747
|
},
|
|
8283
8748
|
children: {
|
|
8284
8749
|
types: [
|
|
@@ -8851,7 +9316,15 @@ var patterns_registry_default = {
|
|
|
8851
9316
|
types: [
|
|
8852
9317
|
"string"
|
|
8853
9318
|
],
|
|
8854
|
-
description: "Event name emitted when selection changes (emitted as UI:{selectionEvent})"
|
|
9319
|
+
description: "Event name emitted when selection changes (emitted as UI:{selectionEvent})",
|
|
9320
|
+
kind: "event-ref",
|
|
9321
|
+
emitPayloadSchema: [
|
|
9322
|
+
{
|
|
9323
|
+
name: "selection",
|
|
9324
|
+
type: "array",
|
|
9325
|
+
required: true
|
|
9326
|
+
}
|
|
9327
|
+
]
|
|
8855
9328
|
},
|
|
8856
9329
|
showUpload: {
|
|
8857
9330
|
types: [
|
|
@@ -8936,19 +9409,36 @@ var patterns_registry_default = {
|
|
|
8936
9409
|
types: [
|
|
8937
9410
|
"function"
|
|
8938
9411
|
],
|
|
8939
|
-
description: "Callback when signature changes"
|
|
9412
|
+
description: "Callback when signature changes",
|
|
9413
|
+
kind: "callback",
|
|
9414
|
+
callbackArgs: [
|
|
9415
|
+
{
|
|
9416
|
+
name: "dataUrl",
|
|
9417
|
+
type: "string"
|
|
9418
|
+
}
|
|
9419
|
+
]
|
|
8940
9420
|
},
|
|
8941
9421
|
signEvent: {
|
|
8942
9422
|
types: [
|
|
8943
9423
|
"string"
|
|
8944
9424
|
],
|
|
8945
|
-
description: "Event to emit on sign"
|
|
9425
|
+
description: "Event to emit on sign",
|
|
9426
|
+
kind: "event-ref",
|
|
9427
|
+
emitPayloadSchema: [
|
|
9428
|
+
{
|
|
9429
|
+
name: "signature",
|
|
9430
|
+
type: "string",
|
|
9431
|
+
required: true
|
|
9432
|
+
}
|
|
9433
|
+
]
|
|
8946
9434
|
},
|
|
8947
9435
|
clearEvent: {
|
|
8948
9436
|
types: [
|
|
8949
9437
|
"string"
|
|
8950
9438
|
],
|
|
8951
|
-
description: "Event to emit on clear"
|
|
9439
|
+
description: "Event to emit on clear",
|
|
9440
|
+
kind: "event-ref",
|
|
9441
|
+
emitPayloadSchema: []
|
|
8952
9442
|
},
|
|
8953
9443
|
entity: {
|
|
8954
9444
|
types: [
|
|
@@ -9157,13 +9647,28 @@ var patterns_registry_default = {
|
|
|
9157
9647
|
types: [
|
|
9158
9648
|
"function"
|
|
9159
9649
|
],
|
|
9160
|
-
description: "On node click"
|
|
9650
|
+
description: "On node click",
|
|
9651
|
+
kind: "callback",
|
|
9652
|
+
callbackArgs: [
|
|
9653
|
+
{
|
|
9654
|
+
name: "node",
|
|
9655
|
+
type: "object"
|
|
9656
|
+
}
|
|
9657
|
+
]
|
|
9161
9658
|
},
|
|
9162
9659
|
nodeClickEvent: {
|
|
9163
9660
|
types: [
|
|
9164
9661
|
"string"
|
|
9165
9662
|
],
|
|
9166
|
-
description: "Node click event"
|
|
9663
|
+
description: "Node click event",
|
|
9664
|
+
kind: "event-ref",
|
|
9665
|
+
emitPayloadSchema: [
|
|
9666
|
+
{
|
|
9667
|
+
name: "id",
|
|
9668
|
+
type: "string",
|
|
9669
|
+
required: true
|
|
9670
|
+
}
|
|
9671
|
+
]
|
|
9167
9672
|
},
|
|
9168
9673
|
layout: {
|
|
9169
9674
|
types: [
|
|
@@ -9371,13 +9876,17 @@ var patterns_registry_default = {
|
|
|
9371
9876
|
types: [
|
|
9372
9877
|
"function"
|
|
9373
9878
|
],
|
|
9374
|
-
description: "Callback when the effect animation completes"
|
|
9879
|
+
description: "Callback when the effect animation completes",
|
|
9880
|
+
kind: "callback",
|
|
9881
|
+
callbackArgs: []
|
|
9375
9882
|
},
|
|
9376
9883
|
completeEvent: {
|
|
9377
9884
|
types: [
|
|
9378
9885
|
"string"
|
|
9379
9886
|
],
|
|
9380
|
-
description: "Declarative event: emits UI:{completeEvent} when the effect animation completes"
|
|
9887
|
+
description: "Declarative event: emits UI:{completeEvent} when the effect animation completes",
|
|
9888
|
+
kind: "event-ref",
|
|
9889
|
+
emitPayloadSchema: []
|
|
9381
9890
|
},
|
|
9382
9891
|
className: {
|
|
9383
9892
|
types: [
|
|
@@ -9504,49 +10013,116 @@ var patterns_registry_default = {
|
|
|
9504
10013
|
types: [
|
|
9505
10014
|
"function"
|
|
9506
10015
|
],
|
|
9507
|
-
description: "--- Event handlers (legacy callbacks \u2014 prefer declarative event string props below) ---"
|
|
10016
|
+
description: "--- Event handlers (legacy callbacks \u2014 prefer declarative event string props below) ---",
|
|
10017
|
+
kind: "callback",
|
|
10018
|
+
callbackArgs: [
|
|
10019
|
+
{
|
|
10020
|
+
name: "x",
|
|
10021
|
+
type: "number"
|
|
10022
|
+
},
|
|
10023
|
+
{
|
|
10024
|
+
name: "y",
|
|
10025
|
+
type: "number"
|
|
10026
|
+
}
|
|
10027
|
+
]
|
|
9508
10028
|
},
|
|
9509
10029
|
onUnitClick: {
|
|
9510
10030
|
types: [
|
|
9511
10031
|
"function"
|
|
9512
10032
|
],
|
|
9513
|
-
description: "onUnitClick prop"
|
|
10033
|
+
description: "onUnitClick prop",
|
|
10034
|
+
kind: "callback",
|
|
10035
|
+
callbackArgs: [
|
|
10036
|
+
{
|
|
10037
|
+
name: "unitId",
|
|
10038
|
+
type: "string"
|
|
10039
|
+
}
|
|
10040
|
+
]
|
|
9514
10041
|
},
|
|
9515
10042
|
onTileHover: {
|
|
9516
10043
|
types: [
|
|
9517
10044
|
"function"
|
|
9518
10045
|
],
|
|
9519
|
-
description: "onTileHover prop"
|
|
10046
|
+
description: "onTileHover prop",
|
|
10047
|
+
kind: "callback",
|
|
10048
|
+
callbackArgs: [
|
|
10049
|
+
{
|
|
10050
|
+
name: "x",
|
|
10051
|
+
type: "number"
|
|
10052
|
+
},
|
|
10053
|
+
{
|
|
10054
|
+
name: "y",
|
|
10055
|
+
type: "number"
|
|
10056
|
+
}
|
|
10057
|
+
]
|
|
9520
10058
|
},
|
|
9521
10059
|
onTileLeave: {
|
|
9522
10060
|
types: [
|
|
9523
10061
|
"function"
|
|
9524
10062
|
],
|
|
9525
|
-
description: "onTileLeave prop"
|
|
10063
|
+
description: "onTileLeave prop",
|
|
10064
|
+
kind: "callback",
|
|
10065
|
+
callbackArgs: []
|
|
9526
10066
|
},
|
|
9527
10067
|
tileClickEvent: {
|
|
9528
10068
|
types: [
|
|
9529
10069
|
"string"
|
|
9530
10070
|
],
|
|
9531
|
-
description: "--- Declarative event props ---"
|
|
10071
|
+
description: "--- Declarative event props ---",
|
|
10072
|
+
kind: "event-ref",
|
|
10073
|
+
emitPayloadSchema: [
|
|
10074
|
+
{
|
|
10075
|
+
name: "x",
|
|
10076
|
+
type: "number",
|
|
10077
|
+
required: true
|
|
10078
|
+
},
|
|
10079
|
+
{
|
|
10080
|
+
name: "y",
|
|
10081
|
+
type: "number",
|
|
10082
|
+
required: true
|
|
10083
|
+
}
|
|
10084
|
+
]
|
|
9532
10085
|
},
|
|
9533
10086
|
unitClickEvent: {
|
|
9534
10087
|
types: [
|
|
9535
10088
|
"string"
|
|
9536
10089
|
],
|
|
9537
|
-
description: "Declarative event: emits UI:{unitClickEvent} with { unitId } on unit click"
|
|
10090
|
+
description: "Declarative event: emits UI:{unitClickEvent} with { unitId } on unit click",
|
|
10091
|
+
kind: "event-ref",
|
|
10092
|
+
emitPayloadSchema: [
|
|
10093
|
+
{
|
|
10094
|
+
name: "unitId",
|
|
10095
|
+
type: "string",
|
|
10096
|
+
required: true
|
|
10097
|
+
}
|
|
10098
|
+
]
|
|
9538
10099
|
},
|
|
9539
10100
|
tileHoverEvent: {
|
|
9540
10101
|
types: [
|
|
9541
10102
|
"string"
|
|
9542
10103
|
],
|
|
9543
|
-
description: "Declarative event: emits UI:{tileHoverEvent} with { x, y } on tile hover"
|
|
10104
|
+
description: "Declarative event: emits UI:{tileHoverEvent} with { x, y } on tile hover",
|
|
10105
|
+
kind: "event-ref",
|
|
10106
|
+
emitPayloadSchema: [
|
|
10107
|
+
{
|
|
10108
|
+
name: "x",
|
|
10109
|
+
type: "number",
|
|
10110
|
+
required: true
|
|
10111
|
+
},
|
|
10112
|
+
{
|
|
10113
|
+
name: "y",
|
|
10114
|
+
type: "number",
|
|
10115
|
+
required: true
|
|
10116
|
+
}
|
|
10117
|
+
]
|
|
9544
10118
|
},
|
|
9545
10119
|
tileLeaveEvent: {
|
|
9546
10120
|
types: [
|
|
9547
10121
|
"string"
|
|
9548
10122
|
],
|
|
9549
|
-
description: "Declarative event: emits UI:{tileLeaveEvent} with {} on tile leave"
|
|
10123
|
+
description: "Declarative event: emits UI:{tileLeaveEvent} with {} on tile leave",
|
|
10124
|
+
kind: "event-ref",
|
|
10125
|
+
emitPayloadSchema: []
|
|
9550
10126
|
},
|
|
9551
10127
|
scale: {
|
|
9552
10128
|
types: [
|
|
@@ -9606,25 +10182,53 @@ var patterns_registry_default = {
|
|
|
9606
10182
|
types: [
|
|
9607
10183
|
"function"
|
|
9608
10184
|
],
|
|
9609
|
-
description: "--- Asset resolution (project-agnostic) ---"
|
|
10185
|
+
description: "--- Asset resolution (project-agnostic) ---",
|
|
10186
|
+
kind: "callback",
|
|
10187
|
+
callbackArgs: [
|
|
10188
|
+
{
|
|
10189
|
+
name: "terrain",
|
|
10190
|
+
type: "string"
|
|
10191
|
+
}
|
|
10192
|
+
]
|
|
9610
10193
|
},
|
|
9611
10194
|
getFeatureSprite: {
|
|
9612
10195
|
types: [
|
|
9613
10196
|
"function"
|
|
9614
10197
|
],
|
|
9615
|
-
description: "Resolve feature sprite URL from feature type key"
|
|
10198
|
+
description: "Resolve feature sprite URL from feature type key",
|
|
10199
|
+
kind: "callback",
|
|
10200
|
+
callbackArgs: [
|
|
10201
|
+
{
|
|
10202
|
+
name: "featureType",
|
|
10203
|
+
type: "string"
|
|
10204
|
+
}
|
|
10205
|
+
]
|
|
9616
10206
|
},
|
|
9617
10207
|
getUnitSprite: {
|
|
9618
10208
|
types: [
|
|
9619
10209
|
"function"
|
|
9620
10210
|
],
|
|
9621
|
-
description: "Resolve unit static sprite URL"
|
|
10211
|
+
description: "Resolve unit static sprite URL",
|
|
10212
|
+
kind: "callback",
|
|
10213
|
+
callbackArgs: [
|
|
10214
|
+
{
|
|
10215
|
+
name: "unit",
|
|
10216
|
+
type: "object"
|
|
10217
|
+
}
|
|
10218
|
+
]
|
|
9622
10219
|
},
|
|
9623
10220
|
resolveUnitFrame: {
|
|
9624
10221
|
types: [
|
|
9625
10222
|
"function"
|
|
9626
10223
|
],
|
|
9627
|
-
description: "Resolve animated sprite sheet frame for a unit"
|
|
10224
|
+
description: "Resolve animated sprite sheet frame for a unit",
|
|
10225
|
+
kind: "callback",
|
|
10226
|
+
callbackArgs: [
|
|
10227
|
+
{
|
|
10228
|
+
name: "unitId",
|
|
10229
|
+
type: "string"
|
|
10230
|
+
}
|
|
10231
|
+
]
|
|
9628
10232
|
},
|
|
9629
10233
|
effectSpriteUrls: {
|
|
9630
10234
|
types: [
|
|
@@ -9636,7 +10240,22 @@ var patterns_registry_default = {
|
|
|
9636
10240
|
types: [
|
|
9637
10241
|
"function"
|
|
9638
10242
|
],
|
|
9639
|
-
description: "Callback to draw canvas effects after units (canvas-specific: cannot be declarative)"
|
|
10243
|
+
description: "Callback to draw canvas effects after units (canvas-specific: cannot be declarative)",
|
|
10244
|
+
kind: "callback",
|
|
10245
|
+
callbackArgs: [
|
|
10246
|
+
{
|
|
10247
|
+
name: "ctx",
|
|
10248
|
+
type: "object"
|
|
10249
|
+
},
|
|
10250
|
+
{
|
|
10251
|
+
name: "animTime",
|
|
10252
|
+
type: "number"
|
|
10253
|
+
},
|
|
10254
|
+
{
|
|
10255
|
+
name: "getImage",
|
|
10256
|
+
type: "function"
|
|
10257
|
+
}
|
|
10258
|
+
]
|
|
9640
10259
|
},
|
|
9641
10260
|
hasActiveEffects: {
|
|
9642
10261
|
types: [
|
|
@@ -9813,61 +10432,151 @@ var patterns_registry_default = {
|
|
|
9813
10432
|
types: [
|
|
9814
10433
|
"function"
|
|
9815
10434
|
],
|
|
9816
|
-
description: "-- Slots --"
|
|
10435
|
+
description: "-- Slots --",
|
|
10436
|
+
kind: "callback",
|
|
10437
|
+
callbackArgs: [
|
|
10438
|
+
{
|
|
10439
|
+
name: "ctx",
|
|
10440
|
+
type: "object"
|
|
10441
|
+
}
|
|
10442
|
+
]
|
|
9817
10443
|
},
|
|
9818
10444
|
sidebar: {
|
|
9819
10445
|
types: [
|
|
9820
10446
|
"function"
|
|
9821
10447
|
],
|
|
9822
|
-
description: "Sidebar content (combat log, unit roster, etc.)"
|
|
10448
|
+
description: "Sidebar content (combat log, unit roster, etc.)",
|
|
10449
|
+
kind: "callback",
|
|
10450
|
+
callbackArgs: [
|
|
10451
|
+
{
|
|
10452
|
+
name: "ctx",
|
|
10453
|
+
type: "object"
|
|
10454
|
+
}
|
|
10455
|
+
]
|
|
9823
10456
|
},
|
|
9824
10457
|
actions: {
|
|
9825
10458
|
types: [
|
|
9826
10459
|
"function"
|
|
9827
10460
|
],
|
|
9828
|
-
description: "Floating action buttons"
|
|
10461
|
+
description: "Floating action buttons",
|
|
10462
|
+
kind: "callback",
|
|
10463
|
+
callbackArgs: [
|
|
10464
|
+
{
|
|
10465
|
+
name: "ctx",
|
|
10466
|
+
type: "object"
|
|
10467
|
+
}
|
|
10468
|
+
]
|
|
9829
10469
|
},
|
|
9830
10470
|
overlay: {
|
|
9831
10471
|
types: [
|
|
9832
10472
|
"function"
|
|
9833
10473
|
],
|
|
9834
|
-
description: "Floating overlays above the canvas (damage popups, tooltips)"
|
|
10474
|
+
description: "Floating overlays above the canvas (damage popups, tooltips)",
|
|
10475
|
+
kind: "callback",
|
|
10476
|
+
callbackArgs: [
|
|
10477
|
+
{
|
|
10478
|
+
name: "ctx",
|
|
10479
|
+
type: "object"
|
|
10480
|
+
}
|
|
10481
|
+
]
|
|
9835
10482
|
},
|
|
9836
10483
|
gameOverOverlay: {
|
|
9837
10484
|
types: [
|
|
9838
10485
|
"function"
|
|
9839
10486
|
],
|
|
9840
|
-
description: "Game-over screen overlay"
|
|
9841
|
-
|
|
9842
|
-
|
|
10487
|
+
description: "Game-over screen overlay",
|
|
10488
|
+
kind: "callback",
|
|
10489
|
+
callbackArgs: [
|
|
10490
|
+
{
|
|
10491
|
+
name: "ctx",
|
|
10492
|
+
type: "object"
|
|
10493
|
+
}
|
|
10494
|
+
]
|
|
10495
|
+
},
|
|
10496
|
+
onAttack: {
|
|
9843
10497
|
types: [
|
|
9844
10498
|
"function"
|
|
9845
10499
|
],
|
|
9846
|
-
description: "-- Callbacks --"
|
|
10500
|
+
description: "-- Callbacks --",
|
|
10501
|
+
kind: "callback",
|
|
10502
|
+
callbackArgs: [
|
|
10503
|
+
{
|
|
10504
|
+
name: "attacker",
|
|
10505
|
+
type: "object"
|
|
10506
|
+
},
|
|
10507
|
+
{
|
|
10508
|
+
name: "target",
|
|
10509
|
+
type: "object"
|
|
10510
|
+
},
|
|
10511
|
+
{
|
|
10512
|
+
name: "damage",
|
|
10513
|
+
type: "number"
|
|
10514
|
+
}
|
|
10515
|
+
]
|
|
9847
10516
|
},
|
|
9848
10517
|
onGameEnd: {
|
|
9849
10518
|
types: [
|
|
9850
10519
|
"function"
|
|
9851
10520
|
],
|
|
9852
|
-
description: "Called when battle ends"
|
|
10521
|
+
description: "Called when battle ends",
|
|
10522
|
+
kind: "callback",
|
|
10523
|
+
callbackArgs: [
|
|
10524
|
+
{
|
|
10525
|
+
name: "result",
|
|
10526
|
+
type: "string"
|
|
10527
|
+
}
|
|
10528
|
+
]
|
|
9853
10529
|
},
|
|
9854
10530
|
onUnitMove: {
|
|
9855
10531
|
types: [
|
|
9856
10532
|
"function"
|
|
9857
10533
|
],
|
|
9858
|
-
description: "Called after a unit moves"
|
|
10534
|
+
description: "Called after a unit moves",
|
|
10535
|
+
kind: "callback",
|
|
10536
|
+
callbackArgs: [
|
|
10537
|
+
{
|
|
10538
|
+
name: "unit",
|
|
10539
|
+
type: "object"
|
|
10540
|
+
},
|
|
10541
|
+
{
|
|
10542
|
+
name: "to",
|
|
10543
|
+
type: "object"
|
|
10544
|
+
}
|
|
10545
|
+
]
|
|
9859
10546
|
},
|
|
9860
10547
|
calculateDamage: {
|
|
9861
10548
|
types: [
|
|
9862
10549
|
"function"
|
|
9863
10550
|
],
|
|
9864
|
-
description: "Custom combat damage calculator"
|
|
10551
|
+
description: "Custom combat damage calculator",
|
|
10552
|
+
kind: "callback",
|
|
10553
|
+
callbackArgs: [
|
|
10554
|
+
{
|
|
10555
|
+
name: "attacker",
|
|
10556
|
+
type: "object"
|
|
10557
|
+
},
|
|
10558
|
+
{
|
|
10559
|
+
name: "target",
|
|
10560
|
+
type: "object"
|
|
10561
|
+
}
|
|
10562
|
+
]
|
|
9865
10563
|
},
|
|
9866
10564
|
onDrawEffects: {
|
|
9867
10565
|
types: [
|
|
9868
10566
|
"function"
|
|
9869
10567
|
],
|
|
9870
|
-
description: "-- Canvas pass-through --"
|
|
10568
|
+
description: "-- Canvas pass-through --",
|
|
10569
|
+
kind: "callback",
|
|
10570
|
+
callbackArgs: [
|
|
10571
|
+
{
|
|
10572
|
+
name: "ctx",
|
|
10573
|
+
type: "object"
|
|
10574
|
+
},
|
|
10575
|
+
{
|
|
10576
|
+
name: "timestamp",
|
|
10577
|
+
type: "number"
|
|
10578
|
+
}
|
|
10579
|
+
]
|
|
9871
10580
|
},
|
|
9872
10581
|
hasActiveEffects: {
|
|
9873
10582
|
types: [
|
|
@@ -9885,49 +10594,109 @@ var patterns_registry_default = {
|
|
|
9885
10594
|
types: [
|
|
9886
10595
|
"function"
|
|
9887
10596
|
],
|
|
9888
|
-
description: "resolveUnitFrame prop"
|
|
10597
|
+
description: "resolveUnitFrame prop",
|
|
10598
|
+
kind: "callback",
|
|
10599
|
+
callbackArgs: [
|
|
10600
|
+
{
|
|
10601
|
+
name: "unitId",
|
|
10602
|
+
type: "string"
|
|
10603
|
+
}
|
|
10604
|
+
]
|
|
9889
10605
|
},
|
|
9890
10606
|
tileClickEvent: {
|
|
9891
10607
|
types: [
|
|
9892
10608
|
"string"
|
|
9893
10609
|
],
|
|
9894
|
-
description: "-- Declarative event props --"
|
|
10610
|
+
description: "-- Declarative event props --",
|
|
10611
|
+
kind: "event-ref",
|
|
10612
|
+
emitPayloadSchema: [
|
|
10613
|
+
{
|
|
10614
|
+
name: "x",
|
|
10615
|
+
type: "number",
|
|
10616
|
+
required: true
|
|
10617
|
+
},
|
|
10618
|
+
{
|
|
10619
|
+
name: "y",
|
|
10620
|
+
type: "number",
|
|
10621
|
+
required: true
|
|
10622
|
+
}
|
|
10623
|
+
]
|
|
9895
10624
|
},
|
|
9896
10625
|
unitClickEvent: {
|
|
9897
10626
|
types: [
|
|
9898
10627
|
"string"
|
|
9899
10628
|
],
|
|
9900
|
-
description: "Emits UI:{unitClickEvent} with { unitId } on unit click"
|
|
10629
|
+
description: "Emits UI:{unitClickEvent} with { unitId } on unit click",
|
|
10630
|
+
kind: "event-ref",
|
|
10631
|
+
emitPayloadSchema: [
|
|
10632
|
+
{
|
|
10633
|
+
name: "unitId",
|
|
10634
|
+
type: "string",
|
|
10635
|
+
required: true
|
|
10636
|
+
}
|
|
10637
|
+
]
|
|
9901
10638
|
},
|
|
9902
10639
|
endTurnEvent: {
|
|
9903
10640
|
types: [
|
|
9904
10641
|
"string"
|
|
9905
10642
|
],
|
|
9906
|
-
description: "Emits UI:{endTurnEvent} with {} on end turn"
|
|
10643
|
+
description: "Emits UI:{endTurnEvent} with {} on end turn",
|
|
10644
|
+
kind: "event-ref",
|
|
10645
|
+
emitPayloadSchema: []
|
|
9907
10646
|
},
|
|
9908
10647
|
cancelEvent: {
|
|
9909
10648
|
types: [
|
|
9910
10649
|
"string"
|
|
9911
10650
|
],
|
|
9912
|
-
description: "Emits UI:{cancelEvent} with {} on cancel"
|
|
10651
|
+
description: "Emits UI:{cancelEvent} with {} on cancel",
|
|
10652
|
+
kind: "event-ref",
|
|
10653
|
+
emitPayloadSchema: []
|
|
9913
10654
|
},
|
|
9914
10655
|
gameEndEvent: {
|
|
9915
10656
|
types: [
|
|
9916
10657
|
"string"
|
|
9917
10658
|
],
|
|
9918
|
-
description: "Emits UI:{gameEndEvent} with { result } on game end"
|
|
10659
|
+
description: "Emits UI:{gameEndEvent} with { result: 'victory' | 'defeat' } on game end",
|
|
10660
|
+
kind: "event-ref",
|
|
10661
|
+
emitPayloadSchema: [
|
|
10662
|
+
{
|
|
10663
|
+
name: "result",
|
|
10664
|
+
type: "string",
|
|
10665
|
+
required: true
|
|
10666
|
+
}
|
|
10667
|
+
]
|
|
9919
10668
|
},
|
|
9920
10669
|
playAgainEvent: {
|
|
9921
10670
|
types: [
|
|
9922
10671
|
"string"
|
|
9923
10672
|
],
|
|
9924
|
-
description: "Emits UI:{playAgainEvent} with {} on play again / reset"
|
|
10673
|
+
description: "Emits UI:{playAgainEvent} with {} on play again / reset",
|
|
10674
|
+
kind: "event-ref",
|
|
10675
|
+
emitPayloadSchema: []
|
|
9925
10676
|
},
|
|
9926
10677
|
attackEvent: {
|
|
9927
10678
|
types: [
|
|
9928
10679
|
"string"
|
|
9929
10680
|
],
|
|
9930
|
-
description: "Emits UI:{attackEvent} with { attackerId, targetId, damage } on attack"
|
|
10681
|
+
description: "Emits UI:{attackEvent} with { attackerId, targetId, damage } on attack",
|
|
10682
|
+
kind: "event-ref",
|
|
10683
|
+
emitPayloadSchema: [
|
|
10684
|
+
{
|
|
10685
|
+
name: "attackerId",
|
|
10686
|
+
type: "string",
|
|
10687
|
+
required: true
|
|
10688
|
+
},
|
|
10689
|
+
{
|
|
10690
|
+
name: "targetId",
|
|
10691
|
+
type: "string",
|
|
10692
|
+
required: true
|
|
10693
|
+
},
|
|
10694
|
+
{
|
|
10695
|
+
name: "damage",
|
|
10696
|
+
type: "number",
|
|
10697
|
+
required: true
|
|
10698
|
+
}
|
|
10699
|
+
]
|
|
9931
10700
|
},
|
|
9932
10701
|
className: {
|
|
9933
10702
|
types: [
|
|
@@ -9965,61 +10734,158 @@ var patterns_registry_default = {
|
|
|
9965
10734
|
types: [
|
|
9966
10735
|
"function"
|
|
9967
10736
|
],
|
|
9968
|
-
description: "-- Render-prop slots --"
|
|
10737
|
+
description: "-- Render-prop slots --",
|
|
10738
|
+
kind: "callback",
|
|
10739
|
+
callbackArgs: [
|
|
10740
|
+
{
|
|
10741
|
+
name: "ctx",
|
|
10742
|
+
type: "object"
|
|
10743
|
+
}
|
|
10744
|
+
]
|
|
9969
10745
|
},
|
|
9970
10746
|
sidePanel: {
|
|
9971
10747
|
types: [
|
|
9972
10748
|
"function"
|
|
9973
10749
|
],
|
|
9974
|
-
description: "Side panel content (buildings list, recruit tab, garrison tab)"
|
|
10750
|
+
description: "Side panel content (buildings list, recruit tab, garrison tab)",
|
|
10751
|
+
kind: "callback",
|
|
10752
|
+
callbackArgs: [
|
|
10753
|
+
{
|
|
10754
|
+
name: "ctx",
|
|
10755
|
+
type: "object"
|
|
10756
|
+
}
|
|
10757
|
+
]
|
|
9975
10758
|
},
|
|
9976
10759
|
overlay: {
|
|
9977
10760
|
types: [
|
|
9978
10761
|
"function"
|
|
9979
10762
|
],
|
|
9980
|
-
description: "Canvas overlay (hover tooltips, etc.)"
|
|
10763
|
+
description: "Canvas overlay (hover tooltips, etc.)",
|
|
10764
|
+
kind: "callback",
|
|
10765
|
+
callbackArgs: [
|
|
10766
|
+
{
|
|
10767
|
+
name: "ctx",
|
|
10768
|
+
type: "object"
|
|
10769
|
+
}
|
|
10770
|
+
]
|
|
9981
10771
|
},
|
|
9982
10772
|
footer: {
|
|
9983
10773
|
types: [
|
|
9984
10774
|
"function"
|
|
9985
10775
|
],
|
|
9986
|
-
description: "Bottom bar (income summary, etc.)"
|
|
10776
|
+
description: "Bottom bar (income summary, etc.)",
|
|
10777
|
+
kind: "callback",
|
|
10778
|
+
callbackArgs: [
|
|
10779
|
+
{
|
|
10780
|
+
name: "ctx",
|
|
10781
|
+
type: "object"
|
|
10782
|
+
}
|
|
10783
|
+
]
|
|
9987
10784
|
},
|
|
9988
10785
|
onFeatureClick: {
|
|
9989
10786
|
types: [
|
|
9990
10787
|
"function"
|
|
9991
10788
|
],
|
|
9992
|
-
description: "-- Callback overrides --"
|
|
10789
|
+
description: "-- Callback overrides --",
|
|
10790
|
+
kind: "callback",
|
|
10791
|
+
callbackArgs: [
|
|
10792
|
+
{
|
|
10793
|
+
name: "feature",
|
|
10794
|
+
type: "object"
|
|
10795
|
+
}
|
|
10796
|
+
]
|
|
9993
10797
|
},
|
|
9994
10798
|
onUnitClick: {
|
|
9995
10799
|
types: [
|
|
9996
10800
|
"function"
|
|
9997
10801
|
],
|
|
9998
|
-
description: "Called when a unit is clicked"
|
|
10802
|
+
description: "Called when a unit is clicked",
|
|
10803
|
+
kind: "callback",
|
|
10804
|
+
callbackArgs: [
|
|
10805
|
+
{
|
|
10806
|
+
name: "unit",
|
|
10807
|
+
type: "object"
|
|
10808
|
+
}
|
|
10809
|
+
]
|
|
9999
10810
|
},
|
|
10000
10811
|
onTileClick: {
|
|
10001
10812
|
types: [
|
|
10002
10813
|
"function"
|
|
10003
10814
|
],
|
|
10004
|
-
description: "Called when any tile is clicked"
|
|
10815
|
+
description: "Called when any tile is clicked",
|
|
10816
|
+
kind: "callback",
|
|
10817
|
+
callbackArgs: [
|
|
10818
|
+
{
|
|
10819
|
+
name: "x",
|
|
10820
|
+
type: "number"
|
|
10821
|
+
},
|
|
10822
|
+
{
|
|
10823
|
+
name: "y",
|
|
10824
|
+
type: "number"
|
|
10825
|
+
}
|
|
10826
|
+
]
|
|
10005
10827
|
},
|
|
10006
10828
|
featureClickEvent: {
|
|
10007
10829
|
types: [
|
|
10008
10830
|
"string"
|
|
10009
10831
|
],
|
|
10010
|
-
description: "-- Declarative event props --"
|
|
10832
|
+
description: "-- Declarative event props --",
|
|
10833
|
+
kind: "event-ref",
|
|
10834
|
+
emitPayloadSchema: [
|
|
10835
|
+
{
|
|
10836
|
+
name: "featureId",
|
|
10837
|
+
type: "string",
|
|
10838
|
+
required: true
|
|
10839
|
+
},
|
|
10840
|
+
{
|
|
10841
|
+
name: "featureType",
|
|
10842
|
+
type: "string",
|
|
10843
|
+
required: true
|
|
10844
|
+
},
|
|
10845
|
+
{
|
|
10846
|
+
name: "x",
|
|
10847
|
+
type: "number",
|
|
10848
|
+
required: true
|
|
10849
|
+
},
|
|
10850
|
+
{
|
|
10851
|
+
name: "y",
|
|
10852
|
+
type: "number",
|
|
10853
|
+
required: true
|
|
10854
|
+
}
|
|
10855
|
+
]
|
|
10011
10856
|
},
|
|
10012
10857
|
unitClickEvent: {
|
|
10013
10858
|
types: [
|
|
10014
10859
|
"string"
|
|
10015
10860
|
],
|
|
10016
|
-
description: "Event name to emit via event bus when a unit is clicked (emits UI:{unitClickEvent})"
|
|
10861
|
+
description: "Event name to emit via event bus when a unit is clicked (emits UI:{unitClickEvent})",
|
|
10862
|
+
kind: "event-ref",
|
|
10863
|
+
emitPayloadSchema: [
|
|
10864
|
+
{
|
|
10865
|
+
name: "unitId",
|
|
10866
|
+
type: "string",
|
|
10867
|
+
required: true
|
|
10868
|
+
}
|
|
10869
|
+
]
|
|
10017
10870
|
},
|
|
10018
10871
|
tileClickEvent: {
|
|
10019
10872
|
types: [
|
|
10020
10873
|
"string"
|
|
10021
10874
|
],
|
|
10022
|
-
description: "Event name to emit via event bus when a tile is clicked (emits UI:{tileClickEvent})"
|
|
10875
|
+
description: "Event name to emit via event bus when a tile is clicked (emits UI:{tileClickEvent})",
|
|
10876
|
+
kind: "event-ref",
|
|
10877
|
+
emitPayloadSchema: [
|
|
10878
|
+
{
|
|
10879
|
+
name: "x",
|
|
10880
|
+
type: "number",
|
|
10881
|
+
required: true
|
|
10882
|
+
},
|
|
10883
|
+
{
|
|
10884
|
+
name: "y",
|
|
10885
|
+
type: "number",
|
|
10886
|
+
required: true
|
|
10887
|
+
}
|
|
10888
|
+
]
|
|
10023
10889
|
},
|
|
10024
10890
|
className: {
|
|
10025
10891
|
types: [
|
|
@@ -10088,85 +10954,242 @@ var patterns_registry_default = {
|
|
|
10088
10954
|
types: [
|
|
10089
10955
|
"function"
|
|
10090
10956
|
],
|
|
10091
|
-
description: "Custom movement range validator"
|
|
10957
|
+
description: "Custom movement range validator",
|
|
10958
|
+
kind: "callback",
|
|
10959
|
+
callbackArgs: [
|
|
10960
|
+
{
|
|
10961
|
+
name: "from",
|
|
10962
|
+
type: "object"
|
|
10963
|
+
},
|
|
10964
|
+
{
|
|
10965
|
+
name: "to",
|
|
10966
|
+
type: "object"
|
|
10967
|
+
},
|
|
10968
|
+
{
|
|
10969
|
+
name: "range",
|
|
10970
|
+
type: "number"
|
|
10971
|
+
}
|
|
10972
|
+
]
|
|
10092
10973
|
},
|
|
10093
10974
|
heroSelectEvent: {
|
|
10094
10975
|
types: [
|
|
10095
10976
|
"string"
|
|
10096
10977
|
],
|
|
10097
|
-
description: "-- Declarative event props --"
|
|
10978
|
+
description: "-- Declarative event props --",
|
|
10979
|
+
kind: "event-ref",
|
|
10980
|
+
emitPayloadSchema: [
|
|
10981
|
+
{
|
|
10982
|
+
name: "heroId",
|
|
10983
|
+
type: "string",
|
|
10984
|
+
required: true
|
|
10985
|
+
}
|
|
10986
|
+
]
|
|
10098
10987
|
},
|
|
10099
10988
|
heroMoveEvent: {
|
|
10100
10989
|
types: [
|
|
10101
10990
|
"string"
|
|
10102
10991
|
],
|
|
10103
|
-
description: "Emits UI:{heroMoveEvent} with { heroId, toX, toY }"
|
|
10992
|
+
description: "Emits UI:{heroMoveEvent} with { heroId, toX, toY }",
|
|
10993
|
+
kind: "event-ref",
|
|
10994
|
+
emitPayloadSchema: [
|
|
10995
|
+
{
|
|
10996
|
+
name: "heroId",
|
|
10997
|
+
type: "string",
|
|
10998
|
+
required: true
|
|
10999
|
+
},
|
|
11000
|
+
{
|
|
11001
|
+
name: "toX",
|
|
11002
|
+
type: "number",
|
|
11003
|
+
required: true
|
|
11004
|
+
},
|
|
11005
|
+
{
|
|
11006
|
+
name: "toY",
|
|
11007
|
+
type: "number",
|
|
11008
|
+
required: true
|
|
11009
|
+
}
|
|
11010
|
+
]
|
|
10104
11011
|
},
|
|
10105
11012
|
battleEncounterEvent: {
|
|
10106
11013
|
types: [
|
|
10107
11014
|
"string"
|
|
10108
11015
|
],
|
|
10109
|
-
description: "Emits UI:{battleEncounterEvent} with { attackerId, defenderId }"
|
|
11016
|
+
description: "Emits UI:{battleEncounterEvent} with { attackerId, defenderId }",
|
|
11017
|
+
kind: "event-ref",
|
|
11018
|
+
emitPayloadSchema: [
|
|
11019
|
+
{
|
|
11020
|
+
name: "attackerId",
|
|
11021
|
+
type: "string",
|
|
11022
|
+
required: true
|
|
11023
|
+
},
|
|
11024
|
+
{
|
|
11025
|
+
name: "defenderId",
|
|
11026
|
+
type: "string",
|
|
11027
|
+
required: true
|
|
11028
|
+
}
|
|
11029
|
+
]
|
|
10110
11030
|
},
|
|
10111
11031
|
featureEnterEvent: {
|
|
10112
11032
|
types: [
|
|
10113
11033
|
"string"
|
|
10114
11034
|
],
|
|
10115
|
-
description: "Emits UI:{featureEnterEvent} with { heroId, feature, hex }"
|
|
11035
|
+
description: "Emits UI:{featureEnterEvent} with { heroId, feature, hex }",
|
|
11036
|
+
kind: "event-ref",
|
|
11037
|
+
emitPayloadSchema: [
|
|
11038
|
+
{
|
|
11039
|
+
name: "heroId",
|
|
11040
|
+
type: "string",
|
|
11041
|
+
required: true
|
|
11042
|
+
},
|
|
11043
|
+
{
|
|
11044
|
+
name: "feature",
|
|
11045
|
+
type: "string",
|
|
11046
|
+
required: true
|
|
11047
|
+
},
|
|
11048
|
+
{
|
|
11049
|
+
name: "hex",
|
|
11050
|
+
type: "object",
|
|
11051
|
+
required: true
|
|
11052
|
+
}
|
|
11053
|
+
]
|
|
10116
11054
|
},
|
|
10117
11055
|
tileClickEvent: {
|
|
10118
11056
|
types: [
|
|
10119
11057
|
"string"
|
|
10120
11058
|
],
|
|
10121
|
-
description: "Emits UI:{tileClickEvent} with { x, y }"
|
|
11059
|
+
description: "Emits UI:{tileClickEvent} with { x, y }",
|
|
11060
|
+
kind: "event-ref",
|
|
11061
|
+
emitPayloadSchema: [
|
|
11062
|
+
{
|
|
11063
|
+
name: "x",
|
|
11064
|
+
type: "number",
|
|
11065
|
+
required: true
|
|
11066
|
+
},
|
|
11067
|
+
{
|
|
11068
|
+
name: "y",
|
|
11069
|
+
type: "number",
|
|
11070
|
+
required: true
|
|
11071
|
+
}
|
|
11072
|
+
]
|
|
10122
11073
|
},
|
|
10123
11074
|
header: {
|
|
10124
11075
|
types: [
|
|
10125
11076
|
"function"
|
|
10126
11077
|
],
|
|
10127
|
-
description: "-- Slots --"
|
|
11078
|
+
description: "-- Slots --",
|
|
11079
|
+
kind: "callback",
|
|
11080
|
+
callbackArgs: [
|
|
11081
|
+
{
|
|
11082
|
+
name: "ctx",
|
|
11083
|
+
type: "object"
|
|
11084
|
+
}
|
|
11085
|
+
]
|
|
10128
11086
|
},
|
|
10129
11087
|
sidePanel: {
|
|
10130
11088
|
types: [
|
|
10131
11089
|
"function"
|
|
10132
11090
|
],
|
|
10133
|
-
description: "Side panel (hero detail, hero lists, etc.)"
|
|
11091
|
+
description: "Side panel (hero detail, hero lists, etc.)",
|
|
11092
|
+
kind: "callback",
|
|
11093
|
+
callbackArgs: [
|
|
11094
|
+
{
|
|
11095
|
+
name: "ctx",
|
|
11096
|
+
type: "object"
|
|
11097
|
+
}
|
|
11098
|
+
]
|
|
10134
11099
|
},
|
|
10135
11100
|
overlay: {
|
|
10136
11101
|
types: [
|
|
10137
11102
|
"function"
|
|
10138
11103
|
],
|
|
10139
|
-
description: "Canvas overlay (tooltips, popups)"
|
|
11104
|
+
description: "Canvas overlay (tooltips, popups)",
|
|
11105
|
+
kind: "callback",
|
|
11106
|
+
callbackArgs: [
|
|
11107
|
+
{
|
|
11108
|
+
name: "ctx",
|
|
11109
|
+
type: "object"
|
|
11110
|
+
}
|
|
11111
|
+
]
|
|
10140
11112
|
},
|
|
10141
11113
|
footer: {
|
|
10142
11114
|
types: [
|
|
10143
11115
|
"function"
|
|
10144
11116
|
],
|
|
10145
|
-
description: "Footer"
|
|
11117
|
+
description: "Footer",
|
|
11118
|
+
kind: "callback",
|
|
11119
|
+
callbackArgs: [
|
|
11120
|
+
{
|
|
11121
|
+
name: "ctx",
|
|
11122
|
+
type: "object"
|
|
11123
|
+
}
|
|
11124
|
+
]
|
|
10146
11125
|
},
|
|
10147
11126
|
onHeroSelect: {
|
|
10148
11127
|
types: [
|
|
10149
11128
|
"function"
|
|
10150
11129
|
],
|
|
10151
|
-
description: "-- Callbacks --"
|
|
11130
|
+
description: "-- Callbacks --",
|
|
11131
|
+
kind: "callback",
|
|
11132
|
+
callbackArgs: [
|
|
11133
|
+
{
|
|
11134
|
+
name: "heroId",
|
|
11135
|
+
type: "string"
|
|
11136
|
+
}
|
|
11137
|
+
]
|
|
10152
11138
|
},
|
|
10153
11139
|
onHeroMove: {
|
|
10154
11140
|
types: [
|
|
10155
11141
|
"function"
|
|
10156
11142
|
],
|
|
10157
|
-
description: "onHeroMove prop"
|
|
11143
|
+
description: "onHeroMove prop",
|
|
11144
|
+
kind: "callback",
|
|
11145
|
+
callbackArgs: [
|
|
11146
|
+
{
|
|
11147
|
+
name: "heroId",
|
|
11148
|
+
type: "string"
|
|
11149
|
+
},
|
|
11150
|
+
{
|
|
11151
|
+
name: "toX",
|
|
11152
|
+
type: "number"
|
|
11153
|
+
},
|
|
11154
|
+
{
|
|
11155
|
+
name: "toY",
|
|
11156
|
+
type: "number"
|
|
11157
|
+
}
|
|
11158
|
+
]
|
|
10158
11159
|
},
|
|
10159
11160
|
onBattleEncounter: {
|
|
10160
11161
|
types: [
|
|
10161
11162
|
"function"
|
|
10162
11163
|
],
|
|
10163
|
-
description: "Called when hero clicks an enemy hero tile"
|
|
11164
|
+
description: "Called when hero clicks an enemy hero tile",
|
|
11165
|
+
kind: "callback",
|
|
11166
|
+
callbackArgs: [
|
|
11167
|
+
{
|
|
11168
|
+
name: "attackerId",
|
|
11169
|
+
type: "string"
|
|
11170
|
+
},
|
|
11171
|
+
{
|
|
11172
|
+
name: "defenderId",
|
|
11173
|
+
type: "string"
|
|
11174
|
+
}
|
|
11175
|
+
]
|
|
10164
11176
|
},
|
|
10165
11177
|
onFeatureEnter: {
|
|
10166
11178
|
types: [
|
|
10167
11179
|
"function"
|
|
10168
11180
|
],
|
|
10169
|
-
description: "Called when hero enters a feature hex (castle, resource, etc.)"
|
|
11181
|
+
description: "Called when hero enters a feature hex (castle, resource, etc.)",
|
|
11182
|
+
kind: "callback",
|
|
11183
|
+
callbackArgs: [
|
|
11184
|
+
{
|
|
11185
|
+
name: "heroId",
|
|
11186
|
+
type: "string"
|
|
11187
|
+
},
|
|
11188
|
+
{
|
|
11189
|
+
name: "hex",
|
|
11190
|
+
type: "object"
|
|
11191
|
+
}
|
|
11192
|
+
]
|
|
10170
11193
|
},
|
|
10171
11194
|
diamondTopY: {
|
|
10172
11195
|
types: [
|
|
@@ -10190,7 +11213,14 @@ var patterns_registry_default = {
|
|
|
10190
11213
|
types: [
|
|
10191
11214
|
"function"
|
|
10192
11215
|
],
|
|
10193
|
-
description: "resolveUnitFrame prop"
|
|
11216
|
+
description: "resolveUnitFrame prop",
|
|
11217
|
+
kind: "callback",
|
|
11218
|
+
callbackArgs: [
|
|
11219
|
+
{
|
|
11220
|
+
name: "unitId",
|
|
11221
|
+
type: "string"
|
|
11222
|
+
}
|
|
11223
|
+
]
|
|
10194
11224
|
}
|
|
10195
11225
|
}
|
|
10196
11226
|
},
|
|
@@ -10224,7 +11254,9 @@ var patterns_registry_default = {
|
|
|
10224
11254
|
"function"
|
|
10225
11255
|
],
|
|
10226
11256
|
description: "onToggle prop",
|
|
10227
|
-
required: true
|
|
11257
|
+
required: true,
|
|
11258
|
+
kind: "callback",
|
|
11259
|
+
callbackArgs: []
|
|
10228
11260
|
},
|
|
10229
11261
|
children: {
|
|
10230
11262
|
types: [
|
|
@@ -10294,13 +11326,22 @@ var patterns_registry_default = {
|
|
|
10294
11326
|
types: [
|
|
10295
11327
|
"function"
|
|
10296
11328
|
],
|
|
10297
|
-
description: "Click handler"
|
|
11329
|
+
description: "Click handler",
|
|
11330
|
+
kind: "callback",
|
|
11331
|
+
callbackArgs: []
|
|
10298
11332
|
},
|
|
10299
11333
|
onHover: {
|
|
10300
11334
|
types: [
|
|
10301
11335
|
"function"
|
|
10302
11336
|
],
|
|
10303
|
-
description: "Hover handler"
|
|
11337
|
+
description: "Hover handler",
|
|
11338
|
+
kind: "callback",
|
|
11339
|
+
callbackArgs: [
|
|
11340
|
+
{
|
|
11341
|
+
name: "hovered",
|
|
11342
|
+
type: "boolean"
|
|
11343
|
+
}
|
|
11344
|
+
]
|
|
10304
11345
|
},
|
|
10305
11346
|
fallbackGeometry: {
|
|
10306
11347
|
types: [
|
|
@@ -10374,13 +11415,27 @@ var patterns_registry_default = {
|
|
|
10374
11415
|
types: [
|
|
10375
11416
|
"function"
|
|
10376
11417
|
],
|
|
10377
|
-
description: "Called when feature is clicked"
|
|
11418
|
+
description: "Called when feature is clicked",
|
|
11419
|
+
kind: "callback",
|
|
11420
|
+
callbackArgs: [
|
|
11421
|
+
{
|
|
11422
|
+
name: "feature",
|
|
11423
|
+
type: "object"
|
|
11424
|
+
}
|
|
11425
|
+
]
|
|
10378
11426
|
},
|
|
10379
11427
|
onFeatureHover: {
|
|
10380
11428
|
types: [
|
|
10381
11429
|
"function"
|
|
10382
11430
|
],
|
|
10383
|
-
description: "Called when feature is hovered"
|
|
11431
|
+
description: "Called when feature is hovered",
|
|
11432
|
+
kind: "callback",
|
|
11433
|
+
callbackArgs: [
|
|
11434
|
+
{
|
|
11435
|
+
name: "feature",
|
|
11436
|
+
type: "object"
|
|
11437
|
+
}
|
|
11438
|
+
]
|
|
10384
11439
|
},
|
|
10385
11440
|
selectedFeatureIds: {
|
|
10386
11441
|
types: [
|
|
@@ -10448,13 +11503,27 @@ var patterns_registry_default = {
|
|
|
10448
11503
|
types: [
|
|
10449
11504
|
"function"
|
|
10450
11505
|
],
|
|
10451
|
-
description: "Called when tile is clicked"
|
|
11506
|
+
description: "Called when tile is clicked",
|
|
11507
|
+
kind: "callback",
|
|
11508
|
+
callbackArgs: [
|
|
11509
|
+
{
|
|
11510
|
+
name: "tile",
|
|
11511
|
+
type: "object"
|
|
11512
|
+
}
|
|
11513
|
+
]
|
|
10452
11514
|
},
|
|
10453
11515
|
onTileHover: {
|
|
10454
11516
|
types: [
|
|
10455
11517
|
"function"
|
|
10456
11518
|
],
|
|
10457
|
-
description: "Called when tile is hovered"
|
|
11519
|
+
description: "Called when tile is hovered",
|
|
11520
|
+
kind: "callback",
|
|
11521
|
+
callbackArgs: [
|
|
11522
|
+
{
|
|
11523
|
+
name: "tile",
|
|
11524
|
+
type: "object"
|
|
11525
|
+
}
|
|
11526
|
+
]
|
|
10458
11527
|
},
|
|
10459
11528
|
selectedTileIds: {
|
|
10460
11529
|
types: [
|
|
@@ -10522,13 +11591,31 @@ var patterns_registry_default = {
|
|
|
10522
11591
|
types: [
|
|
10523
11592
|
"function"
|
|
10524
11593
|
],
|
|
10525
|
-
description: "Called when unit is clicked"
|
|
11594
|
+
description: "Called when unit is clicked",
|
|
11595
|
+
kind: "callback",
|
|
11596
|
+
callbackArgs: [
|
|
11597
|
+
{
|
|
11598
|
+
name: "unit",
|
|
11599
|
+
type: "object"
|
|
11600
|
+
}
|
|
11601
|
+
]
|
|
10526
11602
|
},
|
|
10527
11603
|
onAnimationStateChange: {
|
|
10528
11604
|
types: [
|
|
10529
11605
|
"function"
|
|
10530
11606
|
],
|
|
10531
|
-
description: "Called when unit animation state changes"
|
|
11607
|
+
description: "Called when unit animation state changes",
|
|
11608
|
+
kind: "callback",
|
|
11609
|
+
callbackArgs: [
|
|
11610
|
+
{
|
|
11611
|
+
name: "unitId",
|
|
11612
|
+
type: "string"
|
|
11613
|
+
},
|
|
11614
|
+
{
|
|
11615
|
+
name: "state",
|
|
11616
|
+
type: "string"
|
|
11617
|
+
}
|
|
11618
|
+
]
|
|
10532
11619
|
},
|
|
10533
11620
|
animationSpeed: {
|
|
10534
11621
|
types: [
|
|
@@ -10628,7 +11715,18 @@ var patterns_registry_default = {
|
|
|
10628
11715
|
types: [
|
|
10629
11716
|
"function"
|
|
10630
11717
|
],
|
|
10631
|
-
description: "Called when an error is caught (for logging/telemetry)"
|
|
11718
|
+
description: "Called when an error is caught (for logging/telemetry)",
|
|
11719
|
+
kind: "callback",
|
|
11720
|
+
callbackArgs: [
|
|
11721
|
+
{
|
|
11722
|
+
name: "error",
|
|
11723
|
+
type: "object"
|
|
11724
|
+
},
|
|
11725
|
+
{
|
|
11726
|
+
name: "errorInfo",
|
|
11727
|
+
type: "object"
|
|
11728
|
+
}
|
|
11729
|
+
]
|
|
10632
11730
|
}
|
|
10633
11731
|
}
|
|
10634
11732
|
},
|
|
@@ -10892,7 +11990,14 @@ var patterns_registry_default = {
|
|
|
10892
11990
|
types: [
|
|
10893
11991
|
"function"
|
|
10894
11992
|
],
|
|
10895
|
-
description: "-- Drag and drop --"
|
|
11993
|
+
description: "-- Drag and drop --",
|
|
11994
|
+
kind: "callback",
|
|
11995
|
+
callbackArgs: [
|
|
11996
|
+
{
|
|
11997
|
+
name: "item",
|
|
11998
|
+
type: "object"
|
|
11999
|
+
}
|
|
12000
|
+
]
|
|
10896
12001
|
},
|
|
10897
12002
|
draggable: {
|
|
10898
12003
|
types: [
|
|
@@ -10904,7 +12009,14 @@ var patterns_registry_default = {
|
|
|
10904
12009
|
types: [
|
|
10905
12010
|
"function"
|
|
10906
12011
|
],
|
|
10907
|
-
description: "Called when drag starts from this slot"
|
|
12012
|
+
description: "Called when drag starts from this slot",
|
|
12013
|
+
kind: "callback",
|
|
12014
|
+
callbackArgs: [
|
|
12015
|
+
{
|
|
12016
|
+
name: "item",
|
|
12017
|
+
type: "object"
|
|
12018
|
+
}
|
|
12019
|
+
]
|
|
10908
12020
|
},
|
|
10909
12021
|
feedback: {
|
|
10910
12022
|
types: [
|
|
@@ -10920,25 +12032,45 @@ var patterns_registry_default = {
|
|
|
10920
12032
|
types: [
|
|
10921
12033
|
"function"
|
|
10922
12034
|
],
|
|
10923
|
-
description: "-- Callbacks --"
|
|
12035
|
+
description: "-- Callbacks --",
|
|
12036
|
+
kind: "callback",
|
|
12037
|
+
callbackArgs: []
|
|
10924
12038
|
},
|
|
10925
12039
|
onRemove: {
|
|
10926
12040
|
types: [
|
|
10927
12041
|
"function"
|
|
10928
12042
|
],
|
|
10929
|
-
description: "Remove handler"
|
|
12043
|
+
description: "Remove handler",
|
|
12044
|
+
kind: "callback",
|
|
12045
|
+
callbackArgs: []
|
|
10930
12046
|
},
|
|
10931
12047
|
clickEvent: {
|
|
10932
12048
|
types: [
|
|
10933
12049
|
"string"
|
|
10934
12050
|
],
|
|
10935
|
-
description: "-- Declarative events --"
|
|
12051
|
+
description: "-- Declarative events --",
|
|
12052
|
+
kind: "event-ref",
|
|
12053
|
+
emitPayloadSchema: [
|
|
12054
|
+
{
|
|
12055
|
+
name: "slotNumber",
|
|
12056
|
+
type: "number",
|
|
12057
|
+
required: true
|
|
12058
|
+
}
|
|
12059
|
+
]
|
|
10936
12060
|
},
|
|
10937
12061
|
removeEvent: {
|
|
10938
12062
|
types: [
|
|
10939
12063
|
"string"
|
|
10940
12064
|
],
|
|
10941
|
-
description: "Emits UI:{removeEvent} with { slotNumber }"
|
|
12065
|
+
description: "Emits UI:{removeEvent} with { slotNumber }",
|
|
12066
|
+
kind: "event-ref",
|
|
12067
|
+
emitPayloadSchema: [
|
|
12068
|
+
{
|
|
12069
|
+
name: "slotNumber",
|
|
12070
|
+
type: "number",
|
|
12071
|
+
required: true
|
|
12072
|
+
}
|
|
12073
|
+
]
|
|
10942
12074
|
}
|
|
10943
12075
|
}
|
|
10944
12076
|
},
|
|
@@ -10993,7 +12125,14 @@ var patterns_registry_default = {
|
|
|
10993
12125
|
types: [
|
|
10994
12126
|
"function"
|
|
10995
12127
|
],
|
|
10996
|
-
description: "Click handler for states"
|
|
12128
|
+
description: "Click handler for states",
|
|
12129
|
+
kind: "callback",
|
|
12130
|
+
callbackArgs: [
|
|
12131
|
+
{
|
|
12132
|
+
name: "state",
|
|
12133
|
+
type: "string"
|
|
12134
|
+
}
|
|
12135
|
+
]
|
|
10997
12136
|
},
|
|
10998
12137
|
stateStyles: {
|
|
10999
12138
|
types: [
|
|
@@ -11145,7 +12284,14 @@ var patterns_registry_default = {
|
|
|
11145
12284
|
types: [
|
|
11146
12285
|
"function"
|
|
11147
12286
|
],
|
|
11148
|
-
description: "GAP-51: called with the new code on every keystroke when `editable === true`. Consumers should debounce + parse downstream \u2014 `CodeBlock` does not."
|
|
12287
|
+
description: "GAP-51: called with the new code on every keystroke when `editable === true`. Consumers should debounce + parse downstream \u2014 `CodeBlock` does not.",
|
|
12288
|
+
kind: "callback",
|
|
12289
|
+
callbackArgs: [
|
|
12290
|
+
{
|
|
12291
|
+
name: "code",
|
|
12292
|
+
type: "string"
|
|
12293
|
+
}
|
|
12294
|
+
]
|
|
11149
12295
|
},
|
|
11150
12296
|
errorLines: {
|
|
11151
12297
|
types: [
|
|
@@ -11411,7 +12557,18 @@ var patterns_registry_default = {
|
|
|
11411
12557
|
types: [
|
|
11412
12558
|
"function"
|
|
11413
12559
|
],
|
|
11414
|
-
description: "Custom state node renderer \u2014 when provided, replaces the default circle nodes"
|
|
12560
|
+
description: "Custom state node renderer \u2014 when provided, replaces the default circle nodes",
|
|
12561
|
+
kind: "callback",
|
|
12562
|
+
callbackArgs: [
|
|
12563
|
+
{
|
|
12564
|
+
name: "state",
|
|
12565
|
+
type: "object"
|
|
12566
|
+
},
|
|
12567
|
+
{
|
|
12568
|
+
name: "config",
|
|
12569
|
+
type: "object"
|
|
12570
|
+
}
|
|
12571
|
+
]
|
|
11415
12572
|
}
|
|
11416
12573
|
}
|
|
11417
12574
|
},
|
|
@@ -11869,42 +13026,68 @@ var patterns_registry_default = {
|
|
|
11869
13026
|
"function"
|
|
11870
13027
|
],
|
|
11871
13028
|
description: "onPlay prop",
|
|
11872
|
-
required: true
|
|
13029
|
+
required: true,
|
|
13030
|
+
kind: "callback",
|
|
13031
|
+
callbackArgs: []
|
|
11873
13032
|
},
|
|
11874
13033
|
onPause: {
|
|
11875
13034
|
types: [
|
|
11876
13035
|
"function"
|
|
11877
13036
|
],
|
|
11878
13037
|
description: "onPause prop",
|
|
11879
|
-
required: true
|
|
13038
|
+
required: true,
|
|
13039
|
+
kind: "callback",
|
|
13040
|
+
callbackArgs: []
|
|
11880
13041
|
},
|
|
11881
13042
|
onStep: {
|
|
11882
13043
|
types: [
|
|
11883
13044
|
"function"
|
|
11884
13045
|
],
|
|
11885
13046
|
description: "onStep prop",
|
|
11886
|
-
required: true
|
|
13047
|
+
required: true,
|
|
13048
|
+
kind: "callback",
|
|
13049
|
+
callbackArgs: []
|
|
11887
13050
|
},
|
|
11888
13051
|
onReset: {
|
|
11889
13052
|
types: [
|
|
11890
13053
|
"function"
|
|
11891
13054
|
],
|
|
11892
13055
|
description: "onReset prop",
|
|
11893
|
-
required: true
|
|
13056
|
+
required: true,
|
|
13057
|
+
kind: "callback",
|
|
13058
|
+
callbackArgs: []
|
|
11894
13059
|
},
|
|
11895
13060
|
onSpeedChange: {
|
|
11896
13061
|
types: [
|
|
11897
13062
|
"function"
|
|
11898
13063
|
],
|
|
11899
13064
|
description: "onSpeedChange prop",
|
|
11900
|
-
required: true
|
|
13065
|
+
required: true,
|
|
13066
|
+
kind: "callback",
|
|
13067
|
+
callbackArgs: [
|
|
13068
|
+
{
|
|
13069
|
+
name: "speed",
|
|
13070
|
+
type: "number"
|
|
13071
|
+
}
|
|
13072
|
+
]
|
|
11901
13073
|
},
|
|
11902
13074
|
onParameterChange: {
|
|
11903
13075
|
types: [
|
|
11904
13076
|
"function"
|
|
11905
13077
|
],
|
|
11906
13078
|
description: "onParameterChange prop",
|
|
11907
|
-
required: true
|
|
13079
|
+
required: true,
|
|
13080
|
+
kind: "callback",
|
|
13081
|
+
callbackArgs: [
|
|
13082
|
+
{
|
|
13083
|
+
name: "name",
|
|
13084
|
+
type: "string"
|
|
13085
|
+
},
|
|
13086
|
+
{
|
|
13087
|
+
name: "value",
|
|
13088
|
+
type: "number"
|
|
13089
|
+
}
|
|
13090
|
+
]
|
|
11908
13091
|
},
|
|
11909
13092
|
className: {
|
|
11910
13093
|
types: [
|
|
@@ -12000,7 +13183,20 @@ var patterns_registry_default = {
|
|
|
12000
13183
|
types: [
|
|
12001
13184
|
"string"
|
|
12002
13185
|
],
|
|
12003
|
-
description: "completeEvent prop"
|
|
13186
|
+
description: "completeEvent prop",
|
|
13187
|
+
kind: "event-ref",
|
|
13188
|
+
emitPayloadSchema: [
|
|
13189
|
+
{
|
|
13190
|
+
name: "success",
|
|
13191
|
+
type: "boolean",
|
|
13192
|
+
required: true
|
|
13193
|
+
},
|
|
13194
|
+
{
|
|
13195
|
+
name: "attempts",
|
|
13196
|
+
type: "number",
|
|
13197
|
+
required: true
|
|
13198
|
+
}
|
|
13199
|
+
]
|
|
12004
13200
|
}
|
|
12005
13201
|
}
|
|
12006
13202
|
},
|
|
@@ -12026,7 +13222,20 @@ var patterns_registry_default = {
|
|
|
12026
13222
|
types: [
|
|
12027
13223
|
"string"
|
|
12028
13224
|
],
|
|
12029
|
-
description: "completeEvent prop"
|
|
13225
|
+
description: "completeEvent prop",
|
|
13226
|
+
kind: "event-ref",
|
|
13227
|
+
emitPayloadSchema: [
|
|
13228
|
+
{
|
|
13229
|
+
name: "success",
|
|
13230
|
+
type: "boolean",
|
|
13231
|
+
required: true
|
|
13232
|
+
},
|
|
13233
|
+
{
|
|
13234
|
+
name: "attempts",
|
|
13235
|
+
type: "number",
|
|
13236
|
+
required: true
|
|
13237
|
+
}
|
|
13238
|
+
]
|
|
12030
13239
|
}
|
|
12031
13240
|
}
|
|
12032
13241
|
},
|
|
@@ -12052,7 +13261,20 @@ var patterns_registry_default = {
|
|
|
12052
13261
|
types: [
|
|
12053
13262
|
"string"
|
|
12054
13263
|
],
|
|
12055
|
-
description: "completeEvent prop"
|
|
13264
|
+
description: "completeEvent prop",
|
|
13265
|
+
kind: "event-ref",
|
|
13266
|
+
emitPayloadSchema: [
|
|
13267
|
+
{
|
|
13268
|
+
name: "success",
|
|
13269
|
+
type: "boolean",
|
|
13270
|
+
required: true
|
|
13271
|
+
},
|
|
13272
|
+
{
|
|
13273
|
+
name: "attempts",
|
|
13274
|
+
type: "number",
|
|
13275
|
+
required: true
|
|
13276
|
+
}
|
|
13277
|
+
]
|
|
12056
13278
|
}
|
|
12057
13279
|
}
|
|
12058
13280
|
},
|
|
@@ -12085,13 +13307,23 @@ var patterns_registry_default = {
|
|
|
12085
13307
|
types: [
|
|
12086
13308
|
"string"
|
|
12087
13309
|
],
|
|
12088
|
-
description: "Emits UI:{playEvent}"
|
|
13310
|
+
description: "Emits UI:{playEvent}",
|
|
13311
|
+
kind: "event-ref",
|
|
13312
|
+
emitPayloadSchema: []
|
|
12089
13313
|
},
|
|
12090
13314
|
completeEvent: {
|
|
12091
13315
|
types: [
|
|
12092
13316
|
"string"
|
|
12093
13317
|
],
|
|
12094
|
-
description: "Emits UI:{completeEvent} with { success }"
|
|
13318
|
+
description: "Emits UI:{completeEvent} with { success }",
|
|
13319
|
+
kind: "event-ref",
|
|
13320
|
+
emitPayloadSchema: [
|
|
13321
|
+
{
|
|
13322
|
+
name: "success",
|
|
13323
|
+
type: "boolean",
|
|
13324
|
+
required: true
|
|
13325
|
+
}
|
|
13326
|
+
]
|
|
12095
13327
|
}
|
|
12096
13328
|
}
|
|
12097
13329
|
},
|
|
@@ -12157,7 +13389,18 @@ var patterns_registry_default = {
|
|
|
12157
13389
|
"function"
|
|
12158
13390
|
],
|
|
12159
13391
|
description: "Called when rules change",
|
|
12160
|
-
required: true
|
|
13392
|
+
required: true,
|
|
13393
|
+
kind: "callback",
|
|
13394
|
+
callbackArgs: [
|
|
13395
|
+
{
|
|
13396
|
+
name: "objectId",
|
|
13397
|
+
type: "string"
|
|
13398
|
+
},
|
|
13399
|
+
{
|
|
13400
|
+
name: "rules",
|
|
13401
|
+
type: "array"
|
|
13402
|
+
}
|
|
13403
|
+
]
|
|
12161
13404
|
},
|
|
12162
13405
|
disabled: {
|
|
12163
13406
|
types: [
|
|
@@ -12210,13 +13453,22 @@ var patterns_registry_default = {
|
|
|
12210
13453
|
"function"
|
|
12211
13454
|
],
|
|
12212
13455
|
description: "Called when rule changes",
|
|
12213
|
-
required: true
|
|
13456
|
+
required: true,
|
|
13457
|
+
kind: "callback",
|
|
13458
|
+
callbackArgs: [
|
|
13459
|
+
{
|
|
13460
|
+
name: "rule",
|
|
13461
|
+
type: "object"
|
|
13462
|
+
}
|
|
13463
|
+
]
|
|
12214
13464
|
},
|
|
12215
13465
|
onRemove: {
|
|
12216
13466
|
types: [
|
|
12217
13467
|
"function"
|
|
12218
13468
|
],
|
|
12219
|
-
description: "Called when rule is removed"
|
|
13469
|
+
description: "Called when rule is removed",
|
|
13470
|
+
kind: "callback",
|
|
13471
|
+
callbackArgs: []
|
|
12220
13472
|
},
|
|
12221
13473
|
disabled: {
|
|
12222
13474
|
types: [
|
|
@@ -12254,7 +13506,20 @@ var patterns_registry_default = {
|
|
|
12254
13506
|
types: [
|
|
12255
13507
|
"string"
|
|
12256
13508
|
],
|
|
12257
|
-
description: "completeEvent prop"
|
|
13509
|
+
description: "completeEvent prop",
|
|
13510
|
+
kind: "event-ref",
|
|
13511
|
+
emitPayloadSchema: [
|
|
13512
|
+
{
|
|
13513
|
+
name: "success",
|
|
13514
|
+
type: "boolean",
|
|
13515
|
+
required: true
|
|
13516
|
+
},
|
|
13517
|
+
{
|
|
13518
|
+
name: "score",
|
|
13519
|
+
type: "number",
|
|
13520
|
+
required: true
|
|
13521
|
+
}
|
|
13522
|
+
]
|
|
12258
13523
|
}
|
|
12259
13524
|
}
|
|
12260
13525
|
},
|
|
@@ -12392,14 +13657,32 @@ var patterns_registry_default = {
|
|
|
12392
13657
|
"function"
|
|
12393
13658
|
],
|
|
12394
13659
|
description: "Called when an item is dropped into slot at index",
|
|
12395
|
-
required: true
|
|
13660
|
+
required: true,
|
|
13661
|
+
kind: "callback",
|
|
13662
|
+
callbackArgs: [
|
|
13663
|
+
{
|
|
13664
|
+
name: "index",
|
|
13665
|
+
type: "number"
|
|
13666
|
+
},
|
|
13667
|
+
{
|
|
13668
|
+
name: "item",
|
|
13669
|
+
type: "object"
|
|
13670
|
+
}
|
|
13671
|
+
]
|
|
12396
13672
|
},
|
|
12397
13673
|
onSlotRemove: {
|
|
12398
13674
|
types: [
|
|
12399
13675
|
"function"
|
|
12400
13676
|
],
|
|
12401
13677
|
description: "Called when a slot is cleared",
|
|
12402
|
-
required: true
|
|
13678
|
+
required: true,
|
|
13679
|
+
kind: "callback",
|
|
13680
|
+
callbackArgs: [
|
|
13681
|
+
{
|
|
13682
|
+
name: "index",
|
|
13683
|
+
type: "number"
|
|
13684
|
+
}
|
|
13685
|
+
]
|
|
12403
13686
|
},
|
|
12404
13687
|
playing: {
|
|
12405
13688
|
types: [
|
|
@@ -12478,13 +13761,34 @@ var patterns_registry_default = {
|
|
|
12478
13761
|
types: [
|
|
12479
13762
|
"string"
|
|
12480
13763
|
],
|
|
12481
|
-
description: "Emits UI:{playEvent} with { sequence: string[] }"
|
|
13764
|
+
description: "Emits UI:{playEvent} with { sequence: string[] }",
|
|
13765
|
+
kind: "event-ref",
|
|
13766
|
+
emitPayloadSchema: [
|
|
13767
|
+
{
|
|
13768
|
+
name: "sequence",
|
|
13769
|
+
type: "array",
|
|
13770
|
+
required: true
|
|
13771
|
+
}
|
|
13772
|
+
]
|
|
12482
13773
|
},
|
|
12483
13774
|
completeEvent: {
|
|
12484
13775
|
types: [
|
|
12485
13776
|
"string"
|
|
12486
13777
|
],
|
|
12487
|
-
description: "Emits UI:{completeEvent} with { success: boolean }"
|
|
13778
|
+
description: "Emits UI:{completeEvent} with { success: boolean }",
|
|
13779
|
+
kind: "event-ref",
|
|
13780
|
+
emitPayloadSchema: [
|
|
13781
|
+
{
|
|
13782
|
+
name: "success",
|
|
13783
|
+
type: "boolean",
|
|
13784
|
+
required: true
|
|
13785
|
+
},
|
|
13786
|
+
{
|
|
13787
|
+
name: "sequence",
|
|
13788
|
+
type: "array",
|
|
13789
|
+
required: true
|
|
13790
|
+
}
|
|
13791
|
+
]
|
|
12488
13792
|
}
|
|
12489
13793
|
}
|
|
12490
13794
|
},
|
|
@@ -12510,7 +13814,20 @@ var patterns_registry_default = {
|
|
|
12510
13814
|
types: [
|
|
12511
13815
|
"string"
|
|
12512
13816
|
],
|
|
12513
|
-
description: "completeEvent prop"
|
|
13817
|
+
description: "completeEvent prop",
|
|
13818
|
+
kind: "event-ref",
|
|
13819
|
+
emitPayloadSchema: [
|
|
13820
|
+
{
|
|
13821
|
+
name: "success",
|
|
13822
|
+
type: "boolean",
|
|
13823
|
+
required: true
|
|
13824
|
+
},
|
|
13825
|
+
{
|
|
13826
|
+
name: "attempts",
|
|
13827
|
+
type: "number",
|
|
13828
|
+
required: true
|
|
13829
|
+
}
|
|
13830
|
+
]
|
|
12514
13831
|
}
|
|
12515
13832
|
}
|
|
12516
13833
|
},
|
|
@@ -12581,13 +13898,28 @@ var patterns_registry_default = {
|
|
|
12581
13898
|
types: [
|
|
12582
13899
|
"string"
|
|
12583
13900
|
],
|
|
12584
|
-
description: "Emits UI:{testEvent}"
|
|
13901
|
+
description: "Emits UI:{testEvent}",
|
|
13902
|
+
kind: "event-ref",
|
|
13903
|
+
emitPayloadSchema: []
|
|
12585
13904
|
},
|
|
12586
13905
|
completeEvent: {
|
|
12587
13906
|
types: [
|
|
12588
13907
|
"string"
|
|
12589
13908
|
],
|
|
12590
|
-
description: "Emits UI:{completeEvent} with { success, passedTests }"
|
|
13909
|
+
description: "Emits UI:{completeEvent} with { success, passedTests }",
|
|
13910
|
+
kind: "event-ref",
|
|
13911
|
+
emitPayloadSchema: [
|
|
13912
|
+
{
|
|
13913
|
+
name: "success",
|
|
13914
|
+
type: "boolean",
|
|
13915
|
+
required: true
|
|
13916
|
+
},
|
|
13917
|
+
{
|
|
13918
|
+
name: "passedTests",
|
|
13919
|
+
type: "number",
|
|
13920
|
+
required: true
|
|
13921
|
+
}
|
|
13922
|
+
]
|
|
12591
13923
|
}
|
|
12592
13924
|
}
|
|
12593
13925
|
},
|
|
@@ -12638,7 +13970,9 @@ var patterns_registry_default = {
|
|
|
12638
13970
|
types: [
|
|
12639
13971
|
"function"
|
|
12640
13972
|
],
|
|
12641
|
-
description: "Click handler"
|
|
13973
|
+
description: "Click handler",
|
|
13974
|
+
kind: "callback",
|
|
13975
|
+
callbackArgs: []
|
|
12642
13976
|
},
|
|
12643
13977
|
className: {
|
|
12644
13978
|
types: [
|
|
@@ -12696,7 +14030,9 @@ var patterns_registry_default = {
|
|
|
12696
14030
|
types: [
|
|
12697
14031
|
"function"
|
|
12698
14032
|
],
|
|
12699
|
-
description: "Click handler"
|
|
14033
|
+
description: "Click handler",
|
|
14034
|
+
kind: "callback",
|
|
14035
|
+
callbackArgs: []
|
|
12700
14036
|
},
|
|
12701
14037
|
className: {
|
|
12702
14038
|
types: [
|
|
@@ -12767,7 +14103,14 @@ var patterns_registry_default = {
|
|
|
12767
14103
|
types: [
|
|
12768
14104
|
"function"
|
|
12769
14105
|
],
|
|
12770
|
-
description: "Called when the day is clicked"
|
|
14106
|
+
description: "Called when the day is clicked",
|
|
14107
|
+
kind: "callback",
|
|
14108
|
+
callbackArgs: [
|
|
14109
|
+
{
|
|
14110
|
+
name: "date",
|
|
14111
|
+
type: "object"
|
|
14112
|
+
}
|
|
14113
|
+
]
|
|
12771
14114
|
},
|
|
12772
14115
|
className: {
|
|
12773
14116
|
types: [
|
|
@@ -12812,7 +14155,9 @@ var patterns_registry_default = {
|
|
|
12812
14155
|
types: [
|
|
12813
14156
|
"function"
|
|
12814
14157
|
],
|
|
12815
|
-
description: "Click handler on the outer wrapper"
|
|
14158
|
+
description: "Click handler on the outer wrapper",
|
|
14159
|
+
kind: "callback",
|
|
14160
|
+
callbackArgs: []
|
|
12816
14161
|
}
|
|
12817
14162
|
}
|
|
12818
14163
|
},
|
|
@@ -12839,7 +14184,14 @@ var patterns_registry_default = {
|
|
|
12839
14184
|
types: [
|
|
12840
14185
|
"function"
|
|
12841
14186
|
],
|
|
12842
|
-
description: "Called when the slot is clicked"
|
|
14187
|
+
description: "Called when the slot is clicked",
|
|
14188
|
+
kind: "callback",
|
|
14189
|
+
callbackArgs: [
|
|
14190
|
+
{
|
|
14191
|
+
name: "time",
|
|
14192
|
+
type: "string"
|
|
14193
|
+
}
|
|
14194
|
+
]
|
|
12843
14195
|
},
|
|
12844
14196
|
className: {
|
|
12845
14197
|
types: [
|
|
@@ -12894,19 +14246,44 @@ var patterns_registry_default = {
|
|
|
12894
14246
|
types: [
|
|
12895
14247
|
"function"
|
|
12896
14248
|
],
|
|
12897
|
-
description: "Called when a time slot is clicked"
|
|
14249
|
+
description: "Called when a time slot is clicked",
|
|
14250
|
+
kind: "callback",
|
|
14251
|
+
callbackArgs: [
|
|
14252
|
+
{
|
|
14253
|
+
name: "day",
|
|
14254
|
+
type: "object"
|
|
14255
|
+
},
|
|
14256
|
+
{
|
|
14257
|
+
name: "time",
|
|
14258
|
+
type: "string"
|
|
14259
|
+
}
|
|
14260
|
+
]
|
|
12898
14261
|
},
|
|
12899
14262
|
onDayClick: {
|
|
12900
14263
|
types: [
|
|
12901
14264
|
"function"
|
|
12902
14265
|
],
|
|
12903
|
-
description: "Called when a day header is clicked"
|
|
14266
|
+
description: "Called when a day header is clicked",
|
|
14267
|
+
kind: "callback",
|
|
14268
|
+
callbackArgs: [
|
|
14269
|
+
{
|
|
14270
|
+
name: "day",
|
|
14271
|
+
type: "object"
|
|
14272
|
+
}
|
|
14273
|
+
]
|
|
12904
14274
|
},
|
|
12905
14275
|
onEventClick: {
|
|
12906
14276
|
types: [
|
|
12907
14277
|
"function"
|
|
12908
14278
|
],
|
|
12909
|
-
description: "Called when an event is clicked"
|
|
14279
|
+
description: "Called when an event is clicked",
|
|
14280
|
+
kind: "callback",
|
|
14281
|
+
callbackArgs: [
|
|
14282
|
+
{
|
|
14283
|
+
name: "event",
|
|
14284
|
+
type: "object"
|
|
14285
|
+
}
|
|
14286
|
+
]
|
|
12910
14287
|
},
|
|
12911
14288
|
className: {
|
|
12912
14289
|
types: [
|
|
@@ -12918,7 +14295,20 @@ var patterns_registry_default = {
|
|
|
12918
14295
|
types: [
|
|
12919
14296
|
"string"
|
|
12920
14297
|
],
|
|
12921
|
-
description: "Event emitted on long-press of a time slot: UI:{longPressEvent} with { date, time }"
|
|
14298
|
+
description: "Event emitted on long-press of a time slot: UI:{longPressEvent} with { date, time, ...longPressPayload }",
|
|
14299
|
+
kind: "event-ref",
|
|
14300
|
+
emitPayloadSchema: [
|
|
14301
|
+
{
|
|
14302
|
+
name: "date",
|
|
14303
|
+
type: "string",
|
|
14304
|
+
required: true
|
|
14305
|
+
},
|
|
14306
|
+
{
|
|
14307
|
+
name: "time",
|
|
14308
|
+
type: "string",
|
|
14309
|
+
required: false
|
|
14310
|
+
}
|
|
14311
|
+
]
|
|
12922
14312
|
},
|
|
12923
14313
|
longPressPayload: {
|
|
12924
14314
|
types: [
|
|
@@ -12930,13 +14320,17 @@ var patterns_registry_default = {
|
|
|
12930
14320
|
types: [
|
|
12931
14321
|
"string"
|
|
12932
14322
|
],
|
|
12933
|
-
description: "Event emitted on swipe left (next week): UI:{swipeLeftEvent}"
|
|
14323
|
+
description: "Event emitted on swipe left (next week): UI:{swipeLeftEvent}",
|
|
14324
|
+
kind: "event-ref",
|
|
14325
|
+
emitPayloadSchema: []
|
|
12934
14326
|
},
|
|
12935
14327
|
swipeRightEvent: {
|
|
12936
14328
|
types: [
|
|
12937
14329
|
"string"
|
|
12938
14330
|
],
|
|
12939
|
-
description: "Event emitted on swipe right (prev week): UI:{swipeRightEvent}"
|
|
14331
|
+
description: "Event emitted on swipe right (prev week): UI:{swipeRightEvent}",
|
|
14332
|
+
kind: "event-ref",
|
|
14333
|
+
emitPayloadSchema: []
|
|
12940
14334
|
}
|
|
12941
14335
|
}
|
|
12942
14336
|
},
|
|
@@ -13004,7 +14398,14 @@ var patterns_registry_default = {
|
|
|
13004
14398
|
types: [
|
|
13005
14399
|
"function"
|
|
13006
14400
|
],
|
|
13007
|
-
description: "Callback when a range is selected"
|
|
14401
|
+
description: "Callback when a range is selected",
|
|
14402
|
+
kind: "callback",
|
|
14403
|
+
callbackArgs: [
|
|
14404
|
+
{
|
|
14405
|
+
name: "value",
|
|
14406
|
+
type: "string"
|
|
14407
|
+
}
|
|
14408
|
+
]
|
|
13008
14409
|
},
|
|
13009
14410
|
className: {
|
|
13010
14411
|
types: [
|
|
@@ -13049,7 +14450,9 @@ var patterns_registry_default = {
|
|
|
13049
14450
|
types: [
|
|
13050
14451
|
"function"
|
|
13051
14452
|
],
|
|
13052
|
-
description: "Callback when the card is clicked to flip"
|
|
14453
|
+
description: "Callback when the card is clicked to flip",
|
|
14454
|
+
kind: "callback",
|
|
14455
|
+
callbackArgs: []
|
|
13053
14456
|
},
|
|
13054
14457
|
className: {
|
|
13055
14458
|
types: [
|
|
@@ -13094,13 +14497,27 @@ var patterns_registry_default = {
|
|
|
13094
14497
|
types: [
|
|
13095
14498
|
"function"
|
|
13096
14499
|
],
|
|
13097
|
-
description: "Callback when a node is clicked"
|
|
14500
|
+
description: "Callback when a node is clicked",
|
|
14501
|
+
kind: "callback",
|
|
14502
|
+
callbackArgs: [
|
|
14503
|
+
{
|
|
14504
|
+
name: "node",
|
|
14505
|
+
type: "object"
|
|
14506
|
+
}
|
|
14507
|
+
]
|
|
13098
14508
|
},
|
|
13099
14509
|
onNodeHover: {
|
|
13100
14510
|
types: [
|
|
13101
14511
|
"function"
|
|
13102
14512
|
],
|
|
13103
|
-
description: "Callback when a node is hovered (null on leave)"
|
|
14513
|
+
description: "Callback when a node is hovered (null on leave)",
|
|
14514
|
+
kind: "callback",
|
|
14515
|
+
callbackArgs: [
|
|
14516
|
+
{
|
|
14517
|
+
name: "node",
|
|
14518
|
+
type: "object"
|
|
14519
|
+
}
|
|
14520
|
+
]
|
|
13104
14521
|
},
|
|
13105
14522
|
width: {
|
|
13106
14523
|
types: [
|
|
@@ -13231,13 +14648,27 @@ var patterns_registry_default = {
|
|
|
13231
14648
|
types: [
|
|
13232
14649
|
"function"
|
|
13233
14650
|
],
|
|
13234
|
-
description: "Custom state resolver per dot index"
|
|
14651
|
+
description: "Custom state resolver per dot index",
|
|
14652
|
+
kind: "callback",
|
|
14653
|
+
callbackArgs: [
|
|
14654
|
+
{
|
|
14655
|
+
name: "index",
|
|
14656
|
+
type: "number"
|
|
14657
|
+
}
|
|
14658
|
+
]
|
|
13235
14659
|
},
|
|
13236
14660
|
onDotClick: {
|
|
13237
14661
|
types: [
|
|
13238
14662
|
"function"
|
|
13239
14663
|
],
|
|
13240
|
-
description: "Callback when a dot is clicked"
|
|
14664
|
+
description: "Callback when a dot is clicked",
|
|
14665
|
+
kind: "callback",
|
|
14666
|
+
callbackArgs: [
|
|
14667
|
+
{
|
|
14668
|
+
name: "index",
|
|
14669
|
+
type: "number"
|
|
14670
|
+
}
|
|
14671
|
+
]
|
|
13241
14672
|
},
|
|
13242
14673
|
className: {
|
|
13243
14674
|
types: [
|
|
@@ -13377,13 +14808,35 @@ var patterns_registry_default = {
|
|
|
13377
14808
|
types: [
|
|
13378
14809
|
"function"
|
|
13379
14810
|
],
|
|
13380
|
-
description: "Render prop for custom per-card content, typed to the grid's entity shape `T`. When provided, `fields` and `itemActions` are ignored."
|
|
14811
|
+
description: "Render prop for custom per-card content, typed to the grid's entity shape `T`. When provided, `fields` and `itemActions` are ignored.",
|
|
14812
|
+
kind: "callback",
|
|
14813
|
+
callbackArgs: [
|
|
14814
|
+
{
|
|
14815
|
+
name: "item",
|
|
14816
|
+
type: "object"
|
|
14817
|
+
},
|
|
14818
|
+
{
|
|
14819
|
+
name: "index",
|
|
14820
|
+
type: "number"
|
|
14821
|
+
}
|
|
14822
|
+
]
|
|
13381
14823
|
},
|
|
13382
14824
|
renderItem: {
|
|
13383
14825
|
types: [
|
|
13384
14826
|
"function"
|
|
13385
14827
|
],
|
|
13386
|
-
description: 'Per-item render function (schema-level alias for children render prop). In .orb schemas: ["fn", "item", { pattern tree with @item.field bindings }] The compiler converts this to the children render prop. @deprecated Use children render prop in React code. This prop exists for pattern registry sync.'
|
|
14828
|
+
description: 'Per-item render function (schema-level alias for children render prop). In .orb schemas: ["fn", "item", { pattern tree with @item.field bindings }] The compiler converts this to the children render prop. @deprecated Use children render prop in React code. This prop exists for pattern registry sync.',
|
|
14829
|
+
kind: "callback",
|
|
14830
|
+
callbackArgs: [
|
|
14831
|
+
{
|
|
14832
|
+
name: "item",
|
|
14833
|
+
type: "object"
|
|
14834
|
+
},
|
|
14835
|
+
{
|
|
14836
|
+
name: "index",
|
|
14837
|
+
type: "number"
|
|
14838
|
+
}
|
|
14839
|
+
]
|
|
13387
14840
|
},
|
|
13388
14841
|
pageSize: {
|
|
13389
14842
|
types: [
|
|
@@ -13556,13 +15009,35 @@ var patterns_registry_default = {
|
|
|
13556
15009
|
types: [
|
|
13557
15010
|
"function"
|
|
13558
15011
|
],
|
|
13559
|
-
description: "Render prop for custom per-item content. When provided, `fields` and `itemActions` are ignored."
|
|
15012
|
+
description: "Render prop for custom per-item content. When provided, `fields` and `itemActions` are ignored.",
|
|
15013
|
+
kind: "callback",
|
|
15014
|
+
callbackArgs: [
|
|
15015
|
+
{
|
|
15016
|
+
name: "item",
|
|
15017
|
+
type: "object"
|
|
15018
|
+
},
|
|
15019
|
+
{
|
|
15020
|
+
name: "index",
|
|
15021
|
+
type: "number"
|
|
15022
|
+
}
|
|
15023
|
+
]
|
|
13560
15024
|
},
|
|
13561
15025
|
renderItem: {
|
|
13562
15026
|
types: [
|
|
13563
15027
|
"function"
|
|
13564
15028
|
],
|
|
13565
|
-
description: 'Per-item render function (schema-level alias for children render prop). In .orb schemas: ["fn", "item", { pattern tree with @item.field bindings }] The compiler converts this to the children render prop. @deprecated Use children render prop in React code. This prop exists for pattern registry sync.'
|
|
15029
|
+
description: 'Per-item render function (schema-level alias for children render prop). In .orb schemas: ["fn", "item", { pattern tree with @item.field bindings }] The compiler converts this to the children render prop. @deprecated Use children render prop in React code. This prop exists for pattern registry sync.',
|
|
15030
|
+
kind: "callback",
|
|
15031
|
+
callbackArgs: [
|
|
15032
|
+
{
|
|
15033
|
+
name: "item",
|
|
15034
|
+
type: "object"
|
|
15035
|
+
},
|
|
15036
|
+
{
|
|
15037
|
+
name: "index",
|
|
15038
|
+
type: "number"
|
|
15039
|
+
}
|
|
15040
|
+
]
|
|
13566
15041
|
},
|
|
13567
15042
|
pageSize: {
|
|
13568
15043
|
types: [
|
|
@@ -13659,25 +15134,45 @@ var patterns_registry_default = {
|
|
|
13659
15134
|
types: [
|
|
13660
15135
|
"string"
|
|
13661
15136
|
],
|
|
13662
|
-
description: "Event names for keyboard controls"
|
|
15137
|
+
description: "Event names for keyboard controls",
|
|
15138
|
+
kind: "event-ref",
|
|
15139
|
+
emitPayloadSchema: [
|
|
15140
|
+
{
|
|
15141
|
+
name: "direction",
|
|
15142
|
+
type: "number",
|
|
15143
|
+
required: true
|
|
15144
|
+
}
|
|
15145
|
+
]
|
|
13663
15146
|
},
|
|
13664
15147
|
rightEvent: {
|
|
13665
15148
|
types: [
|
|
13666
15149
|
"string"
|
|
13667
15150
|
],
|
|
13668
|
-
description: "rightEvent prop"
|
|
15151
|
+
description: "rightEvent prop",
|
|
15152
|
+
kind: "event-ref",
|
|
15153
|
+
emitPayloadSchema: [
|
|
15154
|
+
{
|
|
15155
|
+
name: "direction",
|
|
15156
|
+
type: "number",
|
|
15157
|
+
required: true
|
|
15158
|
+
}
|
|
15159
|
+
]
|
|
13669
15160
|
},
|
|
13670
15161
|
jumpEvent: {
|
|
13671
15162
|
types: [
|
|
13672
15163
|
"string"
|
|
13673
15164
|
],
|
|
13674
|
-
description: "jumpEvent prop"
|
|
15165
|
+
description: "jumpEvent prop",
|
|
15166
|
+
kind: "event-ref",
|
|
15167
|
+
emitPayloadSchema: []
|
|
13675
15168
|
},
|
|
13676
15169
|
stopEvent: {
|
|
13677
15170
|
types: [
|
|
13678
15171
|
"string"
|
|
13679
15172
|
],
|
|
13680
|
-
description: "stopEvent prop"
|
|
15173
|
+
description: "stopEvent prop",
|
|
15174
|
+
kind: "event-ref",
|
|
15175
|
+
emitPayloadSchema: []
|
|
13681
15176
|
},
|
|
13682
15177
|
className: {
|
|
13683
15178
|
types: [
|
|
@@ -13732,25 +15227,84 @@ var patterns_registry_default = {
|
|
|
13732
15227
|
types: [
|
|
13733
15228
|
"function"
|
|
13734
15229
|
],
|
|
13735
|
-
description: "Callback when a marker is clicked (programmatic use)"
|
|
15230
|
+
description: "Callback when a marker is clicked (programmatic use)",
|
|
15231
|
+
kind: "callback",
|
|
15232
|
+
callbackArgs: [
|
|
15233
|
+
{
|
|
15234
|
+
name: "marker",
|
|
15235
|
+
type: "object"
|
|
15236
|
+
}
|
|
15237
|
+
]
|
|
13736
15238
|
},
|
|
13737
15239
|
onMapClick: {
|
|
13738
15240
|
types: [
|
|
13739
15241
|
"function"
|
|
13740
15242
|
],
|
|
13741
|
-
description: "Callback when the map is clicked (programmatic use)"
|
|
15243
|
+
description: "Callback when the map is clicked (programmatic use)",
|
|
15244
|
+
kind: "callback",
|
|
15245
|
+
callbackArgs: [
|
|
15246
|
+
{
|
|
15247
|
+
name: "lat",
|
|
15248
|
+
type: "number"
|
|
15249
|
+
},
|
|
15250
|
+
{
|
|
15251
|
+
name: "lng",
|
|
15252
|
+
type: "number"
|
|
15253
|
+
}
|
|
15254
|
+
]
|
|
13742
15255
|
},
|
|
13743
15256
|
mapClickEvent: {
|
|
13744
15257
|
types: [
|
|
13745
15258
|
"string"
|
|
13746
15259
|
],
|
|
13747
|
-
description: "Event name dispatched via event bus when the map is clicked. Payload: { latitude, longitude }"
|
|
15260
|
+
description: "Event name dispatched via event bus when the map is clicked. Payload: { latitude, longitude }",
|
|
15261
|
+
kind: "event-ref",
|
|
15262
|
+
emitPayloadSchema: [
|
|
15263
|
+
{
|
|
15264
|
+
name: "latitude",
|
|
15265
|
+
type: "number",
|
|
15266
|
+
required: true
|
|
15267
|
+
},
|
|
15268
|
+
{
|
|
15269
|
+
name: "longitude",
|
|
15270
|
+
type: "number",
|
|
15271
|
+
required: true
|
|
15272
|
+
}
|
|
15273
|
+
]
|
|
13748
15274
|
},
|
|
13749
15275
|
markerClickEvent: {
|
|
13750
15276
|
types: [
|
|
13751
15277
|
"string"
|
|
13752
15278
|
],
|
|
13753
|
-
description: "Event name dispatched via event bus when a marker is clicked. Payload:
|
|
15279
|
+
description: "Event name dispatched via event bus when a marker is clicked. Payload: full MapMarkerData spread.",
|
|
15280
|
+
kind: "event-ref",
|
|
15281
|
+
emitPayloadSchema: [
|
|
15282
|
+
{
|
|
15283
|
+
name: "id",
|
|
15284
|
+
type: "string",
|
|
15285
|
+
required: true
|
|
15286
|
+
},
|
|
15287
|
+
{
|
|
15288
|
+
name: "lat",
|
|
15289
|
+
type: "number",
|
|
15290
|
+
required: true
|
|
15291
|
+
},
|
|
15292
|
+
{
|
|
15293
|
+
name: "lng",
|
|
15294
|
+
type: "number",
|
|
15295
|
+
required: true
|
|
15296
|
+
},
|
|
15297
|
+
{
|
|
15298
|
+
name: "label",
|
|
15299
|
+
type: "string",
|
|
15300
|
+
required: false
|
|
15301
|
+
},
|
|
15302
|
+
{
|
|
15303
|
+
name: "category",
|
|
15304
|
+
type: "string",
|
|
15305
|
+
required: false
|
|
15306
|
+
}
|
|
15307
|
+
]
|
|
13754
15308
|
},
|
|
13755
15309
|
showClickedPin: {
|
|
13756
15310
|
types: [
|
|
@@ -13859,13 +15413,27 @@ var patterns_registry_default = {
|
|
|
13859
15413
|
types: [
|
|
13860
15414
|
"function"
|
|
13861
15415
|
],
|
|
13862
|
-
description: "Direct onChange callback"
|
|
15416
|
+
description: "Direct onChange callback",
|
|
15417
|
+
kind: "callback",
|
|
15418
|
+
callbackArgs: [
|
|
15419
|
+
{
|
|
15420
|
+
name: "value",
|
|
15421
|
+
type: "number"
|
|
15422
|
+
}
|
|
15423
|
+
]
|
|
13863
15424
|
},
|
|
13864
15425
|
formatValue: {
|
|
13865
15426
|
types: [
|
|
13866
15427
|
"function"
|
|
13867
15428
|
],
|
|
13868
|
-
description: "Format function for tooltip display"
|
|
15429
|
+
description: "Format function for tooltip display",
|
|
15430
|
+
kind: "callback",
|
|
15431
|
+
callbackArgs: [
|
|
15432
|
+
{
|
|
15433
|
+
name: "value",
|
|
15434
|
+
type: "number"
|
|
15435
|
+
}
|
|
15436
|
+
]
|
|
13869
15437
|
}
|
|
13870
15438
|
}
|
|
13871
15439
|
},
|
|
@@ -14022,13 +15590,22 @@ var patterns_registry_default = {
|
|
|
14022
15590
|
types: [
|
|
14023
15591
|
"function"
|
|
14024
15592
|
],
|
|
14025
|
-
description: "Direct onClose callback"
|
|
15593
|
+
description: "Direct onClose callback",
|
|
15594
|
+
kind: "callback",
|
|
15595
|
+
callbackArgs: []
|
|
14026
15596
|
},
|
|
14027
15597
|
onIndexChange: {
|
|
14028
15598
|
types: [
|
|
14029
15599
|
"function"
|
|
14030
15600
|
],
|
|
14031
|
-
description: "Direct onIndexChange callback"
|
|
15601
|
+
description: "Direct onIndexChange callback",
|
|
15602
|
+
kind: "callback",
|
|
15603
|
+
callbackArgs: [
|
|
15604
|
+
{
|
|
15605
|
+
name: "index",
|
|
15606
|
+
type: "number"
|
|
15607
|
+
}
|
|
15608
|
+
]
|
|
14032
15609
|
},
|
|
14033
15610
|
className: {
|
|
14034
15611
|
types: [
|
|
@@ -14094,7 +15671,14 @@ var patterns_registry_default = {
|
|
|
14094
15671
|
types: [
|
|
14095
15672
|
"function"
|
|
14096
15673
|
],
|
|
14097
|
-
description: "Direct onChange callback"
|
|
15674
|
+
description: "Direct onChange callback",
|
|
15675
|
+
kind: "callback",
|
|
15676
|
+
callbackArgs: [
|
|
15677
|
+
{
|
|
15678
|
+
name: "value",
|
|
15679
|
+
type: "number"
|
|
15680
|
+
}
|
|
15681
|
+
]
|
|
14098
15682
|
},
|
|
14099
15683
|
action: {
|
|
14100
15684
|
types: [
|
|
@@ -14190,7 +15774,14 @@ var patterns_registry_default = {
|
|
|
14190
15774
|
types: [
|
|
14191
15775
|
"function"
|
|
14192
15776
|
],
|
|
14193
|
-
description: "Direct onChange callback"
|
|
15777
|
+
description: "Direct onChange callback",
|
|
15778
|
+
kind: "callback",
|
|
15779
|
+
callbackArgs: [
|
|
15780
|
+
{
|
|
15781
|
+
name: "value",
|
|
15782
|
+
type: "number"
|
|
15783
|
+
}
|
|
15784
|
+
]
|
|
14194
15785
|
},
|
|
14195
15786
|
className: {
|
|
14196
15787
|
types: [
|
|
@@ -14277,7 +15868,14 @@ var patterns_registry_default = {
|
|
|
14277
15868
|
types: [
|
|
14278
15869
|
"function"
|
|
14279
15870
|
],
|
|
14280
|
-
description: "Direct onFiles callback"
|
|
15871
|
+
description: "Direct onFiles callback",
|
|
15872
|
+
kind: "callback",
|
|
15873
|
+
callbackArgs: [
|
|
15874
|
+
{
|
|
15875
|
+
name: "files",
|
|
15876
|
+
type: "array"
|
|
15877
|
+
}
|
|
15878
|
+
]
|
|
14281
15879
|
},
|
|
14282
15880
|
className: {
|
|
14283
15881
|
types: [
|
|
@@ -14462,7 +16060,9 @@ var patterns_registry_default = {
|
|
|
14462
16060
|
types: [
|
|
14463
16061
|
"function"
|
|
14464
16062
|
],
|
|
14465
|
-
description: "Called when the entire text has been revealed"
|
|
16063
|
+
description: "Called when the entire text has been revealed",
|
|
16064
|
+
kind: "callback",
|
|
16065
|
+
callbackArgs: []
|
|
14466
16066
|
}
|
|
14467
16067
|
}
|
|
14468
16068
|
},
|
|
@@ -14486,13 +16086,35 @@ var patterns_registry_default = {
|
|
|
14486
16086
|
types: [
|
|
14487
16087
|
"function"
|
|
14488
16088
|
],
|
|
14489
|
-
description: "Render function for each slide"
|
|
16089
|
+
description: "Render function for each slide",
|
|
16090
|
+
kind: "callback",
|
|
16091
|
+
callbackArgs: [
|
|
16092
|
+
{
|
|
16093
|
+
name: "item",
|
|
16094
|
+
type: "object"
|
|
16095
|
+
},
|
|
16096
|
+
{
|
|
16097
|
+
name: "index",
|
|
16098
|
+
type: "number"
|
|
16099
|
+
}
|
|
16100
|
+
]
|
|
14490
16101
|
},
|
|
14491
16102
|
children: {
|
|
14492
16103
|
types: [
|
|
14493
16104
|
"function"
|
|
14494
16105
|
],
|
|
14495
|
-
description: "Children-as-function fallback for renderItem (compiler compatibility)"
|
|
16106
|
+
description: "Children-as-function fallback for renderItem (compiler compatibility)",
|
|
16107
|
+
kind: "callback",
|
|
16108
|
+
callbackArgs: [
|
|
16109
|
+
{
|
|
16110
|
+
name: "item",
|
|
16111
|
+
type: "object"
|
|
16112
|
+
},
|
|
16113
|
+
{
|
|
16114
|
+
name: "index",
|
|
16115
|
+
type: "number"
|
|
16116
|
+
}
|
|
16117
|
+
]
|
|
14496
16118
|
},
|
|
14497
16119
|
autoPlay: {
|
|
14498
16120
|
types: [
|
|
@@ -14528,7 +16150,15 @@ var patterns_registry_default = {
|
|
|
14528
16150
|
types: [
|
|
14529
16151
|
"string"
|
|
14530
16152
|
],
|
|
14531
|
-
description: "Declarative event name for slide change"
|
|
16153
|
+
description: "Declarative event name for slide change",
|
|
16154
|
+
kind: "event-ref",
|
|
16155
|
+
emitPayloadSchema: [
|
|
16156
|
+
{
|
|
16157
|
+
name: "index",
|
|
16158
|
+
type: "number",
|
|
16159
|
+
required: true
|
|
16160
|
+
}
|
|
16161
|
+
]
|
|
14532
16162
|
},
|
|
14533
16163
|
slideChangePayload: {
|
|
14534
16164
|
types: [
|
|
@@ -14613,7 +16243,18 @@ var patterns_registry_default = {
|
|
|
14613
16243
|
"function"
|
|
14614
16244
|
],
|
|
14615
16245
|
description: "renderItem prop",
|
|
14616
|
-
required: true
|
|
16246
|
+
required: true,
|
|
16247
|
+
kind: "callback",
|
|
16248
|
+
callbackArgs: [
|
|
16249
|
+
{
|
|
16250
|
+
name: "item",
|
|
16251
|
+
type: "object"
|
|
16252
|
+
},
|
|
16253
|
+
{
|
|
16254
|
+
name: "index",
|
|
16255
|
+
type: "number"
|
|
16256
|
+
}
|
|
16257
|
+
]
|
|
14617
16258
|
},
|
|
14618
16259
|
reorderEvent: {
|
|
14619
16260
|
types: [
|
|
@@ -14900,7 +16541,9 @@ var patterns_registry_default = {
|
|
|
14900
16541
|
types: [
|
|
14901
16542
|
"function"
|
|
14902
16543
|
],
|
|
14903
|
-
description: "Click handler"
|
|
16544
|
+
description: "Click handler",
|
|
16545
|
+
kind: "callback",
|
|
16546
|
+
callbackArgs: []
|
|
14904
16547
|
},
|
|
14905
16548
|
className: {
|
|
14906
16549
|
types: [
|
|
@@ -14950,7 +16593,9 @@ var patterns_registry_default = {
|
|
|
14950
16593
|
types: [
|
|
14951
16594
|
"function"
|
|
14952
16595
|
],
|
|
14953
|
-
description: "Click handler"
|
|
16596
|
+
description: "Click handler",
|
|
16597
|
+
kind: "callback",
|
|
16598
|
+
callbackArgs: []
|
|
14954
16599
|
},
|
|
14955
16600
|
className: {
|
|
14956
16601
|
types: [
|
|
@@ -15175,7 +16820,9 @@ var patterns_registry_default = {
|
|
|
15175
16820
|
types: [
|
|
15176
16821
|
"function"
|
|
15177
16822
|
],
|
|
15178
|
-
description: "Click handler"
|
|
16823
|
+
description: "Click handler",
|
|
16824
|
+
kind: "callback",
|
|
16825
|
+
callbackArgs: []
|
|
15179
16826
|
},
|
|
15180
16827
|
className: {
|
|
15181
16828
|
types: [
|
|
@@ -15578,13 +17225,23 @@ var patterns_registry_default = {
|
|
|
15578
17225
|
types: [
|
|
15579
17226
|
"function"
|
|
15580
17227
|
],
|
|
15581
|
-
description: "Callback when the craft button is clicked"
|
|
17228
|
+
description: "Callback when the craft button is clicked",
|
|
17229
|
+
kind: "callback",
|
|
17230
|
+
callbackArgs: []
|
|
15582
17231
|
},
|
|
15583
17232
|
craftEvent: {
|
|
15584
17233
|
types: [
|
|
15585
17234
|
"string"
|
|
15586
17235
|
],
|
|
15587
|
-
description: "Event bus event name for crafting"
|
|
17236
|
+
description: "Event bus event name for crafting",
|
|
17237
|
+
kind: "event-ref",
|
|
17238
|
+
emitPayloadSchema: [
|
|
17239
|
+
{
|
|
17240
|
+
name: "output",
|
|
17241
|
+
type: "string",
|
|
17242
|
+
required: true
|
|
17243
|
+
}
|
|
17244
|
+
]
|
|
15588
17245
|
},
|
|
15589
17246
|
className: {
|
|
15590
17247
|
types: [
|
|
@@ -15754,13 +17411,28 @@ var patterns_registry_default = {
|
|
|
15754
17411
|
types: [
|
|
15755
17412
|
"function"
|
|
15756
17413
|
],
|
|
15757
|
-
description: "Callback when an item is selected"
|
|
17414
|
+
description: "Callback when an item is selected",
|
|
17415
|
+
kind: "callback",
|
|
17416
|
+
callbackArgs: [
|
|
17417
|
+
{
|
|
17418
|
+
name: "id",
|
|
17419
|
+
type: "string"
|
|
17420
|
+
}
|
|
17421
|
+
]
|
|
15758
17422
|
},
|
|
15759
17423
|
selectEvent: {
|
|
15760
17424
|
types: [
|
|
15761
17425
|
"string"
|
|
15762
17426
|
],
|
|
15763
|
-
description: "Event bus event name for selection"
|
|
17427
|
+
description: "Event bus event name for selection",
|
|
17428
|
+
kind: "event-ref",
|
|
17429
|
+
emitPayloadSchema: [
|
|
17430
|
+
{
|
|
17431
|
+
name: "id",
|
|
17432
|
+
type: "string",
|
|
17433
|
+
required: true
|
|
17434
|
+
}
|
|
17435
|
+
]
|
|
15764
17436
|
},
|
|
15765
17437
|
size: {
|
|
15766
17438
|
types: [
|
|
@@ -17963,7 +19635,14 @@ var patterns_registry_default = {
|
|
|
17963
19635
|
types: [
|
|
17964
19636
|
"function"
|
|
17965
19637
|
],
|
|
17966
|
-
description: "Callback invoked with the search query, returns results"
|
|
19638
|
+
description: "Callback invoked with the search query, returns results",
|
|
19639
|
+
kind: "callback",
|
|
19640
|
+
callbackArgs: [
|
|
19641
|
+
{
|
|
19642
|
+
name: "query",
|
|
19643
|
+
type: "string"
|
|
19644
|
+
}
|
|
19645
|
+
]
|
|
17967
19646
|
},
|
|
17968
19647
|
className: {
|
|
17969
19648
|
types: [
|
|
@@ -19993,13 +21672,22 @@ var patterns_registry_default = {
|
|
|
19993
21672
|
"function"
|
|
19994
21673
|
],
|
|
19995
21674
|
description: "Click handler",
|
|
19996
|
-
required: true
|
|
21675
|
+
required: true,
|
|
21676
|
+
kind: "callback",
|
|
21677
|
+
callbackArgs: []
|
|
19997
21678
|
},
|
|
19998
21679
|
onHover: {
|
|
19999
21680
|
types: [
|
|
20000
21681
|
"function"
|
|
20001
21682
|
],
|
|
20002
|
-
description: "Hover callback"
|
|
21683
|
+
description: "Hover callback",
|
|
21684
|
+
kind: "callback",
|
|
21685
|
+
callbackArgs: [
|
|
21686
|
+
{
|
|
21687
|
+
name: "hovering",
|
|
21688
|
+
type: "boolean"
|
|
21689
|
+
}
|
|
21690
|
+
]
|
|
20003
21691
|
},
|
|
20004
21692
|
cursor: {
|
|
20005
21693
|
types: [
|
|
@@ -20082,7 +21770,18 @@ var patterns_registry_default = {
|
|
|
20082
21770
|
types: [
|
|
20083
21771
|
"function"
|
|
20084
21772
|
],
|
|
20085
|
-
description: "Callback when zoom level changes"
|
|
21773
|
+
description: "Callback when zoom level changes",
|
|
21774
|
+
kind: "callback",
|
|
21775
|
+
callbackArgs: [
|
|
21776
|
+
{
|
|
21777
|
+
name: "level",
|
|
21778
|
+
type: "object"
|
|
21779
|
+
},
|
|
21780
|
+
{
|
|
21781
|
+
name: "context",
|
|
21782
|
+
type: "object"
|
|
21783
|
+
}
|
|
21784
|
+
]
|
|
20086
21785
|
},
|
|
20087
21786
|
width: {
|
|
20088
21787
|
types: [
|
|
@@ -20179,7 +21878,18 @@ var patterns_registry_default = {
|
|
|
20179
21878
|
types: [
|
|
20180
21879
|
"function"
|
|
20181
21880
|
],
|
|
20182
|
-
description: "onTransitionClick prop"
|
|
21881
|
+
description: "onTransitionClick prop",
|
|
21882
|
+
kind: "callback",
|
|
21883
|
+
callbackArgs: [
|
|
21884
|
+
{
|
|
21885
|
+
name: "transitionIndex",
|
|
21886
|
+
type: "number"
|
|
21887
|
+
},
|
|
21888
|
+
{
|
|
21889
|
+
name: "position",
|
|
21890
|
+
type: "object"
|
|
21891
|
+
}
|
|
21892
|
+
]
|
|
20183
21893
|
}
|
|
20184
21894
|
}
|
|
20185
21895
|
},
|
|
@@ -20835,7 +22545,9 @@ var patterns_registry_default = {
|
|
|
20835
22545
|
types: [
|
|
20836
22546
|
"function"
|
|
20837
22547
|
],
|
|
20838
|
-
description: "Click handler"
|
|
22548
|
+
description: "Click handler",
|
|
22549
|
+
kind: "callback",
|
|
22550
|
+
callbackArgs: []
|
|
20839
22551
|
}
|
|
20840
22552
|
}
|
|
20841
22553
|
},
|
|
@@ -20967,7 +22679,9 @@ var patterns_registry_default = {
|
|
|
20967
22679
|
types: [
|
|
20968
22680
|
"function"
|
|
20969
22681
|
],
|
|
20970
|
-
description: "onTransitionClick prop"
|
|
22682
|
+
description: "onTransitionClick prop",
|
|
22683
|
+
kind: "callback",
|
|
22684
|
+
callbackArgs: []
|
|
20971
22685
|
}
|
|
20972
22686
|
}
|
|
20973
22687
|
},
|
|
@@ -21127,19 +22841,44 @@ var patterns_registry_default = {
|
|
|
21127
22841
|
types: [
|
|
21128
22842
|
"function"
|
|
21129
22843
|
],
|
|
21130
|
-
description: "onNodeClick prop"
|
|
22844
|
+
description: "onNodeClick prop",
|
|
22845
|
+
kind: "callback",
|
|
22846
|
+
callbackArgs: [
|
|
22847
|
+
{
|
|
22848
|
+
name: "context",
|
|
22849
|
+
type: "object"
|
|
22850
|
+
}
|
|
22851
|
+
]
|
|
21131
22852
|
},
|
|
21132
22853
|
onLevelChange: {
|
|
21133
22854
|
types: [
|
|
21134
22855
|
"function"
|
|
21135
22856
|
],
|
|
21136
|
-
description: "onLevelChange prop"
|
|
22857
|
+
description: "onLevelChange prop",
|
|
22858
|
+
kind: "callback",
|
|
22859
|
+
callbackArgs: [
|
|
22860
|
+
{
|
|
22861
|
+
name: "level",
|
|
22862
|
+
type: "object"
|
|
22863
|
+
},
|
|
22864
|
+
{
|
|
22865
|
+
name: "orbital",
|
|
22866
|
+
type: "string"
|
|
22867
|
+
}
|
|
22868
|
+
]
|
|
21137
22869
|
},
|
|
21138
22870
|
onOrbitalDoubleClick: {
|
|
21139
22871
|
types: [
|
|
21140
22872
|
"function"
|
|
21141
22873
|
],
|
|
21142
|
-
description: "GAP-52: fired when the user double-clicks an orbital. Consumers (e.g. the builder workspace) use this as the trigger to enter cosmic mode (`AvlOrbitalsCosmicZoom`) for the focused orbital. The level at which this fires is controlled by `cosmicEntryLevel` (default `'expanded'`). At `'expanded'` the existing overview\u2192expanded drill is preserved \u2014 the callback fires only on the second double-click. At `'overview'` the callback fires on the FIRST double-click and the existing drill is suppressed for that interaction. `'both'` fires at either level. The callback runs unconditionally \u2014 persona / permission gating is the consumer's responsibility."
|
|
22874
|
+
description: "GAP-52: fired when the user double-clicks an orbital. Consumers (e.g. the builder workspace) use this as the trigger to enter cosmic mode (`AvlOrbitalsCosmicZoom`) for the focused orbital. The level at which this fires is controlled by `cosmicEntryLevel` (default `'expanded'`). At `'expanded'` the existing overview\u2192expanded drill is preserved \u2014 the callback fires only on the second double-click. At `'overview'` the callback fires on the FIRST double-click and the existing drill is suppressed for that interaction. `'both'` fires at either level. The callback runs unconditionally \u2014 persona / permission gating is the consumer's responsibility.",
|
|
22875
|
+
kind: "callback",
|
|
22876
|
+
callbackArgs: [
|
|
22877
|
+
{
|
|
22878
|
+
name: "orbital",
|
|
22879
|
+
type: "string"
|
|
22880
|
+
}
|
|
22881
|
+
]
|
|
21143
22882
|
},
|
|
21144
22883
|
cosmicEntryLevel: {
|
|
21145
22884
|
types: [
|
|
@@ -21180,19 +22919,40 @@ var patterns_registry_default = {
|
|
|
21180
22919
|
types: [
|
|
21181
22920
|
"function"
|
|
21182
22921
|
],
|
|
21183
|
-
description: "Called when the user edits the schema via the inspector."
|
|
22922
|
+
description: "Called when the user edits the schema via the inspector.",
|
|
22923
|
+
kind: "callback",
|
|
22924
|
+
callbackArgs: [
|
|
22925
|
+
{
|
|
22926
|
+
name: "schema",
|
|
22927
|
+
type: "object"
|
|
22928
|
+
}
|
|
22929
|
+
]
|
|
21184
22930
|
},
|
|
21185
22931
|
onPatternDelete: {
|
|
21186
22932
|
types: [
|
|
21187
22933
|
"function"
|
|
21188
22934
|
],
|
|
21189
|
-
description: "Called when the user presses Delete/Backspace with a pattern selected."
|
|
22935
|
+
description: "Called when the user presses Delete/Backspace with a pattern selected.",
|
|
22936
|
+
kind: "callback",
|
|
22937
|
+
callbackArgs: [
|
|
22938
|
+
{
|
|
22939
|
+
name: "context",
|
|
22940
|
+
type: "object"
|
|
22941
|
+
}
|
|
22942
|
+
]
|
|
21190
22943
|
},
|
|
21191
22944
|
onEventWire: {
|
|
21192
22945
|
types: [
|
|
21193
22946
|
"function"
|
|
21194
22947
|
],
|
|
21195
|
-
description: "Called when the user drags from a source handle to a target handle (event wiring)."
|
|
22948
|
+
description: "Called when the user drags from a source handle to a target handle (event wiring).",
|
|
22949
|
+
kind: "callback",
|
|
22950
|
+
callbackArgs: [
|
|
22951
|
+
{
|
|
22952
|
+
name: "wire",
|
|
22953
|
+
type: "object"
|
|
22954
|
+
}
|
|
22955
|
+
]
|
|
21196
22956
|
},
|
|
21197
22957
|
behaviorMeta: {
|
|
21198
22958
|
types: [
|
|
@@ -21214,7 +22974,14 @@ var patterns_registry_default = {
|
|
|
21214
22974
|
types: [
|
|
21215
22975
|
"function"
|
|
21216
22976
|
],
|
|
21217
|
-
description: "Called when the user clicks a node in overview level (for composition hints)."
|
|
22977
|
+
description: "Called when the user clicks a node in overview level (for composition hints).",
|
|
22978
|
+
kind: "callback",
|
|
22979
|
+
callbackArgs: [
|
|
22980
|
+
{
|
|
22981
|
+
name: "orbitalName",
|
|
22982
|
+
type: "string"
|
|
22983
|
+
}
|
|
22984
|
+
]
|
|
21218
22985
|
},
|
|
21219
22986
|
composeLevel: {
|
|
21220
22987
|
types: [
|
|
@@ -21238,7 +23005,18 @@ var patterns_registry_default = {
|
|
|
21238
23005
|
types: [
|
|
21239
23006
|
"function"
|
|
21240
23007
|
],
|
|
21241
|
-
description: "@deprecated Use onNodeClick instead. Kept for AvlCosmicZoom compat."
|
|
23008
|
+
description: "@deprecated Use onNodeClick instead. Kept for AvlCosmicZoom compat.",
|
|
23009
|
+
kind: "callback",
|
|
23010
|
+
callbackArgs: [
|
|
23011
|
+
{
|
|
23012
|
+
name: "level",
|
|
23013
|
+
type: "string"
|
|
23014
|
+
},
|
|
23015
|
+
{
|
|
23016
|
+
name: "context",
|
|
23017
|
+
type: "object"
|
|
23018
|
+
}
|
|
23019
|
+
]
|
|
21242
23020
|
},
|
|
21243
23021
|
focusTarget: {
|
|
21244
23022
|
types: [
|
|
@@ -21794,7 +23572,9 @@ var patterns_registry_default = {
|
|
|
21794
23572
|
types: [
|
|
21795
23573
|
"function"
|
|
21796
23574
|
],
|
|
21797
|
-
description: "Click handler"
|
|
23575
|
+
description: "Click handler",
|
|
23576
|
+
kind: "callback",
|
|
23577
|
+
callbackArgs: []
|
|
21798
23578
|
},
|
|
21799
23579
|
className: {
|
|
21800
23580
|
types: [
|
|
@@ -21852,7 +23632,9 @@ var patterns_registry_default = {
|
|
|
21852
23632
|
types: [
|
|
21853
23633
|
"function"
|
|
21854
23634
|
],
|
|
21855
|
-
description: "Click handler"
|
|
23635
|
+
description: "Click handler",
|
|
23636
|
+
kind: "callback",
|
|
23637
|
+
callbackArgs: []
|
|
21856
23638
|
},
|
|
21857
23639
|
incomingCount: {
|
|
21858
23640
|
types: [
|
|
@@ -21961,7 +23743,9 @@ var patterns_registry_default = {
|
|
|
21961
23743
|
types: [
|
|
21962
23744
|
"function"
|
|
21963
23745
|
],
|
|
21964
|
-
description: "Click handler"
|
|
23746
|
+
description: "Click handler",
|
|
23747
|
+
kind: "callback",
|
|
23748
|
+
callbackArgs: []
|
|
21965
23749
|
},
|
|
21966
23750
|
color: {
|
|
21967
23751
|
types: [
|
|
@@ -22004,13 +23788,31 @@ var patterns_registry_default = {
|
|
|
22004
23788
|
types: [
|
|
22005
23789
|
"function"
|
|
22006
23790
|
],
|
|
22007
|
-
description: "Called each frame with the 2D context and current frame count"
|
|
23791
|
+
description: "Called each frame with the 2D context and current frame count",
|
|
23792
|
+
kind: "callback",
|
|
23793
|
+
callbackArgs: [
|
|
23794
|
+
{
|
|
23795
|
+
name: "ctx",
|
|
23796
|
+
type: "object"
|
|
23797
|
+
},
|
|
23798
|
+
{
|
|
23799
|
+
name: "frame",
|
|
23800
|
+
type: "number"
|
|
23801
|
+
}
|
|
23802
|
+
]
|
|
22008
23803
|
},
|
|
22009
23804
|
onTick: {
|
|
22010
23805
|
types: [
|
|
22011
23806
|
"function"
|
|
22012
23807
|
],
|
|
22013
|
-
description: "Called each tick with delta time in seconds"
|
|
23808
|
+
description: "Called each tick with delta time in seconds",
|
|
23809
|
+
kind: "callback",
|
|
23810
|
+
callbackArgs: [
|
|
23811
|
+
{
|
|
23812
|
+
name: "dt",
|
|
23813
|
+
type: "number"
|
|
23814
|
+
}
|
|
23815
|
+
]
|
|
22014
23816
|
},
|
|
22015
23817
|
fps: {
|
|
22016
23818
|
types: [
|
|
@@ -22115,7 +23917,14 @@ var patterns_registry_default = {
|
|
|
22115
23917
|
types: [
|
|
22116
23918
|
"function"
|
|
22117
23919
|
],
|
|
22118
|
-
description: "Click handler for an orbital"
|
|
23920
|
+
description: "Click handler for an orbital",
|
|
23921
|
+
kind: "callback",
|
|
23922
|
+
callbackArgs: [
|
|
23923
|
+
{
|
|
23924
|
+
name: "orbitalName",
|
|
23925
|
+
type: "string"
|
|
23926
|
+
}
|
|
23927
|
+
]
|
|
22119
23928
|
},
|
|
22120
23929
|
color: {
|
|
22121
23930
|
types: [
|
|
@@ -22174,7 +23983,14 @@ var patterns_registry_default = {
|
|
|
22174
23983
|
types: [
|
|
22175
23984
|
"function"
|
|
22176
23985
|
],
|
|
22177
|
-
description: "Click handler for a trait"
|
|
23986
|
+
description: "Click handler for a trait",
|
|
23987
|
+
kind: "callback",
|
|
23988
|
+
callbackArgs: [
|
|
23989
|
+
{
|
|
23990
|
+
name: "traitName",
|
|
23991
|
+
type: "string"
|
|
23992
|
+
}
|
|
23993
|
+
]
|
|
22178
23994
|
},
|
|
22179
23995
|
highlightedTrait: {
|
|
22180
23996
|
types: [
|
|
@@ -22186,7 +24002,14 @@ var patterns_registry_default = {
|
|
|
22186
24002
|
types: [
|
|
22187
24003
|
"function"
|
|
22188
24004
|
],
|
|
22189
|
-
description: "Highlight change handler"
|
|
24005
|
+
description: "Highlight change handler",
|
|
24006
|
+
kind: "callback",
|
|
24007
|
+
callbackArgs: [
|
|
24008
|
+
{
|
|
24009
|
+
name: "traitName",
|
|
24010
|
+
type: "string"
|
|
24011
|
+
}
|
|
24012
|
+
]
|
|
22190
24013
|
},
|
|
22191
24014
|
color: {
|
|
22192
24015
|
types: [
|
|
@@ -22219,7 +24042,14 @@ var patterns_registry_default = {
|
|
|
22219
24042
|
types: [
|
|
22220
24043
|
"function"
|
|
22221
24044
|
],
|
|
22222
|
-
description: "Click handler for a transition"
|
|
24045
|
+
description: "Click handler for a transition",
|
|
24046
|
+
kind: "callback",
|
|
24047
|
+
callbackArgs: [
|
|
24048
|
+
{
|
|
24049
|
+
name: "transitionIndex",
|
|
24050
|
+
type: "number"
|
|
24051
|
+
}
|
|
24052
|
+
]
|
|
22223
24053
|
},
|
|
22224
24054
|
color: {
|
|
22225
24055
|
types: [
|
|
@@ -22303,7 +24133,18 @@ var patterns_registry_default = {
|
|
|
22303
24133
|
types: [
|
|
22304
24134
|
"function"
|
|
22305
24135
|
],
|
|
22306
|
-
description: "Callback when zoom level changes"
|
|
24136
|
+
description: "Callback when zoom level changes",
|
|
24137
|
+
kind: "callback",
|
|
24138
|
+
callbackArgs: [
|
|
24139
|
+
{
|
|
24140
|
+
name: "level",
|
|
24141
|
+
type: "object"
|
|
24142
|
+
},
|
|
24143
|
+
{
|
|
24144
|
+
name: "context",
|
|
24145
|
+
type: "object"
|
|
24146
|
+
}
|
|
24147
|
+
]
|
|
22307
24148
|
},
|
|
22308
24149
|
width: {
|
|
22309
24150
|
types: [
|
|
@@ -22470,37 +24311,99 @@ var patterns_registry_default = {
|
|
|
22470
24311
|
types: [
|
|
22471
24312
|
"function"
|
|
22472
24313
|
],
|
|
22473
|
-
description: "Callback when a tile is clicked"
|
|
24314
|
+
description: "Callback when a tile is clicked",
|
|
24315
|
+
kind: "callback",
|
|
24316
|
+
callbackArgs: [
|
|
24317
|
+
{
|
|
24318
|
+
name: "tile",
|
|
24319
|
+
type: "object"
|
|
24320
|
+
},
|
|
24321
|
+
{
|
|
24322
|
+
name: "event",
|
|
24323
|
+
type: "object"
|
|
24324
|
+
}
|
|
24325
|
+
]
|
|
22474
24326
|
},
|
|
22475
24327
|
onUnitClick: {
|
|
22476
24328
|
types: [
|
|
22477
24329
|
"function"
|
|
22478
24330
|
],
|
|
22479
|
-
description: "Callback when a unit is clicked"
|
|
24331
|
+
description: "Callback when a unit is clicked",
|
|
24332
|
+
kind: "callback",
|
|
24333
|
+
callbackArgs: [
|
|
24334
|
+
{
|
|
24335
|
+
name: "unit",
|
|
24336
|
+
type: "object"
|
|
24337
|
+
},
|
|
24338
|
+
{
|
|
24339
|
+
name: "event",
|
|
24340
|
+
type: "object"
|
|
24341
|
+
}
|
|
24342
|
+
]
|
|
22480
24343
|
},
|
|
22481
24344
|
onFeatureClick: {
|
|
22482
24345
|
types: [
|
|
22483
24346
|
"function"
|
|
22484
24347
|
],
|
|
22485
|
-
description: "Callback when a feature is clicked"
|
|
24348
|
+
description: "Callback when a feature is clicked",
|
|
24349
|
+
kind: "callback",
|
|
24350
|
+
callbackArgs: [
|
|
24351
|
+
{
|
|
24352
|
+
name: "feature",
|
|
24353
|
+
type: "object"
|
|
24354
|
+
},
|
|
24355
|
+
{
|
|
24356
|
+
name: "event",
|
|
24357
|
+
type: "object"
|
|
24358
|
+
}
|
|
24359
|
+
]
|
|
22486
24360
|
},
|
|
22487
24361
|
onCanvasClick: {
|
|
22488
24362
|
types: [
|
|
22489
24363
|
"function"
|
|
22490
24364
|
],
|
|
22491
|
-
description: "Callback when canvas is clicked (background)"
|
|
24365
|
+
description: "Callback when canvas is clicked (background)",
|
|
24366
|
+
kind: "callback",
|
|
24367
|
+
callbackArgs: [
|
|
24368
|
+
{
|
|
24369
|
+
name: "event",
|
|
24370
|
+
type: "object"
|
|
24371
|
+
}
|
|
24372
|
+
]
|
|
22492
24373
|
},
|
|
22493
24374
|
onTileHover: {
|
|
22494
24375
|
types: [
|
|
22495
24376
|
"function"
|
|
22496
24377
|
],
|
|
22497
|
-
description: "Callback when mouse moves over a tile"
|
|
24378
|
+
description: "Callback when mouse moves over a tile",
|
|
24379
|
+
kind: "callback",
|
|
24380
|
+
callbackArgs: [
|
|
24381
|
+
{
|
|
24382
|
+
name: "tile",
|
|
24383
|
+
type: "object"
|
|
24384
|
+
},
|
|
24385
|
+
{
|
|
24386
|
+
name: "event",
|
|
24387
|
+
type: "object"
|
|
24388
|
+
}
|
|
24389
|
+
]
|
|
22498
24390
|
},
|
|
22499
24391
|
onUnitAnimation: {
|
|
22500
24392
|
types: [
|
|
22501
24393
|
"function"
|
|
22502
24394
|
],
|
|
22503
|
-
description: "Callback for unit animation state change"
|
|
24395
|
+
description: "Callback for unit animation state change",
|
|
24396
|
+
kind: "callback",
|
|
24397
|
+
callbackArgs: [
|
|
24398
|
+
{
|
|
24399
|
+
name: "unitId",
|
|
24400
|
+
type: "string"
|
|
24401
|
+
},
|
|
24402
|
+
{
|
|
24403
|
+
name: "state",
|
|
24404
|
+
type: "string"
|
|
24405
|
+
}
|
|
24406
|
+
]
|
|
22504
24407
|
},
|
|
22505
24408
|
assetLoader: {
|
|
22506
24409
|
types: [
|
|
@@ -22536,49 +24439,232 @@ var patterns_registry_default = {
|
|
|
22536
24439
|
types: [
|
|
22537
24440
|
"string"
|
|
22538
24441
|
],
|
|
22539
|
-
description: "Declarative event: tile click"
|
|
24442
|
+
description: "Declarative event: tile click",
|
|
24443
|
+
kind: "event-ref",
|
|
24444
|
+
emitPayloadSchema: [
|
|
24445
|
+
{
|
|
24446
|
+
name: "tileId",
|
|
24447
|
+
type: "string",
|
|
24448
|
+
required: true
|
|
24449
|
+
},
|
|
24450
|
+
{
|
|
24451
|
+
name: "x",
|
|
24452
|
+
type: "number",
|
|
24453
|
+
required: true
|
|
24454
|
+
},
|
|
24455
|
+
{
|
|
24456
|
+
name: "z",
|
|
24457
|
+
type: "number",
|
|
24458
|
+
required: true
|
|
24459
|
+
},
|
|
24460
|
+
{
|
|
24461
|
+
name: "type",
|
|
24462
|
+
type: "string",
|
|
24463
|
+
required: false
|
|
24464
|
+
},
|
|
24465
|
+
{
|
|
24466
|
+
name: "terrain",
|
|
24467
|
+
type: "string",
|
|
24468
|
+
required: false
|
|
24469
|
+
},
|
|
24470
|
+
{
|
|
24471
|
+
name: "elevation",
|
|
24472
|
+
type: "number",
|
|
24473
|
+
required: false
|
|
24474
|
+
}
|
|
24475
|
+
]
|
|
22540
24476
|
},
|
|
22541
24477
|
unitClickEvent: {
|
|
22542
24478
|
types: [
|
|
22543
24479
|
"string"
|
|
22544
24480
|
],
|
|
22545
|
-
description: "Declarative event: unit click"
|
|
24481
|
+
description: "Declarative event: unit click",
|
|
24482
|
+
kind: "event-ref",
|
|
24483
|
+
emitPayloadSchema: [
|
|
24484
|
+
{
|
|
24485
|
+
name: "unitId",
|
|
24486
|
+
type: "string",
|
|
24487
|
+
required: true
|
|
24488
|
+
},
|
|
24489
|
+
{
|
|
24490
|
+
name: "x",
|
|
24491
|
+
type: "number",
|
|
24492
|
+
required: true
|
|
24493
|
+
},
|
|
24494
|
+
{
|
|
24495
|
+
name: "z",
|
|
24496
|
+
type: "number",
|
|
24497
|
+
required: true
|
|
24498
|
+
},
|
|
24499
|
+
{
|
|
24500
|
+
name: "unitType",
|
|
24501
|
+
type: "string",
|
|
24502
|
+
required: false
|
|
24503
|
+
},
|
|
24504
|
+
{
|
|
24505
|
+
name: "name",
|
|
24506
|
+
type: "string",
|
|
24507
|
+
required: false
|
|
24508
|
+
},
|
|
24509
|
+
{
|
|
24510
|
+
name: "team",
|
|
24511
|
+
type: "string",
|
|
24512
|
+
required: false
|
|
24513
|
+
},
|
|
24514
|
+
{
|
|
24515
|
+
name: "faction",
|
|
24516
|
+
type: "string",
|
|
24517
|
+
required: false
|
|
24518
|
+
},
|
|
24519
|
+
{
|
|
24520
|
+
name: "health",
|
|
24521
|
+
type: "number",
|
|
24522
|
+
required: false
|
|
24523
|
+
},
|
|
24524
|
+
{
|
|
24525
|
+
name: "maxHealth",
|
|
24526
|
+
type: "number",
|
|
24527
|
+
required: false
|
|
24528
|
+
}
|
|
24529
|
+
]
|
|
22546
24530
|
},
|
|
22547
24531
|
featureClickEvent: {
|
|
22548
24532
|
types: [
|
|
22549
24533
|
"string"
|
|
22550
24534
|
],
|
|
22551
|
-
description: "Declarative event: feature click"
|
|
24535
|
+
description: "Declarative event: feature click",
|
|
24536
|
+
kind: "event-ref",
|
|
24537
|
+
emitPayloadSchema: [
|
|
24538
|
+
{
|
|
24539
|
+
name: "featureId",
|
|
24540
|
+
type: "string",
|
|
24541
|
+
required: true
|
|
24542
|
+
},
|
|
24543
|
+
{
|
|
24544
|
+
name: "x",
|
|
24545
|
+
type: "number",
|
|
24546
|
+
required: true
|
|
24547
|
+
},
|
|
24548
|
+
{
|
|
24549
|
+
name: "z",
|
|
24550
|
+
type: "number",
|
|
24551
|
+
required: true
|
|
24552
|
+
},
|
|
24553
|
+
{
|
|
24554
|
+
name: "type",
|
|
24555
|
+
type: "string",
|
|
24556
|
+
required: false
|
|
24557
|
+
},
|
|
24558
|
+
{
|
|
24559
|
+
name: "elevation",
|
|
24560
|
+
type: "number",
|
|
24561
|
+
required: false
|
|
24562
|
+
}
|
|
24563
|
+
]
|
|
22552
24564
|
},
|
|
22553
24565
|
canvasClickEvent: {
|
|
22554
24566
|
types: [
|
|
22555
24567
|
"string"
|
|
22556
24568
|
],
|
|
22557
|
-
description: "Declarative event: canvas click"
|
|
24569
|
+
description: "Declarative event: canvas click",
|
|
24570
|
+
kind: "event-ref",
|
|
24571
|
+
emitPayloadSchema: [
|
|
24572
|
+
{
|
|
24573
|
+
name: "clientX",
|
|
24574
|
+
type: "number",
|
|
24575
|
+
required: true
|
|
24576
|
+
},
|
|
24577
|
+
{
|
|
24578
|
+
name: "clientY",
|
|
24579
|
+
type: "number",
|
|
24580
|
+
required: true
|
|
24581
|
+
},
|
|
24582
|
+
{
|
|
24583
|
+
name: "button",
|
|
24584
|
+
type: "number",
|
|
24585
|
+
required: true
|
|
24586
|
+
}
|
|
24587
|
+
]
|
|
22558
24588
|
},
|
|
22559
24589
|
tileHoverEvent: {
|
|
22560
24590
|
types: [
|
|
22561
24591
|
"string"
|
|
22562
24592
|
],
|
|
22563
|
-
description: "Declarative event: tile hover"
|
|
24593
|
+
description: "Declarative event: tile hover",
|
|
24594
|
+
kind: "event-ref",
|
|
24595
|
+
emitPayloadSchema: [
|
|
24596
|
+
{
|
|
24597
|
+
name: "tileId",
|
|
24598
|
+
type: "string",
|
|
24599
|
+
required: true
|
|
24600
|
+
},
|
|
24601
|
+
{
|
|
24602
|
+
name: "x",
|
|
24603
|
+
type: "number",
|
|
24604
|
+
required: true
|
|
24605
|
+
},
|
|
24606
|
+
{
|
|
24607
|
+
name: "z",
|
|
24608
|
+
type: "number",
|
|
24609
|
+
required: true
|
|
24610
|
+
},
|
|
24611
|
+
{
|
|
24612
|
+
name: "type",
|
|
24613
|
+
type: "string",
|
|
24614
|
+
required: false
|
|
24615
|
+
}
|
|
24616
|
+
]
|
|
22564
24617
|
},
|
|
22565
24618
|
tileLeaveEvent: {
|
|
22566
24619
|
types: [
|
|
22567
24620
|
"string"
|
|
22568
24621
|
],
|
|
22569
|
-
description: "Declarative event: tile leave"
|
|
24622
|
+
description: "Declarative event: tile leave",
|
|
24623
|
+
kind: "event-ref",
|
|
24624
|
+
emitPayloadSchema: []
|
|
22570
24625
|
},
|
|
22571
24626
|
unitAnimationEvent: {
|
|
22572
24627
|
types: [
|
|
22573
24628
|
"string"
|
|
22574
24629
|
],
|
|
22575
|
-
description: "Declarative event: unit animation"
|
|
24630
|
+
description: "Declarative event: unit animation",
|
|
24631
|
+
kind: "event-ref",
|
|
24632
|
+
emitPayloadSchema: [
|
|
24633
|
+
{
|
|
24634
|
+
name: "unitId",
|
|
24635
|
+
type: "string",
|
|
24636
|
+
required: true
|
|
24637
|
+
},
|
|
24638
|
+
{
|
|
24639
|
+
name: "state",
|
|
24640
|
+
type: "string",
|
|
24641
|
+
required: true
|
|
24642
|
+
},
|
|
24643
|
+
{
|
|
24644
|
+
name: "timestamp",
|
|
24645
|
+
type: "number",
|
|
24646
|
+
required: true
|
|
24647
|
+
}
|
|
24648
|
+
]
|
|
22576
24649
|
},
|
|
22577
24650
|
cameraChangeEvent: {
|
|
22578
24651
|
types: [
|
|
22579
24652
|
"string"
|
|
22580
24653
|
],
|
|
22581
|
-
description: "Declarative event: camera change"
|
|
24654
|
+
description: "Declarative event: camera change",
|
|
24655
|
+
kind: "event-ref",
|
|
24656
|
+
emitPayloadSchema: [
|
|
24657
|
+
{
|
|
24658
|
+
name: "position",
|
|
24659
|
+
type: "object",
|
|
24660
|
+
required: true
|
|
24661
|
+
},
|
|
24662
|
+
{
|
|
24663
|
+
name: "timestamp",
|
|
24664
|
+
type: "number",
|
|
24665
|
+
required: true
|
|
24666
|
+
}
|
|
24667
|
+
]
|
|
22582
24668
|
},
|
|
22583
24669
|
loadingMessage: {
|
|
22584
24670
|
types: [
|
|
@@ -22685,7 +24771,14 @@ var patterns_registry_default = {
|
|
|
22685
24771
|
types: [
|
|
22686
24772
|
"function"
|
|
22687
24773
|
],
|
|
22688
|
-
description: "Called when camera changes"
|
|
24774
|
+
description: "Called when camera changes",
|
|
24775
|
+
kind: "callback",
|
|
24776
|
+
callbackArgs: [
|
|
24777
|
+
{
|
|
24778
|
+
name: "camera",
|
|
24779
|
+
type: "object"
|
|
24780
|
+
}
|
|
24781
|
+
]
|
|
22689
24782
|
}
|
|
22690
24783
|
}
|
|
22691
24784
|
},
|
|
@@ -22814,13 +24907,26 @@ var patterns_registry_default = {
|
|
|
22814
24907
|
types: [
|
|
22815
24908
|
"function"
|
|
22816
24909
|
],
|
|
22817
|
-
description: "Error callback"
|
|
24910
|
+
description: "Error callback",
|
|
24911
|
+
kind: "callback",
|
|
24912
|
+
callbackArgs: [
|
|
24913
|
+
{
|
|
24914
|
+
name: "error",
|
|
24915
|
+
type: "object"
|
|
24916
|
+
},
|
|
24917
|
+
{
|
|
24918
|
+
name: "errorInfo",
|
|
24919
|
+
type: "object"
|
|
24920
|
+
}
|
|
24921
|
+
]
|
|
22818
24922
|
},
|
|
22819
24923
|
onReset: {
|
|
22820
24924
|
types: [
|
|
22821
24925
|
"function"
|
|
22822
24926
|
],
|
|
22823
|
-
description: "Reset callback"
|
|
24927
|
+
description: "Reset callback",
|
|
24928
|
+
kind: "callback",
|
|
24929
|
+
callbackArgs: []
|
|
22824
24930
|
}
|
|
22825
24931
|
}
|
|
22826
24932
|
},
|
|
@@ -22946,19 +25052,35 @@ var patterns_registry_default = {
|
|
|
22946
25052
|
types: [
|
|
22947
25053
|
"function"
|
|
22948
25054
|
],
|
|
22949
|
-
description: "Called when physics state updates"
|
|
25055
|
+
description: "Called when physics state updates",
|
|
25056
|
+
kind: "callback",
|
|
25057
|
+
callbackArgs: [
|
|
25058
|
+
{
|
|
25059
|
+
name: "state",
|
|
25060
|
+
type: "object"
|
|
25061
|
+
}
|
|
25062
|
+
]
|
|
22950
25063
|
},
|
|
22951
25064
|
onGroundHit: {
|
|
22952
25065
|
types: [
|
|
22953
25066
|
"function"
|
|
22954
25067
|
],
|
|
22955
|
-
description: "Called when object hits ground"
|
|
25068
|
+
description: "Called when object hits ground",
|
|
25069
|
+
kind: "callback",
|
|
25070
|
+
callbackArgs: []
|
|
22956
25071
|
},
|
|
22957
25072
|
onCollision: {
|
|
22958
25073
|
types: [
|
|
22959
25074
|
"function"
|
|
22960
25075
|
],
|
|
22961
|
-
description: "Called when collision occurs"
|
|
25076
|
+
description: "Called when collision occurs",
|
|
25077
|
+
kind: "callback",
|
|
25078
|
+
callbackArgs: [
|
|
25079
|
+
{
|
|
25080
|
+
name: "otherEntityId",
|
|
25081
|
+
type: "string"
|
|
25082
|
+
}
|
|
25083
|
+
]
|
|
22962
25084
|
}
|
|
22963
25085
|
}
|
|
22964
25086
|
},
|
|
@@ -23002,13 +25124,27 @@ var patterns_registry_default = {
|
|
|
23002
25124
|
types: [
|
|
23003
25125
|
"function"
|
|
23004
25126
|
],
|
|
23005
|
-
description: "Called when feature is clicked"
|
|
25127
|
+
description: "Called when feature is clicked",
|
|
25128
|
+
kind: "callback",
|
|
25129
|
+
callbackArgs: [
|
|
25130
|
+
{
|
|
25131
|
+
name: "feature",
|
|
25132
|
+
type: "object"
|
|
25133
|
+
}
|
|
25134
|
+
]
|
|
23006
25135
|
},
|
|
23007
25136
|
onFeatureHover: {
|
|
23008
25137
|
types: [
|
|
23009
25138
|
"function"
|
|
23010
25139
|
],
|
|
23011
|
-
description: "Called when feature is hovered"
|
|
25140
|
+
description: "Called when feature is hovered",
|
|
25141
|
+
kind: "callback",
|
|
25142
|
+
callbackArgs: [
|
|
25143
|
+
{
|
|
25144
|
+
name: "feature",
|
|
25145
|
+
type: "object"
|
|
25146
|
+
}
|
|
25147
|
+
]
|
|
23012
25148
|
},
|
|
23013
25149
|
selectedFeatureIds: {
|
|
23014
25150
|
types: [
|
|
@@ -23411,14 +25547,23 @@ var patterns_registry_default = {
|
|
|
23411
25547
|
types: [
|
|
23412
25548
|
"function"
|
|
23413
25549
|
],
|
|
23414
|
-
description: "onSchemaChange prop"
|
|
25550
|
+
description: "onSchemaChange prop",
|
|
25551
|
+
kind: "callback",
|
|
25552
|
+
callbackArgs: [
|
|
25553
|
+
{
|
|
25554
|
+
name: "schema",
|
|
25555
|
+
type: "object"
|
|
25556
|
+
}
|
|
25557
|
+
]
|
|
23415
25558
|
},
|
|
23416
25559
|
onClose: {
|
|
23417
25560
|
types: [
|
|
23418
25561
|
"function"
|
|
23419
25562
|
],
|
|
23420
25563
|
description: "onClose prop",
|
|
23421
|
-
required: true
|
|
25564
|
+
required: true,
|
|
25565
|
+
kind: "callback",
|
|
25566
|
+
callbackArgs: []
|
|
23422
25567
|
}
|
|
23423
25568
|
}
|
|
23424
25569
|
},
|
|
@@ -23476,7 +25621,14 @@ var patterns_registry_default = {
|
|
|
23476
25621
|
types: [
|
|
23477
25622
|
"function"
|
|
23478
25623
|
],
|
|
23479
|
-
description: "Called when a file is clicked"
|
|
25624
|
+
description: "Called when a file is clicked",
|
|
25625
|
+
kind: "callback",
|
|
25626
|
+
callbackArgs: [
|
|
25627
|
+
{
|
|
25628
|
+
name: "path",
|
|
25629
|
+
type: "string"
|
|
25630
|
+
}
|
|
25631
|
+
]
|
|
23480
25632
|
},
|
|
23481
25633
|
className: {
|
|
23482
25634
|
types: [
|
|
@@ -23555,7 +25707,14 @@ var patterns_registry_default = {
|
|
|
23555
25707
|
types: [
|
|
23556
25708
|
"function"
|
|
23557
25709
|
],
|
|
23558
|
-
description: "GAP-55: fired when the user clicks an orbital tile. Consumers (e.g. the builder workspace) use this as the trigger to drill INTO the clicked orbital \u2014 typically by switching back to the canvas tab and opening the clicked orbital at L2 expanded. Local `selected` toggle (visual highlight + info panel) still fires regardless of whether the callback is provided."
|
|
25710
|
+
description: "GAP-55: fired when the user clicks an orbital tile. Consumers (e.g. the builder workspace) use this as the trigger to drill INTO the clicked orbital \u2014 typically by switching back to the canvas tab and opening the clicked orbital at L2 expanded. Local `selected` toggle (visual highlight + info panel) still fires regardless of whether the callback is provided.",
|
|
25711
|
+
kind: "callback",
|
|
25712
|
+
callbackArgs: [
|
|
25713
|
+
{
|
|
25714
|
+
name: "orbital",
|
|
25715
|
+
type: "string"
|
|
25716
|
+
}
|
|
25717
|
+
]
|
|
23559
25718
|
},
|
|
23560
25719
|
minZoom: {
|
|
23561
25720
|
types: [
|
|
@@ -24497,7 +26656,7 @@ var integrators_registry_default = {
|
|
|
24497
26656
|
// src/component-mapping.json
|
|
24498
26657
|
var component_mapping_default = {
|
|
24499
26658
|
version: "1.0.0",
|
|
24500
|
-
exportedAt: "2026-05-
|
|
26659
|
+
exportedAt: "2026-05-04T04:46:21.886Z",
|
|
24501
26660
|
mappings: {
|
|
24502
26661
|
"page-header": {
|
|
24503
26662
|
component: "PageHeader",
|
|
@@ -26308,7 +28467,7 @@ var component_mapping_default = {
|
|
|
26308
28467
|
// src/event-contracts.json
|
|
26309
28468
|
var event_contracts_default = {
|
|
26310
28469
|
version: "1.0.0",
|
|
26311
|
-
exportedAt: "2026-05-
|
|
28470
|
+
exportedAt: "2026-05-04T04:46:21.886Z",
|
|
26312
28471
|
contracts: {
|
|
26313
28472
|
form: {
|
|
26314
28473
|
emits: [
|