@almadar/patterns 2.19.2 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component-mapping.json +1 -1
- package/dist/event-contracts.json +1 -1
- package/dist/index.d.ts +2538 -0
- package/dist/index.js +2466 -301
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +2463 -298
- package/dist/registry.json +2463 -298
- 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,7 +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
|
+
]
|
|
1469
|
+
},
|
|
1470
|
+
tabChangeEvent: {
|
|
1471
|
+
types: [
|
|
1472
|
+
"string"
|
|
1473
|
+
],
|
|
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
|
+
]
|
|
1408
1483
|
},
|
|
1409
1484
|
variant: {
|
|
1410
1485
|
types: [
|
|
@@ -1486,7 +1561,7 @@ var patterns_registry_default = {
|
|
|
1486
1561
|
types: [
|
|
1487
1562
|
"array"
|
|
1488
1563
|
],
|
|
1489
|
-
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 }`.",
|
|
1490
1565
|
required: true
|
|
1491
1566
|
},
|
|
1492
1567
|
currentStep: {
|
|
@@ -1500,7 +1575,14 @@ var patterns_registry_default = {
|
|
|
1500
1575
|
types: [
|
|
1501
1576
|
"function"
|
|
1502
1577
|
],
|
|
1503
|
-
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
|
+
]
|
|
1504
1586
|
},
|
|
1505
1587
|
allowNavigation: {
|
|
1506
1588
|
types: [
|
|
@@ -1524,7 +1606,15 @@ var patterns_registry_default = {
|
|
|
1524
1606
|
types: [
|
|
1525
1607
|
"string"
|
|
1526
1608
|
],
|
|
1527
|
-
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
|
+
]
|
|
1528
1618
|
}
|
|
1529
1619
|
}
|
|
1530
1620
|
},
|
|
@@ -1616,19 +1706,25 @@ var patterns_registry_default = {
|
|
|
1616
1706
|
types: [
|
|
1617
1707
|
"function"
|
|
1618
1708
|
],
|
|
1619
|
-
description: "Direct callback for Back (alternative to event)"
|
|
1709
|
+
description: "Direct callback for Back (alternative to event)",
|
|
1710
|
+
kind: "callback",
|
|
1711
|
+
callbackArgs: []
|
|
1620
1712
|
},
|
|
1621
1713
|
onNextClick: {
|
|
1622
1714
|
types: [
|
|
1623
1715
|
"function"
|
|
1624
1716
|
],
|
|
1625
|
-
description: "Direct callback for Next (alternative to event)"
|
|
1717
|
+
description: "Direct callback for Next (alternative to event)",
|
|
1718
|
+
kind: "callback",
|
|
1719
|
+
callbackArgs: []
|
|
1626
1720
|
},
|
|
1627
1721
|
onCompleteClick: {
|
|
1628
1722
|
types: [
|
|
1629
1723
|
"function"
|
|
1630
1724
|
],
|
|
1631
|
-
description: "Direct callback for Complete (alternative to event)"
|
|
1725
|
+
description: "Direct callback for Complete (alternative to event)",
|
|
1726
|
+
kind: "callback",
|
|
1727
|
+
callbackArgs: []
|
|
1632
1728
|
},
|
|
1633
1729
|
compact: {
|
|
1634
1730
|
types: [
|
|
@@ -1674,13 +1770,22 @@ var patterns_registry_default = {
|
|
|
1674
1770
|
types: [
|
|
1675
1771
|
"function"
|
|
1676
1772
|
],
|
|
1677
|
-
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
|
+
]
|
|
1678
1781
|
},
|
|
1679
1782
|
onComplete: {
|
|
1680
1783
|
types: [
|
|
1681
1784
|
"function"
|
|
1682
1785
|
],
|
|
1683
|
-
description: "Callback when wizard is completed"
|
|
1786
|
+
description: "Callback when wizard is completed",
|
|
1787
|
+
kind: "callback",
|
|
1788
|
+
callbackArgs: []
|
|
1684
1789
|
},
|
|
1685
1790
|
showProgress: {
|
|
1686
1791
|
types: [
|
|
@@ -1754,7 +1859,14 @@ var patterns_registry_default = {
|
|
|
1754
1859
|
types: [
|
|
1755
1860
|
"function"
|
|
1756
1861
|
],
|
|
1757
|
-
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
|
+
]
|
|
1758
1870
|
},
|
|
1759
1871
|
showPageSize: {
|
|
1760
1872
|
types: [
|
|
@@ -1778,7 +1890,14 @@ var patterns_registry_default = {
|
|
|
1778
1890
|
types: [
|
|
1779
1891
|
"function"
|
|
1780
1892
|
],
|
|
1781
|
-
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
|
+
]
|
|
1782
1901
|
},
|
|
1783
1902
|
showJumpToPage: {
|
|
1784
1903
|
types: [
|
|
@@ -1814,13 +1933,29 @@ var patterns_registry_default = {
|
|
|
1814
1933
|
types: [
|
|
1815
1934
|
"string"
|
|
1816
1935
|
],
|
|
1817
|
-
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
|
+
]
|
|
1818
1945
|
},
|
|
1819
1946
|
pageSizeChangeEvent: {
|
|
1820
1947
|
types: [
|
|
1821
1948
|
"string"
|
|
1822
1949
|
],
|
|
1823
|
-
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
|
+
]
|
|
1824
1959
|
}
|
|
1825
1960
|
}
|
|
1826
1961
|
},
|
|
@@ -1869,7 +2004,9 @@ var patterns_registry_default = {
|
|
|
1869
2004
|
types: [
|
|
1870
2005
|
"function"
|
|
1871
2006
|
],
|
|
1872
|
-
description: "onAction prop"
|
|
2007
|
+
description: "onAction prop",
|
|
2008
|
+
kind: "callback",
|
|
2009
|
+
callbackArgs: []
|
|
1873
2010
|
},
|
|
1874
2011
|
className: {
|
|
1875
2012
|
types: [
|
|
@@ -1900,7 +2037,9 @@ var patterns_registry_default = {
|
|
|
1900
2037
|
types: [
|
|
1901
2038
|
"string"
|
|
1902
2039
|
],
|
|
1903
|
-
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: []
|
|
1904
2043
|
}
|
|
1905
2044
|
}
|
|
1906
2045
|
},
|
|
@@ -1965,7 +2104,9 @@ var patterns_registry_default = {
|
|
|
1965
2104
|
types: [
|
|
1966
2105
|
"function"
|
|
1967
2106
|
],
|
|
1968
|
-
description: "onRetry prop"
|
|
2107
|
+
description: "onRetry prop",
|
|
2108
|
+
kind: "callback",
|
|
2109
|
+
callbackArgs: []
|
|
1969
2110
|
},
|
|
1970
2111
|
className: {
|
|
1971
2112
|
types: [
|
|
@@ -1977,7 +2118,9 @@ var patterns_registry_default = {
|
|
|
1977
2118
|
types: [
|
|
1978
2119
|
"string"
|
|
1979
2120
|
],
|
|
1980
|
-
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: []
|
|
1981
2124
|
}
|
|
1982
2125
|
}
|
|
1983
2126
|
},
|
|
@@ -2033,7 +2176,9 @@ var patterns_registry_default = {
|
|
|
2033
2176
|
types: [
|
|
2034
2177
|
"function"
|
|
2035
2178
|
],
|
|
2036
|
-
description: "Callback when toast is dismissed"
|
|
2179
|
+
description: "Callback when toast is dismissed",
|
|
2180
|
+
kind: "callback",
|
|
2181
|
+
callbackArgs: []
|
|
2037
2182
|
},
|
|
2038
2183
|
actionLabel: {
|
|
2039
2184
|
types: [
|
|
@@ -2045,7 +2190,9 @@ var patterns_registry_default = {
|
|
|
2045
2190
|
types: [
|
|
2046
2191
|
"function"
|
|
2047
2192
|
],
|
|
2048
|
-
description: "Action button click handler"
|
|
2193
|
+
description: "Action button click handler",
|
|
2194
|
+
kind: "callback",
|
|
2195
|
+
callbackArgs: []
|
|
2049
2196
|
},
|
|
2050
2197
|
badge: {
|
|
2051
2198
|
types: [
|
|
@@ -2064,13 +2211,17 @@ var patterns_registry_default = {
|
|
|
2064
2211
|
types: [
|
|
2065
2212
|
"string"
|
|
2066
2213
|
],
|
|
2067
|
-
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: []
|
|
2068
2217
|
},
|
|
2069
2218
|
actionEvent: {
|
|
2070
2219
|
types: [
|
|
2071
2220
|
"string"
|
|
2072
2221
|
],
|
|
2073
|
-
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: []
|
|
2074
2225
|
}
|
|
2075
2226
|
}
|
|
2076
2227
|
},
|
|
@@ -2253,7 +2404,9 @@ var patterns_registry_default = {
|
|
|
2253
2404
|
types: [
|
|
2254
2405
|
"function"
|
|
2255
2406
|
],
|
|
2256
|
-
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: []
|
|
2257
2410
|
},
|
|
2258
2411
|
title: {
|
|
2259
2412
|
types: [
|
|
@@ -2314,7 +2467,9 @@ var patterns_registry_default = {
|
|
|
2314
2467
|
types: [
|
|
2315
2468
|
"string"
|
|
2316
2469
|
],
|
|
2317
|
-
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: []
|
|
2318
2473
|
},
|
|
2319
2474
|
swipeDownToClose: {
|
|
2320
2475
|
types: [
|
|
@@ -2345,7 +2500,9 @@ var patterns_registry_default = {
|
|
|
2345
2500
|
types: [
|
|
2346
2501
|
"function"
|
|
2347
2502
|
],
|
|
2348
|
-
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: []
|
|
2349
2506
|
},
|
|
2350
2507
|
title: {
|
|
2351
2508
|
types: [
|
|
@@ -2434,13 +2591,17 @@ var patterns_registry_default = {
|
|
|
2434
2591
|
types: [
|
|
2435
2592
|
"function"
|
|
2436
2593
|
],
|
|
2437
|
-
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: []
|
|
2438
2597
|
},
|
|
2439
2598
|
onConfirm: {
|
|
2440
2599
|
types: [
|
|
2441
2600
|
"function"
|
|
2442
2601
|
],
|
|
2443
|
-
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: []
|
|
2444
2605
|
},
|
|
2445
2606
|
title: {
|
|
2446
2607
|
types: [
|
|
@@ -3244,7 +3405,14 @@ var patterns_registry_default = {
|
|
|
3244
3405
|
types: [
|
|
3245
3406
|
"function"
|
|
3246
3407
|
],
|
|
3247
|
-
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
|
+
]
|
|
3248
3416
|
},
|
|
3249
3417
|
eventBus: {
|
|
3250
3418
|
types: [
|
|
@@ -3318,7 +3486,14 @@ var patterns_registry_default = {
|
|
|
3318
3486
|
types: [
|
|
3319
3487
|
"function"
|
|
3320
3488
|
],
|
|
3321
|
-
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
|
+
]
|
|
3322
3497
|
},
|
|
3323
3498
|
eventBus: {
|
|
3324
3499
|
types: [
|
|
@@ -3401,37 +3576,82 @@ var patterns_registry_default = {
|
|
|
3401
3576
|
types: [
|
|
3402
3577
|
"function"
|
|
3403
3578
|
],
|
|
3404
|
-
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
|
+
]
|
|
3405
3587
|
},
|
|
3406
3588
|
onUseItem: {
|
|
3407
3589
|
types: [
|
|
3408
3590
|
"function"
|
|
3409
3591
|
],
|
|
3410
|
-
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
|
+
]
|
|
3411
3600
|
},
|
|
3412
3601
|
onDropItem: {
|
|
3413
3602
|
types: [
|
|
3414
3603
|
"function"
|
|
3415
3604
|
],
|
|
3416
|
-
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
|
+
]
|
|
3417
3613
|
},
|
|
3418
3614
|
selectSlotEvent: {
|
|
3419
3615
|
types: [
|
|
3420
3616
|
"string"
|
|
3421
3617
|
],
|
|
3422
|
-
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
|
+
]
|
|
3423
3627
|
},
|
|
3424
3628
|
useItemEvent: {
|
|
3425
3629
|
types: [
|
|
3426
3630
|
"string"
|
|
3427
3631
|
],
|
|
3428
|
-
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
|
+
]
|
|
3429
3641
|
},
|
|
3430
3642
|
dropItemEvent: {
|
|
3431
3643
|
types: [
|
|
3432
3644
|
"string"
|
|
3433
3645
|
],
|
|
3434
|
-
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
|
+
]
|
|
3435
3655
|
},
|
|
3436
3656
|
showTooltips: {
|
|
3437
3657
|
types: [
|
|
@@ -3491,37 +3711,60 @@ var patterns_registry_default = {
|
|
|
3491
3711
|
types: [
|
|
3492
3712
|
"function"
|
|
3493
3713
|
],
|
|
3494
|
-
description: "Called when text animation completes"
|
|
3714
|
+
description: "Called when text animation completes",
|
|
3715
|
+
kind: "callback",
|
|
3716
|
+
callbackArgs: []
|
|
3495
3717
|
},
|
|
3496
3718
|
onChoice: {
|
|
3497
3719
|
types: [
|
|
3498
3720
|
"function"
|
|
3499
3721
|
],
|
|
3500
|
-
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
|
+
]
|
|
3501
3730
|
},
|
|
3502
3731
|
onAdvance: {
|
|
3503
3732
|
types: [
|
|
3504
3733
|
"function"
|
|
3505
3734
|
],
|
|
3506
|
-
description: "Called when dialogue is advanced (no choices)"
|
|
3735
|
+
description: "Called when dialogue is advanced (no choices)",
|
|
3736
|
+
kind: "callback",
|
|
3737
|
+
callbackArgs: []
|
|
3507
3738
|
},
|
|
3508
3739
|
completeEvent: {
|
|
3509
3740
|
types: [
|
|
3510
3741
|
"string"
|
|
3511
3742
|
],
|
|
3512
|
-
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: []
|
|
3513
3746
|
},
|
|
3514
3747
|
choiceEvent: {
|
|
3515
3748
|
types: [
|
|
3516
3749
|
"string"
|
|
3517
3750
|
],
|
|
3518
|
-
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
|
+
]
|
|
3519
3760
|
},
|
|
3520
3761
|
advanceEvent: {
|
|
3521
3762
|
types: [
|
|
3522
3763
|
"string"
|
|
3523
3764
|
],
|
|
3524
|
-
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: []
|
|
3525
3768
|
},
|
|
3526
3769
|
className: {
|
|
3527
3770
|
types: [
|
|
@@ -3829,7 +4072,9 @@ var patterns_registry_default = {
|
|
|
3829
4072
|
types: [
|
|
3830
4073
|
"function"
|
|
3831
4074
|
],
|
|
3832
|
-
description: "Click handler"
|
|
4075
|
+
description: "Click handler",
|
|
4076
|
+
kind: "callback",
|
|
4077
|
+
callbackArgs: []
|
|
3833
4078
|
},
|
|
3834
4079
|
action: {
|
|
3835
4080
|
types: [
|
|
@@ -4206,7 +4451,9 @@ var patterns_registry_default = {
|
|
|
4206
4451
|
types: [
|
|
4207
4452
|
"function"
|
|
4208
4453
|
],
|
|
4209
|
-
description: "Callback when clear button is clicked"
|
|
4454
|
+
description: "Callback when clear button is clicked",
|
|
4455
|
+
kind: "callback",
|
|
4456
|
+
callbackArgs: []
|
|
4210
4457
|
},
|
|
4211
4458
|
options: {
|
|
4212
4459
|
types: [
|
|
@@ -4429,7 +4676,14 @@ var patterns_registry_default = {
|
|
|
4429
4676
|
types: [
|
|
4430
4677
|
"function"
|
|
4431
4678
|
],
|
|
4432
|
-
description: "onChange prop"
|
|
4679
|
+
description: "onChange prop",
|
|
4680
|
+
kind: "callback",
|
|
4681
|
+
callbackArgs: [
|
|
4682
|
+
{
|
|
4683
|
+
name: "checked",
|
|
4684
|
+
type: "boolean"
|
|
4685
|
+
}
|
|
4686
|
+
]
|
|
4433
4687
|
},
|
|
4434
4688
|
disabled: {
|
|
4435
4689
|
types: [
|
|
@@ -4545,13 +4799,17 @@ var patterns_registry_default = {
|
|
|
4545
4799
|
types: [
|
|
4546
4800
|
"function"
|
|
4547
4801
|
],
|
|
4548
|
-
description: "onDismiss prop"
|
|
4802
|
+
description: "onDismiss prop",
|
|
4803
|
+
kind: "callback",
|
|
4804
|
+
callbackArgs: []
|
|
4549
4805
|
},
|
|
4550
4806
|
onClose: {
|
|
4551
4807
|
types: [
|
|
4552
4808
|
"function"
|
|
4553
4809
|
],
|
|
4554
|
-
description: "onClose prop"
|
|
4810
|
+
description: "onClose prop",
|
|
4811
|
+
kind: "callback",
|
|
4812
|
+
callbackArgs: []
|
|
4555
4813
|
},
|
|
4556
4814
|
actions: {
|
|
4557
4815
|
types: [
|
|
@@ -4793,7 +5051,18 @@ var patterns_registry_default = {
|
|
|
4793
5051
|
types: [
|
|
4794
5052
|
"function"
|
|
4795
5053
|
],
|
|
4796
|
-
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
|
+
]
|
|
4797
5066
|
},
|
|
4798
5067
|
className: {
|
|
4799
5068
|
types: [
|
|
@@ -4805,7 +5074,20 @@ var patterns_registry_default = {
|
|
|
4805
5074
|
types: [
|
|
4806
5075
|
"string"
|
|
4807
5076
|
],
|
|
4808
|
-
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
|
+
]
|
|
4809
5091
|
}
|
|
4810
5092
|
}
|
|
4811
5093
|
},
|
|
@@ -4984,7 +5266,18 @@ var patterns_registry_default = {
|
|
|
4984
5266
|
"function"
|
|
4985
5267
|
],
|
|
4986
5268
|
description: "Render function for each item",
|
|
4987
|
-
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
|
+
]
|
|
4988
5281
|
},
|
|
4989
5282
|
minItems: {
|
|
4990
5283
|
types: [
|
|
@@ -5032,19 +5325,43 @@ var patterns_registry_default = {
|
|
|
5032
5325
|
types: [
|
|
5033
5326
|
"function"
|
|
5034
5327
|
],
|
|
5035
|
-
description: "Add handler"
|
|
5328
|
+
description: "Add handler",
|
|
5329
|
+
kind: "callback",
|
|
5330
|
+
callbackArgs: []
|
|
5036
5331
|
},
|
|
5037
5332
|
onRemove: {
|
|
5038
5333
|
types: [
|
|
5039
5334
|
"function"
|
|
5040
5335
|
],
|
|
5041
|
-
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
|
+
]
|
|
5042
5348
|
},
|
|
5043
5349
|
onReorder: {
|
|
5044
5350
|
types: [
|
|
5045
5351
|
"function"
|
|
5046
5352
|
],
|
|
5047
|
-
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
|
+
]
|
|
5048
5365
|
},
|
|
5049
5366
|
trackAddedInState: {
|
|
5050
5367
|
types: [
|
|
@@ -5176,7 +5493,14 @@ var patterns_registry_default = {
|
|
|
5176
5493
|
types: [
|
|
5177
5494
|
"function"
|
|
5178
5495
|
],
|
|
5179
|
-
description: "onClick prop"
|
|
5496
|
+
description: "onClick prop",
|
|
5497
|
+
kind: "callback",
|
|
5498
|
+
callbackArgs: [
|
|
5499
|
+
{
|
|
5500
|
+
name: "e",
|
|
5501
|
+
type: "object"
|
|
5502
|
+
}
|
|
5503
|
+
]
|
|
5180
5504
|
},
|
|
5181
5505
|
className: {
|
|
5182
5506
|
types: [
|
|
@@ -5306,13 +5630,27 @@ var patterns_registry_default = {
|
|
|
5306
5630
|
types: [
|
|
5307
5631
|
"function"
|
|
5308
5632
|
],
|
|
5309
|
-
description: "Click handler"
|
|
5633
|
+
description: "Click handler",
|
|
5634
|
+
kind: "callback",
|
|
5635
|
+
callbackArgs: [
|
|
5636
|
+
{
|
|
5637
|
+
name: "e",
|
|
5638
|
+
type: "object"
|
|
5639
|
+
}
|
|
5640
|
+
]
|
|
5310
5641
|
},
|
|
5311
5642
|
onKeyDown: {
|
|
5312
5643
|
types: [
|
|
5313
5644
|
"function"
|
|
5314
5645
|
],
|
|
5315
|
-
description: "Keyboard handler"
|
|
5646
|
+
description: "Keyboard handler",
|
|
5647
|
+
kind: "callback",
|
|
5648
|
+
callbackArgs: [
|
|
5649
|
+
{
|
|
5650
|
+
name: "e",
|
|
5651
|
+
type: "object"
|
|
5652
|
+
}
|
|
5653
|
+
]
|
|
5316
5654
|
},
|
|
5317
5655
|
role: {
|
|
5318
5656
|
types: [
|
|
@@ -5379,19 +5717,25 @@ var patterns_registry_default = {
|
|
|
5379
5717
|
types: [
|
|
5380
5718
|
"function"
|
|
5381
5719
|
],
|
|
5382
|
-
description: "Callback when highlight is clicked"
|
|
5720
|
+
description: "Callback when highlight is clicked",
|
|
5721
|
+
kind: "callback",
|
|
5722
|
+
callbackArgs: []
|
|
5383
5723
|
},
|
|
5384
5724
|
onMouseEnter: {
|
|
5385
5725
|
types: [
|
|
5386
5726
|
"function"
|
|
5387
5727
|
],
|
|
5388
|
-
description: "Callback when highlight is hovered"
|
|
5728
|
+
description: "Callback when highlight is hovered",
|
|
5729
|
+
kind: "callback",
|
|
5730
|
+
callbackArgs: []
|
|
5389
5731
|
},
|
|
5390
5732
|
onMouseLeave: {
|
|
5391
5733
|
types: [
|
|
5392
5734
|
"function"
|
|
5393
5735
|
],
|
|
5394
|
-
description: "Callback when hover ends"
|
|
5736
|
+
description: "Callback when hover ends",
|
|
5737
|
+
kind: "callback",
|
|
5738
|
+
callbackArgs: []
|
|
5395
5739
|
},
|
|
5396
5740
|
annotationId: {
|
|
5397
5741
|
types: [
|
|
@@ -5659,13 +6003,17 @@ var patterns_registry_default = {
|
|
|
5659
6003
|
types: [
|
|
5660
6004
|
"function"
|
|
5661
6005
|
],
|
|
5662
|
-
description: "Called when button is pressed"
|
|
6006
|
+
description: "Called when button is pressed",
|
|
6007
|
+
kind: "callback",
|
|
6008
|
+
callbackArgs: []
|
|
5663
6009
|
},
|
|
5664
6010
|
onRelease: {
|
|
5665
6011
|
types: [
|
|
5666
6012
|
"function"
|
|
5667
6013
|
],
|
|
5668
|
-
description: "Called when button is released"
|
|
6014
|
+
description: "Called when button is released",
|
|
6015
|
+
kind: "callback",
|
|
6016
|
+
callbackArgs: []
|
|
5669
6017
|
},
|
|
5670
6018
|
pressEvent: {
|
|
5671
6019
|
types: [
|
|
@@ -5927,7 +6275,9 @@ var patterns_registry_default = {
|
|
|
5927
6275
|
types: [
|
|
5928
6276
|
"function"
|
|
5929
6277
|
],
|
|
5930
|
-
description: "Optional onClick handler"
|
|
6278
|
+
description: "Optional onClick handler",
|
|
6279
|
+
kind: "callback",
|
|
6280
|
+
callbackArgs: []
|
|
5931
6281
|
},
|
|
5932
6282
|
action: {
|
|
5933
6283
|
types: [
|
|
@@ -6171,7 +6521,9 @@ var patterns_registry_default = {
|
|
|
6171
6521
|
types: [
|
|
6172
6522
|
"function"
|
|
6173
6523
|
],
|
|
6174
|
-
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: []
|
|
6175
6527
|
},
|
|
6176
6528
|
variant: {
|
|
6177
6529
|
types: [
|
|
@@ -6292,7 +6644,9 @@ var patterns_registry_default = {
|
|
|
6292
6644
|
types: [
|
|
6293
6645
|
"function"
|
|
6294
6646
|
],
|
|
6295
|
-
description: "Toggle collapse handler (makes header clickable)"
|
|
6647
|
+
description: "Toggle collapse handler (makes header clickable)",
|
|
6648
|
+
kind: "callback",
|
|
6649
|
+
callbackArgs: []
|
|
6296
6650
|
},
|
|
6297
6651
|
badge: {
|
|
6298
6652
|
types: [
|
|
@@ -6393,7 +6747,14 @@ var patterns_registry_default = {
|
|
|
6393
6747
|
types: [
|
|
6394
6748
|
"function"
|
|
6395
6749
|
],
|
|
6396
|
-
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
|
+
]
|
|
6397
6758
|
},
|
|
6398
6759
|
options: {
|
|
6399
6760
|
types: [
|
|
@@ -6501,7 +6862,9 @@ var patterns_registry_default = {
|
|
|
6501
6862
|
"function"
|
|
6502
6863
|
],
|
|
6503
6864
|
description: "On close handler",
|
|
6504
|
-
required: true
|
|
6865
|
+
required: true,
|
|
6866
|
+
kind: "callback",
|
|
6867
|
+
callbackArgs: []
|
|
6505
6868
|
},
|
|
6506
6869
|
width: {
|
|
6507
6870
|
types: [
|
|
@@ -6535,7 +6898,9 @@ var patterns_registry_default = {
|
|
|
6535
6898
|
types: [
|
|
6536
6899
|
"string"
|
|
6537
6900
|
],
|
|
6538
|
-
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: []
|
|
6539
6904
|
}
|
|
6540
6905
|
}
|
|
6541
6906
|
},
|
|
@@ -6577,13 +6942,22 @@ var patterns_registry_default = {
|
|
|
6577
6942
|
types: [
|
|
6578
6943
|
"function"
|
|
6579
6944
|
],
|
|
6580
|
-
description: "Dismiss handler"
|
|
6945
|
+
description: "Dismiss handler",
|
|
6946
|
+
kind: "callback",
|
|
6947
|
+
callbackArgs: []
|
|
6581
6948
|
},
|
|
6582
6949
|
onNavigateToField: {
|
|
6583
6950
|
types: [
|
|
6584
6951
|
"function"
|
|
6585
6952
|
],
|
|
6586
|
-
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
|
+
]
|
|
6587
6961
|
},
|
|
6588
6962
|
compact: {
|
|
6589
6963
|
types: [
|
|
@@ -6621,13 +6995,37 @@ var patterns_registry_default = {
|
|
|
6621
6995
|
types: [
|
|
6622
6996
|
"function"
|
|
6623
6997
|
],
|
|
6624
|
-
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
|
+
]
|
|
6625
7010
|
},
|
|
6626
7011
|
actionEvent: {
|
|
6627
7012
|
types: [
|
|
6628
7013
|
"string"
|
|
6629
7014
|
],
|
|
6630
|
-
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
|
+
]
|
|
6631
7029
|
},
|
|
6632
7030
|
layout: {
|
|
6633
7031
|
types: [
|
|
@@ -6679,13 +7077,37 @@ var patterns_registry_default = {
|
|
|
6679
7077
|
types: [
|
|
6680
7078
|
"function"
|
|
6681
7079
|
],
|
|
6682
|
-
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
|
+
]
|
|
6683
7092
|
},
|
|
6684
7093
|
directionEvent: {
|
|
6685
7094
|
types: [
|
|
6686
7095
|
"string"
|
|
6687
7096
|
],
|
|
6688
|
-
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
|
+
]
|
|
6689
7111
|
},
|
|
6690
7112
|
size: {
|
|
6691
7113
|
types: [
|
|
@@ -7063,7 +7485,9 @@ var patterns_registry_default = {
|
|
|
7063
7485
|
types: [
|
|
7064
7486
|
"function"
|
|
7065
7487
|
],
|
|
7066
|
-
description: "Menu toggle callback"
|
|
7488
|
+
description: "Menu toggle callback",
|
|
7489
|
+
kind: "callback",
|
|
7490
|
+
callbackArgs: []
|
|
7067
7491
|
},
|
|
7068
7492
|
showSearch: {
|
|
7069
7493
|
types: [
|
|
@@ -7081,7 +7505,14 @@ var patterns_registry_default = {
|
|
|
7081
7505
|
types: [
|
|
7082
7506
|
"function"
|
|
7083
7507
|
],
|
|
7084
|
-
description: "Search callback"
|
|
7508
|
+
description: "Search callback",
|
|
7509
|
+
kind: "callback",
|
|
7510
|
+
callbackArgs: [
|
|
7511
|
+
{
|
|
7512
|
+
name: "value",
|
|
7513
|
+
type: "string"
|
|
7514
|
+
}
|
|
7515
|
+
]
|
|
7085
7516
|
},
|
|
7086
7517
|
userAvatar: {
|
|
7087
7518
|
types: [
|
|
@@ -7099,7 +7530,9 @@ var patterns_registry_default = {
|
|
|
7099
7530
|
types: [
|
|
7100
7531
|
"function"
|
|
7101
7532
|
],
|
|
7102
|
-
description: "Callback when user avatar is clicked"
|
|
7533
|
+
description: "Callback when user avatar is clicked",
|
|
7534
|
+
kind: "callback",
|
|
7535
|
+
callbackArgs: []
|
|
7103
7536
|
},
|
|
7104
7537
|
actions: {
|
|
7105
7538
|
types: [
|
|
@@ -7127,7 +7560,9 @@ var patterns_registry_default = {
|
|
|
7127
7560
|
types: [
|
|
7128
7561
|
"function"
|
|
7129
7562
|
],
|
|
7130
|
-
description: "Callback when logo/brand is clicked"
|
|
7563
|
+
description: "Callback when logo/brand is clicked",
|
|
7564
|
+
kind: "callback",
|
|
7565
|
+
callbackArgs: []
|
|
7131
7566
|
},
|
|
7132
7567
|
className: {
|
|
7133
7568
|
types: [
|
|
@@ -7369,7 +7804,9 @@ var patterns_registry_default = {
|
|
|
7369
7804
|
types: [
|
|
7370
7805
|
"function"
|
|
7371
7806
|
],
|
|
7372
|
-
description: "Click handler"
|
|
7807
|
+
description: "Click handler",
|
|
7808
|
+
kind: "callback",
|
|
7809
|
+
callbackArgs: []
|
|
7373
7810
|
},
|
|
7374
7811
|
className: {
|
|
7375
7812
|
types: [
|
|
@@ -7586,7 +8023,15 @@ var patterns_registry_default = {
|
|
|
7586
8023
|
types: [
|
|
7587
8024
|
"string"
|
|
7588
8025
|
],
|
|
7589
|
-
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
|
+
]
|
|
7590
8035
|
},
|
|
7591
8036
|
hideCollapseButton: {
|
|
7592
8037
|
types: [
|
|
@@ -7604,13 +8049,17 @@ var patterns_registry_default = {
|
|
|
7604
8049
|
types: [
|
|
7605
8050
|
"string"
|
|
7606
8051
|
],
|
|
7607
|
-
description: "Event emitted when close button is clicked"
|
|
8052
|
+
description: "Event emitted when close button is clicked",
|
|
8053
|
+
kind: "event-ref",
|
|
8054
|
+
emitPayloadSchema: []
|
|
7608
8055
|
},
|
|
7609
8056
|
logoClickEvent: {
|
|
7610
8057
|
types: [
|
|
7611
8058
|
"string"
|
|
7612
8059
|
],
|
|
7613
|
-
description: "Event emitted when logo/brand is clicked"
|
|
8060
|
+
description: "Event emitted when logo/brand is clicked",
|
|
8061
|
+
kind: "event-ref",
|
|
8062
|
+
emitPayloadSchema: []
|
|
7614
8063
|
}
|
|
7615
8064
|
}
|
|
7616
8065
|
},
|
|
@@ -7884,7 +8333,14 @@ var patterns_registry_default = {
|
|
|
7884
8333
|
types: [
|
|
7885
8334
|
"function"
|
|
7886
8335
|
],
|
|
7887
|
-
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
|
+
]
|
|
7888
8344
|
},
|
|
7889
8345
|
emptyMessage: {
|
|
7890
8346
|
types: [
|
|
@@ -8074,7 +8530,14 @@ var patterns_registry_default = {
|
|
|
8074
8530
|
types: [
|
|
8075
8531
|
"function"
|
|
8076
8532
|
],
|
|
8077
|
-
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
|
+
]
|
|
8078
8541
|
},
|
|
8079
8542
|
position: {
|
|
8080
8543
|
types: [
|
|
@@ -8165,19 +8628,25 @@ var patterns_registry_default = {
|
|
|
8165
8628
|
types: [
|
|
8166
8629
|
"function"
|
|
8167
8630
|
],
|
|
8168
|
-
description: "Called when increment is clicked"
|
|
8631
|
+
description: "Called when increment is clicked",
|
|
8632
|
+
kind: "callback",
|
|
8633
|
+
callbackArgs: []
|
|
8169
8634
|
},
|
|
8170
8635
|
onDecrement: {
|
|
8171
8636
|
types: [
|
|
8172
8637
|
"function"
|
|
8173
8638
|
],
|
|
8174
|
-
description: "Called when decrement is clicked"
|
|
8639
|
+
description: "Called when decrement is clicked",
|
|
8640
|
+
kind: "callback",
|
|
8641
|
+
callbackArgs: []
|
|
8175
8642
|
},
|
|
8176
8643
|
onReset: {
|
|
8177
8644
|
types: [
|
|
8178
8645
|
"function"
|
|
8179
8646
|
],
|
|
8180
|
-
description: "Called when reset is clicked"
|
|
8647
|
+
description: "Called when reset is clicked",
|
|
8648
|
+
kind: "callback",
|
|
8649
|
+
callbackArgs: []
|
|
8181
8650
|
},
|
|
8182
8651
|
title: {
|
|
8183
8652
|
types: [
|
|
@@ -8272,7 +8741,9 @@ var patterns_registry_default = {
|
|
|
8272
8741
|
types: [
|
|
8273
8742
|
"function"
|
|
8274
8743
|
],
|
|
8275
|
-
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: []
|
|
8276
8747
|
},
|
|
8277
8748
|
children: {
|
|
8278
8749
|
types: [
|
|
@@ -8845,7 +9316,15 @@ var patterns_registry_default = {
|
|
|
8845
9316
|
types: [
|
|
8846
9317
|
"string"
|
|
8847
9318
|
],
|
|
8848
|
-
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
|
+
]
|
|
8849
9328
|
},
|
|
8850
9329
|
showUpload: {
|
|
8851
9330
|
types: [
|
|
@@ -8930,19 +9409,36 @@ var patterns_registry_default = {
|
|
|
8930
9409
|
types: [
|
|
8931
9410
|
"function"
|
|
8932
9411
|
],
|
|
8933
|
-
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
|
+
]
|
|
8934
9420
|
},
|
|
8935
9421
|
signEvent: {
|
|
8936
9422
|
types: [
|
|
8937
9423
|
"string"
|
|
8938
9424
|
],
|
|
8939
|
-
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
|
+
]
|
|
8940
9434
|
},
|
|
8941
9435
|
clearEvent: {
|
|
8942
9436
|
types: [
|
|
8943
9437
|
"string"
|
|
8944
9438
|
],
|
|
8945
|
-
description: "Event to emit on clear"
|
|
9439
|
+
description: "Event to emit on clear",
|
|
9440
|
+
kind: "event-ref",
|
|
9441
|
+
emitPayloadSchema: []
|
|
8946
9442
|
},
|
|
8947
9443
|
entity: {
|
|
8948
9444
|
types: [
|
|
@@ -9151,13 +9647,28 @@ var patterns_registry_default = {
|
|
|
9151
9647
|
types: [
|
|
9152
9648
|
"function"
|
|
9153
9649
|
],
|
|
9154
|
-
description: "On node click"
|
|
9650
|
+
description: "On node click",
|
|
9651
|
+
kind: "callback",
|
|
9652
|
+
callbackArgs: [
|
|
9653
|
+
{
|
|
9654
|
+
name: "node",
|
|
9655
|
+
type: "object"
|
|
9656
|
+
}
|
|
9657
|
+
]
|
|
9155
9658
|
},
|
|
9156
9659
|
nodeClickEvent: {
|
|
9157
9660
|
types: [
|
|
9158
9661
|
"string"
|
|
9159
9662
|
],
|
|
9160
|
-
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
|
+
]
|
|
9161
9672
|
},
|
|
9162
9673
|
layout: {
|
|
9163
9674
|
types: [
|
|
@@ -9365,13 +9876,17 @@ var patterns_registry_default = {
|
|
|
9365
9876
|
types: [
|
|
9366
9877
|
"function"
|
|
9367
9878
|
],
|
|
9368
|
-
description: "Callback when the effect animation completes"
|
|
9879
|
+
description: "Callback when the effect animation completes",
|
|
9880
|
+
kind: "callback",
|
|
9881
|
+
callbackArgs: []
|
|
9369
9882
|
},
|
|
9370
9883
|
completeEvent: {
|
|
9371
9884
|
types: [
|
|
9372
9885
|
"string"
|
|
9373
9886
|
],
|
|
9374
|
-
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: []
|
|
9375
9890
|
},
|
|
9376
9891
|
className: {
|
|
9377
9892
|
types: [
|
|
@@ -9498,49 +10013,116 @@ var patterns_registry_default = {
|
|
|
9498
10013
|
types: [
|
|
9499
10014
|
"function"
|
|
9500
10015
|
],
|
|
9501
|
-
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
|
+
]
|
|
9502
10028
|
},
|
|
9503
10029
|
onUnitClick: {
|
|
9504
10030
|
types: [
|
|
9505
10031
|
"function"
|
|
9506
10032
|
],
|
|
9507
|
-
description: "onUnitClick prop"
|
|
10033
|
+
description: "onUnitClick prop",
|
|
10034
|
+
kind: "callback",
|
|
10035
|
+
callbackArgs: [
|
|
10036
|
+
{
|
|
10037
|
+
name: "unitId",
|
|
10038
|
+
type: "string"
|
|
10039
|
+
}
|
|
10040
|
+
]
|
|
9508
10041
|
},
|
|
9509
10042
|
onTileHover: {
|
|
9510
10043
|
types: [
|
|
9511
10044
|
"function"
|
|
9512
10045
|
],
|
|
9513
|
-
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
|
+
]
|
|
9514
10058
|
},
|
|
9515
10059
|
onTileLeave: {
|
|
9516
10060
|
types: [
|
|
9517
10061
|
"function"
|
|
9518
10062
|
],
|
|
9519
|
-
description: "onTileLeave prop"
|
|
10063
|
+
description: "onTileLeave prop",
|
|
10064
|
+
kind: "callback",
|
|
10065
|
+
callbackArgs: []
|
|
9520
10066
|
},
|
|
9521
10067
|
tileClickEvent: {
|
|
9522
10068
|
types: [
|
|
9523
10069
|
"string"
|
|
9524
10070
|
],
|
|
9525
|
-
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
|
+
]
|
|
9526
10085
|
},
|
|
9527
10086
|
unitClickEvent: {
|
|
9528
10087
|
types: [
|
|
9529
10088
|
"string"
|
|
9530
10089
|
],
|
|
9531
|
-
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
|
+
]
|
|
9532
10099
|
},
|
|
9533
10100
|
tileHoverEvent: {
|
|
9534
10101
|
types: [
|
|
9535
10102
|
"string"
|
|
9536
10103
|
],
|
|
9537
|
-
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
|
+
]
|
|
9538
10118
|
},
|
|
9539
10119
|
tileLeaveEvent: {
|
|
9540
10120
|
types: [
|
|
9541
10121
|
"string"
|
|
9542
10122
|
],
|
|
9543
|
-
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: []
|
|
9544
10126
|
},
|
|
9545
10127
|
scale: {
|
|
9546
10128
|
types: [
|
|
@@ -9600,25 +10182,53 @@ var patterns_registry_default = {
|
|
|
9600
10182
|
types: [
|
|
9601
10183
|
"function"
|
|
9602
10184
|
],
|
|
9603
|
-
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
|
+
]
|
|
9604
10193
|
},
|
|
9605
10194
|
getFeatureSprite: {
|
|
9606
10195
|
types: [
|
|
9607
10196
|
"function"
|
|
9608
10197
|
],
|
|
9609
|
-
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
|
+
]
|
|
9610
10206
|
},
|
|
9611
10207
|
getUnitSprite: {
|
|
9612
10208
|
types: [
|
|
9613
10209
|
"function"
|
|
9614
10210
|
],
|
|
9615
|
-
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
|
+
]
|
|
9616
10219
|
},
|
|
9617
10220
|
resolveUnitFrame: {
|
|
9618
10221
|
types: [
|
|
9619
10222
|
"function"
|
|
9620
10223
|
],
|
|
9621
|
-
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
|
+
]
|
|
9622
10232
|
},
|
|
9623
10233
|
effectSpriteUrls: {
|
|
9624
10234
|
types: [
|
|
@@ -9630,7 +10240,22 @@ var patterns_registry_default = {
|
|
|
9630
10240
|
types: [
|
|
9631
10241
|
"function"
|
|
9632
10242
|
],
|
|
9633
|
-
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
|
+
]
|
|
9634
10259
|
},
|
|
9635
10260
|
hasActiveEffects: {
|
|
9636
10261
|
types: [
|
|
@@ -9807,61 +10432,151 @@ var patterns_registry_default = {
|
|
|
9807
10432
|
types: [
|
|
9808
10433
|
"function"
|
|
9809
10434
|
],
|
|
9810
|
-
description: "-- Slots --"
|
|
10435
|
+
description: "-- Slots --",
|
|
10436
|
+
kind: "callback",
|
|
10437
|
+
callbackArgs: [
|
|
10438
|
+
{
|
|
10439
|
+
name: "ctx",
|
|
10440
|
+
type: "object"
|
|
10441
|
+
}
|
|
10442
|
+
]
|
|
9811
10443
|
},
|
|
9812
10444
|
sidebar: {
|
|
9813
10445
|
types: [
|
|
9814
10446
|
"function"
|
|
9815
10447
|
],
|
|
9816
|
-
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
|
+
]
|
|
9817
10456
|
},
|
|
9818
10457
|
actions: {
|
|
9819
10458
|
types: [
|
|
9820
10459
|
"function"
|
|
9821
10460
|
],
|
|
9822
|
-
description: "Floating action buttons"
|
|
10461
|
+
description: "Floating action buttons",
|
|
10462
|
+
kind: "callback",
|
|
10463
|
+
callbackArgs: [
|
|
10464
|
+
{
|
|
10465
|
+
name: "ctx",
|
|
10466
|
+
type: "object"
|
|
10467
|
+
}
|
|
10468
|
+
]
|
|
9823
10469
|
},
|
|
9824
10470
|
overlay: {
|
|
9825
10471
|
types: [
|
|
9826
10472
|
"function"
|
|
9827
10473
|
],
|
|
9828
|
-
description: "Floating overlays above the canvas (damage popups, tooltips)"
|
|
9829
|
-
|
|
10474
|
+
description: "Floating overlays above the canvas (damage popups, tooltips)",
|
|
10475
|
+
kind: "callback",
|
|
10476
|
+
callbackArgs: [
|
|
10477
|
+
{
|
|
10478
|
+
name: "ctx",
|
|
10479
|
+
type: "object"
|
|
10480
|
+
}
|
|
10481
|
+
]
|
|
10482
|
+
},
|
|
9830
10483
|
gameOverOverlay: {
|
|
9831
10484
|
types: [
|
|
9832
10485
|
"function"
|
|
9833
10486
|
],
|
|
9834
|
-
description: "Game-over screen overlay"
|
|
10487
|
+
description: "Game-over screen overlay",
|
|
10488
|
+
kind: "callback",
|
|
10489
|
+
callbackArgs: [
|
|
10490
|
+
{
|
|
10491
|
+
name: "ctx",
|
|
10492
|
+
type: "object"
|
|
10493
|
+
}
|
|
10494
|
+
]
|
|
9835
10495
|
},
|
|
9836
10496
|
onAttack: {
|
|
9837
10497
|
types: [
|
|
9838
10498
|
"function"
|
|
9839
10499
|
],
|
|
9840
|
-
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
|
+
]
|
|
9841
10516
|
},
|
|
9842
10517
|
onGameEnd: {
|
|
9843
10518
|
types: [
|
|
9844
10519
|
"function"
|
|
9845
10520
|
],
|
|
9846
|
-
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
|
+
]
|
|
9847
10529
|
},
|
|
9848
10530
|
onUnitMove: {
|
|
9849
10531
|
types: [
|
|
9850
10532
|
"function"
|
|
9851
10533
|
],
|
|
9852
|
-
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
|
+
]
|
|
9853
10546
|
},
|
|
9854
10547
|
calculateDamage: {
|
|
9855
10548
|
types: [
|
|
9856
10549
|
"function"
|
|
9857
10550
|
],
|
|
9858
|
-
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
|
+
]
|
|
9859
10563
|
},
|
|
9860
10564
|
onDrawEffects: {
|
|
9861
10565
|
types: [
|
|
9862
10566
|
"function"
|
|
9863
10567
|
],
|
|
9864
|
-
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
|
+
]
|
|
9865
10580
|
},
|
|
9866
10581
|
hasActiveEffects: {
|
|
9867
10582
|
types: [
|
|
@@ -9879,49 +10594,109 @@ var patterns_registry_default = {
|
|
|
9879
10594
|
types: [
|
|
9880
10595
|
"function"
|
|
9881
10596
|
],
|
|
9882
|
-
description: "resolveUnitFrame prop"
|
|
10597
|
+
description: "resolveUnitFrame prop",
|
|
10598
|
+
kind: "callback",
|
|
10599
|
+
callbackArgs: [
|
|
10600
|
+
{
|
|
10601
|
+
name: "unitId",
|
|
10602
|
+
type: "string"
|
|
10603
|
+
}
|
|
10604
|
+
]
|
|
9883
10605
|
},
|
|
9884
10606
|
tileClickEvent: {
|
|
9885
10607
|
types: [
|
|
9886
10608
|
"string"
|
|
9887
10609
|
],
|
|
9888
|
-
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
|
+
]
|
|
9889
10624
|
},
|
|
9890
10625
|
unitClickEvent: {
|
|
9891
10626
|
types: [
|
|
9892
10627
|
"string"
|
|
9893
10628
|
],
|
|
9894
|
-
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
|
+
]
|
|
9895
10638
|
},
|
|
9896
10639
|
endTurnEvent: {
|
|
9897
10640
|
types: [
|
|
9898
10641
|
"string"
|
|
9899
10642
|
],
|
|
9900
|
-
description: "Emits UI:{endTurnEvent} with {} on end turn"
|
|
10643
|
+
description: "Emits UI:{endTurnEvent} with {} on end turn",
|
|
10644
|
+
kind: "event-ref",
|
|
10645
|
+
emitPayloadSchema: []
|
|
9901
10646
|
},
|
|
9902
10647
|
cancelEvent: {
|
|
9903
10648
|
types: [
|
|
9904
10649
|
"string"
|
|
9905
10650
|
],
|
|
9906
|
-
description: "Emits UI:{cancelEvent} with {} on cancel"
|
|
10651
|
+
description: "Emits UI:{cancelEvent} with {} on cancel",
|
|
10652
|
+
kind: "event-ref",
|
|
10653
|
+
emitPayloadSchema: []
|
|
9907
10654
|
},
|
|
9908
10655
|
gameEndEvent: {
|
|
9909
10656
|
types: [
|
|
9910
10657
|
"string"
|
|
9911
10658
|
],
|
|
9912
|
-
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
|
+
]
|
|
9913
10668
|
},
|
|
9914
10669
|
playAgainEvent: {
|
|
9915
10670
|
types: [
|
|
9916
10671
|
"string"
|
|
9917
10672
|
],
|
|
9918
|
-
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: []
|
|
9919
10676
|
},
|
|
9920
10677
|
attackEvent: {
|
|
9921
10678
|
types: [
|
|
9922
10679
|
"string"
|
|
9923
10680
|
],
|
|
9924
|
-
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
|
+
]
|
|
9925
10700
|
},
|
|
9926
10701
|
className: {
|
|
9927
10702
|
types: [
|
|
@@ -9959,61 +10734,158 @@ var patterns_registry_default = {
|
|
|
9959
10734
|
types: [
|
|
9960
10735
|
"function"
|
|
9961
10736
|
],
|
|
9962
|
-
description: "-- Render-prop slots --"
|
|
10737
|
+
description: "-- Render-prop slots --",
|
|
10738
|
+
kind: "callback",
|
|
10739
|
+
callbackArgs: [
|
|
10740
|
+
{
|
|
10741
|
+
name: "ctx",
|
|
10742
|
+
type: "object"
|
|
10743
|
+
}
|
|
10744
|
+
]
|
|
9963
10745
|
},
|
|
9964
10746
|
sidePanel: {
|
|
9965
10747
|
types: [
|
|
9966
10748
|
"function"
|
|
9967
10749
|
],
|
|
9968
|
-
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
|
+
]
|
|
9969
10758
|
},
|
|
9970
10759
|
overlay: {
|
|
9971
10760
|
types: [
|
|
9972
10761
|
"function"
|
|
9973
10762
|
],
|
|
9974
|
-
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
|
+
]
|
|
9975
10771
|
},
|
|
9976
10772
|
footer: {
|
|
9977
10773
|
types: [
|
|
9978
10774
|
"function"
|
|
9979
10775
|
],
|
|
9980
|
-
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
|
+
]
|
|
9981
10784
|
},
|
|
9982
10785
|
onFeatureClick: {
|
|
9983
10786
|
types: [
|
|
9984
10787
|
"function"
|
|
9985
10788
|
],
|
|
9986
|
-
description: "-- Callback overrides --"
|
|
10789
|
+
description: "-- Callback overrides --",
|
|
10790
|
+
kind: "callback",
|
|
10791
|
+
callbackArgs: [
|
|
10792
|
+
{
|
|
10793
|
+
name: "feature",
|
|
10794
|
+
type: "object"
|
|
10795
|
+
}
|
|
10796
|
+
]
|
|
9987
10797
|
},
|
|
9988
10798
|
onUnitClick: {
|
|
9989
10799
|
types: [
|
|
9990
10800
|
"function"
|
|
9991
10801
|
],
|
|
9992
|
-
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
|
+
]
|
|
9993
10810
|
},
|
|
9994
10811
|
onTileClick: {
|
|
9995
10812
|
types: [
|
|
9996
10813
|
"function"
|
|
9997
10814
|
],
|
|
9998
|
-
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
|
+
]
|
|
9999
10827
|
},
|
|
10000
10828
|
featureClickEvent: {
|
|
10001
10829
|
types: [
|
|
10002
10830
|
"string"
|
|
10003
10831
|
],
|
|
10004
|
-
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
|
+
]
|
|
10005
10856
|
},
|
|
10006
10857
|
unitClickEvent: {
|
|
10007
10858
|
types: [
|
|
10008
10859
|
"string"
|
|
10009
10860
|
],
|
|
10010
|
-
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
|
+
]
|
|
10011
10870
|
},
|
|
10012
10871
|
tileClickEvent: {
|
|
10013
10872
|
types: [
|
|
10014
10873
|
"string"
|
|
10015
10874
|
],
|
|
10016
|
-
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
|
+
]
|
|
10017
10889
|
},
|
|
10018
10890
|
className: {
|
|
10019
10891
|
types: [
|
|
@@ -10082,85 +10954,242 @@ var patterns_registry_default = {
|
|
|
10082
10954
|
types: [
|
|
10083
10955
|
"function"
|
|
10084
10956
|
],
|
|
10085
|
-
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
|
+
]
|
|
10086
10973
|
},
|
|
10087
10974
|
heroSelectEvent: {
|
|
10088
10975
|
types: [
|
|
10089
10976
|
"string"
|
|
10090
10977
|
],
|
|
10091
|
-
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
|
+
]
|
|
10092
10987
|
},
|
|
10093
10988
|
heroMoveEvent: {
|
|
10094
10989
|
types: [
|
|
10095
10990
|
"string"
|
|
10096
10991
|
],
|
|
10097
|
-
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
|
+
]
|
|
10098
11011
|
},
|
|
10099
11012
|
battleEncounterEvent: {
|
|
10100
11013
|
types: [
|
|
10101
11014
|
"string"
|
|
10102
11015
|
],
|
|
10103
|
-
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
|
+
]
|
|
10104
11030
|
},
|
|
10105
11031
|
featureEnterEvent: {
|
|
10106
11032
|
types: [
|
|
10107
11033
|
"string"
|
|
10108
11034
|
],
|
|
10109
|
-
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
|
+
]
|
|
10110
11054
|
},
|
|
10111
11055
|
tileClickEvent: {
|
|
10112
11056
|
types: [
|
|
10113
11057
|
"string"
|
|
10114
11058
|
],
|
|
10115
|
-
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
|
+
]
|
|
10116
11073
|
},
|
|
10117
11074
|
header: {
|
|
10118
11075
|
types: [
|
|
10119
11076
|
"function"
|
|
10120
11077
|
],
|
|
10121
|
-
description: "-- Slots --"
|
|
11078
|
+
description: "-- Slots --",
|
|
11079
|
+
kind: "callback",
|
|
11080
|
+
callbackArgs: [
|
|
11081
|
+
{
|
|
11082
|
+
name: "ctx",
|
|
11083
|
+
type: "object"
|
|
11084
|
+
}
|
|
11085
|
+
]
|
|
10122
11086
|
},
|
|
10123
11087
|
sidePanel: {
|
|
10124
11088
|
types: [
|
|
10125
11089
|
"function"
|
|
10126
11090
|
],
|
|
10127
|
-
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
|
+
]
|
|
10128
11099
|
},
|
|
10129
11100
|
overlay: {
|
|
10130
11101
|
types: [
|
|
10131
11102
|
"function"
|
|
10132
11103
|
],
|
|
10133
|
-
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
|
+
]
|
|
10134
11112
|
},
|
|
10135
11113
|
footer: {
|
|
10136
11114
|
types: [
|
|
10137
11115
|
"function"
|
|
10138
11116
|
],
|
|
10139
|
-
description: "Footer"
|
|
11117
|
+
description: "Footer",
|
|
11118
|
+
kind: "callback",
|
|
11119
|
+
callbackArgs: [
|
|
11120
|
+
{
|
|
11121
|
+
name: "ctx",
|
|
11122
|
+
type: "object"
|
|
11123
|
+
}
|
|
11124
|
+
]
|
|
10140
11125
|
},
|
|
10141
11126
|
onHeroSelect: {
|
|
10142
11127
|
types: [
|
|
10143
11128
|
"function"
|
|
10144
11129
|
],
|
|
10145
|
-
description: "-- Callbacks --"
|
|
11130
|
+
description: "-- Callbacks --",
|
|
11131
|
+
kind: "callback",
|
|
11132
|
+
callbackArgs: [
|
|
11133
|
+
{
|
|
11134
|
+
name: "heroId",
|
|
11135
|
+
type: "string"
|
|
11136
|
+
}
|
|
11137
|
+
]
|
|
10146
11138
|
},
|
|
10147
11139
|
onHeroMove: {
|
|
10148
11140
|
types: [
|
|
10149
11141
|
"function"
|
|
10150
11142
|
],
|
|
10151
|
-
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
|
+
]
|
|
10152
11159
|
},
|
|
10153
11160
|
onBattleEncounter: {
|
|
10154
11161
|
types: [
|
|
10155
11162
|
"function"
|
|
10156
11163
|
],
|
|
10157
|
-
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
|
+
]
|
|
10158
11176
|
},
|
|
10159
11177
|
onFeatureEnter: {
|
|
10160
11178
|
types: [
|
|
10161
11179
|
"function"
|
|
10162
11180
|
],
|
|
10163
|
-
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
|
+
]
|
|
10164
11193
|
},
|
|
10165
11194
|
diamondTopY: {
|
|
10166
11195
|
types: [
|
|
@@ -10184,7 +11213,14 @@ var patterns_registry_default = {
|
|
|
10184
11213
|
types: [
|
|
10185
11214
|
"function"
|
|
10186
11215
|
],
|
|
10187
|
-
description: "resolveUnitFrame prop"
|
|
11216
|
+
description: "resolveUnitFrame prop",
|
|
11217
|
+
kind: "callback",
|
|
11218
|
+
callbackArgs: [
|
|
11219
|
+
{
|
|
11220
|
+
name: "unitId",
|
|
11221
|
+
type: "string"
|
|
11222
|
+
}
|
|
11223
|
+
]
|
|
10188
11224
|
}
|
|
10189
11225
|
}
|
|
10190
11226
|
},
|
|
@@ -10218,7 +11254,9 @@ var patterns_registry_default = {
|
|
|
10218
11254
|
"function"
|
|
10219
11255
|
],
|
|
10220
11256
|
description: "onToggle prop",
|
|
10221
|
-
required: true
|
|
11257
|
+
required: true,
|
|
11258
|
+
kind: "callback",
|
|
11259
|
+
callbackArgs: []
|
|
10222
11260
|
},
|
|
10223
11261
|
children: {
|
|
10224
11262
|
types: [
|
|
@@ -10288,13 +11326,22 @@ var patterns_registry_default = {
|
|
|
10288
11326
|
types: [
|
|
10289
11327
|
"function"
|
|
10290
11328
|
],
|
|
10291
|
-
description: "Click handler"
|
|
11329
|
+
description: "Click handler",
|
|
11330
|
+
kind: "callback",
|
|
11331
|
+
callbackArgs: []
|
|
10292
11332
|
},
|
|
10293
11333
|
onHover: {
|
|
10294
11334
|
types: [
|
|
10295
11335
|
"function"
|
|
10296
11336
|
],
|
|
10297
|
-
description: "Hover handler"
|
|
11337
|
+
description: "Hover handler",
|
|
11338
|
+
kind: "callback",
|
|
11339
|
+
callbackArgs: [
|
|
11340
|
+
{
|
|
11341
|
+
name: "hovered",
|
|
11342
|
+
type: "boolean"
|
|
11343
|
+
}
|
|
11344
|
+
]
|
|
10298
11345
|
},
|
|
10299
11346
|
fallbackGeometry: {
|
|
10300
11347
|
types: [
|
|
@@ -10368,13 +11415,27 @@ var patterns_registry_default = {
|
|
|
10368
11415
|
types: [
|
|
10369
11416
|
"function"
|
|
10370
11417
|
],
|
|
10371
|
-
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
|
+
]
|
|
10372
11426
|
},
|
|
10373
11427
|
onFeatureHover: {
|
|
10374
11428
|
types: [
|
|
10375
11429
|
"function"
|
|
10376
11430
|
],
|
|
10377
|
-
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
|
+
]
|
|
10378
11439
|
},
|
|
10379
11440
|
selectedFeatureIds: {
|
|
10380
11441
|
types: [
|
|
@@ -10442,13 +11503,27 @@ var patterns_registry_default = {
|
|
|
10442
11503
|
types: [
|
|
10443
11504
|
"function"
|
|
10444
11505
|
],
|
|
10445
|
-
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
|
+
]
|
|
10446
11514
|
},
|
|
10447
11515
|
onTileHover: {
|
|
10448
11516
|
types: [
|
|
10449
11517
|
"function"
|
|
10450
11518
|
],
|
|
10451
|
-
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
|
+
]
|
|
10452
11527
|
},
|
|
10453
11528
|
selectedTileIds: {
|
|
10454
11529
|
types: [
|
|
@@ -10516,13 +11591,31 @@ var patterns_registry_default = {
|
|
|
10516
11591
|
types: [
|
|
10517
11592
|
"function"
|
|
10518
11593
|
],
|
|
10519
|
-
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
|
+
]
|
|
10520
11602
|
},
|
|
10521
11603
|
onAnimationStateChange: {
|
|
10522
11604
|
types: [
|
|
10523
11605
|
"function"
|
|
10524
11606
|
],
|
|
10525
|
-
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
|
+
]
|
|
10526
11619
|
},
|
|
10527
11620
|
animationSpeed: {
|
|
10528
11621
|
types: [
|
|
@@ -10622,7 +11715,18 @@ var patterns_registry_default = {
|
|
|
10622
11715
|
types: [
|
|
10623
11716
|
"function"
|
|
10624
11717
|
],
|
|
10625
|
-
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
|
+
]
|
|
10626
11730
|
}
|
|
10627
11731
|
}
|
|
10628
11732
|
},
|
|
@@ -10886,7 +11990,14 @@ var patterns_registry_default = {
|
|
|
10886
11990
|
types: [
|
|
10887
11991
|
"function"
|
|
10888
11992
|
],
|
|
10889
|
-
description: "-- Drag and drop --"
|
|
11993
|
+
description: "-- Drag and drop --",
|
|
11994
|
+
kind: "callback",
|
|
11995
|
+
callbackArgs: [
|
|
11996
|
+
{
|
|
11997
|
+
name: "item",
|
|
11998
|
+
type: "object"
|
|
11999
|
+
}
|
|
12000
|
+
]
|
|
10890
12001
|
},
|
|
10891
12002
|
draggable: {
|
|
10892
12003
|
types: [
|
|
@@ -10898,7 +12009,14 @@ var patterns_registry_default = {
|
|
|
10898
12009
|
types: [
|
|
10899
12010
|
"function"
|
|
10900
12011
|
],
|
|
10901
|
-
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
|
+
]
|
|
10902
12020
|
},
|
|
10903
12021
|
feedback: {
|
|
10904
12022
|
types: [
|
|
@@ -10914,25 +12032,45 @@ var patterns_registry_default = {
|
|
|
10914
12032
|
types: [
|
|
10915
12033
|
"function"
|
|
10916
12034
|
],
|
|
10917
|
-
description: "-- Callbacks --"
|
|
12035
|
+
description: "-- Callbacks --",
|
|
12036
|
+
kind: "callback",
|
|
12037
|
+
callbackArgs: []
|
|
10918
12038
|
},
|
|
10919
12039
|
onRemove: {
|
|
10920
12040
|
types: [
|
|
10921
12041
|
"function"
|
|
10922
12042
|
],
|
|
10923
|
-
description: "Remove handler"
|
|
12043
|
+
description: "Remove handler",
|
|
12044
|
+
kind: "callback",
|
|
12045
|
+
callbackArgs: []
|
|
10924
12046
|
},
|
|
10925
12047
|
clickEvent: {
|
|
10926
12048
|
types: [
|
|
10927
12049
|
"string"
|
|
10928
12050
|
],
|
|
10929
|
-
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
|
+
]
|
|
10930
12060
|
},
|
|
10931
12061
|
removeEvent: {
|
|
10932
12062
|
types: [
|
|
10933
12063
|
"string"
|
|
10934
12064
|
],
|
|
10935
|
-
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
|
+
]
|
|
10936
12074
|
}
|
|
10937
12075
|
}
|
|
10938
12076
|
},
|
|
@@ -10987,7 +12125,14 @@ var patterns_registry_default = {
|
|
|
10987
12125
|
types: [
|
|
10988
12126
|
"function"
|
|
10989
12127
|
],
|
|
10990
|
-
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
|
+
]
|
|
10991
12136
|
},
|
|
10992
12137
|
stateStyles: {
|
|
10993
12138
|
types: [
|
|
@@ -11139,7 +12284,14 @@ var patterns_registry_default = {
|
|
|
11139
12284
|
types: [
|
|
11140
12285
|
"function"
|
|
11141
12286
|
],
|
|
11142
|
-
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
|
+
]
|
|
11143
12295
|
},
|
|
11144
12296
|
errorLines: {
|
|
11145
12297
|
types: [
|
|
@@ -11405,7 +12557,18 @@ var patterns_registry_default = {
|
|
|
11405
12557
|
types: [
|
|
11406
12558
|
"function"
|
|
11407
12559
|
],
|
|
11408
|
-
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
|
+
]
|
|
11409
12572
|
}
|
|
11410
12573
|
}
|
|
11411
12574
|
},
|
|
@@ -11863,42 +13026,68 @@ var patterns_registry_default = {
|
|
|
11863
13026
|
"function"
|
|
11864
13027
|
],
|
|
11865
13028
|
description: "onPlay prop",
|
|
11866
|
-
required: true
|
|
13029
|
+
required: true,
|
|
13030
|
+
kind: "callback",
|
|
13031
|
+
callbackArgs: []
|
|
11867
13032
|
},
|
|
11868
13033
|
onPause: {
|
|
11869
13034
|
types: [
|
|
11870
13035
|
"function"
|
|
11871
13036
|
],
|
|
11872
13037
|
description: "onPause prop",
|
|
11873
|
-
required: true
|
|
13038
|
+
required: true,
|
|
13039
|
+
kind: "callback",
|
|
13040
|
+
callbackArgs: []
|
|
11874
13041
|
},
|
|
11875
13042
|
onStep: {
|
|
11876
13043
|
types: [
|
|
11877
13044
|
"function"
|
|
11878
13045
|
],
|
|
11879
13046
|
description: "onStep prop",
|
|
11880
|
-
required: true
|
|
13047
|
+
required: true,
|
|
13048
|
+
kind: "callback",
|
|
13049
|
+
callbackArgs: []
|
|
11881
13050
|
},
|
|
11882
13051
|
onReset: {
|
|
11883
13052
|
types: [
|
|
11884
13053
|
"function"
|
|
11885
13054
|
],
|
|
11886
13055
|
description: "onReset prop",
|
|
11887
|
-
required: true
|
|
13056
|
+
required: true,
|
|
13057
|
+
kind: "callback",
|
|
13058
|
+
callbackArgs: []
|
|
11888
13059
|
},
|
|
11889
13060
|
onSpeedChange: {
|
|
11890
13061
|
types: [
|
|
11891
13062
|
"function"
|
|
11892
13063
|
],
|
|
11893
13064
|
description: "onSpeedChange prop",
|
|
11894
|
-
required: true
|
|
13065
|
+
required: true,
|
|
13066
|
+
kind: "callback",
|
|
13067
|
+
callbackArgs: [
|
|
13068
|
+
{
|
|
13069
|
+
name: "speed",
|
|
13070
|
+
type: "number"
|
|
13071
|
+
}
|
|
13072
|
+
]
|
|
11895
13073
|
},
|
|
11896
13074
|
onParameterChange: {
|
|
11897
13075
|
types: [
|
|
11898
13076
|
"function"
|
|
11899
13077
|
],
|
|
11900
13078
|
description: "onParameterChange prop",
|
|
11901
|
-
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
|
+
]
|
|
11902
13091
|
},
|
|
11903
13092
|
className: {
|
|
11904
13093
|
types: [
|
|
@@ -11994,7 +13183,20 @@ var patterns_registry_default = {
|
|
|
11994
13183
|
types: [
|
|
11995
13184
|
"string"
|
|
11996
13185
|
],
|
|
11997
|
-
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
|
+
]
|
|
11998
13200
|
}
|
|
11999
13201
|
}
|
|
12000
13202
|
},
|
|
@@ -12020,7 +13222,20 @@ var patterns_registry_default = {
|
|
|
12020
13222
|
types: [
|
|
12021
13223
|
"string"
|
|
12022
13224
|
],
|
|
12023
|
-
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
|
+
]
|
|
12024
13239
|
}
|
|
12025
13240
|
}
|
|
12026
13241
|
},
|
|
@@ -12046,7 +13261,20 @@ var patterns_registry_default = {
|
|
|
12046
13261
|
types: [
|
|
12047
13262
|
"string"
|
|
12048
13263
|
],
|
|
12049
|
-
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
|
+
]
|
|
12050
13278
|
}
|
|
12051
13279
|
}
|
|
12052
13280
|
},
|
|
@@ -12079,13 +13307,23 @@ var patterns_registry_default = {
|
|
|
12079
13307
|
types: [
|
|
12080
13308
|
"string"
|
|
12081
13309
|
],
|
|
12082
|
-
description: "Emits UI:{playEvent}"
|
|
13310
|
+
description: "Emits UI:{playEvent}",
|
|
13311
|
+
kind: "event-ref",
|
|
13312
|
+
emitPayloadSchema: []
|
|
12083
13313
|
},
|
|
12084
13314
|
completeEvent: {
|
|
12085
13315
|
types: [
|
|
12086
13316
|
"string"
|
|
12087
13317
|
],
|
|
12088
|
-
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
|
+
]
|
|
12089
13327
|
}
|
|
12090
13328
|
}
|
|
12091
13329
|
},
|
|
@@ -12151,7 +13389,18 @@ var patterns_registry_default = {
|
|
|
12151
13389
|
"function"
|
|
12152
13390
|
],
|
|
12153
13391
|
description: "Called when rules change",
|
|
12154
|
-
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
|
+
]
|
|
12155
13404
|
},
|
|
12156
13405
|
disabled: {
|
|
12157
13406
|
types: [
|
|
@@ -12204,13 +13453,22 @@ var patterns_registry_default = {
|
|
|
12204
13453
|
"function"
|
|
12205
13454
|
],
|
|
12206
13455
|
description: "Called when rule changes",
|
|
12207
|
-
required: true
|
|
13456
|
+
required: true,
|
|
13457
|
+
kind: "callback",
|
|
13458
|
+
callbackArgs: [
|
|
13459
|
+
{
|
|
13460
|
+
name: "rule",
|
|
13461
|
+
type: "object"
|
|
13462
|
+
}
|
|
13463
|
+
]
|
|
12208
13464
|
},
|
|
12209
13465
|
onRemove: {
|
|
12210
13466
|
types: [
|
|
12211
13467
|
"function"
|
|
12212
13468
|
],
|
|
12213
|
-
description: "Called when rule is removed"
|
|
13469
|
+
description: "Called when rule is removed",
|
|
13470
|
+
kind: "callback",
|
|
13471
|
+
callbackArgs: []
|
|
12214
13472
|
},
|
|
12215
13473
|
disabled: {
|
|
12216
13474
|
types: [
|
|
@@ -12248,7 +13506,20 @@ var patterns_registry_default = {
|
|
|
12248
13506
|
types: [
|
|
12249
13507
|
"string"
|
|
12250
13508
|
],
|
|
12251
|
-
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
|
+
]
|
|
12252
13523
|
}
|
|
12253
13524
|
}
|
|
12254
13525
|
},
|
|
@@ -12386,14 +13657,32 @@ var patterns_registry_default = {
|
|
|
12386
13657
|
"function"
|
|
12387
13658
|
],
|
|
12388
13659
|
description: "Called when an item is dropped into slot at index",
|
|
12389
|
-
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
|
+
]
|
|
12390
13672
|
},
|
|
12391
13673
|
onSlotRemove: {
|
|
12392
13674
|
types: [
|
|
12393
13675
|
"function"
|
|
12394
13676
|
],
|
|
12395
13677
|
description: "Called when a slot is cleared",
|
|
12396
|
-
required: true
|
|
13678
|
+
required: true,
|
|
13679
|
+
kind: "callback",
|
|
13680
|
+
callbackArgs: [
|
|
13681
|
+
{
|
|
13682
|
+
name: "index",
|
|
13683
|
+
type: "number"
|
|
13684
|
+
}
|
|
13685
|
+
]
|
|
12397
13686
|
},
|
|
12398
13687
|
playing: {
|
|
12399
13688
|
types: [
|
|
@@ -12472,13 +13761,34 @@ var patterns_registry_default = {
|
|
|
12472
13761
|
types: [
|
|
12473
13762
|
"string"
|
|
12474
13763
|
],
|
|
12475
|
-
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
|
+
]
|
|
12476
13773
|
},
|
|
12477
13774
|
completeEvent: {
|
|
12478
13775
|
types: [
|
|
12479
13776
|
"string"
|
|
12480
13777
|
],
|
|
12481
|
-
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
|
+
]
|
|
12482
13792
|
}
|
|
12483
13793
|
}
|
|
12484
13794
|
},
|
|
@@ -12504,7 +13814,20 @@ var patterns_registry_default = {
|
|
|
12504
13814
|
types: [
|
|
12505
13815
|
"string"
|
|
12506
13816
|
],
|
|
12507
|
-
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
|
+
]
|
|
12508
13831
|
}
|
|
12509
13832
|
}
|
|
12510
13833
|
},
|
|
@@ -12575,13 +13898,28 @@ var patterns_registry_default = {
|
|
|
12575
13898
|
types: [
|
|
12576
13899
|
"string"
|
|
12577
13900
|
],
|
|
12578
|
-
description: "Emits UI:{testEvent}"
|
|
13901
|
+
description: "Emits UI:{testEvent}",
|
|
13902
|
+
kind: "event-ref",
|
|
13903
|
+
emitPayloadSchema: []
|
|
12579
13904
|
},
|
|
12580
13905
|
completeEvent: {
|
|
12581
13906
|
types: [
|
|
12582
13907
|
"string"
|
|
12583
13908
|
],
|
|
12584
|
-
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
|
+
]
|
|
12585
13923
|
}
|
|
12586
13924
|
}
|
|
12587
13925
|
},
|
|
@@ -12632,7 +13970,9 @@ var patterns_registry_default = {
|
|
|
12632
13970
|
types: [
|
|
12633
13971
|
"function"
|
|
12634
13972
|
],
|
|
12635
|
-
description: "Click handler"
|
|
13973
|
+
description: "Click handler",
|
|
13974
|
+
kind: "callback",
|
|
13975
|
+
callbackArgs: []
|
|
12636
13976
|
},
|
|
12637
13977
|
className: {
|
|
12638
13978
|
types: [
|
|
@@ -12690,7 +14030,9 @@ var patterns_registry_default = {
|
|
|
12690
14030
|
types: [
|
|
12691
14031
|
"function"
|
|
12692
14032
|
],
|
|
12693
|
-
description: "Click handler"
|
|
14033
|
+
description: "Click handler",
|
|
14034
|
+
kind: "callback",
|
|
14035
|
+
callbackArgs: []
|
|
12694
14036
|
},
|
|
12695
14037
|
className: {
|
|
12696
14038
|
types: [
|
|
@@ -12761,7 +14103,14 @@ var patterns_registry_default = {
|
|
|
12761
14103
|
types: [
|
|
12762
14104
|
"function"
|
|
12763
14105
|
],
|
|
12764
|
-
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
|
+
]
|
|
12765
14114
|
},
|
|
12766
14115
|
className: {
|
|
12767
14116
|
types: [
|
|
@@ -12806,7 +14155,9 @@ var patterns_registry_default = {
|
|
|
12806
14155
|
types: [
|
|
12807
14156
|
"function"
|
|
12808
14157
|
],
|
|
12809
|
-
description: "Click handler on the outer wrapper"
|
|
14158
|
+
description: "Click handler on the outer wrapper",
|
|
14159
|
+
kind: "callback",
|
|
14160
|
+
callbackArgs: []
|
|
12810
14161
|
}
|
|
12811
14162
|
}
|
|
12812
14163
|
},
|
|
@@ -12833,7 +14184,14 @@ var patterns_registry_default = {
|
|
|
12833
14184
|
types: [
|
|
12834
14185
|
"function"
|
|
12835
14186
|
],
|
|
12836
|
-
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
|
+
]
|
|
12837
14195
|
},
|
|
12838
14196
|
className: {
|
|
12839
14197
|
types: [
|
|
@@ -12888,19 +14246,44 @@ var patterns_registry_default = {
|
|
|
12888
14246
|
types: [
|
|
12889
14247
|
"function"
|
|
12890
14248
|
],
|
|
12891
|
-
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
|
+
]
|
|
12892
14261
|
},
|
|
12893
14262
|
onDayClick: {
|
|
12894
14263
|
types: [
|
|
12895
14264
|
"function"
|
|
12896
14265
|
],
|
|
12897
|
-
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
|
+
]
|
|
12898
14274
|
},
|
|
12899
14275
|
onEventClick: {
|
|
12900
14276
|
types: [
|
|
12901
14277
|
"function"
|
|
12902
14278
|
],
|
|
12903
|
-
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
|
+
]
|
|
12904
14287
|
},
|
|
12905
14288
|
className: {
|
|
12906
14289
|
types: [
|
|
@@ -12912,7 +14295,20 @@ var patterns_registry_default = {
|
|
|
12912
14295
|
types: [
|
|
12913
14296
|
"string"
|
|
12914
14297
|
],
|
|
12915
|
-
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
|
+
]
|
|
12916
14312
|
},
|
|
12917
14313
|
longPressPayload: {
|
|
12918
14314
|
types: [
|
|
@@ -12924,13 +14320,17 @@ var patterns_registry_default = {
|
|
|
12924
14320
|
types: [
|
|
12925
14321
|
"string"
|
|
12926
14322
|
],
|
|
12927
|
-
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: []
|
|
12928
14326
|
},
|
|
12929
14327
|
swipeRightEvent: {
|
|
12930
14328
|
types: [
|
|
12931
14329
|
"string"
|
|
12932
14330
|
],
|
|
12933
|
-
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: []
|
|
12934
14334
|
}
|
|
12935
14335
|
}
|
|
12936
14336
|
},
|
|
@@ -12998,7 +14398,14 @@ var patterns_registry_default = {
|
|
|
12998
14398
|
types: [
|
|
12999
14399
|
"function"
|
|
13000
14400
|
],
|
|
13001
|
-
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
|
+
]
|
|
13002
14409
|
},
|
|
13003
14410
|
className: {
|
|
13004
14411
|
types: [
|
|
@@ -13043,7 +14450,9 @@ var patterns_registry_default = {
|
|
|
13043
14450
|
types: [
|
|
13044
14451
|
"function"
|
|
13045
14452
|
],
|
|
13046
|
-
description: "Callback when the card is clicked to flip"
|
|
14453
|
+
description: "Callback when the card is clicked to flip",
|
|
14454
|
+
kind: "callback",
|
|
14455
|
+
callbackArgs: []
|
|
13047
14456
|
},
|
|
13048
14457
|
className: {
|
|
13049
14458
|
types: [
|
|
@@ -13088,13 +14497,27 @@ var patterns_registry_default = {
|
|
|
13088
14497
|
types: [
|
|
13089
14498
|
"function"
|
|
13090
14499
|
],
|
|
13091
|
-
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
|
+
]
|
|
13092
14508
|
},
|
|
13093
14509
|
onNodeHover: {
|
|
13094
14510
|
types: [
|
|
13095
14511
|
"function"
|
|
13096
14512
|
],
|
|
13097
|
-
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
|
+
]
|
|
13098
14521
|
},
|
|
13099
14522
|
width: {
|
|
13100
14523
|
types: [
|
|
@@ -13225,13 +14648,27 @@ var patterns_registry_default = {
|
|
|
13225
14648
|
types: [
|
|
13226
14649
|
"function"
|
|
13227
14650
|
],
|
|
13228
|
-
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
|
+
]
|
|
13229
14659
|
},
|
|
13230
14660
|
onDotClick: {
|
|
13231
14661
|
types: [
|
|
13232
14662
|
"function"
|
|
13233
14663
|
],
|
|
13234
|
-
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
|
+
]
|
|
13235
14672
|
},
|
|
13236
14673
|
className: {
|
|
13237
14674
|
types: [
|
|
@@ -13371,13 +14808,35 @@ var patterns_registry_default = {
|
|
|
13371
14808
|
types: [
|
|
13372
14809
|
"function"
|
|
13373
14810
|
],
|
|
13374
|
-
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
|
+
]
|
|
13375
14823
|
},
|
|
13376
14824
|
renderItem: {
|
|
13377
14825
|
types: [
|
|
13378
14826
|
"function"
|
|
13379
14827
|
],
|
|
13380
|
-
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
|
+
]
|
|
13381
14840
|
},
|
|
13382
14841
|
pageSize: {
|
|
13383
14842
|
types: [
|
|
@@ -13550,13 +15009,35 @@ var patterns_registry_default = {
|
|
|
13550
15009
|
types: [
|
|
13551
15010
|
"function"
|
|
13552
15011
|
],
|
|
13553
|
-
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
|
+
]
|
|
13554
15024
|
},
|
|
13555
15025
|
renderItem: {
|
|
13556
15026
|
types: [
|
|
13557
15027
|
"function"
|
|
13558
15028
|
],
|
|
13559
|
-
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
|
+
]
|
|
13560
15041
|
},
|
|
13561
15042
|
pageSize: {
|
|
13562
15043
|
types: [
|
|
@@ -13653,25 +15134,45 @@ var patterns_registry_default = {
|
|
|
13653
15134
|
types: [
|
|
13654
15135
|
"string"
|
|
13655
15136
|
],
|
|
13656
|
-
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
|
+
]
|
|
13657
15146
|
},
|
|
13658
15147
|
rightEvent: {
|
|
13659
15148
|
types: [
|
|
13660
15149
|
"string"
|
|
13661
15150
|
],
|
|
13662
|
-
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
|
+
]
|
|
13663
15160
|
},
|
|
13664
15161
|
jumpEvent: {
|
|
13665
15162
|
types: [
|
|
13666
15163
|
"string"
|
|
13667
15164
|
],
|
|
13668
|
-
description: "jumpEvent prop"
|
|
15165
|
+
description: "jumpEvent prop",
|
|
15166
|
+
kind: "event-ref",
|
|
15167
|
+
emitPayloadSchema: []
|
|
13669
15168
|
},
|
|
13670
15169
|
stopEvent: {
|
|
13671
15170
|
types: [
|
|
13672
15171
|
"string"
|
|
13673
15172
|
],
|
|
13674
|
-
description: "stopEvent prop"
|
|
15173
|
+
description: "stopEvent prop",
|
|
15174
|
+
kind: "event-ref",
|
|
15175
|
+
emitPayloadSchema: []
|
|
13675
15176
|
},
|
|
13676
15177
|
className: {
|
|
13677
15178
|
types: [
|
|
@@ -13726,25 +15227,84 @@ var patterns_registry_default = {
|
|
|
13726
15227
|
types: [
|
|
13727
15228
|
"function"
|
|
13728
15229
|
],
|
|
13729
|
-
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
|
+
]
|
|
13730
15238
|
},
|
|
13731
15239
|
onMapClick: {
|
|
13732
15240
|
types: [
|
|
13733
15241
|
"function"
|
|
13734
15242
|
],
|
|
13735
|
-
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
|
+
]
|
|
13736
15255
|
},
|
|
13737
15256
|
mapClickEvent: {
|
|
13738
15257
|
types: [
|
|
13739
15258
|
"string"
|
|
13740
15259
|
],
|
|
13741
|
-
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
|
+
]
|
|
13742
15274
|
},
|
|
13743
15275
|
markerClickEvent: {
|
|
13744
15276
|
types: [
|
|
13745
15277
|
"string"
|
|
13746
15278
|
],
|
|
13747
|
-
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
|
+
]
|
|
13748
15308
|
},
|
|
13749
15309
|
showClickedPin: {
|
|
13750
15310
|
types: [
|
|
@@ -13853,13 +15413,27 @@ var patterns_registry_default = {
|
|
|
13853
15413
|
types: [
|
|
13854
15414
|
"function"
|
|
13855
15415
|
],
|
|
13856
|
-
description: "Direct onChange callback"
|
|
15416
|
+
description: "Direct onChange callback",
|
|
15417
|
+
kind: "callback",
|
|
15418
|
+
callbackArgs: [
|
|
15419
|
+
{
|
|
15420
|
+
name: "value",
|
|
15421
|
+
type: "number"
|
|
15422
|
+
}
|
|
15423
|
+
]
|
|
13857
15424
|
},
|
|
13858
15425
|
formatValue: {
|
|
13859
15426
|
types: [
|
|
13860
15427
|
"function"
|
|
13861
15428
|
],
|
|
13862
|
-
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
|
+
]
|
|
13863
15437
|
}
|
|
13864
15438
|
}
|
|
13865
15439
|
},
|
|
@@ -14016,13 +15590,22 @@ var patterns_registry_default = {
|
|
|
14016
15590
|
types: [
|
|
14017
15591
|
"function"
|
|
14018
15592
|
],
|
|
14019
|
-
description: "Direct onClose callback"
|
|
15593
|
+
description: "Direct onClose callback",
|
|
15594
|
+
kind: "callback",
|
|
15595
|
+
callbackArgs: []
|
|
14020
15596
|
},
|
|
14021
15597
|
onIndexChange: {
|
|
14022
15598
|
types: [
|
|
14023
15599
|
"function"
|
|
14024
15600
|
],
|
|
14025
|
-
description: "Direct onIndexChange callback"
|
|
15601
|
+
description: "Direct onIndexChange callback",
|
|
15602
|
+
kind: "callback",
|
|
15603
|
+
callbackArgs: [
|
|
15604
|
+
{
|
|
15605
|
+
name: "index",
|
|
15606
|
+
type: "number"
|
|
15607
|
+
}
|
|
15608
|
+
]
|
|
14026
15609
|
},
|
|
14027
15610
|
className: {
|
|
14028
15611
|
types: [
|
|
@@ -14088,7 +15671,14 @@ var patterns_registry_default = {
|
|
|
14088
15671
|
types: [
|
|
14089
15672
|
"function"
|
|
14090
15673
|
],
|
|
14091
|
-
description: "Direct onChange callback"
|
|
15674
|
+
description: "Direct onChange callback",
|
|
15675
|
+
kind: "callback",
|
|
15676
|
+
callbackArgs: [
|
|
15677
|
+
{
|
|
15678
|
+
name: "value",
|
|
15679
|
+
type: "number"
|
|
15680
|
+
}
|
|
15681
|
+
]
|
|
14092
15682
|
},
|
|
14093
15683
|
action: {
|
|
14094
15684
|
types: [
|
|
@@ -14184,7 +15774,14 @@ var patterns_registry_default = {
|
|
|
14184
15774
|
types: [
|
|
14185
15775
|
"function"
|
|
14186
15776
|
],
|
|
14187
|
-
description: "Direct onChange callback"
|
|
15777
|
+
description: "Direct onChange callback",
|
|
15778
|
+
kind: "callback",
|
|
15779
|
+
callbackArgs: [
|
|
15780
|
+
{
|
|
15781
|
+
name: "value",
|
|
15782
|
+
type: "number"
|
|
15783
|
+
}
|
|
15784
|
+
]
|
|
14188
15785
|
},
|
|
14189
15786
|
className: {
|
|
14190
15787
|
types: [
|
|
@@ -14271,7 +15868,14 @@ var patterns_registry_default = {
|
|
|
14271
15868
|
types: [
|
|
14272
15869
|
"function"
|
|
14273
15870
|
],
|
|
14274
|
-
description: "Direct onFiles callback"
|
|
15871
|
+
description: "Direct onFiles callback",
|
|
15872
|
+
kind: "callback",
|
|
15873
|
+
callbackArgs: [
|
|
15874
|
+
{
|
|
15875
|
+
name: "files",
|
|
15876
|
+
type: "array"
|
|
15877
|
+
}
|
|
15878
|
+
]
|
|
14275
15879
|
},
|
|
14276
15880
|
className: {
|
|
14277
15881
|
types: [
|
|
@@ -14456,7 +16060,9 @@ var patterns_registry_default = {
|
|
|
14456
16060
|
types: [
|
|
14457
16061
|
"function"
|
|
14458
16062
|
],
|
|
14459
|
-
description: "Called when the entire text has been revealed"
|
|
16063
|
+
description: "Called when the entire text has been revealed",
|
|
16064
|
+
kind: "callback",
|
|
16065
|
+
callbackArgs: []
|
|
14460
16066
|
}
|
|
14461
16067
|
}
|
|
14462
16068
|
},
|
|
@@ -14480,13 +16086,35 @@ var patterns_registry_default = {
|
|
|
14480
16086
|
types: [
|
|
14481
16087
|
"function"
|
|
14482
16088
|
],
|
|
14483
|
-
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
|
+
]
|
|
14484
16101
|
},
|
|
14485
16102
|
children: {
|
|
14486
16103
|
types: [
|
|
14487
16104
|
"function"
|
|
14488
16105
|
],
|
|
14489
|
-
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
|
+
]
|
|
14490
16118
|
},
|
|
14491
16119
|
autoPlay: {
|
|
14492
16120
|
types: [
|
|
@@ -14522,7 +16150,15 @@ var patterns_registry_default = {
|
|
|
14522
16150
|
types: [
|
|
14523
16151
|
"string"
|
|
14524
16152
|
],
|
|
14525
|
-
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
|
+
]
|
|
14526
16162
|
},
|
|
14527
16163
|
slideChangePayload: {
|
|
14528
16164
|
types: [
|
|
@@ -14607,7 +16243,18 @@ var patterns_registry_default = {
|
|
|
14607
16243
|
"function"
|
|
14608
16244
|
],
|
|
14609
16245
|
description: "renderItem prop",
|
|
14610
|
-
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
|
+
]
|
|
14611
16258
|
},
|
|
14612
16259
|
reorderEvent: {
|
|
14613
16260
|
types: [
|
|
@@ -14894,7 +16541,9 @@ var patterns_registry_default = {
|
|
|
14894
16541
|
types: [
|
|
14895
16542
|
"function"
|
|
14896
16543
|
],
|
|
14897
|
-
description: "Click handler"
|
|
16544
|
+
description: "Click handler",
|
|
16545
|
+
kind: "callback",
|
|
16546
|
+
callbackArgs: []
|
|
14898
16547
|
},
|
|
14899
16548
|
className: {
|
|
14900
16549
|
types: [
|
|
@@ -14944,7 +16593,9 @@ var patterns_registry_default = {
|
|
|
14944
16593
|
types: [
|
|
14945
16594
|
"function"
|
|
14946
16595
|
],
|
|
14947
|
-
description: "Click handler"
|
|
16596
|
+
description: "Click handler",
|
|
16597
|
+
kind: "callback",
|
|
16598
|
+
callbackArgs: []
|
|
14948
16599
|
},
|
|
14949
16600
|
className: {
|
|
14950
16601
|
types: [
|
|
@@ -15169,7 +16820,9 @@ var patterns_registry_default = {
|
|
|
15169
16820
|
types: [
|
|
15170
16821
|
"function"
|
|
15171
16822
|
],
|
|
15172
|
-
description: "Click handler"
|
|
16823
|
+
description: "Click handler",
|
|
16824
|
+
kind: "callback",
|
|
16825
|
+
callbackArgs: []
|
|
15173
16826
|
},
|
|
15174
16827
|
className: {
|
|
15175
16828
|
types: [
|
|
@@ -15572,13 +17225,23 @@ var patterns_registry_default = {
|
|
|
15572
17225
|
types: [
|
|
15573
17226
|
"function"
|
|
15574
17227
|
],
|
|
15575
|
-
description: "Callback when the craft button is clicked"
|
|
17228
|
+
description: "Callback when the craft button is clicked",
|
|
17229
|
+
kind: "callback",
|
|
17230
|
+
callbackArgs: []
|
|
15576
17231
|
},
|
|
15577
17232
|
craftEvent: {
|
|
15578
17233
|
types: [
|
|
15579
17234
|
"string"
|
|
15580
17235
|
],
|
|
15581
|
-
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
|
+
]
|
|
15582
17245
|
},
|
|
15583
17246
|
className: {
|
|
15584
17247
|
types: [
|
|
@@ -15748,13 +17411,28 @@ var patterns_registry_default = {
|
|
|
15748
17411
|
types: [
|
|
15749
17412
|
"function"
|
|
15750
17413
|
],
|
|
15751
|
-
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
|
+
]
|
|
15752
17422
|
},
|
|
15753
17423
|
selectEvent: {
|
|
15754
17424
|
types: [
|
|
15755
17425
|
"string"
|
|
15756
17426
|
],
|
|
15757
|
-
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
|
+
]
|
|
15758
17436
|
},
|
|
15759
17437
|
size: {
|
|
15760
17438
|
types: [
|
|
@@ -17957,7 +19635,14 @@ var patterns_registry_default = {
|
|
|
17957
19635
|
types: [
|
|
17958
19636
|
"function"
|
|
17959
19637
|
],
|
|
17960
|
-
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
|
+
]
|
|
17961
19646
|
},
|
|
17962
19647
|
className: {
|
|
17963
19648
|
types: [
|
|
@@ -19987,13 +21672,22 @@ var patterns_registry_default = {
|
|
|
19987
21672
|
"function"
|
|
19988
21673
|
],
|
|
19989
21674
|
description: "Click handler",
|
|
19990
|
-
required: true
|
|
21675
|
+
required: true,
|
|
21676
|
+
kind: "callback",
|
|
21677
|
+
callbackArgs: []
|
|
19991
21678
|
},
|
|
19992
21679
|
onHover: {
|
|
19993
21680
|
types: [
|
|
19994
21681
|
"function"
|
|
19995
21682
|
],
|
|
19996
|
-
description: "Hover callback"
|
|
21683
|
+
description: "Hover callback",
|
|
21684
|
+
kind: "callback",
|
|
21685
|
+
callbackArgs: [
|
|
21686
|
+
{
|
|
21687
|
+
name: "hovering",
|
|
21688
|
+
type: "boolean"
|
|
21689
|
+
}
|
|
21690
|
+
]
|
|
19997
21691
|
},
|
|
19998
21692
|
cursor: {
|
|
19999
21693
|
types: [
|
|
@@ -20076,7 +21770,18 @@ var patterns_registry_default = {
|
|
|
20076
21770
|
types: [
|
|
20077
21771
|
"function"
|
|
20078
21772
|
],
|
|
20079
|
-
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
|
+
]
|
|
20080
21785
|
},
|
|
20081
21786
|
width: {
|
|
20082
21787
|
types: [
|
|
@@ -20173,7 +21878,18 @@ var patterns_registry_default = {
|
|
|
20173
21878
|
types: [
|
|
20174
21879
|
"function"
|
|
20175
21880
|
],
|
|
20176
|
-
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
|
+
]
|
|
20177
21893
|
}
|
|
20178
21894
|
}
|
|
20179
21895
|
},
|
|
@@ -20829,7 +22545,9 @@ var patterns_registry_default = {
|
|
|
20829
22545
|
types: [
|
|
20830
22546
|
"function"
|
|
20831
22547
|
],
|
|
20832
|
-
description: "Click handler"
|
|
22548
|
+
description: "Click handler",
|
|
22549
|
+
kind: "callback",
|
|
22550
|
+
callbackArgs: []
|
|
20833
22551
|
}
|
|
20834
22552
|
}
|
|
20835
22553
|
},
|
|
@@ -20961,7 +22679,9 @@ var patterns_registry_default = {
|
|
|
20961
22679
|
types: [
|
|
20962
22680
|
"function"
|
|
20963
22681
|
],
|
|
20964
|
-
description: "onTransitionClick prop"
|
|
22682
|
+
description: "onTransitionClick prop",
|
|
22683
|
+
kind: "callback",
|
|
22684
|
+
callbackArgs: []
|
|
20965
22685
|
}
|
|
20966
22686
|
}
|
|
20967
22687
|
},
|
|
@@ -21121,19 +22841,44 @@ var patterns_registry_default = {
|
|
|
21121
22841
|
types: [
|
|
21122
22842
|
"function"
|
|
21123
22843
|
],
|
|
21124
|
-
description: "onNodeClick prop"
|
|
22844
|
+
description: "onNodeClick prop",
|
|
22845
|
+
kind: "callback",
|
|
22846
|
+
callbackArgs: [
|
|
22847
|
+
{
|
|
22848
|
+
name: "context",
|
|
22849
|
+
type: "object"
|
|
22850
|
+
}
|
|
22851
|
+
]
|
|
21125
22852
|
},
|
|
21126
22853
|
onLevelChange: {
|
|
21127
22854
|
types: [
|
|
21128
22855
|
"function"
|
|
21129
22856
|
],
|
|
21130
|
-
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
|
+
]
|
|
21131
22869
|
},
|
|
21132
22870
|
onOrbitalDoubleClick: {
|
|
21133
22871
|
types: [
|
|
21134
22872
|
"function"
|
|
21135
22873
|
],
|
|
21136
|
-
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
|
+
]
|
|
21137
22882
|
},
|
|
21138
22883
|
cosmicEntryLevel: {
|
|
21139
22884
|
types: [
|
|
@@ -21174,19 +22919,40 @@ var patterns_registry_default = {
|
|
|
21174
22919
|
types: [
|
|
21175
22920
|
"function"
|
|
21176
22921
|
],
|
|
21177
|
-
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
|
+
]
|
|
21178
22930
|
},
|
|
21179
22931
|
onPatternDelete: {
|
|
21180
22932
|
types: [
|
|
21181
22933
|
"function"
|
|
21182
22934
|
],
|
|
21183
|
-
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
|
+
]
|
|
21184
22943
|
},
|
|
21185
22944
|
onEventWire: {
|
|
21186
22945
|
types: [
|
|
21187
22946
|
"function"
|
|
21188
22947
|
],
|
|
21189
|
-
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
|
+
]
|
|
21190
22956
|
},
|
|
21191
22957
|
behaviorMeta: {
|
|
21192
22958
|
types: [
|
|
@@ -21208,7 +22974,14 @@ var patterns_registry_default = {
|
|
|
21208
22974
|
types: [
|
|
21209
22975
|
"function"
|
|
21210
22976
|
],
|
|
21211
|
-
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
|
+
]
|
|
21212
22985
|
},
|
|
21213
22986
|
composeLevel: {
|
|
21214
22987
|
types: [
|
|
@@ -21232,7 +23005,18 @@ var patterns_registry_default = {
|
|
|
21232
23005
|
types: [
|
|
21233
23006
|
"function"
|
|
21234
23007
|
],
|
|
21235
|
-
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
|
+
]
|
|
21236
23020
|
},
|
|
21237
23021
|
focusTarget: {
|
|
21238
23022
|
types: [
|
|
@@ -21788,7 +23572,9 @@ var patterns_registry_default = {
|
|
|
21788
23572
|
types: [
|
|
21789
23573
|
"function"
|
|
21790
23574
|
],
|
|
21791
|
-
description: "Click handler"
|
|
23575
|
+
description: "Click handler",
|
|
23576
|
+
kind: "callback",
|
|
23577
|
+
callbackArgs: []
|
|
21792
23578
|
},
|
|
21793
23579
|
className: {
|
|
21794
23580
|
types: [
|
|
@@ -21846,7 +23632,9 @@ var patterns_registry_default = {
|
|
|
21846
23632
|
types: [
|
|
21847
23633
|
"function"
|
|
21848
23634
|
],
|
|
21849
|
-
description: "Click handler"
|
|
23635
|
+
description: "Click handler",
|
|
23636
|
+
kind: "callback",
|
|
23637
|
+
callbackArgs: []
|
|
21850
23638
|
},
|
|
21851
23639
|
incomingCount: {
|
|
21852
23640
|
types: [
|
|
@@ -21955,7 +23743,9 @@ var patterns_registry_default = {
|
|
|
21955
23743
|
types: [
|
|
21956
23744
|
"function"
|
|
21957
23745
|
],
|
|
21958
|
-
description: "Click handler"
|
|
23746
|
+
description: "Click handler",
|
|
23747
|
+
kind: "callback",
|
|
23748
|
+
callbackArgs: []
|
|
21959
23749
|
},
|
|
21960
23750
|
color: {
|
|
21961
23751
|
types: [
|
|
@@ -21998,13 +23788,31 @@ var patterns_registry_default = {
|
|
|
21998
23788
|
types: [
|
|
21999
23789
|
"function"
|
|
22000
23790
|
],
|
|
22001
|
-
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
|
+
]
|
|
22002
23803
|
},
|
|
22003
23804
|
onTick: {
|
|
22004
23805
|
types: [
|
|
22005
23806
|
"function"
|
|
22006
23807
|
],
|
|
22007
|
-
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
|
+
]
|
|
22008
23816
|
},
|
|
22009
23817
|
fps: {
|
|
22010
23818
|
types: [
|
|
@@ -22109,7 +23917,14 @@ var patterns_registry_default = {
|
|
|
22109
23917
|
types: [
|
|
22110
23918
|
"function"
|
|
22111
23919
|
],
|
|
22112
|
-
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
|
+
]
|
|
22113
23928
|
},
|
|
22114
23929
|
color: {
|
|
22115
23930
|
types: [
|
|
@@ -22168,7 +23983,14 @@ var patterns_registry_default = {
|
|
|
22168
23983
|
types: [
|
|
22169
23984
|
"function"
|
|
22170
23985
|
],
|
|
22171
|
-
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
|
+
]
|
|
22172
23994
|
},
|
|
22173
23995
|
highlightedTrait: {
|
|
22174
23996
|
types: [
|
|
@@ -22180,7 +24002,14 @@ var patterns_registry_default = {
|
|
|
22180
24002
|
types: [
|
|
22181
24003
|
"function"
|
|
22182
24004
|
],
|
|
22183
|
-
description: "Highlight change handler"
|
|
24005
|
+
description: "Highlight change handler",
|
|
24006
|
+
kind: "callback",
|
|
24007
|
+
callbackArgs: [
|
|
24008
|
+
{
|
|
24009
|
+
name: "traitName",
|
|
24010
|
+
type: "string"
|
|
24011
|
+
}
|
|
24012
|
+
]
|
|
22184
24013
|
},
|
|
22185
24014
|
color: {
|
|
22186
24015
|
types: [
|
|
@@ -22213,7 +24042,14 @@ var patterns_registry_default = {
|
|
|
22213
24042
|
types: [
|
|
22214
24043
|
"function"
|
|
22215
24044
|
],
|
|
22216
|
-
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
|
+
]
|
|
22217
24053
|
},
|
|
22218
24054
|
color: {
|
|
22219
24055
|
types: [
|
|
@@ -22297,7 +24133,18 @@ var patterns_registry_default = {
|
|
|
22297
24133
|
types: [
|
|
22298
24134
|
"function"
|
|
22299
24135
|
],
|
|
22300
|
-
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
|
+
]
|
|
22301
24148
|
},
|
|
22302
24149
|
width: {
|
|
22303
24150
|
types: [
|
|
@@ -22464,37 +24311,99 @@ var patterns_registry_default = {
|
|
|
22464
24311
|
types: [
|
|
22465
24312
|
"function"
|
|
22466
24313
|
],
|
|
22467
|
-
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
|
+
]
|
|
22468
24326
|
},
|
|
22469
24327
|
onUnitClick: {
|
|
22470
24328
|
types: [
|
|
22471
24329
|
"function"
|
|
22472
24330
|
],
|
|
22473
|
-
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
|
+
]
|
|
22474
24343
|
},
|
|
22475
24344
|
onFeatureClick: {
|
|
22476
24345
|
types: [
|
|
22477
24346
|
"function"
|
|
22478
24347
|
],
|
|
22479
|
-
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
|
+
]
|
|
22480
24360
|
},
|
|
22481
24361
|
onCanvasClick: {
|
|
22482
24362
|
types: [
|
|
22483
24363
|
"function"
|
|
22484
24364
|
],
|
|
22485
|
-
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
|
+
]
|
|
22486
24373
|
},
|
|
22487
24374
|
onTileHover: {
|
|
22488
24375
|
types: [
|
|
22489
24376
|
"function"
|
|
22490
24377
|
],
|
|
22491
|
-
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
|
+
]
|
|
22492
24390
|
},
|
|
22493
24391
|
onUnitAnimation: {
|
|
22494
24392
|
types: [
|
|
22495
24393
|
"function"
|
|
22496
24394
|
],
|
|
22497
|
-
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
|
+
]
|
|
22498
24407
|
},
|
|
22499
24408
|
assetLoader: {
|
|
22500
24409
|
types: [
|
|
@@ -22530,49 +24439,232 @@ var patterns_registry_default = {
|
|
|
22530
24439
|
types: [
|
|
22531
24440
|
"string"
|
|
22532
24441
|
],
|
|
22533
|
-
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
|
+
]
|
|
22534
24476
|
},
|
|
22535
24477
|
unitClickEvent: {
|
|
22536
24478
|
types: [
|
|
22537
24479
|
"string"
|
|
22538
24480
|
],
|
|
22539
|
-
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
|
+
]
|
|
22540
24530
|
},
|
|
22541
24531
|
featureClickEvent: {
|
|
22542
24532
|
types: [
|
|
22543
24533
|
"string"
|
|
22544
24534
|
],
|
|
22545
|
-
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
|
+
]
|
|
22546
24564
|
},
|
|
22547
24565
|
canvasClickEvent: {
|
|
22548
24566
|
types: [
|
|
22549
24567
|
"string"
|
|
22550
24568
|
],
|
|
22551
|
-
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
|
+
]
|
|
22552
24588
|
},
|
|
22553
24589
|
tileHoverEvent: {
|
|
22554
24590
|
types: [
|
|
22555
24591
|
"string"
|
|
22556
24592
|
],
|
|
22557
|
-
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
|
+
]
|
|
22558
24617
|
},
|
|
22559
24618
|
tileLeaveEvent: {
|
|
22560
24619
|
types: [
|
|
22561
24620
|
"string"
|
|
22562
24621
|
],
|
|
22563
|
-
description: "Declarative event: tile leave"
|
|
24622
|
+
description: "Declarative event: tile leave",
|
|
24623
|
+
kind: "event-ref",
|
|
24624
|
+
emitPayloadSchema: []
|
|
22564
24625
|
},
|
|
22565
24626
|
unitAnimationEvent: {
|
|
22566
24627
|
types: [
|
|
22567
24628
|
"string"
|
|
22568
24629
|
],
|
|
22569
|
-
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
|
+
]
|
|
22570
24649
|
},
|
|
22571
24650
|
cameraChangeEvent: {
|
|
22572
24651
|
types: [
|
|
22573
24652
|
"string"
|
|
22574
24653
|
],
|
|
22575
|
-
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
|
+
]
|
|
22576
24668
|
},
|
|
22577
24669
|
loadingMessage: {
|
|
22578
24670
|
types: [
|
|
@@ -22679,7 +24771,14 @@ var patterns_registry_default = {
|
|
|
22679
24771
|
types: [
|
|
22680
24772
|
"function"
|
|
22681
24773
|
],
|
|
22682
|
-
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
|
+
]
|
|
22683
24782
|
}
|
|
22684
24783
|
}
|
|
22685
24784
|
},
|
|
@@ -22808,13 +24907,26 @@ var patterns_registry_default = {
|
|
|
22808
24907
|
types: [
|
|
22809
24908
|
"function"
|
|
22810
24909
|
],
|
|
22811
|
-
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
|
+
]
|
|
22812
24922
|
},
|
|
22813
24923
|
onReset: {
|
|
22814
24924
|
types: [
|
|
22815
24925
|
"function"
|
|
22816
24926
|
],
|
|
22817
|
-
description: "Reset callback"
|
|
24927
|
+
description: "Reset callback",
|
|
24928
|
+
kind: "callback",
|
|
24929
|
+
callbackArgs: []
|
|
22818
24930
|
}
|
|
22819
24931
|
}
|
|
22820
24932
|
},
|
|
@@ -22940,19 +25052,35 @@ var patterns_registry_default = {
|
|
|
22940
25052
|
types: [
|
|
22941
25053
|
"function"
|
|
22942
25054
|
],
|
|
22943
|
-
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
|
+
]
|
|
22944
25063
|
},
|
|
22945
25064
|
onGroundHit: {
|
|
22946
25065
|
types: [
|
|
22947
25066
|
"function"
|
|
22948
25067
|
],
|
|
22949
|
-
description: "Called when object hits ground"
|
|
25068
|
+
description: "Called when object hits ground",
|
|
25069
|
+
kind: "callback",
|
|
25070
|
+
callbackArgs: []
|
|
22950
25071
|
},
|
|
22951
25072
|
onCollision: {
|
|
22952
25073
|
types: [
|
|
22953
25074
|
"function"
|
|
22954
25075
|
],
|
|
22955
|
-
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
|
+
]
|
|
22956
25084
|
}
|
|
22957
25085
|
}
|
|
22958
25086
|
},
|
|
@@ -22996,13 +25124,27 @@ var patterns_registry_default = {
|
|
|
22996
25124
|
types: [
|
|
22997
25125
|
"function"
|
|
22998
25126
|
],
|
|
22999
|
-
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
|
+
]
|
|
23000
25135
|
},
|
|
23001
25136
|
onFeatureHover: {
|
|
23002
25137
|
types: [
|
|
23003
25138
|
"function"
|
|
23004
25139
|
],
|
|
23005
|
-
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
|
+
]
|
|
23006
25148
|
},
|
|
23007
25149
|
selectedFeatureIds: {
|
|
23008
25150
|
types: [
|
|
@@ -23405,14 +25547,23 @@ var patterns_registry_default = {
|
|
|
23405
25547
|
types: [
|
|
23406
25548
|
"function"
|
|
23407
25549
|
],
|
|
23408
|
-
description: "onSchemaChange prop"
|
|
25550
|
+
description: "onSchemaChange prop",
|
|
25551
|
+
kind: "callback",
|
|
25552
|
+
callbackArgs: [
|
|
25553
|
+
{
|
|
25554
|
+
name: "schema",
|
|
25555
|
+
type: "object"
|
|
25556
|
+
}
|
|
25557
|
+
]
|
|
23409
25558
|
},
|
|
23410
25559
|
onClose: {
|
|
23411
25560
|
types: [
|
|
23412
25561
|
"function"
|
|
23413
25562
|
],
|
|
23414
25563
|
description: "onClose prop",
|
|
23415
|
-
required: true
|
|
25564
|
+
required: true,
|
|
25565
|
+
kind: "callback",
|
|
25566
|
+
callbackArgs: []
|
|
23416
25567
|
}
|
|
23417
25568
|
}
|
|
23418
25569
|
},
|
|
@@ -23470,7 +25621,14 @@ var patterns_registry_default = {
|
|
|
23470
25621
|
types: [
|
|
23471
25622
|
"function"
|
|
23472
25623
|
],
|
|
23473
|
-
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
|
+
]
|
|
23474
25632
|
},
|
|
23475
25633
|
className: {
|
|
23476
25634
|
types: [
|
|
@@ -23549,7 +25707,14 @@ var patterns_registry_default = {
|
|
|
23549
25707
|
types: [
|
|
23550
25708
|
"function"
|
|
23551
25709
|
],
|
|
23552
|
-
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
|
+
]
|
|
23553
25718
|
},
|
|
23554
25719
|
minZoom: {
|
|
23555
25720
|
types: [
|
|
@@ -24491,7 +26656,7 @@ var integrators_registry_default = {
|
|
|
24491
26656
|
// src/component-mapping.json
|
|
24492
26657
|
var component_mapping_default = {
|
|
24493
26658
|
version: "1.0.0",
|
|
24494
|
-
exportedAt: "2026-05-
|
|
26659
|
+
exportedAt: "2026-05-04T04:46:21.886Z",
|
|
24495
26660
|
mappings: {
|
|
24496
26661
|
"page-header": {
|
|
24497
26662
|
component: "PageHeader",
|
|
@@ -26302,7 +28467,7 @@ var component_mapping_default = {
|
|
|
26302
28467
|
// src/event-contracts.json
|
|
26303
28468
|
var event_contracts_default = {
|
|
26304
28469
|
version: "1.0.0",
|
|
26305
|
-
exportedAt: "2026-05-
|
|
28470
|
+
exportedAt: "2026-05-04T04:46:21.886Z",
|
|
26306
28471
|
contracts: {
|
|
26307
28472
|
form: {
|
|
26308
28473
|
emits: [
|