@almadar/core 10.79.0 → 10.81.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 +3 -3
- package/dist/builders.js +39 -3
- package/dist/builders.js.map +1 -1
- package/dist/{effect-Mx_niZdY.d.ts → effect-BHoSW19_.d.ts} +259 -4
- package/dist/{entityAccess-C3_cjLNi.d.ts → entityAccess-0POr1WuY.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +450 -164
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +39 -3
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-B1N3gjT0.d.ts → index-rVlLkZJu.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +1615 -574
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/mock/index.js +28 -0
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +11 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +2707 -652
- package/dist/patterns/index.js +1441 -569
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +1004 -402
- package/dist/patterns/patterns-registry.json +423 -165
- package/dist/patterns/registry.json +423 -165
- package/dist/patterns/services-registry.json +1171 -424
- package/dist/{schema-CkTuSx6F.d.ts → schema-CkTTGH6l.d.ts} +38 -38
- package/dist/{trait-B1fI0lTU.d.ts → trait-D269f6pt.d.ts} +32 -2
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +175 -4
- package/dist/types/index.js.map +1 -1
- package/dist/{types-B53Myv7U.d.ts → types-7PHjoE7m.d.ts} +2 -2
- package/package.json +1 -1
package/dist/factory/index.js
CHANGED
|
@@ -1171,10 +1171,6 @@ var patterns_registry_default = {
|
|
|
1171
1171
|
placement: {
|
|
1172
1172
|
types: [
|
|
1173
1173
|
"string"
|
|
1174
|
-
],
|
|
1175
|
-
enumValues: [
|
|
1176
|
-
"row",
|
|
1177
|
-
"bulk"
|
|
1178
1174
|
]
|
|
1179
1175
|
},
|
|
1180
1176
|
icon: {
|
|
@@ -1186,13 +1182,6 @@ var patterns_registry_default = {
|
|
|
1186
1182
|
variant: {
|
|
1187
1183
|
types: [
|
|
1188
1184
|
"string"
|
|
1189
|
-
],
|
|
1190
|
-
enumValues: [
|
|
1191
|
-
"default",
|
|
1192
|
-
"primary",
|
|
1193
|
-
"secondary",
|
|
1194
|
-
"ghost",
|
|
1195
|
-
"danger"
|
|
1196
1185
|
]
|
|
1197
1186
|
},
|
|
1198
1187
|
onClick: {
|
|
@@ -1569,12 +1558,6 @@ var patterns_registry_default = {
|
|
|
1569
1558
|
placement: {
|
|
1570
1559
|
types: [
|
|
1571
1560
|
"string"
|
|
1572
|
-
],
|
|
1573
|
-
enumValues: [
|
|
1574
|
-
"row",
|
|
1575
|
-
"bulk",
|
|
1576
|
-
"card",
|
|
1577
|
-
"footer"
|
|
1578
1561
|
]
|
|
1579
1562
|
},
|
|
1580
1563
|
variant: {
|
|
@@ -2084,22 +2067,11 @@ var patterns_registry_default = {
|
|
|
2084
2067
|
placement: {
|
|
2085
2068
|
types: [
|
|
2086
2069
|
"string"
|
|
2087
|
-
],
|
|
2088
|
-
enumValues: [
|
|
2089
|
-
"card",
|
|
2090
|
-
"footer",
|
|
2091
|
-
"row"
|
|
2092
2070
|
]
|
|
2093
2071
|
},
|
|
2094
2072
|
variant: {
|
|
2095
2073
|
types: [
|
|
2096
2074
|
"string"
|
|
2097
|
-
],
|
|
2098
|
-
enumValues: [
|
|
2099
|
-
"primary",
|
|
2100
|
-
"secondary",
|
|
2101
|
-
"ghost",
|
|
2102
|
-
"danger"
|
|
2103
2075
|
]
|
|
2104
2076
|
}
|
|
2105
2077
|
},
|
|
@@ -3024,11 +2996,7 @@ var patterns_registry_default = {
|
|
|
3024
2996
|
types: [
|
|
3025
2997
|
"string"
|
|
3026
2998
|
],
|
|
3027
|
-
description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'."
|
|
3028
|
-
enumValues: [
|
|
3029
|
-
"create",
|
|
3030
|
-
"edit"
|
|
3031
|
-
]
|
|
2999
|
+
description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'."
|
|
3032
3000
|
},
|
|
3033
3001
|
fields: {
|
|
3034
3002
|
types: [
|
|
@@ -3951,11 +3919,7 @@ var patterns_registry_default = {
|
|
|
3951
3919
|
types: [
|
|
3952
3920
|
"string"
|
|
3953
3921
|
],
|
|
3954
|
-
description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'."
|
|
3955
|
-
enumValues: [
|
|
3956
|
-
"create",
|
|
3957
|
-
"edit"
|
|
3958
|
-
]
|
|
3922
|
+
description: "Form mode \u2014 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'."
|
|
3959
3923
|
},
|
|
3960
3924
|
fields: {
|
|
3961
3925
|
types: [
|
|
@@ -6509,12 +6473,6 @@ var patterns_registry_default = {
|
|
|
6509
6473
|
mode: {
|
|
6510
6474
|
types: [
|
|
6511
6475
|
"string"
|
|
6512
|
-
],
|
|
6513
|
-
enumValues: [
|
|
6514
|
-
"search_or_create",
|
|
6515
|
-
"create_multiple",
|
|
6516
|
-
"select_one",
|
|
6517
|
-
"update"
|
|
6518
6476
|
]
|
|
6519
6477
|
},
|
|
6520
6478
|
parentField: {
|
|
@@ -7368,13 +7326,6 @@ var patterns_registry_default = {
|
|
|
7368
7326
|
"string"
|
|
7369
7327
|
],
|
|
7370
7328
|
description: "Width (CSS value or preset size)",
|
|
7371
|
-
enumValues: [
|
|
7372
|
-
"sm",
|
|
7373
|
-
"md",
|
|
7374
|
-
"lg",
|
|
7375
|
-
"xl",
|
|
7376
|
-
"full"
|
|
7377
|
-
],
|
|
7378
7329
|
default: "md"
|
|
7379
7330
|
},
|
|
7380
7331
|
showCloseButton: {
|
|
@@ -8996,15 +8947,7 @@ var patterns_registry_default = {
|
|
|
8996
8947
|
types: [
|
|
8997
8948
|
"string"
|
|
8998
8949
|
],
|
|
8999
|
-
description: "Semantic palette token or an arbitrary Tailwind color class."
|
|
9000
|
-
enumValues: [
|
|
9001
|
-
"primary",
|
|
9002
|
-
"secondary",
|
|
9003
|
-
"success",
|
|
9004
|
-
"warning",
|
|
9005
|
-
"error",
|
|
9006
|
-
"muted"
|
|
9007
|
-
]
|
|
8950
|
+
description: "Semantic palette token or an arbitrary Tailwind color class."
|
|
9008
8951
|
},
|
|
9009
8952
|
animation: {
|
|
9010
8953
|
types: [
|
|
@@ -9345,13 +9288,20 @@ var patterns_registry_default = {
|
|
|
9345
9288
|
types: [
|
|
9346
9289
|
"string"
|
|
9347
9290
|
],
|
|
9348
|
-
description: "Declarative event name for trait dispatch",
|
|
9291
|
+
description: "Declarative event name for trait dispatch.",
|
|
9349
9292
|
kind: "event-ref",
|
|
9350
9293
|
emitPayloadSchema: [
|
|
9351
9294
|
{
|
|
9352
9295
|
name: "value",
|
|
9353
9296
|
type: "string",
|
|
9354
|
-
required: true
|
|
9297
|
+
required: true,
|
|
9298
|
+
typeWhen: [
|
|
9299
|
+
{
|
|
9300
|
+
knob: "inputType",
|
|
9301
|
+
equals: "number",
|
|
9302
|
+
type: "number"
|
|
9303
|
+
}
|
|
9304
|
+
]
|
|
9355
9305
|
}
|
|
9356
9306
|
]
|
|
9357
9307
|
},
|
|
@@ -9640,8 +9590,26 @@ var patterns_registry_default = {
|
|
|
9640
9590
|
types: [
|
|
9641
9591
|
"string"
|
|
9642
9592
|
],
|
|
9643
|
-
description: "Declarative event name for trait dispatch",
|
|
9644
|
-
kind: "event"
|
|
9593
|
+
description: "Declarative event name for trait dispatch \u2014 emits `{ value }` on selection commit (same gestures as `onChange`).",
|
|
9594
|
+
kind: "event-ref",
|
|
9595
|
+
emitPayloadSchema: [
|
|
9596
|
+
{
|
|
9597
|
+
name: "value",
|
|
9598
|
+
type: "string",
|
|
9599
|
+
required: true,
|
|
9600
|
+
schema: {
|
|
9601
|
+
types: [
|
|
9602
|
+
"string",
|
|
9603
|
+
"array"
|
|
9604
|
+
],
|
|
9605
|
+
items: {
|
|
9606
|
+
types: [
|
|
9607
|
+
"string"
|
|
9608
|
+
]
|
|
9609
|
+
}
|
|
9610
|
+
}
|
|
9611
|
+
}
|
|
9612
|
+
]
|
|
9645
9613
|
},
|
|
9646
9614
|
error: {
|
|
9647
9615
|
types: [
|
|
@@ -11961,7 +11929,8 @@ var patterns_registry_default = {
|
|
|
11961
11929
|
],
|
|
11962
11930
|
description: "Payload to include with the dispatched action event.",
|
|
11963
11931
|
payloadFor: "action",
|
|
11964
|
-
freeform: true
|
|
11932
|
+
freeform: true,
|
|
11933
|
+
eventPayloadBrand: true
|
|
11965
11934
|
},
|
|
11966
11935
|
actions: {
|
|
11967
11936
|
types: [
|
|
@@ -12060,14 +12029,6 @@ var patterns_registry_default = {
|
|
|
12060
12029
|
"string"
|
|
12061
12030
|
],
|
|
12062
12031
|
description: "Button position",
|
|
12063
|
-
enumValues: [
|
|
12064
|
-
"bottom-right",
|
|
12065
|
-
"bottom-left",
|
|
12066
|
-
"bottom-center",
|
|
12067
|
-
"top-right",
|
|
12068
|
-
"top-left",
|
|
12069
|
-
"top-center"
|
|
12070
|
-
],
|
|
12071
12032
|
default: "bottom-right"
|
|
12072
12033
|
},
|
|
12073
12034
|
className: {
|
|
@@ -12264,13 +12225,20 @@ var patterns_registry_default = {
|
|
|
12264
12225
|
types: [
|
|
12265
12226
|
"string"
|
|
12266
12227
|
],
|
|
12267
|
-
description: "Declarative event name for trait dispatch",
|
|
12228
|
+
description: "Declarative event name for trait dispatch.",
|
|
12268
12229
|
kind: "event-ref",
|
|
12269
12230
|
emitPayloadSchema: [
|
|
12270
12231
|
{
|
|
12271
12232
|
name: "value",
|
|
12272
12233
|
type: "string",
|
|
12273
|
-
required: true
|
|
12234
|
+
required: true,
|
|
12235
|
+
typeWhen: [
|
|
12236
|
+
{
|
|
12237
|
+
knob: "inputType",
|
|
12238
|
+
equals: "number",
|
|
12239
|
+
type: "number"
|
|
12240
|
+
}
|
|
12241
|
+
]
|
|
12274
12242
|
}
|
|
12275
12243
|
]
|
|
12276
12244
|
},
|
|
@@ -26532,14 +26500,6 @@ var patterns_registry_default = {
|
|
|
26532
26500
|
"string"
|
|
26533
26501
|
],
|
|
26534
26502
|
description: "Semantic palette token or a raw CSS color value for the stroke.",
|
|
26535
|
-
enumValues: [
|
|
26536
|
-
"primary",
|
|
26537
|
-
"secondary",
|
|
26538
|
-
"success",
|
|
26539
|
-
"warning",
|
|
26540
|
-
"error",
|
|
26541
|
-
"muted"
|
|
26542
|
-
],
|
|
26543
26503
|
default: "primary"
|
|
26544
26504
|
},
|
|
26545
26505
|
strokeWidth: {
|
|
@@ -27088,6 +27048,28 @@ var patterns_registry_default = {
|
|
|
27088
27048
|
],
|
|
27089
27049
|
description: "Accessible label/tooltip for the row hover action."
|
|
27090
27050
|
},
|
|
27051
|
+
onNodeReorder: {
|
|
27052
|
+
types: [
|
|
27053
|
+
"function"
|
|
27054
|
+
],
|
|
27055
|
+
description: "Called when a row is dropped onto another, in flat `items` mode; carries the moved node's id, its new parent id (`null` for a root drop), and its index within the new parent's children. Presence-gated: binding this prop is what turns on row dragging.",
|
|
27056
|
+
kind: "callback",
|
|
27057
|
+
callbackArgs: [
|
|
27058
|
+
{
|
|
27059
|
+
name: "id",
|
|
27060
|
+
type: "string"
|
|
27061
|
+
},
|
|
27062
|
+
{
|
|
27063
|
+
name: "newParentId",
|
|
27064
|
+
type: "string"
|
|
27065
|
+
},
|
|
27066
|
+
{
|
|
27067
|
+
name: "index",
|
|
27068
|
+
type: "number"
|
|
27069
|
+
}
|
|
27070
|
+
],
|
|
27071
|
+
default: ""
|
|
27072
|
+
},
|
|
27091
27073
|
className: {
|
|
27092
27074
|
types: [
|
|
27093
27075
|
"string"
|
|
@@ -27827,8 +27809,7 @@ var patterns_registry_default = {
|
|
|
27827
27809
|
},
|
|
27828
27810
|
targetQuestionId: {
|
|
27829
27811
|
types: [
|
|
27830
|
-
"string"
|
|
27831
|
-
"unknown"
|
|
27812
|
+
"string"
|
|
27832
27813
|
]
|
|
27833
27814
|
}
|
|
27834
27815
|
},
|
|
@@ -27894,8 +27875,7 @@ var patterns_registry_default = {
|
|
|
27894
27875
|
},
|
|
27895
27876
|
targetQuestionId: {
|
|
27896
27877
|
types: [
|
|
27897
|
-
"string"
|
|
27898
|
-
"unknown"
|
|
27878
|
+
"string"
|
|
27899
27879
|
]
|
|
27900
27880
|
}
|
|
27901
27881
|
},
|
|
@@ -27965,8 +27945,7 @@ var patterns_registry_default = {
|
|
|
27965
27945
|
},
|
|
27966
27946
|
targetQuestionId: {
|
|
27967
27947
|
types: [
|
|
27968
|
-
"string"
|
|
27969
|
-
"unknown"
|
|
27948
|
+
"string"
|
|
27970
27949
|
]
|
|
27971
27950
|
}
|
|
27972
27951
|
},
|
|
@@ -28068,7 +28047,8 @@ var patterns_registry_default = {
|
|
|
28068
28047
|
types: [
|
|
28069
28048
|
"object",
|
|
28070
28049
|
"array"
|
|
28071
|
-
]
|
|
28050
|
+
],
|
|
28051
|
+
cyclic: true
|
|
28072
28052
|
}
|
|
28073
28053
|
}
|
|
28074
28054
|
},
|
|
@@ -29071,12 +29051,6 @@ var patterns_registry_default = {
|
|
|
29071
29051
|
"string"
|
|
29072
29052
|
],
|
|
29073
29053
|
description: "Size variant",
|
|
29074
|
-
enumValues: [
|
|
29075
|
-
"sm",
|
|
29076
|
-
"md",
|
|
29077
|
-
"lg",
|
|
29078
|
-
"xl"
|
|
29079
|
-
],
|
|
29080
29054
|
default: "md"
|
|
29081
29055
|
},
|
|
29082
29056
|
shape: {
|
|
@@ -29084,11 +29058,6 @@ var patterns_registry_default = {
|
|
|
29084
29058
|
"string"
|
|
29085
29059
|
],
|
|
29086
29060
|
description: "Shape variant",
|
|
29087
|
-
enumValues: [
|
|
29088
|
-
"circle",
|
|
29089
|
-
"rounded",
|
|
29090
|
-
"square"
|
|
29091
|
-
],
|
|
29092
29061
|
default: "circle"
|
|
29093
29062
|
},
|
|
29094
29063
|
variant: {
|
|
@@ -29096,11 +29065,6 @@ var patterns_registry_default = {
|
|
|
29096
29065
|
"string"
|
|
29097
29066
|
],
|
|
29098
29067
|
description: "Visual variant",
|
|
29099
|
-
enumValues: [
|
|
29100
|
-
"primary",
|
|
29101
|
-
"secondary",
|
|
29102
|
-
"ghost"
|
|
29103
|
-
],
|
|
29104
29068
|
default: "secondary"
|
|
29105
29069
|
},
|
|
29106
29070
|
onPress: {
|
|
@@ -31371,15 +31335,7 @@ var patterns_registry_default = {
|
|
|
31371
31335
|
types: [
|
|
31372
31336
|
"string"
|
|
31373
31337
|
],
|
|
31374
|
-
description: "Semantic palette token or a raw CSS color value. Defaults to 'primary'."
|
|
31375
|
-
enumValues: [
|
|
31376
|
-
"primary",
|
|
31377
|
-
"secondary",
|
|
31378
|
-
"success",
|
|
31379
|
-
"warning",
|
|
31380
|
-
"error",
|
|
31381
|
-
"muted"
|
|
31382
|
-
]
|
|
31338
|
+
description: "Semantic palette token or a raw CSS color value. Defaults to 'primary'."
|
|
31383
31339
|
},
|
|
31384
31340
|
className: {
|
|
31385
31341
|
types: [
|
|
@@ -32173,12 +32129,7 @@ var patterns_registry_default = {
|
|
|
32173
32129
|
types: [
|
|
32174
32130
|
"string"
|
|
32175
32131
|
],
|
|
32176
|
-
description: "Position of the HUD"
|
|
32177
|
-
enumValues: [
|
|
32178
|
-
"top",
|
|
32179
|
-
"bottom",
|
|
32180
|
-
"corners"
|
|
32181
|
-
]
|
|
32132
|
+
description: "Position of the HUD"
|
|
32182
32133
|
},
|
|
32183
32134
|
stats: {
|
|
32184
32135
|
types: [
|
|
@@ -32475,11 +32426,6 @@ var patterns_registry_default = {
|
|
|
32475
32426
|
variant: {
|
|
32476
32427
|
types: [
|
|
32477
32428
|
"string"
|
|
32478
|
-
],
|
|
32479
|
-
enumValues: [
|
|
32480
|
-
"primary",
|
|
32481
|
-
"secondary",
|
|
32482
|
-
"ghost"
|
|
32483
32429
|
]
|
|
32484
32430
|
},
|
|
32485
32431
|
disabled: {
|
|
@@ -32533,11 +32479,6 @@ var patterns_registry_default = {
|
|
|
32533
32479
|
variant: {
|
|
32534
32480
|
types: [
|
|
32535
32481
|
"string"
|
|
32536
|
-
],
|
|
32537
|
-
enumValues: [
|
|
32538
|
-
"primary",
|
|
32539
|
-
"secondary",
|
|
32540
|
-
"ghost"
|
|
32541
32482
|
]
|
|
32542
32483
|
},
|
|
32543
32484
|
disabled: {
|
|
@@ -32594,11 +32535,6 @@ var patterns_registry_default = {
|
|
|
32594
32535
|
variant: {
|
|
32595
32536
|
types: [
|
|
32596
32537
|
"string"
|
|
32597
|
-
],
|
|
32598
|
-
enumValues: [
|
|
32599
|
-
"primary",
|
|
32600
|
-
"secondary",
|
|
32601
|
-
"ghost"
|
|
32602
32538
|
]
|
|
32603
32539
|
},
|
|
32604
32540
|
disabled: {
|
|
@@ -32968,12 +32904,6 @@ var patterns_registry_default = {
|
|
|
32968
32904
|
"string"
|
|
32969
32905
|
],
|
|
32970
32906
|
description: "Display format",
|
|
32971
|
-
enumValues: [
|
|
32972
|
-
"number",
|
|
32973
|
-
"hearts",
|
|
32974
|
-
"bar",
|
|
32975
|
-
"text"
|
|
32976
|
-
],
|
|
32977
32907
|
default: "number"
|
|
32978
32908
|
},
|
|
32979
32909
|
icon: {
|
|
@@ -32988,11 +32918,6 @@ var patterns_registry_default = {
|
|
|
32988
32918
|
"string"
|
|
32989
32919
|
],
|
|
32990
32920
|
description: "Size variant",
|
|
32991
|
-
enumValues: [
|
|
32992
|
-
"sm",
|
|
32993
|
-
"md",
|
|
32994
|
-
"lg"
|
|
32995
|
-
],
|
|
32996
32921
|
default: "md"
|
|
32997
32922
|
},
|
|
32998
32923
|
variant: {
|
|
@@ -33000,13 +32925,6 @@ var patterns_registry_default = {
|
|
|
33000
32925
|
"string"
|
|
33001
32926
|
],
|
|
33002
32927
|
description: "Visual variant",
|
|
33003
|
-
enumValues: [
|
|
33004
|
-
"default",
|
|
33005
|
-
"primary",
|
|
33006
|
-
"success",
|
|
33007
|
-
"warning",
|
|
33008
|
-
"danger"
|
|
33009
|
-
],
|
|
33010
32928
|
default: "default"
|
|
33011
32929
|
},
|
|
33012
32930
|
className: {
|
|
@@ -36171,6 +36089,19 @@ var patterns_registry_default = {
|
|
|
36171
36089
|
"string"
|
|
36172
36090
|
],
|
|
36173
36091
|
description: "Class for right/bottom pane"
|
|
36092
|
+
},
|
|
36093
|
+
onRatioChange: {
|
|
36094
|
+
types: [
|
|
36095
|
+
"function"
|
|
36096
|
+
],
|
|
36097
|
+
description: "Called with the new ratio while dragging. Providing this makes `ratio` controlled \u2014 the rendered split always tracks the prop instead of internal state, mirroring a controlled input. Omit for uncontrolled (self-tracked) behavior.",
|
|
36098
|
+
kind: "callback",
|
|
36099
|
+
callbackArgs: [
|
|
36100
|
+
{
|
|
36101
|
+
name: "ratio",
|
|
36102
|
+
type: "number"
|
|
36103
|
+
}
|
|
36104
|
+
]
|
|
36174
36105
|
}
|
|
36175
36106
|
}
|
|
36176
36107
|
},
|
|
@@ -37756,11 +37687,6 @@ var patterns_registry_default = {
|
|
|
37756
37687
|
format: {
|
|
37757
37688
|
types: [
|
|
37758
37689
|
"string"
|
|
37759
|
-
],
|
|
37760
|
-
enumValues: [
|
|
37761
|
-
"currency",
|
|
37762
|
-
"percent",
|
|
37763
|
-
"number"
|
|
37764
37690
|
]
|
|
37765
37691
|
}
|
|
37766
37692
|
},
|
|
@@ -39052,11 +38978,6 @@ var patterns_registry_default = {
|
|
|
39052
38978
|
variant: {
|
|
39053
38979
|
types: [
|
|
39054
38980
|
"string"
|
|
39055
|
-
],
|
|
39056
|
-
enumValues: [
|
|
39057
|
-
"primary",
|
|
39058
|
-
"secondary",
|
|
39059
|
-
"ghost"
|
|
39060
38981
|
]
|
|
39061
38982
|
}
|
|
39062
38983
|
},
|
|
@@ -43207,6 +43128,20 @@ var patterns_registry_default = {
|
|
|
43207
43128
|
description: "Draw numeric labels on grid lines (default false).",
|
|
43208
43129
|
default: false
|
|
43209
43130
|
},
|
|
43131
|
+
tickLabelFontSize: {
|
|
43132
|
+
types: [
|
|
43133
|
+
"number"
|
|
43134
|
+
],
|
|
43135
|
+
description: "Font size in px for axis tick labels (default 10).",
|
|
43136
|
+
default: 10
|
|
43137
|
+
},
|
|
43138
|
+
labelFontSize: {
|
|
43139
|
+
types: [
|
|
43140
|
+
"number"
|
|
43141
|
+
],
|
|
43142
|
+
description: "Base font size in px for all other canvas annotations (points, vectors, guides, curves, regions, angles, hops; default 12).",
|
|
43143
|
+
default: 12
|
|
43144
|
+
},
|
|
43210
43145
|
showCurveLabels: {
|
|
43211
43146
|
types: [
|
|
43212
43147
|
"boolean"
|
|
@@ -52587,6 +52522,329 @@ var patterns_registry_default = {
|
|
|
52587
52522
|
description: "className prop"
|
|
52588
52523
|
}
|
|
52589
52524
|
}
|
|
52525
|
+
},
|
|
52526
|
+
"floating-toolbar": {
|
|
52527
|
+
type: "floating-toolbar",
|
|
52528
|
+
category: "component",
|
|
52529
|
+
tier: "molecules",
|
|
52530
|
+
family: "core",
|
|
52531
|
+
description: "FloatingToolbar component",
|
|
52532
|
+
suggestedFor: [
|
|
52533
|
+
"floating",
|
|
52534
|
+
"toolbar",
|
|
52535
|
+
"floating toolbar"
|
|
52536
|
+
],
|
|
52537
|
+
typicalSize: "medium",
|
|
52538
|
+
propsSchema: {
|
|
52539
|
+
items: {
|
|
52540
|
+
types: [
|
|
52541
|
+
"array"
|
|
52542
|
+
],
|
|
52543
|
+
description: "Tool items rendered as icon buttons",
|
|
52544
|
+
required: true,
|
|
52545
|
+
items: {
|
|
52546
|
+
types: [
|
|
52547
|
+
"object"
|
|
52548
|
+
],
|
|
52549
|
+
properties: {
|
|
52550
|
+
id: {
|
|
52551
|
+
types: [
|
|
52552
|
+
"string"
|
|
52553
|
+
]
|
|
52554
|
+
},
|
|
52555
|
+
icon: {
|
|
52556
|
+
types: [
|
|
52557
|
+
"icon",
|
|
52558
|
+
"string"
|
|
52559
|
+
]
|
|
52560
|
+
},
|
|
52561
|
+
label: {
|
|
52562
|
+
types: [
|
|
52563
|
+
"string"
|
|
52564
|
+
]
|
|
52565
|
+
},
|
|
52566
|
+
event: {
|
|
52567
|
+
types: [
|
|
52568
|
+
"string"
|
|
52569
|
+
]
|
|
52570
|
+
},
|
|
52571
|
+
action: {
|
|
52572
|
+
types: [
|
|
52573
|
+
"string"
|
|
52574
|
+
]
|
|
52575
|
+
},
|
|
52576
|
+
actionPayload: {
|
|
52577
|
+
types: [
|
|
52578
|
+
"object"
|
|
52579
|
+
],
|
|
52580
|
+
freeform: true,
|
|
52581
|
+
eventPayloadBrand: true
|
|
52582
|
+
},
|
|
52583
|
+
active: {
|
|
52584
|
+
types: [
|
|
52585
|
+
"boolean"
|
|
52586
|
+
]
|
|
52587
|
+
},
|
|
52588
|
+
disabled: {
|
|
52589
|
+
types: [
|
|
52590
|
+
"boolean"
|
|
52591
|
+
]
|
|
52592
|
+
}
|
|
52593
|
+
},
|
|
52594
|
+
required: [
|
|
52595
|
+
"id",
|
|
52596
|
+
"icon",
|
|
52597
|
+
"label"
|
|
52598
|
+
]
|
|
52599
|
+
}
|
|
52600
|
+
},
|
|
52601
|
+
position: {
|
|
52602
|
+
types: [
|
|
52603
|
+
"string"
|
|
52604
|
+
],
|
|
52605
|
+
description: "Strip position within the app frame.",
|
|
52606
|
+
enumValues: [
|
|
52607
|
+
"bottom-center",
|
|
52608
|
+
"bottom-left",
|
|
52609
|
+
"bottom-right"
|
|
52610
|
+
],
|
|
52611
|
+
default: "bottom-center"
|
|
52612
|
+
},
|
|
52613
|
+
children: {
|
|
52614
|
+
types: [
|
|
52615
|
+
"node"
|
|
52616
|
+
],
|
|
52617
|
+
description: "Custom cells appended after the items, separated by a divider"
|
|
52618
|
+
},
|
|
52619
|
+
className: {
|
|
52620
|
+
types: [
|
|
52621
|
+
"string"
|
|
52622
|
+
],
|
|
52623
|
+
description: "Additional CSS classes on the positioned root"
|
|
52624
|
+
}
|
|
52625
|
+
}
|
|
52626
|
+
},
|
|
52627
|
+
"dock-layout": {
|
|
52628
|
+
type: "dock-layout",
|
|
52629
|
+
category: "layout",
|
|
52630
|
+
tier: "organisms",
|
|
52631
|
+
family: "core",
|
|
52632
|
+
description: "DockLayout component",
|
|
52633
|
+
suggestedFor: [
|
|
52634
|
+
"dock",
|
|
52635
|
+
"layout",
|
|
52636
|
+
"dock layout"
|
|
52637
|
+
],
|
|
52638
|
+
typicalSize: "large",
|
|
52639
|
+
propsSchema: {
|
|
52640
|
+
rail: {
|
|
52641
|
+
types: [
|
|
52642
|
+
"node"
|
|
52643
|
+
],
|
|
52644
|
+
description: "Fixed-width far-left vertical strip (e.g. an icon nav rail)."
|
|
52645
|
+
},
|
|
52646
|
+
sidebar: {
|
|
52647
|
+
types: [
|
|
52648
|
+
"node"
|
|
52649
|
+
],
|
|
52650
|
+
description: "Collapsible, resizable left sidebar."
|
|
52651
|
+
},
|
|
52652
|
+
main: {
|
|
52653
|
+
types: [
|
|
52654
|
+
"node"
|
|
52655
|
+
],
|
|
52656
|
+
description: "Required center region.",
|
|
52657
|
+
required: true
|
|
52658
|
+
},
|
|
52659
|
+
bottomPanel: {
|
|
52660
|
+
types: [
|
|
52661
|
+
"node"
|
|
52662
|
+
],
|
|
52663
|
+
description: "Collapsible, resizable-height bottom panel."
|
|
52664
|
+
},
|
|
52665
|
+
statusBar: {
|
|
52666
|
+
types: [
|
|
52667
|
+
"node"
|
|
52668
|
+
],
|
|
52669
|
+
description: "Slim strip pinned to the bottom of the frame, below the bottom panel."
|
|
52670
|
+
},
|
|
52671
|
+
secondarySidebar: {
|
|
52672
|
+
types: [
|
|
52673
|
+
"node"
|
|
52674
|
+
],
|
|
52675
|
+
description: "Collapsible right sidebar."
|
|
52676
|
+
},
|
|
52677
|
+
railWidth: {
|
|
52678
|
+
types: [
|
|
52679
|
+
"number"
|
|
52680
|
+
],
|
|
52681
|
+
description: "Width of `rail` in pixels. @default 56",
|
|
52682
|
+
default: 56
|
|
52683
|
+
},
|
|
52684
|
+
secondarySidebarWidth: {
|
|
52685
|
+
types: [
|
|
52686
|
+
"number"
|
|
52687
|
+
],
|
|
52688
|
+
description: "Width of `secondarySidebar` in pixels (fixed \u2014 not resizable). @default 280",
|
|
52689
|
+
default: 280
|
|
52690
|
+
},
|
|
52691
|
+
sidebarCollapsed: {
|
|
52692
|
+
types: [
|
|
52693
|
+
"boolean"
|
|
52694
|
+
],
|
|
52695
|
+
description: "Whether `sidebar` is collapsed. @default false",
|
|
52696
|
+
default: false
|
|
52697
|
+
},
|
|
52698
|
+
onSidebarCollapsedChange: {
|
|
52699
|
+
types: [
|
|
52700
|
+
"function"
|
|
52701
|
+
],
|
|
52702
|
+
description: "onSidebarCollapsedChange prop",
|
|
52703
|
+
kind: "callback",
|
|
52704
|
+
callbackArgs: [
|
|
52705
|
+
{
|
|
52706
|
+
name: "collapsed",
|
|
52707
|
+
type: "boolean"
|
|
52708
|
+
}
|
|
52709
|
+
]
|
|
52710
|
+
},
|
|
52711
|
+
sidebarWidth: {
|
|
52712
|
+
types: [
|
|
52713
|
+
"number"
|
|
52714
|
+
],
|
|
52715
|
+
description: "Sidebar size as a SplitPane ratio (0-100, percentage of the sidebar/main split). @default 20",
|
|
52716
|
+
default: 20
|
|
52717
|
+
},
|
|
52718
|
+
onSidebarWidthChange: {
|
|
52719
|
+
types: [
|
|
52720
|
+
"function"
|
|
52721
|
+
],
|
|
52722
|
+
description: "onSidebarWidthChange prop",
|
|
52723
|
+
kind: "callback",
|
|
52724
|
+
callbackArgs: [
|
|
52725
|
+
{
|
|
52726
|
+
name: "width",
|
|
52727
|
+
type: "number"
|
|
52728
|
+
}
|
|
52729
|
+
]
|
|
52730
|
+
},
|
|
52731
|
+
sidebarMinSize: {
|
|
52732
|
+
types: [
|
|
52733
|
+
"number"
|
|
52734
|
+
],
|
|
52735
|
+
description: "Minimum sidebar size in pixels, forwarded to SplitPane's `minSize`. @default 160",
|
|
52736
|
+
default: 160
|
|
52737
|
+
},
|
|
52738
|
+
bottomPanelCollapsed: {
|
|
52739
|
+
types: [
|
|
52740
|
+
"boolean"
|
|
52741
|
+
],
|
|
52742
|
+
description: "Whether `bottomPanel` is collapsed. @default false",
|
|
52743
|
+
default: false
|
|
52744
|
+
},
|
|
52745
|
+
onBottomPanelCollapsedChange: {
|
|
52746
|
+
types: [
|
|
52747
|
+
"function"
|
|
52748
|
+
],
|
|
52749
|
+
description: "onBottomPanelCollapsedChange prop",
|
|
52750
|
+
kind: "callback",
|
|
52751
|
+
callbackArgs: [
|
|
52752
|
+
{
|
|
52753
|
+
name: "collapsed",
|
|
52754
|
+
type: "boolean"
|
|
52755
|
+
}
|
|
52756
|
+
]
|
|
52757
|
+
},
|
|
52758
|
+
bottomPanelHeight: {
|
|
52759
|
+
types: [
|
|
52760
|
+
"number"
|
|
52761
|
+
],
|
|
52762
|
+
description: "Bottom panel size as a SplitPane ratio (0-100, percentage given to the panel). @default 30",
|
|
52763
|
+
default: 30
|
|
52764
|
+
},
|
|
52765
|
+
onBottomPanelHeightChange: {
|
|
52766
|
+
types: [
|
|
52767
|
+
"function"
|
|
52768
|
+
],
|
|
52769
|
+
description: "onBottomPanelHeightChange prop",
|
|
52770
|
+
kind: "callback",
|
|
52771
|
+
callbackArgs: [
|
|
52772
|
+
{
|
|
52773
|
+
name: "height",
|
|
52774
|
+
type: "number"
|
|
52775
|
+
}
|
|
52776
|
+
]
|
|
52777
|
+
},
|
|
52778
|
+
bottomPanelMinSize: {
|
|
52779
|
+
types: [
|
|
52780
|
+
"number"
|
|
52781
|
+
],
|
|
52782
|
+
description: "Minimum bottom panel size in pixels, forwarded to SplitPane's `minSize`. @default 120",
|
|
52783
|
+
default: 120
|
|
52784
|
+
},
|
|
52785
|
+
secondarySidebarCollapsed: {
|
|
52786
|
+
types: [
|
|
52787
|
+
"boolean"
|
|
52788
|
+
],
|
|
52789
|
+
description: "Whether `secondarySidebar` is collapsed. @default false",
|
|
52790
|
+
default: false
|
|
52791
|
+
},
|
|
52792
|
+
onSecondarySidebarCollapsedChange: {
|
|
52793
|
+
types: [
|
|
52794
|
+
"function"
|
|
52795
|
+
],
|
|
52796
|
+
description: "onSecondarySidebarCollapsedChange prop",
|
|
52797
|
+
kind: "callback",
|
|
52798
|
+
callbackArgs: [
|
|
52799
|
+
{
|
|
52800
|
+
name: "collapsed",
|
|
52801
|
+
type: "boolean"
|
|
52802
|
+
}
|
|
52803
|
+
]
|
|
52804
|
+
},
|
|
52805
|
+
className: {
|
|
52806
|
+
types: [
|
|
52807
|
+
"string"
|
|
52808
|
+
],
|
|
52809
|
+
description: "Additional CSS classes on the root frame."
|
|
52810
|
+
},
|
|
52811
|
+
railClassName: {
|
|
52812
|
+
types: [
|
|
52813
|
+
"string"
|
|
52814
|
+
],
|
|
52815
|
+
description: "railClassName prop"
|
|
52816
|
+
},
|
|
52817
|
+
sidebarClassName: {
|
|
52818
|
+
types: [
|
|
52819
|
+
"string"
|
|
52820
|
+
],
|
|
52821
|
+
description: "sidebarClassName prop"
|
|
52822
|
+
},
|
|
52823
|
+
mainClassName: {
|
|
52824
|
+
types: [
|
|
52825
|
+
"string"
|
|
52826
|
+
],
|
|
52827
|
+
description: "mainClassName prop"
|
|
52828
|
+
},
|
|
52829
|
+
bottomPanelClassName: {
|
|
52830
|
+
types: [
|
|
52831
|
+
"string"
|
|
52832
|
+
],
|
|
52833
|
+
description: "bottomPanelClassName prop"
|
|
52834
|
+
},
|
|
52835
|
+
statusBarClassName: {
|
|
52836
|
+
types: [
|
|
52837
|
+
"string"
|
|
52838
|
+
],
|
|
52839
|
+
description: "statusBarClassName prop"
|
|
52840
|
+
},
|
|
52841
|
+
secondarySidebarClassName: {
|
|
52842
|
+
types: [
|
|
52843
|
+
"string"
|
|
52844
|
+
],
|
|
52845
|
+
description: "secondarySidebarClassName prop"
|
|
52846
|
+
}
|
|
52847
|
+
}
|
|
52590
52848
|
}
|
|
52591
52849
|
}};
|
|
52592
52850
|
var JsonValueSchema = z.lazy(
|
|
@@ -52946,6 +53204,34 @@ z.object({
|
|
|
52946
53204
|
azimuth: z.number().optional(),
|
|
52947
53205
|
elevation: z.number().optional()
|
|
52948
53206
|
});
|
|
53207
|
+
var MANIFEST_ENTRY_KINDS = ["model", "image", "spritesheet", "audio", "json"];
|
|
53208
|
+
var ManifestEntryKindSchema = z.enum(MANIFEST_ENTRY_KINDS);
|
|
53209
|
+
var MANIFEST_CANVAS_AFFINITIES = ["isometric", "hex", "flat", "side", "3d", "none"];
|
|
53210
|
+
var ManifestCanvasAffinitySchema = z.enum(MANIFEST_CANVAS_AFFINITIES);
|
|
53211
|
+
var MANIFEST_SOURCE_CATALOGS = ["kenny", "kekec-assets", "iram-assets", "trait-wars-assets", "kflow-assets"];
|
|
53212
|
+
var ManifestSourceCatalogSchema = z.enum(MANIFEST_SOURCE_CATALOGS);
|
|
53213
|
+
var MANIFEST_ASSET_LICENSES = ["CC0", "proprietary"];
|
|
53214
|
+
var ManifestAssetLicenseSchema = z.enum(MANIFEST_ASSET_LICENSES);
|
|
53215
|
+
var ManifestFrameSpecSchema = z.union([
|
|
53216
|
+
z.object({ kind: z.literal("iso-tile"), w: z.number(), h: z.number() }),
|
|
53217
|
+
z.object({ kind: z.literal("sprite-sheet"), frame: z.number(), cols: z.number(), rows: z.number() }),
|
|
53218
|
+
z.string().min(1),
|
|
53219
|
+
z.null()
|
|
53220
|
+
]);
|
|
53221
|
+
z.object({
|
|
53222
|
+
url: z.string(),
|
|
53223
|
+
name: z.string(),
|
|
53224
|
+
category: z.string(),
|
|
53225
|
+
kind: ManifestEntryKindSchema,
|
|
53226
|
+
width: z.number(),
|
|
53227
|
+
height: z.number(),
|
|
53228
|
+
canvasAffinity: ManifestCanvasAffinitySchema,
|
|
53229
|
+
genreAffinity: z.array(z.string()),
|
|
53230
|
+
swapClass: z.string(),
|
|
53231
|
+
sourceCatalog: ManifestSourceCatalogSchema,
|
|
53232
|
+
frameSpec: ManifestFrameSpecSchema,
|
|
53233
|
+
license: ManifestAssetLicenseSchema.optional()
|
|
53234
|
+
});
|
|
52949
53235
|
var SExprDataSchema = z.lazy(
|
|
52950
53236
|
() => z.union([SExprAtomSchema, z.array(SExprDataSchema)])
|
|
52951
53237
|
);
|