@almadar/core 10.111.0 → 10.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builders.d.ts +4 -4
- package/dist/builders.js +79 -9
- package/dist/builders.js.map +1 -1
- package/dist/{bus-DS-GzSrs.d.ts → bus-CJ7jZVcV.d.ts} +3 -1
- package/dist/{domain-Bf6sf9NR.d.ts → domain-CkvF0zvD.d.ts} +1863 -44
- package/dist/{effect-BD47AL48.d.ts → effect-BLZKE5PN.d.ts} +51 -3
- package/dist/{entityAccess-Dc6o3AYo.d.ts → entityAccess-utY3tRcQ.d.ts} +2 -2
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +1238 -72
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +4 -4
- package/dist/factory-runtime/index.js +79 -9
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/fixtures.d.ts +2 -2
- package/dist/fixtures.js.map +1 -1
- package/dist/i18n/index.js +37 -4
- package/dist/i18n/index.js.map +1 -1
- package/dist/{index-DgD_3g5F.d.ts → index-BiHNP9jd.d.ts} +14 -7
- package/dist/index.d.ts +68 -17
- package/dist/index.js +17878 -5337
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +5 -5
- package/dist/mock/index.js +12 -6
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -8
- package/dist/patterns/index.d.ts +2496 -185
- package/dist/patterns/index.js +1249 -83
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +1239 -73
- package/dist/patterns/registry.json +1239 -73
- package/dist/{schema-B3GE83sz.d.ts → schema-BJGPvTln.d.ts} +3208 -283
- package/dist/themes/index.d.ts +1 -1
- package/dist/themes/index.js +16232 -4971
- package/dist/themes/index.js.map +1 -1
- package/dist/{trait-BNxIGRUF.d.ts → trait-DlZMxzEB.d.ts} +61 -53
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.js +86 -10
- package/dist/types/index.js.map +1 -1
- package/dist/{types-5IX1FGgd.d.ts → types-7d7mtx4j.d.ts} +2 -2
- package/fixtures/theme-tokens/every-key.json +2 -1
- package/package.json +2 -2
- package/themes/almadar-website.json +11 -2
- package/themes/almadar.json +20 -6
- package/themes/aqua.json +422 -0
- package/themes/arabesque.json +514 -0
- package/themes/art-deco.json +342 -0
- package/themes/art-nouveau.json +342 -0
- package/themes/atelier.json +47 -189
- package/themes/bauhaus.json +332 -0
- package/themes/bloomberg-dense.json +73 -215
- package/themes/blueprint.json +332 -0
- package/themes/clay.json +57 -190
- package/themes/comic.json +110 -147
- package/themes/constructivist.json +342 -0
- package/themes/corporate.json +66 -199
- package/themes/cyberpunk.json +420 -0
- package/themes/frutiger-aero.json +424 -0
- package/themes/game-adventure.json +48 -22
- package/themes/game-rpg.json +50 -23
- package/themes/game-sci-fi.json +49 -22
- package/themes/game-ui-pack.json +41 -18
- package/themes/gazette.json +54 -196
- package/themes/glass.json +82 -203
- package/themes/gothic.json +331 -0
- package/themes/ink-wash.json +514 -0
- package/themes/kawaii.json +514 -0
- package/themes/kiosk.json +74 -202
- package/themes/linear-clean.json +71 -204
- package/themes/luxury.json +324 -0
- package/themes/mac-classic.json +332 -0
- package/themes/material.json +330 -0
- package/themes/memphis.json +339 -0
- package/themes/mid-century.json +340 -0
- package/themes/minimalist.json +64 -206
- package/themes/mudcloth.json +514 -0
- package/themes/neon.json +55 -214
- package/themes/neumorphic.json +324 -0
- package/themes/newsprint.json +332 -0
- package/themes/notion-editorial.json +55 -188
- package/themes/pixel.json +323 -0
- package/themes/prism.json +70 -71
- package/themes/retro.json +129 -166
- package/themes/risograph.json +327 -0
- package/themes/scandi.json +514 -0
- package/themes/sketch.json +332 -0
- package/themes/solarpunk.json +514 -0
- package/themes/steampunk.json +329 -0
- package/themes/swiss.json +340 -0
- package/themes/terminal.json +89 -157
- package/themes/trait-wars.json +146 -185
- package/themes/ukiyo-e.json +514 -0
- package/themes/vaporwave.json +422 -0
- package/themes/victorian.json +339 -0
- package/themes/wabi-sabi.json +514 -0
- package/themes/win95.json +326 -0
- package/themes/wireframe.json +48 -181
- package/themes/zine.json +332 -0
package/dist/factory/index.js
CHANGED
|
@@ -1272,6 +1272,28 @@ var patterns_registry_default = {
|
|
|
1272
1272
|
"boolean"
|
|
1273
1273
|
]
|
|
1274
1274
|
},
|
|
1275
|
+
align: {
|
|
1276
|
+
types: [
|
|
1277
|
+
"string"
|
|
1278
|
+
],
|
|
1279
|
+
enumValues: [
|
|
1280
|
+
"left",
|
|
1281
|
+
"center",
|
|
1282
|
+
"right"
|
|
1283
|
+
]
|
|
1284
|
+
},
|
|
1285
|
+
format: {
|
|
1286
|
+
types: [
|
|
1287
|
+
"string"
|
|
1288
|
+
],
|
|
1289
|
+
enumValues: [
|
|
1290
|
+
"date",
|
|
1291
|
+
"currency",
|
|
1292
|
+
"number",
|
|
1293
|
+
"boolean",
|
|
1294
|
+
"percent"
|
|
1295
|
+
]
|
|
1296
|
+
},
|
|
1275
1297
|
render: {
|
|
1276
1298
|
types: [
|
|
1277
1299
|
"function"
|
|
@@ -1320,6 +1342,28 @@ var patterns_registry_default = {
|
|
|
1320
1342
|
"boolean"
|
|
1321
1343
|
]
|
|
1322
1344
|
},
|
|
1345
|
+
align: {
|
|
1346
|
+
types: [
|
|
1347
|
+
"string"
|
|
1348
|
+
],
|
|
1349
|
+
enumValues: [
|
|
1350
|
+
"left",
|
|
1351
|
+
"center",
|
|
1352
|
+
"right"
|
|
1353
|
+
]
|
|
1354
|
+
},
|
|
1355
|
+
format: {
|
|
1356
|
+
types: [
|
|
1357
|
+
"string"
|
|
1358
|
+
],
|
|
1359
|
+
enumValues: [
|
|
1360
|
+
"date",
|
|
1361
|
+
"currency",
|
|
1362
|
+
"number",
|
|
1363
|
+
"boolean",
|
|
1364
|
+
"percent"
|
|
1365
|
+
]
|
|
1366
|
+
},
|
|
1323
1367
|
render: {
|
|
1324
1368
|
types: [
|
|
1325
1369
|
"function"
|
|
@@ -1328,6 +1372,26 @@ var patterns_registry_default = {
|
|
|
1328
1372
|
}
|
|
1329
1373
|
}
|
|
1330
1374
|
},
|
|
1375
|
+
itemClickEvent: {
|
|
1376
|
+
types: [
|
|
1377
|
+
"string"
|
|
1378
|
+
],
|
|
1379
|
+
description: "When set, rows are activatable and emit UI:{itemClickEvent} with { id, row }",
|
|
1380
|
+
kind: "event-ref",
|
|
1381
|
+
entityRowField: "row",
|
|
1382
|
+
emitPayloadSchema: [
|
|
1383
|
+
{
|
|
1384
|
+
name: "id",
|
|
1385
|
+
type: "string",
|
|
1386
|
+
required: true
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
name: "row",
|
|
1390
|
+
type: "@entity",
|
|
1391
|
+
required: true
|
|
1392
|
+
}
|
|
1393
|
+
]
|
|
1394
|
+
},
|
|
1331
1395
|
itemActions: {
|
|
1332
1396
|
types: [
|
|
1333
1397
|
"array"
|
|
@@ -1376,6 +1440,12 @@ var patterns_registry_default = {
|
|
|
1376
1440
|
types: [
|
|
1377
1441
|
"function"
|
|
1378
1442
|
]
|
|
1443
|
+
},
|
|
1444
|
+
when: {
|
|
1445
|
+
types: [
|
|
1446
|
+
"sexpr",
|
|
1447
|
+
"function"
|
|
1448
|
+
]
|
|
1379
1449
|
}
|
|
1380
1450
|
},
|
|
1381
1451
|
required: [
|
|
@@ -1491,6 +1561,12 @@ var patterns_registry_default = {
|
|
|
1491
1561
|
"string"
|
|
1492
1562
|
],
|
|
1493
1563
|
kind: "event"
|
|
1564
|
+
},
|
|
1565
|
+
when: {
|
|
1566
|
+
types: [
|
|
1567
|
+
"sexpr",
|
|
1568
|
+
"function"
|
|
1569
|
+
]
|
|
1494
1570
|
}
|
|
1495
1571
|
},
|
|
1496
1572
|
required: [
|
|
@@ -1807,10 +1883,22 @@ var patterns_registry_default = {
|
|
|
1807
1883
|
"default"
|
|
1808
1884
|
]
|
|
1809
1885
|
},
|
|
1886
|
+
icon: {
|
|
1887
|
+
types: [
|
|
1888
|
+
"icon",
|
|
1889
|
+
"string"
|
|
1890
|
+
]
|
|
1891
|
+
},
|
|
1810
1892
|
onClick: {
|
|
1811
1893
|
types: [
|
|
1812
1894
|
"function"
|
|
1813
1895
|
]
|
|
1896
|
+
},
|
|
1897
|
+
when: {
|
|
1898
|
+
types: [
|
|
1899
|
+
"sexpr",
|
|
1900
|
+
"function"
|
|
1901
|
+
]
|
|
1814
1902
|
}
|
|
1815
1903
|
},
|
|
1816
1904
|
required: [
|
|
@@ -1957,7 +2045,7 @@ var patterns_registry_default = {
|
|
|
1957
2045
|
types: [
|
|
1958
2046
|
"array"
|
|
1959
2047
|
],
|
|
1960
|
-
description: "Fields to display
|
|
2048
|
+
description: "Fields to display: field names, or declared fields ({ name, label, variant, format, colorMap, labels })",
|
|
1961
2049
|
required: true,
|
|
1962
2050
|
items: {
|
|
1963
2051
|
types: [
|
|
@@ -1965,27 +2053,84 @@ var patterns_registry_default = {
|
|
|
1965
2053
|
"object"
|
|
1966
2054
|
],
|
|
1967
2055
|
properties: {
|
|
1968
|
-
|
|
2056
|
+
name: {
|
|
1969
2057
|
types: [
|
|
1970
2058
|
"string"
|
|
1971
2059
|
]
|
|
1972
2060
|
},
|
|
1973
|
-
|
|
2061
|
+
label: {
|
|
1974
2062
|
types: [
|
|
1975
2063
|
"string"
|
|
1976
2064
|
]
|
|
1977
2065
|
},
|
|
1978
|
-
|
|
2066
|
+
icon: {
|
|
2067
|
+
types: [
|
|
2068
|
+
"icon",
|
|
2069
|
+
"string"
|
|
2070
|
+
]
|
|
2071
|
+
},
|
|
2072
|
+
variant: {
|
|
1979
2073
|
types: [
|
|
1980
2074
|
"string"
|
|
2075
|
+
],
|
|
2076
|
+
enumValues: [
|
|
2077
|
+
"h3",
|
|
2078
|
+
"h4",
|
|
2079
|
+
"body",
|
|
2080
|
+
"caption",
|
|
2081
|
+
"badge",
|
|
2082
|
+
"small",
|
|
2083
|
+
"progress"
|
|
1981
2084
|
]
|
|
1982
2085
|
},
|
|
1983
|
-
|
|
2086
|
+
format: {
|
|
1984
2087
|
types: [
|
|
1985
2088
|
"string"
|
|
2089
|
+
],
|
|
2090
|
+
enumValues: [
|
|
2091
|
+
"date",
|
|
2092
|
+
"currency",
|
|
2093
|
+
"number",
|
|
2094
|
+
"boolean",
|
|
2095
|
+
"percent"
|
|
1986
2096
|
]
|
|
2097
|
+
},
|
|
2098
|
+
colorMap: {
|
|
2099
|
+
types: [
|
|
2100
|
+
"object"
|
|
2101
|
+
],
|
|
2102
|
+
mapValue: {
|
|
2103
|
+
types: [
|
|
2104
|
+
"string"
|
|
2105
|
+
],
|
|
2106
|
+
enumValues: [
|
|
2107
|
+
"default",
|
|
2108
|
+
"primary",
|
|
2109
|
+
"secondary",
|
|
2110
|
+
"success",
|
|
2111
|
+
"warning",
|
|
2112
|
+
"danger",
|
|
2113
|
+
"error",
|
|
2114
|
+
"info",
|
|
2115
|
+
"neutral",
|
|
2116
|
+
"destructive"
|
|
2117
|
+
]
|
|
2118
|
+
}
|
|
2119
|
+
},
|
|
2120
|
+
labels: {
|
|
2121
|
+
types: [
|
|
2122
|
+
"object"
|
|
2123
|
+
],
|
|
2124
|
+
mapValue: {
|
|
2125
|
+
types: [
|
|
2126
|
+
"string"
|
|
2127
|
+
]
|
|
2128
|
+
}
|
|
1987
2129
|
}
|
|
1988
|
-
}
|
|
2130
|
+
},
|
|
2131
|
+
required: [
|
|
2132
|
+
"name"
|
|
2133
|
+
]
|
|
1989
2134
|
}
|
|
1990
2135
|
},
|
|
1991
2136
|
fieldNames: {
|
|
@@ -1998,6 +2143,38 @@ var patterns_registry_default = {
|
|
|
1998
2143
|
"string"
|
|
1999
2144
|
]
|
|
2000
2145
|
}
|
|
2146
|
+
},
|
|
2147
|
+
itemClickEvent: {
|
|
2148
|
+
types: [
|
|
2149
|
+
"string"
|
|
2150
|
+
],
|
|
2151
|
+
description: "When set, clicking a row emits UI:{itemClickEvent} with { id, row }. Omit = rows are not clickable.",
|
|
2152
|
+
kind: "event-ref",
|
|
2153
|
+
entityRowField: "row",
|
|
2154
|
+
emitPayloadSchema: [
|
|
2155
|
+
{
|
|
2156
|
+
name: "id",
|
|
2157
|
+
type: "string",
|
|
2158
|
+
required: true
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
name: "row",
|
|
2162
|
+
type: "@entity",
|
|
2163
|
+
required: true
|
|
2164
|
+
}
|
|
2165
|
+
]
|
|
2166
|
+
},
|
|
2167
|
+
completedField: {
|
|
2168
|
+
types: [
|
|
2169
|
+
"string"
|
|
2170
|
+
],
|
|
2171
|
+
description: "Row field that marks an item completed (`true` strikes its title through)"
|
|
2172
|
+
},
|
|
2173
|
+
disabledField: {
|
|
2174
|
+
types: [
|
|
2175
|
+
"string"
|
|
2176
|
+
],
|
|
2177
|
+
description: "Row field that marks an item disabled (`true` dims the row and disables its click)"
|
|
2001
2178
|
}
|
|
2002
2179
|
}
|
|
2003
2180
|
},
|
|
@@ -2198,27 +2375,84 @@ var patterns_registry_default = {
|
|
|
2198
2375
|
"object"
|
|
2199
2376
|
],
|
|
2200
2377
|
properties: {
|
|
2201
|
-
|
|
2378
|
+
name: {
|
|
2202
2379
|
types: [
|
|
2203
2380
|
"string"
|
|
2204
2381
|
]
|
|
2205
2382
|
},
|
|
2206
|
-
|
|
2383
|
+
label: {
|
|
2207
2384
|
types: [
|
|
2208
2385
|
"string"
|
|
2209
2386
|
]
|
|
2210
2387
|
},
|
|
2211
|
-
|
|
2388
|
+
icon: {
|
|
2212
2389
|
types: [
|
|
2390
|
+
"icon",
|
|
2213
2391
|
"string"
|
|
2214
2392
|
]
|
|
2215
2393
|
},
|
|
2216
|
-
|
|
2394
|
+
variant: {
|
|
2217
2395
|
types: [
|
|
2218
2396
|
"string"
|
|
2397
|
+
],
|
|
2398
|
+
enumValues: [
|
|
2399
|
+
"h3",
|
|
2400
|
+
"h4",
|
|
2401
|
+
"body",
|
|
2402
|
+
"caption",
|
|
2403
|
+
"badge",
|
|
2404
|
+
"small",
|
|
2405
|
+
"progress"
|
|
2219
2406
|
]
|
|
2407
|
+
},
|
|
2408
|
+
format: {
|
|
2409
|
+
types: [
|
|
2410
|
+
"string"
|
|
2411
|
+
],
|
|
2412
|
+
enumValues: [
|
|
2413
|
+
"date",
|
|
2414
|
+
"currency",
|
|
2415
|
+
"number",
|
|
2416
|
+
"boolean",
|
|
2417
|
+
"percent"
|
|
2418
|
+
]
|
|
2419
|
+
},
|
|
2420
|
+
colorMap: {
|
|
2421
|
+
types: [
|
|
2422
|
+
"object"
|
|
2423
|
+
],
|
|
2424
|
+
mapValue: {
|
|
2425
|
+
types: [
|
|
2426
|
+
"string"
|
|
2427
|
+
],
|
|
2428
|
+
enumValues: [
|
|
2429
|
+
"default",
|
|
2430
|
+
"primary",
|
|
2431
|
+
"secondary",
|
|
2432
|
+
"success",
|
|
2433
|
+
"warning",
|
|
2434
|
+
"danger",
|
|
2435
|
+
"error",
|
|
2436
|
+
"info",
|
|
2437
|
+
"neutral",
|
|
2438
|
+
"destructive"
|
|
2439
|
+
]
|
|
2440
|
+
}
|
|
2441
|
+
},
|
|
2442
|
+
labels: {
|
|
2443
|
+
types: [
|
|
2444
|
+
"object"
|
|
2445
|
+
],
|
|
2446
|
+
mapValue: {
|
|
2447
|
+
types: [
|
|
2448
|
+
"string"
|
|
2449
|
+
]
|
|
2450
|
+
}
|
|
2220
2451
|
}
|
|
2221
|
-
}
|
|
2452
|
+
},
|
|
2453
|
+
required: [
|
|
2454
|
+
"name"
|
|
2455
|
+
]
|
|
2222
2456
|
}
|
|
2223
2457
|
},
|
|
2224
2458
|
fieldNames: {
|
|
@@ -2243,29 +2477,106 @@ var patterns_registry_default = {
|
|
|
2243
2477
|
"object"
|
|
2244
2478
|
],
|
|
2245
2479
|
properties: {
|
|
2246
|
-
|
|
2480
|
+
name: {
|
|
2247
2481
|
types: [
|
|
2248
2482
|
"string"
|
|
2249
2483
|
]
|
|
2250
2484
|
},
|
|
2251
|
-
|
|
2485
|
+
label: {
|
|
2252
2486
|
types: [
|
|
2253
2487
|
"string"
|
|
2254
2488
|
]
|
|
2255
2489
|
},
|
|
2256
|
-
|
|
2490
|
+
icon: {
|
|
2257
2491
|
types: [
|
|
2492
|
+
"icon",
|
|
2258
2493
|
"string"
|
|
2259
2494
|
]
|
|
2260
2495
|
},
|
|
2261
|
-
|
|
2496
|
+
variant: {
|
|
2262
2497
|
types: [
|
|
2263
2498
|
"string"
|
|
2499
|
+
],
|
|
2500
|
+
enumValues: [
|
|
2501
|
+
"h3",
|
|
2502
|
+
"h4",
|
|
2503
|
+
"body",
|
|
2504
|
+
"caption",
|
|
2505
|
+
"badge",
|
|
2506
|
+
"small",
|
|
2507
|
+
"progress"
|
|
2508
|
+
]
|
|
2509
|
+
},
|
|
2510
|
+
format: {
|
|
2511
|
+
types: [
|
|
2512
|
+
"string"
|
|
2513
|
+
],
|
|
2514
|
+
enumValues: [
|
|
2515
|
+
"date",
|
|
2516
|
+
"currency",
|
|
2517
|
+
"number",
|
|
2518
|
+
"boolean",
|
|
2519
|
+
"percent"
|
|
2264
2520
|
]
|
|
2521
|
+
},
|
|
2522
|
+
colorMap: {
|
|
2523
|
+
types: [
|
|
2524
|
+
"object"
|
|
2525
|
+
],
|
|
2526
|
+
mapValue: {
|
|
2527
|
+
types: [
|
|
2528
|
+
"string"
|
|
2529
|
+
],
|
|
2530
|
+
enumValues: [
|
|
2531
|
+
"default",
|
|
2532
|
+
"primary",
|
|
2533
|
+
"secondary",
|
|
2534
|
+
"success",
|
|
2535
|
+
"warning",
|
|
2536
|
+
"danger",
|
|
2537
|
+
"error",
|
|
2538
|
+
"info",
|
|
2539
|
+
"neutral",
|
|
2540
|
+
"destructive"
|
|
2541
|
+
]
|
|
2542
|
+
}
|
|
2543
|
+
},
|
|
2544
|
+
labels: {
|
|
2545
|
+
types: [
|
|
2546
|
+
"object"
|
|
2547
|
+
],
|
|
2548
|
+
mapValue: {
|
|
2549
|
+
types: [
|
|
2550
|
+
"string"
|
|
2551
|
+
]
|
|
2552
|
+
}
|
|
2265
2553
|
}
|
|
2266
|
-
}
|
|
2554
|
+
},
|
|
2555
|
+
required: [
|
|
2556
|
+
"name"
|
|
2557
|
+
]
|
|
2267
2558
|
}
|
|
2268
2559
|
},
|
|
2560
|
+
itemClickEvent: {
|
|
2561
|
+
types: [
|
|
2562
|
+
"string"
|
|
2563
|
+
],
|
|
2564
|
+
description: "When set, clicking a card emits UI:{itemClickEvent} with { id, row }. Omit = cards are not clickable.",
|
|
2565
|
+
kind: "event-ref",
|
|
2566
|
+
entityRowField: "row",
|
|
2567
|
+
emitPayloadSchema: [
|
|
2568
|
+
{
|
|
2569
|
+
name: "id",
|
|
2570
|
+
type: "string",
|
|
2571
|
+
required: true
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
name: "row",
|
|
2575
|
+
type: "@entity",
|
|
2576
|
+
required: true
|
|
2577
|
+
}
|
|
2578
|
+
]
|
|
2579
|
+
},
|
|
2269
2580
|
itemActions: {
|
|
2270
2581
|
types: [
|
|
2271
2582
|
"array"
|
|
@@ -2308,6 +2619,12 @@ var patterns_registry_default = {
|
|
|
2308
2619
|
types: [
|
|
2309
2620
|
"string"
|
|
2310
2621
|
]
|
|
2622
|
+
},
|
|
2623
|
+
when: {
|
|
2624
|
+
types: [
|
|
2625
|
+
"sexpr",
|
|
2626
|
+
"function"
|
|
2627
|
+
]
|
|
2311
2628
|
}
|
|
2312
2629
|
},
|
|
2313
2630
|
required: [
|
|
@@ -2645,6 +2962,12 @@ var patterns_registry_default = {
|
|
|
2645
2962
|
"ghost",
|
|
2646
2963
|
"danger"
|
|
2647
2964
|
]
|
|
2965
|
+
},
|
|
2966
|
+
when: {
|
|
2967
|
+
types: [
|
|
2968
|
+
"sexpr",
|
|
2969
|
+
"function"
|
|
2970
|
+
]
|
|
2648
2971
|
}
|
|
2649
2972
|
},
|
|
2650
2973
|
required: [
|
|
@@ -2702,12 +3025,25 @@ var patterns_registry_default = {
|
|
|
2702
3025
|
"ghost",
|
|
2703
3026
|
"danger"
|
|
2704
3027
|
]
|
|
3028
|
+
},
|
|
3029
|
+
when: {
|
|
3030
|
+
types: [
|
|
3031
|
+
"sexpr",
|
|
3032
|
+
"function"
|
|
3033
|
+
]
|
|
2705
3034
|
}
|
|
2706
3035
|
},
|
|
2707
3036
|
propertyRequired: [
|
|
2708
3037
|
"label"
|
|
2709
3038
|
]
|
|
2710
3039
|
},
|
|
3040
|
+
closeEvent: {
|
|
3041
|
+
types: [
|
|
3042
|
+
"string"
|
|
3043
|
+
],
|
|
3044
|
+
description: "The event of the declared action that dismisses the panel. The matching action renders as the header close \xD7; omitted, no \xD7 is drawn.",
|
|
3045
|
+
kind: "event"
|
|
3046
|
+
},
|
|
2711
3047
|
footer: {
|
|
2712
3048
|
types: [
|
|
2713
3049
|
"node"
|
|
@@ -2725,7 +3061,7 @@ var patterns_registry_default = {
|
|
|
2725
3061
|
types: [
|
|
2726
3062
|
"array"
|
|
2727
3063
|
],
|
|
2728
|
-
description: "Fields to display
|
|
3064
|
+
description: "Fields to display: field names, or declared fields ({ name, label, variant, format, colorMap, labels })",
|
|
2729
3065
|
required: true,
|
|
2730
3066
|
items: {
|
|
2731
3067
|
types: [
|
|
@@ -2733,16 +3069,80 @@ var patterns_registry_default = {
|
|
|
2733
3069
|
"object"
|
|
2734
3070
|
],
|
|
2735
3071
|
properties: {
|
|
2736
|
-
|
|
3072
|
+
name: {
|
|
2737
3073
|
types: [
|
|
2738
3074
|
"string"
|
|
2739
3075
|
]
|
|
2740
3076
|
},
|
|
2741
|
-
|
|
3077
|
+
label: {
|
|
3078
|
+
types: [
|
|
3079
|
+
"string"
|
|
3080
|
+
]
|
|
3081
|
+
},
|
|
3082
|
+
icon: {
|
|
3083
|
+
types: [
|
|
3084
|
+
"icon",
|
|
3085
|
+
"string"
|
|
3086
|
+
]
|
|
3087
|
+
},
|
|
3088
|
+
variant: {
|
|
2742
3089
|
types: [
|
|
2743
3090
|
"string"
|
|
3091
|
+
],
|
|
3092
|
+
enumValues: [
|
|
3093
|
+
"h3",
|
|
3094
|
+
"h4",
|
|
3095
|
+
"body",
|
|
3096
|
+
"caption",
|
|
3097
|
+
"badge",
|
|
3098
|
+
"small",
|
|
3099
|
+
"progress"
|
|
2744
3100
|
]
|
|
2745
3101
|
},
|
|
3102
|
+
format: {
|
|
3103
|
+
types: [
|
|
3104
|
+
"string"
|
|
3105
|
+
],
|
|
3106
|
+
enumValues: [
|
|
3107
|
+
"date",
|
|
3108
|
+
"currency",
|
|
3109
|
+
"number",
|
|
3110
|
+
"boolean",
|
|
3111
|
+
"percent"
|
|
3112
|
+
]
|
|
3113
|
+
},
|
|
3114
|
+
colorMap: {
|
|
3115
|
+
types: [
|
|
3116
|
+
"object"
|
|
3117
|
+
],
|
|
3118
|
+
mapValue: {
|
|
3119
|
+
types: [
|
|
3120
|
+
"string"
|
|
3121
|
+
],
|
|
3122
|
+
enumValues: [
|
|
3123
|
+
"default",
|
|
3124
|
+
"primary",
|
|
3125
|
+
"secondary",
|
|
3126
|
+
"success",
|
|
3127
|
+
"warning",
|
|
3128
|
+
"danger",
|
|
3129
|
+
"error",
|
|
3130
|
+
"info",
|
|
3131
|
+
"neutral",
|
|
3132
|
+
"destructive"
|
|
3133
|
+
]
|
|
3134
|
+
}
|
|
3135
|
+
},
|
|
3136
|
+
labels: {
|
|
3137
|
+
types: [
|
|
3138
|
+
"object"
|
|
3139
|
+
],
|
|
3140
|
+
mapValue: {
|
|
3141
|
+
types: [
|
|
3142
|
+
"string"
|
|
3143
|
+
]
|
|
3144
|
+
}
|
|
3145
|
+
},
|
|
2746
3146
|
type: {
|
|
2747
3147
|
types: [
|
|
2748
3148
|
"string"
|
|
@@ -2787,7 +3187,7 @@ var patterns_registry_default = {
|
|
|
2787
3187
|
}
|
|
2788
3188
|
},
|
|
2789
3189
|
required: [
|
|
2790
|
-
"
|
|
3190
|
+
"name"
|
|
2791
3191
|
]
|
|
2792
3192
|
}
|
|
2793
3193
|
},
|
|
@@ -2915,6 +3315,13 @@ var patterns_registry_default = {
|
|
|
2915
3315
|
],
|
|
2916
3316
|
description: "Page title - accepts string or number from generated code accessing dynamic entity data"
|
|
2917
3317
|
},
|
|
3318
|
+
icon: {
|
|
3319
|
+
types: [
|
|
3320
|
+
"icon",
|
|
3321
|
+
"string"
|
|
3322
|
+
],
|
|
3323
|
+
description: "Icon shown before the title."
|
|
3324
|
+
},
|
|
2918
3325
|
subtitle: {
|
|
2919
3326
|
types: [
|
|
2920
3327
|
"string",
|
|
@@ -3327,6 +3734,16 @@ var patterns_registry_default = {
|
|
|
3327
3734
|
]
|
|
3328
3735
|
}
|
|
3329
3736
|
},
|
|
3737
|
+
labels: {
|
|
3738
|
+
types: [
|
|
3739
|
+
"object"
|
|
3740
|
+
],
|
|
3741
|
+
mapValue: {
|
|
3742
|
+
types: [
|
|
3743
|
+
"string"
|
|
3744
|
+
]
|
|
3745
|
+
}
|
|
3746
|
+
},
|
|
3330
3747
|
relation: {
|
|
3331
3748
|
types: [
|
|
3332
3749
|
"object"
|
|
@@ -3885,6 +4302,16 @@ var patterns_registry_default = {
|
|
|
3885
4302
|
]
|
|
3886
4303
|
}
|
|
3887
4304
|
},
|
|
4305
|
+
labels: {
|
|
4306
|
+
types: [
|
|
4307
|
+
"object"
|
|
4308
|
+
],
|
|
4309
|
+
mapValue: {
|
|
4310
|
+
types: [
|
|
4311
|
+
"string"
|
|
4312
|
+
]
|
|
4313
|
+
}
|
|
4314
|
+
},
|
|
3888
4315
|
relation: {
|
|
3889
4316
|
types: [
|
|
3890
4317
|
"object"
|
|
@@ -4244,6 +4671,16 @@ var patterns_registry_default = {
|
|
|
4244
4671
|
]
|
|
4245
4672
|
}
|
|
4246
4673
|
},
|
|
4674
|
+
labels: {
|
|
4675
|
+
types: [
|
|
4676
|
+
"object"
|
|
4677
|
+
],
|
|
4678
|
+
mapValue: {
|
|
4679
|
+
types: [
|
|
4680
|
+
"string"
|
|
4681
|
+
]
|
|
4682
|
+
}
|
|
4683
|
+
},
|
|
4247
4684
|
relation: {
|
|
4248
4685
|
types: [
|
|
4249
4686
|
"object"
|
|
@@ -4802,6 +5239,16 @@ var patterns_registry_default = {
|
|
|
4802
5239
|
]
|
|
4803
5240
|
}
|
|
4804
5241
|
},
|
|
5242
|
+
labels: {
|
|
5243
|
+
types: [
|
|
5244
|
+
"object"
|
|
5245
|
+
],
|
|
5246
|
+
mapValue: {
|
|
5247
|
+
types: [
|
|
5248
|
+
"string"
|
|
5249
|
+
]
|
|
5250
|
+
}
|
|
5251
|
+
},
|
|
4805
5252
|
relation: {
|
|
4806
5253
|
types: [
|
|
4807
5254
|
"object"
|
|
@@ -5002,6 +5449,7 @@ var patterns_registry_default = {
|
|
|
5002
5449
|
tier: "molecules",
|
|
5003
5450
|
family: "core",
|
|
5004
5451
|
description: "Search input with events",
|
|
5452
|
+
minUsableWidth: 160,
|
|
5005
5453
|
suggestedFor: [
|
|
5006
5454
|
"search functionality",
|
|
5007
5455
|
"quick filters"
|
|
@@ -7513,6 +7961,13 @@ var patterns_registry_default = {
|
|
|
7513
7961
|
"full-screen"
|
|
7514
7962
|
],
|
|
7515
7963
|
default: "centered-card"
|
|
7964
|
+
},
|
|
7965
|
+
contained: {
|
|
7966
|
+
types: [
|
|
7967
|
+
"boolean"
|
|
7968
|
+
],
|
|
7969
|
+
description: "Render inside the nearest positioned ancestor (a preview frame) instead of portaling over the whole window; page scroll is left alone.",
|
|
7970
|
+
default: false
|
|
7516
7971
|
}
|
|
7517
7972
|
}
|
|
7518
7973
|
},
|
|
@@ -7537,6 +7992,21 @@ var patterns_registry_default = {
|
|
|
7537
7992
|
description: "Whether the drawer is open (defaults to true when rendered by slot wrapper)",
|
|
7538
7993
|
default: true
|
|
7539
7994
|
},
|
|
7995
|
+
onExited: {
|
|
7996
|
+
types: [
|
|
7997
|
+
"function"
|
|
7998
|
+
],
|
|
7999
|
+
description: "Fires after the exit animation completes (the drawer is about to unmount).",
|
|
8000
|
+
kind: "callback",
|
|
8001
|
+
callbackArgs: []
|
|
8002
|
+
},
|
|
8003
|
+
contained: {
|
|
8004
|
+
types: [
|
|
8005
|
+
"boolean"
|
|
8006
|
+
],
|
|
8007
|
+
description: "Render inside the nearest positioned ancestor (a preview frame) instead of over the window.",
|
|
8008
|
+
default: false
|
|
8009
|
+
},
|
|
7540
8010
|
onClose: {
|
|
7541
8011
|
types: [
|
|
7542
8012
|
"function"
|
|
@@ -7646,6 +8116,14 @@ var patterns_registry_default = {
|
|
|
7646
8116
|
kind: "callback",
|
|
7647
8117
|
callbackArgs: []
|
|
7648
8118
|
},
|
|
8119
|
+
onExited: {
|
|
8120
|
+
types: [
|
|
8121
|
+
"function"
|
|
8122
|
+
],
|
|
8123
|
+
description: "Fires after the exit animation completes (the dialog is about to unmount).",
|
|
8124
|
+
kind: "callback",
|
|
8125
|
+
callbackArgs: []
|
|
8126
|
+
},
|
|
7649
8127
|
onConfirm: {
|
|
7650
8128
|
types: [
|
|
7651
8129
|
"function"
|
|
@@ -10330,6 +10808,13 @@ var patterns_registry_default = {
|
|
|
10330
10808
|
],
|
|
10331
10809
|
description: "actions prop"
|
|
10332
10810
|
},
|
|
10811
|
+
icon: {
|
|
10812
|
+
types: [
|
|
10813
|
+
"icon",
|
|
10814
|
+
"string"
|
|
10815
|
+
],
|
|
10816
|
+
description: "Icon shown instead of the variant's default (Lucide name or component)"
|
|
10817
|
+
},
|
|
10333
10818
|
className: {
|
|
10334
10819
|
types: [
|
|
10335
10820
|
"string"
|
|
@@ -10535,6 +11020,15 @@ var patterns_registry_default = {
|
|
|
10535
11020
|
"object"
|
|
10536
11021
|
],
|
|
10537
11022
|
properties: {
|
|
11023
|
+
type: {
|
|
11024
|
+
types: [
|
|
11025
|
+
"string"
|
|
11026
|
+
],
|
|
11027
|
+
enumValues: [
|
|
11028
|
+
"item",
|
|
11029
|
+
"divider"
|
|
11030
|
+
]
|
|
11031
|
+
},
|
|
10538
11032
|
id: {
|
|
10539
11033
|
types: [
|
|
10540
11034
|
"string"
|
|
@@ -11562,6 +12056,12 @@ var patterns_registry_default = {
|
|
|
11562
12056
|
],
|
|
11563
12057
|
description: "Role for accessibility"
|
|
11564
12058
|
},
|
|
12059
|
+
id: {
|
|
12060
|
+
types: [
|
|
12061
|
+
"string"
|
|
12062
|
+
],
|
|
12063
|
+
description: "Element id"
|
|
12064
|
+
},
|
|
11565
12065
|
tabIndex: {
|
|
11566
12066
|
types: [
|
|
11567
12067
|
"number"
|
|
@@ -11899,6 +12399,12 @@ var patterns_registry_default = {
|
|
|
11899
12399
|
]
|
|
11900
12400
|
}
|
|
11901
12401
|
},
|
|
12402
|
+
role: {
|
|
12403
|
+
types: [
|
|
12404
|
+
"string"
|
|
12405
|
+
],
|
|
12406
|
+
description: "Accessibility role"
|
|
12407
|
+
},
|
|
11902
12408
|
format: {
|
|
11903
12409
|
types: [
|
|
11904
12410
|
"string"
|
|
@@ -14510,8 +15016,7 @@ var patterns_registry_default = {
|
|
|
14510
15016
|
types: [
|
|
14511
15017
|
"string"
|
|
14512
15018
|
],
|
|
14513
|
-
description: "App name"
|
|
14514
|
-
default: "My App"
|
|
15019
|
+
description: "App name"
|
|
14515
15020
|
},
|
|
14516
15021
|
logo: {
|
|
14517
15022
|
types: [
|
|
@@ -14658,8 +15163,7 @@ var patterns_registry_default = {
|
|
|
14658
15163
|
types: [
|
|
14659
15164
|
"string"
|
|
14660
15165
|
],
|
|
14661
|
-
description: "Title displayed above the counter"
|
|
14662
|
-
default: "Counter"
|
|
15166
|
+
description: "Title displayed above the counter"
|
|
14663
15167
|
},
|
|
14664
15168
|
showReset: {
|
|
14665
15169
|
types: [
|
|
@@ -14711,8 +15215,7 @@ var patterns_registry_default = {
|
|
|
14711
15215
|
types: [
|
|
14712
15216
|
"string"
|
|
14713
15217
|
],
|
|
14714
|
-
description: "App name shown in sidebar"
|
|
14715
|
-
default: "{{APP_TITLE}}"
|
|
15218
|
+
description: "App name shown in sidebar"
|
|
14716
15219
|
},
|
|
14717
15220
|
logo: {
|
|
14718
15221
|
types: [
|
|
@@ -15087,8 +15590,7 @@ var patterns_registry_default = {
|
|
|
15087
15590
|
types: [
|
|
15088
15591
|
"string"
|
|
15089
15592
|
],
|
|
15090
|
-
description: "Application / game title shown as a floating chip"
|
|
15091
|
-
default: "Game"
|
|
15593
|
+
description: "Application / game title shown as a floating chip"
|
|
15092
15594
|
},
|
|
15093
15595
|
hud: {
|
|
15094
15596
|
types: [
|
|
@@ -15592,6 +16094,19 @@ var patterns_registry_default = {
|
|
|
15592
16094
|
description: 'Format X-axis labels as time (ISO date in \u2192 "Mar 2026"-style label out)',
|
|
15593
16095
|
default: false
|
|
15594
16096
|
},
|
|
16097
|
+
period: {
|
|
16098
|
+
types: [
|
|
16099
|
+
"string"
|
|
16100
|
+
],
|
|
16101
|
+
description: 'Bucket granularity of a time axis \u2014 labels read "Oct 2", "Week of Sep 28", "Oct 2026", "Q4 2026" or "2026"',
|
|
16102
|
+
enumValues: [
|
|
16103
|
+
"day",
|
|
16104
|
+
"week",
|
|
16105
|
+
"month",
|
|
16106
|
+
"quarter",
|
|
16107
|
+
"year"
|
|
16108
|
+
]
|
|
16109
|
+
},
|
|
15595
16110
|
drillEvent: {
|
|
15596
16111
|
types: [
|
|
15597
16112
|
"string"
|
|
@@ -16038,14 +16553,37 @@ var patterns_registry_default = {
|
|
|
16038
16553
|
types: [
|
|
16039
16554
|
"array"
|
|
16040
16555
|
],
|
|
16041
|
-
description: "
|
|
16042
|
-
required: true,
|
|
16556
|
+
description: "Entity fields the timeline draws; each slot is named by its own `*Field` prop.",
|
|
16043
16557
|
items: {
|
|
16044
16558
|
types: [
|
|
16045
16559
|
"string"
|
|
16046
16560
|
]
|
|
16047
16561
|
}
|
|
16048
16562
|
},
|
|
16563
|
+
titleField: {
|
|
16564
|
+
types: [
|
|
16565
|
+
"string"
|
|
16566
|
+
],
|
|
16567
|
+
description: "Entity field holding each item's title."
|
|
16568
|
+
},
|
|
16569
|
+
descriptionField: {
|
|
16570
|
+
types: [
|
|
16571
|
+
"string"
|
|
16572
|
+
],
|
|
16573
|
+
description: "Entity field holding each item's description."
|
|
16574
|
+
},
|
|
16575
|
+
dateField: {
|
|
16576
|
+
types: [
|
|
16577
|
+
"string"
|
|
16578
|
+
],
|
|
16579
|
+
description: "Entity field holding each item's date."
|
|
16580
|
+
},
|
|
16581
|
+
statusField: {
|
|
16582
|
+
types: [
|
|
16583
|
+
"string"
|
|
16584
|
+
],
|
|
16585
|
+
description: "Entity field holding each item's status (complete | active | pending | error)."
|
|
16586
|
+
},
|
|
16049
16587
|
itemActions: {
|
|
16050
16588
|
types: [
|
|
16051
16589
|
"array"
|
|
@@ -16414,6 +16952,20 @@ var patterns_registry_default = {
|
|
|
16414
16952
|
"portrait"
|
|
16415
16953
|
],
|
|
16416
16954
|
default: "square"
|
|
16955
|
+
},
|
|
16956
|
+
srcField: {
|
|
16957
|
+
types: [
|
|
16958
|
+
"string"
|
|
16959
|
+
],
|
|
16960
|
+
description: "Record field holding each image's URL (entity mode). Default `src`.",
|
|
16961
|
+
default: "src"
|
|
16962
|
+
},
|
|
16963
|
+
captionField: {
|
|
16964
|
+
types: [
|
|
16965
|
+
"string"
|
|
16966
|
+
],
|
|
16967
|
+
description: "Record field holding each image's caption (entity mode). Default `caption`.",
|
|
16968
|
+
default: "caption"
|
|
16417
16969
|
}
|
|
16418
16970
|
}
|
|
16419
16971
|
},
|
|
@@ -18919,6 +19471,52 @@ var patterns_registry_default = {
|
|
|
18919
19471
|
}
|
|
18920
19472
|
]
|
|
18921
19473
|
},
|
|
19474
|
+
onTransitionClick: {
|
|
19475
|
+
types: [
|
|
19476
|
+
"function"
|
|
19477
|
+
],
|
|
19478
|
+
description: "Direct transition-click callback, for React hosts (e.g. a canvas node).",
|
|
19479
|
+
kind: "callback",
|
|
19480
|
+
callbackArgs: [
|
|
19481
|
+
{
|
|
19482
|
+
name: "transition",
|
|
19483
|
+
type: "object",
|
|
19484
|
+
schema: {
|
|
19485
|
+
types: [
|
|
19486
|
+
"object"
|
|
19487
|
+
],
|
|
19488
|
+
properties: {
|
|
19489
|
+
index: {
|
|
19490
|
+
types: [
|
|
19491
|
+
"number"
|
|
19492
|
+
]
|
|
19493
|
+
},
|
|
19494
|
+
event: {
|
|
19495
|
+
types: [
|
|
19496
|
+
"string"
|
|
19497
|
+
]
|
|
19498
|
+
},
|
|
19499
|
+
from: {
|
|
19500
|
+
types: [
|
|
19501
|
+
"string"
|
|
19502
|
+
]
|
|
19503
|
+
},
|
|
19504
|
+
to: {
|
|
19505
|
+
types: [
|
|
19506
|
+
"string"
|
|
19507
|
+
]
|
|
19508
|
+
}
|
|
19509
|
+
},
|
|
19510
|
+
required: [
|
|
19511
|
+
"index",
|
|
19512
|
+
"event",
|
|
19513
|
+
"from",
|
|
19514
|
+
"to"
|
|
19515
|
+
]
|
|
19516
|
+
}
|
|
19517
|
+
}
|
|
19518
|
+
]
|
|
19519
|
+
},
|
|
18922
19520
|
selectedState: {
|
|
18923
19521
|
types: [
|
|
18924
19522
|
"string"
|
|
@@ -19340,6 +19938,44 @@ var patterns_registry_default = {
|
|
|
19340
19938
|
],
|
|
19341
19939
|
description: "Whether this slot contains an event",
|
|
19342
19940
|
default: false
|
|
19941
|
+
},
|
|
19942
|
+
onPointerDown: {
|
|
19943
|
+
types: [
|
|
19944
|
+
"function"
|
|
19945
|
+
],
|
|
19946
|
+
description: "onPointerDown prop",
|
|
19947
|
+
kind: "callback",
|
|
19948
|
+
callbackArgs: []
|
|
19949
|
+
},
|
|
19950
|
+
onPointerUp: {
|
|
19951
|
+
types: [
|
|
19952
|
+
"function"
|
|
19953
|
+
],
|
|
19954
|
+
description: "onPointerUp prop",
|
|
19955
|
+
kind: "callback",
|
|
19956
|
+
callbackArgs: []
|
|
19957
|
+
},
|
|
19958
|
+
onPointerCancel: {
|
|
19959
|
+
types: [
|
|
19960
|
+
"function"
|
|
19961
|
+
],
|
|
19962
|
+
description: "onPointerCancel prop",
|
|
19963
|
+
kind: "callback",
|
|
19964
|
+
callbackArgs: []
|
|
19965
|
+
},
|
|
19966
|
+
onPointerLeave: {
|
|
19967
|
+
types: [
|
|
19968
|
+
"function"
|
|
19969
|
+
],
|
|
19970
|
+
description: "onPointerLeave prop",
|
|
19971
|
+
kind: "callback",
|
|
19972
|
+
callbackArgs: []
|
|
19973
|
+
},
|
|
19974
|
+
"data-testid": {
|
|
19975
|
+
types: [
|
|
19976
|
+
"string"
|
|
19977
|
+
],
|
|
19978
|
+
description: "data-testid prop"
|
|
19343
19979
|
}
|
|
19344
19980
|
}
|
|
19345
19981
|
},
|
|
@@ -20199,6 +20835,7 @@ var patterns_registry_default = {
|
|
|
20199
20835
|
description: "DataGrid \u2014 structured records grid rendering rows over configurable columns, with sort, select, and drag-reorder.",
|
|
20200
20836
|
capabilities: "admin table, records grid, user list, CRUD list, manage-records view, spreadsheet-style data grid, sortable columns",
|
|
20201
20837
|
fieldsContract: "display",
|
|
20838
|
+
minUsableWidth: 200,
|
|
20202
20839
|
suggestedFor: [
|
|
20203
20840
|
"data",
|
|
20204
20841
|
"grid",
|
|
@@ -20254,6 +20891,47 @@ var patterns_registry_default = {
|
|
|
20254
20891
|
],
|
|
20255
20892
|
description: "Mark this container as the DnD root for its subtree \u2014 descendant zones share one DndContext (cross-container drag). Use on an outer container whose own items are not draggable."
|
|
20256
20893
|
},
|
|
20894
|
+
emptyIcon: {
|
|
20895
|
+
types: [
|
|
20896
|
+
"icon",
|
|
20897
|
+
"string"
|
|
20898
|
+
],
|
|
20899
|
+
description: "Domain icon for the empty state."
|
|
20900
|
+
},
|
|
20901
|
+
emptyTitle: {
|
|
20902
|
+
types: [
|
|
20903
|
+
"string"
|
|
20904
|
+
],
|
|
20905
|
+
description: 'Specific title ("No orders yet").'
|
|
20906
|
+
},
|
|
20907
|
+
emptyDescription: {
|
|
20908
|
+
types: [
|
|
20909
|
+
"string"
|
|
20910
|
+
],
|
|
20911
|
+
description: "What will appear here once rows exist."
|
|
20912
|
+
},
|
|
20913
|
+
emptyAction: {
|
|
20914
|
+
types: [
|
|
20915
|
+
"object"
|
|
20916
|
+
],
|
|
20917
|
+
description: "Create-the-first-item action.",
|
|
20918
|
+
properties: {
|
|
20919
|
+
label: {
|
|
20920
|
+
types: [
|
|
20921
|
+
"string"
|
|
20922
|
+
]
|
|
20923
|
+
},
|
|
20924
|
+
event: {
|
|
20925
|
+
types: [
|
|
20926
|
+
"string"
|
|
20927
|
+
],
|
|
20928
|
+
kind: "event"
|
|
20929
|
+
}
|
|
20930
|
+
},
|
|
20931
|
+
propertyRequired: [
|
|
20932
|
+
"label"
|
|
20933
|
+
]
|
|
20934
|
+
},
|
|
20257
20935
|
entity: {
|
|
20258
20936
|
types: [
|
|
20259
20937
|
"object",
|
|
@@ -20317,6 +20995,28 @@ var patterns_registry_default = {
|
|
|
20317
20995
|
]
|
|
20318
20996
|
},
|
|
20319
20997
|
colorMap: {
|
|
20998
|
+
types: [
|
|
20999
|
+
"object"
|
|
21000
|
+
],
|
|
21001
|
+
mapValue: {
|
|
21002
|
+
types: [
|
|
21003
|
+
"string"
|
|
21004
|
+
],
|
|
21005
|
+
enumValues: [
|
|
21006
|
+
"default",
|
|
21007
|
+
"primary",
|
|
21008
|
+
"secondary",
|
|
21009
|
+
"success",
|
|
21010
|
+
"warning",
|
|
21011
|
+
"danger",
|
|
21012
|
+
"error",
|
|
21013
|
+
"info",
|
|
21014
|
+
"neutral",
|
|
21015
|
+
"destructive"
|
|
21016
|
+
]
|
|
21017
|
+
}
|
|
21018
|
+
},
|
|
21019
|
+
labels: {
|
|
20320
21020
|
types: [
|
|
20321
21021
|
"object"
|
|
20322
21022
|
],
|
|
@@ -20385,6 +21085,28 @@ var patterns_registry_default = {
|
|
|
20385
21085
|
]
|
|
20386
21086
|
},
|
|
20387
21087
|
colorMap: {
|
|
21088
|
+
types: [
|
|
21089
|
+
"object"
|
|
21090
|
+
],
|
|
21091
|
+
mapValue: {
|
|
21092
|
+
types: [
|
|
21093
|
+
"string"
|
|
21094
|
+
],
|
|
21095
|
+
enumValues: [
|
|
21096
|
+
"default",
|
|
21097
|
+
"primary",
|
|
21098
|
+
"secondary",
|
|
21099
|
+
"success",
|
|
21100
|
+
"warning",
|
|
21101
|
+
"danger",
|
|
21102
|
+
"error",
|
|
21103
|
+
"info",
|
|
21104
|
+
"neutral",
|
|
21105
|
+
"destructive"
|
|
21106
|
+
]
|
|
21107
|
+
}
|
|
21108
|
+
},
|
|
21109
|
+
labels: {
|
|
20388
21110
|
types: [
|
|
20389
21111
|
"object"
|
|
20390
21112
|
],
|
|
@@ -20444,6 +21166,12 @@ var patterns_registry_default = {
|
|
|
20444
21166
|
"ghost",
|
|
20445
21167
|
"danger"
|
|
20446
21168
|
]
|
|
21169
|
+
},
|
|
21170
|
+
when: {
|
|
21171
|
+
types: [
|
|
21172
|
+
"sexpr",
|
|
21173
|
+
"function"
|
|
21174
|
+
]
|
|
20447
21175
|
}
|
|
20448
21176
|
},
|
|
20449
21177
|
required: [
|
|
@@ -20451,6 +21179,26 @@ var patterns_registry_default = {
|
|
|
20451
21179
|
]
|
|
20452
21180
|
}
|
|
20453
21181
|
},
|
|
21182
|
+
itemClickEvent: {
|
|
21183
|
+
types: [
|
|
21184
|
+
"string"
|
|
21185
|
+
],
|
|
21186
|
+
description: "When set, clicking a card emits UI:{itemClickEvent} with { id, row }. Omit = cards are not clickable.",
|
|
21187
|
+
kind: "event-ref",
|
|
21188
|
+
entityRowField: "row",
|
|
21189
|
+
emitPayloadSchema: [
|
|
21190
|
+
{
|
|
21191
|
+
name: "id",
|
|
21192
|
+
type: "string",
|
|
21193
|
+
required: true
|
|
21194
|
+
},
|
|
21195
|
+
{
|
|
21196
|
+
name: "row",
|
|
21197
|
+
type: "@entity",
|
|
21198
|
+
required: true
|
|
21199
|
+
}
|
|
21200
|
+
]
|
|
21201
|
+
},
|
|
20454
21202
|
maxInlineActions: {
|
|
20455
21203
|
types: [
|
|
20456
21204
|
"number"
|
|
@@ -20707,6 +21455,7 @@ var patterns_registry_default = {
|
|
|
20707
21455
|
family: "core",
|
|
20708
21456
|
description: "DataList component",
|
|
20709
21457
|
fieldsContract: "display",
|
|
21458
|
+
minUsableWidth: 200,
|
|
20710
21459
|
suggestedFor: [
|
|
20711
21460
|
"data",
|
|
20712
21461
|
"list",
|
|
@@ -20763,6 +21512,47 @@ var patterns_registry_default = {
|
|
|
20763
21512
|
],
|
|
20764
21513
|
description: "Mark this container as the DnD root for its subtree \u2014 descendant zones share one DndContext (cross-container drag). Use on an outer container whose own items are not draggable."
|
|
20765
21514
|
},
|
|
21515
|
+
emptyIcon: {
|
|
21516
|
+
types: [
|
|
21517
|
+
"icon",
|
|
21518
|
+
"string"
|
|
21519
|
+
],
|
|
21520
|
+
description: "Domain icon for the empty state."
|
|
21521
|
+
},
|
|
21522
|
+
emptyTitle: {
|
|
21523
|
+
types: [
|
|
21524
|
+
"string"
|
|
21525
|
+
],
|
|
21526
|
+
description: 'Specific title ("No orders yet").'
|
|
21527
|
+
},
|
|
21528
|
+
emptyDescription: {
|
|
21529
|
+
types: [
|
|
21530
|
+
"string"
|
|
21531
|
+
],
|
|
21532
|
+
description: "What will appear here once rows exist."
|
|
21533
|
+
},
|
|
21534
|
+
emptyAction: {
|
|
21535
|
+
types: [
|
|
21536
|
+
"object"
|
|
21537
|
+
],
|
|
21538
|
+
description: "Create-the-first-item action.",
|
|
21539
|
+
properties: {
|
|
21540
|
+
label: {
|
|
21541
|
+
types: [
|
|
21542
|
+
"string"
|
|
21543
|
+
]
|
|
21544
|
+
},
|
|
21545
|
+
event: {
|
|
21546
|
+
types: [
|
|
21547
|
+
"string"
|
|
21548
|
+
],
|
|
21549
|
+
kind: "event"
|
|
21550
|
+
}
|
|
21551
|
+
},
|
|
21552
|
+
propertyRequired: [
|
|
21553
|
+
"label"
|
|
21554
|
+
]
|
|
21555
|
+
},
|
|
20766
21556
|
entity: {
|
|
20767
21557
|
types: [
|
|
20768
21558
|
"object",
|
|
@@ -20824,6 +21614,38 @@ var patterns_registry_default = {
|
|
|
20824
21614
|
"boolean",
|
|
20825
21615
|
"percent"
|
|
20826
21616
|
]
|
|
21617
|
+
},
|
|
21618
|
+
colorMap: {
|
|
21619
|
+
types: [
|
|
21620
|
+
"object"
|
|
21621
|
+
],
|
|
21622
|
+
mapValue: {
|
|
21623
|
+
types: [
|
|
21624
|
+
"string"
|
|
21625
|
+
],
|
|
21626
|
+
enumValues: [
|
|
21627
|
+
"default",
|
|
21628
|
+
"primary",
|
|
21629
|
+
"secondary",
|
|
21630
|
+
"success",
|
|
21631
|
+
"warning",
|
|
21632
|
+
"danger",
|
|
21633
|
+
"error",
|
|
21634
|
+
"info",
|
|
21635
|
+
"neutral",
|
|
21636
|
+
"destructive"
|
|
21637
|
+
]
|
|
21638
|
+
}
|
|
21639
|
+
},
|
|
21640
|
+
labels: {
|
|
21641
|
+
types: [
|
|
21642
|
+
"object"
|
|
21643
|
+
],
|
|
21644
|
+
mapValue: {
|
|
21645
|
+
types: [
|
|
21646
|
+
"string"
|
|
21647
|
+
]
|
|
21648
|
+
}
|
|
20827
21649
|
}
|
|
20828
21650
|
},
|
|
20829
21651
|
required: [
|
|
@@ -20882,6 +21704,38 @@ var patterns_registry_default = {
|
|
|
20882
21704
|
"boolean",
|
|
20883
21705
|
"percent"
|
|
20884
21706
|
]
|
|
21707
|
+
},
|
|
21708
|
+
colorMap: {
|
|
21709
|
+
types: [
|
|
21710
|
+
"object"
|
|
21711
|
+
],
|
|
21712
|
+
mapValue: {
|
|
21713
|
+
types: [
|
|
21714
|
+
"string"
|
|
21715
|
+
],
|
|
21716
|
+
enumValues: [
|
|
21717
|
+
"default",
|
|
21718
|
+
"primary",
|
|
21719
|
+
"secondary",
|
|
21720
|
+
"success",
|
|
21721
|
+
"warning",
|
|
21722
|
+
"danger",
|
|
21723
|
+
"error",
|
|
21724
|
+
"info",
|
|
21725
|
+
"neutral",
|
|
21726
|
+
"destructive"
|
|
21727
|
+
]
|
|
21728
|
+
}
|
|
21729
|
+
},
|
|
21730
|
+
labels: {
|
|
21731
|
+
types: [
|
|
21732
|
+
"object"
|
|
21733
|
+
],
|
|
21734
|
+
mapValue: {
|
|
21735
|
+
types: [
|
|
21736
|
+
"string"
|
|
21737
|
+
]
|
|
21738
|
+
}
|
|
20885
21739
|
}
|
|
20886
21740
|
},
|
|
20887
21741
|
required: [
|
|
@@ -20928,6 +21782,12 @@ var patterns_registry_default = {
|
|
|
20928
21782
|
"ghost",
|
|
20929
21783
|
"danger"
|
|
20930
21784
|
]
|
|
21785
|
+
},
|
|
21786
|
+
when: {
|
|
21787
|
+
types: [
|
|
21788
|
+
"sexpr",
|
|
21789
|
+
"function"
|
|
21790
|
+
]
|
|
20931
21791
|
}
|
|
20932
21792
|
},
|
|
20933
21793
|
required: [
|
|
@@ -22391,7 +23251,7 @@ var patterns_registry_default = {
|
|
|
22391
23251
|
types: [
|
|
22392
23252
|
"string"
|
|
22393
23253
|
],
|
|
22394
|
-
description: `"number" (locale grouping), "currency" (
|
|
23254
|
+
description: `"number" (locale grouping), "currency" (locale currency), "percent" (rounded %). Unset keeps the value's own decimals.`
|
|
22395
23255
|
},
|
|
22396
23256
|
className: {
|
|
22397
23257
|
types: [
|
|
@@ -22952,14 +23812,19 @@ var patterns_registry_default = {
|
|
|
22952
23812
|
],
|
|
22953
23813
|
eventPayloadBrand: true,
|
|
22954
23814
|
payloadFor: "event"
|
|
23815
|
+
},
|
|
23816
|
+
when: {
|
|
23817
|
+
types: [
|
|
23818
|
+
"sexpr",
|
|
23819
|
+
"function"
|
|
23820
|
+
]
|
|
22955
23821
|
}
|
|
22956
23822
|
},
|
|
22957
23823
|
required: [
|
|
22958
23824
|
"label",
|
|
22959
23825
|
"event"
|
|
22960
23826
|
]
|
|
22961
|
-
}
|
|
22962
|
-
default: []
|
|
23827
|
+
}
|
|
22963
23828
|
},
|
|
22964
23829
|
rightActions: {
|
|
22965
23830
|
types: [
|
|
@@ -23007,14 +23872,19 @@ var patterns_registry_default = {
|
|
|
23007
23872
|
],
|
|
23008
23873
|
eventPayloadBrand: true,
|
|
23009
23874
|
payloadFor: "event"
|
|
23875
|
+
},
|
|
23876
|
+
when: {
|
|
23877
|
+
types: [
|
|
23878
|
+
"sexpr",
|
|
23879
|
+
"function"
|
|
23880
|
+
]
|
|
23010
23881
|
}
|
|
23011
23882
|
},
|
|
23012
23883
|
required: [
|
|
23013
23884
|
"label",
|
|
23014
23885
|
"event"
|
|
23015
23886
|
]
|
|
23016
|
-
}
|
|
23017
|
-
default: []
|
|
23887
|
+
}
|
|
23018
23888
|
},
|
|
23019
23889
|
threshold: {
|
|
23020
23890
|
types: [
|
|
@@ -23371,8 +24241,7 @@ var patterns_registry_default = {
|
|
|
23371
24241
|
types: [
|
|
23372
24242
|
"string"
|
|
23373
24243
|
],
|
|
23374
|
-
description: "Label for the link button"
|
|
23375
|
-
default: "Learn more"
|
|
24244
|
+
description: "Label for the link button"
|
|
23376
24245
|
},
|
|
23377
24246
|
variant: {
|
|
23378
24247
|
types: [
|
|
@@ -24051,6 +24920,12 @@ var patterns_registry_default = {
|
|
|
24051
24920
|
propertyRequired: [
|
|
24052
24921
|
"enabled"
|
|
24053
24922
|
]
|
|
24923
|
+
},
|
|
24924
|
+
pageKey: {
|
|
24925
|
+
types: [
|
|
24926
|
+
"string"
|
|
24927
|
+
],
|
|
24928
|
+
description: "The current page (path or name). When set, the main slot's content animates in on every page change (`PageTransition`); a layout's own content region claims the transition so its chrome stays still."
|
|
24054
24929
|
}
|
|
24055
24930
|
}
|
|
24056
24931
|
},
|
|
@@ -24483,7 +25358,7 @@ var patterns_registry_default = {
|
|
|
24483
25358
|
types: [
|
|
24484
25359
|
"array"
|
|
24485
25360
|
],
|
|
24486
|
-
description: "Scale points (defaults to a 5-point agree/disagree set)",
|
|
25361
|
+
description: "Scale points (defaults to a translated 5-point agree/disagree set)",
|
|
24487
25362
|
items: {
|
|
24488
25363
|
types: [
|
|
24489
25364
|
"object"
|
|
@@ -26106,8 +26981,7 @@ var patterns_registry_default = {
|
|
|
26106
26981
|
"string"
|
|
26107
26982
|
],
|
|
26108
26983
|
description: "Choice text content",
|
|
26109
|
-
required: true
|
|
26110
|
-
default: "Charge forward into the fray"
|
|
26984
|
+
required: true
|
|
26111
26985
|
},
|
|
26112
26986
|
index: {
|
|
26113
26987
|
types: [
|
|
@@ -26484,16 +27358,14 @@ var patterns_registry_default = {
|
|
|
26484
27358
|
types: [
|
|
26485
27359
|
"string"
|
|
26486
27360
|
],
|
|
26487
|
-
description: "Speaker name displayed at the top"
|
|
26488
|
-
default: "Hero"
|
|
27361
|
+
description: "Speaker name displayed at the top"
|
|
26489
27362
|
},
|
|
26490
27363
|
text: {
|
|
26491
27364
|
types: [
|
|
26492
27365
|
"string"
|
|
26493
27366
|
],
|
|
26494
27367
|
description: "Dialogue text content",
|
|
26495
|
-
required: true
|
|
26496
|
-
default: "The dungeon awaits. Choose your path wisely."
|
|
27368
|
+
required: true
|
|
26497
27369
|
},
|
|
26498
27370
|
portrait: {
|
|
26499
27371
|
types: [
|
|
@@ -27077,8 +27949,7 @@ var patterns_registry_default = {
|
|
|
27077
27949
|
types: [
|
|
27078
27950
|
"string"
|
|
27079
27951
|
],
|
|
27080
|
-
description: "Number formatting locale"
|
|
27081
|
-
default: "en-US"
|
|
27952
|
+
description: "Number formatting locale"
|
|
27082
27953
|
}
|
|
27083
27954
|
}
|
|
27084
27955
|
},
|
|
@@ -30571,8 +31442,7 @@ var patterns_registry_default = {
|
|
|
30571
31442
|
"string"
|
|
30572
31443
|
],
|
|
30573
31444
|
description: "Menu title",
|
|
30574
|
-
required: true
|
|
30575
|
-
default: "Epic Quest"
|
|
31445
|
+
required: true
|
|
30576
31446
|
},
|
|
30577
31447
|
subtitle: {
|
|
30578
31448
|
types: [
|
|
@@ -34269,7 +35139,7 @@ var patterns_registry_default = {
|
|
|
34269
35139
|
types: [
|
|
34270
35140
|
"array"
|
|
34271
35141
|
],
|
|
34272
|
-
description: "Preset shortcuts. Defaults to the standard finance set (Last 7d / Last 30d / This Month / This Quarter / YTD). Pass an empty array to hide presets entirely.",
|
|
35142
|
+
description: "Preset shortcuts. Defaults to the translated standard finance set (Last 7d / Last 30d / This Month / This Quarter / YTD). Pass an empty array to hide presets entirely.",
|
|
34273
35143
|
items: {
|
|
34274
35144
|
types: [
|
|
34275
35145
|
"object"
|
|
@@ -34318,15 +35188,13 @@ var patterns_registry_default = {
|
|
|
34318
35188
|
types: [
|
|
34319
35189
|
"string"
|
|
34320
35190
|
],
|
|
34321
|
-
description: "From-input label."
|
|
34322
|
-
default: "From"
|
|
35191
|
+
description: "From-input label."
|
|
34323
35192
|
},
|
|
34324
35193
|
toLabel: {
|
|
34325
35194
|
types: [
|
|
34326
35195
|
"string"
|
|
34327
35196
|
],
|
|
34328
|
-
description: "To-input label."
|
|
34329
|
-
default: "To"
|
|
35197
|
+
description: "To-input label."
|
|
34330
35198
|
},
|
|
34331
35199
|
className: {
|
|
34332
35200
|
types: [
|
|
@@ -34562,6 +35430,7 @@ var patterns_registry_default = {
|
|
|
34562
35430
|
description: "TableView \u2014 sortable, selectable data table rendering rows over configurable columns, with inline row actions and grouping.",
|
|
34563
35431
|
capabilities: "admin console table, records list, CRUD data table, user list, manage-users grid, sortable columns, row selection with bulk actions, grouped list view",
|
|
34564
35432
|
fieldsContract: "display",
|
|
35433
|
+
minUsableWidth: 240,
|
|
34565
35434
|
suggestedFor: [
|
|
34566
35435
|
"table",
|
|
34567
35436
|
"view",
|
|
@@ -34617,6 +35486,47 @@ var patterns_registry_default = {
|
|
|
34617
35486
|
],
|
|
34618
35487
|
description: "Mark this container as the DnD root for its subtree \u2014 descendant zones share one DndContext (cross-container drag). Use on an outer container whose own items are not draggable."
|
|
34619
35488
|
},
|
|
35489
|
+
emptyIcon: {
|
|
35490
|
+
types: [
|
|
35491
|
+
"icon",
|
|
35492
|
+
"string"
|
|
35493
|
+
],
|
|
35494
|
+
description: "Domain icon for the empty state."
|
|
35495
|
+
},
|
|
35496
|
+
emptyTitle: {
|
|
35497
|
+
types: [
|
|
35498
|
+
"string"
|
|
35499
|
+
],
|
|
35500
|
+
description: 'Specific title ("No orders yet").'
|
|
35501
|
+
},
|
|
35502
|
+
emptyDescription: {
|
|
35503
|
+
types: [
|
|
35504
|
+
"string"
|
|
35505
|
+
],
|
|
35506
|
+
description: "What will appear here once rows exist."
|
|
35507
|
+
},
|
|
35508
|
+
emptyAction: {
|
|
35509
|
+
types: [
|
|
35510
|
+
"object"
|
|
35511
|
+
],
|
|
35512
|
+
description: "Create-the-first-item action.",
|
|
35513
|
+
properties: {
|
|
35514
|
+
label: {
|
|
35515
|
+
types: [
|
|
35516
|
+
"string"
|
|
35517
|
+
]
|
|
35518
|
+
},
|
|
35519
|
+
event: {
|
|
35520
|
+
types: [
|
|
35521
|
+
"string"
|
|
35522
|
+
],
|
|
35523
|
+
kind: "event"
|
|
35524
|
+
}
|
|
35525
|
+
},
|
|
35526
|
+
propertyRequired: [
|
|
35527
|
+
"label"
|
|
35528
|
+
]
|
|
35529
|
+
},
|
|
34620
35530
|
entity: {
|
|
34621
35531
|
types: [
|
|
34622
35532
|
"object",
|
|
@@ -34700,6 +35610,47 @@ var patterns_registry_default = {
|
|
|
34700
35610
|
"boolean"
|
|
34701
35611
|
]
|
|
34702
35612
|
},
|
|
35613
|
+
colorMap: {
|
|
35614
|
+
types: [
|
|
35615
|
+
"object"
|
|
35616
|
+
],
|
|
35617
|
+
mapValue: {
|
|
35618
|
+
types: [
|
|
35619
|
+
"string"
|
|
35620
|
+
],
|
|
35621
|
+
enumValues: [
|
|
35622
|
+
"default",
|
|
35623
|
+
"primary",
|
|
35624
|
+
"secondary",
|
|
35625
|
+
"success",
|
|
35626
|
+
"warning",
|
|
35627
|
+
"danger",
|
|
35628
|
+
"error",
|
|
35629
|
+
"info",
|
|
35630
|
+
"neutral",
|
|
35631
|
+
"destructive"
|
|
35632
|
+
]
|
|
35633
|
+
}
|
|
35634
|
+
},
|
|
35635
|
+
labels: {
|
|
35636
|
+
types: [
|
|
35637
|
+
"object"
|
|
35638
|
+
],
|
|
35639
|
+
mapValue: {
|
|
35640
|
+
types: [
|
|
35641
|
+
"string"
|
|
35642
|
+
]
|
|
35643
|
+
}
|
|
35644
|
+
},
|
|
35645
|
+
variant: {
|
|
35646
|
+
types: [
|
|
35647
|
+
"string"
|
|
35648
|
+
],
|
|
35649
|
+
enumValues: [
|
|
35650
|
+
"h3",
|
|
35651
|
+
"h4"
|
|
35652
|
+
]
|
|
35653
|
+
},
|
|
34703
35654
|
icon: {
|
|
34704
35655
|
types: [
|
|
34705
35656
|
"icon",
|
|
@@ -34790,6 +35741,47 @@ var patterns_registry_default = {
|
|
|
34790
35741
|
"boolean"
|
|
34791
35742
|
]
|
|
34792
35743
|
},
|
|
35744
|
+
colorMap: {
|
|
35745
|
+
types: [
|
|
35746
|
+
"object"
|
|
35747
|
+
],
|
|
35748
|
+
mapValue: {
|
|
35749
|
+
types: [
|
|
35750
|
+
"string"
|
|
35751
|
+
],
|
|
35752
|
+
enumValues: [
|
|
35753
|
+
"default",
|
|
35754
|
+
"primary",
|
|
35755
|
+
"secondary",
|
|
35756
|
+
"success",
|
|
35757
|
+
"warning",
|
|
35758
|
+
"danger",
|
|
35759
|
+
"error",
|
|
35760
|
+
"info",
|
|
35761
|
+
"neutral",
|
|
35762
|
+
"destructive"
|
|
35763
|
+
]
|
|
35764
|
+
}
|
|
35765
|
+
},
|
|
35766
|
+
labels: {
|
|
35767
|
+
types: [
|
|
35768
|
+
"object"
|
|
35769
|
+
],
|
|
35770
|
+
mapValue: {
|
|
35771
|
+
types: [
|
|
35772
|
+
"string"
|
|
35773
|
+
]
|
|
35774
|
+
}
|
|
35775
|
+
},
|
|
35776
|
+
variant: {
|
|
35777
|
+
types: [
|
|
35778
|
+
"string"
|
|
35779
|
+
],
|
|
35780
|
+
enumValues: [
|
|
35781
|
+
"h3",
|
|
35782
|
+
"h4"
|
|
35783
|
+
]
|
|
35784
|
+
},
|
|
34793
35785
|
icon: {
|
|
34794
35786
|
types: [
|
|
34795
35787
|
"icon",
|
|
@@ -34846,6 +35838,12 @@ var patterns_registry_default = {
|
|
|
34846
35838
|
"ghost",
|
|
34847
35839
|
"danger"
|
|
34848
35840
|
]
|
|
35841
|
+
},
|
|
35842
|
+
when: {
|
|
35843
|
+
types: [
|
|
35844
|
+
"sexpr",
|
|
35845
|
+
"function"
|
|
35846
|
+
]
|
|
34849
35847
|
}
|
|
34850
35848
|
},
|
|
34851
35849
|
required: [
|
|
@@ -34864,9 +35862,21 @@ var patterns_registry_default = {
|
|
|
34864
35862
|
types: [
|
|
34865
35863
|
"string"
|
|
34866
35864
|
],
|
|
34867
|
-
description: "When set, the whole row is clickable and emits UI:{itemClickEvent} with { id, row } (action-button clicks stopPropagation so they still win). Mirrors DataList's contract.
|
|
34868
|
-
kind: "event",
|
|
34869
|
-
|
|
35865
|
+
description: "When set, the whole row is clickable and emits UI:{itemClickEvent} with { id, row } (action-button clicks stopPropagation so they still win). Mirrors DataList's contract. Omit = rows are not clickable.",
|
|
35866
|
+
kind: "event-ref",
|
|
35867
|
+
entityRowField: "row",
|
|
35868
|
+
emitPayloadSchema: [
|
|
35869
|
+
{
|
|
35870
|
+
name: "id",
|
|
35871
|
+
type: "string",
|
|
35872
|
+
required: true
|
|
35873
|
+
},
|
|
35874
|
+
{
|
|
35875
|
+
name: "row",
|
|
35876
|
+
type: "@entity",
|
|
35877
|
+
required: true
|
|
35878
|
+
}
|
|
35879
|
+
]
|
|
34870
35880
|
},
|
|
34871
35881
|
selectable: {
|
|
34872
35882
|
types: [
|
|
@@ -35390,6 +36400,38 @@ var patterns_registry_default = {
|
|
|
35390
36400
|
types: [
|
|
35391
36401
|
"string"
|
|
35392
36402
|
]
|
|
36403
|
+
},
|
|
36404
|
+
aggregate: {
|
|
36405
|
+
types: [
|
|
36406
|
+
"string"
|
|
36407
|
+
],
|
|
36408
|
+
enumValues: [
|
|
36409
|
+
"count",
|
|
36410
|
+
"sum"
|
|
36411
|
+
]
|
|
36412
|
+
},
|
|
36413
|
+
filter: {
|
|
36414
|
+
types: [
|
|
36415
|
+
"object"
|
|
36416
|
+
],
|
|
36417
|
+
properties: {
|
|
36418
|
+
field: {
|
|
36419
|
+
types: [
|
|
36420
|
+
"string"
|
|
36421
|
+
]
|
|
36422
|
+
},
|
|
36423
|
+
equals: {
|
|
36424
|
+
types: [
|
|
36425
|
+
"string",
|
|
36426
|
+
"number",
|
|
36427
|
+
"boolean"
|
|
36428
|
+
]
|
|
36429
|
+
}
|
|
36430
|
+
},
|
|
36431
|
+
required: [
|
|
36432
|
+
"field",
|
|
36433
|
+
"equals"
|
|
36434
|
+
]
|
|
35393
36435
|
}
|
|
35394
36436
|
},
|
|
35395
36437
|
required: [
|
|
@@ -37517,6 +38559,12 @@ var patterns_registry_default = {
|
|
|
37517
38559
|
],
|
|
37518
38560
|
description: "Role for accessibility"
|
|
37519
38561
|
},
|
|
38562
|
+
id: {
|
|
38563
|
+
types: [
|
|
38564
|
+
"string"
|
|
38565
|
+
],
|
|
38566
|
+
description: "Element id"
|
|
38567
|
+
},
|
|
37520
38568
|
tabIndex: {
|
|
37521
38569
|
types: [
|
|
37522
38570
|
"number"
|
|
@@ -37689,6 +38737,12 @@ var patterns_registry_default = {
|
|
|
37689
38737
|
],
|
|
37690
38738
|
description: "Role for accessibility"
|
|
37691
38739
|
},
|
|
38740
|
+
id: {
|
|
38741
|
+
types: [
|
|
38742
|
+
"string"
|
|
38743
|
+
],
|
|
38744
|
+
description: "Element id"
|
|
38745
|
+
},
|
|
37692
38746
|
tabIndex: {
|
|
37693
38747
|
types: [
|
|
37694
38748
|
"number"
|
|
@@ -47929,6 +48983,37 @@ var patterns_registry_default = {
|
|
|
47929
48983
|
],
|
|
47930
48984
|
typicalSize: "small",
|
|
47931
48985
|
propsSchema: {
|
|
48986
|
+
animation: {
|
|
48987
|
+
types: [
|
|
48988
|
+
"string"
|
|
48989
|
+
],
|
|
48990
|
+
description: "Which motion preset to use (maps to `animate-<name>-in/out`).",
|
|
48991
|
+
required: true,
|
|
48992
|
+
enumValues: [
|
|
48993
|
+
"modal",
|
|
48994
|
+
"overlay",
|
|
48995
|
+
"slide-up",
|
|
48996
|
+
"drawer",
|
|
48997
|
+
"popover",
|
|
48998
|
+
"toast",
|
|
48999
|
+
"fade",
|
|
49000
|
+
"page"
|
|
49001
|
+
]
|
|
49002
|
+
},
|
|
49003
|
+
animate: {
|
|
49004
|
+
types: [
|
|
49005
|
+
"boolean"
|
|
49006
|
+
],
|
|
49007
|
+
description: "Per-instance opt-out. Global opt-out is `--motion-enable` / reduced-motion. @default true"
|
|
49008
|
+
},
|
|
49009
|
+
onExited: {
|
|
49010
|
+
types: [
|
|
49011
|
+
"function"
|
|
49012
|
+
],
|
|
49013
|
+
description: "Fired after the exit animation completes (before unmount).",
|
|
49014
|
+
kind: "callback",
|
|
49015
|
+
callbackArgs: []
|
|
49016
|
+
},
|
|
47932
49017
|
show: {
|
|
47933
49018
|
types: [
|
|
47934
49019
|
"boolean"
|
|
@@ -47969,7 +49054,7 @@ var patterns_registry_default = {
|
|
|
47969
49054
|
types: [
|
|
47970
49055
|
"string"
|
|
47971
49056
|
],
|
|
47972
|
-
description: "Value that changes on navigation (
|
|
49057
|
+
description: "Value that changes on navigation (a page path).",
|
|
47973
49058
|
required: true
|
|
47974
49059
|
},
|
|
47975
49060
|
children: {
|
|
@@ -48023,6 +49108,11 @@ var patterns_registry_default = {
|
|
|
48023
49108
|
"string"
|
|
48024
49109
|
]
|
|
48025
49110
|
},
|
|
49111
|
+
title: {
|
|
49112
|
+
types: [
|
|
49113
|
+
"string"
|
|
49114
|
+
]
|
|
49115
|
+
},
|
|
48026
49116
|
fields: {
|
|
48027
49117
|
types: [
|
|
48028
49118
|
"object"
|
|
@@ -48123,15 +49213,13 @@ var patterns_registry_default = {
|
|
|
48123
49213
|
types: [
|
|
48124
49214
|
"string"
|
|
48125
49215
|
],
|
|
48126
|
-
description: "Confirm button label"
|
|
48127
|
-
default: "Confirm import"
|
|
49216
|
+
description: "Confirm button label"
|
|
48128
49217
|
},
|
|
48129
49218
|
cancelLabel: {
|
|
48130
49219
|
types: [
|
|
48131
49220
|
"string"
|
|
48132
49221
|
],
|
|
48133
|
-
description: "Cancel button label"
|
|
48134
|
-
default: "Cancel"
|
|
49222
|
+
description: "Cancel button label"
|
|
48135
49223
|
},
|
|
48136
49224
|
indent: {
|
|
48137
49225
|
types: [
|
|
@@ -48625,8 +49713,7 @@ var patterns_registry_default = {
|
|
|
48625
49713
|
types: [
|
|
48626
49714
|
"string"
|
|
48627
49715
|
],
|
|
48628
|
-
description: "Accessible label for the trigger button"
|
|
48629
|
-
default: "Add emoji"
|
|
49716
|
+
description: "Accessible label for the trigger button"
|
|
48630
49717
|
},
|
|
48631
49718
|
className: {
|
|
48632
49719
|
types: [
|
|
@@ -50620,6 +51707,16 @@ var patterns_registry_default = {
|
|
|
50620
51707
|
]
|
|
50621
51708
|
}
|
|
50622
51709
|
},
|
|
51710
|
+
labels: {
|
|
51711
|
+
types: [
|
|
51712
|
+
"object"
|
|
51713
|
+
],
|
|
51714
|
+
mapValue: {
|
|
51715
|
+
types: [
|
|
51716
|
+
"string"
|
|
51717
|
+
]
|
|
51718
|
+
}
|
|
51719
|
+
},
|
|
50623
51720
|
format: {
|
|
50624
51721
|
types: [
|
|
50625
51722
|
"string"
|
|
@@ -51278,15 +52375,13 @@ var patterns_registry_default = {
|
|
|
51278
52375
|
types: [
|
|
51279
52376
|
"string"
|
|
51280
52377
|
],
|
|
51281
|
-
description:
|
|
51282
|
-
default: "Type a command..."
|
|
52378
|
+
description: 'Search field placeholder. Defaults to the translated "Type a command...".'
|
|
51283
52379
|
},
|
|
51284
52380
|
emptyLabel: {
|
|
51285
52381
|
types: [
|
|
51286
52382
|
"string"
|
|
51287
52383
|
],
|
|
51288
|
-
description: "Label shown when no command matches the query"
|
|
51289
|
-
default: "No matching commands"
|
|
52384
|
+
description: "Label shown when no command matches the query. Defaults to the translated message."
|
|
51290
52385
|
},
|
|
51291
52386
|
className: {
|
|
51292
52387
|
types: [
|
|
@@ -51506,9 +52601,10 @@ var patterns_registry_default = {
|
|
|
51506
52601
|
},
|
|
51507
52602
|
children: {
|
|
51508
52603
|
types: [
|
|
51509
|
-
"node"
|
|
52604
|
+
"node",
|
|
52605
|
+
"function"
|
|
51510
52606
|
],
|
|
51511
|
-
description: "Compiled mode: render children directly instead of resolving from context"
|
|
52607
|
+
description: "Compiled mode: render children directly instead of resolving from context. A function receives the slot's presence \u2014 compiled self-overlaying content (Modal / ConfirmDialog) takes it as `isOpen`/`onExited` to play its exit."
|
|
51512
52608
|
},
|
|
51513
52609
|
pattern: {
|
|
51514
52610
|
types: [
|
|
@@ -52016,9 +53112,32 @@ var patterns_registry_default = {
|
|
|
52016
53112
|
types: [
|
|
52017
53113
|
"string"
|
|
52018
53114
|
],
|
|
52019
|
-
description: "Row field holding the bar status
|
|
53115
|
+
description: "Row field holding the bar status. Defaults to `status`.",
|
|
52020
53116
|
default: "status"
|
|
52021
53117
|
},
|
|
53118
|
+
statusColorMap: {
|
|
53119
|
+
types: [
|
|
53120
|
+
"object"
|
|
53121
|
+
],
|
|
53122
|
+
description: "Bar colour per exact status value; unmapped statuses are primary bars.",
|
|
53123
|
+
mapValue: {
|
|
53124
|
+
types: [
|
|
53125
|
+
"string"
|
|
53126
|
+
],
|
|
53127
|
+
enumValues: [
|
|
53128
|
+
"default",
|
|
53129
|
+
"primary",
|
|
53130
|
+
"secondary",
|
|
53131
|
+
"success",
|
|
53132
|
+
"warning",
|
|
53133
|
+
"danger",
|
|
53134
|
+
"error",
|
|
53135
|
+
"info",
|
|
53136
|
+
"neutral",
|
|
53137
|
+
"destructive"
|
|
53138
|
+
]
|
|
53139
|
+
}
|
|
53140
|
+
},
|
|
52022
53141
|
groupField: {
|
|
52023
53142
|
types: [
|
|
52024
53143
|
"string"
|
|
@@ -52758,14 +53877,15 @@ var patterns_registry_default = {
|
|
|
52758
53877
|
types: [
|
|
52759
53878
|
"string"
|
|
52760
53879
|
],
|
|
52761
|
-
description: "What made this version (a user save, an agent turn, a restore, an undo/redo, a snapshot).",
|
|
53880
|
+
description: "What made this version (a user save, an agent turn, a restore, an undo/redo, a snapshot, a merge of a teammate's work).",
|
|
52762
53881
|
enumValues: [
|
|
52763
53882
|
"user",
|
|
52764
53883
|
"agent",
|
|
52765
53884
|
"restore",
|
|
52766
53885
|
"undo",
|
|
52767
53886
|
"redo",
|
|
52768
|
-
"snapshot"
|
|
53887
|
+
"snapshot",
|
|
53888
|
+
"merge"
|
|
52769
53889
|
]
|
|
52770
53890
|
},
|
|
52771
53891
|
additions: {
|
|
@@ -53189,6 +54309,52 @@ var patterns_registry_default = {
|
|
|
53189
54309
|
}
|
|
53190
54310
|
]
|
|
53191
54311
|
},
|
|
54312
|
+
onTransitionClick: {
|
|
54313
|
+
types: [
|
|
54314
|
+
"function"
|
|
54315
|
+
],
|
|
54316
|
+
description: "Direct transition-click callback, for React hosts (e.g. a canvas node).",
|
|
54317
|
+
kind: "callback",
|
|
54318
|
+
callbackArgs: [
|
|
54319
|
+
{
|
|
54320
|
+
name: "transition",
|
|
54321
|
+
type: "object",
|
|
54322
|
+
schema: {
|
|
54323
|
+
types: [
|
|
54324
|
+
"object"
|
|
54325
|
+
],
|
|
54326
|
+
properties: {
|
|
54327
|
+
index: {
|
|
54328
|
+
types: [
|
|
54329
|
+
"number"
|
|
54330
|
+
]
|
|
54331
|
+
},
|
|
54332
|
+
event: {
|
|
54333
|
+
types: [
|
|
54334
|
+
"string"
|
|
54335
|
+
]
|
|
54336
|
+
},
|
|
54337
|
+
from: {
|
|
54338
|
+
types: [
|
|
54339
|
+
"string"
|
|
54340
|
+
]
|
|
54341
|
+
},
|
|
54342
|
+
to: {
|
|
54343
|
+
types: [
|
|
54344
|
+
"string"
|
|
54345
|
+
]
|
|
54346
|
+
}
|
|
54347
|
+
},
|
|
54348
|
+
required: [
|
|
54349
|
+
"index",
|
|
54350
|
+
"event",
|
|
54351
|
+
"from",
|
|
54352
|
+
"to"
|
|
54353
|
+
]
|
|
54354
|
+
}
|
|
54355
|
+
}
|
|
54356
|
+
]
|
|
54357
|
+
},
|
|
53192
54358
|
selectedState: {
|
|
53193
54359
|
types: [
|
|
53194
54360
|
"string"
|