@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/patterns/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
// src/patterns/patterns-registry.json
|
|
4
4
|
var patterns_registry_default = {
|
|
5
5
|
version: "1.0.0",
|
|
6
|
-
exportedAt: "2026-09-
|
|
6
|
+
exportedAt: "2026-09-30T21:06:42.691Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -180,6 +180,28 @@ var patterns_registry_default = {
|
|
|
180
180
|
"boolean"
|
|
181
181
|
]
|
|
182
182
|
},
|
|
183
|
+
align: {
|
|
184
|
+
types: [
|
|
185
|
+
"string"
|
|
186
|
+
],
|
|
187
|
+
enumValues: [
|
|
188
|
+
"left",
|
|
189
|
+
"center",
|
|
190
|
+
"right"
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
format: {
|
|
194
|
+
types: [
|
|
195
|
+
"string"
|
|
196
|
+
],
|
|
197
|
+
enumValues: [
|
|
198
|
+
"date",
|
|
199
|
+
"currency",
|
|
200
|
+
"number",
|
|
201
|
+
"boolean",
|
|
202
|
+
"percent"
|
|
203
|
+
]
|
|
204
|
+
},
|
|
183
205
|
render: {
|
|
184
206
|
types: [
|
|
185
207
|
"function"
|
|
@@ -228,6 +250,28 @@ var patterns_registry_default = {
|
|
|
228
250
|
"boolean"
|
|
229
251
|
]
|
|
230
252
|
},
|
|
253
|
+
align: {
|
|
254
|
+
types: [
|
|
255
|
+
"string"
|
|
256
|
+
],
|
|
257
|
+
enumValues: [
|
|
258
|
+
"left",
|
|
259
|
+
"center",
|
|
260
|
+
"right"
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
format: {
|
|
264
|
+
types: [
|
|
265
|
+
"string"
|
|
266
|
+
],
|
|
267
|
+
enumValues: [
|
|
268
|
+
"date",
|
|
269
|
+
"currency",
|
|
270
|
+
"number",
|
|
271
|
+
"boolean",
|
|
272
|
+
"percent"
|
|
273
|
+
]
|
|
274
|
+
},
|
|
231
275
|
render: {
|
|
232
276
|
types: [
|
|
233
277
|
"function"
|
|
@@ -236,6 +280,26 @@ var patterns_registry_default = {
|
|
|
236
280
|
}
|
|
237
281
|
}
|
|
238
282
|
},
|
|
283
|
+
itemClickEvent: {
|
|
284
|
+
types: [
|
|
285
|
+
"string"
|
|
286
|
+
],
|
|
287
|
+
description: "When set, rows are activatable and emit UI:{itemClickEvent} with { id, row }",
|
|
288
|
+
kind: "event-ref",
|
|
289
|
+
entityRowField: "row",
|
|
290
|
+
emitPayloadSchema: [
|
|
291
|
+
{
|
|
292
|
+
name: "id",
|
|
293
|
+
type: "string",
|
|
294
|
+
required: true
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
name: "row",
|
|
298
|
+
type: "@entity",
|
|
299
|
+
required: true
|
|
300
|
+
}
|
|
301
|
+
]
|
|
302
|
+
},
|
|
239
303
|
itemActions: {
|
|
240
304
|
types: [
|
|
241
305
|
"array"
|
|
@@ -284,6 +348,12 @@ var patterns_registry_default = {
|
|
|
284
348
|
types: [
|
|
285
349
|
"function"
|
|
286
350
|
]
|
|
351
|
+
},
|
|
352
|
+
when: {
|
|
353
|
+
types: [
|
|
354
|
+
"sexpr",
|
|
355
|
+
"function"
|
|
356
|
+
]
|
|
287
357
|
}
|
|
288
358
|
},
|
|
289
359
|
required: [
|
|
@@ -399,6 +469,12 @@ var patterns_registry_default = {
|
|
|
399
469
|
"string"
|
|
400
470
|
],
|
|
401
471
|
kind: "event"
|
|
472
|
+
},
|
|
473
|
+
when: {
|
|
474
|
+
types: [
|
|
475
|
+
"sexpr",
|
|
476
|
+
"function"
|
|
477
|
+
]
|
|
402
478
|
}
|
|
403
479
|
},
|
|
404
480
|
required: [
|
|
@@ -715,10 +791,22 @@ var patterns_registry_default = {
|
|
|
715
791
|
"default"
|
|
716
792
|
]
|
|
717
793
|
},
|
|
794
|
+
icon: {
|
|
795
|
+
types: [
|
|
796
|
+
"icon",
|
|
797
|
+
"string"
|
|
798
|
+
]
|
|
799
|
+
},
|
|
718
800
|
onClick: {
|
|
719
801
|
types: [
|
|
720
802
|
"function"
|
|
721
803
|
]
|
|
804
|
+
},
|
|
805
|
+
when: {
|
|
806
|
+
types: [
|
|
807
|
+
"sexpr",
|
|
808
|
+
"function"
|
|
809
|
+
]
|
|
722
810
|
}
|
|
723
811
|
},
|
|
724
812
|
required: [
|
|
@@ -865,7 +953,7 @@ var patterns_registry_default = {
|
|
|
865
953
|
types: [
|
|
866
954
|
"array"
|
|
867
955
|
],
|
|
868
|
-
description: "Fields to display
|
|
956
|
+
description: "Fields to display: field names, or declared fields ({ name, label, variant, format, colorMap, labels })",
|
|
869
957
|
required: true,
|
|
870
958
|
items: {
|
|
871
959
|
types: [
|
|
@@ -873,27 +961,84 @@ var patterns_registry_default = {
|
|
|
873
961
|
"object"
|
|
874
962
|
],
|
|
875
963
|
properties: {
|
|
876
|
-
|
|
964
|
+
name: {
|
|
877
965
|
types: [
|
|
878
966
|
"string"
|
|
879
967
|
]
|
|
880
968
|
},
|
|
881
|
-
|
|
969
|
+
label: {
|
|
882
970
|
types: [
|
|
883
971
|
"string"
|
|
884
972
|
]
|
|
885
973
|
},
|
|
886
|
-
|
|
974
|
+
icon: {
|
|
887
975
|
types: [
|
|
976
|
+
"icon",
|
|
888
977
|
"string"
|
|
889
978
|
]
|
|
890
979
|
},
|
|
891
|
-
|
|
980
|
+
variant: {
|
|
892
981
|
types: [
|
|
893
982
|
"string"
|
|
983
|
+
],
|
|
984
|
+
enumValues: [
|
|
985
|
+
"h3",
|
|
986
|
+
"h4",
|
|
987
|
+
"body",
|
|
988
|
+
"caption",
|
|
989
|
+
"badge",
|
|
990
|
+
"small",
|
|
991
|
+
"progress"
|
|
992
|
+
]
|
|
993
|
+
},
|
|
994
|
+
format: {
|
|
995
|
+
types: [
|
|
996
|
+
"string"
|
|
997
|
+
],
|
|
998
|
+
enumValues: [
|
|
999
|
+
"date",
|
|
1000
|
+
"currency",
|
|
1001
|
+
"number",
|
|
1002
|
+
"boolean",
|
|
1003
|
+
"percent"
|
|
894
1004
|
]
|
|
1005
|
+
},
|
|
1006
|
+
colorMap: {
|
|
1007
|
+
types: [
|
|
1008
|
+
"object"
|
|
1009
|
+
],
|
|
1010
|
+
mapValue: {
|
|
1011
|
+
types: [
|
|
1012
|
+
"string"
|
|
1013
|
+
],
|
|
1014
|
+
enumValues: [
|
|
1015
|
+
"default",
|
|
1016
|
+
"primary",
|
|
1017
|
+
"secondary",
|
|
1018
|
+
"success",
|
|
1019
|
+
"warning",
|
|
1020
|
+
"danger",
|
|
1021
|
+
"error",
|
|
1022
|
+
"info",
|
|
1023
|
+
"neutral",
|
|
1024
|
+
"destructive"
|
|
1025
|
+
]
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
1028
|
+
labels: {
|
|
1029
|
+
types: [
|
|
1030
|
+
"object"
|
|
1031
|
+
],
|
|
1032
|
+
mapValue: {
|
|
1033
|
+
types: [
|
|
1034
|
+
"string"
|
|
1035
|
+
]
|
|
1036
|
+
}
|
|
895
1037
|
}
|
|
896
|
-
}
|
|
1038
|
+
},
|
|
1039
|
+
required: [
|
|
1040
|
+
"name"
|
|
1041
|
+
]
|
|
897
1042
|
}
|
|
898
1043
|
},
|
|
899
1044
|
fieldNames: {
|
|
@@ -906,6 +1051,38 @@ var patterns_registry_default = {
|
|
|
906
1051
|
"string"
|
|
907
1052
|
]
|
|
908
1053
|
}
|
|
1054
|
+
},
|
|
1055
|
+
itemClickEvent: {
|
|
1056
|
+
types: [
|
|
1057
|
+
"string"
|
|
1058
|
+
],
|
|
1059
|
+
description: "When set, clicking a row emits UI:{itemClickEvent} with { id, row }. Omit = rows are not clickable.",
|
|
1060
|
+
kind: "event-ref",
|
|
1061
|
+
entityRowField: "row",
|
|
1062
|
+
emitPayloadSchema: [
|
|
1063
|
+
{
|
|
1064
|
+
name: "id",
|
|
1065
|
+
type: "string",
|
|
1066
|
+
required: true
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
name: "row",
|
|
1070
|
+
type: "@entity",
|
|
1071
|
+
required: true
|
|
1072
|
+
}
|
|
1073
|
+
]
|
|
1074
|
+
},
|
|
1075
|
+
completedField: {
|
|
1076
|
+
types: [
|
|
1077
|
+
"string"
|
|
1078
|
+
],
|
|
1079
|
+
description: "Row field that marks an item completed (`true` strikes its title through)"
|
|
1080
|
+
},
|
|
1081
|
+
disabledField: {
|
|
1082
|
+
types: [
|
|
1083
|
+
"string"
|
|
1084
|
+
],
|
|
1085
|
+
description: "Row field that marks an item disabled (`true` dims the row and disables its click)"
|
|
909
1086
|
}
|
|
910
1087
|
}
|
|
911
1088
|
},
|
|
@@ -1106,27 +1283,84 @@ var patterns_registry_default = {
|
|
|
1106
1283
|
"object"
|
|
1107
1284
|
],
|
|
1108
1285
|
properties: {
|
|
1109
|
-
|
|
1286
|
+
name: {
|
|
1110
1287
|
types: [
|
|
1111
1288
|
"string"
|
|
1112
1289
|
]
|
|
1113
1290
|
},
|
|
1114
|
-
|
|
1291
|
+
label: {
|
|
1115
1292
|
types: [
|
|
1116
1293
|
"string"
|
|
1117
1294
|
]
|
|
1118
1295
|
},
|
|
1119
|
-
|
|
1296
|
+
icon: {
|
|
1120
1297
|
types: [
|
|
1298
|
+
"icon",
|
|
1121
1299
|
"string"
|
|
1122
1300
|
]
|
|
1123
1301
|
},
|
|
1124
|
-
|
|
1302
|
+
variant: {
|
|
1125
1303
|
types: [
|
|
1126
1304
|
"string"
|
|
1305
|
+
],
|
|
1306
|
+
enumValues: [
|
|
1307
|
+
"h3",
|
|
1308
|
+
"h4",
|
|
1309
|
+
"body",
|
|
1310
|
+
"caption",
|
|
1311
|
+
"badge",
|
|
1312
|
+
"small",
|
|
1313
|
+
"progress"
|
|
1127
1314
|
]
|
|
1315
|
+
},
|
|
1316
|
+
format: {
|
|
1317
|
+
types: [
|
|
1318
|
+
"string"
|
|
1319
|
+
],
|
|
1320
|
+
enumValues: [
|
|
1321
|
+
"date",
|
|
1322
|
+
"currency",
|
|
1323
|
+
"number",
|
|
1324
|
+
"boolean",
|
|
1325
|
+
"percent"
|
|
1326
|
+
]
|
|
1327
|
+
},
|
|
1328
|
+
colorMap: {
|
|
1329
|
+
types: [
|
|
1330
|
+
"object"
|
|
1331
|
+
],
|
|
1332
|
+
mapValue: {
|
|
1333
|
+
types: [
|
|
1334
|
+
"string"
|
|
1335
|
+
],
|
|
1336
|
+
enumValues: [
|
|
1337
|
+
"default",
|
|
1338
|
+
"primary",
|
|
1339
|
+
"secondary",
|
|
1340
|
+
"success",
|
|
1341
|
+
"warning",
|
|
1342
|
+
"danger",
|
|
1343
|
+
"error",
|
|
1344
|
+
"info",
|
|
1345
|
+
"neutral",
|
|
1346
|
+
"destructive"
|
|
1347
|
+
]
|
|
1348
|
+
}
|
|
1349
|
+
},
|
|
1350
|
+
labels: {
|
|
1351
|
+
types: [
|
|
1352
|
+
"object"
|
|
1353
|
+
],
|
|
1354
|
+
mapValue: {
|
|
1355
|
+
types: [
|
|
1356
|
+
"string"
|
|
1357
|
+
]
|
|
1358
|
+
}
|
|
1128
1359
|
}
|
|
1129
|
-
}
|
|
1360
|
+
},
|
|
1361
|
+
required: [
|
|
1362
|
+
"name"
|
|
1363
|
+
]
|
|
1130
1364
|
}
|
|
1131
1365
|
},
|
|
1132
1366
|
fieldNames: {
|
|
@@ -1151,29 +1385,106 @@ var patterns_registry_default = {
|
|
|
1151
1385
|
"object"
|
|
1152
1386
|
],
|
|
1153
1387
|
properties: {
|
|
1154
|
-
|
|
1388
|
+
name: {
|
|
1155
1389
|
types: [
|
|
1156
1390
|
"string"
|
|
1157
1391
|
]
|
|
1158
1392
|
},
|
|
1159
|
-
|
|
1393
|
+
label: {
|
|
1160
1394
|
types: [
|
|
1161
1395
|
"string"
|
|
1162
1396
|
]
|
|
1163
1397
|
},
|
|
1164
|
-
|
|
1398
|
+
icon: {
|
|
1165
1399
|
types: [
|
|
1400
|
+
"icon",
|
|
1166
1401
|
"string"
|
|
1167
1402
|
]
|
|
1168
1403
|
},
|
|
1169
|
-
|
|
1404
|
+
variant: {
|
|
1405
|
+
types: [
|
|
1406
|
+
"string"
|
|
1407
|
+
],
|
|
1408
|
+
enumValues: [
|
|
1409
|
+
"h3",
|
|
1410
|
+
"h4",
|
|
1411
|
+
"body",
|
|
1412
|
+
"caption",
|
|
1413
|
+
"badge",
|
|
1414
|
+
"small",
|
|
1415
|
+
"progress"
|
|
1416
|
+
]
|
|
1417
|
+
},
|
|
1418
|
+
format: {
|
|
1170
1419
|
types: [
|
|
1171
1420
|
"string"
|
|
1421
|
+
],
|
|
1422
|
+
enumValues: [
|
|
1423
|
+
"date",
|
|
1424
|
+
"currency",
|
|
1425
|
+
"number",
|
|
1426
|
+
"boolean",
|
|
1427
|
+
"percent"
|
|
1172
1428
|
]
|
|
1429
|
+
},
|
|
1430
|
+
colorMap: {
|
|
1431
|
+
types: [
|
|
1432
|
+
"object"
|
|
1433
|
+
],
|
|
1434
|
+
mapValue: {
|
|
1435
|
+
types: [
|
|
1436
|
+
"string"
|
|
1437
|
+
],
|
|
1438
|
+
enumValues: [
|
|
1439
|
+
"default",
|
|
1440
|
+
"primary",
|
|
1441
|
+
"secondary",
|
|
1442
|
+
"success",
|
|
1443
|
+
"warning",
|
|
1444
|
+
"danger",
|
|
1445
|
+
"error",
|
|
1446
|
+
"info",
|
|
1447
|
+
"neutral",
|
|
1448
|
+
"destructive"
|
|
1449
|
+
]
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
labels: {
|
|
1453
|
+
types: [
|
|
1454
|
+
"object"
|
|
1455
|
+
],
|
|
1456
|
+
mapValue: {
|
|
1457
|
+
types: [
|
|
1458
|
+
"string"
|
|
1459
|
+
]
|
|
1460
|
+
}
|
|
1173
1461
|
}
|
|
1174
|
-
}
|
|
1462
|
+
},
|
|
1463
|
+
required: [
|
|
1464
|
+
"name"
|
|
1465
|
+
]
|
|
1175
1466
|
}
|
|
1176
1467
|
},
|
|
1468
|
+
itemClickEvent: {
|
|
1469
|
+
types: [
|
|
1470
|
+
"string"
|
|
1471
|
+
],
|
|
1472
|
+
description: "When set, clicking a card emits UI:{itemClickEvent} with { id, row }. Omit = cards are not clickable.",
|
|
1473
|
+
kind: "event-ref",
|
|
1474
|
+
entityRowField: "row",
|
|
1475
|
+
emitPayloadSchema: [
|
|
1476
|
+
{
|
|
1477
|
+
name: "id",
|
|
1478
|
+
type: "string",
|
|
1479
|
+
required: true
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
name: "row",
|
|
1483
|
+
type: "@entity",
|
|
1484
|
+
required: true
|
|
1485
|
+
}
|
|
1486
|
+
]
|
|
1487
|
+
},
|
|
1177
1488
|
itemActions: {
|
|
1178
1489
|
types: [
|
|
1179
1490
|
"array"
|
|
@@ -1216,6 +1527,12 @@ var patterns_registry_default = {
|
|
|
1216
1527
|
types: [
|
|
1217
1528
|
"string"
|
|
1218
1529
|
]
|
|
1530
|
+
},
|
|
1531
|
+
when: {
|
|
1532
|
+
types: [
|
|
1533
|
+
"sexpr",
|
|
1534
|
+
"function"
|
|
1535
|
+
]
|
|
1219
1536
|
}
|
|
1220
1537
|
},
|
|
1221
1538
|
required: [
|
|
@@ -1553,6 +1870,12 @@ var patterns_registry_default = {
|
|
|
1553
1870
|
"ghost",
|
|
1554
1871
|
"danger"
|
|
1555
1872
|
]
|
|
1873
|
+
},
|
|
1874
|
+
when: {
|
|
1875
|
+
types: [
|
|
1876
|
+
"sexpr",
|
|
1877
|
+
"function"
|
|
1878
|
+
]
|
|
1556
1879
|
}
|
|
1557
1880
|
},
|
|
1558
1881
|
required: [
|
|
@@ -1610,12 +1933,25 @@ var patterns_registry_default = {
|
|
|
1610
1933
|
"ghost",
|
|
1611
1934
|
"danger"
|
|
1612
1935
|
]
|
|
1936
|
+
},
|
|
1937
|
+
when: {
|
|
1938
|
+
types: [
|
|
1939
|
+
"sexpr",
|
|
1940
|
+
"function"
|
|
1941
|
+
]
|
|
1613
1942
|
}
|
|
1614
1943
|
},
|
|
1615
1944
|
propertyRequired: [
|
|
1616
1945
|
"label"
|
|
1617
1946
|
]
|
|
1618
1947
|
},
|
|
1948
|
+
closeEvent: {
|
|
1949
|
+
types: [
|
|
1950
|
+
"string"
|
|
1951
|
+
],
|
|
1952
|
+
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.",
|
|
1953
|
+
kind: "event"
|
|
1954
|
+
},
|
|
1619
1955
|
footer: {
|
|
1620
1956
|
types: [
|
|
1621
1957
|
"node"
|
|
@@ -1633,7 +1969,7 @@ var patterns_registry_default = {
|
|
|
1633
1969
|
types: [
|
|
1634
1970
|
"array"
|
|
1635
1971
|
],
|
|
1636
|
-
description: "Fields to display
|
|
1972
|
+
description: "Fields to display: field names, or declared fields ({ name, label, variant, format, colorMap, labels })",
|
|
1637
1973
|
required: true,
|
|
1638
1974
|
items: {
|
|
1639
1975
|
types: [
|
|
@@ -1641,16 +1977,80 @@ var patterns_registry_default = {
|
|
|
1641
1977
|
"object"
|
|
1642
1978
|
],
|
|
1643
1979
|
properties: {
|
|
1644
|
-
|
|
1980
|
+
name: {
|
|
1645
1981
|
types: [
|
|
1646
1982
|
"string"
|
|
1647
1983
|
]
|
|
1648
1984
|
},
|
|
1649
|
-
|
|
1985
|
+
label: {
|
|
1650
1986
|
types: [
|
|
1651
1987
|
"string"
|
|
1652
1988
|
]
|
|
1653
1989
|
},
|
|
1990
|
+
icon: {
|
|
1991
|
+
types: [
|
|
1992
|
+
"icon",
|
|
1993
|
+
"string"
|
|
1994
|
+
]
|
|
1995
|
+
},
|
|
1996
|
+
variant: {
|
|
1997
|
+
types: [
|
|
1998
|
+
"string"
|
|
1999
|
+
],
|
|
2000
|
+
enumValues: [
|
|
2001
|
+
"h3",
|
|
2002
|
+
"h4",
|
|
2003
|
+
"body",
|
|
2004
|
+
"caption",
|
|
2005
|
+
"badge",
|
|
2006
|
+
"small",
|
|
2007
|
+
"progress"
|
|
2008
|
+
]
|
|
2009
|
+
},
|
|
2010
|
+
format: {
|
|
2011
|
+
types: [
|
|
2012
|
+
"string"
|
|
2013
|
+
],
|
|
2014
|
+
enumValues: [
|
|
2015
|
+
"date",
|
|
2016
|
+
"currency",
|
|
2017
|
+
"number",
|
|
2018
|
+
"boolean",
|
|
2019
|
+
"percent"
|
|
2020
|
+
]
|
|
2021
|
+
},
|
|
2022
|
+
colorMap: {
|
|
2023
|
+
types: [
|
|
2024
|
+
"object"
|
|
2025
|
+
],
|
|
2026
|
+
mapValue: {
|
|
2027
|
+
types: [
|
|
2028
|
+
"string"
|
|
2029
|
+
],
|
|
2030
|
+
enumValues: [
|
|
2031
|
+
"default",
|
|
2032
|
+
"primary",
|
|
2033
|
+
"secondary",
|
|
2034
|
+
"success",
|
|
2035
|
+
"warning",
|
|
2036
|
+
"danger",
|
|
2037
|
+
"error",
|
|
2038
|
+
"info",
|
|
2039
|
+
"neutral",
|
|
2040
|
+
"destructive"
|
|
2041
|
+
]
|
|
2042
|
+
}
|
|
2043
|
+
},
|
|
2044
|
+
labels: {
|
|
2045
|
+
types: [
|
|
2046
|
+
"object"
|
|
2047
|
+
],
|
|
2048
|
+
mapValue: {
|
|
2049
|
+
types: [
|
|
2050
|
+
"string"
|
|
2051
|
+
]
|
|
2052
|
+
}
|
|
2053
|
+
},
|
|
1654
2054
|
type: {
|
|
1655
2055
|
types: [
|
|
1656
2056
|
"string"
|
|
@@ -1695,7 +2095,7 @@ var patterns_registry_default = {
|
|
|
1695
2095
|
}
|
|
1696
2096
|
},
|
|
1697
2097
|
required: [
|
|
1698
|
-
"
|
|
2098
|
+
"name"
|
|
1699
2099
|
]
|
|
1700
2100
|
}
|
|
1701
2101
|
},
|
|
@@ -1823,6 +2223,13 @@ var patterns_registry_default = {
|
|
|
1823
2223
|
],
|
|
1824
2224
|
description: "Page title - accepts string or number from generated code accessing dynamic entity data"
|
|
1825
2225
|
},
|
|
2226
|
+
icon: {
|
|
2227
|
+
types: [
|
|
2228
|
+
"icon",
|
|
2229
|
+
"string"
|
|
2230
|
+
],
|
|
2231
|
+
description: "Icon shown before the title."
|
|
2232
|
+
},
|
|
1826
2233
|
subtitle: {
|
|
1827
2234
|
types: [
|
|
1828
2235
|
"string",
|
|
@@ -2235,6 +2642,16 @@ var patterns_registry_default = {
|
|
|
2235
2642
|
]
|
|
2236
2643
|
}
|
|
2237
2644
|
},
|
|
2645
|
+
labels: {
|
|
2646
|
+
types: [
|
|
2647
|
+
"object"
|
|
2648
|
+
],
|
|
2649
|
+
mapValue: {
|
|
2650
|
+
types: [
|
|
2651
|
+
"string"
|
|
2652
|
+
]
|
|
2653
|
+
}
|
|
2654
|
+
},
|
|
2238
2655
|
relation: {
|
|
2239
2656
|
types: [
|
|
2240
2657
|
"object"
|
|
@@ -2793,6 +3210,16 @@ var patterns_registry_default = {
|
|
|
2793
3210
|
]
|
|
2794
3211
|
}
|
|
2795
3212
|
},
|
|
3213
|
+
labels: {
|
|
3214
|
+
types: [
|
|
3215
|
+
"object"
|
|
3216
|
+
],
|
|
3217
|
+
mapValue: {
|
|
3218
|
+
types: [
|
|
3219
|
+
"string"
|
|
3220
|
+
]
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
2796
3223
|
relation: {
|
|
2797
3224
|
types: [
|
|
2798
3225
|
"object"
|
|
@@ -3152,6 +3579,16 @@ var patterns_registry_default = {
|
|
|
3152
3579
|
]
|
|
3153
3580
|
}
|
|
3154
3581
|
},
|
|
3582
|
+
labels: {
|
|
3583
|
+
types: [
|
|
3584
|
+
"object"
|
|
3585
|
+
],
|
|
3586
|
+
mapValue: {
|
|
3587
|
+
types: [
|
|
3588
|
+
"string"
|
|
3589
|
+
]
|
|
3590
|
+
}
|
|
3591
|
+
},
|
|
3155
3592
|
relation: {
|
|
3156
3593
|
types: [
|
|
3157
3594
|
"object"
|
|
@@ -3710,6 +4147,16 @@ var patterns_registry_default = {
|
|
|
3710
4147
|
]
|
|
3711
4148
|
}
|
|
3712
4149
|
},
|
|
4150
|
+
labels: {
|
|
4151
|
+
types: [
|
|
4152
|
+
"object"
|
|
4153
|
+
],
|
|
4154
|
+
mapValue: {
|
|
4155
|
+
types: [
|
|
4156
|
+
"string"
|
|
4157
|
+
]
|
|
4158
|
+
}
|
|
4159
|
+
},
|
|
3713
4160
|
relation: {
|
|
3714
4161
|
types: [
|
|
3715
4162
|
"object"
|
|
@@ -3910,6 +4357,7 @@ var patterns_registry_default = {
|
|
|
3910
4357
|
tier: "molecules",
|
|
3911
4358
|
family: "core",
|
|
3912
4359
|
description: "Search input with events",
|
|
4360
|
+
minUsableWidth: 160,
|
|
3913
4361
|
suggestedFor: [
|
|
3914
4362
|
"search functionality",
|
|
3915
4363
|
"quick filters"
|
|
@@ -6421,6 +6869,13 @@ var patterns_registry_default = {
|
|
|
6421
6869
|
"full-screen"
|
|
6422
6870
|
],
|
|
6423
6871
|
default: "centered-card"
|
|
6872
|
+
},
|
|
6873
|
+
contained: {
|
|
6874
|
+
types: [
|
|
6875
|
+
"boolean"
|
|
6876
|
+
],
|
|
6877
|
+
description: "Render inside the nearest positioned ancestor (a preview frame) instead of portaling over the whole window; page scroll is left alone.",
|
|
6878
|
+
default: false
|
|
6424
6879
|
}
|
|
6425
6880
|
}
|
|
6426
6881
|
},
|
|
@@ -6445,6 +6900,21 @@ var patterns_registry_default = {
|
|
|
6445
6900
|
description: "Whether the drawer is open (defaults to true when rendered by slot wrapper)",
|
|
6446
6901
|
default: true
|
|
6447
6902
|
},
|
|
6903
|
+
onExited: {
|
|
6904
|
+
types: [
|
|
6905
|
+
"function"
|
|
6906
|
+
],
|
|
6907
|
+
description: "Fires after the exit animation completes (the drawer is about to unmount).",
|
|
6908
|
+
kind: "callback",
|
|
6909
|
+
callbackArgs: []
|
|
6910
|
+
},
|
|
6911
|
+
contained: {
|
|
6912
|
+
types: [
|
|
6913
|
+
"boolean"
|
|
6914
|
+
],
|
|
6915
|
+
description: "Render inside the nearest positioned ancestor (a preview frame) instead of over the window.",
|
|
6916
|
+
default: false
|
|
6917
|
+
},
|
|
6448
6918
|
onClose: {
|
|
6449
6919
|
types: [
|
|
6450
6920
|
"function"
|
|
@@ -6554,6 +7024,14 @@ var patterns_registry_default = {
|
|
|
6554
7024
|
kind: "callback",
|
|
6555
7025
|
callbackArgs: []
|
|
6556
7026
|
},
|
|
7027
|
+
onExited: {
|
|
7028
|
+
types: [
|
|
7029
|
+
"function"
|
|
7030
|
+
],
|
|
7031
|
+
description: "Fires after the exit animation completes (the dialog is about to unmount).",
|
|
7032
|
+
kind: "callback",
|
|
7033
|
+
callbackArgs: []
|
|
7034
|
+
},
|
|
6557
7035
|
onConfirm: {
|
|
6558
7036
|
types: [
|
|
6559
7037
|
"function"
|
|
@@ -9238,6 +9716,13 @@ var patterns_registry_default = {
|
|
|
9238
9716
|
],
|
|
9239
9717
|
description: "actions prop"
|
|
9240
9718
|
},
|
|
9719
|
+
icon: {
|
|
9720
|
+
types: [
|
|
9721
|
+
"icon",
|
|
9722
|
+
"string"
|
|
9723
|
+
],
|
|
9724
|
+
description: "Icon shown instead of the variant's default (Lucide name or component)"
|
|
9725
|
+
},
|
|
9241
9726
|
className: {
|
|
9242
9727
|
types: [
|
|
9243
9728
|
"string"
|
|
@@ -9443,6 +9928,15 @@ var patterns_registry_default = {
|
|
|
9443
9928
|
"object"
|
|
9444
9929
|
],
|
|
9445
9930
|
properties: {
|
|
9931
|
+
type: {
|
|
9932
|
+
types: [
|
|
9933
|
+
"string"
|
|
9934
|
+
],
|
|
9935
|
+
enumValues: [
|
|
9936
|
+
"item",
|
|
9937
|
+
"divider"
|
|
9938
|
+
]
|
|
9939
|
+
},
|
|
9446
9940
|
id: {
|
|
9447
9941
|
types: [
|
|
9448
9942
|
"string"
|
|
@@ -10470,6 +10964,12 @@ var patterns_registry_default = {
|
|
|
10470
10964
|
],
|
|
10471
10965
|
description: "Role for accessibility"
|
|
10472
10966
|
},
|
|
10967
|
+
id: {
|
|
10968
|
+
types: [
|
|
10969
|
+
"string"
|
|
10970
|
+
],
|
|
10971
|
+
description: "Element id"
|
|
10972
|
+
},
|
|
10473
10973
|
tabIndex: {
|
|
10474
10974
|
types: [
|
|
10475
10975
|
"number"
|
|
@@ -10807,6 +11307,12 @@ var patterns_registry_default = {
|
|
|
10807
11307
|
]
|
|
10808
11308
|
}
|
|
10809
11309
|
},
|
|
11310
|
+
role: {
|
|
11311
|
+
types: [
|
|
11312
|
+
"string"
|
|
11313
|
+
],
|
|
11314
|
+
description: "Accessibility role"
|
|
11315
|
+
},
|
|
10810
11316
|
format: {
|
|
10811
11317
|
types: [
|
|
10812
11318
|
"string"
|
|
@@ -13418,8 +13924,7 @@ var patterns_registry_default = {
|
|
|
13418
13924
|
types: [
|
|
13419
13925
|
"string"
|
|
13420
13926
|
],
|
|
13421
|
-
description: "App name"
|
|
13422
|
-
default: "My App"
|
|
13927
|
+
description: "App name"
|
|
13423
13928
|
},
|
|
13424
13929
|
logo: {
|
|
13425
13930
|
types: [
|
|
@@ -13566,8 +14071,7 @@ var patterns_registry_default = {
|
|
|
13566
14071
|
types: [
|
|
13567
14072
|
"string"
|
|
13568
14073
|
],
|
|
13569
|
-
description: "Title displayed above the counter"
|
|
13570
|
-
default: "Counter"
|
|
14074
|
+
description: "Title displayed above the counter"
|
|
13571
14075
|
},
|
|
13572
14076
|
showReset: {
|
|
13573
14077
|
types: [
|
|
@@ -13619,8 +14123,7 @@ var patterns_registry_default = {
|
|
|
13619
14123
|
types: [
|
|
13620
14124
|
"string"
|
|
13621
14125
|
],
|
|
13622
|
-
description: "App name shown in sidebar"
|
|
13623
|
-
default: "{{APP_TITLE}}"
|
|
14126
|
+
description: "App name shown in sidebar"
|
|
13624
14127
|
},
|
|
13625
14128
|
logo: {
|
|
13626
14129
|
types: [
|
|
@@ -13995,8 +14498,7 @@ var patterns_registry_default = {
|
|
|
13995
14498
|
types: [
|
|
13996
14499
|
"string"
|
|
13997
14500
|
],
|
|
13998
|
-
description: "Application / game title shown as a floating chip"
|
|
13999
|
-
default: "Game"
|
|
14501
|
+
description: "Application / game title shown as a floating chip"
|
|
14000
14502
|
},
|
|
14001
14503
|
hud: {
|
|
14002
14504
|
types: [
|
|
@@ -14500,6 +15002,19 @@ var patterns_registry_default = {
|
|
|
14500
15002
|
description: 'Format X-axis labels as time (ISO date in \u2192 "Mar 2026"-style label out)',
|
|
14501
15003
|
default: false
|
|
14502
15004
|
},
|
|
15005
|
+
period: {
|
|
15006
|
+
types: [
|
|
15007
|
+
"string"
|
|
15008
|
+
],
|
|
15009
|
+
description: 'Bucket granularity of a time axis \u2014 labels read "Oct 2", "Week of Sep 28", "Oct 2026", "Q4 2026" or "2026"',
|
|
15010
|
+
enumValues: [
|
|
15011
|
+
"day",
|
|
15012
|
+
"week",
|
|
15013
|
+
"month",
|
|
15014
|
+
"quarter",
|
|
15015
|
+
"year"
|
|
15016
|
+
]
|
|
15017
|
+
},
|
|
14503
15018
|
drillEvent: {
|
|
14504
15019
|
types: [
|
|
14505
15020
|
"string"
|
|
@@ -14946,14 +15461,37 @@ var patterns_registry_default = {
|
|
|
14946
15461
|
types: [
|
|
14947
15462
|
"array"
|
|
14948
15463
|
],
|
|
14949
|
-
description: "
|
|
14950
|
-
required: true,
|
|
15464
|
+
description: "Entity fields the timeline draws; each slot is named by its own `*Field` prop.",
|
|
14951
15465
|
items: {
|
|
14952
15466
|
types: [
|
|
14953
15467
|
"string"
|
|
14954
15468
|
]
|
|
14955
15469
|
}
|
|
14956
15470
|
},
|
|
15471
|
+
titleField: {
|
|
15472
|
+
types: [
|
|
15473
|
+
"string"
|
|
15474
|
+
],
|
|
15475
|
+
description: "Entity field holding each item's title."
|
|
15476
|
+
},
|
|
15477
|
+
descriptionField: {
|
|
15478
|
+
types: [
|
|
15479
|
+
"string"
|
|
15480
|
+
],
|
|
15481
|
+
description: "Entity field holding each item's description."
|
|
15482
|
+
},
|
|
15483
|
+
dateField: {
|
|
15484
|
+
types: [
|
|
15485
|
+
"string"
|
|
15486
|
+
],
|
|
15487
|
+
description: "Entity field holding each item's date."
|
|
15488
|
+
},
|
|
15489
|
+
statusField: {
|
|
15490
|
+
types: [
|
|
15491
|
+
"string"
|
|
15492
|
+
],
|
|
15493
|
+
description: "Entity field holding each item's status (complete | active | pending | error)."
|
|
15494
|
+
},
|
|
14957
15495
|
itemActions: {
|
|
14958
15496
|
types: [
|
|
14959
15497
|
"array"
|
|
@@ -15322,6 +15860,20 @@ var patterns_registry_default = {
|
|
|
15322
15860
|
"portrait"
|
|
15323
15861
|
],
|
|
15324
15862
|
default: "square"
|
|
15863
|
+
},
|
|
15864
|
+
srcField: {
|
|
15865
|
+
types: [
|
|
15866
|
+
"string"
|
|
15867
|
+
],
|
|
15868
|
+
description: "Record field holding each image's URL (entity mode). Default `src`.",
|
|
15869
|
+
default: "src"
|
|
15870
|
+
},
|
|
15871
|
+
captionField: {
|
|
15872
|
+
types: [
|
|
15873
|
+
"string"
|
|
15874
|
+
],
|
|
15875
|
+
description: "Record field holding each image's caption (entity mode). Default `caption`.",
|
|
15876
|
+
default: "caption"
|
|
15325
15877
|
}
|
|
15326
15878
|
}
|
|
15327
15879
|
},
|
|
@@ -17827,6 +18379,52 @@ var patterns_registry_default = {
|
|
|
17827
18379
|
}
|
|
17828
18380
|
]
|
|
17829
18381
|
},
|
|
18382
|
+
onTransitionClick: {
|
|
18383
|
+
types: [
|
|
18384
|
+
"function"
|
|
18385
|
+
],
|
|
18386
|
+
description: "Direct transition-click callback, for React hosts (e.g. a canvas node).",
|
|
18387
|
+
kind: "callback",
|
|
18388
|
+
callbackArgs: [
|
|
18389
|
+
{
|
|
18390
|
+
name: "transition",
|
|
18391
|
+
type: "object",
|
|
18392
|
+
schema: {
|
|
18393
|
+
types: [
|
|
18394
|
+
"object"
|
|
18395
|
+
],
|
|
18396
|
+
properties: {
|
|
18397
|
+
index: {
|
|
18398
|
+
types: [
|
|
18399
|
+
"number"
|
|
18400
|
+
]
|
|
18401
|
+
},
|
|
18402
|
+
event: {
|
|
18403
|
+
types: [
|
|
18404
|
+
"string"
|
|
18405
|
+
]
|
|
18406
|
+
},
|
|
18407
|
+
from: {
|
|
18408
|
+
types: [
|
|
18409
|
+
"string"
|
|
18410
|
+
]
|
|
18411
|
+
},
|
|
18412
|
+
to: {
|
|
18413
|
+
types: [
|
|
18414
|
+
"string"
|
|
18415
|
+
]
|
|
18416
|
+
}
|
|
18417
|
+
},
|
|
18418
|
+
required: [
|
|
18419
|
+
"index",
|
|
18420
|
+
"event",
|
|
18421
|
+
"from",
|
|
18422
|
+
"to"
|
|
18423
|
+
]
|
|
18424
|
+
}
|
|
18425
|
+
}
|
|
18426
|
+
]
|
|
18427
|
+
},
|
|
17830
18428
|
selectedState: {
|
|
17831
18429
|
types: [
|
|
17832
18430
|
"string"
|
|
@@ -18248,6 +18846,44 @@ var patterns_registry_default = {
|
|
|
18248
18846
|
],
|
|
18249
18847
|
description: "Whether this slot contains an event",
|
|
18250
18848
|
default: false
|
|
18849
|
+
},
|
|
18850
|
+
onPointerDown: {
|
|
18851
|
+
types: [
|
|
18852
|
+
"function"
|
|
18853
|
+
],
|
|
18854
|
+
description: "onPointerDown prop",
|
|
18855
|
+
kind: "callback",
|
|
18856
|
+
callbackArgs: []
|
|
18857
|
+
},
|
|
18858
|
+
onPointerUp: {
|
|
18859
|
+
types: [
|
|
18860
|
+
"function"
|
|
18861
|
+
],
|
|
18862
|
+
description: "onPointerUp prop",
|
|
18863
|
+
kind: "callback",
|
|
18864
|
+
callbackArgs: []
|
|
18865
|
+
},
|
|
18866
|
+
onPointerCancel: {
|
|
18867
|
+
types: [
|
|
18868
|
+
"function"
|
|
18869
|
+
],
|
|
18870
|
+
description: "onPointerCancel prop",
|
|
18871
|
+
kind: "callback",
|
|
18872
|
+
callbackArgs: []
|
|
18873
|
+
},
|
|
18874
|
+
onPointerLeave: {
|
|
18875
|
+
types: [
|
|
18876
|
+
"function"
|
|
18877
|
+
],
|
|
18878
|
+
description: "onPointerLeave prop",
|
|
18879
|
+
kind: "callback",
|
|
18880
|
+
callbackArgs: []
|
|
18881
|
+
},
|
|
18882
|
+
"data-testid": {
|
|
18883
|
+
types: [
|
|
18884
|
+
"string"
|
|
18885
|
+
],
|
|
18886
|
+
description: "data-testid prop"
|
|
18251
18887
|
}
|
|
18252
18888
|
}
|
|
18253
18889
|
},
|
|
@@ -19107,6 +19743,7 @@ var patterns_registry_default = {
|
|
|
19107
19743
|
description: "DataGrid \u2014 structured records grid rendering rows over configurable columns, with sort, select, and drag-reorder.",
|
|
19108
19744
|
capabilities: "admin table, records grid, user list, CRUD list, manage-records view, spreadsheet-style data grid, sortable columns",
|
|
19109
19745
|
fieldsContract: "display",
|
|
19746
|
+
minUsableWidth: 200,
|
|
19110
19747
|
suggestedFor: [
|
|
19111
19748
|
"data",
|
|
19112
19749
|
"grid",
|
|
@@ -19162,6 +19799,47 @@ var patterns_registry_default = {
|
|
|
19162
19799
|
],
|
|
19163
19800
|
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."
|
|
19164
19801
|
},
|
|
19802
|
+
emptyIcon: {
|
|
19803
|
+
types: [
|
|
19804
|
+
"icon",
|
|
19805
|
+
"string"
|
|
19806
|
+
],
|
|
19807
|
+
description: "Domain icon for the empty state."
|
|
19808
|
+
},
|
|
19809
|
+
emptyTitle: {
|
|
19810
|
+
types: [
|
|
19811
|
+
"string"
|
|
19812
|
+
],
|
|
19813
|
+
description: 'Specific title ("No orders yet").'
|
|
19814
|
+
},
|
|
19815
|
+
emptyDescription: {
|
|
19816
|
+
types: [
|
|
19817
|
+
"string"
|
|
19818
|
+
],
|
|
19819
|
+
description: "What will appear here once rows exist."
|
|
19820
|
+
},
|
|
19821
|
+
emptyAction: {
|
|
19822
|
+
types: [
|
|
19823
|
+
"object"
|
|
19824
|
+
],
|
|
19825
|
+
description: "Create-the-first-item action.",
|
|
19826
|
+
properties: {
|
|
19827
|
+
label: {
|
|
19828
|
+
types: [
|
|
19829
|
+
"string"
|
|
19830
|
+
]
|
|
19831
|
+
},
|
|
19832
|
+
event: {
|
|
19833
|
+
types: [
|
|
19834
|
+
"string"
|
|
19835
|
+
],
|
|
19836
|
+
kind: "event"
|
|
19837
|
+
}
|
|
19838
|
+
},
|
|
19839
|
+
propertyRequired: [
|
|
19840
|
+
"label"
|
|
19841
|
+
]
|
|
19842
|
+
},
|
|
19165
19843
|
entity: {
|
|
19166
19844
|
types: [
|
|
19167
19845
|
"object",
|
|
@@ -19225,6 +19903,28 @@ var patterns_registry_default = {
|
|
|
19225
19903
|
]
|
|
19226
19904
|
},
|
|
19227
19905
|
colorMap: {
|
|
19906
|
+
types: [
|
|
19907
|
+
"object"
|
|
19908
|
+
],
|
|
19909
|
+
mapValue: {
|
|
19910
|
+
types: [
|
|
19911
|
+
"string"
|
|
19912
|
+
],
|
|
19913
|
+
enumValues: [
|
|
19914
|
+
"default",
|
|
19915
|
+
"primary",
|
|
19916
|
+
"secondary",
|
|
19917
|
+
"success",
|
|
19918
|
+
"warning",
|
|
19919
|
+
"danger",
|
|
19920
|
+
"error",
|
|
19921
|
+
"info",
|
|
19922
|
+
"neutral",
|
|
19923
|
+
"destructive"
|
|
19924
|
+
]
|
|
19925
|
+
}
|
|
19926
|
+
},
|
|
19927
|
+
labels: {
|
|
19228
19928
|
types: [
|
|
19229
19929
|
"object"
|
|
19230
19930
|
],
|
|
@@ -19293,6 +19993,28 @@ var patterns_registry_default = {
|
|
|
19293
19993
|
]
|
|
19294
19994
|
},
|
|
19295
19995
|
colorMap: {
|
|
19996
|
+
types: [
|
|
19997
|
+
"object"
|
|
19998
|
+
],
|
|
19999
|
+
mapValue: {
|
|
20000
|
+
types: [
|
|
20001
|
+
"string"
|
|
20002
|
+
],
|
|
20003
|
+
enumValues: [
|
|
20004
|
+
"default",
|
|
20005
|
+
"primary",
|
|
20006
|
+
"secondary",
|
|
20007
|
+
"success",
|
|
20008
|
+
"warning",
|
|
20009
|
+
"danger",
|
|
20010
|
+
"error",
|
|
20011
|
+
"info",
|
|
20012
|
+
"neutral",
|
|
20013
|
+
"destructive"
|
|
20014
|
+
]
|
|
20015
|
+
}
|
|
20016
|
+
},
|
|
20017
|
+
labels: {
|
|
19296
20018
|
types: [
|
|
19297
20019
|
"object"
|
|
19298
20020
|
],
|
|
@@ -19352,6 +20074,12 @@ var patterns_registry_default = {
|
|
|
19352
20074
|
"ghost",
|
|
19353
20075
|
"danger"
|
|
19354
20076
|
]
|
|
20077
|
+
},
|
|
20078
|
+
when: {
|
|
20079
|
+
types: [
|
|
20080
|
+
"sexpr",
|
|
20081
|
+
"function"
|
|
20082
|
+
]
|
|
19355
20083
|
}
|
|
19356
20084
|
},
|
|
19357
20085
|
required: [
|
|
@@ -19359,6 +20087,26 @@ var patterns_registry_default = {
|
|
|
19359
20087
|
]
|
|
19360
20088
|
}
|
|
19361
20089
|
},
|
|
20090
|
+
itemClickEvent: {
|
|
20091
|
+
types: [
|
|
20092
|
+
"string"
|
|
20093
|
+
],
|
|
20094
|
+
description: "When set, clicking a card emits UI:{itemClickEvent} with { id, row }. Omit = cards are not clickable.",
|
|
20095
|
+
kind: "event-ref",
|
|
20096
|
+
entityRowField: "row",
|
|
20097
|
+
emitPayloadSchema: [
|
|
20098
|
+
{
|
|
20099
|
+
name: "id",
|
|
20100
|
+
type: "string",
|
|
20101
|
+
required: true
|
|
20102
|
+
},
|
|
20103
|
+
{
|
|
20104
|
+
name: "row",
|
|
20105
|
+
type: "@entity",
|
|
20106
|
+
required: true
|
|
20107
|
+
}
|
|
20108
|
+
]
|
|
20109
|
+
},
|
|
19362
20110
|
maxInlineActions: {
|
|
19363
20111
|
types: [
|
|
19364
20112
|
"number"
|
|
@@ -19615,6 +20363,7 @@ var patterns_registry_default = {
|
|
|
19615
20363
|
family: "core",
|
|
19616
20364
|
description: "DataList component",
|
|
19617
20365
|
fieldsContract: "display",
|
|
20366
|
+
minUsableWidth: 200,
|
|
19618
20367
|
suggestedFor: [
|
|
19619
20368
|
"data",
|
|
19620
20369
|
"list",
|
|
@@ -19671,6 +20420,47 @@ var patterns_registry_default = {
|
|
|
19671
20420
|
],
|
|
19672
20421
|
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."
|
|
19673
20422
|
},
|
|
20423
|
+
emptyIcon: {
|
|
20424
|
+
types: [
|
|
20425
|
+
"icon",
|
|
20426
|
+
"string"
|
|
20427
|
+
],
|
|
20428
|
+
description: "Domain icon for the empty state."
|
|
20429
|
+
},
|
|
20430
|
+
emptyTitle: {
|
|
20431
|
+
types: [
|
|
20432
|
+
"string"
|
|
20433
|
+
],
|
|
20434
|
+
description: 'Specific title ("No orders yet").'
|
|
20435
|
+
},
|
|
20436
|
+
emptyDescription: {
|
|
20437
|
+
types: [
|
|
20438
|
+
"string"
|
|
20439
|
+
],
|
|
20440
|
+
description: "What will appear here once rows exist."
|
|
20441
|
+
},
|
|
20442
|
+
emptyAction: {
|
|
20443
|
+
types: [
|
|
20444
|
+
"object"
|
|
20445
|
+
],
|
|
20446
|
+
description: "Create-the-first-item action.",
|
|
20447
|
+
properties: {
|
|
20448
|
+
label: {
|
|
20449
|
+
types: [
|
|
20450
|
+
"string"
|
|
20451
|
+
]
|
|
20452
|
+
},
|
|
20453
|
+
event: {
|
|
20454
|
+
types: [
|
|
20455
|
+
"string"
|
|
20456
|
+
],
|
|
20457
|
+
kind: "event"
|
|
20458
|
+
}
|
|
20459
|
+
},
|
|
20460
|
+
propertyRequired: [
|
|
20461
|
+
"label"
|
|
20462
|
+
]
|
|
20463
|
+
},
|
|
19674
20464
|
entity: {
|
|
19675
20465
|
types: [
|
|
19676
20466
|
"object",
|
|
@@ -19732,6 +20522,38 @@ var patterns_registry_default = {
|
|
|
19732
20522
|
"boolean",
|
|
19733
20523
|
"percent"
|
|
19734
20524
|
]
|
|
20525
|
+
},
|
|
20526
|
+
colorMap: {
|
|
20527
|
+
types: [
|
|
20528
|
+
"object"
|
|
20529
|
+
],
|
|
20530
|
+
mapValue: {
|
|
20531
|
+
types: [
|
|
20532
|
+
"string"
|
|
20533
|
+
],
|
|
20534
|
+
enumValues: [
|
|
20535
|
+
"default",
|
|
20536
|
+
"primary",
|
|
20537
|
+
"secondary",
|
|
20538
|
+
"success",
|
|
20539
|
+
"warning",
|
|
20540
|
+
"danger",
|
|
20541
|
+
"error",
|
|
20542
|
+
"info",
|
|
20543
|
+
"neutral",
|
|
20544
|
+
"destructive"
|
|
20545
|
+
]
|
|
20546
|
+
}
|
|
20547
|
+
},
|
|
20548
|
+
labels: {
|
|
20549
|
+
types: [
|
|
20550
|
+
"object"
|
|
20551
|
+
],
|
|
20552
|
+
mapValue: {
|
|
20553
|
+
types: [
|
|
20554
|
+
"string"
|
|
20555
|
+
]
|
|
20556
|
+
}
|
|
19735
20557
|
}
|
|
19736
20558
|
},
|
|
19737
20559
|
required: [
|
|
@@ -19790,6 +20612,38 @@ var patterns_registry_default = {
|
|
|
19790
20612
|
"boolean",
|
|
19791
20613
|
"percent"
|
|
19792
20614
|
]
|
|
20615
|
+
},
|
|
20616
|
+
colorMap: {
|
|
20617
|
+
types: [
|
|
20618
|
+
"object"
|
|
20619
|
+
],
|
|
20620
|
+
mapValue: {
|
|
20621
|
+
types: [
|
|
20622
|
+
"string"
|
|
20623
|
+
],
|
|
20624
|
+
enumValues: [
|
|
20625
|
+
"default",
|
|
20626
|
+
"primary",
|
|
20627
|
+
"secondary",
|
|
20628
|
+
"success",
|
|
20629
|
+
"warning",
|
|
20630
|
+
"danger",
|
|
20631
|
+
"error",
|
|
20632
|
+
"info",
|
|
20633
|
+
"neutral",
|
|
20634
|
+
"destructive"
|
|
20635
|
+
]
|
|
20636
|
+
}
|
|
20637
|
+
},
|
|
20638
|
+
labels: {
|
|
20639
|
+
types: [
|
|
20640
|
+
"object"
|
|
20641
|
+
],
|
|
20642
|
+
mapValue: {
|
|
20643
|
+
types: [
|
|
20644
|
+
"string"
|
|
20645
|
+
]
|
|
20646
|
+
}
|
|
19793
20647
|
}
|
|
19794
20648
|
},
|
|
19795
20649
|
required: [
|
|
@@ -19836,6 +20690,12 @@ var patterns_registry_default = {
|
|
|
19836
20690
|
"ghost",
|
|
19837
20691
|
"danger"
|
|
19838
20692
|
]
|
|
20693
|
+
},
|
|
20694
|
+
when: {
|
|
20695
|
+
types: [
|
|
20696
|
+
"sexpr",
|
|
20697
|
+
"function"
|
|
20698
|
+
]
|
|
19839
20699
|
}
|
|
19840
20700
|
},
|
|
19841
20701
|
required: [
|
|
@@ -21299,7 +22159,7 @@ var patterns_registry_default = {
|
|
|
21299
22159
|
types: [
|
|
21300
22160
|
"string"
|
|
21301
22161
|
],
|
|
21302
|
-
description: `"number" (locale grouping), "currency" (
|
|
22162
|
+
description: `"number" (locale grouping), "currency" (locale currency), "percent" (rounded %). Unset keeps the value's own decimals.`
|
|
21303
22163
|
},
|
|
21304
22164
|
className: {
|
|
21305
22165
|
types: [
|
|
@@ -21860,14 +22720,19 @@ var patterns_registry_default = {
|
|
|
21860
22720
|
],
|
|
21861
22721
|
eventPayloadBrand: true,
|
|
21862
22722
|
payloadFor: "event"
|
|
22723
|
+
},
|
|
22724
|
+
when: {
|
|
22725
|
+
types: [
|
|
22726
|
+
"sexpr",
|
|
22727
|
+
"function"
|
|
22728
|
+
]
|
|
21863
22729
|
}
|
|
21864
22730
|
},
|
|
21865
22731
|
required: [
|
|
21866
22732
|
"label",
|
|
21867
22733
|
"event"
|
|
21868
22734
|
]
|
|
21869
|
-
}
|
|
21870
|
-
default: []
|
|
22735
|
+
}
|
|
21871
22736
|
},
|
|
21872
22737
|
rightActions: {
|
|
21873
22738
|
types: [
|
|
@@ -21915,14 +22780,19 @@ var patterns_registry_default = {
|
|
|
21915
22780
|
],
|
|
21916
22781
|
eventPayloadBrand: true,
|
|
21917
22782
|
payloadFor: "event"
|
|
22783
|
+
},
|
|
22784
|
+
when: {
|
|
22785
|
+
types: [
|
|
22786
|
+
"sexpr",
|
|
22787
|
+
"function"
|
|
22788
|
+
]
|
|
21918
22789
|
}
|
|
21919
22790
|
},
|
|
21920
22791
|
required: [
|
|
21921
22792
|
"label",
|
|
21922
22793
|
"event"
|
|
21923
22794
|
]
|
|
21924
|
-
}
|
|
21925
|
-
default: []
|
|
22795
|
+
}
|
|
21926
22796
|
},
|
|
21927
22797
|
threshold: {
|
|
21928
22798
|
types: [
|
|
@@ -22279,8 +23149,7 @@ var patterns_registry_default = {
|
|
|
22279
23149
|
types: [
|
|
22280
23150
|
"string"
|
|
22281
23151
|
],
|
|
22282
|
-
description: "Label for the link button"
|
|
22283
|
-
default: "Learn more"
|
|
23152
|
+
description: "Label for the link button"
|
|
22284
23153
|
},
|
|
22285
23154
|
variant: {
|
|
22286
23155
|
types: [
|
|
@@ -22959,6 +23828,12 @@ var patterns_registry_default = {
|
|
|
22959
23828
|
propertyRequired: [
|
|
22960
23829
|
"enabled"
|
|
22961
23830
|
]
|
|
23831
|
+
},
|
|
23832
|
+
pageKey: {
|
|
23833
|
+
types: [
|
|
23834
|
+
"string"
|
|
23835
|
+
],
|
|
23836
|
+
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."
|
|
22962
23837
|
}
|
|
22963
23838
|
}
|
|
22964
23839
|
},
|
|
@@ -23391,7 +24266,7 @@ var patterns_registry_default = {
|
|
|
23391
24266
|
types: [
|
|
23392
24267
|
"array"
|
|
23393
24268
|
],
|
|
23394
|
-
description: "Scale points (defaults to a 5-point agree/disagree set)",
|
|
24269
|
+
description: "Scale points (defaults to a translated 5-point agree/disagree set)",
|
|
23395
24270
|
items: {
|
|
23396
24271
|
types: [
|
|
23397
24272
|
"object"
|
|
@@ -25014,8 +25889,7 @@ var patterns_registry_default = {
|
|
|
25014
25889
|
"string"
|
|
25015
25890
|
],
|
|
25016
25891
|
description: "Choice text content",
|
|
25017
|
-
required: true
|
|
25018
|
-
default: "Charge forward into the fray"
|
|
25892
|
+
required: true
|
|
25019
25893
|
},
|
|
25020
25894
|
index: {
|
|
25021
25895
|
types: [
|
|
@@ -25392,16 +26266,14 @@ var patterns_registry_default = {
|
|
|
25392
26266
|
types: [
|
|
25393
26267
|
"string"
|
|
25394
26268
|
],
|
|
25395
|
-
description: "Speaker name displayed at the top"
|
|
25396
|
-
default: "Hero"
|
|
26269
|
+
description: "Speaker name displayed at the top"
|
|
25397
26270
|
},
|
|
25398
26271
|
text: {
|
|
25399
26272
|
types: [
|
|
25400
26273
|
"string"
|
|
25401
26274
|
],
|
|
25402
26275
|
description: "Dialogue text content",
|
|
25403
|
-
required: true
|
|
25404
|
-
default: "The dungeon awaits. Choose your path wisely."
|
|
26276
|
+
required: true
|
|
25405
26277
|
},
|
|
25406
26278
|
portrait: {
|
|
25407
26279
|
types: [
|
|
@@ -25985,8 +26857,7 @@ var patterns_registry_default = {
|
|
|
25985
26857
|
types: [
|
|
25986
26858
|
"string"
|
|
25987
26859
|
],
|
|
25988
|
-
description: "Number formatting locale"
|
|
25989
|
-
default: "en-US"
|
|
26860
|
+
description: "Number formatting locale"
|
|
25990
26861
|
}
|
|
25991
26862
|
}
|
|
25992
26863
|
},
|
|
@@ -29479,8 +30350,7 @@ var patterns_registry_default = {
|
|
|
29479
30350
|
"string"
|
|
29480
30351
|
],
|
|
29481
30352
|
description: "Menu title",
|
|
29482
|
-
required: true
|
|
29483
|
-
default: "Epic Quest"
|
|
30353
|
+
required: true
|
|
29484
30354
|
},
|
|
29485
30355
|
subtitle: {
|
|
29486
30356
|
types: [
|
|
@@ -33177,7 +34047,7 @@ var patterns_registry_default = {
|
|
|
33177
34047
|
types: [
|
|
33178
34048
|
"array"
|
|
33179
34049
|
],
|
|
33180
|
-
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.",
|
|
34050
|
+
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.",
|
|
33181
34051
|
items: {
|
|
33182
34052
|
types: [
|
|
33183
34053
|
"object"
|
|
@@ -33226,15 +34096,13 @@ var patterns_registry_default = {
|
|
|
33226
34096
|
types: [
|
|
33227
34097
|
"string"
|
|
33228
34098
|
],
|
|
33229
|
-
description: "From-input label."
|
|
33230
|
-
default: "From"
|
|
34099
|
+
description: "From-input label."
|
|
33231
34100
|
},
|
|
33232
34101
|
toLabel: {
|
|
33233
34102
|
types: [
|
|
33234
34103
|
"string"
|
|
33235
34104
|
],
|
|
33236
|
-
description: "To-input label."
|
|
33237
|
-
default: "To"
|
|
34105
|
+
description: "To-input label."
|
|
33238
34106
|
},
|
|
33239
34107
|
className: {
|
|
33240
34108
|
types: [
|
|
@@ -33470,6 +34338,7 @@ var patterns_registry_default = {
|
|
|
33470
34338
|
description: "TableView \u2014 sortable, selectable data table rendering rows over configurable columns, with inline row actions and grouping.",
|
|
33471
34339
|
capabilities: "admin console table, records list, CRUD data table, user list, manage-users grid, sortable columns, row selection with bulk actions, grouped list view",
|
|
33472
34340
|
fieldsContract: "display",
|
|
34341
|
+
minUsableWidth: 240,
|
|
33473
34342
|
suggestedFor: [
|
|
33474
34343
|
"table",
|
|
33475
34344
|
"view",
|
|
@@ -33525,6 +34394,47 @@ var patterns_registry_default = {
|
|
|
33525
34394
|
],
|
|
33526
34395
|
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."
|
|
33527
34396
|
},
|
|
34397
|
+
emptyIcon: {
|
|
34398
|
+
types: [
|
|
34399
|
+
"icon",
|
|
34400
|
+
"string"
|
|
34401
|
+
],
|
|
34402
|
+
description: "Domain icon for the empty state."
|
|
34403
|
+
},
|
|
34404
|
+
emptyTitle: {
|
|
34405
|
+
types: [
|
|
34406
|
+
"string"
|
|
34407
|
+
],
|
|
34408
|
+
description: 'Specific title ("No orders yet").'
|
|
34409
|
+
},
|
|
34410
|
+
emptyDescription: {
|
|
34411
|
+
types: [
|
|
34412
|
+
"string"
|
|
34413
|
+
],
|
|
34414
|
+
description: "What will appear here once rows exist."
|
|
34415
|
+
},
|
|
34416
|
+
emptyAction: {
|
|
34417
|
+
types: [
|
|
34418
|
+
"object"
|
|
34419
|
+
],
|
|
34420
|
+
description: "Create-the-first-item action.",
|
|
34421
|
+
properties: {
|
|
34422
|
+
label: {
|
|
34423
|
+
types: [
|
|
34424
|
+
"string"
|
|
34425
|
+
]
|
|
34426
|
+
},
|
|
34427
|
+
event: {
|
|
34428
|
+
types: [
|
|
34429
|
+
"string"
|
|
34430
|
+
],
|
|
34431
|
+
kind: "event"
|
|
34432
|
+
}
|
|
34433
|
+
},
|
|
34434
|
+
propertyRequired: [
|
|
34435
|
+
"label"
|
|
34436
|
+
]
|
|
34437
|
+
},
|
|
33528
34438
|
entity: {
|
|
33529
34439
|
types: [
|
|
33530
34440
|
"object",
|
|
@@ -33608,6 +34518,47 @@ var patterns_registry_default = {
|
|
|
33608
34518
|
"boolean"
|
|
33609
34519
|
]
|
|
33610
34520
|
},
|
|
34521
|
+
colorMap: {
|
|
34522
|
+
types: [
|
|
34523
|
+
"object"
|
|
34524
|
+
],
|
|
34525
|
+
mapValue: {
|
|
34526
|
+
types: [
|
|
34527
|
+
"string"
|
|
34528
|
+
],
|
|
34529
|
+
enumValues: [
|
|
34530
|
+
"default",
|
|
34531
|
+
"primary",
|
|
34532
|
+
"secondary",
|
|
34533
|
+
"success",
|
|
34534
|
+
"warning",
|
|
34535
|
+
"danger",
|
|
34536
|
+
"error",
|
|
34537
|
+
"info",
|
|
34538
|
+
"neutral",
|
|
34539
|
+
"destructive"
|
|
34540
|
+
]
|
|
34541
|
+
}
|
|
34542
|
+
},
|
|
34543
|
+
labels: {
|
|
34544
|
+
types: [
|
|
34545
|
+
"object"
|
|
34546
|
+
],
|
|
34547
|
+
mapValue: {
|
|
34548
|
+
types: [
|
|
34549
|
+
"string"
|
|
34550
|
+
]
|
|
34551
|
+
}
|
|
34552
|
+
},
|
|
34553
|
+
variant: {
|
|
34554
|
+
types: [
|
|
34555
|
+
"string"
|
|
34556
|
+
],
|
|
34557
|
+
enumValues: [
|
|
34558
|
+
"h3",
|
|
34559
|
+
"h4"
|
|
34560
|
+
]
|
|
34561
|
+
},
|
|
33611
34562
|
icon: {
|
|
33612
34563
|
types: [
|
|
33613
34564
|
"icon",
|
|
@@ -33698,6 +34649,47 @@ var patterns_registry_default = {
|
|
|
33698
34649
|
"boolean"
|
|
33699
34650
|
]
|
|
33700
34651
|
},
|
|
34652
|
+
colorMap: {
|
|
34653
|
+
types: [
|
|
34654
|
+
"object"
|
|
34655
|
+
],
|
|
34656
|
+
mapValue: {
|
|
34657
|
+
types: [
|
|
34658
|
+
"string"
|
|
34659
|
+
],
|
|
34660
|
+
enumValues: [
|
|
34661
|
+
"default",
|
|
34662
|
+
"primary",
|
|
34663
|
+
"secondary",
|
|
34664
|
+
"success",
|
|
34665
|
+
"warning",
|
|
34666
|
+
"danger",
|
|
34667
|
+
"error",
|
|
34668
|
+
"info",
|
|
34669
|
+
"neutral",
|
|
34670
|
+
"destructive"
|
|
34671
|
+
]
|
|
34672
|
+
}
|
|
34673
|
+
},
|
|
34674
|
+
labels: {
|
|
34675
|
+
types: [
|
|
34676
|
+
"object"
|
|
34677
|
+
],
|
|
34678
|
+
mapValue: {
|
|
34679
|
+
types: [
|
|
34680
|
+
"string"
|
|
34681
|
+
]
|
|
34682
|
+
}
|
|
34683
|
+
},
|
|
34684
|
+
variant: {
|
|
34685
|
+
types: [
|
|
34686
|
+
"string"
|
|
34687
|
+
],
|
|
34688
|
+
enumValues: [
|
|
34689
|
+
"h3",
|
|
34690
|
+
"h4"
|
|
34691
|
+
]
|
|
34692
|
+
},
|
|
33701
34693
|
icon: {
|
|
33702
34694
|
types: [
|
|
33703
34695
|
"icon",
|
|
@@ -33754,6 +34746,12 @@ var patterns_registry_default = {
|
|
|
33754
34746
|
"ghost",
|
|
33755
34747
|
"danger"
|
|
33756
34748
|
]
|
|
34749
|
+
},
|
|
34750
|
+
when: {
|
|
34751
|
+
types: [
|
|
34752
|
+
"sexpr",
|
|
34753
|
+
"function"
|
|
34754
|
+
]
|
|
33757
34755
|
}
|
|
33758
34756
|
},
|
|
33759
34757
|
required: [
|
|
@@ -33772,9 +34770,21 @@ var patterns_registry_default = {
|
|
|
33772
34770
|
types: [
|
|
33773
34771
|
"string"
|
|
33774
34772
|
],
|
|
33775
|
-
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.
|
|
33776
|
-
kind: "event",
|
|
33777
|
-
|
|
34773
|
+
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.",
|
|
34774
|
+
kind: "event-ref",
|
|
34775
|
+
entityRowField: "row",
|
|
34776
|
+
emitPayloadSchema: [
|
|
34777
|
+
{
|
|
34778
|
+
name: "id",
|
|
34779
|
+
type: "string",
|
|
34780
|
+
required: true
|
|
34781
|
+
},
|
|
34782
|
+
{
|
|
34783
|
+
name: "row",
|
|
34784
|
+
type: "@entity",
|
|
34785
|
+
required: true
|
|
34786
|
+
}
|
|
34787
|
+
]
|
|
33778
34788
|
},
|
|
33779
34789
|
selectable: {
|
|
33780
34790
|
types: [
|
|
@@ -34298,6 +35308,38 @@ var patterns_registry_default = {
|
|
|
34298
35308
|
types: [
|
|
34299
35309
|
"string"
|
|
34300
35310
|
]
|
|
35311
|
+
},
|
|
35312
|
+
aggregate: {
|
|
35313
|
+
types: [
|
|
35314
|
+
"string"
|
|
35315
|
+
],
|
|
35316
|
+
enumValues: [
|
|
35317
|
+
"count",
|
|
35318
|
+
"sum"
|
|
35319
|
+
]
|
|
35320
|
+
},
|
|
35321
|
+
filter: {
|
|
35322
|
+
types: [
|
|
35323
|
+
"object"
|
|
35324
|
+
],
|
|
35325
|
+
properties: {
|
|
35326
|
+
field: {
|
|
35327
|
+
types: [
|
|
35328
|
+
"string"
|
|
35329
|
+
]
|
|
35330
|
+
},
|
|
35331
|
+
equals: {
|
|
35332
|
+
types: [
|
|
35333
|
+
"string",
|
|
35334
|
+
"number",
|
|
35335
|
+
"boolean"
|
|
35336
|
+
]
|
|
35337
|
+
}
|
|
35338
|
+
},
|
|
35339
|
+
required: [
|
|
35340
|
+
"field",
|
|
35341
|
+
"equals"
|
|
35342
|
+
]
|
|
34301
35343
|
}
|
|
34302
35344
|
},
|
|
34303
35345
|
required: [
|
|
@@ -36425,6 +37467,12 @@ var patterns_registry_default = {
|
|
|
36425
37467
|
],
|
|
36426
37468
|
description: "Role for accessibility"
|
|
36427
37469
|
},
|
|
37470
|
+
id: {
|
|
37471
|
+
types: [
|
|
37472
|
+
"string"
|
|
37473
|
+
],
|
|
37474
|
+
description: "Element id"
|
|
37475
|
+
},
|
|
36428
37476
|
tabIndex: {
|
|
36429
37477
|
types: [
|
|
36430
37478
|
"number"
|
|
@@ -36597,6 +37645,12 @@ var patterns_registry_default = {
|
|
|
36597
37645
|
],
|
|
36598
37646
|
description: "Role for accessibility"
|
|
36599
37647
|
},
|
|
37648
|
+
id: {
|
|
37649
|
+
types: [
|
|
37650
|
+
"string"
|
|
37651
|
+
],
|
|
37652
|
+
description: "Element id"
|
|
37653
|
+
},
|
|
36600
37654
|
tabIndex: {
|
|
36601
37655
|
types: [
|
|
36602
37656
|
"number"
|
|
@@ -46837,6 +47891,37 @@ var patterns_registry_default = {
|
|
|
46837
47891
|
],
|
|
46838
47892
|
typicalSize: "small",
|
|
46839
47893
|
propsSchema: {
|
|
47894
|
+
animation: {
|
|
47895
|
+
types: [
|
|
47896
|
+
"string"
|
|
47897
|
+
],
|
|
47898
|
+
description: "Which motion preset to use (maps to `animate-<name>-in/out`).",
|
|
47899
|
+
required: true,
|
|
47900
|
+
enumValues: [
|
|
47901
|
+
"modal",
|
|
47902
|
+
"overlay",
|
|
47903
|
+
"slide-up",
|
|
47904
|
+
"drawer",
|
|
47905
|
+
"popover",
|
|
47906
|
+
"toast",
|
|
47907
|
+
"fade",
|
|
47908
|
+
"page"
|
|
47909
|
+
]
|
|
47910
|
+
},
|
|
47911
|
+
animate: {
|
|
47912
|
+
types: [
|
|
47913
|
+
"boolean"
|
|
47914
|
+
],
|
|
47915
|
+
description: "Per-instance opt-out. Global opt-out is `--motion-enable` / reduced-motion. @default true"
|
|
47916
|
+
},
|
|
47917
|
+
onExited: {
|
|
47918
|
+
types: [
|
|
47919
|
+
"function"
|
|
47920
|
+
],
|
|
47921
|
+
description: "Fired after the exit animation completes (before unmount).",
|
|
47922
|
+
kind: "callback",
|
|
47923
|
+
callbackArgs: []
|
|
47924
|
+
},
|
|
46840
47925
|
show: {
|
|
46841
47926
|
types: [
|
|
46842
47927
|
"boolean"
|
|
@@ -46877,7 +47962,7 @@ var patterns_registry_default = {
|
|
|
46877
47962
|
types: [
|
|
46878
47963
|
"string"
|
|
46879
47964
|
],
|
|
46880
|
-
description: "Value that changes on navigation (
|
|
47965
|
+
description: "Value that changes on navigation (a page path).",
|
|
46881
47966
|
required: true
|
|
46882
47967
|
},
|
|
46883
47968
|
children: {
|
|
@@ -46931,6 +48016,11 @@ var patterns_registry_default = {
|
|
|
46931
48016
|
"string"
|
|
46932
48017
|
]
|
|
46933
48018
|
},
|
|
48019
|
+
title: {
|
|
48020
|
+
types: [
|
|
48021
|
+
"string"
|
|
48022
|
+
]
|
|
48023
|
+
},
|
|
46934
48024
|
fields: {
|
|
46935
48025
|
types: [
|
|
46936
48026
|
"object"
|
|
@@ -47031,15 +48121,13 @@ var patterns_registry_default = {
|
|
|
47031
48121
|
types: [
|
|
47032
48122
|
"string"
|
|
47033
48123
|
],
|
|
47034
|
-
description: "Confirm button label"
|
|
47035
|
-
default: "Confirm import"
|
|
48124
|
+
description: "Confirm button label"
|
|
47036
48125
|
},
|
|
47037
48126
|
cancelLabel: {
|
|
47038
48127
|
types: [
|
|
47039
48128
|
"string"
|
|
47040
48129
|
],
|
|
47041
|
-
description: "Cancel button label"
|
|
47042
|
-
default: "Cancel"
|
|
48130
|
+
description: "Cancel button label"
|
|
47043
48131
|
},
|
|
47044
48132
|
indent: {
|
|
47045
48133
|
types: [
|
|
@@ -47533,8 +48621,7 @@ var patterns_registry_default = {
|
|
|
47533
48621
|
types: [
|
|
47534
48622
|
"string"
|
|
47535
48623
|
],
|
|
47536
|
-
description: "Accessible label for the trigger button"
|
|
47537
|
-
default: "Add emoji"
|
|
48624
|
+
description: "Accessible label for the trigger button"
|
|
47538
48625
|
},
|
|
47539
48626
|
className: {
|
|
47540
48627
|
types: [
|
|
@@ -49528,6 +50615,16 @@ var patterns_registry_default = {
|
|
|
49528
50615
|
]
|
|
49529
50616
|
}
|
|
49530
50617
|
},
|
|
50618
|
+
labels: {
|
|
50619
|
+
types: [
|
|
50620
|
+
"object"
|
|
50621
|
+
],
|
|
50622
|
+
mapValue: {
|
|
50623
|
+
types: [
|
|
50624
|
+
"string"
|
|
50625
|
+
]
|
|
50626
|
+
}
|
|
50627
|
+
},
|
|
49531
50628
|
format: {
|
|
49532
50629
|
types: [
|
|
49533
50630
|
"string"
|
|
@@ -50186,15 +51283,13 @@ var patterns_registry_default = {
|
|
|
50186
51283
|
types: [
|
|
50187
51284
|
"string"
|
|
50188
51285
|
],
|
|
50189
|
-
description:
|
|
50190
|
-
default: "Type a command..."
|
|
51286
|
+
description: 'Search field placeholder. Defaults to the translated "Type a command...".'
|
|
50191
51287
|
},
|
|
50192
51288
|
emptyLabel: {
|
|
50193
51289
|
types: [
|
|
50194
51290
|
"string"
|
|
50195
51291
|
],
|
|
50196
|
-
description: "Label shown when no command matches the query"
|
|
50197
|
-
default: "No matching commands"
|
|
51292
|
+
description: "Label shown when no command matches the query. Defaults to the translated message."
|
|
50198
51293
|
},
|
|
50199
51294
|
className: {
|
|
50200
51295
|
types: [
|
|
@@ -50414,9 +51509,10 @@ var patterns_registry_default = {
|
|
|
50414
51509
|
},
|
|
50415
51510
|
children: {
|
|
50416
51511
|
types: [
|
|
50417
|
-
"node"
|
|
51512
|
+
"node",
|
|
51513
|
+
"function"
|
|
50418
51514
|
],
|
|
50419
|
-
description: "Compiled mode: render children directly instead of resolving from context"
|
|
51515
|
+
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."
|
|
50420
51516
|
},
|
|
50421
51517
|
pattern: {
|
|
50422
51518
|
types: [
|
|
@@ -50924,9 +52020,32 @@ var patterns_registry_default = {
|
|
|
50924
52020
|
types: [
|
|
50925
52021
|
"string"
|
|
50926
52022
|
],
|
|
50927
|
-
description: "Row field holding the bar status
|
|
52023
|
+
description: "Row field holding the bar status. Defaults to `status`.",
|
|
50928
52024
|
default: "status"
|
|
50929
52025
|
},
|
|
52026
|
+
statusColorMap: {
|
|
52027
|
+
types: [
|
|
52028
|
+
"object"
|
|
52029
|
+
],
|
|
52030
|
+
description: "Bar colour per exact status value; unmapped statuses are primary bars.",
|
|
52031
|
+
mapValue: {
|
|
52032
|
+
types: [
|
|
52033
|
+
"string"
|
|
52034
|
+
],
|
|
52035
|
+
enumValues: [
|
|
52036
|
+
"default",
|
|
52037
|
+
"primary",
|
|
52038
|
+
"secondary",
|
|
52039
|
+
"success",
|
|
52040
|
+
"warning",
|
|
52041
|
+
"danger",
|
|
52042
|
+
"error",
|
|
52043
|
+
"info",
|
|
52044
|
+
"neutral",
|
|
52045
|
+
"destructive"
|
|
52046
|
+
]
|
|
52047
|
+
}
|
|
52048
|
+
},
|
|
50930
52049
|
groupField: {
|
|
50931
52050
|
types: [
|
|
50932
52051
|
"string"
|
|
@@ -51666,14 +52785,15 @@ var patterns_registry_default = {
|
|
|
51666
52785
|
types: [
|
|
51667
52786
|
"string"
|
|
51668
52787
|
],
|
|
51669
|
-
description: "What made this version (a user save, an agent turn, a restore, an undo/redo, a snapshot).",
|
|
52788
|
+
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).",
|
|
51670
52789
|
enumValues: [
|
|
51671
52790
|
"user",
|
|
51672
52791
|
"agent",
|
|
51673
52792
|
"restore",
|
|
51674
52793
|
"undo",
|
|
51675
52794
|
"redo",
|
|
51676
|
-
"snapshot"
|
|
52795
|
+
"snapshot",
|
|
52796
|
+
"merge"
|
|
51677
52797
|
]
|
|
51678
52798
|
},
|
|
51679
52799
|
additions: {
|
|
@@ -52097,6 +53217,52 @@ var patterns_registry_default = {
|
|
|
52097
53217
|
}
|
|
52098
53218
|
]
|
|
52099
53219
|
},
|
|
53220
|
+
onTransitionClick: {
|
|
53221
|
+
types: [
|
|
53222
|
+
"function"
|
|
53223
|
+
],
|
|
53224
|
+
description: "Direct transition-click callback, for React hosts (e.g. a canvas node).",
|
|
53225
|
+
kind: "callback",
|
|
53226
|
+
callbackArgs: [
|
|
53227
|
+
{
|
|
53228
|
+
name: "transition",
|
|
53229
|
+
type: "object",
|
|
53230
|
+
schema: {
|
|
53231
|
+
types: [
|
|
53232
|
+
"object"
|
|
53233
|
+
],
|
|
53234
|
+
properties: {
|
|
53235
|
+
index: {
|
|
53236
|
+
types: [
|
|
53237
|
+
"number"
|
|
53238
|
+
]
|
|
53239
|
+
},
|
|
53240
|
+
event: {
|
|
53241
|
+
types: [
|
|
53242
|
+
"string"
|
|
53243
|
+
]
|
|
53244
|
+
},
|
|
53245
|
+
from: {
|
|
53246
|
+
types: [
|
|
53247
|
+
"string"
|
|
53248
|
+
]
|
|
53249
|
+
},
|
|
53250
|
+
to: {
|
|
53251
|
+
types: [
|
|
53252
|
+
"string"
|
|
53253
|
+
]
|
|
53254
|
+
}
|
|
53255
|
+
},
|
|
53256
|
+
required: [
|
|
53257
|
+
"index",
|
|
53258
|
+
"event",
|
|
53259
|
+
"from",
|
|
53260
|
+
"to"
|
|
53261
|
+
]
|
|
53262
|
+
}
|
|
53263
|
+
}
|
|
53264
|
+
]
|
|
53265
|
+
},
|
|
52100
53266
|
selectedState: {
|
|
52101
53267
|
types: [
|
|
52102
53268
|
"string"
|
|
@@ -56294,7 +57460,7 @@ var integrators_registry_default = {
|
|
|
56294
57460
|
// src/patterns/component-mapping.json
|
|
56295
57461
|
var component_mapping_default = {
|
|
56296
57462
|
version: "1.0.0",
|
|
56297
|
-
exportedAt: "2026-09-
|
|
57463
|
+
exportedAt: "2026-09-30T21:06:42.691Z",
|
|
56298
57464
|
mappings: {
|
|
56299
57465
|
"page-header": {
|
|
56300
57466
|
component: "PageHeader",
|
|
@@ -57604,7 +58770,7 @@ var component_mapping_default = {
|
|
|
57604
58770
|
// src/patterns/event-contracts.json
|
|
57605
58771
|
var event_contracts_default = {
|
|
57606
58772
|
version: "1.0.0",
|
|
57607
|
-
exportedAt: "2026-09-
|
|
58773
|
+
exportedAt: "2026-09-30T21:06:42.691Z",
|
|
57608
58774
|
contracts: {
|
|
57609
58775
|
form: {
|
|
57610
58776
|
emits: [
|
|
@@ -57724,13 +58890,6 @@ var event_contracts_default = {
|
|
|
57724
58890
|
type: "object"
|
|
57725
58891
|
}
|
|
57726
58892
|
},
|
|
57727
|
-
{
|
|
57728
|
-
event: "VIEW",
|
|
57729
|
-
trigger: "action",
|
|
57730
|
-
payload: {
|
|
57731
|
-
type: "object"
|
|
57732
|
-
}
|
|
57733
|
-
},
|
|
57734
58893
|
{
|
|
57735
58894
|
event: "DESELECT",
|
|
57736
58895
|
trigger: "action",
|
|
@@ -59487,6 +60646,13 @@ function eventListPropsOf(patternType) {
|
|
|
59487
60646
|
function getPatternFieldsContract(patternType) {
|
|
59488
60647
|
return getPatternDefinition(patternType)?.fieldsContract;
|
|
59489
60648
|
}
|
|
60649
|
+
function getPatternMinUsableWidths() {
|
|
60650
|
+
const out = /* @__PURE__ */ new Map();
|
|
60651
|
+
for (const [name, entry] of Object.entries(patterns_registry_default.patterns ?? {})) {
|
|
60652
|
+
if (typeof entry.minUsableWidth === "number") out.set(name, entry.minUsableWidth);
|
|
60653
|
+
}
|
|
60654
|
+
return out;
|
|
60655
|
+
}
|
|
59490
60656
|
function isDrawablePattern(patternType) {
|
|
59491
60657
|
const definition = getPatternDefinition(patternType);
|
|
59492
60658
|
if (!definition) return false;
|
|
@@ -59526,6 +60692,6 @@ function propHostsDrawables(schema) {
|
|
|
59526
60692
|
return false;
|
|
59527
60693
|
}
|
|
59528
60694
|
|
|
59529
|
-
export { COMPONENT_MAPPING, EVENT_CONTRACTS, INTEGRATORS_REGISTRY, PATTERN_REGISTRY, PATTERN_TYPES, PROP_KINDS, SELF_OVERLAY_PATTERN_TYPES, buildRecommendationContext, collectRenderUiPatternTypes, component_mapping_default as componentMapping, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integrators_registry_default as integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValidPatternType, isValueInputPattern, patterns_registry_default as patternsRegistry, recommendPatterns, registry, renderUiEntriesOf, renderUiPatternTypesOf };
|
|
60695
|
+
export { COMPONENT_MAPPING, EVENT_CONTRACTS, INTEGRATORS_REGISTRY, PATTERN_REGISTRY, PATTERN_TYPES, PROP_KINDS, SELF_OVERLAY_PATTERN_TYPES, buildRecommendationContext, collectRenderUiPatternTypes, component_mapping_default as componentMapping, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternMinUsableWidths, getPatternPropsCompact, getPatternsGroupedByCategory, integrators_registry_default as integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValidPatternType, isValueInputPattern, patterns_registry_default as patternsRegistry, recommendPatterns, registry, renderUiEntriesOf, renderUiPatternTypesOf };
|
|
59530
60696
|
//# sourceMappingURL=index.js.map
|
|
59531
60697
|
//# sourceMappingURL=index.js.map
|