@almadar/patterns 2.0.1 → 2.1.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 +137 -24
- package/dist/index.d.ts +1162 -112
- package/dist/index.js +548 -67
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +406 -38
- package/dist/registry.json +406 -38
- package/package.json +4 -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-03-
|
|
4
|
+
exportedAt: "2026-03-06T07:07:47.853Z",
|
|
5
5
|
patterns: {
|
|
6
6
|
"entity-table": {
|
|
7
7
|
type: "entity-table",
|
|
@@ -477,6 +477,18 @@ var patterns_registry_default = {
|
|
|
477
477
|
"boolean"
|
|
478
478
|
],
|
|
479
479
|
description: "Show total count in pagination"
|
|
480
|
+
},
|
|
481
|
+
showAvatar: {
|
|
482
|
+
types: [
|
|
483
|
+
"boolean"
|
|
484
|
+
],
|
|
485
|
+
description: "Show avatar/image field on cards"
|
|
486
|
+
},
|
|
487
|
+
variant: {
|
|
488
|
+
types: [
|
|
489
|
+
"string"
|
|
490
|
+
],
|
|
491
|
+
description: "Visual variant for the card grid"
|
|
480
492
|
}
|
|
481
493
|
}
|
|
482
494
|
},
|
|
@@ -2154,6 +2166,12 @@ var patterns_registry_default = {
|
|
|
2154
2166
|
"unknown"
|
|
2155
2167
|
],
|
|
2156
2168
|
description: "Metrics to display (schema format) - accepts readonly for compatibility with generated const arrays"
|
|
2169
|
+
},
|
|
2170
|
+
compact: {
|
|
2171
|
+
types: [
|
|
2172
|
+
"boolean"
|
|
2173
|
+
],
|
|
2174
|
+
description: "Compact display mode"
|
|
2157
2175
|
}
|
|
2158
2176
|
}
|
|
2159
2177
|
},
|
|
@@ -2168,6 +2186,84 @@ var patterns_registry_default = {
|
|
|
2168
2186
|
],
|
|
2169
2187
|
typicalSize: "large",
|
|
2170
2188
|
propsSchema: {
|
|
2189
|
+
entity: {
|
|
2190
|
+
types: [
|
|
2191
|
+
"string"
|
|
2192
|
+
],
|
|
2193
|
+
description: "Entity name for schema-driven integration"
|
|
2194
|
+
},
|
|
2195
|
+
data: {
|
|
2196
|
+
types: [
|
|
2197
|
+
"array"
|
|
2198
|
+
],
|
|
2199
|
+
description: "Data array provided by the trait via render-ui"
|
|
2200
|
+
},
|
|
2201
|
+
className: {
|
|
2202
|
+
types: [
|
|
2203
|
+
"string"
|
|
2204
|
+
],
|
|
2205
|
+
description: "Additional CSS classes"
|
|
2206
|
+
},
|
|
2207
|
+
isLoading: {
|
|
2208
|
+
types: [
|
|
2209
|
+
"boolean"
|
|
2210
|
+
],
|
|
2211
|
+
description: "Loading state indicator"
|
|
2212
|
+
},
|
|
2213
|
+
error: {
|
|
2214
|
+
types: [
|
|
2215
|
+
"object"
|
|
2216
|
+
],
|
|
2217
|
+
description: "Error state"
|
|
2218
|
+
},
|
|
2219
|
+
sortBy: {
|
|
2220
|
+
types: [
|
|
2221
|
+
"string"
|
|
2222
|
+
],
|
|
2223
|
+
description: "Current sort field"
|
|
2224
|
+
},
|
|
2225
|
+
sortDirection: {
|
|
2226
|
+
types: [
|
|
2227
|
+
"string"
|
|
2228
|
+
],
|
|
2229
|
+
description: "Current sort direction"
|
|
2230
|
+
},
|
|
2231
|
+
searchValue: {
|
|
2232
|
+
types: [
|
|
2233
|
+
"string"
|
|
2234
|
+
],
|
|
2235
|
+
description: "Current search query value"
|
|
2236
|
+
},
|
|
2237
|
+
page: {
|
|
2238
|
+
types: [
|
|
2239
|
+
"number"
|
|
2240
|
+
],
|
|
2241
|
+
description: "Current page number"
|
|
2242
|
+
},
|
|
2243
|
+
pageSize: {
|
|
2244
|
+
types: [
|
|
2245
|
+
"number"
|
|
2246
|
+
],
|
|
2247
|
+
description: "Number of items per page"
|
|
2248
|
+
},
|
|
2249
|
+
totalCount: {
|
|
2250
|
+
types: [
|
|
2251
|
+
"number"
|
|
2252
|
+
],
|
|
2253
|
+
description: "Total number of items"
|
|
2254
|
+
},
|
|
2255
|
+
activeFilters: {
|
|
2256
|
+
types: [
|
|
2257
|
+
"object"
|
|
2258
|
+
],
|
|
2259
|
+
description: "Active filters"
|
|
2260
|
+
},
|
|
2261
|
+
selectedIds: {
|
|
2262
|
+
types: [
|
|
2263
|
+
"array"
|
|
2264
|
+
],
|
|
2265
|
+
description: "Currently selected item IDs"
|
|
2266
|
+
},
|
|
2171
2267
|
columns: {
|
|
2172
2268
|
types: [
|
|
2173
2269
|
"number"
|
|
@@ -2186,12 +2282,6 @@ var patterns_registry_default = {
|
|
|
2186
2282
|
],
|
|
2187
2283
|
description: "Cell definitions",
|
|
2188
2284
|
required: true
|
|
2189
|
-
},
|
|
2190
|
-
className: {
|
|
2191
|
-
types: [
|
|
2192
|
-
"string"
|
|
2193
|
-
],
|
|
2194
|
-
description: "Additional CSS classes"
|
|
2195
2285
|
}
|
|
2196
2286
|
}
|
|
2197
2287
|
},
|
|
@@ -3391,6 +3481,12 @@ var patterns_registry_default = {
|
|
|
3391
3481
|
"badgesize"
|
|
3392
3482
|
],
|
|
3393
3483
|
description: "size prop"
|
|
3484
|
+
},
|
|
3485
|
+
amount: {
|
|
3486
|
+
types: [
|
|
3487
|
+
"number"
|
|
3488
|
+
],
|
|
3489
|
+
description: "Numeric count or amount to display in badge"
|
|
3394
3490
|
}
|
|
3395
3491
|
}
|
|
3396
3492
|
},
|
|
@@ -3599,6 +3695,30 @@ var patterns_registry_default = {
|
|
|
3599
3695
|
"string"
|
|
3600
3696
|
],
|
|
3601
3697
|
description: "Declarative event name \u2014 emits UI:{action} via eventBus on card click"
|
|
3698
|
+
},
|
|
3699
|
+
isSelected: {
|
|
3700
|
+
types: [
|
|
3701
|
+
"boolean"
|
|
3702
|
+
],
|
|
3703
|
+
description: "Whether the card is selected (highlighted state)"
|
|
3704
|
+
},
|
|
3705
|
+
name: {
|
|
3706
|
+
types: [
|
|
3707
|
+
"string"
|
|
3708
|
+
],
|
|
3709
|
+
description: "Card name (alias for title)"
|
|
3710
|
+
},
|
|
3711
|
+
level: {
|
|
3712
|
+
types: [
|
|
3713
|
+
"number"
|
|
3714
|
+
],
|
|
3715
|
+
description: "Level indicator"
|
|
3716
|
+
},
|
|
3717
|
+
maxLevel: {
|
|
3718
|
+
types: [
|
|
3719
|
+
"number"
|
|
3720
|
+
],
|
|
3721
|
+
description: "Maximum level"
|
|
3602
3722
|
}
|
|
3603
3723
|
}
|
|
3604
3724
|
},
|
|
@@ -7373,6 +7493,19 @@ var patterns_registry_default = {
|
|
|
7373
7493
|
],
|
|
7374
7494
|
typicalSize: "full",
|
|
7375
7495
|
propsSchema: {
|
|
7496
|
+
entity: {
|
|
7497
|
+
types: [
|
|
7498
|
+
"object"
|
|
7499
|
+
],
|
|
7500
|
+
description: "Entity data, the sole source of runtime state",
|
|
7501
|
+
required: true
|
|
7502
|
+
},
|
|
7503
|
+
className: {
|
|
7504
|
+
types: [
|
|
7505
|
+
"string"
|
|
7506
|
+
],
|
|
7507
|
+
description: "External styling override"
|
|
7508
|
+
},
|
|
7376
7509
|
onIncrement: {
|
|
7377
7510
|
types: [
|
|
7378
7511
|
"function"
|
|
@@ -7475,6 +7608,12 @@ var patterns_registry_default = {
|
|
|
7475
7608
|
"function"
|
|
7476
7609
|
],
|
|
7477
7610
|
description: "Callback when user clicks sign out (optional - uses auth context signOut if not provided)"
|
|
7611
|
+
},
|
|
7612
|
+
children: {
|
|
7613
|
+
types: [
|
|
7614
|
+
"node"
|
|
7615
|
+
],
|
|
7616
|
+
description: "Page content rendered inside the main area"
|
|
7478
7617
|
}
|
|
7479
7618
|
}
|
|
7480
7619
|
},
|
|
@@ -7489,6 +7628,19 @@ var patterns_registry_default = {
|
|
|
7489
7628
|
],
|
|
7490
7629
|
typicalSize: "full",
|
|
7491
7630
|
propsSchema: {
|
|
7631
|
+
entity: {
|
|
7632
|
+
types: [
|
|
7633
|
+
"object"
|
|
7634
|
+
],
|
|
7635
|
+
description: "Entity data, the sole source of runtime state",
|
|
7636
|
+
required: true
|
|
7637
|
+
},
|
|
7638
|
+
className: {
|
|
7639
|
+
types: [
|
|
7640
|
+
"string"
|
|
7641
|
+
],
|
|
7642
|
+
description: "Additional class name"
|
|
7643
|
+
},
|
|
7492
7644
|
title: {
|
|
7493
7645
|
types: [
|
|
7494
7646
|
"string"
|
|
@@ -7525,12 +7677,6 @@ var patterns_registry_default = {
|
|
|
7525
7677
|
"object"
|
|
7526
7678
|
],
|
|
7527
7679
|
description: "Game controls"
|
|
7528
|
-
},
|
|
7529
|
-
className: {
|
|
7530
|
-
types: [
|
|
7531
|
-
"string"
|
|
7532
|
-
],
|
|
7533
|
-
description: "Additional class name"
|
|
7534
7680
|
}
|
|
7535
7681
|
}
|
|
7536
7682
|
},
|
|
@@ -7546,6 +7692,19 @@ var patterns_registry_default = {
|
|
|
7546
7692
|
],
|
|
7547
7693
|
typicalSize: "full",
|
|
7548
7694
|
propsSchema: {
|
|
7695
|
+
entity: {
|
|
7696
|
+
types: [
|
|
7697
|
+
"object"
|
|
7698
|
+
],
|
|
7699
|
+
description: "Entity data, the sole source of runtime state",
|
|
7700
|
+
required: true
|
|
7701
|
+
},
|
|
7702
|
+
className: {
|
|
7703
|
+
types: [
|
|
7704
|
+
"string"
|
|
7705
|
+
],
|
|
7706
|
+
description: "Additional class name"
|
|
7707
|
+
},
|
|
7549
7708
|
title: {
|
|
7550
7709
|
types: [
|
|
7551
7710
|
"string"
|
|
@@ -7577,12 +7736,6 @@ var patterns_registry_default = {
|
|
|
7577
7736
|
"node"
|
|
7578
7737
|
],
|
|
7579
7738
|
description: "Footer content"
|
|
7580
|
-
},
|
|
7581
|
-
className: {
|
|
7582
|
-
types: [
|
|
7583
|
-
"string"
|
|
7584
|
-
],
|
|
7585
|
-
description: "Additional class name"
|
|
7586
7739
|
}
|
|
7587
7740
|
}
|
|
7588
7741
|
},
|
|
@@ -7620,6 +7773,12 @@ var patterns_registry_default = {
|
|
|
7620
7773
|
"boolean"
|
|
7621
7774
|
],
|
|
7622
7775
|
description: "Whether to show the minimal top bar (default: true)"
|
|
7776
|
+
},
|
|
7777
|
+
children: {
|
|
7778
|
+
types: [
|
|
7779
|
+
"node"
|
|
7780
|
+
],
|
|
7781
|
+
description: "Game content rendered inside the full-screen area"
|
|
7623
7782
|
}
|
|
7624
7783
|
}
|
|
7625
7784
|
},
|
|
@@ -8629,11 +8788,23 @@ var patterns_registry_default = {
|
|
|
8629
8788
|
],
|
|
8630
8789
|
typicalSize: "large",
|
|
8631
8790
|
propsSchema: {
|
|
8791
|
+
entity: {
|
|
8792
|
+
types: [
|
|
8793
|
+
"string"
|
|
8794
|
+
],
|
|
8795
|
+
description: "Entity name for schema-driven integration"
|
|
8796
|
+
},
|
|
8797
|
+
data: {
|
|
8798
|
+
types: [
|
|
8799
|
+
"array"
|
|
8800
|
+
],
|
|
8801
|
+
description: "Data array provided by the trait via render-ui"
|
|
8802
|
+
},
|
|
8632
8803
|
className: {
|
|
8633
8804
|
types: [
|
|
8634
8805
|
"string"
|
|
8635
8806
|
],
|
|
8636
|
-
description: "
|
|
8807
|
+
description: "Additional CSS classes"
|
|
8637
8808
|
},
|
|
8638
8809
|
isLoading: {
|
|
8639
8810
|
types: [
|
|
@@ -8643,21 +8814,63 @@ var patterns_registry_default = {
|
|
|
8643
8814
|
},
|
|
8644
8815
|
error: {
|
|
8645
8816
|
types: [
|
|
8646
|
-
"
|
|
8817
|
+
"object"
|
|
8647
8818
|
],
|
|
8648
8819
|
description: "Error state"
|
|
8649
8820
|
},
|
|
8650
|
-
|
|
8821
|
+
sortBy: {
|
|
8651
8822
|
types: [
|
|
8652
8823
|
"string"
|
|
8653
8824
|
],
|
|
8654
|
-
description: "
|
|
8825
|
+
description: "Current sort field"
|
|
8826
|
+
},
|
|
8827
|
+
sortDirection: {
|
|
8828
|
+
types: [
|
|
8829
|
+
"string"
|
|
8830
|
+
],
|
|
8831
|
+
description: "Current sort direction"
|
|
8832
|
+
},
|
|
8833
|
+
searchValue: {
|
|
8834
|
+
types: [
|
|
8835
|
+
"string"
|
|
8836
|
+
],
|
|
8837
|
+
description: "Current search query value"
|
|
8838
|
+
},
|
|
8839
|
+
page: {
|
|
8840
|
+
types: [
|
|
8841
|
+
"number"
|
|
8842
|
+
],
|
|
8843
|
+
description: "Current page number"
|
|
8844
|
+
},
|
|
8845
|
+
pageSize: {
|
|
8846
|
+
types: [
|
|
8847
|
+
"number"
|
|
8848
|
+
],
|
|
8849
|
+
description: "Number of items per page"
|
|
8850
|
+
},
|
|
8851
|
+
totalCount: {
|
|
8852
|
+
types: [
|
|
8853
|
+
"number"
|
|
8854
|
+
],
|
|
8855
|
+
description: "Total number of items"
|
|
8856
|
+
},
|
|
8857
|
+
activeFilters: {
|
|
8858
|
+
types: [
|
|
8859
|
+
"object"
|
|
8860
|
+
],
|
|
8861
|
+
description: "Active filters"
|
|
8862
|
+
},
|
|
8863
|
+
selectedIds: {
|
|
8864
|
+
types: [
|
|
8865
|
+
"array"
|
|
8866
|
+
],
|
|
8867
|
+
description: "Currently selected item IDs"
|
|
8655
8868
|
},
|
|
8656
8869
|
tiles: {
|
|
8657
8870
|
types: [
|
|
8658
8871
|
"array"
|
|
8659
8872
|
],
|
|
8660
|
-
description: "
|
|
8873
|
+
description: "EntityDisplayProps provides: className, isLoading, error, entity,"
|
|
8661
8874
|
},
|
|
8662
8875
|
units: {
|
|
8663
8876
|
types: [
|
|
@@ -8699,25 +8912,25 @@ var patterns_registry_default = {
|
|
|
8699
8912
|
types: [
|
|
8700
8913
|
"function"
|
|
8701
8914
|
],
|
|
8702
|
-
description: "--- Event handlers ---"
|
|
8915
|
+
description: "--- Event handlers (legacy callbacks \u2014 prefer declarative event string props below) ---"
|
|
8703
8916
|
},
|
|
8704
8917
|
onUnitClick: {
|
|
8705
8918
|
types: [
|
|
8706
8919
|
"function"
|
|
8707
8920
|
],
|
|
8708
|
-
description: "
|
|
8921
|
+
description: "eslint-disable-next-line almadar/organism-no-callback-props"
|
|
8709
8922
|
},
|
|
8710
8923
|
onTileHover: {
|
|
8711
8924
|
types: [
|
|
8712
8925
|
"function"
|
|
8713
8926
|
],
|
|
8714
|
-
description: "
|
|
8927
|
+
description: "eslint-disable-next-line almadar/organism-no-callback-props"
|
|
8715
8928
|
},
|
|
8716
8929
|
onTileLeave: {
|
|
8717
8930
|
types: [
|
|
8718
8931
|
"function"
|
|
8719
8932
|
],
|
|
8720
|
-
description: "
|
|
8933
|
+
description: "eslint-disable-next-line almadar/organism-no-callback-props"
|
|
8721
8934
|
},
|
|
8722
8935
|
tileClickEvent: {
|
|
8723
8936
|
types: [
|
|
@@ -8779,6 +8992,18 @@ var patterns_registry_default = {
|
|
|
8779
8992
|
],
|
|
8780
8993
|
description: "Extra scale multiplier for unit draw size. 1 = default."
|
|
8781
8994
|
},
|
|
8995
|
+
boardWidth: {
|
|
8996
|
+
types: [
|
|
8997
|
+
"number"
|
|
8998
|
+
],
|
|
8999
|
+
description: "Board width in tiles (overrides tile-derived size)"
|
|
9000
|
+
},
|
|
9001
|
+
boardHeight: {
|
|
9002
|
+
types: [
|
|
9003
|
+
"number"
|
|
9004
|
+
],
|
|
9005
|
+
description: "Board height in tiles (overrides tile-derived size)"
|
|
9006
|
+
},
|
|
8782
9007
|
diamondTopY: {
|
|
8783
9008
|
types: [
|
|
8784
9009
|
"number"
|
|
@@ -8819,7 +9044,7 @@ var patterns_registry_default = {
|
|
|
8819
9044
|
types: [
|
|
8820
9045
|
"function"
|
|
8821
9046
|
],
|
|
8822
|
-
description: "Callback to draw canvas effects after units"
|
|
9047
|
+
description: "Callback to draw canvas effects after units (canvas-specific: cannot be declarative)"
|
|
8823
9048
|
},
|
|
8824
9049
|
hasActiveEffects: {
|
|
8825
9050
|
types: [
|
|
@@ -8852,13 +9077,26 @@ var patterns_registry_default = {
|
|
|
8852
9077
|
],
|
|
8853
9078
|
typicalSize: "full",
|
|
8854
9079
|
propsSchema: {
|
|
8855
|
-
|
|
9080
|
+
entity: {
|
|
8856
9081
|
types: [
|
|
8857
|
-
"
|
|
9082
|
+
"object"
|
|
8858
9083
|
],
|
|
8859
|
-
description: "
|
|
9084
|
+
description: "Entity data, the sole source of runtime state",
|
|
9085
|
+
required: true
|
|
8860
9086
|
},
|
|
8861
|
-
|
|
9087
|
+
className: {
|
|
9088
|
+
types: [
|
|
9089
|
+
"string"
|
|
9090
|
+
],
|
|
9091
|
+
description: "External styling override"
|
|
9092
|
+
},
|
|
9093
|
+
scale: {
|
|
9094
|
+
types: [
|
|
9095
|
+
"number"
|
|
9096
|
+
],
|
|
9097
|
+
description: "Canvas render scale"
|
|
9098
|
+
},
|
|
9099
|
+
unitScale: {
|
|
8862
9100
|
types: [
|
|
8863
9101
|
"number"
|
|
8864
9102
|
],
|
|
@@ -8877,6 +9115,19 @@ var patterns_registry_default = {
|
|
|
8877
9115
|
],
|
|
8878
9116
|
typicalSize: "full",
|
|
8879
9117
|
propsSchema: {
|
|
9118
|
+
entity: {
|
|
9119
|
+
types: [
|
|
9120
|
+
"object"
|
|
9121
|
+
],
|
|
9122
|
+
description: "Entity data, the sole source of runtime state",
|
|
9123
|
+
required: true
|
|
9124
|
+
},
|
|
9125
|
+
className: {
|
|
9126
|
+
types: [
|
|
9127
|
+
"string"
|
|
9128
|
+
],
|
|
9129
|
+
description: "External styling override"
|
|
9130
|
+
},
|
|
8880
9131
|
scale: {
|
|
8881
9132
|
types: [
|
|
8882
9133
|
"number"
|
|
@@ -8897,6 +9148,19 @@ var patterns_registry_default = {
|
|
|
8897
9148
|
],
|
|
8898
9149
|
typicalSize: "full",
|
|
8899
9150
|
propsSchema: {
|
|
9151
|
+
entity: {
|
|
9152
|
+
types: [
|
|
9153
|
+
"object"
|
|
9154
|
+
],
|
|
9155
|
+
description: "Entity data, the sole source of runtime state",
|
|
9156
|
+
required: true
|
|
9157
|
+
},
|
|
9158
|
+
className: {
|
|
9159
|
+
types: [
|
|
9160
|
+
"string"
|
|
9161
|
+
],
|
|
9162
|
+
description: "External styling override"
|
|
9163
|
+
},
|
|
8900
9164
|
scale: {
|
|
8901
9165
|
types: [
|
|
8902
9166
|
"number"
|
|
@@ -9458,10 +9722,81 @@ var patterns_registry_default = {
|
|
|
9458
9722
|
propsSchema: {
|
|
9459
9723
|
entity: {
|
|
9460
9724
|
types: [
|
|
9461
|
-
"
|
|
9725
|
+
"string"
|
|
9462
9726
|
],
|
|
9463
|
-
description: "
|
|
9464
|
-
|
|
9727
|
+
description: "Entity name for schema-driven integration"
|
|
9728
|
+
},
|
|
9729
|
+
data: {
|
|
9730
|
+
types: [
|
|
9731
|
+
"array"
|
|
9732
|
+
],
|
|
9733
|
+
description: "Data array provided by the trait via render-ui"
|
|
9734
|
+
},
|
|
9735
|
+
className: {
|
|
9736
|
+
types: [
|
|
9737
|
+
"string"
|
|
9738
|
+
],
|
|
9739
|
+
description: "className prop"
|
|
9740
|
+
},
|
|
9741
|
+
isLoading: {
|
|
9742
|
+
types: [
|
|
9743
|
+
"boolean"
|
|
9744
|
+
],
|
|
9745
|
+
description: "Loading state indicator"
|
|
9746
|
+
},
|
|
9747
|
+
error: {
|
|
9748
|
+
types: [
|
|
9749
|
+
"object"
|
|
9750
|
+
],
|
|
9751
|
+
description: "Error state"
|
|
9752
|
+
},
|
|
9753
|
+
sortBy: {
|
|
9754
|
+
types: [
|
|
9755
|
+
"string"
|
|
9756
|
+
],
|
|
9757
|
+
description: "Current sort field"
|
|
9758
|
+
},
|
|
9759
|
+
sortDirection: {
|
|
9760
|
+
types: [
|
|
9761
|
+
"string"
|
|
9762
|
+
],
|
|
9763
|
+
description: "Current sort direction"
|
|
9764
|
+
},
|
|
9765
|
+
searchValue: {
|
|
9766
|
+
types: [
|
|
9767
|
+
"string"
|
|
9768
|
+
],
|
|
9769
|
+
description: "Current search query value"
|
|
9770
|
+
},
|
|
9771
|
+
page: {
|
|
9772
|
+
types: [
|
|
9773
|
+
"number"
|
|
9774
|
+
],
|
|
9775
|
+
description: "Current page number"
|
|
9776
|
+
},
|
|
9777
|
+
pageSize: {
|
|
9778
|
+
types: [
|
|
9779
|
+
"number"
|
|
9780
|
+
],
|
|
9781
|
+
description: "Number of items per page"
|
|
9782
|
+
},
|
|
9783
|
+
totalCount: {
|
|
9784
|
+
types: [
|
|
9785
|
+
"number"
|
|
9786
|
+
],
|
|
9787
|
+
description: "Total number of items"
|
|
9788
|
+
},
|
|
9789
|
+
activeFilters: {
|
|
9790
|
+
types: [
|
|
9791
|
+
"object"
|
|
9792
|
+
],
|
|
9793
|
+
description: "Active filters"
|
|
9794
|
+
},
|
|
9795
|
+
selectedIds: {
|
|
9796
|
+
types: [
|
|
9797
|
+
"array"
|
|
9798
|
+
],
|
|
9799
|
+
description: "Currently selected item IDs"
|
|
9465
9800
|
},
|
|
9466
9801
|
scale: {
|
|
9467
9802
|
types: [
|
|
@@ -9588,12 +9923,6 @@ var patterns_registry_default = {
|
|
|
9588
9923
|
"function"
|
|
9589
9924
|
],
|
|
9590
9925
|
description: "resolveUnitFrame prop"
|
|
9591
|
-
},
|
|
9592
|
-
className: {
|
|
9593
|
-
types: [
|
|
9594
|
-
"string"
|
|
9595
|
-
],
|
|
9596
|
-
description: "className prop"
|
|
9597
9926
|
}
|
|
9598
9927
|
}
|
|
9599
9928
|
},
|
|
@@ -10343,6 +10672,19 @@ var patterns_registry_default = {
|
|
|
10343
10672
|
],
|
|
10344
10673
|
typicalSize: "full",
|
|
10345
10674
|
propsSchema: {
|
|
10675
|
+
entity: {
|
|
10676
|
+
types: [
|
|
10677
|
+
"object"
|
|
10678
|
+
],
|
|
10679
|
+
description: "Entity data, the sole source of runtime state",
|
|
10680
|
+
required: true
|
|
10681
|
+
},
|
|
10682
|
+
className: {
|
|
10683
|
+
types: [
|
|
10684
|
+
"string"
|
|
10685
|
+
],
|
|
10686
|
+
description: "External styling override"
|
|
10687
|
+
},
|
|
10346
10688
|
cameraMode: {
|
|
10347
10689
|
types: [
|
|
10348
10690
|
"string"
|
|
@@ -10442,6 +10784,19 @@ var patterns_registry_default = {
|
|
|
10442
10784
|
],
|
|
10443
10785
|
typicalSize: "full",
|
|
10444
10786
|
propsSchema: {
|
|
10787
|
+
entity: {
|
|
10788
|
+
types: [
|
|
10789
|
+
"object"
|
|
10790
|
+
],
|
|
10791
|
+
description: "Entity data, the sole source of runtime state",
|
|
10792
|
+
required: true
|
|
10793
|
+
},
|
|
10794
|
+
className: {
|
|
10795
|
+
types: [
|
|
10796
|
+
"string"
|
|
10797
|
+
],
|
|
10798
|
+
description: "External styling override"
|
|
10799
|
+
},
|
|
10445
10800
|
cameraMode: {
|
|
10446
10801
|
types: [
|
|
10447
10802
|
"string"
|
|
@@ -10536,6 +10891,19 @@ var patterns_registry_default = {
|
|
|
10536
10891
|
],
|
|
10537
10892
|
typicalSize: "full",
|
|
10538
10893
|
propsSchema: {
|
|
10894
|
+
entity: {
|
|
10895
|
+
types: [
|
|
10896
|
+
"object"
|
|
10897
|
+
],
|
|
10898
|
+
description: "Entity data, the sole source of runtime state",
|
|
10899
|
+
required: true
|
|
10900
|
+
},
|
|
10901
|
+
className: {
|
|
10902
|
+
types: [
|
|
10903
|
+
"string"
|
|
10904
|
+
],
|
|
10905
|
+
description: "External styling override"
|
|
10906
|
+
},
|
|
10539
10907
|
cameraMode: {
|
|
10540
10908
|
types: [
|
|
10541
10909
|
"string"
|
|
@@ -13955,7 +14323,7 @@ var integrators_registry_default = {
|
|
|
13955
14323
|
// src/component-mapping.json
|
|
13956
14324
|
var component_mapping_default = {
|
|
13957
14325
|
version: "1.0.0",
|
|
13958
|
-
exportedAt: "2026-03-
|
|
14326
|
+
exportedAt: "2026-03-06T07:07:47.853Z",
|
|
13959
14327
|
mappings: {
|
|
13960
14328
|
"page-header": {
|
|
13961
14329
|
component: "PageHeader",
|
|
@@ -14911,7 +15279,7 @@ var component_mapping_default = {
|
|
|
14911
15279
|
// src/event-contracts.json
|
|
14912
15280
|
var event_contracts_default = {
|
|
14913
15281
|
version: "1.0.0",
|
|
14914
|
-
exportedAt: "2026-03-
|
|
15282
|
+
exportedAt: "2026-03-06T07:07:47.853Z",
|
|
14915
15283
|
contracts: {
|
|
14916
15284
|
form: {
|
|
14917
15285
|
emits: [
|
|
@@ -15073,13 +15441,6 @@ var event_contracts_default = {
|
|
|
15073
15441
|
type: "object"
|
|
15074
15442
|
}
|
|
15075
15443
|
},
|
|
15076
|
-
{
|
|
15077
|
-
event: "VIEW",
|
|
15078
|
-
trigger: "action",
|
|
15079
|
-
payload: {
|
|
15080
|
-
type: "object"
|
|
15081
|
-
}
|
|
15082
|
-
},
|
|
15083
15444
|
{
|
|
15084
15445
|
event: "NAVIGATE",
|
|
15085
15446
|
trigger: "action",
|
|
@@ -15114,13 +15475,6 @@ var event_contracts_default = {
|
|
|
15114
15475
|
payload: {
|
|
15115
15476
|
type: "object"
|
|
15116
15477
|
}
|
|
15117
|
-
},
|
|
15118
|
-
{
|
|
15119
|
-
event: "VIEW",
|
|
15120
|
-
trigger: "action",
|
|
15121
|
-
payload: {
|
|
15122
|
-
type: "object"
|
|
15123
|
-
}
|
|
15124
15478
|
}
|
|
15125
15479
|
],
|
|
15126
15480
|
requires: [],
|
|
@@ -15450,7 +15804,7 @@ var event_contracts_default = {
|
|
|
15450
15804
|
"dashboard-grid": {
|
|
15451
15805
|
emits: [],
|
|
15452
15806
|
requires: [],
|
|
15453
|
-
entityAware:
|
|
15807
|
+
entityAware: true
|
|
15454
15808
|
},
|
|
15455
15809
|
stats: {
|
|
15456
15810
|
emits: [],
|
|
@@ -15538,19 +15892,25 @@ var event_contracts_default = {
|
|
|
15538
15892
|
"dialogue-box": {
|
|
15539
15893
|
emits: [
|
|
15540
15894
|
{
|
|
15541
|
-
event: "
|
|
15542
|
-
trigger: "
|
|
15895
|
+
event: "COMPLETE",
|
|
15896
|
+
trigger: "action",
|
|
15543
15897
|
payload: {
|
|
15544
|
-
type: "
|
|
15898
|
+
type: "object"
|
|
15545
15899
|
}
|
|
15546
15900
|
},
|
|
15547
15901
|
{
|
|
15548
|
-
event: "
|
|
15549
|
-
trigger: "
|
|
15902
|
+
event: "CHOICE",
|
|
15903
|
+
trigger: "action",
|
|
15550
15904
|
payload: {
|
|
15551
|
-
type: "
|
|
15552
|
-
}
|
|
15553
|
-
|
|
15905
|
+
type: "object"
|
|
15906
|
+
}
|
|
15907
|
+
},
|
|
15908
|
+
{
|
|
15909
|
+
event: "ADVANCE",
|
|
15910
|
+
trigger: "action",
|
|
15911
|
+
payload: {
|
|
15912
|
+
type: "object"
|
|
15913
|
+
}
|
|
15554
15914
|
}
|
|
15555
15915
|
],
|
|
15556
15916
|
requires: [],
|
|
@@ -15992,6 +16352,127 @@ var event_contracts_default = {
|
|
|
15992
16352
|
],
|
|
15993
16353
|
requires: [],
|
|
15994
16354
|
entityAware: true
|
|
16355
|
+
},
|
|
16356
|
+
"action-buttons": {
|
|
16357
|
+
emits: [
|
|
16358
|
+
{
|
|
16359
|
+
event: "ACTION",
|
|
16360
|
+
trigger: "action",
|
|
16361
|
+
payload: {
|
|
16362
|
+
type: "object"
|
|
16363
|
+
}
|
|
16364
|
+
}
|
|
16365
|
+
],
|
|
16366
|
+
requires: [],
|
|
16367
|
+
entityAware: false
|
|
16368
|
+
},
|
|
16369
|
+
"d-pad": {
|
|
16370
|
+
emits: [
|
|
16371
|
+
{
|
|
16372
|
+
event: "DIRECTION",
|
|
16373
|
+
trigger: "action",
|
|
16374
|
+
payload: {
|
|
16375
|
+
type: "object"
|
|
16376
|
+
}
|
|
16377
|
+
}
|
|
16378
|
+
],
|
|
16379
|
+
requires: [],
|
|
16380
|
+
entityAware: false
|
|
16381
|
+
},
|
|
16382
|
+
"isometric-canvas": {
|
|
16383
|
+
emits: [
|
|
16384
|
+
{
|
|
16385
|
+
event: "TILE_CLICK",
|
|
16386
|
+
trigger: "action",
|
|
16387
|
+
payload: {
|
|
16388
|
+
type: "object"
|
|
16389
|
+
}
|
|
16390
|
+
},
|
|
16391
|
+
{
|
|
16392
|
+
event: "UNIT_CLICK",
|
|
16393
|
+
trigger: "action",
|
|
16394
|
+
payload: {
|
|
16395
|
+
type: "object"
|
|
16396
|
+
}
|
|
16397
|
+
},
|
|
16398
|
+
{
|
|
16399
|
+
event: "TILE_HOVER",
|
|
16400
|
+
trigger: "action",
|
|
16401
|
+
payload: {
|
|
16402
|
+
type: "object"
|
|
16403
|
+
}
|
|
16404
|
+
},
|
|
16405
|
+
{
|
|
16406
|
+
event: "TILE_LEAVE",
|
|
16407
|
+
trigger: "action",
|
|
16408
|
+
payload: {
|
|
16409
|
+
type: "object"
|
|
16410
|
+
}
|
|
16411
|
+
}
|
|
16412
|
+
],
|
|
16413
|
+
requires: [],
|
|
16414
|
+
entityAware: true
|
|
16415
|
+
},
|
|
16416
|
+
"trait-slot": {
|
|
16417
|
+
emits: [
|
|
16418
|
+
{
|
|
16419
|
+
event: "CLICK",
|
|
16420
|
+
trigger: "action",
|
|
16421
|
+
payload: {
|
|
16422
|
+
type: "object"
|
|
16423
|
+
}
|
|
16424
|
+
},
|
|
16425
|
+
{
|
|
16426
|
+
event: "REMOVE",
|
|
16427
|
+
trigger: "action",
|
|
16428
|
+
payload: {
|
|
16429
|
+
type: "object"
|
|
16430
|
+
}
|
|
16431
|
+
}
|
|
16432
|
+
],
|
|
16433
|
+
requires: [],
|
|
16434
|
+
entityAware: true
|
|
16435
|
+
},
|
|
16436
|
+
"world-map-board": {
|
|
16437
|
+
emits: [
|
|
16438
|
+
{
|
|
16439
|
+
event: "HERO_SELECT",
|
|
16440
|
+
trigger: "action",
|
|
16441
|
+
payload: {
|
|
16442
|
+
type: "object"
|
|
16443
|
+
}
|
|
16444
|
+
},
|
|
16445
|
+
{
|
|
16446
|
+
event: "HERO_MOVE",
|
|
16447
|
+
trigger: "action",
|
|
16448
|
+
payload: {
|
|
16449
|
+
type: "object"
|
|
16450
|
+
}
|
|
16451
|
+
},
|
|
16452
|
+
{
|
|
16453
|
+
event: "BATTLE_ENCOUNTER",
|
|
16454
|
+
trigger: "action",
|
|
16455
|
+
payload: {
|
|
16456
|
+
type: "object"
|
|
16457
|
+
}
|
|
16458
|
+
},
|
|
16459
|
+
{
|
|
16460
|
+
event: "FEATURE_ENTER",
|
|
16461
|
+
trigger: "action",
|
|
16462
|
+
payload: {
|
|
16463
|
+
type: "object"
|
|
16464
|
+
}
|
|
16465
|
+
},
|
|
16466
|
+
{
|
|
16467
|
+
event: "TILE_CLICK",
|
|
16468
|
+
trigger: "action",
|
|
16469
|
+
payload: {
|
|
16470
|
+
type: "object"
|
|
16471
|
+
}
|
|
16472
|
+
}
|
|
16473
|
+
],
|
|
16474
|
+
requires: [],
|
|
16475
|
+
entityAware: true
|
|
15995
16476
|
}
|
|
15996
16477
|
}
|
|
15997
16478
|
};
|